Arguments
string
required
The session to message.
--session-id <session-id> also works.string
required
The message to deliver.
Options
string
Answer this open question card. Without it, the message answers the oldest
open card. Get card ids from
pendingQuestions in qa read --json.string
Wait for Mo’s response for up to this long, then print the new output the same
way
qa read does. Accepts 0 or a value
such as 30s, 2m, or 500ms, up to 290s. Without --wait, the command
returns as soon as the message is delivered.Output
Without--wait, the command prints the same JSON object as
qa read --json: sessionId,
status, completed, timedOut, messages, and pendingInput and
pendingQuestions when question cards remain open. With --wait, it prints
Mo’s new messages as plain text on stdout and the same stderr status lines as
qa read, such as Mo is still working. or the list of open questions.
Examples
Answer a question Mo asked, then wait for it to continue:Notes
- A message to an archived session fails. Run
qa unarchivefirst. - The CLI retries delivery once when the response is lost, so a message can
still arrive even when the command reports a network error. Check with
qa readbefore sending it again.