@tangle-network/agent-app 0.11.1 → 0.13.0

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 (61) hide show
  1. package/dist/DesignCanvas-3JEEIT6Y.js +10 -0
  2. package/dist/DesignCanvas-3JEEIT6Y.js.map +1 -0
  3. package/dist/DesignCanvasEditor-37LPJIIR.js +9 -0
  4. package/dist/DesignCanvasEditor-37LPJIIR.js.map +1 -0
  5. package/dist/TimelineEditor-OXPJZDP2.js +12 -0
  6. package/dist/TimelineEditor-OXPJZDP2.js.map +1 -0
  7. package/dist/apply-Cp8c3K9D.d.ts +249 -0
  8. package/dist/chunk-2Q73HGDI.js +1743 -0
  9. package/dist/chunk-2Q73HGDI.js.map +1 -0
  10. package/dist/chunk-6UOE5CTA.js +1647 -0
  11. package/dist/chunk-6UOE5CTA.js.map +1 -0
  12. package/dist/chunk-7QCIYDGC.js +1119 -0
  13. package/dist/chunk-7QCIYDGC.js.map +1 -0
  14. package/dist/chunk-A76ZHWNF.js +194 -0
  15. package/dist/chunk-A76ZHWNF.js.map +1 -0
  16. package/dist/chunk-ABGSFUJQ.js +111 -0
  17. package/dist/chunk-ABGSFUJQ.js.map +1 -0
  18. package/dist/{chunk-4YTWB5MG.js → chunk-ETX4O4BB.js} +98 -1
  19. package/dist/chunk-ETX4O4BB.js.map +1 -0
  20. package/dist/chunk-F5KTWRO7.js +2276 -0
  21. package/dist/chunk-F5KTWRO7.js.map +1 -0
  22. package/dist/chunk-IHR6K3GF.js +2367 -0
  23. package/dist/chunk-IHR6K3GF.js.map +1 -0
  24. package/dist/chunk-JZAJE3JL.js +990 -0
  25. package/dist/chunk-JZAJE3JL.js.map +1 -0
  26. package/dist/chunk-ZYBWGSAZ.js +130 -0
  27. package/dist/chunk-ZYBWGSAZ.js.map +1 -0
  28. package/dist/design-canvas/drizzle.d.ts +569 -0
  29. package/dist/design-canvas/drizzle.js +183 -0
  30. package/dist/design-canvas/drizzle.js.map +1 -0
  31. package/dist/design-canvas/index.d.ts +261 -0
  32. package/dist/design-canvas/index.js +96 -0
  33. package/dist/design-canvas/index.js.map +1 -0
  34. package/dist/design-canvas-react/index.d.ts +916 -0
  35. package/dist/design-canvas-react/index.js +423 -0
  36. package/dist/design-canvas-react/index.js.map +1 -0
  37. package/dist/export-presets-Dl5Aa5xj.d.ts +284 -0
  38. package/dist/index.d.ts +11 -2
  39. package/dist/index.js +224 -6
  40. package/dist/mcp-CIupfjxV.d.ts +112 -0
  41. package/dist/mcp-rpc-DLw_r9PQ.d.ts +55 -0
  42. package/dist/model-BHLN208Z.d.ts +183 -0
  43. package/dist/runtime/index.d.ts +108 -1
  44. package/dist/runtime/index.js +7 -1
  45. package/dist/sequences/drizzle.d.ts +1244 -0
  46. package/dist/sequences/drizzle.js +368 -0
  47. package/dist/sequences/drizzle.js.map +1 -0
  48. package/dist/sequences/index.d.ts +331 -0
  49. package/dist/sequences/index.js +114 -0
  50. package/dist/sequences/index.js.map +1 -0
  51. package/dist/sequences-react/index.d.ts +752 -0
  52. package/dist/sequences-react/index.js +241 -0
  53. package/dist/sequences-react/index.js.map +1 -0
  54. package/dist/store-CUStmtdH.d.ts +64 -0
  55. package/dist/store-gckrNq-g.d.ts +242 -0
  56. package/dist/tools/index.d.ts +25 -108
  57. package/dist/tools/index.js +16 -6
  58. package/package.json +62 -2
  59. package/dist/chunk-4YTWB5MG.js.map +0 -1
  60. package/dist/chunk-OLCVUGGI.js +0 -137
  61. package/dist/chunk-OLCVUGGI.js.map +0 -1
