Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Windows build warning, and source-map-js 1.2.2 (GHSA-68fv-2mgg-jv7q)

Clauded3cd2cf9a47a
diff --git a/windows/package-lock.json b/windows/package-lock.json
index 4def2af0..3ff16073 100644
--- a/windows/package-lock.json
+++ b/windows/package-lock.json
@@ -1306,9 +1306,9 @@
}
},
"node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
"dev": true,
"license": "BSD-3-Clause",
"engines": {
diff --git a/windows/src-tauri/src/session_window.rs b/windows/src-tauri/src/session_window.rs
index d1521b2d..8d094e1a 100644
--- a/windows/src-tauri/src/session_window.rs
+++ b/windows/src-tauri/src/session_window.rs
@@ -60,7 +60,10 @@ pub fn ancestors(procs: &HashMap<u32, Proc>, start: u32) -> Vec<u32> {
out
}
-/// The nearest ancestor that owns a window: the terminal or the editor.
+/// The nearest ancestor that owns a window: the terminal or the editor. The
+/// Windows side walks `ancestors` itself (platform/windows.rs); this states the
+/// rule the tests pin down.
+#[cfg(test)]
pub fn window_owner(procs: &HashMap<u32, Proc>, start: u32, has_window: impl Fn(u32) -> bool) -> Option<u32> {
ancestors(procs, start).into_iter().find(|pid| has_window(*pid))
}