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

Function tuiConfig

apps/kimi-code/test/cli/update/preflight.test.ts:161–170  ·  view source on GitHub ↗
(overrides: Partial<TuiConfig> = {})

Source from the content-addressed store, hash-verified

159}
160
161function tuiConfig(overrides: Partial<TuiConfig> = {}): TuiConfig {
162 return {
163 theme: 'auto',
164 disablePasteBurst: false,
165 editorCommand: null,
166 notifications: { enabled: true, condition: 'unfocused' },
167 upgrade: { autoInstall: true },
168 ...overrides,
169 };
170}
171
172function disableAutoInstall(): void {
173 mocks.loadTuiConfig.mockResolvedValue(tuiConfig({ upgrade: { autoInstall: false } }));

Callers 2

disableAutoInstallFunction · 0.85
preflight.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected