@mastra/server 0.0.0-separate-trace-data-from-component-20250501141108 → 0.0.0-trigger-playground-ui-package-20250506151043

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.
@@ -247,9 +247,15 @@ export declare function getVNextWorkflowByIdHandler({ mastra, workflowId }: VNex
247
247
  outputSchema: string | undefined;
248
248
  }>;
249
249
 
250
- export declare function getVNextWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRun']>>;
250
+ export declare function getVNextWorkflowRunByIdHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRunById']>>;
251
251
 
252
- export declare function getVNextWorkflowRunsHandler({ mastra, workflowId }: VNextWorkflowContext): Promise<WorkflowRuns>;
252
+ export declare function getVNextWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: VNextWorkflowContext & {
253
+ fromDate?: Date;
254
+ toDate?: Date;
255
+ limit?: number;
256
+ offset?: number;
257
+ resourceId?: string;
258
+ }): Promise<WorkflowRuns>;
253
259
 
254
260
  export declare function getVNextWorkflowsHandler({ mastra }: VNextWorkflowContext): Promise<any>;
255
261
 
@@ -265,7 +271,13 @@ export declare function getWorkflowByIdHandler({ mastra, workflowId }: WorkflowC
265
271
 
266
272
  export declare function getWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<Workflow['getRun']>>;
267
273
 
268
- export declare function getWorkflowRunsHandler({ mastra, workflowId }: WorkflowContext): Promise<WorkflowRuns>;
274
+ export declare function getWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
275
+ fromDate?: Date;
276
+ toDate?: Date;
277
+ limit?: number;
278
+ offset?: number;
279
+ resourceId?: string;
280
+ }): Promise<WorkflowRuns>;
269
281
 
270
282
  export declare function getWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
271
283
 
@@ -513,6 +525,8 @@ declare interface TelemetryContext extends Context {
513
525
  page?: number;
514
526
  perPage?: number;
515
527
  attribute?: string | string[];
528
+ fromDate?: Date;
529
+ toDate?: Date;
516
530
  };
517
531
  }
518
532
 
