Skip to main content

Module startup_prompts

Module startup_prompts 

Source
Expand description

The flags that take each harness past its routine startup prompts, in one table (startup_prompts.json, which the TypeScript SDK reads as its own copy) for every launch path: supercode open --new, a resume, a native start. startup pairs answer the prompts every launch meets (Codex’s new-version check, its folder and hook trust questions) and keep a pane scrollable (Codex drawn inline, not on the alternate screen, where a pane’s wheel turns into arrow keys); unattended flags answer the approval prompts of a launch nobody watches, unless the caller chose its own (unattended_chosen_by). {cwd} in a flag is the launch’s directory as a JSON string, the form a Codex -c projects={…} table takes it in; a pair that needs it is left out without one.

Functions§

startup_arguments
The arguments harness is launched with to open past its routine prompts, ahead of the caller’s own given arguments. A startup flag the caller already sets (its key, the text before =, appears in given) is left to the caller.