Your AI-Powered Second Brain for Development Context
SecondCortex is a VS Code extension designed to capture and resurrect your development state. It tracks your IDE activity, enforces a Semantic Firewall to protect sensitive data, and allows you to "resurrect" complex workspace setups with a single command.
🚀 Key Features
Workspace Resurrection Engine: Restore branch context, stashes, open files, and terminal intent in one flow.
Live Context Capture: Continuously snapshots editor and terminal activity with debounce and noise filtering.
Secure-By-Default Pipeline: Semantic Firewall redacts keys, passwords, and sensitive tokens before sync.
SecondCortex Sidebar Chat: Ask architecture or project-history questions directly inside VS Code.
Session History + New Chat: Quickly revisit prior conversations or start clean context threads.
Shadow Graph Panel: Open the visual context graph to inspect relationships across captured work.
Safe Authentication Layer: Login state uses VS Code SecretStorage for encrypted local token handling.
CLI + Command Palette Support: Trigger core actions from slash commands, extension commands, or terminal CLI.
🛠️ Getting Started
Install the extension from the VS Code Marketplace.
Log In via the SecondCortex sidebar icon in the Activity Bar.
Capture: Work naturally. SecondCortex captures snapshots in the background.
Resurrect:
Type /resurrect latest in the SecondCortex Chat.
Or run cortex resurrect latest in your terminal.
🔒 Privacy & Security
SecondCortex is designed with a "Privacy First" approach. Our Semantic Firewall ensures that API keys, passwords, and other PII are redacted locally before any data is sent to the backend.
📖 License
This project is licensed under the MIT License - see the LICENSE file for details.