@deepseek-ai/dsh-client-ui-commands 0.1.7-rc.1 → 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.i18n.yaml +45 -5
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +2 -2
- package/package.json +16 -16
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,46 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-commands/README.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/:
|
|
6
|
+
en: e85ec1ccd1b80d98
|
|
7
|
+
zh: 1272b2ae6abeabdc
|
|
8
|
+
/deepseek-ai-dsh-client-ui-commands:
|
|
9
|
+
en: 095001426d586338
|
|
10
|
+
zh: 80dec4efefd726f7
|
|
11
|
+
/deepseek-ai-dsh-client-ui-commands/summary:
|
|
12
|
+
en: 770b1f492ac735e7
|
|
13
|
+
zh: 5602493729149219
|
|
14
|
+
/deepseek-ai-dsh-client-ui-commands/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: 09388d293f9be9cb
|
|
17
|
+
/deepseek-ai-dsh-client-ui-commands/use-this-package:
|
|
18
|
+
en: 01adce72791579fa
|
|
19
|
+
zh: 70eb55a1529038e7
|
|
20
|
+
/deepseek-ai-dsh-client-ui-commands/use-this-package/kinds-and-decorations:
|
|
21
|
+
en: 86841942f6989fbb
|
|
22
|
+
zh: 901557d3a5d0528e
|
|
23
|
+
/deepseek-ai-dsh-client-ui-commands/use-this-package/built-in-row-faces:
|
|
24
|
+
en: e96156be95ea87e3
|
|
25
|
+
zh: f5350db26483ec9f
|
|
26
|
+
/deepseek-ai-dsh-client-ui-commands/use-this-package/attachment-carrying-submissions:
|
|
27
|
+
en: 4feecdbec0c3f39e
|
|
28
|
+
zh: 618944ecade8a3a2
|
|
29
|
+
/deepseek-ai-dsh-client-ui-commands/understand-the-implementation:
|
|
30
|
+
en: 0fd2b19e41605440
|
|
31
|
+
zh: 52d5c653b877a1f0
|
|
32
|
+
/deepseek-ai-dsh-client-ui-commands/further-exploration:
|
|
33
|
+
en: 409c04f534d23de7
|
|
34
|
+
zh: 165022d7a0a554eb
|
|
35
|
+
/deepseek-ai-dsh-client-ui-commands/model-experience:
|
|
36
|
+
en: 3ec197644f2fe6ce
|
|
37
|
+
zh: a06a6fe8909b064f
|
|
38
|
+
/deepseek-ai-dsh-client-ui-commands/model-experience/kv-cache-effect:
|
|
39
|
+
en: 08efc268737977ca
|
|
40
|
+
zh: 7772a59064ea4039
|
|
41
|
+
/deepseek-ai-dsh-client-ui-commands/known-limitations-and-deferred-work:
|
|
42
|
+
en: cfce26d6a603cb7d
|
|
43
|
+
zh: 8332a8d1ad44abcf
|
|
44
|
+
/deepseek-ai-dsh-client-ui-commands/known-limitations-and-deferred-work/dev-note:
|
|
45
|
+
en: 2f5e19244ac6c305
|
|
46
|
+
zh: e43b52ae5b4af798
|
package/README.md
CHANGED
|
@@ -44,6 +44,8 @@ When the composer submits with images or generic files, only a host command decl
|
|
|
44
44
|
<a id="understand-the-implementation"></a>
|
|
45
45
|
## Understand the implementation
|
|
46
46
|
|
|
47
|
+
Menus use the shared `MenuSurface` material, including the macOS backing for background blur; custom content follows the [menu rules](../../../docs/web-styling.md#component-rules).
|
|
48
|
+
|
|
47
49
|
<details>
|
|
48
50
|
<summary>Implementation internals — click to expand</summary>
|
|
49
51
|
|
package/README.zh.md
CHANGED
|
@@ -44,6 +44,8 @@ composer 携带图片或通用文件提交时,只有声明了 `input.attachmen
|
|
|
44
44
|
<a id="understand-the-implementation"></a>
|
|
45
45
|
## 理解实现
|
|
46
46
|
|
|
47
|
+
菜单采用共享 `MenuSurface` 材质,包括用于背景模糊的 macOS 底层;自定义内容遵循[菜单规则](../../../docs/web-styling.zh.md#component-rules)。
|
|
48
|
+
|
|
47
49
|
<details>
|
|
48
50
|
<summary>实现细节——点击展开</summary>
|
|
49
51
|
|
package/lib/client.js
CHANGED
|
@@ -1129,7 +1129,7 @@ window.__ModuleLoader__.load({
|
|
|
1129
1129
|
}
|
|
1130
1130
|
//#endregion
|
|
1131
1131
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-commands/src/client/PopupSelectView.module.css.mjs
|
|
1132
|
-
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2)
|
|
1132
|
+
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);min-width:min(220px,100%);max-width:100%;max-height:320px;box-shadow:var(--dsw-elevation-prominent);border:0;outline:none;flex-direction:column;padding:3px;display:flex;position:absolute;bottom:calc(100% + 4px);left:0;overflow:hidden}.mufS8W_viewport{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.mufS8W_row{border-radius:var(--dsw-radius-md);cursor:pointer;color:var(--dsw-alias-label-primary);align-items:center;gap:6px;padding:5px 7px;font-size:12px;display:flex}.mufS8W_rowActive{background:var(--dsw-alias-interactive-bg-hover)}.mufS8W_label{flex:0 auto;align-items:baseline;gap:4px;min-width:0;display:flex}.mufS8W_labelText{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mufS8W_badge{color:var(--dsw-alias-label-tertiary);letter-spacing:.2px;flex:none;align-self:flex-start;margin-top:-1px;font-size:8px;font-weight:600;line-height:10px}.mufS8W_detail{min-width:0;color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11px;overflow:hidden}.mufS8W_check{color:var(--dsw-alias-label-primary);flex:none;margin-left:auto;display:inline-flex}.mufS8W_check svg{width:14px;height:14px}.mufS8W_status{color:var(--dsw-alias-label-tertiary);padding:7px 8px;font-size:12px}.mufS8W_search{border:.5px solid var(--dsw-alias-border-inverted);border-radius:var(--dsw-radius-md);color:var(--dsw-alias-label-primary);background:0 0;outline:none;margin:2px 2px 3px;padding:5px 7px;font-size:12px}.mufS8W_error{color:var(--dsw-alias-state-error-primary);align-items:center;gap:6px;padding:5px 7px;font-size:11px;display:flex}.mufS8W_errorText{text-overflow:ellipsis;flex:1;overflow:hidden}.mufS8W_retry{border:.5px solid var(--dsw-alias-border-inverted);border-radius:var(--dsw-radius-sm);color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;padding:2px 7px;font-size:11px}";
|
|
1133
1133
|
const tagId = "@deepseek-ai/dsh-client-ui-commands/PopupSelectView.module.css";
|
|
1134
1134
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1135
1135
|
const tag = document.createElement("style");
|
|
@@ -1233,7 +1233,7 @@ window.__ModuleLoader__.load({
|
|
|
1233
1233
|
default:
|
|
1234
1234
|
}
|
|
1235
1235
|
};
|
|
1236
|
-
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [state.confirming === null && (0, react_jsx_runtime.jsxs)(
|
|
1236
|
+
return (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [state.confirming === null && (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.MenuSurface, {
|
|
1237
1237
|
ref: cardRef,
|
|
1238
1238
|
className: PopupSelectView_module_css_default.card,
|
|
1239
1239
|
style: { maxHeight },
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-commands",
|
|
3
3
|
"description": "Client command surface: global directory cache, '/' source, three command UI kinds, popupSelect registry",
|
|
4
|
-
"version": "0.1.7-rc.
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -44,22 +44,22 @@
|
|
|
44
44
|
"@types/react": "~18.3.1",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"clsx": "^2.0.0",
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-client-
|
|
49
|
-
"@deepseek-ai/dsh-
|
|
50
|
-
"@deepseek-ai/dsh-client-
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-
|
|
52
|
-
"@deepseek-ai/dsh-client-
|
|
53
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.1.7-rc.
|
|
54
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.
|
|
55
|
-
"@deepseek-ai/dsh-commands": "0.1.7-rc.
|
|
47
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-commands": "0.1.7-rc.2",
|
|
56
56
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
57
|
-
"@deepseek-ai/dsh-session": "0.1.7-rc.
|
|
58
|
-
"@deepseek-ai/dsh-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.
|
|
57
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-util-values": "0.1.7-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2"
|
|
63
63
|
},
|
|
64
64
|
"files": [
|
|
65
65
|
"lib/index.js",
|