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

Method state

packages/agent-core/src/flags/resolver.ts:74–91  ·  view source on GitHub ↗
(
    def: FlagDefinitionInput,
    enabled: boolean,
    source: ExperimentalFeatureState['source'],
    configValue: boolean | undefined,
  )

Source from the content-addressed store, hash-verified

72 }
73
74 private state(
75 def: FlagDefinitionInput,
76 enabled: boolean,
77 source: ExperimentalFeatureState['source'],
78 configValue: boolean | undefined,
79 ): ExperimentalFeatureState {
80 return {
81 id: def.id as FlagId,
82 title: def.title,
83 description: def.description,
84 surface: def.surface,
85 env: def.env,
86 defaultEnabled: def.default,
87 enabled,
88 source,
89 configValue,
90 };
91 }
92}
93
94/**

Callers 1

explainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected