summaryrefslogtreecommitdiff
path: root/makima/src/daemon/cli/daemon.rs
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-22 01:32:19 +0000
committerGitHub <noreply@github.com>2026-01-22 01:32:19 +0000
commitf7c08980d2a161a3739c71fddc5ca20871892365 (patch)
treed517c4399edf09c3b7fe957c27d852b052f6ec31 /makima/src/daemon/cli/daemon.rs
parentb61a907bac09a7649ca3f6d850e771b3b75c7015 (diff)
downloadsoryu-f7c08980d2a161a3739c71fddc5ca20871892365.tar.gz
soryu-f7c08980d2a161a3739c71fddc5ca20871892365.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'makima/src/daemon/cli/daemon.rs')
-rw-r--r--makima/src/daemon/cli/daemon.rs5
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,
}