@botpress/adk-cli 1.6.4 → 1.6.5

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.
Files changed (2) hide show
  1. package/dist/cli.js +11 -6
  2. package/package.json +3 -3
package/dist/cli.js CHANGED
@@ -319533,7 +319533,7 @@ var init_internal = __esm(() => {
319533
319533
  });
319534
319534
  init_define_PACKAGE_VERSIONS = __esm2({
319535
319535
  "<define:__PACKAGE_VERSIONS__>"() {
319536
- define_PACKAGE_VERSIONS_default = { runtime: "1.6.4", adk: "not-installed", sdk: "4.17.3", llmz: "0.0.27", zai: "2.4.0", cognitive: "0.2.0" };
319536
+ define_PACKAGE_VERSIONS_default = { runtime: "1.6.5", adk: "not-installed", sdk: "4.17.3", llmz: "0.0.27", zai: "2.4.0", cognitive: "0.2.0" };
319537
319537
  }
319538
319538
  });
319539
319539
  init_globalThis = __esm2({
@@ -355838,6 +355838,11 @@ ${iteration.status.execution_error.stack}`;
355838
355838
  }).collect());
355839
355839
  const existingFileMap = new Map(existingFiles.map((f) => [f.metadata?.[WellKnownMetadata.knowledge.URL], f]));
355840
355840
  const toRemove = existingFiles.filter((f) => !discoveredUrls.find((u2) => u2.loc === f.metadata?.[WellKnownMetadata.knowledge.URL]));
355841
+ if (existingFiles.length > 0 && toRemove.length >= existingFiles.length * 0.8) {
355842
+ console.error(`Warning: All existing files (${existingFiles.length}) are scheduled for removal. Please check if the sitemap URL is correct and the website is accessible. We will try again in 5 minutes.`);
355843
+ await step2.sleep("retry wait", 300000);
355844
+ throw new Error("Aborting sync due to potential misconfiguration (all files to be removed)");
355845
+ }
355841
355846
  const toFetch = [];
355842
355847
  let skippedUnchanged = 0;
355843
355848
  for (const url22 of discoveredUrls) {
@@ -371659,7 +371664,7 @@ class AgentProjectGenerator {
371659
371664
  deploy: "adk deploy"
371660
371665
  },
371661
371666
  dependencies: {
371662
- "@botpress/runtime": "^1.6.4"
371667
+ "@botpress/runtime": "^1.6.5"
371663
371668
  },
371664
371669
  devDependencies: {
371665
371670
  typescript: "^5.0.0"
@@ -380866,7 +380871,7 @@ var init_Separator = __esm(async () => {
380866
380871
  var require_package3 = __commonJS((exports, module) => {
380867
380872
  module.exports = {
380868
380873
  name: "@botpress/adk",
380869
- version: "1.6.4",
380874
+ version: "1.6.5",
380870
380875
  description: "Core ADK library for building AI agents on Botpress",
380871
380876
  type: "module",
380872
380877
  main: "dist/index.js",
@@ -380913,7 +380918,7 @@ var require_package3 = __commonJS((exports, module) => {
380913
380918
  "@botpress/cli": "^4.20",
380914
380919
  "@botpress/client": "^1.27.0",
380915
380920
  "@botpress/cognitive": "^0.2.0",
380916
- "@botpress/runtime": "^1.6.4",
380921
+ "@botpress/runtime": "^1.6.5",
380917
380922
  "@botpress/sdk": "^4.17.3",
380918
380923
  "@bpinternal/yargs-extra": "^0.0.21",
380919
380924
  "@parcel/watcher": "^2.5.1",
@@ -382301,7 +382306,7 @@ function checkRuntimeVersion(agentRoot) {
382301
382306
  `));
382302
382307
  }
382303
382308
  }
382304
- var semver2, EXPECTED_RUNTIME_VERSION = "1.6.4";
382309
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.6.5";
382305
382310
  var init_runtime_version_check = __esm(() => {
382306
382311
  init_source();
382307
382312
  semver2 = __toESM(require_semver2(), 1);
@@ -397900,7 +397905,7 @@ if (!checkNodeVersion(true)) {
397900
397905
  }
397901
397906
  var __filename2 = fileURLToPath9(import.meta.url);
397902
397907
  var __dirname5 = dirname3(__filename2);
397903
- var CLI_VERSION = "1.6.4";
397908
+ var CLI_VERSION = "1.6.5";
397904
397909
  program.name("adk").description("Botpress Agent Development Kit (ADK) - CLI for building AI agents").version(CLI_VERSION).option("--no-cache", "Disable caching for integration lookups").configureHelp({
397905
397910
  formatHelp: () => formatHelp(program, CLI_VERSION)
397906
397911
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk-cli",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -40,9 +40,9 @@
40
40
  "url": "https://github.com/botpress/adk"
41
41
  },
42
42
  "dependencies": {
43
- "@botpress/adk": "^1.6.4",
43
+ "@botpress/adk": "^1.6.5",
44
44
  "@botpress/cli": "^4.20",
45
- "@botpress/runtime": "^1.6.4",
45
+ "@botpress/runtime": "^1.6.5",
46
46
  "adm-zip": "^0.5.16",
47
47
  "chalk": "^5.4.1",
48
48
  "clipboardy": "^4.0.0",