Files
Dirigent/plugin/index.ts
zhi 532d829ca5 fix: prioritize ctx.channelId over prompt for turn gate
- Add channelIdFromCtx parameter to deriveDecisionInputFromPrompt
- Priority: ctx.channelId > conv.chat_id > conv.channel_id
- This fixes turn gate not working because channelId was empty/wrong
- Update all 3 call sites to pass ctx.channelId
2026-02-28 19:49:09 +00:00

36 KiB