harness: unify hive-ag3nt + hive-m1nd into one binary picking role from HIVE_ROLE (#598)
This commit is contained in:
parent
843ad32e5a
commit
dcaf1838e1
6 changed files with 717 additions and 840 deletions
|
|
@ -141,7 +141,7 @@ pub async fn write_mcp_config(socket: &Path) -> Result<PathBuf> {
|
|||
let path = parent.join("claude-mcp-config.json");
|
||||
let exe = std::env::current_exe()
|
||||
.ok()
|
||||
.map_or_else(|| "hive-ag3nt".into(), |p| p.display().to_string());
|
||||
.map_or_else(|| "hive".into(), |p| p.display().to_string());
|
||||
let body = mcp::render_claude_config(&exe, socket);
|
||||
tokio::fs::write(&path, body).await?;
|
||||
tracing::info!(path = %path.display(), "wrote claude MCP config");
|
||||
|
|
|
|||
Loading…
Reference in a new issue