[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116300":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},116300,"lumo-desktop","ProtonLumo\u002Flumo-desktop","ProtonLumo","The Lumo Desktop codebase","https:\u002F\u002Fproton.me\u002Fblog\u002Flumo-desktop-features",null,"Rust",85,10,8,0,29,12,60.4,"GNU General Public License v3.0",false,"master",[23,24,25],"ai","privacy","productivity","2026-11-17 09:39:17","2026-11-23 19:52:53","\u003Cp align=\"center\">\n  \u003Cimg src=\"src-tauri\u002Ficons\u002Fapp-icon.png\" alt=\"Lumo\" width=\"128\" height=\"128\">\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Lumo Desktop\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  The desktop app for \u003Ca href=\"https:\u002F\u002Flumo.proton.me\">Lumo\u003C\u002Fa>, Proton's privacy-first AI assistant.\u003Cbr>\n  macOS · Windows · Linux\n\u003C\u002Fp>\n\n---\n\nLumo Desktop wraps the Lumo web app in a native [Tauri](https:\u002F\u002Ftauri.app) shell and gives it access to your\ncomputer and your tools, with your approval:\n\n- **Connectors**: let Lumo read and edit local files, run shell commands, and use Proton Mail, Luminance, and\n  any [MCP](https:\u002F\u002Fmodelcontextprotocol.io) server, with a catalog of presets such as GitHub, Linear, Figma,\n  Grafana, Stripe and PubMed.\n- **Approvals**: every tool is set to auto-approve, ask, or disabled. Tools set to ask wait for your answer\n  before they run.\n- **Quick ask**: a global shortcut opens a search window from anywhere.\n- **Scheduled prompts**: run prompts on a schedule.\n- **Secure storage**: OAuth tokens, API keys and MCP credentials live in the OS keychain.\n- **Browser sign-in**: you sign in with your own browser, so security keys and passkeys work.\n- **Automatic updates**: signed updates on every platform.\n\n## Supported platforms\n\n| Platform | Package |\n|---|---|\n| macOS | Universal (Apple silicon and Intel) `.dmg` |\n| Windows | `.msi` and `-setup.exe` installer |\n| Linux | `.deb` and `.rpm`, for Ubuntu 24.04+ and Fedora 40+ |\n\n## Architecture\n\n```\n        ┌──────────────────────────────┐\n        │        Lumo web app          │   loaded remotely from LUMO_URL\n        └──────────────────────────────┘\n                       ↕  window.LumoConnectors\n        ┌──────────────────────────────┐\n        │  webview\u002Fbridges\u002Fconnectors  │   TypeScript → src-tauri\u002Fdist\u002F\n        └──────────────────────────────┘\n                       ↕  Tauri IPC: commands + events\n        ┌──────────────────────────────┐\n        │        src-tauri\u002Fsrc         │   Rust core\n        └──────────────────────────────┘\n```\n\n- **Lumo web app**: lives in Proton's web clients monorepo and is loaded remotely. Its `desktop-tools.ts`\n  consumes the bridge.\n- **webview\u002F**: TypeScript bundled by `scripts\u002Fbuild-webview.mjs` into `src-tauri\u002Fdist\u002Fscripts\u002F`. There are two\n  kinds: scripts injected into the remote page (`webview\u002Fbridges\u002F`), and scripts for the local pages that\n  aren't the web app (`webview\u002Fpages\u002F`: `login`, `search`, `settings`). The pages' HTML, CSS and images live in\n  `webview\u002Fstatic\u002F` and are copied into `dist\u002F` unchanged.\n- **Rust core**: tool registry, connectors, keychain, approval gate, account scoping, updater.\n- **IPC boundary**: commands are allowlisted in `src-tauri\u002Fpermissions\u002F*.toml` and granted in\n  `src-tauri\u002Fcapabilities\u002Fdefault.json`. Rust pushes state back as events (connector auth, tool-approval\n  requests). Adding a command takes three edits: the handler, the permission, and the capability.\n- **The bridge contract spans two repos**: `webview\u002Fbridges\u002Fconnectors.ts` and the web app's `desktop-tools.ts`\n  must agree. The E2E suite builds its stub from a live checkout of the web clients on every run to catch drift.\n\n### Project layout\n\n```\nwebview\u002F\n├── bridges\u002F                 scripts injected into the remote Lumo page, one bundle each\n├── pages\u002F                   scripts for the local pages (login, search, settings, theme)\n├── shared\u002F                  Tauri invoke, logger and connector catalog, imported by both\n├── types\u002F                   contracts with the web app, and window globals\n└── static\u002F                  pages, styles\u002F and images\u002F (incl. connector logos), copied to dist\u002F\nscripts\u002F                     build-webview.mjs, version and updater-archive scripts\ne2e\u002F                         containerised WebDriver suite\nsrc-tauri\u002F\n├── src\u002F\n│   ├── app.rs               Tauri builder: plugins, IPC handler, startup\n│   ├── main_window.rs       main window, its webviews and close-to-tray\n│   ├── webview.rs           navigation policy and sign-in page\n│   ├── browser_login.rs     session-fork sign-in\n│   ├── tray.rs              app menu and tray icon\n│   ├── quick_ask\u002F           global-shortcut search window and its handoff\n│   ├── settings\u002F            device and per-account settings, settings overlay\n│   ├── dialog\u002F              native branded and loading dialogs\n│   ├── tools\u002F               registry, connectors, keychain, approvals\n│   ├── schedules\u002F           scheduled prompts\n│   ├── updater.rs\n│   └── lib.rs               LUMO_URL, module tree\n├── capabilities\u002F            IPC grants\n├── permissions\u002F             command allowlists\n├── dist\u002F                    webview build output, gitignored\n└── tauri.conf.json\n```\n\n### Sign-in\n\nWKWebView does not dispatch WebAuthn, so security keys and passkeys cannot work inside the webview. Sign-in\ntherefore happens in the user's own browser: the app starts on a bundled `login.html`, sends the user to\nProton Account, and receives the session back through Proton's session-fork protocol, which the webview\nredeems before loading the web app. See `src-tauri\u002Fsrc\u002Fbrowser_login.rs`.\n\n### Connectors\n\nConnectors are registered at startup into a `ToolRegistry` and exposed to the web app as OpenAI-format tools\nnamed `{connector_id}__{tool_name}`.\n\n| Connector | Notes |\n|---|---|\n| `filesystem` | Search, read, write and edit within user-granted roots |\n| `bash` | Shell execution |\n| `browser` | Fetch and read web pages |\n| `proton_mail` | Proton Mail through [Proton Mail Bridge](https:\u002F\u002Fproton.me\u002Fmail\u002Fbridge) |\n| `luminance` | Luminance Public API v2, called directly (Luminance has no MCP server) |\n| `mcp-{id}` | Any MCP server. The catalog in `webview\u002Fshared\u002Fconnector-catalog.ts` pre-configures many remote servers; some are experimental and hidden behind a feature flag |\n| `mcp-zendesk` | Community [`@fruggr\u002Fzendesk-mcp-server`](https:\u002F\u002Fgithub.com\u002Ffruggr\u002Fzendesk-mcp-server) (stdio via `npx`; OAuth on first tool use) |\n| `mcp-figma` | [Figma desktop MCP](https:\u002F\u002Fdevelopers.figma.com\u002Fdocs\u002Ffigma-mcp-server\u002Flocal-server-installation\u002F) at `http:\u002F\u002F127.0.0.1:3845\u002Fmcp` (enable it in Figma desktop Dev Mode; remote OAuth is limited to [Figma's MCP catalog](https:\u002F\u002Fwww.figma.com\u002Fmcp-catalog\u002F)) |\n| `echo` | E2E fixture, registered only under `LUMO_E2E_TESTING` |\n\nEach tool also carries an approval policy (auto-approve, ask, or disable). An `ask` tool suspends execution,\nemits a request to the webview, and resolves on the user's answer or a timeout.\n\n## Developing\n\n### Prerequisites\n\n| Tool | Version |\n|---|---|\n| [Node.js](https:\u002F\u002Fnodejs.org\u002F) | 22 |\n| [Rust](https:\u002F\u002Frustup.rs\u002F) | stable (2021 edition) |\n\nYou also need the [Tauri prerequisites](https:\u002F\u002Ftauri.app\u002Fstart\u002Fprerequisites\u002F) for your platform (WebKitGTK\non Linux, WebView2 on Windows).\n\nOptionally, enable the pre-push type-check hook:\n\n```bash\ngit config core.hooksPath .githooks\n```\n\n### Running\n\n```bash\nnpm install\nnpm run dev\n```\n\nBy default the app loads the web app from `https:\u002F\u002Flumo.proton.dev`, which is a local checkout of Proton's web\nclients. To develop against production instead, set `LUMO_URL`:\n\n```bash\nLUMO_URL=https:\u002F\u002Flumo.proton.me npm run dev\n```\n\nSign-in is required to use the app. Proton developers can use dev accounts on the internal test environments.\n\n### Dev loop\n\n- Rust changes hot-restart the app.\n- TypeScript changes do not: there is no frontend dev server, and esbuild runs once at startup. After editing a\n  `.ts` file, rebuild the bundles with `npm run build:webview` and reload the window.\n- Changes to injected scripts (`webview\u002Fbridges\u002F`) need a restart of `npm run dev`.\n\n## Testing\n\n```bash\nnpm run typecheck                                                       # TypeScript\ncargo test --manifest-path src-tauri\u002FCargo.toml --features test-utils   # Rust unit and integration tests\n```\n\n### End-to-end tests\n\nThe E2E suite needs a checkout of Proton's web clients as a sibling of this project, or at `CLIENTS_DIR`:\n\n```bash\n.\u002Fe2e\u002Frun.sh\n```\n\nIt runs in a Linux container because WebKitGTK ships a WebDriver. See [`e2e\u002FREADME.md`](e2e\u002FREADME.md).\n\n## Building\n\nOn macOS, build an ad-hoc signed app with:\n\n```bash\nAPPLE_SIGNING_IDENTITY=\"-\" npm run build\n```\n\nOn Linux and Windows, `npm run build` is enough.\n\nBundles land in `src-tauri\u002Ftarget\u002F\u003Ctarget>\u002Frelease\u002Fbundle\u002F`. The executable is named `lumo-desktop`\n(`lumo-desktop.exe` on Windows); the app's displayed name is `Lumo`.\n\n## Config and data storage\n\n| Platform | Config directory |\n|---|---|\n| macOS | `~\u002FLibrary\u002FApplication Support\u002Fme.proton.lumo-app\u002F` |\n| Windows | `%APPDATA%\\me.proton.lumo-app\\` |\n| Linux | `~\u002F.config\u002Fme.proton.lumo-app\u002F` |\n\n```\nsettings.json                            shortcut, launch at startup, settings hotkey\naccounts\u002F\u003CUserID>\u002Fsettings.json          filesystem roots, write flag, shell flag\naccounts\u002F\u003CUserID>\u002Fmcp_servers.json       MCP server definitions\naccounts\u002F\u003CUserID>\u002Fconnector_state.json   enable flags, per-tool approval policies\naccounts\u002F\u003CUserID>\u002Fmcp_tools\u002F             cached tool lists per MCP server id\n```\n\nSecrets (OAuth tokens, API keys, MCP server credentials) are stored in the OS keychain under the service\n`me.proton.lumo-app`.\n\n### Resetting MCP setup\n\nTo wipe **all** MCP setup for one Lumo account, quit Lumo first, then:\n\n1. In **Settings → Connectors**, use **Reset** on each catalog MCP server (or **Remove** on custom ones).\n2. Delete or empty `accounts\u002F\u003CUserID>\u002Fmcp_servers.json`.\n3. Optionally, delete `accounts\u002F\u003CUserID>\u002Fmcp_tools\u002F` and trim `connector_state.json` for a clean slate.\n4. In your keychain (Keychain Access on macOS), search for `me.proton.lumo-app` and delete entries whose\n   account starts with `connector:\u003CUserID>:mcp-`.\n\nThe community Zendesk MCP server also stores its **own** OAuth token on disk, outside Lumo's keychain. After\nremoving the connector, clear those files if you need a full re-login; see\n[fruggr\u002Fzendesk-mcp-server `OAUTH_TOKEN_FILE`](https:\u002F\u002Fgithub.com\u002Ffruggr\u002Fzendesk-mcp-server\u002Fblob\u002Fmain\u002Fdocs\u002Fconfiguration.md#oauth_token_file).\n\n### Uninstalling\n\nTo remove a local install and its data:\n\n```bash\n.\u002Fsrc-tauri\u002Fscripts\u002Funinstall.sh          # --dry-run to preview, --yes to skip the prompt\n```\n\n## Releasing\n\nRelease builds, signing and publishing run in Proton's internal CI; see `RELEASING.md` in the internal\nrepository.\n\n## License\n\nLumo Desktop is licensed under the [GNU General Public License v3.0](LICENSE).\n","Lumo Desktop 是一款基于 Tauri 框架构建的跨平台桌面客户端，用于本地化运行 Proton 推出的隐私优先 AI 助手 Lumo。它通过安全 IPC 机制桥接 Web 应用与本地系统，支持文件读写、Shell 命令执行、OAuth 集成（如 Proton Mail）、以及 MCP 协议服务连接（如 GitHub、Figma、PubMed 等），所有敏感凭证均存于系统密钥链，并提供工具级审批控制、全局快捷搜索和定时提示功能。适用于注重数据隐私的个人知识管理、开发者工作流自动化及安全敏感场景下的 AI 辅助办公。",2,"2026-11-24 04:53:30","CREATED_QUERY"]