@mastra/client-js 0.0.0-error-handler-fix-20251020202607 → 0.0.0-esbuild-bundle-worker-20260807182016

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +9405 -3
  2. package/LICENSE.md +15 -0
  3. package/README.md +11 -13
  4. package/dist/_types/@ai-sdk_provider/dist/index.d.ts +1587 -0
  5. package/dist/_types/@ai-sdk_provider-utils/dist/index.d.ts +379 -0
  6. package/dist/_types/@ai-sdk_ui-utils/dist/index.d.ts +820 -0
  7. package/dist/agent-learning.d.ts +182 -0
  8. package/dist/agent-learning.d.ts.map +1 -0
  9. package/dist/client.d.ts +767 -80
  10. package/dist/client.d.ts.map +1 -1
  11. package/dist/docs/SKILL.md +52 -0
  12. package/dist/docs/assets/SOURCE_MAP.json +6 -0
  13. package/dist/docs/references/docs-agents-a2a.md +340 -0
  14. package/dist/docs/references/docs-editor-overview.md +349 -0
  15. package/dist/docs/references/docs-long-running-agents-schedules.md +201 -0
  16. package/dist/docs/references/docs-long-running-agents-signals.md +426 -0
  17. package/dist/docs/references/docs-server-auth-auth0.md +262 -0
  18. package/dist/docs/references/docs-server-auth-clerk.md +154 -0
  19. package/dist/docs/references/docs-server-auth-firebase.md +294 -0
  20. package/dist/docs/references/docs-server-auth-jwt.md +116 -0
  21. package/dist/docs/references/docs-server-auth-supabase.md +139 -0
  22. package/dist/docs/references/docs-server-auth-workos.md +271 -0
  23. package/dist/docs/references/docs-server-mastra-client.md +323 -0
  24. package/dist/docs/references/reference-ai-sdk-to-ai-sdk-messages.md +97 -0
  25. package/dist/docs/references/reference-ai-sdk-to-ai-sdk-stream.md +282 -0
  26. package/dist/docs/references/reference-ai-sdk-to-ai-sdk-v4-messages.md +81 -0
  27. package/dist/docs/references/reference-ai-sdk-to-ai-sdk-v5-messages.md +78 -0
  28. package/dist/docs/references/reference-client-js-agents.md +959 -0
  29. package/dist/docs/references/reference-client-js-conversations.md +137 -0
  30. package/dist/docs/references/reference-client-js-error-handling.md +18 -0
  31. package/dist/docs/references/reference-client-js-logs.md +26 -0
  32. package/dist/docs/references/reference-client-js-mastra-client.md +96 -0
  33. package/dist/docs/references/reference-client-js-memory.md +237 -0
  34. package/dist/docs/references/reference-client-js-observability.md +183 -0
  35. package/dist/docs/references/reference-client-js-responses.md +219 -0
  36. package/dist/docs/references/reference-client-js-telemetry.md +22 -0
  37. package/dist/docs/references/reference-client-js-tools.md +46 -0
  38. package/dist/docs/references/reference-client-js-vectors.md +81 -0
  39. package/dist/docs/references/reference-client-js-workflows.md +393 -0
  40. package/dist/docs/references/reference-editor-versioning.md +130 -0
  41. package/dist/index.cjs +7638 -3257
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.ts +9 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +7606 -3252
  46. package/dist/index.js.map +1 -1
  47. package/dist/observability/collector.d.ts +45 -0
  48. package/dist/observability/collector.d.ts.map +1 -0
  49. package/dist/observability/index.d.ts +14 -0
  50. package/dist/observability/index.d.ts.map +1 -0
  51. package/dist/observability/types.d.ts +27 -0
  52. package/dist/observability/types.d.ts.map +1 -0
  53. package/dist/resources/a2a.d.ts +80 -11
  54. package/dist/resources/a2a.d.ts.map +1 -1
  55. package/dist/resources/agent-builder.d.ts +57 -72
  56. package/dist/resources/agent-builder.d.ts.map +1 -1
  57. package/dist/resources/agent-controller.d.ts +589 -0
  58. package/dist/resources/agent-controller.d.ts.map +1 -0
  59. package/dist/resources/agent.d.ts +368 -59
  60. package/dist/resources/agent.d.ts.map +1 -1
  61. package/dist/resources/base.d.ts +2 -1
  62. package/dist/resources/base.d.ts.map +1 -1
  63. package/dist/resources/channels.d.ts +63 -0
  64. package/dist/resources/channels.d.ts.map +1 -0
  65. package/dist/resources/conversations.d.ts +15 -0
  66. package/dist/resources/conversations.d.ts.map +1 -0
  67. package/dist/resources/index.d.ts +14 -0
  68. package/dist/resources/index.d.ts.map +1 -1
  69. package/dist/resources/mcp-tool.d.ts +5 -5
  70. package/dist/resources/mcp-tool.d.ts.map +1 -1
  71. package/dist/resources/memory-thread.d.ts +51 -16
  72. package/dist/resources/memory-thread.d.ts.map +1 -1
  73. package/dist/resources/observability.d.ts +222 -19
  74. package/dist/resources/observability.d.ts.map +1 -1
  75. package/dist/resources/processor-provider.d.ts +15 -0
  76. package/dist/resources/processor-provider.d.ts.map +1 -0
  77. package/dist/resources/processor.d.ts +20 -0
  78. package/dist/resources/processor.d.ts.map +1 -0
  79. package/dist/resources/responses.d.ts +22 -0
  80. package/dist/resources/responses.d.ts.map +1 -0
  81. package/dist/resources/run.d.ts +256 -0
  82. package/dist/resources/run.d.ts.map +1 -0
  83. package/dist/resources/stored-agent.d.ts +112 -0
  84. package/dist/resources/stored-agent.d.ts.map +1 -0
  85. package/dist/resources/stored-mcp-client.d.ts +30 -0
  86. package/dist/resources/stored-mcp-client.d.ts.map +1 -0
  87. package/dist/resources/stored-prompt-block.d.ts +83 -0
  88. package/dist/resources/stored-prompt-block.d.ts.map +1 -0
  89. package/dist/resources/stored-scorer.d.ts +83 -0
  90. package/dist/resources/stored-scorer.d.ts.map +1 -0
  91. package/dist/resources/stored-skill.d.ts +40 -0
  92. package/dist/resources/stored-skill.d.ts.map +1 -0
  93. package/dist/resources/stored-workflow.d.ts +18 -0
  94. package/dist/resources/stored-workflow.d.ts.map +1 -0
  95. package/dist/resources/tool-provider.d.ts +80 -0
  96. package/dist/resources/tool-provider.d.ts.map +1 -0
  97. package/dist/resources/tool.d.ts +4 -4
  98. package/dist/resources/vector.d.ts +9 -9
  99. package/dist/resources/vector.d.ts.map +1 -1
  100. package/dist/resources/workflow.d.ts +32 -231
  101. package/dist/resources/workflow.d.ts.map +1 -1
  102. package/dist/resources/workspace.d.ts +129 -0
  103. package/dist/resources/workspace.d.ts.map +1 -0
  104. package/dist/route-types.generated.d.ts +18087 -0
  105. package/dist/route-types.generated.d.ts.map +1 -0
  106. package/dist/tools.d.ts +3 -6
  107. package/dist/tools.d.ts.map +1 -1
  108. package/dist/types.d.ts +2740 -197
  109. package/dist/types.d.ts.map +1 -1
  110. package/dist/utils/client-tool-model-output.d.ts +16 -0
  111. package/dist/utils/client-tool-model-output.d.ts.map +1 -0
  112. package/dist/utils/index.d.ts +65 -4
  113. package/dist/utils/index.d.ts.map +1 -1
  114. package/dist/utils/process-a2a-stream.d.ts +4 -0
  115. package/dist/utils/process-a2a-stream.d.ts.map +1 -0
  116. package/dist/utils/process-client-tools.d.ts.map +1 -1
  117. package/dist/utils/process-mastra-stream.d.ts +8 -7
  118. package/dist/utils/process-mastra-stream.d.ts.map +1 -1
  119. package/dist/utils/stream-transforms.d.ts +9 -0
  120. package/dist/utils/stream-transforms.d.ts.map +1 -0
  121. package/dist/utils/verify-agent-card-signature.d.ts +21 -0
  122. package/dist/utils/verify-agent-card-signature.d.ts.map +1 -0
  123. package/dist/utils/zod-to-json-schema.d.ts +11 -2
  124. package/dist/utils/zod-to-json-schema.d.ts.map +1 -1
  125. package/package.json +26 -19
  126. package/dist/resources/network-memory-thread.d.ts +0 -47
  127. package/dist/resources/network-memory-thread.d.ts.map +0 -1
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Hand-rolled in-memory OTLP/JSON collector for client-side tool
3
+ * observability.
4
+ *
5
+ * The full OTEL JS stack (`@opentelemetry/sdk-trace-base` +
6
+ * `@opentelemetry/sdk-logs` + `@opentelemetry/otlp-transformer`) would
7
+ * add ~100KB gzipped to the bundle for what amounts to a tree of nested
8
+ * span timers and a flat array of log records. Mastra users running
9
+ * sophisticated browser OTEL setups can plug their own collector
10
+ * implementation in via `ClientOptions.observability.collectorFactory`;
11
+ * this is the simple default.
12
+ *
13
+ * Output is OTLP/JSON conforming to the public spec at
14
+ * https://opentelemetry.io/docs/specs/otlp/. Only the fields the server
15
+ * proxy in `@mastra/observability` actually reads are populated.
16
+ */
17
+ import type { ObservabilityCollector, ObservabilityCollectorFactory } from './types.js';
18
+ /**
19
+ * Default factory used when the user opts into the
20
+ * `@mastra/client-js/observability` subpath.
21
+ */
22
+ export declare const createObservabilityCollector: ObservabilityCollectorFactory;
23
+ /**
24
+ * Returns the collector active inside the currently-running client
25
+ * tool's `execute` function, or `undefined` when no collector is in
26
+ * scope (e.g. when running outside a client tool, or when the user has
27
+ * not opted into the `@mastra/client-js/observability` subpath).
28
+ *
29
+ * This accessor is browser-safe and best-effort. Prefer the `observe`
30
+ * object passed to `clientTool.execute(args, { observe })`; it is
31
+ * scoped to the current tool invocation and does not rely on ambient
32
+ * async context.
33
+ *
34
+ * ```ts
35
+ * import { getCurrentObservabilityCollector } from '@mastra/client-js/observability';
36
+ *
37
+ * execute: async input => {
38
+ * const collector = getCurrentObservabilityCollector();
39
+ * collector?.log('info', 'starting work');
40
+ * const result = await collector?.span('http GET /users', () => fetch(...));
41
+ * }
42
+ * ```
43
+ */
44
+ export declare function getCurrentObservabilityCollector(): ObservabilityCollector | undefined;
45
+ //# sourceMappingURL=collector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/observability/collector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAgRrF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,6BACI,CAAC;AAMhD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gCAAgC,IAAI,sBAAsB,GAAG,SAAS,CAErF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Client observability internals.
3
+ *
4
+ * These files implement the in-memory OTLP/JSON collector that buffers
5
+ * spans and logs from inside client-side execute functions. The
6
+ * collector is created automatically by the SDK whenever the server
7
+ * sends a W3C trace context carrier — no user configuration needed.
8
+ *
9
+ * Users interact via `observe` on the tool execution context, not
10
+ * with the collector directly.
11
+ */
12
+ export { createObservabilityCollector } from './collector.js';
13
+ export type { ObservabilityCollector, ObservabilityCollectorFactory } from './types.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/observability/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC3D,YAAY,EAAE,sBAAsB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Client observability types for @mastra/client-js.
3
+ *
4
+ * These are internal to the SDK — users interact via `observe` on the
5
+ * tool execution context, not with the collector directly.
6
+ */
7
+ import type { ClientObservabilityCarrier, ClientObservabilityPayload } from '@mastra/core/observability';
8
+ /**
9
+ * Per-invocation collector that buffers spans and logs from inside a
10
+ * client-side execute function. Created automatically by the SDK when
11
+ * the server sends a W3C carrier on a tool-call chunk.
12
+ */
13
+ export interface ObservabilityCollector {
14
+ /** The W3C carrier this collector is parented under. */
15
+ readonly parentContext: ClientObservabilityCarrier;
16
+ /** Wrap an async operation in a child span. */
17
+ span<T>(name: string, fn: () => Promise<T> | T, attributes?: Record<string, unknown>): Promise<T>;
18
+ /** Record a structured log entry against the current innermost span. */
19
+ log(level: 'debug' | 'info' | 'warn' | 'error' | 'fatal', message: string, data?: Record<string, unknown>): void;
20
+ /** Run a function with this collector as the active context. */
21
+ withContext<T>(fn: () => Promise<T> | T): Promise<T>;
22
+ /** Drain all buffered spans and logs into an OTLP/JSON payload. */
23
+ flush(): ClientObservabilityPayload;
24
+ }
25
+ /** Factory that creates a collector from a W3C carrier. */
26
+ export type ObservabilityCollectorFactory = (parentContext: ClientObservabilityCarrier) => ObservabilityCollector;
27
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/observability/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAEzG;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,wDAAwD;IACxD,QAAQ,CAAC,aAAa,EAAE,0BAA0B,CAAC;IAEnD,+CAA+C;IAC/C,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAElG,wEAAwE;IACxE,GAAG,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEjH,gEAAgE;IAChE,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAErD,mEAAmE;IACnE,KAAK,IAAI,0BAA0B,CAAC;CACrC;AAED,2DAA2D;AAC3D,MAAM,MAAM,6BAA6B,GAAG,CAAC,aAAa,EAAE,0BAA0B,KAAK,sBAAsB,CAAC"}
@@ -1,6 +1,17 @@
1
- import type { AgentCard, GetTaskResponse, MessageSendParams, SendMessageResponse, SendStreamingMessageResponse, Task, TaskQueryParams } from '@mastra/core/a2a';
1
+ import type { AgentCard, DeleteTaskPushNotificationConfigParams, GetTaskPushNotificationConfigParams, GetTaskResponse, ListTaskPushNotificationConfigParams, Message, MessageSendParams, SendMessageResponse, Task, TaskArtifactUpdateEvent, TaskIdParams, TaskPushNotificationConfig, TaskQueryParams, TaskStatusUpdateEvent } from '@mastra/core/a2a/client';
2
+ import type { AgentCard as AgentCardV1, CancelTaskRequest as CancelTaskRequestV1, GetTaskRequest as GetTaskRequestV1, ListTasksRequest as ListTasksRequestV1, ListTasksResponse as ListTasksResponseV1, SendMessageRequest as SendMessageRequestV1, SendMessageResponse as SendMessageResponseV1, StreamResponse as StreamResponseV1, SubscribeToTaskRequest as SubscribeToTaskRequestV1, Task as TaskV1 } from '@mastra/core/a2a/v1';
2
3
  import type { ClientOptions } from '../types.js';
