@voltagent/core 1.1.23 → 1.1.25

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
@@ -1600,6 +1600,7 @@ type Voice = {
1600
1600
  * All types related to VoltOps client functionality including
1601
1601
  * prompt management, telemetry, and API interactions.
1602
1602
  */
1603
+ type ManagedMemoryStatus = "provisioning" | "ready" | "failed";
1603
1604
 
1604
1605
  /**
1605
1606
  * Reference to a prompt in the VoltOps system
@@ -1656,7 +1657,7 @@ type VoltOpsClientOptions = {
1656
1657
  *
1657
1658
  * @example
1658
1659
  * ```typescript
1659
- * publicKey: process.env.VOLTOPS_PUBLIC_KEY
1660
+ * publicKey: process.env.VOLTAGENT_PUBLIC_KEY
1660
1661
  * ```
1661
1662
  *
1662
1663
  *
@@ -1673,7 +1674,7 @@ type VoltOpsClientOptions = {
1673
1674
  *
1674
1675
  * @example
1675
1676
  * ```typescript
1676
- * secretKey: process.env.VOLTOPS_SECRET_KEY
1677
+ * secretKey: process.env.VOLTAGENT_SECRET_KEY
1677
1678
  * ```
1678
1679
  *
1679
1680
  *
@@ -1770,6 +1771,16 @@ interface VoltOpsClient$1 {
1770
1771
  };
1771
1772
  /** Create a prompt helper for agent instructions */
1772
1773
  createPromptHelper(agentId: string, historyEntryId?: string): PromptHelper;
1774
+ /** List managed memory databases available to the project */
1775
+ listManagedMemoryDatabases(): Promise<ManagedMemoryDatabaseSummary[]>;
1776
+ /** List credentials for a managed memory database */
1777
+ listManagedMemoryCredentials(databaseId: string): Promise<ManagedMemoryCredentialListResult>;
1778
+ /** Create a credential for a managed memory database */
1779
+ createManagedMemoryCredential(databaseId: string, input?: {
1780
+ name?: string;
1781
+ }): Promise<ManagedMemoryCredentialCreateResult>;
1782
+ /** Managed memory storage operations */
1783
+ managedMemory: ManagedMemoryVoltOpsClient;
1773
1784
  }
