diff options
| author | soryu <soryu@soryu.co> | 2026-01-21 23:50:23 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-21 23:50:23 +0000 |
| commit | 7c5ff74616d23a4e35fb7f84d5292fd90e6cd7a8 (patch) | |
| tree | d496267b1c18e15a1c8413f32abdbb5be2b9d618 /makima/src/daemon/cli/daemon.rs | |
| parent | 9e286c146e29e714b3b209b4d948d75cce179b05 (diff) | |
| download | soryu-makima/task-task-dc119baa-dc119baa.tar.gz soryu-makima/task-task-dc119baa-dc119baa.zip | |
Add dependency checking on daemon startupmakima/task-task-dc119baa-dc119baa
- Create setup module with check_dependencies() to verify Claude Code,
git, and npm are installed
- Add colored status output showing version info for each dependency
- If Claude Code is missing and npm is available, offer to install it
- Show OS-specific installation instructions for missing dependencies
- Add --skip-setup-check flag to DaemonArgs for CI/CD environments
- Check runs as step [0/5] before configuration loading
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'makima/src/daemon/cli/daemon.rs')
| -rw-r--r-- | makima/src/daemon/cli/daemon.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/makima/src/daemon/cli/daemon.rs b/makima/src/daemon/cli/daemon.rs index c779d64..a8c0b4a 100644 --- a/makima/src/daemon/cli/daemon.rs +++ b/makima/src/daemon/cli/daemon.rs @@ -38,4 +38,9 @@ pub struct DaemonArgs { /// Requires bwrap to be installed on the system. #[arg(long, env = "MAKIMA_DAEMON_BUBBLEWRAP")] pub bubblewrap: bool, + + /// Skip dependency checks on startup. + /// Useful for CI/CD or when you know dependencies are installed. + #[arg(long, env = "MAKIMA_DAEMON_SKIP_SETUP_CHECK")] + pub skip_setup_check: bool, } |
