@zerowall/dsh-claude-coderun 0.0.0-stage → 0.1.0-preview.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/LICENSE +21 -0
  2. package/README.i18n.yaml +16 -0
  3. package/README.md +23 -2
  4. package/README.zh.md +24 -0
  5. package/dsh.bundle.patch.yml +23 -0
  6. package/lib/client.js +17823 -0
  7. package/lib/index.js +3754 -0
  8. package/lib/typert.host.d.ts +3 -0
  9. package/lib/typert.host.js +1938 -0
  10. package/lib/typert.remote-client.d.ts +101 -0
  11. package/lib/typert.remote-client.d.ts.map +1 -0
  12. package/lib/typert.remote-client.js +1327 -0
  13. package/lib/types/client/ClaudeCodeAction.d.ts +13 -0
  14. package/lib/types/client/ClaudeCodeSettingsSection.d.ts +7 -0
  15. package/lib/types/client/ClaudePermissionSelect.d.ts +11 -0
  16. package/lib/types/client/ClaudeStats.d.ts +17 -0
  17. package/lib/types/client/ClaudeTranscript.d.ts +22 -0
  18. package/lib/types/client/index.d.ts +1 -0
  19. package/lib/types/client/locales.d.ts +243 -0
  20. package/lib/types/client/upstream/GlobalSettingControls.d.ts +39 -0
  21. package/lib/types/client/upstream/markdown-theme.d.ts +42 -0
  22. package/lib/types/client/upstream/settings-styles.d.ts +42 -0
  23. package/lib/types/client/view.d.ts +9 -0
  24. package/lib/types/host/claude-commands.d.ts +19 -0
  25. package/lib/types/host/claude-settings.d.ts +19 -0
  26. package/lib/types/host/cli.d.ts +24 -0
  27. package/lib/types/host/diagnostic.d.ts +2 -0
  28. package/lib/types/host/environment.d.ts +2 -0
  29. package/lib/types/host/index.d.ts +78 -0
  30. package/lib/types/host/mcp-launcher.d.ts +16 -0
  31. package/lib/types/host/metrics-projection.d.ts +250 -0
  32. package/lib/types/host/metrics.d.ts +16 -0
  33. package/lib/types/host/permission-mode.d.ts +62 -0
  34. package/lib/types/host/projection.d.ts +124 -0
  35. package/lib/types/host/resource-status.d.ts +8 -0
  36. package/lib/types/host/route.d.ts +52 -0
  37. package/lib/types/host/runtime.d.ts +80 -0
  38. package/lib/types/host/sdk-driver.d.ts +29 -0
  39. package/lib/types/host/session-binding.d.ts +25 -0
  40. package/lib/types/host/subagent-tool.d.ts +6 -0
  41. package/lib/types/host/tool-journal.d.ts +13 -0
  42. package/lib/types/shared/metrics.d.ts +57 -0
  43. package/lib/types/shared/records.d.ts +33 -0
  44. package/lib/types/shared/types.d.ts +262 -0
  45. package/lib/types.js +18 -0
  46. package/locale/en.json +7 -0
  47. package/locale/zh.json +7 -0
  48. package/migration-reference.md +67 -0
  49. package/package.json +252 -3
  50. package/plugin-detail.md +11 -0
  51. package/plugin-detail.zh.md +11 -0
  52. package/zerowall.plugin.json +65 -0
