@deepseek-ai/dsh-subagent-claude-code 0.1.2-alpha.2 → 0.1.2-alpha.4

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/subagent/subagent-claude-code/README.md
5
- README.md: 9fcce15b45a77a7a3b7dd4e6299609f8ef5ee484
6
- README.zh.md: 5066c2553f7bd7f71fd87c7ee5acb800b7398b59
5
+ README.md: 7ec86fc2092f22fc82665d9660edb42a01a3d99c
6
+ README.zh.md: 2ef2e957b19f56b664f79e429b067a59557373f8
package/README.md CHANGED
@@ -193,3 +193,5 @@ This Dev Note is working context for maintainers: open questions and undecided d
193
193
  - **Version-pinned protocol** — the runtime dependency is pinned to Agent SDK 0.3.241; upgrading pins a new SDK version and requires re-running the keyless real-product and loader-composition evidence.
194
194
 
195
195
  </details>
196
+
197
+ **Runtime invariant:** No companion is published. Lifecycle pairing belongs to the shared subagent service and process-tree ownership belongs to the subprocess service.
package/README.zh.md CHANGED
@@ -193,3 +193,5 @@ Claude Code 子级会在一个全新的 SDK query 中接收独立文本任务。
193
193
  - **版本锁定的协议**——运行时依赖锁定为 Agent SDK 0.3.241;升级会锁定新的 SDK 版本,并需要重新运行无密钥真实产品与 loader 组合证据。
194
194
 
195
195
  </details>
196
+
197
+ **运行时不变式:** 不发布伴生入口。生命周期配对属于共享 subagent service,process-tree 所有权属于 subprocess service。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-subagent-claude-code",
3
3
  "description": "One-shot Claude Code subagent provider over the official Agent SDK",
4
- "version": "0.1.2-alpha.2",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -18,16 +18,11 @@
18
18
  "types": "./lib/types/index.d.ts",
19
19
  "default": "./lib/index.js"
20
20
  },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
24
- },
25
21
  "./src/*": "./src/*",
26
22
  "./package.json": "./package.json"
27
23
  },
28
24
  "files": [
29
25
  "lib/index.js",
30
- "lib/invariant.js",
31
26
  "cordis.patch.yml",
32
27
  "lib/types/**/*.d.ts"
33
28
  ],
@@ -38,40 +33,38 @@
38
33
  }
39
34
  },
40
35
  "peerDependencies": {
36
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
37
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
41
38
  "@deepseek-ai/cordis": "^4.0.2",
42
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
43
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.2",
44
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.2",
45
- "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.2",
46
- "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.2",
47
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.2"
39
+ "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.4",
40
+ "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
41
+ "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.4"
48
42
  },
49
43
  "dependencies": {
50
44
  "@anthropic-ai/claude-agent-sdk": "0.3.241",
51
45
  "@anthropic-ai/sdk": "0.93.0",
52
46
  "@modelcontextprotocol/sdk": "^1.29.0",
53
47
  "zod": "^4.4.3",
54
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.2",
55
- "@deepseek-ai/schemastery": "^3.18.2"
48
+ "@deepseek-ai/schemastery": "^3.18.2",
49
+ "@deepseek-ai/dsh-brand": "^0.1.2-alpha.4"
56
50
  },
57
51
  "devDependencies": {
58
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.2",
59
- "@deepseek-ai/dsh-agent-spine-demo": "^0.1.2-alpha.2",
60
- "@deepseek-ai/dsh-app-boot": "^0.1.2-alpha.2",
61
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
62
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.2",
63
- "@deepseek-ai/dsh-loader-smoke": "^0.1.2-alpha.2",
64
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.2",
65
- "@deepseek-ai/dsh-session-checkpoint-policy": "^0.1.2-alpha.2",
66
- "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.2-alpha.2",
67
- "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.2",
68
- "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.2",
69
- "@deepseek-ai/dsh-subagent-codex": "^0.1.2-alpha.2",
70
- "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.2",
71
- "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.2",
72
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.2",
73
- "@deepseek-ai/dsh-tool-subagent": "^0.1.2-alpha.2",
74
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.2",
75
- "@deepseek-ai/cordis": "^4.0.2"
52
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.4",
53
+ "@deepseek-ai/cordis": "^4.0.2",
54
+ "@deepseek-ai/dsh-app-boot": "^0.1.2-alpha.4",
55
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
56
+ "@deepseek-ai/dsh-loader-smoke": "^0.1.2-alpha.4",
57
+ "@deepseek-ai/dsh-session-checkpoint-policy": "^0.1.2-alpha.4",
58
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
59
+ "@deepseek-ai/dsh-session-persistence-jsonl": "^0.1.2-alpha.4",
60
+ "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.4",
61
+ "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.4",
62
+ "@deepseek-ai/dsh-subagent-codex": "^0.1.2-alpha.4",
63
+ "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.4",
64
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.2-alpha.4",
65
+ "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.4",
66
+ "@deepseek-ai/dsh-tool-jobs": "^0.1.2-alpha.4",
67
+ "@deepseek-ai/dsh-tool-subagent": "^0.1.2-alpha.4",
68
+ "@deepseek-ai/dsh-tools": "^0.1.2-alpha.4"
76
69
  }
77
70
  }
package/lib/invariant.js DELETED
@@ -1,24 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for
4
- * `@deepseek-ai/dsh-subagent-claude-code`.
5
- * @module @deepseek-ai/dsh-subagent-claude-code/invariant
6
- */
7
- const PACKAGE_NAME = "@deepseek-ai/dsh-subagent-claude-code";
8
- /** Cordis companion plugin name. */
9
- const name = "subagent-claude-code-invariant";
10
- /** Service required before the companion can reserve package ownership. */
11
- const inject = ["invariants"];
12
- /**
13
- * No runtime invariant: lifecycle pairing belongs to the shared subagent
14
- * service and process-tree ownership belongs to the subprocess service.
15
- */
16
- const install = () => {};
17
- /**
18
- * Register this package's invariant companion.
19
- * @param ctx - plugin context carrying the invariant registry.
20
- * @returns the installed registration's disposer.
21
- */
22
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
23
- //#endregion
24
- export { apply, inject, name };
@@ -1,17 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for
3
- * `@deepseek-ai/dsh-subagent-claude-code`.
4
- * @module @deepseek-ai/dsh-subagent-claude-code/invariant
5
- */
6
- import type { Context } from '@deepseek-ai/cordis';
7
- /** Cordis companion plugin name. */
8
- export declare const name = "subagent-claude-code-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- export declare const inject: string[];
11
- /**
12
- * Register this package's invariant companion.
13
- * @param ctx - plugin context carrying the invariant registry.
14
- * @returns the installed registration's disposer.
15
- */
16
- export declare const apply: (ctx: Context) => Promise<() => void>;
17
- //# sourceMappingURL=invariant.d.ts.map