@botpress/adk-cli 1.12.3 → 1.12.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 +19 -13
- package/dist/commands.json +2 -2
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -348619,7 +348619,7 @@ var init_internal = __esm(() => {
|
|
|
348619
348619
|
});
|
|
348620
348620
|
init_define_PACKAGE_VERSIONS = __esm2({
|
|
348621
348621
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
348622
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.12.
|
|
348622
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.12.4", adk: "1.12.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
348623
348623
|
}
|
|
348624
348624
|
});
|
|
348625
348625
|
init_asset = __esm2({
|
|
@@ -655137,7 +655137,7 @@ var init_library2 = __esm(() => {
|
|
|
655137
655137
|
});
|
|
655138
655138
|
init_define_PACKAGE_VERSIONS2 = __esm4({
|
|
655139
655139
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
655140
|
-
define_PACKAGE_VERSIONS_default2 = { runtime: "1.12.
|
|
655140
|
+
define_PACKAGE_VERSIONS_default2 = { runtime: "1.12.4", adk: "1.12.4", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
655141
655141
|
}
|
|
655142
655142
|
});
|
|
655143
655143
|
init_assets2 = __esm4({
|
|
@@ -699425,6 +699425,12 @@ class IntegrationChecker {
|
|
|
699425
699425
|
return result;
|
|
699426
699426
|
}
|
|
699427
699427
|
}
|
|
699428
|
+
function normalizeConfigurationType(configType) {
|
|
699429
|
+
if (configType === "default" || configType === null) {
|
|
699430
|
+
return;
|
|
699431
|
+
}
|
|
699432
|
+
return configType;
|
|
699433
|
+
}
|
|
699428
699434
|
|
|
699429
699435
|
class IntegrationSyncManager {
|
|
699430
699436
|
projectPath;
|
|
@@ -699484,7 +699490,7 @@ class IntegrationSyncManager {
|
|
|
699484
699490
|
integrationId: result.desiredIntegrationId || result.definition.id,
|
|
699485
699491
|
enabled: result.desiredInstallStatus === "enabled",
|
|
699486
699492
|
configuration: result.desiredConfiguration || {},
|
|
699487
|
-
configurationType: result.desiredConfigurationType
|
|
699493
|
+
configurationType: normalizeConfigurationType(result.desiredConfigurationType)
|
|
699488
699494
|
}
|
|
699489
699495
|
}
|
|
699490
699496
|
});
|
|
@@ -699503,7 +699509,7 @@ class IntegrationSyncManager {
|
|
|
699503
699509
|
integrationId: result.desiredIntegrationId || result.definition.id,
|
|
699504
699510
|
enabled: result.desiredInstallStatus === "enabled",
|
|
699505
699511
|
configuration: result.desiredConfiguration || {},
|
|
699506
|
-
configurationType: result.desiredConfigurationType
|
|
699512
|
+
configurationType: normalizeConfigurationType(result.desiredConfigurationType)
|
|
699507
699513
|
}
|
|
699508
699514
|
}
|
|
699509
699515
|
});
|
|
@@ -700058,7 +700064,7 @@ class AgentProjectGenerator {
|
|
|
700058
700064
|
deploy: "adk deploy"
|
|
700059
700065
|
},
|
|
700060
700066
|
dependencies: {
|
|
700061
|
-
"@botpress/runtime": "^1.12.
|
|
700067
|
+
"@botpress/runtime": "^1.12.4"
|
|
700062
700068
|
},
|
|
700063
700069
|
devDependencies: {
|
|
700064
700070
|
typescript: "^5.9.3"
|
|
@@ -702024,7 +702030,7 @@ declare module "@botpress/runtime/_types/state" {
|
|
|
702024
702030
|
const { alias, configurationType, config: config3 } = integration;
|
|
702025
702031
|
const importName = `integration_${getIntegrationAlias(alias)}`;
|
|
702026
702032
|
imports.push(`import ${importName} from "./bp_modules/${importName}";`);
|
|
702027
|
-
const configType = configurationType ? `, configurationType: "${configurationType}"` : "";
|
|
702033
|
+
const configType = configurationType && configurationType !== "default" ? `, configurationType: "${configurationType}"` : "";
|
|
702028
702034
|
const configData = config3 && Object.keys(config3).length > 0 ? `, configuration: ${JSON.stringify(config3)}` : "";
|
|
702029
702035
|
addIntegrations.push(`bot.addIntegration(${importName}, { alias: "${alias}", enabled: true${configType}${configData} });`);
|
|
702030
702036
|
}
|
|
@@ -704561,7 +704567,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
|
|
|
704561
704567
|
`));
|
|
704562
704568
|
return code;
|
|
704563
704569
|
}
|
|
704564
|
-
}, ADK_VERSION = "1.12.
|
|
704570
|
+
}, ADK_VERSION = "1.12.4", relative22 = (from, to3) => {
|
|
704565
704571
|
const fromDir = path102.dirname(from);
|
|
704566
704572
|
const relative32 = path102.relative(fromDir, to3);
|
|
704567
704573
|
return relative32.startsWith(".") ? relative32 : `./${relative32}`;
|
|
@@ -706038,7 +706044,7 @@ var init_dist17 = __esm(() => {
|
|
|
706038
706044
|
require_package3 = __commonJS7((exports7, module) => {
|
|
706039
706045
|
module.exports = {
|
|
706040
706046
|
name: "@botpress/adk",
|
|
706041
|
-
version: "1.12.
|
|
706047
|
+
version: "1.12.4",
|
|
706042
706048
|
description: "Core ADK library for building AI agents on Botpress",
|
|
706043
706049
|
type: "module",
|
|
706044
706050
|
main: "dist/index.js",
|
|
@@ -706085,7 +706091,7 @@ var init_dist17 = __esm(() => {
|
|
|
706085
706091
|
"@botpress/cli": "^4.27.3",
|
|
706086
706092
|
"@botpress/client": "^1.28.0",
|
|
706087
706093
|
"@botpress/cognitive": "^0.2.0",
|
|
706088
|
-
"@botpress/runtime": "^1.12.
|
|
706094
|
+
"@botpress/runtime": "^1.12.4",
|
|
706089
706095
|
"@botpress/sdk": "^4.18.1",
|
|
706090
706096
|
"@bpinternal/jex": "^1.2.4",
|
|
706091
706097
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -712636,7 +712642,7 @@ var init_Separator = __esm(async () => {
|
|
|
712636
712642
|
var require_package4 = __commonJS((exports7, module) => {
|
|
712637
712643
|
module.exports = {
|
|
712638
712644
|
name: "@botpress/adk",
|
|
712639
|
-
version: "1.12.
|
|
712645
|
+
version: "1.12.4",
|
|
712640
712646
|
description: "Core ADK library for building AI agents on Botpress",
|
|
712641
712647
|
type: "module",
|
|
712642
712648
|
main: "dist/index.js",
|
|
@@ -712683,7 +712689,7 @@ var require_package4 = __commonJS((exports7, module) => {
|
|
|
712683
712689
|
"@botpress/cli": "^4.27.3",
|
|
712684
712690
|
"@botpress/client": "^1.28.0",
|
|
712685
712691
|
"@botpress/cognitive": "^0.2.0",
|
|
712686
|
-
"@botpress/runtime": "^1.12.
|
|
712692
|
+
"@botpress/runtime": "^1.12.4",
|
|
712687
712693
|
"@botpress/sdk": "^4.18.1",
|
|
712688
712694
|
"@bpinternal/jex": "^1.2.4",
|
|
712689
712695
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -714623,7 +714629,7 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
714623
714629
|
`));
|
|
714624
714630
|
}
|
|
714625
714631
|
}
|
|
714626
|
-
var semver2, EXPECTED_RUNTIME_VERSION = "1.12.
|
|
714632
|
+
var semver2, EXPECTED_RUNTIME_VERSION = "1.12.4", SUPPORTED_RUNTIME_RANGE = ">=1.11.0";
|
|
714627
714633
|
var init_runtime_version_check = __esm(() => {
|
|
714628
714634
|
init_source();
|
|
714629
714635
|
semver2 = __toESM(require_semver2(), 1);
|
|
@@ -903855,7 +903861,7 @@ if (!checkNodeVersion(true)) {
|
|
|
903855
903861
|
checkNodeVersion(false);
|
|
903856
903862
|
process.exit(1);
|
|
903857
903863
|
}
|
|
903858
|
-
var CLI_VERSION = "1.12.
|
|
903864
|
+
var CLI_VERSION = "1.12.4";
|
|
903859
903865
|
if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
|
|
903860
903866
|
try {
|
|
903861
903867
|
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.12.
|
|
3
|
+
"version": "1.12.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.12.
|
|
44
|
+
"@botpress/adk": "^1.12.4",
|
|
45
45
|
"@botpress/cli": "^4.27.3",
|
|
46
|
-
"@botpress/runtime": "^1.12.
|
|
46
|
+
"@botpress/runtime": "^1.12.4",
|
|
47
47
|
"@botpress/webchat-client": "^0.4.0",
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
49
49
|
"adm-zip": "^0.5.16",
|