129 lines
4.0 KiB
JSON
129 lines
4.0 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"version": "1.17.0",
|
|
"name": "@opencode-ai/core",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"db": "bun drizzle-kit",
|
|
"migration": "bun run script/migration.ts",
|
|
"fix-node-pty": "bun run script/fix-node-pty.ts",
|
|
"test": "bun test --only-failures",
|
|
"typecheck": "tsgo --noEmit"
|
|
},
|
|
"bin": {
|
|
"opencode": "./bin/opencode"
|
|
},
|
|
"exports": {
|
|
"./public": "./src/public/index.ts",
|
|
"./session/runner": "./src/session/runner/index.ts",
|
|
"./system-context": "./src/system-context/index.ts",
|
|
"./*": "./src/*.ts"
|
|
},
|
|
"imports": {
|
|
"#sqlite": {
|
|
"bun": "./src/database/sqlite.bun.ts",
|
|
"node": "./src/database/sqlite.node.ts",
|
|
"default": "./src/database/sqlite.bun.ts"
|
|
},
|
|
"#pty": {
|
|
"bun": "./src/pty/pty.bun.ts",
|
|
"node": "./src/pty/pty.node.ts",
|
|
"default": "./src/pty/pty.bun.ts"
|
|
},
|
|
"#fff": {
|
|
"bun": "./src/filesystem/fff.bun.ts",
|
|
"node": "./src/filesystem/fff.node.ts",
|
|
"default": "./src/filesystem/fff.bun.ts"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/bun": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@types/cross-spawn": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"@types/npm-package-arg": "6.1.4",
|
|
"@types/npmcli__arborist": "6.3.3",
|
|
"@types/semver": "catalog:",
|
|
"@types/turndown": "5.0.5",
|
|
"@types/which": "3.0.4",
|
|
"@parcel/watcher-darwin-arm64": "2.5.1",
|
|
"@parcel/watcher-darwin-x64": "2.5.1",
|
|
"@parcel/watcher-linux-arm64-glibc": "2.5.1",
|
|
"@parcel/watcher-linux-arm64-musl": "2.5.1",
|
|
"@parcel/watcher-linux-x64-glibc": "2.5.1",
|
|
"@parcel/watcher-linux-x64-musl": "2.5.1",
|
|
"@parcel/watcher-win32-arm64": "2.5.1",
|
|
"@parcel/watcher-win32-x64": "2.5.1",
|
|
"@opencode-ai/http-recorder": "workspace:*",
|
|
"drizzle-kit": "catalog:"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/alibaba": "1.0.17",
|
|
"@ai-sdk/amazon-bedrock": "4.0.112",
|
|
"@ai-sdk/anthropic": "3.0.71",
|
|
"@ai-sdk/azure": "3.0.49",
|
|
"@ai-sdk/cerebras": "2.0.41",
|
|
"@ai-sdk/cohere": "3.0.27",
|
|
"@ai-sdk/deepinfra": "2.0.41",
|
|
"@ai-sdk/gateway": "3.0.104",
|
|
"@ai-sdk/google": "3.0.73",
|
|
"@ai-sdk/google-vertex": "4.0.128",
|
|
"@ai-sdk/groq": "3.0.31",
|
|
"@ai-sdk/mistral": "3.0.27",
|
|
"@ai-sdk/openai": "3.0.53",
|
|
"@ai-sdk/openai-compatible": "2.0.41",
|
|
"@ai-sdk/perplexity": "3.0.26",
|
|
"@ai-sdk/provider": "3.0.8",
|
|
"@ai-sdk/provider-utils": "4.0.23",
|
|
"@ai-sdk/togetherai": "2.0.41",
|
|
"@ai-sdk/vercel": "2.0.39",
|
|
"@ai-sdk/xai": "3.0.82",
|
|
"@aws-sdk/credential-providers": "3.1057.0",
|
|
"@effect/opentelemetry": "catalog:",
|
|
"@effect/platform-node": "catalog:",
|
|
"@effect/sql-sqlite-bun": "catalog:",
|
|
"@lydell/node-pty": "catalog:",
|
|
"@ff-labs/fff-bun": "0.9.4",
|
|
"@npmcli/arborist": "9.4.0",
|
|
"@npmcli/config": "10.8.1",
|
|
"@opencode-ai/effect-drizzle-sqlite": "workspace:*",
|
|
"@opencode-ai/effect-sqlite-node": "workspace:*",
|
|
"@opencode-ai/llm": "workspace:*",
|
|
"@opentelemetry/api": "1.9.0",
|
|
"@opentelemetry/context-async-hooks": "2.6.1",
|
|
"@opentelemetry/exporter-trace-otlp-http": "0.214.0",
|
|
"@opentelemetry/sdk-trace-base": "2.6.1",
|
|
"@parcel/watcher": "2.5.1",
|
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
"@openrouter/ai-sdk-provider": "2.9.0",
|
|
"ai-gateway-provider": "3.1.2",
|
|
"bun-pty": "0.4.8",
|
|
"cross-spawn": "catalog:",
|
|
"drizzle-orm": "catalog:",
|
|
"effect": "catalog:",
|
|
"fuzzysort": "3.1.0",
|
|
"gitlab-ai-provider": "6.8.0",
|
|
"glob": "13.0.5",
|
|
"google-auth-library": "10.5.0",
|
|
"gray-matter": "4.0.3",
|
|
"htmlparser2": "8.0.2",
|
|
"immer": "11.1.4",
|
|
"ignore": "7.0.5",
|
|
"jsonc-parser": "3.3.1",
|
|
"mime-types": "3.0.2",
|
|
"minimatch": "10.2.5",
|
|
"npm-package-arg": "13.0.2",
|
|
"semver": "^7.6.3",
|
|
"turndown": "7.2.0",
|
|
"venice-ai-sdk-provider": "2.0.2",
|
|
"which": "6.0.1",
|
|
"xdg-basedir": "5.1.0",
|
|
"zod": "catalog:"
|
|
},
|
|
"overrides": {
|
|
"drizzle-orm": "catalog:"
|
|
}
|
|
}
|