fix(run): update file headers to reflect per-tool setup, add resume-last test
This commit is contained in:
@@ -3,16 +3,18 @@
|
||||
* @description One lane's run console: the RunSetup ↔ TerminalView switcher,
|
||||
* moved out of Workspace.tsx so the Workspace page can render 1, 2, or 4 of
|
||||
* these side by side (split terminal view). Owns its own prompt/cwd/model/
|
||||
* permissionMode/effort/resumeSession/handle/busy/runHistory state — nothing
|
||||
* is shared between panes. `lanes`, `binaryStatus`, `cwdSuggestions`,
|
||||
* `activeRuns`, and `externalSessions` are supplied as props because they are global, not
|
||||
* lane-specific, and fetching them per pane would mean N redundant identical
|
||||
* requests for an N-pane layout.
|
||||
* permissionMode/effort/sandbox/approval/resumeSession/handle/busy/runHistory
|
||||
* state — nothing is shared between panes. `lanes`, `binaryStatus`,
|
||||
* `cwdSuggestions`, `activeRuns`, and `externalSessions` are supplied as props
|
||||
* because they are global, not lane-specific, and fetching them per pane would
|
||||
* mean N redundant identical requests for an N-pane layout. `binaryStatus` is
|
||||
* keyed by tool (claude | codex) and probed once globally, so gating the Start
|
||||
* button uses the binary status for the lane's configured tool.
|
||||
*
|
||||
* That state is bound to the lane the pane currently shows: switching `laneId`
|
||||
* swaps the whole pane over to the new lane — its cwd, its history, and its
|
||||
* live tmux session — instead of leaving the previous lane's terminal on
|
||||
* screen under a new lane's header.
|
||||
* swaps the whole pane over to the new lane — its cwd, its tool, its history,
|
||||
* and its live tmux session — instead of leaving the previous lane's terminal
|
||||
* on screen under a new lane's header.
|
||||
* @author Nguyễn Ngọc Trí Vĩ <vinnt@smartgift.vn>
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user