Feature/local workspace run#358
Conversation
…opment and fix local frontend routing
|
Someone is attempting to deploy a commit to the Raphael's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hey @zhoumzh — the Gemini bits from this PR landed via #357 (8d79ed0 + revert 9f5b3f7). For the rest, we'd like to merge the launcher-side improvements but need to ask you to remove the alembic migration changes before we can take this PR. Brief explanation: Why the alembic changes are blockingThe catchup migration
Every one of those tables/columns already exists on the production workspace-backend DB (Railway Postgres, restored from Supabase last weekend with The modifications to migrations 005 and 006 are also problematic — alembic only checks revision IDs, not migration content, so once a DB has applied them, it won't re-apply. Anyone bootstrapping a fresh DB after these land gets a different schema than anyone who set up before, which means schema drift across environments. What we'd likeCould you split this PR into two:
The local FK type mismatch in Once you've got the rebase ready, ping us and we'll pull it in. Thanks for the launcher polish work — the dynamic-endpoint + |
🚀 Feature: Full Local Workspace Execution & Dynamic UI Hot-Reloading
📝 Overview
This Pull Request introduces the capability to fully deploy and execute the OpenAgents Workspace (Backend + Frontend) in a localized environment, entirely decoupled from Docker. It also enhances the OpenAgents Launcher by enabling dynamic, runtime configuration of the Workspace Endpoint directly from the Settings UI, streamlining the developer experience and drastically reducing latency.
✨ Key Features & Enhancements
1. 🔄 Dynamic Workspace Switching (Hot-Reloading)
Settings -> Workspacestab.AgentConnectorvia IPC without requiring a Launcher restart. Developers can seamlessly toggle between production (workspace-endpoint.openagents.org) and local endpoints (http://localhost:8000).2. 🏠 Localized Workspace Deployment
make dev-local-frontendandmake dev-local-backendscripts to the Workspace Makefile, allowing developers to spin up the FastAPI backend and Next.js frontend instantly without Docker overhead.UUIDtype mismatch issues in Alembic migration scripts (005) that caused foreign key failures during initial local schema setup. Provided the missingscript.py.makotemplate to ensure future local autogenerations work flawlessly.3. 🌐 Intelligent Browser Routing
localhost:8000), clicking "Open Workspace in Browser" inside the Launcher now correctly maps the URL to the Next.js local frontend port (http://localhost:3001/...) instead of the production domain, establishing a perfect end-to-end local loop.🧪 How to Test
cd workspace && make dev-local-backendcd workspace && make dev-local-frontendcd packages/launcher && npm run starthttp://localhost:8000, and save.📚 Changelog
changelogs/notes/2026-04-24-local-workspace-run.md.CHANGELOG.mdunder[0.6.9].