Repository navigation
@hanzo/build 0.2.139: a web page in a Dev run — critique, redesign, live Preview - #45
Merged
Merged
Conversation
Darkhorse7stars
force-pushed
the
feat/312-url-critique-redesign
branch
from
November 21, 2026 03:44
f61f1fc to
39abcc5
Compare
Member
|
Heads up from the desktop side of #312 (#46, @hanzo/build 0.2.138, already on main): on This computer, with a host that has |
…ive Preview (hanzo-inc/app#312) - page.ts: an address named in New's ask is read before the run starts, through the platform's guarded reader (POST /v1/crawl, the person's credential), and rides the ask as one more attached file, said to be the page's content and not instructions. A page that cannot be read (private or local, HTTP 401/403/404/429/5xx, a file, no such host, too slow, no text) is one sentence under the composer, and no run starts. - New offers "Critique and redesign <page>" for an address in the ask: a critique, a redesign built in the workspace, and its dev server kept running on localhost so the Preview shows it live while the person iterates. - On This computer a public page is read the same way while signed in; a localhost address is the agent's own to open. - The Preview's way out is a labelled "Open in browser" (was an icon-only "Open in a new tab"), on what the sandbox serves and where a run published. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Darkhorse7stars
force-pushed
the
feat/312-url-critique-redesign
branch
from
November 21, 2026 04:10
39abcc5 to
7ad35cb
Compare
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.
Fixes the web and cloud half of hanzo-inc/app#312.
redesign/on localhost and shows it in Chrome. Wherever @hanzo/build 0.2.138: redesign a site from its address on Hanzo Desktop #46 applies, its offer is the one shown, and this PR stays out of its way.What changes for a customer
POST /v1/crawl, with the person's credential (no new server fetch). The reader refuses private, loopback, link-local and metadata addresses after DNS and on every redirect, caps size and time, and sends no user cookies. The page's text rides the ask as one more attached file (acme.com (web page).md), marked as the page's content and not instructions.localhostaddress is left for the agent.Tests
src/page.test.tscovers:SentencePOST /v1/crawlwith the bearer and orgreadAllpnpm test: 934 passed, 2 skipped.pnpm typecheckclean.web-page.spec.ts4/4: the offer, read and sent; refusal with no run; This computer reads a public page and leaves localhost; This computer runs on when a page can't be readredesign.spec.ts7/7local.spec.ts10/10cov-run-desk.spec.tscov-run-desk.spec.ts: the same 12 tests (desktop door, tickets, terminal) fail on this branch and on mainef9c61a.