fix: 修复 ant 模式

This commit is contained in:
claude-code-best
2026-04-07 19:15:29 +08:00
parent f268b16b31
commit 52a9cc0414
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import * as React from 'react'
/**
* Internal-only component. Shows experiment enrollment status for internal
* users. Stubbed — returns null in non-internal builds.
*/
export function ExperimentEnrollmentNotice(): React.ReactNode {
return null
}

View File

@@ -0,0 +1,10 @@
import * as React from 'react'
/**
* Internal-only component. Displays a warning when feature-gate overrides
* (CLAUDE_INTERNAL_FC_OVERRIDES) are active. Stubbed — returns null in
* non-internal builds.
*/
export function GateOverridesWarning(): React.ReactNode {
return null
}

View File

@@ -48,6 +48,8 @@ import {
import { EmergencyTip } from './EmergencyTip.js'
import { VoiceModeNotice } from './VoiceModeNotice.js'
import { Opus1mMergeNotice } from './Opus1mMergeNotice.js'
import { GateOverridesWarning } from './GateOverridesWarning.js'
import { ExperimentEnrollmentNotice } from './ExperimentEnrollmentNotice.js'
import { feature } from 'bun:bundle'
// Conditional require so ChannelsNotice.tsx tree-shakes when both flags are