Files
dsh_shenxian/poc/im-agent-bridge/cordis.patch.yml
T
admin 5ec99ce227
build / build-and-scan (push) Canceled after 0s
chore: 文档库全量重新入库(2026-10-20)
2026-10-20 15:05:55 +08:00

15 lines
753 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# @dsh-local/im-agent-bridge — bundle patch (host row only)
#
# C 单(`交接单/IM群组-C-Agent接入插件.md §三`):实例侧接入 —— 拨出连接、触发过滤、
# 上下文组装、预算/静默期、回写消息、重连退避。
#
# ⚠️ 本插件**只在服务端**(无 client 面):agent 是一个实例内的 node 进程里跑的连接,
# 没有 UI。故 `dsh.bundle.patch` 即可,⛔ 不声明 `dsh.client`。
#
# 🔴 **天然开关**:`apply()` 首件事是读 `DSH_PLATFORM_IM_URL` 与 `DSH_IM_INSTANCE_TOKEN`;
# 任一缺失 ⇒ 直接 return(日志无连接尝试)。⇒ 平台侧回滚 = 删掉注入的两项 env。
- insert:
- id: im-agent-bridge
name: '@dsh-local/im-agent-bridge'