@runtypelabs/sdk 8.0.2 → 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.2".length > 0 ? "8.0.2" : 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;
@@ -20050,6 +20052,11 @@ interface paths {
20050
20052
  };
20051
20053
  content: {
20052
20054
  "application/json": {
20055
+ /**
20056
+ * @description Coarse hint set when a pending request looks stuck because the platform's Telegram manager webhook is unhealthy.
20057
+ * @enum {string}
20058
+ */
20059
+ diagnostic?: "manager_webhook_unhealthy";
20053
20060
  status: string;
20054
20061
  } & {
20055
20062
  [key: string]: unknown;
@@ -41662,6 +41669,8 @@ interface paths {
41662
41669
  } | null;
41663
41670
  name: string;
41664
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;
41665
41674
  status: string;
41666
41675
  type: string;
41667
41676
  updatedAt: string;
@@ -41982,7 +41991,7 @@ interface paths {
41982
41991
  };
41983
41992
  toolType: string;
41984
41993
  updatedAt: string;
41985
- userId: string;
41994
+ userId: string | null;
41986
41995
  validation?: {
41987
41996
  warnings: {
41988
41997
  code: string;
@@ -42480,7 +42489,7 @@ interface paths {
42480
42489
  };
42481
42490
  toolType: string;
42482
42491
  updatedAt: string;
42483
- userId: string;
42492
+ userId: string | null;
42484
42493
  validation?: {
42485
42494
  warnings: {
42486
42495
  code: string;
@@ -43080,7 +43089,7 @@ interface paths {
43080
43089
  };
43081
43090
  toolType: string;
43082
43091
  updatedAt: string;
43083
- userId: string;
43092
+ userId: string | null;
43084
43093
  };
43085
43094
  };
43086
43095
  };
@@ -43173,7 +43182,7 @@ interface paths {
43173
43182
  };
43174
43183
  toolType: string;
43175
43184
  updatedAt: string;
43176
- userId: string;
43185
+ userId: string | null;
43177
43186
  validation?: {
43178
43187
  warnings: {
43179
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;
@@ -20050,6 +20052,11 @@ interface paths {
20050
20052
  };
20051
20053
  content: {
20052
20054
  "application/json": {
20055
+ /**
20056
+ * @description Coarse hint set when a pending request looks stuck because the platform's Telegram manager webhook is unhealthy.
20057
+ * @enum {string}
20058
+ */
20059
+ diagnostic?: "manager_webhook_unhealthy";
20053
20060
  status: string;
20054
20061
  } & {
20055
20062
  [key: string]: unknown;
@@ -41662,6 +41669,8 @@ interface paths {
41662
41669
  } | null;
41663
41670
  name: string;
41664
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;
41665
41674
  status: string;
41666
41675
  type: string;
41667
41676
  updatedAt: string;
@@ -41982,7 +41991,7 @@ interface paths {
41982
41991
  };
41983
41992
  toolType: string;
41984
41993
  updatedAt: string;
41985
- userId: string;
41994
+ userId: string | null;
41986
41995
  validation?: {
41987
41996
  warnings: {
41988
41997
  code: string;
@@ -42480,7 +42489,7 @@ interface paths {
42480
42489
  };
42481
42490
  toolType: string;
42482
42491
  updatedAt: string;
42483
- userId: string;
42492
+ userId: string | null;
42484
42493
  validation?: {
42485
42494
  warnings: {
42486
42495
  code: string;
@@ -43080,7 +43089,7 @@ interface paths {
43080
43089
  };
43081
43090
  toolType: string;
43082
43091
  updatedAt: string;
43083
- userId: string;
43092
+ userId: string | null;
43084
43093
  };
43085
43094
  };
43086
43095
  };
@@ -43173,7 +43182,7 @@ interface paths {
43173
43182
  };
43174
43183
  toolType: string;
43175
43184
  updatedAt: string;
43176
- userId: string;
43185
+ userId: string | null;
43177
43186
  validation?: {
43178
43187
  warnings: {
43179
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.2".length > 0 ? "8.0.2" : 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.2",
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",