@botpress/adk-cli 1.13.6 → 1.13.8
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 +16 -38
- package/dist/commands.json +2 -2
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -351735,7 +351735,7 @@ var init_internal = __esm(() => {
|
|
|
351735
351735
|
});
|
|
351736
351736
|
init_define_PACKAGE_VERSIONS = __esm2({
|
|
351737
351737
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
351738
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.13.
|
|
351738
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.13.8", adk: "1.13.8", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
|
|
351739
351739
|
}
|
|
351740
351740
|
});
|
|
351741
351741
|
init_asset = __esm2({
|
|
@@ -384782,7 +384782,7 @@ yield <Message>
|
|
|
384782
384782
|
init_define_BUILD();
|
|
384783
384783
|
init_define_PACKAGE_VERSIONS();
|
|
384784
384784
|
init_runtime2();
|
|
384785
|
-
BaseConversationInstance = class
|
|
384785
|
+
BaseConversationInstance = class {
|
|
384786
384786
|
id;
|
|
384787
384787
|
channel;
|
|
384788
384788
|
integration;
|
|
@@ -384791,21 +384791,10 @@ yield <Message>
|
|
|
384791
384791
|
client;
|
|
384792
384792
|
TrackedState;
|
|
384793
384793
|
TrackedTags;
|
|
384794
|
-
static extractAliasFromTags(tags) {
|
|
384795
|
-
if (!tags)
|
|
384796
|
-
return;
|
|
384797
|
-
for (const tagKey of Object.keys(tags)) {
|
|
384798
|
-
const colonIndex = tagKey.indexOf(":");
|
|
384799
|
-
if (colonIndex > 0) {
|
|
384800
|
-
return tagKey.substring(0, colonIndex);
|
|
384801
|
-
}
|
|
384802
|
-
}
|
|
384803
|
-
return;
|
|
384804
|
-
}
|
|
384805
384794
|
constructor(conversation2, client2, alias) {
|
|
384806
384795
|
this.id = conversation2.id;
|
|
384807
384796
|
this.integration = conversation2.integration;
|
|
384808
|
-
this.alias = alias ??
|
|
384797
|
+
this.alias = alias ?? conversation2.integration;
|
|
384809
384798
|
this.channel = `${this.alias}.${conversation2.channel}`;
|
|
384810
384799
|
this.conversation = conversation2;
|
|
384811
384800
|
this.client = client2;
|
|
@@ -393173,7 +393162,7 @@ globstar while`, file, fr4, pattern, pr3, swallowee);
|
|
|
393173
393162
|
this.schema = schema;
|
|
393174
393163
|
}
|
|
393175
393164
|
getDefinition() {
|
|
393176
|
-
const schema = transforms_exports.
|
|
393165
|
+
const schema = transforms_exports.toJSONSchemaLegacy(this.schema);
|
|
393177
393166
|
for (const col of Object.keys(this.columns)) {
|
|
393178
393167
|
if (this.computedColumns.has(col) || this.nullableColumns.has(col)) {
|
|
393179
393168
|
if ("properties" in schema && schema.properties && col in schema.properties && typeof schema.properties[col] === "object" && schema.properties[col] !== null) {
|
|
@@ -658540,7 +658529,7 @@ var init_library2 = __esm(() => {
|
|
|
658540
658529
|
});
|
|
658541
658530
|
init_define_PACKAGE_VERSIONS2 = __esm4({
|
|
658542
658531
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
658543
|
-
define_PACKAGE_VERSIONS_default2 = { runtime: "1.13.
|
|
658532
|
+
define_PACKAGE_VERSIONS_default2 = { runtime: "1.13.8", adk: "1.13.8", sdk: "5.0.2", llmz: "0.0.35", zai: "2.5.6", cognitive: "0.3.3" };
|
|
658544
658533
|
}
|
|
658545
658534
|
});
|
|
658546
658535
|
init_assets2 = __esm4({
|
|
@@ -692192,7 +692181,7 @@ yield <Message>
|
|
|
692192
692181
|
init_define_BUILD2();
|
|
692193
692182
|
init_define_PACKAGE_VERSIONS2();
|
|
692194
692183
|
init_runtime22();
|
|
692195
|
-
BaseConversationInstance2 = class
|
|
692184
|
+
BaseConversationInstance2 = class {
|
|
692196
692185
|
id;
|
|
692197
692186
|
channel;
|
|
692198
692187
|
integration;
|
|
@@ -692201,21 +692190,10 @@ yield <Message>
|
|
|
692201
692190
|
client;
|
|
692202
692191
|
TrackedState;
|
|
692203
692192
|
TrackedTags;
|
|
692204
|
-
static extractAliasFromTags(tags) {
|
|
692205
|
-
if (!tags)
|
|
692206
|
-
return;
|
|
692207
|
-
for (const tagKey of Object.keys(tags)) {
|
|
692208
|
-
const colonIndex = tagKey.indexOf(":");
|
|
692209
|
-
if (colonIndex > 0) {
|
|
692210
|
-
return tagKey.substring(0, colonIndex);
|
|
692211
|
-
}
|
|
692212
|
-
}
|
|
692213
|
-
return;
|
|
692214
|
-
}
|
|
692215
692193
|
constructor(conversation2, client2, alias) {
|
|
692216
692194
|
this.id = conversation2.id;
|
|
692217
692195
|
this.integration = conversation2.integration;
|
|
692218
|
-
this.alias = alias ??
|
|
692196
|
+
this.alias = alias ?? conversation2.integration;
|
|
692219
692197
|
this.channel = `${this.alias}.${conversation2.channel}`;
|
|
692220
692198
|
this.conversation = conversation2;
|
|
692221
692199
|
this.client = client2;
|
|
@@ -699751,7 +699729,7 @@ globstar while`, file, fr4, pattern, pr3, swallowee);
|
|
|
699751
699729
|
this.schema = schema;
|
|
699752
699730
|
}
|
|
699753
699731
|
getDefinition() {
|
|
699754
|
-
const schema = transforms_exports.
|
|
699732
|
+
const schema = transforms_exports.toJSONSchemaLegacy(this.schema);
|
|
699755
699733
|
for (const col of Object.keys(this.columns)) {
|
|
699756
699734
|
if (this.computedColumns.has(col) || this.nullableColumns.has(col)) {
|
|
699757
699735
|
if ("properties" in schema && schema.properties && col in schema.properties && typeof schema.properties[col] === "object" && schema.properties[col] !== null) {
|
|
@@ -703723,7 +703701,7 @@ class AgentProjectGenerator {
|
|
|
703723
703701
|
deploy: "adk deploy"
|
|
703724
703702
|
},
|
|
703725
703703
|
dependencies: {
|
|
703726
|
-
"@botpress/runtime": "^1.13.
|
|
703704
|
+
"@botpress/runtime": "^1.13.8"
|
|
703727
703705
|
},
|
|
703728
703706
|
devDependencies: {
|
|
703729
703707
|
typescript: "^5.9.3"
|
|
@@ -708232,7 +708210,7 @@ var import_debug, import_debug2, import_ts_morph, __defProp11, __commonJS8 = (cb
|
|
|
708232
708210
|
`));
|
|
708233
708211
|
return code;
|
|
708234
708212
|
}
|
|
708235
|
-
}, ADK_VERSION = "1.13.
|
|
708213
|
+
}, ADK_VERSION = "1.13.8", relative22 = (from, to3) => {
|
|
708236
708214
|
const fromDir = path102.dirname(from);
|
|
708237
708215
|
const relative32 = path102.relative(fromDir, to3);
|
|
708238
708216
|
return relative32.startsWith(".") ? relative32 : `./${relative32}`;
|
|
@@ -709712,7 +709690,7 @@ var init_dist17 = __esm(() => {
|
|
|
709712
709690
|
require_package3 = __commonJS8((exports7, module) => {
|
|
709713
709691
|
module.exports = {
|
|
709714
709692
|
name: "@botpress/adk",
|
|
709715
|
-
version: "1.13.
|
|
709693
|
+
version: "1.13.8",
|
|
709716
709694
|
description: "Core ADK library for building AI agents on Botpress",
|
|
709717
709695
|
type: "module",
|
|
709718
709696
|
main: "dist/index.js",
|
|
@@ -709759,7 +709737,7 @@ var init_dist17 = __esm(() => {
|
|
|
709759
709737
|
"@botpress/cli": "^5.1.1",
|
|
709760
709738
|
"@botpress/client": "^1.28.0",
|
|
709761
709739
|
"@botpress/cognitive": "^0.3.3",
|
|
709762
|
-
"@botpress/runtime": "^1.13.
|
|
709740
|
+
"@botpress/runtime": "^1.13.8",
|
|
709763
709741
|
"@botpress/sdk": "^5.0.2",
|
|
709764
709742
|
"@bpinternal/jex": "^1.2.4",
|
|
709765
709743
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -716364,7 +716342,7 @@ var init_Separator = __esm(async () => {
|
|
|
716364
716342
|
var require_package4 = __commonJS((exports7, module) => {
|
|
716365
716343
|
module.exports = {
|
|
716366
716344
|
name: "@botpress/adk",
|
|
716367
|
-
version: "1.13.
|
|
716345
|
+
version: "1.13.8",
|
|
716368
716346
|
description: "Core ADK library for building AI agents on Botpress",
|
|
716369
716347
|
type: "module",
|
|
716370
716348
|
main: "dist/index.js",
|
|
@@ -716411,7 +716389,7 @@ var require_package4 = __commonJS((exports7, module) => {
|
|
|
716411
716389
|
"@botpress/cli": "^5.1.1",
|
|
716412
716390
|
"@botpress/client": "^1.28.0",
|
|
716413
716391
|
"@botpress/cognitive": "^0.3.3",
|
|
716414
|
-
"@botpress/runtime": "^1.13.
|
|
716392
|
+
"@botpress/runtime": "^1.13.8",
|
|
716415
716393
|
"@botpress/sdk": "^5.0.2",
|
|
716416
716394
|
"@bpinternal/jex": "^1.2.4",
|
|
716417
716395
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -718353,7 +718331,7 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
718353
718331
|
`));
|
|
718354
718332
|
}
|
|
718355
718333
|
}
|
|
718356
|
-
var semver2, EXPECTED_RUNTIME_VERSION = "1.13.
|
|
718334
|
+
var semver2, EXPECTED_RUNTIME_VERSION = "1.13.8", SUPPORTED_RUNTIME_RANGE = ">=1.13.0";
|
|
718357
718335
|
var init_runtime_version_check = __esm(() => {
|
|
718358
718336
|
init_source();
|
|
718359
718337
|
semver2 = __toESM(require_semver2(), 1);
|
|
@@ -895260,7 +895238,7 @@ if (!checkNodeVersion(true)) {
|
|
|
895260
895238
|
checkNodeVersion(false);
|
|
895261
895239
|
process.exit(1);
|
|
895262
895240
|
}
|
|
895263
|
-
var CLI_VERSION = "1.13.
|
|
895241
|
+
var CLI_VERSION = "1.13.8";
|
|
895264
895242
|
if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
|
|
895265
895243
|
try {
|
|
895266
895244
|
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.13.
|
|
3
|
+
"version": "1.13.8",
|
|
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.
|
|
44
|
+
"@botpress/adk": "^1.13.8",
|
|
45
45
|
"@botpress/cli": "^5.1.1",
|
|
46
46
|
"@botpress/client": "^1.28.0",
|
|
47
|
-
"@botpress/runtime": "^1.13.
|
|
47
|
+
"@botpress/runtime": "^1.13.8",
|
|
48
48
|
"@botpress/sdk": "^5.0.2",
|
|
49
49
|
"@botpress/webchat-client": "^0.4.0",
|
|
50
50
|
"@modelcontextprotocol/sdk": "^1.25.1",
|