@voltagent/core 2.4.3 → 2.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.
- package/dist/index.d.mts +255 -2
- package/dist/index.d.ts +255 -2
- package/dist/index.js +1123 -140
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1123 -140
- package/dist/index.mjs.map +1 -1
- package/docs/agents/message-types.md +5 -6
- package/docs/agents/overview.md +30 -9
- package/docs/agents/subagents.md +31 -11
- package/docs/api/endpoints/agents.md +15 -6
- package/docs/api/endpoints/workflows.md +124 -0
- package/docs/api/streaming.md +14 -1
- package/docs/ui/ai-sdk-integration.md +1 -0
- package/docs/workflows/overview.md +100 -2
- package/docs/workflows/streaming.md +64 -9
- package/docs/workflows/suspend-resume.md +116 -0
- package/package.json +1 -1
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 {
|
|
@@ -10023,6 +10051,50 @@ interface WorkflowStreamResult<RESULT_SCHEMA extends z.ZodTypeAny, RESUME_SCHEMA
|
|
|
10023
10051
|
*/
|
|
10024
10052
|
abort: () => void;
|
|
10025
10053
|
}
|
|
10054
|
+
/**
|
|
10055
|
+
* Result returned when a workflow execution is started asynchronously
|
|
10056
|
+
*/
|
|
10057
|
+
interface WorkflowStartAsyncResult {
|
|
10058
|
+
/**
|
|
10059
|
+
* Unique execution ID for this workflow run
|
|
10060
|
+
*/
|
|
10061
|
+
executionId: string;
|
|
10062
|
+
/**
|
|
10063
|
+
* The workflow ID
|
|
10064
|
+
*/
|
|
10065
|
+
workflowId: string;
|
|
10066
|
+
/**
|
|
10067
|
+
* When the async execution was started
|
|
10068
|
+
*/
|
|
10069
|
+
startAt: Date;
|
|
10070
|
+
}
|
|
10071
|
+
interface WorkflowTimeTravelOptions {
|
|
10072
|
+
/**
|
|
10073
|
+
* Source execution ID to replay from
|
|
10074
|
+
*/
|
|
10075
|
+
executionId: string;
|
|
10076
|
+
/**
|
|
10077
|
+
* Step ID to restart execution from
|
|
10078
|
+
*/
|
|
10079
|
+
stepId: string;
|
|
10080
|
+
/**
|
|
10081
|
+
* Optional override for the selected step input/state data
|
|
10082
|
+
*/
|
|
10083
|
+
inputData?: DangerouslyAllowAny;
|
|
10084
|
+
/**
|
|
10085
|
+
* Optional resume payload passed as `resumeData` to the selected step
|
|
10086
|
+
*/
|
|
10087
|
+
resumeData?: DangerouslyAllowAny;
|
|
10088
|
+
/**
|
|
10089
|
+
* Optional override for shared workflow state during replay
|
|
10090
|
+
*/
|
|
10091
|
+
workflowStateOverride?: WorkflowStateStore;
|
|
10092
|
+
/**
|
|
10093
|
+
* Optional memory adapter to read source execution and persist replay execution state.
|
|
10094
|
+
* Falls back to workflow default memory when omitted.
|
|
10095
|
+
*/
|
|
10096
|
+
memory?: Memory;
|
|
10097
|
+
}
|
|
10026
10098
|
interface WorkflowRetryConfig {
|
|
10027
10099
|
/**
|
|
10028
10100
|
* Number of retry attempts for a step when it throws an error
|
|
@@ -10056,6 +10128,10 @@ interface WorkflowRunOptions {
|
|
|
10056
10128
|
* The user ID, this can be used to track the current user in a workflow
|
|
10057
10129
|
*/
|
|
10058
10130
|
userId?: string;
|
|
10131
|
+
/**
|
|
10132
|
+
* Additional execution metadata persisted with workflow state
|
|
10133
|
+
*/
|
|
10134
|
+
metadata?: Record<string, unknown>;
|
|
10059
10135
|
/**
|
|
10060
10136
|
* The user context, this can be used to track the current user context in a workflow
|
|
10061
10137
|
*/
|
|
@@ -10077,6 +10153,11 @@ interface WorkflowRunOptions {
|
|
|
10077
10153
|
* Options for resuming a suspended workflow
|
|
10078
10154
|
*/
|
|
10079
10155
|
resumeFrom?: WorkflowResumeOptions;
|
|
10156
|
+
/**
|
|
10157
|
+
* Internal replay lineage context for deterministic time-travel executions
|
|
10158
|
+
* @internal
|
|
10159
|
+
*/
|
|
10160
|
+
replayFrom?: WorkflowReplayOptions;
|
|
10080
10161
|
/**
|
|
10081
10162
|
* Suspension mode:
|
|
10082
10163
|
* - 'graceful': Wait for current step to complete before suspending (default)
|
|
@@ -10093,6 +10174,16 @@ interface WorkflowRunOptions {
|
|
|
10093
10174
|
* Override retry settings for this workflow execution
|
|
10094
10175
|
*/
|
|
10095
10176
|
retryConfig?: WorkflowRetryConfig;
|
|
10177
|
+
/**
|
|
10178
|
+
* Persist running checkpoints every N completed steps.
|
|
10179
|
+
* @default 1
|
|
10180
|
+
*/
|
|
10181
|
+
checkpointInterval?: number;
|
|
10182
|
+
/**
|
|
10183
|
+
* Disable running checkpoint persistence for this execution.
|
|
10184
|
+
* @default false
|
|
10185
|
+
*/
|
|
10186
|
+
disableCheckpointing?: boolean;
|
|
10096
10187
|
/**
|
|
10097
10188
|
* Input guardrails to run before workflow execution
|
|
10098
10189
|
*/
|
|
@@ -10105,6 +10196,11 @@ interface WorkflowRunOptions {
|
|
|
10105
10196
|
* Optional agent instance to supply to workflow guardrails
|
|
10106
10197
|
*/
|
|
10107
10198
|
guardrailAgent?: Agent;
|
|
10199
|
+
/**
|
|
10200
|
+
* Internal flag to skip initial state creation when it is already persisted
|
|
10201
|
+
* @internal
|
|
10202
|
+
*/
|
|
10203
|
+
skipStateInit?: boolean;
|
|
10108
10204
|
}
|
|
10109
10205
|
interface WorkflowResumeOptions {
|
|
10110
10206
|
/**
|
|
@@ -10118,6 +10214,8 @@ interface WorkflowResumeOptions {
|
|
|
10118
10214
|
stepExecutionState?: DangerouslyAllowAny;
|
|
10119
10215
|
completedStepsData?: DangerouslyAllowAny[];
|
|
10120
10216
|
workflowState?: WorkflowStateStore;
|
|
10217
|
+
stepData?: Record<string, WorkflowCheckpointStepData>;
|
|
10218
|
+
usage?: UsageInfo;
|
|
10121
10219
|
};
|
|
10122
10220
|
/**
|
|
10123
10221
|
* The step index to resume from
|
|
@@ -10132,6 +10230,63 @@ interface WorkflowResumeOptions {
|
|
|
10132
10230
|
*/
|
|
10133
10231
|
resumeData?: DangerouslyAllowAny;
|
|
10134
10232
|
}
|
|
10233
|
+
interface WorkflowReplayOptions {
|
|
10234
|
+
/**
|
|
10235
|
+
* Source execution ID used for replay lineage
|
|
10236
|
+
*/
|
|
10237
|
+
executionId: string;
|
|
10238
|
+
/**
|
|
10239
|
+
* Source step ID where replay starts
|
|
10240
|
+
*/
|
|
10241
|
+
stepId: string;
|
|
10242
|
+
}
|
|
10243
|
+
interface WorkflowRestartCheckpoint {
|
|
10244
|
+
/**
|
|
10245
|
+
* Zero-based step index where execution should continue
|
|
10246
|
+
*/
|
|
10247
|
+
resumeStepIndex: number;
|
|
10248
|
+
/**
|
|
10249
|
+
* Last completed step index at checkpoint time
|
|
10250
|
+
*/
|
|
10251
|
+
lastCompletedStepIndex: number;
|
|
10252
|
+
/**
|
|
10253
|
+
* Current workflow data snapshot
|
|
10254
|
+
*/
|
|
10255
|
+
stepExecutionState?: DangerouslyAllowAny;
|
|
10256
|
+
/**
|
|
10257
|
+
* Completed step snapshots used by downstream lookups
|
|
10258
|
+
*/
|
|
10259
|
+
completedStepsData?: DangerouslyAllowAny[];
|
|
10260
|
+
/**
|
|
10261
|
+
* Shared workflow state snapshot
|
|
10262
|
+
*/
|
|
10263
|
+
workflowState?: WorkflowStateStore;
|
|
10264
|
+
/**
|
|
10265
|
+
* Step data snapshots required by getStepData() after restart
|
|
10266
|
+
*/
|
|
10267
|
+
stepData?: Record<string, WorkflowCheckpointStepData>;
|
|
10268
|
+
/**
|
|
10269
|
+
* Usage accumulated up to checkpoint
|
|
10270
|
+
*/
|
|
10271
|
+
usage?: UsageInfo;
|
|
10272
|
+
/**
|
|
10273
|
+
* Event sequence at checkpoint time
|
|
10274
|
+
*/
|
|
10275
|
+
eventSequence?: number;
|
|
10276
|
+
/**
|
|
10277
|
+
* Timestamp when the checkpoint was persisted
|
|
10278
|
+
*/
|
|
10279
|
+
checkpointedAt: Date;
|
|
10280
|
+
}
|
|
10281
|
+
interface WorkflowRestartAllResult {
|
|
10282
|
+
restarted: string[];
|
|
10283
|
+
failed: Array<{
|
|
10284
|
+
executionId?: string;
|
|
10285
|
+
workflowId?: string;
|
|
10286
|
+
error: string;
|
|
10287
|
+
isWorkflowFailure?: boolean;
|
|
10288
|
+
}>;
|
|
10289
|
+
}
|
|
10135
10290
|
/**
|
|
10136
10291
|
* Hooks for the workflow
|
|
10137
10292
|
* @param DATA - The type of the data
|
|
@@ -10145,6 +10300,17 @@ type WorkflowStepData = {
|
|
|
10145
10300
|
status: WorkflowStepStatus;
|
|
10146
10301
|
error?: Error | null;
|
|
10147
10302
|
};
|
|
10303
|
+
type WorkflowSerializedStepError = {
|
|
10304
|
+
message: string;
|
|
10305
|
+
stack?: string;
|
|
10306
|
+
name?: string;
|
|
10307
|
+
};
|
|
10308
|
+
type WorkflowCheckpointStepData = {
|
|
10309
|
+
input: DangerouslyAllowAny;
|
|
10310
|
+
output?: DangerouslyAllowAny;
|
|
10311
|
+
status: WorkflowStepStatus;
|
|
10312
|
+
error?: WorkflowSerializedStepError | null;
|
|
10313
|
+
};
|
|
10148
10314
|
type WorkflowHookContext<DATA, RESULT> = {
|
|
10149
10315
|
/**
|
|
10150
10316
|
* Terminal status for the workflow execution
|
|
@@ -10286,6 +10452,16 @@ type WorkflowConfig<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema, RESULT
|
|
|
10286
10452
|
* Default retry configuration for steps in this workflow
|
|
10287
10453
|
*/
|
|
10288
10454
|
retryConfig?: WorkflowRetryConfig;
|
|
10455
|
+
/**
|
|
10456
|
+
* Default running checkpoint persistence interval in completed-step count.
|
|
10457
|
+
* @default 1
|
|
10458
|
+
*/
|
|
10459
|
+
checkpointInterval?: number;
|
|
10460
|
+
/**
|
|
10461
|
+
* Disable running checkpoint persistence for this workflow by default.
|
|
10462
|
+
* @default false
|
|
10463
|
+
*/
|
|
10464
|
+
disableCheckpointing?: boolean;
|
|
10289
10465
|
};
|
|
10290
10466
|
/**
|
|
10291
10467
|
* A workflow instance that can be executed
|
|
@@ -10382,6 +10558,37 @@ type Workflow<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema, RESULT_SCHEM
|
|
|
10382
10558
|
* @returns Stream result with real-time events and promise-based fields
|
|
10383
10559
|
*/
|
|
10384
10560
|
stream: (input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions) => WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
|
|
10561
|
+
/**
|
|
10562
|
+
* Start the workflow in the background without waiting for completion
|
|
10563
|
+
* @param input - The input to the workflow
|
|
10564
|
+
* @param options - Options for the workflow execution
|
|
10565
|
+
* @returns Async start metadata with execution ID
|
|
10566
|
+
*/
|
|
10567
|
+
startAsync: (input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions) => Promise<WorkflowStartAsyncResult>;
|
|
10568
|
+
/**
|
|
10569
|
+
* Replay an existing execution from a selected historical step.
|
|
10570
|
+
* A new execution ID is created and linked to the source run for audit safety.
|
|
10571
|
+
*/
|
|
10572
|
+
timeTravel: (options: WorkflowTimeTravelOptions) => Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
|
|
10573
|
+
/**
|
|
10574
|
+
* Stream replay execution from a selected historical step.
|
|
10575
|
+
* A new execution ID is created and linked to the source run for audit safety.
|
|
10576
|
+
*/
|
|
10577
|
+
timeTravelStream: (options: WorkflowTimeTravelOptions) => WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
|
|
10578
|
+
/**
|
|
10579
|
+
* Restart an interrupted execution from persisted checkpoint state
|
|
10580
|
+
* @param executionId - Execution ID to restart
|
|
10581
|
+
* @param options - Optional execution overrides
|
|
10582
|
+
* @returns Execution result of the restarted run
|
|
10583
|
+
*/
|
|
10584
|
+
restart: (executionId: string, options?: WorkflowRunOptions) => Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
|
|
10585
|
+
/**
|
|
10586
|
+
* Restart all active (running) executions for this workflow
|
|
10587
|
+
* This method only operates on this workflow instance.
|
|
10588
|
+
* Use `WorkflowRegistry.restartAllActiveWorkflowRuns({ workflowId })` for cross-workflow filtering.
|
|
10589
|
+
* @returns Lists of restarted and failed execution IDs
|
|
10590
|
+
*/
|
|
10591
|
+
restartAllActive: () => Promise<WorkflowRestartAllResult>;
|
|
10385
10592
|
/**
|
|
10386
10593
|
* Create a WorkflowSuspendController that can be used to suspend the workflow
|
|
10387
10594
|
* @returns A WorkflowSuspendController instance
|
|
@@ -10838,7 +11045,7 @@ type WorkflowStep<INPUT, DATA, RESULT, SUSPEND_DATA = any> = WorkflowStepAgent<I
|
|
|
10838
11045
|
/**
|
|
10839
11046
|
* Internal type to allow overriding the run method for the workflow
|
|
10840
11047
|
*/
|
|
10841
|
-
interface InternalWorkflow<_INPUT, DATA, RESULT> extends Omit<Workflow<DangerouslyAllowAny, DangerouslyAllowAny>, "run"> {
|
|
11048
|
+
interface InternalWorkflow<_INPUT, DATA, RESULT> extends Omit<Workflow<DangerouslyAllowAny, DangerouslyAllowAny>, "run" | "restart" | "restartAllActive"> {
|
|
10842
11049
|
run: (input: DATA, options?: InternalWorkflowRunOptions) => Promise<{
|
|
10843
11050
|
executionId: string;
|
|
10844
11051
|
startAt: Date;
|
|
@@ -11854,6 +12061,38 @@ declare class WorkflowChain<INPUT_SCHEMA extends InternalBaseWorkflowInputSchema
|
|
|
11854
12061
|
* Execute the workflow with the given input
|
|
11855
12062
|
*/
|
|
11856
12063
|
run(input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
|
|
12064
|
+
/**
|
|
12065
|
+
* Start the workflow in the background without waiting for completion
|
|
12066
|
+
*/
|
|
12067
|
+
startAsync(input: WorkflowInput<INPUT_SCHEMA>, options?: WorkflowRunOptions): Promise<WorkflowStartAsyncResult>;
|
|
12068
|
+
/**
|
|
12069
|
+
* Replay a historical execution from the selected step
|
|
12070
|
+
* This recreates a workflow instance via `createWorkflow(...)` on each call.
|
|
12071
|
+
* Use persistent/shared memory (or register the workflow) so source execution state is discoverable.
|
|
12072
|
+
* For ephemeral setup patterns, prefer `chain.toWorkflow().timeTravel(...)` and reuse that instance.
|
|
12073
|
+
*/
|
|
12074
|
+
timeTravel(options: WorkflowTimeTravelOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
|
|
12075
|
+
/**
|
|
12076
|
+
* Stream a historical replay from the selected step
|
|
12077
|
+
* This recreates a workflow instance via `createWorkflow(...)` on each call.
|
|
12078
|
+
* Use persistent/shared memory (or register the workflow) so source execution state is discoverable.
|
|
12079
|
+
* For ephemeral setup patterns, prefer `chain.toWorkflow().timeTravelStream(...)` and reuse that instance.
|
|
12080
|
+
*/
|
|
12081
|
+
timeTravelStream(options: WorkflowTimeTravelOptions): WorkflowStreamResult<RESULT_SCHEMA, RESUME_SCHEMA>;
|
|
12082
|
+
/**
|
|
12083
|
+
* Restart an interrupted execution from persisted checkpoint state
|
|
12084
|
+
* This recreates a workflow instance via `createWorkflow(...)` on each call.
|
|
12085
|
+
* Use persistent/shared memory (or register the workflow) so prior execution state is discoverable.
|
|
12086
|
+
* For ephemeral setup patterns, prefer `chain.toWorkflow().restart(...)` and reuse that instance.
|
|
12087
|
+
*/
|
|
12088
|
+
restart(executionId: string, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<RESULT_SCHEMA, RESUME_SCHEMA>>;
|
|
12089
|
+
/**
|
|
12090
|
+
* Restart all active (running) executions for this workflow
|
|
12091
|
+
* This recreates a workflow instance via `createWorkflow(...)` on each call.
|
|
12092
|
+
* Use persistent/shared memory (or register the workflow) so active executions can be found.
|
|
12093
|
+
* For ephemeral setup patterns, prefer `chain.toWorkflow().restartAllActive()` and reuse that instance.
|
|
12094
|
+
*/
|
|
12095
|
+
restartAllActive(): Promise<WorkflowRestartAllResult>;
|
|
11857
12096
|
/**
|
|
11858
12097
|
* Execute the workflow with streaming support
|
|
11859
12098
|
*/
|
|
@@ -11892,6 +12131,10 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
|
|
|
11892
12131
|
* Get the singleton instance of WorkflowRegistry
|
|
11893
12132
|
*/
|
|
11894
12133
|
static getInstance(): WorkflowRegistry;
|
|
12134
|
+
/**
|
|
12135
|
+
* Clears registry state. Primarily used by tests for deterministic isolation.
|
|
12136
|
+
*/
|
|
12137
|
+
reset(): void;
|
|
11895
12138
|
/**
|
|
11896
12139
|
* Register a workflow with the registry
|
|
11897
12140
|
*/
|
|
@@ -11930,6 +12173,16 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
|
|
|
11930
12173
|
* Resume a suspended workflow execution
|
|
11931
12174
|
*/
|
|
11932
12175
|
resumeSuspendedWorkflow(workflowId: string, executionId: string, resumeData?: any, resumeStepId?: string): Promise<WorkflowExecutionResult<any, any> | null>;
|
|
12176
|
+
/**
|
|
12177
|
+
* Restart a running workflow execution from persisted checkpoint state
|
|
12178
|
+
*/
|
|
12179
|
+
restartWorkflowExecution(workflowId: string, executionId: string, options?: WorkflowRunOptions): Promise<WorkflowExecutionResult<any, any>>;
|
|
12180
|
+
/**
|
|
12181
|
+
* Restart all active (running) workflow executions
|
|
12182
|
+
*/
|
|
12183
|
+
restartAllActiveWorkflowRuns(options?: {
|
|
12184
|
+
workflowId?: string;
|
|
12185
|
+
}): Promise<WorkflowRestartAllResult>;
|
|
11933
12186
|
/**
|
|
11934
12187
|
* Get all suspended workflow executions
|
|
11935
12188
|
*/
|
|
@@ -15733,4 +15986,4 @@ declare class VoltAgent {
|
|
|
15733
15986
|
*/
|
|
15734
15987
|
declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
|
|
15735
15988
|
|
|
15736
|
-
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 };
|
|
15989
|
+
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 };
|