Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion crates/mcp_detector_daemon/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,15 @@ fn print_list_verbose(servers: &[ServerView]) {
}

async fn cmd_send_to_ew(name: String, agent: Option<String>) -> anyhow::Result<()> {
ops::disposition(&cli_user(), &name, agent.as_deref(), Choice::SendToEw, None, None).await?;
ops::disposition(
&cli_user(),
&name,
agent.as_deref(),
Choice::SendToEw,
None,
None,
)
.await?;
println!("Sent {name} to Edison Watch and removed it from the local config.");
Ok(())
}
Expand Down
4 changes: 3 additions & 1 deletion crates/mcp_detector_daemon/src/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,9 @@ pub async fn disposition(
// submit it verbatim. Otherwise auto-templatize the discovered config.
let cfg = match submit_config {
Some(c) => c,
None => edison_detectord::secret_detection::templatize_for_fingerprint(&server.config),
None => {
edison_detectord::secret_detection::templatize_for_fingerprint(&server.config)
}
};
submit_to_ew(&e, name, &cfg).await?
}
Expand Down
Loading