@mastra/client-js 1.56.0 → 1.57.0-alpha.1

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 (36) hide show
  1. package/dist/client.d.ts +7 -1
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/docs/SKILL.md +5 -3
  4. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  5. package/dist/docs/references/docs-connections-a2a.md +1 -1
  6. package/dist/docs/references/docs-harness-agent-controller.md +7 -7
  7. package/dist/docs/references/docs-harness-schedules.md +5 -5
  8. package/dist/docs/references/docs-server-mastra-client.md +1 -1
  9. package/dist/docs/references/docs-signals-notifications.md +233 -0
  10. package/dist/docs/references/docs-signals-sending-signals.md +166 -0
  11. package/dist/docs/references/docs-signals-thread-streams.md +94 -0
  12. package/dist/docs/references/docs-studio-editor.md +39 -23
  13. package/dist/docs/references/reference-client-js-agent-controller.md +2 -2
  14. package/dist/docs/references/reference-client-js-agents.md +18 -2
  15. package/dist/docs/references/reference-client-js-datasets.md +1 -1
  16. package/dist/docs/references/reference-client-js-observability.md +26 -1
  17. package/dist/docs/references/reference-observability-tracing-advanced-queries.md +92 -11
  18. package/dist/index.cjs +148 -22
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +148 -22
  23. package/dist/index.js.map +1 -1
  24. package/dist/resources/agent.d.ts +10 -3
  25. package/dist/resources/agent.d.ts.map +1 -1
  26. package/dist/resources/observability-route-types.d.ts +2 -0
  27. package/dist/resources/observability-route-types.d.ts.map +1 -1
  28. package/dist/resources/observability.d.ts +7 -1
  29. package/dist/resources/observability.d.ts.map +1 -1
  30. package/dist/route-types.generated.d.ts +437 -359
  31. package/dist/route-types.generated.d.ts.map +1 -1
  32. package/dist/utils/process-mastra-stream.d.ts.map +1 -1
  33. package/dist/utils/sse-event-splitter.d.ts +3 -0
  34. package/dist/utils/sse-event-splitter.d.ts.map +1 -0
  35. package/package.json +8 -8
  36. package/dist/docs/references/docs-harness-signals.md +0 -546
