dingtalk-event
Installation
SKILL.md
钉钉个人 IM 事件
只使用 dws event consume 建立个人消息事件长连接。用户要求实时监听、订阅、自动回复或驱动 Agent 时,不要写轮询脚本,不要用消息历史查询模拟事件。
运行方式
- bus 后台进程持有对钉钉的个人 Stream 长连;consume 从 bus 读事件、按 NDJSON 打到 stdout。consume 只读,不发消息(回复用
dws chat message send)。 - 没有 bus 时 consume 自动拉起;通常只跑 consume。
- 一个组织一个 bus,可同时跑;同组织内多个 consume 共享一个 bus。
- 非默认组织加全局
--profile <corpId 或 profile 名>;漏传会退回默认 profile 而失败。