Expand description
The Claude CLI subprocess behind every ambient call: spawn it as bare text generation, race it against cancellation and a timeout, and parse its stream-json reply.
Constants§
- AMBIENT_
MODEL - The model every ambient call runs on.
Functions§
- invoke_
haiku - Invoke the Claude CLI on
AMBIENT_MODELfor one ambient call, withintimeout(the purpose’s own,purpose::Purpose::timeout).