diff options
| author | main <main@swarm.moe> | 2026-03-31 13:21:05 -0400 |
|---|---|---|
| committer | main <main@swarm.moe> | 2026-03-31 13:21:05 -0400 |
| commit | 2fc866a3ce50b6ba9c5e84e0ad2f8c77517361ff (patch) | |
| tree | dab1bc9d653794944369ec51c2ed250aaf680f44 /crates/phone-opus/src/main.rs | |
| parent | 2160224b7ef21e3319a93d057165712aabe8cbe2 (diff) | |
| download | phone_opus-2fc866a3ce50b6ba9c5e84e0ad2f8c77517361ff.zip | |
Excise hidden consult machinery
Diffstat (limited to 'crates/phone-opus/src/main.rs')
| -rw-r--r-- | crates/phone-opus/src/main.rs | 11 |
1 files changed, 0 insertions, 11 deletions
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<dyn std::error::Error>> { 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(()) |