Skip to content

feat(files): open text files in a panel beside the pane - #1224

Merged
devswha merged 1 commit into
mainfrom
feat/file-viewer-side-panel
Oct 16, 2026
Merged

devswha merged 1 commit into
mainfrom
feat/file-viewer-side-panel

Conversation

@devswha

@devswha devswha commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Change

On a window 980px wide or more, a file opened from the chat, the terminal, the Files list or a diff can now show in a panel beside the pane instead of a dialog over it, so the terminal and chat stay usable while you read it. Phones and narrow windows keep today's full-screen viewer.

  • Which files dock. Text, code, Markdown and HTML open in the panel. Images, video, audio, PDFs, other binaries and folders keep the popup. The first paint is chosen from the extension. When the real kind disagrees (an extensionless text file, a folder), the viewer corrects it once.
  • Move between panel and popup. A header button moves the open file either way. The choice is kept in the preview's history entry, so it survives reload and Forward.
  • Panel chrome. The layout follows the right panels of T3 Code and Paseo:
    • a single ~40px header with the file glyph, the name and compact actions;
    • a thin toolbar with the size and folder on the left, and Preview | Source (Markdown) or Page | Source (HTML) on the right;
    • content edge to edge, on the pane's background behind a hairline.
  • Resize. Drag the panel's left edge to resize; double-click resets it. The width is remembered on this device. The accent seam shows only on hover, focus and drag. The panel yields first, so the pane always keeps at least 320px.
  • Diff and Files. Opening a file from a diff while docked hands the diff's history entry to the file: one Close or Back returns to where the diff was opened. The Files dialog closes when its file goes to the panel. Below 980px the file still opens above the diff.
  • Fixes in passing.

DESIGN.md (file viewer) and a changelog fragment are updated.

Validation

  • bun run typecheck: pass.
  • bun test src: 1690 pass, 5 fail. All 5 are in src/lib/sheetHistory.test.ts, which fails the same way on the base commit and passes on its own.
  • bun test scripts/conventions.test.ts scripts/fixed-sleeps*: pass.
  • Run with bun run check run --build bun scripts/<x>.ts on this branch, all pass:
    • file-viewer-regression, with new blocks for the dock, its kinds, the toggle, the width maxima at 980/1280, and diff-to-file at 980/1280 and below 980;
    • file-viewer-mobile-regression;
    • repo-diff-browser-qa;
    • terminal-file-links-regression;
    • deep-link-demo-regression;
    • settings-pages-demo-regression;
    • render-crash-demo-regression;
    • virtual-source-browser-qa;
    • file-preview-text-browser-qa.
  • Visual QA was done in the test session (dark and light, 1280 and 980) on text, Markdown Preview and Source, HTML Page and Source, video in the panel, the resizer hover, and the 980px maxima.

From 980px text, code, Markdown and HTML open in a resizable panel beside the pane; media, PDFs, binaries and folders keep the popup, and a header button moves a file between the two.
@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 28 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0f9da837-fb9e-4a1a-a7d5-b7515b8e149a
📥 Commits

Reviewing files that changed from the base of the PR and between 64442a0 and c6982d1.

