@botpress/runtime 1.7.3 → 1.7.5
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/definition.js +8 -4
- package/dist/definition.js.map +3 -3
- package/dist/internal.js +6 -2
- package/dist/internal.js.map +3 -3
- package/dist/library.d.ts +2 -0
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +8 -2
- package/dist/library.js.map +3 -3
- package/dist/runtime/autonomous.d.ts +3 -1
- package/dist/runtime/autonomous.d.ts.map +1 -1
- package/dist/runtime/chat/chat.d.ts +43 -163
- package/dist/runtime/chat/chat.d.ts.map +1 -1
- package/dist/runtime.js +93 -18
- package/dist/runtime.js.map +3 -3
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -48,7 +48,7 @@ var init_define_BUILD = __esm({
|
|
|
48
48
|
var define_PACKAGE_VERSIONS_default;
|
|
49
49
|
var init_define_PACKAGE_VERSIONS = __esm({
|
|
50
50
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
51
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.7.
|
|
51
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.7.5", adk: "1.7.2", sdk: "4.18.1", llmz: "0.0.27", zai: "2.5.0", cognitive: "0.2.0" };
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -39572,7 +39572,8 @@ import {
|
|
|
39572
39572
|
CitationsManager as _CitationsManager,
|
|
39573
39573
|
ListenExit as _ListenExit,
|
|
39574
39574
|
ThinkExit as _ThinkExit,
|
|
39575
|
-
DefaultExit as _DefaultExit
|
|
39575
|
+
DefaultExit as _DefaultExit,
|
|
39576
|
+
Component as LlmzComponent
|
|
39576
39577
|
} from "llmz";
|
|
39577
39578
|
import { Exit as LlmzExit } from "llmz";
|
|
39578
39579
|
import { ObjectInstance as LlmzObject } from "llmz";
|
|
@@ -39680,6 +39681,7 @@ import { AsyncResource } from "node:async_hooks";
|
|
|
39680
39681
|
var Autonomous;
|
|
39681
39682
|
((Autonomous2) => {
|
|
39682
39683
|
Autonomous2.Tool = LlmzTool;
|
|
39684
|
+
Autonomous2.Component = LlmzComponent;
|
|
39683
39685
|
Autonomous2.Exit = LlmzExit;
|
|
39684
39686
|
Autonomous2.Object = LlmzObject;
|
|
39685
39687
|
Autonomous2.ThinkSignal = _ThinkSignal;
|
|
@@ -40379,6 +40381,8 @@ ${issues.join("\n")}`;
|
|
|
40379
40381
|
init_define_BUILD();
|
|
40380
40382
|
init_define_PACKAGE_VERSIONS();
|
|
40381
40383
|
import { z as z19 } from "@botpress/sdk";
|
|
40384
|
+
import { Cognitive as Cognitive2 } from "@botpress/cognitive";
|
|
40385
|
+
import { Zai } from "@botpress/zai";
|
|
40382
40386
|
|
|
40383
40387
|
// src/primitives/index.ts
|
|
40384
40388
|
init_define_BUILD();
|
|
@@ -44547,7 +44551,7 @@ var KnowledgeIndexingWorkflow = new BaseWorkflow({
|
|
|
44547
44551
|
});
|
|
44548
44552
|
|
|
44549
44553
|
// src/runtime/adk.ts
|
|
44550
|
-
import { Zai } from "@botpress/zai";
|
|
44554
|
+
import { Zai as Zai2 } from "@botpress/zai";
|
|
44551
44555
|
|
|
44552
44556
|
// src/runtime/actions/index.ts
|
|
44553
44557
|
init_define_BUILD();
|
|
@@ -44674,7 +44678,7 @@ var adk = {
|
|
|
44674
44678
|
return Environment;
|
|
44675
44679
|
},
|
|
44676
44680
|
get zai() {
|
|
44677
|
-
return new
|
|
44681
|
+
return new Zai2({
|
|
44678
44682
|
client: context2.get("cognitive"),
|
|
44679
44683
|
modelId: Array.isArray(adk.project.config.defaultModels.zai) ? adk.project.config.defaultModels.zai[0] ?? "auto" : adk.project.config.defaultModels.zai
|
|
44680
44684
|
});
|