Skip to content
dsh.fish
Bundle

dsh-agent-group-panel

飞书「算法组」三人格机器人控制台:开启/关闭/重连守护进程、状态与最近动态、直达任务工作区 — DSH bundle。

Source
CAI-MH
License
MIT
Updated
Updated 2 days ago

Readme

# 算法组控制台(dsh-agent-group-panel)

飞书「算法组」三人格机器人(yoga / 子扬 / 黄拿)的 DSH 本地控制台插件:
右下角 🤖 悬浮按钮,开启/关闭/重连守护进程、状态指示灯、最近动态、直达任务工作区。

## 文件

- `index.js` — Host 半部分:经 `/api/agent-group/*` 本机接口通过 launchd 管理守护进程
- `client.js` — 浏览器半部分:悬浮按钮 + 面板(同源 HTTP 通信)
- `cordis.patch.yml` — host 组合插件行(id: `agent-group-panel`)
- `package.json` — bundle 元数据

## 守护进程与数据目录

守护进程本体(launchd `ai.dsh.feishu-agent-group`)与机器人数据**不在此 bundle 内**,
它们位于 `feishu-agent-group/`(默认 `~/work/dph/feishu-agent-group/`),包含
`daemon.mjs`、`personas.json`、`knowledge/`、`tasks/`。

## 配置与迁移(重要)

面板默认认为守护进程目录在 `~/work/dph/feishu-agent-group`。若要迁移目录,
**不要改本 bundle 源码**,改 web profile 的补丁配置:

`~/Library/Application Support/dsh-desktop/harness/profiles/web/cordis.patch.yml`

```yaml
- id: agent-group-panel
  config:
    base: ~/work/dph/feishu-agent-group
```

把 `base` 改成新目录后重启 DSH Desktop 即可(launchd 的 plist 也需同步改)。

## 安装与生效

bundle 注册在 web profile 的 `package.json`(dependencies + `dsh.profile.bundles`),
`node_modules` 内为副本。**改代码要改本目录再重新拷贝进 node_modules,然后重启 DSH Desktop。**

Install

dsh plugin --profile web add github:CAI-MH/dsh-agent-group-panel

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source