Design Exploration: AI Site Design - #4603
Draft
shaunandrews wants to merge 1 commit into
Draft
Conversation
…unified create flow Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
| "default-src 'none'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; media-src 'self' data: blob:; script-src 'none'; connect-src 'none'; frame-src 'none'; base-uri 'none'; form-action 'none'"; | ||
|
|
||
| function injectResourcePolicy( html: string ): string { | ||
| const withoutScripts = html.replace( /<script\b[^>]*>[\s\S]*?<\/script\s*>/gi, '' ); |
| "default-src 'none'; img-src 'self' data: blob:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; media-src 'self' data: blob:; script-src 'none'; connect-src 'none'; frame-src 'none'; base-uri 'none'; form-action 'none'"; | ||
|
|
||
| function injectResourcePolicy( html: string ): string { | ||
| const withoutScripts = html.replace( /<script\b[^>]*>[\s\S]*?<\/script\s*>/gi, '' ); |
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.
This design exploration looks at integrating AI into the site creation flow, with a new design process for the agent.
The general flow is:
This isn't a new screen, we've just adjust the first option to mention using AI help you.
Again, not a new screen, just adjusted to include AI.
Here the agent kicks off a series of skills, including three sub-agents. These sub-agents go off and build html/css/js designs based on the instructions provided by the main session. These designs are showcased in the preview, using an mu-plugin to handle the server side. Users use our tab system to switch between designs, and can annotate and chat with the agent to iterate on any, or all, of the designs.
As the agent edits, it saves iterations for each design, so users can go back and pick up from earlier iterations.
--
Its very far from complete, but I want to get conversations going, and to start defining and running some evaluations of models and instructions to ensure quality output.