# claudedo autostart (OPT-IN). starts the voice daemon once per WSL session in its # own tmux session, if not already running. WSL has no real boot and usually no # systemd, so this rc-based guard matches WSL's "starts when you open a terminal" # model. POSIX; safe to source under bash and zsh. # # this only acts when CLAUDEDO_AUTOSTART=1 is set (the rc marker block gates on it), # so sourcing it alone does nothing. to enable: export CLAUDEDO_AUTOSTART=1 before # the cc-kit marker block in your rc. to disable: unset it (or remove this file). # # the daemon runs detached; watch its logs with: tmux attach -t claudedo-daemon if [ "${CLAUDEDO_AUTOSTART:-0}" = "1" ]; then if command -v claudedo >/dev/null 2>&1; then if ! tmux has-session -t claudedo-daemon 2>/dev/null; then tmux new-session -d -s claudedo-daemon "claudedo start" fi fi fi