@runtypelabs/sdk 8.0.0 → 8.0.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 +11 -7
- package/dist/index.d.ts +11 -7
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6437,7 +6437,7 @@ var Runtype = class {
|
|
|
6437
6437
|
|
|
6438
6438
|
// src/version.ts
|
|
6439
6439
|
var FALLBACK_VERSION = "0.0.0";
|
|
6440
|
-
var SDK_VERSION = "8.0.
|
|
6440
|
+
var SDK_VERSION = "8.0.2".length > 0 ? "8.0.2" : FALLBACK_VERSION;
|
|
6441
6441
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6442
6442
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6443
6443
|
|
package/dist/index.d.cts
CHANGED
|
@@ -2766,7 +2766,7 @@ interface paths {
|
|
|
2766
2766
|
};
|
|
2767
2767
|
/**
|
|
2768
2768
|
* List agent executions
|
|
2769
|
-
* @description List execution history for an agent with cursor pagination. Supports cross-agent subagent drill-down via parentExecutionId or executionId filters.
|
|
2769
|
+
* @description List execution history for an agent with cursor pagination. Rows include `finalOutput` by default; pass `view=compact` for the lighter projection that omits it and previews long strings. Supports cross-agent subagent drill-down via parentExecutionId or executionId filters.
|
|
2770
2770
|
*/
|
|
2771
2771
|
get: {
|
|
2772
2772
|
parameters: {
|
|
@@ -2780,6 +2780,8 @@ interface paths {
|
|
|
2780
2780
|
to?: string;
|
|
2781
2781
|
parentExecutionId?: string;
|
|
2782
2782
|
executionId?: string;
|
|
2783
|
+
/** @description Response representation. `full` (default) preserves complete values and includes each row's `finalOutput`; `compact` omits `finalOutput` and shortens every remaining string value longer than 100 characters to a 100-character preview followed by `…`. */
|
|
2784
|
+
view?: "full" | "compact";
|
|
2783
2785
|
};
|
|
2784
2786
|
header?: never;
|
|
2785
2787
|
path: {
|
|
@@ -2807,6 +2809,8 @@ interface paths {
|
|
|
2807
2809
|
/** @enum {string} */
|
|
2808
2810
|
executionMode: "attached" | "detached";
|
|
2809
2811
|
expiresAt: string | null;
|
|
2812
|
+
/** @description The run's final output. Present by default; omitted when `view=compact`. */
|
|
2813
|
+
finalOutput?: unknown;
|
|
2810
2814
|
id: string;
|
|
2811
2815
|
inputMessages?: unknown;
|
|
2812
2816
|
iterations: number | null;
|
|
@@ -25045,7 +25049,7 @@ interface paths {
|
|
|
25045
25049
|
"application/json": {
|
|
25046
25050
|
modelId: string;
|
|
25047
25051
|
/** @enum {string} */
|
|
25048
|
-
provider: "model" | "runtype" | "mock" | "modelsocket" | "mixlayer" | "openai" | "anthropic" | "google" | "xai" | "
|
|
25052
|
+
provider: "model" | "runtype" | "mock" | "modelsocket" | "mixlayer" | "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25049
25053
|
/** @description Credential selector: `platform`, a provider-key ID, or an organization-connection ID. For migrated model providers this stores the model reference without changing organization-wide credential policy. */
|
|
25050
25054
|
providerKeyId?: string;
|
|
25051
25055
|
/** @default {} */
|
|
@@ -25058,7 +25062,7 @@ interface paths {
|
|
|
25058
25062
|
modelMapping?: string;
|
|
25059
25063
|
};
|
|
25060
25064
|
/** @enum {string} */
|
|
25061
|
-
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "
|
|
25065
|
+
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25062
25066
|
inputCostPer1kTokens: number;
|
|
25063
25067
|
/** @default 4096 */
|
|
25064
25068
|
maxOutputTokens?: number;
|
|
@@ -25664,7 +25668,7 @@ interface paths {
|
|
|
25664
25668
|
modelMapping?: string;
|
|
25665
25669
|
};
|
|
25666
25670
|
/** @enum {string} */
|
|
25667
|
-
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "
|
|
25671
|
+
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25668
25672
|
inputCostPer1kTokens: number;
|
|
25669
25673
|
/** @default 4096 */
|
|
25670
25674
|
maxOutputTokens?: number;
|
|
@@ -33051,7 +33055,7 @@ interface paths {
|
|
|
33051
33055
|
put?: never;
|
|
33052
33056
|
/**
|
|
33053
33057
|
* Create a provider key
|
|
33054
|
-
* @description Creates a provider credential for the active account. In an organization, Braintrust and migrated model providers (currently OpenAI, Anthropic, Google, xAI, Mixlayer, Vercel AI Gateway,
|
|
33058
|
+
* @description Creates a provider credential for the active account. In an organization, Braintrust and migrated model providers (currently OpenAI, Anthropic, Google, xAI, Mixlayer, Vercel AI Gateway, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai) create organization-owned connections and return connection IDs. For OpenAI, Anthropic, Google, and xAI, isDefault=true selects organization BYOK authority; false stores the connection without changing custody. Mixlayer, Vercel AI Gateway, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai creates are always storage-only; use the organization-policy endpoint to select one explicitly. Personal accounts and providers that have not migrated retain provider-key ownership. Requires BYOK entitlement.
|
|
33055
33059
|
*/
|
|
33056
33060
|
post: {
|
|
33057
33061
|
parameters: {
|
|
@@ -33068,7 +33072,7 @@ interface paths {
|
|
|
33068
33072
|
isDefault?: boolean;
|
|
33069
33073
|
name: string;
|
|
33070
33074
|
/** @enum {string} */
|
|
33071
|
-
provider: "openai" | "anthropic" | "google" | "xai" | "
|
|
33075
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vertex" | "vertex-anthropic" | "bedrock" | "weaviate" | "vectorize" | "browser-rendering" | "tinfoil" | "vercel" | "generic-openai" | "braintrust";
|
|
33072
33076
|
settings?: {
|
|
33073
33077
|
[key: string]: unknown;
|
|
33074
33078
|
};
|
|
@@ -33264,7 +33268,7 @@ interface paths {
|
|
|
33264
33268
|
content: {
|
|
33265
33269
|
"application/json": {
|
|
33266
33270
|
/** @enum {string} */
|
|
33267
|
-
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel" | "tinfoil" | "bedrock" | "generic-openai" | "
|
|
33271
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel" | "tinfoil" | "bedrock" | "generic-openai" | "vertex" | "vertex-anthropic";
|
|
33268
33272
|
selection: {
|
|
33269
33273
|
connectionId: string;
|
|
33270
33274
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2766,7 +2766,7 @@ interface paths {
|
|
|
2766
2766
|
};
|
|
2767
2767
|
/**
|
|
2768
2768
|
* List agent executions
|
|
2769
|
-
* @description List execution history for an agent with cursor pagination. Supports cross-agent subagent drill-down via parentExecutionId or executionId filters.
|
|
2769
|
+
* @description List execution history for an agent with cursor pagination. Rows include `finalOutput` by default; pass `view=compact` for the lighter projection that omits it and previews long strings. Supports cross-agent subagent drill-down via parentExecutionId or executionId filters.
|
|
2770
2770
|
*/
|
|
2771
2771
|
get: {
|
|
2772
2772
|
parameters: {
|
|
@@ -2780,6 +2780,8 @@ interface paths {
|
|
|
2780
2780
|
to?: string;
|
|
2781
2781
|
parentExecutionId?: string;
|
|
2782
2782
|
executionId?: string;
|
|
2783
|
+
/** @description Response representation. `full` (default) preserves complete values and includes each row's `finalOutput`; `compact` omits `finalOutput` and shortens every remaining string value longer than 100 characters to a 100-character preview followed by `…`. */
|
|
2784
|
+
view?: "full" | "compact";
|
|
2783
2785
|
};
|
|
2784
2786
|
header?: never;
|
|
2785
2787
|
path: {
|
|
@@ -2807,6 +2809,8 @@ interface paths {
|
|
|
2807
2809
|
/** @enum {string} */
|
|
2808
2810
|
executionMode: "attached" | "detached";
|
|
2809
2811
|
expiresAt: string | null;
|
|
2812
|
+
/** @description The run's final output. Present by default; omitted when `view=compact`. */
|
|
2813
|
+
finalOutput?: unknown;
|
|
2810
2814
|
id: string;
|
|
2811
2815
|
inputMessages?: unknown;
|
|
2812
2816
|
iterations: number | null;
|
|
@@ -25045,7 +25049,7 @@ interface paths {
|
|
|
25045
25049
|
"application/json": {
|
|
25046
25050
|
modelId: string;
|
|
25047
25051
|
/** @enum {string} */
|
|
25048
|
-
provider: "model" | "runtype" | "mock" | "modelsocket" | "mixlayer" | "openai" | "anthropic" | "google" | "xai" | "
|
|
25052
|
+
provider: "model" | "runtype" | "mock" | "modelsocket" | "mixlayer" | "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25049
25053
|
/** @description Credential selector: `platform`, a provider-key ID, or an organization-connection ID. For migrated model providers this stores the model reference without changing organization-wide credential policy. */
|
|
25050
25054
|
providerKeyId?: string;
|
|
25051
25055
|
/** @default {} */
|
|
@@ -25058,7 +25062,7 @@ interface paths {
|
|
|
25058
25062
|
modelMapping?: string;
|
|
25059
25063
|
};
|
|
25060
25064
|
/** @enum {string} */
|
|
25061
|
-
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "
|
|
25065
|
+
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25062
25066
|
inputCostPer1kTokens: number;
|
|
25063
25067
|
/** @default 4096 */
|
|
25064
25068
|
maxOutputTokens?: number;
|
|
@@ -25664,7 +25668,7 @@ interface paths {
|
|
|
25664
25668
|
modelMapping?: string;
|
|
25665
25669
|
};
|
|
25666
25670
|
/** @enum {string} */
|
|
25667
|
-
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "
|
|
25671
|
+
executorProvider?: "openai" | "anthropic" | "google" | "xai" | "vertex" | "vertex-anthropic" | "bedrock" | "tinfoil" | "vercel" | "generic-openai";
|
|
25668
25672
|
inputCostPer1kTokens: number;
|
|
25669
25673
|
/** @default 4096 */
|
|
25670
25674
|
maxOutputTokens?: number;
|
|
@@ -33051,7 +33055,7 @@ interface paths {
|
|
|
33051
33055
|
put?: never;
|
|
33052
33056
|
/**
|
|
33053
33057
|
* Create a provider key
|
|
33054
|
-
* @description Creates a provider credential for the active account. In an organization, Braintrust and migrated model providers (currently OpenAI, Anthropic, Google, xAI, Mixlayer, Vercel AI Gateway,
|
|
33058
|
+
* @description Creates a provider credential for the active account. In an organization, Braintrust and migrated model providers (currently OpenAI, Anthropic, Google, xAI, Mixlayer, Vercel AI Gateway, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai) create organization-owned connections and return connection IDs. For OpenAI, Anthropic, Google, and xAI, isDefault=true selects organization BYOK authority; false stores the connection without changing custody. Mixlayer, Vercel AI Gateway, Tinfoil, Amazon Bedrock, Vertex AI, Vertex AI (Claude), and generic-openai creates are always storage-only; use the organization-policy endpoint to select one explicitly. Personal accounts and providers that have not migrated retain provider-key ownership. Requires BYOK entitlement.
|
|
33055
33059
|
*/
|
|
33056
33060
|
post: {
|
|
33057
33061
|
parameters: {
|
|
@@ -33068,7 +33072,7 @@ interface paths {
|
|
|
33068
33072
|
isDefault?: boolean;
|
|
33069
33073
|
name: string;
|
|
33070
33074
|
/** @enum {string} */
|
|
33071
|
-
provider: "openai" | "anthropic" | "google" | "xai" | "
|
|
33075
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vertex" | "vertex-anthropic" | "bedrock" | "weaviate" | "vectorize" | "browser-rendering" | "tinfoil" | "vercel" | "generic-openai" | "braintrust";
|
|
33072
33076
|
settings?: {
|
|
33073
33077
|
[key: string]: unknown;
|
|
33074
33078
|
};
|
|
@@ -33264,7 +33268,7 @@ interface paths {
|
|
|
33264
33268
|
content: {
|
|
33265
33269
|
"application/json": {
|
|
33266
33270
|
/** @enum {string} */
|
|
33267
|
-
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel" | "tinfoil" | "bedrock" | "generic-openai" | "
|
|
33271
|
+
provider: "openai" | "anthropic" | "google" | "xai" | "mixlayer" | "vercel" | "tinfoil" | "bedrock" | "generic-openai" | "vertex" | "vertex-anthropic";
|
|
33268
33272
|
selection: {
|
|
33269
33273
|
connectionId: string;
|
|
33270
33274
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -6249,7 +6249,7 @@ var Runtype = class {
|
|
|
6249
6249
|
|
|
6250
6250
|
// src/version.ts
|
|
6251
6251
|
var FALLBACK_VERSION = "0.0.0";
|
|
6252
|
-
var SDK_VERSION = "8.0.
|
|
6252
|
+
var SDK_VERSION = "8.0.2".length > 0 ? "8.0.2" : FALLBACK_VERSION;
|
|
6253
6253
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6254
6254
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6255
6255
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"flow-builder",
|
|
42
42
|
"llm"
|
|
43
43
|
],
|
|
44
|
-
"author": "Runtype
|
|
44
|
+
"author": "Runtype",
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|