@botpress/adk-cli 1.13.12 → 1.13.13

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
@@ -735512,7 +735512,7 @@ class AgentProjectGenerator {
735512
735512
  deploy: "adk deploy"
735513
735513
  },
735514
735514
  dependencies: {
735515
- "@botpress/runtime": "^1.13.12"
735515
+ "@botpress/runtime": "^1.13.13"
735516
735516
  },
735517
735517
  devDependencies: {
735518
735518
  typescript: "^5.9.3"
@@ -740203,7 +740203,7 @@ var import_debug, import_debug2, import_ts_morph, __defProp11, __commonJS8 = (cb
740203
740203
  `));
740204
740204
  return code;
740205
740205
  }
740206
- }, ADK_VERSION = "1.13.12", relative22 = (from, to2) => {
740206
+ }, ADK_VERSION = "1.13.13", relative22 = (from, to2) => {
740207
740207
  const fromDir = path102.dirname(from);
740208
740208
  const relative32 = path102.relative(fromDir, to2);
740209
740209
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -741750,7 +741750,7 @@ var init_dist15 = __esm(() => {
741750
741750
  require_package3 = __commonJS8((exports7, module) => {
741751
741751
  module.exports = {
741752
741752
  name: "@botpress/adk",
741753
- version: "1.13.12",
741753
+ version: "1.13.13",
741754
741754
  description: "Core ADK library for building AI agents on Botpress",
741755
741755
  type: "module",
741756
741756
  main: "dist/index.js",
@@ -741797,7 +741797,7 @@ var init_dist15 = __esm(() => {
741797
741797
  "@botpress/cli": "^5.1.1",
741798
741798
  "@botpress/client": "^1.28.0",
741799
741799
  "@botpress/cognitive": "^0.3.3",
741800
- "@botpress/runtime": "^1.13.12",
741800
+ "@botpress/runtime": "^1.13.13",
741801
741801
  "@botpress/sdk": "^5.0.2",
741802
741802
  "@bpinternal/jex": "^1.2.4",
741803
741803
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -748403,7 +748403,7 @@ var init_Separator = __esm(async () => {
748403
748403
  var require_package4 = __commonJS((exports7, module) => {
748404
748404
  module.exports = {
748405
748405
  name: "@botpress/adk",
748406
- version: "1.13.12",
748406
+ version: "1.13.13",
748407
748407
  description: "Core ADK library for building AI agents on Botpress",
748408
748408
  type: "module",
748409
748409
  main: "dist/index.js",
@@ -748450,7 +748450,7 @@ var require_package4 = __commonJS((exports7, module) => {
748450
748450
  "@botpress/cli": "^5.1.1",
748451
748451
  "@botpress/client": "^1.28.0",
748452
748452
  "@botpress/cognitive": "^0.3.3",
748453
- "@botpress/runtime": "^1.13.12",
748453
+ "@botpress/runtime": "^1.13.13",
748454
748454
  "@botpress/sdk": "^5.0.2",
748455
748455
  "@bpinternal/jex": "^1.2.4",
748456
748456
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -750392,7 +750392,7 @@ function checkRuntimeVersion(agentRoot) {
750392
750392
  `));
750393
750393
  }
750394
750394
  }
750395
- var semver2, EXPECTED_RUNTIME_VERSION = "1.13.12", SUPPORTED_RUNTIME_RANGE = ">=1.13.0";
750395
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.13.13", SUPPORTED_RUNTIME_RANGE = ">=1.13.0";
750396
750396
  var init_runtime_version_check = __esm(() => {
750397
750397
  init_source();
750398
750398
  semver2 = __toESM(require_semver2(), 1);
@@ -774343,7 +774343,7 @@ var init_internal2 = __esm(() => {
774343
774343
  });
774344
774344
  init_define_PACKAGE_VERSIONS4 = __esm7({
774345
774345
  "<define:__PACKAGE_VERSIONS__>"() {
774346
- define_PACKAGE_VERSIONS_default4 = { runtime: "1.13.12", adk: "1.13.12", sdk: "5.0.2", llmz: "0.0.37", zai: "2.5.6", cognitive: "0.3.3" };
774346
+ define_PACKAGE_VERSIONS_default4 = { runtime: "1.13.13", adk: "1.13.13", sdk: "5.0.2", llmz: "0.0.37", zai: "2.5.6", cognitive: "0.3.3" };
774347
774347
  }
774348
774348
  });
774349
774349
  init_asset4 = __esm7({
@@ -809840,7 +809840,8 @@ yield <Message>
809840
809840
  toFetch.push(url22);
809841
809841
  } else {
809842
809842
  const existingMetadata = existing.metadata;
809843
- if (url22.lastmod && existingMetadata?.lastmod !== url22.lastmod) {
809843
+ const isFailed = existing.status === "indexing_failed" || existing.status === "upload_failed" || existing.status === "upload_pending";
809844
+ if (isFailed || url22.lastmod && existingMetadata?.lastmod !== url22.lastmod) {
809844
809845
  toFetch.push(url22);
809845
809846
  } else {
809846
809847
  skippedUnchanged++;
@@ -815545,11 +815546,14 @@ globstar while`, file, fr4, pattern, pr3, swallowee);
815545
815546
  const content = await fs33.readFile(local.abs);
815546
815547
  const hash = crypto23.createHash("sha256").update(content).digest("hex");
815547
815548
  const { file } = await client22.getFile({ id: key }).catch(() => ({ file: null }));
815548
- if (!input.force && file?.metadata?.hash === hash) {
815549
+ const isFailed = file?.status === "indexing_failed" || file?.status === "upload_failed" || file?.status === "upload_pending";
815550
+ if (!input.force && !isFailed && file?.metadata?.hash === hash) {
815549
815551
  console.log(`Skipping unchanged file: ${local.rel}`);
815550
815552
  return null;
815551
815553
  }
815552
- if (input.force && file?.metadata?.hash === hash) {
815554
+ if (isFailed) {
815555
+ console.log(`Re-indexing failed file (status: ${file?.status}): ${local.rel}`);
815556
+ } else if (input.force && file?.metadata?.hash === hash) {
815553
815557
  console.log(`Force re-indexing file (unchanged): ${local.rel}`);
815554
815558
  }
815555
815559
  const title3 = path53.basename(local.name, path53.extname(local.name));
@@ -988876,7 +988880,7 @@ if (!checkNodeVersion(true)) {
988876
988880
  checkNodeVersion(false);
988877
988881
  process.exit(1);
988878
988882
  }
988879
- var CLI_VERSION = "1.13.12";
988883
+ var CLI_VERSION = "1.13.13";
988880
988884
  if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
988881
988885
  try {
988882
988886
  const __filename2 = fileURLToPath16(import.meta.url);
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.13.12",
3
- "generatedAt": "2025-12-30T01:15:35.250Z",
2
+ "version": "1.13.13",
3
+ "generatedAt": "2025-12-31T00:17:30.669Z",
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.12",
3
+ "version": "1.13.13",
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.12",
44
+ "@botpress/adk": "^1.13.13",
45
45
  "@botpress/cli": "^5.1.1",
46
46
  "@botpress/client": "^1.28.0",
47
- "@botpress/runtime": "^1.13.12",
47
+ "@botpress/runtime": "^1.13.13",
48
48
  "@botpress/sdk": "^5.0.2",
49
49
  "@botpress/webchat-client": "^0.4.0",
50
50
  "@modelcontextprotocol/sdk": "^1.25.1",