Repository navigation
v0.9.0 — cwd management refactor + PTY hygiene
Highlights
AI-side usability pass. Four fixes/features that together close out the long-standing friction points Claude Code users had been reporting since 0.8.0:
Cross-shell cwd continuity
ripple now tracks cwd per (agent_id, shell_path) instead of per physical console. When you switch between shells, the target shell silently restores its last-known cwd via a cd-preamble instead of refusing with "Pipeline NOT executed — cd to the correct directory". Applies to pwsh, bash, zsh, cmd, and now Python / Node REPLs via the new capabilities.cd_command / cd_command_quote YAML fields.
Example: run os.chdir("C:/MyProj/foo") in python, switch to pwsh, switch back — python is automatically back at C:/MyProj/foo with a one-line restore notice.
Phantom busy at start_console reuse
Reusing a standby console used to report Status: Busy | Pipeline: (user command) on an otherwise idle shell. The banner kick (raw \r on PTY stdin) was being interpreted by PSReadLine / bash's OSC 633 integration as a user-typed empty command submission, flipping _userCommandBusy in CommandTracker. The banner kick is now issued as a tracked AI command (cd to the target cwd), which the OSC B/C gate correctly ignores. Status returns to standby immediately.
PTY width no longer corrupts captured output
PTY cols are floored at 200 even when the worker's visible ConHost is narrower. On Windows this kills the "covera\nge" class of mid-word wraps that used to appear in captured git log --stat / Get-Process output. ConHost still visually wraps at the actual window width on display, so the human experience is unchanged.
Stray = / > characters in colored output
PSReadLine emits ESC = (DECKPAM) and ESC > (DECKPNM) keypad-mode sequences around prompt redraws. The existing ANSI scrubber handled CSI/OSC/G0-G1 but not these. Captured output of git log --oneline in 0.8.0 read =[33m8a543aa... and ... deletions(-)> — both gone in 0.9.0.
Verification
ripple --adapter-tests: 95/95 PASS (same as 0.8.0 baseline)- Manual regression: phantom busy absent, cross-shell switch works silently, REPL cwd round-trip verified with python and node,
git logoutput clean on both counts
Upgrade notes
No breaking changes. Adapter authors who maintain their own YAML files outside the embedded set can optionally add capabilities.cd_command and capabilities.cd_command_quote to participate in the new cross-shell cwd restore; adapters without these fields keep their previous behavior.
npm
Install / upgrade via @ytsuda/ripple on npm.