Expand description
Resolve the stackless CLI binary used to spawn the operator daemon.
Third-party SDK consumers must not be spawned as the daemon: only the
installed CLI understands daemon run. Resolution is pure-testable via
resolve_daemon_bin_from because edition 2024 + unsafe_code = "forbid"
blocks in-process set_var.
Enums§
- Resolve
Source - How the daemon executable was resolved.
Functions§
- is_
cli_ process - Whether
mark_cli_processhas been called in this process. - mark_
cli_ process - Mark this process as the stackless CLI entrypoint (
stackless::cli::run). - resolve_
daemon_ bin - Resolve the CLI binary from the real process environment.
- resolve_
daemon_ bin_ from - Pure resolver for tests and
resolve_daemon_bin. - should_
replace_ daemon - Whether a version mismatch should drain and respawn the daemon.