PerryLink/dsh-composer-history ↗★ 16

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. 适合需要精确恢复草稿、反向搜索及工作区历史召回的重度输入用户。

패키지
dsh-composer-history
호환성
미검증
Harness peer 범위
>=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 peer 범위
^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