Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

feat(desktop): own UI — minimal, instant, no web dashboard import

Salman Qureshi82f71dba4eb6
diff --git a/apps/desktop/README.md b/apps/desktop/README.md
index 61e83f6a..f0e7eebf 100644
--- a/apps/desktop/README.md
+++ b/apps/desktop/README.md
@@ -1,19 +1,27 @@
# Mercury Desktop
-The native desktop app for Mercury: a Tauri 2 shell (Rust, small) around the
-same React dashboard the runtime serves (`../../ui`). The shell owns what a
-browser tab cannot — window and tray, the OS keychain, finding/starting the
-runtime on this computer, deep links, updates — and the dashboard does the
-rest over the runtime's HTTP API.
+The native desktop app for Mercury: a Tauri 2 shell (Rust, small) around a
+React UI built for the desktop — its own components, its own API client.
+Nothing is imported from the runtime-served web dashboard. The shell owns
+what a browser tab cannot (window and tray, the OS keychain, finding and
+starting the runtime on this computer, deep links, updates); the UI talks
+to a runtime over its HTTP API and event streams.
```
apps/desktop/
- src/ the shell's own screens (first run, connections, status)
- src/shell/ connections store, runtime bring-up, native bridge
- src-tauri/ Rust: window, tray, keychain, local-runtime detection
- ../../ui/src the dashboard, imported as source via the "@" alias
+ src/api/ client (Bearer), SSE stream, endpoint map, types
+ src/app/ App root, stores (view, runtime state, chat, bots), theme, events
+ src/components/ ui primitives · indicators (StateOrb, Thinking, Approval, Activity) · Markdown · Logo
+ src/layout/ Rail + Workspace (all views mounted, switched by state: no page loads)
+ src/views/ chat · code · bots · plugins · skills · settings
+ src/shell/ connections store, runtime bring-up, native bridge, first run
+ src-tauri/ Rust: window, tray, keychain, local-runtime detection, installer
```
+Design: one quiet palette (`src/styles/tokens.css`), light / dark / auto, a
+single accent the user can tint; amber means "needs you", red means halt,
+cyan means thinking — fixed. Geist and Geist Mono are bundled.
+
## How a connection works
| Kind | Address | Credential |
diff --git a/apps/desktop/package-lock.json b/apps/desktop/package-lock.json
index c9099da4..8ea1dbfa 100644
--- a/apps/desktop/package-lock.json
+++ b/apps/desktop/package-lock.json
@@ -8,6 +8,12 @@
"name": "mercury-desktop",
"version": "0.1.0",
"dependencies": {
+ "@fontsource-variable/geist": "^5.3.0",
+ "@fontsource-variable/geist-mono": "^5.3.0",
+ "@radix-ui/react-dialog": "^1.3.1",
+ "@radix-ui/react-dropdown-menu": "^2.2.1",
+ "@radix-ui/react-switch": "^1.4.1",
+ "@radix-ui/react-tooltip": "^1.4.1",
"@tauri-apps/api": "^2.12.4",
"@tauri-apps/plugin-autostart": "^2.7.0",
"@tauri-apps/plugin-deep-link": "^2.6.2",
@@ -21,12 +27,11 @@
"@tauri-apps/plugin-updater": "^2.14.0",
"@tauri-apps/plugin-window-state": "^2.5.0",
"clsx": "^2.1.1",
- "framer-motion": "^12.12.1",
"lucide-react": "^0.511.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
- "react-router-dom": "^7.6.1",
- "tailwind-merge": "^3.3.0",
+ "react-markdown": "^10.1.0",
+ "remark-gfm": "^4.0.1",
"zustand": "^5.0.5"
},
"devDependencies": {
@@ -38,7 +43,8 @@
"postcss": "^8.5.4",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.0",
- "vite": "^5.4.19"
+ "vite": "^5.4.19",
+ "vitest": "^3.2.4"
}
},
"node_modules/@alloc/quick-lru": {
@@ -727,6 +733,62 @@
"node": ">=12"
}
},
+ "node_modules/@floating-ui/core": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz",
+ "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz",
+ "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.8.0",
+ "@floating-ui/utils": "^0.2.12"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.1.9",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.9.tgz",
+ "integrity": "sha512-JDjEFGCpImxDCA7JJKviA0M9+RtmJdj0m/NVU5IMgBK+AmZouAQQ7/+2GLH0GXXY0YMw9oXPB8hKdbPYg5QLYg==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/dom": "^1.8.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.12",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz",
+ "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==",
+ "license": "MIT"
+ },
+ "node_modules/@fontsource-variable/geist": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.3.0.tgz",
+ "integrity": "sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==",
+ "license": "OFL-1.1",
+ "funding": {
+ "url": "https://github.com/sponsors/ayuhito"
+ }
+ },
+ "node_modules/@fontsource-variable/geist-mono": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource-variable/geist-mono/-/geist-mono-5.3.0.tgz",
+ "integrity": "sha512-vBbuwDEo9AkrqADMXOrlAR3DFcJi4/JxeuU43FoiQERnNwsfXNnvxvReZG02cQKmyk4DZkZdBZX3oTDvy2zBAw==",
+ "license": "OFL-1.1",
+ "funding": {
+ "url": "https://github.com/sponsors/ayuhito"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -832,1474 +894,3525 @@
"node": ">= 8"
}
},
- "node_modules/@rolldown/pluginutils": {
- "version": "1.0.0-beta.27",
- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
- "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
- "dev": true,
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.2.0.tgz",
+ "integrity": "sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==",
"license": "MIT"
},
- "node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.65.1.tgz",
- "integrity": "sha512-5coxNSjqOI2J3NkVhlp3u+zGcyjnowQFsU9sg7MMz4UPXY4Dv63kFGLt7ConXz9CNq2i0yuOJZAF/2RMrgI2OA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-arrow": {
+ "version": "1.1.17",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.17.tgz",
+ "integrity": "sha512-67jjcVvxjXCCStnTW3Z+M7jmaFMuMR7M2JgpDzH4w7JSRrikmzhjfYgP/09ECb8n7whnsgh1ifJ+Ie96qEj+pQ==",
"license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-android-arm64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.65.1.tgz",
- "integrity": "sha512-K0HFf6XMB3IYs+jDZ1/RRhZaVOwxNXrl0n4MDEyGDjuK7+B6K/nDJp8DCBitO3S1sK/fzNxAf9QZAny4AIUPtg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-collection": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.2.0.tgz",
+ "integrity": "sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==",
"license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.65.1.tgz",
- "integrity": "sha512-zkZrXYwNlIcSUmcwY2DpsaDHr0XjVUeQHCuSunG3eQD7/5Wn/DvI7OMUE8NRRweK87yG8ebJ1xGOzmwpMsbZQA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.5.tgz",
+ "integrity": "sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==",
"license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.65.1.tgz",
- "integrity": "sha512-Zaed+R3cpkkA3aiNd7NO0GV5KFh/LVf8j6bGcoRdpoXkSm/mWH8M0oX2/3u/nyGcx/bHEovD9CzX+w9/gcpI4A==",
- "cpu": [
- "x64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.3.0.tgz",
+ "integrity": "sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==",
"license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.65.1.tgz",
- "integrity": "sha512-h12p3WJWhyJ9kir0zqAPr0rKNmBzOWIjoaOMT9OULs9KZQZCeOMKd+mGSvERjd9VxJYShd3zIxtrVxkYz6BEVA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-dialog": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.3.1.tgz",
+ "integrity": "sha512-+0E4qvVTwjAWra9sEhJ+9BTsvHE00zkUuNw1VGh7S+Gc13dfYk+S1PVQdchWDj+XYHhAai7Z7IpzXVDCGsDplg==",
"license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-dismissable-layer": "1.2.1",
+ "@radix-ui/react-focus-guards": "1.2.0",
+ "@radix-ui/react-focus-scope": "1.3.1",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-portal": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.65.1.tgz",
- "integrity": "sha512-yRBwh/5imKY4DydDulVtrjy8Jf7h7NQJUqZbgmZ3zFsCD9QqlnWvZ7RtEF+ecO1b+IukKjXlu5Bb9fehV3tIbg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-direction": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.2.0.tgz",
+ "integrity": "sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==",
"license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.65.1.tgz",
- "integrity": "sha512-1XuPiWYYaLE1UDOqhbKVOfsqxvfmFS/lYPSk92U1hEX1qRfSYH0hNeAlbxFIgjp4d6+YQmL95EPRgdvjbZEddA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.2.1.tgz",
+ "integrity": "sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-effect-event": "0.0.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.65.1.tgz",
- "integrity": "sha512-Y3C5e55Yrf6p2r5rBcc4P9hFWVNi6oqWy/53I/AyCJJGlp3KRSpTP8eoUmVntchTbEnhgBgAgLO9flj9AvOdUw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-dropdown-menu": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.2.1.tgz",
+ "integrity": "sha512-XsHcmYG2AcqnvTqrOXXWcMrhquEIlqucizuDH1MV/qMRW+DndpBCMvNeTRXOxqmG1H5j89M/+I0/34Zdd+zDcQ==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-menu": "2.2.1",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.65.1.tgz",
- "integrity": "sha512-Itj6coSswkYPIcVLczObXmwdplHNQQxyfnK1ppBg4czDaX8RiEzLKqU7EMc64BiBuiDZEUS+M93ktM18rv5llw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.2.0.tgz",
+ "integrity": "sha512-MPm5R0iRGUDrDnPNxmLBkv+X7pN4XKzt+MbWJEuJQsH3NFH4omrbpXpucyYCCKTSt+na/ZxGhEWQrWTZ0285cA==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.65.1.tgz",
- "integrity": "sha512-KeO8jTEqdrnhvcahufbimyMoI44vedRUp1bVz2QUnRX2vDm/hxzCPt5F8fERVD5fsHyTW/vXmCElT054VOSVOA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.3.1.tgz",
+ "integrity": "sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
},
- "node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.65.1.tgz",
- "integrity": "sha512-dDOz5VZZ+ZGnglpmET6VJefamWXFsgaVtuhSClf2/URZBp048jprD6z1hddsIMN6n1w+oUzGZEBp9u6Mlszsfg==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
+ "node_modules/@radix-ui/react-id": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.4.tgz",
+ "integrity": "sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-menu": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.2.1.tgz",
+ "integrity": "sha512-G34BsU90SBj5foYpz8pQqq/Q0Dlfyyl6KitWEfRwXC0QvfwhWNAwS49DWP2+rRJ0iwv20Z2Qx7Sk+T03bGo5JA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-collection": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-dismissable-layer": "1.2.1",
+ "@radix-ui/react-focus-guards": "1.2.0",
+ "@radix-ui/react-focus-scope": "1.3.1",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.4.0",
+ "@radix-ui/react-portal": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-roving-focus": "1.2.1",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.7.2"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-popper": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.4.0.tgz",
+ "integrity": "sha512-yCWRvLeGv9Pz3+efwHqGPp70mZ56r3kfIgQVF56Oj2aAa4uP/Tb+IE59wNcc+758rctqbCKx4LbK8II/r7Bn0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.1.17",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-use-rect": "1.1.4",
+ "@radix-ui/react-use-size": "1.1.5",
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.2.0.tgz",
+ "integrity": "sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.11.tgz",
+ "integrity": "sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.2.0.tgz",
+ "integrity": "sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.5.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.2.1.tgz",
+ "integrity": "sha512-UwraORzVUeEPMclhO1p0vz0qI+TbdDLO9i+FiOqhJyHKwdpCRCck9yVEscUnAMIzCiuNoQa8D4A9bIpOPXGt6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-collection": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-direction": "1.2.0",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-callback-ref": "1.1.5",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-is-hydrated": "0.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.5.0.tgz",
+ "integrity": "sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-switch": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.4.1.tgz",
+ "integrity": "sha512-NpBGwc40rY02ZmSvuyeKk0Bvc8ZsNeTMi4qHvJ+ZH4EiYCv0zIXEgdCW4bVdzgIUeP9xxbLJSxKOUfqITYNmkA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-size": "1.1.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.4.1.tgz",
+ "integrity": "sha512-NxLFGSFtZ78zVfcoOhTwR1xwqo5qx1Jh8Pw6FMZ9McCaqfRzz7/gIRahs2Oy5XlPgQ+8QkUcKbN5B0U44J/kCg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-compose-refs": "1.1.5",
+ "@radix-ui/react-context": "1.3.0",
+ "@radix-ui/react-dismissable-layer": "1.2.1",
+ "@radix-ui/react-focus-scope": "1.3.1",
+ "@radix-ui/react-id": "1.1.4",
+ "@radix-ui/react-popper": "1.4.0",
+ "@radix-ui/react-portal": "1.2.0",
+ "@radix-ui/react-presence": "1.1.11",
+ "@radix-ui/react-primitive": "2.2.0",
+ "@radix-ui/react-slot": "1.5.0",
+ "@radix-ui/react-use-controllable-state": "1.3.0",
+ "@radix-ui/react-use-layout-effect": "1.1.4",
+ "@radix-ui/react-visually-hidden": "1.2.13"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.5.tgz",
+ "integrity": "sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.3.0.tgz",
+ "integrity": "sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/primitive": "1.2.0",
+ "@radix-ui/react-use-effect-event": "0.0.5",
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.5.tgz",
+ "integrity": "sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.3.tgz",
+ "integrity": "sha512-umO/aJ+82CpOnhDZUTbILCQf7kU/g0iv+oGs/Q8jw7IkhWBzaEP4sA268PhFAJTFetbwp3ICc6ktpI4TqtxcIw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.4.tgz",
+ "integrity": "sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-rect": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.1.4.tgz",
+ "integrity": "sha512-cSOCh6JlkmfjLyNcLiu2nB4v+nm+dkZ+Q5KHWk/soo4U7ZLiEQFKHK9/YmtBHjfCEaU43IBKQOc4/uJmCaiCTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/rect": "1.1.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.5.tgz",
+ "integrity": "sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.4"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.2.13",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.2.13.tgz",
+ "integrity": "sha512-feijiN1oPk4rck4u9Dm9tsU4mT6Wp9oeEEhaz1WUEs1VuqLf8xzsFG+Qk+uWq6TnMH9O+WRECRg0NftyP9E4Fw==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-primitive": "2.2.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/rect": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.3.tgz",
+ "integrity": "sha512-JtyZR+mqgBibTo8xea3B6ZRmzZiM/YeVBtUkas6zMuXjAlfIFIW2FgqeM9eLyvEaYX66vr6DJMK+4U6LV0KhNw==",
+ "license": "MIT"
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.27",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz",
+ "integrity": "sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.65.1.tgz",
+ "integrity": "sha512-5coxNSjqOI2J3NkVhlp3u+zGcyjnowQFsU9sg7MMz4UPXY4Dv63kFGLt7ConXz9CNq2i0yuOJZAF/2RMrgI2OA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
- "linux"
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.65.1.tgz",
+ "integrity": "sha512-K0HFf6XMB3IYs+jDZ1/RRhZaVOwxNXrl0n4MDEyGDjuK7+B6K/nDJp8DCBitO3S1sK/fzNxAf9QZAny4AIUPtg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
]
},
- "node_modules/@rollup/rollup-linux-loong64-musl": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.65.1.tgz",
- "integrity": "sha512-JbfRKz8nJCuo8gn1Dqx8lQWEHw4qhZ3uRaHphw5vrSjnSptJTKTRC/bLKHh8QQMsEnhL4uq+bdg3tkiXbJ2q/A==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.65.1.tgz",
+ "integrity": "sha512-zkZrXYwNlIcSUmcwY2DpsaDHr0XjVUeQHCuSunG3eQD7/5Wn/DvI7OMUE8NRRweK87yG8ebJ1xGOzmwpMsbZQA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.65.1.tgz",
+ "integrity": "sha512-Zaed+R3cpkkA3aiNd7NO0GV5KFh/LVf8j6bGcoRdpoXkSm/mWH8M0oX2/3u/nyGcx/bHEovD9CzX+w9/gcpI4A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.65.1.tgz",
+ "integrity": "sha512-h12p3WJWhyJ9kir0zqAPr0rKNmBzOWIjoaOMT9OULs9KZQZCeOMKd+mGSvERjd9VxJYShd3zIxtrVxkYz6BEVA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.65.1.tgz",
+ "integrity": "sha512-yRBwh/5imKY4DydDulVtrjy8Jf7h7NQJUqZbgmZ3zFsCD9QqlnWvZ7RtEF+ecO1b+IukKjXlu5Bb9fehV3tIbg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.65.1.tgz",
+ "integrity": "sha512-1XuPiWYYaLE1UDOqhbKVOfsqxvfmFS/lYPSk92U1hEX1qRfSYH0hNeAlbxFIgjp4d6+YQmL95EPRgdvjbZEddA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.65.1.tgz",
+ "integrity": "sha512-Y3C5e55Yrf6p2r5rBcc4P9hFWVNi6oqWy/53I/AyCJJGlp3KRSpTP8eoUmVntchTbEnhgBgAgLO9flj9AvOdUw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.65.1.tgz",
+ "integrity": "sha512-Itj6coSswkYPIcVLczObXmwdplHNQQxyfnK1ppBg4czDaX8RiEzLKqU7EMc64BiBuiDZEUS+M93ktM18rv5llw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.65.1.tgz",
+ "integrity": "sha512-KeO8jTEqdrnhvcahufbimyMoI44vedRUp1bVz2QUnRX2vDm/hxzCPt5F8fERVD5fsHyTW/vXmCElT054VOSVOA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.65.1.tgz",
+ "integrity": "sha512-dDOz5VZZ+ZGnglpmET6VJefamWXFsgaVtuhSClf2/URZBp048jprD6z1hddsIMN6n1w+oUzGZEBp9u6Mlszsfg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loong64-musl": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.65.1.tgz",
+ "integrity": "sha512-JbfRKz8nJCuo8gn1Dqx8lQWEHw4qhZ3uRaHphw5vrSjnSptJTKTRC/bLKHh8QQMsEnhL4uq+bdg3tkiXbJ2q/A==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.65.1.tgz",
+ "integrity": "sha512-3oQpe1q0emSeCAssVHMQdOz5fz3PBH5my/Fr0ZekV2UMNL4ZiRa1ciikYlGQXyDkeqseYYv1InwOY8YPqY7RIQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-ppc64-musl": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.65.1.tgz",
+ "integrity": "sha512-nNV3HHi23o1LtpGGwH+Bav4hqnc4+klQtC96tSvCfvql8bLlNFTnTFiGl/jai2nve3eEr/vT2ocuyf+h+eMnYQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.65.1.tgz",
+ "integrity": "sha512-b5zab0FryBxuocuDeqOsYGAg2EzjKw4mKA6LjQXCyewXjGv/BXqACBsY2cO45xM4hV2weYtdjGThP2VB2ByAYg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.65.1.tgz",
+ "integrity": "sha512-Rh08xZakiUxKNgI3hbgH9mivlx478lSqckS9s+Oc3/TX1VrAH3W8z/5wpJXR/v5VjqcJ/jJNVBg64PU1+iQsTQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.65.1.tgz",
+ "integrity": "sha512-qDgtS6juN3/k97y4kcD6XLFpXEo4f6CnG8lTOGYwlhrUYTrMyhN0WHdZCPAW5rqS0MqQG7qI7dxnjugt6QB39Q==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.65.1.tgz",
+ "integrity": "sha512-44IKzBPqXXVm0kt1O+F5eW4juR5FyIxGNlFkpP8qwIDzucBsjM1HCbdYUQrQw8rU/g6HRl/tfBm0+Qq4H4Ro3w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.65.1.tgz",
+ "integrity": "sha512-tvYWZ/h2PCHs558Xu7B6LptuRCV8lXV2xI75ONMcldII1m2zlFwuI4BJZi9M6rSMkYqcPLLtPUPrjyqfbzLOdg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-openbsd-x64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.65.1.tgz",
+ "integrity": "sha512-gdyeucgZCnei3pXwadKVTEAOgRx0B+c847DUPR/PdOMmp3olhfkYo6r0J4PzRFZB5ZICZQTxntyvgmWH5xT7rg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-openharmony-arm64": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.65.1.tgz",
+ "integrity": "sha512-Wf/NEKdn2SAL4Nvt8HyDtdkseWTwiLbZEOoNYnEaHkbso0B9eHO42vKnZh+OYsn+IMhAMcWcuIwPlBOgOXsUzg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.65.1.tgz",
+ "integrity": "sha512-x9VSsDmsMsEWy4cr/mFeaEsXnVJ6Kc4NCAU/lCnwml3s7LQbZoa9+/qwc9etWHbuuDT5mYxdyyKUwo76njtjZw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.65.1.tgz",
+ "integrity": "sha512-RIDbiVvvLkN45mOFpbo6eYMgnuiBEB62BGR/0s4QJgGg2AvVxucDDNn67kpAcUoYyfmY8iX8/RifMcmxmmnejA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-gnu": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.65.1.tgz",
+ "integrity": "sha512-+KN8HIr88vN59JNxlrM2fMimzY43Y0lQB7+0xdVsFbvFCAA74CLKCdfzIHzzvndJryBc94Pm+MvwtukKjaS2ug==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.65.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.65.1.tgz",
+ "integrity": "sha512-+Y1Sd49cSDq60UOl8/U2HI0ebUvnSl/hDhMHQn+ouw17yb8fYwMWIazzJ4JFpSkjPE7sj5NTNSX9IoyEqcFfyQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@tauri-apps/api": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.4.tgz",
+ "integrity": "sha512-pVmfis+4zT8H0Qhp3xPZx9Ju7kpzvA6rr/PSJPyuwfvucTQ8sVt61NYU9KMkK703UFlYadFmjKA4HhybOtN0gg==",
+ "license": "Apache-2.0 OR MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/tauri"
+ }
+ },
+ "node_modules/@tauri-apps/cli": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.4.tgz",
+ "integrity": "sha512-JI9bHfudSRJikGOrjbXEm6RjzzvmKuLc+JixB1NE8hNzQkNlCCIC3pTES3uypkR9lxHrsbxzcnSwhI2IxBQphw==",
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "bin": {
+ "tauri": "tauri.js"
+ },
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/tauri"
+ },
+ "optionalDependencies": {
+ "@tauri-apps/cli-darwin-arm64": "2.12.4",
+ "@tauri-apps/cli-darwin-x64": "2.12.4",
+ "@tauri-apps/cli-linux-arm-gnueabihf": "2.12.4",
+ "@tauri-apps/cli-linux-arm64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-arm64-musl": "2.12.4",
+ "@tauri-apps/cli-linux-riscv64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-x64-gnu": "2.12.4",
+ "@tauri-apps/cli-linux-x64-musl": "2.12.4",
+ "@tauri-apps/cli-win32-arm64-msvc": "2.12.4",
+ "@tauri-apps/cli-win32-ia32-msvc": "2.12.4",
+ "@tauri-apps/cli-win32-x64-msvc": "2.12.4"
+ }
+ },
+ "node_modules/@tauri-apps/cli-darwin-arm64": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.4.tgz",
+ "integrity": "sha512-OxqKSckIkoJ6vX2AjifIJpTasFC0Hbdoo7gEiCmAjauABO3U8m2MRsLWe+QTiBwDx1mIrvgA+rvI7tvDnbnHVg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-darwin-x64": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.4.tgz",
+ "integrity": "sha512-fz76/77wMMJOaaUN6n3CybRG0P/MTEjjqYk81mGPyhi9m6Ue5T+LWBnJP/AkPooNatBPI2vtulGqomyMJ44lCQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.4.tgz",
+ "integrity": "sha512-K0w8Bof6Lt8QKLAYhRy0yy36ZH5iA/35VuSOvnxyjvCUZ+A3JKsUTlALviH/sVgAlisaPzzmeJSH8XOn4Q2HBA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-arm64-gnu": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.4.tgz",
+ "integrity": "sha512-j5rOnjmRUwWrm1oosf0zBYl4D+fqydgUROFCk0hvKZxvbTT8SOERes0QB7rBV/XWNy+kM6pCKzb3oSm2sRglzg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-arm64-musl": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.4.tgz",
+ "integrity": "sha512-aOue3Fy6Jb7+oWcfAVUsVHfeTybSCt2CZoU06aO4jv4d2Ks/KnaTPwMAK3CLEduGOvBLY1lbBBrIyomqLLH5Sg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-riscv64-gnu": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.4.tgz",
+ "integrity": "sha512-Fx6GShY/RvST+t6LMlTHAwd66+1tEaAAGrnU7cysVfaiRP1BKng5Vl6rVmO6rSLOA1Sp1dRzNYM4f0OWQGb7qA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-x64-gnu": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.4.tgz",
+ "integrity": "sha512-tNzZSa79Z1nRpHxEpQ38lsAFpKlFlYvoXzjTV+lRRn/zSf3wrdUC3wnLcq2XEadchPu4ttK0zivhYzr+XGD19Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-linux-x64-musl": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.4.tgz",
+ "integrity": "sha512-jmZ1pr0xEqUhuEusWtt9Yt+GF6lCnGHUmIL+KIknpbjK/XQ2qkhDBhaxK/JMHM2A8dAacVXCxXJk2EXpwhQUfA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-win32-arm64-msvc": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.4.tgz",
+ "integrity": "sha512-fGo8pgEHZxdSYgZ/J98m1usJ7NHKmKbq7k6uT0x1rpOq6Bg2YVzzpaAblWk710f5LHYBJIL5QIFS5IrD+4gmTg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-win32-ia32-msvc": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.4.tgz",
+ "integrity": "sha512-ezl8sQIcjYsye3TUnTH5VcWmWzccZASlQm7hlZt0dYyj1XD0qpVW47u2xYVrIKui0F8uQv/7QGZixdWiClBsbg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/cli-win32-x64-msvc": {
+ "version": "2.12.4",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.4.tgz",
+ "integrity": "sha512-DJhDeCqjLDNMWYFy7ZS8cfeAHX2RK0RbQMLiA3bMVVkXRDJ4NBYiHriGqsUhsr9iG41aTb+dJGkFPmPw1gWwVw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0 OR MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-autostart": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-autostart/-/plugin-autostart-2.7.0.tgz",
+ "integrity": "sha512-4uRq+rqKSAh6MWAxgk6FnUPigc8VMG8eDVYTLk3A7OfKs9sLVwfeM8kbUvzjpabRQvyl4zd9tfzXBTrrtuprsA==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-deep-link": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-deep-link/-/plugin-deep-link-2.6.2.tgz",
+ "integrity": "sha512-uMsF1VQt1OdYq3jDGsSBlBdtbTp6o7WYFYFnjiNuLfFpBvZsdH0XnolJoSzBOlTzhroROBUys/j1y1PQqdiMZA==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-dialog": {
+ "version": "2.8.3",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.8.3.tgz",
+ "integrity": "sha512-Hd/yBfk2R5v2MFrz/0VArSXeh8xKLLXGunqSiTtcHKn1zNZwaKujuA0VSwUvNfwC4hDoF1PveS+gBDNe3nHspw==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-log": {
+ "version": "2.10.1",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-log/-/plugin-log-2.10.1.tgz",
+ "integrity": "sha512-QYgxDunUZP+Cd3ev+8ItOc3Q6uUFkEhRHdTolxUtlC/8SGsc5IyVjGgFclprkAx736HUCUYfh2vqUr3qwNfTTw==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-notification": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-notification/-/plugin-notification-2.7.0.tgz",
+ "integrity": "sha512-kgdHCPSY/3GIi4gSWuLfd3y555U0kwzP0PmnUjT+sGhgO7RdAM6goFjDqayRaKC8yA5oEYi7w2NnA3oQxIjldw==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-opener": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-opener/-/plugin-opener-2.7.2.tgz",
+ "integrity": "sha512-LyybP1VSzTMQiaFYcsbAse47KpivlyXdLZMQzGLEnkgQacGESnpjAfFoQ6h5sqWgAdZDH9szYjPzHMpv0Sz+TQ==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-os": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-os/-/plugin-os-2.4.0.tgz",
+ "integrity": "sha512-XFQjntNNI3Vlqdy4WUGwiXX8DByzKVvoemAcUVkBm9NJPGmoDtII5i+vfuAzWaJfOE5cUJJLUDqXBnd4reSAIA==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-process": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-process/-/plugin-process-2.4.0.tgz",
+ "integrity": "sha512-GddrmsSLAYrLa/yTXlXK/YRDzUgYeeOnUXTbiyvJWkmI424RmDPD3FVLeqcon7rv6O6ZfhBilcrHWnSo7o6hIQ==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-store": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-store/-/plugin-store-2.5.0.tgz",
+ "integrity": "sha512-+ykjiQwMJCSk/U2enHA8peKBWgDKgrP7JfZnGwQpqzwA0nVtKTc0LCyxWr2whOrcQoQqtUdr9NVdDZpfKpT1Xw==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-updater": {
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-updater/-/plugin-updater-2.14.0.tgz",
+ "integrity": "sha512-gdylJ9tger4hkyOn24QZd6MNOKVo2Eh53iw5th2Qj1vKTR/+u4PIwJWuiis5hohYvobn6iOvlnALfrqIPSzh7Q==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@tauri-apps/plugin-window-state": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-window-state/-/plugin-window-state-2.5.0.tgz",
+ "integrity": "sha512-ySI/32fpC1ZTslIZ00/wf9HujyDnkG3OPL16uuLjG53y1hTgjIJ9G2VPuOL1IV8GVr3xeF6lnr6h2T73HuGXow==",
+ "license": "MIT OR Apache-2.0",
+ "dependencies": {
+ "@tauri-apps/api": "^2.12.0"
+ }
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.27.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
+ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.2"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.3",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",
+ "integrity": "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*",
+ "assertion-error": "^2.0.1"
+ }
+ },
+ "node_modules/@types/debug": {
+ "version": "4.1.13",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",
+ "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree-jsx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",
+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.15",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
+ "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "18.3.31",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz",
+ "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.3.7",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
+ "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^18.0.0"
+ }
+ },
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "license": "MIT"
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",
+ "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==",
+ "license": "ISC"
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",
+ "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.28.0",
+ "@babel/plugin-transform-react-jsx-self": "^7.27.1",
+ "@babel/plugin-transform-react-jsx-source": "^7.27.1",
+ "@rolldown/pluginutils": "1.0.0-beta.27",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.17.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.7.tgz",
+ "integrity": "sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.7.tgz",
+ "integrity": "sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.7",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.7.tgz",
+ "integrity": "sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.7.tgz",
+ "integrity": "sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.7",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.7.tgz",
+ "integrity": "sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.7.tgz",
+ "integrity": "sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.7.tgz",
+ "integrity": "sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.7",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/aria-hidden": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz",
+ "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.6.1",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.1.tgz",
+ "integrity": "sha512-cL1Qz6ADZhcEbny/8HPfe99J6HhNoYtpX2LFLIbhgGE7Q1hlQVkYFdetDN7Id3KiQxhDrHwzlHr/YQCnZ8+xSA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.28.9",
+ "caniuse-lite": "^1.0.30001810",
+ "fraction.js": "^5.3.4",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.11.33",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.33.tgz",
+ "integrity": "sha512-yiVKDX+qCMRKBE084lXvq9EcwFUhKZ2nU8TK1EQQuOgPNR/lmbGxXOeDdlGUqC2Zz11Cs9rk1d/8NfgBmlkt0w==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.29.4",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.4.tgz",
+ "integrity": "sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.11.29",
+ "caniuse-lite": "^1.0.30001816",
+ "electron-to-chromium": "^1.5.459",
+ "node-releases": "^2.0.59",
+ "update-browserslist-db": "^1.3.4"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001819",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001819.tgz",
+ "integrity": "sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.3.3.tgz",
+ "integrity": "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.65.1.tgz",
- "integrity": "sha512-3oQpe1q0emSeCAssVHMQdOz5fz3PBH5my/Fr0ZekV2UMNL4ZiRa1ciikYlGQXyDkeqseYYv1InwOY8YPqY7RIQ==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/@rollup/rollup-linux-ppc64-musl": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.65.1.tgz",
- "integrity": "sha512-nNV3HHi23o1LtpGGwH+Bav4hqnc4+klQtC96tSvCfvql8bLlNFTnTFiGl/jai2nve3eEr/vT2ocuyf+h+eMnYQ==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
+ "node_modules/character-reference-invalid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",
+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.65.1.tgz",
- "integrity": "sha512-b5zab0FryBxuocuDeqOsYGAg2EzjKw4mKA6LjQXCyewXjGv/BXqACBsY2cO45xM4hV2weYtdjGThP2VB2ByAYg==",
- "cpu": [
- "riscv64"
- ],
+ "node_modules/check-error": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.3.tgz",
+ "integrity": "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "engines": {
+ "node": ">= 16"
+ }
},
- "node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.65.1.tgz",
- "integrity": "sha512-Rh08xZakiUxKNgI3hbgH9mivlx478lSqckS9s+Oc3/TX1VrAH3W8z/5wpJXR/v5VjqcJ/jJNVBg64PU1+iQsTQ==",
- "cpu": [
- "riscv64"
- ],
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
},
- "node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.65.1.tgz",
- "integrity": "sha512-qDgtS6juN3/k97y4kcD6XLFpXEo4f6CnG8lTOGYwlhrUYTrMyhN0WHdZCPAW5rqS0MqQG7qI7dxnjugt6QB39Q==",
- "cpu": [
- "s390x"
- ],
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "engines": {
+ "node": ">=6"
+ }
},
- "node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.65.1.tgz",
- "integrity": "sha512-44IKzBPqXXVm0kt1O+F5eW4juR5FyIxGNlFkpP8qwIDzucBsjM1HCbdYUQrQw8rU/g6HRl/tfBm0+Qq4H4Ro3w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.65.1.tgz",
- "integrity": "sha512-tvYWZ/h2PCHs558Xu7B6LptuRCV8lXV2xI75ONMcldII1m2zlFwuI4BJZi9M6rSMkYqcPLLtPUPrjyqfbzLOdg==",
- "cpu": [
- "x64"
- ],
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
+ "engines": {
+ "node": ">= 6"
+ }
},
- "node_modules/@rollup/rollup-openbsd-x64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.65.1.tgz",
- "integrity": "sha512-gdyeucgZCnei3pXwadKVTEAOgRx0B+c847DUPR/PdOMmp3olhfkYo6r0J4PzRFZB5ZICZQTxntyvgmWH5xT7rg==",
- "cpu": [
- "x64"
- ],
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ]
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
},
- "node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.65.1.tgz",
- "integrity": "sha512-Wf/NEKdn2SAL4Nvt8HyDtdkseWTwiLbZEOoNYnEaHkbso0B9eHO42vKnZh+OYsn+IMhAMcWcuIwPlBOgOXsUzg==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",
+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "openharmony"
- ]
+ "engines": {
+ "node": ">=6"
+ }
},
- "node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.65.1.tgz",
- "integrity": "sha512-x9VSsDmsMsEWy4cr/mFeaEsXnVJ6Kc4NCAU/lCnwml3s7LQbZoa9+/qwc9etWHbuuDT5mYxdyyKUwo76njtjZw==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==",
+ "license": "MIT"
+ },
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "license": "MIT",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
"dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
+ "license": "Apache-2.0"
},
- "node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.65.1.tgz",
- "integrity": "sha512-RIDbiVvvLkN45mOFpbo6eYMgnuiBEB62BGR/0s4QJgGg2AvVxucDDNn67kpAcUoYyfmY8iX8/RifMcmxmmnejA==",
- "cpu": [
- "ia32"
- ],
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
"dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
+ "license": "MIT"
},
- "node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.65.1.tgz",
- "integrity": "sha512-+KN8HIr88vN59JNxlrM2fMimzY43Y0lQB7+0xdVsFbvFCAA74CLKCdfzIHzzvndJryBc94Pm+MvwtukKjaS2ug==",
- "cpu": [
- "x64"
- ],
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.464",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.464.tgz",
+ "integrity": "sha512-nRa65aFge40viPAKxMKULIY8tcXKwKboJWNn4RoKwyWXJ6SP7BnrDGKUTzc64818jIciH0PK7LSF8QzZes19GA==",
"dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
+ "license": "ISC"
},
- "node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.65.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.65.1.tgz",
- "integrity": "sha512-+Y1Sd49cSDq60UOl8/U2HI0ebUvnSl/hDhMHQn+ouw17yb8fYwMWIazzJ4JFpSkjPE7sj5NTNSX9IoyEqcFfyQ==",
- "cpu": [
- "x64"
- ],
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
"dev": true,
"license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@tauri-apps/api": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.4.tgz",
- "integrity": "sha512-pVmfis+4zT8H0Qhp3xPZx9Ju7kpzvA6rr/PSJPyuwfvucTQ8sVt61NYU9KMkK703UFlYadFmjKA4HhybOtN0gg==",
- "license": "Apache-2.0 OR MIT",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/tauri"
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/@tauri-apps/cli": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.4.tgz",
- "integrity": "sha512-JI9bHfudSRJikGOrjbXEm6RjzzvmKuLc+JixB1NE8hNzQkNlCCIC3pTES3uypkR9lxHrsbxzcnSwhI2IxBQphw==",
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
"bin": {
- "tauri": "tauri.js"
+ "esbuild": "bin/esbuild"
},
"engines": {
- "node": ">= 10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/tauri"
+ "node": ">=12"
},
"optionalDependencies": {
- "@tauri-apps/cli-darwin-arm64": "2.12.4",
- "@tauri-apps/cli-darwin-x64": "2.12.4",
- "@tauri-apps/cli-linux-arm-gnueabihf": "2.12.4",
- "@tauri-apps/cli-linux-arm64-gnu": "2.12.4",
- "@tauri-apps/cli-linux-arm64-musl": "2.12.4",
- "@tauri-apps/cli-linux-riscv64-gnu": "2.12.4",
- "@tauri-apps/cli-linux-x64-gnu": "2.12.4",
- "@tauri-apps/cli-linux-x64-musl": "2.12.4",
- "@tauri-apps/cli-win32-arm64-msvc": "2.12.4",
- "@tauri-apps/cli-win32-ia32-msvc": "2.12.4",
- "@tauri-apps/cli-win32-x64-msvc": "2.12.4"
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
}
},
- "node_modules/@tauri-apps/cli-darwin-arm64": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.4.tgz",
- "integrity": "sha512-OxqKSckIkoJ6vX2AjifIJpTasFC0Hbdoo7gEiCmAjauABO3U8m2MRsLWe+QTiBwDx1mIrvgA+rvI7tvDnbnHVg==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
+ "license": "MIT",
"engines": {
- "node": ">= 10"
+ "node": ">=6"
}
},
- "node_modules/@tauri-apps/cli-darwin-x64": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.4.tgz",
- "integrity": "sha512-fz76/77wMMJOaaUN6n3CybRG0P/MTEjjqYk81mGPyhi9m6Ue5T+LWBnJP/AkPooNatBPI2vtulGqomyMJ44lCQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
+ "node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "license": "MIT",
"engines": {
- "node": ">= 10"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.4.tgz",
- "integrity": "sha512-K0w8Bof6Lt8QKLAYhRy0yy36ZH5iA/35VuSOvnxyjvCUZ+A3JKsUTlALviH/sVgAlisaPzzmeJSH8XOn4Q2HBA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
+ "node_modules/estree-util-is-identifier-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@tauri-apps/cli-linux-arm64-gnu": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.4.tgz",
- "integrity": "sha512-j5rOnjmRUwWrm1oosf0zBYl4D+fqydgUROFCk0hvKZxvbTT8SOERes0QB7rBV/XWNy+kM6pCKzb3oSm2sRglzg==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
}
},
- "node_modules/@tauri-apps/cli-linux-arm64-musl": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.4.tgz",
- "integrity": "sha512-aOue3Fy6Jb7+oWcfAVUsVHfeTybSCt2CZoU06aO4jv4d2Ks/KnaTPwMAK3CLEduGOvBLY1lbBBrIyomqLLH5Sg==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/expect-type": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.4.0.tgz",
+ "integrity": "sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
+ "license": "Apache-2.0",
"engines": {
- "node": ">= 10"
+ "node": ">=12.0.0"
}
},
- "node_modules/@tauri-apps/cli-linux-riscv64-gnu": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.4.tgz",
- "integrity": "sha512-Fx6GShY/RvST+t6LMlTHAwd66+1tEaAAGrnU7cysVfaiRP1BKng5Vl6rVmO6rSLOA1Sp1dRzNYM4f0OWQGb7qA==",
- "cpu": [
- "riscv64"
- ],
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
"engines": {
- "node": ">= 10"
+ "node": ">=8.6.0"
}
},
- "node_modules/@tauri-apps/cli-linux-x64-gnu": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.4.tgz",
- "integrity": "sha512-tNzZSa79Z1nRpHxEpQ38lsAFpKlFlYvoXzjTV+lRRn/zSf3wrdUC3wnLcq2XEadchPu4ttK0zivhYzr+XGD19Q==",
- "cpu": [
- "x64"
- ],
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
"engines": {
- "node": ">= 10"
+ "node": ">= 6"
}
},
- "node_modules/@tauri-apps/cli-linux-x64-musl": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.4.tgz",
- "integrity": "sha512-jmZ1pr0xEqUhuEusWtt9Yt+GF6lCnGHUmIL+KIknpbjK/XQ2qkhDBhaxK/JMHM2A8dAacVXCxXJk2EXpwhQUfA==",
- "cpu": [
- "x64"
- ],
+ "node_modules/fastq": {
+ "version": "1.20.3",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz",
+ "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
}
},
- "node_modules/@tauri-apps/cli-win32-arm64-msvc": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.4.tgz",
- "integrity": "sha512-fGo8pgEHZxdSYgZ/J98m1usJ7NHKmKbq7k6uT0x1rpOq6Bg2YVzzpaAblWk710f5LHYBJIL5QIFS5IrD+4gmTg==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "win32"
- ],
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
"engines": {
- "node": ">= 10"
+ "node": ">=8"
}
},
- "node_modules/@tauri-apps/cli-win32-ia32-msvc": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.4.tgz",
- "integrity": "sha512-ezl8sQIcjYsye3TUnTH5VcWmWzccZASlQm7hlZt0dYyj1XD0qpVW47u2xYVrIKui0F8uQv/7QGZixdWiClBsbg==",
- "cpu": [
- "ia32"
- ],
+ "node_modules/fraction.js": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
+ "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
- "optional": true,
- "os": [
- "win32"
- ],
+ "license": "MIT",
"engines": {
- "node": ">= 10"
+ "node": "*"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/rawify"
}
},
- "node_modules/@tauri-apps/cli-win32-x64-msvc": {
- "version": "2.12.4",
- "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.4.tgz",
- "integrity": "sha512-DJhDeCqjLDNMWYFy7ZS8cfeAHX2RK0RbQMLiA3bMVVkXRDJ4NBYiHriGqsUhsr9iG41aTb+dJGkFPmPw1gWwVw==",
- "cpu": [
- "x64"
- ],
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
- "license": "Apache-2.0 OR MIT",
+ "hasInstallScript": true,
+ "license": "MIT",
"optional": true,
"os": [
- "win32"
+ "darwin"
],
"engines": {
- "node": ">= 10"
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
- "node_modules/@tauri-apps/plugin-autostart": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-autostart/-/plugin-autostart-2.7.0.tgz",
- "integrity": "sha512-4uRq+rqKSAh6MWAxgk6FnUPigc8VMG8eDVYTLk3A7OfKs9sLVwfeM8kbUvzjpabRQvyl4zd9tfzXBTrrtuprsA==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@tauri-apps/plugin-deep-link": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-deep-link/-/plugin-deep-link-2.6.2.tgz",
- "integrity": "sha512-uMsF1VQt1OdYq3jDGsSBlBdtbTp6o7WYFYFnjiNuLfFpBvZsdH0XnolJoSzBOlTzhroROBUys/j1y1PQqdiMZA==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
}
},
- "node_modules/@tauri-apps/plugin-dialog": {
- "version": "2.8.3",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.8.3.tgz",
- "integrity": "sha512-Hd/yBfk2R5v2MFrz/0VArSXeh8xKLLXGunqSiTtcHKn1zNZwaKujuA0VSwUvNfwC4hDoF1PveS+gBDNe3nHspw==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
}
},
- "node_modules/@tauri-apps/plugin-log": {
- "version": "2.10.1",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-log/-/plugin-log-2.10.1.tgz",
- "integrity": "sha512-QYgxDunUZP+Cd3ev+8ItOc3Q6uUFkEhRHdTolxUtlC/8SGsc5IyVjGgFclprkAx736HUCUYfh2vqUr3qwNfTTw==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
}
},
- "node_modules/@tauri-apps/plugin-notification": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-notification/-/plugin-notification-2.7.0.tgz",
- "integrity": "sha512-kgdHCPSY/3GIi4gSWuLfd3y555U0kwzP0PmnUjT+sGhgO7RdAM6goFjDqayRaKC8yA5oEYi7w2NnA3oQxIjldw==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/hasown": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
+ "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/@tauri-apps/plugin-opener": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-opener/-/plugin-opener-2.7.2.tgz",
- "integrity": "sha512-LyybP1VSzTMQiaFYcsbAse47KpivlyXdLZMQzGLEnkgQacGESnpjAfFoQ6h5sqWgAdZDH9szYjPzHMpv0Sz+TQ==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/hast-util-to-jsx-runtime": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
+ "license": "MIT",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "@types/estree": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "estree-util-is-identifier-name": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "mdast-util-mdx-expression": "^2.0.0",
+ "mdast-util-mdx-jsx": "^3.0.0",
+ "mdast-util-mdxjs-esm": "^2.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-js": "^1.0.0",
+ "unist-util-position": "^5.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@tauri-apps/plugin-os": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-os/-/plugin-os-2.4.0.tgz",
- "integrity": "sha512-XFQjntNNI3Vlqdy4WUGwiXX8DByzKVvoemAcUVkBm9NJPGmoDtII5i+vfuAzWaJfOE5cUJJLUDqXBnd4reSAIA==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "license": "MIT",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@tauri-apps/plugin-process": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-process/-/plugin-process-2.4.0.tgz",
- "integrity": "sha512-GddrmsSLAYrLa/yTXlXK/YRDzUgYeeOnUXTbiyvJWkmI424RmDPD3FVLeqcon7rv6O6ZfhBilcrHWnSo7o6hIQ==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "node_modules/html-url-attributes": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/@tauri-apps/plugin-store": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-store/-/plugin-store-2.5.0.tgz",
- "integrity": "sha512-+ykjiQwMJCSk/U2enHA8peKBWgDKgrP7JfZnGwQpqzwA0nVtKTc0LCyxWr2whOrcQoQqtUdr9NVdDZpfKpT1Xw==",
- "license": "MIT OR Apache-2.0",
- "dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "node_modules/inline-style-parser": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",
+ "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",
+ "license": "MIT"
+ },
+ "node_modules/is-alphabetical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",
+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@tauri-apps/plugin-updater": {
- "version": "2.14.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-updater/-/plugin-updater-2.14.0.tgz",
- "integrity": "sha512-gdylJ9tger4hkyOn24QZd6MNOKVo2Eh53iw5th2Qj1vKTR/+u4PIwJWuiis5hohYvobn6iOvlnALfrqIPSzh7Q==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/is-alphanumerical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",
+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",
+ "license": "MIT",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "is-alphabetical": "^2.0.0",
+ "is-decimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@tauri-apps/plugin-window-state": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-window-state/-/plugin-window-state-2.5.0.tgz",
- "integrity": "sha512-ySI/32fpC1ZTslIZ00/wf9HujyDnkG3OPL16uuLjG53y1hTgjIJ9G2VPuOL1IV8GVr3xeF6lnr6h2T73HuGXow==",
- "license": "MIT OR Apache-2.0",
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@tauri-apps/api": "^2.12.0"
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@types/babel__core": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
- "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "node_modules/is-core-module": {
+ "version": "2.17.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz",
+ "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/parser": "^7.20.7",
- "@babel/types": "^7.20.7",
- "@types/babel__generator": "*",
- "@types/babel__template": "*",
- "@types/babel__traverse": "*"
+ "hasown": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/babel__generator": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
- "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
- "dev": true,
+ "node_modules/is-decimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",
+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",
"license": "MIT",
- "dependencies": {
- "@babel/types": "^7.0.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/babel__template": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
- "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0"
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/@types/babel__traverse": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
- "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.28.2"
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
}
},
- "node_modules/@types/estree": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
- "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/prop-types": {
- "version": "15.7.15",
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
- "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
- "devOptional": true,
- "license": "MIT"
- },
- "node_modules/@types/react": {
- "version": "18.3.31",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz",
- "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==",
- "devOptional": true,
+ "node_modules/is-hexadecimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",
+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",
"license": "MIT",
- "dependencies": {
- "@types/prop-types": "*",
- "csstype": "^3.2.2"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/react-dom": {
- "version": "18.3.7",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
- "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dev": true,
"license": "MIT",
- "peerDependencies": {
- "@types/react": "^18.0.0"
+ "engines": {
+ "node": ">=0.12.0"
}
},
- "node_modules/@vitejs/plugin-react": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",
- "integrity": "sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==",
- "dev": true,
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
"license": "MIT",
- "dependencies": {
- "@babel/core": "^7.28.0",
- "@babel/plugin-transform-react-jsx-self": "^7.27.1",
- "@babel/plugin-transform-react-jsx-source": "^7.27.1",
- "@rolldown/pluginutils": "1.0.0-beta.27",
- "@types/babel__core": "^7.20.5",
- "react-refresh": "^0.17.0"
- },
"engines": {
- "node": "^14.18.0 || >=16.0.0"
+ "node": ">=12"
},
- "peerDependencies": {
- "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/any-promise": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
- "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "node_modules/jiti": {
+ "version": "1.21.7",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
+ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
"dev": true,
- "license": "ISC",
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
+ "license": "MIT",
+ "bin": {
+ "jiti": "bin/jiti.js"
}
},
- "node_modules/arg": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
- "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
- "dev": true,
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
"license": "MIT"
},
- "node_modules/autoprefixer": {
- "version": "10.6.1",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.6.1.tgz",
- "integrity": "sha512-cL1Qz6ADZhcEbny/8HPfe99J6HhNoYtpX2LFLIbhgGE7Q1hlQVkYFdetDN7Id3KiQxhDrHwzlHr/YQCnZ8+xSA==",
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
"dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
"license": "MIT",
- "dependencies": {
- "browserslist": "^4.28.9",
- "caniuse-lite": "^1.0.30001810",
- "fraction.js": "^5.3.4",
- "picocolors": "^1.1.1",
- "postcss-value-parser": "^4.2.0"
- },
"bin": {
- "autoprefixer": "bin/autoprefixer"
+ "jsesc": "bin/jsesc"
},
"engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
+ "node": ">=6"
}
},
- "node_modules/baseline-browser-mapping": {
- "version": "2.11.33",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.33.tgz",
- "integrity": "sha512-yiVKDX+qCMRKBE084lXvq9EcwFUhKZ2nU8TK1EQQuOgPNR/lmbGxXOeDdlGUqC2Zz11Cs9rk1d/8NfgBmlkt0w==",
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
- "license": "Apache-2.0",
+ "license": "MIT",
"bin": {
- "baseline-browser-mapping": "dist/cli.cjs"
+ "json5": "lib/cli.js"
},
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6"
}
},
- "node_modules/binary-extensions": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
- "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "node_modules/lilconfig": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.4.tgz",
+ "integrity": "sha512-zJZyBmQhArDRefuWTypZxwDpFDIYmrj8ypSBvwGD5P13Y95s6DjzKgu4DVdGbeQa5PDEsAOCAPNk4X+QOR006w==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=14"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/antonk52"
}
},
- "node_modules/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
"dev": true,
+ "license": "MIT"
+ },
+ "node_modules/longest-streak": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",
+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",
"license": "MIT",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/browserslist": {
- "version": "4.29.4",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.4.tgz",
- "integrity": "sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
"license": "MIT",
"dependencies": {
- "baseline-browser-mapping": "^2.11.29",
- "caniuse-lite": "^1.0.30001816",
- "electron-to-chromium": "^1.5.459",
- "node-releases": "^2.0.59",
- "update-browserslist-db": "^1.3.4"
+ "js-tokens": "^3.0.0 || ^4.0.0"
},
"bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
+ "integrity": "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
}
},
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
- "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "node_modules/lucide-react": {
+ "version": "0.511.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.511.0.tgz",
+ "integrity": "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
"dev": true,
"license": "MIT",
- "engines": {
- "node": ">= 6"
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
}
},
- "node_modules/caniuse-lite": {
- "version": "1.0.30001819",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001819.tgz",
- "integrity": "sha512-LFUqIIAwpzsIuevnKnsR9qnStBcgzPShTX61lBwN9uFkkf8o8zLiebEjbW8AYtZiF+1YKDWfdt/pWDtMuG8Xwg==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "CC-BY-4.0"
+ "node_modules/markdown-table": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",
+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/chokidar": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
- "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
- "dev": true,
+ "node_modules/mdast-util-find-and-replace": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.4.tgz",
+ "integrity": "sha512-z4B5c6jrnJ1ltOQemhWYPBSAo6y42Z8Gt2yEgfgNTMcLSU59B8bfj8Z8AnAlJrBGLnqkdAUZ7jdDEqQw3KuipQ==",
"license": "MIT",
"dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
+ "@types/mdast": "^4.0.0",
+ "escape-string-regexp": "^5.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.1.0"
},
- "engines": {
- "node": ">= 8.10.0"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-from-markdown": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz",
+ "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark": "^4.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unist-util-stringify-position": "^4.0.0"
},
"funding": {
- "url": "https://paulmillr.com/funding/"
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",
+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-gfm-autolink-literal": "^2.0.0",
+ "mdast-util-gfm-footnote": "^2.0.0",
+ "mdast-util-gfm-strikethrough": "^2.0.0",
+ "mdast-util-gfm-table": "^2.0.0",
+ "mdast-util-gfm-task-list-item": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
},
- "optionalDependencies": {
- "fsevents": "~2.3.2"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/chokidar/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "license": "ISC",
+ "node_modules/mdast-util-gfm-autolink-literal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",
+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",
+ "license": "MIT",
"dependencies": {
- "is-glob": "^4.0.1"
+ "@types/mdast": "^4.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-find-and-replace": "^3.0.0",
+ "micromark-util-character": "^2.0.0"
},
- "engines": {
- "node": ">= 6"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/clsx": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
- "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "node_modules/mdast-util-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",
"license": "MIT",
- "engines": {
- "node": ">=6"
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
- "dev": true,
+ "node_modules/mdast-util-gfm-strikethrough": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz",
+ "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==",
"license": "MIT",
- "engines": {
- "node": ">= 6"
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/convert-source-map": {
+ "node_modules/mdast-util-gfm-table": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/cookie": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
- "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",
+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",
"license": "MIT",
- "engines": {
- "node": ">=18"
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "markdown-table": "^3.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
},
"funding": {
"type": "opencollective",
- "url": "https://opencollective.com/express"
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/cssesc": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "dev": true,
+ "node_modules/mdast-util-gfm-task-list-item": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",
+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",
"license": "MIT",
- "bin": {
- "cssesc": "bin/cssesc"
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
},
- "engines": {
- "node": ">=4"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/csstype": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
- "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "devOptional": true,
- "license": "MIT"
- },
- "node_modules/debug": {
- "version": "4.4.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
- "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
- "dev": true,
+ "node_modules/mdast-util-mdx-expression": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",
+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",
"license": "MIT",
"dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
},
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
- "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
- "dev": true,
- "license": "Apache-2.0"
+ "node_modules/mdast-util-mdx-jsx": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",
+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "parse-entities": "^4.0.0",
+ "stringify-entities": "^4.0.0",
+ "unist-util-stringify-position": "^4.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
},
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
- "dev": true,
- "license": "MIT"
+ "node_modules/mdast-util-mdxjs-esm": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",
+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
},
- "node_modules/electron-to-chromium": {
- "version": "1.5.464",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.464.tgz",
- "integrity": "sha512-nRa65aFge40viPAKxMKULIY8tcXKwKboJWNn4RoKwyWXJ6SP7BnrDGKUTzc64818jIciH0PK7LSF8QzZes19GA==",
- "dev": true,
- "license": "ISC"
+ "node_modules/mdast-util-phrasing": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
},
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
- "dev": true,
+ "node_modules/mdast-util-to-hast": {
+ "version": "13.2.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",
+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",
"license": "MIT",
- "engines": {
- "node": ">= 0.4"
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "trim-lines": "^3.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/esbuild": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
- "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
- "dev": true,
- "hasInstallScript": true,
+ "node_modules/mdast-util-to-markdown": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.0.tgz",
+ "integrity": "sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA==",
"license": "MIT",
- "bin": {
- "esbuild": "bin/esbuild"
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-phrasing": "^4.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "unist-util-visit": "^5.0.0",
+ "zwitch": "^2.0.0"
},
- "engines": {
- "node": ">=12"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",
+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0"
},
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.21.5",
- "@esbuild/android-arm": "0.21.5",
- "@esbuild/android-arm64": "0.21.5",
- "@esbuild/android-x64": "0.21.5",
- "@esbuild/darwin-arm64": "0.21.5",
- "@esbuild/darwin-x64": "0.21.5",
- "@esbuild/freebsd-arm64": "0.21.5",
- "@esbuild/freebsd-x64": "0.21.5",
- "@esbuild/linux-arm": "0.21.5",
- "@esbuild/linux-arm64": "0.21.5",
- "@esbuild/linux-ia32": "0.21.5",
- "@esbuild/linux-loong64": "0.21.5",
- "@esbuild/linux-mips64el": "0.21.5",
- "@esbuild/linux-ppc64": "0.21.5",
- "@esbuild/linux-riscv64": "0.21.5",
- "@esbuild/linux-s390x": "0.21.5",
- "@esbuild/linux-x64": "0.21.5",
- "@esbuild/netbsd-x64": "0.21.5",
- "@esbuild/openbsd-x64": "0.21.5",
- "@esbuild/sunos-x64": "0.21.5",
- "@esbuild/win32-arm64": "0.21.5",
- "@esbuild/win32-ia32": "0.21.5",
- "@esbuild/win32-x64": "0.21.5"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/escalade": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
- "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=6"
+ "node": ">= 8"
}
},
- "node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "dev": true,
+ "node_modules/micromark": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz",
+ "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/fast-glob/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "license": "ISC",
+ "@types/debug": "^4.0.0",
+ "debug": "^4.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-edit-map": "^1.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-core-commonmark": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz",
+ "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
"dependencies": {
- "is-glob": "^4.0.1"
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-factory-destination": "^2.0.0",
+ "micromark-factory-label": "^2.0.0",
+ "micromark-factory-space": "^2.1.0",
+ "micromark-factory-title": "^2.0.0",
+ "micromark-factory-whitespace": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-edit-map": "^1.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.3"
+ }
+ },
+ "node_modules/micromark-extension-gfm": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",
+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-extension-gfm-autolink-literal": "^2.0.0",
+ "micromark-extension-gfm-footnote": "^2.0.0",
+ "micromark-extension-gfm-strikethrough": "^2.0.0",
+ "micromark-extension-gfm-table": "^2.0.0",
+ "micromark-extension-gfm-tagfilter": "^2.0.0",
+ "micromark-extension-gfm-task-list-item": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
},
- "engines": {
- "node": ">= 6"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fastq": {
- "version": "1.20.3",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz",
- "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==",
- "dev": true,
- "license": "ISC",
+ "node_modules/micromark-extension-gfm-autolink-literal": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",
+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",
+ "license": "MIT",
"dependencies": {
- "reusify": "^1.0.4"
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dev": true,
+ "node_modules/micromark-extension-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",
"license": "MIT",
"dependencies": {
- "to-regex-range": "^5.0.1"
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
},
- "engines": {
- "node": ">=8"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fraction.js": {
- "version": "5.3.4",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
- "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
- "dev": true,
+ "node_modules/micromark-extension-gfm-strikethrough": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",
+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",
"license": "MIT",
- "engines": {
- "node": "*"
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/rawify"
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/framer-motion": {
- "version": "12.43.0",
- "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.43.0.tgz",
- "integrity": "sha512-1eaL3RvR/kAlbG7UYcpMptEyzPoENO0c6w7ZnB3/hh2vSAz/6uGAFn6fdoqTBguNstf3MsFhJHsD/0DHiclG+g==",
+ "node_modules/micromark-extension-gfm-table": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz",
+ "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==",
"license": "MIT",
"dependencies": {
- "motion-dom": "^12.43.0",
- "motion-utils": "^12.39.0",
- "tslib": "^2.4.0"
- },
- "peerDependencies": {
- "@emotion/is-prop-valid": "*",
- "react": "^18.0.0 || ^19.0.0",
- "react-dom": "^18.0.0 || ^19.0.0"
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
},
- "peerDependenciesMeta": {
- "@emotion/is-prop-valid": {
- "optional": true
- },
- "react": {
- "optional": true
- },
- "react-dom": {
- "optional": true
- }
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
+ "node_modules/micromark-extension-gfm-tagfilter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",
+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",
"license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "dev": true,
+ "node_modules/micromark-extension-gfm-task-list-item": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",
+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",
"license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true,
+ "node_modules/micromark-factory-destination": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",
+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "engines": {
- "node": ">=6.9.0"
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
- "license": "ISC",
+ "node_modules/micromark-factory-label": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",
+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
"dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
+ "devlop": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/hasown": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",
- "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",
- "dev": true,
+ "node_modules/micromark-factory-space": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz",
+ "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "dev": true,
+ "node_modules/micromark-factory-title": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",
+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/is-core-module": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz",
- "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==",
- "dev": true,
+ "node_modules/micromark-factory-whitespace": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",
+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "hasown": "^2.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/is-extglob": {
+ "node_modules/micromark-util-character": {
"version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "engines": {
- "node": ">=0.10.0"
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
+ "node_modules/micromark-util-chunked": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",
+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
+ "node_modules/micromark-util-classify-character": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",
+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "engines": {
- "node": ">=0.12.0"
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/jiti": {
- "version": "1.21.7",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
- "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
- "dev": true,
+ "node_modules/micromark-util-combine-extensions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",
+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "bin": {
- "jiti": "bin/jiti.js"
+ "dependencies": {
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "license": "MIT"
- },
- "node_modules/jsesc": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
- "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
- "dev": true,
+ "node_modules/micromark-util-decode-numeric-character-reference": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",
+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=6"
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/json5": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
- "dev": true,
+ "node_modules/micromark-util-decode-string": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",
+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/lilconfig": {
- "version": "3.1.4",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.4.tgz",
- "integrity": "sha512-zJZyBmQhArDRefuWTypZxwDpFDIYmrj8ypSBvwGD5P13Y95s6DjzKgu4DVdGbeQa5PDEsAOCAPNk4X+QOR006w==",
- "dev": true,
+ "node_modules/micromark-util-edit-map": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz",
+ "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/antonk52"
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
- "dev": true,
+ "node_modules/micromark-util-encode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT"
},
- "node_modules/loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "node_modules/micromark-util-html-tag-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",
+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-normalize-identifier": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",
+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
"dependencies": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- },
- "bin": {
- "loose-envify": "cli.js"
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "license": "ISC",
+ "node_modules/micromark-util-resolve-all": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",
+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
"dependencies": {
- "yallist": "^3.0.2"
+ "micromark-util-types": "^2.0.0"
}
},
- "node_modules/lucide-react": {
- "version": "0.511.0",
- "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.511.0.tgz",
- "integrity": "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w==",
- "license": "ISC",
- "peerDependencies": {
- "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ "node_modules/micromark-util-sanitize-uri": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",
+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
}
},
- "node_modules/merge2": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "dev": true,
+ "node_modules/micromark-util-subtokenize": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",
+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
"license": "MIT",
- "engines": {
- "node": ">= 8"
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
}
},
+ "node_modules/micromark-util-symbol": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",
+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-types": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz",
+ "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/micromatch": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
@@ -2314,26 +4427,10 @@
"node": ">=8.6"
}
},
- "node_modules/motion-dom": {
- "version": "12.43.0",
- "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.43.0.tgz",
- "integrity": "sha512-azKON4d9S65PEoFUiQTMTgPheEmzf2QngdRc50AKfJp9Q9mmcBVw22c8eMq9k8kxOFHdL7+WZY7N/5F/lwiDag==",
- "license": "MIT",
- "dependencies": {
- "motion-utils": "^12.39.0"
- }
- },
- "node_modules/motion-utils": {
- "version": "12.39.0",
- "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.39.0.tgz",
- "integrity": "sha512-8nadJAJjTtqRkmRF36FoJTrywK9nnFmnPwnSMyxaOCU7GDjN9RTMJIxx9De8ErM+vpPhMccr/6fo5WciyQLnMQ==",
- "license": "MIT"
- },
"node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
"license": "MIT"
},
"node_modules/mz": {
@@ -2407,6 +4504,31 @@
"node": ">= 6"
}
},
+ "node_modules/parse-entities": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",
+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^2.0.0",
+ "character-entities-legacy": "^3.0.0",
+ "character-reference-invalid": "^2.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "is-alphanumerical": "^2.0.0",
+ "is-decimal": "^2.0.0",
+ "is-hexadecimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/parse-entities/node_modules/@types/unist": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
+ "license": "MIT"
+ },
"node_modules/path-parse": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
@@ -2414,6 +4536,23 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -2607,6 +4746,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/property-information": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",
+ "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@@ -2653,6 +4802,33 @@
"react": "^18.3.1"
}
},
+ "node_modules/react-markdown": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",
+ "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "hast-util-to-jsx-runtime": "^2.0.0",
+ "html-url-attributes": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-rehype": "^11.0.0",
+ "unified": "^11.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18",
+ "react": ">=18"
+ }
+ },
"node_modules/react-refresh": {
"version": "0.17.0",
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",
@@ -2663,42 +4839,73 @@
"node": ">=0.10.0"
}
},
- "node_modules/react-router": {
- "version": "7.18.4",
- "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.4.tgz",
- "integrity": "sha512-PUPQcMhMGRAslLcvtlPz/kmzBEWPhLdgLFrL7pLNepBL6dX0lWj4WD2cUYVgYCuT3jxvghYFg81cDTj44DhetQ==",
+ "node_modules/react-remove-scroll": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",
+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",
+ "license": "MIT",
+ "dependencies": {
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-remove-scroll-bar": {
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz",
+ "integrity": "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==",
"license": "MIT",
"dependencies": {
- "cookie": "^1.0.1",
- "set-cookie-parser": "^2.6.0"
+ "react-style-singleton": "^2.2.2",
+ "tslib": "^2.0.0"
},
"engines": {
- "node": ">=20.0.0"
+ "node": ">=10"
},
"peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
- "react-dom": {
+ "@types/react": {
"optional": true
}
}
},
- "node_modules/react-router-dom": {
- "version": "7.18.4",
- "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.4.tgz",
- "integrity": "sha512-yrfmJHIpDG7taCpqKjT1G5B6q3O2K+RN8/fgNf0lTjCwiPbQ0ei6vXX9ZjQR+7ld8Tr7Z5xmyMnZ8YJrphWQUw==",
+ "node_modules/react-style-singleton": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/react-style-singleton/-/react-style-singleton-2.2.3.tgz",
+ "integrity": "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==",
"license": "MIT",
"dependencies": {
- "react-router": "7.18.4"
+ "get-nonce": "^1.0.0",
+ "tslib": "^2.0.0"
},
"engines": {
- "node": ">=20.0.0"
+ "node": ">=10"
},
"peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
"node_modules/read-cache": {
@@ -2708,17 +4915,83 @@
"dev": true,
"license": "MIT"
},
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "dev": true,
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/remark-gfm": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",
+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-gfm": "^3.0.0",
+ "micromark-extension-gfm": "^3.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-parse": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",
+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-rehype": {
+ "version": "11.1.2",
+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",
+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-stringify": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",
+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",
"license": "MIT",
"dependencies": {
- "picomatch": "^2.2.1"
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "unified": "^11.0.0"
},
- "engines": {
- "node": ">=8.10.0"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
"node_modules/resolve": {
@@ -2843,11 +5116,12 @@
"semver": "bin/semver.js"
}
},
- "node_modules/set-cookie-parser": {
- "version": "2.7.3",
- "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.3.tgz",
- "integrity": "sha512-irZHtTqurLna57KQG/s+fzOwv/J6XSH4cs8M/vsrY3uCaQ3S6+QJguAH0WdN47SXlk82voMZ4naWMQf8fdEoIg==",
- "license": "MIT"
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
},
"node_modules/source-map-js": {
"version": "1.2.2",
@@ -2859,6 +5133,82 @@
"node": ">=0.10.0"
}
},
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.10.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.10.0.tgz",
+ "integrity": "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/strip-literal": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.1.0.tgz",
+ "integrity": "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/strip-literal/node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/style-to-js": {
+ "version": "1.1.21",
+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",
+ "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "style-to-object": "1.0.14"
+ }
+ },
+ "node_modules/style-to-object": {
+ "version": "1.0.14",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",
+ "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",
+ "license": "MIT",
+ "dependencies": {
+ "inline-style-parser": "0.2.7"
+ }
+ },
"node_modules/sucrase": {
"version": "3.35.1",
"resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
@@ -2895,16 +5245,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/tailwind-merge": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz",
- "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==",
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/dcastil"
- }
- },
"node_modules/tailwindcss": {
"version": "3.4.19",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
@@ -2966,6 +5306,20 @@
"node": ">=0.8"
}
},
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/tinyglobby": {
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
@@ -3014,6 +5368,36 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.6.tgz",
+ "integrity": "sha512-u8KszXvGfU68hVcZpRHKG28T0krMuv2G5nDhiHaMLen/gIuFEgIJhaJuO69qjnXg5paSrbPMFfx3brNuN8eVSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -3027,6 +5411,26 @@
"node": ">=8.0"
}
},
+ "node_modules/trim-lines": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/trough": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/ts-interface-checker": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
@@ -3054,6 +5458,93 @@
"node": ">=14.17"
}
},
+ "node_modules/unified": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "bail": "^2.0.0",
+ "devlop": "^1.0.0",
+ "extend": "^3.0.0",
+ "is-plain-obj": "^4.0.0",
+ "trough": "^2.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-is": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",
+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",
+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-stringify-position": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",
+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.2.0.tgz",
+ "integrity": "sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit-parents": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.1.0.tgz",
+ "integrity": "sha512-vKXxz6O38sKDj1mtx/k2cWvkkFBuYGx6uGrlzBkVeWCRF/F8sdI0j3Wbkz/5rVNRRuVc8UrgRdbCxNhmYXgP3w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
"node_modules/update-browserslist-db": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz",
@@ -3085,6 +5576,49 @@
"browserslist": ">= 4.21.0"
}
},
+ "node_modules/use-callback-ref": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz",
+ "integrity": "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/use-sidecar": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/use-sidecar/-/use-sidecar-1.1.3.tgz",
+ "integrity": "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "detect-node-es": "^1.1.0",
+ "tslib": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -3092,6 +5626,34 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/vfile": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-message": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",
+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
"node_modules/vite": {
"version": "5.4.21",
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",
@@ -3152,6 +5714,132 @@
}
}
},
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.7.tgz",
+ "integrity": "sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.7",
+ "@vitest/mocker": "3.2.7",
+ "@vitest/pretty-format": "^3.2.7",
+ "@vitest/runner": "3.2.7",
+ "@vitest/snapshot": "3.2.7",
+ "@vitest/spy": "3.2.7",
+ "@vitest/utils": "3.2.7",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.7",
+ "@vitest/ui": "3.2.7",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vitest/node_modules/picomatch": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",
+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
@@ -3187,6 +5875,16 @@
"optional": true
}
}
+ },
+ "node_modules/zwitch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
}
}
}
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 1e575377..6f1dcb75 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -15,6 +15,12 @@
"icons": "tauri icon src-tauri/icons/source.png"
},
"dependencies": {
+ "@fontsource-variable/geist": "^5.3.0",
+ "@fontsource-variable/geist-mono": "^5.3.0",
+ "@radix-ui/react-dialog": "^1.3.1",
+ "@radix-ui/react-dropdown-menu": "^2.2.1",
+ "@radix-ui/react-switch": "^1.4.1",
+ "@radix-ui/react-tooltip": "^1.4.1",
"@tauri-apps/api": "^2.12.4",
"@tauri-apps/plugin-autostart": "^2.7.0",
"@tauri-apps/plugin-deep-link": "^2.6.2",
@@ -28,12 +34,11 @@
"@tauri-apps/plugin-updater": "^2.14.0",
"@tauri-apps/plugin-window-state": "^2.5.0",
"clsx": "^2.1.1",
- "framer-motion": "^12.12.1",
"lucide-react": "^0.511.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
- "react-router-dom": "^7.6.1",
- "tailwind-merge": "^3.3.0",
+ "react-markdown": "^10.1.0",
+ "remark-gfm": "^4.0.1",
"zustand": "^5.0.5"
},
"devDependencies": {
@@ -45,6 +50,7 @@
"postcss": "^8.5.4",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.0",
- "vite": "^5.4.19"
+ "vite": "^5.4.19",
+ "vitest": "^3.2.4"
}
}
diff --git a/apps/desktop/src/api/client.ts b/apps/desktop/src/api/client.ts
new file mode 100644
index 00000000..6193b417
--- /dev/null
+++ b/apps/desktop/src/api/client.ts
@@ -0,0 +1,76 @@
+/* ═══════════════════════════════════════════════════════════════
+ HTTP client — one runtime at a time, Bearer auth, typed errors.
+ ═══════════════════════════════════════════════════════════════ */
+
+export interface ApiTarget {
+ /** Origin, no trailing slash. */
+ baseUrl: string;
+ /** Device token or attach token. */
+ token: string | null;
+}
+
+let target: ApiTarget = { baseUrl: "", token: null };
+let unauthorizedHandler: (() => void) | null = null;
+
+export function configureApi(next: Partial<ApiTarget> & { onUnauthorized?: (() => void) | null }): void {
+ target = {
+ baseUrl: next.baseUrl === undefined ? target.baseUrl : normalizeBaseUrl(next.baseUrl),
+ token: next.token === undefined ? target.token : next.token,
+ };
+ if (next.onUnauthorized !== undefined) unauthorizedHandler = next.onUnauthorized;
+}
+
+export function getApiTarget(): ApiTarget {
+ return target;
+}
+
+export function apiUrl(path: string): string {
+ if (/^https?:\/\//i.test(path)) return path;
+ return `${target.baseUrl}${path.startsWith("/") ? path : `/${path}`}`;
+}
+
+export function authHeaders(): Record<string, string> {
+ return target.token ? { Authorization: `Bearer ${target.token}` } : {};
+}
+
+export function normalizeBaseUrl(raw: string): string {
+ return (raw ?? "").trim().replace(/\/+$/, "");
+}
+
+export class ApiError extends Error {
+ constructor(message: string, public readonly status: number, public readonly retryAfterSeconds: number | null = null) {
+ super(message);
+ this.name = "ApiError";
+ }
+}
+
+export async function request<T>(path: string, init: RequestInit = {}): Promise<T> {
+ const res = await fetch(apiUrl(path), {
+ ...init,
+ headers: {
+ Accept: "application/json",
+ ...(init.body && !(init.body instanceof FormData) ? { "Content-Type": "application/json" } : {}),
+ ...authHeaders(),
+ ...(init.headers as Record<string, string> | undefined),
+ },
+ });
+ if (res.status === 401) {
+ unauthorizedHandler?.();
+ throw new ApiError("Unauthorized", 401);
+ }
+ if (!res.ok) {
+ const body = (await res.json().catch(() => ({}))) as { error?: string };
+ const retry = res.headers.get("Retry-After");
+ throw new ApiError(body.error || `Request failed (${res.status})`, res.status, retry ? Number(retry) : null);
+ }
+ if (res.status === 204) return undefined as T;
+ return (await res.json()) as T;
+}
+
+export const http = {
+ get: <T>(path: string) => request<T>(path),
+ post: <T>(path: string, body?: unknown) => request<T>(path, { method: "POST", body: body === undefined ? undefined : JSON.stringify(body) }),
+ put: <T>(path: string, body?: unknown) => request<T>(path, { method: "PUT", body: body === undefined ? undefined : JSON.stringify(body) }),
+ patch: <T>(path: string, body?: unknown) => request<T>(path, { method: "PATCH", body: body === undefined ? undefined : JSON.stringify(body) }),
+ delete: <T>(path: string) => request<T>(path, { method: "DELETE" }),
+};
diff --git a/apps/desktop/src/api/mercury.ts b/apps/desktop/src/api/mercury.ts
new file mode 100644
index 00000000..0f459582
--- /dev/null
+++ b/apps/desktop/src/api/mercury.ts
@@ -0,0 +1,98 @@
+/* ═══════════════════════════════════════════════════════════════
+ The runtime's endpoints the desktop uses. Paths are the contract;
+ see docs/api-contract.md.
+ ═══════════════════════════════════════════════════════════════ */
+
+import { http, ApiError } from "./client";
+import type {
+ BotManifest, BotRunRecord, BotStatus, ChatMessage, ChatSettings, ChatThread, CodeStatus, HealthInfo,
+ McpServer, ModelsResponse, PairResponse, PluginItem, ReasoningChoice, Skill, DeviceSummary,
+} from "./types";
+
+export const health = {
+ get: () => http.get<HealthInfo>("/api/health"),
+ /** Probe any runtime with an explicit token, before it is configured. */
+ probe: async (baseUrl: string, token: string | null, timeoutMs = 5000): Promise<HealthInfo> => {
+ const controller = new AbortController();
+ const timer = setTimeout(() => controller.abort(), timeoutMs);
+ try {
+ const res = await fetch(`${baseUrl.replace(/\/+$/, "")}/api/health`, { headers: token ? { Authorization: `Bearer ${token}` } : {}, signal: controller.signal });
+ if (!res.ok) throw new ApiError(res.status === 404 || res.status === 401 ? "Unauthorized" : `Health check failed (${res.status})`, res.status);
+ return (await res.json()) as HealthInfo;
+ } finally {
+ clearTimeout(timer);
+ }
+ },
+};
+
+export const auth = {
+ pair: async (baseUrl: string, username: string, password: string, deviceName: string, platform: string): Promise<PairResponse> => {
+ const res = await fetch(`${baseUrl.replace(/\/+$/, "")}/api/auth/token`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ username, password, deviceName, platform }),
+ });
+ const body = (await res.json().catch(() => ({}))) as Partial<PairResponse> & { error?: string };
+ if (!res.ok) {
+ const retry = res.headers.get("Retry-After");
+ throw new ApiError(body.error || `Pairing failed (${res.status})`, res.status, retry ? Number(retry) : null);
+ }
+ return body as PairResponse;
+ },
+ devices: () => http.get<{ devices: DeviceSummary[]; current: string | null }>("/api/auth/devices"),
+ revokeDevice: (id: string) => http.delete<{ success: boolean }>(`/api/auth/devices/${encodeURIComponent(id)}`),
+ revokeSelf: () => http.post<{ success: boolean }>("/api/auth/token/revoke"),
+};
+
+export const chat = {
+ threads: () => http.get<{ threads: ChatThread[] }>("/api/chat/threads"),
+ thread: (id: string) => http.get<ChatThread>(`/api/chat/threads/${encodeURIComponent(id)}`),
+ createThread: (title?: string) => http.post<ChatThread>("/api/chat/threads", { title }),
+ deleteThread: (id: string) => http.post<{ deleted: boolean }>(`/api/chat/threads/${encodeURIComponent(id)}/delete`, { confirmSessionId: id }),
+ send: (content: string, sessionId?: string) => http.post<{ sent: boolean; sessionId: string }>("/api/chat/send", { content, sessionId }),
+ answer: (promptId: string, action: string, targetId?: string) => http.post<{ resolved: boolean }>(`/api/chat/permission/${encodeURIComponent(promptId)}`, { action, targetId }),
+ settings: () => http.get<ChatSettings>("/api/chat/settings"),
+ updateSettings: (patch: Partial<ChatSettings>) => http.put<ChatSettings>("/api/chat/settings", patch),
+ models: () => http.get<ModelsResponse>("/api/chat/models"),
+ switchModel: (provider: string, model?: string) => http.post<{ ok: boolean; message: string }>("/api/chat/models/switch", { provider, model }),
+ setReasoning: (provider: string, model: string, reasoning: ReasoningChoice | null) => http.post<{ ok: boolean }>("/api/chat/models/prefs", { provider, model, reasoning }),
+};
+
+export const code = {
+ status: () => http.get<CodeStatus>("/api/code/status"),
+ set: (state: "off" | "plan" | "execute") => http.post<{ state: string; active: boolean }>("/api/code/set", { state }),
+};
+
+export const bots = {
+ list: () => http.get<{ bots: BotStatus[]; available: boolean }>("/api/bots"),
+ get: (id: string) => http.get<{ bot: BotManifest; state: BotStatus | null; journal: BotRunRecord[] }>(`/api/bots/${encodeURIComponent(id)}`),
+ message: (id: string, message: string) => http.post<{ accepted: boolean; jobId?: string; reasonCode?: string }>(`/api/bots/${encodeURIComponent(id)}/message`, { message }),
+ enable: (id: string) => http.post<{ ok: boolean }>(`/api/bots/${encodeURIComponent(id)}/enable`),
+ disable: (id: string) => http.post<{ ok: boolean }>(`/api/bots/${encodeURIComponent(id)}/disable`),
+ stop: (id: string) => http.post<{ ok: boolean }>(`/api/bots/${encodeURIComponent(id)}/stop`),
+ run: (id: string) => http.post<{ accepted: boolean }>(`/api/bots/${encodeURIComponent(id)}/run`, {}),
+};
+
+export const plugins = {
+ list: (refresh = false) => http.get<{ items: PluginItem[]; catalogError?: string; stale: boolean; safeMode: boolean }>(`/api/plugins${refresh ? "?refresh=1" : ""}`),
+ install: (source: string) => http.post<{ id: string; name: string; version: string }>("/api/plugins/install", { source }),
+ enable: (id: string) => http.post<{ ok: boolean }>(`/api/plugins/${encodeURIComponent(id)}/enable`),
+ disable: (id: string) => http.post<{ ok: boolean }>(`/api/plugins/${encodeURIComponent(id)}/disable`),
+ update: (id: string) => http.post<{ changed: Array<{ id: string; from: string; to: string }> }>(`/api/plugins/${encodeURIComponent(id)}/update`),
+ uninstall: (id: string) => http.delete<{ ok: boolean }>(`/api/plugins/${encodeURIComponent(id)}`),
+};
+
+export const mcp = {
+ list: () => http.get<{ available: boolean; servers: McpServer[] }>("/api/mcp"),
+};
+
+export const skills = {
+ list: () => http.get<{ skills: Skill[]; total: number }>("/api/skills"),
+ activate: (name: string) => http.post<{ success: boolean }>(`/api/skills/${encodeURIComponent(name)}/activate`),
+ deactivate: (name: string) => http.post<{ success: boolean }>(`/api/skills/${encodeURIComponent(name)}/deactivate`),
+ remove: (name: string) => http.delete<{ success: boolean }>(`/api/skills/${encodeURIComponent(name)}`),
+ installFromRegistry: (id: string) => http.post<{ success: boolean; id: string; version: string; status: string }>("/api/skills/install-from-registry", { id, force: false }),
+ install: (url: string) => http.post<{ success: boolean; name: string }>("/api/skills/install", { url }),
+};
+
+export type { ChatMessage };
diff --git a/apps/desktop/src/api/stream.test.ts b/apps/desktop/src/api/stream.test.ts
new file mode 100644
index 00000000..5ab62208
--- /dev/null
+++ b/apps/desktop/src/api/stream.test.ts
@@ -0,0 +1,15 @@
+import { describe, expect, it } from "vitest";
+import { createSseParser } from "./stream";
+
+describe("sse parser", () => {
+ it("splits frames on blank lines, joins multi-line data, keeps ids, skips comments", () => {
+ const p = createSseParser();
+ expect(p.push("event: text_delta\ndata: {\"a\":1}\n\n")).toEqual([{ event: "text_delta", data: "{\"a\":1}", id: "" }]);
+ expect(p.push(": keepalive\n")).toEqual([]);
+ expect(p.push("id: 7\ndata: one\nda")).toEqual([]);
+ expect(p.push("ta: two\n\ndata: x\r\n\r\n")).toEqual([
+ { event: "message", data: "one\ntwo", id: "7" },
+ { event: "message", data: "x", id: "7" },
+ ]);
+ });
+});
diff --git a/apps/desktop/src/api/stream.ts b/apps/desktop/src/api/stream.ts
new file mode 100644
index 00000000..4883360b
--- /dev/null
+++ b/apps/desktop/src/api/stream.ts
@@ -0,0 +1,148 @@
+/* ═══════════════════════════════════════════════════════════════
+ Server-Sent Events with a Bearer header. EventSource cannot send one,
+ so this is a fetch() stream parsed frame by frame, with reconnect.
+ ═══════════════════════════════════════════════════════════════ */
+
+import { apiUrl, authHeaders } from "./client";
+
+export interface SseFrame {
+ event: string;
+ data: string;
+ id: string;
+}
+
+export interface StreamHandlers {
+ onOpen?: () => void;
+ onClose?: (reason: "error" | "unauthorized" | "closed") => void;
+ onEvent: (event: string, data: string) => void;
+}
+
+export interface StreamHandle {
+ close(): void;
+ readonly open: boolean;
+}
+
+const RECONNECT_MIN_MS = 1_000;
+const RECONNECT_MAX_MS = 15_000;
+
+export function openStream(path: string, handlers: StreamHandlers): StreamHandle {
+ let closed = false;
+ let open = false;
+ let attempt = 0;
+ let controller: AbortController | null = null;
+ let timer: ReturnType<typeof setTimeout> | null = null;
+ let lastEventId = "";
+
+ const schedule = () => {
+ if (closed) return;
+ const delay = Math.min(RECONNECT_MAX_MS, RECONNECT_MIN_MS * 2 ** attempt) + Math.random() * 250;
+ attempt = Math.min(attempt + 1, 6);
+ timer = setTimeout(() => void connect(), delay);
+ };
+
+ const connect = async () => {
+ if (closed) return;
+ controller = new AbortController();
+ let res: Response;
+ try {
+ res = await fetch(apiUrl(path), {
+ headers: { Accept: "text/event-stream", "Cache-Control": "no-cache", ...authHeaders(), ...(lastEventId ? { "Last-Event-ID": lastEventId } : {}) },
+ signal: controller.signal,
+ });
+ } catch {
+ if (controller.signal.aborted) return;
+ open = false;
+ handlers.onClose?.("error");
+ schedule();
+ return;
+ }
+ if (res.status === 401) {
+ closed = true;
+ open = false;
+ handlers.onClose?.("unauthorized");
+ return;
+ }
+ if (!res.ok || !res.body) {
+ open = false;
+ handlers.onClose?.("error");
+ schedule();
+ return;
+ }
+ open = true;
+ attempt = 0;
+ handlers.onOpen?.();
+ const reader = res.body.getReader();
+ const decoder = new TextDecoder();
+ const parser = createSseParser();
+ try {
+ for (;;) {
+ const { value, done } = await reader.read();
+ if (done) break;
+ for (const frame of parser.push(decoder.decode(value, { stream: true }))) {
+ if (frame.id) lastEventId = frame.id;
+ try {
+ handlers.onEvent(frame.event, frame.data);
+ } catch {
+ /* a handler's bug must not kill the stream */
+ }
+ }
+ }
+ } catch {
+ /* network drop → reconnect */
+ }
+ open = false;
+ if (closed || controller.signal.aborted) return;
+ handlers.onClose?.("error");
+ schedule();
+ };
+
+ void connect();
+
+ return {
+ close() {
+ closed = true;
+ open = false;
+ if (timer) clearTimeout(timer);
+ controller?.abort();
+ handlers.onClose?.("closed");
+ },
+ get open() {
+ return open;
+ },
+ };
+}
+
+export function createSseParser(): { push(chunk: string): SseFrame[] } {
+ let buffer = "";
+ let eventName = "";
+ let dataLines: string[] = [];
+ let id = "";
+ const flush = (frames: SseFrame[]) => {
+ if (eventName || dataLines.length > 0) frames.push({ event: eventName || "message", data: dataLines.join("\n"), id });
+ eventName = "";
+ dataLines = [];
+ };
+ return {
+ push(chunk) {
+ const frames: SseFrame[] = [];
+ buffer += chunk.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
+ let idx: number;
+ while ((idx = buffer.indexOf("\n")) !== -1) {
+ const line = buffer.slice(0, idx);
+ buffer = buffer.slice(idx + 1);
+ if (line.length === 0) {
+ flush(frames);
+ continue;
+ }
+ if (line.startsWith(":")) continue;
+ const colon = line.indexOf(":");
+ const field = colon === -1 ? line : line.slice(0, colon);
+ const value = colon === -1 ? "" : line.slice(colon + 1).replace(/^ /, "");
+ if (field === "event") eventName = value;
+ else if (field === "data") dataLines.push(value);
+ else if (field === "id" && !value.includes("\0")) id = value;
+ }
+ return frames;
+ },
+ };
+}
diff --git a/apps/desktop/src/api/types.ts b/apps/desktop/src/api/types.ts
new file mode 100644
index 00000000..3fc00af4
--- /dev/null
+++ b/apps/desktop/src/api/types.ts
@@ -0,0 +1,197 @@
+/* The runtime's API shapes (docs/api-contract.md). */
+
+export interface HealthInfo {
+ ok: boolean;
+ pid: number;
+ version: string;
+ apiVersion?: number;
+ features?: string[];
+ state: string;
+ booting: boolean;
+}
+
+export interface DeviceSummary {
+ id: string;
+ name: string;
+ platform: string;
+ createdAt: string;
+ lastSeenAt: string | null;
+}
+
+export interface PairResponse {
+ token: string;
+ device: DeviceSummary;
+ apiVersion: number;
+ features: string[];
+}
+
+// ── Chat ──
+export interface ChatThread {
+ id: string;
+ title?: string;
+ messages: ChatMessage[];
+ createdAt: string;
+}
+
+export interface ToolStep {
+ tool: string;
+ status: "running" | "done" | "error";
+ result?: string;
+}
+
+export interface ChatMessage {
+ id: string;
+ role: "user" | "assistant" | "system";
+ content: string;
+ timestamp: string;
+ steps?: ToolStep[];
+}
+
+export type ReasoningLevel = "off" | "low" | "medium" | "high";
+export type ReasoningChoice = ReasoningLevel | "auto";
+
+export interface ModelDescription {
+ label: string;
+ autoLabel: string;
+ customLabel: string | null;
+ group: string;
+ reasoning: ReasoningChoice;
+ reasoningLevels: ReasoningLevel[];
+}
+
+export interface ModelsResponse {
+ current: { name: string; model: string } & ModelDescription;
+ providers: ({ name: string; model: string; available: boolean; isCurrent?: boolean } & ModelDescription)[];
+}
+
+export interface ChatSettings {
+ bypassPermissions: boolean;
+ restrictUser: boolean;
+ workspace: string;
+}
+
+export interface CodeStatus {
+ available: boolean;
+ state: "off" | "plan" | "execute";
+ active: boolean;
+ statusText: string;
+}
+
+/** Prompts the runtime raises mid-turn; answered through POST /api/chat/permission/:id. */
+export interface PendingPrompt {
+ id: string;
+ kind: "permission" | "continue" | "choice";
+ /** Tool/command description (permission), question (continue/choice). */
+ text: string;
+ options: Array<{ value: string; label: string }>;
+ targetId?: string;
+ raisedAt: number;
+}
+
+// ── Bots ──
+export interface BotStatus {
+ id: string;
+ name: string;
+ enabled: boolean;
+ state: "disabled" | "idle" | "queued" | "running" | "paused";
+ activity?: string;
+ lastRunAt?: number;
+ lastRunState?: string;
+ needsYou: boolean;
+ fleetRole?: "lead" | "crew";
+ parent?: string;
+ crewWorking?: number;
+}
+
+export interface BotManifest {
+ id: string;
+ name: string;
+ description?: string;
+ enabled: boolean;
+ fleetRole?: "lead" | "crew";
+ parent?: string;
+ model?: { provider?: string; model?: string };
+ schedules?: Array<{ name: string; cron: string; prompt: string }>;
+ autonomy?: { maxSteps?: number; dailyTokenBudget?: number };
+}
+
+export interface BotRunRecord {
+ runId: string;
+ botId: string;
+ trigger: string;
+ state: string;
+ startedAt: number;
+ durationMs: number;
+ tokensIn: number;
+ tokensOut: number;
+ summary?: string;
+ error?: string;
+ reasonCode?: string;
+}
+
+export interface BotActivityEvent {
+ botId: string;
+ kind: "turn-start" | "step" | "tool" | "turn-end" | "thinking";
+ label: string;
+}
+
+// ── Plugins / MCP / Skills ──
+export type PluginStatus = "available" | "installed" | "enabled" | "disabled" | "update-available" | "incompatible" | "error";
+
+export interface PluginSetting {
+ key: string;
+ label: string;
+ type: string;
+ value?: unknown;
+ description?: string;
+ secret?: boolean;
+ group?: string;
+}
+
+export interface PluginItem {
+ id: string;
+ name: string;
+ description: string;
+ kind: "in-process" | "out-of-process";
+ tier: "official" | "community" | "local";
+ status: PluginStatus;
+ installedVersion?: string;
+ latestVersion?: string;
+ sizeBytes?: number;
+ enabled: boolean;
+ running: boolean;
+ verified: boolean;
+ tools: string[];
+ commands: string[];
+ permissions?: { network: string[]; secrets: string[] };
+ disabled?: { code: string; message: string; at: string };
+ lastError?: string;
+ incompatibleReason?: string;
+ settings?: PluginSetting[];
+ channel?: { type: string; state?: string; detail?: string; account?: string };
+}
+
+export interface McpTool {
+ name: string;
+ qualifiedName?: string;
+ description?: string;
+ allowed?: boolean;
+}
+
+export interface McpServer {
+ id: string;
+ transport: "stdio" | "http";
+ enabled: boolean;
+ state: "disabled" | "connecting" | "connected" | "reconnecting" | "failed";
+ target: string;
+ error: string | null;
+ toolCount: number;
+ tools: McpTool[];
+}
+
+export interface Skill {
+ name: string;
+ path: string;
+ active: boolean;
+ description?: string;
+}
diff --git a/apps/desktop/src/app/App.tsx b/apps/desktop/src/app/App.tsx
new file mode 100644
index 00000000..c325342f
--- /dev/null
+++ b/apps/desktop/src/app/App.tsx
@@ -0,0 +1,124 @@
+import { useEffect, useState } from "react";
+import { TooltipProvider } from "~/components/ui/Tooltip";
+import { useConnections, type Connection } from "~/shell/connections";
+import { useRuntime } from "~/shell/useRuntime";
+import { Onboarding } from "~/shell/Onboarding";
+import { Workspace } from "~/layout/Workspace";
+import { Wordmark } from "~/components/Logo";
+import { Button } from "~/components/ui/Button";
+import { desktop } from "~/shell/tauri";
+import { configureApi } from "~/api/client";
+import { useRuntimeState } from "./store";
+
+/**
+ * What fills the window:
+ * - no connection chosen → first run;
+ * - a connection → bring it up, then the workspace.
+ */
+export function App() {
+ return (
+ <TooltipProvider>
+ <Root />
+ </TooltipProvider>
+ );
+}
+
+function Root() {
+ const loaded = useConnections((s) => s.loaded);
+ const connections = useConnections((s) => s.connections);
+ const activeId = useConnections((s) => s.activeId);
+ const load = useConnections((s) => s.load);
+ const [switching, setSwitching] = useState(false);
+
+ useEffect(() => { void load(); }, [load]);
+
+ if (!loaded) return <Centered><Wordmark width={200} /></Centered>;
+
+ const active = connections.find((c) => c.id === activeId) ?? null;
+ if (!active || switching) return <Onboarding onDone={() => setSwitching(false)} canCancel={Boolean(active)} />;
+ return <Connected key={active.id} connection={active} onSwitch={() => setSwitching(true)} />;
+}
+
+function Connected({ connection, onSwitch }: { connection: Connection; onSwitch: () => void }) {
+ const setActive = useConnections((s) => s.setActive);
+ const { status, retry } = useRuntime(connection, () => {});
+ const setConnected = useRuntimeState((s) => s.setConnected);
+
+ useEffect(() => { setConnected(status.phase === "ready"); }, [status.phase, setConnected]);
+
+ if (status.phase === "ready") return <Workspace connection={connection} health={status.health} onSwitchConnection={onSwitch} />;
+
+ return (
+ <Centered>
+ <div className="flex w-[420px] flex-col items-center gap-5 text-center">
+ <Wordmark width={200} breathe={status.phase === "connecting"} />
+ {status.phase === "connecting" && <p className="text-sm text-ink3">Connecting to <span className="text-ink">{connection.name}</span>…</p>}
+ {status.phase === "offline" && (
+ <>
+ <p className="text-sm text-ink3"><span className="text-ink">{connection.name}</span> is not answering at <span className="font-mono text-xs">{connection.baseUrl}</span>.</p>
+ <p className="text-xs text-ink4">{status.error}</p>
+ {connection.kind === "local" && <StartLocal onStarted={retry} />}
+ <div className="flex gap-2">
+ <Button variant="primary" onClick={retry}>Try again</Button>
+ <Button variant="outline" onClick={onSwitch}>Use another connection</Button>
+ </div>
+ </>
+ )}
+ {status.phase === "unauthorized" && (
+ <>
+ <p className="text-sm text-ink3">
+ <span className="text-ink">{connection.name}</span> no longer accepts this device.
+ {connection.kind === "remote" ? " The token was revoked or has changed." : " Mercury may have restarted with a new token."}
+ </p>
+ <div className="flex gap-2">
+ <Button variant="primary" onClick={retry}>Try again</Button>
+ <Button variant="outline" onClick={onSwitch}>Pair again</Button>
+ </div>
+ </>
+ )}
+ {status.phase === "incompatible" && (
+ <>
+ <p className="text-sm text-ink3">
+ {status.compat.reason === "desktop-too-old"
+ ? `Mercury ${status.health.version} speaks a newer API (v${status.compat.apiVersion}) than this app. Update Mercury Desktop, or open the dashboard in your browser.`
+ : `Mercury ${status.health.version || "(unknown)"} on ${connection.name} is older than this app supports. Run \`mercury upgrade\` there.`}
+ </p>
+ <div className="flex gap-2">
+ <Button variant="primary" onClick={() => void desktop.openExternal(connection.baseUrl)}>Open in browser</Button>
+ <Button variant="outline" onClick={onSwitch}>Use another connection</Button>
+ </div>
+ </>
+ )}
+ <button className="text-xs text-ink4 hover:text-ink2 hover:underline" onClick={() => { configureApi({ baseUrl: "", token: null }); void setActive(null); }}>
+ Forget this connection
+ </button>
+ </div>
+ </Centered>
+ );
+}
+
+function StartLocal({ onStarted }: { onStarted: () => void }) {
+ const [state, setState] = useState<"idle" | "starting" | "failed">("idle");
+ const [detail, setDetail] = useState("");
+ async function start() {
+ setState("starting");
+ try {
+ const out = await desktop.runMercury(["start"]);
+ if (out.code !== 0) { setState("failed"); setDetail((out.stderr || out.stdout).trim().slice(0, 400)); return; }
+ setTimeout(onStarted, 2500);
+ } catch (err) {
+ setState("failed");
+ setDetail(err instanceof Error ? err.message : String(err));
+ }
+ }
+ return (
+ <div className="flex flex-col items-center gap-2">
+ <Button variant="outline" loading={state === "starting"} onClick={() => void start()}>Start Mercury on this computer</Button>
+ {state === "failed" && <pre className="max-w-[400px] whitespace-pre-wrap text-left font-mono text-2xs text-red">{detail}</pre>}
+ </div>
+ );
+}
+
+function Centered({ children }: { children: React.ReactNode }) {
+ return <div className="flex h-full items-center justify-center bg-bg" data-tauri-drag-region>{children}</div>;
+}
diff --git a/apps/desktop/src/app/events.ts b/apps/desktop/src/app/events.ts
new file mode 100644
index 00000000..df43fc4c
--- /dev/null
+++ b/apps/desktop/src/app/events.ts
@@ -0,0 +1,180 @@
+/* ═══════════════════════════════════════════════════════════════
+ Live events from the runtime → app state. One chat stream (scoped to
+ the active thread) and one bots stream, for as long as a connection is
+ up. Every view reads the stores; nothing polls for what streams.
+ ═══════════════════════════════════════════════════════════════ */
+
+import { useEffect } from "react";
+import { openStream } from "~/api/stream";
+import * as api from "~/api/mercury";
+import type { BotActivityEvent, ChatMessage, PendingPrompt } from "~/api/types";
+import { useBots, useChat, useRuntimeState } from "./store";
+
+export function useRuntimeEvents(enabled: boolean): void {
+ const activeId = useChat((s) => s.activeId);
+
+ useEffect(() => {
+ if (!enabled) return;
+ const runtime = useRuntimeState.getState();
+ const query = activeId ? `?sessionId=${encodeURIComponent(activeId)}` : "";
+ const stream = openStream(`/api/chat/events${query}`, {
+ onOpen: () => useRuntimeState.getState().setConnected(true),
+ onClose: (reason) => { if (reason !== "closed") useRuntimeState.getState().setConnected(false); },
+ onEvent: (event, raw) => handleChatEvent(event, raw),
+ });
+ runtime.setAgent(runtime.connected ? runtime.agent : "idle");
+ return () => stream.close();
+ }, [enabled, activeId]);
+
+ useEffect(() => {
+ if (!enabled) return;
+ const stream = openStream("/api/bots/events", {
+ onEvent: (event, raw) => {
+ if (event !== "bot_activity") return;
+ const ev = safeJson<BotActivityEvent>(raw);
+ if (!ev || ev.kind === "thinking") return;
+ useBots.getState().setActivity(ev.botId, ev.kind === "turn-end" ? null : ev.label);
+ if (ev.kind === "turn-end" || ev.kind === "turn-start") void refreshBots();
+ },
+ });
+ return () => stream.close();
+ }, [enabled]);
+}
+
+function safeJson<T>(raw: string): T | null {
+ try {
+ return JSON.parse(raw) as T;
+ } catch {
+ return null;
+ }
+}
+
+function handleChatEvent(event: string, raw: string): void {
+ const rt = useRuntimeState.getState();
+ const chat = useChat.getState();
+ const data = safeJson<Record<string, unknown>>(raw) ?? {};
+ switch (event) {
+ case "connected":
+ case "provider":
+ rt.setProvider(String(data.provider ?? ""), String(data.model ?? ""));
+ break;
+ case "thinking":
+ rt.setAgent("thinking");
+ break;
+ case "step_start":
+ case "step_done":
+ rt.setStep({ total: Number(data.totalSteps ?? 0), current: Number(data.stepNumber ?? 0), tool: String(data.tool ?? "") });
+ rt.setAgent("working");
+ break;
+ case "text_delta":
+ rt.setAgent("streaming");
+ chat.appendStreaming(String(data.text ?? ""));
+ break;
+ case "text_done": {
+ const text = String(data.fullText ?? data.text ?? raw);
+ chat.clearStreaming();
+ chat.addMessage({ id: crypto.randomUUID(), role: "assistant", content: text, timestamp: new Date().toISOString() });
+ rt.setStep(null);
+ rt.setAgent(rt.prompts.length ? "needs-you" : "idle");
+ void refreshThreads();
+ break;
+ }
+ case "permission_request":
+ rt.addPrompt(toPrompt("permission", data, String(data.prompt ?? "")));
+ break;
+ case "permission_continue":
+ rt.addPrompt(toPrompt("continue", data, String(data.question ?? "")));
+ break;
+ case "choice_prompt":
+ rt.addPrompt(toPrompt("choice", data, String(data.question ?? "")));
+ break;
+ case "permission_resolved":
+ case "choice_resolved":
+ if (typeof data.id === "string") rt.removePrompt(data.id);
+ break;
+ case "error": {
+ const message = typeof data.message === "string" ? data.message : raw || "Something went wrong";
+ chat.clearStreaming();
+ rt.setStep(null);
+ rt.setAgent("idle");
+ chat.addMessage({ id: crypto.randomUUID(), role: "system", content: message, timestamp: new Date().toISOString() });
+ break;
+ }
+ default:
+ break;
+ }
+}
+
+function toPrompt(kind: PendingPrompt["kind"], data: Record<string, unknown>, text: string): PendingPrompt {
+ const rawOptions = Array.isArray(data.options) ? data.options : [];
+ const options = rawOptions.map((o) => {
+ if (typeof o === "string") return { value: o, label: labelFor(o) };
+ const obj = o as { value?: string; label?: string };
+ return { value: String(obj.value ?? ""), label: String(obj.label ?? obj.value ?? "") };
+ });
+ return { id: String(data.id ?? crypto.randomUUID()), kind, text, options, targetId: typeof data.targetId === "string" ? data.targetId : undefined, raisedAt: Date.now() };
+}
+
+function labelFor(value: string): string {
+ switch (value) {
+ case "yes": return "Allow";
+ case "always": return "Always allow";
+ case "no": return "Deny";
+ default: return value;
+ }
+}
+
+export async function refreshThreads(): Promise<void> {
+ try {
+ const { threads } = await api.chat.threads();
+ useChat.getState().setThreads(threads);
+ } catch { /* offline: keep what we have */ }
+}
+
+export async function refreshBots(): Promise<void> {
+ try {
+ const { bots, available } = await api.bots.list();
+ useBots.getState().setBots(bots, available);
+ } catch { /* bots unavailable on this runtime */ }
+}
+
+export async function openThread(id: string | null): Promise<void> {
+ const chat = useChat.getState();
+ chat.setActive(id);
+ chat.clearStreaming();
+ if (!id) {
+ chat.setMessages([]);
+ return;
+ }
+ chat.setLoading(true);
+ try {
+ const thread = await api.chat.thread(id);
+ useChat.getState().setMessages(thread.messages ?? []);
+ } catch {
+ useChat.getState().setMessages([]);
+ } finally {
+ useChat.getState().setLoading(false);
+ }
+}
+
+export async function sendMessage(content: string): Promise<void> {
+ const chat = useChat.getState();
+ const rt = useRuntimeState.getState();
+ let id = chat.activeId;
+ if (!id) {
+ const thread = await api.chat.createThread();
+ id = thread.id;
+ chat.setActive(id);
+ chat.setMessages([]);
+ }
+ const optimistic: ChatMessage = { id: crypto.randomUUID(), role: "user", content, timestamp: new Date().toISOString() };
+ useChat.getState().addMessage(optimistic);
+ rt.setAgent("thinking");
+ await api.chat.send(content, id);
+ void refreshThreads();
+}
+
+export async function answerPrompt(prompt: PendingPrompt, value: string | null): Promise<void> {
+ await api.chat.answer(prompt.id, value ?? "", prompt.targetId);
+ useRuntimeState.getState().removePrompt(prompt.id);
+}
diff --git a/apps/desktop/src/app/store.ts b/apps/desktop/src/app/store.ts
new file mode 100644
index 00000000..9ce62ed4
--- /dev/null
+++ b/apps/desktop/src/app/store.ts
@@ -0,0 +1,111 @@
+/* ═══════════════════════════════════════════════════════════════
+ App state. Views are all mounted at once and switched by `view`, so
+ moving between Chat, Code, Bots, Plugins and Skills is a state change,
+ never a page load.
+ ═══════════════════════════════════════════════════════════════ */
+
+import { create } from "zustand";
+import type { BotStatus, ChatMessage, ChatThread, PendingPrompt } from "~/api/types";
+
+export type View = "chat" | "code" | "bots" | "plugins" | "skills" | "settings";
+
+/** What the agent is doing right now; drives the StateOrb everywhere. */
+export type AgentState = "idle" | "thinking" | "streaming" | "working" | "needs-you" | "offline";
+
+interface UiState {
+ view: View;
+ setView(view: View): void;
+ sidebar: boolean;
+ toggleSidebar(): void;
+}
+
+export const useUi = create<UiState>((set) => ({
+ view: "chat",
+ setView: (view) => set({ view }),
+ sidebar: true,
+ toggleSidebar: () => set((s) => ({ sidebar: !s.sidebar })),
+}));
+
+interface RuntimeState {
+ connected: boolean;
+ agent: AgentState;
+ provider: string;
+ model: string;
+ step: { total: number; current: number; tool: string } | null;
+ prompts: PendingPrompt[];
+ setConnected(connected: boolean): void;
+ setAgent(agent: AgentState): void;
+ setProvider(provider: string, model: string): void;
+ setStep(step: RuntimeState["step"]): void;
+ addPrompt(prompt: PendingPrompt): void;
+ removePrompt(id: string): void;
+}
+
+export const useRuntimeState = create<RuntimeState>((set, get) => ({
+ connected: false,
+ agent: "offline",
+ provider: "",
+ model: "",
+ step: null,
+ prompts: [],
+ setConnected: (connected) => set({ connected, agent: connected ? (get().agent === "offline" ? "idle" : get().agent) : "offline" }),
+ setAgent: (agent) => set({ agent }),
+ setProvider: (provider, model) => set({ provider, model }),
+ setStep: (step) => set({ step }),
+ addPrompt: (prompt) => set((s) => ({ prompts: [...s.prompts.filter((p) => p.id !== prompt.id), prompt], agent: "needs-you" })),
+ removePrompt: (id) => set((s) => {
+ const prompts = s.prompts.filter((p) => p.id !== id);
+ return { prompts, agent: prompts.length === 0 && s.agent === "needs-you" ? "working" : s.agent };
+ }),
+}));
+
+interface ChatState {
+ threads: ChatThread[];
+ activeId: string | null;
+ messages: ChatMessage[];
+ streaming: string;
+ loading: boolean;
+ setThreads(threads: ChatThread[]): void;
+ setActive(id: string | null): void;
+ setMessages(messages: ChatMessage[]): void;
+ addMessage(message: ChatMessage): void;
+ appendStreaming(text: string): void;
+ clearStreaming(): void;
+ setLoading(loading: boolean): void;
+}
+
+export const useChat = create<ChatState>((set) => ({
+ threads: [],
+ activeId: null,
+ messages: [],
+ streaming: "",
+ loading: false,
+ setThreads: (threads) => set({ threads }),
+ setActive: (activeId) => set({ activeId }),
+ setMessages: (messages) => set({ messages }),
+ addMessage: (message) => set((s) => ({ messages: [...s.messages, message] })),
+ appendStreaming: (text) => set((s) => ({ streaming: s.streaming + text })),
+ clearStreaming: () => set({ streaming: "" }),
+ setLoading: (loading) => set({ loading }),
+}));
+
+interface BotsState {
+ bots: BotStatus[];
+ available: boolean;
+ activity: Record<string, string>;
+ setBots(bots: BotStatus[], available: boolean): void;
+ setActivity(botId: string, label: string | null): void;
+}
+
+export const useBots = create<BotsState>((set) => ({
+ bots: [],
+ available: true,
+ activity: {},
+ setBots: (bots, available) => set({ bots, available }),
+ setActivity: (botId, label) => set((s) => {
+ const activity = { ...s.activity };
+ if (label === null) delete activity[botId];
+ else activity[botId] = label;
+ return { activity };
+ }),
+}));
diff --git a/apps/desktop/src/app/theme.ts b/apps/desktop/src/app/theme.ts
new file mode 100644
index 00000000..8bb92d79
--- /dev/null
+++ b/apps/desktop/src/app/theme.ts
@@ -0,0 +1,81 @@
+/* Theme: light / dark / system, plus a tint for the accent. Applied to <html>. */
+
+import { create } from "zustand";
+
+export type ThemeMode = "light" | "dark" | "system";
+export type Tint = "mercury" | "graphite" | "teal" | "violet" | "amber";
+
+export const TINTS: Array<{ id: Tint; label: string; light: string; dark: string }> = [
+ { id: "mercury", label: "Mercury green", light: "#1A9E6E", dark: "#34E1A1" },
+ { id: "teal", label: "Teal", light: "#0E7C8C", dark: "#7FD8E8" },
+ { id: "graphite", label: "Graphite", light: "#4B5157", dark: "#AEB6BC" },
+ { id: "violet", label: "Violet", light: "#6D4CCC", dark: "#B19CFF" },
+ { id: "amber", label: "Amber", light: "#A0620A", dark: "#F5C451" },
+];
+
+interface ThemeState {
+ mode: ThemeMode;
+ tint: Tint;
+ resolved: "light" | "dark";
+ setMode(mode: ThemeMode): void;
+ setTint(tint: Tint): void;
+}
+
+const MODE_KEY = "mercury.theme";
+const TINT_KEY = "mercury.tint";
+
+function readStored<T extends string>(key: string, allowed: readonly T[], fallback: T): T {
+ try {
+ const v = localStorage.getItem(key) as T | null;
+ return v && allowed.includes(v) ? v : fallback;
+ } catch {
+ return fallback;
+ }
+}
+
+function systemDark(): boolean {
+ return typeof window !== "undefined" && window.matchMedia("(prefers-color-scheme: dark)").matches;
+}
+
+function resolve(mode: ThemeMode): "light" | "dark" {
+ return mode === "system" ? (systemDark() ? "dark" : "light") : mode;
+}
+
+function apply(resolved: "light" | "dark", tint: Tint): void {
+ const root = document.documentElement;
+ root.classList.toggle("dark", resolved === "dark");
+ if (tint === "mercury") root.removeAttribute("data-tint");
+ else root.setAttribute("data-tint", tint);
+}
+
+const initialMode = readStored<ThemeMode>(MODE_KEY, ["light", "dark", "system"], "system");
+const initialTint = readStored<Tint>(TINT_KEY, TINTS.map((t) => t.id), "mercury");
+const initialResolved = resolve(initialMode);
+if (typeof document !== "undefined") apply(initialResolved, initialTint);
+
+export const useTheme = create<ThemeState>((set, get) => ({
+ mode: initialMode,
+ tint: initialTint,
+ resolved: initialResolved,
+ setMode(mode) {
+ const resolved = resolve(mode);
+ try { localStorage.setItem(MODE_KEY, mode); } catch { /* ignore */ }
+ apply(resolved, get().tint);
+ set({ mode, resolved });
+ },
+ setTint(tint) {
+ try { localStorage.setItem(TINT_KEY, tint); } catch { /* ignore */ }
+ apply(get().resolved, tint);
+ set({ tint });
+ },
+}));
+
+if (typeof window !== "undefined") {
+ window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", () => {
+ const { mode, tint } = useTheme.getState();
+ if (mode !== "system") return;
+ const resolved = resolve(mode);
+ apply(resolved, tint);
+ useTheme.setState({ resolved });
+ });
+}
diff --git a/apps/desktop/src/components/Logo.tsx b/apps/desktop/src/components/Logo.tsx
new file mode 100644
index 00000000..e26e5d44
--- /dev/null
+++ b/apps/desktop/src/components/Logo.tsx
@@ -0,0 +1,29 @@
+import { useTheme } from "~/app/theme";
+import { cx } from "~/lib/cx";
+
+/** The Mercury mark (cat + ☿) from website/static/img; white on dark, black on light. */
+export function Mark({ size = 24, className }: { size?: number; className?: string }) {
+ const resolved = useTheme((s) => s.resolved);
+ return <img src={resolved === "dark" ? "/logo-dark.png" : "/logo-light.png"} alt="Mercury" width={size} height={size} className={cx("select-none", className)} draggable={false} />;
+}
+
+/** The "mercury agent" wordmark with its slow breathing glow (first run only). */
+export function Wordmark({ width = 240, breathe = true }: { width?: number; breathe?: boolean }) {
+ const resolved = useTheme((s) => s.resolved);
+ return (
+ <div className="relative flex items-center justify-center" style={{ width: width * 1.5, height: width * 0.5 }}>
+ <div
+ aria-hidden="true"
+ className={cx("pointer-events-none absolute rounded-full", breathe && "animate-breathe")}
+ style={{ width: width * 1.5, height: width * 0.7, background: "radial-gradient(closest-side, rgb(var(--glow) / 0.22), rgb(var(--glow) / 0))" }}
+ />
+ <img
+ src={resolved === "dark" ? "/logo-full-dark.png" : "/logo-full-light.png"}
+ alt="Mercury Agent"
+ className="relative select-none"
+ style={{ width, height: "auto", filter: "drop-shadow(0 0 22px rgb(var(--glow) / 0.35))" }}
+ draggable={false}
+ />
+ </div>
+ );
+}
diff --git a/apps/desktop/src/components/Markdown.tsx b/apps/desktop/src/components/Markdown.tsx
new file mode 100644
index 00000000..39d68c53
--- /dev/null
+++ b/apps/desktop/src/components/Markdown.tsx
@@ -0,0 +1,55 @@
+import { memo, useState } from "react";
+import ReactMarkdown from "react-markdown";
+import remarkGfm from "remark-gfm";
+import { Check, Copy } from "lucide-react";
+
+/** The agent's answers. Code blocks get a copy button; links open outside. */
+export const Markdown = memo(function Markdown({ text }: { text: string }) {
+ return (
+ <div className="prose" data-selectable>
+ <ReactMarkdown
+ remarkPlugins={[remarkGfm]}
+ components={{
+ a: ({ href, children }) => (
+ <a href={href} target="_blank" rel="noopener noreferrer">{children}</a>
+ ),
+ pre: ({ children }) => <CodeBlock>{children}</CodeBlock>,
+ }}
+ >
+ {text}
+ </ReactMarkdown>
+ </div>
+ );
+});
+
+function CodeBlock({ children }: { children: React.ReactNode }) {
+ const [copied, setCopied] = useState(false);
+ async function copy() {
+ const node = document.activeElement?.closest?.("pre") ?? null;
+ const text = extractText(children) || node?.textContent || "";
+ try {
+ await navigator.clipboard.writeText(text);
+ setCopied(true);
+ setTimeout(() => setCopied(false), 1200);
+ } catch { /* clipboard blocked */ }
+ }
+ return (
+ <div className="group relative">
+ <pre>{children}</pre>
+ <button
+ onClick={() => void copy()}
+ className="absolute right-2 top-2 rounded-md border border-line bg-surface p-1 text-ink3 opacity-0 transition-opacity hover:text-ink group-hover:opacity-100"
+ aria-label="Copy code"
+ >
+ {copied ? <Check size={13} className="text-accent" /> : <Copy size={13} />}
+ </button>
+ </div>
+ );
+}
+
+function extractText(node: React.ReactNode): string {
+ if (typeof node === "string") return node;
+ if (Array.isArray(node)) return node.map(extractText).join("");
+ if (node && typeof node === "object" && "props" in node) return extractText((node as { props: { children?: React.ReactNode } }).props.children);
+ return "";
+}
diff --git a/apps/desktop/src/components/indicators/Activity.tsx b/apps/desktop/src/components/indicators/Activity.tsx
new file mode 100644
index 00000000..e3510eab
--- /dev/null
+++ b/apps/desktop/src/components/indicators/Activity.tsx
@@ -0,0 +1,49 @@
+import { Check, CircleAlert } from "lucide-react";
+import { cx } from "~/lib/cx";
+import { Spinner } from "~/components/ui/bits";
+
+/** One tool call: running, done, or failed. Plain language first, the tool name second. */
+export function ActionResult({ tool, status, detail }: { tool: string; status: "running" | "done" | "error"; detail?: string }) {
+ return (
+ <div className={cx("flex items-center gap-2.5 rounded-md border border-line bg-surface px-2.5 py-1.5 text-xs", status === "error" && "border-red/30")}>
+ {status === "running" && <Spinner size={12} className="text-accent" />}
+ {status === "done" && <Check size={13} className="text-accent" aria-hidden="true" />}
+ {status === "error" && <CircleAlert size={13} className="text-red" aria-hidden="true" />}
+ <span className="font-mono text-ink">{tool}</span>
+ {detail && <span className="truncate text-ink3">{detail}</span>}
+ </div>
+ );
+}
+
+/** A step in the agent's plan. */
+export function PlanStep({ label, state }: { label: string; state: "todo" | "doing" | "done" | "blocked" }) {
+ return (
+ <div className={cx("flex items-center gap-2.5 text-sm", state === "todo" && "text-ink3", state === "doing" && "text-ink", state === "done" && "text-ink2", state === "blocked" && "text-amber")}>
+ <span className="flex h-4 w-4 shrink-0 items-center justify-center" aria-hidden="true">
+ {state === "todo" && <span className="block h-3.5 w-3.5 rounded-full border border-line-strong" />}
+ {state === "doing" && <span className="block h-3.5 w-3.5 animate-ring-spin rounded-full border-[1.5px] border-cyan border-r-transparent" />}
+ {state === "done" && <Check size={14} className="text-accent" />}
+ {state === "blocked" && <span className="block h-2 w-2 rounded-full bg-amber" />}
+ </span>
+ <span className={cx("truncate", state === "done" && "line-through decoration-ink4")}>{label}</span>
+ </div>
+ );
+}
+
+/** Token budget for the day. */
+export function BudgetMeter({ used, budget }: { used: number; budget: number }) {
+ const ratio = budget > 0 ? Math.min(1, used / budget) : 0;
+ return (
+ <div className="flex items-center gap-2 font-mono text-2xs text-ink3" title={`${used.toLocaleString()} of ${budget.toLocaleString()} tokens today`}>
+ <span className="h-1 w-16 overflow-hidden rounded-full bg-ink/[0.1]" aria-hidden="true">
+ <span className={cx("block h-full rounded-full", ratio > 0.9 ? "bg-red" : ratio > 0.7 ? "bg-amber" : "bg-accent")} style={{ width: `${ratio * 100}%` }} />
+ </span>
+ {Math.round(ratio * 100)}%
+ </div>
+ );
+}
+
+/** Inline "noted" chip: a thing the agent will remember or has recorded. */
+export function Noted({ children }: { children: React.ReactNode }) {
+ return <span className="inline-flex items-center gap-1 rounded-full bg-ink/[0.06] px-2 py-0.5 text-2xs text-ink2"><Check size={11} className="text-accent" aria-hidden="true" />{children}</span>;
+}
diff --git a/apps/desktop/src/components/indicators/Approval.tsx b/apps/desktop/src/components/indicators/Approval.tsx
new file mode 100644
index 00000000..6c8a5afc
--- /dev/null
+++ b/apps/desktop/src/components/indicators/Approval.tsx
@@ -0,0 +1,45 @@
+import { useState } from "react";
+import { cx } from "~/lib/cx";
+import type { PendingPrompt } from "~/api/types";
+import { Button } from "~/components/ui/Button";
+import { Kbd } from "~/components/ui/bits";
+
+/**
+ * "Needs you": a prompt the runtime raised and is waiting on. One card for
+ * all three kinds (tool permission, continue?, pick one). The amber edge is
+ * the only colour; the first option is the primary action.
+ */
+export function Approval({ prompt, onAnswer, compact }: { prompt: PendingPrompt; onAnswer: (value: string | null) => Promise<void> | void; compact?: boolean }) {
+ const [busy, setBusy] = useState<string | null>(null);
+ async function answer(value: string | null) {
+ setBusy(value ?? "__cancel");
+ try {
+ await onAnswer(value);
+ } finally {
+ setBusy(null);
+ }
+ }
+ const title = prompt.kind === "permission" ? "Allow this?" : prompt.kind === "continue" ? "Keep going?" : "Your pick";
+ return (
+ <div className={cx("rounded-lg border border-amber/40 bg-amber/[0.06] p-3", compact && "p-2.5")} role="group" aria-label={title}>
+ <div className="mb-1.5 flex items-center gap-2 text-xs font-medium text-amber">
+ <span className="block h-1.5 w-1.5 rounded-full bg-amber" aria-hidden="true" />
+ {title}
+ </div>
+ <pre className="mb-3 whitespace-pre-wrap font-mono text-[12.5px] leading-relaxed text-ink" data-selectable>{prompt.text}</pre>
+ <div className="flex flex-wrap items-center gap-1.5">
+ {prompt.options.map((o, i) => (
+ <Button key={o.value} size="sm" variant={i === 0 ? "primary" : "outline"} loading={busy === o.value} disabled={busy !== null} onClick={() => void answer(o.value)}>
+ {o.label}
+ </Button>
+ ))}
+ {prompt.kind === "choice" && (
+ <Button size="sm" variant="ghost" loading={busy === "__cancel"} disabled={busy !== null} onClick={() => void answer(null)}>
+ Cancel
+ </Button>
+ )}
+ {!compact && <span className="ml-auto hidden items-center gap-1 text-2xs text-ink4 sm:inline-flex"><Kbd>Y</Kbd> allow <Kbd>N</Kbd> deny</span>}
+ </div>
+ </div>
+ );
+}
diff --git a/apps/desktop/src/components/indicators/StateOrb.tsx b/apps/desktop/src/components/indicators/StateOrb.tsx
new file mode 100644
index 00000000..9e60f843
--- /dev/null
+++ b/apps/desktop/src/components/indicators/StateOrb.tsx
@@ -0,0 +1,55 @@
+import { cx } from "~/lib/cx";
+import type { AgentState } from "~/app/store";
+
+/**
+ * The one indicator of what the agent is doing. Same component in the
+ * rail, the thread header, the bot roster and the tray tooltip text.
+ *
+ * idle quiet dot
+ * thinking cyan dot with a slow ring
+ * streaming accent dot, steady
+ * working accent ring, spinning (a tool is running)
+ * needs-you amber dot, pulsing
+ * offline hollow grey dot
+ */
+export function StateOrb({ state, size = 10, className }: { state: AgentState; size?: number; className?: string }) {
+ const px = `${size}px`;
+ return (
+ <span className={cx("relative inline-flex shrink-0 items-center justify-center", className)} style={{ width: px, height: px }} role="img" aria-label={LABELS[state]}>
+ {state === "thinking" && <span className="absolute inset-[-3px] rounded-full border border-cyan/50 animate-breathe" />}
+ {state === "working" && <span className="absolute inset-[-2px] rounded-full border-[1.5px] border-accent border-r-transparent animate-ring-spin" />}
+ {state === "needs-you" && <span className="absolute inset-[-3px] rounded-full bg-amber/30 animate-dot-pulse" />}
+ <span
+ className={cx(
+ "block rounded-full",
+ state === "idle" && "bg-ink4",
+ state === "thinking" && "bg-cyan",
+ state === "streaming" && "bg-accent shadow-[0_0_8px_rgb(var(--glow)/0.6)]",
+ state === "working" && "bg-accent",
+ state === "needs-you" && "bg-amber",
+ state === "offline" && "border border-ink4 bg-transparent",
+ )}
+ style={{ width: Math.round(size * 0.6), height: Math.round(size * 0.6) }}
+ />
+ </span>
+ );
+}
+
+export const LABELS: Record<AgentState, string> = {
+ idle: "Idle",
+ thinking: "Thinking",
+ streaming: "Answering",
+ working: "Working",
+ "needs-you": "Needs you",
+ offline: "Offline",
+};
+
+export function StateLabel({ state, detail }: { state: AgentState; detail?: string }) {
+ return (
+ <span className="inline-flex items-center gap-2 font-mono text-2xs uppercase tracking-wider text-ink3">
+ <StateOrb state={state} size={9} />
+ <span className={cx(state === "needs-you" && "text-amber", state === "thinking" && "text-cyan", (state === "streaming" || state === "working") && "text-accent")}>{LABELS[state]}</span>
+ {detail && <span className="normal-case tracking-normal text-ink4">· {detail}</span>}
+ </span>
+ );
+}
diff --git a/apps/desktop/src/components/indicators/Thinking.tsx b/apps/desktop/src/components/indicators/Thinking.tsx
new file mode 100644
index 00000000..f2a20ccf
--- /dev/null
+++ b/apps/desktop/src/components/indicators/Thinking.tsx
@@ -0,0 +1,35 @@
+import { cx } from "~/lib/cx";
+
+/** Three dots that pulse in sequence: "thinking" in a message row. */
+export function ThinkingDots({ className, label = "Thinking" }: { className?: string; label?: string }) {
+ return (
+ <span className={cx("inline-flex items-center gap-2 text-sm text-ink3", className)} role="status" aria-label={label}>
+ <span className="inline-flex items-center gap-[3px]" aria-hidden="true">
+ {[0, 1, 2].map((i) => (
+ <span key={i} className="block h-1.5 w-1.5 rounded-full bg-cyan animate-dot-pulse" style={{ animationDelay: `${i * 0.16}s` }} />
+ ))}
+ </span>
+ {label}
+ </span>
+ );
+}
+
+/** Blinking caret at the end of streaming text. */
+export function StreamCaret() {
+ return <span className="ml-0.5 inline-block h-[1.1em] w-[2px] translate-y-[3px] bg-accent animate-caret-blink" aria-hidden="true" />;
+}
+
+/** Audio bars for listening / speaking (voice, later). */
+export function VoiceBars({ active = true, tone = "accent" }: { active?: boolean; tone?: "accent" | "cyan" }) {
+ return (
+ <span className="inline-flex h-3.5 items-end gap-[2px]" aria-hidden="true">
+ {[0.5, 0.9, 1, 0.7, 0.4].map((h, i) => (
+ <span
+ key={i}
+ className={cx("block w-[3px] origin-bottom rounded-sm", tone === "accent" ? "bg-accent" : "bg-cyan", active && "animate-bars")}
+ style={{ height: `${h * 14}px`, animationDelay: `${i * 0.12}s` }}
+ />
+ ))}
+ </span>
+ );
+}
diff --git a/apps/desktop/src/components/ui/Button.tsx b/apps/desktop/src/components/ui/Button.tsx
new file mode 100644
index 00000000..9bc5b2ca
--- /dev/null
+++ b/apps/desktop/src/components/ui/Button.tsx
@@ -0,0 +1,41 @@
+import { forwardRef, type ButtonHTMLAttributes } from "react";
+import { cx } from "~/lib/cx";
+
+type Variant = "primary" | "secondary" | "ghost" | "danger" | "outline";
+type Size = "sm" | "md" | "lg";
+
+export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
+ variant?: Variant;
+ size?: Size;
+ icon?: boolean;
+ loading?: boolean;
+}
+
+const base = "inline-flex select-none items-center justify-center gap-1.5 whitespace-nowrap rounded-md font-medium transition-colors disabled:pointer-events-none disabled:opacity-50";
+
+const variants: Record<Variant, string> = {
+ primary: "bg-accent text-on-accent hover:bg-accent/90",
+ secondary: "bg-ink/[0.06] text-ink hover:bg-ink/[0.1]",
+ outline: "border border-line-strong text-ink hover:bg-ink/[0.05]",
+ ghost: "text-ink2 hover:bg-ink/[0.06] hover:text-ink",
+ danger: "bg-red/10 text-red hover:bg-red/15",
+};
+
+const sizes: Record<Size, string> = {
+ sm: "h-7 px-2.5 text-xs",
+ md: "h-8 px-3 text-sm",
+ lg: "h-10 px-4 text-sm",
+};
+
+const iconSizes: Record<Size, string> = { sm: "h-7 w-7", md: "h-8 w-8", lg: "h-10 w-10" };
+
+export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button(
+ { variant = "secondary", size = "md", icon = false, loading = false, className, children, disabled, ...rest },
+ ref,
+) {
+ return (
+ <button ref={ref} className={cx(base, variants[variant], icon ? iconSizes[size] : sizes[size], icon && "px-0", className)} disabled={disabled || loading} {...rest}>
+ {loading ? <span className="h-3.5 w-3.5 animate-ring-spin rounded-full border-[1.5px] border-current border-r-transparent" aria-hidden="true" /> : children}
+ </button>
+ );
+});
diff --git a/apps/desktop/src/components/ui/Dialog.tsx b/apps/desktop/src/components/ui/Dialog.tsx
new file mode 100644
index 00000000..48a87ef2
--- /dev/null
+++ b/apps/desktop/src/components/ui/Dialog.tsx
@@ -0,0 +1,29 @@
+import * as RadixDialog from "@radix-ui/react-dialog";
+import { X } from "lucide-react";
+import type { ReactNode } from "react";
+import { cx } from "~/lib/cx";
+
+export function Dialog({ open, onOpenChange, title, description, children, width = 440 }: { open: boolean; onOpenChange: (open: boolean) => void; title: string; description?: string; children: ReactNode; width?: number }) {
+ return (
+ <RadixDialog.Root open={open} onOpenChange={onOpenChange}>
+ <RadixDialog.Portal>
+ <RadixDialog.Overlay className="fixed inset-0 z-40 bg-black/40 animate-fade-in" />
+ <RadixDialog.Content
+ style={{ width }}
+ className={cx("fixed left-1/2 top-1/2 z-50 max-h-[85vh] -translate-x-1/2 -translate-y-1/2 overflow-y-auto rounded-xl border border-line bg-surface p-5 shadow-2xl animate-fade-in")}
+ >
+ <div className="mb-4 flex items-start justify-between gap-4">
+ <div>
+ <RadixDialog.Title className="text-md font-semibold text-ink">{title}</RadixDialog.Title>
+ {description && <RadixDialog.Description className="mt-0.5 text-sm text-ink3">{description}</RadixDialog.Description>}
+ </div>
+ <RadixDialog.Close className="rounded-md p-1 text-ink3 hover:bg-ink/[0.06] hover:text-ink" aria-label="Close">
+ <X size={16} />
+ </RadixDialog.Close>
+ </div>
+ {children}
+ </RadixDialog.Content>
+ </RadixDialog.Portal>
+ </RadixDialog.Root>
+ );
+}
diff --git a/apps/desktop/src/components/ui/Input.tsx b/apps/desktop/src/components/ui/Input.tsx
new file mode 100644
index 00000000..ebab528c
--- /dev/null
+++ b/apps/desktop/src/components/ui/Input.tsx
@@ -0,0 +1,37 @@
+import { forwardRef, type InputHTMLAttributes, type LabelHTMLAttributes } from "react";
+import { cx } from "~/lib/cx";
+
+export const Input = forwardRef<HTMLInputElement, InputHTMLAttributes<HTMLInputElement> & { mono?: boolean }>(function Input({ className, mono, ...rest }, ref) {
+ return (
+ <input
+ ref={ref}
+ className={cx(
+ "h-9 w-full rounded-md border border-line bg-surface px-3 text-sm text-ink placeholder:text-ink4 transition-colors focus:border-accent/60",
+ mono && "font-mono text-[12.5px]",
+ className,
+ )}
+ autoCapitalize="off"
+ autoCorrect="off"
+ spellCheck={false}
+ {...rest}
+ />
+ );
+});
+
+export function Label({ className, children, ...rest }: LabelHTMLAttributes<HTMLLabelElement>) {
+ return (
+ <label className={cx("block text-xs font-medium text-ink2", className)} {...rest}>
+ {children}
+ </label>
+ );
+}
+
+export function Field({ label, htmlFor, hint, children }: { label: string; htmlFor: string; hint?: string; children: React.ReactNode }) {
+ return (
+ <div className="flex flex-col gap-1.5">
+ <Label htmlFor={htmlFor}>{label}</Label>
+ {children}
+ {hint && <p className="text-2xs text-ink3">{hint}</p>}
+ </div>
+ );
+}
diff --git a/apps/desktop/src/components/ui/Menu.tsx b/apps/desktop/src/components/ui/Menu.tsx
new file mode 100644
index 00000000..298761b6
--- /dev/null
+++ b/apps/desktop/src/components/ui/Menu.tsx
@@ -0,0 +1,47 @@
+import * as Dropdown from "@radix-ui/react-dropdown-menu";
+import { Check } from "lucide-react";
+import type { ReactNode } from "react";
+import { cx } from "~/lib/cx";
+
+export function Menu({ trigger, children, align = "start", side = "bottom" }: { trigger: ReactNode; children: ReactNode; align?: "start" | "center" | "end"; side?: "top" | "bottom" | "left" | "right" }) {
+ return (
+ <Dropdown.Root>
+ <Dropdown.Trigger asChild>{trigger}</Dropdown.Trigger>
+ <Dropdown.Portal>
+ <Dropdown.Content
+ align={align}
+ side={side}
+ sideOffset={6}
+ className="z-50 min-w-[200px] rounded-lg border border-line bg-raised p-1 text-sm text-ink shadow-xl animate-fade-in"
+ >
+ {children}
+ </Dropdown.Content>
+ </Dropdown.Portal>
+ </Dropdown.Root>
+ );
+}
+
+export function MenuItem({ children, onSelect, selected, disabled, hint, destructive }: { children: ReactNode; onSelect?: () => void; selected?: boolean; disabled?: boolean; hint?: string; destructive?: boolean }) {
+ return (
+ <Dropdown.Item
+ disabled={disabled}
+ onSelect={() => onSelect?.()}
+ className={cx(
+ "flex cursor-default items-center gap-2 rounded-md px-2 py-1.5 outline-none data-[highlighted]:bg-ink/[0.06] data-[disabled]:opacity-40",
+ destructive && "text-red",
+ )}
+ >
+ <span className="flex-1 truncate">{children}</span>
+ {hint && <span className="font-mono text-2xs text-ink3">{hint}</span>}
+ {selected && <Check size={14} className="text-accent" aria-hidden="true" />}
+ </Dropdown.Item>
+ );
+}
+
+export function MenuLabel({ children }: { children: ReactNode }) {
+ return <Dropdown.Label className="px-2 pb-1 pt-1.5 text-2xs font-medium uppercase tracking-wider text-ink3">{children}</Dropdown.Label>;
+}
+
+export function MenuSeparator() {
+ return <Dropdown.Separator className="my-1 h-px bg-line" />;
+}
diff --git a/apps/desktop/src/components/ui/Switch.tsx b/apps/desktop/src/components/ui/Switch.tsx
new file mode 100644
index 00000000..84b37a5b
--- /dev/null
+++ b/apps/desktop/src/components/ui/Switch.tsx
@@ -0,0 +1,20 @@
+import * as RadixSwitch from "@radix-ui/react-switch";
+import { cx } from "~/lib/cx";
+
+export function Switch({ checked, onCheckedChange, disabled, label, id }: { checked: boolean; onCheckedChange: (v: boolean) => void; disabled?: boolean; label?: string; id?: string }) {
+ return (
+ <span className="inline-flex items-center gap-2">
+ <RadixSwitch.Root
+ id={id}
+ checked={checked}
+ onCheckedChange={onCheckedChange}
+ disabled={disabled}
+ aria-label={label}
+ className={cx("relative h-5 w-9 shrink-0 rounded-full border border-line transition-colors data-[state=checked]:bg-accent data-[state=unchecked]:bg-ink/[0.12] disabled:opacity-50")}
+ >
+ <RadixSwitch.Thumb className="block h-4 w-4 translate-x-[1px] rounded-full bg-white shadow transition-transform data-[state=checked]:translate-x-[17px]" />
+ </RadixSwitch.Root>
+ {label && <label htmlFor={id} className="text-sm text-ink">{label}</label>}
+ </span>
+ );
+}
diff --git a/apps/desktop/src/components/ui/Tooltip.tsx b/apps/desktop/src/components/ui/Tooltip.tsx
new file mode 100644
index 00000000..85a10712
--- /dev/null
+++ b/apps/desktop/src/components/ui/Tooltip.tsx
@@ -0,0 +1,24 @@
+import * as RadixTooltip from "@radix-ui/react-tooltip";
+import type { ReactNode } from "react";
+
+export function TooltipProvider({ children }: { children: ReactNode }) {
+ return <RadixTooltip.Provider delayDuration={400} skipDelayDuration={200}>{children}</RadixTooltip.Provider>;
+}
+
+export function Tooltip({ label, side = "right", children, shortcut }: { label: string; side?: "top" | "right" | "bottom" | "left"; children: ReactNode; shortcut?: string }) {
+ return (
+ <RadixTooltip.Root>
+ <RadixTooltip.Trigger asChild>{children}</RadixTooltip.Trigger>
+ <RadixTooltip.Portal>
+ <RadixTooltip.Content
+ side={side}
+ sideOffset={8}
+ className="z-50 flex items-center gap-2 rounded-md border border-line bg-raised px-2 py-1 text-xs text-ink shadow-lg animate-fade-in"
+ >
+ {label}
+ {shortcut && <kbd className="rounded border border-line px-1 font-mono text-2xs text-ink3">{shortcut}</kbd>}
+ </RadixTooltip.Content>
+ </RadixTooltip.Portal>
+ </RadixTooltip.Root>
+ );
+}
diff --git a/apps/desktop/src/components/ui/bits.tsx b/apps/desktop/src/components/ui/bits.tsx
new file mode 100644
index 00000000..386bd50a
--- /dev/null
+++ b/apps/desktop/src/components/ui/bits.tsx
@@ -0,0 +1,73 @@
+import type { ReactNode } from "react";
+import { cx } from "~/lib/cx";
+
+/* Small, single-purpose pieces used across views. */
+
+export function Kbd({ children }: { children: ReactNode }) {
+ return <kbd className="rounded border border-line bg-ink/[0.04] px-1.5 py-px font-mono text-2xs text-ink3">{children}</kbd>;
+}
+
+export function Badge({ children, tone = "neutral", className }: { children: ReactNode; tone?: "neutral" | "accent" | "amber" | "red" | "cyan"; className?: string }) {
+ const tones = {
+ neutral: "bg-ink/[0.06] text-ink2",
+ accent: "bg-accent/15 text-accent",
+ amber: "bg-amber/15 text-amber",
+ red: "bg-red/12 text-red",
+ cyan: "bg-cyan/15 text-cyan",
+ };
+ return <span className={cx("inline-flex h-5 items-center rounded-full px-2 font-mono text-2xs font-medium", tones[tone], className)}>{children}</span>;
+}
+
+export function Spinner({ size = 14, className }: { size?: number; className?: string }) {
+ return <span style={{ width: size, height: size }} className={cx("inline-block animate-ring-spin rounded-full border-[1.5px] border-current border-r-transparent", className)} aria-hidden="true" />;
+}
+
+export function Empty({ title, body, action }: { title: string; body?: string; action?: ReactNode }) {
+ return (
+ <div className="flex h-full flex-col items-center justify-center gap-2 p-8 text-center">
+ <div className="text-md font-medium text-ink">{title}</div>
+ {body && <p className="max-w-[380px] text-sm text-ink3">{body}</p>}
+ {action && <div className="mt-2">{action}</div>}
+ </div>
+ );
+}
+
+export function Segmented<T extends string>({ value, onChange, options, size = "sm" }: { value: T; onChange: (v: T) => void; options: Array<{ value: T; label: string }>; size?: "sm" | "md" }) {
+ return (
+ <div className={cx("inline-flex rounded-md border border-line bg-ink/[0.03] p-0.5", size === "sm" ? "text-xs" : "text-sm")} role="tablist">
+ {options.map((o) => (
+ <button
+ key={o.value}
+ role="tab"
+ aria-selected={value === o.value}
+ onClick={() => onChange(o.value)}
+ className={cx("rounded-[5px] px-2.5 py-1 transition-colors", value === o.value ? "bg-surface text-ink shadow-sm" : "text-ink3 hover:text-ink")}
+ >
+ {o.label}
+ </button>
+ ))}
+ </div>
+ );
+}
+
+export function SectionTitle({ children, right }: { children: ReactNode; right?: ReactNode }) {
+ return (
+ <div className="flex items-center justify-between">
+ <h2 className="text-2xs font-medium uppercase tracking-wider text-ink3">{children}</h2>
+ {right}
+ </div>
+ );
+}
+
+export function Row({ children, className, onClick, active }: { children: ReactNode; className?: string; onClick?: () => void; active?: boolean }) {
+ const Tag = onClick ? "button" : "div";
+ return (
+ <Tag onClick={onClick} className={cx("flex w-full items-center gap-3 rounded-md px-2.5 py-2 text-left text-sm", onClick && "hover:bg-ink/[0.05]", active && "bg-ink/[0.07]", className)}>
+ {children}
+ </Tag>
+ );
+}
+
+export function Mono({ children, className }: { children: ReactNode; className?: string }) {
+ return <span className={cx("font-mono text-xs text-ink3", className)} data-selectable>{children}</span>;
+}
diff --git a/apps/desktop/src/layout/Rail.tsx b/apps/desktop/src/layout/Rail.tsx
new file mode 100644
index 00000000..ebea0e2f
--- /dev/null
+++ b/apps/desktop/src/layout/Rail.tsx
@@ -0,0 +1,76 @@
+import { Bot, Code2, MessageSquare, Puzzle, Settings, Sparkles } from "lucide-react";
+import { useEffect } from "react";
+import { cx } from "~/lib/cx";
+import { useRuntimeState, useUi, type View } from "~/app/store";
+import { Mark } from "~/components/Logo";
+import { StateOrb, LABELS } from "~/components/indicators/StateOrb";
+import { Tooltip } from "~/components/ui/Tooltip";
+
+const ITEMS: Array<{ view: View; label: string; icon: typeof MessageSquare; key: string }> = [
+ { view: "chat", label: "Chat", icon: MessageSquare, key: "1" },
+ { view: "code", label: "Code", icon: Code2, key: "2" },
+ { view: "bots", label: "Bots", icon: Bot, key: "3" },
+ { view: "plugins", label: "Plugins", icon: Puzzle, key: "4" },
+ { view: "skills", label: "Skills", icon: Sparkles, key: "5" },
+];
+
+/**
+ * The left rail: the mark with the agent's state, five places, settings.
+ * Switching is a store write, so it is instant and keeps every view's
+ * scroll position and drafts.
+ */
+export function Rail({ connectionName }: { connectionName: string }) {
+ const view = useUi((s) => s.view);
+ const setView = useUi((s) => s.setView);
+ const agent = useRuntimeState((s) => s.agent);
+ const prompts = useRuntimeState((s) => s.prompts.length);
+
+ useEffect(() => {
+ const onKey = (e: KeyboardEvent) => {
+ if (!(e.metaKey || e.ctrlKey) || e.altKey || e.shiftKey) return;
+ const hit = ITEMS.find((i) => i.key === e.key);
+ if (hit) { e.preventDefault(); setView(hit.view); }
+ if (e.key === ",") { e.preventDefault(); setView("settings"); }
+ };
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [setView]);
+
+ return (
+ <nav className="flex h-full w-[56px] shrink-0 flex-col items-center border-r border-line bg-soft pb-3 pt-[14px]" data-tauri-drag-region aria-label="Primary">
+ <Tooltip label={`${LABELS[agent]} · ${connectionName}`}>
+ <button onClick={() => setView("chat")} className="relative mb-4 flex h-9 w-9 items-center justify-center rounded-md" aria-label="Mercury">
+ <Mark size={26} />
+ <StateOrb state={agent} size={9} className="absolute -bottom-0.5 -right-0.5 rounded-full bg-soft p-[2px]" />
+ </button>
+ </Tooltip>
+
+ <div className="flex flex-col gap-1">
+ {ITEMS.map(({ view: v, label, icon: Icon, key }) => (
+ <Tooltip key={v} label={label} shortcut={`⌘${key}`}>
+ <button
+ onClick={() => setView(v)}
+ aria-current={view === v ? "page" : undefined}
+ className={cx("relative flex h-9 w-9 items-center justify-center rounded-md transition-colors", view === v ? "bg-ink/[0.08] text-ink" : "text-ink3 hover:bg-ink/[0.05] hover:text-ink")}
+ >
+ <Icon size={18} strokeWidth={1.75} />
+ {v === "chat" && prompts > 0 && <span className="absolute right-1.5 top-1.5 block h-1.5 w-1.5 rounded-full bg-amber" aria-label={`${prompts} waiting`} />}
+ </button>
+ </Tooltip>
+ ))}
+ </div>
+
+ <div className="flex-1" />
+
+ <Tooltip label="Settings" shortcut="⌘,">
+ <button
+ onClick={() => setView("settings")}
+ aria-current={view === "settings" ? "page" : undefined}
+ className={cx("flex h-9 w-9 items-center justify-center rounded-md transition-colors", view === "settings" ? "bg-ink/[0.08] text-ink" : "text-ink3 hover:bg-ink/[0.05] hover:text-ink")}
+ >
+ <Settings size={18} strokeWidth={1.75} />
+ </button>
+ </Tooltip>
+ </nav>
+ );
+}
diff --git a/apps/desktop/src/layout/Workspace.tsx b/apps/desktop/src/layout/Workspace.tsx
new file mode 100644
index 00000000..dbf2065b
--- /dev/null
+++ b/apps/desktop/src/layout/Workspace.tsx
@@ -0,0 +1,50 @@
+import { useEffect } from "react";
+import { useUi, type View } from "~/app/store";
+import { useRuntimeEvents, refreshBots, refreshThreads } from "~/app/events";
+import type { Connection } from "~/shell/connections";
+import type { HealthInfo } from "~/api/types";
+import { Rail } from "./Rail";
+import { ChatView } from "~/views/chat/ChatView";
+import { CodeView } from "~/views/code/CodeView";
+import { BotsView } from "~/views/bots/BotsView";
+import { PluginsView } from "~/views/plugins/PluginsView";
+import { SkillsView } from "~/views/skills/SkillsView";
+import { SettingsView } from "~/views/settings/SettingsView";
+
+/**
+ * Everything after a connection is up. All views stay mounted; the active
+ * one is shown. No lazy chunks, no transitions: the app is already here.
+ */
+export function Workspace({ connection, health, onSwitchConnection }: { connection: Connection; health: HealthInfo; onSwitchConnection: () => void }) {
+ const view = useUi((s) => s.view);
+ useRuntimeEvents(true);
+
+ useEffect(() => {
+ void refreshThreads();
+ void refreshBots();
+ }, [connection.id]);
+
+ return (
+ <div className="flex h-full w-full overflow-hidden bg-bg">
+ <Rail connectionName={connection.name} />
+ <main className="relative flex min-w-0 flex-1 flex-col">
+ <Pane active={view === "chat"}><ChatView mode="chat" /></Pane>
+ <Pane active={view === "code"}><CodeView /></Pane>
+ <Pane active={view === "bots"}><BotsView /></Pane>
+ <Pane active={view === "plugins"}><PluginsView /></Pane>
+ <Pane active={view === "skills"}><SkillsView /></Pane>
+ <Pane active={view === "settings"}><SettingsView connection={connection} health={health} onSwitchConnection={onSwitchConnection} /></Pane>
+ </main>
+ </div>
+ );
+}
+
+function Pane({ active, children }: { active: boolean; children: React.ReactNode }) {
+ return (
+ <div className="absolute inset-0 flex flex-col" hidden={!active} aria-hidden={!active}>
+ {children}
+ </div>
+ );
+}
+
+export type { View };
diff --git a/apps/desktop/src/lib/cx.ts b/apps/desktop/src/lib/cx.ts
new file mode 100644
index 00000000..4dab6c6a
--- /dev/null
+++ b/apps/desktop/src/lib/cx.ts
@@ -0,0 +1,5 @@
+import { clsx, type ClassValue } from "clsx";
+
+export function cx(...inputs: ClassValue[]): string {
+ return clsx(inputs);
+}
diff --git a/apps/desktop/src/main.tsx b/apps/desktop/src/main.tsx
index dce4380b..3b28c218 100644
--- a/apps/desktop/src/main.tsx
+++ b/apps/desktop/src/main.tsx
@@ -1,15 +1,11 @@
import React from "react";
import ReactDOM from "react-dom/client";
-import { HashRouter } from "react-router-dom";
-import { Shell } from "./shell/Shell";
-import "./styles.css";
+import { App } from "./app/App";
+import "./styles/base.css";
+import "./app/theme";
-// HashRouter: the bundled app is served from a custom protocol with no
-// server-side fallback, so "/chat/abc" must live in the fragment.
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
- <HashRouter>
- <Shell />
- </HashRouter>
+ <App />
</React.StrictMode>
);
diff --git a/apps/desktop/src/shell/AddRemote.tsx b/apps/desktop/src/shell/AddRemote.tsx
index 44d35f1e..6a115b21 100644
--- a/apps/desktop/src/shell/AddRemote.tsx
+++ b/apps/desktop/src/shell/AddRemote.tsx
@@ -1,17 +1,17 @@
import { useState, type FormEvent } from "react";
-import api, { PairError } from "@/lib/api";
-import { normalizeBaseUrl } from "@/lib/connection";
-import { cn } from "@/lib/utils";
+import * as api from "~/api/mercury";
+import { ApiError, normalizeBaseUrl } from "~/api/client";
+import { Button } from "~/components/ui/Button";
+import { Field, Input } from "~/components/ui/Input";
+import { Segmented } from "~/components/ui/bits";
import { desktop } from "./tauri";
import { newConnectionId, useConnections } from "./connections";
/**
- * Pair with a runtime that is not on this computer. Two ways in:
- * - sign in with the dashboard username/password → the runtime mints a
- * device token for this app (POST /api/auth/token);
- * - paste a token made on that machine with `mercury devices add`.
- * Either way the password never persists here; only the token does, in
- * the OS keychain.
+ * Pair with a runtime that is not on this computer: sign in with the
+ * dashboard password (the runtime mints a device token for this app), or
+ * paste a token made there with `mercury devices add`. Only the token is
+ * kept, in the OS keychain.
*/
export function AddRemote({ onAdded }: { onAdded: () => void }) {
const [mode, setMode] = useState<"password" | "token">("password");
@@ -29,19 +29,15 @@ export function AddRemote({ onAdded }: { onAdded: () => void }) {
e.preventDefault();
setError(null);
const baseUrl = normalizeBaseUrl(url);
- if (!/^https?:\/\//i.test(baseUrl)) {
- setError("Enter the runtime's address, starting with http:// or https://");
- return;
- }
+ if (!/^https?:\/\//i.test(baseUrl)) { setError("Enter the runtime's address, starting with http:// or https://"); return; }
setBusy(true);
try {
const platform = await desktop.platform();
const host = await desktop.hostname();
- const deviceName = `${host} · Mercury Desktop`;
- let deviceId: string | undefined;
let credential: string;
+ let deviceId: string | undefined;
if (mode === "password") {
- const paired = await api.auth.pair(baseUrl, username.trim(), password, deviceName, platform);
+ const paired = await api.auth.pair(baseUrl, username.trim(), password, `${host} · Mercury Desktop`, platform);
credential = paired.token;
deviceId = paired.device.id;
} else {
@@ -52,67 +48,42 @@ export function AddRemote({ onAdded }: { onAdded: () => void }) {
deviceId = credential.split("_")[1];
}
const id = newConnectionId();
- const label = name.trim() || new URL(baseUrl).host;
- await add({ id, kind: "remote", name: label, baseUrl, deviceId }, credential);
+ await add({ id, kind: "remote", name: name.trim() || new URL(baseUrl).host, baseUrl, deviceId }, credential);
await setActive(id);
setPassword("");
setToken("");
onAdded();
} catch (err) {
- if (err instanceof PairError) {
- setError(err.status === 429 && err.retryAfterSeconds ? `Too many attempts. Try again in ${Math.ceil(err.retryAfterSeconds / 60)} min.` : err.message);
- } else if (err instanceof TypeError) {
- setError("Could not reach that address. Check the URL, and that the runtime is reachable from here (tunnel, VPN, or a public host).");
- } else {
- setError(err instanceof Error ? err.message : String(err));
- }
+ if (err instanceof ApiError && err.status === 429 && err.retryAfterSeconds) setError(`Too many attempts. Try again in ${Math.ceil(err.retryAfterSeconds / 60)} min.`);
+ else if (err instanceof TypeError) setError("Could not reach that address. Check the URL and that the runtime is reachable from here (tunnel, VPN, or a public host).");
+ else setError(err instanceof Error ? err.message : String(err));
} finally {
setBusy(false);
}
}
return (
- <form onSubmit={(e) => void submit(e)} className="flex flex-1 flex-col gap-2.5">
- <Label htmlFor="remote-url">Address</Label>
- <input id="remote-url" value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://mercury.tail1234.ts.net" autoCapitalize="off" autoCorrect="off" spellCheck={false} className={inputClass} />
-
- <div className="flex gap-1 rounded-md border border-border p-0.5 text-[11px]">
- <button type="button" onClick={() => setMode("password")} className={cn("flex-1 rounded px-2 py-1", mode === "password" ? "bg-muted text-foreground" : "text-muted-foreground")}>Sign in</button>
- <button type="button" onClick={() => setMode("token")} className={cn("flex-1 rounded px-2 py-1", mode === "token" ? "bg-muted text-foreground" : "text-muted-foreground")}>Device token</button>
- </div>
-
+ <form onSubmit={(e) => void submit(e)} className="flex flex-col gap-3">
+ <Field label="Address" htmlFor="remote-url">
+ <Input id="remote-url" value={url} onChange={(e) => setUrl(e.target.value)} placeholder="https://mercury.tail1234.ts.net" mono />
+ </Field>
+ <Segmented value={mode} onChange={setMode} options={[{ value: "password", label: "Sign in" }, { value: "token", label: "Device token" }]} />
{mode === "password" ? (
<>
- <Label htmlFor="remote-user">Username</Label>
- <input id="remote-user" value={username} onChange={(e) => setUsername(e.target.value)} autoComplete="username" className={inputClass} />
- <Label htmlFor="remote-pass">Password</Label>
- <input id="remote-pass" type="password" value={password} onChange={(e) => setPassword(e.target.value)} autoComplete="current-password" className={inputClass} />
+ <Field label="Username" htmlFor="remote-user"><Input id="remote-user" value={username} onChange={(e) => setUsername(e.target.value)} autoComplete="username" /></Field>
+ <Field label="Password" htmlFor="remote-pass"><Input id="remote-pass" type="password" value={password} onChange={(e) => setPassword(e.target.value)} autoComplete="current-password" /></Field>
</>
) : (
- <>
- <Label htmlFor="remote-token">Device token</Label>
- <input id="remote-token" type="password" value={token} onChange={(e) => setToken(e.target.value)} placeholder="mercury devices add on that machine" autoComplete="off" className={inputClass} />
- </>
+ <Field label="Device token" htmlFor="remote-token" hint="Made on that machine with: mercury devices add">
+ <Input id="remote-token" type="password" value={token} onChange={(e) => setToken(e.target.value)} autoComplete="off" mono />
+ </Field>
)}
-
- <Label htmlFor="remote-name">Name (optional)</Label>
- <input id="remote-name" value={name} onChange={(e) => setName(e.target.value)} placeholder="Home server" className={inputClass} />
-
- {error && <div className="rounded-md border border-destructive/40 bg-destructive/10 px-2 py-1.5 text-[11.5px] text-destructive">{error}</div>}
-
- <div className="flex-1" />
- <div className="flex gap-2">
- <button type="submit" disabled={busy} className="h-10 flex-1 rounded-lg border border-border bg-muted/40 text-sm font-semibold text-foreground hover:bg-muted disabled:opacity-60">
- {busy ? "Connecting…" : "Connect"}
- </button>
- <button type="button" disabled className="h-10 rounded-lg border border-border px-3 text-xs font-semibold text-muted-foreground opacity-60" title="QR pairing arrives with the phone app">Scan QR</button>
+ <Field label="Name (optional)" htmlFor="remote-name"><Input id="remote-name" value={name} onChange={(e) => setName(e.target.value)} placeholder="Home server" /></Field>
+ {error && <div className="rounded-md border border-red/30 bg-red/[0.06] px-2.5 py-1.5 text-xs text-red">{error}</div>}
+ <div className="mt-1 flex gap-2">
+ <Button type="submit" variant="primary" size="lg" className="flex-1" loading={busy}>Connect</Button>
+ <Button type="button" variant="outline" size="lg" disabled title="QR pairing arrives with the phone app">Scan QR</Button>
</div>
</form>
);
}
-
-const inputClass = "h-9 rounded-md border border-border bg-background px-3 font-mono text-[12.5px] text-foreground outline-none focus:border-primary";
-
-function Label({ children, htmlFor }: { children: string; htmlFor: string }) {
- return <label htmlFor={htmlFor} className="font-mono text-[10px] tracking-wider text-muted-foreground">{children.toUpperCase()}</label>;
-}
diff --git a/apps/desktop/src/shell/ConnectionPill.tsx b/apps/desktop/src/shell/ConnectionPill.tsx
deleted file mode 100644
index 0464561b..00000000
--- a/apps/desktop/src/shell/ConnectionPill.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import { useState } from "react";
-import type { HealthInfo } from "@/lib/api";
-import type { Connection } from "./connections";
-
-/**
- * Where am I connected? A small pill in the corner of the dashboard until
- * the cockpit HUD (design v2, board 02) absorbs it.
- */
-export function ConnectionPill({ connection, health, onSwitch }: { connection: Connection; health: HealthInfo; onSwitch: () => void }) {
- const [open, setOpen] = useState(false);
- return (
- <div className="fixed bottom-3 right-3 z-50 flex flex-col items-end gap-1">
- {open && (
- <div className="w-64 rounded-lg border border-border bg-card p-3 text-xs shadow-lg">
- <div className="font-mono text-[11px] text-muted-foreground">{connection.baseUrl}</div>
- <div className="mt-1 flex items-center justify-between">
- <span>Mercury {health.version}</span>
- <span className="text-muted-foreground">API v{health.apiVersion}</span>
- </div>
- <div className="mt-1 text-muted-foreground">
- {connection.kind === "local" ? "On this computer · pid " + health.pid : "Remote · device token"}
- </div>
- <button className="mt-3 w-full rounded-md border border-border px-2 py-1.5 text-xs hover:bg-muted" onClick={onSwitch}>
- Switch connection…
- </button>
- </div>
- )}
- <button
- onClick={() => setOpen((o) => !o)}
- className="flex h-7 items-center gap-2 rounded-full border border-border bg-background/90 px-3 text-xs backdrop-blur hover:bg-muted"
- title={connection.baseUrl}
- >
- <span className="block h-2 w-2 rounded-full bg-primary shadow-[0_0_6px_hsl(var(--primary))]" aria-hidden="true" />
- <span className="max-w-[160px] truncate">{connection.name}</span>
- </button>
- </div>
- );
-}
diff --git a/apps/desktop/src/shell/InstallRuntime.tsx b/apps/desktop/src/shell/InstallRuntime.tsx
index db9aef9d..7f8c1c08 100644
--- a/apps/desktop/src/shell/InstallRuntime.tsx
+++ b/apps/desktop/src/shell/InstallRuntime.tsx
@@ -1,12 +1,16 @@
import { useEffect, useRef, useState } from "react";
-import api from "@/lib/api";
+import * as api from "~/api/mercury";
+import { Button } from "~/components/ui/Button";
+import { Field, Input } from "~/components/ui/Input";
+import { Switch } from "~/components/ui/Switch";
+import { Mono } from "~/components/ui/bits";
import { desktop, isTauri, type InstallProgress } from "./tauri";
import { LOCAL_CONNECTION_ID, useConnections } from "./connections";
/**
- * "Install Mercury here": download the matching runtime release, verify it,
- * put it in ~/.mercury/bin, write the minimum config, register the service
- * and start it — then attach, exactly like the "found here" path.
+ * "Install Mercury here": download the matching release, verify it, put it
+ * in ~/.mercury/bin, write the minimum config, register the service, start
+ * it, attach. The user types a name and clicks once.
*/
type Step = "idle" | "download" | "setup" | "service" | "start" | "done" | "failed";
@@ -29,7 +33,7 @@ export function InstallRuntime({ platform, onInstalled }: { platform: string; on
setStep("download");
try {
unlisten.current = await desktop.onInstallProgress(setProgress);
- const installed = await desktop.installRuntime();
+ await desktop.installRuntime();
unlisten.current?.();
unlisten.current = null;
@@ -37,9 +41,9 @@ export function InstallRuntime({ platform, onInstalled }: { platform: string; on
const setup = await desktop.runMercury(["setup", "--headless", "--owner", owner.trim() || "Owner", "--json"]);
if (setup.code !== 0) throw new Error(firstLine(setup.stderr || setup.stdout) || "mercury setup failed");
try {
- const parsed = JSON.parse(lastJsonLine(setup.stdout)) as { username?: string; password?: string | null; webPort?: number };
+ const parsed = JSON.parse(lastJsonLine(setup.stdout)) as { username?: string; password?: string | null };
if (parsed.username && parsed.password) setCredentials({ username: parsed.username, password: parsed.password });
- } catch { /* the wizard's JSON is a courtesy; attach does not need it */ }
+ } catch { /* courtesy only */ }
if (autostart) {
setStep("service");
@@ -59,12 +63,10 @@ export function InstallRuntime({ platform, onInstalled }: { platform: string; on
if (Date.now() > deadline) throw new Error("Mercury was installed but did not come up within 30 seconds. Check `mercury logs`.");
await new Promise((r) => setTimeout(r, 1000));
}
-
const name = await desktop.hostname();
await add({ id: LOCAL_CONNECTION_ID, kind: "local", name, baseUrl });
await setActive(LOCAL_CONNECTION_ID);
setStep("done");
- void installed;
onInstalled();
} catch (err) {
unlisten.current?.();
@@ -77,46 +79,30 @@ export function InstallRuntime({ platform, onInstalled }: { platform: string; on
const busy = step !== "idle" && step !== "failed" && step !== "done";
return (
- <div className="flex flex-1 flex-col gap-2.5">
- <label htmlFor="install-owner" className="font-mono text-[10px] tracking-wider text-muted-foreground">YOUR NAME</label>
- <input id="install-owner" value={owner} onChange={(e) => setOwner(e.target.value)} placeholder="How Mercury should address you" disabled={busy}
- className="h-9 rounded-md border border-border bg-background px-3 text-[12.5px] text-foreground outline-none focus:border-primary" />
- <label className="flex items-center gap-2 text-[12.5px] text-foreground/90">
- <input type="checkbox" checked={autostart} onChange={(e) => setAutostart(e.target.checked)} disabled={busy} className="h-[15px] w-[15px] accent-[hsl(var(--primary))]" />
- Start Mercury when I log in
- </label>
-
+ <div className="flex flex-col gap-3">
+ <Field label="Your name" htmlFor="install-owner" hint="How Mercury should address you.">
+ <Input id="install-owner" value={owner} onChange={(e) => setOwner(e.target.value)} disabled={busy} />
+ </Field>
+ <Switch id="install-autostart" checked={autostart} onCheckedChange={setAutostart} disabled={busy} label="Start Mercury when I log in" />
{busy && (
- <div className="rounded-md border border-border bg-background px-3 py-2 font-mono text-[11px] leading-relaxed text-muted-foreground">
- <div className="text-foreground/90">{stepLabel(step, progress)}</div>
+ <div className="rounded-md border border-line bg-raised px-3 py-2 text-xs text-ink2">
+ {stepLabel(step, progress)}
{step === "download" && progress?.percent != null && (
- <div className="mt-1.5 h-1 w-full overflow-hidden rounded bg-muted"><div className="h-full bg-primary transition-[width]" style={{ width: `${progress.percent}%` }} /></div>
+ <div className="mt-1.5 h-1 w-full overflow-hidden rounded bg-ink/[0.1]"><div className="h-full bg-accent transition-[width]" style={{ width: `${progress.percent}%` }} /></div>
)}
</div>
)}
- {error && <div className="rounded-md border border-destructive/40 bg-destructive/10 px-2 py-1.5 text-[11.5px] text-destructive">{error}</div>}
- {credentials && (
- <div className="rounded-md border border-border bg-background px-3 py-2 font-mono text-[11px] text-muted-foreground" data-selectable>
- Browser login (shown once): <span className="text-foreground">{credentials.username}</span> / <span className="text-foreground">{credentials.password}</span>
- </div>
- )}
-
- <div className="flex-1" />
- <button onClick={() => void run()} disabled={busy || !isTauri} title={isTauri ? undefined : "Available inside the desktop app"}
- className="h-10 rounded-lg border border-border bg-muted/40 text-sm font-semibold text-foreground hover:bg-muted disabled:opacity-60">
- {step === "failed" ? "Try again" : busy ? "Installing…" : `Install Mercury on ${platform}`}
- </button>
+ {error && <div className="rounded-md border border-red/30 bg-red/[0.06] px-2.5 py-1.5 text-xs text-red">{error}</div>}
+ {credentials && <Mono className="block">Browser login (shown once): {credentials.username} / {credentials.password}</Mono>}
+ <Button variant="primary" size="lg" onClick={() => void run()} disabled={busy || !isTauri} loading={busy} title={isTauri ? undefined : "Available inside the desktop app"}>
+ {step === "failed" ? "Try again" : `Install Mercury on ${platform}`}
+ </Button>
</div>
);
}
async function isUp(baseUrl: string): Promise<boolean> {
- try {
- const h = await api.health.probe(baseUrl, null, 1500);
- return h.ok;
- } catch {
- return false;
- }
+ try { return (await api.health.probe(baseUrl, null, 1500)).ok; } catch { return false; }
}
function stepLabel(step: Step, progress: InstallProgress | null): string {
diff --git a/apps/desktop/src/shell/Onboarding.tsx b/apps/desktop/src/shell/Onboarding.tsx
index 4c63d06c..cee8e2cc 100644
--- a/apps/desktop/src/shell/Onboarding.tsx
+++ b/apps/desktop/src/shell/Onboarding.tsx
@@ -1,8 +1,10 @@
-import { useEffect, useState } from "react";
import { ArrowLeft } from "lucide-react";
-import { type HealthInfo } from "@/lib/api";
-import { cn } from "@/lib/utils";
-import { Wordmark } from "./Wordmark";
+import { useEffect, useState } from "react";
+import { cx } from "~/lib/cx";
+import type { HealthInfo } from "~/api/types";
+import { Wordmark } from "~/components/Logo";
+import { Button } from "~/components/ui/Button";
+import { Mono } from "~/components/ui/bits";
import { AddRemote } from "./AddRemote";
import { InstallRuntime } from "./InstallRuntime";
import { desktop, type LocalRuntime } from "./tauri";
@@ -10,10 +12,8 @@ import { LOCAL_CONNECTION_ID, useConnections } from "./connections";
import { checkCompat } from "./compat";
/**
- * First run (design v2, board 01): where should Mercury run?
- * 1. Use the Mercury found on this computer (attach, zero typing);
- * 2. Install Mercury here (next brick: the bundled runtime);
- * 3. Connect to a Mercury elsewhere (URL + password or device token).
+ * First run: where should Mercury run? Three short cards, one action each.
+ * Install and pairing open in place of the cards; nothing scrolls.
*/
type LocalProbe =
@@ -36,154 +36,101 @@ export function Onboarding({ onDone, canCancel }: { onDone: () => void; canCance
setLocal({ state: "probing" });
const runtime = await desktop.detectLocalRuntime();
try {
- const raw = await desktop.probeLocalHealth(runtime.port);
- const health = raw as unknown as HealthInfo;
+ const health = (await desktop.probeLocalHealth(runtime.port)) as unknown as HealthInfo;
const compat = checkCompat(health.apiVersion);
- if (!compat.ok && compat.reason === "runtime-too-old") {
- setLocal({ state: "outdated", runtime, health });
- } else {
- setLocal({ state: "running", runtime, health });
- }
+ setLocal(!compat.ok && compat.reason === "runtime-too-old" ? { state: "outdated", runtime, health } : { state: "running", runtime, health });
} catch {
setLocal(runtime.binaryPath ? { state: "installed", runtime } : { state: "missing", runtime });
}
}
-
useEffect(() => { void probe(); }, []);
- async function useLocal() {
- if (local.state !== "running" && local.state !== "installed") return;
- setBusy("local");
+ async function run(kind: string, fn: () => Promise<void>) {
+ setBusy(kind);
setError(null);
- try {
- const name = await desktop.hostname();
- await add({ id: LOCAL_CONNECTION_ID, kind: "local", name, baseUrl: `http://127.0.0.1:${local.runtime.port}` });
- await setActive(LOCAL_CONNECTION_ID);
- onDone();
- } catch (err) {
- setError(err instanceof Error ? err.message : String(err));
- } finally {
- setBusy(null);
- }
+ try { await fn(); } catch (err) { setError(err instanceof Error ? err.message : String(err)); } finally { setBusy(null); }
}
- async function upgradeLocal() {
- setBusy("upgrade");
- setError(null);
- try {
- const out = await desktop.runMercury(["upgrade"]);
- if (out.code !== 0) throw new Error((out.stderr || out.stdout).trim().split(/\r?\n/)[0] || `mercury upgrade exited with ${out.code}`);
- // The upgrade restarts the daemon; give the listener a moment.
- await new Promise((r) => setTimeout(r, 4000));
- await probe();
- } catch (err) {
- setError(err instanceof Error ? err.message : String(err));
- } finally {
- setBusy(null);
- }
- }
-
- async function startLocal() {
- if (local.state !== "installed") return;
- setBusy("start");
- setError(null);
- try {
- const out = await desktop.runMercury(["start"]);
- if (out.code !== 0) throw new Error((out.stderr || out.stdout).trim() || `mercury start exited with ${out.code}`);
- await new Promise((r) => setTimeout(r, 2500));
- await probe();
- } catch (err) {
- setError(err instanceof Error ? err.message : String(err));
- } finally {
- setBusy(null);
- }
- }
-
- const platformLabel = local.state === "probing" ? "this computer" : platformName(local.runtime.platform);
-
- const localVersion = local.state === "running" || local.state === "outdated"
- ? local.health.version || local.runtime.binaryVersion || ""
- : local.state === "installed" ? local.runtime.binaryVersion ?? "" : "";
+ const useLocal = () => run("local", async () => {
+ if (local.state !== "running") return;
+ const name = await desktop.hostname();
+ await add({ id: LOCAL_CONNECTION_ID, kind: "local", name, baseUrl: `http://127.0.0.1:${local.runtime.port}` });
+ await setActive(LOCAL_CONNECTION_ID);
+ onDone();
+ });
+ const upgradeLocal = () => run("upgrade", async () => {
+ const out = await desktop.runMercury(["upgrade"]);
+ if (out.code !== 0) throw new Error(firstLine(out.stderr || out.stdout) || `mercury upgrade exited with ${out.code}`);
+ await new Promise((r) => setTimeout(r, 4000));
+ await probe();
+ });
+ const startLocal = () => run("start", async () => {
+ const out = await desktop.runMercury(["start"]);
+ if (out.code !== 0) throw new Error(firstLine(out.stderr || out.stdout) || `mercury start exited with ${out.code}`);
+ await new Promise((r) => setTimeout(r, 2500));
+ await probe();
+ });
+
+ const platform = local.state === "probing" ? "this computer" : platformName(local.runtime.platform);
+ const version = local.state === "running" || local.state === "outdated" ? local.health.version || local.runtime.binaryVersion || "" : local.state === "installed" ? local.runtime.binaryVersion ?? "" : "";
+ const found = local.state === "running" || local.state === "outdated";
return (
- <div className="relative flex h-full flex-col overflow-hidden bg-background">
- <div aria-hidden="true" className="pointer-events-none absolute inset-0" style={{
- backgroundImage: "linear-gradient(rgba(30,39,46,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(30,39,46,.35) 1px, transparent 1px)",
- backgroundSize: "48px 48px",
- maskImage: "radial-gradient(circle at 50% 30%, #000 0, transparent 70%)",
- WebkitMaskImage: "radial-gradient(circle at 50% 30%, #000 0, transparent 70%)",
- }} />
-
- <div className="relative mx-auto flex w-full max-w-[980px] flex-1 flex-col items-center justify-center gap-7 px-8">
+ <div className="relative flex h-full flex-col overflow-hidden bg-bg" data-tauri-drag-region>
+ <div className="relative mx-auto flex w-full max-w-[920px] flex-1 flex-col items-center justify-center gap-7 px-8">
<div className="flex flex-col items-center gap-1 text-center">
- <Wordmark size={240} />
+ <Wordmark width={220} />
<h1 className="sr-only">Mercury Agent</h1>
- <p className="max-w-[460px] text-[13px] leading-relaxed text-muted-foreground">
- {view === "choose" ? `Where should Mercury run? We checked ${platformLabel} first.` : view === "install" ? `Install Mercury on ${platformLabel}.` : "Connect to a Mercury elsewhere."}
+ <p className="max-w-[440px] text-sm text-ink3">
+ {view === "choose" ? `Where should Mercury run? We checked ${platform} first.` : view === "install" ? `Install Mercury on ${platform}.` : "Connect to a Mercury elsewhere."}
</p>
</div>
- {error && <div className="w-full max-w-[640px] rounded-md border border-destructive/40 bg-destructive/10 px-3 py-2 text-xs text-destructive">{error}</div>}
+ {error && <div className="w-full max-w-[600px] rounded-md border border-red/30 bg-red/[0.06] px-3 py-2 text-xs text-red">{error}</div>}
{view === "choose" && (
- <div className="grid w-full grid-cols-3 gap-4">
- {/* 1 · Found here */}
- <Card highlighted={local.state === "running" || local.state === "outdated"} badge={local.state === "running" || local.state === "outdated" ? `FOUND ON ${platformLabel.toUpperCase()}` : undefined}>
+ <div className="grid w-full grid-cols-3 gap-3">
+ <Card highlighted={found} badge={found ? `Found on ${platform}` : undefined}>
<CardTitle>Use the Mercury here</CardTitle>
{local.state === "probing" && <CardBody>Looking for a running Mercury…</CardBody>}
- {local.state === "running" && <CardBody>Mercury {localVersion} is running{local.runtime.serviceInstalled ? " as a service" : ""}. The app attaches to it; nothing moves.</CardBody>}
- {local.state === "outdated" && <CardBody>Mercury {localVersion} is running, but it predates the desktop API (needs 1.5 or newer). Upgrade it and the app attaches.</CardBody>}
- {local.state === "installed" && <CardBody>Mercury {localVersion} is installed but not running.</CardBody>}
- {local.state === "missing" && <CardBody>No Mercury on {platformLabel} yet.</CardBody>}
- {(local.state === "running" || local.state === "outdated") && (
- <Mono>127.0.0.1:{local.runtime.port} · API v{local.health.apiVersion ?? 0} · pid {local.health.pid}</Mono>
- )}
+ {local.state === "running" && <CardBody>Mercury {version} is running{local.runtime.serviceInstalled ? " as a service" : ""}. The app attaches to it; nothing moves.</CardBody>}
+ {local.state === "outdated" && <CardBody>Mercury {version} is running, but it predates the desktop API (needs 1.5 or newer). Upgrade it and the app attaches.</CardBody>}
+ {local.state === "installed" && <CardBody>Mercury {version} is installed but not running.</CardBody>}
+ {local.state === "missing" && <CardBody>No Mercury on {platform} yet.</CardBody>}
+ {found && <Mono className="block truncate">127.0.0.1:{local.runtime.port} · API v{local.health.apiVersion ?? 0} · pid {local.health.pid}</Mono>}
<div className="flex-1" />
- {local.state === "running" && <PrimaryButton onClick={() => void useLocal()} disabled={busy !== null}>{busy === "local" ? "Connecting…" : "Connect"}</PrimaryButton>}
- {local.state === "outdated" && <PrimaryButton onClick={() => void upgradeLocal()} disabled={busy !== null}>{busy === "upgrade" ? "Upgrading…" : "Upgrade Mercury"}</PrimaryButton>}
- {local.state === "installed" && <PrimaryButton onClick={() => void startLocal()} disabled={busy !== null}>{busy === "start" ? "Starting…" : "Start Mercury"}</PrimaryButton>}
- {(local.state === "missing" || local.state === "probing") && <SecondaryButton onClick={() => void probe()} disabled={local.state === "probing"}>Check again</SecondaryButton>}
+ {local.state === "running" && <Button variant="primary" size="lg" loading={busy === "local"} onClick={() => void useLocal()}>Connect</Button>}
+ {local.state === "outdated" && <Button variant="primary" size="lg" loading={busy === "upgrade"} onClick={() => void upgradeLocal()}>Upgrade Mercury</Button>}
+ {local.state === "installed" && <Button variant="primary" size="lg" loading={busy === "start"} onClick={() => void startLocal()}>Start Mercury</Button>}
+ {(local.state === "missing" || local.state === "probing") && <Button variant="outline" size="lg" disabled={local.state === "probing"} onClick={() => void probe()}>Check again</Button>}
</Card>
- {/* 2 · Install here */}
<Card>
<CardTitle>Install Mercury here</CardTitle>
<CardBody>Downloads the matching release, verifies it and runs it as a service. No terminal.</CardBody>
<div className="flex-1" />
- <SecondaryButton onClick={() => setView("install")}>Install here…</SecondaryButton>
+ <Button variant="outline" size="lg" onClick={() => setView("install")}>Install here…</Button>
</Card>
- {/* 3 · Remote */}
<Card>
<CardTitle>Connect elsewhere</CardTitle>
<CardBody>A server, a home machine, a phone on Termux, or Mercury Cloud. Several at once if you like.</CardBody>
<div className="flex-1" />
- <SecondaryButton onClick={() => setView("remote")}>Add a connection…</SecondaryButton>
+ <Button variant="outline" size="lg" onClick={() => setView("remote")}>Add a connection…</Button>
</Card>
</div>
)}
- {view === "install" && (
- <Panel onBack={() => setView("choose")}>
- <InstallRuntime platform={platformLabel} onInstalled={onDone} />
- </Panel>
- )}
-
- {view === "remote" && (
- <Panel onBack={() => setView("choose")}>
- <AddRemote onAdded={onDone} />
- </Panel>
- )}
+ {view === "install" && <Panel onBack={() => setView("choose")}><InstallRuntime platform={platform} onInstalled={onDone} /></Panel>}
+ {view === "remote" && <Panel onBack={() => setView("choose")}><AddRemote onAdded={onDone} /></Panel>}
{(connections.length > 0 || canCancel) && view === "choose" && (
- <div className="flex flex-wrap items-center justify-center gap-2 text-xs text-muted-foreground">
+ <div className="flex flex-wrap items-center justify-center gap-2 text-xs text-ink3">
{connections.length > 0 && <span>Saved:</span>}
{connections.map((c) => (
- <button key={c.id} className="rounded-full border border-border px-3 py-1 hover:bg-muted" onClick={() => { void setActive(c.id).then(onDone); }}>
- {c.name}
- </button>
+ <button key={c.id} className="rounded-full border border-line px-3 py-1 hover:bg-ink/[0.05]" onClick={() => { void setActive(c.id).then(onDone); }}>{c.name}</button>
))}
- {canCancel && <button className="ml-2 underline-offset-2 hover:underline" onClick={onDone}>Cancel</button>}
+ {canCancel && <button className="ml-2 hover:underline" onClick={onDone}>Cancel</button>}
</div>
)}
</div>
@@ -200,15 +147,14 @@ function platformName(p: LocalRuntime["platform"]): string {
}
}
+function firstLine(text: string): string {
+ return text.trim().split(/\r?\n/)[0] ?? "";
+}
+
function Card({ children, highlighted, badge }: { children: React.ReactNode; highlighted?: boolean; badge?: string }) {
return (
- <div className={cn(
- "relative flex h-[188px] flex-col gap-2 rounded-xl bg-card p-5",
- highlighted ? "shadow-[inset_0_0_0_1px_hsl(var(--primary)),0_0_40px_rgba(52,225,161,.12)]" : "shadow-[inset_0_0_0_1px_hsl(var(--border))]"
- )}>
- {badge && (
- <span className="absolute -top-2.5 left-4 rounded-full bg-primary px-2 py-0.5 font-mono text-[10px] font-semibold tracking-wider text-primary-foreground">{badge}</span>
- )}
+ <div className={cx("relative flex h-[184px] flex-col gap-2 rounded-xl border bg-surface p-5", highlighted ? "border-accent/60 shadow-[0_0_32px_rgb(var(--glow)/0.12)]" : "border-line")} data-no-drag>
+ {badge && <span className="absolute -top-2.5 left-4 rounded-full bg-accent px-2 py-0.5 text-2xs font-medium text-on-accent">{badge}</span>}
{children}
</div>
);
@@ -216,39 +162,17 @@ function Card({ children, highlighted, badge }: { children: React.ReactNode; hig
function Panel({ children, onBack }: { children: React.ReactNode; onBack: () => void }) {
return (
- <div className="relative flex w-full max-w-[440px] flex-col gap-3 rounded-xl bg-card p-5 shadow-[inset_0_0_0_1px_hsl(var(--border))]">
- <button onClick={onBack} className="flex w-fit items-center gap-1 text-xs text-muted-foreground hover:text-foreground">
- <ArrowLeft size={14} aria-hidden="true" /> Back
- </button>
+ <div className="flex w-full max-w-[440px] flex-col gap-3 rounded-xl border border-line bg-surface p-5" data-no-drag>
+ <button onClick={onBack} className="flex w-fit items-center gap-1 text-xs text-ink3 hover:text-ink"><ArrowLeft size={14} aria-hidden="true" /> Back</button>
{children}
</div>
);
}
function CardTitle({ children }: { children: React.ReactNode }) {
- return <div className="mt-1 text-[15px] font-semibold text-foreground">{children}</div>;
+ return <div className="mt-1 text-md font-medium text-ink">{children}</div>;
}
function CardBody({ children }: { children: React.ReactNode }) {
- return <div className="text-[12.5px] leading-relaxed text-muted-foreground">{children}</div>;
-}
-
-function Mono({ children }: { children: React.ReactNode }) {
- return <div className="truncate font-mono text-[11px] text-muted-foreground/80" data-selectable>{children}</div>;
-}
-
-function PrimaryButton({ children, onClick, disabled }: { children: React.ReactNode; onClick: () => void; disabled?: boolean }) {
- return (
- <button onClick={onClick} disabled={disabled} className="h-9 rounded-lg bg-primary text-[13px] font-semibold text-primary-foreground shadow-[0_0_18px_rgba(52,225,161,.35)] disabled:opacity-60">
- {children}
- </button>
- );
-}
-
-function SecondaryButton({ children, onClick, disabled }: { children: React.ReactNode; onClick: () => void; disabled?: boolean }) {
- return (
- <button onClick={onClick} disabled={disabled} className="h-9 rounded-lg border border-border bg-muted/40 text-[13px] font-semibold text-foreground hover:bg-muted disabled:opacity-60">
- {children}
- </button>
- );
+ return <div className="text-xs leading-relaxed text-ink3">{children}</div>;
}
diff --git a/apps/desktop/src/shell/Shell.tsx b/apps/desktop/src/shell/Shell.tsx
deleted file mode 100644
index 7ceccc2f..00000000
--- a/apps/desktop/src/shell/Shell.tsx
+++ /dev/null
@@ -1,136 +0,0 @@
-import { useEffect, useState } from "react";
-import { App } from "@/App";
-import { configureApi } from "@/lib/connection";
-import { useConnections, type Connection } from "./connections";
-import { useRuntime } from "./useRuntime";
-import { Onboarding } from "./Onboarding";
-import { ConnectionPill } from "./ConnectionPill";
-import { Wordmark } from "./Wordmark";
-import { desktop } from "./tauri";
-
-/**
- * The shell decides what fills the window:
- * - nothing chosen yet → first-run (pick where Mercury runs);
- * - a connection chosen → bring it up, then the dashboard itself.
- */
-export function Shell() {
- const loaded = useConnections((s) => s.loaded);
- const connections = useConnections((s) => s.connections);
- const activeId = useConnections((s) => s.activeId);
- const load = useConnections((s) => s.load);
- const [switching, setSwitching] = useState(false);
-
- useEffect(() => { void load(); }, [load]);
-
- if (!loaded) return <Splash />;
-
- const active = connections.find((c) => c.id === activeId) ?? null;
- if (!active || switching) {
- return <Onboarding onDone={() => setSwitching(false)} canCancel={Boolean(active)} />;
- }
- return <Connected key={active.id} connection={active} onSwitch={() => setSwitching(true)} />;
-}
-
-function Connected({ connection, onSwitch }: { connection: Connection; onSwitch: () => void }) {
- const setActive = useConnections((s) => s.setActive);
- const { status, retry } = useRuntime(connection, () => { /* shown inline below */ });
-
- if (status.phase === "ready") {
- return (
- <>
- <App />
- <ConnectionPill connection={connection} health={status.health} onSwitch={onSwitch} />
- </>
- );
- }
-
- return (
- <div className="flex h-full items-center justify-center bg-background">
- <div className="flex w-[420px] flex-col items-center gap-6 text-center">
- <Wordmark />
- {status.phase === "connecting" && (
- <p className="text-sm text-muted-foreground">Connecting to <span className="text-foreground">{connection.name}</span>…</p>
- )}
- {status.phase === "offline" && (
- <>
- <p className="text-sm text-muted-foreground">
- <span className="text-foreground">{connection.name}</span> is not answering at{" "}
- <span className="font-mono text-xs">{connection.baseUrl}</span>.
- </p>
- <p className="text-xs text-muted-foreground">{status.error}</p>
- {connection.kind === "local" && <StartLocalRuntime onStarted={retry} />}
- <div className="flex gap-2">
- <button className="rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground" onClick={retry}>Try again</button>
- <button className="rounded-md border border-border px-4 py-2 text-sm" onClick={onSwitch}>Use another connection</button>
- </div>
- </>
- )}
- {status.phase === "unauthorized" && (
- <>
- <p className="text-sm text-muted-foreground">
- <span className="text-foreground">{connection.name}</span> no longer accepts this device.
- {connection.kind === "remote" ? " The token was revoked or has changed." : " Mercury may have restarted with a new token."}
- </p>
- <div className="flex gap-2">
- <button className="rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground" onClick={retry}>Try again</button>
- <button className="rounded-md border border-border px-4 py-2 text-sm" onClick={onSwitch}>Pair again</button>
- </div>
- </>
- )}
- {status.phase === "incompatible" && (
- <>
- <p className="text-sm text-muted-foreground">
- {status.compat.reason === "desktop-too-old"
- ? `Mercury ${status.health.version} speaks a newer API (v${status.compat.apiVersion}) than this app. Update Mercury Desktop, or open the dashboard in your browser — it always matches the runtime.`
- : `Mercury ${status.health.version || "(unknown)"} on ${connection.name} is older than this app supports. Run \`mercury upgrade\` there.`}
- </p>
- <div className="flex gap-2">
- <button className="rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground" onClick={() => void desktop.openExternal(connection.baseUrl)}>Open in browser</button>
- <button className="rounded-md border border-border px-4 py-2 text-sm" onClick={onSwitch}>Use another connection</button>
- </div>
- </>
- )}
- <button className="text-xs text-muted-foreground underline-offset-2 hover:underline" onClick={() => { configureApi({ baseUrl: "", token: null }); void setActive(null); }}>
- Forget this connection
- </button>
- </div>
- </div>
- );
-}
-
-function StartLocalRuntime({ onStarted }: { onStarted: () => void }) {
- const [state, setState] = useState<"idle" | "starting" | "failed">("idle");
- const [detail, setDetail] = useState("");
- async function start() {
- setState("starting");
- try {
- const out = await desktop.runMercury(["start"]);
- if (out.code !== 0) {
- setState("failed");
- setDetail((out.stderr || out.stdout).trim().slice(0, 400));
- return;
- }
- // The listener binds within a second or two; health polling takes it from here.
- setTimeout(onStarted, 2500);
- } catch (err) {
- setState("failed");
- setDetail(err instanceof Error ? err.message : String(err));
- }
- }
- return (
- <div className="flex flex-col items-center gap-2">
- <button className="rounded-md border border-primary/50 px-4 py-2 text-sm text-primary disabled:opacity-60" disabled={state === "starting"} onClick={() => void start()}>
- {state === "starting" ? "Starting Mercury…" : "Start Mercury on this computer"}
- </button>
- {state === "failed" && <pre className="max-w-[400px] whitespace-pre-wrap text-left font-mono text-[11px] text-destructive">{detail}</pre>}
- </div>
- );
-}
-
-function Splash() {
- return (
- <div className="flex h-full items-center justify-center bg-background">
- <Wordmark />
- </div>
- );
-}
diff --git a/apps/desktop/src/shell/Wordmark.tsx b/apps/desktop/src/shell/Wordmark.tsx
deleted file mode 100644
index 543add62..00000000
--- a/apps/desktop/src/shell/Wordmark.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import { useThemeStore } from "@/stores/theme";
-
-/** The Mercury wordmark with its breathing glow (first-run hero, board 01). */
-export function Wordmark({ size = 300, breathe = true }: { size?: number; breathe?: boolean }) {
- const resolved = useThemeStore((s) => s.resolved);
- return (
- <div className="relative flex items-center justify-center" style={{ width: size * 1.6, height: size * 0.55 }}>
- <div
- aria-hidden="true"
- className={`pointer-events-none absolute rounded-full ${breathe ? "mercury-breathe" : ""}`}
- style={{
- width: size * 1.6,
- height: size * 0.8,
- background: "radial-gradient(closest-side, rgba(52,225,161,.22), rgba(52,225,161,0))",
- }}
- />
- <img
- src={resolved === "dark" ? "/logo-full-dark.png" : "/logo-full-light.png"}
- alt="Mercury Agent"
- className={`relative ${breathe ? "mercury-wordmark" : ""}`}
- style={{ width: size, height: "auto" }}
- draggable={false}
- />
- </div>
- );
-}
diff --git a/apps/desktop/src/shell/useRuntime.ts b/apps/desktop/src/shell/useRuntime.ts
index 2a031cfa..2b7c9b8f 100644
--- a/apps/desktop/src/shell/useRuntime.ts
+++ b/apps/desktop/src/shell/useRuntime.ts
@@ -1,13 +1,14 @@
import { useCallback, useEffect, useRef, useState } from "react";
-import api, { type HealthInfo } from "@/lib/api";
-import { configureApi } from "@/lib/connection";
+import { configureApi } from "~/api/client";
+import * as api from "~/api/mercury";
+import type { HealthInfo } from "~/api/types";
import { checkCompat, type Compat } from "./compat";
import { credentialFor, type Connection } from "./connections";
import { desktop } from "./tauri";
/**
- * Bring one connection to life: resolve its credential, point the shared
- * API client at it, prove the runtime answers, and keep checking.
+ * Bring one connection to life: resolve its credential, point the API
+ * client at it, prove the runtime answers, and keep checking while down.
*/
export type RuntimeStatus =
@@ -24,7 +25,6 @@ export function useRuntime(connection: Connection, onUnauthorized: () => void):
const [attempt, setAttempt] = useState(0);
const unauthorizedRef = useRef(onUnauthorized);
unauthorizedRef.current = onUnauthorized;
-
const retry = useCallback(() => setAttempt((n) => n + 1), []);
useEffect(() => {
@@ -35,67 +35,46 @@ export function useRuntime(connection: Connection, onUnauthorized: () => void):
setStatus({ phase: "connecting" });
const token = await credentialFor(connection);
if (cancelled) return;
-
if (connection.kind === "remote" && !token) {
setStatus({ phase: "unauthorized" });
return;
}
-
configureApi({
baseUrl: connection.baseUrl,
token,
onUnauthorized: () => {
- // A local runtime rotates its attach token at every boot; one
- // re-read fixes that case. Anything else is the shell's call.
+ // A local runtime rotates its attach token at every boot; one re-read fixes that.
if (connection.kind === "local") {
void credentialFor(connection).then((fresh) => {
- if (fresh && fresh !== token) {
- configureApi({ token: fresh });
- retry();
- } else {
- setStatus({ phase: "unauthorized" });
- unauthorizedRef.current();
- }
+ if (fresh && fresh !== token) { configureApi({ token: fresh }); retry(); }
+ else { setStatus({ phase: "unauthorized" }); unauthorizedRef.current(); }
});
return;
}
setStatus({ phase: "unauthorized" });
unauthorizedRef.current();
},
- onSignedOut: () => unauthorizedRef.current(),
});
-
try {
- // A local runtime is asked from the native side first: that works
- // even when it predates CORS, so an old runtime reads as
- // "incompatible, upgrade" rather than "offline".
+ // Local runtimes are asked from the native side: works even before CORS existed.
const health: HealthInfo = connection.kind === "local"
? ((await desktop.probeLocalHealth(portOf(connection.baseUrl))) as unknown as HealthInfo)
: await api.health.probe(connection.baseUrl, token);
if (cancelled) return;
const compat = checkCompat(health.apiVersion);
- if (!compat.ok) {
- setStatus({ phase: "incompatible", compat, health });
- return;
- }
+ if (!compat.ok) { setStatus({ phase: "incompatible", compat, health }); return; }
setStatus({ phase: "ready", health });
} catch (err) {
if (cancelled) return;
const message = err instanceof Error ? err.message : String(err);
- if (message === "Unauthorized") {
- setStatus({ phase: "unauthorized" });
- return;
- }
+ if (message === "Unauthorized") { setStatus({ phase: "unauthorized" }); return; }
setStatus({ phase: "offline", error: message });
timer = setTimeout(() => { if (!cancelled) void bringUp(); }, RECHECK_MS);
}
}
void bringUp();
- return () => {
- cancelled = true;
- if (timer) clearTimeout(timer);
- };
+ return () => { cancelled = true; if (timer) clearTimeout(timer); };
}, [connection, attempt, retry]);
return { status, retry };
diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css
deleted file mode 100644
index 02739f49..00000000
--- a/apps/desktop/src/styles.css
+++ /dev/null
@@ -1,58 +0,0 @@
-@import "../../../ui/src/globals.css";
-
-/* ── Desktop: Mercury green as the live/primary tint (design v2) ──
- Semantic colours (amber = needs you, red = halt, cyan = thinking)
- stay as the dashboard defines them; only the brand/primary moves. */
-:root {
- --primary: 158 75% 54%; /* #34E1A1 */
- --primary-foreground: 158 60% 5%;
- --ring: 158 75% 54%;
- --glow-cyan: rgba(52, 225, 161, 0.08);
- --glow-cyan-strong: rgba(52, 225, 161, 0.18);
-}
-
-.light, :root:not(.dark) {
- --primary: 157 70% 40%; /* #1FAE78 on light surfaces */
- --primary-foreground: 0 0% 100%;
- --ring: 157 70% 40%;
-}
-
-html, body, #root {
- height: 100%;
- margin: 0;
-}
-
-body {
- background: hsl(var(--background));
- color: hsl(var(--foreground));
- -webkit-font-smoothing: antialiased;
- overscroll-behavior: none;
- user-select: none;
-}
-
-/* Text the user may want to copy stays selectable. */
-input, textarea, pre, code, [data-selectable], .prose, .markdown {
- user-select: text;
-}
-
-/* ── First-run hero: the wordmark breathes with its glow (design v2, board 01) ── */
-.mercury-breathe {
- animation: mercury-breathe 5s ease-in-out infinite;
- transform-origin: 50% 50%;
- will-change: transform, opacity;
-}
-.mercury-wordmark {
- animation: mercury-wordbreathe 5s ease-in-out infinite;
- will-change: filter;
-}
-@keyframes mercury-breathe {
- 0%, 100% { transform: scale(1); opacity: 0.7; }
- 50% { transform: scale(1.08); opacity: 1; }
-}
-@keyframes mercury-wordbreathe {
- 0%, 100% { filter: drop-shadow(0 0 20px rgba(52, 225, 161, 0.3)); }
- 50% { filter: drop-shadow(0 0 34px rgba(52, 225, 161, 0.6)); }
-}
-@media (prefers-reduced-motion: reduce) {
- .mercury-breathe, .mercury-wordmark { animation: none !important; }
-}
diff --git a/apps/desktop/src/styles/base.css b/apps/desktop/src/styles/base.css
new file mode 100644
index 00000000..a56005af
--- /dev/null
+++ b/apps/desktop/src/styles/base.css
@@ -0,0 +1,69 @@
+@import "@fontsource-variable/geist";
+@import "@fontsource-variable/geist-mono";
+@import "./tokens.css";
+
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+html, body, #root {
+ height: 100%;
+ margin: 0;
+}
+
+body {
+ background: rgb(var(--bg));
+ color: rgb(var(--ink));
+ font-family: "Geist Variable", system-ui, -apple-system, sans-serif;
+ font-size: 14px;
+ line-height: 22px;
+ -webkit-font-smoothing: antialiased;
+ text-rendering: optimizeLegibility;
+ font-feature-settings: "kern", "liga", "calt";
+ overscroll-behavior: none;
+ user-select: none;
+ cursor: default;
+}
+
+/* Only what the user may want to copy is selectable. */
+input, textarea, pre, code, [data-selectable], .prose {
+ user-select: text;
+ cursor: auto;
+}
+
+*:focus { outline: none; }
+*:focus-visible {
+ outline: 2px solid rgb(var(--accent) / 0.6);
+ outline-offset: 2px;
+ border-radius: 6px;
+}
+
+::-webkit-scrollbar { width: 10px; height: 10px; }
+::-webkit-scrollbar-thumb { background: rgb(var(--ink) / 0.14); border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; }
+::-webkit-scrollbar-thumb:hover { background: rgb(var(--ink) / 0.26); background-clip: padding-box; border: 3px solid transparent; }
+::-webkit-scrollbar-track { background: transparent; }
+
+/* The whole chrome is a drag region on macOS; controls opt out. */
+[data-tauri-drag-region] { -webkit-app-region: drag; }
+button, input, textarea, a, [role="button"], [data-no-drag] { -webkit-app-region: no-drag; }
+
+/* ── Prose: the agent's answers ── */
+.prose { font-size: 14.5px; line-height: 1.6; color: rgb(var(--ink)); }
+.prose > * + * { margin-top: 0.75em; }
+.prose p { margin: 0; }
+.prose h1, .prose h2, .prose h3, .prose h4 { font-weight: 600; letter-spacing: -0.01em; color: rgb(var(--ink)); }
+.prose h1 { font-size: 1.35em; } .prose h2 { font-size: 1.2em; } .prose h3 { font-size: 1.08em; } .prose h4 { font-size: 1em; }
+.prose ul, .prose ol { padding-left: 1.4em; }
+.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
+.prose li + li { margin-top: 0.25em; }
+.prose a { color: rgb(var(--accent)); text-decoration: underline; text-decoration-color: rgb(var(--accent) / 0.4); text-underline-offset: 2px; }
+.prose strong { font-weight: 600; }
+.prose code { font-family: "Geist Mono Variable", ui-monospace, monospace; font-size: 0.9em; background: rgb(var(--ink) / 0.07); padding: 1px 5px; border-radius: 5px; }
+.prose pre { background: rgb(var(--surface-2)); border: 1px solid rgb(var(--ink) / 0.08); border-radius: 10px; padding: 12px 14px; overflow-x: auto; font-size: 12.5px; line-height: 1.55; }
+.prose pre code { background: none; padding: 0; font-size: inherit; }
+.prose blockquote { border-left: 2px solid rgb(var(--ink) / 0.18); padding-left: 12px; color: rgb(var(--ink-2)); }
+.prose table { border-collapse: collapse; width: 100%; font-size: 13px; }
+.prose th, .prose td { border: 1px solid rgb(var(--ink) / 0.12); padding: 6px 10px; text-align: left; }
+.prose th { background: rgb(var(--ink) / 0.04); font-weight: 600; }
+.prose hr { border: 0; border-top: 1px solid rgb(var(--ink) / 0.12); }
+.prose img { max-width: 100%; border-radius: 8px; }
diff --git a/apps/desktop/src/styles/tokens.css b/apps/desktop/src/styles/tokens.css
new file mode 100644
index 00000000..1c11a4fc
--- /dev/null
+++ b/apps/desktop/src/styles/tokens.css
@@ -0,0 +1,54 @@
+/* ═══════════════════════════════════════════════════════════════
+ Mercury Desktop tokens — one quiet palette, one accent.
+
+ Values are space-separated RGB so Tailwind can apply alpha. Light is a
+ near-white paper, dark is Mercury's ground. Only the accent changes with
+ the user's tint; amber (needs you), red (halt) and cyan (thinking) are
+ semantic and fixed.
+ ═══════════════════════════════════════════════════════════════ */
+
+:root {
+ --bg: 247 247 245; /* #F7F7F5 */
+ --bg-soft: 240 240 237; /* #F0F0ED */
+ --surface: 255 255 255;
+ --surface-2: 243 243 240; /* #F3F3F0 */
+ --ink: 22 24 26; /* #16181A */
+ --ink-2: 75 81 87; /* #4B5157 */
+ --ink-3: 122 129 135; /* #7A8187 */
+ --ink-4: 163 169 174; /* #A3A9AE */
+ --accent: 26 158 110; /* #1A9E6E */
+ --on-accent: 255 255 255;
+ --cyan: 14 124 140; /* #0E7C8C */
+ --amber: 183 121 31; /* #B7791F */
+ --red: 197 48 48; /* #C53030 */
+ --glow: 26 158 110;
+ color-scheme: light;
+}
+
+.dark {
+ --bg: 15 17 19; /* #0F1113 */
+ --bg-soft: 20 23 25; /* #141719 */
+ --surface: 23 26 29; /* #171A1D */
+ --surface-2: 29 33 37; /* #1D2125 */
+ --ink: 230 234 237; /* #E6EAED */
+ --ink-2: 174 182 188; /* #AEB6BC */
+ --ink-3: 126 135 142; /* #7E878E */
+ --ink-4: 84 92 99; /* #545C63 */
+ --accent: 52 225 161; /* #34E1A1 */
+ --on-accent: 4 20 11;
+ --cyan: 127 216 232; /* #7FD8E8 */
+ --amber: 245 196 81; /* #F5C451 */
+ --red: 255 107 107; /* #FF6B6B */
+ --glow: 52 225 161;
+ color-scheme: dark;
+}
+
+/* Tints: the accent only. Light and dark pairs chosen for 4.5:1 on their ground. */
+[data-tint="graphite"] { --accent: 75 81 87; --on-accent: 255 255 255; --glow: 75 81 87; }
+.dark[data-tint="graphite"] { --accent: 174 182 188; --on-accent: 15 17 19; --glow: 174 182 188; }
+[data-tint="teal"] { --accent: 14 124 140; --on-accent: 255 255 255; --glow: 14 124 140; }
+.dark[data-tint="teal"] { --accent: 127 216 232; --on-accent: 4 20 24; --glow: 127 216 232; }
+[data-tint="violet"] { --accent: 109 76 204; --on-accent: 255 255 255; --glow: 109 76 204; }
+.dark[data-tint="violet"] { --accent: 177 156 255; --on-accent: 20 12 40; --glow: 177 156 255; }
+[data-tint="amber"] { --accent: 160 98 10; --on-accent: 255 255 255; --glow: 160 98 10; }
+.dark[data-tint="amber"] { --accent: 245 196 81; --on-accent: 36 24 2; --glow: 245 196 81; }
diff --git a/apps/desktop/src/views/bots/BotsView.tsx b/apps/desktop/src/views/bots/BotsView.tsx
new file mode 100644
index 00000000..485cb0de
--- /dev/null
+++ b/apps/desktop/src/views/bots/BotsView.tsx
@@ -0,0 +1,183 @@
+import { Play, Square, RefreshCw } from "lucide-react";
+import { useEffect, useState } from "react";
+import { cx } from "~/lib/cx";
+import * as api from "~/api/mercury";
+import type { BotManifest, BotRunRecord, BotStatus } from "~/api/types";
+import type { AgentState } from "~/app/store";
+import { useBots } from "~/app/store";
+import { refreshBots } from "~/app/events";
+import { Button } from "~/components/ui/Button";
+import { Switch } from "~/components/ui/Switch";
+import { Badge, Empty, Mono, SectionTitle } from "~/components/ui/bits";
+import { StateOrb } from "~/components/indicators/StateOrb";
+import { Input } from "~/components/ui/Input";
+
+/** Bots: the roster on the left with live state, one bot's detail on the right. */
+export function BotsView() {
+ const bots = useBots((s) => s.bots);
+ const available = useBots((s) => s.available);
+ const activity = useBots((s) => s.activity);
+ const [selected, setSelected] = useState<string | null>(null);
+
+ useEffect(() => {
+ if (!selected && bots.length) setSelected(bots[0].id);
+ }, [bots, selected]);
+
+ if (!available) return <Empty title="Bots are not available on this runtime" body="Enable bots in the runtime's configuration to see them here." />;
+
+ return (
+ <div className="flex h-full min-h-0">
+ <aside className="flex w-[280px] shrink-0 flex-col border-r border-line bg-soft">
+ <header className="flex h-12 shrink-0 items-center justify-between px-4" data-tauri-drag-region>
+ <span className="text-sm font-medium text-ink">Bots</span>
+ <Button variant="ghost" size="sm" icon onClick={() => void refreshBots()} aria-label="Refresh"><RefreshCw size={14} /></Button>
+ </header>
+ <div className="min-h-0 flex-1 overflow-y-auto px-2 pb-3">
+ {bots.length === 0 && <p className="px-2 text-xs text-ink4">No bots yet. Create one with `mercury bots create`.</p>}
+ {bots.map((b) => (
+ <button
+ key={b.id}
+ onClick={() => setSelected(b.id)}
+ className={cx("flex w-full items-center gap-3 rounded-md px-2.5 py-2 text-left", selected === b.id ? "bg-ink/[0.07]" : "hover:bg-ink/[0.05]")}
+ >
+ <StateOrb state={orbFor(b)} size={10} />
+ <span className="min-w-0 flex-1">
+ <span className="block truncate text-sm text-ink">{b.name}</span>
+ <span className="block truncate text-2xs text-ink3">{activity[b.id] ?? describe(b)}</span>
+ </span>
+ {b.needsYou && <Badge tone="amber">needs you</Badge>}
+ </button>
+ ))}
+ </div>
+ </aside>
+
+ <section className="min-w-0 flex-1 overflow-y-auto">
+ {selected ? <BotDetail id={selected} status={bots.find((b) => b.id === selected) ?? null} /> : <Empty title="Pick a bot" />}
+ </section>
+ </div>
+ );
+}
+
+function orbFor(b: BotStatus): AgentState {
+ if (b.needsYou) return "needs-you";
+ if (!b.enabled || b.state === "disabled") return "offline";
+ if (b.state === "running") return "working";
+ if (b.state === "queued") return "thinking";
+ return "idle";
+}
+
+function describe(b: BotStatus): string {
+ if (!b.enabled) return "disabled";
+ if (b.state === "running") return "working";
+ if (b.state === "queued") return "queued";
+ if (b.lastRunAt) return `last run ${ago(b.lastRunAt)}${b.lastRunState ? ` · ${b.lastRunState}` : ""}`;
+ return "idle";
+}
+
+function BotDetail({ id, status }: { id: string; status: BotStatus | null }) {
+ const [bot, setBot] = useState<BotManifest | null>(null);
+ const [journal, setJournal] = useState<BotRunRecord[]>([]);
+ const [message, setMessage] = useState("");
+ const [note, setNote] = useState<string | null>(null);
+
+ async function load() {
+ try {
+ const res = await api.bots.get(id);
+ setBot(res.bot);
+ setJournal(res.journal ?? []);
+ } catch {
+ setBot(null);
+ }
+ }
+ useEffect(() => { void load(); setNote(null); }, [id, status?.state, status?.lastRunAt]);
+
+ async function toggle(enabled: boolean) {
+ try { await (enabled ? api.bots.enable(id) : api.bots.disable(id)); } catch { /* keep */ }
+ void refreshBots(); void load();
+ }
+ async function send() {
+ const text = message.trim();
+ if (!text) return;
+ try {
+ const res = await api.bots.message(id, text);
+ setNote(res.accepted ? "Queued." : `Not accepted${res.reasonCode ? ` (${res.reasonCode})` : ""}.`);
+ setMessage("");
+ } catch (err) {
+ setNote(err instanceof Error ? err.message : String(err));
+ }
+ }
+
+ if (!bot) return <Empty title="Loading…" />;
+
+ return (
+ <div className="mx-auto flex max-w-[760px] flex-col gap-6 px-6 py-5">
+ <header className="flex items-start gap-3">
+ <div className="min-w-0 flex-1">
+ <h1 className="text-xl font-medium tracking-tight text-ink">{bot.name}</h1>
+ {bot.description && <p className="mt-0.5 text-sm text-ink3">{bot.description}</p>}
+ <div className="mt-2 flex flex-wrap items-center gap-2">
+ <Mono>{bot.id}</Mono>
+ {bot.fleetRole && <Badge>{bot.fleetRole}</Badge>}
+ {bot.model?.model && <Badge>{bot.model.model}</Badge>}
+ {bot.autonomy?.dailyTokenBudget && <Badge>{bot.autonomy.dailyTokenBudget.toLocaleString()} tokens/day</Badge>}
+ </div>
+ </div>
+ <div className="flex items-center gap-2">
+ <Switch id={`bot-${id}`} checked={bot.enabled} onCheckedChange={(v) => void toggle(v)} label={bot.enabled ? "On" : "Off"} />
+ {status?.state === "running" ? (
+ <Button size="sm" variant="outline" onClick={() => void api.bots.stop(id).then(refreshBots)}><Square size={13} /> Stop</Button>
+ ) : (
+ <Button size="sm" variant="outline" disabled={!bot.enabled} onClick={() => void api.bots.run(id).then(refreshBots)}><Play size={13} /> Run now</Button>
+ )}
+ </div>
+ </header>
+
+ <div className="flex flex-col gap-2">
+ <SectionTitle>Tell it something</SectionTitle>
+ <div className="flex gap-2">
+ <Input value={message} onChange={(e) => setMessage(e.target.value)} onKeyDown={(e) => { if (e.key === "Enter") void send(); }} placeholder={`Message ${bot.name}…`} />
+ <Button variant="primary" onClick={() => void send()} disabled={!message.trim()}>Send</Button>
+ </div>
+ {note && <p className="text-xs text-ink3">{note}</p>}
+ </div>
+
+ {bot.schedules && bot.schedules.length > 0 && (
+ <div className="flex flex-col gap-2">
+ <SectionTitle>Schedules</SectionTitle>
+ {bot.schedules.map((s) => (
+ <div key={s.name} className="flex items-center gap-3 rounded-md border border-line bg-surface px-3 py-2 text-sm">
+ <span className="text-ink">{s.name}</span>
+ <Mono>{s.cron}</Mono>
+ <span className="min-w-0 flex-1 truncate text-xs text-ink3">{s.prompt}</span>
+ </div>
+ ))}
+ </div>
+ )}
+
+ <div className="flex flex-col gap-2">
+ <SectionTitle>Recent runs</SectionTitle>
+ {journal.length === 0 && <p className="text-xs text-ink4">Nothing yet.</p>}
+ {journal.slice(0, 20).map((r) => (
+ <div key={r.runId} className="flex items-center gap-3 rounded-md border border-line bg-surface px-3 py-2 text-xs">
+ <StateOrb state={r.state === "failed" ? "needs-you" : r.state === "running" ? "working" : "idle"} size={9} />
+ <span className="w-24 shrink-0 text-ink2">{ago(r.startedAt)}</span>
+ <span className="w-16 shrink-0 text-ink3">{r.trigger}</span>
+ <span className="min-w-0 flex-1 truncate text-ink">{r.summary || r.error || r.state}</span>
+ <Mono>{Math.round(r.durationMs / 1000)}s · {(r.tokensIn + r.tokensOut).toLocaleString()} tok</Mono>
+ </div>
+ ))}
+ </div>
+ </div>
+ );
+}
+
+function ago(ts: number): string {
+ const ms = Date.now() - ts;
+ if (!Number.isFinite(ms) || ms < 0) return "";
+ const m = Math.round(ms / 60_000);
+ if (m < 1) return "just now";
+ if (m < 60) return `${m} min ago`;
+ const h = Math.round(m / 60);
+ if (h < 48) return `${h} h ago`;
+ return `${Math.round(h / 24)} d ago`;
+}
diff --git a/apps/desktop/src/views/chat/ChatView.tsx b/apps/desktop/src/views/chat/ChatView.tsx
new file mode 100644
index 00000000..9bce408b
--- /dev/null
+++ b/apps/desktop/src/views/chat/ChatView.tsx
@@ -0,0 +1,111 @@
+import { PanelLeft, Plus } from "lucide-react";
+import { useEffect, useRef } from "react";
+import { cx } from "~/lib/cx";
+import { useChat, useRuntimeState, useUi } from "~/app/store";
+import { answerPrompt, openThread } from "~/app/events";
+import { Button } from "~/components/ui/Button";
+import { Tooltip } from "~/components/ui/Tooltip";
+import { StateLabel } from "~/components/indicators/StateOrb";
+import { Approval } from "~/components/indicators/Approval";
+import { ThinkingDots } from "~/components/indicators/Thinking";
+import { ThreadList } from "./ThreadList";
+import { Message, StreamingMessage } from "./Message";
+import { Composer } from "./Composer";
+
+/**
+ * Chat: threads on the left (collapsible), one conversation in a 760px
+ * column, the composer at the bottom. The same component serves Code
+ * mode with a different header.
+ */
+export function ChatView({ mode, header }: { mode: "chat" | "code"; header?: React.ReactNode }) {
+ const sidebar = useUi((s) => s.sidebar);
+ const toggleSidebar = useUi((s) => s.toggleSidebar);
+ const messages = useChat((s) => s.messages);
+ const streaming = useChat((s) => s.streaming);
+ const loading = useChat((s) => s.loading);
+ const activeId = useChat((s) => s.activeId);
+ const threads = useChat((s) => s.threads);
+ const agent = useRuntimeState((s) => s.agent);
+ const step = useRuntimeState((s) => s.step);
+ const prompts = useRuntimeState((s) => s.prompts);
+ const scroller = useRef<HTMLDivElement>(null);
+ const stickToBottom = useRef(true);
+
+ const title = threads.find((t) => t.id === activeId)?.title || (activeId ? "Untitled" : "New thread");
+ const empty = !activeId && messages.length === 0 && !streaming;
+
+ useEffect(() => {
+ const el = scroller.current;
+ if (!el || !stickToBottom.current) return;
+ el.scrollTop = el.scrollHeight;
+ }, [messages, streaming, prompts.length, loading]);
+
+ useEffect(() => {
+ const onKey = (e: KeyboardEvent) => {
+ if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "n" && !e.shiftKey) { e.preventDefault(); void openThread(null); }
+ if ((e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "b") { e.preventDefault(); toggleSidebar(); }
+ };
+ window.addEventListener("keydown", onKey);
+ return () => window.removeEventListener("keydown", onKey);
+ }, [toggleSidebar]);
+
+ return (
+ <div className="flex h-full min-h-0">
+ {mode === "chat" && sidebar && <ThreadList />}
+
+ <section className="flex min-w-0 flex-1 flex-col">
+ <header className="flex h-12 shrink-0 items-center gap-2 border-b border-line px-3" data-tauri-drag-region>
+ {mode === "chat" && (
+ <Tooltip label={sidebar ? "Hide threads" : "Show threads"} shortcut="⌘B" side="bottom">
+ <Button variant="ghost" size="sm" icon onClick={toggleSidebar} aria-label="Toggle threads"><PanelLeft size={16} /></Button>
+ </Tooltip>
+ )}
+ <div className="min-w-0 flex-1 truncate text-sm font-medium text-ink">{header ?? title}</div>
+ <StateLabel state={agent} detail={step?.tool ? `${step.tool}${step.total ? ` ${step.current}/${step.total}` : ""}` : undefined} />
+ {mode === "chat" && (
+ <Tooltip label="New thread" shortcut="⌘N" side="bottom">
+ <Button variant="ghost" size="sm" icon onClick={() => void openThread(null)} aria-label="New thread"><Plus size={16} /></Button>
+ </Tooltip>
+ )}
+ </header>
+
+ <div
+ ref={scroller}
+ onScroll={(e) => { const el = e.currentTarget; stickToBottom.current = el.scrollHeight - el.scrollTop - el.clientHeight < 80; }}
+ className={cx("min-h-0 flex-1 overflow-y-auto", empty && "flex items-center justify-center")}
+ >
+ {empty ? (
+ <EmptyPrompt mode={mode} />
+ ) : (
+ <div className="mx-auto flex w-full max-w-[760px] flex-col gap-6 px-6 py-6">
+ {loading && messages.length === 0 && <ThinkingDots label="Loading" />}
+ {messages.map((m) => <Message key={m.id} message={m} />)}
+ {streaming && <StreamingMessage text={streaming} />}
+ {!streaming && (agent === "thinking" || agent === "working") && (
+ <ThinkingDots label={agent === "working" && step?.tool ? `Running ${step.tool}` : "Thinking"} className="pl-9" />
+ )}
+ {prompts.map((p) => (
+ <div key={p.id} className="pl-9">
+ <Approval prompt={p} onAnswer={(v) => answerPrompt(p, v)} />
+ </div>
+ ))}
+ </div>
+ )}
+ </div>
+
+ <Composer mode={mode} />
+ </section>
+ </div>
+ );
+}
+
+function EmptyPrompt({ mode }: { mode: "chat" | "code" }) {
+ return (
+ <div className="flex flex-col items-center gap-2 px-6 pb-24 text-center">
+ <div className="text-xl font-medium tracking-tight text-ink">{mode === "code" ? "What should we build?" : "What's on your mind?"}</div>
+ <p className="max-w-[420px] text-sm text-ink3">
+ {mode === "code" ? "Mercury works in your workspace: reads, edits, runs, and asks before anything that can't be undone." : "Ask, delegate, or think out loud. Mercury remembers what matters."}
+ </p>
+ </div>
+ );
+}
diff --git a/apps/desktop/src/views/chat/Composer.tsx b/apps/desktop/src/views/chat/Composer.tsx
new file mode 100644
index 00000000..43ed64a6
--- /dev/null
+++ b/apps/desktop/src/views/chat/Composer.tsx
@@ -0,0 +1,151 @@
+import { ArrowUp, ChevronDown, Shield, ShieldCheck } from "lucide-react";
+import { useEffect, useRef, useState } from "react";
+import { cx } from "~/lib/cx";
+import * as api from "~/api/mercury";
+import type { ChatSettings, ModelsResponse } from "~/api/types";
+import { useRuntimeState } from "~/app/store";
+import { sendMessage } from "~/app/events";
+import { Button } from "~/components/ui/Button";
+import { Menu, MenuItem, MenuLabel, MenuSeparator } from "~/components/ui/Menu";
+import { Tooltip } from "~/components/ui/Tooltip";
+
+/**
+ * One box. Enter sends, Shift+Enter breaks a line. Below it: the model and
+ * the approval mode (Ask Me / Allow All), both one click away and never a
+ * settings page.
+ */
+export function Composer({ mode }: { mode: "chat" | "code" }) {
+ const [text, setText] = useState("");
+ const [sending, setSending] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const ref = useRef<HTMLTextAreaElement>(null);
+ const agent = useRuntimeState((s) => s.agent);
+ const connected = useRuntimeState((s) => s.connected);
+
+ useEffect(() => {
+ const el = ref.current;
+ if (!el) return;
+ el.style.height = "0px";
+ el.style.height = `${Math.min(el.scrollHeight, 220)}px`;
+ }, [text]);
+
+ async function submit() {
+ const content = text.trim();
+ if (!content || sending) return;
+ setSending(true);
+ setError(null);
+ try {
+ await sendMessage(content);
+ setText("");
+ } catch (err) {
+ setError(err instanceof Error ? err.message : String(err));
+ } finally {
+ setSending(false);
+ ref.current?.focus();
+ }
+ }
+
+ const busy = agent === "thinking" || agent === "streaming" || agent === "working";
+
+ return (
+ <div className="shrink-0 px-6 pb-5 pt-2">
+ <div className="mx-auto w-full max-w-[760px]">
+ {error && <div className="mb-2 text-xs text-red">{error}</div>}
+ <div className={cx("rounded-xl border border-line bg-surface shadow-sm transition-colors focus-within:border-line-strong")}>
+ <textarea
+ ref={ref}
+ value={text}
+ onChange={(e) => setText(e.target.value)}
+ onKeyDown={(e) => {
+ if (e.key === "Enter" && !e.shiftKey && !e.nativeEvent.isComposing) { e.preventDefault(); void submit(); }
+ }}
+ placeholder={mode === "code" ? "Describe the change…" : "Message Mercury…"}
+ rows={1}
+ disabled={!connected}
+ className="block w-full resize-none bg-transparent px-4 pt-3.5 text-base leading-[22px] text-ink placeholder:text-ink4 disabled:opacity-60"
+ aria-label="Message"
+ />
+ <div className="flex items-center gap-1 px-2 pb-2 pt-1">
+ <ModelPicker />
+ <ModePicker />
+ <div className="flex-1" />
+ {busy && <span className="mr-1 text-2xs text-ink4">{agent === "streaming" ? "answering" : agent === "working" ? "working" : "thinking"}…</span>}
+ <Tooltip label="Send" shortcut="↵" side="top">
+ <Button variant="primary" size="sm" icon onClick={() => void submit()} disabled={!text.trim() || !connected} loading={sending} aria-label="Send">
+ <ArrowUp size={16} strokeWidth={2.2} />
+ </Button>
+ </Tooltip>
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
+
+function ModelPicker() {
+ const [models, setModels] = useState<ModelsResponse | null>(null);
+ const provider = useRuntimeState((s) => s.provider);
+ const model = useRuntimeState((s) => s.model);
+
+ async function load() {
+ try { setModels(await api.chat.models()); } catch { setModels(null); }
+ }
+ useEffect(() => { void load(); }, [provider, model]);
+
+ const label = models?.current?.label || model || provider || "Model";
+ const groups = new Map<string, ModelsResponse["providers"]>();
+ for (const p of models?.providers ?? []) {
+ const list = groups.get(p.group) ?? [];
+ list.push(p);
+ groups.set(p.group, list);
+ }
+
+ return (
+ <Menu
+ side="top"
+ trigger={
+ <button className="flex h-7 items-center gap-1 rounded-md px-2 text-xs text-ink2 hover:bg-ink/[0.06] hover:text-ink" aria-label="Model">
+ <span className="max-w-[180px] truncate">{label}</span>
+ <ChevronDown size={12} className="text-ink4" />
+ </button>
+ }
+ >
+ {[...groups.entries()].map(([group, list], gi) => (
+ <div key={group}>
+ {gi > 0 && <MenuSeparator />}
+ <MenuLabel>{group}</MenuLabel>
+ {list.map((p) => (
+ <MenuItem key={`${p.name}:${p.model}`} selected={p.isCurrent} disabled={!p.available} hint={p.available ? undefined : "no key"} onSelect={() => { void api.chat.switchModel(p.name, p.model).then(load); }}>
+ {p.label}
+ </MenuItem>
+ ))}
+ </div>
+ ))}
+ {groups.size === 0 && <MenuItem disabled>No providers configured</MenuItem>}
+ </Menu>
+ );
+}
+
+function ModePicker() {
+ const [settings, setSettings] = useState<ChatSettings | null>(null);
+ useEffect(() => { void api.chat.settings().then(setSettings).catch(() => setSettings(null)); }, []);
+ const allowAll = settings?.bypassPermissions === true;
+ async function set(next: boolean) {
+ try { setSettings(await api.chat.updateSettings({ bypassPermissions: next })); } catch { /* keep */ }
+ }
+ return (
+ <Menu
+ side="top"
+ trigger={
+ <button className={cx("flex h-7 items-center gap-1.5 rounded-md px-2 text-xs hover:bg-ink/[0.06]", allowAll ? "text-accent" : "text-amber")} aria-label="Approval mode">
+ {allowAll ? <ShieldCheck size={13} /> : <Shield size={13} />}
+ {settings ? (allowAll ? "Allow All" : "Ask Me") : "…"}
+ </button>
+ }
+ >
+ <MenuLabel>Before acting</MenuLabel>
+ <MenuItem selected={!allowAll} onSelect={() => void set(false)}>Ask Me — approve each risky step</MenuItem>
+ <MenuItem selected={allowAll} onSelect={() => void set(true)}>Allow All — only MCP and sends still ask</MenuItem>
+ </Menu>
+ );
+}
diff --git a/apps/desktop/src/views/chat/Message.tsx b/apps/desktop/src/views/chat/Message.tsx
new file mode 100644
index 00000000..fbcc8e25
--- /dev/null
+++ b/apps/desktop/src/views/chat/Message.tsx
@@ -0,0 +1,52 @@
+import { memo } from "react";
+import type { ChatMessage } from "~/api/types";
+import { Mark } from "~/components/Logo";
+import { Markdown } from "~/components/Markdown";
+import { StreamCaret } from "~/components/indicators/Thinking";
+import { ActionResult } from "~/components/indicators/Activity";
+
+/**
+ * No bubbles. The user's turn reads like a heading; the agent's answer is
+ * prose beneath it, with the mark in the gutter. System notes are muted.
+ */
+export const Message = memo(function Message({ message }: { message: ChatMessage }) {
+ if (message.role === "user") {
+ return (
+ <div className="pl-9">
+ <p className="whitespace-pre-wrap text-md font-medium leading-relaxed tracking-[-0.005em] text-ink" data-selectable>{message.content}</p>
+ </div>
+ );
+ }
+ if (message.role === "system") {
+ return (
+ <div className="pl-9">
+ <p className="rounded-md border border-line bg-surface px-3 py-2 text-xs text-ink3" data-selectable>{message.content}</p>
+ </div>
+ );
+ }
+ return (
+ <div className="flex gap-3">
+ <span className="mt-[3px] flex h-6 w-6 shrink-0 items-center justify-center" aria-hidden="true"><Mark size={20} /></span>
+ <div className="min-w-0 flex-1">
+ {message.steps && message.steps.length > 0 && (
+ <div className="mb-2 flex flex-col gap-1">
+ {message.steps.map((s, i) => <ActionResult key={i} tool={s.tool} status={s.status} detail={s.result} />)}
+ </div>
+ )}
+ <Markdown text={message.content} />
+ </div>
+ </div>
+ );
+});
+
+export function StreamingMessage({ text }: { text: string }) {
+ return (
+ <div className="flex gap-3">
+ <span className="mt-[3px] flex h-6 w-6 shrink-0 items-center justify-center" aria-hidden="true"><Mark size={20} /></span>
+ <div className="min-w-0 flex-1">
+ <Markdown text={text} />
+ <StreamCaret />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/desktop/src/views/chat/ThreadList.tsx b/apps/desktop/src/views/chat/ThreadList.tsx
new file mode 100644
index 00000000..2469d278
--- /dev/null
+++ b/apps/desktop/src/views/chat/ThreadList.tsx
@@ -0,0 +1,66 @@
+import { Trash2 } from "lucide-react";
+import { useMemo } from "react";
+import { cx } from "~/lib/cx";
+import * as api from "~/api/mercury";
+import type { ChatThread } from "~/api/types";
+import { useChat } from "~/app/store";
+import { openThread, refreshThreads } from "~/app/events";
+
+/** Threads, newest first, grouped by day. Quiet rows; the active one is marked, not coloured. */
+export function ThreadList() {
+ const threads = useChat((s) => s.threads);
+ const activeId = useChat((s) => s.activeId);
+
+ const groups = useMemo(() => groupByDay(threads), [threads]);
+
+ async function remove(t: ChatThread) {
+ try {
+ await api.chat.deleteThread(t.id);
+ if (activeId === t.id) void openThread(null);
+ void refreshThreads();
+ } catch { /* keep */ }
+ }
+
+ return (
+ <aside className="flex h-full w-[232px] shrink-0 flex-col border-r border-line bg-soft">
+ <div className="h-12 shrink-0" data-tauri-drag-region />
+ <div className="min-h-0 flex-1 overflow-y-auto px-2 pb-3">
+ {groups.length === 0 && <p className="px-2 pt-2 text-xs text-ink4">No threads yet.</p>}
+ {groups.map(([day, list]) => (
+ <div key={day} className="mb-3">
+ <div className="px-2 pb-1 text-2xs font-medium uppercase tracking-wider text-ink4">{day}</div>
+ {list.map((t) => (
+ <div key={t.id} className={cx("group flex items-center rounded-md", activeId === t.id ? "bg-ink/[0.07]" : "hover:bg-ink/[0.05]")}>
+ <button onClick={() => void openThread(t.id)} className="min-w-0 flex-1 truncate px-2.5 py-1.5 text-left text-sm text-ink2 group-hover:text-ink" title={t.title || "Untitled"}>
+ <span className={cx(activeId === t.id && "text-ink")}>{t.title || "Untitled"}</span>
+ </button>
+ <button onClick={() => void remove(t)} className="mr-1 hidden rounded p-1 text-ink4 hover:text-red group-hover:block" aria-label="Delete thread">
+ <Trash2 size={13} />
+ </button>
+ </div>
+ ))}
+ </div>
+ ))}
+ </div>
+ </aside>
+ );
+}
+
+function groupByDay(threads: ChatThread[]): Array<[string, ChatThread[]]> {
+ const sorted = [...threads].sort((a, b) => (b.createdAt || "").localeCompare(a.createdAt || ""));
+ const out = new Map<string, ChatThread[]>();
+ const today = new Date();
+ for (const t of sorted) {
+ const d = new Date(t.createdAt);
+ const diff = Math.floor((startOfDay(today) - startOfDay(d)) / 86_400_000);
+ const key = Number.isNaN(diff) ? "Earlier" : diff === 0 ? "Today" : diff === 1 ? "Yesterday" : diff < 7 ? "This week" : "Earlier";
+ const list = out.get(key) ?? [];
+ list.push(t);
+ out.set(key, list);
+ }
+ return [...out.entries()];
+}
+
+function startOfDay(d: Date): number {
+ return new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime();
+}
diff --git a/apps/desktop/src/views/code/CodeView.tsx b/apps/desktop/src/views/code/CodeView.tsx
new file mode 100644
index 00000000..643de653
--- /dev/null
+++ b/apps/desktop/src/views/code/CodeView.tsx
@@ -0,0 +1,40 @@
+import { useEffect, useState } from "react";
+import * as api from "~/api/mercury";
+import type { ChatSettings, CodeStatus } from "~/api/types";
+import { Segmented, Mono } from "~/components/ui/bits";
+import { ChatView } from "~/views/chat/ChatView";
+
+/**
+ * Code: the same conversation, with the runtime in plan or execute mode
+ * against the workspace. The header carries the mode and the workspace;
+ * nothing else changes, which is the point.
+ */
+export function CodeView() {
+ const [status, setStatus] = useState<CodeStatus | null>(null);
+ const [settings, setSettings] = useState<ChatSettings | null>(null);
+
+ async function load() {
+ try { setStatus(await api.code.status()); } catch { setStatus(null); }
+ try { setSettings(await api.chat.settings()); } catch { setSettings(null); }
+ }
+ useEffect(() => { void load(); }, []);
+
+ async function setMode(state: "off" | "plan" | "execute") {
+ try { await api.code.set(state); } catch { /* keep */ }
+ void load();
+ }
+
+ const header = (
+ <div className="flex items-center gap-3">
+ <Segmented
+ value={status?.state ?? "off"}
+ onChange={(v) => void setMode(v)}
+ options={[{ value: "off", label: "Off" }, { value: "plan", label: "Plan" }, { value: "execute", label: "Execute" }]}
+ />
+ {settings?.workspace && <Mono className="truncate">{settings.workspace}</Mono>}
+ {status && !status.available && <span className="text-xs text-ink4">Code mode is not available on this runtime.</span>}
+ </div>
+ );
+
+ return <ChatView mode="code" header={header} />;
+}
diff --git a/apps/desktop/src/views/plugins/PluginsView.tsx b/apps/desktop/src/views/plugins/PluginsView.tsx
new file mode 100644
index 00000000..68ec82d2
--- /dev/null
+++ b/apps/desktop/src/views/plugins/PluginsView.tsx
@@ -0,0 +1,144 @@
+import { RefreshCw } from "lucide-react";
+import { useEffect, useMemo, useState } from "react";
+import * as api from "~/api/mercury";
+import type { McpServer, PluginItem } from "~/api/types";
+import { Button } from "~/components/ui/Button";
+import { Switch } from "~/components/ui/Switch";
+import { Badge, Empty, Mono, Segmented } from "~/components/ui/bits";
+import { StateOrb } from "~/components/indicators/StateOrb";
+import { Input } from "~/components/ui/Input";
+
+type Tab = "installed" | "catalog" | "mcp";
+
+/** Plugins, the catalog, and MCP servers: three lists, one row style. */
+export function PluginsView() {
+ const [tab, setTab] = useState<Tab>("installed");
+ const [items, setItems] = useState<PluginItem[]>([]);
+ const [servers, setServers] = useState<McpServer[]>([]);
+ const [mcpAvailable, setMcpAvailable] = useState(true);
+ const [safeMode, setSafeMode] = useState(false);
+ const [catalogError, setCatalogError] = useState<string | null>(null);
+ const [loading, setLoading] = useState(false);
+ const [source, setSource] = useState("");
+ const [note, setNote] = useState<string | null>(null);
+
+ async function load(refresh = false) {
+ setLoading(true);
+ try {
+ const res = await api.plugins.list(refresh);
+ setItems(res.items);
+ setSafeMode(res.safeMode);
+ setCatalogError(res.catalogError ?? null);
+ } catch (err) {
+ setNote(err instanceof Error ? err.message : String(err));
+ }
+ try {
+ const m = await api.mcp.list();
+ setServers(m.servers);
+ setMcpAvailable(m.available);
+ } catch {
+ setMcpAvailable(false);
+ }
+ setLoading(false);
+ }
+ useEffect(() => { void load(); }, []);
+
+ const installed = useMemo(() => items.filter((p) => p.status !== "available"), [items]);
+ const catalog = useMemo(() => items.filter((p) => p.status === "available"), [items]);
+
+ async function act(fn: () => Promise<unknown>, done?: string) {
+ setNote(null);
+ try { await fn(); if (done) setNote(done); } catch (err) { setNote(err instanceof Error ? err.message : String(err)); }
+ void load();
+ }
+
+ return (
+ <div className="flex h-full min-h-0 flex-col">
+ <header className="flex h-12 shrink-0 items-center gap-3 border-b border-line px-4" data-tauri-drag-region>
+ <span className="text-sm font-medium text-ink">Plugins</span>
+ <Segmented value={tab} onChange={setTab} options={[{ value: "installed", label: `Installed ${installed.length}` }, { value: "catalog", label: `Catalog ${catalog.length}` }, { value: "mcp", label: `MCP ${servers.length}` }]} />
+ {safeMode && <Badge tone="amber">safe mode</Badge>}
+ <div className="flex-1" />
+ <Button variant="ghost" size="sm" icon onClick={() => void load(true)} loading={loading} aria-label="Refresh"><RefreshCw size={14} /></Button>
+ </header>
+
+ <div className="min-h-0 flex-1 overflow-y-auto">
+ <div className="mx-auto flex max-w-[760px] flex-col gap-2 px-6 py-5">
+ {note && <p className="text-xs text-ink3">{note}</p>}
+ {catalogError && tab === "catalog" && <p className="text-xs text-amber">Catalog: {catalogError}</p>}
+
+ {tab === "installed" && (installed.length === 0 ? <Empty title="No plugins installed" body="Pick one from the catalog, or install from a path or URL below." /> : installed.map((p) => (
+ <PluginRow key={p.id} p={p} onToggle={(v) => void act(() => (v ? api.plugins.enable(p.id) : api.plugins.disable(p.id)))} onUpdate={() => void act(() => api.plugins.update(p.id), "Updated.")} onRemove={() => void act(() => api.plugins.uninstall(p.id), "Removed.")} />
+ )))}
+
+ {tab === "catalog" && (catalog.length === 0 ? <Empty title="Nothing new in the catalog" /> : catalog.map((p) => (
+ <PluginRow key={p.id} p={p} onInstall={() => void act(() => api.plugins.install(p.id), "Installed.")} />
+ )))}
+
+ {tab === "installed" && (
+ <div className="mt-4 flex gap-2">
+ <Input value={source} onChange={(e) => setSource(e.target.value)} placeholder="Install from a path, URL or catalog id…" mono />
+ <Button variant="outline" disabled={!source.trim()} onClick={() => void act(() => api.plugins.install(source.trim()), "Installed.").then(() => setSource(""))}>Install</Button>
+ </div>
+ )}
+
+ {tab === "mcp" && (!mcpAvailable ? <Empty title="MCP is not available on this runtime" body="Upgrade Mercury to 1.5 or newer." /> : servers.length === 0 ? <Empty title="No MCP servers" body="Add one with `mercury mcp add` on the runtime's machine." /> : servers.map((s) => <McpRow key={s.id} s={s} />))}
+ </div>
+ </div>
+ </div>
+ );
+}
+
+function PluginRow({ p, onToggle, onUpdate, onRemove, onInstall }: { p: PluginItem; onToggle?: (v: boolean) => void; onUpdate?: () => void; onRemove?: () => void; onInstall?: () => void }) {
+ const state = p.status === "error" || p.disabled ? "needs-you" : p.running ? "working" : p.enabled ? "idle" : "offline";
+ return (
+ <div className="flex items-start gap-3 rounded-lg border border-line bg-surface px-3.5 py-3">
+ <StateOrb state={state} size={10} className="mt-[7px]" />
+ <div className="min-w-0 flex-1">
+ <div className="flex flex-wrap items-center gap-2">
+ <span className="text-sm font-medium text-ink">{p.name}</span>
+ <Mono>{p.installedVersion ?? p.latestVersion ?? ""}</Mono>
+ {p.tier === "official" && <Badge tone="accent">official</Badge>}
+ {p.verified && <Badge>verified</Badge>}
+ {p.status === "update-available" && <Badge tone="cyan">update {p.latestVersion}</Badge>}
+ {p.status === "incompatible" && <Badge tone="amber">incompatible</Badge>}
+ {p.channel?.state && <Badge>{p.channel.type} · {p.channel.state}</Badge>}
+ </div>
+ <p className="mt-0.5 text-xs text-ink3">{p.description}</p>
+ {(p.tools.length > 0 || p.commands.length > 0) && (
+ <p className="mt-1 truncate font-mono text-2xs text-ink4">
+ {p.tools.length > 0 && `${p.tools.length} tool${p.tools.length === 1 ? "" : "s"}`}
+ {p.tools.length > 0 && p.commands.length > 0 && " · "}
+ {p.commands.map((c) => `/${c}`).join(" ")}
+ </p>
+ )}
+ {(p.lastError || p.disabled?.message || p.incompatibleReason) && <p className="mt-1 text-xs text-amber">{p.lastError || p.disabled?.message || p.incompatibleReason}</p>}
+ </div>
+ <div className="flex shrink-0 items-center gap-2">
+ {onInstall && <Button size="sm" variant="outline" onClick={onInstall}>Install</Button>}
+ {onUpdate && p.status === "update-available" && <Button size="sm" variant="outline" onClick={onUpdate}>Update</Button>}
+ {onToggle && <Switch checked={p.enabled} onCheckedChange={onToggle} label={p.enabled ? "On" : "Off"} id={`plugin-${p.id}`} />}
+ {onRemove && <Button size="sm" variant="ghost" onClick={onRemove}>Remove</Button>}
+ </div>
+ </div>
+ );
+}
+
+function McpRow({ s }: { s: McpServer }) {
+ const state = s.state === "connected" ? "idle" : s.state === "failed" ? "needs-you" : s.state === "disabled" ? "offline" : "thinking";
+ const allowed = s.tools.filter((t) => t.allowed !== false).length;
+ return (
+ <div className="flex items-start gap-3 rounded-lg border border-line bg-surface px-3.5 py-3">
+ <StateOrb state={state} size={10} className="mt-[7px]" />
+ <div className="min-w-0 flex-1">
+ <div className="flex flex-wrap items-center gap-2">
+ <span className="text-sm font-medium text-ink">{s.id}</span>
+ <Badge>{s.transport}</Badge>
+ <Badge tone={s.state === "connected" ? "accent" : s.state === "failed" ? "red" : "neutral"}>{s.state}</Badge>
+ </div>
+ <Mono className="mt-0.5 block truncate">{s.target}</Mono>
+ <p className="mt-1 text-xs text-ink3">{allowed} of {s.toolCount} tools allowed{s.error ? ` · ${s.error}` : ""}</p>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/desktop/src/views/settings/SettingsView.tsx b/apps/desktop/src/views/settings/SettingsView.tsx
new file mode 100644
index 00000000..51007a8a
--- /dev/null
+++ b/apps/desktop/src/views/settings/SettingsView.tsx
@@ -0,0 +1,181 @@
+import { useEffect, useState } from "react";
+import { cx } from "~/lib/cx";
+import * as api from "~/api/mercury";
+import type { DeviceSummary, HealthInfo } from "~/api/types";
+import { TINTS, useTheme, type ThemeMode } from "~/app/theme";
+import { useConnections, type Connection } from "~/shell/connections";
+import { desktop, isTauri } from "~/shell/tauri";
+import { Button } from "~/components/ui/Button";
+import { Switch } from "~/components/ui/Switch";
+import { Badge, Mono, SectionTitle, Segmented } from "~/components/ui/bits";
+import { Dialog } from "~/components/ui/Dialog";
+import { AddRemote } from "~/shell/AddRemote";
+import { StateOrb } from "~/components/indicators/StateOrb";
+
+/** Settings: appearance, connections, this runtime's devices, start-up, about. */
+export function SettingsView({ connection, health, onSwitchConnection }: { connection: Connection; health: HealthInfo; onSwitchConnection: () => void }) {
+ return (
+ <div className="flex h-full min-h-0 flex-col">
+ <header className="flex h-12 shrink-0 items-center px-4" data-tauri-drag-region>
+ <span className="text-sm font-medium text-ink">Settings</span>
+ </header>
+ <div className="min-h-0 flex-1 overflow-y-auto">
+ <div className="mx-auto flex max-w-[680px] flex-col gap-8 px-6 pb-10">
+ <Appearance />
+ <Connections current={connection} health={health} onSwitchConnection={onSwitchConnection} />
+ <Devices current={connection} />
+ <Startup />
+ <About health={health} />
+ </div>
+ </div>
+ </div>
+ );
+}
+
+function Appearance() {
+ const mode = useTheme((s) => s.mode);
+ const tint = useTheme((s) => s.tint);
+ const resolved = useTheme((s) => s.resolved);
+ const setMode = useTheme((s) => s.setMode);
+ const setTint = useTheme((s) => s.setTint);
+ return (
+ <section className="flex flex-col gap-3">
+ <SectionTitle>Appearance</SectionTitle>
+ <div className="flex items-center justify-between rounded-lg border border-line bg-surface px-4 py-3">
+ <div>
+ <div className="text-sm text-ink">Theme</div>
+ <div className="text-xs text-ink3">Auto follows the system.</div>
+ </div>
+ <Segmented<ThemeMode> value={mode} onChange={setMode} options={[{ value: "light", label: "Light" }, { value: "dark", label: "Dark" }, { value: "system", label: "Auto" }]} />
+ </div>
+ <div className="flex items-center justify-between rounded-lg border border-line bg-surface px-4 py-3">
+ <div>
+ <div className="text-sm text-ink">Tint</div>
+ <div className="text-xs text-ink3">Only the accent changes. Amber and red stay what they mean.</div>
+ </div>
+ <div className="flex items-center gap-2">
+ {TINTS.map((t) => (
+ <button
+ key={t.id}
+ onClick={() => setTint(t.id)}
+ aria-label={t.label}
+ aria-pressed={tint === t.id}
+ title={t.label}
+ className={cx("h-6 w-6 rounded-full border-2 transition-transform hover:scale-110", tint === t.id ? "border-ink" : "border-transparent")}
+ style={{ background: resolved === "dark" ? t.dark : t.light }}
+ />
+ ))}
+ </div>
+ </div>
+ </section>
+ );
+}
+
+function Connections({ current, health, onSwitchConnection }: { current: Connection; health: HealthInfo; onSwitchConnection: () => void }) {
+ const connections = useConnections((s) => s.connections);
+ const setActive = useConnections((s) => s.setActive);
+ const remove = useConnections((s) => s.remove);
+ const [adding, setAdding] = useState(false);
+ return (
+ <section className="flex flex-col gap-3">
+ <SectionTitle right={<Button size="sm" variant="outline" onClick={() => setAdding(true)}>Add connection</Button>}>Connections</SectionTitle>
+ <div className="overflow-hidden rounded-lg border border-line bg-surface">
+ {connections.map((c) => (
+ <div key={c.id} className="flex items-center gap-3 border-b border-line px-4 py-3 last:border-b-0">
+ <StateOrb state={c.id === current.id ? "idle" : "offline"} size={10} />
+ <div className="min-w-0 flex-1">
+ <div className="flex items-center gap-2 text-sm text-ink">
+ {c.name}
+ {c.id === current.id && <Badge tone="accent">connected</Badge>}
+ <Badge>{c.kind === "local" ? "this computer" : "remote"}</Badge>
+ </div>
+ <Mono className="block truncate">{c.baseUrl}{c.id === current.id ? ` · Mercury ${health.version} · API v${health.apiVersion ?? "?"}` : ""}</Mono>
+ </div>
+ {c.id !== current.id && <Button size="sm" variant="outline" onClick={() => { void setActive(c.id); }}>Use</Button>}
+ <Button size="sm" variant="ghost" onClick={() => { void remove(c.id).then(() => { if (c.id === current.id) onSwitchConnection(); }); }}>Forget</Button>
+ </div>
+ ))}
+ </div>
+ <Dialog open={adding} onOpenChange={setAdding} title="Connect to a Mercury elsewhere" description="A server, a home machine, a phone on Termux, or Mercury Cloud.">
+ <AddRemote onAdded={() => setAdding(false)} />
+ </Dialog>
+ </section>
+ );
+}
+
+function Devices({ current }: { current: Connection }) {
+ const [devices, setDevices] = useState<DeviceSummary[]>([]);
+ const [self, setSelf] = useState<string | null>(null);
+ const [supported, setSupported] = useState(true);
+ async function load() {
+ try {
+ const res = await api.auth.devices();
+ setDevices(res.devices);
+ setSelf(res.current);
+ } catch {
+ setSupported(false);
+ }
+ }
+ useEffect(() => { void load(); }, [current.id]);
+ if (!supported) return null;
+ return (
+ <section className="flex flex-col gap-3">
+ <SectionTitle>Paired devices on {current.name}</SectionTitle>
+ <div className="overflow-hidden rounded-lg border border-line bg-surface">
+ {devices.length === 0 && <p className="px-4 py-3 text-xs text-ink4">No devices paired. This app attaches with the local token.</p>}
+ {devices.map((d) => (
+ <div key={d.id} className="flex items-center gap-3 border-b border-line px-4 py-3 last:border-b-0">
+ <div className="min-w-0 flex-1">
+ <div className="flex items-center gap-2 text-sm text-ink">{d.name}{d.id === self && <Badge tone="accent">this app</Badge>}</div>
+ <Mono className="block">{d.platform} · {d.lastSeenAt ? `seen ${new Date(d.lastSeenAt).toLocaleString()}` : "never connected"}</Mono>
+ </div>
+ <Button size="sm" variant="ghost" onClick={() => void api.auth.revokeDevice(d.id).then(load)}>Revoke</Button>
+ </div>
+ ))}
+ </div>
+ </section>
+ );
+}
+
+function Startup() {
+ const [enabled, setEnabled] = useState<boolean | null>(null);
+ useEffect(() => {
+ if (!isTauri) return;
+ void import("@tauri-apps/plugin-autostart").then((m) => m.isEnabled()).then(setEnabled).catch(() => setEnabled(null));
+ }, []);
+ async function toggle(v: boolean) {
+ const m = await import("@tauri-apps/plugin-autostart");
+ try { await (v ? m.enable() : m.disable()); setEnabled(v); } catch { /* keep */ }
+ }
+ if (enabled === null) return null;
+ return (
+ <section className="flex flex-col gap-3">
+ <SectionTitle>Start-up</SectionTitle>
+ <div className="flex items-center justify-between rounded-lg border border-line bg-surface px-4 py-3">
+ <div>
+ <div className="text-sm text-ink">Open Mercury Desktop at login</div>
+ <div className="text-xs text-ink3">The runtime's own start-up is separate: `mercury service install`.</div>
+ </div>
+ <Switch id="autostart" checked={enabled} onCheckedChange={(v) => void toggle(v)} />
+ </div>
+ </section>
+ );
+}
+
+function About({ health }: { health: HealthInfo }) {
+ const [appVersion, setAppVersion] = useState("");
+ useEffect(() => {
+ if (!isTauri) return;
+ void import("@tauri-apps/api/app").then((m) => m.getVersion()).then(setAppVersion).catch(() => {});
+ }, []);
+ return (
+ <section className="flex flex-col gap-3">
+ <SectionTitle>About</SectionTitle>
+ <div className="rounded-lg border border-line bg-surface px-4 py-3 text-sm text-ink2">
+ <div className="flex items-center justify-between"><span>Mercury Desktop</span><Mono>{appVersion || "dev"}</Mono></div>
+ <div className="mt-1 flex items-center justify-between"><span>Runtime</span><Mono>{health.version} · API v{health.apiVersion ?? "?"}</Mono></div>
+ <button className="mt-3 text-xs text-accent hover:underline" onClick={() => void desktop.openExternal("https://mercuryagent.sh")}>mercuryagent.sh</button>
+ </div>
+ </section>
+ );
+}
diff --git a/apps/desktop/src/views/skills/SkillsView.tsx b/apps/desktop/src/views/skills/SkillsView.tsx
new file mode 100644
index 00000000..396862a6
--- /dev/null
+++ b/apps/desktop/src/views/skills/SkillsView.tsx
@@ -0,0 +1,71 @@
+import { RefreshCw } from "lucide-react";
+import { useEffect, useState } from "react";
+import * as api from "~/api/mercury";
+import type { Skill } from "~/api/types";
+import { Button } from "~/components/ui/Button";
+import { Switch } from "~/components/ui/Switch";
+import { Empty, Mono } from "~/components/ui/bits";
+import { Input } from "~/components/ui/Input";
+
+/** Skills the runtime has loaded; each one on or off, plus install by registry id or URL. */
+export function SkillsView() {
+ const [skills, setSkills] = useState<Skill[]>([]);
+ const [loading, setLoading] = useState(false);
+ const [source, setSource] = useState("");
+ const [note, setNote] = useState<string | null>(null);
+
+ async function load() {
+ setLoading(true);
+ try { setSkills((await api.skills.list()).skills); } catch (err) { setNote(err instanceof Error ? err.message : String(err)); }
+ setLoading(false);
+ }
+ useEffect(() => { void load(); }, []);
+
+ async function act(fn: () => Promise<unknown>, done?: string) {
+ setNote(null);
+ try { await fn(); if (done) setNote(done); } catch (err) { setNote(err instanceof Error ? err.message : String(err)); }
+ void load();
+ }
+
+ async function install() {
+ const s = source.trim();
+ if (!s) return;
+ const isUrl = /^https?:\/\//i.test(s);
+ await act(() => (isUrl ? api.skills.install(s) : api.skills.installFromRegistry(s)), "Installed.");
+ setSource("");
+ }
+
+ const active = skills.filter((s) => s.active).length;
+
+ return (
+ <div className="flex h-full min-h-0 flex-col">
+ <header className="flex h-12 shrink-0 items-center gap-3 border-b border-line px-4" data-tauri-drag-region>
+ <span className="text-sm font-medium text-ink">Skills</span>
+ <span className="text-xs text-ink3">{active} of {skills.length} active</span>
+ <div className="flex-1" />
+ <Button variant="ghost" size="sm" icon onClick={() => void load()} loading={loading} aria-label="Refresh"><RefreshCw size={14} /></Button>
+ </header>
+ <div className="min-h-0 flex-1 overflow-y-auto">
+ <div className="mx-auto flex max-w-[760px] flex-col gap-2 px-6 py-5">
+ {note && <p className="text-xs text-ink3">{note}</p>}
+ {skills.length === 0 && !loading && <Empty title="No skills loaded" body="Install one by registry id or URL below, or let Mercury make its own." />}
+ {skills.map((s) => (
+ <div key={s.name} className="flex items-center gap-3 rounded-lg border border-line bg-surface px-3.5 py-2.5">
+ <div className="min-w-0 flex-1">
+ <div className="text-sm font-medium text-ink">{s.name}</div>
+ {s.description && <p className="mt-0.5 text-xs text-ink3">{s.description}</p>}
+ <Mono className="mt-0.5 block truncate">{s.path}</Mono>
+ </div>
+ <Switch id={`skill-${s.name}`} checked={s.active} onCheckedChange={(v) => void act(() => (v ? api.skills.activate(s.name) : api.skills.deactivate(s.name)))} label={s.active ? "On" : "Off"} />
+ <Button size="sm" variant="ghost" onClick={() => void act(() => api.skills.remove(s.name), "Removed.")}>Remove</Button>
+ </div>
+ ))}
+ <div className="mt-4 flex gap-2">
+ <Input value={source} onChange={(e) => setSource(e.target.value)} onKeyDown={(e) => { if (e.key === "Enter") void install(); }} placeholder="Registry id or URL…" mono />
+ <Button variant="outline" disabled={!source.trim()} onClick={() => void install()}>Install</Button>
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/desktop/tailwind.config.js b/apps/desktop/tailwind.config.js
index b6d64406..67623dfc 100644
--- a/apps/desktop/tailwind.config.js
+++ b/apps/desktop/tailwind.config.js
@@ -1,12 +1,72 @@
-import uiPreset from "../../ui/tailwind.config.js";
-
/** @type {import('tailwindcss').Config} */
export default {
- presets: [uiPreset],
darkMode: ["class"],
- content: [
- "./index.html",
- "./src/**/*.{ts,tsx}",
- "../../ui/src/**/*.{ts,tsx}",
- ],
+ content: ["./index.html", "./src/**/*.{ts,tsx}"],
+ theme: {
+ // One palette, driven by CSS variables (src/styles/tokens.css) so the
+ // theme and the tint change without a rebuild.
+ colors: {
+ transparent: "transparent",
+ current: "currentColor",
+ bg: "rgb(var(--bg) / <alpha-value>)",
+ soft: "rgb(var(--bg-soft) / <alpha-value>)",
+ surface: "rgb(var(--surface) / <alpha-value>)",
+ raised: "rgb(var(--surface-2) / <alpha-value>)",
+ ink: "rgb(var(--ink) / <alpha-value>)",
+ ink2: "rgb(var(--ink-2) / <alpha-value>)",
+ ink3: "rgb(var(--ink-3) / <alpha-value>)",
+ ink4: "rgb(var(--ink-4) / <alpha-value>)",
+ line: "rgb(var(--ink) / 0.10)",
+ "line-strong": "rgb(var(--ink) / 0.18)",
+ accent: "rgb(var(--accent) / <alpha-value>)",
+ "on-accent": "rgb(var(--on-accent) / <alpha-value>)",
+ cyan: "rgb(var(--cyan) / <alpha-value>)",
+ amber: "rgb(var(--amber) / <alpha-value>)",
+ red: "rgb(var(--red) / <alpha-value>)",
+ white: "#ffffff",
+ black: "#000000",
+ },
+ fontFamily: {
+ sans: ['"Geist Variable"', "system-ui", "-apple-system", "sans-serif"],
+ mono: ['"Geist Mono Variable"', "ui-monospace", "SFMono-Regular", "Menlo", "monospace"],
+ },
+ borderRadius: {
+ none: "0",
+ sm: "6px",
+ DEFAULT: "8px",
+ md: "10px",
+ lg: "12px",
+ xl: "16px",
+ full: "9999px",
+ },
+ extend: {
+ fontSize: {
+ "2xs": ["11px", "16px"],
+ xs: ["12px", "16px"],
+ sm: ["13px", "20px"],
+ base: ["14px", "22px"],
+ md: ["15px", "24px"],
+ lg: ["17px", "26px"],
+ xl: ["20px", "28px"],
+ "2xl": ["24px", "32px"],
+ },
+ keyframes: {
+ "dot-pulse": { "0%, 80%, 100%": { opacity: "0.25" }, "40%": { opacity: "1" } },
+ "ring-spin": { to: { transform: "rotate(360deg)" } },
+ breathe: { "0%, 100%": { transform: "scale(1)", opacity: "0.75" }, "50%": { transform: "scale(1.08)", opacity: "1" } },
+ "fade-in": { from: { opacity: "0" }, to: { opacity: "1" } },
+ "caret-blink": { "0%, 100%": { opacity: "1" }, "50%": { opacity: "0" } },
+ "bars": { "0%, 100%": { transform: "scaleY(0.35)" }, "50%": { transform: "scaleY(1)" } },
+ },
+ animation: {
+ "dot-pulse": "dot-pulse 1.4s ease-in-out infinite",
+ "ring-spin": "ring-spin 0.9s linear infinite",
+ breathe: "breathe 5s ease-in-out infinite",
+ "fade-in": "fade-in 120ms ease-out",
+ "caret-blink": "caret-blink 1s step-end infinite",
+ bars: "bars 0.9s ease-in-out infinite",
+ },
+ },
+ },
+ plugins: [],
};
diff --git a/apps/desktop/tsconfig.json b/apps/desktop/tsconfig.json
index 67ac47ca..4dd45b1d 100644
--- a/apps/desktop/tsconfig.json
+++ b/apps/desktop/tsconfig.json
@@ -6,6 +6,8 @@
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
@@ -14,10 +16,10 @@
"noEmit": true,
"baseUrl": ".",
"paths": {
- "@/*": ["../../ui/src/*"]
+ "~/*": ["./src/*"]
},
"types": ["vite/client"]
},
- "include": ["src", "../../ui/src"],
- "exclude": ["../../ui/src/**/*.test.ts", "../../ui/src/**/*.test.tsx", "src-tauri", "dist", "node_modules"]
+ "include": ["src"],
+ "exclude": ["src-tauri", "dist", "node_modules"]
}
diff --git a/apps/desktop/vite.config.ts b/apps/desktop/vite.config.ts
index 2796dbc5..12958476 100644
--- a/apps/desktop/vite.config.ts
+++ b/apps/desktop/vite.config.ts
@@ -4,16 +4,11 @@ import path from "node:path";
import { fileURLToPath } from "node:url";
/**
- * Mercury Desktop frontend. The dashboard itself lives in ../../ui/src and
- * is imported here as source (alias "@"), so there is one React UI for the
- * runtime-served dashboard and the desktop app. `dedupe` makes the UI's
- * imports of react/zustand/etc. resolve to THIS package's copies — two
- * React instances would break every hook.
+ * Mercury Desktop frontend. Self-contained: its own components, its own
+ * API client; nothing is imported from the runtime-served web dashboard.
*/
const here = path.dirname(fileURLToPath(import.meta.url));
-const uiSrc = path.resolve(here, "../../ui/src");
-const repoRoot = path.resolve(here, "../..");
// `tauri dev` sets TAURI_DEV_HOST when the frontend is served to a device.
const host = process.env.TAURI_DEV_HOST;
@@ -22,8 +17,7 @@ export default defineConfig({
plugins: [react()],
clearScreen: false,
resolve: {
- alias: { "@": uiSrc },
- dedupe: ["react", "react-dom", "react-router-dom", "zustand", "framer-motion", "lucide-react"],
+ alias: { "~": path.resolve(here, "src") },
},
server: {
port: 1420,
@@ -31,7 +25,6 @@ export default defineConfig({
host: host || false,
hmr: host ? { protocol: "ws", host, port: 1421 } : undefined,
watch: { ignored: ["**/src-tauri/**"] },
- fs: { allow: [repoRoot] },
},
envPrefix: ["VITE_", "TAURI_ENV_*"],
build: {
@@ -42,4 +35,8 @@ export default defineConfig({
outDir: "dist",
chunkSizeWarningLimit: 900,
},
+ test: {
+ environment: "node",
+ include: ["src/**/*.test.ts"],
+ },
});