(obj: any)
| 98 | } |
| 99 | |
| 100 | async function writeRawUserConfig(obj: any): Promise<void> { |
| 101 | const text = yaml.dump(obj, { indent: 2, lineWidth: 100 }); |
| 102 | await writeFileAtomic(QODEX_CONFIG_FILE, text); |
| 103 | } |
| 104 | |
| 105 | /** Add (or overwrite) a server entry under mcp.servers.<id> in user config. */ |
| 106 | export async function addServerToConfig( |
no test coverage detected