@tangle-network/agent-app 0.60.116 → 0.60.118
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/assistant/index.js +5 -5
- package/dist/chat-react/index.js +3 -3
- package/dist/chat-routes/index.js +12 -5
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/chat-routes/wire.d.ts +3 -1
- package/dist/chat-store/index.js +2 -2
- package/dist/{chunk-6XE77PTT.js → chunk-2NHJNINW.js} +1 -1
- package/dist/chunk-2NHJNINW.js.map +1 -0
- package/dist/{chunk-TSGWACTC.js → chunk-7DXRHQZO.js} +3 -3
- package/dist/{chunk-JCSHTJT6.js → chunk-7H5SGOL3.js} +49 -3
- package/dist/chunk-7H5SGOL3.js.map +1 -0
- package/dist/{chunk-GHUQ5HXU.js → chunk-CLB4IQEG.js} +2 -2
- package/dist/{chunk-F2FH354I.js → chunk-D52LB6UQ.js} +2 -2
- package/dist/{chunk-KQ3UATBB.js → chunk-DZ4AUJAT.js} +133 -4
- package/dist/chunk-DZ4AUJAT.js.map +1 -0
- package/dist/{chunk-4G7HH6WQ.js → chunk-GU7OZFU7.js} +2 -2
- package/dist/{chunk-FJQUMIM6.js → chunk-JZUSVGRJ.js} +3 -3
- package/dist/public-consultation/index.d.ts +1 -1
- package/dist/public-consultation/index.js +3 -3
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/router-turn.d.ts +52 -2
- package/dist/runtime/router-turn.js +3 -1
- package/dist/signoff/cli.js +6 -3
- package/dist/signoff/cli.js.map +1 -1
- package/dist/signoff/index.d.ts +2 -0
- package/dist/signoff/index.js +13 -1
- package/dist/signoff/workspace-surface-cli.d.ts +1 -0
- package/dist/signoff/workspace-surface.d.ts +51 -0
- package/dist/web-react/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-6XE77PTT.js.map +0 -1
- package/dist/chunk-JCSHTJT6.js.map +0 -1
- package/dist/chunk-KQ3UATBB.js.map +0 -1
- /package/dist/{chunk-TSGWACTC.js.map → chunk-7DXRHQZO.js.map} +0 -0
- /package/dist/{chunk-GHUQ5HXU.js.map → chunk-CLB4IQEG.js.map} +0 -0
- /package/dist/{chunk-F2FH354I.js.map → chunk-D52LB6UQ.js.map} +0 -0
- /package/dist/{chunk-4G7HH6WQ.js.map → chunk-GU7OZFU7.js.map} +0 -0
- /package/dist/{chunk-FJQUMIM6.js.map → chunk-JZUSVGRJ.js.map} +0 -0
package/dist/assistant/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chatToolCallPart
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7DXRHQZO.js";
|
|
4
4
|
import "../chunk-2FLSODOX.js";
|
|
5
5
|
import "../chunk-3HUFJ5LO.js";
|
|
6
6
|
import "../chunk-FBVLEGEG.js";
|
|
@@ -9,7 +9,7 @@ import "../chunk-Y6PRDUFJ.js";
|
|
|
9
9
|
import "../chunk-GEYACSFW.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatComposer
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-CLB4IQEG.js";
|
|
13
13
|
import "../chunk-L7MB2LLM.js";
|
|
14
14
|
import "../chunk-BPN4TEAT.js";
|
|
15
15
|
import "../chunk-KHCJKVQN.js";
|
|
@@ -25,14 +25,14 @@ import {
|
|
|
25
25
|
AsyncView
|
|
26
26
|
} from "../chunk-LSUELMHY.js";
|
|
27
27
|
import "../chunk-FQYAJYPW.js";
|
|
28
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-D52LB6UQ.js";
|
|
29
29
|
import "../chunk-WVESWAJJ.js";
|
|
30
30
|
import "../chunk-B7CL7ENS.js";
|
|
31
31
|
import "../chunk-PV33JZKV.js";
|
|
32
32
|
import "../chunk-7YA4QNTU.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-GU7OZFU7.js";
|
|
34
34
|
import "../chunk-ZVEEWGDK.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-2NHJNINW.js";
|
|
36
36
|
import "../chunk-TXD5HXLE.js";
|
|
37
37
|
import "../chunk-ZGUXI5SI.js";
|
|
38
38
|
import "../chunk-6VQCFJWP.js";
|
package/dist/chat-react/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComposerModeControls,
|
|
3
3
|
EntryComposer
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CLB4IQEG.js";
|
|
5
5
|
import "../chunk-L7MB2LLM.js";
|
|
6
6
|
import "../chunk-BPN4TEAT.js";
|
|
7
7
|
import "../chunk-NJDQ2JCP.js";
|
|
8
8
|
import "../chunk-HG4OONJA.js";
|
|
9
9
|
import "../chunk-SJWIZT7B.js";
|
|
10
10
|
import "../chunk-MLG6XKPV.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-D52LB6UQ.js";
|
|
12
12
|
import "../chunk-WVESWAJJ.js";
|
|
13
13
|
import "../chunk-7YA4QNTU.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-2NHJNINW.js";
|
|
15
15
|
import "../chunk-TXD5HXLE.js";
|
|
16
16
|
export {
|
|
17
17
|
ComposerModeControls,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
checkAttachmentType,
|
|
25
25
|
sanitizeAttachmentFileName,
|
|
26
26
|
sniffBinary
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-D52LB6UQ.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_STALE_TURN_LOCK_GRACE_MS,
|
|
30
30
|
DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
} from "../chunk-RN2N75EI.js";
|
|
59
59
|
import {
|
|
60
60
|
runRouterTurn
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-7H5SGOL3.js";
|
|
62
62
|
import "../chunk-D6UJEOZQ.js";
|
|
63
63
|
import "../chunk-7YA4QNTU.js";
|
|
64
64
|
import {
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
rowIdOf,
|
|
73
73
|
storeSupportsDraftPersistence,
|
|
74
74
|
streamChatRouteAsSandboxEvents
|
|
75
|
-
} from "../chunk-
|
|
75
|
+
} from "../chunk-JZUSVGRJ.js";
|
|
76
76
|
import "../chunk-Q7WEEN7P.js";
|
|
77
77
|
import "../chunk-UTAIRVOK.js";
|
|
78
78
|
import "../chunk-RN4WPTBH.js";
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
attachmentInputToPart,
|
|
82
82
|
attachmentKindForMime,
|
|
83
83
|
toChatMessageParts
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-GU7OZFU7.js";
|
|
85
85
|
import "../chunk-ZVEEWGDK.js";
|
|
86
86
|
import {
|
|
87
87
|
ChatTurnInputError,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
settleTurnResponse,
|
|
116
116
|
turnResponseEventFor,
|
|
117
117
|
validateSandboxMentionPath
|
|
118
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-2NHJNINW.js";
|
|
119
119
|
import {
|
|
120
120
|
isWorkspaceFileExportable
|
|
121
121
|
} from "../chunk-TXD5HXLE.js";
|
|
@@ -1206,6 +1206,13 @@ function createRouterTurnProducer(options) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
} else if (event.type === "usage") {
|
|
1208
1208
|
push({ type: "usage", usage: { promptTokens: event.promptTokens, completionTokens: event.completionTokens } });
|
|
1209
|
+
} else if (event.type === "tool_event") {
|
|
1210
|
+
const part = toolParts.get(event.callId);
|
|
1211
|
+
if (part) {
|
|
1212
|
+
const state = part.state;
|
|
1213
|
+
part.state = { ...state, events: [...state.events ?? [], { kind: event.kind, data: event.data, at: event.at }] };
|
|
1214
|
+
}
|
|
1215
|
+
push({ type: "tool.event", data: { toolCallId: event.callId, toolName: event.toolName, kind: event.kind, data: event.data, at: event.at } });
|
|
1209
1216
|
}
|
|
1210
1217
|
}
|
|
1211
1218
|
}).then((result) => {
|