DeepSeek Harness Plugin

SpookySandwich/dsh-plugin-no-workspace

Stars ★ 5 Downloads (30d) 2,847 Category Sessions & Messages Added 2026-08-24 npm dsh-plugin-no-workspace

Start and detach standalone chats without a mandatory workspace, keeping DSH's native workspace UI intact.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-plugin-no-workspace

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:SpookySandwich/dsh-plugin-no-workspace

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

No Workspace for DSH

Let a conversation stand on its own instead of forcing it into a folder.

English · 简体中文

CI

True first-class workspace-free conversations for DeepSeek Harness, without replacing its native workspace experience.

No Workspace demo

Choose “No Workspace”, then collapse the real workspace—the standalone conversation remains directly in the sidebar.

What it fixes

DSH normally places every conversation in a workspace, or renders unassigned conversations under an extra “Ungrouped” folder. This plugin makes “not attached to a workspace” a real first-class state: standalone conversations appear directly in the sidebar, without a synthetic folder and without silently inheriting the active workspace.

Scenario With this plugin
Click the global New Session button Creates a standalone conversation without inheriting a workspace
Choose No Workspace in the native picker Detaches the current conversation without losing history
Collapse a real workspace Standalone conversations remain visible at the top level
Open an empty standalone conversation Composer, model picker, attachments, and send are immediately available
Use native workspace features Search, menus, drag-and-drop, sorting, archive, and directory selection remain intact

Install

dsh plugin --profile desktop add dsh-plugin-no-workspace

Install from a local checkout or package:

dsh plugin --profile desktop add ./dsh-plugin-no-workspace
# or
dsh plugin --profile desktop add ./dsh-plugin-no-workspace-1.5.2.tgz

Restart DSH after installing or upgrading so both host and client code reload.

Design principles

  • Keep the native sidebar — adapt the shared creation action while retaining DSH's components and shortcut dispatch.
  • Never invent a folder — hide only the synthetic “Ungrouped” container while separating standalone conversations from workspaces above with a localized “No Workspace” / “无工作区” heading in the native style and section spacing. Preserve native status slots so blank, populated, and running conversation titles align.
  • Preserve conversation data — detaching updates only workspace indexes, keeping events, drafts, and context intact.
  • Use a neutral working directory — new standalone conversations start from the user's home directory.
  • Respect the current language — the UI follows DSH with “No Workspace” or “无工作区”.

How it works

The host adds small endpoints for standalone creation and lossless detaching. The client changes only three behaviors: global session creation, the composer gate for standalone sessions, and the native workspace picker. Icons, disclosure arrows, menu placement, and session rows continue to use DSH's native layout and interactions.

Verification

npm ci
npm test
npm run check:package

Automated tests cover host behavior, the DSH 0.2 navigation contract, and persistence. npm run test:e2e creates and removes its own temporary Web profile and headless browser. It checks real session creation, Agent Preset Creator and draft-initialization options, the native Web shortcut, explicit workspace selection, draft transfer, detachment, and the standalone sidebar section's localized Chinese/English heading, native heading typography, and conversation title alignment. Set DSH_QA_MODULES to an official DSH 0.2.2-rc.5 (or 0.2.2-rc.4 / 0.2.2-rc.3 / 0.2.2-rc.1 / 0.2.1-rc.5 / 0.2.1-rc.2 / 0.2.0-rc.2) node_modules directory if it is outside this checkout; set DSH_QA_BROWSER to a Chromium/Edge executable if needed. Windows CI runs this test. Results are written to scratch/e2e-current/. No existing DSH profile is used.

Compatibility

Unreleased (current source): Explicitly admits official DSH 0.2.2-rc.4 and 0.2.2-rc.5 in the declared host range, resolving ERESOLVE under default npm prerelease resolution while retaining all previously supported host versions. Adds rc.4 and rc.5 to browser acceptance and the Windows CI matrix; both hosts require Node >=24.9.0. rc.5 only changes how web search picks its provider (DeepSeek models now use server-side search); the plugin does not use web search and needs no code change. On rc.4, a local provider fixture verified CONTENT_REFUSED before output and after partial output: standalone chats remain selectable, survive a host restart, and accept follow-up prompts.

Version 1.5.2: Official compatibility with DSH 0.2.2-rc.3 (retaining full support for 0.2.2-rc.1, 0.2.1-rc.5, 0.2.1-rc.2, and 0.2.0-rc.2). Adds explicit 0.2.2-rc.3 peer/engines admission to satisfy default npm resolution for prerelease versions, and verifies compatibility with the 0.2.2-rc.3 sidebar session action row and workspace picker/import flows.

Version 1.5.1: Style the standalone “No Workspace” / “无工作区” sidebar heading to match DSH's native “Workspaces” / “工作区” section typography and horizontal inset with top section spacing instead of a horizontal divider, and preserve the native leading status slot on standalone conversation rows so blank, populated, and running conversation titles align with workspace conversation titles (fixes #6).

