fix(run): update file headers to reflect per-tool setup, add resume-last test

This commit is contained in:
2026-08-27 10:53:03 +07:00
parent abf3181843
commit 0d53603d9e
4 changed files with 37 additions and 20 deletions
+9 -6
View File
@@ -6,12 +6,15 @@
*
* What lives here:
* - `RunSetup` — fresh-vs-resume source, the prompt editor, and the cwd /
* model / permission-mode / effort fields, plus the concurrency hint and
* the Start button. Its disabled state is driven by the `binaryFound` prop,
* so a missing `claude` binary is a surfaced state here rather than a probe
* of its own. Picking a session to resume starts that run immediately —
* a resume carries its own history, so there is nothing to type first;
* the prompt stays optional for resumes and required for fresh runs.
* model / effort fields, plus per-tool advanced fields (permission-mode for
* Claude; sandbox and approval for Codex), plus the concurrency hint and
* the Start button. Its disabled state is driven by the `binaryFound` prop
* for the lane's tool, so a missing binary is a surfaced state here rather
* than a probe of its own. Picking a session to resume starts that run
* immediately — a resume carries its own history, so there is nothing to
* type first; the prompt stays optional for resumes and required for fresh
* runs. Codex lanes show a "resume --last" button instead of the session
* picker (no sessions in the dashboard database to list).
* - the pickers the panel owns: `CwdAutocomplete`, `SessionPicker`,
* `ModelPicker`, and the small `Field` layout helper.
*