dsh-edge 0.1.1 → 0.1.3

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 (60) hide show
  1. package/README.i18n.yaml +2 -2
  2. package/README.md +4 -4
  3. package/README.zh.md +4 -4
  4. package/THIRD_PARTY_NOTICES.md +2 -2
  5. package/dist/index.html +1 -1
  6. package/dist/plugins/@deepseek-ai/dsh-client-locale/client.js +4 -4
  7. package/dist/plugins/@deepseek-ai/dsh-client-ui-agent-preset/client.js +35 -35
  8. package/dist/plugins/@deepseek-ai/dsh-client-ui-commands/client.js +8 -8
  9. package/dist/plugins/@deepseek-ai/dsh-client-ui-conversation/client.js +164 -164
  10. package/dist/plugins/@deepseek-ai/dsh-client-ui-deliverables/client.js +6 -6
  11. package/dist/plugins/@deepseek-ai/dsh-client-ui-input-trigger/client.js +7 -7
  12. package/dist/plugins/@deepseek-ai/dsh-client-ui-jobs/client.js +9 -9
  13. package/dist/plugins/@deepseek-ai/dsh-client-ui-layout/client.js +4 -4
  14. package/dist/plugins/@deepseek-ai/dsh-client-ui-model-selection/client.js +20 -20
  15. package/dist/plugins/@deepseek-ai/dsh-client-ui-permission-presets/client.js +3 -3
  16. package/dist/plugins/@deepseek-ai/dsh-client-ui-settings-general/client.js +15 -15
  17. package/dist/plugins/@deepseek-ai/dsh-client-ui-sidebar/client.js +13 -13
  18. package/dist/plugins/@deepseek-ai/dsh-client-ui-skill/client.js +11 -11
  19. package/dist/plugins/@deepseek-ai/dsh-client-ui-subagent/client.js +17 -17
  20. package/dist/plugins/@deepseek-ai/dsh-client-ui-theme/client.js +4 -4
  21. package/dist/plugins/@deepseek-ai/dsh-client-ui-tool/client.js +37 -37
  22. package/dist/plugins/@deepseek-ai/dsh-client-ui-trajectory/client.js +142 -142
  23. package/dist/plugins/@deepseek-ai/dsh-client-ui-user-questions/client.js +26 -26
  24. package/dist/plugins/@deepseek-ai/dsh-client-ui-workflow-run/client.js +14 -14
  25. package/dist/plugins/@deepseek-ai/dsh-client-ui-workspace/client.js +54 -54
  26. package/dist/plugins/dsh-edge-client-ui/client.js +5 -5
  27. package/package.json +18 -17
  28. package/scripts/bundle.mjs +41 -8
  29. package/scripts/cli.d.mts +1 -0
  30. package/scripts/cli.mjs +37 -6
  31. package/scripts/install.d.mts +6 -6
  32. package/scripts/install.mjs +36 -19
  33. package/scripts/smoke-installed.mjs +47 -0
  34. package/scripts/verify-packed.mjs +11 -2
  35. package/scripts/wrangler-config.d.mts +19 -2
  36. package/scripts/wrangler-config.mjs +68 -27
  37. package/worker/direct/index.js +2347 -0
  38. package/worker/isolated/index.js +44491 -0
  39. package/src/agent.ts +0 -119
  40. package/src/auth.ts +0 -352
  41. package/src/deepseek.ts +0 -231
  42. package/src/deployment.ts +0 -147
  43. package/src/direct-shell-core-empty.ts +0 -10
  44. package/src/direct-shell-protocol.ts +0 -5
  45. package/src/direct-shell.ts +0 -341
  46. package/src/do-session-persistence.ts +0 -1064
  47. package/src/edge-api.ts +0 -796
  48. package/src/edge-credentials.ts +0 -56
  49. package/src/edge-remotes.ts +0 -41
  50. package/src/edge-workspace-store.ts +0 -339
  51. package/src/http.ts +0 -212
  52. package/src/index.ts +0 -196
  53. package/src/instance.ts +0 -1007
  54. package/src/isolated-direct-shell-unavailable.ts +0 -11
  55. package/src/protocol.ts +0 -39
  56. package/src/release.ts +0 -9
  57. package/src/session-store.ts +0 -1110
  58. package/src/sse.ts +0 -86
  59. package/src/web-search.ts +0 -38
  60. package/src/workspace.ts +0 -270
