Backport: Agentic Shell Command Execution (v1.0.0 → v1.0.8) #66

Merged
sarman merged 16 commits from feature/agentic-shell-commands into master 2026-06-05 15:30:28 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 57fff0c8a2 - Show all commits

View File

@ -333,7 +333,9 @@ pub async fn initiate_oauth(
app_data_dir,
integration_webviews,
mcp_connections,
pending_approvals: Arc::new(tokio::sync::Mutex::new(std::collections::HashMap::new())),
pending_approvals: Arc::new(tokio::sync::Mutex::new(
std::collections::HashMap::new(),
)),
};
while let Some(callback) = callback_rx.recv().await {
tracing::info!("Received OAuth callback for state: {}", callback.state);

View File

@ -250,9 +250,7 @@ pub async fn start_ollama_service() -> anyhow::Result<bool> {
// On Windows, Ollama runs as a service, check if we can start it
tracing::info!("Attempting to start Ollama on Windows...");
if let Some(ollama_bin) = find_ollama_binary() {
let result = std::process::Command::new(&ollama_bin)
.arg("serve")
.spawn();
let result = std::process::Command::new(&ollama_bin).arg("serve").spawn();
match result {
Ok(_) => {