Merge branch 'pr-404'

This commit is contained in:
ajaysi
2026-03-09 16:20:06 +05:30
13 changed files with 1708 additions and 20 deletions

View File

@@ -54,12 +54,12 @@ const toWorkflowError = (error: unknown, fallbackMessage: string): WorkflowError
if (error instanceof WorkflowError) return error;
const message = error instanceof Error ? error.message : fallbackMessage;
return {
return new WorkflowError({
code: 'WORKFLOW_ERROR',
message,
timestamp: new Date(),
recoverable: false,
};
});
};
const computeProgressAndNavigation = (workflow: DailyWorkflow): { progress: WorkflowProgress; navigation: NavigationState } => {