chore(rebase): realign duplicate backend/channel/schema files with main
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user