langchain_agentx_stream_ui 0.4.2 → 0.5.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.
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode, PointerEventHandler } from 'react';
4
- import { W as WorkflowAuthoritySnapshot, u as Source, L as LangchainAgentEvent, N as NodeRegistry, z as TierOverrides, I as InteractionBus, M as MarkdownRenderer, a as AskDisplaySnapshot, s as SessionTree, H as WorkflowDisplayProjection, G as WorkflowContainerTreeState, F as WorkflowContainerRuntimeNode, Q as WorkflowSessionState, v as SourceEventContext, J as WorkflowDisplayProjectionStatus, T as Task, x as TaskPhase, o as SessionStatus, R as ReducerError, B as WorkflowAuthorityStatus, r as SessionStoreState, t as SessionTreeSnapshot, E as EventTier } from './multi-session--0z_-ut1.js';
5
- export { A as AskCoalescedBlock, b as AskDisplaySnapshotMetadata, c as AskSnapshotProjectionStatus, C as CommonFields, D as DEFAULT_EVENT_TIERS, d as EventType, e as InteractionBusHandlers, f as MarkdownRendererProps, g as MultiAgentSession, h as MultiAgentSessionProps, i as MultiSessionSourceConfig, j as MultiSessionStore, k as MultiSessionStoreOptions, l as MultiSessionStoreState, m as NodeWidget, n as NodeWidgetProps, P as PermissionResolvePayload, S as SessionSlice, p as SessionStore, q as SessionStoreOptions, w as SourceHandler, y as TaskStatus, K as WorkflowProgressState, O as WorkflowScopeFrame, U as WorkflowStageProgress, V as WorkflowTerminalKind, X as createActiveSessionBridge, Y as createEmptyTree, Z as createEmptyWorkflowSessionState, _ as createInteractionBus, $ as createMultiSessionStore, a0 as createSessionStore, a1 as getNoopInteractionBus, a2 as useActiveSession, a3 as useSessionIds } from './multi-session--0z_-ut1.js';
4
+ import { W as WorkflowAuthoritySnapshot, u as Source, L as LangchainAgentEvent, N as NodeRegistry, z as TierOverrides, I as InteractionBus, M as MarkdownRenderer, a as AskDisplaySnapshot, s as SessionTree, H as WorkflowDisplayProjection, G as WorkflowContainerTreeState, Q as WorkflowSessionState, F as WorkflowContainerRuntimeNode, v as SourceEventContext, J as WorkflowDisplayProjectionStatus, T as Task, x as TaskPhase, o as SessionStatus, R as ReducerError, B as WorkflowAuthorityStatus, r as SessionStoreState, t as SessionTreeSnapshot, E as EventTier } from './multi-session-B7kIVfyG.js';
5
+ export { A as AskCoalescedBlock, b as AskDisplaySnapshotMetadata, c as AskSnapshotProjectionStatus, C as CommonFields, D as DEFAULT_EVENT_TIERS, d as EventType, e as InteractionBusHandlers, f as MarkdownRendererProps, g as MultiAgentSession, h as MultiAgentSessionProps, i as MultiSessionSourceConfig, j as MultiSessionStore, k as MultiSessionStoreOptions, l as MultiSessionStoreState, m as NodeWidget, n as NodeWidgetProps, P as PermissionResolvePayload, S as SessionSlice, p as SessionStore, q as SessionStoreOptions, w as SourceHandler, y as TaskStatus, K as WorkflowProgressState, O as WorkflowScopeFrame, U as WorkflowStageProgress, V as WorkflowTerminalKind, X as createActiveSessionBridge, Y as createEmptyTree, Z as createEmptyWorkflowSessionState, _ as createInteractionBus, $ as createMultiSessionStore, a0 as createSessionStore, a1 as getNoopInteractionBus, a2 as useActiveSession, a3 as useSessionIds } from './multi-session-B7kIVfyG.js';
6
6
  import { T as ToolDisplayRegistry, P as PermissionUiMode, b as DisplayMode, c as ProjectionContext, R as RenderableEntry, C as CanonicalNodeRef } from './sessionViewOptions-EIBugOkf.js';
7
7
  export { a as CollapsedExplorePayload, D as DEFAULT_SESSION_VIEW_OPTIONS, S as SessionViewOptions, d as ToolUseSnapshot, e as buildProjectionContext, f as buildProjectionViewContext, g as createDefaultToolRegistry, h as createProjectionContext, r as resolveEffectiveToolBodyMode, s as shouldApplyGrouping, i as shouldShowExploreDetail } from './sessionViewOptions-EIBugOkf.js';
8
8
  import { a as ToolBodyMode } from './types-DAkw2VOv.js';
@@ -14,6 +14,59 @@ import { S as SessionNode, a as SessionNodeKind } from './nodes-7_0rCAc4.js';
14
14
  export { E as ErrorNode, N as NodeDetail, P as PermissionNode, R as ReasoningNode, b as StepDetail, c as StepNode, d as SubAgentNode, T as TextNode, h as ToolCallNode, U as UnknownNode } from './nodes-7_0rCAc4.js';
15
15
  export { B as BodyBlock, a as BodyBlockList, D as DiffView, M as MAX_PREVIEW_LINES, b as MarkdownBlock, T as TruncatedContent, c as buildBashBodyBlocks, d as displayPath, f as formatDiffFromStrings, e as formatPatternTitle, g as formatSearchResultBody, h as formatTimeoutFooter, p as parseDiffText, t as truncateCommand } from './MarkdownBlock-DeICJUtu.js';
16
16
 
17
+ /** Workflow 大规模编排 UI 缩放选项(P1–P4 · D40 O1–O4 · D41 P-UX) */
18
+ type DeferEvictionUntil = 'immediate' | 'run-idle' | 'host-reset';
19
+ interface WorkflowScaleOptions {
20
+ /**
21
+ * P1:已弃用 — stage 壳列表不再使用虚拟滚动。
22
+ * 保留字段以保证向后兼容,工作流主链路不再读取此值。
23
+ * @deprecated D25 Phase 1 移除 stage shell virtualization 后不再生效。
24
+ */
25
+ stageVirtualizeThreshold: number;
26
+ /** P3:默认展示的 completed done stage 上限(running/failed/pending 始终展示) */
27
+ completedStagePageSize: number;
28
+ /** P2/D40:completed 且未 pin 的 loop 树移出内存,保留摘要 */
29
+ evictCompletedLoops: boolean;
30
+ /** P4:历史选项;折叠不变式不再因 non-active 隐藏 running 容器(见 workflow-display-rules §8) */
31
+ onlyExpandActiveRunning: boolean;
32
+ /**
33
+ * P1:已弃用 — parallel item shell 不再使用虚拟滚动(最大并行跨度仅 4)。
34
+ * 保留字段以保证向后兼容,工作流主链路不再读取此值。
35
+ * @deprecated D25 Phase 1 移除 parallel item virtualization 后不再生效。
36
+ */
37
+ parallelItemVirtualizeThreshold: number;
38
+ /** P2/D40 O1:completed hydrated loop 热缓存上限(默认 4,与最大并行跨度对齐) */
39
+ maxHydratedCompletedLoops: number;
40
+ /** D40 O1:T0→T1 — 已完成 loop 数量阈值(非 eventCount) */
41
+ softEvictThreshold: number;
42
+ /** D40 O4:T2 升档 — containersById 键数 */
43
+ containerCountTier2: number;
44
+ /** D40 O4:T3 升档 — containersById 键数 */
45
+ containerCountTier3: number;
46
+ /** D40:Tier 评估最小间隔(帧/event 计数 proxy) */
47
+ tierEvalMinFrames: number;
48
+ /** D40:hydrate 每 rAF chunk(与 workflowSessionStore DEFAULT 对齐) */
49
+ hydrateChunkSize: number;
50
+ /** D40:启用 T0–T3 自动升档;false 时回滚至 D30 基线 */
51
+ aggressiveMemoryTier3: boolean;
52
+ /** D41:何时允许 eviction;resolve 默认 'immediate'(= D40 行为) */
53
+ deferEvictionUntil?: DeferEvictionUntil;
54
+ /** D41:Tier≥1 且未 defer 时保留最近 N 个 completed 全文;resolve 默认 = softEvictThreshold */
55
+ recentCompletedRetainCount?: number;
56
+ /** D41:用户展开 completed stage 时短期保护;resolve 默认 false */
57
+ protectExpandedLoops?: boolean;
58
+ }
59
+ declare const DEFAULT_WORKFLOW_SCALE_OPTIONS: WorkflowScaleOptions;
60
+ interface ResolveWorkflowScaleOptions {
61
+ workflowScale?: Partial<WorkflowScaleOptions>;
62
+ /** @deprecated 使用 workflowScale.evictCompletedLoops */
63
+ evictCompletedLoops?: boolean;
64
+ /** @deprecated 使用 workflowScale.maxHydratedCompletedLoops */
65
+ maxHydratedCompletedLoops?: number;
66
+ }
67
+ /** 合并 D40 默认 + D41 optional 字段默认(store 创建时闭包 · D41 §4.3) */
68
+ declare function resolveWorkflowScale(storeOptions?: ResolveWorkflowScaleOptions): WorkflowScaleOptions;
69
+
17
70
  /**
18
71
  * workflowAuthoritySource.ts — 宿主 workflow 业务权威输入契约(D33 §6.1)
19
72
  *
@@ -91,38 +144,6 @@ interface AgentLoopViewProps {
91
144
  }
92
145
  declare function AgentLoopView({ tree, showTaskListFooter, virtualized, virtualizeThreshold, groupParallelTools, }: AgentLoopViewProps): react_jsx_runtime.JSX.Element;
93
146
 
94
- /** 宿主按需 replay 某 loopSessionId 的事件(P2 懒加载) */
95
- type WorkflowLoopReplayHandler = (loopSessionId: string) => void | Promise<void>;
96
- declare function WorkflowLoopReplayProvider({ onRequestLoopReplay, children, }: {
97
- onRequestLoopReplay?: WorkflowLoopReplayHandler;
98
- children: ReactNode;
99
- }): react_jsx_runtime.JSX.Element;
100
-
101
- /** Workflow 大规模编排 UI 缩放选项(P1–P4) */
102
- interface WorkflowScaleOptions {
103
- /**
104
- * P1:已弃用 — stage 壳列表不再使用虚拟滚动。
105
- * 保留字段以保证向后兼容,工作流主链路不再读取此值。
106
- * @deprecated D25 Phase 1 移除 stage shell virtualization 后不再生效。
107
- */
108
- stageVirtualizeThreshold: number;
109
- /** P3:默认展示的 completed done stage 上限(running/failed/pending 始终展示) */
110
- completedStagePageSize: number;
111
- /** P2:completed 且未 pin 的 loop 树移出内存,保留摘要 */
112
- evictCompletedLoops: boolean;
113
- /** P4:历史选项;折叠不变式不再因 non-active 隐藏 running 容器(见 workflow-display-rules §8) */
114
- onlyExpandActiveRunning: boolean;
115
- /**
116
- * P1:已弃用 — parallel item shell 不再使用虚拟滚动(最大并行跨度仅 4)。
117
- * 保留字段以保证向后兼容,工作流主链路不再读取此值。
118
- * @deprecated D25 Phase 1 移除 parallel item virtualization 后不再生效。
119
- */
120
- parallelItemVirtualizeThreshold: number;
121
- /** P2:completed hydrated loop 热缓存上限(默认 4,与最大并行跨度对齐) */
122
- maxHydratedCompletedLoops: number;
123
- }
124
- declare const DEFAULT_WORKFLOW_SCALE_OPTIONS: WorkflowScaleOptions;
125
-
126
147
  /**
127
148
  * workflowSnapshot.ts — WorkflowDisplaySnapshot DTO(D36 P3)
128
149
  *
@@ -143,6 +164,13 @@ interface WorkflowCoalescedBlock {
143
164
  tailPreview: string;
144
165
  droppedDeltaCount: number;
145
166
  }
167
+ /** D40 §7.3.3 — done loop remount teaser 元数据(不含 loop 全文) */
168
+ interface WorkflowLoopSummary {
169
+ loopSessionId: string;
170
+ status: 'completed' | 'failed';
171
+ label?: string;
172
+ teaser?: string;
173
+ }
146
174
  interface WorkflowDisplaySnapshotMetadata {
147
175
  projection_status?: WorkflowSnapshotProjectionStatus;
148
176
  s0_event_count?: number;
@@ -153,13 +181,15 @@ interface WorkflowDisplaySnapshot {
153
181
  taskId: string;
154
182
  /** 单调;SSE tail 只发严格 > cursor 的帧(evt_{n:06d}) */
155
183
  cursor: string;
156
- /** hydrate 时写入 store;tail 事件须 version 一致或更新 */
184
+ /** schema 版本:1=legacy(含 content/coalescedBlocks);2=S0 骨架 only(D40 §7.3.3) */
157
185
  snapshotVersion: number;
158
186
  capturedAt: number;
159
187
  display: WorkflowDisplayProjection;
160
188
  /** 与 WorkflowContainerTreeState 同构 */
161
189
  containerTree: WorkflowContainerTreeState;
162
- /** P4 可选;degraded 首屏 tail 预览 */
190
+ /** v2:done loop teaser;v1 无此字段 */
191
+ loopSummaries?: WorkflowLoopSummary[];
192
+ /** v1 可选;degraded 首屏 tail 预览 — v2 hydrate 忽略 */
163
193
  coalescedBlocks?: WorkflowCoalescedBlock[];
164
194
  metadata?: WorkflowDisplaySnapshotMetadata;
165
195
  }
@@ -191,15 +221,13 @@ interface WorkflowSessionProps {
191
221
  groupParallelTools?: boolean;
192
222
  /** P1–P4:大规模 workflow 缩放选项 */
193
223
  workflowScale?: Partial<WorkflowScaleOptions>;
194
- /** P2:展开已淘汰 loop 时由宿主 replay 事件 */
195
- onRequestLoopReplay?: WorkflowLoopReplayHandler;
196
224
  /** authority 首次进入 terminal 时触发(phase SSOT) */
197
225
  onAuthorityTerminal?: (snapshot: WorkflowAuthoritySnapshot) => void;
198
226
  /** SSE 传输 resolve;仅 analytics / 非 phase */
199
227
  onDisplayStreamEnded?: () => void;
200
228
  children?: ReactNode;
201
229
  }
202
- declare function WorkflowSession({ source, authoritySource, snapshotBootstrap, snapshotHydrateFailed, initialEvents, registry, tierOverrides, onError, interactionBus, toolDisplayRegistry, defaultBodyMode, permissionUiMode, markdownRenderer, displayMode, verbose, exploreFullscreenBash, memoryDir, workspaceRoot, virtualized, virtualizeThreshold, groupParallelTools, workflowScale, onRequestLoopReplay, onAuthorityTerminal, onDisplayStreamEnded, children, }: WorkflowSessionProps): react_jsx_runtime.JSX.Element;
230
+ declare function WorkflowSession({ source, authoritySource, snapshotBootstrap, snapshotHydrateFailed, initialEvents, registry, tierOverrides, onError, interactionBus, toolDisplayRegistry, defaultBodyMode, permissionUiMode, markdownRenderer, displayMode, verbose, exploreFullscreenBash, memoryDir, workspaceRoot, virtualized, virtualizeThreshold, groupParallelTools, workflowScale, onAuthorityTerminal, onDisplayStreamEnded, children, }: WorkflowSessionProps): react_jsx_runtime.JSX.Element;
203
231
 
204
232
  /**
205
233
  * createMockAuthoritySource.ts — 测试 / demo 用 authority 源
@@ -250,6 +278,44 @@ declare class AuthorityPollFatalError extends Error {
250
278
  }
251
279
  declare function createPollingAuthoritySource(taskId: string, fetchFn: (id: string) => Promise<WorkflowAuthoritySnapshot>, options?: PollingAuthoritySourceOptions): WorkflowAuthoritySource;
252
280
 
281
+ /**
282
+ * workflowScalePresets.ts — D41 冻结 scale preset 常量
283
+ *
284
+ * 职责:
285
+ * 导出 demo / scale 两套 WorkflowScaleOptions,供 Simple 与 new_agent 宿主接线。
286
+ *
287
+ * 链路位置:
288
+ * WorkflowSession workflowScale prop · createWorkflowSessionStore 闭包。
289
+ *
290
+ * 当前裁剪范围:
291
+ * 不含 defer gate 逻辑;仅 frozen 常量(D41 §2.3.1)。
292
+ */
293
+
294
+ /** 默认生产 preset — new_agent 长 pipeline;Simple 测 S7 时用 */
295
+ declare const SCALE_WORKFLOW_SCALE: WorkflowScaleOptions;
296
+ /** 短 run / Nested 联调 — Simple /workflow 默认;new_agent 短 workflow 页可选用 */
297
+ declare const DEMO_WORKFLOW_SCALE: WorkflowScaleOptions;
298
+
299
+ /**
300
+ * workflowEvictionDefer.ts — D41 eviction defer gate
301
+ *
302
+ * 职责:
303
+ * 根据 preset / run 阶段决定是否跳过 finalizeState 步骤 c/d(loop 淘汰)。
304
+ *
305
+ * 链路位置:
306
+ * workflowSessionStore.finalizeState → applyMemoryPressureTier 之后。
307
+ *
308
+ * 当前裁剪范围:
309
+ * 不含 LRU / recent N 实现;protectExpandedLoops 由 WorkflowStageContainer 接线。
310
+ */
311
+
312
+ interface EvictionDeferContext {
313
+ /** structure close 同帧 tier 评估;defer 仍跳过 c/d */
314
+ immediateTierEval?: boolean;
315
+ }
316
+ /** true = 跳过 finalizeState 步骤 c/d(evictInactive + evictOverflow) */
317
+ declare function shouldDeferEviction(state: WorkflowSessionState, scale: WorkflowScaleOptions, _ctx?: EvictionDeferContext): boolean;
318
+
253
319
  declare const WorkflowScaleContext: react.Context<WorkflowScaleOptions>;
254
320
 
255
321
  interface WorkflowStageListPartition {
@@ -285,9 +351,11 @@ interface WorkflowSessionStoreOptions {
285
351
  tierOverrides?: TierOverrides;
286
352
  initialEventCount?: number;
287
353
  initialSeenEventIds?: Iterable<string>;
288
- /** P2:completed loop 树内存淘汰(默认 true) */
354
+ /** D40:完整 scale 选项(优先于下方 legacy 字段) */
355
+ workflowScale?: Partial<WorkflowScaleOptions>;
356
+ /** @deprecated 使用 workflowScale.evictCompletedLoops */
289
357
  evictCompletedLoops?: boolean;
290
- /** P2:completed hydrated loop 热缓存上限(默认 4) */
358
+ /** @deprecated 使用 workflowScale.maxHydratedCompletedLoops */
291
359
  maxHydratedCompletedLoops?: number;
292
360
  }
293
361
  interface WorkflowSessionStoreState {
@@ -309,6 +377,8 @@ interface WorkflowSessionStoreState {
309
377
  setAuthoritySubscribeFailed: (value: boolean) => void;
310
378
  /** P2:展开 done stage 时 pin,避免淘汰 */
311
379
  pinLoopSession: (loopSessionId: string) => void;
380
+ /** D41 P2a:折叠后解除 expand pin(非永久占坑) */
381
+ unpinLoopSession: (loopSessionId: string) => void;
312
382
  /** P2:宿主 replay 后灌入 loop 树(同步;测试与小批量) */
313
383
  hydrateLoopSession: (loopSessionId: string, events: LangchainAgentEvent[]) => void;
314
384
  /** DES-1:宿主默认 replay 路径 — 分批 + rAF yield */
@@ -1212,7 +1282,7 @@ declare function filterAgentLoopReplayEvents<T extends {
1212
1282
  declare function deriveLoopSessionIdFromAgentEvent(event: LangchainAgentEvent): string | null;
1213
1283
 
1214
1284
  /**
1215
- * hydrateWorkflowSnapshot.ts — remount SSOT(D36 P4
1285
+ * hydrateWorkflowSnapshot.ts — remount SSOT(D36 P4 · D40 P2 v2 双读)
1216
1286
  *
1217
1287
  * 职责:
1218
1288
  * WorkflowDisplaySnapshot → WorkflowSessionState 投影子集替换。
@@ -1292,4 +1362,4 @@ interface ClassifyContext {
1292
1362
  declare function resolveEventTier(eventType: string, overrides?: TierOverrides): EventTier;
1293
1363
  declare function classifyEvent(event: LangchainAgentEvent, ctx: ClassifyContext, overrides?: TierOverrides, eventIndex?: number): ClassifiedEvent;
1294
1364
 
1295
- export { Agent, type AgentAuthorityMetadata, type WorkflowAuthoritySource as AgentAuthoritySource, AgentLoopView, type AgentLoopViewProps, AgentSession, AgentSessionBanners, type AgentSessionBannersProps, type AgentSessionProps, type AgentxMetaFrame, type AgentxSseSourceOptions, type ApplicationKind, ApplicationKindMismatchError, AskDisplaySnapshot, AskUserQuestion, AuthorityPollFatalError, BOUNDED_DEFAULTS, Bash, CanonicalNodeRef, type ClassifiedEvent, type ClassifyContext, CollapseKind, CollapsedExploreNode, type CollapsedExploreNodeProps, DEFAULT_WORKFLOW_SCALE_OPTIONS, type DiagramFitLayout, DiagramZoomShell, type DiagramZoomShellProps, DiagramZoomView, type DiagramZoomViewProps, DisplayMode, EXPECTED_PROTOCOL_VERSION, Edit, ErrorCard, EventTier, ExploreCollapseAccumulator, GROUPABLE_TOOL_NAMES, Glob, Grep, GroupedToolUseAccumulator, type HydrateAskSnapshotState, type HydrateLoopSessionAsyncOptions, type HydrateWorkflowSnapshotOptions, InteractionBus, LangchainAgentEvent, MIN_HINT_DISPLAY_MS, MarkdownRenderer, MermaidDiagram, type MermaidDiagramProps, type MermaidInitOptions, type MermaidThemeName, MissingApplicationKindError, type MockAuthoritySourceOptions, NodeRegistry, PROFILE_PRESETS, PermissionCard, PermissionUiMode, PlantUMLBlock, type PlantUMLBlockProps, PlantUMLDiagram, type PlantUMLDiagramProps, type PollingAuthoritySourceOptions, type ProjectedTimelineItem, ProjectionContext, DisplayMode as ProjectionDisplayMode, Read, ReasoningBubble, ReconnectBudget, type ReduceOptions, ReducerError, RenderableEntry, RenderableTimelineProjector, type ReplayOptions, type ReplaySourceOptions, RichMarkdown, type RichMarkdownProps, SHELL_PROGRESS_MIN_ELAPSED_SECONDS, SessionNode, SessionNodeKind, SessionStatus, SessionStoreState, SessionTree, SessionTreeSnapshot, Skill, Source, SourceEventContext, Spinner, type SpinnerProps, type SseReconnectMode, type SseReconnectPolicy, type SseReplayMode, type SseTerminalPolicy, type SseTransportFailureKind, type SseTransportPolicy, type SseTransportPolicyOverride, type SseTransportProfile, SseTransportTerminalError, StepCard, SubAgentBlock, SystemSummaryAccumulator, SystemSummaryNode, Task, TaskList, TaskListFooter, TextBubble, TierOverrides, Timeline, TimelineItem, ToolBodyMode, ToolCallCard, ToolDisplayRegistry, ToolProjectionClassifier, UnknownCard, WORKFLOW_STRUCTURE_EVENT_PREFIXES, WORKFLOW_STRUCTURE_EVENT_TYPES, WebFetch, WebSearch, WorkflowAuthoritySnapshot, type WorkflowAuthoritySource, WorkflowAuthorityStatus, type WorkflowBannerDescriptor, WorkflowChrome, type WorkflowChromeProps, type WorkflowCoalescedBlock, WorkflowDisplayProjection, WorkflowDisplayProjectionStatus, type WorkflowDisplaySnapshot, type WorkflowDisplaySnapshotMetadata, type WorkflowLoopReplayHandler, WorkflowLoopReplayProvider, WorkflowScaleContext, type WorkflowScaleOptions, WorkflowSession, type WorkflowSessionProps, WorkflowSessionState, type WorkflowSessionStore, type WorkflowSessionStoreOptions, type WorkflowSessionStoreState, type WorkflowSnapshotProjectionStatus, WorkflowTaskListFooter, Write, applyAuthoritySnapshotToState, buildCanonicalFromTree, buildRelevantMemoriesCanonical, buildResumeStreamUrl, buildSystemEventCanonical, buildTimelineEntries, classifyEvent, commandAsHint, computeViewportFitTransform, configureMermaid, configurePlantumlServer, createAgentxSseSource, createControllableAuthoritySource, createDefaultRegistry, createDoneAuthoritySource, createMockAuthoritySource, createMockSource, createPollingAuthoritySource, createReplaySource, createRunningAuthoritySource, createWorkflowSessionStore, deriveLoopSessionIdFromAgentEvent, entryKey, filterAgentLoopReplayEvents, finalizeWorkflowDisplayOnStreamEnded, fixDiagramSvg, formatAgentTitle, formatExploreSummaryText, formatHookFinishedSummary, formatShellProgressSuffix, formatTaskFooterLabel, getChildIds, getDisplayProjectionStatus, getMainStageIds, hydrateAskFromSnapshot, hydrateWorkflowFromSnapshot, isAgentLoopReplayEventType, isAtOrBeforeProjectionCursor, isAuthorityTerminal, isAuthorityTerminalStatus, isFatalAuthorityPollStatus, isGitOperationCommand, isGroupableToolName, isMcpToolName, isSseStreamTerminalEvent, isWorkflowStructureEventType, iterMountCandidates, partitionWorkflowStages, projectCanonical, projectTimeline, reduceAgentLoopEvent, reduceEvents, reduceTree, reduceWorkflowEvents, reduceWorkflowSession, replayEvents, replayTree, resolveEventTier, resolveResponseId, resolveShellProgressFromPayload, resolveSseTransportPolicy, resolveWorkflowBanner, sessionTreeSnapshotToTree, shouldShowAgentSpinner, shouldShowGlobalSpinner, shouldShowTaskListFooter, streamChunk, useAgentAuthority, useAgentAuthoritySubscribeFailed, useChildren, useInteractionBus, useInternalErrors, useMinDisplayTime, useNode, useNodeTyped, useProjectedTimeline, useReplayTree, useSessionMeta, useSessionStatus, useTimeline, useWorkflowSessionStatus, useWorkflowSessionStoreApi };
1365
+ export { Agent, type AgentAuthorityMetadata, type WorkflowAuthoritySource as AgentAuthoritySource, AgentLoopView, type AgentLoopViewProps, AgentSession, AgentSessionBanners, type AgentSessionBannersProps, type AgentSessionProps, type AgentxMetaFrame, type AgentxSseSourceOptions, type ApplicationKind, ApplicationKindMismatchError, AskDisplaySnapshot, AskUserQuestion, AuthorityPollFatalError, BOUNDED_DEFAULTS, Bash, CanonicalNodeRef, type ClassifiedEvent, type ClassifyContext, CollapseKind, CollapsedExploreNode, type CollapsedExploreNodeProps, DEFAULT_WORKFLOW_SCALE_OPTIONS, DEMO_WORKFLOW_SCALE, type DeferEvictionUntil, type DiagramFitLayout, DiagramZoomShell, type DiagramZoomShellProps, DiagramZoomView, type DiagramZoomViewProps, DisplayMode, EXPECTED_PROTOCOL_VERSION, Edit, ErrorCard, EventTier, type EvictionDeferContext, ExploreCollapseAccumulator, GROUPABLE_TOOL_NAMES, Glob, Grep, GroupedToolUseAccumulator, type HydrateAskSnapshotState, type HydrateLoopSessionAsyncOptions, type HydrateWorkflowSnapshotOptions, InteractionBus, LangchainAgentEvent, MIN_HINT_DISPLAY_MS, MarkdownRenderer, MermaidDiagram, type MermaidDiagramProps, type MermaidInitOptions, type MermaidThemeName, MissingApplicationKindError, type MockAuthoritySourceOptions, NodeRegistry, PROFILE_PRESETS, PermissionCard, PermissionUiMode, PlantUMLBlock, type PlantUMLBlockProps, PlantUMLDiagram, type PlantUMLDiagramProps, type PollingAuthoritySourceOptions, type ProjectedTimelineItem, ProjectionContext, DisplayMode as ProjectionDisplayMode, Read, ReasoningBubble, ReconnectBudget, type ReduceOptions, ReducerError, RenderableEntry, RenderableTimelineProjector, type ReplayOptions, type ReplaySourceOptions, RichMarkdown, type RichMarkdownProps, SCALE_WORKFLOW_SCALE, SHELL_PROGRESS_MIN_ELAPSED_SECONDS, SessionNode, SessionNodeKind, SessionStatus, SessionStoreState, SessionTree, SessionTreeSnapshot, Skill, Source, SourceEventContext, Spinner, type SpinnerProps, type SseReconnectMode, type SseReconnectPolicy, type SseReplayMode, type SseTerminalPolicy, type SseTransportFailureKind, type SseTransportPolicy, type SseTransportPolicyOverride, type SseTransportProfile, SseTransportTerminalError, StepCard, SubAgentBlock, SystemSummaryAccumulator, SystemSummaryNode, Task, TaskList, TaskListFooter, TextBubble, TierOverrides, Timeline, TimelineItem, ToolBodyMode, ToolCallCard, ToolDisplayRegistry, ToolProjectionClassifier, UnknownCard, WORKFLOW_STRUCTURE_EVENT_PREFIXES, WORKFLOW_STRUCTURE_EVENT_TYPES, WebFetch, WebSearch, WorkflowAuthoritySnapshot, type WorkflowAuthoritySource, WorkflowAuthorityStatus, type WorkflowBannerDescriptor, WorkflowChrome, type WorkflowChromeProps, type WorkflowCoalescedBlock, WorkflowDisplayProjection, WorkflowDisplayProjectionStatus, type WorkflowDisplaySnapshot, type WorkflowDisplaySnapshotMetadata, WorkflowScaleContext, type WorkflowScaleOptions, WorkflowSession, type WorkflowSessionProps, WorkflowSessionState, type WorkflowSessionStore, type WorkflowSessionStoreOptions, type WorkflowSessionStoreState, type WorkflowSnapshotProjectionStatus, WorkflowTaskListFooter, Write, applyAuthoritySnapshotToState, buildCanonicalFromTree, buildRelevantMemoriesCanonical, buildResumeStreamUrl, buildSystemEventCanonical, buildTimelineEntries, classifyEvent, commandAsHint, computeViewportFitTransform, configureMermaid, configurePlantumlServer, createAgentxSseSource, createControllableAuthoritySource, createDefaultRegistry, createDoneAuthoritySource, createMockAuthoritySource, createMockSource, createPollingAuthoritySource, createReplaySource, createRunningAuthoritySource, createWorkflowSessionStore, deriveLoopSessionIdFromAgentEvent, entryKey, filterAgentLoopReplayEvents, finalizeWorkflowDisplayOnStreamEnded, fixDiagramSvg, formatAgentTitle, formatExploreSummaryText, formatHookFinishedSummary, formatShellProgressSuffix, formatTaskFooterLabel, getChildIds, getDisplayProjectionStatus, getMainStageIds, hydrateAskFromSnapshot, hydrateWorkflowFromSnapshot, isAgentLoopReplayEventType, isAtOrBeforeProjectionCursor, isAuthorityTerminal, isAuthorityTerminalStatus, isFatalAuthorityPollStatus, isGitOperationCommand, isGroupableToolName, isMcpToolName, isSseStreamTerminalEvent, isWorkflowStructureEventType, iterMountCandidates, partitionWorkflowStages, projectCanonical, projectTimeline, reduceAgentLoopEvent, reduceEvents, reduceTree, reduceWorkflowEvents, reduceWorkflowSession, replayEvents, replayTree, resolveEventTier, resolveResponseId, resolveShellProgressFromPayload, resolveSseTransportPolicy, resolveWorkflowBanner, resolveWorkflowScale, sessionTreeSnapshotToTree, shouldDeferEviction, shouldShowAgentSpinner, shouldShowGlobalSpinner, shouldShowTaskListFooter, streamChunk, useAgentAuthority, useAgentAuthoritySubscribeFailed, useChildren, useInteractionBus, useInternalErrors, useMinDisplayTime, useNode, useNodeTyped, useProjectedTimeline, useReplayTree, useSessionMeta, useSessionStatus, useTimeline, useWorkflowSessionStatus, useWorkflowSessionStoreApi };