Troubleshooting
Try restarting VS Code first. Check Output panel (β+Shift+U β βVrekoβ) for errors.
Quick Fixes
When Vreko first loads it checks five preconditions. If any are unmet, the status bar shows an actionable message instead of π¦. Click the status bar item to resolve each one.
$(warning) Install Vreko CLI The Vreko CLI is not installed or not on your PATH.
npm install -g @vreko/cli
vreko --versionOr click the status bar item - it opens a terminal and runs the install automatically.
$(sync~spin) Starting Vrekoβ¦
The service is starting. This resolves on its own within a few seconds. If it persists, reload VS Code (β+Shift+P β Developer: Reload Window).
$(key) Sign in to Vreko You are not authenticated. Click the status bar item to open the sign-in flow in your browser, then return to VS Code.
$(folder) Initialize workspace This workspace has not been initialized. Click the status bar item or run:
vreko init$(plug) Connect AI tool
MCP is not configured for your AI assistant. Click the status bar item or run β+Shift+P β Vreko: Configure MCP. Supported tools configure automatically - no manual editing needed.
Extension not installing:
# Close VS Code, clear cache, reinstall
rm -rf ~/.vscode/extensions/marcellelabs.vreko-*
code --install-extension MarcelleLabs.vreko-vscodeRequirements:
- VS Code 1.70+
- Node.js 14+ (for CLI)
Not creating snapshots:
- Check status bar for π¦ icon (green = active)
- Save a file with Cmd+S / Ctrl+S
- Check Vreko sidebar
Permission denied (EACCES):
chmod -R 755 .vreko/AI tool not detected:
- Make a change with AI, then save
- Check status bar for AI detection badge
Force detection:
// .vrekorc
{
"aiDetection": {
"forceEnable": true,
"tool": "cursor"
}
}Too many false positives:
{
"autoDecisionEngine": {
"riskThreshold": 70
}
}MCP not connecting:
β+Shift+P β Vreko: MCP ReconnectRun diagnostics:
β+Shift+P β Vreko: MCP DiagnoseVerify CLI:
npm install -g @vreko/cli
vreko --versionsnap_begin / snap_end sessions not linking:
If snap_begin creates a session but snap_end reports βNo active session to closeβ, the MCP server is not connecting to your local service correctly.
-
Verify the service is running:
ls ~/.vreko/service.sock vreko service status -
Check what your MCP config is pointing at - it should use the local Vreko binary, not a remote endpoint. See Session Not Linking β for the full diagnostic.
-
Rebuild and restart the MCP server:
pnpm --filter @vreko/cli build # Then reload your AI assistant
Sessions created in one workspace not visible in another:
Each workspace must have its own MCP server process with its specific workspace path. Sessions are workspace-scoped by design - this is expected behavior, not a bug.
Slow performance:
# Clean old snapshots
vreko cleanup --keep 30d
# Or via VS Code
β+Shift+P β Vreko: Clean Old SnapshotsExclude large directories:
// .vrekoignore
{
"exclude": ["**/node_modules/**", "**/dist/**"]
}Error Codes
| Code | Issue | Fix |
|---|---|---|
ERR_001 | Storage permission denied | chmod -R 755 .vreko/ |
ERR_002 | Invalid config | Check JSON syntax in .vrekorc |
ERR_003 | Network error | Check internet, firewall settings |
FAQ
Get Help
| Channel | Best For |
|---|---|
| Discord | Quick questions, community help |
| GitHub Issues | Bug reports, feature requests |
| support@vreko.dev | Direct support (24-48h response) |
Generate debug report:
β+Shift+P β Vreko: Generate Debug Report