Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
272 lines (272 loc) · 10.3 KB
/
Copy pathpackage.json
File metadata and controls
272 lines (272 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
{
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode",
"description": "AI-powered development tool",
"private": true,
"type": "module",
"packageManager": "bun@1.4.2",
"_lint_ratchet_note": "Ratchet lowered to 4850 after DAG-LOC-01: the new execution-location guards (dag/location.ts authority, DagLoop guard replacements, GoalLoop idle guard) and the dag-location-guards probe harness carry no net new warnings \u2014 the probe harness's `as never` fixture shims are file-scoped suppressed (mirrors dag-loop-guards.test.ts idiom), and two pre-existing `directory: process.cwd() as never` session-seed casts in dag-wake-integration/dag-adoption-step-races were replaced with plain strings (session.directory accepts them). CI lints ~3 extra install/platform-generated artifacts on an identical tree, adding ~10 same-category type-aware warnings (~4841 CI vs ~4831 local, 0 errors) \u2014 NOT new code warnings; 4850 keeps a small margin over the projected CI count. When you fix existing warnings locally, lower --max-warnings to match so the gate keeps tightening. See .oxlintrc.json header for the ratchet contract.",
"scripts": {
"dev": "bun run --cwd packages/opencode --conditions=browser src/index.ts",
"dev:desktop": "bun --cwd packages/desktop dev",
"dev:web": "bun --cwd packages/app dev",
"dev:console": "ulimit -n 10240 2>/dev/null; bun run --cwd packages/console/app dev",
"dev:stats": "bun sst shell --stage=production -- bun run --cwd packages/stats/app dev",
"dev:storybook": "bun --cwd packages/storybook storybook",
"lint": "oxlint --max-warnings=4850",
"typecheck": "bun turbo typecheck",
"upgrade-opentui": "bun run script/upgrade-opentui.ts",
"postinstall": "bun run --cwd packages/core fix-node-pty",
"prepare": "husky",
"random": "echo 'Random script'",
"sso": "aws sso login --sso-session=opencode --no-browser",
"test": "echo 'do not run tests from root' && exit 1",
"toolchain:check": "node script/toolchain.mjs check --go"
},
"workspaces": {
"packages": [
"packages/*",
"packages/console/*",
"packages/stats/*",
"packages/sdk/js",
"packages/slack",
"github"
],
"catalog": {
"@effect/opentelemetry": "4.0.0-beta.83",
"@effect/platform-node": "4.0.0-beta.83",
"@effect/sql-sqlite-bun": "4.0.0-beta.83",
"@npmcli/arborist": "9.4.0",
"@types/bun": "1.4.2",
"@types/cross-spawn": "6.0.6",
"@octokit/rest": "22.0.1",
"@hono/standard-validator": "0.2.3",
"@hono/zod-validator": "0.4.3",
"@opentui/core": "0.5.12",
"@opentui/keymap": "0.5.12",
"@opentui/solid": "0.5.12",
"@tanstack/solid-virtual": "3.13.28",
"@shikijs/stream": "4.4.3",
"ulid": "3.0.2",
"@kobalte/core": "0.13.14",
"@types/luxon": "3.7.6",
"@types/node": "24.19.0",
"@types/semver": "7.8.0",
"@tsconfig/node22": "22.0.6",
"@tsconfig/bun": "1.0.11",
"@cloudflare/workers-types": "4.20260702.1",
"@openauthjs/openauth": "0.0.0-20250322224806",
"@pierre/diffs": "1.2.10",
"opentui-spinner": "0.0.7",
"@solid-primitives/storage": "4.4.0",
"@tailwindcss/vite": "4.3.3",
"diff": "8.0.4",
"dompurify": "3.4.16",
"drizzle-kit": "1.0.0-rc.2",
"drizzle-orm": "1.0.0-rc.2",
"effect": "4.0.0-beta.83",
"ai": "6.0.296",
"cross-spawn": "7.0.6",
"hono": "4.13.11",
"hono-openapi": "1.1.2",
"fuzzysort": "3.1.0",
"luxon": "3.7.2",
"marked": "17.0.6",
"marked-shiki": "1.2.1",
"remend": "1.3.1",
"@playwright/test": "1.63.0",
"semver": "7.8.5",
"typescript": "5.9.3",
"@typescript/native-preview": "7.0.0-dev.20260707.2",
"zod": "4.6.5",
"remeda": "2.50.0",
"sst": "4.17.1",
"shiki": "4.4.3",
"solid-list": "0.3.0",
"tailwindcss": "4.3.3",
"vite": "7.3.6",
"@solidjs/meta": "0.29.4",
"@solidjs/router": "0.15.4",
"@solidjs/start": "https://pkg.pr.new/@solidjs/start@dfb2020",
"@sentry/solid": "10.75.3",
"@sentry/vite-plugin": "4.9.1",
"solid-js": "1.9.15",
"vite-plugin-solid": "2.11.14",
"@lydell/node-pty": "1.2.0-beta.12",
"@cloudflare/vite-plugin": "1.62.2",
"nitro": "3.0.260429-beta",
"wrangler": "4.144.0",
"@types/react": "18.3.31",
"react": "18.3.1",
"@ibm/plex": "6.4.1",
"@jsx-email/render": "1.1.1",
"@smithy/eventstream-codec": "4.5.2",
"@smithy/util-utf8": "4.5.2",
"@parcel/watcher": "2.6.0",
"aws4fetch": "1.0.20",
"@clack/prompts": "1.0.0-alpha.1",
"@types/mime-types": "3.0.1",
"glob": "13.0.6",
"prettier": "3.9.9",
"@actions/core": "1.11.1",
"@actions/github": "6.0.1",
"@octokit/graphql": "9.0.5",
"@planetscale/database": "1.20.2",
"@shikijs/transformers": "3.23.0",
"@solid-primitives/event-bus": "1.1.4",
"@solid-primitives/event-listener": "2.4.6",
"@solid-primitives/i18n": "2.2.1",
"@solid-primitives/media": "2.3.6",
"@solid-primitives/resize-observer": "2.2.0",
"@solid-primitives/scheduled": "1.5.3",
"vite-plugin-icons-spritesheet": "3.1.0",
"@solid-primitives/bounds": "0.1.7",
"katex": "0.16.47",
"marked-katex-extension": "5.1.13",
"morphdom": "2.7.8",
"motion": "12.43.0",
"strip-ansi": "7.2.0",
"@types/katex": "0.16.8",
"js-base64": "3.9.4",
"open": "10.2.0",
"@ai-sdk/provider": "3.0.18",
"vscode-languageserver-types": "3.18.4",
"@zip.js/zip.js": "2.18.2",
"@parcel/watcher-darwin-arm64": "2.6.0",
"@parcel/watcher-darwin-x64": "2.6.0",
"@parcel/watcher-linux-arm64-glibc": "2.6.0",
"@parcel/watcher-linux-arm64-musl": "2.6.0",
"@parcel/watcher-linux-x64-glibc": "2.6.0",
"@parcel/watcher-linux-x64-musl": "2.6.0",
"@parcel/watcher-win32-arm64": "2.6.0",
"@parcel/watcher-win32-x64": "2.6.0",
"@ai-sdk/alibaba": "1.0.61",
"@ai-sdk/amazon-bedrock": "4.0.186",
"@ai-sdk/anthropic": "3.0.125",
"@ai-sdk/azure": "3.0.128",
"@ai-sdk/cerebras": "2.0.86",
"@ai-sdk/cohere": "3.0.66",
"@ai-sdk/deepinfra": "2.0.84",
"@ai-sdk/gateway": "3.0.205",
"@ai-sdk/google": "3.0.125",
"@ai-sdk/google-vertex": "4.0.208",
"@ai-sdk/groq": "3.0.71",
"@ai-sdk/mistral": "3.0.69",
"@ai-sdk/openai": "3.0.120",
"@ai-sdk/openai-compatible": "2.0.80",
"@ai-sdk/perplexity": "3.1.1",
"@ai-sdk/togetherai": "2.0.86",
"@ai-sdk/vercel": "2.0.82",
"@ai-sdk/xai": "3.0.134",
"@aws-sdk/credential-providers": "3.1143.0",
"@ff-labs/fff-bun": "0.9.6",
"@openrouter/ai-sdk-provider": "2.10.0",
"@opentelemetry/api": "1.9.1",
"@opentelemetry/context-async-hooks": "2.11.0",
"@opentelemetry/exporter-trace-otlp-http": "0.214.0",
"@opentelemetry/sdk-trace-base": "2.11.0",
"@silvia-odwyer/photon-node": "0.3.4",
"@standard-schema/spec": "1.1.0",
"ai-gateway-provider": "3.2.0",
"gitlab-ai-provider": "6.18.0",
"google-auth-library": "10.5.0",
"gray-matter": "4.0.3",
"htmlparser2": "8.0.2",
"ignore": "7.0.10",
"immer": "11.1.18",
"jsonc-parser": "3.3.1",
"mime-types": "3.0.2",
"minimatch": "10.2.6",
"npm-package-arg": "13.0.2",
"turndown": "7.2.4",
"venice-ai-sdk-provider": "2.1.1",
"xdg-basedir": "5.1.0",
"@types/npm-package-arg": "6.1.4",
"@types/turndown": "5.0.6",
"valibot": "1.5.0",
"stripe": "18.0.0",
"react-dom": "18.3.1",
"@types/hast": "3.0.5"
}
},
"devDependencies": {
"@actions/artifact": "5.0.3",
"@tsconfig/bun": "catalog:",
"@types/mime-types": "catalog:",
"@typescript/native-preview": "catalog:",
"glob": "catalog:",
"husky": "9.1.7",
"oxlint": "1.60.0",
"oxlint-tsgolint": "0.21.0",
"prettier": "catalog:",
"semver": "catalog:",
"sst": "catalog:",
"turbo": "2.11.5",
"@types/bun": "catalog:",
"@types/node": "catalog:",
"react-dom": "catalog:"
},
"dependencies": {
"@aws-sdk/client-s3": "3.1143.0",
"@opencode-ai/plugin": "workspace:*",
"@opencode-ai/script": "workspace:*",
"@opencode-ai/sdk": "workspace:*",
"heap-snapshot-toolkit": "1.1.3",
"typescript": "catalog:"
},
"repository": {
"type": "git",
"url": "https://github.com/anomalyco/opencode"
},
"license": "MIT",
"prettier": {
"semi": false,
"printWidth": 120
},
"trustedDependencies": [
"esbuild",
"node-pty",
"protobufjs",
"tree-sitter",
"tree-sitter-bash",
"tree-sitter-powershell",
"web-tree-sitter",
"electron"
],
"overrides": {
"@opentui/core": "catalog:",
"@opentui/keymap": "catalog:",
"@opentui/solid": "catalog:",
"@types/bun": "catalog:",
"@types/node": "catalog:",
"solid-js": "catalog:",
"@npmcli/agent": "4.0.2",
"@silvia-odwyer/photon-node": "catalog:",
"@standard-community/standard-openapi": "0.2.9",
"@ai-sdk/xai": "catalog:",
"gcp-metadata": "8.1.2",
"pacote": "21.5.0",
"@ai-sdk/google": "catalog:",
"@tanstack/solid-virtual": "catalog:",
"@pierre/trees": "1.0.0-beta.4",
"@tanstack/virtual-core": "3.17.0",
"bun-pty": "0.4.8",
"@types/hast": "catalog:",
"astro": "7.3.5",
"@astrojs/starlight": "0.41.11"
},
"patchedDependencies": {
"@npmcli/agent@4.0.2": "patches/@npmcli%2Fagent@4.0.2.patch",
"@silvia-odwyer/photon-node@0.3.4": "patches/@silvia-odwyer%2Fphoton-node@0.3.4.patch",
"@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.patch",
"@ai-sdk/xai@3.0.134": "patches/@ai-sdk%2Fxai@3.0.134.patch",
"gcp-metadata@8.1.2": "patches/gcp-metadata@8.1.2.patch",
"pacote@21.5.0": "patches/pacote@21.5.0.patch",
"@ai-sdk/google@3.0.125": "patches/@ai-sdk%2Fgoogle@3.0.125.patch",
"@tanstack/solid-virtual@3.13.28": "patches/@tanstack%2Fsolid-virtual@3.13.28.patch",
"@pierre/trees@1.0.0-beta.4": "patches/@pierre%2Ftrees@1.0.0-beta.4.patch",
"@tanstack/virtual-core@3.17.0": "patches/@tanstack%2Fvirtual-core@3.17.0.patch",
"bun-pty@0.4.8": "patches/bun-pty@0.4.8.patch",
"@ff-labs/fff-bun@0.9.6": "patches/@ff-labs%2Ffff-bun@0.9.6.patch"
}
}