feat(web/claw): render the reply, not the tool calls or the thinking
android / debug (push) Successful in 2m17s
android / release (push) Successful in 2m5s
ci / checks (push) Successful in 1m0s
ci / test (push) Successful in 37s
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m21s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m23s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 13s
ci / publish-edge-chart (push) Successful in 3s
android / debug (push) Successful in 2m17s
android / release (push) Successful in 2m5s
ci / checks (push) Successful in 1m0s
ci / test (push) Successful in 37s
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m21s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m23s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 13s
ci / publish-edge-chart (push) Successful in 3s
The web transcript was built to mirror the TUI: every tool call as a shell line or a glyph row, the thinking trace between them, each at the position the stream delivered it. That is the right shape for a terminal session you sit and watch. On the web it reads as machinery in front of the answer, and the answer is what the page is for. `TurnEntries` now keeps only the two entries the reader must handle: a consent card (the agent is waiting on an answer, so hiding it would stall the turn) and an attachment card (the file it handed over). Everything else in the turn renders as the reply, through `AppMarkdown`. The mirror in `useTranscript` still folds tool and thinking events; only the render ignores them. Replay, the pending-echo dedupe and consent placement keep working unchanged, and the bottom-pin watch loses the thinking-length term it only needed while that block took height. `TurnToolRow` had no other caller and goes with it.
This commit is contained in:
1 parent
268917646e
commit
c56f544993
4 files changed
+30
-159
No files matched your search
+9
-4
@@ -90,6 +90,11 @@ Two consequences worth knowing before changing this code:
|
||||
|
||||
## What the transcript does with the stream
|
||||
|
||||
- **Replies, asks and files only.** The stream carries tool calls and
|
||||
the model's thinking trace; this surface drops both and renders the
|
||||
reply. A consent card and an attachment card still appear inline,
|
||||
because the reader has to answer or open them. The mirror still
|
||||
folds those other events; only the render ignores them.
|
||||
- **Long pastes travel as chips.** A paste over three lines (the TUI's
|
||||
`PASTE_INLINE_LINES`) never lands in the composer; it stages as a
|
||||
droppable chip (`▣1 42L`) and embeds into the sent text as
|
||||
@@ -175,10 +180,10 @@ app/
|
||||
raw HTML escaped, styles in main.css .md)
|
||||
ClawBanner.vue the one error/notice banner surface
|
||||
ChatPanel.vue transcript: sent lines (paste chips),
|
||||
streamed turns as bash shell lines and
|
||||
glyph rows, consent + attachment
|
||||
cards; the growing composer; agent
|
||||
replies render through AppMarkdown
|
||||
streamed turns as reply text plus
|
||||
consent + attachment cards; the growing
|
||||
composer; agent replies render through
|
||||
AppMarkdown
|
||||
SessionsSidebar.vue conversable dispatch keys (phone status
|
||||
keys hidden), interactive first; the
|
||||
+ form creates a session
|
||||
|
||||
Reference in new issue
Block a user