fix(mobile): preserve active thread state

Keep executing runs visible when newer work is queued, expose provider errors in compact shells, and preserve mobile creation metadata for fork and merge operations.

Co-authored-by: codex <[email protected]>
This commit is contained in:
Julius Marmingeandcodex committed 2026-07-28 12:15:53 +02:00
1 parent ae3a25649a
commit e56b1c3dde
16 files changed
+230 -44

No files matched your search

@@ -1178,6 +1178,7 @@ export const OrchestrationV2ThreadShell = Schema.Struct({
latestRunId: Schema.NullOr(RunId),
activeRunId: Schema.NullOr(RunId),
status: OrchestrationV2ShellThreadStatus,
lastError: Schema.optional(Schema.NullOr(Schema.String)),
pendingRuntimeRequest: Schema.NullOr(OrchestrationV2PendingRuntimeRequestSummary),
latestVisibleMessage: Schema.NullOr(OrchestrationV2LatestVisibleMessageSummary),
latestUserMessageAt: Schema.NullOr(Schema.DateTimeUtc),