@runtypelabs/sdk 9.14.0 → 9.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +213 -2
- package/dist/index.d.ts +213 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14089,7 +14089,7 @@ function transformQueryParams(params) {
|
|
|
14089
14089
|
|
|
14090
14090
|
// src/version.ts
|
|
14091
14091
|
var FALLBACK_VERSION = "0.0.0";
|
|
14092
|
-
var SDK_VERSION = "9.
|
|
14092
|
+
var SDK_VERSION = "9.15.0".length > 0 ? "9.15.0" : FALLBACK_VERSION;
|
|
14093
14093
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14094
14094
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14095
14095
|
|
package/dist/index.d.cts
CHANGED
|
@@ -2722,6 +2722,8 @@ interface paths {
|
|
|
2722
2722
|
versionId: string;
|
|
2723
2723
|
versionNumber: number | null;
|
|
2724
2724
|
}[];
|
|
2725
|
+
/** @description Whether an execution that names no version selector already resolves this agent through its `live` alias. False means a save still changes what runs, so moving production needs a publish; true means `live` is authoritative and moving production is an alias activation. */
|
|
2726
|
+
liveDefault: boolean;
|
|
2725
2727
|
nextCursor: string | null;
|
|
2726
2728
|
};
|
|
2727
2729
|
};
|
|
@@ -4547,6 +4549,7 @@ interface paths {
|
|
|
4547
4549
|
/** @enum {string} */
|
|
4548
4550
|
executionMode: "attached" | "detached";
|
|
4549
4551
|
expiresAt: string | null;
|
|
4552
|
+
externalObservedApprovals: components["schemas"]["ExternalObservedApprovals"];
|
|
4550
4553
|
finalOutput?: unknown;
|
|
4551
4554
|
id: string;
|
|
4552
4555
|
inputMessages?: unknown;
|
|
@@ -25040,7 +25043,7 @@ interface paths {
|
|
|
25040
25043
|
content: {
|
|
25041
25044
|
"application/json": {
|
|
25042
25045
|
data: {
|
|
25043
|
-
/** @description True when part of the window could not be read, so entries
|
|
25046
|
+
/** @description True when part of the window could not be read, so entries may be missing. Evicted ordinary rows are recovered from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses. */
|
|
25044
25047
|
degraded?: boolean;
|
|
25045
25048
|
entries: {
|
|
25046
25049
|
[key: string]: unknown;
|
|
@@ -25233,7 +25236,7 @@ interface paths {
|
|
|
25233
25236
|
byType: {
|
|
25234
25237
|
[key: string]: number;
|
|
25235
25238
|
};
|
|
25236
|
-
/** @description True when part of the window could not be read, so counts
|
|
25239
|
+
/** @description True when part of the window could not be read, so counts may be partial. Evicted ordinary rows are counted from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses, which are the only ones cached. */
|
|
25237
25240
|
degraded?: boolean;
|
|
25238
25241
|
histogram: {
|
|
25239
25242
|
bucket: string;
|
|
@@ -45004,6 +45007,26 @@ interface paths {
|
|
|
45004
45007
|
patch?: never;
|
|
45005
45008
|
trace?: never;
|
|
45006
45009
|
};
|
|
45010
|
+
"/v1/telemetry/ingest-health": {
|
|
45011
|
+
parameters: {
|
|
45012
|
+
query?: never;
|
|
45013
|
+
header?: never;
|
|
45014
|
+
path?: never;
|
|
45015
|
+
cookie?: never;
|
|
45016
|
+
};
|
|
45017
|
+
/**
|
|
45018
|
+
* Inspect OTLP admission, queryability, and durable recovery debt
|
|
45019
|
+
* @description Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to the first positive query probe, not stream ACK latency or a production SLO guarantee. Idle is not proof of sink health. No transcripts or retained payloads are returned. Requires ANALYTICS:READ or AGENTS:READ; TELEMETRY:WRITE alone is append-only.
|
|
45020
|
+
*/
|
|
45021
|
+
get: operations["getOtlpIngestHealth"];
|
|
45022
|
+
put?: never;
|
|
45023
|
+
post?: never;
|
|
45024
|
+
delete?: never;
|
|
45025
|
+
options?: never;
|
|
45026
|
+
head?: never;
|
|
45027
|
+
patch?: never;
|
|
45028
|
+
trace?: never;
|
|
45029
|
+
};
|
|
45007
45030
|
"/v1/tool-approval-grants": {
|
|
45008
45031
|
parameters: {
|
|
45009
45032
|
query?: never;
|
|
@@ -49038,6 +49061,12 @@ interface components {
|
|
|
49038
49061
|
/** @enum {string} */
|
|
49039
49062
|
targetType: "flow" | "agent";
|
|
49040
49063
|
updatedAt: string;
|
|
49064
|
+
/** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
|
|
49065
|
+
warnings?: {
|
|
49066
|
+
agentId?: string;
|
|
49067
|
+
code: string;
|
|
49068
|
+
message: string;
|
|
49069
|
+
}[];
|
|
49041
49070
|
};
|
|
49042
49071
|
EvalSuiteLatestRun: {
|
|
49043
49072
|
completedAt: string | null;
|
|
@@ -49112,6 +49141,12 @@ interface components {
|
|
|
49112
49141
|
/** @enum {string} */
|
|
49113
49142
|
targetType: "flow" | "agent";
|
|
49114
49143
|
updatedAt: string;
|
|
49144
|
+
/** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
|
|
49145
|
+
warnings?: {
|
|
49146
|
+
agentId?: string;
|
|
49147
|
+
code: string;
|
|
49148
|
+
message: string;
|
|
49149
|
+
}[];
|
|
49115
49150
|
};
|
|
49116
49151
|
ExecutionStreamEvent: {
|
|
49117
49152
|
agentId?: string;
|
|
@@ -49690,6 +49725,41 @@ interface components {
|
|
|
49690
49725
|
type: "custom";
|
|
49691
49726
|
value?: unknown;
|
|
49692
49727
|
};
|
|
49728
|
+
/** @description Read-only approval observations within producer traces. Null means history unavailable; an empty lifecycle list means none observed. Structural history survives ingest-fact expiry and is retained when verbose logging is off. */
|
|
49729
|
+
ExternalObservedApprovals: {
|
|
49730
|
+
/** @enum {string} */
|
|
49731
|
+
availability: "observed";
|
|
49732
|
+
lifecycles: {
|
|
49733
|
+
/** @enum {string} */
|
|
49734
|
+
decision: "requested" | "approved" | "denied" | "conflicted";
|
|
49735
|
+
key: string;
|
|
49736
|
+
observations: {
|
|
49737
|
+
key: string;
|
|
49738
|
+
/** Format: date-time */
|
|
49739
|
+
observedAt?: string;
|
|
49740
|
+
source: {
|
|
49741
|
+
/** @enum {string} */
|
|
49742
|
+
attribute: "cloudflare.agents.tool.approval.state";
|
|
49743
|
+
/** @enum {string} */
|
|
49744
|
+
kind: "cloudflare-agents";
|
|
49745
|
+
spanId: string;
|
|
49746
|
+
traceId: string;
|
|
49747
|
+
};
|
|
49748
|
+
/** @enum {string} */
|
|
49749
|
+
state: "requested" | "approved" | "denied";
|
|
49750
|
+
}[];
|
|
49751
|
+
rawStates: ("requested" | "approved" | "denied")[];
|
|
49752
|
+
/** @enum {boolean} */
|
|
49753
|
+
sourceConflict?: true;
|
|
49754
|
+
toolCallId: string;
|
|
49755
|
+
toolName?: string;
|
|
49756
|
+
toolType?: string;
|
|
49757
|
+
}[];
|
|
49758
|
+
/** @enum {boolean} */
|
|
49759
|
+
truncated?: true;
|
|
49760
|
+
/** @enum {number} */
|
|
49761
|
+
version: 1;
|
|
49762
|
+
} | null;
|
|
49693
49763
|
FlowEnsureConflict: {
|
|
49694
49764
|
/** @enum {string} */
|
|
49695
49765
|
code: "external_modification" | "remote_changed";
|
|
@@ -50363,6 +50433,135 @@ interface components {
|
|
|
50363
50433
|
headers: never;
|
|
50364
50434
|
pathItems: never;
|
|
50365
50435
|
}
|
|
50436
|
+
interface operations {
|
|
50437
|
+
getOtlpIngestHealth: {
|
|
50438
|
+
parameters: {
|
|
50439
|
+
query?: {
|
|
50440
|
+
traceId?: string;
|
|
50441
|
+
};
|
|
50442
|
+
header?: never;
|
|
50443
|
+
path?: never;
|
|
50444
|
+
cookie?: never;
|
|
50445
|
+
};
|
|
50446
|
+
requestBody?: never;
|
|
50447
|
+
responses: {
|
|
50448
|
+
/** @description Admission and observed delivery health */
|
|
50449
|
+
200: {
|
|
50450
|
+
headers: {
|
|
50451
|
+
[name: string]: unknown;
|
|
50452
|
+
};
|
|
50453
|
+
content: {
|
|
50454
|
+
"application/json": {
|
|
50455
|
+
admission: {
|
|
50456
|
+
activeRequests: number;
|
|
50457
|
+
availableBytes: number;
|
|
50458
|
+
availableRecords: number;
|
|
50459
|
+
maximumConcurrentRequests: number;
|
|
50460
|
+
};
|
|
50461
|
+
errors: {
|
|
50462
|
+
code: string;
|
|
50463
|
+
records: number;
|
|
50464
|
+
}[];
|
|
50465
|
+
lastAcceptedAt: string | null;
|
|
50466
|
+
observedAt: string;
|
|
50467
|
+
receiptHistoryDays: number;
|
|
50468
|
+
/** @enum {string} */
|
|
50469
|
+
status: "idle" | "observing" | "degraded" | "queryable";
|
|
50470
|
+
tiers: {
|
|
50471
|
+
canonical: {
|
|
50472
|
+
confirmed: number;
|
|
50473
|
+
maximumConfirmedLagMs: number | null;
|
|
50474
|
+
oldestPendingAgeMs: number | null;
|
|
50475
|
+
repairs: number;
|
|
50476
|
+
waiting: number;
|
|
50477
|
+
};
|
|
50478
|
+
hot: {
|
|
50479
|
+
confirmed: number;
|
|
50480
|
+
maximumConfirmedLagMs: number | null;
|
|
50481
|
+
oldestPendingAgeMs: number | null;
|
|
50482
|
+
repairs: number;
|
|
50483
|
+
waiting: number;
|
|
50484
|
+
};
|
|
50485
|
+
raw: {
|
|
50486
|
+
confirmed: number;
|
|
50487
|
+
maximumConfirmedLagMs: number | null;
|
|
50488
|
+
oldestPendingAgeMs: number | null;
|
|
50489
|
+
repairs: number;
|
|
50490
|
+
waiting: number;
|
|
50491
|
+
};
|
|
50492
|
+
};
|
|
50493
|
+
totals: {
|
|
50494
|
+
accepted: number;
|
|
50495
|
+
claimConflicts: number;
|
|
50496
|
+
complete: number;
|
|
50497
|
+
deleted: number;
|
|
50498
|
+
exhaustedAttempts: number;
|
|
50499
|
+
expired: number;
|
|
50500
|
+
pending: number;
|
|
50501
|
+
pendingBytes: number;
|
|
50502
|
+
suppressed: number;
|
|
50503
|
+
};
|
|
50504
|
+
trace: {
|
|
50505
|
+
acceptedAt: string;
|
|
50506
|
+
completeness: string;
|
|
50507
|
+
/** @description Receipt counts for this trace only; confirmations require positive tier reads, not stream acknowledgments. */
|
|
50508
|
+
delivery: {
|
|
50509
|
+
accepted: number;
|
|
50510
|
+
canonicalConfirmed: number;
|
|
50511
|
+
complete: number;
|
|
50512
|
+
hotConfirmed: number;
|
|
50513
|
+
pending: number;
|
|
50514
|
+
rawConfirmed: number;
|
|
50515
|
+
};
|
|
50516
|
+
diagnostics: {
|
|
50517
|
+
[key: string]: unknown;
|
|
50518
|
+
};
|
|
50519
|
+
expiresAt: string;
|
|
50520
|
+
revision: number;
|
|
50521
|
+
traceId: string;
|
|
50522
|
+
} | null;
|
|
50523
|
+
};
|
|
50524
|
+
};
|
|
50525
|
+
};
|
|
50526
|
+
/** @description Invalid trace identity */
|
|
50527
|
+
400: {
|
|
50528
|
+
headers: {
|
|
50529
|
+
[name: string]: unknown;
|
|
50530
|
+
};
|
|
50531
|
+
content: {
|
|
50532
|
+
"application/json": components["schemas"]["Error"];
|
|
50533
|
+
};
|
|
50534
|
+
};
|
|
50535
|
+
/** @description Unauthenticated */
|
|
50536
|
+
401: {
|
|
50537
|
+
headers: {
|
|
50538
|
+
[name: string]: unknown;
|
|
50539
|
+
};
|
|
50540
|
+
content: {
|
|
50541
|
+
"application/json": components["schemas"]["Error"];
|
|
50542
|
+
};
|
|
50543
|
+
};
|
|
50544
|
+
/** @description Read scope required */
|
|
50545
|
+
403: {
|
|
50546
|
+
headers: {
|
|
50547
|
+
[name: string]: unknown;
|
|
50548
|
+
};
|
|
50549
|
+
content: {
|
|
50550
|
+
"application/json": components["schemas"]["Error"];
|
|
50551
|
+
};
|
|
50552
|
+
};
|
|
50553
|
+
/** @description Health state temporarily unavailable */
|
|
50554
|
+
503: {
|
|
50555
|
+
headers: {
|
|
50556
|
+
[name: string]: unknown;
|
|
50557
|
+
};
|
|
50558
|
+
content: {
|
|
50559
|
+
"application/json": components["schemas"]["Error"];
|
|
50560
|
+
};
|
|
50561
|
+
};
|
|
50562
|
+
};
|
|
50563
|
+
};
|
|
50564
|
+
}
|
|
50366
50565
|
|
|
50367
50566
|
/**
|
|
50368
50567
|
* Hand-maintained, thin aliases over the GENERATED OpenAPI types.
|
|
@@ -54603,6 +54802,18 @@ interface EvalSuiteSummary {
|
|
|
54603
54802
|
latestRun: EvalSuiteLatestRun | null;
|
|
54604
54803
|
createdAt: string;
|
|
54605
54804
|
updatedAt: string;
|
|
54805
|
+
/**
|
|
54806
|
+
* Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the
|
|
54807
|
+
* target agent archived its `live` alias, so a run naming no version
|
|
54808
|
+
* selector refuses once the live default is on for the organization.
|
|
54809
|
+
*/
|
|
54810
|
+
warnings?: EvalSuiteWarning[];
|
|
54811
|
+
}
|
|
54812
|
+
/** One non-blocking finding about a suite's target. */
|
|
54813
|
+
interface EvalSuiteWarning {
|
|
54814
|
+
code: string;
|
|
54815
|
+
message: string;
|
|
54816
|
+
agentId?: string;
|
|
54606
54817
|
}
|
|
54607
54818
|
/** A persisted test case. */
|
|
54608
54819
|
interface EvalSuiteCase {
|
package/dist/index.d.ts
CHANGED
|
@@ -2722,6 +2722,8 @@ interface paths {
|
|
|
2722
2722
|
versionId: string;
|
|
2723
2723
|
versionNumber: number | null;
|
|
2724
2724
|
}[];
|
|
2725
|
+
/** @description Whether an execution that names no version selector already resolves this agent through its `live` alias. False means a save still changes what runs, so moving production needs a publish; true means `live` is authoritative and moving production is an alias activation. */
|
|
2726
|
+
liveDefault: boolean;
|
|
2725
2727
|
nextCursor: string | null;
|
|
2726
2728
|
};
|
|
2727
2729
|
};
|
|
@@ -4547,6 +4549,7 @@ interface paths {
|
|
|
4547
4549
|
/** @enum {string} */
|
|
4548
4550
|
executionMode: "attached" | "detached";
|
|
4549
4551
|
expiresAt: string | null;
|
|
4552
|
+
externalObservedApprovals: components["schemas"]["ExternalObservedApprovals"];
|
|
4550
4553
|
finalOutput?: unknown;
|
|
4551
4554
|
id: string;
|
|
4552
4555
|
inputMessages?: unknown;
|
|
@@ -25040,7 +25043,7 @@ interface paths {
|
|
|
25040
25043
|
content: {
|
|
25041
25044
|
"application/json": {
|
|
25042
25045
|
data: {
|
|
25043
|
-
/** @description True when part of the window could not be read, so entries
|
|
25046
|
+
/** @description True when part of the window could not be read, so entries may be missing. Evicted ordinary rows are recovered from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses. */
|
|
25044
25047
|
degraded?: boolean;
|
|
25045
25048
|
entries: {
|
|
25046
25049
|
[key: string]: unknown;
|
|
@@ -25233,7 +25236,7 @@ interface paths {
|
|
|
25233
25236
|
byType: {
|
|
25234
25237
|
[key: string]: number;
|
|
25235
25238
|
};
|
|
25236
|
-
/** @description True when part of the window could not be read, so counts
|
|
25239
|
+
/** @description True when part of the window could not be read, so counts may be partial. Evicted ordinary rows are counted from R2 when old enough; receipt-backed recovery remains degraded when source time cannot prove ingestion. Absent on healthy responses, which are the only ones cached. */
|
|
25237
25240
|
degraded?: boolean;
|
|
25238
25241
|
histogram: {
|
|
25239
25242
|
bucket: string;
|
|
@@ -45004,6 +45007,26 @@ interface paths {
|
|
|
45004
45007
|
patch?: never;
|
|
45005
45008
|
trace?: never;
|
|
45006
45009
|
};
|
|
45010
|
+
"/v1/telemetry/ingest-health": {
|
|
45011
|
+
parameters: {
|
|
45012
|
+
query?: never;
|
|
45013
|
+
header?: never;
|
|
45014
|
+
path?: never;
|
|
45015
|
+
cookie?: never;
|
|
45016
|
+
};
|
|
45017
|
+
/**
|
|
45018
|
+
* Inspect OTLP admission, queryability, and durable recovery debt
|
|
45019
|
+
* @description Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to the first positive query probe, not stream ACK latency or a production SLO guarantee. Idle is not proof of sink health. No transcripts or retained payloads are returned. Requires ANALYTICS:READ or AGENTS:READ; TELEMETRY:WRITE alone is append-only.
|
|
45020
|
+
*/
|
|
45021
|
+
get: operations["getOtlpIngestHealth"];
|
|
45022
|
+
put?: never;
|
|
45023
|
+
post?: never;
|
|
45024
|
+
delete?: never;
|
|
45025
|
+
options?: never;
|
|
45026
|
+
head?: never;
|
|
45027
|
+
patch?: never;
|
|
45028
|
+
trace?: never;
|
|
45029
|
+
};
|
|
45007
45030
|
"/v1/tool-approval-grants": {
|
|
45008
45031
|
parameters: {
|
|
45009
45032
|
query?: never;
|
|
@@ -49038,6 +49061,12 @@ interface components {
|
|
|
49038
49061
|
/** @enum {string} */
|
|
49039
49062
|
targetType: "flow" | "agent";
|
|
49040
49063
|
updatedAt: string;
|
|
49064
|
+
/** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
|
|
49065
|
+
warnings?: {
|
|
49066
|
+
agentId?: string;
|
|
49067
|
+
code: string;
|
|
49068
|
+
message: string;
|
|
49069
|
+
}[];
|
|
49041
49070
|
};
|
|
49042
49071
|
EvalSuiteLatestRun: {
|
|
49043
49072
|
completedAt: string | null;
|
|
@@ -49112,6 +49141,12 @@ interface components {
|
|
|
49112
49141
|
/** @enum {string} */
|
|
49113
49142
|
targetType: "flow" | "agent";
|
|
49114
49143
|
updatedAt: string;
|
|
49144
|
+
/** @description Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the target agent has no runnable `live` version, so a run that names no version selector refuses once the live default is on for the organization. */
|
|
49145
|
+
warnings?: {
|
|
49146
|
+
agentId?: string;
|
|
49147
|
+
code: string;
|
|
49148
|
+
message: string;
|
|
49149
|
+
}[];
|
|
49115
49150
|
};
|
|
49116
49151
|
ExecutionStreamEvent: {
|
|
49117
49152
|
agentId?: string;
|
|
@@ -49690,6 +49725,41 @@ interface components {
|
|
|
49690
49725
|
type: "custom";
|
|
49691
49726
|
value?: unknown;
|
|
49692
49727
|
};
|
|
49728
|
+
/** @description Read-only approval observations within producer traces. Null means history unavailable; an empty lifecycle list means none observed. Structural history survives ingest-fact expiry and is retained when verbose logging is off. */
|
|
49729
|
+
ExternalObservedApprovals: {
|
|
49730
|
+
/** @enum {string} */
|
|
49731
|
+
availability: "observed";
|
|
49732
|
+
lifecycles: {
|
|
49733
|
+
/** @enum {string} */
|
|
49734
|
+
decision: "requested" | "approved" | "denied" | "conflicted";
|
|
49735
|
+
key: string;
|
|
49736
|
+
observations: {
|
|
49737
|
+
key: string;
|
|
49738
|
+
/** Format: date-time */
|
|
49739
|
+
observedAt?: string;
|
|
49740
|
+
source: {
|
|
49741
|
+
/** @enum {string} */
|
|
49742
|
+
attribute: "cloudflare.agents.tool.approval.state";
|
|
49743
|
+
/** @enum {string} */
|
|
49744
|
+
kind: "cloudflare-agents";
|
|
49745
|
+
spanId: string;
|
|
49746
|
+
traceId: string;
|
|
49747
|
+
};
|
|
49748
|
+
/** @enum {string} */
|
|
49749
|
+
state: "requested" | "approved" | "denied";
|
|
49750
|
+
}[];
|
|
49751
|
+
rawStates: ("requested" | "approved" | "denied")[];
|
|
49752
|
+
/** @enum {boolean} */
|
|
49753
|
+
sourceConflict?: true;
|
|
49754
|
+
toolCallId: string;
|
|
49755
|
+
toolName?: string;
|
|
49756
|
+
toolType?: string;
|
|
49757
|
+
}[];
|
|
49758
|
+
/** @enum {boolean} */
|
|
49759
|
+
truncated?: true;
|
|
49760
|
+
/** @enum {number} */
|
|
49761
|
+
version: 1;
|
|
49762
|
+
} | null;
|
|
49693
49763
|
FlowEnsureConflict: {
|
|
49694
49764
|
/** @enum {string} */
|
|
49695
49765
|
code: "external_modification" | "remote_changed";
|
|
@@ -50363,6 +50433,135 @@ interface components {
|
|
|
50363
50433
|
headers: never;
|
|
50364
50434
|
pathItems: never;
|
|
50365
50435
|
}
|
|
50436
|
+
interface operations {
|
|
50437
|
+
getOtlpIngestHealth: {
|
|
50438
|
+
parameters: {
|
|
50439
|
+
query?: {
|
|
50440
|
+
traceId?: string;
|
|
50441
|
+
};
|
|
50442
|
+
header?: never;
|
|
50443
|
+
path?: never;
|
|
50444
|
+
cookie?: never;
|
|
50445
|
+
};
|
|
50446
|
+
requestBody?: never;
|
|
50447
|
+
responses: {
|
|
50448
|
+
/** @description Admission and observed delivery health */
|
|
50449
|
+
200: {
|
|
50450
|
+
headers: {
|
|
50451
|
+
[name: string]: unknown;
|
|
50452
|
+
};
|
|
50453
|
+
content: {
|
|
50454
|
+
"application/json": {
|
|
50455
|
+
admission: {
|
|
50456
|
+
activeRequests: number;
|
|
50457
|
+
availableBytes: number;
|
|
50458
|
+
availableRecords: number;
|
|
50459
|
+
maximumConcurrentRequests: number;
|
|
50460
|
+
};
|
|
50461
|
+
errors: {
|
|
50462
|
+
code: string;
|
|
50463
|
+
records: number;
|
|
50464
|
+
}[];
|
|
50465
|
+
lastAcceptedAt: string | null;
|
|
50466
|
+
observedAt: string;
|
|
50467
|
+
receiptHistoryDays: number;
|
|
50468
|
+
/** @enum {string} */
|
|
50469
|
+
status: "idle" | "observing" | "degraded" | "queryable";
|
|
50470
|
+
tiers: {
|
|
50471
|
+
canonical: {
|
|
50472
|
+
confirmed: number;
|
|
50473
|
+
maximumConfirmedLagMs: number | null;
|
|
50474
|
+
oldestPendingAgeMs: number | null;
|
|
50475
|
+
repairs: number;
|
|
50476
|
+
waiting: number;
|
|
50477
|
+
};
|
|
50478
|
+
hot: {
|
|
50479
|
+
confirmed: number;
|
|
50480
|
+
maximumConfirmedLagMs: number | null;
|
|
50481
|
+
oldestPendingAgeMs: number | null;
|
|
50482
|
+
repairs: number;
|
|
50483
|
+
waiting: number;
|
|
50484
|
+
};
|
|
50485
|
+
raw: {
|
|
50486
|
+
confirmed: number;
|
|
50487
|
+
maximumConfirmedLagMs: number | null;
|
|
50488
|
+
oldestPendingAgeMs: number | null;
|
|
50489
|
+
repairs: number;
|
|
50490
|
+
waiting: number;
|
|
50491
|
+
};
|
|
50492
|
+
};
|
|
50493
|
+
totals: {
|
|
50494
|
+
accepted: number;
|
|
50495
|
+
claimConflicts: number;
|
|
50496
|
+
complete: number;
|
|
50497
|
+
deleted: number;
|
|
50498
|
+
exhaustedAttempts: number;
|
|
50499
|
+
expired: number;
|
|
50500
|
+
pending: number;
|
|
50501
|
+
pendingBytes: number;
|
|
50502
|
+
suppressed: number;
|
|
50503
|
+
};
|
|
50504
|
+
trace: {
|
|
50505
|
+
acceptedAt: string;
|
|
50506
|
+
completeness: string;
|
|
50507
|
+
/** @description Receipt counts for this trace only; confirmations require positive tier reads, not stream acknowledgments. */
|
|
50508
|
+
delivery: {
|
|
50509
|
+
accepted: number;
|
|
50510
|
+
canonicalConfirmed: number;
|
|
50511
|
+
complete: number;
|
|
50512
|
+
hotConfirmed: number;
|
|
50513
|
+
pending: number;
|
|
50514
|
+
rawConfirmed: number;
|
|
50515
|
+
};
|
|
50516
|
+
diagnostics: {
|
|
50517
|
+
[key: string]: unknown;
|
|
50518
|
+
};
|
|
50519
|
+
expiresAt: string;
|
|
50520
|
+
revision: number;
|
|
50521
|
+
traceId: string;
|
|
50522
|
+
} | null;
|
|
50523
|
+
};
|
|
50524
|
+
};
|
|
50525
|
+
};
|
|
50526
|
+
/** @description Invalid trace identity */
|
|
50527
|
+
400: {
|
|
50528
|
+
headers: {
|
|
50529
|
+
[name: string]: unknown;
|
|
50530
|
+
};
|
|
50531
|
+
content: {
|
|
50532
|
+
"application/json": components["schemas"]["Error"];
|
|
50533
|
+
};
|
|
50534
|
+
};
|
|
50535
|
+
/** @description Unauthenticated */
|
|
50536
|
+
401: {
|
|
50537
|
+
headers: {
|
|
50538
|
+
[name: string]: unknown;
|
|
50539
|
+
};
|
|
50540
|
+
content: {
|
|
50541
|
+
"application/json": components["schemas"]["Error"];
|
|
50542
|
+
};
|
|
50543
|
+
};
|
|
50544
|
+
/** @description Read scope required */
|
|
50545
|
+
403: {
|
|
50546
|
+
headers: {
|
|
50547
|
+
[name: string]: unknown;
|
|
50548
|
+
};
|
|
50549
|
+
content: {
|
|
50550
|
+
"application/json": components["schemas"]["Error"];
|
|
50551
|
+
};
|
|
50552
|
+
};
|
|
50553
|
+
/** @description Health state temporarily unavailable */
|
|
50554
|
+
503: {
|
|
50555
|
+
headers: {
|
|
50556
|
+
[name: string]: unknown;
|
|
50557
|
+
};
|
|
50558
|
+
content: {
|
|
50559
|
+
"application/json": components["schemas"]["Error"];
|
|
50560
|
+
};
|
|
50561
|
+
};
|
|
50562
|
+
};
|
|
50563
|
+
};
|
|
50564
|
+
}
|
|
50366
50565
|
|
|
50367
50566
|
/**
|
|
50368
50567
|
* Hand-maintained, thin aliases over the GENERATED OpenAPI types.
|
|
@@ -54603,6 +54802,18 @@ interface EvalSuiteSummary {
|
|
|
54603
54802
|
latestRun: EvalSuiteLatestRun | null;
|
|
54604
54803
|
createdAt: string;
|
|
54605
54804
|
updatedAt: string;
|
|
54805
|
+
/**
|
|
54806
|
+
* Non-blocking findings about this suite. `AGENT_NOT_DEPLOYED` means the
|
|
54807
|
+
* target agent archived its `live` alias, so a run naming no version
|
|
54808
|
+
* selector refuses once the live default is on for the organization.
|
|
54809
|
+
*/
|
|
54810
|
+
warnings?: EvalSuiteWarning[];
|
|
54811
|
+
}
|
|
54812
|
+
/** One non-blocking finding about a suite's target. */
|
|
54813
|
+
interface EvalSuiteWarning {
|
|
54814
|
+
code: string;
|
|
54815
|
+
message: string;
|
|
54816
|
+
agentId?: string;
|
|
54606
54817
|
}
|
|
54607
54818
|
/** A persisted test case. */
|
|
54608
54819
|
interface EvalSuiteCase {
|
package/dist/index.mjs
CHANGED
|
@@ -13875,7 +13875,7 @@ function transformQueryParams(params) {
|
|
|
13875
13875
|
|
|
13876
13876
|
// src/version.ts
|
|
13877
13877
|
var FALLBACK_VERSION = "0.0.0";
|
|
13878
|
-
var SDK_VERSION = "9.
|
|
13878
|
+
var SDK_VERSION = "9.15.0".length > 0 ? "9.15.0" : FALLBACK_VERSION;
|
|
13879
13879
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
13880
13880
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
13881
13881
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.
|
|
27
|
+
"@runtypelabs/shared": "3.50.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsup": "^8.0.2",
|
|
30
30
|
"typescript": "^6.0.3",
|