System prompt upgrades: - Implementation Discipline: don't over-engineer, read before edit, no premature abstractions - Action Safety: reversibility assessment, confirm destructive ops - Verification Protocol: verify before reporting done, report failures faithfully - Output Excellence: state intent before acting, brief updates, complete context - Code Style: default to NO comments, diagnose before switching tactics New LSP tools (5): - goto-definition: Jump to symbol definition via Language Server - find-references: Find all references to symbol across workspace - document-symbols: List all functions/classes/variables in a file - hover-info: Get type info and documentation for symbol at position - workspace-symbols: Search symbols across entire workspace by name Tool Registry: - Formal TOOL_REGISTRY array with 17 tools defined with schemas - buildToolAwareness() injects tool listing into system prompt - AI now discoverable-aware of all available IDE tools |
||
|---|---|---|
| media | ||
| .gitignore | ||
| .vsixmanifest | ||
| extension.js | ||
| extensions.json | ||
| package.json | ||
| README.md | ||
Alfred Commander (Theia / code-server extension)
Alfred IDE = GoCodeMe Theia in the browser (/ide/...), not Cursor. Extensions are loaded from gocodeme/theia-fork/plugins/ (see gocodeme/docs/ALFRED_COMMANDER_THEIA.md).
New panel — does not replace gositeme.alfred-voice; you can disable the old one when you’re happy.
What’s included (full stack)
- All agents & model routes (same list as Alfred Voice)
- Voice: mic → Whisper STT → chat; TTS playback of replies
- Hands-free, attachments (images, PDF, text, ZIP), payload meter, telemetry log, retry
- IDE shortcuts as explicit buttons (Terminal, Save, Save all, Commands, Split, New file) — chat text is never hijacked by “save/search/find” phrases
run <cmd>still sends only to the integrated terminal (not to AI)insert/typeprefixes still insert at cursor
Proven wiring (kept from working code)
POST /api/alfred-chat.phpwithide_session_token, IDE bearer headers, Set-Cookie array handling, CSRF retryide_client_id/ide_sigHMAC when profile is available- Request id on thinking rows for reply alignment
Install (Alfred IDE / Theia — primary)
Canonical copy:
~/.local/share/code-server/extensions/gositeme.alfred-commander-1.0.0/
Theia (Alfred IDE) loads plugins from:
gocodeme/theia-fork/plugins/gositeme.alfred-commander-1.0.0 → symlink to the canonical path above.
- Confirm that symlink exists on the server.
- Restart your IDE session (stop + launch Theia) so plugins reload.
- View → Open View… → Alfred Commander.
Optional: code-server-only installs can use the same canonical path under ~/.local/share/code-server/extensions/.
- Activity bar — gold mic Alfred Commander; or Command Palette → Alfred Commander: Open Panel.
- Optional: disable
alfred-voiceif you don’t want two Alfred panels. - To dock on the right: drag the view into the secondary side bar (View → Appearance → Secondary Side Bar).
Commands & keys (no View menu required)
- Ctrl+Shift+P (or F1) → type
Alfred Commander: Open Panel→ Enter.
This works even when the top menu bar is hidden. - Ctrl+Shift+Alt+O — Open Panel (after extension loads / VSIX updated).
- Ctrl+Shift+Alt+A — Toggle mic
- Alfred Commander: Test API Connection — from Command Palette
If the menu bar is missing: Ctrl+Shift+P → Preferences: Open Settings → search menu bar → set Menu Bar Visibility to Visible (or Classic). The extension also sets a default to show the menu when possible.
Commands (palette)
Alfred Commander: Open PanelAlfred Commander: Toggle MicAlfred Commander: Test API Connection
Token
Same as before: sign in at /alfred-ide/, session.json in logs/alfred-ide/ or ~/.alfred-ide/, or ALFRED_IDE_TOKEN env.