@chatcode/chatcode-cli 3.0.4 → 3.0.5-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 +6 -6
- package/README.md +10 -4
- package/README.zh.md +10 -4
- package/lib/bin.js +23 -9
- package/lib/{command-errors-Ca64Lgba.js → command-errors-CsRCh0gk.js} +12 -12
- package/lib/{command-trees-CVc4Xu_z.js → command-trees-CD_43rxX.js} +2 -2
- package/lib/{component-identity-6aEut5Yt.js → component-identity-DGA2-TeB.js} +3 -3
- package/lib/{dump-config-ZzrfvtnX.js → dump-config-D8kXfdTs.js} +1 -1
- package/lib/dump-config-DuCc-QB7.js +2 -0
- package/lib/{dump-config-schema-BlO-eZ-J.js → dump-config-schema-CtZbroi6.js} +2 -2
- package/lib/{extension-events-C7MUpqVE.js → extension-events-D0BjYRqT.js} +21 -21
- package/lib/{host-access-CLbyAGT5.js → host-access-DLJjuR07.js} +1 -1
- package/lib/{keymap-82JwLLHe.js → keymap-C4cs2IBN.js} +2 -2
- package/lib/{plugin-BlQlWIR5.js → plugin-CGtTByud.js} +801 -456
- package/lib/{plugin-BZdazFXS.js → plugin-CYw-MBRn.js} +1 -1
- package/lib/{profile-boot-B0aEEQIR.js → profile-boot-CffsubnV.js} +7 -7
- package/lib/profile-boot.js +1 -1
- package/lib/{scenes-BNS0ZFyQ.js → scenes-CbAGK5Uy.js} +3 -3
- package/lib/{settings-sections-CXH24cu5.js → settings-sections-DYKDa04e.js} +3 -3
- package/lib/{statusBarSettings-BAMzn8fX.js → statusBarSettings-T1m8xad4.js} +3 -3
- package/lib/{themes-DXUIvP7m.js → themes-BY2ui1Dv.js} +12 -12
- package/lib/tui-compat-command-trees.js +1 -1
- package/lib/tui-compat-extensions.js +3 -3
- package/lib/tui-compat-plugin-host.js +5 -5
- package/lib/tui-compat-scenes.js +1 -1
- package/lib/tui-compat-settings-sections.js +1 -1
- package/lib/tui-compat-working-activity.js +1 -1
- package/lib/tui-compat-workspaces.js +1 -1
- package/lib/tui-compat.js +7 -7
- package/lib/types/bin.d.ts +9 -0
- package/lib/types/tui-compat.d.ts +1 -1
- package/lib/types/web-instance-process.d.ts +20 -0
- package/lib/{web-instance-DbP7IHPv.js → web-instance-D_Ppi2Zo.js} +176 -14
- package/lib/{web-instance-B0jec7cq.js → web-instance-amvCJWnq.js} +1 -1
- package/lib/{workspaces-CUJXNU5W.js → workspaces-D5VKbESy.js} +2 -2
- package/package.json +30 -31
- package/runtime/manifest.json +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-agent-default-model/lib/index.js +7 -3
- package/runtime/node_modules/@deepseek-ai/dsh-agent-instructions/lib/index.js +169 -11
- package/runtime/node_modules/@deepseek-ai/dsh-agent-instructions/lib/types/files.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-instructions/lib/types/rules.d.ts +25 -0
- package/runtime/node_modules/@deepseek-ai/dsh-agent-instructions/package.json +5 -2
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/client.js +11 -3
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/contract/snapshot.d.ts +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/assistant-stream.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/assistant-stream.js +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-api-session-controller/lib/types/client/sessions/session.js +10 -3
- package/runtime/node_modules/@deepseek-ai/dsh-app-boot/lib/index.js +32 -11
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/index.js +62 -11
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/darwin-lock.d.ts +7 -0
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/index.d.ts +7 -2
- package/runtime/node_modules/@deepseek-ai/dsh-atomic-write/lib/types/linux-lock.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-locale/lib/client.js +7 -7
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-agent-preset/lib/client.js +62 -62
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-approval/lib/client.js +10 -10
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-attachment/lib/client.js +49 -49
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-chat/lib/client.js +204 -204
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-commands/lib/client.js +16 -16
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/client.js +159 -157
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-conversation/lib/types/client/service.d.ts +4 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-cordis/lib/client.js +74 -74
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/client.js +129 -123
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/index.js +19 -14
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/changes.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/Deliverables.d.ts +1 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/locales.d.ts +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/lib/types/client/present-open.d.ts +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-deliverables/package.json +2 -4
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-directory-picker-browse/lib/client.js +39 -39
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-goal/lib/client.js +16 -16
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-input-trigger/lib/client.js +23 -23
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-jobs/lib/client.js +37 -37
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-layout/lib/client.js +9 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-message-feedback/lib/client.js +12 -12
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/client.js +119 -32
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/catalog.d.ts +13 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/directory.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/effort-preferences.d.ts +20 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-model-selection/lib/types/client/slots.d.ts +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-open-in-app/lib/client.js +8 -8
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-permission-presets/lib/client.js +18 -18
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plan/lib/client.js +22 -22
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-plugin-manager/lib/client.js +128 -128
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-schedule/lib/client.js +182 -182
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-account/lib/client.js +130 -130
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-general/lib/client.js +50 -50
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-models/lib/client.js +88 -88
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugin-inventory/lib/client.js +36 -36
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-plugins/lib/client.js +13 -13
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-settings-subagent/lib/client.js +27 -27
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-shortcuts/lib/client.js +42 -42
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar/lib/client.js +44 -44
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-browser/lib/client.js +25 -25
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.excel.js +9 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.js +70 -70
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-documentpreview/lib/client.pdf.js +9 -9
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-files/lib/client.js +18 -18
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-right/lib/client.js +26 -26
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.js +16 -16
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-sidebar-terminal/lib/client.terminal.js +11 -11
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-skill/lib/client.js +20 -20
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-subagent/lib/client.js +37 -37
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-theme/lib/client.js +27 -27
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-tool/lib/client.js +95 -95
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-trajectory/lib/client.js +197 -197
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-user-questions/lib/client.js +49 -49
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workflow-run/lib/client.js +24 -24
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/client.js +656 -152
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/ArchivedSessions.d.ts +9 -2
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/locales.d.ts +46 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/DeleteSession.d.ts +9 -10
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/lib/types/client/session-actions/deletion.d.ts +57 -0
- package/runtime/node_modules/@deepseek-ai/dsh-client-ui-workspace/package.json +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-agent-team/lib/client.js +32 -32
- package/runtime/node_modules/@deepseek-ai/dsh-experimental-client-ui-voice-input/lib/client.js +24 -24
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/index.js +899 -453
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/adapter.d.ts +4 -20
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/chat-completions/adapter.d.ts +8 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/chat-completions/serialize.d.ts +10 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/chat-completions/sse.d.ts +24 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/chat-completions/translate.d.ts +37 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/chat-completions/types.d.ts +159 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/file-store.d.ts +3 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/files-api.d.ts +4 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/index.d.ts +1 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol-adapter.d.ts +41 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/protocol.d.ts +35 -0
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/transport.d.ts +2 -1
- package/runtime/node_modules/@deepseek-ai/dsh-llm-deepseek/lib/types/types.d.ts +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-mcp-client/lib/index.js +5 -4
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/client.js +4 -4
- package/runtime/node_modules/@deepseek-ai/dsh-session-log-export/lib/index.js +1 -1
- package/runtime/node_modules/@deepseek-ai/dsh-session-persistence-jsonl/lib/index.js +2 -2
- package/runtime/node_modules/@deepseek-ai/dsh-skill-filesystem/lib/index.js +33 -9
- package/runtime/node_modules/@deepseek-ai/dsh-tool-cordis/lib/types/api-catalog.js +12 -10
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/index.js +208 -39
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/archive.d.ts +47 -0
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/archive.js +129 -0
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.d.ts +2 -0
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/index.js +31 -8
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.d.ts +7 -2
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/recorder.js +35 -19
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/lib/types/types.d.ts +11 -10
- package/runtime/node_modules/@deepseek-ai/dsh-workspace-changes/package.json +1 -0
- package/scripts/link-embedded-runtime.mjs +1 -1
- package/lib/dump-config-CDixiJNt.js +0 -2
- package/lib/{home-migration-BjDmRwBB.js → home-migration-lRjtl2fP.js} +1 -1
- package/lib/{startup-diagnostics-C_hRCp-q.js → startup-diagnostics-4mLHYTFc.js} +1 -1
|
@@ -23,8 +23,8 @@ window.__ModuleLoader__.load({
|
|
|
23
23
|
return n;
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/
|
|
27
|
-
const css$4 = ".
|
|
26
|
+
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/chatcode-cli-harness/packages/client/ui-attachment/src/AttachmentRail.module.css.mjs
|
|
27
|
+
const css$4 = ".QwLhJG_root{min-width:0;position:relative}.QwLhJG_rail{scrollbar-width:none;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);align-items:stretch;gap:10px;display:flex;overflow:auto hidden}.QwLhJG_rail::-webkit-scrollbar{display:none}.QwLhJG_item{flex:none;height:64px}.QwLhJG_thumbnail{border:.5px solid var(--dsw-alias-border-l2-darkmode-thin);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-interactive-bg-hover);cursor:zoom-in;width:64px;height:64px;padding:0;overflow:hidden}.QwLhJG_thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.QwLhJG_remove{z-index:1;corner-shape:round;background:var(--dsw-alias-button-contrast-fill);width:18px;height:18px;color:var(--dsw-alias-label-primary-inverted);cursor:pointer;opacity:0;border:none;border-radius:50%;place-items:center;padding:0;transition:opacity .2s ease-in-out;display:grid;position:absolute;top:4px;right:4px}.QwLhJG_item:hover .QwLhJG_remove,.QwLhJG_remove:focus-visible{opacity:1}@media (pointer:coarse){.QwLhJG_remove{opacity:1}}@media (prefers-reduced-motion:reduce){.QwLhJG_remove{transition:none}}.QwLhJG_arrow{z-index:2;--dsw-elevation-stroke-color:var(--dsw-alias-border-l2-darkmode-thin);corner-shape:round;background:var(--dsw-specific-input-major);width:24px;height:24px;color:var(--dsw-alias-label-secondary);box-shadow:var(--dsw-elevation-panel);cursor:pointer;border:0;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.QwLhJG_arrow:hover{background:var(--dsw-alias-interactive-bg-hover-solid)}.QwLhJG_arrowLeft{left:4px}.QwLhJG_arrowRight{right:4px}";
|
|
28
28
|
const tagId$4 = "@deepseek-ai/dsh-client-ui-attachment/AttachmentRail.module.css";
|
|
29
29
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
30
30
|
const tag = document.createElement("style");
|
|
@@ -34,14 +34,14 @@ window.__ModuleLoader__.load({
|
|
|
34
34
|
document.head.appendChild(tag);
|
|
35
35
|
}
|
|
36
36
|
var AttachmentRail_module_css_default = {
|
|
37
|
-
"arrow": "
|
|
38
|
-
"arrowLeft": "
|
|
39
|
-
"arrowRight": "
|
|
40
|
-
"item": "
|
|
41
|
-
"rail": "
|
|
42
|
-
"remove": "
|
|
43
|
-
"root": "
|
|
44
|
-
"thumbnail": "
|
|
37
|
+
"arrow": "QwLhJG_arrow",
|
|
38
|
+
"arrowLeft": "QwLhJG_arrowLeft",
|
|
39
|
+
"arrowRight": "QwLhJG_arrowRight",
|
|
40
|
+
"item": "QwLhJG_item",
|
|
41
|
+
"rail": "QwLhJG_rail",
|
|
42
|
+
"remove": "QwLhJG_remove",
|
|
43
|
+
"root": "QwLhJG_root",
|
|
44
|
+
"thumbnail": "QwLhJG_thumbnail"
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region lib/types/AttachmentRail.js
|
|
@@ -170,8 +170,8 @@ window.__ModuleLoader__.load({
|
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
//#endregion
|
|
173
|
-
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/
|
|
174
|
-
const css$3 = ".
|
|
173
|
+
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/chatcode-cli-harness/packages/client/ui-attachment/src/DropOverlay.module.css.mjs
|
|
174
|
+
const css$3 = ".Xlhx9q_mask{z-index:1000;pointer-events:none;background-color:var(--dsw-alias-bg-mask-drop);backdrop-filter:blur(10px);justify-content:center;align-items:center;animation:.16s ease-out Xlhx9q_fade-in;display:flex;position:fixed;inset:0}@keyframes Xlhx9q_fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.Xlhx9q_mask{animation:none}}.Xlhx9q_wrap{color:var(--dsw-alias-label-primary);text-align:center;flex-direction:column;align-items:center;margin-top:-3%;padding:0 40px;display:flex}.Xlhx9q_illustration{width:115px;height:84px}.Xlhx9q_title{font:var(--dsw-font-l-20);margin-top:16px}.Xlhx9q_desc{font:var(--dsw-font-s-14);color:var(--dsw-alias-label-tertiary);white-space:pre-wrap;margin-top:16px}";
|
|
175
175
|
const tagId$3 = "@deepseek-ai/dsh-client-ui-attachment/DropOverlay.module.css";
|
|
176
176
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
177
177
|
const tag = document.createElement("style");
|
|
@@ -181,12 +181,12 @@ window.__ModuleLoader__.load({
|
|
|
181
181
|
document.head.appendChild(tag);
|
|
182
182
|
}
|
|
183
183
|
var DropOverlay_module_css_default = {
|
|
184
|
-
"desc": "
|
|
185
|
-
"fade-in": "
|
|
186
|
-
"illustration": "
|
|
187
|
-
"mask": "
|
|
188
|
-
"title": "
|
|
189
|
-
"wrap": "
|
|
184
|
+
"desc": "Xlhx9q_desc",
|
|
185
|
+
"fade-in": "Xlhx9q_fade-in",
|
|
186
|
+
"illustration": "Xlhx9q_illustration",
|
|
187
|
+
"mask": "Xlhx9q_mask",
|
|
188
|
+
"title": "Xlhx9q_title",
|
|
189
|
+
"wrap": "Xlhx9q_wrap"
|
|
190
190
|
};
|
|
191
191
|
//#endregion
|
|
192
192
|
//#region lib/types/DropOverlay.js
|
|
@@ -356,8 +356,8 @@ window.__ModuleLoader__.load({
|
|
|
356
356
|
]
|
|
357
357
|
});
|
|
358
358
|
//#endregion
|
|
359
|
-
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/
|
|
360
|
-
const css$2 = ".
|
|
359
|
+
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/chatcode-cli-harness/packages/client/ui-attachment/src/FileCard.module.css.mjs
|
|
360
|
+
const css$2 = ".Jp5I5a_card{border:.5px solid var(--dsw-alias-border-l2,#0000001f);border-radius:var(--dsw-radius-lg);background:var(--dsw-specific-input-major,transparent);box-sizing:border-box;text-align:left;align-items:center;gap:10px;width:240px;height:64px;padding:0 12px;display:inline-flex;position:relative}.Jp5I5a_failed{border-color:var(--dsw-alias-state-error-primary,#d54941)}.Jp5I5a_icon{flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.Jp5I5a_spinner{corner-shape:round;border:2px solid;border-top-color:#0000;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite Jp5I5a_file-card-spin}@keyframes Jp5I5a_file-card-spin{to{transform:rotate(360deg)}}.Jp5I5a_body{flex-direction:column;flex:1;min-width:0;padding:8px 0;display:flex}.Jp5I5a_retry{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.Jp5I5a_name{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-primary);font-size:14px;font-weight:500;line-height:22px;overflow:hidden}.Jp5I5a_meta{white-space:nowrap;text-overflow:ellipsis;color:var(--dsw-alias-label-tertiary,#00000073);font-size:12px;line-height:15px;overflow:hidden}.Jp5I5a_metaFailed{color:var(--dsw-alias-state-error-primary,#d54941)}.Jp5I5a_remove{corner-shape:round;background:var(--dsw-alias-button-contrast-fill,#000000b8);width:18px;height:18px;color:var(--dsw-alias-label-primary-inverted,#fff);opacity:0;cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:opacity .2s ease-in-out;display:inline-flex;position:absolute;top:6px;right:6px}.Jp5I5a_card:hover .Jp5I5a_remove,.Jp5I5a_remove:focus-visible{opacity:1}@media (pointer:coarse){.Jp5I5a_remove{opacity:1}}@media (prefers-reduced-motion:reduce){.Jp5I5a_remove{transition:none}}.Jp5I5a_card:hover .Jp5I5a_name,.Jp5I5a_card:focus-within .Jp5I5a_name{padding-right:18px}.Jp5I5a_removeFailed{background:var(--dsw-alias-state-error-primary,#d54941);color:#fff;opacity:1}.Jp5I5a_progressTrack{background:var(--dsw-alias-fill-tertiary,#00000014);border-radius:1px;height:2px;position:absolute;bottom:5px;left:12px;right:12px;overflow:hidden}.Jp5I5a_progressBar{border-radius:inherit;background:var(--dsw-alias-brand-primary,#4d6bfe);width:35%;height:100%;animation:1.2s ease-in-out infinite alternate Jp5I5a_file-card-progress;display:block}.Jp5I5a_progressBar[style]{animation:none}@keyframes Jp5I5a_file-card-progress{0%{transform:translate(-70%)}to{transform:translate(220%)}}@media (pointer:coarse){.Jp5I5a_remove{opacity:1}}";
|
|
361
361
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-attachment/FileCard.module.css";
|
|
362
362
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
363
363
|
const tag = document.createElement("style");
|
|
@@ -367,21 +367,21 @@ window.__ModuleLoader__.load({
|
|
|
367
367
|
document.head.appendChild(tag);
|
|
368
368
|
}
|
|
369
369
|
var FileCard_module_css_default = {
|
|
370
|
-
"body": "
|
|
371
|
-
"card": "
|
|
372
|
-
"failed": "
|
|
373
|
-
"file-card-progress": "
|
|
374
|
-
"file-card-spin": "
|
|
375
|
-
"icon": "
|
|
376
|
-
"meta": "
|
|
377
|
-
"metaFailed": "
|
|
378
|
-
"name": "
|
|
379
|
-
"progressBar": "
|
|
380
|
-
"progressTrack": "
|
|
381
|
-
"remove": "
|
|
382
|
-
"removeFailed": "
|
|
383
|
-
"retry": "
|
|
384
|
-
"spinner": "
|
|
370
|
+
"body": "Jp5I5a_body",
|
|
371
|
+
"card": "Jp5I5a_card",
|
|
372
|
+
"failed": "Jp5I5a_failed",
|
|
373
|
+
"file-card-progress": "Jp5I5a_file-card-progress",
|
|
374
|
+
"file-card-spin": "Jp5I5a_file-card-spin",
|
|
375
|
+
"icon": "Jp5I5a_icon",
|
|
376
|
+
"meta": "Jp5I5a_meta",
|
|
377
|
+
"metaFailed": "Jp5I5a_metaFailed",
|
|
378
|
+
"name": "Jp5I5a_name",
|
|
379
|
+
"progressBar": "Jp5I5a_progressBar",
|
|
380
|
+
"progressTrack": "Jp5I5a_progressTrack",
|
|
381
|
+
"remove": "Jp5I5a_remove",
|
|
382
|
+
"removeFailed": "Jp5I5a_removeFailed",
|
|
383
|
+
"retry": "Jp5I5a_retry",
|
|
384
|
+
"spinner": "Jp5I5a_spinner"
|
|
385
385
|
};
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region lib/types/FileCard.js
|
|
@@ -589,8 +589,8 @@ window.__ModuleLoader__.load({
|
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
591
|
//#endregion
|
|
592
|
-
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/
|
|
593
|
-
const css$1 = ".
|
|
592
|
+
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/chatcode-cli-harness/packages/client/ui-attachment/src/client/ComposerAttachments.module.css.mjs
|
|
593
|
+
const css$1 = ".odMJxq_rail{min-width:0;margin-bottom:-6px;padding:2px 10px 0}.odMJxq_imageItem{width:64px;height:64px;position:relative}.odMJxq_thumbnail{border:.5px solid var(--dsw-alias-border-l2-darkmode-thin);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-interactive-bg-hover);cursor:zoom-in;width:64px;height:64px;padding:0;overflow:hidden}.odMJxq_thumbnail img{object-fit:cover;width:100%;height:100%;display:block}.odMJxq_remove{z-index:1;corner-shape:round;background:var(--dsw-alias-button-contrast-fill);width:18px;height:18px;color:var(--dsw-alias-label-primary-inverted);cursor:pointer;opacity:0;border:none;border-radius:50%;place-items:center;padding:0;transition:opacity .2s ease-in-out;display:grid;position:absolute;top:4px;right:4px}.odMJxq_imageItem:hover .odMJxq_remove,.odMJxq_remove:focus-visible{opacity:1}@media (pointer:coarse){.odMJxq_remove{opacity:1}}@media (prefers-reduced-motion:reduce){.odMJxq_remove{transition:none}}";
|
|
594
594
|
const tagId$1 = "@deepseek-ai/dsh-client-ui-attachment/ComposerAttachments.module.css";
|
|
595
595
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
596
596
|
const tag = document.createElement("style");
|
|
@@ -600,10 +600,10 @@ window.__ModuleLoader__.load({
|
|
|
600
600
|
document.head.appendChild(tag);
|
|
601
601
|
}
|
|
602
602
|
var ComposerAttachments_module_css_default = {
|
|
603
|
-
"imageItem": "
|
|
604
|
-
"rail": "
|
|
605
|
-
"remove": "
|
|
606
|
-
"thumbnail": "
|
|
603
|
+
"imageItem": "odMJxq_imageItem",
|
|
604
|
+
"rail": "odMJxq_rail",
|
|
605
|
+
"remove": "odMJxq_remove",
|
|
606
|
+
"thumbnail": "odMJxq_thumbnail"
|
|
607
607
|
};
|
|
608
608
|
//#endregion
|
|
609
609
|
//#region lib/types/client/ComposerAttachments.js
|
|
@@ -688,8 +688,8 @@ window.__ModuleLoader__.load({
|
|
|
688
688
|
] });
|
|
689
689
|
}
|
|
690
690
|
//#endregion
|
|
691
|
-
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/
|
|
692
|
-
const css = ".
|
|
691
|
+
//#region \0dsh-css:/Users/shiguifeng/IdeaProjects/chonggou/chatcode-cli-harness/packages/client/ui-attachment/src/MessageImage.module.css.mjs
|
|
692
|
+
const css = "._6Dy8Ma_gallery{flex-wrap:wrap;gap:10px;max-width:100%;display:flex}._6Dy8Ma_gallery[data-align=end]{justify-content:flex-end;align-self:flex-end}._6Dy8Ma_gallery[data-align=start]{justify-content:flex-start;align-self:flex-start}._6Dy8Ma_frame{border:.5px solid var(--dsw-alias-border-l2-darkmode-thin);border-radius:var(--dsw-radius-xl);background:var(--dsw-alias-interactive-bg-hover);cursor:zoom-in;flex:none;place-items:center;min-width:44px;min-height:44px;padding:0;display:grid;overflow:hidden}._6Dy8Ma_frame[data-variant=tile]{width:64px;min-width:64px;height:64px;min-height:64px}._6Dy8Ma_frame img{object-fit:cover;width:100%;height:100%;display:block}._6Dy8Ma_loading,._6Dy8Ma_error{color:var(--dsw-alias-label-tertiary);font-size:12px;line-height:18px}._6Dy8Ma_error{border:.5px solid var(--dsw-alias-border-l2-darkmode-thin);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-interactive-bg-hover-danger);cursor:pointer;max-width:240px;padding:10px 12px}._6Dy8Ma_error[data-variant=tile]{border-radius:var(--dsw-radius-xl);width:64px;height:64px;padding:4px;overflow:hidden}._6Dy8Ma_frame[data-variant=thumbnail],._6Dy8Ma_error[data-variant=thumbnail]{box-sizing:border-box;border-radius:var(--dsw-radius-lg);place-items:center;width:48px;min-width:48px;height:48px;min-height:48px;padding:2px;display:grid;overflow:hidden}._6Dy8Ma_frame[data-variant=thumbnail] img{object-fit:contain}._6Dy8Ma_spinner{animation:.9s linear infinite _6Dy8Ma_spinner-rotate}@keyframes _6Dy8Ma_spinner-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){._6Dy8Ma_spinner{animation:none}}._6Dy8Ma_frame:focus-visible,._6Dy8Ma_error:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:2px}";
|
|
693
693
|
const tagId = "@deepseek-ai/dsh-client-ui-attachment/MessageImage.module.css";
|
|
694
694
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
695
695
|
const tag = document.createElement("style");
|
|
@@ -699,12 +699,12 @@ window.__ModuleLoader__.load({
|
|
|
699
699
|
document.head.appendChild(tag);
|
|
700
700
|
}
|
|
701
701
|
var MessageImage_module_css_default = {
|
|
702
|
-
"error": "
|
|
703
|
-
"frame": "
|
|
704
|
-
"gallery": "
|
|
705
|
-
"loading": "
|
|
706
|
-
"spinner": "
|
|
707
|
-
"spinner-rotate": "
|
|
702
|
+
"error": "_6Dy8Ma_error",
|
|
703
|
+
"frame": "_6Dy8Ma_frame",
|
|
704
|
+
"gallery": "_6Dy8Ma_gallery",
|
|
705
|
+
"loading": "_6Dy8Ma_loading",
|
|
706
|
+
"spinner": "_6Dy8Ma_spinner",
|
|
707
|
+
"spinner-rotate": "_6Dy8Ma_spinner-rotate"
|
|
708
708
|
};
|
|
709
709
|
//#endregion
|
|
710
710
|
//#region lib/types/MessageImage.js
|