Files
openmotion/package.json
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

119 lines
5.7 KiB
JSON

{
"name": "openmotion",
"version": "0.0.1",
"private": true,
"type": "module",
"engines": {
"node": ">=22.18.0"
},
"scripts": {
"dev": "npm run build:studio && node --env-file=.env.development --experimental-strip-types server.ts",
"studio:dev": "vite --config studio/vite.dev.config.ts",
"mcp": "node --experimental-strip-types mcp.ts",
"start": "node --experimental-strip-types preview.ts",
"test": "node --experimental-strip-types --test tests/*.test.ts",
"check": "node --experimental-strip-types scripts/check.ts",
"package:plugin": "node --experimental-strip-types scripts/package.ts",
"package:phase1": "npm run build:studio && node --experimental-strip-types scripts/package.ts --mcp-profile=phase1",
"package:test": "node scripts/test-package.mjs",
"package:npm": "npm run build:studio && node scripts/package-npm.mjs",
"build:studio": "npm run build:inline && npm run build:template-cards && vite build --config studio/vite.config.ts && node scripts/build-template-guide.mjs",
"build:tracking": "tsc -p tracking/tsconfig.json",
"typecheck:studio": "tsc -p studio/tsconfig.json",
"design:tokens": "node --experimental-strip-types scripts/design-tokens.ts",
"design:check": "node --experimental-strip-types scripts/design-check.ts",
"pretest": "npm run build:studio",
"prepackage:plugin": "npm run build:studio",
"test:studio": "vitest run --config studio/vitest.config.ts",
"verify:export": "node --experimental-strip-types scripts/verify-export.ts",
"catalog:import": "node --experimental-strip-types scripts/import-hyperframes.ts",
"catalog:covers": "node --experimental-strip-types scripts/cache-template-covers.ts",
"catalog:metadata": "node --experimental-strip-types scripts/sync-template-metadata.ts",
"export:adapters": "node --experimental-strip-types scripts/export-adapters.ts",
"storage:check": "node --experimental-strip-types scripts/check-repository-storage.ts",
"templates:check": "node --experimental-strip-types scripts/check-template-library.ts",
"templates:export": "node --experimental-strip-types scripts/template-library.ts export",
"templates:manifest": "node --experimental-strip-types scripts/template-library.ts manifest",
"media:prepare": "node --experimental-strip-types scripts/prepare-pr-media.ts",
"media:pull": "node --experimental-strip-types scripts/repository-media.ts",
"components:dev": "vite --config packages/open-design-ui/vite.config.ts --host 127.0.0.1",
"components:build": "vite build --config packages/open-design-ui/vite.config.ts",
"build:open-design-ui": "node scripts/build-open-design-ui.mjs",
"design:dev": "node packages/design-system/workbench/server.js",
"design:test": "node --test packages/design-system/workbench/*.test.js",
"build:inline": "node scripts/build-inline-ui.mjs",
"typecheck:backend": "tsc -p tsconfig.backend.json",
"typecheck:template-cards": "tsc -p mcp-ui/tsconfig.json",
"build:template-cards": "npm run typecheck:template-cards && node --experimental-strip-types scripts/build-template-cards.mjs",
"design:metrics": "node scripts/ui-metrics.ts",
"dev:web": "node scripts/dev-unified.mjs --mode=web",
"dev:desktop": "node scripts/dev-unified.mjs --mode=desktop",
"desktop:build": "node desktop/scripts/build.mjs",
"desktop:stage": "node desktop/scripts/stage-app.mjs",
"desktop:test": "node --experimental-strip-types --test desktop/tests/desktop.test.mjs",
"desktop:pack:dir": "npm run build:studio && npm run desktop:build && npm run desktop:stage && npm --prefix desktop run pack:dir",
"desktop:pack:mac": "npm run build:studio && npm run desktop:build && npm run desktop:stage && npm --prefix desktop run pack:mac",
"desktop:pack:win": "npm run build:studio && npm run desktop:build && npm run desktop:stage && npm --prefix desktop run pack:win",
"desktop:pack:linux": "npm run build:studio && npm run desktop:build && npm run desktop:stage && npm --prefix desktop run pack:linux"
},
"dependencies": {
"@hyperframes/core": "0.9.7",
"@hyperframes/parsers": "0.9.7",
"@hyperframes/player": "0.9.7",
"@hyperframes/sdk": "0.9.7",
"@hyperframes/shader-transitions": "0.9.7",
"@hyperframes/studio-server": "0.9.7",
"acorn": "8.19.0",
"fontkit": "2.0.4",
"gsap": "3.15.0",
"hyperframes": "0.9.7",
"pptxgenjs": "4.0.1",
"puppeteer-core": "25.16.0"
},
"overrides": {
"undici": "7.30.1",
"@modelcontextprotocol/server": "2.4.0"
},
"devDependencies": {
"@base-ui/react": "1.7.0",
"@codemirror/autocomplete": "6.20.4",
"@codemirror/commands": "6.11.1",
"@codemirror/lang-css": "6.3.1",
"@codemirror/lang-html": "6.4.12",
"@codemirror/lang-javascript": "6.2.5",
"@codemirror/lang-markdown": "6.5.2",
"@codemirror/language": "6.13.1",
"@codemirror/search": "6.7.2",
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.40.0",
"@lezer/highlight": "1.2.5",
"@lezer/javascript": "1.5.6",
"@mcp-b/global": "5.0.1",
"@modelcontextprotocol/ext-apps": "2.0.4",
"@phosphor-icons/react": "2.1.10",
"@powerformer/vela-cli": "0.1.10",
"@tailwindcss/vite": "4.3.3",
"@tanstack/react-virtual": "3.14.25",
"@types/node": "22.19.1",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.7.0",
"cn": "0.2.4",
"dockview-react": "8.3.1",
"esbuild": "0.28.2",
"fake-indexeddb": "6.2.5",
"happy-dom": "21.0.4",
"jsdom": "30.1.3",
"mediabunny": "1.45.3",
"postcss": "8.5.32",
"react": "19.2.9",
"react-dom": "19.2.9",
"react-router": "8.5.2",
"tailwindcss": "4.3.3",
"typescript": "5.9.3",
"vite": "6.4.5",
"vitest": "4.1.12",
"zustand": "5.0.11"
}
}