[PoC] Studio Web: run the Agentic UI in a browser#3693
Closed
lezama wants to merge 2 commits into
Closed
Conversation
5854974 to
2053d15
Compare
…or and CLI web-server Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
e9bfd75 to
3a26355
Compare
…layer) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 tasks
Contributor
Author
|
Superseded by #3721 — same PoC, now branched from |
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
interface-improvements). No companion issue yet; opening as a directional proof of concept.How AI was used in this PR
This PR was built by an AI agent (Claude Code) — including this description — and then reviewed by me. The agent added the web entry, the web connector, and the CLI
web-server, and verified the end-to-end flow in a real browser. Please review with that context in mind.Proposed Changes
A proof of concept that runs Studio's new Agentic UI (
apps/ui) in a plain web browser, as a foundation for "Studio Web."apps/uialready talks to the backend only through itsConnectorinterface, so this adds a web build target, a non-Electron connector, and a small headless backend — without changing the UI itself:AgentRunEvents — only the transport differs (HTTP + SSE instead of Electron IPC). No A2A in this path.This is directional, not production-ready: it shows that one portable Agentic UI can serve both desktop and web by swapping the connector. It deliberately skips the hosted/multi-tenant concerns — per-user isolation/sandboxing, WordPress.com login/OAuth, durable sessions, and deployment — which are the natural follow-ups.
Testing Instructions
Requires being logged in to WordPress.com via the Studio CLI/app (the site list and agent use that token).
npm run cli:buildnode apps/cli/dist/cli/main.mjs web-server→ serveshttp://localhost:8088cd apps/ui && npm run dev:web→ serveshttp://localhost:5300http://localhost:5300— the Agentic UI loads and lists your WordPress.com sites.Quick backend checks without the UI:
Pre-merge Checklist
tsc(apps/cli + apps/ui) and ESLint are clean. One known cosmetic console warning remains on web (adesk-configquery returnsundefined); it's inherent to the connector contract and non-fatal.