Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): a thread comes back when its subagent needs approval #19630

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/19630/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 13 changed files with 22 additions and 13 deletions (loading 10).

x
0 of 13 viewed, 13 left
3 additions and 1 deletionapps/mobile/src/features/home/useThreadListActions.tsModified
View file
@@ -308,7 +308,9 @@
if (!canSnooze(thread, { now: new Date().toISOString() })) {
Alert.alert(
"Could not snooze thread",
- thread.hasPendingApprovals || thread.hasPendingUserInput
+ thread.hasPendingApprovals ||
+ thread.hasPendingUserInput ||
+ thread.pendingSubagentRequest != null
? "This thread is waiting on you. Respond to the pending request before snoozing it."
: "This thread is still starting a turn. Try again once it's running.",
6 additions and 8 deletionsapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -7,9 +7,10 @@
import { type EnvironmentConnectionPhase } from "@t3tools/client-runtime/connection";
import type { EnvironmentThreadShell } from "@t3tools/client-runtime/state/shell";
import type { HandoffEndpoints } from "@t3tools/client-runtime/handoff";
-import type {
- CodexFeedbackSubmission,
- EnvironmentThreadStatus,
+import {
+ childThreadInputsTitle,
+ type CodexFeedbackSubmission,
+ type EnvironmentThreadStatus,
} from "@t3tools/client-runtime/state/threads";
import { useKeyboardChatComposerInset, useKeyboardScrollToEnd } from "@legendapp/list/keyboard";
import { resolveProviderSkillsForCwd } from "@t3tools/client-runtime/providerSkills";