{"id":42039661,"url":"https://github.com/anubissbe/knowledgehub-vscode-extension","last_synced_at":"2026-01-26T05:32:52.727Z","repository":{"id":304219651,"uuid":"1018143342","full_name":"anubissbe/knowledgehub-vscode-extension","owner":"anubissbe","description":"VS Code extension that enhances AI tools with persistent memory, learning, and project context","archived":false,"fork":false,"pushed_at":"2025-07-11T17:23:53.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T19:23:51.304Z","etag":null,"topics":["ai-tools","code-completion","developer-tools","github-copilot","machine-learning","productivity","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anubissbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-11T17:20:26.000Z","updated_at":"2025-07-11T17:23:56.000Z","dependencies_parsed_at":"2025-07-11T19:23:53.487Z","dependency_job_id":"634b5130-7ab4-4cf5-9069-c6c25387353e","html_url":"https://github.com/anubissbe/knowledgehub-vscode-extension","commit_stats":null,"previous_names":["anubissbe/knowledgehub-vscode-extension"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/anubissbe/knowledgehub-vscode-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubissbe%2Fknowledgehub-vscode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubissbe%2Fknowledgehub-vscode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubissbe%2Fknowledgehub-vscode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubissbe%2Fknowledgehub-vscode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anubissbe","download_url":"https://codeload.github.com/anubissbe/knowledgehub-vscode-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anubissbe%2Fknowledgehub-vscode-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28767273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-tools","code-completion","developer-tools","github-copilot","machine-learning","productivity","vscode-extension"],"created_at":"2026-01-26T05:32:52.649Z","updated_at":"2026-01-26T05:32:52.720Z","avatar_url":"https://github.com/anubissbe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KnowledgeHub AI Intelligence - VS Code Extension\n\nTransform your AI development tools with persistent memory, learning, and project context.\n\n## 🚀 What This Extension Does\n\nThis extension bridges **any AI tool** (GitHub Copilot, Claude Dev, Cline, etc.) with **KnowledgeHub AI Intelligence**, giving them:\n\n- **🧠 Persistent Memory**: Remembers everything across sessions\n- **📚 Project Context**: Understands your codebase patterns and decisions  \n- **🎯 Learning Intelligence**: Learns from mistakes and improves over time\n- **🔗 Session Continuity**: Picks up exactly where you left off\n- **⚡ Performance Optimization**: Uses learned patterns for better suggestions\n\n## 🎯 Supported AI Tools\n\n### Automatically Enhanced:\n- **GitHub Copilot** (Claude 4, GPT-4.1, etc.)\n- **Continue/Cline** - AI coding assistant\n- **Claude Dev** - Anthropic's VS Code extension\n- **Codeium** - Free AI code completion\n- **TabNine** - AI code completion\n- **AWS CodeWhisperer** - Amazon's AI assistant\n\n### Generic Support:\n- Any AI extension that provides code completion or chat\n\n## 🔧 Features\n\n### Memory \u0026 Context\n- **Session Continuity**: AI remembers previous conversations and decisions\n- **Project-Aware**: Understands your specific codebase and patterns\n- **Cross-Session Learning**: Learns from mistakes and successes\n- **Decision Tracking**: Remembers why architectural choices were made\n\n### AI Enhancement\n- **Context Injection**: Automatically adds relevant project context to AI requests\n- **Pattern Recognition**: Uses learned patterns for better suggestions\n- **Error Prevention**: Warns about issues based on past experience\n- **Performance Optimization**: Learns optimal approaches for your projects\n\n### Real-Time Intelligence\n- **Live Context Tracking**: Monitors your coding activity in real-time\n- **Predictive Assistance**: Suggests next steps based on patterns\n- **Smart Completions**: Enhanced code completions with project awareness\n- **Learning Dashboard**: View AI insights and learning progress\n\n## 🚀 Quick Start\n\n### 1. Prerequisites\n- VS Code 1.80.0 or later\n- KnowledgeHub server running (see [setup guide](../knowledgehub/README.md))\n\n### 2. Installation\n```bash\n# Clone the repository\ngit clone \u003crepository-url\u003e\ncd knowledgehub-vscode-extension\n\n# Install dependencies\nnpm install\n\n# Compile TypeScript\nnpm run compile\n\n# Package extension (optional)\nvsce package\n```\n\n### 3. Configuration\nOpen VS Code settings and configure:\n\n```json\n{\n  \"knowledgehub.server.url\": \"http://192.168.1.25:3000\",\n  \"knowledgehub.ai.autoEnhance\": true,\n  \"knowledgehub.ai.primaryProvider\": \"auto\",\n  \"knowledgehub.ai.enhancementLevel\": \"maximum\"\n}\n```\n\n### 4. First Use\n1. Open Command Palette (`Ctrl+Shift+P`)\n2. Run `KnowledgeHub: Initialize AI Session`\n3. Your AI tools are now enhanced! \n\n## 🎮 Commands\n\n| Command | Description |\n|---------|-------------|\n| `KnowledgeHub: Initialize AI Session` | Start enhanced AI session |\n| `KnowledgeHub: Show AI Dashboard` | Open AI insights dashboard |\n| `KnowledgeHub: Analyze Project Context` | Analyze current project |\n| `KnowledgeHub: Show Memory Context` | View AI memory and history |\n| `KnowledgeHub: Enable AI Enhancement` | Toggle AI enhancement on/off |\n\n## ⚙️ Configuration\n\n### Basic Settings\n```json\n{\n  // KnowledgeHub server URL\n  \"knowledgehub.server.url\": \"http://192.168.1.25:3000\",\n  \n  // Automatically enhance AI requests\n  \"knowledgehub.ai.autoEnhance\": true,\n  \n  // Primary AI provider to enhance\n  \"knowledgehub.ai.primaryProvider\": \"auto\", // or \"github_copilot\", \"cline\", etc.\n  \n  // Level of context enhancement\n  \"knowledgehub.ai.enhancementLevel\": \"maximum\" // \"minimal\", \"standard\", \"maximum\"\n}\n```\n\n### Advanced Settings\n```json\n{\n  // Track code changes for learning\n  \"knowledgehub.memory.trackChanges\": true,\n  \n  // Context compression ratio for small models\n  \"knowledgehub.context.compressionRatio\": 10,\n  \n  // UI preferences\n  \"knowledgehub.ui.hasShownWelcome\": false\n}\n```\n\n## 🔍 How It Works\n\n### Before Enhancement:\n```\nYou: \"Create user authentication\"\nAI: [Generic auth code with no project context]\n```\n\n### After KnowledgeHub Enhancement:\n```\nYou: \"Create user authentication\"\n\nAI gets enhanced context:\n- Your project uses JWT with 15min expiry (learned from past decisions)\n- Follows existing error handling patterns\n- Integrates with your existing user service\n- Uses your team's preferred validation approach\n\nAI: [Perfect code that fits your project perfectly]\n```\n\n## 🧠 AI Intelligence Features\n\n### 1. Session Continuity\n- Remembers conversations across VS Code restarts\n- Maintains context between different projects\n- Links related work sessions automatically\n\n### 2. Learning Intelligence\n- Learns from your coding patterns and preferences\n- Remembers solutions to problems you've encountered\n- Adapts suggestions based on what works in your projects\n\n### 3. Project Intelligence\n- Understands your codebase architecture and patterns\n- Tracks decisions and their rationale\n- Suggests improvements based on project history\n\n### 4. Performance Intelligence\n- Optimizes AI requests based on learned patterns\n- Compresses context for faster responses\n- Routes requests to optimal AI providers\n\n## 📊 Dashboard\n\nAccess the AI Dashboard to view:\n- **Memory Statistics**: What the AI has learned\n- **Pattern Recognition**: Identified code patterns\n- **Decision History**: Past architectural choices\n- **Performance Metrics**: AI effectiveness stats\n- **Learning Progress**: Continuous improvement tracking\n\n## 🔧 Development\n\n### Building the Extension\n```bash\n# Install dependencies\nnpm install\n\n# Compile TypeScript\nnpm run compile\n\n# Watch for changes\nnpm run watch\n\n# Package for distribution\nvsce package\n```\n\n### Testing\n```bash\n# Run extension in development mode\nF5 (in VS Code)\n\n# Test with different AI providers\n# Enable GitHub Copilot, Cline, etc. and test enhancement\n```\n\n## 🤝 Integration Examples\n\n### GitHub Copilot Enhanced\nWhen you use Copilot, you get:\n- **Project context** automatically injected\n- **Learned patterns** applied to suggestions\n- **Past decisions** considered in code generation\n- **Error prevention** based on experience\n\n### Cline/Continue Enhanced\nWhen you chat with Cline, it knows:\n- **Full project history** and context\n- **Previous conversations** and solutions\n- **Code patterns** you prefer\n- **Architectural decisions** and rationale\n\n### Claude Dev Enhanced\nClaude Dev gets enhanced with:\n- **Memory** of past interactions\n- **Project understanding** from KnowledgeHub\n- **Pattern recognition** for better suggestions\n- **Learning** from successful outcomes\n\n## 🌐 Network Architecture\n\n```\nVS Code Extension\n       ↓\nKnowledgeHub AI (192.168.1.25:3000)\n       ↓\n13 MCP Services (192.168.1.24:3001-3015)\n```\n\nThe extension works with the distributed KnowledgeHub infrastructure to provide intelligent AI enhancement.\n\n## 🚨 Troubleshooting\n\n### Extension Not Activating\n```bash\n# Check KnowledgeHub server connection\ncurl http://192.168.1.25:3000/health\n\n# Verify VS Code version\ncode --version\n\n# Check extension logs\nView → Output → KnowledgeHub AI\n```\n\n### AI Enhancement Not Working\n1. Check AI provider is installed and active\n2. Verify `knowledgehub.ai.autoEnhance` is enabled\n3. Initialize AI session: `Ctrl+Shift+P` → `KnowledgeHub: Initialize AI Session`\n\n### Context Not Loading\n1. Check KnowledgeHub server is running\n2. Verify workspace folder is open\n3. Check network connectivity to 192.168.1.25\n\n## 📈 Performance\n\n- **Minimal Latency**: \u003c200ms context enhancement\n- **Efficient Memory**: Uses smart caching and compression\n- **Scalable**: Handles large codebases with context compression\n- **Reliable**: Fallback modes ensure continuous operation\n\n## 🔒 Security\n\n- **No Code Transmission**: Only metadata and context sent to KnowledgeHub\n- **Local Processing**: AI enhancement happens locally when possible\n- **Secure Storage**: All data encrypted and stored securely\n- **Privacy-First**: No data sent to external services without consent\n\n## 🎯 Roadmap\n\n### Version 1.1\n- [ ] Real-time code analysis and suggestions\n- [ ] Advanced pattern recognition\n- [ ] Multi-language context understanding\n\n### Version 1.2\n- [ ] Team collaboration features\n- [ ] Advanced AI routing and optimization\n- [ ] Custom AI provider support\n\n### Version 2.0\n- [ ] Natural language interface\n- [ ] Predictive code generation\n- [ ] Advanced learning algorithms\n\n## 📝 License\n\nMIT License - see [LICENSE](LICENSE) file for details.\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly\n5. Submit a pull request\n\n## 📞 Support\n\n- **Issues**: [GitHub Issues](../../issues)\n- **Discussions**: [GitHub Discussions](../../discussions)\n- **Documentation**: [Full Documentation](../knowledgehub/docs/)\n\n---\n\n**Transform your AI development tools with memory, learning, and context!** 🚀","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanubissbe%2Fknowledgehub-vscode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanubissbe%2Fknowledgehub-vscode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanubissbe%2Fknowledgehub-vscode-extension/lists"}