swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/crates/phone-opus/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/phone-opus/src/main.rs')
-rw-r--r--crates/phone-opus/src/main.rs11
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(())