@runtypelabs/sdk 6.3.6 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +156 -24
- package/dist/index.d.cts +1545 -121
- package/dist/index.d.ts +1545 -121
- package/dist/index.mjs +156 -24
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -734,6 +734,10 @@ interface paths {
|
|
|
734
734
|
persistence?: "ephemeral" | "conversation" | "named";
|
|
735
735
|
/** @enum {string} */
|
|
736
736
|
provider?: "runtype-sandbox" | "daytona";
|
|
737
|
+
secretEnv?: {
|
|
738
|
+
[key: string]: string;
|
|
739
|
+
};
|
|
740
|
+
setupCommands?: string[];
|
|
737
741
|
/** @enum {string} */
|
|
738
742
|
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
739
743
|
/** @enum {string} */
|
|
@@ -1147,6 +1151,10 @@ interface paths {
|
|
|
1147
1151
|
persistence?: "ephemeral" | "conversation" | "named";
|
|
1148
1152
|
/** @enum {string} */
|
|
1149
1153
|
provider?: "runtype-sandbox" | "daytona";
|
|
1154
|
+
secretEnv?: {
|
|
1155
|
+
[key: string]: string;
|
|
1156
|
+
};
|
|
1157
|
+
setupCommands?: string[];
|
|
1150
1158
|
/** @enum {string} */
|
|
1151
1159
|
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
1152
1160
|
/** @enum {string} */
|
|
@@ -1832,6 +1840,10 @@ interface paths {
|
|
|
1832
1840
|
persistence?: "ephemeral" | "conversation" | "named";
|
|
1833
1841
|
/** @enum {string} */
|
|
1834
1842
|
provider?: "runtype-sandbox" | "daytona";
|
|
1843
|
+
secretEnv?: {
|
|
1844
|
+
[key: string]: string;
|
|
1845
|
+
};
|
|
1846
|
+
setupCommands?: string[];
|
|
1835
1847
|
/** @enum {string} */
|
|
1836
1848
|
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
1837
1849
|
/** @enum {string} */
|
|
@@ -2220,9 +2232,7 @@ interface paths {
|
|
|
2220
2232
|
};
|
|
2221
2233
|
requestBody?: {
|
|
2222
2234
|
content: {
|
|
2223
|
-
"application/json":
|
|
2224
|
-
[key: string]: unknown;
|
|
2225
|
-
};
|
|
2235
|
+
"application/json": components["schemas"]["AgentApproveRequest"];
|
|
2226
2236
|
};
|
|
2227
2237
|
};
|
|
2228
2238
|
responses: {
|
|
@@ -2232,6 +2242,7 @@ interface paths {
|
|
|
2232
2242
|
[name: string]: unknown;
|
|
2233
2243
|
};
|
|
2234
2244
|
content: {
|
|
2245
|
+
"application/json": components["schemas"]["AgentApproveContinuationJsonResponse"];
|
|
2235
2246
|
"text/event-stream": unknown;
|
|
2236
2247
|
};
|
|
2237
2248
|
};
|
|
@@ -2253,6 +2264,15 @@ interface paths {
|
|
|
2253
2264
|
"application/json": components["schemas"]["Error"];
|
|
2254
2265
|
};
|
|
2255
2266
|
};
|
|
2267
|
+
/** @description Platform-key spend limit exceeded during a buffered continuation */
|
|
2268
|
+
402: {
|
|
2269
|
+
headers: {
|
|
2270
|
+
[name: string]: unknown;
|
|
2271
|
+
};
|
|
2272
|
+
content: {
|
|
2273
|
+
"application/json": components["schemas"]["AgentApprovalContinuationJsonResponse"];
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2256
2276
|
/** @description Insufficient permissions */
|
|
2257
2277
|
403: {
|
|
2258
2278
|
headers: {
|
|
@@ -3714,9 +3734,7 @@ interface paths {
|
|
|
3714
3734
|
};
|
|
3715
3735
|
requestBody?: {
|
|
3716
3736
|
content: {
|
|
3717
|
-
"application/json":
|
|
3718
|
-
[key: string]: unknown;
|
|
3719
|
-
};
|
|
3737
|
+
"application/json": components["schemas"]["AgentResumeRequest"];
|
|
3720
3738
|
};
|
|
3721
3739
|
};
|
|
3722
3740
|
responses: {
|
|
@@ -3726,6 +3744,7 @@ interface paths {
|
|
|
3726
3744
|
[name: string]: unknown;
|
|
3727
3745
|
};
|
|
3728
3746
|
content: {
|
|
3747
|
+
"application/json": components["schemas"]["AgentResumeContinuationJsonResponse"];
|
|
3729
3748
|
"text/event-stream": unknown;
|
|
3730
3749
|
};
|
|
3731
3750
|
};
|
|
@@ -3747,6 +3766,15 @@ interface paths {
|
|
|
3747
3766
|
"application/json": components["schemas"]["Error"];
|
|
3748
3767
|
};
|
|
3749
3768
|
};
|
|
3769
|
+
/** @description Platform-key spend limit exceeded during a buffered continuation */
|
|
3770
|
+
402: {
|
|
3771
|
+
headers: {
|
|
3772
|
+
[name: string]: unknown;
|
|
3773
|
+
};
|
|
3774
|
+
content: {
|
|
3775
|
+
"application/json": components["schemas"]["AgentResumeContinuationJsonResponse"];
|
|
3776
|
+
};
|
|
3777
|
+
};
|
|
3750
3778
|
/** @description Insufficient permissions */
|
|
3751
3779
|
403: {
|
|
3752
3780
|
headers: {
|
|
@@ -4064,6 +4092,146 @@ interface paths {
|
|
|
4064
4092
|
patch?: never;
|
|
4065
4093
|
trace?: never;
|
|
4066
4094
|
};
|
|
4095
|
+
"/v1/analytics/end-user-usage": {
|
|
4096
|
+
parameters: {
|
|
4097
|
+
query?: never;
|
|
4098
|
+
header?: never;
|
|
4099
|
+
path?: never;
|
|
4100
|
+
cookie?: never;
|
|
4101
|
+
};
|
|
4102
|
+
/**
|
|
4103
|
+
* Get product usage by end user
|
|
4104
|
+
* @description Get a retained, product-scoped breakdown of executions and platform spend by projected end user.
|
|
4105
|
+
*/
|
|
4106
|
+
get: {
|
|
4107
|
+
parameters: {
|
|
4108
|
+
query: {
|
|
4109
|
+
productId: string;
|
|
4110
|
+
productTenantId?: string;
|
|
4111
|
+
period?: "billing_period" | "7d" | "30d" | "90d";
|
|
4112
|
+
days?: number;
|
|
4113
|
+
sort?: "spend" | "executions";
|
|
4114
|
+
limit?: number;
|
|
4115
|
+
};
|
|
4116
|
+
header?: never;
|
|
4117
|
+
path?: never;
|
|
4118
|
+
cookie?: never;
|
|
4119
|
+
};
|
|
4120
|
+
requestBody?: never;
|
|
4121
|
+
responses: {
|
|
4122
|
+
/** @description End-user usage breakdown */
|
|
4123
|
+
200: {
|
|
4124
|
+
headers: {
|
|
4125
|
+
[name: string]: unknown;
|
|
4126
|
+
};
|
|
4127
|
+
content: {
|
|
4128
|
+
"application/json": {
|
|
4129
|
+
coverage: {
|
|
4130
|
+
attributedExecutions: number;
|
|
4131
|
+
attributedSpendThousandthsCent: number;
|
|
4132
|
+
unattributedExecutions: number;
|
|
4133
|
+
unattributedSpendThousandthsCent: number;
|
|
4134
|
+
};
|
|
4135
|
+
endUsers: {
|
|
4136
|
+
costPerExecutionDollars: number | null;
|
|
4137
|
+
endUser: {
|
|
4138
|
+
email: string | null;
|
|
4139
|
+
id: string;
|
|
4140
|
+
name: string | null;
|
|
4141
|
+
productTenantId: string | null;
|
|
4142
|
+
};
|
|
4143
|
+
executions: number;
|
|
4144
|
+
lastSeenAt: string;
|
|
4145
|
+
spendDollars: number;
|
|
4146
|
+
spendThousandthsCent: number;
|
|
4147
|
+
}[];
|
|
4148
|
+
generatedAt: string;
|
|
4149
|
+
period: {
|
|
4150
|
+
days: number;
|
|
4151
|
+
endDate: string;
|
|
4152
|
+
/** @enum {string} */
|
|
4153
|
+
preset?: "billing_period" | "7d" | "30d" | "90d";
|
|
4154
|
+
startDate: string;
|
|
4155
|
+
};
|
|
4156
|
+
retention: {
|
|
4157
|
+
attributionStartedAt: string | null;
|
|
4158
|
+
earliestAvailableAt: string | null;
|
|
4159
|
+
/** @enum {number} */
|
|
4160
|
+
retentionDays: 93;
|
|
4161
|
+
};
|
|
4162
|
+
scope: {
|
|
4163
|
+
productId: string;
|
|
4164
|
+
productTenantId: string | null;
|
|
4165
|
+
};
|
|
4166
|
+
tenantIds: string[];
|
|
4167
|
+
totals: {
|
|
4168
|
+
executions: number;
|
|
4169
|
+
spendDollars: number;
|
|
4170
|
+
spendThousandthsCent: number;
|
|
4171
|
+
};
|
|
4172
|
+
unattributed: {
|
|
4173
|
+
executions: number;
|
|
4174
|
+
spendDollars: number;
|
|
4175
|
+
spendThousandthsCent: number;
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
/** @description Validation error */
|
|
4181
|
+
400: {
|
|
4182
|
+
headers: {
|
|
4183
|
+
[name: string]: unknown;
|
|
4184
|
+
};
|
|
4185
|
+
content: {
|
|
4186
|
+
"application/json": components["schemas"]["Error"];
|
|
4187
|
+
};
|
|
4188
|
+
};
|
|
4189
|
+
/** @description Unauthorized */
|
|
4190
|
+
401: {
|
|
4191
|
+
headers: {
|
|
4192
|
+
[name: string]: unknown;
|
|
4193
|
+
};
|
|
4194
|
+
content: {
|
|
4195
|
+
"application/json": components["schemas"]["Error"];
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
/** @description Insufficient permissions */
|
|
4199
|
+
403: {
|
|
4200
|
+
headers: {
|
|
4201
|
+
[name: string]: unknown;
|
|
4202
|
+
};
|
|
4203
|
+
content: {
|
|
4204
|
+
"application/json": components["schemas"]["Error"];
|
|
4205
|
+
};
|
|
4206
|
+
};
|
|
4207
|
+
/** @description Feature or product not found */
|
|
4208
|
+
404: {
|
|
4209
|
+
headers: {
|
|
4210
|
+
[name: string]: unknown;
|
|
4211
|
+
};
|
|
4212
|
+
content: {
|
|
4213
|
+
"application/json": components["schemas"]["Error"];
|
|
4214
|
+
};
|
|
4215
|
+
};
|
|
4216
|
+
/** @description Internal server error */
|
|
4217
|
+
500: {
|
|
4218
|
+
headers: {
|
|
4219
|
+
[name: string]: unknown;
|
|
4220
|
+
};
|
|
4221
|
+
content: {
|
|
4222
|
+
"application/json": components["schemas"]["Error"];
|
|
4223
|
+
};
|
|
4224
|
+
};
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4227
|
+
put?: never;
|
|
4228
|
+
post?: never;
|
|
4229
|
+
delete?: never;
|
|
4230
|
+
options?: never;
|
|
4231
|
+
head?: never;
|
|
4232
|
+
patch?: never;
|
|
4233
|
+
trace?: never;
|
|
4234
|
+
};
|
|
4067
4235
|
"/v1/analytics/record-results": {
|
|
4068
4236
|
parameters: {
|
|
4069
4237
|
query?: never;
|
|
@@ -4950,6 +5118,29 @@ interface paths {
|
|
|
4950
5118
|
requestBody?: {
|
|
4951
5119
|
content: {
|
|
4952
5120
|
"application/json": {
|
|
5121
|
+
options?: {
|
|
5122
|
+
/** @description Records admitted to one processing chunk before progress is flushed and batch gates are re-checked. */
|
|
5123
|
+
chunkSize?: number;
|
|
5124
|
+
/** @description Flow-wide deadline passed to every per-record flow execution. */
|
|
5125
|
+
flowTimeoutMs?: number;
|
|
5126
|
+
/** @description Retries per failed record. */
|
|
5127
|
+
maxRetries?: number;
|
|
5128
|
+
/** @description Model id applied to every prompt step in this batch. */
|
|
5129
|
+
modelOverride?: string;
|
|
5130
|
+
/** @description Completed results buffered before partial progress is persisted. */
|
|
5131
|
+
progressFlushSize?: number;
|
|
5132
|
+
/** @description Max records dispatched in parallel within a processing chunk. */
|
|
5133
|
+
recordConcurrency?: number;
|
|
5134
|
+
/** @description Skip the serial prompt-cache canary before fan-out. */
|
|
5135
|
+
skipCacheWarm?: boolean;
|
|
5136
|
+
/** @description Per-step deadline passed to every per-record flow execution. */
|
|
5137
|
+
stepTimeoutMs?: number;
|
|
5138
|
+
/** @description Per-record execution timeout in milliseconds. */
|
|
5139
|
+
timeoutMs?: number;
|
|
5140
|
+
} & {
|
|
5141
|
+
[key: string]: unknown;
|
|
5142
|
+
};
|
|
5143
|
+
} & {
|
|
4953
5144
|
[key: string]: unknown;
|
|
4954
5145
|
};
|
|
4955
5146
|
};
|
|
@@ -6487,7 +6678,7 @@ interface paths {
|
|
|
6487
6678
|
untrustedContentHint?: boolean;
|
|
6488
6679
|
}[];
|
|
6489
6680
|
clientToolsFingerprint?: string;
|
|
6490
|
-
/** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers).
|
|
6681
|
+
/** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
|
|
6491
6682
|
identityProof?: {
|
|
6492
6683
|
provider: string;
|
|
6493
6684
|
token: string;
|
|
@@ -6918,12 +7109,13 @@ interface paths {
|
|
|
6918
7109
|
};
|
|
6919
7110
|
};
|
|
6920
7111
|
responses: {
|
|
6921
|
-
/** @description SSE stream of
|
|
7112
|
+
/** @description SSE stream of resumed execution events, or a buffered JSON continuation result when streamResponse is false */
|
|
6922
7113
|
200: {
|
|
6923
7114
|
headers: {
|
|
6924
7115
|
[name: string]: unknown;
|
|
6925
7116
|
};
|
|
6926
7117
|
content: {
|
|
7118
|
+
"application/json": components["schemas"]["DispatchToolOutputContinuationJsonResponse"];
|
|
6927
7119
|
"text/event-stream": unknown;
|
|
6928
7120
|
};
|
|
6929
7121
|
};
|
|
@@ -6981,6 +7173,15 @@ interface paths {
|
|
|
6981
7173
|
"application/json": components["schemas"]["Error"];
|
|
6982
7174
|
};
|
|
6983
7175
|
};
|
|
7176
|
+
/** @description Neutral service-unavailable response when the owner platform-key spend limit blocks an end-user continuation */
|
|
7177
|
+
503: {
|
|
7178
|
+
headers: {
|
|
7179
|
+
[name: string]: unknown;
|
|
7180
|
+
};
|
|
7181
|
+
content: {
|
|
7182
|
+
"application/json": components["schemas"]["Error"];
|
|
7183
|
+
};
|
|
7184
|
+
};
|
|
6984
7185
|
};
|
|
6985
7186
|
};
|
|
6986
7187
|
delete?: never;
|
|
@@ -9656,7 +9857,727 @@ interface paths {
|
|
|
9656
9857
|
requestBody?: {
|
|
9657
9858
|
content: {
|
|
9658
9859
|
"application/json": {
|
|
9659
|
-
|
|
9860
|
+
agent?: {
|
|
9861
|
+
advisor?: {
|
|
9862
|
+
model: string;
|
|
9863
|
+
systemPrompt?: string;
|
|
9864
|
+
} | null;
|
|
9865
|
+
agentId?: string;
|
|
9866
|
+
/** @enum {string} */
|
|
9867
|
+
agentType?: "runtype" | "claude_managed";
|
|
9868
|
+
artifacts?: {
|
|
9869
|
+
/** @enum {boolean} */
|
|
9870
|
+
enabled: true;
|
|
9871
|
+
types: ("markdown" | "component")[];
|
|
9872
|
+
};
|
|
9873
|
+
claudeManagedConfig?: {
|
|
9874
|
+
anthropicAgentId?: string;
|
|
9875
|
+
anthropicAgentVersion?: number;
|
|
9876
|
+
anthropicEnvironmentId?: string;
|
|
9877
|
+
autoDelete?: boolean;
|
|
9878
|
+
model?: string;
|
|
9879
|
+
/** @enum {string} */
|
|
9880
|
+
setupMode?: "create" | "connect";
|
|
9881
|
+
systemPrompt?: string;
|
|
9882
|
+
};
|
|
9883
|
+
errorHandling?: {
|
|
9884
|
+
fallbacks?: ({
|
|
9885
|
+
delay?: number;
|
|
9886
|
+
/** @enum {string} */
|
|
9887
|
+
type: "retry";
|
|
9888
|
+
} | {
|
|
9889
|
+
delay?: number;
|
|
9890
|
+
maxTokens?: number;
|
|
9891
|
+
model: string;
|
|
9892
|
+
temperature?: number;
|
|
9893
|
+
/** @enum {string} */
|
|
9894
|
+
type: "model";
|
|
9895
|
+
} | {
|
|
9896
|
+
delay?: number;
|
|
9897
|
+
message: string;
|
|
9898
|
+
/** @enum {string} */
|
|
9899
|
+
type: "message";
|
|
9900
|
+
})[];
|
|
9901
|
+
/** @enum {string} */
|
|
9902
|
+
onError: "fail" | "continue" | "fallback";
|
|
9903
|
+
triggers?: {
|
|
9904
|
+
/** @enum {string} */
|
|
9905
|
+
type: "error" | "empty-output";
|
|
9906
|
+
}[];
|
|
9907
|
+
};
|
|
9908
|
+
frequencyPenalty?: number;
|
|
9909
|
+
/** @enum {string} */
|
|
9910
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
9911
|
+
loopConfig?: {
|
|
9912
|
+
enableReflection?: boolean;
|
|
9913
|
+
maxCost?: number;
|
|
9914
|
+
maxTurns?: number;
|
|
9915
|
+
reflectionInterval?: number;
|
|
9916
|
+
};
|
|
9917
|
+
maxTokens?: number;
|
|
9918
|
+
memory?: {
|
|
9919
|
+
enabled: boolean;
|
|
9920
|
+
injectSummary?: boolean;
|
|
9921
|
+
profileTemplate?: string;
|
|
9922
|
+
};
|
|
9923
|
+
model?: string;
|
|
9924
|
+
name?: string;
|
|
9925
|
+
/** @enum {string} */
|
|
9926
|
+
piiRedaction?: "default" | "off" | "redact";
|
|
9927
|
+
presencePenalty?: number;
|
|
9928
|
+
reasoning?: boolean | {
|
|
9929
|
+
budgetTokens?: number;
|
|
9930
|
+
enabled: boolean;
|
|
9931
|
+
includeThoughts?: boolean;
|
|
9932
|
+
/** @enum {string} */
|
|
9933
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
9934
|
+
/** @enum {string} */
|
|
9935
|
+
reasoningSummary?: "auto" | "detailed";
|
|
9936
|
+
thinkingBudget?: number;
|
|
9937
|
+
};
|
|
9938
|
+
sandbox?: {
|
|
9939
|
+
enabled: boolean;
|
|
9940
|
+
/** @enum {string} */
|
|
9941
|
+
instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
|
|
9942
|
+
networkAccess?: ("none" | "essentials" | "open") | {
|
|
9943
|
+
allow?: string[];
|
|
9944
|
+
/** @enum {string} */
|
|
9945
|
+
profile?: "none" | "essentials" | "open";
|
|
9946
|
+
};
|
|
9947
|
+
/** @enum {string} */
|
|
9948
|
+
persistence?: "ephemeral" | "conversation" | "named";
|
|
9949
|
+
/** @enum {string} */
|
|
9950
|
+
provider?: "runtype-sandbox" | "daytona";
|
|
9951
|
+
secretEnv?: {
|
|
9952
|
+
[key: string]: string;
|
|
9953
|
+
};
|
|
9954
|
+
setupCommands?: string[];
|
|
9955
|
+
/** @enum {string} */
|
|
9956
|
+
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
9957
|
+
/** @enum {string} */
|
|
9958
|
+
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
9959
|
+
};
|
|
9960
|
+
seed?: number;
|
|
9961
|
+
systemPrompt?: string;
|
|
9962
|
+
temperature?: number;
|
|
9963
|
+
temporal?: {
|
|
9964
|
+
elapsedThresholdSeconds?: number;
|
|
9965
|
+
groundNow?: boolean;
|
|
9966
|
+
injectElapsed?: boolean;
|
|
9967
|
+
timezone?: string;
|
|
9968
|
+
};
|
|
9969
|
+
tenancyStrategy?: {
|
|
9970
|
+
assuranceFloor?: {
|
|
9971
|
+
/** @enum {string} */
|
|
9972
|
+
endUser?: "asserted" | "verified";
|
|
9973
|
+
/** @enum {string} */
|
|
9974
|
+
tenant?: "asserted" | "verified";
|
|
9975
|
+
};
|
|
9976
|
+
/** @enum {string} */
|
|
9977
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
9978
|
+
};
|
|
9979
|
+
tools?: {
|
|
9980
|
+
approval?: {
|
|
9981
|
+
choices?: {
|
|
9982
|
+
alwaysAllow?: boolean;
|
|
9983
|
+
alwaysDeny?: boolean;
|
|
9984
|
+
};
|
|
9985
|
+
requestReason?: boolean;
|
|
9986
|
+
require: string[] | boolean;
|
|
9987
|
+
timeout?: number;
|
|
9988
|
+
};
|
|
9989
|
+
codeModeConfig?: {
|
|
9990
|
+
description?: string;
|
|
9991
|
+
timeoutMs?: number;
|
|
9992
|
+
toolPool: string[];
|
|
9993
|
+
};
|
|
9994
|
+
maxToolCalls?: number;
|
|
9995
|
+
mcpServers?: unknown[];
|
|
9996
|
+
perToolLimits?: {
|
|
9997
|
+
[key: string]: {
|
|
9998
|
+
maxCalls?: number;
|
|
9999
|
+
required?: boolean;
|
|
10000
|
+
};
|
|
10001
|
+
};
|
|
10002
|
+
runtimeTools?: unknown[];
|
|
10003
|
+
subagentConfig?: {
|
|
10004
|
+
allowNesting?: boolean;
|
|
10005
|
+
/** @enum {string} */
|
|
10006
|
+
defaultExecutionMode?: "attached" | "detached";
|
|
10007
|
+
defaultMaxTurns?: number;
|
|
10008
|
+
defaultModel?: string;
|
|
10009
|
+
/** @enum {string} */
|
|
10010
|
+
defaultNotify?: "none" | "narrate" | "react";
|
|
10011
|
+
defaultTimeoutMs?: number;
|
|
10012
|
+
detachedMaxBudgetMs?: number;
|
|
10013
|
+
detachedNoProgressBudgetMs?: number;
|
|
10014
|
+
executionModes?: ("attached" | "detached")[];
|
|
10015
|
+
maxSpawnsPerRun?: number;
|
|
10016
|
+
maxTurnsLimit?: number;
|
|
10017
|
+
toolPool: string[];
|
|
10018
|
+
};
|
|
10019
|
+
/** @enum {string} */
|
|
10020
|
+
toolCallStrategy?: "auto" | "required" | "none";
|
|
10021
|
+
toolConfigs?: {
|
|
10022
|
+
[key: string]: {
|
|
10023
|
+
[key: string]: unknown;
|
|
10024
|
+
};
|
|
10025
|
+
};
|
|
10026
|
+
toolIds?: string[];
|
|
10027
|
+
toolSearch?: {
|
|
10028
|
+
alwaysLoaded?: string[];
|
|
10029
|
+
enabled?: boolean;
|
|
10030
|
+
threshold?: number;
|
|
10031
|
+
};
|
|
10032
|
+
};
|
|
10033
|
+
topK?: number;
|
|
10034
|
+
topP?: number;
|
|
10035
|
+
voice?: {
|
|
10036
|
+
elevenLabs?: {
|
|
10037
|
+
modelId?: string;
|
|
10038
|
+
similarity?: number;
|
|
10039
|
+
stability?: number;
|
|
10040
|
+
voiceId?: string;
|
|
10041
|
+
};
|
|
10042
|
+
enabled?: boolean;
|
|
10043
|
+
/** @enum {string} */
|
|
10044
|
+
interruptionMode?: "none" | "cancel" | "barge-in";
|
|
10045
|
+
provider?: string;
|
|
10046
|
+
};
|
|
10047
|
+
};
|
|
10048
|
+
clientTools?: {
|
|
10049
|
+
description: string;
|
|
10050
|
+
name: string;
|
|
10051
|
+
/** @enum {string} */
|
|
10052
|
+
origin?: "webmcp" | "sdk";
|
|
10053
|
+
pageOrigin?: string;
|
|
10054
|
+
parametersSchema: {
|
|
10055
|
+
/** @enum {string} */
|
|
10056
|
+
type: "object";
|
|
10057
|
+
} & {
|
|
10058
|
+
[key: string]: unknown;
|
|
10059
|
+
};
|
|
10060
|
+
untrustedContentHint?: boolean;
|
|
10061
|
+
}[];
|
|
10062
|
+
clientToolsPolicy?: {
|
|
10063
|
+
allowlist?: string[];
|
|
10064
|
+
};
|
|
10065
|
+
conversationId?: string;
|
|
10066
|
+
credentialProxies?: {
|
|
10067
|
+
envVarName?: string;
|
|
10068
|
+
hostnamePattern: string;
|
|
10069
|
+
/** @default {} */
|
|
10070
|
+
injectionConfig?: {
|
|
10071
|
+
[key: string]: unknown;
|
|
10072
|
+
};
|
|
10073
|
+
/** @enum {string} */
|
|
10074
|
+
injectionMode: "bearer_header" | "api_key_header" | "query_param" | "basic_auth";
|
|
10075
|
+
/** @default /* */
|
|
10076
|
+
pathPattern?: string;
|
|
10077
|
+
secretKey: string;
|
|
10078
|
+
}[];
|
|
10079
|
+
endUser?: {
|
|
10080
|
+
email?: string;
|
|
10081
|
+
id: string;
|
|
10082
|
+
} & {
|
|
10083
|
+
[key: string]: unknown;
|
|
10084
|
+
};
|
|
10085
|
+
flow: {
|
|
10086
|
+
contentHash?: string;
|
|
10087
|
+
description?: string;
|
|
10088
|
+
id?: string;
|
|
10089
|
+
name?: string;
|
|
10090
|
+
steps?: unknown[];
|
|
10091
|
+
};
|
|
10092
|
+
/** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
|
|
10093
|
+
identityProof?: {
|
|
10094
|
+
provider: string;
|
|
10095
|
+
token: string;
|
|
10096
|
+
};
|
|
10097
|
+
inputs?: {
|
|
10098
|
+
[key: string]: unknown;
|
|
10099
|
+
};
|
|
10100
|
+
messages?: {
|
|
10101
|
+
content: string | ({
|
|
10102
|
+
text: string;
|
|
10103
|
+
/** @enum {string} */
|
|
10104
|
+
type: "text";
|
|
10105
|
+
} | {
|
|
10106
|
+
image: string;
|
|
10107
|
+
mimeType?: string;
|
|
10108
|
+
/** @enum {string} */
|
|
10109
|
+
type: "image";
|
|
10110
|
+
} | {
|
|
10111
|
+
data: string;
|
|
10112
|
+
filename: string;
|
|
10113
|
+
mimeType: string;
|
|
10114
|
+
/** @enum {string} */
|
|
10115
|
+
type: "file";
|
|
10116
|
+
} | {
|
|
10117
|
+
providerOptions?: {
|
|
10118
|
+
[key: string]: unknown;
|
|
10119
|
+
};
|
|
10120
|
+
text: string;
|
|
10121
|
+
/** @enum {string} */
|
|
10122
|
+
type: "reasoning";
|
|
10123
|
+
})[];
|
|
10124
|
+
/** @enum {string} */
|
|
10125
|
+
role: "system" | "user" | "assistant";
|
|
10126
|
+
}[];
|
|
10127
|
+
/**
|
|
10128
|
+
* @default {
|
|
10129
|
+
* "autoAppendMetadata": false,
|
|
10130
|
+
* "createVersion": false,
|
|
10131
|
+
* "debugMode": false,
|
|
10132
|
+
* "environment": "development",
|
|
10133
|
+
* "flowMode": "existing",
|
|
10134
|
+
* "recordMode": "existing",
|
|
10135
|
+
* "storeResults": true,
|
|
10136
|
+
* "streamResponse": true
|
|
10137
|
+
* }
|
|
10138
|
+
*/
|
|
10139
|
+
options?: {
|
|
10140
|
+
/** @default false */
|
|
10141
|
+
autoAppendMetadata?: boolean;
|
|
10142
|
+
/** @description Set false to disable prompt caching for this request (no cache markers, no cache routing keys). Use for workloads where deterministic byte-identical requests must never share provider cache state, or to A/B against cached behavior. Default: caching follows the account rollout. */
|
|
10143
|
+
cache?: boolean;
|
|
10144
|
+
clientToolOutputs?: {
|
|
10145
|
+
[key: string]: unknown;
|
|
10146
|
+
};
|
|
10147
|
+
/** @default false */
|
|
10148
|
+
createVersion?: boolean;
|
|
10149
|
+
/** @default false */
|
|
10150
|
+
debugMode?: boolean;
|
|
10151
|
+
/**
|
|
10152
|
+
* @default development
|
|
10153
|
+
* @enum {string}
|
|
10154
|
+
*/
|
|
10155
|
+
environment?: "development" | "production";
|
|
10156
|
+
/**
|
|
10157
|
+
* @default existing
|
|
10158
|
+
* @enum {string}
|
|
10159
|
+
*/
|
|
10160
|
+
flowMode?: "existing" | "create" | "virtual" | "upsert";
|
|
10161
|
+
flowTimeoutMs?: number;
|
|
10162
|
+
flowVersionId?: string;
|
|
10163
|
+
localInference?: {
|
|
10164
|
+
/** @enum {string} */
|
|
10165
|
+
backend: "ollama";
|
|
10166
|
+
model: string;
|
|
10167
|
+
/** Format: uuid */
|
|
10168
|
+
sessionId: string;
|
|
10169
|
+
/** @enum {string} */
|
|
10170
|
+
surface?: "playground" | "flows" | "agents";
|
|
10171
|
+
};
|
|
10172
|
+
/** @enum {string} */
|
|
10173
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
10174
|
+
modelOverride?: string;
|
|
10175
|
+
/**
|
|
10176
|
+
* @default existing
|
|
10177
|
+
* @enum {string}
|
|
10178
|
+
*/
|
|
10179
|
+
recordMode?: "existing" | "create" | "virtual";
|
|
10180
|
+
resumeFrom?: {
|
|
10181
|
+
executionId: string;
|
|
10182
|
+
iteration?: number;
|
|
10183
|
+
};
|
|
10184
|
+
stepTimeoutMs?: number;
|
|
10185
|
+
/** @default true */
|
|
10186
|
+
storeResults?: boolean;
|
|
10187
|
+
/** @default true */
|
|
10188
|
+
streamResponse?: boolean;
|
|
10189
|
+
upsertOptions?: {
|
|
10190
|
+
/** @default false */
|
|
10191
|
+
allowOverwriteExternalChanges?: boolean;
|
|
10192
|
+
/** @default true */
|
|
10193
|
+
createVersionOnChange?: boolean;
|
|
10194
|
+
};
|
|
10195
|
+
/** @description For FLOW dispatches this compatibility field is accepted but ignored: eligible flows always use the @runtypelabs/runtime lane, while ineligible flows still fold to legacy silently. Agent dispatches still require an explicit `true` and remain subject to their separate runtime-agent rollout gate. */
|
|
10196
|
+
useRuntimePackage?: boolean;
|
|
10197
|
+
versionLabel?: string;
|
|
10198
|
+
versionNotes?: string;
|
|
10199
|
+
/** @enum {string} */
|
|
10200
|
+
versionType?: "published" | "draft" | "test" | "virtual";
|
|
10201
|
+
};
|
|
10202
|
+
record?: {
|
|
10203
|
+
id?: string;
|
|
10204
|
+
metadata?: {
|
|
10205
|
+
[key: string]: unknown;
|
|
10206
|
+
};
|
|
10207
|
+
name?: string;
|
|
10208
|
+
ownerId?: string;
|
|
10209
|
+
type?: string;
|
|
10210
|
+
};
|
|
10211
|
+
/** @description Per-request credentials for agent/external-tool execution. Ignored when `flow` is the hosted target; FLOW credentials must use managed {{secret:NAME}} references. */
|
|
10212
|
+
secrets?: {
|
|
10213
|
+
[key: string]: string;
|
|
10214
|
+
};
|
|
10215
|
+
tenant?: {
|
|
10216
|
+
id: string;
|
|
10217
|
+
} & {
|
|
10218
|
+
[key: string]: unknown;
|
|
10219
|
+
};
|
|
10220
|
+
} | {
|
|
10221
|
+
agent: {
|
|
10222
|
+
advisor?: {
|
|
10223
|
+
model: string;
|
|
10224
|
+
systemPrompt?: string;
|
|
10225
|
+
} | null;
|
|
10226
|
+
agentId?: string;
|
|
10227
|
+
/** @enum {string} */
|
|
10228
|
+
agentType?: "runtype" | "claude_managed";
|
|
10229
|
+
artifacts?: {
|
|
10230
|
+
/** @enum {boolean} */
|
|
10231
|
+
enabled: true;
|
|
10232
|
+
types: ("markdown" | "component")[];
|
|
10233
|
+
};
|
|
10234
|
+
claudeManagedConfig?: {
|
|
10235
|
+
anthropicAgentId?: string;
|
|
10236
|
+
anthropicAgentVersion?: number;
|
|
10237
|
+
anthropicEnvironmentId?: string;
|
|
10238
|
+
autoDelete?: boolean;
|
|
10239
|
+
model?: string;
|
|
10240
|
+
/** @enum {string} */
|
|
10241
|
+
setupMode?: "create" | "connect";
|
|
10242
|
+
systemPrompt?: string;
|
|
10243
|
+
};
|
|
10244
|
+
errorHandling?: {
|
|
10245
|
+
fallbacks?: ({
|
|
10246
|
+
delay?: number;
|
|
10247
|
+
/** @enum {string} */
|
|
10248
|
+
type: "retry";
|
|
10249
|
+
} | {
|
|
10250
|
+
delay?: number;
|
|
10251
|
+
maxTokens?: number;
|
|
10252
|
+
model: string;
|
|
10253
|
+
temperature?: number;
|
|
10254
|
+
/** @enum {string} */
|
|
10255
|
+
type: "model";
|
|
10256
|
+
} | {
|
|
10257
|
+
delay?: number;
|
|
10258
|
+
message: string;
|
|
10259
|
+
/** @enum {string} */
|
|
10260
|
+
type: "message";
|
|
10261
|
+
})[];
|
|
10262
|
+
/** @enum {string} */
|
|
10263
|
+
onError: "fail" | "continue" | "fallback";
|
|
10264
|
+
triggers?: {
|
|
10265
|
+
/** @enum {string} */
|
|
10266
|
+
type: "error" | "empty-output";
|
|
10267
|
+
}[];
|
|
10268
|
+
};
|
|
10269
|
+
frequencyPenalty?: number;
|
|
10270
|
+
/** @enum {string} */
|
|
10271
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
10272
|
+
loopConfig?: {
|
|
10273
|
+
enableReflection?: boolean;
|
|
10274
|
+
maxCost?: number;
|
|
10275
|
+
maxTurns?: number;
|
|
10276
|
+
reflectionInterval?: number;
|
|
10277
|
+
};
|
|
10278
|
+
maxTokens?: number;
|
|
10279
|
+
memory?: {
|
|
10280
|
+
enabled: boolean;
|
|
10281
|
+
injectSummary?: boolean;
|
|
10282
|
+
profileTemplate?: string;
|
|
10283
|
+
};
|
|
10284
|
+
model?: string;
|
|
10285
|
+
name?: string;
|
|
10286
|
+
/** @enum {string} */
|
|
10287
|
+
piiRedaction?: "default" | "off" | "redact";
|
|
10288
|
+
presencePenalty?: number;
|
|
10289
|
+
reasoning?: boolean | {
|
|
10290
|
+
budgetTokens?: number;
|
|
10291
|
+
enabled: boolean;
|
|
10292
|
+
includeThoughts?: boolean;
|
|
10293
|
+
/** @enum {string} */
|
|
10294
|
+
reasoningEffort?: "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
10295
|
+
/** @enum {string} */
|
|
10296
|
+
reasoningSummary?: "auto" | "detailed";
|
|
10297
|
+
thinkingBudget?: number;
|
|
10298
|
+
};
|
|
10299
|
+
sandbox?: {
|
|
10300
|
+
enabled: boolean;
|
|
10301
|
+
/** @enum {string} */
|
|
10302
|
+
instanceType?: "standard-1" | "standard-2" | "standard-3" | "standard-4";
|
|
10303
|
+
networkAccess?: ("none" | "essentials" | "open") | {
|
|
10304
|
+
allow?: string[];
|
|
10305
|
+
/** @enum {string} */
|
|
10306
|
+
profile?: "none" | "essentials" | "open";
|
|
10307
|
+
};
|
|
10308
|
+
/** @enum {string} */
|
|
10309
|
+
persistence?: "ephemeral" | "conversation" | "named";
|
|
10310
|
+
/** @enum {string} */
|
|
10311
|
+
provider?: "runtype-sandbox" | "daytona";
|
|
10312
|
+
secretEnv?: {
|
|
10313
|
+
[key: string]: string;
|
|
10314
|
+
};
|
|
10315
|
+
setupCommands?: string[];
|
|
10316
|
+
/** @enum {string} */
|
|
10317
|
+
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
10318
|
+
/** @enum {string} */
|
|
10319
|
+
ttl?: "5m" | "1h" | "24h" | "unlimited";
|
|
10320
|
+
};
|
|
10321
|
+
seed?: number;
|
|
10322
|
+
systemPrompt?: string;
|
|
10323
|
+
temperature?: number;
|
|
10324
|
+
temporal?: {
|
|
10325
|
+
elapsedThresholdSeconds?: number;
|
|
10326
|
+
groundNow?: boolean;
|
|
10327
|
+
injectElapsed?: boolean;
|
|
10328
|
+
timezone?: string;
|
|
10329
|
+
};
|
|
10330
|
+
tenancyStrategy?: {
|
|
10331
|
+
assuranceFloor?: {
|
|
10332
|
+
/** @enum {string} */
|
|
10333
|
+
endUser?: "asserted" | "verified";
|
|
10334
|
+
/** @enum {string} */
|
|
10335
|
+
tenant?: "asserted" | "verified";
|
|
10336
|
+
};
|
|
10337
|
+
/** @enum {string} */
|
|
10338
|
+
preset: "internal" | "tenant-isolated" | "end-user-isolated";
|
|
10339
|
+
};
|
|
10340
|
+
tools?: {
|
|
10341
|
+
approval?: {
|
|
10342
|
+
choices?: {
|
|
10343
|
+
alwaysAllow?: boolean;
|
|
10344
|
+
alwaysDeny?: boolean;
|
|
10345
|
+
};
|
|
10346
|
+
requestReason?: boolean;
|
|
10347
|
+
require: string[] | boolean;
|
|
10348
|
+
timeout?: number;
|
|
10349
|
+
};
|
|
10350
|
+
codeModeConfig?: {
|
|
10351
|
+
description?: string;
|
|
10352
|
+
timeoutMs?: number;
|
|
10353
|
+
toolPool: string[];
|
|
10354
|
+
};
|
|
10355
|
+
maxToolCalls?: number;
|
|
10356
|
+
mcpServers?: unknown[];
|
|
10357
|
+
perToolLimits?: {
|
|
10358
|
+
[key: string]: {
|
|
10359
|
+
maxCalls?: number;
|
|
10360
|
+
required?: boolean;
|
|
10361
|
+
};
|
|
10362
|
+
};
|
|
10363
|
+
runtimeTools?: unknown[];
|
|
10364
|
+
subagentConfig?: {
|
|
10365
|
+
allowNesting?: boolean;
|
|
10366
|
+
/** @enum {string} */
|
|
10367
|
+
defaultExecutionMode?: "attached" | "detached";
|
|
10368
|
+
defaultMaxTurns?: number;
|
|
10369
|
+
defaultModel?: string;
|
|
10370
|
+
/** @enum {string} */
|
|
10371
|
+
defaultNotify?: "none" | "narrate" | "react";
|
|
10372
|
+
defaultTimeoutMs?: number;
|
|
10373
|
+
detachedMaxBudgetMs?: number;
|
|
10374
|
+
detachedNoProgressBudgetMs?: number;
|
|
10375
|
+
executionModes?: ("attached" | "detached")[];
|
|
10376
|
+
maxSpawnsPerRun?: number;
|
|
10377
|
+
maxTurnsLimit?: number;
|
|
10378
|
+
toolPool: string[];
|
|
10379
|
+
};
|
|
10380
|
+
/** @enum {string} */
|
|
10381
|
+
toolCallStrategy?: "auto" | "required" | "none";
|
|
10382
|
+
toolConfigs?: {
|
|
10383
|
+
[key: string]: {
|
|
10384
|
+
[key: string]: unknown;
|
|
10385
|
+
};
|
|
10386
|
+
};
|
|
10387
|
+
toolIds?: string[];
|
|
10388
|
+
toolSearch?: {
|
|
10389
|
+
alwaysLoaded?: string[];
|
|
10390
|
+
enabled?: boolean;
|
|
10391
|
+
threshold?: number;
|
|
10392
|
+
};
|
|
10393
|
+
};
|
|
10394
|
+
topK?: number;
|
|
10395
|
+
topP?: number;
|
|
10396
|
+
voice?: {
|
|
10397
|
+
elevenLabs?: {
|
|
10398
|
+
modelId?: string;
|
|
10399
|
+
similarity?: number;
|
|
10400
|
+
stability?: number;
|
|
10401
|
+
voiceId?: string;
|
|
10402
|
+
};
|
|
10403
|
+
enabled?: boolean;
|
|
10404
|
+
/** @enum {string} */
|
|
10405
|
+
interruptionMode?: "none" | "cancel" | "barge-in";
|
|
10406
|
+
provider?: string;
|
|
10407
|
+
};
|
|
10408
|
+
};
|
|
10409
|
+
clientTools?: {
|
|
10410
|
+
description: string;
|
|
10411
|
+
name: string;
|
|
10412
|
+
/** @enum {string} */
|
|
10413
|
+
origin?: "webmcp" | "sdk";
|
|
10414
|
+
pageOrigin?: string;
|
|
10415
|
+
parametersSchema: {
|
|
10416
|
+
/** @enum {string} */
|
|
10417
|
+
type: "object";
|
|
10418
|
+
} & {
|
|
10419
|
+
[key: string]: unknown;
|
|
10420
|
+
};
|
|
10421
|
+
untrustedContentHint?: boolean;
|
|
10422
|
+
}[];
|
|
10423
|
+
clientToolsPolicy?: {
|
|
10424
|
+
allowlist?: string[];
|
|
10425
|
+
};
|
|
10426
|
+
conversationId?: string;
|
|
10427
|
+
credentialProxies?: {
|
|
10428
|
+
envVarName?: string;
|
|
10429
|
+
hostnamePattern: string;
|
|
10430
|
+
/** @default {} */
|
|
10431
|
+
injectionConfig?: {
|
|
10432
|
+
[key: string]: unknown;
|
|
10433
|
+
};
|
|
10434
|
+
/** @enum {string} */
|
|
10435
|
+
injectionMode: "bearer_header" | "api_key_header" | "query_param" | "basic_auth";
|
|
10436
|
+
/** @default /* */
|
|
10437
|
+
pathPattern?: string;
|
|
10438
|
+
secretKey: string;
|
|
10439
|
+
}[];
|
|
10440
|
+
endUser?: {
|
|
10441
|
+
email?: string;
|
|
10442
|
+
id: string;
|
|
10443
|
+
} & {
|
|
10444
|
+
[key: string]: unknown;
|
|
10445
|
+
};
|
|
10446
|
+
flow?: {
|
|
10447
|
+
contentHash?: string;
|
|
10448
|
+
description?: string;
|
|
10449
|
+
id?: string;
|
|
10450
|
+
name?: string;
|
|
10451
|
+
steps?: unknown[];
|
|
10452
|
+
};
|
|
10453
|
+
/** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
|
|
10454
|
+
identityProof?: {
|
|
10455
|
+
provider: string;
|
|
10456
|
+
token: string;
|
|
10457
|
+
};
|
|
10458
|
+
inputs?: {
|
|
10459
|
+
[key: string]: unknown;
|
|
10460
|
+
};
|
|
10461
|
+
messages?: {
|
|
10462
|
+
content: string | ({
|
|
10463
|
+
text: string;
|
|
10464
|
+
/** @enum {string} */
|
|
10465
|
+
type: "text";
|
|
10466
|
+
} | {
|
|
10467
|
+
image: string;
|
|
10468
|
+
mimeType?: string;
|
|
10469
|
+
/** @enum {string} */
|
|
10470
|
+
type: "image";
|
|
10471
|
+
} | {
|
|
10472
|
+
data: string;
|
|
10473
|
+
filename: string;
|
|
10474
|
+
mimeType: string;
|
|
10475
|
+
/** @enum {string} */
|
|
10476
|
+
type: "file";
|
|
10477
|
+
} | {
|
|
10478
|
+
providerOptions?: {
|
|
10479
|
+
[key: string]: unknown;
|
|
10480
|
+
};
|
|
10481
|
+
text: string;
|
|
10482
|
+
/** @enum {string} */
|
|
10483
|
+
type: "reasoning";
|
|
10484
|
+
})[];
|
|
10485
|
+
/** @enum {string} */
|
|
10486
|
+
role: "system" | "user" | "assistant";
|
|
10487
|
+
}[];
|
|
10488
|
+
/**
|
|
10489
|
+
* @default {
|
|
10490
|
+
* "autoAppendMetadata": false,
|
|
10491
|
+
* "createVersion": false,
|
|
10492
|
+
* "debugMode": false,
|
|
10493
|
+
* "environment": "development",
|
|
10494
|
+
* "flowMode": "existing",
|
|
10495
|
+
* "recordMode": "existing",
|
|
10496
|
+
* "storeResults": true,
|
|
10497
|
+
* "streamResponse": true
|
|
10498
|
+
* }
|
|
10499
|
+
*/
|
|
10500
|
+
options?: {
|
|
10501
|
+
/** @default false */
|
|
10502
|
+
autoAppendMetadata?: boolean;
|
|
10503
|
+
/** @description Set false to disable prompt caching for this request (no cache markers, no cache routing keys). Use for workloads where deterministic byte-identical requests must never share provider cache state, or to A/B against cached behavior. Default: caching follows the account rollout. */
|
|
10504
|
+
cache?: boolean;
|
|
10505
|
+
clientToolOutputs?: {
|
|
10506
|
+
[key: string]: unknown;
|
|
10507
|
+
};
|
|
10508
|
+
/** @default false */
|
|
10509
|
+
createVersion?: boolean;
|
|
10510
|
+
/** @default false */
|
|
10511
|
+
debugMode?: boolean;
|
|
10512
|
+
/**
|
|
10513
|
+
* @default development
|
|
10514
|
+
* @enum {string}
|
|
10515
|
+
*/
|
|
10516
|
+
environment?: "development" | "production";
|
|
10517
|
+
/**
|
|
10518
|
+
* @default existing
|
|
10519
|
+
* @enum {string}
|
|
10520
|
+
*/
|
|
10521
|
+
flowMode?: "existing" | "create" | "virtual" | "upsert";
|
|
10522
|
+
flowTimeoutMs?: number;
|
|
10523
|
+
flowVersionId?: string;
|
|
10524
|
+
localInference?: {
|
|
10525
|
+
/** @enum {string} */
|
|
10526
|
+
backend: "ollama";
|
|
10527
|
+
model: string;
|
|
10528
|
+
/** Format: uuid */
|
|
10529
|
+
sessionId: string;
|
|
10530
|
+
/** @enum {string} */
|
|
10531
|
+
surface?: "playground" | "flows" | "agents";
|
|
10532
|
+
};
|
|
10533
|
+
/** @enum {string} */
|
|
10534
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
10535
|
+
modelOverride?: string;
|
|
10536
|
+
/**
|
|
10537
|
+
* @default existing
|
|
10538
|
+
* @enum {string}
|
|
10539
|
+
*/
|
|
10540
|
+
recordMode?: "existing" | "create" | "virtual";
|
|
10541
|
+
resumeFrom?: {
|
|
10542
|
+
executionId: string;
|
|
10543
|
+
iteration?: number;
|
|
10544
|
+
};
|
|
10545
|
+
stepTimeoutMs?: number;
|
|
10546
|
+
/** @default true */
|
|
10547
|
+
storeResults?: boolean;
|
|
10548
|
+
/** @default true */
|
|
10549
|
+
streamResponse?: boolean;
|
|
10550
|
+
upsertOptions?: {
|
|
10551
|
+
/** @default false */
|
|
10552
|
+
allowOverwriteExternalChanges?: boolean;
|
|
10553
|
+
/** @default true */
|
|
10554
|
+
createVersionOnChange?: boolean;
|
|
10555
|
+
};
|
|
10556
|
+
/** @description For FLOW dispatches this compatibility field is accepted but ignored: eligible flows always use the @runtypelabs/runtime lane, while ineligible flows still fold to legacy silently. Agent dispatches still require an explicit `true` and remain subject to their separate runtime-agent rollout gate. */
|
|
10557
|
+
useRuntimePackage?: boolean;
|
|
10558
|
+
versionLabel?: string;
|
|
10559
|
+
versionNotes?: string;
|
|
10560
|
+
/** @enum {string} */
|
|
10561
|
+
versionType?: "published" | "draft" | "test" | "virtual";
|
|
10562
|
+
};
|
|
10563
|
+
record?: {
|
|
10564
|
+
id?: string;
|
|
10565
|
+
metadata?: {
|
|
10566
|
+
[key: string]: unknown;
|
|
10567
|
+
};
|
|
10568
|
+
name?: string;
|
|
10569
|
+
ownerId?: string;
|
|
10570
|
+
type?: string;
|
|
10571
|
+
};
|
|
10572
|
+
/** @description Per-request credentials for agent/external-tool execution. Ignored when `flow` is the hosted target; FLOW credentials must use managed {{secret:NAME}} references. */
|
|
10573
|
+
secrets?: {
|
|
10574
|
+
[key: string]: string;
|
|
10575
|
+
};
|
|
10576
|
+
tenant?: {
|
|
10577
|
+
id: string;
|
|
10578
|
+
} & {
|
|
10579
|
+
[key: string]: unknown;
|
|
10580
|
+
};
|
|
9660
10581
|
};
|
|
9661
10582
|
};
|
|
9662
10583
|
};
|
|
@@ -9667,6 +10588,7 @@ interface paths {
|
|
|
9667
10588
|
[name: string]: unknown;
|
|
9668
10589
|
};
|
|
9669
10590
|
content: {
|
|
10591
|
+
"application/json": components["schemas"]["DispatchJsonResponse"];
|
|
9670
10592
|
"text/event-stream": unknown;
|
|
9671
10593
|
};
|
|
9672
10594
|
};
|
|
@@ -9779,6 +10701,7 @@ interface paths {
|
|
|
9779
10701
|
executionId: string;
|
|
9780
10702
|
reason?: string;
|
|
9781
10703
|
remember?: boolean;
|
|
10704
|
+
/** @default true */
|
|
9782
10705
|
streamResponse?: boolean;
|
|
9783
10706
|
};
|
|
9784
10707
|
};
|
|
@@ -9790,6 +10713,7 @@ interface paths {
|
|
|
9790
10713
|
[name: string]: unknown;
|
|
9791
10714
|
};
|
|
9792
10715
|
content: {
|
|
10716
|
+
"application/json": components["schemas"]["DispatchApproveJsonResponse"];
|
|
9793
10717
|
"text/event-stream": unknown;
|
|
9794
10718
|
};
|
|
9795
10719
|
};
|
|
@@ -9811,6 +10735,15 @@ interface paths {
|
|
|
9811
10735
|
"application/json": components["schemas"]["Error"];
|
|
9812
10736
|
};
|
|
9813
10737
|
};
|
|
10738
|
+
/** @description Platform key spend limit exceeded */
|
|
10739
|
+
402: {
|
|
10740
|
+
headers: {
|
|
10741
|
+
[name: string]: unknown;
|
|
10742
|
+
};
|
|
10743
|
+
content: {
|
|
10744
|
+
"application/json": components["schemas"]["DispatchApprovalContinuationJsonResponse"];
|
|
10745
|
+
};
|
|
10746
|
+
};
|
|
9814
10747
|
/** @description Insufficient permissions */
|
|
9815
10748
|
403: {
|
|
9816
10749
|
headers: {
|
|
@@ -9820,6 +10753,15 @@ interface paths {
|
|
|
9820
10753
|
"application/json": components["schemas"]["Error"];
|
|
9821
10754
|
};
|
|
9822
10755
|
};
|
|
10756
|
+
/** @description Paused execution not found */
|
|
10757
|
+
404: {
|
|
10758
|
+
headers: {
|
|
10759
|
+
[name: string]: unknown;
|
|
10760
|
+
};
|
|
10761
|
+
content: {
|
|
10762
|
+
"application/json": components["schemas"]["Error"];
|
|
10763
|
+
};
|
|
10764
|
+
};
|
|
9823
10765
|
/** @description Execution is not awaiting this approval or cannot be resumed here */
|
|
9824
10766
|
409: {
|
|
9825
10767
|
headers: {
|
|
@@ -9869,11 +10811,50 @@ interface paths {
|
|
|
9869
10811
|
requestBody?: {
|
|
9870
10812
|
content: {
|
|
9871
10813
|
"application/json": {
|
|
9872
|
-
/** @description Continuation payload (tool-output or approval) */
|
|
9873
10814
|
continuation: {
|
|
9874
|
-
|
|
10815
|
+
messages?: {
|
|
10816
|
+
content: string | ({
|
|
10817
|
+
text: string;
|
|
10818
|
+
/** @enum {string} */
|
|
10819
|
+
type: "text";
|
|
10820
|
+
} | {
|
|
10821
|
+
image: string;
|
|
10822
|
+
mimeType?: string;
|
|
10823
|
+
/** @enum {string} */
|
|
10824
|
+
type: "image";
|
|
10825
|
+
} | {
|
|
10826
|
+
data: string;
|
|
10827
|
+
filename: string;
|
|
10828
|
+
mimeType: string;
|
|
10829
|
+
/** @enum {string} */
|
|
10830
|
+
type: "file";
|
|
10831
|
+
} | {
|
|
10832
|
+
providerOptions?: {
|
|
10833
|
+
[key: string]: unknown;
|
|
10834
|
+
};
|
|
10835
|
+
text: string;
|
|
10836
|
+
/** @enum {string} */
|
|
10837
|
+
type: "reasoning";
|
|
10838
|
+
})[];
|
|
10839
|
+
/** @enum {string} */
|
|
10840
|
+
role: "system" | "user" | "assistant";
|
|
10841
|
+
}[];
|
|
10842
|
+
toolOutputs?: {
|
|
10843
|
+
[key: string]: unknown;
|
|
10844
|
+
};
|
|
10845
|
+
/** @enum {string} */
|
|
10846
|
+
type: "tool-output";
|
|
10847
|
+
} | {
|
|
10848
|
+
approvalId: string;
|
|
10849
|
+
/** @enum {string} */
|
|
10850
|
+
decision: "approved" | "denied";
|
|
10851
|
+
reason?: string;
|
|
10852
|
+
remember?: boolean;
|
|
10853
|
+
/** @enum {string} */
|
|
10854
|
+
type: "approval";
|
|
9875
10855
|
};
|
|
9876
10856
|
executionId: string;
|
|
10857
|
+
/** @default true */
|
|
9877
10858
|
streamResponse?: boolean;
|
|
9878
10859
|
};
|
|
9879
10860
|
};
|
|
@@ -9885,6 +10866,7 @@ interface paths {
|
|
|
9885
10866
|
[name: string]: unknown;
|
|
9886
10867
|
};
|
|
9887
10868
|
content: {
|
|
10869
|
+
"application/json": components["schemas"]["DispatchContinuationJsonResponse"];
|
|
9888
10870
|
"text/event-stream": unknown;
|
|
9889
10871
|
};
|
|
9890
10872
|
};
|
|
@@ -9906,6 +10888,15 @@ interface paths {
|
|
|
9906
10888
|
"application/json": components["schemas"]["Error"];
|
|
9907
10889
|
};
|
|
9908
10890
|
};
|
|
10891
|
+
/** @description Platform key spend limit exceeded */
|
|
10892
|
+
402: {
|
|
10893
|
+
headers: {
|
|
10894
|
+
[name: string]: unknown;
|
|
10895
|
+
};
|
|
10896
|
+
content: {
|
|
10897
|
+
"application/json": components["schemas"]["DispatchContinuationJsonResponse"];
|
|
10898
|
+
};
|
|
10899
|
+
};
|
|
9909
10900
|
/** @description Insufficient permissions */
|
|
9910
10901
|
403: {
|
|
9911
10902
|
headers: {
|
|
@@ -9915,6 +10906,15 @@ interface paths {
|
|
|
9915
10906
|
"application/json": components["schemas"]["Error"];
|
|
9916
10907
|
};
|
|
9917
10908
|
};
|
|
10909
|
+
/** @description Paused execution not found */
|
|
10910
|
+
404: {
|
|
10911
|
+
headers: {
|
|
10912
|
+
[name: string]: unknown;
|
|
10913
|
+
};
|
|
10914
|
+
content: {
|
|
10915
|
+
"application/json": components["schemas"]["Error"];
|
|
10916
|
+
};
|
|
10917
|
+
};
|
|
9918
10918
|
/** @description Execution is not awaiting this approval or cannot be resumed here */
|
|
9919
10919
|
409: {
|
|
9920
10920
|
headers: {
|
|
@@ -9967,13 +10967,41 @@ interface paths {
|
|
|
9967
10967
|
/** @description The execution ID to resume */
|
|
9968
10968
|
executionId: string;
|
|
9969
10969
|
messages?: {
|
|
9970
|
-
content
|
|
10970
|
+
content: string | ({
|
|
10971
|
+
text: string;
|
|
10972
|
+
/** @enum {string} */
|
|
10973
|
+
type: "text";
|
|
10974
|
+
} | {
|
|
10975
|
+
image: string;
|
|
10976
|
+
mimeType?: string;
|
|
10977
|
+
/** @enum {string} */
|
|
10978
|
+
type: "image";
|
|
10979
|
+
} | {
|
|
10980
|
+
data: string;
|
|
10981
|
+
filename: string;
|
|
10982
|
+
mimeType: string;
|
|
10983
|
+
/** @enum {string} */
|
|
10984
|
+
type: "file";
|
|
10985
|
+
} | {
|
|
10986
|
+
providerOptions?: {
|
|
10987
|
+
[key: string]: unknown;
|
|
10988
|
+
};
|
|
10989
|
+
text: string;
|
|
10990
|
+
/** @enum {string} */
|
|
10991
|
+
type: "reasoning";
|
|
10992
|
+
})[];
|
|
9971
10993
|
/** @enum {string} */
|
|
9972
10994
|
role: "system" | "user" | "assistant";
|
|
9973
10995
|
}[];
|
|
9974
|
-
/**
|
|
10996
|
+
/**
|
|
10997
|
+
* @description Whether to stream the response via SSE
|
|
10998
|
+
* @default true
|
|
10999
|
+
*/
|
|
9975
11000
|
streamResponse?: boolean;
|
|
9976
|
-
/**
|
|
11001
|
+
/**
|
|
11002
|
+
* @description Local tool outputs for the paused execution. Key each output by the per-call `toolCallId` from the `flow_await` / `agent_await` event (preferred, and required to disambiguate parallel calls to the same tool), or by tool name (legacy; collapses same-tool parallel calls onto one slot).
|
|
11003
|
+
* @default {}
|
|
11004
|
+
*/
|
|
9977
11005
|
toolOutputs?: {
|
|
9978
11006
|
[key: string]: unknown;
|
|
9979
11007
|
};
|
|
@@ -9987,6 +11015,7 @@ interface paths {
|
|
|
9987
11015
|
[name: string]: unknown;
|
|
9988
11016
|
};
|
|
9989
11017
|
content: {
|
|
11018
|
+
"application/json": components["schemas"]["DispatchToolOutputContinuationJsonResponse"];
|
|
9990
11019
|
"text/event-stream": unknown;
|
|
9991
11020
|
};
|
|
9992
11021
|
};
|
|
@@ -10008,6 +11037,15 @@ interface paths {
|
|
|
10008
11037
|
"application/json": components["schemas"]["Error"];
|
|
10009
11038
|
};
|
|
10010
11039
|
};
|
|
11040
|
+
/** @description Platform key spend limit exceeded */
|
|
11041
|
+
402: {
|
|
11042
|
+
headers: {
|
|
11043
|
+
[name: string]: unknown;
|
|
11044
|
+
};
|
|
11045
|
+
content: {
|
|
11046
|
+
"application/json": components["schemas"]["DispatchToolOutputContinuationJsonResponse"];
|
|
11047
|
+
};
|
|
11048
|
+
};
|
|
10011
11049
|
/** @description Insufficient permissions */
|
|
10012
11050
|
403: {
|
|
10013
11051
|
headers: {
|
|
@@ -10017,6 +11055,15 @@ interface paths {
|
|
|
10017
11055
|
"application/json": components["schemas"]["Error"];
|
|
10018
11056
|
};
|
|
10019
11057
|
};
|
|
11058
|
+
/** @description Paused execution not found */
|
|
11059
|
+
404: {
|
|
11060
|
+
headers: {
|
|
11061
|
+
[name: string]: unknown;
|
|
11062
|
+
};
|
|
11063
|
+
content: {
|
|
11064
|
+
"application/json": components["schemas"]["Error"];
|
|
11065
|
+
};
|
|
11066
|
+
};
|
|
10020
11067
|
/** @description Internal server error */
|
|
10021
11068
|
500: {
|
|
10022
11069
|
headers: {
|
|
@@ -11572,6 +12619,8 @@ interface paths {
|
|
|
11572
12619
|
};
|
|
11573
12620
|
virtual?: boolean;
|
|
11574
12621
|
};
|
|
12622
|
+
/** @description Run every case against this model instead of the target’s configured one, without editing the suite, the flow, or the agent. Re-run the same suite once per candidate model and compare the scores to choose a model on graded evidence. Applies to flow and agent targets alike. */
|
|
12623
|
+
modelOverride?: string;
|
|
11575
12624
|
/** @description Strict mode (the `runtype eval --strict` gate): a soft grader miss fails its case like a gate miss. Default false — soft misses are reported per-outcome but do not fail the suite. */
|
|
11576
12625
|
strict?: boolean;
|
|
11577
12626
|
suiteId?: string;
|
|
@@ -13517,6 +14566,8 @@ interface paths {
|
|
|
13517
14566
|
* @enum {string}
|
|
13518
14567
|
*/
|
|
13519
14568
|
mode?: "sync" | "batch";
|
|
14569
|
+
/** @description Run every case against this model instead of the target’s configured one, without editing the suite or its target. Re-run the same suite once per candidate model and compare scores to pick a model on graded evidence. Applies to both flow and agent targets. */
|
|
14570
|
+
modelOverride?: string;
|
|
13520
14571
|
/** @description Strict grading: a soft grader miss fails its case like a gate miss. */
|
|
13521
14572
|
strict?: boolean;
|
|
13522
14573
|
};
|
|
@@ -15624,7 +16675,12 @@ interface paths {
|
|
|
15624
16675
|
[name: string]: unknown;
|
|
15625
16676
|
};
|
|
15626
16677
|
content: {
|
|
15627
|
-
"application/json":
|
|
16678
|
+
"application/json": {
|
|
16679
|
+
details?: string[];
|
|
16680
|
+
error: string;
|
|
16681
|
+
recordCount?: number;
|
|
16682
|
+
recordType?: string;
|
|
16683
|
+
};
|
|
15628
16684
|
};
|
|
15629
16685
|
};
|
|
15630
16686
|
/** @description Unauthorized */
|
|
@@ -15645,6 +16701,29 @@ interface paths {
|
|
|
15645
16701
|
"application/json": components["schemas"]["Error"];
|
|
15646
16702
|
};
|
|
15647
16703
|
};
|
|
16704
|
+
/** @description Flow not found */
|
|
16705
|
+
404: {
|
|
16706
|
+
headers: {
|
|
16707
|
+
[name: string]: unknown;
|
|
16708
|
+
};
|
|
16709
|
+
content: {
|
|
16710
|
+
"application/json": components["schemas"]["Error"];
|
|
16711
|
+
};
|
|
16712
|
+
};
|
|
16713
|
+
/** @description Flow requires behavior not supported by the runtime execution surface */
|
|
16714
|
+
422: {
|
|
16715
|
+
headers: {
|
|
16716
|
+
[name: string]: unknown;
|
|
16717
|
+
};
|
|
16718
|
+
content: {
|
|
16719
|
+
"application/json": {
|
|
16720
|
+
/** @enum {string} */
|
|
16721
|
+
code: "RUNTIME_FLOW_UNSUPPORTED";
|
|
16722
|
+
error: string;
|
|
16723
|
+
reasons: string[];
|
|
16724
|
+
};
|
|
16725
|
+
};
|
|
16726
|
+
};
|
|
15648
16727
|
/** @description Daily execution limit exceeded */
|
|
15649
16728
|
429: {
|
|
15650
16729
|
headers: {
|
|
@@ -26065,6 +27144,7 @@ interface paths {
|
|
|
26065
27144
|
status: string;
|
|
26066
27145
|
type: string;
|
|
26067
27146
|
updatedAt: string;
|
|
27147
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
26068
27148
|
}[];
|
|
26069
27149
|
pagination: components["schemas"]["Pagination"];
|
|
26070
27150
|
};
|
|
@@ -26178,6 +27258,7 @@ interface paths {
|
|
|
26178
27258
|
status: string;
|
|
26179
27259
|
type: string;
|
|
26180
27260
|
updatedAt: string;
|
|
27261
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
26181
27262
|
};
|
|
26182
27263
|
};
|
|
26183
27264
|
};
|
|
@@ -26533,15 +27614,23 @@ interface paths {
|
|
|
26533
27614
|
name: string | null;
|
|
26534
27615
|
rateLimitPerDay: number | null;
|
|
26535
27616
|
rateLimitPerMinute: number | null;
|
|
27617
|
+
scopeTargetIds: string[] | null;
|
|
26536
27618
|
scopes: string[];
|
|
26537
27619
|
usageCount: number | null;
|
|
26538
27620
|
}[];
|
|
26539
27621
|
name: string;
|
|
26540
27622
|
outbound?: unknown;
|
|
26541
27623
|
productId: string;
|
|
27624
|
+
scopeTargets: {
|
|
27625
|
+
capabilityId?: string;
|
|
27626
|
+
id: string;
|
|
27627
|
+
name: string;
|
|
27628
|
+
surfaceItemId?: string;
|
|
27629
|
+
}[];
|
|
26542
27630
|
status: string;
|
|
26543
27631
|
type: string;
|
|
26544
27632
|
updatedAt: string;
|
|
27633
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
26545
27634
|
};
|
|
26546
27635
|
};
|
|
26547
27636
|
};
|
|
@@ -26646,6 +27735,7 @@ interface paths {
|
|
|
26646
27735
|
status: string;
|
|
26647
27736
|
type: string;
|
|
26648
27737
|
updatedAt: string;
|
|
27738
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
26649
27739
|
};
|
|
26650
27740
|
};
|
|
26651
27741
|
};
|
|
@@ -27265,6 +28355,7 @@ interface paths {
|
|
|
27265
28355
|
name?: string;
|
|
27266
28356
|
rateLimitPerDay?: number;
|
|
27267
28357
|
rateLimitPerMinute?: number;
|
|
28358
|
+
/** @description Capability restrictions. Prefer IDs from get_surface.scopeTargets; linked surface-item/capability IDs and unique names shown in that catalog are accepted and resolved to immutable authorization targets. Use `*` for unrestricted access. */
|
|
27268
28359
|
scopes?: string[];
|
|
27269
28360
|
};
|
|
27270
28361
|
};
|
|
@@ -27288,6 +28379,7 @@ interface paths {
|
|
|
27288
28379
|
name: string | null;
|
|
27289
28380
|
rateLimitPerDay: number | null;
|
|
27290
28381
|
rateLimitPerMinute: number | null;
|
|
28382
|
+
scopeTargetIds: string[];
|
|
27291
28383
|
scopes: string[];
|
|
27292
28384
|
surfaceId: string;
|
|
27293
28385
|
};
|
|
@@ -27646,9 +28738,15 @@ interface paths {
|
|
|
27646
28738
|
enabled?: boolean;
|
|
27647
28739
|
executionOptions?: {
|
|
27648
28740
|
chunkSize?: number;
|
|
28741
|
+
flowTimeoutMs?: number;
|
|
28742
|
+
/** @enum {string} */
|
|
28743
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
28744
|
+
maxRetries?: number;
|
|
27649
28745
|
modelOverride?: string;
|
|
27650
28746
|
progressFlushSize?: number;
|
|
27651
28747
|
recordConcurrency?: number;
|
|
28748
|
+
skipCacheWarm?: boolean;
|
|
28749
|
+
stepTimeoutMs?: number;
|
|
27652
28750
|
timeoutMs?: number;
|
|
27653
28751
|
};
|
|
27654
28752
|
flowId: string;
|
|
@@ -27885,9 +28983,15 @@ interface paths {
|
|
|
27885
28983
|
enabled?: boolean;
|
|
27886
28984
|
executionOptions?: {
|
|
27887
28985
|
chunkSize?: number;
|
|
28986
|
+
flowTimeoutMs?: number;
|
|
28987
|
+
/** @enum {string} */
|
|
28988
|
+
loggingPolicy?: "default" | "on" | "off";
|
|
28989
|
+
maxRetries?: number;
|
|
27888
28990
|
modelOverride?: string;
|
|
27889
28991
|
progressFlushSize?: number;
|
|
27890
28992
|
recordConcurrency?: number;
|
|
28993
|
+
skipCacheWarm?: boolean;
|
|
28994
|
+
stepTimeoutMs?: number;
|
|
27891
28995
|
timeoutMs?: number;
|
|
27892
28996
|
};
|
|
27893
28997
|
flowId?: string;
|
|
@@ -28279,6 +29383,15 @@ interface paths {
|
|
|
28279
29383
|
"application/json": components["schemas"]["Error"];
|
|
28280
29384
|
};
|
|
28281
29385
|
};
|
|
29386
|
+
/** @description Monthly spend limit exceeded */
|
|
29387
|
+
402: {
|
|
29388
|
+
headers: {
|
|
29389
|
+
[name: string]: unknown;
|
|
29390
|
+
};
|
|
29391
|
+
content: {
|
|
29392
|
+
"application/json": components["schemas"]["Error"];
|
|
29393
|
+
};
|
|
29394
|
+
};
|
|
28282
29395
|
/** @description Product, surface, or schedule not found */
|
|
28283
29396
|
404: {
|
|
28284
29397
|
headers: {
|
|
@@ -28288,6 +29401,15 @@ interface paths {
|
|
|
28288
29401
|
"application/json": components["schemas"]["Error"];
|
|
28289
29402
|
};
|
|
28290
29403
|
};
|
|
29404
|
+
/** @description Daily execution limit exceeded */
|
|
29405
|
+
429: {
|
|
29406
|
+
headers: {
|
|
29407
|
+
[name: string]: unknown;
|
|
29408
|
+
};
|
|
29409
|
+
content: {
|
|
29410
|
+
"application/json": components["schemas"]["Error"];
|
|
29411
|
+
};
|
|
29412
|
+
};
|
|
28291
29413
|
/** @description Internal server error */
|
|
28292
29414
|
500: {
|
|
28293
29415
|
headers: {
|
|
@@ -39049,13 +40171,14 @@ interface paths {
|
|
|
39049
40171
|
};
|
|
39050
40172
|
/**
|
|
39051
40173
|
* List surfaces
|
|
39052
|
-
* @description List product surfaces across
|
|
40174
|
+
* @description List product surfaces across the authenticated user/org's products with cursor-based pagination. Supports filtering by product, type, status, and environment. Slack inbound config is returned only for Slack surfaces and only includes safe-to-expose keys.
|
|
39053
40175
|
*/
|
|
39054
40176
|
get: {
|
|
39055
40177
|
parameters: {
|
|
39056
40178
|
query?: {
|
|
39057
40179
|
limit?: string;
|
|
39058
40180
|
cursor?: string;
|
|
40181
|
+
productId?: string;
|
|
39059
40182
|
type?: string;
|
|
39060
40183
|
status?: string;
|
|
39061
40184
|
environment?: string;
|
|
@@ -39094,6 +40217,7 @@ interface paths {
|
|
|
39094
40217
|
status: string;
|
|
39095
40218
|
type: string;
|
|
39096
40219
|
updatedAt: string;
|
|
40220
|
+
webhookHealth: components["schemas"]["WebhookHealth"];
|
|
39097
40221
|
}[];
|
|
39098
40222
|
pagination: components["schemas"]["Pagination"];
|
|
39099
40223
|
};
|
|
@@ -41225,6 +42349,7 @@ interface paths {
|
|
|
41225
42349
|
enableAgentSkills: boolean;
|
|
41226
42350
|
enableChromeSurface: boolean;
|
|
41227
42351
|
enableDashboardAssistant: boolean;
|
|
42352
|
+
enableEndUserUsageAnalytics: boolean;
|
|
41228
42353
|
enableMassiveWebRender: boolean;
|
|
41229
42354
|
enableRuntown: boolean;
|
|
41230
42355
|
enableRuntypeApps: boolean;
|
|
@@ -41691,6 +42816,43 @@ interface components {
|
|
|
41691
42816
|
timestamp?: string;
|
|
41692
42817
|
};
|
|
41693
42818
|
};
|
|
42819
|
+
AgentApprovalContinuationJsonResponse: {
|
|
42820
|
+
blockReason?: string;
|
|
42821
|
+
code?: string;
|
|
42822
|
+
/** @enum {string} */
|
|
42823
|
+
decision: "approved" | "denied";
|
|
42824
|
+
error?: string;
|
|
42825
|
+
executionId: string;
|
|
42826
|
+
iterations: number;
|
|
42827
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
42828
|
+
result: string;
|
|
42829
|
+
/** @enum {string} */
|
|
42830
|
+
status: "completed" | "paused" | "failed";
|
|
42831
|
+
/** @enum {string} */
|
|
42832
|
+
stopReason: "end_turn" | "paused" | "error";
|
|
42833
|
+
success: boolean;
|
|
42834
|
+
totalCost: number;
|
|
42835
|
+
upgradeUrl?: string;
|
|
42836
|
+
};
|
|
42837
|
+
AgentApproveContinuationJsonResponse: components["schemas"]["AgentApprovalContinuationJsonResponse"] | components["schemas"]["AgentDetachedApprovalJsonResponse"];
|
|
42838
|
+
AgentApproveRequest: {
|
|
42839
|
+
approvalId: string;
|
|
42840
|
+
/** @default false */
|
|
42841
|
+
debugMode: boolean;
|
|
42842
|
+
/** @enum {string} */
|
|
42843
|
+
decision: "approved" | "denied";
|
|
42844
|
+
executionId: string;
|
|
42845
|
+
reason?: string;
|
|
42846
|
+
remember?: boolean;
|
|
42847
|
+
/** @default true */
|
|
42848
|
+
streamResponse: boolean;
|
|
42849
|
+
};
|
|
42850
|
+
AgentDetachedApprovalJsonResponse: {
|
|
42851
|
+
approvalId: string;
|
|
42852
|
+
executionId: string;
|
|
42853
|
+
/** @enum {string} */
|
|
42854
|
+
status: "running";
|
|
42855
|
+
};
|
|
41694
42856
|
AgentEnsureConflict: {
|
|
41695
42857
|
/** @enum {string} */
|
|
41696
42858
|
code: "external_modification" | "remote_changed";
|
|
@@ -41808,6 +42970,10 @@ interface components {
|
|
|
41808
42970
|
persistence?: "ephemeral" | "conversation" | "named";
|
|
41809
42971
|
/** @enum {string} */
|
|
41810
42972
|
provider?: "runtype-sandbox" | "daytona";
|
|
42973
|
+
secretEnv?: {
|
|
42974
|
+
[key: string]: string;
|
|
42975
|
+
};
|
|
42976
|
+
setupCommands?: string[];
|
|
41811
42977
|
/** @enum {string} */
|
|
41812
42978
|
sleepAfter?: "5m" | "15m" | "30m" | "1h";
|
|
41813
42979
|
/** @enum {string} */
|
|
@@ -41937,6 +43103,32 @@ interface components {
|
|
|
41937
43103
|
/** @description Present only when a raw tool_… reference could not be emitted as a portable tool:<name> (the tool was deleted, or its name is shadowed by an older same-named tool). Those references are left as raw ids, which the ensure surface rejects; each warning explains how to fix it. */
|
|
41938
43104
|
warnings?: string[];
|
|
41939
43105
|
};
|
|
43106
|
+
AgentResumeContinuationJsonResponse: {
|
|
43107
|
+
blockReason?: string;
|
|
43108
|
+
code?: string;
|
|
43109
|
+
error?: string;
|
|
43110
|
+
iterations: number;
|
|
43111
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
43112
|
+
result: string;
|
|
43113
|
+
/** @enum {string} */
|
|
43114
|
+
status: "completed" | "paused" | "failed";
|
|
43115
|
+
/** @enum {string} */
|
|
43116
|
+
stopReason: "end_turn" | "paused" | "error";
|
|
43117
|
+
success: boolean;
|
|
43118
|
+
totalCost: number;
|
|
43119
|
+
upgradeUrl?: string;
|
|
43120
|
+
};
|
|
43121
|
+
AgentResumeRequest: {
|
|
43122
|
+
/** @default false */
|
|
43123
|
+
debugMode: boolean;
|
|
43124
|
+
executionId: string;
|
|
43125
|
+
/** @default true */
|
|
43126
|
+
streamResponse: boolean;
|
|
43127
|
+
/** @default {} */
|
|
43128
|
+
toolOutputs: {
|
|
43129
|
+
[key: string]: unknown;
|
|
43130
|
+
};
|
|
43131
|
+
};
|
|
41940
43132
|
AsyncDispatchHandle: {
|
|
41941
43133
|
/** @description Present only for ephemeral inline-create dispatch. */
|
|
41942
43134
|
claudeManagedAgentId?: string;
|
|
@@ -42026,6 +43218,108 @@ interface components {
|
|
|
42026
43218
|
criteria: string;
|
|
42027
43219
|
}[];
|
|
42028
43220
|
};
|
|
43221
|
+
DispatchAgentJsonResponse: {
|
|
43222
|
+
blockReason?: string;
|
|
43223
|
+
claudeManagedAgentId?: string;
|
|
43224
|
+
code?: string;
|
|
43225
|
+
error?: string;
|
|
43226
|
+
/** @enum {string} */
|
|
43227
|
+
executionMode?: "claude_managed";
|
|
43228
|
+
executionTime?: number;
|
|
43229
|
+
externalAgent?: {
|
|
43230
|
+
contextId?: string;
|
|
43231
|
+
taskId?: string;
|
|
43232
|
+
};
|
|
43233
|
+
iterations?: number;
|
|
43234
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
43235
|
+
reflections?: string[];
|
|
43236
|
+
result: string;
|
|
43237
|
+
/** @enum {string} */
|
|
43238
|
+
status?: "completed" | "paused" | "failed";
|
|
43239
|
+
stopReason?: string;
|
|
43240
|
+
success: boolean;
|
|
43241
|
+
totalCost?: number;
|
|
43242
|
+
totalTokens?: {
|
|
43243
|
+
input: number;
|
|
43244
|
+
output: number;
|
|
43245
|
+
};
|
|
43246
|
+
upgradeUrl?: string;
|
|
43247
|
+
};
|
|
43248
|
+
DispatchApprovalContinuationJsonResponse: {
|
|
43249
|
+
blockReason?: string;
|
|
43250
|
+
code?: string;
|
|
43251
|
+
/** @enum {string} */
|
|
43252
|
+
decision: "approved" | "denied";
|
|
43253
|
+
error?: string;
|
|
43254
|
+
executionId: string;
|
|
43255
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
43256
|
+
/** @enum {string} */
|
|
43257
|
+
status: "completed" | "paused" | "failed";
|
|
43258
|
+
success: boolean;
|
|
43259
|
+
upgradeUrl?: string;
|
|
43260
|
+
};
|
|
43261
|
+
DispatchApproveJsonResponse: components["schemas"]["DispatchApprovalContinuationJsonResponse"] | components["schemas"]["DispatchDetachedApprovalJsonResponse"];
|
|
43262
|
+
DispatchContinuationJsonResponse: components["schemas"]["DispatchToolOutputContinuationJsonResponse"] | components["schemas"]["DispatchApprovalContinuationJsonResponse"] | components["schemas"]["DispatchDetachedApprovalJsonResponse"];
|
|
43263
|
+
DispatchDetachedApprovalJsonResponse: {
|
|
43264
|
+
approvalId: string;
|
|
43265
|
+
executionId: string;
|
|
43266
|
+
/** @enum {string} */
|
|
43267
|
+
status: "running";
|
|
43268
|
+
};
|
|
43269
|
+
DispatchFlowJsonResponse: {
|
|
43270
|
+
blockReason?: string;
|
|
43271
|
+
code?: string;
|
|
43272
|
+
error?: string;
|
|
43273
|
+
events: components["schemas"]["ExecutionStreamEvent"][];
|
|
43274
|
+
executionSummary: string | number | boolean | null | unknown[] | {
|
|
43275
|
+
[key: string]: unknown;
|
|
43276
|
+
};
|
|
43277
|
+
flowId?: string;
|
|
43278
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
43279
|
+
recordId?: string;
|
|
43280
|
+
/** @enum {string} */
|
|
43281
|
+
status: "completed" | "paused" | "failed";
|
|
43282
|
+
success: boolean;
|
|
43283
|
+
totalEvents: number;
|
|
43284
|
+
upgradeUrl?: string;
|
|
43285
|
+
};
|
|
43286
|
+
DispatchJsonResponse: components["schemas"]["DispatchFlowJsonResponse"] | components["schemas"]["DispatchAgentJsonResponse"];
|
|
43287
|
+
DispatchPausedReason: {
|
|
43288
|
+
approvalId?: string;
|
|
43289
|
+
awaitReason?: string;
|
|
43290
|
+
elicitation?: {
|
|
43291
|
+
[key: string]: unknown;
|
|
43292
|
+
};
|
|
43293
|
+
executionId: string;
|
|
43294
|
+
parameters: {
|
|
43295
|
+
[key: string]: unknown;
|
|
43296
|
+
};
|
|
43297
|
+
toolId: string;
|
|
43298
|
+
toolName: string;
|
|
43299
|
+
/** @enum {string} */
|
|
43300
|
+
type: "local_action";
|
|
43301
|
+
} | {
|
|
43302
|
+
crawlId?: string;
|
|
43303
|
+
stepId?: string;
|
|
43304
|
+
/** @enum {string} */
|
|
43305
|
+
type: "crawl_pending";
|
|
43306
|
+
} | {
|
|
43307
|
+
stepId?: string;
|
|
43308
|
+
/** @enum {string} */
|
|
43309
|
+
type: "durable_poll";
|
|
43310
|
+
};
|
|
43311
|
+
DispatchToolOutputContinuationJsonResponse: {
|
|
43312
|
+
blockReason?: string;
|
|
43313
|
+
code?: string;
|
|
43314
|
+
error?: string;
|
|
43315
|
+
events: components["schemas"]["ExecutionStreamEvent"][];
|
|
43316
|
+
executionId: string;
|
|
43317
|
+
pausedReason?: components["schemas"]["DispatchPausedReason"];
|
|
43318
|
+
/** @enum {string} */
|
|
43319
|
+
status: "completed" | "paused" | "failed";
|
|
43320
|
+
success: boolean;
|
|
43321
|
+
upgradeUrl?: string;
|
|
43322
|
+
};
|
|
42029
43323
|
EndUserAuthConsumeRequest: {
|
|
42030
43324
|
tenantOrganizationId: string;
|
|
42031
43325
|
/** @description The one-time sign-in token from the email */
|
|
@@ -42729,6 +44023,28 @@ interface components {
|
|
|
42729
44023
|
} & {
|
|
42730
44024
|
[key: string]: unknown;
|
|
42731
44025
|
}) | {
|
|
44026
|
+
executionId: string;
|
|
44027
|
+
iteration?: number;
|
|
44028
|
+
seq: number;
|
|
44029
|
+
state: {
|
|
44030
|
+
[key: string]: unknown;
|
|
44031
|
+
};
|
|
44032
|
+
/** @enum {string} */
|
|
44033
|
+
type: "state_snapshot";
|
|
44034
|
+
} | {
|
|
44035
|
+
executionId: string;
|
|
44036
|
+
iteration?: number;
|
|
44037
|
+
patch: {
|
|
44038
|
+
from?: string;
|
|
44039
|
+
/** @enum {string} */
|
|
44040
|
+
op: "add" | "remove" | "replace" | "move" | "copy" | "test";
|
|
44041
|
+
path: string;
|
|
44042
|
+
value?: unknown;
|
|
44043
|
+
}[];
|
|
44044
|
+
seq: number;
|
|
44045
|
+
/** @enum {string} */
|
|
44046
|
+
type: "state_delta";
|
|
44047
|
+
} | {
|
|
42732
44048
|
executionId: string;
|
|
42733
44049
|
hiddenParameterNames?: string[];
|
|
42734
44050
|
iteration?: number;
|
|
@@ -43445,6 +44761,16 @@ interface components {
|
|
|
43445
44761
|
[key: string]: unknown;
|
|
43446
44762
|
};
|
|
43447
44763
|
};
|
|
44764
|
+
WebhookHealth: {
|
|
44765
|
+
/** @description ISO timestamp of the most recent accepted inbound delivery. */
|
|
44766
|
+
lastDeliveryAt: string | null;
|
|
44767
|
+
/** @description Most recent inbound rejections, newest first, capped at a small fixed number. A failure newer than lastDeliveryAt means the webhook is currently rejecting events (commonly a credential mismatch such as a wrong Slack signing secret). */
|
|
44768
|
+
recentFailures: {
|
|
44769
|
+
at: string;
|
|
44770
|
+
reason: string;
|
|
44771
|
+
statusCode?: number;
|
|
44772
|
+
}[];
|
|
44773
|
+
} | null;
|
|
43448
44774
|
};
|
|
43449
44775
|
responses: never;
|
|
43450
44776
|
parameters: never;
|
|
@@ -44245,6 +45571,7 @@ interface UpsertOptions$1 {
|
|
|
44245
45571
|
/** Allow overwriting changes made via dashboard/API (default: false) */
|
|
44246
45572
|
allowOverwriteExternalChanges?: boolean;
|
|
44247
45573
|
}
|
|
45574
|
+
/** Flow-only dispatch options sourced from the canonical API envelope. */
|
|
44248
45575
|
interface DispatchOptions$1 {
|
|
44249
45576
|
streamResponse?: boolean;
|
|
44250
45577
|
modelOverride?: string;
|
|
@@ -44253,24 +45580,34 @@ interface DispatchOptions$1 {
|
|
|
44253
45580
|
storeResults?: boolean;
|
|
44254
45581
|
autoAppendMetadata?: boolean;
|
|
44255
45582
|
debugMode?: boolean;
|
|
45583
|
+
loggingPolicy?: 'default' | 'on' | 'off';
|
|
45584
|
+
/** Ignored for flows; runtime eligibility selects the engine. */
|
|
45585
|
+
useRuntimePackage?: boolean;
|
|
45586
|
+
localInference?: {
|
|
45587
|
+
sessionId: string;
|
|
45588
|
+
model: string;
|
|
45589
|
+
backend: 'ollama';
|
|
45590
|
+
surface?: 'playground' | 'flows' | 'agents';
|
|
45591
|
+
};
|
|
45592
|
+
environment?: 'development' | 'production';
|
|
44256
45593
|
createVersion?: boolean;
|
|
44257
45594
|
versionType?: 'published' | 'draft' | 'test' | 'virtual';
|
|
44258
45595
|
versionLabel?: string;
|
|
44259
45596
|
versionNotes?: string;
|
|
44260
45597
|
flowVersionId?: string;
|
|
44261
|
-
/** Options for upsert mode (only used when flowMode is
|
|
45598
|
+
/** Options for upsert mode (only used when flowMode is `upsert`). */
|
|
44262
45599
|
upsertOptions?: UpsertOptions$1;
|
|
44263
45600
|
flowTimeoutMs?: number;
|
|
44264
45601
|
stepTimeoutMs?: number;
|
|
44265
45602
|
/**
|
|
44266
|
-
* Set false to disable prompt caching for this request
|
|
44267
|
-
*
|
|
45603
|
+
* Set false to disable prompt caching for this request. Default: caching
|
|
45604
|
+
* follows the account rollout.
|
|
44268
45605
|
*/
|
|
44269
45606
|
cache?: boolean;
|
|
44270
45607
|
}
|
|
44271
45608
|
interface Message$1 {
|
|
44272
45609
|
role: 'system' | 'user' | 'assistant';
|
|
44273
|
-
content:
|
|
45610
|
+
content: DispatchMessageContent;
|
|
44274
45611
|
}
|
|
44275
45612
|
/**
|
|
44276
45613
|
* Union type of all possible flow-execution SSE events.
|
|
@@ -45231,7 +46568,8 @@ interface ClientToolDefinition {
|
|
|
45231
46568
|
* `Record<string, unknown>` (matching {@link LocalToolDefinition} in
|
|
45232
46569
|
* `endpoints.ts`) so callers can pass JSON Schema fragments built with
|
|
45233
46570
|
* any helper library (Zod-to-JSON-Schema, ajv, hand-written, etc.)
|
|
45234
|
-
* without fighting the strict {@link JSONSchema} surface.
|
|
46571
|
+
* without fighting the strict {@link JSONSchema} surface. Dispatch validates
|
|
46572
|
+
* that the runtime value has `type: "object"` before sending it to the API.
|
|
45235
46573
|
*/
|
|
45236
46574
|
parametersSchema: Record<string, unknown>;
|
|
45237
46575
|
origin?: 'webmcp' | 'sdk';
|
|
@@ -45270,96 +46608,98 @@ type FlowStepType = NonNullable<CreateFlowRequestBody['flowSteps']>[number]['typ
|
|
|
45270
46608
|
type FlowStepDefinition = Omit<NonNullable<CreateFlowRequestBody['flowSteps']>[number], 'name'> & {
|
|
45271
46609
|
name?: string;
|
|
45272
46610
|
};
|
|
45273
|
-
|
|
45274
|
-
|
|
45275
|
-
|
|
45276
|
-
|
|
45277
|
-
|
|
45278
|
-
|
|
45279
|
-
|
|
45280
|
-
|
|
45281
|
-
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
|
|
45286
|
-
|
|
45287
|
-
|
|
46611
|
+
type GeneratedDispatchRequest = NonNullable<NonNullable<paths['/v1/dispatch']['post']>['requestBody']>['content']['application/json'];
|
|
46612
|
+
/** Canonical request body for `/v1/dispatch/resume`. */
|
|
46613
|
+
type DispatchResumeRequest = NonNullable<paths['/v1/dispatch/resume']['post']['requestBody']>['content']['application/json'];
|
|
46614
|
+
/** Canonical request body for `/v1/dispatch/approve`. */
|
|
46615
|
+
type DispatchApproveRequest = NonNullable<paths['/v1/dispatch/approve']['post']['requestBody']>['content']['application/json'];
|
|
46616
|
+
/** Canonical discriminated request body for `/v1/dispatch/continue`. */
|
|
46617
|
+
type DispatchContinuationRequest = NonNullable<paths['/v1/dispatch/continue']['post']['requestBody']>['content']['application/json'];
|
|
46618
|
+
/**
|
|
46619
|
+
* Buffered response returned by `/v1/dispatch` when
|
|
46620
|
+
* `options.streamResponse:false`.
|
|
46621
|
+
*
|
|
46622
|
+
* Generated from the route's named `DispatchJsonResponse` OpenAPI component;
|
|
46623
|
+
* streaming callers receive `ExecutionStreamEvent` frames instead.
|
|
46624
|
+
*/
|
|
46625
|
+
type DispatchResponse = paths['/v1/dispatch']['post']['responses'][200]['content']['application/json'];
|
|
46626
|
+
/** Buffered `/v1/dispatch/resume` response for a tool-output continuation. */
|
|
46627
|
+
type DispatchResumeResponse = components['schemas']['DispatchToolOutputContinuationJsonResponse'];
|
|
46628
|
+
/** Buffered ordinary-approval result (detached approvals use a separate variant). */
|
|
46629
|
+
type DispatchApprovalContinuationResponse = components['schemas']['DispatchApprovalContinuationJsonResponse'];
|
|
46630
|
+
/** Buffered detached-approval acknowledgement; the detached run remains active. */
|
|
46631
|
+
type DispatchDetachedApprovalResponse = components['schemas']['DispatchDetachedApprovalJsonResponse'];
|
|
46632
|
+
/** Buffered `/v1/dispatch/approve` response, including detached approvals. */
|
|
46633
|
+
type DispatchApproveResponse = paths['/v1/dispatch/approve']['post']['responses'][200]['content']['application/json'];
|
|
46634
|
+
/** Buffered `/v1/dispatch/continue` response across every continuation variant. */
|
|
46635
|
+
type DispatchContinuationResponse = paths['/v1/dispatch/continue']['post']['responses'][200]['content']['application/json'];
|
|
46636
|
+
/** @internal */
|
|
46637
|
+
type CanonicalDispatchMessageContent = NonNullable<NonNullable<GeneratedDispatchRequest['messages']>[number]['content']>;
|
|
46638
|
+
/**
|
|
46639
|
+
* Message content accepted by the SDK dispatch authoring surface.
|
|
46640
|
+
*
|
|
46641
|
+
* `asset_ref` remains in this source-compatible input type because it was
|
|
46642
|
+
* already part of `DispatchRequest` through {@link MessageContent}. It is an
|
|
46643
|
+
* internal persisted-message representation rather than a public wire shape,
|
|
46644
|
+
* so the dispatch endpoint rejects it before sending instead of silently
|
|
46645
|
+
* serializing a request the API cannot accept.
|
|
46646
|
+
*/
|
|
46647
|
+
type DispatchMessageContent = MessageContent;
|
|
46648
|
+
/** Flow input accepted by the canonical `/v1/dispatch` request schema. */
|
|
46649
|
+
type DispatchFlowInput = Omit<NonNullable<GeneratedDispatchRequest['flow']>, 'steps'> & {
|
|
46650
|
+
steps?: FlowStepDefinition[];
|
|
46651
|
+
};
|
|
46652
|
+
/** Agent input accepted by the canonical `/v1/dispatch` request schema. */
|
|
46653
|
+
type DispatchAgentInput = NonNullable<GeneratedDispatchRequest['agent']>;
|
|
46654
|
+
type CanonicalDispatchRequestEnvelope = Omit<GeneratedDispatchRequest, 'flow' | 'agent'>;
|
|
46655
|
+
/**
|
|
46656
|
+
* Exact request body emitted by the SDK after compatibility normalization.
|
|
46657
|
+
*
|
|
46658
|
+
* @internal
|
|
46659
|
+
*/
|
|
46660
|
+
type CanonicalDispatchRequest = (CanonicalDispatchRequestEnvelope & {
|
|
46661
|
+
flow: DispatchFlowInput;
|
|
46662
|
+
agent?: DispatchAgentInput;
|
|
46663
|
+
}) | (CanonicalDispatchRequestEnvelope & {
|
|
46664
|
+
agent: DispatchAgentInput;
|
|
46665
|
+
flow?: DispatchFlowInput;
|
|
46666
|
+
});
|
|
46667
|
+
type DispatchRecordInput = Omit<NonNullable<GeneratedDispatchRequest['record']>, 'id'> & {
|
|
46668
|
+
/**
|
|
46669
|
+
* @deprecated Numeric record ids are retained as an SDK input compatibility
|
|
46670
|
+
* alias and normalized to the API's canonical string wire type.
|
|
46671
|
+
*/
|
|
46672
|
+
id?: string | number;
|
|
46673
|
+
};
|
|
46674
|
+
type DispatchRequestEnvelope = Omit<CanonicalDispatchRequestEnvelope, 'record' | 'messages' | 'clientTools'> & {
|
|
46675
|
+
record?: DispatchRecordInput;
|
|
45288
46676
|
messages?: Array<{
|
|
45289
46677
|
role: 'system' | 'user' | 'assistant';
|
|
45290
|
-
content:
|
|
46678
|
+
content: DispatchMessageContent;
|
|
45291
46679
|
}>;
|
|
45292
46680
|
/**
|
|
45293
|
-
*
|
|
45294
|
-
*
|
|
45295
|
-
*
|
|
45296
|
-
* happens client-side; the server pauses the agent with
|
|
45297
|
-
* `step_await` / `agent_await` and resumes once the client posts the
|
|
45298
|
-
* result. Complementary to the in-engine `resolveTools` callback —
|
|
45299
|
-
* `clientTools[]` is per-dispatch, `resolveTools` is per-iteration.
|
|
46681
|
+
* Kept on the historical SDK authoring type so schema-builder outputs typed
|
|
46682
|
+
* as generic records remain source-compatible. The dispatch boundary checks
|
|
46683
|
+
* every schema root before emitting the canonical wire request.
|
|
45300
46684
|
*/
|
|
45301
46685
|
clientTools?: ClientToolDefinition[];
|
|
45302
|
-
|
|
45303
|
-
|
|
45304
|
-
|
|
45305
|
-
|
|
45306
|
-
|
|
45307
|
-
|
|
45308
|
-
|
|
45309
|
-
|
|
45310
|
-
|
|
45311
|
-
|
|
45312
|
-
|
|
45313
|
-
|
|
45314
|
-
|
|
45315
|
-
|
|
45316
|
-
|
|
45317
|
-
|
|
45318
|
-
|
|
45319
|
-
* — used most commonly by agent memory namespace templates like `{{_endUser.id}}` to
|
|
45320
|
-
* shard long-term memory per end-user. Extra fields (name, tier, custom claims) are
|
|
45321
|
-
* forwarded verbatim and exposed under `_endUser.*`.
|
|
45322
|
-
*/
|
|
45323
|
-
endUser?: {
|
|
45324
|
-
id: string;
|
|
45325
|
-
email?: string;
|
|
45326
|
-
[key: string]: unknown;
|
|
45327
|
-
};
|
|
45328
|
-
/**
|
|
45329
|
-
* Product Tenant identity — the builder's customer/account/workspace *inside* a
|
|
45330
|
-
* Product (the customer's customer), nested under the Builder Org (`_user`) and
|
|
45331
|
-
* above the End User (`_endUser`). Exposed as `{{_tenant.id}}` (and any
|
|
45332
|
-
* passthrough fields under `_tenant.*`) in template variables. Use it to address
|
|
45333
|
-
* the account-level scope shared by all of a tenant's end-users. Caller-asserted.
|
|
45334
|
-
*/
|
|
45335
|
-
tenant?: {
|
|
45336
|
-
id: string;
|
|
45337
|
-
[key: string]: unknown;
|
|
45338
|
-
};
|
|
45339
|
-
options?: {
|
|
45340
|
-
streamResponse?: boolean;
|
|
45341
|
-
modelOverride?: string;
|
|
45342
|
-
recordMode?: 'existing' | 'create' | 'virtual';
|
|
45343
|
-
flowMode?: 'existing' | 'create' | 'virtual' | 'upsert';
|
|
45344
|
-
storeResults?: boolean;
|
|
45345
|
-
autoAppendMetadata?: boolean;
|
|
45346
|
-
debugMode?: boolean;
|
|
45347
|
-
environment?: DispatchEnvironment;
|
|
45348
|
-
createVersion?: boolean;
|
|
45349
|
-
versionType?: 'published' | 'draft' | 'test' | 'virtual';
|
|
45350
|
-
versionLabel?: string;
|
|
45351
|
-
versionNotes?: string;
|
|
45352
|
-
flowVersionId?: string;
|
|
45353
|
-
upsertOptions?: UpsertOptions;
|
|
45354
|
-
flowTimeoutMs?: number;
|
|
45355
|
-
stepTimeoutMs?: number;
|
|
45356
|
-
/**
|
|
45357
|
-
* Set false to disable prompt caching for this request (no cache markers,
|
|
45358
|
-
* no cache routing keys). Default: caching follows the account rollout.
|
|
45359
|
-
*/
|
|
45360
|
-
cache?: boolean;
|
|
45361
|
-
};
|
|
45362
|
-
}
|
|
46686
|
+
};
|
|
46687
|
+
/**
|
|
46688
|
+
* Canonical `/v1/dispatch` request body, generated from the API's shared
|
|
46689
|
+
* `DispatchRequestSchema`.
|
|
46690
|
+
*
|
|
46691
|
+
* The OpenAPI shape supplies every public field and option. This small union
|
|
46692
|
+
* adds the schema's cross-field invariant that at least one execution target
|
|
46693
|
+
* (`flow` or `agent`) is required, while preserving the stricter
|
|
46694
|
+
* {@link FlowStepDefinition} type for inline flow steps.
|
|
46695
|
+
*/
|
|
46696
|
+
type DispatchRequest = (DispatchRequestEnvelope & {
|
|
46697
|
+
flow: DispatchFlowInput;
|
|
46698
|
+
agent?: DispatchAgentInput;
|
|
46699
|
+
}) | (DispatchRequestEnvelope & {
|
|
46700
|
+
agent: DispatchAgentInput;
|
|
46701
|
+
flow?: DispatchFlowInput;
|
|
46702
|
+
});
|
|
45363
46703
|
interface ListParams {
|
|
45364
46704
|
limit?: number;
|
|
45365
46705
|
cursor?: string;
|
|
@@ -45385,9 +46725,9 @@ interface FlowToolConfig {
|
|
|
45385
46725
|
flowId?: string;
|
|
45386
46726
|
toolId?: string;
|
|
45387
46727
|
/**
|
|
45388
|
-
* Inline flow definition
|
|
45389
|
-
*
|
|
45390
|
-
*
|
|
46728
|
+
* Inline flow definition. Runtime-selected agent dispatches support this with
|
|
46729
|
+
* `options.useRuntimePackage: true`; hosted flow definitions currently
|
|
46730
|
+
* require a `flowId`/`toolId` reference.
|
|
45391
46731
|
*/
|
|
45392
46732
|
flow?: Record<string, unknown>;
|
|
45393
46733
|
/** Registered-flow name key for the runtime lane (`flowName ?? flowId`). */
|
|
@@ -45535,9 +46875,9 @@ interface RuntimeFlowToolConfig {
|
|
|
45535
46875
|
flowId?: string;
|
|
45536
46876
|
toolId?: string;
|
|
45537
46877
|
/**
|
|
45538
|
-
* Inline flow definition
|
|
45539
|
-
*
|
|
45540
|
-
*
|
|
46878
|
+
* Inline flow definition. Runtime-selected agent dispatches support this with
|
|
46879
|
+
* `options.useRuntimePackage: true`; hosted flow definitions currently
|
|
46880
|
+
* require a `flowId`/`toolId` reference.
|
|
45541
46881
|
*/
|
|
45542
46882
|
flow?: Record<string, unknown>;
|
|
45543
46883
|
/** Registered-flow name key for the runtime lane (`flowName ?? flowId`). */
|
|
@@ -45968,6 +47308,63 @@ interface SlackManifestResponse {
|
|
|
45968
47308
|
interactivityWebhookUrl?: string;
|
|
45969
47309
|
redirectUrl: string;
|
|
45970
47310
|
}
|
|
47311
|
+
interface EndUserUsageQuery {
|
|
47312
|
+
productId: string;
|
|
47313
|
+
productTenantId?: string;
|
|
47314
|
+
period?: 'billing_period' | '7d' | '30d' | '90d';
|
|
47315
|
+
days?: number;
|
|
47316
|
+
sort?: 'spend' | 'executions';
|
|
47317
|
+
limit?: number;
|
|
47318
|
+
}
|
|
47319
|
+
interface EndUserUsageResponse {
|
|
47320
|
+
generatedAt: string;
|
|
47321
|
+
period: {
|
|
47322
|
+
startDate: string;
|
|
47323
|
+
endDate: string;
|
|
47324
|
+
days: number;
|
|
47325
|
+
preset?: 'billing_period' | '7d' | '30d' | '90d';
|
|
47326
|
+
};
|
|
47327
|
+
scope: {
|
|
47328
|
+
productId: string;
|
|
47329
|
+
productTenantId: string | null;
|
|
47330
|
+
};
|
|
47331
|
+
/** Distinct tenant ids with usage in the window, independent of the tenant filter (most spend first, capped at 200). */
|
|
47332
|
+
tenantIds: string[];
|
|
47333
|
+
retention: {
|
|
47334
|
+
attributionStartedAt: string | null;
|
|
47335
|
+
earliestAvailableAt: string | null;
|
|
47336
|
+
retentionDays: 93;
|
|
47337
|
+
};
|
|
47338
|
+
totals: {
|
|
47339
|
+
executions: number;
|
|
47340
|
+
spendThousandthsCent: number;
|
|
47341
|
+
spendDollars: number;
|
|
47342
|
+
};
|
|
47343
|
+
coverage: {
|
|
47344
|
+
attributedExecutions: number;
|
|
47345
|
+
unattributedExecutions: number;
|
|
47346
|
+
attributedSpendThousandthsCent: number;
|
|
47347
|
+
unattributedSpendThousandthsCent: number;
|
|
47348
|
+
};
|
|
47349
|
+
endUsers: Array<{
|
|
47350
|
+
endUser: {
|
|
47351
|
+
id: string;
|
|
47352
|
+
name: string | null;
|
|
47353
|
+
email: string | null;
|
|
47354
|
+
productTenantId: string | null;
|
|
47355
|
+
};
|
|
47356
|
+
executions: number;
|
|
47357
|
+
spendThousandthsCent: number;
|
|
47358
|
+
spendDollars: number;
|
|
47359
|
+
costPerExecutionDollars: number | null;
|
|
47360
|
+
lastSeenAt: string;
|
|
47361
|
+
}>;
|
|
47362
|
+
unattributed: {
|
|
47363
|
+
executions: number;
|
|
47364
|
+
spendThousandthsCent: number;
|
|
47365
|
+
spendDollars: number;
|
|
47366
|
+
};
|
|
47367
|
+
}
|
|
45971
47368
|
type CurrentBilledSpendSource = 'schematic_entitlements' | 'local_meter' | 'dev_override';
|
|
45972
47369
|
interface CurrentBilledSpendResponse {
|
|
45973
47370
|
period: {
|
|
@@ -49793,9 +51190,22 @@ declare class RuntypeClient$1 {
|
|
|
49793
51190
|
*/
|
|
49794
51191
|
requestStream(path: string, options?: RequestInit): Promise<Response>;
|
|
49795
51192
|
/**
|
|
49796
|
-
* Dispatch flow execution (streaming)
|
|
51193
|
+
* Dispatch flow execution (streaming).
|
|
51194
|
+
*
|
|
51195
|
+
* This is the sole streaming-dispatch chokepoint for the flow builders
|
|
51196
|
+
* (`RuntypeFlowBuilder`), so it normalizes the request to the canonical
|
|
51197
|
+
* `/v1/dispatch` wire contract here — every builder path inherits the same
|
|
51198
|
+
* normalization the `DispatchEndpoint` applies, with no per-builder call.
|
|
49797
51199
|
*/
|
|
49798
51200
|
dispatch(config: unknown): Promise<Response>;
|
|
51201
|
+
/**
|
|
51202
|
+
* Dispatch flow execution (non-streaming JSON).
|
|
51203
|
+
*
|
|
51204
|
+
* The non-streaming sibling of {@link dispatch}; it normalizes to the same
|
|
51205
|
+
* canonical wire contract so builders never post a raw, un-normalized body,
|
|
51206
|
+
* and pins `streamResponse: false` so the server returns buffered JSON.
|
|
51207
|
+
*/
|
|
51208
|
+
dispatchJson<T>(config: unknown): Promise<T>;
|
|
49799
51209
|
/**
|
|
49800
51210
|
* Build full URL with query parameters
|
|
49801
51211
|
*/
|
|
@@ -50880,11 +52290,11 @@ declare class DispatchEndpoint {
|
|
|
50880
52290
|
executeStream(data: DispatchRequest): Promise<Response>;
|
|
50881
52291
|
/**
|
|
50882
52292
|
* Resume paused flow execution
|
|
50883
|
-
*
|
|
52293
|
+
* Uses buffered JSON when streamResponse is omitted.
|
|
50884
52294
|
*
|
|
50885
|
-
* @param data.
|
|
50886
|
-
* @param data.
|
|
50887
|
-
* @param data.
|
|
52295
|
+
* @param data.executionId - The execution ID to resume
|
|
52296
|
+
* @param data.toolOutputs - Tool outputs to inject into the flow
|
|
52297
|
+
* @param data.streamResponse - Whether to stream the response (defaults to false)
|
|
50888
52298
|
* @param data.messages - Optional messages to override the original dispatch messages
|
|
50889
52299
|
*/
|
|
50890
52300
|
resume(data: {
|
|
@@ -50978,6 +52388,10 @@ declare class AnalyticsEndpoint {
|
|
|
50978
52388
|
* Get model usage analytics
|
|
50979
52389
|
*/
|
|
50980
52390
|
getModelUsage(params?: ModelUsageQueryParams): Promise<ModelUsageResponse>;
|
|
52391
|
+
/**
|
|
52392
|
+
* Get execution and platform-spend usage grouped by projected product end user.
|
|
52393
|
+
*/
|
|
52394
|
+
getEndUserUsage(params: EndUserUsageQuery): Promise<EndUserUsageResponse>;
|
|
50981
52395
|
}
|
|
50982
52396
|
/**
|
|
50983
52397
|
* Flow Steps endpoint handlers
|
|
@@ -51361,6 +52775,7 @@ interface AgentToolStartEvent extends BaseAgentEvent {
|
|
|
51361
52775
|
toolName: string;
|
|
51362
52776
|
toolType: 'flow' | 'mcp' | 'builtin' | 'custom' | 'external' | 'advisor' | 'subagent' | 'local';
|
|
51363
52777
|
parameters?: Record<string, unknown>;
|
|
52778
|
+
hiddenParameterNames?: string[];
|
|
51364
52779
|
/**
|
|
51365
52780
|
* Provenance for client-executed tools (entered via
|
|
51366
52781
|
* `dispatch.clientTools[]`). `'webmcp'` marks page-discovered tools
|
|
@@ -52931,6 +54346,10 @@ type LocalToolHandler = (args: unknown) => Promise<unknown>;
|
|
|
52931
54346
|
*/
|
|
52932
54347
|
interface LocalToolEntry {
|
|
52933
54348
|
description: string;
|
|
54349
|
+
/**
|
|
54350
|
+
* Kept wide so callers may pass schema-builder output typed as a generic
|
|
54351
|
+
* record. Turn-scoped dispatch validates the required object root at runtime.
|
|
54352
|
+
*/
|
|
52934
54353
|
parametersSchema: Record<string, unknown>;
|
|
52935
54354
|
execute: (args: unknown) => Promise<unknown>;
|
|
52936
54355
|
origin?: 'webmcp' | 'sdk';
|
|
@@ -53201,7 +54620,7 @@ declare function parseLedgerArtifactRelativePath(value: string): string | undefi
|
|
|
53201
54620
|
*
|
|
53202
54621
|
* As of the unified-SSE cutover (runtypelabs/core unified-sse-default) the
|
|
53203
54622
|
* execution streams the SDK consumes — `/dispatch`, `/dispatch/resume`,
|
|
53204
|
-
* `/agents/{id}/execute`, `/agents/{id}/resume` — use the
|
|
54623
|
+
* `/agents/{id}/execute`, `/agents/{id}/resume` — use the 35-event unified
|
|
53205
54624
|
* vocabulary (`unifiedSSEEventSchema` in `@runtypelabs/shared`). The SDK
|
|
53206
54625
|
* translates those frames back into its stable, hand-written callback shapes
|
|
53207
54626
|
* here.
|
|
@@ -53215,9 +54634,14 @@ declare function parseLedgerArtifactRelativePath(value: string): string | undefi
|
|
|
53215
54634
|
* (`docs/features/planning/2026-06-16-persona-sse-event-merged-spec.md`).
|
|
53216
54635
|
*
|
|
53217
54636
|
* Scope: only the events the SDK's consumers actually read are reconstructed;
|
|
53218
|
-
* everything else (artifact channel, `source`, `
|
|
53219
|
-
* `
|
|
53220
|
-
*
|
|
54637
|
+
* everything else (artifact channel, `source`, the `state_snapshot` /
|
|
54638
|
+
* `state_delta` agent-state channel, `custom`, fallback live-beat, `step_skip`)
|
|
54639
|
+
* maps to zero callback events. The state channel is recognized as unified
|
|
54640
|
+
* vocabulary (so `isUnifiedEventType` is true and the wire union stays exhaustive)
|
|
54641
|
+
* but has no stable SDK callback shape to project onto; surfacing it to the SDK
|
|
54642
|
+
* callback surface is a separate additive slice, not a wire-translation concern.
|
|
54643
|
+
* Two unified-contract folds are NOT reconstructed because the unified
|
|
54644
|
+
* vocabulary deliberately discards them:
|
|
53221
54645
|
* - `agent_iteration_start` / `agent_iteration_complete` are folded into the
|
|
53222
54646
|
* `iteration` field on turn/tool frames, so `onIterationStart` /
|
|
53223
54647
|
* `onIterationComplete` no longer fire.
|
|
@@ -54657,4 +56081,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
54657
56081
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
54658
56082
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
54659
56083
|
|
|
54660
|
-
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CaseExpected, ChatEndpoint, type CheckGrader, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchClient, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|
|
56084
|
+
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, ChatEndpoint, type CheckGrader, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|