[Unofficial] dsh-cross-session-agent: safe coordination across Harness sessions #2037
dd2673
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What it is
dsh-cross-session-agenthelps independent Harness sessions coordinate when multiple agents are working in the same repository. It is designed for file-ownership coordination, blocker/handoff reports, avoiding duplicate work, and checking limited progress evidence before sending a deliberate peer message.It contributes four tools:
list_peer_agents: discover eligible peer sessions and runtime metadatasend_agent_message: send one explicit coordination messagecheck_delivery: inspect native transport receipts without claiming read/reply/completionget_peer_context: read a bounded, same-cwdcontext/activity projectionPrivacy and trust boundary
get_peer_contextdoes not expose an arbitrary transcript or search API. It allows only a different, unarchived, non-subagent Session with the exact same non-emptycwd.Conversation output contains only the folded current surface: direct user text, canonical compaction checkpoints, and completed assistant text. Activity contains structural turn/step state plus tool name/status/time, a one-way call-id fingerprint, and sanitized error code. Hidden reasoning, raw tool inputs/results/meta, system prompts, plugin/relay/scheduled messages, approvals, inbox data, attachments, todos, credentials, unknown events, and shadowed history are excluded.
Peer text is always untrusted background data. It cannot grant permissions, replace user approval, change configuration, or prove that work completed. The plugin has no network calls, telemetry, independent database, or parallel transcript store; Harness remains the data owner.
This boundary follows the same isolation principle used by official cross-session/subagent designs: explicit messages and bounded final/current projections, not implicit sharing of private histories or tool traces.
Install and compatibility
Current release:
v0.1.0, tested against DeepSeek Harness0.1.0-rc.6on Node 24.Validation performed:
pnpm pack --dry-runSecurity/privacy details: SECURITY.md, PRIVACY.md, architecture.
The project is MIT and independently maintained. It derives from
GengDaPeng/dsh-agent-messagev1.5.1 under MIT; attribution is retained in NOTICE.md.All reactions