package/package.json CHANGED
@@ -1,6 +1,255 @@
1
1
  {
2
2
  "name": "@zerowall/dsh-claude-coderun",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0-preview.2",
4
+ "description": "Run an isolated Claude Code CLI from ZeroWall conversations.",
5
+ "type": "module",
6
+ "main": "./lib/index.js",
7
+ "types": "./lib/types/host/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/types/host/index.d.ts",
11
+ "default": "./lib/index.js"
12
+ },
13
+ "./client": {
14
+ "types": "./lib/types/client/index.d.ts",
15
+ "default": "./lib/client.js"
16
+ },
17
+ "./typert": {
18
+ "types": "./lib/typert.host.d.ts",
19
+ "default": "./lib/typert.host.js"
20
+ },
21
+ "./remote": {
22
+ "types": "./lib/typert.remote-client.d.ts",
23
+ "default": "./lib/typert.remote-client.js"
24
+ },
25
+ "./types": {
26
+ "types": "./lib/types/shared/types.d.ts",
27
+ "default": "./lib/types.js"
28
+ },
29
+ "./manifest": "./zerowall.plugin.json",
30
+ "./package.json": "./package.json",
31
+ "./locale/*.json": "./locale/*.json"
32
+ },
33
+ "dsh": {
34
+ "bundle": {
35
+ "patch": "dsh.bundle.patch.yml"
36
+ },
37
+ "client": {
38
+ "inject": [
39
+ "@deepseek-ai/dsh-api-remotes",
40
+ "@deepseek-ai/dsh-client-ui-slots",
41
+ "@deepseek-ai/dsh-client-ui-conversation",
42
+ "@deepseek-ai/dsh-client-ui-settings"
43
+ ],
44
+ "platform": "web"
45
+ }
46
+ },
47
+ "zerowall": {
48
+ "dsh": {
49
+ "min": "0.2.2-rc.1",
50
+ "max": "0.2.2-rc.1"
51
+ },
52
+ "requiredServices": [
53
+ "agentDefaultModel",
54
+ "subprocess",
55
+ "subagents",
56
+ "workingDirectory",
57
+ "skills",
58
+ "zerowallMcpConfigurationStore",
59
+ "zerowallEnvironment",
60
+ "credentials",
61
+ "settings",
62
+ "llm",
63
+ "sessionProjections",
64
+ "agentPresets",
65
+ "tools",
66
+ "systemPrompt",
67
+ "permissionPresets",
68
+ "approval",
69
+ "attachments"
70
+ ],
71
+ "optionalServices": [
72
+ "zerowallAiCloudCredentialResolver",
73
+ "zerowallMcpRouteResolver",
74
+ "zerowallMcp",
75
+ "zerowallCapabilities",
76
+ "agents",
77
+ "subagentModelSelection"
78
+ ],
79
+ "capabilities": [
80
+ "claude-code"
81
+ ],
82
+ "permissions": [
83
+ "processes",
84
+ "files",
85
+ "network",
86
+ "credentials",
87
+ "approvals",
88
+ "attachments"
89
+ ],
90
+ "profiles": [
91
+ "development",
92
+ "preview",
93
+ "stable"
94
+ ],
95
+ "migrationVersion": 1,
96
+ "restartRequired": true,
97
+ "rollbackSupported": true,
98
+ "build": {
99
+ "host": "src/host/index.ts",
100
+ "client": "src/client/index.ts",
101
+ "shared": {
102
+ "types": "src/shared/types.ts"
103
+ }
104
+ }
105
+ },
106
+ "publishConfig": {
107
+ "access": "public",
108
+ "tag": "next",
109
+ "registry": "https://registry.npmjs.org/"
110
+ },
111
+ "license": "MIT",
112
+ "files": [
113
+ "lib",
114
+ "LICENSE",
115
+ "lib/typert.host.js",
116
+ "lib/typert.host.d.ts",
117
+ "lib/typert.remote-client.js",
118
+ "lib/typert.remote-client.d.ts",
119
+ "dsh.bundle.patch.yml",
120
+ "zerowall.plugin.json",
121
+ "README.md",
122
+ "README.zh.md",
123
+ "migration-reference.md",
124
+ "locale/*.json",
125
+ "plugin-detail.md",
126
+ "plugin-detail.zh.md"
127
+ ],
128
+ "dependencies": {
129
+ "@zerowall/dsh-plugin-mcp": "0.1.0-preview.2",
130
+ "@zerowall/dsh-plugin-environment": "0.1.0-preview.3",
131
+ "@modelcontextprotocol/sdk": "^1.29.0",
132
+ "react-dom": "^18.2.0",
133
+ "zod": "4.4.3",
134
+ "@zerowall/dsh-plugin-ai-cloud": "^0.1.0-preview.8",
135
+ "@anthropic-ai/claude-agent-sdk": "0.3.263"
136
+ },
137
+ "peerDependencies": {
138
+ "@deepseek-ai/cordis": "4.1.0",
139
+ "@deepseek-ai/schemastery": "3.19.0",
140
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
141
+ "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.1",
142
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
143
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
144
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
145
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.1",
146
+ "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.1",
147
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
148
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
149
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
150
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
151
+ "@deepseek-ai/dsh-skill": "0.2.2-rc.1",
152
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.1",
153
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
154
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
155
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
156
+ "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.1",
157
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
158
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
159
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.1",
160
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
161
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
162
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
163
+ "@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
164
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
165
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
166
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
167
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.1",
168
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
169
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
170
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
171
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
172
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
173
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
174
+ "@deepseek-ai/dsh-client-ui-attachment": "0.2.2-rc.1",
175
+ "@deepseek-ai/dsh-client-ui-tool": "0.2.2-rc.1",
176
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
177
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
178
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
179
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
180
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
181
+ "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.1",
182
+ "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.1",
183
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
184
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
185
+ "react": "^18.2.0",
186
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
187
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1"
188
+ },
189
+ "devDependencies": {
190
+ "@anthropic-ai/claude-agent-sdk": "0.3.263",
191
+ "typescript": "6.0.3",
192
+ "vitest": "^4.1.10",
193
+ "@deepseek-ai/cordis": "4.1.0",
194
+ "@deepseek-ai/dsh-agent": "0.2.2-rc.1",
195
+ "@deepseek-ai/dsh-agent-default-model": "0.2.2-rc.1",
196
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
197
+ "@deepseek-ai/dsh-commands": "0.2.2-rc.1",
198
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.1",
199
+ "@deepseek-ai/dsh-llm-pi-ai": "0.2.2-rc.1",
200
+ "@deepseek-ai/dsh-mcp-client": "0.2.2-rc.1",
201
+ "@deepseek-ai/dsh-session": "0.2.2-rc.1",
202
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.1",
203
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-rc.1",
204
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.1",
205
+ "@deepseek-ai/dsh-skill": "0.2.2-rc.1",
206
+ "@deepseek-ai/dsh-skill-filesystem": "0.2.2-rc.1",
207
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
208
+ "@deepseek-ai/dsh-tools": "0.2.2-rc.1",
209
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
210
+ "@deepseek-ai/dsh-api-gateway": "0.2.2-rc.1",
211
+ "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.1",
212
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
213
+ "@deepseek-ai/dsh-api-settings-controller": "0.2.2-rc.1",
214
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
215
+ "@deepseek-ai/dsh-host-webserver": "0.2.2-rc.1",
216
+ "@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
217
+ "@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
218
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
219
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
220
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
221
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.1",
222
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
223
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
224
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
225
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
226
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
227
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
228
+ "@deepseek-ai/dsh-client-ui-attachment": "0.2.2-rc.1",
229
+ "@deepseek-ai/dsh-client-ui-tool": "0.2.2-rc.1",
230
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
231
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
232
+ "@deepseek-ai/dsh-credentials": "0.2.2-rc.1",
233
+ "@deepseek-ai/dsh-session-projection": "0.2.2-rc.1",
234
+ "@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
235
+ "@deepseek-ai/dsh-tool-subagent": "0.2.2-rc.1",
236
+ "@deepseek-ai/dsh-permission-presets": "0.2.2-rc.1",
237
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.2-rc.1",
238
+ "@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
239
+ "esbuild": "0.27.7",
240
+ "@deepseek-ai/dsh-typert-generator": "0.2.2-rc.1",
241
+ "react": "^18.2.0",
242
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-rc.1",
243
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1"
244
+ },
245
+ "engines": {
246
+ "node": ">=24.9.0",
247
+ "dsh": ">=0.2.2-rc.1"
248
+ },
249
+ "scripts": {
250
+ "bundle": "node ../../scripts/build-plugin.mjs",
251
+ "typecheck": "tsc -p tsconfig.build.json --noEmit",
252
+ "test": "vitest run",
253
+ "build": "node ../../scripts/build-plugin.mjs"
254
+ }
6
255
  }
