File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { handleTriggerLogic } from '../directives/trigger/index.js';
1515import { handleCheckpointLogic } from '../directives/checkpoint/index.js' ;
1616import { handleErrorLogic } from '../directives/error/index.js' ;
1717import { handlePauseLogic } from '../directives/pause/index.js' ;
18+ import { resetDirective } from '../directives/reader.js' ;
1819import type { WorkflowEventEmitter } from '../events/index.js' ;
1920import { type ModuleStep , type WorkflowTemplate , isModuleStep } from '../templates/types.js' ;
2021import { getUniqueAgentId } from '../context/index.js' ;
@@ -307,6 +308,7 @@ export async function afterRun(options: AfterRunOptions): Promise<AfterRunResult
307308 } ) ;
308309
309310 emitter . clearCheckpointState ( ) ;
311+ await resetDirective ( cwd ) ;
310312
311313 if ( checkpointAction === 'quit' ) {
312314 emitter . setWorkflowStatus ( 'stopped' ) ;
You can’t perform that action at this time.
0 commit comments