@runtypelabs/sdk 9.17.3 → 10.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +40 -3
- package/dist/index.d.cts +926 -71
- package/dist/index.d.ts +926 -71
- package/dist/index.mjs +39 -3
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1033,6 +1033,7 @@ interface paths {
|
|
|
1033
1033
|
[key: string]: unknown;
|
|
1034
1034
|
};
|
|
1035
1035
|
description: string;
|
|
1036
|
+
idempotent?: boolean;
|
|
1036
1037
|
name: string;
|
|
1037
1038
|
parametersSchema: {
|
|
1038
1039
|
[key: string]: unknown;
|
|
@@ -1546,6 +1547,7 @@ interface paths {
|
|
|
1546
1547
|
[key: string]: unknown;
|
|
1547
1548
|
};
|
|
1548
1549
|
description: string;
|
|
1550
|
+
idempotent?: boolean;
|
|
1549
1551
|
name: string;
|
|
1550
1552
|
parametersSchema: {
|
|
1551
1553
|
[key: string]: unknown;
|
|
@@ -2193,7 +2195,7 @@ interface paths {
|
|
|
2193
2195
|
reflectionInterval?: number;
|
|
2194
2196
|
treatLengthCutoffAsFailure?: boolean;
|
|
2195
2197
|
};
|
|
2196
|
-
maxTokens?: number;
|
|
2198
|
+
maxTokens?: number | null;
|
|
2197
2199
|
memory?: {
|
|
2198
2200
|
enabled: boolean;
|
|
2199
2201
|
injectSummary?: boolean;
|
|
@@ -2333,6 +2335,7 @@ interface paths {
|
|
|
2333
2335
|
[key: string]: unknown;
|
|
2334
2336
|
};
|
|
2335
2337
|
description: string;
|
|
2338
|
+
idempotent?: boolean;
|
|
2336
2339
|
name: string;
|
|
2337
2340
|
parametersSchema: {
|
|
2338
2341
|
[key: string]: unknown;
|
|
@@ -4411,6 +4414,12 @@ interface paths {
|
|
|
4411
4414
|
lastHeartbeatAt: string | null;
|
|
4412
4415
|
/** @enum {string} */
|
|
4413
4416
|
notificationMode: "none" | "narrate" | "react";
|
|
4417
|
+
/** @description What instrumentation produced an ingested run, as the OTLP ingest resolved it: the adapter a producer named itself as (`runtype.adapter.name`) and every normalizer that claimed the trace. An empty `normalizers` array states that nothing claimed it, which is what a producer already speaking canonical GenAI semantic conventions looks like. `null` means the producer was never recorded (a hosted run, or a run ingested before this was persisted) and must not be read as "identified as nothing". */
|
|
4418
|
+
otelProducer: {
|
|
4419
|
+
adapterName?: string;
|
|
4420
|
+
adapterVersion?: string;
|
|
4421
|
+
normalizers?: string[];
|
|
4422
|
+
} | null;
|
|
4414
4423
|
parentAgentId: string | null;
|
|
4415
4424
|
parentConversationId: string | null;
|
|
4416
4425
|
parentExecutionId: string | null;
|
|
@@ -4550,6 +4559,11 @@ interface paths {
|
|
|
4550
4559
|
conversationId: string | null;
|
|
4551
4560
|
createdAt: string;
|
|
4552
4561
|
executionId: string;
|
|
4562
|
+
/**
|
|
4563
|
+
* @description Which substrate actually ran this turn. `durable` means a Durable Object owned it: a Runtype session for an attached turn (the only lane that sets the `X-Runtype-Execution-Driver` response header), or the run owner a detached run is handed to. `in_process` means the request worker ran it to completion. Read back from the run's own admission-time record, so it reports what happened rather than what the current routing policy would choose now. `executionMode` cannot answer this on its own: both lanes record `attached` for an attached turn. One routing rule is worth knowing when comparing runs: `POST /v1/dispatch` keeps a request that sets `options.debugMode: true` on `in_process`.
|
|
4564
|
+
* @enum {string}
|
|
4565
|
+
*/
|
|
4566
|
+
executionLane: "durable" | "in_process";
|
|
4553
4567
|
/** @enum {string} */
|
|
4554
4568
|
executionMode: "attached" | "detached";
|
|
4555
4569
|
expiresAt: string | null;
|
|
@@ -14390,15 +14404,6 @@ interface paths {
|
|
|
14390
14404
|
"application/json": components["schemas"]["Error"];
|
|
14391
14405
|
};
|
|
14392
14406
|
};
|
|
14393
|
-
/** @description Documentation search is not enabled */
|
|
14394
|
-
403: {
|
|
14395
|
-
headers: {
|
|
14396
|
-
[name: string]: unknown;
|
|
14397
|
-
};
|
|
14398
|
-
content: {
|
|
14399
|
-
"application/json": components["schemas"]["Error"];
|
|
14400
|
-
};
|
|
14401
|
-
};
|
|
14402
14407
|
/** @description Upstream documentation search failed */
|
|
14403
14408
|
502: {
|
|
14404
14409
|
headers: {
|
|
@@ -18369,6 +18374,11 @@ interface paths {
|
|
|
18369
18374
|
createdAt: string;
|
|
18370
18375
|
error?: string;
|
|
18371
18376
|
executionId: string;
|
|
18377
|
+
/**
|
|
18378
|
+
* @description Which substrate ran this turn: `durable` for a Durable Object (a Runtype session, or the run owner a detached run is handed to), `in_process` for the request worker. Present only for an execution with a canonical agent row; a flow handle and a Claude Managed handle omit it.
|
|
18379
|
+
* @enum {string}
|
|
18380
|
+
*/
|
|
18381
|
+
executionLane?: "durable" | "in_process";
|
|
18372
18382
|
httpStatus?: number;
|
|
18373
18383
|
result?: unknown;
|
|
18374
18384
|
/** @enum {string} */
|
|
@@ -25151,10 +25161,14 @@ interface paths {
|
|
|
25151
25161
|
get: {
|
|
25152
25162
|
parameters: {
|
|
25153
25163
|
query?: {
|
|
25154
|
-
/** @description Start timestamp (ISO 8601) */
|
|
25164
|
+
/** @description Start timestamp (ISO 8601). Defaults to 24 hours ago. */
|
|
25155
25165
|
from?: string;
|
|
25156
|
-
/** @description End timestamp (ISO 8601) */
|
|
25166
|
+
/** @description End timestamp (ISO 8601). Defaults to now. */
|
|
25157
25167
|
to?: string;
|
|
25168
|
+
/** @description Alias for from. Ignored when from is also given. */
|
|
25169
|
+
startTime?: string;
|
|
25170
|
+
/** @description Alias for to. Ignored when to is also given. */
|
|
25171
|
+
endTime?: string;
|
|
25158
25172
|
/** @description Comma-separated log levels (debug,info,warn,error) */
|
|
25159
25173
|
level?: string;
|
|
25160
25174
|
/** @description Comma-separated categories */
|
|
@@ -25203,6 +25217,13 @@ interface paths {
|
|
|
25203
25217
|
};
|
|
25204
25218
|
};
|
|
25205
25219
|
success: boolean;
|
|
25220
|
+
/** @description The time window the query resolved to, after defaults and from/to aliases. */
|
|
25221
|
+
window: {
|
|
25222
|
+
/** @description Resolved start timestamp the query actually used */
|
|
25223
|
+
from: string;
|
|
25224
|
+
/** @description Resolved end timestamp the query actually used */
|
|
25225
|
+
to: string;
|
|
25226
|
+
};
|
|
25206
25227
|
};
|
|
25207
25228
|
};
|
|
25208
25229
|
};
|
|
@@ -25414,10 +25435,14 @@ interface paths {
|
|
|
25414
25435
|
get: {
|
|
25415
25436
|
parameters: {
|
|
25416
25437
|
query?: {
|
|
25417
|
-
/** @description Start timestamp (ISO 8601) */
|
|
25438
|
+
/** @description Start timestamp (ISO 8601). Defaults to 24 hours ago. */
|
|
25418
25439
|
from?: string;
|
|
25419
|
-
/** @description End timestamp (ISO 8601) */
|
|
25440
|
+
/** @description End timestamp (ISO 8601). Defaults to now. */
|
|
25420
25441
|
to?: string;
|
|
25442
|
+
/** @description Alias for from. Ignored when from is also given. */
|
|
25443
|
+
startTime?: string;
|
|
25444
|
+
/** @description Alias for to. Ignored when to is also given. */
|
|
25445
|
+
endTime?: string;
|
|
25421
25446
|
/** @description Comma-separated log levels (debug,info,warn,error) */
|
|
25422
25447
|
level?: string;
|
|
25423
25448
|
/** @description Comma-separated categories */
|
|
@@ -25479,9 +25504,25 @@ interface paths {
|
|
|
25479
25504
|
total: number;
|
|
25480
25505
|
};
|
|
25481
25506
|
success: boolean;
|
|
25507
|
+
/** @description The time window the query resolved to, after defaults and from/to aliases. */
|
|
25508
|
+
window: {
|
|
25509
|
+
/** @description Resolved start timestamp the query actually used */
|
|
25510
|
+
from: string;
|
|
25511
|
+
/** @description Resolved end timestamp the query actually used */
|
|
25512
|
+
to: string;
|
|
25513
|
+
};
|
|
25482
25514
|
};
|
|
25483
25515
|
};
|
|
25484
25516
|
};
|
|
25517
|
+
/** @description Invalid request */
|
|
25518
|
+
400: {
|
|
25519
|
+
headers: {
|
|
25520
|
+
[name: string]: unknown;
|
|
25521
|
+
};
|
|
25522
|
+
content: {
|
|
25523
|
+
"application/json": components["schemas"]["Error"];
|
|
25524
|
+
};
|
|
25525
|
+
};
|
|
25485
25526
|
/** @description Unauthorized */
|
|
25486
25527
|
401: {
|
|
25487
25528
|
headers: {
|
|
@@ -25553,7 +25594,7 @@ interface paths {
|
|
|
25553
25594
|
};
|
|
25554
25595
|
content: {
|
|
25555
25596
|
"application/json": {
|
|
25556
|
-
data
|
|
25597
|
+
data: components["schemas"]["ConversationTrace"];
|
|
25557
25598
|
success: boolean;
|
|
25558
25599
|
};
|
|
25559
25600
|
};
|
|
@@ -25625,7 +25666,7 @@ interface paths {
|
|
|
25625
25666
|
};
|
|
25626
25667
|
content: {
|
|
25627
25668
|
"application/json": {
|
|
25628
|
-
data
|
|
25669
|
+
data: components["schemas"]["TraceTree"];
|
|
25629
25670
|
success: boolean;
|
|
25630
25671
|
};
|
|
25631
25672
|
};
|
|
@@ -25705,6 +25746,8 @@ interface paths {
|
|
|
25705
25746
|
status: string;
|
|
25706
25747
|
}[];
|
|
25707
25748
|
success: boolean;
|
|
25749
|
+
/** @description Present and true only when the span-store leg of this read hit its per-parent ceiling, so later children it holds are not listed. Absent otherwise. */
|
|
25750
|
+
truncated?: boolean;
|
|
25708
25751
|
};
|
|
25709
25752
|
};
|
|
25710
25753
|
};
|
|
@@ -30715,7 +30758,7 @@ interface paths {
|
|
|
30715
30758
|
};
|
|
30716
30759
|
/**
|
|
30717
30760
|
* Get product activity
|
|
30718
|
-
* @description First page of every activity source a product has: one entry per conversational surface (messaging conversations or client-conversation records) and one per distinct agent capability
|
|
30761
|
+
* @description First page of every activity source a product has: one entry per conversational surface (messaging conversations or client-conversation records) and one per distinct agent capability. Agent rows are `RunListRow`s read the way `GET /v1/runs?agentId=` reads them, so a client continues that source with `/v1/runs` and the surface sources with their own list endpoints; rows, cursors and `hasMore` match. A source that fails returns empty rows plus an `error`; the response is still 200.
|
|
30719
30762
|
*/
|
|
30720
30763
|
get: {
|
|
30721
30764
|
parameters: {
|
|
@@ -30742,71 +30785,105 @@ interface paths {
|
|
|
30742
30785
|
agents: {
|
|
30743
30786
|
agentId: string;
|
|
30744
30787
|
data: {
|
|
30788
|
+
/** @description Agent that ran. */
|
|
30745
30789
|
agentId: string | null;
|
|
30746
|
-
|
|
30747
|
-
|
|
30790
|
+
/** @description How the run chose its version: alias, version or legacy-live-row. Absent means the overlay did not answer, which is not false and not null. */
|
|
30791
|
+
agentTargetResolution?: string | null;
|
|
30792
|
+
/** @description Agent version that ran. Absent means the overlay did not answer, which is not false and not null. */
|
|
30793
|
+
agentVersionId?: string | null;
|
|
30794
|
+
/** @description Version label. Absent means the overlay did not answer, which is not false and not null. */
|
|
30795
|
+
agentVersionLabel?: string | null;
|
|
30796
|
+
/** @description Version number, for a version chip and version grouping. Absent means the overlay did not answer, which is not false and not null. */
|
|
30797
|
+
agentVersionNumber?: number | null;
|
|
30798
|
+
/** @description Batch this run belongs to. */
|
|
30799
|
+
batchExecutionId: string | null;
|
|
30800
|
+
/** @description Budget exhausted. Absent means the overlay did not answer, which is not false and not null. */
|
|
30801
|
+
budgetExhausted?: boolean | null;
|
|
30802
|
+
/** @description Cancel request. Absent means the overlay did not answer, which is not false and not null. */
|
|
30803
|
+
cancelRequestedAt?: string | null;
|
|
30748
30804
|
/**
|
|
30749
|
-
* @description
|
|
30750
|
-
* @enum {string}
|
|
30805
|
+
* @description Storage completeness; null on a row the control-plane arm served.
|
|
30806
|
+
* @enum {string|null}
|
|
30751
30807
|
*/
|
|
30752
|
-
|
|
30753
|
-
/** @description
|
|
30754
|
-
agentVersion: {
|
|
30755
|
-
id: string;
|
|
30756
|
-
label: string | null;
|
|
30757
|
-
versionNumber: number;
|
|
30758
|
-
} | null;
|
|
30759
|
-
/** @description The `agent_versions` row this run was recorded against, or `null`. `null` means the surface that admitted the run stamps no version (A2A, Product API, A2A pause admission and the Product MCP capability path record none today) or the run predates version stamping. It is never a claim that the run executed an unversioned configuration. */
|
|
30760
|
-
agentVersionId: string | null;
|
|
30761
|
-
/** @description Whether the agent loop ended by exhausting its `maxTurns` budget. Read this rather than inferring truncation from `stopReason`: a single-turn loop publishes `end_turn` on a budget end to preserve its original payload shape, and several clean success paths publish that same value. `null` means UNKNOWN — a run recorded before this field existed, or one executed by a lane that reports no per-iteration breakdown (external agents, Claude Managed) — and must not be read as `false`. */
|
|
30762
|
-
budgetExhausted: boolean | null;
|
|
30763
|
-
cancelRequestedAt: string | null;
|
|
30764
|
-
completedAt: string | null;
|
|
30765
|
-
/** @description The conversation thread this run belongs to, so consumers can group a multi-turn conversation's runs without a per-run log query. This is the run's OWN thread, distinct from `parentConversationId` (subagent lineage, the conversation of the run that spawned it). `null` on stateless surfaces (webhook, schedule, eval, one-shot API) and on runs persisted before the column existed. */
|
|
30808
|
+
completeness: "partial" | "complete" | "conflicted" | "expired" | "deleted" | null;
|
|
30809
|
+
/** @description Conversation this run belongs to. */
|
|
30766
30810
|
conversationId: string | null;
|
|
30767
|
-
|
|
30811
|
+
/** @description Wall-clock duration in milliseconds. */
|
|
30812
|
+
durationMs: number | null;
|
|
30813
|
+
/** @description ISO instant the run ended; null while it is still running. */
|
|
30814
|
+
endedAt: string | null;
|
|
30815
|
+
/** @description Runtime execution id; the key for /v1/logs and /v1/runs/{id}. */
|
|
30768
30816
|
executionId: string;
|
|
30769
|
-
/** @
|
|
30770
|
-
|
|
30771
|
-
|
|
30772
|
-
|
|
30773
|
-
|
|
30774
|
-
|
|
30817
|
+
/** @description Budget expiry. Absent means the overlay did not answer, which is not false and not null. */
|
|
30818
|
+
expiresAt?: string | null;
|
|
30819
|
+
/** @description Fidelity of the projection behind this row. */
|
|
30820
|
+
fidelityTier: string | null;
|
|
30821
|
+
/** @description Flow that ran. */
|
|
30822
|
+
flowId: string | null;
|
|
30823
|
+
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
30775
30824
|
inputMessages?: unknown;
|
|
30776
|
-
|
|
30777
|
-
|
|
30778
|
-
/** @
|
|
30779
|
-
|
|
30780
|
-
|
|
30781
|
-
|
|
30825
|
+
/** @description Input tokens reported. */
|
|
30826
|
+
inputTokens: number | null;
|
|
30827
|
+
/** @description Loop iterations from the terminal frame. */
|
|
30828
|
+
iterations?: number | null;
|
|
30829
|
+
/**
|
|
30830
|
+
* @description Whether an agent or a flow ran.
|
|
30831
|
+
* @enum {string}
|
|
30832
|
+
*/
|
|
30833
|
+
kind: "agent" | "flow";
|
|
30834
|
+
/** @description Last heartbeat. Absent means the overlay did not answer, which is not false and not null. */
|
|
30835
|
+
lastHeartbeatAt?: string | null;
|
|
30836
|
+
/** @description Framework identity the producer reported, for a versionless run group. Absent means the overlay did not answer, which is not false and not null. */
|
|
30837
|
+
otelProducer?: unknown;
|
|
30838
|
+
/** @description Output tokens reported. */
|
|
30839
|
+
outputTokens: number | null;
|
|
30840
|
+
/** @description Run that spawned this one. */
|
|
30782
30841
|
parentExecutionId: string | null;
|
|
30842
|
+
/** @description Parent's tool call that spawned this run. */
|
|
30783
30843
|
parentToolCallId: string | null;
|
|
30784
|
-
|
|
30785
|
-
|
|
30786
|
-
|
|
30787
|
-
parameters?: unknown;
|
|
30788
|
-
reason?: string;
|
|
30789
|
-
requestedAt: string;
|
|
30790
|
-
timeout?: number;
|
|
30791
|
-
toolCallId: string;
|
|
30792
|
-
toolName: string;
|
|
30793
|
-
toolType: string;
|
|
30794
|
-
} | null;
|
|
30844
|
+
/** @description Approval awaiting a human. Absent means the overlay did not answer, which is not false and not null. */
|
|
30845
|
+
pendingApproval?: unknown;
|
|
30846
|
+
/** @description Live progress document. Absent means the overlay did not answer, which is not false and not null. */
|
|
30795
30847
|
progress?: unknown;
|
|
30796
|
-
|
|
30848
|
+
/** @description Record this run processed. */
|
|
30849
|
+
recordId: string | null;
|
|
30850
|
+
/** @description Retention removed the spans; the run still lists and reads as completed. */
|
|
30851
|
+
retentionElided?: boolean;
|
|
30852
|
+
/** @description Outermost run of the tree. */
|
|
30797
30853
|
rootExecutionId: string | null;
|
|
30798
|
-
|
|
30799
|
-
|
|
30800
|
-
|
|
30801
|
-
|
|
30854
|
+
/** @description Cost the producer reported. */
|
|
30855
|
+
selfReportedCost: string | null;
|
|
30856
|
+
/**
|
|
30857
|
+
* @description hosted, or ingested for an OTLP export. An ingested run is never reported running.
|
|
30858
|
+
* @enum {string}
|
|
30859
|
+
*/
|
|
30860
|
+
source: "hosted" | "ingested";
|
|
30861
|
+
/** @description Spans the projection wrote. */
|
|
30862
|
+
spanCount: number | null;
|
|
30863
|
+
/** @description ISO instant the run started. */
|
|
30864
|
+
startedAt: string;
|
|
30865
|
+
/**
|
|
30866
|
+
* @description Customer-facing status, derived by runStatusFrom.
|
|
30867
|
+
* @enum {string}
|
|
30868
|
+
*/
|
|
30869
|
+
status: "queued" | "running" | "awaiting" | "completed" | "failed" | "cancelled";
|
|
30870
|
+
/** @description Stop reason from the terminal frame. */
|
|
30871
|
+
stopReason?: string | null;
|
|
30872
|
+
/** @description Product surface that entered this run. */
|
|
30873
|
+
surfaceId: string | null;
|
|
30874
|
+
/** @description Surface family (api, chat, webhook, schedule, ...). */
|
|
30802
30875
|
surfaceType: string | null;
|
|
30876
|
+
/** @description True when the run was dispatched with storeResults: false, so it has no control-plane row and no overlay. NULL means the header states nothing about it, which is not false: headers written before this field shipped, and lanes that take no such flag, carry no dispatch stamp and are never backfilled. */
|
|
30877
|
+
test: boolean | null;
|
|
30878
|
+
/** @description Metered cost as a decimal string. */
|
|
30803
30879
|
totalCost: string | null;
|
|
30804
|
-
|
|
30880
|
+
/** @description Trace id in the span store; null on a row the control-plane arm served. */
|
|
30881
|
+
traceId: string | null;
|
|
30805
30882
|
}[];
|
|
30806
30883
|
error?: {
|
|
30807
30884
|
message: string;
|
|
30808
30885
|
};
|
|
30809
|
-
pagination: components["schemas"]["
|
|
30886
|
+
pagination: components["schemas"]["RunListPagination"];
|
|
30810
30887
|
}[];
|
|
30811
30888
|
surfaces: {
|
|
30812
30889
|
data: (({
|
|
@@ -39955,6 +40032,233 @@ interface paths {
|
|
|
39955
40032
|
patch?: never;
|
|
39956
40033
|
trace?: never;
|
|
39957
40034
|
};
|
|
40035
|
+
"/v1/runs": {
|
|
40036
|
+
parameters: {
|
|
40037
|
+
query?: never;
|
|
40038
|
+
header?: never;
|
|
40039
|
+
path?: never;
|
|
40040
|
+
cookie?: never;
|
|
40041
|
+
};
|
|
40042
|
+
/**
|
|
40043
|
+
* List runs
|
|
40044
|
+
* @description Every agent and flow run in the span store, newest start first. A run dispatched with `storeResults: false` is listed with `test: true` rather than being invisible. `overlay=live` adds live control-plane fields; the overlay never adds, drops or reorders a row. Returns 404 when run reads are not enabled for the organization.
|
|
40045
|
+
*/
|
|
40046
|
+
get: {
|
|
40047
|
+
parameters: {
|
|
40048
|
+
query?: {
|
|
40049
|
+
/** @description Filter by agent id; repeat for a set. */
|
|
40050
|
+
agentId?: string | string[];
|
|
40051
|
+
/** @description Filter by flow id; repeat for a set. */
|
|
40052
|
+
flowId?: string | string[];
|
|
40053
|
+
/** @description Filter by conversation id. */
|
|
40054
|
+
conversationId?: string;
|
|
40055
|
+
/** @description Filter by surface id. */
|
|
40056
|
+
surfaceId?: string;
|
|
40057
|
+
/** @description Filter by surface family. */
|
|
40058
|
+
surfaceType?: string;
|
|
40059
|
+
/** @description Filter by record id. */
|
|
40060
|
+
recordId?: string;
|
|
40061
|
+
/** @description Filter by batch id; repeat for a set. */
|
|
40062
|
+
batchExecutionId?: string | string[];
|
|
40063
|
+
/** @description Runs spawned by this execution. */
|
|
40064
|
+
parentExecutionId?: string;
|
|
40065
|
+
/** @description Runs in this execution tree. */
|
|
40066
|
+
rootExecutionId?: string;
|
|
40067
|
+
/** @description Read specific runs by id; at most 100 per request. */
|
|
40068
|
+
executionId?: string | string[];
|
|
40069
|
+
/** @description Filter by producing lane. */
|
|
40070
|
+
source?: "hosted" | "ingested";
|
|
40071
|
+
/** @description status accepts only running, completed or failed. queued, awaiting and cancelled exist only in the live overlay, which may never change which rows a page holds, so the server cannot filter on them. */
|
|
40072
|
+
status?: "running" | "completed" | "failed";
|
|
40073
|
+
/** @description Window start (ISO 8601). Defaults to 24 hours ago. */
|
|
40074
|
+
from?: string;
|
|
40075
|
+
/** @description Window end (ISO 8601). Defaults to now. */
|
|
40076
|
+
to?: string;
|
|
40077
|
+
/** @description full (the default) returns every field. compact omits exactly these 14: stopReason, iterations, agentVersionId, agentVersionLabel, agentVersionNumber, agentTargetResolution, otelProducer, lastHeartbeatAt, expiresAt, cancelRequestedAt, progress, pendingApproval, budgetExhausted and inputMessages. The status is still overlay-corrected on a compact page; only the fields differ. */
|
|
40078
|
+
view?: "compact" | "full";
|
|
40079
|
+
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40080
|
+
overlay?: "live" | "none";
|
|
40081
|
+
/** @description Page size, at most 100. */
|
|
40082
|
+
limit?: string;
|
|
40083
|
+
/** @description Keyset cursor from a previous page. */
|
|
40084
|
+
cursor?: string;
|
|
40085
|
+
};
|
|
40086
|
+
header?: never;
|
|
40087
|
+
path?: never;
|
|
40088
|
+
cookie?: never;
|
|
40089
|
+
};
|
|
40090
|
+
requestBody?: never;
|
|
40091
|
+
responses: {
|
|
40092
|
+
/** @description Runs returned */
|
|
40093
|
+
200: {
|
|
40094
|
+
headers: {
|
|
40095
|
+
[name: string]: unknown;
|
|
40096
|
+
};
|
|
40097
|
+
content: {
|
|
40098
|
+
"application/json": {
|
|
40099
|
+
data: components["schemas"]["RunListRow"][];
|
|
40100
|
+
pagination: {
|
|
40101
|
+
hasMore: boolean;
|
|
40102
|
+
hasPrev: boolean;
|
|
40103
|
+
limit: number;
|
|
40104
|
+
nextCursor: string | null;
|
|
40105
|
+
};
|
|
40106
|
+
/** @description The started_at window the query resolved to, after defaults. */
|
|
40107
|
+
window: {
|
|
40108
|
+
from: string;
|
|
40109
|
+
to: string;
|
|
40110
|
+
};
|
|
40111
|
+
};
|
|
40112
|
+
};
|
|
40113
|
+
};
|
|
40114
|
+
/** @description Invalid request, including a filter whose value could not be read */
|
|
40115
|
+
400: {
|
|
40116
|
+
headers: {
|
|
40117
|
+
[name: string]: unknown;
|
|
40118
|
+
};
|
|
40119
|
+
content: {
|
|
40120
|
+
"application/json": components["schemas"]["Error"];
|
|
40121
|
+
};
|
|
40122
|
+
};
|
|
40123
|
+
/** @description Unauthorized */
|
|
40124
|
+
401: {
|
|
40125
|
+
headers: {
|
|
40126
|
+
[name: string]: unknown;
|
|
40127
|
+
};
|
|
40128
|
+
content: {
|
|
40129
|
+
"application/json": components["schemas"]["Error"];
|
|
40130
|
+
};
|
|
40131
|
+
};
|
|
40132
|
+
/** @description Insufficient API key permissions */
|
|
40133
|
+
403: {
|
|
40134
|
+
headers: {
|
|
40135
|
+
[name: string]: unknown;
|
|
40136
|
+
};
|
|
40137
|
+
content: {
|
|
40138
|
+
"application/json": components["schemas"]["Error"];
|
|
40139
|
+
};
|
|
40140
|
+
};
|
|
40141
|
+
/** @description Run reads are not enabled for this organization */
|
|
40142
|
+
404: {
|
|
40143
|
+
headers: {
|
|
40144
|
+
[name: string]: unknown;
|
|
40145
|
+
};
|
|
40146
|
+
content: {
|
|
40147
|
+
"application/json": components["schemas"]["Error"];
|
|
40148
|
+
};
|
|
40149
|
+
};
|
|
40150
|
+
/** @description Internal server error */
|
|
40151
|
+
500: {
|
|
40152
|
+
headers: {
|
|
40153
|
+
[name: string]: unknown;
|
|
40154
|
+
};
|
|
40155
|
+
content: {
|
|
40156
|
+
"application/json": components["schemas"]["Error"];
|
|
40157
|
+
};
|
|
40158
|
+
};
|
|
40159
|
+
};
|
|
40160
|
+
};
|
|
40161
|
+
put?: never;
|
|
40162
|
+
post?: never;
|
|
40163
|
+
delete?: never;
|
|
40164
|
+
options?: never;
|
|
40165
|
+
head?: never;
|
|
40166
|
+
patch?: never;
|
|
40167
|
+
trace?: never;
|
|
40168
|
+
};
|
|
40169
|
+
"/v1/runs/{executionId}": {
|
|
40170
|
+
parameters: {
|
|
40171
|
+
query?: never;
|
|
40172
|
+
header?: never;
|
|
40173
|
+
path?: never;
|
|
40174
|
+
cookie?: never;
|
|
40175
|
+
};
|
|
40176
|
+
/**
|
|
40177
|
+
* Read one run
|
|
40178
|
+
* @description One run the caller owns, in the row shape the list returns. An API key must hold the scope of the run's own execution kind (AGENTS:READ or FLOWS:READ, and both when the run states neither). Use `GET /v1/logs/trace/execution/{id}` for its span tree.
|
|
40179
|
+
*/
|
|
40180
|
+
get: {
|
|
40181
|
+
parameters: {
|
|
40182
|
+
query?: {
|
|
40183
|
+
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40184
|
+
overlay?: "live" | "none";
|
|
40185
|
+
/** @description full (the default) returns every field. compact omits exactly these 14: stopReason, iterations, agentVersionId, agentVersionLabel, agentVersionNumber, agentTargetResolution, otelProducer, lastHeartbeatAt, expiresAt, cancelRequestedAt, progress, pendingApproval, budgetExhausted and inputMessages. The status is still overlay-corrected on a compact page; only the fields differ. */
|
|
40186
|
+
view?: "compact" | "full";
|
|
40187
|
+
};
|
|
40188
|
+
header?: never;
|
|
40189
|
+
path: {
|
|
40190
|
+
executionId: string;
|
|
40191
|
+
};
|
|
40192
|
+
cookie?: never;
|
|
40193
|
+
};
|
|
40194
|
+
requestBody?: never;
|
|
40195
|
+
responses: {
|
|
40196
|
+
/** @description Run returned */
|
|
40197
|
+
200: {
|
|
40198
|
+
headers: {
|
|
40199
|
+
[name: string]: unknown;
|
|
40200
|
+
};
|
|
40201
|
+
content: {
|
|
40202
|
+
"application/json": {
|
|
40203
|
+
data: components["schemas"]["RunListRow"];
|
|
40204
|
+
};
|
|
40205
|
+
};
|
|
40206
|
+
};
|
|
40207
|
+
/** @description Invalid request, including a filter whose value could not be read */
|
|
40208
|
+
400: {
|
|
40209
|
+
headers: {
|
|
40210
|
+
[name: string]: unknown;
|
|
40211
|
+
};
|
|
40212
|
+
content: {
|
|
40213
|
+
"application/json": components["schemas"]["Error"];
|
|
40214
|
+
};
|
|
40215
|
+
};
|
|
40216
|
+
/** @description Unauthorized */
|
|
40217
|
+
401: {
|
|
40218
|
+
headers: {
|
|
40219
|
+
[name: string]: unknown;
|
|
40220
|
+
};
|
|
40221
|
+
content: {
|
|
40222
|
+
"application/json": components["schemas"]["Error"];
|
|
40223
|
+
};
|
|
40224
|
+
};
|
|
40225
|
+
/** @description Insufficient API key permissions */
|
|
40226
|
+
403: {
|
|
40227
|
+
headers: {
|
|
40228
|
+
[name: string]: unknown;
|
|
40229
|
+
};
|
|
40230
|
+
content: {
|
|
40231
|
+
"application/json": components["schemas"]["Error"];
|
|
40232
|
+
};
|
|
40233
|
+
};
|
|
40234
|
+
/** @description Run not found */
|
|
40235
|
+
404: {
|
|
40236
|
+
headers: {
|
|
40237
|
+
[name: string]: unknown;
|
|
40238
|
+
};
|
|
40239
|
+
content: {
|
|
40240
|
+
"application/json": components["schemas"]["Error"];
|
|
40241
|
+
};
|
|
40242
|
+
};
|
|
40243
|
+
/** @description Internal server error */
|
|
40244
|
+
500: {
|
|
40245
|
+
headers: {
|
|
40246
|
+
[name: string]: unknown;
|
|
40247
|
+
};
|
|
40248
|
+
content: {
|
|
40249
|
+
"application/json": components["schemas"]["Error"];
|
|
40250
|
+
};
|
|
40251
|
+
};
|
|
40252
|
+
};
|
|
40253
|
+
};
|
|
40254
|
+
put?: never;
|
|
40255
|
+
post?: never;
|
|
40256
|
+
delete?: never;
|
|
40257
|
+
options?: never;
|
|
40258
|
+
head?: never;
|
|
40259
|
+
patch?: never;
|
|
40260
|
+
trace?: never;
|
|
40261
|
+
};
|
|
39958
40262
|
"/v1/runtime/crawl": {
|
|
39959
40263
|
parameters: {
|
|
39960
40264
|
query?: never;
|
|
@@ -41914,6 +42218,7 @@ interface paths {
|
|
|
41914
42218
|
flowId: string | null;
|
|
41915
42219
|
id: string;
|
|
41916
42220
|
processedRecords: number | null;
|
|
42221
|
+
run: components["schemas"]["ScheduleRunLink"];
|
|
41917
42222
|
scheduleId: string;
|
|
41918
42223
|
startedAt: string | null;
|
|
41919
42224
|
status: string;
|
|
@@ -42654,6 +42959,7 @@ interface paths {
|
|
|
42654
42959
|
flowId: string | null;
|
|
42655
42960
|
id: string;
|
|
42656
42961
|
processedRecords: number | null;
|
|
42962
|
+
run: components["schemas"]["ScheduleRunLink"];
|
|
42657
42963
|
scheduleId: string;
|
|
42658
42964
|
startedAt: string | null;
|
|
42659
42965
|
status: string;
|
|
@@ -45700,6 +46006,7 @@ interface paths {
|
|
|
45700
46006
|
updatedAt: string;
|
|
45701
46007
|
userId: string | null;
|
|
45702
46008
|
validation?: {
|
|
46009
|
+
recommendations?: components["schemas"]["FlowValidationIssue"][];
|
|
45703
46010
|
warnings: {
|
|
45704
46011
|
code: string;
|
|
45705
46012
|
column?: number;
|
|
@@ -46198,6 +46505,7 @@ interface paths {
|
|
|
46198
46505
|
updatedAt: string;
|
|
46199
46506
|
userId: string | null;
|
|
46200
46507
|
validation?: {
|
|
46508
|
+
recommendations?: components["schemas"]["FlowValidationIssue"][];
|
|
46201
46509
|
warnings: {
|
|
46202
46510
|
code: string;
|
|
46203
46511
|
column?: number;
|
|
@@ -47011,6 +47319,7 @@ interface paths {
|
|
|
47011
47319
|
updatedAt: string;
|
|
47012
47320
|
userId: string | null;
|
|
47013
47321
|
validation?: {
|
|
47322
|
+
recommendations?: components["schemas"]["FlowValidationIssue"][];
|
|
47014
47323
|
warnings: {
|
|
47015
47324
|
code: string;
|
|
47016
47325
|
column?: number;
|
|
@@ -48539,6 +48848,7 @@ interface components {
|
|
|
48539
48848
|
[key: string]: unknown;
|
|
48540
48849
|
};
|
|
48541
48850
|
description: string;
|
|
48851
|
+
idempotent?: boolean;
|
|
48542
48852
|
name: string;
|
|
48543
48853
|
parametersSchema: {
|
|
48544
48854
|
[key: string]: unknown;
|
|
@@ -48776,6 +49086,22 @@ interface components {
|
|
|
48776
49086
|
/** @description The system the transcript came from, for example "intercom" or "custom". */
|
|
48777
49087
|
system: string;
|
|
48778
49088
|
};
|
|
49089
|
+
ConversationTrace: {
|
|
49090
|
+
conversationId: string;
|
|
49091
|
+
executions: {
|
|
49092
|
+
executionId: string;
|
|
49093
|
+
timestamp: string;
|
|
49094
|
+
tree: components["schemas"]["TraceTree"];
|
|
49095
|
+
}[];
|
|
49096
|
+
producedBy?: components["schemas"]["TraceProducedBy"] & unknown;
|
|
49097
|
+
totalExecutions: number;
|
|
49098
|
+
truncation?: {
|
|
49099
|
+
limit: number;
|
|
49100
|
+
message: string;
|
|
49101
|
+
/** @enum {string} */
|
|
49102
|
+
reason: "record_limit";
|
|
49103
|
+
};
|
|
49104
|
+
};
|
|
48779
49105
|
ConversationTranscriptMessage: {
|
|
48780
49106
|
author?: components["schemas"]["ConversationMessageAuthor"];
|
|
48781
49107
|
/** @description Plain string, or an array of {type:"text"|"image"|"file"|"reasoning"|"asset_ref"} parts. */
|
|
@@ -49349,6 +49675,11 @@ interface components {
|
|
|
49349
49675
|
* @enum {string|null}
|
|
49350
49676
|
*/
|
|
49351
49677
|
executionEngine?: "runtime" | "legacy" | "external" | null;
|
|
49678
|
+
/**
|
|
49679
|
+
* @description Present when the failure belongs to the platform, not the target: the model gateway went silent and the stall watchdog gave up before the target could answer. Such a case runs no graders (its outcomes are empty) and is excluded from the suite score. Absent on an ordinary failure.
|
|
49680
|
+
* @enum {string}
|
|
49681
|
+
*/
|
|
49682
|
+
failureKind?: "platform_stall";
|
|
49352
49683
|
name: string;
|
|
49353
49684
|
/** @description For a checkpoint ("saved from run") case run in next-step mode: the tool-call intent(s) the target emitted as its graded next step. An empty array means it replied with a message instead of calling a tool. Null for ordinary runs and for runs recorded before this field shipped. */
|
|
49354
49685
|
nextStepToolCalls: {
|
|
@@ -49397,9 +49728,11 @@ interface components {
|
|
|
49397
49728
|
/** @description The eval name recorded on the run. */
|
|
49398
49729
|
name: string | null;
|
|
49399
49730
|
passedCases: number;
|
|
49731
|
+
/** @description Cases the platform aborted before the target could answer. They run no graders and are counted in neither half of score, so totalCases minus this is the denominator score was taken over. */
|
|
49732
|
+
platformAbortedCases: number;
|
|
49400
49733
|
/** @description The run (batch execution) id these scores belong to. */
|
|
49401
49734
|
runId: string;
|
|
49402
|
-
/** @description Suite score, 0..1 (passed cases /
|
|
49735
|
+
/** @description Suite score, 0..1 (passed cases / graded cases). Platform-aborted cases are excluded from both halves; null when the run graded no cases. */
|
|
49403
49736
|
score: number | null;
|
|
49404
49737
|
/** @description The severity semantics the run was graded with (and that these verdicts reproduce): true when a soft grader miss failed its case. */
|
|
49405
49738
|
strict: boolean;
|
|
@@ -49478,6 +49811,8 @@ interface components {
|
|
|
49478
49811
|
EvalSuiteLatestRun: {
|
|
49479
49812
|
completedAt: string | null;
|
|
49480
49813
|
passedCases: number | null;
|
|
49814
|
+
/** @description Cases the platform aborted before the target could answer. They run no graders and are counted in neither half of score, so totalCases minus this is the denominator score was taken over. */
|
|
49815
|
+
platformAbortedCases: number | null;
|
|
49481
49816
|
runId: string;
|
|
49482
49817
|
/** @description Suite score of the run, 0..1; null while unscored (in flight / unscoreable). */
|
|
49483
49818
|
score: number | null;
|
|
@@ -49685,6 +50020,52 @@ interface components {
|
|
|
49685
50020
|
};
|
|
49686
50021
|
/** @enum {string} */
|
|
49687
50022
|
type: "turn_complete";
|
|
50023
|
+
} | {
|
|
50024
|
+
executionId: string;
|
|
50025
|
+
id: string;
|
|
50026
|
+
iteration?: number;
|
|
50027
|
+
model?: string;
|
|
50028
|
+
ordinal: number;
|
|
50029
|
+
provider?: string;
|
|
50030
|
+
seq: number;
|
|
50031
|
+
startedAt?: string;
|
|
50032
|
+
stepId?: string;
|
|
50033
|
+
subagent?: {
|
|
50034
|
+
agentName?: string;
|
|
50035
|
+
parentToolCallId?: string;
|
|
50036
|
+
toolName: string;
|
|
50037
|
+
};
|
|
50038
|
+
turnId?: string;
|
|
50039
|
+
/** @enum {string} */
|
|
50040
|
+
type: "model_call_start";
|
|
50041
|
+
} | {
|
|
50042
|
+
completedAt?: string;
|
|
50043
|
+
cost?: number;
|
|
50044
|
+
durationMs?: number;
|
|
50045
|
+
executionId: string;
|
|
50046
|
+
finishReason?: string;
|
|
50047
|
+
id: string;
|
|
50048
|
+
iteration?: number;
|
|
50049
|
+
model?: string;
|
|
50050
|
+
ordinal: number;
|
|
50051
|
+
provider?: string;
|
|
50052
|
+
responseModel?: string;
|
|
50053
|
+
seq: number;
|
|
50054
|
+
subagent?: {
|
|
50055
|
+
agentName?: string;
|
|
50056
|
+
parentToolCallId?: string;
|
|
50057
|
+
toolName: string;
|
|
50058
|
+
};
|
|
50059
|
+
success?: boolean;
|
|
50060
|
+
tokens?: {
|
|
50061
|
+
cacheRead?: number;
|
|
50062
|
+
cacheWrite?: number;
|
|
50063
|
+
input: number;
|
|
50064
|
+
output: number;
|
|
50065
|
+
};
|
|
50066
|
+
turnId?: string;
|
|
50067
|
+
/** @enum {string} */
|
|
50068
|
+
type: "model_call_complete";
|
|
49688
50069
|
} | {
|
|
49689
50070
|
executionId: string;
|
|
49690
50071
|
id: string;
|
|
@@ -50477,6 +50858,11 @@ interface components {
|
|
|
50477
50858
|
/** @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. */
|
|
50478
50859
|
error?: string;
|
|
50479
50860
|
errored: boolean;
|
|
50861
|
+
/**
|
|
50862
|
+
* @description Present when the failure belongs to the platform, not the target: the model gateway went silent and the stall watchdog gave up before the target could answer. Such a case runs no graders and is excluded from the suite score. Absent on an ordinary failure.
|
|
50863
|
+
* @enum {string}
|
|
50864
|
+
*/
|
|
50865
|
+
failureKind?: "platform_stall";
|
|
50480
50866
|
name: string;
|
|
50481
50867
|
outcomes: {
|
|
50482
50868
|
/** @description AI graders only: transcript entries the verdict rests on — indices into the run's trace steps (message) or tool calls (tool_call). */
|
|
@@ -50510,15 +50896,119 @@ interface components {
|
|
|
50510
50896
|
/** @description True when every case passed every grader. */
|
|
50511
50897
|
passed: boolean;
|
|
50512
50898
|
passedCases: number;
|
|
50899
|
+
/** @description Cases the platform aborted before the target could answer. They run no graders and are counted in neither half of score, so totalCases minus this is the denominator score was taken over. */
|
|
50900
|
+
platformAbortedCases: number;
|
|
50513
50901
|
/** @description The persisted run id — query its scores via GET /eval/runs/{runId}/scores. Null for an ephemeral (virtual/inline) run. */
|
|
50514
50902
|
runId: string | null;
|
|
50515
|
-
/** @description Suite score, 0..1 (passed cases /
|
|
50903
|
+
/** @description Suite score, 0..1 (passed cases / graded cases). Platform-aborted cases are excluded from both halves. */
|
|
50516
50904
|
score: number;
|
|
50517
50905
|
suiteId: string | null;
|
|
50518
50906
|
/** @enum {string} */
|
|
50519
50907
|
targetType: "flow" | "agent";
|
|
50520
50908
|
totalCases: number;
|
|
50521
50909
|
};
|
|
50910
|
+
RunListPagination: {
|
|
50911
|
+
hasMore: boolean;
|
|
50912
|
+
hasPrev: boolean;
|
|
50913
|
+
limit: number;
|
|
50914
|
+
nextCursor: string | null;
|
|
50915
|
+
};
|
|
50916
|
+
RunListRow: {
|
|
50917
|
+
/** @description Agent that ran. */
|
|
50918
|
+
agentId: string | null;
|
|
50919
|
+
/** @description How the run chose its version: alias, version or legacy-live-row. Absent means the overlay did not answer, which is not false and not null. */
|
|
50920
|
+
agentTargetResolution?: string | null;
|
|
50921
|
+
/** @description Agent version that ran. Absent means the overlay did not answer, which is not false and not null. */
|
|
50922
|
+
agentVersionId?: string | null;
|
|
50923
|
+
/** @description Version label. Absent means the overlay did not answer, which is not false and not null. */
|
|
50924
|
+
agentVersionLabel?: string | null;
|
|
50925
|
+
/** @description Version number, for a version chip and version grouping. Absent means the overlay did not answer, which is not false and not null. */
|
|
50926
|
+
agentVersionNumber?: number | null;
|
|
50927
|
+
/** @description Batch this run belongs to. */
|
|
50928
|
+
batchExecutionId: string | null;
|
|
50929
|
+
/** @description Budget exhausted. Absent means the overlay did not answer, which is not false and not null. */
|
|
50930
|
+
budgetExhausted?: boolean | null;
|
|
50931
|
+
/** @description Cancel request. Absent means the overlay did not answer, which is not false and not null. */
|
|
50932
|
+
cancelRequestedAt?: string | null;
|
|
50933
|
+
/**
|
|
50934
|
+
* @description Storage completeness; null on a row the control-plane arm served.
|
|
50935
|
+
* @enum {string|null}
|
|
50936
|
+
*/
|
|
50937
|
+
completeness: "partial" | "complete" | "conflicted" | "expired" | "deleted" | null;
|
|
50938
|
+
/** @description Conversation this run belongs to. */
|
|
50939
|
+
conversationId: string | null;
|
|
50940
|
+
/** @description Wall-clock duration in milliseconds. */
|
|
50941
|
+
durationMs: number | null;
|
|
50942
|
+
/** @description ISO instant the run ended; null while it is still running. */
|
|
50943
|
+
endedAt: string | null;
|
|
50944
|
+
/** @description Runtime execution id; the key for /v1/logs and /v1/runs/{id}. */
|
|
50945
|
+
executionId: string;
|
|
50946
|
+
/** @description Budget expiry. Absent means the overlay did not answer, which is not false and not null. */
|
|
50947
|
+
expiresAt?: string | null;
|
|
50948
|
+
/** @description Fidelity of the projection behind this row. */
|
|
50949
|
+
fidelityTier: string | null;
|
|
50950
|
+
/** @description Flow that ran. */
|
|
50951
|
+
flowId: string | null;
|
|
50952
|
+
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
50953
|
+
inputMessages?: unknown;
|
|
50954
|
+
/** @description Input tokens reported. */
|
|
50955
|
+
inputTokens: number | null;
|
|
50956
|
+
/** @description Loop iterations from the terminal frame. */
|
|
50957
|
+
iterations?: number | null;
|
|
50958
|
+
/**
|
|
50959
|
+
* @description Whether an agent or a flow ran.
|
|
50960
|
+
* @enum {string}
|
|
50961
|
+
*/
|
|
50962
|
+
kind: "agent" | "flow";
|
|
50963
|
+
/** @description Last heartbeat. Absent means the overlay did not answer, which is not false and not null. */
|
|
50964
|
+
lastHeartbeatAt?: string | null;
|
|
50965
|
+
/** @description Framework identity the producer reported, for a versionless run group. Absent means the overlay did not answer, which is not false and not null. */
|
|
50966
|
+
otelProducer?: unknown;
|
|
50967
|
+
/** @description Output tokens reported. */
|
|
50968
|
+
outputTokens: number | null;
|
|
50969
|
+
/** @description Run that spawned this one. */
|
|
50970
|
+
parentExecutionId: string | null;
|
|
50971
|
+
/** @description Parent's tool call that spawned this run. */
|
|
50972
|
+
parentToolCallId: string | null;
|
|
50973
|
+
/** @description Approval awaiting a human. Absent means the overlay did not answer, which is not false and not null. */
|
|
50974
|
+
pendingApproval?: unknown;
|
|
50975
|
+
/** @description Live progress document. Absent means the overlay did not answer, which is not false and not null. */
|
|
50976
|
+
progress?: unknown;
|
|
50977
|
+
/** @description Record this run processed. */
|
|
50978
|
+
recordId: string | null;
|
|
50979
|
+
/** @description Retention removed the spans; the run still lists and reads as completed. */
|
|
50980
|
+
retentionElided?: boolean;
|
|
50981
|
+
/** @description Outermost run of the tree. */
|
|
50982
|
+
rootExecutionId: string | null;
|
|
50983
|
+
/** @description Cost the producer reported. */
|
|
50984
|
+
selfReportedCost: string | null;
|
|
50985
|
+
/**
|
|
50986
|
+
* @description hosted, or ingested for an OTLP export. An ingested run is never reported running.
|
|
50987
|
+
* @enum {string}
|
|
50988
|
+
*/
|
|
50989
|
+
source: "hosted" | "ingested";
|
|
50990
|
+
/** @description Spans the projection wrote. */
|
|
50991
|
+
spanCount: number | null;
|
|
50992
|
+
/** @description ISO instant the run started. */
|
|
50993
|
+
startedAt: string;
|
|
50994
|
+
/**
|
|
50995
|
+
* @description Customer-facing status, derived by runStatusFrom.
|
|
50996
|
+
* @enum {string}
|
|
50997
|
+
*/
|
|
50998
|
+
status: "queued" | "running" | "awaiting" | "completed" | "failed" | "cancelled";
|
|
50999
|
+
/** @description Stop reason from the terminal frame. */
|
|
51000
|
+
stopReason?: string | null;
|
|
51001
|
+
/** @description Product surface that entered this run. */
|
|
51002
|
+
surfaceId: string | null;
|
|
51003
|
+
/** @description Surface family (api, chat, webhook, schedule, ...). */
|
|
51004
|
+
surfaceType: string | null;
|
|
51005
|
+
/** @description True when the run was dispatched with storeResults: false, so it has no control-plane row and no overlay. NULL means the header states nothing about it, which is not false: headers written before this field shipped, and lanes that take no such flag, carry no dispatch stamp and are never backfilled. */
|
|
51006
|
+
test: boolean | null;
|
|
51007
|
+
/** @description Metered cost as a decimal string. */
|
|
51008
|
+
totalCost: string | null;
|
|
51009
|
+
/** @description Trace id in the span store; null on a row the control-plane arm served. */
|
|
51010
|
+
traceId: string | null;
|
|
51011
|
+
};
|
|
50522
51012
|
RuntimeEmailAdmissionError: {
|
|
50523
51013
|
code?: string;
|
|
50524
51014
|
error: string;
|
|
@@ -50562,6 +51052,19 @@ interface components {
|
|
|
50562
51052
|
/** @description Dashboard-relative URL to the billing/upgrade page. */
|
|
50563
51053
|
upgradeUrl?: string;
|
|
50564
51054
|
};
|
|
51055
|
+
ScheduleRunLink: {
|
|
51056
|
+
/** @description The agent_executions ROW id the scheduled run stored. Provenance only: a different id space from executionId, and never a /v1/runs key. */
|
|
51057
|
+
agentExecutionRowId: string | null;
|
|
51058
|
+
/** @description The batch whose per-record runs are GET /v1/runs?batchExecutionId=. */
|
|
51059
|
+
batchExecutionId: string | null;
|
|
51060
|
+
/** @description The RUNTIME execution id, which is what GET /v1/runs/{executionId} keys on. Null unless kind is run. */
|
|
51061
|
+
executionId: string | null;
|
|
51062
|
+
/**
|
|
51063
|
+
* @description run: one execution, readable at GET /v1/runs/{executionId}. records: a batch, whose per-record runs are GET /v1/runs?batchExecutionId=. none: no readable run was recorded for this scheduled run.
|
|
51064
|
+
* @enum {string}
|
|
51065
|
+
*/
|
|
51066
|
+
kind: "run" | "records" | "none";
|
|
51067
|
+
};
|
|
50565
51068
|
SkillEnsureConflict: {
|
|
50566
51069
|
/** @enum {string} */
|
|
50567
51070
|
code: "external_modification" | "remote_changed";
|
|
@@ -50750,6 +51253,183 @@ interface components {
|
|
|
50750
51253
|
toolId: string;
|
|
50751
51254
|
updatedAt: string | null;
|
|
50752
51255
|
};
|
|
51256
|
+
TraceLogEntry: {
|
|
51257
|
+
agentId?: string | null;
|
|
51258
|
+
agentName?: string | null;
|
|
51259
|
+
batchExecutionId?: string | null;
|
|
51260
|
+
cacheReadTokens?: number | null;
|
|
51261
|
+
cacheWriteTokens?: number | null;
|
|
51262
|
+
completionTokens?: number | null;
|
|
51263
|
+
configuredModel?: string | null;
|
|
51264
|
+
conversationId?: string | null;
|
|
51265
|
+
description?: string;
|
|
51266
|
+
durationMs?: number | null;
|
|
51267
|
+
error?: string | null;
|
|
51268
|
+
errorStack?: string | null;
|
|
51269
|
+
estimatedContextBreakdown?: ({
|
|
51270
|
+
categories: {
|
|
51271
|
+
[key: string]: {
|
|
51272
|
+
chars: number;
|
|
51273
|
+
estimatedTokens: number;
|
|
51274
|
+
} & {
|
|
51275
|
+
[key: string]: unknown;
|
|
51276
|
+
};
|
|
51277
|
+
};
|
|
51278
|
+
contextWindowSize?: number;
|
|
51279
|
+
estimatedTotalTokens: number;
|
|
51280
|
+
estimatedUtilizationPercent?: number;
|
|
51281
|
+
} & {
|
|
51282
|
+
[key: string]: unknown;
|
|
51283
|
+
}) | null;
|
|
51284
|
+
/** @description Observed cost. Absent or null means unknown, never zero. */
|
|
51285
|
+
estimatedCost?: number | string | null;
|
|
51286
|
+
eventName?: string | null;
|
|
51287
|
+
executionSessionId?: string | null;
|
|
51288
|
+
fallbackModel?: string | null;
|
|
51289
|
+
flowId?: string | null;
|
|
51290
|
+
flowName?: string | null;
|
|
51291
|
+
id: string;
|
|
51292
|
+
/** @description Arbitrary JSON; shape varies by producer. */
|
|
51293
|
+
input?: unknown;
|
|
51294
|
+
inputSummary?: string | null;
|
|
51295
|
+
isStreaming?: boolean;
|
|
51296
|
+
iteration?: number | null;
|
|
51297
|
+
/** @enum {string} */
|
|
51298
|
+
level: "debug" | "info" | "warn" | "error";
|
|
51299
|
+
/** @enum {string|null} */
|
|
51300
|
+
loggingPolicy?: "off" | null;
|
|
51301
|
+
/** @description Producer bag. Span-store reads carry spanKind, completeness, logicalParentId, otlpAttributes, otlpSpanEvents, systemInstructions, artifacts and state here. */
|
|
51302
|
+
metadata?: {
|
|
51303
|
+
[key: string]: unknown;
|
|
51304
|
+
};
|
|
51305
|
+
modelUsed?: string | null;
|
|
51306
|
+
/** @enum {string} */
|
|
51307
|
+
otlpIncompleteActivity?: "invoke_agent" | "chat" | "execute_tool";
|
|
51308
|
+
/** @enum {string} */
|
|
51309
|
+
otlpInstrumentationWarning?: "span_not_ended";
|
|
51310
|
+
otlpOperationName?: string | null;
|
|
51311
|
+
otlpParentSpanId?: string | null;
|
|
51312
|
+
otlpRecordHash?: string | null;
|
|
51313
|
+
/** @enum {string|null} */
|
|
51314
|
+
otlpRecordKind?: "span" | "span_event" | "log_record" | null;
|
|
51315
|
+
otlpRetentionScope?: string | null;
|
|
51316
|
+
otlpSpanEventIndex?: number | null;
|
|
51317
|
+
otlpSpanId?: string | null;
|
|
51318
|
+
/** @description Arbitrary JSON; shape varies by producer. */
|
|
51319
|
+
output?: unknown;
|
|
51320
|
+
outputSummary?: string | null;
|
|
51321
|
+
promptTokens?: number | null;
|
|
51322
|
+
providerErrorClass?: string | null;
|
|
51323
|
+
providerHost?: string | null;
|
|
51324
|
+
providerHttpMethod?: string | null;
|
|
51325
|
+
providerHttpStatus?: number | null;
|
|
51326
|
+
providerRateLimitHeaders?: {
|
|
51327
|
+
[key: string]: string;
|
|
51328
|
+
} | null;
|
|
51329
|
+
recordId?: string | null;
|
|
51330
|
+
recordName?: string | null;
|
|
51331
|
+
requestId?: string | null;
|
|
51332
|
+
resolvedModel?: string | null;
|
|
51333
|
+
seq?: number;
|
|
51334
|
+
/** @enum {string} */
|
|
51335
|
+
status: "running" | "completed" | "failed" | "queued" | "cancelled" | "unknown";
|
|
51336
|
+
stepId?: string | null;
|
|
51337
|
+
stepName?: string | null;
|
|
51338
|
+
stepType?: string | null;
|
|
51339
|
+
stopReason?: string | null;
|
|
51340
|
+
streamContent?: string;
|
|
51341
|
+
subtitle?: string;
|
|
51342
|
+
surfaceId?: string | null;
|
|
51343
|
+
surfaceType?: string | null;
|
|
51344
|
+
timestamp: string;
|
|
51345
|
+
title: string;
|
|
51346
|
+
toolCallId?: string | null;
|
|
51347
|
+
toolName?: string | null;
|
|
51348
|
+
toolType?: string | null;
|
|
51349
|
+
totalTokens?: number | null;
|
|
51350
|
+
turnId?: string | null;
|
|
51351
|
+
/** @enum {string} */
|
|
51352
|
+
type: "flow" | "step" | "tool" | "batch" | "system" | "agent" | "model" | "schedule" | "audit";
|
|
51353
|
+
usedFallback?: boolean | null;
|
|
51354
|
+
} & {
|
|
51355
|
+
[key: string]: unknown;
|
|
51356
|
+
};
|
|
51357
|
+
TraceNode: {
|
|
51358
|
+
childExecutionId?: string | null;
|
|
51359
|
+
children: components["schemas"]["TraceNode"][];
|
|
51360
|
+
depth: number;
|
|
51361
|
+
endOffsetMs?: number | null;
|
|
51362
|
+
endedAt?: string | null;
|
|
51363
|
+
entry: components["schemas"]["TraceLogEntry"];
|
|
51364
|
+
failed?: boolean;
|
|
51365
|
+
/** @enum {string} */
|
|
51366
|
+
lifecycle?: "single" | "paired" | "start-only" | "complete-only";
|
|
51367
|
+
/** @enum {string} */
|
|
51368
|
+
nodeType: "root" | "iteration" | "model" | "tool" | "step" | "system";
|
|
51369
|
+
recorded?: boolean;
|
|
51370
|
+
startEntry?: components["schemas"]["TraceLogEntry"];
|
|
51371
|
+
startOffsetMs?: number | null;
|
|
51372
|
+
startedAt?: string | null;
|
|
51373
|
+
synthetic?: boolean;
|
|
51374
|
+
};
|
|
51375
|
+
TraceProducedBy: {
|
|
51376
|
+
adapterName?: string | null;
|
|
51377
|
+
adapterVersion?: string | null;
|
|
51378
|
+
agentId?: string | null;
|
|
51379
|
+
agentName?: string | null;
|
|
51380
|
+
agentVersionId?: string | null;
|
|
51381
|
+
agentVersionLabel?: string | null;
|
|
51382
|
+
callable?: boolean;
|
|
51383
|
+
fidelityTier?: string | null;
|
|
51384
|
+
flowId?: string | null;
|
|
51385
|
+
flowName?: string | null;
|
|
51386
|
+
flowVersionId?: string | null;
|
|
51387
|
+
productId?: string | null;
|
|
51388
|
+
productName?: string | null;
|
|
51389
|
+
/** @enum {string} */
|
|
51390
|
+
source: "native" | "external";
|
|
51391
|
+
surfaceType?: string | null;
|
|
51392
|
+
};
|
|
51393
|
+
TraceTree: {
|
|
51394
|
+
availability?: {
|
|
51395
|
+
/** @enum {boolean} */
|
|
51396
|
+
available: false;
|
|
51397
|
+
message: string;
|
|
51398
|
+
/** @enum {string} */
|
|
51399
|
+
reason: "json_ingest_compatibility_path";
|
|
51400
|
+
};
|
|
51401
|
+
/** @description Present only when the child-run read hit its per-parent ceiling, so later child runs are not grafted and their tool-call spans carry no `childExecutionId`. Absent otherwise. */
|
|
51402
|
+
childTruncation?: {
|
|
51403
|
+
limit: number;
|
|
51404
|
+
message: string;
|
|
51405
|
+
/** @enum {string} */
|
|
51406
|
+
reason: "child_limit";
|
|
51407
|
+
};
|
|
51408
|
+
/** @description A span with spilled content could not be read back; those spans carry previews. */
|
|
51409
|
+
contentUnavailable?: boolean;
|
|
51410
|
+
failedCount?: number;
|
|
51411
|
+
nodeCount: number;
|
|
51412
|
+
producedBy?: components["schemas"]["TraceProducedBy"];
|
|
51413
|
+
root: components["schemas"]["TraceNode"] | null;
|
|
51414
|
+
/** @description The run itself failed, as opposed to a span inside a run that completed. */
|
|
51415
|
+
runFailed?: boolean;
|
|
51416
|
+
/** @enum {string} */
|
|
51417
|
+
source?: "logs" | "records" | "logs+records";
|
|
51418
|
+
startedAt?: string | null;
|
|
51419
|
+
toolTimeMs?: number | null;
|
|
51420
|
+
toolTimeOverlapped?: boolean;
|
|
51421
|
+
totalCost: number | null;
|
|
51422
|
+
totalDuration: number | null;
|
|
51423
|
+
totalTokens: number | null;
|
|
51424
|
+
/** @enum {string} */
|
|
51425
|
+
totalsSource?: "execution" | "partial";
|
|
51426
|
+
truncation?: {
|
|
51427
|
+
limit: number;
|
|
51428
|
+
message: string;
|
|
51429
|
+
/** @enum {string} */
|
|
51430
|
+
reason: "record_limit";
|
|
51431
|
+
};
|
|
51432
|
+
};
|
|
50753
51433
|
UpdateUserProfileResponse: {
|
|
50754
51434
|
email?: string;
|
|
50755
51435
|
firstName?: string;
|
|
@@ -50875,6 +51555,7 @@ interface operations {
|
|
|
50875
51555
|
/** @enum {string} */
|
|
50876
51556
|
status: "idle" | "observing" | "degraded" | "queryable";
|
|
50877
51557
|
tiers: {
|
|
51558
|
+
/** @description Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release. */
|
|
50878
51559
|
canonical: {
|
|
50879
51560
|
confirmed: number;
|
|
50880
51561
|
maximumConfirmedLagMs: number | null;
|
|
@@ -50914,6 +51595,7 @@ interface operations {
|
|
|
50914
51595
|
/** @description Receipt counts for this trace only; confirmations require positive tier reads, not stream acknowledgments. */
|
|
50915
51596
|
delivery: {
|
|
50916
51597
|
accepted: number;
|
|
51598
|
+
/** @description Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release. */
|
|
50917
51599
|
canonicalConfirmed: number;
|
|
50918
51600
|
complete: number;
|
|
50919
51601
|
hotConfirmed: number;
|
|
@@ -52415,6 +53097,7 @@ declare function createExternalTool(config: {
|
|
|
52415
53097
|
method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
52416
53098
|
headers?: Record<string, string>;
|
|
52417
53099
|
body?: string;
|
|
53100
|
+
idempotent?: boolean;
|
|
52418
53101
|
}): RuntimeTool;
|
|
52419
53102
|
|
|
52420
53103
|
type JsonPrimitive = string | number | boolean | null;
|
|
@@ -52485,6 +53168,8 @@ interface ApiKey {
|
|
|
52485
53168
|
name: string;
|
|
52486
53169
|
keyPrefix: string;
|
|
52487
53170
|
searchHint?: string;
|
|
53171
|
+
/** Owning organization, fixed at mint together with the owning user. Present on create, get and list. */
|
|
53172
|
+
organizationId?: string;
|
|
52488
53173
|
permissions: string[];
|
|
52489
53174
|
isActive: boolean;
|
|
52490
53175
|
expiresAt?: string;
|
|
@@ -53211,6 +53896,12 @@ interface RuntimeTool {
|
|
|
53211
53896
|
toolType: 'flow' | 'custom' | 'external' | 'local' | 'subagent';
|
|
53212
53897
|
parametersSchema: JSONSchema;
|
|
53213
53898
|
config?: RuntimeToolConfig;
|
|
53899
|
+
/**
|
|
53900
|
+
* Safe for a resumed durable turn to dispatch a second time. Absent means
|
|
53901
|
+
* not safe: an interrupted call is repaired into an errored result the model
|
|
53902
|
+
* re-decides, rather than silently re-fired.
|
|
53903
|
+
*/
|
|
53904
|
+
idempotent?: boolean;
|
|
53214
53905
|
}
|
|
53215
53906
|
type RuntimeToolConfig = RuntimeFlowToolConfig | RuntimeCustomToolConfig | RuntimeExternalToolConfig | RuntimeLocalToolConfig | RuntimeSubagentToolConfig;
|
|
53216
53907
|
interface RuntimeLocalToolConfig {
|
|
@@ -53516,10 +54207,17 @@ interface LogQueryResult {
|
|
|
53516
54207
|
/** True when historical (R2 SQL) logs were unavailable and only recent hot-tier entries are included. */
|
|
53517
54208
|
degraded?: boolean;
|
|
53518
54209
|
}
|
|
54210
|
+
/** The `from`/`to` the API resolved for a logs query, after defaults and aliases. */
|
|
54211
|
+
interface LogSearchedWindow {
|
|
54212
|
+
from: string;
|
|
54213
|
+
to: string;
|
|
54214
|
+
}
|
|
53519
54215
|
/** Logs are wrapped in a `{ success, data }` envelope by the API. */
|
|
53520
54216
|
interface LogQueryResponse {
|
|
53521
54217
|
success: boolean;
|
|
53522
54218
|
data: LogQueryResult;
|
|
54219
|
+
/** The window the query actually ran over. An empty list names its own range. */
|
|
54220
|
+
window: LogSearchedWindow;
|
|
53523
54221
|
_debug?: unknown;
|
|
53524
54222
|
}
|
|
53525
54223
|
interface LogStatsResult {
|
|
@@ -53540,11 +54238,19 @@ interface LogStatsResponse {
|
|
|
53540
54238
|
success: boolean;
|
|
53541
54239
|
data: LogStatsResult;
|
|
53542
54240
|
cachedAt?: string | null;
|
|
54241
|
+
/** The window the query actually ran over, so `cachedAt` never speaks for another range. */
|
|
54242
|
+
window: LogSearchedWindow;
|
|
53543
54243
|
_debug?: unknown;
|
|
53544
54244
|
}
|
|
53545
54245
|
interface LogQueryParams {
|
|
54246
|
+
/** Start timestamp (ISO 8601). Defaults to 24 hours ago. */
|
|
53546
54247
|
from?: string;
|
|
54248
|
+
/** End timestamp (ISO 8601). Defaults to now. */
|
|
53547
54249
|
to?: string;
|
|
54250
|
+
/** Alias for {@link LogQueryParams.from}, ignored when `from` is also set. */
|
|
54251
|
+
startTime?: string;
|
|
54252
|
+
/** Alias for {@link LogQueryParams.to}, ignored when `to` is also set. */
|
|
54253
|
+
endTime?: string;
|
|
53548
54254
|
/** Comma-separated levels (debug,info,warn,error). */
|
|
53549
54255
|
level?: string;
|
|
53550
54256
|
/** Comma-separated categories (execution,agent,tool,model,system,error). */
|
|
@@ -54379,6 +55085,12 @@ interface RunEvalCaseResult {
|
|
|
54379
55085
|
errored: boolean;
|
|
54380
55086
|
/** Why the case errored (provider or execution failure text); present only when `errored` is true and a cause was reported. */
|
|
54381
55087
|
error?: string;
|
|
55088
|
+
/**
|
|
55089
|
+
* Present when the failure belongs to the platform, not the target: the model
|
|
55090
|
+
* gateway went silent and the stall watchdog gave up before the target could
|
|
55091
|
+
* answer. Such a case runs no graders and is excluded from the suite score.
|
|
55092
|
+
*/
|
|
55093
|
+
failureKind?: 'platform_stall';
|
|
54382
55094
|
}
|
|
54383
55095
|
/**
|
|
54384
55096
|
* Pin an Agent-target run to one version. Supply at most one of `alias` or
|
|
@@ -54416,12 +55128,18 @@ interface RunEvalResult extends EvalRunEvidence {
|
|
|
54416
55128
|
* or `null` for an ephemeral (virtual/inline) run.
|
|
54417
55129
|
*/
|
|
54418
55130
|
runId: string | null;
|
|
54419
|
-
/** Suite score, 0..1 (passed cases /
|
|
55131
|
+
/** Suite score, 0..1 (passed cases / graded cases; platform-aborted cases are excluded). */
|
|
54420
55132
|
score: number;
|
|
54421
55133
|
/** True when every case passed every grader. */
|
|
54422
55134
|
passed: boolean;
|
|
54423
55135
|
totalCases: number;
|
|
54424
55136
|
passedCases: number;
|
|
55137
|
+
/**
|
|
55138
|
+
* Cases the platform aborted before the target could answer. They run no
|
|
55139
|
+
* graders and count in neither half of `score`, so `totalCases` minus this is
|
|
55140
|
+
* the denominator `score` was taken over.
|
|
55141
|
+
*/
|
|
55142
|
+
platformAbortedCases: number;
|
|
54425
55143
|
cases: RunEvalCaseResult[];
|
|
54426
55144
|
}
|
|
54427
55145
|
/**
|
|
@@ -54459,6 +55177,12 @@ interface EvalRunCaseScores {
|
|
|
54459
55177
|
* calling a tool. Null for ordinary runs and pre-feature rows.
|
|
54460
55178
|
*/
|
|
54461
55179
|
nextStepToolCalls: NextStepToolCall[] | null;
|
|
55180
|
+
/**
|
|
55181
|
+
* Present when the platform aborted the case before the target could answer
|
|
55182
|
+
* (the model gateway went silent and the stall watchdog gave up). Such a case
|
|
55183
|
+
* has no outcomes and is excluded from the run's score.
|
|
55184
|
+
*/
|
|
55185
|
+
failureKind?: 'platform_stall';
|
|
54462
55186
|
}
|
|
54463
55187
|
/** Persisted per-case grader scores for a run (`client.evals.getRunScores`). */
|
|
54464
55188
|
interface EvalRunScores extends EvalRunEvidence {
|
|
@@ -54469,10 +55193,19 @@ interface EvalRunScores extends EvalRunEvidence {
|
|
|
54469
55193
|
name: string | null;
|
|
54470
55194
|
/** The severity semantics the run was graded with (soft misses fail when true). */
|
|
54471
55195
|
strict: boolean;
|
|
54472
|
-
/**
|
|
55196
|
+
/**
|
|
55197
|
+
* Suite score, 0..1 (passed cases / graded cases; platform-aborted cases are
|
|
55198
|
+
* excluded from both halves); null when the run graded no cases.
|
|
55199
|
+
*/
|
|
54473
55200
|
score: number | null;
|
|
54474
55201
|
totalCases: number;
|
|
54475
55202
|
passedCases: number;
|
|
55203
|
+
/**
|
|
55204
|
+
* Cases the platform aborted before the target could answer. They run no
|
|
55205
|
+
* graders and count in neither half of `score`, so `totalCases` minus this is
|
|
55206
|
+
* the denominator `score` was taken over.
|
|
55207
|
+
*/
|
|
55208
|
+
platformAbortedCases: number;
|
|
54476
55209
|
cases: EvalRunCaseScores[];
|
|
54477
55210
|
}
|
|
54478
55211
|
/**
|
|
@@ -55194,6 +55927,12 @@ interface EvalSuiteLatestRun {
|
|
|
55194
55927
|
score: number | null;
|
|
55195
55928
|
totalCases: number | null;
|
|
55196
55929
|
passedCases: number | null;
|
|
55930
|
+
/**
|
|
55931
|
+
* Cases the platform aborted before the target could answer. They run no
|
|
55932
|
+
* graders and count in neither half of `score`, so `totalCases` minus this is
|
|
55933
|
+
* the denominator `score` was taken over.
|
|
55934
|
+
*/
|
|
55935
|
+
platformAbortedCases: number | null;
|
|
55197
55936
|
}
|
|
55198
55937
|
/** A suite as returned by list/update (no cases). */
|
|
55199
55938
|
interface EvalSuiteSummary {
|
|
@@ -57125,6 +57864,111 @@ declare class ExecutionsNamespace {
|
|
|
57125
57864
|
getStatus(executionId: string): Promise<AsyncExecutionStatus>;
|
|
57126
57865
|
}
|
|
57127
57866
|
|
|
57867
|
+
/**
|
|
57868
|
+
* One run, as `GET /v1/runs` returns it. A local copy of `RunListRow` from
|
|
57869
|
+
* `@runtypelabs/shared`: this package is published to npm and its source runs
|
|
57870
|
+
* directly from the staging smoke lane, where a workspace specifier does not
|
|
57871
|
+
* resolve. Pinned against the shared schema in `marathon-shared-parity.test.ts`.
|
|
57872
|
+
*/
|
|
57873
|
+
interface RunListRow {
|
|
57874
|
+
executionId: string;
|
|
57875
|
+
traceId: string | null;
|
|
57876
|
+
startedAt: string;
|
|
57877
|
+
endedAt: string | null;
|
|
57878
|
+
durationMs: number | null;
|
|
57879
|
+
status: 'queued' | 'running' | 'awaiting' | 'completed' | 'failed' | 'cancelled';
|
|
57880
|
+
kind: 'agent' | 'flow';
|
|
57881
|
+
agentId: string | null;
|
|
57882
|
+
flowId: string | null;
|
|
57883
|
+
conversationId: string | null;
|
|
57884
|
+
surfaceId: string | null;
|
|
57885
|
+
surfaceType: string | null;
|
|
57886
|
+
recordId: string | null;
|
|
57887
|
+
batchExecutionId: string | null;
|
|
57888
|
+
parentExecutionId: string | null;
|
|
57889
|
+
parentToolCallId: string | null;
|
|
57890
|
+
rootExecutionId: string | null;
|
|
57891
|
+
source: 'hosted' | 'ingested';
|
|
57892
|
+
fidelityTier: string | null;
|
|
57893
|
+
completeness: 'partial' | 'complete' | 'conflicted' | 'expired' | 'deleted' | null;
|
|
57894
|
+
retentionElided?: boolean;
|
|
57895
|
+
spanCount: number | null;
|
|
57896
|
+
inputTokens: number | null;
|
|
57897
|
+
outputTokens: number | null;
|
|
57898
|
+
totalCost: string | null;
|
|
57899
|
+
selfReportedCost: string | null;
|
|
57900
|
+
/**
|
|
57901
|
+
* True when the run was dispatched with `storeResults: false`, such as an
|
|
57902
|
+
* editor test. NULL means the header states nothing about it, which is not
|
|
57903
|
+
* `false`: headers written before the field shipped carry no dispatch stamp.
|
|
57904
|
+
*/
|
|
57905
|
+
test: boolean | null;
|
|
57906
|
+
stopReason?: string | null;
|
|
57907
|
+
iterations?: number | null;
|
|
57908
|
+
/** Overlay fields. Absent means the overlay did not answer, never `false`. */
|
|
57909
|
+
agentVersionId?: string | null;
|
|
57910
|
+
agentVersionLabel?: string | null;
|
|
57911
|
+
agentVersionNumber?: number | null;
|
|
57912
|
+
agentTargetResolution?: string | null;
|
|
57913
|
+
otelProducer?: unknown;
|
|
57914
|
+
lastHeartbeatAt?: string | null;
|
|
57915
|
+
expiresAt?: string | null;
|
|
57916
|
+
cancelRequestedAt?: string | null;
|
|
57917
|
+
progress?: unknown;
|
|
57918
|
+
pendingApproval?: unknown;
|
|
57919
|
+
budgetExhausted?: boolean | null;
|
|
57920
|
+
inputMessages?: unknown;
|
|
57921
|
+
}
|
|
57922
|
+
/** Filters `GET /v1/runs` accepts. Every one lands on an indexed or key column. */
|
|
57923
|
+
interface RunListParams {
|
|
57924
|
+
agentId?: string | string[];
|
|
57925
|
+
flowId?: string | string[];
|
|
57926
|
+
conversationId?: string;
|
|
57927
|
+
surfaceId?: string;
|
|
57928
|
+
surfaceType?: string;
|
|
57929
|
+
recordId?: string;
|
|
57930
|
+
batchExecutionId?: string | string[];
|
|
57931
|
+
parentExecutionId?: string;
|
|
57932
|
+
rootExecutionId?: string;
|
|
57933
|
+
executionId?: string | string[];
|
|
57934
|
+
source?: 'hosted' | 'ingested';
|
|
57935
|
+
/**
|
|
57936
|
+
* `running`, `completed` or `failed` only. `queued`, `awaiting` and
|
|
57937
|
+
* `cancelled` exist only in the live overlay and answer 400.
|
|
57938
|
+
*/
|
|
57939
|
+
status?: 'running' | 'completed' | 'failed';
|
|
57940
|
+
from?: string;
|
|
57941
|
+
to?: string;
|
|
57942
|
+
view?: 'compact' | 'full';
|
|
57943
|
+
overlay?: 'live' | 'none';
|
|
57944
|
+
limit?: number;
|
|
57945
|
+
cursor?: string;
|
|
57946
|
+
}
|
|
57947
|
+
interface RunListResponse {
|
|
57948
|
+
data: RunListRow[];
|
|
57949
|
+
pagination: {
|
|
57950
|
+
nextCursor: string | null;
|
|
57951
|
+
hasMore: boolean;
|
|
57952
|
+
hasPrev: boolean;
|
|
57953
|
+
limit: number;
|
|
57954
|
+
};
|
|
57955
|
+
window: {
|
|
57956
|
+
from: string;
|
|
57957
|
+
to: string;
|
|
57958
|
+
};
|
|
57959
|
+
}
|
|
57960
|
+
/**
|
|
57961
|
+
* Read-only namespace over `/v1/runs`, the one list of agent and flow runs.
|
|
57962
|
+
* A run dispatched with `storeResults: false` is listed with `test: true`
|
|
57963
|
+
* rather than being absent.
|
|
57964
|
+
*/
|
|
57965
|
+
declare class RunsNamespace {
|
|
57966
|
+
private readonly getClient;
|
|
57967
|
+
constructor(getClient: () => RuntypeClient$1);
|
|
57968
|
+
list(params?: RunListParams): Promise<RunListResponse>;
|
|
57969
|
+
get(executionId: string, params?: Pick<RunListParams, 'view' | 'overlay'>): Promise<RunListRow>;
|
|
57970
|
+
}
|
|
57971
|
+
|
|
57128
57972
|
/** Canonical normalized form of a tool definition (name excluded — identity). */
|
|
57129
57973
|
declare function normalizeToolDefinition(definition: ToolContentInput): {
|
|
57130
57974
|
toolType: string;
|
|
@@ -58085,6 +58929,17 @@ declare class Runtype {
|
|
|
58085
58929
|
static get agents(): AgentsNamespace;
|
|
58086
58930
|
/** Poll durable handles returned by asynchronous execute operations. */
|
|
58087
58931
|
static get executions(): ExecutionsNamespace;
|
|
58932
|
+
/**
|
|
58933
|
+
* Runs namespace - the one list of agent and flow runs, read from the span
|
|
58934
|
+
* store. Includes runs dispatched with `storeResults: false` as `test: true`.
|
|
58935
|
+
*
|
|
58936
|
+
* @example
|
|
58937
|
+
* ```typescript
|
|
58938
|
+
* const { data } = await Runtype.runs.list({ agentId, status: 'failed' })
|
|
58939
|
+
* const run = await Runtype.runs.get(data[0].executionId, { view: 'full' })
|
|
58940
|
+
* ```
|
|
58941
|
+
*/
|
|
58942
|
+
static get runs(): RunsNamespace;
|
|
58088
58943
|
/**
|
|
58089
58944
|
* Tools namespace - Tool config-as-code (define / ensure / pull)
|
|
58090
58945
|
*
|
|
@@ -63404,4 +64259,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
63404
64259
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
63405
64260
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
63406
64261
|
|
|
63407
|
-
export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, 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, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRunInsightsResponse, 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 ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, 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, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, 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, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, 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 OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, 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 RollbackAgentAliasInput, 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 SkillBindingWithAgent as RuntypeSkillBindingWithAgent, 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 UpdatedAgent, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, 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, activateAgentPromotion, agentAliasErrorCode, 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, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
|
|
64262
|
+
export { type AIGrader, type ActivateAgentAliasInput, type ActivateAgentPromotionInput, type Agent, type AgentAdmissionOptions, type AgentAlias, type AgentAliasActivation, type AgentAliasArchiveFailure, type AgentAliasArchived, AgentAliasDependencyError, type AgentAliasList, AgentAliasNotFoundError, AgentAliasPreviewLimitError, AgentAliasRevisionMismatchError, AgentAliasRevisionRequiredError, type AgentAliasTransport, AgentAliasesNamespace, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, type AgentDeploymentList, type AgentDeploymentPromotion, type AgentDeploymentReceipt, AgentDeploymentsNamespace, 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, AgentPromotionError, type AgentPromotionManifest, type AgentPromotionTransport, type AgentPromotionValidation, type AgentPullResult, type AgentReflectionEvent, type AgentRunInsightsResponse, 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 ArchiveAgentAliasEverywhereResult, type ArchiveAgentAliasInput, 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, ENSURE_RELEASE_DEPLOY_CONFLICT_MESSAGE, 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, LIVE_AGENT_ALIAS, type ListAgentAliasesOptions, type ListAgentDeploymentsOptions, 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 LogSearchedWindow, 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 OrganizationAgentAlias, type OrganizationAgentAliasList, type PaginationResponse, type PersistedGraderOutcome, type PrepareAgentPromotionInput, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, type ProductionHealthQuery, type ProductionHealthResponse, ProductsNamespace, type PromoteAgentInput, type PromoteAgentResult, 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 RollbackAgentAliasInput, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunListParams, type RunListResponse, type RunListRow, 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, RunsNamespace, 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 SkillBindingWithAgent as RuntypeSkillBindingWithAgent, 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 UpdatedAgent, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateAgentPromotionInput, 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, activateAgentPromotion, agentAliasErrorCode, 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, prepareAgentPromotion, processStream, promoteAgent, promotionIdempotencyKey, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, validateAgentPromotion, withDetachedReconnect, withUnifiedEvents };
|