- Platform: native macOS menubar app.
- UI: SwiftUI and AppKit through
MenuBarExtra,NSMenu,NSAlert, and SwiftUI-backed panels. - Build system: Tuist.
- Primary local workflow: shell-first, not Xcode-first.
Generated .xcodeproj and .xcworkspace files are transient build artifacts for the shell workflow, not source-of-truth files to open in Xcode during normal development.
Generate the project without opening Xcode:
tuist generate --no-openBuild:
make buildPackage a local release zip:
make package-releasemake package-release builds CodexPill.app in Release configuration and, by
default, requires local Developer ID signing and notarization configuration
before it creates a public release artifact. Configure these environment
variables locally:
RELEASE_VERSION: public release tag, for examplev0.1.0-beta.1. Packaging uses this for the artifact name and injects it into the app soAboutshows the released version instead ofDev.DEVELOPER_ID_APPLICATION: Developer ID Application signing identity name or SHA-1 hash.APPLE_TEAM_ID: Apple Developer team ID.NOTARY_PROFILE: localnotarytoolkeychain profile name.
Create the notary profile with xcrun notarytool store-credentials <profile-name>. Do not commit Apple IDs, passwords, API keys, keychain exports,
or signing credentials.
For build and zip validation only, run:
PACKAGE_RELEASE_ALLOW_UNSIGNED=1 make package-releaseUnsigned validation artifacts are marked UNSIGNED-LOCAL and are not public
beta release artifacts. Dirty working trees are refused by default. For local
validation only, PACKAGE_RELEASE_ALLOW_DIRTY=1 allows the command to continue
and marks the artifact name with DIRTY.
The first public beta was published as
v0.1.0-beta.1.
Future public beta releases should use the same signed/notarized artifact path
until release automation replaces the manual GitHub Release flow.
Test:
make testRun:
./scripts/run_menubar.shStop:
./scripts/stop_menubar.shReset local state before testing the signed release install:
./scripts/reset_release_test_state.sh
./scripts/reset_release_test_state.sh --apply --installThe reset script is dry-run by default. It removes CodexPill app state,
preferences, local build artifacts, isolated temporary login homes, and optional
remote ~/.codexpill cache when called with --remote <host>. Use
--remote-sign-out only when you intentionally want to remove the remote
host's active Codex login.
Behavior and invariant requirements live in VALIDATION.md. Run
make test before opening a pull request.
- Codex is installed as
com.openai.codex. - The primary live auth file is
~/.codex/auth.json. - Rate-limit reads come from local or remote
codex app-serversurfaces. - Tuist must be installed locally before build validation can succeed.
- Privacy and data-handling expectations live in PRIVACY.md.