@botpress/adk-cli 1.7.9 → 1.7.10

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/cli.js CHANGED
@@ -346924,7 +346924,7 @@ var init_internal = __esm(() => {
346924
346924
  });
346925
346925
  init_define_PACKAGE_VERSIONS = __esm2({
346926
346926
  "<define:__PACKAGE_VERSIONS__>"() {
346927
- define_PACKAGE_VERSIONS_default = { runtime: "1.7.9", adk: "1.7.9", sdk: "4.19.0", llmz: "0.0.31", zai: "2.5.0", cognitive: "0.2.0" };
346927
+ define_PACKAGE_VERSIONS_default = { runtime: "1.7.10", adk: "1.7.10", sdk: "4.19.0", llmz: "0.0.31", zai: "2.5.0", cognitive: "0.2.0" };
346928
346928
  }
346929
346929
  });
346930
346930
  init_globalThis = __esm2({
@@ -627003,7 +627003,7 @@ class AgentProjectGenerator {
627003
627003
  deploy: "adk deploy"
627004
627004
  },
627005
627005
  dependencies: {
627006
- "@botpress/runtime": "^1.7.9"
627006
+ "@botpress/runtime": "^1.7.10"
627007
627007
  },
627008
627008
  devDependencies: {
627009
627009
  typescript: "^5.9.3"
@@ -629603,7 +629603,7 @@ var import_ts_morph, __defProp9, __export7 = (target, all4) => {
629603
629603
  `));
629604
629604
  return code;
629605
629605
  }
629606
- }, ADK_VERSION = "1.7.9", relative2 = (from, to3) => {
629606
+ }, ADK_VERSION = "1.7.10", relative2 = (from, to3) => {
629607
629607
  const fromDir = path10.dirname(from);
629608
629608
  const relative32 = path10.relative(fromDir, to3);
629609
629609
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -636236,7 +636236,7 @@ var init_Separator = __esm(async () => {
636236
636236
  var require_package3 = __commonJS((exports, module) => {
636237
636237
  module.exports = {
636238
636238
  name: "@botpress/adk",
636239
- version: "1.7.9",
636239
+ version: "1.7.10",
636240
636240
  description: "Core ADK library for building AI agents on Botpress",
636241
636241
  type: "module",
636242
636242
  main: "dist/index.js",
@@ -636283,7 +636283,7 @@ var require_package3 = __commonJS((exports, module) => {
636283
636283
  "@botpress/cli": "^4.23",
636284
636284
  "@botpress/client": "^1.27.0",
636285
636285
  "@botpress/cognitive": "^0.2.0",
636286
- "@botpress/runtime": "^1.7.9",
636286
+ "@botpress/runtime": "^1.7.10",
636287
636287
  "@botpress/sdk": "^4.18.1",
636288
636288
  "@bpinternal/yargs-extra": "^0.0.21",
636289
636289
  "@parcel/watcher": "^2.5.1",
@@ -637672,7 +637672,7 @@ function checkRuntimeVersion(agentRoot) {
637672
637672
  `));
637673
637673
  }
637674
637674
  }
637675
- var semver2, EXPECTED_RUNTIME_VERSION = "1.7.9";
637675
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.7.10";
637676
637676
  var init_runtime_version_check = __esm(() => {
637677
637677
  init_source();
637678
637678
  semver2 = __toESM(require_semver2(), 1);
@@ -653225,7 +653225,7 @@ var {
653225
653225
  } = import__.default;
653226
653226
 
653227
653227
  // src/cli.ts
653228
- import { readFileSync as readFileSync15 } from "fs";
653228
+ import { readFileSync as readFileSync15, existsSync as existsSync17 } from "fs";
653229
653229
  import { join as join18, dirname as dirname3 } from "path";
653230
653230
  import { fileURLToPath as fileURLToPath9 } from "url";
653231
653231
 
@@ -653468,7 +653468,9 @@ if (!checkNodeVersion(true)) {
653468
653468
  }
653469
653469
  var __filename2 = fileURLToPath9(import.meta.url);
653470
653470
  var __dirname5 = dirname3(__filename2);
653471
- var CLI_VERSION = "1.7.9";
653471
+ var packageJsonPath = existsSync17(join18(__dirname5, "package.json")) ? join18(__dirname5, "package.json") : join18(__dirname5, "../package.json");
653472
+ var packageJson = JSON.parse(readFileSync15(packageJsonPath, "utf-8"));
653473
+ var CLI_VERSION = packageJson.version;
653472
653474
  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({
653473
653475
  formatHelp: () => formatHelp(program, CLI_VERSION)
653474
653476
  });
@@ -0,0 +1,3 @@
1
+ {
2
+ "version": "1.7.10"
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk-cli",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
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.9",
43
+ "@botpress/adk": "^1.7.10",
44
44
  "@botpress/cli": "^4.23",
45
- "@botpress/runtime": "^1.7.9",
45
+ "@botpress/runtime": "^1.7.10",
46
46
  "adm-zip": "^0.5.16",
47
47
  "chalk": "^5.4.1",
48
48
  "clipboardy": "^4.0.0",