Expand description
Provider-aware construction of per-turn subprocess arguments.
Constants§
- GEMINI_
DENY_ ALL_ TOOLS_ POLICY - The Gemini policy that denies every tool, built-in and MCP. Written to
disk for
--policy. Checked against the pinned CLI (0.60.0) by capturing its request: with this policy the request declares no tools at all, even with--yoloon.
Functions§
- build_
codex_ side_ question_ argv - Build the argv for a
/btwside question on a Codex pane: a tool-lesscodex execturn, built from scratch rather than from the pane’s own argv, which may be the app-server’s and always carries--dangerously-bypass-approvals-and-sandbox. - build_
gemini_ side_ question_ argv - Build the argv for a
/btwside question on a Gemini pane: headless stream-json withGEMINI_DENY_ALL_TOOLS_POLICYatpolicy_path, and approval modedefaultinstead of the pane’s--yolo. No--skip-trust: trusting the folder would load the project’s own Gemini settings, hooks included, so/btwgets the same trust as the pane. - build_
side_ question_ argv - Build the argv for a
/btwside-question one-shot turn (server/agent_handlers/side_question.rs) frombase_one_shot_args— the same one-shotcli_argsa normal turn on this block would use. - model_
flag_ value - The value of
-m/--model(or--model=<v>) inargs, if any.