@botpress/adk-cli 1.10.2 → 1.10.4

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
@@ -352010,7 +352010,7 @@ var init_internal = __esm(() => {
352010
352010
  });
352011
352011
  init_define_PACKAGE_VERSIONS = __esm2({
352012
352012
  "<define:__PACKAGE_VERSIONS__>"() {
352013
- define_PACKAGE_VERSIONS_default = { runtime: "1.10.2", adk: "1.10.2", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
352013
+ define_PACKAGE_VERSIONS_default = { runtime: "1.10.4", adk: "1.10.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
352014
352014
  }
352015
352015
  });
352016
352016
  init_asset = __esm2({
@@ -658306,7 +658306,7 @@ var init_library2 = __esm(() => {
658306
658306
  });
658307
658307
  init_define_PACKAGE_VERSIONS2 = __esm4({
658308
658308
  "<define:__PACKAGE_VERSIONS__>"() {
658309
- define_PACKAGE_VERSIONS_default2 = { runtime: "1.10.2", adk: "1.10.2", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
658309
+ define_PACKAGE_VERSIONS_default2 = { runtime: "1.10.4", adk: "1.10.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
658310
658310
  }
658311
658311
  });
658312
658312
  init_assets2 = __esm4({
@@ -703011,7 +703011,7 @@ class AgentProjectGenerator {
703011
703011
  deploy: "adk deploy"
703012
703012
  },
703013
703013
  dependencies: {
703014
- "@botpress/runtime": "^1.10.2"
703014
+ "@botpress/runtime": "^1.10.4"
703015
703015
  },
703016
703016
  devDependencies: {
703017
703017
  typescript: "^5.9.3"
@@ -707131,7 +707131,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
707131
707131
  `));
707132
707132
  return code;
707133
707133
  }
707134
- }, ADK_VERSION = "1.10.2", relative22 = (from, to3) => {
707134
+ }, ADK_VERSION = "1.10.4", relative22 = (from, to3) => {
707135
707135
  const fromDir = path102.dirname(from);
707136
707136
  const relative32 = path102.relative(fromDir, to3);
707137
707137
  return relative32.startsWith(".") ? relative32 : `./${relative32}`;
@@ -707346,7 +707346,7 @@ var init_dist17 = __esm(() => {
707346
707346
  require_package3 = __commonJS7((exports7, module) => {
707347
707347
  module.exports = {
707348
707348
  name: "@botpress/adk",
707349
- version: "1.10.2",
707349
+ version: "1.10.4",
707350
707350
  description: "Core ADK library for building AI agents on Botpress",
707351
707351
  type: "module",
707352
707352
  main: "dist/index.js",
@@ -707393,7 +707393,7 @@ var init_dist17 = __esm(() => {
707393
707393
  "@botpress/cli": "^4.27.3",
707394
707394
  "@botpress/client": "^1.27.2",
707395
707395
  "@botpress/cognitive": "^0.2.0",
707396
- "@botpress/runtime": "^1.10.2",
707396
+ "@botpress/runtime": "^1.10.4",
707397
707397
  "@botpress/sdk": "^4.18.1",
707398
707398
  "@bpinternal/jex": "^1.2.4",
707399
707399
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -713937,7 +713937,7 @@ var init_Separator = __esm(async () => {
713937
713937
  var require_package4 = __commonJS((exports7, module) => {
713938
713938
  module.exports = {
713939
713939
  name: "@botpress/adk",
713940
- version: "1.10.2",
713940
+ version: "1.10.4",
713941
713941
  description: "Core ADK library for building AI agents on Botpress",
713942
713942
  type: "module",
713943
713943
  main: "dist/index.js",
@@ -713984,7 +713984,7 @@ var require_package4 = __commonJS((exports7, module) => {
713984
713984
  "@botpress/cli": "^4.27.3",
713985
713985
  "@botpress/client": "^1.27.2",
713986
713986
  "@botpress/cognitive": "^0.2.0",
713987
- "@botpress/runtime": "^1.10.2",
713987
+ "@botpress/runtime": "^1.10.4",
713988
713988
  "@botpress/sdk": "^4.18.1",
713989
713989
  "@bpinternal/jex": "^1.2.4",
713990
713990
  "@bpinternal/yargs-extra": "^0.0.21",
@@ -715931,7 +715931,7 @@ function checkRuntimeVersion(agentRoot) {
715931
715931
  `));
715932
715932
  }
715933
715933
  }
715934
- var semver2, EXPECTED_RUNTIME_VERSION = "1.10.2";
715934
+ var semver2, EXPECTED_RUNTIME_VERSION = "1.10.4";
715935
715935
  var init_runtime_version_check = __esm(() => {
715936
715936
  init_source();
715937
715937
  semver2 = __toESM(require_semver2(), 1);
@@ -732081,7 +732081,7 @@ function formatWelcome(version) {
732081
732081
  sections.push(` ${commandDisplay}${padding} ${descriptionText}`);
732082
732082
  }
732083
732083
  sections.push("");
732084
- sections.push(source_default.hex(theme.text.dim)("Learn more: https://docs.botpress.com"));
732084
+ sections.push(source_default.hex(theme.text.dim)("Learn more: https://www.botpress.com/docs/for-developers/adk/overview"));
732085
732085
  sections.push("");
732086
732086
  return sections.join(`
732087
732087
  `);
@@ -732257,7 +732257,7 @@ if (!checkNodeVersion(true)) {
732257
732257
  checkNodeVersion(false);
732258
732258
  process.exit(1);
732259
732259
  }
732260
- var CLI_VERSION = "1.10.2";
732260
+ var CLI_VERSION = "1.10.4";
732261
732261
  if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
732262
732262
  try {
732263
732263
  const __filename2 = fileURLToPath12(import.meta.url);
@@ -0,0 +1,503 @@
1
+ {
2
+ "version": "1.10.4",
3
+ "generatedAt": "2025-12-04T15:24:25.056Z",
4
+ "cliName": "adk",
5
+ "globalOptions": [
6
+ {
7
+ "flags": "--no-cache",
8
+ "description": "Disable caching for integration lookups"
9
+ },
10
+ {
11
+ "flags": "--version, -V",
12
+ "description": "Show version number"
13
+ },
14
+ {
15
+ "flags": "--help, -h",
16
+ "description": "Show help for command"
17
+ }
18
+ ],
19
+ "commands": [
20
+ {
21
+ "name": "add",
22
+ "fullName": "add",
23
+ "description": "Add an integration or interface to your agent",
24
+ "aliases": [
25
+ "i",
26
+ "install"
27
+ ],
28
+ "arguments": [
29
+ {
30
+ "name": "resource",
31
+ "description": "integration (e.g., slack@1.0.0) or interface (e.g., interface:translator@1.0.0)",
32
+ "required": true
33
+ }
34
+ ],
35
+ "options": [
36
+ {
37
+ "flags": "--alias <alias>",
38
+ "description": "use a custom alias for the resource"
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "name": "assets",
44
+ "fullName": "assets",
45
+ "description": "Manage agent assets and static files",
46
+ "aliases": [],
47
+ "arguments": [],
48
+ "options": []
49
+ },
50
+ {
51
+ "name": "list",
52
+ "fullName": "assets list",
53
+ "description": "List all asset files",
54
+ "aliases": [],
55
+ "arguments": [],
56
+ "options": [
57
+ {
58
+ "flags": "--local",
59
+ "description": "show only local assets"
60
+ },
61
+ {
62
+ "flags": "--remote",
63
+ "description": "show only remote assets"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "name": "pull",
69
+ "fullName": "assets pull",
70
+ "description": "Download remote assets to local directory",
71
+ "aliases": [],
72
+ "arguments": [],
73
+ "options": []
74
+ },
75
+ {
76
+ "name": "status",
77
+ "fullName": "assets status",
78
+ "description": "Show asset synchronization status",
79
+ "aliases": [],
80
+ "arguments": [],
81
+ "options": []
82
+ },
83
+ {
84
+ "name": "sync",
85
+ "fullName": "assets sync",
86
+ "description": "Synchronize assets with remote storage",
87
+ "aliases": [],
88
+ "arguments": [],
89
+ "options": [
90
+ {
91
+ "flags": "--dry-run",
92
+ "description": "preview changes without applying them"
93
+ },
94
+ {
95
+ "flags": "-y, --yes",
96
+ "description": "skip confirmation prompts"
97
+ },
98
+ {
99
+ "flags": "--bail-on-failure",
100
+ "description": "stop on first error"
101
+ },
102
+ {
103
+ "flags": "--force",
104
+ "description": "force re-upload all files"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "build",
110
+ "fullName": "build",
111
+ "description": "Build the agent for production",
112
+ "aliases": [],
113
+ "arguments": [],
114
+ "options": []
115
+ },
116
+ {
117
+ "name": "chat",
118
+ "fullName": "chat",
119
+ "description": "Chat with your agent in development mode",
120
+ "aliases": [],
121
+ "arguments": [],
122
+ "options": []
123
+ },
124
+ {
125
+ "name": "config",
126
+ "fullName": "config",
127
+ "description": "",
128
+ "aliases": [],
129
+ "arguments": [],
130
+ "options": [
131
+ {
132
+ "flags": "--prod",
133
+ "description": "use production configuration"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "name": "config:get",
139
+ "fullName": "config:get",
140
+ "description": "Get a configuration value",
141
+ "aliases": [],
142
+ "arguments": [
143
+ {
144
+ "name": "key",
145
+ "description": "configuration key",
146
+ "required": true
147
+ }
148
+ ],
149
+ "options": [
150
+ {
151
+ "flags": "--prod",
152
+ "description": "use production configuration"
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ "name": "config:set",
158
+ "fullName": "config:set",
159
+ "description": "Set a configuration value",
160
+ "aliases": [],
161
+ "arguments": [
162
+ {
163
+ "name": "key",
164
+ "description": "configuration key",
165
+ "required": true
166
+ },
167
+ {
168
+ "name": "value",
169
+ "description": "configuration value",
170
+ "required": true
171
+ }
172
+ ],
173
+ "options": [
174
+ {
175
+ "flags": "--prod",
176
+ "description": "use production configuration"
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "name": "deploy",
182
+ "fullName": "deploy",
183
+ "description": "Deploy the agent to Botpress",
184
+ "aliases": [],
185
+ "arguments": [],
186
+ "options": [
187
+ {
188
+ "flags": "-e, --env <environment>",
189
+ "description": "deployment environment",
190
+ "defaultValue": "production"
191
+ },
192
+ {
193
+ "flags": "-y, --yes",
194
+ "description": "auto-approve preflight changes without prompting"
195
+ }
196
+ ]
197
+ },
198
+ {
199
+ "name": "dev",
200
+ "fullName": "dev",
201
+ "description": "Start development mode with hot reloading",
202
+ "aliases": [],
203
+ "arguments": [],
204
+ "options": [
205
+ {
206
+ "flags": "-p, --port <port>",
207
+ "description": "port for development server",
208
+ "defaultValue": "3000"
209
+ },
210
+ {
211
+ "flags": "--port-console <port>",
212
+ "description": "port for console server",
213
+ "defaultValue": "3001"
214
+ },
215
+ {
216
+ "flags": "-l, --logs",
217
+ "description": "stream logs to stderr (CI/CLI-friendly)"
218
+ }
219
+ ]
220
+ },
221
+ {
222
+ "name": "info",
223
+ "fullName": "info",
224
+ "description": "Show detailed information about an integration",
225
+ "aliases": [],
226
+ "arguments": [
227
+ {
228
+ "name": "name",
229
+ "description": "integration name",
230
+ "required": true
231
+ }
232
+ ],
233
+ "options": [
234
+ {
235
+ "flags": "--actions",
236
+ "description": "show only actions"
237
+ },
238
+ {
239
+ "flags": "--channels",
240
+ "description": "show only channels"
241
+ },
242
+ {
243
+ "flags": "--events",
244
+ "description": "show only events"
245
+ },
246
+ {
247
+ "flags": "--full",
248
+ "description": "show all details"
249
+ },
250
+ {
251
+ "flags": "--format <format>",
252
+ "description": "output format (table, json)",
253
+ "defaultValue": "table"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "name": "init",
259
+ "fullName": "init",
260
+ "description": "Initialize a new ADK agent project",
261
+ "aliases": [],
262
+ "arguments": [
263
+ {
264
+ "name": "name",
265
+ "description": "name of the agent project",
266
+ "required": false
267
+ }
268
+ ],
269
+ "options": [
270
+ {
271
+ "flags": "-t, --template <template>",
272
+ "description": "template to use (default: blank)"
273
+ }
274
+ ]
275
+ },
276
+ {
277
+ "name": "kb",
278
+ "fullName": "kb",
279
+ "description": "Manage knowledge bases and synchronization",
280
+ "aliases": [],
281
+ "arguments": [],
282
+ "options": []
283
+ },
284
+ {
285
+ "name": "sync",
286
+ "fullName": "kb sync",
287
+ "description": "Synchronize knowledge bases with Botpress (requires --dev or --prod)",
288
+ "aliases": [],
289
+ "arguments": [],
290
+ "options": [
291
+ {
292
+ "flags": "--dev",
293
+ "description": "sync with development bot"
294
+ },
295
+ {
296
+ "flags": "--prod",
297
+ "description": "sync with production bot"
298
+ },
299
+ {
300
+ "flags": "--dry-run",
301
+ "description": "preview changes without applying them"
302
+ },
303
+ {
304
+ "flags": "-y, --yes",
305
+ "description": "skip confirmation prompts"
306
+ },
307
+ {
308
+ "flags": "--force",
309
+ "description": "force re-sync all knowledge bases"
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "name": "link",
315
+ "fullName": "link",
316
+ "description": "Link local agent to workspace and bot",
317
+ "aliases": [],
318
+ "arguments": [],
319
+ "options": [
320
+ {
321
+ "flags": "--workspace <workspaceId>",
322
+ "description": "workspace ID"
323
+ },
324
+ {
325
+ "flags": "--bot <botId>",
326
+ "description": "bot ID to link to"
327
+ },
328
+ {
329
+ "flags": "--dev <devBotId>",
330
+ "description": "dev bot ID (optional)"
331
+ },
332
+ {
333
+ "flags": "--api-url <apiUrl>",
334
+ "description": "Botpress API URL (e.g., https://api.botpress.cloud)"
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "name": "list",
340
+ "fullName": "list",
341
+ "description": "List integrations (installed or available)",
342
+ "aliases": [],
343
+ "arguments": [],
344
+ "options": [
345
+ {
346
+ "flags": "--available",
347
+ "description": "list all available integrations"
348
+ },
349
+ {
350
+ "flags": "--format <format>",
351
+ "description": "output format (table, json)",
352
+ "defaultValue": "table"
353
+ },
354
+ {
355
+ "flags": "--limit <number>",
356
+ "description": "limit number of results",
357
+ "defaultValue": "50"
358
+ }
359
+ ]
360
+ },
361
+ {
362
+ "name": "login",
363
+ "fullName": "login",
364
+ "description": "Authenticate with your Botpress account",
365
+ "aliases": [],
366
+ "arguments": [],
367
+ "options": [
368
+ {
369
+ "flags": "--token <token>",
370
+ "description": "Botpress API token"
371
+ },
372
+ {
373
+ "flags": "--profile <profile>",
374
+ "description": "profile name to use",
375
+ "defaultValue": "default"
376
+ },
377
+ {
378
+ "flags": "--api-url <url>",
379
+ "description": "Botpress API URL",
380
+ "defaultValue": "https://api.botpress.cloud"
381
+ }
382
+ ]
383
+ },
384
+ {
385
+ "name": "profiles",
386
+ "fullName": "profiles",
387
+ "description": "Manage authentication profiles",
388
+ "aliases": [],
389
+ "arguments": [],
390
+ "options": []
391
+ },
392
+ {
393
+ "name": "list",
394
+ "fullName": "profiles list",
395
+ "description": "List all configured profiles",
396
+ "aliases": [],
397
+ "arguments": [],
398
+ "options": []
399
+ },
400
+ {
401
+ "name": "set",
402
+ "fullName": "profiles set",
403
+ "description": "Switch to a different profile",
404
+ "aliases": [],
405
+ "arguments": [
406
+ {
407
+ "name": "profile",
408
+ "description": "profile name to switch to",
409
+ "required": false
410
+ }
411
+ ],
412
+ "options": []
413
+ },
414
+ {
415
+ "name": "remove",
416
+ "fullName": "remove",
417
+ "description": "Remove an integration from your agent",
418
+ "aliases": [
419
+ "rm"
420
+ ],
421
+ "arguments": [
422
+ {
423
+ "name": "integration",
424
+ "description": "integration alias to remove (interactive if not specified)",
425
+ "required": false
426
+ }
427
+ ],
428
+ "options": []
429
+ },
430
+ {
431
+ "name": "search",
432
+ "fullName": "search",
433
+ "description": "Search for integrations in the Botpress hub",
434
+ "aliases": [],
435
+ "arguments": [
436
+ {
437
+ "name": "query",
438
+ "description": "search query",
439
+ "required": true
440
+ }
441
+ ],
442
+ "options": [
443
+ {
444
+ "flags": "--format <format>",
445
+ "description": "output format (table, json)",
446
+ "defaultValue": "table"
447
+ },
448
+ {
449
+ "flags": "--limit <number>",
450
+ "description": "limit number of results",
451
+ "defaultValue": "20"
452
+ }
453
+ ]
454
+ },
455
+ {
456
+ "name": "self-upgrade",
457
+ "fullName": "self-upgrade",
458
+ "description": "Upgrade ADK CLI to the latest version",
459
+ "aliases": [
460
+ "self-update"
461
+ ],
462
+ "arguments": [],
463
+ "options": []
464
+ },
465
+ {
466
+ "name": "telemetry",
467
+ "fullName": "telemetry",
468
+ "description": "Manage telemetry preferences",
469
+ "aliases": [],
470
+ "arguments": [],
471
+ "options": [
472
+ {
473
+ "flags": "--status",
474
+ "description": "show telemetry status"
475
+ },
476
+ {
477
+ "flags": "--enable",
478
+ "description": "enable telemetry"
479
+ },
480
+ {
481
+ "flags": "--disable",
482
+ "description": "disable telemetry"
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "name": "upgrade",
488
+ "fullName": "upgrade",
489
+ "description": "Upgrade integration(s) to latest version",
490
+ "aliases": [
491
+ "up"
492
+ ],
493
+ "arguments": [
494
+ {
495
+ "name": "integration",
496
+ "description": "integration alias to upgrade (interactive if not specified)",
497
+ "required": false
498
+ }
499
+ ],
500
+ "options": []
501
+ }
502
+ ]
503
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/adk-cli",
3
- "version": "1.10.2",
3
+ "version": "1.10.4",
4
4
  "description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,6 +19,7 @@
19
19
  "dev": "bun src/cli.ts",
20
20
  "clean": "rm -rf dist",
21
21
  "prepublishOnly": "bun run clean && bun run build",
22
+ "generate:docs": "bun scripts/generate-commands-json.ts",
22
23
  "test": "vitest run",
23
24
  "test:watch": "vitest",
24
25
  "test:ui": "vitest --ui"
@@ -40,9 +41,9 @@
40
41
  "url": "https://github.com/botpress/adk"
41
42
  },
42
43
  "dependencies": {
43
- "@botpress/adk": "^1.10.2",
44
+ "@botpress/adk": "^1.10.4",
44
45
  "@botpress/cli": "^4.27.3",
45
- "@botpress/runtime": "^1.10.2",
46
+ "@botpress/runtime": "^1.10.4",
46
47
  "adm-zip": "^0.5.16",
47
48
  "chalk": "^5.4.1",
48
49
  "clipboardy": "^4.0.0",