package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "$schema": "https://json.schemastore.org/package.json",
  3. "version": "1.15.13",
  4. "name": "@opencode-ai/core",
  5. "type": "module",
  6. "license": "MIT",
  7. "private": true,
  8. "scripts": {
  9. "db": "bun drizzle-kit",
  10. "migration": "bun run script/migration.ts",
  11. "fix-node-pty": "bun run script/fix-node-pty.ts",
  12. "test": "bun test",
  13. "test:ci": "mkdir -p .artifacts/unit && bun test --timeout 30000 --reporter=junit --reporter-outfile=.artifacts/unit/junit.xml",
  14. "typecheck": "tsgo --noEmit"
  15. },
  16. "bin": {
  17. "opencode": "./bin/opencode"
  18. },
  19. "exports": {
  20. "./*": "./src/*.ts"
  21. },
  22. "imports": {
  23. "#sqlite": {
  24. "bun": "./src/database/sqlite.bun.ts",
  25. "node": "./src/database/sqlite.node.ts",
  26. "default": "./src/database/sqlite.bun.ts"
  27. },
  28. "#pty": {
  29. "bun": "./src/pty/pty.bun.ts",
  30. "node": "./src/pty/pty.node.ts",
  31. "default": "./src/pty/pty.bun.ts"
  32. }
  33. },
  34. "devDependencies": {
  35. "@tsconfig/bun": "catalog:",
  36. "@types/bun": "catalog:",
  37. "@types/cross-spawn": "catalog:",
  38. "@types/node": "catalog:",
  39. "@types/npm-package-arg": "6.1.4",
  40. "@types/npmcli__arborist": "6.3.3",
  41. "@types/semver": "catalog:",
  42. "@types/which": "3.0.4",
  43. "@parcel/watcher-darwin-arm64": "2.5.1",
  44. "@parcel/watcher-darwin-x64": "2.5.1",
  45. "@parcel/watcher-linux-arm64-glibc": "2.5.1",
  46. "@parcel/watcher-linux-arm64-musl": "2.5.1",
  47. "@parcel/watcher-linux-x64-glibc": "2.5.1",
  48. "@parcel/watcher-linux-x64-musl": "2.5.1",
  49. "@parcel/watcher-win32-arm64": "2.5.1",
  50. "@parcel/watcher-win32-x64": "2.5.1",
  51. "drizzle-kit": "catalog:"
  52. },
  53. "dependencies": {
  54. "@ai-sdk/alibaba": "1.0.17",
  55. "@ai-sdk/amazon-bedrock": "4.0.107",
  56. "@ai-sdk/anthropic": "3.0.71",
  57. "@ai-sdk/azure": "3.0.49",
  58. "@ai-sdk/cerebras": "2.0.41",
  59. "@ai-sdk/cohere": "3.0.27",
  60. "@ai-sdk/deepinfra": "2.0.41",
  61. "@ai-sdk/gateway": "3.0.104",
  62. "@ai-sdk/google": "3.0.73",
  63. "@ai-sdk/google-vertex": "4.0.128",
  64. "@ai-sdk/groq": "3.0.31",
  65. "@ai-sdk/mistral": "3.0.27",
  66. "@ai-sdk/openai": "3.0.53",
  67. "@ai-sdk/openai-compatible": "2.0.41",
  68. "@ai-sdk/perplexity": "3.0.26",
  69. "@ai-sdk/provider": "3.0.8",
  70. "@ai-sdk/provider-utils": "4.0.23",
  71. "@ai-sdk/togetherai": "2.0.41",
  72. "@ai-sdk/vercel": "2.0.39",
  73. "@ai-sdk/xai": "3.0.82",
  74. "@aws-sdk/credential-providers": "3.993.0",
  75. "@effect/opentelemetry": "catalog:",
  76. "@effect/platform-node": "catalog:",
  77. "@effect/sql-sqlite-bun": "catalog:",
  78. "@lydell/node-pty": "catalog:",
  79. "@npmcli/arborist": "9.4.0",
  80. "@npmcli/config": "10.8.1",
  81. "@opencode-ai/effect-drizzle-sqlite": "workspace:*",
  82. "@opencode-ai/effect-sqlite-node": "workspace:*",
  83. "@opentelemetry/api": "1.9.0",
  84. "@opentelemetry/context-async-hooks": "2.6.1",
  85. "@opentelemetry/exporter-trace-otlp-http": "0.214.0",
  86. "@opentelemetry/sdk-trace-base": "2.6.1",
  87. "@parcel/watcher": "2.5.1",
  88. "@openrouter/ai-sdk-provider": "2.8.1",
  89. "ai-gateway-provider": "3.1.2",
  90. "bun-pty": "0.4.8",
  91. "cross-spawn": "catalog:",
  92. "drizzle-orm": "catalog:",
  93. "effect": "catalog:",
  94. "fuzzysort": "3.1.0",
  95. "gitlab-ai-provider": "6.8.0",
  96. "glob": "13.0.5",
  97. "google-auth-library": "10.5.0",
  98. "gray-matter": "4.0.3",
  99. "immer": "11.1.4",
  100. "ignore": "7.0.5",
  101. "jsonc-parser": "3.3.1",
  102. "mime-types": "3.0.2",
  103. "minimatch": "10.2.5",
  104. "npm-package-arg": "13.0.2",
  105. "semver": "^7.6.3",
  106. "venice-ai-sdk-provider": "2.0.2",
  107. "which": "6.0.1",
  108. "xdg-basedir": "5.1.0",
  109. "zod": "catalog:"
  110. },
  111. "overrides": {
  112. "drizzle-orm": "catalog:"
  113. }
  114. }