byx-darwin / @baoyx/dsh-agent-kit-admin
DeepSeek Harness plugin kit for always-on agent workers: WebSocket, DingTalk, Claude Code/Codex, Jev.
About this plugin
Written by the registry from verified metadata, not from the README.
@baoyx/dsh-agent-kit-admin is a DSH plugin published from the admin package in the byx-darwin/dsh-agent-kit repository.
Capabilities and topics
@baoyx/dsh-agent-kit-admin
@baoyx/dsh-agent-kit 的可选运维工具。基础包提供 ctx.agentWs、ctx.dingtalk、ctx.feishu、ctx.wecom、ctx.notify、ctx.agentTasks、ctx.jev,业务包只依赖基础包;需要下面这些能力时,再把本包加入 Profile:
dsh-agent-kit doctor:检查 Node 版本、渠道 CLI 与登录态、各 Service 的配置(包括通知渠道所选的渠道行是否已启用,agent-kit-notify.channel)等,--json可接入 CI。dsh-agent-kit setup:交互式配置,缺少 dws 时在确认后安装锁定版本;钉钉固定使用user身份,飞书引导填写 App ID、域名与默认目标(App Secret 只写入密钥存储),企业微信引导填写 BotID 与 Secret(只写入密钥存储),并提供需要确认的连接测试(默认不做:企业微信只允许一条长连接,测试会把使用该机器人的运行中 Agent 挤下线,且它不会自动重连,测试后需在设置页重载「企业微信」行);通知可选钉钉、飞书或企业微信作为默认渠道;Jev 判断可选 TypeSafe Jev 或本地 Laya,写入前展示cordis.patch.yml的差异。- dsh Web「设置 → Agent Kit」页:启停 Service、编辑配置、查看健康状态与检查结果、保存密钥。钉钉
user可在卡片中扫码登录,二维码由页面本地生成;飞书卡片提供 App ID、域名、App Secret(只写不读)与会话路由;本机设置页还能查看钉钉、飞书、企业微信未命中插件的消息记录(会话 ID、可查到的会话名和正文预览)。doctor会检查飞书的可选依赖@larksuiteoapi/node-sdk、App Secret 与机器人能力;企业微信卡片提供 BotID、Secret(只写不读)与会话路由,doctor检查@wecom/aibot-node-sdk、BotID 与 Secret,但不在线检查连接——一个机器人只能有一条长连接,建连检查会把运行中的 Agent 挤下线,连接状态请在设置页查看。收件人选择组件由钉钉、飞书、企业微信三个渠道共用。Jev 行选本地 Laya 时,TypeSafe Key 面板换成 Laya Key。 - 业务包登记设置入口(
dsh.agentKit.entries静态清单或ctx.agentKitAdmin.registerEntry()),类型与defineEntry从@baoyx/dsh-agent-kit-admin/entry导入。运行时登记的插件要 injectagentKitAdmin,因此 Profile 中必须装有本包。
业务包可把自己的收件人字段登记为 { path: 'forwardTo', label: '转发目标', kind: 'dingtalk-target' }。本机设置页会按群名或姓名查询当前登录账号可见的候选,用户明确选中后,保存 { chatId }、{ userId } 或 { openDingtalkId } 到业务包配置;Agent Kit 不规定业务消息类别,也不会因查找而发送消息。
dsh plugin --profile my-agent add @baoyx/dsh-agent-kit @baoyx/dsh-agent-kit-admin
npx @baoyx/dsh-agent-kit-admin doctor --profile my-agent
npx @baoyx/dsh-agent-kit-admin setup --profile my-agent
本包以常驻行 agent-kit-admin 注册,不影响基础包各行的启停。详见根目录 README 的「运维工具(可选)」。
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/byx-darwin/dsh-agent-kit/admin)