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

Function makeTuiSpec

apps/kimi-code/src/cli/sub/doctor.ts:182–191  ·  view source on GitHub ↗
(path: string, explicit: boolean)

Source from the content-addressed store, hash-verified

180}
181
182function makeTuiSpec(path: string, explicit: boolean): CheckSpec {
183 return {
184 label: 'tui.toml',
185 path,
186 explicit,
187 parse: (text) => {
188 parseTuiConfig(text);
189 },
190 };
191}
192
193async function checkTomlFile(deps: ResolvedDoctorDeps, spec: CheckSpec): Promise<CheckResult> {
194 if (!deps.fileExists(spec.path)) {

Callers 1

buildCheckSpecsFunction · 0.85

Calls 1

parseTuiConfigFunction · 0.90

Tested by

no test coverage detected