dsh-screen-switcher
Manifest validCtrl+Tab switcher over every visited screen — Sessions, Settings sections and plugin pages — shown while Ctrl is held; release to switch, Esc to stay. Browsers reserve Ctrl+Tab for their own tabs, so
dsh-screen-switcher
Ctrl+Tab for DeepSeek Harness, the way Alt+Tab works on the desktop.
Hold Ctrl and press Tab: an Alt-Tab-style list of every place you have been appears — sessions, Settings sections, the Plugins page and a plugin's own page — most recently visited first. Each further Tab moves down the list, Shift+Tab moves back, and releasing Ctrl goes to the highlighted place. Esc cancels. A single Ctrl+Tab-and-release returns to the previous session.
What makes it different
The community catalog already has session cyclers and tab bars. This plugin is the one that shows the list while Ctrl is held — nothing switches until you release, and Esc leaves you exactly where you were. Places are more than sessions: a Settings section and a plugin's page are places of their own, and returning to them restores that section and that plugin card. No new chrome, no extra windows — one chord, one overlay.
What counts as a place
| Place | How it is read | How it is restored |
|---|---|---|
| Session | the Session the main view retains (ctx.sessions.list) | ctx.uiWorkspace.openSession() |
| Page | the selected global panel (ctx.layout.panelInfo) | ctx.layout.selectPanel() |
| Plugin page | the Plugins page's own store (view, tab) | that store's setView/setTab |
| Settings | the Settings shell store (open, activeId) | its open()/openSection() |
Each Session row carries the sidebar's own status dot: yellow if it waits for an approval, a plan review or an answer, a spinner while it runs, green when it finished with unread output, grey when idle.
Visited places persist in localStorage under dsh.screen-switcher.v1, so the
switcher still knows your recent screens after a reload or restart. The list
has no fixed size: a place stays until it stops existing. Deleted and archived
Sessions and Settings sections that are no longer registered are dropped from
both the list and the stored document when the switcher opens. Visiting a
plugin card whose package is gone from the Plugins page drops the place once
that page renders its list, and leaves the list on screen; a page that never
renders a list keeps the place, because nothing proves the package is missing.
Install
Install the directory as a bundle in the current profile — from the Plugin Manager, or with the CLI for a published copy:
dsh plugin --profile "$DSH_PROFILE" add dsh-screen-switcher
Restart the app once after installing a new package; Client code changes made to an already installed copy hot-reload.
Behaviour details
- Ctrl+Tab and Ctrl+Shift+Tab are handled in the page and take priority over editors and dialogs, except inside a terminal pane and while a shortcut is being recorded.
- The list is a shell overlay portalled to
document.body, so it stays on top of the Settings dialog — the place you are leaving is still visible behind it. - Clicking a row switches to it; clicking outside cancels.
- Switching to a Session closes Settings first and clears the selected page.
- A failed navigation (deleted Session, withdrawn page) leaves the list intact and logs one warning; the next open shows where you actually are.
Limits
- Browsers reserve Ctrl+Tab for their own tabs, so the web build only works in the desktop app or in a browser where that shortcut can be delivered to the page.
- Screen history stops at the global page level; the right sidebar (files, terminal, browser) is not part of the list.
- Settings sub-tabs whose state lives inside a section component (for example the read-only inventory tabs under Built-in plugins) are restored to the section, not to the exact tab.
Development
node scripts/verify.mjs # headless: fake Client services, real key events
scripts/verify.mjs loads client.js through the same window.__ModuleLoader__
facade the app uses, then drives Ctrl+Tab against fake services: visited order,
cycling, commit/cancel, Settings reopen, plugin page restore and persistence.
It does not check pixels; the running app is the authority on how the overlay
looks.
No build step: client.js is the browser artifact, written against the module
table the app provides (react, react-dom).
License
MIT
Comments
Loading…
Similar plugins
by Aafff623
Keyboard shortcuts for the DSH Web UI: Ctrl+Q toggles the left sidebar, Ctrl+E toggles the right panel, and Ctrl+S opens Settings. Physical key codes can be overridden in the profile patch.
★ 1
MIT
JavaScript
Sep 9, 2026
dsh plugin --profile web add dsh-keyboard-managerby CHENJIAMIAN
DSH 桌面版 Ctrl+Tab:在当前会话和上一个会话之间来回切 / Toggle between the current and previous DSH session with Ctrl+Tab
★ 0
MIT
JavaScript
Oct 29, 2026
dsh plugin --profile web add dsh-session-switchby YEYEYEYESHIFU
Session hotkeys for the DSH Web GUI: switch sessions like browser tabs (positional Alt+1-9, pinned slots, previous/next, new/archive/rename), keyboard model switching via Alt+M, alternate send and arc
★ 3
↓ 253/wk
MIT
JavaScript
Nov 11, 2026
dsh plugin --profile web add dsh-session-hotkeysby secyborg
Browser-style in-page find bar (Cmd/Ctrl+F) for the desktop app, with highlight-all, a match counter, and a scope picker for the conversation or the right panel.
★ 3
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add dsh-find-barby amstlkqp114514
Desktop tweaks: F11 fullscreen toggle; enables Ctrl+C / Ctrl+V copy and paste in the terminal, both switchable in the General settings.
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-desktop-tweaksby thezavtrak-a11y
DeepSeek Harness Web UI plugin: browser-style tabs for open Sessions - switch, close, reorder by drag, and tear a tab off into a separate window.
★ 0
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add dsh-session-tabs