@dexto/server 1.14.1 → 1.14.2
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.
|
@@ -33,6 +33,7 @@ const SESSION_EVENT_NAMES = [
|
|
|
33
33
|
"llm:tool-call",
|
|
34
34
|
"llm:tool-call-partial",
|
|
35
35
|
"llm:tool-result",
|
|
36
|
+
"llm:retrying",
|
|
36
37
|
"llm:error",
|
|
37
38
|
"llm:unsupported-input",
|
|
38
39
|
"tool:running",
|
|
@@ -48,7 +49,7 @@ const SESSION_EVENT_NAMES = [
|
|
|
48
49
|
"run:complete"
|
|
49
50
|
];
|
|
50
51
|
function serializeEventPayload(eventName, payload) {
|
|
51
|
-
if (eventName === "llm:error" && "error" in payload) {
|
|
52
|
+
if ((eventName === "llm:error" || eventName === "llm:retrying") && "error" in payload) {
|
|
52
53
|
return {
|
|
53
54
|
...payload,
|
|
54
55
|
error: payload.error instanceof Error ? {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-sse-subscriber.d.ts","sourceRoot":"","sources":["../../src/events/session-sse-subscriber.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAwC,MAAM,iBAAiB,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAA2C,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"session-sse-subscriber.d.ts","sourceRoot":"","sources":["../../src/events/session-sse-subscriber.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAwC,MAAM,iBAAiB,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAA2C,MAAM,aAAa,CAAC;AAoE1F,qBAAa,yBAAyB;IAClC,OAAO,CAAC,WAAW,CAA2C;IAC9D,OAAO,CAAC,qBAAqB,CAA8B;IAE3D,SAAS,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI;IAiCxC,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,CAAC,UAAU,CAAC;IAsC3D,OAAO,CAAC,kBAAkB;IAgC1B,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,cAAc;IAKtB,OAAO,IAAI,IAAI;CASlB"}
|
|
@@ -10,6 +10,7 @@ const SESSION_EVENT_NAMES = [
|
|
|
10
10
|
"llm:tool-call",
|
|
11
11
|
"llm:tool-call-partial",
|
|
12
12
|
"llm:tool-result",
|
|
13
|
+
"llm:retrying",
|
|
13
14
|
"llm:error",
|
|
14
15
|
"llm:unsupported-input",
|
|
15
16
|
"tool:running",
|
|
@@ -25,7 +26,7 @@ const SESSION_EVENT_NAMES = [
|
|
|
25
26
|
"run:complete"
|
|
26
27
|
];
|
|
27
28
|
function serializeEventPayload(eventName, payload) {
|
|
28
|
-
if (eventName === "llm:error" && "error" in payload) {
|
|
29
|
+
if ((eventName === "llm:error" || eventName === "llm:retrying") && "error" in payload) {
|
|
29
30
|
return {
|
|
30
31
|
...payload,
|
|
31
32
|
error: payload.error instanceof Error ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dexto/server",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"ws": "^8.18.1",
|
|
37
37
|
"yaml": "^2.8.3",
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
39
|
-
"@dexto/agent-config": "1.14.
|
|
40
|
-
"@dexto/agent-management": "1.14.
|
|
41
|
-
"@dexto/core": "1.14.
|
|
42
|
-
"@dexto/image-local": "1.14.
|
|
43
|
-
"@dexto/llm": "1.14.
|
|
44
|
-
"@dexto/storage": "1.14.
|
|
45
|
-
"@dexto/tools-scheduler": "1.14.
|
|
39
|
+
"@dexto/agent-config": "1.14.2",
|
|
40
|
+
"@dexto/agent-management": "1.14.2",
|
|
41
|
+
"@dexto/core": "1.14.2",
|
|
42
|
+
"@dexto/image-local": "1.14.2",
|
|
43
|
+
"@dexto/llm": "1.14.2",
|
|
44
|
+
"@dexto/storage": "1.14.2",
|
|
45
|
+
"@dexto/tools-scheduler": "1.14.2"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"dist",
|