@mastra/client-js 1.57.0-alpha.6 → 1.57.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.
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/resources/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,UAAU,CAAC;AAQlB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,KAAK,UAAU,GAAG,UAAU,CAAC,4BAA4B,CAAC,CAAC,YAAY,CAAC,CAAC;AACzE,KAAK,aAAa,GAAG,UAAU,CAAC,wCAAwC,CAAC,CAAC,OAAO,CAAC,CAAC;AAEnF,qBAAa,QAAS,SAAQ,YAAY;IAGtC,OAAO,CAAC,UAAU;IAFpB,YACE,OAAO,EAAE,aAAa,EACd,UAAU,EAAE,UAAU,EAG/B;IAED;;;;OAIG;IACH,OAAO,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAE3F;IAED;;;;;OAKG;IACH,IAAI,CACF,MAAM,CAAC,EAAE,sBAAsB,EAC/B,cAAc,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACpD,OAAO,CAAC,wBAAwB,CAAC,CA6CnC;IAED;;;;;;;;OAQG;IACH,OAAO,CACL,KAAK,EAAE,aAAa,EACpB,OAAO,CAAC,EAAE;QACR,cAAc,C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wCAAwC,CAAC,gBAsBhH;IAED;;;;;;OAMG;IACH,MAAM,CAAC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,cAAc,CAerF;CACF"}
@@ -2565,6 +2565,26 @@ type Shared_Type_61 = {
2565
2565
  errorPreview?: (string | null) | undefined;
2566
2566
  /** Milliseconds from span start to the first streamed chunk; null when the span never streamed one */
2567
2567
  timeToFirstChunkMs?: (number | null) | undefined;
2568
+ /** Immediate parent span owned by an external tracing system; null when Mastra owns the parent */
2569
+ externalParentSpanId?: (string | null) | undefined;
2570
+ /** Span id of the initial invocation a resumed execution continues; null on the initial execution */
2571
+ resumedFromSpanId?: (string | null) | undefined;
2572
+ /** Model identity for this span, where applicable */
2573
+ model?: (string | null) | undefined;
2574
+ /** Provider paired with model */
2575
+ provider?: (string | null) | undefined;
2576
+ /** How this execution ended; null while it is still running */
2577
+ outcome?: (string | null) | undefined;
2578
+ /** Machine-readable cause of stopping, when known */
2579
+ stopReason?: (string | null) | undefined;
2580
+ /** Structured details behind stopReason, such as the limit that was hit; null when unknown */
2581
+ stopReasonContext?: ({
2582
+ [key: string]: unknown;
2583
+ } | null) | undefined;
2584
+ /** Milliseconds from the model call to the first token received; null when unknown */
2585
+ timeToFirstTokenMs?: (number | null) | undefined;
2586
+ /** Errors in this span and all nested spans; null when unknown */
2587
+ errorCount?: (number | null) | undefined;
2568
2588
  /** Database record creation time */
2569
2589
  createdAt: Date;
2570
2590
  /** Database record last update time */
@@ -2670,6 +2690,26 @@ type Shared_Type_63 = {
2670
2690
  errorPreview?: (string | null) | undefined;
2671
2691
  /** Milliseconds from span start to the first streamed chunk; null when the span never streamed one */
2672
2692
  timeToFirstChunkMs?: (number | null) | undefined;
2693
+ /** Immediate parent span owned by an external tracing system; null when Mastra owns the parent */
2694
+ externalParentSpanId?: (string | null) | undefined;
2695
+ /** Span id of the initial invocation a resumed execution continues; null on the initial execution */
2696
+ resumedFromSpanId?: (string | null) | undefined;
2697
+ /** Model identity for this span, where applicable */
2698
+ model?: (string | null) | undefined;
2699
+ /** Provider paired with model */
2700
+ provider?: (string | null) | undefined;
2701
+ /** How this execution ended; null while it is still running */
2702
+ outcome?: (string | null) | undefined;
2703
+ /** Machine-readable cause of stopping, when known */
2704
+ stopReason?: (string | null) | undefined;
2705
+ /** Structured details behind stopReason, such as the limit that was hit; null when unknown */
2706
+ stopReasonContext?: ({
2707
+ [key: string]: unknown;
2708
+ } | null) | undefined;
2709
+ /** Milliseconds from the model call to the first token received; null when unknown */
2710
+ timeToFirstTokenMs?: (number | null) | undefined;
2711
+ /** Errors in this span and all nested spans; null when unknown */
2712
+ errorCount?: (number | null) | undefined;
2673
2713
  /** Database record creation time */
2674
2714
  createdAt: Date;
2675
2715
  /** Database record last update time */