Usage
codaph (default when no command specified)
Description
The Codaph TUI provides:- Browse View - List sessions by date or individual sessions
- Inspect View - Deep-dive into session prompts, thoughts, outputs, file changes
- Chat - Ask questions about sessions using Mubit semantic search
- Project Manager - Switch between tracked projects
- Settings - Configure Mubit/OpenAI keys, project ID, actor ID
.codaph/ mirror (no network required except for chat).
Flags
Working directory / project path (defaults to current directory)
Keyboard Shortcuts
Global
qorCtrl+C- Quit?- Toggle helps- Toggle settingsp- Toggle project managerTab- Switch between Browse/Inspect views
Browse View
↑/↓orj/k- Navigate sessionsEnter- Open selected session in Inspect viewg- Toggle grouping (session / day)a- Cycle actor filter (all / specific actors)r- Refresh (re-sync from Mubit)
Inspect View
←/→orh/l- Switch panes (Prompts / Thoughts / Files / Diff / Chat)↑/↓orj/k- Scroll within paneEnter- Select prompt (in Prompts pane) or view full diff (in Diff pane)Backspace- Return to Browse view/- Open chatEsc- Close chat / overlays
Chat
- Type question and press
Enter- Query Mubit for selected session ↑/↓- Scroll chat historyEsc- Close chat
Settings
↑/↓- Navigate settingsEnter- Edit selected setting- Type value and press
Enter- Save Esc- Cancel edit / close settings
- Mubit API Key
- Mubit Project ID
- Mubit Actor ID
- OpenAI API Key
- Project Name
Project Manager
↑/↓- Navigate projectsEnter- Switch to selected projectd- Remove project from registrya- Add new project (opens directory picker)Esc- Close project manager
View Modes
Browse View
List agent sessions with metadata:- Day (default) - Group sessions by date
- Session - Flat list of individual sessions
g.
Actor filter:
- all (default) - Show all contributors
- alice - Show only alice’s prompts
- bob - Show only bob’s prompts
a.
Inspect View
Deep-dive into selected session:Prompts Pane
List prompts in chronological order:Enter to expand selected prompt (shows thoughts, outputs, files).
Thoughts Pane
View agent reasoning for selected prompt:↑/↓.
Files Pane
List file changes from selected prompt:+ = lines added, - = lines removed
Diff Pane
View unified diff for selected prompt:Enter to view full diff in overlay.
Chat Pane
Ask questions about the session using Mubit:MUBIT_API_KEY. Optional OPENAI_API_KEY for AI-enhanced responses.
Startup Behavior
Auto-sync on Startup
IfautoWarmTuiOnOpen is enabled (default), TUI runs codaph pull in background:
Project Detection
TUI starts in:- Project specified by
--cwd - Current directory
- Last-used project from registry
Examples
Launch TUI
Launch in Specific Project
Launch from Anywhere
Chat Examples
Identity Queries
Session Queries
Semantic Queries
MUBIT_API_KEY for semantic search.
Performance
Session Cache
TUI caches session analysis to improve browsing speed:.codaph/.tui-cache.json(session metadata)- Invalidated when
.codaph/mirror updates
Background Sync
Pull operations run in background without blocking UI:- Status bar shows progress
- Sessions refresh when complete
Troubleshooting
No Sessions Found
Chat Not Working
TUI Crashes on Startup
Terminal Requirements
- Color support: 256-color terminal recommended
- Unicode: UTF-8 encoding for icons/symbols
- Minimum size: 80x24 characters (120x40 recommended)
Related Commands
- codaph pull - Sync cloud to local
- codaph push - Import agent history
- codaph status - View sync status