@tangle-network/agent-app 0.44.34 → 0.44.35

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 (30) hide show
  1. package/dist/assistant/index.d.ts +4 -4
  2. package/dist/assistant/index.js +5 -5
  3. package/dist/{attachment-validation-CNkH91Gs.d.ts → attachment-validation-CsmUzuI3.d.ts} +1 -1
  4. package/dist/chat-react/index.d.ts +2 -2
  5. package/dist/chat-react/index.js +3 -3
  6. package/dist/chat-routes/index.d.ts +4 -4
  7. package/dist/chat-routes/index.js +4 -4
  8. package/dist/chat-store/index.d.ts +3 -3
  9. package/dist/chat-store/index.js +2 -2
  10. package/dist/{chunk-4OO7P3ZF.js → chunk-6MUJROBT.js} +2 -2
  11. package/dist/{chunk-NDVTYHLN.js → chunk-AX63276Q.js} +3 -3
  12. package/dist/{chunk-7WXG4ZFP.js → chunk-JYHMNFFU.js} +1 -1
  13. package/dist/{chunk-7WXG4ZFP.js.map → chunk-JYHMNFFU.js.map} +1 -1
  14. package/dist/{chunk-QYAQGCHF.js → chunk-KWXUBMXU.js} +1 -1
  15. package/dist/chunk-KWXUBMXU.js.map +1 -0
  16. package/dist/{chunk-4PUMUTLU.js → chunk-UXMIPX3Z.js} +2 -2
  17. package/dist/{chunk-IYLJS6VW.js → chunk-WBHPN5DY.js} +2 -2
  18. package/dist/{parts-7fbe2rj8.d.ts → parts-F8W3-iry.d.ts} +1 -1
  19. package/dist/sandbox/index.d.ts +3 -3
  20. package/dist/sandbox/index.js +1 -1
  21. package/dist/{use-file-mentions-E6a7_cbH.d.ts → use-file-mentions-CZ-Ua_sb.d.ts} +1 -1
  22. package/dist/web-react/index.d.ts +6 -6
  23. package/dist/web-react/index.js +5 -5
  24. package/dist/{wire-DSp4LzEE.d.ts → wire-DOZ-O6hD.d.ts} +9 -5
  25. package/package.json +1 -1
  26. package/dist/chunk-QYAQGCHF.js.map +0 -1
  27. /package/dist/{chunk-4OO7P3ZF.js.map → chunk-6MUJROBT.js.map} +0 -0
  28. /package/dist/{chunk-NDVTYHLN.js.map → chunk-AX63276Q.js.map} +0 -0
  29. /package/dist/{chunk-4PUMUTLU.js.map → chunk-UXMIPX3Z.js.map} +0 -0
  30. /package/dist/{chunk-IYLJS6VW.js.map → chunk-WBHPN5DY.js.map} +0 -0
@@ -4,10 +4,10 @@ import { ToolDetailRenderers, ChatUiMessage } from '../web-react/index.js';
4
4
  import '../contract-CQNvv5th.js';
5
5
  import '@tangle-network/agent-interface';
6
6
  import '../plans/index.js';
7
- import '../parts-7fbe2rj8.js';
7
+ import '../parts-F8W3-iry.js';
8
8
  import '../types-CCeYywdS.js';
9
- import '../wire-DSp4LzEE.js';
10
- import '../use-file-mentions-E6a7_cbH.js';
9
+ import '../wire-DOZ-O6hD.js';
10
+ import '../use-file-mentions-CZ-Ua_sb.js';
11
11
  import '../agent-activity-C8ZG0F0M.js';
12
12
  import '../flow-types-CJxEmaRy.js';
13
13
  import '../queue-VTBA5ONX.js';
@@ -16,7 +16,7 @@ import '../billing-BibxgALe.js';
16
16
  import '../billing/index.js';
17
17
  import '../catalog/index.js';
18
18
  import '../harness/index.js';
19
- import '../attachment-validation-CNkH91Gs.js';
19
+ import '../attachment-validation-CsmUzuI3.js';
20
20
  import '../stream-normalizer-CnPnMaTp.js';
21
21
 
