package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "name": "@opencode-ai/client",
  4. "version": "1.17.13",
  5. "type": "module",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "git+https://github.com/anomalyco/opencode.git",
  10. "directory": "packages/client"
  11. },
  12. "publishConfig": {
  13. "access": "public"
  14. },
  15. "files": [
  16. "dist"
  17. ],
  18. "exports": {
  19. ".": "./src/promise/index.ts",
  20. "./promise": "./src/promise/index.ts",
  21. "./promise/api": "./src/promise/api.ts",
  22. "./service": "./src/promise/service.ts",
  23. "./effect": "./src/effect/index.ts",
  24. "./effect/api": "./src/effect/api.ts",
  25. "./effect/service": "./src/effect/service.ts"
  26. },
  27. "scripts": {
  28. "build": "bun run script/build-package.ts",
  29. "generate": "bun run script/build.ts",
  30. "check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
  31. "test": "bun test --timeout 5000",
  32. "typecheck": "tsgo --noEmit"
  33. },
  34. "dependencies": {
  35. "@opencode-ai/schema": "workspace:*",
  36. "@opencode-ai/protocol": "workspace:*"
  37. },
  38. "peerDependencies": {
  39. "effect": "4.0.0-beta.83"
  40. },
  41. "peerDependenciesMeta": {
  42. "effect": {
  43. "optional": true
  44. }
  45. },
  46. "devDependencies": {
  47. "@effect/platform-node": "catalog:",
  48. "@opencode-ai/httpapi-codegen": "workspace:*",
  49. "@tsconfig/bun": "catalog:",
  50. "@types/bun": "catalog:",
  51. "@typescript/native-preview": "catalog:",
  52. "effect": "catalog:"
  53. }
  54. }