-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 6.23 KB
/
Copy pathpackage.json
File metadata and controls
144 lines (144 loc) · 6.23 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode",
"description": "Stability-focused OpenCode fork for local agent workflows",
"private": true,
"type": "module",
"packageManager": "bun@1.3.12",
"scripts": {
"dev": "bun run --cwd packages/opencode --conditions=browser src/index.ts",
"dev:desktop": "bun --cwd packages/desktop tauri dev",
"dev:web": "bun --cwd packages/app dev",
"dev:console": "ulimit -n 10240 2>/dev/null; bun run --cwd packages/console/app dev",
"dev:storybook": "bun --cwd packages/storybook storybook",
"typecheck": "bun turbo typecheck --concurrency=1",
"typecheck:xk": "bun run --cwd packages/opencode typecheck && bun run --cwd packages/app typecheck && bun run --cwd packages/ui typecheck && bun run --cwd packages/sdk/js typecheck",
"typecheck:full": "bun turbo typecheck --concurrency=1",
"test:xk": "bun run test:xk:opencode && bun run test:xk:app && bun run test:xk:ui && bun run test:xk:desktop",
"test:xk:opencode": "bun run test:xk:session && bun run test:xk:sync && bun run test:xk:mcp && bun run test:xk:tool && bun run test:xk:tui",
"test:xk:opencode:full": "bun run --cwd packages/opencode test",
"test:xk:app": "bun run test:xk:app:session && bun run test:xk:app:sync",
"test:xk:app:full": "bun run --cwd packages/app test:unit",
"test:xk:app:session": "bun test --cwd packages/app --preload ./happydom.ts ./src/pages/session ./src/components/session",
"test:xk:app:sync": "bun test --cwd packages/app --preload ./happydom.ts ./src/context/global-sync ./src/context/global-sync.test.ts ./src/context/local-sync.test.ts ./src/context/sync-meta-registry.test.ts",
"test:xk:ui": "bun run --cwd packages/ui test",
"test:xk:e2e": "bun run --cwd packages/app test:e2e:local",
"test:xk:session": "bun test --cwd packages/opencode --timeout 30000 test/session/control.test.ts test/session/retry.test.ts test/session/recovery.test.ts test/session/message-v2.test.ts test/session/processor-effect.test.ts test/session/compaction.test.ts",
"test:xk:sync": "bun test --cwd packages/opencode --timeout 30000 test/sync test/server/sse.test.ts test/server/global-event.test.ts test/server/global-history.test.ts test/server/global-session-list.test.ts",
"test:xk:mcp": "bun test --cwd packages/opencode --timeout 30000 test/mcp",
"test:xk:tool": "bun test --cwd packages/opencode --timeout 30000 test/tool/registry.test.ts test/tool/read.test.ts test/tool/write.test.ts test/tool/edit.test.ts test/tool/bash.test.ts test/tool/grep.test.ts test/tool/glob.test.ts test/tool/list.test.ts test/tool/task.test.ts test/tool/todo.test.ts test/tool/webfetch.test.ts",
"test:xk:tui": "bun test --cwd packages/opencode --timeout 30000 test/cli/tui",
"test:xk:desktop": "bun run --cwd packages/desktop-electron test",
"verify:xk": "bun run typecheck:xk && bun run test:xk",
"build:xk": "bun -e \"if (!process.env.OPENCODE_VERSION?.startsWith('XK-')) throw new Error('build:xk requires OPENCODE_VERSION=XK-*')\" && bun run --cwd packages/sdk/js build && bun run --cwd packages/opencode build --single --skip-install",
"postinstall": "bun run --cwd packages/opencode fix-node-pty",
"prepare": "husky",
"random": "echo 'Random script'",
"hello": "echo 'Hello World!'",
"test": "echo 'do not run tests from root' && exit 1"
},
"workspaces": {
"packages": [
"packages/*",
"packages/console/*",
"packages/sdk/js",
"packages/slack"
],
"catalog": {
"@effect/platform-node": "4.0.0-beta.46",
"@types/bun": "1.3.11",
"@types/cross-spawn": "6.0.6",
"@octokit/rest": "22.0.0",
"@hono/zod-validator": "0.4.2",
"ulid": "3.0.1",
"@kobalte/core": "0.13.11",
"@types/luxon": "3.7.1",
"@types/node": "22.13.9",
"@types/semver": "7.7.1",
"@tsconfig/node22": "22.0.2",
"@tsconfig/bun": "1.0.9",
"@cloudflare/workers-types": "4.20251008.0",
"@openauthjs/openauth": "0.0.0-20250322224806",
"@pierre/diffs": "1.1.0-beta.18",
"@solid-primitives/storage": "4.3.3",
"@tailwindcss/vite": "4.1.11",
"diff": "8.0.2",
"dompurify": "3.3.1",
"drizzle-kit": "1.0.0-beta.19-d95b7a4",
"drizzle-orm": "1.0.0-beta.19-d95b7a4",
"effect": "4.0.0-beta.46",
"ai": "6.0.158",
"cross-spawn": "7.0.6",
"hono": "4.10.7",
"hono-openapi": "1.1.2",
"fuzzysort": "3.1.0",
"luxon": "3.6.1",
"marked": "17.0.1",
"marked-shiki": "1.2.1",
"remend": "1.3.0",
"@playwright/test": "1.51.0",
"typescript": "5.8.2",
"@typescript/native-preview": "7.0.0-dev.20251207.1",
"zod": "4.1.8",
"remeda": "2.26.0",
"shiki": "3.20.0",
"solid-list": "0.3.0",
"tailwindcss": "4.1.11",
"virtua": "0.42.3",
"vite": "7.1.4",
"@solidjs/meta": "0.29.4",
"@solidjs/router": "0.15.4",
"@solidjs/start": "https://pkg.pr.new/@solidjs/start@dfb2020",
"solid-js": "1.9.10",
"vite-plugin-solid": "2.11.10",
"@lydell/node-pty": "1.2.0-beta.10"
}
},
"devDependencies": {
"@actions/artifact": "5.0.1",
"@tsconfig/bun": "catalog:",
"@types/mime-types": "3.0.1",
"@typescript/native-preview": "catalog:",
"glob": "13.0.5",
"husky": "9.1.7",
"prettier": "3.6.2",
"semver": "^7.6.0",
"sst": "3.18.10",
"turbo": "2.8.13"
},
"dependencies": {
"@aws-sdk/client-s3": "3.933.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/FengYunCalm/opencode-xk"
},
"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": {
"@types/bun": "catalog:",
"@types/node": "catalog:"
},
"patchedDependencies": {
"@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.patch",
"solid-js@1.9.10": "patches/solid-js@1.9.10.patch"
}
}