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,369 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook for managing agent event bus subscriptions for NON-STREAMING events.
|
|
3
|
-
*
|
|
4
|
-
* Streaming events (llm:thinking, llm:chunk, llm:response, llm:tool-call, llm:tool-result,
|
|
5
|
-
* llm:error, run:complete, message:dequeued) are handled via agent.stream() iterator in processStream.
|
|
6
|
-
*
|
|
7
|
-
* This hook handles:
|
|
8
|
-
* - approval:request - Tool/command confirmation requests
|
|
9
|
-
* - llm:switched - Model change notifications
|
|
10
|
-
* - session:reset - Conversation reset
|
|
11
|
-
* - session:created - New session creation (e.g., from /clear)
|
|
12
|
-
* - context:compacting - Context compaction starting (from /compact or auto)
|
|
13
|
-
* - context:compacted - Context compaction finished
|
|
14
|
-
* - message:queued - New message added to queue
|
|
15
|
-
* - message:removed - Message removed from queue (e.g., up arrow edit)
|
|
16
|
-
* - run:invoke - External trigger (scheduler, A2A, API) starting a run
|
|
17
|
-
* - run:complete (for external triggers) - External run finished
|
|
18
|
-
*
|
|
19
|
-
* Uses AbortController pattern for cleanup.
|
|
20
|
-
*/
|
|
21
|
-
import { useEffect, useRef } from 'react';
|
|
22
|
-
import { setMaxListeners } from 'events';
|
|
23
|
-
import { getModelDisplayName, } from '@dexto/core';
|
|
24
|
-
import { generateMessageId } from '../utils/idGenerator.js';
|
|
25
|
-
/**
|
|
26
|
-
* Extract text content from ContentPart array
|
|
27
|
-
*/
|
|
28
|
-
function extractTextContent(content) {
|
|
29
|
-
return content
|
|
30
|
-
.filter((part) => part.type === 'text')
|
|
31
|
-
.map((part) => part.text)
|
|
32
|
-
.join('\n');
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Subscribes to agent event bus for non-streaming events only.
|
|
36
|
-
* Streaming events are handled via agent.stream() iterator.
|
|
37
|
-
*
|
|
38
|
-
* Also handles external triggers (run:invoke) from scheduler, A2A, etc.
|
|
39
|
-
*/
|
|
40
|
-
export function useAgentEvents({ agent, setMessages, setPendingMessages, setUi, setSession, setInput, setApproval, setApprovalQueue, setQueuedMessages, currentSessionId, buffer, }) {
|
|
41
|
-
// Track if an external trigger is active (scheduler, A2A, etc.)
|
|
42
|
-
const externalTriggerRef = useRef({ active: false, sessionId: null, messageId: null });
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
const controller = new AbortController();
|
|
45
|
-
const { signal } = controller;
|
|
46
|
-
// Increase listener limit for safety (added more for external trigger events)
|
|
47
|
-
setMaxListeners(25, signal);
|
|
48
|
-
// NOTE: approval:request is now handled in processStream (via iterator) for proper
|
|
49
|
-
// event ordering. Direct bus subscription here caused a race condition where
|
|
50
|
-
// approval UI showed before text messages were added.
|
|
51
|
-
// Handle model switch
|
|
52
|
-
agent.on('llm:switched', (payload) => {
|
|
53
|
-
if (payload.newConfig?.model) {
|
|
54
|
-
setSession((prev) => ({
|
|
55
|
-
...prev,
|
|
56
|
-
modelName: getModelDisplayName(payload.newConfig.model, payload.newConfig.provider),
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
}, { signal });
|
|
60
|
-
agent.on('service:event', (payload) => {
|
|
61
|
-
if (payload.service !== 'orchestration' || payload.event !== 'tasks-updated') {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
if (payload.sessionId && payload.sessionId !== currentSessionId) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
const data = payload.data;
|
|
68
|
-
if (data.tasks) {
|
|
69
|
-
setUi((prev) => {
|
|
70
|
-
const runningCount = typeof data.runningCount === 'number'
|
|
71
|
-
? data.runningCount
|
|
72
|
-
: prev.backgroundTasksRunning;
|
|
73
|
-
return {
|
|
74
|
-
...prev,
|
|
75
|
-
backgroundTasks: data.tasks ?? prev.backgroundTasks,
|
|
76
|
-
backgroundTasksRunning: runningCount,
|
|
77
|
-
};
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
else if (typeof data.runningCount === 'number') {
|
|
81
|
-
setUi((prev) => ({
|
|
82
|
-
...prev,
|
|
83
|
-
backgroundTasksRunning: data.runningCount ?? prev.backgroundTasksRunning,
|
|
84
|
-
}));
|
|
85
|
-
}
|
|
86
|
-
}, { signal });
|
|
87
|
-
agent.on('tool:background', (payload) => {
|
|
88
|
-
if (payload.sessionId !== currentSessionId) {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
const messageId = `tool-${payload.toolCallId}`;
|
|
92
|
-
setMessages((prev) => prev.map((message) => {
|
|
93
|
-
if (message.id !== messageId) {
|
|
94
|
-
return message;
|
|
95
|
-
}
|
|
96
|
-
return {
|
|
97
|
-
...message,
|
|
98
|
-
toolStatus: 'running',
|
|
99
|
-
toolResult: 'Background task started',
|
|
100
|
-
isBackground: true,
|
|
101
|
-
};
|
|
102
|
-
}));
|
|
103
|
-
}, { signal });
|
|
104
|
-
agent.on('tool:background-completed', (payload) => {
|
|
105
|
-
if (payload.sessionId !== currentSessionId) {
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
const messageId = `tool-${payload.toolCallId}`;
|
|
109
|
-
setMessages((prev) => prev.map((message) => {
|
|
110
|
-
if (message.id !== messageId) {
|
|
111
|
-
return message;
|
|
112
|
-
}
|
|
113
|
-
return {
|
|
114
|
-
...message,
|
|
115
|
-
toolStatus: 'finished',
|
|
116
|
-
toolResult: 'Background task completed',
|
|
117
|
-
isBackground: true,
|
|
118
|
-
};
|
|
119
|
-
}));
|
|
120
|
-
}, { signal });
|
|
121
|
-
// Handle conversation reset
|
|
122
|
-
agent.on('session:reset', () => {
|
|
123
|
-
setMessages([]);
|
|
124
|
-
setApproval(null);
|
|
125
|
-
setApprovalQueue([]);
|
|
126
|
-
setQueuedMessages([]);
|
|
127
|
-
setUi((prev) => ({ ...prev, activeOverlay: 'none' }));
|
|
128
|
-
}, { signal });
|
|
129
|
-
// Handle session creation (e.g., from /new command)
|
|
130
|
-
agent.on('session:created', (payload) => {
|
|
131
|
-
if (payload.switchTo) {
|
|
132
|
-
// Clear the terminal screen for a fresh start (only in TTY environments)
|
|
133
|
-
// \x1B[2J clears visible screen, \x1B[3J clears scrollback, \x1B[H moves cursor to top
|
|
134
|
-
if (process.stdout.isTTY) {
|
|
135
|
-
process.stdout.write('\x1B[2J\x1B[3J\x1B[H');
|
|
136
|
-
}
|
|
137
|
-
// Clear all message state
|
|
138
|
-
setMessages([]);
|
|
139
|
-
setPendingMessages([]);
|
|
140
|
-
setApproval(null);
|
|
141
|
-
setApprovalQueue([]);
|
|
142
|
-
setQueuedMessages([]);
|
|
143
|
-
// Reset input state including history (up/down arrow) and Ctrl+R search state
|
|
144
|
-
// Clear TextBuffer first (source of truth), then sync React state
|
|
145
|
-
buffer.setText('');
|
|
146
|
-
setInput((prev) => ({
|
|
147
|
-
...prev,
|
|
148
|
-
value: '',
|
|
149
|
-
history: [],
|
|
150
|
-
historyIndex: -1,
|
|
151
|
-
draftBeforeHistory: '',
|
|
152
|
-
images: [],
|
|
153
|
-
pastedBlocks: [],
|
|
154
|
-
pasteCounter: 0,
|
|
155
|
-
}));
|
|
156
|
-
if (payload.sessionId === null) {
|
|
157
|
-
setSession((prev) => ({ ...prev, id: null, hasActiveSession: false }));
|
|
158
|
-
}
|
|
159
|
-
else {
|
|
160
|
-
setSession((prev) => ({
|
|
161
|
-
...prev,
|
|
162
|
-
id: payload.sessionId,
|
|
163
|
-
hasActiveSession: true,
|
|
164
|
-
}));
|
|
165
|
-
}
|
|
166
|
-
// Reset UI state including history search
|
|
167
|
-
setUi((prev) => ({
|
|
168
|
-
...prev,
|
|
169
|
-
activeOverlay: 'none',
|
|
170
|
-
historySearch: {
|
|
171
|
-
isActive: false,
|
|
172
|
-
query: '',
|
|
173
|
-
matchIndex: 0,
|
|
174
|
-
originalInput: '',
|
|
175
|
-
lastMatch: '',
|
|
176
|
-
},
|
|
177
|
-
}));
|
|
178
|
-
}
|
|
179
|
-
}, { signal });
|
|
180
|
-
// Handle context cleared (from /clear command)
|
|
181
|
-
// Keep messages visible for user reference - only context sent to LLM is cleared
|
|
182
|
-
// Just clean up any pending approvals/overlays/queued messages
|
|
183
|
-
agent.on('context:cleared', () => {
|
|
184
|
-
setApproval(null);
|
|
185
|
-
setApprovalQueue([]);
|
|
186
|
-
setQueuedMessages([]);
|
|
187
|
-
setUi((prev) => ({ ...prev, activeOverlay: 'none' }));
|
|
188
|
-
}, { signal });
|
|
189
|
-
// Handle context compacting (from /compact command or auto-compaction)
|
|
190
|
-
// Single source of truth - handles both manual /compact and auto-compaction during streaming
|
|
191
|
-
agent.on('context:compacting', (payload) => {
|
|
192
|
-
if (payload.sessionId !== currentSessionId)
|
|
193
|
-
return;
|
|
194
|
-
setUi((prev) => ({ ...prev, isCompacting: true }));
|
|
195
|
-
}, { signal });
|
|
196
|
-
// Handle context compacted
|
|
197
|
-
// Single source of truth - shows notification for all compaction (manual and auto)
|
|
198
|
-
agent.on('context:compacted', (payload) => {
|
|
199
|
-
if (payload.sessionId !== currentSessionId)
|
|
200
|
-
return;
|
|
201
|
-
setUi((prev) => ({ ...prev, isCompacting: false }));
|
|
202
|
-
const reductionPercent = payload.originalTokens > 0
|
|
203
|
-
? Math.round(((payload.originalTokens - payload.compactedTokens) /
|
|
204
|
-
payload.originalTokens) *
|
|
205
|
-
100)
|
|
206
|
-
: 0;
|
|
207
|
-
const compactionContent = `📦 Context compacted\n` +
|
|
208
|
-
` ${payload.originalMessages} messages → ${payload.compactedMessages} messages\n` +
|
|
209
|
-
` ~${payload.originalTokens.toLocaleString()} → ~${payload.compactedTokens.toLocaleString()} tokens (${reductionPercent}% reduction)`;
|
|
210
|
-
setMessages((prev) => [
|
|
211
|
-
...prev,
|
|
212
|
-
{
|
|
213
|
-
id: generateMessageId('system'),
|
|
214
|
-
role: 'system',
|
|
215
|
-
content: compactionContent,
|
|
216
|
-
timestamp: new Date(),
|
|
217
|
-
},
|
|
218
|
-
]);
|
|
219
|
-
}, { signal });
|
|
220
|
-
// Handle message queued - fetch full queue state from agent
|
|
221
|
-
agent.on('message:queued', (payload) => {
|
|
222
|
-
if (!payload.sessionId)
|
|
223
|
-
return;
|
|
224
|
-
// Fetch fresh queue state from agent to ensure consistency
|
|
225
|
-
agent
|
|
226
|
-
.getQueuedMessages(payload.sessionId)
|
|
227
|
-
.then((messages) => {
|
|
228
|
-
setQueuedMessages(messages);
|
|
229
|
-
})
|
|
230
|
-
.catch(() => {
|
|
231
|
-
// Silently ignore - queue state will sync on next event
|
|
232
|
-
});
|
|
233
|
-
}, { signal });
|
|
234
|
-
// Handle message removed from queue
|
|
235
|
-
agent.on('message:removed', (payload) => {
|
|
236
|
-
setQueuedMessages((prev) => prev.filter((m) => m.id !== payload.id));
|
|
237
|
-
}, { signal });
|
|
238
|
-
// Note: message:dequeued is handled in processStream (via iterator) for proper synchronization
|
|
239
|
-
// with streaming events. Don't handle it here via event bus.
|
|
240
|
-
// ============================================================================
|
|
241
|
-
// EXTERNAL TRIGGER HANDLING (scheduler, A2A, API)
|
|
242
|
-
// When an external source invokes the agent, we receive events here instead of
|
|
243
|
-
// through processStream (which only handles user-initiated streams).
|
|
244
|
-
// ============================================================================
|
|
245
|
-
// Handle external trigger invocation (scheduler, A2A, API)
|
|
246
|
-
agent.on('run:invoke', (payload) => {
|
|
247
|
-
// Only handle if this is for the current session
|
|
248
|
-
if (payload.sessionId !== currentSessionId) {
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
// Mark external trigger as active
|
|
252
|
-
const messageId = generateMessageId('assistant');
|
|
253
|
-
externalTriggerRef.current = {
|
|
254
|
-
active: true,
|
|
255
|
-
sessionId: payload.sessionId,
|
|
256
|
-
messageId,
|
|
257
|
-
};
|
|
258
|
-
// Extract prompt text from content parts
|
|
259
|
-
const promptText = extractTextContent(payload.content);
|
|
260
|
-
// Add the scheduled prompt as a "user" message with a source indicator
|
|
261
|
-
const sourceLabel = payload.source === 'scheduler'
|
|
262
|
-
? '⏰ Scheduled Task'
|
|
263
|
-
: payload.source === 'a2a'
|
|
264
|
-
? '🤖 A2A Request'
|
|
265
|
-
: payload.source === 'api'
|
|
266
|
-
? '🔌 API Request'
|
|
267
|
-
: '📥 External Request';
|
|
268
|
-
setMessages((prev) => [
|
|
269
|
-
...prev,
|
|
270
|
-
{
|
|
271
|
-
id: generateMessageId('system'),
|
|
272
|
-
role: 'system',
|
|
273
|
-
content: `${sourceLabel}`,
|
|
274
|
-
timestamp: new Date(),
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
id: generateMessageId('user'),
|
|
278
|
-
role: 'user',
|
|
279
|
-
content: promptText,
|
|
280
|
-
timestamp: new Date(),
|
|
281
|
-
},
|
|
282
|
-
]);
|
|
283
|
-
// Set processing state
|
|
284
|
-
setUi((prev) => ({
|
|
285
|
-
...prev,
|
|
286
|
-
isProcessing: true,
|
|
287
|
-
isThinking: true,
|
|
288
|
-
}));
|
|
289
|
-
// Add assistant pending message for streaming
|
|
290
|
-
setPendingMessages([
|
|
291
|
-
{
|
|
292
|
-
id: messageId,
|
|
293
|
-
role: 'assistant',
|
|
294
|
-
content: '',
|
|
295
|
-
timestamp: new Date(),
|
|
296
|
-
isStreaming: true,
|
|
297
|
-
},
|
|
298
|
-
]);
|
|
299
|
-
}, { signal });
|
|
300
|
-
// Handle streaming chunks for external triggers
|
|
301
|
-
agent.on('llm:chunk', (payload) => {
|
|
302
|
-
// Only handle if this is for an active external trigger
|
|
303
|
-
if (!externalTriggerRef.current.active ||
|
|
304
|
-
payload.sessionId !== externalTriggerRef.current.sessionId) {
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
// Only handle text chunks (not reasoning)
|
|
308
|
-
if (payload.chunkType !== 'text') {
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
// Update pending message with new content
|
|
312
|
-
setPendingMessages((prev) => prev.map((msg) => msg.id === externalTriggerRef.current.messageId
|
|
313
|
-
? { ...msg, content: msg.content + payload.content }
|
|
314
|
-
: msg));
|
|
315
|
-
// Clear thinking state once we start receiving chunks
|
|
316
|
-
setUi((prev) => (prev.isThinking ? { ...prev, isThinking: false } : prev));
|
|
317
|
-
}, { signal });
|
|
318
|
-
// Handle LLM thinking for external triggers
|
|
319
|
-
agent.on('llm:thinking', (payload) => {
|
|
320
|
-
if (!externalTriggerRef.current.active ||
|
|
321
|
-
payload.sessionId !== externalTriggerRef.current.sessionId) {
|
|
322
|
-
return;
|
|
323
|
-
}
|
|
324
|
-
setUi((prev) => ({ ...prev, isThinking: true }));
|
|
325
|
-
}, { signal });
|
|
326
|
-
// Handle run completion for external triggers
|
|
327
|
-
agent.on('run:complete', (payload) => {
|
|
328
|
-
// Only handle if this is for an active external trigger
|
|
329
|
-
if (!externalTriggerRef.current.active ||
|
|
330
|
-
payload.sessionId !== externalTriggerRef.current.sessionId) {
|
|
331
|
-
return;
|
|
332
|
-
}
|
|
333
|
-
// Finalize the pending message
|
|
334
|
-
setPendingMessages((prev) => {
|
|
335
|
-
const pendingMsg = prev.find((m) => m.id === externalTriggerRef.current.messageId);
|
|
336
|
-
if (pendingMsg) {
|
|
337
|
-
// Move to finalized messages
|
|
338
|
-
setMessages((msgs) => [...msgs, { ...pendingMsg, isStreaming: false }]);
|
|
339
|
-
}
|
|
340
|
-
// Clear pending
|
|
341
|
-
return prev.filter((m) => m.id !== externalTriggerRef.current.messageId);
|
|
342
|
-
});
|
|
343
|
-
// Clear processing state
|
|
344
|
-
setUi((prev) => ({
|
|
345
|
-
...prev,
|
|
346
|
-
isProcessing: false,
|
|
347
|
-
isThinking: false,
|
|
348
|
-
}));
|
|
349
|
-
// Reset external trigger tracking
|
|
350
|
-
externalTriggerRef.current = { active: false, sessionId: null, messageId: null };
|
|
351
|
-
}, { signal });
|
|
352
|
-
// Cleanup: abort controller removes all listeners at once
|
|
353
|
-
return () => {
|
|
354
|
-
controller.abort();
|
|
355
|
-
};
|
|
356
|
-
}, [
|
|
357
|
-
agent,
|
|
358
|
-
setMessages,
|
|
359
|
-
setPendingMessages,
|
|
360
|
-
setUi,
|
|
361
|
-
setSession,
|
|
362
|
-
setInput,
|
|
363
|
-
setApproval,
|
|
364
|
-
setApprovalQueue,
|
|
365
|
-
setQueuedMessages,
|
|
366
|
-
currentSessionId,
|
|
367
|
-
buffer,
|
|
368
|
-
]);
|
|
369
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useBatchedScroll Hook
|
|
3
|
-
* Prevents scroll jitter by batching multiple scroll updates in the same frame.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* A hook to manage batched scroll state updates.
|
|
7
|
-
* It allows multiple scroll operations within the same tick to accumulate
|
|
8
|
-
* by keeping track of a 'pending' state that resets after render.
|
|
9
|
-
*/
|
|
10
|
-
export declare function useBatchedScroll(currentScrollTop: number): {
|
|
11
|
-
getScrollTop: () => number;
|
|
12
|
-
setPendingScrollTop: (newScrollTop: number) => void;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useBatchedScroll.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBatchedScroll.d.ts","sourceRoot":"","sources":["../../../../src/cli/ink-cli/hooks/useBatchedScroll.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;;wCAgBE,MAAM;EAKhE"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useBatchedScroll Hook
|
|
3
|
-
* Prevents scroll jitter by batching multiple scroll updates in the same frame.
|
|
4
|
-
*/
|
|
5
|
-
import { useRef, useEffect, useCallback } from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* A hook to manage batched scroll state updates.
|
|
8
|
-
* It allows multiple scroll operations within the same tick to accumulate
|
|
9
|
-
* by keeping track of a 'pending' state that resets after render.
|
|
10
|
-
*/
|
|
11
|
-
export function useBatchedScroll(currentScrollTop) {
|
|
12
|
-
const pendingScrollTopRef = useRef(null);
|
|
13
|
-
// We use a ref for currentScrollTop to allow getScrollTop to be stable
|
|
14
|
-
// and not depend on the currentScrollTop value directly in its dependency array.
|
|
15
|
-
const currentScrollTopRef = useRef(currentScrollTop);
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
currentScrollTopRef.current = currentScrollTop;
|
|
18
|
-
pendingScrollTopRef.current = null;
|
|
19
|
-
});
|
|
20
|
-
const getScrollTop = useCallback(() => pendingScrollTopRef.current ?? currentScrollTopRef.current, []);
|
|
21
|
-
const setPendingScrollTop = useCallback((newScrollTop) => {
|
|
22
|
-
pendingScrollTopRef.current = newScrollTop;
|
|
23
|
-
}, []);
|
|
24
|
-
return { getScrollTop, setPendingScrollTop };
|
|
25
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared CLI State Hook
|
|
3
|
-
*
|
|
4
|
-
* Contains all common state and logic shared between rendering modes.
|
|
5
|
-
* Both AlternateBufferCLI and StaticCLI use this hook.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { type DextoAgent, type QueuedMessage } from '@dexto/core';
|
|
9
|
-
import type { Message, StartupInfo, UIState, InputState, SessionState, TodoItem } from '../state/types.js';
|
|
10
|
-
import type { ApprovalRequest } from '../components/ApprovalPrompt.js';
|
|
11
|
-
import { InputService, MessageService } from '../services/index.js';
|
|
12
|
-
import type { OverlayContainerHandle } from '../containers/OverlayContainer.js';
|
|
13
|
-
import { type TextBuffer } from '../components/shared/text-buffer.js';
|
|
14
|
-
export type { UIState, InputState, SessionState, TodoItem } from '../state/types.js';
|
|
15
|
-
export interface UseCLIStateProps {
|
|
16
|
-
agent: DextoAgent;
|
|
17
|
-
initialSessionId: string | null;
|
|
18
|
-
startupInfo: StartupInfo;
|
|
19
|
-
/** Optional keyboard scroll handler for alternate buffer mode */
|
|
20
|
-
onKeyboardScroll?: (direction: 'up' | 'down') => void;
|
|
21
|
-
}
|
|
22
|
-
export interface CLIStateReturn {
|
|
23
|
-
messages: Message[];
|
|
24
|
-
setMessages: React.Dispatch<React.SetStateAction<Message[]>>;
|
|
25
|
-
pendingMessages: Message[];
|
|
26
|
-
setPendingMessages: React.Dispatch<React.SetStateAction<Message[]>>;
|
|
27
|
-
dequeuedBuffer: Message[];
|
|
28
|
-
setDequeuedBuffer: React.Dispatch<React.SetStateAction<Message[]>>;
|
|
29
|
-
queuedMessages: QueuedMessage[];
|
|
30
|
-
setQueuedMessages: React.Dispatch<React.SetStateAction<QueuedMessage[]>>;
|
|
31
|
-
todos: TodoItem[];
|
|
32
|
-
setTodos: React.Dispatch<React.SetStateAction<TodoItem[]>>;
|
|
33
|
-
ui: UIState;
|
|
34
|
-
setUi: React.Dispatch<React.SetStateAction<UIState>>;
|
|
35
|
-
input: InputState;
|
|
36
|
-
setInput: React.Dispatch<React.SetStateAction<InputState>>;
|
|
37
|
-
session: SessionState;
|
|
38
|
-
setSession: React.Dispatch<React.SetStateAction<SessionState>>;
|
|
39
|
-
approval: ApprovalRequest | null;
|
|
40
|
-
setApproval: React.Dispatch<React.SetStateAction<ApprovalRequest | null>>;
|
|
41
|
-
approvalQueue: ApprovalRequest[];
|
|
42
|
-
setApprovalQueue: React.Dispatch<React.SetStateAction<ApprovalRequest[]>>;
|
|
43
|
-
buffer: TextBuffer;
|
|
44
|
-
inputService: InputService;
|
|
45
|
-
messageService: MessageService;
|
|
46
|
-
overlayContainerRef: React.RefObject<OverlayContainerHandle | null>;
|
|
47
|
-
visibleMessages: Message[];
|
|
48
|
-
agent: DextoAgent;
|
|
49
|
-
startupInfo: StartupInfo;
|
|
50
|
-
}
|
|
51
|
-
export declare function useCLIState({ agent, initialSessionId, startupInfo, onKeyboardScroll: _onKeyboardScroll, }: UseCLIStateProps): CLIStateReturn;
|
|
52
|
-
//# sourceMappingURL=useCLIState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCLIState.d.ts","sourceRoot":"","sources":["../../../../src/cli/ink-cli/hooks/useCLIState.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAA4D,MAAM,OAAO,CAAC;AAEjF,OAAO,EAGH,KAAK,UAAU,EACf,KAAK,aAAa,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACR,OAAO,EACP,WAAW,EACX,OAAO,EACP,UAAU,EACV,YAAY,EACZ,QAAQ,EACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,qCAAqC,CAAC;AAGrF,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAErF,MAAM,WAAW,gBAAgB;IAC7B,KAAK,EAAE,UAAU,CAAC;IAClB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,CAAC,SAAS,EAAE,IAAI,GAAG,MAAM,KAAK,IAAI,CAAC;CACzD;AAED,MAAM,WAAW,cAAc;IAE3B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAE7D,eAAe,EAAE,OAAO,EAAE,CAAC;IAC3B,kBAAkB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAGpE,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IAEnE,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAEzE,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC3D,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACrD,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3D,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/D,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IACjC,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC;IAC1E,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IAG1E,MAAM,EAAE,UAAU,CAAC;IAGnB,YAAY,EAAE,YAAY,CAAC;IAC3B,cAAc,EAAE,cAAc,CAAC;IAG/B,mBAAmB,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;IAGpE,eAAe,EAAE,OAAO,EAAE,CAAC;IAG3B,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EACxB,KAAK,EACL,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAAE,iBAAiB,GACtC,EAAE,gBAAgB,GAAG,cAAc,CAyOnC"}
|