MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / enabled

Method enabled

packages/agent-core/src/flags/resolver.ts:39–41  ·  view source on GitHub ↗
(id: FlagId)

Source from the content-addressed store, hash-verified

37 }
38
39 enabled(id: FlagId): boolean {
40 return this.explain(id)?.enabled ?? false;
41 }
42
43 explain(id: FlagId): ExperimentalFeatureState | undefined {
44 const def = this.byId.get(id);

Callers 3

makeFunction · 0.95
snapshotMethod · 0.95
enabledIdsMethod · 0.95

Calls 1

explainMethod · 0.95

Tested by 1

makeFunction · 0.76