Overview
Settings modal with all 10 configurable fields, reading/writing the shared config.json.
Acceptance Criteria
Settings modal opens with ',' key
10 fields: Yolo Mode (toggle), Agent (text), Model (text), Launch Mode (select), Pane Direction (select), Terminal (select from detected), Shell (select from detected), Custom Command (text), Theme (select), Crash Recovery (toggle)
Reads from existing dispatch config.json (shared with TUI)
Writes back with file locking to prevent conflicts with TUI
Config migration support (version field)
Validation: invalid values show error inline
Changes apply immediately (no restart needed)
Reset to defaults button per field
Config file location displayed (clickable to open in file manager)
Config File Location
Windows: %APPDATA%/dispatch/config.json\
macOS: ~/Library/Application Support/dispatch/config.json\
Linux: ~/.config/dispatch/config.json\
Notes
Same JSON schema as Go config package
File locking via proper-lockfile to prevent race with TUI
Schema version migration matches Go's currentConfigVersion
Overview
Settings modal with all 10 configurable fields, reading/writing the shared config.json.
Acceptance Criteria
Config File Location
Notes