@deepseek-ai/dsh-client-ui-commands 0.2.1-alpha.2 → 0.2.1-alpha.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.
- package/README.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +1 -1
- package/locale/en.json +5 -0
- package/locale/zh.json +6 -0
- package/package.json +21 -20
package/README.i18n.yaml
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
en: 4feecdbec0c3f39e
|
|
28
28
|
zh: 618944ecade8a3a2
|
|
29
29
|
/deepseek-ai-dsh-client-ui-commands/understand-the-implementation:
|
|
30
|
-
en:
|
|
31
|
-
zh:
|
|
30
|
+
en: dbd2d83fb5e57ff3
|
|
31
|
+
zh: 6e2e837f6a08f2fb
|
|
32
32
|
/deepseek-ai-dsh-client-ui-commands/further-exploration:
|
|
33
33
|
en: 409c04f534d23de7
|
|
34
34
|
zh: 165022d7a0a554eb
|
package/README.md
CHANGED
|
@@ -59,6 +59,8 @@ Popup selection panels fill the composer overlay's width, matching the slash men
|
|
|
59
59
|
|
|
60
60
|
Each command-directory fetch requires an existing retained Client Session and waits for its initial history open to succeed before sending `commands.list`. A temporary `commandCatalog` reference holds that Session until the fetch settles. An unretained Session or a failed open rejects without sending the RPC, so background catalog refreshes do not reopen closed Sessions.
|
|
61
61
|
|
|
62
|
+
Popup selection uses the [standard menu inset and item radii](../../../docs/ui-radius.md#nested-hover).
|
|
63
|
+
|
|
62
64
|
</details>
|
|
63
65
|
|
|
64
66
|
-----
|
package/README.zh.md
CHANGED
|
@@ -59,6 +59,8 @@ composer 携带图片或通用文件提交时,只有声明了 `input.attachmen
|
|
|
59
59
|
|
|
60
60
|
每次命令目录拉取都要求客户端已持有该会话,并等待首次历史打开成功后才发送 `commands.list`。临时的 `commandCatalog` 引用持续持有会话,直到拉取结束。未被持有的会话或打开失败会直接拒绝,不发送 RPC,因此后台目录刷新不会重新打开已关闭的会话。
|
|
61
61
|
|
|
62
|
+
弹出选择面板使用[标准菜单的内缩与菜单项圆角](../../../docs/ui-radius.zh.md#nested-hover)。
|
|
63
|
+
|
|
62
64
|
</details>
|
|
63
65
|
|
|
64
66
|
-----
|
package/lib/client.js
CHANGED
|
@@ -1797,7 +1797,7 @@ window.__ModuleLoader__.load({
|
|
|
1797
1797
|
}
|
|
1798
1798
|
//#endregion
|
|
1799
1799
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-commands/src/client/PopupSelectView.module.css.mjs
|
|
1800
|
-
const css = ".mufS8W_card{box-sizing:border-box;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:
|
|
1800
|
+
const css = ".mufS8W_card{box-sizing:border-box;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:4px;display:flex;position:absolute;bottom:calc(100% + 4px);left:0;right: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-radius:var(--dsw-radius-md);color:var(--dsw-alias-label-primary);background:0 0;border:.5px solid #0000;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}";
|
|
1801
1801
|
const tagId = "@deepseek-ai/dsh-client-ui-commands/PopupSelectView.module.css";
|
|
1802
1802
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1803
1803
|
const tag = document.createElement("style");
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
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.2.1-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.3",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"default": "./lib/client.js"
|
|
24
24
|
},
|
|
25
25
|
"./src/*": "./src/*",
|
|
26
|
-
"./package.json": "./package.json"
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
"./locale/*.json": "./locale/*.json"
|
|
27
28
|
},
|
|
28
29
|
"dsh": {
|
|
29
30
|
"client": {
|
|
@@ -38,30 +39,30 @@
|
|
|
38
39
|
},
|
|
39
40
|
"license": "MIT",
|
|
40
41
|
"peerDependencies": {
|
|
41
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.
|
|
42
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.
|
|
45
|
-
"@deepseek-ai/dsh-client-connection": "0.2.1-alpha.
|
|
46
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.
|
|
50
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-alpha.
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.
|
|
52
|
-
"@deepseek-ai/dsh-commands": "0.2.1-alpha.
|
|
53
|
-
"@
|
|
54
|
-
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
45
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.3",
|
|
46
|
+
"@deepseek-ai/dsh-client-connection": "0.2.1-alpha.3",
|
|
47
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-alpha.3",
|
|
48
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.3",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.3",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.3",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.1-alpha.3",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.3",
|
|
53
|
+
"@deepseek-ai/dsh-commands": "0.2.1-alpha.3",
|
|
54
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
55
55
|
"react": "^18.2.0",
|
|
56
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-client-store": "0.2.1-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-session": "0.2.1-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.
|
|
56
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.3",
|
|
57
|
+
"@deepseek-ai/dsh-client-store": "0.2.1-alpha.3",
|
|
58
|
+
"@deepseek-ai/dsh-session": "0.2.1-alpha.3",
|
|
59
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.3",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.3",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.3",
|
|
62
62
|
"clsx": "^2.0.0"
|
|
63
63
|
},
|
|
64
64
|
"files": [
|
|
65
|
+
"locale/*.json",
|
|
65
66
|
"lib/index.js",
|
|
66
67
|
"lib/client.js",
|
|
67
68
|
"lib/types/**/*.d.ts"
|