@mastra/client-js 1.56.0 → 1.57.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +5 -3
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-connections-a2a.md +1 -1
- package/dist/docs/references/docs-harness-agent-controller.md +7 -7
- package/dist/docs/references/docs-harness-schedules.md +5 -5
- package/dist/docs/references/docs-server-mastra-client.md +1 -1
- package/dist/docs/references/docs-signals-notifications.md +233 -0
- package/dist/docs/references/docs-signals-sending-signals.md +166 -0
- package/dist/docs/references/docs-signals-thread-streams.md +94 -0
- package/dist/docs/references/docs-studio-editor.md +39 -23
- package/dist/docs/references/reference-client-js-agent-controller.md +1 -1
- package/dist/docs/references/reference-client-js-agents.md +1 -1
- package/dist/docs/references/reference-client-js-observability.md +26 -1
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +92 -11
- package/dist/index.cjs +20 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/observability-route-types.d.ts +2 -0
- package/dist/resources/observability-route-types.d.ts.map +1 -1
- package/dist/resources/observability.d.ts +7 -1
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +376 -333
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/docs/references/docs-harness-signals.md +0 -546
|
@@ -118,12 +118,12 @@ type InputShared_Auxiliary_230 = {
|
|
|
118
118
|
op: 'not';
|
|
119
119
|
arg: InputShared_Auxiliary_230;
|
|
120
120
|
};
|
|
121
|
-
type
|
|
121
|
+
type InputShared_Auxiliary_277 = {
|
|
122
122
|
op: 'and' | 'or';
|
|
123
|
-
args:
|
|
123
|
+
args: InputShared_Auxiliary_277[];
|
|
124
124
|
} | {
|
|
125
125
|
op: 'not';
|
|
126
|
-
arg:
|
|
126
|
+
arg: InputShared_Auxiliary_277;
|
|
127
127
|
} | {
|
|
128
128
|
traces: {
|
|
129
129
|
some: InputShared_Auxiliary_207;
|
|
@@ -131,7 +131,7 @@ type InputShared_Auxiliary_271 = {
|
|
|
131
131
|
none: InputShared_Auxiliary_207;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
type
|
|
134
|
+
type InputShared_Auxiliary_709 = {
|
|
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:
|
|
166
|
+
args: InputShared_Auxiliary_709[];
|
|
167
167
|
} | {
|
|
168
168
|
op: 'not';
|
|
169
|
-
arg:
|
|
169
|
+
arg: InputShared_Auxiliary_709;
|
|
170
170
|
};
|
|
171
|
-
type
|
|
171
|
+
type InputShared_Auxiliary_783 = {
|
|
172
172
|
id?: string | undefined;
|
|
173
173
|
name: string;
|
|
174
174
|
type: 'file' | 'folder';
|
|
175
175
|
content?: string | undefined;
|
|
176
|
-
children?:
|
|
176
|
+
children?: InputShared_Auxiliary_783[] | 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
|
|
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
|
|
507
|
-
type
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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: ((
|
|
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
|
|
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
|
|
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?:
|
|
670
|
+
authentication?: InputShared_Type_28 | undefined;
|
|
670
671
|
};
|
|
671
|
-
type
|
|
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?:
|
|
681
|
-
taskPushNotificationConfig?:
|
|
681
|
+
pushNotificationConfig?: InputShared_Type_29 | undefined;
|
|
682
|
+
taskPushNotificationConfig?: InputShared_Type_29 | undefined;
|
|
682
683
|
};
|
|
683
|
-
type
|
|
684
|
-
message:
|
|
685
|
-
configuration?:
|
|
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
|
|
692
|
-
type
|
|
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:
|
|
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:
|
|
701
|
+
operator: InputShared_Type_32;
|
|
701
702
|
value?: unknown | undefined;
|
|
702
703
|
}[];
|
|
703
704
|
};
|
|
704
|
-
type
|
|
705
|
+
type InputShared_Type_34 = {
|
|
705
706
|
field: string;
|
|
706
|
-
operator:
|
|
707
|
+
operator: InputShared_Type_32;
|
|
707
708
|
value?: unknown | undefined;
|
|
708
709
|
} | {
|
|
709
710
|
operator: 'AND' | 'OR';
|
|
710
|
-
conditions:
|
|
711
|
+
conditions: InputShared_Type_33[];
|
|
711
712
|
};
|
|
712
|
-
type
|
|
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:
|
|
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:
|
|
728
|
+
conditions: InputShared_Type_34[];
|
|
728
729
|
} | undefined;
|
|
729
730
|
};
|
|
730
|
-
type
|
|
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
|
|
738
|
-
value:
|
|
738
|
+
type InputShared_Type_37 = InputShared_Type_36 | {
|
|
739
|
+
value: InputShared_Type_36;
|
|
739
740
|
rules?: {
|
|
740
741
|
operator: 'AND' | 'OR';
|
|
741
|
-
conditions:
|
|
742
|
+
conditions: InputShared_Type_34[];
|
|
742
743
|
} | undefined;
|
|
743
744
|
}[];
|
|
744
|
-
type
|
|
745
|
+
type InputShared_Type_38 = {
|
|
745
746
|
[key: string]: {
|
|
746
747
|
description?: string | undefined;
|
|
747
748
|
rules?: {
|
|
748
749
|
operator: 'AND' | 'OR';
|
|
749
|
-
conditions:
|
|
750
|
+
conditions: InputShared_Type_34[];
|
|
750
751
|
} | undefined;
|
|
751
752
|
};
|
|
752
753
|
};
|
|
753
|
-
type
|
|
754
|
-
value:
|
|
754
|
+
type InputShared_Type_39 = InputShared_Type_38 | {
|
|
755
|
+
value: InputShared_Type_38;
|
|
755
756
|
rules?: {
|
|
756
757
|
operator: 'AND' | 'OR';
|
|
757
|
-
conditions:
|
|
758
|
+
conditions: InputShared_Type_34[];
|
|
758
759
|
} | undefined;
|
|
759
760
|
}[];
|
|
760
|
-
type
|
|
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
|
|
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
|
|
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?:
|
|
790
|
+
modelSettings?: InputShared_Type_40 | undefined;
|
|
790
791
|
returnScorerData?: boolean | undefined;
|
|
791
|
-
tracingOptions?:
|
|
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
|
|
803
|
+
type InputShared_Type_43 = {
|
|
803
804
|
/** Default options for agent execution */
|
|
804
|
-
value:
|
|
805
|
+
value: InputShared_Type_42;
|
|
805
806
|
rules?: {
|
|
806
807
|
operator: 'AND' | 'OR';
|
|
807
|
-
conditions:
|
|
808
|
+
conditions: InputShared_Type_34[];
|
|
808
809
|
} | undefined;
|
|
809
810
|
};
|
|
810
|
-
type
|
|
811
|
+
type InputShared_Type_44 = {
|
|
811
812
|
value: {
|
|
812
813
|
[key: string]: {
|
|
813
|
-
tools?:
|
|
814
|
+
tools?: InputShared_Type_38 | undefined;
|
|
814
815
|
};
|
|
815
816
|
};
|
|
816
817
|
rules?: {
|
|
817
818
|
operator: 'AND' | 'OR';
|
|
818
|
-
conditions:
|
|
819
|
+
conditions: InputShared_Type_34[];
|
|
819
820
|
} | undefined;
|
|
820
821
|
};
|
|
821
|
-
type
|
|
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
|
|
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]:
|
|
837
|
+
[key: string]: InputShared_Type_45[];
|
|
837
838
|
};
|
|
838
839
|
};
|
|
839
|
-
type
|
|
840
|
+
type InputShared_Type_47 = {
|
|
840
841
|
value: {
|
|
841
|
-
[key: string]:
|
|
842
|
+
[key: string]: InputShared_Type_46;
|
|
842
843
|
};
|
|
843
844
|
rules?: {
|
|
844
845
|
operator: 'AND' | 'OR';
|
|
845
|
-
conditions:
|
|
846
|
+
conditions: InputShared_Type_34[];
|
|
846
847
|
} | undefined;
|
|
847
848
|
};
|
|
848
|
-
type
|
|
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
|
|
861
|
+
type InputShared_Type_49 = {
|
|
861
862
|
steps: {
|
|
862
863
|
type: 'step';
|
|
863
|
-
step:
|
|
864
|
+
step: InputShared_Type_48;
|
|
864
865
|
}[];
|
|
865
866
|
rules?: {
|
|
866
867
|
operator: 'AND' | 'OR';
|
|
867
|
-
conditions:
|
|
868
|
+
conditions: InputShared_Type_34[];
|
|
868
869
|
} | undefined;
|
|
869
870
|
};
|
|
870
|
-
type
|
|
871
|
+
type InputShared_Type_50 = {
|
|
871
872
|
type: 'step';
|
|
872
|
-
step:
|
|
873
|
+
step: InputShared_Type_48;
|
|
873
874
|
} | {
|
|
874
875
|
type: 'parallel';
|
|
875
876
|
branches: {
|
|
876
877
|
type: 'step';
|
|
877
|
-
step:
|
|
878
|
+
step: InputShared_Type_48;
|
|
878
879
|
}[][];
|
|
879
880
|
} | {
|
|
880
881
|
type: 'conditional';
|
|
881
|
-
conditions:
|
|
882
|
+
conditions: InputShared_Type_49[];
|
|
882
883
|
};
|
|
883
|
-
type
|
|
884
|
+
type InputShared_Type_51 = {
|
|
884
885
|
type: 'conditional';
|
|
885
886
|
conditions: {
|
|
886
|
-
steps:
|
|
887
|
+
steps: InputShared_Type_50[];
|
|
887
888
|
rules?: {
|
|
888
889
|
operator: 'AND' | 'OR';
|
|
889
|
-
conditions:
|
|
890
|
+
conditions: InputShared_Type_34[];
|
|
890
891
|
} | undefined;
|
|
891
892
|
}[];
|
|
892
893
|
};
|
|
893
|
-
type
|
|
894
|
+
type InputShared_Type_52 = {
|
|
894
895
|
/** Ordered list of processor graph entries */
|
|
895
896
|
steps: ({
|
|
896
897
|
type: 'step';
|
|
897
|
-
step:
|
|
898
|
+
step: InputShared_Type_48;
|
|
898
899
|
} | {
|
|
899
900
|
type: 'parallel';
|
|
900
|
-
branches:
|
|
901
|
-
} |
|
|
901
|
+
branches: InputShared_Type_50[][];
|
|
902
|
+
} | InputShared_Type_51)[];
|
|
902
903
|
};
|
|
903
|
-
type
|
|
904
|
-
value:
|
|
904
|
+
type InputShared_Type_53 = InputShared_Type_52 | {
|
|
905
|
+
value: InputShared_Type_52;
|
|
905
906
|
rules?: {
|
|
906
907
|
operator: 'AND' | 'OR';
|
|
907
|
-
conditions:
|
|
908
|
+
conditions: InputShared_Type_34[];
|
|
908
909
|
} | undefined;
|
|
909
910
|
}[];
|
|
910
|
-
type
|
|
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
|
|
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
|
|
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 |
|
|
943
|
-
generateTitle?: (boolean |
|
|
943
|
+
semanticRecall?: (boolean | InputShared_Type_54) | undefined;
|
|
944
|
+
generateTitle?: (boolean | InputShared_Type_55) | undefined;
|
|
944
945
|
};
|
|
945
|
-
type
|
|
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
|
|
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
|
|
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?:
|
|
998
|
+
observation?: InputShared_Type_57 | undefined;
|
|
998
999
|
/** Reflection step configuration */
|
|
999
|
-
reflection?:
|
|
1000
|
+
reflection?: InputShared_Type_58 | undefined;
|
|
1000
1001
|
};
|
|
1001
|
-
type
|
|
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?:
|
|
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 |
|
|
1014
|
+
observationalMemory?: (boolean | InputShared_Type_59) | undefined;
|
|
1014
1015
|
};
|
|
1015
|
-
type
|
|
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?:
|
|
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 |
|
|
1028
|
+
observationalMemory?: (boolean | InputShared_Type_59) | undefined;
|
|
1028
1029
|
type?: never | undefined;
|
|
1029
1030
|
};
|
|
1030
|
-
type
|
|
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:
|
|
1037
|
-
} |
|
|
1038
|
-
type
|
|
1039
|
-
value:
|
|
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:
|
|
1043
|
+
conditions: InputShared_Type_34[];
|
|
1043
1044
|
} | undefined;
|
|
1044
1045
|
}[];
|
|
1045
|
-
type
|
|
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:
|
|
1056
|
+
conditions: InputShared_Type_34[];
|
|
1056
1057
|
} | undefined;
|
|
1057
1058
|
};
|
|
1058
|
-
type
|
|
1059
|
+
type InputShared_Type_65 = {
|
|
1059
1060
|
value: {
|
|
1060
|
-
[key: string]:
|
|
1061
|
+
[key: string]: InputShared_Type_64;
|
|
1061
1062
|
};
|
|
1062
1063
|
rules?: {
|
|
1063
1064
|
operator: 'AND' | 'OR';
|
|
1064
|
-
conditions:
|
|
1065
|
+
conditions: InputShared_Type_34[];
|
|
1065
1066
|
} | undefined;
|
|
1066
1067
|
};
|
|
1067
|
-
type
|
|
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
|
|
1076
|
-
value:
|
|
1076
|
+
type InputShared_Type_67 = InputShared_Type_66 | {
|
|
1077
|
+
value: InputShared_Type_66;
|
|
1077
1078
|
rules?: {
|
|
1078
1079
|
operator: 'AND' | 'OR';
|
|
1079
|
-
conditions:
|
|
1080
|
+
conditions: InputShared_Type_34[];
|
|
1080
1081
|
} | undefined;
|
|
1081
1082
|
}[];
|
|
1082
|
-
type
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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]:
|
|
1149
|
+
[key: string]: InputShared_Type_72;
|
|
1149
1150
|
} | undefined;
|
|
1150
1151
|
};
|
|
1151
|
-
type
|
|
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?:
|
|
1158
|
+
filesystem?: InputShared_Type_68;
|
|
1158
1159
|
/** Sandbox configuration */
|
|
1159
|
-
sandbox?:
|
|
1160
|
+
sandbox?: InputShared_Type_69;
|
|
1160
1161
|
/** Mounted filesystems keyed by mount path */
|
|
1161
|
-
mounts?:
|
|
1162
|
+
mounts?: InputShared_Type_70 | undefined;
|
|
1162
1163
|
/** Search configuration */
|
|
1163
|
-
search?:
|
|
1164
|
+
search?: InputShared_Type_71 | undefined;
|
|
1164
1165
|
/** Array of skill IDs */
|
|
1165
1166
|
skills?: string[] | undefined;
|
|
1166
1167
|
/** Workspace tool configuration */
|
|
1167
|
-
tools?:
|
|
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
|
|
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
|
|
1183
|
+
type InputShared_Type_76 = {
|
|
1183
1184
|
value: {
|
|
1184
1185
|
type: 'id';
|
|
1185
1186
|
workspaceId: string;
|
|
1186
1187
|
} | {
|
|
1187
1188
|
type: 'inline';
|
|
1188
|
-
config:
|
|
1189
|
-
} |
|
|
1189
|
+
config: InputShared_Type_74;
|
|
1190
|
+
} | InputShared_Type_75;
|
|
1190
1191
|
rules?: {
|
|
1191
1192
|
operator: 'AND' | 'OR';
|
|
1192
|
-
conditions:
|
|
1193
|
+
conditions: InputShared_Type_34[];
|
|
1193
1194
|
} | undefined;
|
|
1194
1195
|
};
|
|
1195
|
-
type
|
|
1196
|
+
type InputShared_Type_77 = (({
|
|
1196
1197
|
type: 'id';
|
|
1197
1198
|
workspaceId: string;
|
|
1198
1199
|
} | {
|
|
1199
1200
|
type: 'inline';
|
|
1200
|
-
config:
|
|
1201
|
-
} |
|
|
1202
|
-
type
|
|
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
|
|
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?:
|
|
1230
|
+
screencast?: InputShared_Type_78 | undefined;
|
|
1230
1231
|
};
|
|
1231
|
-
type
|
|
1232
|
+
type InputShared_Type_80 = {
|
|
1232
1233
|
value: {
|
|
1233
1234
|
type: 'inline';
|
|
1234
|
-
config:
|
|
1235
|
+
config: InputShared_Type_79;
|
|
1235
1236
|
};
|
|
1236
1237
|
rules?: {
|
|
1237
1238
|
operator: 'AND' | 'OR';
|
|
1238
|
-
conditions:
|
|
1239
|
+
conditions: InputShared_Type_34[];
|
|
1239
1240
|
} | undefined;
|
|
1240
1241
|
};
|
|
1241
|
-
type
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
1291
|
+
steps: InputShared_Type_84[];
|
|
1291
1292
|
};
|
|
1292
|
-
type
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
1335
|
-
predicates:
|
|
1335
|
+
steps: InputShared_Type_84[];
|
|
1336
|
+
predicates: InputShared_Auxiliary_709[];
|
|
1336
1337
|
};
|
|
1337
|
-
type
|
|
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:
|
|
1345
|
+
step: InputShared_Type_84;
|
|
1345
1346
|
loopType: 'dowhile' | 'dountil';
|
|
1346
|
-
predicate:
|
|
1347
|
+
predicate: InputShared_Auxiliary_709;
|
|
1347
1348
|
};
|
|
1348
|
-
type
|
|
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
|
-
} |
|
|
1354
|
-
type
|
|
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
|
|
1371
|
-
type
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1561
|
-
type
|
|
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
|
|
1573
|
+
type InputShared_Type_110 = {
|
|
1573
1574
|
/** Expected steps for accuracy checking */
|
|
1574
|
-
steps?: (
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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. */
|
|
@@ -8146,7 +8149,7 @@ export type PostObservabilityTracesAggregate_Body = {
|
|
|
8146
8149
|
where?: InputShared_Auxiliary_207 | undefined;
|
|
8147
8150
|
groupBy?: string[];
|
|
8148
8151
|
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
8149
|
-
measures: (
|
|
8152
|
+
measures: (InputShared_Type_16 | `countDistinct.${string}`)[];
|
|
8150
8153
|
having?: InputShared_Auxiliary_230 | undefined;
|
|
8151
8154
|
orderBy?: {
|
|
8152
8155
|
field: string;
|
|
@@ -8189,6 +8192,42 @@ export interface PostObservabilityTracesAggregate_RouteContract {
|
|
|
8189
8192
|
response: PostObservabilityTracesAggregate_Response;
|
|
8190
8193
|
responseType: 'json';
|
|
8191
8194
|
}
|
|
8195
|
+
export type PostObservabilitySpansAggregate_Body = {
|
|
8196
|
+
timeRange: {
|
|
8197
|
+
from: string;
|
|
8198
|
+
to: string;
|
|
8199
|
+
};
|
|
8200
|
+
where?: InputShared_Auxiliary_230 | undefined;
|
|
8201
|
+
groupBy?: string[];
|
|
8202
|
+
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
8203
|
+
measures: (InputShared_Type_16 | `countDistinct.${string}`)[];
|
|
8204
|
+
having?: InputShared_Auxiliary_230 | undefined;
|
|
8205
|
+
orderBy?: {
|
|
8206
|
+
field: string;
|
|
8207
|
+
direction: 'asc' | 'desc';
|
|
8208
|
+
};
|
|
8209
|
+
limit?: number;
|
|
8210
|
+
};
|
|
8211
|
+
export type PostObservabilitySpansAggregate_Response = PostObservabilityTracesAggregate_Response;
|
|
8212
|
+
export type PostObservabilitySpansAggregate_Request = Simplify<(never extends never ? {} : {
|
|
8213
|
+
params: never;
|
|
8214
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
8215
|
+
query?: never;
|
|
8216
|
+
} : {
|
|
8217
|
+
query: never;
|
|
8218
|
+
}) & (PostObservabilitySpansAggregate_Body extends never ? {} : {} extends PostObservabilitySpansAggregate_Body ? {
|
|
8219
|
+
body?: PostObservabilitySpansAggregate_Body;
|
|
8220
|
+
} : {
|
|
8221
|
+
body: PostObservabilitySpansAggregate_Body;
|
|
8222
|
+
})>;
|
|
8223
|
+
export interface PostObservabilitySpansAggregate_RouteContract {
|
|
8224
|
+
pathParams: never;
|
|
8225
|
+
queryParams: never;
|
|
8226
|
+
body: PostObservabilitySpansAggregate_Body;
|
|
8227
|
+
request: PostObservabilitySpansAggregate_Request;
|
|
8228
|
+
response: PostObservabilitySpansAggregate_Response;
|
|
8229
|
+
responseType: 'json';
|
|
8230
|
+
}
|
|
8192
8231
|
export type PostObservabilityThreadsQuery_Body = {
|
|
8193
8232
|
timeRange: {
|
|
8194
8233
|
traces: {
|
|
@@ -8219,7 +8258,7 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
8219
8258
|
};
|
|
8220
8259
|
where?: InputShared_Auxiliary_207 | undefined;
|
|
8221
8260
|
};
|
|
8222
|
-
where?:
|
|
8261
|
+
where?: InputShared_Auxiliary_277 | undefined;
|
|
8223
8262
|
page?: {
|
|
8224
8263
|
limit?: number;
|
|
8225
8264
|
after?: (string | null) | undefined;
|
|
@@ -8911,7 +8950,7 @@ export type PostObservabilityScoresAggregate_Body = {
|
|
|
8911
8950
|
/** Aggregation function */
|
|
8912
8951
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
8913
8952
|
/** Filters for querying scores */
|
|
8914
|
-
filters?:
|
|
8953
|
+
filters?: InputShared_Type_17 | undefined;
|
|
8915
8954
|
/** Comparison period for aggregate queries */
|
|
8916
8955
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
8917
8956
|
};
|
|
@@ -8952,7 +8991,7 @@ export type PostObservabilityScoresBreakdown_Body = {
|
|
|
8952
8991
|
/** Aggregation function */
|
|
8953
8992
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
8954
8993
|
/** Filters for querying scores */
|
|
8955
|
-
filters?:
|
|
8994
|
+
filters?: InputShared_Type_17 | undefined;
|
|
8956
8995
|
};
|
|
8957
8996
|
export type PostObservabilityScoresBreakdown_Response = {
|
|
8958
8997
|
groups: {
|
|
@@ -8993,7 +9032,7 @@ export type PostObservabilityScoresTimeseries_Body = {
|
|
|
8993
9032
|
/** Aggregation function */
|
|
8994
9033
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
8995
9034
|
/** Filters for querying scores */
|
|
8996
|
-
filters?:
|
|
9035
|
+
filters?: InputShared_Type_17 | undefined;
|
|
8997
9036
|
/** Fields to group by */
|
|
8998
9037
|
groupBy?: string[] | undefined;
|
|
8999
9038
|
};
|
|
@@ -9038,7 +9077,7 @@ export type PostObservabilityScoresPercentiles_Body = {
|
|
|
9038
9077
|
/** Time bucket interval */
|
|
9039
9078
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9040
9079
|
/** Filters for querying scores */
|
|
9041
|
-
filters?:
|
|
9080
|
+
filters?: InputShared_Type_17 | undefined;
|
|
9042
9081
|
};
|
|
9043
9082
|
export type PostObservabilityScoresPercentiles_Response = {
|
|
9044
9083
|
series: {
|
|
@@ -9387,7 +9426,7 @@ export type PostObservabilityFeedbackAggregate_Body = {
|
|
|
9387
9426
|
/** Aggregation function */
|
|
9388
9427
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9389
9428
|
/** Filters for querying feedback */
|
|
9390
|
-
filters?:
|
|
9429
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9391
9430
|
/** Comparison period for aggregate queries */
|
|
9392
9431
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
9393
9432
|
};
|
|
@@ -9421,7 +9460,7 @@ export type PostObservabilityFeedbackBreakdown_Body = {
|
|
|
9421
9460
|
/** Aggregation function */
|
|
9422
9461
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9423
9462
|
/** Filters for querying feedback */
|
|
9424
|
-
filters?:
|
|
9463
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9425
9464
|
};
|
|
9426
9465
|
export type PostObservabilityFeedbackBreakdown_Response = PostObservabilityScoresBreakdown_Response;
|
|
9427
9466
|
export type PostObservabilityFeedbackBreakdown_Request = Simplify<(never extends never ? {} : {
|
|
@@ -9453,7 +9492,7 @@ export type PostObservabilityFeedbackTimeseries_Body = {
|
|
|
9453
9492
|
/** Aggregation function */
|
|
9454
9493
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9455
9494
|
/** Filters for querying feedback */
|
|
9456
|
-
filters?:
|
|
9495
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9457
9496
|
/** Fields to group by */
|
|
9458
9497
|
groupBy?: string[] | undefined;
|
|
9459
9498
|
};
|
|
@@ -9498,7 +9537,7 @@ export type PostObservabilityFeedbackPercentiles_Body = {
|
|
|
9498
9537
|
/** Time bucket interval */
|
|
9499
9538
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9500
9539
|
/** Filters for querying feedback */
|
|
9501
|
-
filters?:
|
|
9540
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9502
9541
|
};
|
|
9503
9542
|
export type PostObservabilityFeedbackPercentiles_Response = PostObservabilityScoresPercentiles_Response;
|
|
9504
9543
|
export type PostObservabilityFeedbackPercentiles_Request = Simplify<(never extends never ? {} : {
|
|
@@ -9526,9 +9565,9 @@ export type PostObservabilityMetricsAggregate_Body = {
|
|
|
9526
9565
|
/** Aggregation function */
|
|
9527
9566
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9528
9567
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9529
|
-
distinctColumn?:
|
|
9568
|
+
distinctColumn?: InputShared_Type_19 | undefined;
|
|
9530
9569
|
/** Filters for querying metrics */
|
|
9531
|
-
filters?:
|
|
9570
|
+
filters?: InputShared_Type_20 | undefined;
|
|
9532
9571
|
/** Comparison period for aggregate queries */
|
|
9533
9572
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
9534
9573
|
};
|
|
@@ -9575,9 +9614,9 @@ export type PostObservabilityMetricsBreakdown_Body = {
|
|
|
9575
9614
|
/** Aggregation function */
|
|
9576
9615
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9577
9616
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9578
|
-
distinctColumn?:
|
|
9617
|
+
distinctColumn?: InputShared_Type_19 | undefined;
|
|
9579
9618
|
/** Filters for querying metrics */
|
|
9580
|
-
filters?:
|
|
9619
|
+
filters?: InputShared_Type_20 | undefined;
|
|
9581
9620
|
/** Maximum number of groups to return (server-side TopK). Required for high-cardinality groupBy. */
|
|
9582
9621
|
limit?: number | undefined;
|
|
9583
9622
|
/** Sort direction for the aggregated value (defaults to 'DESC' at the storage layer; pairs with limit for top/bottom-N). */
|
|
@@ -9624,9 +9663,9 @@ export type PostObservabilityMetricsTimeseries_Body = {
|
|
|
9624
9663
|
/** Aggregation function */
|
|
9625
9664
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9626
9665
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9627
|
-
distinctColumn?:
|
|
9666
|
+
distinctColumn?: InputShared_Type_19 | undefined;
|
|
9628
9667
|
/** Filters for querying metrics */
|
|
9629
|
-
filters?:
|
|
9668
|
+
filters?: InputShared_Type_20 | undefined;
|
|
9630
9669
|
/** Fields to group by */
|
|
9631
9670
|
groupBy?: string[] | undefined;
|
|
9632
9671
|
};
|
|
@@ -9673,7 +9712,7 @@ export type PostObservabilityMetricsPercentiles_Body = {
|
|
|
9673
9712
|
/** Time bucket interval */
|
|
9674
9713
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9675
9714
|
/** Filters for querying metrics */
|
|
9676
|
-
filters?:
|
|
9715
|
+
filters?: InputShared_Type_20 | undefined;
|
|
9677
9716
|
};
|
|
9678
9717
|
export type PostObservabilityMetricsPercentiles_Response = PostObservabilityScoresPercentiles_Response;
|
|
9679
9718
|
export type PostObservabilityMetricsPercentiles_Request = Simplify<(never extends never ? {} : {
|
|
@@ -10341,12 +10380,12 @@ export type PostA2aAgentId_Body = {
|
|
|
10341
10380
|
jsonrpc: '2.0';
|
|
10342
10381
|
id: string | number;
|
|
10343
10382
|
method: 'message/send' | 'SendMessage';
|
|
10344
|
-
params:
|
|
10383
|
+
params: InputShared_Type_31;
|
|
10345
10384
|
} | {
|
|
10346
10385
|
jsonrpc: '2.0';
|
|
10347
10386
|
id: string | number;
|
|
10348
10387
|
method: 'message/stream' | 'SendStreamingMessage';
|
|
10349
|
-
params:
|
|
10388
|
+
params: InputShared_Type_31;
|
|
10350
10389
|
} | {
|
|
10351
10390
|
jsonrpc: '2.0';
|
|
10352
10391
|
id: string | number;
|
|
@@ -10403,7 +10442,7 @@ export type PostA2aAgentId_Body = {
|
|
|
10403
10442
|
params: {
|
|
10404
10443
|
/** Task id */
|
|
10405
10444
|
taskId: string;
|
|
10406
|
-
pushNotificationConfig:
|
|
10445
|
+
pushNotificationConfig: InputShared_Type_29;
|
|
10407
10446
|
};
|
|
10408
10447
|
} | {
|
|
10409
10448
|
jsonrpc: '2.0';
|
|
@@ -10416,7 +10455,7 @@ export type PostA2aAgentId_Body = {
|
|
|
10416
10455
|
id?: string | undefined;
|
|
10417
10456
|
/** Token unique to this task/session */
|
|
10418
10457
|
token?: string | undefined;
|
|
10419
|
-
authentication?:
|
|
10458
|
+
authentication?: InputShared_Type_28 | undefined;
|
|
10420
10459
|
/** Task id */
|
|
10421
10460
|
taskId: string;
|
|
10422
10461
|
tenant?: string | undefined;
|
|
@@ -11925,7 +11964,7 @@ export interface GetStoredAgents_RouteContract {
|
|
|
11925
11964
|
}
|
|
11926
11965
|
export type PostStoredAgentsPreviewInstructions_Body = {
|
|
11927
11966
|
/** Array of instruction blocks to resolve */
|
|
11928
|
-
blocks:
|
|
11967
|
+
blocks: InputShared_Type_35[];
|
|
11929
11968
|
/** Request context for variable interpolation and rule evaluation */
|
|
11930
11969
|
context?: {
|
|
11931
11970
|
[key: string]: unknown;
|
|
@@ -11991,52 +12030,52 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
|
|
|
11991
12030
|
/** Description of the agent */
|
|
11992
12031
|
description?: (string | undefined) | undefined;
|
|
11993
12032
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
11994
|
-
instructions?: (string |
|
|
12033
|
+
instructions?: (string | InputShared_Type_35[]) | undefined;
|
|
11995
12034
|
/** Model configuration — static value or array of conditional variants */
|
|
11996
|
-
model?:
|
|
12035
|
+
model?: InputShared_Type_37 | undefined;
|
|
11997
12036
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
11998
|
-
tools?: (
|
|
12037
|
+
tools?: (InputShared_Type_39 | undefined) | undefined;
|
|
11999
12038
|
/** Default options for generate/stream calls — static or conditional */
|
|
12000
|
-
defaultOptions?: ((
|
|
12039
|
+
defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
|
|
12001
12040
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12002
|
-
workflows?: (
|
|
12041
|
+
workflows?: (InputShared_Type_39 | undefined) | undefined;
|
|
12003
12042
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12004
|
-
agents?: (
|
|
12043
|
+
agents?: (InputShared_Type_39 | undefined) | undefined;
|
|
12005
12044
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12006
12045
|
integrationTools?: (({
|
|
12007
12046
|
[key: string]: {
|
|
12008
|
-
tools?:
|
|
12047
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12009
12048
|
};
|
|
12010
|
-
} |
|
|
12049
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12011
12050
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12012
12051
|
toolProviders?: (({
|
|
12013
|
-
[key: string]:
|
|
12014
|
-
} |
|
|
12052
|
+
[key: string]: InputShared_Type_46;
|
|
12053
|
+
} | InputShared_Type_47[]) | undefined) | undefined;
|
|
12015
12054
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12016
12055
|
mcpClients?: (({
|
|
12017
12056
|
[key: string]: {
|
|
12018
|
-
tools?:
|
|
12057
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12019
12058
|
};
|
|
12020
|
-
} |
|
|
12059
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12021
12060
|
/** Input processor graph — static or conditional */
|
|
12022
|
-
inputProcessors?: (
|
|
12061
|
+
inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12023
12062
|
/** Output processor graph — static or conditional */
|
|
12024
|
-
outputProcessors?: (
|
|
12063
|
+
outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12025
12064
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
12026
|
-
memory?: ((
|
|
12065
|
+
memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
|
|
12027
12066
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12028
12067
|
scorers?: (({
|
|
12029
|
-
[key: string]:
|
|
12030
|
-
} |
|
|
12068
|
+
[key: string]: InputShared_Type_64;
|
|
12069
|
+
} | InputShared_Type_65[]) | undefined) | undefined;
|
|
12031
12070
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12032
|
-
skills?: (
|
|
12071
|
+
skills?: (InputShared_Type_67 | undefined) | undefined;
|
|
12033
12072
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12034
|
-
workspace?:
|
|
12073
|
+
workspace?: InputShared_Type_77 | undefined;
|
|
12035
12074
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12036
12075
|
browser?: ((({
|
|
12037
12076
|
type: 'inline';
|
|
12038
|
-
config:
|
|
12039
|
-
} |
|
|
12077
|
+
config: InputShared_Type_79;
|
|
12078
|
+
} | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
|
|
12040
12079
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12041
12080
|
requestContextSchema?: ({
|
|
12042
12081
|
[key: string]: unknown;
|
|
@@ -12081,52 +12120,52 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
|
|
|
12081
12120
|
/** Description of the agent */
|
|
12082
12121
|
description?: (string | undefined) | undefined;
|
|
12083
12122
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
12084
|
-
instructions?: (string |
|
|
12123
|
+
instructions?: (string | InputShared_Type_35[]) | undefined;
|
|
12085
12124
|
/** Model configuration — static value or array of conditional variants */
|
|
12086
|
-
model?:
|
|
12125
|
+
model?: InputShared_Type_37 | undefined;
|
|
12087
12126
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
12088
|
-
tools?: (
|
|
12127
|
+
tools?: (InputShared_Type_39 | undefined) | undefined;
|
|
12089
12128
|
/** Default options for generate/stream calls — static or conditional */
|
|
12090
|
-
defaultOptions?: ((
|
|
12129
|
+
defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
|
|
12091
12130
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12092
|
-
workflows?: (
|
|
12131
|
+
workflows?: (InputShared_Type_39 | undefined) | undefined;
|
|
12093
12132
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12094
|
-
agents?: (
|
|
12133
|
+
agents?: (InputShared_Type_39 | undefined) | undefined;
|
|
12095
12134
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12096
12135
|
integrationTools?: (({
|
|
12097
12136
|
[key: string]: {
|
|
12098
|
-
tools?:
|
|
12137
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12099
12138
|
};
|
|
12100
|
-
} |
|
|
12139
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12101
12140
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12102
12141
|
toolProviders?: (({
|
|
12103
|
-
[key: string]:
|
|
12104
|
-
} |
|
|
12142
|
+
[key: string]: InputShared_Type_46;
|
|
12143
|
+
} | InputShared_Type_47[]) | undefined) | undefined;
|
|
12105
12144
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12106
12145
|
mcpClients?: (({
|
|
12107
12146
|
[key: string]: {
|
|
12108
|
-
tools?:
|
|
12147
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12109
12148
|
};
|
|
12110
|
-
} |
|
|
12149
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12111
12150
|
/** Input processor graph — static or conditional */
|
|
12112
|
-
inputProcessors?: (
|
|
12151
|
+
inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12113
12152
|
/** Output processor graph — static or conditional */
|
|
12114
|
-
outputProcessors?: (
|
|
12153
|
+
outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12115
12154
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
12116
|
-
memory?: ((
|
|
12155
|
+
memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
|
|
12117
12156
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12118
12157
|
scorers?: (({
|
|
12119
|
-
[key: string]:
|
|
12120
|
-
} |
|
|
12158
|
+
[key: string]: InputShared_Type_64;
|
|
12159
|
+
} | InputShared_Type_65[]) | undefined) | undefined;
|
|
12121
12160
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12122
|
-
skills?: (
|
|
12161
|
+
skills?: (InputShared_Type_67 | undefined) | undefined;
|
|
12123
12162
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12124
|
-
workspace?:
|
|
12163
|
+
workspace?: InputShared_Type_77 | undefined;
|
|
12125
12164
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12126
12165
|
browser?: ((({
|
|
12127
12166
|
type: 'inline';
|
|
12128
|
-
config:
|
|
12129
|
-
} |
|
|
12167
|
+
config: InputShared_Type_79;
|
|
12168
|
+
} | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
|
|
12130
12169
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12131
12170
|
requestContextSchema?: ({
|
|
12132
12171
|
[key: string]: unknown;
|
|
@@ -12207,64 +12246,64 @@ export type PostStoredAgents_Body = {
|
|
|
12207
12246
|
/** Description of the agent */
|
|
12208
12247
|
description?: string | undefined;
|
|
12209
12248
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
12210
|
-
instructions: string |
|
|
12249
|
+
instructions: string | InputShared_Type_35[];
|
|
12211
12250
|
/** Model configuration — static value or array of conditional variants. When omitted, the builder default model is applied server-side. */
|
|
12212
|
-
model?: (
|
|
12213
|
-
value:
|
|
12251
|
+
model?: (InputShared_Type_36 | {
|
|
12252
|
+
value: InputShared_Type_36;
|
|
12214
12253
|
rules?: {
|
|
12215
12254
|
operator: 'AND' | 'OR';
|
|
12216
|
-
conditions:
|
|
12255
|
+
conditions: InputShared_Type_34[];
|
|
12217
12256
|
} | undefined;
|
|
12218
12257
|
}[]) | undefined;
|
|
12219
12258
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
12220
|
-
tools?:
|
|
12259
|
+
tools?: InputShared_Type_39 | undefined;
|
|
12221
12260
|
/** Default options for generate/stream calls — static or conditional */
|
|
12222
|
-
defaultOptions?: (
|
|
12261
|
+
defaultOptions?: (InputShared_Type_42 | InputShared_Type_43[]) | undefined;
|
|
12223
12262
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12224
|
-
workflows?:
|
|
12263
|
+
workflows?: InputShared_Type_39 | undefined;
|
|
12225
12264
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12226
|
-
agents?:
|
|
12265
|
+
agents?: InputShared_Type_39 | undefined;
|
|
12227
12266
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12228
12267
|
integrationTools?: ({
|
|
12229
12268
|
[key: string]: {
|
|
12230
|
-
tools?:
|
|
12269
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12231
12270
|
};
|
|
12232
|
-
} |
|
|
12271
|
+
} | InputShared_Type_44[]) | undefined;
|
|
12233
12272
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12234
12273
|
toolProviders?: ({
|
|
12235
|
-
[key: string]:
|
|
12236
|
-
} |
|
|
12274
|
+
[key: string]: InputShared_Type_46;
|
|
12275
|
+
} | InputShared_Type_47[]) | undefined;
|
|
12237
12276
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12238
12277
|
mcpClients?: ({
|
|
12239
12278
|
[key: string]: {
|
|
12240
|
-
tools?:
|
|
12279
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12241
12280
|
};
|
|
12242
|
-
} |
|
|
12281
|
+
} | InputShared_Type_44[]) | undefined;
|
|
12243
12282
|
/** Input processor graph — static or conditional */
|
|
12244
|
-
inputProcessors?:
|
|
12283
|
+
inputProcessors?: InputShared_Type_53 | undefined;
|
|
12245
12284
|
/** Output processor graph — static or conditional */
|
|
12246
|
-
outputProcessors?:
|
|
12285
|
+
outputProcessors?: InputShared_Type_53 | undefined;
|
|
12247
12286
|
/** Memory: registered memory reference or inline config — static or conditional */
|
|
12248
|
-
memory?: (
|
|
12249
|
-
value:
|
|
12287
|
+
memory?: (InputShared_Type_62 | {
|
|
12288
|
+
value: InputShared_Type_62;
|
|
12250
12289
|
rules?: {
|
|
12251
12290
|
operator: 'AND' | 'OR';
|
|
12252
|
-
conditions:
|
|
12291
|
+
conditions: InputShared_Type_34[];
|
|
12253
12292
|
} | undefined;
|
|
12254
12293
|
}[]) | undefined;
|
|
12255
12294
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12256
12295
|
scorers?: ({
|
|
12257
|
-
[key: string]:
|
|
12258
|
-
} |
|
|
12296
|
+
[key: string]: InputShared_Type_64;
|
|
12297
|
+
} | InputShared_Type_65[]) | undefined;
|
|
12259
12298
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12260
|
-
skills?:
|
|
12299
|
+
skills?: InputShared_Type_67 | undefined;
|
|
12261
12300
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12262
|
-
workspace?:
|
|
12301
|
+
workspace?: InputShared_Type_77;
|
|
12263
12302
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12264
12303
|
browser?: (({
|
|
12265
12304
|
type: 'inline';
|
|
12266
|
-
config:
|
|
12267
|
-
} |
|
|
12305
|
+
config: InputShared_Type_79;
|
|
12306
|
+
} | InputShared_Type_80[]) | boolean | null) | undefined;
|
|
12268
12307
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12269
12308
|
requestContextSchema?: {
|
|
12270
12309
|
[key: string]: unknown;
|
|
@@ -12310,52 +12349,52 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
12310
12349
|
/** Description of the agent */
|
|
12311
12350
|
description?: (string | undefined) | undefined;
|
|
12312
12351
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
12313
|
-
instructions?: (string |
|
|
12352
|
+
instructions?: (string | InputShared_Type_35[]) | undefined;
|
|
12314
12353
|
/** Model configuration — static value or array of conditional variants */
|
|
12315
|
-
model?:
|
|
12354
|
+
model?: InputShared_Type_37 | undefined;
|
|
12316
12355
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
12317
|
-
tools?: (
|
|
12356
|
+
tools?: (InputShared_Type_39 | undefined) | undefined;
|
|
12318
12357
|
/** Default options for generate/stream calls — static or conditional */
|
|
12319
|
-
defaultOptions?: ((
|
|
12358
|
+
defaultOptions?: ((InputShared_Type_42 | InputShared_Type_43[]) | undefined) | undefined;
|
|
12320
12359
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12321
|
-
workflows?: (
|
|
12360
|
+
workflows?: (InputShared_Type_39 | undefined) | undefined;
|
|
12322
12361
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12323
|
-
agents?: (
|
|
12362
|
+
agents?: (InputShared_Type_39 | undefined) | undefined;
|
|
12324
12363
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12325
12364
|
integrationTools?: (({
|
|
12326
12365
|
[key: string]: {
|
|
12327
|
-
tools?:
|
|
12366
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12328
12367
|
};
|
|
12329
|
-
} |
|
|
12368
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12330
12369
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12331
12370
|
toolProviders?: (({
|
|
12332
|
-
[key: string]:
|
|
12333
|
-
} |
|
|
12371
|
+
[key: string]: InputShared_Type_46;
|
|
12372
|
+
} | InputShared_Type_47[]) | undefined) | undefined;
|
|
12334
12373
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12335
12374
|
mcpClients?: (({
|
|
12336
12375
|
[key: string]: {
|
|
12337
|
-
tools?:
|
|
12376
|
+
tools?: InputShared_Type_38 | undefined;
|
|
12338
12377
|
};
|
|
12339
|
-
} |
|
|
12378
|
+
} | InputShared_Type_44[]) | undefined) | undefined;
|
|
12340
12379
|
/** Input processor graph — static or conditional */
|
|
12341
|
-
inputProcessors?: (
|
|
12380
|
+
inputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12342
12381
|
/** Output processor graph — static or conditional */
|
|
12343
|
-
outputProcessors?: (
|
|
12382
|
+
outputProcessors?: (InputShared_Type_53 | undefined) | undefined;
|
|
12344
12383
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
12345
|
-
memory?: ((
|
|
12384
|
+
memory?: ((InputShared_Type_63 | null) | undefined) | undefined;
|
|
12346
12385
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12347
12386
|
scorers?: (({
|
|
12348
|
-
[key: string]:
|
|
12349
|
-
} |
|
|
12387
|
+
[key: string]: InputShared_Type_64;
|
|
12388
|
+
} | InputShared_Type_65[]) | undefined) | undefined;
|
|
12350
12389
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12351
|
-
skills?: (
|
|
12390
|
+
skills?: (InputShared_Type_67 | undefined) | undefined;
|
|
12352
12391
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12353
|
-
workspace?:
|
|
12392
|
+
workspace?: InputShared_Type_77 | undefined;
|
|
12354
12393
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12355
12394
|
browser?: ((({
|
|
12356
12395
|
type: 'inline';
|
|
12357
|
-
config:
|
|
12358
|
-
} |
|
|
12396
|
+
config: InputShared_Type_79;
|
|
12397
|
+
} | InputShared_Type_80[]) | boolean | null) | undefined) | undefined;
|
|
12359
12398
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12360
12399
|
requestContextSchema?: ({
|
|
12361
12400
|
[key: string]: unknown;
|
|
@@ -13074,7 +13113,7 @@ export type PostStoredWorkflows_Body = {
|
|
|
13074
13113
|
[key: string]: unknown;
|
|
13075
13114
|
} | undefined;
|
|
13076
13115
|
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
13077
|
-
graph:
|
|
13116
|
+
graph: InputShared_Type_91[];
|
|
13078
13117
|
/** 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
13118
|
dependencies?: {
|
|
13080
13119
|
/** Workflow id — kebab-case, descriptive */
|
|
@@ -13098,7 +13137,7 @@ export type PostStoredWorkflows_Body = {
|
|
|
13098
13137
|
[key: string]: unknown;
|
|
13099
13138
|
} | undefined;
|
|
13100
13139
|
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
13101
|
-
graph:
|
|
13140
|
+
graph: InputShared_Type_91[];
|
|
13102
13141
|
}[] | undefined;
|
|
13103
13142
|
};
|
|
13104
13143
|
export type PostStoredWorkflows_Response = {
|
|
@@ -13256,7 +13295,7 @@ export type PostStoredMcpClients_Body = {
|
|
|
13256
13295
|
description?: string | undefined;
|
|
13257
13296
|
/** Map of server name to server configuration */
|
|
13258
13297
|
servers: {
|
|
13259
|
-
[key: string]:
|
|
13298
|
+
[key: string]: InputShared_Type_92;
|
|
13260
13299
|
};
|
|
13261
13300
|
};
|
|
13262
13301
|
export type PostStoredMcpClients_Response = GetStoredMcpClientsStoredMCPClientId_Response;
|
|
@@ -13291,7 +13330,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Body = {
|
|
|
13291
13330
|
description?: (string | undefined) | undefined;
|
|
13292
13331
|
/** Map of server name to server configuration */
|
|
13293
13332
|
servers?: {
|
|
13294
|
-
[key: string]:
|
|
13333
|
+
[key: string]: InputShared_Type_92;
|
|
13295
13334
|
} | undefined;
|
|
13296
13335
|
};
|
|
13297
13336
|
export type PatchStoredMcpClientsStoredMCPClientId_Response = {
|
|
@@ -13657,7 +13696,7 @@ export type PostStoredPromptBlocks_Body = {
|
|
|
13657
13696
|
/** Rules for conditional inclusion */
|
|
13658
13697
|
rules?: {
|
|
13659
13698
|
operator: 'AND' | 'OR';
|
|
13660
|
-
conditions:
|
|
13699
|
+
conditions: InputShared_Type_34[];
|
|
13661
13700
|
} | undefined;
|
|
13662
13701
|
/** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
|
|
13663
13702
|
requestContextSchema?: {
|
|
@@ -13699,7 +13738,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Body = {
|
|
|
13699
13738
|
/** Rules for conditional inclusion */
|
|
13700
13739
|
rules?: ({
|
|
13701
13740
|
operator: 'AND' | 'OR';
|
|
13702
|
-
conditions:
|
|
13741
|
+
conditions: InputShared_Type_34[];
|
|
13703
13742
|
} | undefined) | undefined;
|
|
13704
13743
|
/** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
|
|
13705
13744
|
requestContextSchema?: ({
|
|
@@ -14080,13 +14119,13 @@ export type PostStoredScorers_Body = {
|
|
|
14080
14119
|
/** Description of the scorer */
|
|
14081
14120
|
description?: string | undefined;
|
|
14082
14121
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
14083
|
-
type:
|
|
14122
|
+
type: InputShared_Type_93;
|
|
14084
14123
|
/** Model configuration for LLM judge */
|
|
14085
|
-
model?:
|
|
14124
|
+
model?: InputShared_Type_36 | undefined;
|
|
14086
14125
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
14087
14126
|
instructions?: string | undefined;
|
|
14088
14127
|
/** Score range configuration (used when type is llm-judge) */
|
|
14089
|
-
scoreRange?:
|
|
14128
|
+
scoreRange?: InputShared_Type_94;
|
|
14090
14129
|
/** Serializable config options for preset scorers */
|
|
14091
14130
|
presetConfig?: {
|
|
14092
14131
|
[key: string]: unknown;
|
|
@@ -14130,13 +14169,13 @@ export type PatchStoredScorersStoredScorerId_Body = {
|
|
|
14130
14169
|
/** Description of the scorer */
|
|
14131
14170
|
description?: (string | undefined) | undefined;
|
|
14132
14171
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
14133
|
-
type?:
|
|
14172
|
+
type?: InputShared_Type_93 | undefined;
|
|
14134
14173
|
/** Model configuration for LLM judge */
|
|
14135
|
-
model?: (
|
|
14174
|
+
model?: (InputShared_Type_36 | undefined) | undefined;
|
|
14136
14175
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
14137
14176
|
instructions?: (string | undefined) | undefined;
|
|
14138
14177
|
/** Score range configuration (used when type is llm-judge) */
|
|
14139
|
-
scoreRange?:
|
|
14178
|
+
scoreRange?: InputShared_Type_94 | undefined;
|
|
14140
14179
|
/** Serializable config options for preset scorers */
|
|
14141
14180
|
presetConfig?: ({
|
|
14142
14181
|
[key: string]: unknown;
|
|
@@ -14577,17 +14616,17 @@ export type PostStoredWorkspaces_Body = {
|
|
|
14577
14616
|
/** Description of the workspace */
|
|
14578
14617
|
description?: string | undefined;
|
|
14579
14618
|
/** Filesystem configuration */
|
|
14580
|
-
filesystem?:
|
|
14619
|
+
filesystem?: InputShared_Type_68;
|
|
14581
14620
|
/** Sandbox configuration */
|
|
14582
|
-
sandbox?:
|
|
14621
|
+
sandbox?: InputShared_Type_69;
|
|
14583
14622
|
/** Mounted filesystems keyed by mount path */
|
|
14584
|
-
mounts?:
|
|
14623
|
+
mounts?: InputShared_Type_70 | undefined;
|
|
14585
14624
|
/** Search configuration */
|
|
14586
|
-
search?:
|
|
14625
|
+
search?: InputShared_Type_71 | undefined;
|
|
14587
14626
|
/** Array of skill IDs */
|
|
14588
14627
|
skills?: string[] | undefined;
|
|
14589
14628
|
/** Workspace tool configuration */
|
|
14590
|
-
tools?:
|
|
14629
|
+
tools?: InputShared_Type_73 | undefined;
|
|
14591
14630
|
/** Whether to automatically sync the workspace */
|
|
14592
14631
|
autoSync?: boolean | undefined;
|
|
14593
14632
|
/** Operation timeout in milliseconds */
|
|
@@ -14623,17 +14662,17 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Body = {
|
|
|
14623
14662
|
/** Description of the workspace */
|
|
14624
14663
|
description?: (string | undefined) | undefined;
|
|
14625
14664
|
/** Filesystem configuration */
|
|
14626
|
-
filesystem?:
|
|
14665
|
+
filesystem?: InputShared_Type_68 | undefined;
|
|
14627
14666
|
/** Sandbox configuration */
|
|
14628
|
-
sandbox?:
|
|
14667
|
+
sandbox?: InputShared_Type_69 | undefined;
|
|
14629
14668
|
/** Mounted filesystems keyed by mount path */
|
|
14630
|
-
mounts?: (
|
|
14669
|
+
mounts?: (InputShared_Type_70 | undefined) | undefined;
|
|
14631
14670
|
/** Search configuration */
|
|
14632
|
-
search?: (
|
|
14671
|
+
search?: (InputShared_Type_71 | undefined) | undefined;
|
|
14633
14672
|
/** Array of skill IDs */
|
|
14634
14673
|
skills?: (string[] | undefined) | undefined;
|
|
14635
14674
|
/** Workspace tool configuration */
|
|
14636
|
-
tools?: (
|
|
14675
|
+
tools?: (InputShared_Type_73 | undefined) | undefined;
|
|
14637
14676
|
/** Whether to automatically sync the workspace */
|
|
14638
14677
|
autoSync?: (boolean | undefined) | undefined;
|
|
14639
14678
|
/** Operation timeout in milliseconds */
|
|
@@ -14780,7 +14819,7 @@ export type PostStoredSkills_Body = {
|
|
|
14780
14819
|
/** Compatibility requirements */
|
|
14781
14820
|
compatibility?: unknown | undefined;
|
|
14782
14821
|
/** Source location of the skill */
|
|
14783
|
-
source?:
|
|
14822
|
+
source?: InputShared_Type_95 | undefined;
|
|
14784
14823
|
/** List of reference file paths */
|
|
14785
14824
|
references?: string[] | undefined;
|
|
14786
14825
|
/** List of script file paths */
|
|
@@ -14788,7 +14827,7 @@ export type PostStoredSkills_Body = {
|
|
|
14788
14827
|
/** List of asset file paths */
|
|
14789
14828
|
assets?: string[] | undefined;
|
|
14790
14829
|
/** Full file tree structure for the skill */
|
|
14791
|
-
files?:
|
|
14830
|
+
files?: InputShared_Auxiliary_783[] | undefined;
|
|
14792
14831
|
/** Additional metadata for the skill */
|
|
14793
14832
|
metadata?: {
|
|
14794
14833
|
[key: string]: unknown;
|
|
@@ -14830,7 +14869,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14830
14869
|
/** Compatibility requirements */
|
|
14831
14870
|
compatibility?: (unknown | undefined) | undefined;
|
|
14832
14871
|
/** Source location of the skill */
|
|
14833
|
-
source?: (
|
|
14872
|
+
source?: (InputShared_Type_95 | undefined) | undefined;
|
|
14834
14873
|
/** List of reference file paths */
|
|
14835
14874
|
references?: (string[] | undefined) | undefined;
|
|
14836
14875
|
/** List of script file paths */
|
|
@@ -14838,7 +14877,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
14838
14877
|
/** List of asset file paths */
|
|
14839
14878
|
assets?: (string[] | undefined) | undefined;
|
|
14840
14879
|
/** Full file tree structure for the skill */
|
|
14841
|
-
files?: (
|
|
14880
|
+
files?: (InputShared_Auxiliary_783[] | undefined) | undefined;
|
|
14842
14881
|
/** Additional metadata for the skill */
|
|
14843
14882
|
metadata?: ({
|
|
14844
14883
|
[key: string]: unknown;
|
|
@@ -15802,9 +15841,9 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
15802
15841
|
/** Expected output for comparison */
|
|
15803
15842
|
groundTruth?: unknown | undefined;
|
|
15804
15843
|
/** Expected trajectory configuration for trajectory scoring */
|
|
15805
|
-
expectedTrajectory?: (
|
|
15844
|
+
expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
|
|
15806
15845
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
15807
|
-
toolMocks?:
|
|
15846
|
+
toolMocks?: InputShared_Type_111[] | undefined;
|
|
15808
15847
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
15809
15848
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
15810
15849
|
/** IDs of scorers selected for this item */
|
|
@@ -15818,7 +15857,7 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
15818
15857
|
[key: string]: unknown;
|
|
15819
15858
|
} | undefined;
|
|
15820
15859
|
/** Source/provenance of this dataset item */
|
|
15821
|
-
source?:
|
|
15860
|
+
source?: InputShared_Type_112 | undefined;
|
|
15822
15861
|
};
|
|
15823
15862
|
export type PostDatasetsDatasetIdItems_Response = Shared_Type_88;
|
|
15824
15863
|
export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
|
|
@@ -15847,9 +15886,9 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
15847
15886
|
input: unknown;
|
|
15848
15887
|
groundTruth?: unknown | undefined;
|
|
15849
15888
|
/** Expected trajectory configuration for trajectory scoring */
|
|
15850
|
-
expectedTrajectory?: (
|
|
15889
|
+
expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
|
|
15851
15890
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
15852
|
-
toolMocks?:
|
|
15891
|
+
toolMocks?: InputShared_Type_111[] | undefined;
|
|
15853
15892
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
15854
15893
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
15855
15894
|
scorerIds?: string[] | undefined;
|
|
@@ -15860,7 +15899,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
15860
15899
|
[key: string]: unknown;
|
|
15861
15900
|
} | undefined;
|
|
15862
15901
|
/** Source/provenance of this dataset item */
|
|
15863
|
-
source?:
|
|
15902
|
+
source?: InputShared_Type_112 | undefined;
|
|
15864
15903
|
}[];
|
|
15865
15904
|
};
|
|
15866
15905
|
export type PostDatasetsDatasetIdItemsBatch_Response = {
|
|
@@ -15946,9 +15985,9 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
15946
15985
|
/** Expected output for comparison */
|
|
15947
15986
|
groundTruth?: unknown | undefined;
|
|
15948
15987
|
/** Expected trajectory configuration for trajectory scoring */
|
|
15949
|
-
expectedTrajectory?: (
|
|
15988
|
+
expectedTrajectory?: (InputShared_Type_110 | undefined) | null;
|
|
15950
15989
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
15951
|
-
toolMocks?:
|
|
15990
|
+
toolMocks?: InputShared_Type_111[] | undefined;
|
|
15952
15991
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
15953
15992
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
15954
15993
|
/** IDs of scorers selected for this item */
|
|
@@ -15962,7 +16001,7 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
15962
16001
|
[key: string]: unknown;
|
|
15963
16002
|
} | undefined;
|
|
15964
16003
|
/** Source/provenance of this dataset item */
|
|
15965
|
-
source?:
|
|
16004
|
+
source?: InputShared_Type_112 | undefined;
|
|
15966
16005
|
};
|
|
15967
16006
|
export type PatchDatasetsDatasetIdItemsItemId_Response = PostDatasetsDatasetIdItems_Response;
|
|
15968
16007
|
export type PatchDatasetsDatasetIdItemsItemId_Request = Simplify<(PatchDatasetsDatasetIdItemsItemId_PathParams extends never ? {} : {
|
|
@@ -17677,8 +17716,8 @@ export type PostSchedules_Body = {
|
|
|
17677
17716
|
attributes?: {
|
|
17678
17717
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
17679
17718
|
} | undefined;
|
|
17680
|
-
ifActive?:
|
|
17681
|
-
ifIdle?:
|
|
17719
|
+
ifActive?: InputShared_Type_113 | undefined;
|
|
17720
|
+
ifIdle?: InputShared_Type_114 | undefined;
|
|
17682
17721
|
providerOptions?: {
|
|
17683
17722
|
[key: string]: unknown;
|
|
17684
17723
|
} | undefined;
|
|
@@ -17735,8 +17774,8 @@ export type PatchSchedulesScheduleId_Body = {
|
|
|
17735
17774
|
attributes?: {
|
|
17736
17775
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
17737
17776
|
} | undefined;
|
|
17738
|
-
ifActive?:
|
|
17739
|
-
ifIdle?:
|
|
17777
|
+
ifActive?: InputShared_Type_113 | undefined;
|
|
17778
|
+
ifIdle?: InputShared_Type_114 | undefined;
|
|
17740
17779
|
providerOptions?: {
|
|
17741
17780
|
[key: string]: unknown;
|
|
17742
17781
|
} | undefined;
|
|
@@ -19256,6 +19295,7 @@ export interface RouteTypes {
|
|
|
19256
19295
|
'GET /observability/traces/:traceId/:spanId/scores': GetObservabilityTracesTraceIdSpanIdScores_RouteContract;
|
|
19257
19296
|
'POST /observability/traces/query': PostObservabilityTracesQuery_RouteContract;
|
|
19258
19297
|
'POST /observability/traces/aggregate': PostObservabilityTracesAggregate_RouteContract;
|
|
19298
|
+
'POST /observability/spans/aggregate': PostObservabilitySpansAggregate_RouteContract;
|
|
19259
19299
|
'POST /observability/threads/query': PostObservabilityThreadsQuery_RouteContract;
|
|
19260
19300
|
'POST /observability/spans/query': PostObservabilitySpansQuery_RouteContract;
|
|
19261
19301
|
'POST /observability/traces/query/fields': PostObservabilityTracesQueryFields_RouteContract;
|
|
@@ -20219,6 +20259,9 @@ export interface Client {
|
|
|
20219
20259
|
'/observability/scores/timeseries': {
|
|
20220
20260
|
POST: PostObservabilityScoresTimeseries_RouteContract;
|
|
20221
20261
|
};
|
|
20262
|
+
'/observability/spans/aggregate': {
|
|
20263
|
+
POST: PostObservabilitySpansAggregate_RouteContract;
|
|
20264
|
+
};
|
|
20222
20265
|
'/observability/spans/query': {
|
|
20223
20266
|
POST: PostObservabilitySpansQuery_RouteContract;
|
|
20224
20267
|
};
|