lody 0.79.2 → 0.81.0
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.
- package/dist/chunks/{package-qnDHmQq4.js → acp-CrvzLY5A.js} +388 -12
- package/dist/chunks/{index-DxeR8yGt.js → index-CbTnvx5t.js} +3 -2
- package/dist/chunks/package-Ce-NgzCA.js +11 -0
- package/dist/chunks/profile-DW2t9oI8.js +307 -0
- package/dist/chunks/{review-viewer-BJIn--4M.js → review-viewer-CfESl-8M.js} +4 -2
- package/dist/claude-acp.js +2 -1
- package/dist/codex-acp.js +1 -1
- package/dist/deepseek-acp.js +660 -0
- package/dist/deepseek-agent-presets/code/agent.cordis.yml +262 -0
- package/dist/deepseek-agent-presets/code/preset.yml +3 -0
- package/dist/deepseek-agent-presets/cordis/agent.cordis.yml +262 -0
- package/dist/deepseek-agent-presets/cordis/preset.yml +3 -0
- package/dist/deepseek-agent-presets/cordis/skills/cordis-plugin-development/SKILL.md +420 -0
- package/dist/deepseek-agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md +154 -0
- package/dist/deepseek-agent-presets/minimal/agent.cordis.yml +62 -0
- package/dist/deepseek-agent-presets/minimal/preset.yml +3 -0
- package/dist/deepseek-agent-presets/standard/agent.cordis.yml +251 -0
- package/dist/deepseek-agent-presets/standard/preset.yml +3 -0
- package/dist/grok-acp.js +9 -5
- package/dist/index.js +3234 -717
- package/package.json +6 -5
|
@@ -0,0 +1,307 @@
|
|
|
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 = "v2";
|
|
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 ACP_EXTENSION_DSH_CAPABILITY_SOURCE_VERSION = `acp-extension-dsh@${ACP_EXTENSION_DSH_VERSION}:dsh@${DEEPSEEK_HARNESS_VERSION}:profile-${ACP_EXTENSION_DSH_PROFILE_REVISION}`;
|
|
63
|
+
const DEEPSEEK_HARNESS_NPX_PACKAGES = [
|
|
64
|
+
"@deepseek-ai/dsh-acp-demo",
|
|
65
|
+
"@deepseek-ai/dsh-agent-spine-demo",
|
|
66
|
+
"@deepseek-ai/dsh-session-persistence-jsonl",
|
|
67
|
+
"@deepseek-ai/dsh-session-checkpoint-policy",
|
|
68
|
+
"@deepseek-ai/dsh-session-query-sqlite",
|
|
69
|
+
"@deepseek-ai/dsh-llm-deepseek",
|
|
70
|
+
"@deepseek-ai/dsh-sandbox-local",
|
|
71
|
+
"@deepseek-ai/dsh-sandbox-policy",
|
|
72
|
+
"@deepseek-ai/dsh-subprocess-local",
|
|
73
|
+
"@deepseek-ai/dsh-bash-sandbox",
|
|
74
|
+
"@deepseek-ai/dsh-pwsh-sandbox",
|
|
75
|
+
"@deepseek-ai/dsh-user-approval",
|
|
76
|
+
"@deepseek-ai/dsh-permission-presets",
|
|
77
|
+
"@deepseek-ai/dsh-token-meter",
|
|
78
|
+
"@deepseek-ai/dsh-fs-sandbox",
|
|
79
|
+
"@deepseek-ai/dsh-fs-observation-policy",
|
|
80
|
+
"@deepseek-ai/dsh-shell-env",
|
|
81
|
+
"@deepseek-ai/dsh-commands",
|
|
82
|
+
"@deepseek-ai/dsh-skill",
|
|
83
|
+
"@deepseek-ai/dsh-goal",
|
|
84
|
+
"@deepseek-ai/dsh-goal-round-driver",
|
|
85
|
+
"@deepseek-ai/dsh-user-questions",
|
|
86
|
+
"@deepseek-ai/dsh-session-projection",
|
|
87
|
+
"@deepseek-ai/dsh-subagent",
|
|
88
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process",
|
|
89
|
+
"@deepseek-ai/dsh-subagent-fork-in-process",
|
|
90
|
+
"@deepseek-ai/dsh-tool-subagent-report",
|
|
91
|
+
"@deepseek-ai/dsh-web",
|
|
92
|
+
"@deepseek-ai/dsh-web-search-deepseek",
|
|
93
|
+
"@deepseek-ai/dsh-code-runtime-worker-thread",
|
|
94
|
+
"@deepseek-ai/dsh-cordis-host-runner",
|
|
95
|
+
"@deepseek-ai/dsh-agent-presets",
|
|
96
|
+
"@deepseek-ai/dsh-mcp-client",
|
|
97
|
+
"@deepseek-ai/dsh-persona",
|
|
98
|
+
"@deepseek-ai/dsh-agent-instructions",
|
|
99
|
+
"@deepseek-ai/dsh-tool-bash",
|
|
100
|
+
"@deepseek-ai/dsh-tool-pwsh",
|
|
101
|
+
"@deepseek-ai/dsh-tool-fs",
|
|
102
|
+
"@deepseek-ai/dsh-tool-fs-search",
|
|
103
|
+
"@deepseek-ai/dsh-tool-jobs",
|
|
104
|
+
"@deepseek-ai/dsh-tool-goal",
|
|
105
|
+
"@deepseek-ai/dsh-plan-mode",
|
|
106
|
+
"@deepseek-ai/dsh-compaction-basic",
|
|
107
|
+
"@deepseek-ai/dsh-command-compact",
|
|
108
|
+
"@deepseek-ai/dsh-compaction-tool-result-pruner",
|
|
109
|
+
"@deepseek-ai/dsh-tool-subagent-control",
|
|
110
|
+
"@deepseek-ai/dsh-tool-subagent",
|
|
111
|
+
"@deepseek-ai/dsh-workflow-worker-thread",
|
|
112
|
+
"@deepseek-ai/dsh-tool-workflow",
|
|
113
|
+
"@deepseek-ai/dsh-tool-ralph",
|
|
114
|
+
"@deepseek-ai/dsh-tool-ask-user",
|
|
115
|
+
"@deepseek-ai/dsh-tool-todo",
|
|
116
|
+
"@deepseek-ai/dsh-tool-web",
|
|
117
|
+
"@deepseek-ai/dsh-skill-filesystem",
|
|
118
|
+
"@deepseek-ai/dsh-tool-skill",
|
|
119
|
+
"@deepseek-ai/dsh-agent-tool-presentation",
|
|
120
|
+
"@deepseek-ai/dsh-tool-cordis",
|
|
121
|
+
"@deepseek-ai/dsh-terminal",
|
|
122
|
+
"@deepseek-ai/dsh-terminal-bash",
|
|
123
|
+
"@deepseek-ai/dsh-tool-bash-persistent",
|
|
124
|
+
"@deepseek-ai/dsh-fs-local",
|
|
125
|
+
"@deepseek-ai/dsh-tool-str-replace-editor"
|
|
126
|
+
];
|
|
127
|
+
function createDeepSeekHarnessCordisConfig(adapterPath, presetRoot) {
|
|
128
|
+
return `# Generated for acp-extension-dsh. API credentials stay in the host environment.
|
|
129
|
+
- id: agent-spine
|
|
130
|
+
name: '@deepseek-ai/dsh-agent-spine-demo'
|
|
131
|
+
config:
|
|
132
|
+
workspaceContext: false
|
|
133
|
+
skills:
|
|
134
|
+
enabled: false
|
|
135
|
+
toolBash: false
|
|
136
|
+
toolJobs: false
|
|
137
|
+
goals: false
|
|
138
|
+
persona: ''
|
|
139
|
+
|
|
140
|
+
- id: session-persistence
|
|
141
|
+
name: '@deepseek-ai/dsh-session-persistence-jsonl'
|
|
142
|
+
config:
|
|
143
|
+
root: !!js process.env.${ACP_EXTENSION_DSH_SESSION_ROOT_ENV}
|
|
144
|
+
compression: none
|
|
145
|
+
|
|
146
|
+
- id: session-checkpoint
|
|
147
|
+
name: '@deepseek-ai/dsh-session-checkpoint-policy'
|
|
148
|
+
|
|
149
|
+
- id: session-query
|
|
150
|
+
name: '@deepseek-ai/dsh-session-query-sqlite'
|
|
151
|
+
config:
|
|
152
|
+
path: !!js process.env.${ACP_EXTENSION_DSH_QUERY_PATH_ENV}
|
|
153
|
+
|
|
154
|
+
- id: llm-deepseek
|
|
155
|
+
name: '@deepseek-ai/dsh-llm-deepseek'
|
|
156
|
+
config:
|
|
157
|
+
thinking: enabled
|
|
158
|
+
reasoningEffort: max
|
|
159
|
+
models:
|
|
160
|
+
- id: deepseek-v4-flash
|
|
161
|
+
- id: deepseek-v4-pro
|
|
162
|
+
|
|
163
|
+
- id: sandbox
|
|
164
|
+
name: '@deepseek-ai/dsh-sandbox-local'
|
|
165
|
+
|
|
166
|
+
- id: sandbox-policy
|
|
167
|
+
name: '@deepseek-ai/dsh-sandbox-policy'
|
|
168
|
+
config:
|
|
169
|
+
mode: workspace-write
|
|
170
|
+
workspaceRoot: !!js process.cwd()
|
|
171
|
+
|
|
172
|
+
- id: subprocess
|
|
173
|
+
name: '@deepseek-ai/dsh-subprocess-local'
|
|
174
|
+
|
|
175
|
+
- id: bash
|
|
176
|
+
name: '@deepseek-ai/dsh-bash-sandbox'
|
|
177
|
+
disabled: !!js process.platform === 'win32'
|
|
178
|
+
config:
|
|
179
|
+
timeoutMs: 60000
|
|
180
|
+
|
|
181
|
+
- id: pwsh
|
|
182
|
+
name: '@deepseek-ai/dsh-pwsh-sandbox'
|
|
183
|
+
disabled: !!js process.platform !== 'win32'
|
|
184
|
+
|
|
185
|
+
- id: approval
|
|
186
|
+
name: '@deepseek-ai/dsh-user-approval'
|
|
187
|
+
config:
|
|
188
|
+
policy: ask
|
|
189
|
+
|
|
190
|
+
- id: permission-presets
|
|
191
|
+
name: '@deepseek-ai/dsh-permission-presets'
|
|
192
|
+
config:
|
|
193
|
+
defaultPreset: workspace-write
|
|
194
|
+
presets:
|
|
195
|
+
read-only:
|
|
196
|
+
sandbox: read-only
|
|
197
|
+
approval: ask
|
|
198
|
+
name: Read-only
|
|
199
|
+
description: Read inside the workspace; protected writes require one-time approval.
|
|
200
|
+
workspace-write:
|
|
201
|
+
sandbox: workspace-write
|
|
202
|
+
approval: ask
|
|
203
|
+
name: Workspace write
|
|
204
|
+
description: Read and write inside the workspace; wider access requires one-time approval.
|
|
205
|
+
danger-full-access:
|
|
206
|
+
sandbox: danger-full-access
|
|
207
|
+
approval: never
|
|
208
|
+
name: Full access
|
|
209
|
+
description: Allow unrestricted file and command access without approval prompts.
|
|
210
|
+
|
|
211
|
+
# Host-plane services shared by every per-session preset.
|
|
212
|
+
- id: shell-env
|
|
213
|
+
name: '@deepseek-ai/dsh-shell-env'
|
|
214
|
+
|
|
215
|
+
- id: commands
|
|
216
|
+
name: '@deepseek-ai/dsh-commands'
|
|
217
|
+
|
|
218
|
+
- id: fs-sandbox
|
|
219
|
+
name: '@deepseek-ai/dsh-fs-sandbox'
|
|
220
|
+
config:
|
|
221
|
+
cwd: !!js process.cwd()
|
|
222
|
+
|
|
223
|
+
- id: fs-observation-policy
|
|
224
|
+
name: '@deepseek-ai/dsh-fs-observation-policy'
|
|
225
|
+
|
|
226
|
+
- id: skill
|
|
227
|
+
name: '@deepseek-ai/dsh-skill'
|
|
228
|
+
|
|
229
|
+
- id: goal
|
|
230
|
+
name: '@deepseek-ai/dsh-goal'
|
|
231
|
+
|
|
232
|
+
- id: goal-round-driver
|
|
233
|
+
name: '@deepseek-ai/dsh-goal-round-driver'
|
|
234
|
+
|
|
235
|
+
- id: user-questions
|
|
236
|
+
name: '@deepseek-ai/dsh-user-questions'
|
|
237
|
+
|
|
238
|
+
- id: session-projection
|
|
239
|
+
name: '@deepseek-ai/dsh-session-projection'
|
|
240
|
+
|
|
241
|
+
- id: subagent
|
|
242
|
+
name: '@deepseek-ai/dsh-subagent'
|
|
243
|
+
|
|
244
|
+
- id: subagent-spawn-in-process
|
|
245
|
+
name: '@deepseek-ai/dsh-subagent-spawn-in-process'
|
|
246
|
+
config:
|
|
247
|
+
providerName: spawn
|
|
248
|
+
|
|
249
|
+
- id: subagent-fork-in-process
|
|
250
|
+
name: '@deepseek-ai/dsh-subagent-fork-in-process'
|
|
251
|
+
config:
|
|
252
|
+
providerName: fork
|
|
253
|
+
|
|
254
|
+
- id: tool-subagent-report
|
|
255
|
+
name: '@deepseek-ai/dsh-tool-subagent-report'
|
|
256
|
+
|
|
257
|
+
- id: web
|
|
258
|
+
name: '@deepseek-ai/dsh-web'
|
|
259
|
+
config:
|
|
260
|
+
searchProvider: deepseek-official
|
|
261
|
+
|
|
262
|
+
- id: web-search-deepseek
|
|
263
|
+
name: '@deepseek-ai/dsh-web-search-deepseek'
|
|
264
|
+
config:
|
|
265
|
+
apiKeyEnv: DEEPSEEK_API_KEY
|
|
266
|
+
|
|
267
|
+
- id: code-runtime
|
|
268
|
+
name: '@deepseek-ai/dsh-code-runtime-worker-thread'
|
|
269
|
+
|
|
270
|
+
- id: cordis-host-runner
|
|
271
|
+
name: '@deepseek-ai/dsh-cordis-host-runner'
|
|
272
|
+
|
|
273
|
+
- id: token-meter
|
|
274
|
+
name: '@deepseek-ai/dsh-token-meter'
|
|
275
|
+
|
|
276
|
+
# The shipped root supplies the four official modes. AgentPresets also appends
|
|
277
|
+
# $DSH_HOME/.agent-presets so user-authored DSH compositions remain available.
|
|
278
|
+
- id: agent-presets
|
|
279
|
+
name: '@deepseek-ai/dsh-agent-presets'
|
|
280
|
+
config:
|
|
281
|
+
default: standard
|
|
282
|
+
roots:
|
|
283
|
+
- path: ${JSON.stringify(presetRoot)}
|
|
284
|
+
trust: system
|
|
285
|
+
|
|
286
|
+
- id: acp-agent
|
|
287
|
+
name: ${JSON.stringify(adapterPath)}
|
|
288
|
+
config:
|
|
289
|
+
provider: deepseek-official
|
|
290
|
+
model: deepseek-v4-pro
|
|
291
|
+
reasoningEffort: max
|
|
292
|
+
`;
|
|
293
|
+
}
|
|
294
|
+
export {
|
|
295
|
+
ACP_EXTENSION_DSH_CAPABILITY_SOURCE_VERSION as A,
|
|
296
|
+
DEEPSEEK_HARNESS_PERMISSION_MODES as D,
|
|
297
|
+
DEEPSEEK_HARNESS_AGENT_PRESETS as a,
|
|
298
|
+
DEEPSEEK_HARNESS_MODELS as b,
|
|
299
|
+
DEEPSEEK_HARNESS_REASONING_OPTIONS as c,
|
|
300
|
+
createDeepSeekHarnessCordisConfig as d,
|
|
301
|
+
ACP_EXTENSION_DSH_VERSION as e,
|
|
302
|
+
ACP_EXTENSION_DSH_PROFILE_REVISION as f,
|
|
303
|
+
ACP_EXTENSION_DSH_QUERY_PATH_ENV as g,
|
|
304
|
+
ACP_EXTENSION_DSH_SESSION_ROOT_ENV as h,
|
|
305
|
+
DEEPSEEK_HARNESS_NPX_PACKAGES as i,
|
|
306
|
+
DEEPSEEK_HARNESS_VERSION as j
|
|
307
|
+
};
|
|
@@ -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-DW2t9oI8.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 "./
|
|
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";
|
|
@@ -76,7 +78,7 @@ let __tla = Promise.all([
|
|
|
76
78
|
}
|
|
77
79
|
})()
|
|
78
80
|
]).then(async () => {
|
|
79
|
-
const reviewViewerVersion = "0.
|
|
81
|
+
const reviewViewerVersion = "0.81.0";
|
|
80
82
|
const reviewViewerSha256 = "41b6ffd0acff2c355e190b604776a89138f9598a1772d09390a6d5af514e71bb";
|
|
81
83
|
const reviewViewerFileName = "standalone.html";
|
|
82
84
|
const DEFAULT_CDN_BASES = [
|
package/dist/claude-acp.js
CHANGED
|
@@ -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
|
|
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";
|
package/dist/codex-acp.js
CHANGED