lody 0.80.0 → 0.81.1

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.
@@ -0,0 +1,309 @@
1
+ const DEEPSEEK_HARNESS_PERMISSION_MODES = [
2
+ {
3
+ id: "read-only",
4
+ name: "Read-only",
5
+ description: "Read inside the workspace; protected writes require one-time approval."
6
+ },
7
+ {
8
+ id: "workspace-write",
9
+ name: "Workspace write",
10
+ description: "Read and write inside the workspace; wider access requires one-time approval."
11
+ },
12
+ {
13
+ id: "danger-full-access",
14
+ name: "Full access",
15
+ description: "Allow unrestricted file and command access without approval prompts."
16
+ }
17
+ ];
18
+ const DEEPSEEK_HARNESS_MODELS = [
19
+ {
20
+ modelId: "deepseek-v4-flash",
21
+ name: "DeepSeek-V4-Flash",
22
+ description: "Faster DeepSeek Harness coding model."
23
+ },
24
+ {
25
+ modelId: "deepseek-v4-pro",
26
+ name: "DeepSeek-V4-Pro",
27
+ description: "More capable DeepSeek Harness coding model."
28
+ }
29
+ ];
30
+ const DEEPSEEK_HARNESS_REASONING_OPTIONS = [
31
+ { value: "off", name: "Off", description: "Disable extended thinking" },
32
+ { value: "high", name: "High", description: "Use the standard reasoning budget" },
33
+ { value: "max", name: "Max", description: "Use the maximum reasoning budget" }
34
+ ];
35
+ const DEEPSEEK_HARNESS_AGENT_PRESETS = [
36
+ {
37
+ value: "standard",
38
+ name: "Standard mode",
39
+ description: "Full coding agent with file editing, shell, search, skills, planning, goals, subagents, and workflows."
40
+ },
41
+ {
42
+ value: "code",
43
+ name: "PTC mode",
44
+ description: "Standard capabilities exposed through the Code Mode SDK for multi-step TypeScript programs."
45
+ },
46
+ {
47
+ value: "minimal",
48
+ name: "Minimal mode",
49
+ description: "Two-tool coding agent with persistent bash and str_replace_editor."
50
+ },
51
+ {
52
+ value: "cordis",
53
+ name: "Creator mode",
54
+ description: "Standard capabilities plus runtime inspection, plugin experiments, and preset-authoring guidance."
55
+ }
56
+ ];
57
+ const ACP_EXTENSION_DSH_VERSION = "0.1.0";
58
+ const DEEPSEEK_HARNESS_VERSION = "0.1.0-rc.6";
59
+ const ACP_EXTENSION_DSH_PROFILE_REVISION = "v3";
60
+ const ACP_EXTENSION_DSH_SESSION_ROOT_ENV = "ACP_EXTENSION_DSH_SESSION_ROOT";
61
+ const ACP_EXTENSION_DSH_QUERY_PATH_ENV = "ACP_EXTENSION_DSH_QUERY_PATH";
62
+ const DEEPSEEK_HARNESS_DEFAULT_SESSION_COMPRESSION = "zstd";
63
+ const ACP_EXTENSION_DSH_CAPABILITY_SOURCE_VERSION = `acp-extension-dsh@${ACP_EXTENSION_DSH_VERSION}:dsh@${DEEPSEEK_HARNESS_VERSION}:profile-${ACP_EXTENSION_DSH_PROFILE_REVISION}`;
64
+ const DEEPSEEK_HARNESS_NPX_PACKAGES = [
65
+ "@deepseek-ai/dsh-acp-demo",
66
+ "@deepseek-ai/dsh-agent-spine-demo",
67
+ "@deepseek-ai/dsh-session-persistence-jsonl",
68
+ "@deepseek-ai/dsh-session-checkpoint-policy",
69
+ "@deepseek-ai/dsh-session-query-sqlite",
70
+ "@deepseek-ai/dsh-llm-deepseek",
71
+ "@deepseek-ai/dsh-sandbox-local",
72
+ "@deepseek-ai/dsh-sandbox-policy",
73
+ "@deepseek-ai/dsh-subprocess-local",
74
+ "@deepseek-ai/dsh-bash-sandbox",
75
+ "@deepseek-ai/dsh-pwsh-sandbox",
76
+ "@deepseek-ai/dsh-user-approval",
77
+ "@deepseek-ai/dsh-permission-presets",
78
+ "@deepseek-ai/dsh-token-meter",
79
+ "@deepseek-ai/dsh-fs-sandbox",
80
+ "@deepseek-ai/dsh-fs-observation-policy",
81
+ "@deepseek-ai/dsh-shell-env",
82
+ "@deepseek-ai/dsh-commands",
83
+ "@deepseek-ai/dsh-skill",
84
+ "@deepseek-ai/dsh-goal",
85
+ "@deepseek-ai/dsh-goal-round-driver",
86
+ "@deepseek-ai/dsh-user-questions",
87
+ "@deepseek-ai/dsh-session-projection",
88
+ "@deepseek-ai/dsh-subagent",
89
+ "@deepseek-ai/dsh-subagent-spawn-in-process",
90
+ "@deepseek-ai/dsh-subagent-fork-in-process",
91
+ "@deepseek-ai/dsh-tool-subagent-report",
92
+ "@deepseek-ai/dsh-web",
93
+ "@deepseek-ai/dsh-web-search-deepseek",
94
+ "@deepseek-ai/dsh-code-runtime-worker-thread",
95
+ "@deepseek-ai/dsh-cordis-host-runner",
96
+ "@deepseek-ai/dsh-agent-presets",
97
+ "@deepseek-ai/dsh-mcp-client",
98
+ "@deepseek-ai/dsh-persona",
99
+ "@deepseek-ai/dsh-agent-instructions",
100
+ "@deepseek-ai/dsh-tool-bash",
101
+ "@deepseek-ai/dsh-tool-pwsh",
102
+ "@deepseek-ai/dsh-tool-fs",
103
+ "@deepseek-ai/dsh-tool-fs-search",
104
+ "@deepseek-ai/dsh-tool-jobs",
105
+ "@deepseek-ai/dsh-tool-goal",
106
+ "@deepseek-ai/dsh-plan-mode",
107
+ "@deepseek-ai/dsh-compaction-basic",
108
+ "@deepseek-ai/dsh-command-compact",
109
+ "@deepseek-ai/dsh-compaction-tool-result-pruner",
110
+ "@deepseek-ai/dsh-tool-subagent-control",
111
+ "@deepseek-ai/dsh-tool-subagent",
112
+ "@deepseek-ai/dsh-workflow-worker-thread",
113
+ "@deepseek-ai/dsh-tool-workflow",
114
+ "@deepseek-ai/dsh-tool-ralph",
115
+ "@deepseek-ai/dsh-tool-ask-user",
116
+ "@deepseek-ai/dsh-tool-todo",
117
+ "@deepseek-ai/dsh-tool-web",
118
+ "@deepseek-ai/dsh-skill-filesystem",
119
+ "@deepseek-ai/dsh-tool-skill",
120
+ "@deepseek-ai/dsh-agent-tool-presentation",
121
+ "@deepseek-ai/dsh-tool-cordis",
122
+ "@deepseek-ai/dsh-terminal",
123
+ "@deepseek-ai/dsh-terminal-bash",
124
+ "@deepseek-ai/dsh-tool-bash-persistent",
125
+ "@deepseek-ai/dsh-fs-local",
126
+ "@deepseek-ai/dsh-tool-str-replace-editor"
127
+ ];
128
+ function createDeepSeekHarnessCordisConfig(adapterPath, presetRoot, sessionCompression = DEEPSEEK_HARNESS_DEFAULT_SESSION_COMPRESSION) {
129
+ return `# Generated for acp-extension-dsh. API credentials stay in the host environment.
130
+ - id: agent-spine
131
+ name: '@deepseek-ai/dsh-agent-spine-demo'
132
+ config:
133
+ workspaceContext: false
134
+ skills:
135
+ enabled: false
136
+ toolBash: false
137
+ toolJobs: false
138
+ goals: false
139
+ persona: ''
140
+
141
+ - id: session-persistence
142
+ name: '@deepseek-ai/dsh-session-persistence-jsonl'
143
+ config:
144
+ root: !!js process.env.${ACP_EXTENSION_DSH_SESSION_ROOT_ENV}
145
+ compression: ${sessionCompression}
146
+
147
+ - id: session-checkpoint
148
+ name: '@deepseek-ai/dsh-session-checkpoint-policy'
149
+
150
+ - id: session-query
151
+ name: '@deepseek-ai/dsh-session-query-sqlite'
152
+ config:
153
+ path: !!js process.env.${ACP_EXTENSION_DSH_QUERY_PATH_ENV}
154
+
155
+ - id: llm-deepseek
156
+ name: '@deepseek-ai/dsh-llm-deepseek'
157
+ config:
158
+ thinking: enabled
159
+ reasoningEffort: max
160
+ models:
161
+ - id: deepseek-v4-flash
162
+ - id: deepseek-v4-pro
163
+
164
+ - id: sandbox
165
+ name: '@deepseek-ai/dsh-sandbox-local'
166
+
167
+ - id: sandbox-policy
168
+ name: '@deepseek-ai/dsh-sandbox-policy'
169
+ config:
170
+ mode: workspace-write
171
+ workspaceRoot: !!js process.cwd()
172
+
173
+ - id: subprocess
174
+ name: '@deepseek-ai/dsh-subprocess-local'
175
+
176
+ - id: bash
177
+ name: '@deepseek-ai/dsh-bash-sandbox'
178
+ disabled: !!js process.platform === 'win32'
179
+ config:
180
+ timeoutMs: 60000
181
+
182
+ - id: pwsh
183
+ name: '@deepseek-ai/dsh-pwsh-sandbox'
184
+ disabled: !!js process.platform !== 'win32'
185
+
186
+ - id: approval
187
+ name: '@deepseek-ai/dsh-user-approval'
188
+ config:
189
+ policy: ask
190
+
191
+ - id: permission-presets
192
+ name: '@deepseek-ai/dsh-permission-presets'
193
+ config:
194
+ defaultPreset: workspace-write
195
+ presets:
196
+ read-only:
197
+ sandbox: read-only
198
+ approval: ask
199
+ name: Read-only
200
+ description: Read inside the workspace; protected writes require one-time approval.
201
+ workspace-write:
202
+ sandbox: workspace-write
203
+ approval: ask
204
+ name: Workspace write
205
+ description: Read and write inside the workspace; wider access requires one-time approval.
206
+ danger-full-access:
207
+ sandbox: danger-full-access
208
+ approval: never
209
+ name: Full access
210
+ description: Allow unrestricted file and command access without approval prompts.
211
+
212
+ # Host-plane services shared by every per-session preset.
213
+ - id: shell-env
214
+ name: '@deepseek-ai/dsh-shell-env'
215
+
216
+ - id: commands
217
+ name: '@deepseek-ai/dsh-commands'
218
+
219
+ - id: fs-sandbox
220
+ name: '@deepseek-ai/dsh-fs-sandbox'
221
+ config:
222
+ cwd: !!js process.cwd()
223
+
224
+ - id: fs-observation-policy
225
+ name: '@deepseek-ai/dsh-fs-observation-policy'
226
+
227
+ - id: skill
228
+ name: '@deepseek-ai/dsh-skill'
229
+
230
+ - id: goal
231
+ name: '@deepseek-ai/dsh-goal'
232
+
233
+ - id: goal-round-driver
234
+ name: '@deepseek-ai/dsh-goal-round-driver'
235
+
236
+ - id: user-questions
237
+ name: '@deepseek-ai/dsh-user-questions'
238
+
239
+ - id: session-projection
240
+ name: '@deepseek-ai/dsh-session-projection'
241
+
242
+ - id: subagent
243
+ name: '@deepseek-ai/dsh-subagent'
244
+
245
+ - id: subagent-spawn-in-process
246
+ name: '@deepseek-ai/dsh-subagent-spawn-in-process'
247
+ config:
248
+ providerName: spawn
249
+
250
+ - id: subagent-fork-in-process
251
+ name: '@deepseek-ai/dsh-subagent-fork-in-process'
252
+ config:
253
+ providerName: fork
254
+
255
+ - id: tool-subagent-report
256
+ name: '@deepseek-ai/dsh-tool-subagent-report'
257
+
258
+ - id: web
259
+ name: '@deepseek-ai/dsh-web'
260
+ config:
261
+ searchProvider: deepseek-official
262
+
263
+ - id: web-search-deepseek
264
+ name: '@deepseek-ai/dsh-web-search-deepseek'
265
+ config:
266
+ apiKeyEnv: DEEPSEEK_API_KEY
267
+
268
+ - id: code-runtime
269
+ name: '@deepseek-ai/dsh-code-runtime-worker-thread'
270
+
271
+ - id: cordis-host-runner
272
+ name: '@deepseek-ai/dsh-cordis-host-runner'
273
+
274
+ - id: token-meter
275
+ name: '@deepseek-ai/dsh-token-meter'
276
+
277
+ # The shipped root supplies the four official modes. AgentPresets also appends
278
+ # $DSH_HOME/.agent-presets so user-authored DSH compositions remain available.
279
+ - id: agent-presets
280
+ name: '@deepseek-ai/dsh-agent-presets'
281
+ config:
282
+ default: standard
283
+ roots:
284
+ - path: ${JSON.stringify(presetRoot)}
285
+ trust: system
286
+
287
+ - id: acp-agent
288
+ name: ${JSON.stringify(adapterPath)}
289
+ config:
290
+ provider: deepseek-official
291
+ model: deepseek-v4-pro
292
+ reasoningEffort: max
293
+ `;
294
+ }
295
+ export {
296
+ ACP_EXTENSION_DSH_CAPABILITY_SOURCE_VERSION as A,
297
+ DEEPSEEK_HARNESS_PERMISSION_MODES as D,
298
+ DEEPSEEK_HARNESS_AGENT_PRESETS as a,
299
+ DEEPSEEK_HARNESS_MODELS as b,
300
+ DEEPSEEK_HARNESS_REASONING_OPTIONS as c,
301
+ createDeepSeekHarnessCordisConfig as d,
302
+ ACP_EXTENSION_DSH_VERSION as e,
303
+ ACP_EXTENSION_DSH_PROFILE_REVISION as f,
304
+ ACP_EXTENSION_DSH_QUERY_PATH_ENV as g,
305
+ ACP_EXTENSION_DSH_SESSION_ROOT_ENV as h,
306
+ DEEPSEEK_HARNESS_NPX_PACKAGES as i,
307
+ DEEPSEEK_HARNESS_VERSION as j,
308
+ DEEPSEEK_HARNESS_DEFAULT_SESSION_COMPRESSION as k
309
+ };
@@ -32,6 +32,7 @@ import "net";
32
32
  import "tls";
