@runtypelabs/sdk 9.17.1 → 9.17.3

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 CHANGED
@@ -14110,7 +14110,7 @@ function transformQueryParams(params) {
14110
14110
 
14111
14111
  // src/version.ts
14112
14112
  var FALLBACK_VERSION = "0.0.0";
14113
- var SDK_VERSION = "9.17.1".length > 0 ? "9.17.1" : FALLBACK_VERSION;
14113
+ var SDK_VERSION = "9.17.3".length > 0 ? "9.17.3" : FALLBACK_VERSION;
14114
14114
  var RUNTYPE_CLIENT_KIND = "sdk";
14115
14115
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
14116
14116
 
package/dist/index.d.cts CHANGED
@@ -4351,6 +4351,8 @@ interface paths {
4351
4351
  includeCount?: string;
4352
4352
  status?: "queued" | "running" | "paused" | "completed" | "failed" | "cancelled" | "interrupted";
4353
4353
  surfaceType?: string;
4354
+ /** @description Only runs recorded with this agent source; `external` selects runs ingested from outside Runtype (OTLP / compatibility ingest). */
4355
+ agentSource?: "saved" | "inline" | "dynamic" | "external";
4354
4356
  from?: string;
4355
4357
  to?: string;
4356
4358
  parentExecutionId?: string;
@@ -26298,6 +26300,8 @@ interface paths {
26298
26300
  query?: {
26299
26301
  /** @description Max results (default 100, max 100) */
26300
26302
  limit?: string;
26303
+ /** @description Messages to skip before the page (default 0) */
26304
+ offset?: string;
26301
26305
  /** @description Sort order: asc or desc (default asc) */
26302
26306
  order?: string;
26303
26307
  };
@@ -26331,6 +26335,7 @@ interface paths {
26331
26335
  } & {
26332
26336
  [key: string]: unknown;
26333
26337
  })[];
26338
+ /** @description Messages in the conversation, not in this page */
26334
26339
  totalCount: number;
26335
26340
  };
26336
26341
  };
@@ -48819,6 +48824,7 @@ interface components {
48819
48824
  createdAt?: string;
48820
48825
  /** @description Minted when omitted. Use the source system id to make an import resumable. */
48821
48826
  id?: string;
48827
+ /** @description Open key/value bag. Runtype stamps `executionId` on a turn an agent wrote; treat it as optional. */
48822
48828
  metadata?: {
48823
48829
  [key: string]: unknown;
48824
48830
  };
@@ -53045,6 +53051,8 @@ interface FlowToolConfig {
53045
53051
  flowName?: string;
53046
53052
  parameterMapping: Record<string, string>;
53047
53053
  outputMapping?: string;
53054
+ /** Flow variable to return to the model instead of the terminal step output. */
53055
+ outputVariable?: string;
53048
53056
  }
53049
53057
  interface CustomToolConfig {
53050
53058
  code: string;
@@ -53221,6 +53229,8 @@ interface RuntimeFlowToolConfig {
53221
53229
  flowName?: string;
53222
53230
  parameterMapping?: Record<string, string>;
53223
53231
  outputMapping?: string;
53232
+ /** Flow variable to return to the model instead of the terminal step output. */
53233
+ outputVariable?: string;
53224
53234
  }
53225
53235
  interface RuntimeCustomToolConfig {
53226
53236
  code: string;
@@ -59742,6 +59752,8 @@ declare class ToolsEndpoint {
59742
59752
  description: string;
59743
59753
  parameterMapping?: Record<string, string>;
59744
59754
  outputMapping?: string;
59755
+ /** Flow variable to return to the model instead of the terminal step output. */
59756
+ outputVariable?: string;
59745
59757
  }): Promise<Tool>;
59746
59758
  /**
59747
59759
  * Get all built-in tools
package/dist/index.d.ts CHANGED
@@ -4351,6 +4351,8 @@ interface paths {
4351
4351
  includeCount?: string;
4352
4352
  status?: "queued" | "running" | "paused" | "completed" | "failed" | "cancelled" | "interrupted";
4353
4353
  surfaceType?: string;
4354
+ /** @description Only runs recorded with this agent source; `external` selects runs ingested from outside Runtype (OTLP / compatibility ingest). */
4355
+ agentSource?: "saved" | "inline" | "dynamic" | "external";
4354
4356
  from?: string;
4355
4357
  to?: string;
4356
4358
  parentExecutionId?: string;
@@ -26298,6 +26300,8 @@ interface paths {
26298
26300
  query?: {
26299
26301
  /** @description Max results (default 100, max 100) */
26300
26302
  limit?: string;
26303
+ /** @description Messages to skip before the page (default 0) */
26304
+ offset?: string;
26301
26305
  /** @description Sort order: asc or desc (default asc) */
26302
26306
  order?: string;
26303
26307
  };
@@ -26331,6 +26335,7 @@ interface paths {
26331
26335
  } & {
26332
26336
  [key: string]: unknown;
26333
26337
  })[];
26338
+ /** @description Messages in the conversation, not in this page */
26334
26339
  totalCount: number;
26335
26340
  };
26336
26341
  };
@@ -48819,6 +48824,7 @@ interface components {
48819
48824
  createdAt?: string;
48820
48825
  /** @description Minted when omitted. Use the source system id to make an import resumable. */
48821
48826
  id?: string;
48827
+ /** @description Open key/value bag. Runtype stamps `executionId` on a turn an agent wrote; treat it as optional. */
48822
48828
  metadata?: {
48823
48829
  [key: string]: unknown;
48824
48830
  };
@@ -53045,6 +53051,8 @@ interface FlowToolConfig {
53045
53051
  flowName?: string;
53046
53052
  parameterMapping: Record<string, string>;
53047
53053
  outputMapping?: string;
53054
+ /** Flow variable to return to the model instead of the terminal step output. */
53055
+ outputVariable?: string;
53048
53056
  }
53049
53057
  interface CustomToolConfig {
53050
53058
  code: string;
@@ -53221,6 +53229,8 @@ interface RuntimeFlowToolConfig {
53221
53229
  flowName?: string;
53222
53230
  parameterMapping?: Record<string, string>;
53223
53231
  outputMapping?: string;
53232
+ /** Flow variable to return to the model instead of the terminal step output. */
53233
+ outputVariable?: string;
53224
53234
  }
53225
53235
  interface RuntimeCustomToolConfig {
53226
53236
  code: string;
@@ -59742,6 +59752,8 @@ declare class ToolsEndpoint {
59742
59752
  description: string;
59743
59753
  parameterMapping?: Record<string, string>;
59744
59754
  outputMapping?: string;
59755
+ /** Flow variable to return to the model instead of the terminal step output. */
59756
+ outputVariable?: string;
59745
59757
  }): Promise<Tool>;
59746
59758
  /**
59747
59759
  * Get all built-in tools
package/dist/index.mjs CHANGED
@@ -13896,7 +13896,7 @@ function transformQueryParams(params) {
13896
13896
 
13897
13897
  // src/version.ts
13898
13898
  var FALLBACK_VERSION = "0.0.0";
13899
- var SDK_VERSION = "9.17.1".length > 0 ? "9.17.1" : FALLBACK_VERSION;
13899
+ var SDK_VERSION = "9.17.3".length > 0 ? "9.17.3" : FALLBACK_VERSION;
13900
13900
  var RUNTYPE_CLIENT_KIND = "sdk";
13901
13901
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
13902
13902
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "9.17.1",
3
+ "version": "9.17.3",
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.52.3",
27
+ "@runtypelabs/shared": "3.53.2",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsup": "^8.0.2",
30
30
  "typescript": "^6.0.3",