Skip to content

v1.3.151

Choose a tag to compare

@topcheer topcheer released this 14 Jul 09:18

v1.3.151

Fixes

  • Session switching: Fixed CWD not switching when loading a session from a different workspace. The agent's working directory and cached git branch now update correctly on all session switch paths (TUI /session, desktop session picker, resume picker).
  • Cron session switching: Stopped old cron timers and use SwitchSession when switching sessions, preventing cron job leaks across sessions.
  • Per-session settings: Fixed permission mode and other per-session settings not being restored on session switch (TUI and desktop).
  • IM adapter workspace binding: Fixed IM adapter workspace binding on session switch — adapters now correctly rebind to the new session's workspace.
  • Desktop crash: Prevented crash when selecting WhatsApp/WeChat in the IM adapter dialog.
  • Desktop context pill: Removed redundant context usage pill from the chat header. The bottom StatusBar's context display (percentage + progress bar + click-to-edit popover) is now the single source of truth, eliminating sync issues between the two displays.

Features

  • Hooks configuration UI: Added interactive hooks configuration panel for both TUI and desktop. Supports all 5 hook events (on_user_message, pre/post_tool_use, on_agent_stop, on_stream_stop) with command and HTTP hook types.
  • Regex match mode for hooks: Added regex pattern matching alongside glob for hook match rules. Includes a live regex tester in the desktop settings UI with 300ms debounce auto-evaluation.
  • TUI hooks panel: Full i18n support (all 13 languages) for the TUI hooks configuration panel.
  • Per-message timestamps: Session JSONL storage now records per-message timestamps for all message records.

Refactoring

  • TUI file browser removal: Removed the file browser and preview panel from the TUI (superseded by the desktop file browser and LSP integration).

Documentation

  • Automated documentation review and update cycle.