@axlsdk/axl 0.11.5 → 0.12.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,
@@ -1358,6 +1389,10 @@ declare class AxlRuntime extends EventEmitter {
1358
1389
  abort(executionId: string): void;
1359
1390
  /** Get execution details by ID. */
1360
1391
  getExecution(executionId: string): Promise<ExecutionInfo | undefined>;
1392
+ /** Save an eval result to history. */
1393
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1394
+ /** Get eval result history (most recent first). */
1395
+ getEvalHistory(): Promise<EvalHistoryEntry[]>;
1361
1396
  /** List pending human decisions. */
1362
1397
  getPendingDecisions(): Promise<PendingDecision[]>;
1363
1398
  /** Resolve a pending human decision. */
@@ -1689,6 +1724,8 @@ declare class MemoryStore implements StateStore {
1689
1724
  private decisions;
1690
1725
  private executionStates;
1691
1726
  private memories;
1727
+ private executionHistory;
1728
+ private evalHistory;
1692
1729
  constructor();
1693
1730
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1694
1731
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
@@ -1714,6 +1751,11 @@ declare class MemoryStore implements StateStore {
1714
1751
  value: unknown;
1715
1752
  }>>;
1716
1753
  deleteMemory(scope: string, key: string): Promise<void>;
1754
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1755
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1756
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1757
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1758
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1717
1759
  listSessions(): Promise<string[]>;
1718
1760
  close(): Promise<void>;
1719
1761
  deleteCheckpoints(executionId: string): Promise<void>;
@@ -1751,6 +1793,11 @@ declare class SQLiteStore implements StateStore {
1751
1793
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1752
1794
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1753
1795
  listPendingExecutions(): Promise<string[]>;
1796
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1797
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1798
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1799
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1800
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1754
1801
  listSessions(): Promise<string[]>;
1755
1802
  saveMemory(scope: string, key: string, value: unknown): Promise<void>;
1756
1803
  getMemory(scope: string, key: string): Promise<unknown | null>;
@@ -1788,6 +1835,10 @@ declare class RedisStore implements StateStore {
1788
1835
  private decisionsKey;
1789
1836
  private executionStateKey;
1790
1837
  private pendingExecSetKey;
1838
+ private execHistoryKey;
1839
+ private execHistorySetKey;
1840
+ private evalHistoryKey;
1841
+ private evalHistorySetKey;
1791
1842
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1792
1843
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
1793
1844
  getLatestCheckpoint(executionId: string): Promise<{
@@ -1805,6 +1856,11 @@ declare class RedisStore implements StateStore {
1805
1856
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1806
1857
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1807
1858
  listPendingExecutions(): Promise<string[]>;
1859
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1860
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1861
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1862
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1863
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1808
1864
  listSessions(): Promise<string[]>;
1809
1865
  /** Close the Redis connection. */
1810
1866
  close(): Promise<void>;
@@ -1877,4 +1933,4 @@ declare class NoopSpanManager implements SpanManager {
1877
1933
  */
1878
1934
  declare function createSpanManager(config?: TelemetryConfig): Promise<SpanManager>;
1879
1935
 
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 };
1936
+ 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,
@@ -1358,6 +1389,10 @@ declare class AxlRuntime extends EventEmitter {
1358
1389
  abort(executionId: string): void;
1359
1390
  /** Get execution details by ID. */
1360
1391
  getExecution(executionId: string): Promise<ExecutionInfo | undefined>;
1392
+ /** Save an eval result to history. */
1393
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1394
+ /** Get eval result history (most recent first). */
1395
+ getEvalHistory(): Promise<EvalHistoryEntry[]>;
1361
1396
  /** List pending human decisions. */
1362
1397
  getPendingDecisions(): Promise<PendingDecision[]>;
1363
1398
  /** Resolve a pending human decision. */
@@ -1689,6 +1724,8 @@ declare class MemoryStore implements StateStore {
1689
1724
  private decisions;
1690
1725
  private executionStates;
1691
1726
  private memories;
1727
+ private executionHistory;
1728
+ private evalHistory;
1692
1729
  constructor();
1693
1730
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1694
1731
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
@@ -1714,6 +1751,11 @@ declare class MemoryStore implements StateStore {
1714
1751
  value: unknown;
1715
1752
  }>>;
1716
1753
  deleteMemory(scope: string, key: string): Promise<void>;
1754
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1755
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1756
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1757
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1758
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1717
1759
  listSessions(): Promise<string[]>;
1718
1760
  close(): Promise<void>;
1719
1761
  deleteCheckpoints(executionId: string): Promise<void>;
@@ -1751,6 +1793,11 @@ declare class SQLiteStore implements StateStore {
1751
1793
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1752
1794
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1753
1795
  listPendingExecutions(): Promise<string[]>;
1796
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1797
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1798
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1799
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1800
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1754
1801
  listSessions(): Promise<string[]>;
1755
1802
  saveMemory(scope: string, key: string, value: unknown): Promise<void>;
1756
1803
  getMemory(scope: string, key: string): Promise<unknown | null>;
@@ -1788,6 +1835,10 @@ declare class RedisStore implements StateStore {
1788
1835
  private decisionsKey;
1789
1836
  private executionStateKey;
1790
1837
  private pendingExecSetKey;
1838
+ private execHistoryKey;
1839
+ private execHistorySetKey;
1840
+ private evalHistoryKey;
1841
+ private evalHistorySetKey;
1791
1842
  saveCheckpoint(executionId: string, step: number, data: unknown): Promise<void>;
1792
1843
  getCheckpoint(executionId: string, step: number): Promise<unknown | null>;
1793
1844
  getLatestCheckpoint(executionId: string): Promise<{
@@ -1805,6 +1856,11 @@ declare class RedisStore implements StateStore {
1805
1856
  saveExecutionState(executionId: string, state: ExecutionState): Promise<void>;
1806
1857
  getExecutionState(executionId: string): Promise<ExecutionState | null>;
1807
1858
  listPendingExecutions(): Promise<string[]>;
1859
+ saveExecution(execution: ExecutionInfo): Promise<void>;
1860
+ getExecution(executionId: string): Promise<ExecutionInfo | null>;
1861
+ listExecutions(limit?: number): Promise<ExecutionInfo[]>;
1862
+ saveEvalResult(entry: EvalHistoryEntry): Promise<void>;
1863
+ listEvalResults(limit?: number): Promise<EvalHistoryEntry[]>;
1808
1864
  listSessions(): Promise<string[]>;
1809
1865
  /** Close the Redis connection. */
1810
1866
  close(): Promise<void>;
@@ -1877,4 +1933,4 @@ declare class NoopSpanManager implements SpanManager {
1877
1933
  */
1878
1934
  declare function createSpanManager(config?: TelemetryConfig): Promise<SpanManager>;
1879
1935
 
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 };
1936
+ 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 };