PerryLink/dsh-composer-history15

dsh-composer-history

Terminal-style input history for the DeepSeek Harness web composer: edge-first arrows with exact draft/caret restore, browser-local persisted history, Ctrl+R reverse search, workspace-scoped recall, and fully configurable keys — plus sliding-context awareness (compaction summaries join recall/search, a compaction notice with one-click /compact fill) layered on the ordinary composer draft only.

AI 분석

适合需要终端风格的输入历史回溯、反向搜索及草稿恢复的Web端用户。

패키지
dsh-composer-history
버전
0.8.2
라이선스
Apache-2.0
최근 업데이트
2026. 9. 12.

설치

$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 settings document). An id-targeted override replaces the whole row — restate every key you need. Invalid enum values fail the whole dsh boot loudly.

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