@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,1102 @@
|
|
|
1
|
+
# Context Compression and Checkpoint System
|
|
2
|
+
|
|
3
|
+
**Last Updated:** January 26, 2026
|
|
4
|
+
**Status:** Source of Truth
|
|
5
|
+
|
|
6
|
+
**Related Documents:**
|
|
7
|
+
|
|
8
|
+
- `ContextManagement.md` - Context sizing, tiers, VRAM
|
|
9
|
+
- `ContextArchitecture.md` - Overall system architecture
|
|
10
|
+
- `SystemPrompts.md` - System prompt structure
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
15
|
+
|
|
16
|
+
The Compression System manages conversation history when context approaches its limit. It creates checkpoints (compressed summaries) and ages them over time to sustain long conversations within fixed context limits.
|
|
17
|
+
|
|
18
|
+
**Core Principle:** Dynamic budget management with checkpoint aging enables long conversations within fixed context limits.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Table of Contents
|
|
23
|
+
|
|
24
|
+
1. [Why Compression Matters](#why-compression-matters)
|
|
25
|
+
2. [Architecture](#architecture)
|
|
26
|
+
3. [Dynamic Budget Calculation](#dynamic-budget-calculation)
|
|
27
|
+
4. [Compression Trigger](#compression-trigger)
|
|
28
|
+
5. [Checkpoint System](#checkpoint-system)
|
|
29
|
+
6. [LLM-Based Summarization](#llm-based-summarization)
|
|
30
|
+
7. [Goal-Aware Compression](#goal-aware-compression)
|
|
31
|
+
8. [Session History Storage](#session-history-storage)
|
|
32
|
+
9. [Snapshot System](#snapshot-system)
|
|
33
|
+
10. [Reliability Tracking](#reliability-tracking)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Why Compression Matters
|
|
38
|
+
|
|
39
|
+
Ollama enforces a fixed context limit (e.g., 13,600 tokens for 16K selection). As conversation grows, we must compress history into checkpoints while maintaining available space for new messages.
|
|
40
|
+
|
|
41
|
+
**Without dynamic budget tracking:**
|
|
42
|
+
|
|
43
|
+
- Compression triggers too frequently
|
|
44
|
+
- Context fills up prematurely
|
|
45
|
+
- Conversation ends after 1-2 compressions
|
|
46
|
+
|
|
47
|
+
**With dynamic budget tracking:**
|
|
48
|
+
|
|
49
|
+
- Compression triggers based on available space
|
|
50
|
+
- Checkpoints age and compress further
|
|
51
|
+
- Conversation sustains 3-5+ compressions
|
|
52
|
+
|
|
53
|
+
### The Problem
|
|
54
|
+
|
|
55
|
+
```mermaid
|
|
56
|
+
graph LR
|
|
57
|
+
A[Context Fills Up] --> B[No Compression]
|
|
58
|
+
B --> C[Oldest Messages Dropped]
|
|
59
|
+
C --> D[Information Loss]
|
|
60
|
+
D --> E[LLM Forgets Context]
|
|
61
|
+
E --> F[Quality Degradation]
|
|
62
|
+
|
|
63
|
+
style D fill:#ff6b6b
|
|
64
|
+
style E fill:#ff6b6b
|
|
65
|
+
style F fill:#ff6b6b
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### The Solution
|
|
69
|
+
|
|
70
|
+
```mermaid
|
|
71
|
+
graph LR
|
|
72
|
+
A[Context Fills Up] --> B[Trigger Compression]
|
|
73
|
+
B --> C[LLM Summarizes History]
|
|
74
|
+
C --> D[Create Checkpoint]
|
|
75
|
+
D --> E[Replace Messages]
|
|
76
|
+
E --> F[Available Space Restored]
|
|
77
|
+
F --> G[Conversation Continues]
|
|
78
|
+
|
|
79
|
+
style D fill:#6bcf7f
|
|
80
|
+
style F fill:#6bcf7f
|
|
81
|
+
style G fill:#6bcf7f
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Architecture
|
|
87
|
+
|
|
88
|
+
### Core Components
|
|
89
|
+
|
|
90
|
+
```mermaid
|
|
91
|
+
graph TB
|
|
92
|
+
subgraph "Orchestration"
|
|
93
|
+
A[Compression Coordinator]
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
subgraph "Execution"
|
|
97
|
+
B[Compression Service]
|
|
98
|
+
C[Checkpoint Manager]
|
|
99
|
+
D[Message Store]
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
subgraph "Storage"
|
|
103
|
+
E[Snapshot Manager]
|
|
104
|
+
F[Session Storage]
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
A --> B
|
|
108
|
+
A --> C
|
|
109
|
+
A --> D
|
|
110
|
+
B --> C
|
|
111
|
+
C --> E
|
|
112
|
+
D --> F
|
|
113
|
+
|
|
114
|
+
style A fill:#4d96ff
|
|
115
|
+
style B fill:#6bcf7f
|
|
116
|
+
style C fill:#ffd93d
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Component Responsibilities:**
|
|
120
|
+
|
|
121
|
+
| Component | Responsibility |
|
|
122
|
+
| --------------------------- | ----------------------------------------------------------------------------------------- |
|
|
123
|
+
| **Compression Coordinator** | Orchestrates compression strategies, manages checkpoint aging, handles context rollover |
|
|
124
|
+
| **Compression Service** | Calls LLM for summarization, generates compressed summaries, handles compression failures |
|
|
125
|
+
| **Checkpoint Manager** | Stores and retrieves checkpoints, ages checkpoints over time, merges old checkpoints |
|
|
126
|
+
| **Snapshot Manager** | Creates full conversation snapshots, saves to disk for recovery, restores previous states |
|
|
127
|
+
| **Message Store** | Tracks token usage, triggers compression at thresholds, manages message history |
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## Dynamic Budget Calculation
|
|
132
|
+
|
|
133
|
+
### Available Budget Formula
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
Available Budget = ollama_context_size - system_prompt_tokens - checkpoint_tokens
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Example: 16K Context (Tier 3)
|
|
140
|
+
|
|
141
|
+
```mermaid
|
|
142
|
+
graph TD
|
|
143
|
+
subgraph "Initial State"
|
|
144
|
+
A1[Ollama: 13,600 tokens FIXED]
|
|
145
|
+
A2[System Prompt: 1,000 tokens]
|
|
146
|
+
A3[Available: 12,600 tokens]
|
|
147
|
+
A4[Trigger at: 10,080 tokens 80%]
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
subgraph "After 1st Compression"
|
|
151
|
+
B1[Ollama: 13,600 tokens FIXED]
|
|
152
|
+
B2[System Prompt: 1,000 tokens]
|
|
153
|
+
B3[Checkpoint 1: 1,200 tokens]
|
|
154
|
+
B4[Available: 10,400 tokens]
|
|
155
|
+
B5[Trigger at: 8,320 tokens 80%]
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
subgraph "After 2nd Compression"
|
|
159
|
+
C1[Ollama: 13,600 tokens FIXED]
|
|
160
|
+
C2[System Prompt: 1,000 tokens]
|
|
161
|
+
C3[Checkpoint 1: 600 tokens aged]
|
|
162
|
+
C4[Checkpoint 2: 1,200 tokens]
|
|
163
|
+
C5[Available: 10,800 tokens]
|
|
164
|
+
C6[Trigger at: 8,640 tokens 80%]
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
subgraph "After 3rd Compression"
|
|
168
|
+
D1[Ollama: 13,600 tokens FIXED]
|
|
169
|
+
D2[System Prompt: 1,000 tokens]
|
|
170
|
+
D3[Checkpoint 1: 300 tokens ancient]
|
|
171
|
+
D4[Checkpoint 2: 600 tokens old]
|
|
172
|
+
D5[Checkpoint 3: 1,200 tokens recent]
|
|
173
|
+
D6[Available: 10,500 tokens]
|
|
174
|
+
D7[Trigger at: 8,400 tokens 80%]
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
style A3 fill:#6bcf7f
|
|
178
|
+
style B4 fill:#ffd93d
|
|
179
|
+
style C5 fill:#ffd93d
|
|
180
|
+
style D6 fill:#ffd93d
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Key Insight:** Available budget shrinks with each checkpoint, but aging keeps it sustainable for 3-5+ compressions.
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## Compression Trigger
|
|
188
|
+
|
|
189
|
+
Compression is triggered at **80% of available context budget**.
|
|
190
|
+
|
|
191
|
+
### Trigger Calculation
|
|
192
|
+
|
|
193
|
+
```typescript
|
|
194
|
+
// Calculate available budget (excludes system + checkpoints)
|
|
195
|
+
const systemTokens = countTokens(systemPrompt);
|
|
196
|
+
const checkpointTokens = checkpoints.reduce((sum, cp) => sum + cp.tokens, 0);
|
|
197
|
+
const availableBudget = context.maxTokens - systemTokens - checkpointTokens;
|
|
198
|
+
|
|
199
|
+
// Trigger compression at 80% of AVAILABLE budget
|
|
200
|
+
const compressionTrigger = availableBudget * 0.8;
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
**Why 80%?**
|
|
204
|
+
|
|
205
|
+
- Leaves 20% buffer for final messages
|
|
206
|
+
- Prevents race condition with Ollama's limit
|
|
207
|
+
- Allows time for compression to complete
|
|
208
|
+
|
|
209
|
+
### Trigger Flow
|
|
210
|
+
|
|
211
|
+
```mermaid
|
|
212
|
+
sequenceDiagram
|
|
213
|
+
participant User
|
|
214
|
+
participant Store as Message Store
|
|
215
|
+
participant Coord as Compression Coordinator
|
|
216
|
+
participant LLM
|
|
217
|
+
|
|
218
|
+
User->>Store: Send message
|
|
219
|
+
Store->>Store: Add to context
|
|
220
|
+
Store->>Store: Count tokens
|
|
221
|
+
Store->>Store: Check usage
|
|
222
|
+
|
|
223
|
+
alt Usage < 80%
|
|
224
|
+
Store->>User: Continue normally
|
|
225
|
+
else Usage >= 80%
|
|
226
|
+
Store->>Coord: Trigger compression
|
|
227
|
+
Coord->>Coord: Identify messages to compress
|
|
228
|
+
Coord->>LLM: Request summary
|
|
229
|
+
LLM->>Coord: Return summary
|
|
230
|
+
Coord->>Coord: Create checkpoint
|
|
231
|
+
Coord->>Coord: Age existing checkpoints
|
|
232
|
+
Coord->>Store: Replace messages
|
|
233
|
+
Store->>User: Continue with more space
|
|
234
|
+
end
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## Checkpoint System
|
|
240
|
+
|
|
241
|
+
### Checkpoint Structure
|
|
242
|
+
|
|
243
|
+
```typescript
|
|
244
|
+
interface CompressionCheckpoint {
|
|
245
|
+
id: string;
|
|
246
|
+
level: 1 | 2 | 3; // Compression level (1=compact, 3=detailed)
|
|
247
|
+
range: string; // Message range (e.g., "Messages 1-50")
|
|
248
|
+
summary: Message; // LLM-generated summary
|
|
249
|
+
createdAt: Date;
|
|
250
|
+
compressedAt?: Date; // When aged/re-compressed
|
|
251
|
+
originalTokens: number; // Before compression
|
|
252
|
+
currentTokens: number; // After compression
|
|
253
|
+
compressionCount: number; // How many times compressed
|
|
254
|
+
compressionNumber?: number; // Sequence number
|
|
255
|
+
keyDecisions?: string[]; // Important decisions
|
|
256
|
+
filesModified?: string[]; // Files changed
|
|
257
|
+
nextSteps?: string[]; // Planned actions
|
|
258
|
+
}
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### Checkpoint Aging
|
|
262
|
+
|
|
263
|
+
When a new compression is triggered, existing checkpoints age and compress further:
|
|
264
|
+
|
|
265
|
+
```mermaid
|
|
266
|
+
graph TD
|
|
267
|
+
A[New Compression Triggered] --> B[Create New Checkpoint]
|
|
268
|
+
B --> C[Compress LLM Output Only]
|
|
269
|
+
C --> D[Target: ~1200 tokens]
|
|
270
|
+
|
|
271
|
+
D --> E[Age Existing Checkpoints]
|
|
272
|
+
E --> F[Checkpoint 3 → Checkpoint 2]
|
|
273
|
+
F --> G[Compress to 60%]
|
|
274
|
+
G --> H[~600 tokens]
|
|
275
|
+
|
|
276
|
+
H --> I[Checkpoint 2 → Checkpoint 1]
|
|
277
|
+
I --> J[Compress to 50%]
|
|
278
|
+
J --> K[~300 tokens]
|
|
279
|
+
|
|
280
|
+
K --> L[Checkpoint 1 → Ultra-compress]
|
|
281
|
+
L --> M[Compress to 40%]
|
|
282
|
+
M --> N[~150 tokens]
|
|
283
|
+
|
|
284
|
+
N --> O[Recalculate Available Budget]
|
|
285
|
+
O --> P[Continue Conversation]
|
|
286
|
+
|
|
287
|
+
style B fill:#6bcf7f
|
|
288
|
+
style E fill:#ffd93d
|
|
289
|
+
style O fill:#4d96ff
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Compression Levels
|
|
293
|
+
|
|
294
|
+
```mermaid
|
|
295
|
+
graph LR
|
|
296
|
+
subgraph "Recent Checkpoint 3"
|
|
297
|
+
A[50-70% compression]
|
|
298
|
+
B[Detailed summaries]
|
|
299
|
+
C[Key decisions preserved]
|
|
300
|
+
D[Code snippets included]
|
|
301
|
+
E[~1200 tokens]
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
subgraph "Old Checkpoint 2"
|
|
305
|
+
F[60% compression]
|
|
306
|
+
G[Moderate summaries]
|
|
307
|
+
H[Main points only]
|
|
308
|
+
I[Code references only]
|
|
309
|
+
J[~600 tokens]
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
subgraph "Ancient Checkpoint 1"
|
|
313
|
+
K[70% compression]
|
|
314
|
+
L[Brief summaries]
|
|
315
|
+
M[Critical info only]
|
|
316
|
+
N[No code details]
|
|
317
|
+
O[~300 tokens]
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
subgraph "Ultra Merged"
|
|
321
|
+
P[80% compression]
|
|
322
|
+
Q[Minimal summary]
|
|
323
|
+
R[Essential context only]
|
|
324
|
+
S[~150 tokens]
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
style A fill:#6bcf7f
|
|
328
|
+
style F fill:#ffd93d
|
|
329
|
+
style K fill:#ff9f43
|
|
330
|
+
style P fill:#ff6b6b
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## LLM-Based Summarization
|
|
336
|
+
|
|
337
|
+
### Who Does the Compression?
|
|
338
|
+
|
|
339
|
+
**The LLM does the summarization**, not our app. Our app:
|
|
340
|
+
|
|
341
|
+
1. Identifies messages to compress
|
|
342
|
+
2. Sends them to the LLM with a summarization prompt
|
|
343
|
+
3. Receives the summary back
|
|
344
|
+
4. Stores the summary as a checkpoint
|
|
345
|
+
5. Removes the original messages from active context
|
|
346
|
+
|
|
347
|
+
### Summarization Process
|
|
348
|
+
|
|
349
|
+
```mermaid
|
|
350
|
+
sequenceDiagram
|
|
351
|
+
participant App
|
|
352
|
+
participant LLM
|
|
353
|
+
participant Context
|
|
354
|
+
|
|
355
|
+
App->>Context: Extract messages to compress
|
|
356
|
+
Context->>App: Return assistant messages
|
|
357
|
+
|
|
358
|
+
App->>LLM: Send summarization prompt
|
|
359
|
+
Note over LLM: Summarize the following conversation<br/>preserving key decisions and context
|
|
360
|
+
LLM->>App: Return summary
|
|
361
|
+
|
|
362
|
+
App->>App: Create checkpoint with summary
|
|
363
|
+
App->>App: Count tokens
|
|
364
|
+
App->>Context: Replace messages with checkpoint
|
|
365
|
+
|
|
366
|
+
Note over Context: Original: 5000 tokens<br/>Checkpoint: 1200 tokens<br/>Saved: 3800 tokens
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Summarization Prompt
|
|
370
|
+
|
|
371
|
+
```typescript
|
|
372
|
+
const summaryPrompt = `Summarize the following conversation history, preserving key decisions, code changes, and important context:
|
|
373
|
+
|
|
374
|
+
${messagesToCompress.join('\n')}
|
|
375
|
+
|
|
376
|
+
Provide a concise summary that maintains essential information.`;
|
|
377
|
+
|
|
378
|
+
const summary = await llm.generate(summaryPrompt);
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
### Compression Rules
|
|
382
|
+
|
|
383
|
+
- ✅ Compress LLM output only (assistant messages)
|
|
384
|
+
- ❌ Never compress user messages
|
|
385
|
+
- ❌ Never compress system prompt
|
|
386
|
+
- ❌ Never compress goals or architecture decisions
|
|
387
|
+
- ❌ Never compress active goal checkpoints
|
|
388
|
+
- ❌ Never compress locked decisions
|
|
389
|
+
- ✅ Each aging step compresses more aggressively
|
|
390
|
+
- ✅ Oldest checkpoints are most compressed
|
|
391
|
+
|
|
392
|
+
### Never-Compressed Content
|
|
393
|
+
|
|
394
|
+
```mermaid
|
|
395
|
+
graph TB
|
|
396
|
+
A[Context Content] --> B{Type?}
|
|
397
|
+
|
|
398
|
+
B -->|System Prompt| C[NEVER Compress]
|
|
399
|
+
B -->|User Messages| C
|
|
400
|
+
B -->|Active Goals| C
|
|
401
|
+
B -->|Locked Decisions| C
|
|
402
|
+
B -->|Architecture| C
|
|
403
|
+
B -->|Goal Checkpoints| C
|
|
404
|
+
|
|
405
|
+
B -->|Assistant Messages| D[Compress When Needed]
|
|
406
|
+
B -->|Tool Outputs| D
|
|
407
|
+
B -->|Exploratory Work| D
|
|
408
|
+
|
|
409
|
+
style C fill:#6bcf7f
|
|
410
|
+
style D fill:#ffd93d
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
**Example Context Structure:**
|
|
414
|
+
|
|
415
|
+
```
|
|
416
|
+
[System Prompt] - 1000 tokens (never compressed)
|
|
417
|
+
├─ Core Mandates
|
|
418
|
+
├─ Active Goal - 200 tokens (never compressed)
|
|
419
|
+
│ ├─ Goal description
|
|
420
|
+
│ ├─ Checkpoints
|
|
421
|
+
│ ├─ Decisions (locked)
|
|
422
|
+
│ └─ Artifacts
|
|
423
|
+
└─ Skills
|
|
424
|
+
|
|
425
|
+
[Checkpoint 1] - 300 tokens (ancient, 70% compressed)
|
|
426
|
+
[Checkpoint 2] - 600 tokens (old, 60% compressed)
|
|
427
|
+
[Checkpoint 3] - 1200 tokens (recent, 50-70% compressed)
|
|
428
|
+
|
|
429
|
+
[User Messages] - 3000 tokens (never compressed)
|
|
430
|
+
[Recent Assistant Messages] - 7500 tokens (not yet compressed)
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
### Compression Quality by Model Size
|
|
434
|
+
|
|
435
|
+
```
|
|
436
|
+
Small models (3B-7B):
|
|
437
|
+
- Basic summarization
|
|
438
|
+
- May lose subtle context
|
|
439
|
+
- Good for simple conversations
|
|
440
|
+
- Compression: 50-70%
|
|
441
|
+
- Recommend: 2-3 compressions max
|
|
442
|
+
|
|
443
|
+
Medium models (13B-30B):
|
|
444
|
+
- Good summarization
|
|
445
|
+
- Preserves most context
|
|
446
|
+
- Handles complex topics
|
|
447
|
+
- Compression: 60-80%
|
|
448
|
+
- Recommend: 3-5 compressions
|
|
449
|
+
|
|
450
|
+
Large models (70B+):
|
|
451
|
+
- Excellent summarization
|
|
452
|
+
- Preserves nuance and meaning
|
|
453
|
+
- Handles very complex topics
|
|
454
|
+
- Compression: 70-90%
|
|
455
|
+
- Recommend: 5-7 compressions
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
---
|
|
459
|
+
|
|
460
|
+
## Goal-Aware Compression
|
|
461
|
+
|
|
462
|
+
### Overview
|
|
463
|
+
|
|
464
|
+
Goals guide the compression process by helping the LLM understand what information is important to preserve.
|
|
465
|
+
|
|
466
|
+
### Goal Structure in Context
|
|
467
|
+
|
|
468
|
+
```typescript
|
|
469
|
+
interface Goal {
|
|
470
|
+
id: string;
|
|
471
|
+
description: string;
|
|
472
|
+
priority: 'high' | 'medium' | 'low';
|
|
473
|
+
status: 'active' | 'paused' | 'completed';
|
|
474
|
+
createdAt: Date;
|
|
475
|
+
completedAt?: Date;
|
|
476
|
+
checkpoints: Checkpoint[];
|
|
477
|
+
decisions: Decision[];
|
|
478
|
+
artifacts: Artifact[];
|
|
479
|
+
}
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
### Goal Preservation Rules
|
|
483
|
+
|
|
484
|
+
**Always Preserved (Never Compressed):**
|
|
485
|
+
|
|
486
|
+
- Active goal description
|
|
487
|
+
- All checkpoints (pending, in-progress, completed)
|
|
488
|
+
- Locked decisions
|
|
489
|
+
- Artifact list (files created/modified)
|
|
490
|
+
- Next steps
|
|
491
|
+
|
|
492
|
+
**Updated During Compression:**
|
|
493
|
+
|
|
494
|
+
- Checkpoint status (marked as completed)
|
|
495
|
+
- New decisions added
|
|
496
|
+
- New artifacts recorded
|
|
497
|
+
|
|
498
|
+
### Goal-Aware Summarization Prompt
|
|
499
|
+
|
|
500
|
+
```typescript
|
|
501
|
+
const summaryPrompt = `
|
|
502
|
+
ACTIVE GOAL: ${goal.description}
|
|
503
|
+
Priority: ${goal.priority}
|
|
504
|
+
Status: ${goal.status}
|
|
505
|
+
|
|
506
|
+
COMPLETED CHECKPOINTS:
|
|
507
|
+
${goal.checkpoints
|
|
508
|
+
.filter((cp) => cp.status === 'completed')
|
|
509
|
+
.map((cp) => `✅ ${cp.description}`)
|
|
510
|
+
.join('\n')}
|
|
511
|
+
|
|
512
|
+
IN PROGRESS:
|
|
513
|
+
${goal.checkpoints
|
|
514
|
+
.filter((cp) => cp.status === 'in-progress')
|
|
515
|
+
.map((cp) => `🔄 ${cp.description}`)
|
|
516
|
+
.join('\n')}
|
|
517
|
+
|
|
518
|
+
PENDING:
|
|
519
|
+
${goal.checkpoints
|
|
520
|
+
.filter((cp) => cp.status === 'pending')
|
|
521
|
+
.map((cp) => `⏳ ${cp.description}`)
|
|
522
|
+
.join('\n')}
|
|
523
|
+
|
|
524
|
+
LOCKED DECISIONS:
|
|
525
|
+
${goal.decisions
|
|
526
|
+
.filter((d) => d.locked)
|
|
527
|
+
.map((d) => `🔒 ${d.description}`)
|
|
528
|
+
.join('\n')}
|
|
529
|
+
|
|
530
|
+
---
|
|
531
|
+
|
|
532
|
+
Summarize the following conversation, focusing on progress toward the goal:
|
|
533
|
+
${messagesToCompress.join('\n')}
|
|
534
|
+
|
|
535
|
+
PRESERVE:
|
|
536
|
+
- Decisions made toward the goal
|
|
537
|
+
- Checkpoints completed
|
|
538
|
+
- Files created/modified
|
|
539
|
+
- Blockers encountered
|
|
540
|
+
- Technical details relevant to the goal
|
|
541
|
+
- Next steps planned
|
|
542
|
+
|
|
543
|
+
SUMMARIZE AGGRESSIVELY:
|
|
544
|
+
- Off-topic discussions
|
|
545
|
+
- Exploratory conversations
|
|
546
|
+
- Debugging steps that succeeded
|
|
547
|
+
- Repeated information
|
|
548
|
+
|
|
549
|
+
Provide a concise summary that maintains essential information for continuing work on the goal.
|
|
550
|
+
`;
|
|
551
|
+
```
|
|
552
|
+
|
|
553
|
+
### Goal Markers
|
|
554
|
+
|
|
555
|
+
The LLM can use special markers in its output to update goals:
|
|
556
|
+
|
|
557
|
+
```
|
|
558
|
+
[GOAL] Implement user authentication system
|
|
559
|
+
[CHECKPOINT] Design authentication flow - COMPLETED
|
|
560
|
+
[CHECKPOINT] Implement login endpoint - COMPLETED
|
|
561
|
+
[CHECKPOINT] Add JWT token generation - IN PROGRESS
|
|
562
|
+
[DECISION] Use JWT for authentication - LOCKED
|
|
563
|
+
[DECISION] Store tokens in httpOnly cookies - LOCKED
|
|
564
|
+
[ARTIFACT] Created src/auth/login.ts
|
|
565
|
+
[ARTIFACT] Created src/auth/jwt.ts
|
|
566
|
+
[ARTIFACT] Modified src/routes/api.ts
|
|
567
|
+
[NEXT] Complete JWT token generation, then move to user registration
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### Context Structure with Goals
|
|
571
|
+
|
|
572
|
+
```mermaid
|
|
573
|
+
graph TB
|
|
574
|
+
subgraph "System Prompt - 1000 tokens"
|
|
575
|
+
A[Core Mandates]
|
|
576
|
+
B[Active Goal - 200 tokens]
|
|
577
|
+
C[Skills]
|
|
578
|
+
end
|
|
579
|
+
|
|
580
|
+
subgraph "Active Goal Never Compressed"
|
|
581
|
+
D[Goal: Implement user authentication]
|
|
582
|
+
E[Checkpoints: ✅ Design flow, ✅ Login endpoint, 🔄 JWT generation]
|
|
583
|
+
F[Decisions: 🔒 Use JWT, 🔒 httpOnly cookies]
|
|
584
|
+
G[Artifacts: Created login.ts, jwt.ts, Modified api.ts]
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
subgraph "Compressed History"
|
|
588
|
+
H[Checkpoint 1: 300 tokens ancient]
|
|
589
|
+
I[Checkpoint 2: 600 tokens old]
|
|
590
|
+
J[Checkpoint 3: 1200 tokens recent]
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
subgraph "Recent Messages"
|
|
594
|
+
K[User Messages: 3000 tokens never compressed]
|
|
595
|
+
L[Assistant Messages: 7500 tokens not yet compressed]
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
B --> D
|
|
599
|
+
D --> E
|
|
600
|
+
E --> F
|
|
601
|
+
F --> G
|
|
602
|
+
|
|
603
|
+
style B fill:#6bcf7f
|
|
604
|
+
style D fill:#6bcf7f
|
|
605
|
+
style E fill:#6bcf7f
|
|
606
|
+
style F fill:#6bcf7f
|
|
607
|
+
style G fill:#6bcf7f
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
### Benefits of Goal-Aware Compression
|
|
611
|
+
|
|
612
|
+
**1. Better Summarization Quality**
|
|
613
|
+
|
|
614
|
+
- LLM knows what's important
|
|
615
|
+
- Preserves goal-relevant information
|
|
616
|
+
- Summarizes off-topic content more aggressively
|
|
617
|
+
|
|
618
|
+
**2. Maintains Context Continuity**
|
|
619
|
+
|
|
620
|
+
- Goals provide thread through conversation
|
|
621
|
+
- Checkpoints show progress
|
|
622
|
+
- Decisions prevent backtracking
|
|
623
|
+
|
|
624
|
+
**3. Improved Reliability**
|
|
625
|
+
|
|
626
|
+
- Less context loss over compressions
|
|
627
|
+
- Clear progress tracking
|
|
628
|
+
- Explicit decision recording
|
|
629
|
+
|
|
630
|
+
**4. Better User Experience**
|
|
631
|
+
|
|
632
|
+
- User can see progress at a glance
|
|
633
|
+
- Clear next steps
|
|
634
|
+
- Transparent decision-making
|
|
635
|
+
|
|
636
|
+
---
|
|
637
|
+
|
|
638
|
+
## Session History Storage
|
|
639
|
+
|
|
640
|
+
The system maintains two separate storage systems:
|
|
641
|
+
|
|
642
|
+
### 1. Active Context (Memory)
|
|
643
|
+
|
|
644
|
+
```mermaid
|
|
645
|
+
graph LR
|
|
646
|
+
A[Active Context] --> B[System Prompt]
|
|
647
|
+
A --> C[Checkpoints Compressed]
|
|
648
|
+
A --> D[User Messages Never Compressed]
|
|
649
|
+
A --> E[Recent Messages Not Yet Compressed]
|
|
650
|
+
|
|
651
|
+
B --> F[Sent to LLM]
|
|
652
|
+
C --> F
|
|
653
|
+
D --> F
|
|
654
|
+
E --> F
|
|
655
|
+
|
|
656
|
+
style C fill:#ffd93d
|
|
657
|
+
style D fill:#6bcf7f
|
|
658
|
+
style E fill:#6bcf7f
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
- Compressed for LLM efficiency
|
|
662
|
+
- Sent to LLM with each message
|
|
663
|
+
- Contains:
|
|
664
|
+
- System prompt
|
|
665
|
+
- Checkpoints (compressed history)
|
|
666
|
+
- User messages (never compressed)
|
|
667
|
+
- Recent messages (not yet compressed)
|
|
668
|
+
|
|
669
|
+
### 2. Full History (Disk)
|
|
670
|
+
|
|
671
|
+
```mermaid
|
|
672
|
+
graph LR
|
|
673
|
+
A[Full History] --> B[ALL Messages Uncompressed]
|
|
674
|
+
A --> C[ALL Tool Calls]
|
|
675
|
+
A --> D[Metadata]
|
|
676
|
+
|
|
677
|
+
B --> E[Saved to Disk]
|
|
678
|
+
C --> E
|
|
679
|
+
D --> E
|
|
680
|
+
|
|
681
|
+
E --> F[~/.ollm/sessions/sessionId.json]
|
|
682
|
+
|
|
683
|
+
style B fill:#6bcf7f
|
|
684
|
+
style C fill:#6bcf7f
|
|
685
|
+
style F fill:#4d96ff
|
|
686
|
+
```
|
|
687
|
+
|
|
688
|
+
- Uncompressed complete record
|
|
689
|
+
- Saved to `~/.ollm/sessions/{sessionId}.json`
|
|
690
|
+
- Contains:
|
|
691
|
+
- ALL messages (uncompressed)
|
|
692
|
+
- ALL tool calls
|
|
693
|
+
- Metadata (tokens, compressions)
|
|
694
|
+
- Never affected by compression
|
|
695
|
+
- User can review anytime
|
|
696
|
+
|
|
697
|
+
**Key Principle:** Compression only affects what's sent to the LLM, not what's saved to disk.
|
|
698
|
+
|
|
699
|
+
### Session File Structure
|
|
700
|
+
|
|
701
|
+
```json
|
|
702
|
+
{
|
|
703
|
+
"sessionId": "uuid",
|
|
704
|
+
"startTime": "2026-01-26T10:00:00Z",
|
|
705
|
+
"lastActivity": "2026-01-26T11:30:00Z",
|
|
706
|
+
"model": "llama3.2:3b",
|
|
707
|
+
"provider": "ollama",
|
|
708
|
+
"messages": [
|
|
709
|
+
{
|
|
710
|
+
"role": "user",
|
|
711
|
+
"parts": [{ "type": "text", "text": "..." }],
|
|
712
|
+
"timestamp": "2026-01-26T10:00:00Z"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"role": "assistant",
|
|
716
|
+
"parts": [{ "type": "text", "text": "..." }],
|
|
717
|
+
"timestamp": "2026-01-26T10:00:15Z"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"toolCalls": [
|
|
721
|
+
{
|
|
722
|
+
"id": "call_123",
|
|
723
|
+
"name": "read_file",
|
|
724
|
+
"args": { "path": "file.ts" },
|
|
725
|
+
"result": { "llmContent": "..." },
|
|
726
|
+
"timestamp": "2026-01-26T10:00:20Z"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"metadata": {
|
|
730
|
+
"tokenCount": 8500,
|
|
731
|
+
"compressionCount": 2
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
```
|
|
735
|
+
|
|
736
|
+
---
|
|
737
|
+
|
|
738
|
+
## Snapshot System
|
|
739
|
+
|
|
740
|
+
### Snapshot vs Checkpoint
|
|
741
|
+
|
|
742
|
+
```mermaid
|
|
743
|
+
graph TB
|
|
744
|
+
subgraph "Checkpoint"
|
|
745
|
+
A[Compressed summary]
|
|
746
|
+
B[Part of active context]
|
|
747
|
+
C[Sent to LLM]
|
|
748
|
+
D[Ages over time]
|
|
749
|
+
end
|
|
750
|
+
|
|
751
|
+
subgraph "Snapshot"
|
|
752
|
+
E[Full conversation state]
|
|
753
|
+
F[Saved to disk]
|
|
754
|
+
G[Used for recovery]
|
|
755
|
+
H[Never changes]
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
style A fill:#ffd93d
|
|
759
|
+
style E fill:#6bcf7f
|
|
760
|
+
```
|
|
761
|
+
|
|
762
|
+
**Checkpoint:**
|
|
763
|
+
|
|
764
|
+
- Compressed summary of conversation history
|
|
765
|
+
- Part of active context
|
|
766
|
+
- Sent to LLM with each message
|
|
767
|
+
- Ages over time
|
|
768
|
+
|
|
769
|
+
**Snapshot:**
|
|
770
|
+
|
|
771
|
+
- Full conversation state saved to disk
|
|
772
|
+
- Not part of active context
|
|
773
|
+
- Used for recovery and rollback
|
|
774
|
+
- Never changes after creation
|
|
775
|
+
|
|
776
|
+
### Snapshot Structure
|
|
777
|
+
|
|
778
|
+
```typescript
|
|
779
|
+
interface ContextSnapshot {
|
|
780
|
+
id: string;
|
|
781
|
+
sessionId: string;
|
|
782
|
+
timestamp: Date;
|
|
783
|
+
context: ConversationContext; // Full state
|
|
784
|
+
tokenCount: number;
|
|
785
|
+
messageCount: number;
|
|
786
|
+
checkpointCount: number;
|
|
787
|
+
metadata: {
|
|
788
|
+
model: string;
|
|
789
|
+
tier: ContextTier;
|
|
790
|
+
mode: OperationalMode;
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
### Snapshot Operations
|
|
796
|
+
|
|
797
|
+
```mermaid
|
|
798
|
+
sequenceDiagram
|
|
799
|
+
participant User
|
|
800
|
+
participant Manager as Context Manager
|
|
801
|
+
participant Storage as Snapshot Storage
|
|
802
|
+
participant Disk
|
|
803
|
+
|
|
804
|
+
User->>Manager: Create snapshot
|
|
805
|
+
Manager->>Manager: Capture full state
|
|
806
|
+
Manager->>Storage: Save snapshot
|
|
807
|
+
Storage->>Disk: Write to file
|
|
808
|
+
Disk->>Storage: Confirm saved
|
|
809
|
+
Storage->>User: Snapshot created
|
|
810
|
+
|
|
811
|
+
Note over User,Disk: Later...
|
|
812
|
+
|
|
813
|
+
User->>Manager: Restore snapshot
|
|
814
|
+
Manager->>Storage: Load snapshot
|
|
815
|
+
Storage->>Disk: Read from file
|
|
816
|
+
Disk->>Storage: Return data
|
|
817
|
+
Storage->>Manager: Snapshot data
|
|
818
|
+
Manager->>Manager: Restore state
|
|
819
|
+
Manager->>User: Snapshot restored
|
|
820
|
+
```
|
|
821
|
+
|
|
822
|
+
**Create Snapshot:**
|
|
823
|
+
|
|
824
|
+
```typescript
|
|
825
|
+
const snapshot = await contextManager.createSnapshot();
|
|
826
|
+
// Saves full conversation state to disk
|
|
827
|
+
```
|
|
828
|
+
|
|
829
|
+
**Restore Snapshot:**
|
|
830
|
+
|
|
831
|
+
```typescript
|
|
832
|
+
await contextManager.restoreSnapshot(snapshotId);
|
|
833
|
+
// Restores conversation to previous state
|
|
834
|
+
```
|
|
835
|
+
|
|
836
|
+
**List Snapshots:**
|
|
837
|
+
|
|
838
|
+
```typescript
|
|
839
|
+
const snapshots = await contextManager.listSnapshots();
|
|
840
|
+
// Returns all available snapshots
|
|
841
|
+
```
|
|
842
|
+
|
|
843
|
+
---
|
|
844
|
+
|
|
845
|
+
## Reliability Tracking
|
|
846
|
+
|
|
847
|
+
The system tracks conversation reliability based on model size and compression count.
|
|
848
|
+
|
|
849
|
+
### Reliability Score Calculation
|
|
850
|
+
|
|
851
|
+
```typescript
|
|
852
|
+
// Model size factor
|
|
853
|
+
const modelFactor =
|
|
854
|
+
modelSize >= 70
|
|
855
|
+
? 0.95 // 70B+ models
|
|
856
|
+
: modelSize >= 30
|
|
857
|
+
? 0.85 // 30B models
|
|
858
|
+
: modelSize >= 13
|
|
859
|
+
? 0.7 // 13B models
|
|
860
|
+
: modelSize >= 7
|
|
861
|
+
? 0.5 // 7B models
|
|
862
|
+
: 0.3; // 3B and below
|
|
863
|
+
|
|
864
|
+
// Compression penalty (15% per compression)
|
|
865
|
+
const compressionPenalty = Math.max(
|
|
866
|
+
1.0 - compressionCount * 0.15,
|
|
867
|
+
0.3 // Never go below 30%
|
|
868
|
+
);
|
|
869
|
+
|
|
870
|
+
// Final score
|
|
871
|
+
const score = modelFactor * compressionPenalty * contextConfidence;
|
|
872
|
+
```
|
|
873
|
+
|
|
874
|
+
### Reliability Levels
|
|
875
|
+
|
|
876
|
+
```mermaid
|
|
877
|
+
graph LR
|
|
878
|
+
A[Reliability Score] --> B{Score?}
|
|
879
|
+
|
|
880
|
+
B -->|85-100%| C[🟢 High<br/>Excellent reliability]
|
|
881
|
+
B -->|60-84%| D[🟡 Medium<br/>Good reliability]
|
|
882
|
+
B -->|40-59%| E[🟠 Low<br/>Degraded reliability]
|
|
883
|
+
B -->|<40%| F[🔴 Critical<br/>Poor reliability]
|
|
884
|
+
|
|
885
|
+
style C fill:#6bcf7f
|
|
886
|
+
style D fill:#ffd93d
|
|
887
|
+
style E fill:#ff9f43
|
|
888
|
+
style F fill:#ff6b6b
|
|
889
|
+
```
|
|
890
|
+
|
|
891
|
+
### UI Display
|
|
892
|
+
|
|
893
|
+
```
|
|
894
|
+
Context: 5,234/13,600 🟡 65% (2 compressions)
|
|
895
|
+
```
|
|
896
|
+
|
|
897
|
+
**Warning for Low Reliability:**
|
|
898
|
+
|
|
899
|
+
```
|
|
900
|
+
⚠️ Context Compression Warning
|
|
901
|
+
Your model (llama3.2:3b) has compressed the conversation 3 times.
|
|
902
|
+
Small models may lose context accuracy after multiple compressions.
|
|
903
|
+
|
|
904
|
+
Recommendations:
|
|
905
|
+
- Continue if making good progress
|
|
906
|
+
- Start new conversation if seeing hallucinations
|
|
907
|
+
- Use larger model for complex long-term tasks
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
---
|
|
911
|
+
|
|
912
|
+
## Configuration
|
|
913
|
+
|
|
914
|
+
### Compression Config
|
|
915
|
+
|
|
916
|
+
```typescript
|
|
917
|
+
interface CompressionConfig {
|
|
918
|
+
enabled: boolean;
|
|
919
|
+
strategy: 'summarize' | 'truncate';
|
|
920
|
+
preserveRecent: number; // Tokens to preserve
|
|
921
|
+
summaryMaxTokens: number; // Max tokens for summary
|
|
922
|
+
}
|
|
923
|
+
```
|
|
924
|
+
|
|
925
|
+
### Snapshot Config
|
|
926
|
+
|
|
927
|
+
```typescript
|
|
928
|
+
interface SnapshotConfig {
|
|
929
|
+
enabled: boolean;
|
|
930
|
+
autoCreate: boolean;
|
|
931
|
+
autoThreshold: number; // Trigger at % of context
|
|
932
|
+
}
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
### Default Values
|
|
936
|
+
|
|
937
|
+
```typescript
|
|
938
|
+
const DEFAULT_CONFIG = {
|
|
939
|
+
compression: {
|
|
940
|
+
enabled: true,
|
|
941
|
+
strategy: 'summarize',
|
|
942
|
+
preserveRecent: 2048,
|
|
943
|
+
summaryMaxTokens: 1024,
|
|
944
|
+
},
|
|
945
|
+
snapshots: {
|
|
946
|
+
enabled: true,
|
|
947
|
+
autoCreate: true,
|
|
948
|
+
autoThreshold: 0.8, // 80% of available budget
|
|
949
|
+
},
|
|
950
|
+
};
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
---
|
|
954
|
+
|
|
955
|
+
## Events
|
|
956
|
+
|
|
957
|
+
### Compression Events
|
|
958
|
+
|
|
959
|
+
- `compressed` - Compression completed
|
|
960
|
+
- `compression-skipped` - Compression skipped (not needed)
|
|
961
|
+
- `compression-error` - Compression failed
|
|
962
|
+
- `rollover-complete` - Context rollover completed
|
|
963
|
+
- `checkpoint-created` - New checkpoint created
|
|
964
|
+
- `checkpoint-aged` - Checkpoint aged
|
|
965
|
+
|
|
966
|
+
### Snapshot Events
|
|
967
|
+
|
|
968
|
+
- `snapshot-created` - Snapshot created
|
|
969
|
+
- `snapshot-restored` - Snapshot restored
|
|
970
|
+
- `snapshot-error` - Snapshot operation failed
|
|
971
|
+
- `auto-snapshot-created` - Auto-snapshot created
|
|
972
|
+
|
|
973
|
+
---
|
|
974
|
+
|
|
975
|
+
## Best Practices
|
|
976
|
+
|
|
977
|
+
### 1. Compression
|
|
978
|
+
|
|
979
|
+
- Enable compression for long conversations
|
|
980
|
+
- Monitor reliability score
|
|
981
|
+
- Start new conversation if reliability drops below 40%
|
|
982
|
+
- Use larger models for complex long-term tasks
|
|
983
|
+
|
|
984
|
+
### 2. Goals and Decisions
|
|
985
|
+
|
|
986
|
+
- Always mark important decisions as "never compress"
|
|
987
|
+
- Set clear goals at conversation start
|
|
988
|
+
- Track checkpoints for complex tasks
|
|
989
|
+
- Goals are preserved across all compressions
|
|
990
|
+
|
|
991
|
+
### 3. Session Management
|
|
992
|
+
|
|
993
|
+
- Full history always saved to disk
|
|
994
|
+
- Review full history anytime
|
|
995
|
+
- Export sessions for documentation
|
|
996
|
+
- Search across sessions for insights
|
|
997
|
+
|
|
998
|
+
### 4. Snapshots
|
|
999
|
+
|
|
1000
|
+
- Create snapshots before major changes
|
|
1001
|
+
- Use snapshots for experimentation
|
|
1002
|
+
- Restore snapshots if conversation goes off track
|
|
1003
|
+
- Keep important snapshots for reference
|
|
1004
|
+
|
|
1005
|
+
---
|
|
1006
|
+
|
|
1007
|
+
## Troubleshooting
|
|
1008
|
+
|
|
1009
|
+
### Poor Reliability
|
|
1010
|
+
|
|
1011
|
+
**Symptom:** Reliability score below 40%
|
|
1012
|
+
|
|
1013
|
+
**Solutions:**
|
|
1014
|
+
|
|
1015
|
+
1. Start new conversation
|
|
1016
|
+
2. Use larger model (13B+ recommended)
|
|
1017
|
+
3. Review and preserve important decisions
|
|
1018
|
+
4. Create checkpoint before continuing
|
|
1019
|
+
|
|
1020
|
+
### Compression Failures
|
|
1021
|
+
|
|
1022
|
+
**Symptom:** "Compression failed" error
|
|
1023
|
+
|
|
1024
|
+
**Solutions:**
|
|
1025
|
+
|
|
1026
|
+
1. Check LLM is responding
|
|
1027
|
+
2. Verify enough messages to compress
|
|
1028
|
+
3. Check compression config
|
|
1029
|
+
4. Review logs for specific error
|
|
1030
|
+
|
|
1031
|
+
### Rapid Re-Compression
|
|
1032
|
+
|
|
1033
|
+
**Symptom:** Compression triggers immediately after previous compression
|
|
1034
|
+
|
|
1035
|
+
**Solutions:**
|
|
1036
|
+
|
|
1037
|
+
1. Verify dynamic budget calculation is working
|
|
1038
|
+
2. Check checkpoint tokens are being tracked
|
|
1039
|
+
3. Ensure checkpoints are aging properly
|
|
1040
|
+
4. Review compression trigger threshold (should be 80% of available)
|
|
1041
|
+
|
|
1042
|
+
---
|
|
1043
|
+
|
|
1044
|
+
## File Locations
|
|
1045
|
+
|
|
1046
|
+
| File | Purpose |
|
|
1047
|
+
| ----------------------------------------------------- | ---------------------------------- |
|
|
1048
|
+
| `packages/core/src/context/compressionCoordinator.ts` | Orchestrates compression |
|
|
1049
|
+
| `packages/core/src/context/compressionService.ts` | LLM summarization |
|
|
1050
|
+
| `packages/core/src/context/checkpointManager.ts` | Checkpoint management |
|
|
1051
|
+
| `packages/core/src/context/snapshotManager.ts` | Snapshot operations |
|
|
1052
|
+
| `packages/core/src/context/messageStore.ts` | Tracks usage, triggers compression |
|
|
1053
|
+
| `packages/core/src/context/goalManager.ts` | Goal management |
|
|
1054
|
+
| `packages/core/src/services/chatRecordingService.ts` | Full history storage |
|
|
1055
|
+
|
|
1056
|
+
---
|
|
1057
|
+
|
|
1058
|
+
## Summary
|
|
1059
|
+
|
|
1060
|
+
### Key Features
|
|
1061
|
+
|
|
1062
|
+
1. **Dynamic Budget Management** ✅
|
|
1063
|
+
- Available budget recalculated after each compression
|
|
1064
|
+
- Accounts for system prompt and checkpoints
|
|
1065
|
+
- Triggers at 80% of available space
|
|
1066
|
+
|
|
1067
|
+
2. **Checkpoint Aging** ✅
|
|
1068
|
+
- Checkpoints compress further over time
|
|
1069
|
+
- Recent: 50-70% compression
|
|
1070
|
+
- Old: 60% compression
|
|
1071
|
+
- Ancient: 70% compression
|
|
1072
|
+
- Ultra: 80% compression
|
|
1073
|
+
|
|
1074
|
+
3. **LLM-Based Summarization** ✅
|
|
1075
|
+
- LLM summarizes its own output
|
|
1076
|
+
- Preserves meaning and context
|
|
1077
|
+
- Quality scales with model size
|
|
1078
|
+
- User messages never compressed
|
|
1079
|
+
|
|
1080
|
+
4. **Goal-Aware Compression** ✅
|
|
1081
|
+
- Goals guide summarization
|
|
1082
|
+
- Important decisions preserved
|
|
1083
|
+
- Progress tracked across compressions
|
|
1084
|
+
- Clear continuity maintained
|
|
1085
|
+
|
|
1086
|
+
5. **Dual Storage** ✅
|
|
1087
|
+
- Active context: Compressed for LLM
|
|
1088
|
+
- Full history: Uncompressed on disk
|
|
1089
|
+
- Compression doesn't affect saved history
|
|
1090
|
+
- Complete audit trail maintained
|
|
1091
|
+
|
|
1092
|
+
6. **Reliability Tracking** ✅
|
|
1093
|
+
- Scores based on model size and compressions
|
|
1094
|
+
- Warnings for low reliability
|
|
1095
|
+
- Recommendations for improvement
|
|
1096
|
+
- Clear user feedback
|
|
1097
|
+
|
|
1098
|
+
---
|
|
1099
|
+
|
|
1100
|
+
**Document Status:** ✅ Complete
|
|
1101
|
+
**Last Updated:** January 26, 2026
|
|
1102
|
+
**Purpose:** Complete guide to context compression and checkpoint system
|