Catch is a SwiftPM macOS app for quickly finding and continuing local agent sessions from Codex, Claude Code, and Goose.
Use the project-local macOS run script:
./script/build_and_run.shThe script follows the Build macOS Apps workflow:
- stops any currently running
CodexSessionsprocess - builds the SwiftPM executable with
swift build - stages a macOS
.appbundle at~/Applications/CodexSessions.app - launches the app bundle with
/usr/bin/open -n
The Codex app Run action is wired to the same script through .codex/environments/environment.toml.
./script/build_and_run.sh --verifyBuilds, launches, and confirms the CodexSessions process is running.
./script/build_and_run.sh --logsBuilds, launches, and streams unified logs for the app process.
./script/build_and_run.sh --telemetryBuilds, launches, and streams unified logs filtered to the app bundle identifier.
./script/build_and_run.sh --debugBuilds the app bundle and opens the app executable in lldb.