@sparkelf/dsh-plugin-subagent-settings 0.1.0-rc.14 → 0.1.0-rc.22
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 +2 -2
- package/README.md +1 -0
- package/README.zh.md +1 -0
- package/package.json +26 -33
- package/lib/invariant.js +0 -23
- package/lib/types/invariant.d.ts +0 -16
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/plus/subagent-settings/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 9fba7e7b52e1080855dfe63de7248da088e7d1d8
|
|
6
|
+
README.zh.md: 9a173909e303efdd06a41754a4d7b2246d5268d6
|
package/README.md
CHANGED
|
@@ -59,5 +59,6 @@ Toggling a mode changes the later-request tool prefix. One-shot mode reuses inhe
|
|
|
59
59
|
This Dev Note is working context for maintainers; shipped behavior, limits, and rationale live in the sections above, the package code, and the linked Agent Note.
|
|
60
60
|
|
|
61
61
|
- Host behavior lives under `src`, and the Settings UI lives under `src/client`. The [distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.md) owns package and patch retirement boundaries.
|
|
62
|
+
- No runtime invariant companion is published because delegation execution is observed by the Subagent capability and Session lifecycle; the settings adapter has no independent execution state.
|
|
62
63
|
|
|
63
64
|
</details>
|
package/README.zh.md
CHANGED
|
@@ -59,5 +59,6 @@ disabled mode不贡献schema或prompt section。Continuous mode增加`subagent`
|
|
|
59
59
|
该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
|
|
60
60
|
|
|
61
61
|
- Host behavior位于`src`,Settings UI位于`src/client`。[Distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.zh.md)持有package及patch retirement boundaries。
|
|
62
|
+
- 该package不发布`./invariant` companion,因为delegation execution由Subagent capability和Session lifecycle观测;settings adapter没有independent execution state。
|
|
62
63
|
|
|
63
64
|
</details>
|
package/package.json
CHANGED
|
@@ -5,22 +5,21 @@
|
|
|
5
5
|
"description": "Settings-backed continuous and one-shot subagent delegation with one Web Settings section",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
8
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
9
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
10
|
-
"@deepseek-ai/dsh-client-store": "^0.1.
|
|
11
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.
|
|
12
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.
|
|
13
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.
|
|
14
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
15
|
-
"@deepseek-ai/dsh-
|
|
16
|
-
"@deepseek-ai/dsh-
|
|
17
|
-
"@deepseek-ai/dsh-
|
|
18
|
-
"@deepseek-ai/dsh-
|
|
19
|
-
"@deepseek-ai/dsh-
|
|
20
|
-
"@deepseek-ai/dsh-
|
|
21
|
-
"@deepseek-ai/dsh-
|
|
22
|
-
"@deepseek-ai/dsh-
|
|
23
|
-
"@deepseek-ai/dsh-util-values": "^0.1.2-alpha.2",
|
|
8
|
+
"@deepseek-ai/dsh-agent": "^0.1.3-alpha.1",
|
|
9
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.3-alpha.1",
|
|
10
|
+
"@deepseek-ai/dsh-client-store": "^0.1.3-alpha.1",
|
|
11
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.3-alpha.1",
|
|
12
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.3-alpha.1",
|
|
13
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.3-alpha.1",
|
|
14
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.3-alpha.1",
|
|
15
|
+
"@deepseek-ai/dsh-jobs": "^0.1.3-alpha.1",
|
|
16
|
+
"@deepseek-ai/dsh-llm": "^0.1.3-alpha.1",
|
|
17
|
+
"@deepseek-ai/dsh-session": "^0.1.3-alpha.1",
|
|
18
|
+
"@deepseek-ai/dsh-settings": "^0.1.3-alpha.1",
|
|
19
|
+
"@deepseek-ai/dsh-subagent": "^0.1.3-alpha.1",
|
|
20
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.1",
|
|
21
|
+
"@deepseek-ai/dsh-tools": "^0.1.3-alpha.1",
|
|
22
|
+
"@deepseek-ai/dsh-util-values": "^0.1.3-alpha.1",
|
|
24
23
|
"@types/react": "~18.3.1",
|
|
25
24
|
"react": "^18.2.0"
|
|
26
25
|
},
|
|
@@ -43,10 +42,6 @@
|
|
|
43
42
|
"default": "./lib/client.js",
|
|
44
43
|
"types": "./lib/types/client/index.d.ts"
|
|
45
44
|
},
|
|
46
|
-
"./invariant": {
|
|
47
|
-
"default": "./lib/invariant.js",
|
|
48
|
-
"types": "./lib/types/invariant.d.ts"
|
|
49
|
-
},
|
|
50
45
|
"./package.json": "./package.json",
|
|
51
46
|
"./startup": {
|
|
52
47
|
"default": "./lib/startup.js",
|
|
@@ -55,7 +50,6 @@
|
|
|
55
50
|
},
|
|
56
51
|
"files": [
|
|
57
52
|
"lib/index.js",
|
|
58
|
-
"lib/invariant.js",
|
|
59
53
|
"lib/client.js",
|
|
60
54
|
"lib/startup.js",
|
|
61
55
|
"lib/types/**/*.d.ts"
|
|
@@ -65,17 +59,16 @@
|
|
|
65
59
|
"name": "@sparkelf/dsh-plugin-subagent-settings",
|
|
66
60
|
"peerDependencies": {
|
|
67
61
|
"@deepseek-ai/cordis": ">=4.0.1",
|
|
68
|
-
"@deepseek-ai/dsh-agent": ">=0.1.
|
|
69
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.
|
|
70
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.
|
|
71
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"@deepseek-ai/dsh-
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-
|
|
78
|
-
"@deepseek-ai/dsh-tools": ">=0.1.2-alpha.2"
|
|
62
|
+
"@deepseek-ai/dsh-agent": ">=0.1.3-alpha.1",
|
|
63
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.3-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.3-alpha.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.3-alpha.1",
|
|
66
|
+
"@deepseek-ai/dsh-jobs": ">=0.1.3-alpha.1",
|
|
67
|
+
"@deepseek-ai/dsh-llm": ">=0.1.3-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-settings": ">=0.1.3-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-subagent": ">=0.1.3-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.3-alpha.1",
|
|
71
|
+
"@deepseek-ai/dsh-tools": ">=0.1.3-alpha.1"
|
|
79
72
|
},
|
|
80
73
|
"publishConfig": {
|
|
81
74
|
"access": "public"
|
|
@@ -91,5 +84,5 @@
|
|
|
91
84
|
},
|
|
92
85
|
"type": "module",
|
|
93
86
|
"types": "lib/types/index.d.ts",
|
|
94
|
-
"version": "0.1.0-rc.
|
|
87
|
+
"version": "0.1.0-rc.22"
|
|
95
88
|
}
|
package/lib/invariant.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/**
|
|
3
|
-
* Package-owned invariant companion for `@sparkelf/dsh-plugin-subagent-settings`.
|
|
4
|
-
* @module @sparkelf/dsh-plugin-subagent-settings/invariant
|
|
5
|
-
*/
|
|
6
|
-
const PACKAGE_NAME = "@sparkelf/dsh-plugin-subagent-settings";
|
|
7
|
-
/** Cordis companion plugin name. */
|
|
8
|
-
const name = "tool-subagent-invariant";
|
|
9
|
-
/** Service required before the companion can reserve package ownership. */
|
|
10
|
-
const inject = ["invariants"];
|
|
11
|
-
/**
|
|
12
|
-
* No runtime invariant: this model-facing adapter has no independent lifecycle stream; execution
|
|
13
|
-
* relations are owned by the capability seam it calls.
|
|
14
|
-
*/
|
|
15
|
-
const install = () => {};
|
|
16
|
-
/**
|
|
17
|
-
* Register this package's invariant companion.
|
|
18
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
19
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
20
|
-
*/
|
|
21
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
22
|
-
//#endregion
|
|
23
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@sparkelf/dsh-plugin-subagent-settings`.
|
|
3
|
-
* @module @sparkelf/dsh-plugin-subagent-settings/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "tool-subagent-invariant";
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export declare const inject: string[];
|
|
10
|
-
/**
|
|
11
|
-
* Register this package's invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
-
//# sourceMappingURL=invariant.d.ts.map
|