@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,161 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query the terminal and await responses without timeouts.
|
|
3
|
+
*
|
|
4
|
+
* Terminal queries (DECRQM, DA1, OSC 11, etc.) share the stdin stream
|
|
5
|
+
* with keyboard input. Response sequences are syntactically
|
|
6
|
+
* distinguishable from key events, so the input parser recognizes them
|
|
7
|
+
* and dispatches them here.
|
|
8
|
+
*
|
|
9
|
+
* To avoid timeouts, each query batch is terminated by a DA1 sentinel
|
|
10
|
+
* (CSI c) — every terminal since VT100 responds to DA1, and terminals
|
|
11
|
+
* answer queries in order. So: if your query's response arrives before
|
|
12
|
+
* DA1's, the terminal supports it; if DA1 arrives first, it doesn't.
|
|
13
|
+
*
|
|
14
|
+
* Usage:
|
|
15
|
+
* const [sync, grapheme] = await Promise.all([
|
|
16
|
+
* querier.send(decrqm(2026)),
|
|
17
|
+
* querier.send(decrqm(2027)),
|
|
18
|
+
* querier.flush(),
|
|
19
|
+
* ])
|
|
20
|
+
* // sync and grapheme are DECRPM responses or undefined if unsupported
|
|
21
|
+
*/
|
|
22
|
+
import type { TerminalResponse } from './parse-keypress.js';
|
|
23
|
+
/** A terminal query: an outbound request sequence paired with a matcher
|
|
24
|
+
* that recognizes the expected inbound response. Built by `decrqm()`,
|
|
25
|
+
* `oscColor()`, `kittyKeyboard()`, etc. */
|
|
26
|
+
export type TerminalQuery<T extends TerminalResponse = TerminalResponse> = {
|
|
27
|
+
/** Escape sequence to write to stdout */
|
|
28
|
+
request: string;
|
|
29
|
+
/** Recognizes the expected response in the inbound stream */
|
|
30
|
+
match: (r: TerminalResponse) => r is T;
|
|
31
|
+
};
|
|
32
|
+
type DecrpmResponse = Extract<TerminalResponse, {
|
|
33
|
+
type: 'decrpm';
|
|
34
|
+
}>;
|
|
35
|
+
type Da1Response = Extract<TerminalResponse, {
|
|
36
|
+
type: 'da1';
|
|
37
|
+
}>;
|
|
38
|
+
type Da2Response = Extract<TerminalResponse, {
|
|
39
|
+
type: 'da2';
|
|
40
|
+
}>;
|
|
41
|
+
type KittyResponse = Extract<TerminalResponse, {
|
|
42
|
+
type: 'kittyKeyboard';
|
|
43
|
+
}>;
|
|
44
|
+
type CursorPosResponse = Extract<TerminalResponse, {
|
|
45
|
+
type: 'cursorPosition';
|
|
46
|
+
}>;
|
|
47
|
+
type OscResponse = Extract<TerminalResponse, {
|
|
48
|
+
type: 'osc';
|
|
49
|
+
}>;
|
|
50
|
+
type XtversionResponse = Extract<TerminalResponse, {
|
|
51
|
+
type: 'xtversion';
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* DECRQM: request DEC private mode status (CSI ? mode $ p).
|
|
55
|
+
* Terminal replies with DECRPM (CSI ? mode ; status $ y) or ignores.
|
|
56
|
+
* @param mode - the DEC private mode number to query.
|
|
57
|
+
* @returns a query whose response is the DECRPM reply for mode.
|
|
58
|
+
*/
|
|
59
|
+
export declare function decrqm(mode: number): TerminalQuery<DecrpmResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Primary Device Attributes query (CSI c). Every terminal answers this —
|
|
62
|
+
* used internally by flush() as a universal sentinel. Call directly if
|
|
63
|
+
* you want the DA1 params.
|
|
64
|
+
* @returns a query whose response is the DA1 reply.
|
|
65
|
+
*/
|
|
66
|
+
export declare function da1(): TerminalQuery<Da1Response>;
|
|
67
|
+
/**
|
|
68
|
+
* Secondary Device Attributes query (CSI > c). Returns terminal version.
|
|
69
|
+
* @returns a query whose response is the DA2 reply.
|
|
70
|
+
*/
|
|
71
|
+
export declare function da2(): TerminalQuery<Da2Response>;
|
|
72
|
+
/**
|
|
73
|
+
* Query current Kitty keyboard protocol flags (CSI ? u).
|
|
74
|
+
* Terminal replies with CSI ? flags u or ignores.
|
|
75
|
+
* @returns a query whose response is the Kitty keyboard reply.
|
|
76
|
+
*/
|
|
77
|
+
export declare function kittyKeyboard(): TerminalQuery<KittyResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* DECXCPR: request cursor position with DEC-private marker (CSI ? 6 n).
|
|
80
|
+
* Terminal replies with CSI ? row ; col R. The `?` marker is critical —
|
|
81
|
+
* the plain DSR form (CSI 6 n → CSI row;col R) is ambiguous with
|
|
82
|
+
* modified F3 keys (Shift+F3 = CSI 1;2 R, etc.).
|
|
83
|
+
* @returns a query whose response is the cursor-position reply.
|
|
84
|
+
*/
|
|
85
|
+
export declare function cursorPosition(): TerminalQuery<CursorPosResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* OSC dynamic color query (e.g. OSC 11 for bg color, OSC 10 for fg).
|
|
88
|
+
* The `?` data slot asks the terminal to reply with the current value.
|
|
89
|
+
* @param code - the OSC color code to query (10 = fg, 11 = bg, etc.).
|
|
90
|
+
* @returns a query whose response is the OSC color reply.
|
|
91
|
+
*/
|
|
92
|
+
export declare function oscColor(code: number): TerminalQuery<OscResponse>;
|
|
93
|
+
/**
|
|
94
|
+
* XTVERSION: request terminal name/version (CSI > 0 q).
|
|
95
|
+
* Terminal replies with DCS > | name ST (e.g. "xterm.js(5.5.0)") or ignores.
|
|
96
|
+
* This survives SSH — the query goes through the pty, not the environment,
|
|
97
|
+
* so it identifies the *client* terminal even when TERM_PROGRAM isn't
|
|
98
|
+
* forwarded. Used to detect xterm.js for wheel-scroll compensation.
|
|
99
|
+
* @returns a query whose response is the XTVERSION reply.
|
|
100
|
+
*/
|
|
101
|
+
export declare function xtversion(): TerminalQuery<XtversionResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* Sends terminal queries to stdout and resolves their responses, using a
|
|
104
|
+
* flush() sentinel barrier so queries never time out.
|
|
105
|
+
*/
|
|
106
|
+
export declare class TerminalQuerier {
|
|
107
|
+
private stdout;
|
|
108
|
+
/**
|
|
109
|
+
* Interleaved queue of queries and sentinels in send order. Terminals
|
|
110
|
+
* respond in order, so each flush() barrier only drains queries queued
|
|
111
|
+
* before it — concurrent batches from independent callers stay isolated.
|
|
112
|
+
*/
|
|
113
|
+
private queue;
|
|
114
|
+
constructor(stdout: NodeJS.WriteStream);
|
|
115
|
+
/**
|
|
116
|
+
* Send a query and wait for its response.
|
|
117
|
+
*
|
|
118
|
+
* Resolves with the response when `query.match` matches an incoming
|
|
119
|
+
* TerminalResponse, or with `undefined` when a flush() sentinel arrives
|
|
120
|
+
* before any matching response (meaning the terminal ignored the query).
|
|
121
|
+
*
|
|
122
|
+
* Never rejects; never times out on its own. If you never call flush()
|
|
123
|
+
* and the terminal doesn't respond, the promise remains pending.
|
|
124
|
+
* @param query - the query to send and await a response for.
|
|
125
|
+
* @returns the matched response, or undefined when the terminal did not
|
|
126
|
+
* answer before the next flush() sentinel.
|
|
127
|
+
*/
|
|
128
|
+
send<T extends TerminalResponse>(query: TerminalQuery<T>): Promise<T | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Send the DA1 sentinel. Resolves when DA1's response arrives.
|
|
131
|
+
*
|
|
132
|
+
* As a side effect, all queries still pending when DA1 arrives are
|
|
133
|
+
* resolved with `undefined` (terminal didn't respond → doesn't support
|
|
134
|
+
* the query). This is the barrier that makes send() timeout-free.
|
|
135
|
+
*
|
|
136
|
+
* Safe to call with no pending queries — still waits for a round-trip.
|
|
137
|
+
*/
|
|
138
|
+
flush(): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Dispatch a response parsed from stdin. Called by App.tsx's
|
|
141
|
+
* processKeysInBatch for every `kind: 'response'` item.
|
|
142
|
+
*
|
|
143
|
+
* Matching strategy:
|
|
144
|
+
* - First, try to match a pending query (FIFO, first match wins).
|
|
145
|
+
* This lets callers send(da1()) explicitly if they want the DA1
|
|
146
|
+
* params — a separate DA1 write means the terminal sends TWO DA1
|
|
147
|
+
* responses. The first matches the explicit query; the second
|
|
148
|
+
* (unmatched) fires the sentinel.
|
|
149
|
+
* - Otherwise, if this is a DA1, fire the FIRST pending sentinel:
|
|
150
|
+
* resolve any queries queued before that sentinel with undefined
|
|
151
|
+
* (the terminal answered DA1 without answering them → unsupported)
|
|
152
|
+
* and signal its flush() completion. Only draining up to the first
|
|
153
|
+
* sentinel keeps later batches intact when multiple callers have
|
|
154
|
+
* concurrent queries in flight.
|
|
155
|
+
* - Unsolicited responses (no match, no sentinel) are silently dropped.
|
|
156
|
+
* @param r - the response parsed from stdin.
|
|
157
|
+
*/
|
|
158
|
+
onResponse(r: TerminalResponse): void;
|
|
159
|
+
}
|
|
160
|
+
export {};
|
|
161
|
+
//# sourceMappingURL=terminal-querier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminal-querier.d.ts","sourceRoot":"","sources":["../../../src/ink/terminal-querier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAI3D;;4CAE4C;AAC5C,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,IAAI;IACzE,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,6DAA6D;IAC7D,KAAK,EAAE,CAAC,CAAC,EAAE,gBAAgB,KAAK,CAAC,IAAI,CAAC,CAAA;CACvC,CAAA;AAED,KAAK,cAAc,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAA;AACnE,KAAK,WAAW,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAA;AAC7D,KAAK,WAAW,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAA;AAC7D,KAAK,aAAa,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAC,CAAA;AACzE,KAAK,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAAC,CAAA;AAC9E,KAAK,WAAW,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,KAAK,CAAA;CAAE,CAAC,CAAA;AAC7D,KAAK,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,EAAE;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC,CAAA;AAIzE;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAAC,cAAc,CAAC,CAKlE;AAED;;;;;GAKG;AACH,wBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,CAAC,CAKhD;AAED;;;GAGG;AACH,wBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,CAAC,CAKhD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,aAAa,CAAC,aAAa,CAAC,CAK5D;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAKjE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAAC,WAAW,CAAC,CAKjE;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAK5D;AAeD;;;GAGG;AACH,qBAAa,eAAe;IAQd,OAAO,CAAC,MAAM;IAP1B;;;;OAIG;IACH,OAAO,CAAC,KAAK,CAAgB;gBAET,MAAM,EAAE,MAAM,CAAC,WAAW;IAE9C;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,CAAC,SAAS,gBAAgB,EAC7B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GACtB,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAWzB;;;;;;;;OAQG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAOtB;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,CAAC,EAAE,gBAAgB,GAAG,IAAI;CAiBtC"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Query the terminal and await responses without timeouts.
|
|
3
|
+
*
|
|
4
|
+
* Terminal queries (DECRQM, DA1, OSC 11, etc.) share the stdin stream
|
|
5
|
+
* with keyboard input. Response sequences are syntactically
|
|
6
|
+
* distinguishable from key events, so the input parser recognizes them
|
|
7
|
+
* and dispatches them here.
|
|
8
|
+
*
|
|
9
|
+
* To avoid timeouts, each query batch is terminated by a DA1 sentinel
|
|
10
|
+
* (CSI c) — every terminal since VT100 responds to DA1, and terminals
|
|
11
|
+
* answer queries in order. So: if your query's response arrives before
|
|
12
|
+
* DA1's, the terminal supports it; if DA1 arrives first, it doesn't.
|
|
13
|
+
*
|
|
14
|
+
* Usage:
|
|
15
|
+
* const [sync, grapheme] = await Promise.all([
|
|
16
|
+
* querier.send(decrqm(2026)),
|
|
17
|
+
* querier.send(decrqm(2027)),
|
|
18
|
+
* querier.flush(),
|
|
19
|
+
* ])
|
|
20
|
+
* // sync and grapheme are DECRPM responses or undefined if unsupported
|
|
21
|
+
*/
|
|
22
|
+
import { csi } from './termio/csi.js';
|
|
23
|
+
import { osc } from './termio/osc.js';
|
|
24
|
+
// -- Query builders --
|
|
25
|
+
/**
|
|
26
|
+
* DECRQM: request DEC private mode status (CSI ? mode $ p).
|
|
27
|
+
* Terminal replies with DECRPM (CSI ? mode ; status $ y) or ignores.
|
|
28
|
+
* @param mode - the DEC private mode number to query.
|
|
29
|
+
* @returns a query whose response is the DECRPM reply for mode.
|
|
30
|
+
*/
|
|
31
|
+
export function decrqm(mode) {
|
|
32
|
+
return {
|
|
33
|
+
request: csi(`?${mode}$p`),
|
|
34
|
+
match: (r) => r.type === 'decrpm' && r.mode === mode,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Primary Device Attributes query (CSI c). Every terminal answers this —
|
|
39
|
+
* used internally by flush() as a universal sentinel. Call directly if
|
|
40
|
+
* you want the DA1 params.
|
|
41
|
+
* @returns a query whose response is the DA1 reply.
|
|
42
|
+
*/
|
|
43
|
+
export function da1() {
|
|
44
|
+
return {
|
|
45
|
+
request: csi('c'),
|
|
46
|
+
match: (r) => r.type === 'da1',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Secondary Device Attributes query (CSI > c). Returns terminal version.
|
|
51
|
+
* @returns a query whose response is the DA2 reply.
|
|
52
|
+
*/
|
|
53
|
+
export function da2() {
|
|
54
|
+
return {
|
|
55
|
+
request: csi('>c'),
|
|
56
|
+
match: (r) => r.type === 'da2',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Query current Kitty keyboard protocol flags (CSI ? u).
|
|
61
|
+
* Terminal replies with CSI ? flags u or ignores.
|
|
62
|
+
* @returns a query whose response is the Kitty keyboard reply.
|
|
63
|
+
*/
|
|
64
|
+
export function kittyKeyboard() {
|
|
65
|
+
return {
|
|
66
|
+
request: csi('?u'),
|
|
67
|
+
match: (r) => r.type === 'kittyKeyboard',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* DECXCPR: request cursor position with DEC-private marker (CSI ? 6 n).
|
|
72
|
+
* Terminal replies with CSI ? row ; col R. The `?` marker is critical —
|
|
73
|
+
* the plain DSR form (CSI 6 n → CSI row;col R) is ambiguous with
|
|
74
|
+
* modified F3 keys (Shift+F3 = CSI 1;2 R, etc.).
|
|
75
|
+
* @returns a query whose response is the cursor-position reply.
|
|
76
|
+
*/
|
|
77
|
+
export function cursorPosition() {
|
|
78
|
+
return {
|
|
79
|
+
request: csi('?6n'),
|
|
80
|
+
match: (r) => r.type === 'cursorPosition',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* OSC dynamic color query (e.g. OSC 11 for bg color, OSC 10 for fg).
|
|
85
|
+
* The `?` data slot asks the terminal to reply with the current value.
|
|
86
|
+
* @param code - the OSC color code to query (10 = fg, 11 = bg, etc.).
|
|
87
|
+
* @returns a query whose response is the OSC color reply.
|
|
88
|
+
*/
|
|
89
|
+
export function oscColor(code) {
|
|
90
|
+
return {
|
|
91
|
+
request: osc(code, '?'),
|
|
92
|
+
match: (r) => r.type === 'osc' && r.code === code,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* XTVERSION: request terminal name/version (CSI > 0 q).
|
|
97
|
+
* Terminal replies with DCS > | name ST (e.g. "xterm.js(5.5.0)") or ignores.
|
|
98
|
+
* This survives SSH — the query goes through the pty, not the environment,
|
|
99
|
+
* so it identifies the *client* terminal even when TERM_PROGRAM isn't
|
|
100
|
+
* forwarded. Used to detect xterm.js for wheel-scroll compensation.
|
|
101
|
+
* @returns a query whose response is the XTVERSION reply.
|
|
102
|
+
*/
|
|
103
|
+
export function xtversion() {
|
|
104
|
+
return {
|
|
105
|
+
request: csi('>0q'),
|
|
106
|
+
match: (r) => r.type === 'xtversion',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
// -- Querier --
|
|
110
|
+
/** Sentinel request sequence (DA1). Kept internal; flush() writes it. */
|
|
111
|
+
const SENTINEL = csi('c');
|
|
112
|
+
/**
|
|
113
|
+
* Sends terminal queries to stdout and resolves their responses, using a
|
|
114
|
+
* flush() sentinel barrier so queries never time out.
|
|
115
|
+
*/
|
|
116
|
+
export class TerminalQuerier {
|
|
117
|
+
stdout;
|
|
118
|
+
/**
|
|
119
|
+
* Interleaved queue of queries and sentinels in send order. Terminals
|
|
120
|
+
* respond in order, so each flush() barrier only drains queries queued
|
|
121
|
+
* before it — concurrent batches from independent callers stay isolated.
|
|
122
|
+
*/
|
|
123
|
+
queue = [];
|
|
124
|
+
constructor(stdout) {
|
|
125
|
+
this.stdout = stdout;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Send a query and wait for its response.
|
|
129
|
+
*
|
|
130
|
+
* Resolves with the response when `query.match` matches an incoming
|
|
131
|
+
* TerminalResponse, or with `undefined` when a flush() sentinel arrives
|
|
132
|
+
* before any matching response (meaning the terminal ignored the query).
|
|
133
|
+
*
|
|
134
|
+
* Never rejects; never times out on its own. If you never call flush()
|
|
135
|
+
* and the terminal doesn't respond, the promise remains pending.
|
|
136
|
+
* @param query - the query to send and await a response for.
|
|
137
|
+
* @returns the matched response, or undefined when the terminal did not
|
|
138
|
+
* answer before the next flush() sentinel.
|
|
139
|
+
*/
|
|
140
|
+
send(query) {
|
|
141
|
+
return new Promise(resolve => {
|
|
142
|
+
this.queue.push({
|
|
143
|
+
kind: 'query',
|
|
144
|
+
match: query.match,
|
|
145
|
+
resolve: r => resolve(r),
|
|
146
|
+
});
|
|
147
|
+
this.stdout.write(query.request);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Send the DA1 sentinel. Resolves when DA1's response arrives.
|
|
152
|
+
*
|
|
153
|
+
* As a side effect, all queries still pending when DA1 arrives are
|
|
154
|
+
* resolved with `undefined` (terminal didn't respond → doesn't support
|
|
155
|
+
* the query). This is the barrier that makes send() timeout-free.
|
|
156
|
+
*
|
|
157
|
+
* Safe to call with no pending queries — still waits for a round-trip.
|
|
158
|
+
*/
|
|
159
|
+
flush() {
|
|
160
|
+
return new Promise(resolve => {
|
|
161
|
+
this.queue.push({ kind: 'sentinel', resolve });
|
|
162
|
+
this.stdout.write(SENTINEL);
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Dispatch a response parsed from stdin. Called by App.tsx's
|
|
167
|
+
* processKeysInBatch for every `kind: 'response'` item.
|
|
168
|
+
*
|
|
169
|
+
* Matching strategy:
|
|
170
|
+
* - First, try to match a pending query (FIFO, first match wins).
|
|
171
|
+
* This lets callers send(da1()) explicitly if they want the DA1
|
|
172
|
+
* params — a separate DA1 write means the terminal sends TWO DA1
|
|
173
|
+
* responses. The first matches the explicit query; the second
|
|
174
|
+
* (unmatched) fires the sentinel.
|
|
175
|
+
* - Otherwise, if this is a DA1, fire the FIRST pending sentinel:
|
|
176
|
+
* resolve any queries queued before that sentinel with undefined
|
|
177
|
+
* (the terminal answered DA1 without answering them → unsupported)
|
|
178
|
+
* and signal its flush() completion. Only draining up to the first
|
|
179
|
+
* sentinel keeps later batches intact when multiple callers have
|
|
180
|
+
* concurrent queries in flight.
|
|
181
|
+
* - Unsolicited responses (no match, no sentinel) are silently dropped.
|
|
182
|
+
* @param r - the response parsed from stdin.
|
|
183
|
+
*/
|
|
184
|
+
onResponse(r) {
|
|
185
|
+
const idx = this.queue.findIndex(p => p.kind === 'query' && p.match(r));
|
|
186
|
+
if (idx !== -1) {
|
|
187
|
+
const [q] = this.queue.splice(idx, 1);
|
|
188
|
+
if (q?.kind === 'query')
|
|
189
|
+
q.resolve(r);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
if (r.type === 'da1') {
|
|
193
|
+
const s = this.queue.findIndex(p => p.kind === 'sentinel');
|
|
194
|
+
if (s === -1)
|
|
195
|
+
return;
|
|
196
|
+
for (const p of this.queue.splice(0, s + 1)) {
|
|
197
|
+
if (p.kind === 'query')
|
|
198
|
+
p.resolve(undefined);
|
|
199
|
+
else
|
|
200
|
+
p.resolve();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Writable } from 'stream';
|
|
2
|
+
import type { Diff } from './frame.js';
|
|
3
|
+
/**
|
|
4
|
+
* Progress-report state for OSC 9;4: a state plus an optional percentage.
|
|
5
|
+
*/
|
|
6
|
+
export type Progress = {
|
|
7
|
+
state: 'running' | 'completed' | 'error' | 'indeterminate';
|
|
8
|
+
percentage?: number;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Checks if the terminal supports OSC 9;4 progress reporting.
|
|
12
|
+
* Supported terminals:
|
|
13
|
+
* - ConEmu (Windows) - all versions
|
|
14
|
+
* - Ghostty 1.2.0+
|
|
15
|
+
* - iTerm2 3.6.6+
|
|
16
|
+
*
|
|
17
|
+
* Note: Windows Terminal interprets OSC 9;4 as notifications, not progress.
|
|
18
|
+
* @returns true when the terminal supports OSC 9;4 progress reporting.
|
|
19
|
+
*/
|
|
20
|
+
export declare function isProgressReportingAvailable(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Checks if the terminal supports DEC mode 2026 (synchronized output).
|
|
23
|
+
* When supported, BSU/ESU sequences prevent visible flicker during redraws.
|
|
24
|
+
* @returns true when the terminal supports DEC 2026.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isSynchronizedOutputSupported(): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Record the XTVERSION response. Called once from App.tsx when the reply
|
|
29
|
+
* arrives on stdin. No-op if already set (defend against re-probe).
|
|
30
|
+
* @param name - the terminal name reported by the XTVERSION reply.
|
|
31
|
+
*/
|
|
32
|
+
export declare function setXtversionName(name: string): void;
|
|
33
|
+
/**
|
|
34
|
+
* True if running in an xterm.js-based terminal (VS Code, Cursor, Windsurf
|
|
35
|
+
* integrated terminals). Combines TERM_PROGRAM env check (fast, sync, but
|
|
36
|
+
* not forwarded over SSH) with the XTVERSION probe result (async, survives
|
|
37
|
+
* SSH — query/reply goes through the pty). Early calls may miss the probe
|
|
38
|
+
* reply — call lazily (e.g. in an event handler) if SSH detection matters.
|
|
39
|
+
* @returns true when the terminal is xterm.js-based.
|
|
40
|
+
*/
|
|
41
|
+
export declare function isXtermJs(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* True if this terminal correctly handles extended key reporting
|
|
44
|
+
* (Kitty keyboard protocol + xterm modifyOtherKeys).
|
|
45
|
+
* @returns true when the terminal is on the extended-keys allowlist.
|
|
46
|
+
*/
|
|
47
|
+
export declare function supportsExtendedKeys(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* True if the terminal scrolls the viewport when it receives cursor-up
|
|
50
|
+
* sequences that reach above the visible area. On Windows, conhost's
|
|
51
|
+
* SetConsoleCursorPosition follows the cursor into scrollback
|
|
52
|
+
* (microsoft/terminal#14774), yanking users to the top of their buffer
|
|
53
|
+
* mid-stream. WT_SESSION catches WSL-in-Windows-Terminal where platform
|
|
54
|
+
* is linux but output still routes through conhost.
|
|
55
|
+
* @returns true when the cursor-up viewport-yank bug applies.
|
|
56
|
+
*/
|
|
57
|
+
export declare function hasCursorUpViewportYankBug(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Whether synchronized output (DEC 2026) is available, computed once at
|
|
60
|
+
* module load — terminal capabilities don't change mid-session. Exported
|
|
61
|
+
* so callers can pass a sync-skip hint gated to specific modes.
|
|
62
|
+
*/
|
|
63
|
+
export declare const SYNC_OUTPUT_SUPPORTED: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* The output streams a terminal renders to.
|
|
66
|
+
*/
|
|
67
|
+
export type Terminal = {
|
|
68
|
+
stdout: Writable;
|
|
69
|
+
stderr: Writable;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Write a frame diff to the terminal as a single buffered write. Wraps
|
|
73
|
+
* the output in BSU/ESU synchronized-update markers unless skipSyncMarkers
|
|
74
|
+
* is set. No-op when the diff contains no patches.
|
|
75
|
+
* @param terminal - the terminal to write to.
|
|
76
|
+
* @param diff - the frame diff patches to render.
|
|
77
|
+
* @param skipSyncMarkers - when true, omit the BSU/ESU wrapping.
|
|
78
|
+
*/
|
|
79
|
+
export declare function writeDiffToTerminal(terminal: Terminal, diff: Diff, skipSyncMarkers?: boolean): void;
|
|
80
|
+
//# sourceMappingURL=terminal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminal.d.ts","sourceRoot":"","sources":["../../../src/ink/terminal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAKtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAKtC;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,eAAe,CAAA;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,OAAO,CAuCtD;AAED;;;;GAIG;AACH,wBAAgB,6BAA6B,IAAI,OAAO,CAgDvD;AAcD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnD;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAGnC;AAmBD;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,IAAI,OAAO,CAEpD;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,SAAkC,CAAA;AAuBpE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,QAAQ,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAA;CACjB,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,eAAe,UAAQ,GACtB,IAAI,CAqEN"}
|