4
+ import type { AgentCardSignatureKeyProviderInput, AgentCardVerificationKey, VerifyAgentCardSignatureOptions } from '../utils/verify-agent-card-signature.js';
3
5
  import { BaseResource } from './base.js';
6
+ export type A2AStreamEventData = Message | Task | TaskStatusUpdateEvent | TaskArtifactUpdateEvent;
7
+ export type SendMessageResult = Message | Task;
8
+ export type { AgentCardSignatureKeyProviderInput, AgentCardVerificationKey, VerifyAgentCardSignatureOptions };
9
+ /**
10
+ * @experimental Agent Card verification may evolve as A2A JS signing support settles.
11
+ */
12
+ export type GetAgentCardOptions = {
13
+ verifySignature?: VerifyAgentCardSignatureOptions;
14
+ };
4
15
  /**
5
16
  * Class for interacting with an agent via the A2A protocol
6
17
  */
@@ -8,34 +19,92 @@ export declare class A2A extends BaseResource {
8
19
  private agentId;
9
20
  constructor(options: ClientOptions, agentId: string);
10
21
  /**
11
- * Get the agent card with metadata about the agent
22
+ * Get the agent card with metadata about the agent.
23
+ * @param options - Optional Agent Card verification settings
12
24
  * @returns Promise containing the agent card information
13
25
  */
14
- getCard(): Promise<AgentCard>;
26
+ getAgentCard(options?: GetAgentCardOptions): Promise<AgentCard>;
27
+ /**
28
+ * @deprecated Use getAgentCard() instead.
29
+ */
30
+ getCard(options?: GetAgentCardOptions): Promise<AgentCard>;
31
+ /**
32
+ * Get the authenticated extended agent card.
33
+ * @returns Promise containing the authenticated extended agent card
34
+ */
35
+ getExtendedAgentCard(): Promise<AgentCard>;
15
36
  /**
16
- * Send a message to the agent and gets a message or task response
37
+ * @deprecated Use sendMessageStream() for the streaming experience.
38
+ * Send a message to the agent and gets a message or task response.
17
39
  * @param params - Parameters for the task
18
- * @returns Promise containing the response
40
+ * @returns Promise containing the JSON-RPC response envelope
19
41
  */
20
42
  sendMessage(params: MessageSendParams): Promise<SendMessageResponse>;
21
43
  /**
22
- * Sends a message to an agent to initiate/continue a task and subscribes
44
+ * Sends a message to an agent to initiate or continue a task and subscribes
23
45
  * the client to real-time updates for that task via Server-Sent Events (SSE).
24
46
  * @param params - Parameters for the task
25
- * @returns A stream of Server-Sent Events. Each SSE `data` field contains a `SendStreamingMessageResponse`
47
+ * @returns An async generator of typed A2A stream events
26
48
  */
27
- sendStreamingMessage(params: MessageSendParams): Promise<AsyncIterable<SendStreamingMessageResponse>>;
49
+ sendMessageStream(params: MessageSendParams): AsyncGenerator<A2AStreamEventData, void, undefined>;
28
50
  /**
29
- * Get the status and result of a task
51
+ * @deprecated Use sendMessageStream() instead.
52
+ */
53
+ sendStreamingMessage(params: MessageSendParams): Promise<Response>;
54
+ /**
55
+ * Get the status and result of a task.
30
56
  * @param params - Parameters for querying the task
31
- * @returns Promise containing the task response
57
+ * @returns Promise containing the JSON-RPC response envelope
32
58
  */
33
59
  getTask(params: TaskQueryParams): Promise<GetTaskResponse>;
34
60
  /**
35
- * Cancel a running task
61
+ * Cancel a running task.
36
62
  * @param params - Parameters identifying the task to cancel
37
63
  * @returns Promise containing the task response
38
64
  */
39
65
  cancelTask(params: TaskQueryParams): Promise<Task>;
66
+ /**
67
+ * Resume a task stream for an existing task.
68
+ * @param params - Parameters identifying the task to resubscribe to
69
+ * @returns An async generator of typed A2A stream events
70
+ */
71
+ resubscribeTask(params: TaskIdParams): AsyncGenerator<A2AStreamEventData, void, undefined>;
72
+ /**
73
+ * Set push notification config for a task.
74
+ * @param params - Push notification configuration for the task
75
+ * @returns Promise containing the push notification configuration
76
+ */
77
+ setTaskPushNotificationConfig(params: TaskPushNotificationConfig): Promise<TaskPushNotificationConfig>;
78
+ /**
79
+ * Get push notification config for a task.
80
+ * @param params - Parameters identifying the task
81
+ * @returns Promise containing the push notification configuration
82
+ */
83
+ getTaskPushNotificationConfig(params: GetTaskPushNotificationConfigParams): Promise<TaskPushNotificationConfig>;
84
+ /**
85
+ * List push notification configs for a task.
86
+ * @param params - Parameters identifying the task
87
+ * @returns Promise containing the push notification configurations
88
+ */
89
+ listTaskPushNotificationConfig(params: ListTaskPushNotificationConfigParams): Promise<TaskPushNotificationConfig[]>;
90
+ /**
91
+ * Delete a push notification config for a task.
92
+ * @param params - Parameters identifying the config to delete
93
+ * @returns Promise that resolves when the config is deleted
94
+ */
95
+ deleteTaskPushNotificationConfig(params: DeleteTaskPushNotificationConfigParams): Promise<void>;
96
+ }
97
+ /** Client for the A2A Protocol v1.0 wire format. */
98
+ export declare class A2AV1 extends BaseResource {
99
+ private agentId;
100
+ constructor(options: ClientOptions, agentId: string);
101
+ private rpc;
102
+ getAgentCard(): Promise<AgentCardV1>;
103
+ sendMessage(params: SendMessageRequestV1): Promise<SendMessageResponseV1>;
104
+ sendMessageStream(params: SendMessageRequestV1): AsyncGenerator<StreamResponseV1, void, undefined>;
105
+ getTask(params: GetTaskRequestV1): Promise<TaskV1>;
106
+ listTasks(params: ListTasksRequestV1): Promise<ListTasksResponseV1>;
107
+ cancelTask(params: CancelTaskRequestV1): Promise<TaskV1>;
108
+ resubscribeTask(params: SubscribeToTaskRequestV1): AsyncGenerator<StreamResponseV1, void, undefined>;
40
109
  }
