DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-capture-window

Y

dsh-capture-window

Manifest valid

DeepSeek Harness Bypass Capture Plugin: casually toss your ideas into a separate, quiet new session without interrupting the main context.

UI (client)hasBundlePatch

dsh-capture-window(旁路捕获窗 + /recall 引擎)

把一条「发散想法」投进一个安静的独立新会话,不触碰主线上下文、不切主线视图。

  • 捕获窗:Ctrl+Shift+K 或右下角「⚡ 捕获」浮标呼出,可拖拽,深色模式适配。
  • 三种上下文模式:白纸 / 选择 / 近 10 条对话(默认近 10 条)。
  • 近 10 条:自动压缩当前会话最近 10 句,注入新会话作为「非回复背景」。
  • 对话视图:新会话内直接继续聊(Enter 排队 / Ctrl+Enter 插队 / Shift+Enter 换行),内嵌模型选择。
  • 便利贴:临时暂存想法(内存态,关闭窗口即清空)。
  • 会话落地:新会话继承当前目录/工作区,不会跑到「未分组」。

结构

dsh-capture/
├── src/host/index.ts     host 引擎:/recall 命令(近10条压缩 → 新建会话 → inject+followup)
├── src/client/index.ts   捕获窗 + 对话视图(官方 connection.api 数据层)
├── tsconfig.json         host 编译(tsc → lib/index.js)
├── tsdown.config.mjs     client 打包(→ dist/client.cjs)
└── install.ps1           构建/安装/接线/重启提示

架构

  • host 半边:包的默认导出(main: lib/index.js),由 cordis 插件 loader 加载。注册 /recall 命令,负责压缩、建会话、注入上下文(这些需要 host 侧的 llm.stream 与 agent.inject)。
  • client 半边:dsh.client 声明 + exports["./client"](dist/client.cjs),走官方 ctx.connection.api(sessions.history/prompt/models/selectModel、llm.*、events.host/mux)与 connection.rpc(选择模式由 host 侧过滤消息,避免下发 chunk 碎片),无私有 harness RPC。
  • 纯外挂:不改官方源码,只用官方公开的 Service / 事件 / Slot / API。

安装

方式一:一键安装(推荐)

dsh plugin --profile web add dsh-capture-window

(dsh 即 npx @deepseek-ai/dsh。)装完重启 npx @deepseek-ai/dsh web,按 Ctrl+Shift+K 呼出捕获窗。

原理:本包声明了 dsh.bundle.patch,dsh plugin add 会自动把它注册进 dsh.profile.bundles,无需手动改 cordis.patch.yml。

方式二:源码安装

cd dsh-capture
.\install.ps1

脚本会:装依赖 → tsc 构建 host → tsdown 构建 client → pnpm add 装进 ~/.dsh/profiles/web → 在 cordis.patch.yml 追加插件行 → 提示重启。

信任边界

  • 召回上下文只做「忠实压缩」,不接受改写;注入内容标记 plugin/recall 来源(非回复 prelude)。
  • 会话本体由 DSH 持久化:关闭窗口 / 刷新 / 重启不会删除或归档已创建的会话;只有「便利贴」和本次运行期间的「最近列表」是内存态。

Compatibility

DSH 0.1.5-rc.2: failedDSH 0.1.7-rc.1: failedDSH 0.2.1-alpha.5: failed

Versions

Latest versionPublishedSize
1.0.0——
1.0.1——
1.0.2——
1.0.3——
1.0.4——
1.0.5——
1.0.6——
1.1.3——
1.1.4——

Comments

Loading…

Similar plugins

dsh-selfwake

by S3K926

DSH(DeepSeek Harness)插件:到点主动开口 —— 四道闸(间隔/安静/未回话上限/静默时段)过了就挑一条开口,优先投进活跃会话,投不进发系统通知 + 写日志。MIT。

Tools & CapabilitiesSessions & MessagesManifest valid

★ 21

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-selfwake

by luckamuu

DeepSeek Harness 插件:提供删除已归档会话的入口(可以彻底删除不会在次出现)

Manifest valid

★ 0

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add @local/archived-sessions

by viplocco

DeepSeek Harness 消息级删除插件,用于避免用户误发或错误的助手消息污染会话上下文。

Development & InfrastructureManifest valid

★ 3

↓ 58/wk

MIT

JavaScript

Sep 9, 2026

dsh plugin --profile web add dsh-delete-message

by LeoAndJellyfish

DeepSeek Harness 侧边线程对话插件,支持独立回复面板、持久化草稿和可选 Slack 风格界面。

Manifest valid

★ 0

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add dsh-threads

by chopperH0824

DeepSeek Harness 会话搜索栏插件:按关键词搜索历史会话的消息正文,点结果直接定位到命中文字。

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-session-search-bar

by LRainner

为 DeepSeek Harness 提供不隶属于任何工作区的独立会话,复用原生输入区,并带独立侧边栏面板。MIT。

Manifest valid

★ 0

MIT

TypeScript

Oct 23, 2026

dsh plugin --profile web add dsh-plugin-standalone-session