@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/library.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Autonomous } from './runtime/autonomous';
|
|
2
2
|
export { z } from '@botpress/sdk';
|
|
3
|
+
export { Cognitive } from '@botpress/cognitive';
|
|
4
|
+
export { Zai } from '@botpress/zai';
|
|
3
5
|
export { context } from './runtime/index';
|
|
4
6
|
export { Action, Knowledge, Conversation, Trigger, Table, Workflow, Primitives, DataSource, BaseConversationInstance, } from './primitives';
|
|
5
7
|
export { isWorkflowDataRequest } from './primitives/workflow-utils';
|
package/dist/library.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../src/library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../src/library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAEnC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAEzC,OAAO,EACL,MAAM,EACN,SAAS,EACT,YAAY,EACZ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,UAAU,EACV,UAAU,EACV,wBAAwB,GACzB,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAGjD,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,CAAA;AAEpC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,YAAY,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAG9D,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AACrE,YAAY,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA"}
|
package/dist/library.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
|
|
|
@@ -34294,6 +34294,8 @@ var init_esm9 = __esm({
|
|
|
34294
34294
|
init_define_BUILD();
|
|
34295
34295
|
init_define_PACKAGE_VERSIONS();
|
|
34296
34296
|
import { z as z25 } from "@botpress/sdk";
|
|
34297
|
+
import { Cognitive as Cognitive2 } from "@botpress/cognitive";
|
|
34298
|
+
import { Zai as Zai2 } from "@botpress/zai";
|
|
34297
34299
|
|
|
34298
34300
|
// src/runtime/index.ts
|
|
34299
34301
|
init_define_BUILD();
|
|
@@ -40010,7 +40012,8 @@ import {
|
|
|
40010
40012
|
CitationsManager as _CitationsManager,
|
|
40011
40013
|
ListenExit as _ListenExit,
|
|
40012
40014
|
ThinkExit as _ThinkExit,
|
|
40013
|
-
DefaultExit as _DefaultExit
|
|
40015
|
+
DefaultExit as _DefaultExit,
|
|
40016
|
+
Component as LlmzComponent
|
|
40014
40017
|
} from "llmz";
|
|
40015
40018
|
import { Exit as LlmzExit } from "llmz";
|
|
40016
40019
|
import { ObjectInstance as LlmzObject } from "llmz";
|
|
@@ -40118,6 +40121,7 @@ import { AsyncResource } from "node:async_hooks";
|
|
|
40118
40121
|
var Autonomous;
|
|
40119
40122
|
((Autonomous2) => {
|
|
40120
40123
|
Autonomous2.Tool = LlmzTool;
|
|
40124
|
+
Autonomous2.Component = LlmzComponent;
|
|
40121
40125
|
Autonomous2.Exit = LlmzExit;
|
|
40122
40126
|
Autonomous2.Object = LlmzObject;
|
|
40123
40127
|
Autonomous2.ThinkSignal = _ThinkSignal;
|
|
@@ -46030,6 +46034,7 @@ export {
|
|
|
46030
46034
|
Action,
|
|
46031
46035
|
Autonomous,
|
|
46032
46036
|
BaseConversationInstance,
|
|
46037
|
+
Cognitive2 as Cognitive,
|
|
46033
46038
|
BaseConversation as Conversation,
|
|
46034
46039
|
DataSource2 as DataSource,
|
|
46035
46040
|
Errors,
|
|
@@ -46038,6 +46043,7 @@ export {
|
|
|
46038
46043
|
BaseTable as Table,
|
|
46039
46044
|
Trigger,
|
|
46040
46045
|
BaseWorkflow as Workflow,
|
|
46046
|
+
Zai2 as Zai,
|
|
46041
46047
|
actions,
|
|
46042
46048
|
adk,
|
|
46043
46049
|
bot,
|