@botpress/adk-cli 1.11.2 → 1.11.3
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 +15 -10
- package/dist/commands.json +2 -2
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -348574,7 +348574,7 @@ var init_internal = __esm(() => {
|
|
|
348574
348574
|
});
|
|
348575
348575
|
init_define_PACKAGE_VERSIONS = __esm2({
|
|
348576
348576
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
348577
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.11.
|
|
348577
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.11.3", adk: "1.11.3", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
348578
348578
|
}
|
|
348579
348579
|
});
|
|
348580
348580
|
init_asset = __esm2({
|
|
@@ -654980,7 +654980,7 @@ var init_library2 = __esm(() => {
|
|
|
654980
654980
|
});
|
|
654981
654981
|
init_define_PACKAGE_VERSIONS2 = __esm4({
|
|
654982
654982
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
654983
|
-
define_PACKAGE_VERSIONS_default2 = { runtime: "1.11.
|
|
654983
|
+
define_PACKAGE_VERSIONS_default2 = { runtime: "1.11.3", adk: "1.11.3", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
654984
654984
|
}
|
|
654985
654985
|
});
|
|
654986
654986
|
init_assets2 = __esm4({
|
|
@@ -697371,6 +697371,10 @@ class Auth {
|
|
|
697371
697371
|
const { profile = "default", apiUrl = "https://api.botpress.cloud" } = options;
|
|
697372
697372
|
const authService = new AuthService(apiUrl);
|
|
697373
697373
|
const authResult = await authService.validateToken(token);
|
|
697374
|
+
try {
|
|
697375
|
+
const client = new Nx({ apiUrl, token });
|
|
697376
|
+
await client.setAccountPreference({ key: "adkCliConnected", value: true });
|
|
697377
|
+
} catch {}
|
|
697374
697378
|
await this.credentialsManager.saveCredentials(profile, {
|
|
697375
697379
|
token,
|
|
697376
697380
|
apiUrl,
|
|
@@ -699796,7 +699800,7 @@ class AgentProjectGenerator {
|
|
|
699796
699800
|
deploy: "adk deploy"
|
|
699797
699801
|
},
|
|
699798
699802
|
dependencies: {
|
|
699799
|
-
"@botpress/runtime": "^1.11.
|
|
699803
|
+
"@botpress/runtime": "^1.11.3"
|
|
699800
699804
|
},
|
|
699801
699805
|
devDependencies: {
|
|
699802
699806
|
typescript: "^5.9.3"
|
|
@@ -704044,7 +704048,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
|
|
|
704044
704048
|
`));
|
|
704045
704049
|
return code;
|
|
704046
704050
|
}
|
|
704047
|
-
}, ADK_VERSION = "1.11.
|
|
704051
|
+
}, ADK_VERSION = "1.11.3", relative22 = (from, to3) => {
|
|
704048
704052
|
const fromDir = path102.dirname(from);
|
|
704049
704053
|
const relative32 = path102.relative(fromDir, to3);
|
|
704050
704054
|
return relative32.startsWith(".") ? relative32 : `./${relative32}`;
|
|
@@ -704116,6 +704120,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
|
|
|
704116
704120
|
var init_dist17 = __esm(() => {
|
|
704117
704121
|
init_dist6();
|
|
704118
704122
|
init_dist5();
|
|
704123
|
+
init_dist5();
|
|
704119
704124
|
init_execa();
|
|
704120
704125
|
init_execa();
|
|
704121
704126
|
init_execa();
|
|
@@ -704259,7 +704264,7 @@ var init_dist17 = __esm(() => {
|
|
|
704259
704264
|
require_package3 = __commonJS7((exports7, module) => {
|
|
704260
704265
|
module.exports = {
|
|
704261
704266
|
name: "@botpress/adk",
|
|
704262
|
-
version: "1.11.
|
|
704267
|
+
version: "1.11.3",
|
|
704263
704268
|
description: "Core ADK library for building AI agents on Botpress",
|
|
704264
704269
|
type: "module",
|
|
704265
704270
|
main: "dist/index.js",
|
|
@@ -704306,7 +704311,7 @@ var init_dist17 = __esm(() => {
|
|
|
704306
704311
|
"@botpress/cli": "^4.27.3",
|
|
704307
704312
|
"@botpress/client": "^1.27.2",
|
|
704308
704313
|
"@botpress/cognitive": "^0.2.0",
|
|
704309
|
-
"@botpress/runtime": "^1.11.
|
|
704314
|
+
"@botpress/runtime": "^1.11.3",
|
|
704310
704315
|
"@botpress/sdk": "^4.18.1",
|
|
704311
704316
|
"@bpinternal/jex": "^1.2.4",
|
|
704312
704317
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -710853,7 +710858,7 @@ var init_Separator = __esm(async () => {
|
|
|
710853
710858
|
var require_package4 = __commonJS((exports7, module) => {
|
|
710854
710859
|
module.exports = {
|
|
710855
710860
|
name: "@botpress/adk",
|
|
710856
|
-
version: "1.11.
|
|
710861
|
+
version: "1.11.3",
|
|
710857
710862
|
description: "Core ADK library for building AI agents on Botpress",
|
|
710858
710863
|
type: "module",
|
|
710859
710864
|
main: "dist/index.js",
|
|
@@ -710900,7 +710905,7 @@ var require_package4 = __commonJS((exports7, module) => {
|
|
|
710900
710905
|
"@botpress/cli": "^4.27.3",
|
|
710901
710906
|
"@botpress/client": "^1.27.2",
|
|
710902
710907
|
"@botpress/cognitive": "^0.2.0",
|
|
710903
|
-
"@botpress/runtime": "^1.11.
|
|
710908
|
+
"@botpress/runtime": "^1.11.3",
|
|
710904
710909
|
"@botpress/sdk": "^4.18.1",
|
|
710905
710910
|
"@bpinternal/jex": "^1.2.4",
|
|
710906
710911
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -712847,7 +712852,7 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
712847
712852
|
`));
|
|
712848
712853
|
}
|
|
712849
712854
|
}
|
|
712850
|
-
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.
|
|
712855
|
+
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.3";
|
|
712851
712856
|
var init_runtime_version_check = __esm(() => {
|
|
712852
712857
|
init_source();
|
|
712853
712858
|
semver2 = __toESM(require_semver2(), 1);
|
|
@@ -906538,7 +906543,7 @@ if (!checkNodeVersion(true)) {
|
|
|
906538
906543
|
checkNodeVersion(false);
|
|
906539
906544
|
process.exit(1);
|
|
906540
906545
|
}
|
|
906541
|
-
var CLI_VERSION = "1.11.
|
|
906546
|
+
var CLI_VERSION = "1.11.3";
|
|
906542
906547
|
if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
|
|
906543
906548
|
try {
|
|
906544
906549
|
const __filename2 = fileURLToPath14(import.meta.url);
|
package/dist/commands.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/adk-cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.3",
|
|
4
4
|
"description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"url": "https://github.com/botpress/adk"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@botpress/adk": "^1.11.
|
|
44
|
+
"@botpress/adk": "^1.11.3",
|
|
45
45
|
"@botpress/cli": "^4.27.3",
|
|
46
|
-
"@botpress/runtime": "^1.11.
|
|
46
|
+
"@botpress/runtime": "^1.11.3",
|
|
47
47
|
"@botpress/webchat-client": "^0.4.0",
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
49
49
|
"adm-zip": "^0.5.16",
|