@runtypelabs/sdk 10.13.0 → 10.13.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
@@ -14445,7 +14445,7 @@ function transformQueryParams(params) {
14445
14445
  }
14446
14446
  //#endregion
14447
14447
  //#region src/version.ts
14448
- const SDK_VERSION = "10.13.0";
14448
+ const SDK_VERSION = "10.13.2";
14449
14449
  /**
14450
14450
  * Canonical client identity the API uses for attribution
14451
14451
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/dist/index.d.cts CHANGED
@@ -1215,6 +1215,7 @@ interface paths {
1215
1215
  topK?: number;
1216
1216
  topP?: number;
1217
1217
  voice?: {
1218
+ disclosure?: boolean;
1218
1219
  elevenLabs?: {
1219
1220
  modelId?: string;
1220
1221
  similarity?: number;
@@ -1748,6 +1749,7 @@ interface paths {
1748
1749
  topK?: number;
1749
1750
  topP?: number;
1750
1751
  voice?: {
1752
+ disclosure?: boolean;
1751
1753
  elevenLabs?: {
1752
1754
  modelId?: string;
1753
1755
  similarity?: number;
@@ -2238,7 +2240,10 @@ interface paths {
2238
2240
  put: {
2239
2241
  parameters: {
2240
2242
  query?: never;
2241
- header?: never;
2243
+ header?: {
2244
+ /** @description The updatedAt value last loaded. A stale revision returns 409 without saving. */
2245
+ "if-match"?: string;
2246
+ };
2242
2247
  path: {
2243
2248
  id: string;
2244
2249
  };
@@ -2249,6 +2254,21 @@ interface paths {
2249
2254
  "application/json": {
2250
2255
  /** @enum {string} */
2251
2256
  agentType?: "runtype" | "external" | "claude_managed";
2257
+ /** @description Capability additions and removals committed with the definition and its draft snapshot. If-Match guards the entire save. */
2258
+ capabilityChanges?: {
2259
+ /** @default [] */
2260
+ add?: {
2261
+ enabled?: boolean;
2262
+ flowId?: string;
2263
+ parametersSchema?: unknown;
2264
+ subAgentId?: string;
2265
+ toolDescription?: string;
2266
+ toolId?: string;
2267
+ toolName: string;
2268
+ }[];
2269
+ /** @default [] */
2270
+ remove?: string[];
2271
+ };
2252
2272
  claudeManagedConfig?: {
2253
2273
  anthropicAgentId?: string;
2254
2274
  anthropicAgentVersion?: number;
@@ -2554,6 +2574,7 @@ interface paths {
2554
2574
  topK?: number;
2555
2575
  topP?: number;
2556
2576
  voice?: {
2577
+ disclosure?: boolean;
2557
2578
  elevenLabs?: {
2558
2579
  modelId?: string;
2559
2580
  similarity?: number;
@@ -2720,7 +2741,7 @@ interface paths {
2720
2741
  requested: string;
2721
2742
  supported: string[];
2722
2743
  }[];
2723
- /** @description The snapshot created by this update, or null if snapshot creation failed. Use this exact ID for save-and-publish; a null result requires another save before publishing. */
2744
+ /** @description The snapshot committed with this update, or the current draft snapshot for an unchanged definition. Save repairs a missing snapshot without changing the definition revision. Definition, capability, and snapshot failures roll back together. */
2724
2745
  savedVersionId: string | null;
2725
2746
  status: string;
2726
2747
  updatedAt: string;
@@ -2773,6 +2794,15 @@ interface paths {
2773
2794
  "application/json": components["schemas"]["Error"];
2774
2795
  };
2775
2796
  };
2797
+ /** @description The saved agent revision changed; local edits were not saved */
2798
+ 409: {
2799
+ headers: {
2800
+ [name: string]: unknown;
2801
+ };
2802
+ content: {
2803
+ "application/json": components["schemas"]["Error"];
2804
+ };
2805
+ };
2776
2806
  /** @description Internal server error */
2777
2807
  500: {
2778
2808
  headers: {
@@ -13916,6 +13946,7 @@ interface paths {
13916
13946
  topP?: number;
13917
13947
  versionId?: string;
13918
13948
  voice?: {
13949
+ disclosure?: boolean;
13919
13950
  elevenLabs?: {
13920
13951
  modelId?: string;
13921
13952
  similarity?: number;
@@ -14366,6 +14397,7 @@ interface paths {
14366
14397
  topP?: number;
14367
14398
  versionId?: string;
14368
14399
  voice?: {
14400
+ disclosure?: boolean;
14369
14401
  elevenLabs?: {
14370
14402
  modelId?: string;
14371
14403
  similarity?: number;
@@ -52000,6 +52032,7 @@ interface components {
52000
52032
  topK?: number;
52001
52033
  topP?: number;
52002
52034
  voice?: {
52035
+ disclosure?: boolean;
52003
52036
  elevenLabs?: {
52004
52037
  modelId?: string;
52005
52038
  similarity?: number;
@@ -52779,6 +52812,7 @@ interface components {
52779
52812
  topK?: number;
52780
52813
  topP?: number;
52781
52814
  voice?: {
52815
+ disclosure?: boolean;
52782
52816
  elevenLabs?: {
52783
52817
  modelId?: string;
52784
52818
  similarity?: number;
package/dist/index.d.ts CHANGED
@@ -1215,6 +1215,7 @@ interface paths {
1215
1215
  topK?: number;
1216
1216
  topP?: number;
1217
1217
  voice?: {
1218
+ disclosure?: boolean;
1218
1219
  elevenLabs?: {
1219
1220
  modelId?: string;
1220
1221
  similarity?: number;
@@ -1748,6 +1749,7 @@ interface paths {
1748
1749
  topK?: number;
1749
1750
  topP?: number;
1750
1751
  voice?: {
1752
+ disclosure?: boolean;
1751
1753
  elevenLabs?: {
1752
1754
  modelId?: string;
1753
1755
  similarity?: number;
@@ -2238,7 +2240,10 @@ interface paths {
2238
2240
  put: {
2239
2241
  parameters: {
2240
2242
  query?: never;
2241
- header?: never;
2243
+ header?: {
2244
+ /** @description The updatedAt value last loaded. A stale revision returns 409 without saving. */
2245
+ "if-match"?: string;
2246
+ };
2242
2247
  path: {
2243
2248
  id: string;
2244
2249
  };
@@ -2249,6 +2254,21 @@ interface paths {
2249
2254
  "application/json": {
2250
2255
  /** @enum {string} */
2251
2256
  agentType?: "runtype" | "external" | "claude_managed";
2257
+ /** @description Capability additions and removals committed with the definition and its draft snapshot. If-Match guards the entire save. */
2258
+ capabilityChanges?: {
2259
+ /** @default [] */
2260
+ add?: {
2261
+ enabled?: boolean;
2262
+ flowId?: string;
2263
+ parametersSchema?: unknown;
2264
+ subAgentId?: string;
2265
+ toolDescription?: string;
2266
+ toolId?: string;
2267
+ toolName: string;
2268
+ }[];
2269
+ /** @default [] */
2270
+ remove?: string[];
2271
+ };
2252
2272
  claudeManagedConfig?: {
2253
2273
  anthropicAgentId?: string;
2254
2274
  anthropicAgentVersion?: number;
@@ -2554,6 +2574,7 @@ interface paths {
2554
2574
  topK?: number;
2555
2575
  topP?: number;
2556
2576
  voice?: {
2577
+ disclosure?: boolean;
2557
2578
  elevenLabs?: {
2558
2579
  modelId?: string;
2559
2580
  similarity?: number;
@@ -2720,7 +2741,7 @@ interface paths {
2720
2741
  requested: string;
2721
2742
  supported: string[];
2722
2743
  }[];
2723
- /** @description The snapshot created by this update, or null if snapshot creation failed. Use this exact ID for save-and-publish; a null result requires another save before publishing. */
2744
+ /** @description The snapshot committed with this update, or the current draft snapshot for an unchanged definition. Save repairs a missing snapshot without changing the definition revision. Definition, capability, and snapshot failures roll back together. */
2724
2745
  savedVersionId: string | null;
2725
2746
  status: string;
2726
2747
  updatedAt: string;
@@ -2773,6 +2794,15 @@ interface paths {
2773
2794
  "application/json": components["schemas"]["Error"];
2774
2795
  };
2775
2796
  };
2797
+ /** @description The saved agent revision changed; local edits were not saved */
2798
+ 409: {
2799
+ headers: {
2800
+ [name: string]: unknown;
2801
+ };
2802
+ content: {
2803
+ "application/json": components["schemas"]["Error"];
2804
+ };
2805
+ };
2776
2806
  /** @description Internal server error */
2777
2807
  500: {
2778
2808
  headers: {
@@ -13916,6 +13946,7 @@ interface paths {
13916
13946
  topP?: number;
13917
13947
  versionId?: string;
13918
13948
  voice?: {
13949
+ disclosure?: boolean;
13919
13950
  elevenLabs?: {
13920
13951
  modelId?: string;
13921
13952
  similarity?: number;
@@ -14366,6 +14397,7 @@ interface paths {
14366
14397
  topP?: number;
14367
14398
  versionId?: string;
14368
14399
  voice?: {
14400
+ disclosure?: boolean;
14369
14401
  elevenLabs?: {
14370
14402
  modelId?: string;
14371
14403
  similarity?: number;
@@ -52000,6 +52032,7 @@ interface components {
52000
52032
  topK?: number;
52001
52033
  topP?: number;
52002
52034
  voice?: {
52035
+ disclosure?: boolean;
52003
52036
  elevenLabs?: {
52004
52037
  modelId?: string;
52005
52038
  similarity?: number;
@@ -52779,6 +52812,7 @@ interface components {
52779
52812
  topK?: number;
52780
52813
  topP?: number;
52781
52814
  voice?: {
52815
+ disclosure?: boolean;
52782
52816
  elevenLabs?: {
52783
52817
  modelId?: string;
52784
52818
  similarity?: number;
package/dist/index.mjs CHANGED
@@ -14444,7 +14444,7 @@ function transformQueryParams(params) {
14444
14444
  }
14445
14445
  //#endregion
14446
14446
  //#region src/version.ts
14447
- const SDK_VERSION = "10.13.0";
14447
+ const SDK_VERSION = "10.13.2";
14448
14448
  /**
14449
14449
  * Canonical client identity the API uses for attribution
14450
14450
  * (`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": "10.13.0",
3
+ "version": "10.13.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.74.0",
27
+ "@runtypelabs/shared": "3.75.1",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.0",
30
30
  "typescript": "^6.0.3",