| 1 | import type { |
| 2 | EnvironmentId, |
| 3 | OrchestrationGetFullThreadDiffResult, |
| 4 | OrchestrationGetTurnDiffResult, |
| 5 | ThreadId, |
| 6 | } from "@t3tools/contracts"; |
| 7 | |
| 8 | export type CheckpointDiffResult = |
| 9 | | OrchestrationGetTurnDiffResult |
| 10 | | OrchestrationGetFullThreadDiffResult; |
| 11 | |
| 12 | export interface CheckpointDiffState { |
| 13 | readonly data: CheckpointDiffResult | null; |
| 14 | readonly error: string | null; |
| 15 | readonly isPending: boolean; |
| 16 | } |
| 17 | |
| 18 | export interface CheckpointDiffTarget { |
| 19 | readonly environmentId: EnvironmentId | null; |
| 20 | readonly threadId: ThreadId | null; |
| 21 | readonly fromTurnCount: number | null; |
| 22 | readonly toTurnCount: number | null; |
| 23 | readonly ignoreWhitespace: boolean; |
| 24 | readonly cacheScope?: string | null; |
| 25 | } |