ewoowe/dsh-session-messages-plugin ↗★ 0

dsh-session-messages

键盘驱动的会话消息列表浮层,可浏览并跳转到当前会话中的消息。 适合在长会话中快速定位消息的终端用户,用快捷键打开列表跳转。

套件
dsh-session-messages
相容性
待驗證
Harness 依賴範圍
*
Cordis 依賴範圍
*
版本
0.1.2
授權
MIT
最近更新
2026年9月13日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ewoowe/dsh-session-messages-plugin

Usage

InputEffect
Ctrl+SOpen / close the message list
↑ ↓Move the highlight
Alt+↑ ↓, PageUp PageDownPage: the list scrolls one screenful while the highlight holds its place (it meets the edge at either end); with a maxRows small enough to fit one screen, pages switch whole
EnterJump to the highlighted message
Mouse move / clickMove the highlight / jump
WheelMove the highlight, one row per notch; a trackpad accumulates its much smaller travel into whole rows. Direction follows wheelInverted
EscClose

The paging Alt is ⌥ Option on macOS — the same physical key — and the hint bar prints whichever name the platform uses. On a MacBook with no dedicated paging keys, Fn+↑ ↓ works: macOS translates it to PageUp / PageDown.

Configuration

Edit the config: block of cordis.patch.yml, or override it by id session-messages in the profile's own cordis.patch.yml. The shortcut is not hardcoded in the source:

FieldDefaultMeaning
keysThe lowercase form of KeyboardEvent.key
ctrltrueWhether Ctrl is required
altfalseWhether Alt is required
shiftfalseWhether Shift is required
metafalseWhether Meta is required (Cmd on macOS, Win)
wheelInvertedfalseWheel direction. Off: scrolling up selects the previous row; on: scrolling up selects the next
maxRows50Most rows the list renders at once; the window follows the highlight a page at a time, so this doubles as "rows per page"
showHudfalseWhether the viewport strip is shown in the session header (see below). Off by default

For Cmd+S on macOS: ctrl: false, meta: true.