Vibe Engine ⚡
Live Vibe Detection Engine for Visual Studio Code.
Analyzes real-time developer behavioral telemetry and dynamically adapts IDE behavior based on psychological and cognitive state inference.
Features
- Real-time Telemetry: Typing speed, error frequency, backspace rate, undo usage, file switching, session duration, time of day, Git commit messages
- 8 Vibe States: Deep Focus · Creative Chaos · Frustrated Debugging · Rapid Prototyping · Calm Engineering · Deadline Rush · Fatigue Mode · Burnout Warning
- Cognitive Metrics: Cognitive load, flow state, risk level, burnout risk, energy trend
- Safe Commit Mode: Warning modal when risk is elevated; optional temp branch creation
- Break Reminders: Automated fatigue and burnout alerts
- Sidebar Dashboard: Real-time energy graph, vibe badge, metric grid, suggestions
- Optional LLM Enhancement: Local Ollama integration (disabled by default)
Settings
| Setting |
Default |
Description |
vibeEngine.enableLLM |
false |
Enable Ollama LLM enhancement |
vibeEngine.ollamaUrl |
http://localhost:11434 |
Ollama endpoint URL |
vibeEngine.evaluationInterval |
60 |
Seconds between state evaluations |
vibeEngine.enableSafeCommitMode |
true |
Intercept commits when risk is elevated |
vibeEngine.enableBreakReminders |
true |
Show break reminders on fatigue/burnout |
Commands
- Vibe Engine: Open Dashboard — Focus the sidebar dashboard
- Vibe Engine: Toggle LLM Enhancement — Enable/disable Ollama
- Vibe Engine: Reset Baseline Data — Clear stored baseline averages
Architecture
src/
├── extension.ts — Activation & wiring
├── types/index.ts — Shared interfaces & enums
├── constants.ts — Thresholds & defaults
├── telemetry/TelemetryCollector.ts — Event capture
├── engine/RuleEngine.ts — Scoring & classification
├── analyzer/StateAnalyzer.ts — 60s evaluation loop
├── llm/LLMEnhancer.ts — Optional Ollama
├── git/GitMonitor.ts — Commit interception
├── storage/StorageManager.ts — globalState persistence
└── webview/DashboardPanel.ts — Sidebar UI
License
MIT
| |