Write to a command started with async
briq_exec_inputWrite to the stdin of a command started with briq_exec async and stdinOpen: a follow-up message, an answer, an approval (a JSON line to claude -p --input-format stream-json, a JSON-RPC request to an app server). eof: true closes it; the command then reads end of file. Writes land in order, 64 KB at most each. Pass seq (the last one plus one, as briq_exec_result shows) so that sending a write again after an error never writes it twice. Read what it answers with briq_exec_result and offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eof | No | Close its input after this write | |
| seq | No | This write's number: the last one's plus one. A seq already taken writes nothing and says so | |
| briq | Yes | ||
| data | No | Text to write, newline included when the command reads lines | |
| exec | Yes | exec id (ex_…), from briq_exec | |
| base64 | No | Bytes to write, as base64; instead of data |