Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install CMake
run: command -v cmake >/dev/null 2>&1 || brew install cmake
- name: Rust tests
run: cargo test
working-directory: src-tauri
Expand All @@ -24,6 +26,8 @@ jobs:
node-version: "20"
cache: "npm"
- uses: dtolnay/rust-toolchain@stable
- name: Install CMake
run: command -v cmake >/dev/null 2>&1 || brew install cmake
- name: Install dependencies
run: npm ci
- name: Typecheck
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
with:
workspaces: './src-tauri -> target'

- name: Install CMake
run: brew install cmake

- name: Install dependencies
run: npm ci

Expand Down Expand Up @@ -178,7 +181,7 @@ jobs:
- name: install dependencies (linux only)
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf libfuse2 xdg-utils
sudo apt-get install -y cmake libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf libfuse2 xdg-utils

- name: setup node
uses: actions/setup-node@v4
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,17 @@ CodexMonitor is a macOS Tauri app for orchestrating multiple Codex agents across

- Node.js + npm
- Rust toolchain (stable)
- CMake (required to build native Whisper bindings)
- Codex installed on your system and available as `codex` in `PATH`
- Git CLI (used for worktree operations)
- GitHub CLI (`gh`) for the Issues panel (optional)

If the `codex` binary is not in `PATH`, update the backend to pass a custom path per workspace.
If you hit native build errors, run:

```bash
npm run doctor
```

## Getting Started

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
"dev": "vite",
"build": "tsc && vite build",
"build:appimage": "NO_STRIP=1 tauri build --bundles appimage",
"doctor": "sh scripts/doctor.sh",
"doctor:strict": "sh scripts/doctor.sh --strict",
"typecheck": "tsc --noEmit",
"preview": "vite preview",
"tauri": "tauri"
"tauri": "tauri",
"tauri:dev": "npm run doctor:strict && tauri dev",
"tauri:build": "npm run doctor:strict && tauri build"
},
"dependencies": {
"@tauri-apps/api": "^2",
Expand Down
43 changes: 43 additions & 0 deletions scripts/doctor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/usr/bin/env sh
set -u

STRICT=0
if [ "${1:-}" = "--strict" ]; then
STRICT=1
fi

missing=""
if ! command -v cmake >/dev/null 2>&1; then
missing="cmake"
fi

if [ -z "$missing" ]; then
echo "Doctor: OK"
exit 0
fi

echo "Doctor: missing dependencies: $missing"

case "$(uname -s)" in
Darwin)
echo "Install: brew install cmake"
;;
Linux)
echo "Ubuntu/Debian: sudo apt-get install cmake"
echo "Fedora: sudo dnf install cmake"
echo "Arch: sudo pacman -S cmake"
;;
MINGW*|MSYS*|CYGWIN*)
echo "Install: choco install cmake"
echo "Or download from: https://cmake.org/download/"
;;
*)
echo "Install CMake from: https://cmake.org/download/"
;;
esac

if [ "$STRICT" -eq 1 ]; then
exit 1
fi

exit 0
Loading