Skip to content

Rename the web connector and build target to hosted#3956

Merged
youknowriad merged 2 commits into
trunkfrom
rename-web-connector-to-hosted
Jun 25, 2026
Merged

Rename the web connector and build target to hosted#3956
youknowriad merged 2 commits into
trunkfrom
rename-web-connector-to-hosted

Conversation

@youknowriad

Copy link
Copy Markdown
Contributor

Proposed Changes

Pure rename, no behavior change. Renames the browser connector + Vite build target from web to hosted:

  • createWebConnectorcreateHostedConnector (connectors/webconnectors/hosted)
  • STUDIO_TARGET=webhosted; dist-webdist-hosted; index.web.html/main.web.tsx.hosted.*; build:web/dev:webbuild:hosted/dev:hosted
  • apps/hosted serves dist-hosted

This frees the web name so a separate local target/connector can be introduced cleanly in the studio ui surface PR. Independent of the other split PRs; based on trunk. Part of splitting the studio ui proof-of-concept (#3953).

Testing Instructions

  • npm run typecheck clean for apps/ui and apps/hosted.
  • npm run build:hosted --workspace=apps/ui builds and produces dist-hosted.

Pre-merge Checklist

  • Confirm the hosted browser build + apps/hosted server still serve the UI.

Pure rename, no behavior change: createWebConnector→createHostedConnector, STUDIO_TARGET/dist/entry web→hosted (connectors/web→hosted, main.web→main.hosted, index.web→index.hosted), and apps/hosted serves dist-hosted. Frees the `web` name so the separate `local` target/connector can be added in the studio ui surface PR. Verified the hosted build still produces dist-hosted. Part of splitting #3953.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… paths)

Completes the rename: createWebConnector→createHostedConnector, vite isWeb→isHosted + dist/entry paths, package scripts, and apps/hosted references. (The prior commit moved the files; this updates their contents.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@youknowriad youknowriad merged commit 1e92abd into trunk Jun 25, 2026
10 of 11 checks passed
@youknowriad youknowriad deleted the rename-web-connector-to-hosted branch June 25, 2026 13:59
@youknowriad youknowriad requested a review from lezama June 25, 2026 13:59
@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 28e7d83 vs trunk

app-size

Metric trunk 28e7d83 Diff Change
App Size (Mac) 1311.91 MB 1311.91 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 28e7d83 Diff Change
load 1068 ms 1066 ms 2 ms ⚪ 0.0%

site-startup

Metric trunk 28e7d83 Diff Change
siteCreation 6483 ms 6503 ms +20 ms ⚪ 0.0%
siteStartup 6476 ms 6997 ms +521 ms 🔴 8.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

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.

2 participants