@@ -0,0 +1,284 @@
1
+ import { d as SceneElement, N as NewPageOptions, P as PageBleed, a as PageGuides, g as ScenePage, B as Bounds } from './model-BHLN208Z.js';
2
+
3
+ /**
4
+ * The design-canvas operation union — the ONE mutation vocabulary shared by
5
+ * the editor's command stack (human edits, undo/redo), the MCP tool
6
+ * dispatcher (agent edits), and programmatic automation (template
7
+ * instantiation, data sync). Every state change the editor can express is an
8
+ * operation here; anything not expressible here does not happen to a
9
+ * document. That closure is the automation contract: replaying a decision
10
+ * log reproduces the document.
11
+ *
12
+ * Attribute patches are validated per element kind in ./validate before
13
+ * ./apply mutates the document; both run server-side on every path.
14
+ */
15
+
16
+ /** Per-kind attribute patch. `kind` is immutable after creation; ids are
17
+ * immutable always. Validation rejects attrs foreign to the target's kind. */
18
+ type SceneAttrsPatch = Partial<Omit<SceneElement, 'id' | 'kind' | 'children'>> & {
19
+ text?: string;
20
+ width?: number;
21
+ height?: number;
22
+ points?: number[];
23
+ fill?: string;
24
+ stroke?: string;
25
+ strokeWidth?: number;
26
+ cornerRadius?: number;
27
+ dash?: number[];
28
+ fontFamily?: string;
29
+ fontSize?: number;
30
+ fontStyle?: 'normal' | 'bold' | 'italic' | 'bold italic';
31
+ align?: 'left' | 'center' | 'right';
32
+ lineHeight?: number;
33
+ letterSpacing?: number;
34
+ src?: string;
35
+ posterSrc?: string;
36
+ fit?: 'fill' | 'cover' | 'contain';
37
+ };
38
+ interface AddElementOperation {
39
+ type: 'add_element';
40
+ pageId: string;
41
+ /** Complete element including caller-minted id (reconciled like sequences
42
+ * clips when the server re-mints). */
43
+ element: SceneElement;
44
+ /** Insertion z-index; omitted → top. */
45
+ index?: number;
46
+ /** Parent group; omitted → page root. */
47
+ parentGroupId?: string;
48
+ }
49
+ interface SetAttrsOperation {
50
+ type: 'set_attrs';
51
+ pageId: string;
52
+ elementId: string;
53
+ attrs: SceneAttrsPatch;
54
+ }
55
+ interface ReorderElementOperation {
56
+ type: 'reorder_element';
57
+ pageId: string;
58
+ elementId: string;
59
+ /** Target index within the element's CURRENT owner (page root or group). */
60
+ toIndex: number;
61
+ }
62
+ interface DeleteElementOperation {
63
+ type: 'delete_element';
64
+ pageId: string;
65
+ elementId: string;
66
+ }
67
+ interface GroupElementsOperation {
68
+ type: 'group_elements';
69
+ pageId: string;
70
+ /** ≥ 2 sibling elements (same owner); grouped in their current z-order. */
71
+ elementIds: string[];
72
+ /** Caller-minted id for the new group. */
73
+ groupId: string;
74
+ name?: string;
75
+ }
76
+ interface UngroupElementOperation {
77
+ type: 'ungroup_element';
78
+ pageId: string;
79
+ groupId: string;
80
+ }
81
+ interface AddPageOperation {
82
+ type: 'add_page';
83
+ /** Caller-minted page id. */
84
+ pageId: string;
85
+ options?: NewPageOptions;
86
+ /** Position in the page list; omitted → end. */
87
+ index?: number;
88
+ }
89
+ interface DuplicatePageOperation {
90
+ type: 'duplicate_page';
91
+ sourcePageId: string;
92
+ /** Caller-minted id for the copy; element ids are re-minted server-side. */
93
+ pageId: string;
94
+ }
95
+ interface DeletePageOperation {
96
+ type: 'delete_page';
97
+ pageId: string;
98
+ }
99
+ interface ReorderPageOperation {
100
+ type: 'reorder_page';
101
+ pageId: string;
102
+ toIndex: number;
103
+ }
104
+ interface SetPagePropsOperation {
105
+ type: 'set_page_props';
106
+ pageId: string;
107
+ name?: string;
108
+ width?: number;
109
+ height?: number;
110
+ background?: string;
111
+ /** null clears bleed; omitted leaves unchanged. */
112
+ bleed?: PageBleed | null;
113
+ }
114
+ interface SetPageGuidesOperation {
115
+ type: 'set_page_guides';
116
+ pageId: string;
117
+ guides: PageGuides;
118
+ }
119
+ interface BindSlotOperation {
120
+ type: 'bind_slot';
121
+ pageId: string;
122
+ elementId: string;
123
+ /** null unbinds. Slot names are unique document-wide. */
124
+ slot: string | null;
125
+ }
126
+ /** Fill slots with data — text slots take strings, image/video slots take
127
+ * src URLs. Unknown slot names throw; partial application is allowed. */
128
+ interface ApplyDataOperation {
129
+ type: 'apply_data';
130
+ bindings: Record<string, string>;
131
+ }
132
+ interface SetDocumentTitleOperation {
133
+ type: 'set_document_title';
134
+ title: string;
135
+ }
136
+ type SceneOperation = AddElementOperation | SetAttrsOperation | ReorderElementOperation | DeleteElementOperation | GroupElementsOperation | UngroupElementOperation | AddPageOperation | DuplicatePageOperation | DeletePageOperation | ReorderPageOperation | SetPagePropsOperation | SetPageGuidesOperation | BindSlotOperation | ApplyDataOperation | SetDocumentTitleOperation;
137
+ interface ScenePlan {
138
+ summary: string;
139
+ operations: SceneOperation[];
140
+ }
141
+ type SceneOperationType = SceneOperation['type'];
142
+ declare const SCENE_OPERATION_TYPES: readonly SceneOperationType[];
143
+
144
+ /**
145
+ * Page size presets, channel-size output presets, and export math for the
146
+ * design canvas.
147
+ *
148
+ * Size presets (SizePreset / SIZE_PRESETS) describe page dimensions for the
149
+ * new-page dialog. Export presets (ExportPreset / EXPORT_PRESETS) pin pixel
150
+ * ratio, output dimensions, bleed, and format for the export dialog and the
151
+ * MCP export tool. Channel presets (ChannelPreset / CHANNEL_PRESETS) are the
152
+ * fixed output resolutions the export UI offers; `scaleForPreset` + the
153
+ * letterbox helper derive Konva stage parameters from them.
154
+ *
155
+ * All dimensions are CSS pixels at 96 DPI unless noted otherwise.
156
+ */
157
+
158
+ interface SizePreset {
159
+ id: string;
160
+ label: string;
161
+ category: 'social' | 'print' | 'presentation' | 'custom';
162
+ width: number;
163
+ height: number;
164
+ }
165
+ declare const SIZE_PRESETS: readonly SizePreset[];
166
+ declare function findPreset(id: string): SizePreset | null;
167
+ /** Match a (width, height) pair against the preset table. Returns the first
168
+ * exact match or null — used to drive the dropdown selection indicator. */
169
+ declare function matchPreset(width: number, height: number): SizePreset | null;
170
+ type ExportFormat = 'png' | 'jpeg';
171
+ /**
172
+ * Export quality preset — pins pixel density, optional output dimensions,
173
+ * bleed inclusion, and raster format so callers pass a preset id rather than
174
+ * a full parameter bag.
175
+ *
176
+ * `outputWidth` / `outputHeight`: when non-null, the pixel ratio is derived
177
+ * from the crop rect width (see `scaleForPreset`) so the output is exactly
178
+ * this many pixels wide. When null, `pixelRatio` applies directly.
179
+ */
180
+ interface ExportPreset {
181
+ name: string;
182
+ /** Target pixels-per-document-px for stage.toDataURL. */
183
+ pixelRatio: number;
184
+ outputWidth: number | null;
185
+ outputHeight: number | null;
186
+ /** Whether bleed margins are included in the crop rect. */
187
+ includeBleed: boolean;
188
+ format: ExportFormat;
189
+ }
190
+ declare const EXPORT_PRESETS: Record<string, ExportPreset>;
191
+ interface ExportCropRect {
192
+ /** Page-coordinate origin. Negative when bleed extends outside page bounds. */
193
+ x: number;
194
+ y: number;
195
+ width: number;
196
+ height: number;
197
+ }
198
+ /**
199
+ * Crop rectangle in page coordinates for a given page, optionally expanded to
200
+ * include bleed margins. Bleed extends OUTSIDE the page bounds, so the origin
201
+ * goes negative when bleed is included.
202
+ *
203
+ * When `includeBleed` is true but `page.bleed` is null, the page rect is
204
+ * returned unchanged — the caller must not assume symmetric expansion.
205
+ */
206
+ declare function bleedAwareExportBounds(page: ScenePage, includeBleed: boolean): ExportCropRect;
207
+ /**
208
+ * Pixel ratio for stage.toDataURL given a crop rect and an export preset.
209
+ *
210
+ * When the preset pins `outputWidth`, the ratio is derived from the crop rect
211
+ * width so the final raster is exactly that many pixels wide. When there is no
212
+ * output pin, the preset's declared `pixelRatio` is returned directly.
213
+ *
214
+ * The crop rect must already account for bleed inclusion before this call.
215
+ */
216
+ declare function scaleForPreset(preset: ExportPreset, cropRect: ExportCropRect): number;
217
+ interface ChannelPreset {
218
+ id: string;
219
+ label: string;
220
+ width: number;
221
+ height: number;
222
+ }
223
+ /**
224
+ * Fixed output resolution presets for the channel/platform export dialog.
225
+ * Width × height are OUTPUT pixels (the raster the export produces), not page
226
+ * CSS px — they describe the target delivery format, not the canvas layout.
227
+ * The a4_print_2480x3508 preset corresponds to A4 at 300 dpi.
228
+ */
229
+ declare const CHANNEL_PRESETS: readonly ChannelPreset[];
230
+ type ChannelPresetId = (typeof CHANNEL_PRESETS)[number]['id'];
231
+ /** Throws when the id is unknown — callers should only pass ids sourced from
232
+ * `CHANNEL_PRESETS`. */
233
+ declare function requireChannelPreset(id: string): ChannelPreset;
234
+ interface ChannelScaleResult {
235
+ /**
236
+ * Konva stage pixelRatio: the stage logical size stays at page dimensions;
237
+ * the backing canvas renders at `pixelRatio × page` px. Setting Konva's
238
+ * pixelRatio to this value yields an output canvas exactly
239
+ * `channelPreset.width × channelPreset.height` pixels.
240
+ */
241
+ pixelRatio: number;
242
+ /**
243
+ * Horizontal letterbox offset in PAGE-coordinate px. Add to the stage x
244
+ * translation so the page is centered horizontally in the output frame.
245
+ * Zero when the page fills the full width after scaling.
246
+ */
247
+ offsetX: number;
248
+ /**
249
+ * Vertical letterbox offset in PAGE-coordinate px. Add to the stage y
250
+ * translation. Zero when the page fills the full height.
251
+ */
252
+ offsetY: number;
253
+ fit: 'contain';
254
+ }
255
+ /**
256
+ * Computes the Konva stage parameters to render `page` centered inside
257
+ * `channelPreset` without cropping (contain / letterbox).
258
+ *
259
+ * Exact-ratio fast path: when page and preset share the same aspect ratio
260
+ * (within 1e-9 floating-point tolerance) both offsets are 0 and pixelRatio
261
+ * is exact.
262
+ *
263
+ * Example — 1080×1080 page into 1920×1080 preset:
264
+ * scaleX = 1920/1080 ≈ 1.7778, scaleY = 1080/1080 = 1.0
265
+ * pixelRatio = 1.0, rendered page = 1080×1080 px
266
+ * offsetX = (1920 − 1080) / 2 / 1.0 = 420 page-px, offsetY = 0
267
+ */
268
+ declare function scalePageForChannelPreset(page: Pick<ScenePage, 'width' | 'height'>, channelPreset: ChannelPreset): ChannelScaleResult;
269
+ /**
270
+ * Export rectangle in page coordinates that includes bleed margins when
271
+ * present. When `page.bleed` is null, returns the trim rectangle (origin 0,0;
272
+ * size = page dimensions).
273
+ *
274
+ * The bleed rectangle extends OUTSIDE the page: x and y are negative (bleed
275
+ * bleeds off the left/top edge), width and height exceed the page by the
276
+ * combined bleed on each axis. Pass into Konva's clip/export bounds to
277
+ * include the bleed zone in the render.
278
+ *
279
+ * Named `bleedAwareExportRect` to avoid collision with the two-arg
280
+ * `bleedAwareExportBounds(page, includeBleed)` above.
281
+ */
282
+ declare function bleedAwareExportRect(page: Pick<ScenePage, 'width' | 'height' | 'bleed'>): Bounds;
283
+
284
+ export { type AddElementOperation as A, type BindSlotOperation as B, CHANNEL_PRESETS as C, type DeleteElementOperation as D, EXPORT_PRESETS as E, scaleForPreset as F, type GroupElementsOperation as G, scalePageForChannelPreset as H, type ReorderElementOperation as R, SCENE_OPERATION_TYPES as S, type UngroupElementOperation as U, type AddPageOperation as a, type ApplyDataOperation as b, type ChannelPreset as c, type ChannelPresetId as d, type ChannelScaleResult as e, type DeletePageOperation as f, type DuplicatePageOperation as g, type ExportCropRect as h, type ExportFormat as i, type ExportPreset as j, type ReorderPageOperation as k, SIZE_PRESETS as l, type SceneAttrsPatch as m, type SceneOperation as n, type SceneOperationType as o, type ScenePlan as p, type SetAttrsOperation as q, type SetDocumentTitleOperation as r, type SetPageGuidesOperation as s, type SetPagePropsOperation as t, type SizePreset as u, bleedAwareExportBounds as v, bleedAwareExportRect as w, findPreset as x, matchPreset as y, requireChannelPreset as z };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
- export { APP_TOOL_NAMES, AppToolMcpServer, AppToolName, AppToolRuntimeExecutor, AuthenticateOptions, BuildHttpMcpServerOptions, BuildMcpServerOptions, CapabilityTokenOptions, DEFAULT_APP_TOOL_PATHS, DEFAULT_HEADER_NAMES, DispatchOptions, HandleToolRequestOptions, OpenAIFunctionTool, RuntimeExecutorOptions, ToolAuthResult, ToolHeaderNames, ToolInputError, authenticateToolRequest, buildAppToolMcpServer, buildAppToolOpenAITools, buildHttpMcpServer, createAppToolRuntimeExecutor, createCapabilityToken, dispatchAppTool, handleAppToolRequest, isAppToolName, outcomeStatus, readToolArgs, verifyCapabilityToken } from './tools/index.js';
1
+ export { AppToolRuntimeExecutor, CapabilityTokenOptions, DispatchOptions, ExpiringCapabilityTokenOptions, HandleToolRequestOptions, RuntimeExecutorOptions, ToolInputError, createAppToolRuntimeExecutor, createCapabilityToken, createExpiringCapabilityToken, dispatchAppTool, handleAppToolRequest, outcomeStatus, verifyCapabilityToken, verifyExpiringCapabilityToken } from './tools/index.js';
2
+ export { A as APP_TOOL_NAMES, a as AppToolMcpServer, b as AppToolName, c as AuthenticateOptions, B as BuildHttpMcpServerOptions, d as BuildMcpServerOptions, D as DEFAULT_APP_TOOL_PATHS, e as DEFAULT_HEADER_NAMES, O as OpenAIFunctionTool, T as ToolAuthResult, f as ToolHeaderNames, g as authenticateToolRequest, h as buildAppToolMcpServer, i as buildAppToolOpenAITools, j as buildHttpMcpServer, k as isAppToolName, r as readToolArgs } from './mcp-CIupfjxV.js';
3
+ export { C as CreateMcpToolHandlerOptions, M as MCP_PROTOCOL_VERSIONS, a as McpProtocolVersion, b as McpServerInfo, c as McpToolDefinition, d as createMcpToolHandler } from './mcp-rpc-DLw_r9PQ.js';
2
4
  export { A as AddCitationArgs, a as AddCitationResult, b as AppToolContext, c as AppToolHandlers, d as AppToolOutcome, e as AppToolProducedEvent, f as AppToolTaxonomy, R as RenderUiArgs, g as RenderUiResult, S as ScheduleFollowupArgs, h as ScheduleFollowupResult, i as SubmitProposalArgs, j as SubmitProposalResult } from './types-By4B3K37.js';
3
5
  export { BuildDelegationOptions, DELEGATION_MCP_SERVER_KEY, DELEGATION_TOOLS, DelegationMcpServer, buildDelegationMcpServer, delegationMcpForConfig } from './delegation/index.js';
4
6
  export { BrokerToken, BrokerTokenMinter, BrokerTokenProvider, BrokerTokenProviderOptions, ConsentUrlInput, buildConsentUrl, createBrokerTokenProvider } from './tangle/index.js';
5
- export { AgentRuntime, AgentRuntimeModelConfig, AgentTurnOptions, AppToolLoopOptions, CreateAgentRuntimeOptions, LoopAssistantToolCall, LoopEvent, LoopMessage, LoopToolCall, OpenAICompatStreamTurnOptions, OpenAIStreamChunk, StreamAppToolLoopOptions, StreamLoopYield, ToolLoopResult, ToolLoopStopReason, createAgentRuntime, createOpenAICompatStreamTurn, runAppToolLoop, streamAppToolLoop, toLoopEvents } from './runtime/index.js';
7
+ export { AgentRuntime, AgentRuntimeModelConfig, AgentTurnOptions, AnySurfaceKind, AppToolLoopOptions, CreateAgentRuntimeOptions, LoopAssistantToolCall, LoopEvent, LoopMessage, LoopToolCall, OpenAICompatStreamTurnOptions, OpenAIStreamChunk, StreamAppToolLoopOptions, StreamLoopYield, SurfaceKindDefinition, SurfaceMcpServer, SurfaceMergeBase, SurfaceOverlay, SurfacePermissionValue, SurfaceRegistry, ToolLoopResult, ToolLoopStopReason, createAgentRuntime, createOpenAICompatStreamTurn, createSurfaceRegistry, defineSurfaceKind, mergeSurfaceOverlay, runAppToolLoop, streamAppToolLoop, toLoopEvents } from './runtime/index.js';
6
8
  export { createTokenRecallChecker, producedFromToolEvents } from './eval/index.js';
