@epoch-agent/view 0.27.0 → 0.29.0
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/dist/index.d.ts +9 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,15 @@ interface HistoryItemBase {
|
|
|
42
42
|
type HistoryItemUser = HistoryItemBase & {
|
|
43
43
|
type: 'user';
|
|
44
44
|
text: string;
|
|
45
|
+
/**
|
|
46
|
+
* 浏览器发这一条时自己起的编号(2026-10-10)—— **只有本地乐观上屏的那一份有**。
|
|
47
|
+
*
|
|
48
|
+
* 服务端把它原样带回到 `user-message` / `steer` 那一帧上(判据在 protocol 的
|
|
49
|
+
* `WireSendMessageRequest.clientMessageId` 上)。web 拿它认出「这条回执是我那条」:
|
|
50
|
+
* 开轮的不再画第二遍,插话的把这一份撤掉、换成事件流给的那一份(位置才对)。
|
|
51
|
+
* 回放出来的、事件流画出来的、TUI 的,一律缺席。
|
|
52
|
+
*/
|
|
53
|
+
clientMessageId?: string;
|
|
45
54
|
/**
|
|
46
55
|
* 这条消息里 `@:` 引用到的那几段会话(方案 53 PR-4)。
|
|
47
56
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epoch-agent/view",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "epoch-agent 展示层纯逻辑:AgentEvent → 可渲染 item,tui 与 web 共用",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@epoch-agent/protocol": "0.
|
|
25
|
+
"@epoch-agent/protocol": "0.29.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"tsup": "^8.3.6",
|