@@ -241,31 +241,31 @@ window.__ModuleLoader__.load({
241
241
  document.head.appendChild(tag);
242
242
  }
243
243
  var ModelSelect_module_css_default = {
244
- "description": "_0wALNq_description",
245
- "cellValue": "_0wALNq_cellValue",
246
- "cellChevron": "_0wALNq_cellChevron",
247
244
  "root": "_0wALNq_root",
248
- "triggerLabel": "_0wALNq_triggerLabel",
249
- "triggerEffort": "_0wALNq_triggerEffort",
250
- "menu": "_0wALNq_menu",
251
- "chevron": "_0wALNq_chevron",
252
- "chevronOpen": "_0wALNq_chevronOpen",
253
- "trigger": "_0wALNq_trigger",
245
+ "groupTitle": "_0wALNq_groupTitle",
246
+ "optionCopy": "_0wALNq_optionCopy",
247
+ "warning": "_0wALNq_warning",
248
+ "status": "_0wALNq_status",
254
249
  "empty": "_0wALNq_empty",
255
- "cellLabel": "_0wALNq_cellLabel",
250
+ "triggerEffort": "_0wALNq_triggerEffort",
251
+ "retry": "_0wALNq_retry",
252
+ "groups": "_0wALNq_groups",
253
+ "modelName": "_0wALNq_modelName",
254
+ "check": "_0wALNq_check",
255
+ "option": "_0wALNq_option",
256
256
  "cell": "_0wALNq_cell",
257
- "group": "_0wALNq_group",
257
+ "cellLabel": "_0wALNq_cellLabel",
258
+ "cellChevron": "_0wALNq_cellChevron",
259
+ "triggerLabel": "_0wALNq_triggerLabel",
258
260
  "selected": "_0wALNq_selected",
261
+ "chevron": "_0wALNq_chevron",
262
+ "description": "_0wALNq_description",
263
+ "group": "_0wALNq_group",
264
+ "menu": "_0wALNq_menu",
265
+ "trigger": "_0wALNq_trigger",
259
266
  "error": "_0wALNq_error",
260
- "check": "_0wALNq_check",
261
- "warning": "_0wALNq_warning",
262
- "retry": "_0wALNq_retry",
263
- "option": "_0wALNq_option",
264
- "groups": "_0wALNq_groups",
265
- "status": "_0wALNq_status",
266
- "groupTitle": "_0wALNq_groupTitle",
267
- "optionCopy": "_0wALNq_optionCopy",
268
- "modelName": "_0wALNq_modelName"
267
+ "chevronOpen": "_0wALNq_chevronOpen",
268
+ "cellValue": "_0wALNq_cellValue"
269
269
  };
270
270
  //#endregion
271
271
  //#region lib/types/client/ModelSelect.js
@@ -42,12 +42,12 @@ window.__ModuleLoader__.load({
42
42
  document.head.appendChild(tag);
43
43
  }
44
44
  var PermissionRow_module_css_default = {
45
- "row": "yvWMbq_row",
46
45
  "title": "yvWMbq_title",
47
- "rowText": "yvWMbq_rowText",
48
46
  "desc": "yvWMbq_desc",
47
+ "chevron": "yvWMbq_chevron",
49
48
  "selector": "yvWMbq_selector",
50
- "chevron": "yvWMbq_chevron"
49
+ "row": "yvWMbq_row",
50
+ "rowText": "yvWMbq_rowText"
51
51
  };
52
52
  //#endregion
53
53
  //#region lib/types/client/PermissionRow.js
@@ -36,25 +36,25 @@ window.__ModuleLoader__.load({
36
36
  document.head.appendChild(tag);
37
37
  }
38
38
  var SettingsRoot_module_css_default = {
39
+ "navList": "fuNmuG_navList",
40
+ "actions": "fuNmuG_actions",
39
41
  "header": "fuNmuG_header",
40
42
  "trigger": "fuNmuG_trigger",
41
- "actions": "fuNmuG_actions",
42
- "close": "fuNmuG_close",
43
- "rail": "fuNmuG_rail",
44
- "content": "fuNmuG_content",
45
- "nav": "fuNmuG_nav",
46
- "triggerLabel": "fuNmuG_triggerLabel",
47
- "navTitle": "fuNmuG_navTitle",
48
- "overlay": "fuNmuG_overlay",
43
+ "active": "fuNmuG_active",
49
44
  "navCell": "fuNmuG_navCell",
50
- "navList": "fuNmuG_navList",
45
+ "navIcon": "fuNmuG_navIcon",
51
46
  "hiddenLabel": "fuNmuG_hiddenLabel",
47
+ "close": "fuNmuG_close",
48
+ "overlay": "fuNmuG_overlay",
49
+ "content": "fuNmuG_content",
52
50
  "navLabel": "fuNmuG_navLabel",
53
- "mask": "fuNmuG_mask",
51
+ "triggerLabel": "fuNmuG_triggerLabel",
54
52
  "panel": "fuNmuG_panel",
55
- "active": "fuNmuG_active",
56
- "navIcon": "fuNmuG_navIcon",
57
- "options": "fuNmuG_options"
53
+ "options": "fuNmuG_options",
54
+ "rail": "fuNmuG_rail",
55
+ "nav": "fuNmuG_nav",
56
+ "navTitle": "fuNmuG_navTitle",
57
+ "mask": "fuNmuG_mask"
58
58
  };
59
59
  //#endregion
60
60
  //#region lib/types/client/SettingsRoot.js
@@ -311,8 +311,8 @@ window.__ModuleLoader__.load({
311
311
  document.head.appendChild(tag);
312
312
  }
313
313
  var SettingsDocumentAction_module_css_default = {
314
- "action": "Gk4rnq_action",
315
- "error": "Gk4rnq_error"
314
+ "error": "Gk4rnq_error",
315
+ "action": "Gk4rnq_action"
316
316
  };
317
317
  //#endregion
318
318
  //#region lib/types/client/SettingsDocumentAction.js
@@ -33,27 +33,27 @@ window.__ModuleLoader__.load({
33
33
  document.head.appendChild(tag);
34
34
  }
35
35
  var SidebarRoot_module_css_default = {
36
- "logoRow": "acf1pG_logoRow",
37
- "toggle": "acf1pG_toggle",
36
+ "regionArea": "acf1pG_regionArea",
37
+ "footArea": "acf1pG_footArea",
38
+ "footerActions": "acf1pG_footerActions",
38
39
  "panelIcon": "acf1pG_panelIcon",
39
- "newSessionLabel": "acf1pG_newSessionLabel",
40
- "rail-in": "acf1pG_rail-in",
40
+ "settingsArea": "acf1pG_settingsArea",
41
41
  "wide": "acf1pG_wide",
42
- "quietBars": "acf1pG_quietBars",
42
+ "railFish": "acf1pG_railFish",
43
43
  "railIn": "acf1pG_railIn",
44
- "newSession": "acf1pG_newSession",
45
- "footerActions": "acf1pG_footerActions",
44
+ "toggle": "acf1pG_toggle",
46
45
  "brand": "acf1pG_brand",
47
- "footArea": "acf1pG_footArea",
48
- "railFish": "acf1pG_railFish",
49
- "regionArea": "acf1pG_regionArea",
50
- "fading": "acf1pG_fading",
51
46
  "collapsed": "acf1pG_collapsed",
52
- "rail-fade-in": "acf1pG_rail-fade-in",
53
47
  "wide-in": "acf1pG_wide-in",
54
48
  "root": "acf1pG_root",
55
49
  "iconButton": "acf1pG_iconButton",
56
- "settingsArea": "acf1pG_settingsArea"
50
+ "rail-in": "acf1pG_rail-in",
51
+ "fading": "acf1pG_fading",
52
+ "rail-fade-in": "acf1pG_rail-fade-in",
53
+ "newSessionLabel": "acf1pG_newSessionLabel",
54
+ "quietBars": "acf1pG_quietBars",
55
+ "newSession": "acf1pG_newSession",
56
+ "logoRow": "acf1pG_logoRow"
57
57
  };
58
58
  //#endregion
59
59
  //#region lib/types/client/SidebarRoot.js
@@ -18,23 +18,23 @@ window.__ModuleLoader__.load({
18
18
  document.head.appendChild(tag);
19
19
  }
20
20
  var SkillRow_module_css_default = {
21
- "separator": "HkYPmq_separator",
22
- "dsh-skill-row-sweep": "HkYPmq_dsh-skill-row-sweep",
23
21
  "row": "HkYPmq_row",
24
- "iconIdle": "HkYPmq_iconIdle",
25
- "instructionsHeader": "HkYPmq_instructionsHeader",
26
- "title": "HkYPmq_title",
22
+ "leading": "HkYPmq_leading",
27
23
  "chevron": "HkYPmq_chevron",
28
- "inspectButton": "HkYPmq_inspectButton",
24
+ "chevronHover": "HkYPmq_chevronHover",
29
25
  "summary": "HkYPmq_summary",
30
- "errorSummary": "HkYPmq_errorSummary",
26
+ "separator": "HkYPmq_separator",
31
27
  "visuallyHidden": "HkYPmq_visuallyHidden",
32
- "chevronHover": "HkYPmq_chevronHover",
33
- "bodyWrap": "HkYPmq_bodyWrap",
34
- "leading": "HkYPmq_leading",
28
+ "instructionsHeader": "HkYPmq_instructionsHeader",
29
+ "inspectButton": "HkYPmq_inspectButton",
35
30
  "instructionsCard": "HkYPmq_instructionsCard",
31
+ "iconIdle": "HkYPmq_iconIdle",
32
+ "title": "HkYPmq_title",
33
+ "dsh-skill-row-sweep": "HkYPmq_dsh-skill-row-sweep",
36
34
  "card": "HkYPmq_card",
37
- "instructions": "HkYPmq_instructions"
35
+ "bodyWrap": "HkYPmq_bodyWrap",
36
+ "instructions": "HkYPmq_instructions",
37
+ "errorSummary": "HkYPmq_errorSummary"
38
38
  };
39
39
  //#endregion
40
40
  //#region lib/types/client/SkillRow.js
@@ -19,30 +19,30 @@ window.__ModuleLoader__.load({
19
19
  document.head.appendChild(tag);
20
20
  }
21
21
  var SubagentCatalogAction_module_css_default = {
22
- "content": "sL5Raq_content",
23
- "metrics": "sL5Raq_metrics",
24
- "activitySlot": "sL5Raq_activitySlot",
25
22
  "trigger": "sL5Raq_trigger",
26
- "summary": "sL5Raq_summary",
27
- "disclosureSpace": "sL5Raq_disclosureSpace",
23
+ "metricToken": "sL5Raq_metricToken",
24
+ "metricDuration": "sL5Raq_metricDuration",
28
25
  "node": "sL5Raq_node",
29
- "count": "sL5Raq_count",
30
- "triggerOpen": "sL5Raq_triggerOpen",
26
+ "row": "sL5Raq_row",
31
27
  "clickarea": "sL5Raq_clickarea",
32
- "disclosure": "sL5Raq_disclosure",
33
28
  "disclosureOpen": "sL5Raq_disclosureOpen",
34
- "disabled": "sL5Raq_disabled",
35
- "metricToken": "sL5Raq_metricToken",
36
- "loadingRow": "sL5Raq_loadingRow",
37
- "metricDuration": "sL5Raq_metricDuration",
29
+ "menu": "sL5Raq_menu",
38
30
  "notice": "sL5Raq_notice",
31
+ "activitySlot": "sL5Raq_activitySlot",
32
+ "content": "sL5Raq_content",
33
+ "label": "sL5Raq_label",
34
+ "summary": "sL5Raq_summary",
35
+ "disclosure": "sL5Raq_disclosure",
36
+ "metrics": "sL5Raq_metrics",
37
+ "disclosureSpace": "sL5Raq_disclosureSpace",
38
+ "error": "sL5Raq_error",
39
+ "loadingRow": "sL5Raq_loadingRow",
39
40
  "refresh": "sL5Raq_refresh",
41
+ "count": "sL5Raq_count",
42
+ "disabled": "sL5Raq_disabled",
43
+ "triggerOpen": "sL5Raq_triggerOpen",
40
44
  "children": "sL5Raq_children",
41
- "root": "sL5Raq_root",
42
- "row": "sL5Raq_row",
43
- "error": "sL5Raq_error",
44
- "menu": "sL5Raq_menu",
45
- "label": "sL5Raq_label"
45
+ "root": "sL5Raq_root"
46
46
  };
47
47
  //#endregion
48
48
  //#region lib/types/client/SubagentCatalogAction.js
@@ -33,11 +33,11 @@ window.__ModuleLoader__.load({
33
33
  document.head.appendChild(tag);
34
34
  }
35
35
  var AppearanceRow_module_css_default = {
36
- "group": "_6e0aAG_group",
37
- "themeCube": "_6e0aAG_themeCube",
38
- "selected": "_6e0aAG_selected",
39
36
  "cubeRow": "_6e0aAG_cubeRow",
40
- "title": "_6e0aAG_title"
37
+ "themeCube": "_6e0aAG_themeCube",
38
+ "group": "_6e0aAG_group",
39
+ "title": "_6e0aAG_title",
40
+ "selected": "_6e0aAG_selected"
41
41
  };
42
42
  //#endregion
43
43
  //#region lib/types/client/AppearanceRow.js
@@ -605,33 +605,33 @@ window.__ModuleLoader__.load({
605
605
  document.head.appendChild(tag);
606
606
  }
607
607
  var ToolRow_module_css_default = {
608
- "row": "_75nBOG_row",
609
- "leading": "_75nBOG_leading",
610
- "ioText": "_75nBOG_ioText",
608
+ "summary": "_75nBOG_summary",
609
+ "readBody": "_75nBOG_readBody",
610
+ "webBody": "_75nBOG_webBody",
611
611
  "searchBody": "_75nBOG_searchBody",
612
- "summarySuffix": "_75nBOG_summarySuffix",
613
612
  "searchRecovery": "_75nBOG_searchRecovery",
614
- "fileLink": "_75nBOG_fileLink",
615
- "terminalBody": "_75nBOG_terminalBody",
616
613
  "visuallyHidden": "_75nBOG_visuallyHidden",
617
- "ioLabel": "_75nBOG_ioLabel",
614
+ "bodyWrap": "_75nBOG_bodyWrap",
615
+ "fileLink": "_75nBOG_fileLink",
616
+ "inspectButton": "_75nBOG_inspectButton",
617
+ "ioText": "_75nBOG_ioText",
618
+ "sep": "_75nBOG_sep",
619
+ "ioDivider": "_75nBOG_ioDivider",
620
+ "codeBody": "_75nBOG_codeBody",
621
+ "root": "_75nBOG_root",
622
+ "leading": "_75nBOG_leading",
623
+ "ioSection": "_75nBOG_ioSection",
624
+ "row": "_75nBOG_row",
618
625
  "title": "_75nBOG_title",
626
+ "ioCard": "_75nBOG_ioCard",
627
+ "ioLabel": "_75nBOG_ioLabel",
628
+ "terminalBody": "_75nBOG_terminalBody",
629
+ "chevron": "_75nBOG_chevron",
630
+ "diffBody": "_75nBOG_diffBody",
619
631
  "bodyScroll": "_75nBOG_bodyScroll",
620
- "ioSection": "_75nBOG_ioSection",
621
632
  "errorSummary": "_75nBOG_errorSummary",
622
- "readBody": "_75nBOG_readBody",
623
633
  "dsh-tool-row-sweep": "_75nBOG_dsh-tool-row-sweep",
624
- "sep": "_75nBOG_sep",
625
- "inspectButton": "_75nBOG_inspectButton",
626
- "chevron": "_75nBOG_chevron",
627
- "bodyWrap": "_75nBOG_bodyWrap",
628
- "ioCard": "_75nBOG_ioCard",
629
- "root": "_75nBOG_root",
630
- "diffBody": "_75nBOG_diffBody",
631
- "webBody": "_75nBOG_webBody",
632
- "ioDivider": "_75nBOG_ioDivider",
633
- "summary": "_75nBOG_summary",
634
- "codeBody": "_75nBOG_codeBody"
634
+ "summarySuffix": "_75nBOG_summarySuffix"
635
635
  };
636
636
  //#endregion
637
637
  //#region lib/types/client/tool/components/ToolRow.js
@@ -949,13 +949,13 @@ window.__ModuleLoader__.load({
949
949
  document.head.appendChild(tag);
950
950
  }
951
951
  var ToolDetails_module_css_default = {
952
- "web": "eeRCSG_web",
953
- "empty": "eeRCSG_empty",
954
952
  "read": "eeRCSG_read",
955
- "cardBody": "eeRCSG_cardBody",
953
+ "web": "eeRCSG_web",
956
954
  "description": "eeRCSG_description",
955
+ "empty": "eeRCSG_empty",
956
+ "recovery": "eeRCSG_recovery",
957
957
  "code": "eeRCSG_code",
958
- "recovery": "eeRCSG_recovery"
958
+ "cardBody": "eeRCSG_cardBody"
959
959
  };
960
960
  //#endregion
961
961
  //#region lib/types/client/tool/ToolDetails.js
@@ -1099,26 +1099,26 @@ window.__ModuleLoader__.load({
1099
1099
  document.head.appendChild(tag);
1100
1100
  }
1101
1101
  var bash_sample_module_css_default = {
1102
+ "ioDivider": "QgsauW_ioDivider",
1103
+ "inspectButton": "QgsauW_inspectButton",
1104
+ "ioCard": "QgsauW_ioCard",
1105
+ "chevron": "QgsauW_chevron",
1106
+ "ioSection": "QgsauW_ioSection",
1107
+ "dsh-bash-row-sweep": "QgsauW_dsh-bash-row-sweep",
1108
+ "errorSummary": "QgsauW_errorSummary",
1109
+ "sep": "QgsauW_sep",
1102
1110
  "root": "QgsauW_root",
1111
+ "chevronHover": "QgsauW_chevronHover",
1103
1112
  "ioLabel": "QgsauW_ioLabel",
1104
- "card": "QgsauW_card",
1105
- "summary": "QgsauW_summary",
1106
- "chevron": "QgsauW_chevron",
1107
1113
  "title": "QgsauW_title",
1108
- "errorSummary": "QgsauW_errorSummary",
1109
- "dsh-bash-row-sweep": "QgsauW_dsh-bash-row-sweep",
1110
1114
  "terminal": "QgsauW_terminal",
1111
- "ioText": "QgsauW_ioText",
1115
+ "iconIdle": "QgsauW_iconIdle",
1112
1116
  "bodyWrap": "QgsauW_bodyWrap",
1113
- "sep": "QgsauW_sep",
1114
- "inspectButton": "QgsauW_inspectButton",
1115
1117
  "visuallyHidden": "QgsauW_visuallyHidden",
1118
+ "card": "QgsauW_card",
1116
1119
  "leading": "QgsauW_leading",
1117
- "ioDivider": "QgsauW_ioDivider",
1118
- "chevronHover": "QgsauW_chevronHover",
1119
- "iconIdle": "QgsauW_iconIdle",
1120
- "ioCard": "QgsauW_ioCard",
1121
- "ioSection": "QgsauW_ioSection"
1120
+ "ioText": "QgsauW_ioText",
1121
+ "summary": "QgsauW_summary"
1122
1122
  };
1123
1123
  //#endregion
1124
1124
  //#region lib/types/client/tool/toolviews/bash-sample.js