@voltagent/core 2.1.1 → 2.1.3

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
@@ -3276,6 +3276,22 @@ declare class VoltAgentError extends Error {
3276
3276
  constructor(message: string, options?: VoltAgentErrorOptions);
3277
3277
  }
3278
3278
 
3279
+ type MiddlewareAbortOptions<TMetadata = unknown> = {
3280
+ retry?: boolean;
3281
+ metadata?: TMetadata;
3282
+ };
3283
+ /**
3284
+ * Error thrown by middleware abort() calls.
3285
+ */
3286
+ declare class MiddlewareAbortError<TMetadata = unknown> extends Error {
3287
+ name: "MiddlewareAbortError";
3288
+ retry?: boolean;
3289
+ metadata?: TMetadata;
3290
+ middlewareId?: string;
3291
+ constructor(reason: string, options?: MiddlewareAbortOptions<TMetadata>, middlewareId?: string);
3292
+ }
3293
+ declare function isMiddlewareAbortError(error: unknown): error is MiddlewareAbortError;
3294
+
3279
3295
  type CancellationError = AbortError | ClientHTTPError;
3280
3296
 
3281
3297
  /**
@@ -3635,6 +3651,13 @@ interface ObservabilityConfig {
3635
3651
  logger?: Logger;
3636
3652
  resourceAttributes?: Record<string, any>;
3637
3653
  spanFilters?: SpanFilterConfig;
3654
+ /**
3655
+ * Controls whether flushOnFinish() runs automatically.
3656
+ * - "auto": flush only in serverless (default)
3657
+ * - "always": always flush
3658
+ * - "never": never flush
3659
+ */
3660
+ flushOnFinishStrategy?: "auto" | "always" | "never";
3638
3661
  voltOpsSync?: {
3639
3662
  sampling?: ObservabilitySamplingConfig;
3640
3663
  maxQueueSize?: number;
@@ -3875,6 +3898,7 @@ declare class VoltAgentObservability$1 {
3875
3898
  private logger;
3876
3899
  private spanFilterOptions?;
3877
3900
  private instrumentationScopeName;
3901
+ private flushLock;
3878
3902
  constructor(config?: ObservabilityConfig);
3879
3903
  /**
3880
3904
  * Set up span processors
@@ -3914,6 +3938,8 @@ declare class VoltAgentObservability$1 {
3914
3938
  * is incorrectly detected or if we are in a short-lived process.
3915
3939
  */
3916
3940
  flushOnFinish(): Promise<void>;
3941
+ private shouldFlushOnFinish;
3942
+ private withFlushLock;
3917
3943
  getProvider(): NodeTracerProvider;
3918
3944
  getContext(): typeof context;
3919
3945
  getTraceAPI(): typeof trace;
@@ -3940,6 +3966,7 @@ declare class ServerlessVoltAgentObservability {
3940
3966
  private spanFilterOptions?;
3941
3967
  private instrumentationScopeName;
3942
3968
  private spanStack;
3969
+ private flushLock;
3943
3970
  constructor(config?: ObservabilityConfig);
3944
3971
  private setupProcessors;
3945
3972
  private applySpanFilter;
@@ -3975,6 +4002,7 @@ declare class ServerlessVoltAgentObservability {
3975
4002
  * This is the preferred method to call at the end of a request.
3976
4003
  */
3977
4004
  flushOnFinish(): Promise<void>;
4005
+ private withFlushLock;
3978
4006
  getProvider(): BasicTracerProvider;
3979
4007
  getContext(): typeof context;
3980
4008
  getTraceAPI(): typeof trace;
@@ -6843,6 +6871,47 @@ interface OnStepFinishHookArgs {
6843
6871
  step: any;
6844
6872
  context: OperationContext;
6845
6873
  }
6874
+ type RetrySource = "llm" | "middleware";
6875
+ interface OnRetryHookArgsBase {
6876
+ agent: Agent;
6877
+ context: OperationContext;
6878
+ operation: AgentEvalOperationType;
6879
+ source: RetrySource;
6880
+ }
6881
+ interface OnRetryLLMHookArgs extends OnRetryHookArgsBase {
6882
+ source: "llm";
6883
+ modelName: string;
6884
+ modelIndex: number;
6885
+ attempt: number;
6886
+ nextAttempt: number;
6887
+ maxRetries: number;
6888
+ error: unknown;
6889
+ isRetryable?: boolean;
6890
+ statusCode?: number;
6891
+ }
6892
+ interface OnRetryMiddlewareHookArgs extends OnRetryHookArgsBase {
6893
+ source: "middleware";
6894
+ middlewareId?: string | null;
6895
+ retryCount: number;
6896
+ maxRetries: number;
6897
+ reason?: string;
6898
+ metadata?: unknown;
6899
+ }
6900
+ type OnRetryHookArgs = OnRetryLLMHookArgs | OnRetryMiddlewareHookArgs;
6901
+ type FallbackStage = "resolve" | "execute";
6902
+ interface OnFallbackHookArgs {
6903
+ agent: Agent;
6904
+ context: OperationContext;
6905
+ operation: AgentEvalOperationType;
6906
+ stage: FallbackStage;
6907
+ fromModel: string;
6908
+ fromModelIndex: number;
6909
+ maxRetries: number;
6910
+ attempt?: number;
6911
+ error: unknown;
6912
+ nextModel?: string | null;
6913
+ nextModelIndex?: number;
6914
+ }
6846
6915
  type AgentHookOnStart = (args: OnStartHookArgs) => Promise<void> | void;
6847
6916
  type AgentHookOnEnd = (args: OnEndHookArgs) => Promise<void> | void;
6848
6917
  type AgentHookOnHandoff = (args: OnHandoffHookArgs) => Promise<void> | void;
@@ -6853,6 +6922,8 @@ type AgentHookOnPrepareMessages = (args: OnPrepareMessagesHookArgs) => Promise<O
6853
6922
  type AgentHookOnPrepareModelMessages = (args: OnPrepareModelMessagesHookArgs) => Promise<OnPrepareModelMessagesHookResult> | OnPrepareModelMessagesHookResult;
6854
6923
  type AgentHookOnError = (args: OnErrorHookArgs) => Promise<void> | void;
6855
6924
  type AgentHookOnStepFinish = (args: OnStepFinishHookArgs) => Promise<void> | void;
6925
+ type AgentHookOnRetry = (args: OnRetryHookArgs) => Promise<void> | void;
6926
+ type AgentHookOnFallback = (args: OnFallbackHookArgs) => Promise<void> | void;
6856
6927
  /**
6857
6928
  * Type definition for agent hooks using single argument objects.
6858
6929
  */
@@ -6867,6 +6938,8 @@ type AgentHooks = {
6867
6938
  onPrepareModelMessages?: AgentHookOnPrepareModelMessages;
6868
6939
  onError?: AgentHookOnError;
6869
6940
  onStepFinish?: AgentHookOnStepFinish;
6941
+ onRetry?: AgentHookOnRetry;
6942
+ onFallback?: AgentHookOnFallback;
6870
6943
  };
6871
6944
  /**
6872
6945
  * Create hooks from an object literal.
@@ -6902,7 +6975,7 @@ declare class AgentTraceContext {
6902
6975
  /**
6903
6976
  * Create a child span with automatic parent context and attribute inheritance
6904
6977
  */
6905
- createChildSpan(name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "llm" | "summary", options?: {
6978
+ createChildSpan(name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "middleware" | "llm" | "summary", options?: {
6906
6979
  label?: string;
6907
6980
  attributes?: Record<string, any>;
6908
6981
  kind?: SpanKind$1;
@@ -6910,7 +6983,7 @@ declare class AgentTraceContext {
6910
6983
  /**
6911
6984
  * Create a child span with a specific parent span
6912
6985
  */
6913
- createChildSpanWithParent(parentSpan: Span, name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "llm" | "summary", options?: {
6986
+ createChildSpanWithParent(parentSpan: Span, name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "middleware" | "llm" | "summary", options?: {
6914
6987
  label?: string;
6915
6988
  attributes?: Record<string, any>;
6916
6989
  kind?: SpanKind$1;
@@ -7101,9 +7174,32 @@ type ModelDynamicValue<T> = T | DynamicValue<T>;
7101
7174
  */
7102
7175
  type AgentModelReference = LanguageModel | ModelRouterModelId;
7103
7176
  /**
7104
- * Agent model value that can be static or dynamic
7177
+ * Model fallback configuration for agents.
7178
+ */
7179
+ type AgentModelConfig = {
7180
+ /**
7181
+ * Optional stable identifier for the model entry (useful for logging).
7182
+ */
7183
+ id?: string;
7184
+ /**
7185
+ * Model reference (static or dynamic).
7186
+ */
7187
+ model: ModelDynamicValue<AgentModelReference>;
7188
+ /**
7189
+ * Maximum number of retries for this model before falling back.
7190
+ * Defaults to the agent's maxRetries.
7191
+ */
7192
+ maxRetries?: number;
7193
+ /**
7194
+ * Whether this model is enabled for fallback selection.
7195
+ * @default true
7196
+ */
7197
+ enabled?: boolean;
7198
+ };
7199
+ /**
7200
+ * Agent model value that can be static, dynamic, or a fallback list.
7105
7201
  */
7106
- type AgentModelValue = ModelDynamicValue<AgentModelReference>;
7202
+ type AgentModelValue = ModelDynamicValue<AgentModelReference> | AgentModelConfig[];
7107
7203
  /**
7108
7204
  * Provider options type for LLM configurations
7109
7205
  */
@@ -7300,6 +7396,45 @@ interface OutputGuardrailDefinition<TOutput = unknown> extends GuardrailDefiniti
7300
7396
  streamHandler?: OutputGuardrailStreamHandler;
7301
7397
  }
7302
7398
  type OutputGuardrail<TOutput = unknown> = OutputGuardrailFunction<TOutput> | OutputGuardrailDefinition<TOutput>;
7399
+ type MiddlewareDirection = "input" | "output";
7400
+ type MiddlewareFunctionMetadata = {
7401
+ middlewareId?: string;
7402
+ middlewareName?: string;
7403
+ middlewareDescription?: string;
7404
+ middlewareTags?: string[];
7405
+ };
7406
+ type MiddlewareFunction<TArgs, TResult> = ((args: TArgs) => TResult | Promise<TResult>) & MiddlewareFunctionMetadata;
7407
+ interface MiddlewareDefinition<TArgs, TResult> {
7408
+ id?: string;
7409
+ name?: string;
7410
+ description?: string;
7411
+ tags?: string[];
7412
+ metadata?: Record<string, unknown>;
7413
+ handler: MiddlewareFunction<TArgs, TResult>;
7414
+ }
7415
+ interface MiddlewareContext {
7416
+ agent: Agent;
7417
+ context: OperationContext;
7418
+ operation: AgentEvalOperationType;
7419
+ retryCount: number;
7420
+ }
7421
+ interface InputMiddlewareArgs extends MiddlewareContext {
7422
+ input: string | UIMessage[] | BaseMessage[];
7423
+ originalInput: string | UIMessage[] | BaseMessage[];
7424
+ abort: <TMetadata = unknown>(reason?: string, options?: MiddlewareAbortOptions<TMetadata>) => never;
7425
+ }
7426
+ type InputMiddlewareResult = string | UIMessage[] | BaseMessage[] | undefined;
7427
+ interface OutputMiddlewareArgs<TOutput = unknown> extends MiddlewareContext {
7428
+ output: TOutput;
7429
+ originalOutput: TOutput;
7430
+ usage?: UsageInfo;
7431
+ finishReason?: string | null;
7432
+ warnings?: unknown[] | null;
7433
+ abort: <TMetadata = unknown>(reason?: string, options?: MiddlewareAbortOptions<TMetadata>) => never;
7434
+ }
7435
+ type OutputMiddlewareResult<TOutput = unknown> = TOutput | undefined;
7436
+ type InputMiddleware = MiddlewareDefinition<InputMiddlewareArgs, InputMiddlewareResult> | MiddlewareFunction<InputMiddlewareArgs, InputMiddlewareResult>;
7437
+ type OutputMiddleware<TOutput = unknown> = MiddlewareDefinition<OutputMiddlewareArgs<TOutput>, OutputMiddlewareResult<TOutput>> | MiddlewareFunction<OutputMiddlewareArgs<TOutput>, OutputMiddlewareResult<TOutput>>;
7303
7438
  type AgentSummarizationOptions = {
7304
7439
  enabled?: boolean;
7305
7440
  triggerTokens?: number;
@@ -7328,9 +7463,21 @@ type AgentOptions = {
7328
7463
  hooks?: AgentHooks;
7329
7464
  inputGuardrails?: InputGuardrail[];
7330
7465
  outputGuardrails?: OutputGuardrail<any>[];
7466
+ inputMiddlewares?: InputMiddleware[];
7467
+ outputMiddlewares?: OutputMiddleware<any>[];
7468
+ /**
7469
+ * Default retry count for middleware-triggered retries.
7470
+ * Per-call maxMiddlewareRetries overrides this value.
7471
+ */
7472
+ maxMiddlewareRetries?: number;
7331
7473
  temperature?: number;
7332
7474
  maxOutputTokens?: number;
7333
7475
  maxSteps?: number;
7476
+ /**
7477
+ * Default retry count for model calls before falling back.
7478
+ * Overridden by per-model maxRetries or per-call maxRetries.
7479
+ */
7480
+ maxRetries?: number;
7334
7481
  feedback?: AgentFeedbackOptions | boolean;
7335
7482
  /**
7336
7483
  * Default stop condition for step execution (ai-sdk `stopWhen`).
@@ -7874,6 +8021,9 @@ interface BaseGenerationOptions extends Partial<CallSettings> {
7874
8021
  hooks?: AgentHooks;
7875
8022
  inputGuardrails?: InputGuardrail[];
7876
8023
  outputGuardrails?: OutputGuardrail<any>[];
8024
+ inputMiddlewares?: InputMiddleware[];
8025
+ outputMiddlewares?: OutputMiddleware<any>[];
8026
+ maxMiddlewareRetries?: number;
7877
8027
  providerOptions?: ProviderOptions$1;
7878
8028
  output?: OutputSpec;
7879
8029
  /**
@@ -7912,6 +8062,7 @@ declare class Agent {
7912
8062
  readonly temperature?: number;
7913
8063
  readonly maxOutputTokens?: number;
7914
8064
  readonly maxSteps: number;
8065
+ readonly maxRetries: number;
7915
8066
  readonly stopWhen?: StopWhen;
7916
8067
  readonly markdown: boolean;
7917
8068
  readonly voice?: Voice;
@@ -7931,6 +8082,9 @@ declare class Agent {
7931
8082
  private readonly feedbackOptions?;
7932
8083
  private readonly inputGuardrails;
7933
8084
  private readonly outputGuardrails;
8085
+ private readonly inputMiddlewares;
8086
+ private readonly outputMiddlewares;
8087
+ private readonly maxMiddlewareRetries;
7934
8088
  private readonly observabilityAuthWarningState;
7935
8089
  constructor(options: AgentOptions);
7936
8090
  /**
@@ -7943,15 +8097,20 @@ declare class Agent {
7943
8097
  streamText(input: string | UIMessage[] | BaseMessage[], options?: StreamTextOptions): Promise<StreamTextResultWithContext>;
7944
8098
  /**
7945
8099
  * Generate structured object
7946
- * @deprecated Use generateText with Output.object instead. generateObject will be removed in a future release.
8100
+ * @deprecated Use generateText with an output setting instead.
7947
8101
  */
7948
8102
  generateObject<T extends z.ZodType>(input: string | UIMessage[] | BaseMessage[], schema: T, options?: GenerateObjectOptions): Promise<GenerateObjectResultWithContext<z.infer<T>>>;
7949
8103
  /**
7950
8104
  * Stream structured object
7951
- * @deprecated Use streamText with Output.object instead. streamObject will be removed in a future release.
8105
+ * @deprecated Use streamText with an output setting instead.
7952
8106
  */
7953
8107
  streamObject<T extends z.ZodType>(input: string | UIMessage[] | BaseMessage[], schema: T, options?: StreamObjectOptions): Promise<StreamObjectResultWithContext<z.infer<T>>>;
7954
8108
  private resolveGuardrailSets;
8109
+ private resolveMiddlewareSets;
8110
+ private resolveMiddlewareRetries;
8111
+ private storeMiddlewareRetryFeedback;
8112
+ private consumeMiddlewareRetryFeedback;
8113
+ private shouldRetryMiddleware;
7955
8114
  /**
7956
8115
  * Common preparation for all execution methods
7957
8116
  */
@@ -7965,6 +8124,7 @@ declare class Agent {
7965
8124
  * Transitional helper to gradually adopt OperationContext across methods
7966
8125
  */
7967
8126
  private createOperationContext;
8127
+ private resetOperationAttemptState;
7968
8128
  private getConversationBuffer;
7969
8129
  private getMemoryPersistQueue;
7970
8130
  private flushPendingMessagesOnError;
@@ -8032,10 +8192,18 @@ declare class Agent {
8032
8192
  * Resolve dynamic value
8033
8193
  */
8034
8194
  private resolveValue;
8195
+ private getModelCandidates;
8196
+ private resolveModelReference;
8035
8197
  /**
8036
8198
  * Resolve agent model value (LanguageModel or provider/model string)
8037
8199
  */
8038
8200
  private resolveModel;
8201
+ private resolveCallMaxRetries;
8202
+ private shouldFallbackOnError;
8203
+ private isRetryableError;
8204
+ private executeWithModelFallback;
8205
+ private probeStreamStart;
8206
+ private discardStream;
8039
8207
  /**
8040
8208
  * Prepare tools with execution context
8041
8209
  */
@@ -10705,6 +10873,7 @@ type TaskToolOptions = {
10705
10873
  systemPrompt?: string | null;
10706
10874
  taskDescription?: string | null;
10707
10875
  maxSteps?: number;
10876
+ supervisorConfig?: SupervisorConfig;
10708
10877
  };
10709
10878
  type PlanAgentOptions = Omit<AgentOptions, "instructions" | "tools" | "toolkits" | "subAgents" | "supervisorConfig"> & {
10710
10879
  systemPrompt?: InstructionsDynamicValue;
@@ -10928,6 +11097,15 @@ type CreateOutputGuardrailOptions<TOutput = unknown> = CreateGuardrailDefinition
10928
11097
  declare function createInputGuardrail(options: CreateInputGuardrailOptions): InputGuardrail;
10929
11098
  declare function createOutputGuardrail<TOutput = unknown>(options: CreateOutputGuardrailOptions<TOutput>): OutputGuardrail<TOutput>;
10930
11099
 
11100
+ type EmptyMiddlewareExtras = Record<never, never>;
11101
+ type CreateMiddlewareDefinition<TArgs, TResult, TExtra extends Record<PropertyKey, unknown> = EmptyMiddlewareExtras> = Omit<MiddlewareDefinition<TArgs, TResult>, keyof TExtra | "handler"> & TExtra & {
11102
+ handler: MiddlewareFunction<TArgs, TResult>;
11103
+ };
11104
+ type CreateInputMiddlewareOptions = CreateMiddlewareDefinition<InputMiddlewareArgs, InputMiddlewareResult>;
11105
+ type CreateOutputMiddlewareOptions<TOutput = unknown> = CreateMiddlewareDefinition<OutputMiddlewareArgs<TOutput>, OutputMiddlewareResult<TOutput>>;
11106
+ declare function createInputMiddleware(options: CreateInputMiddlewareOptions): InputMiddleware;
11107
+ declare function createOutputMiddleware<TOutput = unknown>(options: CreateOutputMiddlewareOptions<TOutput>): OutputMiddleware<TOutput>;
11108
+
10931
11109
  declare const TRIGGER_CONTEXT_KEY: unique symbol;
10932
11110
 
10933
11111
  declare const SERVERLESS_ENV_CONTEXT_KEY: unique symbol;
@@ -13544,6 +13722,7 @@ declare enum NodeType {
13544
13722
  MESSAGE = "message",
13545
13723
  OUTPUT = "output",
13546
13724
  GUARDRAIL = "guardrail",
13725
+ MIDDLEWARE = "middleware",
13547
13726
  RETRIEVER = "retriever",
13548
13727
  VECTOR = "vector",
13549
13728
  EMBEDDING = "embedding",
@@ -14303,4 +14482,4 @@ declare class VoltAgent {
14303
14482
  */
14304
14483
  declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
14305
14484
 
14306
- export { A2AServerRegistry, AbortError, Agent, 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 AgentFeedbackMetadata, type AgentFeedbackOptions, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnHandoff, type AgentHookOnHandoffComplete, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, 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, ConversationTodoBackend, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateInputGuardrailOptions, type CreateOutputGuardrailOptions, type CreateReasoningToolsOptions, type CreateScorerOptions, DEFAULT_INSTRUCTIONS, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter$1 as EmbeddingAdapter, EmbeddingAdapterNotConfiguredError, EmbeddingError, type ExtractVariableNames, FEW_SHOT_EXAMPLES, FILESYSTEM_SYSTEM_PROMPT, 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 KnowledgeBaseTagFilter, type LLMProvider, LS_TOOL_DESCRIPTION, type LanguageModelFactory, LazyRemoteExportProcessor, 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 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, 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 OnHandoffCompleteHookArgs, type OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type 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 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, 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, ToolManager, type ToolOptions, type ToolResultOutput, type ToolSchema, 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, VectorAdapterNotConfiguredError, VectorError, type 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 WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, 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, createFilesystemToolkit, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createPIIInputGuardrail, createPhoneNumberGuardrail, createPlanningToolkit, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolResultEvictor, createToolkit, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, defineVoltOpsTrigger, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getGlobalVoltOpsClient, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
14485
+ export { A2AServerRegistry, AbortError, Agent, 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 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 AgentHookOnToolStart, type AgentHooks, 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, 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, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter$1 as EmbeddingAdapter, EmbeddingAdapterNotConfiguredError, EmbeddingError, 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, 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 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 OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type OutputMiddleware, type OutputMiddlewareArgs, type OutputMiddlewareResult, type 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, 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, ToolManager, type ToolOptions, type ToolResultOutput, type ToolSchema, 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, VectorAdapterNotConfiguredError, VectorError, type 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 WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, 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, 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, VoltAgent as default, defineVoltOpsTrigger, 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, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };