fix(chat): show blocking requests in sub-session threads too

This commit is contained in:
Bohdan Triapitsyn
2026-04-16 19:16:32 +03:00
parent 758c0dc4b8
commit 16ec1f605e
@@ -13,11 +13,6 @@ export const collectVisibleSessionIdsForBlockingRequests = (
const current = sessions.find((session) => session.id === currentSessionId);
if (!current) return [currentSessionId];
// Opencode parity: when viewing a child session, permission/question prompts are handled in parent thread.
if (current.parentID) {
return [];
}
const childrenByParent = new Map<string, string[]>();
for (const session of sessions) {
if (!session.parentID) {