footprintjs 14.4.0 → 14.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/esm/lib/engine/traversal/FlowchartTraverser.d.ts +3 -4
  2. package/dist/esm/lib/engine/traversal/FlowchartTraverser.js +2 -1
  3. package/dist/esm/lib/engine/types.d.ts +5 -0
  4. package/dist/esm/lib/engine/types.js +1 -1
  5. package/dist/esm/lib/runner/ExecutionRuntime.d.ts +2 -0
  6. package/dist/esm/lib/runner/ExecutionRuntime.js +1 -1
  7. package/dist/esm/lib/runner/FlowChartExecutor.d.ts +3 -4
  8. package/dist/esm/lib/runner/FlowChartExecutor.js +2 -1
  9. package/dist/esm/lib/runner/NativeRunAdapter.d.ts +2 -4
  10. package/dist/esm/lib/runner/NativeRunAdapter.js +1 -1
  11. package/dist/esm/lib/runner/NativeRunLifecycle.js +1 -1
  12. package/dist/esm/lib/runner/RunLifecycle.d.ts +3 -7
  13. package/dist/esm/lib/runner/RunLifecycle.js +1 -1
  14. package/dist/esm/lib/runner/snapshot.d.ts +2 -3
  15. package/dist/esm/lib/runner/snapshot.js +1 -1
  16. package/dist/lib/engine/traversal/FlowchartTraverser.js +2 -1
  17. package/dist/lib/engine/types.js +1 -1
  18. package/dist/lib/runner/ExecutionRuntime.js +1 -1
  19. package/dist/lib/runner/FlowChartExecutor.js +2 -1
  20. package/dist/lib/runner/NativeRunAdapter.js +1 -1
  21. package/dist/lib/runner/NativeRunLifecycle.js +1 -1
  22. package/dist/lib/runner/RunLifecycle.js +1 -1
  23. package/dist/lib/runner/snapshot.js +1 -1
  24. package/dist/types/lib/engine/traversal/FlowchartTraverser.d.ts +3 -4
  25. package/dist/types/lib/engine/types.d.ts +5 -0
  26. package/dist/types/lib/runner/ExecutionRuntime.d.ts +2 -0
  27. package/dist/types/lib/runner/FlowChartExecutor.d.ts +3 -4
  28. package/dist/types/lib/runner/NativeRunAdapter.d.ts +2 -4
  29. package/dist/types/lib/runner/RunLifecycle.d.ts +3 -7
  30. package/dist/types/lib/runner/snapshot.d.ts +2 -3
  31. package/package.json +1 -1
@@ -32,7 +32,7 @@ import type { ScopeProtectionMode } from '../../scope/protection/types.js';
32
32
  import type { QueuedPause, ResumeEntry } from '../handlers/ResumeEntry.js';
33
33
  import { FlowRecorderDispatcher } from '../narrative/FlowRecorderDispatcher.js';
34
34
  import type { FlowRecorder, IControlFlowNarrative } from '../narrative/types.js';
35
- import type { IExecutionRuntime, ILogger, ReturnedSubflowDefinition, ScopeFactory, Selector, SerializedPipelineStructure, StageFunction, StageNode, StreamHandlers, SubflowMountOptions, SubflowResult, TraversalResult } from '../types.js';
35
+ import type { IExecutionRuntime, ILogger, ReturnedSubflowDefinition, ScopeFactory, Selector, SerializedPipelineStructure, SnapshotOptions, StageFunction, StageNode, StreamHandlers, SubflowMountOptions, SubflowResult, TraversalResult } from '../types.js';
36
36
  export interface TraverserOptions<TOut = any, TScope = any> {
37
37
  /**
38
38
  * The graph this traverser walks — and the graph every id resolves against
@@ -350,10 +350,9 @@ export declare class FlowchartTraverser<TOut = any, TScope = any> {
350
350
  reason?: string;
351
351
  };
352
352
  getRuntimeStructure(): SerializedPipelineStructure | undefined;
353
- getSnapshot(options?: {
354
- redact?: boolean;
355
- }): {
353
+ getSnapshot(options?: SnapshotOptions): {
356
354
  correlation?: RunCorrelation | undefined;
355
+ resumePrefixGap?: "resume-prefix-unavailable" | undefined;
357
356
  runId: string;
358
357
  sharedState: Record<string, unknown>;
359
358
  executionTree: unknown;