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.

Settings: name the Secret Service as the key store on Linux

chux0bd0eb8d4b90
diff --git a/windows/src/settings/main.ts b/windows/src/settings/main.ts
index 2e8a02a3..df9a881f 100644
--- a/windows/src/settings/main.ts
+++ b/windows/src/settings/main.ts
@@ -7,6 +7,11 @@ import { Bridge, onEvent, type HookStatus } from "../core/bridge";
import { DEFAULT_SETTINGS, type Settings } from "../core/state";
import { h, clear } from "../views/dom";
+/** Where secrets.rs keeps the keys on this OS. */
+const KEY_STORE = navigator.userAgent.includes("Windows")
+ ? "Windows Credential Manager"
+ : "Secret Service (GNOME Keyring, KWallet)";
+
let settings: Settings = { ...DEFAULT_SETTINGS };
let version = "";
@@ -181,7 +186,7 @@ const MODELS: [string, string][] = [
function apiSection(hasKey: boolean): HTMLElement {
const dot = statusDot(hasKey);
- const state = h("span", { class: "hint", text: hasKey ? "Key saved in the Windows Credential Manager." : "No key yet — the chat needs one." });
+ const state = h("span", { class: "hint", text: hasKey ? `Key saved in the ${KEY_STORE}.` : "No key yet — the chat needs one." });
const field = h("input", {
type: "password",
@@ -199,7 +204,7 @@ function apiSection(hasKey: boolean): HTMLElement {
const present = (await Bridge.secretPresent("anthropic-api-key")) ?? false;
dot.style.background = present ? "#22c55e" : "#f4505e";
state.textContent = present
- ? "Key saved in the Windows Credential Manager."
+ ? `Key saved in the ${KEY_STORE}.`
: "No key yet — the chat needs one.";
field.placeholder = present ? "•••••••••••• (stored)" : "sk-ant-...";
clearBtn.style.display = present ? "" : "none";
@@ -292,7 +297,7 @@ function integrationsSection(present: Record<string, boolean>): HTMLElement {
function updateNote() {
const used = settings.activeIntegrations.length;
- note.textContent = `Pick up to ${MAX_ACTIVE} pills to show next to Mochi — ${used}/${MAX_ACTIVE} in use. Keys are stored in the Windows Credential Manager, never on disk.`;
+ note.textContent = `Pick up to ${MAX_ACTIVE} pills to show next to Mochi — ${used}/${MAX_ACTIVE} in use. Keys are stored in the ${KEY_STORE}, never on disk.`;
}
for (const def of INTEGRATIONS) {