Repository navigation
feat: per-call emoji status glyph (session.status --glyph) - #1
Merged
Merged
Conversation
Lock in terminals released the layout whenever an HTML overlay page took the keyboard, so typing in a page reverted to the earlier layout while program overlays and the HUD kept the lock. The lock now holds while the first responder is a live terminal surface or anything inside an HTML overlay page, page fields included, and the web view rechecks it on both focus changes so moving between a page and the palette or an ask dialog restores and relocks the layout.
A Claude Code session's info line counts its subagents and shows the latest one's tool call, the row stays active until the last subagent stops, and a chord pages one subagent's transcript in an overlay. Built on `session info` from umputun#864, as agreed in Discussion umputun#713. Verified live against Claude Code 2.1.299 in an isolated Debug build.
a screenshot thumbnail dropped into a Live pane inserts its path, but a tool that opens the file gets `Operation not permitted`, so Claude Code drops the image silently. In the reported case agterm had no Full Disk Access, and granting it made the same read from the same pane succeed with no restart. Fixed umputun#903
- a running subagent whose claude is gone counts as finished: each start records the claude pid beside the status, so a claude killed mid-run no longer holds completed or the count after --resume - the ancestry walk reads argv and takes a node/bun/deno runtime's first argument, so an npm-installed claude is found - the picker opens with the shown subagent when it is the only one, since a HUD over the running viewer is refused - README: the info line belongs to the session, other session info callers overwrite it, and AGTERMCTL/AGT_SUBAGENT_STATE must be set on the keymap line too because settings.json env does not reach the chord
* feat(sidebar): add option to hide workspace chevrons settings > Interface > Sidebar gets a "Workspace chevrons" toggle so rows can take the chevron's width in a narrow sidebar. Hidden chevrons move every row left, and the flat and plain flagged lists, which never draw one, drop that empty strip too. The workspace row menu gains Collapse/Expand Workspace, so the row click and chevron settings stay independent and a workspace can still be folded by mouse with both off. the chevron is hidden through an empty frameOfOutlineCell, because AppKit refuses collapseItem for an item whose shouldShowOutlineCellForItem is false. Related to umputun#907 * fix(sidebar): key the left inset on the dropped strip the flat and plain flagged lists drop the disclosure strip whatever the chevron setting is, but the scroll inset followed the setting, so toggling Workspace chevrons shifted those lists 2pt with no chevron in sight. The inset now reads the strip flag and is re-applied on every rebuild, since switching between the tree and the flagged view never reaches the appearance path. Related to umputun#907
the row menu's Tint submenu started every untinted row on the icon, so picking Name or Icon and Name on one row never carried to the next, and None followed by a new color dropped back to the icon too. the menu now keeps the last Show On pick in memory for the app run. A color picked from the menu for an untinted row starts on it, and Show On shows it checked there while staying disabled. Tinted rows keep their own placement. The palette and `session tint` without `--on` keep the icon default.
umputun#911) * fix(ghostty): skip a repeated title while the same one is still queued libghostty hands over every OSC title a program writes, and each SET_TITLE callback queued its own main block. A program writing one title in a loop put tens of thousands of blocks on the main queue, behind which control requests waited. TitleAdmission, one per pane, skips a title while an identical one from that pane is still queued, since applying it again would change nothing; a different title, or the same one after the queue drains, is queued as before. The zmx lead and remote link notices bypass it. Measured locally with eight producers writing titles: titles reaching main fell from 1.68M to 290k over six seconds, the peak backlog from 34k blocks to 11, and tick time from 179 to 116 ms per 250 ms window. libghostty still delivers every title through its tick, so this is an optimization; whether it ends the CI spam-8 stall is unproven. * ci(teardown): keep the stuck spindump stackshot, record the spam-8 run the CI collectors attach to a stalled app and then lose the report while symbolicating. Spindump now runs with -noIPC, and a raw stackshot a stuck spindump saves under /var/tmp is copied into the case folder, readable later with spindump -i; a failed copy is recorded as stackshot_errors and never skips the app cleanup. the backlog item gains run 42302198754 and the title-flood measurements.
…un#912) the first menu evaluation read remotes through an unwired actions.settingsModel and disabled Attach Remote. Assigning the model later emitted no observation change, leaving the item disabled until another menu rebuild. Wire it during initialization so the first evaluation sees configured remotes and observes future changes.
…pins [skip ci] The vt-1.0.0 stability promise covers only the libghostty-vt C ABI, not ghostty.h or zmx's Zig import. The tag still lacks the surface teardown drain, so GHOSTTY_REV stays, and its nullability markings break several Swift call sites in the bridge on the next bump. The zmx formatter patch is fixed upstream at the tag and can go with the zmx move to Zig 0.17.
a multi-file patch has no file list in the text viewer. Per-file links let the user choose which changes to open.
* feat(text): step between changes in diff pages full-context patches can put every change in one hunk. Add change navigation with ] and [ and bar buttons, so the user moves between edits without searching or scrolling. agtermctl session overlay changes --next|--prev exposes the same action, with the count and current change in htmlOverlays[].text.changes. * fix(text): reset the diff page change after a reload's read the old page stays live while a reload reads the file, so a step there set the change again and the reloaded page opened on it. The report is still cleared before the read; the change now resets after it.
A clicked .html or .htm path was revealed in Finder. It now opens over its session like a clicked markdown file, themed like an --html page. Terminal output named the file, so it is untrusted: the page gets no file grant, no control bridge and no page JavaScript, and a refused or unreadable file is still revealed. Opening it makes no network connection: a CSP blocks subresources and a content rule list blocks the preconnect and DNS-prefetch hints the CSP does not cover. A presenting Mac shows it only when it supports the new page source. Clicking a link may still connect to its host before the browser prompt.
…r commands the Live exit capture read every pane's foreground from one zmx list capped at 0.1 s. The listing probes daemons one at a time, so with many busy daemons it can run past that limit. A failed listing left every reattached pane with no command, because its pending one was already consumed at attach, and a later reboot restored bare shells. Fixed umputun#915
…uthor the cookbook promised a fix for any reported recipe without saying who wrote it. Authorship is now visible, so readers and agents send changes to contributors' recipes as pull requests, and keep issues for bugs in @umputun's own recipes and in agterm itself.
…#921) a `.diff` or `.patch` page used highlight.js's `diff` grammar, which colors whole added and removed lines green and red and never the code in them. Now each file's code is colored in its own language, the way webrev's diff view does it. - agtermCore maps every `---`/`+++` header path to a language with the existing extension table and hands the map to the page as `data-files`, so a multi-file `git diff > all.diff` colors each file in its own language, CRLF patches included - each hunk's old and new sides are highlighted whole, so a comment or string opened on an earlier row keeps its color, and none leaks across the lines a patch leaves out between hunks - added and removed rows get green and red background bands mixed from the theme's palette, drawn under the text. The `+`/`-` column is hidden at zero width and stays in the text, so search, copy and `]`/`[` change stepping still read the file as written; header rows stay dimmed - past the 256 KB highlight cap the bands and hidden markers remain and the code renders plain. A near-4 MB diff renders in about 2 s, against 0.5 s for a plain 4 MB log - a context, normal or combined diff has no unified hunk and keeps the `diff` grammar `htmlOverlays[].text.language` stays `diff`. Wrapping long lines on diff pages is recorded in `docs/backlog/diff-pages-do-not-wrap-long-lines.md`.
Combine Claude Code and Codex worktree snapshots on a session's sidebar line. Serialize updates across panes and remove stale participants on refresh.
…mputun#923) * docs: add remote link click forwarding plan * feat(links): route a remote pane's file paths to a forward hook * feat(remote): add link.click and link.refused presentation frames * refactor(links): move the link overlay helpers into their own file * feat(remote): open a forwarded click's page on the presenting Mac * feat(remote): forward a remote pane's clicks and report refusals * docs: describe forwarded clicks from an attached pane * fix(remote): let a click after a refusal travel and refuse over a hidden local page * docs(plans): move the remote link click plan to completed
…om a SessionStart hook (umputun#914) * fix(cookbook): codex-session-resume records the tab's conversation from a SessionStart hook The function mapped a tab to whichever rollout file under ~/.codex/sessions/ was newest when codex exited. Any codex on the machine writes there: a `codex exec` that another agent in the same tab runs for a review, a codex in another tab, a desktop app that embeds codex. On a machine running review agents beside an interactive codex, tabs got mapped to those runs and resumed a review conversation or one another app owns. The README already named this race. A SessionStart hook now writes the mapping from the session id Codex hands it. The function starts codex with CODEX_AGTERM_TAB=<tab-id> and blanks the variable for codex's tool commands with shell_environment_policy.set, since Codex starts a local hook from its own process environment. --no-daemon keeps the hook in that process. Codex fires the hook at the first turn, so a tab is mapped while codex still runs, and /clear moves the mapping to the new conversation. The function drops its own flags from an argv agterm replays, so a restored `resume <id>` is decided again from the mapping instead of passing through. * fix(cookbook): codex-session-resume skips the memory session and a typed --no-daemon Review fixes for codex-cli 0.167.0. The function prepends its own --no-daemon, and codex refuses the flag twice, so `codex --no-daemon` did not start. A typed one is now dropped on the launches the function manages. Words after `--` are prompt text and are kept. Codex's background memory session fires SessionStart in the same process with a null transcript_path and an id that has no rollout. The hook recorded it over the tab's mapping, so the next codex started fresh. An event without a transcript path is now skipped. The passthrough list gains agents, queue, migrate-rollouts and migrate-nfs-db. A rollout kept only as rollout-*.jsonl.zst is found: a compressed root counts for the child to root repair, and a mapped id with only a compressed rollout is resumed as it is.
plan for markdown overlays following relative links to neighbouring .md files with WebKit back/forward, locally and on pages shown from another Mac. CLAUDE.md gains the working norm that a session attached from another Mac gets every capability a local one has.
…ink filter task 1 of the markdown local-links plan. MarkdownLinkGrant holds the canonical file and folder a link page may follow links within; linkGrant refuses a relative path, a non-markdown target, and a folder that is / or home. linkedDocument accepts only a markdown-spelled request whose canonical target is markdown strictly inside the root. render.js keeps relative links to neighbouring markdown files when the page carries data-links, and remote picture references skip markdown-spelled paths.
…ages task 2 of the markdown local-links plan. a hosted test serves two long markdown documents through HtmlPageSchemeHandler with content JS off and render.js at document end, and checks that a fragment link lands at its heading, Back and Forward restore the scrolled positions, and plain and theme reloads keep the position and the history list.
Lock in terminals held the layout only while a terminal surface or an HTML overlay page had the keyboard. The palette, pickers, ask dialogs, the find bar and rename fields released it and accepted another layout, while a field inside an overlay page kept it. The lock now holds whenever any agterm window is key, whatever has focus inside it, and the earlier layout returns when focus leaves agterm. The setting is renamed Lock in agterm; its stored key is unchanged. Focus moves inside a window no longer change the decision, so the refresh calls from terminal surfaces and HTML overlay pages are removed, along with the tests for the per-responder check.
* docs(plans): add convert to companion plan * feat(companions): convert a top-level session into a companion in the store * fix(companions): reopen a companion under its parent's current group root * feat(control): add session.companion.convert and agtermctl session convert --companion * feat(companions): add Convert to Companion to the Session menu, row menu, palette and keymap * docs(companions): document Convert to Companion and session convert --companion * test(zmx): give the slow-listing capture test more headroom under load * docs(plans): record convert to companion gate results * docs(companions): state the parentID contract conversion and reopen keep * test(zmx): drop the extra process from the slow-listing capture fixture The fake zmx ran /bin/sh plus /bin/sleep, two process starts on top of the delay, and under the full hosted suite it finished within 13 ms of the 300 ms capture budget. It is now one zsh -f process that waits 120 ms with the zselect builtin and exits 2 if the module does not load. It still fails against the old 100 ms budget. The cause of the earlier timeouts, a slow child or a late termination callback, was not observed at a failure, and the production budget is unchanged. * docs(plans): move convert to companion plan to completed * feat(companions): group the companion items in their own menu section
…emon (umputun#979) * fix(cookbook): stop mailbox-chat misrouting under the Codex shared daemon A Codex started without --no-daemon runs its hooks and commands in the shared app-server, which carries the AGTERM_* ids of the pane that started it. The SessionStart hook registered every such thread under that pane with the daemon's pid, so the starting pane's mail went to whichever thread started last, and the registration never went stale because the daemon outlives every TUI. `say` and `status` from such a Codex sent as the starting pane. The hook now skips a start whose nearest codex is the app-server, a registration held by the app-server is ignored, and own_identity refuses under it with an error naming --no-daemon. A daemon-backed Codex reports receiver: none and its mail waits in its own mailbox. Related to umputun#977 * test(cookbook): pin mailbox-chat deliver refusal under the Codex daemon * test(cookbook): stub mailbox-chat argv reads so recipe tests run on Linux CI
Capture freshly copied wrapper permissions and pass them to the existing mode-preserving write without changing shared write semantics. Regression tests cover direct wrapper execution and exact permission preservation across installation and reinstallation.
appendShellRC rewrote .zshrc, .bashrc and fish config.fish with an atomic write and no mode. On Linux that write leaves a fresh 0644 file, so installing hooks through agterm-server made a chmod-600 rc file world-readable. macOS keeps the mode, which is why the Mac-only installer never showed it. The rc mode is now captured and restored the same way the other installed files are.
a custom command fired from the scratch terminal got the main pane's directory in `AGT_SESSION_PWD`, so a file name selected from an `ls` in the scratch resolved against the wrong directory. - the scratch's OSC 7 reports go to a new `Session.scratchCwd`, never the row's cwd or title. A local scratch seeds it with its start directory, and it is cleared whenever a scratch departs - `AGT_SESSION_PWD` from the scratch is that directory. `AGT_SESSION_HOST` is empty from the local scratch of an attached session, so the pair names one shell; a remote window's server scratch keeps the host - the palette and keymap run keep the primary or split pane, as documented - relative links libghostty leaves raw (`./main.go:42`) resolve against a local scratch's cwd - `tree` reports `scratchCwd` while a scratch exists, shown or hidden, and the human tree output shows it when it differs from the session cwd - `cwd(for:)`, `remoteHost(for:)` and `localWorkingDirectory` move to `Session+PaneDirectory.swift` to keep `Session.swift` under the file length limit skill reference, `site/commands.html`, `site/docs.html` and the control-api/keymap rules are updated. Related to umputun#976
- skip rows of an agterm-server remote window, whose remoteSessionID is their own id: zmx attach cannot bring them back, so they came back as waiting rows and a Retry dialog on every launch - sync exits quietly when the window's tree cannot be read, so closing a window with several remote rows no longer posts "Hook failed" - remote.opened skips the write when the tree reads fine without the row: it was closed while the event waited in its queue, and remote.closed has already run; the event's workspace is used only when the read fails - an attach drops a waiting line for the same host, session and window, so retry does not attach a session a second time after it was attached by hand - README: the keymap command and a manual retry or list need the same AGT_REMOTE_RESTORE_DIR prefix as the hook lines Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mputun#983) * test(ssh-pool): wait for the parked runner by retries, not wall time four `SshConnectionPoolTests` cases failed on the Linux job with `await held()` false. `held()` gave the stub runner 5 s of wall-clock time to park, and every Linux run opens with a scheduling stall where trivial main-actor tests report 22 to 33 s, so the deadline could expire before the runner parked. `held()` now gives up after 1000 `Task.yield` retries, so time spent suspended no longer exhausts its budget. a local Linux reproduction in the CI image reached the main actor in 0.7 s, then took 14.2 s to resume after `MainActor.run`. Stacks also showed synchronous test waits occupying worker threads. The startup stall remains; docs/ci-flakes.md records the measurements and their limits. * docs(backlog): file synchronous test waits that hold concurrency workers HudHelperTests and OverlayRunJobTests occupy Swift concurrency worker threads with Thread.sleep polling and a semaphore wait during the Linux start-of-run stall. Moving them off the pool changes fixture cleanup in two suites and needs its own before/after measurement, so it waits.
…ge rows on agterm-server (umputun#978) * docs(claude): remote parity covers agterm-server hosts and needs Eugene's direct approval for any exception * feat(presentation): frames and page.text capability for live remote text pages Add the page.text presentation kind, the follow/search/wrap/changes page actions with their toggle, query and step fields, the pageResult answer, and the text state carried by page state, a re-offer seed and a log request on the page frame. TextLog, TextLogReport and TextChanges become Codable and ControlToggleMode gets its wire spellings. Both presenter-frame receivers route pageResult; the presenter refuses the text actions until they are implemented. * fix(presentation): refuse unsupported replica text actions with a page result a text action answers with a correlated pageResult, so a refusal on the presenter sends one with ok false and leaves appliedSeq alone; the query cap comment describes the truncation it performs. * docs: add remote text page controls plan * feat(presentation): log tail requests on the page channel a log page's channel answers log.tail with the raw tail bytes, its stamp and offset, or log.unchanged when the stamp still matches; the presenter builds the snapshot with the same LogRead a local page uses, so truncation, rotation and binary tails read alike. RemotePageChannel.logTail is the client. * test(presentation): cancel a log tail inside its chunk loop the cancel goes out after the head and first chunk arrive, so the test fails if the loop stops honoring it; two comments that restated the code are gone. * refactor(text-page): async reader for the log follower the reader may suspend, as a replica page's will on its channel; the default reader detaches the file read itself. A pause or stop while a read is suspended drops it, as it does for a blocking one. * feat(presentation): replica text pages run the text page bridge a text page shown for another Mac searches, wraps, steps its changes and follows its log like a local one: the store's text paths accept it, its bridge reads text over the page channel and a log through log.tail, so a log past the text cap opens, and every change reaches the origin in the page state. A re-offered page opens with the following, query and wrap it had. * fix(text-page): cut a search query to its limit where it is set the wire state cut only the query, so an over-limit query could report counts the presenter found for a longer one. the model now stores the cut query and the page field holds the same limit. * docs: order only the origin's text actions on the presenter in the plan also lowercases the query limit comment in text.js. * feat(presentation): origin control of text pages the presenter shows follow, search, wrap and diff change steps on a page shown on the presenting Mac now go there as page commands and wait for its result, at most five seconds. the presenter runs each origin action as the local command, in order per page, and answers with the page's text state, which the origin mirrors before replying. a presenter without live text pages is sent nothing and keeps the existing refusals; a log page now opens on one that has them. * feat(presentation): a clicked log reaches the presenter as a log page a log clicked on a presented pane opens as a log page on a presenting Mac that lists live text pages, and as the plain text page on an older one. * test(text-page): pin the step commits with the page's messages cut off removing the page's message handlers leaves the native commit as the only way a step's counts, pause or change reach the model. also restores the step lines' indentation and trims comments the review flagged. * feat(server): log pages and text page control on agterm-server the server probes a log through its tail, holds a log page for the next Mac, and refuses one only while a Mac without live text pages is connected. a clicked log becomes a log page for a presenter that can follow it. follow, search, wrap and changes are served through the shared store path, answered by the presenting Mac. * fix(remote-page): a text action on a page held for no Mac answers that the viewer is gone * feat(server): page sessions on agterm-server, attached per view through a shared book * docs: drop two comments restating their code * feat(remote-window): server page rows shown in a Mac's remote window agterm-server's catalog carries page rows, with their page and the endpoint a Mac reaches them through. A Mac that declares page rows in its hello mirrors them as page rows; an older viewer gets the catalog without them, with skip deltas keeping its revisions contiguous and a page root's companions shown top-level. A page row claims a view of its server page through page-attach and shows it over a page channel. Each claim is tied to the row instance the window holds, so a row detached, removed or replaced during the ssh wait is never shown and a replaced one is claimed again. A lost channel or an unreachable server shows the row's failed page and claims again while the catalog lists the row. session.page and session.companion.page in a remote window are created by the server under an operation id, through session overlay open --page|--companion, which now takes --op-id and --epoch. * fix(remote-window): page row claims wait for the ssh connection and release their lease A page row's page-attach and its page channel each wait for the pooled ssh connection before they run, so a slot being started is never joined by a second connection; an unreachable one shows the row's failed page and the claim retries. The channel starts after the claim ends, so a channel that fails to start claims again. A replica page keeps the pool its channel leased from: a closed or detached row is gone from its store before its page is released, which left the lease held. A page row's binding follows a catalog change of its endpoint, and its failed page reads back as failed with its reason before any view renders it. * docs: remote text pages, server page rows and their control The skill, the command reference, the user guide and the control rules state that log pages and follow, search, wrap and changes work on a presenting Mac with live text pages, the replies an older presenter gives, page sessions on agterm-server and the page rows a Mac's remote window shows, and page rows a remote window creates through its server under an operation id. * docs: complete the remote text page controls plan * fix(remote-window): route page outcomes and closes to their server A page a remote window created keeps its outcome on agterm-server, so the Mac remembers which host holds each such page for the app's lifetime and sends `session overlay result --page` there; `--block` from a remote window no longer polls an id only the server knows. The read runs off the accept thread like every other forwarded request. `session overlay close` on a server page row closes the row on its server, as its page's own close does, instead of removing it on the Mac alone. agterm-server refuses `ask open` on a page row because no presentation stream can show the ask. * fix(text-page): report setup counts only once the page is ready A text page posted a diff's first changes count and a seeded search's first match count before it reported ready. A caller that waited for those counts in the model, a script polling `tree` for `text.changes` included, could step while the bridge still held the document as pending and get `page not loaded`. The page now holds the counts it reports during setup and sends them right after ready; later reports go out at once. A remote page test counted state frames before its restricted-port URL had finished failing to load, so the load's own reports landed in the count on a slow runner. It now waits for the failed load before its baseline. Both causes are recorded in docs/ci-flakes.md. * test(remote-page): count state frames from a file page that needs no network The refused-text-action test waited for its restricted-port URL to report a failed load before taking its baseline, and on the CI runner that load never reported failed within 10 s. The test now shows an HTML file page through the fixture's channel and waits for the loaded report carrying the hide's sequence; the frame count assertion is unchanged. * feat(server): present GUI asks and picks on page rows GUI asks and picks on server page rows had no presentation stream to reach a Mac. Open that stream alongside the page view for headless origins. * docs(backlog): record content page rows * test(server): give page view reads the suite's 60 s ceiling
…ter (umputun#987) * fix(live): start the session host as a launchd job on macOS 27 and later Live sessions closed when macOS force-quit a GUI program started from a pane. After agterm quit and the same build relaunched, a program switched off in Allow in the Background became the app of the coalition the session host and its daemons were still in, and loginwindow's force-quit about 30 seconds later took the daemons with it. On macOS 27 and later the client starts agterm-session-host as a one-shot job in the user's GUI launchd domain, which gives the host and its daemons a coalition of their own; responsibility disclaim alone does not change it. Such a host ends with the GUI login session, as a reboot already ends every Live session. A definite bootstrap failure falls back to the disclaimed spawn, and a timed-out one never starts a second host. Older macOS keeps the spawn unchanged. Fixed umputun#985 * fix(live): remove a job host's launchd job however serving ends A session host started as a launchd job removed its job only after an accepted stop. One that found the endpoint already served by another host, or whose startup or serve loop threw, left its one-shot job loaded in the GUI domain until logout. It now tries to boot out its own label after serving ends, including on error, and logs a failed bootout. A host whose key or label is not its own still exits without touching any job. Troubleshooting no longer suggests a reset helps sessions under a host that fell back to the spawned start.
…ctive The lock treated agterm as focused whenever any of its windows reported key. A long-running instance got into a state where one of its windows kept reporting key after another app came to the front. Every layout switch made in that app was reverted to the locked layout, and leaving agterm never put the earlier layout back. The lock now also requires NSApp.isActive, which stays true while the quick terminal panel is key over another app, and re-checks on app activation and deactivation, so releasing the layout does not depend on a resign-key notification.
On macOS 15 plutil prints its "Could not extract value" error to stdout when a key is missing, so field() in the Claude status adapter returned that text and every main-agent hook looked like a subagent's. Its active writes gained --if-idle and could not replace blocked or completed, and a Stop while a background subagent ran posted completed instead of active. field() now prints plutil's output only when the extraction succeeds. Fixed umputun#990
the session-link docs said to ⌘-click an agterm://session link in Claude Code markdown. When Claude Code captures the mouse, libghostty leaves that click to Claude Code, which does not open agterm: links, so nothing happens. ⌘⇧ bypasses the capture and reaches agterm's session-link route. Checked on 0.42.0: ⌘-click did nothing, ⌘⇧-click selected the session.
A corrupt or missing per-window file opens as an empty tree, not one with a default workspace and session, and a lost windows.json recovers orphaned window files before falling back to legacy migration.
… title agterm-server's resolved catalog label became a manual name on the Mac, so it hid OSC titles even after Rename cleared the name. Carry the manual name separately so unnamed terminal rows follow their titles. An empty value tells an unnamed session from an older server omitting the field; page rows keep their existing labels. Fixed umputun#991
in compact mode a split's panes took their top inset from the native titlebar band, which SwiftUI reports differently for a hidden deck entry, so switching into or out of a split session resized both panes by about two rows and showed a stale frame under the titlebar. Panes now lay out below the deck's own top edge, which does not depend on visibility. A compact top/bottom split can still jump its divider for one frame on show, since SwiftUI moves it when the native inset changes.
…erminal links permittedSchemes gains the editor handlers, hardcoded with no environment configuration. Ported from the v0.34.0 ide-links patch onto v0.42.3.
The zip name, checksum summary and artifact name hardcode 0.34.0; build.sh already derives the app's MARKETING_VERSION from git describe, so the labels should follow the same tag instead of drifting (the fork had no v0.41+/v0.42+ tags, so CI stamped 0.40.0 into a v0.42.3 build).
A --glyph <text> draws any 1-4 grapheme cluster text (an emoji, typically) instead of the SF-Symbol silhouette, riding the ephemeral indicator exactly like --shape/--color and reverts on the next plain set. Color emoji keep their own colors, so --color does not tint them. Renders in the sidebar, the attention palette/popovers and remote mirrors; a viewer without the new status.glyph capability has the glyph cleared and draws its own shape. --shape stays untouched.
CharacterSet.controlCharacters includes Cf (ZWJ, U+200D), which composes multi-person emoji, so a family glyph was rejected as a control character. Reject only Cc control scalars instead.
CommandsTests.swift crossed swiftlint's file_length cap (2014 > 2000) with the glyph tests added; a dedicated SessionStatusGlyphCommandsTests keeps them under it.
The per-call glyph validation pushed dispatchSessionCommand's switch past swiftlint's cyclomatic-complexity cap (28 > 25); the session.status argument surface moves to its own method, the dispatchSessionFlag pattern next door.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Проверка через CI: swift test + macOS-сборка (локально Xcode нет; ядро собрано swift build, 0 ошибок).