@botpress/cognitive 0.4.2 → 0.4.4

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.
@@ -1,19 +1,19 @@
1
1
 
2
- > @botpress/cognitive@0.4.2 build /home/runner/work/botpress/botpress/packages/cognitive
2
+ > @botpress/cognitive@0.4.4 build /home/runner/work/botpress/botpress/packages/cognitive
3
3
  > pnpm build:type && pnpm build:neutral && size-limit
4
4
 
5
5
 
6
- > @botpress/cognitive@0.4.2 build:type /home/runner/work/botpress/botpress/packages/cognitive
6
+ > @botpress/cognitive@0.4.4 build:type /home/runner/work/botpress/botpress/packages/cognitive
7
7
  > tsup --tsconfig tsconfig.build.json ./src/index.ts --dts-resolve --dts-only --clean
8
8
 
9
9
  CLI Building entry: ./src/index.ts
10
10
  CLI Using tsconfig: tsconfig.build.json
11
11
  CLI tsup v8.0.2
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 6937ms
14
- DTS dist/index.d.ts 669.97 KB
13
+ DTS ⚡️ Build success in 6485ms
14
+ DTS dist/index.d.ts 670.61 KB
15
15
 
16
- > @botpress/cognitive@0.4.2 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
16
+ > @botpress/cognitive@0.4.4 build:neutral /home/runner/work/botpress/botpress/packages/cognitive
17
17
  > ts-node -T ./build.ts --neutral
18
18
 
19
19
  Done
package/dist/index.d.ts CHANGED
@@ -6827,6 +6827,10 @@ interface CreateBotRequestBody {
6827
6827
  * Indicates if the [Bot](#schema_bot) is a development bot; Development bots run locally and can install dev integrations
6828
6828
  */
6829
6829
  dev?: boolean;
6830
+ /**
6831
+ * Type of the [Bot](#schema_bot)
6832
+ */
6833
+ type?: "studio" | "adk" | "desk";
6830
6834
  }
6831
6835
  type CreateBotInput = CreateBotRequestBody & CreateBotRequestHeaders & CreateBotRequestQuery & CreateBotRequestParams;
6832
6836
  interface CreateBotResponse {
@@ -7246,6 +7250,10 @@ interface CreateBotResponse {
7246
7250
  */
7247
7251
  name: string;
7248
7252
  }[];
7253
+ /**
7254
+ * Type of the [Bot](#schema_bot)
7255
+ */
7256
+ type: "studio" | "adk" | "desk";
7249
7257
  };
7250
7258
  }
7251
7259
 
@@ -7517,6 +7525,10 @@ interface UpdateBotRequestBody {
7517
7525
  * UNUSED. Please ignore this field. It will be removed in the near future.
7518
7526
  */
7519
7527
  shouldMergePlugins?: boolean;
7528
+ /**
7529
+ * Type of the [Bot](#schema_bot)
7530
+ */
7531
+ type?: "studio" | "adk" | "desk";
7520
7532
  }
7521
7533
  type UpdateBotInput = UpdateBotRequestBody & UpdateBotRequestHeaders & UpdateBotRequestQuery & UpdateBotRequestParams;
7522
7534
  interface UpdateBotResponse {
@@ -7936,6 +7948,10 @@ interface UpdateBotResponse {
7936
7948
  */
7937
7949
  name: string;
7938
7950
  }[];
7951
+ /**
7952
+ * Type of the [Bot](#schema_bot)
7953
+ */
7954
+ type: "studio" | "adk" | "desk";
7939
7955
  };
7940
7956
  }
7941
7957
 
@@ -8011,6 +8027,10 @@ interface ListBotsResponse {
8011
8027
  tags: {
8012
8028
  [k: string]: string;
8013
8029
  };
8030
+ /**
8031
+ * Type of the [Bot](#schema_bot)
8032
+ */
8033
+ type: "studio" | "adk" | "desk";
8014
8034
  }[];
8015
8035
  meta: {
8016
8036
  /**
@@ -8448,6 +8468,10 @@ interface GetBotResponse {
8448
8468
  */
8449
8469
  name: string;
8450
8470
  }[];
8471
+ /**
8472
+ * Type of the [Bot](#schema_bot)
8473
+ */
8474
+ type: "studio" | "adk" | "desk";
8451
8475
  };
8452
8476
  }
8453
8477
 
@@ -19060,6 +19084,7 @@ declare class Client extends Client$1 implements IClient {
19060
19084
  tags: {
19061
19085
  [k: string]: string;
19062
19086
  };
19087
+ type: "studio" | "adk" | "desk";
19063
19088
  }>;
19064
19089
  botIssues: (props: {
19065
19090
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/cognitive",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Wrapper around the Botpress Client to call LLMs",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",