| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- {
- "$schema": "https://json.schemastore.org/package.json",
- "version": "1.18.8",
- "name": "opencode",
- "type": "module",
- "license": "MIT",
- "private": true,
- "scripts": {
- "typecheck": "tsgo --noEmit",
- "test": "bun test --timeout 30000 --only-failures",
- "test:httpapi": "bun run script/httpapi-exercise.ts --mode coverage --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode auth --fail-on-missing --fail-on-skip && bun run script/httpapi-exercise.ts --mode effect --fail-on-missing --fail-on-skip",
- "bench:test": "bun run script/bench-test-suite.ts",
- "profile:test": "bun run script/profile-test-files.ts",
- "build": "bun run script/build.ts",
- "dev": "bun run --conditions=browser ./src/index.ts",
- "dev:temporary": "bun run --conditions=browser ./src/temporary.ts"
- },
- "bin": {
- "opencode": "./bin/opencode"
- },
- "exports": {
- "./*": "./src/*.ts"
- },
- "imports": {
- "#db": {
- "bun": "./src/storage/db.bun.ts",
- "node": "./src/storage/db.node.ts",
- "default": "./src/storage/db.bun.ts"
- }
- },
- "devDependencies": {
- "@babel/core": "7.28.4",
- "@modelcontextprotocol/server": "2.0.0",
- "@octokit/webhooks-types": "7.6.1",
- "@opencode-ai/core": "workspace:*",
- "@opencode-ai/http-recorder": "workspace:*",
- "@opencode-ai/script": "workspace:*",
- "@standard-schema/spec": "1.0.0",
- "@tsconfig/bun": "catalog:",
- "@types/babel__core": "7.20.5",
- "@types/bun": "catalog:",
- "@types/cross-spawn": "catalog:",
- "@types/mime-types": "3.0.1",
- "@types/npm-package-arg": "6.1.4",
- "@types/semver": "^7.5.8",
- "@types/turndown": "5.0.5",
- "@types/yargs": "17.0.33",
- "@typescript/native-preview": "catalog:",
- "drizzle-orm": "catalog:",
- "prettier": "3.6.2",
- "typescript": "catalog:",
- "vscode-languageserver-types": "3.17.5",
- "why-is-node-running": "3.2.2"
- },
- "dependencies": {
- "@actions/core": "1.11.1",
- "@actions/github": "6.0.1",
- "@agentclientprotocol/sdk": "0.21.0",
- "@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.60",
- "@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/togetherai": "2.0.41",
- "@ai-sdk/vercel": "2.0.39",
- "@ai-sdk/xai": "3.0.102",
- "@aws-sdk/credential-providers": "3.1057.0",
- "@clack/prompts": "1.0.0-alpha.1",
- "@effect/opentelemetry": "catalog:",
- "@effect/platform-node": "catalog:",
- "@ff-labs/fff-bun": "0.9.4",
- "@gitlab/opencode-gitlab-auth": "1.3.3",
- "@modelcontextprotocol/client": "2.0.0",
- "@octokit/graphql": "9.0.2",
- "@octokit/rest": "catalog:",
- "@openauthjs/openauth": "catalog:",
- "@opencode-ai/codemode": "workspace:*",
- "@opencode-ai/llm": "workspace:*",
- "@opencode-ai/plugin": "workspace:*",
- "@opencode-ai/protocol": "workspace:*",
- "@opencode-ai/schema": "workspace:*",
- "@opencode-ai/script": "workspace:*",
- "@opencode-ai/sdk": "workspace:*",
- "@opencode-ai/server": "workspace:*",
- "@opencode-ai/tui": "workspace:*",
- "@openrouter/ai-sdk-provider": "2.9.0",
- "@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",
- "@opentelemetry/sdk-trace-node": "2.6.1",
- "@opentui/core": "catalog:",
- "@opentui/keymap": "catalog:",
- "@opentui/solid": "catalog:",
- "@parcel/watcher": "2.5.1",
- "@pierre/diffs": "catalog:",
- "@silvia-odwyer/photon-node": "0.3.4",
- "@solid-primitives/event-bus": "1.1.2",
- "@solid-primitives/scheduled": "1.5.2",
- "@standard-schema/spec": "1.0.0",
- "@types/ws": "8.18.1",
- "@zip.js/zip.js": "2.7.62",
- "ai": "catalog:",
- "ai-gateway-provider": "3.1.2",
- "bonjour-service": "1.3.0",
- "chokidar": "4.0.3",
- "cross-spawn": "catalog:",
- "decimal.js": "10.5.0",
- "diff": "catalog:",
- "drizzle-orm": "catalog:",
- "effect": "catalog:",
- "fuzzysort": "3.1.0",
- "gitlab-ai-provider": "6.12.0",
- "glob": "13.0.5",
- "google-auth-library": "10.5.0",
- "gray-matter": "4.0.3",
- "htmlparser2": "8.0.2",
- "ignore": "7.0.5",
- "immer": "11.1.4",
- "jsonc-parser": "3.3.1",
- "mime-types": "3.0.2",
- "minimatch": "10.0.3",
- "npm-package-arg": "13.0.2",
- "open": "10.1.2",
- "opencode-gitlab-auth": "2.1.0",
- "opencode-poe-auth": "0.0.1",
- "opentui-spinner": "catalog:",
- "partial-json": "0.1.7",
- "remeda": "catalog:",
- "semver": "^7.6.3",
- "solid-js": "catalog:",
- "strip-ansi": "7.1.2",
- "tree-sitter-bash": "0.25.0",
- "tree-sitter-powershell": "0.25.10",
- "turndown": "7.2.0",
- "ulid": "catalog:",
- "venice-ai-sdk-provider": "2.1.1",
- "vscode-jsonrpc": "8.2.1",
- "web-tree-sitter": "0.25.10",
- "ws": "8.21.0",
- "xdg-basedir": "5.1.0",
- "yargs": "18.0.0",
- "zod": "catalog:"
- },
- "overrides": {
- "drizzle-orm": "catalog:"
- }
- }
|