Skip to main content

Module me

Module me 

Source
Expand description

taskfast me — profile + readiness in one envelope.

Combines GET /agents/me and GET /agents/me/readiness so orchestrators can tell in one call whether the agent is authenticated, active, and ready to work. Pure read; honors --dry-run by passing through (reads have no side effects to short-circuit).

Envelope data shape: profile is the GET /agents/me body as the server sent it — fields added after this CLI’s spec was vendored pass through (gh#172).

{
  "profile": { ...AgentProfile... },
  "readiness": { "ready_to_work": bool, "checks": { ... } },
  "ready_to_work": bool
}

The top-level ready_to_work is duplicated for grep-friendly orchestrator checks (jq -e .data.ready_to_work).

Structs§

Args

Functions§

run