@mastra/client-js 1.60.1-alpha.6 → 1.61.0-alpha.7
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 +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +6 -6
- package/dist/docs/references/reference-client-js-mastra-client.md +1 -1
- package/dist/docs/references/reference-client-js-observability.md +1 -1
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +31 -0
- package/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/observability-route-types.d.ts +1 -1
- 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/resources/trace-page-types.d.ts +53 -0
- package/dist/resources/trace-page-types.d.ts.map +1 -0
- package/dist/route-types.generated.d.ts +368 -357
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +9 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -51,7 +51,7 @@ type InputShared_Auxiliary_208 = {
|
|
|
51
51
|
right: {
|
|
52
52
|
literal: string;
|
|
53
53
|
};
|
|
54
|
-
} | {
|
|
54
|
+
} | InputShared_Type_16 | {
|
|
55
55
|
op: 'and' | 'or';
|
|
56
56
|
args: InputShared_Auxiliary_208[];
|
|
57
57
|
} | {
|
|
@@ -59,24 +59,24 @@ type InputShared_Auxiliary_208 = {
|
|
|
59
59
|
arg: InputShared_Auxiliary_208;
|
|
60
60
|
} | {
|
|
61
61
|
spans: {
|
|
62
|
-
some:
|
|
62
|
+
some: InputShared_Auxiliary_236;
|
|
63
63
|
} | {
|
|
64
|
-
none:
|
|
64
|
+
none: InputShared_Auxiliary_236;
|
|
65
65
|
};
|
|
66
66
|
} | {
|
|
67
67
|
scores: {
|
|
68
|
-
some:
|
|
68
|
+
some: InputShared_Auxiliary_236;
|
|
69
69
|
} | {
|
|
70
|
-
none:
|
|
70
|
+
none: InputShared_Auxiliary_236;
|
|
71
71
|
};
|
|
72
72
|
} | {
|
|
73
73
|
feedback: {
|
|
74
|
-
some:
|
|
74
|
+
some: InputShared_Auxiliary_236;
|
|
75
75
|
} | {
|
|
76
|
-
none:
|
|
76
|
+
none: InputShared_Auxiliary_236;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
type
|
|
79
|
+
type InputShared_Auxiliary_236 = {
|
|
80
80
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
81
81
|
left: {
|
|
82
82
|
path: string;
|
|
@@ -111,19 +111,19 @@ type InputShared_Auxiliary_231 = {
|
|
|
111
111
|
right: {
|
|
112
112
|
literal: string;
|
|
113
113
|
};
|
|
114
|
-
} | {
|
|
114
|
+
} | InputShared_Type_16 | {
|
|
115
115
|
op: 'and' | 'or';
|
|
116
|
-
args:
|
|
116
|
+
args: InputShared_Auxiliary_236[];
|
|
117
117
|
} | {
|
|
118
118
|
op: 'not';
|
|
119
|
-
arg:
|
|
119
|
+
arg: InputShared_Auxiliary_236;
|
|
120
120
|
};
|
|
121
|
-
type
|
|
121
|
+
type InputShared_Auxiliary_283 = {
|
|
122
122
|
op: 'and' | 'or';
|
|
123
|
-
args:
|
|
123
|
+
args: InputShared_Auxiliary_283[];
|
|
124
124
|
} | {
|
|
125
125
|
op: 'not';
|
|
126
|
-
arg:
|
|
126
|
+
arg: InputShared_Auxiliary_283;
|
|
127
127
|
} | {
|
|
128
128
|
traces: {
|
|
129
129
|
some: InputShared_Auxiliary_208;
|
|
@@ -131,7 +131,7 @@ type InputShared_Auxiliary_278 = {
|
|
|
131
131
|
none: InputShared_Auxiliary_208;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
-
type
|
|
134
|
+
type InputShared_Auxiliary_740 = {
|
|
135
135
|
op: 'eq' | 'ne' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
136
136
|
left: {
|
|
137
137
|
path: string;
|
|
@@ -163,17 +163,17 @@ type InputShared_Auxiliary_735 = {
|
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
op: 'and' | 'or';
|
|
166
|
-
args:
|
|
166
|
+
args: InputShared_Auxiliary_740[];
|
|
167
167
|
} | {
|
|
168
168
|
op: 'not';
|
|
169
|
-
arg:
|
|
169
|
+
arg: InputShared_Auxiliary_740;
|
|
170
170
|
};
|
|
171
|
-
type
|
|
171
|
+
type InputShared_Auxiliary_814 = {
|
|
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_814[] | undefined;
|
|
177
177
|
};
|
|
178
178
|
type Shared_Auxiliary_799 = {
|
|
179
179
|
id?: string | undefined;
|
|
@@ -384,8 +384,17 @@ 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 =
|
|
388
|
-
|
|
387
|
+
type InputShared_Type_16 = {
|
|
388
|
+
op: 'hasAllTokens';
|
|
389
|
+
left: {
|
|
390
|
+
path: 'input' | 'output' | 'error' | 'inputPreview' | 'outputPreview' | 'errorPreview' | 'all';
|
|
391
|
+
};
|
|
392
|
+
right: {
|
|
393
|
+
literal: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
type InputShared_Type_17 = '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' | 'timeToFirstToken.avg' | 'timeToFirstToken.min' | 'timeToFirstToken.max' | 'timeToFirstToken.p50' | 'timeToFirstToken.p90' | 'timeToFirstToken.p95' | 'timeToFirstToken.p99' | 'timeToFirstToken.count' | 'timeToFirstChunk.avg' | 'timeToFirstChunk.min' | 'timeToFirstChunk.max' | 'timeToFirstChunk.p50' | 'timeToFirstChunk.p90' | 'timeToFirstChunk.p95' | 'timeToFirstChunk.p99' | 'timeToFirstChunk.count';
|
|
397
|
+
type InputShared_Type_18 = {
|
|
389
398
|
/** Filter by timestamp range */
|
|
390
399
|
timestamp?: InputShared_Type_13 | undefined;
|
|
391
400
|
/** Filter by trace ID */
|
|
@@ -445,7 +454,7 @@ type InputShared_Type_17 = {
|
|
|
445
454
|
/** Filter by how the score was produced */
|
|
446
455
|
source?: string | undefined;
|
|
447
456
|
};
|
|
448
|
-
type
|
|
457
|
+
type InputShared_Type_19 = {
|
|
449
458
|
/** Filter by timestamp range */
|
|
450
459
|
timestamp?: InputShared_Type_13 | undefined;
|
|
451
460
|
/** Filter by trace ID */
|
|
@@ -504,8 +513,8 @@ type InputShared_Type_18 = {
|
|
|
504
513
|
feedbackUserId?: string | undefined;
|
|
505
514
|
reviewStatus?: ('needs-review' | 'reviewed') | undefined;
|
|
506
515
|
};
|
|
507
|
-
type
|
|
508
|
-
type
|
|
516
|
+
type InputShared_Type_20 = 'entityType' | 'entityName' | 'parentEntityType' | 'parentEntityName' | 'rootEntityType' | 'rootEntityName' | 'name' | 'provider' | 'model' | 'environment' | 'executionSource' | 'serviceName' | 'threadId' | 'resourceId';
|
|
517
|
+
type InputShared_Type_21 = {
|
|
509
518
|
/** Filter by timestamp range */
|
|
510
519
|
timestamp?: InputShared_Type_13 | undefined;
|
|
511
520
|
/** Filter by trace ID */
|
|
@@ -573,7 +582,7 @@ type InputShared_Type_20 = {
|
|
|
573
582
|
[key: string]: string;
|
|
574
583
|
} | undefined;
|
|
575
584
|
};
|
|
576
|
-
type
|
|
585
|
+
type InputShared_Type_22 = {
|
|
577
586
|
/** Part type - text for TextParts */
|
|
578
587
|
kind: 'text';
|
|
579
588
|
/** Text content */
|
|
@@ -583,7 +592,7 @@ type InputShared_Type_21 = {
|
|
|
583
592
|
[key: string]: unknown;
|
|
584
593
|
} | undefined;
|
|
585
594
|
};
|
|
586
|
-
type
|
|
595
|
+
type InputShared_Type_23 = {
|
|
587
596
|
/** base64 encoded content of the file */
|
|
588
597
|
bytes: string;
|
|
589
598
|
/** Optional mimeType for the file */
|
|
@@ -591,7 +600,7 @@ type InputShared_Type_22 = {
|
|
|
591
600
|
/** Optional name for the file */
|
|
592
601
|
name?: string | undefined;
|
|
593
602
|
};
|
|
594
|
-
type
|
|
603
|
+
type InputShared_Type_24 = {
|
|
595
604
|
/** URL for the File content */
|
|
596
605
|
uri: string;
|
|
597
606
|
/** Optional mimeType for the file */
|
|
@@ -599,17 +608,17 @@ type InputShared_Type_23 = {
|
|
|
599
608
|
/** Optional name for the file */
|
|
600
609
|
name?: string | undefined;
|
|
601
610
|
};
|
|
602
|
-
type
|
|
611
|
+
type InputShared_Type_25 = {
|
|
603
612
|
/** Part type - file for FileParts */
|
|
604
613
|
kind: 'file';
|
|
605
614
|
/** File content either as url or bytes */
|
|
606
|
-
file:
|
|
615
|
+
file: InputShared_Type_23 | InputShared_Type_24;
|
|
607
616
|
/** Optional metadata associated with the part */
|
|
608
617
|
metadata?: {
|
|
609
618
|
[key: string]: unknown;
|
|
610
619
|
} | undefined;
|
|
611
620
|
};
|
|
612
|
-
type
|
|
621
|
+
type InputShared_Type_26 = {
|
|
613
622
|
/** Part type - data for DataParts */
|
|
614
623
|
kind: 'data';
|
|
615
624
|
/** Structured data content */
|
|
@@ -621,7 +630,7 @@ type InputShared_Type_25 = {
|
|
|
621
630
|
[key: string]: unknown;
|
|
622
631
|
} | undefined;
|
|
623
632
|
};
|
|
624
|
-
type
|
|
633
|
+
type InputShared_Type_27 = {
|
|
625
634
|
text?: string | undefined;
|
|
626
635
|
raw?: string | undefined;
|
|
627
636
|
url?: string | undefined;
|
|
@@ -632,7 +641,7 @@ type InputShared_Type_26 = {
|
|
|
632
641
|
[key: string]: unknown;
|
|
633
642
|
} | undefined;
|
|
634
643
|
};
|
|
635
|
-
type
|
|
644
|
+
type InputShared_Type_28 = {
|
|
636
645
|
/** Event type */
|
|
637
646
|
kind?: 'message' | undefined;
|
|
638
647
|
/** Identifier created by the message creator */
|
|
@@ -640,7 +649,7 @@ type InputShared_Type_27 = {
|
|
|
640
649
|
/** Message sender's role */
|
|
641
650
|
role: 'user' | 'agent' | 'ROLE_USER' | 'ROLE_AGENT';
|
|
642
651
|
/** Message content */
|
|
643
|
-
parts: ((
|
|
652
|
+
parts: ((InputShared_Type_22 | InputShared_Type_25 | InputShared_Type_26) | InputShared_Type_27)[];
|
|
644
653
|
/** The context the message is associated with */
|
|
645
654
|
contextId?: string | undefined;
|
|
646
655
|
/** Identifier of task the message is related to */
|
|
@@ -654,22 +663,22 @@ type InputShared_Type_27 = {
|
|
|
654
663
|
[key: string]: unknown;
|
|
655
664
|
} | undefined;
|
|
656
665
|
};
|
|
657
|
-
type
|
|
666
|
+
type InputShared_Type_29 = {
|
|
658
667
|
/** Supported authentication schemes - e.g. Basic, Bearer */
|
|
659
668
|
schemes: string[];
|
|
660
669
|
/** Optional credentials */
|
|
661
670
|
credentials?: string | undefined;
|
|
662
671
|
};
|
|
663
|
-
type
|
|
672
|
+
type InputShared_Type_30 = {
|
|
664
673
|
/** URL for sending the push notifications */
|
|
665
674
|
url: string;
|
|
666
675
|
/** Push Notification ID - created by server to support multiple callbacks */
|
|
667
676
|
id?: string | undefined;
|
|
668
677
|
/** Token unique to this task/session */
|
|
669
678
|
token?: string | undefined;
|
|
670
|
-
authentication?:
|
|
679
|
+
authentication?: InputShared_Type_29 | undefined;
|
|
671
680
|
};
|
|
672
|
-
type
|
|
681
|
+
type InputShared_Type_31 = {
|
|
673
682
|
/** Accepted output modalities by the client */
|
|
674
683
|
acceptedOutputModes?: string[] | undefined;
|
|
675
684
|
/** If the server should treat the client as a blocking request */
|
|
@@ -678,39 +687,39 @@ type InputShared_Type_30 = {
|
|
|
678
687
|
returnImmediately?: boolean | undefined;
|
|
679
688
|
/** Number of recent messages to be retrieved */
|
|
680
689
|
historyLength?: number | undefined;
|
|
681
|
-
pushNotificationConfig?:
|
|
682
|
-
taskPushNotificationConfig?:
|
|
690
|
+
pushNotificationConfig?: InputShared_Type_30 | undefined;
|
|
691
|
+
taskPushNotificationConfig?: InputShared_Type_30 | undefined;
|
|
683
692
|
};
|
|
684
|
-
type
|
|
685
|
-
message:
|
|
686
|
-
configuration?:
|
|
693
|
+
type InputShared_Type_32 = {
|
|
694
|
+
message: InputShared_Type_28;
|
|
695
|
+
configuration?: InputShared_Type_31 | undefined;
|
|
687
696
|
/** Extension metadata */
|
|
688
697
|
metadata?: {
|
|
689
698
|
[key: string]: unknown;
|
|
690
699
|
} | undefined;
|
|
691
700
|
};
|
|
692
|
-
type
|
|
693
|
-
type
|
|
701
|
+
type InputShared_Type_33 = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_than_or_equal' | 'less_than_or_equal' | 'in' | 'not_in' | 'exists' | 'not_exists';
|
|
702
|
+
type InputShared_Type_34 = {
|
|
694
703
|
field: string;
|
|
695
|
-
operator:
|
|
704
|
+
operator: InputShared_Type_33;
|
|
696
705
|
value?: unknown | undefined;
|
|
697
706
|
} | {
|
|
698
707
|
operator: 'AND' | 'OR';
|
|
699
708
|
conditions: {
|
|
700
709
|
field: string;
|
|
701
|
-
operator:
|
|
710
|
+
operator: InputShared_Type_33;
|
|
702
711
|
value?: unknown | undefined;
|
|
703
712
|
}[];
|
|
704
713
|
};
|
|
705
|
-
type
|
|
714
|
+
type InputShared_Type_35 = {
|
|
706
715
|
field: string;
|
|
707
|
-
operator:
|
|
716
|
+
operator: InputShared_Type_33;
|
|
708
717
|
value?: unknown | undefined;
|
|
709
718
|
} | {
|
|
710
719
|
operator: 'AND' | 'OR';
|
|
711
|
-
conditions:
|
|
720
|
+
conditions: InputShared_Type_34[];
|
|
712
721
|
};
|
|
713
|
-
type
|
|
722
|
+
type InputShared_Type_36 = {
|
|
714
723
|
type: 'text';
|
|
715
724
|
content: string;
|
|
716
725
|
} | {
|
|
@@ -718,47 +727,47 @@ type InputShared_Type_35 = {
|
|
|
718
727
|
id: string;
|
|
719
728
|
rules?: {
|
|
720
729
|
operator: 'AND' | 'OR';
|
|
721
|
-
conditions:
|
|
730
|
+
conditions: InputShared_Type_35[];
|
|
722
731
|
} | undefined;
|
|
723
732
|
} | {
|
|
724
733
|
type: 'prompt_block';
|
|
725
734
|
content: string;
|
|
726
735
|
rules?: {
|
|
727
736
|
operator: 'AND' | 'OR';
|
|
728
|
-
conditions:
|
|
737
|
+
conditions: InputShared_Type_35[];
|
|
729
738
|
} | undefined;
|
|
730
739
|
};
|
|
731
|
-
type
|
|
740
|
+
type InputShared_Type_37 = {
|
|
732
741
|
/** Model provider (e.g., openai, anthropic) */
|
|
733
742
|
provider: string;
|
|
734
743
|
/** Model name (e.g., gpt-4o, claude-3-opus) */
|
|
735
744
|
name: string;
|
|
736
745
|
[x: string]: unknown;
|
|
737
746
|
};
|
|
738
|
-
type
|
|
739
|
-
value:
|
|
747
|
+
type InputShared_Type_38 = InputShared_Type_37 | {
|
|
748
|
+
value: InputShared_Type_37;
|
|
740
749
|
rules?: {
|
|
741
750
|
operator: 'AND' | 'OR';
|
|
742
|
-
conditions:
|
|
751
|
+
conditions: InputShared_Type_35[];
|
|
743
752
|
} | undefined;
|
|
744
753
|
}[];
|
|
745
|
-
type
|
|
754
|
+
type InputShared_Type_39 = {
|
|
746
755
|
[key: string]: {
|
|
747
756
|
description?: string | undefined;
|
|
748
757
|
rules?: {
|
|
749
758
|
operator: 'AND' | 'OR';
|
|
750
|
-
conditions:
|
|
759
|
+
conditions: InputShared_Type_35[];
|
|
751
760
|
} | undefined;
|
|
752
761
|
};
|
|
753
762
|
};
|
|
754
|
-
type
|
|
755
|
-
value:
|
|
763
|
+
type InputShared_Type_40 = InputShared_Type_39 | {
|
|
764
|
+
value: InputShared_Type_39;
|
|
756
765
|
rules?: {
|
|
757
766
|
operator: 'AND' | 'OR';
|
|
758
|
-
conditions:
|
|
767
|
+
conditions: InputShared_Type_35[];
|
|
759
768
|
} | undefined;
|
|
760
769
|
}[];
|
|
761
|
-
type
|
|
770
|
+
type InputShared_Type_41 = {
|
|
762
771
|
temperature?: number | undefined;
|
|
763
772
|
maxTokens?: number | undefined;
|
|
764
773
|
topP?: number | undefined;
|
|
@@ -769,7 +778,7 @@ type InputShared_Type_40 = {
|
|
|
769
778
|
seed?: number | undefined;
|
|
770
779
|
maxRetries?: number | undefined;
|
|
771
780
|
};
|
|
772
|
-
type
|
|
781
|
+
type InputShared_Type_42 = {
|
|
773
782
|
traceName?: string | undefined;
|
|
774
783
|
attributes?: {
|
|
775
784
|
[key: string]: unknown;
|
|
@@ -777,7 +786,7 @@ type InputShared_Type_41 = {
|
|
|
777
786
|
spanId?: string | undefined;
|
|
778
787
|
traceId?: string | undefined;
|
|
779
788
|
};
|
|
780
|
-
type
|
|
789
|
+
type InputShared_Type_43 = {
|
|
781
790
|
runId?: string | undefined;
|
|
782
791
|
savePerStep?: boolean | undefined;
|
|
783
792
|
maxSteps?: number | undefined;
|
|
@@ -787,9 +796,9 @@ type InputShared_Type_42 = {
|
|
|
787
796
|
type: 'tool';
|
|
788
797
|
toolName: string;
|
|
789
798
|
}) | undefined;
|
|
790
|
-
modelSettings?:
|
|
799
|
+
modelSettings?: InputShared_Type_41 | undefined;
|
|
791
800
|
returnScorerData?: boolean | undefined;
|
|
792
|
-
tracingOptions?:
|
|
801
|
+
tracingOptions?: InputShared_Type_42 | undefined;
|
|
793
802
|
requireToolApproval?: boolean | undefined;
|
|
794
803
|
autoResumeSuspendedTools?: boolean | undefined;
|
|
795
804
|
eagerToolExecution?: boolean | undefined;
|
|
@@ -800,33 +809,33 @@ type InputShared_Type_42 = {
|
|
|
800
809
|
includeRawChunks?: boolean | undefined;
|
|
801
810
|
[x: string]: unknown;
|
|
802
811
|
};
|
|
803
|
-
type
|
|
812
|
+
type InputShared_Type_44 = {
|
|
804
813
|
/** Default options for agent execution */
|
|
805
|
-
value:
|
|
814
|
+
value: InputShared_Type_43;
|
|
806
815
|
rules?: {
|
|
807
816
|
operator: 'AND' | 'OR';
|
|
808
|
-
conditions:
|
|
817
|
+
conditions: InputShared_Type_35[];
|
|
809
818
|
} | undefined;
|
|
810
819
|
};
|
|
811
|
-
type
|
|
820
|
+
type InputShared_Type_45 = {
|
|
812
821
|
value: {
|
|
813
822
|
[key: string]: {
|
|
814
|
-
tools?:
|
|
823
|
+
tools?: InputShared_Type_39 | undefined;
|
|
815
824
|
};
|
|
816
825
|
};
|
|
817
826
|
rules?: {
|
|
818
827
|
operator: 'AND' | 'OR';
|
|
819
|
-
conditions:
|
|
828
|
+
conditions: InputShared_Type_35[];
|
|
820
829
|
} | undefined;
|
|
821
830
|
};
|
|
822
|
-
type
|
|
831
|
+
type InputShared_Type_46 = {
|
|
823
832
|
kind: 'author' | 'invoker' | 'platform';
|
|
824
833
|
toolkit: string;
|
|
825
834
|
connectionId: string;
|
|
826
835
|
label?: string | undefined;
|
|
827
836
|
scope?: ('shared' | 'per-author' | 'caller-supplied') | undefined;
|
|
828
837
|
};
|
|
829
|
-
type
|
|
838
|
+
type InputShared_Type_47 = {
|
|
830
839
|
tools: {
|
|
831
840
|
[key: string]: {
|
|
832
841
|
toolkit?: string | undefined;
|
|
@@ -834,19 +843,19 @@ type InputShared_Type_46 = {
|
|
|
834
843
|
};
|
|
835
844
|
};
|
|
836
845
|
connections: {
|
|
837
|
-
[key: string]:
|
|
846
|
+
[key: string]: InputShared_Type_46[];
|
|
838
847
|
};
|
|
839
848
|
};
|
|
840
|
-
type
|
|
849
|
+
type InputShared_Type_48 = {
|
|
841
850
|
value: {
|
|
842
|
-
[key: string]:
|
|
851
|
+
[key: string]: InputShared_Type_47;
|
|
843
852
|
};
|
|
844
853
|
rules?: {
|
|
845
854
|
operator: 'AND' | 'OR';
|
|
846
|
-
conditions:
|
|
855
|
+
conditions: InputShared_Type_35[];
|
|
847
856
|
} | undefined;
|
|
848
857
|
};
|
|
849
|
-
type
|
|
858
|
+
type InputShared_Type_49 = {
|
|
850
859
|
/** Unique ID for this step within the graph */
|
|
851
860
|
id: string;
|
|
852
861
|
/** ProcessorProvider ID that creates this processor */
|
|
@@ -858,57 +867,57 @@ type InputShared_Type_48 = {
|
|
|
858
867
|
/** Which processor phases to enable */
|
|
859
868
|
enabledPhases: ('processInput' | 'processInputStep' | 'processOutputStream' | 'processOutputResult' | 'processOutputStep' | 'processToolResult')[];
|
|
860
869
|
};
|
|
861
|
-
type
|
|
870
|
+
type InputShared_Type_50 = {
|
|
862
871
|
steps: {
|
|
863
872
|
type: 'step';
|
|
864
|
-
step:
|
|
873
|
+
step: InputShared_Type_49;
|
|
865
874
|
}[];
|
|
866
875
|
rules?: {
|
|
867
876
|
operator: 'AND' | 'OR';
|
|
868
|
-
conditions:
|
|
877
|
+
conditions: InputShared_Type_35[];
|
|
869
878
|
} | undefined;
|
|
870
879
|
};
|
|
871
|
-
type
|
|
880
|
+
type InputShared_Type_51 = {
|
|
872
881
|
type: 'step';
|
|
873
|
-
step:
|
|
882
|
+
step: InputShared_Type_49;
|
|
874
883
|
} | {
|
|
875
884
|
type: 'parallel';
|
|
876
885
|
branches: {
|
|
877
886
|
type: 'step';
|
|
878
|
-
step:
|
|
887
|
+
step: InputShared_Type_49;
|
|
879
888
|
}[][];
|
|
880
889
|
} | {
|
|
881
890
|
type: 'conditional';
|
|
882
|
-
conditions:
|
|
891
|
+
conditions: InputShared_Type_50[];
|
|
883
892
|
};
|
|
884
|
-
type
|
|
893
|
+
type InputShared_Type_52 = {
|
|
885
894
|
type: 'conditional';
|
|
886
895
|
conditions: {
|
|
887
|
-
steps:
|
|
896
|
+
steps: InputShared_Type_51[];
|
|
888
897
|
rules?: {
|
|
889
898
|
operator: 'AND' | 'OR';
|
|
890
|
-
conditions:
|
|
899
|
+
conditions: InputShared_Type_35[];
|
|
891
900
|
} | undefined;
|
|
892
901
|
}[];
|
|
893
902
|
};
|
|
894
|
-
type
|
|
903
|
+
type InputShared_Type_53 = {
|
|
895
904
|
/** Ordered list of processor graph entries */
|
|
896
905
|
steps: ({
|
|
897
906
|
type: 'step';
|
|
898
|
-
step:
|
|
907
|
+
step: InputShared_Type_49;
|
|
899
908
|
} | {
|
|
900
909
|
type: 'parallel';
|
|
901
|
-
branches:
|
|
902
|
-
} |
|
|
910
|
+
branches: InputShared_Type_51[][];
|
|
911
|
+
} | InputShared_Type_52)[];
|
|
903
912
|
};
|
|
904
|
-
type
|
|
905
|
-
value:
|
|
913
|
+
type InputShared_Type_54 = InputShared_Type_53 | {
|
|
914
|
+
value: InputShared_Type_53;
|
|
906
915
|
rules?: {
|
|
907
916
|
operator: 'AND' | 'OR';
|
|
908
|
-
conditions:
|
|
917
|
+
conditions: InputShared_Type_35[];
|
|
909
918
|
} | undefined;
|
|
910
919
|
}[];
|
|
911
|
-
type
|
|
920
|
+
type InputShared_Type_55 = {
|
|
912
921
|
/** Number of semantically similar messages to retrieve */
|
|
913
922
|
topK: number;
|
|
914
923
|
/** Amount of surrounding context to include with each retrieved message */
|
|
@@ -923,7 +932,7 @@ type InputShared_Type_54 = {
|
|
|
923
932
|
/** Index name for the vector store */
|
|
924
933
|
indexName?: string | undefined;
|
|
925
934
|
};
|
|
926
|
-
type
|
|
935
|
+
type InputShared_Type_56 = {
|
|
927
936
|
/** Model ID in format provider/model-name (ModelRouterModelId); defaults to the agent's own model */
|
|
928
937
|
model?: string | undefined;
|
|
929
938
|
/** Custom instructions for title generation */
|
|
@@ -933,17 +942,17 @@ type InputShared_Type_55 = {
|
|
|
933
942
|
/** Emit the generated title as a data-thread-title chunk on the run stream */
|
|
934
943
|
emitEvent?: boolean | undefined;
|
|
935
944
|
};
|
|
936
|
-
type
|
|
945
|
+
type InputShared_Type_57 = {
|
|
937
946
|
readOnly?: boolean | undefined;
|
|
938
947
|
lastMessages?: (number | false) | undefined;
|
|
939
948
|
messageHistory?: {
|
|
940
949
|
maxTokens: number;
|
|
941
950
|
atMaxRemoveTokens?: number | undefined;
|
|
942
951
|
} | undefined;
|
|
943
|
-
semanticRecall?: (boolean |
|
|
944
|
-
generateTitle?: (boolean |
|
|
952
|
+
semanticRecall?: (boolean | InputShared_Type_55) | undefined;
|
|
953
|
+
generateTitle?: (boolean | InputShared_Type_56) | undefined;
|
|
945
954
|
};
|
|
946
|
-
type
|
|
955
|
+
type InputShared_Type_58 = {
|
|
947
956
|
/** Observer model ID */
|
|
948
957
|
model?: string | undefined;
|
|
949
958
|
/** Token threshold that triggers observation */
|
|
@@ -967,7 +976,7 @@ type InputShared_Type_57 = {
|
|
|
967
976
|
/** Token threshold for synchronous blocking */
|
|
968
977
|
blockAfter?: number | undefined;
|
|
969
978
|
};
|
|
970
|
-
type
|
|
979
|
+
type InputShared_Type_59 = {
|
|
971
980
|
/** Reflector model ID */
|
|
972
981
|
model?: string | undefined;
|
|
973
982
|
/** Token threshold that triggers reflection */
|
|
@@ -987,7 +996,7 @@ type InputShared_Type_58 = {
|
|
|
987
996
|
/** Ratio for async reflection buffering */
|
|
988
997
|
bufferActivation?: number | undefined;
|
|
989
998
|
};
|
|
990
|
-
type
|
|
999
|
+
type InputShared_Type_60 = {
|
|
991
1000
|
/** Model ID for both Observer and Reflector */
|
|
992
1001
|
model?: string | undefined;
|
|
993
1002
|
/** Memory scope */
|
|
@@ -995,15 +1004,15 @@ type InputShared_Type_59 = {
|
|
|
995
1004
|
/** Share token budget between messages and observations */
|
|
996
1005
|
shareTokenBudget?: boolean | undefined;
|
|
997
1006
|
/** Observation step configuration */
|
|
998
|
-
observation?:
|
|
1007
|
+
observation?: InputShared_Type_58 | undefined;
|
|
999
1008
|
/** Reflection step configuration */
|
|
1000
|
-
reflection?:
|
|
1009
|
+
reflection?: InputShared_Type_59 | undefined;
|
|
1001
1010
|
};
|
|
1002
|
-
type
|
|
1011
|
+
type InputShared_Type_61 = {
|
|
1003
1012
|
/** Vector database identifier or false to disable */
|
|
1004
1013
|
vector?: (string | false) | undefined;
|
|
1005
1014
|
/** Memory behavior configuration, excluding workingMemory and threads */
|
|
1006
|
-
options?:
|
|
1015
|
+
options?: InputShared_Type_57 | undefined;
|
|
1007
1016
|
/** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
|
|
1008
1017
|
embedder?: string | undefined;
|
|
1009
1018
|
/** Options to pass to the embedder, omitting telemetry */
|
|
@@ -1011,13 +1020,13 @@ type InputShared_Type_60 = {
|
|
|
1011
1020
|
[key: string]: unknown;
|
|
1012
1021
|
} | undefined;
|
|
1013
1022
|
/** Serialized observational memory configuration */
|
|
1014
|
-
observationalMemory?: (boolean |
|
|
1023
|
+
observationalMemory?: (boolean | InputShared_Type_60) | undefined;
|
|
1015
1024
|
};
|
|
1016
|
-
type
|
|
1025
|
+
type InputShared_Type_62 = {
|
|
1017
1026
|
/** Vector database identifier or false to disable */
|
|
1018
1027
|
vector?: (string | false) | undefined;
|
|
1019
1028
|
/** Memory behavior configuration, excluding workingMemory and threads */
|
|
1020
|
-
options?:
|
|
1029
|
+
options?: InputShared_Type_57 | undefined;
|
|
1021
1030
|
/** Embedding model ID in the format "provider/model" (e.g., "openai/text-embedding-3-small") */
|
|
1022
1031
|
embedder?: string | undefined;
|
|
1023
1032
|
/** Options to pass to the embedder, omitting telemetry */
|
|
@@ -1025,25 +1034,25 @@ type InputShared_Type_61 = {
|
|
|
1025
1034
|
[key: string]: unknown;
|
|
1026
1035
|
} | undefined;
|
|
1027
1036
|
/** Serialized observational memory configuration */
|
|
1028
|
-
observationalMemory?: (boolean |
|
|
1037
|
+
observationalMemory?: (boolean | InputShared_Type_60) | undefined;
|
|
1029
1038
|
type?: never | undefined;
|
|
1030
1039
|
};
|
|
1031
|
-
type
|
|
1040
|
+
type InputShared_Type_63 = {
|
|
1032
1041
|
type: 'id';
|
|
1033
1042
|
/** Registry key (or id) of a Memory instance registered on Mastra */
|
|
1034
1043
|
memoryId: string;
|
|
1035
1044
|
} | {
|
|
1036
1045
|
type: 'inline';
|
|
1037
|
-
config:
|
|
1038
|
-
} |
|
|
1039
|
-
type
|
|
1040
|
-
value:
|
|
1046
|
+
config: InputShared_Type_61;
|
|
1047
|
+
} | InputShared_Type_62;
|
|
1048
|
+
type InputShared_Type_64 = InputShared_Type_63 | {
|
|
1049
|
+
value: InputShared_Type_63;
|
|
1041
1050
|
rules?: {
|
|
1042
1051
|
operator: 'AND' | 'OR';
|
|
1043
|
-
conditions:
|
|
1052
|
+
conditions: InputShared_Type_35[];
|
|
1044
1053
|
} | undefined;
|
|
1045
1054
|
}[];
|
|
1046
|
-
type
|
|
1055
|
+
type InputShared_Type_65 = {
|
|
1047
1056
|
description?: string | undefined;
|
|
1048
1057
|
sampling?: ({
|
|
1049
1058
|
type: 'none';
|
|
@@ -1053,19 +1062,19 @@ type InputShared_Type_64 = {
|
|
|
1053
1062
|
}) | undefined;
|
|
1054
1063
|
rules?: {
|
|
1055
1064
|
operator: 'AND' | 'OR';
|
|
1056
|
-
conditions:
|
|
1065
|
+
conditions: InputShared_Type_35[];
|
|
1057
1066
|
} | undefined;
|
|
1058
1067
|
};
|
|
1059
|
-
type
|
|
1068
|
+
type InputShared_Type_66 = {
|
|
1060
1069
|
value: {
|
|
1061
|
-
[key: string]:
|
|
1070
|
+
[key: string]: InputShared_Type_65;
|
|
1062
1071
|
};
|
|
1063
1072
|
rules?: {
|
|
1064
1073
|
operator: 'AND' | 'OR';
|
|
1065
|
-
conditions:
|
|
1074
|
+
conditions: InputShared_Type_35[];
|
|
1066
1075
|
} | undefined;
|
|
1067
1076
|
};
|
|
1068
|
-
type
|
|
1077
|
+
type InputShared_Type_67 = {
|
|
1069
1078
|
[key: string]: {
|
|
1070
1079
|
description?: string | undefined;
|
|
1071
1080
|
instructions?: string | undefined;
|
|
@@ -1073,14 +1082,14 @@ type InputShared_Type_66 = {
|
|
|
1073
1082
|
strategy?: ('latest' | 'live') | undefined;
|
|
1074
1083
|
};
|
|
1075
1084
|
};
|
|
1076
|
-
type
|
|
1077
|
-
value:
|
|
1085
|
+
type InputShared_Type_68 = InputShared_Type_67 | {
|
|
1086
|
+
value: InputShared_Type_67;
|
|
1078
1087
|
rules?: {
|
|
1079
1088
|
operator: 'AND' | 'OR';
|
|
1080
|
-
conditions:
|
|
1089
|
+
conditions: InputShared_Type_35[];
|
|
1081
1090
|
} | undefined;
|
|
1082
1091
|
}[];
|
|
1083
|
-
type
|
|
1092
|
+
type InputShared_Type_69 = {
|
|
1084
1093
|
/** Filesystem provider name */
|
|
1085
1094
|
provider: string;
|
|
1086
1095
|
/** Filesystem provider configuration */
|
|
@@ -1088,7 +1097,7 @@ type InputShared_Type_68 = {
|
|
|
1088
1097
|
[key: string]: unknown;
|
|
1089
1098
|
};
|
|
1090
1099
|
} | undefined;
|
|
1091
|
-
type
|
|
1100
|
+
type InputShared_Type_70 = {
|
|
1092
1101
|
/** Sandbox provider name */
|
|
1093
1102
|
provider: string;
|
|
1094
1103
|
/** Sandbox provider configuration */
|
|
@@ -1096,7 +1105,7 @@ type InputShared_Type_69 = {
|
|
|
1096
1105
|
[key: string]: unknown;
|
|
1097
1106
|
};
|
|
1098
1107
|
} | undefined;
|
|
1099
|
-
type
|
|
1108
|
+
type InputShared_Type_71 = {
|
|
1100
1109
|
[key: string]: {
|
|
1101
1110
|
/** Filesystem provider name */
|
|
1102
1111
|
provider: string;
|
|
@@ -1106,7 +1115,7 @@ type InputShared_Type_70 = {
|
|
|
1106
1115
|
};
|
|
1107
1116
|
};
|
|
1108
1117
|
};
|
|
1109
|
-
type
|
|
1118
|
+
type InputShared_Type_72 = {
|
|
1110
1119
|
/** Vector store provider identifier */
|
|
1111
1120
|
vectorProvider?: string | undefined;
|
|
1112
1121
|
/** Vector store provider-specific configuration */
|
|
@@ -1131,7 +1140,7 @@ type InputShared_Type_71 = {
|
|
|
1131
1140
|
/** Paths to auto-index on init */
|
|
1132
1141
|
autoIndexPaths?: string[] | undefined;
|
|
1133
1142
|
};
|
|
1134
|
-
type
|
|
1143
|
+
type InputShared_Type_73 = {
|
|
1135
1144
|
/** Whether the tool is enabled */
|
|
1136
1145
|
enabled?: boolean | undefined;
|
|
1137
1146
|
/** Whether the tool requires user approval before execution */
|
|
@@ -1139,39 +1148,39 @@ type InputShared_Type_72 = {
|
|
|
1139
1148
|
/** For write tools: require reading a file before writing to it */
|
|
1140
1149
|
requireReadBeforeWrite?: boolean | undefined;
|
|
1141
1150
|
};
|
|
1142
|
-
type
|
|
1151
|
+
type InputShared_Type_74 = {
|
|
1143
1152
|
/** Default: whether all tools are enabled */
|
|
1144
1153
|
enabled?: boolean | undefined;
|
|
1145
1154
|
/** Default: whether all tools require user approval */
|
|
1146
1155
|
requireApproval?: boolean | undefined;
|
|
1147
1156
|
/** Per-tool overrides keyed by workspace tool name */
|
|
1148
1157
|
tools?: {
|
|
1149
|
-
[key: string]:
|
|
1158
|
+
[key: string]: InputShared_Type_73;
|
|
1150
1159
|
} | undefined;
|
|
1151
1160
|
};
|
|
1152
|
-
type
|
|
1161
|
+
type InputShared_Type_75 = {
|
|
1153
1162
|
/** Name of the workspace */
|
|
1154
1163
|
name: string;
|
|
1155
1164
|
/** Description of the workspace */
|
|
1156
1165
|
description?: string | undefined;
|
|
1157
1166
|
/** Filesystem configuration */
|
|
1158
|
-
filesystem?:
|
|
1167
|
+
filesystem?: InputShared_Type_69;
|
|
1159
1168
|
/** Sandbox configuration */
|
|
1160
|
-
sandbox?:
|
|
1169
|
+
sandbox?: InputShared_Type_70;
|
|
1161
1170
|
/** Mounted filesystems keyed by mount path */
|
|
1162
|
-
mounts?:
|
|
1171
|
+
mounts?: InputShared_Type_71 | undefined;
|
|
1163
1172
|
/** Search configuration */
|
|
1164
|
-
search?:
|
|
1173
|
+
search?: InputShared_Type_72 | undefined;
|
|
1165
1174
|
/** Array of skill IDs */
|
|
1166
1175
|
skills?: string[] | undefined;
|
|
1167
1176
|
/** Workspace tool configuration */
|
|
1168
|
-
tools?:
|
|
1177
|
+
tools?: InputShared_Type_74 | undefined;
|
|
1169
1178
|
/** Whether to automatically sync the workspace */
|
|
1170
1179
|
autoSync?: boolean | undefined;
|
|
1171
1180
|
/** Operation timeout in milliseconds */
|
|
1172
1181
|
operationTimeout?: number | undefined;
|
|
1173
1182
|
};
|
|
1174
|
-
type
|
|
1183
|
+
type InputShared_Type_76 = {
|
|
1175
1184
|
type: 'provider';
|
|
1176
1185
|
/** Workspace provider identifier */
|
|
1177
1186
|
provider: string;
|
|
@@ -1180,27 +1189,27 @@ type InputShared_Type_75 = {
|
|
|
1180
1189
|
[key: string]: unknown;
|
|
1181
1190
|
};
|
|
1182
1191
|
};
|
|
1183
|
-
type
|
|
1192
|
+
type InputShared_Type_77 = {
|
|
1184
1193
|
value: {
|
|
1185
1194
|
type: 'id';
|
|
1186
1195
|
workspaceId: string;
|
|
1187
1196
|
} | {
|
|
1188
1197
|
type: 'inline';
|
|
1189
|
-
config:
|
|
1190
|
-
} |
|
|
1198
|
+
config: InputShared_Type_75;
|
|
1199
|
+
} | InputShared_Type_76;
|
|
1191
1200
|
rules?: {
|
|
1192
1201
|
operator: 'AND' | 'OR';
|
|
1193
|
-
conditions:
|
|
1202
|
+
conditions: InputShared_Type_35[];
|
|
1194
1203
|
} | undefined;
|
|
1195
1204
|
};
|
|
1196
|
-
type
|
|
1205
|
+
type InputShared_Type_78 = (({
|
|
1197
1206
|
type: 'id';
|
|
1198
1207
|
workspaceId: string;
|
|
1199
1208
|
} | {
|
|
1200
1209
|
type: 'inline';
|
|
1201
|
-
config:
|
|
1202
|
-
} |
|
|
1203
|
-
type
|
|
1210
|
+
config: InputShared_Type_75;
|
|
1211
|
+
} | InputShared_Type_76) | InputShared_Type_77[]) | undefined;
|
|
1212
|
+
type InputShared_Type_79 = {
|
|
1204
1213
|
/** Image format (default: jpeg) */
|
|
1205
1214
|
format?: ('jpeg' | 'png') | undefined;
|
|
1206
1215
|
/** JPEG quality 0-100 (default: 80) */
|
|
@@ -1212,7 +1221,7 @@ type InputShared_Type_78 = {
|
|
|
1212
1221
|
/** Capture every Nth frame (default: 1) */
|
|
1213
1222
|
everyNthFrame?: number | undefined;
|
|
1214
1223
|
};
|
|
1215
|
-
type
|
|
1224
|
+
type InputShared_Type_80 = {
|
|
1216
1225
|
/** Browser provider type (e.g., stagehand, playwright) */
|
|
1217
1226
|
provider: string;
|
|
1218
1227
|
/** Run browser in headless mode (default: true) */
|
|
@@ -1227,19 +1236,19 @@ type InputShared_Type_79 = {
|
|
|
1227
1236
|
/** Default timeout in milliseconds (default: 10000) */
|
|
1228
1237
|
timeout?: number | undefined;
|
|
1229
1238
|
/** Screencast options for streaming browser frames */
|
|
1230
|
-
screencast?:
|
|
1239
|
+
screencast?: InputShared_Type_79 | undefined;
|
|
1231
1240
|
};
|
|
1232
|
-
type
|
|
1241
|
+
type InputShared_Type_81 = {
|
|
1233
1242
|
value: {
|
|
1234
1243
|
type: 'inline';
|
|
1235
|
-
config:
|
|
1244
|
+
config: InputShared_Type_80;
|
|
1236
1245
|
};
|
|
1237
1246
|
rules?: {
|
|
1238
1247
|
operator: 'AND' | 'OR';
|
|
1239
|
-
conditions:
|
|
1248
|
+
conditions: InputShared_Type_35[];
|
|
1240
1249
|
} | undefined;
|
|
1241
1250
|
};
|
|
1242
|
-
type
|
|
1251
|
+
type InputShared_Type_82 = {
|
|
1243
1252
|
type: 'agent';
|
|
1244
1253
|
id: string;
|
|
1245
1254
|
agentId: string;
|
|
@@ -1254,7 +1263,7 @@ type InputShared_Type_81 = {
|
|
|
1254
1263
|
} | undefined;
|
|
1255
1264
|
} | undefined;
|
|
1256
1265
|
};
|
|
1257
|
-
type
|
|
1266
|
+
type InputShared_Type_83 = {
|
|
1258
1267
|
type: 'tool';
|
|
1259
1268
|
id: string;
|
|
1260
1269
|
toolId: string;
|
|
@@ -1266,7 +1275,7 @@ type InputShared_Type_82 = {
|
|
|
1266
1275
|
} | undefined;
|
|
1267
1276
|
} | undefined;
|
|
1268
1277
|
};
|
|
1269
|
-
type
|
|
1278
|
+
type InputShared_Type_84 = {
|
|
1270
1279
|
type: 'mapping';
|
|
1271
1280
|
id: string;
|
|
1272
1281
|
description?: string | undefined;
|
|
@@ -1275,29 +1284,29 @@ type InputShared_Type_83 = {
|
|
|
1275
1284
|
} | undefined;
|
|
1276
1285
|
mapConfig: string;
|
|
1277
1286
|
};
|
|
1278
|
-
type
|
|
1287
|
+
type InputShared_Type_85 = InputShared_Type_82 | InputShared_Type_83 | InputShared_Type_84 | {
|
|
1279
1288
|
type: 'workflow';
|
|
1280
1289
|
id: string;
|
|
1281
1290
|
workflowId: string;
|
|
1282
1291
|
description?: string | undefined;
|
|
1283
1292
|
};
|
|
1284
|
-
type
|
|
1293
|
+
type InputShared_Type_86 = {
|
|
1285
1294
|
type: 'parallel';
|
|
1286
1295
|
id?: string | undefined;
|
|
1287
1296
|
description?: string | undefined;
|
|
1288
1297
|
metadata?: {
|
|
1289
1298
|
[key: string]: unknown;
|
|
1290
1299
|
} | undefined;
|
|
1291
|
-
steps:
|
|
1300
|
+
steps: InputShared_Type_85[];
|
|
1292
1301
|
};
|
|
1293
|
-
type
|
|
1302
|
+
type InputShared_Type_87 = {
|
|
1294
1303
|
type: 'foreach';
|
|
1295
1304
|
id?: string | undefined;
|
|
1296
1305
|
description?: string | undefined;
|
|
1297
1306
|
metadata?: {
|
|
1298
1307
|
[key: string]: unknown;
|
|
1299
1308
|
} | undefined;
|
|
1300
|
-
step:
|
|
1309
|
+
step: InputShared_Type_82 | InputShared_Type_83 | {
|
|
1301
1310
|
type: 'workflow';
|
|
1302
1311
|
id: string;
|
|
1303
1312
|
workflowId: string;
|
|
@@ -1307,7 +1316,7 @@ type InputShared_Type_86 = {
|
|
|
1307
1316
|
concurrency: number;
|
|
1308
1317
|
} | undefined;
|
|
1309
1318
|
};
|
|
1310
|
-
type
|
|
1319
|
+
type InputShared_Type_88 = {
|
|
1311
1320
|
type: 'sleep';
|
|
1312
1321
|
id: string;
|
|
1313
1322
|
description?: string | undefined;
|
|
@@ -1316,7 +1325,7 @@ type InputShared_Type_87 = {
|
|
|
1316
1325
|
} | undefined;
|
|
1317
1326
|
duration: number;
|
|
1318
1327
|
};
|
|
1319
|
-
type
|
|
1328
|
+
type InputShared_Type_89 = {
|
|
1320
1329
|
type: 'sleepUntil';
|
|
1321
1330
|
id: string;
|
|
1322
1331
|
description?: string | undefined;
|
|
@@ -1325,34 +1334,34 @@ type InputShared_Type_88 = {
|
|
|
1325
1334
|
} | undefined;
|
|
1326
1335
|
date: string;
|
|
1327
1336
|
};
|
|
1328
|
-
type
|
|
1337
|
+
type InputShared_Type_90 = {
|
|
1329
1338
|
type: 'conditional';
|
|
1330
1339
|
id?: string | undefined;
|
|
1331
1340
|
description?: string | undefined;
|
|
1332
1341
|
metadata?: {
|
|
1333
1342
|
[key: string]: unknown;
|
|
1334
1343
|
} | undefined;
|
|
1335
|
-
steps:
|
|
1336
|
-
predicates:
|
|
1344
|
+
steps: InputShared_Type_85[];
|
|
1345
|
+
predicates: InputShared_Auxiliary_740[];
|
|
1337
1346
|
};
|
|
1338
|
-
type
|
|
1347
|
+
type InputShared_Type_91 = {
|
|
1339
1348
|
type: 'loop';
|
|
1340
1349
|
id?: string | undefined;
|
|
1341
1350
|
description?: string | undefined;
|
|
1342
1351
|
metadata?: {
|
|
1343
1352
|
[key: string]: unknown;
|
|
1344
1353
|
} | undefined;
|
|
1345
|
-
step:
|
|
1354
|
+
step: InputShared_Type_85;
|
|
1346
1355
|
loopType: 'dowhile' | 'dountil';
|
|
1347
|
-
predicate:
|
|
1356
|
+
predicate: InputShared_Auxiliary_740;
|
|
1348
1357
|
};
|
|
1349
|
-
type
|
|
1358
|
+
type InputShared_Type_92 = InputShared_Type_82 | InputShared_Type_83 | InputShared_Type_84 | {
|
|
1350
1359
|
type: 'workflow';
|
|
1351
1360
|
id: string;
|
|
1352
1361
|
workflowId: string;
|
|
1353
1362
|
description?: string | undefined;
|
|
1354
|
-
} |
|
|
1355
|
-
type
|
|
1363
|
+
} | InputShared_Type_86 | InputShared_Type_87 | InputShared_Type_88 | InputShared_Type_89 | InputShared_Type_90 | InputShared_Type_91;
|
|
1364
|
+
type InputShared_Type_93 = {
|
|
1356
1365
|
/** Transport type: stdio for local processes, http for remote servers */
|
|
1357
1366
|
type: 'stdio' | 'http';
|
|
1358
1367
|
/** Command to run (stdio only) */
|
|
@@ -1368,14 +1377,14 @@ type InputShared_Type_92 = {
|
|
|
1368
1377
|
/** Connection timeout in milliseconds */
|
|
1369
1378
|
timeout?: number | undefined;
|
|
1370
1379
|
};
|
|
1371
|
-
type
|
|
1372
|
-
type
|
|
1380
|
+
type InputShared_Type_94 = 'llm-judge' | 'answer-relevancy' | 'answer-similarity' | 'bias' | 'context-precision' | 'context-relevance' | 'faithfulness' | 'hallucination' | 'noise-sensitivity' | 'prompt-alignment' | 'tool-call-accuracy' | 'toxicity';
|
|
1381
|
+
type InputShared_Type_95 = {
|
|
1373
1382
|
/** Minimum score value (default: 0) */
|
|
1374
1383
|
min?: number | undefined;
|
|
1375
1384
|
/** Maximum score value (default: 1) */
|
|
1376
1385
|
max?: number | undefined;
|
|
1377
1386
|
} | undefined;
|
|
1378
|
-
type
|
|
1387
|
+
type InputShared_Type_96 = {
|
|
1379
1388
|
type: 'external';
|
|
1380
1389
|
/** Package path for external source */
|
|
1381
1390
|
packagePath: string;
|
|
@@ -1388,7 +1397,7 @@ type InputShared_Type_95 = {
|
|
|
1388
1397
|
/** Mastra path for managed source */
|
|
1389
1398
|
mastraPath: string;
|
|
1390
1399
|
};
|
|
1391
|
-
type
|
|
1400
|
+
type InputShared_Type_97 = {
|
|
1392
1401
|
/** Step name to match */
|
|
1393
1402
|
name: string;
|
|
1394
1403
|
durationMs?: number | undefined;
|
|
@@ -1406,7 +1415,7 @@ type InputShared_Type_96 = {
|
|
|
1406
1415
|
} | undefined;
|
|
1407
1416
|
success?: boolean | undefined;
|
|
1408
1417
|
};
|
|
1409
|
-
type
|
|
1418
|
+
type InputShared_Type_98 = {
|
|
1410
1419
|
/** Step name to match */
|
|
1411
1420
|
name: string;
|
|
1412
1421
|
durationMs?: number | undefined;
|
|
@@ -1425,7 +1434,7 @@ type InputShared_Type_97 = {
|
|
|
1425
1434
|
mcpServer?: string | undefined;
|
|
1426
1435
|
success?: boolean | undefined;
|
|
1427
1436
|
};
|
|
1428
|
-
type
|
|
1437
|
+
type InputShared_Type_99 = {
|
|
1429
1438
|
/** Step name to match */
|
|
1430
1439
|
name: string;
|
|
1431
1440
|
durationMs?: number | undefined;
|
|
@@ -1440,7 +1449,7 @@ type InputShared_Type_98 = {
|
|
|
1440
1449
|
completionTokens?: number | undefined;
|
|
1441
1450
|
finishReason?: string | undefined;
|
|
1442
1451
|
};
|
|
1443
|
-
type
|
|
1452
|
+
type InputShared_Type_100 = {
|
|
1444
1453
|
/** Step name to match */
|
|
1445
1454
|
name: string;
|
|
1446
1455
|
durationMs?: number | undefined;
|
|
@@ -1452,7 +1461,7 @@ type InputShared_Type_99 = {
|
|
|
1452
1461
|
stepType: 'agent_run';
|
|
1453
1462
|
agentId?: string | undefined;
|
|
1454
1463
|
};
|
|
1455
|
-
type
|
|
1464
|
+
type InputShared_Type_101 = {
|
|
1456
1465
|
/** Step name to match */
|
|
1457
1466
|
name: string;
|
|
1458
1467
|
durationMs?: number | undefined;
|
|
@@ -1468,7 +1477,7 @@ type InputShared_Type_100 = {
|
|
|
1468
1477
|
[key: string]: unknown;
|
|
1469
1478
|
} | undefined;
|
|
1470
1479
|
};
|
|
1471
|
-
type
|
|
1480
|
+
type InputShared_Type_102 = {
|
|
1472
1481
|
/** Step name to match */
|
|
1473
1482
|
name: string;
|
|
1474
1483
|
durationMs?: number | undefined;
|
|
@@ -1481,7 +1490,7 @@ type InputShared_Type_101 = {
|
|
|
1481
1490
|
workflowId?: string | undefined;
|
|
1482
1491
|
status?: string | undefined;
|
|
1483
1492
|
};
|
|
1484
|
-
type
|
|
1493
|
+
type InputShared_Type_103 = {
|
|
1485
1494
|
/** Step name to match */
|
|
1486
1495
|
name: string;
|
|
1487
1496
|
durationMs?: number | undefined;
|
|
@@ -1494,7 +1503,7 @@ type InputShared_Type_102 = {
|
|
|
1494
1503
|
conditionCount?: number | undefined;
|
|
1495
1504
|
selectedSteps?: string[] | undefined;
|
|
1496
1505
|
};
|
|
1497
|
-
type
|
|
1506
|
+
type InputShared_Type_104 = {
|
|
1498
1507
|
/** Step name to match */
|
|
1499
1508
|
name: string;
|
|
1500
1509
|
durationMs?: number | undefined;
|
|
@@ -1507,7 +1516,7 @@ type InputShared_Type_103 = {
|
|
|
1507
1516
|
branchCount?: number | undefined;
|
|
1508
1517
|
parallelSteps?: string[] | undefined;
|
|
1509
1518
|
};
|
|
1510
|
-
type
|
|
1519
|
+
type InputShared_Type_105 = {
|
|
1511
1520
|
/** Step name to match */
|
|
1512
1521
|
name: string;
|
|
1513
1522
|
durationMs?: number | undefined;
|
|
@@ -1520,7 +1529,7 @@ type InputShared_Type_104 = {
|
|
|
1520
1529
|
loopType?: string | undefined;
|
|
1521
1530
|
totalIterations?: number | undefined;
|
|
1522
1531
|
};
|
|
1523
|
-
type
|
|
1532
|
+
type InputShared_Type_106 = {
|
|
1524
1533
|
/** Step name to match */
|
|
1525
1534
|
name: string;
|
|
1526
1535
|
durationMs?: number | undefined;
|
|
@@ -1533,7 +1542,7 @@ type InputShared_Type_105 = {
|
|
|
1533
1542
|
sleepDurationMs?: number | undefined;
|
|
1534
1543
|
sleepType?: string | undefined;
|
|
1535
1544
|
};
|
|
1536
|
-
type
|
|
1545
|
+
type InputShared_Type_107 = {
|
|
1537
1546
|
/** Step name to match */
|
|
1538
1547
|
name: string;
|
|
1539
1548
|
durationMs?: number | undefined;
|
|
@@ -1546,7 +1555,7 @@ type InputShared_Type_106 = {
|
|
|
1546
1555
|
eventName?: string | undefined;
|
|
1547
1556
|
eventReceived?: boolean | undefined;
|
|
1548
1557
|
};
|
|
1549
|
-
type
|
|
1558
|
+
type InputShared_Type_108 = {
|
|
1550
1559
|
/** Step name to match */
|
|
1551
1560
|
name: string;
|
|
1552
1561
|
durationMs?: number | undefined;
|
|
@@ -1558,8 +1567,8 @@ type InputShared_Type_107 = {
|
|
|
1558
1567
|
stepType: 'processor_run';
|
|
1559
1568
|
processorId?: string | undefined;
|
|
1560
1569
|
};
|
|
1561
|
-
type
|
|
1562
|
-
type
|
|
1570
|
+
type InputShared_Type_109 = 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 | InputShared_Type_108;
|
|
1571
|
+
type InputShared_Type_110 = {
|
|
1563
1572
|
/** Step name to match */
|
|
1564
1573
|
name: string;
|
|
1565
1574
|
durationMs?: number | undefined;
|
|
@@ -1570,9 +1579,9 @@ type InputShared_Type_109 = {
|
|
|
1570
1579
|
children?: unknown | undefined;
|
|
1571
1580
|
stepType?: undefined | undefined;
|
|
1572
1581
|
};
|
|
1573
|
-
type
|
|
1582
|
+
type InputShared_Type_111 = {
|
|
1574
1583
|
/** Expected steps for accuracy checking */
|
|
1575
|
-
steps?: (
|
|
1584
|
+
steps?: (InputShared_Type_109 | InputShared_Type_110)[] | undefined;
|
|
1576
1585
|
/** How to compare step ordering (default: relaxed) */
|
|
1577
1586
|
ordering?: ('strict' | 'relaxed' | 'unordered') | undefined;
|
|
1578
1587
|
/** Whether to allow repeated steps (default: true) */
|
|
@@ -1592,7 +1601,7 @@ type InputShared_Type_110 = {
|
|
|
1592
1601
|
/** Maximum retries per tool before penalizing (default: 2) */
|
|
1593
1602
|
maxRetriesPerTool?: number | undefined;
|
|
1594
1603
|
};
|
|
1595
|
-
type
|
|
1604
|
+
type InputShared_Type_112 = {
|
|
1596
1605
|
/** Name of the tool this mock applies to */
|
|
1597
1606
|
toolName: string;
|
|
1598
1607
|
/** Arguments to match against the tool call */
|
|
@@ -1604,19 +1613,19 @@ type InputShared_Type_111 = {
|
|
|
1604
1613
|
/** Argument matching mode. 'strict' (default) deep-equals args; 'ignore' matches on toolName only */
|
|
1605
1614
|
matchArgs?: ('strict' | 'ignore') | undefined;
|
|
1606
1615
|
};
|
|
1607
|
-
type
|
|
1616
|
+
type InputShared_Type_113 = {
|
|
1608
1617
|
/** How this item was created */
|
|
1609
1618
|
type: 'csv' | 'json' | 'trace' | 'llm' | 'experiment-result' | 'candidate-screener';
|
|
1610
1619
|
/** Reference identifier (e.g., trace id, csv filename) */
|
|
1611
1620
|
referenceId?: string | undefined;
|
|
1612
1621
|
};
|
|
1613
|
-
type
|
|
1622
|
+
type InputShared_Type_114 = {
|
|
1614
1623
|
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
1615
1624
|
attributes?: {
|
|
1616
1625
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
1617
1626
|
} | undefined;
|
|
1618
1627
|
};
|
|
1619
|
-
type
|
|
1628
|
+
type InputShared_Type_115 = {
|
|
1620
1629
|
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
1621
1630
|
attributes?: {
|
|
1622
1631
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
@@ -2895,10 +2904,14 @@ type Shared_Type_69 = {
|
|
|
2895
2904
|
traceQuery: boolean;
|
|
2896
2905
|
/** Supports explicit `rootSource: 'aggregated'` trace queries */
|
|
2897
2906
|
traceQueryAggregatedRoots: boolean;
|
|
2898
|
-
/**
|
|
2899
|
-
|
|
2900
|
-
/**
|
|
2901
|
-
|
|
2907
|
+
/** Token matching across any span in a trace */
|
|
2908
|
+
traceQueryTokenSearch: boolean;
|
|
2909
|
+
/** Token matching within individual spans */
|
|
2910
|
+
spanQueryTokenSearch: boolean;
|
|
2911
|
+
/** Token predicates in trace aggregates */
|
|
2912
|
+
traceAggregateTokenSearch: boolean;
|
|
2913
|
+
/** Token predicates in span aggregates */
|
|
2914
|
+
spanAggregateTokenSearch: boolean;
|
|
2902
2915
|
/** `durationMs` predicates in trace and thread queries */
|
|
2903
2916
|
traceQueryRootDuration: boolean;
|
|
2904
2917
|
/** `runId`, `sessionId`, `userId` and `organizationId` predicates in trace and thread queries */
|
|
@@ -8301,7 +8314,6 @@ export interface GetObservabilityTracesTraceIdSpanIdScores_RouteContract {
|
|
|
8301
8314
|
}
|
|
8302
8315
|
export type PostObservabilityTracesQuery_Body = {
|
|
8303
8316
|
rootSource?: ('legacy' | 'aggregated') | undefined;
|
|
8304
|
-
textSearch?: string | undefined;
|
|
8305
8317
|
timeRange: {
|
|
8306
8318
|
from: string;
|
|
8307
8319
|
to: string;
|
|
@@ -8382,8 +8394,8 @@ export type PostObservabilityTracesAggregate_Body = {
|
|
|
8382
8394
|
where?: InputShared_Auxiliary_208 | undefined;
|
|
8383
8395
|
groupBy?: string[];
|
|
8384
8396
|
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
8385
|
-
measures: (
|
|
8386
|
-
having?:
|
|
8397
|
+
measures: (InputShared_Type_17 | `countDistinct.${string}`)[];
|
|
8398
|
+
having?: InputShared_Auxiliary_236 | undefined;
|
|
8387
8399
|
orderBy?: {
|
|
8388
8400
|
field: string;
|
|
8389
8401
|
direction: 'asc' | 'desc';
|
|
@@ -8430,11 +8442,11 @@ export type PostObservabilitySpansAggregate_Body = {
|
|
|
8430
8442
|
from: string;
|
|
8431
8443
|
to: string;
|
|
8432
8444
|
};
|
|
8433
|
-
where?:
|
|
8445
|
+
where?: InputShared_Auxiliary_236 | undefined;
|
|
8434
8446
|
groupBy?: string[];
|
|
8435
8447
|
interval?: ('1m' | '5m' | '15m' | '1h' | '1d') | undefined;
|
|
8436
|
-
measures: (
|
|
8437
|
-
having?:
|
|
8448
|
+
measures: (InputShared_Type_17 | `countDistinct.${string}`)[];
|
|
8449
|
+
having?: InputShared_Auxiliary_236 | undefined;
|
|
8438
8450
|
orderBy?: {
|
|
8439
8451
|
field: string;
|
|
8440
8452
|
direction: 'asc' | 'desc';
|
|
@@ -8474,7 +8486,7 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
8474
8486
|
field: 'startedAt' | 'endedAt';
|
|
8475
8487
|
};
|
|
8476
8488
|
};
|
|
8477
|
-
where?:
|
|
8489
|
+
where?: InputShared_Auxiliary_236 | undefined;
|
|
8478
8490
|
orderBy?: {
|
|
8479
8491
|
field: 'startedAt' | 'endedAt';
|
|
8480
8492
|
direction: 'asc' | 'desc';
|
|
@@ -8491,7 +8503,7 @@ export type PostObservabilityThreadsQuery_Body = {
|
|
|
8491
8503
|
};
|
|
8492
8504
|
where?: InputShared_Auxiliary_208 | undefined;
|
|
8493
8505
|
};
|
|
8494
|
-
where?:
|
|
8506
|
+
where?: InputShared_Auxiliary_283 | undefined;
|
|
8495
8507
|
page?: {
|
|
8496
8508
|
limit?: number;
|
|
8497
8509
|
after?: (string | null) | undefined;
|
|
@@ -8561,8 +8573,7 @@ export type PostObservabilitySpansQuery_Body = {
|
|
|
8561
8573
|
from: string;
|
|
8562
8574
|
to: string;
|
|
8563
8575
|
};
|
|
8564
|
-
where?:
|
|
8565
|
-
textSearch?: string | undefined;
|
|
8576
|
+
where?: InputShared_Auxiliary_236 | undefined;
|
|
8566
8577
|
orderBy?: {
|
|
8567
8578
|
field: 'startedAt' | 'endedAt' | 'timeToFirstChunkMs' | 'timeToFirstTokenMs' | 'durationMs' | 'model' | 'provider';
|
|
8568
8579
|
direction: 'asc' | 'desc';
|
|
@@ -9201,7 +9212,7 @@ export type PostObservabilityScoresAggregate_Body = {
|
|
|
9201
9212
|
/** Aggregation function */
|
|
9202
9213
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9203
9214
|
/** Filters for querying scores */
|
|
9204
|
-
filters?:
|
|
9215
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9205
9216
|
/** Comparison period for aggregate queries */
|
|
9206
9217
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
9207
9218
|
};
|
|
@@ -9242,7 +9253,7 @@ export type PostObservabilityScoresBreakdown_Body = {
|
|
|
9242
9253
|
/** Aggregation function */
|
|
9243
9254
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9244
9255
|
/** Filters for querying scores */
|
|
9245
|
-
filters?:
|
|
9256
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9246
9257
|
};
|
|
9247
9258
|
export type PostObservabilityScoresBreakdown_Response = {
|
|
9248
9259
|
groups: {
|
|
@@ -9283,7 +9294,7 @@ export type PostObservabilityScoresTimeseries_Body = {
|
|
|
9283
9294
|
/** Aggregation function */
|
|
9284
9295
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9285
9296
|
/** Filters for querying scores */
|
|
9286
|
-
filters?:
|
|
9297
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9287
9298
|
/** Fields to group by */
|
|
9288
9299
|
groupBy?: string[] | undefined;
|
|
9289
9300
|
};
|
|
@@ -9328,7 +9339,7 @@ export type PostObservabilityScoresPercentiles_Body = {
|
|
|
9328
9339
|
/** Time bucket interval */
|
|
9329
9340
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9330
9341
|
/** Filters for querying scores */
|
|
9331
|
-
filters?:
|
|
9342
|
+
filters?: InputShared_Type_18 | undefined;
|
|
9332
9343
|
};
|
|
9333
9344
|
export type PostObservabilityScoresPercentiles_Response = {
|
|
9334
9345
|
series: {
|
|
@@ -9730,7 +9741,7 @@ export type PostObservabilityFeedbackAggregate_Body = {
|
|
|
9730
9741
|
/** Aggregation function */
|
|
9731
9742
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9732
9743
|
/** Filters for querying feedback */
|
|
9733
|
-
filters?:
|
|
9744
|
+
filters?: InputShared_Type_19 | undefined;
|
|
9734
9745
|
/** Comparison period for aggregate queries */
|
|
9735
9746
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
9736
9747
|
};
|
|
@@ -9764,7 +9775,7 @@ export type PostObservabilityFeedbackBreakdown_Body = {
|
|
|
9764
9775
|
/** Aggregation function */
|
|
9765
9776
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9766
9777
|
/** Filters for querying feedback */
|
|
9767
|
-
filters?:
|
|
9778
|
+
filters?: InputShared_Type_19 | undefined;
|
|
9768
9779
|
};
|
|
9769
9780
|
export type PostObservabilityFeedbackBreakdown_Response = PostObservabilityScoresBreakdown_Response;
|
|
9770
9781
|
export type PostObservabilityFeedbackBreakdown_Request = Simplify<(never extends never ? {} : {
|
|
@@ -9796,7 +9807,7 @@ export type PostObservabilityFeedbackTimeseries_Body = {
|
|
|
9796
9807
|
/** Aggregation function */
|
|
9797
9808
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9798
9809
|
/** Filters for querying feedback */
|
|
9799
|
-
filters?:
|
|
9810
|
+
filters?: InputShared_Type_19 | undefined;
|
|
9800
9811
|
/** Fields to group by */
|
|
9801
9812
|
groupBy?: string[] | undefined;
|
|
9802
9813
|
};
|
|
@@ -9841,7 +9852,7 @@ export type PostObservabilityFeedbackPercentiles_Body = {
|
|
|
9841
9852
|
/** Time bucket interval */
|
|
9842
9853
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
9843
9854
|
/** Filters for querying feedback */
|
|
9844
|
-
filters?:
|
|
9855
|
+
filters?: InputShared_Type_19 | undefined;
|
|
9845
9856
|
};
|
|
9846
9857
|
export type PostObservabilityFeedbackPercentiles_Response = PostObservabilityScoresPercentiles_Response;
|
|
9847
9858
|
export type PostObservabilityFeedbackPercentiles_Request = Simplify<(never extends never ? {} : {
|
|
@@ -9869,9 +9880,9 @@ export type PostObservabilityMetricsAggregate_Body = {
|
|
|
9869
9880
|
/** Aggregation function */
|
|
9870
9881
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9871
9882
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9872
|
-
distinctColumn?:
|
|
9883
|
+
distinctColumn?: InputShared_Type_20 | undefined;
|
|
9873
9884
|
/** Filters for querying metrics */
|
|
9874
|
-
filters?:
|
|
9885
|
+
filters?: InputShared_Type_21 | undefined;
|
|
9875
9886
|
/** Comparison period for aggregate queries */
|
|
9876
9887
|
comparePeriod?: ('previous_period' | 'previous_day' | 'previous_week') | undefined;
|
|
9877
9888
|
};
|
|
@@ -9918,9 +9929,9 @@ export type PostObservabilityMetricsBreakdown_Body = {
|
|
|
9918
9929
|
/** Aggregation function */
|
|
9919
9930
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9920
9931
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9921
|
-
distinctColumn?:
|
|
9932
|
+
distinctColumn?: InputShared_Type_20 | undefined;
|
|
9922
9933
|
/** Filters for querying metrics */
|
|
9923
|
-
filters?:
|
|
9934
|
+
filters?: InputShared_Type_21 | undefined;
|
|
9924
9935
|
/** Maximum number of groups to return (server-side TopK). Required for high-cardinality groupBy. */
|
|
9925
9936
|
limit?: number | undefined;
|
|
9926
9937
|
/** Sort direction for the aggregated value (defaults to 'DESC' at the storage layer; pairs with limit for top/bottom-N). */
|
|
@@ -9967,9 +9978,9 @@ export type PostObservabilityMetricsTimeseries_Body = {
|
|
|
9967
9978
|
/** Aggregation function */
|
|
9968
9979
|
aggregation: 'sum' | 'avg' | 'min' | 'max' | 'count' | 'count_distinct' | 'last';
|
|
9969
9980
|
/** Column to apply count_distinct over (required when aggregation is 'count_distinct'). Restricted to allowlisted metric dimensions. */
|
|
9970
|
-
distinctColumn?:
|
|
9981
|
+
distinctColumn?: InputShared_Type_20 | undefined;
|
|
9971
9982
|
/** Filters for querying metrics */
|
|
9972
|
-
filters?:
|
|
9983
|
+
filters?: InputShared_Type_21 | undefined;
|
|
9973
9984
|
/** Fields to group by */
|
|
9974
9985
|
groupBy?: string[] | undefined;
|
|
9975
9986
|
};
|
|
@@ -10016,7 +10027,7 @@ export type PostObservabilityMetricsPercentiles_Body = {
|
|
|
10016
10027
|
/** Time bucket interval */
|
|
10017
10028
|
interval: '1m' | '5m' | '15m' | '1h' | '1d';
|
|
10018
10029
|
/** Filters for querying metrics */
|
|
10019
|
-
filters?:
|
|
10030
|
+
filters?: InputShared_Type_21 | undefined;
|
|
10020
10031
|
};
|
|
10021
10032
|
export type PostObservabilityMetricsPercentiles_Response = PostObservabilityScoresPercentiles_Response;
|
|
10022
10033
|
export type PostObservabilityMetricsPercentiles_Request = Simplify<(never extends never ? {} : {
|
|
@@ -10951,12 +10962,12 @@ export type PostA2aAgentId_Body = {
|
|
|
10951
10962
|
jsonrpc: '2.0';
|
|
10952
10963
|
id: string | number;
|
|
10953
10964
|
method: 'message/send' | 'SendMessage';
|
|
10954
|
-
params:
|
|
10965
|
+
params: InputShared_Type_32;
|
|
10955
10966
|
} | {
|
|
10956
10967
|
jsonrpc: '2.0';
|
|
10957
10968
|
id: string | number;
|
|
10958
10969
|
method: 'message/stream' | 'SendStreamingMessage';
|
|
10959
|
-
params:
|
|
10970
|
+
params: InputShared_Type_32;
|
|
10960
10971
|
} | {
|
|
10961
10972
|
jsonrpc: '2.0';
|
|
10962
10973
|
id: string | number;
|
|
@@ -11013,7 +11024,7 @@ export type PostA2aAgentId_Body = {
|
|
|
11013
11024
|
params: {
|
|
11014
11025
|
/** Task id */
|
|
11015
11026
|
taskId: string;
|
|
11016
|
-
pushNotificationConfig:
|
|
11027
|
+
pushNotificationConfig: InputShared_Type_30;
|
|
11017
11028
|
};
|
|
11018
11029
|
} | {
|
|
11019
11030
|
jsonrpc: '2.0';
|
|
@@ -11026,7 +11037,7 @@ export type PostA2aAgentId_Body = {
|
|
|
11026
11037
|
id?: string | undefined;
|
|
11027
11038
|
/** Token unique to this task/session */
|
|
11028
11039
|
token?: string | undefined;
|
|
11029
|
-
authentication?:
|
|
11040
|
+
authentication?: InputShared_Type_29 | undefined;
|
|
11030
11041
|
/** Task id */
|
|
11031
11042
|
taskId: string;
|
|
11032
11043
|
tenant?: string | undefined;
|
|
@@ -12722,7 +12733,7 @@ export interface GetStoredAgents_RouteContract {
|
|
|
12722
12733
|
}
|
|
12723
12734
|
export type PostStoredAgentsPreviewInstructions_Body = {
|
|
12724
12735
|
/** Array of instruction blocks to resolve */
|
|
12725
|
-
blocks:
|
|
12736
|
+
blocks: InputShared_Type_36[];
|
|
12726
12737
|
/** Request context for variable interpolation and rule evaluation */
|
|
12727
12738
|
context?: {
|
|
12728
12739
|
[key: string]: unknown;
|
|
@@ -12788,9 +12799,9 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
|
|
|
12788
12799
|
/** Description of the agent */
|
|
12789
12800
|
description?: (string | undefined) | undefined;
|
|
12790
12801
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
12791
|
-
instructions?: (string |
|
|
12802
|
+
instructions?: (string | InputShared_Type_36[]) | undefined;
|
|
12792
12803
|
/** Model configuration — static value or array of conditional variants */
|
|
12793
|
-
model?:
|
|
12804
|
+
model?: InputShared_Type_38 | undefined;
|
|
12794
12805
|
/** Ordered model fallback list owned by Studio */
|
|
12795
12806
|
modelList?: ({
|
|
12796
12807
|
id: string;
|
|
@@ -12800,48 +12811,48 @@ export type PostStoredAgentsStoredAgentIdExport_Body = {
|
|
|
12800
12811
|
maxRetries: number;
|
|
12801
12812
|
}[] | undefined) | undefined;
|
|
12802
12813
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
12803
|
-
tools?: (
|
|
12814
|
+
tools?: (InputShared_Type_40 | undefined) | undefined;
|
|
12804
12815
|
/** Default options for generate/stream calls — static or conditional */
|
|
12805
|
-
defaultOptions?: ((
|
|
12816
|
+
defaultOptions?: ((InputShared_Type_43 | InputShared_Type_44[]) | undefined) | undefined;
|
|
12806
12817
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12807
|
-
workflows?: (
|
|
12818
|
+
workflows?: (InputShared_Type_40 | undefined) | undefined;
|
|
12808
12819
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12809
|
-
agents?: (
|
|
12820
|
+
agents?: (InputShared_Type_40 | undefined) | undefined;
|
|
12810
12821
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12811
12822
|
integrationTools?: (({
|
|
12812
12823
|
[key: string]: {
|
|
12813
|
-
tools?:
|
|
12824
|
+
tools?: InputShared_Type_39 | undefined;
|
|
12814
12825
|
};
|
|
12815
|
-
} |
|
|
12826
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
12816
12827
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12817
12828
|
toolProviders?: (({
|
|
12818
|
-
[key: string]:
|
|
12819
|
-
} |
|
|
12829
|
+
[key: string]: InputShared_Type_47;
|
|
12830
|
+
} | InputShared_Type_48[]) | undefined) | undefined;
|
|
12820
12831
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12821
12832
|
mcpClients?: (({
|
|
12822
12833
|
[key: string]: {
|
|
12823
|
-
tools?:
|
|
12834
|
+
tools?: InputShared_Type_39 | undefined;
|
|
12824
12835
|
};
|
|
12825
|
-
} |
|
|
12836
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
12826
12837
|
/** Input processor graph — static or conditional */
|
|
12827
|
-
inputProcessors?: (
|
|
12838
|
+
inputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
12828
12839
|
/** Output processor graph — static or conditional */
|
|
12829
|
-
outputProcessors?: (
|
|
12840
|
+
outputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
12830
12841
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
12831
|
-
memory?: ((
|
|
12842
|
+
memory?: ((InputShared_Type_64 | null) | undefined) | undefined;
|
|
12832
12843
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12833
12844
|
scorers?: (({
|
|
12834
|
-
[key: string]:
|
|
12835
|
-
} |
|
|
12845
|
+
[key: string]: InputShared_Type_65;
|
|
12846
|
+
} | InputShared_Type_66[]) | undefined) | undefined;
|
|
12836
12847
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12837
|
-
skills?: (
|
|
12848
|
+
skills?: (InputShared_Type_68 | undefined) | undefined;
|
|
12838
12849
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12839
|
-
workspace?:
|
|
12850
|
+
workspace?: InputShared_Type_78 | undefined;
|
|
12840
12851
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12841
12852
|
browser?: ((({
|
|
12842
12853
|
type: 'inline';
|
|
12843
|
-
config:
|
|
12844
|
-
} |
|
|
12854
|
+
config: InputShared_Type_80;
|
|
12855
|
+
} | InputShared_Type_81[]) | boolean | null) | undefined) | undefined;
|
|
12845
12856
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12846
12857
|
requestContextSchema?: ({
|
|
12847
12858
|
[key: string]: unknown;
|
|
@@ -12885,9 +12896,9 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
|
|
|
12885
12896
|
/** Description of the agent */
|
|
12886
12897
|
description?: (string | undefined) | undefined;
|
|
12887
12898
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
12888
|
-
instructions?: (string |
|
|
12899
|
+
instructions?: (string | InputShared_Type_36[]) | undefined;
|
|
12889
12900
|
/** Model configuration — static value or array of conditional variants */
|
|
12890
|
-
model?:
|
|
12901
|
+
model?: InputShared_Type_38 | undefined;
|
|
12891
12902
|
/** Ordered model fallback list owned by Studio */
|
|
12892
12903
|
modelList?: ({
|
|
12893
12904
|
id: string;
|
|
@@ -12897,48 +12908,48 @@ export type PostStoredAgentsStoredAgentIdChangeRequest_Body = {
|
|
|
12897
12908
|
maxRetries: number;
|
|
12898
12909
|
}[] | undefined) | undefined;
|
|
12899
12910
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
12900
|
-
tools?: (
|
|
12911
|
+
tools?: (InputShared_Type_40 | undefined) | undefined;
|
|
12901
12912
|
/** Default options for generate/stream calls — static or conditional */
|
|
12902
|
-
defaultOptions?: ((
|
|
12913
|
+
defaultOptions?: ((InputShared_Type_43 | InputShared_Type_44[]) | undefined) | undefined;
|
|
12903
12914
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
12904
|
-
workflows?: (
|
|
12915
|
+
workflows?: (InputShared_Type_40 | undefined) | undefined;
|
|
12905
12916
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
12906
|
-
agents?: (
|
|
12917
|
+
agents?: (InputShared_Type_40 | undefined) | undefined;
|
|
12907
12918
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
12908
12919
|
integrationTools?: (({
|
|
12909
12920
|
[key: string]: {
|
|
12910
|
-
tools?:
|
|
12921
|
+
tools?: InputShared_Type_39 | undefined;
|
|
12911
12922
|
};
|
|
12912
|
-
} |
|
|
12923
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
12913
12924
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
12914
12925
|
toolProviders?: (({
|
|
12915
|
-
[key: string]:
|
|
12916
|
-
} |
|
|
12926
|
+
[key: string]: InputShared_Type_47;
|
|
12927
|
+
} | InputShared_Type_48[]) | undefined) | undefined;
|
|
12917
12928
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
12918
12929
|
mcpClients?: (({
|
|
12919
12930
|
[key: string]: {
|
|
12920
|
-
tools?:
|
|
12931
|
+
tools?: InputShared_Type_39 | undefined;
|
|
12921
12932
|
};
|
|
12922
|
-
} |
|
|
12933
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
12923
12934
|
/** Input processor graph — static or conditional */
|
|
12924
|
-
inputProcessors?: (
|
|
12935
|
+
inputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
12925
12936
|
/** Output processor graph — static or conditional */
|
|
12926
|
-
outputProcessors?: (
|
|
12937
|
+
outputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
12927
12938
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
12928
|
-
memory?: ((
|
|
12939
|
+
memory?: ((InputShared_Type_64 | null) | undefined) | undefined;
|
|
12929
12940
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
12930
12941
|
scorers?: (({
|
|
12931
|
-
[key: string]:
|
|
12932
|
-
} |
|
|
12942
|
+
[key: string]: InputShared_Type_65;
|
|
12943
|
+
} | InputShared_Type_66[]) | undefined) | undefined;
|
|
12933
12944
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
12934
|
-
skills?: (
|
|
12945
|
+
skills?: (InputShared_Type_68 | undefined) | undefined;
|
|
12935
12946
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
12936
|
-
workspace?:
|
|
12947
|
+
workspace?: InputShared_Type_78 | undefined;
|
|
12937
12948
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
12938
12949
|
browser?: ((({
|
|
12939
12950
|
type: 'inline';
|
|
12940
|
-
config:
|
|
12941
|
-
} |
|
|
12951
|
+
config: InputShared_Type_80;
|
|
12952
|
+
} | InputShared_Type_81[]) | boolean | null) | undefined) | undefined;
|
|
12942
12953
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
12943
12954
|
requestContextSchema?: ({
|
|
12944
12955
|
[key: string]: unknown;
|
|
@@ -13018,13 +13029,13 @@ export type PostStoredAgents_Body = {
|
|
|
13018
13029
|
/** Description of the agent */
|
|
13019
13030
|
description?: string | undefined;
|
|
13020
13031
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
13021
|
-
instructions: string |
|
|
13032
|
+
instructions: string | InputShared_Type_36[];
|
|
13022
13033
|
/** Model configuration — static value or array of conditional variants. When omitted, the builder default model is applied server-side. */
|
|
13023
|
-
model?: (
|
|
13024
|
-
value:
|
|
13034
|
+
model?: (InputShared_Type_37 | {
|
|
13035
|
+
value: InputShared_Type_37;
|
|
13025
13036
|
rules?: {
|
|
13026
13037
|
operator: 'AND' | 'OR';
|
|
13027
|
-
conditions:
|
|
13038
|
+
conditions: InputShared_Type_35[];
|
|
13028
13039
|
} | undefined;
|
|
13029
13040
|
}[]) | undefined;
|
|
13030
13041
|
/** Ordered model fallback list owned by Studio */
|
|
@@ -13036,54 +13047,54 @@ export type PostStoredAgents_Body = {
|
|
|
13036
13047
|
maxRetries: number;
|
|
13037
13048
|
}[] | undefined;
|
|
13038
13049
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
13039
|
-
tools?:
|
|
13050
|
+
tools?: InputShared_Type_40 | undefined;
|
|
13040
13051
|
/** Default options for generate/stream calls — static or conditional */
|
|
13041
|
-
defaultOptions?: (
|
|
13052
|
+
defaultOptions?: (InputShared_Type_43 | InputShared_Type_44[]) | undefined;
|
|
13042
13053
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
13043
|
-
workflows?:
|
|
13054
|
+
workflows?: InputShared_Type_40 | undefined;
|
|
13044
13055
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
13045
|
-
agents?:
|
|
13056
|
+
agents?: InputShared_Type_40 | undefined;
|
|
13046
13057
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
13047
13058
|
integrationTools?: ({
|
|
13048
13059
|
[key: string]: {
|
|
13049
|
-
tools?:
|
|
13060
|
+
tools?: InputShared_Type_39 | undefined;
|
|
13050
13061
|
};
|
|
13051
|
-
} |
|
|
13062
|
+
} | InputShared_Type_45[]) | undefined;
|
|
13052
13063
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
13053
13064
|
toolProviders?: ({
|
|
13054
|
-
[key: string]:
|
|
13055
|
-
} |
|
|
13065
|
+
[key: string]: InputShared_Type_47;
|
|
13066
|
+
} | InputShared_Type_48[]) | undefined;
|
|
13056
13067
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
13057
13068
|
mcpClients?: ({
|
|
13058
13069
|
[key: string]: {
|
|
13059
|
-
tools?:
|
|
13070
|
+
tools?: InputShared_Type_39 | undefined;
|
|
13060
13071
|
};
|
|
13061
|
-
} |
|
|
13072
|
+
} | InputShared_Type_45[]) | undefined;
|
|
13062
13073
|
/** Input processor graph — static or conditional */
|
|
13063
|
-
inputProcessors?:
|
|
13074
|
+
inputProcessors?: InputShared_Type_54 | undefined;
|
|
13064
13075
|
/** Output processor graph — static or conditional */
|
|
13065
|
-
outputProcessors?:
|
|
13076
|
+
outputProcessors?: InputShared_Type_54 | undefined;
|
|
13066
13077
|
/** Memory: registered memory reference or inline config — static or conditional */
|
|
13067
|
-
memory?: (
|
|
13068
|
-
value:
|
|
13078
|
+
memory?: (InputShared_Type_63 | {
|
|
13079
|
+
value: InputShared_Type_63;
|
|
13069
13080
|
rules?: {
|
|
13070
13081
|
operator: 'AND' | 'OR';
|
|
13071
|
-
conditions:
|
|
13082
|
+
conditions: InputShared_Type_35[];
|
|
13072
13083
|
} | undefined;
|
|
13073
13084
|
}[]) | undefined;
|
|
13074
13085
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
13075
13086
|
scorers?: ({
|
|
13076
|
-
[key: string]:
|
|
13077
|
-
} |
|
|
13087
|
+
[key: string]: InputShared_Type_65;
|
|
13088
|
+
} | InputShared_Type_66[]) | undefined;
|
|
13078
13089
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
13079
|
-
skills?:
|
|
13090
|
+
skills?: InputShared_Type_68 | undefined;
|
|
13080
13091
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
13081
|
-
workspace?:
|
|
13092
|
+
workspace?: InputShared_Type_78;
|
|
13082
13093
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
13083
13094
|
browser?: (({
|
|
13084
13095
|
type: 'inline';
|
|
13085
|
-
config:
|
|
13086
|
-
} |
|
|
13096
|
+
config: InputShared_Type_80;
|
|
13097
|
+
} | InputShared_Type_81[]) | boolean | null) | undefined;
|
|
13087
13098
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
13088
13099
|
requestContextSchema?: {
|
|
13089
13100
|
[key: string]: unknown;
|
|
@@ -13128,9 +13139,9 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
13128
13139
|
/** Description of the agent */
|
|
13129
13140
|
description?: (string | undefined) | undefined;
|
|
13130
13141
|
/** System instructions for the agent (string or array of instruction blocks) */
|
|
13131
|
-
instructions?: (string |
|
|
13142
|
+
instructions?: (string | InputShared_Type_36[]) | undefined;
|
|
13132
13143
|
/** Model configuration — static value or array of conditional variants */
|
|
13133
|
-
model?:
|
|
13144
|
+
model?: InputShared_Type_38 | undefined;
|
|
13134
13145
|
/** Ordered model fallback list owned by Studio */
|
|
13135
13146
|
modelList?: ({
|
|
13136
13147
|
id: string;
|
|
@@ -13140,48 +13151,48 @@ export type PatchStoredAgentsStoredAgentId_Body = {
|
|
|
13140
13151
|
maxRetries: number;
|
|
13141
13152
|
}[] | undefined) | undefined;
|
|
13142
13153
|
/** Tool keys mapped to per-tool config — static or conditional */
|
|
13143
|
-
tools?: (
|
|
13154
|
+
tools?: (InputShared_Type_40 | undefined) | undefined;
|
|
13144
13155
|
/** Default options for generate/stream calls — static or conditional */
|
|
13145
|
-
defaultOptions?: ((
|
|
13156
|
+
defaultOptions?: ((InputShared_Type_43 | InputShared_Type_44[]) | undefined) | undefined;
|
|
13146
13157
|
/** Workflow keys with optional per-workflow config — static or conditional */
|
|
13147
|
-
workflows?: (
|
|
13158
|
+
workflows?: (InputShared_Type_40 | undefined) | undefined;
|
|
13148
13159
|
/** Agent keys with optional per-agent config — static or conditional */
|
|
13149
|
-
agents?: (
|
|
13160
|
+
agents?: (InputShared_Type_40 | undefined) | undefined;
|
|
13150
13161
|
/** Map of tool provider IDs to their tool configurations — static or conditional */
|
|
13151
13162
|
integrationTools?: (({
|
|
13152
13163
|
[key: string]: {
|
|
13153
|
-
tools?:
|
|
13164
|
+
tools?: InputShared_Type_39 | undefined;
|
|
13154
13165
|
};
|
|
13155
|
-
} |
|
|
13166
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
13156
13167
|
/** Tool provider connections and per-tool config (provider-agnostic). Coexists with the deprecated `integrationTools` field. */
|
|
13157
13168
|
toolProviders?: (({
|
|
13158
|
-
[key: string]:
|
|
13159
|
-
} |
|
|
13169
|
+
[key: string]: InputShared_Type_47;
|
|
13170
|
+
} | InputShared_Type_48[]) | undefined) | undefined;
|
|
13160
13171
|
/** Map of stored MCP client IDs to their tool configurations — static or conditional */
|
|
13161
13172
|
mcpClients?: (({
|
|
13162
13173
|
[key: string]: {
|
|
13163
|
-
tools?:
|
|
13174
|
+
tools?: InputShared_Type_39 | undefined;
|
|
13164
13175
|
};
|
|
13165
|
-
} |
|
|
13176
|
+
} | InputShared_Type_45[]) | undefined) | undefined;
|
|
13166
13177
|
/** Input processor graph — static or conditional */
|
|
13167
|
-
inputProcessors?: (
|
|
13178
|
+
inputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
13168
13179
|
/** Output processor graph — static or conditional */
|
|
13169
|
-
outputProcessors?: (
|
|
13180
|
+
outputProcessors?: (InputShared_Type_54 | undefined) | undefined;
|
|
13170
13181
|
/** Memory: registered memory reference or inline config — static, conditional, or null to disable memory */
|
|
13171
|
-
memory?: ((
|
|
13182
|
+
memory?: ((InputShared_Type_64 | null) | undefined) | undefined;
|
|
13172
13183
|
/** Scorer keys with optional sampling config — static or conditional */
|
|
13173
13184
|
scorers?: (({
|
|
13174
|
-
[key: string]:
|
|
13175
|
-
} |
|
|
13185
|
+
[key: string]: InputShared_Type_65;
|
|
13186
|
+
} | InputShared_Type_66[]) | undefined) | undefined;
|
|
13176
13187
|
/** Skill IDs mapped to per-skill config — static or conditional */
|
|
13177
|
-
skills?: (
|
|
13188
|
+
skills?: (InputShared_Type_68 | undefined) | undefined;
|
|
13178
13189
|
/** Workspace reference (stored ID or inline config) — static or conditional */
|
|
13179
|
-
workspace?:
|
|
13190
|
+
workspace?: InputShared_Type_78 | undefined;
|
|
13180
13191
|
/** Browser configuration — object config, true (apply default), false/null (disable) */
|
|
13181
13192
|
browser?: ((({
|
|
13182
13193
|
type: 'inline';
|
|
13183
|
-
config:
|
|
13184
|
-
} |
|
|
13194
|
+
config: InputShared_Type_80;
|
|
13195
|
+
} | InputShared_Type_81[]) | boolean | null) | undefined) | undefined;
|
|
13185
13196
|
/** JSON Schema defining valid request context variables for conditional rule evaluation */
|
|
13186
13197
|
requestContextSchema?: ({
|
|
13187
13198
|
[key: string]: unknown;
|
|
@@ -13899,7 +13910,7 @@ export type PostStoredWorkflows_Body = {
|
|
|
13899
13910
|
[key: string]: unknown;
|
|
13900
13911
|
} | undefined;
|
|
13901
13912
|
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
13902
|
-
graph:
|
|
13913
|
+
graph: InputShared_Type_92[];
|
|
13903
13914
|
/** 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. */
|
|
13904
13915
|
dependencies?: {
|
|
13905
13916
|
/** Workflow id — kebab-case, descriptive */
|
|
@@ -13923,7 +13934,7 @@ export type PostStoredWorkflows_Body = {
|
|
|
13923
13934
|
[key: string]: unknown;
|
|
13924
13935
|
} | undefined;
|
|
13925
13936
|
/** Static workflow graph — ordered array of serialized step entries with all refs as ids. */
|
|
13926
|
-
graph:
|
|
13937
|
+
graph: InputShared_Type_92[];
|
|
13927
13938
|
}[] | undefined;
|
|
13928
13939
|
};
|
|
13929
13940
|
export type PostStoredWorkflows_Response = {
|
|
@@ -14081,7 +14092,7 @@ export type PostStoredMcpClients_Body = {
|
|
|
14081
14092
|
description?: string | undefined;
|
|
14082
14093
|
/** Map of server name to server configuration */
|
|
14083
14094
|
servers: {
|
|
14084
|
-
[key: string]:
|
|
14095
|
+
[key: string]: InputShared_Type_93;
|
|
14085
14096
|
};
|
|
14086
14097
|
};
|
|
14087
14098
|
export type PostStoredMcpClients_Response = GetStoredMcpClientsStoredMCPClientId_Response;
|
|
@@ -14116,7 +14127,7 @@ export type PatchStoredMcpClientsStoredMCPClientId_Body = {
|
|
|
14116
14127
|
description?: (string | undefined) | undefined;
|
|
14117
14128
|
/** Map of server name to server configuration */
|
|
14118
14129
|
servers?: {
|
|
14119
|
-
[key: string]:
|
|
14130
|
+
[key: string]: InputShared_Type_93;
|
|
14120
14131
|
} | undefined;
|
|
14121
14132
|
};
|
|
14122
14133
|
export type PatchStoredMcpClientsStoredMCPClientId_Response = {
|
|
@@ -14482,7 +14493,7 @@ export type PostStoredPromptBlocks_Body = {
|
|
|
14482
14493
|
/** Rules for conditional inclusion */
|
|
14483
14494
|
rules?: {
|
|
14484
14495
|
operator: 'AND' | 'OR';
|
|
14485
|
-
conditions:
|
|
14496
|
+
conditions: InputShared_Type_35[];
|
|
14486
14497
|
} | undefined;
|
|
14487
14498
|
/** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
|
|
14488
14499
|
requestContextSchema?: {
|
|
@@ -14524,7 +14535,7 @@ export type PatchStoredPromptBlocksStoredPromptBlockId_Body = {
|
|
|
14524
14535
|
/** Rules for conditional inclusion */
|
|
14525
14536
|
rules?: ({
|
|
14526
14537
|
operator: 'AND' | 'OR';
|
|
14527
|
-
conditions:
|
|
14538
|
+
conditions: InputShared_Type_35[];
|
|
14528
14539
|
} | undefined) | undefined;
|
|
14529
14540
|
/** JSON Schema defining available variables for {{variableName}} interpolation and conditions */
|
|
14530
14541
|
requestContextSchema?: ({
|
|
@@ -14905,13 +14916,13 @@ export type PostStoredScorers_Body = {
|
|
|
14905
14916
|
/** Description of the scorer */
|
|
14906
14917
|
description?: string | undefined;
|
|
14907
14918
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
14908
|
-
type:
|
|
14919
|
+
type: InputShared_Type_94;
|
|
14909
14920
|
/** Model configuration for LLM judge */
|
|
14910
|
-
model?:
|
|
14921
|
+
model?: InputShared_Type_37 | undefined;
|
|
14911
14922
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
14912
14923
|
instructions?: string | undefined;
|
|
14913
14924
|
/** Score range configuration (used when type is llm-judge) */
|
|
14914
|
-
scoreRange?:
|
|
14925
|
+
scoreRange?: InputShared_Type_95;
|
|
14915
14926
|
/** Serializable config options for preset scorers */
|
|
14916
14927
|
presetConfig?: {
|
|
14917
14928
|
[key: string]: unknown;
|
|
@@ -14955,13 +14966,13 @@ export type PatchStoredScorersStoredScorerId_Body = {
|
|
|
14955
14966
|
/** Description of the scorer */
|
|
14956
14967
|
description?: (string | undefined) | undefined;
|
|
14957
14968
|
/** Scorer type: llm-judge for custom, or a preset type name */
|
|
14958
|
-
type?:
|
|
14969
|
+
type?: InputShared_Type_94 | undefined;
|
|
14959
14970
|
/** Model configuration for LLM judge */
|
|
14960
|
-
model?: (
|
|
14971
|
+
model?: (InputShared_Type_37 | undefined) | undefined;
|
|
14961
14972
|
/** System instructions for the judge LLM (used when type is llm-judge) */
|
|
14962
14973
|
instructions?: (string | undefined) | undefined;
|
|
14963
14974
|
/** Score range configuration (used when type is llm-judge) */
|
|
14964
|
-
scoreRange?:
|
|
14975
|
+
scoreRange?: InputShared_Type_95 | undefined;
|
|
14965
14976
|
/** Serializable config options for preset scorers */
|
|
14966
14977
|
presetConfig?: ({
|
|
14967
14978
|
[key: string]: unknown;
|
|
@@ -15402,17 +15413,17 @@ export type PostStoredWorkspaces_Body = {
|
|
|
15402
15413
|
/** Description of the workspace */
|
|
15403
15414
|
description?: string | undefined;
|
|
15404
15415
|
/** Filesystem configuration */
|
|
15405
|
-
filesystem?:
|
|
15416
|
+
filesystem?: InputShared_Type_69;
|
|
15406
15417
|
/** Sandbox configuration */
|
|
15407
|
-
sandbox?:
|
|
15418
|
+
sandbox?: InputShared_Type_70;
|
|
15408
15419
|
/** Mounted filesystems keyed by mount path */
|
|
15409
|
-
mounts?:
|
|
15420
|
+
mounts?: InputShared_Type_71 | undefined;
|
|
15410
15421
|
/** Search configuration */
|
|
15411
|
-
search?:
|
|
15422
|
+
search?: InputShared_Type_72 | undefined;
|
|
15412
15423
|
/** Array of skill IDs */
|
|
15413
15424
|
skills?: string[] | undefined;
|
|
15414
15425
|
/** Workspace tool configuration */
|
|
15415
|
-
tools?:
|
|
15426
|
+
tools?: InputShared_Type_74 | undefined;
|
|
15416
15427
|
/** Whether to automatically sync the workspace */
|
|
15417
15428
|
autoSync?: boolean | undefined;
|
|
15418
15429
|
/** Operation timeout in milliseconds */
|
|
@@ -15448,17 +15459,17 @@ export type PatchStoredWorkspacesStoredWorkspaceId_Body = {
|
|
|
15448
15459
|
/** Description of the workspace */
|
|
15449
15460
|
description?: (string | undefined) | undefined;
|
|
15450
15461
|
/** Filesystem configuration */
|
|
15451
|
-
filesystem?:
|
|
15462
|
+
filesystem?: InputShared_Type_69 | undefined;
|
|
15452
15463
|
/** Sandbox configuration */
|
|
15453
|
-
sandbox?:
|
|
15464
|
+
sandbox?: InputShared_Type_70 | undefined;
|
|
15454
15465
|
/** Mounted filesystems keyed by mount path */
|
|
15455
|
-
mounts?: (
|
|
15466
|
+
mounts?: (InputShared_Type_71 | undefined) | undefined;
|
|
15456
15467
|
/** Search configuration */
|
|
15457
|
-
search?: (
|
|
15468
|
+
search?: (InputShared_Type_72 | undefined) | undefined;
|
|
15458
15469
|
/** Array of skill IDs */
|
|
15459
15470
|
skills?: (string[] | undefined) | undefined;
|
|
15460
15471
|
/** Workspace tool configuration */
|
|
15461
|
-
tools?: (
|
|
15472
|
+
tools?: (InputShared_Type_74 | undefined) | undefined;
|
|
15462
15473
|
/** Whether to automatically sync the workspace */
|
|
15463
15474
|
autoSync?: (boolean | undefined) | undefined;
|
|
15464
15475
|
/** Operation timeout in milliseconds */
|
|
@@ -15605,7 +15616,7 @@ export type PostStoredSkills_Body = {
|
|
|
15605
15616
|
/** Compatibility requirements */
|
|
15606
15617
|
compatibility?: unknown | undefined;
|
|
15607
15618
|
/** Source location of the skill */
|
|
15608
|
-
source?:
|
|
15619
|
+
source?: InputShared_Type_96 | undefined;
|
|
15609
15620
|
/** List of reference file paths */
|
|
15610
15621
|
references?: string[] | undefined;
|
|
15611
15622
|
/** List of script file paths */
|
|
@@ -15613,7 +15624,7 @@ export type PostStoredSkills_Body = {
|
|
|
15613
15624
|
/** List of asset file paths */
|
|
15614
15625
|
assets?: string[] | undefined;
|
|
15615
15626
|
/** Full file tree structure for the skill */
|
|
15616
|
-
files?:
|
|
15627
|
+
files?: InputShared_Auxiliary_814[] | undefined;
|
|
15617
15628
|
/** Additional metadata for the skill */
|
|
15618
15629
|
metadata?: {
|
|
15619
15630
|
[key: string]: unknown;
|
|
@@ -15655,7 +15666,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
15655
15666
|
/** Compatibility requirements */
|
|
15656
15667
|
compatibility?: (unknown | undefined) | undefined;
|
|
15657
15668
|
/** Source location of the skill */
|
|
15658
|
-
source?: (
|
|
15669
|
+
source?: (InputShared_Type_96 | undefined) | undefined;
|
|
15659
15670
|
/** List of reference file paths */
|
|
15660
15671
|
references?: (string[] | undefined) | undefined;
|
|
15661
15672
|
/** List of script file paths */
|
|
@@ -15663,7 +15674,7 @@ export type PatchStoredSkillsStoredSkillId_Body = {
|
|
|
15663
15674
|
/** List of asset file paths */
|
|
15664
15675
|
assets?: (string[] | undefined) | undefined;
|
|
15665
15676
|
/** Full file tree structure for the skill */
|
|
15666
|
-
files?: (
|
|
15677
|
+
files?: (InputShared_Auxiliary_814[] | undefined) | undefined;
|
|
15667
15678
|
/** Additional metadata for the skill */
|
|
15668
15679
|
metadata?: ({
|
|
15669
15680
|
[key: string]: unknown;
|
|
@@ -16625,9 +16636,9 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
16625
16636
|
/** Expected output for comparison */
|
|
16626
16637
|
groundTruth?: unknown | undefined;
|
|
16627
16638
|
/** Expected trajectory configuration for trajectory scoring */
|
|
16628
|
-
expectedTrajectory?: (
|
|
16639
|
+
expectedTrajectory?: (InputShared_Type_111 | undefined) | null;
|
|
16629
16640
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
16630
|
-
toolMocks?:
|
|
16641
|
+
toolMocks?: InputShared_Type_112[] | undefined;
|
|
16631
16642
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
16632
16643
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
16633
16644
|
/** IDs of scorers selected for this item */
|
|
@@ -16641,7 +16652,7 @@ export type PostDatasetsDatasetIdItems_Body = {
|
|
|
16641
16652
|
[key: string]: unknown;
|
|
16642
16653
|
} | undefined;
|
|
16643
16654
|
/** Source/provenance of this dataset item */
|
|
16644
|
-
source?:
|
|
16655
|
+
source?: InputShared_Type_113 | undefined;
|
|
16645
16656
|
};
|
|
16646
16657
|
export type PostDatasetsDatasetIdItems_Response = Shared_Type_92;
|
|
16647
16658
|
export type PostDatasetsDatasetIdItems_Request = Simplify<(PostDatasetsDatasetIdItems_PathParams extends never ? {} : {
|
|
@@ -16670,9 +16681,9 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
16670
16681
|
input: unknown;
|
|
16671
16682
|
groundTruth?: unknown | undefined;
|
|
16672
16683
|
/** Expected trajectory configuration for trajectory scoring */
|
|
16673
|
-
expectedTrajectory?: (
|
|
16684
|
+
expectedTrajectory?: (InputShared_Type_111 | undefined) | null;
|
|
16674
16685
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
16675
|
-
toolMocks?:
|
|
16686
|
+
toolMocks?: InputShared_Type_112[] | undefined;
|
|
16676
16687
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
16677
16688
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
16678
16689
|
scorerIds?: string[] | undefined;
|
|
@@ -16683,7 +16694,7 @@ export type PostDatasetsDatasetIdItemsBatch_Body = {
|
|
|
16683
16694
|
[key: string]: unknown;
|
|
16684
16695
|
} | undefined;
|
|
16685
16696
|
/** Source/provenance of this dataset item */
|
|
16686
|
-
source?:
|
|
16697
|
+
source?: InputShared_Type_113 | undefined;
|
|
16687
16698
|
}[];
|
|
16688
16699
|
};
|
|
16689
16700
|
export type PostDatasetsDatasetIdItemsBatch_Response = {
|
|
@@ -16769,9 +16780,9 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
16769
16780
|
/** Expected output for comparison */
|
|
16770
16781
|
groundTruth?: unknown | undefined;
|
|
16771
16782
|
/** Expected trajectory configuration for trajectory scoring */
|
|
16772
|
-
expectedTrajectory?: (
|
|
16783
|
+
expectedTrajectory?: (InputShared_Type_111 | undefined) | null;
|
|
16773
16784
|
/** Ordered item-level static tool mocks served in place of executing the real tool */
|
|
16774
|
-
toolMocks?:
|
|
16785
|
+
toolMocks?: InputShared_Type_112[] | undefined;
|
|
16775
16786
|
/** Policy for undeclared tool calls. 'allow' runs them live; 'deny' fails the experiment item */
|
|
16776
16787
|
unmockedToolPolicy?: ('allow' | 'deny') | undefined;
|
|
16777
16788
|
/** IDs of scorers selected for this item */
|
|
@@ -16785,7 +16796,7 @@ export type PatchDatasetsDatasetIdItemsItemId_Body = {
|
|
|
16785
16796
|
[key: string]: unknown;
|
|
16786
16797
|
} | undefined;
|
|
16787
16798
|
/** Source/provenance of this dataset item */
|
|
16788
|
-
source?:
|
|
16799
|
+
source?: InputShared_Type_113 | undefined;
|
|
16789
16800
|
};
|
|
16790
16801
|
export type PatchDatasetsDatasetIdItemsItemId_Response = PostDatasetsDatasetIdItems_Response;
|
|
16791
16802
|
export type PatchDatasetsDatasetIdItemsItemId_Request = Simplify<(PatchDatasetsDatasetIdItemsItemId_PathParams extends never ? {} : {
|
|
@@ -18535,8 +18546,8 @@ export type PostSchedules_Body = {
|
|
|
18535
18546
|
attributes?: {
|
|
18536
18547
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
18537
18548
|
} | undefined;
|
|
18538
|
-
ifActive?:
|
|
18539
|
-
ifIdle?:
|
|
18549
|
+
ifActive?: InputShared_Type_114 | undefined;
|
|
18550
|
+
ifIdle?: InputShared_Type_115 | undefined;
|
|
18540
18551
|
providerOptions?: {
|
|
18541
18552
|
[key: string]: unknown;
|
|
18542
18553
|
} | undefined;
|
|
@@ -18597,8 +18608,8 @@ export type PatchSchedulesScheduleId_Body = {
|
|
|
18597
18608
|
attributes?: {
|
|
18598
18609
|
[key: string]: (string | number | boolean | null) | undefined;
|
|
18599
18610
|
} | undefined;
|
|
18600
|
-
ifActive?:
|
|
18601
|
-
ifIdle?:
|
|
18611
|
+
ifActive?: InputShared_Type_114 | undefined;
|
|
18612
|
+
ifIdle?: InputShared_Type_115 | undefined;
|
|
18602
18613
|
providerOptions?: {
|
|
18603
18614
|
[key: string]: unknown;
|
|
18604
18615
|
} | undefined;
|