41
110
  //# sourceMappingURL=a2a.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"a2a.d.ts","sourceRoot":"","sources":["../../src/resources/a2a.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,4BAA4B,EAC5B,IAAI,EACJ,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC;;GAEG;AACH,qBAAa,GAA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AAe,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc,CAAC,kBAAkB,EAAE,IAAI,EAAE,SAAS,CAAC;IAejG;;;;OAIG;IACG,6BAA6B,CAAC,MAAM,EAAE,0BAA0B,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAc5G;;;;OAIG;IACG,6BAA6B,CACjC,MAAM,EAAE,mCAAmC,GAC1C,OAAO,CAAC,0BAA0B,CAAC;IActC;;;;OAIG;IACG,8BAA8B,CAClC,MAAM,EAAE,oCAAoC,GAC3C,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAcxC;;;;OAIG;IACG,gCAAgC,CAAC,MAAM,EAAE,sCAAsC,GAAG,OAAO,CAAC,IAAI,CAAC;CAatG;AAED,oDAAoD;AACpD,qBAAa,KAAM,SAAQ,YAAY;IAGnC,OAAO,CAAC,OAAO;gBADf,OAAO,EAAE,aAAa,EACd,OAAO,EAAE,MAAM;YAKX,GAAG;IAeX,YAAY,IAAI,OAAO,CAAC,WAAW,CAAC;IAOpC,WAAW,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAKxE,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,cAAc,CAAC,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC;IAkBnG,OAAO,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC;IAKlD,SAAS,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAKnE,UAAU,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;IAKvD,eAAe,CAAC,MAAM,EAAE,wBAAwB,GAAG,cAAc,CAAC,gBAAgB,EAAE,IAAI,EAAE,SAAS,CAAC;CAiB5G"}
