Commit Graph

5 Commits

Author SHA1 Message Date
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 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
QQ bafa057457 chore: remove all dsh-better-display remnants (reader source/docs/license/routes) 2026-11-22 19:55:18 +08:00
QQ 1b3bb75a0f feat: merge dsh-better-display reading view into dsh-better-chat
One package, one Web client artifact (id dsh-better-chat) now ships both the reader view and the chat enhancements (approval Enter/Esc, permission UI, plugin-store update button).

- vendor dsh-better-display 0.3.12 sources, docs, skills and tests; host entry is src/host.ts, client entry src/client/index.tsx -> reader-plugin.tsx
- switch the build to tsdown with the dshx 0.9.7 client bundle adapter vendored under tools/; target platform table pinned to dsh-v0.2.2-rc.2
- keep Safari -webkit-backdrop-filter in the built reader CSS
- port chat tests to vitest (tests/chat); re-baseline the upstream reader suite on the merged layout
- bump to 0.4.0 and document the merge, provenance and toolchain
2026-11-12 21:54:14 +08:00