@tangle-network/agent-app 0.60.47 → 0.60.48

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.
Files changed (31) hide show
  1. package/dist/assistant/index.js +5 -5
  2. package/dist/chat-react/index.js +3 -3
  3. package/dist/chat-routes/index.d.ts +1 -0
  4. package/dist/chat-routes/index.js +24 -4
  5. package/dist/chat-routes/index.js.map +1 -1
  6. package/dist/chat-routes/turn-progress.d.ts +88 -0
  7. package/dist/chat-routes/turn-routes.d.ts +7 -1
  8. package/dist/chat-routes/wire.d.ts +3 -1
  9. package/dist/chat-store/index.js +2 -2
  10. package/dist/{chunk-FZJRATBY.js → chunk-7GMERKA3.js} +1104 -1068
  11. package/dist/chunk-7GMERKA3.js.map +1 -0
  12. package/dist/{chunk-FPCIJCS3.js → chunk-IKESHQ5B.js} +2 -2
  13. package/dist/{chunk-TCPRFFZK.js → chunk-MFDH4C2F.js} +2 -2
  14. package/dist/{chunk-GBGSC42G.js → chunk-MJRVFRJB.js} +2 -2
  15. package/dist/{chunk-4EVEBEJX.js → chunk-TNEFHE2K.js} +76 -4
  16. package/dist/chunk-TNEFHE2K.js.map +1 -0
  17. package/dist/{chunk-HOZMP3AR.js → chunk-VC5AGH7C.js} +126 -3
  18. package/dist/chunk-VC5AGH7C.js.map +1 -0
  19. package/dist/public-consultation/index.d.ts +1 -1
  20. package/dist/public-consultation/index.js +3 -3
  21. package/dist/web-react/chat-stream.d.ts +4 -0
  22. package/dist/web-react/index.d.ts +6 -1
  23. package/dist/web-react/index.js +26 -6
  24. package/dist/web-react/turn-progress.d.ts +24 -0
  25. package/package.json +1 -1
  26. package/dist/chunk-4EVEBEJX.js.map +0 -1
  27. package/dist/chunk-FZJRATBY.js.map +0 -1
  28. package/dist/chunk-HOZMP3AR.js.map +0 -1
  29. /package/dist/{chunk-FPCIJCS3.js.map → chunk-IKESHQ5B.js.map} +0 -0
  30. /package/dist/{chunk-TCPRFFZK.js.map → chunk-MFDH4C2F.js.map} +0 -0
  31. /package/dist/{chunk-GBGSC42G.js.map → chunk-MJRVFRJB.js.map} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  chatToolCallPart
3
- } from "../chunk-FZJRATBY.js";
3
+ } from "../chunk-7GMERKA3.js";
4
4
  import "../chunk-FAU5FIFD.js";
5
5
  import "../chunk-3HUFJ5LO.js";
6
6
  import "../chunk-FBVLEGEG.js";
7
7
  import "../chunk-Y6PRDUFJ.js";
8
8
  import {
9
9
  ChatComposer
10
- } from "../chunk-TCPRFFZK.js";
10
+ } from "../chunk-MFDH4C2F.js";
11
11
  import "../chunk-L7MB2LLM.js";
12
12
  import "../chunk-KHCJKVQN.js";
13
13
  import "../chunk-XEURJVS5.js";
@@ -22,14 +22,14 @@ import {
22
22
  AsyncView
23
23
  } from "../chunk-LSUELMHY.js";
24
24
  import "../chunk-FQYAJYPW.js";
25
- import "../chunk-GBGSC42G.js";
25
+ import "../chunk-MJRVFRJB.js";
26
26
  import "../chunk-MLG6XKPV.js";
27
27
  import "../chunk-MCYJON3F.js";
28
28
  import "../chunk-B7CL7ENS.js";
29
29
  import "../chunk-PV33JZKV.js";
30
30
  import "../chunk-7YA4QNTU.js";
31
- import "../chunk-FPCIJCS3.js";
32
- import "../chunk-HOZMP3AR.js";
31
+ import "../chunk-IKESHQ5B.js";
32
+ import "../chunk-VC5AGH7C.js";
33
33
  import "../chunk-ZVEEWGDK.js";
34
34
  import "../chunk-TXD5HXLE.js";
35
35
  import "../chunk-ZGUXI5SI.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  ComposerModeControls,
3
3
  EntryComposer
4
- } from "../chunk-TCPRFFZK.js";
4
+ } from "../chunk-MFDH4C2F.js";
5
5
  import "../chunk-L7MB2LLM.js";
6
6
  import "../chunk-NJDQ2JCP.js";
7
7
  import "../chunk-HG4OONJA.js";
8
8
  import "../chunk-SJWIZT7B.js";
9
- import "../chunk-GBGSC42G.js";
9
+ import "../chunk-MJRVFRJB.js";
10
10
  import "../chunk-MLG6XKPV.js";
11
11
  import "../chunk-MCYJON3F.js";
12
12
  import "../chunk-7YA4QNTU.js";
13
- import "../chunk-HOZMP3AR.js";
13
+ import "../chunk-VC5AGH7C.js";
14
14
  import "../chunk-TXD5HXLE.js";
