@deepseek-ai/dsh-client-ui-chat 0.1.5-alpha.2 → 0.1.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 +2 -2
- package/README.md +6 -0
- package/README.zh.md +6 -0
- package/lib/client.js +2 -3
- package/package.json +31 -31
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-chat/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: cbf8fb88670913fac83154f5450e452674b2ed65
|
|
6
|
+
README.zh.md: 9ee73474b2848ef19252bb26c5f0a215e323b413
|
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ File-mention providers receive the viewed Session ID with the closing-turn owner
|
|
|
16
16
|
|
|
17
17
|
- [System prompt row](#system-prompt-row)
|
|
18
18
|
- [Turn token usage](#turn-token-usage)
|
|
19
|
+
- [Completed-turn footer](#completed-turn-footer)
|
|
19
20
|
- [Turn Process Folding](#turn-process-folding)
|
|
20
21
|
- [Scroll ownership](#scroll-ownership)
|
|
21
22
|
- [Model Experience](#model-experience)
|
|
@@ -34,6 +35,11 @@ Each nonempty appended `system/message` owns a collapsed prompt row, including a
|
|
|
34
35
|
|
|
35
36
|
A completed Turn shows an expandable usage row only when the loaded window includes `turn/start` and every started model attempt reports safe, exact usage. The row omits unavailable optional buckets. Incomplete or contradictory accounting hides the complete disclosure instead of presenting a partial total.
|
|
36
37
|
|
|
38
|
+
<a id="completed-turn-footer"></a>
|
|
39
|
+
## Completed-turn footer
|
|
40
|
+
|
|
41
|
+
The completed-turn action footer starts 20px below the preceding prose or extension content.
|
|
42
|
+
|
|
37
43
|
-----
|
|
38
44
|
|
|
39
45
|
<a id="turn-process-folding"></a>
|
package/README.zh.md
CHANGED
|
@@ -16,6 +16,7 @@ kind: "package-reference"
|
|
|
16
16
|
|
|
17
17
|
- [系统提示词行](#system-prompt-row)
|
|
18
18
|
- [轮次 token 用量](#turn-token-usage)
|
|
19
|
+
- [已完成轮次的页脚](#completed-turn-footer)
|
|
19
20
|
- [轮次过程折叠](#turn-process-folding)
|
|
20
21
|
- [滚动归属](#scroll-ownership)
|
|
21
22
|
- [模型体验](#model-experience)
|
|
@@ -36,6 +37,11 @@ kind: "package-reference"
|
|
|
36
37
|
|
|
37
38
|
只有当已加载窗口包含 `turn/start`,且每次已启动的模型尝试都报告安全、精确的用量时,已完成 Turn 才显示可展开的用量行。该行会省略不可用的可选用量桶。记账不完整或相互矛盾时,整个详情都不显示,避免把部分总量冒充完整结果。
|
|
38
39
|
|
|
40
|
+
<a id="completed-turn-footer"></a>
|
|
41
|
+
## 已完成轮次的页脚
|
|
42
|
+
|
|
43
|
+
已完成轮次的操作页脚位于前方正文或扩展内容下方 20px。
|
|
44
|
+
|
|
39
45
|
-----
|
|
40
46
|
|
|
41
47
|
<a id="turn-process-folding"></a>
|
package/lib/client.js
CHANGED
|
@@ -3618,7 +3618,7 @@ window.__ModuleLoader__.load({
|
|
|
3618
3618
|
}
|
|
3619
3619
|
//#endregion
|
|
3620
3620
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-chat/src/client/chat/TurnTailNodeView.module.css.mjs
|
|
3621
|
-
const css$2 = ".TS9iAW_root{flex-direction:column;gap:16px;display:flex}.TS9iAW_actions{margin-left:-6px}";
|
|
3621
|
+
const css$2 = ".TS9iAW_root{flex-direction:column;gap:16px;display:flex}.TS9iAW_actions{margin-top:4px;margin-left:-6px}";
|
|
3622
3622
|
const tagId$2 = "@deepseek-ai/dsh-client-ui-chat/TurnTailNodeView.module.css";
|
|
3623
3623
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
3624
3624
|
const tag = document.createElement("style");
|
|
@@ -4067,8 +4067,7 @@ window.__ModuleLoader__.load({
|
|
|
4067
4067
|
(0, react_jsx_runtime.jsx)("dd", { children: exactCount(usage.uncachedInputTokens, t) }),
|
|
4068
4068
|
(0, react_jsx_runtime.jsx)("dt", { children: t("message.turnUsage.cacheRead") }),
|
|
4069
4069
|
(0, react_jsx_runtime.jsx)("dd", { children: exactCount(usage.cacheReadTokens, t) }),
|
|
4070
|
-
(0, react_jsx_runtime.jsx)("dt", { children: t("message.turnUsage.cacheWrite") }),
|
|
4071
|
-
(0, react_jsx_runtime.jsx)("dd", { children: exactCount(usage.cacheWriteTokens, t) }),
|
|
4070
|
+
usage.cacheWriteTokens !== 0 && (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [(0, react_jsx_runtime.jsx)("dt", { children: t("message.turnUsage.cacheWrite") }), (0, react_jsx_runtime.jsx)("dd", { children: exactCount(usage.cacheWriteTokens, t) })] }),
|
|
4072
4071
|
(0, react_jsx_runtime.jsx)("dt", { children: t("message.turnUsage.output") }),
|
|
4073
4072
|
(0, react_jsx_runtime.jsx)("dd", { children: exactCount(usage.outputTokens, t) })
|
|
4074
4073
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-chat",
|
|
3
3
|
"description": "Chat Conversation target, node definitions, renderers, and details surface",
|
|
4
|
-
"version": "0.1.5-
|
|
4
|
+
"version": "0.1.5-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -52,36 +52,36 @@
|
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-dom": "^18.2.0",
|
|
54
54
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
55
|
-
"@deepseek-ai/dsh-agent": "^0.1.5-
|
|
56
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.5-
|
|
57
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1.5-
|
|
58
|
-
"@deepseek-ai/dsh-api-workspace-controller": "^0.1.5-
|
|
59
|
-
"@deepseek-ai/dsh-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.5-
|
|
62
|
-
"@deepseek-ai/dsh-client-store": "^0.1.5-
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-approval": "^0.1.5-
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-layout": "^0.1.5-
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-
|
|
69
|
-
"@deepseek-ai/dsh-client-ui-
|
|
70
|
-
"@deepseek-ai/dsh-client-ui-
|
|
71
|
-
"@deepseek-ai/dsh-
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-
|
|
74
|
-
"@deepseek-ai/dsh-
|
|
75
|
-
"@deepseek-ai/dsh-
|
|
76
|
-
"@deepseek-ai/dsh-
|
|
77
|
-
"@deepseek-ai/dsh-session
|
|
78
|
-
"@deepseek-ai/dsh-
|
|
79
|
-
"@deepseek-ai/dsh-
|
|
80
|
-
"@deepseek-ai/dsh-
|
|
81
|
-
"@deepseek-ai/dsh-
|
|
82
|
-
"@deepseek-ai/dsh-client-ui-
|
|
83
|
-
"@deepseek-ai/dsh-
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
55
|
+
"@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.5-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.5-rc.2",
|
|
58
|
+
"@deepseek-ai/dsh-api-workspace-controller": "^0.1.5-rc.2",
|
|
59
|
+
"@deepseek-ai/dsh-attachment": "^0.1.5-rc.2",
|
|
60
|
+
"@deepseek-ai/dsh-api-workspace-files": "^0.1.5-rc.2",
|
|
61
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.5-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-store": "^0.1.5-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-approval": "^0.1.5-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-layout": "^0.1.5-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.1.5-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-sidebar-documentpreview": "^0.1.5-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-workspace": "^0.1.5-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-commands": "^0.1.5-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-compaction": "^0.1.5-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-llm-retry": "^0.1.5-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-session": "^0.1.5-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-session-stats": "^0.1.5-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-session-turn-outline": "^0.1.5-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-settings": "^0.1.5-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-token-meter": "^0.1.5-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "^0.1.5-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-util-workspace-path": "^0.1.5-rc.2"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
87
|
"@deepseek-ai/schemastery": "^3.18.2"
|