@botpress/adk-cli 1.7.17 → 1.7.18

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 +17 -10
  2. package/package.json +3 -3
package/dist/cli.js CHANGED
@@ -351552,7 +351552,7 @@ var init_internal = __esm(() => {
351552
351552
  });
351553
351553
  init_define_PACKAGE_VERSIONS = __esm2({
351554
351554
  "<define:__PACKAGE_VERSIONS__>"() {
351555
- define_PACKAGE_VERSIONS_default = { runtime: "1.7.17", adk: "1.7.17", sdk: "4.19.0", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
351555
+ define_PACKAGE_VERSIONS_default = { runtime: "1.7.18", adk: "1.7.18", sdk: "4.19.0", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
351556
351556
  }
351557
351557
  });
351558
351558
  init_globalThis = __esm2({
@@ -631735,7 +631735,7 @@ class AgentProjectGenerator {
631735
631735
  deploy: "adk deploy"
631736
631736
  },
631737
631737
  dependencies: {
631738
- "@botpress/runtime": "^1.7.17"
631738
+ "@botpress/runtime": "^1.7.18"
631739
631739
  },
631740
631740
  devDependencies: {
631741
631741
  typescript: "^5.9.3"
@@ -634963,7 +634963,7 @@ var import_ts_morph, __defProp9, __commonJS5 = (cb5, mod) => () => (mod || cb5((
634963
634963
  `));
634964
634964
  return code;
634965
634965
  }
634966
- }, ADK_VERSION = "1.7.17", relative2 = (from, to3) => {
634966
+ }, ADK_VERSION = "1.7.18", relative2 = (from, to3) => {
634967
634967
  const fromDir = path10.dirname(from);
634968
634968
  const relative32 = path10.relative(fromDir, to3);
634969
634969
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -635161,7 +635161,7 @@ var init_dist16 = __esm(() => {
635161
635161
  require_package3 = __commonJS5((exports, module) => {
635162
635162
  module.exports = {
635163
635163
  name: "@botpress/adk",
635164
- version: "1.7.17",
635164
+ version: "1.7.18",
635165
635165
  description: "Core ADK library for building AI agents on Botpress",
635166
635166
  type: "module",
635167
635167
  main: "dist/index.js",
@@ -635208,7 +635208,7 @@ var init_dist16 = __esm(() => {
635208
635208
  "@botpress/cli": "^4.23",
635209
635209
  "@botpress/client": "^1.27.2",
635210
635210
  "@botpress/cognitive": "^0.2.0",
635211
- "@botpress/runtime": "^1.7.17",
635211
+ "@botpress/runtime": "^1.7.18",
635212
635212
  "@botpress/sdk": "^4.18.1",
635213
635213
  "@bpinternal/yargs-extra": "^0.0.21",
635214
635214
  "@parcel/watcher": "^2.5.1",
@@ -641687,7 +641687,7 @@ var init_Separator = __esm(async () => {
641687
641687
  var require_package4 = __commonJS((exports, module) => {
641688
641688
  module.exports = {
641689
641689
  name: "@botpress/adk",
641690
- version: "1.7.17",
641690
+ version: "1.7.18",
641691
641691
  description: "Core ADK library for building AI agents on Botpress",
641692
641692
  type: "module",
641693
641693
  main: "dist/index.js",
@@ -641734,7 +641734,7 @@ var require_package4 = __commonJS((exports, module) => {
641734
641734
  "@botpress/cli": "^4.23",
641735
641735
  "@botpress/client": "^1.27.2",
641736
641736
  "@botpress/cognitive": "^0.2.0",
641737
- "@botpress/runtime": "^1.7.17",
641737
+ "@botpress/runtime": "^1.7.18",
641738
641738
  "@botpress/sdk": "^4.18.1",
641739
641739
  "@bpinternal/yargs-extra": "^0.0.21",
641740
641740
  "@parcel/watcher": "^2.5.1",
@@ -643210,7 +643210,7 @@ function checkRuntimeVersion(agentRoot) {
643210
643210
  `));
643211
643211
  }
643212
643212
  }
643213
- var semver2, EXPECTED_RUNTIME_VERSION = "1.7.17";
643213
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.7.18";
643214
643214
  var init_runtime_version_check = __esm(() => {
643215
643215
  init_source();
643216
643216
  semver2 = __toESM(require_semver2(), 1);
@@ -659429,8 +659429,15 @@ if (!checkNodeVersion(true)) {
659429
659429
  checkNodeVersion(false);
659430
659430
  process.exit(1);
659431
659431
  }
659432
- var CLI_VERSION = "1.7.17";
659433
-
659432
+ var CLI_VERSION = "1.7.18";
659433
+ if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
659434
+ try {
659435
+ const __filename2 = fileURLToPath9(import.meta.url);
659436
+ const __dirname5 = dirname4(__filename2);
659437
+ const packageJson = JSON.parse(readFileSync16(join19(__dirname5, "../package.json"), "utf-8"));
659438
+ CLI_VERSION = packageJson.version;
659439
+ } catch {}
659440
+ }
659434
659441
  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({
659435
659442
  formatHelp: () => formatHelp(program, CLI_VERSION)
659436
659443
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk-cli",
3
- "version": "1.7.17",
3
+ "version": "1.7.18",
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.7.17",
43
+ "@botpress/adk": "^1.7.18",
44
44
  "@botpress/cli": "^4.23",
45
- "@botpress/runtime": "^1.7.17",
45
+ "@botpress/runtime": "^1.7.18",
46
46
  "adm-zip": "^0.5.16",
47
47
  "chalk": "^5.4.1",
48
48
  "clipboardy": "^4.0.0",