| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- {
- "$schema": "https://json.schemastore.org/package.json",
- "version": "1.18.4",
- "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": {
- "./session/runner": "./src/session/runner/index.ts",
- "./instructions": "./src/instructions/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"
- },
- "#photon-wasm": {
- "bun": "./src/image/photon-wasm.bun.ts",
- "node": "./src/image/photon-wasm.node.ts",
- "default": "./src/image/photon-wasm.bun.ts"
- },
- "#shell-parser-wasm": {
- "bun": "./src/shell/parser-wasm.bun.ts",
- "node": "./src/shell/parser-wasm.node.ts",
- "default": "./src/shell/parser-wasm.bun.ts"
- },
- "#process-lock-ffi": {
- "bun": "./src/util/process-lock-ffi.bun.ts",
- "node": "./src/util/process-lock-ffi.node.ts",
- "default": "./src/util/process-lock-ffi.bun.ts"
- }
- },
- "devDependencies": {
- "@tsconfig/bun": "catalog:",
- "@types/bun": "catalog:",
- "@types/node": "catalog:",
- "@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.82",
- "@ai-sdk/azure": "3.0.88",
- "@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.51",
- "@ai-sdk/openai": "3.0.84",
- "@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.102",
- "@aws-sdk/credential-providers": "3.1057.0",
- "@effect/platform-node": "catalog:",
- "@effect/sql-sqlite-bun": "catalog:",
- "@lydell/node-pty": "catalog:",
- "@modelcontextprotocol/sdk": "1.29.0",
- "@ff-labs/fff-bun": "0.10.1",
- "@ff-labs/fff-node": "0.10.1",
- "@opencode-ai/codemode": "workspace:*",
- "@opencode-ai/effect-drizzle-sqlite": "workspace:*",
- "@opencode-ai/effect-sqlite-node": "workspace:*",
- "@opencode-ai/ai": "workspace:*",
- "@opencode-ai/schema": "workspace:*",
- "@opencode-ai/plugin": "workspace:*",
- "@opencode-ai/util": "workspace:*",
- "@standard-schema/spec": "catalog:",
- "@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",
- "diff": "catalog:",
- "drizzle-orm": "catalog:",
- "effect": "catalog:",
- "fuzzysort": "3.1.0",
- "gitlab-ai-provider": "6.11.1",
- "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",
- "semver": "^7.6.3",
- "turndown": "7.2.0",
- "tree-sitter-bash": "0.25.0",
- "tree-sitter-powershell": "0.25.10",
- "venice-ai-sdk-provider": "2.1.1",
- "web-tree-sitter": "0.25.10",
- "which": "6.0.1",
- "zod": "catalog:"
- },
- "overrides": {
- "drizzle-orm": "catalog:"
- }
- }
|