feat: 恢复 --channels 能力 (#297)

* feat: 恢复  --channels 能力

* docs: 添加 channels 注释
This commit is contained in:
claude-code-best
2026-04-19 10:24:34 +08:00
committed by GitHub
parent c5edee431f
commit 481e2a58a9
10 changed files with 319 additions and 479 deletions

View File

@@ -4948,7 +4948,7 @@ function handleChannelEnable(
function reregisterChannelHandlerAfterReconnect(
connection: MCPServerConnection,
): void {
if (!(feature('KAIROS') || feature('KAIROS_CHANNELS'))) return
// Channels always available — feature flag guard removed
if (connection.type !== 'connected') return
const gate = gateChannelServer(