chore(rebase): realign duplicate backend/channel/schema files with main

This commit is contained in:
William Valentin
2026-02-17 15:44:47 -08:00
parent 03fa96583c
commit b0d06d0650
9 changed files with 0 additions and 691 deletions
-11
View File
@@ -110,18 +110,7 @@ export interface StartDaemonOptions {
configPath?: string;
}
function validateUnsupportedConfig(config: Config): void {
if (config.backends.claude_code.enabled) {
throw new Error('backends.claude_code is not implemented yet. Set backends.claude_code.enabled=false.');
}
if (config.backends.opencode.enabled) {
throw new Error('backends.opencode is not implemented yet. Set backends.opencode.enabled=false.');
}
}
export async function startDaemon(config: Config, options?: StartDaemonOptions): Promise<DaemonContext> {
validateUnsupportedConfig(config);
// ── Log level ──
setLogLevel(config.log_level);