Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs(cli): correct the hook client's no_proxy comment

lhzapata03151ab5a900
diff --git a/crates/ai-memory-cli/src/commands/hook_capture.rs b/crates/ai-memory-cli/src/commands/hook_capture.rs
index 1ed6a860..9f9f4980 100644
--- a/crates/ai-memory-cli/src/commands/hook_capture.rs
+++ b/crates/ai-memory-cli/src/commands/hook_capture.rs
@@ -761,10 +761,12 @@ fn repository_identity(
const NATIVE_HOOK_CLIENT_KIND: &str = "hook";
/// Build a reqwest client for the hook's one-shot requests. `no_proxy`
-/// skips Windows proxy auto-detection (registry / WinINET lookups), which
-/// is pure overhead for a loopback/LAN POST. Built once per invocation and
-/// reused for both the event POST and the handoff GET. Default root certs
-/// are kept so HTTPS targets (e.g. a TLS proxy) still work.
+/// ignores `HTTP_PROXY`, `HTTPS_PROXY` and `ALL_PROXY`, which have no
+/// business on a loopback/LAN POST; reqwest is built without its
+/// `system-proxy` feature, so no OS proxy setting is read either way.
+/// Built once per invocation and reused for both the event POST and the
+/// handoff GET. Default root certs are kept so HTTPS targets (e.g. a TLS
+/// proxy) still work.
pub fn build_client() -> reqwest::Client {
reqwest::Client::builder()
.no_proxy()