From f7c08980d2a161a3739c71fddc5ca20871892365 Mon Sep 17 00:00:00 2001 From: soryu Date: Thu, 22 Jan 2026 01:32:19 +0000 Subject: Add dependency checking on daemon startup (#19) - 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 --- makima/src/daemon/cli/daemon.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'makima/src/daemon/cli/daemon.rs') 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, } -- cgit v1.2.3