Skip to main content

Module kill_all

Module kill_all 

Source
Expand description

kill-all — terminate every process holding a lock anywhere under the configured OBJECTIVEAI_DIR.

Where {api,db,mcp,viewer} kill target one server by its known lock key, this is the blunt sweep: it walks the whole dir tree for every *.lock file, resolves each one’s live owner PIDs, and kills them all — the api server, per-state db supervisors (taking their postmasters with them), viewers, mcp servers, and any agent-holding cli processes. Idempotent: a count of zero is not an error.

Modules§

request_schema
response_schema

Structs§

Args
Command
ListenerExecution
One /listen broadcast run of kill_all: the actual Request, the producer’s AgentArguments, and the unary response future. See crate::cli::websocket_listener.
Request
Response

Enums§

Path
Schema

Functions§

execute
execute_transform