From 2fc866a3ce50b6ba9c5e84e0ad2f8c77517361ff Mon Sep 17 00:00:00 2001 From: main Date: Tue, 31 Mar 2026 13:21:05 -0400 Subject: Excise hidden consult machinery --- crates/phone-opus/src/main.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'crates/phone-opus/src/main.rs') diff --git a/crates/phone-opus/src/main.rs b/crates/phone-opus/src/main.rs index a1cace7..79ace26 100644 --- a/crates/phone-opus/src/main.rs +++ b/crates/phone-opus/src/main.rs @@ -3,7 +3,6 @@ mod mcp; use clap::{Args, Parser, Subcommand}; #[cfg(test)] use libmcp_testkit as _; -use std::path::PathBuf; #[derive(Parser)] #[command( @@ -31,8 +30,6 @@ enum McpCommand { Serve, /// Run the disposable worker process. Worker(McpWorkerArgs), - /// Run one detached background consult job. - BackgroundConsult(McpBackgroundConsultArgs), } #[derive(Args)] @@ -42,20 +39,12 @@ struct McpWorkerArgs { generation: u64, } -#[derive(Args)] -struct McpBackgroundConsultArgs { - /// Persisted background job file to execute and update. - #[arg(long)] - job_file: PathBuf, -} - fn main() -> Result<(), Box> { let cli = Cli::parse(); match cli.command { Command::Mcp { command } => match command { McpCommand::Serve => mcp::run_host()?, McpCommand::Worker(args) => mcp::run_worker(args.generation)?, - McpCommand::BackgroundConsult(args) => mcp::run_background_consult(args.job_file)?, }, } Ok(()) -- cgit v1.2.3