Skip to content

Commit 87ca484

Browse files
committed
fix: add logging to sync_mcp_agent for better debugging
1 parent a0461e7 commit 87ca484

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/terminator-cli/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,11 @@ fn sync_nodejs_bindings(version: &str) {
629629
}
630630

631631
fn sync_mcp_agent(version: &str) {
632-
println!("📦 Syncing MCP agent...");
632+
println!("📦 Syncing MCP agent to version {version}...");
633633

634634
let mcp_dir = Path::new("crates/terminator-mcp-agent");
635635
if !mcp_dir.exists() {
636+
println!("⚠️ MCP agent directory not found, skipping");
636637
return;
637638
}
638639

@@ -641,6 +642,7 @@ fn sync_mcp_agent(version: &str) {
641642
eprintln!("⚠️ Warning: Failed to update MCP agent package.json: {e}");
642643
return;
643644
}
645+
println!("✅ Updated MCP agent package.json to {version}");
644646

645647
// Update platform packages
646648
let npm_dir = mcp_dir.join("npm");

0 commit comments

Comments
 (0)