feat: add 'hf agent status' wrapper #5
Reference in New Issue
Block a user
Delete Branch "feat/agent-status-cli"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
plan-scheduleworkflow needs to report runtime status at the end of planning (idle / busy / on_call / exhausted / offline), but the cli had no wrapper forPOST /calendar/agent/status— workflows resorted to inlinecurlmid-procedure.Adds
hf agent status --set <status> [--reason <rate_limit|billing>] [--recovery-at <iso>]. ReadsAGENT_IDfrom env (same as the openclaw plugin convention), falls back tohostname()forCLAW_IDENTIFIERwhen unset. Refuses withoutAGENT_IDsince the endpoint only makes sense from a pcexec/agent runtime context.Surface entry added so
hf --helplists it.🤖 Generated with Claude Code