@axlsdk/axl 0.11.6 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -285,6 +285,11 @@ type TraceEvent = {
285
285
  promptVersion?: string;
286
286
  model?: string;
287
287
  cost?: number;
288
+ tokens?: {
289
+ input?: number;
290
+ output?: number;
291
+ reasoning?: number;
292
+ };
288
293
  duration?: number;
289
294
  data?: unknown;
290
295
  timestamp: number;
@@ -553,11 +558,28 @@ interface StateStore {
553
558
  }>>;
554
559
  /** Delete a memory entry by key. */
555
560
  deleteMemory?(scope: string, key: string): Promise<void>;
561
+ /** Save a completed/failed execution to history. */
562
+ saveExecution?(execution: ExecutionInfo): Promise<void>;
563
+ /** Get a specific execution by ID from history. */
564
+ getExecution?(executionId: string): Promise<ExecutionInfo | null>;
565
+ /** List recent executions (most recent first). */
566
+ listExecutions?(limit?: number): Promise<ExecutionInfo[]>;
567
+ /** Save an eval result to history. */
568
+ saveEvalResult?(entry: EvalHistoryEntry): Promise<void>;
569
+ /** List eval history entries (most recent first). */
570
+ listEvalResults?(limit?: number): Promise<EvalHistoryEntry[]>;
556
571
  /** List all session IDs (used by Studio session browser). */
557
572
  listSessions?(): Promise<string[]>;
558
573
  close?(): Promise<void>;
559
574
  deleteCheckpoints?(executionId: string): Promise<void>;
560
575
  }
576
+ /** Persisted eval history entry. */
577
+ type EvalHistoryEntry = {
578
+ id: string;
579
+ eval: string;
580
+ timestamp: number;
581
+ data: unknown;
582
+ };
561
583
 
562
584
  /** Configuration for OpenTelemetry integration. */
