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/Linux: build without warnings

ZouaouiB6a309f7ee88e
diff --git a/windows/src-tauri/src/flow/os_windows.rs b/windows/src-tauri/src/flow/os_windows.rs
index 8b625e13..fab55b6e 100644
--- a/windows/src-tauri/src/flow/os_windows.rs
+++ b/windows/src-tauri/src/flow/os_windows.rs
@@ -35,7 +35,6 @@ const VK_LSHIFT: u32 = 0xA0;
const VK_RSHIFT: u32 = 0xA1;
const VK_LCONTROL: u32 = 0xA2;
const VK_RCONTROL: u32 = 0xA3;
-const VK_LMENU: u32 = 0xA4;
const VK_RMENU: u32 = 0xA5;
const VK_LWIN: u32 = 0x5B;
const VK_RWIN: u32 = 0x5C;
diff --git a/windows/vite.config.ts b/windows/vite.config.ts
index 3ea7c7a2..3a8269b9 100644
--- a/windows/vite.config.ts
+++ b/windows/vite.config.ts
@@ -66,6 +66,14 @@ export default defineConfig({
mochi: resolve(__dirname, "mochi.html"),
pill: resolve(__dirname, "pill.html"),
},
+ output: {
+ // The interface's strings in every language (src/i18n/*.json) make a
+ // chunk of their own, kept apart from the code that changes more often.
+ manualChunks: (id) => (/[\\/]src[\\/]i18n[\\/][^\\/]+\.json$/.test(id) ? "i18n" : undefined),
+ },
},
+ // That chunk is about 0.8 MB and loaded from disk, never downloaded: the
+ // default 500 kB warning is meant for web pages.
+ chunkSizeWarningLimit: 1200,
},
});