Expand description
functions execute standard — in-process chunk-or-id
streaming handler.
Same two-mode shape as agents spawn: stream=true drives the
upstream WS directly via [super::runner::run] and yields each
chunk as it arrives; stream=false re-execs objectiveai-cli
as a detached subprocess with the same argv plus
stream=true, captures the first ResponseItem::Id, yields
it, and returns. The detached subprocess outlives the parent
(Unix: kernel re-parents to init; Windows: DETACHED_PROCESS | CREATE_NEW_PROCESS_GROUP from BinaryExecutor::detach(true)).