mirror of
https://github.com/davidkaya/aryx.git
synced 2026-11-18 15:48:17 +01:00
feat: add handoff workflow checkpoint recovery
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
1ceb3d5669
commit
13bcc44f1a
10 files changed
+761
-24
No files matched your search
@@ -72,6 +72,12 @@ export interface ValidatePatternCommand {
|
||||
export type InteractionMode = 'interactive' | 'plan';
|
||||
export type MessageMode = 'enqueue' | 'immediate';
|
||||
|
||||
export interface WorkflowCheckpointResume {
|
||||
workflowSessionId: string;
|
||||
checkpointId: string;
|
||||
storePath: string;
|
||||
}
|
||||
|
||||
export interface RunTurnCommand {
|
||||
type: 'run-turn';
|
||||
requestId: string;
|
||||
@@ -85,6 +91,7 @@ export interface RunTurnCommand {
|
||||
messages: ChatMessageRecord[];
|
||||
attachments?: ChatMessageAttachment[];
|
||||
tooling?: RunTurnToolingConfig;
|
||||
resumeFromCheckpoint?: WorkflowCheckpointResume;
|
||||
}
|
||||
|
||||
export interface CancelTurnCommand {
|
||||
@@ -384,6 +391,16 @@ export interface PendingMessagesModifiedEvent {
|
||||
agentName?: string;
|
||||
}
|
||||
|
||||
export interface WorkflowCheckpointSavedEvent {
|
||||
type: 'workflow-checkpoint-saved';
|
||||
requestId: string;
|
||||
sessionId: string;
|
||||
workflowSessionId: string;
|
||||
checkpointId: string;
|
||||
storePath: string;
|
||||
stepNumber: number;
|
||||
}
|
||||
|
||||
export type WorkflowDiagnosticSeverity = 'warning' | 'error';
|
||||
export type WorkflowDiagnosticKind =
|
||||
| 'workflow-warning'
|
||||
@@ -585,6 +602,7 @@ export type SidecarEvent =
|
||||
| SessionUsageEvent
|
||||
| SessionCompactionEvent
|
||||
| PendingMessagesModifiedEvent
|
||||
| WorkflowCheckpointSavedEvent
|
||||
| WorkflowDiagnosticEvent
|
||||
| ApprovalRequestedEvent
|
||||
| UserInputRequestedEvent
|
||||
|
||||
Reference in new issue
Block a user