MCPcopy Create free account
hub / github.com/GCWing/BitFun / restore_tool_confirmation

Function restore_tool_confirmation

src/apps/cli/src/main.rs:443–447  ·  view source on GitHub ↗

Restore original tool confirmation setting

(original: bool)

Source from the content-addressed store, hash-verified

441
442/// Restore original tool confirmation setting
443async fn restore_tool_confirmation(original: bool) {
444 if let Ok(svc) = bitfun_core::service::config::get_global_config_service().await {
445 let _ = svc.set_config("ai.skip_tool_confirmation", original).await;
446 }
447}
448
449/// Shutdown MCP servers gracefully
450async fn shutdown_mcp_servers() {

Callers 3

handle_exec_commandFunction · 0.85
run_interactiveFunction · 0.85

Calls 2

set_configMethod · 0.80

Tested by

no test coverage detected