DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-session-palette

Session Palette

适用于 DeepSeek Harness 的 Spotlight 风格会话切换器:按一个快捷键,搜索所有会话,按 Enter 键切换。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:alexmaze/dsh-session-palette#ce38b5d6682dd0b152e2ce1b4e08bc86e4f0f91e
README兼容性版本

兼容性与来源证明

Session Palette 以 dsh-session-palette 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/26

版本

0.1.0stable
2026/10/26

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层

README

dsh-session-palette

English | 简体中文

A Spotlight / Alfred-style session switcher for DeepSeek Harness.

Press ⌘⇧P (Ctrl+Shift+P on Windows/Linux), type a keyword, and jump to any session across every workspace. Nothing to type? The panel lists all sessions, newest first. ↑ / ↓ to select, Enter to switch.

Session Palette — light theme Session Palette — dark theme

┌────────────────────────────────────────────────────────────┐
│  🔍  Search sessions or workspaces…                  esc   │
├────────────────────────────────────────────────────────────┤
│  ▢  Fix the expired login state                      ↵     │
│     default-workspace · 3h ago · 1.2M tokens                │
│  ▢  Refactor the plugin loader                              │
│     dsh-core · yesterday · 86.4K tokens                     │
│  …                                                          │
├────────────────────────────────────────────────────────────┤
│  15 sessions                  ↑↓ select  ↵ open  esc close  │
└────────────────────────────────────────────────────────────┘

Features

  • One global shortcut — ⌘⇧P / Ctrl+Shift+P; rebind it in Settings → Keyboard Shortcuts.
  • All sessions by default — an empty query lists every session, ordered by the latest conversation.
  • Search across everything — session title, workspace name, working directory, and session ID; multiple space-separated terms are ANDed and matching is case-insensitive.
  • Keyboard-first — ↑ / ↓ to move, PageUp / PageDown to page, Home / End to jump, Enter to switch, Esc to close. Press the shortcut again to dismiss the panel.
  • At most 10 rows visible — longer results scroll inside the panel and the active row is kept in view.
  • Useful metadata per row — session title, workspace, relative time of the latest conversation, and total token consumption.
  • Token breakdown — hover the consumption figure to see input, output, cache-read, and cache-write totals.
  • Sensible filtering — subagent sessions, blank "New Session" rows, and archived sessions are hidden, because they cannot be switched to directly.
  • Live data — the list follows session list and projection updates while the panel is open; missing tokenUsage projections are loaded on demand for the visible rows.
  • Bilingual UI — follows the DSH locale (English / 简体中文).

Install

Requirements: DSH 0.2.x with UI plugin support (tested with 0.2.1-rc.2), on Desktop or Web.

Install the tagged release directly from GitHub:

# Desktop
dsh plugin --profile desktop add "github:alexmaze/dsh-session-palette#v0.1.0"

# Web
dsh plugin --profile web add "github:alexmaze/dsh-session-palette#v0.1.0"

The CLI installs the package and appends its bundle layer to the profile's dsh.profile.bundles. If the bundle is not enabled automatically, enable Session Palette on the Plugins page. If the running window has not picked the plugin up yet, refresh the page (⌘R) or restart the app.

You can also install it through the UI: Plugins → Add plugin and paste

github:alexmaze/dsh-session-palette#v0.1.0

Git installs are pinned to the ref you pass. To update, remove the package and add a newer tag or commit. To uninstall:

dsh plugin --profile desktop remove dsh-session-palette

If the plugin's row remains in dsh.profile.bundles, remove it there or disable it on the Plugins page.

Usage

KeyAction
⌘⇧P / Ctrl+Shift+POpen / close the palette
↑ / ↓Move the selection
PageUp / PageDownMove by 10 rows
Home / EndFirst / last row
EnterSwitch to the selected session
EscClose the palette
Click a rowSwitch to that session
Click the backdropClose the palette

Notes:

  • The shortcut is a normal DSH command: it appears in Settings → Keyboard Shortcuts, participates in conflict detection, and can be rebound per device/platform.
  • On Linux Web the default is intentionally unbound because browser key restrictions differ; assign a key in the settings page.
  • Some browsers reserve ⌘⇧P / Ctrl+Shift+P for printing or other actions. The Desktop app is the recommended way to use this plugin; if the Web binding is swallowed by the browser, pick another key.

What "total consumption" means

The figure comes from the tokenUsage session projection, summing four provider-reported buckets:

uncachedInputTokens + outputTokens + cacheReadTokens + cacheWriteTokens

This is a token total, not money. Cache hits are included, so the number is usually much larger than input + output alone. Hover the figure for the four-way breakdown.

How it works

  • The host half is a nearly empty Loader row. Its job is to make @deepseek-ai/dsh-client-modules discover the package's browser half through the dsh.client declaration.
  • The browser half is shipped as a lazy-CJS bundle (window.__ModuleLoader__.load({ id, factory })) and only depends on shell platform modules: react and @deepseek-ai/dsh-client-store.
  • Session data comes from the global ctx.sessions.list; workspace ownership comes from ctx.workspaces.list (sessionIds is authoritative); switching calls ctx.uiWorkspace.openSession(sessionId).
  • The shortcut is registered with ctx.shortcuts.register(); the panel is registered into the shell.overlay slot and marked with data-shortcut-modal="session-palette", so background shortcuts are blocked while it is open, while the palette's own shortcut toggles it closed.
  • Rows without a cached tokenUsage value trigger ctx.sessions.refreshProjections() for the visible window and update live when the projection arrives.

Package layout:

dsh-session-palette/
├── package.json          # dsh.bundle + dsh.client declarations
├── cordis.patch.yml      # inserts the single Loader row
├── lib/index.js          # host half (no host behavior)
├── lib/client.js         # browser half: shortcut, overlay, search, switch
├── locale/{en,zh}.json   # Plugins page display metadata
├── icon.svg              # Plugins page icon
├── test/client.test.mjs  # pure row/search/format + registration tests
└── .github/workflows/    # CI: syntax check + unit tests

Development

No build step is required: the host entry is plain ESM and the browser entry is a self-contained lazy-CJS bundle.

git clone https://github.com/alexmaze/dsh-session-palette.git
cd dsh-session-palette

# Link the working copy into a development profile
dsh plugin --profile web add "link:$PWD"

node test/client.test.mjs

Edit lib/client.js, then refresh the DSH page (or rely on HMR if it is enabled). The test suite covers row filtering (archived / subagent / blank), multi-term search, workspace ownership, token totals (including the legacy totals wrapper), time formatting, and shortcut/slot registration.

Compatibility and limitations

  • Tested with DSH 0.2.1-rc.2 on macOS. The plugin uses the public client plugin, shortcut, session, workspace, and overlay APIs. DSH's plugin API is still evolving; if a future release changes these surfaces, the plugin may need an update.
  • Archived sessions are hidden because DSH requires unarchiving before they can be opened. Subagent sessions and blank New Session rows are hidden as well.
  • Token usage can lag for cold sessions without a projection cache. The row shows — until the lazy projection load completes.
  • No monetary cost is shown because DSH does not expose per-model pricing to the client.

License

MIT © Alex Yan