@@ -10,13 +10,13 @@ export type Simplify<T> = {
10
10
  type InputShared_Auxiliary_21 = string | number | boolean | null | InputShared_Auxiliary_21[] | {
11
11
  [key: string]: InputShared_Auxiliary_21;
12
12
  };
13
- type InputShared_Auxiliary_115 = {
13
+ type InputShared_Auxiliary_116 = {
14
14
  workflowId: string;
15
15
  runId: string;
16
16
  executionPath: number[];
17
- parentWorkflow?: InputShared_Auxiliary_115 | undefined;
17
+ parentWorkflow?: InputShared_Auxiliary_116 | undefined;
18
18
  };
19
- type InputShared_Auxiliary_207 = {
19
+ type InputShared_Auxiliary_208 = {
20
20
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
21
21
  left: {
22
22
  path: string;
@@ -53,30 +53,30 @@ type InputShared_Auxiliary_207 = {
53
53
  };
54
54
  } | {
55
55
  op: 'and' | 'or';
56
- args: InputShared_Auxiliary_207[];
56
+ args: InputShared_Auxiliary_208[];
57
57
  } | {
58
58
  op: 'not';
59
- arg: InputShared_Auxiliary_207;
59
+ arg: InputShared_Auxiliary_208;
60
60
  } | {
61
61
  spans: {
62
- some: InputShared_Auxiliary_230;
62
+ some: InputShared_Auxiliary_231;
63
63
  } | {
64
- none: InputShared_Auxiliary_230;
64
+ none: InputShared_Auxiliary_231;
65
65
  };
66
66
  } | {
67
67
  scores: {
68
- some: InputShared_Auxiliary_230;
68
+ some: InputShared_Auxiliary_231;
69
69
  } | {
70
- none: InputShared_Auxiliary_230;
70
+ none: InputShared_Auxiliary_231;
71
71
  };
72
72
  } | {
73
73
  feedback: {
74
- some: InputShared_Auxiliary_230;
74
+ some: InputShared_Auxiliary_231;
75
75
  } | {
76
- none: InputShared_Auxiliary_230;
76
+ none: InputShared_Auxiliary_231;
77
77
  };
78
78
  };
79
- type InputShared_Auxiliary_230 = {
79
+ type InputShared_Auxiliary_231 = {
80
80
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
81
81
  left: {
82
82
  path: string;
@@ -113,25 +113,25 @@ type InputShared_Auxiliary_230 = {
113
113
  };
114
114
  } | {
115
115
  op: 'and' | 'or';
116
- args: InputShared_Auxiliary_230[];
116
+ args: InputShared_Auxiliary_231[];
117
117
  } | {
118
118
  op: 'not';
119
- arg: InputShared_Auxiliary_230;
119
+ arg: InputShared_Auxiliary_231;
120
120
  };
121
- type InputShared_Auxiliary_271 = {
121
+ type InputShared_Auxiliary_278 = {
122
122
  op: 'and' | 'or';
123
- args: InputShared_Auxiliary_271[];
123
+ args: InputShared_Auxiliary_278[];
124
124
  } | {
125
125
  op: 'not';
126
- arg: InputShared_Auxiliary_271;
126
+ arg: InputShared_Auxiliary_278;
127
127
  } | {
128
128
  traces: {
129
- some: InputShared_Auxiliary_207;
129
+ some: InputShared_Auxiliary_208;
130
130
  } | {
131
- none: InputShared_Auxiliary_207;
131
+ none: InputShared_Auxiliary_208;
132
132
  };
133
133
  };
134
- type InputShared_Auxiliary_703 = {
134
+ type InputShared_Auxiliary_710 = {
135
135
  op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
136
136
  left: {
137
137
  path: string;
@@ -163,17 +163,17 @@ type InputShared_Auxiliary_703 = {
163
163
  };
164
164
  } | {
165
165
  op: 'and' | 'or';
166
- args: InputShared_Auxiliary_703[];
166
+ args: InputShared_Auxiliary_710[];
167
167
  } | {
168
168
  op: 'not';
169
- arg: InputShared_Auxiliary_703;
169
+ arg: InputShared_Auxiliary_710;
170
170
  };
171
- type InputShared_Auxiliary_777 = {
171
+ type InputShared_Auxiliary_784 = {
172
172
  id?: string | undefined;
173
173
  name: string;
174
174
  type: 'file' | 'folder';
175
175
  content?: string | undefined;
176
- children?: InputShared_Auxiliary_777[] | undefined;
176
+ children?: InputShared_Auxiliary_784[] | undefined;
177
177
  };
178
178
  type Shared_Auxiliary_777 = {
179
179
  id?: string | undefined;
@@ -384,7 +384,8 @@ type InputShared_Type_13 = {
384
384
  };
385
385
  type InputShared_Type_14 = 'agent_run' | 'scorer_run' | 'classifier_evaluation' | 'scorer_step' | 'generic' | 'model_generation' | 'model_step' | 'model_inference' | 'model_chunk' | 'mcp_tool_call' | 'mcp_server_request' | 'processor_run' | 'tool_call' | 'client_tool_call' | 'provider_tool_call' | 'workflow_run' | 'workflow_step' | 'workflow_conditional' | 'workflow_conditional_eval' | 'workflow_parallel' | 'workflow_loop' | 'workflow_sleep' | 'workflow_wait_event' | 'memory_operation' | 'workspace_action' | 'rag_ingestion' | 'rag_embedding' | 'rag_vector_operation' | 'rag_action' | 'graph_action' | 'mapping' | 'skill_resolution' | 'skill_action' | 'agent_signal';
386
386
  type InputShared_Type_15 = 'agent' | 'scorer' | 'rag_ingestion' | 'trajectory' | 'input_processor' | 'input_step_processor' | 'output_processor' | 'output_step_processor' | 'tool_result_processor' | 'workflow_step' | 'tool' | 'mcp_server' | 'workflow_run' | 'memory' | 'classifier';
387
- type InputShared_Type_16 = {
387
+ type InputShared_Type_16 = 'count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg';
388
+ type InputShared_Type_17 = {
388
389
  /** Filter by timestamp range */
389
390
  timestamp?: InputShared_Type_13 | undefined;
390
391
  /** Filter by trace ID */
@@ -444,7 +445,7 @@ type InputShared_Type_16 = {
444
445
  /** Filter by how the score was produced */
445
446
  source?: string | undefined;
446
447
  };
447
- type InputShared_Type_17 = {
448
+ type InputShared_Type_18 = {
448
449
  /** Filter by timestamp range */
449
450
  timestamp?: InputShared_Type_13 | undefined;
450
451
  /** Filter by trace ID */
@@ -503,8 +504,8 @@ type InputShared_Type_17 = {
503
504
  feedbackUserId?: string | undefined;
504
505
  reviewStatus?: ('needs-review' | 'reviewed') | undefined;
505
506
  };
506
- type InputShared_Type_18 = 'entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId';
507
- type InputShared_Type_19 = {
507
+ type InputShared_Type_19 = 'entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId';
508
+ type InputShared_Type_20 = {
508
509
  /** Filter by timestamp range */
509
510
  timestamp?: InputShared_Type_13 | undefined;
510
511
  /** Filter by trace ID */
@@ -572,7 +573,7 @@ type InputShared_Type_19 = {
572
573
  [key: string]: string;
573
574
  } | undefined;
574
575
  };
575
- type InputShared_Type_20 = {
576
+ type InputShared_Type_21 = {
576
577
  /** Part type - text for TextParts */
577
578
  kind: 'text';
578
579
  /** Text content */
@@ -582,7 +583,7 @@ type InputShared_Type_20 = {
582
583
  [key: string]: unknown;
583
584
  } | undefined;
584
585
  };
585
- type InputShared_Type_21 = {
586
+ type InputShared_Type_22 = {
586
587
  /** base64 encoded content of the file */
587
588
  bytes: string;
588
589
  /** Optional mimeType for the file */
@@ -590,7 +591,7 @@ type InputShared_Type_21 = {
590
591
  /** Optional name for the file */
591
592
  name?: string | undefined;
592
593
  };
593
- type InputShared_Type_22 = {
594
+ type InputShared_Type_23 = {
594
595
  /** URL for the File content */
595
596
  uri: string;
596
597
  /** Optional mimeType for the file */
@@ -598,17 +599,17 @@ type InputShared_Type_22 = {
598
599
  /** Optional name for the file */
599
600
  name?: string | undefined;
600
601
  };
601
- type InputShared_Type_23 = {
602
+ type InputShared_Type_24 = {
602
603
  /** Part type - file for FileParts */
603
604
  kind: 'file';
604
605
  /** File content either as url or bytes */
605
- file: InputShared_Type_21 | InputShared_Type_22;
606
+ file: InputShared_Type_22 | InputShared_Type_23;
606
607
  /** Optional metadata associated with the part */
607
608
  metadata?: {
608
609
  [key: string]: unknown;
609
610
  } | undefined;
610
611
  };
611
- type InputShared_Type_24 = {
612
+ type InputShared_Type_25 = {
612
613
  /** Part type - data for DataParts */
613
614
  kind: 'data';
614
615
  /** Structured data content */
@@ -620,7 +621,7 @@ type InputShared_Type_24 = {
620
621
  [key: string]: unknown;
621
622
  } | undefined;
622
623
  };
623
- type InputShared_Type_25 = {
624
+ type InputShared_Type_26 = {
624
625
  text?: string | undefined;
625
626
  raw?: string | undefined;
626
627
  url?: string | undefined;
@@ -631,7 +632,7 @@ type InputShared_Type_25 = {
631
632
  [key: string]: unknown;
632
633
  } | undefined;
633
634
  };
634
- type InputShared_Type_26 = {
635
+ type InputShared_Type_27 = {
635
636
  /** Event type */
636
637
  kind?: 'message' | undefined;
637
638
  /** Identifier created by the message creator */
@@ -639,7 +640,7 @@ type InputShared_Type_26 = {
639
640
  /** Message sender's role */
640
641
  role: 'user' | 'agent' | 'ROLE_USER' | 'ROLE_AGENT';
641
642
  /** Message content */
642
- parts: ((InputShared_Type_20 | InputShared_Type_23 | InputShared_Type_24) | InputShared_Type_25)[];
643
+ parts: ((InputShared_Type_21 | InputShared_Type_24 | InputShared_Type_25) | InputShared_Type_26)[];
643
644
  /** The context the message is associated with */
644
645
  contextId?: string | undefined;
645
646
  /** Identifier of task the message is related to */
@@ -653,22 +654,22 @@ type InputShared_Type_26 = {
653
654
  [key: string]: unknown;
654
655
  } | undefined;
655
656
  };
656
- type InputShared_Type_27 = {
657
+ type InputShared_Type_28 = {
657
658
  /** Supported authentication schemes - e.g. Basic, Bearer */
658
659
  schemes: string[];
659
660
  /** Optional credentials */
660
661
  credentials?: string | undefined;
661
662
  };
662
- type InputShared_Type_28 = {
663
+ type InputShared_Type_29 = {
663
664
  /** URL for sending the push notifications */
664
665
  url: string;
665
666
  /** Push Notification ID - created by server to support multiple callbacks */
666
667
  id?: string | undefined;
667
668
  /** Token unique to this task/session */
668
669
  token?: string | undefined;
669
- authentication?: InputShared_Type_27 | undefined;
670
+ authentication?: InputShared_Type_28 | undefined;
670
671
  };
671
- type InputShared_Type_29 = {
672
+ type InputShared_Type_30 = {
672
673
  /** Accepted output modalities by the client */
673
674
  acceptedOutputModes?: string[] | undefined;
674
675
  /** If the server should treat the client as a blocking request */
@@ -677,39 +678,39 @@ type InputShared_Type_29 = {
677
678
  returnImmediately?: boolean | undefined;
678
679
  /** Number of recent messages to be retrieved */
679
680
  historyLength?: number | undefined;
680
- pushNotificationConfig?: InputShared_Type_28 | undefined;
681
- taskPushNotificationConfig?: InputShared_Type_28 | undefined;
681
+ pushNotificationConfig?: InputShared_Type_29 | undefined;
682
+ taskPushNotificationConfig?: InputShared_Type_29 | undefined;
682
683
  };
683
- type InputShared_Type_30 = {
684
- message: InputShared_Type_26;
685
- configuration?: InputShared_Type_29 | undefined;
684
+ type InputShared_Type_31 = {
685
+ message: InputShared_Type_27;
686
+ configuration?: InputShared_Type_30 | undefined;
686
687
  /** Extension metadata */
687
688
  metadata?: {
688
689
  [key: string]: unknown;
689
690
  } | undefined;
690
691
  };
691
- type InputShared_Type_31 = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
692
- type InputShared_Type_32 = {
692
+ type InputShared_Type_32 = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
693
+ type InputShared_Type_33 = {
693
694
  field: string;
694
- operator: InputShared_Type_31;
695
+ operator: InputShared_Type_32;
695
696
  value?: unknown | undefined;
696
697
  } | {
697
698
  operator: 'AND' | 'OR';
698
699
  conditions: {
699
700
  field: string;
700
- operator: InputShared_Type_31;
701
+ operator: InputShared_Type_32;
701
702
  value?: unknown | undefined;
702
703
  }[];
703
704
  };
704
- type InputShared_Type_33 = {
705
+ type InputShared_Type_34 = {
705
706
  field: string;
706
- operator: InputShared_Type_31;
707
+ operator: InputShared_Type_32;
707
708
  value?: unknown | undefined;
708
709
  } | {
709
710
  operator: 'AND' | 'OR';
710
- conditions: InputShared_Type_32[];
711
+ conditions: InputShared_Type_33[];
711
712
  };
712
- type InputShared_Type_34 = {
713
+ type InputShared_Type_35 = {
713
714
  type: 'text';
714
715
  content: string;
715
716
  } | {
@@ -717,47 +718,47 @@ type InputShared_Type_34 = {
717
718
  id: string;
718
719
  rules?: {
719
720
  operator: 'AND' | 'OR';
720
- conditions: InputShared_Type_33[];
721
+ conditions: InputShared_Type_34[];
721
722
  } | undefined;
722
723
  } | {
723
724
  type: 'prompt_block';
724
725
  content: string;
725
726
  rules?: {
726
727
  operator: 'AND' | 'OR';
727
- conditions: InputShared_Type_33[];
728
+ conditions: InputShared_Type_34[];
728
729
  } | undefined;
729
730
  };
730
- type InputShared_Type_35 = {
731
+ type InputShared_Type_36 = {
731
732
  /** Model provider (e.g., openai, anthropic) */
732
733
  provider: string;
733
734
  /** Model name (e.g., gpt-4o, claude-3-opus) */
734
735
  name: string;
735
736
  [x: string]: unknown;
736
737
  };
737
- type InputShared_Type_36 = InputShared_Type_35 | {
738
- value: InputShared_Type_35;
738
+ type InputShared_Type_37 = InputShared_Type_36 | {
739
+ value: InputShared_Type_36;
739
740
  rules?: {
740
741
  operator: 'AND' | 'OR';
741
- conditions: InputShared_Type_33[];
742
+ conditions: InputShared_Type_34[];
742
743
  } | undefined;
743
744
  }[];
744
- type InputShared_Type_37 = {
745
+ type InputShared_Type_38 = {
745
746
  [key: string]: {
746
747
  description?: string | undefined;
747
748
  rules?: {
748
749
  operator: 'AND' | 'OR';
749
- conditions: InputShared_Type_33[];
750
+ conditions: InputShared_Type_34[];
750
751
  } | undefined;
751
752
  };
752
753
  };
753
- type InputShared_Type_38 = InputShared_Type_37 | {
754
- value: InputShared_Type_37;
754
+ type InputShared_Type_39 = InputShared_Type_38 | {
755
+ value: InputShared_Type_38;
755
756
  rules?: {
756
757
  operator: 'AND' | 'OR';
757
- conditions: InputShared_Type_33[];
758
+ conditions: InputShared_Type_34[];
758
759
  } | undefined;
759
760
  }[];
760
- type InputShared_Type_39 = {
761
+ type InputShared_Type_40 = {
761
762
  temperature?: number | undefined;
762
763
  maxTokens?: number | undefined;
763
764
  topP?: number | undefined;
@@ -768,7 +769,7 @@ type InputShared_Type_39 = {
768
769
  seed?: number | undefined;
769
770
  maxRetries?: number | undefined;
770
771
  };
771
- type InputShared_Type_40 = {
772
+ type InputShared_Type_41 = {
772
773
  traceName?: string | undefined;
773
774
  attributes?: {
774
775
  [key: string]: unknown;
@@ -776,7 +777,7 @@ type InputShared_Type_40 = {
776
777
  spanId?: string | undefined;
777
778
  traceId?: string | undefined;
778
779
  };
779
- type InputShared_Type_41 = {
780
+ type InputShared_Type_42 = {
780
781
  runId?: string | undefined;
781
782
  savePerStep?: boolean | undefined;
782
783
  maxSteps?: number | undefined;
@@ -786,9 +787,9 @@ type InputShared_Type_41 = {
786
787
  type: 'tool';
787
788
  toolName: string;
788
789
  }) | undefined;
789
- modelSettings?: InputShared_Type_39 | undefined;
790
+ modelSettings?: InputShared_Type_40 | undefined;
790
791
  returnScorerData?: boolean | undefined;
791
- tracingOptions?: InputShared_Type_40 | undefined;
792
+ tracingOptions?: InputShared_Type_41 | undefined;
792
793
  requireToolApproval?: boolean | undefined;
793
794
  autoResumeSuspendedTools?: boolean | undefined;
794
795
  eagerToolExecution?: boolean | undefined;
@@ -799,33 +800,33 @@ type InputShared_Type_41 = {
799
800
  includeRawChunks?: boolean | undefined;
800
801
  [x: string]: unknown;
801
802
  };
802
- type InputShared_Type_42 = {
803
+ type InputShared_Type_43 = {
803
804
  /** Default options for agent execution */
804
- value: InputShared_Type_41;
805
+ value: InputShared_Type_42;
805
806
  rules?: {
806
807
  operator: 'AND' | 'OR';
807
- conditions: InputShared_Type_33[];
808
+ conditions: InputShared_Type_34[];
808
809
  } | undefined;
809
810
  };
810
- type InputShared_Type_43 = {
811
+ type InputShared_Type_44 = {
811
812
  value: {
812
813
  [key: string]: {
813
- tools?: InputShared_Type_37 | undefined;
814
+ tools?: InputShared_Type_38 | undefined;
814
815
  };
815
816
  };
816
817
  rules?: {
817
818
  operator: 'AND' | 'OR';
818
- conditions: InputShared_Type_33[];
819
+ conditions: InputShared_Type_34[];
819
820
  } | undefined;
820
821
  };
821
- type InputShared_Type_44 = {
822
+ type InputShared_Type_45 = {
822
823
  kind: 'author' | 'invoker' | 'platform';
823
824
  toolkit: string;
824
825
  connectionId: string;
825
826
  label?: string | undefined;
826
827
  scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
827
828
  };
828
- type InputShared_Type_45 = {
829
+ type InputShared_Type_46 = {
829
830
  tools: {
830
831
  [key: string]: {
831
832
  toolkit?: string | undefined;
@@ -833,19 +834,19 @@ type InputShared_Type_45 = {
833
834
  };
834
835
  };
835
836
  connections: {
836
- [key: string]: InputShared_Type_44[];
837
+ [key: string]: InputShared_Type_45[];
837
838
  };
838
839
  };
839
- type InputShared_Type_46 = {
840
+ type InputShared_Type_47 = {
840
841
  value: {
841
- [key: string]: InputShared_Type_45;
842
+ [key: string]: InputShared_Type_46;
842
843
  };
843
844
  rules?: {
844
845
  operator: 'AND' | 'OR';
845
- conditions: InputShared_Type_33[];
846
+ conditions: InputShared_Type_34[];
846
847
  } | undefined;
847
848
  };
848
- type InputShared_Type_47 = {
849
+ type InputShared_Type_48 = {
849
850
  /** Unique ID for this step within the graph */
850
851
  id: string;
851
852
  /** ProcessorProvider ID that creates this processor */
@@ -857,57 +858,57 @@ type InputShared_Type_47 = {
857
858
  /** Which processor phases to enable */
858
859
  enabledPhases: ('processInput' | 'processInputStep' | 'processOutputStream' | 'processOutputResult' | 'processOutputStep' | 'processToolResult')[];
859
860
  };
860
- type InputShared_Type_48 = {
861
+ type InputShared_Type_49 = {
861
862
  steps: {
862
863
  type: 'step';
863
- step: InputShared_Type_47;
864
+ step: InputShared_Type_48;
864
865
  }[];
865
866
  rules?: {
866
867
  operator: 'AND' | 'OR';
867
- conditions: InputShared_Type_33[];
868
+ conditions: InputShared_Type_34[];
868
869
  } | undefined;
869
870
  };
870
- type InputShared_Type_49 = {
871
+ type InputShared_Type_50 = {
871
872
  type: 'step';
872
- step: InputShared_Type_47;
873
+ step: InputShared_Type_48;
873
874
  } | {
874
875
  type: 'parallel';
875
876
  branches: {
876
877
  type: 'step';
877
- step: InputShared_Type_47;
878
+ step: InputShared_Type_48;
878
879
  }[][];
879
880
  } | {
880
881
  type: 'conditional';
881
- conditions: InputShared_Type_48[];
882
+ conditions: InputShared_Type_49[];
882
883
  };
883
- type InputShared_Type_50 = {
884
+ type InputShared_Type_51 = {
884
885
  type: 'conditional';
885
886
  conditions: {
886
- steps: InputShared_Type_49[];
887
+ steps: InputShared_Type_50[];
887
888
  rules?: {
888
889
  operator: 'AND' | 'OR';
889
- conditions: InputShared_Type_33[];
890
+ conditions: InputShared_Type_34[];
890
891
  } | undefined;
891
892
  }[];
892
893
  };
893
- type InputShared_Type_51 = {
894
+ type InputShared_Type_52 = {
894
895
  /** Ordered list of processor graph entries */
895
896
  steps: ({
896
897
  type: 'step';
897
- step: InputShared_Type_47;
898
+ step: InputShared_Type_48;
898
899
  } | {
899
900
  type: 'parallel';
900
- branches: InputShared_Type_49[][];
901
- } | InputShared_Type_50)[];
901
+ branches: InputShared_Type_50[][];
902
+ } | InputShared_Type_51)[];
902
903
  };
903
- type InputShared_Type_52 = InputShared_Type_51 | {
904
- value: InputShared_Type_51;
904
+ type InputShared_Type_53 = InputShared_Type_52 | {
905
+ value: InputShared_Type_52;
905
906
  rules?: {
906
907
  operator: 'AND' | 'OR';
907
- conditions: InputShared_Type_33[];
908
+ conditions: InputShared_Type_34[];
908
909
  } | undefined;
909
910
  }[];
910
- type InputShared_Type_53 = {
911
+ type InputShared_Type_54 = {
911
912
  /** Number of semantically similar messages to retrieve */
912
913
  topK: number;
913
914
  /** Amount of surrounding context to include with each retrieved message */
@@ -922,7 +923,7 @@ type InputShared_Type_53 = {
922
923
  /** Index name for the vector store */
923
924
  indexName?: string | undefined;
924
925
  };
925
- type InputShared_Type_54 = {
926
+ type InputShared_Type_55 = {
926
927
  /** Model ID in format provider/model-name (ModelRouterModelId); defaults to the agent's own model */
927
928
  model?: string | undefined;
928
929
  /** Custom instructions for title generation */
@@ -932,17 +933,17 @@ type InputShared_Type_54 = {
932
933
  /** Emit the generated title as a data-thread-title chunk on the run stream */
933
934
  emitEvent?: boolean | undefined;
934
935
  };
935
- type InputShared_Type_55 = {
936
+ type InputShared_Type_56 = {
936
937
  readOnly?: boolean | undefined;
937
938
  lastMessages?: (number | false) | undefined;
938
939
  messageHistory?: {
939
940
  maxTokens: number;
940
941
  atMaxRemoveTokens?: number | undefined;
941
942
  } | undefined;
942
- semanticRecall?: (boolean | InputShared_Type_53) | undefined;
943
- generateTitle?: (boolean | InputShared_Type_54) | undefined;
943
+ semanticRecall?: (boolean | InputShared_Type_54) | undefined;
944
+ generateTitle?: (boolean | InputShared_Type_55) | undefined;
944
945
  };
945
- type InputShared_Type_56 = {
946
+ type InputShared_Type_57 = {
946
947
  /** Observer model ID */
947
948
  model?: string | undefined;
948
949
  /** Token threshold that triggers observation */
@@ -966,7 +967,7 @@ type InputShared_Type_56 = {
966
967
  /** Token threshold for synchronous blocking */
967
968
  blockAfter?: number | undefined;
968
969
  };
969
- type InputShared_Type_57 = {
970
+ type InputShared_Type_58 = {
970
971
  /** Reflector model ID */
971
972
  model?: string | undefined;
972
973
  /** Token threshold that triggers reflection */
@@ -986,7 +987,7 @@ type InputShared_Type_57 = {
986
987
  /** Ratio for async reflection buffering */
987
988
  bufferActivation?: number | undefined;
988
989
  };
989
- type InputShared_Type_58 = {
990
+ type InputShared_Type_59 = {
990
991
  /** Model ID for both Observer and Reflector */
991
992
  model?: string | undefined;
992
993
  /** Memory scope */
@@ -994,15 +995,15 @@ type InputShared_Type_58 = {
994
995
  /** Share token budget between messages and observations */
995
996
  shareTokenBudget?: boolean | undefined;
996
997
  /** Observation step configuration */
997
- observation?: InputShared_Type_56 | undefined;
998
+ observation?: InputShared_Type_57 | undefined;
998
999
  /** Reflection step configuration */
999
- reflection?: InputShared_Type_57 | undefined;
1000
+ reflection?: InputShared_Type_58 | undefined;
1000
1001
  };
1001
- type InputShared_Type_59 = {
1002
+ type InputShared_Type_60 = {
1002
1003
  /** Vector database identifier or false to disable */
1003
1004
  vector?: (string | false) | undefined;
1004
1005
  /** Memory behavior configuration, excluding workingMemory and threads */
1005
- options?: InputShared_Type_55 | undefined;
1006
+ options?: InputShared_Type_56 | undefined;
1006
1007
  /** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
1007
1008
  embedder?: string | undefined;
1008
1009
  /** Options to pass to the embedder, omitting telemetry */
@@ -1010,13 +1011,13 @@ type InputShared_Type_59 = {
1010
1011
  [key: string]: unknown;
1011
1012
  } | undefined;
1012
1013
  /** Serialized observational memory configuration */
1013
- observationalMemory?: (boolean | InputShared_Type_58) | undefined;
1014
+ observationalMemory?: (boolean | InputShared_Type_59) | undefined;
1014
1015
  };
1015
- type InputShared_Type_60 = {
1016
+ type InputShared_Type_61 = {
1016
1017
  /** Vector database identifier or false to disable */
1017
1018
  vector?: (string | false) | undefined;
1018
1019
  /** Memory behavior configuration, excluding workingMemory and threads */
1019
- options?: InputShared_Type_55 | undefined;
1020
+ options?: InputShared_Type_56 | undefined;
1020
1021
  /** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
1021
1022
  embedder?: string | undefined;
1022
1023
  /** Options to pass to the embedder, omitting telemetry */
@@ -1024,25 +1025,25 @@ type InputShared_Type_60 = {
1024
1025
  [key: string]: unknown;
1025
1026
  } | undefined;
1026
1027
  /** Serialized observational memory configuration */
1027
- observationalMemory?: (boolean | InputShared_Type_58) | undefined;
1028
+ observationalMemory?: (boolean | InputShared_Type_59) | undefined;
1028
1029
  type?: never | undefined;
1029
1030
  };
1030
- type InputShared_Type_61 = {
1031
+ type InputShared_Type_62 = {
1031
1032
  type: 'id';
1032
1033
  /** Registry key (or id) of a Memory instance registered on Mastra */
1033
1034
  memoryId: string;
1034
1035
  } | {
1035
1036
  type: 'inline';
1036
- config: InputShared_Type_59;
1037
- } | InputShared_Type_60;
1038
- type InputShared_Type_62 = InputShared_Type_61 | {
1039
- value: InputShared_Type_61;
1037
+ config: InputShared_Type_60;
1038
+ } | InputShared_Type_61;
1039
+ type InputShared_Type_63 = InputShared_Type_62 | {
1040
+ value: InputShared_Type_62;
1040
1041
  rules?: {
1041
1042
  operator: 'AND' | 'OR';
1042
- conditions: InputShared_Type_33[];
1043
+ conditions: InputShared_Type_34[];
1043
1044
  } | undefined;
1044
1045
  }[];
1045
- type InputShared_Type_63 = {
1046
+ type InputShared_Type_64 = {
1046
1047
  description?: string | undefined;
1047
1048
  sampling?: ({
1048
1049
  type: 'none';
@@ -1052,19 +1053,19 @@ type InputShared_Type_63 = {
1052
1053
  }) | undefined;
1053
1054
  rules?: {
1054
1055
  operator: 'AND' | 'OR';
1055
- conditions: InputShared_Type_33[];
1056
+ conditions: InputShared_Type_34[];
1056
1057
  } | undefined;
1057
1058
  };
1058
- type InputShared_Type_64 = {
1059
+ type InputShared_Type_65 = {
1059
1060
  value: {
1060
- [key: string]: InputShared_Type_63;
1061
+ [key: string]: InputShared_Type_64;
1061
1062
  };
1062
1063
  rules?: {
1063
1064
  operator: 'AND' | 'OR';
1064
- conditions: InputShared_Type_33[];
1065
+ conditions: InputShared_Type_34[];
1065
1066
  } | undefined;
1066
1067
  };
1067
- type InputShared_Type_65 = {
1068
+ type InputShared_Type_66 = {
1068
1069
  [key: string]: {
1069
1070
  description?: string | undefined;
1070
1071
  instructions?: string | undefined;
@@ -1072,14 +1073,14 @@ type InputShared_Type_65 = {
1072
1073
  strategy?: ('latest' | 'live') | undefined;
1073
1074
  };
1074
1075
  };
1075
- type InputShared_Type_66 = InputShared_Type_65 | {
1076
- value: InputShared_Type_65;
1076
+ type InputShared_Type_67 = InputShared_Type_66 | {
1077
+ value: InputShared_Type_66;
1077
1078
  rules?: {
1078
1079
  operator: 'AND' | 'OR';
1079
- conditions: InputShared_Type_33[];
1080
+ conditions: InputShared_Type_34[];
1080
1081
  } | undefined;
1081
1082
  }[];
1082
- type InputShared_Type_67 = {
1083
+ type InputShared_Type_68 = {
1083
1084
  /** Filesystem provider name */
1084
1085
  provider: string;
1085
1086
  /** Filesystem provider configuration */
@@ -1087,7 +1088,7 @@ type InputShared_Type_67 = {
1087
1088
  [key: string]: unknown;
1088
1089
  };
1089
1090
  } | undefined;
1090
- type InputShared_Type_68 = {
1091
+ type InputShared_Type_69 = {
1091
1092
  /** Sandbox provider name */
1092
1093
  provider: string;
1093
1094
  /** Sandbox provider configuration */
@@ -1095,7 +1096,7 @@ type InputShared_Type_68 = {
1095
1096
  [key: string]: unknown;
1096
1097
  };
1097
1098
  } | undefined;
1098
- type InputShared_Type_69 = {
1099
+ type InputShared_Type_70 = {
1099
1100
  [key: string]: {
1100
1101
  /** Filesystem provider name */
1101
1102
  provider: string;
@@ -1105,7 +1106,7 @@ type InputShared_Type_69 = {
1105
1106
  };
1106
1107
  };
1107
1108
  };
1108
- type InputShared_Type_70 = {
1109
+ type InputShared_Type_71 = {
1109
1110
  /** Vector store provider identifier */
1110
1111
  vectorProvider?: string | undefined;
1111
1112
  /** Vector store provider-specific configuration */
@@ -1130,7 +1131,7 @@ type InputShared_Type_70 = {
1130
1131
  /** Paths to auto-index on init */
1131
1132
  autoIndexPaths?: string[] | undefined;
1132
1133
  };
1133
- type InputShared_Type_71 = {
1134
+ type InputShared_Type_72 = {
1134
1135
  /** Whether the tool is enabled */
1135
1136
  enabled?: boolean | undefined;
1136
1137
  /** Whether the tool requires user approval before execution */
@@ -1138,39 +1139,39 @@ type InputShared_Type_71 = {
1138
1139
  /** For write tools: require reading a file before writing to it */
1139
1140
  requireReadBeforeWrite?: boolean | undefined;
1140
1141
  };
1141
- type InputShared_Type_72 = {
1142
+ type InputShared_Type_73 = {
1142
1143
  /** Default: whether all tools are enabled */
1143
1144
  enabled?: boolean | undefined;
1144
1145
  /** Default: whether all tools require user approval */
1145
1146
  requireApproval?: boolean | undefined;
1146
1147
  /** Per-tool overrides keyed by workspace tool name */
1147
1148
  tools?: {
1148
- [key: string]: InputShared_Type_71;
1149
+ [key: string]: InputShared_Type_72;
1149
1150
  } | undefined;
1150
1151
  };
1151
- type InputShared_Type_73 = {
1152
+ type InputShared_Type_74 = {
1152
1153
  /** Name of the workspace */
1153
1154
  name: string;
1154
1155
  /** Description of the workspace */
1155
1156
  description?: string | undefined;
1156
1157
  /** Filesystem configuration */
1157
- filesystem?: InputShared_Type_67;
1158
+ filesystem?: InputShared_Type_68;
1158
1159
  /** Sandbox configuration */
1159
- sandbox?: InputShared_Type_68;
1160
+ sandbox?: InputShared_Type_69;
1160
1161
  /** Mounted filesystems keyed by mount path */
1161
- mounts?: InputShared_Type_69 | undefined;
1162
+ mounts?: InputShared_Type_70 | undefined;
1162
1163
  /** Search configuration */
1163
- search?: InputShared_Type_70 | undefined;
1164
+ search?: InputShared_Type_71 | undefined;
1164
1165
  /** Array of skill IDs */
1165
1166
  skills?: string[] | undefined;
1166
1167
  /** Workspace tool configuration */
1167
- tools?: InputShared_Type_72 | undefined;
1168
+ tools?: InputShared_Type_73 | undefined;
1168
1169
  /** Whether to automatically sync the workspace */
1169
1170
  autoSync?: boolean | undefined;
1170
1171
  /** Operation timeout in milliseconds */
1171
1172
  operationTimeout?: number | undefined;
1172
1173
  };
1173
- type InputShared_Type_74 = {
1174
+ type InputShared_Type_75 = {
1174
1175
  type: 'provider';
1175
1176
  /** Workspace provider identifier */
1176
1177
  provider: string;
@@ -1179,27 +1180,27 @@ type InputShared_Type_74 = {
1179
1180
  [key: string]: unknown;
1180
1181
  };
1181
1182
  };
1182
- type InputShared_Type_75 = {
1183
+ type InputShared_Type_76 = {
1183
1184
  value: {
1184
1185
  type: 'id';
1185
1186
  workspaceId: string;
1186
1187
  } | {
1187
1188
  type: 'inline';
1188
- config: InputShared_Type_73;
1189
- } | InputShared_Type_74;
1189
+ config: InputShared_Type_74;
1190
+ } | InputShared_Type_75;
1190
1191
  rules?: {
1191
1192
  operator: 'AND' | 'OR';
1192
- conditions: InputShared_Type_33[];
1193
+ conditions: InputShared_Type_34[];
1193
1194
  } | undefined;
1194
1195
  };
1195
- type InputShared_Type_76 = (({
1196
+ type InputShared_Type_77 = (({
1196
1197
  type: 'id';
1197
1198
  workspaceId: string;
1198
1199
  } | {
1199
1200
  type: 'inline';
1200
- config: InputShared_Type_73;
1201
- } | InputShared_Type_74) | InputShared_Type_75[]) | undefined;
1202
- type InputShared_Type_77 = {
1201
+ config: InputShared_Type_74;
1202
+ } | InputShared_Type_75) | InputShared_Type_76[]) | undefined;
1203
+ type InputShared_Type_78 = {
1203
1204
  /** Image format (default: jpeg) */
1204
1205
  format?: ('jpeg' | 'png') | undefined;
1205
1206
  /** JPEG quality 0-100 (default: 80) */
@@ -1211,7 +1212,7 @@ type InputShared_Type_77 = {
1211
1212
  /** Capture every Nth frame (default: 1) */
1212
1213
  everyNthFrame?: number | undefined;
1213
1214
  };
1214
- type InputShared_Type_78 = {
1215
+ type InputShared_Type_79 = {
1215
1216
  /** Browser provider type (e.g., stagehand, playwright) */
1216
1217
  provider: string;
1217
1218
  /** Run browser in headless mode (default: true) */
@@ -1226,19 +1227,19 @@ type InputShared_Type_78 = {
1226
1227
  /** Default timeout in milliseconds (default: 10000) */
1227
1228
  timeout?: number | undefined;
1228
1229
  /** Screencast options for streaming browser frames */
1229
- screencast?: InputShared_Type_77 | undefined;
1230
+ screencast?: InputShared_Type_78 | undefined;
1230
1231
  };
1231
- type InputShared_Type_79 = {
1232
+ type InputShared_Type_80 = {
1232
1233
  value: {
1233
1234
  type: 'inline';
1234
- config: InputShared_Type_78;
1235
+ config: InputShared_Type_79;
1235
1236
  };
1236
1237
  rules?: {
1237
1238
  operator: 'AND' | 'OR';
1238
- conditions: InputShared_Type_33[];
1239
+ conditions: InputShared_Type_34[];
1239
1240
  } | undefined;
1240
1241
  };
1241
- type InputShared_Type_80 = {
1242
+ type InputShared_Type_81 = {
1242
1243
  type: 'agent';
1243
1244
  id: string;
1244
1245
  agentId: string;
@@ -1253,7 +1254,7 @@ type InputShared_Type_80 = {
1253
1254
  } | undefined;
1254
1255
  } | undefined;
1255
1256
  };
1256
- type InputShared_Type_81 = {
1257
+ type InputShared_Type_82 = {
1257
1258
  type: 'tool';
1258
1259
  id: string;
1259
1260
  toolId: string;
@@ -1265,7 +1266,7 @@ type InputShared_Type_81 = {
1265
1266
  } | undefined;
1266
1267
  } | undefined;
1267
1268
  };
1268
- type InputShared_Type_82 = {
1269
+ type InputShared_Type_83 = {
1269
1270
  type: 'mapping';
1270
1271
  id: string;
1271
1272
  description?: string | undefined;
@@ -1274,29 +1275,29 @@ type InputShared_Type_82 = {
1274
1275
  } | undefined;
1275
1276
  mapConfig: string;
1276
1277
  };
1277
- type InputShared_Type_83 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
1278
+ type InputShared_Type_84 = InputShared_Type_81 | InputShared_Type_82 | InputShared_Type_83 | {
1278
1279
  type: 'workflow';
1279
1280
  id: string;
1280
1281
  workflowId: string;
1281
1282
  description?: string | undefined;
1282
1283
  };
1283
- type InputShared_Type_84 = {
1284
+ type InputShared_Type_85 = {
1284
1285
  type: 'parallel';
1285
1286
  id?: string | undefined;
1286
1287
  description?: string | undefined;
1287
1288
  metadata?: {
1288
1289
  [key: string]: unknown;
1289
1290
  } | undefined;
1290
- steps: InputShared_Type_83[];
1291
+ steps: InputShared_Type_84[];
1291
1292
  };
1292
- type InputShared_Type_85 = {
1293
+ type InputShared_Type_86 = {
1293
1294
  type: 'foreach';
1294
1295
  id?: string | undefined;
1295
1296
  description?: string | undefined;
1296
1297
  metadata?: {
1297
1298
  [key: string]: unknown;
1298
1299
  } | undefined;
1299
- step: InputShared_Type_80 | InputShared_Type_81 | {
1300
+ step: InputShared_Type_81 | InputShared_Type_82 | {
1300
1301
  type: 'workflow';
1301
1302
  id: string;
1302
1303
  workflowId: string;
@@ -1306,7 +1307,7 @@ type InputShared_Type_85 = {
1306
1307
  concurrency: number;
1307
1308
  } | undefined;
1308
1309
  };
1309
- type InputShared_Type_86 = {
1310
+ type InputShared_Type_87 = {
1310
1311
  type: 'sleep';
1311
1312
  id: string;
1312
1313
  description?: string | undefined;
@@ -1315,7 +1316,7 @@ type InputShared_Type_86 = {
1315
1316
  } | undefined;
1316
1317
  duration: number;
1317
1318
  };
1318
- type InputShared_Type_87 = {
1319
+ type InputShared_Type_88 = {
1319
1320
  type: 'sleepUntil';
1320
1321
  id: string;
1321
1322
  description?: string | undefined;
@@ -1324,34 +1325,34 @@ type InputShared_Type_87 = {
1324
1325
  } | undefined;
1325
1326
  date: string;
1326
1327
  };
1327
- type InputShared_Type_88 = {
1328
+ type InputShared_Type_89 = {
1328
1329
  type: 'conditional';
1329
1330
  id?: string | undefined;
1330
1331
  description?: string | undefined;
1331
1332
  metadata?: {
1332
1333
  [key: string]: unknown;
1333
1334
  } | undefined;
1334
- steps: InputShared_Type_83[];
1335
- predicates: InputShared_Auxiliary_703[];
1335
+ steps: InputShared_Type_84[];
1336
+ predicates: InputShared_Auxiliary_710[];
1336
1337
  };
1337
- type InputShared_Type_89 = {
1338
+ type InputShared_Type_90 = {
1338
1339
  type: 'loop';
1339
1340
  id?: string | undefined;
1340
1341
  description?: string | undefined;
1341
1342
  metadata?: {
1342
1343
  [key: string]: unknown;
1343
1344
  } | undefined;
1344
- step: InputShared_Type_83;
1345
+ step: InputShared_Type_84;
1345
1346
  loopType: 'dowhile' | 'dountil';
1346
- predicate: InputShared_Auxiliary_703;
1347
+ predicate: InputShared_Auxiliary_710;
1347
1348
  };
1348
- type InputShared_Type_90 = InputShared_Type_80 | InputShared_Type_81 | InputShared_Type_82 | {
1349
+ type InputShared_Type_91 = InputShared_Type_81 | InputShared_Type_82 | InputShared_Type_83 | {
1349
1350
  type: 'workflow';
1350
1351
  id: string;
1351
1352
  workflowId: string;
1352
1353
  description?: string | undefined;
1353
- } | InputShared_Type_84 | InputShared_Type_85 | InputShared_Type_86 | InputShared_Type_87 | InputShared_Type_88 | InputShared_Type_89;
1354
- type InputShared_Type_91 = {
1354
+ } | InputShared_Type_85 | InputShared_Type_86 | InputShared_Type_87 | InputShared_Type_88 | InputShared_Type_89 | InputShared_Type_90;
1355
+ type InputShared_Type_92 = {
1355
1356
  /** Transport type: stdio for local processes, http for remote servers */
1356
1357
  type: 'stdio' | 'http';
1357
1358
  /** Command to run (stdio only) */
@@ -1367,14 +1368,14 @@ type InputShared_Type_91 = {
1367
1368
  /** Connection timeout in milliseconds */
1368
1369
  timeout?: number | undefined;
1369
1370
  };
1370
- type InputShared_Type_92 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
1371
- type InputShared_Type_93 = {
1371
+ type InputShared_Type_93 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
1372
+ type InputShared_Type_94 = {
1372
1373
  /** Minimum score value (default: 0) */
1373
1374
  min?: number | undefined;
1374
1375
  /** Maximum score value (default: 1) */
1375
1376
  max?: number | undefined;
1376
1377
  } | undefined;
1377
- type InputShared_Type_94 = {
1378
+ type InputShared_Type_95 = {
1378
1379
  type: 'external';
1379
1380
  /** Package path for external source */
1380
1381
  packagePath: string;
@@ -1387,7 +1388,7 @@ type InputShared_Type_94 = {
1387
1388
  /** Mastra path for managed source */
1388
1389
  mastraPath: string;
1389
1390
  };
1390
- type InputShared_Type_95 = {
1391
+ type InputShared_Type_96 = {
1391
1392
  /** Step name to match */
1392
1393
  name: string;
1393
1394
  durationMs?: number | undefined;
@@ -1405,7 +1406,7 @@ type InputShared_Type_95 = {
1405
1406
  } | undefined;
1406
1407
  success?: boolean | undefined;
1407
1408
  };
1408
- type InputShared_Type_96 = {
1409
+ type InputShared_Type_97 = {
1409
1410
  /** Step name to match */
1410
1411
  name: string;
1411
1412
  durationMs?: number | undefined;
@@ -1424,7 +1425,7 @@ type InputShared_Type_96 = {
1424
1425
  mcpServer?: string | undefined;
1425
1426
  success?: boolean | undefined;
1426
1427
  };
1427
- type InputShared_Type_97 = {
1428
+ type InputShared_Type_98 = {
1428
1429
  /** Step name to match */
1429
1430
  name: string;
1430
1431
  durationMs?: number | undefined;
@@ -1439,7 +1440,7 @@ type InputShared_Type_97 = {
1439
1440
  completionTokens?: number | undefined;
1440
1441
  finishReason?: string | undefined;
1441
1442
  };
1442
- type InputShared_Type_98 = {
1443
+ type InputShared_Type_99 = {
1443
1444
  /** Step name to match */
1444
1445
  name: string;
1445
1446
  durationMs?: number | undefined;
@@ -1451,7 +1452,7 @@ type InputShared_Type_98 = {
1451
1452
  stepType: 'agent_run';
1452
1453
  agentId?: string | undefined;
1453
1454
  };
1454
- type InputShared_Type_99 = {
1455
+ type InputShared_Type_100 = {
1455
1456
  /** Step name to match */
1456
1457
  name: string;
1457
1458
  durationMs?: number | undefined;
@@ -1467,7 +1468,7 @@ type InputShared_Type_99 = {
1467
1468
  [key: string]: unknown;
1468
1469
  } | undefined;
1469
1470
  };
1470
- type InputShared_Type_100 = {
1471
+ type InputShared_Type_101 = {
1471
1472
  /** Step name to match */
1472
1473
  name: string;
1473
1474
  durationMs?: number | undefined;
@@ -1480,7 +1481,7 @@ type InputShared_Type_100 = {
1480
1481
  workflowId?: string | undefined;
1481
1482
  status?: string | undefined;
1482
1483
  };
1483
- type InputShared_Type_101 = {
1484
+ type InputShared_Type_102 = {
1484
1485
  /** Step name to match */
1485
1486
  name: string;
1486
1487
  durationMs?: number | undefined;
@@ -1493,7 +1494,7 @@ type InputShared_Type_101 = {
1493
1494
  conditionCount?: number | undefined;
1494
1495
  selectedSteps?: string[] | undefined;
1495
1496
  };
1496
- type InputShared_Type_102 = {
1497
+ type InputShared_Type_103 = {
1497
1498
  /** Step name to match */
1498
1499
  name: string;
1499
1500
  durationMs?: number | undefined;
@@ -1506,7 +1507,7 @@ type InputShared_Type_102 = {
1506
1507
  branchCount?: number | undefined;
1507
1508
  parallelSteps?: string[] | undefined;
1508
1509
  };
1509
- type InputShared_Type_103 = {
1510
+ type InputShared_Type_104 = {
1510
1511
  /** Step name to match */
1511
1512
  name: string;
1512
1513
  durationMs?: number | undefined;
@@ -1519,7 +1520,7 @@ type InputShared_Type_103 = {
1519
1520
  loopType?: string | undefined;
1520
1521
  totalIterations?: number | undefined;
1521
1522
  };
1522
- type InputShared_Type_104 = {
1523
+ type InputShared_Type_105 = {
1523
1524
  /** Step name to match */
1524
1525
  name: string;
1525
1526
  durationMs?: number | undefined;
@@ -1532,7 +1533,7 @@ type InputShared_Type_104 = {
1532
1533
  sleepDurationMs?: number | undefined;
1533
1534
  sleepType?: string | undefined;
1534
1535
  };
1535
- type InputShared_Type_105 = {
1536
+ type InputShared_Type_106 = {
1536
1537
  /** Step name to match */
1537
1538
  name: string;
1538
1539
  durationMs?: number | undefined;
@@ -1545,7 +1546,7 @@ type InputShared_Type_105 = {
1545
1546
  eventName?: string | undefined;
1546
1547
  eventReceived?: boolean | undefined;
1547
1548
  };
1548
- type InputShared_Type_106 = {
1549
+ type InputShared_Type_107 = {
1549
1550
  /** Step name to match */
1550
1551
  name: string;
1551
1552
  durationMs?: number | undefined;
@@ -1557,8 +1558,8 @@ type InputShared_Type_106 = {
1557
1558
  stepType: 'processor_run';
1558
1559
  processorId?: string | undefined;
1559
1560
  };
1560
- type InputShared_Type_107 = InputShared_Type_95 | InputShared_Type_96 | InputShared_Type_97 | InputShared_Type_98 | InputShared_Type_99 | InputShared_Type_100 | InputShared_Type_101 | InputShared_Type_102 | InputShared_Type_103 | InputShared_Type_104 | InputShared_Type_105 | InputShared_Type_106;
1561
- type InputShared_Type_108 = {
1561
+ type InputShared_Type_108 = InputShared_Type_96 | InputShared_Type_97 | InputShared_Type_98 | InputShared_Type_99 | InputShared_Type_100 | InputShared_Type_101 | InputShared_Type_102 | InputShared_Type_103 | InputShared_Type_104 | InputShared_Type_105 | InputShared_Type_106 | InputShared_Type_107;
1562
+ type InputShared_Type_109 = {
1562
1563
  /** Step name to match */
1563
1564
  name: string;
1564
1565
  durationMs?: number | undefined;
@@ -1569,9 +1570,9 @@ type InputShared_Type_108 = {
1569
1570
  children?: unknown | undefined;
1570
1571
  stepType?: undefined | undefined;
1571
1572
  };
1572
- type InputShared_Type_109 = {
1573
+ type InputShared_Type_110 = {
1573
1574
  /** Expected steps for accuracy checking */
1574
- steps?: (InputShared_Type_107 | InputShared_Type_108)[] | undefined;
1575
+ steps?: (InputShared_Type_108 | InputShared_Type_109)[] | undefined;
1575
1576
  /** How to compare step ordering (default: relaxed) */
1576
1577
  ordering?: ('strict' | 'relaxed' | 'unordered') | undefined;
1577
1578
  /** Whether to allow repeated steps (default: true) */
@@ -1591,7 +1592,7 @@ type InputShared_Type_109 = {
1591
1592
  /** Maximum retries per tool before penalizing (default: 2) */
1592
1593
  maxRetriesPerTool?: number | undefined;
1593
1594
  };
1594
- type InputShared_Type_110 = {
1595
+ type InputShared_Type_111 = {
1595
1596
  /** Name of the tool this mock applies to */
1596
1597
  toolName: string;
1597
1598
  /** Arguments to match against the tool call */
@@ -1603,19 +1604,19 @@ type InputShared_Type_110 = {
1603
1604
  /** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
1604
1605
  matchArgs?: ('strict' | 'ignore') | undefined;
1605
1606
  };
1606
- type InputShared_Type_111 = {
1607
+ type InputShared_Type_112 = {
1607
1608
  /** How this item was created */
1608
1609
  type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
1609
1610
  /** Reference identifier (e.g., trace id, csv filename) */
1610
1611
  referenceId?: string | undefined;
1611
1612
  };
1612
- type InputShared_Type_112 = {
1613
+ type InputShared_Type_113 = {
1613
1614
  behavior?: ('deliver' | 'persist' | 'discard') | undefined;
1614
1615
  attributes?: {
1615
1616
  [key: string]: (string | number | boolean | null) | undefined;
1616
1617
  } | undefined;
1617
1618
  };
1618
- type InputShared_Type_113 = {
1619
+ type InputShared_Type_114 = {
1619
1620
  behavior?: ('wake' | 'persist' | 'discard') | undefined;
1620
1621
  attributes?: {
1621
1622
  [key: string]: (string | number | boolean | null) | undefined;
@@ -2789,6 +2790,8 @@ type Shared_Type_67 = {
2789
2790
  traceQueryTenantScope: boolean;
2790
2791
  /** Trace aggregation (POST /observability/traces/aggregate). Unlike `traceQuery`, clients should treat a missing value as unavailable. */
2791
2792
  traceAggregate: boolean;
2793
+ /** Span aggregation (POST /observability/spans/aggregate). Unlike `spanQuery`, clients should treat a missing value as unavailable. */
2794
+ spanAggregate: boolean;
2792
2795
  /** Advanced thread queries (POST /observability/threads/query) */
2793
2796
  threadQuery: boolean;
2794
2797
  /** Full-history thread rows with activity windows, filters and sorting. Treat a missing value as unavailable. */
@@ -4118,6 +4121,34 @@ export interface PostAgentsAgentIdSignals_RouteContract {
4118
4121
  response: PostAgentsAgentIdSignals_Response;
4119
4122
  responseType: 'json';
4120
4123
  }
4124
+ export type PostAgentsAgentIdRunsRunIdAbort_PathParams = {
4125
+ /** Unique identifier for the agent */
4126
+ agentId: string;
4127
+ /** Unique identifier for the agent run */
4128
+ runId: string;
4129
+ };
4130
+ export type PostAgentsAgentIdRunsRunIdAbort_Response = {
4131
+ aborted: boolean;
4132
+ };
4133
+ export type PostAgentsAgentIdRunsRunIdAbort_Request = Simplify<(PostAgentsAgentIdRunsRunIdAbort_PathParams extends never ? {} : {
4134
+ params: PostAgentsAgentIdRunsRunIdAbort_PathParams;
4135
+ }) & (never extends never ? {} : {} extends never ? {
4136
+ query?: never;
4137
+ } : {
4138
+ query: never;
4139
+ }) & (never extends never ? {} : {} extends never ? {
4140
+ body?: never;
4141
+ } : {
4142
+ body: never;
4143
+ })>;
4144
+ export interface PostAgentsAgentIdRunsRunIdAbort_RouteContract {
4145
+ pathParams: PostAgentsAgentIdRunsRunIdAbort_PathParams;
4146
+ queryParams: never;
4147
+ body: never;
4148
+ request: PostAgentsAgentIdRunsRunIdAbort_Request;
4149
+ response: PostAgentsAgentIdRunsRunIdAbort_Response;
4150
+ responseType: 'json';
4151
+ }
4121
4152
  export type PostAgentsAgentIdThreadsAbort_PathParams = GetAgentsAgentId_PathParams;
4122
4153
  export type PostAgentsAgentIdThreadsAbort_Body = {
4123
4154
  resourceId?: string | undefined;
@@ -4125,9 +4156,7 @@ export type PostAgentsAgentIdThreadsAbort_Body = {
4125
4156
  clearPendingSignals?: boolean | undefined;
4126
4157
  expectedRunId?: string | undefined;
4127
4158
  };
4128
- export type PostAgentsAgentIdThreadsAbort_Response = {
4129
- aborted: boolean;
4130
- };
4159
+ export type PostAgentsAgentIdThreadsAbort_Response = PostAgentsAgentIdRunsRunIdAbort_Response;
4131
4160
  export type PostAgentsAgentIdThreadsAbort_Request = Simplify<(PostAgentsAgentIdThreadsAbort_PathParams extends never ? {} : {
4132
4161
  params: PostAgentsAgentIdThreadsAbort_PathParams;
4133
4162
  }) & (never extends never ? {} : {} extends never ? {
@@ -6071,7 +6100,7 @@ export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_PathParams = GetWorkflo
6071
6100
  export type PostWorkflowsWorkflowIdRunsRunIdStepsExecute_Body = {
6072
6101
  stepId: string;
6073
6102
  executionPath: number[];
6074
- parentWorkflow?: InputShared_Auxiliary_115 | undefined;
6103
+ parentWorkflow?: InputShared_Auxiliary_116 | undefined;
6075
6104
  stepResults: {
6076
6105
  [key: string]: unknown;
6077
6106
  };
@@ -8070,7 +8099,7 @@ export type PostObservabilityTracesQuery_Body = {
8070
8099
  from: string;
8071
8100
  to: string;
8072
8101
  };
8073
- where?: InputShared_Auxiliary_207 | undefined;
8102
+ where?: InputShared_Auxiliary_208 | undefined;
8074
8103
  group?: {
8075
8104
  by: ['threadId'];
8076
8105
  } | undefined;
@@ -8143,11 +8172,11 @@ export type PostObservabilityTracesAggregate_Body = {
8143
8172
  from: string;
8144
8173
  to: string;
8145
8174
  };
8146
- where?: InputShared_Auxiliary_207 | undefined;
8175
+ where?: InputShared_Auxiliary_208 | undefined;
8147
8176
  groupBy?: string[];
8148
8177
  interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
8149
- measures: (('count' | 'duration.avg' | 'duration.min' | 'duration.max' | 'duration.p50' | 'duration.p90' | 'duration.p95' | 'duration.p99' | 'errorCount' | 'errorRate' | 'tokens.input.sum' | 'tokens.input.avg' | 'tokens.output.sum' | 'tokens.output.avg' | 'tokens.total.sum' | 'tokens.total.avg' | 'tokens.reasoning.sum' | 'tokens.reasoning.avg' | 'tokens.cached.sum' | 'tokens.cached.avg' | 'cost.sum' | 'cost.avg') | `countDistinct.${string}`)[];
8150
- having?: InputShared_Auxiliary_230 | undefined;
8178
+ measures: (InputShared_Type_16 | `countDistinct.${string}`)[];
8179
+ having?: InputShared_Auxiliary_231 | undefined;
8151
8180
  orderBy?: {
8152
8181
  field: string;
8153
8182
  direction: 'asc' | 'desc';
@@ -8189,6 +8218,42 @@ export interface PostObservabilityTracesAggregate_RouteContract {
8189
8218
  response: PostObservabilityTracesAggregate_Response;
8190
8219
  responseType: 'json';
8191
8220
  }
8221
+ export type PostObservabilitySpansAggregate_Body = {
8222
+ timeRange: {
8223
+ from: string;
8224
+ to: string;
8225
+ };
8226
+ where?: InputShared_Auxiliary_231 | undefined;
8227
+ groupBy?: string[];
8228
+ interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
8229
+ measures: (InputShared_Type_16 | `countDistinct.${string}`)[];
8230
+ having?: InputShared_Auxiliary_231 | undefined;
8231
+ orderBy?: {
8232
+ field: string;
8233
+ direction: 'asc' | 'desc';
8234
+ };
8235
+ limit?: number;
8236
+ };
8237
+ export type PostObservabilitySpansAggregate_Response = PostObservabilityTracesAggregate_Response;
8238
+ export type PostObservabilitySpansAggregate_Request = Simplify<(never extends never ? {} : {
8239
+ params: never;
8240
+ }) & (never extends never ? {} : {} extends never ? {
8241
+ query?: never;
8242
+ } : {
8243
+ query: never;
8244
+ }) & (PostObservabilitySpansAggregate_Body extends never ? {} : {} extends PostObservabilitySpansAggregate_Body ? {
8245
+ body?: PostObservabilitySpansAggregate_Body;
8246
+ } : {
8247
+ body: PostObservabilitySpansAggregate_Body;
8248
+ })>;
8249
+ export interface PostObservabilitySpansAggregate_RouteContract {
8250
+ pathParams: never;
8251
+ queryParams: never;
8252
+ body: PostObservabilitySpansAggregate_Body;
8253
+ request: PostObservabilitySpansAggregate_Request;
8254
+ response: PostObservabilitySpansAggregate_Response;
8255
+ responseType: 'json';
8256
+ }
8192
8257
  export type PostObservabilityThreadsQuery_Body = {
8193
8258
  timeRange: {
8194
8259
  traces: {
@@ -8202,7 +8267,7 @@ export type PostObservabilityThreadsQuery_Body = {
8202
8267
  field: 'startedAt' | 'endedAt';
8203
8268
  };
8204
8269
  };
8205
- where?: InputShared_Auxiliary_230 | undefined;
8270
+ where?: InputShared_Auxiliary_231 | undefined;
8206
8271
  orderBy?: {
8207
8272
  field: 'startedAt' | 'endedAt';
8208
8273
  direction: 'asc' | 'desc';
@@ -8217,9 +8282,9 @@ export type PostObservabilityThreadsQuery_Body = {
8217
8282
  from: string;
8218
8283
  to: string;
8219
8284
  };
8220
- where?: InputShared_Auxiliary_207 | undefined;
8285
+ where?: InputShared_Auxiliary_208 | undefined;
8221
8286
  };
8222
- where?: InputShared_Auxiliary_271 | undefined;
8287
+ where?: InputShared_Auxiliary_278 | undefined;
8223
8288
  page?: {
8224
8289
  limit?: number;
8225
8290
  after?: (string | null) | undefined;
@@ -8290,7 +8355,7 @@ export type PostObservabilitySpansQuery_Body = {
8290
8355
  from: string;
8291
8356
  to: string;
8292
8357
  };
8293
- where?: InputShared_Auxiliary_230 | undefined;
8358
+ where?: InputShared_Auxiliary_231 | undefined;
8294
8359
  orderBy?: {
8295
8360
  field: 'startedAt' | 'endedAt' | 'timeToFirstChunkMs';
8296
8361
  direction: 'asc' | 'desc';
@@ -8911,7 +8976,7 @@ export type PostObservabilityScoresAggregate_Body = {
8911
8976
  /** Aggregation function */
8912
8977
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
8913
8978
  /** Filters for querying scores */
8914
- filters?: InputShared_Type_16 | undefined;
8979
+ filters?: InputShared_Type_17 | undefined;
8915
8980
  /** Comparison period for aggregate queries */
8916
8981
  comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
8917
8982
  };
@@ -8952,7 +9017,7 @@ export type PostObservabilityScoresBreakdown_Body = {
8952
9017
  /** Aggregation function */
8953
9018
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
8954
9019
  /** Filters for querying scores */
8955
- filters?: InputShared_Type_16 | undefined;
9020
+ filters?: InputShared_Type_17 | undefined;
8956
9021
  };
8957
9022
  export type PostObservabilityScoresBreakdown_Response = {
8958
9023
  groups: {
@@ -8993,7 +9058,7 @@ export type PostObservabilityScoresTimeseries_Body = {
8993
9058
  /** Aggregation function */
8994
9059
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
8995
9060
  /** Filters for querying scores */
8996
- filters?: InputShared_Type_16 | undefined;
9061
+ filters?: InputShared_Type_17 | undefined;
8997
9062
  /** Fields to group by */
8998
9063
  groupBy?: string[] | undefined;
8999
9064
  };
@@ -9038,7 +9103,7 @@ export type PostObservabilityScoresPercentiles_Body = {
9038
9103
  /** Time bucket interval */
9039
9104
  interval: '1m' | '5m' | '15m' | '1h' | '1d';
9040
9105
  /** Filters for querying scores */
9041
- filters?: InputShared_Type_16 | undefined;
9106
+ filters?: InputShared_Type_17 | undefined;
9042
9107
  };
9043
9108
  export type PostObservabilityScoresPercentiles_Response = {
9044
9109
  series: {
@@ -9387,7 +9452,7 @@ export type PostObservabilityFeedbackAggregate_Body = {
9387
9452
  /** Aggregation function */
9388
9453
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9389
9454
  /** Filters for querying feedback */
9390
- filters?: InputShared_Type_17 | undefined;
9455
+ filters?: InputShared_Type_18 | undefined;
9391
9456
  /** Comparison period for aggregate queries */
9392
9457
  comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
9393
9458
  };
@@ -9421,7 +9486,7 @@ export type PostObservabilityFeedbackBreakdown_Body = {
9421
9486
  /** Aggregation function */
9422
9487
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9423
9488
  /** Filters for querying feedback */
9424
- filters?: InputShared_Type_17 | undefined;
9489
+ filters?: InputShared_Type_18 | undefined;
9425
9490
  };
9426
9491
  export type PostObservabilityFeedbackBreakdown_Response = PostObservabilityScoresBreakdown_Response;
9427
9492
  export type PostObservabilityFeedbackBreakdown_Request = Simplify<(never extends never ? {} : {
@@ -9453,7 +9518,7 @@ export type PostObservabilityFeedbackTimeseries_Body = {
9453
9518
  /** Aggregation function */
9454
9519
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9455
9520
  /** Filters for querying feedback */
9456
- filters?: InputShared_Type_17 | undefined;
9521
+ filters?: InputShared_Type_18 | undefined;
9457
9522
  /** Fields to group by */
9458
9523
  groupBy?: string[] | undefined;
9459
9524
  };
@@ -9498,7 +9563,7 @@ export type PostObservabilityFeedbackPercentiles_Body = {
9498
9563
  /** Time bucket interval */
9499
9564
  interval: '1m' | '5m' | '15m' | '1h' | '1d';
9500
9565
  /** Filters for querying feedback */
9501
- filters?: InputShared_Type_17 | undefined;
9566
+ filters?: InputShared_Type_18 | undefined;
9502
9567
  };
9503
9568
  export type PostObservabilityFeedbackPercentiles_Response = PostObservabilityScoresPercentiles_Response;
9504
9569
  export type PostObservabilityFeedbackPercentiles_Request = Simplify<(never extends never ? {} : {
@@ -9526,9 +9591,9 @@ export type PostObservabilityMetricsAggregate_Body = {
9526
9591
  /** Aggregation function */
9527
9592
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9528
9593
  /** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
9529
- distinctColumn?: InputShared_Type_18 | undefined;
9594
+ distinctColumn?: InputShared_Type_19 | undefined;
9530
9595
  /** Filters for querying metrics */
9531
- filters?: InputShared_Type_19 | undefined;
9596
+ filters?: InputShared_Type_20 | undefined;
9532
9597
  /** Comparison period for aggregate queries */
9533
9598
  comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
9534
9599
  };
@@ -9575,9 +9640,9 @@ export type PostObservabilityMetricsBreakdown_Body = {
9575
9640
  /** Aggregation function */
9576
9641
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9577
9642
  /** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
9578
- distinctColumn?: InputShared_Type_18 | undefined;
9643
+ distinctColumn?: InputShared_Type_19 | undefined;
9579
9644
  /** Filters for querying metrics */
9580
- filters?: InputShared_Type_19 | undefined;
9645
+ filters?: InputShared_Type_20 | undefined;
9581
9646
  /** Maximum number of groups to return (server-side TopK). Required for high-cardinality groupBy. */
9582
9647
  limit?: number | undefined;
9583
9648
  /** Sort direction for the aggregated value (defaults to 'DESC' at the storage layer; pairs with limit for top/bottom-N). */
@@ -9624,9 +9689,9 @@ export type PostObservabilityMetricsTimeseries_Body = {
9624
9689
  /** Aggregation function */
9625
9690
  aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
9626
9691
  /** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
9627
- distinctColumn?: InputShared_Type_18 | undefined;
9692
+ distinctColumn?: InputShared_Type_19 | undefined;
9628
9693
  /** Filters for querying metrics */
9629
- filters?: InputShared_Type_19 | undefined;
9694
+ filters?: InputShared_Type_20 | undefined;
9630
9695
  /** Fields to group by */
9631
9696
  groupBy?: string[] | undefined;
9632
9697
  };
@@ -9673,7 +9738,7 @@ export type PostObservabilityMetricsPercentiles_Body = {
9673
9738
  /** Time bucket interval */
9674
9739
  interval: '1m' | '5m' | '15m' | '1h' | '1d';
9675
9740
  /** Filters for querying metrics */
9676
- filters?: InputShared_Type_19 | undefined;
9741
+ filters?: InputShared_Type_20 | undefined;
9677
9742
  };
9678
9743
  export type PostObservabilityMetricsPercentiles_Response = PostObservabilityScoresPercentiles_Response;
9679
9744
  export type PostObservabilityMetricsPercentiles_Request = Simplify<(never extends never ? {} : {
@@ -10341,12 +10406,12 @@ export type PostA2aAgentId_Body = {
10341
10406
  jsonrpc: '2.0';
10342
10407
  id: string | number;
10343
10408
  method: 'message/send' | 'SendMessage';
10344
- params: InputShared_Type_30;
10409
+ params: InputShared_Type_31;
10345
10410
  } | {
10346
10411
  jsonrpc: '2.0';
10347
10412
  id: string | number;
10348
10413
  method: 'message/stream' | 'SendStreamingMessage';
10349
- params: InputShared_Type_30;
10414
+ params: InputShared_Type_31;
10350
10415
  } | {
10351
10416
  jsonrpc: '2.0';
10352
10417
  id: string | number;
@@ -10403,7 +10468,7 @@ export type PostA2aAgentId_Body = {
10403
10468
  params: {
10404
10469
  /** Task id */
10405
10470
  taskId: string;
10406
- pushNotificationConfig: InputShared_Type_28;
10471
+ pushNotificationConfig: InputShared_Type_29;
10407
10472
  };
10408
10473
  } | {
10409
10474
  jsonrpc: '2.0';
@@ -10416,7 +10481,7 @@ export type PostA2aAgentId_Body = {
10416
10481
  id?: string | undefined;
10417
10482
  /** Token unique to this task/session */
10418
10483
  token?: string | undefined;
10419
- authentication?: InputShared_Type_27 | undefined;
10484
+ authentication?: InputShared_Type_28 | undefined;
10420
10485
  /** Task id */
10421
10486
  taskId: string;
10422
10487
  tenant?: string | undefined;
@@ -11925,7 +11990,7 @@ export interface GetStoredAgents_RouteContract {
11925
11990
  }
11926
11991
  export type PostStoredAgentsPreviewInstructions_Body = {
11927
11992
  /** Array of instruction blocks to resolve */
11928
- blocks: InputShared_Type_34[];
11993
+ blocks: InputShared_Type_35[];
11929
11994
  /** Request context for variable interpolation and rule evaluation */
11930
11995
  context?: {
11931
11996
  [key: string]: unknown;
@@ -11991,52 +12056,52 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
11991
12056
  /** Description of the agent */
11992
12057
  description?: (string | undefined) | undefined;
11993
12058
  /** System instructions for the agent (string or array of instruction blocks) */
11994
- instructions?: (string | InputShared_Type_34[]) | undefined;
12059
+ instructions?: (string | InputShared_Type_35[]) | undefined;
11995
12060
  /** Model configuration — static value or array of conditional variants */
11996
- model?: InputShared_Type_36 | undefined;
12061
+ model?: InputShared_Type_37 | undefined;
11997
12062
  /** Tool keys mapped to per-tool config — static or conditional */
11998
- tools?: (InputShared_Type_38 | undefined) | undefined;
12063
+ tools?: (InputShared_Type_39 | undefined) | undefined;
11999
12064
  /** Default options for generate/stream calls — static or conditional */
12000
- defaultOptions?: ((InputShared_Type_41 | InputShared_Type_42[]) | undefined) | undefined;
12065
+ defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
12001
12066
  /** Workflow keys with optional per-workflow config — static or conditional */
12002
- workflows?: (InputShared_Type_38 | undefined) | undefined;
12067
+ workflows?: (InputShared_Type_39 | undefined) | undefined;
12003
12068
  /** Agent keys with optional per-agent config — static or conditional */
12004
- agents?: (InputShared_Type_38 | undefined) | undefined;
12069
+ agents?: (InputShared_Type_39 | undefined) | undefined;
12005
12070
  /** Map of tool provider IDs to their tool configurations — static or conditional */
12006
12071
  integrationTools?: (({
12007
12072
  [key: string]: {
12008
- tools?: InputShared_Type_37 | undefined;
12073
+ tools?: InputShared_Type_38 | undefined;
12009
12074
  };
12010
- } | InputShared_Type_43[]) | undefined) | undefined;
12075
+ } | InputShared_Type_44[]) | undefined) | undefined;
12011
12076
  /** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
12012
12077
  toolProviders?: (({
12013
- [key: string]: InputShared_Type_45;
12014
- } | InputShared_Type_46[]) | undefined) | undefined;
12078
+ [key: string]: InputShared_Type_46;
12079
+ } | InputShared_Type_47[]) | undefined) | undefined;
12015
12080
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
12016
12081
  mcpClients?: (({
12017
12082
  [key: string]: {
12018
- tools?: InputShared_Type_37 | undefined;
12083
+ tools?: InputShared_Type_38 | undefined;
12019
12084
  };
12020
- } | InputShared_Type_43[]) | undefined) | undefined;
12085
+ } | InputShared_Type_44[]) | undefined) | undefined;
12021
12086
  /** Input processor graph — static or conditional */
12022
- inputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12087
+ inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12023
12088
  /** Output processor graph — static or conditional */
12024
- outputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12089
+ outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12025
12090
  /** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
12026
- memory?: ((InputShared_Type_62 | null) | undefined) | undefined;
12091
+ memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
12027
12092
  /** Scorer keys with optional sampling config — static or conditional */
12028
12093
  scorers?: (({
12029
- [key: string]: InputShared_Type_63;
12030
- } | InputShared_Type_64[]) | undefined) | undefined;
12094
+ [key: string]: InputShared_Type_64;
12095
+ } | InputShared_Type_65[]) | undefined) | undefined;
12031
12096
  /** Skill IDs mapped to per-skill config — static or conditional */
12032
- skills?: (InputShared_Type_66 | undefined) | undefined;
12097
+ skills?: (InputShared_Type_67 | undefined) | undefined;
12033
12098
  /** Workspace reference (stored ID or inline config) — static or conditional */
12034
- workspace?: InputShared_Type_76 | undefined;
12099
+ workspace?: InputShared_Type_77 | undefined;
12035
12100
  /** Browser configuration — object config, true (apply default), false/null (disable) */
12036
12101
  browser?: ((({
12037
12102
  type: 'inline';
12038
- config: InputShared_Type_78;
12039
- } | InputShared_Type_79[]) | boolean | null) | undefined) | undefined;
12103
+ config: InputShared_Type_79;
12104
+ } | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
12040
12105
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
12041
12106
  requestContextSchema?: ({
12042
12107
  [key: string]: unknown;
@@ -12081,52 +12146,52 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
12081
12146
  /** Description of the agent */
12082
12147
  description?: (string | undefined) | undefined;
12083
12148
  /** System instructions for the agent (string or array of instruction blocks) */
12084
- instructions?: (string | InputShared_Type_34[]) | undefined;
12149
+ instructions?: (string | InputShared_Type_35[]) | undefined;
12085
12150
  /** Model configuration — static value or array of conditional variants */
12086
- model?: InputShared_Type_36 | undefined;
12151
+ model?: InputShared_Type_37 | undefined;
12087
12152
  /** Tool keys mapped to per-tool config — static or conditional */
12088
- tools?: (InputShared_Type_38 | undefined) | undefined;
12153
+ tools?: (InputShared_Type_39 | undefined) | undefined;
12089
12154
  /** Default options for generate/stream calls — static or conditional */
12090
- defaultOptions?: ((InputShared_Type_41 | InputShared_Type_42[]) | undefined) | undefined;
12155
+ defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
12091
12156
  /** Workflow keys with optional per-workflow config — static or conditional */
12092
- workflows?: (InputShared_Type_38 | undefined) | undefined;
12157
+ workflows?: (InputShared_Type_39 | undefined) | undefined;
12093
12158
  /** Agent keys with optional per-agent config — static or conditional */
12094
- agents?: (InputShared_Type_38 | undefined) | undefined;
12159
+ agents?: (InputShared_Type_39 | undefined) | undefined;
12095
12160
  /** Map of tool provider IDs to their tool configurations — static or conditional */
12096
12161
  integrationTools?: (({
12097
12162
  [key: string]: {
12098
- tools?: InputShared_Type_37 | undefined;
12163
+ tools?: InputShared_Type_38 | undefined;
12099
12164
  };
12100
- } | InputShared_Type_43[]) | undefined) | undefined;
12165
+ } | InputShared_Type_44[]) | undefined) | undefined;
12101
12166
  /** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
12102
12167
  toolProviders?: (({
12103
- [key: string]: InputShared_Type_45;
12104
- } | InputShared_Type_46[]) | undefined) | undefined;
12168
+ [key: string]: InputShared_Type_46;
12169
+ } | InputShared_Type_47[]) | undefined) | undefined;
12105
12170
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
12106
12171
  mcpClients?: (({
12107
12172
  [key: string]: {
12108
- tools?: InputShared_Type_37 | undefined;
12173
+ tools?: InputShared_Type_38 | undefined;
12109
12174
  };
12110
- } | InputShared_Type_43[]) | undefined) | undefined;
12175
+ } | InputShared_Type_44[]) | undefined) | undefined;
12111
12176
  /** Input processor graph — static or conditional */
12112
- inputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12177
+ inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12113
12178
  /** Output processor graph — static or conditional */
12114
- outputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12179
+ outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12115
12180
  /** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
12116
- memory?: ((InputShared_Type_62 | null) | undefined) | undefined;
12181
+ memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
12117
12182
  /** Scorer keys with optional sampling config — static or conditional */
12118
12183
  scorers?: (({
12119
- [key: string]: InputShared_Type_63;
12120
- } | InputShared_Type_64[]) | undefined) | undefined;
12184
+ [key: string]: InputShared_Type_64;
12185
+ } | InputShared_Type_65[]) | undefined) | undefined;
12121
12186
  /** Skill IDs mapped to per-skill config — static or conditional */
12122
- skills?: (InputShared_Type_66 | undefined) | undefined;
12187
+ skills?: (InputShared_Type_67 | undefined) | undefined;
12123
12188
  /** Workspace reference (stored ID or inline config) — static or conditional */
12124
- workspace?: InputShared_Type_76 | undefined;
12189
+ workspace?: InputShared_Type_77 | undefined;
12125
12190
  /** Browser configuration — object config, true (apply default), false/null (disable) */
12126
12191
  browser?: ((({
12127
12192
  type: 'inline';
12128
- config: InputShared_Type_78;
12129
- } | InputShared_Type_79[]) | boolean | null) | undefined) | undefined;
12193
+ config: InputShared_Type_79;
12194
+ } | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
12130
12195
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
12131
12196
  requestContextSchema?: ({
12132
12197
  [key: string]: unknown;
@@ -12207,64 +12272,64 @@ export type PostStoredAgents_Body = {
12207
12272
  /** Description of the agent */
12208
12273
  description?: string | undefined;
12209
12274
  /** System instructions for the agent (string or array of instruction blocks) */
12210
- instructions: string | InputShared_Type_34[];
12275
+ instructions: string | InputShared_Type_35[];
12211
12276
  /** Model configuration — static value or array of conditional variants. When omitted, the builder default model is applied server-side. */
12212
- model?: (InputShared_Type_35 | {
12213
- value: InputShared_Type_35;
12277
+ model?: (InputShared_Type_36 | {
12278
+ value: InputShared_Type_36;
12214
12279
  rules?: {
12215
12280
  operator: 'AND' | 'OR';
12216
- conditions: InputShared_Type_33[];
12281
+ conditions: InputShared_Type_34[];
12217
12282
  } | undefined;
12218
12283
  }[]) | undefined;
12219
12284
  /** Tool keys mapped to per-tool config — static or conditional */
12220
- tools?: InputShared_Type_38 | undefined;
12285
+ tools?: InputShared_Type_39 | undefined;
12221
12286
  /** Default options for generate/stream calls — static or conditional */
12222
- defaultOptions?: (InputShared_Type_41 | InputShared_Type_42[]) | undefined;
12287
+ defaultOptions?: (InputShared_Type_42 | InputShared_Type_43[]) | undefined;
12223
12288
  /** Workflow keys with optional per-workflow config — static or conditional */
12224
- workflows?: InputShared_Type_38 | undefined;
12289
+ workflows?: InputShared_Type_39 | undefined;
12225
12290
  /** Agent keys with optional per-agent config — static or conditional */
12226
- agents?: InputShared_Type_38 | undefined;
12291
+ agents?: InputShared_Type_39 | undefined;
12227
12292
  /** Map of tool provider IDs to their tool configurations — static or conditional */
12228
12293
  integrationTools?: ({
12229
12294
  [key: string]: {
12230
- tools?: InputShared_Type_37 | undefined;
12295
+ tools?: InputShared_Type_38 | undefined;
12231
12296
  };
12232
- } | InputShared_Type_43[]) | undefined;
12297
+ } | InputShared_Type_44[]) | undefined;
12233
12298
  /** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
12234
12299
  toolProviders?: ({
12235
- [key: string]: InputShared_Type_45;
12236
- } | InputShared_Type_46[]) | undefined;
12300
+ [key: string]: InputShared_Type_46;
12301
+ } | InputShared_Type_47[]) | undefined;
12237
12302
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
12238
12303
  mcpClients?: ({
12239
12304
  [key: string]: {
12240
- tools?: InputShared_Type_37 | undefined;
12305
+ tools?: InputShared_Type_38 | undefined;
12241
12306
  };
12242
- } | InputShared_Type_43[]) | undefined;
12307
+ } | InputShared_Type_44[]) | undefined;
12243
12308
  /** Input processor graph — static or conditional */
12244
- inputProcessors?: InputShared_Type_52 | undefined;
12309
+ inputProcessors?: InputShared_Type_53 | undefined;
12245
12310
  /** Output processor graph — static or conditional */
12246
- outputProcessors?: InputShared_Type_52 | undefined;
12311
+ outputProcessors?: InputShared_Type_53 | undefined;
12247
12312
  /** Memory: registered memory reference or inline config — static or conditional */
12248
- memory?: (InputShared_Type_61 | {
12249
- value: InputShared_Type_61;
12313
+ memory?: (InputShared_Type_62 | {
12314
+ value: InputShared_Type_62;
12250
12315
  rules?: {
12251
12316
  operator: 'AND' | 'OR';
12252
- conditions: InputShared_Type_33[];
12317
+ conditions: InputShared_Type_34[];
12253
12318
  } | undefined;
12254
12319
  }[]) | undefined;
12255
12320
  /** Scorer keys with optional sampling config — static or conditional */
12256
12321
  scorers?: ({
12257
- [key: string]: InputShared_Type_63;
12258
- } | InputShared_Type_64[]) | undefined;
12322
+ [key: string]: InputShared_Type_64;
12323
+ } | InputShared_Type_65[]) | undefined;
12259
12324
  /** Skill IDs mapped to per-skill config — static or conditional */
12260
- skills?: InputShared_Type_66 | undefined;
12325
+ skills?: InputShared_Type_67 | undefined;
12261
12326
  /** Workspace reference (stored ID or inline config) — static or conditional */
12262
- workspace?: InputShared_Type_76;
12327
+ workspace?: InputShared_Type_77;
12263
12328
  /** Browser configuration — object config, true (apply default), false/null (disable) */
12264
12329
  browser?: (({
12265
12330
  type: 'inline';
12266
- config: InputShared_Type_78;
12267
- } | InputShared_Type_79[]) | boolean | null) | undefined;
12331
+ config: InputShared_Type_79;
12332
+ } | InputShared_Type_80[]) | boolean | null) | undefined;
12268
12333
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
12269
12334
  requestContextSchema?: {
12270
12335
  [key: string]: unknown;
@@ -12310,52 +12375,52 @@ export type PatchStoredAgentsStoredAgentId_Body = {
12310
12375
  /** Description of the agent */
12311
12376
  description?: (string | undefined) | undefined;
12312
12377
  /** System instructions for the agent (string or array of instruction blocks) */
12313
- instructions?: (string | InputShared_Type_34[]) | undefined;
12378
+ instructions?: (string | InputShared_Type_35[]) | undefined;
12314
12379
  /** Model configuration — static value or array of conditional variants */
12315
- model?: InputShared_Type_36 | undefined;
12380
+ model?: InputShared_Type_37 | undefined;
12316
12381
  /** Tool keys mapped to per-tool config — static or conditional */
12317
- tools?: (InputShared_Type_38 | undefined) | undefined;
12382
+ tools?: (InputShared_Type_39 | undefined) | undefined;
12318
12383
  /** Default options for generate/stream calls — static or conditional */
12319
- defaultOptions?: ((InputShared_Type_41 | InputShared_Type_42[]) | undefined) | undefined;
12384
+ defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
12320
12385
  /** Workflow keys with optional per-workflow config — static or conditional */
12321
- workflows?: (InputShared_Type_38 | undefined) | undefined;
12386
+ workflows?: (InputShared_Type_39 | undefined) | undefined;
12322
12387
  /** Agent keys with optional per-agent config — static or conditional */
12323
- agents?: (InputShared_Type_38 | undefined) | undefined;
12388
+ agents?: (InputShared_Type_39 | undefined) | undefined;
12324
12389
  /** Map of tool provider IDs to their tool configurations — static or conditional */
12325
12390
  integrationTools?: (({
12326
12391
  [key: string]: {
12327
- tools?: InputShared_Type_37 | undefined;
12392
+ tools?: InputShared_Type_38 | undefined;
12328
12393
  };
12329
- } | InputShared_Type_43[]) | undefined) | undefined;
12394
+ } | InputShared_Type_44[]) | undefined) | undefined;
12330
12395
  /** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
12331
12396
  toolProviders?: (({
12332
- [key: string]: InputShared_Type_45;
12333
- } | InputShared_Type_46[]) | undefined) | undefined;
12397
+ [key: string]: InputShared_Type_46;
12398
+ } | InputShared_Type_47[]) | undefined) | undefined;
12334
12399
  /** Map of stored MCP client IDs to their tool configurations — static or conditional */
12335
12400
  mcpClients?: (({
12336
12401
  [key: string]: {
12337
- tools?: InputShared_Type_37 | undefined;
12402
+ tools?: InputShared_Type_38 | undefined;
12338
12403
  };
12339
- } | InputShared_Type_43[]) | undefined) | undefined;
12404
+ } | InputShared_Type_44[]) | undefined) | undefined;
12340
12405
  /** Input processor graph — static or conditional */
12341
- inputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12406
+ inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12342
12407
  /** Output processor graph — static or conditional */
12343
- outputProcessors?: (InputShared_Type_52 | undefined) | undefined;
12408
+ outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
12344
12409
  /** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
12345
- memory?: ((InputShared_Type_62 | null) | undefined) | undefined;
12410
+ memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
12346
12411
  /** Scorer keys with optional sampling config — static or conditional */
12347
12412
  scorers?: (({
12348
- [key: string]: InputShared_Type_63;
12349
- } | InputShared_Type_64[]) | undefined) | undefined;
12413
+ [key: string]: InputShared_Type_64;
12414
+ } | InputShared_Type_65[]) | undefined) | undefined;
12350
12415
  /** Skill IDs mapped to per-skill config — static or conditional */
12351
- skills?: (InputShared_Type_66 | undefined) | undefined;
12416
+ skills?: (InputShared_Type_67 | undefined) | undefined;
12352
12417
  /** Workspace reference (stored ID or inline config) — static or conditional */
12353
- workspace?: InputShared_Type_76 | undefined;
12418
+ workspace?: InputShared_Type_77 | undefined;
12354
12419
  /** Browser configuration — object config, true (apply default), false/null (disable) */
12355
12420
  browser?: ((({
12356
12421
  type: 'inline';
12357
- config: InputShared_Type_78;
12358
- } | InputShared_Type_79[]) | boolean | null) | undefined) | undefined;
12422
+ config: InputShared_Type_79;
12423
+ } | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
12359
12424
  /** JSON Schema defining valid request context variables for conditional rule evaluation */
12360
12425
  requestContextSchema?: ({
12361
12426
  [key: string]: unknown;
@@ -13074,7 +13139,7 @@ export type PostStoredWorkflows_Body = {
13074
13139
  [key: string]: unknown;
13075
13140
  } | undefined;
13076
13141
  /** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
13077
- graph: InputShared_Type_90[];
13142
+ graph: InputShared_Type_91[];
13078
13143
  /** Helper workflow definitions this workflow nests. Saved with it as one unit — the whole set is validated together, hydrated in derived dependency order, and rejected together, so a failed save never leaves orphaned helpers behind. Each helper becomes an ordinary dynamic workflow in its own right. */
13079
13144
  dependencies?: {
13080
13145
  /** Workflow id — kebab-case, descriptive */
@@ -13098,7 +13163,7 @@ export type PostStoredWorkflows_Body = {
13098
13163
  [key: string]: unknown;
13099
13164
  } | undefined;
13100
13165
  /** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
13101
- graph: InputShared_Type_90[];
13166
+ graph: InputShared_Type_91[];
13102
13167
  }[] | undefined;
13103
13168
  };
13104
13169
  export type PostStoredWorkflows_Response = {
@@ -13256,7 +13321,7 @@ export type PostStoredMcpClients_Body = {
13256
13321
  description?: string | undefined;
13257
13322
  /** Map of server name to server configuration */
13258
13323
  servers: {
13259
- [key: string]: InputShared_Type_91;
13324
+ [key: string]: InputShared_Type_92;
13260
13325
  };
13261
13326
  };
13262
13327
  export type PostStoredMcpClients_Response = GetStoredMcpClientsStoredMCPClientId_Response;
@@ -13291,7 +13356,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Body = {
13291
13356
  description?: (string | undefined) | undefined;
13292
13357
  /** Map of server name to server configuration */
13293
13358
  servers?: {
13294
- [key: string]: InputShared_Type_91;
13359
+ [key: string]: InputShared_Type_92;
13295
13360
  } | undefined;
13296
13361
  };
13297
13362
  export type PatchStoredMcpClientsStoredMCPClientId_Response = {
@@ -13657,7 +13722,7 @@ export type PostStoredPromptBlocks_Body = {
13657
13722
  /** Rules for conditional inclusion */
13658
13723
  rules?: {
13659
13724
  operator: 'AND' | 'OR';
13660
- conditions: InputShared_Type_33[];
13725
+ conditions: InputShared_Type_34[];
13661
13726
  } | undefined;
13662
13727
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
13663
13728
  requestContextSchema?: {
@@ -13699,7 +13764,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Body = {
13699
13764
  /** Rules for conditional inclusion */
13700
13765
  rules?: ({
13701
13766
  operator: 'AND' | 'OR';
13702
- conditions: InputShared_Type_33[];
13767
+ conditions: InputShared_Type_34[];
13703
13768
  } | undefined) | undefined;
13704
13769
  /** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
13705
13770
  requestContextSchema?: ({
@@ -14080,13 +14145,13 @@ export type PostStoredScorers_Body = {
14080
14145
  /** Description of the scorer */
14081
14146
  description?: string | undefined;
14082
14147
  /** Scorer type: llm-judge for custom, or a preset type name */
14083
- type: InputShared_Type_92;
14148
+ type: InputShared_Type_93;
14084
14149
  /** Model configuration for LLM judge */
14085
- model?: InputShared_Type_35 | undefined;
14150
+ model?: InputShared_Type_36 | undefined;
14086
14151
  /** System instructions for the judge LLM (used when type is llm-judge) */
14087
14152
  instructions?: string | undefined;
14088
14153
  /** Score range configuration (used when type is llm-judge) */
14089
- scoreRange?: InputShared_Type_93;
14154
+ scoreRange?: InputShared_Type_94;
14090
14155
  /** Serializable config options for preset scorers */
14091
14156
  presetConfig?: {
14092
14157
  [key: string]: unknown;
@@ -14130,13 +14195,13 @@ export type PatchStoredScorersStoredScorerId_Body = {
14130
14195
  /** Description of the scorer */
14131
14196
  description?: (string | undefined) | undefined;
14132
14197
  /** Scorer type: llm-judge for custom, or a preset type name */
14133
- type?: InputShared_Type_92 | undefined;
14198
+ type?: InputShared_Type_93 | undefined;
14134
14199
  /** Model configuration for LLM judge */
14135
- model?: (InputShared_Type_35 | undefined) | undefined;
14200
+ model?: (InputShared_Type_36 | undefined) | undefined;
14136
14201
  /** System instructions for the judge LLM (used when type is llm-judge) */
14137
14202
  instructions?: (string | undefined) | undefined;
14138
14203
  /** Score range configuration (used when type is llm-judge) */
14139
- scoreRange?: InputShared_Type_93 | undefined;
14204
+ scoreRange?: InputShared_Type_94 | undefined;
14140
14205
  /** Serializable config options for preset scorers */
14141
14206
  presetConfig?: ({
14142
14207
  [key: string]: unknown;
@@ -14577,17 +14642,17 @@ export type PostStoredWorkspaces_Body = {
14577
14642
  /** Description of the workspace */
14578
14643
  description?: string | undefined;
14579
14644
  /** Filesystem configuration */
14580
- filesystem?: InputShared_Type_67;
14645
+ filesystem?: InputShared_Type_68;
14581
14646
  /** Sandbox configuration */
14582
- sandbox?: InputShared_Type_68;
14647
+ sandbox?: InputShared_Type_69;
14583
14648
  /** Mounted filesystems keyed by mount path */
14584
- mounts?: InputShared_Type_69 | undefined;
14649
+ mounts?: InputShared_Type_70 | undefined;
14585
14650
  /** Search configuration */
14586
- search?: InputShared_Type_70 | undefined;
14651
+ search?: InputShared_Type_71 | undefined;
14587
14652
  /** Array of skill IDs */
14588
14653
  skills?: string[] | undefined;
14589
14654
  /** Workspace tool configuration */
14590
- tools?: InputShared_Type_72 | undefined;
14655
+ tools?: InputShared_Type_73 | undefined;
14591
14656
  /** Whether to automatically sync the workspace */
14592
14657
  autoSync?: boolean | undefined;
14593
14658
  /** Operation timeout in milliseconds */
@@ -14623,17 +14688,17 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Body = {
14623
14688
  /** Description of the workspace */
14624
14689
  description?: (string | undefined) | undefined;
14625
14690
  /** Filesystem configuration */
14626
- filesystem?: InputShared_Type_67 | undefined;
14691
+ filesystem?: InputShared_Type_68 | undefined;
14627
14692
  /** Sandbox configuration */
14628
- sandbox?: InputShared_Type_68 | undefined;
14693
+ sandbox?: InputShared_Type_69 | undefined;
14629
14694
  /** Mounted filesystems keyed by mount path */
14630
- mounts?: (InputShared_Type_69 | undefined) | undefined;
14695
+ mounts?: (InputShared_Type_70 | undefined) | undefined;
14631
14696
  /** Search configuration */
14632
- search?: (InputShared_Type_70 | undefined) | undefined;
14697
+ search?: (InputShared_Type_71 | undefined) | undefined;
14633
14698
  /** Array of skill IDs */
14634
14699
  skills?: (string[] | undefined) | undefined;
14635
14700
  /** Workspace tool configuration */
14636
- tools?: (InputShared_Type_72 | undefined) | undefined;
14701
+ tools?: (InputShared_Type_73 | undefined) | undefined;
14637
14702
  /** Whether to automatically sync the workspace */
14638
14703
  autoSync?: (boolean | undefined) | undefined;
14639
14704
  /** Operation timeout in milliseconds */
@@ -14780,7 +14845,7 @@ export type PostStoredSkills_Body = {
14780
14845
  /** Compatibility requirements */
14781
14846
  compatibility?: unknown | undefined;
14782
14847
  /** Source location of the skill */
14783
- source?: InputShared_Type_94 | undefined;
14848
+ source?: InputShared_Type_95 | undefined;
14784
14849
  /** List of reference file paths */
14785
14850
  references?: string[] | undefined;
14786
14851
  /** List of script file paths */
@@ -14788,7 +14853,7 @@ export type PostStoredSkills_Body = {
14788
14853
  /** List of asset file paths */
14789
14854
  assets?: string[] | undefined;
14790
14855
  /** Full file tree structure for the skill */
14791
- files?: InputShared_Auxiliary_777[] | undefined;
14856
+ files?: InputShared_Auxiliary_784[] | undefined;
14792
14857
  /** Additional metadata for the skill */
14793
14858
  metadata?: {
14794
14859
  [key: string]: unknown;
@@ -14830,7 +14895,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
14830
14895
  /** Compatibility requirements */
14831
14896
  compatibility?: (unknown | undefined) | undefined;
14832
14897
  /** Source location of the skill */
14833
- source?: (InputShared_Type_94 | undefined) | undefined;
14898
+ source?: (InputShared_Type_95 | undefined) | undefined;
14834
14899
  /** List of reference file paths */
14835
14900
  references?: (string[] | undefined) | undefined;
14836
14901
  /** List of script file paths */
@@ -14838,7 +14903,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
14838
14903
  /** List of asset file paths */
14839
14904
  assets?: (string[] | undefined) | undefined;
14840
14905
  /** Full file tree structure for the skill */
14841
- files?: (InputShared_Auxiliary_777[] | undefined) | undefined;
14906
+ files?: (InputShared_Auxiliary_784[] | undefined) | undefined;
14842
14907
  /** Additional metadata for the skill */
14843
14908
  metadata?: ({
14844
14909
  [key: string]: unknown;
@@ -15802,9 +15867,9 @@ export type PostDatasetsDatasetIdItems_Body = {
15802
15867
  /** Expected output for comparison */
15803
15868
  groundTruth?: unknown | undefined;
15804
15869
  /** Expected trajectory configuration for trajectory scoring */
15805
- expectedTrajectory?: (InputShared_Type_109 | undefined) | null;
15870
+ expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
15806
15871
  /** Ordered item-level static tool mocks served in place of executing the real tool */
15807
- toolMocks?: InputShared_Type_110[] | undefined;
15872
+ toolMocks?: InputShared_Type_111[] | undefined;
15808
15873
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
15809
15874
  unmockedToolPolicy?: ('allow' | 'deny') | undefined;
15810
15875
  /** IDs of scorers selected for this item */
@@ -15818,7 +15883,7 @@ export type PostDatasetsDatasetIdItems_Body = {
15818
15883
  [key: string]: unknown;
15819
15884
  } | undefined;
15820
15885
  /** Source/provenance of this dataset item */
15821
- source?: InputShared_Type_111 | undefined;
15886
+ source?: InputShared_Type_112 | undefined;
15822
15887
  };
15823
15888
  export type PostDatasetsDatasetIdItems_Response = Shared_Type_88;
15824
15889
  export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
@@ -15847,9 +15912,9 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
15847
15912
  input: unknown;
15848
15913
  groundTruth?: unknown | undefined;
15849
15914
  /** Expected trajectory configuration for trajectory scoring */
15850
- expectedTrajectory?: (InputShared_Type_109 | undefined) | null;
15915
+ expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
15851
15916
  /** Ordered item-level static tool mocks served in place of executing the real tool */
15852
- toolMocks?: InputShared_Type_110[] | undefined;
15917
+ toolMocks?: InputShared_Type_111[] | undefined;
15853
15918
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
15854
15919
  unmockedToolPolicy?: ('allow' | 'deny') | undefined;
15855
15920
  scorerIds?: string[] | undefined;
@@ -15860,7 +15925,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
15860
15925
  [key: string]: unknown;
15861
15926
  } | undefined;
15862
15927
  /** Source/provenance of this dataset item */
15863
- source?: InputShared_Type_111 | undefined;
15928
+ source?: InputShared_Type_112 | undefined;
15864
15929
  }[];
15865
15930
  };
15866
15931
  export type PostDatasetsDatasetIdItemsBatch_Response = {
@@ -15946,9 +16011,9 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
15946
16011
  /** Expected output for comparison */
15947
16012
  groundTruth?: unknown | undefined;
15948
16013
  /** Expected trajectory configuration for trajectory scoring */
15949
- expectedTrajectory?: (InputShared_Type_109 | undefined) | null;
16014
+ expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
15950
16015
  /** Ordered item-level static tool mocks served in place of executing the real tool */
15951
- toolMocks?: InputShared_Type_110[] | undefined;
16016
+ toolMocks?: InputShared_Type_111[] | undefined;
15952
16017
  /** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
15953
16018
  unmockedToolPolicy?: ('allow' | 'deny') | undefined;
15954
16019
  /** IDs of scorers selected for this item */
@@ -15962,7 +16027,7 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
15962
16027
  [key: string]: unknown;
15963
16028
  } | undefined;
15964
16029
  /** Source/provenance of this dataset item */
15965
- source?: InputShared_Type_111 | undefined;
16030
+ source?: InputShared_Type_112 | undefined;
15966
16031
  };
15967
16032
  export type PatchDatasetsDatasetIdItemsItemId_Response = PostDatasetsDatasetIdItems_Response;
15968
16033
  export type PatchDatasetsDatasetIdItemsItemId_Request = Simplify<(PatchDatasetsDatasetIdItemsItemId_PathParams extends never ? {} : {
@@ -16300,6 +16365,11 @@ export type PostDatasetsDatasetIdExperiments_Body = {
16300
16365
  version?: number | undefined;
16301
16366
  /** Agent version ID to use for experiment */
16302
16367
  agentVersion?: string | undefined;
16368
+ /** Model to run an agent target on for this experiment only, instead of the model the agent is configured with. Passed per call; the agent itself is not changed and the model is not stored on the experiment. */
16369
+ agentModel?: {
16370
+ provider: string;
16371
+ modelId: string;
16372
+ } | undefined;
16303
16373
  /** Maximum concurrent executions */
16304
16374
  maxConcurrency?: number | undefined;
16305
16375
  /** Caller-provided provenance claims for the experiment execution */
@@ -17677,8 +17747,8 @@ export type PostSchedules_Body = {
17677
17747
  attributes?: {
17678
17748
  [key: string]: (string | number | boolean | null) | undefined;
17679
17749
  } | undefined;
17680
- ifActive?: InputShared_Type_112 | undefined;
17681
- ifIdle?: InputShared_Type_113 | undefined;
17750
+ ifActive?: InputShared_Type_113 | undefined;
17751
+ ifIdle?: InputShared_Type_114 | undefined;
17682
17752
  providerOptions?: {
17683
17753
  [key: string]: unknown;
17684
17754
  } | undefined;
@@ -17735,8 +17805,8 @@ export type PatchSchedulesScheduleId_Body = {
17735
17805
  attributes?: {
17736
17806
  [key: string]: (string | number | boolean | null) | undefined;
17737
17807
  } | undefined;
17738
- ifActive?: InputShared_Type_112 | undefined;
17739
- ifIdle?: InputShared_Type_113 | undefined;
17808
+ ifActive?: InputShared_Type_113 | undefined;
17809
+ ifIdle?: InputShared_Type_114 | undefined;
17740
17810
  providerOptions?: {
17741
17811
  [key: string]: unknown;
17742
17812
  } | undefined;
@@ -19131,6 +19201,7 @@ export interface RouteTypes {
19131
19201
  'POST /agents/:agentId/queue-message': PostAgentsAgentIdQueueMessage_RouteContract;
19132
19202
  'POST /agents/:agentId/queue-signal': PostAgentsAgentIdQueueSignal_RouteContract;
19133
19203
  'POST /agents/:agentId/signals': PostAgentsAgentIdSignals_RouteContract;
19204
+ 'POST /agents/:agentId/runs/:runId/abort': PostAgentsAgentIdRunsRunIdAbort_RouteContract;
19134
19205
  'POST /agents/:agentId/threads/abort': PostAgentsAgentIdThreadsAbort_RouteContract;
19135
19206
  'POST /agents/:agentId/threads/signals/cancel': PostAgentsAgentIdThreadsSignalsCancel_RouteContract;
19136
19207
  'POST /agents/:agentId/threads/subscribe': PostAgentsAgentIdThreadsSubscribe_RouteContract;
@@ -19256,6 +19327,7 @@ export interface RouteTypes {
19256
19327
  'GET /observability/traces/:traceId/:spanId/scores': GetObservabilityTracesTraceIdSpanIdScores_RouteContract;
19257
19328
  'POST /observability/traces/query': PostObservabilityTracesQuery_RouteContract;
19258
19329
  'POST /observability/traces/aggregate': PostObservabilityTracesAggregate_RouteContract;
19330
+ 'POST /observability/spans/aggregate': PostObservabilitySpansAggregate_RouteContract;
19259
19331
  'POST /observability/threads/query': PostObservabilityThreadsQuery_RouteContract;
19260
19332
  'POST /observability/spans/query': PostObservabilitySpansQuery_RouteContract;
19261
19333
  'POST /observability/traces/query/fields': PostObservabilityTracesQueryFields_RouteContract;
@@ -19782,6 +19854,9 @@ export interface Client {
19782
19854
  '/agents/:agentId/resume-stream-until-idle': {
19783
19855
  POST: PostAgentsAgentIdResumeStreamUntilIdle_RouteContract;
19784
19856
  };
19857
+ '/agents/:agentId/runs/:runId/abort': {
19858
+ POST: PostAgentsAgentIdRunsRunIdAbort_RouteContract;
19859
+ };
19785
19860
  '/agents/:agentId/send-message': {
19786
19861
  POST: PostAgentsAgentIdSendMessage_RouteContract;
19787
19862
  };
@@ -20219,6 +20294,9 @@ export interface Client {
20219
20294
  '/observability/scores/timeseries': {
20220
20295
  POST: PostObservabilityScoresTimeseries_RouteContract;
20221
20296
  };
20297
+ '/observability/spans/aggregate': {
20298
+ POST: PostObservabilitySpansAggregate_RouteContract;
20299
+ };
20222
20300
  '/observability/spans/query': {
20223
20301
  POST: PostObservabilitySpansQuery_RouteContract;
20224
20302
  };