@epoch-agent/view 0.10.1 → 0.12.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -104,6 +104,11 @@ function applyStreamEvent(state, event, meta) {
104
104
  pending: [...pending, { type: "error", text: event.message, ...anchor(meta) }],
105
105
  thought
106
106
  };
107
+ case "steer":
108
+ return {
109
+ pending: [...pending, { type: "user", text: event.text, ...anchor(meta) }],
110
+ thought
111
+ };
107
112
  case "run-start":
108
113
  case "finish":
109
114
  case "usage":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epoch-agent/view",
3
- "version": "0.10.1",
3
+ "version": "0.12.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.10.1"
25
+ "@epoch-agent/protocol": "0.12.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "tsup": "^8.3.6",