PerryLink/dsh-composer-history ↗★ 16

dsh-composer-history

终端风格的输入历史记录与搜索 适合需要精确恢复草稿、反向搜索及工作区历史召回的重度输入用户。

套件
dsh-composer-history
相容性
待驗證
Harness 依賴範圍
>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0
Cordis 依賴範圍
^4.0.3
版本
0.8.7
授權
Apache-2.0
最近更新
2026年9月25日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-composer-history

Configuration

All tunables are Schemastery Config fields (changeable from cordis.yml and the entry's settings form; the profile patch is the persisted document). An id-targeted override replaces the whole row — restate every key you need. Invalid enum values fail the whole dsh boot loudly, and a settings-form edit is validated by the host before it persists.

KeyDefaultMeaning
recallWithDraft'save'Recall mode (save / gate): save stashes a non-empty draft before recall; gate recalls only an empty draft (Claude/Codex-style gating)
restoreOnEscapetrueRestore the stashed draft when Esc ends browsing
edgeMode'logical'Edge detection mode (logical / visual): by \n lines or by measured wrapped lines
enableCtrlAliastrueLet Ctrl+↑/↓ behave like the bare arrows
restoreCarettrueAlso restore the stashed caret on bottom-out / Esc
upKey'ArrowUp'KeyboardEvent.key that recalls upward; '' disables
downKey'ArrowDown'KeyboardEvent.key that walks newer / restores; '' disables
escapeKey'Escape'KeyboardEvent.key that escapes browsing; '' disables
maxHistory500Maximum recalled entries (newest kept); 0 = unlimited
includeKinds['user']Conversation node kinds admitted into the history (add 'steering' to include steer messages)
historyScope'session'History scope (session / workspace): workspace prepends other listed sessions' user messages before the current session's
persistHistorytrueAppend sent messages to the browser-local store
maxPersisted200Maximum persisted entries; 0 = unlimited
enableSearchtrueEnable the Ctrl+R reverse-search overlay
searchKeys['Ctrl+R']Chord specs opening the search (modifiers Ctrl/Alt/Meta/Shift + a key name); a malformed spec fails the browser fiber loudly
searchCaseSensitivefalseWhether search matching distinguishes letter case
includeCompactionSummariestrueAdmit [compacted] … checkpoint summaries into recall and search
showCompactionNoticetrueShow a transient notice when a compaction checkpoint lands
compactCommandText'/compact'Slash command the notice's "Compact now" action fills into the composer; '' hides the action
enableSnippetstrueEnable the snippet library (/save, /load, search-panel picking)
maxSnippets200Maximum stored snippets; 0 = unlimited
enableTemplatestrueEnable the prompt-template library (variables fill at insertion)
enableInsightstrueEnable the reuse-insight hint (local usage statistics)
insightMinUses2Minimum uses before the reuse hint shows
enableCompactionHighlighttrueBadge [compacted] … summaries distinctly in the search panel