@runtypelabs/sdk 9.10.1 → 9.12.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 +23 -11
- package/dist/index.d.cts +487 -31
- package/dist/index.d.ts +487 -31
- package/dist/index.mjs +23 -11
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -774,6 +774,8 @@ interface paths {
|
|
|
774
774
|
memory?: {
|
|
775
775
|
enabled: boolean;
|
|
776
776
|
injectSummary?: boolean;
|
|
777
|
+
/** @enum {string} */
|
|
778
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
777
779
|
profileTemplate?: string;
|
|
778
780
|
};
|
|
779
781
|
model?: string;
|
|
@@ -1285,6 +1287,8 @@ interface paths {
|
|
|
1285
1287
|
memory?: {
|
|
1286
1288
|
enabled: boolean;
|
|
1287
1289
|
injectSummary?: boolean;
|
|
1290
|
+
/** @enum {string} */
|
|
1291
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
1288
1292
|
profileTemplate?: string;
|
|
1289
1293
|
};
|
|
1290
1294
|
model?: string;
|
|
@@ -2061,6 +2065,8 @@ interface paths {
|
|
|
2061
2065
|
memory?: {
|
|
2062
2066
|
enabled: boolean;
|
|
2063
2067
|
injectSummary?: boolean;
|
|
2068
|
+
/** @enum {string} */
|
|
2069
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
2064
2070
|
profileTemplate?: string;
|
|
2065
2071
|
};
|
|
2066
2072
|
model?: string;
|
|
@@ -3694,8 +3700,8 @@ interface paths {
|
|
|
3694
3700
|
parameters: {
|
|
3695
3701
|
query?: never;
|
|
3696
3702
|
header?: {
|
|
3697
|
-
/** @description How a durable turn
|
|
3698
|
-
"x-runtype-concurrency"?: "reject" | "supersede" | "queue";
|
|
3703
|
+
/** @description How a durable turn handles overlap. `reject` (default) answers CONVERSATION_BUSY; `supersede` cancels and replaces; `queue` runs afterward; `join` durably appends new user-message deltas to the same execution at a safe boundary, or starts the next execution if completion wins. Join requires a conversationId, preserves configuration and authority, cannot combine with coalesce, and rejects unsupported lanes. Other policies remain ignored on in-process execution. */
|
|
3704
|
+
"x-runtype-concurrency"?: "reject" | "supersede" | "queue" | "join";
|
|
3699
3705
|
/** @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. */
|
|
3700
3706
|
"x-runtype-coalesce"?: "true";
|
|
3701
3707
|
/** @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. */
|
|
@@ -3720,6 +3726,7 @@ interface paths {
|
|
|
3720
3726
|
[name: string]: unknown;
|
|
3721
3727
|
};
|
|
3722
3728
|
content: {
|
|
3729
|
+
"application/json": components["schemas"]["DispatchAgentJsonResponse"];
|
|
3723
3730
|
"text/event-stream": unknown;
|
|
3724
3731
|
};
|
|
3725
3732
|
};
|
|
@@ -7030,6 +7037,10 @@ interface paths {
|
|
|
7030
7037
|
rateLimitPerHour: number | null;
|
|
7031
7038
|
rateLimitPerMinute: number | null;
|
|
7032
7039
|
sessionIdleTimeoutMinutes: number | null;
|
|
7040
|
+
/** @description Release alias this token follows, re-resolved on every admission. Null when the token follows no pointer. */
|
|
7041
|
+
targetAlias: string | null;
|
|
7042
|
+
/** @description Exact agent version this token runs. Null when the token pins no version. */
|
|
7043
|
+
targetVersionId: string | null;
|
|
7033
7044
|
tokenHint: string | null;
|
|
7034
7045
|
tokenPrefix: string;
|
|
7035
7046
|
tokenValue: string | null;
|
|
@@ -7115,7 +7126,10 @@ interface paths {
|
|
|
7115
7126
|
/** @default 100 */
|
|
7116
7127
|
maxMessagesPerSession?: number;
|
|
7117
7128
|
name: string;
|
|
7118
|
-
/**
|
|
7129
|
+
/**
|
|
7130
|
+
* @description Legacy widget-version mode: 'latest' or 'published'. It has never selected an agent version and still does not. An agent version id (agentver_...) is rejected on create; use targetVersionId to pin a version or targetAlias to follow a release alias. An update may echo back the value already stored.
|
|
7131
|
+
* @default latest
|
|
7132
|
+
*/
|
|
7119
7133
|
pinToVersion?: string;
|
|
7120
7134
|
productSurfaceId?: string;
|
|
7121
7135
|
/** @default 100 */
|
|
@@ -7124,6 +7138,10 @@ interface paths {
|
|
|
7124
7138
|
rateLimitPerMinute?: number;
|
|
7125
7139
|
/** @default 30 */
|
|
7126
7140
|
sessionIdleTimeoutMinutes?: number;
|
|
7141
|
+
/** @description Release alias this token follows. Re-resolved on every admission, so a deploy at that alias changes what the token runs. Mutually exclusive with targetVersionId. */
|
|
7142
|
+
targetAlias?: string | null;
|
|
7143
|
+
/** @description Exact agent version this token runs. Never re-resolved. Mutually exclusive with targetAlias, and the token must carry exactly one agent id. */
|
|
7144
|
+
targetVersionId?: string | null;
|
|
7127
7145
|
};
|
|
7128
7146
|
};
|
|
7129
7147
|
};
|
|
@@ -7157,6 +7175,10 @@ interface paths {
|
|
|
7157
7175
|
rateLimitPerHour: number | null;
|
|
7158
7176
|
rateLimitPerMinute: number | null;
|
|
7159
7177
|
sessionIdleTimeoutMinutes: number | null;
|
|
7178
|
+
/** @description Release alias this token follows, re-resolved on every admission. Null when the token follows no pointer. */
|
|
7179
|
+
targetAlias: string | null;
|
|
7180
|
+
/** @description Exact agent version this token runs. Null when the token pins no version. */
|
|
7181
|
+
targetVersionId: string | null;
|
|
7160
7182
|
tokenHint: string | null;
|
|
7161
7183
|
tokenPrefix: string;
|
|
7162
7184
|
tokenValue: string | null;
|
|
@@ -7274,6 +7296,10 @@ interface paths {
|
|
|
7274
7296
|
rateLimitPerHour: number | null;
|
|
7275
7297
|
rateLimitPerMinute: number | null;
|
|
7276
7298
|
sessionIdleTimeoutMinutes: number | null;
|
|
7299
|
+
/** @description Release alias this token follows, re-resolved on every admission. Null when the token follows no pointer. */
|
|
7300
|
+
targetAlias: string | null;
|
|
7301
|
+
/** @description Exact agent version this token runs. Null when the token pins no version. */
|
|
7302
|
+
targetVersionId: string | null;
|
|
7277
7303
|
tokenHint: string | null;
|
|
7278
7304
|
tokenPrefix: string;
|
|
7279
7305
|
tokenValue: string | null;
|
|
@@ -7356,10 +7382,13 @@ interface paths {
|
|
|
7356
7382
|
isActive?: boolean;
|
|
7357
7383
|
maxMessagesPerSession?: number;
|
|
7358
7384
|
name?: string;
|
|
7385
|
+
/** @description Legacy widget-version mode: 'latest' or 'published'. A NEW agent version id (agentver_...) is rejected; echoing back the value already stored is accepted and ignored, so a read-modify-write client can save unrelated fields. Use targetVersionId to pin a version. */
|
|
7359
7386
|
pinToVersion?: string;
|
|
7360
7387
|
rateLimitPerHour?: number;
|
|
7361
7388
|
rateLimitPerMinute?: number;
|
|
7362
7389
|
sessionIdleTimeoutMinutes?: number;
|
|
7390
|
+
targetAlias?: string | null;
|
|
7391
|
+
targetVersionId?: string | null;
|
|
7363
7392
|
};
|
|
7364
7393
|
};
|
|
7365
7394
|
};
|
|
@@ -7393,6 +7422,10 @@ interface paths {
|
|
|
7393
7422
|
rateLimitPerHour: number | null;
|
|
7394
7423
|
rateLimitPerMinute: number | null;
|
|
7395
7424
|
sessionIdleTimeoutMinutes: number | null;
|
|
7425
|
+
/** @description Release alias this token follows, re-resolved on every admission. Null when the token follows no pointer. */
|
|
7426
|
+
targetAlias: string | null;
|
|
7427
|
+
/** @description Exact agent version this token runs. Null when the token pins no version. */
|
|
7428
|
+
targetVersionId: string | null;
|
|
7396
7429
|
tokenHint: string | null;
|
|
7397
7430
|
tokenPrefix: string;
|
|
7398
7431
|
tokenValue: string | null;
|
|
@@ -7681,6 +7714,8 @@ interface paths {
|
|
|
7681
7714
|
isActive: boolean;
|
|
7682
7715
|
name: string | null;
|
|
7683
7716
|
pinToVersion: string | null;
|
|
7717
|
+
targetAlias: string | null;
|
|
7718
|
+
targetVersionId: string | null;
|
|
7684
7719
|
tokenHint: string | null;
|
|
7685
7720
|
tokenPrefix: string;
|
|
7686
7721
|
tokenValue: string | null;
|
|
@@ -7846,7 +7881,7 @@ interface paths {
|
|
|
7846
7881
|
put?: never;
|
|
7847
7882
|
/**
|
|
7848
7883
|
* Send a client chat message
|
|
7849
|
-
* @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.
|
|
7884
|
+
* @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 `join` accepts exactly one new user message whose `id` equals `turnId` for visitor-owned native durable agents. A new execution streams SSE; joining an existing execution returns a 202 delivery receipt without replacing its response. Retry with the same turn and message IDs.
|
|
7850
7885
|
*/
|
|
7851
7886
|
post: {
|
|
7852
7887
|
parameters: {
|
|
@@ -7917,7 +7952,7 @@ interface paths {
|
|
|
7917
7952
|
};
|
|
7918
7953
|
sessionId: string;
|
|
7919
7954
|
/** @enum {string} */
|
|
7920
|
-
submitMode?: "normal" | "interrupt";
|
|
7955
|
+
submitMode?: "normal" | "interrupt" | "join";
|
|
7921
7956
|
turnId?: string;
|
|
7922
7957
|
};
|
|
7923
7958
|
};
|
|
@@ -7932,6 +7967,25 @@ interface paths {
|
|
|
7932
7967
|
"text/event-stream": unknown;
|
|
7933
7968
|
};
|
|
7934
7969
|
};
|
|
7970
|
+
/** @description Input accepted by an existing durable execution; no new response stream */
|
|
7971
|
+
202: {
|
|
7972
|
+
headers: {
|
|
7973
|
+
[name: string]: unknown;
|
|
7974
|
+
};
|
|
7975
|
+
content: {
|
|
7976
|
+
"application/json": {
|
|
7977
|
+
/** @enum {boolean} */
|
|
7978
|
+
accepted: true;
|
|
7979
|
+
conversationId: string;
|
|
7980
|
+
deliveryId: string;
|
|
7981
|
+
/** @enum {string} */
|
|
7982
|
+
deliveryStatus: "pending" | "applied" | "settled" | "not_applied";
|
|
7983
|
+
deliveryStatusUrl: string;
|
|
7984
|
+
eventsUrl: string;
|
|
7985
|
+
executionId: string;
|
|
7986
|
+
};
|
|
7987
|
+
};
|
|
7988
|
+
};
|
|
7935
7989
|
/** @description Validation error */
|
|
7936
7990
|
400: {
|
|
7937
7991
|
headers: {
|
|
@@ -8238,6 +8292,192 @@ interface paths {
|
|
|
8238
8292
|
patch?: never;
|
|
8239
8293
|
trace?: never;
|
|
8240
8294
|
};
|
|
8295
|
+
"/v1/client/conversations/{conversationId}/executions/{executionId}/cancel": {
|
|
8296
|
+
parameters: {
|
|
8297
|
+
query?: never;
|
|
8298
|
+
header?: never;
|
|
8299
|
+
path?: never;
|
|
8300
|
+
cookie?: never;
|
|
8301
|
+
};
|
|
8302
|
+
get?: never;
|
|
8303
|
+
put?: never;
|
|
8304
|
+
/**
|
|
8305
|
+
* Stop a native durable client execution
|
|
8306
|
+
* @description Cancel the specified execution without starting a replacement. Pending inputs become not applied. Requires the exact visitor and session bound to the conversation.
|
|
8307
|
+
*/
|
|
8308
|
+
post: {
|
|
8309
|
+
parameters: {
|
|
8310
|
+
query: {
|
|
8311
|
+
sessionId: string;
|
|
8312
|
+
};
|
|
8313
|
+
header: {
|
|
8314
|
+
/** @description The browser's anonymous visitor secret (`cvt_…`) returned by `/client/init`. It is what scopes the request to one visitor's own conversations, so a request without it is refused. Sent as a header so it never lands in access logs or `Referer`. */
|
|
8315
|
+
"x-visitor-token": string;
|
|
8316
|
+
/** @description Optional fresh hosted end-user identity proof. When admitted and already bound to the presented visitor, expands the request from this exact browser to sibling visitors for the same verified person. Without it, even a previously bound visitor remains exact-browser scoped. */
|
|
8317
|
+
"x-identity-proof"?: string;
|
|
8318
|
+
};
|
|
8319
|
+
path: {
|
|
8320
|
+
conversationId: string;
|
|
8321
|
+
executionId: string;
|
|
8322
|
+
};
|
|
8323
|
+
cookie?: never;
|
|
8324
|
+
};
|
|
8325
|
+
requestBody?: never;
|
|
8326
|
+
responses: {
|
|
8327
|
+
/** @description Cancellation accepted */
|
|
8328
|
+
202: {
|
|
8329
|
+
headers: {
|
|
8330
|
+
[name: string]: unknown;
|
|
8331
|
+
};
|
|
8332
|
+
content: {
|
|
8333
|
+
"application/json": {
|
|
8334
|
+
accepted: boolean;
|
|
8335
|
+
executionId: string;
|
|
8336
|
+
};
|
|
8337
|
+
};
|
|
8338
|
+
};
|
|
8339
|
+
/** @description Missing or expired session or visitor credential */
|
|
8340
|
+
401: {
|
|
8341
|
+
headers: {
|
|
8342
|
+
[name: string]: unknown;
|
|
8343
|
+
};
|
|
8344
|
+
content: {
|
|
8345
|
+
"application/json": components["schemas"]["Error"];
|
|
8346
|
+
};
|
|
8347
|
+
};
|
|
8348
|
+
/** @description Inactive client token or origin mismatch */
|
|
8349
|
+
403: {
|
|
8350
|
+
headers: {
|
|
8351
|
+
[name: string]: unknown;
|
|
8352
|
+
};
|
|
8353
|
+
content: {
|
|
8354
|
+
"application/json": components["schemas"]["Error"];
|
|
8355
|
+
};
|
|
8356
|
+
};
|
|
8357
|
+
/** @description Execution or delivery not owned by this visitor conversation */
|
|
8358
|
+
404: {
|
|
8359
|
+
headers: {
|
|
8360
|
+
[name: string]: unknown;
|
|
8361
|
+
};
|
|
8362
|
+
content: {
|
|
8363
|
+
"application/json": components["schemas"]["Error"];
|
|
8364
|
+
};
|
|
8365
|
+
};
|
|
8366
|
+
/** @description Execution is already terminal or no longer cancellable */
|
|
8367
|
+
409: {
|
|
8368
|
+
headers: {
|
|
8369
|
+
[name: string]: unknown;
|
|
8370
|
+
};
|
|
8371
|
+
content: {
|
|
8372
|
+
"application/json": {
|
|
8373
|
+
accepted: boolean;
|
|
8374
|
+
executionId: string;
|
|
8375
|
+
};
|
|
8376
|
+
};
|
|
8377
|
+
};
|
|
8378
|
+
/** @description Visitor request rate exceeded */
|
|
8379
|
+
429: {
|
|
8380
|
+
headers: {
|
|
8381
|
+
[name: string]: unknown;
|
|
8382
|
+
};
|
|
8383
|
+
content: {
|
|
8384
|
+
"application/json": components["schemas"]["Error"];
|
|
8385
|
+
};
|
|
8386
|
+
};
|
|
8387
|
+
};
|
|
8388
|
+
};
|
|
8389
|
+
delete?: never;
|
|
8390
|
+
options?: never;
|
|
8391
|
+
head?: never;
|
|
8392
|
+
patch?: never;
|
|
8393
|
+
trace?: never;
|
|
8394
|
+
};
|
|
8395
|
+
"/v1/client/conversations/{conversationId}/executions/{executionId}/deliveries/{deliveryId}": {
|
|
8396
|
+
parameters: {
|
|
8397
|
+
query?: never;
|
|
8398
|
+
header?: never;
|
|
8399
|
+
path?: never;
|
|
8400
|
+
cookie?: never;
|
|
8401
|
+
};
|
|
8402
|
+
/**
|
|
8403
|
+
* Read a live input delivery receipt
|
|
8404
|
+
* @description Read whether a joined message is pending, applied, settled, or not applied. Requires the exact visitor and session bound to this conversation.
|
|
8405
|
+
*/
|
|
8406
|
+
get: {
|
|
8407
|
+
parameters: {
|
|
8408
|
+
query: {
|
|
8409
|
+
sessionId: string;
|
|
8410
|
+
};
|
|
8411
|
+
header: {
|
|
8412
|
+
/** @description The browser's anonymous visitor secret (`cvt_…`) returned by `/client/init`. It is what scopes the request to one visitor's own conversations, so a request without it is refused. Sent as a header so it never lands in access logs or `Referer`. */
|
|
8413
|
+
"x-visitor-token": string;
|
|
8414
|
+
/** @description Optional fresh hosted end-user identity proof. When admitted and already bound to the presented visitor, expands the request from this exact browser to sibling visitors for the same verified person. Without it, even a previously bound visitor remains exact-browser scoped. */
|
|
8415
|
+
"x-identity-proof"?: string;
|
|
8416
|
+
};
|
|
8417
|
+
path: {
|
|
8418
|
+
conversationId: string;
|
|
8419
|
+
executionId: string;
|
|
8420
|
+
deliveryId: string;
|
|
8421
|
+
};
|
|
8422
|
+
cookie?: never;
|
|
8423
|
+
};
|
|
8424
|
+
requestBody?: never;
|
|
8425
|
+
responses: {
|
|
8426
|
+
/** @description Durable input delivery receipt */
|
|
8427
|
+
200: {
|
|
8428
|
+
headers: {
|
|
8429
|
+
[name: string]: unknown;
|
|
8430
|
+
};
|
|
8431
|
+
content: {
|
|
8432
|
+
"application/json": components["schemas"]["ClientInputDeliveryReceipt"];
|
|
8433
|
+
};
|
|
8434
|
+
};
|
|
8435
|
+
/** @description Missing or expired session or visitor credential */
|
|
8436
|
+
401: {
|
|
8437
|
+
headers: {
|
|
8438
|
+
[name: string]: unknown;
|
|
8439
|
+
};
|
|
8440
|
+
content: {
|
|
8441
|
+
"application/json": components["schemas"]["Error"];
|
|
8442
|
+
};
|
|
8443
|
+
};
|
|
8444
|
+
/** @description Inactive client token or origin mismatch */
|
|
8445
|
+
403: {
|
|
8446
|
+
headers: {
|
|
8447
|
+
[name: string]: unknown;
|
|
8448
|
+
};
|
|
8449
|
+
content: {
|
|
8450
|
+
"application/json": components["schemas"]["Error"];
|
|
8451
|
+
};
|
|
8452
|
+
};
|
|
8453
|
+
/** @description Execution or delivery not owned by this visitor conversation */
|
|
8454
|
+
404: {
|
|
8455
|
+
headers: {
|
|
8456
|
+
[name: string]: unknown;
|
|
8457
|
+
};
|
|
8458
|
+
content: {
|
|
8459
|
+
"application/json": components["schemas"]["Error"];
|
|
8460
|
+
};
|
|
8461
|
+
};
|
|
8462
|
+
/** @description Visitor request rate exceeded */
|
|
8463
|
+
429: {
|
|
8464
|
+
headers: {
|
|
8465
|
+
[name: string]: unknown;
|
|
8466
|
+
};
|
|
8467
|
+
content: {
|
|
8468
|
+
"application/json": components["schemas"]["Error"];
|
|
8469
|
+
};
|
|
8470
|
+
};
|
|
8471
|
+
};
|
|
8472
|
+
};
|
|
8473
|
+
put?: never;
|
|
8474
|
+
post?: never;
|
|
8475
|
+
delete?: never;
|
|
8476
|
+
options?: never;
|
|
8477
|
+
head?: never;
|
|
8478
|
+
patch?: never;
|
|
8479
|
+
trace?: never;
|
|
8480
|
+
};
|
|
8241
8481
|
"/v1/client/conversations/{id}": {
|
|
8242
8482
|
parameters: {
|
|
8243
8483
|
query?: never;
|
|
@@ -8823,6 +9063,8 @@ interface paths {
|
|
|
8823
9063
|
durableRecovery?: {
|
|
8824
9064
|
/** @description Whether this initialized client-token session has the visitor credential and surface policy needed to use the durable execution reconnect route. Reporting only: individual turns still self-identify as durable through replay cursors. */
|
|
8825
9065
|
enabled: boolean;
|
|
9066
|
+
/** @description Whether the native durable target supports non-interrupting user-message delivery. */
|
|
9067
|
+
join?: boolean;
|
|
8826
9068
|
};
|
|
8827
9069
|
/** @description ISO-8601 session idle-expiry timestamp. */
|
|
8828
9070
|
expiresAt: string;
|
|
@@ -11917,7 +12159,7 @@ interface paths {
|
|
|
11917
12159
|
put?: never;
|
|
11918
12160
|
/**
|
|
11919
12161
|
* Execute a flow or agent
|
|
11920
|
-
* @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), `x-runtype-coalesce` (true) and `idempotency-key` then apply exactly as on `POST /v1/agents/{id}/execute`, and are ignored for
|
|
12162
|
+
* @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, join), `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 join, which fails explicitly on unsupported lanes. Join accepts only new user-message deltas, preserves the active execution configuration and authority, and returns a deliveryId with a deliveryStatusUrl. Prefer: respond-async with join returns a native delivery receipt without queuing an HTTP replay.
|
|
11921
12163
|
*/
|
|
11922
12164
|
post: {
|
|
11923
12165
|
parameters: {
|
|
@@ -11998,6 +12240,8 @@ interface paths {
|
|
|
11998
12240
|
memory?: {
|
|
11999
12241
|
enabled: boolean;
|
|
12000
12242
|
injectSummary?: boolean;
|
|
12243
|
+
/** @enum {string} */
|
|
12244
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
12001
12245
|
profileTemplate?: string;
|
|
12002
12246
|
};
|
|
12003
12247
|
model?: string;
|
|
@@ -12222,6 +12466,7 @@ interface paths {
|
|
|
12222
12466
|
inputs?: {
|
|
12223
12467
|
[key: string]: unknown;
|
|
12224
12468
|
};
|
|
12469
|
+
/** @description Conversation history for this turn. A `system` message that is not the first message keeps its position on OpenAI-family models (so a per-turn system message sent last leaves the cached leading prompt untouched) and is folded into the leading system prompt on providers that require a single leading system turn. */
|
|
12225
12470
|
messages?: {
|
|
12226
12471
|
content: string | ({
|
|
12227
12472
|
text: string;
|
|
@@ -12415,6 +12660,8 @@ interface paths {
|
|
|
12415
12660
|
memory?: {
|
|
12416
12661
|
enabled: boolean;
|
|
12417
12662
|
injectSummary?: boolean;
|
|
12663
|
+
/** @enum {string} */
|
|
12664
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
12418
12665
|
profileTemplate?: string;
|
|
12419
12666
|
};
|
|
12420
12667
|
model?: string;
|
|
@@ -12639,6 +12886,7 @@ interface paths {
|
|
|
12639
12886
|
inputs?: {
|
|
12640
12887
|
[key: string]: unknown;
|
|
12641
12888
|
};
|
|
12889
|
+
/** @description Conversation history for this turn. A `system` message that is not the first message keeps its position on OpenAI-family models (so a per-turn system message sent last leaves the cached leading prompt untouched) and is folded into the leading system prompt on providers that require a single leading system turn. */
|
|
12642
12890
|
messages?: {
|
|
12643
12891
|
content: string | ({
|
|
12644
12892
|
text: string;
|
|
@@ -14807,6 +15055,7 @@ interface paths {
|
|
|
14807
15055
|
requestBody?: {
|
|
14808
15056
|
content: {
|
|
14809
15057
|
"application/json": {
|
|
15058
|
+
agent?: components["schemas"]["EvalAgentSelector"] & unknown;
|
|
14810
15059
|
definition?: {
|
|
14811
15060
|
cases: {
|
|
14812
15061
|
expect: ({
|
|
@@ -15228,6 +15477,7 @@ interface paths {
|
|
|
15228
15477
|
requestBody?: {
|
|
15229
15478
|
content: {
|
|
15230
15479
|
"application/json": {
|
|
15480
|
+
agent?: components["schemas"]["EvalAgentSelector"] & unknown;
|
|
15231
15481
|
evalConfig?: components["schemas"]["EvalConfigRequest"];
|
|
15232
15482
|
evalConfigs?: components["schemas"]["EvalConfigRequest"][];
|
|
15233
15483
|
} & {
|
|
@@ -16805,6 +17055,7 @@ interface paths {
|
|
|
16805
17055
|
requestBody?: {
|
|
16806
17056
|
content: {
|
|
16807
17057
|
"application/json": {
|
|
17058
|
+
agent?: components["schemas"]["EvalAgentSelector"];
|
|
16808
17059
|
/**
|
|
16809
17060
|
* @description Force the execution path. Default: sync for suites within the synchronous case limit (50), batch above it.
|
|
16810
17061
|
* @enum {string}
|
|
@@ -16928,6 +17179,15 @@ interface paths {
|
|
|
16928
17179
|
};
|
|
16929
17180
|
content: {
|
|
16930
17181
|
"application/json": {
|
|
17182
|
+
/** @description The release alias the run resolved through, when it resolved through one. */
|
|
17183
|
+
agentTargetAlias?: string | null;
|
|
17184
|
+
/**
|
|
17185
|
+
* @description How the run picked its version. Null on a run that predates release aliases.
|
|
17186
|
+
* @enum {string|null}
|
|
17187
|
+
*/
|
|
17188
|
+
agentTargetResolution?: "alias" | "version" | "legacy-live-row" | null;
|
|
17189
|
+
/** @description The exact Agent version every case of this run executed. Null for a legacy run. */
|
|
17190
|
+
agentVersionId?: string | null;
|
|
16931
17191
|
batchExecutionId: string;
|
|
16932
17192
|
/** @description Every graded case that errored, with the failure text its scores recorded. Empty when no case errored, when the run is not scored yet, or when it was scored before the field shipped. */
|
|
16933
17193
|
caseErrors: {
|
|
@@ -16935,10 +17195,14 @@ interface paths {
|
|
|
16935
17195
|
error: string;
|
|
16936
17196
|
name: string;
|
|
16937
17197
|
}[];
|
|
17198
|
+
/** @description SHA-256 over the ordered, normalized case set this run executed. */
|
|
17199
|
+
caseManifestHash?: string | null;
|
|
16938
17200
|
completedAt?: string;
|
|
16939
17201
|
evalConfig?: unknown;
|
|
16940
17202
|
evalGroupId?: string;
|
|
16941
17203
|
evalName?: string;
|
|
17204
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
17205
|
+
evaluatorFingerprint?: string | null;
|
|
16942
17206
|
failedRecords: number;
|
|
16943
17207
|
flowId: string | null;
|
|
16944
17208
|
processedRecords: number;
|
|
@@ -17030,6 +17294,75 @@ interface paths {
|
|
|
17030
17294
|
patch?: never;
|
|
17031
17295
|
trace?: never;
|
|
17032
17296
|
};
|
|
17297
|
+
"/v1/executions/{executionId}/deliveries/{deliveryId}": {
|
|
17298
|
+
parameters: {
|
|
17299
|
+
query?: never;
|
|
17300
|
+
header?: never;
|
|
17301
|
+
path?: never;
|
|
17302
|
+
cookie?: never;
|
|
17303
|
+
};
|
|
17304
|
+
/**
|
|
17305
|
+
* Inspect a durable input delivery
|
|
17306
|
+
* @description Read the delivery independently of its host execution. Applied means durably incorporated into context, not model compliance. Settled shares the host outcome; not_applied means the host ended before consuming this input. Receipts are retained within the session retry window.
|
|
17307
|
+
*/
|
|
17308
|
+
get: {
|
|
17309
|
+
parameters: {
|
|
17310
|
+
query?: never;
|
|
17311
|
+
header?: never;
|
|
17312
|
+
path: {
|
|
17313
|
+
executionId: string;
|
|
17314
|
+
deliveryId: string;
|
|
17315
|
+
};
|
|
17316
|
+
cookie?: never;
|
|
17317
|
+
};
|
|
17318
|
+
requestBody?: never;
|
|
17319
|
+
responses: {
|
|
17320
|
+
/** @description Input delivery receipt */
|
|
17321
|
+
200: {
|
|
17322
|
+
headers: {
|
|
17323
|
+
[name: string]: unknown;
|
|
17324
|
+
};
|
|
17325
|
+
content: {
|
|
17326
|
+
"application/json": components["schemas"]["InputDeliveryReceipt"];
|
|
17327
|
+
};
|
|
17328
|
+
};
|
|
17329
|
+
/** @description Unauthorized */
|
|
17330
|
+
401: {
|
|
17331
|
+
headers: {
|
|
17332
|
+
[name: string]: unknown;
|
|
17333
|
+
};
|
|
17334
|
+
content: {
|
|
17335
|
+
"application/json": components["schemas"]["Error"];
|
|
17336
|
+
};
|
|
17337
|
+
};
|
|
17338
|
+
/** @description Insufficient permissions */
|
|
17339
|
+
403: {
|
|
17340
|
+
headers: {
|
|
17341
|
+
[name: string]: unknown;
|
|
17342
|
+
};
|
|
17343
|
+
content: {
|
|
17344
|
+
"application/json": components["schemas"]["Error"];
|
|
17345
|
+
};
|
|
17346
|
+
};
|
|
17347
|
+
/** @description Delivery not found or expired */
|
|
17348
|
+
404: {
|
|
17349
|
+
headers: {
|
|
17350
|
+
[name: string]: unknown;
|
|
17351
|
+
};
|
|
17352
|
+
content: {
|
|
17353
|
+
"application/json": components["schemas"]["Error"];
|
|
17354
|
+
};
|
|
17355
|
+
};
|
|
17356
|
+
};
|
|
17357
|
+
};
|
|
17358
|
+
put?: never;
|
|
17359
|
+
post?: never;
|
|
17360
|
+
delete?: never;
|
|
17361
|
+
options?: never;
|
|
17362
|
+
head?: never;
|
|
17363
|
+
patch?: never;
|
|
17364
|
+
trace?: never;
|
|
17365
|
+
};
|
|
17033
17366
|
"/v1/executions/{executionId}/events": {
|
|
17034
17367
|
parameters: {
|
|
17035
17368
|
query?: never;
|
|
@@ -18992,9 +19325,7 @@ interface paths {
|
|
|
18992
19325
|
};
|
|
18993
19326
|
/**
|
|
18994
19327
|
* Export flow for runtime (limited preview)
|
|
18995
|
-
* @description
|
|
18996
|
-
*
|
|
18997
|
-
* Export a fully-resolved, self-contained flow definition that the @runtypelabs/runtime package can consume directly at boot. All step configs are inlined; no live DB queries are needed at execution time.
|
|
19328
|
+
* @description Export a fully-resolved, self-contained flow definition that the @runtypelabs/runtime package can consume directly at boot. All step configs are inlined; no live DB queries are needed at execution time. Requires the `RUNTIME:EXPORT` scope and an Enterprise plan (the `byoc` entitlement); an unentitled account receives `403` with code `BYOC_PLAN_REQUIRED` in every environment.
|
|
18998
19329
|
*
|
|
18999
19330
|
* The response carries `hostDependencies`: the runtime seams the exported artifact needs a host to wire before it can run everything it describes. A durable-class step (`wait-until` or `crawl`) anywhere in the flow's executable closure declares a `durable-pause-host` dependency; a detached-capable dynamic subagent pool or a detached inline subagent tool declares a `background-run-coordinator` dependency. The array is empty when nothing needs wiring, and the export is never refused for a declared dependency.
|
|
19000
19331
|
*/
|
|
@@ -24511,6 +24842,8 @@ interface paths {
|
|
|
24511
24842
|
limit?: string;
|
|
24512
24843
|
/** @description Pagination cursor */
|
|
24513
24844
|
cursor?: string;
|
|
24845
|
+
/** @description Set to `true` to include `totalCount`/`totalPages`. Omitted by default so a poll does not pay for a COUNT over the surface. */
|
|
24846
|
+
includeCount?: string;
|
|
24514
24847
|
/** @description Filter by surface ID */
|
|
24515
24848
|
surfaceId?: string;
|
|
24516
24849
|
/** @description Filter by surface ID (deprecated, use surfaceId) */
|
|
@@ -46785,6 +47118,8 @@ interface components {
|
|
|
46785
47118
|
memory?: {
|
|
46786
47119
|
enabled: boolean;
|
|
46787
47120
|
injectSummary?: boolean;
|
|
47121
|
+
/** @enum {string} */
|
|
47122
|
+
pointerScope?: "shared" | "alias" | "version";
|
|
46788
47123
|
profileTemplate?: string;
|
|
46789
47124
|
};
|
|
46790
47125
|
model?: string;
|
|
@@ -47027,17 +47362,25 @@ interface components {
|
|
|
47027
47362
|
};
|
|
47028
47363
|
};
|
|
47029
47364
|
AsyncDispatchHandle: {
|
|
47365
|
+
accepted?: boolean;
|
|
47030
47366
|
/** @description Present only for ephemeral inline-create dispatch. */
|
|
47031
47367
|
claudeManagedAgentId?: string;
|
|
47032
47368
|
/** @description Conversation id, when the request belongs to a conversation. */
|
|
47033
47369
|
conversationId?: string;
|
|
47370
|
+
/** @description Stable input-delivery identity, distinct from the host execution. */
|
|
47371
|
+
deliveryId?: string;
|
|
47372
|
+
/** @enum {string} */
|
|
47373
|
+
deliveryStatus?: "pending" | "applied" | "settled" | "not_applied";
|
|
47374
|
+
/** @description Poll this receipt to distinguish pending, applied, settled, and not-applied input. */
|
|
47375
|
+
deliveryStatusUrl?: string;
|
|
47376
|
+
eventsUrl?: string;
|
|
47034
47377
|
/** @description The durable execution handle — poll with this. */
|
|
47035
47378
|
executionId: string;
|
|
47036
47379
|
/**
|
|
47037
|
-
* @description
|
|
47380
|
+
* @description Host lifecycle at acceptance or idempotent delivery replay.
|
|
47038
47381
|
* @enum {string}
|
|
47039
47382
|
*/
|
|
47040
|
-
status: "queued" | "running";
|
|
47383
|
+
status: "queued" | "running" | "paused" | "completed" | "failed" | "cancelled" | "interrupted";
|
|
47041
47384
|
/** @description Relative URL for polling this execution. */
|
|
47042
47385
|
statusUrl: string;
|
|
47043
47386
|
/** @description Saved flow or agent id, when known. */
|
|
@@ -47101,6 +47444,14 @@ interface components {
|
|
|
47101
47444
|
/** @description True when every recorded tool output was captured in full. False when any output was truncated at capture — the case still saves, but tool outputs are partial ("⚠ tool outputs weren’t fully captured"). */
|
|
47102
47445
|
replayable: boolean;
|
|
47103
47446
|
};
|
|
47447
|
+
ClientInputDeliveryReceipt: {
|
|
47448
|
+
deliveryId: string;
|
|
47449
|
+
executionId: string;
|
|
47450
|
+
outcome?: string;
|
|
47451
|
+
sequence: number;
|
|
47452
|
+
/** @enum {string} */
|
|
47453
|
+
status: "pending" | "applied" | "settled" | "not_applied";
|
|
47454
|
+
};
|
|
47104
47455
|
DailyUsageResponse: {
|
|
47105
47456
|
daily?: {
|
|
47106
47457
|
atSpendLimit: boolean;
|
|
@@ -47158,12 +47509,21 @@ interface components {
|
|
|
47158
47509
|
}[];
|
|
47159
47510
|
};
|
|
47160
47511
|
DispatchAgentJsonResponse: {
|
|
47512
|
+
agentExecutionId?: string;
|
|
47161
47513
|
blockReason?: string;
|
|
47162
47514
|
claudeManagedAgentId?: string;
|
|
47163
47515
|
code?: string;
|
|
47516
|
+
conversationId?: string;
|
|
47517
|
+
/** @description Stable input-delivery identity, distinct from the host execution. */
|
|
47518
|
+
deliveryId?: string;
|
|
47519
|
+
/** @enum {string} */
|
|
47520
|
+
deliveryStatus?: "pending" | "applied" | "settled" | "not_applied";
|
|
47521
|
+
/** @description Poll this receipt to distinguish pending, applied, settled, and not-applied input. */
|
|
47522
|
+
deliveryStatusUrl?: string;
|
|
47164
47523
|
error?: string;
|
|
47524
|
+
executionId?: string;
|
|
47165
47525
|
/** @enum {string} */
|
|
47166
|
-
executionMode?: "claude_managed";
|
|
47526
|
+
executionMode?: "claude_managed" | "runtype_managed";
|
|
47167
47527
|
executionTime?: number;
|
|
47168
47528
|
externalAgent?: {
|
|
47169
47529
|
contextId?: string;
|
|
@@ -47362,6 +47722,13 @@ interface components {
|
|
|
47362
47722
|
}[];
|
|
47363
47723
|
error: string;
|
|
47364
47724
|
};
|
|
47725
|
+
/** @description Version selector for an Agent-target suite. Supply at most one of alias or versionId; omit it to run the saved configuration. */
|
|
47726
|
+
EvalAgentSelector: {
|
|
47727
|
+
/** @description Run whichever version this release alias currently points at. Resolved once for the whole run. */
|
|
47728
|
+
alias?: string;
|
|
47729
|
+
/** @description Run this exact immutable version snapshot. */
|
|
47730
|
+
versionId?: string;
|
|
47731
|
+
};
|
|
47365
47732
|
EvalCase: {
|
|
47366
47733
|
createdAt: string;
|
|
47367
47734
|
enabled: boolean;
|
|
@@ -47559,6 +47926,17 @@ interface components {
|
|
|
47559
47926
|
updatedAt: string | null;
|
|
47560
47927
|
};
|
|
47561
47928
|
EvalRunScoresResponse: {
|
|
47929
|
+
/** @description The release alias the run resolved through, when it resolved through one. */
|
|
47930
|
+
agentTargetAlias?: string | null;
|
|
47931
|
+
/**
|
|
47932
|
+
* @description How the run picked its version. Null on a run that predates release aliases.
|
|
47933
|
+
* @enum {string|null}
|
|
47934
|
+
*/
|
|
47935
|
+
agentTargetResolution?: "alias" | "version" | "legacy-live-row" | null;
|
|
47936
|
+
/** @description The exact Agent version every case of this run executed. Null for a legacy run. */
|
|
47937
|
+
agentVersionId?: string | null;
|
|
47938
|
+
/** @description SHA-256 over the ordered, normalized case set this run executed. */
|
|
47939
|
+
caseManifestHash?: string | null;
|
|
47562
47940
|
cases: {
|
|
47563
47941
|
/** @description The saved eval case id; null when the case row was deleted or the record could not be mapped to a case. */
|
|
47564
47942
|
caseId: string | null;
|
|
@@ -47612,6 +47990,8 @@ interface components {
|
|
|
47612
47990
|
/** @description Recomputed from the persisted outcomes using the run's recorded strict mode, so historical verdicts match what the run originally reported. */
|
|
47613
47991
|
passed: boolean;
|
|
47614
47992
|
}[];
|
|
47993
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
47994
|
+
evaluatorFingerprint?: string | null;
|
|
47615
47995
|
/** @description The eval name recorded on the run. */
|
|
47616
47996
|
name: string | null;
|
|
47617
47997
|
passedCases: number;
|
|
@@ -47707,6 +48087,19 @@ interface components {
|
|
|
47707
48087
|
total: number;
|
|
47708
48088
|
};
|
|
47709
48089
|
EvalSuiteRunQueued: {
|
|
48090
|
+
/** @description The release alias the run resolved through, when it resolved through one. */
|
|
48091
|
+
agentTargetAlias?: string | null;
|
|
48092
|
+
/**
|
|
48093
|
+
* @description How the run picked its version. Null on a run that predates release aliases.
|
|
48094
|
+
* @enum {string|null}
|
|
48095
|
+
*/
|
|
48096
|
+
agentTargetResolution?: "alias" | "version" | "legacy-live-row" | null;
|
|
48097
|
+
/** @description The exact Agent version every case of this run executed. Null for a legacy run. */
|
|
48098
|
+
agentVersionId?: string | null;
|
|
48099
|
+
/** @description SHA-256 over the ordered, normalized case set this run executed. */
|
|
48100
|
+
caseManifestHash?: string | null;
|
|
48101
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
48102
|
+
evaluatorFingerprint?: string | null;
|
|
47710
48103
|
/** @enum {string} */
|
|
47711
48104
|
mode: "batch";
|
|
47712
48105
|
name: string;
|
|
@@ -48405,6 +48798,14 @@ interface components {
|
|
|
48405
48798
|
valid: boolean;
|
|
48406
48799
|
warnings: components["schemas"]["FlowValidationIssue"][];
|
|
48407
48800
|
};
|
|
48801
|
+
InputDeliveryReceipt: {
|
|
48802
|
+
deliveryId: string;
|
|
48803
|
+
executionId: string;
|
|
48804
|
+
outcome?: string;
|
|
48805
|
+
sequence: number;
|
|
48806
|
+
/** @enum {string} */
|
|
48807
|
+
status: "pending" | "applied" | "settled" | "not_applied";
|
|
48808
|
+
};
|
|
48408
48809
|
ManagedAgentRunOutput: {
|
|
48409
48810
|
anthropicFileId: string;
|
|
48410
48811
|
/** @description Asset-storage key the bytes were persisted to. */
|
|
@@ -48602,6 +49003,17 @@ interface components {
|
|
|
48602
49003
|
schemaVersion: number;
|
|
48603
49004
|
};
|
|
48604
49005
|
RunEvalResponse: {
|
|
49006
|
+
/** @description The release alias the run resolved through, when it resolved through one. */
|
|
49007
|
+
agentTargetAlias?: string | null;
|
|
49008
|
+
/**
|
|
49009
|
+
* @description How the run picked its version. Null on a run that predates release aliases.
|
|
49010
|
+
* @enum {string|null}
|
|
49011
|
+
*/
|
|
49012
|
+
agentTargetResolution?: "alias" | "version" | "legacy-live-row" | null;
|
|
49013
|
+
/** @description The exact Agent version every case of this run executed. Null for a legacy run. */
|
|
49014
|
+
agentVersionId?: string | null;
|
|
49015
|
+
/** @description SHA-256 over the ordered, normalized case set this run executed. */
|
|
49016
|
+
caseManifestHash?: string | null;
|
|
48605
49017
|
cases: {
|
|
48606
49018
|
/** @description Why the case errored (the provider or execution failure text, 2000 chars max). Present only when errored is true and the run reported a cause. */
|
|
48607
49019
|
error?: string;
|
|
@@ -48633,6 +49045,8 @@ interface components {
|
|
|
48633
49045
|
outputExcerpt: string;
|
|
48634
49046
|
passed: boolean;
|
|
48635
49047
|
}[];
|
|
49048
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
49049
|
+
evaluatorFingerprint?: string | null;
|
|
48636
49050
|
name: string;
|
|
48637
49051
|
/** @description True when every case passed every grader. */
|
|
48638
49052
|
passed: boolean;
|
|
@@ -50895,6 +51309,8 @@ type DispatchContinuationRequest = NonNullable<paths['/v1/dispatch/continue']['p
|
|
|
50895
51309
|
type DispatchResponse = paths['/v1/dispatch']['post']['responses'][200]['content']['application/json'];
|
|
50896
51310
|
/** Durable handle returned by execute routes when `Prefer: respond-async` is applied. */
|
|
50897
51311
|
type AsyncExecutionHandle = components['schemas']['AsyncDispatchHandle'];
|
|
51312
|
+
/** Durable user-input receipt, independently observable from its host execution. */
|
|
51313
|
+
type InputDeliveryReceipt = components['schemas']['InputDeliveryReceipt'];
|
|
50898
51314
|
/** Lifecycle response returned by the generic asynchronous execution status route. */
|
|
50899
51315
|
type AsyncExecutionStatus = paths['/v1/executions/{executionId}/status']['get']['responses'][200]['content']['application/json'];
|
|
50900
51316
|
/** Buffered ordinary tool-output continuation (a durable-lane resume uses a separate variant). */
|
|
@@ -52352,8 +52768,33 @@ interface RunEvalCaseResult {
|
|
|
52352
52768
|
/** Why the case errored (provider or execution failure text); present only when `errored` is true and a cause was reported. */
|
|
52353
52769
|
error?: string;
|
|
52354
52770
|
}
|
|
52771
|
+
/**
|
|
52772
|
+
* Pin an Agent-target run to one version. Supply at most one of `alias` or
|
|
52773
|
+
* `versionId`; the run resolves it once and every case executes that version.
|
|
52774
|
+
*/
|
|
52775
|
+
interface EvalAgentSelector {
|
|
52776
|
+
/** Run whichever version this release alias currently points at. */
|
|
52777
|
+
alias?: string;
|
|
52778
|
+
/** Run this exact immutable version snapshot. */
|
|
52779
|
+
versionId?: string;
|
|
52780
|
+
}
|
|
52781
|
+
/** How a run picked its version; `legacy-live-row` means no selector was supplied. */
|
|
52782
|
+
type EvalAgentTargetResolution = 'alias' | 'version' | 'legacy-live-row';
|
|
52783
|
+
/** What a run recorded about the artifact it evaluated and the judges it used. */
|
|
52784
|
+
interface EvalRunEvidence {
|
|
52785
|
+
/** The exact Agent version every case executed; null for a run that pinned none. */
|
|
52786
|
+
agentVersionId?: string | null;
|
|
52787
|
+
/** How the run picked its version; null on a run that predates release aliases. */
|
|
52788
|
+
agentTargetResolution?: EvalAgentTargetResolution | null;
|
|
52789
|
+
/** The release alias the run resolved through, when it resolved through one. */
|
|
52790
|
+
agentTargetAlias?: string | null;
|
|
52791
|
+
/** SHA-256 over the ordered, normalized case set this run executed. */
|
|
52792
|
+
caseManifestHash?: string | null;
|
|
52793
|
+
/** SHA-256 over the evaluator configuration this run scored with. */
|
|
52794
|
+
evaluatorFingerprint?: string | null;
|
|
52795
|
+
}
|
|
52355
52796
|
/** The synchronous run + score result returned by `client.evals.runSuite(...)`. */
|
|
52356
|
-
interface RunEvalResult {
|
|
52797
|
+
interface RunEvalResult extends EvalRunEvidence {
|
|
52357
52798
|
/** The saved suite id, or `null` for an inline (virtual) run. */
|
|
52358
52799
|
suiteId: string | null;
|
|
52359
52800
|
name: string;
|
|
@@ -52408,7 +52849,7 @@ interface EvalRunCaseScores {
|
|
|
52408
52849
|
nextStepToolCalls: NextStepToolCall[] | null;
|
|
52409
52850
|
}
|
|
52410
52851
|
/** Persisted per-case grader scores for a run (`client.evals.getRunScores`). */
|
|
52411
|
-
interface EvalRunScores {
|
|
52852
|
+
interface EvalRunScores extends EvalRunEvidence {
|
|
52412
52853
|
runId: string;
|
|
52413
52854
|
/** The suite the run executed; null when the suite was since deleted. */
|
|
52414
52855
|
suiteId: string | null;
|
|
@@ -52437,9 +52878,11 @@ type RunEvalInput = {
|
|
|
52437
52878
|
suiteId: string;
|
|
52438
52879
|
strict?: boolean;
|
|
52439
52880
|
virtual?: boolean;
|
|
52881
|
+
agent?: EvalAgentSelector;
|
|
52440
52882
|
} | {
|
|
52441
52883
|
definition: EvalDefinition;
|
|
52442
52884
|
strict?: boolean;
|
|
52885
|
+
agent?: EvalAgentSelector;
|
|
52443
52886
|
};
|
|
52444
52887
|
/**
|
|
52445
52888
|
* Idempotently converge an eval suite definition onto the platform. Hash-first:
|
|
@@ -53312,7 +53755,7 @@ interface EvalSuiteListResult {
|
|
|
53312
53755
|
total: number;
|
|
53313
53756
|
}
|
|
53314
53757
|
/** A large suite queued as a durable run (graded when it completes). */
|
|
53315
|
-
interface EvalSuiteRunQueued {
|
|
53758
|
+
interface EvalSuiteRunQueued extends EvalRunEvidence {
|
|
53316
53759
|
mode: 'batch';
|
|
53317
53760
|
/** Poll `client.evals.getRunScores(runId)` once the run completes. */
|
|
53318
53761
|
runId: string;
|
|
@@ -53454,6 +53897,10 @@ declare class EvalSuitesNamespace {
|
|
|
53454
53897
|
run(suiteId: string, options?: {
|
|
53455
53898
|
strict?: boolean;
|
|
53456
53899
|
mode?: 'sync' | 'batch';
|
|
53900
|
+
/** Pin an Agent-target suite to one version for this run only. */
|
|
53901
|
+
agent?: EvalAgentSelector;
|
|
53902
|
+
/** Run every case against this model instead of the target's configured one. */
|
|
53903
|
+
modelOverride?: string;
|
|
53457
53904
|
}): Promise<EvalSuiteRunResult>;
|
|
53458
53905
|
/** Add one or more test cases to a suite. */
|
|
53459
53906
|
addCases(suiteId: string, cases: EvalSuiteCaseInput[]): Promise<{
|
|
@@ -56022,6 +56469,10 @@ interface ClientToken {
|
|
|
56022
56469
|
allowedOrigins: string[];
|
|
56023
56470
|
environment: ClientTokenEnvironment;
|
|
56024
56471
|
pinToVersion: ClientTokenVersionPin | null;
|
|
56472
|
+
/** Release alias this token follows, re-resolved on every admission (ADR 0025). */
|
|
56473
|
+
targetAlias: string | null;
|
|
56474
|
+
/** Exact agent version this token is pinned to (ADR 0025). */
|
|
56475
|
+
targetVersionId: string | null;
|
|
56025
56476
|
rateLimitPerMinute: number | null;
|
|
56026
56477
|
rateLimitPerHour: number | null;
|
|
56027
56478
|
maxMessagesPerSession: number | null;
|
|
@@ -56050,6 +56501,10 @@ interface CreateClientTokenRequest {
|
|
|
56050
56501
|
allowedOrigins: string[];
|
|
56051
56502
|
environment?: ClientTokenEnvironment;
|
|
56052
56503
|
pinToVersion?: ClientTokenVersionPin;
|
|
56504
|
+
/** Release alias this token follows. Mutually exclusive with `targetVersionId`. */
|
|
56505
|
+
targetAlias?: string | null;
|
|
56506
|
+
/** Exact agent version this token pins. Mutually exclusive with `targetAlias`. */
|
|
56507
|
+
targetVersionId?: string | null;
|
|
56053
56508
|
rateLimitPerMinute?: number;
|
|
56054
56509
|
rateLimitPerHour?: number;
|
|
56055
56510
|
maxMessagesPerSession?: number;
|
|
@@ -56067,6 +56522,10 @@ interface UpdateClientTokenRequest {
|
|
|
56067
56522
|
agentIds?: string[];
|
|
56068
56523
|
allowedOrigins?: string[];
|
|
56069
56524
|
pinToVersion?: ClientTokenVersionPin;
|
|
56525
|
+
/** Release alias this token follows. Mutually exclusive with `targetVersionId`. */
|
|
56526
|
+
targetAlias?: string | null;
|
|
56527
|
+
/** Exact agent version this token pins. Mutually exclusive with `targetAlias`. */
|
|
56528
|
+
targetVersionId?: string | null;
|
|
56070
56529
|
rateLimitPerMinute?: number;
|
|
56071
56530
|
rateLimitPerHour?: number;
|
|
56072
56531
|
maxMessagesPerSession?: number;
|
|
@@ -56971,9 +57430,9 @@ declare class DispatchEndpoint {
|
|
|
56971
57430
|
/**
|
|
56972
57431
|
* Dispatch: create and/or execute flows on records atomically
|
|
56973
57432
|
*/
|
|
56974
|
-
execute(data: DispatchRequest): Promise<any>;
|
|
57433
|
+
execute(data: DispatchRequest, admission?: AgentAdmissionOptions): Promise<any>;
|
|
56975
57434
|
/** Start a dispatch and return its durable execution handle immediately. */
|
|
56976
|
-
executeAsync(data: DispatchRequest): Promise<AsyncExecutionHandle>;
|
|
57435
|
+
executeAsync(data: DispatchRequest, admission?: AgentAdmissionOptions): Promise<AsyncExecutionHandle>;
|
|
56977
57436
|
/**
|
|
56978
57437
|
* Dispatch with streaming response
|
|
56979
57438
|
*
|
|
@@ -56984,7 +57443,7 @@ declare class DispatchEndpoint {
|
|
|
56984
57443
|
*/
|
|
56985
57444
|
executeStream(data: DispatchRequest, init?: {
|
|
56986
57445
|
signal?: AbortSignal;
|
|
56987
|
-
} & DetachedReconnectOptions): Promise<Response>;
|
|
57446
|
+
} & DetachedReconnectOptions & AgentAdmissionOptions): Promise<Response>;
|
|
56988
57447
|
/**
|
|
56989
57448
|
* The `?after=` reattach leg a detached dispatch stream is followed with.
|
|
56990
57449
|
*
|
|
@@ -57050,6 +57509,7 @@ declare class ExecutionsEndpoint {
|
|
|
57050
57509
|
private client;
|
|
57051
57510
|
constructor(client: ApiClient);
|
|
57052
57511
|
getStatus(executionId: string): Promise<AsyncExecutionStatus>;
|
|
57512
|
+
getDelivery(executionId: string, deliveryId: string): Promise<InputDeliveryReceipt>;
|
|
57053
57513
|
}
|
|
57054
57514
|
/**
|
|
57055
57515
|
* Chat endpoint handler
|
|
@@ -58099,6 +58559,10 @@ interface AgentExecuteRequest {
|
|
|
58099
58559
|
* Agent execute response (non-streaming)
|
|
58100
58560
|
*/
|
|
58101
58561
|
interface AgentExecuteResponse {
|
|
58562
|
+
executionId?: string;
|
|
58563
|
+
deliveryId?: string;
|
|
58564
|
+
deliveryStatus?: InputDeliveryReceipt['status'];
|
|
58565
|
+
deliveryStatusUrl?: string;
|
|
58102
58566
|
success: boolean;
|
|
58103
58567
|
result: string;
|
|
58104
58568
|
iterations: number;
|
|
@@ -58530,23 +58994,15 @@ interface Agent {
|
|
|
58530
58994
|
createdAt: string;
|
|
58531
58995
|
updatedAt: string;
|
|
58532
58996
|
}
|
|
58533
|
-
/**
|
|
58534
|
-
* Durable-turn admission controls (ADR 0020), sent as request headers on
|
|
58535
|
-
* `POST /agents/{id}/execute`.
|
|
58536
|
-
*
|
|
58537
|
-
* The route declares all three, so they are in the published spec and in every
|
|
58538
|
-
* generated SDK; this bag is the hand-written namespace's equivalent. Each is
|
|
58539
|
-
* optional, and sending none of them leaves the wire behavior of the call
|
|
58540
|
-
* exactly as it was. They are read only by the durable lane: a turn that
|
|
58541
|
-
* resolves to the in-process lane ignores them.
|
|
58542
|
-
*/
|
|
58997
|
+
/** Durable admission headers for agent execute and dispatch. Join requires native durable execution. */
|
|
58543
58998
|
interface AgentAdmissionOptions {
|
|
58544
58999
|
/**
|
|
58545
59000
|
* What to do when the conversation already has a turn in flight. `reject`
|
|
58546
59001
|
* (the default when omitted) answers `CONVERSATION_BUSY`; `supersede`
|
|
58547
|
-
* cancels the incumbent and takes over; `queue` runs after it
|
|
59002
|
+
* cancels the incumbent and takes over; `queue` runs after it; `join` delivers
|
|
59003
|
+
* new user-message deltas to the incumbent at a safe boundary, without resetting its budgets.
|
|
58548
59004
|
*/
|
|
58549
|
-
concurrency?: 'reject' | 'supersede' | 'queue';
|
|
59005
|
+
concurrency?: 'reject' | 'supersede' | 'queue' | 'join';
|
|
58550
59006
|
/**
|
|
58551
59007
|
* Fold this request into an already-pending turn for the same conversation
|
|
58552
59008
|
* instead of starting a second one. The response is the pending execution.
|
|
@@ -60834,4 +61290,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
60834
61290
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
60835
61291
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
60836
61292
|
|
|
60837
|
-
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, 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, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, 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, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, 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 CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, 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_MAX_DETACHED_RECONNECTS, 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 DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, 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 EvalOverrideValues, 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 ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, 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 GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, 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 LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, 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, type ProductionHealthQuery, type ProductionHealthResponse, 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 RecordCollections, 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 LoopStepConfig as RuntypeLoopStepConfig, 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 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 SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, 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 SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, 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 SlackAppStatusResponse, 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 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, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, 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 VersionPublishOptions, 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, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, 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, isCatalogClientToolRef, 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, withDetachedReconnect, withUnifiedEvents };
|
|
61293
|
+
export { type AIGrader, type Agent, type AgentAdmissionOptions, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, type AgentElicitation, type AgentElicitationRequest, 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, type ApiKeyRequest, type ApiKeyRequestDelivery, type ApiKeyRequestEnvironment, type ApiKeyRequestHandoff, type ApiKeyRequestListParams, type ApiKeyRequestRequester, type ApiKeyRequestStatus, ApiKeyRequestsEndpoint, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AsyncExecutionHandle, type AsyncExecutionStatus, 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, type CatalogClientToolRef, ChatEndpoint, type CheckGrader, type ClaimApiKeyRequestInput, type ClaimApiKeyRequestResponse, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientToolEntry, type ClientWidgetTheme, type CollectionMeta, 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 CreateApiKeyRequestInput, type CreateApiKeyRequestResponse, 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_MAX_DETACHED_RECONNECTS, 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 DetachedReattach, type DetachedReconnectOptions, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, type DispatchDetachedToolOutputResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeJsonResponse, 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, type EvalAgentSelector, type EvalAgentTargetResolution, 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 EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunEvidence, 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 ExecutionCounts, type ExecutionStreamEvent, ExecutionsEndpoint, ExecutionsNamespace, 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 GetApiKeyRequestResponse, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HealthInsight, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type InputDeliveryReceipt, 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 LoopStepConfig$1 as LoopStepConfig, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type MetricDelta, 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, type ProductionHealthQuery, type ProductionHealthResponse, 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 RecordCollections, 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 LoopStepConfig as RuntypeLoopStepConfig, 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 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 SandboxDeployEffectivePolicy, type SandboxDeployRetention, type SandboxDeploySleepPolicy, 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 SelectOrganizationProviderCredentialRequest, type SelectOrganizationProviderCredentialResponse, 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 SlackAppStatusResponse, 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 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, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, 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 VersionPublishOptions, 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, buildAgentAdmissionHeaders, buildEmptySessionNudge, buildExecutionEventsPath, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildObservationMaskMarker, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, combineAbortSignals, 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, isCatalogClientToolRef, 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, withDetachedReconnect, withUnifiedEvents };
|