Commit Graph

4 Commits

Author SHA1 Message Date
open-design-crew[bot]
74a3d1e79d Revert "feat(super-agent): add Super Agent workspace, Artifact Viewer, unified resource hub, and Agent Runtimes (#808)" (#877)
Some checks failed
Motion standalone checks / Template library policy (push) Has been cancelled
Motion standalone checks / Maintainability report (push) Has been cancelled
Motion standalone checks / Source checks (push) Has been cancelled
Motion standalone checks / Workspace reliability (macos-15) (push) Has been cancelled
Motion standalone checks / Workspace reliability (windows-2025) (push) Has been cancelled
Motion standalone checks / Studio regression (1/2) (push) Has been cancelled
Motion standalone checks / Studio regression (2/2) (push) Has been cancelled
Motion standalone checks / Distribution browser regression (push) Has been cancelled
Motion standalone checks / Distribution regression (push) Has been cancelled
Motion standalone checks / standalone (push) Has been cancelled
DSH integration / Optional DSH plugin (push) Has been cancelled
Motion release controls / controls (push) Has been cancelled
Update README star history / refresh (push) Has been cancelled
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>
2026-11-23 17:53:30 +08:00
Tom Huang
216e12abfe feat(super-agent): add Super Agent workspace, Artifact Viewer, unified resource hub, and Agent Runtimes (#808)
* 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
2026-11-23 11:29:48 +08:00
Dery Ferdika
d7b29bd4ec chore(types): type-check the whole backend tree, not seven pinned entries (#625)
typecheck:backend named seven entry files. tsc follows imports, so the real checked set was 119 files, but 46 backend files were never reached at all: every scripts/*.ts, several shared/ modules including editor-daemon and workspace-studio, tracking/browser.ts, and ten more.

The JavaScript helpers had a related blind spot. Several TypeScript modules import the design-system and motion-package modules, and without allowJs those imports resolve to any, so nothing compared the call site with what the helper accepts.

Move the same compiler requirements onto a tsconfig.backend.json project that covers the root modules, shared/, gateway/, tracking/ and scripts/, with allowJs enabled so the imported JavaScript joins the program. checkJs stays off, so the JavaScript participates in resolution and inference without starting a JavaScript type-checking migration. Coverage rises from 119 to 180 files in the same run. integrations/dsh stays out: it ships its own tsconfig and typecheck script and needs the optional DSH client dependency the root checkout does not install.

The wider net immediately found one real mismatch, server.ts passing dataDirectory to collectDiagnostics while the helper declared no parameter shape. That is fixed with the missing JSDoc contract rather than a cast at the call site.

Verified by injecting a type error into scripts/distribution.ts: the previous command still exited 0, the project reports it.
2026-11-19 16:27:29 +08:00
open-design-crew[bot]
ed818e71f3 feat: export redacted local diagnostics from Studio and CLI (#302)
Add bounded and redacted local diagnostic ZIP export to Studio and the CLI, with batched activity logging, download feedback, and distribution coverage.
2026-11-12 12:36:26 +08:00