A professional, feature-packed AI coding assistant extension for Visual Studio Code, powered by the Hcnsec API (新疆幻城网安科技公益大模型).
🌟 Key Features / المميزات الرئيسية
- 💬 Copilot-Style Sidebar Chat: Sleek, modern chat interface matching VS Code design aesthetics.
- 🌍 Trilingual Support (AR / EN / ZH): Full UI translation in Arabic (مع دعم كامل لاتجاه RTL), English, and Chinese (简体中文).
- 🧠 Agentic Mode (Planner & Executor): Delegate complex multi-step coding tasks using separate Planner and Executor models.
- 📁 Project & Code Context Awareness: Instantly send full file contents, selection, folder structures, or automated project summaries to the AI with one click.
- 🤖 Multi-Model Support: Choose from top-tier models including DeepSeek-V4, Qwen3.5, GLM-4.7, Kimi-K2.6, MiniMax, Step, and auto-routing.
- 🔑 Bring Your Own Key (BYOK): Secure API key & custom endpoint configuration.
- ⚡ Code Block Utilities: One-click code copying and syntax formatting.
🚀 Installation / التثبيت
Method 1: Directly from VS Code (Recommended)
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X). - Search for
Hcnsec AI AssistantorHcnsecAIAssistant.hcnsec-assistant. - Click Install.
Method 2: Via VS Code Terminal (CLI)
Run the following command in your terminal:
code --install-extension HcnsecAIAssistant.hcnsec-assistant
Method 3: Manual VSIX Package
- Download the latest
.vsixfrom the Releases or builds. - In VS Code Extensions tab, click
...-> Install from VSIX...
⚙️ Configuration / الإعدادات
- Click on the Hcnsec AI icon (🤖) on the Activity Bar.
- Switch to the ⚙️ Settings tab.
- Enter your Hcnsec API Key (
sk-...). - Select your preferred Chat Model and Language (English 🇬🇧 / العربية 🇸🇦 / 中文 🇨🇳).
- (Optional) Enable Agentic Mode and select your preferred Planner & Executor models.
- Click Save.
📖 Usage / الاستخدام
- Chatting: Ask coding questions, debug errors, or generate boilerplate directly in the 💬 Chat tab.
- Context Bar: Click 📄 Current File, 📁 Project Structure, 🔍 Selected Code, or 📋 Project Summary to attach rich context to your message.
- Editor Context Menu: Select code in any editor file, right-click, and choose Hcnsec AI: Ask About This Code.
📜 License
Distributed under the MIT License.