rol-websocket-channel 1.8.2 → 1.8.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/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -921,8 +921,8 @@ function registerToolEventHooks(api) {
|
|
|
921
921
|
// after_tool_call:工具执行完毕(含结果或错误)时触发
|
|
922
922
|
api.on("after_tool_call", (event, ctx) => {
|
|
923
923
|
publishToolEvent({
|
|
924
|
-
type: "
|
|
925
|
-
source: "
|
|
924
|
+
type: "receiver",
|
|
925
|
+
source: "tools",
|
|
926
926
|
event: "after_tool_call",
|
|
927
927
|
timestamp: Date.now(),
|
|
928
928
|
data: {
|
package/index.ts
CHANGED
|
@@ -1174,8 +1174,8 @@ function registerToolEventHooks(api: any): void {
|
|
|
1174
1174
|
// after_tool_call:工具执行完毕(含结果或错误)时触发
|
|
1175
1175
|
api.on("after_tool_call", (event: any, ctx: any) => {
|
|
1176
1176
|
publishToolEvent({
|
|
1177
|
-
type: "
|
|
1178
|
-
source: "
|
|
1177
|
+
type: "receiver",
|
|
1178
|
+
source: "tools",
|
|
1179
1179
|
event: "after_tool_call",
|
|
1180
1180
|
timestamp: Date.now(),
|
|
1181
1181
|
data: {
|