@runtypelabs/sdk 10.15.1 → 10.17.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 +40 -4
- package/dist/index.d.cts +505 -13
- package/dist/index.d.ts +505 -13
- package/dist/index.mjs +40 -4
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1014,6 +1014,11 @@ interface paths {
|
|
|
1014
1014
|
enabled: true;
|
|
1015
1015
|
types: ("markdown" | "component")[];
|
|
1016
1016
|
};
|
|
1017
|
+
busyMessageRouting?: {
|
|
1018
|
+
classifierModel?: string;
|
|
1019
|
+
/** @enum {string} */
|
|
1020
|
+
mode?: "enforced" | "off";
|
|
1021
|
+
};
|
|
1017
1022
|
contextManagement?: {
|
|
1018
1023
|
compaction?: {
|
|
1019
1024
|
enabled?: boolean;
|
|
@@ -1264,6 +1269,10 @@ interface paths {
|
|
|
1264
1269
|
topK?: number;
|
|
1265
1270
|
topP?: number;
|
|
1266
1271
|
voice?: {
|
|
1272
|
+
directTools?: {
|
|
1273
|
+
enabled?: boolean;
|
|
1274
|
+
model?: string;
|
|
1275
|
+
};
|
|
1267
1276
|
disclosure?: boolean;
|
|
1268
1277
|
elevenLabs?: {
|
|
1269
1278
|
modelId?: string;
|
|
@@ -1551,6 +1560,11 @@ interface paths {
|
|
|
1551
1560
|
enabled: true;
|
|
1552
1561
|
types: ("markdown" | "component")[];
|
|
1553
1562
|
};
|
|
1563
|
+
busyMessageRouting?: {
|
|
1564
|
+
classifierModel?: string;
|
|
1565
|
+
/** @enum {string} */
|
|
1566
|
+
mode?: "enforced" | "off";
|
|
1567
|
+
};
|
|
1554
1568
|
contextManagement?: {
|
|
1555
1569
|
compaction?: {
|
|
1556
1570
|
enabled?: boolean;
|
|
@@ -1801,6 +1815,10 @@ interface paths {
|
|
|
1801
1815
|
topK?: number;
|
|
1802
1816
|
topP?: number;
|
|
1803
1817
|
voice?: {
|
|
1818
|
+
directTools?: {
|
|
1819
|
+
enabled?: boolean;
|
|
1820
|
+
model?: string;
|
|
1821
|
+
};
|
|
1804
1822
|
disclosure?: boolean;
|
|
1805
1823
|
elevenLabs?: {
|
|
1806
1824
|
modelId?: string;
|
|
@@ -2377,6 +2395,11 @@ interface paths {
|
|
|
2377
2395
|
enabled: true;
|
|
2378
2396
|
types: ("markdown" | "component")[];
|
|
2379
2397
|
};
|
|
2398
|
+
busyMessageRouting?: {
|
|
2399
|
+
classifierModel?: string;
|
|
2400
|
+
/** @enum {string} */
|
|
2401
|
+
mode?: "enforced" | "off";
|
|
2402
|
+
};
|
|
2380
2403
|
contextManagement?: {
|
|
2381
2404
|
compaction?: {
|
|
2382
2405
|
enabled?: boolean;
|
|
@@ -2627,6 +2650,10 @@ interface paths {
|
|
|
2627
2650
|
topK?: number;
|
|
2628
2651
|
topP?: number;
|
|
2629
2652
|
voice?: {
|
|
2653
|
+
directTools?: {
|
|
2654
|
+
enabled?: boolean;
|
|
2655
|
+
model?: string;
|
|
2656
|
+
};
|
|
2630
2657
|
disclosure?: boolean;
|
|
2631
2658
|
elevenLabs?: {
|
|
2632
2659
|
modelId?: string;
|
|
@@ -4813,8 +4840,8 @@ interface paths {
|
|
|
4813
4840
|
parameters: {
|
|
4814
4841
|
query?: never;
|
|
4815
4842
|
header?: {
|
|
4816
|
-
/** @description How a durable turn handles overlap. `reject` (default) answers CONVERSATION_BUSY naming the occupant execution, its phase, and a Retry-After; `supersede` cancels and replaces; `queue` runs afterward; `steer` durably appends new user-message deltas to the same execution at a safe boundary, attaches through the host's slot claim when the host has not started yet, or starts the next execution if completion wins. Steer requires a conversationId, preserves configuration and authority, cannot combine with coalesce, and rejects unsupported lanes. Other policies remain ignored on in-process execution. */
|
|
4817
|
-
"x-runtype-concurrency"?: "reject" | "supersede" | "queue" | "steer";
|
|
4843
|
+
/** @description How a durable turn handles overlap. `reject` (default) answers CONVERSATION_BUSY naming the occupant execution, its phase, and a Retry-After; `supersede` cancels and replaces; `queue` runs afterward; `steer` durably appends new user-message deltas to the same execution at a safe boundary, attaches through the host's slot claim when the host has not started yet, or starts the next execution if completion wins. Steer requires a conversationId, preserves configuration and authority, cannot combine with coalesce, and rejects unsupported lanes. `auto` sends the same user-message deltas as steer and lets a classifier choose: while a turn runs, a message that belongs to it steers and an independent one queues as the next turn; with nothing running it is an ordinary turn with no route report. A routed or downgraded answer reports the route in `X-Runtype-Busy-Message-Route` / `-Source` (plus `-Probability` and `-Model` when the classifier answered) and, on JSON bodies, `busyMessageRoute`. Where auto cannot route (in-process execution, stored history, no conversationId, coalesce, Prefer: respond-async) it keeps the default admission and reports source `disabled`. Other policies remain ignored on in-process execution. */
|
|
4844
|
+
"x-runtype-concurrency"?: "reject" | "supersede" | "queue" | "steer" | "auto";
|
|
4818
4845
|
/** @description Send `true` to fold this request into an already-pending turn for the same conversation instead of starting a second one. The response is the pending execution. Any other value (or omitting the header) starts a new turn. */
|
|
4819
4846
|
"x-runtype-coalesce"?: "true";
|
|
4820
4847
|
/** @description Caller-chosen key that makes admission idempotent: a retry with the same key returns the ORIGINAL execution rather than starting a second turn, and consumes no additional quota. Scoped to the durable lane. */
|
|
@@ -9670,7 +9697,7 @@ interface paths {
|
|
|
9670
9697
|
put?: never;
|
|
9671
9698
|
/**
|
|
9672
9699
|
* Send a client chat message
|
|
9673
|
-
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs. Send `voice: { spoken: true }` when the user turn came from a live voice call and the reply will be spoken by a voice model; the turn then runs with a per-turn instruction to lead with a short, speakable answer, which is not stored in the conversation.
|
|
9700
|
+
* @description Send a message for a browser client-token chat session. The request streams flow/agent events over Server-Sent Events. `turnId` and `submitMode` are optional and let newer Persona clients suppress stale interrupted responses; older clients can omit both fields. Opt-in `steer` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; steering an existing execution returns a 202 delivery receipt without replacing its response. `auto` takes the same shape as `steer` and lets a classifier choose while a turn runs: a message that belongs to the running work steers it (202 delivery receipt), and an independent one queues as the next turn (202 queued handle); with nothing running it is an ordinary turn with no route report. A routed or downgraded answer carries `X-Runtype-Busy-Message-Route` and `X-Runtype-Busy-Message-Source` (plus `-Probability` and `-Model` when the classifier answered), repeated as `busyMessageRoute` on JSON bodies. Where `auto` cannot route (another lane, another message shape) it behaves as `normal` and reports source `disabled`. Retry with the same turn and message IDs. Send `voice: { spoken: true }` when the user turn came from a live voice call and the reply will be spoken by a voice model; the turn then runs with a per-turn instruction to lead with a short, speakable answer, which is not stored in the conversation.
|
|
9674
9701
|
*/
|
|
9675
9702
|
post: {
|
|
9676
9703
|
parameters: {
|
|
@@ -9750,7 +9777,7 @@ interface paths {
|
|
|
9750
9777
|
};
|
|
9751
9778
|
sessionId: string;
|
|
9752
9779
|
/** @enum {string} */
|
|
9753
|
-
submitMode?: "normal" | "interrupt" | "steer";
|
|
9780
|
+
submitMode?: "normal" | "interrupt" | "steer" | "auto";
|
|
9754
9781
|
turnId?: string;
|
|
9755
9782
|
/** @description Voice context for this turn. Omit for typed chat; behavior is unchanged when absent. */
|
|
9756
9783
|
voice?: {
|
|
@@ -9770,7 +9797,7 @@ interface paths {
|
|
|
9770
9797
|
"text/event-stream": unknown;
|
|
9771
9798
|
};
|
|
9772
9799
|
};
|
|
9773
|
-
/** @description Input accepted
|
|
9800
|
+
/** @description Input accepted without a new response stream: a steer receipt from the running execution, or (for `auto`) a queued handle for the next turn */
|
|
9774
9801
|
202: {
|
|
9775
9802
|
headers: {
|
|
9776
9803
|
[name: string]: unknown;
|
|
@@ -9779,6 +9806,7 @@ interface paths {
|
|
|
9779
9806
|
"application/json": {
|
|
9780
9807
|
/** @enum {boolean} */
|
|
9781
9808
|
accepted: true;
|
|
9809
|
+
busyMessageRoute?: components["schemas"]["BusyMessageRouteReport"];
|
|
9782
9810
|
conversationId: string;
|
|
9783
9811
|
deliveryId: string;
|
|
9784
9812
|
/** @enum {string} */
|
|
@@ -9786,7 +9814,15 @@ interface paths {
|
|
|
9786
9814
|
deliveryStatusUrl: string;
|
|
9787
9815
|
eventsUrl: string;
|
|
9788
9816
|
executionId: string;
|
|
9789
|
-
}
|
|
9817
|
+
} | ({
|
|
9818
|
+
busyMessageRoute: components["schemas"]["BusyMessageRouteReport"];
|
|
9819
|
+
/** @description The queued execution, distinct from the running one. */
|
|
9820
|
+
executionId: string;
|
|
9821
|
+
/** @description `queued` until the running execution finishes. */
|
|
9822
|
+
status: string;
|
|
9823
|
+
} & {
|
|
9824
|
+
[key: string]: unknown;
|
|
9825
|
+
});
|
|
9790
9826
|
};
|
|
9791
9827
|
};
|
|
9792
9828
|
/** @description Validation error */
|
|
@@ -13730,6 +13766,26 @@ interface paths {
|
|
|
13730
13766
|
patch?: never;
|
|
13731
13767
|
trace?: never;
|
|
13732
13768
|
};
|
|
13769
|
+
"/v1/decision-models": {
|
|
13770
|
+
parameters: {
|
|
13771
|
+
query?: never;
|
|
13772
|
+
header?: never;
|
|
13773
|
+
path?: never;
|
|
13774
|
+
cookie?: never;
|
|
13775
|
+
};
|
|
13776
|
+
/**
|
|
13777
|
+
* List decision models
|
|
13778
|
+
* @description List supported decision-only models, their native routes, question constraints, pricing and credential requirements. This static catalog does not verify organization credentials, provider policy, account eligibility or spending readiness. Execution performs those checks. These models are not chat models.
|
|
13779
|
+
*/
|
|
13780
|
+
get: operations["listDecisionModels"];
|
|
13781
|
+
put?: never;
|
|
13782
|
+
post?: never;
|
|
13783
|
+
delete?: never;
|
|
13784
|
+
options?: never;
|
|
13785
|
+
head?: never;
|
|
13786
|
+
patch?: never;
|
|
13787
|
+
trace?: never;
|
|
13788
|
+
};
|
|
13733
13789
|
"/v1/devices": {
|
|
13734
13790
|
parameters: {
|
|
13735
13791
|
query?: never;
|
|
@@ -14324,7 +14380,7 @@ interface paths {
|
|
|
14324
14380
|
put?: never;
|
|
14325
14381
|
/**
|
|
14326
14382
|
* Execute a flow or agent
|
|
14327
|
-
* @description Main dispatch endpoint for flow and agent execution with record resolution. Supports streaming via SSE or synchronous JSON responses. Send the RFC 7240 `Prefer: respond-async` header to receive a durable execution handle immediately, then poll its status URL for completion. A saved agent may run on the durable session lane; the admission headers `x-runtype-concurrency` (reject, supersede, queue, steer), `x-runtype-coalesce` (true) and `idempotency-key` then apply exactly as on `POST /v1/agents/{id}/execute`, and are ignored for in-process execution except steer, which fails explicitly on unsupported lanes. Any other x-runtype-concurrency value is refused with 400 INVALID_CONCURRENCY_MODE. Steer accepts only new user-message deltas, preserves the active execution configuration and authority, and returns a deliveryId with a deliveryStatusUrl. Prefer: respond-async with steer returns a native delivery receipt without queuing an HTTP replay.
|
|
14383
|
+
* @description Main dispatch endpoint for flow and agent execution with record resolution. Supports streaming via SSE or synchronous JSON responses. Send the RFC 7240 `Prefer: respond-async` header to receive a durable execution handle immediately, then poll its status URL for completion. A saved agent may run on the durable session lane; the admission headers `x-runtype-concurrency` (reject, supersede, queue, steer), `x-runtype-coalesce` (true) and `idempotency-key` then apply exactly as on `POST /v1/agents/{id}/execute`, and are ignored for in-process execution except steer, which fails explicitly on unsupported lanes. `x-runtype-concurrency: auto` sends the same user-message deltas as steer and lets a classifier choose: while a turn runs, a message that belongs to it steers and an independent one queues as the next turn; with nothing running it is an ordinary turn with no route report. A routed or downgraded answer carries `X-Runtype-Busy-Message-Route` (steer or queue) and `X-Runtype-Busy-Message-Source` (classifier, shadow, abstained, timeout, error, unanswered, circuit_open, or disabled), plus `X-Runtype-Busy-Message-Probability` and `X-Runtype-Busy-Message-Model` when the classifier answered; JSON bodies repeat them as `busyMessageRoute`. Where auto cannot route (in-process execution, stored history, a flow, no conversationId, coalesce, Prefer: respond-async) it keeps the default admission and reports source `disabled`. Any other x-runtype-concurrency value is refused with 400 INVALID_CONCURRENCY_MODE. Steer accepts only new user-message deltas, preserves the active execution configuration and authority, and returns a deliveryId with a deliveryStatusUrl. Prefer: respond-async with steer returns a native delivery receipt without queuing an HTTP replay.
|
|
14328
14384
|
*/
|
|
14329
14385
|
post: {
|
|
14330
14386
|
parameters: {
|
|
@@ -14350,6 +14406,11 @@ interface paths {
|
|
|
14350
14406
|
enabled: true;
|
|
14351
14407
|
types: ("markdown" | "component")[];
|
|
14352
14408
|
};
|
|
14409
|
+
busyMessageRouting?: {
|
|
14410
|
+
classifierModel?: string;
|
|
14411
|
+
/** @enum {string} */
|
|
14412
|
+
mode?: "enforced" | "off";
|
|
14413
|
+
};
|
|
14353
14414
|
claudeManagedConfig?: {
|
|
14354
14415
|
anthropicAgentId?: string;
|
|
14355
14416
|
anthropicAgentVersion?: number;
|
|
@@ -14536,6 +14597,10 @@ interface paths {
|
|
|
14536
14597
|
topP?: number;
|
|
14537
14598
|
versionId?: string;
|
|
14538
14599
|
voice?: {
|
|
14600
|
+
directTools?: {
|
|
14601
|
+
enabled?: boolean;
|
|
14602
|
+
model?: string;
|
|
14603
|
+
};
|
|
14539
14604
|
disclosure?: boolean;
|
|
14540
14605
|
elevenLabs?: {
|
|
14541
14606
|
modelId?: string;
|
|
@@ -14619,6 +14684,7 @@ interface paths {
|
|
|
14619
14684
|
pathPattern?: string;
|
|
14620
14685
|
secretKey: string;
|
|
14621
14686
|
}[];
|
|
14687
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
14622
14688
|
endUser?: {
|
|
14623
14689
|
email?: string;
|
|
14624
14690
|
id: string;
|
|
@@ -14790,6 +14856,7 @@ interface paths {
|
|
|
14790
14856
|
secrets?: {
|
|
14791
14857
|
[key: string]: string;
|
|
14792
14858
|
};
|
|
14859
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
14793
14860
|
tenant?: {
|
|
14794
14861
|
id: string;
|
|
14795
14862
|
} & {
|
|
@@ -14810,6 +14877,11 @@ interface paths {
|
|
|
14810
14877
|
enabled: true;
|
|
14811
14878
|
types: ("markdown" | "component")[];
|
|
14812
14879
|
};
|
|
14880
|
+
busyMessageRouting?: {
|
|
14881
|
+
classifierModel?: string;
|
|
14882
|
+
/** @enum {string} */
|
|
14883
|
+
mode?: "enforced" | "off";
|
|
14884
|
+
};
|
|
14813
14885
|
claudeManagedConfig?: {
|
|
14814
14886
|
anthropicAgentId?: string;
|
|
14815
14887
|
anthropicAgentVersion?: number;
|
|
@@ -14996,6 +15068,10 @@ interface paths {
|
|
|
14996
15068
|
topP?: number;
|
|
14997
15069
|
versionId?: string;
|
|
14998
15070
|
voice?: {
|
|
15071
|
+
directTools?: {
|
|
15072
|
+
enabled?: boolean;
|
|
15073
|
+
model?: string;
|
|
15074
|
+
};
|
|
14999
15075
|
disclosure?: boolean;
|
|
15000
15076
|
elevenLabs?: {
|
|
15001
15077
|
modelId?: string;
|
|
@@ -15079,6 +15155,7 @@ interface paths {
|
|
|
15079
15155
|
pathPattern?: string;
|
|
15080
15156
|
secretKey: string;
|
|
15081
15157
|
}[];
|
|
15158
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
15082
15159
|
endUser?: {
|
|
15083
15160
|
email?: string;
|
|
15084
15161
|
id: string;
|
|
@@ -15250,6 +15327,7 @@ interface paths {
|
|
|
15250
15327
|
secrets?: {
|
|
15251
15328
|
[key: string]: string;
|
|
15252
15329
|
};
|
|
15330
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
15253
15331
|
tenant?: {
|
|
15254
15332
|
id: string;
|
|
15255
15333
|
} & {
|
|
@@ -16895,10 +16973,23 @@ interface paths {
|
|
|
16895
16973
|
};
|
|
16896
16974
|
/** @default {} */
|
|
16897
16975
|
input?: {
|
|
16976
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
16977
|
+
endUser?: {
|
|
16978
|
+
email?: string;
|
|
16979
|
+
id: string;
|
|
16980
|
+
} & {
|
|
16981
|
+
[key: string]: unknown;
|
|
16982
|
+
};
|
|
16898
16983
|
messages?: {
|
|
16899
16984
|
content: string;
|
|
16900
16985
|
role: string;
|
|
16901
16986
|
}[];
|
|
16987
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
16988
|
+
tenant?: {
|
|
16989
|
+
id: string;
|
|
16990
|
+
} & {
|
|
16991
|
+
[key: string]: unknown;
|
|
16992
|
+
};
|
|
16902
16993
|
toolMocks?: {
|
|
16903
16994
|
input?: unknown;
|
|
16904
16995
|
isError?: boolean;
|
|
@@ -16915,6 +17006,22 @@ interface paths {
|
|
|
16915
17006
|
};
|
|
16916
17007
|
name: string;
|
|
16917
17008
|
}[];
|
|
17009
|
+
/** @description Default identity (endUser / tenant) every case runs as unless the case sets its own. Omitting it on a converge clears the stored default. */
|
|
17010
|
+
identityDefaults?: {
|
|
17011
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
17012
|
+
endUser?: {
|
|
17013
|
+
email?: string;
|
|
17014
|
+
id: string;
|
|
17015
|
+
} & {
|
|
17016
|
+
[key: string]: unknown;
|
|
17017
|
+
};
|
|
17018
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
17019
|
+
tenant?: {
|
|
17020
|
+
id: string;
|
|
17021
|
+
} & {
|
|
17022
|
+
[key: string]: unknown;
|
|
17023
|
+
};
|
|
17024
|
+
};
|
|
16918
17025
|
name: string;
|
|
16919
17026
|
/**
|
|
16920
17027
|
* @description How cases carrying toolMocks replay — captured (saved_from_run) or hand-authored alike: "next_step" (default; captured cases only) captures the first tool intent and stops, or "continue" serves each case's toolMocks by tool name and runs past the first action.
|
|
@@ -17376,10 +17483,23 @@ interface paths {
|
|
|
17376
17483
|
};
|
|
17377
17484
|
/** @default {} */
|
|
17378
17485
|
input?: {
|
|
17486
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
17487
|
+
endUser?: {
|
|
17488
|
+
email?: string;
|
|
17489
|
+
id: string;
|
|
17490
|
+
} & {
|
|
17491
|
+
[key: string]: unknown;
|
|
17492
|
+
};
|
|
17379
17493
|
messages?: {
|
|
17380
17494
|
content: string;
|
|
17381
17495
|
role: string;
|
|
17382
17496
|
}[];
|
|
17497
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
17498
|
+
tenant?: {
|
|
17499
|
+
id: string;
|
|
17500
|
+
} & {
|
|
17501
|
+
[key: string]: unknown;
|
|
17502
|
+
};
|
|
17383
17503
|
toolMocks?: {
|
|
17384
17504
|
input?: unknown;
|
|
17385
17505
|
isError?: boolean;
|
|
@@ -17396,6 +17516,22 @@ interface paths {
|
|
|
17396
17516
|
};
|
|
17397
17517
|
name: string;
|
|
17398
17518
|
}[];
|
|
17519
|
+
/** @description Default identity (endUser / tenant) every case runs as unless the case sets its own. Omitting it on a converge clears the stored default. */
|
|
17520
|
+
identityDefaults?: {
|
|
17521
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
17522
|
+
endUser?: {
|
|
17523
|
+
email?: string;
|
|
17524
|
+
id: string;
|
|
17525
|
+
} & {
|
|
17526
|
+
[key: string]: unknown;
|
|
17527
|
+
};
|
|
17528
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
17529
|
+
tenant?: {
|
|
17530
|
+
id: string;
|
|
17531
|
+
} & {
|
|
17532
|
+
[key: string]: unknown;
|
|
17533
|
+
};
|
|
17534
|
+
};
|
|
17399
17535
|
name: string;
|
|
17400
17536
|
/**
|
|
17401
17537
|
* @description How cases carrying toolMocks replay — captured (saved_from_run) or hand-authored alike: "next_step" (default; captured cases only) captures the first tool intent and stops, or "continue" serves each case's toolMocks by tool name and runs past the first action.
|
|
@@ -17988,6 +18124,13 @@ interface paths {
|
|
|
17988
18124
|
sourceConversationId?: string;
|
|
17989
18125
|
sourceExecutionId?: string;
|
|
17990
18126
|
};
|
|
18127
|
+
/** @description End user this case runs as (exposed to tools as _endUser.*, used to mint {{_identity.token}}). Overrides the suite identityDefaults.endUser. Required (or a suite default) when the agent sets config.tenancyStrategy. */
|
|
18128
|
+
endUser?: {
|
|
18129
|
+
email?: string;
|
|
18130
|
+
id: string;
|
|
18131
|
+
} & {
|
|
18132
|
+
[key: string]: unknown;
|
|
18133
|
+
};
|
|
17991
18134
|
messages?: {
|
|
17992
18135
|
content: string;
|
|
17993
18136
|
role: string;
|
|
@@ -18002,6 +18145,12 @@ interface paths {
|
|
|
18002
18145
|
toolName: string;
|
|
18003
18146
|
}[];
|
|
18004
18147
|
}[];
|
|
18148
|
+
/** @description Product tenant this case runs within (exposed as _tenant.*). Overrides the suite identityDefaults.tenant. */
|
|
18149
|
+
tenant?: {
|
|
18150
|
+
id: string;
|
|
18151
|
+
} & {
|
|
18152
|
+
[key: string]: unknown;
|
|
18153
|
+
};
|
|
18005
18154
|
toolMocks?: {
|
|
18006
18155
|
input?: unknown;
|
|
18007
18156
|
isError?: boolean;
|
|
@@ -18035,6 +18184,22 @@ interface paths {
|
|
|
18035
18184
|
} & {
|
|
18036
18185
|
[key: string]: unknown;
|
|
18037
18186
|
})[];
|
|
18187
|
+
/** @description Default identity (endUser / tenant) every case runs as unless the case sets its own. Required (or per-case identity) when the agent sets config.tenancyStrategy. No credentials: the identity is asserted by the suite author. */
|
|
18188
|
+
identityDefaults?: {
|
|
18189
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
18190
|
+
endUser?: {
|
|
18191
|
+
email?: string;
|
|
18192
|
+
id: string;
|
|
18193
|
+
} & {
|
|
18194
|
+
[key: string]: unknown;
|
|
18195
|
+
};
|
|
18196
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
18197
|
+
tenant?: {
|
|
18198
|
+
id: string;
|
|
18199
|
+
} & {
|
|
18200
|
+
[key: string]: unknown;
|
|
18201
|
+
};
|
|
18202
|
+
};
|
|
18038
18203
|
/** @description Make this the default eval for its target (clears the flag on any other suite for the same target). */
|
|
18039
18204
|
isDefault?: boolean;
|
|
18040
18205
|
name: string;
|
|
@@ -18275,6 +18440,22 @@ interface paths {
|
|
|
18275
18440
|
} & {
|
|
18276
18441
|
[key: string]: unknown;
|
|
18277
18442
|
})[];
|
|
18443
|
+
/** @description Default identity (endUser / tenant) every case runs as unless the case sets its own; replaces the stored value. null clears it. */
|
|
18444
|
+
identityDefaults?: {
|
|
18445
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
18446
|
+
endUser?: {
|
|
18447
|
+
email?: string;
|
|
18448
|
+
id: string;
|
|
18449
|
+
} & {
|
|
18450
|
+
[key: string]: unknown;
|
|
18451
|
+
};
|
|
18452
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
18453
|
+
tenant?: {
|
|
18454
|
+
id: string;
|
|
18455
|
+
} & {
|
|
18456
|
+
[key: string]: unknown;
|
|
18457
|
+
};
|
|
18458
|
+
} | null;
|
|
18278
18459
|
isDefault?: boolean;
|
|
18279
18460
|
name?: string;
|
|
18280
18461
|
/**
|
|
@@ -18394,6 +18575,13 @@ interface paths {
|
|
|
18394
18575
|
sourceConversationId?: string;
|
|
18395
18576
|
sourceExecutionId?: string;
|
|
18396
18577
|
};
|
|
18578
|
+
/** @description End user this case runs as (exposed to tools as _endUser.*, used to mint {{_identity.token}}). Overrides the suite identityDefaults.endUser. Required (or a suite default) when the agent sets config.tenancyStrategy. */
|
|
18579
|
+
endUser?: {
|
|
18580
|
+
email?: string;
|
|
18581
|
+
id: string;
|
|
18582
|
+
} & {
|
|
18583
|
+
[key: string]: unknown;
|
|
18584
|
+
};
|
|
18397
18585
|
messages?: {
|
|
18398
18586
|
content: string;
|
|
18399
18587
|
role: string;
|
|
@@ -18408,6 +18596,12 @@ interface paths {
|
|
|
18408
18596
|
toolName: string;
|
|
18409
18597
|
}[];
|
|
18410
18598
|
}[];
|
|
18599
|
+
/** @description Product tenant this case runs within (exposed as _tenant.*). Overrides the suite identityDefaults.tenant. */
|
|
18600
|
+
tenant?: {
|
|
18601
|
+
id: string;
|
|
18602
|
+
} & {
|
|
18603
|
+
[key: string]: unknown;
|
|
18604
|
+
};
|
|
18411
18605
|
toolMocks?: {
|
|
18412
18606
|
input?: unknown;
|
|
18413
18607
|
isError?: boolean;
|
|
@@ -18712,6 +18906,13 @@ interface paths {
|
|
|
18712
18906
|
sourceConversationId?: string;
|
|
18713
18907
|
sourceExecutionId?: string;
|
|
18714
18908
|
};
|
|
18909
|
+
/** @description End user this case runs as (exposed to tools as _endUser.*, used to mint {{_identity.token}}). Overrides the suite identityDefaults.endUser. Required (or a suite default) when the agent sets config.tenancyStrategy. */
|
|
18910
|
+
endUser?: {
|
|
18911
|
+
email?: string;
|
|
18912
|
+
id: string;
|
|
18913
|
+
} & {
|
|
18914
|
+
[key: string]: unknown;
|
|
18915
|
+
};
|
|
18715
18916
|
messages?: {
|
|
18716
18917
|
content: string;
|
|
18717
18918
|
role: string;
|
|
@@ -18726,6 +18927,12 @@ interface paths {
|
|
|
18726
18927
|
toolName: string;
|
|
18727
18928
|
}[];
|
|
18728
18929
|
}[];
|
|
18930
|
+
/** @description Product tenant this case runs within (exposed as _tenant.*). Overrides the suite identityDefaults.tenant. */
|
|
18931
|
+
tenant?: {
|
|
18932
|
+
id: string;
|
|
18933
|
+
} & {
|
|
18934
|
+
[key: string]: unknown;
|
|
18935
|
+
};
|
|
18729
18936
|
toolMocks?: {
|
|
18730
18937
|
input?: unknown;
|
|
18731
18938
|
isError?: boolean;
|
|
@@ -19149,12 +19356,25 @@ interface paths {
|
|
|
19149
19356
|
sourceConversationId?: string;
|
|
19150
19357
|
sourceExecutionId?: string;
|
|
19151
19358
|
};
|
|
19359
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
19360
|
+
endUser?: {
|
|
19361
|
+
email?: string;
|
|
19362
|
+
id: string;
|
|
19363
|
+
} & {
|
|
19364
|
+
[key: string]: unknown;
|
|
19365
|
+
};
|
|
19152
19366
|
messages?: ({
|
|
19153
19367
|
content: string;
|
|
19154
19368
|
role: string;
|
|
19155
19369
|
} & {
|
|
19156
19370
|
[key: string]: unknown;
|
|
19157
19371
|
})[];
|
|
19372
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
19373
|
+
tenant?: {
|
|
19374
|
+
id: string;
|
|
19375
|
+
} & {
|
|
19376
|
+
[key: string]: unknown;
|
|
19377
|
+
};
|
|
19158
19378
|
toolMocks?: {
|
|
19159
19379
|
input?: unknown;
|
|
19160
19380
|
isError?: boolean;
|
|
@@ -52061,6 +52281,7 @@ interface paths {
|
|
|
52061
52281
|
enableCanvasOnboarding: boolean;
|
|
52062
52282
|
enableChromeSurface: boolean;
|
|
52063
52283
|
enableDashboardAssistant: boolean;
|
|
52284
|
+
enableDecisionModelsDashboard: boolean;
|
|
52064
52285
|
enableEndUserUsageAnalytics: boolean;
|
|
52065
52286
|
enableMassiveWebRender: boolean;
|
|
52066
52287
|
enableOnboardingIntentGate: boolean;
|
|
@@ -52707,6 +52928,8 @@ interface components {
|
|
|
52707
52928
|
error: string;
|
|
52708
52929
|
};
|
|
52709
52930
|
AgentEnsureResponse: {
|
|
52931
|
+
/** @description Non-blocking advisories, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED when this converge (or, on a dry run, the planned one) changes what active schedules run into a version they cannot run. */
|
|
52932
|
+
_warnings?: string[];
|
|
52710
52933
|
agentId: string;
|
|
52711
52934
|
/** @description Present when the request carried capabilities: one row per declared capability, then removals. */
|
|
52712
52935
|
capabilityChanges?: components["schemas"]["AgentEnsureCapabilityChange"][];
|
|
@@ -52725,6 +52948,8 @@ interface components {
|
|
|
52725
52948
|
/** @enum {string} */
|
|
52726
52949
|
result: "definitionRequired";
|
|
52727
52950
|
} | {
|
|
52951
|
+
/** @description Non-blocking advisories, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED when this converge (or, on a dry run, the planned one) changes what active schedules run into a version they cannot run. */
|
|
52952
|
+
_warnings?: string[];
|
|
52728
52953
|
agentId?: string;
|
|
52729
52954
|
/** @description Present when the request carried capabilities: one row per declared capability, then removals. */
|
|
52730
52955
|
capabilityChanges?: components["schemas"]["AgentEnsureCapabilityChange"][];
|
|
@@ -52794,6 +53019,11 @@ interface components {
|
|
|
52794
53019
|
enabled: true;
|
|
52795
53020
|
types: ("markdown" | "component")[];
|
|
52796
53021
|
};
|
|
53022
|
+
busyMessageRouting?: {
|
|
53023
|
+
classifierModel?: string;
|
|
53024
|
+
/** @enum {string} */
|
|
53025
|
+
mode?: "enforced" | "off";
|
|
53026
|
+
};
|
|
52797
53027
|
contextManagement?: {
|
|
52798
53028
|
compaction?: {
|
|
52799
53029
|
enabled?: boolean;
|
|
@@ -53044,6 +53274,10 @@ interface components {
|
|
|
53044
53274
|
topK?: number;
|
|
53045
53275
|
topP?: number;
|
|
53046
53276
|
voice?: {
|
|
53277
|
+
directTools?: {
|
|
53278
|
+
enabled?: boolean;
|
|
53279
|
+
model?: string;
|
|
53280
|
+
};
|
|
53047
53281
|
disclosure?: boolean;
|
|
53048
53282
|
elevenLabs?: {
|
|
53049
53283
|
modelId?: string;
|
|
@@ -53185,7 +53419,7 @@ interface components {
|
|
|
53185
53419
|
reasons: string[];
|
|
53186
53420
|
};
|
|
53187
53421
|
BuiltinToolExecuteResult: {
|
|
53188
|
-
/** @description Execution metadata for the caller, never part of a model-facing tool result. builtin:typesafe_judge sets metadata.judgment: requestedModel, resolvedModelId (null when not reported), calibrationId (null when absent), keySource, questionSetId and questionSetVersion (configured mode), usage { inputTokens, outputTokens, reported }, and estimatedCostUsd (provider rates, before margin). */
|
|
53422
|
+
/** @description Execution metadata for the caller, never part of a model-facing tool result. builtin:typesafe_judge sets metadata.judgment: requestedModel, resolvedModelId (null when not reported), provider, route, calibrationId (null when absent), keySource, questionSetId and questionSetVersion (configured mode), usage { inputTokens, outputTokens, reported }, and estimatedCostUsd (provider rates, before margin). */
|
|
53189
53423
|
metadata?: {
|
|
53190
53424
|
[key: string]: unknown;
|
|
53191
53425
|
};
|
|
@@ -53193,6 +53427,27 @@ interface components {
|
|
|
53193
53427
|
toolId: string;
|
|
53194
53428
|
toolName: string;
|
|
53195
53429
|
};
|
|
53430
|
+
BusyMessageRouteReport: {
|
|
53431
|
+
/** @description The decision model that answered. */
|
|
53432
|
+
model?: string;
|
|
53433
|
+
/** @description Probability the message belongs to the running work (classifier only). */
|
|
53434
|
+
probability?: number;
|
|
53435
|
+
/**
|
|
53436
|
+
* @description Where the message went: into the running execution, or after it.
|
|
53437
|
+
* @enum {string}
|
|
53438
|
+
*/
|
|
53439
|
+
route: "steer" | "queue";
|
|
53440
|
+
/**
|
|
53441
|
+
* @description Why this route applied.
|
|
53442
|
+
* @enum {string}
|
|
53443
|
+
*/
|
|
53444
|
+
source: "classifier" | "abstained" | "timeout" | "error" | "unanswered" | "circuit_open" | "disabled";
|
|
53445
|
+
/**
|
|
53446
|
+
* @description The classifier chose steer but the running execution could no longer take input.
|
|
53447
|
+
* @enum {boolean}
|
|
53448
|
+
*/
|
|
53449
|
+
steerUnavailable?: true;
|
|
53450
|
+
};
|
|
53196
53451
|
CaptureExecutionPreview: {
|
|
53197
53452
|
/** @description The recorded tool-call actions in invocation order — the fork-picker rows. */
|
|
53198
53453
|
actions: components["schemas"]["CaptureExecutionPreviewAction"][];
|
|
@@ -53588,6 +53843,11 @@ interface components {
|
|
|
53588
53843
|
enabled: true;
|
|
53589
53844
|
types: ("markdown" | "component")[];
|
|
53590
53845
|
};
|
|
53846
|
+
busyMessageRouting?: {
|
|
53847
|
+
classifierModel?: string;
|
|
53848
|
+
/** @enum {string} */
|
|
53849
|
+
mode?: "enforced" | "off";
|
|
53850
|
+
};
|
|
53591
53851
|
contextManagement?: {
|
|
53592
53852
|
compaction?: {
|
|
53593
53853
|
enabled?: boolean;
|
|
@@ -53838,6 +54098,10 @@ interface components {
|
|
|
53838
54098
|
topK?: number;
|
|
53839
54099
|
topP?: number;
|
|
53840
54100
|
voice?: {
|
|
54101
|
+
directTools?: {
|
|
54102
|
+
enabled?: boolean;
|
|
54103
|
+
model?: string;
|
|
54104
|
+
};
|
|
53841
54105
|
disclosure?: boolean;
|
|
53842
54106
|
elevenLabs?: {
|
|
53843
54107
|
modelId?: string;
|
|
@@ -53928,6 +54192,36 @@ interface components {
|
|
|
53928
54192
|
tier: string;
|
|
53929
54193
|
};
|
|
53930
54194
|
};
|
|
54195
|
+
DecisionModel: {
|
|
54196
|
+
contextWindow: number | null;
|
|
54197
|
+
credentialRequirements: {
|
|
54198
|
+
organizationCredentialSupported: boolean;
|
|
54199
|
+
platformFundingSupported: boolean;
|
|
54200
|
+
/** @enum {string} */
|
|
54201
|
+
provider: "vercel" | "openai" | "platform";
|
|
54202
|
+
};
|
|
54203
|
+
description: string;
|
|
54204
|
+
docsUrl: string;
|
|
54205
|
+
id: string;
|
|
54206
|
+
inputKinds: ("text" | "json")[];
|
|
54207
|
+
maxChoiceOptions: number;
|
|
54208
|
+
maxQuestions: number | null;
|
|
54209
|
+
maxScoreLevels: number;
|
|
54210
|
+
minChoiceOptions: number;
|
|
54211
|
+
name: string;
|
|
54212
|
+
platformFunding: boolean;
|
|
54213
|
+
pricing: {
|
|
54214
|
+
inputPer1MTokens: number;
|
|
54215
|
+
inputPerToken: string;
|
|
54216
|
+
outputPer1MTokens: number;
|
|
54217
|
+
outputPerToken: string;
|
|
54218
|
+
} | null;
|
|
54219
|
+
/** @enum {string} */
|
|
54220
|
+
provider: "vercel" | "openai" | "cloudflare";
|
|
54221
|
+
providerModelId: string;
|
|
54222
|
+
/** @enum {string} */
|
|
54223
|
+
route: "vercel-ai-gateway" | "openai-decisions" | "cloudflare-workers-ai";
|
|
54224
|
+
};
|
|
53931
54225
|
DeclareProductStackRequest: {
|
|
53932
54226
|
/** @description Everything this source says the product is built on. Replaces the previous declaration from the same source whole; an empty list clears it. Keys follow the detected ones (model:<id>, data:<engine>, runtime:<name>, integration:<id>) so a declared item and a detected one show once, else custom:<slug>. */
|
|
53933
54227
|
items: components["schemas"]["ProductStackItem"][];
|
|
@@ -54211,7 +54505,7 @@ interface components {
|
|
|
54211
54505
|
/** @description Per-case graders that REPLACE the suite graders for this case, or null when the case uses the suite graders. */
|
|
54212
54506
|
graders: unknown[] | null;
|
|
54213
54507
|
id: string;
|
|
54214
|
-
/** @description { variables?, messages? } — what the case feeds the target. */
|
|
54508
|
+
/** @description { variables?, messages?, toolMocks?, endUser?, tenant? } — what the case feeds the target and the identity it runs as. */
|
|
54215
54509
|
input?: unknown;
|
|
54216
54510
|
name: string;
|
|
54217
54511
|
notes: string | null;
|
|
@@ -54382,10 +54676,23 @@ interface components {
|
|
|
54382
54676
|
};
|
|
54383
54677
|
/** @default {} */
|
|
54384
54678
|
input: {
|
|
54679
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
54680
|
+
endUser?: {
|
|
54681
|
+
email?: string;
|
|
54682
|
+
id: string;
|
|
54683
|
+
} & {
|
|
54684
|
+
[key: string]: unknown;
|
|
54685
|
+
};
|
|
54385
54686
|
messages?: {
|
|
54386
54687
|
content: string;
|
|
54387
54688
|
role: string;
|
|
54388
54689
|
}[];
|
|
54690
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
54691
|
+
tenant?: {
|
|
54692
|
+
id: string;
|
|
54693
|
+
} & {
|
|
54694
|
+
[key: string]: unknown;
|
|
54695
|
+
};
|
|
54389
54696
|
toolMocks?: {
|
|
54390
54697
|
input?: unknown;
|
|
54391
54698
|
isError?: boolean;
|
|
@@ -54402,6 +54709,22 @@ interface components {
|
|
|
54402
54709
|
};
|
|
54403
54710
|
name: string;
|
|
54404
54711
|
}[];
|
|
54712
|
+
/** @description Default identity (endUser / tenant) every case runs as unless the case sets its own. Omitting it on a converge clears the stored default. */
|
|
54713
|
+
identityDefaults?: {
|
|
54714
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
54715
|
+
endUser?: {
|
|
54716
|
+
email?: string;
|
|
54717
|
+
id: string;
|
|
54718
|
+
} & {
|
|
54719
|
+
[key: string]: unknown;
|
|
54720
|
+
};
|
|
54721
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
54722
|
+
tenant?: {
|
|
54723
|
+
id: string;
|
|
54724
|
+
} & {
|
|
54725
|
+
[key: string]: unknown;
|
|
54726
|
+
};
|
|
54727
|
+
};
|
|
54405
54728
|
name: string;
|
|
54406
54729
|
/**
|
|
54407
54730
|
* @description How cases carrying toolMocks replay — captured (saved_from_run) or hand-authored alike: "next_step" (default; captured cases only) captures the first tool intent and stops, or "continue" serves each case's toolMocks by tool name and runs past the first action.
|
|
@@ -54544,6 +54867,22 @@ interface components {
|
|
|
54544
54867
|
/** @description Ordered GraderConfig[] applied to every case. */
|
|
54545
54868
|
graders: unknown[];
|
|
54546
54869
|
id: string;
|
|
54870
|
+
/** @description Default identity (endUser / tenant) cases run as unless they set their own; null when unset. */
|
|
54871
|
+
identityDefaults: {
|
|
54872
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
54873
|
+
endUser?: {
|
|
54874
|
+
email?: string;
|
|
54875
|
+
id: string;
|
|
54876
|
+
} & {
|
|
54877
|
+
[key: string]: unknown;
|
|
54878
|
+
};
|
|
54879
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
54880
|
+
tenant?: {
|
|
54881
|
+
id: string;
|
|
54882
|
+
} & {
|
|
54883
|
+
[key: string]: unknown;
|
|
54884
|
+
};
|
|
54885
|
+
} | null;
|
|
54547
54886
|
isDefault: boolean;
|
|
54548
54887
|
/** @description The judge-trust corpus (E6 calibration): how often the AI grader agrees with your reviews, surfaced as a plain fraction. Null until at least one verdict has been reviewed (POST /eval/scores/{scoreId}/review). */
|
|
54549
54888
|
judgeAgreement: {
|
|
@@ -54633,6 +54972,22 @@ interface components {
|
|
|
54633
54972
|
/** @description Ordered GraderConfig[] applied to every case. */
|
|
54634
54973
|
graders: unknown[];
|
|
54635
54974
|
id: string;
|
|
54975
|
+
/** @description Default identity (endUser / tenant) cases run as unless they set their own; null when unset. */
|
|
54976
|
+
identityDefaults: {
|
|
54977
|
+
/** @description The end user (the person) the turn runs as. Exposed to tools as _endUser.*, drives memory-profile sharding, and satisfies an end-user-isolated tenancyStrategy. Distinct from _user (the Builder User). */
|
|
54978
|
+
endUser?: {
|
|
54979
|
+
email?: string;
|
|
54980
|
+
id: string;
|
|
54981
|
+
} & {
|
|
54982
|
+
[key: string]: unknown;
|
|
54983
|
+
};
|
|
54984
|
+
/** @description The product tenant (a customer of your product, under your Builder Org) the turn runs within. Exposed to tools as _tenant.*. */
|
|
54985
|
+
tenant?: {
|
|
54986
|
+
id: string;
|
|
54987
|
+
} & {
|
|
54988
|
+
[key: string]: unknown;
|
|
54989
|
+
};
|
|
54990
|
+
} | null;
|
|
54636
54991
|
isDefault: boolean;
|
|
54637
54992
|
/** @description Provenance of the last Definition write. 'sdk' / 'terraform' mean the suite is managed in code (converged by ensure on deploy). */
|
|
54638
54993
|
lastModifiedSource: string | null;
|
|
@@ -55655,6 +56010,8 @@ interface components {
|
|
|
55655
56010
|
ref: string;
|
|
55656
56011
|
/** @enum {string} */
|
|
55657
56012
|
result: "created" | "updated" | "unchanged" | "failed" | "skipped" | "pruned";
|
|
56013
|
+
/** @description Non-blocking advisories, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED when converging an agent moved `live` onto a version its active schedules cannot run. */
|
|
56014
|
+
warnings?: string[];
|
|
55658
56015
|
}[];
|
|
55659
56016
|
/** @description True when one or more entities failed to converge (re-run to self-heal). */
|
|
55660
56017
|
hasFailures: boolean;
|
|
@@ -56828,6 +57185,37 @@ interface components {
|
|
|
56828
57185
|
pathItems: never;
|
|
56829
57186
|
}
|
|
56830
57187
|
interface operations {
|
|
57188
|
+
listDecisionModels: {
|
|
57189
|
+
parameters: {
|
|
57190
|
+
query?: never;
|
|
57191
|
+
header?: never;
|
|
57192
|
+
path?: never;
|
|
57193
|
+
cookie?: never;
|
|
57194
|
+
};
|
|
57195
|
+
requestBody?: never;
|
|
57196
|
+
responses: {
|
|
57197
|
+
/** @description Supported decision model catalog; null pricing or context windows mean unknown. */
|
|
57198
|
+
200: {
|
|
57199
|
+
headers: {
|
|
57200
|
+
[name: string]: unknown;
|
|
57201
|
+
};
|
|
57202
|
+
content: {
|
|
57203
|
+
"application/json": {
|
|
57204
|
+
models: components["schemas"]["DecisionModel"][];
|
|
57205
|
+
};
|
|
57206
|
+
};
|
|
57207
|
+
};
|
|
57208
|
+
/** @description Unauthorized */
|
|
57209
|
+
401: {
|
|
57210
|
+
headers: {
|
|
57211
|
+
[name: string]: unknown;
|
|
57212
|
+
};
|
|
57213
|
+
content: {
|
|
57214
|
+
"application/json": components["schemas"]["Error"];
|
|
57215
|
+
};
|
|
57216
|
+
};
|
|
57217
|
+
};
|
|
57218
|
+
};
|
|
56831
57219
|
getOtlpIngestHealth: {
|
|
56832
57220
|
parameters: {
|
|
56833
57221
|
query?: {
|
|
@@ -60303,6 +60691,26 @@ interface EvalCaseInput {
|
|
|
60303
60691
|
* writable directly on a hand-authored case with no `checkpoint` at all.
|
|
60304
60692
|
*/
|
|
60305
60693
|
toolMocks?: EvalToolMock[];
|
|
60694
|
+
/** End user this case runs as (`_endUser.*`); overrides the suite `identityDefaults.endUser`. */
|
|
60695
|
+
endUser?: EvalEndUserIdentity;
|
|
60696
|
+
/** Product tenant this case runs within (`_tenant.*`); overrides the suite `identityDefaults.tenant`. */
|
|
60697
|
+
tenant?: EvalTenantIdentity;
|
|
60698
|
+
}
|
|
60699
|
+
/** The person an eval turn runs as: exposed as `_endUser.*`, shards memory, satisfies `end-user-isolated`. */
|
|
60700
|
+
interface EvalEndUserIdentity {
|
|
60701
|
+
id: string;
|
|
60702
|
+
email?: string;
|
|
60703
|
+
[key: string]: unknown;
|
|
60704
|
+
}
|
|
60705
|
+
/** The product tenant an eval turn runs within, exposed as `_tenant.*`. */
|
|
60706
|
+
interface EvalTenantIdentity {
|
|
60707
|
+
id: string;
|
|
60708
|
+
[key: string]: unknown;
|
|
60709
|
+
}
|
|
60710
|
+
/** Suite-level identity every case runs as unless the case sets its own (no credentials; author-asserted). */
|
|
60711
|
+
interface EvalIdentityDefaults {
|
|
60712
|
+
endUser?: EvalEndUserIdentity;
|
|
60713
|
+
tenant?: EvalTenantIdentity;
|
|
60306
60714
|
}
|
|
60307
60715
|
/** The target a suite evaluates — a saved flow or agent, by portable name. */
|
|
60308
60716
|
type EvalTarget = {
|
|
@@ -60345,6 +60753,8 @@ interface DefineEvalInput {
|
|
|
60345
60753
|
recordedToolMode?: RecordedToolMode;
|
|
60346
60754
|
/** Unmatched-call policy for `continue`-mode replays: `fail` (default) or `stub`. */
|
|
60347
60755
|
recordedToolUnmatchedPolicy?: RecordedToolUnmatchedPolicy;
|
|
60756
|
+
/** Identity every case runs as unless it sets its own; needed when the agent sets `tenancyStrategy`. */
|
|
60757
|
+
identityDefaults?: EvalIdentityDefaults;
|
|
60348
60758
|
}
|
|
60349
60759
|
/** A normalized case: graders merged (suite-level then case-level) into `expect`. */
|
|
60350
60760
|
interface EvalCaseDefinition {
|
|
@@ -60364,6 +60774,8 @@ interface EvalDefinition {
|
|
|
60364
60774
|
recordedToolMode?: RecordedToolMode;
|
|
60365
60775
|
/** Unmatched-call policy for `continue`-mode replays. Absent ⇒ the default `fail`. */
|
|
60366
60776
|
recordedToolUnmatchedPolicy?: RecordedToolUnmatchedPolicy;
|
|
60777
|
+
/** Suite default identity. Absent ⇒ cases run with no identity unless they set their own. */
|
|
60778
|
+
identityDefaults?: EvalIdentityDefaults;
|
|
60367
60779
|
}
|
|
60368
60780
|
/**
|
|
60369
60781
|
* Pure-local declarative constructor for an eval definition. No I/O. Validates
|
|
@@ -60409,7 +60821,7 @@ interface EnsureEvalResult {
|
|
|
60409
60821
|
interface EnsureEvalPlan {
|
|
60410
60822
|
result: 'plan';
|
|
60411
60823
|
changes: 'none' | 'create' | 'update';
|
|
60412
|
-
/** Coarse keys that differ: `target`, `cases`, `recordedToolMode`, `recordedToolUnmatchedPolicy`. */
|
|
60824
|
+
/** Coarse keys that differ: `target`, `cases`, `recordedToolMode`, `recordedToolUnmatchedPolicy`, `identityDefaults`. */
|
|
60413
60825
|
changedKeys: string[];
|
|
60414
60826
|
contentHash: string;
|
|
60415
60827
|
/** The live suite's hash, computed over the cases ensure owns; bind an apply to it with `expectedRemoteHash`. */
|
|
@@ -61384,6 +61796,8 @@ interface EvalSuiteSummary {
|
|
|
61384
61796
|
graders: GraderConfig[];
|
|
61385
61797
|
isDefault: boolean;
|
|
61386
61798
|
baselineBatchExecutionId: string | null;
|
|
61799
|
+
/** Identity cases run as unless they set their own `input.endUser` / `input.tenant`; null when unset. */
|
|
61800
|
+
identityDefaults?: EvalIdentityDefaults | null;
|
|
61387
61801
|
/** 'sdk' / 'terraform' mean the suite Definition is managed in code. */
|
|
61388
61802
|
lastModifiedSource: string | null;
|
|
61389
61803
|
caseCount: number;
|
|
@@ -61463,6 +61877,8 @@ interface CreateEvalSuiteInput {
|
|
|
61463
61877
|
graders?: GraderConfig[];
|
|
61464
61878
|
/** Make this the default eval for its target. */
|
|
61465
61879
|
isDefault?: boolean;
|
|
61880
|
+
/** Identity every case runs as unless it sets its own; needed when the agent sets `tenancyStrategy`. */
|
|
61881
|
+
identityDefaults?: EvalIdentityDefaults;
|
|
61466
61882
|
/** Optional initial cases. */
|
|
61467
61883
|
cases?: EvalSuiteCaseInput[];
|
|
61468
61884
|
}
|
|
@@ -61474,6 +61890,8 @@ interface UpdateEvalSuiteInput {
|
|
|
61474
61890
|
isDefault?: boolean;
|
|
61475
61891
|
/** Pin a run of this suite as the comparison baseline; null clears the pin. */
|
|
61476
61892
|
baselineBatchExecutionId?: string | null;
|
|
61893
|
+
/** Replaces the suite's default identity; null clears it. */
|
|
61894
|
+
identityDefaults?: EvalIdentityDefaults | null;
|
|
61477
61895
|
}
|
|
61478
61896
|
/** Input to `client.evals.suites.addCaseFromExecution`. */
|
|
61479
61897
|
interface CaptureCaseFromExecutionInput {
|
|
@@ -63113,6 +63531,14 @@ interface AgentDefinitionConfig {
|
|
|
63113
63531
|
maxBudgetMs?: number | null;
|
|
63114
63532
|
forced?: 'durable' | 'in_process';
|
|
63115
63533
|
};
|
|
63534
|
+
/**
|
|
63535
|
+
* Steer-or-queue routing for a `submitMode: 'auto'` message sent while a turn runs. `mode` is
|
|
63536
|
+
* `enforced` (default) or `off` (always queue); `classifierModel` is a `GET /v1/decision-models` id.
|
|
63537
|
+
*/
|
|
63538
|
+
busyMessageRouting?: {
|
|
63539
|
+
mode?: 'enforced' | 'off';
|
|
63540
|
+
classifierModel?: string;
|
|
63541
|
+
};
|
|
63116
63542
|
/** Opt-in agent state channel — a shared JSON document the client and agent both see. */
|
|
63117
63543
|
state?: {
|
|
63118
63544
|
initial?: Record<string, unknown>;
|
|
@@ -63274,6 +63700,8 @@ interface EnsureAgentConverged {
|
|
|
63274
63700
|
skillBindings?: AgentSkillBindingChange[];
|
|
63275
63701
|
/** Present when the request carried `capabilities`. */
|
|
63276
63702
|
capabilityChanges?: AgentCapabilityChange[];
|
|
63703
|
+
/** Non-blocking advisories, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED when `live` moves onto a version schedules cannot run. */
|
|
63704
|
+
_warnings?: string[];
|
|
63277
63705
|
}
|
|
63278
63706
|
interface EnsureAgentPlan {
|
|
63279
63707
|
result: 'plan';
|
|
@@ -63288,6 +63716,8 @@ interface EnsureAgentPlan {
|
|
|
63288
63716
|
skillBindings?: AgentSkillBindingChange[];
|
|
63289
63717
|
/** Present when the request carried `capabilities`. */
|
|
63290
63718
|
capabilityChanges?: AgentCapabilityChange[];
|
|
63719
|
+
/** Non-blocking advisories, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED when `live` moves onto a version schedules cannot run. */
|
|
63720
|
+
_warnings?: string[];
|
|
63291
63721
|
}
|
|
63292
63722
|
type EnsureAgentResult = EnsureAgentConverged | EnsureAgentPlan;
|
|
63293
63723
|
interface AgentPullResult {
|
|
@@ -63980,6 +64410,8 @@ interface FpoEntityOutcome {
|
|
|
63980
64410
|
result: 'created' | 'updated' | 'unchanged' | 'failed' | 'skipped' | 'pruned';
|
|
63981
64411
|
id?: string;
|
|
63982
64412
|
error?: string;
|
|
64413
|
+
/** Non-blocking advisories for this entity, e.g. SCHEDULE_AGENT_CONFIG_UNSUPPORTED. */
|
|
64414
|
+
warnings?: string[];
|
|
63983
64415
|
}
|
|
63984
64416
|
interface EnsureFpoResult {
|
|
63985
64417
|
result: 'unchanged' | 'converged' | 'plan';
|
|
@@ -65233,6 +65665,62 @@ interface PromoteAgentResult {
|
|
|
65233
65665
|
*/
|
|
65234
65666
|
export declare function promoteAgent(input: PromoteAgentInput): Promise<PromoteAgentResult>;
|
|
65235
65667
|
//#endregion
|
|
65668
|
+
//#region ../shared/dist/models-wYIgT_ZG.d.ts
|
|
65669
|
+
//#region src/generated-evaluation-models.d.ts
|
|
65670
|
+
/**
|
|
65671
|
+
* Per-token USD exactly as the gateway listed it, plus the per-million figures
|
|
65672
|
+
* derived from those strings. The verbatim strings are what metering multiplies
|
|
65673
|
+
* by a token count; a judgment costs a fraction of a cent, so a per-1k rounding
|
|
65674
|
+
* would read as zero.
|
|
65675
|
+
*/
|
|
65676
|
+
interface GatewayEvaluationModelPricing {
|
|
65677
|
+
inputPerToken: string;
|
|
65678
|
+
outputPerToken: string;
|
|
65679
|
+
inputPer1MTokens: number;
|
|
65680
|
+
outputPer1MTokens: number;
|
|
65681
|
+
}
|
|
65682
|
+
type DecisionInputKind = 'text' | 'json';
|
|
65683
|
+
/** Limits describe the shapes supported by Runtype, not every capability of the upstream model. */
|
|
65684
|
+
interface DecisionModelDetails {
|
|
65685
|
+
readonly id: string;
|
|
65686
|
+
readonly name: string;
|
|
65687
|
+
readonly providerModelId: string;
|
|
65688
|
+
readonly description: string;
|
|
65689
|
+
readonly contextWindow: number | null;
|
|
65690
|
+
readonly pricing: GatewayEvaluationModelPricing | null;
|
|
65691
|
+
readonly inputKinds: readonly DecisionInputKind[];
|
|
65692
|
+
readonly minChoiceOptions: number;
|
|
65693
|
+
readonly maxChoiceOptions: number;
|
|
65694
|
+
readonly maxScoreLevels: number;
|
|
65695
|
+
readonly maxQuestions: number | null;
|
|
65696
|
+
readonly platformFunding: boolean;
|
|
65697
|
+
readonly docsUrl: string;
|
|
65698
|
+
}
|
|
65699
|
+
/** A decision-only catalog entry; its route selects a native transport rather than a chat provider. */
|
|
65700
|
+
type DecisionModelDescriptor = DecisionModelDetails & ({
|
|
65701
|
+
readonly provider: 'vercel';
|
|
65702
|
+
readonly route: 'vercel-ai-gateway';
|
|
65703
|
+
} | {
|
|
65704
|
+
readonly provider: 'openai';
|
|
65705
|
+
readonly route: 'openai-decisions';
|
|
65706
|
+
} | {
|
|
65707
|
+
readonly provider: 'cloudflare';
|
|
65708
|
+
readonly route: 'cloudflare-workers-ai';
|
|
65709
|
+
});
|
|
65710
|
+
//#endregion
|
|
65711
|
+
//#region src/decision-models.d.ts
|
|
65712
|
+
/** Supported model capabilities, not the calling organization's credential or spending readiness. */
|
|
65713
|
+
type DecisionModelCatalogEntry = DecisionModelDescriptor & {
|
|
65714
|
+
credentialRequirements: {
|
|
65715
|
+
provider: 'vercel' | 'openai' | 'platform';
|
|
65716
|
+
organizationCredentialSupported: boolean;
|
|
65717
|
+
platformFundingSupported: boolean;
|
|
65718
|
+
};
|
|
65719
|
+
};
|
|
65720
|
+
interface DecisionModelCatalog {
|
|
65721
|
+
models: DecisionModelCatalogEntry[];
|
|
65722
|
+
}
|
|
65723
|
+
//#endregion
|
|
65236
65724
|
//#region src/schedules-ensure.d.ts
|
|
65237
65725
|
/** Exactly one key: a flow or agent by id, or by name (portable across environments). */
|
|
65238
65726
|
export type ScheduleTarget = {
|
|
@@ -68091,9 +68579,11 @@ export interface AgentAdmissionOptions {
|
|
|
68091
68579
|
* What to do when the conversation already has a turn in flight. `reject`
|
|
68092
68580
|
* (the default when omitted) answers `CONVERSATION_BUSY`; `supersede`
|
|
68093
68581
|
* cancels the incumbent and takes over; `queue` runs after it; `steer` delivers
|
|
68094
|
-
* new user-message deltas to the incumbent at a safe boundary, without resetting its budgets
|
|
68582
|
+
* new user-message deltas to the incumbent at a safe boundary, without resetting its budgets;
|
|
68583
|
+
* `auto` sends steer-shaped deltas and lets a classifier choose steer or queue, reporting the
|
|
68584
|
+
* route in the `X-Runtype-Busy-Message-Route` / `-Source` response headers.
|
|
68095
68585
|
*/
|
|
68096
|
-
concurrency?: 'reject' | 'supersede' | 'queue' | 'steer';
|
|
68586
|
+
concurrency?: 'reject' | 'supersede' | 'queue' | 'steer' | 'auto';
|
|
68097
68587
|
/**
|
|
68098
68588
|
* Fold this request into an already-pending turn for the same conversation
|
|
68099
68589
|
* instead of starting a second one. The response is the pending execution.
|
|
@@ -68967,6 +69457,8 @@ type ConditionalGetResult<T> = {
|
|
|
68967
69457
|
data: T;
|
|
68968
69458
|
};
|
|
68969
69459
|
export declare class RuntypeClient implements ApiClient {
|
|
69460
|
+
/** List supported decision models; credentials and spending policy are checked at execution. */
|
|
69461
|
+
listDecisionModels(): Promise<DecisionModelCatalog>;
|
|
68970
69462
|
private baseUrl;
|
|
68971
69463
|
private apiVersion;
|
|
68972
69464
|
private timeout;
|
|
@@ -70487,5 +70979,5 @@ export declare function getLikelySupportingCandidatePaths(bestCandidatePath: str
|
|
|
70487
70979
|
export declare function getDefaultPlanPath(taskName: string): string;
|
|
70488
70980
|
export declare function sanitizeTaskSlug(taskName: string): string;
|
|
70489
70981
|
//#endregion
|
|
70490
|
-
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, ExecutionStreamEvent, ExecutionTerminalOutcome, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, LoopStepConfig, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
70982
|
+
export type { A2AHandlerOptions, A2ARunInput, A2ATextMessage, AIGrader, ActivateAgentAliasInput, ActivateAgentPromotionInput, AgentAlias, AgentAliasActivation, AgentAliasArchiveFailure, AgentAliasArchived, AgentAliasList, AgentAliasTransport, AgentCapabilityChange, AgentCapabilityDeclaration, AgentDefinition, AgentDefinitionConfig, AgentDeploymentList, AgentDeploymentPromotion, AgentDeploymentReceipt, AgentPromotionManifest, AgentPromotionTransport, AgentPromotionValidation, AgentPullResult, AgentSkillBinding, AgentSkillBindingChange, AgentStreamEvent, ApiKeyRequest, ApiKeyRequestDelivery, ApiKeyRequestEnvironment, ApiKeyRequestHandoff, ApiKeyRequestListParams, ApiKeyRequestRequester, ApiKeyRequestStatus, ApplyGeneratedProposalOptions, ApplyGeneratedProposalResult, ArchiveAgentAliasEverywhereResult, ArchiveAgentAliasInput, AttachRuntimeToolsOptions, BatchClient, BatchListParams, BatchOptions, BatchRequest, BatchResult, BatchScheduleConfig, BatchStatus, BindSkillInput, BuiltInGraderId, CaseExpected, CheckGrader, ClaimApiKeyRequestInput, ClaimApiKeyRequestResponse, ClientConversation, ClientToken, ClientTokenConfig, ClientTokenDefinition, ClientTokenEnvironment, ClientTokenVersionPin, ClientWidgetTheme, CollectionPullResult, CollectionSchemaChange, ConditionalGetResult, ConditionalStepConfig, ContextErrorHandling, ContextFallback, CreateApiKeyRequestInput, CreateApiKeyRequestResponse, CreateClientTokenRequest, CreateClientTokenResponse, CreateEvalSuiteInput, CreatePromptData, DecisionModelCatalog, DecisionModelCatalogEntry, DecomposeCriteriaResult, DefineAgentInput, DefineEvalCaseInput, DefineEvalInput, DefineFlowInput, DefineProductInput, DefineScheduleInput, DefineSkillInput, DefineSurfaceInput, DefineToolInput, DetachedReattach, DetachedReconnectOptions, DispatchClient, DispatchEvent, DispatchOptions, EnsureAgentConverged, EnsureAgentOptions, EnsureAgentPlan, EnsureAgentResult, EnsureClientTokenConverged, EnsureClientTokenOptions, EnsureClientTokenPlan, EnsureClientTokenResult, EnsureCollectionConverged, EnsureCollectionOptions, EnsureCollectionPlan, EnsureCollectionResult, EnsureEvalApplyOptions, EnsureEvalOptions, EnsureEvalPlan, EnsureEvalResult, EnsureFlowConverged, EnsureFlowOptions, EnsureFlowPlan, EnsureFlowResult, EnsureFpoOptions, EnsureFpoResult, EnsureProductConverged, EnsureProductOptions, EnsureProductPlan, EnsureProductResult, EnsureQuestionSetConverged, EnsureQuestionSetOptions, EnsureQuestionSetPlan, EnsureQuestionSetResult, EnsureScheduleConverged, EnsureScheduleOptions, EnsureSchedulePlan, EnsureScheduleResult, EnsureSkillConverged, EnsureSkillOptions, EnsureSkillPlan, EnsureSkillResult, EnsureSurfaceConverged, EnsureSurfaceOptions, EnsureSurfacePlan, EnsureSurfaceResult, EnsureToolConverged, EnsureToolOptions, EnsureToolPlan, EnsureToolResult, ErrorHandlingMode, EvalAgentSelector, EvalAgentTargetResolution, EvalCaseDefinition, EvalCaseInput, EvalCaseProposal, EvalCaseProposalAccepted, EvalCaseProposalListResult, EvalCasesGenerated, EvalClient, EvalDefinition, EvalEndUserIdentity, EvalIdentityDefaults, EvalListParams, EvalMessage, EvalOptions, EvalProposalSource, EvalProposalStatus, EvalProposedCase, EvalPullResult, EvalRecord, EvalRequest, EvalResult, EvalRunCaseScores, EvalRunConfig, EvalRunEvidence, EvalRunScores, EvalStatus, EvalSuiteCase, EvalSuiteCaseInput, EvalSuiteCoverage, EvalSuiteDetail, EvalSuiteLatestRun, EvalSuiteListResult, EvalSuiteRunQueued, EvalSuiteRunResult, EvalSuiteSummary, EvalTarget, EvalTenantIdentity, ExecutionStreamEvent, ExecutionTerminalOutcome, FallbackFailEvent, FallbackStartEvent, FallbackSuccessEvent, FallbackTrigger, FallbackTriggerType, FallbacksExhaustedEvent, FallbacksInitiatedEvent, FetchUrlStepConfig, FieldFormat, FlowCompleteEvent, FlowConfig, FlowDefinition, FlowDefinitionStep, FlowErrorEvent, FlowFallback, FlowInlineEvalInput, FlowPausedEvent, FlowPullResult, FlowStartEvent, FlowStreamEvent, FlowSummary, FlowValidationClient, FlowValidationIssue, FlowValidationResult, FpoEntityOutcome, FpoInput, GenerateEmbeddingStepConfig, GenerateEvalCasesInput, GeneratedRuntimeToolGateDecision, GeneratedRuntimeToolGateOptions, GetApiKeyRequestResponse, GetRecordStepConfig, Gradeable, GraderConfig, GraderOutcome, GraderSeverity, HumanVerdict, ListAgentAliasesOptions, ListAgentDeploymentsOptions, ListConversationsResponse, ListRecordsStepConfig, LoopStepConfig, Message, MessageFallback, ModelFallback, ModelOverride, OrganizationAgentAlias, OrganizationAgentAliasList, PersistedGraderOutcome, PrepareAgentPromotionInput, ProductDefinition, ProductPullResult, PromoteAgentInput, PromoteAgentResult, PromptErrorHandling, PromptFallback, PromptListParams, PromptStepConfig, PullFpoResult, QuestionSetDefinition, QuestionSetPullResult, RecordCollectionDefinition, RecordCollectionValidationMode, RecordConfig, RecordFilter, RecordFilterCondition, RecordFilterGroup, RecordFilterOperator, RetrieveRecordStepConfig, RetryFallback, RollbackAgentAliasInput, RunEvalCaseResult, RunEvalInput, RunEvalResult, RunListParams, RunListResponse, RunListRow, AgentSkillBinding$1 as RuntypeAgentSkillBinding, ConditionalStepConfig$1 as RuntypeConditionalStepConfig, RuntypeConfig, FetchUrlStepConfig$1 as RuntypeFetchUrlStepConfig, FlowConfig$1 as RuntypeFlowConfig, GenerateEmbeddingStepConfig$1 as RuntypeGenerateEmbeddingStepConfig, GetRecordStepConfig$1 as RuntypeGetRecordStepConfig, ListRecordsStepConfig$1 as RuntypeListRecordsStepConfig, LoopStepConfig$1 as RuntypeLoopStepConfig, Message$1 as RuntypeMessage, ModelOverride$1 as RuntypeModelOverride, Prompt$1 as RuntypePrompt, PromptStepConfig$1 as RuntypePromptStepConfig, RecordConfig$1 as RuntypeRecordConfig, RetrieveRecordStepConfig$1 as RuntypeRetrieveRecordStepConfig, SearchStepConfig as RuntypeSearchStepConfig, SendEmailStepConfig as RuntypeSendEmailStepConfig, SendEventStepConfig as RuntypeSendEventStepConfig, SendStreamStepConfig as RuntypeSendStreamStepConfig, SetVariableStepConfig as RuntypeSetVariableStepConfig, Skill as RuntypeSkill, SkillBindingWithAgent as RuntypeSkillBindingWithAgent, SkillCapabilities as RuntypeSkillCapabilities, SkillFrontmatter as RuntypeSkillFrontmatter, SkillManifest as RuntypeSkillManifest, SkillProposal as RuntypeSkillProposal, SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, SkillVersion as RuntypeSkillVersion, TransformDataStepConfig as RuntypeTransformDataStepConfig, UpsertFlowConfig as RuntypeUpsertFlowConfig, UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, VectorSearchStepConfig as RuntypeVectorSearchStepConfig, WaitUntilStepConfig as RuntypeWaitUntilStepConfig, ScheduleDefinition, ScheduleDefinitionMessage, ScheduleEnsureTransport, SchedulePullResult, SearchStepConfig$1 as SearchStepConfig, SendEmailStepConfig$1 as SendEmailStepConfig, SendEventStepConfig$1 as SendEventStepConfig, SendStreamStepConfig$1 as SendStreamStepConfig, SetVariableStepConfig$1 as SetVariableStepConfig, SkillDefinition, SkillListPage, SkillListPagination, SkillListParams, SkillManifestInput, SkillMarkdownInput, SkillOrigin, SkillProposalStatus, SkillPullResult, SkillStatus, SkillTrustLevel, SkillVersionStatus, SkillWithVersion, SkillWriteInput, StepCompleteEvent, StepDeltaEvent, StepFallback, StepFieldMeta, StepStartEvent, StepWaitingLocalEvent, StreamCallbacks, StreamConsumeOptions, StreamEvent, StreamEventOf, SurfaceDefinition, SurfaceDefinitionStatus, SurfaceDefinitionType, SurfacePullResult, ToolDefinition, ToolDefinitionType, ToolPullResult, TransformDataStepConfig$1 as TransformDataStepConfig, UpdateClientTokenRequest, UpdateEvalCaseInput, UpdateEvalSuiteInput, UpdatePromptData, UpsertFlowConfig$1 as UpsertFlowConfig, UpsertRecordStepConfig$1 as UpsertRecordStepConfig, ValidateAgentPromotionInput, VectorSearchStepConfig$1 as VectorSearchStepConfig, WaitUntilStepConfig$1 as WaitUntilStepConfig, WorkflowCompileDeps, WorkflowCompletionCriteriaConfig, WorkflowConfig, WorkflowConfigFactory, WorkflowHookEntry, WorkflowHookKind, WorkflowHookRef, WorkflowHookSignatures, WorkflowMilestoneConfig, WorkflowPolicyConfig, WorkflowRecoveryConfig, WorkflowSlot };
|
|
70491
70983
|
export {}
|