Closes #246. The transcript, composer and approval controls move from structured.ts/structuredRender.ts into components under web/src/components/structured/, against docs/STRUCTURED-VIEW.md: eight row kinds, both projections, the single-active approval nonce, and diff rendering with its own line counts. The pure layers stay shared — structuredDiff.ts computes the diff, structuredRender.ts still sanitizes markdown — and model.ts holds the client-side decisions (activity grouping, notice classification, offered decisions, `/` completion) so they are testable without a DOM. Like TerminalPane, the pane draws the body only; pane chrome reads the connection through onStatusChange. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
14 lines
672 B
TypeScript
14 lines
672 B
TypeScript
export { StructuredPane, type StructuredPaneHandle, type StructuredPaneProps } from "./StructuredPane.js";
|
|
export { TranscriptRow, type TranscriptRowProps } from "./TranscriptRow.js";
|
|
export { DiffView, type DiffViewProps } from "./DiffView.js";
|
|
export { ApprovalView, type ApprovalViewProps } from "./ApprovalView.js";
|
|
export { ToolGroup, type ToolGroupProps } from "./ToolGroup.js";
|
|
export { ToolIcon, toolGlyph, type ToolIconProps } from "./ToolIcon.js";
|
|
export { Composer, type ComposerProps } from "./Composer.js";
|
|
export {
|
|
useStructuredSession,
|
|
type StructuredSession,
|
|
type StructuredSocketFactory,
|
|
type StructuredStatus,
|
|
} from "./useStructuredSession.js";
|