Expand description
taskfast events — lifecycle event read/stream/ack + AsyncAPI schema.
Subcommands:
poll— one-shotGET /api/agents/me/events(cursor-paginated read). Envelope-wrapped like every other subcommand.stream— long-running WebSocket to/socket/agentthat emits one JSONL line per event on stdout. Bypasses the envelope — stdout is the contract.--ack-stdinacks events on the same socket, which advances the server-side cursor and releases the next event.ack— retired. The server has no HTTP ack route; the command fails with a pointer toevents stream --ack-stdin.schema—GET /api/asyncapi.json. Prints the full AsyncAPI 2.6 document or filters to a single event type via--event.
Re-exports§
pub use ack::AckArgs;pub use poll::PollArgs;pub use schema::SchemaArgs;pub use stream::StreamArgs;
Modules§
- ack
taskfast events ack <id>— retired; points callers atevents stream --ack-stdin.- poll
taskfast events poll— single-page read overGET /agents/me/events.- schema
taskfast events schema— fetch the AsyncAPI 2.6 spec for the event stream.- stream
taskfast events stream— long-running WebSocket tail on/socket/agent.
Enums§
Functions§
- run
- Dispatch non-stream subcommands.
Streamis handled inmain.rsbecause it writes JSONL directly to stdout and must bypass the envelope wrapper.