@tangle-network/agent-app 0.43.67 → 0.43.69

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 (60) hide show
  1. package/README.md +1 -1
  2. package/dist/assistant/index.d.ts +4 -2
  3. package/dist/assistant/index.js +6 -3
  4. package/dist/assistant/index.js.map +1 -1
  5. package/dist/{attachment-validation-B2FFna9E.d.ts → attachment-validation-Dv1A_Puy.d.ts} +1 -1
  6. package/dist/chat-routes/index.d.ts +4 -3
  7. package/dist/chat-routes/index.js +6 -4
  8. package/dist/chat-routes/index.js.map +1 -1
  9. package/dist/chat-store/index.d.ts +3 -2
  10. package/dist/chat-store/index.js +4 -1
  11. package/dist/chat-store/index.js.map +1 -1
  12. package/dist/{chunk-JWBZ74TW.js → chunk-7ESQUSAC.js} +5 -3
  13. package/dist/{chunk-JWBZ74TW.js.map → chunk-7ESQUSAC.js.map} +1 -1
  14. package/dist/{chunk-X3N2H6JE.js → chunk-AFNTRJQ7.js} +10 -1
  15. package/dist/chunk-AFNTRJQ7.js.map +1 -0
  16. package/dist/chunk-F2CBC4DY.js +193 -0
  17. package/dist/chunk-F2CBC4DY.js.map +1 -0
  18. package/dist/chunk-HRH7ASAG.js +759 -0
  19. package/dist/chunk-HRH7ASAG.js.map +1 -0
  20. package/dist/{chunk-YTSEDJWA.js → chunk-RXOTWZ4G.js} +22 -6
  21. package/dist/chunk-RXOTWZ4G.js.map +1 -0
  22. package/dist/chunk-UDSY2F6N.js +331 -0
  23. package/dist/chunk-UDSY2F6N.js.map +1 -0
  24. package/dist/chunk-UOAYS72M.js +80 -0
  25. package/dist/chunk-UOAYS72M.js.map +1 -0
  26. package/dist/chunk-UP33Z633.js +141 -0
  27. package/dist/chunk-UP33Z633.js.map +1 -0
  28. package/dist/{chunk-FMDMI25K.js → chunk-V55WJSR4.js} +2 -2
  29. package/dist/{chunk-YKBDH2UY.js → chunk-WL7XHLDK.js} +2 -2
  30. package/dist/{chunk-7CTIUCQ4.js → chunk-YEFFHORB.js} +2 -73
  31. package/dist/chunk-YEFFHORB.js.map +1 -0
  32. package/dist/eval-campaign/index.d.ts +2 -81
  33. package/dist/index.d.ts +5 -1
  34. package/dist/index.js +62 -8
  35. package/dist/{parts-Bg8qcDvB.d.ts → parts-2ymE5cs-.d.ts} +15 -2
  36. package/dist/queue-C24V13h9.d.ts +68 -0
  37. package/dist/runtime/index.js +3 -2
  38. package/dist/sandbox/index.js +3 -2
  39. package/dist/teams/index.js +5 -5
  40. package/dist/teams/invitations-api.js +4 -4
  41. package/dist/teams-react/index.js +3 -3
  42. package/dist/tools/index.js +8 -6
  43. package/dist/trust-gate-Dcm5xSva.d.ts +83 -0
  44. package/dist/turn-stream/index.d.ts +185 -24
  45. package/dist/turn-stream/index.js.map +1 -1
  46. package/dist/types-CEchbvgz.d.ts +268 -0
  47. package/dist/web-react/index.d.ts +97 -5
  48. package/dist/web-react/index.js +31 -4
  49. package/dist/work-product/index.d.ts +331 -0
  50. package/dist/work-product/index.js +54 -0
  51. package/dist/work-product/index.js.map +1 -0
  52. package/dist/work-product-react/index.d.ts +36 -0
  53. package/dist/work-product-react/index.js +180 -0
  54. package/dist/work-product-react/index.js.map +1 -0
  55. package/package.json +15 -1
  56. package/dist/chunk-7CTIUCQ4.js.map +0 -1
  57. package/dist/chunk-X3N2H6JE.js.map +0 -1
  58. package/dist/chunk-YTSEDJWA.js.map +0 -1
  59. /package/dist/{chunk-FMDMI25K.js.map → chunk-V55WJSR4.js.map} +0 -0
  60. /package/dist/{chunk-YKBDH2UY.js.map → chunk-WL7XHLDK.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { K as FileMention } from './parts-Bg8qcDvB.js';
1
+ import { M as FileMention } from './parts-2ymE5cs-.js';
2
2
 
3
3
  /**
4
4
  * `createSandboxFileIndexRoute` — server side of `@`-file-mentions
@@ -1,6 +1,6 @@
1
- import { g as ChatMessagePart, L as ChatTurnRequestPayload, M as ChatTurnPartInput, N as ChatTurnFilePartInput, a as ChatAttachmentPart, C as ChatAttachmentKind, f as ChatMentionPart } from '../parts-Bg8qcDvB.js';
2
- export { O as ChatAttachmentInput, e as ChatMentionKind, P as ChatTurnInputError, Q as ChatTurnTextPartInput, R as DISPATCH_MAX_MEDIA_PARTS, T as DISPATCH_MAX_PARTS, U as DISPATCH_REQUEST_MAX_BYTES, V as DISPATCH_STRUCTURAL_RESERVE_BYTES, K as FileMention, W as FileMentionsToPartsOptions, X as INLINE_PARTS_MAX_BYTES, Y as MENTION_MAX_COUNT, Z as ProducerErrorEvent, _ as ProducerNoticeEvent, $ as ProducerPassthroughEvent, a0 as ProducerPassthroughEventType, a1 as ProducerReasoningEvent, a2 as ProducerTextEvent, a3 as ProducerToolCallEvent, a4 as ProducerToolResultEvent, a5 as ProducerUsageEvent, a6 as ProducerWireEvent, a7 as SandboxMentionPathCheck, a8 as assertPromptPartsWithinCap, a9 as base64WireLen, aa as buildMentionPromptBlock, ab as chatTurnRequestInit, ac as fileMentionsToParts, ad as formatBytes, ae as mediaTypeForMentionPath, af as mentionKindForPath, ag as parseChatTurnParts, ah as parseFileMentions, ai as promptPartsByteSize, aj as validateSandboxMentionPath } from '../parts-Bg8qcDvB.js';
3
- export { A as ALLOWED_ATTACHMENT_SNIFFED_MIMES, a as ATTACHMENT_ACCEPT, b as ATTACHMENT_MAX_COUNT, c as AttachmentTypeCheckResult, C as CreateSandboxFileIndexRouteOptions, F as FileIndexAuthorization, d as FileIndexCache, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse, M as MAX_ATTACHMENT_TOTAL_BYTES, h as MAX_BINARY_ATTACHMENT_BYTES, i as MAX_TEXT_ATTACHMENT_BYTES, S as SandboxFileTreeSource, j as SandboxTreeFile, k as SandboxTreeResult, l as SniffResult, m as attachmentSizeErrorMessage, n as attachmentTotalSizeErrorMessage, o as checkAttachmentType, p as createSandboxFileIndexRoute, s as sanitizeAttachmentFileName, q as sniffBinary } from '../attachment-validation-B2FFna9E.js';
1
+ import { g as ChatMessagePart, N as ChatTurnRequestPayload, O as ChatTurnPartInput, P as ChatTurnFilePartInput, a as ChatAttachmentPart, C as ChatAttachmentKind, f as ChatMentionPart } from '../parts-2ymE5cs-.js';
2
+ export { Q as ChatAttachmentInput, e as ChatMentionKind, R as ChatTurnInputError, T as ChatTurnTextPartInput, U as DISPATCH_MAX_MEDIA_PARTS, V as DISPATCH_MAX_PARTS, W as DISPATCH_REQUEST_MAX_BYTES, X as DISPATCH_STRUCTURAL_RESERVE_BYTES, M as FileMention, Y as FileMentionsToPartsOptions, Z as INLINE_PARTS_MAX_BYTES, _ as MENTION_MAX_COUNT, $ as ProducerErrorEvent, a0 as ProducerNoticeEvent, a1 as ProducerPassthroughEvent, a2 as ProducerPassthroughEventType, a3 as ProducerReasoningEvent, a4 as ProducerTextEvent, a5 as ProducerToolCallEvent, a6 as ProducerToolResultEvent, a7 as ProducerUsageEvent, a8 as ProducerWireEvent, a9 as SandboxMentionPathCheck, aa as assertPromptPartsWithinCap, ab as base64WireLen, ac as buildMentionPromptBlock, ad as chatTurnRequestInit, ae as fileMentionsToParts, af as formatBytes, ag as mediaTypeForMentionPath, ah as mentionKindForPath, ai as parseChatTurnParts, aj as parseFileMentions, ak as promptPartsByteSize, al as validateSandboxMentionPath } from '../parts-2ymE5cs-.js';
3
+ export { A as ALLOWED_ATTACHMENT_SNIFFED_MIMES, a as ATTACHMENT_ACCEPT, b as ATTACHMENT_MAX_COUNT, c as AttachmentTypeCheckResult, C as CreateSandboxFileIndexRouteOptions, F as FileIndexAuthorization, d as FileIndexCache, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse, M as MAX_ATTACHMENT_TOTAL_BYTES, h as MAX_BINARY_ATTACHMENT_BYTES, i as MAX_TEXT_ATTACHMENT_BYTES, S as SandboxFileTreeSource, j as SandboxTreeFile, k as SandboxTreeResult, l as SniffResult, m as attachmentSizeErrorMessage, n as attachmentTotalSizeErrorMessage, o as checkAttachmentType, p as createSandboxFileIndexRoute, s as sanitizeAttachmentFileName, q as sniffBinary } from '../attachment-validation-Dv1A_Puy.js';
4
4
  import { ChatTurnIdentity, ChatTurnProducer } from '@tangle-network/agent-runtime';
5
5
  import { InteractionAnswerRoute, InteractionAnswerRouteOptions } from '../interactions/index.js';
6
6
  import { PersistedChatMessageForTurn } from '../stream/index.js';
@@ -10,6 +10,7 @@ import { J as JsonRecord } from '../stream-normalizer-QYUl4vnl.js';
10
10
  import { SandboxExecChannel, PromptInputPart } from '../sandbox/index.js';
11
11
  import '@tangle-network/agent-interface';
12
12
  import '../contract-B3h7peV3.js';
13
+ import '../types-CEchbvgz.js';
13
14
  import '../plans/index.js';
14
15
  import '@tangle-network/sandbox';
15
16
  import '../auth-_FU8w01b.js';
@@ -11,7 +11,7 @@ import {
11
11
  createSandboxFileIndexRoute,
12
12
  sanitizeAttachmentFileName,
13
13
  sniffBinary
14
- } from "../chunk-FMDMI25K.js";
14
+ } from "../chunk-V55WJSR4.js";
15
15
  import {
16
16
  DEFAULT_STALE_TURN_LOCK_GRACE_MS,
17
17
  DEFAULT_TERMINAL_TURN_LOCK_GRACE_MS,
@@ -54,7 +54,8 @@ import {
54
54
  promptPartsByteSize,
55
55
  toChatMessageParts,
56
56
  validateSandboxMentionPath
57
- } from "../chunk-X3N2H6JE.js";
57
+ } from "../chunk-AFNTRJQ7.js";
58
+ import "../chunk-F2CBC4DY.js";
58
59
  import {
59
60
  asRecord,
60
61
  asString,
@@ -87,11 +88,12 @@ import {
87
88
  statSandboxFileSize
88
89
  } from "../chunk-3ALFBTIW.js";
89
90
  import "../chunk-CQZSAR77.js";
90
- import "../chunk-YKBDH2UY.js";
91
+ import "../chunk-WL7XHLDK.js";
91
92
  import "../chunk-3EJ6SFJI.js";
92
93
  import "../chunk-S5SRJJQG.js";
93
94
  import "../chunk-JML7WKWU.js";
94
- import "../chunk-7CTIUCQ4.js";
95
+ import "../chunk-UOAYS72M.js";
96
+ import "../chunk-YEFFHORB.js";
95
97
 
96
98
  // src/chat-routes/turn-routes.ts
97
99
  import { deriveExecutionId, handleChatTurn } from "@tangle-network/agent-runtime";