Commit Graph

15 Commits

Author SHA1 Message Date
QQ fa18351a16 release: v1.0.3 2026-11-14 17:58:11 +08:00
QQ 7774d6fc28 fix: mount auto-review listeners through ctx.inject so the host activates on a clean profile (v1.0.2)
Cordis throws when a service is read before it is declared in inject:
'cannot get property "permissionPresets" without inject'. apply() probed
ctx.permissionPresets first, so a profile without permissionPresets/agents
died during activation and its else-branch ctx.inject fallback was dead code.
The plugin now always wires the listeners through a scoped ctx.inject, which
also re-mounts them when the auto-review services appear later.
2026-11-14 17:21:52 +08:00
QQ 5c80061f08 feat: default new blank sessions to auto-review (v1.0.1) 2026-11-13 10:04:55 +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 3168c2a341 fix: give the merged settings its own locale namespace and section id
The merged plugin reused dsh-better-display's settings.section id and locale namespace (better-display). While the standalone display plugin is still installed, both registrations collide and the later one wins, so the settings title flips between Better Display and Better Chat depending on load order.

Use better-chat for both the section id and the locale namespace; the standalone plugin can no longer overwrite the merged section. README now states the standalone plugin must be removed while updating. Version 0.4.3.
2026-11-12 22:26:40 +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 a4844006a6 feat: show approval key hints and add Ctrl/Cmd+Enter always-allow
Option A from the preview: the action row shows Enter <allow label> / Ctrl+Enter <always label> / Esc <reject label>. Labels come from the card's real buttons, the hint is pointer-transparent and aria-hidden, disappears when the card is answered and is rebuilt after React re-renders.

Ctrl+Enter (Cmd+Enter on Apple platforms) clicks the always-allow button, only when the card has one; the official card ignores modified keys, so the chord is handled even while focus is inside the card. Typing in an input still suppresses everything.

Adds tests/chat/key-hint.test.ts and extends the approval-key decisions; version 0.4.1.
2026-11-12 22:12:07 +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
newbie f2f11528bd fix: stop overwriting existing session permissions 2026-11-12 18:52:16 +08:00
QQ 6ced231bf4 Import package.json 2026-11-12 12:12:28 +08:00
QQ 2a7a068358 Import package.json 2026-11-12 10:46:55 +08:00
QQ 7fc3e56fe2 Import package.json 2026-11-11 23:38:56 +08:00
QQ 3e125c6653 Import package.json 2026-11-11 22:52:35 +08:00
QQ b866e397f2 Import package.json 2026-11-11 22:29:36 +08:00