@fonoster/autopilot 0.22.2 → 0.22.4
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.
|
@@ -37,6 +37,12 @@ async function sendConversationEndedEvent(eventsHook, data) {
|
|
|
37
37
|
chatHistory,
|
|
38
38
|
...(recordingUrl && { recordingUrl })
|
|
39
39
|
};
|
|
40
|
+
logger.verbose("dispatching conversation.ended webhook", {
|
|
41
|
+
url: parsedEventsHook.url,
|
|
42
|
+
eventType: params.eventType,
|
|
43
|
+
appRef,
|
|
44
|
+
callRef
|
|
45
|
+
});
|
|
40
46
|
try {
|
|
41
47
|
await (0, common_1.sendHttpRequest)({
|
|
42
48
|
url: parsedEventsHook.url,
|
|
@@ -47,11 +53,13 @@ async function sendConversationEndedEvent(eventsHook, data) {
|
|
|
47
53
|
});
|
|
48
54
|
}
|
|
49
55
|
catch (e) {
|
|
50
|
-
logger.
|
|
56
|
+
logger.error("failed to send conversation.ended webhook", {
|
|
51
57
|
url: parsedEventsHook.url,
|
|
52
58
|
method: common_1.AllowedHttpMethod.POST,
|
|
53
59
|
waitForResponse: false,
|
|
54
|
-
|
|
60
|
+
appRef,
|
|
61
|
+
callRef,
|
|
62
|
+
error: e instanceof Error ? e.message : e
|
|
55
63
|
});
|
|
56
64
|
}
|
|
57
65
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/autopilot",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.4",
|
|
4
4
|
"description": "Voice AI for the Fonoster platform",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@aws-sdk/client-s3": "^3.958.0",
|
|
37
37
|
"@dmitryrechkin/json-schema-to-zod": "^1.0.1",
|
|
38
|
-
"@fonoster/common": "^0.22.
|
|
38
|
+
"@fonoster/common": "^0.22.3",
|
|
39
39
|
"@fonoster/logger": "^0.22.0",
|
|
40
|
-
"@fonoster/sdk": "^0.22.
|
|
40
|
+
"@fonoster/sdk": "^0.22.3",
|
|
41
41
|
"@fonoster/types": "^0.22.0",
|
|
42
|
-
"@fonoster/voice": "^0.22.
|
|
42
|
+
"@fonoster/voice": "^0.22.4",
|
|
43
43
|
"@langchain/anthropic": "^1.3.3",
|
|
44
44
|
"@langchain/community": "^1.1.1",
|
|
45
45
|
"@langchain/core": "^1.1.8",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"xstate": "^5.17.3",
|
|
60
60
|
"zod": "^3.25.76"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "1af8d903b578b1e85180bf811f645dd0ff00bf20"
|
|
63
63
|
}
|