@@ -0,0 +1,11 @@
1
+ # Claude Code runner
2
+
3
+ English | [中文](plugin-detail.zh.md)
4
+
5
+ ## Summary
6
+
7
+ Run Claude Code with session recovery, permissions, Skills and MCP connections.
8
+
9
+ ## Configuration
10
+
11
+ Use the configuration below to select the CLI and permission settings. Claude requires its own login or API credentials. Resume a session from its original conversation.
@@ -0,0 +1,11 @@
1
+ # Claude 编程助手
2
+
3
+ [English](plugin-detail.md) | 中文
4
+
5
+ ## 摘要
6
+
7
+ 使用 Claude Code 编程,保留会话恢复、权限、Skills 和 MCP 连接。
8
+
9
+ ## 配置
10
+
11
+ 在下方配置 CLI 与权限。Claude 需要自己的登录或 API 凭据;从原对话继续已有会话。
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@zerowall/dsh-claude-coderun",
3
+ "version": "0.1.0-preview.2",
4
+ "applicationVersion": "0.2.2-rc.1",
5
+ "restartRequired": true,
6
+ "desktop": {
7
+ "min": "0.2.2-rc.1"
8
+ },
9
+ "rollbackSupported": true,
10
+ "remote": "./lib/typert.remote-client.js",
11
+ "dsh": {
12
+ "min": "0.2.2-rc.1",
13
+ "max": "0.2.2-rc.1"
14
+ },
15
+ "host": "./lib/index.js",
16
+ "client": "./lib/client.js",
17
+ "requiredServices": [
18
+ "agentDefaultModel",
19
+ "subprocess",
20
+ "subagents",
21
+ "workingDirectory",
22
+ "skills",
23
+ "zerowallMcpConfigurationStore",
24
+ "zerowallEnvironment",
25
+ "credentials",
26
+ "settings",
27
+ "llm",
28
+ "sessionProjections",
29
+ "agentPresets",
30
+ "tools",
31
+ "systemPrompt",
32
+ "permissionPresets",
33
+ "approval",
34
+ "attachments"
35
+ ],
36
+ "optionalServices": [
37
+ "zerowallAiCloudCredentialResolver",
38
+ "zerowallMcpRouteResolver",
39
+ "zerowallMcp",
40
+ "zerowallCapabilities",
41
+ "agents",
42
+ "subagentModelSelection"
43
+ ],
44
+ "capabilities": [
45
+ "claude-code"
46
+ ],
47
+ "permissions": [
48
+ "processes",
49
+ "files",
50
+ "network",
51
+ "credentials",
52
+ "approvals",
53
+ "attachments"
54
+ ],
55
+ "network": true,
56
+ "files": true,
57
+ "credentials": true,
58
+ "approvals": true,
59
+ "profiles": [
60
+ "development",
61
+ "preview",
62
+ "stable"
63
+ ],
64
+ "migrationVersion": 1
65
+ }