22
22
  /**
@@ -3,17 +3,17 @@ import {
3
3
  ChatMessages,
4
4
  ModelPicker,
5
5
  ProviderLogo
6
- } from "../chunk-NDVTYHLN.js";
6
+ } from "../chunk-AX63276Q.js";
7
7
  import "../chunk-FBVLEGEG.js";
8
8
  import "../chunk-YTMKRL3L.js";
9
9
  import "../chunk-GEYACSFW.js";
10
- import "../chunk-4OO7P3ZF.js";
10
+ import "../chunk-6MUJROBT.js";
11
11
  import "../chunk-HCOROIRT.js";
12
12
  import "../chunk-QY4BRKRJ.js";
13
- import "../chunk-IYLJS6VW.js";
14
- import "../chunk-4PUMUTLU.js";
13
+ import "../chunk-WBHPN5DY.js";
14
+ import "../chunk-UXMIPX3Z.js";
15
15
  import "../chunk-ZVEEWGDK.js";
16
- import "../chunk-QYAQGCHF.js";
16
+ import "../chunk-KWXUBMXU.js";
17
17
  import "../chunk-5EPIPT4V.js";
18
18
  import "../chunk-3ZK5IJSW.js";
19
19
  import "../chunk-YJMCRXQQ.js";
@@ -1,4 +1,4 @@
1
- import { F as FileMention } from './wire-DSp4LzEE.js';
1
+ import { F as FileMention } from './wire-DOZ-O6hD.js';
2
2
 
3
3
  /**
4
4
  * `createSandboxFileIndexRoute` — server side of `@`-file-mentions
@@ -6,8 +6,8 @@ import { ReasoningLevel, AgentComposer } from '@tangle-network/sandbox-ui/chat';
6
6
  export { ReasoningLevel } from '@tangle-network/sandbox-ui/chat';
7
7
  import { ReasoningEffort } from '@tangle-network/agent-interface';
8
8
  export { ReasoningEffort } from '@tangle-network/agent-interface';
9
- import { U as UseFileMentionsResult } from '../use-file-mentions-E6a7_cbH.js';
10
- import { b as ChatAttachmentInput, F as FileMention } from '../wire-DSp4LzEE.js';
9
+ import { U as UseFileMentionsResult } from '../use-file-mentions-CZ-Ua_sb.js';
10
+ import { b as ChatAttachmentInput, F as FileMention } from '../wire-DOZ-O6hD.js';
11
11
 
12
12
  /**
13
13
  * The model half of the composer's agent identity. `models` is the catalog the
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useComposerAttachments
3
- } from "../chunk-4OO7P3ZF.js";
3
+ } from "../chunk-6MUJROBT.js";
4
4
  import {
5
5
  ATTACHMENT_ACCEPT
6
- } from "../chunk-IYLJS6VW.js";
7
- import "../chunk-QYAQGCHF.js";
6
+ } from "../chunk-WBHPN5DY.js";
7
+ import "../chunk-KWXUBMXU.js";
8
8
 
9
9
  // src/chat-react/composer-agent-controls.tsx
10
10
  import { useCallback, useMemo, useRef } from "react";
@@ -1,8 +1,8 @@
1
- import { c as ChatTurnRequestPayload, d as ChatTurnPartInput, e as ChatTurnFilePartInput, a as ChatAttachmentKind } from '../wire-DSp4LzEE.js';
2
- export { b as ChatAttachmentInput, C as ChatMentionKind, f as ChatTurnInputError, g as ChatTurnTextPartInput, D as DISPATCH_MAX_MEDIA_PARTS, h as DISPATCH_MAX_PARTS, i as DISPATCH_REQUEST_MAX_BYTES, j as DISPATCH_STRUCTURAL_RESERVE_BYTES, F as FileMention, k as FileMentionsToPartsOptions, I as INLINE_PARTS_MAX_BYTES, M as MENTION_MAX_COUNT, P as ProducerErrorEvent, l as ProducerNoticeEvent, m as ProducerPassthroughEvent, n as ProducerPassthroughEventType, o as ProducerReasoningEvent, p as ProducerTextEvent, q as ProducerToolCallEvent, r as ProducerToolResultEvent, s as ProducerUsageEvent, t as ProducerWireEvent, S as SandboxMentionPathCheck, u as assertPromptPartsWithinCap, v as base64WireLen, w as buildMentionPromptBlock, x as chatTurnRequestInit, y as fileMentionsToParts, z as formatBytes, A as mediaTypeForMentionPath, B as mentionKindForPath, E as parseChatTurnParts, G as parseFileMentions, H as promptPartsByteSize, J as validateSandboxMentionPath } from '../wire-DSp4LzEE.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-CNkH91Gs.js';
1
+ import { c as ChatTurnRequestPayload, d as ChatTurnPartInput, e as ChatTurnFilePartInput, a as ChatAttachmentKind } from '../wire-DOZ-O6hD.js';
2
+ export { b as ChatAttachmentInput, C as ChatMentionKind, f as ChatReasoningEffort, g as ChatTurnInputError, h as ChatTurnTextPartInput, D as DISPATCH_MAX_MEDIA_PARTS, i as DISPATCH_MAX_PARTS, j as DISPATCH_REQUEST_MAX_BYTES, k as DISPATCH_STRUCTURAL_RESERVE_BYTES, F as FileMention, l as FileMentionsToPartsOptions, I as INLINE_PARTS_MAX_BYTES, M as MENTION_MAX_COUNT, P as ProducerErrorEvent, m as ProducerNoticeEvent, n as ProducerPassthroughEvent, o as ProducerPassthroughEventType, p as ProducerReasoningEvent, q as ProducerTextEvent, r as ProducerToolCallEvent, s as ProducerToolResultEvent, t as ProducerUsageEvent, u as ProducerWireEvent, S as SandboxMentionPathCheck, v as assertPromptPartsWithinCap, w as base64WireLen, x as buildMentionPromptBlock, y as chatTurnRequestInit, z as fileMentionsToParts, A as formatBytes, B as mediaTypeForMentionPath, E as mentionKindForPath, G as parseChatTurnParts, H as parseFileMentions, J as promptPartsByteSize, K as validateSandboxMentionPath } from '../wire-DOZ-O6hD.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-CsmUzuI3.js';
4
4
  import { ChatTurnIdentity, ChatTurnProducer } from '@tangle-network/agent-runtime/durable';
5
- import { C as ChatMessagePart, a as ChatAttachmentPart, e as ChatMentionPart } from '../parts-7fbe2rj8.js';
5
+ import { C as ChatMessagePart, a as ChatAttachmentPart, e as ChatMentionPart } from '../parts-F8W3-iry.js';
6
6
  import { InteractionAnswerRoute, InteractionAnswerRouteOptions } from '../interactions/index.js';
7
7
  import { PersistedChatMessageForTurn } from '../stream/index.js';
8
8
  import { T as TurnEventStore } from '../turn-buffer-BcPfhr1_.js';
@@ -13,7 +13,7 @@ import {
13
13
  checkAttachmentType,
14
14
  sanitizeAttachmentFileName,
15
15
  sniffBinary
16
- } from "../chunk-IYLJS6VW.js";
16
+ } from "../chunk-WBHPN5DY.js";
17
17
  import {
18
18
  coalesceDeltas,
19
19
  createBufferedTurnTap,
@@ -38,7 +38,7 @@ import {
38
38
  attachmentKindForMime,
39
39
  mentionInputToPart,
40
40
  toChatMessageParts
41
- } from "../chunk-4PUMUTLU.js";
41
+ } from "../chunk-UXMIPX3Z.js";
42
42
  import "../chunk-ZVEEWGDK.js";
43
43
  import {
44
44
  ChatTurnInputError,
@@ -60,7 +60,7 @@ import {
60
60
  parseFileMentions,
61
61
  promptPartsByteSize,
62
62
  validateSandboxMentionPath
63
- } from "../chunk-QYAQGCHF.js";
63
+ } from "../chunk-KWXUBMXU.js";
64
64
  import {
65
65
  asRecord,
66
66
  asString,
@@ -97,7 +97,7 @@ import {
97
97
  flattenHistory,
98
98
  readSandboxBinaryBytes,
99
99
  statSandboxFileSize
100
- } from "../chunk-7WXG4ZFP.js";
100
+ } from "../chunk-JYHMNFFU.js";
101
101
  import "../chunk-LWSJK546.js";
102
102
  import "../chunk-CQZSAR77.js";
103
103
  import "../chunk-ICOHEZK6.js";
@@ -1,10 +1,10 @@
1
- import { C as ChatMessagePart } from '../parts-7fbe2rj8.js';
2
- export { a as ChatAttachmentPart, b as ChatFilePart, c as ChatImagePart, d as ChatInteractionPart, e as ChatMentionPart, f as ChatNoticePart, g as ChatPartTime, h as ChatPlanPart, i as ChatReasoningPart, j as ChatStepFinishPart, k as ChatStepStartPart, l as ChatSubtaskPart, m as ChatTextPart, n as ChatToolPart, o as ChatToolState, p as ChatToolStatus, q as ChatUsageTokens, r as ChatWorkProductPart, D as DEFAULT_ATTACHMENT_PROMPT_HEADER, S as StorableHarnessPartKind, s as attachmentInputToPart, t as attachmentKindForMime, u as attachmentPartsFromMessageParts, v as buildAttachmentPromptBlock, w as historyContentWithAttachments, x as isChatAttachmentPart, y as isChatInteractionPart, z as isChatMentionPart, A as isChatPlanPart, B as isChatStepFinishPart, E as isChatTextPart, F as isChatToolPart, G as isChatWorkProductPart, H as mentionInputToPart, I as mentionPartsFromMessageParts, J as toChatMessageParts } from '../parts-7fbe2rj8.js';
1
+ import { C as ChatMessagePart } from '../parts-F8W3-iry.js';
2
+ export { a as ChatAttachmentPart, b as ChatFilePart, c as ChatImagePart, d as ChatInteractionPart, e as ChatMentionPart, f as ChatNoticePart, g as ChatPartTime, h as ChatPlanPart, i as ChatReasoningPart, j as ChatStepFinishPart, k as ChatStepStartPart, l as ChatSubtaskPart, m as ChatTextPart, n as ChatToolPart, o as ChatToolState, p as ChatToolStatus, q as ChatUsageTokens, r as ChatWorkProductPart, D as DEFAULT_ATTACHMENT_PROMPT_HEADER, S as StorableHarnessPartKind, s as attachmentInputToPart, t as attachmentKindForMime, u as attachmentPartsFromMessageParts, v as buildAttachmentPromptBlock, w as historyContentWithAttachments, x as isChatAttachmentPart, y as isChatInteractionPart, z as isChatMentionPart, A as isChatPlanPart, B as isChatStepFinishPart, E as isChatTextPart, F as isChatToolPart, G as isChatWorkProductPart, H as mentionInputToPart, I as mentionPartsFromMessageParts, J as toChatMessageParts } from '../parts-F8W3-iry.js';
3
3
  import * as drizzle_orm from 'drizzle-orm';
4
4
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
5
5
  import { SQLiteColumnBuilderBase, AnySQLiteTable, AnySQLiteColumn, BaseSQLiteDatabase } from 'drizzle-orm/sqlite-core';
6
6
  import { SqliteBatchDatabase } from '../store/index.js';
7
- export { a as ChatAttachmentKind, C as ChatMentionKind } from '../wire-DSp4LzEE.js';
7
+ export { a as ChatAttachmentKind, C as ChatMentionKind } from '../wire-DOZ-O6hD.js';
8
8
  export { a as attachmentPartKey } from '../stream-normalizer-CnPnMaTp.js';
9
9
  import '@tangle-network/agent-interface';
10
10
  import '../contract-CQNvv5th.js';
@@ -19,9 +19,9 @@ import {
19
19
  mentionInputToPart,
20
20
  mentionPartsFromMessageParts,
21
21
  toChatMessageParts
22
- } from "../chunk-4PUMUTLU.js";
22
+ } from "../chunk-UXMIPX3Z.js";
23
23
  import "../chunk-ZVEEWGDK.js";
24
- import "../chunk-QYAQGCHF.js";
24
+ import "../chunk-KWXUBMXU.js";
25
25
  import {
26
26
  attachmentPartKey
27
27
  } from "../chunk-5EPIPT4V.js";
@@ -9,7 +9,7 @@ import {
9
9
  checkAttachmentType,
10
10
  sanitizeAttachmentFileName,
11
11
  sniffBinary
12
- } from "./chunk-IYLJS6VW.js";
12
+ } from "./chunk-WBHPN5DY.js";
13
13
 
14
14
  // src/web-react/use-composer-attachments.ts
15
15
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -289,4 +289,4 @@ function useComposerAttachments(options) {
289
289
  export {
290
290
  useComposerAttachments
291
291
  };
292
- //# sourceMappingURL=chunk-4OO7P3ZF.js.map
292
+ //# sourceMappingURL=chunk-6MUJROBT.js.map
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-YTMKRL3L.js";
8
8
  import {
9
9
  attachmentPartsFromMessageParts
10
- } from "./chunk-4PUMUTLU.js";
10
+ } from "./chunk-UXMIPX3Z.js";
11
11
  import {
12
12
  formatBytes
13
- } from "./chunk-QYAQGCHF.js";
13
+ } from "./chunk-KWXUBMXU.js";
14
14
  import {
15
15
  cancelStatusFor,
16
16
  fieldAcceptsFreeText,
@@ -3698,4 +3698,4 @@ export {
3698
3698
  useThinkingSeconds,
3699
3699
  ChatMessages
3700
3700
  };
3701
- //# sourceMappingURL=chunk-NDVTYHLN.js.map
3701
+ //# sourceMappingURL=chunk-AX63276Q.js.map
@@ -1978,4 +1978,4 @@ export {
1978
1978
  isTerminalPromptEvent,
1979
1979
  detectInteractiveQuestion
1980
1980
  };
1981
- //# sourceMappingURL=chunk-7WXG4ZFP.js.map
1981
+ //# sourceMappingURL=chunk-JYHMNFFU.js.map