Skip to content

@hanzo/build 0.2.138: redesign a site from its address on Hanzo Desktop - #46

Merged
zeekay merged 1 commit into
mainfrom
feat/redesign-url
Nov 21, 2026
Merged

zeekay merged 1 commit into
mainfrom
feat/redesign-url

Conversation

@zeekay

@zeekay zeekay commented Nov 21, 2026

Copy link
Copy Markdown
Member

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: the Site contract and its pure parts (which words are an address, the folder's name, what the agent is told), with site.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

…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
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.

1 participant