@fugood/bricks-project 2.23.0-beta.31 → 2.23.0-beta.33
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.33",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "7a0043add6591f4dd939a66df769ce459bb90ec5"
|
|
18
18
|
}
|
|
@@ -507,6 +507,12 @@ Default property:
|
|
|
507
507
|
onLogs?: Array<EventAction>
|
|
508
508
|
/* Messages update event */
|
|
509
509
|
onMessagesUpdate?: Array<EventAction>
|
|
510
|
+
/* Heatup finished event */
|
|
511
|
+
onHeatupFinished?: Array<EventAction>
|
|
512
|
+
/* Generating event (triggered when assistant starts generating response) */
|
|
513
|
+
onGenerating?: Array<EventAction>
|
|
514
|
+
/* Finished event (triggered when assistant finishes generating response) */
|
|
515
|
+
onFinished?: Array<EventAction>
|
|
510
516
|
}
|
|
511
517
|
outlets?: {
|
|
512
518
|
/* Whether the assistant is heating up */
|
package/utils/event-props.ts
CHANGED
|
@@ -961,6 +961,13 @@ export const templateEventPropsMap = {
|
|
|
961
961
|
onMessagesUpdate: [
|
|
962
962
|
'GENERATOR_ASSISTANT_MESSAGES', // type: array
|
|
963
963
|
],
|
|
964
|
+
onHeatupFinished: [],
|
|
965
|
+
onGenerating: [],
|
|
966
|
+
onFinished: [
|
|
967
|
+
'GENERATOR_ASSISTANT_MESSAGES', // type: array
|
|
968
|
+
'GENERATOR_ASSISTANT_LAST_MESSAGE', // type: object
|
|
969
|
+
'GENERATOR_ASSISTANT_IS_ERROR', // type: bool
|
|
970
|
+
],
|
|
964
971
|
},
|
|
965
972
|
GENERATOR_VECTOR_STORE: {
|
|
966
973
|
onError: [
|