Commit graph

1519 commits

Author SHA1 Message Date
Lawrence Chen
91db307abd
Test minimal mode sidebar control behavior 2026-03-16 23:20:15 -07:00
Lawrence Chen
b8a87d8914
Gate workspace chrome from minimal mode 2026-03-16 23:15:22 -07:00
Lawrence Chen
de580213c3
Test minimal mode runtime window presentation 2026-03-16 23:15:19 -07:00
Lawrence Chen
03cfb7a885
Retarget settings focus regression to minimal mode 2026-03-16 23:07:59 -07:00
Lawrence Chen
21824f86fd
Replace titlebar and fade toggles with minimal mode 2026-03-16 23:06:05 -07:00
Lawrence Chen
e8d3f556bd
Test minimal mode settings defaults 2026-03-16 23:06:00 -07:00
Lawrence Chen
f633ddbfe2
Apply Fade Buttons to minimal-mode sidebar controls 2026-03-15 22:50:59 -07:00
Lawrence Chen
583045c9ef
Test Fade Buttons for minimal-mode sidebar controls 2026-03-15 22:49:41 -07:00
Lawrence Chen
2611a32ef7
Keep minimal-mode sidebar buttons always visible 2026-03-15 22:44:47 -07:00
Lawrence Chen
3528ffe414
Test always-visible minimal-mode sidebar controls 2026-03-15 22:42:28 -07:00
Lawrence Chen
5da7da127a
Narrow shortcut settings notifications 2026-03-15 22:09:37 -07:00
Lawrence Chen
b1d4db1bdb
Add shortcut change notification regression 2026-03-15 22:09:34 -07:00
Lawrence Chen
eaa0d871fa
Stop terminal focus from stealing Settings 2026-03-15 21:52:23 -07:00
Lawrence Chen
9b9c7d557e
Strengthen settings focus regression 2026-03-15 21:52:20 -07:00
Lawrence Chen
43734c6f3d
Keep Settings focused after titlebar toggle 2026-03-15 21:42:03 -07:00
Lawrence Chen
1f85da7161
Add settings focus regression 2026-03-15 21:41:24 -07:00
Lawrence Chen
70ec1a0915
Split fade buttons from titlebar visibility 2026-03-15 21:31:41 -07:00
Lawrence Chen
f883299152
Add fade-buttons regressions 2026-03-15 21:31:35 -07:00
Lawrence Chen
b73a74492b
Port Bonsplit hidden-titlebar underlap fixes 2026-03-15 18:40:36 -07:00
Lawrence Chen
d67237b891
Fix hidden titlebar underlap and settings focus 2026-03-15 18:03:38 -07:00
Lawrence Chen
f592d97126
Add hidden titlebar regression coverage 2026-03-15 18:03:35 -07:00
Lawrence Chen
e4ef98aca1
Implement hidden-titlebar minimalism mode 2026-03-15 16:43:26 -07:00
Lawrence Chen
0109731bca
Add hidden-titlebar minimalism UI regressions 2026-03-15 16:43:18 -07:00
zlatkoc
23bfc11b19
Add Startpage as a browser search engine option (#1368)
Add Startpage (startpage.com) to the BrowserSearchEngine enum alongside
Google, DuckDuckGo, Bing, and Kagi. Startpage provides an OpenSearch-
compatible suggestions endpoint at /osuggestions, so autosuggestions
work out of the box using the existing OSJSON parser.

Co-authored-by: Zlatko Cajic <git@zlat.co>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 16:18:46 -07:00
BillionClaw
5776cd5d81
fix: remove blocking sleep from preexec hook causing command lag (#1444)
When socket connection mode is not 'off', the shell integration runs
_cmux_stop_pr_poll_loop in the preexec hook before every command.
This function had a blocking 'sleep 0.1' call that caused noticeable
lag on every command execution.

The fix replaces the TERM+sleep+KILL pattern with direct SIGKILL.
The PR poll loop is a lightweight background process that only runs
'gh pr view' periodically - it's safe to kill abruptly without
waiting for graceful termination.

Fixes #1436

Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
2026-03-15 16:11:07 -07:00
Gale
07ec05b0f1
fix: make Cmd+W close About/Licenses windows instead of terminal tabs (#1473)
* fix: make Cmd+W close auxiliary windows

* test: harden auxiliary window close coverage

* style: normalize auxiliary window helper layout
2026-03-15 16:09:22 -07:00
Gaetan Juvin
dd6feed78f
Fix arrow key glyph matching in customizable shortcuts (#1443)
keyCodeForShortcutKey() did not map arrow glyphs (←→↑↓) to their
macOS key codes (123-126). The shortcut recorder correctly stored
arrow keys as glyphs via storedKey(), but matchShortcut() could
not resolve them back to key codes for ANSI fallback matching.

This only affected non-directional shortcut actions (e.g. Next/Previous
Surface) since pane focus shortcuts use a separate matchDirectionalShortcut()
path that already handles arrow keys.
2026-03-15 15:57:39 -07:00
Ragnar Rova
a7cb968a55
Add configurable sidebar tint color with light/dark mode support (#1465)
- Config: sidebar-background supports plain hex (#336699) or
  light/dark syntax (light:#fbf3db,dark:#103c48)
- Config: sidebar-tint-opacity overrides tint opacity
- Settings UI: per-scheme color pickers, opacity slider (0-70%), reset
- SidebarBackdrop resolves light/dark hex based on @Environment colorScheme
- applySidebarAppearanceToUserDefaults guards on rawSidebarBackground presence
  so UI picks survive appearance toggles when no config is set
- Stale light/dark UserDefaults keys cleared when config switches from
  dual-mode to single or sidebar-background is removed
- applyPreset() and Reset Tint clear per-scheme overrides
- Debug snapshot (combinedPayload + copySidebarConfig) includes new keys
- ColorPicker labels use String(localized:) per localization policy
- Opacity slider capped at 0.7 to match debug view vibrancy constraint

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 15:48:57 -07:00
Lawrence Chen
9bb2816e05
Fix main CI regressions (#1458)
Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-15 02:04:33 -07:00
Lawrence Chen
8db9ebb4a9
Merge pull request #1459 from manaflow-ai/task-cmux-themes-helper-not-found
Fix bundled Ghostty theme picker helper packaging
2026-03-14 23:52:20 -07:00
Lawrence Chen
f576d2233f
Bundle Ghostty theme picker helper 2026-03-14 22:40:36 -07:00
Lawrence Chen
2167323153
Add bundled Ghostty helper regression test 2026-03-14 22:30:01 -07:00
Austin Wang
6c203b5144
Prepare 0.62.2 release (#1430) 2026-03-14 03:42:21 -07:00
Lawrence Chen
6c644d930d
Allow smaller sidebar widths (#1420)
* Add sidebar minimum width UI regression test

* Allow narrower sidebar resizing

* Set smaller sidebar minimum to 180
2026-03-13 21:40:25 -07:00
Lawrence Chen
623262493b
Fix stale Claude sidebar status: add missing hooks, OSC suppression, PID sweep (#1306)
* Fix stale Claude status in sidebar by adding missing hooks and OSC suppression

The Claude Code integration only used 3 hooks (SessionStart, Stop, Notification),
leaving gaps that caused stale sidebar status. Now uses 6 hooks:

- SessionEnd: clears status when Claude exits (covers Ctrl+C where Stop doesn't fire)
- UserPromptSubmit: clears "Needs input" and sets "Running" on new prompt
- PreToolUse (async): clears "Needs input" when Claude resumes after permission grant

Also:
- Suppress OSC 9/99 desktop notifications for workspaces with active Claude hook
  sessions to prevent duplicates from the raw OSC path
- Store Claude process PID in status entries for stale-session detection
- Add 30-second sweep timer that checks agent PIDs and clears stale entries
  (safety net for SIGKILL/crash where no hook fires)
- Update wrapper test expectations for the new hook set

Fixes https://github.com/manaflow-ai/cmux/issues/1301

* Don't show "Running" status on Claude launch, only when actually working

SessionStart now registers the PID for tracking and OSC suppression via
set_agent_pid without setting a visible status entry. "Running" only
appears when the user submits a prompt (UserPromptSubmit) or Claude
starts using tools (PreToolUse).

Added set_agent_pid / clear_agent_pid socket commands to decouple PID
tracking from visible status entries. OSC suppression checks agentPIDs
instead of statusEntries so it works during the initial idle period.

* Don't restore status entries across app restarts

Status entries are ephemeral runtime state tied to running processes
(e.g. claude_code "Running"). Restoring them after restart shows stale
status for processes that no longer exist.

* Address PR review comments and remove debug logging

- session-end: only clear status/PID/notifications when Stop didn't fire first
- PID sweep: check errno == ESRCH instead of treating all kill(pid,0) failures as dead
- Validate CMUX_CLAUDE_PID > 0
- Propagate tracked PID in pre-tool-use setClaudeStatus
- OSC suppression: use tabManagerFor(tabId:) for multi-window support
- clearAgentPID: resolve tab UUID before async dispatch
- restoreSessionSnapshot: also clear agentPIDs alongside statusEntries
- Fix AskUserQuestion surfaceId overwrite (wrong workspace notification)
- Fix notification text matching for "Claude Code needs your attention"
- AskUserQuestion: render option labels as bracketed inline text
- Remove artificial text truncation limits
- Remove temporary JSONL debug logging from all handlers

* Use resolveTabIdForSidebarMutation in clearAgentPID
2026-03-13 20:47:42 -07:00
Austin Wang
85ebbb686f
Merge pull request #1417 from manaflow-ai/issue-1414-cmd-palette-arrow-keys
Fix command palette command-mode shortcut and navigation
2026-03-13 20:15:28 -07:00
austinpower1258
c1e264f325 Fix command palette command mode navigation 2026-03-13 20:14:03 -07:00
austinpower1258
50c59babc1 Add regression tests for command palette shortcut routing 2026-03-13 20:14:01 -07:00
Lawrence Chen
b81adaf67c
Merge pull request #1408 from manaflow-ai/feat-cli-sentry-release-tagging
Tag CLI Sentry events with app release
2026-03-13 20:03:40 -07:00
Lawrence Chen
919c9b1632
Merge pull request #1415 from manaflow-ai/task-throttle-socket-listener-start-failures
Throttle repeated socket listener start failures
2026-03-13 20:02:56 -07:00
Lawrence Chen
2a8d4475a3
Throttle repeated socket listener start failures 2026-03-13 19:54:09 -07:00
Austin Wang
80fea629f5
Merge pull request #1413 from manaflow-ai/issue-1409-omnibar-backspace-arrow
Fix omnibar backspace/arrow key loss after prefix deletion
2026-03-13 18:17:54 -07:00
austinpower1258
48ec60946f Replace command palette SwiftUI TextField with native AppKit NSTextField
The SwiftUI TextField lost arrow-key and backspace handlers when the
query prefix (">") was deleted, because the scope transition tore down
the .onKeyPress modifiers. Using an NSViewRepresentable with an AppKit
field editor keeps navigation commands (up/down/enter/escape) on the
native delegate, making them immune to SwiftUI scope changes.

Fixes #1409

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 18:16:57 -07:00
Lawrence Chen
98f5553335
Fix macOS dictation NSTextInputClient conformance (#1410)
* Add dictation text input regression tests

* Fix dictation text input client conformance

* Fix dictation caret rect anchoring

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-13 18:14:02 -07:00
Lawrence Chen
f90bcbc862
Merge pull request #1382 from manaflow-ai/task-cmd-p-search-all-surfaces
Add Cmd+P all-surface search option
2026-03-13 17:55:10 -07:00
Lawrence Chen
89c1d6c255
Tag CLI Sentry events with app release 2026-03-13 17:53:25 -07:00
Lawrence Chen
9ee6e0ca6e
Defer palette fingerprint refresh after query transitions 2026-03-13 17:42:43 -07:00
Lawrence Chen
5d348217eb
Strengthen Cmd+Shift+P backspace UI regression 2026-03-13 17:42:41 -07:00
Lawrence Chen
8a0934b801
Fallback stable socket listener to a user-scoped path (#1351)
* Fallback stable socket listener to user socket path

* Move stable socket path out of /tmp

* Keep socket health checks active on fallback paths

---------

Co-authored-by: Lawrence Chen <lawrencecchen@users.noreply.github.com>
2026-03-13 17:37:01 -07:00
Lawrence Chen
126c6c6e56
Merge pull request #1405 from manaflow-ai/task-fix-main-ci-cd
Fix GhosttyKit checksum drift in CI
2026-03-13 17:33:33 -07:00