7
9
  export { KnowledgeRequirementSpec, KnowledgeSignal, KnowledgeStateAccessor, SatisfiedByRule, buildKnowledgeRequirements, deriveSignals } from './knowledge/index.js';
8
10
  export { CreateKnowledgeLoopDeps, KnowledgeCandidate, KnowledgeDecider, KnowledgeDeciderInput, KnowledgeDecision, KnowledgeGateVerdict, KnowledgeLoop, KnowledgeLoopDriver, createKnowledgeLoop, createReviewerDecider, reviewCandidate } from './knowledge-loop/index.js';
@@ -19,6 +21,13 @@ export { CookieOptions, JsonObject, KvLike, RateLimitResult, RequestContext, Sec
19
21
  export { BuildRedactedDocumentOptions, DEFAULT_REDACTION_PATTERNS, RedactForIngestionOptions, RedactedDocSegment, RedactedDocument, RedactionPattern, RedactionSpan, RevealResult, RevealSpanOptions, buildRedactedDocument, detectSpans, maskSpans, redactForIngestion, revealSpan } from './redact/index.js';
20
22
  export { ApprovalEvent, ApprovalEventSchema, AssetContentMap, AssetFormat, AssetSpec, AssetStatus, AssetVariant, BrandTokens, BrandTokensSchema, ConversionMetrics, ConversionMetricsSchema, CopyContent, CopyContentSchema, CopyPlatform, EmailBodySection, EmailContent, EmailContentSchema, EmailCtaSection, EmailDividerSection, EmailFeatureSection, EmailHeroSection, EmailSection, EmailTestimonialSection, ImageBackground, ImageContent, ImageContentSchema, ImageImageLayer, ImageLayer, ImageLayerType, ImageLogoLayer, ImageShapeLayer, ImageSlide, ImageTextLayer, VideoCaption, VideoContent, VideoContentSchema, VideoCountdownScene, VideoImageRevealScene, VideoScene, VideoSlideScene, VideoTextAnimationScene, parseAssetSpec, safeParseAssetSpec } from './assets/index.js';
21
23
  export { DistributionSummary, FlowSpan, FlowTrace, LoopTraceEventLike, MissionFlowStep, MissionTraceContext, StepSpanContext, TimedEvent, buildFlowTrace, childSpanContext, composeMissionFlowTrace, createMissionTraceContext, delegationActivityToFlowSpans, loopTraceEventsToFlowSpans, renderHistogram, renderWaterfall, stepActivityFlowTrace, summarize, timedEventsFromLines, traceEnv } from './trace/index.js';
24
+ export { M as MIN_SEQUENCE_CLIP_FRAMES, N as NewSequenceClip, a as NewSequenceDecision, b as NewSequenceTrack, S as SequenceClip, c as SequenceClipMedia, d as SequenceClipPatch, e as SequenceDecision, f as SequenceExportFormat, g as SequenceExportRecord, h as SequenceExportStatus, i as SequenceFrameSnapshot, j as SequenceMediaKind, k as SequenceMeta, l as SequenceStatus, m as SequenceStore, n as SequenceStoreScope, o as SequenceTimeline, p as SequenceTrack, q as SequenceTrackKind, T as TimelineClipBounds, r as TimelineInterval, s as assertClipFitsSequence, t as chooseCaptionPlacement, u as clampClipDuration, v as clampClipStart, w as formatSeconds, x as formatTimecode, y as framesToSeconds, z as secondsToFrames, A as snapshotFrame, B as trackIntervals } from './store-gckrNq-g.js';
25
+ export { A as AddCaptionOperation, C as CaptionTargetResolution, a as CreateTrackOperation, D as DeleteClipOperation, E as ExtendSequenceOperation, M as MoveClipOperation, P as PlaceClipOperation, Q as QueueExportOperation, S as SEQUENCE_OPERATION_TYPES, b as SequenceApplyResult, c as SequenceOperation, d as SequenceOperationContext, e as SequenceOperationType, f as SequencePlan, g as SetClipDisabledOperation, h as SetClipTextOperation, i as SplitClipOperation, T as TrimClipOperation, j as applySequenceOperation, k as applySequenceOperations, l as assertSequenceMediaUrl, m as captionTrackNameForLanguage, n as lastClipEndFrame, p as parseSequenceOperations, r as resolveCaptionPlacement, o as resolveCaptionTarget, q as resolvePlaceClipTrack, v as validateAddCaption, s as validateCreateTrack, t as validateDeleteClip, u as validateExtendSequence, w as validateMoveClip, x as validatePlaceClip, y as validateQueueExport, z as validateSequenceOperation, B as validateSequenceOperations, F as validateSetClipDisabled, G as validateSetClipText, H as validateSplitClip, I as validateTrimClip } from './apply-Cp8c3K9D.js';
26
+ export { BuildCaptionChunksOptions, BuildSequencesMcpServerEntryOptions, CaptionChunk, CaptionCoverageEntry, CaptionExportOptions, ContactSheetEntry, ContactSheetManifest, CreateSequencesMcpHandlerOptions, DEFAULT_SEQUENCES_MCP_DESCRIPTION, LanguageFanoutOptions, MAX_CAPTION_BATCH, OtioClip, OtioExternalReference, OtioGap, OtioMissingReference, OtioRationalTime, OtioStack, OtioTimeRange, OtioTimeline, OtioTrack, SEQUENCES_MCP_PROTOCOL_VERSIONS, SEQUENCE_EXPORT_FORMATS, SEQUENCE_MCP_TOOLS, SEQUENCE_MEDIA_KINDS, SEQUENCE_TRACK_KINDS, SequenceMcpToolDefinition, SequenceMcpToolEnv, SequencesMcpServerInfo, TranscriptSegment, buildCaptionChunks, buildContactSheetManifest, buildEdl, buildOtio, buildSequencesMcpServerEntry, buildSrt, buildVtt, captionCoverage, createSequencesMcpHandler, findSequenceMcpTool, normalizeLanguageTag, planLanguageFanout } from './sequences/index.js';
27
+ export { B as Bounds, E as EllipseElement, G as GroupElement, I as ImageElement, L as LineElement, N as NewPageOptions, P as PageBleed, a as PageGuides, R as RectElement, S as SCENE_ELEMENT_KINDS, b as SCENE_SCHEMA_VERSION, c as SceneDocument, d as SceneElement, e as SceneElementBase, f as SceneElementKind, g as ScenePage, h as SceneSettings, T as TextElement, V as VideoElement, i as assertColor, j as assertFinite, k as assertPositiveFinite, l as assertSceneMediaSrc, m as boundsIntersect, n as collectSlots, o as createEmptyDocument, p as createPage, q as elementAabb, r as elementExtent, s as estimateTextHeight, t as findElement, u as requireElement, v as requirePage } from './model-BHLN208Z.js';
28
+ export { A as AddElementOperation, a as AddPageOperation, b as ApplyDataOperation, B as BindSlotOperation, C as CHANNEL_PRESETS, c as ChannelPreset, d as ChannelPresetId, e as ChannelScaleResult, D as DeleteElementOperation, f as DeletePageOperation, g as DuplicatePageOperation, E as EXPORT_PRESETS, h as ExportCropRect, i as ExportFormat, j as ExportPreset, G as GroupElementsOperation, R as ReorderElementOperation, k as ReorderPageOperation, S as SCENE_OPERATION_TYPES, l as SIZE_PRESETS, m as SceneAttrsPatch, n as SceneOperation, o as SceneOperationType, p as ScenePlan, q as SetAttrsOperation, r as SetDocumentTitleOperation, s as SetPageGuidesOperation, t as SetPagePropsOperation, u as SizePreset, U as UngroupElementOperation, v as bleedAwareExportBounds, w as bleedAwareExportRect, x as findPreset, y as matchPreset, z as requireChannelPreset, F as scaleForPreset, H as scalePageForChannelPreset } from './export-presets-Dl5Aa5xj.js';
29
+ export { N as NewSceneDecision, S as SceneDecision, a as SceneDocumentRecord, b as SceneExportFormat, c as SceneExportRecord, d as SceneStore, e as SceneStoreScope } from './store-CUStmtdH.js';
30
+ export { ApplySceneOptions, BuildDesignCanvasMcpServerEntryOptions, CANVAS_ELEMENT_KINDS, CANVAS_MCP_TOOLS, CANVAS_MCP_TOOL_NAMES, CreateDesignCanvasMcpHandlerOptions, DEFAULT_DESIGN_CANVAS_MCP_DESCRIPTION, DesignCanvasMcpServerInfo, DesignCanvasMcpToolEnv, InstantiateOptions, SceneApplyResult, SlotFillKind, TemplateSlot, applyBindingsToDocument, applySceneOperation, applySceneOperations, buildDesignCanvasMcpServerEntry, createDesignCanvasMcpHandler, findCanvasMcpTool, instantiateTemplate, listTemplateSlots, storeApplyScenePlan, validateBindings, validateSceneOperation, validateSceneOperations, validateSlotValue } from './design-canvas/index.js';
22
31
  export { C as CatalogModel, M as ModelCatalog, R as RouterModel, _ as __resetCatalogCache, b as buildCatalog, f as fetchModelCatalog, n as normalizeModelId } from './model-catalog-BEAEVDaa.js';
23
32
  export { CompletionRequirement, CompletionVerdict, CorrectnessChecker, ProducedState, RuntimeEventLike, SatisfiedBy, TaskGold, createLlmCorrectnessChecker, extractProducedState, verifyCompletion, weightedComposite } from '@tangle-network/agent-eval';
24
33
  export { C as CreateTangleRouterModelConfigOptions, D as DEFAULT_TANGLE_BILLING_ENFORCEMENT_ENV_VAR, a as DEFAULT_TANGLE_ROUTER_BASE_URL, R as ResolveModelOptions, b as ResolveUserTangleExecutionKeyForUserOptions, c as ResolveUserTangleExecutionKeyOptions, d as ResolvedTangleExecutionKey, T as TangleBillingEnforcementOptions, e as TangleExecutionEnvironment, f as TangleExecutionKeyError, g as TangleExecutionKeyErrorCode, h as TangleExecutionKeyHttpError, i as TangleExecutionKeySource, j as TangleModelConfig, k as createTangleRouterModelConfig, l as isTangleBillingEnforcementDisabled, m as isTangleExecutionKeyError, r as resolveTangleExecutionEnvironment, n as resolveTangleModelConfig, o as resolveUserTangleExecutionKey, p as resolveUserTangleExecutionKeyForUser, t as tangleExecutionKeyHttpError } from './model-CKzniMMr.js';