📒 Files selected for processing: 26
  • DESIGN.md
  • changelog.d/file-viewer-side-panel.md
  • scripts/deep-link-demo-regression.ts
  • scripts/demo-file-preview.ts
  • scripts/file-viewer-regression.ts
  • scripts/render-crash-demo-regression.ts
  • scripts/repo-diff-browser-qa.ts
  • scripts/settings-pages-demo-regression.ts
  • scripts/terminal-file-links-regression.ts
  • src/App.tsx
  • src/components/FilePanelResizer.css
  • src/components/FilePanelResizer.tsx
  • src/components/FileViewer.css
  • src/components/FileViewer.tsx
  • src/lib/filePanelWidth.test.ts
  • src/lib/filePanelWidth.ts
  • src/lib/filePresentation.test.ts
  • src/lib/filePresentation.ts
  • src/lib/i18n.ja.ts
  • src/lib/i18n.ko.ts
  • src/lib/i18n.zh.ts
  • src/lib/repoDiff.test.ts
  • src/lib/repoDiff.ts
  • src/lib/useFileViewer.ts
  • src/lib/useRepoDiffViewer.ts
  • src/styles.css
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@devswha
devswha merged commit f63afcc into main Oct 16, 2026
9 checks passed
@devswha
devswha deleted the feat/file-viewer-side-panel branch October 16, 2026 15:55
devswha added a commit that referenced this pull request Oct 16, 2026
…ce in the docked panel (#1230)

## Change

Three follow-ups to the file panel beside the pane (#1224), from its
review.

1. **Focus was lost on close.** `FileViewer` turns its focus trap off
when docked, which also turned the focus return off: Close file and
Escape left the focus on `<body>`. `useFocusReturn`
(`src/lib/useFocusTrap.ts`) records what opened the file when the panel
appears and gives it the focus again when the panel goes and took the
focus with it; a focus that is elsewhere by then (the composer, a
sidebar row) stays there. App owns it (`src/App.tsx`, beside
`fileDocked`), not the viewer: the viewer is keyed by path, and a panel
remade for a linked file must not send the focus back meanwhile.
2. **Switching panes with the panel open.** The panel kept the old
pane's file while the move pushed a history entry without it, so Close
only hid the panel and the next Back reopened it. The file is its pane's
now: when the selection leaves the file's pane or PC, `releaseFile`
(`src/lib/useFileViewer.ts`) drops the file from its entry and closes
the viewer, and the address effect replaces that entry with the move
instead of pushing one (`src/App.tsx`, `fileLeft`). Back returns to the
pane the file was open on, without the file. DESIGN.md says so in the
docked-panel paragraph.
3. **`history.go(-2)` had no in-flight guard.** Two quick clicks on Show
beside the pane (or the automatic kind correction in the same moment)
queued two collapses: four steps back, and the file opened twice. A
`collapsing` ref holds `presentFile` until the collapse's popstate lands
(`src/App.tsx`, `presentFile`).

Changelog fragment: `changelog.d/file-panel-follow-ups.md`.

## Validation

Browser runs went through the isolated wrapper only (`bun run check run
--build bun scripts/file-viewer-regression.ts`), on a herdr of the run's
own. The script covers 390px and 1280/980/979px as before; the new
assertions sit in the 1280px docked blocks:

- focus: after Escape inside the panel and after Close file (also for a
file the kind correction moved from the popup), `document.activeElement`
is the link that opened the file;
- pane move: a second workspace is created and selected while a file is
open beside the first; the panel is gone, `history.length` is unchanged,
the entry and address hold no file, and Back lands on the first pane
with no file and no panel (the workspace is closed again after);
- collapse: two clicks on Show beside the pane in one task, over a stack
with two pane moves behind the diff's opener; the file lands in the
panel and one Close returns to the diff's opener on the same pane.

### Fail before (origin/main at 46d551d, only the new test script
copied in)

The script stops at its first failure, so three runs; the second and
third strip the earlier new assertions so each behavior fails on its
own.

1. The full script: `FAILED run`, exit 1 -
`AssertionError: Escape in the panel returns the focus to the link that
opened the file` (actual `false`, expected `true`).
2. Focus assertions stripped: `FAILED run`, exit 1 -
`AssertionError: selecting another pane closes the file open beside the
first` (`1 !== 0`: the panel is still there).
3. Focus and pane-move assertions stripped (the panel closed by hand
before the two pane moves, since main leaves it open): `FAILED run`,
exit 1 -
after `STEP two clicks on Show beside the pane sent`, `TimeoutError:
waitFor: Timeout 10000ms exceeded. waiting for
locator('aside.file-panel').locator('video')`: the two collapses step
past the opener and the file never lands in the panel.

### Pass after (this branch, 210f3d8)

- `bun run check run --build bun scripts/file-viewer-regression.ts`: `ok
build`, `ok run`, exit 0, 53 PASS lines, among them
`PASS selecting another pane closes the panel and takes its entry over;
Back returns to the pane without the file` and
`PASS a wide video handoff stacks above the diff and Close file returns
to the diff, also after two clicks`.
- `bun run typecheck`: exit 0.
- `bun test scripts/conventions.test.ts src/conventions.test.ts
server/conventions.test.ts scripts/changelog-fold.test.ts`: 37 pass, 0
fail.
aNNdii added a commit to aNNdii/herdr-web-ui that referenced this pull request Oct 16, 2026
…#1237) into next

Conflicts resolved in 24 files:
- Find in messages is gone upstream (devswha#1140): the comment-mode toggle takes its place at the
  chat's top right, and the transcript leaves room for it only while it shows.
- highlightCode is removed with upstream's settings cleanup (devswha#1104).
- The docked file panel (devswha#1224) gets the file comments: the dialog and the panel share the
  commentable body, the toggle and the viewer's props.
- submitNote/submitRefusal take upstream's `agent` first and the fork's `agentOnly` after it;
  SubmitOptions gains upstream's resendId/generation, so a held copy with comments resends
  agent-only under its resend id; the server's resend paths keep `typed: false`.
- Telemetry reports every setting except the fork's comment settings.
usergood added a commit to usergood/saurons-eye that referenced this pull request Oct 17, 2026
* fix(i18n): deduplicate merged Delete pending translations

* fix(factory): purge deleted assignments from recovery data

* feat(factory): review repair and publish checked results automatically

* docs(factory): describe automatic review and publication runtime

* fix(factory): delete linked issues and suppress automatic re-import

* fix(factory): limit recovery deletion markers to context identities

* fix(factory): name remote review and publication gates safely

* test(factory): cover automatic review publication wire guards

* fix(factory): preserve independently retained project recovery evidence

* fix(factory): report local deletion separately from recovery cleanup

* test(factory): keep deletion receipt coverage independent of backup cleanup

* test(factory): hold child observations through Stop acknowledgment

* fix(factory): include native publication receipts in owned cleanup

* test(factory): drain owned proxy requests before host teardown

* docs(factory): describe permanent recovery-data purging

* fix(factory): retain deletion source fences through recovery purging

* feat(factory): hand checked PRs to assistant-backed Human Review

* fix(factory): preserve Human Review across native context replacement

* fix(factory): preserve Human Review owner question continuations

* fix(factory): place Human Review discussion beside captured files

* fix(factory): require Human Review support on execution bridges

* fix(factory): anchor review contexts to the Project checkout

* test(factory): remove unused Human Review fixture binding

* feat(factory): draft revision-bound Human Review comments

* test(factory): wait for Human Review discussion admission

* feat(factory): approve checked Human Review candidates and verify delivery

* feat(factory): repair declined Human Review feedback

* test(factory): register Human Review feedback browser coverage

* fix(factory): include human feedback in independent reviews

* fix(factory): preserve review drafts before merge approval

* fix(factory): fence merges against changing review evidence

* fix(factory): suppress deleted app-published PR automation across recovery

* fix(factory): preserve complete reconciled source files

* fix(factory): retain pending deletion explanations during retries

* feat(factory): merge approved comment repairs after validation

* docs(factory): describe conditional feedback approval and delivery

* fix(prompt): read Claude Code 2.1.301's effort slider (#1200)

## Change

With Claude Code 2.1.301, `/effort` sent from the chat shows no card, so
the level can only be set
in the terminal. 2.1.301 draws a description of the level under the
level names: one line
("~0.7x the estimated cost of medium (the default)", "The default effort
for this model"), or two
at max. `parseClaudeEffort` took the first non-blank line above the hint
as the names, found the
description there, and returned `null`.

The names are now the nearest line above the hint that holds only level
names and has a blank line
under it, up to eight lines above the hint, so a description that a
narrow pane wraps also fits.
Names that a narrow pane wrapped are still not read: the wrapped half
has no track above it. The
2.1.294 drawing reads as before.

Found while testing #1199, which sends `/effort` from a tap on the
composer's level.

## Validation

- New test in `server/prompt.test.ts` with 2.1.301 captures at low and
max, and max with its
description wrapped. It fails before the change and passes after. The
2.1.294 tests are
  unchanged and pass.
- `bun run test:unit`: 3827 pass, 0 fail.
- With a real Claude Code 2.1.301 in the `herdr-web-ui-test` session and
the clone's server,
`/api/pane/prompt` returned the card (low … max) while the slider
waited. Answering option 1
  through `/api/pane/prompt/answer` set the session to medium.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

* fix(ws): preserve reconnect backoff across short-lived connections (#1183)

## Change

Prevent the browser's `/ws` client from retrying every 250 ms when a
connection repeatedly opens and immediately drops.

`HerdrSocket` currently resets `retries` in every `open` callback. This
defeats exponential backoff on a flapping connection: even a connection
that receives a snapshot and input readiness before closing starts the
next retry at 250 ms. That repeatedly cycles the UI through reconnecting
and replays attachments while the underlying connection is still
unstable.

- Preserve the existing 250 ms → 500 ms → 1 s → 2 s → 4 s → 5 s retry
sequence across short-lived opens.
- Reset backoff only after the current transport has stayed open for at
least 10 seconds. Handshake time and retry delays do not count.
- Keep the first retry fast and preserve immediate reconnect/reset on
page/network wake and probe-driven recovery.
- Ignore an abandoned socket's late `open` event, so it cannot replay
role/attachment frames onto its replacement or alter its state.
- Keep input non-replay, output-stall handling, and the existing
5-second retry cap unchanged. No new timers, settings, UI strings, or
wire-contract changes.

This fixes retry-storm amplification, **not the underlying reason a
network/proxy/server closes a connection**. The reported UI symptom was
repeated “reconnecting to herdr web ui…” / “Reconnecting…”. No
production close-code trace was available to attribute those individual
drops. An isolated Bun 1.4.3 experiment did not reproduce idle
disconnects for responsive peers over 129 seconds, so this PR
deliberately does not disable idle timeouts or weaken backpressure.

## Validation

- Added deterministic fake-socket regressions for repeated short-lived
opens through the 5-second cap, the 9,999 ms / 10,000 ms stability
boundary, stale opens, and immediate wake recovery.
- The flapping and stability regressions fail on the previous
implementation and pass with the fix.
- Updated the existing slow-handshake test to distinguish its reset
connect deadline from the intentionally preserved retry backoff.
- `bun test src/lib/ws.test.ts src/lib/machineSession.test.ts`: **82
passed**.
- `bun run check fast`: **passed** — workflow syntax, generated-type
freshness, both typechecks, production build, and unit suite (**3,829
passed, 8 skipped, 0 failed**).
- Verification report confirms unchanged source during the run and
`verified` status. Toolchain: Bun 1.4.3 / Node 24.21.0 on Linux; not a
claim of CI's pinned-toolchain result.
- Independent read-only review found no correctness or safety issues.
- Integration/browser/device checks were not run locally; no live user
sessions or installation were changed. Maintainer approval may be needed
for fork CI.

* fix(terminal): keep program-colored text readable on either background (#1171)

<!-- See CONTRIBUTING.md for checks, translations, contract tests and
the changelog (a file in changelog.d/, never CHANGELOG.md). -->

## Change

Under a light theme, part of Claude Code's output is invisible in the
terminal. Claude Code's default theme is dark, and it sends some text as
truecolor white whatever the terminal's background: the title of every
`AskUserQuestion` prompt (`ESC[1m ESC[38;2;255;255;255m`) and the `⏺`
reply bullet. The light terminal backgrounds draw `#ffffff` at 1.04:1 to
1.13:1 (Amber `#faf8f3`, Charcoal `#fafaf9`, Catppuccin `#eff1f5`), so
the question you are asked to answer can't be read.

`terminalTheme()` sets only background, foreground, cursor and
selection, so nothing stops a program's own colors from landing on a
background they weren't picked for. This sets xterm's
`minimumContrastRatio` to 4.5 (WCAG AA, and VS Code's terminal default):
when a cell's foreground falls under 4.5:1 against that cell's
background, xterm moves it toward black or white until it reaches it.

- It is a fixed value, not a setting.
- Text that already meets 4.5:1 (the theme foreground, most ANSI colors)
is drawn exactly as before.
- Faint text moves too: Claude Code's `#999999` hints (about 2.7:1 on
light) and its lavender selected option come out darker. In dark
palettes, only text under 4.5:1 changes, getting lighter.
- `DESIGN.md` → Terminal theme says why, and
`changelog.d/terminal-text-contrast.md` has the Fixed line.

Before and after, both drawn by this repo's xterm 5.5 with the Amber
light theme. The escape sequences are the ones Claude Code sent in a
real pane; the words are replaced:

![Before: the bold white question title and the reply bullet are
invisible on the light background. After: both are dark gray, and the
lavender and gray hints are
darker](https://github.com/todor-a/herdr-web-ui/blob/pr-assets/terminal-contrast-before-after.png?raw=true)

## Validation

- `bun run check fast`: generated types, typecheck, build, unit tests
(3773 pass, 0 fail, 56 skip).
- The image above: a standalone page with this repo's
`node_modules/@xterm/xterm`, the light Amber theme,
`minimumContrastRatio` 1 and then 4.5, rendered by headless Chrome. It
touched no herdr session.
- The same option is live in a downstream copy of the app (Amber light,
Claude Code panes): the question title that was invisible now reads.
- Not run locally: `bun run check full` (Integration and browser).

https://claude.ai/code/session_01R8fxvWxks2U84LieYAivMs

---------

Co-authored-by: Hako <[email protected]>

* fix(prompt): show Codex's folder trust card when its hint ends with esc quit (#1195)

## Change

Codex's folder trust prompt can end with `enter continue · esc quit`
(seen when Codex starts in a folder it has not trusted yet) instead of
`enter continue · esc back`. `promptTailIsActive` only accepted `esc
back` for the `codex-approval` responder, so the parsed prompt was
dropped and the pane showed no trust card; the user had to answer it in
the terminal.

The hint check now accepts `enter continue` followed by `esc <any
word>`. The other `codex-approval` hints are unchanged.

## Validation

- New test in `server/prompt.test.ts`: "parses Codex's folder trust
prompt when its hint ends with esc quit". It fails on `main` (`bun test
server/prompt.test.ts -t 'esc quit'`: 1 fail) and passes with the
change.
- `bun test server/prompt.test.ts`: 267 pass, 12 skip, 0 fail.
- `bun test scripts/changelog-fold.test.ts`: 12 pass (fragment
`changelog.d/codex-trust-esc-quit.md`).
- `bun run typecheck`: clean.
- No HTTP/WS change, so no contract test change.

---------

Co-authored-by: Hako <[email protected]>

* fix(prompt): find Claude's plan file behind large transcript lines (#1198)

## Change

#855 reads Claude's plan file through the `"slug"` in the transcript's
last 64 KB. Claude Code
2.1.301 adds an `api-request` line of 70 to 104 KB per request, and
these lines carry no slug.
One of them at the end of the transcript fills the 64 KB tail, so
`claudePlanFile` returns `null`:
the plan card falls back to the screen (a cut plan) and shows no **View
plan**.

In a real session the last slug was 71,817 bytes before the end.
`TAIL_BYTES` is now 1 MB, which
holds about ten such lines. The read happens only for a `claude-plan`
card, once per 2 s poll.

## Validation

- New test in `server/claude-plan.test.ts`: a slug followed by three 100
KB `api-request` lines.
  It fails with the 64 KB tail and passes with 1 MB.
- `claudePlanFile` against the real 5.3 MB transcript: `null` before,
the plan file after.
- `bun run test:unit`: 3827 pass, 0 fail.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Hako <[email protected]>

* chore(release): prepare 0.4.11 and remote runtime v30 (#1208)

## Change

Release 0.4.11, five bug fixes merged since 0.4.10, all from outside
contributors with maintainer follow-ups:

- #1200 (@sergiorademacher): `/effort` from Chat shows its card again
with Claude Code 2.1.301.
- #1198 (@sergiorademacher): Claude's plan card finds the plan file
again (with **View plan**) when recent Claude Code writes large request
lines.
- #1195 (@vibewriter-hand): Codex's folder trust prompt gets its card
when its hint ends with `esc quit`.
- #1171 (@todor-a): terminal text stays readable under a light theme
(xterm `minimumContrastRatio` 4.5).
- #1183 (@philipprass-prog): a flapping connection backs off instead of
retrying every 250 ms.

Metadata:
- `package.json` and `herdr-plugin.toml`: 0.4.11.
- CHANGELOG: the five fragments become `[0.4.11] - 2026-10-16`, with `by
@login` credits and a Maintenance line for runtime 30.
- `release-summaries.json`: 0.4.11 in en/ko/ja/zh (five Bug fixes lines
each).
- `REMOTE_BUNDLE_VERSION` 29 -> 30: `server/` changed since remote-v29.
- No telemetry change since 0.4.10, so no Worker redeploy.

## Validation

- `bun scripts/release-guards.ts`: "Release 0.4.11: remote bundle,
telemetry Worker and release metadata are in order."
- changelog-fold, release-notes, release-guards and updater unit tests:
43 pass.
- Each fix PR: a code review, CodeRabbit finished, 0 unresolved threads,
required checks green before merge.

## Release

After this merges and its CI on `main` passes: push `remote-v30` on the
merged commit, wait for the Remote PC bundles workflow, then run the
Release workflow with `0.4.11`.

* fix(ws): accept secure Traefik upgrade origins (#1206)

## Change

Fix a valid HTTPS browser's `/ws` upgrade being rejected with **403
invalid origin** behind a TLS-terminating Traefik proxy, leaving the UI
repeatedly showing Reconnecting.

Traefik deliberately sets `X-Forwarded-Proto: wss` for TLS WebSocket
upgrades ([forwarded-header
implementation](https://github.com/traefik/traefik/blob/master/pkg/middlewares/forwardedheaders/forwarded_header.go)).
The browser's `Origin` is still `https://public.example`. The bridge's
backend request URL is `http://public.example/ws`, and `sameOrigin()`
previously recognized only forwarded `https`. Consequently, a correctly
forwarded WSS connection failed the exact-origin check.

Treat exact forwarded `wss` as HTTPS **only for `GET /ws` with `Upgrade:
websocket` and a complete `upgrade` Connection token**. Preserve the
authoritative request hostname/port, `Sec-Fetch-Site` rejection,
authentication, and normalized exact-Origin comparison. Do not trust
`X-Forwarded-Host`, accept arbitrary protocol lists, disable origin
checks, or change API/secret-input policies.

This is independent of #1183: that PR addresses retry-storm
amplification; this one fixes a concrete source of failed handshakes.
Runtime investigation of the report found repeated origin refusals with
the same public host, a HTTPS browser Origin, and a forwarded protocol
other than plain HTTP(S). This Traefik WSS case reproduces the rejection
before the change. The production log originally categorized non-HTTP(S)
protocol values rather than preserving their exact string, so it does
not by itself prove every historical refusal used `wss`.

## Validation

- Five focused unit tests cover valid WSS, header case/token handling,
default and nondefault ports, other hosts/schemes, cross-site/same-site
requests, forwarded-host spoofing, non-WebSocket paths/methods,
missing/invalid upgrade headers, and unchanged HTTP(S)/secret-input
behavior.
- New `server/ws-proxy-origin.contract.test.ts` exercises real upgrades
against an isolated bridge: valid forwarded WSS/HTTPS opens; mismatching
host, port and plaintext Origin do not.
- `bun test ./server/ws-proxy-origin.test.ts ./server/auth.test.ts`:
**21 passed**.
- `bun run check run bun test --timeout 15000
./server/ws-proxy-origin.contract.test.ts`: **2 passed**, isolated
herdr/state; no pane attachment or input.
- `bun run check fast`: **passed**, including workflow syntax,
generated-type freshness, typecheck, production build and unit suite
(**3,831 passed, 8 skipped, 0 failed**).
- Both check reports identify unchanged source and `verified` status.
Local toolchain: Bun 1.4.3, Node 24.21.0, herdr 0.9.1 for the contract
test; not a claim of CI's pinned-toolchain result.
- Independent security review found no introduced CSRF/authentication
bypass.
- Backported to the reporting installation's v0.4.8 and verified with a
**synthetic read-only live handshake using Traefik-style headers**,
without attaching a pane or touching input. The reporting browser's
authenticated end-to-end recheck remains pending; the external
authentication layer is not bypassed.

No wire shape, dependency, version, or remote-bundle metadata changes.
Local investigation-only diagnostics are **not** included in this PR.
Full integration/browser suites were not run locally.

* fix(chat): read Pi sessions from the pane's profile (#1194)

## Change

Pi can use a separate directory for a coding or personal setup through
its native
[`PI_CODING_AGENT_DIR`](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/environment-variables.md#pi-process-configuration).
That selects its skills, extensions, settings and session storage. Chat
currently rejects the reported session because it looks under the web
bridge’s default directory. A launcher or named profile is not required
to trigger this mismatch.

This reads the directory selected by the pane’s Pi process. Fresh
sessions show the greeting; resumed sessions show their saved messages.
Plain Pi using the same default directory as the bridge is outside this
bug.

On Linux, the lookup verifies that the process is Pi and that its
session report matches, then checks that the resolved session path stays
inside the selected directory. It recovers missing process arguments
from the process ID. If process metadata cannot be read, it keeps the
existing default-directory behavior. Other platforms retain
default-directory support; discovery of separate directories is
Linux-only.

Fixes #1193

### Reproduce

On Linux, with Pi installed and the web bridge using its default Pi
directory, open a new Herdr tab and run:

```sh
herdr integration install pi
mkdir -p /tmp/pi-profile-chat/extensions
cp "$HOME/.pi/agent/extensions/herdr-agent-state.ts" /tmp/pi-profile-chat/extensions/
PI_CODING_AGENT_DIR=/tmp/pi-profile-chat pi
```

Open that pane in the web UI and select Chat before sending a message.
Expected: the Pi greeting and message box. Actual on clean main:
“Conversation unavailable”. Resuming a saved session from the same
profile also fails to show its messages.

The `/tmp` path is a disposable example; any separate agent directory
can trigger this mismatch. The copied official integration lets Pi
report its session path.

## Validation

- `bun run check fast`: passed; 3,835 unit tests passed, eight skipped,
plus generated types, typecheck and build.
- Pi unit tests: 30 passed. Isolated HTTP contract tests: 10 passed,
including a fresh session becoming a saved conversation. Existing test
bodies and expectations are unchanged.
- Native Pi 1.2.0 with Herdr 0.9.5 and integration v9: agent-browser
verified both fresh and resumed custom-profile sessions against clean
main and the fixed server, on desktop and a 390px phone viewport. No new
prompt or model call was made.
- Independent review has no remaining findings. Upstream CI and native
Windows checks remain required.

| Before | After |
| --- | --- |
| ![Fresh Pi profile has no
chat](https://raw.githubusercontent.com/christso/herdr-web-ui/28dd27ecc58e0140b6a011ba76315599b028db2d/docs/pi-profile-chat/red-fresh-phone.png)
| ![Fresh Pi profile shows the
greeting](https://raw.githubusercontent.com/christso/herdr-web-ui/28dd27ecc58e0140b6a011ba76315599b028db2d/docs/pi-profile-chat/green-fresh-phone.png)
|

[Resumed-session screenshots, exact commands and
reports](https://github.com/christso/herdr-web-ui/blob/28dd27ecc58e0140b6a011ba76315599b028db2d/docs/pi-profile-chat/README.md)
are on the fork’s separate evidence branch. This diff contains only the
resolver, tests and changelog.

Related: #1191 covers fresh terminal-launched Codex. Herdr’s separate
session-reporting issue is herdrdev/herdr#1441; this fix requires Pi to
have reported its session already.

* fix(codex): resolve short conversations from saved transcripts (#1155)

## Change

Short Codex conversations can now appear in Chat from their saved
transcripts without needing a longer reply. If the saved conversation
could belong to another pane, Chat stays unavailable.

To reproduce, use a Codex session where Herdr reports no session path
and Codex’s shared app-server holds the transcript file:

1. Start Codex in Herdr beside a different Codex conversation in the
same directory.
2. Send `hello` and receive a short reply.
3. Open Chat. Upstream shows “Conversation unavailable”; the fix shows
both messages when the exchange, process timing and other panes identify
this conversation unambiguously.

The lookup now accepts short prompts and checks other same-directory
panes instead of rejecting them all. It uses more precise Linux
process-start timing and stops counting tool output toward the
retained-message size limit. Record limits, whole-file validation and
ambiguity checks remain; discovery only reads files. A blank or
unrecognizable screen in another pane still prevents a short match.

The original endpoint test using `42` is unchanged; a separate test
covers a short conversation beside another pane. One existing
expectation changes: the lookup no longer requires a one-second gap
after estimated process start. That gap rejects a valid conversation in
this issue. The replacement still rejects a thread created before the
process started and accepts one created 542 ms after the precise Linux
start bound.

Fixes #1152

Related: #933, #1075, #639, #283

This covers conversations that already have messages. The greeting
before the first message in a terminal-launched Codex session is tracked
separately in #1191.

## Validation

- Final combined fork fast checks passed after the test-preservation
follow-ups: generated types, typecheck, build, 3,782 unit tests; eight
opt-in skips.
- 118 Codex/process tests and 10 isolated endpoint contract tests
passed. Running the original unit tests unchanged against the fix gives
109 passes and one expected failure: the replaced one-second-delay
assertion. Controls cover overlapping/unknown peer screens, RPC failure,
transcript limits and unavailable process metadata.
- Independent review found a case where the lookup could choose another
pane’s conversation. That was fixed and reviewed again with no remaining
findings. A separate audit checked that the original endpoint test was
preserved and the timing expectation change was justified.
- Live browser checks loaded the affected local chat and remote controls
at desktop and phone sizes. That chat already has the longer reply, so
it does not by itself prove the short-exchange case; the native fixture
replay below covers it.

The earlier combined Linux full check had five integration failures and
a browser keyboard failure; each also reproduced on unchanged upstream
with the same toolchain. Native Windows install was not run locally.
Upstream CI is still required.

| Before | After |
| --- | --- |
| ![Before: codex
failure](https://raw.githubusercontent.com/christso/herdr-web-ui/2f16f31534c9c6e4df1908ac2481e08bfb4ff670/screenshots/codex-before.png)
| ![After: codex
recovered](https://raw.githubusercontent.com/christso/herdr-web-ui/2f16f31534c9c6e4df1908ac2481e08bfb4ff670/screenshots/codex-after.png)
|

Isolated fixture replay of upstream `79beb36` and combined fork
`d7a2982`, with no user sessions or credentials. These Codex screenshots
show real conversation lookup results through the demo connection.
[Scripts and exact
commands](https://github.com/christso/herdr-web-ui/blob/2f16f31534c9c6e4df1908ac2481e08bfb4ff670/README.md).

---------

Co-authored-by: Hako <[email protected]>

* fix(prompt): parse current OMP question dialogs (#1184)

## Change

Fixes #1182.

OMP can ask a question while Chat shows only the tool’s JSON. It can
also show a wrapped description as another choice and send the wrong
answer. This recognizes OMP’s current keyboard symbols and clipped
hints, keeps descriptions with their choices, and navigates multiple
questions and the final review correctly.

The original upstream prompt tests are preserved. The upstream diff
contains only the parser, regression tests and changelog. Screenshots
and manual reproduction notes live on our fork's separate orphan branch.

## Validation

- `bun run check fast`: passed, including typecheck, build and 3,837
unit tests; 8 skipped.
- OMP-focused tests: 66 passed, 317 assertions. The clipped-footer
regression fails with the previous parser and passes with the fixed
parser, using the same test source.
- [Hosted native
checks](https://github.com/christso/herdr-web-ui/actions/runs/38812837915):
OMP 18.10.4 and 18.11.1 passed with Herdr 0.9.3 on the fork integration
branch. Agent-browser answered real OMP questions through the web UI; a
fake provider verified the exact returned answers. No API key or paid
model call was used.
- [Older-version
checks](https://github.com/christso/herdr-web-ui/blob/7434a30dfcf9640709b5b2b2558c2c394ecdeaac/docs/older-omp-compatibility.md):
OMP 17.2.12 and 18.0.0 returned correct single-choice and
multiple-choice answers using their released dialog renderer and key
handler.
- The full OMP 18.0.0 run passed desktop choice, multi-select and custom
answers, then failed at a clipped `Esc can…` footer. The captured screen
also fails with the original parser. This PR retains that existing
limitation; #1192 fixes it separately.
- With both fixes, [the combined native
run](https://github.com/christso/herdr-web-ui/actions/runs/38825790131)
passed every question-and-answer case for OMP 18.0.0 and 18.10.4. These
checks do not establish support for every older version or layout.
- Independent review and CodeRabbit's completed full review of `756b7c8`
have no outstanding findings.

[Exact reproduction commands, version details and
reports](https://github.com/christso/herdr-web-ui/blob/8a86871d6e882fd612f5e5fd6f200d13da435a53/docs/native-omp-question-compatibility.md)
are outside this PR. The separate weekly/manual check is #1187.

The screenshots show real OMP in a 47-column terminal, viewed in 390px
Chat. Before the fix, the clipped `quest…` hint prevented the card from
appearing. Afterward, the card keeps the wrapped description with its
choice.

| Before | After |
| --- | --- |
| ![Native OMP: no question
card](https://raw.githubusercontent.com/christso/herdr-web-ui/8a86871d6e882fd612f5e5fd6f200d13da435a53/docs/screenshots/omp-native-compat/red-phone.png)
| ![Native OMP: wrapped question
card](https://raw.githubusercontent.com/christso/herdr-web-ui/8a86871d6e882fd612f5e5fd6f200d13da435a53/docs/screenshots/omp-native-compat/green-phone.png)
|

Broader checks are not fully passing. The earlier integration run had
505 passes, 16 failures and one skip; some failures have not been
checked against unchanged upstream. The full browser run failed at the
Safari text-input check (IME), while unchanged upstream stopped at an
earlier check. The IME check passed on both when run alone. [Details and
limits](https://github.com/christso/herdr-web-ui/blob/8a86871d6e882fd612f5e5fd6f200d13da435a53/docs/native-omp-question-compatibility.md#limits-of-the-other-checks).
Native Windows was not checked locally. Upstream CI still needs
maintainer approval.

If some choices are outside OMP’s visible terminal area, the web UI
still declines to show a card rather than guess the choices.

---------

Co-authored-by: Hako <[email protected]>

* feat(worktree): ask for the name first in New worktree (#1211)

## Change

The New worktree dialog now asks for the **Name** first, then Branch,
Start from and Agent. The name is the field people change most; the
suggested branch is usually kept. Opening the dialog focuses and selects
the name, so typing replaces it. The name still follows the branch until
it is typed over. DESIGN.md describes the new order, and a changelog
fragment is added.

## Validation

- `tsc --noEmit`: no errors
- `bun test conventions scripts/changelog-fold.test.ts`: 37 pass, 0 fail
- Not checked in a browser (field order and initial focus only)

* fix(factory): preserve human review authority through retries

* fix(factory): verify shutdown and renew repaired review authority

* fix(factory): admit verified Human Review host handoffs

* feat(telemetry): count daily active installs and the agent kinds they run (#1215)

## Change

The anonymous usage counts gain a daily active message, so DAU/WAU/MAU
and the share of each coding agent can be read from the receiver.

- When a browser opens the app (a non-relayed websocket opens, or a page
reports presence), the server records that UTC day with the harness
kinds running in local herdr panes. Kinds come from a fixed list
(`TELEMETRY_HARNESSES`: the supported agents), any other agent counts as
`other`. No pane names, counts, paths or content; remote PCs' panes are
not included.
- One `active` message per install and day goes to the Worker's new
`POST /v1/active`; it is sent again that day only when a new kind
appears. The message names the visit's day, so a delivery held back by
the notice grace, the switch or a failure is still credited to the day
of the visit (up to 2 days late).
- The Worker validates the message as strictly as `/v1/events` and
upserts one row per (day, install_id) into a new `active` table.
`/v1/events`, `readEvent` and the `events` table are unchanged.
- `NOTICE_VERSION` 4: the notice ("herdr web ui sends anonymous usage
counts.") is shown once more; nothing is sent until it is. Settings >
About previews the active message next to the install/update event.
ko/ja/zh translations updated.
- Docs: guide, READMEs, site, and telemetry/README (table, migration
command, DAU/WAU/MAU and harness-share SQL). Changelog fragment added.

**Before releasing (maintainer, Cloudflare account):** create the
`active` table on the existing D1 database (command in
telemetry/README.md → Deploy), `bunx wrangler deploy` from `telemetry/`,
then `bun scripts/release-guards.ts --worker-deployed` and commit
`telemetry/deployed.json`. The release guard refuses a release until
then.

## Validation

- `bun run typecheck`: exit 0
- `bun run test:unit`: 3890 pass, 0 fail (updated the `NOTICE_VERSION`
pin in `src/lib/settings.test.ts`)
- `bun test telemetry/worker.test.ts server/telemetry.test.ts
src/lib/i18n.test.ts src/lib/api.test.ts scripts/release-guards.test.ts
scripts/changelog-fold.test.ts scripts/conventions.test.ts
server/conventions.test.ts`: 114 pass, 0 fail. New cases cover once per
day, resend on a grown set, a new day, unknown kind → `other`, switch
off / env blocked / notice unseen / grace, a visit before the notice is
acknowledged, delivery across midnight, a pane read that resolves after
midnight or fails, pruning, and Worker 400s for unknown or unsorted
harnesses, extra keys, bad uuid and out-of-window days, plus a
bun:sqlite upsert of `schema.sql`.
- Contract (`bun run check run bun test ./server/api.contract.test.ts`):
the new websocket test passes (one websocket visit → exactly one
`/v1/active` POST, preview matches; a second visit sends none). `POST
/api/pane/image > stores any other file under its own sanitised name`
fails on `origin/main` too, so it is not caused by this change.
- `bun run check run --build bun scripts/telemetry-regression.ts`: PASS
(v4 notice re-acknowledged, both previews).
- Live run on the isolated test session: a websocket connect produced
one `active` POST to a fixture receiver; `curl /api/telemetry` showed it
as `active`; the About preview checked at 1280×800 and 390×844.

* fix(scripts): run the telemetry regression on its own herdr session (#1216)

## Change

`scripts/telemetry-regression.ts` run on its own (`bun
scripts/telemetry-regression.ts`, or through `bun run check run`, which
strips `HERDR_SOCKET`) created its server without pointing herdr at a
test session, so `herdrSocketPath()` fell back to
`~/.config/herdr/herdr.sock` and the page showed the user's live herdr
session. It now imports `./test-herdr.ts` first, as the other browser
scripts do, so it runs against its own session.

## Validation

- `bun run build && bun scripts/telemetry-regression.ts`: PASS
- Not a user-visible change; no changelog fragment.

Separately noticed while testing, not changed here: `POST
/api/pane/image` contract tests fail intermittently only when `TMPDIR`
points at a custom folder. herdr briefly reports a new pane's `cwd` as
the TMPDIR root, and the upload lands there. Waiting for the snapshot's
`cwd` did not fix it (the value flips), and with the default TMPDIR the
whole file passes (132/132).

* fix(factory): refuse unverified Windows build ownership

* fix(factory): preserve submitted review during discussion launch

* feat(chat): omo skill autocomplete and chips (#1217)

## Change

In an omo pane, typing `/` or `$` in the Chat composer opened no menu:
`/api/pane/commands` returned an empty list for omo. omo's skills could
not be found from Chat, and its inline invocations showed as plain text.

Now, for omo panes:

- `/` at the start of a message lists omo's builtins (senpi's own list,
without `/tree`, which Chat cannot drive, as for pi) and every skill as
`/skill:<name>`.
- `$` anywhere in a message lists only the skills and inserts
`$skill:<name> `, the form omo runs inline. Its rows show
`$skill:<name>`.
- The skills are the ones omo loads without a trust decision: its agent
directory (`OMO_CODING_AGENT_DIR` honoured), `~/.agents/skills` and
omo-ai's bundled `plugin/skills`. They are found by omo's rules:
per-root markdown modes, nested skills,
`.gitignore`/`.ignore`/`.fdignore` (a dependency-free matcher in
`server/skill-ignore.ts`), a required description, the parent-directory
name fallback, and the first root winning. Project skills (trust-gated)
and conditional skills are left out.
- In the user's message, `$skill:<name>` and the `[skill: <name>]` omo
leaves where one stood show as skill chips.

The commands route now recognises omo by the pane's process rather than
herdr's label: herdr names an omo pane `pi` while it waits, `claude`
while its SDK child runs, or nothing. Claude, Codex and pi menus,
triggers and chips are unchanged. The colon-in-query trigger and the
extra chip forms are opt-in for omo only.

## Validation

- `bun run check fast`: generated types, typecheck and build pass. Unit
tests: 3929 pass, 2 fail, 8 skip. Both failures are in
`server/conversation.test.ts` (Devin pane identity, Agy native ledger)
and are 5s timeouts. On unchanged `origin/main` (c0091145) on the same
machine, the same file fails 5 tests in those two suites the same way.
An earlier run of this change before rebasing passed all 3910 tests.
- Focused tests: `server/commands.test.ts`,
`server/skill-ignore.test.ts`,
`src/lib/{mentions,compose,skillMentions}.test.ts`: 108 pass, 0 fail.
- Contract: `bun run check run bun test --timeout 15000
./server/omo-prompt.contract.test.ts`: 6 pass, on an isolated herdr
session. An omo process labelled `pi`, `claude` or nothing gets omo's
list; a pi process keeps pi's; a Claude process keeps Claude's.
- Browser: the new `bun scripts/omo-skill-menu-demo-regression.ts` runs
on the fictional demo fixtures at 1280×800 and 390×844. Cases:
  - `/` menu without `tree`
  - `/skill:ul` → Enter inserts `/skill:ulw-plan `
  - `run with $mas` → Enter inserts `run with $skill:mass-ulw `
  - chips in the user bubble
  - a pi pane opens no menu for `x $`

  All pass, and the 8 screenshots were reviewed.
- Skill list against a live omo 5.1.34 install: the server lists the
same 30 skills that omo loaded in a session, minus its two
runtime-conditional ones.
- Not yet tried by hand in a live omo pane through the web UI. Native
Windows not run locally.

* fix(factory): cancel build descendants after leader exit

* feat(sidebar): drop the pin mark from pinned rows (#1218)

## Change

Pinned workspaces and agents already move into the pinned card at the
top of their list, so the pin icon after each pinned row's name only
repeated what the card says. This drops that mark from workspace rows
(`Sidebar.tsx`) and agent rows (`AgentSidebar.tsx`), along with its
styles and the now-unused `pinned` row prop/parameter. The card, the
Pin/Unpin menu items and pin storage are unchanged.

## Validation

- `bun run typecheck`: clean
- `bun test src/conventions.test.ts scripts/changelog-fold.test.ts`: 18
pass
- `bun scripts/sidebar-activity-demo-regression.ts` (demo transport, no
herdr): all PASS; its pin-mark assertions now check the pinned list
instead
- `scripts/ui-regression.ts`: only a pin-mark assertion removed; not run
locally (herdr check slots busy), left to CI

* fix(factory): observe branch-required CI under retained approval

* fix(factory): retain automatic Ticket conversation names

* test(factory): await retained Ticket history over HTTP

* fix(files): open and find files whose names use another Unicode form (#1219)

## What

A file whose name holds Korean, accented or similar letters can be
stored in either Unicode
form: composed (NFC, one code point per letter) or decomposed (NFD, base
letter plus combining
marks). Files that come from a Mac, a zip archive or a sync tool are
often NFD, while paths typed
or printed by agents are NFC. The server compared names byte for byte,
so such a file answered
404 "no readable file at that path" in the file viewer and did not show
up in file search.

## How

- `findFile` (server/file-view.ts) resolves a request in a fixed order,
so every path that opens
  today still opens the same file:
1. exact path, then exact name under the pane's folder (today's
`locateFile`)
2. exact lookup in a Claude Code pane's scratch folder (today's
fallback)
3. any-form lookup: the path is walked one component at a time from the
root, and a component
that does not exist is matched against its folder's entries by NFC
equality; then any-form
     bare-name search under the pane's folder
  4. any-form lookup in the scratch folder
- An exact name always wins inside a folder. Several form-only matches
answer the existing 409
  `ambiguous_path` list instead of guessing.
- The any-form walk only runs for a missing path that holds a non-ASCII
character, and an ASCII
  component never reads its folder (an ASCII name has one form).
- `locateFileInFolder` keeps its realpath containment check for both
modes.
- File search (`paneFiles`) keeps every existing match and its score; a
path that did not match
  is tried again with both sides in NFC.
- The route only swaps its two lookups for `findFile`; responses are
unchanged.

Nothing on disk is renamed, and there is no NFKC or case folding.

## Verification

- New cases in `server/file-view.test.ts` (`locateFile > (a)`-`(j)`) and
`server/files.test.ts`
(`paneFiles > matches a Unicode query across normalization forms`,
`preserves existing ASCII
matches and scores for decomposed names`) were run on the unchanged code
first and failed
there; `bun test ./server/file-view.test.ts ./server/files.test.ts
./scripts/changelog-fold.test.ts`
now passes (40 tests). Cases that need two names differing only by form
check whether the
filesystem tells them apart, so they also pass on macOS without being
skipped.
- Live HTTP, run through `bun run check run` on an isolated herdr: an
NFC request for an NFD
file, an NFD folder holding an NFC file, and an NFD `café.txt` answered
404 on `main` and now
answer 200 from `/api/fs/stat` (on-disk path and name) and
`/api/fs/file` (body, and
`content-disposition: inline; filename*=UTF-8''<on-disk name>`). Missing
names still answer
  404 `not_found`.
- File search: across 25 ASCII queries and four limits over a mixed
NFC/NFD/ASCII tree, no
  previously returned path was dropped or reordered.
- `bun run check fast` passes.
- Final review (plan compliance, code quality, ideal-state fidelity) and
a separate live HTTP
run on this head also covered NFD Japanese dakuten and Cyrillic `й`
names, form-only duplicates
(409 with sorted candidates), and an exact NFC file winning over its NFD
sibling.

* fix(factory): require Machine guard for worker input

* fix(factory): resume exhausted recoverable execution

* feat(header): quiet desktop lens switch with its own Files button (#1220)

## Change

The top header is quieter on a computer and easier to tap on a phone.
Desktop and phone get different compositions.

**From 769px**
- Chat | Terminal is two words: no track, no glyphs, and the chosen lens
keeps the hover fill.
- Files has its own button after the switch, set apart by a hairline. It
opens the existing Files dialog and is not a third lens.
- The More menu keeps Find in terminal, Copy link and Alerts. Browse
files leaves it, since the header now has its own Files button.
- With one PC registered, the crumb leaves the PC name out, as the
sidebar already does. The full place and path stay in the tooltip and at
the top of More.

**At 768px and below**
- Layout is unchanged.
- The drawer toggle, both lens buttons and More are 44px targets
(`--touch-target-header`).
- Browse files stays in More.

DESIGN.md (Shell, Segmented control, Header context) and a changelog
fragment are updated.

The design came out of a research pass over Codex, Claude Code, T3 Code,
Paseo, Warp, Apple HIG, Material 3 and Primer. Those apps open panes
from small title-bar controls rather than a labelled segmented switch,
and use a one-line title with quiet context.

## Validation

- `bun run typecheck`: exit 0
- `bun test src/conventions.test.ts scripts/conventions.test.ts
src/lib/headerCrumb.test.ts scripts/changelog-fold.test.ts`: 34 pass
- Browser regressions, run locally: `default-view-regression`,
`mobile-tabs-regression`, `deep-link-demo-regression` and
`repo-diff-browser-qa` all pass. `repo-diff-browser-qa` now opens Files
from the header button.
- Demo measured in Chromium:
- 1440px: the switch has a transparent track and no glyphs; the Files
button is 34px and opens the Files dialog; More lists Find in terminal,
Copy link and Alerts; no PC name with one PC.
- 390px and 320px: four 44×44 header buttons; no horizontal overflow;
More still lists Browse files.
- `ui-regression` failed locally twice at the palette's resting-pointer
check (line 307). That check is before the header assertions this PR
changes, under machine load average 15–19. A clean `origin/main` run got
past line 307 and failed later at line 1549 (`browser/sidebar` vs
`browser-sidebar`). I'm leaving `ui-regression`, including the updated
More/Files assertions, to CI.

* fix(factory): retain completed native worker history before close

* fix(factory): verify latest native history before closing contexts

* feat(chat): short omo menu descriptions, and whose each skill is (#1221)

## Change

Follow-up to #1217. In an omo pane's `/` and `$` menu:

- **One short line per row.** A skill's description goes on to say when
to use it and when not, which is meant for the agent. On a 390px phone
one row ran to five lines. Each omo row now shows the description's
first sentence, without its full stop, on one line, cut with an ellipsis
if it must be; the whole text is the row's tooltip. A full stop ends a
sentence only before a capital or a caseless letter, or as `。`, so `e.g.
foo` and `v1.2` keep their text. On a wide menu the description keeps to
the right 55%, so the names read as one column.
- **Whose a skill is.** `SlashCommand` gains an optional `origin` for
omo skills: `user` for omo's agent directory and `~/.agents/skills`,
`bundled` for omo-ai's `plugin/skills`. A bare `/` or `$` lists yours
under **Your skills** before omo's under **Built-in skills**. Every
skill row carries an icon: `UserRound` in the accent for yours,
`Package` for omo's. A visually hidden label names the origin for screen
readers. ko/ja/zh entries are added.

Claude, Codex and pi menus are unchanged: `origin` is only set for omo,
and the short descriptions and their CSS apply only to omo rows
(`data-brief`).

## Validation

- `bun run typecheck`: passed.
- Focused tests: 122 pass, 0 fail. Files: `server/commands.test.ts`,
`src/lib/compose.test.ts`, `src/lib/i18n.test.ts`,
`src/conventions.test.ts`, `src/lib/mentions.test.ts`,
`src/lib/skillMentions.test.ts`, `scripts/changelog-fold.test.ts`. They
cover first-sentence cutting (abbreviations, versions, ellipses, Korean
and Japanese), grouping by origin, and the server's `origin` per root
and on name collisions.
- `bun run check fast` before rebasing: typecheck and build passed. Unit
tests: 3932 pass, 1 fail. The failure was in `server/collector.test.ts`,
which this change does not touch; that file passed 51/51 on three
reruns.
- Browser: `bun scripts/omo-skill-menu-demo-regression.ts` now uses omo
5.1.34's own long descriptions plus one user skill. At 1280×800 and
390×844 it asserts:
  - every omo row's description is one line and one sentence;
  - the full text is in the tooltip;
  - each skill shows its origin and icon;
  - the two headings appear, yours first.

  It also re-runs #1217's cases (A-E). All pass.
- Tried in a browser on the merged build against a live omo 5.1.34 pane:
4 user skills and 26 bundled ones, split as above.

* fix(factory): retain paginated histories before context handoffs

* fix(factory): resume exhausted independent review recovery

* fix(factory): resume from verified newest context history

* feat(files): open text files in a panel beside the pane (#1224)

## Change

On a window 980px wide or more, a file opened from the chat, the
terminal, the Files list or a diff can now show in a panel beside the
pane instead of a dialog over it, so the terminal and chat stay usable
while you read it. Phones and narrow windows keep today's full-screen
viewer.

- **Which files dock.** Text, code, Markdown and HTML open in the panel.
Images, video, audio, PDFs, other binaries and folders keep the popup.
The first paint is chosen from the extension. When the real kind
disagrees (an extensionless text file, a folder), the viewer corrects it
once.
- **Move between panel and popup.** A header button moves the open file
either way. The choice is kept in the preview's history entry, so it
survives reload and Forward.
- **Panel chrome.** The layout follows the right panels of T3 Code and
Paseo:
- a single ~40px header with the file glyph, the name and compact
actions;
- a thin toolbar with the size and folder on the left, and Preview |
Source (Markdown) or Page | Source (HTML) on the right;
  - content edge to edge, on the pane's background behind a hairline.
- **Resize.** Drag the panel's left edge to resize; double-click resets
it. The width is remembered on this device. The accent seam shows only
on hover, focus and drag. The panel yields first, so the pane always
keeps at least 320px.
- **Diff and Files.** Opening a file from a diff while docked hands the
diff's history entry to the file: one Close or Back returns to where the
diff was opened. The Files dialog closes when its file goes to the
panel. Below 980px the file still opens above the diff.
- **Fixes in passing.**
  - The Page | Source segmented control now marks the chosen side.
  - A race in the 2560px lane-width assertion is gone.
- The regression opens Files through the header's own button from 769px
(#1220).

DESIGN.md (file viewer) and a changelog fragment are updated.

## Validation

- `bun run typecheck`: pass.
- `bun test src`: 1690 pass, 5 fail. All 5 are in
`src/lib/sheetHistory.test.ts`, which fails the same way on the base
commit and passes on its own.
- `bun test scripts/conventions.test.ts scripts/fixed-sleeps*`: pass.
- Run with `bun run check run --build bun scripts/<x>.ts` on this
branch, all pass:
- file-viewer-regression, with new blocks for the dock, its kinds, the
toggle, the width maxima at 980/1280, and diff-to-file at 980/1280 and
below 980;
  - file-viewer-mobile-regression;
  - repo-diff-browser-qa;
  - terminal-file-links-regression;
  - deep-link-demo-regression;
  - settings-pages-demo-regression;
  - render-crash-demo-regression;
  - virtual-source-browser-qa;
  - file-preview-text-browser-qa.
- Visual QA was done in the test session (dark and light, 1280 and 980)
on text, Markdown Preview and Source, HTML Page and Source, video in the
panel, the resizer hover, and the 980px maxima.

* fix(worktree): ask for the branch first in New worktree again (#1222)

## Change

Reverts #1211. The New worktree dialog asks for the **Branch** first
again (focused and selected), then Start from, Name and Agent.

The name is derived from the branch (slashes as dashes) and follows it
until typed over, so typing the branch sets both. With the name first
and focused, it was easy to name the workspace and keep the random
`worktree/adjective-noun-hex` branch, which is what stays in git. The
order matches herdr's own prefix+shift+g form again. DESIGN.md is
restored and the unreleased `worktree-dialog-name-first` changelog
fragment is removed, so no changelog entry is needed.

## Validation

- `git revert eb6c701a` applied cleanly on main
- `bun test conventions scripts/changelog-fold.test.ts`: 37 pass, 0 fail
- No LSP errors in `src/components/WorktreeDialog.tsx`
- Not checked in a browser (field order and initial focus only, same as
before #1211)

* feat(sidebar): one-line rows by default, agent rows included (#1223)

## Change

The sidebar's rows are one line by default (Settings → Appearance →
Sidebar rows).

- `sidebarRows` now defaults to `one` (`src/lib/settings.ts`). A browser
that already saved its settings keeps the rows it had, because settings
are saved whole.
- On One line, agent rows are one line too, at a workspace row's height.
The agent's place (name · workspace · tab) sits dim after the title and
gives way with an ellipsis. The title keeps its width first. Two lines
stays as before.
- Updated with it: DESIGN.md, the settings test, the ui-regression
sidebar-rows check (now one line by default, and two lines are taller
for workspace and agent rows), and a changelog fragment.

## Validation

- `bun run typecheck`: exit 0
- `bun test` on settings, shared, telemetry, conventions, changelog and
components: 174 pass, 0 fail
- `bun scripts/sidebar-activity-demo-regression.ts`: pass
- `bun scripts/ui-regression.ts`: pass, including "sidebar rows switch
between one line and two"
- Demo at 1280px after rebasing onto main (with #1218): one-line agent
rows are 34px with the place after the title; with Two lines they are
46px.

* fix(factory): retain paused automatic planning for Resume

* fix(factory): retain publication ownership through Stop

* fix(factory): allow eligible merges with administrator exemptions

* fix(header): show a folder named like the only PC in the crumb (#1227)

## Change
Follow-up to #1220 (review finding M1). With one PC registered the
header crumb leaves the PC name out, but `headerCrumb` still counted
that hidden name as having said the folder name. A PC `devbox` with cwd
`.../devbox` therefore showed neither name.

- `src/lib/headerCrumb.ts`: the one-PC rule moves here. `headerCrumb`
takes `machineCount`, returns `showMachine`, and only counts the PC name
as said when it is shown.
- `src/App.tsx`: the call passes `machines.length`; the crumb JSX uses
`crumb.showMachine` (the two crumb lines only).
- `DESIGN.md`: the Header context line names the new owner of the rule.
- `changelog.d/header-crumb-same-name-pc.md`.

## Validation
- New case in `src/lib/headerCrumb.test.ts` (one PC named like the
folder shows the folder; two PCs unchanged; differently named folder
unchanged).
- Before (new test, old `headerCrumb`): `bun test
src/lib/headerCrumb.test.ts` -> 7 pass, 1 fail
(`expect(one.showMachine).toBe(false)`, received undefined).
  - After: 8 pass, 0 fail.
- `bun run typecheck`: clean.
- `bun test src/conventions.test.ts scripts/conventions.test.ts
scripts/changelog-fold.test.ts`: 27 pass, 0 fail.
- Browser regression not run locally: it does not assert the crumb text
for a same-name PC and folder.

* fix(factory): purge execution Machine backups before Delete acknowledgement

* fix(factory): keep repeated Delete receipts within the wire contract

* fix(omo): find bundled skills on Windows and cover the menu in CI (#1229)

## Change

Follow up on #1217 (5870e226), review notes 1, 3 and 4.

- Find the `omo-ai` package ancestor with `node:path` directory and
basename operations, using Windows path semantics for drive-letter and
UNC canonical paths. Bundled plugin skills are no longer dropped when
`realpathSync` returns backslashes.
- Reuse `omoProcessIdentity().agentDir` instead of resolving the process
environment again against a possibly empty reported cwd.
- Register `omo-skill-menu-demo-regression.ts` beside the other browser
regressions. The parallel lane reads the same list. Update the lane
test's count and assert that the script runs.
- Add a Windows changelog fragment. No `src/` files changed; `DESIGN.md`
does not describe this discovery behavior.

## Validation

All commands used an isolated worktree and per-run `TMPDIR`,
`NODE_COMPILE_CACHE` and `BUN_RUNTIME_TRANSPILER_CACHE_PATH`. No live
user session was used.

### Fail before

Added the tests on `origin/main` at 24c1c2ef before changing production
code or the browser lane:

```text
$ bun test server/conversation.test.ts --test-name-pattern "omo skill roots"
Expected: "C:\Users\demo\node_modules\omo-ai\plugin"
Received: "plugin"
(fail) omo skill roots > finds the bundled plugin from a Windows canonical launcher path
Expected: "/tmp/tmp.hhxfdkDFyM/wt/server"
Received: "/home/devswha/.omo/agent"
(fail) omo skill roots > keeps the agent directory already resolved by process identity when cwd is missing
0 pass
2 fail
exit 1

$ bun test scripts/ci-browser.test.ts
Expected length: 58
Received length: 57
(fail) browser lane > summarizes every script and exits zero on success without enabling local evidence
3 pass
1 fail
exit 1
```

### Pass after

```text
$ bun test --timeout 60000 server/conversation.test.ts scripts/ci-browser.test.ts scripts/changelog-fold.test.ts server/commands.test.ts scripts/conventions.test.ts server/conventions.test.ts src/conventions.test.ts
167 pass
0 fail
Ran 167 tests across 7 files. [78.92s]
exit 0
```

The initial broader run used Bun's default 5-second timeout and hit five
timeouts in existing Devin/Agy tests. Re-running with the repository
unit runner's 60-second timeout passed all 167 tests without code
changes.

Final foreground checks:

```text
$ bun run typecheck
exit 0
$ bun test scripts/conventions.test.ts server/conventions.test.ts src/conventions.test.ts
25 pass
0 fail
exit 0
```

```text
(pass) omo skill roots > finds the bundled plugin from a Windows canonical launcher path
(pass) omo skill roots > keeps the agent directory already resolved by process identity when cwd is missing
(pass) browser lane > summarizes passing and failing scripts and stops at the original exit code
(pass) browser lane > summarizes every script and exits zero on success without enabling local evidence
(pass) browser lane > keeps only cheap existing screenshots when CHECK_DIR is set
(pass) browser lane > creates evidence under .ci when CI has no CHECK_DIR

$ bun run typecheck
$ tsc --noEmit && tsc --noEmit -p tsconfig.tools.json
exit 0

$ bash -n scripts/ci-browser.sh
exit 0
$ git diff --check
exit 0
```

### Built browser regression

```text
$ bun run check run --build bun scripts/omo-skill-menu-demo-regression.ts
PASS A: "/" lists omo's builtins and its skills (1280px)
PASS B: "/skill:ul" ranks skill:ulw-plan first and Enter inserts it (1280px)
PASS C: "run with $mas" offers the skills matching mas and Enter inserts $skill:mass-ulw (1280px)
PASS D: the user's message shows chips for mass-ulw and ulw-plan (1280px)
PASS A: "/" lists omo's builtins and its skills (390px)
PASS B: "/skill:ul" ranks skill:ulw-plan first and Enter inserts it (390px)
PASS C: "run with $mas" offers the skills matching mas and Enter inserts $skill:mass-ulw (390px)
PASS D: the user's message shows chips for mass-ulw and ulw-plan (390px)
PASS E: a pi pane opens no menu for "x $" (1280px)
PASS E: a pi pane opens no menu for "x $" (390px)
PASS omo skill menu and chips: 8 screenshots in /tmp/tmp.hhxfdkDFyM/wt/evidence/omo-skill-menu
exit 0
```

The isolated check report records `status: success`,
`verification.status: verified`, unchanged source fingerprints and a
build produced during this run. The demo script separately builds its
disposable demo client. Inspected the desktop and phone screenshots.

Local evidence:
- `/tmp/tmp.hhxfdkDFyM/windows-before.log`
- `/tmp/tmp.hhxfdkDFyM/ci-before.log`
- `/tmp/tmp.hhxfdkDFyM/typecheck.log`
- `/tmp/tmp.hhxfdkDFyM/verification-60000.log`
- `/tmp/tmp.hhxfdkDFyM/final-checks.log`
- `/tmp/tmp.hhxfdkDFyM/browser.log`
- `/tmp/tmp.hhxfdkDFyM/wt/evidence/omo-skill-menu/run.log`
-
`/tmp/tmp.hhxfdkDFyM/wt/node_modules/.cache/check/156718c9-42ef-45ec-92d2-5223e77326fa/report.json`

Windows path semantics are exercised with `path.win32` on Linux, not on
a native Windows host.

* fix(factory): announce board workflow activity changes

* fix(factory): fence late Machine writes after permanent Delete

* fix(factory): retain conditional authority across repair recovery

* fix(files): give the focus back, close on a pane move and collapse once in the docked panel (#1230)

## Change

Three follow-ups to the file panel beside the pane (#1224), from its
review.

1. **Focus was lost on close.** `FileViewer` turns its focus trap off
when docked, which also turned the focus return off: Close file and
Escape left the focus on `<body>`. `useFocusReturn`
(`src/lib/useFocusTrap.ts`) records what opened the file when the panel
appears and gives it the focus again when the panel goes and took the
focus with it; a focus that is elsewhere by then (the composer, a
sidebar row) stays there. App owns it (`src/App.tsx`, beside
`fileDocked`), not the viewer: the viewer is keyed by path, and a panel
remade for a linked file must not send the focus back meanwhile.
2. **Switching panes with the panel open.** The panel kept the old
pane's file while the move pushed a history entry without it, so Close
only hid the panel and the next Back reopened it. The file is its pane's
now: when the selection leaves the file's pane or PC, `releaseFile`
(`src/lib/useFileViewer.ts`) drops the file from its entry and closes
the viewer, and the address effect replaces that entry with the move
instead of pushing one (`src/App.tsx`, `fileLeft`). Back returns to the
pane the file was open on, without the file. DESIGN.md says so in the
docked-panel paragraph.
3. **`history.go(-2)` had no in-flight guard.** Two quick clicks on Show
beside the pane (or the automatic kind correction in the same moment)
queued two collapses: four steps back, and the file opened twice. A
`collapsing` ref holds `presentFile` until the collapse's popstate lands
(`src/App.tsx`, `presentFile`).

Changelog fragment: `changelog.d/file-panel-follow-ups.md`.

## Validation

Browser runs went through the isolated wrapper only (`bun run check run
--build bun scripts/file-viewer-regression.ts`), on a herdr of the run's
own. The script covers 390px and 1280/980/979px as before; the new
assertions sit in the 1280px docked blocks:

- focus: after Escape inside the panel and after Close file (also for a
file the kind correction moved from the popup), `document.activeElement`
is the link that opened the file;
- pane move: a second workspace is created and selected while a file is
open beside the first; the panel is gone, `history.length` is unchanged,
the entry and address hold no file, and Back lands on the first pane
with no file and no panel (the workspace is closed again after);
- collapse: two clicks on Show beside the pane in one task, over a stack
with two pane moves behind the diff's opener; the file lands in the
panel and one Close returns to the diff's opener on the same pane.

### Fail before (origin/main at 46d551d5, only the new test script
copied in)

The script stops at its first failure, so three runs; the second and
third strip the earlier new assertions so each behavior fails on its
own.

1. The full script: `FAILED run`, exit 1 -
`AssertionError: Escape in the panel returns the focus to the link that
opened the file` (actual `false`, expected `true`).
2. Focus assertions stripped: `FAILED run`, exit 1 -
`AssertionError: selecting another pane closes the file open beside the
first` (`1 !== 0`: the panel is still there).
3. Focus and pane-move assertions stripped (the panel closed by hand
before the two pane moves, since main leaves it open): `FAILED run`,
exit 1 -
after `STEP two clicks on Show beside the pane sent`, `TimeoutError:
waitFor: Timeout 10000ms exceeded. waiting for
locator('aside.file-panel').locator('video')`: the two collapses step
past the opener and the file never lands in the panel.

### Pass after (this branch, 210f3d8a4410baf38d12b2be24fd768649624c4c)

- `bun run check run --build bun scripts/file-viewer-regression.ts`: `ok
build`, `ok run`, exit 0, 53 PASS lines, among them
`PASS selecting another pane closes the panel and takes its entry over;
Back returns to the pane without the file` and
`PASS a wide video handoff stacks above the diff and Close file returns
to the diff, also after two clicks`.
- `bun run typecheck`: exit 0.
- `bun test scripts/conventions.test.ts src/conventions.test.ts
server/conventions.test.ts scripts/changelog-fold.test.ts`: 37 pass, 0
fail.

* fix(factory): accept successful GitHub check conclusions

* test(factory): await held child replies before Stop acknowledgment

* fix(factory): complete owned execution after verified delivery

* fix(files): keep a phone's file header on one row (#1231)

## Change

On a phone (≤600px) the file viewer's header took three rows above the
file: the name, the size and folder line, then the actions under Close.
It is now one row: the name (cut inside its stem, so the extension
stays), Show source and Copy, a **More** menu with Open in a new tab,
Open raw file and Download, then Close. More closes on a press outside
or Escape (Escape then leaves the file open). The size and folder are
left out on a phone unless they carry a partial-view notice. The
Markdown reader page's header is one row too. The desktop dialog and the
docked panel are unchanged. DESIGN.md and a changelog fragment are
updated.

## Validation

- `bun run check run --build bun scripts/file-viewer-regression.ts`: `ok
run`. New checks: a phone video dialog keeps name, actions and Close on
one row with no size/folder line (fails on origin/main CSS); a 320px
Markdown dialog stays one row with ≥64px for the name, More lists new
tab, raw and download, and Escape closes only the menu.
- `bun run check run bun scripts/file-viewer-mobile-regression.ts`: exit
0 (updated for the one-row header).
- Screenshots reviewed at 390px and 320px.
- `bun run typecheck`: exit 0; conventions + changelog-fold tests pass.

* fix(prompt): show OmO's question card while background tasks run (#1226)

## Change

When OmO asked a question without waiting for the answer and background
tasks were running, the chat showed a bare "Waiting for input" card with
only Enter and Esc in place of the question and its options. This is
common during a goal.

OmO draws its task rows under the input box: a spinner row with the
task's route (`agent:…`, `category:…`, `task`), finished rows, and `+N
more`. A narrow pane also wraps a row's elapsed time onto one more line.
`omoFooterIsActive` counted these rows as footer, ran past its
three-line limit, and dropped the pending question, so the fallback card
took over.

The check now accepts those rows, plus one short wrapped time line
directly under a task row. Its guards still keep the form inactive for a
route-less spinner row, a shell prompt, or more output than the footer
allows.

## Validation

- `bun test server/prompt.test.ts` on the rebased branch: 301 pass, 0
fail. The new task-row tests fail without the change (8 fail when the
row match is removed).
- `bun run typecheck`, `scripts/changelog-fold.test.ts` and the
conventions tests pass.
- Live run with a real `omo` in an isolated herdr session (pane reported
`blocked`). OmO was running a background explore task, its row wrapped
onto two lines, and it had asked a non-waiting question:
- `GET /api/pane/prompt` on 199df986 returned `fallback: true` with
options Enter/Esc.
- With this change it returned `kind: "question"` with options
Alpha/Beta.

* fix(factory): require confirmed Stop for closed review parents

* fix(terminal): open web links in a new tab, not a new window (#1234)

## Change

A web address clicked in the terminal (xterm's OSC 8 link handler and
the WebLinksAddon) opened in a **new browser window** on desktop:
`window.open(uri, "_blank", "noopener,noreferrer")` passes a features
string, and per the HTML spec any non-empty features without
`toolbar`/`location` request a popup, which Chrome and Firefox open as a
window. `openWebLink` (src/lib/terminalFileLinks.ts) now clicks a
temporary `<a target="_blank" rel="noopener noreferrer">`, as chat links
are: a tab, with no opener and no Referer.

## Validation

- Real Chromium probe: a detached link's click opens a new page; the
page sees no Referer and `window.opener === null`.
- `bun run check run --build bun
scripts/t…
@devswha devswha mentioned this pull request Oct 18, 2026
devswha added a commit that referenced this pull request Oct 18, 2026
## Change

Release 0.4.12: everything merged since 0.4.11 (178 changelog entries),
plus seven fixes from a pre-release QA pass that walked the end user's
path from install to error situations and fixed every place where they
got stuck.

### Fixes found by the release QA (commits in this PR)
- **Busy or unusable port** (`server/index.ts`): one plain line that
names the cause and the next step, exit 1, no stack trace. The "may
already use it" hint shows only for a taken port; a missing address
suggests `HOST=127.0.0.1`, a privileged port suggests a PORT above 1024.
- **herdr unreachable / state folder read-only** at startup: the server
log says what to do once.
- **herdr offline in the UI**: the sidebar state line and header pill
add "Start herdr on this PC, or check HERDR_SOCKET." (ko/ja/zh
included).
- **Settings that cannot be saved**: a plain sentence on the Settings
page with the server's words under Details, cleared once a save lands or
the device can no longer save; error codes are looked up as own keys
only.
- **Damaged `machine-settings.json`** is reported in the log like the
other state files.
- **Plugin + named herdr session (#1190)**: a `HERDR_SOCKET` set in the
plugin config now wins over herdr's own socket; INSTALL.md matches.
- **Install docs**: each install path names its prerequisites and that
herdr must be running; Windows' old-herdr message says to restart herdr.
- **iPhone/iPad (#1326)**: the caret goes back after the kept space, so
composition, Hangul and held Backspace keep working after the caret was
moved; the iPad IME regression now runs with touch points.
- **Files** follows the pane you switch to while it is open; **a prompt
card** stays through a failed prompt read (answers are still checked by
the server, 409 `prompt_changed` on a mismatch). Guarded by the new
`scripts/files-prompt-regression.ts`.

Commits:
- 403824dd fix(server): report damaged machine settings
- 032f28fe fix(server): say what to do when the port is taken, herdr is
away or the state folder is read-only
- 3e409f85 fix(plugin): keep a HERDR_SOCKET set in the plugin config
instead of herdr's socket
- a08bd73b docs(install): name each path's prerequisites and the
herdr-must-run step
- 036ee240 fix(terminal): put the caret back after the kept space on
iPhone and iPad
- a19afae6 fix(ui): tell what to do when herdr is offline or settings
cannot be saved
- 823f9858 fix(ui): read only the server's own error codes for a plain
sentence
- 9a2c6626 fix(files,chat): follow a pane switch in Files, keep the
prompt card through a failed read
- a2b703e7 chore(release): 0.4.12
- 08731845 fix(ui): drop the settings save error once this device can no
longer save
- 7a39f2bb fix(server): give the port-taken hint only when the port is
taken
- 92a0d77c test(browser): guard Files following a pane switch and the
prompt card through a failed read
- f2a5569a test(browser): count the Files and prompt card regression in
the browser lane
- 8410ac93 test(browser): wait for the next prompt read instead of a
fixed window

### Metadata
- `package.json` and `herdr-plugin.toml`: 0.4.12.
- CHANGELOG: `changelog.d/` folded into `[0.4.12] - 2026-10-18` with `by
@login` credits; `changelog.d/` holds only README.md.
- `release-summaries.json`: 0.4.12 in en/ko/ja/zh (8 lines per list,
equal in every language, each <= 90 chars).
- `REMOTE_BUNDLE_VERSION` 30 -> 31: `server/` and `shared/` changed
since remote-v30.
- Telemetry: `telemetry/worker.ts` + `shared/telemetry.ts` fingerprint
equals `telemetry/deployed.json`, so no Worker redeploy.

<details><summary>Changelog (0.4.12)</summary>

## [0.4.12] - 2026-10-18

### Added
- Settings → Integrations → New agents picks the mode Claude Code
(permission mode) and Codex
(sandbox and approvals) start in from New workspace, New tab and New
worktree. Agent default,
the default, adds no flag, so the agent's own configuration still
decides. The choice is shared
  by every device.
  ([#1303](https://github.com/devswha/herdr-web-ui/pull/1303))
- Agy panes now offer their commands and user, project, plugin and
bundled skills in the slash
menu, with origin groups, one-line descriptions and skill chips in user
messages.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- Codex's command menu now includes shared and ancestor-project skills,
system skills and enabled
plugin skills, grouped by origin. It honors the pane's `CODEX_HOME` and
disabled skill paths,
offers saved prompts as `/prompts:name`, and inserts skills as `$name`.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- A Codex theme, light and dark, matching the Codex desktop app's
default look: white or
  #181818 surfaces, Codex ink and its blue accent.
  ([#1267](https://github.com/devswha/herdr-web-ui/pull/1267))
- The message box's suggestions (commands, skills, files) have a close
button, so a mouse or a phone
  can put them away as Escape does.
  ([#1312](https://github.com/devswha/herdr-web-ui/pull/1312))
- A question card can be folded to its title to read the conversation
under it, and opened again;
  the question keeps waiting for its answer.
  ([#1312](https://github.com/devswha/herdr-web-ui/pull/1312))
- On a desktop with a mouse the selected tab shows its actions button
(`⋯`) while the tab strip is
hovered or the tab has keyboard focus, so Rename tab, Close tab and the
open pane's actions are
  no longer only behind a right-click or the menu key.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Devin chat now lists local commands and skills with their source
groups, imports enabled
skills from other agents, and shows skill chips instead of expanded
prompts in your messages.
Cloud-only commands and skills, MCP prompts, and terminal-only pickers
are excluded.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- GJC chat now lists its commands, user and project skills, and four
bundled workflows with
origin icons and one-line descriptions. Namespaced commands and skill
calls keep their colons,
and invoked skills appear as chips in user messages. Discovery honors
the pane's agent directory
and skill settings, including disabled user or untrusted project skills.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- A Grok pane's `/` menu now lists Grok's slash commands and the skills
Grok loads for that pane:
yours (`~/.grok/skills`, `~/.claude/skills`, `[skills] paths` in
`config.toml`), this
project's (`.grok/skills` and `.claude/skills` in the folder and the
repository root, left out
when `.gitignore` ignores them) and those of plugins. `$GROK_HOME` is
honored, and typed
`/name` skill names should show as chips in your messages. This is built
from Grok's published
README, not checked against a running Grok, which is not installed where
this was written.
  Grok's built-in skills, which live inside its binary, are not listed.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- Dracula, Nord and Vesper are available on either theme side, with
readable status and code colors.
  ([#1254](https://github.com/devswha/herdr-web-ui/pull/1254))
- Herdr's seven light/dark theme pairs now have CSS theme rows with
readable text, agent
  states and code colors, plus upstream source and license attribution.
  ([#1254](https://github.com/devswha/herdr-web-ui/pull/1254))
- Settings → Appearance picks a dark theme and a light theme from every
theme, as herdr does:
picking one of a pair fills the other side with its sibling until that
side is chosen by hand,
  and a dark theme chosen for light mode still draws dark.
  ([#1254](https://github.com/devswha/herdr-web-ui/pull/1254))
- Hermes chat now lists its CLI commands, trusted project and personal
skills, installed bundled
skills, skill bundles and quick commands, with origin groups and
one-line descriptions.
Plugin skills are not listed because their enabled state lives in
Hermes' Python plugin manager.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- The hub connection form can show the management key while you type it,
so a key typed with
  the wrong keyboard layout is visible before it is saved.
  ([#1264](https://github.com/devswha/herdr-web-ui/pull/1264))
- The installers open the app in your browser after a new install on a
PC with a desktop, where
the address bar's Install adds it. Over SSH they print the `ssh -L`
tunnel to run instead, and
  `HERDR_WEB_NO_OPEN=1` turns the opening off.
  ([#1228](https://github.com/devswha/herdr-web-ui/pull/1228))
- herdrweb.dev shows Windows visitors the PowerShell install command and
copies it.
  ([#1228](https://github.com/devswha/herdr-web-ui/pull/1228))
- The installed desktop app can fold Chrome's title bar away (the
chevron next to the window
controls): the header takes its place, drags the window and leaves room
for the controls.
  ([#1228](https://github.com/devswha/herdr-web-ui/pull/1228))
- OmO's `/model` list shows in the chat as a card, as Claude Code's and
Codex's do: pick a model
and it is picked for the session, the model in use named on the card. It
reads the list OmO
  draws, fullscreen or not, on a phone's narrow pane too.
  ([#942](https://github.com/devswha/herdr-web-ui/pull/942) by @Noobear)
- OmO's todo list now appears as plan progress in the sidebar and as
steps in the plan panel.
  ([#1277](https://github.com/devswha/herdr-web-ui/pull/1277))
- In an OmO chat, `/` at the start of a message and `$` anywhere in it
list OmO's commands and the
  skills it loads, and a skill named in the chat is drawn as a chip.
  ([#1217](https://github.com/devswha/herdr-web-ui/pull/1217))
- omp's chat menu lists its skills from native, plugin and compatible
agent providers, with
profile-aware settings, origin groups and inline `/skill:` completion.
File commands and prompt
templates respect command precedence; recorded skill invocations appear
as user chips.
Invocation-only extension and plugin roots cannot be recovered from
on-disk settings.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- OpenCode chat now lists its commands and valid skills from user and
project roots, with origin
groups and one-line descriptions. Pane-specific config directories and
external-skill switches
are honored, and recorded skill expansions show the original invocation
as a chip.
Commands whose recorded screens cannot be represented in chat are
omitted.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- The header's More menu opens with **Search panes and actions**, so a
phone can reach the
  command palette by touch; on a desktop the item shows its shortcut.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The anonymous usage counts now include one message a day the app is
opened in a browser, with
the kinds of coding agents running in herdr (such as `claude` or
`codex`), so the maintainer can
count daily and monthly active installs. The usage notice is shown once
more to explain it.
  ([#1215](https://github.com/devswha/herdr-web-ui/pull/1215))
- Add and manage subscription accounts from one provider picker in
Settings, with official
local CLI sign-in in a new terminal tab and CLIProxyAPI hub sign-in for
Claude and Codex.
All supported providers include installation or app sign-in guidance;
single-home providers
  ask before replacing a discovered account.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))
- Connect a hub to import its Claude and Codex plan limits, edit the
connection or remove
its saved key with confirmation. The management key stays on the server,
OAuth tokens
are never refreshed here, and disabling plan limits stops provider usage
requests.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))
- A web page this PC serves, such as an agent's dev server on localhost,
can open in the panel
beside the pane. Settings → File viewer → Web links chooses a new tab
(the default) or the
panel, and Shift-click opens a link the other way. A localhost address
is reached under the
host the browser used for the app, so it also works from another
computer. Other sites keep
  opening in a new tab.
  ([#1302](https://github.com/devswha/herdr-web-ui/pull/1302))

### Changed
- Every agent's `/` menu (and Codex's `$`) now reads the way omo's does:
each command's
description is one short line with the whole text in its tooltip, skills
stand under where they
come from (yours, this project's, built in, from a plugin) with an icon
for each, a namespaced
name such as `/skill:x`, `/plugin:x` or `/prompts:x` keeps the menu open
past its `:`, and the
skill names in your own messages show as chips. A command's description
is no longer cut at 120
characters, and a multi-line one in a skill's frontmatter arrives whole.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- A question an agent asked earlier (omp's `ask`, OmO's
`ask_user_question`, Claude Code's
`AskUserQuestion`) opens in the chat as its questions and the options it
offered, the recommended
one marked, instead of the call's JSON. Found in #1250 by @CharleoYang.
  ([#1291](https://github.com/devswha/herdr-web-ui/pull/1291))
- The chat and the composer say one thing per situation. While the
socket is down the composer's
placeholder is the one word "Connecting…" or "Reconnecting…" and the
chat draws no connecting line
of its own. A file whose path has no room shows a warning glyph on its
tile and one status line,
"20,000-character limit · 41 over", with no second limit line under the
card. A slow chat read
shows a muted "Waiting for the PC…" while the chat retries on its own,
and only repeated failure
shows "The PC isn't responding" with Try again. A failed upload or read
names the cause it knows
("Couldn't attach · PC disk is full") or offers Try again, with the
advice and the server's own
words behind Details. The held-input notice over the chat's input card
is the held text with send
  and discard glyph controls, with no label.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- While an agent writes its answer, the chat follows it every second
instead of every two seconds.
  ([#1281](https://github.com/devswha/herdr-web-ui/pull/1281))
- The chat's "Working…" before an agent's first tool runs now looks like
the head of the work
block that follows, drawn where that block opens, so the block takes its
place without a jump.
  ([#1322](https://github.com/devswha/herdr-web-ui/pull/1322))
- A message from a Claude agent team's teammate shows in the chat as a
card with the teammate's
name and summary, its report on request, instead of a prompt bubble full
of
  `<teammate-message>` tags. Found in #1250 by @CharleoYang.
  ([#1290](https://github.com/devswha/herdr-web-ui/pull/1290))
- The default theme is now Codex, dark and light, instead of Amber. A
browser that saved its
settings before keeps the theme it shows, Amber included; one that never
changed a setting moves
to Codex. Amber stays one pick away in Settings → Appearance. The
installed app's title bar and
  splash take Codex's dark colors.
  ([#1318](https://github.com/devswha/herdr-web-ui/pull/1318))
- Codex's built-in commands now match its recorded palette, excluding
screens the chat cannot
represent. Project `.codex/skills` remains excluded because Codex
loading it is unconfirmed;
  project skills come from `.agents/skills`.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- The online demo's sidebar is two repositories instead of six
workspaces: checkout-api, with
Claude Code and two worktrees running Codex and Claude Code, and
cli-tools, with omp and two
worktrees running pi and Hermes. The shell that replays `git log` and
`bun test` is checkout-api's
  second tab.
  ([#1298](https://github.com/devswha/herdr-web-ui/pull/1298))
- Settings → Devices shows one red warning, not two, while nothing is
paired and no token is
set: the note on what pairing turns on is a plain hint now, and it tells
someone whose proxy
already signs people in to set `HERDR_WEB_TOKEN` and have the proxy send
it. The guide's
**Behind a reverse proxy** shows the Caddy and nginx lines. Who gets in
is unchanged.
  ([#1242](https://github.com/devswha/herdr-web-ui/pull/1242))
- A file opened from the chat, terminal or Files list shows in the popup
again on a wide window.
Settings → Chat → File viewer → Open files → Beside the pane brings back
the panel beside the
pane for text and code; the viewer's header button still moves the file
open now either way.
  ([#1324](https://github.com/devswha/herdr-web-ui/pull/1324))
- On a window 980px wide or more, text, code, Markdown and HTML opened
from the chat, terminal or
Files list show in a panel beside the pane, so the terminal stays
usable. Media, PDFs, binaries
and folders keep the popup. A header button moves a file between the
panel and popup, keeping
  that choice across reload and Forward.
Drag the panel's left edge to resize it (double-click resets); the width
is remembered on this
  device. Phones keep the full-screen viewer.
  ([#1224](https://github.com/devswha/herdr-web-ui/pull/1224))
- Selecting another pane or PC closes a file opened from the previous
one, beside the pane or in
  the popup, and Back returns to that pane without the file.
  ([#1224](https://github.com/devswha/herdr-web-ui/pull/1224))
- The header is quieter on a computer: Chat and Terminal are two words
with no box around them,
Files has its own button beside them (it leaves the More menu there),
and with one PC its name
is no longer repeated next to the title. On a phone the header buttons
are bigger to tap.
  ([#1220](https://github.com/devswha/herdr-web-ui/pull/1220))
- CONTRIBUTING.md now takes a new theme only when herdr ships it as a
built-in, written as a
CSS theme block with reviewed overrides that pass AA. DESIGN.md and the
guide describe the dark
  and light theme pickers.
  ([#1254](https://github.com/devswha/herdr-web-ui/pull/1254))
- The README's plugin-only install now names herdr 0.9.0+, Bun 1.4+ and
Node 18+, and the guide's
checkout install says herdr must be running first. The Windows installer
now says to restart
  herdr after updating it.
- An omo pane's `/` and `$` menu shows each command's description as one
short line, the whole
text in its tooltip, and lists your own skills apart from the ones omo
ships, each with its
  own icon.
  ([#1221](https://github.com/devswha/herdr-web-ui/pull/1221))
- On a phone the file viewer's header is one row, so the file keeps the
screen: the name, Show
source and Copy, a More menu with Open in a new tab, Open raw file and
Download, then Close. The
size and folder line is left out there unless it warns of a partial
view.
  ([#1231](https://github.com/devswha/herdr-web-ui/pull/1231))
- A pi pane's `/` menu now lists the nested skills pi finds below its
skills folder and the
skills listed in its settings, groups them under "Your skills", and,
once pi trusts the
project, adds that project's `.pi/skills`, `.agents/skills` and
`.pi/prompts`.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- Pinning a repository workspace now pins only that row. Its unpinned
worktrees stay outside
the pinned card in their original order, fixed in place until the
repository is unpinned.
  ([#1243](https://github.com/devswha/herdr-web-ui/pull/1243))
- Pinned workspaces can be reordered within their card by dragging,
long-pressing on touch
screens, or pressing Alt+Up/Down. The shared pin order changes without
changing herdr's
workspace order or moving unpinned repository worktrees outside the
card.
  ([#1243](https://github.com/devswha/herdr-web-ui/pull/1243))
- Settings → Phone & devices says less at rest: the Tailscale and
paired-device explanations are one
sentence with a Details fold, Keep screen on names its HTTPS condition
only where it applies, and a
  device's Revoke is a neutral trash button until it asks to confirm.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The Add PC host-key question shows the fingerprint to compare and one
sentence; ssh's own text
  waits behind Show SSH output, and the status box above it is gone.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- As in herdr's own sidebar, a top-level git workspace now shows its
branch on a second line under
its name, while indented worktrees and folders outside git stay one
line. A repository without
worktrees has its branch read too, so the strip under its message box
names it as well.
  ([#1244](https://github.com/devswha/herdr-web-ui/pull/1244))
- A repository's worktrees hang from it on dim tree branches, as herdr
draws them.
  ([#1244](https://github.com/devswha/herdr-web-ui/pull/1244))
- The plan meters show what is left of each plan's 5-hour session by
default (a choice already
saved is kept), fill the sidebar footer's row instead of stopping at
four, and their tooltip
  names a limit near its end that a chip does not show.
  ([#1301](https://github.com/devswha/herdr-web-ui/pull/1301))
- Settings in the sidebar footer is its gear alone; its name stays in
the tooltip and for screen
  readers.
  ([#1301](https://github.com/devswha/herdr-web-ui/pull/1301))
- The Pinned caption sits on the pinned card's top edge instead of above
it.
  ([#1301](https://github.com/devswha/herdr-web-ui/pull/1301))
- A workspace row finds its project's icon in more places (`static/`,
Next.js `app/icon.*`,
Electron `build/icon.png`, `logo.svg`, `assets/logo.png` and others),
all asked at once. On a
repository row with worktrees, the folder opens and closes with the
group, and a project icon
  turns into that folder under the pointer.
  ([#1301](https://github.com/devswha/herdr-web-ui/pull/1301))
- The sidebar's rows are one line by default (Settings → Appearance →
Sidebar rows), and on One
line an agent row is one line too, its place dim after its title. A
browser that already saved
  its settings keeps the rows it had.
  ([#1223](https://github.com/devswha/herdr-web-ui/pull/1223))
- Pinned workspaces and agents no longer carry a pin after their name:
the pinned card at the top
  of the list already says they are pinned.
  ([#1218](https://github.com/devswha/herdr-web-ui/pull/1218))
- The sidebar's pinned agents and pinned workspaces now sit under a
small pin and "Pinned"
  caption, so the pinned card reads as pinned at a glance.
  ([#1276](https://github.com/devswha/herdr-web-ui/pull/1276))
- A pinned workspace is one line in its card, as an indented worktree
is; its branch stays in
  the tooltip and the row menu.
  ([#1276](https://github.com/devswha/herdr-web-ui/pull/1276))
- Each half of a split view now has one row: its tabs, with the half's
Chat/Terminal switch and
close at the far end. The separate bar with the pane's title is gone.
The free end of the row,
  past the tabs, drags the half's pane to a half, as the bar did.
  ([#1270](https://github.com/devswha/herdr-web-ui/pull/1270))
- The tab strip's **+** opens a shell tab at once in the workspace's
folder, as herdr's own new tab
does, with no dialog. A tab with an agent comes from the tab's menu (a
right-click, or the `⋯` on
  touch screens): **New tab with agent…** opens the New tab dialog.
  ([#1232](https://github.com/devswha/herdr-web-ui/pull/1232))
- The terminal's notices say less. Input held while the connection was
down comes back as one row,
the command and two buttons, Send held input and Discard held input,
with no sentence over it.
View only is a plain pill with an eye glyph. An ended pane says
"Terminal ended";
  input held for it stays until it is sent or discarded.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The SSH host-key prompt now says what trusting does before you trust.
  A file that cannot be previewed says to download it, and
  "Opening…" and the same-name file list are announced and translated.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Subscription accounts show their source, plan and sign-in status in
provider groups,
with existing ordering and visibility controls. Short setup copy is
available in English,
  Korean, Japanese and Chinese.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))

### Removed
- The message box no longer has a resize grip on its top edge: its
height always follows the
  draft, and a height chosen with the grip before is no longer applied.
  ([#1273](https://github.com/devswha/herdr-web-ui/pull/1273))

### Fixed
- Screen readers now hear "Sending your answer…" when a prompt answer is
on its way: the card's
  busy state sits on its options alone, no longer over the status line.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- "Loading PCs…" and "Loading agents…" in the sidebar are announced:
each is a status box that
  is in the list before its words arrive.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Six Korean sentences no longer hang a 을(를)/은(는) particle on a name:
closing a workspace,
a PC that needs a bridge update, a file with no room in the message, a
file that could not be
attached, an expired sign-in and a font that is not monospace are worded
around the name.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Screen readers now hear the chat's own waits: "Loading conversation…"
and "Reconnecting…" at the
end of the transcript are announced when they appear, as is a PC's state
word when its notice or
  bridge update clears.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The terminal no longer shows "Waiting for terminal input…" while no
pane is selected.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Screen readers now hear every status line the app can open with:
"Connecting…", the header's
connection word, a PC's state word, "Loading workspaces…" and "Waiting
for terminal input…" are in
the page before their words arrive, as "Sending your answer…" and the
loading lines already were.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The chat no longer jumps for a frame when the message box grows a line
while you read at the
  end of the conversation. Found, with its fix, in #1205 by @Yoonwoo-Ha.
  ([#1321](https://github.com/devswha/herdr-web-ui/pull/1321))
- The prompt card says "Sending your answer…" while an answer is on its
way, and a refused answer
or a failed chat read is told as a plain sentence with the PC's own
words kept beneath it.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Typing `@` when the PC cannot list the folder's files now says
"Couldn't load suggestions"
  instead of showing nothing, as if no file matched.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Screen readers hear when an attachment finishes ("photo.png attached")
or fails, with the reason;
the chat log is named by the pane's title instead of its id, and a
picture a tool read is named
  by its number and the tool.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A failed attachment's note over the message box says in plain words
why it failed, with the PC's
own words kept beneath it, instead of `/api/pane/image failed (500):
...`.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- With reduced motion, the prompt card's options and question chips
change colour without fading.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A long chat history no longer adds a button to the turn rail for every
message loaded: once the
rail is full, one tick stands for each run of turns, so the page stays
light.
  ([#1289](https://github.com/devswha/herdr-web-ui/pull/1289))
- A file path in the chat named in Korean or any other non-Latin script
opens in the file viewer,
and so does a path in backticks with spaces in it (`~/My
Docs/notes.md`). A particle written
  straight after a path (`docs/a.md를`) stays out of the link.
  ([#1271](https://github.com/devswha/herdr-web-ui/pull/1271))
- Chat now shows "Working…" while Claude Code or Codex works with
nothing new in its transcript yet,
such as the spinner right after a message, instead of staying silent
until the first tool runs.
  ([#1307](https://github.com/devswha/herdr-web-ui/pull/1307))
- Korean interface text wraps between words instead of inside them, and
Japanese and Chinese text no
longer starts a line with closing punctuation or a small kana; code,
paths and the terminal keep
their own breaking. A dialog title or the empty chat's greeting that
wraps now takes even lines.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A message sent from the chat to Claude Code with an editor connected
is no longer refused as if its
input box held a draft: Claude's `[⧉ … selected]` / `[⧉ In <file>]` pill
there is not typed text,
  and Claude's suggested next prompt shows again beside it.
  ([#1285](https://github.com/devswha/herdr-web-ui/pull/1285))
- A Claude Code question that takes several choices offers "Or type your
own answer", as
its terminal does with "Type something": the card, or a message typed in
the chat that is not
  option numbers, types it into that row and sends it.
([#1239](https://github.com/devswha/herdr-web-ui/pull/1239) by
@sergiorademacher)
- Claude's menu follows its personal, ancestor-project, synced and
enabled plugin skills,
with origin groups, name precedence and linked-worktree fallback. Its
command list follows
Claude Code 2.1.301's recorded palette and omits screens the chat cannot
represent.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- Explicit Claude skill invocations remain readable as skill chips
instead of disappearing.
Binary-compiled skills, session-only added directories, and skills in
subfolders that Claude
  loads only after working there are not listed.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- A Claude Code teammate stopped with TaskStop, and any background
command it left running, no
  longer stay listed as running in a pane's background tasks.
  ([#1319](https://github.com/devswha/herdr-web-ui/pull/1319))
- Chat finds short Codex replies when the terminal shows a
completed-turn duration and time
  below the answer, including sessions started with profile launchers.
([#1248](https://github.com/devswha/herdr-web-ui/pull/1248) by
@christso)
- Codex chat no longer shows image envelopes or local file paths beside
pasted images.
([#1263](https://github.com/devswha/herdr-web-ui/pull/1263) reported by
@zerodice0)
- Codex chat can read a short first exchange such as a greeting,
including beside another Codex pane
in the same directory when their visible exchanges identify different
conversations.
([#1155](https://github.com/devswha/herdr-web-ui/pull/1155) by
@christso)
- Threads created during Codex startup are checked against a precise
Linux process-start bound;
older tool-heavy transcripts no longer exhaust the short-conversation
message budget.
([#1155](https://github.com/devswha/herdr-web-ui/pull/1155) by
@christso)
- The header's connection chip, the chat's footer, the terminal's banner
and the composer's offline
sentence say "Connecting" until this page has connected to the PC once,
and "Reconnecting" only after
a connection dropped; before, every wait read as a reconnect, a fresh
page's first one included.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The pre-connect shell's "Connecting…" line is translated like every
other status line.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A damaged remote PC settings file is reported in the server log.
- A browser that gets in with a token its proxy sends in an
`Authorization` header no longer
offers **Sign out**, which cleared nothing: the proxy sent the token
again with the next
  request. `/api/health` marks such a sign-in with `auth.bearer`.
  ([#1242](https://github.com/devswha/herdr-web-ui/pull/1242))
- Attaching a second file with the same name is announced to screen
readers again, for a finished
  upload and for a failed one alike.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- When a new workspace opens but its agent does not start, the dialog
now says so in the UI
language and suggests checking the agent is installed, with the PC's own
words kept beneath and
  Open still offered.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A chat that takes too long to load now says the PC took too long to
answer, instead of
  "Something went wrong".
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A file named without its folders now opens, and shows in the file
search, in a folder that
also holds thousands of files (a downloaded data set): the lookup reads
the whole git file list
first, and the folder walk no longer lets one large folder use up its
5,000 entries.
  ([#1284](https://github.com/devswha/herdr-web-ui/pull/1284))
- A file popup opens with the keyboard focus on the file, not on its
first button: Space plays a
video or sound and scrolls a text, where it used to press **Show beside
the pane** and move the
  file to the side panel.
  ([#1313](https://github.com/devswha/herdr-web-ui/pull/1313))
- In the installed app's window, the file viewer offers **Copy link** in
place of **Open in a new
tab** and **Open raw file**, which opened another app window there
instead of a browser tab. A
  browser tab keeps both.
  ([#1313](https://github.com/devswha/herdr-web-ui/pull/1313))
- Files opened on one pane follows a switch to another pane while it is
open (the Next pane and
Previous pane shortcuts): it lists the new pane's folder instead of the
folder it was opened on.
- A prompt card no longer disappears for two seconds when one read of
the pane's prompt fails (a
network error or a server hiccup): it stays until the next read says the
menu is gone.
- A GJC pane's chat and status no longer start the gjc CLI on every
refresh: the session found
for the pane is kept until GJC's session index changes (a `/new` or
`/resume` always writes
  it), the pane's gjc process changes, or half a minute passes.
  ([#1299](https://github.com/devswha/herdr-web-ui/pull/1299))
- GJC chat keeps the displayed conversation while a temporary SDK lookup
failure is retried,
instead of briefly replacing it with terminal fallback. Missing or
changed sessions still
  undergo the same identity checks
([#1295](https://github.com/devswha/herdr-web-ui/pull/1295) by
@Kinetic27).
- Grok chat on Linux follows any Grok executable named `grok` or
`grok-…`, including builds
newer than 1.0.50, when that process holds one `events.jsonl` for the
session Herdr
  reported. macOS and Windows still show the terminal view.
([#1207](https://github.com/devswha/herdr-web-ui/pull/1207) by
@infowolfe)
- While the terminal reconnects, the held input's clipped preview
(`Input held: “…”`) answers the
pointer again, so hovering it shows the whole command; before, the
pointer fell through to the
  terminal and the preview's title never showed.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- In a narrow split on a desktop, the reconnecting notice with held
input stays inside its pane and
wraps, instead of running out of the pane's left edge with its first
words cut off.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- An HTML page previewed from a chat link closes again with X, the scrim
and Escape after it
navigated inside its frame (a click on its table of contents, a script
setting `location.hash`
once it had loaded); until now the preview stayed open and later file
links opened nothing.
  ([#1274](https://github.com/devswha/herdr-web-ui/pull/1274))
- Install app no longer shows inside an installed app's window, in any
display mode, nor in a
  Chrome or Edge 140+ tab of an address whose app is installed.
  ([#1228](https://github.com/devswha/herdr-web-ui/pull/1228))
- On an iPhone or iPad, holding the keyboard's ⌫ in a terminal keeps
deleting, as it does in any
  text field, instead of deleting one character and stopping.
  ([#1325](https://github.com/devswha/herdr-web-ui/pull/1325))
- Moving the cursor before the terminal's kept space on iPhone or iPad
no longer drops typed
  Hangul or interferes with composition and held Backspace.
- On an iPhone, Korean typed with the on-screen keyboard in a terminal
arrives as whole syllables
  (한글) instead of one jamo at a time (ㅎㅏㄴㄱㅡㄹ).
  ([#1327](https://github.com/devswha/herdr-web-ui/pull/1327))
- The terminal key bar fades the edge that hides more keys, so a phone
shows when the row scrolls
on, and every key with a symbol or abbreviated cap (Esc, ^C, ⌫, |, ~, /,
Ctrl, the arrows and
  page keys) has a spoken name for screen readers, in every UI language.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- In Korean, the message box's and the terminal input line's
placeholders keep each word whole
("넣지 않습니다" is no longer cut into "넣지 않 / 습니다" on a phone); what is typed
into them, and
  code, break as before.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A pane opened in a second browser while another one already shows it
now gets the whole screen:
herdr is asked to draw it again, so what a busy program drew only once
(btop's boxes, titles
  and column headers) no longer goes missing there.
  ([#1323](https://github.com/devswha/herdr-web-ui/pull/1323))
- ANSI terminal colours are now readable in every light theme, including
yellow and bright colours.
  ([#1261](https://github.com/devswha/herdr-web-ui/pull/1261))
- A right-click in the chat composer, the terminal's input line, the
find field or a password
prompt's field opens the browser's own menu (Copy, Paste, spelling
suggestions) on that field
again instead of the pane menu, as does the keyboard's menu key while
one of them is focused.
  A right-click on the pane itself still opens the pane menu.
  ([#1268](https://github.com/devswha/herdr-web-ui/pull/1268))
- When the app's server cannot reach herdr, the sidebar's connection
error and the header's
"herdr offline" pill now say what to do: start herdr on this PC, or
check HERDR_SOCKET.
- A setting the server cannot save (its state folder is read-only) no
longer fails silently:
Settings shows a plain sentence with the next step, the server's own
words behind Details, and
  the change is sent again once the folder can be written.
- OmO's bundled skills now appear in the chat command menu on Windows.
  ([#1229](https://github.com/devswha/herdr-web-ui/pull/1229))
- OmO panes show BG while a detached eval cell is still running or
queued after the assistant
ends its turn, rather than showing DONE before the background work
finishes.
  ([#1275](https://github.com/devswha/herdr-web-ui/pull/1275))
- An OmO question asked while background tasks run shows its options
card again, not a bare
  Enter and Esc card.
  ([#1226](https://github.com/devswha/herdr-web-ui/pull/1226))
- Mouse wheel and touch scrolling can read terminal history while OmO
has a question open.
  ([#1278](https://github.com/devswha/herdr-web-ui/pull/1278))
- OMP question prompts remain available when a narrow terminal clips the
navigation hint at the end of the footer.
([#1192](https://github.com/devswha/herdr-web-ui/pull/1192) by
@christso)
- OMP chat finds the pane's transcript on Linux when Herdr reports its
process without command-line
arguments, including sessions in a named profile. Process-memory reads
have a deadline and run
  outside the bridge so a stalled WSL process cannot freeze it.
([#1157](https://github.com/devswha/herdr-web-ui/pull/1157) by
@christso)
- An Oh My Pi chat keeps showing its model after `/model` switches it,
instead of losing the name
  until the next answer. Found in #1250 by @CharleoYang.
  ([#1283](https://github.com/devswha/herdr-web-ui/pull/1283))
- OMP question cards recognize current and clipped key hints, keep
wrapped labels and descriptions
with their choices, and support the final review step after multiple
questions.
([#1184](https://github.com/devswha/herdr-web-ui/pull/1184) by
@christso)
- A rendered HTML page plays its own videos and sounds too large to put
into it (over 8 MB, or
past the page's 32 MB) instead of showing an empty player: each plays
from an address only that
render hands out, for 30 minutes and only to the network address that
opened the page.
`HERDR_WEB_MEDIA_ROOTS` names folders, such as a network share, that a
symlink beside the page
  may lead to for such a video
([#1188](https://github.com/devswha/herdr-web-ui/pull/1188) by
@JensR93).
- A message queued for Claude Code is held for Send now when `/clear` or
`/resume` switches that
Claude to another session, also in a pane without herdr's hook, instead
of going into the new
  conversation.
  ([#1310](https://github.com/devswha/herdr-web-ui/pull/1310))
- A held message whose Send now dropped before it left the browser now
says it was not sent and
  keeps Send now, instead of "Not confirmed" with only Copy and Discard.
  ([#1308](https://github.com/devswha/herdr-web-ui/pull/1308))
- On a phone, a New worktree made with Shell opens its terminal: closing
the sheet no longer sent
the app back to the pane it was opened on before the new pane was
listed.
  ([#1241](https://github.com/devswha/herdr-web-ui/pull/1241))
- On a phone, a downward stroke on an open agent list scrolls the list
instead of pulling down the
  dialog under it.
  ([#1241](https://github.com/devswha/herdr-web-ui/pull/1241))
- Show Pi chat from sessions stored in the pane's own profile.
([#1194](https://github.com/devswha/herdr-web-ui/pull/1194) by
@christso)
- A failure on the sign-in screen, in New workspace, in Find in
terminal, in a pane layout change or
rename, and in a workspace rename or reorder now says what happened and
what to do next in the UI
language, with the server's or browser's own words still shown beneath
it to select and copy.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Submitting a pairing code that is not six digits now says so under the
field instead of only
moving focus back to it, and New workspace's Directory field shows an
example path.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A `HERDR_SOCKET` set in the plugin's config is now used, so the plugin
can show a named herdr
  session instead of always following herdr's own socket.
- Installing the herdr plugin on WSL no longer fails with
`scripts/preflight.sh: 7: set: Illegal
option -` when git there converts line endings (`core.autocrlf=true`):
every text file is now
  checked out with LF.
  ([#1293](https://github.com/devswha/herdr-web-ui/pull/1293))
- `status` and `stop` run by hand (without herdr's environment) now find
the server herdr started,
in the plugin state dir herdr keeps (also on Windows), instead of
reporting it down because an
old checkout's stale pid file was looked at first. By @vibewriter-hand.
  ([#1210](https://github.com/devswha/herdr-web-ui/pull/1210))
- The card that asks before Claude Code or omp submits several answers
now lists each question
with its answer in plain text. It used to copy the terminal's lines into
a mono box, so a
  question the pane had wrapped was cut mid-sentence.
  ([#1296](https://github.com/devswha/herdr-web-ui/pull/1296))
- The Agents list says "Loading agents…" while the PCs' panes are still
coming in, instead of
  "No agents running".
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A link that waits for its PC says "Opening link…" in the header until
it opens or says why it
  could not.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A folder listing in the command palette that fails to load now offers
**Try again**.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The header's link notes and a failure's detail line are set in the
interface face: Korean in the
  mono face had letter-wide spaces and a period set off from its word.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- On a phone, the terminal's reconnecting notice keeps held input on one
line, cut with an ellipsis
(the whole text in its title), instead of breaking a command inside a
word; wrapped notice text
  starts at the left.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- On a touch screen the composer's plan chip stays a small pill and
takes its 44px hit area through an
  invisible expander, instead of growing into a tinted badge.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- When file suggestions could not load, the composer now says what to do
next: keep typing to try
  again.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Every field's placeholder takes the dim text colour (4.5:1 or better);
the browser's grey was 3.8:1
  on a dark field.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Starting the server on a port that is taken now prints one plain line
naming the address and what
to do instead of a stack trace, and the log says once at startup when
herdr cannot be reached or
  the state folder cannot be written.
- Settings switches draw their knob centred in the track, and an on
switch takes it all the way to
  the end.
  ([#1282](https://github.com/devswha/herdr-web-ui/pull/1282))
- On a phone, a tab with a short name (such as 탭 1) is now as wide as a
fingertip target, so a tap
  beside its name no longer lands on the strip or on its ⋯ button.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Screen readers now hear "Sending your answer…", the file viewer's
"Opening…" and the header's
"Opening link…": each status line is in the page before its words
arrive, so the change is read.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The New workspace dialog's Directory field shows the end of a long
path, where the folder's name
  is, when the path is set for you or the field is left.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Korean: the sentences for an agent that did not start, a tool's image
and a provider's rate limit
  no longer hang a particle on the name ("이(가)").
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- In omp, gjc and Hermes chats, a skill call now shows as the skill's
name instead of the
  skill's full instructions pasted into the conversation.
  ([#1245](https://github.com/devswha/herdr-web-ui/pull/1245))
- The empty status boxes that stay in the page for screen readers (the
header's note, the
terminal's wait for input) no longer reach into layout: the note's
sentence has its own class, so
the pane title alone carries the header title's, and the clipped wait
region sits at the banner
  column's corner instead of widening the column by a pixel.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- With reduced motion on, Tab from the selected tab now reaches its
actions button (`⋯`) on a
desktop; without the fade's delay the button hid while the keyboard
focus crossed to it, and the
  focus fell out of the tab strip.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The terminal's "Terminal ended", "Reconnecting to herdr web ui…",
"Input held:" and view-only
banners are translated into Korean, Japanese and Chinese, and wrap
inside a narrow pane (a phone,
  or a split on a desktop) instead of running past its edge.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A two-finger pinch that changes the terminal's text size tells a
screen reader the new size once,
  when the fingers lift; a cancelled pinch says nothing.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A failed file paste or prompt answer in the terminal says what went
wrong in a plain sentence,
  with the server's or browser's own words after it.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Fullwidth punctuation (,。()) no longer pushes the rest of its terminal
row to the right in
Chrome, so OmO's side panel stays in one column while the transcript
beside it scrolls.
  ([#1300](https://github.com/devswha/herdr-web-ui/pull/1300))
- Dialogs take keyboard focus before their first paint, falling back
when the preferred control
is unavailable, so an immediate Escape closes the dialog instead of
reaching the terminal.
New workspace and New tab reset failed agent launches before reopening
their fields.
  ([#1238](https://github.com/devswha/herdr-web-ui/pull/1238))
- A web address clicked in the terminal opens in a new tab again, not in
a new browser window.
  ([#1234](https://github.com/devswha/herdr-web-ui/pull/1234))
- Switching panes no longer leaves two window listeners behind for each
terminal it closes, so a
  tab kept open through many switches stops growing.
  ([#1288](https://github.com/devswha/herdr-web-ui/pull/1288))
- On a touch screen every control is now at least 44px in both
directions: the header's buttons
and lens switch, tabs, the key bar's keys, sidebar rows and their
actions, palette and dialog
rows, the composer's buttons and a message's copy buttons. With a mouse
the chat's copy buttons
  and an attachment's X keep their size but take a 24px hit area.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- A browser connecting through a TLS-terminating Traefik proxy no longer
stays on Reconnecting
because its secure WebSocket upgrade was mistaken for a different
origin.
([#1206](https://github.com/devswha/herdr-web-ui/pull/1206) by
@philipprass-prog)
- A file whose name holds Korean, accented or similar letters stored in
another Unicode form (as
files from a Mac, a zip or a sync tool often are) now opens in the file
viewer and shows up in
  file search, instead of failing with "no readable file at that path".
  ([#1219](https://github.com/devswha/herdr-web-ui/pull/1219))
- The updater now removes the temporary `tmp_pack_*` files a failed
fetch leaves in the checkout,
including the ones earlier versions left behind (any untouched for an
hour is swept), and no
longer retries a failed history (unshallow) fetch every 5 minutes. On
Linux and macOS a fetch
that runs out of time is ended with SIGTERM first, so that Git releases
its lock files
([#1258](https://github.com/devswha/herdr-web-ui/pull/1258) by
@mkitaev).
- A damaged or unreadable hub configuration no longer prevents the web
UI from starting.
The hub stays unconfigured, and the server logs the problem without
exposing its saved key.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))
- Failed local sign-in launches release an empty credential home so the
same account name can be retried.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))
- Closing account setup cancels a pending hub sign-in instead of leaving
its session active.
  ([#1236](https://github.com/devswha/herdr-web-ui/pull/1236))
- A sign-in that finishes before the server's pane-event connection
starts now completes in the UI
  and refreshes the available accounts instead of waiting indefinitely.
  ([#1320](https://github.com/devswha/herdr-web-ui/pull/1320))
- With a repository's main checkout open in more than one workspace, the
sidebar now hangs each
worktree under the nearest of them above it, instead of always under the
first.
  ([#1262](https://github.com/devswha/herdr-web-ui/pull/1262))

### Maintenance
- One `useAnnouncedText` hook (`src/lib/`) carries the announced-status
pattern that the header note,
the file viewer and the two sidebars each copied; DESIGN.md names the
pattern and where the prompt
  card's `aria-busy` lives.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The split-view, UI and chat browser checks find a pane's conversation
inside that pane's frame
instead of by its spoken name, which now carries the pane's title; the
UI check also covers the
desktop tab actions button appearing on hover and keyboard focus.
DESIGN.md's tab strip section
describes that button and the lone pane's actions in the tab's menu on a
desktop.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- The browser checks that read the header's note select it by
`.header-note`; `.context-title-text`
  is the pane title alone, which the mobile tabs check measures.
  ([#1246](https://github.com/devswha/herdr-web-ui/pull/1246))
- Theme colors now live only in the theme blocks of `src/styles.css`.
`bun run generate:themes`
writes the terminal colors, DESIGN.md's amber table, the `theme-color`
tag and the web manifest
colors from them, and fast checks fail when a copy is stale. Nothing
changes on screen.
  ([#1253](https://github.com/devswha/herdr-web-ui/pull/1253))

</details>

## Verification summary

All QA ran on isolated herdr test sessions (`bun run check run`, socket
asserted under `/tmp/hwc-*/.../check-*`), never the maintainer's live
session.

- **Baseline on main f1491383**: real-surface run found the dead ends
fixed here (raw stack on a busy port, no next step when herdr is
offline, silent read-only state folder, unlogged damaged machine
settings).
- **Per fix**: each fix lane read the covering tests first, reproduced,
fixed, and captured test + build + run evidence; a separate verifier
agent reran every acceptance command and scenario on the committed tree
(stale-state, dirty-worktree and misleading-output probes) and confirmed
it. Files/prompt: 0/8 on main, 8/8 with the fix.
- **Independent rerun of every scenario at the release head** (23 rows:
preflight, startup, health/session/WS, corrupt state files, unwritable
state, offline UI at 1280x800 and 390x844, settings save failure, plugin
socket precedence, docs, iPad IME regression, Files/prompt): all PASS; a
delta rerun after the follow-ups (14 rows incl. a valid-file isolated
startup): all PASS.
- **Reviews**: code review APPROVE; plan-compliance/ideal-state gate
APPROVE in round 3 (round 1 caught two QA runs that had used the default
herdr socket; they were redone isolated, see below).
- **Local checks at 8410ac93**: `bun run check fast` exit 0 (typecheck,
generated types/themes, build, unit 4434 pass / 0 fail); `bun run check
integration browser`: integration 585 pass / 0 fail, browser 67 scripts
pass (`omo-plan-browser-regression.ts` failed once at 0 s on an ENOENT
mkdir of its evidence folder and passed on its single rerun); `bun
scripts/release-guards.ts --base origin/main`: "Release 0.4.12: remote
bundle, telemetry Worker and release metadata are in order."
- **Caught by the checks and fixed here**: the new browser script needed
the lane count in `scripts/ci-browser.test.ts`.

Known and left out (follow-ups, not blockers): #1179's small findings;
34 console 404s from favicon lookups on page load; a long `TMPDIR` makes
`scripts/herdr-restart-regression.ts` exceed the unix socket path limit
locally (same on main).

## Release

After this merges and its CI on `main` passes: push `remote-v31` on the
merged commit, wait for the Remote PC bundles workflow, then run the
Release workflow with `0.4.12`. Merge nothing touching `server/`,
`shared/`, `bun.lock` or `patches/` until the Release run is done.
devswha added a commit that referenced this pull request Nov 6, 2026
…3185)

## Change

Fixes #3179. Adds Settings → Chat → **Reopen files on return**
(`reopenFileOnReturn`), in the Files group under More settings. It is
off by default and saved per device. With it off, nothing changes.

With it on:
- A file open on a tab still closes when you switch to another tab, as
today.
- Coming back to that tab shows the file again, whether you use Back,
the tab strip, the sidebar or a shortcut. This works in both popup and
docked mode.
- If you close the file on its tab, it stays closed the next time you
return.
- Up to 10 tabs' files are remembered.

### How it works

- **Back** (`useAddressBar.ts`): when you leave a tab, its history entry
keeps the file (`hideFile` instead of `releaseFile`), and the switch is
pushed over it instead of replacing it. Back lands on that entry and
shows the file again.
- **Tab strip, sidebar or shortcut** (`useFilePanels.ts`): `leaveFile`
remembers the file left on each pane, in memory, keyed by PC and pane.
After the switch's history entry is pushed, `restoreFile` opens that
file again on an entry of its own. Close and Back then remove only the
file, not the tab switch.
- **Forgetting:** a file is dropped from memory once it shows on its
pane again, so a file closed there does not come back.
- **The tricky part:** on Back, the viewer's `popstate` listener shows
the file one render before the address bar's listener selects its pane.
In that render the file looked left behind, so the old code hid it again
and wrote the other pane's address over the entry. `useFileViewer` now
reports whether the file shown came from a Back or Forward
(`fileFromPop`). While the selection hasn't moved since, `useAddressBar`
leaves both the file and the address alone until the pane is selected
(`fileLanding`). If the Back lands on a different pane (the file's pane
is gone), the selection moves and the file is released as before.
- A move that replaces its entry (`autoSelected`, Settings open) removes
the kept file from the entry (`withoutFile` in `historyKeys.ts`).

### Limitations

- The memory is lost on a reload. Back still shows files after a reload,
because those live in the history entries.
- A tab you leave by pressing Back isn't remembered for a later return
from the tab strip.

### Docs

The setting is described in DESIGN.md (the docked-panel paragraph),
`docs/guide.md` and a `changelog.d/` fragment. Its label and description
are translated into Japanese, Korean and Chinese.

Related: #1230 (where closing the viewer on a pane move became
deliberate), #1224, #1324, #3002, #1061.

## Validation

Rebased on `main` at `2b37a54e`, after #3157 (the new Chat settings
page) and #3171. The new row moved into the page's Files group with an
icon, like its neighbours.

- `bun run check fast` (macOS, after the rebase): typecheck, build, the
conventions tests and every `src/` and `shared/` test pass.
- 19 files in `server/` and `scripts/` fail. I checked a sample on
`main` and they fail the same way there, so they look specific to this
Mac (for example `scripts/check.test.ts`, `server/bridge.test.ts`,
`server/kimi.test.ts`).
- Hook tests in `src/lib/useFilePanels.reopen.hook.test.ts` (7 tests)
pass:
  - With the setting off, a file is never brought back.
- With it on, the entry keeps the file and a switch back reopens it on
its own entry.
  - A file closed after Back shows it stays closed.
  - Only the last 10 panes are remembered.
- A closed tab's file gives its place up before a live one is forgotten.
This test fails without the fix.
- Browser regressions, on macOS with the installed Google Chrome against
the isolated `ovis-test` herdr session:
- `scripts/file-viewer-regression.ts`: the new case for this setting
passes on every run (Back, a sidebar switch back, Close, and a file
closed on its tab staying closed).
    - The full script passed 80/80 before the rebase.
- After the rebase, the transitions table sometimes fails at "docked web
(from the narrow popup) → file: Back 1" or "web → narrow → wide → file:
Back 1". A clean `origin/main` worktree fails the same row in 3 of 4
runs on this Mac, and `main`'s CI passes it, so it looks like timing on
this machine, not this change.
- `scripts/file-viewer-mobile-regression.ts`: 18 checks, and
`scripts/files-panel-demo-regression.ts`: 4 checks. Both passed before
the rebase; not rerun after it.
- **Maintainer validation in the CI runner image**
(`herdr-ci-runner:local`, as CI's browser job, no retries needed):
- At 2217298: the 19 browser scripts that cover the file viewer,
Files, deep links, Settings and the sidebar pass 19/19, including the
transitions table's "Back 1" rows.
- At 25a9f47: `file-viewer-regression.ts`,
`file-viewer-mobile-regression.ts`, `files-panel-demo-regression.ts`,
`deep-link-demo-regression.ts`, `text-file-edit-regression.ts` and
`file-preview-text-browser-qa.ts` pass 6/6.
- `bun run check fast` at 1d95b8f (25a9f47 only changes the browser
script): typecheck, build, 12813 unit tests pass, 0 fail.
- The new same-path step fails on the path-only key and passes with the
PC + pane + path key; the closed-tab Forward step fails on 66c71fe and
passes now.
- GitHub's own CI for this fork has not started (it waits for a
maintainer's approval).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: devswha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant