From 7c5ff74616d23a4e35fb7f84d5292fd90e6cd7a8 Mon Sep 17 00:00:00 2001 From: soryu Date: Wed, 21 Jan 2026 23:50:23 +0000 Subject: Add dependency checking on daemon startup - 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') 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