563
585
  type TelemetryConfig = {
@@ -1275,6 +1297,10 @@ declare class AxlRuntime extends EventEmitter {
1275
1297
  private mcpManager?;
1276
1298
  private memoryManager?;
1277
1299
  private spanManager;
1300
+ private historicalExecutions;
1301
+ private historicalExecutionsLoadPromise;
1302
+ private evalHistory;
1303
+ private evalHistoryLoadPromise;
1278
1304
  constructor(config?: AxlConfig);
1279
1305
  /**
1280
1306
  * Initialize MCP servers configured in the config.
@@ -1289,6 +1315,11 @@ declare class AxlRuntime extends EventEmitter {
1289
1315
  /** Get the MCP manager (if initialized). */
1290
1316
  getMcpManager(): McpManager | undefined;
1291
1317
  private createStateStore;
1318
+ /**
1319
+ * Persist a completed/failed execution to the state store (fire-and-forget)
1320
+ * and move it from the active executions map to the historical cache.
1321
+ */
1322
+ private persistExecution;
1292
1323
  /** Register a workflow with the runtime. */
1293
1324
  register(workflow: Workflow<any, any>): void;
1294
1325
  /** Register standalone tools for Studio introspection and direct testing. */
@@ -1336,8 +1367,8 @@ declare class AxlRuntime extends EventEmitter {
1336
1367
  } | undefined;
1337
1368
  /** Run a registered eval by name. */
1338
1369
  runRegisteredEval(name: string): Promise<unknown>;
1339
- /** Get all execution info (running + completed). */
1340
- getExecutions(): ExecutionInfo[];
1370
+ /** Get all execution info (running + completed + historical). */
1371
+ getExecutions(): Promise<ExecutionInfo[]>;
1341
1372
  /**
1342
1373
  * Create a WorkflowContext for ad-hoc use (evals, tool testing, prototyping).
1343
1374
  * The context has access to the runtime's providers, state store, MCP manager,
@@ -1346,6 +1377,11 @@ declare class AxlRuntime extends EventEmitter {
1346
1377
  createContext(options?: CreateContextOptions): WorkflowContext;
1347
1378
  /** Register a custom provider instance. */
1348
1379
  registerProvider(name: string, provider: Provider): void;
1380
+ /** Resolve a provider:model URI to a Provider instance and model name. */
1381
+ resolveProvider(uri: string): {
1382
+ provider: Provider;
1383
+ model: string;
1384
+ };
1349
1385
  /** Execute a workflow and return the result. */
1350
1386
  execute(name: string, input: unknown, options?: ExecuteOptions): Promise<unknown>;
1351
1387
  /** Execute a workflow and return a stream. */
@@ -1358,6 +1394,10 @@ declare class AxlRuntime extends EventEmitter {
1358
1394
  abort(executionId: string): void;
1359
1395
  /** Get execution details by ID. */
1360
1396
  getExecution(executionId: string): Promise<ExecutionInfo | undefined>;
1397
+ /** Save an eval result to history. */
1398
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1399
+ /** Get eval result history (most recent first). */
1400
+ getEvalHistory(): Promise<EvalHistoryEntry[]>;
1361
1401
  /** List pending human decisions. */
1362
1402
  getPendingDecisions(): Promise<PendingDecision[]>;
1363
1403
  /** Resolve a pending human decision. */
@@ -1689,6 +1729,8 @@ declare class MemoryStore implements StateStore {
1689
1729
  private decisions;
1690
1730
  private executionStates;
1691
1731
  private memories;
1732
+ private executionHistory;
1733
+ private evalHistory;
1692
1734
  constructor();
1693
1735
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1694
1736
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
@@ -1714,6 +1756,11 @@ declare class MemoryStore implements StateStore {
1714
1756
  value: unknown;
1715
1757
  }>>;
1716
1758
  deleteMemory(scope: string, key: string): Promise<void>;
1759
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1760
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1761
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1762
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1763
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1717
1764
  listSessions(): Promise<string[]>;
1718
1765
  close(): Promise<void>;
1719
1766
  deleteCheckpoints(executionId: string): Promise<void>;
@@ -1751,6 +1798,11 @@ declare class SQLiteStore implements StateStore {
1751
1798
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1752
1799
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1753
1800
  listPendingExecutions(): Promise<string[]>;
1801
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1802
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1803
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1804
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1805
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1754
1806
  listSessions(): Promise<string[]>;
1755
1807
  saveMemory(scope: string, key: string, value: unknown): Promise<void>;
1756
1808
  getMemory(scope: string, key: string): Promise<unknown | null>;
@@ -1788,6 +1840,10 @@ declare class RedisStore implements StateStore {
1788
1840
  private decisionsKey;
1789
1841
  private executionStateKey;
1790
1842
  private pendingExecSetKey;
1843
+ private execHistoryKey;
1844
+ private execHistorySetKey;
1845
+ private evalHistoryKey;
1846
+ private evalHistorySetKey;
1791
1847
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1792
1848
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
1793
1849
  getLatestCheckpoint(executionId: string): Promise<{
@@ -1805,6 +1861,11 @@ declare class RedisStore implements StateStore {
1805
1861
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1806
1862
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1807
1863
  listPendingExecutions(): Promise<string[]>;
1864
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1865
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1866
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1867
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1868
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1808
1869
  listSessions(): Promise<string[]>;
1809
1870
  /** Close the Redis connection. */
1810
1871
  close(): Promise<void>;
@@ -1877,4 +1938,4 @@ declare class NoopSpanManager implements SpanManager {
1877
1938
  */
1878
1939
  declare function createSpanManager(config?: TelemetryConfig): Promise<SpanManager>;
1879
1940
 
1880
- export { type Agent, type AgentCallInfo, type AgentConfig, AnthropicProvider, type AskOptions, type AwaitHumanOptions, type AxlConfig, AxlError, AxlRuntime, AxlStream, BudgetExceededError, type BudgetOptions, type BudgetResult, type ChatMessage, type ChatOptions, type CreateContextOptions, type DelegateOptions, type Effort, type Embedder, type ExecutionInfo, type ExecutionState, GeminiProvider, type GuardrailBlockHandler, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HumanDecision, InMemoryVectorStore, type InputGuardrail, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, MemoryManager, MemoryStore, NoConsensus, NoopSpanManager, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type Provider, type ProviderAdapter, ProviderRegistry, type ProviderResponse, QuorumNotMet, type RaceOptions, type RecallOptions, RedisStore, type RememberOptions, type ResolvedThinkingOptions, type Result, type RetryPolicy, SQLiteStore, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, type StateStore, type StreamChunk, type StreamEvent, type TelemetryConfig, TimeoutError, type Tool, type ToolCallMessage, type ToolChoice, type ToolConfig, ToolDenied, type ToolHooks, type TraceEvent, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, agent, createSpanManager, defineConfig, resolveThinkingOptions, tool, workflow, zodToJsonSchema };
1941
+ export { type Agent, type AgentCallInfo, type AgentConfig, AnthropicProvider, type AskOptions, type AwaitHumanOptions, type AxlConfig, AxlError, AxlRuntime, AxlStream, BudgetExceededError, type BudgetOptions, type BudgetResult, type ChatMessage, type ChatOptions, type CreateContextOptions, type DelegateOptions, type Effort, type Embedder, type EvalHistoryEntry, type ExecutionInfo, type ExecutionState, GeminiProvider, type GuardrailBlockHandler, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HumanDecision, InMemoryVectorStore, type InputGuardrail, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, MemoryManager, MemoryStore, NoConsensus, NoopSpanManager, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type Provider, type ProviderAdapter, ProviderRegistry, type ProviderResponse, QuorumNotMet, type RaceOptions, type RecallOptions, RedisStore, type RememberOptions, type ResolvedThinkingOptions, type Result, type RetryPolicy, SQLiteStore, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, type StateStore, type StreamChunk, type StreamEvent, type TelemetryConfig, TimeoutError, type Tool, type ToolCallMessage, type ToolChoice, type ToolConfig, ToolDenied, type ToolHooks, type TraceEvent, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, agent, createSpanManager, defineConfig, resolveThinkingOptions, tool, workflow, zodToJsonSchema };
package/dist/index.d.ts CHANGED
@@ -285,6 +285,11 @@ type TraceEvent = {
285
285
  promptVersion?: string;
286
286
  model?: string;
287
287
  cost?: number;
288
+ tokens?: {
289
+ input?: number;
290
+ output?: number;
291
+ reasoning?: number;
292
+ };
288
293
  duration?: number;
289
294
  data?: unknown;
290
295
  timestamp: number;
@@ -553,11 +558,28 @@ interface StateStore {
553
558
  }>>;
554
559
  /** Delete a memory entry by key. */
555
560
  deleteMemory?(scope: string, key: string): Promise<void>;
561
+ /** Save a completed/failed execution to history. */
562
+ saveExecution?(execution: ExecutionInfo): Promise<void>;
563
+ /** Get a specific execution by ID from history. */
564
+ getExecution?(executionId: string): Promise<ExecutionInfo | null>;
565
+ /** List recent executions (most recent first). */
566
+ listExecutions?(limit?: number): Promise<ExecutionInfo[]>;
567
+ /** Save an eval result to history. */
568
+ saveEvalResult?(entry: EvalHistoryEntry): Promise<void>;
569
+ /** List eval history entries (most recent first). */
570
+ listEvalResults?(limit?: number): Promise<EvalHistoryEntry[]>;
556
571
  /** List all session IDs (used by Studio session browser). */
557
572
  listSessions?(): Promise<string[]>;
558
573
  close?(): Promise<void>;
559
574
  deleteCheckpoints?(executionId: string): Promise<void>;
560
575
  }
576
+ /** Persisted eval history entry. */
577
+ type EvalHistoryEntry = {
578
+ id: string;
579
+ eval: string;
580
+ timestamp: number;
581
+ data: unknown;
582
+ };
561
583
 
562
584
  /** Configuration for OpenTelemetry integration. */
563
585
  type TelemetryConfig = {
@@ -1275,6 +1297,10 @@ declare class AxlRuntime extends EventEmitter {
1275
1297
  private mcpManager?;
1276
1298
  private memoryManager?;
1277
1299
  private spanManager;
1300
+ private historicalExecutions;
1301
+ private historicalExecutionsLoadPromise;
1302
+ private evalHistory;
1303
+ private evalHistoryLoadPromise;
1278
1304
  constructor(config?: AxlConfig);
1279
1305
  /**
1280
1306
  * Initialize MCP servers configured in the config.
@@ -1289,6 +1315,11 @@ declare class AxlRuntime extends EventEmitter {
1289
1315
  /** Get the MCP manager (if initialized). */
1290
1316
  getMcpManager(): McpManager | undefined;
1291
1317
  private createStateStore;
1318
+ /**
1319
+ * Persist a completed/failed execution to the state store (fire-and-forget)
1320
+ * and move it from the active executions map to the historical cache.
1321
+ */
1322
+ private persistExecution;
1292
1323
  /** Register a workflow with the runtime. */
1293
1324
  register(workflow: Workflow<any, any>): void;
1294
1325
  /** Register standalone tools for Studio introspection and direct testing. */
@@ -1336,8 +1367,8 @@ declare class AxlRuntime extends EventEmitter {
1336
1367
  } | undefined;
1337
1368
  /** Run a registered eval by name. */
1338
1369
  runRegisteredEval(name: string): Promise<unknown>;
1339
- /** Get all execution info (running + completed). */
1340
- getExecutions(): ExecutionInfo[];
1370
+ /** Get all execution info (running + completed + historical). */
1371
+ getExecutions(): Promise<ExecutionInfo[]>;
1341
1372
  /**
1342
1373
  * Create a WorkflowContext for ad-hoc use (evals, tool testing, prototyping).
1343
1374
  * The context has access to the runtime's providers, state store, MCP manager,
@@ -1346,6 +1377,11 @@ declare class AxlRuntime extends EventEmitter {
1346
1377
  createContext(options?: CreateContextOptions): WorkflowContext;
1347
1378
  /** Register a custom provider instance. */
1348
1379
  registerProvider(name: string, provider: Provider): void;
1380
+ /** Resolve a provider:model URI to a Provider instance and model name. */
1381
+ resolveProvider(uri: string): {
1382
+ provider: Provider;
1383
+ model: string;
1384
+ };
1349
1385
  /** Execute a workflow and return the result. */
1350
1386
  execute(name: string, input: unknown, options?: ExecuteOptions): Promise<unknown>;
1351
1387
  /** Execute a workflow and return a stream. */
@@ -1358,6 +1394,10 @@ declare class AxlRuntime extends EventEmitter {
1358
1394
  abort(executionId: string): void;
1359
1395
  /** Get execution details by ID. */
1360
1396
  getExecution(executionId: string): Promise<ExecutionInfo | undefined>;
1397
+ /** Save an eval result to history. */
1398
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1399
+ /** Get eval result history (most recent first). */
1400
+ getEvalHistory(): Promise<EvalHistoryEntry[]>;
1361
1401
  /** List pending human decisions. */
1362
1402
  getPendingDecisions(): Promise<PendingDecision[]>;
1363
1403
  /** Resolve a pending human decision. */
@@ -1689,6 +1729,8 @@ declare class MemoryStore implements StateStore {
1689
1729
  private decisions;
1690
1730
  private executionStates;
1691
1731
  private memories;
1732
+ private executionHistory;
1733
+ private evalHistory;
1692
1734
  constructor();
1693
1735
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1694
1736
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
@@ -1714,6 +1756,11 @@ declare class MemoryStore implements StateStore {
1714
1756
  value: unknown;
1715
1757
  }>>;
1716
1758
  deleteMemory(scope: string, key: string): Promise<void>;
1759
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1760
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1761
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1762
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1763
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1717
1764
  listSessions(): Promise<string[]>;
1718
1765
  close(): Promise<void>;
1719
1766
  deleteCheckpoints(executionId: string): Promise<void>;
@@ -1751,6 +1798,11 @@ declare class SQLiteStore implements StateStore {
1751
1798
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1752
1799
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1753
1800
  listPendingExecutions(): Promise<string[]>;
1801
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1802
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1803
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1804
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1805
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1754
1806
  listSessions(): Promise<string[]>;
1755
1807
  saveMemory(scope: string, key: string, value: unknown): Promise<void>;
1756
1808
  getMemory(scope: string, key: string): Promise<unknown | null>;
@@ -1788,6 +1840,10 @@ declare class RedisStore implements StateStore {
1788
1840
  private decisionsKey;
1789
1841
  private executionStateKey;
1790
1842
  private pendingExecSetKey;
1843
+ private execHistoryKey;
1844
+ private execHistorySetKey;
1845
+ private evalHistoryKey;
1846
+ private evalHistorySetKey;
1791
1847
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1792
1848
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
1793
1849
  getLatestCheckpoint(executionId: string): Promise<{
@@ -1805,6 +1861,11 @@ declare class RedisStore implements StateStore {
1805
1861
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1806
1862
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1807
1863
  listPendingExecutions(): Promise<string[]>;
1864
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1865
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1866
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1867
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1868
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1808
1869
  listSessions(): Promise<string[]>;
1809
1870
  /** Close the Redis connection. */
1810
1871
  close(): Promise<void>;
@@ -1877,4 +1938,4 @@ declare class NoopSpanManager implements SpanManager {
1877
1938
  */
1878
1939
  declare function createSpanManager(config?: TelemetryConfig): Promise<SpanManager>;
1879
1940
 
1880
- export { type Agent, type AgentCallInfo, type AgentConfig, AnthropicProvider, type AskOptions, type AwaitHumanOptions, type AxlConfig, AxlError, AxlRuntime, AxlStream, BudgetExceededError, type BudgetOptions, type BudgetResult, type ChatMessage, type ChatOptions, type CreateContextOptions, type DelegateOptions, type Effort, type Embedder, type ExecutionInfo, type ExecutionState, GeminiProvider, type GuardrailBlockHandler, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HumanDecision, InMemoryVectorStore, type InputGuardrail, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, MemoryManager, MemoryStore, NoConsensus, NoopSpanManager, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type Provider, type ProviderAdapter, ProviderRegistry, type ProviderResponse, QuorumNotMet, type RaceOptions, type RecallOptions, RedisStore, type RememberOptions, type ResolvedThinkingOptions, type Result, type RetryPolicy, SQLiteStore, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, type StateStore, type StreamChunk, type StreamEvent, type TelemetryConfig, TimeoutError, type Tool, type ToolCallMessage, type ToolChoice, type ToolConfig, ToolDenied, type ToolHooks, type TraceEvent, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, agent, createSpanManager, defineConfig, resolveThinkingOptions, tool, workflow, zodToJsonSchema };
1941
+ export { type Agent, type AgentCallInfo, type AgentConfig, AnthropicProvider, type AskOptions, type AwaitHumanOptions, type AxlConfig, AxlError, AxlRuntime, AxlStream, BudgetExceededError, type BudgetOptions, type BudgetResult, type ChatMessage, type ChatOptions, type CreateContextOptions, type DelegateOptions, type Effort, type Embedder, type EvalHistoryEntry, type ExecutionInfo, type ExecutionState, GeminiProvider, type GuardrailBlockHandler, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HumanDecision, InMemoryVectorStore, type InputGuardrail, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, MemoryManager, MemoryStore, NoConsensus, NoopSpanManager, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type Provider, type ProviderAdapter, ProviderRegistry, type ProviderResponse, QuorumNotMet, type RaceOptions, type RecallOptions, RedisStore, type RememberOptions, type ResolvedThinkingOptions, type Result, type RetryPolicy, SQLiteStore, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, type StateStore, type StreamChunk, type StreamEvent, type TelemetryConfig, TimeoutError, type Tool, type ToolCallMessage, type ToolChoice, type ToolConfig, ToolDenied, type ToolHooks, type TraceEvent, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, agent, createSpanManager, defineConfig, resolveThinkingOptions, tool, workflow, zodToJsonSchema };