Troubleshooting
Debug Mode
Enable: "promptregistry.enableLogging": true
View logs: View → Output → AI Primitives Hub
Common Issues
Bundles Not Showing in Copilot
- Check sync completed in logs
- Verify directory exists:
- macOS:
~/Library/Application Support/Code/User/prompts/ - Linux:
~/.config/Code/User/prompts/ - Windows:
%APPDATA%\Code\User\prompts\
- macOS:
- Restart VS Code (
Ctrl+R) - Run
AI Primitives Hub: Sync All Bundles
Installation Fails
- Network: Check internet connection
- Permission: Ensure write access to user directory
- Invalid Bundle: Verify bundle has valid manifest
- Check logs for
[ERROR]messages
Authentication Fails (404/401)
- Check VS Code GitHub auth (bottom-left avatar)
- Try GitHub CLI:
gh auth status - Add explicit token with
reposcope - Run:
AI Primitives Hub: Validate Repository Access - Force refresh authentication:
AI Primitives Hub: Force GitHub Authentication
Source Connection Failed
- Verify repository URL
- Check repository visibility (public/private)
- Wait if rate-limited
Hub Not Displaying After Selection
If you selected a hub but it doesn't appear in the Registry Explorer:
- Check logs (
View → Output → AI Primitives Hub) for hub sync errors - Verify the hub URL is reachable from your network
- Run
AI Primitives Hub: Sync Hubfrom the Command Palette - If the hub still doesn't appear, run
AI Primitives Hub: Reset First Run, then reload VS Code (Ctrl+R)
Hub Selector Not Shown on First Launch
If you installed the extension but were never prompted to select a hub:
- Ensure VS Code is version 1.99.3 or above
- Run
AI Primitives Hub: Reset First Runfrom the Command Palette - Reload VS Code (
Ctrl+R) — the hub selector should appear
Useful Commands
Access these commands via Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
Diagnostic Commands
AI Primitives Hub: Validate Repository Access- Test GitHub connectivity and permissionsAI Primitives Hub: Force GitHub Authentication- Refresh authentication tokensAI Primitives Hub: List Sources- Show all configured sources and their statusAI Primitives Hub: List Installed- Show all installed bundles
Sync Commands
AI Primitives Hub: Sync All Sources- Refresh bundle lists from all sourcesAI Primitives Hub: Sync Source- Refresh specific sourceAI Primitives Hub: Sync All Bundles- Re-sync installed bundles to Copilot
Bundle Management
AI Primitives Hub: Update All Bundles- Check and update all installed bundlesAI Primitives Hub: Manual Check for Updates- Force check for bundle updates
Nuclear Option: Complete Reset
⚠️ WARNING: Use as last resort only!
If all other troubleshooting steps fail, you can completely reset the extension:
-
Complete Extension Reset (most thorough):
- Uninstall the AI Primitives Hub extension
- Close VS Code completely
- Delete the extension storage directory:
- macOS:
~/Library/Application Support/Code/User/globalStorage/amadeus-prompt-registry/ - Linux:
~/.config/Code/User/globalStorage/amadeus-prompt-registry/ - Windows:
%APPDATA%\Code\User\globalStorage\amadeus-prompt-registry\
- macOS:
- Restart VS Code
- Reinstall the AI Primitives Hub extension
-
Reset First Run Command (alternative):
- Run:
AI Primitives Hub: Reset First Run - Reload VS Code window (
Ctrl+R/Cmd+R)
- Run:
This will completely remove:
- All configured sources
- All installed bundles
- All profiles and settings
- Authentication tokens
- Cache data
You'll need to reconfigure everything from scratch.