@@ -1,12 +1,12 @@
1
- import type { RuntimeContext } from '@mastra/core/runtime-context';
1
+ import type { RequestContext } from '@mastra/core/request-context';
2
2
  import type { WorkflowInfo } from '@mastra/core/workflows';
3
- import type { ClientOptions } from '../types.js';
3
+ import type { ClientOptions, ListWorkflowRunsParams } from '../types.js';
4
4
  import { BaseResource } from './base.js';
5
5
  export interface AgentBuilderActionRequest {
6
6
  /** Input data specific to the workflow type */
7
7
  inputData: any;
8
- /** Runtime context for the action execution */
9
- runtimeContext?: RuntimeContext;
8
+ /** Request context for the action execution */
9
+ requestContext?: RequestContext;
10
10
  }
11
11
  export interface AgentBuilderActionResult {
12
12
  success: boolean;
@@ -25,136 +25,121 @@ export declare class AgentBuilder extends BaseResource {
25
25
  private actionId;
26
26
  constructor(options: ClientOptions, actionId: string);
27
27
  transformWorkflowResult(result: any): AgentBuilderActionResult;
28
- /**
29
- * @deprecated Use createRunAsync() instead.
30
- * @throws {Error} Always throws an error directing users to use createRunAsync()
31
- */
32
- createRun(_params?: {
33
- runId?: string;
34
- }): Promise<{
35
- runId: string;
36
- }>;
28
+ private createRecordParserTransform;
37
29
  /**
38
30
  * Creates a new agent builder action run and returns the runId.
39
- * This calls `/api/agent-builder/:actionId/create-run`.
31
+ * This calls `/agent-builder/:actionId/create-run`.
40
32
  */
41
- createRunAsync(params?: {
33
+ createRun(params?: {
42
34
  runId?: string;
43
35
  }): Promise<{
44
36
  runId: string;
45
37
  }>;
46
38
  /**
47
39
  * Starts agent builder action asynchronously and waits for completion.
48
- * This calls `/api/agent-builder/:actionId/start-async`.
40
+ * This calls `/agent-builder/:actionId/start-async`.
49
41
  */
50
42
  startAsync(params: AgentBuilderActionRequest, runId?: string): Promise<AgentBuilderActionResult>;
51
43
  /**
52
44
  * Starts an existing agent builder action run.
53
- * This calls `/api/agent-builder/:actionId/start`.
45
+ * This calls `/agent-builder/:actionId/start`.
54
46
  */
55
47
  startActionRun(params: AgentBuilderActionRequest, runId: string): Promise<{
56
48
  message: string;
57
49
  }>;
58
50
  /**
59
51
  * Resumes a suspended agent builder action step.
60
- * This calls `/api/agent-builder/:actionId/resume`.
52
+ * This calls `/agent-builder/:actionId/resume`.
61
53
  */
62
54
  resume(params: {
63
- step: string | string[];
55
+ step?: string | string[];
64
56
  resumeData?: unknown;
65
- runtimeContext?: RuntimeContext;
57
+ requestContext?: RequestContext;
66
58
  }, runId: string): Promise<{
67
59
  message: string;
68
60
  }>;
69
61
  /**
70
62
  * Resumes a suspended agent builder action step asynchronously.
71
- * This calls `/api/agent-builder/:actionId/resume-async`.
63
+ * This calls `/agent-builder/:actionId/resume-async`.
72
64
  */
73
65
  resumeAsync(params: {
74
- step: string | string[];
66
+ step?: string | string[];
75
67
  resumeData?: unknown;
76
- runtimeContext?: RuntimeContext;
68
+ requestContext?: RequestContext;
77
69
  }, runId: string): Promise<AgentBuilderActionResult>;
78
70
  /**
79
- * Creates an async generator that processes a readable stream and yields action records
80
- * separated by the Record Separator character (\x1E)
81
- *
82
- * @param stream - The readable stream to process
83
- * @returns An async generator that yields parsed records
71
+ * Streams agent builder action progress in real-time.
72
+ * This calls `/agent-builder/:actionId/stream`.
84
73
  */
85
- private streamProcessor;
74
+ stream(params: AgentBuilderActionRequest, runId: string): Promise<globalThis.ReadableStream<{
75
+ type: string;
76
+ payload: any;
77
+ }>>;
86
78
  /**
87
- * Streams agent builder action progress in real-time.
88
- * This calls `/api/agent-builder/:actionId/stream`.
79
+ * Observes an existing agent builder action run stream.
80
+ * Replays cached execution from the beginning, then continues with live stream.
81
+ * This is the recommended method for recovery after page refresh/hot reload.
82
+ * This calls `/agent-builder/:actionId/observe`
89
83
  */
90
- stream(params: AgentBuilderActionRequest, runId?: string): Promise<import("stream/web").ReadableStream<{
84
+ observeStream(params: {
85
+ runId: string;
86
+ }): Promise<globalThis.ReadableStream<{
91
87
  type: string;
92
88
  payload: any;
93
89
  }>>;
94
90
  /**
95
- * Streams agent builder action progress in real-time using VNext streaming.
96
- * This calls `/api/agent-builder/:actionId/streamVNext`.
91
+ * Observes an existing agent builder action run stream using legacy streaming API.
92
+ * Replays cached execution from the beginning, then continues with live stream.
93
+ * This calls `/agent-builder/:actionId/observe-stream-legacy`.
97
94
  */
98
- streamVNext(params: AgentBuilderActionRequest, runId?: string): Promise<import("stream/web").ReadableStream<{
95
+ observeStreamLegacy(params: {
96
+ runId: string;
97
+ }): Promise<globalThis.ReadableStream<{
99
98
  type: string;
100
99
  payload: any;
101
100
  }>>;
102
101
  /**
103
- * Watches an existing agent builder action run by runId.
104
- * This is used for hot reload recovery - it loads the existing run state
105
- * and streams any remaining progress.
106
- * This calls `/api/agent-builder/:actionId/watch`.
102
+ * Resumes a suspended agent builder action and streams the results.
103
+ * This calls `/agent-builder/:actionId/resume-stream`.
107
104
  */
108
- watch({ runId, eventType }: {
105
+ resumeStream(params: {
109
106
  runId: string;
110
- eventType?: 'watch' | 'watch-v2';
111
- }, onRecord: (record: {
107
+ step: string | string[];
108
+ resumeData?: unknown;
109
+ requestContext?: RequestContext;
110
+ }): Promise<globalThis.ReadableStream<{
112
111
  type: string;
113
112
  payload: any;
114
- }) => void): Promise<void>;
113
+ }>>;
115
114
  /**
116
115
  * Gets a specific action run by its ID.
117
- * This calls `/api/agent-builder/:actionId/runs/:runId`.
118
- */
119
- runById(runId: string): Promise<unknown>;
116
+ * This calls `/agent-builder/:actionId/runs/:runId`.
117
+ * @param runId - The ID of the action run to retrieve
118
+ * @param options - Optional configuration
119
+ * @param options.fields - Optional array of fields to return (e.g., ['result', 'steps']). Available fields: result, error, payload, steps, activeStepsPath, serializedStepGraph. Metadata fields (runId, workflowName, resourceId, createdAt, updatedAt) and status are always included.
120
+ * @param options.withNestedWorkflows - Whether to include nested workflow data in steps. Defaults to true. Set to false for better performance when you don't need nested workflow details.
121
+ * @returns Promise containing the action run details with metadata and processed execution state
122
+ */
123
+ runById(runId: string, options?: {
124
+ fields?: string[];
125
+ withNestedWorkflows?: boolean;
126
+ }): Promise<unknown>;
120
127
  /**
121
128
  * Gets details about this agent builder action.
122
- * This calls `/api/agent-builder/:actionId`.
129
+ * This calls `/agent-builder/:actionId`.
123
130
  */
124
131
  details(): Promise<WorkflowInfo>;
125
132
  /**
126
133
  * Gets all runs for this agent builder action.
127
- * This calls `/api/agent-builder/:actionId/runs`.
128
- */
129
- runs(params?: {
130
- fromDate?: Date;
131
- toDate?: Date;
132
- limit?: number;
133
- offset?: number;
134
- resourceId?: string;
135
- }): Promise<unknown>;
136
- /**
137
- * Gets the execution result of an agent builder action run.
138
- * This calls `/api/agent-builder/:actionId/runs/:runId/execution-result`.
134
+ * This calls `/agent-builder/:actionId/runs`.
139
135
  */
140
- runExecutionResult(runId: string): Promise<unknown>;
136
+ runs(params?: ListWorkflowRunsParams): Promise<unknown>;
141
137
  /**
142
138
  * Cancels an agent builder action run.
143
- * This calls `/api/agent-builder/:actionId/runs/:runId/cancel`.
139
+ * This calls `/agent-builder/:actionId/runs/:runId/cancel`.
144
140
  */
145
141
  cancelRun(runId: string): Promise<{
146
142
  message: string;
147
143
  }>;
148
- /**
149
- * Sends an event to an agent builder action run.
150
- * This calls `/api/agent-builder/:actionId/runs/:runId/send-event`.
151
- */
152
- sendRunEvent(params: {
153
- runId: string;
154
- event: string;
155
- data: unknown;
156
- }): Promise<{
157
- message: string;
158
- }>;
159
144
  }
160
145
  //# sourceMappingURL=agent-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-builder.d.ts","sourceRoot":"","sources":["../../src/resources/agent-builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAItC,MAAM,WAAW,yBAAyB;IACxC,+CAA+C;IAC/C,SAAS,EAAE,GAAG,CAAC;IACf,+CAA+C;IAC/C,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,OAA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