Repository navigation
Releases
v0.2.10 — keep the caret after quoted chips
Fix the composer caret jumping to the beginning after inserting a quote chip on DSH 0.1.7. Focus through the scoped DSH input facade so Lexical restores the selection after the chip. Includes regression coverage for repeated quotes.
PR: #12
v0.2.9 — DSH 0.1.7 native quote compatibility
Fixed
- Restore native quote chips on DSH 0.1.7 by resolving the selected session through
uiSession.adapter.current. - Use the scoped context exposed by
sessions.binding(key).ctxbefore calling the conversation input facade. - Keep compatibility with older DSH session selection and scope APIs.
- Avoid inserting unscoped raw quote text when no active session binding exists.
Full details: #11
v0.2.8 — Reliable chip insertion
Reliable chip insertion
dsh-quote-followup 0.2.8 fixes quote provenance across messages and moves chip insertion onto the supported input facade.
Highlights
- Attribute a quote to a role/turn only when both ends of the selection sit in the same marked chat row — cross-message quotes remain usable without misleading provenance
- Insert native quote chips through the session-scoped conversation input facade (
insertReference) instead of Lexical private node/state fields - Declare the
sessionshost service properly — its missing inject was making quoting fail outright on current DSH builds - Respect draft revisions and phase guards: edits rejected by admission no longer fall back to raw text; only a missing facade degrades to the text path
- On insertion failure, restore the selection, show localized feedback, and keep the excerpt available for retry
- Clear stale pending selections when dismissed; cover repeated chips, draft offsets, and rejected edits in the fake-DOM harness
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAdd the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup
v0.2.7 — Design-token quote button
Design-token quote button
dsh-quote-followup 0.2.7 restyles the floating quote button with DSH design tokens.
Highlights
- Replace hard-coded inline styles with a versioned injected stylesheet: an idempotent
<style>element indocument.head, replaced on hot-swap and removed on dispose - Theme-aware pill (28px, radius 14px, inline-flex) built on
--dsw-alias-*tokens with the old look as fallbacks - Hover / active / focus-visible states and a 0.12s pop animation
- Center the button on the measured offset width instead of fixed offsets
- The regression harness asserts stylesheet injection and version tracking
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAdd the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup
v0.2.6 — Localized roles, hardened codec
Localized roles, hardened codec
dsh-quote-followup 0.2.6 localizes the serialized quote frame and makes malformed quotes safe to send.
Highlights
- Localize the user/assistant role labels in the serialized frame (zh/en) instead of hardcoding English
decodeQuotereturnsnullfor malformed or legacy refs instead of throwing — serialize and clipboard text degrade to an empty projection and the send path keeps working- Share the ancestry-walk helpers (
walkAncestors,isValidTurn) across role detection, turn detection, and quote serialization - Sync AGENTS.md and ARCHITECTURE.md with the real
injectlist, codec constant, and degradation contract - Extend the regression harness: real state-symbol singleton takeover, the Firefox synthetic-clipboard path, role localization, and malformed-ref degradation
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAdd the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup
v0.2.5 — Quotable turns
Quotable turns
dsh-quote-followup 0.2.5 adds conversation-turn provenance to the native select-to-quote workflow.
Highlights
- Resolve the conversation turn from the selected chat row and carry it into the serialized quote frame
- Let the model address what you quoted:
> [Quote · conversation · turn 3](zh:第 3 轮) - Keep the chip visual unchanged — the turn lives only in the serialized Markdown the model reads
- Degrade gracefully: selections without a turn marker keep the provenance-free frame
- Stay text-only: the turn is a number, not a session-message reference, so compaction and session rotation cannot break quotes
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAdd the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup
v0.2.4 — Native quote chips
Select. Quote. Follow up.
dsh-quote-followup adds native select-to-quote interaction to DSH Web.
Highlights
- Select any conversation excerpt from the transcript
- Insert it as a compact, atomic DSH reference chip
- Show only the excerpt while the conversation bubble icon carries the quote meaning
- Quote multiple excerpts without replacing the existing draft
- Follow the active DSH locale for the floating action and serialized quote frame
- Expand each chip into a model-readable Markdown blockquote on send
- Fall back to plain text when native chip support is unavailable
- Work through a browser-independent path verified on Chromium and Firefox
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAdd the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup
v0.2.3 — Native quote chips
Select. Quote. Follow up.
dsh-quote-followup adds a native select-to-quote workflow to DSH Web. Select any excerpt in a conversation, click ❐ Quote, and continue with a focused follow-up from the composer.
What's new in 0.2.3
- Render selected excerpts as native DSH conversation-reference chips
- Reuse the same atomic
ReferenceChipNodeinteraction as@fileand@session - Quote multiple excerpts without replacing the existing draft
- Expand chips into model-readable Markdown blockquotes on send
- Fall back to plain-text quotes when native chip support is unavailable
- Use a browser-independent insertion path verified on Chromium and Firefox
Install
Requires DSH >=0.1.2-rc.1.
dsh plugin --profile web add dsh-quote-followupAfter installation, add the package to the Web profile bundles, restart dsh web, and reload previously open browser tabs.
Full documentation: https://github.com/tr1v3r/dsh-quote-followup