Files
openmotion/.codex-plugin/onboarding
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
..