docs(agent): drop agent/stream-chunk from the two package READMEs

Codex convergence caught stale prose the doc-sync gate does not scan: the
dsh-agent README still listed `agent/stream-chunk` as an emit and the
dsh-agent-loop README still told UI plugins to listen on it. A plugin author
following either would silently get no chunks. Point both at the
`session/event` `assistant/chunk` feed (the agent-loop UI line also names the
`agent/*` control events a UI still uses).
This commit is contained in:
Tianyi Cui
2026-07-03 00:06:39 +08:00
parent b84d4828a8
commit e100c52154
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -88,4 +88,4 @@ Everything that goes beyond "call the model, run the tools, repeat" belongs to p
- Sandbox, permission, plan mode: `tools/pre-execute` (deny/ask gate), `tools/post-execute`
- Sub-agents: implemented outside the loop as `ctx.subagents` providers; in-process providers use `ctx.agents.create()` and owned `AgentHandle` teardown, while child streaming/progress and background/poll collection remain deferred.
- Persistence: `session/event` + `session/flush`
- UI: `agent/stream-chunk` + `agent/*` events
- UI: `session/event` (assistant token stream, boundaries, tool activity) + `agent/*` control events (`agent/status`, `agent/created`/`agent/disposed`)
-1
View File
@@ -52,7 +52,6 @@ Tool interception is the `tools/pre-execute` / `tools/post-execute` pair in [`ds
#### Streaming + tool (emit)
- `agent/stream-chunk` — raw chunk from the model (token-level UI/log feed)
- `agent/steering` — steering content injected mid-turn
- `agent/error` — step/turn error