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 viataskfast events ack <id>from a separate process.ack—POST /api/agents/me/events/:id/ack. Advances the server-side cursor and releases the in-flight slot so the next event can be pushed on the live stream.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>— advance server-side event cursor.- 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.