@@ -604,7 +618,7 @@ export declare namespace vNextWorkflows {
604
618
  export {
605
619
  getVNextWorkflowsHandler,
606
620
  getVNextWorkflowByIdHandler,
607
- getVNextWorkflowRunHandler,
621
+ getVNextWorkflowRunByIdHandler,
608
622
  createVNextWorkflowRunHandler,
609
623
  startAsyncVNextWorkflowHandler,
610
624
  startVNextWorkflowRunHandler,
@@ -247,9 +247,15 @@ export declare function getVNextWorkflowByIdHandler({ mastra, workflowId }: VNex
247
247
  outputSchema: string | undefined;
248
248
  }>;
249
249
 
250
- export declare function getVNextWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRun']>>;
250
+ export declare function getVNextWorkflowRunByIdHandler({ mastra, workflowId, runId, }: Pick<VNextWorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<NewWorkflow['getWorkflowRunById']>>;
251
251
 
252
- export declare function getVNextWorkflowRunsHandler({ mastra, workflowId }: VNextWorkflowContext): Promise<WorkflowRuns>;
252
+ export declare function getVNextWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: VNextWorkflowContext & {
253
+ fromDate?: Date;
254
+ toDate?: Date;
255
+ limit?: number;
256
+ offset?: number;
257
+ resourceId?: string;
258
+ }): Promise<WorkflowRuns>;
253
259
 
254
260
  export declare function getVNextWorkflowsHandler({ mastra }: VNextWorkflowContext): Promise<any>;
255
261
 
@@ -265,7 +271,13 @@ export declare function getWorkflowByIdHandler({ mastra, workflowId }: WorkflowC
265
271
 
266
272
  export declare function getWorkflowRunHandler({ mastra, workflowId, runId, }: Pick<WorkflowContext, 'mastra' | 'workflowId' | 'runId'>): Promise<ReturnType<Workflow['getRun']>>;
267
273
 
268
- export declare function getWorkflowRunsHandler({ mastra, workflowId }: WorkflowContext): Promise<WorkflowRuns>;
274
+ export declare function getWorkflowRunsHandler({ mastra, workflowId, fromDate, toDate, limit, offset, resourceId, }: WorkflowContext & {
275
+ fromDate?: Date;
276
+ toDate?: Date;
277
+ limit?: number;
278
+ offset?: number;
279
+ resourceId?: string;
280
+ }): Promise<WorkflowRuns>;
269
281
 
270
282
  export declare function getWorkflowsHandler({ mastra }: WorkflowContext): Promise<any>;
271
283
 
@@ -513,6 +525,8 @@ declare interface TelemetryContext extends Context {
513
525
  page?: number;
514
526
  perPage?: number;
515
527
  attribute?: string | string[];
528
+ fromDate?: Date;
529
+ toDate?: Date;
516
530
  };
517
531
  }
518
532
 
@@ -604,7 +618,7 @@ export declare namespace vNextWorkflows {
604
618
  export {
605
619
  getVNextWorkflowsHandler,
606
620
  getVNextWorkflowByIdHandler,
607
- getVNextWorkflowRunHandler,
621
+ getVNextWorkflowRunByIdHandler,
608
622
  createVNextWorkflowRunHandler,
609
623
  startAsyncVNextWorkflowHandler,
610
624
  startVNextWorkflowRunHandler,
@@ -290,13 +290,21 @@ async function resumeWorkflowHandler({
290
290
  return handleError(error, "Error resuming workflow");
291
291
  }
292
292
  }
293
- async function getWorkflowRunsHandler({ mastra, workflowId }) {
293
+ async function getWorkflowRunsHandler({
294
+ mastra,
295
+ workflowId,
296
+ fromDate,
297
+ toDate,
298
+ limit,
299
+ offset,
300
+ resourceId
301
+ }) {
294
302
  try {
295
303
  if (!workflowId) {
296
304
  throw new HTTPException(400, { message: "Workflow ID is required" });
297
305
  }
298
306
  const workflow = mastra.getWorkflow(workflowId);
299
- const workflowRuns = await workflow.getWorkflowRuns() || {
307
+ const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
300
308
  runs: [],
301
309
  total: 0
302
310
  };
@@ -22,7 +22,7 @@ async function getTelemetryHandler({ mastra, body }) {
22
22
  if (!body) {
23
23
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Body is required" });
24
24
  }
25
- const { name, scope, page, perPage, attribute } = body;
25
+ const { name, scope, page, perPage, attribute, fromDate, toDate } = body;
26
26
  const attributes = attribute ? Object.fromEntries(
27
27
  (Array.isArray(attribute) ? attribute : [attribute]).map((attr) => {
28
28
  const [key, value] = attr.split(":");
@@ -34,7 +34,9 @@ async function getTelemetryHandler({ mastra, body }) {
34
34
  scope,
35
35
  page: Number(page ?? 0),
36
36
  perPage: Number(perPage ?? 100),
37
- attributes
37
+ attributes,
38
+ fromDate: fromDate ? new Date(fromDate) : void 0,
39
+ toDate: toDate ? new Date(toDate) : void 0
38
40
  });
39
41
  return traces;
40
42
  } catch (error2) {
@@ -20,7 +20,7 @@ async function getTelemetryHandler({ mastra, body }) {
20
20
  if (!body) {
21
21
  throw new HTTPException(400, { message: "Body is required" });
22
22
  }
23
- const { name, scope, page, perPage, attribute } = body;
23
+ const { name, scope, page, perPage, attribute, fromDate, toDate } = body;
24
24
  const attributes = attribute ? Object.fromEntries(
25
25
  (Array.isArray(attribute) ? attribute : [attribute]).map((attr) => {
26
26
  const [key, value] = attr.split(":");
@@ -32,7 +32,9 @@ async function getTelemetryHandler({ mastra, body }) {
32
32
  scope,
33
33
  page: Number(page ?? 0),
34
34
  perPage: Number(perPage ?? 100),
35
- attributes
35
+ attributes,
36
+ fromDate: fromDate ? new Date(fromDate) : void 0,
37
+ toDate: toDate ? new Date(toDate) : void 0
36
38
  });
37
39
  return traces;
38
40
  } catch (error2) {
@@ -292,13 +292,21 @@ async function resumeWorkflowHandler({
292
292
  return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow");
293
293
  }
294
294
  }
295
- async function getWorkflowRunsHandler({ mastra, workflowId }) {
295
+ async function getWorkflowRunsHandler({
296
+ mastra,
297
+ workflowId,
298
+ fromDate,
299
+ toDate,
300
+ limit,
301
+ offset,
302
+ resourceId
303
+ }) {
296
304
  try {
297
305
  if (!workflowId) {
298
306
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
299
307
  }
300
308
  const workflow = mastra.getWorkflow(workflowId);
301
- const workflowRuns = await workflow.getWorkflowRuns() || {
309
+ const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
302
310
  runs: [],
303
311
  total: 0
304
312
  };
@@ -10,7 +10,7 @@ var vNextWorkflows_exports = {};
10
10
  chunkFV45V6WC_cjs.__export(vNextWorkflows_exports, {
11
11
  createVNextWorkflowRunHandler: () => createVNextWorkflowRunHandler,
12
12
  getVNextWorkflowByIdHandler: () => getVNextWorkflowByIdHandler,
13
- getVNextWorkflowRunHandler: () => getVNextWorkflowRunHandler,
13
+ getVNextWorkflowRunByIdHandler: () => getVNextWorkflowRunByIdHandler,
14
14
  getVNextWorkflowRunsHandler: () => getVNextWorkflowRunsHandler,
15
15
  getVNextWorkflowsHandler: () => getVNextWorkflowsHandler,
16
16
  resumeAsyncVNextWorkflowHandler: () => resumeAsyncVNextWorkflowHandler,
@@ -77,7 +77,7 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
77
77
  throw new chunkFV45V6WC_cjs.HTTPException(500, { message: error?.message || "Error getting workflow" });
78
78
  }
79
79
  }
80
- async function getVNextWorkflowRunHandler({
80
+ async function getVNextWorkflowRunByIdHandler({
81
81
  mastra,
82
82
  workflowId,
83
83
  runId
@@ -93,7 +93,7 @@ async function getVNextWorkflowRunHandler({
93
93
  if (!workflow) {
94
94
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow not found" });
95
95
  }
96
- const run = await workflow.getWorkflowRun(runId);
96
+ const run = await workflow.getWorkflowRunById(runId);
97
97
  if (!run) {
98
98
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
99
99
  }
@@ -161,7 +161,7 @@ async function startVNextWorkflowRunHandler({
161
161
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to start run" });
162
162
  }
163
163
  const workflow = mastra.vnext_getWorkflow(workflowId);
164
- const run = await workflow.getWorkflowRun(runId);
164
+ const run = await workflow.getWorkflowRunById(runId);
165
165
  if (!run) {
166
166
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
167
167
  }
@@ -188,7 +188,7 @@ async function watchVNextWorkflowHandler({
188
188
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "runId required to watch workflow" });
189
189
  }
190
190
  const workflow = mastra.vnext_getWorkflow(workflowId);
191
- const run = await workflow.getWorkflowRun(runId);
191
+ const run = await workflow.getWorkflowRunById(runId);
192
192
  if (!run) {
193
193
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
194
194
  }
@@ -239,7 +239,7 @@ async function resumeAsyncVNextWorkflowHandler({
239
239
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "step required to resume workflow" });
240
240
  }
241
241
  const workflow = mastra.vnext_getWorkflow(workflowId);
242
- const run = await workflow.getWorkflowRun(runId);
242
+ const run = await workflow.getWorkflowRunById(runId);
243
243
  if (!run) {
244
244
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
245
245
  }
@@ -272,7 +272,7 @@ async function resumeVNextWorkflowHandler({
272
272
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "step required to resume workflow" });
273
273
  }
274
274
  const workflow = mastra.vnext_getWorkflow(workflowId);
275
- const run = await workflow.getWorkflowRun(runId);
275
+ const run = await workflow.getWorkflowRunById(runId);
276
276
  if (!run) {
277
277
  throw new chunkFV45V6WC_cjs.HTTPException(404, { message: "Workflow run not found" });
278
278
  }
@@ -287,13 +287,21 @@ async function resumeVNextWorkflowHandler({
287
287
  return chunkZLBRQFDD_cjs.handleError(error, "Error resuming workflow");
288
288
  }
289
289
  }
290
- async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
290
+ async function getVNextWorkflowRunsHandler({
291
+ mastra,
292
+ workflowId,
293
+ fromDate,
294
+ toDate,
295
+ limit,
296
+ offset,
297
+ resourceId
298
+ }) {
291
299
  try {
292
300
  if (!workflowId) {
293
301
  throw new chunkFV45V6WC_cjs.HTTPException(400, { message: "Workflow ID is required" });
294
302
  }
295
303
  const workflow = mastra.vnext_getWorkflow(workflowId);
296
- const workflowRuns = await workflow.getWorkflowRuns() || {
304
+ const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
297
305
  runs: [],
298
306
  total: 0
299
307
  };
@@ -305,7 +313,7 @@ async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
305
313
 
306
314
  exports.createVNextWorkflowRunHandler = createVNextWorkflowRunHandler;
307
315
  exports.getVNextWorkflowByIdHandler = getVNextWorkflowByIdHandler;
308
- exports.getVNextWorkflowRunHandler = getVNextWorkflowRunHandler;
316
+ exports.getVNextWorkflowRunByIdHandler = getVNextWorkflowRunByIdHandler;
309
317
  exports.getVNextWorkflowRunsHandler = getVNextWorkflowRunsHandler;
310
318
  exports.getVNextWorkflowsHandler = getVNextWorkflowsHandler;
311
319
  exports.resumeAsyncVNextWorkflowHandler = resumeAsyncVNextWorkflowHandler;
@@ -8,7 +8,7 @@ var vNextWorkflows_exports = {};
8
8
  __export(vNextWorkflows_exports, {
9
9
  createVNextWorkflowRunHandler: () => createVNextWorkflowRunHandler,
10
10
  getVNextWorkflowByIdHandler: () => getVNextWorkflowByIdHandler,
11
- getVNextWorkflowRunHandler: () => getVNextWorkflowRunHandler,
11
+ getVNextWorkflowRunByIdHandler: () => getVNextWorkflowRunByIdHandler,
12
12
  getVNextWorkflowRunsHandler: () => getVNextWorkflowRunsHandler,
13
13
  getVNextWorkflowsHandler: () => getVNextWorkflowsHandler,
14
14
  resumeAsyncVNextWorkflowHandler: () => resumeAsyncVNextWorkflowHandler,
@@ -75,7 +75,7 @@ async function getVNextWorkflowByIdHandler({ mastra, workflowId }) {
75
75
  throw new HTTPException(500, { message: error?.message || "Error getting workflow" });
76
76
  }
77
77
  }
78
- async function getVNextWorkflowRunHandler({
78
+ async function getVNextWorkflowRunByIdHandler({
79
79
  mastra,
80
80
  workflowId,
81
81
  runId
@@ -91,7 +91,7 @@ async function getVNextWorkflowRunHandler({
91
91
  if (!workflow) {
92
92
  throw new HTTPException(404, { message: "Workflow not found" });
93
93
  }
94
- const run = await workflow.getWorkflowRun(runId);
94
+ const run = await workflow.getWorkflowRunById(runId);
95
95
  if (!run) {
96
96
  throw new HTTPException(404, { message: "Workflow run not found" });
97
97
  }
@@ -159,7 +159,7 @@ async function startVNextWorkflowRunHandler({
159
159
  throw new HTTPException(400, { message: "runId required to start run" });
160
160
  }
161
161
  const workflow = mastra.vnext_getWorkflow(workflowId);
162
- const run = await workflow.getWorkflowRun(runId);
162
+ const run = await workflow.getWorkflowRunById(runId);
163
163
  if (!run) {
164
164
  throw new HTTPException(404, { message: "Workflow run not found" });
165
165
  }
@@ -186,7 +186,7 @@ async function watchVNextWorkflowHandler({
186
186
  throw new HTTPException(400, { message: "runId required to watch workflow" });
187
187
  }
188
188
  const workflow = mastra.vnext_getWorkflow(workflowId);
189
- const run = await workflow.getWorkflowRun(runId);
189
+ const run = await workflow.getWorkflowRunById(runId);
190
190
  if (!run) {
191
191
  throw new HTTPException(404, { message: "Workflow run not found" });
192
192
  }
@@ -237,7 +237,7 @@ async function resumeAsyncVNextWorkflowHandler({
237
237
  throw new HTTPException(400, { message: "step required to resume workflow" });
238
238
  }
239
239
  const workflow = mastra.vnext_getWorkflow(workflowId);
240
- const run = await workflow.getWorkflowRun(runId);
240
+ const run = await workflow.getWorkflowRunById(runId);
241
241
  if (!run) {
242
242
  throw new HTTPException(404, { message: "Workflow run not found" });
243
243
  }
@@ -270,7 +270,7 @@ async function resumeVNextWorkflowHandler({
270
270
  throw new HTTPException(400, { message: "step required to resume workflow" });
271
271
  }
272
272
  const workflow = mastra.vnext_getWorkflow(workflowId);
273
- const run = await workflow.getWorkflowRun(runId);
273
+ const run = await workflow.getWorkflowRunById(runId);
274
274
  if (!run) {
275
275
  throw new HTTPException(404, { message: "Workflow run not found" });
276
276
  }
@@ -285,13 +285,21 @@ async function resumeVNextWorkflowHandler({
285
285
  return handleError(error, "Error resuming workflow");
286
286
  }
287
287
  }
288
- async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
288
+ async function getVNextWorkflowRunsHandler({
289
+ mastra,
290
+ workflowId,
291
+ fromDate,
292
+ toDate,
293
+ limit,
294
+ offset,
295
+ resourceId
296
+ }) {
289
297
  try {
290
298
  if (!workflowId) {
291
299
  throw new HTTPException(400, { message: "Workflow ID is required" });
292
300
  }
293
301
  const workflow = mastra.vnext_getWorkflow(workflowId);
294
- const workflowRuns = await workflow.getWorkflowRuns() || {
302
+ const workflowRuns = await workflow.getWorkflowRuns({ fromDate, toDate, limit, offset, resourceId }) || {
295
303
  runs: [],
296
304
  total: 0
297
305
  };
@@ -301,4 +309,4 @@ async function getVNextWorkflowRunsHandler({ mastra, workflowId }) {
301
309
  }
302
310
  }
303
311
 
304
- export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, vNextWorkflows_exports, watchVNextWorkflowHandler };
312
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, vNextWorkflows_exports, watchVNextWorkflowHandler };
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunk7IWQE76Z_cjs = require('../../chunk-7IWQE76Z.cjs');
3
+ var chunkAMVOS7YB_cjs = require('../../chunk-AMVOS7YB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "getTelemetryHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunk7IWQE76Z_cjs.getTelemetryHandler; }
9
+ get: function () { return chunkAMVOS7YB_cjs.getTelemetryHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "storeTelemetryHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunk7IWQE76Z_cjs.storeTelemetryHandler; }
13
+ get: function () { return chunkAMVOS7YB_cjs.storeTelemetryHandler; }
14
14
  });
@@ -1 +1 @@
1
- export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-WTHDCRMY.js';
1
+ export { getTelemetryHandler, storeTelemetryHandler } from '../../chunk-BPL2CBLV.js';
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkAELYAUEE_cjs = require('../../chunk-AELYAUEE.cjs');
3
+ var chunkM2RXDCPV_cjs = require('../../chunk-M2RXDCPV.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createVNextWorkflowRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkAELYAUEE_cjs.createVNextWorkflowRunHandler; }
9
+ get: function () { return chunkM2RXDCPV_cjs.createVNextWorkflowRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getVNextWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowByIdHandler; }
13
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowByIdHandler; }
14
14
  });
15
- Object.defineProperty(exports, "getVNextWorkflowRunHandler", {
15
+ Object.defineProperty(exports, "getVNextWorkflowRunByIdHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowRunHandler; }
17
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunByIdHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getVNextWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowRunsHandler; }
21
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getVNextWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkAELYAUEE_cjs.getVNextWorkflowsHandler; }
25
+ get: function () { return chunkM2RXDCPV_cjs.getVNextWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncVNextWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkAELYAUEE_cjs.resumeAsyncVNextWorkflowHandler; }
29
+ get: function () { return chunkM2RXDCPV_cjs.resumeAsyncVNextWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeVNextWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkAELYAUEE_cjs.resumeVNextWorkflowHandler; }
33
+ get: function () { return chunkM2RXDCPV_cjs.resumeVNextWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncVNextWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkAELYAUEE_cjs.startAsyncVNextWorkflowHandler; }
37
+ get: function () { return chunkM2RXDCPV_cjs.startAsyncVNextWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startVNextWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkAELYAUEE_cjs.startVNextWorkflowRunHandler; }
41
+ get: function () { return chunkM2RXDCPV_cjs.startVNextWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchVNextWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkAELYAUEE_cjs.watchVNextWorkflowHandler; }
45
+ get: function () { return chunkM2RXDCPV_cjs.watchVNextWorkflowHandler; }
46
46
  });
@@ -1,6 +1,6 @@
1
1
  export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.cjs';
2
2
  export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.cjs';
3
- export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
3
+ export { getVNextWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.cjs';
4
4
  export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
5
5
  export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.cjs';
6
6
  export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.cjs';
@@ -1,6 +1,6 @@
1
1
  export { getVNextWorkflowsHandler } from '../../_tsup-dts-rollup.js';
2
2
  export { getVNextWorkflowByIdHandler } from '../../_tsup-dts-rollup.js';
3
- export { getVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
3
+ export { getVNextWorkflowRunByIdHandler } from '../../_tsup-dts-rollup.js';
4
4
  export { createVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
5
5
  export { startAsyncVNextWorkflowHandler } from '../../_tsup-dts-rollup.js';
6
6
  export { startVNextWorkflowRunHandler } from '../../_tsup-dts-rollup.js';
@@ -1 +1 @@
1
- export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-JPB6RPGB.js';
1
+ export { createVNextWorkflowRunHandler, getVNextWorkflowByIdHandler, getVNextWorkflowRunByIdHandler, getVNextWorkflowRunsHandler, getVNextWorkflowsHandler, resumeAsyncVNextWorkflowHandler, resumeVNextWorkflowHandler, startAsyncVNextWorkflowHandler, startVNextWorkflowRunHandler, watchVNextWorkflowHandler } from '../../chunk-OWNA6I2H.js';
@@ -1,46 +1,46 @@
1
1
  'use strict';
2
2
 
3
- var chunkEVCC233P_cjs = require('../../chunk-EVCC233P.cjs');
3
+ var chunkCHFORQ7J_cjs = require('../../chunk-CHFORQ7J.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "createRunHandler", {
8
8
  enumerable: true,
9
- get: function () { return chunkEVCC233P_cjs.createRunHandler; }
9
+ get: function () { return chunkCHFORQ7J_cjs.createRunHandler; }
10
10
  });
11
11
  Object.defineProperty(exports, "getWorkflowByIdHandler", {
12
12
  enumerable: true,
13
- get: function () { return chunkEVCC233P_cjs.getWorkflowByIdHandler; }
13
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowByIdHandler; }
14
14
  });
15
15
  Object.defineProperty(exports, "getWorkflowRunHandler", {
16
16
  enumerable: true,
17
- get: function () { return chunkEVCC233P_cjs.getWorkflowRunHandler; }
17
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunHandler; }
18
18
  });
19
19
  Object.defineProperty(exports, "getWorkflowRunsHandler", {
20
20
  enumerable: true,
21
- get: function () { return chunkEVCC233P_cjs.getWorkflowRunsHandler; }
21
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowRunsHandler; }
22
22
  });
23
23
  Object.defineProperty(exports, "getWorkflowsHandler", {
24
24
  enumerable: true,
25
- get: function () { return chunkEVCC233P_cjs.getWorkflowsHandler; }
25
+ get: function () { return chunkCHFORQ7J_cjs.getWorkflowsHandler; }
26
26
  });
27
27
  Object.defineProperty(exports, "resumeAsyncWorkflowHandler", {
28
28
  enumerable: true,
29
- get: function () { return chunkEVCC233P_cjs.resumeAsyncWorkflowHandler; }
29
+ get: function () { return chunkCHFORQ7J_cjs.resumeAsyncWorkflowHandler; }
30
30
  });
31
31
  Object.defineProperty(exports, "resumeWorkflowHandler", {
32
32
  enumerable: true,
33
- get: function () { return chunkEVCC233P_cjs.resumeWorkflowHandler; }
33
+ get: function () { return chunkCHFORQ7J_cjs.resumeWorkflowHandler; }
34
34
  });
35
35
  Object.defineProperty(exports, "startAsyncWorkflowHandler", {
36
36
  enumerable: true,
37
- get: function () { return chunkEVCC233P_cjs.startAsyncWorkflowHandler; }
37
+ get: function () { return chunkCHFORQ7J_cjs.startAsyncWorkflowHandler; }
38
38
  });
39
39
  Object.defineProperty(exports, "startWorkflowRunHandler", {
40
40
  enumerable: true,
41
- get: function () { return chunkEVCC233P_cjs.startWorkflowRunHandler; }
41
+ get: function () { return chunkCHFORQ7J_cjs.startWorkflowRunHandler; }
42
42
  });
43
43
  Object.defineProperty(exports, "watchWorkflowHandler", {
44
44
  enumerable: true,
45
- get: function () { return chunkEVCC233P_cjs.watchWorkflowHandler; }
45
+ get: function () { return chunkCHFORQ7J_cjs.watchWorkflowHandler; }
46
46
  });
@@ -1 +1 @@
1
- export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-M3YJLWTU.js';
1
+ export { createRunHandler, getWorkflowByIdHandler, getWorkflowRunHandler, getWorkflowRunsHandler, getWorkflowsHandler, resumeAsyncWorkflowHandler, resumeWorkflowHandler, startAsyncWorkflowHandler, startWorkflowRunHandler, watchWorkflowHandler } from '../../chunk-3XTEV33Q.js';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkD3G23FP3_cjs = require('../chunk-D3G23FP3.cjs');
4
- var chunkAELYAUEE_cjs = require('../chunk-AELYAUEE.cjs');
4
+ var chunkM2RXDCPV_cjs = require('../chunk-M2RXDCPV.cjs');
5
5
  var chunkM56ECCHK_cjs = require('../chunk-M56ECCHK.cjs');
6
6
  var chunk55HTWX4C_cjs = require('../chunk-55HTWX4C.cjs');
7
- var chunkEVCC233P_cjs = require('../chunk-EVCC233P.cjs');
7
+ var chunkCHFORQ7J_cjs = require('../chunk-CHFORQ7J.cjs');
8
8
  var chunk4BIX6GMY_cjs = require('../chunk-4BIX6GMY.cjs');
9
9
  var chunkSKBVVI24_cjs = require('../chunk-SKBVVI24.cjs');
10
10
  var chunk2FJURXCL_cjs = require('../chunk-2FJURXCL.cjs');
11
11
  var chunk5YGDYMRB_cjs = require('../chunk-5YGDYMRB.cjs');
12
- var chunk7IWQE76Z_cjs = require('../chunk-7IWQE76Z.cjs');
12
+ var chunkAMVOS7YB_cjs = require('../chunk-AMVOS7YB.cjs');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "tools", {
19
19
  });
20
20
  Object.defineProperty(exports, "vNextWorkflows", {
21
21
  enumerable: true,
22
- get: function () { return chunkAELYAUEE_cjs.vNextWorkflows_exports; }
22
+ get: function () { return chunkM2RXDCPV_cjs.vNextWorkflows_exports; }
23
23
  });
24
24
  Object.defineProperty(exports, "vector", {
25
25
  enumerable: true,
@@ -31,7 +31,7 @@ Object.defineProperty(exports, "voice", {
31
31
  });
32
32
  Object.defineProperty(exports, "workflows", {
33
33
  enumerable: true,
34
- get: function () { return chunkEVCC233P_cjs.workflows_exports; }
34
+ get: function () { return chunkCHFORQ7J_cjs.workflows_exports; }
35
35
  });
36
36
  Object.defineProperty(exports, "agents", {
37
37
  enumerable: true,
@@ -51,5 +51,5 @@ Object.defineProperty(exports, "network", {
51
51
  });
52
52
  Object.defineProperty(exports, "telemetry", {
53
53
  enumerable: true,
54
- get: function () { return chunk7IWQE76Z_cjs.telemetry_exports; }
54
+ get: function () { return chunkAMVOS7YB_cjs.telemetry_exports; }
55
55
  });
@@ -1,10 +1,10 @@
1
1
  export { tools_exports as tools } from '../chunk-5JNVY6DU.js';
2
- export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-JPB6RPGB.js';
2
+ export { vNextWorkflows_exports as vNextWorkflows } from '../chunk-OWNA6I2H.js';
3
3
  export { vector_exports as vector } from '../chunk-4JINXASC.js';
4
4
  export { voice_exports as voice } from '../chunk-Q6SHQECN.js';
5
- export { workflows_exports as workflows } from '../chunk-M3YJLWTU.js';
5
+ export { workflows_exports as workflows } from '../chunk-3XTEV33Q.js';
6
6
  export { agents_exports as agents } from '../chunk-Y3SV5XK4.js';
7
7
  export { logs_exports as logs } from '../chunk-3EJZQ6TQ.js';
8
8
  export { memory_exports as memory } from '../chunk-RBQASTUP.js';
9
9
  export { network_exports as network } from '../chunk-QJ3AHN64.js';
10
- export { telemetry_exports as telemetry } from '../chunk-WTHDCRMY.js';
10
+ export { telemetry_exports as telemetry } from '../chunk-BPL2CBLV.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.0.0-separate-trace-data-from-component-20250501141108",
3
+ "version": "0.0.0-trigger-playground-ui-package-20250506151043",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -46,7 +46,7 @@
46
46
  "license": "Elastic-2.0",
47
47
  "dependencies": {},
48
48
  "peerDependencies": {
49
- "@mastra/core": "0.0.0-separate-trace-data-from-component-20250501141108"
49
+ "@mastra/core": "0.0.0-trigger-playground-ui-package-20250506151043"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@ai-sdk/openai": "^1.3.2",
@@ -58,8 +58,8 @@
58
58
  "typescript": "^5.8.2",
59
59
  "vitest": "^2.1.9",
60
60
  "zod-to-json-schema": "^3.24.3",
61
- "@internal/lint": "0.0.2",
62
- "@mastra/core": "0.0.0-separate-trace-data-from-component-20250501141108"
61
+ "@internal/lint": "0.0.0-trigger-playground-ui-package-20250506151043",
62
+ "@mastra/core": "0.0.0-trigger-playground-ui-package-20250506151043"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",