1774
1785
  /**
1775
1786
  * Chat message structure compatible with BaseMessage
@@ -1812,6 +1823,141 @@ interface PromptContent {
1812
1823
  };
1813
1824
  };
1814
1825
  }
1826
+ interface ManagedMemoryConnectionInfo {
1827
+ host: string;
1828
+ port: number;
1829
+ database: string;
1830
+ schema: string;
1831
+ tablePrefix: string;
1832
+ ssl: boolean;
1833
+ }
1834
+ interface ManagedMemoryDatabaseSummary {
1835
+ id: string;
1836
+ organization_id: string;
1837
+ name: string;
1838
+ region: string;
1839
+ schema_name: string;
1840
+ table_prefix: string;
1841
+ status: ManagedMemoryStatus;
1842
+ last_error?: string | null;
1843
+ metadata?: Record<string, unknown> | null;
1844
+ created_at: string;
1845
+ updated_at: string;
1846
+ connection: ManagedMemoryConnectionInfo;
1847
+ }
1848
+ interface ManagedMemoryCredentialSummary {
1849
+ id: string;
1850
+ name: string;
1851
+ role: string;
1852
+ username: string;
1853
+ secret: string | null;
1854
+ expiresAt: string | null;
1855
+ isRevoked: boolean;
1856
+ createdAt: string;
1857
+ updatedAt: string;
1858
+ }
1859
+ interface ManagedMemoryCredentialListResult {
1860
+ connection: ManagedMemoryConnectionInfo;
1861
+ credentials: ManagedMemoryCredentialSummary[];
1862
+ }
1863
+ interface ManagedMemoryCredentialCreateResult {
1864
+ connection: ManagedMemoryConnectionInfo;
1865
+ credential: ManagedMemoryCredentialSummary;
1866
+ }
1867
+ interface ManagedMemoryAddMessageInput {
1868
+ conversationId: string;
1869
+ userId: string;
1870
+ message: UIMessage;
1871
+ }
1872
+ interface ManagedMemoryAddMessagesInput {
1873
+ conversationId: string;
1874
+ userId: string;
1875
+ messages: UIMessage[];
1876
+ }
1877
+ interface ManagedMemoryGetMessagesInput {
1878
+ conversationId: string;
1879
+ userId: string;
1880
+ options?: GetMessagesOptions;
1881
+ }
1882
+ interface ManagedMemoryClearMessagesInput {
1883
+ userId: string;
1884
+ conversationId?: string;
1885
+ }
1886
+ interface ManagedMemoryStoreVectorInput {
1887
+ id: string;
1888
+ vector: number[];
1889
+ metadata?: Record<string, unknown>;
1890
+ content?: string;
1891
+ }
1892
+ interface ManagedMemoryStoreVectorsBatchInput {
1893
+ items: ManagedMemoryStoreVectorInput[];
1894
+ }
1895
+ interface ManagedMemorySearchVectorsInput {
1896
+ vector: number[];
1897
+ limit?: number;
1898
+ threshold?: number;
1899
+ filter?: Record<string, unknown>;
1900
+ }
1901
+ interface ManagedMemoryDeleteVectorsInput {
1902
+ ids: string[];
1903
+ }
1904
+ interface ManagedMemoryUpdateConversationInput {
1905
+ conversationId: string;
1906
+ updates: Partial<Omit<Conversation, "id" | "createdAt" | "updatedAt">>;
1907
+ }
1908
+ interface ManagedMemoryWorkingMemoryInput {
1909
+ scope: WorkingMemoryScope;
1910
+ conversationId?: string;
1911
+ userId?: string;
1912
+ }
1913
+ interface ManagedMemorySetWorkingMemoryInput extends ManagedMemoryWorkingMemoryInput {
1914
+ content: string;
1915
+ }
1916
+ interface ManagedMemoryWorkflowStateUpdateInput {
1917
+ executionId: string;
1918
+ updates: Partial<WorkflowStateEntry>;
1919
+ }
1920
+ interface ManagedMemoryMessagesClient {
1921
+ add(databaseId: string, input: ManagedMemoryAddMessageInput): Promise<void>;
1922
+ addBatch(databaseId: string, input: ManagedMemoryAddMessagesInput): Promise<void>;
1923
+ list(databaseId: string, input: ManagedMemoryGetMessagesInput): Promise<UIMessage[]>;
1924
+ clear(databaseId: string, input: ManagedMemoryClearMessagesInput): Promise<void>;
1925
+ }
1926
+ interface ManagedMemoryConversationsClient {
1927
+ create(databaseId: string, input: CreateConversationInput): Promise<Conversation>;
1928
+ get(databaseId: string, conversationId: string): Promise<Conversation | null>;
1929
+ query(databaseId: string, options: ConversationQueryOptions): Promise<Conversation[]>;
1930
+ update(databaseId: string, input: ManagedMemoryUpdateConversationInput): Promise<Conversation>;
1931
+ delete(databaseId: string, conversationId: string): Promise<void>;
1932
+ }
1933
+ interface ManagedMemoryWorkingMemoryClient {
1934
+ get(databaseId: string, input: ManagedMemoryWorkingMemoryInput): Promise<string | null>;
1935
+ set(databaseId: string, input: ManagedMemorySetWorkingMemoryInput): Promise<void>;
1936
+ delete(databaseId: string, input: ManagedMemoryWorkingMemoryInput): Promise<void>;
1937
+ }
1938
+ interface ManagedMemoryWorkflowStatesClient {
1939
+ get(databaseId: string, executionId: string): Promise<WorkflowStateEntry | null>;
1940
+ set(databaseId: string, executionId: string, state: WorkflowStateEntry): Promise<void>;
1941
+ update(databaseId: string, input: ManagedMemoryWorkflowStateUpdateInput): Promise<void>;
1942
+ listSuspended(databaseId: string, workflowId: string): Promise<WorkflowStateEntry[]>;
1943
+ }
1944
+ interface ManagedMemoryVectorsClient {
1945
+ store(databaseId: string, input: ManagedMemoryStoreVectorInput): Promise<void>;
1946
+ storeBatch(databaseId: string, input: ManagedMemoryStoreVectorsBatchInput): Promise<void>;
1947
+ search(databaseId: string, input: ManagedMemorySearchVectorsInput): Promise<SearchResult[]>;
1948
+ get(databaseId: string, vectorId: string): Promise<VectorItem | null>;
1949
+ delete(databaseId: string, vectorId: string): Promise<void>;
1950
+ deleteBatch(databaseId: string, input: ManagedMemoryDeleteVectorsInput): Promise<void>;
1951
+ clear(databaseId: string): Promise<void>;
1952
+ count(databaseId: string): Promise<number>;
1953
+ }
1954
+ interface ManagedMemoryVoltOpsClient {
1955
+ messages: ManagedMemoryMessagesClient;
1956
+ conversations: ManagedMemoryConversationsClient;
1957
+ workingMemory: ManagedMemoryWorkingMemoryClient;
1958
+ workflowStates: ManagedMemoryWorkflowStatesClient;
1959
+ vectors: ManagedMemoryVectorsClient;
1960
+ }
1815
1961
 
1816
1962
  /**
1817
1963
  * VoltOps Client Implementation
@@ -1829,7 +1975,9 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
1829
1975
  baseUrl: string;
1830
1976
  };
1831
1977
  readonly prompts?: VoltOpsPromptManager;
1978
+ readonly managedMemory: ManagedMemoryVoltOpsClient;
1832
1979
  private readonly logger;
1980
+ private get fetchImpl();
1833
1981
  constructor(options: VoltOpsClientOptions);
1834
1982
  /**
1835
1983
  * Create a prompt helper for agent instructions
@@ -1860,6 +2008,38 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
1860
2008
  * Get prompt manager for direct access
1861
2009
  */
