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
Catchprocess - builds the SwiftPM executable with
swift build - stages a macOS
.appbundle at~/Applications/Catch.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.
To launch the app in embedded-host mode:
./script/build_and_run.sh --embeddedEmbedded mode currently uses the same UI behavior as standalone mode, but records the launch context for future host-aware behavior.
Open the package in Xcode and select the CatchKit scheme before refreshing SwiftUI previews. CatchKit is exposed as a dynamic library product so previews can build through a framework scheme; using the Catch executable scheme can produce Xcode's ENABLE_DEBUG_DYLIB preview error.
./script/build_and_run.sh --verifyBuilds, launches, and confirms the Catch 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.
Unsigned macOS release assets are produced by:
./script/package_release.sh 0.1.0The script builds a universal arm64 + x86_64 executable and writes two assets to dist/release:
Catch-v0.1.0-macos-universal.dmgfor standalone installationcatch-v0.1.0-macos-universal.tar.gzfor Tauri sidecar embedding
Standalone users may need to allow the unsigned app in macOS Gatekeeper settings. Embedders should extract the tarball, verify the GitHub release asset digest, copy catch to the host app's expected sidecar filename, and launch it with --embedded.
Publishing is automated by .github/workflows/release.yml for v* tags and manual workflow dispatch.