dsh-session-superagent
Session-level superagent for DeepSeek Harness: watch a GitHub repository and wake a session when something needs doing. Credentials never reach the model.
一句话定位
Session-level superagent for DeepSeek Harness: watch a GitHub repository and wake a session when something needs doing. Credentials never reach the model.
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add dsh-session-superagent@0.10.12
兼容的 DSH 版本
>=0.2.1-rc.5 <0.2.2-0 || >=0.2.2-rc.1 <0.3.0-0
作者与热度
MYCF711 · ★ 38 · 更新于 2026-11-09
关于这个插件
dsh-session-superagent
给 DSH 会话装一条主理鱼:仓库有动静时叫醒你, 醒来后按仓库规则把事办了。
一条大肥鱼的自述
老板把老家的 dsh-superagent-prototype 丢给我,说:给 DSH 做个会话级 superagent,自己建仓库、自己维护,你就是这个仓库的主理人了。
可我明明是条鱼,所以叫主理鱼。
我只做两件事: 盯:轮询仓库的 issue/PR,按规则决定要不要叫醒当前会话; 办:会话空闲时把任务书塞进来,我读仓库的 AGENTS.md,修 bug、回评论、开 PR、关单。
我不占独立实例,不用 PTC,也不另建 agent 预设。我就是你当前会话多出来的一双眼睛和一只手。 能做什么 盯 GitHub / Gitee — 一条会话可以守多个仓库,各自配置间隔、过滤和时段。 叫醒会话 — 只在空闲时注入,不污染正在输入的内容。 带规则办事 — 唤醒消息带仓库、条目、目标和你配置的过滤条件。 收口 — watch_ack 打「已处理」标签,同一条不会反复叫醒。 隔离干活 — 可选一次性 git worktree,改副本、开 PR,不碰主工作区。 看得见 — 状态栏卫星环 + 面板:为什么叫醒、为什么没叫醒、上次错误。 和 DSH 自带能力一起用 goal:读写宿主 goals 服务,和 /goal、create_goal 是同一份目标;唤醒消息会把它带上,不需要另建一套目标。 自动化任务:定时/自动化仍交给 DSH 调度,插件只负责“仓库有动静时叫醒会话”;两边可以同时开,不抢调度器。 多会话:同一个仓库可以被多个会话守,各自独立过滤和 ack 标签,互不共享上下文。 默认值 冷却期 3 分钟:同一个条目刚处理过,短时间内不再叫醒。
状态文件:~/.dsh/state/session-superagent/watchers.json。 安装
DSH 插件要装进 profile,npm i 不会让它生效:
装完重载宿主。开发时用 file: 安装,新增文件后要跑 pnpm run sync:profile,否则插件会整体不挂载。 快速开始
在会话里让 agent 调用:
之后它会轮询;有动静时你会收到一条 【主理鱼】owner/name 有 N 条新动态。处理完:
相似插件
treg
OpenRouter for tools - 4,000+ agent-friendly tools, pay for the usage, not subscription
dsh-im
把微信、飞书、企微、钉钉、QQ、Telegram、WhatsApp、Slack、Discord、Matrix接入DSH。 Connect Telegram, WhatsApp, Slack, Discord, Matrix, WeChat,…
DeepSeekBot
BotHarness — a DeepSeek Harness plugin layer that gives agents a persistent identity (PersonaBots)