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.

Draft Sessions — DSH Plugin for DeepSeek Harness
← Plugins

@yadsh/dsh-draft-sessions

Draft Sessions

Persistent unsent draft sessions for DeepSeek Harness

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

npx -y @deepseek-ai/dsh plugin --profile web add @yadsh/dsh-draft-sessions@0.3.7
READMECompatibilityVersions

Compatibility and provenance

Draft Sessions is published as @yadsh/dsh-draft-sessions and currently resolves to version 0.3.7. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/16/2026

Versions

0.3.7stable
10/11/2026
0.3.6stable
10/8/2026
0.3.5stable
10/4/2026
Show 8 more versionsCollapse versions
0.3.4stable
9/22/2026
0.3.3stable
9/17/2026
0.3.2stable
9/15/2026
0.3.1stable
9/13/2026
0.3.0stable
9/12/2026
0.2.2stable
9/6/2026
0.2.1stable
8/30/2026
0.2.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.3.7
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
368.2 kB
Files
32
Surface
web
License
MIT
Source
npm
GitHub
★ 2
Weekly downloads
391
Security scan
✓ v0.3.7 scan passed
Last push
10/12/2026
View source ↗Project homepage ↗
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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionAb Ocrdsh-ab-ocr--- description: "The out-of-tree ocr tool: recognizes a scanned PDF or image page by page, merges the pages in order only after the last one, and saves one Markdown document with the heading levels the model decided." kind: "package-reference" ---Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

dsh-draft-sessions

Persistent, unsent future conversations for DeepSeek Harness.

dsh-draft-sessions is building the Cursor-like workflow where you can prepare several independent tasks, leave them unsent, and return to each task later without starting an agent.

Русский · 简体中文 · Specification · Architecture · Roadmap

See it in action

With @michengai/dsh-automation

Automation provides the optional cooperative tab host. When it is installed and active, Draft Sessions detects __dshNativeTabs@1 and inserts Drafts between Tasks and Scheduled. There is no hard dependency on Automation and no load-order requirement.

Three independent draft sessions in a cooperative DeepSeek Harness sidebar tab

With Automation installed, unsent tasks live in their own Drafts tab while Tasks and Scheduled keep their existing views.

On stock DeepSeek Harness

Without Automation or another compatible tab host, the standard workspace and session browser stays unchanged. Draft Sessions adds a footer action instead; clicking it opens the same draft list in a popover.

Draft Sessions footer action and popover on stock DeepSeek Harness

The fallback uses the public sidebar footer slot and does not replace the stock workspace browser.

Draft actions

Draft session actions rendered above the sidebar without clipping or extra scrolling

Create a distinct draft with +, then rename, duplicate, or delete it from the row menu.

Installation

Install the published npm package by name:

dsh plugin --profile web add @yadsh/dsh-draft-sessions

Or build and install the package from a local monorepo checkout:

pnpm --filter @yadsh/dsh-draft-sessions build
dsh plugin --profile web add ./plugins/dsh-draft-sessions

The published npm package is recommended when you do not need to modify the source.

To remove the plugin:

dsh plugin --profile web remove @yadsh/dsh-draft-sessions

The intended experience

The original goal was to reproduce Cursor's inline draft experience: unsent tasks and ordinary sessions living together in one workspace tree.

my-project
├─ ● Fix auth middleware
├─ ◌ Add Grafana dashboards       Draft
├─ ◌ Refactor docker entrypoint   Draft
└─ ● Implement notifications

That exact layout could not be reproduced through DSH's current public sidebar APIs without replacing the stock workspace browser. Draft Sessions keeps the important behavior—independent unsent tasks, exact text restoration, and conversion on the first accepted prompt—but exposes drafts in a cooperative Drafts tab when one is available, or through the stock sidebar footer popover otherwise.

Each draft owns a real blank DSH Session, but its unsent text is stored separately on the Host. If that blank Session disappears after a restart, a new shell can be created and rebound without losing the task.

flowchart LR
  UI["Sidebar draft row"] --> Composer["Standard DSH composer"]
  Composer --> Draft["DraftRecord — text authority"]
  Draft --> Session["Real blank DSH Session"]
  Session -->|"first prompt accepted"| Normal["Normal DSH Session"]

