Repository navigation
Add Biome and put your machine first on download - #9
Merged
Merged
Conversation
Adds the front page, the desktop download page, /agents/, llms.txt and llms-full.txt as an Astro static build, served by the hermitbox-site Worker. Every page carries the agent panel. The design system is vendored unchanged and pinned by digest.
Copy buttons use their own handler instead of the design system's bindCopy, which reports success when the clipboard refuses. On a refusal the full text is shown, selected, to copy by hand.
…ermitbox/site into claude/adoring-goldberg-9ylfry # Conflicts: # docs/decisions.md # scripts/check-build.ts # src/components/AgentPanel.astro # src/components/AgentSteps.astro # src/layouts/Page.astro # src/pages/agents.astro
preview.yml uploads a preview version of hermitbox-site for each pull request from this repository (never a deploy), records its commit for the preview router, and keeps one comment with pr-<n>-site.priv.hbx.sh and <commit>-site.priv.hbx.sh. It does nothing until the CLOUDFLARE_PREVIEW_TOKEN secret exists. preview_urls is on.
…ermitbox/site into claude/adoring-goldberg-9ylfry
The copy-prompt is shorter and on separate lines, the same as the README and the docs. The front page's lead is one sentence, its quickstart is spaced and formatted in TypeScript and Python, and its steps are shorter. llms-full.txt shows the prompt as a text block.
…ermitbox/site into claude/adoring-goldberg-9ylfry
Linux (x86_64 or aarch64) under every install panel; 'or add to your agent' with no ChatGPT button (its /agents/ section says why); the VM example names an image; no shell prompt before TypeScript; the front page's quickstart in matching, commented TypeScript and Python; plainer lines across the front page, /agents/ and /download/; the root note once on /agents/; llms-full.txt without a dated status; the README's stale preview note.
…ermitbox/site into claude/adoring-goldberg-9ylfry
wrangler.toml takes hermitbox.dev and www.hermitbox.dev as custom domains. The Worker sends www to the same path on the apex with a 301; test/worker.test.ts covers the redirect and the noindex header.
Without script, an agent target opens its section on docs.hermitbox.dev/agents/, and each dialog's All agents link goes there too. The VS Code id becomes vs-code, the docs page's anchor.
The download page and llms-full.txt named hermitbox/hermitbox's deploy/release-keys.pem as the desktop signing key. Both now read one set of constants in src/lib/downloads.ts: keys/desktop-release.pem in hermitbox/desktop, its raw URL, the copy each version carries on dl.hbx.sh, and the check commands (signature first, then the SHA-512). A test fails if either surface names the daemon key again.
Headings lose their closing periods and say what the section is: Isolated by tier, Isolation tiers, Six lifecycle verbs, Run and delete it. The desktop eyebrow reads Hermitbox Desktop, the host paragraph is split into shorter sentences, and the prompt in front of the tier command can no longer be selected and copied.
The page description no longer lists ChatGPT among the clients that connect through hermitbox mcp. The h1 loses its closing period, each client is an h3 under Set up by client, and llms-full.txt fences Cursor's server config as json. Copilot's step names Hermitbox.
The eyebrow reads Hermitbox Desktop and headings lose their closing periods. Platform names are h2, and the unsigned-builds section is shorter, with an h3 for macOS, Windows and Linux in place of bold lead-ins. The Linux line says x86_64 or aarch64, no root, no Docker.
The summary is three shorter sentences, the install line says no root and no Docker, and llms-full.txt lists desktop files under Linux, macOS and Windows instead of their lowercase ids.
Footer column labels are h2 in sentence case (Product, Build, For agents) instead of lowercase h4s after the page's h1, styled as before. The 404 h1 loses its closing period, and the agent panel's prompt sign can no longer be selected and copied.
The README links hermitbox/hermitbox and docs.hermitbox.dev, and each command in its setup block has a sentence above it instead of a trailing comment. It names the desktop release key in downloads.ts.
Adds biome.json and .editorconfig with hermitbox's settings, Biome 2.4.8 pinned as a dev dependency, and biome ci at the start of bun run check, which the Preview job runs. bun run lint runs biome check. Records Biome in docs/decisions.md.
Only biome format and Biome's import sorting; nothing else changes.
Renames the download worker's escape helper, which shadowed the global. Marks Cursor's own variable in its config string. Turns off the unused-import and unused-variable rules for .astro files, since Biome sees only their frontmatter and not the template that uses them. Uses Biome's folder form for the ignored paths. The CSS specificity-order warnings stay as warnings: reordering the rules could change which one wins.
Checkout, setup, install and bun run check ran only when the preview token was set, and it isn't yet, so CI never ran Biome or the tests. Only the upload waits for the token now. The check builds before it tests, since the download tests read the built page.
src/lib/machine.ts detects the platform and cpu from the client hints (getHighEntropyValues), falling back to navigator.platform and the user agent. The page moves that platform's card first, marks it Your machine and shows the button for its cpu. A Mac with no cpu answer shows both dmgs, since Safari reports Apple silicon as Intel. Phones, tablets, ChromeOS and no answer keep the built order. Each file gains its cpu; each platform builds a button per cpu, the alternates hidden until detection picks them.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Biome's default, so code wraps to readable lines rather than filling the width. The other settings stay.
Only biome format; nothing else changes.
Biome 2.6.9 (config migrated: linter preset), TypeScript 7.0.2, Astro 7.4.13, @cloudflare/workers-types 5.20261129.1, @types/bun 1.4.5 and Bun 1.4.5 in packageManager and the Preview job. Wrangler 4.169.0 and the pinned actions are already the newest. Fixes what Biome 2.6.9 reports: the Cursor suppression sits on its line again, the hidden rule drops !important (its selector already wins), Page.astro's imports are sorted, and LICENSE.md stays out of Biome's new Markdown formatting. docs/decisions.md records each version and licence.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Formatter
biome.jsonand.editorconfigcarry hermitbox's settings: two spaces, 80 columns (Biome's default), single quotes, no semicolons, organised imports and the recommended rules. Biome 2.6.9 (MIT OR Apache-2.0) is pinned as a dev dependency and recorded indocs/decisions.md.bun run checkstarts withbiome ci ., andbun run lintrunsbiome check ..Reformat the tree with Biome, thenReformat the tree at 80 columnsafter the width moved to 80): onlybiome formatand import sorting. The built pages are byte-identical to main's, except that Biome writes thefontshorthand as13px / 16pxinstead of13px/16px, which CSS reads the same way.escapehelper, which shadowed the global, is renamed;${userHome}is marked as Cursor's own variable;.astrofiles, since Biome reads only their frontmatter and misses the template that uses them.Toolchain at its newest releases
Each version was checked against its registry on 2026-11-29 and is pinned exactly:
presetform.packageManagerand the Preview job.Wrangler 4.169.0 and the pinned actions (checkout v7.0.1, setup-bun v2.2.0) were already the newest.
docs/decisions.mdrecords each version and licence.Fixes for what Biome 2.6.9 reports:
LICENSE.mdstays out of its new Markdown formatting.[hidden]rule drops!important, since its selector already beats the design system's.CI
The Preview job gated checkout, install and
bun run checkon the preview token. That secret isn't set, so CI never ran the check. Now only the upload waits for the token, so Biome, the typecheck, the build, its checks and the tests run on every pull request from this repository, in the same job. The check builds before it tests, because the download tests read the built page. This adds about a minute to the job./download/ puts your machine first
src/lib/machine.tsdetects the platform and cpu fromnavigator.userAgentData.getHighEntropyValues. When that is missing or refused, it falls back tonavigator.platformand the user agent.How it was checked
bun run checkpasses: Biome, tsc, the build and its checks, and 27 tests, including 10 new ones intest/machine.test.ts. Those use real user agents, refused hints, an iPad asking for the desktop site, Android and ChromeOS.actionlintpasses onpreview.yml.Generated by Claude Code