@deepseek-ai/dsh-client-ui-session 0.1.6-alpha.2 → 0.1.7-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 +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +2 -3
- package/package.json +12 -10
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-session/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: df85bf42b0eb6507662ab4e4a26d1fde6e08872e
|
|
6
|
+
README.zh.md: 5f54c1db7b5daf2d113717d890dc90eeb2be87f9
|
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ English | [中文](README.zh.md)
|
|
|
10
10
|
|
|
11
11
|
Use this package to expose Session catalog, retain information, and unified UI status through standard Slot hooks. It materializes per-`SessionBinding` hooks and props, while `SessionProvider` can inherit an outer binding or bind an explicit `SessionReference`. It owns process-local pending-interaction and completion-reminder policy without owning Controller transport, history, or references.
|
|
12
12
|
|
|
13
|
+
Running status comes from Host list baselines or status events. Subagent catalog rows and retained subagent fallback rows do not establish running status; main view references still acknowledge completions.
|
|
14
|
+
|
|
13
15
|
## Table of Contents
|
|
14
16
|
|
|
15
17
|
- [Model Experience](#model-experience)
|
package/README.zh.md
CHANGED
|
@@ -10,6 +10,8 @@ kind: "package-reference"
|
|
|
10
10
|
|
|
11
11
|
使用本包可通过标准 Slot 钩子公开 Session catalog、retain 信息与统一 UI 状态。它按 `SessionBinding` 物化钩子和 prop,而 `SessionProvider` 可以继承外围 binding 或绑定显式 `SessionReference`。它拥有进程本地的 pending-interaction 与完成提醒策略,但不拥有 Controller transport、历史或 reference。
|
|
12
12
|
|
|
13
|
+
运行状态来自 Host 列表基线或状态事件。Subagent 目录行和已保留子会话的 fallback 行不会建立运行状态;主视图引用仍会确认完成提醒。
|
|
14
|
+
|
|
13
15
|
## 目录
|
|
14
16
|
|
|
15
17
|
- [模型体验](#model-experience)
|
package/lib/client.js
CHANGED
|
@@ -322,14 +322,13 @@ window.__ModuleLoader__.load({
|
|
|
322
322
|
reconcileStatus() {
|
|
323
323
|
const list = this.sessions.list.getSnapshot();
|
|
324
324
|
const present = new Set(Object.keys(list.byId));
|
|
325
|
-
for (const id of
|
|
325
|
+
for (const id of list.ids) {
|
|
326
326
|
const row = list.byId[id];
|
|
327
|
-
if (row === void 0) continue;
|
|
328
327
|
const previous = this.running.get(id);
|
|
329
328
|
if (previous === void 0) this.running.set(id, row.running);
|
|
330
329
|
else if (previous !== row.running) this.observeRunning(id, row.running);
|
|
331
|
-
if ((row.retainedBy.mainView ?? 0) > 0) this.completionUnread.delete(id);
|
|
332
330
|
}
|
|
331
|
+
for (const id of present) if (this.isMain(id)) this.completionUnread.delete(id);
|
|
333
332
|
if (list.phase === "ready") for (const id of this.running.keys()) {
|
|
334
333
|
if (present.has(id)) continue;
|
|
335
334
|
this.running.delete(id);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-session",
|
|
3
3
|
"description": "Session Controller adapter for React and session-scoped slots",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -37,19 +37,21 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@deepseek-ai/cordis": "
|
|
40
|
+
"@deepseek-ai/cordis": "~4.0.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "~18.3.1",
|
|
44
44
|
"react": "^18.2.0",
|
|
45
|
-
"@deepseek-ai/
|
|
46
|
-
"@deepseek-ai/dsh-api-
|
|
47
|
-
"@deepseek-ai/dsh-client-store": "
|
|
48
|
-
"@deepseek-ai/dsh-client-
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-
|
|
50
|
-
"@deepseek-ai/
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
45
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-alpha.2",
|
|
46
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-alpha.2",
|
|
47
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-alpha.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.1.7-alpha.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-alpha.2",
|
|
50
|
+
"@deepseek-ai/cordis": "~4.0.4",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-alpha.2",
|
|
52
|
+
"@deepseek-ai/dsh-remote-mock": "0.1.7-alpha.2",
|
|
53
|
+
"@deepseek-ai/dsh-session": "0.1.7-alpha.2",
|
|
54
|
+
"@deepseek-ai/dsh-util-values": "0.1.7-alpha.2"
|
|
53
55
|
},
|
|
54
56
|
"files": [
|
|
55
57
|
"lib/index.js",
|