@tecet/ollm 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +529 -0
- package/dist/cli.d.ts +25 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +81173 -0
- package/dist/cli.js.map +7 -0
- package/dist/commands/__tests__/commandRegistry.test.d.ts +2 -0
- package/dist/commands/__tests__/commandRegistry.test.d.ts.map +1 -0
- package/dist/commands/__tests__/commandRegistry.test.js +87 -0
- package/dist/commands/__tests__/commandRegistry.test.js.map +1 -0
- package/dist/commands/__tests__/slashCommandParsing.test.d.ts +10 -0
- package/dist/commands/__tests__/slashCommandParsing.test.d.ts.map +1 -0
- package/dist/commands/__tests__/slashCommandParsing.test.js +294 -0
- package/dist/commands/__tests__/slashCommandParsing.test.js.map +1 -0
- package/dist/commands/commandRegistry.d.ts +70 -0
- package/dist/commands/commandRegistry.d.ts.map +1 -0
- package/dist/commands/commandRegistry.js +378 -0
- package/dist/commands/commandRegistry.js.map +1 -0
- package/dist/commands/comparisonCommands.d.ts +22 -0
- package/dist/commands/comparisonCommands.d.ts.map +1 -0
- package/dist/commands/comparisonCommands.js +85 -0
- package/dist/commands/comparisonCommands.js.map +1 -0
- package/dist/commands/configCommands.d.ts +17 -0
- package/dist/commands/configCommands.d.ts.map +1 -0
- package/dist/commands/configCommands.js +91 -0
- package/dist/commands/configCommands.js.map +1 -0
- package/dist/commands/contextCommands.d.ts +19 -0
- package/dist/commands/contextCommands.d.ts.map +1 -0
- package/dist/commands/contextCommands.js +121 -0
- package/dist/commands/contextCommands.js.map +1 -0
- package/dist/commands/extensionCommands.d.ts +18 -0
- package/dist/commands/extensionCommands.d.ts.map +1 -0
- package/dist/commands/extensionCommands.js +341 -0
- package/dist/commands/extensionCommands.js.map +1 -0
- package/dist/commands/gitCommands.d.ts +20 -0
- package/dist/commands/gitCommands.d.ts.map +1 -0
- package/dist/commands/gitCommands.js +99 -0
- package/dist/commands/gitCommands.js.map +1 -0
- package/dist/commands/homeCommand.d.ts +8 -0
- package/dist/commands/homeCommand.d.ts.map +1 -0
- package/dist/commands/homeCommand.js +18 -0
- package/dist/commands/homeCommand.js.map +1 -0
- package/dist/commands/hookCommands.d.ts +13 -0
- package/dist/commands/hookCommands.d.ts.map +1 -0
- package/dist/commands/hookCommands.js +127 -0
- package/dist/commands/hookCommands.js.map +1 -0
- package/dist/commands/index.d.ts +22 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +21 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/mcpCommands.d.ts +56 -0
- package/dist/commands/mcpCommands.d.ts.map +1 -0
- package/dist/commands/mcpCommands.js +360 -0
- package/dist/commands/mcpCommands.js.map +1 -0
- package/dist/commands/mcpHealthCommands.d.ts +17 -0
- package/dist/commands/mcpHealthCommands.d.ts.map +1 -0
- package/dist/commands/mcpHealthCommands.js +303 -0
- package/dist/commands/mcpHealthCommands.js.map +1 -0
- package/dist/commands/mcpOAuthCommands.d.ts +16 -0
- package/dist/commands/mcpOAuthCommands.d.ts.map +1 -0
- package/dist/commands/mcpOAuthCommands.js +244 -0
- package/dist/commands/mcpOAuthCommands.js.map +1 -0
- package/dist/commands/memoryCommands.d.ts +25 -0
- package/dist/commands/memoryCommands.d.ts.map +1 -0
- package/dist/commands/memoryCommands.js +202 -0
- package/dist/commands/memoryCommands.js.map +1 -0
- package/dist/commands/metricsCommands.d.ts +20 -0
- package/dist/commands/metricsCommands.d.ts.map +1 -0
- package/dist/commands/metricsCommands.js +88 -0
- package/dist/commands/metricsCommands.js.map +1 -0
- package/dist/commands/modeCommands.d.ts +22 -0
- package/dist/commands/modeCommands.d.ts.map +1 -0
- package/dist/commands/modeCommands.js +452 -0
- package/dist/commands/modeCommands.js.map +1 -0
- package/dist/commands/modeShortcuts.d.ts +53 -0
- package/dist/commands/modeShortcuts.d.ts.map +1 -0
- package/dist/commands/modeShortcuts.js +213 -0
- package/dist/commands/modeShortcuts.js.map +1 -0
- package/dist/commands/modelCommands.d.ts +44 -0
- package/dist/commands/modelCommands.d.ts.map +1 -0
- package/dist/commands/modelCommands.js +448 -0
- package/dist/commands/modelCommands.js.map +1 -0
- package/dist/commands/projectCommands.d.ts +24 -0
- package/dist/commands/projectCommands.d.ts.map +1 -0
- package/dist/commands/projectCommands.js +175 -0
- package/dist/commands/projectCommands.js.map +1 -0
- package/dist/commands/providerCommands.d.ts +19 -0
- package/dist/commands/providerCommands.d.ts.map +1 -0
- package/dist/commands/providerCommands.js +87 -0
- package/dist/commands/providerCommands.js.map +1 -0
- package/dist/commands/reasoningCommands.d.ts +20 -0
- package/dist/commands/reasoningCommands.d.ts.map +1 -0
- package/dist/commands/reasoningCommands.js +86 -0
- package/dist/commands/reasoningCommands.js.map +1 -0
- package/dist/commands/reviewCommands.d.ts +20 -0
- package/dist/commands/reviewCommands.d.ts.map +1 -0
- package/dist/commands/reviewCommands.js +89 -0
- package/dist/commands/reviewCommands.js.map +1 -0
- package/dist/commands/sessionCommands.d.ts +41 -0
- package/dist/commands/sessionCommands.d.ts.map +1 -0
- package/dist/commands/sessionCommands.js +242 -0
- package/dist/commands/sessionCommands.js.map +1 -0
- package/dist/commands/snapshotCommands.d.ts +20 -0
- package/dist/commands/snapshotCommands.d.ts.map +1 -0
- package/dist/commands/snapshotCommands.js +297 -0
- package/dist/commands/snapshotCommands.js.map +1 -0
- package/dist/commands/templateCommands.d.ts +24 -0
- package/dist/commands/templateCommands.d.ts.map +1 -0
- package/dist/commands/templateCommands.js +186 -0
- package/dist/commands/templateCommands.js.map +1 -0
- package/dist/commands/themeCommands.d.ts +29 -0
- package/dist/commands/themeCommands.d.ts.map +1 -0
- package/dist/commands/themeCommands.js +179 -0
- package/dist/commands/themeCommands.js.map +1 -0
- package/dist/commands/types.d.ts +50 -0
- package/dist/commands/types.d.ts.map +1 -0
- package/dist/commands/types.js +2 -0
- package/dist/commands/types.js.map +1 -0
- package/dist/commands/utilityCommands.d.ts +29 -0
- package/dist/commands/utilityCommands.d.ts.map +1 -0
- package/dist/commands/utilityCommands.js +495 -0
- package/dist/commands/utilityCommands.js.map +1 -0
- package/dist/commands/workflowCommands.d.ts +56 -0
- package/dist/commands/workflowCommands.d.ts.map +1 -0
- package/dist/commands/workflowCommands.js +484 -0
- package/dist/commands/workflowCommands.js.map +1 -0
- package/dist/config/LLM_profiles.json +1908 -0
- package/dist/config/configLoader.d.ts +30 -0
- package/dist/config/configLoader.d.ts.map +1 -0
- package/dist/config/configLoader.js +380 -0
- package/dist/config/configLoader.js.map +1 -0
- package/dist/config/defaults.d.ts +25 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +137 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/config/keybinds.d.ts +113 -0
- package/dist/config/keybinds.d.ts.map +1 -0
- package/dist/config/keybinds.js +113 -0
- package/dist/config/keybinds.js.map +1 -0
- package/dist/config/profiles.d.ts +44 -0
- package/dist/config/profiles.d.ts.map +1 -0
- package/dist/config/profiles.js +236 -0
- package/dist/config/profiles.js.map +1 -0
- package/dist/config/schema.d.ts +254 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +160 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/settingsService.d.ts +251 -0
- package/dist/config/settingsService.d.ts.map +1 -0
- package/dist/config/settingsService.js +493 -0
- package/dist/config/settingsService.js.map +1 -0
- package/dist/config/styles.d.ts +28 -0
- package/dist/config/styles.d.ts.map +1 -0
- package/dist/config/styles.js +33 -0
- package/dist/config/styles.js.map +1 -0
- package/dist/config/systemSettings.json +17 -0
- package/dist/config/themes.d.ts +14 -0
- package/dist/config/themes.d.ts.map +1 -0
- package/dist/config/themes.js +248 -0
- package/dist/config/themes.js.map +1 -0
- package/dist/config/toolsConfig.d.ts +53 -0
- package/dist/config/toolsConfig.d.ts.map +1 -0
- package/dist/config/toolsConfig.js +171 -0
- package/dist/config/toolsConfig.js.map +1 -0
- package/dist/config/types.d.ts +306 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +6 -0
- package/dist/config/types.js.map +1 -0
- package/dist/features/chat/ChatProvider.d.ts +24 -0
- package/dist/features/chat/ChatProvider.d.ts.map +1 -0
- package/dist/features/chat/ChatProvider.js +166 -0
- package/dist/features/chat/ChatProvider.js.map +1 -0
- package/dist/features/chat/hooks/useAgentLoop.d.ts +27 -0
- package/dist/features/chat/hooks/useAgentLoop.d.ts.map +1 -0
- package/dist/features/chat/hooks/useAgentLoop.js +253 -0
- package/dist/features/chat/hooks/useAgentLoop.js.map +1 -0
- package/dist/features/chat/hooks/useChatNetwork.d.ts +39 -0
- package/dist/features/chat/hooks/useChatNetwork.d.ts.map +1 -0
- package/dist/features/chat/hooks/useChatNetwork.js +276 -0
- package/dist/features/chat/hooks/useChatNetwork.js.map +1 -0
- package/dist/features/chat/hooks/useChatState.d.ts +32 -0
- package/dist/features/chat/hooks/useChatState.d.ts.map +1 -0
- package/dist/features/chat/hooks/useChatState.js +77 -0
- package/dist/features/chat/hooks/useChatState.js.map +1 -0
- package/dist/features/chat/hooks/useContextEvents.d.ts +22 -0
- package/dist/features/chat/hooks/useContextEvents.d.ts.map +1 -0
- package/dist/features/chat/hooks/useContextEvents.js +160 -0
- package/dist/features/chat/hooks/useContextEvents.js.map +1 -0
- package/dist/features/chat/hooks/useMenuSystem.d.ts +24 -0
- package/dist/features/chat/hooks/useMenuSystem.d.ts.map +1 -0
- package/dist/features/chat/hooks/useMenuSystem.js +71 -0
- package/dist/features/chat/hooks/useMenuSystem.js.map +1 -0
- package/dist/features/chat/hooks/useScrollManager.d.ts +23 -0
- package/dist/features/chat/hooks/useScrollManager.d.ts.map +1 -0
- package/dist/features/chat/hooks/useScrollManager.js +38 -0
- package/dist/features/chat/hooks/useScrollManager.js.map +1 -0
- package/dist/features/chat/hooks/useSessionRecording.d.ts +18 -0
- package/dist/features/chat/hooks/useSessionRecording.d.ts.map +1 -0
- package/dist/features/chat/hooks/useSessionRecording.js +48 -0
- package/dist/features/chat/hooks/useSessionRecording.js.map +1 -0
- package/dist/features/chat/index.d.ts +12 -0
- package/dist/features/chat/index.d.ts.map +1 -0
- package/dist/features/chat/index.js +15 -0
- package/dist/features/chat/index.js.map +1 -0
- package/dist/features/chat/types.d.ts +138 -0
- package/dist/features/chat/types.d.ts.map +1 -0
- package/dist/features/chat/types.js +5 -0
- package/dist/features/chat/types.js.map +1 -0
- package/dist/features/chat/utils/promptUtils.d.ts +21 -0
- package/dist/features/chat/utils/promptUtils.d.ts.map +1 -0
- package/dist/features/chat/utils/promptUtils.js +103 -0
- package/dist/features/chat/utils/promptUtils.js.map +1 -0
- package/dist/features/context/ActiveContextState.d.ts +32 -0
- package/dist/features/context/ActiveContextState.d.ts.map +1 -0
- package/dist/features/context/ActiveContextState.js +284 -0
- package/dist/features/context/ActiveContextState.js.map +1 -0
- package/dist/features/context/ChatContext.d.ts +8 -0
- package/dist/features/context/ChatContext.d.ts.map +1 -0
- package/dist/features/context/ChatContext.js +536 -0
- package/dist/features/context/ChatContext.js.map +1 -0
- package/dist/features/context/ContextManagerContext.d.ts +132 -0
- package/dist/features/context/ContextManagerContext.d.ts.map +1 -0
- package/dist/features/context/ContextManagerContext.js +771 -0
- package/dist/features/context/ContextManagerContext.js.map +1 -0
- package/dist/features/context/ContextStatus.d.ts +43 -0
- package/dist/features/context/ContextStatus.d.ts.map +1 -0
- package/dist/features/context/ContextStatus.js +44 -0
- package/dist/features/context/ContextStatus.js.map +1 -0
- package/dist/features/context/FocusContext.d.ts +267 -0
- package/dist/features/context/FocusContext.d.ts.map +1 -0
- package/dist/features/context/FocusContext.js +324 -0
- package/dist/features/context/FocusContext.js.map +1 -0
- package/dist/features/context/GPUContext.d.ts +25 -0
- package/dist/features/context/GPUContext.d.ts.map +1 -0
- package/dist/features/context/GPUContext.js +64 -0
- package/dist/features/context/GPUContext.js.map +1 -0
- package/dist/features/context/HooksContext.d.ts +42 -0
- package/dist/features/context/HooksContext.d.ts.map +1 -0
- package/dist/features/context/HooksContext.js +310 -0
- package/dist/features/context/HooksContext.js.map +1 -0
- package/dist/features/context/KeybindsContext.d.ts +20 -0
- package/dist/features/context/KeybindsContext.d.ts.map +1 -0
- package/dist/features/context/KeybindsContext.js +80 -0
- package/dist/features/context/KeybindsContext.js.map +1 -0
- package/dist/features/context/ModelContext.d.ts +56 -0
- package/dist/features/context/ModelContext.d.ts.map +1 -0
- package/dist/features/context/ModelContext.js +290 -0
- package/dist/features/context/ModelContext.js.map +1 -0
- package/dist/features/context/ReviewContext.d.ts +50 -0
- package/dist/features/context/ReviewContext.d.ts.map +1 -0
- package/dist/features/context/ReviewContext.js +108 -0
- package/dist/features/context/ReviewContext.js.map +1 -0
- package/dist/features/context/ServiceContext.d.ts +46 -0
- package/dist/features/context/ServiceContext.d.ts.map +1 -0
- package/dist/features/context/ServiceContext.js +162 -0
- package/dist/features/context/ServiceContext.js.map +1 -0
- package/dist/features/context/SessionManager.d.ts +66 -0
- package/dist/features/context/SessionManager.d.ts.map +1 -0
- package/dist/features/context/SessionManager.js +117 -0
- package/dist/features/context/SessionManager.js.map +1 -0
- package/dist/features/context/SettingsContext.d.ts +15 -0
- package/dist/features/context/SettingsContext.d.ts.map +1 -0
- package/dist/features/context/SettingsContext.js +75 -0
- package/dist/features/context/SettingsContext.js.map +1 -0
- package/dist/features/context/SystemMessages.d.ts +27 -0
- package/dist/features/context/SystemMessages.d.ts.map +1 -0
- package/dist/features/context/SystemMessages.js +130 -0
- package/dist/features/context/SystemMessages.js.map +1 -0
- package/dist/features/context/ToolSupportMessages.d.ts +72 -0
- package/dist/features/context/ToolSupportMessages.d.ts.map +1 -0
- package/dist/features/context/ToolSupportMessages.js +116 -0
- package/dist/features/context/ToolSupportMessages.js.map +1 -0
- package/dist/features/context/UIContext.d.ts +43 -0
- package/dist/features/context/UIContext.d.ts.map +1 -0
- package/dist/features/context/UIContext.js +83 -0
- package/dist/features/context/UIContext.js.map +1 -0
- package/dist/features/context/UserPromptContext.d.ts +66 -0
- package/dist/features/context/UserPromptContext.d.ts.map +1 -0
- package/dist/features/context/UserPromptContext.js +176 -0
- package/dist/features/context/UserPromptContext.js.map +1 -0
- package/dist/features/context/__tests__/ModelContext.test.d.ts +5 -0
- package/dist/features/context/__tests__/ModelContext.test.d.ts.map +1 -0
- package/dist/features/context/__tests__/ModelContext.test.js +579 -0
- package/dist/features/context/__tests__/ModelContext.test.js.map +1 -0
- package/dist/features/context/contextSizing.d.ts +48 -0
- package/dist/features/context/contextSizing.d.ts.map +1 -0
- package/dist/features/context/contextSizing.js +87 -0
- package/dist/features/context/contextSizing.js.map +1 -0
- package/dist/features/context/gpuHintStore.d.ts +7 -0
- package/dist/features/context/gpuHintStore.d.ts.map +1 -0
- package/dist/features/context/gpuHintStore.js +15 -0
- package/dist/features/context/gpuHintStore.js.map +1 -0
- package/dist/features/context/gpuHints.d.ts +3 -0
- package/dist/features/context/gpuHints.d.ts.map +1 -0
- package/dist/features/context/gpuHints.js +2 -0
- package/dist/features/context/gpuHints.js.map +1 -0
- package/dist/features/context/handlers/agentLoopHandler.d.ts +58 -0
- package/dist/features/context/handlers/agentLoopHandler.d.ts.map +1 -0
- package/dist/features/context/handlers/agentLoopHandler.js +505 -0
- package/dist/features/context/handlers/agentLoopHandler.js.map +1 -0
- package/dist/features/context/handlers/commandHandler.d.ts +52 -0
- package/dist/features/context/handlers/commandHandler.d.ts.map +1 -0
- package/dist/features/context/handlers/commandHandler.js +107 -0
- package/dist/features/context/handlers/commandHandler.js.map +1 -0
- package/dist/features/context/handlers/contextEventHandlers.d.ts +71 -0
- package/dist/features/context/handlers/contextEventHandlers.d.ts.map +1 -0
- package/dist/features/context/handlers/contextEventHandlers.js +216 -0
- package/dist/features/context/handlers/contextEventHandlers.js.map +1 -0
- package/dist/features/context/hooks/useModelWarmup.d.ts +24 -0
- package/dist/features/context/hooks/useModelWarmup.d.ts.map +1 -0
- package/dist/features/context/hooks/useModelWarmup.js +181 -0
- package/dist/features/context/hooks/useModelWarmup.js.map +1 -0
- package/dist/features/context/hooks/useToolSupport.d.ts +19 -0
- package/dist/features/context/hooks/useToolSupport.d.ts.map +1 -0
- package/dist/features/context/hooks/useToolSupport.js +290 -0
- package/dist/features/context/hooks/useToolSupport.js.map +1 -0
- package/dist/features/context/types/chatTypes.d.ts +150 -0
- package/dist/features/context/types/chatTypes.d.ts.map +1 -0
- package/dist/features/context/types/chatTypes.js +8 -0
- package/dist/features/context/types/chatTypes.js.map +1 -0
- package/dist/features/context/useFocusedFilesInjection.d.ts +17 -0
- package/dist/features/context/useFocusedFilesInjection.d.ts.map +1 -0
- package/dist/features/context/useFocusedFilesInjection.js +37 -0
- package/dist/features/context/useFocusedFilesInjection.js.map +1 -0
- package/dist/features/context/utils/promptUtils.d.ts +28 -0
- package/dist/features/context/utils/promptUtils.d.ts.map +1 -0
- package/dist/features/context/utils/promptUtils.js +105 -0
- package/dist/features/context/utils/promptUtils.js.map +1 -0
- package/dist/features/context/utils/systemPromptBuilder.d.ts +39 -0
- package/dist/features/context/utils/systemPromptBuilder.d.ts.map +1 -0
- package/dist/features/context/utils/systemPromptBuilder.js +66 -0
- package/dist/features/context/utils/systemPromptBuilder.js.map +1 -0
- package/dist/features/hooks/adapter.d.ts +73 -0
- package/dist/features/hooks/adapter.d.ts.map +1 -0
- package/dist/features/hooks/adapter.js +259 -0
- package/dist/features/hooks/adapter.js.map +1 -0
- package/dist/features/hooks/index.d.ts +9 -0
- package/dist/features/hooks/index.d.ts.map +1 -0
- package/dist/features/hooks/index.js +9 -0
- package/dist/features/hooks/index.js.map +1 -0
- package/dist/features/hooks/types.d.ts +128 -0
- package/dist/features/hooks/types.d.ts.map +1 -0
- package/dist/features/hooks/types.js +9 -0
- package/dist/features/hooks/types.js.map +1 -0
- package/dist/features/profiles/ProfileManager.d.ts +56 -0
- package/dist/features/profiles/ProfileManager.d.ts.map +1 -0
- package/dist/features/profiles/ProfileManager.js +429 -0
- package/dist/features/profiles/ProfileManager.js.map +1 -0
- package/dist/features/profiles/__tests__/ProfileManager.integration.test.d.ts +12 -0
- package/dist/features/profiles/__tests__/ProfileManager.integration.test.d.ts.map +1 -0
- package/dist/features/profiles/__tests__/ProfileManager.integration.test.js +156 -0
- package/dist/features/profiles/__tests__/ProfileManager.integration.test.js.map +1 -0
- package/dist/features/profiles/modelUtils.d.ts +12 -0
- package/dist/features/profiles/modelUtils.d.ts.map +1 -0
- package/dist/features/profiles/modelUtils.js +20 -0
- package/dist/features/profiles/modelUtils.js.map +1 -0
- package/dist/features/provider/providerFactory.d.ts +19 -0
- package/dist/features/provider/providerFactory.d.ts.map +1 -0
- package/dist/features/provider/providerFactory.js +40 -0
- package/dist/features/provider/providerFactory.js.map +1 -0
- package/dist/lama_sprite/left/llama-l1.png +0 -0
- package/dist/lama_sprite/left/llama-l2.png +0 -0
- package/dist/lama_sprite/left/llama-l3.png +0 -0
- package/dist/lama_sprite/left/llama-l4.png +0 -0
- package/dist/lama_sprite/left/llama-l5.png +0 -0
- package/dist/lama_sprite/left/llama-l6.png +0 -0
- package/dist/lama_sprite/right/llama-r1.png +0 -0
- package/dist/lama_sprite/right/llama-r2.png +0 -0
- package/dist/lama_sprite/right/llama-r3.png +0 -0
- package/dist/lama_sprite/right/llama-r4.png +0 -0
- package/dist/lama_sprite/right/llama-r5.png +0 -0
- package/dist/lama_sprite/right/llama-r6.png +0 -0
- package/dist/nonInteractive.d.ts +87 -0
- package/dist/nonInteractive.d.ts.map +1 -0
- package/dist/nonInteractive.js +313 -0
- package/dist/nonInteractive.js.map +1 -0
- package/dist/services/KeybindsService.d.ts +13 -0
- package/dist/services/KeybindsService.d.ts.map +1 -0
- package/dist/services/KeybindsService.js +75 -0
- package/dist/services/KeybindsService.js.map +1 -0
- package/dist/services/__tests__/mcpConfigService.test.d.ts +5 -0
- package/dist/services/__tests__/mcpConfigService.test.d.ts.map +1 -0
- package/dist/services/__tests__/mcpConfigService.test.js +487 -0
- package/dist/services/__tests__/mcpConfigService.test.js.map +1 -0
- package/dist/services/__tests__/mcpMarketplace.integration.test.d.ts +8 -0
- package/dist/services/__tests__/mcpMarketplace.integration.test.d.ts.map +1 -0
- package/dist/services/__tests__/mcpMarketplace.integration.test.js +155 -0
- package/dist/services/__tests__/mcpMarketplace.integration.test.js.map +1 -0
- package/dist/services/__tests__/profileCompiler.test.d.ts +10 -0
- package/dist/services/__tests__/profileCompiler.test.d.ts.map +1 -0
- package/dist/services/__tests__/profileCompiler.test.js +357 -0
- package/dist/services/__tests__/profileCompiler.test.js.map +1 -0
- package/dist/services/documentService.d.ts +40 -0
- package/dist/services/documentService.d.ts.map +1 -0
- package/dist/services/documentService.js +202 -0
- package/dist/services/documentService.js.map +1 -0
- package/dist/services/hookFileService.d.ts +74 -0
- package/dist/services/hookFileService.d.ts.map +1 -0
- package/dist/services/hookFileService.js +311 -0
- package/dist/services/hookFileService.js.map +1 -0
- package/dist/services/hookLoader.d.ts +25 -0
- package/dist/services/hookLoader.d.ts.map +1 -0
- package/dist/services/hookLoader.js +87 -0
- package/dist/services/hookLoader.js.map +1 -0
- package/dist/services/mcpCleanup.d.ts +55 -0
- package/dist/services/mcpCleanup.d.ts.map +1 -0
- package/dist/services/mcpCleanup.js +196 -0
- package/dist/services/mcpCleanup.js.map +1 -0
- package/dist/services/mcpConfigBackup.d.ts +81 -0
- package/dist/services/mcpConfigBackup.d.ts.map +1 -0
- package/dist/services/mcpConfigBackup.js +406 -0
- package/dist/services/mcpConfigBackup.js.map +1 -0
- package/dist/services/mcpConfigService.d.ts +133 -0
- package/dist/services/mcpConfigService.d.ts.map +1 -0
- package/dist/services/mcpConfigService.js +349 -0
- package/dist/services/mcpConfigService.js.map +1 -0
- package/dist/services/mcpMarketplace.d.ts +130 -0
- package/dist/services/mcpMarketplace.d.ts.map +1 -0
- package/dist/services/mcpMarketplace.js +693 -0
- package/dist/services/mcpMarketplace.js.map +1 -0
- package/dist/services/profileCompiler.d.ts +79 -0
- package/dist/services/profileCompiler.d.ts.map +1 -0
- package/dist/services/profileCompiler.js +280 -0
- package/dist/services/profileCompiler.js.map +1 -0
- package/dist/templates/assistant/tier1.txt +18 -0
- package/dist/templates/assistant/tier2.txt +27 -0
- package/dist/templates/assistant/tier3.txt +49 -0
- package/dist/templates/assistant/tier4.txt +57 -0
- package/dist/templates/assistant/tier5.txt +51 -0
- package/dist/templates/debugger/tier1.txt +17 -0
- package/dist/templates/debugger/tier2.txt +28 -0
- package/dist/templates/debugger/tier3.txt +56 -0
- package/dist/templates/debugger/tier4.txt +58 -0
- package/dist/templates/debugger/tier5.txt +62 -0
- package/dist/templates/developer/tier1.txt +18 -0
- package/dist/templates/developer/tier2.txt +34 -0
- package/dist/templates/developer/tier3.txt +40 -0
- package/dist/templates/developer/tier4.txt +99 -0
- package/dist/templates/developer/tier5.txt +100 -0
- package/dist/templates/modes/index.ts +52 -0
- package/dist/templates/planning/tier1.txt +18 -0
- package/dist/templates/planning/tier2.txt +27 -0
- package/dist/templates/planning/tier3.txt +49 -0
- package/dist/templates/planning/tier4.txt +140 -0
- package/dist/templates/planning/tier5.txt +140 -0
- package/dist/templates/stateSnapshot.ts +38 -0
- package/dist/templates/system/.gitkeep +2 -0
- package/dist/templates/system/CoreMandates.txt +8 -0
- package/dist/templates/system/SanityChecks.txt +5 -0
- package/dist/templates/system/ToolDescriptions.txt +46 -0
- package/dist/templates/system/skills/.gitkeep +2 -0
- package/dist/templates/system/skills/SkillsAssistant.txt +27 -0
- package/dist/templates/system/skills/SkillsDebugger.txt +34 -0
- package/dist/templates/system/skills/SkillsDeveloper.txt +27 -0
- package/dist/templates/system/skills/SkillsPlanning.txt +33 -0
- package/dist/templates/system/skills/SkillsUser.txt +23 -0
- package/dist/templates/user/tier1.txt +18 -0
- package/dist/templates/user/tier2.txt +27 -0
- package/dist/templates/user/tier3.txt +49 -0
- package/dist/templates/user/tier4.txt +57 -0
- package/dist/templates/user/tier5.txt +51 -0
- package/dist/ui/App.d.ts +20 -0
- package/dist/ui/App.d.ts.map +1 -0
- package/dist/ui/App.js +355 -0
- package/dist/ui/App.js.map +1 -0
- package/dist/ui/components/AllCallbacksBridge.d.ts +31 -0
- package/dist/ui/components/AllCallbacksBridge.d.ts.map +1 -0
- package/dist/ui/components/AllCallbacksBridge.js +75 -0
- package/dist/ui/components/AllCallbacksBridge.js.map +1 -0
- package/dist/ui/components/ErrorBoundary.d.ts +38 -0
- package/dist/ui/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/ui/components/ErrorBoundary.js +70 -0
- package/dist/ui/components/ErrorBoundary.js.map +1 -0
- package/dist/ui/components/FullScreen.d.ts +24 -0
- package/dist/ui/components/FullScreen.d.ts.map +1 -0
- package/dist/ui/components/FullScreen.js +70 -0
- package/dist/ui/components/FullScreen.js.map +1 -0
- package/dist/ui/components/HybridModeDisplay.d.ts +36 -0
- package/dist/ui/components/HybridModeDisplay.d.ts.map +1 -0
- package/dist/ui/components/HybridModeDisplay.js +30 -0
- package/dist/ui/components/HybridModeDisplay.js.map +1 -0
- package/dist/ui/components/InputRouter.d.ts +16 -0
- package/dist/ui/components/InputRouter.d.ts.map +1 -0
- package/dist/ui/components/InputRouter.js +67 -0
- package/dist/ui/components/InputRouter.js.map +1 -0
- package/dist/ui/components/InputRoutingIndicator.d.ts +10 -0
- package/dist/ui/components/InputRoutingIndicator.d.ts.map +1 -0
- package/dist/ui/components/InputRoutingIndicator.js +13 -0
- package/dist/ui/components/InputRoutingIndicator.js.map +1 -0
- package/dist/ui/components/RightPanelLLMChat.d.ts +7 -0
- package/dist/ui/components/RightPanelLLMChat.d.ts.map +1 -0
- package/dist/ui/components/RightPanelLLMChat.js +15 -0
- package/dist/ui/components/RightPanelLLMChat.js.map +1 -0
- package/dist/ui/components/Terminal.d.ts +12 -0
- package/dist/ui/components/Terminal.d.ts.map +1 -0
- package/dist/ui/components/Terminal.js +90 -0
- package/dist/ui/components/Terminal.js.map +1 -0
- package/dist/ui/components/Terminal2.d.ts +10 -0
- package/dist/ui/components/Terminal2.d.ts.map +1 -0
- package/dist/ui/components/Terminal2.js +67 -0
- package/dist/ui/components/Terminal2.js.map +1 -0
- package/dist/ui/components/UICallbacksBridge.d.ts +25 -0
- package/dist/ui/components/UICallbacksBridge.d.ts.map +1 -0
- package/dist/ui/components/UICallbacksBridge.js +68 -0
- package/dist/ui/components/UICallbacksBridge.js.map +1 -0
- package/dist/ui/components/WindowSwitcher.d.ts +35 -0
- package/dist/ui/components/WindowSwitcher.d.ts.map +1 -0
- package/dist/ui/components/WindowSwitcher.js +20 -0
- package/dist/ui/components/WindowSwitcher.js.map +1 -0
- package/dist/ui/components/__tests__/testUtils.d.ts +69 -0
- package/dist/ui/components/__tests__/testUtils.d.ts.map +1 -0
- package/dist/ui/components/__tests__/testUtils.js +76 -0
- package/dist/ui/components/__tests__/testUtils.js.map +1 -0
- package/dist/ui/components/animations/lama/LlamaAnimation.d.ts +15 -0
- package/dist/ui/components/animations/lama/LlamaAnimation.d.ts.map +1 -0
- package/dist/ui/components/animations/lama/LlamaAnimation.js +375 -0
- package/dist/ui/components/animations/lama/LlamaAnimation.js.map +1 -0
- package/dist/ui/components/chat/ChatHistory.d.ts +57 -0
- package/dist/ui/components/chat/ChatHistory.d.ts.map +1 -0
- package/dist/ui/components/chat/ChatHistory.js +354 -0
- package/dist/ui/components/chat/ChatHistory.js.map +1 -0
- package/dist/ui/components/chat/Message.d.ts +20 -0
- package/dist/ui/components/chat/Message.d.ts.map +1 -0
- package/dist/ui/components/chat/Message.js +30 -0
- package/dist/ui/components/chat/Message.js.map +1 -0
- package/dist/ui/components/chat/MetricsDisplay.d.ts +36 -0
- package/dist/ui/components/chat/MetricsDisplay.d.ts.map +1 -0
- package/dist/ui/components/chat/MetricsDisplay.js +36 -0
- package/dist/ui/components/chat/MetricsDisplay.js.map +1 -0
- package/dist/ui/components/chat/ModeTransitionIndicator.d.ts +23 -0
- package/dist/ui/components/chat/ModeTransitionIndicator.d.ts.map +1 -0
- package/dist/ui/components/chat/ModeTransitionIndicator.js +57 -0
- package/dist/ui/components/chat/ModeTransitionIndicator.js.map +1 -0
- package/dist/ui/components/chat/ReasoningBox.d.ts +39 -0
- package/dist/ui/components/chat/ReasoningBox.d.ts.map +1 -0
- package/dist/ui/components/chat/ReasoningBox.js +106 -0
- package/dist/ui/components/chat/ReasoningBox.js.map +1 -0
- package/dist/ui/components/chat/StreamingIndicator.d.ts +17 -0
- package/dist/ui/components/chat/StreamingIndicator.d.ts.map +1 -0
- package/dist/ui/components/chat/StreamingIndicator.js +28 -0
- package/dist/ui/components/chat/StreamingIndicator.js.map +1 -0
- package/dist/ui/components/chat/ToolCall.d.ts +25 -0
- package/dist/ui/components/chat/ToolCall.d.ts.map +1 -0
- package/dist/ui/components/chat/ToolCall.js +26 -0
- package/dist/ui/components/chat/ToolCall.js.map +1 -0
- package/dist/ui/components/chat/index.d.ts +15 -0
- package/dist/ui/components/chat/index.d.ts.map +1 -0
- package/dist/ui/components/chat/index.js +8 -0
- package/dist/ui/components/chat/index.js.map +1 -0
- package/dist/ui/components/code-editor/EditorMockup.d.ts +20 -0
- package/dist/ui/components/code-editor/EditorMockup.d.ts.map +1 -0
- package/dist/ui/components/code-editor/EditorMockup.js +346 -0
- package/dist/ui/components/code-editor/EditorMockup.js.map +1 -0
- package/dist/ui/components/code-editor/index.d.ts +7 -0
- package/dist/ui/components/code-editor/index.d.ts.map +1 -0
- package/dist/ui/components/code-editor/index.js +7 -0
- package/dist/ui/components/code-editor/index.js.map +1 -0
- package/dist/ui/components/comparison/ComparisonView.d.ts +32 -0
- package/dist/ui/components/comparison/ComparisonView.d.ts.map +1 -0
- package/dist/ui/components/comparison/ComparisonView.js +27 -0
- package/dist/ui/components/comparison/ComparisonView.js.map +1 -0
- package/dist/ui/components/comparison/index.d.ts +3 -0
- package/dist/ui/components/comparison/index.d.ts.map +1 -0
- package/dist/ui/components/comparison/index.js +2 -0
- package/dist/ui/components/comparison/index.js.map +1 -0
- package/dist/ui/components/context/CompressionProgress.d.ts +38 -0
- package/dist/ui/components/context/CompressionProgress.d.ts.map +1 -0
- package/dist/ui/components/context/CompressionProgress.js +85 -0
- package/dist/ui/components/context/CompressionProgress.js.map +1 -0
- package/dist/ui/components/context/ContextMenu.d.ts +40 -0
- package/dist/ui/components/context/ContextMenu.d.ts.map +1 -0
- package/dist/ui/components/context/ContextMenu.js +420 -0
- package/dist/ui/components/context/ContextMenu.js.map +1 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.example.d.ts +54 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.example.d.ts.map +1 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.example.js +28 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.example.js.map +1 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.test.d.ts +8 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.test.d.ts.map +1 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.test.js +201 -0
- package/dist/ui/components/context/__tests__/CompressionProgress.test.js.map +1 -0
- package/dist/ui/components/context/index.d.ts +9 -0
- package/dist/ui/components/context/index.d.ts.map +1 -0
- package/dist/ui/components/context/index.js +8 -0
- package/dist/ui/components/context/index.js.map +1 -0
- package/dist/ui/components/dialogs/APIKeyInputDialog.d.ts +20 -0
- package/dist/ui/components/dialogs/APIKeyInputDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/APIKeyInputDialog.js +169 -0
- package/dist/ui/components/dialogs/APIKeyInputDialog.js.map +1 -0
- package/dist/ui/components/dialogs/AddHookDialog.d.ts +29 -0
- package/dist/ui/components/dialogs/AddHookDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/AddHookDialog.js +30 -0
- package/dist/ui/components/dialogs/AddHookDialog.js.map +1 -0
- package/dist/ui/components/dialogs/ConfirmationDialog.d.ts +58 -0
- package/dist/ui/components/dialogs/ConfirmationDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/ConfirmationDialog.js +102 -0
- package/dist/ui/components/dialogs/ConfirmationDialog.js.map +1 -0
- package/dist/ui/components/dialogs/DeleteConfirmationDialog.d.ts +23 -0
- package/dist/ui/components/dialogs/DeleteConfirmationDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/DeleteConfirmationDialog.js +39 -0
- package/dist/ui/components/dialogs/DeleteConfirmationDialog.js.map +1 -0
- package/dist/ui/components/dialogs/Dialog.d.ts +48 -0
- package/dist/ui/components/dialogs/Dialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/Dialog.js +48 -0
- package/dist/ui/components/dialogs/Dialog.js.map +1 -0
- package/dist/ui/components/dialogs/DialogErrorBoundary.d.ts +17 -0
- package/dist/ui/components/dialogs/DialogErrorBoundary.d.ts.map +1 -0
- package/dist/ui/components/dialogs/DialogErrorBoundary.js +10 -0
- package/dist/ui/components/dialogs/DialogErrorBoundary.js.map +1 -0
- package/dist/ui/components/dialogs/DialogManager.d.ts +11 -0
- package/dist/ui/components/dialogs/DialogManager.d.ts.map +1 -0
- package/dist/ui/components/dialogs/DialogManager.js +98 -0
- package/dist/ui/components/dialogs/DialogManager.js.map +1 -0
- package/dist/ui/components/dialogs/EditHookDialog.d.ts +23 -0
- package/dist/ui/components/dialogs/EditHookDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/EditHookDialog.js +64 -0
- package/dist/ui/components/dialogs/EditHookDialog.js.map +1 -0
- package/dist/ui/components/dialogs/HealthMonitorDialog.d.ts +33 -0
- package/dist/ui/components/dialogs/HealthMonitorDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/HealthMonitorDialog.js +222 -0
- package/dist/ui/components/dialogs/HealthMonitorDialog.js.map +1 -0
- package/dist/ui/components/dialogs/HelpOverlay.d.ts +24 -0
- package/dist/ui/components/dialogs/HelpOverlay.d.ts.map +1 -0
- package/dist/ui/components/dialogs/HelpOverlay.js +20 -0
- package/dist/ui/components/dialogs/HelpOverlay.js.map +1 -0
- package/dist/ui/components/dialogs/HookApprovalDialog.d.ts +31 -0
- package/dist/ui/components/dialogs/HookApprovalDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/HookApprovalDialog.js +80 -0
- package/dist/ui/components/dialogs/HookApprovalDialog.js.map +1 -0
- package/dist/ui/components/dialogs/InstallServerDialog.d.ts +37 -0
- package/dist/ui/components/dialogs/InstallServerDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/InstallServerDialog.js +234 -0
- package/dist/ui/components/dialogs/InstallServerDialog.js.map +1 -0
- package/dist/ui/components/dialogs/MarketplaceDialog.d.ts +31 -0
- package/dist/ui/components/dialogs/MarketplaceDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/MarketplaceDialog.js +178 -0
- package/dist/ui/components/dialogs/MarketplaceDialog.js.map +1 -0
- package/dist/ui/components/dialogs/ModeSuggestionDialog.d.ts +23 -0
- package/dist/ui/components/dialogs/ModeSuggestionDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/ModeSuggestionDialog.js +33 -0
- package/dist/ui/components/dialogs/ModeSuggestionDialog.js.map +1 -0
- package/dist/ui/components/dialogs/OAuthConfigDialog.d.ts +34 -0
- package/dist/ui/components/dialogs/OAuthConfigDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/OAuthConfigDialog.js +307 -0
- package/dist/ui/components/dialogs/OAuthConfigDialog.js.map +1 -0
- package/dist/ui/components/dialogs/ServerConfigDialog.d.ts +35 -0
- package/dist/ui/components/dialogs/ServerConfigDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/ServerConfigDialog.js +210 -0
- package/dist/ui/components/dialogs/ServerConfigDialog.js.map +1 -0
- package/dist/ui/components/dialogs/ServerLogsViewer.d.ts +32 -0
- package/dist/ui/components/dialogs/ServerLogsViewer.d.ts.map +1 -0
- package/dist/ui/components/dialogs/ServerLogsViewer.js +244 -0
- package/dist/ui/components/dialogs/ServerLogsViewer.js.map +1 -0
- package/dist/ui/components/dialogs/TestHookDialog.d.ts +26 -0
- package/dist/ui/components/dialogs/TestHookDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/TestHookDialog.js +60 -0
- package/dist/ui/components/dialogs/TestHookDialog.js.map +1 -0
- package/dist/ui/components/dialogs/UninstallConfirmDialog.d.ts +36 -0
- package/dist/ui/components/dialogs/UninstallConfirmDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/UninstallConfirmDialog.js +66 -0
- package/dist/ui/components/dialogs/UninstallConfirmDialog.js.map +1 -0
- package/dist/ui/components/dialogs/UserPromptDialog.d.ts +34 -0
- package/dist/ui/components/dialogs/UserPromptDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/UserPromptDialog.js +18 -0
- package/dist/ui/components/dialogs/UserPromptDialog.js.map +1 -0
- package/dist/ui/components/dialogs/index.d.ts +33 -0
- package/dist/ui/components/dialogs/index.d.ts.map +1 -0
- package/dist/ui/components/dialogs/index.js +19 -0
- package/dist/ui/components/dialogs/index.js.map +1 -0
- package/dist/ui/components/docs/DocNav.d.ts +21 -0
- package/dist/ui/components/docs/DocNav.d.ts.map +1 -0
- package/dist/ui/components/docs/DocNav.js +16 -0
- package/dist/ui/components/docs/DocNav.js.map +1 -0
- package/dist/ui/components/docs/DocViewer.d.ts +22 -0
- package/dist/ui/components/docs/DocViewer.d.ts.map +1 -0
- package/dist/ui/components/docs/DocViewer.js +51 -0
- package/dist/ui/components/docs/DocViewer.js.map +1 -0
- package/dist/ui/components/docs/DocsPanel.d.ts +21 -0
- package/dist/ui/components/docs/DocsPanel.d.ts.map +1 -0
- package/dist/ui/components/docs/DocsPanel.js +236 -0
- package/dist/ui/components/docs/DocsPanel.js.map +1 -0
- package/dist/ui/components/docs/index.d.ts +3 -0
- package/dist/ui/components/docs/index.d.ts.map +1 -0
- package/dist/ui/components/docs/index.js +3 -0
- package/dist/ui/components/docs/index.js.map +1 -0
- package/dist/ui/components/file-explorer/ConfirmationDialog.d.ts +45 -0
- package/dist/ui/components/file-explorer/ConfirmationDialog.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/ConfirmationDialog.js +87 -0
- package/dist/ui/components/file-explorer/ConfirmationDialog.js.map +1 -0
- package/dist/ui/components/file-explorer/EditorIntegration.d.ts +73 -0
- package/dist/ui/components/file-explorer/EditorIntegration.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/EditorIntegration.js +156 -0
- package/dist/ui/components/file-explorer/EditorIntegration.js.map +1 -0
- package/dist/ui/components/file-explorer/EnhancedFileExplorer.d.ts +28 -0
- package/dist/ui/components/file-explorer/EnhancedFileExplorer.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/EnhancedFileExplorer.js +33 -0
- package/dist/ui/components/file-explorer/EnhancedFileExplorer.js.map +1 -0
- package/dist/ui/components/file-explorer/ErrorHandler.d.ts +102 -0
- package/dist/ui/components/file-explorer/ErrorHandler.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/ErrorHandler.js +220 -0
- package/dist/ui/components/file-explorer/ErrorHandler.js.map +1 -0
- package/dist/ui/components/file-explorer/ExplorerPersistence.d.ts +103 -0
- package/dist/ui/components/file-explorer/ExplorerPersistence.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/ExplorerPersistence.js +182 -0
- package/dist/ui/components/file-explorer/ExplorerPersistence.js.map +1 -0
- package/dist/ui/components/file-explorer/FileExplorerComponent.d.ts +77 -0
- package/dist/ui/components/file-explorer/FileExplorerComponent.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileExplorerComponent.js +362 -0
- package/dist/ui/components/file-explorer/FileExplorerComponent.js.map +1 -0
- package/dist/ui/components/file-explorer/FileFocusContext.d.ts +65 -0
- package/dist/ui/components/file-explorer/FileFocusContext.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileFocusContext.js +127 -0
- package/dist/ui/components/file-explorer/FileFocusContext.js.map +1 -0
- package/dist/ui/components/file-explorer/FileOperations.d.ts +160 -0
- package/dist/ui/components/file-explorer/FileOperations.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileOperations.js +595 -0
- package/dist/ui/components/file-explorer/FileOperations.js.map +1 -0
- package/dist/ui/components/file-explorer/FileSearchDialog.d.ts +46 -0
- package/dist/ui/components/file-explorer/FileSearchDialog.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileSearchDialog.js +162 -0
- package/dist/ui/components/file-explorer/FileSearchDialog.js.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeContext.d.ts +85 -0
- package/dist/ui/components/file-explorer/FileTreeContext.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeContext.js +252 -0
- package/dist/ui/components/file-explorer/FileTreeContext.js.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeService.d.ts +270 -0
- package/dist/ui/components/file-explorer/FileTreeService.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeService.js +454 -0
- package/dist/ui/components/file-explorer/FileTreeService.js.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeView.d.ts +45 -0
- package/dist/ui/components/file-explorer/FileTreeView.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FileTreeView.js +686 -0
- package/dist/ui/components/file-explorer/FileTreeView.js.map +1 -0
- package/dist/ui/components/file-explorer/FocusSystem.d.ts +130 -0
- package/dist/ui/components/file-explorer/FocusSystem.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FocusSystem.js +234 -0
- package/dist/ui/components/file-explorer/FocusSystem.js.map +1 -0
- package/dist/ui/components/file-explorer/FocusedFilesInjector.d.ts +52 -0
- package/dist/ui/components/file-explorer/FocusedFilesInjector.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FocusedFilesInjector.js +147 -0
- package/dist/ui/components/file-explorer/FocusedFilesInjector.js.map +1 -0
- package/dist/ui/components/file-explorer/FocusedFilesPanel.d.ts +32 -0
- package/dist/ui/components/file-explorer/FocusedFilesPanel.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FocusedFilesPanel.js +64 -0
- package/dist/ui/components/file-explorer/FocusedFilesPanel.js.map +1 -0
- package/dist/ui/components/file-explorer/FollowModeService.d.ts +55 -0
- package/dist/ui/components/file-explorer/FollowModeService.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/FollowModeService.js +195 -0
- package/dist/ui/components/file-explorer/FollowModeService.js.map +1 -0
- package/dist/ui/components/file-explorer/GitStatusService.d.ts +82 -0
- package/dist/ui/components/file-explorer/GitStatusService.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/GitStatusService.js +203 -0
- package/dist/ui/components/file-explorer/GitStatusService.js.map +1 -0
- package/dist/ui/components/file-explorer/Header.d.ts +26 -0
- package/dist/ui/components/file-explorer/Header.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/Header.js +20 -0
- package/dist/ui/components/file-explorer/Header.js.map +1 -0
- package/dist/ui/components/file-explorer/HelpPanel.d.ts +25 -0
- package/dist/ui/components/file-explorer/HelpPanel.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/HelpPanel.js +38 -0
- package/dist/ui/components/file-explorer/HelpPanel.js.map +1 -0
- package/dist/ui/components/file-explorer/LoadingIndicator.d.ts +56 -0
- package/dist/ui/components/file-explorer/LoadingIndicator.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/LoadingIndicator.js +82 -0
- package/dist/ui/components/file-explorer/LoadingIndicator.js.map +1 -0
- package/dist/ui/components/file-explorer/PathSanitizer.d.ts +92 -0
- package/dist/ui/components/file-explorer/PathSanitizer.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/PathSanitizer.js +169 -0
- package/dist/ui/components/file-explorer/PathSanitizer.js.map +1 -0
- package/dist/ui/components/file-explorer/QuickActionsMenu.d.ts +54 -0
- package/dist/ui/components/file-explorer/QuickActionsMenu.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/QuickActionsMenu.js +175 -0
- package/dist/ui/components/file-explorer/QuickActionsMenu.js.map +1 -0
- package/dist/ui/components/file-explorer/QuickOpenDialog.d.ts +40 -0
- package/dist/ui/components/file-explorer/QuickOpenDialog.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/QuickOpenDialog.js +231 -0
- package/dist/ui/components/file-explorer/QuickOpenDialog.js.map +1 -0
- package/dist/ui/components/file-explorer/SyntaxViewer.d.ts +37 -0
- package/dist/ui/components/file-explorer/SyntaxViewer.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/SyntaxViewer.js +95 -0
- package/dist/ui/components/file-explorer/SyntaxViewer.js.map +1 -0
- package/dist/ui/components/file-explorer/VisionService.d.ts +39 -0
- package/dist/ui/components/file-explorer/VisionService.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/VisionService.js +103 -0
- package/dist/ui/components/file-explorer/VisionService.js.map +1 -0
- package/dist/ui/components/file-explorer/WorkspaceContext.d.ts +68 -0
- package/dist/ui/components/file-explorer/WorkspaceContext.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/WorkspaceContext.js +98 -0
- package/dist/ui/components/file-explorer/WorkspaceContext.js.map +1 -0
- package/dist/ui/components/file-explorer/WorkspaceManager.d.ts +96 -0
- package/dist/ui/components/file-explorer/WorkspaceManager.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/WorkspaceManager.js +197 -0
- package/dist/ui/components/file-explorer/WorkspaceManager.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.js +97 -0
- package/dist/ui/components/file-explorer/__tests__/ExplorerPersistence.test.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileOperations.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/FileOperations.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileOperations.test.js +145 -0
- package/dist/ui/components/file-explorer/__tests__/FileOperations.test.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.js +45 -0
- package/dist/ui/components/file-explorer/__tests__/FileSearchDialog.test.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.js +108 -0
- package/dist/ui/components/file-explorer/__tests__/FileTreeService.test.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.js +117 -0
- package/dist/ui/components/file-explorer/__tests__/FocusSystem.test.js.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.d.ts +7 -0
- package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.js +74 -0
- package/dist/ui/components/file-explorer/__tests__/PathSanitizer.test.js.map +1 -0
- package/dist/ui/components/file-explorer/index.d.ts +33 -0
- package/dist/ui/components/file-explorer/index.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/index.js +36 -0
- package/dist/ui/components/file-explorer/index.js.map +1 -0
- package/dist/ui/components/file-explorer/types.d.ts +81 -0
- package/dist/ui/components/file-explorer/types.d.ts.map +1 -0
- package/dist/ui/components/file-explorer/types.js +9 -0
- package/dist/ui/components/file-explorer/types.js.map +1 -0
- package/dist/ui/components/forms/Button.d.ts +55 -0
- package/dist/ui/components/forms/Button.d.ts.map +1 -0
- package/dist/ui/components/forms/Button.js +58 -0
- package/dist/ui/components/forms/Button.js.map +1 -0
- package/dist/ui/components/forms/Checkbox.d.ts +39 -0
- package/dist/ui/components/forms/Checkbox.d.ts.map +1 -0
- package/dist/ui/components/forms/Checkbox.js +29 -0
- package/dist/ui/components/forms/Checkbox.js.map +1 -0
- package/dist/ui/components/forms/FormField.d.ts +24 -0
- package/dist/ui/components/forms/FormField.d.ts.map +1 -0
- package/dist/ui/components/forms/FormField.js +11 -0
- package/dist/ui/components/forms/FormField.js.map +1 -0
- package/dist/ui/components/forms/TextInput.d.ts +47 -0
- package/dist/ui/components/forms/TextInput.d.ts.map +1 -0
- package/dist/ui/components/forms/TextInput.js +74 -0
- package/dist/ui/components/forms/TextInput.js.map +1 -0
- package/dist/ui/components/forms/Tooltip.d.ts +38 -0
- package/dist/ui/components/forms/Tooltip.d.ts.map +1 -0
- package/dist/ui/components/forms/Tooltip.js +21 -0
- package/dist/ui/components/forms/Tooltip.js.map +1 -0
- package/dist/ui/components/forms/index.d.ts +22 -0
- package/dist/ui/components/forms/index.d.ts.map +1 -0
- package/dist/ui/components/forms/index.js +17 -0
- package/dist/ui/components/forms/index.js.map +1 -0
- package/dist/ui/components/github/FeatureSection.d.ts +15 -0
- package/dist/ui/components/github/FeatureSection.d.ts.map +1 -0
- package/dist/ui/components/github/FeatureSection.js +14 -0
- package/dist/ui/components/github/FeatureSection.js.map +1 -0
- package/dist/ui/components/github/PlannedFeaturesList.d.ts +15 -0
- package/dist/ui/components/github/PlannedFeaturesList.d.ts.map +1 -0
- package/dist/ui/components/github/PlannedFeaturesList.js +69 -0
- package/dist/ui/components/github/PlannedFeaturesList.js.map +1 -0
- package/dist/ui/components/hooks/HookCategory.d.ts +32 -0
- package/dist/ui/components/hooks/HookCategory.d.ts.map +1 -0
- package/dist/ui/components/hooks/HookCategory.js +34 -0
- package/dist/ui/components/hooks/HookCategory.js.map +1 -0
- package/dist/ui/components/hooks/HookItem.d.ts +48 -0
- package/dist/ui/components/hooks/HookItem.d.ts.map +1 -0
- package/dist/ui/components/hooks/HookItem.js +48 -0
- package/dist/ui/components/hooks/HookItem.js.map +1 -0
- package/dist/ui/components/hooks/index.d.ts +3 -0
- package/dist/ui/components/hooks/index.d.ts.map +1 -0
- package/dist/ui/components/hooks/index.js +3 -0
- package/dist/ui/components/hooks/index.js.map +1 -0
- package/dist/ui/components/launch/LaunchScreen.d.ts +24 -0
- package/dist/ui/components/launch/LaunchScreen.d.ts.map +1 -0
- package/dist/ui/components/launch/LaunchScreen.js +29 -0
- package/dist/ui/components/launch/LaunchScreen.js.map +1 -0
- package/dist/ui/components/launch/QuickActions.d.ts +13 -0
- package/dist/ui/components/launch/QuickActions.d.ts.map +1 -0
- package/dist/ui/components/launch/QuickActions.js +6 -0
- package/dist/ui/components/launch/QuickActions.js.map +1 -0
- package/dist/ui/components/launch/RecentSessions.d.ts +19 -0
- package/dist/ui/components/launch/RecentSessions.d.ts.map +1 -0
- package/dist/ui/components/launch/RecentSessions.js +23 -0
- package/dist/ui/components/launch/RecentSessions.js.map +1 -0
- package/dist/ui/components/launch/VersionBanner.d.ts +17 -0
- package/dist/ui/components/launch/VersionBanner.d.ts.map +1 -0
- package/dist/ui/components/launch/VersionBanner.js +71 -0
- package/dist/ui/components/launch/VersionBanner.js.map +1 -0
- package/dist/ui/components/launch/index.d.ts +5 -0
- package/dist/ui/components/launch/index.d.ts.map +1 -0
- package/dist/ui/components/launch/index.js +5 -0
- package/dist/ui/components/launch/index.js.map +1 -0
- package/dist/ui/components/layout/ActivePromptInfo.d.ts +2 -0
- package/dist/ui/components/layout/ActivePromptInfo.d.ts.map +1 -0
- package/dist/ui/components/layout/ActivePromptInfo.js +37 -0
- package/dist/ui/components/layout/ActivePromptInfo.js.map +1 -0
- package/dist/ui/components/layout/ChatInputArea.d.ts +15 -0
- package/dist/ui/components/layout/ChatInputArea.d.ts.map +1 -0
- package/dist/ui/components/layout/ChatInputArea.js +239 -0
- package/dist/ui/components/layout/ChatInputArea.js.map +1 -0
- package/dist/ui/components/layout/Clock.d.ts +6 -0
- package/dist/ui/components/layout/Clock.d.ts.map +1 -0
- package/dist/ui/components/layout/Clock.js +23 -0
- package/dist/ui/components/layout/Clock.js.map +1 -0
- package/dist/ui/components/layout/ContextSection.d.ts +2 -0
- package/dist/ui/components/layout/ContextSection.d.ts.map +1 -0
- package/dist/ui/components/layout/ContextSection.js +38 -0
- package/dist/ui/components/layout/ContextSection.js.map +1 -0
- package/dist/ui/components/layout/DotIndicator.d.ts +13 -0
- package/dist/ui/components/layout/DotIndicator.d.ts.map +1 -0
- package/dist/ui/components/layout/DotIndicator.js +15 -0
- package/dist/ui/components/layout/DotIndicator.js.map +1 -0
- package/dist/ui/components/layout/HeaderBar.d.ts +21 -0
- package/dist/ui/components/layout/HeaderBar.d.ts.map +1 -0
- package/dist/ui/components/layout/HeaderBar.js +19 -0
- package/dist/ui/components/layout/HeaderBar.js.map +1 -0
- package/dist/ui/components/layout/InputBox.d.ts +22 -0
- package/dist/ui/components/layout/InputBox.d.ts.map +1 -0
- package/dist/ui/components/layout/InputBox.js +147 -0
- package/dist/ui/components/layout/InputBox.js.map +1 -0
- package/dist/ui/components/layout/KeybindsLegend.d.ts +10 -0
- package/dist/ui/components/layout/KeybindsLegend.d.ts.map +1 -0
- package/dist/ui/components/layout/KeybindsLegend.js +9 -0
- package/dist/ui/components/layout/KeybindsLegend.js.map +1 -0
- package/dist/ui/components/layout/ModeConfidenceDisplay.d.ts +19 -0
- package/dist/ui/components/layout/ModeConfidenceDisplay.d.ts.map +1 -0
- package/dist/ui/components/layout/ModeConfidenceDisplay.js +38 -0
- package/dist/ui/components/layout/ModeConfidenceDisplay.js.map +1 -0
- package/dist/ui/components/layout/SidePanel.d.ts +9 -0
- package/dist/ui/components/layout/SidePanel.d.ts.map +1 -0
- package/dist/ui/components/layout/SidePanel.js +59 -0
- package/dist/ui/components/layout/SidePanel.js.map +1 -0
- package/dist/ui/components/layout/StaticInputArea.d.ts +13 -0
- package/dist/ui/components/layout/StaticInputArea.d.ts.map +1 -0
- package/dist/ui/components/layout/StaticInputArea.js +21 -0
- package/dist/ui/components/layout/StaticInputArea.js.map +1 -0
- package/dist/ui/components/layout/StatusBar.d.ts +16 -0
- package/dist/ui/components/layout/StatusBar.d.ts.map +1 -0
- package/dist/ui/components/layout/StatusBar.js +13 -0
- package/dist/ui/components/layout/StatusBar.js.map +1 -0
- package/dist/ui/components/layout/SystemBar.d.ts +10 -0
- package/dist/ui/components/layout/SystemBar.d.ts.map +1 -0
- package/dist/ui/components/layout/SystemBar.js +75 -0
- package/dist/ui/components/layout/SystemBar.js.map +1 -0
- package/dist/ui/components/layout/TabBar.d.ts +19 -0
- package/dist/ui/components/layout/TabBar.d.ts.map +1 -0
- package/dist/ui/components/layout/TabBar.js +53 -0
- package/dist/ui/components/layout/TabBar.js.map +1 -0
- package/dist/ui/components/layout/TabContainer.d.ts +58 -0
- package/dist/ui/components/layout/TabContainer.d.ts.map +1 -0
- package/dist/ui/components/layout/TabContainer.js +19 -0
- package/dist/ui/components/layout/TabContainer.js.map +1 -0
- package/dist/ui/components/layout/TwoColumnLayout.d.ts +54 -0
- package/dist/ui/components/layout/TwoColumnLayout.d.ts.map +1 -0
- package/dist/ui/components/layout/TwoColumnLayout.js +22 -0
- package/dist/ui/components/layout/TwoColumnLayout.js.map +1 -0
- package/dist/ui/components/layout/WorkspacePanel.d.ts +17 -0
- package/dist/ui/components/layout/WorkspacePanel.d.ts.map +1 -0
- package/dist/ui/components/layout/WorkspacePanel.js +264 -0
- package/dist/ui/components/layout/WorkspacePanel.js.map +1 -0
- package/dist/ui/components/layout/__tests__/InputBox.example.d.ts +18 -0
- package/dist/ui/components/layout/__tests__/InputBox.example.d.ts.map +1 -0
- package/dist/ui/components/layout/__tests__/InputBox.example.js +40 -0
- package/dist/ui/components/layout/__tests__/InputBox.example.js.map +1 -0
- package/dist/ui/components/layout/index.d.ts +10 -0
- package/dist/ui/components/layout/index.d.ts.map +1 -0
- package/dist/ui/components/layout/index.js +10 -0
- package/dist/ui/components/layout/index.js.map +1 -0
- package/dist/ui/components/mcp/ErrorDisplay.d.ts +32 -0
- package/dist/ui/components/mcp/ErrorDisplay.d.ts.map +1 -0
- package/dist/ui/components/mcp/ErrorDisplay.js +27 -0
- package/dist/ui/components/mcp/ErrorDisplay.js.map +1 -0
- package/dist/ui/components/mcp/FadeTransition.d.ts +75 -0
- package/dist/ui/components/mcp/FadeTransition.d.ts.map +1 -0
- package/dist/ui/components/mcp/FadeTransition.js +132 -0
- package/dist/ui/components/mcp/FadeTransition.js.map +1 -0
- package/dist/ui/components/mcp/HealthIndicator.d.ts +21 -0
- package/dist/ui/components/mcp/HealthIndicator.d.ts.map +1 -0
- package/dist/ui/components/mcp/HealthIndicator.js +75 -0
- package/dist/ui/components/mcp/HealthIndicator.js.map +1 -0
- package/dist/ui/components/mcp/InstalledServersSection.d.ts +33 -0
- package/dist/ui/components/mcp/InstalledServersSection.d.ts.map +1 -0
- package/dist/ui/components/mcp/InstalledServersSection.js +16 -0
- package/dist/ui/components/mcp/InstalledServersSection.js.map +1 -0
- package/dist/ui/components/mcp/LoadingSpinner.d.ts +29 -0
- package/dist/ui/components/mcp/LoadingSpinner.d.ts.map +1 -0
- package/dist/ui/components/mcp/LoadingSpinner.js +17 -0
- package/dist/ui/components/mcp/LoadingSpinner.js.map +1 -0
- package/dist/ui/components/mcp/MCPActions.d.ts +31 -0
- package/dist/ui/components/mcp/MCPActions.d.ts.map +1 -0
- package/dist/ui/components/mcp/MCPActions.js +25 -0
- package/dist/ui/components/mcp/MCPActions.js.map +1 -0
- package/dist/ui/components/mcp/MarketplacePreview.d.ts +25 -0
- package/dist/ui/components/mcp/MarketplacePreview.d.ts.map +1 -0
- package/dist/ui/components/mcp/MarketplacePreview.js +45 -0
- package/dist/ui/components/mcp/MarketplacePreview.js.map +1 -0
- package/dist/ui/components/mcp/Notification.d.ts +79 -0
- package/dist/ui/components/mcp/Notification.d.ts.map +1 -0
- package/dist/ui/components/mcp/Notification.js +145 -0
- package/dist/ui/components/mcp/Notification.js.map +1 -0
- package/dist/ui/components/mcp/OperationProgress.d.ts +20 -0
- package/dist/ui/components/mcp/OperationProgress.d.ts.map +1 -0
- package/dist/ui/components/mcp/OperationProgress.js +16 -0
- package/dist/ui/components/mcp/OperationProgress.js.map +1 -0
- package/dist/ui/components/mcp/ProgressIndicator.d.ts +34 -0
- package/dist/ui/components/mcp/ProgressIndicator.d.ts.map +1 -0
- package/dist/ui/components/mcp/ProgressIndicator.js +75 -0
- package/dist/ui/components/mcp/ProgressIndicator.js.map +1 -0
- package/dist/ui/components/mcp/ServerDetails.d.ts +44 -0
- package/dist/ui/components/mcp/ServerDetails.d.ts.map +1 -0
- package/dist/ui/components/mcp/ServerDetails.js +96 -0
- package/dist/ui/components/mcp/ServerDetails.js.map +1 -0
- package/dist/ui/components/mcp/ServerItem.d.ts +33 -0
- package/dist/ui/components/mcp/ServerItem.d.ts.map +1 -0
- package/dist/ui/components/mcp/ServerItem.js +55 -0
- package/dist/ui/components/mcp/ServerItem.js.map +1 -0
- package/dist/ui/components/mcp/ServerListItem.d.ts +38 -0
- package/dist/ui/components/mcp/ServerListItem.d.ts.map +1 -0
- package/dist/ui/components/mcp/ServerListItem.js +60 -0
- package/dist/ui/components/mcp/ServerListItem.js.map +1 -0
- package/dist/ui/components/mcp/ServerSkeleton.d.ts +20 -0
- package/dist/ui/components/mcp/ServerSkeleton.d.ts.map +1 -0
- package/dist/ui/components/mcp/ServerSkeleton.js +18 -0
- package/dist/ui/components/mcp/ServerSkeleton.js.map +1 -0
- package/dist/ui/components/mcp/ServerStatusBanner.d.ts +21 -0
- package/dist/ui/components/mcp/ServerStatusBanner.d.ts.map +1 -0
- package/dist/ui/components/mcp/ServerStatusBanner.js +61 -0
- package/dist/ui/components/mcp/ServerStatusBanner.js.map +1 -0
- package/dist/ui/components/mcp/SystemMessages.d.ts +35 -0
- package/dist/ui/components/mcp/SystemMessages.d.ts.map +1 -0
- package/dist/ui/components/mcp/SystemMessages.js +44 -0
- package/dist/ui/components/mcp/SystemMessages.js.map +1 -0
- package/dist/ui/components/mcp/index.d.ts +34 -0
- package/dist/ui/components/mcp/index.d.ts.map +1 -0
- package/dist/ui/components/mcp/index.js +24 -0
- package/dist/ui/components/mcp/index.js.map +1 -0
- package/dist/ui/components/model/ModelLoadingIndicator.d.ts +6 -0
- package/dist/ui/components/model/ModelLoadingIndicator.d.ts.map +1 -0
- package/dist/ui/components/model/ModelLoadingIndicator.js +14 -0
- package/dist/ui/components/model/ModelLoadingIndicator.js.map +1 -0
- package/dist/ui/components/settings/ModelPicker.d.ts +24 -0
- package/dist/ui/components/settings/ModelPicker.d.ts.map +1 -0
- package/dist/ui/components/settings/ModelPicker.js +15 -0
- package/dist/ui/components/settings/ModelPicker.js.map +1 -0
- package/dist/ui/components/settings/OptionsPanel.d.ts +24 -0
- package/dist/ui/components/settings/OptionsPanel.d.ts.map +1 -0
- package/dist/ui/components/settings/OptionsPanel.js +12 -0
- package/dist/ui/components/settings/OptionsPanel.js.map +1 -0
- package/dist/ui/components/settings/ProviderSelector.d.ts +24 -0
- package/dist/ui/components/settings/ProviderSelector.d.ts.map +1 -0
- package/dist/ui/components/settings/ProviderSelector.js +35 -0
- package/dist/ui/components/settings/ProviderSelector.js.map +1 -0
- package/dist/ui/components/settings/SessionInfo.d.ts +25 -0
- package/dist/ui/components/settings/SessionInfo.d.ts.map +1 -0
- package/dist/ui/components/settings/SessionInfo.js +29 -0
- package/dist/ui/components/settings/SessionInfo.js.map +1 -0
- package/dist/ui/components/settings/SettingsPanel.d.ts +19 -0
- package/dist/ui/components/settings/SettingsPanel.d.ts.map +1 -0
- package/dist/ui/components/settings/SettingsPanel.js +864 -0
- package/dist/ui/components/settings/SettingsPanel.js.map +1 -0
- package/dist/ui/components/settings/ThemePicker.d.ts +19 -0
- package/dist/ui/components/settings/ThemePicker.d.ts.map +1 -0
- package/dist/ui/components/settings/ThemePicker.js +15 -0
- package/dist/ui/components/settings/ThemePicker.js.map +1 -0
- package/dist/ui/components/settings/index.d.ts +6 -0
- package/dist/ui/components/settings/index.d.ts.map +1 -0
- package/dist/ui/components/settings/index.js +6 -0
- package/dist/ui/components/settings/index.js.map +1 -0
- package/dist/ui/components/status/MCPStatus.d.ts +33 -0
- package/dist/ui/components/status/MCPStatus.d.ts.map +1 -0
- package/dist/ui/components/status/MCPStatus.js +52 -0
- package/dist/ui/components/status/MCPStatus.js.map +1 -0
- package/dist/ui/components/status/WorkflowStatus.d.ts +33 -0
- package/dist/ui/components/status/WorkflowStatus.d.ts.map +1 -0
- package/dist/ui/components/status/WorkflowStatus.js +40 -0
- package/dist/ui/components/status/WorkflowStatus.js.map +1 -0
- package/dist/ui/components/tabs/BugReportTab.d.ts +11 -0
- package/dist/ui/components/tabs/BugReportTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/BugReportTab.js +104 -0
- package/dist/ui/components/tabs/BugReportTab.js.map +1 -0
- package/dist/ui/components/tabs/ChatTab.d.ts +55 -0
- package/dist/ui/components/tabs/ChatTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/ChatTab.js +177 -0
- package/dist/ui/components/tabs/ChatTab.js.map +1 -0
- package/dist/ui/components/tabs/DocsTab.d.ts +16 -0
- package/dist/ui/components/tabs/DocsTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/DocsTab.js +6 -0
- package/dist/ui/components/tabs/DocsTab.js.map +1 -0
- package/dist/ui/components/tabs/FileViewerTab.d.ts +27 -0
- package/dist/ui/components/tabs/FileViewerTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/FileViewerTab.js +51 -0
- package/dist/ui/components/tabs/FileViewerTab.js.map +1 -0
- package/dist/ui/components/tabs/FilesTab.d.ts +21 -0
- package/dist/ui/components/tabs/FilesTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/FilesTab.js +47 -0
- package/dist/ui/components/tabs/FilesTab.js.map +1 -0
- package/dist/ui/components/tabs/FilesTabWrapper.d.ts +12 -0
- package/dist/ui/components/tabs/FilesTabWrapper.d.ts.map +1 -0
- package/dist/ui/components/tabs/FilesTabWrapper.js +27 -0
- package/dist/ui/components/tabs/FilesTabWrapper.js.map +1 -0
- package/dist/ui/components/tabs/GitHubTab.d.ts +18 -0
- package/dist/ui/components/tabs/GitHubTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/GitHubTab.js +38 -0
- package/dist/ui/components/tabs/GitHubTab.js.map +1 -0
- package/dist/ui/components/tabs/HooksTab.d.ts +21 -0
- package/dist/ui/components/tabs/HooksTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/HooksTab.js +350 -0
- package/dist/ui/components/tabs/HooksTab.js.map +1 -0
- package/dist/ui/components/tabs/MCPTab.d.ts +24 -0
- package/dist/ui/components/tabs/MCPTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/MCPTab.js +1101 -0
- package/dist/ui/components/tabs/MCPTab.js.map +1 -0
- package/dist/ui/components/tabs/SearchTab.d.ts +18 -0
- package/dist/ui/components/tabs/SearchTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/SearchTab.js +56 -0
- package/dist/ui/components/tabs/SearchTab.js.map +1 -0
- package/dist/ui/components/tabs/SettingsTab.d.ts +14 -0
- package/dist/ui/components/tabs/SettingsTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/SettingsTab.js +6 -0
- package/dist/ui/components/tabs/SettingsTab.js.map +1 -0
- package/dist/ui/components/tabs/ToolsTab.d.ts +14 -0
- package/dist/ui/components/tabs/ToolsTab.d.ts.map +1 -0
- package/dist/ui/components/tabs/ToolsTab.js +10 -0
- package/dist/ui/components/tabs/ToolsTab.js.map +1 -0
- package/dist/ui/components/tabs/index.d.ts +9 -0
- package/dist/ui/components/tabs/index.d.ts.map +1 -0
- package/dist/ui/components/tabs/index.js +9 -0
- package/dist/ui/components/tabs/index.js.map +1 -0
- package/dist/ui/components/tools/CategorySection.d.ts +22 -0
- package/dist/ui/components/tools/CategorySection.d.ts.map +1 -0
- package/dist/ui/components/tools/CategorySection.js +29 -0
- package/dist/ui/components/tools/CategorySection.js.map +1 -0
- package/dist/ui/components/tools/DiffViewer.d.ts +20 -0
- package/dist/ui/components/tools/DiffViewer.d.ts.map +1 -0
- package/dist/ui/components/tools/DiffViewer.js +33 -0
- package/dist/ui/components/tools/DiffViewer.js.map +1 -0
- package/dist/ui/components/tools/ReviewActions.d.ts +21 -0
- package/dist/ui/components/tools/ReviewActions.d.ts.map +1 -0
- package/dist/ui/components/tools/ReviewActions.js +12 -0
- package/dist/ui/components/tools/ReviewActions.js.map +1 -0
- package/dist/ui/components/tools/ToolItem.d.ts +19 -0
- package/dist/ui/components/tools/ToolItem.d.ts.map +1 -0
- package/dist/ui/components/tools/ToolItem.js +15 -0
- package/dist/ui/components/tools/ToolItem.js.map +1 -0
- package/dist/ui/components/tools/ToolModeSettings.d.ts +29 -0
- package/dist/ui/components/tools/ToolModeSettings.d.ts.map +1 -0
- package/dist/ui/components/tools/ToolModeSettings.js +57 -0
- package/dist/ui/components/tools/ToolModeSettings.js.map +1 -0
- package/dist/ui/components/tools/ToolToggle.d.ts +16 -0
- package/dist/ui/components/tools/ToolToggle.d.ts.map +1 -0
- package/dist/ui/components/tools/ToolToggle.js +22 -0
- package/dist/ui/components/tools/ToolToggle.js.map +1 -0
- package/dist/ui/components/tools/ToolsPanel.d.ts +24 -0
- package/dist/ui/components/tools/ToolsPanel.d.ts.map +1 -0
- package/dist/ui/components/tools/ToolsPanel.js +279 -0
- package/dist/ui/components/tools/ToolsPanel.js.map +1 -0
- package/dist/ui/components/tools/index.d.ts +7 -0
- package/dist/ui/components/tools/index.d.ts.map +1 -0
- package/dist/ui/components/tools/index.js +7 -0
- package/dist/ui/components/tools/index.js.map +1 -0
- package/dist/ui/contexts/DialogContext.d.ts +92 -0
- package/dist/ui/contexts/DialogContext.d.ts.map +1 -0
- package/dist/ui/contexts/DialogContext.js +151 -0
- package/dist/ui/contexts/DialogContext.js.map +1 -0
- package/dist/ui/contexts/HooksContext.d.ts +77 -0
- package/dist/ui/contexts/HooksContext.d.ts.map +1 -0
- package/dist/ui/contexts/HooksContext.js +261 -0
- package/dist/ui/contexts/HooksContext.js.map +1 -0
- package/dist/ui/contexts/InputRoutingContext.d.ts +15 -0
- package/dist/ui/contexts/InputRoutingContext.d.ts.map +1 -0
- package/dist/ui/contexts/InputRoutingContext.js +36 -0
- package/dist/ui/contexts/InputRoutingContext.js.map +1 -0
- package/dist/ui/contexts/MCPContext.d.ts +161 -0
- package/dist/ui/contexts/MCPContext.d.ts.map +1 -0
- package/dist/ui/contexts/MCPContext.js +904 -0
- package/dist/ui/contexts/MCPContext.js.map +1 -0
- package/dist/ui/contexts/Terminal2Context.d.ts +22 -0
- package/dist/ui/contexts/Terminal2Context.d.ts.map +1 -0
- package/dist/ui/contexts/Terminal2Context.js +154 -0
- package/dist/ui/contexts/Terminal2Context.js.map +1 -0
- package/dist/ui/contexts/TerminalContext.d.ts +22 -0
- package/dist/ui/contexts/TerminalContext.d.ts.map +1 -0
- package/dist/ui/contexts/TerminalContext.js +192 -0
- package/dist/ui/contexts/TerminalContext.js.map +1 -0
- package/dist/ui/contexts/ToolsContext.d.ts +87 -0
- package/dist/ui/contexts/ToolsContext.d.ts.map +1 -0
- package/dist/ui/contexts/ToolsContext.js +301 -0
- package/dist/ui/contexts/ToolsContext.js.map +1 -0
- package/dist/ui/contexts/UICallbacksContext.d.ts +80 -0
- package/dist/ui/contexts/UICallbacksContext.d.ts.map +1 -0
- package/dist/ui/contexts/UICallbacksContext.js +85 -0
- package/dist/ui/contexts/UICallbacksContext.js.map +1 -0
- package/dist/ui/contexts/WindowContext.d.ts +100 -0
- package/dist/ui/contexts/WindowContext.d.ts.map +1 -0
- package/dist/ui/contexts/WindowContext.js +111 -0
- package/dist/ui/contexts/WindowContext.js.map +1 -0
- package/dist/ui/contexts/__tests__/mcpTestUtils.d.ts +65 -0
- package/dist/ui/contexts/__tests__/mcpTestUtils.d.ts.map +1 -0
- package/dist/ui/contexts/__tests__/mcpTestUtils.js +180 -0
- package/dist/ui/contexts/__tests__/mcpTestUtils.js.map +1 -0
- package/dist/ui/hooks/index.d.ts +9 -0
- package/dist/ui/hooks/index.d.ts.map +1 -0
- package/dist/ui/hooks/index.js +9 -0
- package/dist/ui/hooks/index.js.map +1 -0
- package/dist/ui/hooks/useFocusedBorder.d.ts +19 -0
- package/dist/ui/hooks/useFocusedBorder.d.ts.map +1 -0
- package/dist/ui/hooks/useFocusedBorder.js +26 -0
- package/dist/ui/hooks/useFocusedBorder.js.map +1 -0
- package/dist/ui/hooks/useGlobalKeyboardShortcuts.d.ts +43 -0
- package/dist/ui/hooks/useGlobalKeyboardShortcuts.d.ts.map +1 -0
- package/dist/ui/hooks/useGlobalKeyboardShortcuts.js +196 -0
- package/dist/ui/hooks/useGlobalKeyboardShortcuts.js.map +1 -0
- package/dist/ui/hooks/useKeyboardShortcuts.d.ts +22 -0
- package/dist/ui/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/ui/hooks/useKeyboardShortcuts.js +56 -0
- package/dist/ui/hooks/useKeyboardShortcuts.js.map +1 -0
- package/dist/ui/hooks/useMCPNavigation.d.ts +79 -0
- package/dist/ui/hooks/useMCPNavigation.d.ts.map +1 -0
- package/dist/ui/hooks/useMCPNavigation.js +228 -0
- package/dist/ui/hooks/useMCPNavigation.js.map +1 -0
- package/dist/ui/hooks/useMouse.d.ts +19 -0
- package/dist/ui/hooks/useMouse.d.ts.map +1 -0
- package/dist/ui/hooks/useMouse.js +115 -0
- package/dist/ui/hooks/useMouse.js.map +1 -0
- package/dist/ui/hooks/useNotifications.d.ts +43 -0
- package/dist/ui/hooks/useNotifications.d.ts.map +1 -0
- package/dist/ui/hooks/useNotifications.js +92 -0
- package/dist/ui/hooks/useNotifications.js.map +1 -0
- package/dist/ui/hooks/useTabEscapeHandler.d.ts +42 -0
- package/dist/ui/hooks/useTabEscapeHandler.d.ts.map +1 -0
- package/dist/ui/hooks/useTabEscapeHandler.js +56 -0
- package/dist/ui/hooks/useTabEscapeHandler.js.map +1 -0
- package/dist/ui/hooks/useTerminal.d.ts +7 -0
- package/dist/ui/hooks/useTerminal.d.ts.map +1 -0
- package/dist/ui/hooks/useTerminal.js +7 -0
- package/dist/ui/hooks/useTerminal.js.map +1 -0
- package/dist/ui/hooks/useTerminal2.d.ts +7 -0
- package/dist/ui/hooks/useTerminal2.d.ts.map +1 -0
- package/dist/ui/hooks/useTerminal2.js +7 -0
- package/dist/ui/hooks/useTerminal2.js.map +1 -0
- package/dist/ui/services/docsService.d.ts +44 -0
- package/dist/ui/services/docsService.d.ts.map +1 -0
- package/dist/ui/services/docsService.js +103 -0
- package/dist/ui/services/docsService.js.map +1 -0
- package/dist/ui/services/index.d.ts +7 -0
- package/dist/ui/services/index.d.ts.map +1 -0
- package/dist/ui/services/index.js +7 -0
- package/dist/ui/services/index.js.map +1 -0
- package/dist/ui/services/keyboardHandler.d.ts +71 -0
- package/dist/ui/services/keyboardHandler.d.ts.map +1 -0
- package/dist/ui/services/keyboardHandler.js +166 -0
- package/dist/ui/services/keyboardHandler.js.map +1 -0
- package/dist/ui/services/themeManager.d.ts +65 -0
- package/dist/ui/services/themeManager.d.ts.map +1 -0
- package/dist/ui/services/themeManager.js +158 -0
- package/dist/ui/services/themeManager.js.map +1 -0
- package/dist/ui/test-utils/TestProviders.d.ts +6 -0
- package/dist/ui/test-utils/TestProviders.d.ts.map +1 -0
- package/dist/ui/test-utils/TestProviders.js +54 -0
- package/dist/ui/test-utils/TestProviders.js.map +1 -0
- package/dist/ui/utils/errorHandling.d.ts +65 -0
- package/dist/ui/utils/errorHandling.d.ts.map +1 -0
- package/dist/ui/utils/errorHandling.js +242 -0
- package/dist/ui/utils/errorHandling.js.map +1 -0
- package/dist/ui/utils/errorLogger.d.ts +41 -0
- package/dist/ui/utils/errorLogger.d.ts.map +1 -0
- package/dist/ui/utils/errorLogger.js +126 -0
- package/dist/ui/utils/errorLogger.js.map +1 -0
- package/dist/ui/utils/keyUtils.d.ts +16 -0
- package/dist/ui/utils/keyUtils.d.ts.map +1 -0
- package/dist/ui/utils/keyUtils.js +70 -0
- package/dist/ui/utils/keyUtils.js.map +1 -0
- package/dist/ui/utils/performanceProfiler.d.ts +83 -0
- package/dist/ui/utils/performanceProfiler.d.ts.map +1 -0
- package/dist/ui/utils/performanceProfiler.js +160 -0
- package/dist/ui/utils/performanceProfiler.js.map +1 -0
- package/dist/ui/utils/terminalSerializer.d.ts +38 -0
- package/dist/ui/utils/terminalSerializer.d.ts.map +1 -0
- package/dist/ui/utils/terminalSerializer.js +451 -0
- package/dist/ui/utils/terminalSerializer.js.map +1 -0
- package/dist/ui/utils/windowDisplayLabels.d.ts +13 -0
- package/dist/ui/utils/windowDisplayLabels.d.ts.map +1 -0
- package/dist/ui/utils/windowDisplayLabels.js +29 -0
- package/dist/ui/utils/windowDisplayLabels.js.map +1 -0
- package/dist/utils/events.d.ts +24 -0
- package/dist/utils/events.d.ts.map +1 -0
- package/dist/utils/events.js +19 -0
- package/dist/utils/events.js.map +1 -0
- package/dist/utils/stdio.d.ts +29 -0
- package/dist/utils/stdio.d.ts.map +1 -0
- package/dist/utils/stdio.js +200 -0
- package/dist/utils/stdio.js.map +1 -0
- package/dist/utils/terminal.d.ts +16 -0
- package/dist/utils/terminal.d.ts.map +1 -0
- package/dist/utils/terminal.js +51 -0
- package/dist/utils/terminal.js.map +1 -0
- package/docs/Context/CheckpointFlowDiagram.md +673 -0
- package/docs/Context/ContextArchitecture.md +898 -0
- package/docs/Context/ContextCompression.md +1102 -0
- package/docs/Context/ContextManagment.md +750 -0
- package/docs/Context/Index.md +209 -0
- package/docs/Context/README.md +390 -0
- package/docs/DevelopmentRoadmap/Index.md +238 -0
- package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +419 -0
- package/docs/DevelopmentRoadmap/PlanedFeatures.md +448 -0
- package/docs/DevelopmentRoadmap/README.md +174 -0
- package/docs/DevelopmentRoadmap/Roadmap.md +572 -0
- package/docs/DevelopmentRoadmap/RoadmapVisual.md +372 -0
- package/docs/Hooks/Architecture.md +885 -0
- package/docs/Hooks/Index.md +244 -0
- package/docs/Hooks/KeyboardShortcuts.md +248 -0
- package/docs/Hooks/Protocol.md +817 -0
- package/docs/Hooks/README.md +403 -0
- package/docs/Hooks/UserGuide.md +1483 -0
- package/docs/Hooks/VisualGuide.md +598 -0
- package/docs/Index.md +506 -0
- package/docs/Installation.md +586 -0
- package/docs/Introduction.md +367 -0
- package/docs/LLM Models/Index.md +239 -0
- package/docs/LLM Models/LLM_GettingStarted.md +748 -0
- package/docs/LLM Models/LLM_Index.md +701 -0
- package/docs/LLM Models/LLM_MemorySystem.md +337 -0
- package/docs/LLM Models/LLM_ModelCompatibility.md +499 -0
- package/docs/LLM Models/LLM_ModelsArchitecture.md +933 -0
- package/docs/LLM Models/LLM_ModelsCommands.md +839 -0
- package/docs/LLM Models/LLM_ModelsConfiguration.md +1094 -0
- package/docs/LLM Models/LLM_ModelsList.md +1071 -0
- package/docs/LLM Models/LLM_ModelsList.md.backup +400 -0
- package/docs/LLM Models/README.md +355 -0
- package/docs/MCP/MCP_Architecture.md +1086 -0
- package/docs/MCP/MCP_Commands.md +1111 -0
- package/docs/MCP/MCP_GettingStarted.md +590 -0
- package/docs/MCP/MCP_Index.md +524 -0
- package/docs/MCP/MCP_Integration.md +866 -0
- package/docs/MCP/MCP_Marketplace.md +160 -0
- package/docs/MCP/README.md +415 -0
- package/docs/Prompts System/Architecture.md +760 -0
- package/docs/Prompts System/Index.md +223 -0
- package/docs/Prompts System/PromptsRouting.md +1047 -0
- package/docs/Prompts System/PromptsTemplates.md +1102 -0
- package/docs/Prompts System/README.md +389 -0
- package/docs/Prompts System/SystemPrompts.md +856 -0
- package/docs/Quickstart.md +535 -0
- package/docs/README.md +410 -0
- package/docs/Tools/Architecture.md +884 -0
- package/docs/Tools/GettingStarted.md +624 -0
- package/docs/Tools/Index.md +216 -0
- package/docs/Tools/ManifestReference.md +141 -0
- package/docs/Tools/README.md +440 -0
- package/docs/Tools/UserGuide.md +773 -0
- package/docs/Troubleshooting.md +1265 -0
- package/docs/UI&Settings/Architecture.md +729 -0
- package/docs/UI&Settings/ColorASCII.md +34 -0
- package/docs/UI&Settings/Commands.md +755 -0
- package/docs/UI&Settings/Configuration.md +872 -0
- package/docs/UI&Settings/Index.md +293 -0
- package/docs/UI&Settings/Keybinds.md +372 -0
- package/docs/UI&Settings/README.md +278 -0
- package/docs/UI&Settings/Terminal.md +637 -0
- package/docs/UI&Settings/Themes.md +604 -0
- package/docs/UI&Settings/UIGuide.md +550 -0
- package/package.json +82 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Box, Text } from 'ink';
|
|
3
|
+
import { useFileFocus } from './FileFocusContext.js';
|
|
4
|
+
/**
|
|
5
|
+
* Format bytes to human-readable size
|
|
6
|
+
*
|
|
7
|
+
* Converts byte count to KB, MB, etc. with appropriate precision.
|
|
8
|
+
*
|
|
9
|
+
* @param bytes - Number of bytes
|
|
10
|
+
* @returns Formatted string (e.g., "1.5 KB", "2.3 MB")
|
|
11
|
+
*/
|
|
12
|
+
function formatBytes(bytes) {
|
|
13
|
+
if (bytes === 0)
|
|
14
|
+
return '0 B';
|
|
15
|
+
const k = 1024;
|
|
16
|
+
const sizes = ['B', 'KB', 'MB', 'GB'];
|
|
17
|
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
18
|
+
const value = bytes / Math.pow(k, i);
|
|
19
|
+
// Show 1 decimal place for values >= 1KB
|
|
20
|
+
const formatted = i > 0 ? value.toFixed(1) : value.toString();
|
|
21
|
+
return `${formatted} ${sizes[i]}`;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Get relative path for display
|
|
25
|
+
*
|
|
26
|
+
* Shortens absolute paths by showing only the last few segments
|
|
27
|
+
* to make the display more compact.
|
|
28
|
+
*
|
|
29
|
+
* @param absolutePath - Full absolute path
|
|
30
|
+
* @param maxSegments - Maximum number of path segments to show
|
|
31
|
+
* @returns Shortened path with ellipsis if truncated
|
|
32
|
+
*/
|
|
33
|
+
function getDisplayPath(absolutePath, maxSegments = 3) {
|
|
34
|
+
const segments = absolutePath.split(/[/\\]/);
|
|
35
|
+
if (segments.length <= maxSegments) {
|
|
36
|
+
return absolutePath;
|
|
37
|
+
}
|
|
38
|
+
// Show last N segments with ellipsis
|
|
39
|
+
const displaySegments = segments.slice(-maxSegments);
|
|
40
|
+
return `.../${displaySegments.join('/')}`;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* FocusedFilesPanel component
|
|
44
|
+
*
|
|
45
|
+
* Renders a panel showing all focused files with their metadata:
|
|
46
|
+
* - File paths (with focus indicator 📌)
|
|
47
|
+
* - File sizes
|
|
48
|
+
* - Truncation warnings for files exceeding 8KB
|
|
49
|
+
* - Total focused content size
|
|
50
|
+
*
|
|
51
|
+
* The panel is designed to be compact and informative, providing
|
|
52
|
+
* users with visibility into what content is being injected into
|
|
53
|
+
* the LLM context.
|
|
54
|
+
*/
|
|
55
|
+
export function FocusedFilesPanel({ title = 'Focused Files', showDetails = true, }) {
|
|
56
|
+
const { getAllFocusedFiles, state } = useFileFocus();
|
|
57
|
+
const focusedFiles = getAllFocusedFiles();
|
|
58
|
+
// If no focused files, show empty state
|
|
59
|
+
if (focusedFiles.length === 0) {
|
|
60
|
+
return (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "gray", paddingX: 1, children: [_jsx(Text, { bold: true, color: "cyan", children: title }), _jsx(Text, { dimColor: true, children: "No files focused" }), _jsx(Text, { dimColor: true, children: "Press 'f' on a file to focus it" })] }));
|
|
61
|
+
}
|
|
62
|
+
return (_jsxs(Box, { flexDirection: "column", borderStyle: "round", borderColor: "cyan", paddingX: 1, children: [_jsxs(Box, { flexDirection: "row", justifyContent: "space-between", children: [_jsx(Text, { bold: true, color: "cyan", children: title }), _jsxs(Text, { dimColor: true, children: ["(", focusedFiles.length, " file", focusedFiles.length !== 1 ? 's' : '', ")"] })] }), _jsx(Box, { flexDirection: "column", marginTop: 1, children: focusedFiles.map((file, index) => (_jsxs(Box, { flexDirection: "column", marginBottom: index < focusedFiles.length - 1 ? 1 : 0, children: [_jsxs(Box, { flexDirection: "row", children: [_jsx(Text, { children: "\uD83D\uDCCC " }), _jsx(Text, { color: "green", children: getDisplayPath(file.path) })] }), showDetails && (_jsxs(Box, { flexDirection: "column", marginLeft: 3, children: [_jsxs(Text, { dimColor: true, children: ["Size: ", formatBytes(file.size)] }), file.truncated && (_jsxs(Text, { color: "yellow", children: ["\u26A0 Truncated at ", formatBytes(8192), " (content too large)"] }))] }))] }, file.path))) }), showDetails && (_jsxs(Box, { flexDirection: "row", marginTop: 1, borderTop: true, borderColor: "gray", children: [_jsx(Text, { dimColor: true, children: "Total content size: " }), _jsx(Text, { bold: true, children: formatBytes(state.totalSize) })] }))] }));
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=FocusedFilesPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FocusedFilesPanel.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FocusedFilesPanel.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAYrD;;;;;;;GAOG;AACH,SAAS,WAAW,CAAC,KAAa;IAChC,IAAI,KAAK,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAE9B,MAAM,CAAC,GAAG,IAAI,CAAC;IACf,MAAM,KAAK,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,MAAM,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAErC,yCAAyC;IACzC,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ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EAC1C,KAAC,IAAI,IAAC,IAAI,kBAAE,WAAW,CAAC,KAAK,CAAC,SAAS,CAAC,GAAQ,IAC5C,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FollowModeService
|
|
3
|
+
*
|
|
4
|
+
* Service for detecting LLM-referenced file paths in chat messages
|
|
5
|
+
* and automatically expanding the file tree to show those files.
|
|
6
|
+
*
|
|
7
|
+
* Requirements: 7.5 (Follow Mode automatic expansion)
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Options for detecting file paths
|
|
11
|
+
*/
|
|
12
|
+
export interface DetectFilePathsOptions {
|
|
13
|
+
/** Root path to resolve relative paths against */
|
|
14
|
+
rootPath?: string;
|
|
15
|
+
/** Only return paths that exist within this root */
|
|
16
|
+
filterByRoot?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Service for Follow Mode functionality
|
|
20
|
+
*/
|
|
21
|
+
export declare class FollowModeService {
|
|
22
|
+
/**
|
|
23
|
+
* Detect file paths referenced in text
|
|
24
|
+
*
|
|
25
|
+
* Scans text for file path patterns and returns a list of
|
|
26
|
+
* normalized absolute paths.
|
|
27
|
+
*
|
|
28
|
+
* @param text - Text to scan for file paths
|
|
29
|
+
* @param options - Detection options
|
|
30
|
+
* @returns Array of detected file paths
|
|
31
|
+
*/
|
|
32
|
+
detectFilePaths(text: string, options?: DetectFilePathsOptions): string[];
|
|
33
|
+
/**
|
|
34
|
+
* Extract file paths from LLM response
|
|
35
|
+
*
|
|
36
|
+
* Specialized method for extracting file paths from LLM responses,
|
|
37
|
+
* which may include code blocks, markdown formatting, etc.
|
|
38
|
+
*
|
|
39
|
+
* @param llmResponse - LLM response text
|
|
40
|
+
* @param options - Detection options
|
|
41
|
+
* @returns Array of detected file paths
|
|
42
|
+
*/
|
|
43
|
+
extractFromLLMResponse(llmResponse: string, options?: DetectFilePathsOptions): string[];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a path should trigger Follow Mode expansion
|
|
46
|
+
*
|
|
47
|
+
* Validates that a path is suitable for Follow Mode expansion.
|
|
48
|
+
*
|
|
49
|
+
* @param filePath - Path to validate
|
|
50
|
+
* @param rootPath - Root path to check against
|
|
51
|
+
* @returns True if the path should trigger expansion
|
|
52
|
+
*/
|
|
53
|
+
shouldExpandToPath(filePath: string, rootPath: string): boolean;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=FollowModeService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowModeService.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FollowModeService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAiGH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,iBAAiB;IAC5B;;;;;;;;;OASG;IACH,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,sBAA2B,GAAG,MAAM,EAAE;IAoD7E;;;;;;;;;OASG;IACH,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE,sBAA2B,GAAG,MAAM,EAAE;IAW3F;;;;;;;;OAQG;IACH,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;CAoBhE"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FollowModeService
|
|
3
|
+
*
|
|
4
|
+
* Service for detecting LLM-referenced file paths in chat messages
|
|
5
|
+
* and automatically expanding the file tree to show those files.
|
|
6
|
+
*
|
|
7
|
+
* Requirements: 7.5 (Follow Mode automatic expansion)
|
|
8
|
+
*/
|
|
9
|
+
import * as path from 'path';
|
|
10
|
+
/**
|
|
11
|
+
* Pattern to match file paths in text
|
|
12
|
+
*
|
|
13
|
+
* Matches:
|
|
14
|
+
* - Absolute paths: /path/to/file.ts, C:\path\to\file.ts
|
|
15
|
+
* - Relative paths: ./path/to/file.ts, ../path/to/file.ts, src/file.ts
|
|
16
|
+
* - Paths with spaces: /path/to/my file.ts
|
|
17
|
+
* - Common file extensions
|
|
18
|
+
*
|
|
19
|
+
* The pattern looks for:
|
|
20
|
+
* 1. Positive lookbehind for start of string or whitespace (including after punctuation)
|
|
21
|
+
* 2. Optional leading ./ or ../ or drive letter or absolute path
|
|
22
|
+
* 3. Path segments separated by / or \
|
|
23
|
+
* 4. File name with extension
|
|
24
|
+
* 5. Positive lookahead for whitespace, punctuation, or end of string
|
|
25
|
+
*/
|
|
26
|
+
const FILE_PATH_PATTERN = /(?<=^|\s)((\.\.?\/|[a-zA-Z]:[\\/]|\/)?[^\s:*?"<>|`]+\.[a-zA-Z0-9]+)(?=\s|,|;|:|\.(?=\s|$)|$)/g;
|
|
27
|
+
/**
|
|
28
|
+
* Common file extensions to validate detected paths
|
|
29
|
+
*/
|
|
30
|
+
const COMMON_EXTENSIONS = new Set([
|
|
31
|
+
// Programming languages
|
|
32
|
+
'ts',
|
|
33
|
+
'tsx',
|
|
34
|
+
'js',
|
|
35
|
+
'jsx',
|
|
36
|
+
'py',
|
|
37
|
+
'java',
|
|
38
|
+
'cpp',
|
|
39
|
+
'c',
|
|
40
|
+
'h',
|
|
41
|
+
'hpp',
|
|
42
|
+
'go',
|
|
43
|
+
'rs',
|
|
44
|
+
'rb',
|
|
45
|
+
'php',
|
|
46
|
+
'swift',
|
|
47
|
+
'kt',
|
|
48
|
+
'cs',
|
|
49
|
+
'scala',
|
|
50
|
+
'sh',
|
|
51
|
+
// Web
|
|
52
|
+
'html',
|
|
53
|
+
'css',
|
|
54
|
+
'scss',
|
|
55
|
+
'sass',
|
|
56
|
+
'less',
|
|
57
|
+
'vue',
|
|
58
|
+
'svelte',
|
|
59
|
+
// Config
|
|
60
|
+
'json',
|
|
61
|
+
'yaml',
|
|
62
|
+
'yml',
|
|
63
|
+
'toml',
|
|
64
|
+
'xml',
|
|
65
|
+
'ini',
|
|
66
|
+
'conf',
|
|
67
|
+
'config',
|
|
68
|
+
// Documentation
|
|
69
|
+
'md',
|
|
70
|
+
'markdown',
|
|
71
|
+
'txt',
|
|
72
|
+
'rst',
|
|
73
|
+
'adoc',
|
|
74
|
+
// Data
|
|
75
|
+
'csv',
|
|
76
|
+
'sql',
|
|
77
|
+
'graphql',
|
|
78
|
+
'proto',
|
|
79
|
+
// Images
|
|
80
|
+
'png',
|
|
81
|
+
'jpg',
|
|
82
|
+
'jpeg',
|
|
83
|
+
'gif',
|
|
84
|
+
'svg',
|
|
85
|
+
'webp',
|
|
86
|
+
'ico',
|
|
87
|
+
// Other
|
|
88
|
+
'lock',
|
|
89
|
+
'log',
|
|
90
|
+
'env',
|
|
91
|
+
'gitignore',
|
|
92
|
+
'dockerignore',
|
|
93
|
+
]);
|
|
94
|
+
/**
|
|
95
|
+
* Service for Follow Mode functionality
|
|
96
|
+
*/
|
|
97
|
+
export class FollowModeService {
|
|
98
|
+
/**
|
|
99
|
+
* Detect file paths referenced in text
|
|
100
|
+
*
|
|
101
|
+
* Scans text for file path patterns and returns a list of
|
|
102
|
+
* normalized absolute paths.
|
|
103
|
+
*
|
|
104
|
+
* @param text - Text to scan for file paths
|
|
105
|
+
* @param options - Detection options
|
|
106
|
+
* @returns Array of detected file paths
|
|
107
|
+
*/
|
|
108
|
+
detectFilePaths(text, options = {}) {
|
|
109
|
+
const { rootPath, filterByRoot = false } = options;
|
|
110
|
+
const detectedPaths = new Set();
|
|
111
|
+
// Reset regex state
|
|
112
|
+
FILE_PATH_PATTERN.lastIndex = 0;
|
|
113
|
+
let match;
|
|
114
|
+
while ((match = FILE_PATH_PATTERN.exec(text)) !== null) {
|
|
115
|
+
// Group 1 contains the full path (without leading/trailing whitespace)
|
|
116
|
+
const rawPath = match[1].trim();
|
|
117
|
+
// Validate the extension
|
|
118
|
+
const ext = path.extname(rawPath).substring(1).toLowerCase();
|
|
119
|
+
if (!COMMON_EXTENSIONS.has(ext)) {
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
// Normalize the path
|
|
123
|
+
let normalizedPath;
|
|
124
|
+
if (path.isAbsolute(rawPath)) {
|
|
125
|
+
normalizedPath = path.normalize(rawPath);
|
|
126
|
+
}
|
|
127
|
+
else if (rootPath) {
|
|
128
|
+
// Resolve relative paths against root
|
|
129
|
+
normalizedPath = path.normalize(path.resolve(rootPath, rawPath));
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
// Skip relative paths if no root is provided
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
// Filter by root if requested
|
|
136
|
+
if (filterByRoot && rootPath) {
|
|
137
|
+
// Normalize root path for comparison
|
|
138
|
+
const normalizedRoot = path.normalize(path.resolve(rootPath));
|
|
139
|
+
// Check if the normalized path starts with the normalized root
|
|
140
|
+
// Use case-insensitive comparison on Windows
|
|
141
|
+
const pathLower = normalizedPath.toLowerCase();
|
|
142
|
+
const rootLower = normalizedRoot.toLowerCase();
|
|
143
|
+
if (!pathLower.startsWith(rootLower)) {
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
detectedPaths.add(normalizedPath);
|
|
148
|
+
}
|
|
149
|
+
return Array.from(detectedPaths);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Extract file paths from LLM response
|
|
153
|
+
*
|
|
154
|
+
* Specialized method for extracting file paths from LLM responses,
|
|
155
|
+
* which may include code blocks, markdown formatting, etc.
|
|
156
|
+
*
|
|
157
|
+
* @param llmResponse - LLM response text
|
|
158
|
+
* @param options - Detection options
|
|
159
|
+
* @returns Array of detected file paths
|
|
160
|
+
*/
|
|
161
|
+
extractFromLLMResponse(llmResponse, options = {}) {
|
|
162
|
+
// Remove code blocks to avoid false positives
|
|
163
|
+
const withoutCodeBlocks = llmResponse.replace(/```[\s\S]*?```/g, ' ');
|
|
164
|
+
// Remove inline code to avoid false positives
|
|
165
|
+
// Use a more careful regex that doesn't remove surrounding text
|
|
166
|
+
const withoutInlineCode = withoutCodeBlocks.replace(/`[^`\n]+`/g, ' ');
|
|
167
|
+
return this.detectFilePaths(withoutInlineCode, options);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Check if a path should trigger Follow Mode expansion
|
|
171
|
+
*
|
|
172
|
+
* Validates that a path is suitable for Follow Mode expansion.
|
|
173
|
+
*
|
|
174
|
+
* @param filePath - Path to validate
|
|
175
|
+
* @param rootPath - Root path to check against
|
|
176
|
+
* @returns True if the path should trigger expansion
|
|
177
|
+
*/
|
|
178
|
+
shouldExpandToPath(filePath, rootPath) {
|
|
179
|
+
const normalizedPath = path.normalize(path.resolve(filePath));
|
|
180
|
+
const normalizedRoot = path.normalize(path.resolve(rootPath));
|
|
181
|
+
// Path must be within the root (case-insensitive on Windows)
|
|
182
|
+
const pathLower = normalizedPath.toLowerCase();
|
|
183
|
+
const rootLower = normalizedRoot.toLowerCase();
|
|
184
|
+
if (!pathLower.startsWith(rootLower)) {
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
// Path must have a valid extension
|
|
188
|
+
const ext = path.extname(normalizedPath).substring(1).toLowerCase();
|
|
189
|
+
if (!COMMON_EXTENSIONS.has(ext)) {
|
|
190
|
+
return false;
|
|
191
|
+
}
|
|
192
|
+
return true;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=FollowModeService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowModeService.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/FollowModeService.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,iBAAiB,GACrB,+FAA+F,CAAC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,CAAC,WAAmB,EAAE,UAAkC,EAAE;QAC9E,8CAA8C;QAC9C,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;QAEtE,8CAA8C;QAC9C,gEAAgE;QAChE,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;QAEvE,OAAO,IAAI,CAAC,eAAe,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAAC,QAAgB,EAAE,QAAgB;QACnD,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC9D,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE9D,6DAA6D;QAC7D,MAAM,SAAS,GAAG,cAAc,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,SAAS,GAAG,cAAc,CAAC,WAAW,EAAE,CAAC;QAE/C,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;YACrC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,mCAAmC;QACnC,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACpE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YAChC,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitStatusService - Git integration for file status tracking
|
|
3
|
+
*
|
|
4
|
+
* This service provides git status information for files in the file explorer,
|
|
5
|
+
* with caching to avoid excessive git calls. It handles non-git directories
|
|
6
|
+
* gracefully and maps git status to color codes for the UI.
|
|
7
|
+
*
|
|
8
|
+
* Requirements: 8.1, 8.2, 8.3, 8.4, 8.5
|
|
9
|
+
*/
|
|
10
|
+
import { GitStatus } from './types.js';
|
|
11
|
+
/**
|
|
12
|
+
* GitStatusService provides git status information with caching
|
|
13
|
+
*/
|
|
14
|
+
export declare class GitStatusService {
|
|
15
|
+
/** Cache of git status results by repository path */
|
|
16
|
+
private cache;
|
|
17
|
+
/** Cache TTL in milliseconds (5 seconds) */
|
|
18
|
+
private readonly CACHE_TTL;
|
|
19
|
+
/** Simple-git instance cache by repository path */
|
|
20
|
+
private gitInstances;
|
|
21
|
+
/** Silent mode for suppressing error logs */
|
|
22
|
+
private silent;
|
|
23
|
+
constructor(options?: {
|
|
24
|
+
silent?: boolean;
|
|
25
|
+
});
|
|
26
|
+
/**
|
|
27
|
+
* Get git status for all files in a repository
|
|
28
|
+
*
|
|
29
|
+
* @param repoPath - Path to the git repository root
|
|
30
|
+
* @returns Map of file paths to their git status
|
|
31
|
+
*
|
|
32
|
+
* Requirements: 8.1, 8.5
|
|
33
|
+
*/
|
|
34
|
+
getStatus(repoPath: string): Promise<Map<string, GitStatus>>;
|
|
35
|
+
/**
|
|
36
|
+
* Get git status for a specific file
|
|
37
|
+
*
|
|
38
|
+
* @param filePath - Absolute path to the file
|
|
39
|
+
* @returns Git status of the file, or null if not in a git repository
|
|
40
|
+
*
|
|
41
|
+
* Requirements: 8.2, 8.3, 8.4
|
|
42
|
+
*/
|
|
43
|
+
getFileStatus(filePath: string): Promise<GitStatus | null>;
|
|
44
|
+
/**
|
|
45
|
+
* Clear the status cache
|
|
46
|
+
*
|
|
47
|
+
* This can be called after file operations to ensure fresh status
|
|
48
|
+
*/
|
|
49
|
+
clearCache(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Check if a directory is a git repository
|
|
52
|
+
*
|
|
53
|
+
* @param dirPath - Path to check
|
|
54
|
+
* @returns True if the directory is a git repository
|
|
55
|
+
*
|
|
56
|
+
* Requirements: 8.1
|
|
57
|
+
*/
|
|
58
|
+
isGitRepository(dirPath: string): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Find the git repository root for a given path
|
|
61
|
+
*
|
|
62
|
+
* @param filePath - Path to start searching from
|
|
63
|
+
* @returns Path to the git repository root, or null if not in a repository
|
|
64
|
+
*/
|
|
65
|
+
private findGitRoot;
|
|
66
|
+
/**
|
|
67
|
+
* Get or create a simple-git instance for a repository
|
|
68
|
+
*
|
|
69
|
+
* @param repoPath - Path to the repository
|
|
70
|
+
* @returns Simple-git instance
|
|
71
|
+
*/
|
|
72
|
+
private getGitInstance;
|
|
73
|
+
/**
|
|
74
|
+
* Check if a file is ignored by git
|
|
75
|
+
*
|
|
76
|
+
* @param repoPath - Path to the repository root
|
|
77
|
+
* @param filePath - Absolute path to the file
|
|
78
|
+
* @returns True if the file is ignored
|
|
79
|
+
*/
|
|
80
|
+
private isIgnored;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=GitStatusService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitStatusService.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/GitStatusService.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAYvC;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,qDAAqD;IACrD,OAAO,CAAC,KAAK,CAAsC;IAEnD,4CAA4C;IAC5C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAQ;IAElC,mDAAmD;IACnD,OAAO,CAAC,YAAY,CAAqC;IAEzD,6CAA6C;IAC7C,OAAO,CAAC,MAAM,CAAkB;gBAEpB,OAAO,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE;IAI1C;;;;;;;OAOG;IACG,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IA0ElE;;;;;;;OAOG;IACG,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;IAyBhE;;;;OAIG;IACH,UAAU,IAAI,IAAI;IAIlB;;;;;;;OAOG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO;IASzC;;;;;OAKG;YACW,WAAW;IAczB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAUtB;;;;;;OAMG;YACW,SAAS;CAWxB"}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GitStatusService - Git integration for file status tracking
|
|
3
|
+
*
|
|
4
|
+
* This service provides git status information for files in the file explorer,
|
|
5
|
+
* with caching to avoid excessive git calls. It handles non-git directories
|
|
6
|
+
* gracefully and maps git status to color codes for the UI.
|
|
7
|
+
*
|
|
8
|
+
* Requirements: 8.1, 8.2, 8.3, 8.4, 8.5
|
|
9
|
+
*/
|
|
10
|
+
import * as fs from 'fs';
|
|
11
|
+
import * as path from 'path';
|
|
12
|
+
import { simpleGit } from 'simple-git';
|
|
13
|
+
import { handleError } from './ErrorHandler.js';
|
|
14
|
+
/**
|
|
15
|
+
* GitStatusService provides git status information with caching
|
|
16
|
+
*/
|
|
17
|
+
export class GitStatusService {
|
|
18
|
+
/** Cache of git status results by repository path */
|
|
19
|
+
cache = new Map();
|
|
20
|
+
/** Cache TTL in milliseconds (5 seconds) */
|
|
21
|
+
CACHE_TTL = 5000;
|
|
22
|
+
/** Simple-git instance cache by repository path */
|
|
23
|
+
gitInstances = new Map();
|
|
24
|
+
/** Silent mode for suppressing error logs */
|
|
25
|
+
silent = false;
|
|
26
|
+
constructor(options) {
|
|
27
|
+
this.silent = options?.silent ?? false;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Get git status for all files in a repository
|
|
31
|
+
*
|
|
32
|
+
* @param repoPath - Path to the git repository root
|
|
33
|
+
* @returns Map of file paths to their git status
|
|
34
|
+
*
|
|
35
|
+
* Requirements: 8.1, 8.5
|
|
36
|
+
*/
|
|
37
|
+
async getStatus(repoPath) {
|
|
38
|
+
// Check if repository is valid
|
|
39
|
+
if (!this.isGitRepository(repoPath)) {
|
|
40
|
+
return new Map();
|
|
41
|
+
}
|
|
42
|
+
// Check cache first
|
|
43
|
+
const cached = this.cache.get(repoPath);
|
|
44
|
+
if (cached && Date.now() - cached.timestamp < this.CACHE_TTL) {
|
|
45
|
+
return cached.statusMap;
|
|
46
|
+
}
|
|
47
|
+
// Query git status
|
|
48
|
+
try {
|
|
49
|
+
const git = this.getGitInstance(repoPath);
|
|
50
|
+
const status = await git.status();
|
|
51
|
+
const statusMap = new Map();
|
|
52
|
+
// Map untracked files (new files)
|
|
53
|
+
for (const file of status.not_added) {
|
|
54
|
+
const fullPath = path.resolve(repoPath, file);
|
|
55
|
+
statusMap.set(fullPath, 'untracked');
|
|
56
|
+
}
|
|
57
|
+
// Map modified files
|
|
58
|
+
for (const file of status.modified) {
|
|
59
|
+
const fullPath = path.resolve(repoPath, file);
|
|
60
|
+
statusMap.set(fullPath, 'modified');
|
|
61
|
+
}
|
|
62
|
+
// Map created files (staged new files)
|
|
63
|
+
for (const file of status.created) {
|
|
64
|
+
const fullPath = path.resolve(repoPath, file);
|
|
65
|
+
statusMap.set(fullPath, 'untracked');
|
|
66
|
+
}
|
|
67
|
+
// Map renamed files as modified
|
|
68
|
+
for (const file of status.renamed) {
|
|
69
|
+
const fullPath = path.resolve(repoPath, file.to);
|
|
70
|
+
statusMap.set(fullPath, 'modified');
|
|
71
|
+
}
|
|
72
|
+
// Map deleted files as modified
|
|
73
|
+
for (const file of status.deleted) {
|
|
74
|
+
const fullPath = path.resolve(repoPath, file);
|
|
75
|
+
statusMap.set(fullPath, 'modified');
|
|
76
|
+
}
|
|
77
|
+
// Files not in any status list are considered clean
|
|
78
|
+
// We don't explicitly add them to save memory
|
|
79
|
+
// Cache the result
|
|
80
|
+
this.cache.set(repoPath, {
|
|
81
|
+
statusMap,
|
|
82
|
+
timestamp: Date.now(),
|
|
83
|
+
});
|
|
84
|
+
return statusMap;
|
|
85
|
+
}
|
|
86
|
+
catch (error) {
|
|
87
|
+
// Handle git errors gracefully
|
|
88
|
+
const errorInfo = handleError(error, {
|
|
89
|
+
operation: 'getGitStatus',
|
|
90
|
+
repoPath,
|
|
91
|
+
});
|
|
92
|
+
if (!this.silent) {
|
|
93
|
+
console.error(`Failed to get git status for ${repoPath}:`, errorInfo.message);
|
|
94
|
+
}
|
|
95
|
+
return new Map();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Get git status for a specific file
|
|
100
|
+
*
|
|
101
|
+
* @param filePath - Absolute path to the file
|
|
102
|
+
* @returns Git status of the file, or null if not in a git repository
|
|
103
|
+
*
|
|
104
|
+
* Requirements: 8.2, 8.3, 8.4
|
|
105
|
+
*/
|
|
106
|
+
async getFileStatus(filePath) {
|
|
107
|
+
// Find the repository root for this file
|
|
108
|
+
const repoPath = await this.findGitRoot(filePath);
|
|
109
|
+
if (!repoPath) {
|
|
110
|
+
return null;
|
|
111
|
+
}
|
|
112
|
+
// Get status for the entire repository
|
|
113
|
+
const statusMap = await this.getStatus(repoPath);
|
|
114
|
+
// Check if file has a status
|
|
115
|
+
const status = statusMap.get(filePath);
|
|
116
|
+
if (status) {
|
|
117
|
+
return status;
|
|
118
|
+
}
|
|
119
|
+
// Check if file is ignored
|
|
120
|
+
if (await this.isIgnored(repoPath, filePath)) {
|
|
121
|
+
return 'ignored';
|
|
122
|
+
}
|
|
123
|
+
// File is tracked and clean
|
|
124
|
+
return 'clean';
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Clear the status cache
|
|
128
|
+
*
|
|
129
|
+
* This can be called after file operations to ensure fresh status
|
|
130
|
+
*/
|
|
131
|
+
clearCache() {
|
|
132
|
+
this.cache.clear();
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Check if a directory is a git repository
|
|
136
|
+
*
|
|
137
|
+
* @param dirPath - Path to check
|
|
138
|
+
* @returns True if the directory is a git repository
|
|
139
|
+
*
|
|
140
|
+
* Requirements: 8.1
|
|
141
|
+
*/
|
|
142
|
+
isGitRepository(dirPath) {
|
|
143
|
+
try {
|
|
144
|
+
const gitDir = path.join(dirPath, '.git');
|
|
145
|
+
return fs.existsSync(gitDir);
|
|
146
|
+
}
|
|
147
|
+
catch {
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Find the git repository root for a given path
|
|
153
|
+
*
|
|
154
|
+
* @param filePath - Path to start searching from
|
|
155
|
+
* @returns Path to the git repository root, or null if not in a repository
|
|
156
|
+
*/
|
|
157
|
+
async findGitRoot(filePath) {
|
|
158
|
+
let currentPath = path.dirname(filePath);
|
|
159
|
+
const root = path.parse(currentPath).root;
|
|
160
|
+
while (currentPath !== root) {
|
|
161
|
+
if (this.isGitRepository(currentPath)) {
|
|
162
|
+
return currentPath;
|
|
163
|
+
}
|
|
164
|
+
currentPath = path.dirname(currentPath);
|
|
165
|
+
}
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Get or create a simple-git instance for a repository
|
|
170
|
+
*
|
|
171
|
+
* @param repoPath - Path to the repository
|
|
172
|
+
* @returns Simple-git instance
|
|
173
|
+
*/
|
|
174
|
+
getGitInstance(repoPath) {
|
|
175
|
+
const git = this.gitInstances.get(repoPath);
|
|
176
|
+
if (git) {
|
|
177
|
+
return git;
|
|
178
|
+
}
|
|
179
|
+
const newGit = simpleGit(repoPath);
|
|
180
|
+
this.gitInstances.set(repoPath, newGit);
|
|
181
|
+
return newGit;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Check if a file is ignored by git
|
|
185
|
+
*
|
|
186
|
+
* @param repoPath - Path to the repository root
|
|
187
|
+
* @param filePath - Absolute path to the file
|
|
188
|
+
* @returns True if the file is ignored
|
|
189
|
+
*/
|
|
190
|
+
async isIgnored(repoPath, filePath) {
|
|
191
|
+
try {
|
|
192
|
+
const git = this.getGitInstance(repoPath);
|
|
193
|
+
const relativePath = path.relative(repoPath, filePath);
|
|
194
|
+
const result = await git.raw(['check-ignore', relativePath]);
|
|
195
|
+
return result.trim().length > 0;
|
|
196
|
+
}
|
|
197
|
+
catch {
|
|
198
|
+
// If check-ignore fails, assume not ignored
|
|
199
|
+
return false;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
//# sourceMappingURL=GitStatusService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GitStatusService.js","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/GitStatusService.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,SAAS,EAA2B,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAahD;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC3B,qDAAqD;IAC7C,KAAK,GAA4B,IAAI,GAAG,EAAE,CAAC;IAEnD,4CAA4C;IAC3B,SAAS,GAAG,IAAI,CAAC;IAElC,mDAAmD;IAC3C,YAAY,GAA2B,IAAI,GAAG,EAAE,CAAC;IAEzD,6CAA6C;IACrC,MAAM,GAAY,KAAK,CAAC;IAEhC,YAAY,OAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,OAAO,EAAE,MAAM,IAAI,KAAK,CAAC;IACzC,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,SAAS,CAAC,QAAgB;QAC9B,+BAA+B;QAC/B,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,CAAC;YACpC,OAAO,IAAI,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QACrC,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC5C,IAAI,GAAG,EAAE,CAAC;YACR,OAAO,GAAG,CAAC;QACb,CAAC;QACD,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;QACnC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACxC,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CAAC,SAAS,CAAC,QAAgB,EAAE,QAAgB;QACxD,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;YAC1C,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YACvD,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC,CAAC;YAC7D,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;QAClC,CAAC;QAAC,MAAM,CAAC;YACP,4CAA4C;YAC5C,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Header - File Explorer header component
|
|
3
|
+
*
|
|
4
|
+
* Displays the current mode (Browse/Workspace), active project, and
|
|
5
|
+
* provides visual context for the file explorer state.
|
|
6
|
+
*
|
|
7
|
+
* Requirements: 11.1 (Display current mode in header)
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Props for Header component
|
|
11
|
+
*/
|
|
12
|
+
export interface HeaderProps {
|
|
13
|
+
/** Optional title to display */
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Header component
|
|
18
|
+
*
|
|
19
|
+
* Displays:
|
|
20
|
+
* - File Explorer title
|
|
21
|
+
* - Current mode (Browse/Workspace)
|
|
22
|
+
* - Active project name (if in workspace mode)
|
|
23
|
+
* - Root path
|
|
24
|
+
*/
|
|
25
|
+
export declare function Header({ title }: HeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/file-explorer/Header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,EAAE,KAAuB,EAAE,EAAE,WAAW,2CAwC9D"}
|