A colon suffix holding a line range wasn't read as a location, so the
whole token failed to resolve and the link disappeared. Read the range's
first line instead, the way the #L10-L20 anchor already does.
Opening a file, link, URL or config.json, revealing a path, and the custom
link_file_command all spawned `open` / `xdg-open` / `explorer` and dropped
the Child. Dropping a Child never waits on it, so every one of these clicks
left a defunct process under tty7-app for as long as the GUI ran.
Add `core::proc::spawn_reaped`, which spawns the command and waits on it
from a short-lived thread, and route all six fire-and-forget spawns through
it.
Show all and search bound the host list to 360px inside the scrolling settings page, and GPUI scrolls every scroller under the pointer, so the wheel moved the page along with the list. Give the list the same wheel handler the Agents page got in #1214, now shared as nested_list_wheel: an event the list can absorb stays in the list, and only one that starts at its edge reaches the page.
* fix(daemon): hand the daemon over to the new build when the GUI relaunches after an update
An update replaces the bundle and relaunches the GUI; the daemon keeps
running from the replaced binary so the panes survive. On macOS that
also loses the daemon's Local Network attribution (#909, #917): once
the executable it started from is gone from disk, every pane shell gets
EHOSTUNREACH on the LAN until Settings → Restart Server.
The handoff already does what the restart does without the cost — same
pid, same ptys, far side disclaims responsibility afresh — so the GUI
now asks for it at launch whenever the daemon is on another build and
advertises the feature. A native-SSH pane is the one thing a handoff
closes, so when the daemon holds one the first window asks instead,
with the Restart Server dialog. Everything that cannot hand over is
left as it was, and Settings still offers the restart.
* fix(daemon): never hand the daemon over to a debug build at launch
---------
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
The pane-mode tracker now records the queries it spots as one ordered
list of `Query` values instead of a counter per kind, and the daemon
answers a detached pane's from one `detached_reply` table. That table
also answers `CSI ? 996 n` from the appearance the window last drew:
a program in a hidden pane waits on it the same way it waits on DA1.
Folds of old output (the ring's evicted head, a handoff's refold) drop
their queries, so they neither pile up nor get answered twice.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix: shell history, config ZDOTDIR, keymap hot-reload and window close
- A ZDOTDIR set in config `env` no longer replaces the zsh integration
redirector; it is handed to it as TTY7_USER_ZDOTDIR instead.
- Shell integration reports the shell's HISTFILE to
`<config>/shell-histfiles`, so ⌃R and GUI history find history kept
outside $HOME/.zsh_history.
- The config watcher watches the canonical config dir: FSEvents reports
resolved paths, so a dir reached through a symlink (/tmp) never
matched and `keybindings` edits were not picked up.
- ⌘↩ in the ⌃R menu runs the selected line instead of toggling full
screen.
- Close Window (shells keep running) gets ⇧⌘W on macOS and a File menu
entry.
* fix: keep the newest reported histfiles; bind the menu's run to cmd-enter
- shell-histfiles is append-only and panes starting together append the
same path; reading the first 32 lines let stale or duplicate entries
hide every path reported later. Keep the newest 32 distinct ones.
- secondary-enter is ctrl-enter off macOS, where the Ctrl+R menu only
accepts on that chord. Bind cmd-enter, matching the menu's own key
handler on every platform.
A docked document was drawn in a fraction of the space its column had. The
column itself was sized correctly — `document_body_px` and
`document_column_px` agreed with what the column measured on screen — but
the box holding the surface was `w_full()`, a share of whatever the flex
ancestor chain resolved to, and on a fractional display scale that share
resolved against the wrong ancestor entirely.
On a 1.75x Wayland surface (GNOME's `scale-monitor-framebuffer`), a
404-point column handed its file a 123-point content box, so the editor
laid out at a fifth of the width it was given, soft-wrapped every few
characters, and left the rest of the column empty. The same build under
X11, where the scale is 1, put the file across the column.
surface scale 1 scale 1.75 fixed
column (measured) 404.0 403.4 403.4
content box 404.0 123.4 403.4
editor 380.0 99.4 380.6
wrap width 302.9 22.3 303.4
The column is sized in points where it is drawn, so its content is sized
the same way: a point count has no ancestor to be resolved against, and
reads the same at every scale. `DOCUMENT_RULE` names the rule on the
column's left edge so the border and the width that leaves room for it
cannot drift apart.
Fill is untouched — it never went through this box — and the diff view
docked beside the terminal gets the same fix for free.
* feat(github): row links to GitHub; stacked pull requests drawn as one run
A hovered list row shows Open on GitHub. Pull requests based on another
listed pull request's head branch (in the same repository, the owner
compared case-insensitively) are gathered into one run, each above its
base, joined by a connector through their glyphs and ending in the
stack's base branch. Two pull requests on the same base branch off it in
lanes side by side; a cycle draws no trunk. The branches come from /pulls,
already fetched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(github): stack rows as per-row cells
A stacked row is now one Cell per lane (Empty, Pipe, Node, Join) and the
trunk its own StackRow, so the UI and the tests both just map cells. The
row constants move to github::rows, which no longer imports panel_github,
and stack_order takes the list's &[Item].
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
With several agents running across tabs and windows, finding the one
blocked on a permission prompt meant scanning tab dots or opening the tray
menu. Go to Next Agent Needing Attention (cmd-shift-U, and ctrl-shift-U off
macOS; FocusNextAgentNeedingAttention to rebind, also in Search Everywhere)
reveals it directly: waiting agents first, the longest wait at the head,
then finished turns nobody has read. Pressing again from one of them moves
to the next and wraps; from anywhere else it starts at the head. It searches
the tabs of every open window, the same agents the tray menu lists, and
reveals a pane in another window the way a tray pick does; a workspace no
window is showing is not searched. With nothing to attend to it says so
("No agent in your open windows needs you") instead of doing nothing
silently. The ordering is a pure function over the tray's agent rows, with
tests.
Ordering by age needs to know when a status began, so AgentSessionState
carries since_ms: the daemon stamps it whenever a hook event, an assumed
interrupt or a stale-turn sweep moves the status. Hook events are stamped
one at a time, so a status that leaves and comes back within one batch
(Done, a new prompt, Done again) starts a fresh age. It is wall-clock time,
not an Instant, because it crosses the socket and survives a handoff; ages
across machines therefore follow each machine's clock. An older daemon
simply leaves it out and those rows queue behind stamped ones.
The tray menu now reads "needs input · waiting 3m", the workspace switcher
shows the same age beside the tab (computed the same way, on the same
clock), and `tty7 agents` gains a FOR column. Ages are in whole minutes in
the GUI so the tray snapshot, and with it the menu, changes at most once a
minute.
Claude-Session: https://claude.ai/code/session_017RJFBHCC4dbUua21a2TedQ
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(tabs): add sidebar new tab options menu
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor(tabs): split every New Tab button, not just the sidebar's
The sidebar header was the only place the + opened a tab outright; the
strip and the collapsed rail still dropped the menu on every press, so the
same glyph did two different things depending on where the tabs sat and
whether the rail was open.
Route all three through new_tab_button as one split control, count its
chevron in the title bar width budgets, render the trigger's own box so
its interactivity is not dropped, and drop tests that only re-checked
segment_corners and a bool setter.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
After a link drops, the attach sent over the new one asked for the
workspace the same way opening it does, so a client that slept through
another machine taking the workspace (the Preempted push never reached
it) took it straight back on waking, and the two traded it for as long
as the first kept sleeping.
An attach for a workspace this client already held is now made only if
nobody else is holding it, the rule windows on the daemon's own machine
already follow; otherwise the window opens taken over, with Take Back.
Opening a workspace and Take Back still take it.
Fixes#1193
Windows only reports a click on a toast that has left the screen through
COM: the shell activates the ToastActivatorCLSID named on the shortcut
that carries the AUMID. tty7 had no such class, so clicks from Action
Center did nothing.
- Stamp a fixed ToastActivatorCLSID on the Start Menu shortcut (runtime
and installer); a shortcut lacking it is rewritten.
- Register the class per-user as a LocalServer32 (never from a cargo
build directory) and as a running class object at GUI startup.
- Implement INotificationActivationCallback; the toast's launch string
carries the pid-checked pane identifier, so a click on a toast from an
earlier process only brings the window forward.
- Queue tray actions that arrive before the dispatch loop exists, which
is the cold-start case when COM launches tty7 to deliver the click.
- Deduplicate a popup click that arrives through both COM and the
in-process Activated event.
- The uninstaller removes the CLSID registration.
Fixes#1179
The drag and release handlers listen on the whole window and clamp the
pointer to the nearest cell, so with mouse reporting on (e.g. tmux
`mouse on`) a drag over the title bar, the sidebar or a neighbouring pane
was sent to every mouse-mode pane as a drag along its edge, dropping tmux
into copy-mode. A click anywhere likewise sent a stray release.
Track the button whose press a pane reported and only report drags and
the release for that grab. A grabbed drag still follows the pointer out
of the pane, clamped to its edge. The grab is dropped on any buttonless
move so a lost release cannot leave it stale.
Fixes#1182
A program killed while it held kitty keyboard flags left its push on a
stack. The prompt-time scrub (`CSI = 0 ; 1 u`) only rewrote the flags in
effect, so the next pop, or the next program to enter the alternate
screen, brought the dead program's flags back. Escape was then encoded as
`CSI 27 u` and Ctrl+C as `CSI 99 ; 5 u`; behind ConPTY those arrive as
key records with no virtual key, so Escape and Ctrl+C were lost (#1155).
No escape sequence clears the stacks, so the alacritty fork gains
`Term::reset_keyboard_modes`, which empties both screens' stacks and
clears the flags in effect. The reader calls it when the shell's prompt
returns, and at every OSC 133 A/B/D mark while replaying a pane on
reattach. The daemon's `TerminalModes` forgets the stacks at the same
marks, so the replay prelude does not push them back.
Flags a program pushes after the prompt are untouched, and the key
encoder is unchanged, so #895 keeps working.
Bumps the alacritty pin to fe249ca8.
Native SSH host panes run tty7's prompt editor over the remote shell, so
the remote ZLE never sees up-arrow, Ctrl+R or autosuggestion keys —
tty7's own list is all the user gets. That list was never seeded from
the remote ~/.zsh_history / ~/.bash_history / fish history: the seeding
path only handled workspace hosts and bailed for any pane with a remote
context.
Read those files over the pane's own SFTP connection instead, deferring
the read until the connection reports Connected. Nested `ssh` from a
workspace host still starts from tty7's own record. A load that lands
late keeps commands run meanwhile, and only the newest load is installed.
Fixes#1142
zsh escapes every byte in 0x83..=0xA2 (and NUL) as Meta (0x83) followed
by the byte xor 0x20 when writing $HISTFILE. tty7 decoded those files
with from_utf8_lossy directly, so CJK commands showed up as mojibake or
U+FFFD in history search, next to tty7's own clean copy of the same
command.
Undo the escaping at the byte level, but only for zsh files: by name
(.zsh_history, .zhistory) or, for a custom local HISTFILE, by the
presence of extended-history lines. bash and fish files are left alone,
since valid UTF-8 like `ー` (E3 83 BC) contains 0x83.
Also read tty7's own history file as bytes with a lossy decode, so one
invalid byte no longer drops the whole file.
Fixes#1175
Under Linux client-side decorations the viewport includes the
transparent shadow inset, but the title bar row sits inside the frame
padding. Sizing the strip off the raw viewport overflowed the row by
both paddings and clipped the window's close button. Subtract
`window_paddings` before reserving the lead and window controls; the
paddings are zero under server-side decorations and on maximized or
tiled windows, so other platforms are unchanged.
Fixes#1169
* fix(ui): align title-bar rows and share document header switches
Keep #1146's leading space derived from the macOS traffic lights, rather
than the previous fixed 80pt. Add a shared content centre for the title-bar
rows, so headers with different bottom borders align with those buttons.
Keep the editor's full leading space: a control's inner padding should not
reduce the gap before its clickable area or shift docked file tabs.
Share Dock / Fill controls between the editor and diff headers, and use
matching icons with localized tooltips for Split / Unified view.
Validation: formatting and Host boundary checks passed; GUI tests passed
(2506 passed, 2 ignored); local visual acceptance passed.
* fix(ui): give icon switches accessible button names
Expose each shared switch cell as a button with its localized tooltip name
and pressed state. This lets assistive technology identify the icon-only
choices and use GPUI's existing accessible click handling.
Formatting, Host boundary, and diff checks passed. GUI tests: 2506 passed,
2 ignored.
* fix(ui): share the terminal button in filled document headers
Use the editor's terminal button in both filled headers. Clicking it docks
the current file or diff beside the terminal without closing its content.
The shared builder also provides an accessible button name.
The click test verifies that the diff, focused file, expanded state, view
mode, and other tabs' layouts are preserved. GUI tests: 2507 passed, 2
ignored. Build, formatting, Host boundary, and visual acceptance passed.
* fix(ui): draw Split / Unified as two panes so they don't read as Dock
The diff header now holds both switches side by side, and a frame with
one vertical stroke was the Dock glyph shifted a point and a half. Split
is two frames next to each other, Unified two frames stacked.
---------
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
* fix(titlebar): the title bar's lead moves with the traffic lights
#1139 moved the lights from 9pt to 16.5pt in, but the 80pt `TITLE_BAR_LEAD` the tab strip, editor header and search band start at stayed put, so the gap after the zoom button shrank from about 17pt to 9.5pt. On macOS the lead is now derived from the lights: their inset, their 54pt span (three 14pt buttons on a 20pt pitch), and the inset again, 87pt. The strip-width calculation that hard-coded 80 uses the constant, the search-band tests use it instead of 80, and a test checks the lights end, with their inset, before the lead. Off macOS nothing changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(titlebar): TitleBar pads the strip by the lead, not its own 80pt
gpui-component's TitleBar hard-codes an 80pt left padding on macOS, so
raising TITLE_BAR_LEAD to the traffic lights' 87pt left the tab strip at 80
while the strip width, search band and document headers assumed 87. Set the
padding from TITLE_BAR_LEAD so they all start at the same x.
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
The host menu's Disconnect ran RemoteLinks::disconnect inside an update
of the window's own Tty7App. The disconnect detaches the panes of every
window on that machine by reading each window's app, this one included,
which panicked on the double lease. The panic happened inside the
mouse-up platform callback, where it cannot unwind, so the process
aborted and every window went down with it.
Defer the disconnect until the update is over, and add a regression test
that reproduces the original panic without the fix.
With the inline prompt editor live, every click on the input row went to
the editor, including clicks on the prompt the shell drew ahead of it.
A click left of the input start was mapped to the editor's first
character, so double-clicking the branch in ` tty7 git:(main)` ran a
word select over the editor's own (often empty) text and selected
nothing, and its first click had already thrown the caret to the start
of the line.
A click on the prompt now bypasses the editor and goes to the grid's
selection like a click on any other output: double click selects the
word, triple click the line, and the caret stays where it was. Clicks
on the typed text are unchanged.
Co-authored-by: wenlingang <lingang.wen@longbridge.sg>
Copy Raw is a keymap action (default cmd-alt-c) instead of a chord
hard-coded in the key handler, and `raw` threads through
copy_contextual into the one copy path, which now owns the
Claude-pane policy. copy_unwrap.rs depends only on alacritty_terminal:
the boundary rule splits into a Block that tracks fences and tool
output and a pure `sep` with early returns. The fixture tests run
through a real Term at the fixture's width instead of a hand-built
row model.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(fonts): turn stroke thickening off in gpui, not through AppleFontSmoothing
font_thicken: false pinned AppleFontSmoothing to 0 in the process's
argument domain. That never left the process, but AppKit reads the same
preference, so tty7's native menus and alerts lost their smoothing too,
most visibly dark text in light mode. The terminal's own dark text looked
unchanged, since gpui never thickens it in the first place.
The gpui fork now exposes set_glyph_dilation, which reaches its
rasterizer alone; apply_font_thicken calls that and writes no
preference. A test checks that turning thickening off leaves
AppleFontSmoothing alone (red on the old implementation).
Fixes#1119
* test(fonts): keep the font_thicken test out of config_reload_tests' doc comment
A wheel report carried the cell of the last button press: only a click,
or motion for programs that ask for every move, ever updated it. tmux asks
for button events only (1002), so after clicking its window list every
notch over the panes was reported as being over the window list. The
wheel now resolves the cell under the pointer from the grid geometry of
the last frame.
On Linux the IME candidate window only moves when the caret rectangle is
pushed to the platform, and gpui pushes it on focus and around a preedit,
never because the caret moved. A TUI moves the caret on its own, so the
candidate window stayed where the last composition or the focus-in left
it. The pane now invalidates the IME coordinates whenever its anchor
moves while focused.
Fixes#1131
* feat(terminal): copy rejoins the lines Claude Code wrapped itself
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(terminal): keep copy_unwrap fixtures LF on Windows checkouts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(settings): build the join-wrapped row with its Selection & Clipboard siblings
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
gpui only rasterizes subpixel (ClearType) glyphs when the window's
background appearance is Opaque. tty7 never asked for Opaque: with no
backdrop material the window was always Transparent (or the WCA blur),
even at the default opacity of 1.0 where nothing behind it can show
through. Every glyph on Windows therefore fell back to grayscale
antialiasing, regardless of the system ClearType setting.
On Windows, hand the window Opaque whenever the fill is fully opaque
and the resolved backdrop is plain translucency or the WCA blur. DWM
materials (Mica / Mica Alt / Acrylic) are left alone. Lowering the
opacity switches back to Transparent at runtime as before.
Fixes#1120
On a light theme Settings drew its dropdowns, buttons, menus, chips and switch knobs pure white, which stands out on a tinted page such as a cream theme. They are now the page colour lifted a step and made opaque, so they keep the theme's hue; a white theme still gets white controls, and dark themes are unchanged. The change is the `raised` colour in `settings/kit.rs`. `cargo test --bin tty7-app settings` gives 58 passed.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A new or deleted file has one side only, so in the split view half its card was empty. Such a file now draws unified whatever the view, and the others still split. A drag takes its mode from the row it starts on, so selecting and copying in one of these files works in either view. `file_mode` in `diff_list.rs` picks the mode, with tests; `cargo test --bin tty7-app diff` gives 90 passed, 1 ignored.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The lights sat 9pt in from the left edge, the inset of a plain 28pt title bar, which crowds them into the corner of the 48pt bar. AppKit's own toolbar windows inset them as far from the left as from the top: measured on macOS 26, the close button sits 19pt in and 19pt down in a 52pt unified toolbar, and 12pt in and 13pt down in a 40pt compact one. `traffic_light_position` now uses the top gap it already derives (16.5pt) for `x` as well, and its test asserts the two match. The lights still end well inside the tab strip's 80pt lead. `cargo test --bin tty7-app traffic` passes.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(settings): put the password and key passphrase back on the SSH host editor
The rebuilt settings window drew the host form from scratch and left out
the credential rows. Everything behind them survived — the form still
read the keychain on open, counted a typed secret as a change, and
filed it on save — but with no box on screen there was no way to give a
host a password short of connecting and waiting to be asked.
The editor now shows a masked Password row (with a reveal toggle) after
Port, and a Key passphrase row after IdentityFile. Each appears only when
the host's auth method would actually use it, the same split the
connection path makes: Password for Auto/Password, the passphrase for
Auto/PublicKey once IdentityFile names a key that exists on this machine.
* test(settings): the SSH editor's credential rows follow the auth method
The band falls back to the reconnect supervisor's last error, which
neither button cleared: Dismiss left it on the next frame, and Try Again
started a second connect of its own while the stale reason kept hiding
the Connecting state.
- Try Again on a supervisor failure asks the supervisor to dial now
(backoff reset) instead of racing it with another connect.
- While a connect is in flight the band says Connecting, not the old
reason.
- Dismiss silences that exact failure on the supervisor; a different
one is shown again, and the link coming up forgets it.
- A dismissed parked-route notice stays quiet instead of resurfacing as
the error band, and the band offers no Try Again on a parked route.
- A failed Close on an orphan pane shows why on its own line.
The badges were revealed on a bare secondary modifier — ⌘ on macOS, Ctrl
everywhere else — whatever `ActivateTab1`…`ActivateTab9` were bound to. Off
macOS the nine ship on Alt, so holding Alt raised nothing while Ctrl, which
switches no tab there, lit up every number; and a tab row rebound onto Alt, the
case reported, still had to be held with Ctrl to see the hint.
The hold is read from `ActivateTab1` now, so it follows the binding and is
matched exactly. An unbound action, a chord with no modifier, a key that is not
the digit the badge draws, and the tmux preset's `prefix 1` raise no badges at
all rather than promising numbers no key answers.
Co-authored-by: Du Leilei <duleilei@sailyond.com>
A Full sync used to read every machine tab the window was not showing as
a close. Missing is not closed: a window is missing tabs whenever it is
emptied (Restart Server clears it for the whole handoff), a rebuild fails,
or state outlives a visit. Each of those turned into a plain TabClose for
every tab, nothing remembered, shells left running as orphans, and the
now-empty workspace was then removed as disposable. Restart Server did
exactly this to a workspace of sixteen agents: any delta during the
handoff synced the emptied window.
#554, #579, #672 and #716 each fenced off one way of reaching that diff.
This removes the inference instead. close_tab_inner, the one path every
user close goes through, records the intent; a sync closes only tabs with
a recorded intent and holds the rest where they are.
An agent that animates its title (Claude Code turns a circle one quadrant
at a time) sends a new OSC title every few hundred milliseconds. Each one
rebuilt the whole window for a tab that reads the same, because
TabView::label() strips the mark before drawing it.
Two places now read "same title" the way label() does (trimmed, status
mark stripped, via tab_view::same_title_ignoring_status_mark):
- settle_title treats a frame that only changes the mark as a Revert, so
it queues no 400 ms wait and ends in no cx.notify() on the pane.
- on_layout_delta asks the machine mirror, before applying a PaneFacts
delta, whether the pane's record differs from the mirror's by anything
but such a title, and skips apply_layout_delta (whose only effect for
PaneFacts is the notify of the root view) when it does not. The mirror
is still updated and sync_window still runs.
A title whose words change lands as before, so a ticking counter in a
title repaints as often as it did.
Co-authored-by: kalpak <307643502+kalpakprod@users.noreply.github.com>
A program that asks for the kitty keyboard protocol pushes its flags once,
at startup. A long session pushes that push out of the 8 MB replay ring, and
the mode tracker that re-sends what the ring lost only knew DEC private
modes, so a client that reattached rebuilt the pane with no keyboard flags
and sent Escape as a bare ESC to a program still parsing the kitty form.
TerminalModes now keeps the keyboard flag stacks the way alacritty does: one
per screen, swapped on ?1049, reloaded from the top on every push, pop and
swap, with CSI = changing only the flags in effect. They cannot be restored
as the state they ended in, because the pushes and pops the ring still holds
act on the stack relative to where it stood, so the ring folds every evicted
byte into a head tracker and the replay prelude rebuilds the stacks as they
stood at the ring's front.
* fix(sidebar): keep button size and position when toggled
* fix(sidebar): use unfilled icons when collapsed
* docs(changelog): link the sidebar fixes to PR 1099
* fix(panel): drop the pid column from Info → Processes
The pid sat in a column of its own on every row, beside CPU% and memory.
It reads as a port number at a glance and is not what the list is read
for; the row's name, CPU% and memory already say which process is which.
* feat(mobile): drop the keyboard key beside the message box
A tap on the pane already brings up the keyboard for typing straight into
the terminal, so the round key that did the same only crowded the compose
row.
`y` in `traffic_light_position()` is the gap between the window's top edge
and the top of the button frame, and AppKit draws those buttons 14 points
tall, so the lights' centre lands seven points below it. The tiles beside them
are centred in the title bar's content box instead — `TITLE_BAR_HEIGHT` less
the hairline `TitleBar` draws along its bottom edge — which is 23.5 in a 48pt
bar. The constant was still 17, the value the 40-point bar needed (13)
rewritten by hand when the bar grew to 48, without that border in it, so the
lights' centre came out at 24: half a point low, one whole device pixel on a
Retina panel.
It comes from the bar's own height now — `(48 - 1 - 14) / 2 = 16.5` today —
and a test holds the lights to the tile line, so the next change of bar height
has somewhere to move with it.
Measured on macOS 26.3 with the style mask gpui uses
(`fullSizeContentView` and a transparent title bar): the standard buttons are
14×14 points with 9 points of padding, in a 32pt title bar.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Nine tests failed locally but passed in CI. The `ui::scm::detail` tests
ran `git tag` under a global `tag.gpgsign true`, which then wants a
message; their git helper now ignores global and system config. The
`terminal::history` tests read the real `HISTFILE`, whose newer entries
pushed the tests' own past `MAX_ENTRIES`; shell history isn't loaded
under `cfg(test)`.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat(agents): recognise Muse Code and jcode
Muse Code's `muse` launcher execs a versioned `muse-bin-<version>`
binary, so detection also maps that name to Muse. Muse resumes with
`muse resume <id>` (root options on either side of the subcommand);
jcode with `jcode --resume <id>`.
* feat(agents): install native Empryo and jcode hooks
* feat(agents): add jcode lifecycle hooks
* fix(agents): preserve jcode hooks and correct Empryo removal contract
* feat(agents): install Muse native plugin hooks
* docs(agents): list Empryo, Muse Code and jcode as hook-backed
* fix(i18n): translate Empryo, Muse Code and jcode search keywords
* fix(agents): read jcode hook payload from env, route its reports like Codex, bound muse CLI calls
jcode runs hooks with stdin closed and puts session_id/cwd in
JCODE_HOOK_PAYLOAD, so reports carried no session and resume never
learned an id. Its shared server also runs every session's hooks with
the first client's TTY7_PANE, so reports go through the same
session/directory routing as Codex. muse plugins calls now time out
after 30s and surface stderr. Adds ru strings for the new keys and
reattaches Kimi's doc comment to KIMI_HOOK_EVENTS.
* docs: count Muse Code and jcode in the README agent totals
---------
Co-authored-by: kalpakprod <307643502+kalpakprod@users.noreply.github.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
* feat(terminal): an OSC 8 link rests under a faint dotted underline
A hyperlink a program emits (OSC 8, which panes ask for via
FORCE_HYPERLINK) looked like plain text until the pointer found it.
It now carries iTerm2's faint dotted underline, drawn by the SGR 4:4
dotted painter, and swaps to the hovered link's solid line under the
pointer. A cell the program underlined or gave an underline colour
keeps its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(terminal): an OSC 8 link's dots stay faint under the block cursor
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
* feat(ui): add ru-RU locale with CLDR few/many plurals
Russian joins English, Simplified Chinese and Japanese.
- `gui_language` accepts `ru-RU`; the picker shows the endonym «Русский»
in every locale, as for 简体中文 and 日本語.
- `PluralCategory` gains `few` and `many`, chosen by the CLDR rule for
the active locale (1 файл, 2 файла, 5 файлов, 11 файлов, 21 файл).
en, zh and ja never select them, so their output is unchanged.
- `ru.rs` translates every key and every plural form; the exhaustiveness
test now covers ru as well.
- Style follows Russian VS Code / Windows: infinitive verbs on buttons
and menu items, imperative in hints, Git terms as in VS Code ru.
Claude-Session: https://claude.ai/code/session_01NnVhn11H75iA699hvPsiH3
* docs(config): list ru-RU among gui_language values
---------
Co-authored-by: kalpakprod <307643502+kalpakprod@users.noreply.github.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
* fix(panel): light the side panel's current tab; clicking it no longer closes the panel
The current tab differed from the others only in ink and weight, which read
as no selection at all; it now sits on a pill. Clicking it used to put the
panel away, so a stray click on the tab you were on hid the panel. ⌘J and
the title-bar panel tile still do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(panel): spell the hide shortcut as a key, like the line above it
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>