@runtypelabs/sdk 8.0.3 → 9.0.0

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
@@ -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.3".length > 0 ? "8.0.3" : FALLBACK_VERSION;
6440
+ var SDK_VERSION = "9.0.0".length > 0 ? "9.0.0" : 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
@@ -7771,6 +7771,8 @@ interface paths {
7771
7771
  requestBody: {
7772
7772
  content: {
7773
7773
  "application/json": {
7774
+ /** @description Id for the assistant message this resumed leg produces. The leg's completion is persisted to the conversation, so sending the id the client already uses locally makes a later re-send of that same message deduplicate exactly instead of by text. Optional and backward compatible. */
7775
+ assistantMessageId?: string;
7774
7776
  clientTools?: {
7775
7777
  description: string;
7776
7778
  name: string;
@@ -41667,6 +41669,8 @@ interface paths {
41667
41669
  } | null;
41668
41670
  name: string;
41669
41671
  productId: string;
41672
+ /** @description Name of the product this surface belongs to. Non-nullable: the list query inner-joins products (so a surface with no product cannot appear) and products.name is NOT NULL. Present so a cross-product picker can disambiguate two surfaces that share a name. */
41673
+ productName: string;
41670
41674
  status: string;
41671
41675
  type: string;
41672
41676
  updatedAt: string;
@@ -41987,7 +41991,7 @@ interface paths {
41987
41991
  };
41988
41992
  toolType: string;
41989
41993
  updatedAt: string;
41990
- userId: string;
41994
+ userId: string | null;
41991
41995
  validation?: {
41992
41996
  warnings: {
41993
41997
  code: string;
@@ -42485,7 +42489,7 @@ interface paths {
42485
42489
  };
42486
42490
  toolType: string;
42487
42491
  updatedAt: string;
42488
- userId: string;
42492
+ userId: string | null;
42489
42493
  validation?: {
42490
42494
  warnings: {
42491
42495
  code: string;
@@ -43085,7 +43089,7 @@ interface paths {
43085
43089
  };
43086
43090
  toolType: string;
43087
43091
  updatedAt: string;
43088
- userId: string;
43092
+ userId: string | null;
43089
43093
  };
43090
43094
  };
43091
43095
  };
@@ -43178,7 +43182,7 @@ interface paths {
43178
43182
  };
43179
43183
  toolType: string;
43180
43184
  updatedAt: string;
43181
- userId: string;
43185
+ userId: string | null;
43182
43186
  validation?: {
43183
43187
  warnings: {
43184
43188
  code: string;
package/dist/index.d.ts CHANGED
@@ -7771,6 +7771,8 @@ interface paths {
7771
7771
  requestBody: {
7772
7772
  content: {
7773
7773
  "application/json": {
7774
+ /** @description Id for the assistant message this resumed leg produces. The leg's completion is persisted to the conversation, so sending the id the client already uses locally makes a later re-send of that same message deduplicate exactly instead of by text. Optional and backward compatible. */
7775
+ assistantMessageId?: string;
7774
7776
  clientTools?: {
7775
7777
  description: string;
7776
7778
  name: string;
@@ -41667,6 +41669,8 @@ interface paths {
41667
41669
  } | null;
41668
41670
  name: string;
41669
41671
  productId: string;
41672
+ /** @description Name of the product this surface belongs to. Non-nullable: the list query inner-joins products (so a surface with no product cannot appear) and products.name is NOT NULL. Present so a cross-product picker can disambiguate two surfaces that share a name. */
41673
+ productName: string;
41670
41674
  status: string;
41671
41675
  type: string;
41672
41676
  updatedAt: string;
@@ -41987,7 +41991,7 @@ interface paths {
41987
41991
  };
41988
41992
  toolType: string;
41989
41993
  updatedAt: string;
41990
- userId: string;
41994
+ userId: string | null;
41991
41995
  validation?: {
41992
41996
  warnings: {
41993
41997
  code: string;
@@ -42485,7 +42489,7 @@ interface paths {
42485
42489
  };
42486
42490
  toolType: string;
42487
42491
  updatedAt: string;
42488
- userId: string;
42492
+ userId: string | null;
42489
42493
  validation?: {
42490
42494
  warnings: {
42491
42495
  code: string;
@@ -43085,7 +43089,7 @@ interface paths {
43085
43089
  };
43086
43090
  toolType: string;
43087
43091
  updatedAt: string;
43088
- userId: string;
43092
+ userId: string | null;
43089
43093
  };
43090
43094
  };
43091
43095
  };
@@ -43178,7 +43182,7 @@ interface paths {
43178
43182
  };
43179
43183
  toolType: string;
43180
43184
  updatedAt: string;
43181
- userId: string;
43185
+ userId: string | null;
43182
43186
  validation?: {
43183
43187
  warnings: {
43184
43188
  code: string;
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.3".length > 0 ? "8.0.3" : FALLBACK_VERSION;
6252
+ var SDK_VERSION = "9.0.0".length > 0 ? "9.0.0" : 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",
3
+ "version": "9.0.0",
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",