Commit Graph

7 Commits

Author SHA1 Message Date
QQ 3fa55c72c3 fix: tag reader answer rows with official assistant-step attributes
dsh-btw resolves a text selection by walking up to the nearest data-chat-flow-kind row; reader answer articles lacked it, so the side-ask menu never opened. AssistantNode now publishes data-chat-flow-kind=assistant-step, a per-part data-chat-flow-key, data-chat-node-key and data-chat-turn while keeping data-reader-* intact. data-chat-anchor-key stays unpublished so rewind-cut.ts keeps sole ownership of rewind hiding.

Tests: chat-seat unit tests for the exact attributes and a wiring assertion on the article; full suite 34 files / 241 cases green.
2026-11-28 11:16:16 +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
QQ bafa057457 chore: remove all dsh-better-display remnants (reader source/docs/license/routes) 2026-11-22 19:55:18 +08:00
QQ 010a3d4e8b release: v1.0.0 — first usable release 2026-11-12 23:06:00 +08:00
QQ eeac9d7e2a feat: remove the generative-mcpapps skill detection block
The skill status/install section is gone, together with its client probe, the host /better-display/skill-status route, the skill scanning implementation, the bundled skills/generative-mcpapps pack, its copy strings and tests. Reader still renders mcp-app fences the model emits; it just no longer detects or guides installing that skill.

Version 0.4.4.
2026-11-12 22:40:35 +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