@tangle-network/agent-app 0.44.34 → 0.44.36
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.d.ts +4 -4
- package/dist/assistant/index.js +5 -5
- package/dist/{attachment-validation-CNkH91Gs.d.ts → attachment-validation-CsmUzuI3.d.ts} +1 -1
- package/dist/chat-react/index.d.ts +2 -2
- package/dist/chat-react/index.js +3 -3
- package/dist/chat-routes/index.d.ts +4 -4
- package/dist/chat-routes/index.js +4 -4
- package/dist/chat-store/index.d.ts +3 -3
- package/dist/chat-store/index.js +2 -2
- package/dist/{chunk-4OO7P3ZF.js → chunk-6MUJROBT.js} +2 -2
- package/dist/{chunk-7WXG4ZFP.js → chunk-JYHMNFFU.js} +1 -1
- package/dist/{chunk-7WXG4ZFP.js.map → chunk-JYHMNFFU.js.map} +1 -1
- package/dist/{chunk-QYAQGCHF.js → chunk-KWXUBMXU.js} +1 -1
- package/dist/chunk-KWXUBMXU.js.map +1 -0
- package/dist/{chunk-NDVTYHLN.js → chunk-LNRDDXME.js} +26 -12
- package/dist/chunk-LNRDDXME.js.map +1 -0
- package/dist/{chunk-4PUMUTLU.js → chunk-UXMIPX3Z.js} +2 -2
- package/dist/{chunk-IYLJS6VW.js → chunk-WBHPN5DY.js} +2 -2
- package/dist/{parts-7fbe2rj8.d.ts → parts-F8W3-iry.d.ts} +1 -1
- package/dist/sandbox/index.d.ts +3 -3
- package/dist/sandbox/index.js +1 -1
- package/dist/theme/tokens.css +7 -0
- package/dist/{use-file-mentions-E6a7_cbH.d.ts → use-file-mentions-CZ-Ua_sb.d.ts} +1 -1
- package/dist/web-react/index.d.ts +10 -7
- package/dist/web-react/index.js +5 -5
- package/dist/{wire-DSp4LzEE.d.ts → wire-DOZ-O6hD.d.ts} +9 -5
- package/package.json +1 -1
- package/dist/chunk-NDVTYHLN.js.map +0 -1
- package/dist/chunk-QYAQGCHF.js.map +0 -1
- /package/dist/{chunk-4OO7P3ZF.js.map → chunk-6MUJROBT.js.map} +0 -0
- /package/dist/{chunk-4PUMUTLU.js.map → chunk-UXMIPX3Z.js.map} +0 -0
- /package/dist/{chunk-IYLJS6VW.js.map → chunk-WBHPN5DY.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ZVEEWGDK.js";
|
|
4
4
|
import {
|
|
5
5
|
mentionKindForPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KWXUBMXU.js";
|
|
7
7
|
import {
|
|
8
8
|
persistedPartToInteraction
|
|
9
9
|
} from "./chunk-3ZK5IJSW.js";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
buildAttachmentPromptBlock,
|
|
156
156
|
historyContentWithAttachments
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-UXMIPX3Z.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatBytes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KWXUBMXU.js";
|
|
4
4
|
|
|
5
5
|
// src/chat-routes/binary-sniff.ts
|
|
6
6
|
function bytesStartWith(bytes, offset, signature) {
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
attachmentSizeErrorMessage,
|
|
156
156
|
attachmentTotalSizeErrorMessage
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-WBHPN5DY.js.map
|
|
@@ -2,7 +2,7 @@ import { Part } from '@tangle-network/agent-interface';
|
|
|
2
2
|
import { C as ChatInteractionField, a as ChatInteractionStatus, I as InteractionAnswers, N as NoticeKind } from './contract-CQNvv5th.js';
|
|
3
3
|
import { W as WorkProductPersistedPart } from './types-CCeYywdS.js';
|
|
4
4
|
import { ChatPlanPersistedPart } from './plans/index.js';
|
|
5
|
-
import { C as ChatMentionKind, a as ChatAttachmentKind, b as ChatAttachmentInput, F as FileMention } from './wire-
|
|
5
|
+
import { C as ChatMentionKind, a as ChatAttachmentKind, b as ChatAttachmentInput, F as FileMention } from './wire-DOZ-O6hD.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The stored shape of `message.parts` — one typed vocabulary for every part a
|
package/dist/sandbox/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SandboxInstance, ProvisionEvent, StorageConfig, ScopedTokenScope, TurnDriveResult, Sandbox, MintScopedTokenOptions } from '@tangle-network/sandbox';
|
|
2
2
|
export { StorageConfig } from '@tangle-network/sandbox';
|
|
3
|
-
import { AgentProfileMcpServer, AgentProfileFileMount, AgentProfile } from '@tangle-network/agent-interface';
|
|
3
|
+
import { ReasoningEffort, AgentProfileMcpServer, AgentProfileFileMount, AgentProfile } from '@tangle-network/agent-interface';
|
|
4
4
|
import { T as ToolHeaderNames } from '../auth-DJs6lfAs.js';
|
|
5
5
|
import { a as AppToolName, A as AppToolContext } from '../types-DbU-oO5h.js';
|
|
6
6
|
import { Harness } from '../harness/index.js';
|
|
@@ -1168,7 +1168,7 @@ declare function mergeHistoryIntoParts(parts: PromptInputPart[], history?: Array
|
|
|
1168
1168
|
/** Resolve conflicts and merge extra MCP profiles into the app tool MCP without overwriting existing keys */
|
|
1169
1169
|
declare function mergeExtraMcp(appToolMcp: Record<string, AgentProfileMcpServer>, baseProfileMcp: Record<string, AgentProfileMcpServer>, extra: Record<string, AgentProfileMcpServer> | undefined): Record<string, AgentProfileMcpServer>;
|
|
1170
1170
|
/** Attach a specified reasoning effort level to an agent profile for a given harness */
|
|
1171
|
-
declare function attachReasoningEffort(profile: AgentProfile, harness: Harness, effort: 'auto' |
|
|
1171
|
+
declare function attachReasoningEffort(profile: AgentProfile, harness: Harness, effort: 'auto' | ReasoningEffort | undefined): AgentProfile;
|
|
1172
1172
|
/** Define options for configuring and controlling a streaming sandbox prompt session */
|
|
1173
1173
|
interface StreamSandboxPromptOptions {
|
|
1174
1174
|
sessionId?: string;
|
|
@@ -1185,7 +1185,7 @@ interface StreamSandboxPromptOptions {
|
|
|
1185
1185
|
content: string;
|
|
1186
1186
|
}>;
|
|
1187
1187
|
harness?: Harness;
|
|
1188
|
-
effort?: 'auto' |
|
|
1188
|
+
effort?: 'auto' | ReasoningEffort;
|
|
1189
1189
|
appToolMcp?: Record<string, AgentProfileMcpServer>;
|
|
1190
1190
|
baseProfileMcp?: Record<string, AgentProfileMcpServer>;
|
|
1191
1191
|
extraMcp?: Record<string, AgentProfileMcpServer>;
|
package/dist/sandbox/index.js
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
verifySandboxTerminalToken,
|
|
71
71
|
verifyTerminalProxyToken,
|
|
72
72
|
writeProfileFilesToBox
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-JYHMNFFU.js";
|
|
74
74
|
import "../chunk-LWSJK546.js";
|
|
75
75
|
import "../chunk-CQZSAR77.js";
|
|
76
76
|
import "../chunk-ICOHEZK6.js";
|
package/dist/theme/tokens.css
CHANGED
|
@@ -115,3 +115,10 @@
|
|
|
115
115
|
background: var(--editor-selection-background);
|
|
116
116
|
color: var(--editor-selection-foreground);
|
|
117
117
|
}
|
|
118
|
+
|
|
119
|
+
/* A product-supplied Markdown renderer may carry its own base text utility.
|
|
120
|
+
* Message size is a ChatMessages contract, so the rendered copy must inherit
|
|
121
|
+
* that choice while headings and inline code can still scale with em units. */
|
|
122
|
+
.agent-app-message-copy > * {
|
|
123
|
+
font-size: inherit;
|
|
124
|
+
}
|
|
@@ -5,12 +5,12 @@ export { f as ChatFreeTextField, g as ComposerAnswerDelivery, h as INTERACTION_C
|
|
|
5
5
|
import { ChatPlan } from '../plans/index.js';
|
|
6
6
|
import { InteractionData } from '@tangle-network/agent-interface';
|
|
7
7
|
export { InteractionData, InteractionOutcome, InteractionRequest } from '@tangle-network/agent-interface';
|
|
8
|
-
import { e as ChatMentionPart, a as ChatAttachmentPart } from '../parts-
|
|
9
|
-
export { s as attachmentInputToPart, t as attachmentKindForMime, u as attachmentPartsFromMessageParts, x as isChatAttachmentPart, H as mentionInputToPart, I as mentionPartsFromMessageParts } from '../parts-
|
|
8
|
+
import { e as ChatMentionPart, a as ChatAttachmentPart } from '../parts-F8W3-iry.js';
|
|
9
|
+
export { s as attachmentInputToPart, t as attachmentKindForMime, u as attachmentPartsFromMessageParts, x as isChatAttachmentPart, H as mentionInputToPart, I as mentionPartsFromMessageParts } from '../parts-F8W3-iry.js';
|
|
10
10
|
import { E as EvidenceEntry, g as ExceptionEntry, b as WorkProductProvenance, P as ProfileBacktestSummary, Q as QualityCheck, W as WorkProductPersistedPart, h as WorkProductStatus } from '../types-CCeYywdS.js';
|
|
11
|
-
export { C as ComposerMentionProp, D as DEFAULT_MENTION_EMPTY_TEXT, a as DEFAULT_MENTION_LIMIT, I as INDEX_REFRESH_AFTER_MS, M as MentionItem, b as UseFileMentionsOptions, U as UseFileMentionsResult, r as rankFileMentions, u as useFileMentions } from '../use-file-mentions-
|
|
12
|
-
import { a as ChatAttachmentKind, b as ChatAttachmentInput } from '../wire-
|
|
13
|
-
export { C as ChatMentionKind, e as ChatTurnFilePartInput, d as ChatTurnPartInput, c as ChatTurnRequestPayload, D as DISPATCH_MAX_MEDIA_PARTS,
|
|
11
|
+
export { C as ComposerMentionProp, D as DEFAULT_MENTION_EMPTY_TEXT, a as DEFAULT_MENTION_LIMIT, I as INDEX_REFRESH_AFTER_MS, M as MentionItem, b as UseFileMentionsOptions, U as UseFileMentionsResult, r as rankFileMentions, u as useFileMentions } from '../use-file-mentions-CZ-Ua_sb.js';
|
|
12
|
+
import { a as ChatAttachmentKind, b as ChatAttachmentInput } from '../wire-DOZ-O6hD.js';
|
|
13
|
+
export { C as ChatMentionKind, e as ChatTurnFilePartInput, d as ChatTurnPartInput, c as ChatTurnRequestPayload, 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, 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, w as base64WireLen, x as buildMentionPromptBlock, y as chatTurnRequestInit, z as fileMentionsToParts, B as mediaTypeForMentionPath, E as mentionKindForPath } from '../wire-DOZ-O6hD.js';
|
|
14
14
|
import { S as StepAgentActivity } from '../agent-activity-C8ZG0F0M.js';
|
|
15
15
|
import { F as FlowTrace } from '../flow-types-CJxEmaRy.js';
|
|
16
16
|
import { a as ReviewQueueItem, c as ReviewQueueState } from '../queue-VTBA5ONX.js';
|
|
@@ -19,7 +19,7 @@ export { S as SandboxTerminalConnection, a as SandboxTerminalConnectionResponse,
|
|
|
19
19
|
import { i as ProductSeatOffer } from '../billing-BibxgALe.js';
|
|
20
20
|
import { CatalogModel } from '../catalog/index.js';
|
|
21
21
|
import { Harness } from '../harness/index.js';
|
|
22
|
-
export { a as ATTACHMENT_ACCEPT, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse } from '../attachment-validation-
|
|
22
|
+
export { a as ATTACHMENT_ACCEPT, e as FileIndexReadyResponse, f as FileIndexResponse, g as FileIndexWarmingResponse } from '../attachment-validation-CsmUzuI3.js';
|
|
23
23
|
export { a as attachmentPartKey } from '../stream-normalizer-CnPnMaTp.js';
|
|
24
24
|
import '../billing/index.js';
|
|
25
25
|
|
|
@@ -1283,6 +1283,9 @@ interface ChatUiMessage extends ChatMessageMetrics {
|
|
|
1283
1283
|
/** Define properties for rendering chat messages with optional models, markdown, extras, and durable cards */
|
|
1284
1284
|
interface ChatMessagesProps {
|
|
1285
1285
|
messages: ChatUiMessage[];
|
|
1286
|
+
/** Shared reading scale for both user and assistant prose. Defaults to 16px;
|
|
1287
|
+
* `large` uses 17px without enlarging labels, tool chrome, or metadata. */
|
|
1288
|
+
messageSize?: 'default' | 'large';
|
|
1286
1289
|
/** Catalogue models, for per-message cost from pricing. Pass [] to skip cost. */
|
|
1287
1290
|
models?: CatalogModel[];
|
|
1288
1291
|
/** Markdown renderer for assistant content; default renders pre-wrapped text. */
|
|
@@ -1379,6 +1382,6 @@ declare function useThinkingSeconds(active: boolean): number;
|
|
|
1379
1382
|
* model id, tokens/sec, and cost, plus a collapsible thinking section and
|
|
1380
1383
|
* tool-call chips.
|
|
1381
1384
|
*/
|
|
1382
|
-
declare function ChatMessages({ messages, models, renderMarkdown, renderExtras, durableCards, userLabel, agentLabel, loading, approval, onToolCallClick, toolRenderers, error, onRetry, renderEmpty, emptyState, header, resolveAttachmentUrl, workProductCards, }: ChatMessagesProps): react.JSX.Element;
|
|
1385
|
+
declare function ChatMessages({ messages, messageSize, models, renderMarkdown, renderExtras, durableCards, userLabel, agentLabel, loading, approval, onToolCallClick, toolRenderers, error, onRetry, renderEmpty, emptyState, header, resolveAttachmentUrl, workProductCards, }: ChatMessagesProps): react.JSX.Element;
|
|
1383
1386
|
|
|
1384
1387
|
export { type ActivityTone, type AgentActivityPage, AgentActivityPanel, type AgentActivityPanelProps, type AgentActivityRecord, AgentSessionControls, type AgentSessionControlsProps, type AttachmentFileResult, CatalogModel, ChatAttachmentInput, ChatAttachmentKind, ChatAttachmentPart, ChatComposer, type ChatComposerProps, type ChatEmptyDoor, ChatEmptyState, type ChatEmptyStateProps, ChatInteraction, ChatInteractionField, type ChatInteractionRestoreMode, ChatInteractionStatus, ChatMentionPart, type ChatMessageMetrics, type ChatMessageSegment, ChatMessages, type ChatMessagesProps, ChatSelectField, type ChatStreamCallbacks, type ChatStreamToolCall, type ChatStreamToolResult, type ChatToolCallInfo, type ChatUiMessage, type ComposerFile, type ComposerFilePart, type ConsumeChatStreamResult, DEFAULT_EFFORT_LEVELS, type DurableChatCard, DurableChatCards, type DurableChatCardsProps, type DurableInteractionAnswerSubmitterOptions, DurablePlanCard, type DurablePlanCardProps, DurablePlanClientError, type DurablePlanCurrentInput, type DurablePlanDecision, type DurablePlanDecisionClient, type DurablePlanDecisionClientOptions, type DurablePlanDecisionInput, type DurablePlanDecisionResult, type DurablePlanFollowUpReceipt, type EffortLevel, EffortPicker, type EffortPickerProps, EvidenceLineageTable, type EvidenceLineageTableProps, ExceptionList, type ExceptionListProps, type FieldValues, FlowWaterfall, type FlowWaterfallProps, INTERACTION_SUBMIT_TIMEOUT_MESSAGE, INTERACTION_SUBMIT_TIMEOUT_MS, InteractionActionButton, type InteractionAnswerSubmission, type InteractionAnswerSubmitterOptions, InteractionAnswers, type InteractionAttemptStore, InteractionBadge, type InteractionBadgeVariant, InteractionCancelData, InteractionPlanCard, type InteractionPlanCardProps, InteractionQuestionCard, type InteractionQuestionCardProps, InteractionRequestWire, type InteractionSubmitResult, type MentionTextSegment, MessageAttachments, type MessageAttachmentsProps, MissionActivityLane, type MissionActivityLaneProps, ModelPicker, type ModelPickerProps, type ProposalApprovalHandlers, ProvenanceStamp, type ProvenanceStampProps, ProviderLogo, type ProviderLogoProps, QualityCheckList, type QualityCheckListProps, QuestionOptionList, type QuestionOptionListProps, type RestoreChatInteractionsOptions, ReviewQueueItem, type ReviewQueuePage, ReviewQueuePanel, type ReviewQueuePanelProps, ReviewQueueState, RunDrillIn, type RunDrillInProps, SeatPaywall, type SeatPaywallProps, type SmoothRevealOptions, type StreamChatOptions, type SubmitInteractionAnswer, type ToolDetailRenderers, type ToolRunRecord, type ToolRunStep, type UseChatInteractionsOptions, type UseChatInteractionsResult, type UseComposerAttachmentsOptions, type UseComposerAttachmentsResult, type UseDurablePlanFlowOptions, type UseDurablePlanFlowResult, type WaterfallRow, WorkProductCard, type WorkProductCardProps, __resetAttachmentFileCacheForTests, activityTone, buildAnswerData, cancelChatInteraction, consumeChatStream, createDurableInteractionAnswerSubmitter, createDurablePlanDecisionClient, createInteractionAnswerSubmitter, createMemoryInteractionAttemptStore, createSessionInteractionAttemptStore, dispatchChatStreamLine, durableChatCardsFromParts, fieldAnswer, fieldValuesFromAnswers, formatActivityCost, formatActivityDuration, formatModelCost, formatTokensPerSecond, hasSecretField, hydrateChatInteractions, interactionStatusLabels, interactionSubmissionSignature, interactionTerminalNotes, isLateAnswerableStatus, lateAnswerMessage, loadAttachmentFile, mergeActivityPages, mergeReviewQueuePages, nextRevealCount, pendingApprovalOf, resolveChatInteraction, responseErrorMessage, restoreChatInteractions, reviewQueueStateLabel, segmentMentionContent, settleInteractionSubmit, streamChatTurn, terminalizePendingChatInteractions, triggerAttachmentDownload, upsertChatInteraction, useChatInteractions, useComposerAttachments, useDurablePlanFlow, usePending, usePopover, useSmoothText, useThinkingSeconds, waterfallLayout, workProductPartsFromMessageParts, workProductStatusLabel };
|
package/dist/web-react/index.js
CHANGED
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
useSmoothText,
|
|
74
74
|
useThinkingSeconds,
|
|
75
75
|
waterfallLayout
|
|
76
|
-
} from "../chunk-
|
|
76
|
+
} from "../chunk-LNRDDXME.js";
|
|
77
77
|
import "../chunk-FBVLEGEG.js";
|
|
78
78
|
import {
|
|
79
79
|
EvidenceLineageTable,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "../chunk-GEYACSFW.js";
|
|
93
93
|
import {
|
|
94
94
|
useComposerAttachments
|
|
95
|
-
} from "../chunk-
|
|
95
|
+
} from "../chunk-6MUJROBT.js";
|
|
96
96
|
import {
|
|
97
97
|
tabTerminalConnectionId,
|
|
98
98
|
useSandboxTerminalConnection
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
import "../chunk-QY4BRKRJ.js";
|
|
101
101
|
import {
|
|
102
102
|
ATTACHMENT_ACCEPT
|
|
103
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-WBHPN5DY.js";
|
|
104
104
|
import {
|
|
105
105
|
attachmentInputToPart,
|
|
106
106
|
attachmentKindForMime,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
isChatAttachmentPart,
|
|
109
109
|
mentionInputToPart,
|
|
110
110
|
mentionPartsFromMessageParts
|
|
111
|
-
} from "../chunk-
|
|
111
|
+
} from "../chunk-UXMIPX3Z.js";
|
|
112
112
|
import "../chunk-ZVEEWGDK.js";
|
|
113
113
|
import {
|
|
114
114
|
DISPATCH_MAX_MEDIA_PARTS,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
fileMentionsToParts,
|
|
122
122
|
mediaTypeForMentionPath,
|
|
123
123
|
mentionKindForPath
|
|
124
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-KWXUBMXU.js";
|
|
125
125
|
import {
|
|
126
126
|
attachmentPartKey
|
|
127
127
|
} from "../chunk-5EPIPT4V.js";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ReasoningEffort } from '@tangle-network/agent-interface';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Wire contract between the chat client (composer + `streamChatTurn`) and the
|
|
3
|
-
* assembled server vertical (`createChatTurnRoutes`).
|
|
4
|
-
* `/web-react` re-exports these types into browser bundles, so nothing
|
|
5
|
-
* reach a Node builtin or an engine package.
|
|
5
|
+
* assembled server vertical (`createChatTurnRoutes`). Runtime-import-free on
|
|
6
|
+
* purpose: `/web-react` re-exports these types into browser bundles, so nothing
|
|
7
|
+
* here may reach a Node builtin or an engine package.
|
|
6
8
|
*
|
|
7
9
|
* The client part shape permits an absolute file path until the server converts
|
|
8
10
|
* it to the URL required by the sandbox SDK. It is derived here, not imported,
|
|
@@ -25,6 +27,8 @@ interface ChatTurnFilePartInput {
|
|
|
25
27
|
}
|
|
26
28
|
/** Resolve input as either a text part or a file part of a chat turn */
|
|
27
29
|
type ChatTurnPartInput = ChatTurnTextPartInput | ChatTurnFilePartInput;
|
|
30
|
+
/** A chat turn's automatic sentinel plus the canonical agent reasoning levels. */
|
|
31
|
+
type ChatReasoningEffort = 'auto' | ReasoningEffort;
|
|
28
32
|
/** Represent a text event produced by a source with a fixed type and associated text content */
|
|
29
33
|
interface ProducerTextEvent {
|
|
30
34
|
type: 'text';
|
|
@@ -135,7 +139,7 @@ interface ChatTurnRequestPayload {
|
|
|
135
139
|
* uploads still sends store-backed files here. */
|
|
136
140
|
attachments?: ChatAttachmentInput[];
|
|
137
141
|
model?: string;
|
|
138
|
-
effort?:
|
|
142
|
+
effort?: ChatReasoningEffort;
|
|
139
143
|
harness?: string;
|
|
140
144
|
/** Client-generated idempotency key for the logical turn (retry-safe). */
|
|
141
145
|
turnId?: string;
|
|
@@ -269,4 +273,4 @@ declare function parseFileMentions(raw: unknown): FileMention[];
|
|
|
269
273
|
* or throws `ChatTurnInputError` (400) naming the offending entry. */
|
|
270
274
|
declare function parseChatTurnParts(raw: unknown): ChatTurnFilePartInput[];
|
|
271
275
|
|
|
272
|
-
export {
|
|
276
|
+
export { formatBytes as A, mediaTypeForMentionPath as B, type ChatMentionKind as C, DISPATCH_MAX_MEDIA_PARTS as D, mentionKindForPath as E, type FileMention as F, parseChatTurnParts as G, parseFileMentions as H, INLINE_PARTS_MAX_BYTES as I, promptPartsByteSize as J, validateSandboxMentionPath as K, MENTION_MAX_COUNT as M, type ProducerErrorEvent as P, type SandboxMentionPathCheck as S, type ChatAttachmentKind as a, type ChatAttachmentInput as b, type ChatTurnRequestPayload as c, type ChatTurnPartInput as d, type ChatTurnFilePartInput as e, type ChatReasoningEffort as f, ChatTurnInputError as g, type ChatTurnTextPartInput as h, DISPATCH_MAX_PARTS as i, DISPATCH_REQUEST_MAX_BYTES as j, DISPATCH_STRUCTURAL_RESERVE_BYTES as k, type FileMentionsToPartsOptions as l, type ProducerNoticeEvent as m, type ProducerPassthroughEvent as n, type ProducerPassthroughEventType as o, type ProducerReasoningEvent as p, type ProducerTextEvent as q, type ProducerToolCallEvent as r, type ProducerToolResultEvent as s, type ProducerUsageEvent as t, type ProducerWireEvent as u, assertPromptPartsWithinCap as v, base64WireLen as w, buildMentionPromptBlock as x, chatTurnRequestInit as y, fileMentionsToParts as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-app",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.36",
|
|
4
4
|
"packageManager": "pnpm@10.33.4",
|
|
5
5
|
"description": "Application-shell framework for Tangle agent products: a bounded tool loop, the structured agent→app tool side channel, integration-hub client, per-workspace billing, and crypto — composed over the Tangle agent substrate through typed seams.",
|
|
6
6
|
"keywords": [
|