@runtypelabs/sdk 10.1.1 → 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 -5
- package/dist/index.d.ts +22 -5
- 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
|
@@ -30822,6 +30822,8 @@ interface paths {
|
|
|
30822
30822
|
flowId: string | null;
|
|
30823
30823
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
30824
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;
|
|
30825
30827
|
/** @description Input tokens reported. */
|
|
30826
30828
|
inputTokens: number | null;
|
|
30827
30829
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -40041,7 +40043,7 @@ interface paths {
|
|
|
40041
40043
|
};
|
|
40042
40044
|
/**
|
|
40043
40045
|
* 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
|
|
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.
|
|
40045
40047
|
*/
|
|
40046
40048
|
get: {
|
|
40047
40049
|
parameters: {
|
|
@@ -40074,7 +40076,7 @@ interface paths {
|
|
|
40074
40076
|
from?: string;
|
|
40075
40077
|
/** @description Window end (ISO 8601). Defaults to now. */
|
|
40076
40078
|
to?: string;
|
|
40077
|
-
/** @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. */
|
|
40078
40080
|
view?: "compact" | "full";
|
|
40079
40081
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40080
40082
|
overlay?: "live" | "none";
|
|
@@ -40138,13 +40140,20 @@ interface paths {
|
|
|
40138
40140
|
"application/json": components["schemas"]["Error"];
|
|
40139
40141
|
};
|
|
40140
40142
|
};
|
|
40141
|
-
/** @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 */
|
|
40142
40144
|
404: {
|
|
40143
40145
|
headers: {
|
|
40144
40146
|
[name: string]: unknown;
|
|
40145
40147
|
};
|
|
40146
40148
|
content: {
|
|
40147
|
-
"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
|
+
};
|
|
40148
40157
|
};
|
|
40149
40158
|
};
|
|
40150
40159
|
/** @description Internal server error */
|
|
@@ -40182,7 +40191,7 @@ interface paths {
|
|
|
40182
40191
|
query?: {
|
|
40183
40192
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40184
40193
|
overlay?: "live" | "none";
|
|
40185
|
-
/** @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. */
|
|
40186
40195
|
view?: "compact" | "full";
|
|
40187
40196
|
};
|
|
40188
40197
|
header?: never;
|
|
@@ -50951,6 +50960,8 @@ interface components {
|
|
|
50951
50960
|
flowId: string | null;
|
|
50952
50961
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
50953
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;
|
|
50954
50965
|
/** @description Input tokens reported. */
|
|
50955
50966
|
inputTokens: number | null;
|
|
50956
50967
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -57905,6 +57916,12 @@ interface RunListRow {
|
|
|
57905
57916
|
test: boolean | null;
|
|
57906
57917
|
stopReason?: string | null;
|
|
57907
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;
|
|
57908
57925
|
/** Overlay fields. Absent means the overlay did not answer, never `false`. */
|
|
57909
57926
|
agentVersionId?: string | null;
|
|
57910
57927
|
agentVersionLabel?: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -30822,6 +30822,8 @@ interface paths {
|
|
|
30822
30822
|
flowId: string | null;
|
|
30823
30823
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
30824
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;
|
|
30825
30827
|
/** @description Input tokens reported. */
|
|
30826
30828
|
inputTokens: number | null;
|
|
30827
30829
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -40041,7 +40043,7 @@ interface paths {
|
|
|
40041
40043
|
};
|
|
40042
40044
|
/**
|
|
40043
40045
|
* 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
|
|
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.
|
|
40045
40047
|
*/
|
|
40046
40048
|
get: {
|
|
40047
40049
|
parameters: {
|
|
@@ -40074,7 +40076,7 @@ interface paths {
|
|
|
40074
40076
|
from?: string;
|
|
40075
40077
|
/** @description Window end (ISO 8601). Defaults to now. */
|
|
40076
40078
|
to?: string;
|
|
40077
|
-
/** @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. */
|
|
40078
40080
|
view?: "compact" | "full";
|
|
40079
40081
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40080
40082
|
overlay?: "live" | "none";
|
|
@@ -40138,13 +40140,20 @@ interface paths {
|
|
|
40138
40140
|
"application/json": components["schemas"]["Error"];
|
|
40139
40141
|
};
|
|
40140
40142
|
};
|
|
40141
|
-
/** @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 */
|
|
40142
40144
|
404: {
|
|
40143
40145
|
headers: {
|
|
40144
40146
|
[name: string]: unknown;
|
|
40145
40147
|
};
|
|
40146
40148
|
content: {
|
|
40147
|
-
"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
|
+
};
|
|
40148
40157
|
};
|
|
40149
40158
|
};
|
|
40150
40159
|
/** @description Internal server error */
|
|
@@ -40182,7 +40191,7 @@ interface paths {
|
|
|
40182
40191
|
query?: {
|
|
40183
40192
|
/** @description live adds control-plane fields; defaults to live for a session, none for an API key. */
|
|
40184
40193
|
overlay?: "live" | "none";
|
|
40185
|
-
/** @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. */
|
|
40186
40195
|
view?: "compact" | "full";
|
|
40187
40196
|
};
|
|
40188
40197
|
header?: never;
|
|
@@ -50951,6 +50960,8 @@ interface components {
|
|
|
50951
50960
|
flowId: string | null;
|
|
50952
50961
|
/** @description Messages the run started from. Absent means the overlay did not answer, which is not false and not null. */
|
|
50953
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;
|
|
50954
50965
|
/** @description Input tokens reported. */
|
|
50955
50966
|
inputTokens: number | null;
|
|
50956
50967
|
/** @description Loop iterations from the terminal frame. */
|
|
@@ -57905,6 +57916,12 @@ interface RunListRow {
|
|
|
57905
57916
|
test: boolean | null;
|
|
57906
57917
|
stopReason?: string | null;
|
|
57907
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;
|
|
57908
57925
|
/** Overlay fields. Absent means the overlay did not answer, never `false`. */
|
|
57909
57926
|
agentVersionId?: string | null;
|
|
57910
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.57.
|
|
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",
|