@sparkelf/dsh-plugin-subagent-settings 0.2.0-rc.1 → 0.2.0-rc.10

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.
Files changed (2) hide show
  1. package/lib/client.js +28 -28
  2. 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:/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{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}";
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": "KB3fBa_actions",
23
- "card": "KB3fBa_card",
24
- "control": "KB3fBa_control",
25
- "discard": "KB3fBa_discard",
26
- "editor": "KB3fBa_editor",
27
- "failed": "KB3fBa_failed",
28
- "field": "KB3fBa_field",
29
- "footer": "KB3fBa_footer",
30
- "group": "KB3fBa_group",
31
- "heading": "KB3fBa_heading",
32
- "intro": "KB3fBa_intro",
33
- "modeCopy": "KB3fBa_modeCopy",
34
- "modeHeader": "KB3fBa_modeHeader",
35
- "modeTab": "KB3fBa_modeTab",
36
- "modeTabs": "KB3fBa_modeTabs",
37
- "panel": "KB3fBa_panel",
38
- "radioRow": "KB3fBa_radioRow",
39
- "readOnly": "KB3fBa_readOnly",
40
- "save": "KB3fBa_save",
41
- "section": "KB3fBa_section",
42
- "select": "KB3fBa_select",
43
- "switchInput": "KB3fBa_switchInput",
44
- "switchLabel": "KB3fBa_switchLabel",
45
- "switchTrack": "KB3fBa_switchTrack",
46
- "textarea": "KB3fBa_textarea",
47
- "unsavedDot": "KB3fBa_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.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",
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": ">=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"
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.1"
87
+ "version": "0.2.0-rc.10"
88
88
  }