* refactor(cloud): remove hardcoded production Studio subdomain from runtime and install guide
Avoid tying the server, Studio frontend, WebMCP tools, and onboarding/install guides to a fixed production Studio subdomain so domain switches only require deployment configuration updates:
- Replace hardcoded Studio origin in docs/install.md with the {{ORIGIN}} placeholder rendered from APP_PUBLIC_ORIGIN, and require a non-empty publicOrigin in cloud-onboarding.ts instead of falling back to a hardcoded host.
- Use relative paths instead of a hardcoded production Studio origin fallback in campaignPricingHref and WebMCP cloud tool descriptors when no origin is available.
- Reference the active deployment <ORIGIN> in onboarding and entry Skill docs instead of hardcoding a specific Studio subdomain.
* docs(onboarding): add signed-config bootstrap origin discovery for GitHub readers
Keep the unrendered GitHub docs/install.md and Skill entry points self-contained without hardcoding a Studio subdomain:
- Document dynamic bootstrap discovery via https://releases.open-design.ai/open-motion/desktop/config/stable.json (payload.studioUrl) when reading unrendered GitHub docs with no user-supplied origin.
- Extend tests/cloud/onboarding.test.ts to assert bootstrap origin discovery in docs/install.md, skills/openmotion/SKILL.md, and .codex-plugin/onboarding/SKILL.md.
---------
Co-authored-by: heggria <bshengtao@gmail.com>
* feat(mcp,studio): unify cloud MCP onboarding, handoff prompts, and workspace-scoped OAuth access
- Point all cloud Agent handoff prompts (editor MCP button, templates, skills, platform export, review comments, transcript workflow, design handoff) to <ORIGIN>/install.md and <ORIGIN>/mcp instead of auth-gated /connect/guide or SPA /mcp-setup.
- Make GET /connect/guide public with browser 302 redirect to /mcp-setup and non-HTML 200 text/markdown serving /install.md; add public GET /connect/integration for guest cloud discovery on /mcp-setup and make GET /connect/config public.
- Remove per-project manual project_grants enforcement for OAuth 2.1 clients so authorized OAuth Agents have workspace-scoped access to the authenticated user's projects (matching PAT behavior while preserving ownerUserId isolation and preview_token single-project pinning), and remove the obsolete per-project Agent access menu entry.
- Add Mode A (pure setup) vs Mode B (task-driven handoff) guidance to docs/install.md and skills/openmotion/SKILL.md, plus structured 401 authGuidance and PROJECT_NOT_FOUND origin/workspace diagnostics.
- Refine /mcp-setup UX: hide DesktopConnectPanel in ordinary cloud browsers without a desktop or helper bridge, fix hero endpoint pill spacing, align Claude Desktop (Connectors UI), Cursor/MCP OAuth 2.1, and Claude Code (--scope user) manual instructions, and remove contradictory wait-for-brief text from task examples.
* test(studio): replace internal staging hostname fixture with motion.example.com
* test(mcp): include cloud server origin line in mcp-registry instructions check
* fix(mcp,studio): address review feedback and remove DesktopConnectPanel from /mcp-setup
- Send Vary: Accept on both branches of GET /connect/guide (plus Cache-Control: no-store on the 302 redirect) and assert both headers in cloud API tests.
- Restrict Step 3 onboarding mechanics and the Installation-success reply in docs/install.md explicitly to Mode A so Mode B task handoffs skip onboarding unambiguously.
- Remove the orphaned ProjectAgentGrantsDialog component and test, drop the unused onOpenMcpSetup parameter from useProjectArchives, stop writing inert project_grants rows in workspace-service and catalog-service, and document the retained /motion-api/projects/:id/grants routes as inert legacy compatibility endpoints.
- Remove DesktopConnectPanel and /motion-api/connections polling completely from /mcp-setup (McpConnectionPage) across both web and desktop hosts.
* chore(studio): remove orphaned DesktopConnectPanel, test, and architecture-map entry
---------
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* fix(install): consolidate setup and public Skill instructions in docs
* docs(install): use the public Motion guide short link
* feat(dsh): add interactive template recommendation cards
* feat(onboarding): share three-card welcomes across hosts and DSH
* fix(dsh): automate setup and complete native onboarding
* fix(dsh): preserve native shell and panel controls
* fix(dsh): enlarge card videos without prompting the agent
* fix(dsh): align template cards with Codex presentation
---------
Co-authored-by: lefarcen <935902669@qq.com>
Co-authored-by: lefarcen <lefarcen@users.noreply.github.com>
* Install OpenMotion for any local Agent without borrowing another host (OPEND-5284)
Setup accepted only codex, claude, deepseek and workbuddy, so users of other
local Agents such as OpenCode had to install with --host claude, which edits
Claude Code configuration, and then wire MCP by hand.
Keep the four registration adapters unchanged. Any other lowercase Agent name
now installs the same application, launcher and Skills (default
~/.agents/skills), leaves that host's configuration untouched and returns
agentRegistration with the exact stdio launcher for the Agent to register
itself. Adapter-less Agents share one Skills owner so a second one can reuse
the same root. tools, call and diagnose accept the same host names.
Document the route in the published guide template, npm installation guide
and README connection sections, including a verified OpenCode example.
* Reject prototype-key host names and read registered hosts with Object.hasOwn
`Object.prototype` keys match the generic Agent name pattern, so
`--host constructor` passed the `state.hosts?.[host]` registration guard via
inherited `constructor` and was reported as installed. Check registration and
the saved-host lookup with `Object.hasOwn` and reject Object.prototype keys as
generic host names, matching the install/diagnose contract that an Agent which
was never set up is not reported as installed.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Restore optional npm installation and manual release workflows
* Localize the optional npm README sections and align the install.md note
Translate the new optional npm installation section in README.zh-CN.md,
docs/README.zh-CN.md and docs/README.ja.md so the shipped localized READMEs
keep localized headings, instructions and link labels next to the existing
source-install prompt.
Reword docs/release-guide.md to describe docs/install.md the same way as
docs/release-workflows.md: it is not a generator input, but the source
repository entry that routes explicitly selected npm installations to the
published stable or test guide while install.md remains the default route.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* Retire npm package installation in favor of source setup
* Align release policy regression with npm retirement
* Repoint archived release controls to real guide template inputs
The npm-retirement cutover moved the published-guide template to
docs/templates/npm-install.md and inlined docs/install-onboarding.md into
every generated guide, but the archived release documents still named
docs/install.md as the template and as a protected control file. A
maintainer following an authorized republication or recovery path would
have edited the nine-line stub while generation read the untouched
template.
Update the control-file list and the release-guide and activation
references to the actual generator inputs, and state that the source
docs/install.md is only an archived pointer. Archive banners are kept.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* Restore source installation onboarding language selection
* Repoint archived npm guide to the moved presentation anchor
The inline-presentation contract now lives in docs/install-onboarding.md,
so the archived npm guide must reference that section instead of the
pointer-only docs/install.md.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
* fix: complete automatic onboarding across installation entry points
* test: run onboarding regressions in CI and align host guidance
* test: isolate bootstrap onboarding from ambient Codex sessions
* test: publish synthetic account credentials atomically
* fix: rebind a vanished source registration during install preflight
The source preflight aborted the whole install with a raw realpath ENOENT
when the previously registered checkout had been deleted or moved, which is
exactly the uninstalled-source state sourceMarketplacePlan exists to rebind.
Resolve the recorded source defensively: a missing or non-directory path is
reported as a stale registration to replace, and rollback skips restoring a
path that no longer exists. Refusals for foreign, non-local, ambiguous or
actively installed sources are unchanged.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
* fix: preserve installed marketplace sources on inventory failures
* fix: recover verified stale sources and preserve onboarding delivery state
---------
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Co-authored-by: 罗高 <luogao@users.noreply.github.com>
Add editor BYOK settings, provider reference guides and the media-use MCP tool. Preserve inline video work rounds and shared design-system integration. All eight checks passed on the exact reviewed integration head.
* feat: open the template library after installation without creating a project
* fix: return installation template library to the editor on close
* fix: allow template library dismissal when status is unavailable
* fix: preserve main namespace compatibility in ported documentation
* fix: dismiss installation template library without reloading
---------
Co-authored-by: mason6662333 <301978822+mason6662333@users.noreply.github.com>
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
Mirror the DEV candidate and promotion-gate paragraphs into CLAUDE.md so both shared Agent instruction files agree. Replace the generated install guide's contradictory test-version sentence with the new-version/legacy-version distinction, and cover both rules with focused tests.
Generated-By: looper 0.16.2 (runner=fixer, agent=pi)
Share checksummed downloads and component status across installers and running apps. Keep editing available during preparation, show compact Studio progress and retry, and guard media operations before applying work.