Faryo 1.1.4
Faryo 1.1.4 makes Claude Code sessions survive a hand relaunch inside
their pane, keeps agent transcripts capturable and readable on both
themes, and ships the session-list work that landed after 1.1.3 was
tagged.
Claude sessions
- Claude launches carry a SessionStart hook that stamps the live session
id onto the owning tmux session, so/clearand resume rotating the
id no longer leave the Running badge on a dead transcript. Claude Code
does not keep its transcript open, so the codex fd scan cannot carry
over; the hook fires on startup, resume and clear instead. CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1moves from the launch command
onto the tmux session environment (new-session -e). The launch-string
prefix only covered the first claude: quitting it left a plain shell,
and a claude relaunched there by hand re-entered the alternate screen,
where tmux scrollback never accumulates and capture collapses to one
frame. Pane-level env covers every later launch too.- A hand-relaunched claude also never fires the stamp hook, which used to
surface the live conversation as an untitled shadow card while the
stamped id kept a card of its own. The owner now scans the pane cwd's
project directory for the newest transcript written since the pane's
claude process started, and lets that override a stale stamp; stamped
panes claim their ids first so a same-cwd scan cannot steal them. - Session usage treats an input count above the 200k window as evidence
of a 1M window even when the model name carries no[1m]marker. - The compact view strips the input composer box as chrome.
Codex sessions
- The active map prefers the live fd scan over the thread id frozen at
dispatch, so/newinside a resumed session moves the Running badge
with the pane instead of pinning it to the abandoned thread.
Capture rendering
- The raw view drops explicit terminal white from inline styles, the
light-theme twin of the existing black strip. Claude Code paints diff
text white over red/green backgrounds; with backgrounds already
stripped for readability, the white text was invisible on the light
theme. Both extremes now inherit the theme foreground.
Composer
- Command suggestions include
claude --dangerously-skip-permissions
andclaude --resume, and a partial word (cl,cod, …) is enough
to surface them, so the full flag never has to be typed on a phone
keyboard. - New agent sessions open in the most recent repo and
cdsuggests
recent targets; the owner home directory is excluded from recent-cwd
selection.
Verification
scripts/package-client.sh checkPYTHONDONTWRITEBYTECODE=1 python3 apps/gateway/server/tests/test_gateway_csrf_contract.py