@sparkelf/dsh-plugin-subagent-settings 0.2.0-rc.3 → 0.2.0-rc.5
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/lib/client.js +28 -28
- package/package.json +26 -26
package/lib/client.js
CHANGED
|
@@ -8,8 +8,8 @@ window.__ModuleLoader__.load({
|
|
|
8
8
|
let react = require("react");
|
|
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
|
-
//#region \0dsh-css:/
|
|
12
|
-
const css = ".
|
|
11
|
+
//#region \0dsh-css:/root/projects/deepseek-harness-plus/packages/plus/subagent-settings/src/client/SubagentCard.module.css.mjs
|
|
12
|
+
const css = ".G7o8qW_section{box-sizing:border-box;width:min(100%,680px);padding:0 24px 28px 0}.G7o8qW_heading{color:var(--dsw-alias-label-primary);margin:0;font-size:20px;font-weight:600;line-height:28px}.G7o8qW_intro{color:var(--dsw-alias-label-secondary);margin:6px 0 18px;font-size:14px;line-height:22px}.G7o8qW_card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-1);border-radius:8px;overflow:hidden}.G7o8qW_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}.G7o8qW_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}.G7o8qW_modeTab:hover{background:var(--dsw-alias-interactive-bg-hover)}.G7o8qW_modeTab[data-active=true]{background:var(--dsw-alias-bg-layer-1);color:var(--dsw-alias-label-primary)}.G7o8qW_modeTab:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px}.G7o8qW_unsavedDot{corner-shape:round;background:var(--dsw-alias-brand-primary);border-radius:50%;flex:none;width:6px;height:6px}.G7o8qW_panel{padding:18px}.G7o8qW_modeHeader{border-bottom:1px solid var(--dsw-alias-border-l2);justify-content:space-between;align-items:center;gap:20px;padding-bottom:16px;display:flex}.G7o8qW_modeCopy{min-width:0}.G7o8qW_modeCopy h3{color:var(--dsw-alias-label-primary);margin:0;font-size:15px;font-weight:600;line-height:22px}.G7o8qW_modeCopy p{color:var(--dsw-alias-label-tertiary);margin:3px 0 0;font-size:13px;line-height:20px}.G7o8qW_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}.G7o8qW_switchInput{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.G7o8qW_switchInput:disabled{cursor:not-allowed}.G7o8qW_switchTrack{background:var(--dsw-alias-border-l1);border-radius:10px;width:36px;height:20px;transition:background-color .12s;position:relative}.G7o8qW_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}.G7o8qW_switchInput:checked+.G7o8qW_switchTrack{background:var(--dsw-alias-brand-primary)}.G7o8qW_switchInput:checked+.G7o8qW_switchTrack>span{transform:translate(16px)}.G7o8qW_switchInput:focus-visible+.G7o8qW_switchTrack{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:2px}.G7o8qW_switchInput:disabled+.G7o8qW_switchTrack{opacity:.48}.G7o8qW_switchLabel:has(.G7o8qW_switchInput:disabled){cursor:not-allowed;color:var(--dsw-alias-label-tertiary)}.G7o8qW_readOnly,.G7o8qW_failed{margin:12px 0 0;font-size:13px;line-height:20px}.G7o8qW_readOnly{color:var(--dsw-alias-label-tertiary)}.G7o8qW_failed{color:var(--dsw-alias-label-error);flex:1}.G7o8qW_editor{gap:18px;padding-top:18px;display:grid}.G7o8qW_group{gap:8px;display:grid}.G7o8qW_group h3{color:var(--dsw-alias-label-primary);margin:0;font-size:14px;font-weight:500;line-height:22px}.G7o8qW_radioRow{min-height:24px;color:var(--dsw-alias-label-secondary);align-items:center;gap:8px;font-size:14px;line-height:22px;display:flex}.G7o8qW_radioRow input{accent-color:var(--dsw-alias-brand-primary);flex:none;margin:0}.G7o8qW_field{color:var(--dsw-alias-label-secondary);gap:6px;font-size:13px;line-height:20px;display:grid}.G7o8qW_control{box-sizing:border-box;width:100%;display:flex!important}.G7o8qW_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}.G7o8qW_textarea:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.G7o8qW_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}.G7o8qW_select:hover:not(:disabled){border-color:var(--dsw-alias-label-dimmed)}.G7o8qW_select:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:1px}.G7o8qW_select:disabled{cursor:not-allowed;opacity:.48}.G7o8qW_actions{justify-content:flex-start;padding-top:2px;display:flex}.G7o8qW_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}.G7o8qW_discard,.G7o8qW_save{cursor:pointer;min-height:34px;font:inherit;border-radius:8px;padding:5px 14px;font-size:14px;line-height:22px}.G7o8qW_discard{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);background:0 0}.G7o8qW_save{background:var(--dsw-alias-brand-primary);color:var(--dsw-alias-bg-layer-3);border:1px solid #0000}.G7o8qW_discard:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.G7o8qW_save:hover:not(:disabled){background:var(--dsw-alias-button-primary-hover)}.G7o8qW_discard:disabled,.G7o8qW_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");
|
|
@@ -19,32 +19,32 @@ window.__ModuleLoader__.load({
|
|
|
19
19
|
document.head.appendChild(tag);
|
|
20
20
|
}
|
|
21
21
|
var SubagentCard_module_css_default = {
|
|
22
|
-
"actions": "
|
|
23
|
-
"card": "
|
|
24
|
-
"control": "
|
|
25
|
-
"discard": "
|
|
26
|
-
"editor": "
|
|
27
|
-
"failed": "
|
|
28
|
-
"field": "
|
|
29
|
-
"footer": "
|
|
30
|
-
"group": "
|
|
31
|
-
"heading": "
|
|
32
|
-
"intro": "
|
|
33
|
-
"modeCopy": "
|
|
34
|
-
"modeHeader": "
|
|
35
|
-
"modeTab": "
|
|
36
|
-
"modeTabs": "
|
|
37
|
-
"panel": "
|
|
38
|
-
"radioRow": "
|
|
39
|
-
"readOnly": "
|
|
40
|
-
"save": "
|
|
41
|
-
"section": "
|
|
42
|
-
"select": "
|
|
43
|
-
"switchInput": "
|
|
44
|
-
"switchLabel": "
|
|
45
|
-
"switchTrack": "
|
|
46
|
-
"textarea": "
|
|
47
|
-
"unsavedDot": "
|
|
22
|
+
"actions": "G7o8qW_actions",
|
|
23
|
+
"card": "G7o8qW_card",
|
|
24
|
+
"control": "G7o8qW_control",
|
|
25
|
+
"discard": "G7o8qW_discard",
|
|
26
|
+
"editor": "G7o8qW_editor",
|
|
27
|
+
"failed": "G7o8qW_failed",
|
|
28
|
+
"field": "G7o8qW_field",
|
|
29
|
+
"footer": "G7o8qW_footer",
|
|
30
|
+
"group": "G7o8qW_group",
|
|
31
|
+
"heading": "G7o8qW_heading",
|
|
32
|
+
"intro": "G7o8qW_intro",
|
|
33
|
+
"modeCopy": "G7o8qW_modeCopy",
|
|
34
|
+
"modeHeader": "G7o8qW_modeHeader",
|
|
35
|
+
"modeTab": "G7o8qW_modeTab",
|
|
36
|
+
"modeTabs": "G7o8qW_modeTabs",
|
|
37
|
+
"panel": "G7o8qW_panel",
|
|
38
|
+
"radioRow": "G7o8qW_radioRow",
|
|
39
|
+
"readOnly": "G7o8qW_readOnly",
|
|
40
|
+
"save": "G7o8qW_save",
|
|
41
|
+
"section": "G7o8qW_section",
|
|
42
|
+
"select": "G7o8qW_select",
|
|
43
|
+
"switchInput": "G7o8qW_switchInput",
|
|
44
|
+
"switchLabel": "G7o8qW_switchLabel",
|
|
45
|
+
"switchTrack": "G7o8qW_switchTrack",
|
|
46
|
+
"textarea": "G7o8qW_textarea",
|
|
47
|
+
"unsavedDot": "G7o8qW_unsavedDot"
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
|
50
50
|
//#region lib/types/client/SubagentCard.js
|
package/package.json
CHANGED
|
@@ -5,21 +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-jobs": "^0.1.
|
|
16
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
17
|
-
"@deepseek-ai/dsh-session": "^0.1.
|
|
18
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
19
|
-
"@deepseek-ai/dsh-subagent": "^0.1.
|
|
20
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.
|
|
21
|
-
"@deepseek-ai/dsh-tools": "^0.1.
|
|
22
|
-
"@deepseek-ai/dsh-util-values": "^0.1.
|
|
8
|
+
"@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
|
|
9
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.1",
|
|
10
|
+
"@deepseek-ai/dsh-client-store": "^0.1.6-alpha.1",
|
|
11
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.6-alpha.1",
|
|
12
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.1",
|
|
13
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.6-alpha.1",
|
|
14
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.6-alpha.1",
|
|
15
|
+
"@deepseek-ai/dsh-jobs": "^0.1.6-alpha.1",
|
|
16
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
|
|
17
|
+
"@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
|
|
18
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.1",
|
|
19
|
+
"@deepseek-ai/dsh-subagent": "^0.1.6-alpha.1",
|
|
20
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.1",
|
|
21
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.1",
|
|
22
|
+
"@deepseek-ai/dsh-util-values": "^0.1.6-alpha.1",
|
|
23
23
|
"@types/react": "~18.3.1",
|
|
24
24
|
"react": "^18.2.0"
|
|
25
25
|
},
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
"name": "@sparkelf/dsh-plugin-subagent-settings",
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@deepseek-ai/cordis": ">=4.0.1",
|
|
62
|
-
"@deepseek-ai/dsh-agent": "
|
|
63
|
-
"@deepseek-ai/dsh-client-locale": "
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-renderer": "
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-settings": "
|
|
66
|
-
"@deepseek-ai/dsh-jobs": "
|
|
67
|
-
"@deepseek-ai/dsh-llm": "
|
|
68
|
-
"@deepseek-ai/dsh-settings": "
|
|
69
|
-
"@deepseek-ai/dsh-subagent": "
|
|
70
|
-
"@deepseek-ai/dsh-system-prompt": "
|
|
71
|
-
"@deepseek-ai/dsh-tools": "
|
|
62
|
+
"@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
|
|
63
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.6-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.6-alpha.1",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.6-alpha.1",
|
|
66
|
+
"@deepseek-ai/dsh-jobs": "^0.1.6-alpha.1",
|
|
67
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
|
|
68
|
+
"@deepseek-ai/dsh-settings": "^0.1.6-alpha.1",
|
|
69
|
+
"@deepseek-ai/dsh-subagent": "^0.1.6-alpha.1",
|
|
70
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.1",
|
|
71
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.1"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
},
|
|
85
85
|
"type": "module",
|
|
86
86
|
"types": "lib/types/index.d.ts",
|
|
87
|
-
"version": "0.2.0-rc.
|
|
87
|
+
"version": "0.2.0-rc.5"
|
|
88
88
|
}
|