Q158: run history and run output come from the database, not the snapshot window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 02:31:43 -04:00
1 parent a075f931d5
commit 9d166e3fc9
18 files changed
+222 -35

No files matched your search

+14
View File
@@ -105,6 +105,20 @@ export interface TaskDeleteImpact {
pendingApprovals: number;
}
/** A position in run history (time, then insertion), which stays valid after its run is deleted. */
export interface RunCursor {
createdAt: string;
seq: number;
}
/** A page of older runs, oldest first: whether older ones exist, the position of its oldest run, and of the run it was read before. */
export interface RunHistoryPage {
runs: TaskRunRecord[];
hasMore: boolean;
oldest: RunCursor | null;
boundary: RunCursor | null;
}
export interface TaskRecord {
id: string;
orgId: string;