@voltagent/core 1.2.21 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +342 -9
- package/dist/index.d.ts +342 -9
- package/dist/index.js +313 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +311 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -16,7 +16,7 @@ import { DangerouslyAllowAny, PlainObject } from '@voltagent/internal/types';
|
|
|
16
16
|
import * as TF from 'type-fest';
|
|
17
17
|
import { A2AServerLike, A2AServerDeps, A2AServerMetadata, A2AServerFactory } from '@voltagent/internal/a2a';
|
|
18
18
|
import { MCPServerLike, MCPServerDeps, MCPServerMetadata, MCPServerFactory } from '@voltagent/internal/mcp';
|
|
19
|
-
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
19
|
+
import { ElicitRequest, ElicitResult, ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Represents a collection of related tools with optional shared instructions.
|
|
@@ -8407,6 +8407,235 @@ declare class MCPServerRegistry<TServer extends MCPServerLike = MCPServerLike> {
|
|
|
8407
8407
|
private createAnonymousSlug;
|
|
8408
8408
|
}
|
|
8409
8409
|
|
|
8410
|
+
/**
|
|
8411
|
+
* The action being authorized.
|
|
8412
|
+
* - "discovery": Tool is being listed/discovered (getTools/getToolsets)
|
|
8413
|
+
* - "execution": Tool is being executed (callTool)
|
|
8414
|
+
*/
|
|
8415
|
+
type MCPAuthorizationAction = "discovery" | "execution";
|
|
8416
|
+
/**
|
|
8417
|
+
* Minimal context for tool discovery authorization.
|
|
8418
|
+
* Used when full OperationContext is not available (e.g., during getTools).
|
|
8419
|
+
*/
|
|
8420
|
+
interface MCPAuthorizationContext {
|
|
8421
|
+
/** User identifier */
|
|
8422
|
+
userId?: string;
|
|
8423
|
+
/** User-defined context map (same as OperationContext.context) */
|
|
8424
|
+
context?: Map<string | symbol, unknown> | Record<string, unknown>;
|
|
8425
|
+
}
|
|
8426
|
+
/**
|
|
8427
|
+
* Parameters passed to the `can` authorization function.
|
|
8428
|
+
*/
|
|
8429
|
+
interface MCPCanParams {
|
|
8430
|
+
/** Tool name (without server prefix) */
|
|
8431
|
+
toolName: string;
|
|
8432
|
+
/** Server/resource identifier */
|
|
8433
|
+
serverName: string;
|
|
8434
|
+
/** The action being authorized: "discovery" or "execution" */
|
|
8435
|
+
action: MCPAuthorizationAction;
|
|
8436
|
+
/** Tool arguments (for attribute-based access control) */
|
|
8437
|
+
arguments?: Record<string, unknown>;
|
|
8438
|
+
/** User identifier */
|
|
8439
|
+
userId?: string;
|
|
8440
|
+
/** User-defined context (from authContext or OperationContext) */
|
|
8441
|
+
context?: Map<string | symbol, unknown>;
|
|
8442
|
+
}
|
|
8443
|
+
/**
|
|
8444
|
+
* Result from the `can` authorization function.
|
|
8445
|
+
* Can be a simple boolean or an object with reason.
|
|
8446
|
+
*/
|
|
8447
|
+
type MCPCanResult = boolean | {
|
|
8448
|
+
allowed: boolean;
|
|
8449
|
+
reason?: string;
|
|
8450
|
+
};
|
|
8451
|
+
/**
|
|
8452
|
+
* Simple authorization function type.
|
|
8453
|
+
* Return true/false or { allowed: boolean, reason?: string }
|
|
8454
|
+
*
|
|
8455
|
+
* @example
|
|
8456
|
+
* ```typescript
|
|
8457
|
+
* const can: MCPCanFunction = async ({ toolName, action, userId, context }) => {
|
|
8458
|
+
* const roles = context?.get("roles") as string[] ?? [];
|
|
8459
|
+
* // action is "discovery" or "execution"
|
|
8460
|
+
* if (toolName === "delete_item" && !roles.includes("admin")) {
|
|
8461
|
+
* return { allowed: false, reason: "Only admins can delete" };
|
|
8462
|
+
* }
|
|
8463
|
+
* return true;
|
|
8464
|
+
* };
|
|
8465
|
+
* ```
|
|
8466
|
+
*/
|
|
8467
|
+
type MCPCanFunction = (params: MCPCanParams) => Promise<MCPCanResult> | MCPCanResult;
|
|
8468
|
+
/**
|
|
8469
|
+
* Authorization configuration for MCPConfiguration.
|
|
8470
|
+
*
|
|
8471
|
+
* @example
|
|
8472
|
+
* ```typescript
|
|
8473
|
+
* const mcp = new MCPConfiguration({
|
|
8474
|
+
* servers: { myServer: { type: "http", url: "..." } },
|
|
8475
|
+
* authorization: {
|
|
8476
|
+
* can: async ({ toolName, action, userId, context }) => {
|
|
8477
|
+
* const roles = context?.get("roles") as string[] ?? [];
|
|
8478
|
+
* // action is "discovery" or "execution"
|
|
8479
|
+
* if (toolName === "admin_tool" && !roles.includes("admin")) {
|
|
8480
|
+
* return { allowed: false, reason: "Admin only" };
|
|
8481
|
+
* }
|
|
8482
|
+
* return true;
|
|
8483
|
+
* },
|
|
8484
|
+
* filterOnDiscovery: true,
|
|
8485
|
+
* },
|
|
8486
|
+
* });
|
|
8487
|
+
* ```
|
|
8488
|
+
*/
|
|
8489
|
+
interface MCPAuthorizationConfig {
|
|
8490
|
+
/**
|
|
8491
|
+
* Authorization function to check if a tool can be accessed.
|
|
8492
|
+
* Called for both discovery and execution based on config options.
|
|
8493
|
+
*/
|
|
8494
|
+
can: MCPCanFunction;
|
|
8495
|
+
/**
|
|
8496
|
+
* Whether to filter tools on discovery (getTools/getToolsets).
|
|
8497
|
+
* When true, unauthorized tools are hidden from the tool list.
|
|
8498
|
+
* @default false
|
|
8499
|
+
*/
|
|
8500
|
+
filterOnDiscovery?: boolean;
|
|
8501
|
+
/**
|
|
8502
|
+
* Whether to check authorization on execution (callTool).
|
|
8503
|
+
* When true, each tool call is verified before execution.
|
|
8504
|
+
* @default true
|
|
8505
|
+
*/
|
|
8506
|
+
checkOnExecution?: boolean;
|
|
8507
|
+
}
|
|
8508
|
+
|
|
8509
|
+
/**
|
|
8510
|
+
* Error thrown when MCP tool authorization is denied.
|
|
8511
|
+
*/
|
|
8512
|
+
declare class MCPAuthorizationError extends Error {
|
|
8513
|
+
readonly toolName: string;
|
|
8514
|
+
readonly serverName: string;
|
|
8515
|
+
readonly reason?: string;
|
|
8516
|
+
constructor(toolName: string, serverName: string, reason?: string);
|
|
8517
|
+
}
|
|
8518
|
+
|
|
8519
|
+
/**
|
|
8520
|
+
* Handler function for processing user input requests from MCP servers.
|
|
8521
|
+
* Called when the server needs additional information during tool execution.
|
|
8522
|
+
*/
|
|
8523
|
+
type UserInputHandler = (request: ElicitRequest["params"]) => Promise<ElicitResult>;
|
|
8524
|
+
/**
|
|
8525
|
+
* Internal callback type for notifying MCPClient when handler changes.
|
|
8526
|
+
* @internal
|
|
8527
|
+
*/
|
|
8528
|
+
type HandlerChangeCallback = (handler: UserInputHandler | undefined) => void;
|
|
8529
|
+
/**
|
|
8530
|
+
* Bridge for handling user input requests from MCP servers.
|
|
8531
|
+
*
|
|
8532
|
+
* Provides a fluent API for registering handlers that process elicitation
|
|
8533
|
+
* requests during tool execution. Handlers can be set permanently, used
|
|
8534
|
+
* once, or removed dynamically at runtime.
|
|
8535
|
+
*
|
|
8536
|
+
* @example
|
|
8537
|
+
* ```typescript
|
|
8538
|
+
* // Set a permanent handler
|
|
8539
|
+
* mcpClient.elicitation.setHandler(async (request) => {
|
|
8540
|
+
* const confirmed = await askUser(request.message);
|
|
8541
|
+
* return {
|
|
8542
|
+
* action: confirmed ? "accept" : "decline",
|
|
8543
|
+
* content: confirmed ? { confirmed: true } : undefined,
|
|
8544
|
+
* };
|
|
8545
|
+
* });
|
|
8546
|
+
*
|
|
8547
|
+
* // Set a one-time handler
|
|
8548
|
+
* mcpClient.elicitation.once(async (request) => {
|
|
8549
|
+
* return { action: "accept", content: { approved: true } };
|
|
8550
|
+
* });
|
|
8551
|
+
*
|
|
8552
|
+
* // Remove the handler
|
|
8553
|
+
* mcpClient.elicitation.removeHandler();
|
|
8554
|
+
* ```
|
|
8555
|
+
*/
|
|
8556
|
+
declare class UserInputBridge {
|
|
8557
|
+
private handler;
|
|
8558
|
+
private readonly logger;
|
|
8559
|
+
private readonly onHandlerChange;
|
|
8560
|
+
/**
|
|
8561
|
+
* @internal
|
|
8562
|
+
*/
|
|
8563
|
+
constructor(logger: Logger, onHandlerChange: HandlerChangeCallback);
|
|
8564
|
+
/**
|
|
8565
|
+
* Whether a handler is currently registered.
|
|
8566
|
+
*/
|
|
8567
|
+
get hasHandler(): boolean;
|
|
8568
|
+
/**
|
|
8569
|
+
* Gets the current handler.
|
|
8570
|
+
*
|
|
8571
|
+
* @internal
|
|
8572
|
+
* @returns The current handler or undefined if none is set
|
|
8573
|
+
*/
|
|
8574
|
+
getHandler(): UserInputHandler | undefined;
|
|
8575
|
+
/**
|
|
8576
|
+
* Registers a handler for processing user input requests.
|
|
8577
|
+
*
|
|
8578
|
+
* The handler will be called each time the MCP server requests
|
|
8579
|
+
* additional information during tool execution.
|
|
8580
|
+
*
|
|
8581
|
+
* @param handler - Function to process user input requests
|
|
8582
|
+
* @returns This bridge instance for chaining
|
|
8583
|
+
*
|
|
8584
|
+
* @example
|
|
8585
|
+
* ```typescript
|
|
8586
|
+
* mcpClient.elicitation.setHandler(async (request) => {
|
|
8587
|
+
* console.log("Server asks:", request.message);
|
|
8588
|
+
* const userInput = await promptUser(request.requestedSchema);
|
|
8589
|
+
* return { action: "accept", content: userInput };
|
|
8590
|
+
* });
|
|
8591
|
+
* ```
|
|
8592
|
+
*/
|
|
8593
|
+
setHandler(handler: UserInputHandler): this;
|
|
8594
|
+
/**
|
|
8595
|
+
* Registers a one-time handler that automatically removes itself after use.
|
|
8596
|
+
*
|
|
8597
|
+
* Useful for handling a single expected user input request without
|
|
8598
|
+
* leaving a permanent handler in place.
|
|
8599
|
+
*
|
|
8600
|
+
* @param handler - Function to process the next user input request
|
|
8601
|
+
* @returns This bridge instance for chaining
|
|
8602
|
+
*
|
|
8603
|
+
* @example
|
|
8604
|
+
* ```typescript
|
|
8605
|
+
* // Handle only the next elicitation request
|
|
8606
|
+
* mcpClient.elicitation.once(async (request) => {
|
|
8607
|
+
* return { action: "accept", content: { confirmed: true } };
|
|
8608
|
+
* });
|
|
8609
|
+
* ```
|
|
8610
|
+
*/
|
|
8611
|
+
once(handler: UserInputHandler): this;
|
|
8612
|
+
/**
|
|
8613
|
+
* Removes the current handler.
|
|
8614
|
+
*
|
|
8615
|
+
* After calling this, user input requests from the server will
|
|
8616
|
+
* be automatically cancelled until a new handler is set.
|
|
8617
|
+
*
|
|
8618
|
+
* @returns This bridge instance for chaining
|
|
8619
|
+
*/
|
|
8620
|
+
removeHandler(): this;
|
|
8621
|
+
/**
|
|
8622
|
+
* Processes a user input request using the registered handler.
|
|
8623
|
+
*
|
|
8624
|
+
* @internal
|
|
8625
|
+
* @param request - The elicitation request from the server
|
|
8626
|
+
* @returns The user's response or a cancel action if no handler
|
|
8627
|
+
*/
|
|
8628
|
+
processRequest(request: ElicitRequest["params"]): Promise<ElicitResult>;
|
|
8629
|
+
}
|
|
8630
|
+
|
|
8631
|
+
/**
|
|
8632
|
+
* Handler for elicitation requests from the MCP server.
|
|
8633
|
+
* Called when the server needs user input during tool execution.
|
|
8634
|
+
*
|
|
8635
|
+
* @deprecated Use `UserInputHandler` from `UserInputBridge` instead for dynamic handler registration.
|
|
8636
|
+
*/
|
|
8637
|
+
type MCPElicitationHandler = (request: ElicitRequest["params"]) => Promise<ElicitResult>;
|
|
8638
|
+
|
|
8410
8639
|
/**
|
|
8411
8640
|
* Client information for MCP
|
|
8412
8641
|
*/
|
|
@@ -8458,6 +8687,35 @@ type MCPClientConfig = {
|
|
|
8458
8687
|
* @default 30000
|
|
8459
8688
|
*/
|
|
8460
8689
|
timeout?: number;
|
|
8690
|
+
/**
|
|
8691
|
+
* Elicitation handler for receiving user input requests from the MCP server.
|
|
8692
|
+
* When the server needs additional information during tool execution,
|
|
8693
|
+
* this handler will be called with the request details.
|
|
8694
|
+
*
|
|
8695
|
+
* @example
|
|
8696
|
+
* ```typescript
|
|
8697
|
+
* const mcpClient = new MCPClient({
|
|
8698
|
+
* clientInfo: { name: "my-client", version: "1.0.0" },
|
|
8699
|
+
* server: { type: "stdio", command: "my-mcp-server" },
|
|
8700
|
+
* elicitation: {
|
|
8701
|
+
* onRequest: async (request) => {
|
|
8702
|
+
* const confirmed = await askUserForConfirmation(request.message);
|
|
8703
|
+
* return {
|
|
8704
|
+
* action: confirmed ? "accept" : "decline",
|
|
8705
|
+
* content: confirmed ? { confirmed: true } : undefined,
|
|
8706
|
+
* };
|
|
8707
|
+
* },
|
|
8708
|
+
* },
|
|
8709
|
+
* });
|
|
8710
|
+
* ```
|
|
8711
|
+
*/
|
|
8712
|
+
elicitation?: {
|
|
8713
|
+
/**
|
|
8714
|
+
* Handler called when the MCP server requests user input.
|
|
8715
|
+
* Must return an ElicitResult with action: "accept", "decline", or "cancel".
|
|
8716
|
+
*/
|
|
8717
|
+
onRequest: MCPElicitationHandler;
|
|
8718
|
+
};
|
|
8461
8719
|
};
|
|
8462
8720
|
/**
|
|
8463
8721
|
* MCP server configuration options
|
|
@@ -8628,6 +8886,40 @@ type ToolsetWithTools = Record<string, AnyToolConfig> & {
|
|
|
8628
8886
|
* Any tool configuration
|
|
8629
8887
|
*/
|
|
8630
8888
|
type AnyToolConfig = Tool<any>;
|
|
8889
|
+
/**
|
|
8890
|
+
* Options for MCPConfiguration constructor.
|
|
8891
|
+
*/
|
|
8892
|
+
interface MCPConfigurationOptions<TServerKeys extends string = string> {
|
|
8893
|
+
/**
|
|
8894
|
+
* Map of server configurations keyed by server names.
|
|
8895
|
+
*/
|
|
8896
|
+
servers: Record<TServerKeys, MCPServerConfig>;
|
|
8897
|
+
/**
|
|
8898
|
+
* Optional authorization configuration for tool access control.
|
|
8899
|
+
*/
|
|
8900
|
+
authorization?: MCPAuthorizationConfig;
|
|
8901
|
+
}
|
|
8902
|
+
/**
|
|
8903
|
+
* Options for MCPClient.callTool method with authorization support.
|
|
8904
|
+
*/
|
|
8905
|
+
interface MCPClientCallOptions {
|
|
8906
|
+
/**
|
|
8907
|
+
* Full operation context for authorization (from agent execution).
|
|
8908
|
+
*/
|
|
8909
|
+
operationContext?: OperationContext;
|
|
8910
|
+
/**
|
|
8911
|
+
* Authorization function.
|
|
8912
|
+
*/
|
|
8913
|
+
canFunction?: MCPCanFunction;
|
|
8914
|
+
/**
|
|
8915
|
+
* Authorization config settings.
|
|
8916
|
+
*/
|
|
8917
|
+
authorizationConfig?: MCPAuthorizationConfig;
|
|
8918
|
+
/**
|
|
8919
|
+
* Server name for authorization context.
|
|
8920
|
+
*/
|
|
8921
|
+
serverName?: string;
|
|
8922
|
+
}
|
|
8631
8923
|
|
|
8632
8924
|
/**
|
|
8633
8925
|
* Client for interacting with Model Context Protocol (MCP) servers.
|
|
@@ -8671,6 +8963,19 @@ declare class MCPClient extends SimpleEventEmitter {
|
|
|
8671
8963
|
* Client capabilities for re-initialization.
|
|
8672
8964
|
*/
|
|
8673
8965
|
private readonly capabilities;
|
|
8966
|
+
/**
|
|
8967
|
+
* Bridge for handling user input requests from the server.
|
|
8968
|
+
* Provides methods to dynamically register and manage input handlers.
|
|
8969
|
+
*
|
|
8970
|
+
* @example
|
|
8971
|
+
* ```typescript
|
|
8972
|
+
* mcpClient.elicitation.setHandler(async (request) => {
|
|
8973
|
+
* const confirmed = await askUser(request.message);
|
|
8974
|
+
* return { action: confirmed ? "accept" : "decline" };
|
|
8975
|
+
* });
|
|
8976
|
+
* ```
|
|
8977
|
+
*/
|
|
8978
|
+
readonly elicitation: UserInputBridge;
|
|
8674
8979
|
/**
|
|
8675
8980
|
* Get server info for logging
|
|
8676
8981
|
*/
|
|
@@ -8684,6 +8989,17 @@ declare class MCPClient extends SimpleEventEmitter {
|
|
|
8684
8989
|
* Sets up handlers for events from the underlying SDK client.
|
|
8685
8990
|
*/
|
|
8686
8991
|
private setupEventHandlers;
|
|
8992
|
+
/**
|
|
8993
|
+
* Registers the elicitation request handler with the MCP SDK client.
|
|
8994
|
+
* Delegates to UserInputBridge for actual handling.
|
|
8995
|
+
*/
|
|
8996
|
+
private registerElicitationHandler;
|
|
8997
|
+
/**
|
|
8998
|
+
* Callback invoked when the elicitation handler changes.
|
|
8999
|
+
* Currently a no-op since we always delegate to UserInputBridge.
|
|
9000
|
+
* @internal
|
|
9001
|
+
*/
|
|
9002
|
+
private updateElicitationHandler;
|
|
8687
9003
|
/**
|
|
8688
9004
|
* Establishes a connection to the configured MCP server.
|
|
8689
9005
|
* Idempotent: does nothing if already connected.
|
|
@@ -8707,15 +9023,17 @@ declare class MCPClient extends SimpleEventEmitter {
|
|
|
8707
9023
|
/**
|
|
8708
9024
|
* Builds executable Tool objects from the server's tool definitions.
|
|
8709
9025
|
* These tools include an `execute` method for calling the remote tool.
|
|
9026
|
+
* @param options - Optional call options including authorization context.
|
|
8710
9027
|
* @returns A record mapping namespaced tool names (`clientName_toolName`) to executable Tool objects.
|
|
8711
9028
|
*/
|
|
8712
|
-
getAgentTools(): Promise<Record<string, Tool<any>>>;
|
|
9029
|
+
getAgentTools(options?: MCPClientCallOptions): Promise<Record<string, Tool<any>>>;
|
|
8713
9030
|
/**
|
|
8714
9031
|
* Executes a specified tool on the remote MCP server.
|
|
8715
9032
|
* @param toolCall Details of the tool to call, including name and arguments.
|
|
9033
|
+
* @param options Optional call options including authorization context.
|
|
8716
9034
|
* @returns The result content returned by the tool.
|
|
8717
9035
|
*/
|
|
8718
|
-
callTool(toolCall: MCPToolCall): Promise<MCPToolResult>;
|
|
9036
|
+
callTool(toolCall: MCPToolCall, options?: MCPClientCallOptions): Promise<MCPToolResult>;
|
|
8719
9037
|
/**
|
|
8720
9038
|
* Retrieves a list of resource identifiers available on the server.
|
|
8721
9039
|
* @returns A promise resolving to an array of resource ID strings.
|
|
@@ -8782,13 +9100,15 @@ declare class MCPConfiguration<TServerKeys extends string = string> {
|
|
|
8782
9100
|
* Map of connected MCP clients keyed by server names (local cache).
|
|
8783
9101
|
*/
|
|
8784
9102
|
private readonly mcpClientsById;
|
|
9103
|
+
/**
|
|
9104
|
+
* Authorization configuration for tool access control.
|
|
9105
|
+
*/
|
|
9106
|
+
private readonly authorizationConfig?;
|
|
8785
9107
|
/**
|
|
8786
9108
|
* Creates a new, independent MCP configuration instance.
|
|
8787
|
-
* @param options Configuration options including server definitions.
|
|
9109
|
+
* @param options Configuration options including server definitions and optional authorization.
|
|
8788
9110
|
*/
|
|
8789
|
-
constructor(options:
|
|
8790
|
-
servers: Record<TServerKeys, MCPServerConfig>;
|
|
8791
|
-
});
|
|
9111
|
+
constructor(options: MCPConfigurationOptions<TServerKeys>);
|
|
8792
9112
|
/**
|
|
8793
9113
|
* Type guard to check if an object conforms to the basic structure of AnyToolConfig.
|
|
8794
9114
|
*/
|
|
@@ -8799,9 +9119,22 @@ declare class MCPConfiguration<TServerKeys extends string = string> {
|
|
|
8799
9119
|
disconnect(): Promise<void>;
|
|
8800
9120
|
/**
|
|
8801
9121
|
* Retrieves agent-ready tools from all configured MCP servers for this instance.
|
|
9122
|
+
* @param authContext - Optional authorization context for filtering tools.
|
|
8802
9123
|
* @returns A flat array of all agent-ready tools.
|
|
8803
9124
|
*/
|
|
8804
|
-
getTools(): Promise<Tool<any>[]>;
|
|
9125
|
+
getTools(authContext?: MCPAuthorizationContext): Promise<Tool<any>[]>;
|
|
9126
|
+
/**
|
|
9127
|
+
* Checks if the can authorization function is configured.
|
|
9128
|
+
*/
|
|
9129
|
+
private hasAuthorizationHandler;
|
|
9130
|
+
/**
|
|
9131
|
+
* Creates call options for MCPClient methods with authorization context.
|
|
9132
|
+
*/
|
|
9133
|
+
private createClientCallOptions;
|
|
9134
|
+
/**
|
|
9135
|
+
* Filters tools based on authorization using the `can` function.
|
|
9136
|
+
*/
|
|
9137
|
+
private filterToolsByAuthorization;
|
|
8805
9138
|
/**
|
|
8806
9139
|
* Retrieves raw tool definitions from all configured MCP servers for this instance.
|
|
8807
9140
|
* @returns A flat record of all raw tools keyed by their namespaced name.
|
|
@@ -10678,4 +11011,4 @@ declare class VoltAgent {
|
|
|
10678
11011
|
*/
|
|
10679
11012
|
declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
|
|
10680
11013
|
|
|
10681
|
-
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 ConversationStepRecord, type ConversationStepType, 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 GetConversationStepsOptions, 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 ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, type 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 RegisteredTrigger, 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, TRIGGER_CONTEXT_KEY, 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 TriggerHandler, type TriggerHandlerBody, type TriggerHandlerContext, type TriggerHandlerResponse, type TriggerHandlerResult, type TriggerHandlerReturn, type TriggerHttpMethod, TriggerRegistry, 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 VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, WorkflowRegistry, type WorkflowRunQuery, 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, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, defineVoltOpsTrigger, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
|
|
11014
|
+
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 ConversationStepRecord, type ConversationStepType, 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 GetConversationStepsOptions, 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, type MCPAuthorizationAction, type MCPAuthorizationConfig, type MCPAuthorizationContext, MCPAuthorizationError, type MCPCanFunction, type MCPCanParams, type MCPCanResult, MCPClient, type MCPClientCallOptions, type MCPClientConfig, MCPConfiguration, type MCPConfigurationOptions, type MCPElicitationAdapter, type MCPElicitationHandler, type MCPLoggingAdapter, type MCPPromptsAdapter, type MCPResourcesAdapter, MCPServerRegistry, type ManagedMemoryAddMessageInput, type ManagedMemoryAddMessagesInput, type ManagedMemoryClearMessagesInput, type ManagedMemoryConnectionInfo, type ManagedMemoryConversationsClient, type ManagedMemoryCredentialCreateResult, type ManagedMemoryCredentialListResult, type ManagedMemoryCredentialSummary, type ManagedMemoryDatabaseSummary, type ManagedMemoryGetMessagesInput, type ManagedMemoryMessagesClient, type ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, type 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 RegisteredTrigger, 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, TRIGGER_CONTEXT_KEY, 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 TriggerHandler, type TriggerHandlerBody, type TriggerHandlerContext, type TriggerHandlerResponse, type TriggerHandlerResult, type TriggerHandlerReturn, type TriggerHttpMethod, TriggerRegistry, type Usage, type UsageInfo, UserInputBridge, type UserInputHandler, type VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, WorkflowRegistry, type WorkflowRunQuery, 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, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, VoltAgent as default, defineVoltOpsTrigger, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
|