Commit Graph

12 Commits

Author SHA1 Message Date
QQ a163b7fd32 Bound process frames with an internal scroll area 2026-11-28 19:12:39 +08:00
QQ 2020a6ebc3 Join turn controls and records into one process frame 2026-11-28 18:57:42 +08:00
QQ eec1b3f1a6 Use the host image loader for chat attachments 2026-11-28 16:39:16 +08:00
QQ 268f4c427c Unify the live process frame and clear it on completion 2026-11-28 15:14:00 +08:00
QQ e49b514685 Group thinking and tools and avoid stale host lookups 2026-11-28 15:07:30 +08:00
QQ 4d071ffa66 Align user message actions beneath the bubble 2026-11-28 14:56:21 +08:00
QQ 54d8099004 Keep folded process counts visible 2026-11-28 14:52:53 +08:00
QQ a0366b91cc Frame process records and align the completed summary 2026-11-28 14:49:36 +08:00
QQ 0acf291002 Fix duplicate chat tabs and restore missing image previews 2026-11-28 14:41:59 +08:00
QQ 1d1a1a2162 fix: polish reader chat bubbles, tab fallback and reasoning markdown
- Keep the user bubble at fit-content width: the slot-row stretch rule now excludes the reader's .user bubble, so short messages no longer fill the transcript.

- Add a runtime fallback in chat-view-seat: when clearing the official ChatView View id does not remove its tab, splice the row from the live entries array, remember its index, and restore it in place. Covers immutable/copy entries arrays and repeated retire/restore.

- Render reasoning bodies through the local MarkdownText compact variant instead of plain text, so **bold** markup formats while keeping the data-reader-text-kind=reasoning text-transform hook and word motion.
2026-11-28 12:55:46 +08:00
QQ f5da78063a fix: hide the official ChatView tab without removing its ledger row
Splicing the live conversation.view row made the official disposer early-return, leaking conversation.chat.flow and the Chat store when ui-chat tore down while shadowed. Keep the row (and its official lifecycle) and clear only the View id the tab projection reads; restore it on teardown. A View subscription re-hides a ChatView that ui-chat re-registers.

Tests: real SlotCore cases for shadow/hide, official teardown + re-registration while hidden, repeat retire/restore, and subscriber notifications. Wiring test now guards against reintroducing splice().
2026-11-27 18:43:24 +08:00
QQ 3262d20b6f feat: render the reader inside the chat view (no separate 阅读 tab)
- Restore the reader view sources removed in 1.0.4 (components, styles, markdown/katex renderer, official slot mirrors, text-transform service, motion, timeline, deliverables, MCP cards, settings).

- Register the reader on conversation.view with id chat and priority -10, shadowing the official ChatView; retire/restore the official ledger row so the header keeps one 对话 tab (chat-view-seat.ts).

- Drop the forced View switch; entry.tsx stays unused. Host reveal/metrics routes remain removed.

- Restore pure reader unit tests; add chat-view-seat (including real SlotCore) and wiring tests. Docs/README/CHANGELOG for 1.1.0.
2026-11-27 18:33:54 +08:00