chore(lint): remove unused imports, variables, and redundant mut bindings

Eliminate low-risk clippy warnings as part of the strict lint backlog (#409):

- Remove unused `uuid::Uuid` imports from slack and telegram channels
- Remove unnecessary `mut` and redundant rebindings in agent loop
- Prefix unused `channel_id` variable in discord channel
- Remove unused test imports (`ChatResponse`, `ToolCall`, `TempDir`, `Path`)
This commit is contained in:
darwin808 2026-02-17 16:14:56 +08:00 committed by Chummy
parent ba287a2ea5
commit 4413790859
7 changed files with 3 additions and 10 deletions

View file

@ -2,8 +2,6 @@ use super::traits::{Tool, ToolResult};
use crate::security::{AutonomyLevel, SecurityPolicy};
use async_trait::async_trait;
use serde_json::json;
#[cfg(test)]
use std::path::Path;
use std::sync::Arc;
/// Git operations tool for structured repository management.