@voltagent/core 2.4.4 → 2.6.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.
package/dist/index.d.mts CHANGED
@@ -1512,6 +1512,13 @@ interface WorkflowStateEntry {
1512
1512
  stepExecutionState?: any;
1513
1513
  completedStepsData?: any[];
1514
1514
  workflowState?: Record<string, unknown>;
1515
+ stepData?: Record<string, {
1516
+ input: unknown;
1517
+ output?: unknown;
1518
+ status: "running" | "success" | "error" | "suspended" | "cancelled" | "skipped";
1519
+ error?: unknown;
1520
+ }>;
1521
+ usage?: UsageInfo;
1515
1522
  };
1516
1523
  suspendData?: any;
1517
1524
  };
@@ -1543,6 +1550,10 @@ interface WorkflowStateEntry {
1543
1550
  userId?: string;
1544
1551
  /** Conversation ID if applicable */
1545
1552
  conversationId?: string;
1553
+ /** Source execution ID if this run is a replay */
1554
+ replayedFromExecutionId?: string;
1555
+ /** Source step ID used when this run was replayed */
1556
+ replayFromStepId?: string;
1546
1557
  /** Additional metadata */
1547
1558
  metadata?: Record<string, unknown>;
1548
1559
  /** Timestamps */
@@ -3702,6 +3713,11 @@ interface SpanAttributes {
3702
3713
  "workflow.step.index"?: number;
3703
3714
  "workflow.step.type"?: string;
3704
3715
  "workflow.step.name"?: string;
3716
+ "workflow.replayed"?: boolean;
3717
+ "workflow.replay.source_trace_id"?: string;
3718
+ "workflow.replay.source_span_id"?: string;
3719
+ "workflow.replay.source_execution_id"?: string;
3720
+ "workflow.replay.source_step_id"?: string;
3705
3721
  "tool.name"?: string;
3706
3722
  "workspace.id"?: string;
3707
3723
  "workspace.name"?: string;
@@ -9393,6 +9409,8 @@ declare class Agent {
9393
9409
  private isRetryableError;
9394
9410
  private executeWithModelFallback;
9395
9411
  private probeStreamStart;
9412
+ private cloneResultWithFullStream;
9413
+ private toAsyncIterableStream;
9396
9414
  private discardStream;
9397
9415
  /**
9398
9416
  * Prepare tools with execution context
@@ -9631,6 +9649,12 @@ interface WorkflowTraceContextOptions {
9631
9649
  traceId: string;
9632
9650
  spanId: string;
9633
9651
  };
9652
+ replayedFrom?: {
9653
+ traceId: string;
9654
+ spanId: string;
9655
+ executionId: string;
9656
+ stepId: string;
9657
+ };
9634
9658
  }
9635
9659
  declare class WorkflowTraceContext {
9636
9660
  private rootSpan;
@@ -9881,6 +9905,10 @@ interface WorkflowSuspensionMetadata<SUSPEND_DATA = DangerouslyAllowAny> {
9881
9905
  completedStepsData?: DangerouslyAllowAny[];
9882
9906
  /** Shared workflow state snapshot */
9883
9907
  workflowState?: WorkflowStateStore;
9908
+ /** Step data snapshots required by getStepData() after resume */
9909
+ stepData?: Record<string, WorkflowCheckpointStepData>;
9910
+ /** Accumulated usage up to suspension point */
9911
+ usage?: UsageInfo;
9884
9912
  };
9885
9913
  }
9886
9914
  interface WorkflowCancellationMetadata {
@@ -10022,6 +10050,70 @@ interface WorkflowStreamResult<RESULT_SCHEMA extends z.ZodTypeAny, RESUME_SCHEMA
10022
10050
  * Abort the workflow execution
10023
10051
  */
10024
10052
  abort: () => void;
10053
+ /**
10054
+ * Subscribe to run-level stream events without consuming the main async iterator.
10055
+ * Returns an unsubscribe function.
10056
+ */
10057
+ watch: (cb: (event: WorkflowStreamEvent) => void | Promise<void>) => () => void;
10058
+ /**
10059
+ * Async variant of watch() for compatibility with observer-based integrations.
10060
+ */
10061
+ watchAsync: (cb: (event: WorkflowStreamEvent) => void | Promise<void>) => Promise<() => void>;
10062
+ /**
10063
+ * Create a ReadableStream view over workflow events.
10064
+ */
10065
+ observeStream: () => ReadableStream<WorkflowStreamEvent>;
10066
+ /**
10067
+ * Compatibility surface for legacy stream consumers.
10068
+ */
10069
+ streamLegacy: () => {
10070
+ stream: ReadableStream<WorkflowStreamEvent>;
10071
+ getWorkflowState: () => ReturnType<Memory["getWorkflowState"]>;
10072
+ };
10073
+ }
10074
+ /**
10075
+ * Result returned when a workflow execution is started asynchronously
10076
+ */
10077
+ interface WorkflowStartAsyncResult {
10078
+ /**
10079
+ * Unique execution ID for this workflow run
10080
+ */
10081
+ executionId: string;
10082
+ /**
10083
+ * The workflow ID
10084
+ */
10085
+ workflowId: string;
10086
+ /**
10087
+ * When the async execution was started
10088
+ */
10089
+ startAt: Date;
10090
+ }
10091
+ interface WorkflowTimeTravelOptions {
10092
+ /**
10093
+ * Source execution ID to replay from
10094
+ */
10095
+ executionId: string;
10096
+ /**
10097
+ * Step ID to restart execution from
10098
+ */
10099
+ stepId: string;
10100
+ /**
10101
+ * Optional override for the selected step input/state data
10102
+ */
10103
+ inputData?: DangerouslyAllowAny;
10104
+ /**
10105
+ * Optional resume payload passed as `resumeData` to the selected step
10106
+ */
10107
+ resumeData?: DangerouslyAllowAny;
10108
+ /**
10109
+ * Optional override for shared workflow state during replay
10110
+ */
10111
+ workflowStateOverride?: WorkflowStateStore;
10112
+ /**
10113
+ * Optional memory adapter to read source execution and persist replay execution state.
10114
+ * Falls back to workflow default memory when omitted.
10115
+ */
10116
+ memory?: Memory;
10025
10117
  }
10026
10118
  interface WorkflowRetryConfig {
10027
10119
  /**
@@ -10081,6 +10173,11 @@ interface WorkflowRunOptions {
10081
10173
  * Options for resuming a suspended workflow
10082
10174
  */
10083
10175
  resumeFrom?: WorkflowResumeOptions;
10176
+ /**
10177
+ * Internal replay lineage context for deterministic time-travel executions
10178
+ * @internal
10179
+ */
10180
+ replayFrom?: WorkflowReplayOptions;
10084
10181
  /**
10085
10182
  * Suspension mode:
10086
10183
  * - 'graceful': Wait for current step to complete before suspending (default)
@@ -10097,6 +10194,16 @@ interface WorkflowRunOptions {
10097
10194
  * Override retry settings for this workflow execution
10098
10195
  */
10099
10196
  retryConfig?: WorkflowRetryConfig;
10197
+ /**
10198
+ * Persist running checkpoints every N completed steps.
10199
+ * @default 1
10200
+ */
10201
+ checkpointInterval?: number;
10202
+ /**
10203
+ * Disable running checkpoint persistence for this execution.
10204
+ * @default false
10205
+ */
10206
+ disableCheckpointing?: boolean;
10100
10207
  /**
10101
10208
  * Input guardrails to run before workflow execution
10102
10209
  */
@@ -10109,6 +10216,11 @@ interface WorkflowRunOptions {
10109
10216
  * Optional agent instance to supply to workflow guardrails
10110
10217
  */
10111
10218
  guardrailAgent?: Agent;
10219
+ /**
10220
+ * Internal flag to skip initial state creation when it is already persisted
10221
+ * @internal
10222
+ */
10223
+ skipStateInit?: boolean;
10112
10224
  }
10113
10225
  interface WorkflowResumeOptions {
10114
10226
  /**
@@ -10122,6 +10234,8 @@ interface WorkflowResumeOptions {
10122
10234
  stepExecutionState?: DangerouslyAllowAny;
10123
10235
  completedStepsData?: DangerouslyAllowAny[];
10124
10236
  workflowState?: WorkflowStateStore;
10237
+ stepData?: Record<string, WorkflowCheckpointStepData>;
10238
+ usage?: UsageInfo;
10125
10239
  };
10126
10240
  /**
10127
10241
  * The step index to resume from
@@ -10136,6 +10250,63 @@ interface WorkflowResumeOptions {
10136
10250
  */
10137
10251
  resumeData?: DangerouslyAllowAny;
10138
10252
  }
10253
+ interface WorkflowReplayOptions {
10254
+ /**
10255
+ * Source execution ID used for replay lineage
10256
+ */
10257
+ executionId: string;
10258
+ /**
10259
+ * Source step ID where replay starts
10260
+ */
10261
+ stepId: string;
10262
+ }
10263
+ interface WorkflowRestartCheckpoint {
10264
+ /**
10265
+ * Zero-based step index where execution should continue
10266
+ */
10267
+ resumeStepIndex: number;
10268
+ /**
10269
+ * Last completed step index at checkpoint time
10270
+ */
10271
+ lastCompletedStepIndex: number;
10272
+ /**
10273
+ * Current workflow data snapshot
10274
+ */
10275
+ stepExecutionState?: DangerouslyAllowAny;
10276
+ /**
10277
+ * Completed step snapshots used by downstream lookups
10278
+ */
10279
+ completedStepsData?: DangerouslyAllowAny[];
10280
+ /**
10281
+ * Shared workflow state snapshot
10282
+ */
10283
+ workflowState?: WorkflowStateStore;
10284
+ /**
10285
+ * Step data snapshots required by getStepData() after restart
10286
+ */
10287
+ stepData?: Record<string, WorkflowCheckpointStepData>;
10288
+ /**
10289
+ * Usage accumulated up to checkpoint
10290
+ */
10291
+ usage?: UsageInfo;
10292
+ /**
10293
+ * Event sequence at checkpoint time
10294
+ */
10295
+ eventSequence?: number;
10296
+ /**
10297
+ * Timestamp when the checkpoint was persisted
10298
+ */
10299
+ checkpointedAt: Date;
10300
+ }
10301
+ interface WorkflowRestartAllResult {
10302
+ restarted: string[];
10303
+ failed: Array<{
10304
+ executionId?: string;
10305
+ workflowId?: string;
10306
+ error: string;
10307
+ isWorkflowFailure?: boolean;
10308
+ }>;
10309
+ }
10139
10310
  /**
10140
10311
  * Hooks for the workflow
10141
10312
  * @param DATA - The type of the data
@@ -10149,6 +10320,17 @@ type WorkflowStepData = {
10149
10320
  status: WorkflowStepStatus;
10150
10321
  error?: Error | null;
10151
10322
  };
10323
+ type WorkflowSerializedStepError = {
10324
+ message: string;
10325
+ stack?: string;
10326
+ name?: string;
10327
+ };
10328
+ type WorkflowCheckpointStepData = {
10329
+ input: DangerouslyAllowAny;
10330
+ output?: DangerouslyAllowAny;
10331
+ status: WorkflowStepStatus;
10332
+ error?: WorkflowSerializedStepError | null;
10333
+ };
10152
10334
  type WorkflowHookContext<DATA, RESULT> = {
10153
10335
  /**
10154
10336
  * Terminal status for the workflow execution
@@ -10290,6 +10472,16 @@ type WorkflowConfig<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema, RESULT
10290
10472
  * Default retry configuration for steps in this workflow
10291
10473
  */
10292
10474
  retryConfig?: WorkflowRetryConfig;
10475
+ /**
10476
+ * Default running checkpoint persistence interval in completed-step count.
10477
+ * @default 1
10478
+ */
10479
+ checkpointInterval?: number;
10480
+ /**
10481
+ * Disable running checkpoint persistence for this workflow by default.
10482
+ * @default false
10483
+ */
10484
+ disableCheckpointing?: boolean;
10293
10485
  };
10294
10486
  /**
10295
10487
  * A workflow instance that can be executed
@@ -10386,6 +10578,37 @@ type Workflow<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema, RESULT_SCHEM
10386
10578
  * @returns Stream result with real-time events and promise-based fields
10387
10579
  */
10388
10580
  stream: (input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions) => WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
10581
+ /**
10582
+ * Start the workflow in the background without waiting for completion
10583
+ * @param input - The input to the workflow
10584
+ * @param options - Options for the workflow execution
10585
+ * @returns Async start metadata with execution ID
10586
+ */
10587
+ startAsync: (input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions) => Promise<WorkflowStartAsyncResult>;
10588
+ /**
10589
+ * Replay an existing execution from a selected historical step.
10590
+ * A new execution ID is created and linked to the source run for audit safety.
10591
+ */
10592
+ timeTravel: (options: WorkflowTimeTravelOptions) => Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
10593
+ /**
10594
+ * Stream replay execution from a selected historical step.
10595
+ * A new execution ID is created and linked to the source run for audit safety.
10596
+ */
10597
+ timeTravelStream: (options: WorkflowTimeTravelOptions) => WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
10598
+ /**
10599
+ * Restart an interrupted execution from persisted checkpoint state
10600
+ * @param executionId - Execution ID to restart
10601
+ * @param options - Optional execution overrides
10602
+ * @returns Execution result of the restarted run
10603
+ */
10604
+ restart: (executionId: string, options?: WorkflowRunOptions) => Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
10605
+ /**
10606
+ * Restart all active (running) executions for this workflow
10607
+ * This method only operates on this workflow instance.
10608
+ * Use `WorkflowRegistry.restartAllActiveWorkflowRuns({ workflowId })` for cross-workflow filtering.
10609
+ * @returns Lists of restarted and failed execution IDs
10610
+ */
10611
+ restartAllActive: () => Promise<WorkflowRestartAllResult>;
10389
10612
  /**
10390
10613
  * Create a WorkflowSuspendController that can be used to suspend the workflow
10391
10614
  * @returns A WorkflowSuspendController instance
@@ -10518,11 +10741,15 @@ type InternalBaseWorkflowInputSchema = z.ZodTypeAny | BaseMessage | BaseMessage[
10518
10741
  * Context object for new execute API with helper functions
10519
10742
  * @private - INTERNAL USE ONLY
10520
10743
  */
10521
- interface WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA> {
10744
+ interface WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT = unknown> {
10522
10745
  data: DATA;
10523
10746
  state: WorkflowStepState<INPUT>;
10524
10747
  getStepData: (stepId: string) => WorkflowStepData | undefined;
10748
+ getStepResult: <T = unknown>(stepId: string) => T | null;
10749
+ getInitData: <T = InternalExtractWorkflowInputData<INPUT>>() => T;
10525
10750
  suspend: (reason?: string, suspendData?: SUSPEND_DATA) => Promise<never>;
10751
+ bail: (result?: WORKFLOW_RESULT) => never;
10752
+ abort: () => never;
10526
10753
  resumeData?: RESUME_DATA;
10527
10754
  retryCount?: number;
10528
10755
  workflowState: WorkflowStateStore;
@@ -10543,7 +10770,7 @@ interface WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA> {
10543
10770
  * Uses context-based API with data, state, and helper functions
10544
10771
  * @private - INTERNAL USE ONLY
10545
10772
  */
10546
- type InternalWorkflowFunc<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA> = (context: WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA>) => Promise<RESULT>;
10773
+ type InternalWorkflowFunc<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT = unknown> = (context: WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT>) => Promise<RESULT>;
10547
10774
  type InternalWorkflowStepConfig<T extends PlainObject = PlainObject> = {
10548
10775
  /**
10549
10776
  * Unique identifier for the step
@@ -10567,7 +10794,7 @@ type InternalWorkflowStepConfig<T extends PlainObject = PlainObject> = {
10567
10794
  * Base step interface for building new steps
10568
10795
  * @private - INTERNAL USE ONLY
10569
10796
  */
10570
- interface InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA> {
10797
+ interface InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT = unknown> {
10571
10798
  /**
10572
10799
  * Unique identifier for the step
10573
10800
  */
@@ -10609,13 +10836,13 @@ interface InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DAT
10609
10836
  * @param context - The execution context containing data, state, and helpers
10610
10837
  * @returns The result of the step
10611
10838
  */
10612
- execute: (context: WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA>) => Promise<RESULT>;
10839
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT>) => Promise<RESULT>;
10613
10840
  }
10614
10841
  /**
10615
10842
  * Any step that can be accepted by the workflow
10616
10843
  * @private - INTERNAL USE ONLY
10617
10844
  */
10618
- type InternalAnyWorkflowStep<INPUT = DangerouslyAllowAny, DATA = DangerouslyAllowAny, RESULT = DangerouslyAllowAny, SUSPEND_DATA = DangerouslyAllowAny, RESUME_DATA = DangerouslyAllowAny> = InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA> | Omit<InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA>, "type">;
10845
+ type InternalAnyWorkflowStep<INPUT = DangerouslyAllowAny, DATA = DangerouslyAllowAny, RESULT = DangerouslyAllowAny, SUSPEND_DATA = DangerouslyAllowAny, RESUME_DATA = DangerouslyAllowAny, WORKFLOW_RESULT = unknown> = InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT> | Omit<InternalBaseWorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA, RESUME_DATA, WORKFLOW_RESULT>, "type">;
10619
10846
  /**
10620
10847
  * Infer the result type from a list of steps
10621
10848
  * @private - INTERNAL USE ONLY
@@ -10665,7 +10892,7 @@ declare function andAgent<INPUT, DATA, SCHEMA extends AgentOutputSchema, RESULT
10665
10892
  name: string;
10666
10893
  purpose: string | null;
10667
10894
  agent: Agent;
10668
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<RESULT>;
10895
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<RESULT>;
10669
10896
  };
10670
10897
 
10671
10898
  interface WorkflowStepAgent<INPUT, DATA, RESULT> extends InternalBaseWorkflowStep<INPUT, DATA, RESULT, any, any> {
@@ -10842,7 +11069,7 @@ type WorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA = any> = WorkflowStepAgent<I
10842
11069
  /**
10843
11070
  * Internal type to allow overriding the run method for the workflow
10844
11071
  */
10845
- interface InternalWorkflow<_INPUT, DATA, RESULT> extends Omit<Workflow<DangerouslyAllowAny, DangerouslyAllowAny>, "run"> {
11072
+ interface InternalWorkflow<_INPUT, DATA, RESULT> extends Omit<Workflow<DangerouslyAllowAny, DangerouslyAllowAny>, "run" | "restart" | "restartAllActive"> {
10846
11073
  run: (input: DATA, options?: InternalWorkflowRunOptions) => Promise<{
10847
11074
  executionId: string;
10848
11075
  startAt: Date;
@@ -10957,7 +11184,7 @@ declare function andWhen<INPUT, DATA, RESULT>({ condition, step, inputSchema, ou
10957
11184
  declare function andAll<INPUT, DATA, RESULT, STEPS extends ReadonlyArray<InternalAnyWorkflowStep<INPUT, DATA, RESULT>> | WorkflowStepParallelDynamicStepsFunc<INPUT, DATA, RESULT>>({ steps: inputSteps, ...config }: WorkflowStepParallelAllConfig<INPUT, DATA, RESULT, STEPS>): {
10958
11185
  type: "parallel-all";
10959
11186
  steps: InternalAnyWorkflowStep<INPUT, DATA, STEPS extends readonly InternalAnyWorkflowStep<INPUT, DATA, RESULT>[] ? InternalInferWorkflowStepsResult<STEPS> : STEPS extends WorkflowStepParallelDynamicStepsFunc<INPUT, DATA, RESULT> ? InternalInferWorkflowStepsResult<Awaited<ReturnType<STEPS>>> : never>[];
10960
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<STEPS extends readonly InternalAnyWorkflowStep<INPUT, DATA, RESULT>[] ? InternalInferWorkflowStepsResult<STEPS> : STEPS extends WorkflowStepParallelDynamicStepsFunc<INPUT, DATA, RESULT> ? InternalInferWorkflowStepsResult<Awaited<ReturnType<STEPS>>> : never>;
11187
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<STEPS extends readonly InternalAnyWorkflowStep<INPUT, DATA, RESULT>[] ? InternalInferWorkflowStepsResult<STEPS> : STEPS extends WorkflowStepParallelDynamicStepsFunc<INPUT, DATA, RESULT> ? InternalInferWorkflowStepsResult<Awaited<ReturnType<STEPS>>> : never>;
10961
11188
  id: string;
10962
11189
  name: string;
10963
11190
  purpose: string;
@@ -11014,7 +11241,7 @@ declare function andRace<INPUT, DATA, RESULT, STEPS extends ReadonlyArray<Intern
11014
11241
  }>): {
11015
11242
  type: "parallel-race";
11016
11243
  steps: InternalAnyWorkflowStep<INPUT, DATA, InternalInferWorkflowStepsResult<STEPS>[number]>[];
11017
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<InternalInferWorkflowStepsResult<STEPS>[number]>;
11244
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<InternalInferWorkflowStepsResult<STEPS>[number]>;
11018
11245
  id: string;
11019
11246
  name: string;
11020
11247
  purpose: string;
@@ -11125,7 +11352,7 @@ declare function andForEach<INPUT, DATA, ITEM, RESULT, MAP_DATA = ITEM>({ step,
11125
11352
  concurrency: number;
11126
11353
  items: WorkflowStepForEachItemsFunc<INPUT, DATA, ITEM> | undefined;
11127
11354
  map: WorkflowStepForEachMapFunc<INPUT, DATA, ITEM, MAP_DATA> | undefined;
11128
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<RESULT[]>;
11355
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<RESULT[]>;
11129
11356
  id: string;
11130
11357
  name: string;
11131
11358
  purpose: string;
@@ -11141,7 +11368,7 @@ declare function andBranch<INPUT, DATA, RESULT>({ branches, ...config }: Workflo
11141
11368
  condition: InternalWorkflowFunc<INPUT, DATA, boolean, any, any>;
11142
11369
  step: InternalAnyWorkflowStep<INPUT, DATA, RESULT>;
11143
11370
  }[];
11144
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<(RESULT | undefined)[]>;
11371
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<(RESULT | undefined)[]>;
11145
11372
  id: string;
11146
11373
  name: string;
11147
11374
  purpose: string;
@@ -11158,7 +11385,7 @@ declare function andDoWhile<INPUT, DATA, RESULT>(config: WorkflowStepLoopConfig<
11158
11385
  step: InternalAnyWorkflowStep<INPUT, DATA, RESULT> | InternalAnyWorkflowStep<INPUT, DATA, any>;
11159
11386
  steps: WorkflowStepLoopSteps<INPUT, DATA, RESULT>;
11160
11387
  condition: InternalWorkflowFunc<INPUT, RESULT, boolean, any, any>;
11161
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<RESULT>;
11388
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<RESULT>;
11162
11389
  id: string;
11163
11390
  name: string;
11164
11391
  purpose: string;
@@ -11173,7 +11400,7 @@ declare function andDoUntil<INPUT, DATA, RESULT>(config: WorkflowStepLoopConfig<
11173
11400
  step: InternalAnyWorkflowStep<INPUT, DATA, RESULT> | InternalAnyWorkflowStep<INPUT, DATA, any>;
11174
11401
  steps: WorkflowStepLoopSteps<INPUT, DATA, RESULT>;
11175
11402
  condition: InternalWorkflowFunc<INPUT, RESULT, boolean, any, any>;
11176
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<RESULT>;
11403
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<RESULT>;
11177
11404
  id: string;
11178
11405
  name: string;
11179
11406
  purpose: string;
@@ -11186,7 +11413,7 @@ declare function andDoUntil<INPUT, DATA, RESULT>(config: WorkflowStepLoopConfig<
11186
11413
  declare function andMap<INPUT, DATA, MAP extends Record<string, WorkflowStepMapEntry<INPUT, DATA>>>({ map, ...config }: WorkflowStepMapConfig<INPUT, DATA, MAP>): {
11187
11414
  type: "map";
11188
11415
  map: MAP;
11189
- execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any>) => Promise<WorkflowStepMapResult<MAP>>;
11416
+ execute: (context: WorkflowExecuteContext<INPUT, DATA, any, any, unknown>) => Promise<WorkflowStepMapResult<MAP>>;
11190
11417
  id: string;
11191
11418
  name: string;
11192
11419
  purpose: string;
@@ -11858,6 +12085,38 @@ declare class WorkflowChain<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema
11858
12085
  * Execute the workflow with the given input
11859
12086
  */
11860
12087
  run(input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
12088
+ /**
12089
+ * Start the workflow in the background without waiting for completion
12090
+ */
12091
+ startAsync(input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions): Promise<WorkflowStartAsyncResult>;
12092
+ /**
12093
+ * Replay a historical execution from the selected step
12094
+ * This recreates a workflow instance via `createWorkflow(...)` on each call.
12095
+ * Use persistent/shared memory (or register the workflow) so source execution state is discoverable.
12096
+ * For ephemeral setup patterns, prefer `chain.toWorkflow().timeTravel(...)` and reuse that instance.
12097
+ */
12098
+ timeTravel(options: WorkflowTimeTravelOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
12099
+ /**
12100
+ * Stream a historical replay from the selected step
12101
+ * This recreates a workflow instance via `createWorkflow(...)` on each call.
12102
+ * Use persistent/shared memory (or register the workflow) so source execution state is discoverable.
12103
+ * For ephemeral setup patterns, prefer `chain.toWorkflow().timeTravelStream(...)` and reuse that instance.
12104
+ */
12105
+ timeTravelStream(options: WorkflowTimeTravelOptions): WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
12106
+ /**
12107
+ * Restart an interrupted execution from persisted checkpoint state
12108
+ * This recreates a workflow instance via `createWorkflow(...)` on each call.
12109
+ * Use persistent/shared memory (or register the workflow) so prior execution state is discoverable.
12110
+ * For ephemeral setup patterns, prefer `chain.toWorkflow().restart(...)` and reuse that instance.
12111
+ */
12112
+ restart(executionId: string, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
12113
+ /**
12114
+ * Restart all active (running) executions for this workflow
12115
+ * This recreates a workflow instance via `createWorkflow(...)` on each call.
12116
+ * Use persistent/shared memory (or register the workflow) so active executions can be found.
12117
+ * For ephemeral setup patterns, prefer `chain.toWorkflow().restartAllActive()` and reuse that instance.
12118
+ */
12119
+ restartAllActive(): Promise<WorkflowRestartAllResult>;
11861
12120
  /**
11862
12121
  * Execute the workflow with streaming support
11863
12122
  */
@@ -11896,6 +12155,10 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
11896
12155
  * Get the singleton instance of WorkflowRegistry
11897
12156
  */
11898
12157
  static getInstance(): WorkflowRegistry;
12158
+ /**
12159
+ * Clears registry state. Primarily used by tests for deterministic isolation.
12160
+ */
12161
+ reset(): void;
11899
12162
  /**
11900
12163
  * Register a workflow with the registry
11901
12164
  */
@@ -11934,6 +12197,16 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
11934
12197
  * Resume a suspended workflow execution
11935
12198
  */
11936
12199
  resumeSuspendedWorkflow(workflowId: string, executionId: string, resumeData?: any, resumeStepId?: string): Promise<WorkflowExecutionResult<any, any> | null>;
12200
+ /**
12201
+ * Restart a running workflow execution from persisted checkpoint state
12202
+ */
12203
+ restartWorkflowExecution(workflowId: string, executionId: string, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<any, any>>;
12204
+ /**
12205
+ * Restart all active (running) workflow executions
12206
+ */
12207
+ restartAllActiveWorkflowRuns(options?: {
12208
+ workflowId?: string;
12209
+ }): Promise<WorkflowRestartAllResult>;
11937
12210
  /**
11938
12211
  * Get all suspended workflow executions
11939
12212
  */
@@ -15737,4 +16010,4 @@ declare class VoltAgent {
15737
16010
  */
15738
16011
  declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
15739
16012
 
15740
- export { A2AServerRegistry, AbortError, Agent, type AgentConversationPersistenceMode, type AgentConversationPersistenceOptions, type AgentEvalConfig, type AgentEvalContext, type AgentEvalFeedbackHelper, type AgentEvalFeedbackSaveInput, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalResultCallbackArgs, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, type AgentEvalToolCall, type AgentEvalToolResult, type AgentFeedbackHandle, type AgentFeedbackMarkProvidedInput, type AgentFeedbackMetadata, type AgentFeedbackOptions, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnFallback, type AgentHookOnHandoff, type AgentHookOnHandoffComplete, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnRetry, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolError, type AgentHookOnToolStart, type AgentHooks, type AgentMarkFeedbackProvidedInput, type AgentModelConfig, type AgentModelReference, type AgentModelValue, type AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, type AgentSummarizationOptions, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type BuildScorerOptions, type BuildScorerRunArgs, type BuildScorerRunResult, type BuilderAnalyzeContext, type BuilderPrepareContext, type BuilderReasonContext, type BuilderScoreContext, type CachedPrompt, type ChatMessage, ClientHTTPError, type ClientSideToolResult, type CloudflareFetchHandler, CompositeFilesystemBackend, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type ConversationStepRecord, type ConversationStepType, type ConversationTitleConfig, type ConversationTitleGenerator, ConversationTodoBackend, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateInputGuardrailOptions, type CreateInputMiddlewareOptions, type CreateOutputGuardrailOptions, type CreateOutputMiddlewareOptions, type CreateReasoningToolsOptions, type CreateScorerOptions, DEFAULT_INSTRUCTIONS, DELETE_FILE_TOOL_DESCRIPTION, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter, type EmbeddingAdapterConfig, type EmbeddingAdapterInput, EmbeddingAdapterNotConfiguredError, EmbeddingError, type EmbeddingModelFactory, type EmbeddingModelReference, type EmbeddingRouterModelId, type ExtractVariableNames, FEW_SHOT_EXAMPLES, FILESYSTEM_SYSTEM_PROMPT, type FallbackStage, type FileData, type FileInfo, type FilesystemBackend, type FilesystemBackendContext, type FilesystemBackendFactory, type FilesystemToolkitOptions, GLOB_TOOL_DESCRIPTION, GREP_TOOL_DESCRIPTION, type GenerateObjectOptions, type GenerateObjectResultWithContext, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextResultWithContext, type GenerateTextSubAgentConfig, type GetConversationStepsOptions, type GetMessagesOptions, type GrepMatch, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, InMemoryFilesystemBackend, InMemoryStorageAdapter$1 as InMemoryObservabilityAdapter, InMemoryStorageAdapter, InMemoryVectorAdapter, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type InputGuardrail, type InputGuardrailArgs, type InputGuardrailResult, type InputMiddleware, type InputMiddlewareArgs, type InputMiddlewareResult, type KnowledgeBaseTagFilter, type LLMProvider, LS_TOOL_DESCRIPTION, type LanguageModelFactory, LazyRemoteExportProcessor, LocalSandbox, type LocalSandboxIsolationOptions, type LocalSandboxIsolationProvider, type LocalSandboxOptions, type LocalScorerDefinition, type LocalScorerExecutionResult, LocalStorageSpanProcessor, type LogFilter, LoggerProxy, type MCPAuthorizationAction, type MCPAuthorizationConfig, type MCPAuthorizationContext, MCPAuthorizationError, type MCPCanFunction, type MCPCanParams, type MCPCanResult, MCPClient, type MCPClientCallOptions, type MCPClientConfig, MCPConfiguration, type MCPConfigurationOptions, type MCPElicitationAdapter, type MCPElicitationHandler, type MCPLoggingAdapter, type MCPPromptsAdapter, type MCPResourcesAdapter, MCPServerRegistry, type ManagedMemoryAddMessageInput, type ManagedMemoryAddMessagesInput, type ManagedMemoryClearMessagesInput, type ManagedMemoryConnectionInfo, type ManagedMemoryConversationsClient, type ManagedMemoryCredentialCreateResult, type ManagedMemoryCredentialListResult, type ManagedMemoryCredentialSummary, type ManagedMemoryDatabaseSummary, type ManagedMemoryDeleteMessagesInput, type ManagedMemoryGetMessagesInput, type ManagedMemoryMessagesClient, type ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, MiddlewareAbortError, type MiddlewareAbortOptions, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareDirection, type MiddlewareFunction, type ModelForProvider, type ModelProvider, type ModelProviderEntry, type ModelProviderLoader, ModelProviderRegistry, type ModelRouterModelId, type ModelToolCall, NextAction, NodeFilesystemBackend, NodeType, VoltAgentObservability$1 as NodeVoltAgentObservability, type ObservabilityConfig, type ObservabilityLogRecord, type ObservabilitySpan, type ObservabilityStorageAdapter, type ObservabilityWebSocketEvent, type OnEndHookArgs, type OnErrorHookArgs, type OnFallbackHookArgs, type OnHandoffCompleteHookArgs, type OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnRetryHookArgs, type OnRetryHookArgsBase, type OnRetryLLMHookArgs, type OnRetryMiddlewareHookArgs, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolEndHookResult, type OnToolErrorHookArgs, type OnToolErrorHookResult, type OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type OutputMiddleware, type OutputMiddlewareArgs, type OutputMiddlewareResult, type OutputSpec$1 as OutputSpec, type PackageUpdateInfo, PlanAgent, type PlanAgentExtension, type PlanAgentExtensionContext, type PlanAgentExtensionResult, type PlanAgentFileData, type PlanAgentOptions, type PlanAgentState, type PlanAgentSubagentDefinition, type PlanAgentTodoItem, type PlanAgentTodoStatus, type PlanningToolkitOptions, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderId, type ProviderModelsMap, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, READ_FILE_TOOL_DESCRIPTION, type RagKnowledgeBaseSummary, type RagSearchKnowledgeBaseChildChunk, type RagSearchKnowledgeBaseRequest, type RagSearchKnowledgeBaseResponse, type RagSearchKnowledgeBaseResult, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredTrigger, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type ResumableStreamAdapter, type ResumableStreamContext, type RetrieveOptions, type Retriever, type RetrieverOptions, type RetrySource, type RunLocalScorersArgs, type RunLocalScorersResult, SERVERLESS_ENV_CONTEXT_KEY, type SamplingMetadata, type SamplingPolicy, type ScorerBuilder, type ScorerContext, type ScorerLifecycleScope, type ScorerPipelineContext, type ScorerReasonContext, type ScorerResult, type SearchOptions, type SearchResult$1 as SearchResult, type ServerAgentResponse, type ServerApiResponse, type ServerProviderDeps, type ServerProviderFactory, type ServerWorkflowResponse, type ServerlessProviderFactory, type ServerlessRemoteEndpointConfig, type ServerlessRemoteExportConfig, type ServerlessRequestHandler, ServerlessVoltAgentObservability, type SpanAttributes, type SpanEvent, type SpanFilterConfig, SpanFilterProcessor, SpanKind, type SpanLink, type SpanStatus, SpanStatusCode, type SpanTreeNode, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StopWhen, type StorageAdapter, StorageError, StorageLogProcessor, type StoredUIMessage, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamObjectResultWithContext, type StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextResultWithContext, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, TRIGGER_CONTEXT_KEY, type TaskToolOptions, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, type TodoBackend, type TodoBackendFactory, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionResult, type ToolHookOnEnd, type ToolHookOnEndArgs, type ToolHookOnEndResult, type ToolHookOnStart, type ToolHookOnStartArgs, type ToolHooks, ToolManager, type ToolOptions, type ToolResultOutput, type ToolRoutingConfig, type ToolRoutingEmbeddingConfig, type ToolRoutingEmbeddingInput, type ToolSchema, type ToolSearchCandidate, type ToolSearchContext, type ToolSearchResult, type ToolSearchResultItem, type ToolSearchSelection, type ToolSearchStrategy, type ToolStatus, type ToolStatusInfo, type ToolWithNodeId, type Toolkit, type TriggerHandler, type TriggerHandlerBody, type TriggerHandlerContext, type TriggerHandlerResponse, type TriggerHandlerResult, type TriggerHandlerReturn, type TriggerHttpMethod, TriggerRegistry, type Usage, type UsageInfo, UserInputBridge, type UserInputHandler, type VectorAdapter$1 as VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem$1 as VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, VoltAgentRagRetriever, type VoltAgentRagRetrieverOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, type VoltOpsFeedback, type VoltOpsFeedbackConfig, type VoltOpsFeedbackCreateInput, type VoltOpsFeedbackExpiresIn, type VoltOpsFeedbackToken, type VoltOpsFeedbackTokenCreateInput, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WRITE_FILE_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_NAME, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, type WorkflowHookContext, type WorkflowHookStatus, type WorkflowHooks, WorkflowRegistry, type WorkflowRunQuery, type WorkflowStateEntry, type WorkflowStateStore, type WorkflowStateUpdater, type WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, Workspace, type WorkspaceConfig, type DeleteResult as WorkspaceDeleteResult, type EditResult as WorkspaceEditResult, type FileData as WorkspaceFileData, type FileInfo as WorkspaceFileInfo, WorkspaceFilesystem, type FilesystemBackend as WorkspaceFilesystemBackend, type FilesystemBackendContext as WorkspaceFilesystemBackendContext, type FilesystemBackendFactory as WorkspaceFilesystemBackendFactory, type WorkspaceFilesystemCallContext, type WorkspaceFilesystemConfig, type WorkspaceFilesystemDeleteOptions, type WorkspaceFilesystemOperationOptions, type WorkspaceFilesystemOptions, type WorkspaceFilesystemReadOptions, type WorkspaceFilesystemRmdirOptions, type WorkspaceFilesystemSearchOptions, type WorkspaceFilesystemToolName, type WorkspaceFilesystemToolPolicy, type WorkspaceFilesystemToolkitOptions, type WorkspaceFilesystemWriteOptions, type GrepMatch as WorkspaceGrepMatch, type WorkspaceIdentity, type WorkspaceInfo, type MkdirResult as WorkspaceMkdirResult, type WorkspacePathContext, type RmdirResult as WorkspaceRmdirResult, type WorkspaceSandbox, type WorkspaceSandboxExecuteOptions, type WorkspaceSandboxResult, type WorkspaceSandboxStatus, type WorkspaceSandboxToolName, type WorkspaceSandboxToolkitContext, type WorkspaceSandboxToolkitOptions, type WorkspaceScope, WorkspaceSearch, type WorkspaceSearchConfig, type WorkspaceSearchHybridWeights, type WorkspaceSearchIndexPath, type WorkspaceSearchIndexSummary, type WorkspaceSearchMode, type WorkspaceSearchOptions, type WorkspaceSearchResult, type WorkspaceSearchToolName, type WorkspaceSearchToolkitContext, type WorkspaceSearchToolkitOptions, type WorkspaceSkill, type WorkspaceSkillIndexSummary, type WorkspaceSkillMetadata, type WorkspaceSkillSearchHybridWeights, type WorkspaceSkillSearchMode, type WorkspaceSkillSearchOptions, type WorkspaceSkillSearchResult, WorkspaceSkills, type WorkspaceSkillsConfig, type WorkspaceSkillsPromptHookContext, type WorkspaceSkillsPromptOptions, type WorkspaceSkillsRootResolver, type WorkspaceSkillsRootResolverContext, type WorkspaceSkillsToolName, type WorkspaceSkillsToolkitContext, type WorkspaceSkillsToolkitOptions, type WorkspaceStatus, type WorkspaceToolConfig, type WorkspaceToolPolicies, type WorkspaceToolPolicy, type WorkspaceToolPolicyGroup, type WorkspaceToolkitOptions, type WriteResult as WorkspaceWriteResult, type WriteResult, addTimestampToMessage, andAgent, andAll, andBranch, andDoUntil, andDoWhile, andForEach, andGuardrail, andMap, andRace, andSleep, andSleepUntil, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createEmbeddingToolSearchStrategy, createFilesystemToolkit, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createInputMiddleware, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createOutputMiddleware, createPIIInputGuardrail, createPhoneNumberGuardrail, createPlanningToolkit, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolResultEvictor, createToolkit, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, createWorkspaceFilesystemToolkit, createWorkspaceSandboxToolkit, createWorkspaceSearchToolkit, createWorkspaceSkillsPromptHook, createWorkspaceSkillsToolkit, VoltAgent as default, defineVoltOpsTrigger, detectLocalSandboxIsolation, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getGlobalVoltOpsClient, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isMiddlewareAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeCommandAndArgs, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
16013
+ export { A2AServerRegistry, AbortError, Agent, type AgentConversationPersistenceMode, type AgentConversationPersistenceOptions, type AgentEvalConfig, type AgentEvalContext, type AgentEvalFeedbackHelper, type AgentEvalFeedbackSaveInput, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalResultCallbackArgs, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, type AgentEvalToolCall, type AgentEvalToolResult, type AgentFeedbackHandle, type AgentFeedbackMarkProvidedInput, type AgentFeedbackMetadata, type AgentFeedbackOptions, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnFallback, type AgentHookOnHandoff, type AgentHookOnHandoffComplete, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnRetry, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolError, type AgentHookOnToolStart, type AgentHooks, type AgentMarkFeedbackProvidedInput, type AgentModelConfig, type AgentModelReference, type AgentModelValue, type AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, type AgentSummarizationOptions, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type BuildScorerOptions, type BuildScorerRunArgs, type BuildScorerRunResult, type BuilderAnalyzeContext, type BuilderPrepareContext, type BuilderReasonContext, type BuilderScoreContext, type CachedPrompt, type ChatMessage, ClientHTTPError, type ClientSideToolResult, type CloudflareFetchHandler, CompositeFilesystemBackend, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type ConversationStepRecord, type ConversationStepType, type ConversationTitleConfig, type ConversationTitleGenerator, ConversationTodoBackend, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateInputGuardrailOptions, type CreateInputMiddlewareOptions, type CreateOutputGuardrailOptions, type CreateOutputMiddlewareOptions, type CreateReasoningToolsOptions, type CreateScorerOptions, DEFAULT_INSTRUCTIONS, DELETE_FILE_TOOL_DESCRIPTION, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter, type EmbeddingAdapterConfig, type EmbeddingAdapterInput, EmbeddingAdapterNotConfiguredError, EmbeddingError, type EmbeddingModelFactory, type EmbeddingModelReference, type EmbeddingRouterModelId, type ExtractVariableNames, FEW_SHOT_EXAMPLES, FILESYSTEM_SYSTEM_PROMPT, type FallbackStage, type FileData, type FileInfo, type FilesystemBackend, type FilesystemBackendContext, type FilesystemBackendFactory, type FilesystemToolkitOptions, GLOB_TOOL_DESCRIPTION, GREP_TOOL_DESCRIPTION, type GenerateObjectOptions, type GenerateObjectResultWithContext, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextResultWithContext, type GenerateTextSubAgentConfig, type GetConversationStepsOptions, type GetMessagesOptions, type GrepMatch, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, InMemoryFilesystemBackend, InMemoryStorageAdapter$1 as InMemoryObservabilityAdapter, InMemoryStorageAdapter, InMemoryVectorAdapter, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type InputGuardrail, type InputGuardrailArgs, type InputGuardrailResult, type InputMiddleware, type InputMiddlewareArgs, type InputMiddlewareResult, type KnowledgeBaseTagFilter, type LLMProvider, LS_TOOL_DESCRIPTION, type LanguageModelFactory, LazyRemoteExportProcessor, LocalSandbox, type LocalSandboxIsolationOptions, type LocalSandboxIsolationProvider, type LocalSandboxOptions, type LocalScorerDefinition, type LocalScorerExecutionResult, LocalStorageSpanProcessor, type LogFilter, LoggerProxy, type MCPAuthorizationAction, type MCPAuthorizationConfig, type MCPAuthorizationContext, MCPAuthorizationError, type MCPCanFunction, type MCPCanParams, type MCPCanResult, MCPClient, type MCPClientCallOptions, type MCPClientConfig, MCPConfiguration, type MCPConfigurationOptions, type MCPElicitationAdapter, type MCPElicitationHandler, type MCPLoggingAdapter, type MCPPromptsAdapter, type MCPResourcesAdapter, MCPServerRegistry, type ManagedMemoryAddMessageInput, type ManagedMemoryAddMessagesInput, type ManagedMemoryClearMessagesInput, type ManagedMemoryConnectionInfo, type ManagedMemoryConversationsClient, type ManagedMemoryCredentialCreateResult, type ManagedMemoryCredentialListResult, type ManagedMemoryCredentialSummary, type ManagedMemoryDatabaseSummary, type ManagedMemoryDeleteMessagesInput, type ManagedMemoryGetMessagesInput, type ManagedMemoryMessagesClient, type ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, MiddlewareAbortError, type MiddlewareAbortOptions, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareDirection, type MiddlewareFunction, type ModelForProvider, type ModelProvider, type ModelProviderEntry, type ModelProviderLoader, ModelProviderRegistry, type ModelRouterModelId, type ModelToolCall, NextAction, NodeFilesystemBackend, NodeType, VoltAgentObservability$1 as NodeVoltAgentObservability, type ObservabilityConfig, type ObservabilityLogRecord, type ObservabilitySpan, type ObservabilityStorageAdapter, type ObservabilityWebSocketEvent, type OnEndHookArgs, type OnErrorHookArgs, type OnFallbackHookArgs, type OnHandoffCompleteHookArgs, type OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnRetryHookArgs, type OnRetryHookArgsBase, type OnRetryLLMHookArgs, type OnRetryMiddlewareHookArgs, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolEndHookResult, type OnToolErrorHookArgs, type OnToolErrorHookResult, type OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type OutputMiddleware, type OutputMiddlewareArgs, type OutputMiddlewareResult, type OutputSpec$1 as OutputSpec, type PackageUpdateInfo, PlanAgent, type PlanAgentExtension, type PlanAgentExtensionContext, type PlanAgentExtensionResult, type PlanAgentFileData, type PlanAgentOptions, type PlanAgentState, type PlanAgentSubagentDefinition, type PlanAgentTodoItem, type PlanAgentTodoStatus, type PlanningToolkitOptions, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderId, type ProviderModelsMap, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, READ_FILE_TOOL_DESCRIPTION, type RagKnowledgeBaseSummary, type RagSearchKnowledgeBaseChildChunk, type RagSearchKnowledgeBaseRequest, type RagSearchKnowledgeBaseResponse, type RagSearchKnowledgeBaseResult, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredTrigger, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type ResumableStreamAdapter, type ResumableStreamContext, type RetrieveOptions, type Retriever, type RetrieverOptions, type RetrySource, type RunLocalScorersArgs, type RunLocalScorersResult, SERVERLESS_ENV_CONTEXT_KEY, type SamplingMetadata, type SamplingPolicy, type ScorerBuilder, type ScorerContext, type ScorerLifecycleScope, type ScorerPipelineContext, type ScorerReasonContext, type ScorerResult, type SearchOptions, type SearchResult$1 as SearchResult, type ServerAgentResponse, type ServerApiResponse, type ServerProviderDeps, type ServerProviderFactory, type ServerWorkflowResponse, type ServerlessProviderFactory, type ServerlessRemoteEndpointConfig, type ServerlessRemoteExportConfig, type ServerlessRequestHandler, ServerlessVoltAgentObservability, type SpanAttributes, type SpanEvent, type SpanFilterConfig, SpanFilterProcessor, SpanKind, type SpanLink, type SpanStatus, SpanStatusCode, type SpanTreeNode, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StopWhen, type StorageAdapter, StorageError, StorageLogProcessor, type StoredUIMessage, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamObjectResultWithContext, type StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextResultWithContext, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, TRIGGER_CONTEXT_KEY, type TaskToolOptions, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, type TodoBackend, type TodoBackendFactory, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionResult, type ToolHookOnEnd, type ToolHookOnEndArgs, type ToolHookOnEndResult, type ToolHookOnStart, type ToolHookOnStartArgs, type ToolHooks, ToolManager, type ToolOptions, type ToolResultOutput, type ToolRoutingConfig, type ToolRoutingEmbeddingConfig, type ToolRoutingEmbeddingInput, type ToolSchema, type ToolSearchCandidate, type ToolSearchContext, type ToolSearchResult, type ToolSearchResultItem, type ToolSearchSelection, type ToolSearchStrategy, type ToolStatus, type ToolStatusInfo, type ToolWithNodeId, type Toolkit, type TriggerHandler, type TriggerHandlerBody, type TriggerHandlerContext, type TriggerHandlerResponse, type TriggerHandlerResult, type TriggerHandlerReturn, type TriggerHttpMethod, TriggerRegistry, type Usage, type UsageInfo, UserInputBridge, type UserInputHandler, type VectorAdapter$1 as VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem$1 as VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, VoltAgentRagRetriever, type VoltAgentRagRetrieverOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, type VoltOpsFeedback, type VoltOpsFeedbackConfig, type VoltOpsFeedbackCreateInput, type VoltOpsFeedbackExpiresIn, type VoltOpsFeedbackToken, type VoltOpsFeedbackTokenCreateInput, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WRITE_FILE_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_NAME, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, type WorkflowHookContext, type WorkflowHookStatus, type WorkflowHooks, WorkflowRegistry, type WorkflowRestartAllResult, type WorkflowRestartCheckpoint, type WorkflowRunQuery, type WorkflowStartAsyncResult, type WorkflowStateEntry, type WorkflowStateStore, type WorkflowStateUpdater, type WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, Workspace, type WorkspaceConfig, type DeleteResult as WorkspaceDeleteResult, type EditResult as WorkspaceEditResult, type FileData as WorkspaceFileData, type FileInfo as WorkspaceFileInfo, WorkspaceFilesystem, type FilesystemBackend as WorkspaceFilesystemBackend, type FilesystemBackendContext as WorkspaceFilesystemBackendContext, type FilesystemBackendFactory as WorkspaceFilesystemBackendFactory, type WorkspaceFilesystemCallContext, type WorkspaceFilesystemConfig, type WorkspaceFilesystemDeleteOptions, type WorkspaceFilesystemOperationOptions, type WorkspaceFilesystemOptions, type WorkspaceFilesystemReadOptions, type WorkspaceFilesystemRmdirOptions, type WorkspaceFilesystemSearchOptions, type WorkspaceFilesystemToolName, type WorkspaceFilesystemToolPolicy, type WorkspaceFilesystemToolkitOptions, type WorkspaceFilesystemWriteOptions, type GrepMatch as WorkspaceGrepMatch, type WorkspaceIdentity, type WorkspaceInfo, type MkdirResult as WorkspaceMkdirResult, type WorkspacePathContext, type RmdirResult as WorkspaceRmdirResult, type WorkspaceSandbox, type WorkspaceSandboxExecuteOptions, type WorkspaceSandboxResult, type WorkspaceSandboxStatus, type WorkspaceSandboxToolName, type WorkspaceSandboxToolkitContext, type WorkspaceSandboxToolkitOptions, type WorkspaceScope, WorkspaceSearch, type WorkspaceSearchConfig, type WorkspaceSearchHybridWeights, type WorkspaceSearchIndexPath, type WorkspaceSearchIndexSummary, type WorkspaceSearchMode, type WorkspaceSearchOptions, type WorkspaceSearchResult, type WorkspaceSearchToolName, type WorkspaceSearchToolkitContext, type WorkspaceSearchToolkitOptions, type WorkspaceSkill, type WorkspaceSkillIndexSummary, type WorkspaceSkillMetadata, type WorkspaceSkillSearchHybridWeights, type WorkspaceSkillSearchMode, type WorkspaceSkillSearchOptions, type WorkspaceSkillSearchResult, WorkspaceSkills, type WorkspaceSkillsConfig, type WorkspaceSkillsPromptHookContext, type WorkspaceSkillsPromptOptions, type WorkspaceSkillsRootResolver, type WorkspaceSkillsRootResolverContext, type WorkspaceSkillsToolName, type WorkspaceSkillsToolkitContext, type WorkspaceSkillsToolkitOptions, type WorkspaceStatus, type WorkspaceToolConfig, type WorkspaceToolPolicies, type WorkspaceToolPolicy, type WorkspaceToolPolicyGroup, type WorkspaceToolkitOptions, type WriteResult as WorkspaceWriteResult, type WriteResult, addTimestampToMessage, andAgent, andAll, andBranch, andDoUntil, andDoWhile, andForEach, andGuardrail, andMap, andRace, andSleep, andSleepUntil, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createEmbeddingToolSearchStrategy, createFilesystemToolkit, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createInputMiddleware, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createOutputMiddleware, createPIIInputGuardrail, createPhoneNumberGuardrail, createPlanningToolkit, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolResultEvictor, createToolkit, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, createWorkspaceFilesystemToolkit, createWorkspaceSandboxToolkit, createWorkspaceSearchToolkit, createWorkspaceSkillsPromptHook, createWorkspaceSkillsToolkit, VoltAgent as default, defineVoltOpsTrigger, detectLocalSandboxIsolation, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getGlobalVoltOpsClient, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isMiddlewareAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeCommandAndArgs, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };