@deepseek-harness-tui/dsh-tui 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/LICENSE +21 -0
- package/README.md +235 -0
- package/bin/dsh-tui.js +95 -0
- package/cordis.patch.yml +218 -0
- package/cordis.yml +185 -0
- package/lib/invariant.js +28 -0
- package/lib/types/activityPrefs.d.ts +29 -0
- package/lib/types/activityPrefs.d.ts.map +1 -0
- package/lib/types/activityPrefs.js +60 -0
- package/lib/types/bootstrap/state.d.ts +13 -0
- package/lib/types/bootstrap/state.d.ts.map +1 -0
- package/lib/types/bootstrap/state.js +12 -0
- package/lib/types/cc/cliHighlight.d.ts +20 -0
- package/lib/types/cc/cliHighlight.d.ts.map +1 -0
- package/lib/types/cc/cliHighlight.js +53 -0
- package/lib/types/cc/figures.d.ts +59 -0
- package/lib/types/cc/figures.d.ts.map +1 -0
- package/lib/types/cc/figures.js +69 -0
- package/lib/types/cc/format.d.ts +26 -0
- package/lib/types/cc/format.d.ts.map +1 -0
- package/lib/types/cc/format.js +55 -0
- package/lib/types/cc/hash.d.ts +25 -0
- package/lib/types/cc/hash.d.ts.map +1 -0
- package/lib/types/cc/hash.js +41 -0
- package/lib/types/cc/hyperlink.d.ts +21 -0
- package/lib/types/cc/hyperlink.d.ts.map +1 -0
- package/lib/types/cc/hyperlink.js +31 -0
- package/lib/types/cc/markdown.d.ts +43 -0
- package/lib/types/cc/markdown.d.ts.map +1 -0
- package/lib/types/cc/markdown.js +345 -0
- package/lib/types/cc/spinnerVerbs.d.ts +3 -0
- package/lib/types/cc/spinnerVerbs.d.ts.map +1 -0
- package/lib/types/cc/spinnerVerbs.js +190 -0
- package/lib/types/cc/terminal.d.ts +15 -0
- package/lib/types/cc/terminal.d.ts.map +1 -0
- package/lib/types/cc/terminal.js +84 -0
- package/lib/types/channel.d.ts +672 -0
- package/lib/types/channel.d.ts.map +1 -0
- package/lib/types/channel.js +2427 -0
- package/lib/types/childStderr.d.ts +63 -0
- package/lib/types/childStderr.d.ts.map +1 -0
- package/lib/types/childStderr.js +161 -0
- package/lib/types/commands.d.ts +55 -0
- package/lib/types/commands.d.ts.map +1 -0
- package/lib/types/commands.js +101 -0
- package/lib/types/components/ActivityLine.d.ts +29 -0
- package/lib/types/components/ActivityLine.d.ts.map +1 -0
- package/lib/types/components/ActivityLine.js +47 -0
- package/lib/types/components/ActivityPicker.d.ts +13 -0
- package/lib/types/components/ActivityPicker.d.ts.map +1 -0
- package/lib/types/components/ActivityPicker.js +24 -0
- package/lib/types/components/CommandSuggestions.d.ts +14 -0
- package/lib/types/components/CommandSuggestions.d.ts.map +1 -0
- package/lib/types/components/CommandSuggestions.js +33 -0
- package/lib/types/components/FileSuggestions.d.ts +12 -0
- package/lib/types/components/FileSuggestions.d.ts.map +1 -0
- package/lib/types/components/FileSuggestions.js +26 -0
- package/lib/types/components/GoalTodoPanel.d.ts +13 -0
- package/lib/types/components/GoalTodoPanel.d.ts.map +1 -0
- package/lib/types/components/GoalTodoPanel.js +57 -0
- package/lib/types/components/HelpMenu.d.ts +12 -0
- package/lib/types/components/HelpMenu.d.ts.map +1 -0
- package/lib/types/components/HelpMenu.js +12 -0
- package/lib/types/components/HistorySearchDialog.d.ts +16 -0
- package/lib/types/components/HistorySearchDialog.d.ts.map +1 -0
- package/lib/types/components/HistorySearchDialog.js +31 -0
- package/lib/types/components/InterruptedByUser.d.ts +7 -0
- package/lib/types/components/InterruptedByUser.d.ts.map +1 -0
- package/lib/types/components/InterruptedByUser.js +9 -0
- package/lib/types/components/LoadedContextPanel.d.ts +20 -0
- package/lib/types/components/LoadedContextPanel.d.ts.map +1 -0
- package/lib/types/components/LoadedContextPanel.js +30 -0
- package/lib/types/components/LogoV2.d.ts +23 -0
- package/lib/types/components/LogoV2.d.ts.map +1 -0
- package/lib/types/components/LogoV2.js +95 -0
- package/lib/types/components/Markdown.d.ts +24 -0
- package/lib/types/components/Markdown.d.ts.map +1 -0
- package/lib/types/components/Markdown.js +106 -0
- package/lib/types/components/MarkdownTable.d.ts +17 -0
- package/lib/types/components/MarkdownTable.d.ts.map +1 -0
- package/lib/types/components/MarkdownTable.js +272 -0
- package/lib/types/components/MessageList.d.ts +41 -0
- package/lib/types/components/MessageList.d.ts.map +1 -0
- package/lib/types/components/MessageList.js +303 -0
- package/lib/types/components/ModelPicker.d.ts +14 -0
- package/lib/types/components/ModelPicker.d.ts.map +1 -0
- package/lib/types/components/ModelPicker.js +15 -0
- package/lib/types/components/PresetPicker.d.ts +17 -0
- package/lib/types/components/PresetPicker.d.ts.map +1 -0
- package/lib/types/components/PresetPicker.js +25 -0
- package/lib/types/components/PromptInput.d.ts +67 -0
- package/lib/types/components/PromptInput.d.ts.map +1 -0
- package/lib/types/components/PromptInput.js +778 -0
- package/lib/types/components/ResumePicker.d.ts +15 -0
- package/lib/types/components/ResumePicker.d.ts.map +1 -0
- package/lib/types/components/ResumePicker.js +34 -0
- package/lib/types/components/RewindPicker.d.ts +14 -0
- package/lib/types/components/RewindPicker.d.ts.map +1 -0
- package/lib/types/components/RewindPicker.js +23 -0
- package/lib/types/components/SearchBox.d.ts +20 -0
- package/lib/types/components/SearchBox.d.ts.map +1 -0
- package/lib/types/components/SearchBox.js +33 -0
- package/lib/types/components/Select.d.ts +22 -0
- package/lib/types/components/Select.d.ts.map +1 -0
- package/lib/types/components/Select.js +19 -0
- package/lib/types/components/Spinner/GlimmerMessage.d.ts +19 -0
- package/lib/types/components/Spinner/GlimmerMessage.d.ts.map +1 -0
- package/lib/types/components/Spinner/GlimmerMessage.js +78 -0
- package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts +31 -0
- package/lib/types/components/Spinner/SpinnerAnimationRow.d.ts.map +1 -0
- package/lib/types/components/Spinner/SpinnerAnimationRow.js +162 -0
- package/lib/types/components/Spinner/SpinnerGlyph.d.ts +16 -0
- package/lib/types/components/Spinner/SpinnerGlyph.d.ts.map +1 -0
- package/lib/types/components/Spinner/SpinnerGlyph.js +36 -0
- package/lib/types/components/Spinner/spinnerMode.d.ts +6 -0
- package/lib/types/components/Spinner/spinnerMode.d.ts.map +1 -0
- package/lib/types/components/Spinner/spinnerMode.js +1 -0
- package/lib/types/components/Spinner/spinnerUtils.d.ts +41 -0
- package/lib/types/components/Spinner/spinnerUtils.d.ts.map +1 -0
- package/lib/types/components/Spinner/spinnerUtils.js +104 -0
- package/lib/types/components/Spinner/useStalledAnimation.d.ts +16 -0
- package/lib/types/components/Spinner/useStalledAnimation.d.ts.map +1 -0
- package/lib/types/components/Spinner/useStalledAnimation.js +71 -0
- package/lib/types/components/StreamingMarkdown.d.ts +12 -0
- package/lib/types/components/StreamingMarkdown.d.ts.map +1 -0
- package/lib/types/components/StreamingMarkdown.js +39 -0
- package/lib/types/components/ThemePicker.d.ts +22 -0
- package/lib/types/components/ThemePicker.d.ts.map +1 -0
- package/lib/types/components/ThemePicker.js +51 -0
- package/lib/types/components/ThinkingToggle.d.ts +17 -0
- package/lib/types/components/ThinkingToggle.d.ts.map +1 -0
- package/lib/types/components/ThinkingToggle.js +30 -0
- package/lib/types/components/ToolUseLoader.d.ts +13 -0
- package/lib/types/components/ToolUseLoader.d.ts.map +1 -0
- package/lib/types/components/ToolUseLoader.js +17 -0
- package/lib/types/components/Whale.d.ts +22 -0
- package/lib/types/components/Whale.d.ts.map +1 -0
- package/lib/types/components/Whale.js +78 -0
- package/lib/types/components/WorkingSpinner.d.ts +26 -0
- package/lib/types/components/WorkingSpinner.d.ts.map +1 -0
- package/lib/types/components/WorkingSpinner.js +68 -0
- package/lib/types/components/activityFrames.d.ts +31 -0
- package/lib/types/components/activityFrames.d.ts.map +1 -0
- package/lib/types/components/activityFrames.js +83 -0
- package/lib/types/components/bigfont.d.ts +28 -0
- package/lib/types/components/bigfont.d.ts.map +1 -0
- package/lib/types/components/bigfont.js +91 -0
- package/lib/types/components/design-system/Byline.d.ts +14 -0
- package/lib/types/components/design-system/Byline.d.ts.map +1 -0
- package/lib/types/components/design-system/Byline.js +17 -0
- package/lib/types/components/design-system/Divider.d.ts +40 -0
- package/lib/types/components/design-system/Divider.d.ts.map +1 -0
- package/lib/types/components/design-system/Divider.js +24 -0
- package/lib/types/components/design-system/KeyboardShortcutHint.d.ts +19 -0
- package/lib/types/components/design-system/KeyboardShortcutHint.d.ts.map +1 -0
- package/lib/types/components/design-system/KeyboardShortcutHint.js +14 -0
- package/lib/types/components/design-system/ListItem.d.ts +36 -0
- package/lib/types/components/design-system/ListItem.d.ts.map +1 -0
- package/lib/types/components/design-system/ListItem.js +48 -0
- package/lib/types/components/design-system/LoadingState.d.ts +19 -0
- package/lib/types/components/design-system/LoadingState.d.ts.map +1 -0
- package/lib/types/components/design-system/LoadingState.js +22 -0
- package/lib/types/components/design-system/Pane.d.ts +17 -0
- package/lib/types/components/design-system/Pane.d.ts.map +1 -0
- package/lib/types/components/design-system/Pane.js +15 -0
- package/lib/types/components/design-system/ProgressBar.d.ts +22 -0
- package/lib/types/components/design-system/ProgressBar.d.ts.map +1 -0
- package/lib/types/components/design-system/ProgressBar.js +27 -0
- package/lib/types/components/design-system/StatusIcon.d.ts +15 -0
- package/lib/types/components/design-system/StatusIcon.d.ts.map +1 -0
- package/lib/types/components/design-system/StatusIcon.js +20 -0
- package/lib/types/components/design-system/ThemeProvider.d.ts +11 -0
- package/lib/types/components/design-system/ThemeProvider.d.ts.map +1 -0
- package/lib/types/components/design-system/ThemeProvider.js +135 -0
- package/lib/types/components/design-system/ThemedBox.d.ts +37 -0
- package/lib/types/components/design-system/ThemedBox.d.ts.map +1 -0
- package/lib/types/components/design-system/ThemedBox.js +26 -0
- package/lib/types/components/design-system/ThemedText.d.ts +56 -0
- package/lib/types/components/design-system/ThemedText.d.ts.map +1 -0
- package/lib/types/components/design-system/ThemedText.js +45 -0
- package/lib/types/components/messages/AssistantTextMessage.d.ts +18 -0
- package/lib/types/components/messages/AssistantTextMessage.d.ts.map +1 -0
- package/lib/types/components/messages/AssistantTextMessage.js +15 -0
- package/lib/types/components/messages/AssistantThinkingMessage.d.ts +23 -0
- package/lib/types/components/messages/AssistantThinkingMessage.d.ts.map +1 -0
- package/lib/types/components/messages/AssistantThinkingMessage.js +23 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts +23 -0
- package/lib/types/components/messages/AssistantToolUseMessage.d.ts.map +1 -0
- package/lib/types/components/messages/AssistantToolUseMessage.js +220 -0
- package/lib/types/components/messages/MessageMetadata.d.ts +15 -0
- package/lib/types/components/messages/MessageMetadata.d.ts.map +1 -0
- package/lib/types/components/messages/MessageMetadata.js +20 -0
- package/lib/types/components/messages/UserPromptMessage.d.ts +19 -0
- package/lib/types/components/messages/UserPromptMessage.d.ts.map +1 -0
- package/lib/types/components/messages/UserPromptMessage.js +15 -0
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts +39 -0
- package/lib/types/components/questions/AskUserQuestionPanel.d.ts.map +1 -0
- package/lib/types/components/questions/AskUserQuestionPanel.js +228 -0
- package/lib/types/components/shimmer.d.ts +35 -0
- package/lib/types/components/shimmer.d.ts.map +1 -0
- package/lib/types/components/shimmer.js +43 -0
- package/lib/types/components/whaleFrames.d.ts +25 -0
- package/lib/types/components/whaleFrames.d.ts.map +1 -0
- package/lib/types/components/whaleFrames.js +419 -0
- package/lib/types/customTheme.d.ts +104 -0
- package/lib/types/customTheme.d.ts.map +1 -0
- package/lib/types/customTheme.js +268 -0
- package/lib/types/effortPrefs.d.ts +22 -0
- package/lib/types/effortPrefs.d.ts.map +1 -0
- package/lib/types/effortPrefs.js +45 -0
- package/lib/types/history.d.ts +24 -0
- package/lib/types/history.d.ts.map +1 -0
- package/lib/types/history.js +75 -0
- package/lib/types/hooks/useBlink.d.ts +11 -0
- package/lib/types/hooks/useBlink.d.ts.map +1 -0
- package/lib/types/hooks/useBlink.js +20 -0
- package/lib/types/i18n.d.ts +926 -0
- package/lib/types/i18n.d.ts.map +1 -0
- package/lib/types/i18n.js +356 -0
- package/lib/types/index.d.ts +70 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +31 -0
- package/lib/types/ink/Ansi.d.ts +11 -0
- package/lib/types/ink/Ansi.d.ts.map +1 -0
- package/lib/types/ink/Ansi.js +269 -0
- package/lib/types/ink/bidi.d.ts +18 -0
- package/lib/types/ink/bidi.d.ts.map +1 -0
- package/lib/types/ink/bidi.js +119 -0
- package/lib/types/ink/clearTerminal.d.ts +22 -0
- package/lib/types/ink/clearTerminal.d.ts.map +1 -0
- package/lib/types/ink/clearTerminal.js +72 -0
- package/lib/types/ink/colorize.d.ts +33 -0
- package/lib/types/ink/colorize.d.ts.map +1 -0
- package/lib/types/ink/colorize.js +213 -0
- package/lib/types/ink/components/AlternateScreen.d.ts +22 -0
- package/lib/types/ink/components/AlternateScreen.d.ts.map +1 -0
- package/lib/types/ink/components/AlternateScreen.js +74 -0
- package/lib/types/ink/components/App.d.ts +73 -0
- package/lib/types/ink/components/App.d.ts.map +1 -0
- package/lib/types/ink/components/App.js +597 -0
- package/lib/types/ink/components/AppContext.d.ts +15 -0
- package/lib/types/ink/components/AppContext.d.ts.map +1 -0
- package/lib/types/ink/components/AppContext.js +11 -0
- package/lib/types/ink/components/Box.d.ts +49 -0
- package/lib/types/ink/components/Box.d.ts.map +1 -0
- package/lib/types/ink/components/Box.js +153 -0
- package/lib/types/ink/components/Button.d.ts +37 -0
- package/lib/types/ink/components/Button.d.ts.map +1 -0
- package/lib/types/ink/components/Button.js +166 -0
- package/lib/types/ink/components/ClockContext.d.ts +10 -0
- package/lib/types/ink/components/ClockContext.d.ts.map +1 -0
- package/lib/types/ink/components/ClockContext.js +108 -0
- package/lib/types/ink/components/CursorDeclarationContext.d.ts +30 -0
- package/lib/types/ink/components/CursorDeclarationContext.d.ts.map +1 -0
- package/lib/types/ink/components/CursorDeclarationContext.js +6 -0
- package/lib/types/ink/components/ErrorOverview.d.ts +7 -0
- package/lib/types/ink/components/ErrorOverview.d.ts.map +1 -0
- package/lib/types/ink/components/ErrorOverview.js +49 -0
- package/lib/types/ink/components/Link.d.ts +8 -0
- package/lib/types/ink/components/Link.d.ts.map +1 -0
- package/lib/types/ink/components/Link.js +33 -0
- package/lib/types/ink/components/Newline.d.ts +13 -0
- package/lib/types/ink/components/Newline.d.ts.map +1 -0
- package/lib/types/ink/components/Newline.js +29 -0
- package/lib/types/ink/components/NoSelect.d.ts +20 -0
- package/lib/types/ink/components/NoSelect.d.ts.map +1 -0
- package/lib/types/ink/components/NoSelect.js +56 -0
- package/lib/types/ink/components/RawAnsi.d.ts +17 -0
- package/lib/types/ink/components/RawAnsi.d.ts.map +1 -0
- package/lib/types/ink/components/RawAnsi.js +45 -0
- package/lib/types/ink/components/ScrollBox.d.ts +78 -0
- package/lib/types/ink/components/ScrollBox.d.ts.map +1 -0
- package/lib/types/ink/components/ScrollBox.js +174 -0
- package/lib/types/ink/components/Spacer.d.ts +6 -0
- package/lib/types/ink/components/Spacer.d.ts.map +1 -0
- package/lib/types/ink/components/Spacer.js +19 -0
- package/lib/types/ink/components/StdinContext.d.ts +32 -0
- package/lib/types/ink/components/StdinContext.d.ts.map +1 -0
- package/lib/types/ink/components/StdinContext.js +16 -0
- package/lib/types/ink/components/TerminalFocusContext.d.ts +11 -0
- package/lib/types/ink/components/TerminalFocusContext.d.ts.map +1 -0
- package/lib/types/ink/components/TerminalFocusContext.js +45 -0
- package/lib/types/ink/components/TerminalSizeContext.d.ts +6 -0
- package/lib/types/ink/components/TerminalSizeContext.d.ts.map +1 -0
- package/lib/types/ink/components/TerminalSizeContext.js +3 -0
- package/lib/types/ink/components/Text.d.ts +56 -0
- package/lib/types/ink/components/Text.d.ts.map +1 -0
- package/lib/types/ink/components/Text.js +194 -0
- package/lib/types/ink/constants.d.ts +3 -0
- package/lib/types/ink/constants.d.ts.map +1 -0
- package/lib/types/ink/constants.js +2 -0
- package/lib/types/ink/cursor.d.ts +11 -0
- package/lib/types/ink/cursor.d.ts.map +1 -0
- package/lib/types/ink/cursor.js +1 -0
- package/lib/types/ink/devtools.d.ts +7 -0
- package/lib/types/ink/devtools.d.ts.map +1 -0
- package/lib/types/ink/devtools.js +1 -0
- package/lib/types/ink/dom.d.ts +178 -0
- package/lib/types/ink/dom.d.ts.map +1 -0
- package/lib/types/ink/dom.js +424 -0
- package/lib/types/ink/events/click-event.d.ts +32 -0
- package/lib/types/ink/events/click-event.d.ts.map +1 -0
- package/lib/types/ink/events/click-event.js +36 -0
- package/lib/types/ink/events/dispatcher.d.ts +63 -0
- package/lib/types/ink/events/dispatcher.d.ts.map +1 -0
- package/lib/types/ink/events/dispatcher.js +194 -0
- package/lib/types/ink/events/emitter.d.ts +20 -0
- package/lib/types/ink/events/emitter.d.ts.map +1 -0
- package/lib/types/ink/events/emitter.js +43 -0
- package/lib/types/ink/events/event-handlers.d.ts +47 -0
- package/lib/types/ink/events/event-handlers.d.ts.map +1 -0
- package/lib/types/ink/events/event-handlers.js +30 -0
- package/lib/types/ink/events/event.d.ts +19 -0
- package/lib/types/ink/events/event.d.ts.map +1 -0
- package/lib/types/ink/events/event.js +22 -0
- package/lib/types/ink/events/focus-event.d.ts +19 -0
- package/lib/types/ink/events/focus-event.d.ts.map +1 -0
- package/lib/types/ink/events/focus-event.js +21 -0
- package/lib/types/ink/events/input-event.d.ts +53 -0
- package/lib/types/ink/events/input-event.d.ts.map +1 -0
- package/lib/types/ink/events/input-event.js +180 -0
- package/lib/types/ink/events/keyboard-event.d.ts +40 -0
- package/lib/types/ink/events/keyboard-event.d.ts.map +1 -0
- package/lib/types/ink/events/keyboard-event.js +65 -0
- package/lib/types/ink/events/paste-event.d.ts +11 -0
- package/lib/types/ink/events/paste-event.d.ts.map +1 -0
- package/lib/types/ink/events/paste-event.js +13 -0
- package/lib/types/ink/events/resize-event.d.ts +13 -0
- package/lib/types/ink/events/resize-event.d.ts.map +1 -0
- package/lib/types/ink/events/resize-event.js +16 -0
- package/lib/types/ink/events/terminal-event.d.ts +112 -0
- package/lib/types/ink/events/terminal-event.d.ts.map +1 -0
- package/lib/types/ink/events/terminal-event.js +131 -0
- package/lib/types/ink/events/terminal-focus-event.d.ts +21 -0
- package/lib/types/ink/events/terminal-focus-event.d.ts.map +1 -0
- package/lib/types/ink/events/terminal-focus-event.js +18 -0
- package/lib/types/ink/focus.d.ts +74 -0
- package/lib/types/ink/focus.d.ts.map +1 -0
- package/lib/types/ink/focus.js +188 -0
- package/lib/types/ink/frame.d.ts +119 -0
- package/lib/types/ink/frame.d.ts.map +1 -0
- package/lib/types/ink/frame.js +43 -0
- package/lib/types/ink/get-max-width.d.ts +20 -0
- package/lib/types/ink/get-max-width.d.ts.map +1 -0
- package/lib/types/ink/get-max-width.js +25 -0
- package/lib/types/ink/hit-test.d.ts +47 -0
- package/lib/types/ink/hit-test.d.ts.map +1 -0
- package/lib/types/ink/hit-test.js +126 -0
- package/lib/types/ink/hooks/use-animation-frame.d.ts +27 -0
- package/lib/types/ink/hooks/use-animation-frame.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-animation-frame.js +48 -0
- package/lib/types/ink/hooks/use-app.d.ts +8 -0
- package/lib/types/ink/hooks/use-app.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-app.js +8 -0
- package/lib/types/ink/hooks/use-copy-on-select.d.ts +22 -0
- package/lib/types/ink/hooks/use-copy-on-select.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-copy-on-select.js +40 -0
- package/lib/types/ink/hooks/use-declared-cursor.d.ts +31 -0
- package/lib/types/ink/hooks/use-declared-cursor.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-declared-cursor.js +65 -0
- package/lib/types/ink/hooks/use-input.d.ts +41 -0
- package/lib/types/ink/hooks/use-input.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-input.js +73 -0
- package/lib/types/ink/hooks/use-interval.d.ts +23 -0
- package/lib/types/ink/hooks/use-interval.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-interval.js +58 -0
- package/lib/types/ink/hooks/use-search-highlight.d.ts +34 -0
- package/lib/types/ink/hooks/use-search-highlight.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-search-highlight.js +35 -0
- package/lib/types/ink/hooks/use-selection.d.ts +44 -0
- package/lib/types/ink/hooks/use-selection.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-selection.js +64 -0
- package/lib/types/ink/hooks/use-stdin.d.ts +8 -0
- package/lib/types/ink/hooks/use-stdin.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-stdin.js +8 -0
- package/lib/types/ink/hooks/use-tab-status.d.ts +18 -0
- package/lib/types/ink/hooks/use-tab-status.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-tab-status.js +58 -0
- package/lib/types/ink/hooks/use-terminal-focus.d.ts +11 -0
- package/lib/types/ink/hooks/use-terminal-focus.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-terminal-focus.js +15 -0
- package/lib/types/ink/hooks/use-terminal-size.d.ts +6 -0
- package/lib/types/ink/hooks/use-terminal-size.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-terminal-size.js +12 -0
- package/lib/types/ink/hooks/use-terminal-title.d.ts +14 -0
- package/lib/types/ink/hooks/use-terminal-title.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-terminal-title.js +30 -0
- package/lib/types/ink/hooks/use-terminal-viewport.d.ts +32 -0
- package/lib/types/ink/hooks/use-terminal-viewport.d.ts.map +1 -0
- package/lib/types/ink/hooks/use-terminal-viewport.js +79 -0
- package/lib/types/ink/ink.d.ts +370 -0
- package/lib/types/ink/ink.d.ts.map +1 -0
- package/lib/types/ink/ink.js +1665 -0
- package/lib/types/ink/instances.d.ts +10 -0
- package/lib/types/ink/instances.d.ts.map +1 -0
- package/lib/types/ink/instances.js +13 -0
- package/lib/types/ink/layout/engine.d.ts +7 -0
- package/lib/types/ink/layout/engine.d.ts.map +1 -0
- package/lib/types/ink/layout/engine.js +8 -0
- package/lib/types/ink/layout/geometry.d.ts +86 -0
- package/lib/types/ink/layout/geometry.d.ts.map +1 -0
- package/lib/types/ink/layout/geometry.js +95 -0
- package/lib/types/ink/layout/node.d.ts +151 -0
- package/lib/types/ink/layout/node.d.ts.map +1 -0
- package/lib/types/ink/layout/node.js +72 -0
- package/lib/types/ink/layout/yoga.d.ts +69 -0
- package/lib/types/ink/layout/yoga.d.ts.map +1 -0
- package/lib/types/ink/layout/yoga.js +249 -0
- package/lib/types/ink/line-width-cache.d.ts +9 -0
- package/lib/types/ink/line-width-cache.d.ts.map +1 -0
- package/lib/types/ink/line-width-cache.js +45 -0
- package/lib/types/ink/log-update.d.ts +57 -0
- package/lib/types/ink/log-update.d.ts.map +1 -0
- package/lib/types/ink/log-update.js +710 -0
- package/lib/types/ink/measure-element.d.ts +19 -0
- package/lib/types/ink/measure-element.d.ts.map +1 -0
- package/lib/types/ink/measure-element.js +10 -0
- package/lib/types/ink/measure-text.d.ts +13 -0
- package/lib/types/ink/measure-text.d.ts.map +1 -0
- package/lib/types/ink/measure-text.js +38 -0
- package/lib/types/ink/node-cache.d.ts +33 -0
- package/lib/types/ink/node-cache.d.ts.map +1 -0
- package/lib/types/ink/node-cache.js +42 -0
- package/lib/types/ink/optimizer.d.ts +18 -0
- package/lib/types/ink/optimizer.d.ts.map +1 -0
- package/lib/types/ink/optimizer.js +83 -0
- package/lib/types/ink/output.d.ts +200 -0
- package/lib/types/ink/output.d.ts.map +1 -0
- package/lib/types/ink/output.js +663 -0
- package/lib/types/ink/parse-keypress.d.ts +132 -0
- package/lib/types/ink/parse-keypress.d.ts.map +1 -0
- package/lib/types/ink/parse-keypress.js +707 -0
- package/lib/types/ink/reconciler.d.ts +43 -0
- package/lib/types/ink/reconciler.d.ts.map +1 -0
- package/lib/types/ink/reconciler.js +413 -0
- package/lib/types/ink/render-border.d.ts +36 -0
- package/lib/types/ink/render-border.d.ts.map +1 -0
- package/lib/types/ink/render-border.js +143 -0
- package/lib/types/ink/render-node-to-output.d.ts +93 -0
- package/lib/types/ink/render-node-to-output.d.ts.map +1 -0
- package/lib/types/ink/render-node-to-output.js +1290 -0
- package/lib/types/ink/render-to-screen.d.ts +65 -0
- package/lib/types/ink/render-to-screen.d.ts.map +1 -0
- package/lib/types/ink/render-to-screen.js +189 -0
- package/lib/types/ink/renderer.d.ts +24 -0
- package/lib/types/ink/renderer.d.ts.map +1 -0
- package/lib/types/ink/renderer.js +136 -0
- package/lib/types/ink/root.d.ts +91 -0
- package/lib/types/ink/root.d.ts.map +1 -0
- package/lib/types/ink/root.js +93 -0
- package/lib/types/ink/screen.d.ts +443 -0
- package/lib/types/ink/screen.d.ts.map +1 -0
- package/lib/types/ink/screen.js +1295 -0
- package/lib/types/ink/searchHighlight.d.ts +25 -0
- package/lib/types/ink/searchHighlight.d.ts.map +1 -0
- package/lib/types/ink/searchHighlight.js +82 -0
- package/lib/types/ink/selection.d.ts +323 -0
- package/lib/types/ink/selection.d.ts.map +1 -0
- package/lib/types/ink/selection.js +881 -0
- package/lib/types/ink/squash-text-nodes.d.ts +30 -0
- package/lib/types/ink/squash-text-nodes.d.ts.map +1 -0
- package/lib/types/ink/squash-text-nodes.js +63 -0
- package/lib/types/ink/stringWidth.d.ts +11 -0
- package/lib/types/ink/stringWidth.d.ts.map +1 -0
- package/lib/types/ink/stringWidth.js +209 -0
- package/lib/types/ink/styles.d.ts +324 -0
- package/lib/types/ink/styles.d.ts.map +1 -0
- package/lib/types/ink/styles.js +307 -0
- package/lib/types/ink/supports-hyperlinks.d.ts +20 -0
- package/lib/types/ink/supports-hyperlinks.d.ts.map +1 -0
- package/lib/types/ink/supports-hyperlinks.js +44 -0
- package/lib/types/ink/tabstops.d.ts +9 -0
- package/lib/types/ink/tabstops.d.ts.map +1 -0
- package/lib/types/ink/tabstops.js +46 -0
- package/lib/types/ink/terminal-focus-state.d.ts +35 -0
- package/lib/types/ink/terminal-focus-state.d.ts.map +1 -0
- package/lib/types/ink/terminal-focus-state.js +57 -0
- package/lib/types/ink/terminal-querier.d.ts +161 -0
- package/lib/types/ink/terminal-querier.d.ts.map +1 -0
- package/lib/types/ink/terminal-querier.js +204 -0
- package/lib/types/ink/terminal.d.ts +80 -0
- package/lib/types/ink/terminal.d.ts.map +1 -0
- package/lib/types/ink/terminal.js +268 -0
- package/lib/types/ink/termio/ansi.d.ts +75 -0
- package/lib/types/ink/termio/ansi.d.ts.map +1 -0
- package/lib/types/ink/termio/ansi.js +79 -0
- package/lib/types/ink/termio/csi.d.ts +253 -0
- package/lib/types/ink/termio/csi.d.ts.map +1 -0
- package/lib/types/ink/termio/csi.js +347 -0
- package/lib/types/ink/termio/dec.d.ts +61 -0
- package/lib/types/ink/termio/dec.d.ts.map +1 -0
- package/lib/types/ink/termio/dec.js +76 -0
- package/lib/types/ink/termio/esc.d.ts +15 -0
- package/lib/types/ink/termio/esc.d.ts.map +1 -0
- package/lib/types/ink/termio/esc.js +57 -0
- package/lib/types/ink/termio/osc.d.ts +208 -0
- package/lib/types/ink/termio/osc.d.ts.map +1 -0
- package/lib/types/ink/termio/osc.js +466 -0
- package/lib/types/ink/termio/parser.d.ts +46 -0
- package/lib/types/ink/termio/parser.d.ts.map +1 -0
- package/lib/types/ink/termio/parser.js +366 -0
- package/lib/types/ink/termio/sgr.d.ts +17 -0
- package/lib/types/ink/termio/sgr.d.ts.map +1 -0
- package/lib/types/ink/termio/sgr.js +300 -0
- package/lib/types/ink/termio/tokenize.d.ts +50 -0
- package/lib/types/ink/termio/tokenize.d.ts.map +1 -0
- package/lib/types/ink/termio/tokenize.js +266 -0
- package/lib/types/ink/termio/types.d.ts +211 -0
- package/lib/types/ink/termio/types.d.ts.map +1 -0
- package/lib/types/ink/termio/types.js +68 -0
- package/lib/types/ink/termio.d.ts +25 -0
- package/lib/types/ink/termio.d.ts.map +1 -0
- package/lib/types/ink/termio.js +24 -0
- package/lib/types/ink/truncateToWidth.d.ts +7 -0
- package/lib/types/ink/truncateToWidth.d.ts.map +1 -0
- package/lib/types/ink/truncateToWidth.js +18 -0
- package/lib/types/ink/useTerminalNotification.d.ts +45 -0
- package/lib/types/ink/useTerminalNotification.d.ts.map +1 -0
- package/lib/types/ink/useTerminalNotification.js +70 -0
- package/lib/types/ink/warn.d.ts +7 -0
- package/lib/types/ink/warn.d.ts.map +1 -0
- package/lib/types/ink/warn.js +15 -0
- package/lib/types/ink/widest-line.d.ts +7 -0
- package/lib/types/ink/widest-line.d.ts.map +1 -0
- package/lib/types/ink/widest-line.js +19 -0
- package/lib/types/ink/wrap-text.d.ts +10 -0
- package/lib/types/ink/wrap-text.d.ts.map +1 -0
- package/lib/types/ink/wrap-text.js +61 -0
- package/lib/types/ink/wrapAnsi.d.ts +18 -0
- package/lib/types/ink/wrapAnsi.d.ts.map +1 -0
- package/lib/types/ink/wrapAnsi.js +16 -0
- package/lib/types/invariant.d.ts +20 -0
- package/lib/types/invariant.d.ts.map +1 -0
- package/lib/types/invariant.js +26 -0
- package/lib/types/modelPrefs.d.ts +37 -0
- package/lib/types/modelPrefs.d.ts.map +1 -0
- package/lib/types/modelPrefs.js +66 -0
- package/lib/types/modelRoute.d.ts +79 -0
- package/lib/types/modelRoute.d.ts.map +1 -0
- package/lib/types/modelRoute.js +96 -0
- package/lib/types/native-ts/yoga-layout/enums.d.ts +183 -0
- package/lib/types/native-ts/yoga-layout/enums.d.ts.map +1 -0
- package/lib/types/native-ts/yoga-layout/enums.js +150 -0
- package/lib/types/native-ts/yoga-layout/index.d.ts +788 -0
- package/lib/types/native-ts/yoga-layout/index.d.ts.map +1 -0
- package/lib/types/native-ts/yoga-layout/index.js +2571 -0
- package/lib/types/packaged-skills.d.ts +10 -0
- package/lib/types/packaged-skills.d.ts.map +1 -0
- package/lib/types/packaged-skills.js +63 -0
- package/lib/types/plugin.d.ts +33 -0
- package/lib/types/plugin.d.ts.map +1 -0
- package/lib/types/plugin.js +454 -0
- package/lib/types/presetPrefs.d.ts +29 -0
- package/lib/types/presetPrefs.d.ts.map +1 -0
- package/lib/types/presetPrefs.js +61 -0
- package/lib/types/presets.d.ts +110 -0
- package/lib/types/presets.d.ts.map +1 -0
- package/lib/types/presets.js +114 -0
- package/lib/types/questions.d.ts +97 -0
- package/lib/types/questions.d.ts.map +1 -0
- package/lib/types/questions.js +201 -0
- package/lib/types/screens/Chat.d.ts +23 -0
- package/lib/types/screens/Chat.d.ts.map +1 -0
- package/lib/types/screens/Chat.js +1263 -0
- package/lib/types/screens/StatusLine.d.ts +16 -0
- package/lib/types/screens/StatusLine.d.ts.map +1 -0
- package/lib/types/screens/StatusLine.js +105 -0
- package/lib/types/screens/StatusMetrics.d.ts +87 -0
- package/lib/types/screens/StatusMetrics.d.ts.map +1 -0
- package/lib/types/screens/StatusMetrics.js +252 -0
- package/lib/types/sessionHistory.d.ts +32 -0
- package/lib/types/sessionHistory.d.ts.map +1 -0
- package/lib/types/sessionHistory.js +87 -0
- package/lib/types/theme.d.ts +115 -0
- package/lib/types/theme.d.ts.map +1 -0
- package/lib/types/theme.js +300 -0
- package/lib/types/themePrefs.d.ts +28 -0
- package/lib/types/themePrefs.d.ts.map +1 -0
- package/lib/types/themePrefs.js +59 -0
- package/lib/types/ui.d.ts +28 -0
- package/lib/types/ui.d.ts.map +1 -0
- package/lib/types/ui.js +25 -0
- package/lib/types/update.d.ts +76 -0
- package/lib/types/update.d.ts.map +1 -0
- package/lib/types/update.js +203 -0
- package/lib/types/utils/clipboard.d.ts +43 -0
- package/lib/types/utils/clipboard.d.ts.map +1 -0
- package/lib/types/utils/clipboard.js +82 -0
- package/lib/types/utils/debug.d.ts +8 -0
- package/lib/types/utils/debug.d.ts.map +1 -0
- package/lib/types/utils/debug.js +12 -0
- package/lib/types/utils/earlyInput.d.ts +7 -0
- package/lib/types/utils/earlyInput.d.ts.map +1 -0
- package/lib/types/utils/earlyInput.js +6 -0
- package/lib/types/utils/env.d.ts +10 -0
- package/lib/types/utils/env.d.ts.map +1 -0
- package/lib/types/utils/env.js +9 -0
- package/lib/types/utils/envUtils.d.ts +8 -0
- package/lib/types/utils/envUtils.d.ts.map +1 -0
- package/lib/types/utils/envUtils.js +13 -0
- package/lib/types/utils/execFileNoThrow.d.ts +34 -0
- package/lib/types/utils/execFileNoThrow.d.ts.map +1 -0
- package/lib/types/utils/execFileNoThrow.js +31 -0
- package/lib/types/utils/fullscreen.d.ts +8 -0
- package/lib/types/utils/fullscreen.d.ts.map +1 -0
- package/lib/types/utils/fullscreen.js +10 -0
- package/lib/types/utils/intl.d.ts +7 -0
- package/lib/types/utils/intl.d.ts.map +1 -0
- package/lib/types/utils/intl.js +9 -0
- package/lib/types/utils/loaded-context.d.ts +20 -0
- package/lib/types/utils/loaded-context.d.ts.map +1 -0
- package/lib/types/utils/loaded-context.js +36 -0
- package/lib/types/utils/log.d.ts +7 -0
- package/lib/types/utils/log.d.ts.map +1 -0
- package/lib/types/utils/log.js +9 -0
- package/lib/types/utils/mentions.d.ts +30 -0
- package/lib/types/utils/mentions.d.ts.map +1 -0
- package/lib/types/utils/mentions.js +72 -0
- package/lib/types/utils/narration.d.ts +11 -0
- package/lib/types/utils/narration.d.ts.map +1 -0
- package/lib/types/utils/narration.js +16 -0
- package/lib/types/utils/semver.d.ts +9 -0
- package/lib/types/utils/semver.d.ts.map +1 -0
- package/lib/types/utils/semver.js +24 -0
- package/lib/types/utils/sliceAnsi.d.ts +12 -0
- package/lib/types/utils/sliceAnsi.d.ts.map +1 -0
- package/lib/types/utils/sliceAnsi.js +79 -0
- package/lib/types/working-activity.d.ts +19 -0
- package/lib/types/working-activity.d.ts.map +1 -0
- package/lib/types/working-activity.js +18 -0
- package/package.json +141 -0
- package/skills/audit/SKILL.md +24 -0
- package/skills/bug/SKILL.md +27 -0
- package/skills/pr-comments/SKILL.md +20 -0
- package/skills/practice/SKILL.md +22 -0
- package/skills/release-notes/SKILL.md +25 -0
- package/skills/review/SKILL.md +25 -0
- package/skills/vuln-check/SKILL.md +25 -0
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
import { type AnsiCode } from '@alcalzone/ansi-tokenize';
|
|
2
|
+
import { type Point, type Rectangle, type Size } from './layout/geometry.js';
|
|
3
|
+
/**
|
|
4
|
+
* Pool of character strings shared across all screens.
|
|
5
|
+
* With a shared pool, interned char IDs are valid across screens, so
|
|
6
|
+
* blitRegion can copy IDs directly (no re-interning) and diffEach can
|
|
7
|
+
* compare IDs as integers (no string lookup).
|
|
8
|
+
*/
|
|
9
|
+
export declare class CharPool {
|
|
10
|
+
private strings;
|
|
11
|
+
private stringMap;
|
|
12
|
+
private ascii;
|
|
13
|
+
/**
|
|
14
|
+
* Intern a character string and return its stable pool index.
|
|
15
|
+
* @param char - the character string to intern.
|
|
16
|
+
* @returns the pool index for the string.
|
|
17
|
+
*/
|
|
18
|
+
intern(char: string): number;
|
|
19
|
+
/**
|
|
20
|
+
* Return the character string for a pool index, or a space for an
|
|
21
|
+
* out-of-range index.
|
|
22
|
+
* @param index - the pool index to look up.
|
|
23
|
+
* @returns the interned string.
|
|
24
|
+
*/
|
|
25
|
+
get(index: number): string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Pool of hyperlink strings shared across all screens.
|
|
29
|
+
* Index 0 represents "no hyperlink".
|
|
30
|
+
*/
|
|
31
|
+
export declare class HyperlinkPool {
|
|
32
|
+
private strings;
|
|
33
|
+
private stringMap;
|
|
34
|
+
/**
|
|
35
|
+
* Intern a hyperlink string and return its stable pool index.
|
|
36
|
+
* @param hyperlink - the hyperlink to intern; undefined or empty maps to 0.
|
|
37
|
+
* @returns the pool index for the hyperlink.
|
|
38
|
+
*/
|
|
39
|
+
intern(hyperlink: string | undefined): number;
|
|
40
|
+
/**
|
|
41
|
+
* Return the hyperlink string for a pool index.
|
|
42
|
+
* @param id - the pool index to look up.
|
|
43
|
+
* @returns the interned hyperlink, or undefined for index 0.
|
|
44
|
+
*/
|
|
45
|
+
get(id: number): string | undefined;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Pool of interned ANSI style stacks. Each style maps to an ID whose bit 0
|
|
49
|
+
* encodes whether the style is visible on space characters; IDs are valid
|
|
50
|
+
* across all screens sharing this pool.
|
|
51
|
+
*/
|
|
52
|
+
export declare class StylePool {
|
|
53
|
+
private ids;
|
|
54
|
+
private styles;
|
|
55
|
+
private transitionCache;
|
|
56
|
+
/** Style ID of the empty style stack, used as the empty-cell style. */
|
|
57
|
+
readonly none: number;
|
|
58
|
+
constructor();
|
|
59
|
+
/**
|
|
60
|
+
* Intern a style and return its ID. Bit 0 of the ID encodes whether the
|
|
61
|
+
* style has a visible effect on space characters (background, inverse,
|
|
62
|
+
* underline, etc.). Foreground-only styles get even IDs; styles visible
|
|
63
|
+
* on spaces get odd IDs. This lets the renderer skip invisible spaces
|
|
64
|
+
* with a single bitmask check on the packed word.
|
|
65
|
+
* @param styles - the ANSI code stack to intern.
|
|
66
|
+
* @returns the interned style ID.
|
|
67
|
+
*/
|
|
68
|
+
intern(styles: AnsiCode[]): number;
|
|
69
|
+
/**
|
|
70
|
+
* Recover the style stack from an encoded ID. Strips the bit-0 flag via
|
|
71
|
+
* `>>> 1`.
|
|
72
|
+
* @param id - the encoded style ID.
|
|
73
|
+
* @returns the interned ANSI code stack, or an empty array for an unknown ID.
|
|
74
|
+
*/
|
|
75
|
+
get(id: number): AnsiCode[];
|
|
76
|
+
/**
|
|
77
|
+
* Returns the pre-serialized ANSI string to transition from one style to
|
|
78
|
+
* another. Cached by (fromId, toId) — zero allocations after first call
|
|
79
|
+
* for a given pair.
|
|
80
|
+
* @param fromId - the style ID to transition from.
|
|
81
|
+
* @param toId - the style ID to transition to.
|
|
82
|
+
* @returns the ANSI escape sequence applying the difference, or an empty
|
|
83
|
+
* string when both styles are equal.
|
|
84
|
+
*/
|
|
85
|
+
transition(fromId: number, toId: number): string;
|
|
86
|
+
/**
|
|
87
|
+
* Intern a style that is `base + inverse`. Cached by base ID so
|
|
88
|
+
* repeated calls for the same underlying style don't re-scan the
|
|
89
|
+
* AnsiCode[] array. Used by the selection overlay.
|
|
90
|
+
*/
|
|
91
|
+
private inverseCache;
|
|
92
|
+
/**
|
|
93
|
+
* Intern a style that is `base + inverse`, reusing the base style when it
|
|
94
|
+
* is already inverted to avoid stacking SGR 7.
|
|
95
|
+
* @param baseId - the style ID to overlay inverse onto.
|
|
96
|
+
* @returns the ID of the inverted style.
|
|
97
|
+
*/
|
|
98
|
+
withInverse(baseId: number): number;
|
|
99
|
+
/** Inverse + bold + yellow-bg-via-fg-swap for the CURRENT search match.
|
|
100
|
+
* OTHER matches are plain inverse — bg inherits from the theme. Current
|
|
101
|
+
* gets a distinct yellow bg (via fg-then-inverse swap) plus bold weight
|
|
102
|
+
* so it stands out in a sea of inverse. Underline was too subtle. Zero
|
|
103
|
+
* reflow risk: all pure SGR overlays, per-cell, post-layout. The yellow
|
|
104
|
+
* overrides any existing fg (syntax highlighting) on those cells — fine,
|
|
105
|
+
* the "you are here" signal IS the point, syntax color can yield. */
|
|
106
|
+
private currentMatchCache;
|
|
107
|
+
/**
|
|
108
|
+
* Intern a style marking the current search match: inverse plus bold and
|
|
109
|
+
* a yellow background (via fg-then-inverse swap), distinct from the plain
|
|
110
|
+
* inverse used for other matches.
|
|
111
|
+
* @param baseId - the style ID to overlay match markers onto.
|
|
112
|
+
* @returns the ID of the match style.
|
|
113
|
+
*/
|
|
114
|
+
withCurrentMatch(baseId: number): number;
|
|
115
|
+
/**
|
|
116
|
+
* Selection overlay: REPLACE the cell's background with a solid color
|
|
117
|
+
* while preserving its foreground (color, bold, italic, dim, underline).
|
|
118
|
+
* Matches native terminal selection — a dedicated bg color, not SGR-7
|
|
119
|
+
* inverse. Inverse swaps fg/bg per-cell, which fragments visually over
|
|
120
|
+
* syntax-highlighted text (every fg color becomes a different bg stripe).
|
|
121
|
+
*
|
|
122
|
+
* Strips any existing bg (endCode 49m — REPLACES, so diff-added green
|
|
123
|
+
* etc. don't bleed through) and any existing inverse (endCode 27m —
|
|
124
|
+
* inverse on top of a solid bg would re-swap and look wrong).
|
|
125
|
+
*
|
|
126
|
+
* bg is set via setSelectionBg(); null → fallback to withInverse() so the
|
|
127
|
+
* overlay still works before theme wiring sets a color (tests, first frame).
|
|
128
|
+
* Cache is keyed by baseId only — setSelectionBg() clears it on change.
|
|
129
|
+
*/
|
|
130
|
+
private selectionBgCode;
|
|
131
|
+
private selectionBgCache;
|
|
132
|
+
/**
|
|
133
|
+
* Set the background color used by the selection overlay and clear the
|
|
134
|
+
* overlay cache so the new color takes effect.
|
|
135
|
+
* @param bg - the background ANSI code, or null to fall back to inverse.
|
|
136
|
+
*/
|
|
137
|
+
setSelectionBg(bg: AnsiCode | null): void;
|
|
138
|
+
/**
|
|
139
|
+
* Intern a style with the selection background replacing the cell's own
|
|
140
|
+
* background and inverse, preserving foreground attributes. Falls back to
|
|
141
|
+
* withInverse() when no selection background is set.
|
|
142
|
+
* @param baseId - the style ID to overlay the selection background onto.
|
|
143
|
+
* @returns the ID of the selection style.
|
|
144
|
+
*/
|
|
145
|
+
withSelectionBg(baseId: number): number;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Cell width classification for handling double-wide characters (CJK, emoji,
|
|
149
|
+
* etc.)
|
|
150
|
+
*
|
|
151
|
+
* We use explicit spacer cells rather than inferring width at render time. This
|
|
152
|
+
* makes the data structure self-describing and simplifies cursor positioning
|
|
153
|
+
* logic.
|
|
154
|
+
*
|
|
155
|
+
* @see https://mitchellh.com/writing/grapheme-clusters-in-terminals
|
|
156
|
+
*/
|
|
157
|
+
export declare const enum CellWidth {
|
|
158
|
+
Narrow = 0,
|
|
159
|
+
Wide = 1,
|
|
160
|
+
SpacerTail = 2,
|
|
161
|
+
SpacerHead = 3
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* A hyperlink URI carried by a cell, or undefined when the cell has none.
|
|
165
|
+
*/
|
|
166
|
+
export type Hyperlink = string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Cell is a view type returned by cellAt(). Cells are stored as packed typed
|
|
169
|
+
* arrays internally to avoid GC pressure from allocating objects per cell.
|
|
170
|
+
*/
|
|
171
|
+
export type Cell = {
|
|
172
|
+
char: string;
|
|
173
|
+
styleId: number;
|
|
174
|
+
width: CellWidth;
|
|
175
|
+
hyperlink: Hyperlink;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Screen uses a packed Int32Array instead of Cell objects to eliminate GC
|
|
179
|
+
* pressure. For a 200x120 screen, this avoids allocating 24,000 objects.
|
|
180
|
+
*
|
|
181
|
+
* Cell data is stored as 2 Int32s per cell in a single contiguous array:
|
|
182
|
+
* word0: charId (full 32 bits — index into CharPool)
|
|
183
|
+
* word1: styleId[31:17] | hyperlinkId[16:2] | width[1:0]
|
|
184
|
+
*
|
|
185
|
+
* This layout halves memory accesses in diffEach (2 int loads vs 4) and
|
|
186
|
+
* enables future SIMD comparison via Bun.indexOfFirstDifference.
|
|
187
|
+
*/
|
|
188
|
+
export type Screen = Size & {
|
|
189
|
+
cells: Int32Array;
|
|
190
|
+
cells64: BigInt64Array;
|
|
191
|
+
charPool: CharPool;
|
|
192
|
+
hyperlinkPool: HyperlinkPool;
|
|
193
|
+
emptyStyleId: number;
|
|
194
|
+
/**
|
|
195
|
+
* Bounding box of cells that were written to (not blitted) during rendering.
|
|
196
|
+
* Used by diff() to limit iteration to only the region that could have changed.
|
|
197
|
+
*/
|
|
198
|
+
damage: Rectangle | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* Per-cell noSelect bitmap — 1 byte per cell, 1 = exclude from text
|
|
201
|
+
* selection (copy + highlight). Used by <NoSelect> to mark gutters
|
|
202
|
+
* (line numbers, diff sigils) so click-drag over a diff yields clean
|
|
203
|
+
* copyable code. Fully reset each frame in resetScreen; blitRegion
|
|
204
|
+
* copies it alongside cells so the blit optimization preserves marks.
|
|
205
|
+
*/
|
|
206
|
+
noSelect: Uint8Array;
|
|
207
|
+
/**
|
|
208
|
+
* Per-ROW soft-wrap continuation marker. softWrap[r]=N>0 means row r
|
|
209
|
+
* is a word-wrap continuation of row r-1 (the `\n` before it was
|
|
210
|
+
* inserted by wrapAnsi, not in the source), and row r-1's written
|
|
211
|
+
* content ends at absolute column N (exclusive — cells [0..N) are the
|
|
212
|
+
* fragment, past N is unwritten padding). 0 means row r is NOT a
|
|
213
|
+
* continuation (hard newline or first row). Selection copy checks
|
|
214
|
+
* softWrap[r]>0 to join row r onto row r-1 without a newline, and
|
|
215
|
+
* reads softWrap[r+1] to know row r's content end when row r+1
|
|
216
|
+
* continues from it. The content-end column is needed because an
|
|
217
|
+
* unwritten cell and a written-unstyled-space are indistinguishable in
|
|
218
|
+
* the packed typed array (both all-zero) — without it we'd either drop
|
|
219
|
+
* the word-separator space (trim) or include trailing padding (no
|
|
220
|
+
* trim). This encoding (continuation-on-self, prev-content-end-here)
|
|
221
|
+
* is chosen so shiftRows preserves the is-continuation semantics: when
|
|
222
|
+
* row r scrolls off the top and row r+1 shifts to row r, sw[r] gets
|
|
223
|
+
* old sw[r+1] — which correctly says the new row r is a continuation
|
|
224
|
+
* of what's now in scrolledOffAbove. Reset each frame; copied by
|
|
225
|
+
* blitRegion/shiftRows.
|
|
226
|
+
*/
|
|
227
|
+
softWrap: Int32Array;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Return whether the cell at a position is empty or unwritten, treating
|
|
231
|
+
* out-of-bounds positions as empty.
|
|
232
|
+
* @param screen - the screen to read.
|
|
233
|
+
* @param x - the cell column.
|
|
234
|
+
* @param y - the cell row.
|
|
235
|
+
* @returns true when the cell is empty or out of bounds.
|
|
236
|
+
*/
|
|
237
|
+
export declare function isEmptyCellAt(screen: Screen, x: number, y: number): boolean;
|
|
238
|
+
/**
|
|
239
|
+
* Check if a Cell (view object) represents an empty cell.
|
|
240
|
+
* @param screen - the screen the cell belongs to, for its empty style ID.
|
|
241
|
+
* @param cell - the cell view to inspect.
|
|
242
|
+
* @returns true when the cell is a space with the empty style, narrow
|
|
243
|
+
* width, and no hyperlink.
|
|
244
|
+
*/
|
|
245
|
+
export declare function isCellEmpty(screen: Screen, cell: Cell): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Create a new screen with packed cell storage backed by the given shared
|
|
248
|
+
* pools. Non-integer or negative dimensions are clamped to valid integers.
|
|
249
|
+
* @param width - the screen width in cells.
|
|
250
|
+
* @param height - the screen height in rows.
|
|
251
|
+
* @param styles - the shared style pool; its `none` ID becomes the empty style.
|
|
252
|
+
* @param charPool - the shared character pool.
|
|
253
|
+
* @param hyperlinkPool - the shared hyperlink pool.
|
|
254
|
+
* @returns the new empty screen.
|
|
255
|
+
*/
|
|
256
|
+
export declare function createScreen(width: number, height: number, styles: StylePool, charPool: CharPool, hyperlinkPool: HyperlinkPool): Screen;
|
|
257
|
+
/**
|
|
258
|
+
* Reset an existing screen for reuse, avoiding allocation of new typed arrays.
|
|
259
|
+
* Resizes if needed and clears all cells to empty/unwritten state.
|
|
260
|
+
*
|
|
261
|
+
* For double-buffering, this allows swapping between front and back buffers
|
|
262
|
+
* without allocating new Screen objects each frame.
|
|
263
|
+
* @param screen - the screen to reset and resize.
|
|
264
|
+
* @param width - the new width in cells.
|
|
265
|
+
* @param height - the new height in rows.
|
|
266
|
+
*/
|
|
267
|
+
export declare function resetScreen(screen: Screen, width: number, height: number): void;
|
|
268
|
+
/**
|
|
269
|
+
* Re-intern a screen's char and hyperlink IDs into new pools.
|
|
270
|
+
* Used for generational pool reset — after migrating, the screen's
|
|
271
|
+
* typed arrays contain valid IDs for the new pools, and the old pools
|
|
272
|
+
* can be GC'd.
|
|
273
|
+
*
|
|
274
|
+
* O(width * height) but only called occasionally (e.g., between conversation turns).
|
|
275
|
+
* @param screen - the screen whose char and hyperlink IDs to migrate.
|
|
276
|
+
* @param charPool - the new character pool.
|
|
277
|
+
* @param hyperlinkPool - the new hyperlink pool.
|
|
278
|
+
*/
|
|
279
|
+
export declare function migrateScreenPools(screen: Screen, charPool: CharPool, hyperlinkPool: HyperlinkPool): void;
|
|
280
|
+
/**
|
|
281
|
+
* Get a Cell view at the given position. Returns a new object each call -
|
|
282
|
+
* this is intentional as cells are stored packed, not as objects.
|
|
283
|
+
* @param screen - the screen to read.
|
|
284
|
+
* @param x - the cell column.
|
|
285
|
+
* @param y - the cell row.
|
|
286
|
+
* @returns the cell view, or undefined when the position is out of bounds.
|
|
287
|
+
*/
|
|
288
|
+
export declare function cellAt(screen: Screen, x: number, y: number): Cell | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Get a Cell view by pre-computed array index. Skips bounds checks and
|
|
291
|
+
* index computation — caller must ensure index is valid.
|
|
292
|
+
* @param screen - the screen to read.
|
|
293
|
+
* @param index - the linear cell index (row * width + column).
|
|
294
|
+
* @returns the cell view.
|
|
295
|
+
*/
|
|
296
|
+
export declare function cellAtIndex(screen: Screen, index: number): Cell;
|
|
297
|
+
/**
|
|
298
|
+
* Get a Cell at the given index, or undefined if it has no visible content.
|
|
299
|
+
* Returns undefined for spacer cells (charId 1), empty unstyled spaces, and
|
|
300
|
+
* fg-only styled spaces that match lastRenderedStyleId (cursor-forward
|
|
301
|
+
* produces an identical visual result, avoiding a Cell allocation).
|
|
302
|
+
*
|
|
303
|
+
* @param cells - the packed cell words to read (2 Int32s per cell).
|
|
304
|
+
* @param charPool - the character pool to resolve char IDs.
|
|
305
|
+
* @param hyperlinkPool - the hyperlink pool to resolve hyperlink IDs.
|
|
306
|
+
* @param index - the linear cell index (row * width + column).
|
|
307
|
+
* @param lastRenderedStyleId - styleId of the last rendered cell on this
|
|
308
|
+
* line, or -1 if none yet.
|
|
309
|
+
* @returns the cell view, or undefined when the cell has no visible content.
|
|
310
|
+
*/
|
|
311
|
+
export declare function visibleCellAtIndex(cells: Int32Array, charPool: CharPool, hyperlinkPool: HyperlinkPool, index: number, lastRenderedStyleId: number): Cell | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* Return the character at a position without building a Cell view.
|
|
314
|
+
* @param screen - the screen to read.
|
|
315
|
+
* @param x - the cell column.
|
|
316
|
+
* @param y - the cell row.
|
|
317
|
+
* @returns the character string, or undefined when out of bounds.
|
|
318
|
+
*/
|
|
319
|
+
export declare function charInCellAt(screen: Screen, x: number, y: number): string | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* Set a cell, optionally creating a spacer for wide characters.
|
|
322
|
+
*
|
|
323
|
+
* Wide characters (CJK, emoji) occupy 2 cells in the buffer:
|
|
324
|
+
* 1. First cell: Contains the actual character with width = Wide
|
|
325
|
+
* 2. Second cell: Spacer cell with width = SpacerTail (empty, not rendered)
|
|
326
|
+
*
|
|
327
|
+
* If the cell has width = Wide, this function automatically creates the
|
|
328
|
+
* corresponding SpacerTail in the next column. This two-cell model keeps
|
|
329
|
+
* the buffer aligned to visual columns, making cursor positioning
|
|
330
|
+
* straightforward.
|
|
331
|
+
*
|
|
332
|
+
* TODO: When soft-wrapping is implemented, SpacerHead cells will be explicitly
|
|
333
|
+
* placed by the wrapping logic at line-end positions where wide characters
|
|
334
|
+
* wrap to the next line. This function doesn't need to handle SpacerHead
|
|
335
|
+
* automatically - it will be set directly by the wrapping code.
|
|
336
|
+
* @param screen - the screen to write into.
|
|
337
|
+
* @param x - the cell column.
|
|
338
|
+
* @param y - the cell row.
|
|
339
|
+
* @param cell - the cell data to write.
|
|
340
|
+
*/
|
|
341
|
+
export declare function setCellAt(screen: Screen, x: number, y: number, cell: Cell): void;
|
|
342
|
+
/**
|
|
343
|
+
* Replace the styleId of a cell in-place without disturbing char, width,
|
|
344
|
+
* or hyperlink. Preserves empty cells as-is (char stays ' '). Tracks damage
|
|
345
|
+
* for the cell so diffEach picks up the change.
|
|
346
|
+
* @param screen - the screen to update.
|
|
347
|
+
* @param x - the cell column.
|
|
348
|
+
* @param y - the cell row.
|
|
349
|
+
* @param styleId - the new style ID.
|
|
350
|
+
*/
|
|
351
|
+
export declare function setCellStyleId(screen: Screen, x: number, y: number, styleId: number): void;
|
|
352
|
+
/**
|
|
353
|
+
* Bulk-copy a rectangular region from src to dst using TypedArray.set().
|
|
354
|
+
* Single cells.set() call per row (or one call for contiguous blocks).
|
|
355
|
+
* Damage is computed once for the whole region.
|
|
356
|
+
*
|
|
357
|
+
* Clamps negative regionX/regionY to 0 (matching clearRegion) — absolute-
|
|
358
|
+
* positioned overlays in tiny terminals can compute negative screen coords.
|
|
359
|
+
* maxX/maxY should already be clamped to both screen bounds by the caller.
|
|
360
|
+
* @param dst - the destination screen.
|
|
361
|
+
* @param src - the source screen.
|
|
362
|
+
* @param regionX - the source region's left column.
|
|
363
|
+
* @param regionY - the source region's top row.
|
|
364
|
+
* @param maxX - the exclusive right edge of the region.
|
|
365
|
+
* @param maxY - the exclusive bottom edge of the region.
|
|
366
|
+
*/
|
|
367
|
+
export declare function blitRegion(dst: Screen, src: Screen, regionX: number, regionY: number, maxX: number, maxY: number): void;
|
|
368
|
+
/**
|
|
369
|
+
* Bulk-clear a rectangular region of the screen.
|
|
370
|
+
* Uses BigInt64Array.fill() for fast row clears.
|
|
371
|
+
* Handles wide character boundary cleanup at region edges.
|
|
372
|
+
* @param screen - the screen to clear.
|
|
373
|
+
* @param regionX - the region's left column.
|
|
374
|
+
* @param regionY - the region's top row.
|
|
375
|
+
* @param regionWidth - the region width in cells.
|
|
376
|
+
* @param regionHeight - the region height in rows.
|
|
377
|
+
*/
|
|
378
|
+
export declare function clearRegion(screen: Screen, regionX: number, regionY: number, regionWidth: number, regionHeight: number): void;
|
|
379
|
+
/**
|
|
380
|
+
* Shift full-width rows within [top, bottom] (inclusive, 0-indexed) by n.
|
|
381
|
+
* n > 0 shifts UP (simulating CSI n S); n < 0 shifts DOWN (CSI n T).
|
|
382
|
+
* Vacated rows are cleared. Does NOT update damage. Both cells and the
|
|
383
|
+
* noSelect bitmap are shifted so text-selection markers stay aligned when
|
|
384
|
+
* this is applied to next.screen during scroll fast path.
|
|
385
|
+
* @param screen - the screen to shift.
|
|
386
|
+
* @param top - the first row of the shifted range (inclusive).
|
|
387
|
+
* @param bottom - the last row of the shifted range (inclusive).
|
|
388
|
+
* @param n - the shift in rows; positive shifts up, negative shifts down.
|
|
389
|
+
*/
|
|
390
|
+
export declare function shiftRows(screen: Screen, top: number, bottom: number, n: number): void;
|
|
391
|
+
/**
|
|
392
|
+
* The OSC 8 hyperlink escape prefix (`ESC ] 8 ;`) used for cheap pre-checks
|
|
393
|
+
* before running the full OSC 8 regex.
|
|
394
|
+
*/
|
|
395
|
+
export declare const OSC8_PREFIX = "\u001B]8;";
|
|
396
|
+
/**
|
|
397
|
+
* Extract the hyperlink URI from the first OSC 8 style in a style stack.
|
|
398
|
+
* @param styles - the ANSI code stack to scan.
|
|
399
|
+
* @returns the hyperlink URI, or null when no OSC 8 style is present.
|
|
400
|
+
*/
|
|
401
|
+
export declare function extractHyperlinkFromStyles(styles: AnsiCode[]): Hyperlink | null;
|
|
402
|
+
/**
|
|
403
|
+
* Return the style stack with all OSC 8 hyperlink styles removed.
|
|
404
|
+
* @param styles - the ANSI code stack to filter.
|
|
405
|
+
* @returns a new stack without hyperlink styles.
|
|
406
|
+
*/
|
|
407
|
+
export declare function filterOutHyperlinkStyles(styles: AnsiCode[]): AnsiCode[];
|
|
408
|
+
/**
|
|
409
|
+
* Returns an array of all changes between two screens. Used by tests.
|
|
410
|
+
* Production code should use diffEach() to avoid allocations.
|
|
411
|
+
* @param prev - the previous screen state.
|
|
412
|
+
* @param next - the next screen state.
|
|
413
|
+
* @returns one entry per changed cell: the point plus the removed and added
|
|
414
|
+
* cell views (undefined when that side has no cell).
|
|
415
|
+
*/
|
|
416
|
+
export declare function diff(prev: Screen, next: Screen): [point: Point, removed: Cell | undefined, added: Cell | undefined][];
|
|
417
|
+
type DiffCallback = (x: number, y: number, removed: Cell | undefined, added: Cell | undefined) => boolean | void;
|
|
418
|
+
/**
|
|
419
|
+
* Like diff(), but calls a callback for each change instead of building an array.
|
|
420
|
+
* Reuses two Cell objects to avoid per-change allocations. The callback must not
|
|
421
|
+
* retain references to the Cell objects — their contents are overwritten each call.
|
|
422
|
+
*
|
|
423
|
+
* Returns true if the callback ever returned true (early exit signal).
|
|
424
|
+
* @param prev - the previous screen state.
|
|
425
|
+
* @param next - the next screen state.
|
|
426
|
+
* @param cb - the per-change callback; returning true stops iteration.
|
|
427
|
+
* @returns true when the callback requested an early exit.
|
|
428
|
+
*/
|
|
429
|
+
export declare function diffEach(prev: Screen, next: Screen, cb: DiffCallback): boolean;
|
|
430
|
+
/**
|
|
431
|
+
* Mark a rectangular region as noSelect (exclude from text selection).
|
|
432
|
+
* Clamps to screen bounds. Called from output.ts when a <NoSelect> box
|
|
433
|
+
* renders. No damage tracking — noSelect doesn't affect terminal output,
|
|
434
|
+
* only getSelectedText/applySelectionOverlay which read it directly.
|
|
435
|
+
* @param screen - the screen to update.
|
|
436
|
+
* @param x - the region's left column.
|
|
437
|
+
* @param y - the region's top row.
|
|
438
|
+
* @param width - the region width in cells.
|
|
439
|
+
* @param height - the region height in rows.
|
|
440
|
+
*/
|
|
441
|
+
export declare function markNoSelectRegion(screen: Screen, x: number, y: number, width: number, height: number): void;
|
|
442
|
+
export {};
|
|
443
|
+
//# sourceMappingURL=screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../../src/ink/screen.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,QAAQ,EAGd,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,IAAI,EAEV,MAAM,sBAAsB,CAAA;AAM7B;;;;;GAKG;AACH,qBAAa,QAAQ;IACnB,OAAO,CAAC,OAAO,CAAsB;IACrC,OAAO,CAAC,SAAS,CAGf;IACF,OAAO,CAAC,KAAK,CAA8B;IAE3C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAqB5B;;;;;OAKG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;CAG3B;AAED;;;GAGG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,OAAO,CAAiB;IAChC,OAAO,CAAC,SAAS,CAA4B;IAE7C;;;;OAIG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,MAA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