@voltagent/core 1.2.16 → 1.2.18
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 +130 -2
- package/dist/index.d.ts +130 -2
- package/dist/index.js +484 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +484 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -895,6 +895,14 @@ interface WorkflowStateEntry {
|
|
|
895
895
|
createdAt: Date;
|
|
896
896
|
updatedAt: Date;
|
|
897
897
|
}
|
|
898
|
+
interface WorkflowRunQuery {
|
|
899
|
+
workflowId?: string;
|
|
900
|
+
status?: WorkflowStateEntry["status"];
|
|
901
|
+
from?: Date;
|
|
902
|
+
to?: Date;
|
|
903
|
+
limit?: number;
|
|
904
|
+
offset?: number;
|
|
905
|
+
}
|
|
898
906
|
/**
|
|
899
907
|
* Working memory scope - conversation or user level
|
|
900
908
|
*/
|
|
@@ -1060,6 +1068,7 @@ interface StorageAdapter {
|
|
|
1060
1068
|
scope: WorkingMemoryScope;
|
|
1061
1069
|
}): Promise<void>;
|
|
1062
1070
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
1071
|
+
queryWorkflowRuns(query: WorkflowRunQuery): Promise<WorkflowStateEntry[]>;
|
|
1063
1072
|
setWorkflowState(executionId: string, state: WorkflowStateEntry): Promise<void>;
|
|
1064
1073
|
updateWorkflowState(executionId: string, updates: Partial<WorkflowStateEntry>): Promise<void>;
|
|
1065
1074
|
getSuspendedWorkflowStates(workflowId: string): Promise<WorkflowStateEntry[]>;
|
|
@@ -1509,6 +1518,10 @@ declare class Memory {
|
|
|
1509
1518
|
* Get workflow state by execution ID
|
|
1510
1519
|
*/
|
|
1511
1520
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Query workflow states with filters
|
|
1523
|
+
*/
|
|
1524
|
+
queryWorkflowRuns(query: WorkflowRunQuery): Promise<WorkflowStateEntry[]>;
|
|
1512
1525
|
/**
|
|
1513
1526
|
* Set workflow state
|
|
1514
1527
|
*/
|
|
@@ -1973,6 +1986,23 @@ type VoltOpsDiscordCredential = VoltOpsStoredCredentialRef | WithCredentialMetad
|
|
|
1973
1986
|
}> | WithCredentialMetadata<{
|
|
1974
1987
|
webhookUrl: string;
|
|
1975
1988
|
}>;
|
|
1989
|
+
type VoltOpsGmailCredential = VoltOpsStoredCredentialRef | WithCredentialMetadata<{
|
|
1990
|
+
accessToken?: string;
|
|
1991
|
+
refreshToken?: string;
|
|
1992
|
+
clientId?: string;
|
|
1993
|
+
clientSecret?: string;
|
|
1994
|
+
tokenType?: string;
|
|
1995
|
+
expiresAt?: string;
|
|
1996
|
+
}> | WithCredentialMetadata<{
|
|
1997
|
+
clientEmail: string;
|
|
1998
|
+
privateKey: string;
|
|
1999
|
+
subject?: string | null;
|
|
2000
|
+
}>;
|
|
2001
|
+
interface VoltOpsGmailAttachment {
|
|
2002
|
+
filename?: string;
|
|
2003
|
+
content: string;
|
|
2004
|
+
contentType?: string;
|
|
2005
|
+
}
|
|
1976
2006
|
interface VoltOpsAirtableCreateRecordParams {
|
|
1977
2007
|
credential: VoltOpsAirtableCredential;
|
|
1978
2008
|
baseId: string;
|
|
@@ -2146,6 +2176,51 @@ interface VoltOpsDiscordMemberRoleParams extends VoltOpsDiscordBaseParams {
|
|
|
2146
2176
|
userId: string;
|
|
2147
2177
|
roleId: string;
|
|
2148
2178
|
}
|
|
2179
|
+
interface VoltOpsGmailBaseParams {
|
|
2180
|
+
credential: VoltOpsGmailCredential;
|
|
2181
|
+
actionId?: string;
|
|
2182
|
+
catalogId?: string;
|
|
2183
|
+
projectId?: string | null;
|
|
2184
|
+
}
|
|
2185
|
+
interface VoltOpsGmailSendEmailParams extends VoltOpsGmailBaseParams {
|
|
2186
|
+
to: string | string[];
|
|
2187
|
+
cc?: string | string[];
|
|
2188
|
+
bcc?: string | string[];
|
|
2189
|
+
subject: string;
|
|
2190
|
+
body?: string;
|
|
2191
|
+
bodyType?: "text" | "html";
|
|
2192
|
+
htmlBody?: string;
|
|
2193
|
+
textBody?: string;
|
|
2194
|
+
replyTo?: string | string[];
|
|
2195
|
+
from?: string;
|
|
2196
|
+
senderName?: string;
|
|
2197
|
+
inReplyTo?: string;
|
|
2198
|
+
threadId?: string;
|
|
2199
|
+
attachments?: VoltOpsGmailAttachment[];
|
|
2200
|
+
draft?: boolean;
|
|
2201
|
+
}
|
|
2202
|
+
interface VoltOpsGmailReplyParams extends VoltOpsGmailSendEmailParams {
|
|
2203
|
+
}
|
|
2204
|
+
interface VoltOpsGmailSearchParams extends VoltOpsGmailBaseParams {
|
|
2205
|
+
from?: string;
|
|
2206
|
+
to?: string;
|
|
2207
|
+
subject?: string;
|
|
2208
|
+
label?: string;
|
|
2209
|
+
category?: string;
|
|
2210
|
+
after?: number;
|
|
2211
|
+
before?: number;
|
|
2212
|
+
maxResults?: number;
|
|
2213
|
+
pageToken?: string;
|
|
2214
|
+
query?: string;
|
|
2215
|
+
}
|
|
2216
|
+
interface VoltOpsGmailGetEmailParams extends VoltOpsGmailBaseParams {
|
|
2217
|
+
messageId: string;
|
|
2218
|
+
format?: "full" | "minimal" | "raw" | "metadata";
|
|
2219
|
+
}
|
|
2220
|
+
interface VoltOpsGmailGetThreadParams extends VoltOpsGmailBaseParams {
|
|
2221
|
+
threadId: string;
|
|
2222
|
+
format?: "full" | "minimal" | "raw" | "metadata";
|
|
2223
|
+
}
|
|
2149
2224
|
type VoltOpsActionsApi = {
|
|
2150
2225
|
airtable: {
|
|
2151
2226
|
createRecord: (params: VoltOpsAirtableCreateRecordParams) => Promise<VoltOpsActionExecutionResult>;
|
|
@@ -2176,6 +2251,13 @@ type VoltOpsActionsApi = {
|
|
|
2176
2251
|
addMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2177
2252
|
removeMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2178
2253
|
};
|
|
2254
|
+
gmail: {
|
|
2255
|
+
sendEmail: (params: VoltOpsGmailSendEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2256
|
+
replyToEmail: (params: VoltOpsGmailReplyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2257
|
+
searchEmail: (params: VoltOpsGmailSearchParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2258
|
+
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2259
|
+
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2260
|
+
};
|
|
2179
2261
|
};
|
|
2180
2262
|
interface VoltOpsEvalsApi {
|
|
2181
2263
|
runs: {
|
|
@@ -2518,6 +2600,14 @@ interface ManagedMemoryWorkingMemoryInput {
|
|
|
2518
2600
|
interface ManagedMemorySetWorkingMemoryInput extends ManagedMemoryWorkingMemoryInput {
|
|
2519
2601
|
content: string;
|
|
2520
2602
|
}
|
|
2603
|
+
interface ManagedMemoryQueryWorkflowRunsInput {
|
|
2604
|
+
workflowId?: string;
|
|
2605
|
+
status?: WorkflowStateEntry["status"];
|
|
2606
|
+
from?: Date;
|
|
2607
|
+
to?: Date;
|
|
2608
|
+
limit?: number;
|
|
2609
|
+
offset?: number;
|
|
2610
|
+
}
|
|
2521
2611
|
interface ManagedMemoryWorkflowStateUpdateInput {
|
|
2522
2612
|
executionId: string;
|
|
2523
2613
|
updates: Partial<WorkflowStateEntry>;
|
|
@@ -2544,6 +2634,8 @@ interface ManagedMemoryWorkflowStatesClient {
|
|
|
2544
2634
|
get(databaseId: string, executionId: string): Promise<WorkflowStateEntry | null>;
|
|
2545
2635
|
set(databaseId: string, executionId: string, state: WorkflowStateEntry): Promise<void>;
|
|
2546
2636
|
update(databaseId: string, input: ManagedMemoryWorkflowStateUpdateInput): Promise<void>;
|
|
2637
|
+
list(databaseId: string, input: ManagedMemoryQueryWorkflowRunsInput): Promise<WorkflowStateEntry[]>;
|
|
2638
|
+
query(databaseId: string, input: ManagedMemoryQueryWorkflowRunsInput): Promise<WorkflowStateEntry[]>;
|
|
2547
2639
|
listSuspended(databaseId: string, workflowId: string): Promise<WorkflowStateEntry[]>;
|
|
2548
2640
|
}
|
|
2549
2641
|
interface ManagedMemoryStepsClient {
|
|
@@ -2603,6 +2695,13 @@ declare class VoltOpsActionsClient {
|
|
|
2603
2695
|
addMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2604
2696
|
removeMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2605
2697
|
};
|
|
2698
|
+
readonly gmail: {
|
|
2699
|
+
sendEmail: (params: VoltOpsGmailSendEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2700
|
+
replyToEmail: (params: VoltOpsGmailReplyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2701
|
+
searchEmail: (params: VoltOpsGmailSearchParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2702
|
+
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2703
|
+
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2704
|
+
};
|
|
2606
2705
|
constructor(transport: VoltOpsActionsTransport, options?: {
|
|
2607
2706
|
useProjectEndpoint?: boolean;
|
|
2608
2707
|
});
|
|
@@ -2618,6 +2717,11 @@ declare class VoltOpsActionsClient {
|
|
|
2618
2717
|
private deleteSlackMessage;
|
|
2619
2718
|
private searchSlackMessages;
|
|
2620
2719
|
private executeSlackAction;
|
|
2720
|
+
private sendGmailEmail;
|
|
2721
|
+
private replyGmailEmail;
|
|
2722
|
+
private searchGmailEmails;
|
|
2723
|
+
private getGmailEmail;
|
|
2724
|
+
private getGmailThread;
|
|
2621
2725
|
private sendDiscordMessage;
|
|
2622
2726
|
private sendDiscordWebhookMessage;
|
|
2623
2727
|
private deleteDiscordMessage;
|
|
@@ -2644,6 +2748,7 @@ declare class VoltOpsActionsClient {
|
|
|
2644
2748
|
private ensureAirtableCredential;
|
|
2645
2749
|
private ensureSlackCredential;
|
|
2646
2750
|
private ensureDiscordCredential;
|
|
2751
|
+
private ensureGmailCredential;
|
|
2647
2752
|
private normalizeCredentialMetadata;
|
|
2648
2753
|
private normalizeIdentifier;
|
|
2649
2754
|
private ensureRecord;
|
|
@@ -2651,6 +2756,12 @@ declare class VoltOpsActionsClient {
|
|
|
2651
2756
|
private sanitizeSortArray;
|
|
2652
2757
|
private normalizePositiveInteger;
|
|
2653
2758
|
private trimString;
|
|
2759
|
+
private normalizeEmailList;
|
|
2760
|
+
private normalizeGmailBodyType;
|
|
2761
|
+
private normalizeGmailFormat;
|
|
2762
|
+
private normalizeGmailAttachments;
|
|
2763
|
+
private buildGmailSendInput;
|
|
2764
|
+
private executeGmailAction;
|
|
2654
2765
|
private postActionExecution;
|
|
2655
2766
|
private unwrapActionResponse;
|
|
2656
2767
|
private mapActionExecution;
|
|
@@ -2747,7 +2858,7 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
|
|
|
2747
2858
|
private getManagedMemoryWorkflowState;
|
|
2748
2859
|
private setManagedMemoryWorkflowState;
|
|
2749
2860
|
private updateManagedMemoryWorkflowState;
|
|
2750
|
-
private
|
|
2861
|
+
private getManagedMemoryWorkflowStates;
|
|
2751
2862
|
private saveManagedMemoryConversationSteps;
|
|
2752
2863
|
private getManagedMemoryConversationSteps;
|
|
2753
2864
|
/**
|
|
@@ -7136,6 +7247,7 @@ interface RegisteredWorkflow {
|
|
|
7136
7247
|
inputSchema?: any;
|
|
7137
7248
|
suspendSchema?: any;
|
|
7138
7249
|
resumeSchema?: any;
|
|
7250
|
+
resultSchema?: any;
|
|
7139
7251
|
}
|
|
7140
7252
|
/**
|
|
7141
7253
|
* Singleton registry for managing workflows and their execution history
|
|
@@ -7224,6 +7336,10 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
|
|
|
7224
7336
|
stepsCount: number;
|
|
7225
7337
|
status: "idle";
|
|
7226
7338
|
steps: SerializedWorkflowStep[];
|
|
7339
|
+
inputSchema: any;
|
|
7340
|
+
resultSchema: any;
|
|
7341
|
+
suspendSchema: any;
|
|
7342
|
+
resumeSchema: any;
|
|
7227
7343
|
} | null;
|
|
7228
7344
|
}
|
|
7229
7345
|
|
|
@@ -8428,6 +8544,7 @@ interface ServerProviderDeps {
|
|
|
8428
8544
|
getWorkflowsForApi(): unknown[];
|
|
8429
8545
|
getWorkflowDetailForApi(id: string): unknown;
|
|
8430
8546
|
getWorkflowCount(): number;
|
|
8547
|
+
getAllWorkflowIds(): string[];
|
|
8431
8548
|
on(event: string, handler: (...args: any[]) => void): void;
|
|
8432
8549
|
off(event: string, handler: (...args: any[]) => void): void;
|
|
8433
8550
|
activeExecutions: Map<string, WorkflowSuspendController>;
|
|
@@ -9181,6 +9298,17 @@ declare class InMemoryStorageAdapter implements StorageAdapter {
|
|
|
9181
9298
|
* Get workflow state by execution ID
|
|
9182
9299
|
*/
|
|
9183
9300
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
9301
|
+
/**
|
|
9302
|
+
* Query workflow states with optional filters
|
|
9303
|
+
*/
|
|
9304
|
+
queryWorkflowRuns(query: {
|
|
9305
|
+
workflowId?: string;
|
|
9306
|
+
status?: WorkflowStateEntry["status"];
|
|
9307
|
+
from?: Date;
|
|
9308
|
+
to?: Date;
|
|
9309
|
+
limit?: number;
|
|
9310
|
+
offset?: number;
|
|
9311
|
+
}): Promise<WorkflowStateEntry[]>;
|
|
9184
9312
|
/**
|
|
9185
9313
|
* Set workflow state
|
|
9186
9314
|
*/
|
|
@@ -10051,4 +10179,4 @@ declare class VoltAgent {
|
|
|
10051
10179
|
*/
|
|
10052
10180
|
declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
|
|
10053
10181
|
|
|
10054
|
-
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 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 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 };
|
|
10182
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -895,6 +895,14 @@ interface WorkflowStateEntry {
|
|
|
895
895
|
createdAt: Date;
|
|
896
896
|
updatedAt: Date;
|
|
897
897
|
}
|
|
898
|
+
interface WorkflowRunQuery {
|
|
899
|
+
workflowId?: string;
|
|
900
|
+
status?: WorkflowStateEntry["status"];
|
|
901
|
+
from?: Date;
|
|
902
|
+
to?: Date;
|
|
903
|
+
limit?: number;
|
|
904
|
+
offset?: number;
|
|
905
|
+
}
|
|
898
906
|
/**
|
|
899
907
|
* Working memory scope - conversation or user level
|
|
900
908
|
*/
|
|
@@ -1060,6 +1068,7 @@ interface StorageAdapter {
|
|
|
1060
1068
|
scope: WorkingMemoryScope;
|
|
1061
1069
|
}): Promise<void>;
|
|
1062
1070
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
1071
|
+
queryWorkflowRuns(query: WorkflowRunQuery): Promise<WorkflowStateEntry[]>;
|
|
1063
1072
|
setWorkflowState(executionId: string, state: WorkflowStateEntry): Promise<void>;
|
|
1064
1073
|
updateWorkflowState(executionId: string, updates: Partial<WorkflowStateEntry>): Promise<void>;
|
|
1065
1074
|
getSuspendedWorkflowStates(workflowId: string): Promise<WorkflowStateEntry[]>;
|
|
@@ -1509,6 +1518,10 @@ declare class Memory {
|
|
|
1509
1518
|
* Get workflow state by execution ID
|
|
1510
1519
|
*/
|
|
1511
1520
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Query workflow states with filters
|
|
1523
|
+
*/
|
|
1524
|
+
queryWorkflowRuns(query: WorkflowRunQuery): Promise<WorkflowStateEntry[]>;
|
|
1512
1525
|
/**
|
|
1513
1526
|
* Set workflow state
|
|
1514
1527
|
*/
|
|
@@ -1973,6 +1986,23 @@ type VoltOpsDiscordCredential = VoltOpsStoredCredentialRef | WithCredentialMetad
|
|
|
1973
1986
|
}> | WithCredentialMetadata<{
|
|
1974
1987
|
webhookUrl: string;
|
|
1975
1988
|
}>;
|
|
1989
|
+
type VoltOpsGmailCredential = VoltOpsStoredCredentialRef | WithCredentialMetadata<{
|
|
1990
|
+
accessToken?: string;
|
|
1991
|
+
refreshToken?: string;
|
|
1992
|
+
clientId?: string;
|
|
1993
|
+
clientSecret?: string;
|
|
1994
|
+
tokenType?: string;
|
|
1995
|
+
expiresAt?: string;
|
|
1996
|
+
}> | WithCredentialMetadata<{
|
|
1997
|
+
clientEmail: string;
|
|
1998
|
+
privateKey: string;
|
|
1999
|
+
subject?: string | null;
|
|
2000
|
+
}>;
|
|
2001
|
+
interface VoltOpsGmailAttachment {
|
|
2002
|
+
filename?: string;
|
|
2003
|
+
content: string;
|
|
2004
|
+
contentType?: string;
|
|
2005
|
+
}
|
|
1976
2006
|
interface VoltOpsAirtableCreateRecordParams {
|
|
1977
2007
|
credential: VoltOpsAirtableCredential;
|
|
1978
2008
|
baseId: string;
|
|
@@ -2146,6 +2176,51 @@ interface VoltOpsDiscordMemberRoleParams extends VoltOpsDiscordBaseParams {
|
|
|
2146
2176
|
userId: string;
|
|
2147
2177
|
roleId: string;
|
|
2148
2178
|
}
|
|
2179
|
+
interface VoltOpsGmailBaseParams {
|
|
2180
|
+
credential: VoltOpsGmailCredential;
|
|
2181
|
+
actionId?: string;
|
|
2182
|
+
catalogId?: string;
|
|
2183
|
+
projectId?: string | null;
|
|
2184
|
+
}
|
|
2185
|
+
interface VoltOpsGmailSendEmailParams extends VoltOpsGmailBaseParams {
|
|
2186
|
+
to: string | string[];
|
|
2187
|
+
cc?: string | string[];
|
|
2188
|
+
bcc?: string | string[];
|
|
2189
|
+
subject: string;
|
|
2190
|
+
body?: string;
|
|
2191
|
+
bodyType?: "text" | "html";
|
|
2192
|
+
htmlBody?: string;
|
|
2193
|
+
textBody?: string;
|
|
2194
|
+
replyTo?: string | string[];
|
|
2195
|
+
from?: string;
|
|
2196
|
+
senderName?: string;
|
|
2197
|
+
inReplyTo?: string;
|
|
2198
|
+
threadId?: string;
|
|
2199
|
+
attachments?: VoltOpsGmailAttachment[];
|
|
2200
|
+
draft?: boolean;
|
|
2201
|
+
}
|
|
2202
|
+
interface VoltOpsGmailReplyParams extends VoltOpsGmailSendEmailParams {
|
|
2203
|
+
}
|
|
2204
|
+
interface VoltOpsGmailSearchParams extends VoltOpsGmailBaseParams {
|
|
2205
|
+
from?: string;
|
|
2206
|
+
to?: string;
|
|
2207
|
+
subject?: string;
|
|
2208
|
+
label?: string;
|
|
2209
|
+
category?: string;
|
|
2210
|
+
after?: number;
|
|
2211
|
+
before?: number;
|
|
2212
|
+
maxResults?: number;
|
|
2213
|
+
pageToken?: string;
|
|
2214
|
+
query?: string;
|
|
2215
|
+
}
|
|
2216
|
+
interface VoltOpsGmailGetEmailParams extends VoltOpsGmailBaseParams {
|
|
2217
|
+
messageId: string;
|
|
2218
|
+
format?: "full" | "minimal" | "raw" | "metadata";
|
|
2219
|
+
}
|
|
2220
|
+
interface VoltOpsGmailGetThreadParams extends VoltOpsGmailBaseParams {
|
|
2221
|
+
threadId: string;
|
|
2222
|
+
format?: "full" | "minimal" | "raw" | "metadata";
|
|
2223
|
+
}
|
|
2149
2224
|
type VoltOpsActionsApi = {
|
|
2150
2225
|
airtable: {
|
|
2151
2226
|
createRecord: (params: VoltOpsAirtableCreateRecordParams) => Promise<VoltOpsActionExecutionResult>;
|
|
@@ -2176,6 +2251,13 @@ type VoltOpsActionsApi = {
|
|
|
2176
2251
|
addMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2177
2252
|
removeMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2178
2253
|
};
|
|
2254
|
+
gmail: {
|
|
2255
|
+
sendEmail: (params: VoltOpsGmailSendEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2256
|
+
replyToEmail: (params: VoltOpsGmailReplyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2257
|
+
searchEmail: (params: VoltOpsGmailSearchParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2258
|
+
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2259
|
+
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2260
|
+
};
|
|
2179
2261
|
};
|
|
2180
2262
|
interface VoltOpsEvalsApi {
|
|
2181
2263
|
runs: {
|
|
@@ -2518,6 +2600,14 @@ interface ManagedMemoryWorkingMemoryInput {
|
|
|
2518
2600
|
interface ManagedMemorySetWorkingMemoryInput extends ManagedMemoryWorkingMemoryInput {
|
|
2519
2601
|
content: string;
|
|
2520
2602
|
}
|
|
2603
|
+
interface ManagedMemoryQueryWorkflowRunsInput {
|
|
2604
|
+
workflowId?: string;
|
|
2605
|
+
status?: WorkflowStateEntry["status"];
|
|
2606
|
+
from?: Date;
|
|
2607
|
+
to?: Date;
|
|
2608
|
+
limit?: number;
|
|
2609
|
+
offset?: number;
|
|
2610
|
+
}
|
|
2521
2611
|
interface ManagedMemoryWorkflowStateUpdateInput {
|
|
2522
2612
|
executionId: string;
|
|
2523
2613
|
updates: Partial<WorkflowStateEntry>;
|
|
@@ -2544,6 +2634,8 @@ interface ManagedMemoryWorkflowStatesClient {
|
|
|
2544
2634
|
get(databaseId: string, executionId: string): Promise<WorkflowStateEntry | null>;
|
|
2545
2635
|
set(databaseId: string, executionId: string, state: WorkflowStateEntry): Promise<void>;
|
|
2546
2636
|
update(databaseId: string, input: ManagedMemoryWorkflowStateUpdateInput): Promise<void>;
|
|
2637
|
+
list(databaseId: string, input: ManagedMemoryQueryWorkflowRunsInput): Promise<WorkflowStateEntry[]>;
|
|
2638
|
+
query(databaseId: string, input: ManagedMemoryQueryWorkflowRunsInput): Promise<WorkflowStateEntry[]>;
|
|
2547
2639
|
listSuspended(databaseId: string, workflowId: string): Promise<WorkflowStateEntry[]>;
|
|
2548
2640
|
}
|
|
2549
2641
|
interface ManagedMemoryStepsClient {
|
|
@@ -2603,6 +2695,13 @@ declare class VoltOpsActionsClient {
|
|
|
2603
2695
|
addMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2604
2696
|
removeMemberRole: (params: VoltOpsDiscordMemberRoleParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2605
2697
|
};
|
|
2698
|
+
readonly gmail: {
|
|
2699
|
+
sendEmail: (params: VoltOpsGmailSendEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2700
|
+
replyToEmail: (params: VoltOpsGmailReplyParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2701
|
+
searchEmail: (params: VoltOpsGmailSearchParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2702
|
+
getEmail: (params: VoltOpsGmailGetEmailParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2703
|
+
getThread: (params: VoltOpsGmailGetThreadParams) => Promise<VoltOpsActionExecutionResult>;
|
|
2704
|
+
};
|
|
2606
2705
|
constructor(transport: VoltOpsActionsTransport, options?: {
|
|
2607
2706
|
useProjectEndpoint?: boolean;
|
|
2608
2707
|
});
|
|
@@ -2618,6 +2717,11 @@ declare class VoltOpsActionsClient {
|
|
|
2618
2717
|
private deleteSlackMessage;
|
|
2619
2718
|
private searchSlackMessages;
|
|
2620
2719
|
private executeSlackAction;
|
|
2720
|
+
private sendGmailEmail;
|
|
2721
|
+
private replyGmailEmail;
|
|
2722
|
+
private searchGmailEmails;
|
|
2723
|
+
private getGmailEmail;
|
|
2724
|
+
private getGmailThread;
|
|
2621
2725
|
private sendDiscordMessage;
|
|
2622
2726
|
private sendDiscordWebhookMessage;
|
|
2623
2727
|
private deleteDiscordMessage;
|
|
@@ -2644,6 +2748,7 @@ declare class VoltOpsActionsClient {
|
|
|
2644
2748
|
private ensureAirtableCredential;
|
|
2645
2749
|
private ensureSlackCredential;
|
|
2646
2750
|
private ensureDiscordCredential;
|
|
2751
|
+
private ensureGmailCredential;
|
|
2647
2752
|
private normalizeCredentialMetadata;
|
|
2648
2753
|
private normalizeIdentifier;
|
|
2649
2754
|
private ensureRecord;
|
|
@@ -2651,6 +2756,12 @@ declare class VoltOpsActionsClient {
|
|
|
2651
2756
|
private sanitizeSortArray;
|
|
2652
2757
|
private normalizePositiveInteger;
|
|
2653
2758
|
private trimString;
|
|
2759
|
+
private normalizeEmailList;
|
|
2760
|
+
private normalizeGmailBodyType;
|
|
2761
|
+
private normalizeGmailFormat;
|
|
2762
|
+
private normalizeGmailAttachments;
|
|
2763
|
+
private buildGmailSendInput;
|
|
2764
|
+
private executeGmailAction;
|
|
2654
2765
|
private postActionExecution;
|
|
2655
2766
|
private unwrapActionResponse;
|
|
2656
2767
|
private mapActionExecution;
|
|
@@ -2747,7 +2858,7 @@ declare class VoltOpsClient implements VoltOpsClient$1 {
|
|
|
2747
2858
|
private getManagedMemoryWorkflowState;
|
|
2748
2859
|
private setManagedMemoryWorkflowState;
|
|
2749
2860
|
private updateManagedMemoryWorkflowState;
|
|
2750
|
-
private
|
|
2861
|
+
private getManagedMemoryWorkflowStates;
|
|
2751
2862
|
private saveManagedMemoryConversationSteps;
|
|
2752
2863
|
private getManagedMemoryConversationSteps;
|
|
2753
2864
|
/**
|
|
@@ -7136,6 +7247,7 @@ interface RegisteredWorkflow {
|
|
|
7136
7247
|
inputSchema?: any;
|
|
7137
7248
|
suspendSchema?: any;
|
|
7138
7249
|
resumeSchema?: any;
|
|
7250
|
+
resultSchema?: any;
|
|
7139
7251
|
}
|
|
7140
7252
|
/**
|
|
7141
7253
|
* Singleton registry for managing workflows and their execution history
|
|
@@ -7224,6 +7336,10 @@ declare class WorkflowRegistry extends SimpleEventEmitter {
|
|
|
7224
7336
|
stepsCount: number;
|
|
7225
7337
|
status: "idle";
|
|
7226
7338
|
steps: SerializedWorkflowStep[];
|
|
7339
|
+
inputSchema: any;
|
|
7340
|
+
resultSchema: any;
|
|
7341
|
+
suspendSchema: any;
|
|
7342
|
+
resumeSchema: any;
|
|
7227
7343
|
} | null;
|
|
7228
7344
|
}
|
|
7229
7345
|
|
|
@@ -8428,6 +8544,7 @@ interface ServerProviderDeps {
|
|
|
8428
8544
|
getWorkflowsForApi(): unknown[];
|
|
8429
8545
|
getWorkflowDetailForApi(id: string): unknown;
|
|
8430
8546
|
getWorkflowCount(): number;
|
|
8547
|
+
getAllWorkflowIds(): string[];
|
|
8431
8548
|
on(event: string, handler: (...args: any[]) => void): void;
|
|
8432
8549
|
off(event: string, handler: (...args: any[]) => void): void;
|
|
8433
8550
|
activeExecutions: Map<string, WorkflowSuspendController>;
|
|
@@ -9181,6 +9298,17 @@ declare class InMemoryStorageAdapter implements StorageAdapter {
|
|
|
9181
9298
|
* Get workflow state by execution ID
|
|
9182
9299
|
*/
|
|
9183
9300
|
getWorkflowState(executionId: string): Promise<WorkflowStateEntry | null>;
|
|
9301
|
+
/**
|
|
9302
|
+
* Query workflow states with optional filters
|
|
9303
|
+
*/
|
|
9304
|
+
queryWorkflowRuns(query: {
|
|
9305
|
+
workflowId?: string;
|
|
9306
|
+
status?: WorkflowStateEntry["status"];
|
|
9307
|
+
from?: Date;
|
|
9308
|
+
to?: Date;
|
|
9309
|
+
limit?: number;
|
|
9310
|
+
offset?: number;
|
|
9311
|
+
}): Promise<WorkflowStateEntry[]>;
|
|
9184
9312
|
/**
|
|
9185
9313
|
* Set workflow state
|
|
9186
9314
|
*/
|
|
@@ -10051,4 +10179,4 @@ declare class VoltAgent {
|
|
|
10051
10179
|
*/
|
|
10052
10180
|
declare function convertUsage(usage: LanguageModelUsage | undefined): UsageInfo | undefined;
|
|
10053
10181
|
|
|
10054
|
-
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 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 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 };
|
|
10182
|
+
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 };
|