Skip to content

VibeFocus v0.0.11

Choose a tag to compare

@CC11001100 CC11001100 released this 12 Apr 10:51
· 289 commits to main since this release

What's New

Terminal Context-Based Window Matching

  • Command-type hooks: Migrated from HTTP hooks to command-type hooks with a helper script (~/.vibefocus/hook-forwarder.sh) that captures terminal environment variables (TERM_SESSION_ID, TTY, PPID, WINDOWID)
  • Precise multi-session matching: VibeFocus can now correctly identify which terminal window corresponds to which Claude Code session, even when multiple sessions run on different workspaces
  • TTY-based matching: JXA queries for Terminal.app and iTerm2 to match windows by TTY device
  • Process tree matching: Walks up the PPID chain to find terminal/IDE ancestor processes

Bug Fixes

  • Token auth fix: GCDWebServer preserves HTTP header casing — fixed with case-insensitive lookup and query parameter fallback
  • Skip move when already on main screen: Avoids overwriting saved state when window is already at target position

New Features

  • UserPromptSubmit auto-restore: Automatically restores terminal window to its original screen/position when submitting a new prompt in Claude Code
  • Three-level window matching: SessionStart binding → terminal context → cwd project name fallback
  • SpaceController improvements: Multi-strategy workspace focus with CGEvent fallback for reliable space switching

🤖 Generated with Claude Code