Version 1.5.0: Official compatibility with DSH 0.2.2-rc.1 (retaining full support for 0.2.1-rc.5, 0.2.1-rc.2, and 0.2.0-rc.2). Adds explicit 0.2.2-rc.1 peer/engines admission to satisfy default npm resolution for prerelease versions. Official DSH 0.2.2-rc.1 requires Node >=24.9.0; the plugin retains Node 22 compatibility for older hosts without introducing a global plugin Node floor breaking existing environments. Identifies standalone composer chips via native workspace picker state (anchorRef and selectedId) rather than localized placeholder text matching, reliably maintaining standalone chip labeling and native aria attributes across all host locales (displaying "无工作区" in Chinese and using the existing English fallback elsewhere, without claiming new translation catalogs) and avoiding collisions with real workspaces named "No Workspace", "Choose workspace", or "研究資料"; fully restores native labels and aria attributes upon workspace attachment or plugin disposal.

Version 1.4.0: Official compatibility with DSH 0.2.1-rc.5 (retaining full support for 0.2.1-rc.2 and 0.2.0-rc.2). Adds explicit 0.2.1-rc.5 peer/engines admission to satisfy default npm resolution for prerelease versions. Forwards DraftInitializationOptions.whenDraftExists (keep, append, replace) with full policy precedence and promptless replacement support, incorporating the policy into concurrent request deduplication. Settings Agent Preset Creator reuses only the currently selected standalone blank if its preset matches (or is not yet known), safely preserving existing drafts of other presets without changing their mode; unlike native navigation which can search and reuse other matching workspace blanks across the workspace, the plugin intentionally checks the current selected blank only to prevent unexpected jumps to background standalone sessions. Plain no-options New Session continues to create a fresh default-preset standalone session (in rc.5 native workspace navigation reuses existing workspace blanks, but the plugin's intentional standalone policy keeps standalone chats fresh to prevent unexpected state reuse or leftover drafts).

Version 1.3.1: Add a top separator and live-localized “No Workspace” / “无工作区” section heading to the standalone sidebar block after hiding the native “Ungrouped” project row (fixes #5, preventing standalone conversations from visually running into the last workspace above). Identify the standalone bucket via the native data-row-key="workspace:" attribute instead of row text so real workspaces named “Ungrouped” or “未分组” are never hidden, and clean up section attributes on disposal or row reuse.

Version 1.3.0: Admit official dsh 0.2.1-rc.2 in declared compatibility ranges while retaining 0.2.0-rc.2 support. Keep untargeted uiWorkspace.startSession calls with agentPreset, prompt, and clearPreviousDraft options standalone instead of inheriting a workspace: reuse only the currently selected eligible standalone blank for preset creation (such as the Settings Agent Preset Creator flow) via host /create with sessionId, agentPreset, and cwd while respecting the returned session ID, coalesce identical concurrent option requests, and route standalone draft preparation through conversation.input.requestDraftInitialization with localized Chinese/English blocked-draft notices. Plain no-options New Session now always creates a fresh default-preset standalone blank (matching native DSH 0.2.1-rc.2 and avoiding leftover Creator-mode blanks; on 0.2.0-rc.2, repeated plain New Session presses also create new empty standalone sessions rather than reusing an existing blank; programmatic draft-only global calls without agentPreset reuse the current eligible standalone blank as-is, retaining its existing preset if a leftover Creator-mode blank is still selected).

Version 1.2.1: Adapt shared uiWorkspace.startSession for sidebar, title-bar, and native shortcut actions. Resolve the current conversation from main-view retention and restore native navigation when the plugin unloads.

Version 1.2.0: Update the declared host target to official dsh 0.2.0-rc.2. Session creation still goes through the native Session Controller, and detach still calls workspace.detachSession.

Version 1.1.0: Create durable standalone chats through the native Session Controller. Adapt sidebar component props instead of cached injection results, including the split workspace sidebar.

The declared host range is >=0.2.0-rc.2 <0.3.0-0 || 0.2.1-rc.2 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5; official dsh 0.2.0-rc.2, 0.2.1-rc.2, 0.2.1-rc.5, 0.2.2-rc.1, 0.2.2-rc.3, 0.2.2-rc.4, and 0.2.2-rc.5 satisfy it. Keep the previous plugin release on older DSH. Validation record.

Install published versions from npm. To test the current source, run npm ci and npm pack, then dsh plugin --profile desktop add ./dsh-plugin-no-workspace-1.5.2.tgz. See the release procedure for publication checks.

Current source targets DSH 0.2.2-rc.5 (compatible with 0.2.2-rc.4, 0.2.2-rc.3, 0.2.2-rc.1, 0.2.1-rc.5, 0.2.1-rc.2, and 0.2.0-rc.2). Run npm ci, npm test, and npm run check:package to verify the build and package. Restart DSH after updating.

Version 1.1.0 checked standalone persistence and workspace detachment on DSH 0.1.5-rc.2. Automated tests cover client loading.

License

MIT © SpookySandwich

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.