revert: remove plan-gating from runtime-config (cloud policy must not live in framework)#1599
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
撤销 #1598。该 PR 把 cloud 的计费策略(
plan !== 'free'门控 aiStudio)写进了开源 framework 的runtime-config-plugin,违反「framework 不承载 cloud 业务、改 cloud 策略不应改 framework」的架构原则。恢复
runtime-config-plugin为 plan-agnostic(features.aiStudio用静态构造参数,由 host 注入)。AI 自动开发的 plan 门控将在 cloud 侧实现(cloud 已有plan-entitlements.ts+ resolve-hostname 暴露 plan)。更大的方向(按产品决策):framework 将整体移除多租户运行时,只保留本地单环境 objectos——本 revert 是该方向的第一步。