@ycodium-ai/agent-dsh 0.2.3192 → 0.2.3202
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/index.js +10 -10
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7416,18 +7416,18 @@ var DSH_CARD = {
|
|
|
7416
7416
|
sessionModelSwitch: "unsupported",
|
|
7417
7417
|
// 力度档只在建会话时经 `session/set_config_option` 发一次:中途换档,宿主带 resume cursor 重开。
|
|
7418
7418
|
sessionOptionSwitch: "unsupported",
|
|
7419
|
-
//
|
|
7420
|
-
//
|
|
7421
|
-
//
|
|
7422
|
-
//
|
|
7423
|
-
// 中途切档,什么也没发生(与 Grok 那次 F8 同款缺陷)。
|
|
7424
|
-
// 2. CLI 那头根本没有这条路:`session/new` 不报 `modes`,`session/set_mode` 回
|
|
7425
|
-
// `-32601 "Method not found"`。所以照 kimi 那样接 `session/set_mode` 也没用,
|
|
7426
|
-
// 得先查 dsh 自己有没有启动旗标(Grok 那条是 `--permission-mode`)。
|
|
7419
|
+
// 权限档只在 spawn 时定得了:CLI 读启动时的 `DSH_PERMISSION_MODE`(见 permission.ts),
|
|
7420
|
+
// `session/new` 不报 `modes`,`session/set_mode` 回 `-32601 "Method not found"`,活着的
|
|
7421
|
+
// 会话里没有任何一条路能改它。所以与 Grok 同路:宿主把新档记在 thread 上,下一轮
|
|
7422
|
+
// `ensureSessionForThread` 判到档变了,带 resume cursor(`session/resume`)重开。
|
|
7427
7423
|
//
|
|
7428
7424
|
// 改这一位要连着 `packages/contracts` 那张表一起改(`executorRegistry.test.ts`
|
|
7429
7425
|
// 的防漂移闸把两边钉成同值)。
|
|
7430
|
-
runtimeModeSwitch: "
|
|
7426
|
+
runtimeModeSwitch: "next-turn",
|
|
7427
|
+
// 声明这一位,界面才画这只手自报的三档并让用户挑;不声明时档位按钮只读,用户被
|
|
7428
|
+
// 钉在起点档 `workspace-write`,每次工具调用都要批。这只手不实现 `setNativeMode`,
|
|
7429
|
+
// 宿主据此不做活切,挑的档下一轮生效(与 runtimeModeSwitch 同为 next-turn 的原因)。
|
|
7430
|
+
nativeModeSwitch: true
|
|
7431
7431
|
},
|
|
7432
7432
|
// 凭据由 CLI 自己保管在它 home 里,宿主不读 token。
|
|
7433
7433
|
credentialSources: [],
|
|
@@ -35737,7 +35737,7 @@ var executors = [
|
|
|
35737
35737
|
];
|
|
35738
35738
|
var index_default = definePlugin({
|
|
35739
35739
|
id: "agent-dsh",
|
|
35740
|
-
apiVersion:
|
|
35740
|
+
apiVersion: 18,
|
|
35741
35741
|
executors,
|
|
35742
35742
|
activate(ctx) {
|
|
35743
35743
|
ctx.log.info("dsh executor ready");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3202",
|
|
4
4
|
"description": "DeepSeek Harness executor: dsh CLI over Agent Client Protocol stdio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"esbuild": "0.28.1",
|
|
23
23
|
"vite-plus": "0.2.2",
|
|
24
24
|
"yaml": "^2.9.0",
|
|
25
|
-
"@ycodium-ai/plugin-api": "0.2.3192",
|
|
26
25
|
"ycodium-executor-testing": "0.0.0",
|
|
27
|
-
"ycodium-
|
|
26
|
+
"@ycodium-ai/plugin-api": "0.2.3202",
|
|
27
|
+
"ycodium-acp-executor": "0.2.3202"
|
|
28
28
|
},
|
|
29
29
|
"ycodium": {
|
|
30
30
|
"plugin": "./dist/index.js",
|