listener
Enables, disables, or reports the status of an agent's own background listener. Start idempotently or stop gracefully after the current task finishes to control task intake.
Instructions
Manage this agent's own background listener (AGENT_ID only).
status: enabled/running/pid and the id of the message the listener is currently waiting on — never task payload. enable: removes the disabled marker and idempotently starts the listener (duplicate sessions create no duplicate — the listener holds an exclusive flock). disable: writes the marker; the listener then takes no new task, lets the current worker finish and exits. No PID is ever killed from here. Dispatch itself stays governed by systemd/config.json auto..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||