@runtypelabs/sdk 9.16.1 → 9.17.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 +92 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14096,7 +14096,7 @@ function transformQueryParams(params) {
|
|
|
14096
14096
|
|
|
14097
14097
|
// src/version.ts
|
|
14098
14098
|
var FALLBACK_VERSION = "0.0.0";
|
|
14099
|
-
var SDK_VERSION = "9.
|
|
14099
|
+
var SDK_VERSION = "9.17.0".length > 0 ? "9.17.0" : FALLBACK_VERSION;
|
|
14100
14100
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14101
14101
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14102
14102
|
|
package/dist/index.d.cts
CHANGED
|
@@ -4552,6 +4552,14 @@ interface paths {
|
|
|
4552
4552
|
executionMode: "attached" | "detached";
|
|
4553
4553
|
expiresAt: string | null;
|
|
4554
4554
|
externalObservedApprovals: components["schemas"]["ExternalObservedApprovals"];
|
|
4555
|
+
/** @description Bounded state of the authorized external OTLP trace. Null means no matching trace state is available; it never means complete. This contains no trace facts or captured content. */
|
|
4556
|
+
externalTelemetry: {
|
|
4557
|
+
/** @enum {string} */
|
|
4558
|
+
completeness: "partial" | "complete" | "conflicted" | "expired";
|
|
4559
|
+
/** @enum {string} */
|
|
4560
|
+
source: "otlp";
|
|
4561
|
+
terminalRecorded: boolean;
|
|
4562
|
+
} | null;
|
|
4555
4563
|
finalOutput?: unknown;
|
|
4556
4564
|
id: string;
|
|
4557
4565
|
inputMessages?: unknown;
|
|
@@ -25306,6 +25314,90 @@ interface paths {
|
|
|
25306
25314
|
patch?: never;
|
|
25307
25315
|
trace?: never;
|
|
25308
25316
|
};
|
|
25317
|
+
"/v1/logs/entry": {
|
|
25318
|
+
parameters: {
|
|
25319
|
+
query?: never;
|
|
25320
|
+
header?: never;
|
|
25321
|
+
path?: never;
|
|
25322
|
+
cookie?: never;
|
|
25323
|
+
};
|
|
25324
|
+
/**
|
|
25325
|
+
* Read one log entry in full
|
|
25326
|
+
* @description Returns a single log entry addressed by its execution and timestamp, including the model-call transcript the paged list projection omits. Bounded to one millisecond of one execution, so a detail read never costs a page.
|
|
25327
|
+
*/
|
|
25328
|
+
get: {
|
|
25329
|
+
parameters: {
|
|
25330
|
+
query: {
|
|
25331
|
+
/** @description Runtime execution_id / executionSessionId the entry belongs to */
|
|
25332
|
+
executionId: string;
|
|
25333
|
+
/** @description The entry's exact timestamp (ISO 8601) */
|
|
25334
|
+
timestamp: string;
|
|
25335
|
+
/** @description Narrow to one request */
|
|
25336
|
+
requestId?: string;
|
|
25337
|
+
/** @description Narrow to one sequence number */
|
|
25338
|
+
seq?: string;
|
|
25339
|
+
/** @description Narrow to one tail event name */
|
|
25340
|
+
eventName?: string;
|
|
25341
|
+
};
|
|
25342
|
+
header?: never;
|
|
25343
|
+
path?: never;
|
|
25344
|
+
cookie?: never;
|
|
25345
|
+
};
|
|
25346
|
+
requestBody?: never;
|
|
25347
|
+
responses: {
|
|
25348
|
+
/** @description Entry returned, or null when no row matches */
|
|
25349
|
+
200: {
|
|
25350
|
+
headers: {
|
|
25351
|
+
[name: string]: unknown;
|
|
25352
|
+
};
|
|
25353
|
+
content: {
|
|
25354
|
+
"application/json": {
|
|
25355
|
+
data: {
|
|
25356
|
+
entry: {
|
|
25357
|
+
[key: string]: unknown;
|
|
25358
|
+
} | null;
|
|
25359
|
+
};
|
|
25360
|
+
success: boolean;
|
|
25361
|
+
};
|
|
25362
|
+
};
|
|
25363
|
+
};
|
|
25364
|
+
/** @description Invalid request */
|
|
25365
|
+
400: {
|
|
25366
|
+
headers: {
|
|
25367
|
+
[name: string]: unknown;
|
|
25368
|
+
};
|
|
25369
|
+
content: {
|
|
25370
|
+
"application/json": components["schemas"]["Error"];
|
|
25371
|
+
};
|
|
25372
|
+
};
|
|
25373
|
+
/** @description Unauthorized */
|
|
25374
|
+
401: {
|
|
25375
|
+
headers: {
|
|
25376
|
+
[name: string]: unknown;
|
|
25377
|
+
};
|
|
25378
|
+
content: {
|
|
25379
|
+
"application/json": components["schemas"]["Error"];
|
|
25380
|
+
};
|
|
25381
|
+
};
|
|
25382
|
+
/** @description Internal server error */
|
|
25383
|
+
500: {
|
|
25384
|
+
headers: {
|
|
25385
|
+
[name: string]: unknown;
|
|
25386
|
+
};
|
|
25387
|
+
content: {
|
|
25388
|
+
"application/json": components["schemas"]["Error"];
|
|
25389
|
+
};
|
|
25390
|
+
};
|
|
25391
|
+
};
|
|
25392
|
+
};
|
|
25393
|
+
put?: never;
|
|
25394
|
+
post?: never;
|
|
25395
|
+
delete?: never;
|
|
25396
|
+
options?: never;
|
|
25397
|
+
head?: never;
|
|
25398
|
+
patch?: never;
|
|
25399
|
+
trace?: never;
|
|
25400
|
+
};
|
|
25309
25401
|
"/v1/logs/stats": {
|
|
25310
25402
|
parameters: {
|
|
25311
25403
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -4552,6 +4552,14 @@ interface paths {
|
|
|
4552
4552
|
executionMode: "attached" | "detached";
|
|
4553
4553
|
expiresAt: string | null;
|
|
4554
4554
|
externalObservedApprovals: components["schemas"]["ExternalObservedApprovals"];
|
|
4555
|
+
/** @description Bounded state of the authorized external OTLP trace. Null means no matching trace state is available; it never means complete. This contains no trace facts or captured content. */
|
|
4556
|
+
externalTelemetry: {
|
|
4557
|
+
/** @enum {string} */
|
|
4558
|
+
completeness: "partial" | "complete" | "conflicted" | "expired";
|
|
4559
|
+
/** @enum {string} */
|
|
4560
|
+
source: "otlp";
|
|
4561
|
+
terminalRecorded: boolean;
|
|
4562
|
+
} | null;
|
|
4555
4563
|
finalOutput?: unknown;
|
|
4556
4564
|
id: string;
|
|
4557
4565
|
inputMessages?: unknown;
|
|
@@ -25306,6 +25314,90 @@ interface paths {
|
|
|
25306
25314
|
patch?: never;
|
|
25307
25315
|
trace?: never;
|
|
25308
25316
|
};
|
|
25317
|
+
"/v1/logs/entry": {
|
|
25318
|
+
parameters: {
|
|
25319
|
+
query?: never;
|
|
25320
|
+
header?: never;
|
|
25321
|
+
path?: never;
|
|
25322
|
+
cookie?: never;
|
|
25323
|
+
};
|
|
25324
|
+
/**
|
|
25325
|
+
* Read one log entry in full
|
|
25326
|
+
* @description Returns a single log entry addressed by its execution and timestamp, including the model-call transcript the paged list projection omits. Bounded to one millisecond of one execution, so a detail read never costs a page.
|
|
25327
|
+
*/
|
|
25328
|
+
get: {
|
|
25329
|
+
parameters: {
|
|
25330
|
+
query: {
|
|
25331
|
+
/** @description Runtime execution_id / executionSessionId the entry belongs to */
|
|
25332
|
+
executionId: string;
|
|
25333
|
+
/** @description The entry's exact timestamp (ISO 8601) */
|
|
25334
|
+
timestamp: string;
|
|
25335
|
+
/** @description Narrow to one request */
|
|
25336
|
+
requestId?: string;
|
|
25337
|
+
/** @description Narrow to one sequence number */
|
|
25338
|
+
seq?: string;
|
|
25339
|
+
/** @description Narrow to one tail event name */
|
|
25340
|
+
eventName?: string;
|
|
25341
|
+
};
|
|
25342
|
+
header?: never;
|
|
25343
|
+
path?: never;
|
|
25344
|
+
cookie?: never;
|
|
25345
|
+
};
|
|
25346
|
+
requestBody?: never;
|
|
25347
|
+
responses: {
|
|
25348
|
+
/** @description Entry returned, or null when no row matches */
|
|
25349
|
+
200: {
|
|
25350
|
+
headers: {
|
|
25351
|
+
[name: string]: unknown;
|
|
25352
|
+
};
|
|
25353
|
+
content: {
|
|
25354
|
+
"application/json": {
|
|
25355
|
+
data: {
|
|
25356
|
+
entry: {
|
|
25357
|
+
[key: string]: unknown;
|
|
25358
|
+
} | null;
|
|
25359
|
+
};
|
|
25360
|
+
success: boolean;
|
|
25361
|
+
};
|
|
25362
|
+
};
|
|
25363
|
+
};
|
|
25364
|
+
/** @description Invalid request */
|
|
25365
|
+
400: {
|
|
25366
|
+
headers: {
|
|
25367
|
+
[name: string]: unknown;
|
|
25368
|
+
};
|
|
25369
|
+
content: {
|
|
25370
|
+
"application/json": components["schemas"]["Error"];
|
|
25371
|
+
};
|
|
25372
|
+
};
|
|
25373
|
+
/** @description Unauthorized */
|
|
25374
|
+
401: {
|
|
25375
|
+
headers: {
|
|
25376
|
+
[name: string]: unknown;
|
|
25377
|
+
};
|
|
25378
|
+
content: {
|
|
25379
|
+
"application/json": components["schemas"]["Error"];
|
|
25380
|
+
};
|
|
25381
|
+
};
|
|
25382
|
+
/** @description Internal server error */
|
|
25383
|
+
500: {
|
|
25384
|
+
headers: {
|
|
25385
|
+
[name: string]: unknown;
|
|
25386
|
+
};
|
|
25387
|
+
content: {
|
|
25388
|
+
"application/json": components["schemas"]["Error"];
|
|
25389
|
+
};
|
|
25390
|
+
};
|
|
25391
|
+
};
|
|
25392
|
+
};
|
|
25393
|
+
put?: never;
|
|
25394
|
+
post?: never;
|
|
25395
|
+
delete?: never;
|
|
25396
|
+
options?: never;
|
|
25397
|
+
head?: never;
|
|
25398
|
+
patch?: never;
|
|
25399
|
+
trace?: never;
|
|
25400
|
+
};
|
|
25309
25401
|
"/v1/logs/stats": {
|
|
25310
25402
|
parameters: {
|
|
25311
25403
|
query?: never;
|
package/dist/index.mjs
CHANGED
|
@@ -13882,7 +13882,7 @@ function transformQueryParams(params) {
|
|
|
13882
13882
|
|
|
13883
13883
|
// src/version.ts
|
|
13884
13884
|
var FALLBACK_VERSION = "0.0.0";
|
|
13885
|
-
var SDK_VERSION = "9.
|
|
13885
|
+
var SDK_VERSION = "9.17.0".length > 0 ? "9.17.0" : FALLBACK_VERSION;
|
|
13886
13886
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
13887
13887
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
13888
13888
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.17.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.52.3",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsup": "^8.0.2",
|
|
30
30
|
"typescript": "^6.0.3",
|