Repository navigation
Modes
Toshon edited this page Jun 20, 2026
·
1 revision
Perci's interface is organized into modes — distinct surfaces for different kinds of work. Each mode opens as a floating window on the desktop-like Dashboard.
Modes are defined in src/context/ModeContext.jsx as the MODES enum. Non-mode windows (OpenClaw, Hermes, YouTube, etc.) use the same window system but are registered separately.
| Mode | Window Title | Description |
|---|---|---|
| Dashboard | (always mounted) | Desktop home screen with tiles, 3D office scene, and quick access to all modes |
| Chat | Chat | Multi-provider AI chat with reasoning UI |
| Cowork | Cowork | Parallel agent sessions (Claude Code, Aider, Codex, etc.) |
| Code | Code | Code editor surface for AI-assisted implementation |
| Build | Build | AI app builder for generating deployable applications |
| Mission Control | Mission Control | Agent run orchestration, transit map, validation, and monitoring |
| Agents | Agents | Multi-agent orchestration panel |
| Autoresearch | Autoresearch | Deep research scientist — autonomous search, synthesis, and reporting |
| Office (Perci HQ) | Perci HQ | Animated 3D office environment |
| Lighthouse | Lighthouse | Port scanning and service conflict detection |
| Notes | Workspace Notes | Markdown wiki notes with backlinks and encryption |
| BARS | BARS | OS-surface idea notebook |
| Bill Board | Bill Board | Service, subscription, and API key tracker |
| StudioOS | StudioOS | View and manage your StudioOS workspace |
These use the same window/dock system but are not part of the MODES enum:
| Window | ID | Description |
|---|---|---|
| OpenClaw | openclaw |
Embedded OpenClaw gateway dashboard (webview) |
| Hermes | hermes |
Hermes local AI gateway — runs, sessions, insights, web UI |
| YouTube | youtube |
YouTube video playback (webview) |
| G-Dash | gdash |
G-Dash service dashboard (iframe) |
| Artifact | artifact |
Dedicated artifact viewing window |
| Research Results | research |
Dedicated research output window |
| Compare | compare |
Side-by-side comparison view |
- Open: Click a mode in the ModeSwitcher, or click a Dashboard tile
- Minimize: Click the yellow traffic-light button, or click the dock chip
- Focus: Click a dock chip or window title bar
- Close: Click the red traffic-light button
- Resize: Drag any edge or corner (8-way)
- Move: Drag the title bar
- Maximize: Double-click the title bar, or click the green traffic-light button
- Persist: Open windows survive page reloads; geometry is remembered
Webview-backed windows (OpenClaw, Hermes, YouTube, G-Dash) minimize with a plain fade instead of the whirlpool spin to avoid transform flicker on embedded frames.
To add a new mode to Perci:
- Add a key to
MODESinsrc/context/ModeContext.jsx - Add a title to
WINDOW_TITLESin the same file - Create the component in
src/components/ - Add the import and route in
src/App.jsx(renderWindowContentswitch) - Optionally add a Dashboard tile in
src/components/DashboardMode.jsx