Files
openmotion/shared/cloud-features.ts
open-design-crew[bot] 9f1970aaee
Some checks failed
Motion standalone checks / Template library policy (push) Has been cancelled
Motion standalone checks / Maintainability report (push) Has been cancelled
Motion standalone checks / Source checks (push) Has been cancelled
Motion standalone checks / Studio regression (1/2) (push) Has been cancelled
Motion standalone checks / Studio regression (2/2) (push) Has been cancelled
Motion standalone checks / Cloud backend, security scan & container checks (push) Has been cancelled
Motion standalone checks / standalone (push) Has been cancelled
Release default cloud test environment / checks (push) Has been cancelled
Release default cloud test environment / images (push) Has been cancelled
Release default cloud test environment / Publish tested image digests for Argo CD (push) Has been cancelled
Release default cloud test environment / Notify the Feishu deployment group (push) Has been cancelled
Motion release controls / controls (push) Has been cancelled
Publish hosted template catalog / publish (push) Has been cancelled
feat(studio): hide Settings Model providers entry behind Cloud P1 feature gate (#1060)
* feat(studio): hide Settings Model providers entry behind Cloud P1 feature gate

* fix(mcp,studio): align Cloud P1 providers preview handoff with gated Default models route

---------

Co-authored-by: 罗高 <luogao@users.noreply.github.com>
2026-11-25 14:29:39 +08:00

21 lines
735 B
TypeScript

/**
* Cloud Phase 1 feature availability switches shared between Studio and the Cloud API.
*
* Local desktop/CLI mode (`cloud-diskless` not active) leaves every feature enabled.
* Cloud Phase 1 hides features whose backend or desktop-only surfaces are deferred to Phase 2
* (or temporarily hidden in Cloud P1). When a feature ships in Cloud, flip its flag to `true`
* (or delete the key and let TypeScript highlight every gate site to clean up).
*/
export const CLOUD_P1_FEATURES = {
localAgents: false,
modelProviders: false,
gameStudio: false,
workflows: false,
designStudio: false,
asr: false,
brandKit: false,
reviewComments: false,
} as const;
export type CloudFeatureKey = keyof typeof CLOUD_P1_FEATURES;