@runtypelabs/sdk 11.22.0 → 11.22.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 CHANGED
@@ -14739,8 +14739,8 @@ async function promoteAgent(input) {
14739
14739
  const segment = encodeURIComponent;
14740
14740
  /**
14741
14741
  * Simulations tool memory and future designs (`/v1/simulations`): recorded exchanges, tool profiles,
14742
- * design previews, synthesis review, design briefs and run episodes. Pre-GA: the API answers 404 `SIMULATIONS_DISABLED`
14743
- * where simulations are not available (production today).
14742
+ * design previews, synthesis review, design briefs and run episodes. Simulations is not available on every
14743
+ * account: when it is not enabled for the account, every method fails with 404 `SIMULATIONS_DISABLED`.
14744
14744
  */
14745
14745
  var SimulationsEndpoint = class {
14746
14746
  constructor(client) {
@@ -14832,7 +14832,7 @@ function transformQueryParams(params) {
14832
14832
  return result;
14833
14833
  }
14834
14834
  // src/version.ts
14835
- const SDK_VERSION = "11.22.0";
14835
+ const SDK_VERSION = "11.22.2";
14836
14836
  /**
14837
14837
  * Canonical client identity the API uses for attribution
14838
14838
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/dist/index.d.cts CHANGED
@@ -80191,7 +80191,7 @@ interface SimulationEpisodeScore {
80191
80191
  }
80192
80192
  /** One tool call of a turn, as the layer facts keep it after the transcript expires. */
80193
80193
  interface SimulationToolCallFacts {
80194
- /** The native tool call id, when the target reported one. */
80194
+ /** The native tool call id, when the target or the operator host knew one; the transcript's `toolCallId`. */
80195
80195
  callId?: string;
80196
80196
  callIndex: number;
80197
80197
  shownName: string;
@@ -80227,6 +80227,8 @@ interface SimulationToolCallFacts {
80227
80227
  unanswered?: boolean;
80228
80228
  /** Why the synthesizer answered as it did, on a synthesized call. */
80229
80229
  rationale?: string;
80230
+ /** Why a `synthesisFailed` call's synthesis failed: the refused check, `provider error: …` or `aborted`. */
80231
+ synthesisFailure?: string;
80230
80232
  /** The frozen row of the suggestions filled into this call's designed error; `exchangeId` stays the answer's. */
80231
80233
  suggestionsExchangeId?: string | null;
80232
80234
  }
@@ -80286,8 +80288,8 @@ interface GetSimulationEpisodeResponse {
80286
80288
  }
80287
80289
  /**
80288
80290
  * Simulations tool memory and future designs (`/v1/simulations`): recorded exchanges, tool profiles,
80289
- * design previews, synthesis review, design briefs and run episodes. Pre-GA: the API answers 404 `SIMULATIONS_DISABLED`
80290
- * where simulations are not available (production today).
80291
+ * design previews, synthesis review, design briefs and run episodes. Simulations is not available on every
80292
+ * account: when it is not enabled for the account, every method fails with 404 `SIMULATIONS_DISABLED`.
80291
80293
  */
80292
80294
  export declare class SimulationsEndpoint {
80293
80295
  private client;
package/dist/index.d.ts CHANGED
@@ -80191,7 +80191,7 @@ interface SimulationEpisodeScore {
80191
80191
  }
80192
80192
  /** One tool call of a turn, as the layer facts keep it after the transcript expires. */
80193
80193
  interface SimulationToolCallFacts {
80194
- /** The native tool call id, when the target reported one. */
80194
+ /** The native tool call id, when the target or the operator host knew one; the transcript's `toolCallId`. */
80195
80195
  callId?: string;
80196
80196
  callIndex: number;
80197
80197
  shownName: string;
@@ -80227,6 +80227,8 @@ interface SimulationToolCallFacts {
80227
80227
  unanswered?: boolean;
80228
80228
  /** Why the synthesizer answered as it did, on a synthesized call. */
80229
80229
  rationale?: string;
80230
+ /** Why a `synthesisFailed` call's synthesis failed: the refused check, `provider error: …` or `aborted`. */
80231
+ synthesisFailure?: string;
80230
80232
  /** The frozen row of the suggestions filled into this call's designed error; `exchangeId` stays the answer's. */
80231
80233
  suggestionsExchangeId?: string | null;
80232
80234
  }
@@ -80286,8 +80288,8 @@ interface GetSimulationEpisodeResponse {
80286
80288
  }
80287
80289
  /**
80288
80290
  * Simulations tool memory and future designs (`/v1/simulations`): recorded exchanges, tool profiles,
80289
- * design previews, synthesis review, design briefs and run episodes. Pre-GA: the API answers 404 `SIMULATIONS_DISABLED`
80290
- * where simulations are not available (production today).
80291
+ * design previews, synthesis review, design briefs and run episodes. Simulations is not available on every
80292
+ * account: when it is not enabled for the account, every method fails with 404 `SIMULATIONS_DISABLED`.
80291
80293
  */
80292
80294
  export declare class SimulationsEndpoint {
80293
80295
  private client;
package/dist/index.mjs CHANGED
@@ -14738,8 +14738,8 @@ async function promoteAgent(input) {
14738
14738
  const segment = encodeURIComponent;
14739
14739
  /**
14740
14740
  * Simulations tool memory and future designs (`/v1/simulations`): recorded exchanges, tool profiles,
14741
- * design previews, synthesis review, design briefs and run episodes. Pre-GA: the API answers 404 `SIMULATIONS_DISABLED`
14742
- * where simulations are not available (production today).
14741
+ * design previews, synthesis review, design briefs and run episodes. Simulations is not available on every
14742
+ * account: when it is not enabled for the account, every method fails with 404 `SIMULATIONS_DISABLED`.
14743
14743
  */
14744
14744
  var SimulationsEndpoint = class {
14745
14745
  constructor(client) {
@@ -14831,7 +14831,7 @@ function transformQueryParams(params) {
14831
14831
  return result;
14832
14832
  }
14833
14833
  // src/version.ts
14834
- const SDK_VERSION = "11.22.0";
14834
+ const SDK_VERSION = "11.22.2";
14835
14835
  /**
14836
14836
  * Canonical client identity the API uses for attribution
14837
14837
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "11.22.0",
3
+ "version": "11.22.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.119.0",
27
+ "@runtypelabs/shared": "3.119.3",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.2",
30
30
  "typescript": "^6.0.3",