Repository navigation
@hanzo/build 0.2.138: redesign a site from its address on Hanzo Desktop - #46
Merged
Merged
Conversation
…op (hanzo-inc/app#312) A host that has the computer and can open a site (Host.site, site.ts) is offered the address pasted in New as a redesign: the host opens the site and saves a copy for the agent, serves the folder's redesign/ live and shows it in Chrome; the agent critiques it and builds the new site as static files. An ask that only holds a link is a normal run. Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV
This was referenced Nov 21, 2026
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.
Desktop half of hanzo-inc/app#312 (hanzoai/desktop#15).
On a host that has the computer and can open a site (
Host.site,site.ts), New on This computer offers Redesign {site}? for an address pasted alone or with a request to redesign it, and Redesign a site… in the composer's commands. An ask that only holds a link is a normal run.The host does what the agent's sandbox cannot (it has no network): it opens the site from the computer's own connection and saves a copy into the folder, serves the folder's
redesign/live and shows it in Chrome. The agent reads the copy, answers with a critique and builds the new site as static files; the preview follows each file it saves. A site that will not open is one plain sentence and nothing is built.src/site.ts: theSitecontract and its pure parts (which words are an address, the folder's name, what the agent is told), withsite.test.ts.src/redesign.tsx: the offer, the card (steps, live address, Open in Chrome, the agent's answer in words, its process in Developer mode) and the address dialog.src/e2e/redesign.spec.ts: 7 specs against the stub host (?site=ok|fail).Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV