Files
openmotion/docs/motion-release-activation.md
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

4.3 KiB

OpenMotion repository and release activation

Historical release activation record. For current manual candidate-build, npm-publication and snapshot-recovery procedures, use release workflows. Current Agent connections default to the Cloud MCP guide; legacy local source and npm installation recipes are archived in docs/templates/legacy-npm-install.md. Publication and hosted-guide updates require separate authorization. The cloud onboarding contract is install.md.

OpenMotion is the application on main in nexu-io/openmotion, renamed from nexu-io/html-anything. Daily development and new manual release operations use main. Git history, existing issues, pull requests and historical candidate artifacts remain in the same GitHub repository. The former HTML Anything application remains on legacy.

A push or merge runs validation; it does not publish a package, advance npm tags or update the public installation guide.

Repository and release identity

The repository was renamed to nexu-io/openmotion on 2026-11-11, retaining repository ID 1235403234, Git history and the main default branch. Repository guards, installation URLs and generated package links use the new address. Local clones should update their origin URL. Historical candidate receipts retain the former repository name and remain valid only through the current repository's authenticated artifact lookup and digest verification; new manual operations require nexu-io/openmotion. New candidate builds and manual publication/recovery require main; application source must be integrated there.

Before the next npm publication, a package maintainer must verify or update the external trusted publisher for @openmotion/app in npm:

Setting Value
Organization nexu-io
Repository openmotion
Workflow motion-publish-test.yml
Environment Blank
Permissions npm publish and npm dist-tag

The repository rename does not update npm trusted-publisher configuration. A package maintainer must set the repository to openmotion in npm before the next publication and confirm both publish and dist-tag permissions. Existing published package bytes, versions and tags are unchanged by the rename. Keep the workflow filename because it is part of the trusted-publisher identity.

Existing R2 secrets and variables stay with the same GitHub repository; never copy their values into source. Only authorized publication/storage jobs receive publication credentials.

Installation and onboarding rollout

The cloud installation-success reply contract is in docs/install.md, while the legacy local source/npm onboarding contract and release template are archived in docs/templates/legacy-npm-install.md. Legacy local installers return that archived contract plus bounded real template summaries in the installation turn. The Agent defaults to one confirmed template, offers three for an explicit comparison request when available, and creates the exact selected template only after consent. A known template plus an explicit creation request continues directly. Registration is separate from current-chat loading and invitation display.

To make those changes available through the website's existing short installation prompt, build and publish a new test candidate from main, then promote its matching DEV guide. The /open-motion/dev/install.md path and npm package name @openmotion/app stay the same; dev names the test channel, not the Git branch. Stable publication uses the stable guide separately. Never point a public guide at an unpublished version or claim that a source-only change has reached installed hosts.

Use the release workflow manual for exact-byte publication, native installation checks and snapshot recovery. Keep candidate validation, target-machine installation, real host invitation/creation and human audiovisual acceptance separate. Repository migration and green CI do not authorize publication. Historical registration began with PR #222.