@botpress/adk-cli 1.13.4 → 1.13.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.
package/dist/cli.js CHANGED
@@ -351735,7 +351735,7 @@ var init_internal = __esm(() => {
351735
351735
  });
351736
351736
  init_define_PACKAGE_VERSIONS = __esm2({
351737
351737
  "<define:__PACKAGE_VERSIONS__>"() {
351738
- define_PACKAGE_VERSIONS_default = { runtime: "1.13.4", adk: "1.13.4", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
351738
+ define_PACKAGE_VERSIONS_default = { runtime: "1.13.5", adk: "1.13.5", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
351739
351739
  }
351740
351740
  });
351741
351741
  init_asset = __esm2({
@@ -658518,7 +658518,7 @@ var init_library2 = __esm(() => {
658518
658518
  });
658519
658519
  init_define_PACKAGE_VERSIONS2 = __esm4({
658520
658520
  "<define:__PACKAGE_VERSIONS__>"() {
658521
- define_PACKAGE_VERSIONS_default2 = { runtime: "1.13.4", adk: "1.13.4", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
658521
+ define_PACKAGE_VERSIONS_default2 = { runtime: "1.13.5", adk: "1.13.5", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
658522
658522
  }
658523
658523
  });
658524
658524
  init_assets2 = __esm4({
@@ -701387,15 +701387,18 @@ function rebuildMappings(lines, sourceIndexMap, nameIndexMap) {
701387
701387
  }
701388
701388
  const segments = [];
701389
701389
  for (const segment of line.segments) {
701390
+ if (segment.sourceIndex !== undefined) {
701391
+ const newSourceIndex = sourceIndexMap.get(segment.sourceIndex);
701392
+ if (newSourceIndex === undefined) {
701393
+ continue;
701394
+ }
701395
+ }
701390
701396
  const parts = [];
701391
701397
  const colDelta = segment.column - prevColumn;
701392
701398
  parts.push(encodeVLQ(colDelta));
701393
701399
  prevColumn = segment.column;
701394
701400
  if (segment.sourceIndex !== undefined) {
701395
701401
  const newSourceIndex = sourceIndexMap.get(segment.sourceIndex);
701396
- if (newSourceIndex === undefined) {
701397
- continue;
701398
- }
701399
701402
  const srcDelta = newSourceIndex - prevSourceIndex;
701400
701403
  parts.push(encodeVLQ(srcDelta));
701401
701404
  prevSourceIndex = newSourceIndex;
@@ -703676,7 +703679,7 @@ class AgentProjectGenerator {
703676
703679
  deploy: "adk deploy"
703677
703680
  },
703678
703681
  dependencies: {
703679
- "@botpress/runtime": "^1.13.4"
703682
+ "@botpress/runtime": "^1.13.5"
703680
703683
  },
703681
703684
  devDependencies: {
703682
703685
  typescript: "^5.9.3"
@@ -708185,7 +708188,7 @@ var import_debug, import_debug2, import_ts_morph, __defProp11, __commonJS8 = (cb
708185
708188
  `));
708186
708189
  return code;
708187
708190
  }
708188
- }, ADK_VERSION = "1.13.4", relative22 = (from, to3) => {
708191
+ }, ADK_VERSION = "1.13.5", relative22 = (from, to3) => {
708189
708192
  const fromDir = path102.dirname(from);
708190
708193
  const relative32 = path102.relative(fromDir, to3);
708191
708194
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -709665,7 +709668,7 @@ var init_dist17 = __esm(() => {
709665
709668
  require_package3 = __commonJS8((exports7, module) => {
709666
709669
  module.exports = {
709667
709670
  name: "@botpress/adk",
709668
- version: "1.13.4",
709671
+ version: "1.13.5",
709669
709672
  description: "Core ADK library for building AI agents on Botpress",
709670
709673
  type: "module",
709671
709674
  main: "dist/index.js",
@@ -709712,7 +709715,7 @@ var init_dist17 = __esm(() => {
709712
709715
  "@botpress/cli": "^5.1.1",
709713
709716
  "@botpress/client": "^1.28.0",
709714
709717
  "@botpress/cognitive": "^0.3.3",
709715
- "@botpress/runtime": "^1.13.4",
709718
+ "@botpress/runtime": "^1.13.5",
709716
709719
  "@botpress/sdk": "^5.0.2",
709717
709720
  "@bpinternal/jex": "^1.2.4",
709718
709721
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -716317,7 +716320,7 @@ var init_Separator = __esm(async () => {
716317
716320
  var require_package4 = __commonJS((exports7, module) => {
716318
716321
  module.exports = {
716319
716322
  name: "@botpress/adk",
716320
- version: "1.13.4",
716323
+ version: "1.13.5",
716321
716324
  description: "Core ADK library for building AI agents on Botpress",
716322
716325
  type: "module",
716323
716326
  main: "dist/index.js",
@@ -716364,7 +716367,7 @@ var require_package4 = __commonJS((exports7, module) => {
716364
716367
  "@botpress/cli": "^5.1.1",
716365
716368
  "@botpress/client": "^1.28.0",
716366
716369
  "@botpress/cognitive": "^0.3.3",
716367
- "@botpress/runtime": "^1.13.4",
716370
+ "@botpress/runtime": "^1.13.5",
716368
716371
  "@botpress/sdk": "^5.0.2",
716369
716372
  "@bpinternal/jex": "^1.2.4",
716370
716373
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -718306,7 +718309,7 @@ function checkRuntimeVersion(agentRoot) {
718306
718309
  `));
718307
718310
  }
718308
718311
  }
718309
- var semver2, EXPECTED_RUNTIME_VERSION = "1.13.4", SUPPORTED_RUNTIME_RANGE = ">=1.13.0";
718312
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.13.5", SUPPORTED_RUNTIME_RANGE = ">=1.13.0";
718310
718313
  var init_runtime_version_check = __esm(() => {
718311
718314
  init_source();
718312
718315
  semver2 = __toESM(require_semver2(), 1);
@@ -895213,7 +895216,7 @@ if (!checkNodeVersion(true)) {
895213
895216
  checkNodeVersion(false);
895214
895217
  process.exit(1);
895215
895218
  }
895216
- var CLI_VERSION = "1.13.4";
895219
+ var CLI_VERSION = "1.13.5";
895217
895220
  if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
895218
895221
  try {
895219
895222
  const __filename2 = fileURLToPath14(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.13.4",
3
- "generatedAt": "2025-12-19T02:27:04.526Z",
2
+ "version": "1.13.5",
3
+ "generatedAt": "2025-12-19T03:36:26.565Z",
4
4
  "cliName": "adk",
5
5
  "globalOptions": [
6
6
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk-cli",
3
- "version": "1.13.4",
3
+ "version": "1.13.5",
4
4
  "description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,10 +41,10 @@
41
41
  "url": "https://github.com/botpress/adk"
42
42
  },
43
43
  "dependencies": {
44
- "@botpress/adk": "^1.13.4",
44
+ "@botpress/adk": "^1.13.5",
45
45
  "@botpress/cli": "^5.1.1",
46
46
  "@botpress/client": "^1.28.0",
47
- "@botpress/runtime": "^1.13.4",
47
+ "@botpress/runtime": "^1.13.5",
48
48
  "@botpress/sdk": "^5.0.2",
49
49
  "@botpress/webchat-client": "^0.4.0",
50
50
  "@modelcontextprotocol/sdk": "^1.25.1",