package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. "./effect": "./src/effect/index.ts",
  23. "./effect/api": "./src/effect/api.ts"
  24. },
  25. "scripts": {
  26. "build": "bun run script/build-package.ts",
  27. "generate": "bun run script/build.ts",
  28. "check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
  29. "test": "bun test --timeout 5000",
  30. "typecheck": "tsgo --noEmit"
  31. },
  32. "dependencies": {
  33. "@opencode-ai/schema": "workspace:*",
  34. "@opencode-ai/protocol": "workspace:*"
  35. },
  36. "peerDependencies": {
  37. "effect": "4.0.0-beta.83"
  38. },
  39. "peerDependenciesMeta": {
  40. "effect": {
  41. "optional": true
  42. }
  43. },
  44. "devDependencies": {
  45. "@effect/platform-node": "catalog:",
  46. "@opencode-ai/httpapi-codegen": "workspace:*",
  47. "@tsconfig/bun": "catalog:",
  48. "@types/bun": "catalog:",
  49. "@typescript/native-preview": "catalog:",
  50. "effect": "catalog:"
  51. }
  52. }