dexto 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/coding-agent/coding-agent.yml +3 -1
- package/dist/analytics/wrapper.js +1 -1
- package/dist/cli/auth/dexto-api-key.d.ts +34 -0
- package/dist/cli/auth/dexto-api-key.d.ts.map +1 -0
- package/dist/cli/auth/dexto-api-key.js +161 -0
- package/dist/cli/auth/index.d.ts +2 -1
- package/dist/cli/auth/index.d.ts.map +1 -1
- package/dist/cli/auth/index.js +2 -1
- package/dist/cli/auth/oauth.d.ts +10 -0
- package/dist/cli/auth/oauth.d.ts.map +1 -1
- package/dist/cli/auth/oauth.js +113 -36
- package/dist/cli/auth/service.d.ts +1 -0
- package/dist/cli/auth/service.d.ts.map +1 -1
- package/dist/cli/auth/service.js +1 -0
- package/dist/cli/commands/auth/login.d.ts.map +1 -1
- package/dist/cli/commands/auth/login.js +40 -105
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +157 -120
- package/dist/cli/utils/config-validation.js +3 -3
- package/dist/cli/utils/options.d.ts.map +1 -1
- package/dist/cli/utils/options.js +6 -0
- package/dist/index-main.js +36 -2
- package/dist/utils/session-logger-factory.d.ts.map +1 -1
- package/dist/utils/session-logger-factory.js +17 -2
- package/dist/webui/assets/index-BPlk2Wbt.css +1 -0
- package/dist/webui/assets/index-BZvrpxyh.js +2059 -0
- package/dist/webui/index.html +2 -2
- package/package.json +13 -23
- package/dist/cli/commands/interactive-commands/auth/index.d.ts +0 -12
- package/dist/cli/commands/interactive-commands/auth/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/auth/index.js +0 -20
- package/dist/cli/commands/interactive-commands/command-parser.d.ts +0 -56
- package/dist/cli/commands/interactive-commands/command-parser.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/command-parser.js +0 -173
- package/dist/cli/commands/interactive-commands/commands.d.ts +0 -52
- package/dist/cli/commands/interactive-commands/commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/commands.js +0 -142
- package/dist/cli/commands/interactive-commands/documentation-commands.d.ts +0 -15
- package/dist/cli/commands/interactive-commands/documentation-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/documentation-commands.js +0 -39
- package/dist/cli/commands/interactive-commands/export/index.d.ts +0 -13
- package/dist/cli/commands/interactive-commands/export/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/export/index.js +0 -21
- package/dist/cli/commands/interactive-commands/general-commands.d.ts +0 -22
- package/dist/cli/commands/interactive-commands/general-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/general-commands.js +0 -458
- package/dist/cli/commands/interactive-commands/mcp/index.d.ts +0 -13
- package/dist/cli/commands/interactive-commands/mcp/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/mcp/index.js +0 -18
- package/dist/cli/commands/interactive-commands/model/index.d.ts +0 -13
- package/dist/cli/commands/interactive-commands/model/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/model/index.js +0 -19
- package/dist/cli/commands/interactive-commands/plugin/index.d.ts +0 -13
- package/dist/cli/commands/interactive-commands/plugin/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/plugin/index.js +0 -18
- package/dist/cli/commands/interactive-commands/prompt-commands.d.ts +0 -25
- package/dist/cli/commands/interactive-commands/prompt-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/prompt-commands.js +0 -339
- package/dist/cli/commands/interactive-commands/session/index.d.ts +0 -16
- package/dist/cli/commands/interactive-commands/session/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/session/index.js +0 -15
- package/dist/cli/commands/interactive-commands/session/session-commands.d.ts +0 -32
- package/dist/cli/commands/interactive-commands/session/session-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/session/session-commands.js +0 -67
- package/dist/cli/commands/interactive-commands/system/index.d.ts +0 -13
- package/dist/cli/commands/interactive-commands/system/index.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/system/index.js +0 -12
- package/dist/cli/commands/interactive-commands/system/system-commands.d.ts +0 -18
- package/dist/cli/commands/interactive-commands/system/system-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/system/system-commands.js +0 -197
- package/dist/cli/commands/interactive-commands/tool-commands.d.ts +0 -15
- package/dist/cli/commands/interactive-commands/tool-commands.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/tool-commands.js +0 -24
- package/dist/cli/commands/interactive-commands/utils/arg-parser.d.ts +0 -57
- package/dist/cli/commands/interactive-commands/utils/arg-parser.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/utils/arg-parser.js +0 -81
- package/dist/cli/commands/interactive-commands/utils/command-output.d.ts +0 -40
- package/dist/cli/commands/interactive-commands/utils/command-output.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/utils/command-output.js +0 -56
- package/dist/cli/commands/interactive-commands/utils/format-output.d.ts +0 -14
- package/dist/cli/commands/interactive-commands/utils/format-output.d.ts.map +0 -1
- package/dist/cli/commands/interactive-commands/utils/format-output.js +0 -18
- package/dist/cli/ink-cli/InkCLIRefactored.d.ts +0 -52
- package/dist/cli/ink-cli/InkCLIRefactored.d.ts.map +0 -1
- package/dist/cli/ink-cli/InkCLIRefactored.js +0 -120
- package/dist/cli/ink-cli/components/ApprovalPrompt.d.ts +0 -44
- package/dist/cli/ink-cli/components/ApprovalPrompt.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/ApprovalPrompt.js +0 -269
- package/dist/cli/ink-cli/components/BackgroundTasksPanel.d.ts +0 -18
- package/dist/cli/ink-cli/components/BackgroundTasksPanel.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/BackgroundTasksPanel.js +0 -48
- package/dist/cli/ink-cli/components/CustomInput.d.ts +0 -17
- package/dist/cli/ink-cli/components/CustomInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/CustomInput.js +0 -51
- package/dist/cli/ink-cli/components/CustomTextInput.d.ts +0 -16
- package/dist/cli/ink-cli/components/CustomTextInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/CustomTextInput.js +0 -36
- package/dist/cli/ink-cli/components/EditableMultiLineInput.d.ts +0 -19
- package/dist/cli/ink-cli/components/EditableMultiLineInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/EditableMultiLineInput.js +0 -120
- package/dist/cli/ink-cli/components/ElicitationForm.d.ts +0 -22
- package/dist/cli/ink-cli/components/ElicitationForm.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/ElicitationForm.js +0 -358
- package/dist/cli/ink-cli/components/ErrorBoundary.d.ts +0 -20
- package/dist/cli/ink-cli/components/ErrorBoundary.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/ErrorBoundary.js +0 -29
- package/dist/cli/ink-cli/components/Footer.d.ts +0 -22
- package/dist/cli/ink-cli/components/Footer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/Footer.js +0 -76
- package/dist/cli/ink-cli/components/HistorySearchBar.d.ts +0 -17
- package/dist/cli/ink-cli/components/HistorySearchBar.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/HistorySearchBar.js +0 -8
- package/dist/cli/ink-cli/components/MultiLineInput.d.ts +0 -12
- package/dist/cli/ink-cli/components/MultiLineInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/MultiLineInput.js +0 -27
- package/dist/cli/ink-cli/components/ResourceAutocomplete.d.ts +0 -26
- package/dist/cli/ink-cli/components/ResourceAutocomplete.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/ResourceAutocomplete.js +0 -376
- package/dist/cli/ink-cli/components/SlashCommandAutocomplete.d.ts +0 -28
- package/dist/cli/ink-cli/components/SlashCommandAutocomplete.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/SlashCommandAutocomplete.js +0 -432
- package/dist/cli/ink-cli/components/StatusBar.d.ts +0 -41
- package/dist/cli/ink-cli/components/StatusBar.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/StatusBar.js +0 -110
- package/dist/cli/ink-cli/components/TextBufferInput.d.ts +0 -52
- package/dist/cli/ink-cli/components/TextBufferInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/TextBufferInput.js +0 -490
- package/dist/cli/ink-cli/components/TodoPanel.d.ts +0 -26
- package/dist/cli/ink-cli/components/TodoPanel.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/TodoPanel.js +0 -62
- package/dist/cli/ink-cli/components/base/BaseAutocomplete.d.ts +0 -29
- package/dist/cli/ink-cli/components/base/BaseAutocomplete.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/base/BaseAutocomplete.js +0 -98
- package/dist/cli/ink-cli/components/base/BaseSelector.d.ts +0 -36
- package/dist/cli/ink-cli/components/base/BaseSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/base/BaseSelector.js +0 -118
- package/dist/cli/ink-cli/components/base/index.d.ts +0 -6
- package/dist/cli/ink-cli/components/base/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/base/index.js +0 -5
- package/dist/cli/ink-cli/components/chat/ChatView.d.ts +0 -19
- package/dist/cli/ink-cli/components/chat/ChatView.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/ChatView.js +0 -11
- package/dist/cli/ink-cli/components/chat/Footer.d.ts +0 -9
- package/dist/cli/ink-cli/components/chat/Footer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/Footer.js +0 -8
- package/dist/cli/ink-cli/components/chat/Header.d.ts +0 -18
- package/dist/cli/ink-cli/components/chat/Header.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/Header.js +0 -16
- package/dist/cli/ink-cli/components/chat/MessageItem.d.ts +0 -21
- package/dist/cli/ink-cli/components/chat/MessageItem.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/MessageItem.js +0 -180
- package/dist/cli/ink-cli/components/chat/MessageList.d.ts +0 -16
- package/dist/cli/ink-cli/components/chat/MessageList.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/MessageList.js +0 -20
- package/dist/cli/ink-cli/components/chat/QueuedMessagesDisplay.d.ts +0 -16
- package/dist/cli/ink-cli/components/chat/QueuedMessagesDisplay.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/QueuedMessagesDisplay.js +0 -27
- package/dist/cli/ink-cli/components/chat/ToolIcon.d.ts +0 -18
- package/dist/cli/ink-cli/components/chat/ToolIcon.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/ToolIcon.js +0 -46
- package/dist/cli/ink-cli/components/chat/index.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/index.js +0 -9
- package/dist/cli/ink-cli/components/chat/styled-boxes/ConfigBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/ConfigBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/ConfigBox.js +0 -6
- package/dist/cli/ink-cli/components/chat/styled-boxes/HelpBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/HelpBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/HelpBox.js +0 -15
- package/dist/cli/ink-cli/components/chat/styled-boxes/LogConfigBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/LogConfigBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/LogConfigBox.js +0 -9
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionHistoryBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionHistoryBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionHistoryBox.js +0 -37
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionListBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionListBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/SessionListBox.js +0 -9
- package/dist/cli/ink-cli/components/chat/styled-boxes/ShortcutsBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/ShortcutsBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/ShortcutsBox.js +0 -6
- package/dist/cli/ink-cli/components/chat/styled-boxes/StatsBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/StatsBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/StatsBox.js +0 -29
- package/dist/cli/ink-cli/components/chat/styled-boxes/StyledBox.d.ts +0 -45
- package/dist/cli/ink-cli/components/chat/styled-boxes/StyledBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/StyledBox.js +0 -38
- package/dist/cli/ink-cli/components/chat/styled-boxes/SyspromptBox.d.ts +0 -10
- package/dist/cli/ink-cli/components/chat/styled-boxes/SyspromptBox.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/SyspromptBox.js +0 -6
- package/dist/cli/ink-cli/components/chat/styled-boxes/index.d.ts +0 -13
- package/dist/cli/ink-cli/components/chat/styled-boxes/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/chat/styled-boxes/index.js +0 -12
- package/dist/cli/ink-cli/components/input/InputArea.d.ts +0 -46
- package/dist/cli/ink-cli/components/input/InputArea.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/input/InputArea.js +0 -6
- package/dist/cli/ink-cli/components/input/index.d.ts +0 -5
- package/dist/cli/ink-cli/components/input/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/input/index.js +0 -4
- package/dist/cli/ink-cli/components/modes/AlternateBufferCLI.d.ts +0 -27
- package/dist/cli/ink-cli/components/modes/AlternateBufferCLI.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/modes/AlternateBufferCLI.js +0 -180
- package/dist/cli/ink-cli/components/modes/StaticCLI.d.ts +0 -29
- package/dist/cli/ink-cli/components/modes/StaticCLI.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/modes/StaticCLI.js +0 -107
- package/dist/cli/ink-cli/components/modes/index.d.ts +0 -10
- package/dist/cli/ink-cli/components/modes/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/modes/index.js +0 -9
- package/dist/cli/ink-cli/components/overlays/ApiKeyInput.d.ts +0 -26
- package/dist/cli/ink-cli/components/overlays/ApiKeyInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/ApiKeyInput.js +0 -92
- package/dist/cli/ink-cli/components/overlays/ContextStatsOverlay.d.ts +0 -26
- package/dist/cli/ink-cli/components/overlays/ContextStatsOverlay.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/ContextStatsOverlay.js +0 -241
- package/dist/cli/ink-cli/components/overlays/CustomModelWizard.d.ts +0 -29
- package/dist/cli/ink-cli/components/overlays/CustomModelWizard.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/CustomModelWizard.js +0 -301
- package/dist/cli/ink-cli/components/overlays/ExportWizard.d.ts +0 -22
- package/dist/cli/ink-cli/components/overlays/ExportWizard.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/ExportWizard.js +0 -308
- package/dist/cli/ink-cli/components/overlays/LogLevelSelector.d.ts +0 -23
- package/dist/cli/ink-cli/components/overlays/LogLevelSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/LogLevelSelector.js +0 -70
- package/dist/cli/ink-cli/components/overlays/MarketplaceAddPrompt.d.ts +0 -20
- package/dist/cli/ink-cli/components/overlays/MarketplaceAddPrompt.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/MarketplaceAddPrompt.js +0 -81
- package/dist/cli/ink-cli/components/overlays/MarketplaceBrowser.d.ts +0 -31
- package/dist/cli/ink-cli/components/overlays/MarketplaceBrowser.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/MarketplaceBrowser.js +0 -297
- package/dist/cli/ink-cli/components/overlays/McpAddChoice.d.ts +0 -22
- package/dist/cli/ink-cli/components/overlays/McpAddChoice.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpAddChoice.js +0 -59
- package/dist/cli/ink-cli/components/overlays/McpAddSelector.d.ts +0 -26
- package/dist/cli/ink-cli/components/overlays/McpAddSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpAddSelector.js +0 -73
- package/dist/cli/ink-cli/components/overlays/McpCustomTypeSelector.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/McpCustomTypeSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpCustomTypeSelector.js +0 -51
- package/dist/cli/ink-cli/components/overlays/McpCustomWizard.d.ts +0 -29
- package/dist/cli/ink-cli/components/overlays/McpCustomWizard.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpCustomWizard.js +0 -215
- package/dist/cli/ink-cli/components/overlays/McpRemoveSelector.d.ts +0 -22
- package/dist/cli/ink-cli/components/overlays/McpRemoveSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpRemoveSelector.js +0 -80
- package/dist/cli/ink-cli/components/overlays/McpSelector.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/McpSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpSelector.js +0 -52
- package/dist/cli/ink-cli/components/overlays/McpServerActions.d.ts +0 -28
- package/dist/cli/ink-cli/components/overlays/McpServerActions.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpServerActions.js +0 -93
- package/dist/cli/ink-cli/components/overlays/McpServerList.d.ts +0 -29
- package/dist/cli/ink-cli/components/overlays/McpServerList.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/McpServerList.js +0 -116
- package/dist/cli/ink-cli/components/overlays/ModelSelectorRefactored.d.ts +0 -28
- package/dist/cli/ink-cli/components/overlays/ModelSelectorRefactored.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/ModelSelectorRefactored.js +0 -630
- package/dist/cli/ink-cli/components/overlays/PluginActions.d.ts +0 -27
- package/dist/cli/ink-cli/components/overlays/PluginActions.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PluginActions.js +0 -66
- package/dist/cli/ink-cli/components/overlays/PluginList.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/PluginList.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PluginList.js +0 -70
- package/dist/cli/ink-cli/components/overlays/PluginManager.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/PluginManager.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PluginManager.js +0 -63
- package/dist/cli/ink-cli/components/overlays/PromptAddChoice.d.ts +0 -22
- package/dist/cli/ink-cli/components/overlays/PromptAddChoice.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PromptAddChoice.js +0 -52
- package/dist/cli/ink-cli/components/overlays/PromptAddWizard.d.ts +0 -29
- package/dist/cli/ink-cli/components/overlays/PromptAddWizard.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PromptAddWizard.js +0 -166
- package/dist/cli/ink-cli/components/overlays/PromptDeleteSelector.d.ts +0 -27
- package/dist/cli/ink-cli/components/overlays/PromptDeleteSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PromptDeleteSelector.js +0 -119
- package/dist/cli/ink-cli/components/overlays/PromptList.d.ts +0 -33
- package/dist/cli/ink-cli/components/overlays/PromptList.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/PromptList.js +0 -147
- package/dist/cli/ink-cli/components/overlays/SearchOverlay.d.ts +0 -23
- package/dist/cli/ink-cli/components/overlays/SearchOverlay.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/SearchOverlay.js +0 -189
- package/dist/cli/ink-cli/components/overlays/SessionRenameOverlay.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/SessionRenameOverlay.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/SessionRenameOverlay.js +0 -63
- package/dist/cli/ink-cli/components/overlays/SessionSelectorRefactored.d.ts +0 -26
- package/dist/cli/ink-cli/components/overlays/SessionSelectorRefactored.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/SessionSelectorRefactored.js +0 -126
- package/dist/cli/ink-cli/components/overlays/SessionSubcommandSelector.d.ts +0 -21
- package/dist/cli/ink-cli/components/overlays/SessionSubcommandSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/SessionSubcommandSelector.js +0 -42
- package/dist/cli/ink-cli/components/overlays/StreamSelector.d.ts +0 -20
- package/dist/cli/ink-cli/components/overlays/StreamSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/StreamSelector.js +0 -58
- package/dist/cli/ink-cli/components/overlays/ToolBrowser.d.ts +0 -26
- package/dist/cli/ink-cli/components/overlays/ToolBrowser.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/ToolBrowser.js +0 -642
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/LocalModelWizard.d.ts +0 -25
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/LocalModelWizard.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/LocalModelWizard.js +0 -609
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/index.d.ts +0 -15
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/index.js +0 -14
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/provider-config.d.ts +0 -42
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/provider-config.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/provider-config.js +0 -547
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ApiKeyStep.d.ts +0 -25
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ApiKeyStep.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ApiKeyStep.js +0 -29
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ProviderSelector.d.ts +0 -17
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ProviderSelector.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/ProviderSelector.js +0 -11
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/SetupInfoBanner.d.ts +0 -20
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/SetupInfoBanner.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/SetupInfoBanner.js +0 -10
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/WizardStepInput.d.ts +0 -30
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/WizardStepInput.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/WizardStepInput.js +0 -13
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/index.d.ts +0 -8
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/shared/index.js +0 -7
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/types.d.ts +0 -85
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/types.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/overlays/custom-model-wizard/types.js +0 -38
- package/dist/cli/ink-cli/components/renderers/DiffRenderer.d.ts +0 -21
- package/dist/cli/ink-cli/components/renderers/DiffRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/DiffRenderer.js +0 -65
- package/dist/cli/ink-cli/components/renderers/FilePreviewRenderer.d.ts +0 -30
- package/dist/cli/ink-cli/components/renderers/FilePreviewRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/FilePreviewRenderer.js +0 -66
- package/dist/cli/ink-cli/components/renderers/FileRenderer.d.ts +0 -19
- package/dist/cli/ink-cli/components/renderers/FileRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/FileRenderer.js +0 -26
- package/dist/cli/ink-cli/components/renderers/GenericRenderer.d.ts +0 -21
- package/dist/cli/ink-cli/components/renderers/GenericRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/GenericRenderer.js +0 -26
- package/dist/cli/ink-cli/components/renderers/SearchRenderer.d.ts +0 -20
- package/dist/cli/ink-cli/components/renderers/SearchRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/SearchRenderer.js +0 -26
- package/dist/cli/ink-cli/components/renderers/ShellRenderer.d.ts +0 -21
- package/dist/cli/ink-cli/components/renderers/ShellRenderer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/ShellRenderer.js +0 -25
- package/dist/cli/ink-cli/components/renderers/diff-shared.d.ts +0 -61
- package/dist/cli/ink-cli/components/renderers/diff-shared.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/diff-shared.js +0 -158
- package/dist/cli/ink-cli/components/renderers/index.d.ts +0 -28
- package/dist/cli/ink-cli/components/renderers/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/renderers/index.js +0 -36
- package/dist/cli/ink-cli/components/shared/MarkdownText.d.ts +0 -38
- package/dist/cli/ink-cli/components/shared/MarkdownText.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/shared/MarkdownText.js +0 -389
- package/dist/cli/ink-cli/components/shared/VirtualizedList.d.ts +0 -44
- package/dist/cli/ink-cli/components/shared/VirtualizedList.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/shared/VirtualizedList.js +0 -300
- package/dist/cli/ink-cli/components/shared/text-buffer.d.ts +0 -185
- package/dist/cli/ink-cli/components/shared/text-buffer.d.ts.map +0 -1
- package/dist/cli/ink-cli/components/shared/text-buffer.js +0 -1338
- package/dist/cli/ink-cli/constants/processingPhrases.d.ts +0 -10
- package/dist/cli/ink-cli/constants/processingPhrases.d.ts.map +0 -1
- package/dist/cli/ink-cli/constants/processingPhrases.js +0 -92
- package/dist/cli/ink-cli/constants/tips.d.ts +0 -15
- package/dist/cli/ink-cli/constants/tips.d.ts.map +0 -1
- package/dist/cli/ink-cli/constants/tips.js +0 -57
- package/dist/cli/ink-cli/containers/InputContainer.d.ts +0 -62
- package/dist/cli/ink-cli/containers/InputContainer.d.ts.map +0 -1
- package/dist/cli/ink-cli/containers/InputContainer.js +0 -639
- package/dist/cli/ink-cli/containers/OverlayContainer.d.ts +0 -42
- package/dist/cli/ink-cli/containers/OverlayContainer.d.ts.map +0 -1
- package/dist/cli/ink-cli/containers/OverlayContainer.js +0 -1824
- package/dist/cli/ink-cli/containers/index.d.ts +0 -6
- package/dist/cli/ink-cli/containers/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/containers/index.js +0 -5
- package/dist/cli/ink-cli/contexts/KeypressContext.d.ts +0 -36
- package/dist/cli/ink-cli/contexts/KeypressContext.d.ts.map +0 -1
- package/dist/cli/ink-cli/contexts/KeypressContext.js +0 -461
- package/dist/cli/ink-cli/contexts/MouseContext.d.ts +0 -27
- package/dist/cli/ink-cli/contexts/MouseContext.d.ts.map +0 -1
- package/dist/cli/ink-cli/contexts/MouseContext.js +0 -102
- package/dist/cli/ink-cli/contexts/ScrollProvider.d.ts +0 -33
- package/dist/cli/ink-cli/contexts/ScrollProvider.d.ts.map +0 -1
- package/dist/cli/ink-cli/contexts/ScrollProvider.js +0 -170
- package/dist/cli/ink-cli/contexts/SoundContext.d.ts +0 -23
- package/dist/cli/ink-cli/contexts/SoundContext.d.ts.map +0 -1
- package/dist/cli/ink-cli/contexts/SoundContext.js +0 -22
- package/dist/cli/ink-cli/contexts/index.d.ts +0 -8
- package/dist/cli/ink-cli/contexts/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/contexts/index.js +0 -7
- package/dist/cli/ink-cli/hooks/index.d.ts +0 -12
- package/dist/cli/ink-cli/hooks/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/index.js +0 -14
- package/dist/cli/ink-cli/hooks/useAgentEvents.d.ts +0 -49
- package/dist/cli/ink-cli/hooks/useAgentEvents.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useAgentEvents.js +0 -369
- package/dist/cli/ink-cli/hooks/useBatchedScroll.d.ts +0 -14
- package/dist/cli/ink-cli/hooks/useBatchedScroll.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useBatchedScroll.js +0 -25
- package/dist/cli/ink-cli/hooks/useCLIState.d.ts +0 -52
- package/dist/cli/ink-cli/hooks/useCLIState.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useCLIState.js +0 -223
- package/dist/cli/ink-cli/hooks/useElapsedTime.d.ts +0 -24
- package/dist/cli/ink-cli/hooks/useElapsedTime.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useElapsedTime.js +0 -69
- package/dist/cli/ink-cli/hooks/useGitBranch.d.ts +0 -13
- package/dist/cli/ink-cli/hooks/useGitBranch.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useGitBranch.js +0 -35
- package/dist/cli/ink-cli/hooks/useHistorySearch.d.ts +0 -61
- package/dist/cli/ink-cli/hooks/useHistorySearch.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useHistorySearch.js +0 -210
- package/dist/cli/ink-cli/hooks/useInputHistory.d.ts +0 -18
- package/dist/cli/ink-cli/hooks/useInputHistory.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useInputHistory.js +0 -26
- package/dist/cli/ink-cli/hooks/useInputOrchestrator.d.ts +0 -136
- package/dist/cli/ink-cli/hooks/useInputOrchestrator.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useInputOrchestrator.js +0 -715
- package/dist/cli/ink-cli/hooks/useKeyboardShortcuts.d.ts +0 -21
- package/dist/cli/ink-cli/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useKeyboardShortcuts.js +0 -80
- package/dist/cli/ink-cli/hooks/useKeypress.d.ts +0 -18
- package/dist/cli/ink-cli/hooks/useKeypress.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useKeypress.js +0 -26
- package/dist/cli/ink-cli/hooks/usePhraseCycler.d.ts +0 -30
- package/dist/cli/ink-cli/hooks/usePhraseCycler.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/usePhraseCycler.js +0 -68
- package/dist/cli/ink-cli/hooks/useStreaming.d.ts +0 -19
- package/dist/cli/ink-cli/hooks/useStreaming.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useStreaming.js +0 -26
- package/dist/cli/ink-cli/hooks/useTerminalSize.d.ts +0 -14
- package/dist/cli/ink-cli/hooks/useTerminalSize.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useTerminalSize.js +0 -31
- package/dist/cli/ink-cli/hooks/useTokenCounter.d.ts +0 -46
- package/dist/cli/ink-cli/hooks/useTokenCounter.d.ts.map +0 -1
- package/dist/cli/ink-cli/hooks/useTokenCounter.js +0 -122
- package/dist/cli/ink-cli/services/CommandService.d.ts +0 -58
- package/dist/cli/ink-cli/services/CommandService.d.ts.map +0 -1
- package/dist/cli/ink-cli/services/CommandService.js +0 -64
- package/dist/cli/ink-cli/services/InputService.d.ts +0 -40
- package/dist/cli/ink-cli/services/InputService.d.ts.map +0 -1
- package/dist/cli/ink-cli/services/InputService.js +0 -87
- package/dist/cli/ink-cli/services/MessageService.d.ts +0 -35
- package/dist/cli/ink-cli/services/MessageService.d.ts.map +0 -1
- package/dist/cli/ink-cli/services/MessageService.js +0 -49
- package/dist/cli/ink-cli/services/index.d.ts +0 -8
- package/dist/cli/ink-cli/services/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/services/index.js +0 -7
- package/dist/cli/ink-cli/services/processStream.d.ts +0 -75
- package/dist/cli/ink-cli/services/processStream.d.ts.map +0 -1
- package/dist/cli/ink-cli/services/processStream.js +0 -942
- package/dist/cli/ink-cli/state/actions.d.ts +0 -124
- package/dist/cli/ink-cli/state/actions.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/actions.js +0 -8
- package/dist/cli/ink-cli/state/index.d.ts +0 -10
- package/dist/cli/ink-cli/state/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/index.js +0 -8
- package/dist/cli/ink-cli/state/initialState.d.ts +0 -12
- package/dist/cli/ink-cli/state/initialState.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/initialState.js +0 -57
- package/dist/cli/ink-cli/state/reducer.d.ts +0 -15
- package/dist/cli/ink-cli/state/reducer.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/reducer.js +0 -341
- package/dist/cli/ink-cli/state/streaming-state.d.ts +0 -27
- package/dist/cli/ink-cli/state/streaming-state.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/streaming-state.js +0 -39
- package/dist/cli/ink-cli/state/types.d.ts +0 -366
- package/dist/cli/ink-cli/state/types.d.ts.map +0 -1
- package/dist/cli/ink-cli/state/types.js +0 -5
- package/dist/cli/ink-cli/utils/bracketedPaste.d.ts +0 -22
- package/dist/cli/ink-cli/utils/bracketedPaste.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/bracketedPaste.js +0 -27
- package/dist/cli/ink-cli/utils/clipboardUtils.d.ts +0 -49
- package/dist/cli/ink-cli/utils/clipboardUtils.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/clipboardUtils.js +0 -356
- package/dist/cli/ink-cli/utils/commandOverlays.d.ts +0 -33
- package/dist/cli/ink-cli/utils/commandOverlays.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/commandOverlays.js +0 -84
- package/dist/cli/ink-cli/utils/debugLog.d.ts +0 -38
- package/dist/cli/ink-cli/utils/debugLog.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/debugLog.js +0 -66
- package/dist/cli/ink-cli/utils/idGenerator.d.ts +0 -10
- package/dist/cli/ink-cli/utils/idGenerator.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/idGenerator.js +0 -12
- package/dist/cli/ink-cli/utils/index.d.ts +0 -9
- package/dist/cli/ink-cli/utils/index.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/index.js +0 -13
- package/dist/cli/ink-cli/utils/input.d.ts +0 -25
- package/dist/cli/ink-cli/utils/input.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/input.js +0 -56
- package/dist/cli/ink-cli/utils/inputParsing.d.ts +0 -31
- package/dist/cli/ink-cli/utils/inputParsing.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/inputParsing.js +0 -70
- package/dist/cli/ink-cli/utils/llm-provider-display.d.ts +0 -3
- package/dist/cli/ink-cli/utils/llm-provider-display.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/llm-provider-display.js +0 -22
- package/dist/cli/ink-cli/utils/messageFormatting.d.ts +0 -140
- package/dist/cli/ink-cli/utils/messageFormatting.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/messageFormatting.js +0 -591
- package/dist/cli/ink-cli/utils/mouse.d.ts +0 -61
- package/dist/cli/ink-cli/utils/mouse.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/mouse.js +0 -209
- package/dist/cli/ink-cli/utils/soundNotification.d.ts +0 -71
- package/dist/cli/ink-cli/utils/soundNotification.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/soundNotification.js +0 -203
- package/dist/cli/ink-cli/utils/streamSplitter.d.ts +0 -44
- package/dist/cli/ink-cli/utils/streamSplitter.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/streamSplitter.js +0 -154
- package/dist/cli/ink-cli/utils/textUtils.d.ts +0 -63
- package/dist/cli/ink-cli/utils/textUtils.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/textUtils.js +0 -248
- package/dist/cli/ink-cli/utils/toolUtils.d.ts +0 -20
- package/dist/cli/ink-cli/utils/toolUtils.d.ts.map +0 -1
- package/dist/cli/ink-cli/utils/toolUtils.js +0 -25
- package/dist/webui/assets/index-C9JXwpvo.css +0 -1
- package/dist/webui/assets/index-DwtueA8l.js +0 -2059
|
@@ -1,389 +0,0 @@
|
|
|
1
|
-
import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* MarkdownText Component
|
|
4
|
-
*
|
|
5
|
-
* Renders markdown text with terminal-appropriate styling.
|
|
6
|
-
* Handles both inline markdown (bold, code, italic) and block elements (headers, code blocks, lists).
|
|
7
|
-
*
|
|
8
|
-
* Uses wrap-ansi for proper word wrapping to avoid mid-word splits.
|
|
9
|
-
* Streaming-safe: incomplete markdown tokens won't match regex patterns,
|
|
10
|
-
* so they render as plain text until complete.
|
|
11
|
-
*/
|
|
12
|
-
import { memo, useMemo } from 'react';
|
|
13
|
-
import { Text, Box, useStdout } from 'ink';
|
|
14
|
-
import chalk from 'chalk';
|
|
15
|
-
import wrapAnsi from 'wrap-ansi';
|
|
16
|
-
import stringWidth from 'string-width';
|
|
17
|
-
import { highlight, supportsLanguage } from 'cli-highlight';
|
|
18
|
-
/**
|
|
19
|
-
* Parse inline markdown and return segments.
|
|
20
|
-
* Uses a single regex to find all inline patterns, processes in order.
|
|
21
|
-
*/
|
|
22
|
-
function parseInlineMarkdown(text) {
|
|
23
|
-
// Early return for plain text without markdown indicators
|
|
24
|
-
if (!/[*_~`\[<]|https?:\/\//.test(text)) {
|
|
25
|
-
return [{ type: 'text', content: text }];
|
|
26
|
-
}
|
|
27
|
-
const segments = [];
|
|
28
|
-
let lastIndex = 0;
|
|
29
|
-
// Combined regex for all inline patterns
|
|
30
|
-
// Order matters: longer/more specific patterns first
|
|
31
|
-
const inlineRegex = /(\*\*[^*]+\*\*|__[^_]+__|`[^`]+`|\*[^*]+\*|_[^_]+_|~~[^~]+~~|\[[^\]]+\]\([^)]+\)|https?:\/\/[^\s<]+)/g;
|
|
32
|
-
let match;
|
|
33
|
-
while ((match = inlineRegex.exec(text)) !== null) {
|
|
34
|
-
// Add text before the match
|
|
35
|
-
if (match.index > lastIndex) {
|
|
36
|
-
segments.push({ type: 'text', content: text.slice(lastIndex, match.index) });
|
|
37
|
-
}
|
|
38
|
-
const fullMatch = match[0];
|
|
39
|
-
// Determine the type and extract content
|
|
40
|
-
if (fullMatch.startsWith('**') && fullMatch.endsWith('**') && fullMatch.length > 4) {
|
|
41
|
-
// Bold: **text**
|
|
42
|
-
segments.push({ type: 'bold', content: fullMatch.slice(2, -2) });
|
|
43
|
-
}
|
|
44
|
-
else if (fullMatch.startsWith('__') && fullMatch.endsWith('__') && fullMatch.length > 4) {
|
|
45
|
-
// Bold: __text__
|
|
46
|
-
segments.push({ type: 'bold', content: fullMatch.slice(2, -2) });
|
|
47
|
-
}
|
|
48
|
-
else if (fullMatch.startsWith('`') && fullMatch.endsWith('`') && fullMatch.length > 2) {
|
|
49
|
-
// Inline code: `code`
|
|
50
|
-
segments.push({ type: 'code', content: fullMatch.slice(1, -1) });
|
|
51
|
-
}
|
|
52
|
-
else if (fullMatch.startsWith('~~') && fullMatch.endsWith('~~') && fullMatch.length > 4) {
|
|
53
|
-
// Strikethrough: ~~text~~
|
|
54
|
-
segments.push({ type: 'strikethrough', content: fullMatch.slice(2, -2) });
|
|
55
|
-
}
|
|
56
|
-
else if (fullMatch.startsWith('*') && fullMatch.endsWith('*') && fullMatch.length > 2) {
|
|
57
|
-
// Italic: *text*
|
|
58
|
-
segments.push({ type: 'italic', content: fullMatch.slice(1, -1) });
|
|
59
|
-
}
|
|
60
|
-
else if (fullMatch.startsWith('_') && fullMatch.endsWith('_') && fullMatch.length > 2) {
|
|
61
|
-
// Italic: _text_
|
|
62
|
-
segments.push({ type: 'italic', content: fullMatch.slice(1, -1) });
|
|
63
|
-
}
|
|
64
|
-
else if (fullMatch.startsWith('[') &&
|
|
65
|
-
fullMatch.includes('](') &&
|
|
66
|
-
fullMatch.endsWith(')')) {
|
|
67
|
-
// Link: [text](url)
|
|
68
|
-
const linkMatch = fullMatch.match(/\[([^\]]+)\]\(([^)]+)\)/);
|
|
69
|
-
if (linkMatch && linkMatch[1] && linkMatch[2]) {
|
|
70
|
-
segments.push({ type: 'link', content: linkMatch[1], url: linkMatch[2] });
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
segments.push({ type: 'text', content: fullMatch });
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
else if (/^https?:\/\//.test(fullMatch)) {
|
|
77
|
-
// Raw URL
|
|
78
|
-
segments.push({ type: 'url', content: fullMatch });
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
// Fallback: render as plain text
|
|
82
|
-
segments.push({ type: 'text', content: fullMatch });
|
|
83
|
-
}
|
|
84
|
-
lastIndex = inlineRegex.lastIndex;
|
|
85
|
-
}
|
|
86
|
-
// Add remaining text after last match
|
|
87
|
-
if (lastIndex < text.length) {
|
|
88
|
-
segments.push({ type: 'text', content: text.slice(lastIndex) });
|
|
89
|
-
}
|
|
90
|
-
return segments;
|
|
91
|
-
}
|
|
92
|
-
// ============================================================================
|
|
93
|
-
// ANSI String Conversion (for wrap-ansi compatibility)
|
|
94
|
-
// ============================================================================
|
|
95
|
-
/**
|
|
96
|
-
* Convert parsed markdown segments to an ANSI-escaped string.
|
|
97
|
-
* This allows wrap-ansi to properly handle styled text while word-wrapping.
|
|
98
|
-
*/
|
|
99
|
-
function segmentsToAnsi(segments, defaultColor) {
|
|
100
|
-
const colorFn = getChalkColor(defaultColor);
|
|
101
|
-
return segments
|
|
102
|
-
.map((segment) => {
|
|
103
|
-
switch (segment.type) {
|
|
104
|
-
case 'bold':
|
|
105
|
-
return colorFn.bold(segment.content);
|
|
106
|
-
case 'code':
|
|
107
|
-
return chalk.cyan(segment.content);
|
|
108
|
-
case 'italic':
|
|
109
|
-
return chalk.gray(segment.content);
|
|
110
|
-
case 'strikethrough':
|
|
111
|
-
return colorFn.strikethrough(segment.content);
|
|
112
|
-
case 'link':
|
|
113
|
-
return colorFn(segment.content) + chalk.blue(` (${segment.url})`);
|
|
114
|
-
case 'url':
|
|
115
|
-
return chalk.blue(segment.content);
|
|
116
|
-
default:
|
|
117
|
-
return colorFn(segment.content);
|
|
118
|
-
}
|
|
119
|
-
})
|
|
120
|
-
.join('');
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Get chalk color function from color name
|
|
124
|
-
*/
|
|
125
|
-
function getChalkColor(color) {
|
|
126
|
-
switch (color) {
|
|
127
|
-
case 'white':
|
|
128
|
-
return chalk.white;
|
|
129
|
-
case 'gray':
|
|
130
|
-
return chalk.gray;
|
|
131
|
-
case 'blue':
|
|
132
|
-
return chalk.blue;
|
|
133
|
-
case 'cyan':
|
|
134
|
-
return chalk.cyan;
|
|
135
|
-
case 'green':
|
|
136
|
-
return chalk.green;
|
|
137
|
-
case 'yellow':
|
|
138
|
-
return chalk.rgb(255, 165, 0);
|
|
139
|
-
case 'orange':
|
|
140
|
-
return chalk.rgb(255, 165, 0);
|
|
141
|
-
case 'red':
|
|
142
|
-
return chalk.red;
|
|
143
|
-
case 'magenta':
|
|
144
|
-
return chalk.green;
|
|
145
|
-
default:
|
|
146
|
-
return chalk.white;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Renders a paragraph with proper word wrapping using wrap-ansi.
|
|
151
|
-
* Handles bullet prefix with continuation line indentation.
|
|
152
|
-
*/
|
|
153
|
-
const WrappedParagraphInternal = ({ text, defaultColor, bulletPrefix, isFirstParagraph = false, }) => {
|
|
154
|
-
const { stdout } = useStdout();
|
|
155
|
-
const terminalWidth = stdout?.columns ?? 80;
|
|
156
|
-
const wrappedLines = useMemo(() => {
|
|
157
|
-
// Parse markdown and convert to ANSI string
|
|
158
|
-
const segments = parseInlineMarkdown(text);
|
|
159
|
-
const ansiString = segmentsToAnsi(segments, defaultColor);
|
|
160
|
-
// Calculate available width - always account for bullet indent since all lines get it
|
|
161
|
-
const prefixWidth = bulletPrefix ? stringWidth(bulletPrefix) : 0;
|
|
162
|
-
const availableWidth = Math.max(20, terminalWidth - prefixWidth);
|
|
163
|
-
// Word-wrap the ANSI string
|
|
164
|
-
const wrapped = wrapAnsi(ansiString, availableWidth, {
|
|
165
|
-
hard: false, // Don't break in the middle of words
|
|
166
|
-
wordWrap: true, // Enable word wrapping
|
|
167
|
-
trim: false, // Don't trim whitespace
|
|
168
|
-
});
|
|
169
|
-
return wrapped.split('\n');
|
|
170
|
-
}, [text, defaultColor, bulletPrefix, isFirstParagraph, terminalWidth]);
|
|
171
|
-
// Calculate indent for continuation lines (spaces to align with first line content)
|
|
172
|
-
// All lines get indentation when bulletPrefix is provided, for consistent left margin
|
|
173
|
-
const indentSpaces = bulletPrefix ? ' '.repeat(stringWidth(bulletPrefix)) : '';
|
|
174
|
-
return (_jsx(_Fragment, { children: wrappedLines.map((line, i) => {
|
|
175
|
-
const isFirstLine = i === 0;
|
|
176
|
-
// First line of first paragraph gets bullet, all other lines get space indent
|
|
177
|
-
const prefix = isFirstLine && isFirstParagraph && bulletPrefix ? bulletPrefix : indentSpaces;
|
|
178
|
-
return (_jsx(Box, { children: _jsxs(Text, { children: [prefix, line] }) }, i));
|
|
179
|
-
}) }));
|
|
180
|
-
};
|
|
181
|
-
const WrappedParagraph = memo(WrappedParagraphInternal);
|
|
182
|
-
/**
|
|
183
|
-
* Renders inline markdown segments with appropriate styling.
|
|
184
|
-
* Used for headers and other content that doesn't need word wrapping.
|
|
185
|
-
*/
|
|
186
|
-
const RenderInlineInternal = ({ text, defaultColor = 'white', bold: baseBold = false, }) => {
|
|
187
|
-
const segments = parseInlineMarkdown(text);
|
|
188
|
-
return (_jsx(_Fragment, { children: segments.map((segment, i) => {
|
|
189
|
-
switch (segment.type) {
|
|
190
|
-
case 'bold':
|
|
191
|
-
return (_jsx(Text, { bold: true, color: defaultColor, children: segment.content }, i));
|
|
192
|
-
case 'code':
|
|
193
|
-
return (_jsx(Text, { bold: baseBold, color: "cyan", children: segment.content }, i));
|
|
194
|
-
case 'italic':
|
|
195
|
-
return (_jsx(Text, { bold: baseBold, color: "gray", children: segment.content }, i));
|
|
196
|
-
case 'strikethrough':
|
|
197
|
-
return (_jsx(Text, { bold: baseBold, strikethrough: true, color: defaultColor, children: segment.content }, i));
|
|
198
|
-
case 'link':
|
|
199
|
-
return (_jsxs(Text, { bold: baseBold, color: defaultColor, children: [segment.content, _jsxs(Text, { color: "blue", children: [" (", segment.url, ")"] })] }, i));
|
|
200
|
-
case 'url':
|
|
201
|
-
return (_jsx(Text, { bold: baseBold, color: "blue", children: segment.content }, i));
|
|
202
|
-
default:
|
|
203
|
-
return (_jsx(Text, { bold: baseBold, color: defaultColor, children: segment.content }, i));
|
|
204
|
-
}
|
|
205
|
-
}) }));
|
|
206
|
-
};
|
|
207
|
-
const RenderInline = memo(RenderInlineInternal);
|
|
208
|
-
/**
|
|
209
|
-
* Main MarkdownText component.
|
|
210
|
-
* Handles block-level elements (headers, code blocks, lists) and delegates
|
|
211
|
-
* paragraph rendering to WrappedParagraph for proper word wrapping.
|
|
212
|
-
*/
|
|
213
|
-
const MarkdownTextInternal = ({ children, color = 'white', bulletPrefix, }) => {
|
|
214
|
-
if (!children)
|
|
215
|
-
return null;
|
|
216
|
-
const defaultColor = color;
|
|
217
|
-
const lines = children.split('\n');
|
|
218
|
-
let isFirstContentLine = true; // Track first actual content for bullet prefix
|
|
219
|
-
// Regex patterns for block elements
|
|
220
|
-
const headerRegex = /^(#{1,6})\s+(.*)$/;
|
|
221
|
-
const codeFenceRegex = /^(`{3,}|~{3,})(\w*)$/;
|
|
222
|
-
const ulItemRegex = /^(\s*)([-*+])\s+(.*)$/;
|
|
223
|
-
const olItemRegex = /^(\s*)(\d+)\.\s+(.*)$/;
|
|
224
|
-
// CommonMark allows spaces between HR characters (e.g., "- - -" or "* * *")
|
|
225
|
-
const hrRegex = /^(\s*[-*_]\s*){3,}$/;
|
|
226
|
-
const blocks = [];
|
|
227
|
-
let inCodeBlock = false;
|
|
228
|
-
let codeBlockLines = [];
|
|
229
|
-
let codeBlockLang = '';
|
|
230
|
-
let codeBlockFence = '';
|
|
231
|
-
lines.forEach((line, index) => {
|
|
232
|
-
const key = `line-${index}`;
|
|
233
|
-
const trimmedLine = line.trim();
|
|
234
|
-
// Handle code block state
|
|
235
|
-
if (inCodeBlock) {
|
|
236
|
-
const fenceMatch = trimmedLine.match(codeFenceRegex);
|
|
237
|
-
// Per CommonMark spec, closing fence must use same character and be at least as long
|
|
238
|
-
if (fenceMatch &&
|
|
239
|
-
fenceMatch[1] &&
|
|
240
|
-
codeBlockFence[0] &&
|
|
241
|
-
fenceMatch[1][0] === codeBlockFence[0] &&
|
|
242
|
-
fenceMatch[1].length >= codeBlockFence.length) {
|
|
243
|
-
// End of code block
|
|
244
|
-
blocks.push(_jsx(RenderCodeBlock, { lines: codeBlockLines, language: codeBlockLang }, key));
|
|
245
|
-
inCodeBlock = false;
|
|
246
|
-
codeBlockLines = [];
|
|
247
|
-
codeBlockLang = '';
|
|
248
|
-
codeBlockFence = '';
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
codeBlockLines.push(line);
|
|
252
|
-
}
|
|
253
|
-
return;
|
|
254
|
-
}
|
|
255
|
-
// Check for code fence start
|
|
256
|
-
const codeFenceMatch = trimmedLine.match(codeFenceRegex);
|
|
257
|
-
if (codeFenceMatch && codeFenceMatch[1]) {
|
|
258
|
-
inCodeBlock = true;
|
|
259
|
-
codeBlockFence = codeFenceMatch[1];
|
|
260
|
-
codeBlockLang = codeFenceMatch[2] || '';
|
|
261
|
-
return;
|
|
262
|
-
}
|
|
263
|
-
// Headers
|
|
264
|
-
const headerMatch = line.match(headerRegex);
|
|
265
|
-
if (headerMatch && headerMatch[1] && headerMatch[2] !== undefined) {
|
|
266
|
-
const level = headerMatch[1].length;
|
|
267
|
-
const headerText = headerMatch[2];
|
|
268
|
-
blocks.push(_jsx(RenderHeader, { level: level, text: headerText }, key));
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
// Horizontal rule
|
|
272
|
-
if (hrRegex.test(trimmedLine)) {
|
|
273
|
-
blocks.push(_jsx(Box, { children: _jsx(Text, { color: "gray", children: '─'.repeat(40) }) }, key));
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
// Unordered list
|
|
277
|
-
const ulMatch = line.match(ulItemRegex);
|
|
278
|
-
if (ulMatch && ulMatch[1] !== undefined && ulMatch[3] !== undefined) {
|
|
279
|
-
const indent = ulMatch[1].length;
|
|
280
|
-
const itemText = ulMatch[3];
|
|
281
|
-
blocks.push(_jsx(RenderListItem, { indent: indent, marker: "-", text: itemText, defaultColor: defaultColor }, key));
|
|
282
|
-
return;
|
|
283
|
-
}
|
|
284
|
-
// Ordered list
|
|
285
|
-
const olMatch = line.match(olItemRegex);
|
|
286
|
-
if (olMatch && olMatch[1] !== undefined && olMatch[2] && olMatch[3] !== undefined) {
|
|
287
|
-
const indent = olMatch[1].length;
|
|
288
|
-
const number = olMatch[2];
|
|
289
|
-
const itemText = olMatch[3];
|
|
290
|
-
blocks.push(_jsx(RenderListItem, { indent: indent, marker: `${number}.`, text: itemText, defaultColor: defaultColor }, key));
|
|
291
|
-
return;
|
|
292
|
-
}
|
|
293
|
-
// Empty line - add spacing
|
|
294
|
-
if (trimmedLine.length === 0) {
|
|
295
|
-
blocks.push(_jsx(Box, { height: 1 }, key));
|
|
296
|
-
return;
|
|
297
|
-
}
|
|
298
|
-
// Regular paragraph line - use WrappedParagraph for proper word wrapping
|
|
299
|
-
const usePrefix = isFirstContentLine && bulletPrefix;
|
|
300
|
-
blocks.push(_jsx(WrappedParagraph, { text: line, defaultColor: defaultColor, ...(bulletPrefix && { bulletPrefix }), isFirstParagraph: usePrefix ? true : false }, key));
|
|
301
|
-
if (usePrefix) {
|
|
302
|
-
isFirstContentLine = false;
|
|
303
|
-
}
|
|
304
|
-
});
|
|
305
|
-
// Handle unclosed code block (streaming case)
|
|
306
|
-
if (inCodeBlock && codeBlockLines.length > 0) {
|
|
307
|
-
blocks.push(_jsx(RenderCodeBlock, { lines: codeBlockLines, language: codeBlockLang, isPending: true }, "code-pending"));
|
|
308
|
-
}
|
|
309
|
-
// Wrap in column layout
|
|
310
|
-
return _jsx(Box, { flexDirection: "column", children: blocks });
|
|
311
|
-
};
|
|
312
|
-
const RenderHeaderInternal = ({ level, text }) => {
|
|
313
|
-
// Color based on header level
|
|
314
|
-
const headerColors = {
|
|
315
|
-
1: 'blue',
|
|
316
|
-
2: 'cyan',
|
|
317
|
-
3: 'white',
|
|
318
|
-
4: 'gray',
|
|
319
|
-
5: 'gray',
|
|
320
|
-
6: 'gray',
|
|
321
|
-
};
|
|
322
|
-
const headerColor = headerColors[level] || 'white';
|
|
323
|
-
return (_jsx(Box, { marginTop: level <= 2 ? 1 : 0, children: _jsx(RenderInline, { text: text, defaultColor: headerColor, bold: true }) }));
|
|
324
|
-
};
|
|
325
|
-
const RenderHeader = memo(RenderHeaderInternal);
|
|
326
|
-
/**
|
|
327
|
-
* List item with proper word wrapping using wrap-ansi.
|
|
328
|
-
* Continuation lines are indented to align with the first line content.
|
|
329
|
-
*/
|
|
330
|
-
const RenderListItemInternal = ({ indent, marker, text, defaultColor, }) => {
|
|
331
|
-
const { stdout } = useStdout();
|
|
332
|
-
const terminalWidth = stdout?.columns ?? 80;
|
|
333
|
-
const paddingLeft = Math.floor(indent / 2);
|
|
334
|
-
const markerWithSpace = `${marker} `;
|
|
335
|
-
const markerWidth = stringWidth(markerWithSpace);
|
|
336
|
-
const wrappedLines = useMemo(() => {
|
|
337
|
-
// Parse markdown and convert to ANSI string
|
|
338
|
-
const segments = parseInlineMarkdown(text);
|
|
339
|
-
const ansiString = segmentsToAnsi(segments, defaultColor);
|
|
340
|
-
// Available width = terminal - padding - marker
|
|
341
|
-
const availableWidth = Math.max(20, terminalWidth - paddingLeft - markerWidth);
|
|
342
|
-
// Word-wrap the ANSI string
|
|
343
|
-
const wrapped = wrapAnsi(ansiString, availableWidth, {
|
|
344
|
-
hard: false,
|
|
345
|
-
wordWrap: true,
|
|
346
|
-
trim: false,
|
|
347
|
-
});
|
|
348
|
-
return wrapped.split('\n');
|
|
349
|
-
}, [text, defaultColor, terminalWidth, paddingLeft, markerWidth]);
|
|
350
|
-
const continuationIndent = ' '.repeat(markerWidth);
|
|
351
|
-
return (_jsx(Box, { paddingLeft: paddingLeft, flexDirection: "column", children: wrappedLines.map((line, i) => (_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { color: defaultColor, children: i === 0 ? markerWithSpace : continuationIndent }), _jsx(Text, { children: line })] }, i))) }));
|
|
352
|
-
};
|
|
353
|
-
const RenderListItem = memo(RenderListItemInternal);
|
|
354
|
-
const RenderCodeBlockInternal = ({ lines, language, isPending, }) => {
|
|
355
|
-
// Memoize the highlighted code to avoid re-highlighting on every render
|
|
356
|
-
const highlightedCode = useMemo(() => {
|
|
357
|
-
const code = lines.join('\n');
|
|
358
|
-
// If we have a language and it's supported, use syntax highlighting
|
|
359
|
-
if (language && supportsLanguage(language)) {
|
|
360
|
-
try {
|
|
361
|
-
return highlight(code, { language, ignoreIllegals: true });
|
|
362
|
-
}
|
|
363
|
-
catch {
|
|
364
|
-
// Fall back to plain cyan if highlighting fails
|
|
365
|
-
return chalk.cyan(code);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
// If no language specified, try auto-detection
|
|
369
|
-
if (!language && code.trim()) {
|
|
370
|
-
try {
|
|
371
|
-
return highlight(code, { ignoreIllegals: true });
|
|
372
|
-
}
|
|
373
|
-
catch {
|
|
374
|
-
// Fall back to plain cyan if auto-detection fails
|
|
375
|
-
return chalk.cyan(code);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
// Fallback: plain cyan text
|
|
379
|
-
return chalk.cyan(code);
|
|
380
|
-
}, [lines, language]);
|
|
381
|
-
return (_jsxs(Box, { flexDirection: "column", marginTop: 1, marginBottom: 1, children: [language && _jsx(Text, { color: "gray", children: language }), _jsxs(Box, { flexDirection: "column", paddingLeft: 1, children: [_jsx(Text, { children: highlightedCode }), isPending && _jsx(Text, { color: "gray", children: "..." })] })] }));
|
|
382
|
-
};
|
|
383
|
-
const RenderCodeBlock = memo(RenderCodeBlockInternal);
|
|
384
|
-
// ============================================================================
|
|
385
|
-
// Exports
|
|
386
|
-
// ============================================================================
|
|
387
|
-
export const MarkdownText = memo(MarkdownTextInternal);
|
|
388
|
-
// Also export inline renderer for use in other components
|
|
389
|
-
export { RenderInline, parseInlineMarkdown };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* VirtualizedList Component
|
|
3
|
-
* Only renders items visible in the viewport for performance.
|
|
4
|
-
*/
|
|
5
|
-
import type React from 'react';
|
|
6
|
-
export declare const SCROLL_TO_ITEM_END: number;
|
|
7
|
-
type VirtualizedListProps<T> = {
|
|
8
|
-
data: T[];
|
|
9
|
-
renderItem: (info: {
|
|
10
|
-
item: T;
|
|
11
|
-
index: number;
|
|
12
|
-
}) => React.ReactElement;
|
|
13
|
-
estimatedItemHeight: (index: number) => number;
|
|
14
|
-
keyExtractor: (item: T, index: number) => string;
|
|
15
|
-
initialScrollIndex?: number;
|
|
16
|
-
initialScrollOffsetInIndex?: number;
|
|
17
|
-
scrollbarThumbColor?: string;
|
|
18
|
-
};
|
|
19
|
-
export type VirtualizedListRef<T> = {
|
|
20
|
-
scrollBy: (delta: number) => void;
|
|
21
|
-
scrollTo: (offset: number) => void;
|
|
22
|
-
scrollToEnd: () => void;
|
|
23
|
-
scrollToIndex: (params: {
|
|
24
|
-
index: number;
|
|
25
|
-
viewOffset?: number;
|
|
26
|
-
viewPosition?: number;
|
|
27
|
-
}) => void;
|
|
28
|
-
scrollToItem: (params: {
|
|
29
|
-
item: T;
|
|
30
|
-
viewOffset?: number;
|
|
31
|
-
viewPosition?: number;
|
|
32
|
-
}) => void;
|
|
33
|
-
getScrollIndex: () => number;
|
|
34
|
-
getScrollState: () => {
|
|
35
|
-
scrollTop: number;
|
|
36
|
-
scrollHeight: number;
|
|
37
|
-
innerHeight: number;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const VirtualizedList: <T>(props: VirtualizedListProps<T> & {
|
|
41
|
-
ref?: React.Ref<VirtualizedListRef<T>>;
|
|
42
|
-
}) => React.ReactElement;
|
|
43
|
-
export {};
|
|
44
|
-
//# sourceMappingURL=VirtualizedList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedList.d.ts","sourceRoot":"","sources":["../../../../../src/cli/ink-cli/components/shared/VirtualizedList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAYH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,eAAO,MAAM,kBAAkB,QAA0B,CAAC;AAE1D,KAAK,oBAAoB,CAAC,CAAC,IAAI;IAC3B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,UAAU,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,YAAY,CAAC;IACrE,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAChC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAC/F,YAAY,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACxF,cAAc,EAAE,MAAM,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;CACL,CAAC;AAkZF,eAAO,MAAM,eAAe,EAAuC,CAAC,CAAC,EACjE,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,KAC1E,KAAK,CAAC,YAAY,CAAC"}
|