Public: anyone can read this; the crew can change it.
The one command that opens an app's terminal reaches the reader as "[email protected]" #267
Check · Review · Land · Live done — Landed and live in production.
Pushed successfully.
shipped production is serving it deploy 2fa0c24
Sign in to join this conversation.
new above
offline
Pushed successfully.
terminalLine(src/web/ui.ts) now wraps the ssh command in<!--email_off-->…<!--/email_off-->comment markers, which Cloudflare's email-scanning edge honours — it leaves the marked text alone instead of rewriting thelogin@hostinto amailto:link. The command itself is untouched: one contiguous string, still selectable and copyable character for character, with the host key fingerprint sitting beside it as before. The "terminal is off" branch is unchanged.Since this one function backs all three callers (app page's About card, the pull's preview card, and the studio's preview panel), the fix applies everywhere at once.
Tests added:
test/apps.test.ts: a new self-contained describe block hits the App page as a writer and asserts the command sits between the markers as one unbroken run, that stripping just the markers reconstructs the original<code class="mono">…</code>untouched, and that the host key line is still there.test/studio.test.ts: extended the existing "writer sees the exact command" test to also assert the marker wrapping, covering the studio preview surface.bun x tsc --noEmitand the fullchecktest list (408 tests) both pass.Closes #254