nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:BigBugy/dsh-tool-session-message
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Cross-session messaging for DeepSeek Harness (DSH): send a user message to another session by its session id — ask a separate window what it is doing, or hand it new facts.
给 DSH 加一个工具 session_send(session_id, message, mode?):把一条 user 消息投递到另一个会话(比如另一个窗口),让对方开始一轮或插话。每条消息自动带上发送方 Session ID,便于多窗口互相认证身份并接续任务。
session_send(session_id, message, mode?) — deliver a message to any session in the same DSH host.【跨会话消息 · session_send】
from: session-xxxxxxxx-...
reply: session_send(session_id="session-xxxxxxxx-...", message="...")
so the receiver knows who sent it and how to answer back.
mode: "followup" (default, queued as the target's next user turn) or "steer" (injected into a running turn).ok, from, to, mode, requestId, result).0.2.1-rc.5 or compatible (uses the sessionController service).Settings → Plugins → Add plugin, then paste:
github:BigBugy/dsh-tool-session-message
The plugin manager accepts npm package names, GitHub repositories and local directories.
This package is not published to npm — use the github: spec (or the local path below).
dsh plugin --profile <profile> add github:BigBugy/dsh-tool-session-message
The desktop app does not ship a
dshcommand; desktop users install through Settings → Plugins.
<profile>/node_modules/dsh-tool-session-message (<profile> is e.g. ~/.dsh/profiles/desktop).package.json:{
"dependencies": { "dsh-tool-session-message": "link:<path-to-this-package>" },
"dsh": { "profile": { "bundles": [ "...", "dsh-tool-session-message" ] } }
}
cordis.patch.yml with dsh.bundle.patch, so the tool is inserted process-wide.Ask the model to call, or call directly:
session_send(session_id="session-0e8596c3-...", message="What are you working on? Reply briefly.")
The receiver sees the decorated message and can answer with:
session_send(session_id="<the id in from:>", message="...")
{ name, inject, apply } (and optionally Config).["tools", "sessionController"] and registers a tool via ctx.tools.register({...}) (plain object — no @deepseek-ai/dsh-tools dependency).ctx.sessionController.prompt({ sessionId, content: [{ type: "text", text }], mode, requestId }, signal):requestId is required — without it the host rejects with prompt rejected.session- prefix.parameters must be a complete JSON Schema root. ctx.tools.register() validates only output.schema; parameters is projected to the model as-is. A flat property map without { "type": "object" } makes the whole model request fail with:
Invalid schema for function 'session_send': schema must be a JSON Schema of 'type": "object"', got 'type": null'.type / oneOf / properties / required / additionalProperties / items / enum / const, plus annotations description / title / default / examples. Property-level required: true is not valid JSON Schema.requestId: generate one per call (crypto.randomUUID()), otherwise the host rejects the prompt.dsh.bundle.patch in package.json and be listed in the profile's dependencies + dsh.profile.bundles.| DSH version | Status |
|---|---|
| 0.2.1-rc.5 | tested |
| older | unknown — sessionController service may not exist |
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。