Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(scheduled-tasks): optionally settle threads on completion #15167

ClosedJoshuaRileyDev(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/15167/headopened View on GitHub

Showing 21 changed files with 20 additions and 0 deletions (loading 18).

x
0 of 21 viewed, 21 left
15 additions and 0 deletionsapps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsxModified
View file
@@ -505,6 +505,7 @@
prompt: editor.draft.prompt,
schedule: editor.draft.schedule,
enabled: editor.draft.enabled,
+ settleOnCompletion: editor.draft.settleOnCompletion,
});
@@ -609,6 +610,7 @@
modelSelection: draft.modelSelection,
schedule,
enabled: draft.enabled,
+ settleOnCompletion: draft.settleOnCompletion,
threadId: draft.task?.threadId ?? null,
workspaceStrategy:
draft.workspace === "root"
@@ -905,6 +907,19 @@
onValueChange={(enabled) => setDraft({ ...draft, enabled })}
</View>
+ <View className="min-h-14 flex-row items-center gap-3 border-t border-border-subtle px-4 py-3">
+ <View className="min-w-0 flex-1 gap-1">
+ <Text className="text-lg text-foreground">Settle thread when complete</Text>
+ <Text className="text-sm text-foreground-muted">
+ Move the task's thread out of the active list after its run finishes.
+ </Text>
+ </View>
+ <ThemedSwitch