15
15
  export {
16
16
  ComposerModeControls,
@@ -10,6 +10,7 @@ export * from './wire';
10
10
  export * from './binary-sniff';
11
11
  export * from './attachment-validation';
12
12
  export * from './turn-routes';
13
+ export * from './turn-progress';
13
14
  export * from './gateway-adapter';
14
15
  export * from './stale-turn-lock';
15
16
  export * from './sandbox-producer';
@@ -24,7 +24,7 @@ import {
24
24
  checkAttachmentType,
25
25
  sanitizeAttachmentFileName,
26
26
  sniffBinary
27
- } from "../chunk-GBGSC42G.js";
27
+ } from "../chunk-MJRVFRJB.js";
28
28
  import {
29
29
  DEFAULT_STALE_TURN_LOCK_GRACE_MS,
30
30
  DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
@@ -65,7 +65,7 @@ import {
65
65
  rowIdOf,
66
66
  storeSupportsDraftPersistence,
67
67
  streamChatRouteAsSandboxEvents
68
- } from "../chunk-4EVEBEJX.js";
68
+ } from "../chunk-TNEFHE2K.js";
69
69
  import "../chunk-UKZMJND6.js";
70
70
  import "../chunk-UTAIRVOK.js";
71
71
  import "../chunk-RN4WPTBH.js";
@@ -80,7 +80,7 @@ import {
80
80
  attachmentInputToPart,
81
81
  attachmentKindForMime,
82
82
  toChatMessageParts
83
- } from "../chunk-FPCIJCS3.js";
83
+ } from "../chunk-IKESHQ5B.js";
84
84
  import {
85
85
  ChatTurnInputError,
86
86
  DISPATCH_MAX_MEDIA_PARTS,
@@ -89,19 +89,29 @@ import {
89
89
  DISPATCH_STRUCTURAL_RESERVE_BYTES,
90
90
  INLINE_PARTS_MAX_BYTES,
91
91
  MENTION_MAX_COUNT,
92
+ TURN_PHASE_EVENT,
93
+ TURN_PROGRESS_FIRST,
94
+ TURN_PROGRESS_HEADER,
95
+ TURN_RESPONSE_EVENT,
96
+ TURN_ROUTE_PHASE_MESSAGES,
97
+ TURN_STREAM_LOST_CODE,
92
98
  assertPromptPartsWithinCap,
93
99
  base64WireLen,
94
100
  buildMentionPromptBlock,
101
+ buildTurnPhaseEvent,
95
102
  chatTurnRequestInit,
96
103
  fileMentionsToParts,
97
104
  formatBytes,
105
+ isTurnPhaseEvent,
98
106
  mediaTypeForMentionPath,
99
107
  mentionKindForPath,
100
108
  parseChatTurnParts,
101
109
  parseFileMentions,
102
110
  promptPartsByteSize,
111
+ settleTurnResponse,
112
+ turnResponseEventFor,
103
113
  validateSandboxMentionPath
104
- } from "../chunk-HOZMP3AR.js";
114
+ } from "../chunk-VC5AGH7C.js";
105
115
  import "../chunk-ZVEEWGDK.js";
106
116
  import {
107
117
  isWorkspaceFileExportable
@@ -3409,6 +3419,12 @@ export {
3409
3419
  PROMOTE_MAX_FILE_BYTES,
3410
3420
  RUNTIME_RESTARTED_ERROR,
3411
3421
  TOOL_ABORTED_ERROR,
3422
+ TURN_PHASE_EVENT,
3423
+ TURN_PROGRESS_FIRST,
3424
+ TURN_PROGRESS_HEADER,
3425
+ TURN_RESPONSE_EVENT,
3426
+ TURN_ROUTE_PHASE_MESSAGES,
3427
+ TURN_STREAM_LOST_CODE,
3412
3428
  UPLOAD_INLINE_MAX_BYTES,
3413
3429
  UPLOAD_MAX_FILE_BYTES,
3414
3430
  aggregateNativeCompletionReceipts,
@@ -3420,6 +3436,7 @@ export {
3420
3436
  boundNativeCompletionReceipt,
3421
3437
  buildDispatchParts,
3422
3438
  buildMentionPromptBlock,
3439
+ buildTurnPhaseEvent,
3423
3440
  bytesToBase64,
3424
3441
  chatTurnRequestInit,
3425
3442
  checkAttachmentType,
@@ -3440,6 +3457,7 @@ export {
3440
3457
  isCommittingSandboxEvent,
3441
3458
  isDraftContentEvent,
3442
3459
  isLiveLifecycleEvent,
3460
+ isTurnPhaseEvent,
3443
3461
  mediaTypeForMentionPath,
3444
3462
  mentionKindForPath,
3445
3463
  normalizeChatPromptForSandbox,
@@ -3462,6 +3480,7 @@ export {
3462
3480
  runDetachedTurn,
3463
3481
  sanitizeAttachmentFileName,
3464
3482
  sanitizeUploadFilename,
3483
+ settleTurnResponse,
3465
3484
  sniffBinary,
3466
3485
  sniffMimeFromName,
3467
3486
  storeSupportsDraftPersistence,
@@ -3469,6 +3488,7 @@ export {
3469
3488
  streamPlanFollowUpEvents,
3470
3489
  streamWithModelFailover,
3471
3490
  summarizeFailoverReason,
3491
+ turnResponseEventFor,
3472
3492
  unwrapSessionEventPayload,
3473
3493
  validateSandboxMentionPath,
3474
3494
  withDurableChatProjection