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
F

dsh-fastswitch

Fastswitch

更快地切换 DeepSeek Harness 会话:对只读 RPC 去重,并支持配置首屏历史记录窗口。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:guofug/dsh-fastswitch#5cbd33f622fc55849a7f591714aa749981648442
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/10/23

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。Fish Memorydsh-fish-memory给 DSH 里的会话一份会淡忘的长期记忆,每条都带时间。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Reme Dsh Plugin@agentscope-ai/reme-dsh-plugin面向 DeepSeek Harness 的 ReMe 记忆与上下文集成

README

dsh-fastswitch

Makes switching Sessions in DeepSeek Harness fast. Two things, each independently switchable.

中文:README.zh.md

What it fixes

When you switch a Session, DSH asks the Host for the opening history page. That page has a hard-coded window — at least 50 messages — which on a long conversation arrives as a 2 MB frame. That frame is the wait you feel.

Separately, while the page shells itself, several components each fetch the same read-only catalogs on mount: session/modelCatalog 6 times, credentials/describe 7 times, agentPresets/list 6 times, cotTranslation/limits 3 times. No deduplication, no cache.

dsh-fastswitch makes one change for each, in the browser:

  1. Configurable opening window — rewrites turnWindow.minMessages (50 → 20 by default) on the outgoing session/follow request. The Host validates 0 < minMessages <= maxMessages, so this is a supported request, not a patch. "Load earlier" pages (200 messages) are left untouched.
  2. Read-only RPC dedupe + cache — wraps window.fetch, caching read-only catalog calls for 5 minutes and collapsing concurrent ones into a single flight.

Measured

Same machine, same page, same conversation:

defaultwith dsh-fastswitch
Opening snapshot (one long Session)2,040,432 B1,054,070 B
session/modelCatalog6 calls1 call
credentials/describe7 calls1 call
agentPresets/list6 calls1 call
Total requests on first paint5233

These come from a single measurement; they depend on conversation length and browser cache state, and are not constants.

Install

Search fastswitch in the plugin market, or:

dsh plugin --profile web add github:guofug/dsh-fastswitch

Restart once (or let HMR reload) afterwards.

Configuration

All through localStorage — no config files:

KeyDefaultMeaning
dsh-fastswitch—set to off to disable everything
dsh-fastswitch-window20opening window size; 0 leaves it alone
dsh-fastswitch-ttl300000cache TTL in ms; 0 disables caching
dsh-fastswitch-merge800concurrent-flight window in ms
localStorage.setItem('dsh-fastswitch-window', '10')   // more aggressive
localStorage.setItem('dsh-fastswitch', 'off')          // turn it all off

Checking that it works

window.__dshFastswitch
// { installed: true,
//   ws: { rewritten: 3, untouched: 40 },
//   fetch: { calls: 51, hits: 10, dedup: 8, bypass: 33 } }
  • ws.rewritten should increment once per Session switch;
  • fetch.hits + fetch.dedup is the number of requests saved.

Scope

  • Browser only. Terminals, the SDK, ACP and other clients are unaffected.
  • Modifies no DeepSeek Harness file and no Host behaviour. The window is a rewritten outgoing request; the cache is a browser-side fetch wrapper. Uninstall and everything is back to stock.
  • No Session parking cache. Keeping opened Sessions in memory for instant switch-back would mean operating on Session lifecycle internals, which breaks across versions. Deliberately out of scope.
  • Caching covers read-only catalogs only. No writes, no streaming responses, no auth endpoints.

Compatibility

  • Targets dsh ^0.2.1-rc.2 (see engines.dsh).
  • Both wrappers are idempotent, so HMR reloads do not stack wrappers.
  • If either wrapper cannot be installed it is skipped; the page degrades to stock behaviour instead of breaking.

License

MIT