refactor: drive paired routing from room mode

This commit is contained in:
Eyejoker
2026-03-31 12:10:00 +09:00
parent bfe164dece
commit 89335ab005
4 changed files with 66 additions and 12 deletions

View File

@@ -1979,8 +1979,7 @@ export function getEffectiveRoomMode(chatJid: string): RoomMode {
}
export function isPairedRoomJid(jid: string): boolean {
const types = getRegisteredAgentTypesForJid(jid);
return types.includes('claude-code') && types.includes('codex');
return getEffectiveRoomMode(jid) === 'tribunal';
}
// --- Paired task/project/workspace state ---