@deepseek-ai/dsh-client-ui-reference 0.1.3-alpha.2 → 0.1.5-alpha.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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +0 -4
- package/package.json +13 -13
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-reference/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 7d09db53e2ef1fec35837b60f2822559e513d3e7
|
|
6
|
+
README.zh.md: 3f4623bc594baee7e895a711359c974b51a410fc
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
|
|
|
9
9
|
|
|
10
10
|
## Summary
|
|
11
11
|
|
|
12
|
-
`dsh-client-ui-reference`
|
|
12
|
+
Use `dsh-client-ui-reference` when Web users need to mention files, folders, or sessions from one `@` completion menu. It lists files before sessions and keeps either group available when the other cannot load. Picking a file, folder, or session inserts an atomic reference with a stable clipboard form; folder rows also let users descend without closing completion. File rows omit redundant root locations, and session rows show a workspace only when it differs from the current one. Session mentions are validated before model context is captured, while browsing candidates has no model effect.
|
|
13
13
|
|
|
14
14
|
## Table of Contents
|
|
15
15
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Web 用户需要从同一个 `@` 补全菜单提及文件、文件夹或会话时,可以使用 `dsh-client-ui-reference`。菜单先列出文件,再列出会话;其中一组无法加载时,另一组仍然可用。选择文件、文件夹或会话会插入带稳定剪贴板形式的原子引用;文件夹行还允许用户在不关闭补全的情况下继续下钻。文件行省略多余的根目录位置,会话行仅在工作区与当前工作区不同时显示该工作区。会话 mention 会在捕获模型上下文前接受校验,而浏览候选项不会影响模型。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
package/lib/client.js
CHANGED
|
@@ -23,10 +23,6 @@ window.__ModuleLoader__.load({
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region ../../util/workspace-path/src/index.ts
|
|
26
|
-
/**
|
|
27
|
-
* Browser-safe Workspace path and display helpers.
|
|
28
|
-
* @module @deepseek-ai/dsh-util-workspace-path
|
|
29
|
-
*/
|
|
30
26
|
/** Whether a path uses a Windows drive or UNC prefix. */
|
|
31
27
|
function isWindowsStylePath(value) {
|
|
32
28
|
return /^[A-Za-z]:[/\\]/.test(value) || value.startsWith("\\\\");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-reference",
|
|
3
3
|
"description": "Unified Web @file and @session reference source",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.
|
|
46
|
-
"@deepseek-ai/dsh-
|
|
47
|
-
"@deepseek-ai/dsh-client-
|
|
48
|
-
"@deepseek-ai/dsh-client-
|
|
49
|
-
"@deepseek-ai/dsh-client-
|
|
50
|
-
"@deepseek-ai/dsh-
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-file-reference": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-session-reference": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/dsh-
|
|
45
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.5-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.5-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.5-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.1.5-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.5-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.5-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-file-reference": "^0.1.5-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-session-reference": "^0.1.5-alpha.2",
|
|
55
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-alpha.2",
|
|
56
|
+
"@deepseek-ai/dsh-util-workspace-path": "^0.1.5-alpha.2",
|
|
57
57
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|