Unify hosted Sessions and Automations#95
Merged
Conversation
burakgon
marked this pull request as ready for review
July 19, 2026 07:25
There was a problem hiding this comment.
Pull request overview
This PR removes the hosted “workbench” iframe surface for Sessions and Automations and instead hands those routes off to the full RoamCode terminal workspace in the same tab, unifying navigation and product chrome across desktop and mobile. It also updates the hosted audit harness and bumps the repo to version 1.4.3 with release notes.
Changes:
- Replace embedded
/terminal/*?embed=1iframe workbench with a product-handoff flow that navigates to the full/terminal/*workspace (auto-handoff for a single eligible Node; explicit chooser when multiple Nodes are eligible). - Remove the web client’s embedded-cloud mode handling so terminal navigation and the Node switcher are always visible in hosted/cloud mode.
- Prepare release metadata for
1.4.3(package versions + changelog entry) and update hosted product audit expectations.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| site/src/app-shell.ts | Reworks Sessions/Automations hosted routing to hand off into /terminal/* without iframe embedding; adds auto-handoff + multi-node chooser UX. |
| site/src/app-shell.test.ts | Updates hosted-shell tests to assert handoff navigation and adds coverage for the multi-node explicit choice flow. |
| site/src/app-shell.css | Removes iframe workbench styling and adds styles for the new handoff and node-launcher surfaces. |
| site/scripts/hosted-product-audit.mjs | Updates audit routes/fixtures/contracts to validate the unified terminal surface and assert no iframes remain. |
| packages/web/src/config.ts | Removes the embedded-cloud flag now that embedding is no longer supported. |
| packages/web/src/App.tsx | Always renders terminal navigation + host switcher in cloud mode (no embedded mode branching). |
| packages/web/package.json | Bumps @roamcode.ai/web version to 1.4.3. |
| packages/server/package.json | Bumps @roamcode.ai/server version to 1.4.3. |
| packages/cli/package.json | Bumps roamcode CLI version to 1.4.3. |
| package.json | Bumps workspace version to 1.4.3. |
| CHANGELOG.md | Adds 1.4.3 release notes describing the hosted Sessions/Automations surface unification. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
What changed
Why
The hosted control plane wrapped the terminal application inside a second navigation, header, Node picker, and framed surface. Sessions and Automations therefore looked and behaved like a separate app embedded inside RoamCode.
Impact
Desktop and mobile now use one product shell and one navigation plane. Existing terminal behavior, relay enrollment, session management, and Automations remain on the existing terminal implementation.
Validation
pnpm lintpnpm typecheck