Skip to content

v0.2.0 — cross-session DM + top-level session creation

Choose a tag to compare

@Venshell Venshell released this 26 Oct 18:53
· 3 commits to master since this release

dsh-session-dm v0.2.0

Cross-session tools for DeepSeek Harness — let one agent Session message another or start a fresh top-level Session, in the same workspace.

Tools

Tool What it does
session_dm_send Deliver a message into another Session of the same workspace. A cold target is resumed by the message; a live one picks it up next turn. Authority: exact cwd match with the caller.
session_create Start a new top-level Session (fresh conversation, never a subagent) in the caller's workspace and deliver a first prompt to it, via the same host API the Web UI "new conversation" button drives. Optional title.

The bundle enables its own dependencies

Installing the bundle turns on the components cross-session work needs, including ones that ship disabled or absent in every default layer:

  • @deepseek-ai/dsh-tool-session-query — inserted at the host plane. This opt-in package ships in no default layer; without it the two tools deliver but the model cannot read the reply back. It provides session_search, session_event_search, session_trace, session_event_trace, session_event_read.
  • @deepseek-ai/dsh-session-query-sqlite — overridden from openAt: never (content search closed) to openAt: first-search with a durable index under <home>/cache/session-search.db, so session_search actually returns content. This opens content search profile-wide — delete that patch entry if you want it kept off.

Both rely on verified loader semantics: inserts append unconditionally (a profile layer that already inserts tool-session-query must drop one to avoid a double mount — see README), id-targeted overrides are idempotent and lose to later layers.

Install

# from npm
dsh plugin --profile <your-profile> add dsh-session-dm

# or from this release tarball
dsh plugin --profile <your-profile> add <path>\dsh-session-dm-0.2.0.tgz

Restart the Harness afterward — plugin modules load at boot.

Notes

  • Zero dependencies; the only import is node:crypto.
  • Messages ride the durable followup inbox (the schedule service's delivery path) and carry source.kind: "session-dm" for traceability.
  • GPL-3.0.

Full changelog: README · 1c01078...v0.2.0