Reverts commit 216e12abfe on main while keeping #808 (and follow-up #848) intact on the next branch for continued local/desktop Super Agent development.
Preserves subsequent main commits (#844, #847, #849, #851, #854, #856) outside the reverted #808 surface and restores the pre-#808 /mcp routing expectation in tests/server.test.ts.
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* feat(super-agent): add Super Agent workspace, Artifact Viewer, and unified resource hub
* fix(super-agent): align merge with main and mode composer controls
* wip(super-agent): save local Super Agent updates before merging origin/main
* feat(super-agent): add cloud share, game handoff, browser annotations, review fixes, and UI craft guidelines
* feat(arch): add cross-platform MCP hub, desktop shell, batch/triggers, and unified Web Publish
Implement OpenMotion's cross-platform MCP-first architecture and desktop packaging:
- Streamable HTTP MCP gateway (/mcp) with scoped Bearer tokens and unified Stdio/HTTP dispatch
- Multi-runtime Agent routing (local-direct, outbound local-bridge with macOS/Linux/Windows scripts, remote-service)
- Shared Batch Content Optimization and webhook/schedule Trigger engine across HTTP, MCP, and Super Agent
- Generalized HTML Web Publish service (design, game, motion, and standalone html targets) with shared Studio WebPublishPopover and Design Deploy compatibility facade
- Standalone Electron desktop shell (desktop/) for macOS, Windows, and Linux with multi-platform icon pipeline, WebGL splash/OpenDesign sign-in flow, auto-updater, and diagnostic export
- Static asset compression/caching (editor-server.ts), bounded LRU lifecycle helpers, and visibility-aware polling
- Comprehensive unit, HTTP, MCP, performance, and desktop test suites
* docs(arch): add cross-platform MCP architecture guide and interactive boundary map
Document the five-layer cross-platform MCP architecture, desktop packaging boundaries, batch/trigger automation, and generalized HTML Web Publish pipeline in docs/cross-platform-mcp-architecture.md and docs/architecture-map.html.
* fix(ci): schedule new backend tests, fix WorkspaceStore import, and harden Codex/runtime shutdown
* feat(super-agent): refine Artifact Viewer, CodeViewer styles, runtime/share handlers, and tests
* fix(ci): resolve remaining gitleaks, WebMCP tracking, i18n, menuStyle, and tokenGate checks
* chore(ci): remove accidental node_modules symlink from worktree commit
* fix(tracking): register motion_cloud_share tool and openmotion_cloud_share actions
* fix(account): avoid treating plain-text HTTP 403 prose as structured error code
* feat(super-agent): refine artifact viewer toolbar, game presentation, and cloud share trigger
* test(package): exercise openmotion_cloud_share in packaged phase1 smoke E2E
* fix(cloud-share): rotate file identity on entry path change and allow stop after project deletion
* test(e2e): verify MCP web deploy, game lifecycle, and fix preview asset CSP
* fix(super-agent): add persistent live progress dock and Continue recovery UX
* fix(design): allow sandboxed preview CORS fetches and preserve top-row preview thumbnails
* feat(super-agent): refine WebPublishPopover and ArtifactBrowserPane styles and tests
* fix(bridge,ci): forward workingDir to bridge/remote runtimes, sync standalone Codex events, and align tracking/CI suites
* fix(ci): keep 1800ms active-project polling in useWorkspace and update MCP tool count to 36
* fix(web-publish,server): stop prior slug on new_link, allow deleted-project unpublish/status, avoid bfcache SSE socket exhaustion, and await active turn cleanup
* chore(distribution): raise default npm package budget to 26 MiB
Baseline main is already at 23.69 MiB compressed (98.7% of the previous 24 MiB
budget after Game Studio assets), and adding Super Agent, Artifact Viewer,
WebPublish, Local Agent discovery/bridge, and 10-locale i18n adds +0.38 MiB
compressed with no new offline media (24.06 MiB total).
Update MAX_BYTES in .github/scripts/npm-package-size.py and document the 26 MiB
budget in CONTRIBUTING.md.
* feat(super-agent): add Game Studio Super Agent mode, masonry showcase, and artifact viewer enhancements
- Add ACP discovery for Antigravity, Gemini CLI, Copilot CLI, DeepSeek Harness (with isolated temporary session patch), Hermes, Devin, Grok Build, CodeBuddy, Qoder, Reasonix, Cline and IBM Bob, plus companion binary/config fallbacks for Mistral Vibe and Amp
- Prefer ACP configOptions over legacy availableModels, support async config_option_update notifications, extract per-model reasoning levels (thought_level, thinking and _meta.reasoningEfforts), detect -32000 auth errors and delete probe sessions when supported
- Discover Codex models via fast paginated app-server model/list with debug models fallback, Claude Code via non-prompt stdio control_request initialize with alias fallback, and Pi via RPC get_available_models with --list-models fallback
- Fix CLI line, Pi table and --help choice parsers to handle tab/column layouts, carriage-return spinners, display labels and Claude [1m] suffixes, and forward --effort when advertised
* Connect Explore, media scenes and studios in the creative workspace
* Keep the related template preview open while retrying playback
* Exercise the project MCP entry in the review handoff browser test
* Ship the Studio soundtrack and complete navigation translations
* Localize Studio entry points and searchable destination names
---------
Co-authored-by: pftom <26423749+pftom@users.noreply.github.com>
* feat: add a shared asset workspace with generation and version history
Unify direct model jobs and embedded Codex conversations around shared asset operations exposed through MCP. Add reusable media uploads, pinned references, version browsing, trash undo, and verified project imports.
Refine compact creation controls, persistent task history, solid menus, and stable resizable preview layouts. Integrate asset navigation with main's history and deep links, and align onboarding, tracking, documentation, and distribution.
* test: exercise openmotion_assets in the packaged phase-one e2e
The phase-one profile now exposes openmotion_assets, but the packaged
distribution smoke test still asserted that every public Tool was called
without ever invoking it, so the Distribution regression lane failed.
Import a real audio file into the library, read it back by asset and
version, list it by modality, and import the pinned version into the
project so the new Tool is covered end to end.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve asset request receipts and pending draft edits
Exercise asset library replay in the packaged MCP smoke test and align compact control documentation with verified shared geometry.
* Unify Studio navigation, provider settings, and local Agent workflows
* Serve the public provider notice from the editor file handler
The provider icon set added by this branch publishes
packages/design-system/providers/NOTICE.md through publicDesignFiles, but
serveEditorFile rejected .md because its MIME table only knew application
assets. The distribution regression test requests every public design file
and got 404 for the notice, so the attribution file was unreachable in the
editor package.
Map .md like the existing application server does (text/plain, UTF-8) so
the published notice is served with its bytes intact.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Include the provider icon manifest in the bundled adapter fixture
export-adapters.ts and the bundled runtime import
packages/design-system/index.js, which now also imports provider-icons.js to
publish the provider artwork. The adapter fixture copied every runtime file
the export reads except that new module, so the bundled launch failed with
ERR_MODULE_NOT_FOUND for provider-icons.js in the distribution regression
job.
Copy the icon manifest into the fixture alongside index.js, matching the
runtime distribution list that already ships it.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: pftom <pftom@pftomdeMacBook-Pro.local>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>