Repository navigation
Sidebar status as text + detect git HEAD changes instantly - #30
Conversation
- Replace sidebar status pills with plain text + show more/less toggle for a cleaner, more readable sidebar layout - Watch .git/HEAD mtime in zsh precmd to detect branch changes from aliases (gco), tools (gh pr checkout), etc. without waiting for the 3s polling interval - Fix NSImage shared instance mutation in DraggableFolderNSView by copying before resizing to prevent layout side-effects - Fix set_status --tab flag being swallowed by -- stop token via new parseOptionsNoStop parser - Update sidebar test to cover alias-based branch switching
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9cf3e9144d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| private func parseOptionsNoStop(_ args: String) -> (positional: [String], options: [String: String]) { | ||
| // Like parseOptions, but continues parsing `--key` options even after a `--` token. | ||
| // Used for commands where we never want UI-facing content to accidentally include flags. | ||
| let tokens = tokenizeArgs(args) | ||
| guard !tokens.isEmpty else { return ([], [:]) } | ||
|
|
||
| var positional: [String] = [] | ||
| var options: [String: String] = [:] | ||
| var i = 0 | ||
| while i < tokens.count { | ||
| let token = tokens[i] | ||
| if token == "--" { | ||
| i += 1 | ||
| continue |
There was a problem hiding this comment.
Preserve
-- stop token for set_status values
Because parseOptionsNoStop explicitly skips the -- token and keeps parsing options afterward, set_status can no longer accept values that start with -- or contain --foo as literal text. Even when callers use -- to terminate options (e.g., set_status key -- --foo), the --foo token is still treated as an option and is dropped from the value. This is a regression from the previous behavior and makes it impossible to display CLI-flag-like strings in status text. Consider honoring -- for set_status values or limiting option parsing to known flags.
Useful? React with 👍 / 👎.
When creating notifications, include the tab's current status entries in the notification body so users see context (e.g. git branch, ports) alongside the notification message.
…ai#30) * Sidebar status as text + detect git HEAD changes instantly - Replace sidebar status pills with plain text + show more/less toggle for a cleaner, more readable sidebar layout - Watch .git/HEAD mtime in zsh precmd to detect branch changes from aliases (gco), tools (gh pr checkout), etc. without waiting for the 3s polling interval - Fix NSImage shared instance mutation in DraggableFolderNSView by copying before resizing to prevent layout side-effects - Fix set_status --tab flag being swallowed by -- stop token via new parseOptionsNoStop parser - Update sidebar test to cover alias-based branch switching * Append status text to notification body automatically When creating notifications, include the tab's current status entries in the notification body so users see context (e.g. git branch, ports) alongside the notification message. * Add screenshot to README
Points to cc6f4c2 which includes 112 upstream commits past v1.3.1 plus cmux selectCursorCell/clearSelection APIs.
Points to cc6f4c2 which includes 112 upstream commits past v1.3.1 plus cmux selectCursorCell/clearSelection APIs.
… fixes) New cmux-cua-native tip after manaflow-ai/cmux-cua #30, #32 (cursor drag fixes #23, unrestricted get_app_state #27), #25 (idle-evict guard, capture PATH, scroll clamp, reliability journal), #28 (activity store and activity_* socket methods the Agent Activity page reads) and #31 (automation lease reducer). The old pin e0f73880 stays an ancestor. Fleet build e9227f3fd80f8a4ece82159d (tag nxcua-v1, aws-m4pro-4) at 9715ac3 built and bundled the helper; its binary carries the activity_* methods. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Summary
.git/HEADmtime in zsh precmd to detect branch changes from aliases (gco), tools (gh pr checkout), etc. without waiting for the 3s polling intervalDraggableFolderNSViewby copying before resizingset_status --tabflag being swallowed by--stop token via newparseOptionsNoStopparserTest plan
gco main) and confirm sidebar updates instantlytest_sidebar_cwd_git.pyon VM