@jcy2387/dsh-conversation-ui 0.1.6-alpha.2 → 0.1.7-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.en.md +4 -2
- package/README.md +4 -2
- package/icon.svg +6 -0
- package/lib/client.js +87 -86
- package/lib/client.js.map +1 -1
- package/lib/index.js +82 -14
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +59 -44
- package/src/channel-bridge.ts +1 -1
- package/src/client/AnimatedDisclosure.tsx +3 -3
- package/src/client/CodexTurnProcessNodeView.tsx +3 -3
- package/src/client/ConversationCard.tsx +2 -2
- package/src/client/DeliverablesCard.tsx +7 -7
- package/src/client/ToolActivityGroup.tsx +3 -3
- package/src/client/TranscriptViewBridge.tsx +1 -1
- package/src/client/TypewriterToolNodeView.tsx +25 -25
- package/src/client/turnElapsed.ts +2 -2
- package/src/legacy-settings.ts +61 -0
- package/src/plugin.ts +23 -16
package/README.en.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @jcy2387/dsh-conversation-ui
|
|
2
2
|
|
|
3
|
-
This release targets Harness `0.1.
|
|
3
|
+
This release targets Harness `0.1.7-rc.2`. The deliverables card uses an independent list entry alongside native file previews, change review, and other plugins’ Turn-tail contributions. Settings appear on the Suite or standalone bundle page. Harness `0.1.5` users should keep plugin version `0.1.5-rc.2`.
|
|
4
4
|
|
|
5
5
|
[](https://github.com/DamonBao/dsh-codex-suite/actions/workflows/ci.yml)
|
|
6
6
|
[](LICENSE)
|
|
@@ -53,7 +53,7 @@ A Codex-style conversation UI enhancement plugin for DeepSeek Harness (DSH): the
|
|
|
53
53
|
Published package:
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
|
-
dsh plugin --profile web add @jcy2387/dsh-conversation-ui@0.1.
|
|
56
|
+
dsh plugin --profile web add @jcy2387/dsh-conversation-ui@0.1.7-rc.2
|
|
57
57
|
dsh web
|
|
58
58
|
```
|
|
59
59
|
|
|
@@ -122,3 +122,5 @@ Tests run on vitest + Testing Library, covering stream smoothing, native scroll
|
|
|
122
122
|
## License
|
|
123
123
|
|
|
124
124
|
[MIT](LICENSE) © jcy2387
|
|
125
|
+
|
|
126
|
+
This release targets DSH `0.1.7-rc.2`. It imports `conversation-ui.thinkAutoExpand` from `settings.yaml` or `settings.yaml.imported` into the active profile’s `cordis.patch.yml`, recording a marker after success and retaining the source after failure. The plugin’s compatibility import fills only missing values. Exported `locale/en.json` and `locale/zh.json` localize the name and description in DSH.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @jcy2387/dsh-conversation-ui
|
|
2
2
|
|
|
3
|
-
本版本面向 Harness `0.1.
|
|
3
|
+
本版本面向 Harness `0.1.7-rc.2`。产物卡片使用新版列表插槽中的独立条目,与原生文件预览、变更审阅及其他插件的回合尾部内容共存;插件设置位于 Suite 或独立插件的配置页。`0.1.5` 用户应继续使用插件 `0.1.5-rc.2`。
|
|
4
4
|
|
|
5
5
|
[](https://github.com/DamonBao/dsh-codex-suite/actions/workflows/ci.yml)
|
|
6
6
|
[](LICENSE)
|
|
@@ -53,7 +53,7 @@ DeepSeek Harness(DSH)的 Codex 风格对话界面增强插件:把 Web 对
|
|
|
53
53
|
已发布版本:
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
|
-
dsh plugin --profile web add @jcy2387/dsh-conversation-ui@0.1.
|
|
56
|
+
dsh plugin --profile web add @jcy2387/dsh-conversation-ui@0.1.7-rc.2
|
|
57
57
|
dsh web
|
|
58
58
|
```
|
|
59
59
|
|
|
@@ -122,3 +122,5 @@ pnpm --filter @jcy2387/dsh-conversation-ui build
|
|
|
122
122
|
## 许可证
|
|
123
123
|
|
|
124
124
|
[MIT](LICENSE) © jcy2387
|
|
125
|
+
|
|
126
|
+
本版面向 DSH `0.1.7-rc.2`。旧 `conversation-ui.thinkAutoExpand` 从 `settings.yaml` 或 `settings.yaml.imported` 导入当前 profile 的 `cordis.patch.yml`,成功后记录迁移标记;失败保留源文件供重试。插件兼容导入只补充缺失的值。名称和描述通过导出的 `locale/en.json`、`locale/zh.json` 跟随 DSH 界面语言。
|
package/icon.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
|
|
2
|
+
<defs><linearGradient id="bg" x1="8" y1="4" x2="58" y2="64" gradientUnits="userSpaceOnUse"><stop stop-color="#168577"/><stop offset="1" stop-color="#07544B"/></linearGradient></defs>
|
|
3
|
+
<rect x="2" y="2" width="60" height="60" rx="16" fill="url(#bg)"/>
|
|
4
|
+
<path d="m23 23-10 9 10 9m18-18 10 9-10 9" stroke="#FFF" stroke-width="4.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="m35 19-6 26" stroke="#BEF4DE" stroke-width="4.5" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
package/lib/client.js
CHANGED
|
@@ -438,50 +438,50 @@ window.__ModuleLoader__.load({
|
|
|
438
438
|
tag.textContent = css$2;
|
|
439
439
|
}
|
|
440
440
|
var TypewriterAssistantNodeView_module_css_default = {
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
"
|
|
444
|
-
"
|
|
445
|
-
"
|
|
441
|
+
"turnFoldRow": "Sp5wgW_turnFoldRow",
|
|
442
|
+
"nestedToolSemanticIcon": "Sp5wgW_nestedToolSemanticIcon",
|
|
443
|
+
"streamSemanticIcon": "Sp5wgW_streamSemanticIcon",
|
|
444
|
+
"thinkLeading": "Sp5wgW_thinkLeading",
|
|
445
|
+
"stopped": "Sp5wgW_stopped",
|
|
446
446
|
"disclosureLeading": "Sp5wgW_disclosureLeading",
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"thinkBody": "Sp5wgW_thinkBody",
|
|
447
|
+
"thinkTitle": "Sp5wgW_thinkTitle",
|
|
448
|
+
"toolGroupFrame": "Sp5wgW_toolGroupFrame",
|
|
450
449
|
"reasoningText": "Sp5wgW_reasoningText",
|
|
451
|
-
"
|
|
452
|
-
"thinkRow": "Sp5wgW_thinkRow",
|
|
453
|
-
"toolGroupHeaderLabel": "Sp5wgW_toolGroupHeaderLabel",
|
|
454
|
-
"root": "Sp5wgW_root",
|
|
455
|
-
"think": "Sp5wgW_think",
|
|
456
|
-
"dsh-conversation-ui-think-sweep": "Sp5wgW_dsh-conversation-ui-think-sweep",
|
|
457
|
-
"thinkChevron": "Sp5wgW_thinkChevron",
|
|
450
|
+
"thinkBody": "Sp5wgW_thinkBody",
|
|
458
451
|
"turnPrelude": "Sp5wgW_turnPrelude",
|
|
459
|
-
"visuallyHidden": "Sp5wgW_visuallyHidden",
|
|
460
|
-
"toolSemanticIcon": "Sp5wgW_toolSemanticIcon",
|
|
461
|
-
"toolGroupHeaderIcon": "Sp5wgW_toolGroupHeaderIcon",
|
|
462
|
-
"toolGroupHeaderGlyph": "Sp5wgW_toolGroupHeaderGlyph",
|
|
463
|
-
"reasoningSummary": "Sp5wgW_reasoningSummary",
|
|
464
452
|
"turnWaiting": "Sp5wgW_turnWaiting",
|
|
465
|
-
"
|
|
466
|
-
"
|
|
453
|
+
"editStats": "Sp5wgW_editStats",
|
|
454
|
+
"dsh-conversation-ui-think-sweep": "Sp5wgW_dsh-conversation-ui-think-sweep",
|
|
467
455
|
"thinkSummary": "Sp5wgW_thinkSummary",
|
|
468
|
-
"
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
"toolGroupAnchor": "Sp5wgW_toolGroupAnchor",
|
|
456
|
+
"disclosureRoot": "Sp5wgW_disclosureRoot",
|
|
457
|
+
"disclosureTitle": "Sp5wgW_disclosureTitle",
|
|
458
|
+
"dsh-codex-stream-enter": "Sp5wgW_dsh-codex-stream-enter",
|
|
472
459
|
"markdownFlow": "Sp5wgW_markdownFlow",
|
|
473
|
-
"
|
|
474
|
-
"
|
|
460
|
+
"reasoningDisclosure": "Sp5wgW_reasoningDisclosure",
|
|
461
|
+
"think": "Sp5wgW_think",
|
|
462
|
+
"disclosureContent": "Sp5wgW_disclosureContent",
|
|
463
|
+
"turnFoldButton": "Sp5wgW_turnFoldButton",
|
|
475
464
|
"dsh-turn-waiting-shimmer": "Sp5wgW_dsh-turn-waiting-shimmer",
|
|
465
|
+
"disclosureTrailing": "Sp5wgW_disclosureTrailing",
|
|
466
|
+
"visuallyHidden": "Sp5wgW_visuallyHidden",
|
|
467
|
+
"toolGroupHeaderIcon": "Sp5wgW_toolGroupHeaderIcon",
|
|
468
|
+
"body": "Sp5wgW_body",
|
|
469
|
+
"thinkSeparator": "Sp5wgW_thinkSeparator",
|
|
470
|
+
"toolGroupAnchor": "Sp5wgW_toolGroupAnchor",
|
|
476
471
|
"disclosureRow": "Sp5wgW_disclosureRow",
|
|
477
|
-
"reasoningDisclosure": "Sp5wgW_reasoningDisclosure",
|
|
478
472
|
"toolGroupHeaderChevron": "Sp5wgW_toolGroupHeaderChevron",
|
|
479
|
-
"
|
|
480
|
-
"
|
|
473
|
+
"thinkRow": "Sp5wgW_thinkRow",
|
|
474
|
+
"toolGroupHeader": "Sp5wgW_toolGroupHeader",
|
|
475
|
+
"root": "Sp5wgW_root",
|
|
481
476
|
"toolGroupContent": "Sp5wgW_toolGroupContent",
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
477
|
+
"reasoningSummary": "Sp5wgW_reasoningSummary",
|
|
478
|
+
"eventRow": "Sp5wgW_eventRow",
|
|
479
|
+
"toolGroupHeaderLabel": "Sp5wgW_toolGroupHeaderLabel",
|
|
480
|
+
"thinkChevron": "Sp5wgW_thinkChevron",
|
|
481
|
+
"toolSemanticIcon": "Sp5wgW_toolSemanticIcon",
|
|
482
|
+
"follow": "Sp5wgW_follow",
|
|
483
|
+
"toolGroupHeaderGlyph": "Sp5wgW_toolGroupHeaderGlyph",
|
|
484
|
+
"turnFoldLabel": "Sp5wgW_turnFoldLabel"
|
|
485
485
|
};
|
|
486
486
|
//#endregion
|
|
487
487
|
//#region src/client/FollowHost.tsx
|
|
@@ -691,7 +691,7 @@ window.__ModuleLoader__.load({
|
|
|
691
691
|
/** Preserve the native Chat view while exposing its injected preference to descendants. */
|
|
692
692
|
function wrapTranscriptView(Inner) {
|
|
693
693
|
return function TranscriptViewBridge(props) {
|
|
694
|
-
const compact = props.
|
|
694
|
+
const compact = props.usePresentation((policy) => !policy.liveProcessDetail && policy.foldCompletedTurns);
|
|
695
695
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CompactTranscriptContext.Provider, {
|
|
696
696
|
value: compact,
|
|
697
697
|
children: (0, react.createElement)(Inner, props)
|
|
@@ -987,12 +987,12 @@ window.__ModuleLoader__.load({
|
|
|
987
987
|
}
|
|
988
988
|
function formatTurnElapsed(ms, t) {
|
|
989
989
|
const duration = formatRunDuration(ms, t);
|
|
990
|
-
const label = t("message.
|
|
990
|
+
const label = t("message.turnProcess.took", { duration });
|
|
991
991
|
return label === `用时 ${duration}` ? `耗时 ${duration}` : label;
|
|
992
992
|
}
|
|
993
993
|
function formatTurnProcessed(ms, t) {
|
|
994
994
|
const duration = formatRunDuration(ms, t);
|
|
995
|
-
const label = t("message.
|
|
995
|
+
const label = t("message.turnProcess.took", { duration });
|
|
996
996
|
return label === `用时 ${duration}` ? `已处理 ${duration}` : label;
|
|
997
997
|
}
|
|
998
998
|
//#endregion
|
|
@@ -1030,7 +1030,7 @@ window.__ModuleLoader__.load({
|
|
|
1030
1030
|
event.currentTarget.focus();
|
|
1031
1031
|
turnProcess.setOpen(!turnProcess.open);
|
|
1032
1032
|
},
|
|
1033
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: label }), turnProcess.open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1033
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: label }), turnProcess.open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineMedium, {}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutlineMedium, {})]
|
|
1034
1034
|
})
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
@@ -1314,7 +1314,7 @@ window.__ModuleLoader__.load({
|
|
|
1314
1314
|
children: [header, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
1315
1315
|
className: TypewriterAssistantNodeView_module_css_default.toolGroupHeaderChevron,
|
|
1316
1316
|
"aria-hidden": true,
|
|
1317
|
-
children: collapsed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
1317
|
+
children: collapsed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutlineMedium, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineMedium, { size: 14 })
|
|
1318
1318
|
})]
|
|
1319
1319
|
}), children]
|
|
1320
1320
|
});
|
|
@@ -1402,22 +1402,22 @@ window.__ModuleLoader__.load({
|
|
|
1402
1402
|
//#endregion
|
|
1403
1403
|
//#region src/client/TypewriterToolNodeView.tsx
|
|
1404
1404
|
const TOOL_ICONS = {
|
|
1405
|
-
search: _deepseek_ai_dsh_client_ui_primitives.
|
|
1406
|
-
read: _deepseek_ai_dsh_client_ui_primitives.
|
|
1407
|
-
edit: _deepseek_ai_dsh_client_ui_primitives.
|
|
1408
|
-
terminal: _deepseek_ai_dsh_client_ui_primitives.
|
|
1409
|
-
data: _deepseek_ai_dsh_client_ui_primitives.
|
|
1410
|
-
web: _deepseek_ai_dsh_client_ui_primitives.
|
|
1405
|
+
search: _deepseek_ai_dsh_client_ui_primitives.IconSearchOutlineMedium,
|
|
1406
|
+
read: _deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineMedium,
|
|
1407
|
+
edit: _deepseek_ai_dsh_client_ui_primitives.IconEditOutlineMedium,
|
|
1408
|
+
terminal: _deepseek_ai_dsh_client_ui_primitives.IconApiOutlineMedium,
|
|
1409
|
+
data: _deepseek_ai_dsh_client_ui_primitives.IconDataOutlineMedium,
|
|
1410
|
+
web: _deepseek_ai_dsh_client_ui_primitives.IconGlobeOutlineMedium,
|
|
1411
1411
|
code: FiTool,
|
|
1412
|
-
skill: _deepseek_ai_dsh_client_ui_primitives.
|
|
1413
|
-
agent: _deepseek_ai_dsh_client_ui_primitives.
|
|
1414
|
-
plugin: _deepseek_ai_dsh_client_ui_primitives.
|
|
1415
|
-
question: _deepseek_ai_dsh_client_ui_primitives.
|
|
1416
|
-
settings: _deepseek_ai_dsh_client_ui_primitives.
|
|
1417
|
-
checklist: _deepseek_ai_dsh_client_ui_primitives.
|
|
1412
|
+
skill: _deepseek_ai_dsh_client_ui_primitives.IconSkillOutlineMedium,
|
|
1413
|
+
agent: _deepseek_ai_dsh_client_ui_primitives.IconAgentPresetOutlineMedium,
|
|
1414
|
+
plugin: _deepseek_ai_dsh_client_ui_primitives.IconCordisPluginOutlineMedium,
|
|
1415
|
+
question: _deepseek_ai_dsh_client_ui_primitives.IconQuestionOutlineMedium,
|
|
1416
|
+
settings: _deepseek_ai_dsh_client_ui_primitives.IconSettingsOutlineMedium,
|
|
1417
|
+
checklist: _deepseek_ai_dsh_client_ui_primitives.IconChecklistOutlineMedium,
|
|
1418
1418
|
other: FiTool
|
|
1419
1419
|
};
|
|
1420
|
-
const CONVERSATION_NODE_ICONS = { context: _deepseek_ai_dsh_client_ui_primitives.
|
|
1420
|
+
const CONVERSATION_NODE_ICONS = { context: _deepseek_ai_dsh_client_ui_primitives.IconBrowseOutlineMedium };
|
|
1421
1421
|
function toolTokens(toolName) {
|
|
1422
1422
|
return toolName.replace(/([a-z\d])([A-Z])/g, "$1_$2").toLowerCase().split(/[^a-z\d]+/).filter(Boolean);
|
|
1423
1423
|
}
|
|
@@ -2035,30 +2035,30 @@ window.__ModuleLoader__.load({
|
|
|
2035
2035
|
tag.textContent = css$1;
|
|
2036
2036
|
}
|
|
2037
2037
|
var ConversationCard_module_css_default = {
|
|
2038
|
+
"label": "XFnqVW_label",
|
|
2038
2039
|
"toggle": "XFnqVW_toggle",
|
|
2040
|
+
"updateRow": "XFnqVW_updateRow",
|
|
2041
|
+
"updateCopy": "XFnqVW_updateCopy",
|
|
2042
|
+
"field": "XFnqVW_field",
|
|
2043
|
+
"update": "XFnqVW_update",
|
|
2044
|
+
"version": "XFnqVW_version",
|
|
2045
|
+
"name": "XFnqVW_name",
|
|
2046
|
+
"pending": "XFnqVW_pending",
|
|
2039
2047
|
"header": "XFnqVW_header",
|
|
2040
2048
|
"card": "XFnqVW_card",
|
|
2049
|
+
"description": "XFnqVW_description",
|
|
2050
|
+
"metadata": "XFnqVW_metadata",
|
|
2041
2051
|
"failure": "XFnqVW_failure",
|
|
2042
|
-
"name": "XFnqVW_name",
|
|
2043
2052
|
"readOnly": "XFnqVW_readOnly",
|
|
2053
|
+
"cardOpen": "XFnqVW_cardOpen",
|
|
2054
|
+
"body": "XFnqVW_body",
|
|
2044
2055
|
"footer": "XFnqVW_footer",
|
|
2045
|
-
"failed": "XFnqVW_failed",
|
|
2046
|
-
"updateCopy": "XFnqVW_updateCopy",
|
|
2047
|
-
"update": "XFnqVW_update",
|
|
2048
|
-
"discard": "XFnqVW_discard",
|
|
2049
|
-
"version": "XFnqVW_version",
|
|
2050
|
-
"pending": "XFnqVW_pending",
|
|
2051
2056
|
"save": "XFnqVW_save",
|
|
2052
|
-
"hint": "XFnqVW_hint",
|
|
2053
2057
|
"fieldHead": "XFnqVW_fieldHead",
|
|
2054
|
-
"
|
|
2055
|
-
"
|
|
2056
|
-
"
|
|
2057
|
-
"
|
|
2058
|
-
"description": "XFnqVW_description",
|
|
2059
|
-
"metadata": "XFnqVW_metadata",
|
|
2060
|
-
"updateRow": "XFnqVW_updateRow",
|
|
2061
|
-
"headText": "XFnqVW_headText"
|
|
2058
|
+
"failed": "XFnqVW_failed",
|
|
2059
|
+
"discard": "XFnqVW_discard",
|
|
2060
|
+
"headText": "XFnqVW_headText",
|
|
2061
|
+
"hint": "XFnqVW_hint"
|
|
2062
2062
|
};
|
|
2063
2063
|
//#endregion
|
|
2064
2064
|
//#region src/client/ConversationCard.tsx
|
|
@@ -2159,7 +2159,7 @@ window.__ModuleLoader__.load({
|
|
|
2159
2159
|
onClick: props.upgrade,
|
|
2160
2160
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2161
2161
|
"aria-hidden": "true",
|
|
2162
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
2162
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutlineMedium, {})
|
|
2163
2163
|
}), t(state.upgrading ? "updating" : "update")]
|
|
2164
2164
|
})]
|
|
2165
2165
|
}),
|
|
@@ -2752,7 +2752,7 @@ window.__ModuleLoader__.load({
|
|
|
2752
2752
|
immer.createDraft.bind(immer);
|
|
2753
2753
|
immer.finishDraft.bind(immer);
|
|
2754
2754
|
//#endregion
|
|
2755
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-client-store@0.1.
|
|
2755
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-client-store@0.1.7-rc.2_@deepseek-ai+cordis@4.0.4/node_modules/@deepseek-ai/dsh-client-store/lib/index.js
|
|
2756
2756
|
/**
|
|
2757
2757
|
* React-free snapshot store engine (zustand vanilla + immer + subscribeWithSelector +
|
|
2758
2758
|
* rafFlush middleware + opt-in persist + dev freeze) plus the declarative
|
|
@@ -2997,10 +2997,11 @@ window.__ModuleLoader__.load({
|
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
2999
2999
|
//#endregion
|
|
3000
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-session@0.1.
|
|
3000
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-session@0.1.7-rc.2_@deepseek-ai+cordis@4.0.4_@deepseek-ai+dsh-scope@0._96480dbecf47e43f89b841d272151264/node_modules/@deepseek-ai/dsh-session/lib/types/surface.js
|
|
3001
3001
|
/** Runtime counterpart of the message-producing event union. */
|
|
3002
3002
|
const SURFACE_EVENT_TYPES = /* @__PURE__ */ new Set([
|
|
3003
3003
|
"system/message",
|
|
3004
|
+
"developer/message",
|
|
3004
3005
|
"user/message",
|
|
3005
3006
|
"assistant/message",
|
|
3006
3007
|
"tool/result"
|
|
@@ -3278,23 +3279,23 @@ window.__ModuleLoader__.load({
|
|
|
3278
3279
|
tag.textContent = css;
|
|
3279
3280
|
}
|
|
3280
3281
|
var DeliverablesCard_module_css_default = {
|
|
3281
|
-
"
|
|
3282
|
-
"
|
|
3283
|
-
"
|
|
3284
|
-
"stats": "sLyncq_stats",
|
|
3285
|
-
"root": "sLyncq_root",
|
|
3286
|
-
"parentPath": "sLyncq_parentPath",
|
|
3282
|
+
"header": "sLyncq_header",
|
|
3283
|
+
"added": "sLyncq_added",
|
|
3284
|
+
"headerIcon": "sLyncq_headerIcon",
|
|
3287
3285
|
"filePath": "sLyncq_filePath",
|
|
3288
|
-
"
|
|
3286
|
+
"root": "sLyncq_root",
|
|
3287
|
+
"title": "sLyncq_title",
|
|
3289
3288
|
"removed": "sLyncq_removed",
|
|
3290
3289
|
"list": "sLyncq_list",
|
|
3291
|
-
"
|
|
3292
|
-
"
|
|
3290
|
+
"fileName": "sLyncq_fileName",
|
|
3291
|
+
"stats": "sLyncq_stats",
|
|
3292
|
+
"heading": "sLyncq_heading",
|
|
3293
3293
|
"item": "sLyncq_item",
|
|
3294
|
-
"
|
|
3295
|
-
"header": "sLyncq_header",
|
|
3294
|
+
"parentPath": "sLyncq_parentPath",
|
|
3296
3295
|
"moreIcon": "sLyncq_moreIcon",
|
|
3297
|
-
"
|
|
3296
|
+
"subtitle": "sLyncq_subtitle",
|
|
3297
|
+
"more": "sLyncq_more",
|
|
3298
|
+
"websitePath": "sLyncq_websitePath",
|
|
3298
3299
|
"external": "sLyncq_external"
|
|
3299
3300
|
};
|
|
3300
3301
|
//#endregion
|
|
@@ -3380,7 +3381,7 @@ window.__ModuleLoader__.load({
|
|
|
3380
3381
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
3381
3382
|
className: DeliverablesCard_module_css_default.headerIcon,
|
|
3382
3383
|
"aria-hidden": true,
|
|
3383
|
-
children: hasFiles ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
3384
|
+
children: hasFiles ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconProjectAddOutlineMedium, { size: 20 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconGlobeOutlineMedium, { size: 20 })
|
|
3384
3385
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
3385
3386
|
className: DeliverablesCard_module_css_default.heading,
|
|
3386
3387
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", {
|
|
@@ -3462,7 +3463,7 @@ window.__ModuleLoader__.load({
|
|
|
3462
3463
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
3463
3464
|
className: DeliverablesCard_module_css_default.moreIcon,
|
|
3464
3465
|
"aria-hidden": true,
|
|
3465
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
3466
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutlineMedium, {})
|
|
3466
3467
|
})
|
|
3467
3468
|
]
|
|
3468
3469
|
}),
|
|
@@ -3475,7 +3476,7 @@ window.__ModuleLoader__.load({
|
|
|
3475
3476
|
children: ["收起 ", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
3476
3477
|
className: DeliverablesCard_module_css_default.moreIcon,
|
|
3477
3478
|
"aria-hidden": true,
|
|
3478
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.
|
|
3479
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutlineMedium, {})
|
|
3479
3480
|
})]
|
|
3480
3481
|
})
|
|
3481
3482
|
]
|