v2.6.0 — Multi-Project Tab + Switcher
v2.6.0 — Multi-Project Tab + Switcher
No more mixing. Each project is fully isolated — each has its own .cortex/cortex.db, features, files, and tests. Switch between them with one click.
What's new
- Projects tab — see all discovered cortex projects as cards with name/goal/stack/counts + Switch button
GET /api/projects— scans parent directories for.cortex/cortex.db, reads project info from eachPOST /api/projects/switch— switch active project (closes old DB, opens new, watcher auto-updates)/statereturnsprojects_current+projects_available— dashboard always knows which project is active- TopBar — project name is clickable, links to Projects tab
- Sidebar — new Projects nav item with Layers icon
- API server PROJECT_PATH now dynamic — changes at runtime when switching projects
- DB watcher — auto-updates to watch the new project's database on switch
- WebSocket event —
project_switchedfires on switch
How it works
Dashboard → /api/projects → scans .cortex/cortex.db up to 5 parent dirs
User clicks Switch → POST /api/projects/switch → closes old DB → opens new DB
Dashboard reloads → new project data loads → clean separation
Changelog
- 53 files changed, +502/-240
- npm
@neuralnexustech/cortex-mcp@2.6.0