@voltagent/core 1.2.0 → 1.2.1

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
@@ -284,6 +284,10 @@ type ToolOptions<T extends ToolSchema = ToolSchema, O extends ToolSchema | undef
284
284
  * Tool output schema (optional)
285
285
  */
286
286
  outputSchema?: O;
287
+ /**
288
+ * Optional user-defined tags for organizing or labeling tools.
289
+ */
290
+ tags?: string[];
287
291
  /**
288
292
  * Provider-specific options for the tool.
289
293
  * Enables provider-specific functionality like cache control.
@@ -349,6 +353,10 @@ declare class Tool<T extends ToolSchema = ToolSchema, O extends ToolSchema | und
349
353
  * Tool output schema
350
354
  */
351
355
  readonly outputSchema?: O;
356
+ /**
357
+ * Optional user-defined tags for organizing or labeling tools.
358
+ */
359
+ readonly tags?: string[];
352
360
  /**
353
361
  * Provider-specific options for the tool.
354
362
  * Enables provider-specific functionality like cache control.
@@ -1886,6 +1894,134 @@ type CachedPrompt = {
1886
1894
  /** Time to live in milliseconds */
1887
1895
  ttl: number;
1888
1896
  };
1897
+ interface VoltOpsActionExecutionResult {
1898
+ actionId: string;
1899
+ provider: string;
1900
+ requestPayload: Record<string, unknown>;
1901
+ responsePayload: unknown;
1902
+ metadata?: Record<string, unknown> | null;
1903
+ }
1904
+ interface VoltOpsAirtableCreateRecordParams {
1905
+ credentialId: string;
1906
+ baseId: string;
1907
+ tableId: string;
1908
+ fields: Record<string, unknown>;
1909
+ typecast?: boolean;
1910
+ returnFieldsByFieldId?: boolean;
1911
+ actionId?: string;
1912
+ catalogId?: string;
1913
+ projectId?: string | null;
1914
+ }
1915
+ interface VoltOpsAirtableUpdateRecordParams {
1916
+ credentialId: string;
1917
+ baseId: string;
1918
+ tableId: string;
1919
+ recordId: string;
1920
+ fields?: Record<string, unknown>;
1921
+ typecast?: boolean;
1922
+ returnFieldsByFieldId?: boolean;
1923
+ actionId?: string;
1924
+ catalogId?: string;
1925
+ projectId?: string | null;
1926
+ }
1927
+ interface VoltOpsAirtableDeleteRecordParams {
1928
+ credentialId: string;
1929
+ baseId: string;
1930
+ tableId: string;
1931
+ recordId: string;
1932
+ actionId?: string;
1933
+ catalogId?: string;
1934
+ projectId?: string | null;
1935
+ }
1936
+ interface VoltOpsAirtableGetRecordParams {
1937
+ credentialId: string;
1938
+ baseId: string;
1939
+ tableId: string;
1940
+ recordId: string;
1941
+ returnFieldsByFieldId?: boolean;
1942
+ actionId?: string;
1943
+ catalogId?: string;
1944
+ projectId?: string | null;
1945
+ }
1946
+ interface VoltOpsAirtableListRecordsParams {
1947
+ credentialId: string;
1948
+ baseId: string;
1949
+ tableId: string;
1950
+ view?: string;
1951
+ filterByFormula?: string;
1952
+ maxRecords?: number;
1953
+ pageSize?: number;
1954
+ offset?: string;
1955
+ fields?: string[];
1956
+ sort?: Array<{
1957
+ field: string;
1958
+ direction?: "asc" | "desc";
1959
+ }>;
1960
+ returnFieldsByFieldId?: boolean;
1961
+ actionId?: string;
1962
+ catalogId?: string;
1963
+ projectId?: string | null;
1964
+ }
1965
+ interface VoltOpsSlackBaseParams {
1966
+ credentialId: string;
1967
+ actionId?: string;
1968
+ catalogId?: string;
1969
+ projectId?: string | null;
1970
+ }
1971
+ interface VoltOpsSlackPostMessageParams extends VoltOpsSlackBaseParams {
1972
+ channelId?: string;
1973
+ channelName?: string;
1974
+ channelLabel?: string | null;
1975
+ defaultThreadTs?: string | null;
1976
+ targetType?: "conversation" | "user";
1977
+ userId?: string;
1978
+ userName?: string;
1979
+ text?: string;
1980
+ blocks?: unknown;
1981
+ attachments?: unknown;
1982
+ threadTs?: string;
1983
+ metadata?: Record<string, unknown>;
1984
+ linkNames?: boolean;
1985
+ unfurlLinks?: boolean;
1986
+ unfurlMedia?: boolean;
1987
+ }
1988
+ interface VoltOpsSlackDeleteMessageParams extends VoltOpsSlackBaseParams {
1989
+ channelId: string;
1990
+ messageTs: string;
1991
+ threadTs?: string;
1992
+ }
1993
+ interface VoltOpsSlackSearchMessagesParams extends VoltOpsSlackBaseParams {
1994
+ query: string;
1995
+ sort?: "relevance" | "timestamp";
1996
+ sortDirection?: "asc" | "desc";
1997
+ channelIds?: string[];
1998
+ limit?: number;
1999
+ }
2000
+ type VoltOpsActionsApi = {
2001
+ airtable: {
2002
+ createRecord: (params: VoltOpsAirtableCreateRecordParams) => Promise<VoltOpsActionExecutionResult>;
2003
+ updateRecord: (params: VoltOpsAirtableUpdateRecordParams) => Promise<VoltOpsActionExecutionResult>;
2004
+ deleteRecord: (params: VoltOpsAirtableDeleteRecordParams) => Promise<VoltOpsActionExecutionResult>;
2005
+ getRecord: (params: VoltOpsAirtableGetRecordParams) => Promise<VoltOpsActionExecutionResult>;
2006
+ listRecords: (params: VoltOpsAirtableListRecordsParams) => Promise<VoltOpsActionExecutionResult>;
2007
+ };
2008
+ slack: {
2009
+ postMessage: (params: VoltOpsSlackPostMessageParams) => Promise<VoltOpsActionExecutionResult>;
2010
+ deleteMessage: (params: VoltOpsSlackDeleteMessageParams) => Promise<VoltOpsActionExecutionResult>;
2011
+ searchMessages: (params: VoltOpsSlackSearchMessagesParams) => Promise<VoltOpsActionExecutionResult>;
2012
+ };
2013
+ };
2014
+ interface VoltOpsEvalsApi {
2015
+ runs: {
2016
+ create(payload?: VoltOpsCreateEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2017
+ appendResults(runId: string, payload: VoltOpsAppendEvalRunResultsRequest): Promise<VoltOpsEvalRunSummary>;
2018
+ complete(runId: string, payload: VoltOpsCompleteEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2019
+ fail(runId: string, payload: VoltOpsFailEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2020
+ };
2021
+ scorers: {
2022
+ create(payload: VoltOpsCreateScorerRequest): Promise<VoltOpsScorerSummary>;
2023
+ };
2024
+ }
1889
2025
  /**
1890
2026
  * API response for prompt fetch operations
1891
2027
  * Simplified format matching the desired response structure
@@ -2030,6 +2166,9 @@ interface VoltOpsCompleteEvalRunRequest {
2030
2166
  summary?: VoltOpsEvalRunCompletionSummaryPayload;
2031
2167
  error?: VoltOpsEvalRunErrorPayload;
2032
2168
  }
2169
+ interface VoltOpsFailEvalRunRequest {
2170
+ error: VoltOpsEvalRunErrorPayload;
2171
+ }
2033
2172
  interface VoltOpsCreateScorerRequest {
2034
2173
  id: string;
2035
2174
  name: string;
@@ -2060,16 +2199,12 @@ interface VoltOpsClient$1 {
2060
2199
  options: VoltOpsClientOptions & {
2061
2200
  baseUrl: string;
2062
2201
  };
2202
+ /** Actions client for third-party integrations */
2203
+ actions: VoltOpsActionsApi;
2204
+ /** Evaluations API surface */
2205
+ evals: VoltOpsEvalsApi;
2063
2206
  /** Create a prompt helper for agent instructions */
2064
2207
  createPromptHelper(agentId: string, historyEntryId?: string): PromptHelper;
2065
- /** Create a new evaluation run in VoltOps */
2066
- createEvalRun(payload?: VoltOpsCreateEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2067
- /** Append evaluation results to an existing run */
2068
- appendEvalRunResults(runId: string, payload: VoltOpsAppendEvalRunResultsRequest): Promise<VoltOpsEvalRunSummary>;
2069
- /** Complete an evaluation run */
2070
- completeEvalRun(runId: string, payload: VoltOpsCompleteEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2071
- /** Upsert a scorer definition */
2072
- createEvalScorer(payload: VoltOpsCreateScorerRequest): Promise<VoltOpsScorerSummary>;
2073
2208
  /** List managed memory databases available to the project */
2074
2209
  listManagedMemoryDatabases(): Promise<ManagedMemoryDatabaseSummary[]>;
2075
2210
  /** List credentials for a managed memory database */
@@ -2258,6 +2393,52 @@ interface ManagedMemoryVoltOpsClient {
2258
2393
  vectors: ManagedMemoryVectorsClient;
2259
2394
  }
2260
2395
 
2396
+ interface VoltOpsActionsTransport {
2397
+ sendRequest(path: string, init?: RequestInit): Promise<Response>;
2398
+ }
2399
+ declare class VoltOpsActionsClient {
2400
+ private readonly transport;
2401
+ readonly airtable: {
2402
+ createRecord: (params: VoltOpsAirtableCreateRecordParams) => Promise<VoltOpsActionExecutionResult>;
2403
+ updateRecord: (params: VoltOpsAirtableUpdateRecordParams) => Promise<VoltOpsActionExecutionResult>;
2404
+ deleteRecord: (params: VoltOpsAirtableDeleteRecordParams) => Promise<VoltOpsActionExecutionResult>;
2405
+ getRecord: (params: VoltOpsAirtableGetRecordParams) => Promise<VoltOpsActionExecutionResult>;
2406
+ listRecords: (params: VoltOpsAirtableListRecordsParams) => Promise<VoltOpsActionExecutionResult>;
2407
+ };
2408
+ readonly slack: {
2409
+ postMessage: (params: VoltOpsSlackPostMessageParams) => Promise<VoltOpsActionExecutionResult>;
2410
+ deleteMessage: (params: VoltOpsSlackDeleteMessageParams) => Promise<VoltOpsActionExecutionResult>;
2411
+ searchMessages: (params: VoltOpsSlackSearchMessagesParams) => Promise<VoltOpsActionExecutionResult>;
2412
+ };
2413
+ constructor(transport: VoltOpsActionsTransport, options?: {
2414
+ useProjectEndpoint?: boolean;
2415
+ });
2416
+ private readonly useProjectEndpoint;
2417
+ private get actionExecutionPath();
2418
+ private createAirtableRecord;
2419
+ private updateAirtableRecord;
2420
+ private deleteAirtableRecord;
2421
+ private getAirtableRecord;
2422
+ private listAirtableRecords;
2423
+ private executeAirtableAction;
2424
+ private postSlackMessage;
2425
+ private deleteSlackMessage;
2426
+ private searchSlackMessages;
2427
+ private executeSlackAction;
2428
+ private normalizeIdentifier;
2429
+ private ensureRecord;
2430
+ private sanitizeStringArray;
2431
+ private sanitizeSortArray;
2432
+ private normalizePositiveInteger;
2433
+ private trimString;
2434
+ private postActionExecution;
2435
+ private unwrapActionResponse;
2436
+ private mapActionExecution;
2437
+ private normalizeString;
2438
+ private normalizeRecord;
2439
+ private extractErrorMessage;
2440
+ }
2441
+
2261
2442
  /**
2262
2443
  * VoltOps Client Implementation
2263
2444
  *
@@ -2275,6 +2456,8 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
2275
2456
  };
2276
2457
  readonly prompts?: VoltOpsPromptManager;
2277
2458
  readonly managedMemory: ManagedMemoryVoltOpsClient;
2459
+ readonly actions: VoltOpsActionsClient;
2460
+ readonly evals: VoltOpsEvalsApi;
2278
2461
  private readonly logger;
2279
2462
  private get fetchImpl();
2280
2463
  constructor(options: VoltOpsClientOptions);
@@ -2303,14 +2486,16 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
2303
2486
  * Get authentication headers for API requests
2304
2487
  */
2305
2488
  getAuthHeaders(): Record<string, string>;
2489
+ sendRequest(path: string, init?: RequestInit): Promise<Response>;
2306
2490
  /**
2307
2491
  * Get prompt manager for direct access
2308
2492
  */
2309
2493
  getPromptManager(): VoltOpsPromptManager | undefined;
2310
- createEvalRun(payload?: VoltOpsCreateEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2311
- appendEvalRunResults(runId: string, payload: VoltOpsAppendEvalRunResultsRequest): Promise<VoltOpsEvalRunSummary>;
2312
- completeEvalRun(runId: string, payload: VoltOpsCompleteEvalRunRequest): Promise<VoltOpsEvalRunSummary>;
2313
- createEvalScorer(payload: VoltOpsCreateScorerRequest): Promise<VoltOpsScorerSummary>;
2494
+ private createEvalRun;
2495
+ private appendEvalRunResults;
2496
+ private completeEvalRun;
2497
+ private failEvalRun;
2498
+ private createEvalScorer;
2314
2499
  private request;
2315
2500
  private buildQueryString;
2316
2501
  private createManagedMemoryClient;
@@ -3683,7 +3868,7 @@ declare class AgentTraceContext {
3683
3868
  /**
3684
3869
  * Create a child span with automatic parent context and attribute inheritance
3685
3870
  */
3686
- createChildSpan(name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail", options?: {
3871
+ createChildSpan(name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "llm", options?: {
3687
3872
  label?: string;
3688
3873
  attributes?: Record<string, any>;
3689
3874
  kind?: SpanKind$1;
@@ -3691,7 +3876,7 @@ declare class AgentTraceContext {
3691
3876
  /**
3692
3877
  * Create a child span with a specific parent span
3693
3878
  */
3694
- createChildSpanWithParent(parentSpan: Span, name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail", options?: {
3879
+ createChildSpanWithParent(parentSpan: Span, name: string, type: "tool" | "memory" | "retriever" | "embedding" | "vector" | "agent" | "guardrail" | "llm", options?: {
3695
3880
  label?: string;
3696
3881
  attributes?: Record<string, any>;
3697
3882
  kind?: SpanKind$1;
@@ -4588,6 +4773,11 @@ interface BaseGenerationOptions extends Partial<CallSettings> {
4588
4773
  outputGuardrails?: OutputGuardrail<any>[];
4589
4774
  providerOptions?: ProviderOptions$1;
4590
4775
  experimental_output?: ReturnType<typeof Output.object> | ReturnType<typeof Output.text>;
4776
+ /**
4777
+ * Optional explicit stop sequences to pass through to the underlying provider.
4778
+ * Mirrors the `stop` option supported by ai-sdk `generateText/streamText`.
4779
+ */
4780
+ stop?: string | string[];
4591
4781
  }
4592
4782
  type GenerateTextOptions = BaseGenerationOptions;
4593
4783
  type StreamTextOptions = BaseGenerationOptions & {
@@ -4667,6 +4857,10 @@ declare class Agent {
4667
4857
  */
4668
4858
  private calculateDelegationDepth;
4669
4859
  private enqueueEvalScoring;
4860
+ private createLLMSpan;
4861
+ private createLLMSpanFinalizer;
4862
+ private buildLLMSpanAttributes;
4863
+ private recordLLMUsage;
4670
4864
  private createEvalHost;
4671
4865
  /**
4672
4866
  * Get observability instance (lazy initialization)
@@ -6810,9 +7004,9 @@ declare const ReasoningStepSchema: z.ZodObject<{
6810
7004
  id: string;
6811
7005
  reasoning: string;
6812
7006
  title: string;
7007
+ timestamp: string;
6813
7008
  historyEntryId: string;
6814
7009
  agentId: string;
6815
- timestamp: string;
6816
7010
  confidence: number;
6817
7011
  action?: string | undefined;
6818
7012
  result?: string | undefined;
@@ -6822,9 +7016,9 @@ declare const ReasoningStepSchema: z.ZodObject<{
6822
7016
  id: string;
6823
7017
  reasoning: string;
6824
7018
  title: string;
7019
+ timestamp: string;
6825
7020
  historyEntryId: string;
6826
7021
  agentId: string;
6827
- timestamp: string;
6828
7022
  action?: string | undefined;
6829
7023
  result?: string | undefined;
6830
7024
  next_action?: NextAction | undefined;
@@ -8534,4 +8728,4 @@ declare class VoltAgent {
8534
8728
  */
8535
8729
  declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
8536
8730
 
8537
- export { A2AServerRegistry, AbortError, Agent, type AgentEvalConfig, type AgentEvalContext, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, 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 AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, 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, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, 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, type EmbeddingAdapter$1 as EmbeddingAdapter, EmbeddingAdapterNotConfiguredError, EmbeddingError, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type GenerateObjectOptions, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextSubAgentConfig, type GetMessagesOptions, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, 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 LLMProvider, LazyRemoteExportProcessor, type LocalScorerDefinition, type LocalScorerExecutionResult, LocalStorageSpanProcessor, type LogFilter, LoggerProxy, MCPConfiguration, type MCPElicitationAdapter, 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 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 ModelToolCall, NextAction, 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 PackageUpdateInfo, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type RetrieveOptions, type Retriever, type RetrieverOptions, type RunLocalScorersArgs, type RunLocalScorersResult, 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 StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, ToolManager, type ToolOptions, type ToolResultOutput, type ToolSchema, type ToolStatus, type ToolStatusInfo, type ToolWithNodeId, type Toolkit, type Usage, type UsageInfo, type VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsTerminalEvalRunStatus, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, WorkflowRegistry, type WorkflowStateEntry, type WorkflowStats, type WorkflowStepContext, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, addTimestampToMessage, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createPIIInputGuardrail, createPhoneNumberGuardrail, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolkit, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getNodeTypeFromNodeId, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
8731
+ export { A2AServerRegistry, AbortError, Agent, type AgentEvalConfig, type AgentEvalContext, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, 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 AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, 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, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, 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, type EmbeddingAdapter$1 as EmbeddingAdapter, EmbeddingAdapterNotConfiguredError, EmbeddingError, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type GenerateObjectOptions, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextSubAgentConfig, type GetMessagesOptions, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, 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 LLMProvider, LazyRemoteExportProcessor, type LocalScorerDefinition, type LocalScorerExecutionResult, LocalStorageSpanProcessor, type LogFilter, LoggerProxy, MCPConfiguration, type MCPElicitationAdapter, 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 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 ModelToolCall, NextAction, 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 PackageUpdateInfo, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type RetrieveOptions, type Retriever, type RetrieverOptions, type RunLocalScorersArgs, type RunLocalScorersResult, 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 StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, ToolManager, type ToolOptions, type ToolResultOutput, type ToolSchema, type ToolStatus, type ToolStatusInfo, type ToolWithNodeId, type Toolkit, type Usage, type UsageInfo, type VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, WorkflowRegistry, type WorkflowStateEntry, type WorkflowStats, type WorkflowStepContext, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, addTimestampToMessage, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createPIIInputGuardrail, createPhoneNumberGuardrail, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolkit, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getNodeTypeFromNodeId, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };