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
D

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 github:xarleyn/dsh-draft-sessions#e3561be71134a37e90dd7d9a555f6e79ee70518a
READMECompatibilityVersions

Compatibility and provenance

Draft Sessions is published as dsh-draft-sessions and currently resolves to version 0.1.0-alpha.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
8/22/2026

Versions

0.1.0-alpha.0prerelease
8/22/2026

Related plugins

Loading related plugins…

Latest
0.1.0-alpha.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
9/6/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in productivity-workflow.

Client Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.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 包。Rewind Plugindsh-rewind-pluginIn-window conversation rewind with workspace file restore · 同窗口内对话回退并可还原工作区文件Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-base

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.

[!IMPORTANT] This repository is an early alpha. The durable draft lifecycle, composer bridge, and sidebar interactions are implemented. Release qualification across restarts, browsers, platforms, and supported DSH versions is still in progress.

Русская версия · Specification · Architecture · Roadmap

The intended experience

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

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.
  • Ctrl/Cmd + Shift + N creation in the current or recent Workspace.
  • Muted draft rows before ordinary Sessions through the pinned upstream workspace browser.
  • 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.
  • Compatibility fallback to the untouched upstream browser when replacement activation is unsafe.
  • 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 11
  • DeepSeek Harness next, currently >=0.1.1-rc.2 <0.2.0

The next requirement is intentional: the plugin uses the current Typert Remote API published by DSH.

Development

cd dsh-draft-sessions
pnpm install
pnpm check

Build and link the checkout into a Web profile:

pnpm build
dsh plugin --profile web add .
dsh --profile web --dump-config

For a GitHub installation, DSH also supports dsh plugin --profile web add github:owner/dsh-draft-sessions. Because Git dependencies build from source, pnpm will require the user to allow this package's prepare script. Prefer an npm release or packed tarball when you do not want install-time build permission.

Remove the linked package with:

dsh plugin --profile web remove dsh-draft-sessions

Releases

Releases are built from existing v-prefixed SemVer tags by the manual Release workflow. The workflow checks out the exact tag, runs the full quality gate, replaces the package version with the tag version, creates an npm tarball and SHA-256 checksum, smoke-tests a clean tarball install, uploads the workflow artifact, and creates a GitHub Release with generated notes.

Maintainers can start it from Actions → Release → Run workflow, or with GitHub CLI:

git tag -a v0.1.0-rc.1 -m "v0.1.0-rc.1"
git push origin v0.1.0-rc.1
gh workflow run release.yml -f tag=v0.1.0-rc.1 -f publish_npm=false

Prerelease tags publish to the npm next dist-tag; stable tags use latest. npm publication is disabled by default. To enable the opt-in publish job:

  1. Bootstrap the package on npm if it has not been published before.
  2. Configure npm trusted publishing for this GitHub repository, workflow filename release.yml, environment npm, and the npm publish action.
  3. Create the protected GitHub environment named npm, then run the workflow with publish_npm=true.

The publish job uses GitHub OIDC instead of a long-lived npm token. A GitHub Release is always created before npm publication is attempted.

Configuration

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

- id: 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.
  • The upstream workspace browser currently has no public row-extension seam, so exact sidebar integration requires a small, version-tracked replacement package.

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

Contributing

Issues and focused pull requests are welcome. Please read CONTRIBUTING.md and run pnpm check before submitting a change.

License

MIT