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b,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACpB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACN,eAAe,EACf,KAAK,cAAc,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,oBAAoB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,KAAK,SAAS,EACd,SAAS,EACT,aAAa,EACb,KAAK,SAAS,EACd,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,GAAG,GACH,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC","sourcesContent":["// Core TUI interfaces and classes\n\n// Autocomplete support\nexport {\n\ttype AutocompleteItem,\n\ttype AutocompleteProvider,\n\ttype AutocompleteSuggestions,\n\tCombinedAutocompleteProvider,\n\ttype SlashCommand,\n} from \"./autocomplete.js\";\n// Chord (multi-key sequence) matcher — sits on top of KeybindingsManager\nexport { type ChordResult, type ChordSegment, ChordSession, parseChord } from \"./chord.js\";\n// Color depth emission\nexport { type ColorDepth, detectColorDepth, hexToSgr, resetColorDepthCache, sgrReset } from \"./color-depth.js\";\n// Activity monitor overlay (F2) — replaces the legacy SubagentOverlay.\nexport {\n\ttype ActivityKind,\n\tActivityOverlay,\n\ttype ActivityOverlayOptions,\n\ttype ActivityOverlayRegistry,\n\ttype ActivityOverlayTheme,\n\ttype ActivitySnapshot,\n\ttype ActivityStatus,\n\tformatElapsed,\n\tNULL_ACTIVITY_REGISTRY,\n} from \"./components/ActivityOverlay.js\";\n// Components\nexport { Box } from \"./components/box.js\";\n// Chapters (auto-folded transcript intent groups)\nexport {\n\ttype Chapter,\n\tdetectIntent,\n\tgroupTurnsIntoChapters,\n\ttype Intent,\n\tintentLabel,\n\ttype Turn,\n\ttoggleChapter,\n} from \"./components/Chapters.js\";\nexport { CancellableLoader } from \"./components/cancellable-loader.js\";\n// Diff view (side-by-side ≥ 100 cols)\nexport {\n\ttype DiffLayout,\n\ttype DiffLine,\n\ttype DiffLineKind,\n\tDiffView,\n\ttype DiffViewOptions,\n\ttype DiffViewTheme,\n\tpairUpHunks,\n\tpickLayout,\n\tSIDE_BY_SIDE_MIN_WIDTH,\n} from \"./components/DiffView.js\";\nexport { Editor, type EditorOptions, type EditorTheme } from \"./components/editor.js\";\nexport {\n\ttype GroupedSelectGroup,\n\ttype GroupedSelection,\n\tGroupedSelectList,\n\ttype GroupedSelectListOptions,\n} from \"./components/grouped-select-list.js\";\nexport { Image, type ImageOptions, type ImageTheme } from \"./components/image.js\";\nexport { Input } from \"./components/input.js\";\nexport { Loader } from \"./components/loader.js\";\nexport { type DefaultTextStyle, Markdown, type MarkdownTheme } from \"./components/markdown.js\";\n// Status line (Claude Code v2.1.119 schema)\nexport {\n\tparseStatusLineSettings,\n\trenderDefault as renderStatusLineDefault,\n\trenderDetailed as renderStatusLineDetailed,\n\trenderStatusLineSync,\n\tStatusLine,\n\ttype StatusLineComponentTheme,\n\ttype StatusLineContext,\n\ttype StatusLineRenderer,\n\ttype StatusLineResult,\n\ttype StatusLineSettings,\n\tsanitizeOneLine,\n\ttailPath,\n} from \"./components/StatusLine.js\";\n// Legacy subagent overlay — kept as a backward-compat published-API surface for\n// one release (N4). Existing consumers importing SubagentOverlay /\n// SubagentSnapshot / SubagentRegistry / NULL_SUBAGENT_REGISTRY keep working.\nexport {\n\tNULL_SUBAGENT_REGISTRY,\n\tSubagentOverlay,\n\ttype SubagentOverlayOptions,\n\ttype SubagentOverlayTheme,\n\ttype SubagentRegistry,\n\ttype SubagentSnapshot,\n} from \"./components/SubagentOverlay.js\";\nexport {\n\ttype SelectItem,\n\tSelectList,\n\ttype SelectListLayoutOptions,\n\ttype SelectListTheme,\n\ttype SelectListTruncatePrimaryContext,\n} from \"./components/select-list.js\";\nexport { type SettingItem, SettingsList, type SettingsListTheme } from \"./components/settings-list.js\";\nexport { Spacer } from \"./components/spacer.js\";\nexport { Spinner, type SpinnerOptions } from \"./components/spinner.js\";\nexport { balancePartial, StreamingMarkdown } from \"./components/streaming-markdown.js\";\nexport { Text } from \"./components/text.js\";\nexport { TruncatedText } from \"./components/truncated-text.js\";\n// Editor component interface (for custom editors)\nexport type { EditorComponent } from \"./editor-component.js\";\n// Fuzzy matching\nexport { type FuzzyMatch, fuzzyFilter, fuzzyMatch } from \"./fuzzy.js\";\n// Keybindings\nexport {\n\tgetKeybindings,\n\ttype Keybinding,\n\ttype KeybindingConflict,\n\ttype KeybindingDefinition,\n\ttype KeybindingDefinitions,\n\ttype Keybindings,\n\ttype KeybindingsConfig,\n\tKeybindingsManager,\n\tsetKeybindings,\n\tTUI_KEYBINDINGS,\n} from \"./keybindings.js\";\n// Keyboard input handling\nexport {\n\tdecodeKittyPrintable,\n\tisKeyRelease,\n\tisKeyRepeat,\n\tisKittyProtocolActive,\n\tKey,\n\ttype KeyEventType,\n\ttype KeyId,\n\tmatchesKey,\n\tparseKey,\n\tsetKittyProtocolActive,\n} from \"./keys.js\";\n// Terminal notifications (OSC 9 + bell)\nexport { bell, type NotifyOptions, notify } from \"./notifications.js\";\n// OSC-52 clipboard write\nexport { encodeOsc52, OSC52_MAX_BYTES, writeOsc52 } from \"./osc52.js\";\n// Scroll buffer (in-app scrollback)\nexport { ScrollBuffer, type ScrollBufferOptions, type ScrollMode } from \"./scroll-buffer.js\";\n// Spinner frame data\nexport {\n\tgetSpinner,\n\tSPINNERS,\n\ttype SpinnerName,\n\ttype SpinnerVariant,\n\tTHINKING_SPINNERS,\n\tTOOL_SPINNERS,\n} from \"./spinners.js\";\n// Input buffering for batch splitting\nexport { StdinBuffer, type StdinBufferEventMap, type StdinBufferOptions } from \"./stdin-buffer.js\";\n// Synchronized output (DEC private mode 2026)\nexport {\n\tclassifySyncOutputSupport,\n\temitSyncOutputBegin,\n\temitSyncOutputEnd,\n\tSYNC_OUTPUT_BEGIN,\n\tSYNC_OUTPUT_END,\n\ttype SyncOutputCapabilityInput,\n\ttype SyncOutputSupport,\n\twrapSyncOutput,\n} from \"./sync-output.js\";\n// Terminal interface and implementations\nexport { ProcessTerminal, type Terminal } from \"./terminal.js\";\n// Terminal identity + background detection\nexport {\n\ttype BackgroundClassification,\n\tdetectTerminalIdentity,\n\ttype Multiplexer,\n\ttype ProbeResult,\n\tprobeTerminal,\n\tqueryOsc11Standalone,\n\tqueryTerminalBackground,\n\trelativeLuminance,\n\ttype TerminalBackground,\n\ttype TerminalIdentity,\n\ttype TerminalProgram,\n} from \"./terminal-detect.js\";\n// Terminal image support\nexport {\n\tallocateImageId,\n\ttype CellDimensions,\n\tcalculateImageRows,\n\tdeleteAllKittyImages,\n\tdeleteKittyImage,\n\tdetectCapabilities,\n\tencodeITerm2,\n\tencodeKitty,\n\tgetCapabilities,\n\tgetCellDimensions,\n\tgetGifDimensions,\n\tgetImageDimensions,\n\tgetJpegDimensions,\n\tgetPngDimensions,\n\tgetWebpDimensions,\n\ttype ImageDimensions,\n\ttype ImageProtocol,\n\ttype ImageRenderOptions,\n\timageFallback,\n\trenderImage,\n\tresetCapabilitiesCache,\n\tsetCellDimensions,\n\ttype TerminalCapabilities,\n} from \"./terminal-image.js\";\nexport {\n\ttype Component,\n\tContainer,\n\tCURSOR_MARKER,\n\ttype Focusable,\n\tisFocusable,\n\ttype OverlayAnchor,\n\ttype OverlayHandle,\n\ttype OverlayMargin,\n\ttype OverlayOptions,\n\ttype SidePanelHandle,\n\ttype SidePanelOptions,\n\ttype SizeValue,\n\tTUI,\n} from \"./tui.js\";\n// Utilities\nexport { compositeColumns, truncateToWidth, visibleWidth, wrapTextWithAnsi } from \"./utils.js\";\n"]}