@botpress/adk-cli 1.5.2 → 1.5.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 +10 -5
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -315684,7 +315684,7 @@ var init_internal = __esm(() => {
|
|
|
315684
315684
|
});
|
|
315685
315685
|
init_define_PACKAGE_VERSIONS = __esm2({
|
|
315686
315686
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
315687
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.3.
|
|
315687
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.3.3", adk: "not-installed", sdk: "4.17.0", llmz: "0.0.26", zai: "2.1.16", cognitive: "0.1.47" };
|
|
315688
315688
|
}
|
|
315689
315689
|
});
|
|
315690
315690
|
init_globalThis = __esm2({
|
|
@@ -347614,6 +347614,9 @@ ${issues.join(`
|
|
|
347614
347614
|
init_define_PACKAGE_VERSIONS();
|
|
347615
347615
|
storage = getSingleton("__ADK_GLOBAL_CTX_STORAGE", () => new AsyncLocalStorage);
|
|
347616
347616
|
context = {
|
|
347617
|
+
enterWith: (data) => {
|
|
347618
|
+
storage.enterWith(data);
|
|
347619
|
+
},
|
|
347617
347620
|
run: (data, callback) => {
|
|
347618
347621
|
const existingStore = storage.getStore();
|
|
347619
347622
|
if (existingStore) {
|
|
@@ -350253,12 +350256,14 @@ Always prefer information from the knowledge bases over general knowledge when a
|
|
|
350253
350256
|
iterationSpan?.setAttribute("autonomous.tools", allTools?.map((t5) => t5.name).join(", "));
|
|
350254
350257
|
return allTools.map((tool) => tool.clone({
|
|
350255
350258
|
handler: (args, ctx2) => {
|
|
350259
|
+
context.enterWith(originalContext);
|
|
350256
350260
|
return context.run(originalContext, () => {
|
|
350257
350261
|
let err = null;
|
|
350258
350262
|
const result = span("autonomous.tool", {
|
|
350259
350263
|
"autonomous.tool.name": tool.name,
|
|
350260
350264
|
"autonomous.tool.input": args
|
|
350261
350265
|
}, async (s2) => {
|
|
350266
|
+
context.enterWith(originalContext);
|
|
350262
350267
|
const value2 = await tool.execute(args, ctx2).catch((e6) => {
|
|
350263
350268
|
err = e6;
|
|
350264
350269
|
if (err && err?.constructor && err?.constructor?.name && err?.constructor?.name === "ThinkSignal") {
|
|
@@ -375581,7 +375586,7 @@ var init_Separator = __esm(async () => {
|
|
|
375581
375586
|
var require_package3 = __commonJS((exports, module) => {
|
|
375582
375587
|
module.exports = {
|
|
375583
375588
|
name: "@botpress/adk",
|
|
375584
|
-
version: "1.3.
|
|
375589
|
+
version: "1.3.3",
|
|
375585
375590
|
description: "Core ADK library for building AI agents on Botpress",
|
|
375586
375591
|
type: "module",
|
|
375587
375592
|
main: "dist/index.js",
|
|
@@ -375628,7 +375633,7 @@ var require_package3 = __commonJS((exports, module) => {
|
|
|
375628
375633
|
"@botpress/cli": "^4.20",
|
|
375629
375634
|
"@botpress/client": "1.26.0",
|
|
375630
375635
|
"@botpress/cognitive": "0.1.47",
|
|
375631
|
-
"@botpress/runtime": "^1.3.
|
|
375636
|
+
"@botpress/runtime": "^1.3.3",
|
|
375632
375637
|
"@botpress/sdk": "4.17.0",
|
|
375633
375638
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
375634
375639
|
"@parcel/watcher": "^2.5.1",
|
|
@@ -378833,7 +378838,7 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
378833
378838
|
`));
|
|
378834
378839
|
}
|
|
378835
378840
|
}
|
|
378836
|
-
var semver, EXPECTED_RUNTIME_VERSION = "1.3.
|
|
378841
|
+
var semver, EXPECTED_RUNTIME_VERSION = "1.3.3";
|
|
378837
378842
|
var init_runtime_version_check = __esm(() => {
|
|
378838
378843
|
init_source();
|
|
378839
378844
|
semver = __toESM(require_semver3(), 1);
|
|
@@ -394706,7 +394711,7 @@ function formatHelp(cmd, version) {
|
|
|
394706
394711
|
// src/cli.ts
|
|
394707
394712
|
var __filename2 = fileURLToPath9(import.meta.url);
|
|
394708
394713
|
var __dirname5 = dirname3(__filename2);
|
|
394709
|
-
var CLI_VERSION = "1.5.
|
|
394714
|
+
var CLI_VERSION = "1.5.3";
|
|
394710
394715
|
program.name("adk").description("Botpress Agent Development Kit (ADK) - CLI for building AI agents").version(CLI_VERSION).option("--no-cache", "Disable caching for integration lookups").configureHelp({
|
|
394711
394716
|
formatHelp: () => formatHelp(program, CLI_VERSION)
|
|
394712
394717
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/adk-cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"url": "https://github.com/botpress/adk"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@botpress/adk": "^1.3.
|
|
43
|
+
"@botpress/adk": "^1.3.3",
|
|
44
44
|
"@botpress/cli": "^4.20",
|
|
45
|
-
"@botpress/runtime": "^1.3.
|
|
45
|
+
"@botpress/runtime": "^1.3.3",
|
|
46
46
|
"adm-zip": "^0.5.16",
|
|
47
47
|
"chalk": "^5.4.1",
|
|
48
48
|
"clipboardy": "^4.0.0",
|