Community plugin

byx-darwin / @baoyx/dsh-agent-kit-admin

DeepSeek Harness plugin kit for always-on agent workers: WebSocket, DingTalk, Claude Code/Codex, Jev.

  • TypeScript
  • MIT
  • 0 stars
  • Oct 26, 2026

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.

  • Listing statusManifest verified
  • Manifest checkedNov 14, 2026
  • Package@baoyx/dsh-agent-kit-admin
  • Package pathadmin
  • Package version0.3.0
  • Source commite2afbd1
  • Repository createdSep 23, 2026

Capabilities and topics

agentclaude-codecodexdeepseek-harness
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

Cached versionView on GitHub

@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 导入。运行时登记的插件要 inject agentKitAdmin,因此 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.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/byx-darwin/dsh-agent-kit/admin)