Document the browser UI apps in AGENTS.md#4290
Open
gavande1 wants to merge 3 commits into
Open
Conversation
gavande1
marked this pull request as ready for review
July 22, 2026 13:46
sejas
approved these changes
Jul 24, 2026
| **`/apps/studio/src`**: Main (index.ts, ipc-handlers.ts, site-server.ts, storage/, lib/) | Renderer (components/, hooks/, stores/) | modules/ (sync, cli, user-settings, preview-site) | ||
| **`/apps/cli`**: index.ts, commands/ (auth, preview, site), lib/ (appdata, i18n, browser) | ||
| **`/apps/ui`**: Agentic browser UI (`@studio/ui`). app/ (providers, router), components/, data/, hooks/, lib/. **Different stack from `apps/studio`** — React 19, TanStack Query + Router, `@wordpress/ui` + `ThemeProvider`; no Redux, no Tailwind. Built per target: `build:local` / `build:hosted`. | ||
| **`/apps/local`**, **`/apps/hosted`**: HTTP/SSE backends for `apps/ui`. `local` is bundled into the CLI; `hosted` is experimental. |
Member
There was a problem hiding this comment.
In the future we could remove apps/hosted code and documentation.
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.
Related issues
How AI was used in this PR
Claude wrote the change, guided by the author. The author verified each claim against the repo and manually reviewed it before pushing.
Proposed Changes
AGENTS.md described Studio as an Electron app only, so an agent session had no pointer to the browser UI that
studio uiserves. That leftapps/ui,apps/local, andapps/hostedundocumented, even thoughapps/uiis one of the most active areas of the repo and is already referenced by the theming rules further down the file.This adds those three apps to the Architecture and Directory Structure sections, along with a note on the stack difference between
apps/uiandapps/studio.Testing Instructions
AGENTS.md.ls appsshould listcli,hosted,local,studio, andui.grep -ril 'redux\|tailwind' apps/ui/src apps/ui/package.jsonshould return nothing.Pre-merge Checklist