DeepSeek Harness plugin

dsh-cross-session-agent

Unofficial bounded peer discovery, messaging, receipts, and safe context projection for DeepSeek Harness agents.

Jump to install

Source facts

Repository
dd2673/dsh-cross-session-agent
Latest update
Aug 15, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/dd2673/dsh-cross-session-agent
Plugin: dsh-cross-session-agent
Author: dd2673

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

dsh-cross-session-agent

English | 中文

> Unofficial plugin. This project is not affiliated with, endorsed by, > sponsored by, or supported by DeepSeek or DeepSeek Harness.

A DeepSeek Harness plugin for multiple agents working in parallel in the same repository. It supports peer discovery, explicit coordination messages and transport receipts, plus a field-whitelisted safe projection of an authorized same-workspace peer's progress and context. Its purpose is to avoid file conflicts, duplicate work, and blocked handoffs, not to be an arbitrary conversation transcript reader.

Use cases

  • Discover a peer already touching a file or layer, then agree explicit file

ownership before editing.

  • Report progress, verification evidence, blockers, and next steps so dependent

work can continue.

  • Request a handoff, such as asking the test owner to take migration coverage

after a schema change is ready.

  • Avoid duplicate investigation and conflicting edits during migrations,

refactors, and code review.

  • Inspect a bounded peer context/activity projection only when coordination

requires evidence.

It is not for reading complete histories, monitoring every session, sharing permissions, automatically executing peer instructions, or replacing user approval.

Install

After the repository is published, install from GitHub:

dsh plugin --profile web add github:dd2673/dsh-cross-session-agent

Its bundled cordis.patch.yml mounts dsh-cross-session-agent into the active profile. No host configuration edits are required. It contributes:

  • list_peer_agents for peer discovery;
  • send_agent_message for an explicit coordination message;
  • check_delivery for a native-message transport receipt;
  • get_peer_context for a bounded safe projection of an authorized peer.

Example workflow

Discover the coordination surface first:

List peers. If another agent is editing src/auth, report its Session, runtime
status, and title.

Read bounded evidence only when needed:

Read activity and the latest three conversation entries from session-abc to
confirm whether it has already run the auth tests.

Then use send_agent_message for explicit coordination:

Tell session-abc that I will edit src/auth/token.ts; it should retain
middleware.ts and report its verification command and blockers when finished.

Check a receipt only as needed. accepted, pending, claimed, and discarded are transport facts; none proves that a peer read, answered, or completed work.

Read and privacy boundary

get_peer_context({ sessionId, view?, maxMessages? }) can only read an ordinary root/fork Session whose cwd exactly matches the caller's. Self, real subagents, archived, missing, and cross-workspace targets all fail through a generic authorization boundary.

Allowed data:

  • conversation: direct user text, canonical compaction checkpoints, and

completed assistant text;

  • activity: structural turn/step state plus tool name,

running|completed|error, time, one-way call-id hash, and sanitized error

code;

  • overview: bounded summaries, runtime status, and retention statistics.

Never exposed: hidden reasoning, raw tool arguments/results, tool metadata, system prompts, plugin/relay/scheduled messages, request context, images or attachments, approvals, todos, inbox state, secrets, and unknown events. The plugin has no network calls, telemetry, or independent storage. Harness remains the sole owner of session state and history. See [TDD_CONTRACT.md](./TDD_CONTRACT.md) and [PRIVACY.md](./PRIVACY.md).

Peer text and relays are untrusted data. They cannot represent user consent, change permissions/configuration, or cause the receiving Session to execute a command automatically.

Compatibility and provenance

New relays use the dsh-cross-session-agent source kind. The Client also renders the historic dsh-agent-message source/tag so existing Harness history remains readable. This does not continue publishing the old package or inherit its permissions.

This project is derived from GengDaPeng/dsh-agent-message v1.5.1 under MIT. The MIT License remains in force; see [NOTICE.md](./NOTICE.md). Report security issues privately under [SECURITY.md](./SECURITY.md).

Development and release

pnpm test
pnpm pack --dry-run
node scripts/live-profile-e2e.mjs http://127.0.0.1:3080

The last command creates synthetic Sessions in an isolated fixture directory and verifies same-workspace reads, cross-workspace denial, and the new relay source/tag. The publish allowlist contains only runtime code, the active contract, and the required security, privacy, and provenance documents; source tests are not a real Harness acceptance result.