fix(discord): return subagent thread delivery origin · openclaw/openclaw@61d583d
2026-05-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -234,7 +234,16 @@ describe("discord subagent hook handlers", () => {
|
234 | 234 | label: "banana", |
235 | 235 | boundBy: "system", |
236 | 236 | }); |
237 | | -expect(result).toStrictEqual({ status: "ok", threadBindingReady: true }); |
| 237 | +expect(result).toMatchObject({ |
| 238 | +status: "ok", |
| 239 | +threadBindingReady: true, |
| 240 | +deliveryOrigin: { |
| 241 | +channel: "discord", |
| 242 | +accountId: "work", |
| 243 | +to: "channel:thread-1", |
| 244 | +threadId: "thread-1", |
| 245 | +}, |
| 246 | +}); |
238 | 247 | }); |
239 | 248 | |
240 | 249 | it("returns error when thread-bound subagent spawn is disabled", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。