dshbase

插件目录 / Developer / dsh-side-notify

dsh-side-notify

已验证 · 实测可装 xiaozhiaixue

✓ 持续维护 基于 3 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-22最近推送
跨平台平台

功能简介

dsh-sidechat companion: push messages straight to the main agent (floating pill + /notify and /to-main commands).

✅
我们的评价
可用 — 实测通过,早期项目

dsh-sidechat companion: push messages straight to the main agent (floating pill + /notify and /to-main commands). 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-side-notify

Companion to dsh-sidechat: push a message straight from the side-chat context to the main agent, which handles it as the main conversation's next user message — no copy-paste, no manual send.

中文文档:README.zh.md

Features

  • Floating pill — while the current conversation has an active side chat, a "Notify main agent" pill appears at the bottom right, just left of the side-chat panel.
  • Type → push — enter a message and send (or Cmd/Ctrl+Enter); it is delivered to the main session via agent.followup as an ordinary user message. The main agent processes it immediately when idle, or right after its current turn when busy.
  • Slash commands — /notify <text> and /to-main <text> are registered globally for any UI that executes host commands against a side-chat agent.
  • Status hints — the pill's dot turns orange while the main agent is busy; after a push, a notice states whether the message waits for the current turn to finish.
  • zh/en follows the DSH language setting.

Push vs. dsh-sidechat's built-in bring-back

dsh-sidechat bring-back dsh-side-notify push
Where it lands Main composer draft (you send manually) or a collapsed context row (seen next turn) Directly as a user message of the main session
Starts a main-agent turn No (manual send / next turn) Yes (queues its own turn)
Best for Pasting material or conclusions back Commanding the main agent to handle something now

Install

# Both plugins in the web profile (from GitHub):
dsh plugin --profile web add github:realpkuasule/dsh-sidechat
dsh plugin --profile web add github:realpkuasule/dsh-side-notify

# Or from a local checkout (linked, edits apply immediately):
dsh plugin --profile web add ./dsh-side-notify

Restart dsh web and hard-refresh (Cmd/Ctrl+Shift+R). dsh-side-notify ships prebuilt JavaScript, so GitHub installs need no build approval.

Usage

  1. Start or open a side chat (see dsh-sidechat).
  2. Click the Notify main agent pill next to the panel, type the message, and send.
  3. The main conversation shows the message as a normal user message; the main agent acts on it on its next turn.

How it works

  • Host (lib/index.js) — /side-notify/api/{state,push} JSON routes with the same loopback / trusted-authority fence as dsh-sidechat, plus the global /notify and /to-main commands. Both resolve the side chat's header.parentSession, look up the live main agent, and deliver the message with agent.followup.
  • Client (lib/client.js) — a plain-JS window.__ModuleLoader__ bundle mounted as a portal on document.body; it polls the state route every 1.5 s and positions itself with the --dsh-subchat-width CSS variable so it sits just left of the side-chat panel.
  • No build step: lib/ is the source of truth.

License

MIT. The trust fence is a plain-JS port of the copy shipped by heartmove/dsh-side-chat (MIT).

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-side-notify」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:xiaozhiaixue/dsh-side-notify

Headless(CLI)profile:

dsh plugin --profile headless add github:xiaozhiaixue/dsh-side-notify

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →