feat: Alfred Commander v1.0.1 — 3551 lines of AI chat, voice commands, workspace tools

- AI chat with multi-provider support (Anthropic, OpenAI, Groq)
- Voice command recognition and TTS
- File explorer, terminal integration
- Account stats and usage tracking
- Session management with token auth
- Webview-based chat panel with markdown rendering
This commit is contained in:
Commander 2026-04-07 15:47:17 -04:00
parent efaca82e49
commit bac008c14a
9 changed files with 3687 additions and 0 deletions

3551
extension.js Normal file

File diff suppressed because it is too large Load Diff

10
extensions.json Normal file
View File

@ -0,0 +1,10 @@
{
"recommendations": [
"gositeme.alfred-commander"
],
"unwantedRecommendations": [
"ms-vscode-remote.remote-ssh",
"ms-vscode.remote-server",
"ms-vscode.remote-explorer"
]
}

6
media/alfred-icon.svg Normal file
View File

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#e2b340" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"/>
<path d="M19 10v2a7 7 0 0 1-14 0v-2"/>
<line x1="12" y1="19" x2="12" y2="23"/>
<line x1="8" y1="23" x2="16" y2="23"/>
</svg>

After

Width:  |  Height:  |  Size: 352 B

View File

@ -0,0 +1,17 @@
# Meet Alfred
Alfred is your AI coding companion, built into the sidebar.
## What Alfred Can Do
- **Answer questions** about your code, frameworks, and tools
- **Generate code** from natural language descriptions
- **Debug issues** by analyzing errors and suggesting fixes
- **Explain code** — select any block and ask "what does this do?"
- **Run tools** — file search, terminal commands, web lookups
## How to Start
1. Click the **Alfred icon** (🅰️) in the activity bar (left side)
2. Type your question or request in the chat input
3. Press Enter — Alfred responds in real time
Alfred remembers your conversation context, so you can have natural multi-turn discussions about your code.

View File

@ -0,0 +1,18 @@
# AI Models
Alfred IDE supports multiple AI providers and models.
## Available Tiers
| Tier | Best For | Examples |
|------|----------|---------|
| **Leaf** | Simple tasks, quick answers | GPT-4o-mini, local Ollama |
| **Mid** | Code generation, analysis | Claude 3.5 Sonnet, GPT-4o |
| **Frontier** | Complex reasoning, architecture | Claude Opus, GPT-4 |
| **Max** | Research, multi-step planning | Claude Opus (extended) |
## How to Switch
Use the **model dropdown** at the top of the Alfred panel to select your preferred model.
## Local Models
If Ollama is running, local models appear automatically — your code never leaves your machine.

View File

@ -0,0 +1,24 @@
# Keyboard Shortcuts
Master these to work at full speed.
## Alfred Commands
| Shortcut | Action |
|----------|--------|
| `Ctrl+Shift+Alt+O` | Open Alfred Panel |
| `Ctrl+Shift+Alt+A` | Toggle Voice Mode |
## Essential IDE Shortcuts
| Shortcut | Action |
|----------|--------|
| `Ctrl+P` | Quick File Open |
| `Ctrl+Shift+P` | Command Palette |
| `Ctrl+`` ` | Toggle Terminal |
| `Ctrl+B` | Toggle Sidebar |
| `Ctrl+Shift+E` | File Explorer |
| `Ctrl+Shift+F` | Search Across Files |
| `Ctrl+Shift+G` | Source Control |
| `F5` | Start Debugging |
| `Ctrl+/` | Toggle Line Comment |
| `Alt+↑/↓` | Move Line Up/Down |
| `Ctrl+D` | Select Next Occurrence |

View File

@ -0,0 +1,27 @@
# Sovereign Development
Alfred IDE is built on one principle: **your code is yours**.
## What We Don't Do
- ❌ No telemetry or usage tracking
- ❌ No analytics or behavior profiling
- ❌ No data sold to third parties
- ❌ No phone-home to Microsoft, Google, or anyone
- ❌ No extension marketplace surveillance
## What We Do
- ✅ All AI calls go through your GoSiteMe account
- ✅ Conversations are stored in YOUR database
- ✅ Local Ollama models keep everything on-device
- ✅ Secret redaction engine scrubs credentials from all output
- ✅ Post-quantum encryption available via Veil Protocol
## The GoSiteMe Ecosystem
Alfred IDE is one pillar of the sovereign computing stack:
- **Alfred Linux** — AI-native operating system
- **Alfred Browser** — zero-tracking web browser
- **Alfred Mobile** — sovereign smartphone OS
- **Veil** — post-quantum encrypted messaging
- **MetaDome** — VR worlds with 51M+ AI agents
Welcome to the kingdom. 🏰

View File

@ -0,0 +1,16 @@
# Account & Usage
Monitor your plan, usage, and billing from inside the IDE.
## How to Access
Click your **username** in the bottom status bar, or run:
- Command Palette → "Alfred: Account & Usage Stats"
## What You'll See
- **Plan**: Your current subscription tier
- **Token Usage**: How many AI tokens you've consumed
- **Credit Balance**: Remaining credits for the billing period
- **Active Services**: Which ecosystem services are linked
## Commander Access
If you're the Commander (client_id 33), you have unlimited access — no token limits, no restrictions.

View File

@ -0,0 +1,18 @@
# Voice Commands
Talk to your IDE — Alfred listens, transcribes, and responds.
## How It Works
1. Click the **🎤 microphone** button in the Alfred panel
2. Speak naturally — your voice is transcribed in real time
3. Alfred processes your request and responds
## Voice Architecture
- **STT (Speech-to-Text)**: Whisper-based transcription
- **LLM**: Your selected AI model processes the request
- **TTS (Text-to-Speech)**: Kokoro voices read the response back
## Tips
- Speak clearly and at a normal pace
- You can say "stop" or click the mic again to end recording
- Voice works best with short, focused requests