@runtypelabs/sdk 9.11.0 → 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 +434 -30
- package/dist/index.d.ts +434 -30
- package/dist/index.mjs +23 -11
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -3700,8 +3700,8 @@ interface paths {
|
|
|
3700
3700
|
parameters: {
|
|
3701
3701
|
query?: never;
|
|
3702
3702
|
header?: {
|
|
3703
|
-
/** @description How a durable turn
|
|
3704
|
-
"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";
|
|
3705
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. */
|
|
3706
3706
|
"x-runtype-coalesce"?: "true";
|
|
3707
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. */
|
|
@@ -3726,6 +3726,7 @@ interface paths {
|
|
|
3726
3726
|
[name: string]: unknown;
|
|
3727
3727
|
};
|
|
3728
3728
|
content: {
|
|
3729
|
+
"application/json": components["schemas"]["DispatchAgentJsonResponse"];
|
|
3729
3730
|
"text/event-stream": unknown;
|
|
3730
3731
|
};
|
|
3731
3732
|
};
|
|
@@ -7880,7 +7881,7 @@ interface paths {
|
|
|
7880
7881
|
put?: never;
|
|
7881
7882
|
/**
|
|
7882
7883
|
* Send a client chat message
|
|
7883
|
-
* @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.
|
|
7884
7885
|
*/
|
|
7885
7886
|
post: {
|
|
7886
7887
|
parameters: {
|
|
@@ -7951,7 +7952,7 @@ interface paths {
|
|
|
7951
7952
|
};
|
|
7952
7953
|
sessionId: string;
|
|
7953
7954
|
/** @enum {string} */
|
|
7954
|
-
submitMode?: "normal" | "interrupt";
|
|
7955
|
+
submitMode?: "normal" | "interrupt" | "join";
|
|
7955
7956
|
turnId?: string;
|
|
7956
7957
|
};
|
|
7957
7958
|
};
|
|
@@ -7966,6 +7967,25 @@ interface paths {
|
|
|
7966
7967
|
"text/event-stream": unknown;
|
|
7967
7968
|
};
|
|
7968
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
|
+
};
|
|
7969
7989
|
/** @description Validation error */
|
|
7970
7990
|
400: {
|
|
7971
7991
|
headers: {
|
|
@@ -8272,6 +8292,192 @@ interface paths {
|
|
|
8272
8292
|
patch?: never;
|
|
8273
8293
|
trace?: never;
|
|
8274
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
|
+
};
|
|
8275
8481
|
"/v1/client/conversations/{id}": {
|
|
8276
8482
|
parameters: {
|
|
8277
8483
|
query?: never;
|
|
@@ -8857,6 +9063,8 @@ interface paths {
|
|
|
8857
9063
|
durableRecovery?: {
|
|
8858
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. */
|
|
8859
9065
|
enabled: boolean;
|
|
9066
|
+
/** @description Whether the native durable target supports non-interrupting user-message delivery. */
|
|
9067
|
+
join?: boolean;
|
|
8860
9068
|
};
|
|
8861
9069
|
/** @description ISO-8601 session idle-expiry timestamp. */
|
|
8862
9070
|
expiresAt: string;
|
|
@@ -11951,7 +12159,7 @@ interface paths {
|
|
|
11951
12159
|
put?: never;
|
|
11952
12160
|
/**
|
|
11953
12161
|
* Execute a flow or agent
|
|
11954
|
-
* @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.
|
|
11955
12163
|
*/
|
|
11956
12164
|
post: {
|
|
11957
12165
|
parameters: {
|
|
@@ -12258,6 +12466,7 @@ interface paths {
|
|
|
12258
12466
|
inputs?: {
|
|
12259
12467
|
[key: string]: unknown;
|
|
12260
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. */
|
|
12261
12470
|
messages?: {
|
|
12262
12471
|
content: string | ({
|
|
12263
12472
|
text: string;
|
|
@@ -12677,6 +12886,7 @@ interface paths {
|
|
|
12677
12886
|
inputs?: {
|
|
12678
12887
|
[key: string]: unknown;
|
|
12679
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. */
|
|
12680
12890
|
messages?: {
|
|
12681
12891
|
content: string | ({
|
|
12682
12892
|
text: string;
|
|
@@ -14845,6 +15055,7 @@ interface paths {
|
|
|
14845
15055
|
requestBody?: {
|
|
14846
15056
|
content: {
|
|
14847
15057
|
"application/json": {
|
|
15058
|
+
agent?: components["schemas"]["EvalAgentSelector"] & unknown;
|
|
14848
15059
|
definition?: {
|
|
14849
15060
|
cases: {
|
|
14850
15061
|
expect: ({
|
|
@@ -15266,6 +15477,7 @@ interface paths {
|
|
|
15266
15477
|
requestBody?: {
|
|
15267
15478
|
content: {
|
|
15268
15479
|
"application/json": {
|
|
15480
|
+
agent?: components["schemas"]["EvalAgentSelector"] & unknown;
|
|
15269
15481
|
evalConfig?: components["schemas"]["EvalConfigRequest"];
|
|
15270
15482
|
evalConfigs?: components["schemas"]["EvalConfigRequest"][];
|
|
15271
15483
|
} & {
|
|
@@ -16843,6 +17055,7 @@ interface paths {
|
|
|
16843
17055
|
requestBody?: {
|
|
16844
17056
|
content: {
|
|
16845
17057
|
"application/json": {
|
|
17058
|
+
agent?: components["schemas"]["EvalAgentSelector"];
|
|
16846
17059
|
/**
|
|
16847
17060
|
* @description Force the execution path. Default: sync for suites within the synchronous case limit (50), batch above it.
|
|
16848
17061
|
* @enum {string}
|
|
@@ -16966,6 +17179,15 @@ interface paths {
|
|
|
16966
17179
|
};
|
|
16967
17180
|
content: {
|
|
16968
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;
|
|
16969
17191
|
batchExecutionId: string;
|
|
16970
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. */
|
|
16971
17193
|
caseErrors: {
|
|
@@ -16973,10 +17195,14 @@ interface paths {
|
|
|
16973
17195
|
error: string;
|
|
16974
17196
|
name: string;
|
|
16975
17197
|
}[];
|
|
17198
|
+
/** @description SHA-256 over the ordered, normalized case set this run executed. */
|
|
17199
|
+
caseManifestHash?: string | null;
|
|
16976
17200
|
completedAt?: string;
|
|
16977
17201
|
evalConfig?: unknown;
|
|
16978
17202
|
evalGroupId?: string;
|
|
16979
17203
|
evalName?: string;
|
|
17204
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
17205
|
+
evaluatorFingerprint?: string | null;
|
|
16980
17206
|
failedRecords: number;
|
|
16981
17207
|
flowId: string | null;
|
|
16982
17208
|
processedRecords: number;
|
|
@@ -17068,6 +17294,75 @@ interface paths {
|
|
|
17068
17294
|
patch?: never;
|
|
17069
17295
|
trace?: never;
|
|
17070
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
|
+
};
|
|
17071
17366
|
"/v1/executions/{executionId}/events": {
|
|
17072
17367
|
parameters: {
|
|
17073
17368
|
query?: never;
|
|
@@ -19030,9 +19325,7 @@ interface paths {
|
|
|
19030
19325
|
};
|
|
19031
19326
|
/**
|
|
19032
19327
|
* Export flow for runtime (limited preview)
|
|
19033
|
-
* @description
|
|
19034
|
-
*
|
|
19035
|
-
* 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.
|
|
19036
19329
|
*
|
|
19037
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.
|
|
19038
19331
|
*/
|
|
@@ -24549,6 +24842,8 @@ interface paths {
|
|
|
24549
24842
|
limit?: string;
|
|
24550
24843
|
/** @description Pagination cursor */
|
|
24551
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;
|
|
24552
24847
|
/** @description Filter by surface ID */
|
|
24553
24848
|
surfaceId?: string;
|
|
24554
24849
|
/** @description Filter by surface ID (deprecated, use surfaceId) */
|
|
@@ -47067,17 +47362,25 @@ interface components {
|
|
|
47067
47362
|
};
|
|
47068
47363
|
};
|
|
47069
47364
|
AsyncDispatchHandle: {
|
|
47365
|
+
accepted?: boolean;
|
|
47070
47366
|
/** @description Present only for ephemeral inline-create dispatch. */
|
|
47071
47367
|
claudeManagedAgentId?: string;
|
|
47072
47368
|
/** @description Conversation id, when the request belongs to a conversation. */
|
|
47073
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;
|
|
47074
47377
|
/** @description The durable execution handle — poll with this. */
|
|
47075
47378
|
executionId: string;
|
|
47076
47379
|
/**
|
|
47077
|
-
* @description
|
|
47380
|
+
* @description Host lifecycle at acceptance or idempotent delivery replay.
|
|
47078
47381
|
* @enum {string}
|
|
47079
47382
|
*/
|
|
47080
|
-
status: "queued" | "running";
|
|
47383
|
+
status: "queued" | "running" | "paused" | "completed" | "failed" | "cancelled" | "interrupted";
|
|
47081
47384
|
/** @description Relative URL for polling this execution. */
|
|
47082
47385
|
statusUrl: string;
|
|
47083
47386
|
/** @description Saved flow or agent id, when known. */
|
|
@@ -47141,6 +47444,14 @@ interface components {
|
|
|
47141
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"). */
|
|
47142
47445
|
replayable: boolean;
|
|
47143
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
|
+
};
|
|
47144
47455
|
DailyUsageResponse: {
|
|
47145
47456
|
daily?: {
|
|
47146
47457
|
atSpendLimit: boolean;
|
|
@@ -47198,12 +47509,21 @@ interface components {
|
|
|
47198
47509
|
}[];
|
|
47199
47510
|
};
|
|
47200
47511
|
DispatchAgentJsonResponse: {
|
|
47512
|
+
agentExecutionId?: string;
|
|
47201
47513
|
blockReason?: string;
|
|
47202
47514
|
claudeManagedAgentId?: string;
|
|
47203
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;
|
|
47204
47523
|
error?: string;
|
|
47524
|
+
executionId?: string;
|
|
47205
47525
|
/** @enum {string} */
|
|
47206
|
-
executionMode?: "claude_managed";
|
|
47526
|
+
executionMode?: "claude_managed" | "runtype_managed";
|
|
47207
47527
|
executionTime?: number;
|
|
47208
47528
|
externalAgent?: {
|
|
47209
47529
|
contextId?: string;
|
|
@@ -47402,6 +47722,13 @@ interface components {
|
|
|
47402
47722
|
}[];
|
|
47403
47723
|
error: string;
|
|
47404
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
|
+
};
|
|
47405
47732
|
EvalCase: {
|
|
47406
47733
|
createdAt: string;
|
|
47407
47734
|
enabled: boolean;
|
|
@@ -47599,6 +47926,17 @@ interface components {
|
|
|
47599
47926
|
updatedAt: string | null;
|
|
47600
47927
|
};
|
|
47601
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;
|
|
47602
47940
|
cases: {
|
|
47603
47941
|
/** @description The saved eval case id; null when the case row was deleted or the record could not be mapped to a case. */
|
|
47604
47942
|
caseId: string | null;
|
|
@@ -47652,6 +47990,8 @@ interface components {
|
|
|
47652
47990
|
/** @description Recomputed from the persisted outcomes using the run's recorded strict mode, so historical verdicts match what the run originally reported. */
|
|
47653
47991
|
passed: boolean;
|
|
47654
47992
|
}[];
|
|
47993
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
47994
|
+
evaluatorFingerprint?: string | null;
|
|
47655
47995
|
/** @description The eval name recorded on the run. */
|
|
47656
47996
|
name: string | null;
|
|
47657
47997
|
passedCases: number;
|
|
@@ -47747,6 +48087,19 @@ interface components {
|
|
|
47747
48087
|
total: number;
|
|
47748
48088
|
};
|
|
47749
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;
|
|
47750
48103
|
/** @enum {string} */
|
|
47751
48104
|
mode: "batch";
|
|
47752
48105
|
name: string;
|
|
@@ -48445,6 +48798,14 @@ interface components {
|
|
|
48445
48798
|
valid: boolean;
|
|
48446
48799
|
warnings: components["schemas"]["FlowValidationIssue"][];
|
|
48447
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
|
+
};
|
|
48448
48809
|
ManagedAgentRunOutput: {
|
|
48449
48810
|
anthropicFileId: string;
|
|
48450
48811
|
/** @description Asset-storage key the bytes were persisted to. */
|
|
@@ -48642,6 +49003,17 @@ interface components {
|
|
|
48642
49003
|
schemaVersion: number;
|
|
48643
49004
|
};
|
|
48644
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;
|
|
48645
49017
|
cases: {
|
|
48646
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. */
|
|
48647
49019
|
error?: string;
|
|
@@ -48673,6 +49045,8 @@ interface components {
|
|
|
48673
49045
|
outputExcerpt: string;
|
|
48674
49046
|
passed: boolean;
|
|
48675
49047
|
}[];
|
|
49048
|
+
/** @description SHA-256 over the evaluator configuration this run scored with. */
|
|
49049
|
+
evaluatorFingerprint?: string | null;
|
|
48676
49050
|
name: string;
|
|
48677
49051
|
/** @description True when every case passed every grader. */
|
|
48678
49052
|
passed: boolean;
|
|
@@ -50935,6 +51309,8 @@ type DispatchContinuationRequest = NonNullable<paths['/v1/dispatch/continue']['p
|
|
|
50935
51309
|
type DispatchResponse = paths['/v1/dispatch']['post']['responses'][200]['content']['application/json'];
|
|
50936
51310
|
/** Durable handle returned by execute routes when `Prefer: respond-async` is applied. */
|
|
50937
51311
|
type AsyncExecutionHandle = components['schemas']['AsyncDispatchHandle'];
|
|
51312
|
+
/** Durable user-input receipt, independently observable from its host execution. */
|
|
51313
|
+
type InputDeliveryReceipt = components['schemas']['InputDeliveryReceipt'];
|
|
50938
51314
|
/** Lifecycle response returned by the generic asynchronous execution status route. */
|
|
50939
51315
|
type AsyncExecutionStatus = paths['/v1/executions/{executionId}/status']['get']['responses'][200]['content']['application/json'];
|
|
50940
51316
|
/** Buffered ordinary tool-output continuation (a durable-lane resume uses a separate variant). */
|
|
@@ -52392,8 +52768,33 @@ interface RunEvalCaseResult {
|
|
|
52392
52768
|
/** Why the case errored (provider or execution failure text); present only when `errored` is true and a cause was reported. */
|
|
52393
52769
|
error?: string;
|
|
52394
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
|
+
}
|
|
52395
52796
|
/** The synchronous run + score result returned by `client.evals.runSuite(...)`. */
|
|
52396
|
-
interface RunEvalResult {
|
|
52797
|
+
interface RunEvalResult extends EvalRunEvidence {
|
|
52397
52798
|
/** The saved suite id, or `null` for an inline (virtual) run. */
|
|
52398
52799
|
suiteId: string | null;
|
|
52399
52800
|
name: string;
|
|
@@ -52448,7 +52849,7 @@ interface EvalRunCaseScores {
|
|
|
52448
52849
|
nextStepToolCalls: NextStepToolCall[] | null;
|
|
52449
52850
|
}
|
|
52450
52851
|
/** Persisted per-case grader scores for a run (`client.evals.getRunScores`). */
|
|
52451
|
-
interface EvalRunScores {
|
|
52852
|
+
interface EvalRunScores extends EvalRunEvidence {
|
|
52452
52853
|
runId: string;
|
|
52453
52854
|
/** The suite the run executed; null when the suite was since deleted. */
|
|
52454
52855
|
suiteId: string | null;
|
|
@@ -52477,9 +52878,11 @@ type RunEvalInput = {
|
|
|
52477
52878
|
suiteId: string;
|
|
52478
52879
|
strict?: boolean;
|
|
52479
52880
|
virtual?: boolean;
|
|
52881
|
+
agent?: EvalAgentSelector;
|
|
52480
52882
|
} | {
|
|
52481
52883
|
definition: EvalDefinition;
|
|
52482
52884
|
strict?: boolean;
|
|
52885
|
+
agent?: EvalAgentSelector;
|
|
52483
52886
|
};
|
|
52484
52887
|
/**
|
|
52485
52888
|
* Idempotently converge an eval suite definition onto the platform. Hash-first:
|
|
@@ -53352,7 +53755,7 @@ interface EvalSuiteListResult {
|
|
|
53352
53755
|
total: number;
|
|
53353
53756
|
}
|
|
53354
53757
|
/** A large suite queued as a durable run (graded when it completes). */
|
|
53355
|
-
interface EvalSuiteRunQueued {
|
|
53758
|
+
interface EvalSuiteRunQueued extends EvalRunEvidence {
|
|
53356
53759
|
mode: 'batch';
|
|
53357
53760
|
/** Poll `client.evals.getRunScores(runId)` once the run completes. */
|
|
53358
53761
|
runId: string;
|
|
@@ -53494,6 +53897,10 @@ declare class EvalSuitesNamespace {
|
|
|
53494
53897
|
run(suiteId: string, options?: {
|
|
53495
53898
|
strict?: boolean;
|
|
53496
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;
|
|
53497
53904
|
}): Promise<EvalSuiteRunResult>;
|
|
53498
53905
|
/** Add one or more test cases to a suite. */
|
|
53499
53906
|
addCases(suiteId: string, cases: EvalSuiteCaseInput[]): Promise<{
|
|
@@ -57023,9 +57430,9 @@ declare class DispatchEndpoint {
|
|
|
57023
57430
|
/**
|
|
57024
57431
|
* Dispatch: create and/or execute flows on records atomically
|
|
57025
57432
|
*/
|
|
57026
|
-
execute(data: DispatchRequest): Promise<any>;
|
|
57433
|
+
execute(data: DispatchRequest, admission?: AgentAdmissionOptions): Promise<any>;
|
|
57027
57434
|
/** Start a dispatch and return its durable execution handle immediately. */
|
|
57028
|
-
executeAsync(data: DispatchRequest): Promise<AsyncExecutionHandle>;
|
|
57435
|
+
executeAsync(data: DispatchRequest, admission?: AgentAdmissionOptions): Promise<AsyncExecutionHandle>;
|
|
57029
57436
|
/**
|
|
57030
57437
|
* Dispatch with streaming response
|
|
57031
57438
|
*
|
|
@@ -57036,7 +57443,7 @@ declare class DispatchEndpoint {
|
|
|
57036
57443
|
*/
|
|
57037
57444
|
executeStream(data: DispatchRequest, init?: {
|
|
57038
57445
|
signal?: AbortSignal;
|
|
57039
|
-
} & DetachedReconnectOptions): Promise<Response>;
|
|
57446
|
+
} & DetachedReconnectOptions & AgentAdmissionOptions): Promise<Response>;
|
|
57040
57447
|
/**
|
|
57041
57448
|
* The `?after=` reattach leg a detached dispatch stream is followed with.
|
|
57042
57449
|
*
|
|
@@ -57102,6 +57509,7 @@ declare class ExecutionsEndpoint {
|
|
|
57102
57509
|
private client;
|
|
57103
57510
|
constructor(client: ApiClient);
|
|
57104
57511
|
getStatus(executionId: string): Promise<AsyncExecutionStatus>;
|
|
57512
|
+
getDelivery(executionId: string, deliveryId: string): Promise<InputDeliveryReceipt>;
|
|
57105
57513
|
}
|
|
57106
57514
|
/**
|
|
57107
57515
|
* Chat endpoint handler
|
|
@@ -58151,6 +58559,10 @@ interface AgentExecuteRequest {
|
|
|
58151
58559
|
* Agent execute response (non-streaming)
|
|
58152
58560
|
*/
|
|
58153
58561
|
interface AgentExecuteResponse {
|
|
58562
|
+
executionId?: string;
|
|
58563
|
+
deliveryId?: string;
|
|
58564
|
+
deliveryStatus?: InputDeliveryReceipt['status'];
|
|
58565
|
+
deliveryStatusUrl?: string;
|
|
58154
58566
|
success: boolean;
|
|
58155
58567
|
result: string;
|
|
58156
58568
|
iterations: number;
|
|
@@ -58582,23 +58994,15 @@ interface Agent {
|
|
|
58582
58994
|
createdAt: string;
|
|
58583
58995
|
updatedAt: string;
|
|
58584
58996
|
}
|
|
58585
|
-
/**
|
|
58586
|
-
* Durable-turn admission controls (ADR 0020), sent as request headers on
|
|
58587
|
-
* `POST /agents/{id}/execute`.
|
|
58588
|
-
*
|
|
58589
|
-
* The route declares all three, so they are in the published spec and in every
|
|
58590
|
-
* generated SDK; this bag is the hand-written namespace's equivalent. Each is
|
|
58591
|
-
* optional, and sending none of them leaves the wire behavior of the call
|
|
58592
|
-
* exactly as it was. They are read only by the durable lane: a turn that
|
|
58593
|
-
* resolves to the in-process lane ignores them.
|
|
58594
|
-
*/
|
|
58997
|
+
/** Durable admission headers for agent execute and dispatch. Join requires native durable execution. */
|
|
58595
58998
|
interface AgentAdmissionOptions {
|
|
58596
58999
|
/**
|
|
58597
59000
|
* What to do when the conversation already has a turn in flight. `reject`
|
|
58598
59001
|
* (the default when omitted) answers `CONVERSATION_BUSY`; `supersede`
|
|
58599
|
-
* 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.
|
|
58600
59004
|
*/
|
|
58601
|
-
concurrency?: 'reject' | 'supersede' | 'queue';
|
|
59005
|
+
concurrency?: 'reject' | 'supersede' | 'queue' | 'join';
|
|
58602
59006
|
/**
|
|
58603
59007
|
* Fold this request into an already-pending turn for the same conversation
|
|
58604
59008
|
* instead of starting a second one. The response is the pending execution.
|
|
@@ -60886,4 +61290,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
60886
61290
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
60887
61291
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
60888
61292
|
|
|
60889
|
-
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 };
|