33
33
  import "url";
34
34
  import { __tla as __tla_1 } from "./loro_wasm_bg-BPNKba8n.js";
35
+ import "./profile-BuT-wJhi.js";
35
36
  import "assert";
36
37
  import "fs/promises";
37
38
  import "better-sqlite3";
@@ -51,9 +52,10 @@ import "node:console";
51
52
  import "node:dns";
52
53
  import "./directory-handle-OPjjCl3O.js";
53
54
  import "./diff-line-counts-bmGB_T-n.js";
54
- import "./package-qnDHmQq4.js";
55
+ import "./acp-CrvzLY5A.js";
55
56
  import "node:string_decoder";
56
57
  import "node:stream/promises";
58
+ import "./package-Ce-NgzCA.js";
57
59
  import "./runtime-manifest-Fr5DEH54.js";
58
60
  import "async_hooks";
59
61
  import "module";
@@ -61,6 +63,7 @@ import "./diff-worker-task-8tVIjLTu.js";
61
63
  import "./workspace-watch-protocol-CSO-IQeE.js";
62
64
  import "node:module";
63
65
  import "node:v8";
66
+ import "http2";
64
67
  let resolveReviewViewerTemplate;
65
68
  let __tla = Promise.all([
66
69
  (() => {
@@ -76,7 +79,7 @@ let __tla = Promise.all([
76
79
  }
77
80
  })()
78
81
  ]).then(async () => {
79
- const reviewViewerVersion = "0.80.0";
82
+ const reviewViewerVersion = "0.81.1";
80
83
  const reviewViewerSha256 = "41b6ffd0acff2c355e190b604776a89138f9598a1772d09390a6d5af514e71bb";
81
84
  const reviewViewerFileName = "standalone.html";
82
85
  const DEFAULT_CDN_BASES = [
@@ -27,11 +27,12 @@ import path__default from "node:path";
27
27
  import * as os$1 from "node:os";
28
28
  import os__default from "node:os";
29
29
  import process$1 from "node:process";
30
- import { R as RequestError, a as CreateElicitationResponse, n as ndJsonStream, b as agent$1, m as methods, p as packageJson } from "./chunks/package-qnDHmQq4.js";
30
+ import { R as RequestError, a as CreateElicitationResponse, n as ndJsonStream, b as agent$1, m as methods } from "./chunks/acp-CrvzLY5A.js";
31
31
  import { execFile as execFile$1 } from "node:child_process";
32
32
  import { randomUUID as randomUUID$1 } from "node:crypto";
33
33
  import * as fs$2 from "node:fs/promises";
34
34
  import { promisify as promisify$1 } from "node:util";
35
+ import { p as packageJson } from "./chunks/package-Ce-NgzCA.js";
35
36
  import * as fs$1 from "node:fs";
36
37
  import { WritableStream, ReadableStream as ReadableStream$1 } from "node:stream/web";
37
38
  import "./chunks/schemas-Du3qLZPS.js";