@sparkelf/dsh-plugin-subagent-settings 0.1.0-rc.9 → 0.2.0-rc.2
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 +2 -1
- package/README.zh.md +2 -1
- package/lib/client.js +1 -1
- package/lib/index.js +1 -2
- package/lib/startup.js +1 -2
- package/package.json +60 -66
- 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: b381aed67cd83cc7a59b87b838131ec8d50988ea
|
|
6
|
+
README.zh.md: e75521799b2e800d4efa80ce57a1f70b610ae4b6
|
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ Toggling a mode changes the later-request tool prefix. One-shot mode reuses inhe
|
|
|
58
58
|
|
|
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
|
-
- Host behavior lives under `src`, and the Settings UI lives under `src/client`. The [distribution Agent Note](../../../.agents/notes/
|
|
61
|
+
- Host behavior lives under `src`, and the Settings UI lives under `src/client`. The [distribution Agent Note](../../../.agents/notes/implemented/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
|
@@ -58,6 +58,7 @@ disabled mode不贡献schema或prompt section。Continuous mode增加`subagent`
|
|
|
58
58
|
|
|
59
59
|
该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
|
|
60
60
|
|
|
61
|
-
- Host behavior位于`src`,Settings UI位于`src/client`。[Distribution Agent Note](../../../.agents/notes/
|
|
61
|
+
- Host behavior位于`src`,Settings UI位于`src/client`。[Distribution Agent Note](../../../.agents/notes/implemented/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/lib/client.js
CHANGED
|
@@ -9,7 +9,7 @@ window.__ModuleLoader__.load({
|
|
|
9
9
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
10
10
|
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
11
11
|
//#region \0dsh-css:/home/runner/work/deepseek-harness-plus/deepseek-harness-plus/packages/plus/subagent-settings/src/client/SubagentCard.module.css.mjs
|
|
12
|
-
const css = ".KB3fBa_section{box-sizing:border-box;width:min(100%,680px);padding:0 24px 28px 0}.KB3fBa_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:20px;font-weight:600;line-height:28px}.KB3fBa_intro{color:var(--dsw-alias-label-secondary);margin:6px 0 18px;font-size:14px;line-height:22px}.KB3fBa_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);border-radius:8px;overflow:hidden}.KB3fBa_modeTabs{border-bottom:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.KB3fBa_modeTab{min-width:0;min-height:38px;color:var(--dsw-alias-label-secondary);cursor:pointer;font:inherit;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;font-size:14px;font-weight:500;line-height:22px;display:inline-flex;position:relative}.KB3fBa_modeTab:hover{background:var(--dsw-alias-interactive-bg-hover)}.KB3fBa_modeTab[data-active=true]{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.KB3fBa_modeTab:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.KB3fBa_unsavedDot{background:var(--dsw-alias-brand-primary);border-radius:50%;flex:none;width:6px;height:6px}.KB3fBa_panel{padding:18px}.KB3fBa_modeHeader{border-bottom:1px solid var(--dsw-alias-border-l2);justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.KB3fBa_modeCopy{min-width:0}.KB3fBa_modeCopy h3{color:var(--dsw-alias-label-primary);margin:0;font-size:15px;font-weight:600;line-height:22px}.KB3fBa_modeCopy p{color:var(--dsw-alias-label-tertiary);margin:3px 0 0;font-size:13px;line-height:20px}.KB3fBa_switchLabel{color:var(--dsw-alias-label-primary);cursor:pointer;flex:none;align-items:center;gap:10px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex;position:relative}.KB3fBa_switchInput{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.KB3fBa_switchInput:disabled{cursor:not-allowed}.KB3fBa_switchTrack{background:var(--dsw-alias-border-l1);border-radius:10px;width:36px;height:20px;transition:background-color .12s;position:relative}.KB3fBa_switchTrack>span{background:var(--dsw-alias-bg-layer-1);width:16px;height:16px;box-shadow:var(--dsw-shadow-lv1);border-radius:50%;transition:transform .12s;position:absolute;top:2px;left:2px}.KB3fBa_switchInput:checked+.KB3fBa_switchTrack{background:var(--dsw-alias-brand-primary)}.KB3fBa_switchInput:checked+.KB3fBa_switchTrack>span{transform:translate(16px)}.KB3fBa_switchInput:focus-visible+.KB3fBa_switchTrack{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.KB3fBa_switchInput:disabled+.KB3fBa_switchTrack{opacity:.48}.KB3fBa_switchLabel:has(.KB3fBa_switchInput:disabled){cursor:not-allowed;color:var(--dsw-alias-label-tertiary)}.KB3fBa_readOnly,.KB3fBa_failed{margin:12px 0 0;font-size:13px;line-height:20px}.KB3fBa_readOnly{color:var(--dsw-alias-label-tertiary)}.KB3fBa_failed{color:var(--dsw-alias-label-error);flex:1}.KB3fBa_editor{gap:18px;padding-top:18px;display:grid}.KB3fBa_group{gap:8px;display:grid}.KB3fBa_group h3{color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:500;line-height:22px}.KB3fBa_radioRow{min-height:24px;color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:14px;line-height:22px;display:flex}.KB3fBa_radioRow input{accent-color:var(--dsw-alias-brand-primary);flex:none;margin:0}.KB3fBa_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:13px;line-height:20px;display:grid}.KB3fBa_control{box-sizing:border-box;width:100%;display:flex!important}.KB3fBa_textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:112px;color:var(--dsw-alias-label-primary);font:inherit;border-radius:8px;padding:8px 10px;font-size:14px;line-height:22px}.KB3fBa_textarea:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.KB3fBa_select{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:36px;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;text-align:left;border-radius:8px;justify-content:space-between;align-items:center;padding:0 10px;font-size:14px;line-height:22px;display:flex}.KB3fBa_select:hover:not(:disabled){border-color:var(--dsw-alias-label-dimmed)}.KB3fBa_select:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.KB3fBa_select:disabled{cursor:not-allowed;opacity:.48}.KB3fBa_actions{justify-content:flex-start;padding-top:2px;display:flex}.KB3fBa_footer{border-top:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;align-items:center;gap:10px;min-height:44px;margin-top:18px;padding-top:14px;display:flex}.KB3fBa_discard,.KB3fBa_save{cursor:pointer;min-height:34px;font:inherit;border-radius:8px;padding:5px 14px;font-size:14px;line-height:22px}.KB3fBa_discard{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);background:0 0}.KB3fBa_save{background:var(--dsw-alias-brand-primary);color:var(--dsw-alias-bg-layer-3);border:1px solid #0000}.KB3fBa_discard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.KB3fBa_save:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}.KB3fBa_discard:disabled,.KB3fBa_save:disabled{cursor:not-allowed;opacity:.42}";
|
|
12
|
+
const css = ".KB3fBa_section{box-sizing:border-box;width:min(100%,680px);padding:0 24px 28px 0}.KB3fBa_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:20px;font-weight:600;line-height:28px}.KB3fBa_intro{color:var(--dsw-alias-label-secondary);margin:6px 0 18px;font-size:14px;line-height:22px}.KB3fBa_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);border-radius:8px;overflow:hidden}.KB3fBa_modeTabs{border-bottom:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-2);grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.KB3fBa_modeTab{min-width:0;min-height:38px;color:var(--dsw-alias-label-secondary);cursor:pointer;font:inherit;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 12px;font-size:14px;font-weight:500;line-height:22px;display:inline-flex;position:relative}.KB3fBa_modeTab:hover{background:var(--dsw-alias-interactive-bg-hover)}.KB3fBa_modeTab[data-active=true]{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.KB3fBa_modeTab:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.KB3fBa_unsavedDot{corner-shape:round;background:var(--dsw-alias-brand-primary);border-radius:50%;flex:none;width:6px;height:6px}.KB3fBa_panel{padding:18px}.KB3fBa_modeHeader{border-bottom:1px solid var(--dsw-alias-border-l2);justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.KB3fBa_modeCopy{min-width:0}.KB3fBa_modeCopy h3{color:var(--dsw-alias-label-primary);margin:0;font-size:15px;font-weight:600;line-height:22px}.KB3fBa_modeCopy p{color:var(--dsw-alias-label-tertiary);margin:3px 0 0;font-size:13px;line-height:20px}.KB3fBa_switchLabel{color:var(--dsw-alias-label-primary);cursor:pointer;flex:none;align-items:center;gap:10px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex;position:relative}.KB3fBa_switchInput{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.KB3fBa_switchInput:disabled{cursor:not-allowed}.KB3fBa_switchTrack{background:var(--dsw-alias-border-l1);border-radius:10px;width:36px;height:20px;transition:background-color .12s;position:relative}.KB3fBa_switchTrack>span{corner-shape:round;background:var(--dsw-alias-bg-layer-1);width:16px;height:16px;box-shadow:var(--dsw-shadow-lv1);border-radius:50%;transition:transform .12s;position:absolute;top:2px;left:2px}.KB3fBa_switchInput:checked+.KB3fBa_switchTrack{background:var(--dsw-alias-brand-primary)}.KB3fBa_switchInput:checked+.KB3fBa_switchTrack>span{transform:translate(16px)}.KB3fBa_switchInput:focus-visible+.KB3fBa_switchTrack{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.KB3fBa_switchInput:disabled+.KB3fBa_switchTrack{opacity:.48}.KB3fBa_switchLabel:has(.KB3fBa_switchInput:disabled){cursor:not-allowed;color:var(--dsw-alias-label-tertiary)}.KB3fBa_readOnly,.KB3fBa_failed{margin:12px 0 0;font-size:13px;line-height:20px}.KB3fBa_readOnly{color:var(--dsw-alias-label-tertiary)}.KB3fBa_failed{color:var(--dsw-alias-label-error);flex:1}.KB3fBa_editor{gap:18px;padding-top:18px;display:grid}.KB3fBa_group{gap:8px;display:grid}.KB3fBa_group h3{color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:500;line-height:22px}.KB3fBa_radioRow{min-height:24px;color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:14px;line-height:22px;display:flex}.KB3fBa_radioRow input{accent-color:var(--dsw-alias-brand-primary);flex:none;margin:0}.KB3fBa_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:13px;line-height:20px;display:grid}.KB3fBa_control{box-sizing:border-box;width:100%;display:flex!important}.KB3fBa_textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:112px;color:var(--dsw-alias-label-primary);font:inherit;border-radius:8px;padding:8px 10px;font-size:14px;line-height:22px}.KB3fBa_textarea:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.KB3fBa_select{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);width:100%;min-height:36px;color:var(--dsw-alias-label-primary);cursor:pointer;font:inherit;text-align:left;border-radius:8px;justify-content:space-between;align-items:center;padding:0 10px;font-size:14px;line-height:22px;display:flex}.KB3fBa_select:hover:not(:disabled){border-color:var(--dsw-alias-label-dimmed)}.KB3fBa_select:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.KB3fBa_select:disabled{cursor:not-allowed;opacity:.48}.KB3fBa_actions{justify-content:flex-start;padding-top:2px;display:flex}.KB3fBa_footer{border-top:1px solid var(--dsw-alias-border-l2);justify-content:flex-end;align-items:center;gap:10px;min-height:44px;margin-top:18px;padding-top:14px;display:flex}.KB3fBa_discard,.KB3fBa_save{cursor:pointer;min-height:34px;font:inherit;border-radius:8px;padding:5px 14px;font-size:14px;line-height:22px}.KB3fBa_discard{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);background:0 0}.KB3fBa_save{background:var(--dsw-alias-brand-primary);color:var(--dsw-alias-bg-layer-3);border:1px solid #0000}.KB3fBa_discard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.KB3fBa_save:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}.KB3fBa_discard:disabled,.KB3fBa_save:disabled{cursor:not-allowed;opacity:.42}";
|
|
13
13
|
const tagId = "@sparkelf/dsh-plugin-subagent-settings/SubagentCard.module.css";
|
|
14
14
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
15
15
|
const tag = document.createElement("style");
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { settingsNamespace } from "@deepseek-ai/dsh-settings";
|
|
2
1
|
import z from "@deepseek-ai/schemastery";
|
|
3
2
|
import { defineTool } from "@deepseek-ai/dsh-tools";
|
|
4
3
|
import { assertSubagentMaxDepth, settleRun } from "@deepseek-ai/dsh-subagent";
|
|
@@ -185,7 +184,7 @@ function validateSettings(value, provider) {
|
|
|
185
184
|
}
|
|
186
185
|
function apply(ctx, config) {
|
|
187
186
|
const configuredSettings = settingsFromConfig(config);
|
|
188
|
-
const namespace = config.settingsNamespace
|
|
187
|
+
const namespace = config.settingsNamespace;
|
|
189
188
|
const settingsSource = () => {
|
|
190
189
|
if (namespace === void 0) return configuredSettings;
|
|
191
190
|
const settings = ctx.get("settings");
|
package/lib/startup.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SUBAGENT_SETTINGS_SCHEMA, settingsFromConfig, validateSettings } from "./index.js";
|
|
2
|
-
import { settingsNamespace } from "@deepseek-ai/dsh-settings";
|
|
3
2
|
import z from "@deepseek-ai/schemastery";
|
|
4
3
|
//#region lib/types/startup.js
|
|
5
4
|
const name = "tool-subagent-settings";
|
|
@@ -13,7 +12,7 @@ const Config = z.intersect([z.object({
|
|
|
13
12
|
* @param config - namespace, provider, and composition defaults.
|
|
14
13
|
*/
|
|
15
14
|
function apply(ctx, config) {
|
|
16
|
-
const namespace =
|
|
15
|
+
const namespace = config.settingsNamespace;
|
|
17
16
|
const base = settingsFromConfig(config);
|
|
18
17
|
ctx.inject(["settings"], (sctx) => {
|
|
19
18
|
sctx.settings.register(namespace, SUBAGENT_SETTINGS_SCHEMA, {
|
package/package.json
CHANGED
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"version": "0.1.0-rc.9",
|
|
5
|
-
"publishConfig": {
|
|
6
|
-
"access": "public"
|
|
7
|
-
},
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git",
|
|
11
|
-
"directory": "packages/plus/subagent-settings"
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@deepseek-ai/schemastery": ">=3.18.1"
|
|
12
4
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"./package.json": "./package.json"
|
|
5
|
+
"description": "Settings-backed continuous and one-shot subagent delegation with one Web Settings section",
|
|
6
|
+
"devDependencies": {
|
|
7
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
8
|
+
"@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
|
|
9
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.5-rc.2",
|
|
10
|
+
"@deepseek-ai/dsh-client-store": "^0.1.5-rc.2",
|
|
11
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.2",
|
|
12
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2",
|
|
13
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2",
|
|
14
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2",
|
|
15
|
+
"@deepseek-ai/dsh-jobs": "^0.1.5-rc.2",
|
|
16
|
+
"@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
|
|
17
|
+
"@deepseek-ai/dsh-session": "^0.1.5-rc.2",
|
|
18
|
+
"@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
|
|
19
|
+
"@deepseek-ai/dsh-subagent": "^0.1.5-rc.2",
|
|
20
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
|
|
21
|
+
"@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
|
|
22
|
+
"@deepseek-ai/dsh-util-values": "^0.1.5-rc.2",
|
|
23
|
+
"@types/react": "~18.3.1",
|
|
24
|
+
"react": "^18.2.0"
|
|
34
25
|
},
|
|
35
26
|
"dsh": {
|
|
36
27
|
"client": {
|
|
@@ -42,53 +33,56 @@
|
|
|
42
33
|
"platform": "web"
|
|
43
34
|
}
|
|
44
35
|
},
|
|
36
|
+
"exports": {
|
|
37
|
+
".": {
|
|
38
|
+
"default": "./lib/index.js",
|
|
39
|
+
"types": "./lib/types/index.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./client": {
|
|
42
|
+
"default": "./lib/client.js",
|
|
43
|
+
"types": "./lib/types/client/index.d.ts"
|
|
44
|
+
},
|
|
45
|
+
"./package.json": "./package.json",
|
|
46
|
+
"./startup": {
|
|
47
|
+
"default": "./lib/startup.js",
|
|
48
|
+
"types": "./lib/types/startup.d.ts"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
45
51
|
"files": [
|
|
46
52
|
"lib/index.js",
|
|
47
|
-
"lib/invariant.js",
|
|
48
53
|
"lib/client.js",
|
|
49
54
|
"lib/startup.js",
|
|
50
55
|
"lib/types/**/*.d.ts"
|
|
51
56
|
],
|
|
52
57
|
"license": "MIT",
|
|
58
|
+
"main": "lib/index.js",
|
|
59
|
+
"name": "@sparkelf/dsh-plugin-subagent-settings",
|
|
53
60
|
"peerDependencies": {
|
|
54
61
|
"@deepseek-ai/cordis": ">=4.0.1",
|
|
55
|
-
"@deepseek-ai/dsh-agent": ">=0.1.
|
|
56
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.
|
|
58
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-
|
|
63
|
-
"@deepseek-ai/dsh-
|
|
64
|
-
"@deepseek-ai/dsh-
|
|
65
|
-
"@deepseek-ai/dsh-tools": ">=0.1.2-alpha.1"
|
|
62
|
+
"@deepseek-ai/dsh-agent": ">=0.1.5-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.5-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.5-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.5-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-jobs": ">=0.1.5-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-settings": ">=0.1.5-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-subagent": ">=0.1.5-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.5-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-tools": ">=0.1.5-rc.2"
|
|
66
72
|
},
|
|
67
|
-
"
|
|
68
|
-
"
|
|
73
|
+
"publishConfig": {
|
|
74
|
+
"access": "public"
|
|
69
75
|
},
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"@deepseek-ai/dsh-agent": "^0.1.2-alpha.1",
|
|
75
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.1",
|
|
76
|
-
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.1",
|
|
77
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.1",
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.1",
|
|
79
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.1",
|
|
80
|
-
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.1",
|
|
81
|
-
"@deepseek-ai/dsh-jobs": "^0.1.2-alpha.1",
|
|
82
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.1",
|
|
83
|
-
"@deepseek-ai/dsh-session": "^0.1.2-alpha.1",
|
|
84
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.1",
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.1",
|
|
86
|
-
"@deepseek-ai/dsh-subagent": "^0.1.2-alpha.1",
|
|
87
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.1",
|
|
88
|
-
"@deepseek-ai/dsh-tools": "^0.1.2-alpha.1"
|
|
76
|
+
"repository": {
|
|
77
|
+
"directory": "packages/plus/subagent-settings",
|
|
78
|
+
"type": "git",
|
|
79
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git"
|
|
89
80
|
},
|
|
90
81
|
"scripts": {
|
|
91
82
|
"bundle": "tsdown",
|
|
92
83
|
"watch": "tsdown --watch"
|
|
93
|
-
}
|
|
94
|
-
|
|
84
|
+
},
|
|
85
|
+
"type": "module",
|
|
86
|
+
"types": "lib/types/index.d.ts",
|
|
87
|
+
"version": "0.2.0-rc.2"
|
|
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
|