pub fn classify_service_cmdline(command: &str) -> Option<ServiceKind>Expand description
Classify a process command line as a lean-ctx background service, or
None for everything else — MCP stdio servers, hooks, command runners,
one-shot CLI calls and foreign programs. Pure, so the selection rules are
covered on every platform.
The executable is the first word whose file name is lean-ctx: ps
prints Unix paths unquoted, so a directory with a space splits the path
into several words of which only the last names the binary.