Commit Graph

4 Commits

Author SHA1 Message Date
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 6ed202f029 feat: rename settings section to Better Chat and make approval shortcuts configurable
The settings section is now 'Better Chat' in both dictionaries.

Approval key bindings are configurable in that section and persisted under dsh.better-chat.v1: click a keycap and press the new combination. Allow-type actions stay on Enter and reject on Esc; modifiers are free. Always-allow can be cleared, and a restore-defaults button resets everything. Invalid base keys, modifier-less always-allow and conflicts are rejected with inline copy.

The approval routing and the key hint read the live bindings, and saving dispatches better-chat:bindings-changed so the card hint rebuilds without a restart. Adds bindings tests and extends the approval/key-hint tests; version 0.4.2.
2026-11-12 22:20:29 +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