@botpress/adk-cli 1.11.3 → 1.11.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 +17 -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.4", adk: "1.11.4", 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.4", adk: "1.11.4", 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({
|
|
@@ -699800,7 +699800,7 @@ class AgentProjectGenerator {
|
|
|
699800
699800
|
deploy: "adk deploy"
|
|
699801
699801
|
},
|
|
699802
699802
|
dependencies: {
|
|
699803
|
-
"@botpress/runtime": "^1.11.
|
|
699803
|
+
"@botpress/runtime": "^1.11.4"
|
|
699804
699804
|
},
|
|
699805
699805
|
devDependencies: {
|
|
699806
699806
|
typescript: "^5.9.3"
|
|
@@ -701699,10 +701699,14 @@ declare module "@botpress/runtime/_types/state" {
|
|
|
701699
701699
|
const configData = config3 && Object.keys(config3).length > 0 ? `, configuration: ${JSON.stringify(config3)}` : "";
|
|
701700
701700
|
addIntegrations.push(`bot.addIntegration(${importName}, { alias: "${alias}", enabled: true${configType}${configData} });`);
|
|
701701
701701
|
}
|
|
701702
|
+
const botTags = {};
|
|
701702
701703
|
const userTags = {};
|
|
701703
701704
|
const conversationTags = {};
|
|
701704
701705
|
const messageTags = {};
|
|
701705
701706
|
const workflowTags = {};
|
|
701707
|
+
if (project.config?.bot?.tags) {
|
|
701708
|
+
Object.assign(botTags, project.config.bot.tags);
|
|
701709
|
+
}
|
|
701706
701710
|
if (project.config?.user?.tags) {
|
|
701707
701711
|
Object.assign(userTags, project.config.user.tags);
|
|
701708
701712
|
}
|
|
@@ -701815,6 +701819,9 @@ declare module "@botpress/runtime/_types/state" {
|
|
|
701815
701819
|
attributes: {
|
|
701816
701820
|
runtime: "adk",
|
|
701817
701821
|
runtimeVersion: "${ADK_VERSION}",
|
|
701822
|
+
${Object.keys(botTags).length > 0 ? Object.entries(botTags).map(([tag, meta]) => `${meta.description ? `// ${meta.description}
|
|
701823
|
+
` : ""}"${tag}": ${JSON.stringify(meta.title)}`).join(`,
|
|
701824
|
+
`) : ""}
|
|
701818
701825
|
},
|
|
701819
701826
|
${configSchemaCode ? `
|
|
701820
701827
|
configuration: {
|
|
@@ -704048,7 +704055,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
|
|
|
704048
704055
|
`));
|
|
704049
704056
|
return code;
|
|
704050
704057
|
}
|
|
704051
|
-
}, ADK_VERSION = "1.11.
|
|
704058
|
+
}, ADK_VERSION = "1.11.4", relative22 = (from, to3) => {
|
|
704052
704059
|
const fromDir = path102.dirname(from);
|
|
704053
704060
|
const relative32 = path102.relative(fromDir, to3);
|
|
704054
704061
|
return relative32.startsWith(".") ? relative32 : `./${relative32}`;
|
|
@@ -704264,7 +704271,7 @@ var init_dist17 = __esm(() => {
|
|
|
704264
704271
|
require_package3 = __commonJS7((exports7, module) => {
|
|
704265
704272
|
module.exports = {
|
|
704266
704273
|
name: "@botpress/adk",
|
|
704267
|
-
version: "1.11.
|
|
704274
|
+
version: "1.11.4",
|
|
704268
704275
|
description: "Core ADK library for building AI agents on Botpress",
|
|
704269
704276
|
type: "module",
|
|
704270
704277
|
main: "dist/index.js",
|
|
@@ -704311,7 +704318,7 @@ var init_dist17 = __esm(() => {
|
|
|
704311
704318
|
"@botpress/cli": "^4.27.3",
|
|
704312
704319
|
"@botpress/client": "^1.27.2",
|
|
704313
704320
|
"@botpress/cognitive": "^0.2.0",
|
|
704314
|
-
"@botpress/runtime": "^1.11.
|
|
704321
|
+
"@botpress/runtime": "^1.11.4",
|
|
704315
704322
|
"@botpress/sdk": "^4.18.1",
|
|
704316
704323
|
"@bpinternal/jex": "^1.2.4",
|
|
704317
704324
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -710858,7 +710865,7 @@ var init_Separator = __esm(async () => {
|
|
|
710858
710865
|
var require_package4 = __commonJS((exports7, module) => {
|
|
710859
710866
|
module.exports = {
|
|
710860
710867
|
name: "@botpress/adk",
|
|
710861
|
-
version: "1.11.
|
|
710868
|
+
version: "1.11.4",
|
|
710862
710869
|
description: "Core ADK library for building AI agents on Botpress",
|
|
710863
710870
|
type: "module",
|
|
710864
710871
|
main: "dist/index.js",
|
|
@@ -710905,7 +710912,7 @@ var require_package4 = __commonJS((exports7, module) => {
|
|
|
710905
710912
|
"@botpress/cli": "^4.27.3",
|
|
710906
710913
|
"@botpress/client": "^1.27.2",
|
|
710907
710914
|
"@botpress/cognitive": "^0.2.0",
|
|
710908
|
-
"@botpress/runtime": "^1.11.
|
|
710915
|
+
"@botpress/runtime": "^1.11.4",
|
|
710909
710916
|
"@botpress/sdk": "^4.18.1",
|
|
710910
710917
|
"@bpinternal/jex": "^1.2.4",
|
|
710911
710918
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -712852,7 +712859,7 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
712852
712859
|
`));
|
|
712853
712860
|
}
|
|
712854
712861
|
}
|
|
712855
|
-
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.
|
|
712862
|
+
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.4";
|
|
712856
712863
|
var init_runtime_version_check = __esm(() => {
|
|
712857
712864
|
init_source();
|
|
712858
712865
|
semver2 = __toESM(require_semver2(), 1);
|
|
@@ -906543,7 +906550,7 @@ if (!checkNodeVersion(true)) {
|
|
|
906543
906550
|
checkNodeVersion(false);
|
|
906544
906551
|
process.exit(1);
|
|
906545
906552
|
}
|
|
906546
|
-
var CLI_VERSION = "1.11.
|
|
906553
|
+
var CLI_VERSION = "1.11.4";
|
|
906547
906554
|
if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
|
|
906548
906555
|
try {
|
|
906549
906556
|
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.4",
|
|
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.4",
|
|
45
45
|
"@botpress/cli": "^4.27.3",
|
|
46
|
-
"@botpress/runtime": "^1.11.
|
|
46
|
+
"@botpress/runtime": "^1.11.4",
|
|
47
47
|
"@botpress/webchat-client": "^0.4.0",
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
49
49
|
"adm-zip": "^0.5.16",
|