rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ALNLAqooq/dsh-session-messenger-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Hand off work between top-level DeepSeek Harness (DSH) sessions in the same workspace: list sibling sessions, send a one-way message, or create a new parent session and hand it a summary.
The plugin has two halves:
list_sessions, send_session_message, create_session.Both paths deliver plain text through the session controller in queue mode.
Delivery is fire-and-forget: the sender returns as soon as the message is
accepted, and the recipient's answer stays in the recipient's session.
Published on npm as
dsh-session-messenger-plugin.Community project. Not affiliated with, endorsed by, or maintained by DeepSeek AI.
dsh CLI with dsh plugin support (or the agent-facing plugin_manager
tool for local development).dsh plugin --profile web add dsh-session-messenger-plugin
Replace web with your DSH profile name if it is different.
dsh plugin --profile web add github:ALNLAqooq/dsh-session-messenger-plugin
git clone https://github.com/ALNLAqooq/dsh-session-messenger-plugin.git
Then ask DSH to install the bundle, using the absolute path of the clone as the target:
plugin_manager action=install_bundle target=C:\path\to\dsh-session-messenger-plugin
If you previously installed the development copy named
@local/session-messenger, remove it first so the two copies do not register
duplicate tools and UI:
plugin_manager action=remove_bundle target=@local/session-messenger
After installing, refresh the Web UI. If the client half does not hot-reload, restart DSH. New bundles can usually activate through HMR; replacing an already installed package may require a restart.
Ask the agent in the source session:
Summarize the current work and send it to the session titled “Test session 1”.
The agent will call:
list_sessions({ "query": "Test session 1" }) to get the exact id.send_session_message({ "sessionId": "session-…", "message": "…" }).To create a new parent session and hand it work:
Create a new session titled “Handoff: auth refactor” and send it this summary.
The agent will call create_session({ "title": "…", "message": "…" }).
The button sits at the left of the composer tool row. It opens a dialog with:
Archived sessions are hidden from this list. Subagent sessions and sessions in other workspaces are never shown.
By default a message is informational; the recipient is not asked to answer.
The envelope header says 无需回复 / no reply needed.
Set replyRequested: true (Host tool) or tick the checkbox (UI) only when the
user explicitly asks for an answer. The header then says 请求回复 / reply requested, and the recipient may call send_session_message back to the
sender's session.
There is no request/response correlation or inbox: a reply is an ordinary new message in the other session. The sender does not wait for it.
Host tools wrap the body in a plain-text envelope:
[跨会话消息 · 来自「<sender title>」 <sender session id> · 无需回复]
<message body>
With replyRequested: true the last field is 请求回复. The envelope is
ordinary user-visible text, so it works with any model and any session log; no
custom event type is added.
list_sessions{ "query": "optional title substring or id prefix", "limit": 20 }
Returns:
{
"sessions": [
{ "sessionId": "session-…", "title": "…", "running": false, "updatedAt": 0 }
]
}
limit is 1–50, default 20; results are ordered by recent activity.未命名会话 · <id prefix> when no title is available.send_session_message{
"sessionId": "session-…",
"message": "plain text, 1–20000 characters",
"replyRequested": false
}
Returns { "accepted": true, "sessionId": "…", "title": "…" }.
The target must be a top-level session in the caller's workspace, and it must
appear in list_sessions. Delivery uses sessionController.prompt with
mode: "queue": an idle session starts a turn, a running session receives the
message after its current turn. The call does not interrupt the recipient.
create_session{
"title": "optional, at most 120 characters",
"message": "initial message, 1–20000 characters",
"replyRequested": false
}
Returns:
{
"accepted": true,
"sessionId": "session-…",
"title": "…",
"titleApplied": true,
"workspaceId": "…",
"workspaceAttached": true
}
The new session is a normal top-level session in the caller's workspace, using
the same agent preset and cwd. The title is best-effort; titleApplied reports
whether the rename was accepted. The workspace id/attachment fields are present
when a workspace was resolved.
replyRequested only changes the
envelope wording; it does not create an inbox or promise a reply.The plugin has no telemetry and makes no network requests of its own. Messages are written into the two sessions' normal logs and are sent to the model through whatever provider the DSH profile already uses. The UI uses DSH theme tokens and does not inject a second application or load remote assets.
index.js Host half: tool definitions and session delivery
client.js Client half: composer button and transfer dialog
cordis.patch.yml Bundle entry
locale/en.json Display metadata (English)
locale/zh.json Display metadata (Chinese)
icon.svg Plugin icon
There is no build step. After editing:
node --check index.js
node --check client.js
To reload during development, remove and reinstall the bundle:
plugin_manager action=remove_bundle target=dsh-session-messenger-plugin
plugin_manager action=install_bundle target=<absolute path to this repo>
Test with two top-level sessions in the same workspace:
create_session with a title and message; confirm the new session
appears under the current workspace, not “未分组”.MIT. See LICENSE.
功能:在同一工作区的父会话之间转交消息,或新建父会话并投递交接内容。
默认只投递、不要求回复;只有显式勾选「需要对方回复」或传
replyRequested: true 时,信封才会写「请求回复」。
安装:
dsh plugin --profile web add dsh-session-messenger-plugin
(web 换成你的 DSH profile 名)。dsh plugin --profile web add github:ALNLAqooq/dsh-session-messenger-plugin本项目是社区项目,与 DeepSeek AI 无隶属关系,也不代表官方。
使用:
list_sessions 找到会话 id,再
send_session_message({sessionId, message});新建会话用
create_session({title, message})。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。