What works now

  • Host-backed JSON persistence under $DSH_HOME/storages/dsh-draft-sessions/drafts.json.
  • Strict typed draftSessions.list/create/update/delete/rebind Remote methods.
  • Independent workspace ordering and a configurable per-workspace limit.
  • Optimistic revisions that reject stale browser writes.
  • Atomic same-directory writes and strict durable-file validation.
  • Distinct blank Session creation with the id persisted only after success.
  • Missing Session detection and recovery rebinding without changing draft text.
  • Accepted-Send observation with finalization only after blank: false.
  • Rejected Send and blank slash-command preservation.
  • Exact composer restore through the official per-session InputHub facade.
  • Debounced optimistic autosave with a mandatory pre-switch flush.
  • Draft creation from the Drafts + action or Ctrl/Cmd + Shift + N; both flush the active draft before opening a distinct one.
  • A cooperative Drafts tab when the active sidebar host exposes __dshNativeTabs@1.
  • A stock sidebar.footer.action trigger and popover when the tab protocol is absent.
  • Portaled row menus, inline rename, duplicate, confirmed delete, keyboard navigation, and bounded drag reorder.
  • Safe active-draft deletion with a final autosave flush and recovery after a rejected delete.
  • Optional native-tab session filtering that hides draft shells without changing ordinary Sessions.
  • No registration in the single-slot sidebar.workspaces; stock UI, Archive Manager, and other browser owners keep full control.
  • Unit and DOM coverage for persistence, concurrency, lifecycle, composer, and sidebar behavior.

The current implementation deliberately does not send prompts, modify ordinary Session history, or delete blank Sessions.

Requirements

  • Node.js ^22.19.0 or >=24.0.0
  • pnpm 10.4.1 for development
  • DeepSeek Harness >=0.1.7-rc.2 <0.2.0 with the public sidebar.footer.action list slot

The published rc.2 client is supported without patches. Sidebar tab hosts are detected through the optional versioned __dshNativeTabs@1 cooperation protocol; the plugin falls back to the stock footer action instead of replacing the workspace browser.

Development

From the monorepo root:

pnpm install --frozen-lockfile
pnpm --filter @yadsh/dsh-draft-sessions check

Build and link the checkout into a Web profile:

pnpm --filter @yadsh/dsh-draft-sessions build
dsh plugin --profile web add ./plugins/dsh-draft-sessions
dsh --profile web --dump-config

Releases

This package uses independent Nx Version Plans from the monorepo. Add a plan with pnpm release:plan; maintainers publish verified tarballs through the shared release workflow.

Configuration

The bundle inserts the dsh-draft-sessions Cordis row. Override it from the profile patch when needed:

- id: dsh-draft-sessions
  config:
    # Blank uses $DSH_HOME/storages/dsh-draft-sessions/drafts.json
    storagePath: ""
    maxDraftsPerWorkspace: 50

Current API

await ctx.remote.draftSessions.list({ workspaceId });

await ctx.draftSessionLifecycle.create({
  workspaceId,
  text: "",
});

await ctx.draftSessionLifecycle.ensureShell(draft);

await ctx.draftComposerBridge.open(draft);
await ctx.draftComposerBridge.flush();

await ctx.draftShortcutController.create(workspaceId);

await ctx.remote.draftSessions.update({
  id,
  expectedRevision: 4,
  text: "Add OTEL export",
});

await ctx.remote.draftSessions.rebind({
  id,
  expectedRevision: 5,
  sessionId: replacementSessionId,
});

The lifecycle service owns blank Session creation and recovery. The lower-level Remote methods remain available for storage operations; all mutations return the next revision, and a stale expectedRevision is rejected instead of silently overwriting another browser's edit.

Design boundaries

  • Draft text is authoritative in DraftStore; a blank Session is only an execution shell.
  • Creating a draft must never make a model request.
  • The first accepted prompt, not the Send button click, is the conversion boundary.
  • Ordinary DSH Sessions remain owned entirely by DSH.
  • Attachments are out of scope for v1; text and textual @file references come first.
  • Draft rows compose beside the single workspace-browser occupant; the plugin never disables or embeds ui-workspace.
  • Backing blank Sessions are excluded only from the workspace-browser slot, so the standard composer still receives the real current Session.

See SPEC.md for acceptance criteria and docs/architecture.md for the lifecycle.

Contributing

Issues and focused pull requests are welcome. Read CONTRIBUTING.md and run the package check before submitting a change.

License

MIT. This is an independent community project and is not affiliated with or endorsed by DeepSeek.