@runtypelabs/sdk 10.1.0 → 10.1.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 +22 -14
- package/dist/index.d.ts +22 -14
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -14146,7 +14146,7 @@ function transformQueryParams(params) {
|
|
|
14146
14146
|
|
|
14147
14147
|
// src/version.ts
|
|
14148
14148
|
var FALLBACK_VERSION = "0.0.0";
|
|
14149
|
-
var SDK_VERSION = "10.1.
|
|
14149
|
+
var SDK_VERSION = "10.1.2".length > 0 ? "10.1.2" : FALLBACK_VERSION;
|
|
14150
14150
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
14151
14151
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
14152
14152
|
|
package/dist/index.d.cts
CHANGED
|
@@ -14404,15 +14404,6 @@ interface paths {
|
|
|
14404
14404
|
"application/json": components["schemas"]["Error"];
|
|
14405
14405
|
};
|
|
14406
14406
|
};
|
|
14407
|
-
/** @description Documentation search is not enabled */
|
|
14408
|
-
403: {
|
|
14409
|
-
headers: {
|
|
14410
|
-
[name: string]: unknown;
|
|
14411
|
-
};
|
|
14412
|
-
content: {
|
|
14413
|
-
"application/json": components["schemas"]["Error"];
|
|
14414
|
-
};
|
|
14415
|
-
};
|
|
14416
14407
|
/** @description Upstream documentation search failed */
|
|
14417
14408
|
502: {
|
|
14418
14409
|
headers: {
|
|
@@ -30831,6 +30822,8 @@ interface paths {
|
|
|
30831
30822
|
flowId: string | null;
|
|
30832
30823
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
30833
30824
|
inputMessages?: unknown;
|
|
30825
|
+
/** @description The run's first user message, secret-scrubbed and cut to 160 characters, so a list can say what a run was asked to do without reading content. Absent means no input text is recorded for this run, which is not an empty message: the span store holds no run-level input at all, so a run with no control-plane row (a flow leg, a storeResults:false test run) has none. */
|
|
30826
|
+
inputPreview?: string | null;
|
|
30834
30827
|
/** @description Input tokens reported. */
|
|
30835
30828
|
inputTokens: number | null;
|
|
30836
30829
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -40050,7 +40043,7 @@ interface paths {
|
|
|
40050
40043
|
};
|
|
40051
40044
|
/**
|
|
40052
40045
|
* List runs
|
|
40053
|
-
* @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
|
|
40046
|
+
* @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 with `code: "run_history_unavailable"` when neither plane can serve the page, which a client renders as "no run history here" rather than as a failed read.
|
|
40054
40047
|
*/
|
|
40055
40048
|
get: {
|
|
40056
40049
|
parameters: {
|
|
@@ -40083,7 +40076,7 @@ interface paths {
|
|
|
40083
40076
|
from?: string;
|
|
40084
40077
|
/** @description Window end (ISO 8601). Defaults to now. */
|
|
40085
40078
|
to?: string;
|
|
40086
|
-
/** @description full (the default) returns every field. compact omits exactly these
|
|
40079
|
+
/** @description full (the default) returns every field. compact omits exactly these 15: stopReason, iterations, inputPreview, 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. */
|
|
40087
40080
|
view?: "compact" | "full";
|
|
40088
40081
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40089
40082
|
overlay?: "live" | "none";
|
|
@@ -40147,13 +40140,20 @@ interface paths {
|
|
|
40147
40140
|
"application/json": components["schemas"]["Error"];
|
|
40148
40141
|
};
|
|
40149
40142
|
};
|
|
40150
|
-
/** @description
|
|
40143
|
+
/** @description No plane can answer: store run reads are off for this organization and the request names a predicate the control plane cannot express */
|
|
40151
40144
|
404: {
|
|
40152
40145
|
headers: {
|
|
40153
40146
|
[name: string]: unknown;
|
|
40154
40147
|
};
|
|
40155
40148
|
content: {
|
|
40156
|
-
"application/json":
|
|
40149
|
+
"application/json": {
|
|
40150
|
+
/**
|
|
40151
|
+
* @description Neither plane can serve this page, so the caller shows "no run history" rather than a failed read. Matching on the sentence is never the contract.
|
|
40152
|
+
* @enum {string}
|
|
40153
|
+
*/
|
|
40154
|
+
code: "run_history_unavailable";
|
|
40155
|
+
error: string;
|
|
40156
|
+
};
|
|
40157
40157
|
};
|
|
40158
40158
|
};
|
|
40159
40159
|
/** @description Internal server error */
|
|
@@ -40191,7 +40191,7 @@ interface paths {
|
|
|
40191
40191
|
query?: {
|
|
40192
40192
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40193
40193
|
overlay?: "live" | "none";
|
|
40194
|
-
/** @description full (the default) returns every field. compact omits exactly these
|
|
40194
|
+
/** @description full (the default) returns every field. compact omits exactly these 15: stopReason, iterations, inputPreview, 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. */
|
|
40195
40195
|
view?: "compact" | "full";
|
|
40196
40196
|
};
|
|
40197
40197
|
header?: never;
|
|
@@ -50960,6 +50960,8 @@ interface components {
|
|
|
50960
50960
|
flowId: string | null;
|
|
50961
50961
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
50962
50962
|
inputMessages?: unknown;
|
|
50963
|
+
/** @description The run's first user message, secret-scrubbed and cut to 160 characters, so a list can say what a run was asked to do without reading content. Absent means no input text is recorded for this run, which is not an empty message: the span store holds no run-level input at all, so a run with no control-plane row (a flow leg, a storeResults:false test run) has none. */
|
|
50964
|
+
inputPreview?: string | null;
|
|
50963
50965
|
/** @description Input tokens reported. */
|
|
50964
50966
|
inputTokens: number | null;
|
|
50965
50967
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -57914,6 +57916,12 @@ interface RunListRow {
|
|
|
57914
57916
|
test: boolean | null;
|
|
57915
57917
|
stopReason?: string | null;
|
|
57916
57918
|
iterations?: number | null;
|
|
57919
|
+
/**
|
|
57920
|
+
* The run's first user message, secret-scrubbed and bounded. Absent means no
|
|
57921
|
+
* input text is recorded for the run, which is not an empty message: a run
|
|
57922
|
+
* with no control-plane row carries none.
|
|
57923
|
+
*/
|
|
57924
|
+
inputPreview?: string | null;
|
|
57917
57925
|
/** Overlay fields. Absent means the overlay did not answer, never `false`. */
|
|
57918
57926
|
agentVersionId?: string | null;
|
|
57919
57927
|
agentVersionLabel?: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -14404,15 +14404,6 @@ interface paths {
|
|
|
14404
14404
|
"application/json": components["schemas"]["Error"];
|
|
14405
14405
|
};
|
|
14406
14406
|
};
|
|
14407
|
-
/** @description Documentation search is not enabled */
|
|
14408
|
-
403: {
|
|
14409
|
-
headers: {
|
|
14410
|
-
[name: string]: unknown;
|
|
14411
|
-
};
|
|
14412
|
-
content: {
|
|
14413
|
-
"application/json": components["schemas"]["Error"];
|
|
14414
|
-
};
|
|
14415
|
-
};
|
|
14416
14407
|
/** @description Upstream documentation search failed */
|
|
14417
14408
|
502: {
|
|
14418
14409
|
headers: {
|
|
@@ -30831,6 +30822,8 @@ interface paths {
|
|
|
30831
30822
|
flowId: string | null;
|
|
30832
30823
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
30833
30824
|
inputMessages?: unknown;
|
|
30825
|
+
/** @description The run's first user message, secret-scrubbed and cut to 160 characters, so a list can say what a run was asked to do without reading content. Absent means no input text is recorded for this run, which is not an empty message: the span store holds no run-level input at all, so a run with no control-plane row (a flow leg, a storeResults:false test run) has none. */
|
|
30826
|
+
inputPreview?: string | null;
|
|
30834
30827
|
/** @description Input tokens reported. */
|
|
30835
30828
|
inputTokens: number | null;
|
|
30836
30829
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -40050,7 +40043,7 @@ interface paths {
|
|
|
40050
40043
|
};
|
|
40051
40044
|
/**
|
|
40052
40045
|
* List runs
|
|
40053
|
-
* @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
|
|
40046
|
+
* @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 with `code: "run_history_unavailable"` when neither plane can serve the page, which a client renders as "no run history here" rather than as a failed read.
|
|
40054
40047
|
*/
|
|
40055
40048
|
get: {
|
|
40056
40049
|
parameters: {
|
|
@@ -40083,7 +40076,7 @@ interface paths {
|
|
|
40083
40076
|
from?: string;
|
|
40084
40077
|
/** @description Window end (ISO 8601). Defaults to now. */
|
|
40085
40078
|
to?: string;
|
|
40086
|
-
/** @description full (the default) returns every field. compact omits exactly these
|
|
40079
|
+
/** @description full (the default) returns every field. compact omits exactly these 15: stopReason, iterations, inputPreview, 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. */
|
|
40087
40080
|
view?: "compact" | "full";
|
|
40088
40081
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40089
40082
|
overlay?: "live" | "none";
|
|
@@ -40147,13 +40140,20 @@ interface paths {
|
|
|
40147
40140
|
"application/json": components["schemas"]["Error"];
|
|
40148
40141
|
};
|
|
40149
40142
|
};
|
|
40150
|
-
/** @description
|
|
40143
|
+
/** @description No plane can answer: store run reads are off for this organization and the request names a predicate the control plane cannot express */
|
|
40151
40144
|
404: {
|
|
40152
40145
|
headers: {
|
|
40153
40146
|
[name: string]: unknown;
|
|
40154
40147
|
};
|
|
40155
40148
|
content: {
|
|
40156
|
-
"application/json":
|
|
40149
|
+
"application/json": {
|
|
40150
|
+
/**
|
|
40151
|
+
* @description Neither plane can serve this page, so the caller shows "no run history" rather than a failed read. Matching on the sentence is never the contract.
|
|
40152
|
+
* @enum {string}
|
|
40153
|
+
*/
|
|
40154
|
+
code: "run_history_unavailable";
|
|
40155
|
+
error: string;
|
|
40156
|
+
};
|
|
40157
40157
|
};
|
|
40158
40158
|
};
|
|
40159
40159
|
/** @description Internal server error */
|
|
@@ -40191,7 +40191,7 @@ interface paths {
|
|
|
40191
40191
|
query?: {
|
|
40192
40192
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40193
40193
|
overlay?: "live" | "none";
|
|
40194
|
-
/** @description full (the default) returns every field. compact omits exactly these
|
|
40194
|
+
/** @description full (the default) returns every field. compact omits exactly these 15: stopReason, iterations, inputPreview, 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. */
|
|
40195
40195
|
view?: "compact" | "full";
|
|
40196
40196
|
};
|
|
40197
40197
|
header?: never;
|
|
@@ -50960,6 +50960,8 @@ interface components {
|
|
|
50960
50960
|
flowId: string | null;
|
|
50961
50961
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
50962
50962
|
inputMessages?: unknown;
|
|
50963
|
+
/** @description The run's first user message, secret-scrubbed and cut to 160 characters, so a list can say what a run was asked to do without reading content. Absent means no input text is recorded for this run, which is not an empty message: the span store holds no run-level input at all, so a run with no control-plane row (a flow leg, a storeResults:false test run) has none. */
|
|
50964
|
+
inputPreview?: string | null;
|
|
50963
50965
|
/** @description Input tokens reported. */
|
|
50964
50966
|
inputTokens: number | null;
|
|
50965
50967
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -57914,6 +57916,12 @@ interface RunListRow {
|
|
|
57914
57916
|
test: boolean | null;
|
|
57915
57917
|
stopReason?: string | null;
|
|
57916
57918
|
iterations?: number | null;
|
|
57919
|
+
/**
|
|
57920
|
+
* The run's first user message, secret-scrubbed and bounded. Absent means no
|
|
57921
|
+
* input text is recorded for the run, which is not an empty message: a run
|
|
57922
|
+
* with no control-plane row carries none.
|
|
57923
|
+
*/
|
|
57924
|
+
inputPreview?: string | null;
|
|
57917
57925
|
/** Overlay fields. Absent means the overlay did not answer, never `false`. */
|
|
57918
57926
|
agentVersionId?: string | null;
|
|
57919
57927
|
agentVersionLabel?: string | null;
|
package/dist/index.mjs
CHANGED
|
@@ -13931,7 +13931,7 @@ function transformQueryParams(params) {
|
|
|
13931
13931
|
|
|
13932
13932
|
// src/version.ts
|
|
13933
13933
|
var FALLBACK_VERSION = "0.0.0";
|
|
13934
|
-
var SDK_VERSION = "10.1.
|
|
13934
|
+
var SDK_VERSION = "10.1.2".length > 0 ? "10.1.2" : FALLBACK_VERSION;
|
|
13935
13935
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
13936
13936
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
13937
13937
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.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.
|
|
27
|
+
"@runtypelabs/shared": "3.57.3",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsup": "^8.0.2",
|
|
30
30
|
"typescript": "^6.0.3",
|