File size: 627 Bytes
68d7816
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { type FlagDefinitionInput, registerFlagDefinition } from '#/app/flag/flagRegistry';

import { TOWER_FLAG_ID } from './tower';
import { isTowerFeatureAssembled } from './towerFeature';

export const TOWER_FLAG_ENV = 'KIMI_CODE_EXPERIMENTAL_TOWER';

export const towerFlag: FlagDefinitionInput = {
  id: TOWER_FLAG_ID,
  title: 'Tower mode',
  description:
    'Enable tower mode: coordinate multiple agents on a shared objective, toggled with the /tower command.',
  env: TOWER_FLAG_ENV,
  default: false,
  surface: 'both',
  isExposed: (flags) => isTowerFeatureAssembled(flags),
};

registerFlagDefinition(towerFlag);