@voltagent/core 2.3.8 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +168 -5
- package/dist/index.d.ts +168 -5
- package/dist/index.js +1306 -184
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1305 -184
- package/dist/index.mjs.map +1 -1
- package/docs/agents/context.md +6 -1
- package/docs/agents/hooks.md +52 -1
- package/docs/agents/memory/overview.md +3 -0
- package/docs/agents/message-types.md +14 -2
- package/docs/agents/overview.md +47 -0
- package/docs/agents/providers.md +31 -0
- package/docs/agents/tools.md +43 -1
- package/docs/agents/voltagent-instance.md +23 -1
- package/docs/api/endpoints/agents.md +11 -1
- package/docs/evaluation-docs/live-evaluations.md +29 -0
- package/docs/evaluation-docs/prebuilt-scorers.md +63 -0
- package/docs/observability-platform/feedback.md +93 -2
- package/docs/ui/ai-sdk-integration.md +33 -14
- package/docs/workspaces/overview.md +19 -0
- package/docs/workspaces/sandbox.md +29 -0
- package/docs/workspaces/skills.md +33 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7,6 +7,10 @@ import { z } from 'zod';
|
|
|
7
7
|
import { Span, Tracer, SpanOptions, SpanStatusCode as SpanStatusCode$1, context, trace, SpanKind as SpanKind$1, Context } from '@opentelemetry/api';
|
|
8
8
|
export { ROOT_CONTEXT, Span, SpanOptions, Tracer, context, propagation, trace } from '@opentelemetry/api';
|
|
9
9
|
import { Logger, LogFn, LogBuffer } from '@voltagent/internal';
|
|
10
|
+
import { AnthropicProviderOptions } from '@ai-sdk/anthropic';
|
|
11
|
+
import { GoogleGenerativeAIProviderOptions } from '@ai-sdk/google';
|
|
12
|
+
import { OpenAIResponsesProviderOptions } from '@ai-sdk/openai';
|
|
13
|
+
import { XaiProviderOptions, XaiResponsesProviderOptions } from '@ai-sdk/xai';
|
|
10
14
|
import { AsyncIterableStream } from '@voltagent/internal/utils';
|
|
11
15
|
export { AsyncIterableStream, createAsyncIterableStream } from '@voltagent/internal/utils';
|
|
12
16
|
import { DangerouslyAllowAny, PlainObject } from '@voltagent/internal/types';
|
|
@@ -47,7 +51,7 @@ type Toolkit = {
|
|
|
47
51
|
/**
|
|
48
52
|
* An array of Tool instances that belong to this toolkit.
|
|
49
53
|
*/
|
|
50
|
-
tools: (Tool<ToolSchema> | Tool$1)[];
|
|
54
|
+
tools: (Tool<ToolSchema, ToolSchema | undefined> | Tool$1)[];
|
|
51
55
|
};
|
|
52
56
|
/**
|
|
53
57
|
* Helper function for creating a new toolkit.
|
|
@@ -6845,12 +6849,19 @@ type WorkspaceSandboxToolkitOptions = {
|
|
|
6845
6849
|
type WorkspaceSandboxToolkitContext = {
|
|
6846
6850
|
sandbox?: WorkspaceSandbox;
|
|
6847
6851
|
workspace?: WorkspaceIdentity;
|
|
6852
|
+
pathContext?: WorkspacePathContext;
|
|
6848
6853
|
agent?: Agent;
|
|
6849
6854
|
filesystem?: WorkspaceFilesystem;
|
|
6850
6855
|
};
|
|
6851
6856
|
type WorkspaceSandboxToolName = "execute_command";
|
|
6852
6857
|
declare const createWorkspaceSandboxToolkit: (context: WorkspaceSandboxToolkitContext, options?: WorkspaceSandboxToolkitOptions) => Toolkit;
|
|
6853
6858
|
|
|
6859
|
+
type NormalizedCommand = {
|
|
6860
|
+
command: string;
|
|
6861
|
+
args?: string[];
|
|
6862
|
+
};
|
|
6863
|
+
declare const normalizeCommandAndArgs: (command: string, args?: string[]) => NormalizedCommand;
|
|
6864
|
+
|
|
6854
6865
|
type WorkspaceSearchMode = "bm25" | "vector" | "hybrid";
|
|
6855
6866
|
type WorkspaceSearchIndexPath = {
|
|
6856
6867
|
path: string;
|
|
@@ -7383,6 +7394,24 @@ interface OnToolEndHookArgs {
|
|
|
7383
7394
|
interface OnToolEndHookResult {
|
|
7384
7395
|
output?: unknown;
|
|
7385
7396
|
}
|
|
7397
|
+
interface OnToolErrorHookArgs {
|
|
7398
|
+
agent: Agent;
|
|
7399
|
+
tool: AgentTool;
|
|
7400
|
+
args: any;
|
|
7401
|
+
/** Structured VoltAgentError for this failure. */
|
|
7402
|
+
error: VoltAgentError | AbortError;
|
|
7403
|
+
/** Original thrown value normalized to an Error instance. */
|
|
7404
|
+
originalError: Error;
|
|
7405
|
+
context: OperationContext;
|
|
7406
|
+
options?: ToolExecuteOptions;
|
|
7407
|
+
}
|
|
7408
|
+
interface OnToolErrorHookResult {
|
|
7409
|
+
/**
|
|
7410
|
+
* Optional replacement payload returned to the model for this tool error.
|
|
7411
|
+
* When omitted, VoltAgent returns its default serialized error payload.
|
|
7412
|
+
*/
|
|
7413
|
+
output?: unknown;
|
|
7414
|
+
}
|
|
7386
7415
|
interface OnPrepareMessagesHookArgs {
|
|
7387
7416
|
/** The messages that will be sent to the LLM (AI SDK UIMessage). */
|
|
7388
7417
|
messages: UIMessage[];
|
|
@@ -7468,6 +7497,7 @@ type AgentHookOnHandoff = (args: OnHandoffHookArgs) => Promise<void> | void;
|
|
|
7468
7497
|
type AgentHookOnHandoffComplete = (args: OnHandoffCompleteHookArgs) => Promise<void> | void;
|
|
7469
7498
|
type AgentHookOnToolStart = (args: OnToolStartHookArgs) => Promise<void> | void;
|
|
7470
7499
|
type AgentHookOnToolEnd = (args: OnToolEndHookArgs) => Promise<OnToolEndHookResult | undefined> | Promise<void> | OnToolEndHookResult | undefined;
|
|
7500
|
+
type AgentHookOnToolError = (args: OnToolErrorHookArgs) => Promise<OnToolErrorHookResult | undefined> | Promise<void> | OnToolErrorHookResult | undefined;
|
|
7471
7501
|
type AgentHookOnPrepareMessages = (args: OnPrepareMessagesHookArgs) => Promise<OnPrepareMessagesHookResult> | OnPrepareMessagesHookResult;
|
|
7472
7502
|
type AgentHookOnPrepareModelMessages = (args: OnPrepareModelMessagesHookArgs) => Promise<OnPrepareModelMessagesHookResult> | OnPrepareModelMessagesHookResult;
|
|
7473
7503
|
type AgentHookOnError = (args: OnErrorHookArgs) => Promise<void> | void;
|
|
@@ -7484,6 +7514,7 @@ type AgentHooks = {
|
|
|
7484
7514
|
onHandoffComplete?: AgentHookOnHandoffComplete;
|
|
7485
7515
|
onToolStart?: AgentHookOnToolStart;
|
|
7486
7516
|
onToolEnd?: AgentHookOnToolEnd;
|
|
7517
|
+
onToolError?: AgentHookOnToolError;
|
|
7487
7518
|
onPrepareMessages?: AgentHookOnPrepareMessages;
|
|
7488
7519
|
onPrepareModelMessages?: AgentHookOnPrepareModelMessages;
|
|
7489
7520
|
onError?: AgentHookOnError;
|
|
@@ -7714,6 +7745,7 @@ declare class AgentTraceContext {
|
|
|
7714
7745
|
attributes?: Record<string, any>;
|
|
7715
7746
|
}): void;
|
|
7716
7747
|
private resolveParentSpan;
|
|
7748
|
+
private resolveLinkedSpan;
|
|
7717
7749
|
/**
|
|
7718
7750
|
* Get the active context for manual context propagation
|
|
7719
7751
|
*/
|
|
@@ -7753,6 +7785,27 @@ type AgentFeedbackMetadata = {
|
|
|
7753
7785
|
tokenId?: string;
|
|
7754
7786
|
expiresAt?: string;
|
|
7755
7787
|
feedbackConfig?: VoltOpsFeedbackConfig | null;
|
|
7788
|
+
provided?: boolean;
|
|
7789
|
+
providedAt?: string;
|
|
7790
|
+
feedbackId?: string;
|
|
7791
|
+
};
|
|
7792
|
+
type AgentFeedbackMarkProvidedInput = {
|
|
7793
|
+
userId?: string;
|
|
7794
|
+
conversationId?: string;
|
|
7795
|
+
messageId?: string;
|
|
7796
|
+
providedAt?: Date | string;
|
|
7797
|
+
feedbackId?: string;
|
|
7798
|
+
};
|
|
7799
|
+
type AgentFeedbackHandle = AgentFeedbackMetadata & {
|
|
7800
|
+
isProvided: () => boolean;
|
|
7801
|
+
markFeedbackProvided: (input?: AgentFeedbackMarkProvidedInput) => Promise<AgentFeedbackMetadata | null>;
|
|
7802
|
+
};
|
|
7803
|
+
type AgentMarkFeedbackProvidedInput = {
|
|
7804
|
+
userId: string;
|
|
7805
|
+
conversationId: string;
|
|
7806
|
+
messageId: string;
|
|
7807
|
+
providedAt?: Date | string;
|
|
7808
|
+
feedbackId?: string;
|
|
7756
7809
|
};
|
|
7757
7810
|
/**
|
|
7758
7811
|
* Tool with node_id for agent state
|
|
@@ -7889,7 +7942,7 @@ type AgentModelValue = ModelDynamicValue<AgentModelReference> | AgentModelConfig
|
|
|
7889
7942
|
/**
|
|
7890
7943
|
* Provider options type for LLM configurations
|
|
7891
7944
|
*/
|
|
7892
|
-
type
|
|
7945
|
+
type LegacyProviderCallOptions = {
|
|
7893
7946
|
temperature?: number;
|
|
7894
7947
|
maxTokens?: number;
|
|
7895
7948
|
topP?: number;
|
|
@@ -7901,6 +7954,12 @@ type ProviderOptions = {
|
|
|
7901
7954
|
onStepFinish?: (step: StepWithContent) => Promise<void>;
|
|
7902
7955
|
onFinish?: (result: unknown) => Promise<void>;
|
|
7903
7956
|
onError?: (error: unknown) => Promise<void>;
|
|
7957
|
+
};
|
|
7958
|
+
type ProviderOptions = LegacyProviderCallOptions & {
|
|
7959
|
+
anthropic?: AnthropicProviderOptions & Record<string, unknown>;
|
|
7960
|
+
google?: GoogleGenerativeAIProviderOptions & Record<string, unknown>;
|
|
7961
|
+
openai?: OpenAIResponsesProviderOptions & Record<string, unknown>;
|
|
7962
|
+
xai?: (XaiProviderOptions | XaiResponsesProviderOptions) & Record<string, unknown>;
|
|
7904
7963
|
[key: string]: unknown;
|
|
7905
7964
|
};
|
|
7906
7965
|
/**
|
|
@@ -8129,6 +8188,25 @@ type AgentSummarizationOptions = {
|
|
|
8129
8188
|
systemPrompt?: string | null;
|
|
8130
8189
|
model?: AgentModelValue;
|
|
8131
8190
|
};
|
|
8191
|
+
type AgentConversationPersistenceMode = "finish" | "step";
|
|
8192
|
+
type AgentConversationPersistenceOptions = {
|
|
8193
|
+
/**
|
|
8194
|
+
* `finish` persists only at operation completion.
|
|
8195
|
+
* `step` checkpoints after each step (debounced) and flushes on tool completion by default.
|
|
8196
|
+
* @default "step"
|
|
8197
|
+
*/
|
|
8198
|
+
mode?: AgentConversationPersistenceMode;
|
|
8199
|
+
/**
|
|
8200
|
+
* Debounce duration (ms) for step-level persistence scheduling.
|
|
8201
|
+
* @default 200
|
|
8202
|
+
*/
|
|
8203
|
+
debounceMs?: number;
|
|
8204
|
+
/**
|
|
8205
|
+
* When true in `step` mode, tool-result/tool-error steps trigger an immediate flush.
|
|
8206
|
+
* @default true
|
|
8207
|
+
*/
|
|
8208
|
+
flushOnToolResult?: boolean;
|
|
8209
|
+
};
|
|
8132
8210
|
/**
|
|
8133
8211
|
* Agent configuration options
|
|
8134
8212
|
*/
|
|
@@ -8143,8 +8221,19 @@ type AgentOptions = {
|
|
|
8143
8221
|
toolRouting?: ToolRoutingConfig | false;
|
|
8144
8222
|
workspace?: Workspace | WorkspaceConfig | false;
|
|
8145
8223
|
workspaceToolkits?: WorkspaceToolkitOptions | false;
|
|
8224
|
+
/**
|
|
8225
|
+
* Controls automatic workspace skills prompt injection.
|
|
8226
|
+
*
|
|
8227
|
+
* - `undefined` (default): auto-inject when workspace skills are configured and no custom
|
|
8228
|
+
* `hooks.onPrepareMessages` is provided.
|
|
8229
|
+
* - `true`: force auto-injection with default prompt options.
|
|
8230
|
+
* - `false`: disable auto-injection.
|
|
8231
|
+
* - object: force auto-injection with custom prompt options.
|
|
8232
|
+
*/
|
|
8233
|
+
workspaceSkillsPrompt?: WorkspaceSkillsPromptOptions | boolean;
|
|
8146
8234
|
memory?: Memory | false;
|
|
8147
8235
|
summarization?: AgentSummarizationOptions | false;
|
|
8236
|
+
conversationPersistence?: AgentConversationPersistenceOptions;
|
|
8148
8237
|
retriever?: BaseRetriever;
|
|
8149
8238
|
subAgents?: SubAgentConfig[];
|
|
8150
8239
|
supervisorConfig?: SupervisorConfig;
|
|
@@ -8187,6 +8276,28 @@ type AgentOptions = {
|
|
|
8187
8276
|
eval?: AgentEvalConfig;
|
|
8188
8277
|
};
|
|
8189
8278
|
type AgentEvalOperationType = "generateText" | "generateTitle" | "streamText" | "generateObject" | "streamObject" | "workflow";
|
|
8279
|
+
interface AgentEvalToolCall extends Record<string, unknown> {
|
|
8280
|
+
toolCallId?: string;
|
|
8281
|
+
toolName?: string;
|
|
8282
|
+
arguments?: Record<string, unknown> | null;
|
|
8283
|
+
content?: string;
|
|
8284
|
+
stepIndex?: number;
|
|
8285
|
+
usage?: UsageInfo | null;
|
|
8286
|
+
subAgentId?: string;
|
|
8287
|
+
subAgentName?: string;
|
|
8288
|
+
}
|
|
8289
|
+
interface AgentEvalToolResult extends Record<string, unknown> {
|
|
8290
|
+
toolCallId?: string;
|
|
8291
|
+
toolName?: string;
|
|
8292
|
+
result?: unknown;
|
|
8293
|
+
content?: string;
|
|
8294
|
+
stepIndex?: number;
|
|
8295
|
+
usage?: UsageInfo | null;
|
|
8296
|
+
subAgentId?: string;
|
|
8297
|
+
subAgentName?: string;
|
|
8298
|
+
isError?: boolean;
|
|
8299
|
+
error?: unknown;
|
|
8300
|
+
}
|
|
8190
8301
|
interface AgentEvalPayload {
|
|
8191
8302
|
operationId: string;
|
|
8192
8303
|
operationType: AgentEvalOperationType;
|
|
@@ -8194,6 +8305,22 @@ interface AgentEvalPayload {
|
|
|
8194
8305
|
output?: string | null;
|
|
8195
8306
|
rawInput?: string | UIMessage[] | BaseMessage[];
|
|
8196
8307
|
rawOutput?: unknown;
|
|
8308
|
+
/**
|
|
8309
|
+
* Full message/step chain available to scorers.
|
|
8310
|
+
* Includes normalized input messages (when available) plus execution steps
|
|
8311
|
+
* such as `text`, `tool_call`, and `tool_result`.
|
|
8312
|
+
*/
|
|
8313
|
+
messages?: StepWithContent[];
|
|
8314
|
+
/**
|
|
8315
|
+
* Tool-call events captured during execution.
|
|
8316
|
+
* If provider-native tool call payloads are available they are preserved.
|
|
8317
|
+
*/
|
|
8318
|
+
toolCalls?: AgentEvalToolCall[];
|
|
8319
|
+
/**
|
|
8320
|
+
* Tool-result events captured during execution.
|
|
8321
|
+
* If provider-native tool result payloads are available they are preserved.
|
|
8322
|
+
*/
|
|
8323
|
+
toolResults?: AgentEvalToolResult[];
|
|
8197
8324
|
userId?: string;
|
|
8198
8325
|
conversationId?: string;
|
|
8199
8326
|
traceId: string;
|
|
@@ -8316,6 +8443,8 @@ type OperationContext = {
|
|
|
8316
8443
|
userId?: string;
|
|
8317
8444
|
/** Optional conversation identifier associated with this operation */
|
|
8318
8445
|
conversationId?: string;
|
|
8446
|
+
/** Workspace configured on the executing agent (if any). */
|
|
8447
|
+
workspace?: Workspace;
|
|
8319
8448
|
/** User-managed context map for this operation */
|
|
8320
8449
|
readonly context: Map<string | symbol, unknown>;
|
|
8321
8450
|
/** System-managed context map for internal operation tracking */
|
|
@@ -8991,7 +9120,7 @@ type StreamTextResultWithContext<TOOLS extends ToolSet = Record<string, any>, OU
|
|
|
8991
9120
|
pipeTextStreamToResponse: StreamTextResult<TOOLS, any>["pipeTextStreamToResponse"];
|
|
8992
9121
|
toTextStreamResponse: StreamTextResult<TOOLS, any>["toTextStreamResponse"];
|
|
8993
9122
|
context: Map<string | symbol, unknown>;
|
|
8994
|
-
feedback?:
|
|
9123
|
+
feedback?: AgentFeedbackHandle | null;
|
|
8995
9124
|
} & Record<never, OUTPUT>;
|
|
8996
9125
|
/**
|
|
8997
9126
|
* Extended StreamObjectResult that includes context
|
|
@@ -9018,7 +9147,7 @@ interface GenerateTextResultWithContext<TOOLS extends ToolSet = Record<string, a
|
|
|
9018
9147
|
context: Map<string | symbol, unknown>;
|
|
9019
9148
|
experimental_output: OutputValue<OUTPUT>;
|
|
9020
9149
|
output: OutputValue<OUTPUT>;
|
|
9021
|
-
feedback?:
|
|
9150
|
+
feedback?: AgentFeedbackHandle | null;
|
|
9022
9151
|
}
|
|
9023
9152
|
/**
|
|
9024
9153
|
* Extended GenerateObjectResult that includes context
|
|
@@ -9046,6 +9175,7 @@ interface BaseGenerationOptions<TProviderOptions extends ProviderOptions$1 = Pro
|
|
|
9046
9175
|
semanticThreshold?: number;
|
|
9047
9176
|
mergeStrategy?: "prepend" | "append" | "interleave";
|
|
9048
9177
|
};
|
|
9178
|
+
conversationPersistence?: AgentConversationPersistenceOptions;
|
|
9049
9179
|
maxSteps?: number;
|
|
9050
9180
|
feedback?: boolean | AgentFeedbackOptions;
|
|
9051
9181
|
/**
|
|
@@ -9117,6 +9247,8 @@ declare class Agent {
|
|
|
9117
9247
|
private readonly memory?;
|
|
9118
9248
|
private readonly memoryConfigured;
|
|
9119
9249
|
private readonly summarization?;
|
|
9250
|
+
private conversationPersistence;
|
|
9251
|
+
private conversationPersistenceConfigured;
|
|
9120
9252
|
private readonly workspace?;
|
|
9121
9253
|
private defaultObservability?;
|
|
9122
9254
|
private readonly toolManager;
|
|
@@ -9170,6 +9302,9 @@ declare class Agent {
|
|
|
9170
9302
|
/**
|
|
9171
9303
|
* Create execution context
|
|
9172
9304
|
*/
|
|
9305
|
+
private normalizeConversationPersistenceOptions;
|
|
9306
|
+
private resolveConversationPersistenceOptions;
|
|
9307
|
+
private getConversationPersistenceOptionsForContext;
|
|
9173
9308
|
/**
|
|
9174
9309
|
* Create only the OperationContext (sync)
|
|
9175
9310
|
* Transitional helper to gradually adopt OperationContext across methods
|
|
@@ -9288,6 +9423,8 @@ declare class Agent {
|
|
|
9288
9423
|
* Create step handler for memory and hooks
|
|
9289
9424
|
*/
|
|
9290
9425
|
private createStepHandler;
|
|
9426
|
+
private processStepContent;
|
|
9427
|
+
private resolveBailedResultFromToolOutput;
|
|
9291
9428
|
private recordStepResults;
|
|
9292
9429
|
/**
|
|
9293
9430
|
* Add step to history - now only tracks in conversation steps
|
|
@@ -9367,6 +9504,18 @@ declare class Agent {
|
|
|
9367
9504
|
* Returns true if VoltOpsClient with observability is configured
|
|
9368
9505
|
*/
|
|
9369
9506
|
isTelemetryConfigured(): boolean;
|
|
9507
|
+
/**
|
|
9508
|
+
* Check whether feedback has already been provided for a feedback metadata object.
|
|
9509
|
+
*/
|
|
9510
|
+
static isFeedbackProvided(feedback?: AgentFeedbackMetadata | null): boolean;
|
|
9511
|
+
/**
|
|
9512
|
+
* Check whether a message already has feedback marked as provided.
|
|
9513
|
+
*/
|
|
9514
|
+
static isMessageFeedbackProvided(message?: UIMessage | null): boolean;
|
|
9515
|
+
/**
|
|
9516
|
+
* Persist a "feedback provided" marker into assistant message metadata.
|
|
9517
|
+
*/
|
|
9518
|
+
markFeedbackProvided(input: AgentMarkFeedbackProvidedInput): Promise<AgentFeedbackMetadata | null>;
|
|
9370
9519
|
/**
|
|
9371
9520
|
* Get memory manager
|
|
9372
9521
|
*/
|
|
@@ -9387,6 +9536,10 @@ declare class Agent {
|
|
|
9387
9536
|
* Internal: apply a default Memory instance when none was configured explicitly.
|
|
9388
9537
|
*/
|
|
9389
9538
|
__setDefaultMemory(memory: Memory): void;
|
|
9539
|
+
/**
|
|
9540
|
+
* Internal: apply default conversation persistence when none was configured explicitly.
|
|
9541
|
+
*/
|
|
9542
|
+
__setDefaultConversationPersistence(conversationPersistence: AgentConversationPersistenceOptions): void;
|
|
9390
9543
|
/**
|
|
9391
9544
|
* Internal: apply a default tool routing config when none was configured explicitly.
|
|
9392
9545
|
*/
|
|
@@ -9572,6 +9725,10 @@ declare class WorkflowTraceContext {
|
|
|
9572
9725
|
* Update active context with a new span
|
|
9573
9726
|
*/
|
|
9574
9727
|
updateActiveContext(span: Span): void;
|
|
9728
|
+
/**
|
|
9729
|
+
* Capture the current active span as a link target when we intentionally create a new root trace.
|
|
9730
|
+
*/
|
|
9731
|
+
private resolveLinkedSpan;
|
|
9575
9732
|
/**
|
|
9576
9733
|
* Clear step spans (useful for cleanup after parallel execution)
|
|
9577
9734
|
*/
|
|
@@ -13701,6 +13858,10 @@ type VoltAgentOptions = {
|
|
|
13701
13858
|
* When enabled, agents expose searchTools/callTool and hide pool tools from the model.
|
|
13702
13859
|
*/
|
|
13703
13860
|
toolRouting?: ToolRoutingConfig;
|
|
13861
|
+
/**
|
|
13862
|
+
* Default conversation persistence behavior for agents that don't define one.
|
|
13863
|
+
*/
|
|
13864
|
+
agentConversationPersistence?: AgentConversationPersistenceOptions;
|
|
13704
13865
|
/**
|
|
13705
13866
|
* Optional global workspace instance or configuration.
|
|
13706
13867
|
* Agents inherit this workspace unless they explicitly provide their own workspace or set it to false.
|
|
@@ -15443,6 +15604,7 @@ declare class VoltAgent {
|
|
|
15443
15604
|
private observability?;
|
|
15444
15605
|
private defaultAgentMemory?;
|
|
15445
15606
|
private defaultWorkflowMemory?;
|
|
15607
|
+
private readonly defaultAgentConversationPersistence?;
|
|
15446
15608
|
private readonly mcpServers;
|
|
15447
15609
|
private readonly mcpServerRegistry;
|
|
15448
15610
|
private readonly a2aServers;
|
|
@@ -15473,6 +15635,7 @@ declare class VoltAgent {
|
|
|
15473
15635
|
registerTrigger(name: string, config: VoltAgentTriggerConfig): void;
|
|
15474
15636
|
registerTriggers(triggers?: VoltAgentTriggersConfig): void;
|
|
15475
15637
|
private applyDefaultMemoryToAgent;
|
|
15638
|
+
private applyDefaultConversationPersistenceToAgent;
|
|
15476
15639
|
private applyDefaultMemoryToWorkflow;
|
|
15477
15640
|
registerAgent(agent: Agent): void;
|
|
15478
15641
|
/**
|
|
@@ -15554,4 +15717,4 @@ declare class VoltAgent {
|
|
|
15554
15717
|
*/
|
|
15555
15718
|
declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
|
|
15556
15719
|
|
|
15557
|
-
export { A2AServerRegistry, AbortError, Agent, type AgentEvalConfig, type AgentEvalContext, type AgentEvalFeedbackHelper, type AgentEvalFeedbackSaveInput, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalResultCallbackArgs, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, type AgentFeedbackMetadata, type AgentFeedbackOptions, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnFallback, type AgentHookOnHandoff, type AgentHookOnHandoffComplete, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnRetry, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolStart, type AgentHooks, type AgentModelConfig, type AgentModelReference, type AgentModelValue, type AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, type AgentSummarizationOptions, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type BuildScorerOptions, type BuildScorerRunArgs, type BuildScorerRunResult, type BuilderAnalyzeContext, type BuilderPrepareContext, type BuilderReasonContext, type BuilderScoreContext, type CachedPrompt, type ChatMessage, ClientHTTPError, type ClientSideToolResult, type CloudflareFetchHandler, CompositeFilesystemBackend, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type ConversationStepRecord, type ConversationStepType, type ConversationTitleConfig, type ConversationTitleGenerator, ConversationTodoBackend, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateInputGuardrailOptions, type CreateInputMiddlewareOptions, type CreateOutputGuardrailOptions, type CreateOutputMiddlewareOptions, type CreateReasoningToolsOptions, type CreateScorerOptions, DEFAULT_INSTRUCTIONS, DELETE_FILE_TOOL_DESCRIPTION, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter, type EmbeddingAdapterConfig, type EmbeddingAdapterInput, EmbeddingAdapterNotConfiguredError, EmbeddingError, type EmbeddingModelFactory, type EmbeddingModelReference, type EmbeddingRouterModelId, type ExtractVariableNames, FEW_SHOT_EXAMPLES, FILESYSTEM_SYSTEM_PROMPT, type FallbackStage, type FileData, type FileInfo, type FilesystemBackend, type FilesystemBackendContext, type FilesystemBackendFactory, type FilesystemToolkitOptions, GLOB_TOOL_DESCRIPTION, GREP_TOOL_DESCRIPTION, type GenerateObjectOptions, type GenerateObjectResultWithContext, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextResultWithContext, type GenerateTextSubAgentConfig, type GetConversationStepsOptions, type GetMessagesOptions, type GrepMatch, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, InMemoryFilesystemBackend, InMemoryStorageAdapter$1 as InMemoryObservabilityAdapter, InMemoryStorageAdapter, InMemoryVectorAdapter, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type InputGuardrail, type InputGuardrailArgs, type InputGuardrailResult, type InputMiddleware, type InputMiddlewareArgs, type InputMiddlewareResult, type KnowledgeBaseTagFilter, type LLMProvider, LS_TOOL_DESCRIPTION, type LanguageModelFactory, LazyRemoteExportProcessor, LocalSandbox, type LocalSandboxIsolationOptions, type LocalSandboxIsolationProvider, type LocalSandboxOptions, 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 ManagedMemoryDeleteMessagesInput, type ManagedMemoryGetMessagesInput, type ManagedMemoryMessagesClient, type ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, MiddlewareAbortError, type MiddlewareAbortOptions, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareDirection, type MiddlewareFunction, type ModelForProvider, type ModelProvider, type ModelProviderEntry, type ModelProviderLoader, ModelProviderRegistry, type ModelRouterModelId, type ModelToolCall, NextAction, NodeFilesystemBackend, NodeType, VoltAgentObservability$1 as NodeVoltAgentObservability, type ObservabilityConfig, type ObservabilityLogRecord, type ObservabilitySpan, type ObservabilityStorageAdapter, type ObservabilityWebSocketEvent, type OnEndHookArgs, type OnErrorHookArgs, type OnFallbackHookArgs, type OnHandoffCompleteHookArgs, type OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnRetryHookArgs, type OnRetryHookArgsBase, type OnRetryLLMHookArgs, type OnRetryMiddlewareHookArgs, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolEndHookResult, type OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type OutputMiddleware, type OutputMiddlewareArgs, type OutputMiddlewareResult, type OutputSpec$1 as OutputSpec, type PackageUpdateInfo, PlanAgent, type PlanAgentExtension, type PlanAgentExtensionContext, type PlanAgentExtensionResult, type PlanAgentFileData, type PlanAgentOptions, type PlanAgentState, type PlanAgentSubagentDefinition, type PlanAgentTodoItem, type PlanAgentTodoStatus, type PlanningToolkitOptions, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderId, type ProviderModelsMap, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, READ_FILE_TOOL_DESCRIPTION, type RagKnowledgeBaseSummary, type RagSearchKnowledgeBaseChildChunk, type RagSearchKnowledgeBaseRequest, type RagSearchKnowledgeBaseResponse, type RagSearchKnowledgeBaseResult, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredTrigger, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type ResumableStreamAdapter, type ResumableStreamContext, type RetrieveOptions, type Retriever, type RetrieverOptions, type RetrySource, type RunLocalScorersArgs, type RunLocalScorersResult, SERVERLESS_ENV_CONTEXT_KEY, type SamplingMetadata, type SamplingPolicy, type ScorerBuilder, type ScorerContext, type ScorerLifecycleScope, type ScorerPipelineContext, type ScorerReasonContext, type ScorerResult, type SearchOptions, type SearchResult$1 as SearchResult, type ServerAgentResponse, type ServerApiResponse, type ServerProviderDeps, type ServerProviderFactory, type ServerWorkflowResponse, type ServerlessProviderFactory, type ServerlessRemoteEndpointConfig, type ServerlessRemoteExportConfig, type ServerlessRequestHandler, ServerlessVoltAgentObservability, type SpanAttributes, type SpanEvent, type SpanFilterConfig, SpanFilterProcessor, SpanKind, type SpanLink, type SpanStatus, SpanStatusCode, type SpanTreeNode, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StopWhen, type StorageAdapter, StorageError, StorageLogProcessor, type StoredUIMessage, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamObjectResultWithContext, type StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextResultWithContext, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, TRIGGER_CONTEXT_KEY, type TaskToolOptions, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, type TodoBackend, type TodoBackendFactory, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionResult, type ToolHookOnEnd, type ToolHookOnEndArgs, type ToolHookOnEndResult, type ToolHookOnStart, type ToolHookOnStartArgs, type ToolHooks, ToolManager, type ToolOptions, type ToolResultOutput, type ToolRoutingConfig, type ToolRoutingEmbeddingConfig, type ToolRoutingEmbeddingInput, type ToolSchema, type ToolSearchCandidate, type ToolSearchContext, type ToolSearchResult, type ToolSearchResultItem, type ToolSearchSelection, type ToolSearchStrategy, 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$1 as VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem$1 as VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, VoltAgentRagRetriever, type VoltAgentRagRetrieverOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, type VoltOpsFeedback, type VoltOpsFeedbackConfig, type VoltOpsFeedbackCreateInput, type VoltOpsFeedbackExpiresIn, type VoltOpsFeedbackToken, type VoltOpsFeedbackTokenCreateInput, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WRITE_FILE_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_NAME, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, type WorkflowHookContext, type WorkflowHookStatus, type WorkflowHooks, WorkflowRegistry, type WorkflowRunQuery, type WorkflowStateEntry, type WorkflowStateStore, type WorkflowStateUpdater, type WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, Workspace, type WorkspaceConfig, type DeleteResult as WorkspaceDeleteResult, type EditResult as WorkspaceEditResult, type FileData as WorkspaceFileData, type FileInfo as WorkspaceFileInfo, WorkspaceFilesystem, type FilesystemBackend as WorkspaceFilesystemBackend, type FilesystemBackendContext as WorkspaceFilesystemBackendContext, type FilesystemBackendFactory as WorkspaceFilesystemBackendFactory, type WorkspaceFilesystemCallContext, type WorkspaceFilesystemConfig, type WorkspaceFilesystemDeleteOptions, type WorkspaceFilesystemOperationOptions, type WorkspaceFilesystemOptions, type WorkspaceFilesystemReadOptions, type WorkspaceFilesystemRmdirOptions, type WorkspaceFilesystemSearchOptions, type WorkspaceFilesystemToolName, type WorkspaceFilesystemToolPolicy, type WorkspaceFilesystemToolkitOptions, type WorkspaceFilesystemWriteOptions, type GrepMatch as WorkspaceGrepMatch, type WorkspaceIdentity, type WorkspaceInfo, type MkdirResult as WorkspaceMkdirResult, type WorkspacePathContext, type RmdirResult as WorkspaceRmdirResult, type WorkspaceSandbox, type WorkspaceSandboxExecuteOptions, type WorkspaceSandboxResult, type WorkspaceSandboxStatus, type WorkspaceSandboxToolName, type WorkspaceSandboxToolkitContext, type WorkspaceSandboxToolkitOptions, type WorkspaceScope, WorkspaceSearch, type WorkspaceSearchConfig, type WorkspaceSearchHybridWeights, type WorkspaceSearchIndexPath, type WorkspaceSearchIndexSummary, type WorkspaceSearchMode, type WorkspaceSearchOptions, type WorkspaceSearchResult, type WorkspaceSearchToolName, type WorkspaceSearchToolkitContext, type WorkspaceSearchToolkitOptions, type WorkspaceSkill, type WorkspaceSkillIndexSummary, type WorkspaceSkillMetadata, type WorkspaceSkillSearchHybridWeights, type WorkspaceSkillSearchMode, type WorkspaceSkillSearchOptions, type WorkspaceSkillSearchResult, WorkspaceSkills, type WorkspaceSkillsConfig, type WorkspaceSkillsPromptHookContext, type WorkspaceSkillsPromptOptions, type WorkspaceSkillsRootResolver, type WorkspaceSkillsRootResolverContext, type WorkspaceSkillsToolName, type WorkspaceSkillsToolkitContext, type WorkspaceSkillsToolkitOptions, type WorkspaceStatus, type WorkspaceToolConfig, type WorkspaceToolPolicies, type WorkspaceToolPolicy, type WorkspaceToolPolicyGroup, type WorkspaceToolkitOptions, type WriteResult as WorkspaceWriteResult, type WriteResult, addTimestampToMessage, andAgent, andAll, andBranch, andDoUntil, andDoWhile, andForEach, andGuardrail, andMap, andRace, andSleep, andSleepUntil, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createEmbeddingToolSearchStrategy, createFilesystemToolkit, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createInputMiddleware, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createOutputMiddleware, createPIIInputGuardrail, createPhoneNumberGuardrail, createPlanningToolkit, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolResultEvictor, createToolkit, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, createWorkspaceFilesystemToolkit, createWorkspaceSandboxToolkit, createWorkspaceSearchToolkit, createWorkspaceSkillsPromptHook, createWorkspaceSkillsToolkit, VoltAgent as default, defineVoltOpsTrigger, detectLocalSandboxIsolation, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getGlobalVoltOpsClient, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isMiddlewareAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
|
|
15720
|
+
export { A2AServerRegistry, AbortError, Agent, type AgentConversationPersistenceMode, type AgentConversationPersistenceOptions, type AgentEvalConfig, type AgentEvalContext, type AgentEvalFeedbackHelper, type AgentEvalFeedbackSaveInput, type AgentEvalOperationType, type AgentEvalPayload, type AgentEvalResult, type AgentEvalResultCallbackArgs, type AgentEvalSamplingPolicy, type AgentEvalScorerConfig, type AgentEvalScorerFactory, type AgentEvalScorerReference, type AgentEvalToolCall, type AgentEvalToolResult, type AgentFeedbackHandle, type AgentFeedbackMarkProvidedInput, type AgentFeedbackMetadata, type AgentFeedbackOptions, type AgentFullState, type AgentHookOnEnd, type AgentHookOnError, type AgentHookOnFallback, type AgentHookOnHandoff, type AgentHookOnHandoffComplete, type AgentHookOnPrepareMessages, type AgentHookOnPrepareModelMessages, type AgentHookOnRetry, type AgentHookOnStart, type AgentHookOnStepFinish, type AgentHookOnToolEnd, type AgentHookOnToolError, type AgentHookOnToolStart, type AgentHooks, type AgentMarkFeedbackProvidedInput, type AgentModelConfig, type AgentModelReference, type AgentModelValue, type AgentOptions, AgentRegistry, type AgentResponse, type AgentScorerState, type AgentStatus, type AgentSummarizationOptions, type AgentTool, AiSdkEmbeddingAdapter, type AllowedVariableValue, type ApiToolInfo, type BaseEventMetadata, type BaseGenerationOptions, type BaseLLMOptions, type BaseMessage, BaseRetriever, type BaseTool, type BaseToolCall, type BuildScorerOptions, type BuildScorerRunArgs, type BuildScorerRunResult, type BuilderAnalyzeContext, type BuilderPrepareContext, type BuilderReasonContext, type BuilderScoreContext, type CachedPrompt, type ChatMessage, ClientHTTPError, type ClientSideToolResult, type CloudflareFetchHandler, CompositeFilesystemBackend, type Conversation, ConversationAlreadyExistsError, ConversationNotFoundError, type ConversationQueryOptions, type ConversationQueryOptions as ConversationQueryOptionsV2, type ConversationStepRecord, type ConversationStepType, type ConversationTitleConfig, type ConversationTitleGenerator, ConversationTodoBackend, type Conversation as ConversationV2, type CreateConversationInput, type CreateConversationInput as CreateConversationInputV2, type CreateInputGuardrailOptions, type CreateInputMiddlewareOptions, type CreateOutputGuardrailOptions, type CreateOutputMiddlewareOptions, type CreateReasoningToolsOptions, type CreateScorerOptions, DEFAULT_INSTRUCTIONS, DELETE_FILE_TOOL_DESCRIPTION, type DataContent, type Document, type DynamicValue, type DynamicValueOptions, EDIT_FILE_TOOL_DESCRIPTION, type EditResult, type EmbeddingAdapter, type EmbeddingAdapterConfig, type EmbeddingAdapterInput, EmbeddingAdapterNotConfiguredError, EmbeddingError, type EmbeddingModelFactory, type EmbeddingModelReference, type EmbeddingRouterModelId, type ExtractVariableNames, FEW_SHOT_EXAMPLES, FILESYSTEM_SYSTEM_PROMPT, type FallbackStage, type FileData, type FileInfo, type FilesystemBackend, type FilesystemBackendContext, type FilesystemBackendFactory, type FilesystemToolkitOptions, GLOB_TOOL_DESCRIPTION, GREP_TOOL_DESCRIPTION, type GenerateObjectOptions, type GenerateObjectResultWithContext, type GenerateObjectSubAgentConfig, type GenerateReasonResult, type GenerateScoreResult, type GenerateScoreStep, type GenerateTextOptions, type GenerateTextResultWithContext, type GenerateTextSubAgentConfig, type GetConversationStepsOptions, type GetMessagesOptions, type GrepMatch, type GuardrailAction, type GuardrailContext, type GuardrailDefinition, type GuardrailFunction, type GuardrailSeverity, type IServerProvider, type IServerlessProvider, type VoltOpsClient$1 as IVoltOpsClient, InMemoryFilesystemBackend, InMemoryStorageAdapter$1 as InMemoryObservabilityAdapter, InMemoryStorageAdapter, InMemoryVectorAdapter, type InferGenerateObjectResponse, type InferGenerateTextResponse, type InferMessage, type InferModel, type InferProviderParams, type InferStreamResponse, type InferTool, type InputGuardrail, type InputGuardrailArgs, type InputGuardrailResult, type InputMiddleware, type InputMiddlewareArgs, type InputMiddlewareResult, type KnowledgeBaseTagFilter, type LLMProvider, LS_TOOL_DESCRIPTION, type LanguageModelFactory, LazyRemoteExportProcessor, LocalSandbox, type LocalSandboxIsolationOptions, type LocalSandboxIsolationProvider, type LocalSandboxOptions, 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 ManagedMemoryDeleteMessagesInput, type ManagedMemoryGetMessagesInput, type ManagedMemoryMessagesClient, type ManagedMemoryQueryWorkflowRunsInput, type ManagedMemorySetWorkingMemoryInput, type ManagedMemoryStatus, type ManagedMemoryUpdateConversationInput, type ManagedMemoryVoltOpsClient, type ManagedMemoryWorkflowStateUpdateInput, type ManagedMemoryWorkflowStatesClient, type ManagedMemoryWorkingMemoryClient, type ManagedMemoryWorkingMemoryInput, Memory, type MemoryConfig, type MemoryOptions, type MemoryStorageMetadata, type MemoryUpdateMode, Memory as MemoryV2, MemoryV2Error, type MessageContent, MessageContentBuilder, type MessageRole, MiddlewareAbortError, type MiddlewareAbortOptions, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareDirection, type MiddlewareFunction, type ModelForProvider, type ModelProvider, type ModelProviderEntry, type ModelProviderLoader, ModelProviderRegistry, type ModelRouterModelId, type ModelToolCall, NextAction, NodeFilesystemBackend, NodeType, VoltAgentObservability$1 as NodeVoltAgentObservability, type ObservabilityConfig, type ObservabilityLogRecord, type ObservabilitySpan, type ObservabilityStorageAdapter, type ObservabilityWebSocketEvent, type OnEndHookArgs, type OnErrorHookArgs, type OnFallbackHookArgs, type OnHandoffCompleteHookArgs, type OnHandoffHookArgs, type OnPrepareMessagesHookArgs, type OnPrepareMessagesHookResult, type OnPrepareModelMessagesHookArgs, type OnPrepareModelMessagesHookResult, type OnRetryHookArgs, type OnRetryHookArgsBase, type OnRetryLLMHookArgs, type OnRetryMiddlewareHookArgs, type OnStartHookArgs, type OnStepFinishHookArgs, type OnToolEndHookArgs, type OnToolEndHookResult, type OnToolErrorHookArgs, type OnToolErrorHookResult, type OnToolStartHookArgs, type OperationContext, type OutputGuardrail, type OutputGuardrailArgs, type OutputGuardrailResult, type OutputMiddleware, type OutputMiddlewareArgs, type OutputMiddlewareResult, type OutputSpec$1 as OutputSpec, type PackageUpdateInfo, PlanAgent, type PlanAgentExtension, type PlanAgentExtensionContext, type PlanAgentExtensionResult, type PlanAgentFileData, type PlanAgentOptions, type PlanAgentState, type PlanAgentSubagentDefinition, type PlanAgentTodoItem, type PlanAgentTodoStatus, type PlanningToolkitOptions, type PromptApiClient, type PromptApiResponse, type PromptContent, type PromptCreator, type PromptHelper, type PromptReference, type PromptTemplate, type ProviderId, type ProviderModelsMap, type ProviderObjectResponse, type ProviderObjectStreamResponse, type ProviderParams, type ProviderResponse, type ProviderTextResponse, type ProviderTextStreamResponse, type ProviderTool, READ_FILE_TOOL_DESCRIPTION, type RagKnowledgeBaseSummary, type RagSearchKnowledgeBaseChildChunk, type RagSearchKnowledgeBaseRequest, type RagSearchKnowledgeBaseResponse, type RagSearchKnowledgeBaseResult, type ReadableStreamType, type ReasoningStep, ReasoningStepSchema, type RegisterOptions, type RegisteredTrigger, type RegisteredWorkflow, type RemoteLogExportConfig, RemoteLogProcessor, type ResumableStreamAdapter, type ResumableStreamContext, type RetrieveOptions, type Retriever, type RetrieverOptions, type RetrySource, type RunLocalScorersArgs, type RunLocalScorersResult, SERVERLESS_ENV_CONTEXT_KEY, type SamplingMetadata, type SamplingPolicy, type ScorerBuilder, type ScorerContext, type ScorerLifecycleScope, type ScorerPipelineContext, type ScorerReasonContext, type ScorerResult, type SearchOptions, type SearchResult$1 as SearchResult, type ServerAgentResponse, type ServerApiResponse, type ServerProviderDeps, type ServerProviderFactory, type ServerWorkflowResponse, type ServerlessProviderFactory, type ServerlessRemoteEndpointConfig, type ServerlessRemoteExportConfig, type ServerlessRequestHandler, ServerlessVoltAgentObservability, type SpanAttributes, type SpanEvent, type SpanFilterConfig, SpanFilterProcessor, SpanKind, type SpanLink, type SpanStatus, SpanStatusCode, type SpanTreeNode, type StepChunkCallback, type StepFinishCallback, type StepWithContent, type StopWhen, type StorageAdapter, StorageError, StorageLogProcessor, type StoredUIMessage, type StreamObjectFinishResult, type StreamObjectOnFinishCallback, type StreamObjectOptions, type StreamObjectResultWithContext, type StreamObjectSubAgentConfig, type StreamPart, type StreamTextFinishResult, type StreamTextOnFinishCallback, type StreamTextOptions, type StreamTextResultWithContext, type StreamTextSubAgentConfig, type SubAgentConfig, type SubAgentMethod, type SubAgentStateData, type SupervisorConfig, TRIGGER_CONTEXT_KEY, type TaskToolOptions, type TemplateVariables, type TimelineEventCoreLevel, type TimelineEventCoreStatus, type TimelineEventCoreType, type TodoBackend, type TodoBackendFactory, Tool, type ToolCall, type ToolContext, ToolDeniedError, type ToolErrorInfo, type ToolExecuteOptions, type ToolExecutionResult, type ToolHookOnEnd, type ToolHookOnEndArgs, type ToolHookOnEndResult, type ToolHookOnStart, type ToolHookOnStartArgs, type ToolHooks, ToolManager, type ToolOptions, type ToolResultOutput, type ToolRoutingConfig, type ToolRoutingEmbeddingConfig, type ToolRoutingEmbeddingInput, type ToolSchema, type ToolSearchCandidate, type ToolSearchContext, type ToolSearchResult, type ToolSearchResultItem, type ToolSearchSelection, type ToolSearchStrategy, 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$1 as VectorAdapter, VectorAdapterNotConfiguredError, VectorError, type VectorItem$1 as VectorItem, type VectorSearchOptions, type Voice, type VoiceEventData, type VoiceEventType, type VoiceMetadata, type VoiceOptions, VoltAgent, VoltAgentError, VoltAgentObservability, type VoltAgentOptions, VoltAgentRagRetriever, type VoltAgentRagRetrieverOptions, type VoltAgentStreamTextResult, type VoltAgentTextStreamPart, type VoltAgentTriggerConfig, type VoltAgentTriggersConfig, type VoltOpsActionExecutionResult, type VoltOpsActionsApi, VoltOpsActionsClient, type VoltOpsActionsTransport, type VoltOpsAirtableCreateRecordParams, type VoltOpsAirtableCredential, type VoltOpsAirtableDeleteRecordParams, type VoltOpsAirtableGetRecordParams, type VoltOpsAirtableListRecordsParams, type VoltOpsAirtableUpdateRecordParams, type VoltOpsAppendEvalRunResultPayload, type VoltOpsAppendEvalRunResultsRequest, VoltOpsClient, type VoltOpsClientOptions, type VoltOpsCompleteEvalRunRequest, type VoltOpsCreateEvalRunRequest, type VoltOpsCreateScorerRequest, type VoltOpsDiscordChannelMessageParams, type VoltOpsDiscordChannelType, type VoltOpsDiscordConfig, type VoltOpsDiscordCreateChannelParams, type VoltOpsDiscordCredential, type VoltOpsDiscordDeleteChannelParams, type VoltOpsDiscordGetChannelParams, type VoltOpsDiscordListChannelsParams, type VoltOpsDiscordListMembersParams, type VoltOpsDiscordListMessagesParams, type VoltOpsDiscordMemberRoleParams, type VoltOpsDiscordReactionParams, type VoltOpsDiscordSendMessageParams, type VoltOpsDiscordSendWebhookMessageParams, type VoltOpsDiscordUpdateChannelParams, type VoltOpsEvalResultStatus, type VoltOpsEvalRunCompletionSummaryPayload, type VoltOpsEvalRunErrorPayload, type VoltOpsEvalRunResultLiveMetadata, type VoltOpsEvalRunResultScorePayload, type VoltOpsEvalRunStatus, type VoltOpsEvalRunSummary, type VoltOpsFeedback, type VoltOpsFeedbackConfig, type VoltOpsFeedbackCreateInput, type VoltOpsFeedbackExpiresIn, type VoltOpsFeedbackToken, type VoltOpsFeedbackTokenCreateInput, VoltOpsPromptApiClient, type VoltOpsPromptManager, VoltOpsPromptManagerImpl, type VoltOpsScorerSummary, type VoltOpsSlackCredential, type VoltOpsSlackDeleteMessageParams, type VoltOpsSlackPostMessageParams, type VoltOpsSlackSearchMessagesParams, type VoltOpsTerminalEvalRunStatus, type VoltOpsTriggerDefinition, VoltOpsTriggerDefinitions, type VoltOpsTriggerEnvelope, type VoltOpsTriggerGroupMap, type VoltOpsTriggerName, VoltOpsTriggerNames, WRITE_FILE_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_DESCRIPTION, WRITE_TODOS_TOOL_NAME, WebSocketEventEmitter, WebSocketLogProcessor, WebSocketSpanProcessor, type WeightedBlendComponent, type WeightedBlendOptions, type Workflow, type WorkflowConfig, type WorkflowExecutionContext, type WorkflowHookContext, type WorkflowHookStatus, type WorkflowHooks, WorkflowRegistry, type WorkflowRunQuery, type WorkflowStateEntry, type WorkflowStateStore, type WorkflowStateUpdater, type WorkflowStats, type WorkflowStepContext, type WorkflowStepData, type WorkflowStepStatus, type WorkflowStepType, type WorkflowTimelineEvent, type WorkingMemoryConfig, type WorkingMemoryScope, type WorkingMemorySummary, type WorkingMemoryUpdateOptions, Workspace, type WorkspaceConfig, type DeleteResult as WorkspaceDeleteResult, type EditResult as WorkspaceEditResult, type FileData as WorkspaceFileData, type FileInfo as WorkspaceFileInfo, WorkspaceFilesystem, type FilesystemBackend as WorkspaceFilesystemBackend, type FilesystemBackendContext as WorkspaceFilesystemBackendContext, type FilesystemBackendFactory as WorkspaceFilesystemBackendFactory, type WorkspaceFilesystemCallContext, type WorkspaceFilesystemConfig, type WorkspaceFilesystemDeleteOptions, type WorkspaceFilesystemOperationOptions, type WorkspaceFilesystemOptions, type WorkspaceFilesystemReadOptions, type WorkspaceFilesystemRmdirOptions, type WorkspaceFilesystemSearchOptions, type WorkspaceFilesystemToolName, type WorkspaceFilesystemToolPolicy, type WorkspaceFilesystemToolkitOptions, type WorkspaceFilesystemWriteOptions, type GrepMatch as WorkspaceGrepMatch, type WorkspaceIdentity, type WorkspaceInfo, type MkdirResult as WorkspaceMkdirResult, type WorkspacePathContext, type RmdirResult as WorkspaceRmdirResult, type WorkspaceSandbox, type WorkspaceSandboxExecuteOptions, type WorkspaceSandboxResult, type WorkspaceSandboxStatus, type WorkspaceSandboxToolName, type WorkspaceSandboxToolkitContext, type WorkspaceSandboxToolkitOptions, type WorkspaceScope, WorkspaceSearch, type WorkspaceSearchConfig, type WorkspaceSearchHybridWeights, type WorkspaceSearchIndexPath, type WorkspaceSearchIndexSummary, type WorkspaceSearchMode, type WorkspaceSearchOptions, type WorkspaceSearchResult, type WorkspaceSearchToolName, type WorkspaceSearchToolkitContext, type WorkspaceSearchToolkitOptions, type WorkspaceSkill, type WorkspaceSkillIndexSummary, type WorkspaceSkillMetadata, type WorkspaceSkillSearchHybridWeights, type WorkspaceSkillSearchMode, type WorkspaceSkillSearchOptions, type WorkspaceSkillSearchResult, WorkspaceSkills, type WorkspaceSkillsConfig, type WorkspaceSkillsPromptHookContext, type WorkspaceSkillsPromptOptions, type WorkspaceSkillsRootResolver, type WorkspaceSkillsRootResolverContext, type WorkspaceSkillsToolName, type WorkspaceSkillsToolkitContext, type WorkspaceSkillsToolkitOptions, type WorkspaceStatus, type WorkspaceToolConfig, type WorkspaceToolPolicies, type WorkspaceToolPolicy, type WorkspaceToolPolicyGroup, type WorkspaceToolkitOptions, type WriteResult as WorkspaceWriteResult, type WriteResult, addTimestampToMessage, andAgent, andAll, andBranch, andDoUntil, andDoWhile, andForEach, andGuardrail, andMap, andRace, andSleep, andSleepUntil, andTap, andThen, andWhen, andWorkflow, appendToMessage, buildRetrieverLogMessage, buildSamplingMetadata, buildScorer, buildSpanTree, checkForUpdates, convertUsage, cosineSimilarity, createDefaultInputSafetyGuardrails, createDefaultPIIGuardrails, createDefaultSafetyGuardrails, createEmailRedactorGuardrail, createEmbeddingToolSearchStrategy, createFilesystemToolkit, createHTMLSanitizerInputGuardrail, createHooks, createInputGuardrail, createInputLengthGuardrail, createInputMiddleware, createMaxLengthGuardrail, createNodeId, createOutputGuardrail, createOutputMiddleware, createPIIInputGuardrail, createPhoneNumberGuardrail, createPlanningToolkit, createProfanityGuardrail, createProfanityInputGuardrail, createPrompt, createPromptInjectionGuardrail, createReasoningTools, createRetrieverTool, createScorer, createSensitiveNumberGuardrail, createSimpleTemplateEngine, createSubagent, createSuspendController, createTool, createToolResultEvictor, createToolkit, createTriggers, createVoltAgentObservability, createVoltOpsClient, createWorkflow, createWorkflowChain, createWorkflowStepNodeId, createWorkspaceFilesystemToolkit, createWorkspaceSandboxToolkit, createWorkspaceSearchToolkit, createWorkspaceSkillsPromptHook, createWorkspaceSkillsToolkit, VoltAgent as default, defineVoltOpsTrigger, detectLocalSandboxIsolation, extractFileParts, extractImageParts, extractText, extractTextParts, extractWorkflowStepInfo, filterContentParts, getContentLength, getEnvVar, getGlobalLogBuffer, getGlobalLogger, getGlobalVoltOpsClient, getNodeTypeFromNodeId, getVoltOpsTriggerDefinition, getWorkflowStepNodeType, hasContent, hasFilePart, hasImagePart, hasTextPart, isAbortError, isMiddlewareAbortError, isNodeRuntime, isServerlessRuntime, isStructuredContent, isTextContent, isVoltAgentError, mapMessageContent, messageHelpers, normalizeCommandAndArgs, normalizeContent, normalizeScorerResult, normalizeToArray, prependToMessage, readableLogRecordToObservabilityLog, readableSpanToObservabilitySpan, runLocalScorers, safeJsonParse, serializeValueForDebug, setWaitUntil, shouldSample, tool, transformTextContent, updateAllPackages, updateSinglePackage, weightedBlend, zodSchemaToJsonUI };
|