1862
2010
  getPromptManager(): VoltOpsPromptManager | undefined;
2011
+ private request;
2012
+ private buildQueryString;
2013
+ private createManagedMemoryClient;
2014
+ listManagedMemoryDatabases(): Promise<ManagedMemoryDatabaseSummary[]>;
2015
+ listManagedMemoryCredentials(databaseId: string): Promise<ManagedMemoryCredentialListResult>;
2016
+ createManagedMemoryCredential(databaseId: string, input?: {
2017
+ name?: string;
2018
+ }): Promise<ManagedMemoryCredentialCreateResult>;
2019
+ private addManagedMemoryMessage;
2020
+ private addManagedMemoryMessages;
2021
+ private getManagedMemoryMessages;
2022
+ private clearManagedMemoryMessages;
2023
+ private storeManagedMemoryVector;
2024
+ private storeManagedMemoryVectors;
2025
+ private searchManagedMemoryVectors;
2026
+ private getManagedMemoryVector;
2027
+ private deleteManagedMemoryVector;
2028
+ private deleteManagedMemoryVectors;
2029
+ private clearManagedMemoryVectors;
2030
+ private countManagedMemoryVectors;
2031
+ private createManagedMemoryConversation;
2032
+ private getManagedMemoryConversation;
2033
+ private queryManagedMemoryConversations;
2034
+ private updateManagedMemoryConversation;
2035
+ private deleteManagedMemoryConversation;
2036
+ private getManagedMemoryWorkingMemory;
2037
+ private setManagedMemoryWorkingMemory;
2038
+ private deleteManagedMemoryWorkingMemory;
2039
+ private getManagedMemoryWorkflowState;
2040
+ private setManagedMemoryWorkflowState;
2041
+ private updateManagedMemoryWorkflowState;
2042
+ private getManagedMemorySuspendedWorkflowStates;
1863
2043
  /**
1864
2044
  * Static method to create prompt helper with priority-based fallback
1865
2045
  * Priority: Agent VoltOpsClient > Global VoltOpsClient > Fallback instructions
@@ -1875,6 +2055,40 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
1875
2055
  */
1876
2056
  declare const createVoltOpsClient: (options: VoltOpsClientOptions) => VoltOpsClient;
1877
2057
 
2058
+ /**
2059
+ * Type guard to check if an error is an AbortError
2060
+ */
2061
+ declare function isAbortError(error: unknown): error is AbortError;
2062
+ /**
2063
+ * Error thrown when an operation is aborted via AbortController
2064
+ */
2065
+ declare class AbortError extends Error {
2066
+ name: "AbortError";
2067
+ /** The reason passed to abort() method */
2068
+ reason?: unknown;
2069
+ constructor(reason?: string);
2070
+ }
2071
+
2072
+ type ClientHttpErrorCode = 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451;
2073
+ declare abstract class ClientHTTPError extends Error {
2074
+ name: string;
2075
+ httpStatus: ClientHttpErrorCode;
2076
+ code: string;
2077
+ constructor(name: string, httpStatus: ClientHttpErrorCode, code: string, message: string);
2078
+ }
2079
+ type ToolDeniedErrorCode = "TOOL_ERROR" | "TOOL_FORBIDDEN" | "TOOL_PLAN_REQUIRED" | "TOOL_QUOTA_EXCEEDED";
2080
+ /**
2081
+ * Error thrown when a tool execution is denied by a controller or policy layer
2082
+ */
2083
+ declare class ToolDeniedError extends ClientHTTPError {
2084
+ constructor({ toolName, message, code, httpStatus, }: {
2085
+ toolName: string;
2086
+ message: string;
2087
+ code: ToolDeniedErrorCode | string;
2088
+ httpStatus: ClientHttpErrorCode;
2089
+ });
2090
+ }
2091
+
1878
2092
  type VoltAgentErrorOptions = {
1879
2093
  originalError?: unknown;
1880
2094
  code?: string;
@@ -1911,19 +2125,7 @@ declare class VoltAgentError extends Error {
1911
2125
  constructor(message: string, options?: VoltAgentErrorOptions);
1912
2126
  }
1913
2127
 
1914
- /**
1915
- * Type guard to check if an error is an AbortError
1916
- */
1917
- declare function isAbortError(error: unknown): error is AbortError;
1918
- /**
1919
- * Error thrown when an operation is aborted via AbortController
1920
- */
1921
- declare class AbortError extends Error {
1922
- name: "AbortError";
1923
- /** The reason passed to abort() method */
1924
- reason?: unknown;
1925
- constructor(reason?: string);
1926
- }
2128
+ type CancellationError = AbortError | ClientHTTPError;
1927
2129
 
1928
2130
  /**
1929
2131
  * Available methods for subagent execution
@@ -2836,7 +3038,7 @@ interface OnEndHookArgs {
2836
3038
  /** The standardized successful output object. Undefined on error. */
2837
3039
  output: AgentOperationOutput | undefined;
2838
3040
  /** The error object if the operation failed. */
2839
- error: VoltAgentError | AbortError | undefined;
3041
+ error: VoltAgentError | CancellationError | undefined;
2840
3042
  /** The operation context. */
2841
3043
  context: OperationContext;
2842
3044
  }
@@ -2848,6 +3050,7 @@ interface OnToolStartHookArgs {
2848
3050
  agent: Agent;
2849
3051
  tool: AgentTool;
2850
3052
  context: OperationContext;
3053
+ args: any;
2851
3054
  }
2852
3055
  interface OnToolEndHookArgs {
2853
3056
  agent: Agent;
@@ -3296,7 +3499,11 @@ type OperationContext = {
3296
3499
  /** Start time of the operation (Date object) */
3297
3500
  startTime: Date;
3298
3501
  /** Cancellation error to be thrown when operation is aborted */
3299
- cancellationError?: AbortError;
3502
+ cancellationError?: CancellationError;
3503
+ /** Input provided to the agent operation (string, UIMessages, or BaseMessages) */
3504
+ input?: string | UIMessage[] | BaseMessage[];
3505
+ /** Output generated by the agent operation (text or object) */
3506
+ output?: string | object;
3300
3507
  };
3301
3508
  /**
3302
3509
  * Specific information related to a tool execution error.
@@ -3766,6 +3973,10 @@ declare class Agent {
3766
3973
  * Prepare tools with execution context
3767
3974
  */
3768
3975
  private prepareTools;
3976
+ /**
3977
+ * Validate tool output against optional output schema.
3978
+ */
3979
+ private validateToolOutput;
3769
3980
  /**
3770
3981
  * Convert VoltAgent tools to AI SDK format with context injection
3771
3982
  */
@@ -5808,9 +6019,9 @@ declare const ReasoningStepSchema: z.ZodObject<{
5808
6019
  agentId: z.ZodString;
5809
6020
  }, "strip", z.ZodTypeAny, {
5810
6021
  type: "thought" | "analysis";
5811
- reasoning: string;
5812
- id: string;
5813
6022
  title: string;
6023
+ id: string;
6024
+ reasoning: string;
5814
6025
  historyEntryId: string;
5815
6026
  agentId: string;
5816
6027
  timestamp: string;
@@ -5820,9 +6031,9 @@ declare const ReasoningStepSchema: z.ZodObject<{
5820
6031
  next_action?: NextAction | undefined;
5821
6032
  }, {
5822
6033
  type: "thought" | "analysis";
5823
- reasoning: string;
5824
- id: string;
5825
6034
  title: string;
6035
+ id: string;
6036
+ reasoning: string;
5826
6037
  historyEntryId: string;
5827
6038
  agentId: string;
5828
6039
  timestamp: string;
@@ -7426,4 +7637,4 @@ declare class VoltAgent {
7426
7637
  */
7427
7638
  declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
7428
7639
 
7429
- export { A2AServerRegistry, AbortError, Agent, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnHandoff, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStatus, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, type CloudflareFetchHandler, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateReasoningToolsOptions, 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 GenerateTextOptions, type GenerateTextSubAgentConfig, type GetMessagesOptions, 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 LLMProvider, LazyRemoteExportProcessor, LocalStorageSpanProcessor, type LogFilter, LoggerProxy, MCPConfiguration, type MCPElicitationAdapter, type MCPLoggingAdapter, type MCPPromptsAdapter, type MCPResourcesAdapter, MCPServerRegistry, 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 OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolStartHookArgs, type OperationContext, 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 ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type RetrieveOptions, type Retriever, type RetrieverOptions, 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 ToolErrorInfo, type ToolExecuteOptions, ToolManager, type ToolOptions, 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, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, 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, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, 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, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, safeJsonParse, serializeValueForDebug, tool, transformTextContent, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };
7640
+ export { A2AServerRegistry, AbortError, Agent, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnHandoff, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStatus, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, ClientHTTPError, type CloudflareFetchHandler, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateReasoningToolsOptions, 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 GenerateTextOptions, type GenerateTextSubAgentConfig, type GetMessagesOptions, 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 LLMProvider, LazyRemoteExportProcessor, 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 OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolStartHookArgs, type OperationContext, 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 ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type RetrieveOptions, type Retriever, type RetrieverOptions, 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, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, ToolManager, type ToolOptions, 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, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, 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, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, 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, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, safeJsonParse, serializeValueForDebug, tool, transformTextContent, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };