Commit Graph

32 Commits

Author SHA1 Message Date
open-design-crew[bot]
2baa19acac refactor(cloud): remove hardcoded production Studio subdomain from runtime and install guide (#1184)
* 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>
2026-11-29 21:12:46 -08:00
Marc Chan
2b25d2e449 Switch default production Studio origin to app.open-design.ai (#1165) 2026-11-27 14:48:30 +08:00
open-design-crew[bot]
704515b1d8 feat(mcp,studio): guide legacy local-to-cloud MCP migration and OAuth callback handling (#1166)
* feat(mcp,studio): guide legacy local-to-cloud MCP migration and OAuth callback handling

* fix(i18n): extract MCP migration translations into dedicated mcp-migration-ui.json module

* docs(install): align codex mcp list --json checks with nested transport fields

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-27 14:24:41 +08:00
open-design-crew[bot]
38194ba4f4 fix(cloud): enforce archive OAuth ownership, return absolute download URLs, and align cloud MCP import/Codex onboarding (#1122)
* Fix cloud MCP project archive and onboarding guidance

Return authenticated absolute archive URLs and advertise the supported ZIP upload route while retaining desktop file imports. Guide authorized Codex users to the next creative action without exposing the Agent installation guide.

* fix(cloud): enforce OAuth archive ownership, atomic import receipts, and Mode A handoff onboarding

* fix(cloud): align archive import pending receipt state with schema check constraint

* fix(cloud): reclaim stale pending import receipts and centralize receipt project access check

* fix(cloud): refresh pending archive import lease while projects are created

* fix(cloud): keep deleted-project archives readable, use active host in MCP post-auth guidance, and simplify import response

* fix(cloud): persist durable archive ownership metadata, expose cloud WebMCP archive schema, and drop archivePath doc claim

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-26 10:57:34 +08:00
open-design-crew[bot]
b057de669b docs(mcp,skills): prefer built-in browser OAuth and keep cookie-isolation guidance silent (#1102)
* docs(mcp,skills): prefer built-in browser OAuth and keep cookie-isolation guidance silent

* docs(mcp,skills): recommend --no-browser CLI OAuth for built-in browser hosts

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-25 18:37:42 +08:00
open-design-crew[bot]
69032477fe feat(mcp,studio): unify cloud MCP onboarding, handoff prompts, and workspace-scoped OAuth access (#1094)
* 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>
2026-11-25 01:39:03 -08:00
open-design-crew[bot]
c10b593343 feat(cloud): update install.md for cloud MCP OAuth, add stateless onboarding routes, and restyle OAuth consent UI (#984)
* feat(cloud): add Streamable HTTP MCP install guide, stateless onboarding API, and OpenMotion OAuth consent UI

* fix(release): point legacy npm install-guide contract check at archived template

* fix(cloud,onboarding,oauth): address PR #984 review feedback

- Add DSH-compatible dshCardPresentation payload matching detailsSchema
  (id, title, description, video previewUrl, posterUrl, duration) and
  update docs/install.md + Zod schema regression coverage
- Refactor OAuth 2.1 consent HTML to consume /design-system/ui.css,
  data-motion-ui, semantic --motion-* tokens, and shared .ui-* controls
  with zero local palette overrides or color literals
- Extract shared inline-onboarding document renderer into
  shared/inline-onboarding-renderer.ts preserving the native_required
  external-media guard across CLI and cloud paths
- Cache encoded onboarding preview media once per resourceVersion and
  replace entry-count HTML caching with a 16 MiB byte-bounded LRU cache
- Restore local/DSH onboarding default (docs/templates/legacy-npm-install.md)
  in scripts/install-onboarding.mjs and repair moved relative links
- Align canonical repository docs (AGENTS.md, CLAUDE.md, READMEs,
  release/adapter/skill docs) and fix .codex-plugin/onboarding anchor

* test(onboarding,dsh): keep controls and DSH card tests independent of Studio build output

* docs(onboarding): repoint legacy local/npm references and anchors to archived guide

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-24 21:05:53 +08:00
open-design-crew[bot]
58812fe15d feat(install): carry campaign attribution through setup (#638)
* feat(install): carry campaign attribution through setup

* fix(install): keep attribution sources outside release scan private links

* feat(install): record attribution funnel start

* fix(install): record attribution before host registration

* fix(install): finish attribution after setup

* fix(worker): use the full Cloudflare account id

* fix(install): load attribution from extracted app

---------

Co-authored-by: lefarcen <935902669@qq.com>
2026-11-19 13:23:23 +08:00
open-design-crew[bot]
5cc89c0ba9 [OPEND-5443] feat(onboarding): unify guides and native DSH setup (#616)
* 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>
2026-11-19 11:08:43 +08:00
open-design-crew[bot]
df95932999 [OPEND-5284] Install OpenMotion for any local Agent without borrowing another host (#460)
* 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>
2026-11-16 19:17:58 +08:00
MasonJJ
2d960af713 Restore optional npm installation and the existing release workflow (#444)
* 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>
2026-11-16 17:51:34 +08:00
MasonJJ
d3c5b84062 Retire npm package installation in favor of source setup (#419)
* 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>
2026-11-16 14:12:18 +08:00
MasonJJ
6fe9291b04 fix: complete default onboarding across source, CLI and plugin installs (#408)
* 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>
2026-11-15 21:01:49 +08:00
MasonJJ
cdb170d473 fix(cli): add verified Codex onboarding handoff after setup (#387)
Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-15 00:42:57 +08:00
MasonJJ
d9ebe30bbc [OPEND-5292] Add native onboarding and template preview cards (#383)
* [OPEND-5292] Add native onboarding template preview cards

* Align source bootstrap assertions with the approved onboarding copy

---------

Co-authored-by: bone3deep1962-collab <bone3deep1962@gmail.com>
2026-11-14 00:01:32 +08:00
open-design-crew[bot]
235d9fbedb Add BYOK media provider settings and generation tool (#369)
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.
2026-11-13 19:23:29 +08:00
MasonJJ
0972235e1b feat: port installation template library onboarding to main (#325)
* 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>
2026-11-13 13:19:41 +08:00
罗高
d5d1d4a692 feat: continue installed OpenMotion tools in the current agent chat 2026-11-12 19:46:38 +08:00
罗高
d8ebc18d4b Merge main into installation continuation work 2026-11-12 19:42:56 +08:00
罗高
b3464a698d docs: simplify the installation success reply 2026-11-12 17:46:56 +08:00
bone3deep1962-collab
057fd22b68 Unify public OpenMotion names with backward-compatible aliases 2026-11-12 17:30:27 +08:00
罗高
ee82fb5f14 fix(installer): remove the macOS 26 version gate 2026-11-11 17:50:02 +08:00
bone3deep1962-collab
c2722f1277 feat(installer): deliver contextual onboarding after setup (OPEND-5061) 2026-11-11 17:26:39 +08:00
罗高
0d52d037f1 docs(installer): prefer bounded automatic npm registry fallback 2026-11-11 16:52:37 +08:00
罗高
7a27201270 docs(installer): guide recovery from npm download failures 2026-11-11 16:36:56 +08:00
罗高
8274c8929c Merge current Motion release policy updates 2026-11-10 19:22:56 +08:00
luogao
71cee54acf fix(motion): align release instructions with DEV candidate policy
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)
2026-11-10 18:52:42 +08:00
罗高
3493ae9253 Prepare native video dependencies in the background
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.
2026-11-10 18:29:36 +08:00
罗高
32f22a1f68 fix(motion): verify DEV candidates before promoting npm test 2026-11-10 18:26:42 +08:00
罗高
b031a601e3 feat(install): prepare native dependencies concurrently and guide all hosts 2026-11-10 10:03:54 +08:00
罗高
b676970f47 merge: sync feature/motion and retain compatible MCP updates 2026-11-09 19:41:37 +08:00
罗高
8303d22271 feat(delivery): add verified Agent installation guide and controlled R2 upload 2026-11-09 17:33:06 +08:00