DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
F

dsh-fastswitch

Fastswitch

Faster Session switching for DeepSeek Harness: dedupes read-only RPCs and makes the first-screen history window configurable.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:guofug/dsh-fastswitch#5cbd33f622fc55849a7f591714aa749981648442
READMECompatibilityVersions

Compatibility and provenance

Fastswitch is published as dsh-fastswitch and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/23/2026

Versions

0.1.0stable
10/23/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
10/23/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in memory-context.

Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。 · Archive, restore, favorite, and permanently delete sessions, and diagnose damaged session logs.Fish Memorydsh-fish-memoryGive conversations in DSH a fading long-term memory, with every entry timestamped.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)Reme Dsh Plugin@agentscope-ai/reme-dsh-pluginReMe memory and context integration for DeepSeek Harness

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