mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 16:25:51 +00:00
feat: 恢复 --channels 能力 (#297)
* feat: 恢复 --channels 能力 * docs: 添加 channels 注释
This commit is contained in:
@@ -44,12 +44,10 @@ export function getChannelAllowlist(): ChannelAllowlistEntry[] {
|
||||
}
|
||||
|
||||
/**
|
||||
* Overall channels on/off. Checked before any per-server gating —
|
||||
* when false, --channels is a no-op and no handlers register.
|
||||
* Default false; GrowthBook 5-min refresh.
|
||||
* Overall channels on/off. Always enabled — GrowthBook gate bypassed.
|
||||
*/
|
||||
export function isChannelsEnabled(): boolean {
|
||||
return getFeatureValue_CACHED_MAY_BE_STALE('tengu_harbor', false)
|
||||
return true
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user