Skip to content

release: v1.7.2 — artifact downloads, SSH tunnel fix + connection verification, dock icon grid - #92

Merged
nesquena merged 8 commits into
mainfrom
staging/v1.7.2
Jul 11, 2026
Merged

nesquena merged 8 commits into
mainfrom
staging/v1.7.2

Conversation

@nesquena

Copy link
Copy Markdown
Contributor

v1.7.2 — staged release

Rolls up the two reviewed-and-approved external contributions plus small fixes found during review. Full details in CHANGELOG.md ([v1.7.2] section).

Contents

Verification (local, macOS)

Merge notes

Merge with a merge commit (not squash) — the branch carries #90's and #91's head commits, so a regular merge marks both contributor PRs as merged and preserves attribution.

After merge: tag v1.7.2 → CI builds/notarizes the DMG, creates the GitHub Release, and commits the appcast entry.

🤖 Generated with Claude Code

maxon1233 and others added 8 commits July 10, 2026 01:11
…e direct URLs, verify connections end-to-end

Connection fixes:
- SSH mode loaded the configured Target URL directly, bypassing the
  ssh -L forward entirely (netstat showed a direct remote connection
  while the tunnel sat unused). AppDelegate.effectiveTargetURL() now
  resolves what browser windows load: in SSH mode always the tunnel
  entrance http://127.0.0.1:<local port>, in direct mode the Target
  URL. Applied to launch/reconnect, Cmd+N/Cmd+T, and Open in Browser.
- Direct mode rejected every non-localhost URL: the URLSession-based
  preflight, Test Connection, and health ping are subject to ATS
  (NSAllowsArbitraryLoads=false), which rejects plain-http to
  non-loopback hosts with -1022 before the (ATS-exempt) WKWebView gets
  a chance. All three now use ReachabilityProbe, a hand-rolled HTTP
  GET of hermes' /health over Network.framework (TLS for https), which
  ATS does not apply to.

Connection verification:
- The probe is tri-state — healthy (2xx + "status":"ok" body),
  reachable-but-unverified (port answers; e.g. reverse proxy up,
  hermes down), unreachable — surfaced in Test Connection and the
  direct-mode title dot (● / ◐ / ○). Dock badge only on unreachable.
- Test Connection in SSH mode runs a real non-interactive login
  (ssh -o BatchMode=yes user@host exit), distinguishing "no SSH" from
  "auth refused" (→ ssh-copy-id hint). After auth it verifies hermes
  end-to-end: through the live tunnel when every forward-shaping
  setting matches what it was built from, otherwise through a
  temporary ssh -N -L created from the field settings and torn down
  after the probe. Local port collisions report "port busy" (bind
  pre-check, so a stray listener can't masquerade as the tunnel);
  when our own live tunnel holds the port, the test detours through
  an ephemeral port. Editing any field or switching modes clears a
  stale test verdict.

Preferences UX:
- Mode segment is now "Tunnel: None | SSH" (persisted values
  unchanged); SSH sections dim/disable instead of hiding, so the
  fixed-frame layout keeps its shape. In SSH mode the Target URL row
  becomes a read-only derived tunnel-entrance label.
- Saving a plain-http Target URL to a non-loopback host asks a
  one-time per-host acknowledgment that credentials and session data
  cross the network unencrypted; loopback is exempt.

Hardening:
- SSH username/host fields reject option smuggling (leading "-",
  whitespace) at Save, Test Connection, and inside testAuth /
  testForward; BatchMode prevents invisible password prompts and a
  watchdog bounds stalled handshakes.
- The health probe builds its request from the percent-encoded URL
  path so encoded CR/LF cannot reshape the hand-rolled HTTP request.

60 unit tests (mirror-style, matching the existing suite) cover the
effective-URL rule, probe endpoint/path derivation, health-response
classification, auth-attempt classification, live-tunnel match rule,
ssh identifier validation, and the plaintext-warning rule.
The master artwork was full-bleed on its 2048x2048 canvas, so the Dock
rendered it visibly larger than neighbouring icons. Artwork now spans
824/1024 of the canvas (1648px) centered on transparent margin — the
standard macOS icon grid. build.sh and CI both consume this file, so
local and release builds pick up the corrected icon with no pipeline
changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
#90)

shouldPerformDownload was honored before the scheme guards, so a
download-attributed file:// link would have received .download policy
instead of falling through to the guard that cancels all file://
navigation. The fast-path now skips file:// URLs; blob:/data: remain
eligible since they carry page-authored content and JS-generated
exports rely on them. Mirror test updated + new coverage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…retro v1.7.1

PR #90 shipped without a CHANGELOG entry (repo rule: entry required
before tagging), and v1.7.1 (icon refresh #84) was tagged without one.
Adds both, plus entries for the dock-icon grid fix and the file://
download-fast-path exclusion.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@nesquena
nesquena merged commit 55b6358 into main Jul 11, 2026
1 check passed
@nesquena
nesquena deleted the staging/v1.7.2 branch July 11, 2026 23:21
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.

3 participants