DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

CAI-MH /

CAI-MH/dsh-agent-bridge

Verified

飞书机器人 → DSH 会话桥:在指定工作区开真会话,用 DSH 现有模型+插件执行任务并回传结论 — DSH bundle。

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@5548053e

会话桥(dsh-agent-bridge)

飞书「算法组」机器人 → DSH 会话的桥接 bundle:机器人(独立守护进程)把任务投递过来, 本插件在 DSH 里于用户指定的工作区开「真会话」,注入该 agent 的人设 + 技能/知识库 + 任务, 用 DSH 现有大模型与全部插件执行,跑完把最终文字回传给机器人再贴回飞书群。

接口(仅 127.0.0.1,需共享密钥)

  • POST /run { agent, system, knowledge, task, chatId, sessionId? } → { taskId }
  • GET /status?taskId= → { status, result?, error?, workspace?, sessionId? }
  • GET /health

配置与迁移

默认监听 127.0.0.1:49990,共享密钥在 ~/.dsh/agent-group-bridge.token(缺失时自动生成)。 改端口/密钥路径在 web profile 的补丁配置:

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

- id: agent-bridge
  config:
    port: 49990
    tokenFile: /Users/xxx/.dsh/agent-group-bridge.token

工作区匹配

任务文本里出现某个 DSH 工作区的标题或路径(忽略空格)即投递到该工作区; 未识别到则报错,要求用户写明工作区。每个新任务在目标工作区下开一个新会话, 续作(回复完成消息)复用同一会话继续。

安装与生效

bundle 注册在 web profile(dependencies + dsh.profile.bundles),node_modules 为副本; 改代码要改本目录再重新拷贝进 node_modules,重启 DSH Desktop 生效。

—/ 5

No ratings yet

Verified DSH bundle

Commit 5548053ed060

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout