@voltagent/core 0.1.75 → 0.1.76
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 +41 -6
- package/dist/index.d.ts +41 -6
- package/dist/index.js +127 -53
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +125 -53
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1806,8 +1806,8 @@ interface OnEndHookArgs {
|
|
|
1806
1806
|
agent: Agent<any>;
|
|
1807
1807
|
/** The standardized successful output object. Undefined on error. */
|
|
1808
1808
|
output: AgentOperationOutput | undefined;
|
|
1809
|
-
/** The
|
|
1810
|
-
error: VoltAgentError | undefined;
|
|
1809
|
+
/** The error object if the operation failed. Can be either VoltAgentError or AbortError. Undefined on success. */
|
|
1810
|
+
error: VoltAgentError | AbortError | undefined;
|
|
1811
1811
|
/** The complete conversation messages including user input and assistant responses (Vercel AI SDK compatible) */
|
|
1812
1812
|
context: OperationContext;
|
|
1813
1813
|
}
|
|
@@ -1825,8 +1825,8 @@ interface OnToolEndHookArgs {
|
|
|
1825
1825
|
tool: AgentTool;
|
|
1826
1826
|
/** The successful output from the tool. Undefined on error. */
|
|
1827
1827
|
output: unknown | undefined;
|
|
1828
|
-
/** The
|
|
1829
|
-
error: VoltAgentError | undefined;
|
|
1828
|
+
/** The error if the tool execution failed. Can be either VoltAgentError or AbortError. Undefined on success. */
|
|
1829
|
+
error: VoltAgentError | AbortError | undefined;
|
|
1830
1830
|
context: OperationContext;
|
|
1831
1831
|
}
|
|
1832
1832
|
type AgentHookOnStart = (args: OnStartHookArgs) => Promise<void> | void;
|
|
@@ -2070,6 +2070,11 @@ interface CommonGenerateOptions {
|
|
|
2070
2070
|
contextLimit?: number;
|
|
2071
2071
|
tools?: BaseTool[];
|
|
2072
2072
|
maxSteps?: number;
|
|
2073
|
+
abortController?: AbortController;
|
|
2074
|
+
/**
|
|
2075
|
+
* @deprecated Use abortController instead. This field will be removed in a future version.
|
|
2076
|
+
* Signal for aborting the operation
|
|
2077
|
+
*/
|
|
2073
2078
|
signal?: AbortSignal;
|
|
2074
2079
|
historyEntryId?: string;
|
|
2075
2080
|
operationContext?: OperationContext;
|
|
@@ -2232,6 +2237,8 @@ type OperationContext = {
|
|
|
2232
2237
|
readonly operationId: string;
|
|
2233
2238
|
/** User-managed context map for this specific operation */
|
|
2234
2239
|
readonly userContext: Map<string | symbol, any>;
|
|
2240
|
+
/** System-managed context map for internal operation tracking */
|
|
2241
|
+
readonly systemContext: Map<string | symbol, any>;
|
|
2235
2242
|
/** The history entry associated with this operation */
|
|
2236
2243
|
historyEntry: AgentHistoryEntry;
|
|
2237
2244
|
/** Whether this operation is still active */
|
|
@@ -2248,8 +2255,15 @@ type OperationContext = {
|
|
|
2248
2255
|
toolSpans?: Map<string, Span>;
|
|
2249
2256
|
/** Conversation steps for building full message history including tool calls/results */
|
|
2250
2257
|
conversationSteps?: StepWithContent[];
|
|
2251
|
-
/**
|
|
2258
|
+
/** AbortController for cancelling the operation and accessing the signal */
|
|
2259
|
+
abortController?: AbortController;
|
|
2260
|
+
/**
|
|
2261
|
+
* @deprecated Use abortController.signal instead. This field will be removed in a future version.
|
|
2262
|
+
* AbortSignal for cancelling the operation
|
|
2263
|
+
*/
|
|
2252
2264
|
signal?: AbortSignal;
|
|
2265
|
+
/** Cancellation error to be thrown when operation is aborted */
|
|
2266
|
+
cancellationError?: AbortError;
|
|
2253
2267
|
};
|
|
2254
2268
|
/**
|
|
2255
2269
|
* Tool execution context passed to tool.execute method
|
|
@@ -2294,6 +2308,22 @@ interface VoltAgentError {
|
|
|
2294
2308
|
/** If the error occurred during tool execution, this field contains the relevant details. Otherwise, it's undefined. */
|
|
2295
2309
|
toolError?: ToolErrorInfo;
|
|
2296
2310
|
}
|
|
2311
|
+
/**
|
|
2312
|
+
* Error thrown when an operation is aborted via AbortController
|
|
2313
|
+
*/
|
|
2314
|
+
interface AbortError extends Error {
|
|
2315
|
+
name: "AbortError";
|
|
2316
|
+
/** The reason passed to abort() method */
|
|
2317
|
+
reason?: unknown;
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* Type guard to check if an error is an AbortError
|
|
2321
|
+
*/
|
|
2322
|
+
declare function isAbortError(error: unknown): error is AbortError;
|
|
2323
|
+
/**
|
|
2324
|
+
* Type guard to check if an error is a VoltAgentError
|
|
2325
|
+
*/
|
|
2326
|
+
declare function isVoltAgentError(error: unknown): error is VoltAgentError;
|
|
2297
2327
|
/**
|
|
2298
2328
|
* Type for onError callbacks in streaming operations.
|
|
2299
2329
|
* Providers must pass an error conforming to the VoltAgentError structure.
|
|
@@ -2684,6 +2714,11 @@ type BaseMessage = {
|
|
|
2684
2714
|
type ToolSchema = z.ZodType;
|
|
2685
2715
|
type ToolExecuteOptions = {
|
|
2686
2716
|
/**
|
|
2717
|
+
* Optional AbortController for cancelling the execution and accessing the signal
|
|
2718
|
+
*/
|
|
2719
|
+
abortController?: AbortController;
|
|
2720
|
+
/**
|
|
2721
|
+
* @deprecated Use abortController.signal instead. This field will be removed in a future version.
|
|
2687
2722
|
* Optional AbortSignal to abort the execution
|
|
2688
2723
|
*/
|
|
2689
2724
|
signal?: AbortSignal;
|
|
@@ -7352,4 +7387,4 @@ declare class VoltAgent {
|
|
|
7352
7387
|
shutdownTelemetry(): Promise<void>;
|
|
7353
7388
|
}
|
|
7354
7389
|
|
|
7355
|
-
export { Agent, type AgentErrorEvent, AgentEventEmitter, type AgentHistoryEntry, type AgentHookOnEnd, type AgentHookOnHandoff, type AgentHookOnStart, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStartEvent, type AgentStartEventMetadata, type AgentSuccessEvent, type AgentSuccessEventMetadata, type AgentTimelineEvent, type AgentTool, type AllowedVariableValue, type AnyToolConfig, type BaseEventMetadata, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTimelineEvent, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, type ClientInfo, type Conversation, type ConversationQueryOptions, type CreateConversationInput, type CreateReasoningToolsOptions, type CustomEndpointDefinition, CustomEndpointError, type CustomEndpointHandler, DEFAULT_INSTRUCTIONS, type DataContent, type DynamicValue, type DynamicValueOptions, type ErrorStreamPart, type EventStatus, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type FilePart, type FinishStreamPart, type GenerateObjectOptions, type GenerateTextOptions, type HTTPServerConfig, type HistoryStatus, type HttpMethod, type VoltOpsClient$1 as IVoltOpsClient, type ImagePart, InMemoryStorage, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type LLMProvider, LibSQLStorage, MCPClient, type MCPClientConfig, type MCPClientEvents, MCPConfiguration, type MCPOptions, type MCPServerConfig, type MCPToolCall, type MCPToolResult, type Memory, type MemoryEventMetadata, MemoryManager, type MemoryMessage, type MemoryOptions, type MemoryReadErrorEvent, type MemoryReadStartEvent, type MemoryReadSuccessEvent, type MemoryWriteErrorEvent, type MemoryWriteStartEvent, type MemoryWriteSuccessEvent, type MessageContent, type MessageFilterOptions, type MessageRole, type ModelToolCall, type NewTimelineEvent, NextAction, NodeType, type ObjectSubAgentConfig, type OnEndHookArgs, type OnHandoffHookArgs, type OnStartHookArgs, 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 ReasoningStreamPart, type ReasoningToolExecuteOptions, type RetrieveOptions, type Retriever, type RetrieverErrorEvent, type RetrieverOptions, type RetrieverStartEvent, type RetrieverSuccessEvent, type SSEServerConfig, type ServerOptions, type SourceStreamPart, type StandardEventData, type StandardTimelineEvent, type StdioServerConfig, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StreamEventForwarderOptions, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamableHTTPServerConfig, type SubAgentConfig, type SubAgentConfigObject, type SubAgentMethod, type TemplateVariables, type TextDeltaStreamPart, type TextPart, type TextSubAgentConfig, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolCallStreamPart, type ToolErrorEvent, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionContext, ToolManager, type ToolOptions, type ToolResultStreamPart, type ToolSchema, type ToolStartEvent, type ToolStatus, type ToolStatusInfo, type ToolSuccessEvent, type Toolkit, type ToolsetMap, type ToolsetWithTools, type TransportError, type Usage, type UsageInfo, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, type VoltAgentError, VoltAgentExporter, type VoltAgentExporterOptions, type VoltAgentOptions, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type Workflow, type WorkflowConfig, type WorkflowErrorEvent, type WorkflowEvent, WorkflowEventEmitter, type WorkflowEventMetadata, type WorkflowExecutionContext, type WorkflowHistoryEntry, WorkflowRegistry, type WorkflowStartEvent, type WorkflowStepContext, type WorkflowStepErrorEvent, type WorkflowStepEventMetadata, type WorkflowStepHistoryEntry, type WorkflowStepStartEvent, type WorkflowStepSuccessEvent, type WorkflowStepSuspendEvent, type WorkflowStepType, type WorkflowSuccessEvent, type WorkflowSuspendEvent, type WorkflowTimelineEvent, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, buildRetrieverLogMessage, checkForUpdates, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, createSimpleTemplateEngine, createStreamEventForwarder, createSubagent, createSuspendController, createTool, createToolkit, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractWorkflowStepInfo, getNodeTypeFromNodeId, getWorkflowStepNodeType, registerCustomEndpoint, registerCustomEndpoints, safeJsonParse, serializeValueForDebug, streamEventForwarder, tool, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };
|
|
7390
|
+
export { type AbortError, Agent, type AgentErrorEvent, AgentEventEmitter, type AgentHistoryEntry, type AgentHookOnEnd, type AgentHookOnHandoff, type AgentHookOnStart, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStartEvent, type AgentStartEventMetadata, type AgentSuccessEvent, type AgentSuccessEventMetadata, type AgentTimelineEvent, type AgentTool, type AllowedVariableValue, type AnyToolConfig, type BaseEventMetadata, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTimelineEvent, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, type ClientInfo, type Conversation, type ConversationQueryOptions, type CreateConversationInput, type CreateReasoningToolsOptions, type CustomEndpointDefinition, CustomEndpointError, type CustomEndpointHandler, DEFAULT_INSTRUCTIONS, type DataContent, type DynamicValue, type DynamicValueOptions, type ErrorStreamPart, type EventStatus, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type FilePart, type FinishStreamPart, type GenerateObjectOptions, type GenerateTextOptions, type HTTPServerConfig, type HistoryStatus, type HttpMethod, type VoltOpsClient$1 as IVoltOpsClient, type ImagePart, InMemoryStorage, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type LLMProvider, LibSQLStorage, MCPClient, type MCPClientConfig, type MCPClientEvents, MCPConfiguration, type MCPOptions, type MCPServerConfig, type MCPToolCall, type MCPToolResult, type Memory, type MemoryEventMetadata, MemoryManager, type MemoryMessage, type MemoryOptions, type MemoryReadErrorEvent, type MemoryReadStartEvent, type MemoryReadSuccessEvent, type MemoryWriteErrorEvent, type MemoryWriteStartEvent, type MemoryWriteSuccessEvent, type MessageContent, type MessageFilterOptions, type MessageRole, type ModelToolCall, type NewTimelineEvent, NextAction, NodeType, type ObjectSubAgentConfig, type OnEndHookArgs, type OnHandoffHookArgs, type OnStartHookArgs, 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 ReasoningStreamPart, type ReasoningToolExecuteOptions, type RetrieveOptions, type Retriever, type RetrieverErrorEvent, type RetrieverOptions, type RetrieverStartEvent, type RetrieverSuccessEvent, type SSEServerConfig, type ServerOptions, type SourceStreamPart, type StandardEventData, type StandardTimelineEvent, type StdioServerConfig, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StreamEventForwarderOptions, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamableHTTPServerConfig, type SubAgentConfig, type SubAgentConfigObject, type SubAgentMethod, type TemplateVariables, type TextDeltaStreamPart, type TextPart, type TextSubAgentConfig, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolCallStreamPart, type ToolErrorEvent, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionContext, ToolManager, type ToolOptions, type ToolResultStreamPart, type ToolSchema, type ToolStartEvent, type ToolStatus, type ToolStatusInfo, type ToolSuccessEvent, type Toolkit, type ToolsetMap, type ToolsetWithTools, type TransportError, type Usage, type UsageInfo, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, type VoltAgentError, VoltAgentExporter, type VoltAgentExporterOptions, type VoltAgentOptions, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type Workflow, type WorkflowConfig, type WorkflowErrorEvent, type WorkflowEvent, WorkflowEventEmitter, type WorkflowEventMetadata, type WorkflowExecutionContext, type WorkflowHistoryEntry, WorkflowRegistry, type WorkflowStartEvent, type WorkflowStepContext, type WorkflowStepErrorEvent, type WorkflowStepEventMetadata, type WorkflowStepHistoryEntry, type WorkflowStepStartEvent, type WorkflowStepSuccessEvent, type WorkflowStepSuspendEvent, type WorkflowStepType, type WorkflowSuccessEvent, type WorkflowSuspendEvent, type WorkflowTimelineEvent, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, buildRetrieverLogMessage, checkForUpdates, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, createSimpleTemplateEngine, createStreamEventForwarder, createSubagent, createSuspendController, createTool, createToolkit, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractWorkflowStepInfo, getNodeTypeFromNodeId, getWorkflowStepNodeType, isAbortError, isVoltAgentError, registerCustomEndpoint, registerCustomEndpoints, safeJsonParse, serializeValueForDebug, streamEventForwarder, tool, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };
|
package/dist/index.d.ts
CHANGED
|
@@ -1806,8 +1806,8 @@ interface OnEndHookArgs {
|
|
|
1806
1806
|
agent: Agent<any>;
|
|
1807
1807
|
/** The standardized successful output object. Undefined on error. */
|
|
1808
1808
|
output: AgentOperationOutput | undefined;
|
|
1809
|
-
/** The
|
|
1810
|
-
error: VoltAgentError | undefined;
|
|
1809
|
+
/** The error object if the operation failed. Can be either VoltAgentError or AbortError. Undefined on success. */
|
|
1810
|
+
error: VoltAgentError | AbortError | undefined;
|
|
1811
1811
|
/** The complete conversation messages including user input and assistant responses (Vercel AI SDK compatible) */
|
|
1812
1812
|
context: OperationContext;
|
|
1813
1813
|
}
|
|
@@ -1825,8 +1825,8 @@ interface OnToolEndHookArgs {
|
|
|
1825
1825
|
tool: AgentTool;
|
|
1826
1826
|
/** The successful output from the tool. Undefined on error. */
|
|
1827
1827
|
output: unknown | undefined;
|
|
1828
|
-
/** The
|
|
1829
|
-
error: VoltAgentError | undefined;
|
|
1828
|
+
/** The error if the tool execution failed. Can be either VoltAgentError or AbortError. Undefined on success. */
|
|
1829
|
+
error: VoltAgentError | AbortError | undefined;
|
|
1830
1830
|
context: OperationContext;
|
|
1831
1831
|
}
|
|
1832
1832
|
type AgentHookOnStart = (args: OnStartHookArgs) => Promise<void> | void;
|
|
@@ -2070,6 +2070,11 @@ interface CommonGenerateOptions {
|
|
|
2070
2070
|
contextLimit?: number;
|
|
2071
2071
|
tools?: BaseTool[];
|
|
2072
2072
|
maxSteps?: number;
|
|
2073
|
+
abortController?: AbortController;
|
|
2074
|
+
/**
|
|
2075
|
+
* @deprecated Use abortController instead. This field will be removed in a future version.
|
|
2076
|
+
* Signal for aborting the operation
|
|
2077
|
+
*/
|
|
2073
2078
|
signal?: AbortSignal;
|
|
2074
2079
|
historyEntryId?: string;
|
|
2075
2080
|
operationContext?: OperationContext;
|
|
@@ -2232,6 +2237,8 @@ type OperationContext = {
|
|
|
2232
2237
|
readonly operationId: string;
|
|
2233
2238
|
/** User-managed context map for this specific operation */
|
|
2234
2239
|
readonly userContext: Map<string | symbol, any>;
|
|
2240
|
+
/** System-managed context map for internal operation tracking */
|
|
2241
|
+
readonly systemContext: Map<string | symbol, any>;
|
|
2235
2242
|
/** The history entry associated with this operation */
|
|
2236
2243
|
historyEntry: AgentHistoryEntry;
|
|
2237
2244
|
/** Whether this operation is still active */
|
|
@@ -2248,8 +2255,15 @@ type OperationContext = {
|
|
|
2248
2255
|
toolSpans?: Map<string, Span>;
|
|
2249
2256
|
/** Conversation steps for building full message history including tool calls/results */
|
|
2250
2257
|
conversationSteps?: StepWithContent[];
|
|
2251
|
-
/**
|
|
2258
|
+
/** AbortController for cancelling the operation and accessing the signal */
|
|
2259
|
+
abortController?: AbortController;
|
|
2260
|
+
/**
|
|
2261
|
+
* @deprecated Use abortController.signal instead. This field will be removed in a future version.
|
|
2262
|
+
* AbortSignal for cancelling the operation
|
|
2263
|
+
*/
|
|
2252
2264
|
signal?: AbortSignal;
|
|
2265
|
+
/** Cancellation error to be thrown when operation is aborted */
|
|
2266
|
+
cancellationError?: AbortError;
|
|
2253
2267
|
};
|
|
2254
2268
|
/**
|
|
2255
2269
|
* Tool execution context passed to tool.execute method
|
|
@@ -2294,6 +2308,22 @@ interface VoltAgentError {
|
|
|
2294
2308
|
/** If the error occurred during tool execution, this field contains the relevant details. Otherwise, it's undefined. */
|
|
2295
2309
|
toolError?: ToolErrorInfo;
|
|
2296
2310
|
}
|
|
2311
|
+
/**
|
|
2312
|
+
* Error thrown when an operation is aborted via AbortController
|
|
2313
|
+
*/
|
|
2314
|
+
interface AbortError extends Error {
|
|
2315
|
+
name: "AbortError";
|
|
2316
|
+
/** The reason passed to abort() method */
|
|
2317
|
+
reason?: unknown;
|
|
2318
|
+
}
|
|
2319
|
+
/**
|
|
2320
|
+
* Type guard to check if an error is an AbortError
|
|
2321
|
+
*/
|
|
2322
|
+
declare function isAbortError(error: unknown): error is AbortError;
|
|
2323
|
+
/**
|
|
2324
|
+
* Type guard to check if an error is a VoltAgentError
|
|
2325
|
+
*/
|
|
2326
|
+
declare function isVoltAgentError(error: unknown): error is VoltAgentError;
|
|
2297
2327
|
/**
|
|
2298
2328
|
* Type for onError callbacks in streaming operations.
|
|
2299
2329
|
* Providers must pass an error conforming to the VoltAgentError structure.
|
|
@@ -2684,6 +2714,11 @@ type BaseMessage = {
|
|
|
2684
2714
|
type ToolSchema = z.ZodType;
|
|
2685
2715
|
type ToolExecuteOptions = {
|
|
2686
2716
|
/**
|
|
2717
|
+
* Optional AbortController for cancelling the execution and accessing the signal
|
|
2718
|
+
*/
|
|
2719
|
+
abortController?: AbortController;
|
|
2720
|
+
/**
|
|
2721
|
+
* @deprecated Use abortController.signal instead. This field will be removed in a future version.
|
|
2687
2722
|
* Optional AbortSignal to abort the execution
|
|
2688
2723
|
*/
|
|
2689
2724
|
signal?: AbortSignal;
|
|
@@ -7352,4 +7387,4 @@ declare class VoltAgent {
|
|
|
7352
7387
|
shutdownTelemetry(): Promise<void>;
|
|
7353
7388
|
}
|
|
7354
7389
|
|
|
7355
|
-
export { Agent, type AgentErrorEvent, AgentEventEmitter, type AgentHistoryEntry, type AgentHookOnEnd, type AgentHookOnHandoff, type AgentHookOnStart, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStartEvent, type AgentStartEventMetadata, type AgentSuccessEvent, type AgentSuccessEventMetadata, type AgentTimelineEvent, type AgentTool, type AllowedVariableValue, type AnyToolConfig, type BaseEventMetadata, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTimelineEvent, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, type ClientInfo, type Conversation, type ConversationQueryOptions, type CreateConversationInput, type CreateReasoningToolsOptions, type CustomEndpointDefinition, CustomEndpointError, type CustomEndpointHandler, DEFAULT_INSTRUCTIONS, type DataContent, type DynamicValue, type DynamicValueOptions, type ErrorStreamPart, type EventStatus, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type FilePart, type FinishStreamPart, type GenerateObjectOptions, type GenerateTextOptions, type HTTPServerConfig, type HistoryStatus, type HttpMethod, type VoltOpsClient$1 as IVoltOpsClient, type ImagePart, InMemoryStorage, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type LLMProvider, LibSQLStorage, MCPClient, type MCPClientConfig, type MCPClientEvents, MCPConfiguration, type MCPOptions, type MCPServerConfig, type MCPToolCall, type MCPToolResult, type Memory, type MemoryEventMetadata, MemoryManager, type MemoryMessage, type MemoryOptions, type MemoryReadErrorEvent, type MemoryReadStartEvent, type MemoryReadSuccessEvent, type MemoryWriteErrorEvent, type MemoryWriteStartEvent, type MemoryWriteSuccessEvent, type MessageContent, type MessageFilterOptions, type MessageRole, type ModelToolCall, type NewTimelineEvent, NextAction, NodeType, type ObjectSubAgentConfig, type OnEndHookArgs, type OnHandoffHookArgs, type OnStartHookArgs, 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 ReasoningStreamPart, type ReasoningToolExecuteOptions, type RetrieveOptions, type Retriever, type RetrieverErrorEvent, type RetrieverOptions, type RetrieverStartEvent, type RetrieverSuccessEvent, type SSEServerConfig, type ServerOptions, type SourceStreamPart, type StandardEventData, type StandardTimelineEvent, type StdioServerConfig, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StreamEventForwarderOptions, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamableHTTPServerConfig, type SubAgentConfig, type SubAgentConfigObject, type SubAgentMethod, type TemplateVariables, type TextDeltaStreamPart, type TextPart, type TextSubAgentConfig, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolCallStreamPart, type ToolErrorEvent, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionContext, ToolManager, type ToolOptions, type ToolResultStreamPart, type ToolSchema, type ToolStartEvent, type ToolStatus, type ToolStatusInfo, type ToolSuccessEvent, type Toolkit, type ToolsetMap, type ToolsetWithTools, type TransportError, type Usage, type UsageInfo, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, type VoltAgentError, VoltAgentExporter, type VoltAgentExporterOptions, type VoltAgentOptions, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type Workflow, type WorkflowConfig, type WorkflowErrorEvent, type WorkflowEvent, WorkflowEventEmitter, type WorkflowEventMetadata, type WorkflowExecutionContext, type WorkflowHistoryEntry, WorkflowRegistry, type WorkflowStartEvent, type WorkflowStepContext, type WorkflowStepErrorEvent, type WorkflowStepEventMetadata, type WorkflowStepHistoryEntry, type WorkflowStepStartEvent, type WorkflowStepSuccessEvent, type WorkflowStepSuspendEvent, type WorkflowStepType, type WorkflowSuccessEvent, type WorkflowSuspendEvent, type WorkflowTimelineEvent, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, buildRetrieverLogMessage, checkForUpdates, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, createSimpleTemplateEngine, createStreamEventForwarder, createSubagent, createSuspendController, createTool, createToolkit, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractWorkflowStepInfo, getNodeTypeFromNodeId, getWorkflowStepNodeType, registerCustomEndpoint, registerCustomEndpoints, safeJsonParse, serializeValueForDebug, streamEventForwarder, tool, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };
|
|
7390
|
+
export { type AbortError, Agent, type AgentErrorEvent, AgentEventEmitter, type AgentHistoryEntry, type AgentHookOnEnd, type AgentHookOnHandoff, type AgentHookOnStart, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentOptions, AgentRegistry, type AgentResponse, type AgentStartEvent, type AgentStartEventMetadata, type AgentSuccessEvent, type AgentSuccessEventMetadata, type AgentTimelineEvent, type AgentTool, type AllowedVariableValue, type AnyToolConfig, type BaseEventMetadata, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTimelineEvent, type BaseTool, type BaseToolCall, type CachedPrompt, type ChatMessage, type ClientInfo, type Conversation, type ConversationQueryOptions, type CreateConversationInput, type CreateReasoningToolsOptions, type CustomEndpointDefinition, CustomEndpointError, type CustomEndpointHandler, DEFAULT_INSTRUCTIONS, type DataContent, type DynamicValue, type DynamicValueOptions, type ErrorStreamPart, type EventStatus, type ExtractVariableNames, FEW_SHOT_EXAMPLES, type FilePart, type FinishStreamPart, type GenerateObjectOptions, type GenerateTextOptions, type HTTPServerConfig, type HistoryStatus, type HttpMethod, type VoltOpsClient$1 as IVoltOpsClient, type ImagePart, InMemoryStorage, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type LLMProvider, LibSQLStorage, MCPClient, type MCPClientConfig, type MCPClientEvents, MCPConfiguration, type MCPOptions, type MCPServerConfig, type MCPToolCall, type MCPToolResult, type Memory, type MemoryEventMetadata, MemoryManager, type MemoryMessage, type MemoryOptions, type MemoryReadErrorEvent, type MemoryReadStartEvent, type MemoryReadSuccessEvent, type MemoryWriteErrorEvent, type MemoryWriteStartEvent, type MemoryWriteSuccessEvent, type MessageContent, type MessageFilterOptions, type MessageRole, type ModelToolCall, type NewTimelineEvent, NextAction, NodeType, type ObjectSubAgentConfig, type OnEndHookArgs, type OnHandoffHookArgs, type OnStartHookArgs, 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 ReasoningStreamPart, type ReasoningToolExecuteOptions, type RetrieveOptions, type Retriever, type RetrieverErrorEvent, type RetrieverOptions, type RetrieverStartEvent, type RetrieverSuccessEvent, type SSEServerConfig, type ServerOptions, type SourceStreamPart, type StandardEventData, type StandardTimelineEvent, type StdioServerConfig, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StreamEventForwarderOptions, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamableHTTPServerConfig, type SubAgentConfig, type SubAgentConfigObject, type SubAgentMethod, type TemplateVariables, type TextDeltaStreamPart, type TextPart, type TextSubAgentConfig, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, Tool, type ToolCall, type ToolCallStreamPart, type ToolErrorEvent, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionContext, ToolManager, type ToolOptions, type ToolResultStreamPart, type ToolSchema, type ToolStartEvent, type ToolStatus, type ToolStatusInfo, type ToolSuccessEvent, type Toolkit, type ToolsetMap, type ToolsetWithTools, type TransportError, type Usage, type UsageInfo, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, type VoltAgentError, VoltAgentExporter, type VoltAgentExporterOptions, type VoltAgentOptions, VoltOpsClient, type VoltOpsClientOptions, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type Workflow, type WorkflowConfig, type WorkflowErrorEvent, type WorkflowEvent, WorkflowEventEmitter, type WorkflowEventMetadata, type WorkflowExecutionContext, type WorkflowHistoryEntry, WorkflowRegistry, type WorkflowStartEvent, type WorkflowStepContext, type WorkflowStepErrorEvent, type WorkflowStepEventMetadata, type WorkflowStepHistoryEntry, type WorkflowStepStartEvent, type WorkflowStepSuccessEvent, type WorkflowStepSuspendEvent, type WorkflowStepType, type WorkflowSuccessEvent, type WorkflowSuspendEvent, type WorkflowTimelineEvent, andAgent, andAll, andRace, andTap, andThen, andWhen, andWorkflow, buildRetrieverLogMessage, checkForUpdates, createHooks, createNodeId, createPrompt, createReasoningTools, createRetrieverTool, createSimpleTemplateEngine, createStreamEventForwarder, createSubagent, createSuspendController, createTool, createToolkit, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, extractWorkflowStepInfo, getNodeTypeFromNodeId, getWorkflowStepNodeType, isAbortError, isVoltAgentError, registerCustomEndpoint, registerCustomEndpoints, safeJsonParse, serializeValueForDebug, streamEventForwarder, tool, updateAllPackages, updateSinglePackage, zodSchemaToJsonUI };
|