You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Record your headless loops, and Pull request view fixes
Added
Headless sessions has three choices instead of on and off. Auto, the default for new installs, records the claude -p sessions you or your scripts start (a loop like Ralph, a cron job) and the ones your recorded chats start through a command (a task handed to another claude -p), and leaves out the ones other plugins start in the background, often once per prompt. Off records only the chats you type into; All records every one. An existing install keeps what it had: off reads as Off, on as All. Auto tells them apart by what started the session, read from the process list on Linux and macOS; a tool can also mark its sessions with COGIT_RECORD=1, which Auto always records, and on Windows that mark is how a script's sessions are recorded. cogit doctor counts the unrecorded tail of a headless session that was recorded.
Fixed
The map's Pull request view asks for the branch again when you come back to the window, so a git switch in a terminal shows without reloading the page.
A Shape Flow whose node id is a word Mermaid reserves (box, end, loop…) drew as plain text in the map and broke its mermaid block in cogit pr; the diagram now uses its own ids.
The Pull request view's title, and the base in cogit pr --json, name the branch you track (→ main, → origin/main, or the branch you stacked on) instead of @{upstream}.
A thought's Shape in the Pull request view opens fitted in a short box you drag and zoom with its buttons, instead of a preview with scrollbars both ways. The wheel keeps scrolling the page over it.