feat: keep main agents aware of group activity (#110332)

* feat(sessions): auto-watch group activity from main

* feat(sessions): allow watchers to read watched sessions

* fix(sessions): skip group watches for system turns

* fix(sessions): preserve watched session semantics

* fix(channels): propagate effective dm scope

* fix(sessions): canonicalize main watch identity

* fix(sessions): distinguish ambient group watches

* fix(sessions): revoke ineligible ambient watches

* chore: drop CHANGELOG edit (release generation owns it)
This commit is contained in:
Peter Steinberger
2026-07-18 04:06:58 +01:00
committed by GitHub
parent 9dec7acc91
commit 31ed59bdf6
44 changed files with 662 additions and 31 deletions
+1
View File
@@ -1382,6 +1382,7 @@ export async function handleFeishuMessage(params: {
},
route: {
agentId,
dmScope: route.dmScope,
accountId: agentAccountId,
routeSessionKey: agentSessionKey,
},
+1
View File
@@ -230,6 +230,7 @@ export async function handleFeishuCommentEvent(
conversation: { kind: "direct", id: commentTarget, label: conversationLabel },
route: {
agentId: route.agentId,
dmScope: route.dmScope,
accountId: route.accountId,
routeSessionKey: commentSessionKey,
dispatchSessionKey: commentSessionKey,