@runtypelabs/sdk 10.2.0 → 10.2.2
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 +32 -75
- package/dist/index.d.ts +32 -75
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14149,7 +14149,7 @@ function transformQueryParams(params) {
|
|
|
14149
14149
|
|
|
14150
14150
|
// src/version.ts
|
|
14151
14151
|
var FALLBACK_VERSION = "0.0.0";
|
|
14152
|
-
var SDK_VERSION = "10.2.
|
|
14152
|
+
var SDK_VERSION = "10.2.2".length > 0 ? "10.2.2" : FALLBACK_VERSION;
|
|
14153
14153
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14154
14154
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14155
14155
|
|
package/dist/index.d.cts
CHANGED
|
@@ -25207,9 +25207,7 @@ interface paths {
|
|
|
25207
25207
|
content: {
|
|
25208
25208
|
"application/json": {
|
|
25209
25209
|
data: {
|
|
25210
|
-
/** @description True when the
|
|
25211
|
-
dedupeFallback?: boolean;
|
|
25212
|
-
/** @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. */
|
|
25210
|
+
/** @description True when the live overlay or the audit plane could not be read, so entries from that source are missing. Absent on healthy responses. */
|
|
25213
25211
|
degraded?: boolean;
|
|
25214
25212
|
entries: {
|
|
25215
25213
|
[key: string]: unknown;
|
|
@@ -25280,59 +25278,8 @@ interface paths {
|
|
|
25280
25278
|
"application/json": components["schemas"]["Error"];
|
|
25281
25279
|
};
|
|
25282
25280
|
};
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
put?: never;
|
|
25286
|
-
post?: never;
|
|
25287
|
-
delete?: never;
|
|
25288
|
-
options?: never;
|
|
25289
|
-
head?: never;
|
|
25290
|
-
patch?: never;
|
|
25291
|
-
trace?: never;
|
|
25292
|
-
};
|
|
25293
|
-
"/v1/logs/debug": {
|
|
25294
|
-
parameters: {
|
|
25295
|
-
query?: never;
|
|
25296
|
-
header?: never;
|
|
25297
|
-
path?: never;
|
|
25298
|
-
cookie?: never;
|
|
25299
|
-
};
|
|
25300
|
-
/**
|
|
25301
|
-
* Debug R2 SQL diagnostics
|
|
25302
|
-
* @description R2 SQL diagnostic endpoint for troubleshooting log queries. Non-production only.
|
|
25303
|
-
*/
|
|
25304
|
-
get: {
|
|
25305
|
-
parameters: {
|
|
25306
|
-
query?: never;
|
|
25307
|
-
header?: never;
|
|
25308
|
-
path?: never;
|
|
25309
|
-
cookie?: never;
|
|
25310
|
-
};
|
|
25311
|
-
requestBody?: never;
|
|
25312
|
-
responses: {
|
|
25313
|
-
/** @description Diagnostics returned */
|
|
25314
|
-
200: {
|
|
25315
|
-
headers: {
|
|
25316
|
-
[name: string]: unknown;
|
|
25317
|
-
};
|
|
25318
|
-
content: {
|
|
25319
|
-
"application/json": {
|
|
25320
|
-
data?: unknown;
|
|
25321
|
-
success: boolean;
|
|
25322
|
-
};
|
|
25323
|
-
};
|
|
25324
|
-
};
|
|
25325
|
-
/** @description Unauthorized */
|
|
25326
|
-
401: {
|
|
25327
|
-
headers: {
|
|
25328
|
-
[name: string]: unknown;
|
|
25329
|
-
};
|
|
25330
|
-
content: {
|
|
25331
|
-
"application/json": components["schemas"]["Error"];
|
|
25332
|
-
};
|
|
25333
|
-
};
|
|
25334
|
-
/** @description Not found */
|
|
25335
|
-
404: {
|
|
25281
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25282
|
+
503: {
|
|
25336
25283
|
headers: {
|
|
25337
25284
|
[name: string]: unknown;
|
|
25338
25285
|
};
|
|
@@ -25359,25 +25306,17 @@ interface paths {
|
|
|
25359
25306
|
};
|
|
25360
25307
|
/**
|
|
25361
25308
|
* Read one log entry in full
|
|
25362
|
-
* @description Returns a single log entry, including the model-call transcript the paged list projection omits.
|
|
25309
|
+
* @description Returns a single log entry, including the model-call transcript the paged list projection omits. Addressed by the span key: traceId, spanId and timestamp. Bounded to one span, so a detail read never costs a page.
|
|
25363
25310
|
*/
|
|
25364
25311
|
get: {
|
|
25365
25312
|
parameters: {
|
|
25366
25313
|
query: {
|
|
25367
|
-
/** @description
|
|
25368
|
-
executionId?: string;
|
|
25369
|
-
/** @description The entry's exact timestamp (ISO 8601) */
|
|
25314
|
+
/** @description The span's exact started_at (ISO 8601) */
|
|
25370
25315
|
timestamp: string;
|
|
25371
|
-
/** @description Trace the span belongs to
|
|
25372
|
-
traceId
|
|
25373
|
-
/** @description Span to read, from a list row’s otlpSpanId.
|
|
25374
|
-
spanId
|
|
25375
|
-
/** @description Narrow to one request */
|
|
25376
|
-
requestId?: string;
|
|
25377
|
-
/** @description Narrow to one sequence number */
|
|
25378
|
-
seq?: string;
|
|
25379
|
-
/** @description Narrow to one tail event name */
|
|
25380
|
-
eventName?: string;
|
|
25316
|
+
/** @description Trace the span belongs to; a span id is unique only within its trace. */
|
|
25317
|
+
traceId: string;
|
|
25318
|
+
/** @description Span to read, from a list row’s otlpSpanId. */
|
|
25319
|
+
spanId: string;
|
|
25381
25320
|
};
|
|
25382
25321
|
header?: never;
|
|
25383
25322
|
path?: never;
|
|
@@ -25511,15 +25450,20 @@ interface paths {
|
|
|
25511
25450
|
byType: {
|
|
25512
25451
|
[key: string]: number;
|
|
25513
25452
|
};
|
|
25514
|
-
/** @description
|
|
25515
|
-
|
|
25516
|
-
/** @description True when
|
|
25453
|
+
/** @description The span plane’s earliest certified hour for this organization (ISO 8601). Counts before it are not in the store. Null when no hour is certified yet. */
|
|
25454
|
+
coveredFrom?: string | null;
|
|
25455
|
+
/** @description True when the live overlay or the audit plane could not be read, so counts are partial. Absent on healthy responses, which are the only ones cached. */
|
|
25517
25456
|
degraded?: boolean;
|
|
25518
25457
|
histogram: {
|
|
25519
25458
|
bucket: string;
|
|
25520
25459
|
count: number;
|
|
25521
25460
|
errors: number;
|
|
25522
25461
|
}[];
|
|
25462
|
+
/**
|
|
25463
|
+
* @description Which tier answered these counts. Always store today; the field exists so a granularity discontinuity is a labeled one rather than an unexplained drop in total.
|
|
25464
|
+
* @enum {string}
|
|
25465
|
+
*/
|
|
25466
|
+
statsSource?: "store" | "legacy" | "mixed";
|
|
25523
25467
|
total: number;
|
|
25524
25468
|
};
|
|
25525
25469
|
success: boolean;
|
|
@@ -25573,6 +25517,15 @@ interface paths {
|
|
|
25573
25517
|
"application/json": components["schemas"]["Error"];
|
|
25574
25518
|
};
|
|
25575
25519
|
};
|
|
25520
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25521
|
+
503: {
|
|
25522
|
+
headers: {
|
|
25523
|
+
[name: string]: unknown;
|
|
25524
|
+
};
|
|
25525
|
+
content: {
|
|
25526
|
+
"application/json": components["schemas"]["Error"];
|
|
25527
|
+
};
|
|
25528
|
+
};
|
|
25576
25529
|
};
|
|
25577
25530
|
};
|
|
25578
25531
|
put?: never;
|
|
@@ -54264,7 +54217,7 @@ interface LogQueryResult {
|
|
|
54264
54217
|
cursor: string | null;
|
|
54265
54218
|
hasMore: boolean;
|
|
54266
54219
|
};
|
|
54267
|
-
/** True when
|
|
54220
|
+
/** True when the live overlay or the audit plane could not be read, so some entries are missing. */
|
|
54268
54221
|
degraded?: boolean;
|
|
54269
54222
|
}
|
|
54270
54223
|
/** The `from`/`to` the API resolved for a logs query, after defaults and aliases. */
|
|
@@ -54291,8 +54244,12 @@ interface LogStatsResult {
|
|
|
54291
54244
|
count: number;
|
|
54292
54245
|
errors: number;
|
|
54293
54246
|
}>;
|
|
54294
|
-
/** True when
|
|
54247
|
+
/** True when the live overlay or the audit plane could not be read, so counts are partial. */
|
|
54295
54248
|
degraded?: boolean;
|
|
54249
|
+
/** Which tier answered these counts. Always `store` today. */
|
|
54250
|
+
statsSource?: 'store' | 'legacy' | 'mixed';
|
|
54251
|
+
/** The span plane's earliest certified hour; counts before it are not in the store. */
|
|
54252
|
+
coveredFrom?: string | null;
|
|
54296
54253
|
}
|
|
54297
54254
|
interface LogStatsResponse {
|
|
54298
54255
|
success: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -25207,9 +25207,7 @@ interface paths {
|
|
|
25207
25207
|
content: {
|
|
25208
25208
|
"application/json": {
|
|
25209
25209
|
data: {
|
|
25210
|
-
/** @description True when the
|
|
25211
|
-
dedupeFallback?: boolean;
|
|
25212
|
-
/** @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. */
|
|
25210
|
+
/** @description True when the live overlay or the audit plane could not be read, so entries from that source are missing. Absent on healthy responses. */
|
|
25213
25211
|
degraded?: boolean;
|
|
25214
25212
|
entries: {
|
|
25215
25213
|
[key: string]: unknown;
|
|
@@ -25280,59 +25278,8 @@ interface paths {
|
|
|
25280
25278
|
"application/json": components["schemas"]["Error"];
|
|
25281
25279
|
};
|
|
25282
25280
|
};
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
put?: never;
|
|
25286
|
-
post?: never;
|
|
25287
|
-
delete?: never;
|
|
25288
|
-
options?: never;
|
|
25289
|
-
head?: never;
|
|
25290
|
-
patch?: never;
|
|
25291
|
-
trace?: never;
|
|
25292
|
-
};
|
|
25293
|
-
"/v1/logs/debug": {
|
|
25294
|
-
parameters: {
|
|
25295
|
-
query?: never;
|
|
25296
|
-
header?: never;
|
|
25297
|
-
path?: never;
|
|
25298
|
-
cookie?: never;
|
|
25299
|
-
};
|
|
25300
|
-
/**
|
|
25301
|
-
* Debug R2 SQL diagnostics
|
|
25302
|
-
* @description R2 SQL diagnostic endpoint for troubleshooting log queries. Non-production only.
|
|
25303
|
-
*/
|
|
25304
|
-
get: {
|
|
25305
|
-
parameters: {
|
|
25306
|
-
query?: never;
|
|
25307
|
-
header?: never;
|
|
25308
|
-
path?: never;
|
|
25309
|
-
cookie?: never;
|
|
25310
|
-
};
|
|
25311
|
-
requestBody?: never;
|
|
25312
|
-
responses: {
|
|
25313
|
-
/** @description Diagnostics returned */
|
|
25314
|
-
200: {
|
|
25315
|
-
headers: {
|
|
25316
|
-
[name: string]: unknown;
|
|
25317
|
-
};
|
|
25318
|
-
content: {
|
|
25319
|
-
"application/json": {
|
|
25320
|
-
data?: unknown;
|
|
25321
|
-
success: boolean;
|
|
25322
|
-
};
|
|
25323
|
-
};
|
|
25324
|
-
};
|
|
25325
|
-
/** @description Unauthorized */
|
|
25326
|
-
401: {
|
|
25327
|
-
headers: {
|
|
25328
|
-
[name: string]: unknown;
|
|
25329
|
-
};
|
|
25330
|
-
content: {
|
|
25331
|
-
"application/json": components["schemas"]["Error"];
|
|
25332
|
-
};
|
|
25333
|
-
};
|
|
25334
|
-
/** @description Not found */
|
|
25335
|
-
404: {
|
|
25281
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25282
|
+
503: {
|
|
25336
25283
|
headers: {
|
|
25337
25284
|
[name: string]: unknown;
|
|
25338
25285
|
};
|
|
@@ -25359,25 +25306,17 @@ interface paths {
|
|
|
25359
25306
|
};
|
|
25360
25307
|
/**
|
|
25361
25308
|
* Read one log entry in full
|
|
25362
|
-
* @description Returns a single log entry, including the model-call transcript the paged list projection omits.
|
|
25309
|
+
* @description Returns a single log entry, including the model-call transcript the paged list projection omits. Addressed by the span key: traceId, spanId and timestamp. Bounded to one span, so a detail read never costs a page.
|
|
25363
25310
|
*/
|
|
25364
25311
|
get: {
|
|
25365
25312
|
parameters: {
|
|
25366
25313
|
query: {
|
|
25367
|
-
/** @description
|
|
25368
|
-
executionId?: string;
|
|
25369
|
-
/** @description The entry's exact timestamp (ISO 8601) */
|
|
25314
|
+
/** @description The span's exact started_at (ISO 8601) */
|
|
25370
25315
|
timestamp: string;
|
|
25371
|
-
/** @description Trace the span belongs to
|
|
25372
|
-
traceId
|
|
25373
|
-
/** @description Span to read, from a list row’s otlpSpanId.
|
|
25374
|
-
spanId
|
|
25375
|
-
/** @description Narrow to one request */
|
|
25376
|
-
requestId?: string;
|
|
25377
|
-
/** @description Narrow to one sequence number */
|
|
25378
|
-
seq?: string;
|
|
25379
|
-
/** @description Narrow to one tail event name */
|
|
25380
|
-
eventName?: string;
|
|
25316
|
+
/** @description Trace the span belongs to; a span id is unique only within its trace. */
|
|
25317
|
+
traceId: string;
|
|
25318
|
+
/** @description Span to read, from a list row’s otlpSpanId. */
|
|
25319
|
+
spanId: string;
|
|
25381
25320
|
};
|
|
25382
25321
|
header?: never;
|
|
25383
25322
|
path?: never;
|
|
@@ -25511,15 +25450,20 @@ interface paths {
|
|
|
25511
25450
|
byType: {
|
|
25512
25451
|
[key: string]: number;
|
|
25513
25452
|
};
|
|
25514
|
-
/** @description
|
|
25515
|
-
|
|
25516
|
-
/** @description True when
|
|
25453
|
+
/** @description The span plane’s earliest certified hour for this organization (ISO 8601). Counts before it are not in the store. Null when no hour is certified yet. */
|
|
25454
|
+
coveredFrom?: string | null;
|
|
25455
|
+
/** @description True when the live overlay or the audit plane could not be read, so counts are partial. Absent on healthy responses, which are the only ones cached. */
|
|
25517
25456
|
degraded?: boolean;
|
|
25518
25457
|
histogram: {
|
|
25519
25458
|
bucket: string;
|
|
25520
25459
|
count: number;
|
|
25521
25460
|
errors: number;
|
|
25522
25461
|
}[];
|
|
25462
|
+
/**
|
|
25463
|
+
* @description Which tier answered these counts. Always store today; the field exists so a granularity discontinuity is a labeled one rather than an unexplained drop in total.
|
|
25464
|
+
* @enum {string}
|
|
25465
|
+
*/
|
|
25466
|
+
statsSource?: "store" | "legacy" | "mixed";
|
|
25523
25467
|
total: number;
|
|
25524
25468
|
};
|
|
25525
25469
|
success: boolean;
|
|
@@ -25573,6 +25517,15 @@ interface paths {
|
|
|
25573
25517
|
"application/json": components["schemas"]["Error"];
|
|
25574
25518
|
};
|
|
25575
25519
|
};
|
|
25520
|
+
/** @description Log store temporarily unavailable; no entries or counts could be read */
|
|
25521
|
+
503: {
|
|
25522
|
+
headers: {
|
|
25523
|
+
[name: string]: unknown;
|
|
25524
|
+
};
|
|
25525
|
+
content: {
|
|
25526
|
+
"application/json": components["schemas"]["Error"];
|
|
25527
|
+
};
|
|
25528
|
+
};
|
|
25576
25529
|
};
|
|
25577
25530
|
};
|
|
25578
25531
|
put?: never;
|
|
@@ -54264,7 +54217,7 @@ interface LogQueryResult {
|
|
|
54264
54217
|
cursor: string | null;
|
|
54265
54218
|
hasMore: boolean;
|
|
54266
54219
|
};
|
|
54267
|
-
/** True when
|
|
54220
|
+
/** True when the live overlay or the audit plane could not be read, so some entries are missing. */
|
|
54268
54221
|
degraded?: boolean;
|
|
54269
54222
|
}
|
|
54270
54223
|
/** The `from`/`to` the API resolved for a logs query, after defaults and aliases. */
|
|
@@ -54291,8 +54244,12 @@ interface LogStatsResult {
|
|
|
54291
54244
|
count: number;
|
|
54292
54245
|
errors: number;
|
|
54293
54246
|
}>;
|
|
54294
|
-
/** True when
|
|
54247
|
+
/** True when the live overlay or the audit plane could not be read, so counts are partial. */
|
|
54295
54248
|
degraded?: boolean;
|
|
54249
|
+
/** Which tier answered these counts. Always `store` today. */
|
|
54250
|
+
statsSource?: 'store' | 'legacy' | 'mixed';
|
|
54251
|
+
/** The span plane's earliest certified hour; counts before it are not in the store. */
|
|
54252
|
+
coveredFrom?: string | null;
|
|
54296
54253
|
}
|
|
54297
54254
|
interface LogStatsResponse {
|
|
54298
54255
|
success: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -13934,7 +13934,7 @@ function transformQueryParams(params) {
|
|
|
13934
13934
|
|
|
13935
13935
|
// src/version.ts
|
|
13936
13936
|
var FALLBACK_VERSION = "0.0.0";
|
|
13937
|
-
var SDK_VERSION = "10.2.
|
|
13937
|
+
var SDK_VERSION = "10.2.2".length > 0 ? "10.2.2" : FALLBACK_VERSION;
|
|
13938
13938
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
13939
13939
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
13940
13940
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.2",
|
|
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.59.
|
|
27
|
+
"@runtypelabs/shared": "3.59.1",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsup": "^8.0.2",
|
|
30
30
|
"typescript": "^6.0.3",
|