Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: add Alook Desktop & Mobile app (Tauri 2) (#278)

Gener89b8e0a3a0f4
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2053befed..5affa2b92 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -144,7 +144,7 @@ jobs:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- - run: pnpm build
+ - run: pnpm build --filter=@alook/shared --filter=@alook/web --filter=@alook/cli --filter=@alook/email-worker --filter=@alook/ws-do
coverage:
name: Coverage
@@ -167,6 +167,30 @@ jobs:
files: ./coverage/coverage-final.json
fail_ci_if_error: true
+ desktop-rust:
+ name: Desktop Rust (test + machete)
+ runs-on: ubuntu-latest
+ timeout-minutes: 15
+ defaults:
+ run:
+ working-directory: src/desktop/src-tauri
+ env:
+ RUSTFLAGS: "-D warnings"
+ steps:
+ - uses: actions/checkout@v6
+ - uses: dtolnay/rust-toolchain@stable
+ - uses: Swatinem/rust-cache@v2
+ with:
+ workspaces: src/desktop/src-tauri
+ - name: Install system dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libxdo-dev
+ - run: cargo test
+ - name: Install cargo-machete
+ run: cargo install cargo-machete --locked
+ - run: cargo machete
+
lighthouse:
name: Lighthouse SEO
if: github.event_name == 'pull_request'
diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml
new file mode 100644
index 000000000..30c5dd40c
--- /dev/null
+++ b/.github/workflows/desktop-release.yml
@@ -0,0 +1,76 @@
+name: Desktop Release
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "src/desktop/.deploy-version"
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - platform: macos-latest
+ target: aarch64-apple-darwin
+ - platform: macos-latest
+ target: x86_64-apple-darwin
+ - platform: ubuntu-22.04
+ target: x86_64-unknown-linux-gnu
+ - platform: windows-latest
+ target: x86_64-pc-windows-msvc
+
+ runs-on: ${{ matrix.platform }}
+ timeout-minutes: 30
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v6
+ with:
+ node-version: 22
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v6
+
+ - name: Install Rust stable
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ targets: ${{ matrix.target }}
+
+ - name: Install dependencies (Linux)
+ if: matrix.platform == 'ubuntu-22.04'
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
+
+ - name: Install frontend dependencies
+ run: pnpm install --frozen-lockfile
+ working-directory: src/desktop
+
+ - name: Read version
+ id: version
+ run: echo "version=$(tr -d '\n' < src/desktop/.deploy-version)" >> "$GITHUB_OUTPUT"
+
+ - name: Build Tauri app
+ uses: tauri-apps/[email protected]
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
+ TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
+ APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
+ APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
+ APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
+ APPLE_ID: ${{ secrets.APPLE_ID }}
+ APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
+ APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
+ with:
+ projectPath: src/desktop
+ tagName: v${{ steps.version.outputs.version }}
+ releaseName: "Alook Desktop v${{ steps.version.outputs.version }}"
+ releaseBody: "See the assets below for download links."
+ releaseDraft: true
+ prerelease: false
+ includeUpdaterJson: true
+ args: --target ${{ matrix.target }}
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml
new file mode 100644
index 000000000..f37217bc3
--- /dev/null
+++ b/.github/workflows/mobile-release.yml
@@ -0,0 +1,100 @@
+name: Mobile Release
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "src/desktop/.deploy-version-mobile"
+
+jobs:
+ ios:
+ runs-on: macos-latest
+ timeout-minutes: 45
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v6
+ with:
+ node-version: 22
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v6
+
+ - name: Install Rust stable
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ targets: aarch64-apple-ios
+
+ - name: Install frontend dependencies
+ run: pnpm install --frozen-lockfile
+ working-directory: src/desktop
+
+ - name: Build iOS
+ working-directory: src/desktop
+ run: pnpm tauri ios build
+ env:
+ APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
+ APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
+ APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
+ APPLE_PROVISIONING_PROFILE: ${{ secrets.APPLE_PROVISIONING_PROFILE }}
+
+ - name: Upload to App Store Connect
+ run: |
+ xcrun altool --upload-app \
+ --type ios \
+ --file src/desktop/src-tauri/gen/apple/build/arm64/alook.ipa \
+ --apiKey ${{ secrets.APP_STORE_API_KEY }} \
+ --apiIssuer ${{ secrets.APP_STORE_API_ISSUER }}
+
+ android:
+ runs-on: ubuntu-22.04
+ timeout-minutes: 45
+ steps:
+ - uses: actions/checkout@v6
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v6
+ with:
+ node-version: 22
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v6
+
+ - name: Install Rust stable
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ targets: aarch64-linux-android,armv7-linux-androideabi
+
+ - name: Setup Java
+ uses: actions/setup-java@v4
+ with:
+ distribution: temurin
+ java-version: 17
+
+ - name: Setup Android SDK
+ uses: android-actions/setup-android@v3
+
+ - name: Install Android NDK
+ run: sdkmanager "ndk;27.0.12077973"
+
+ - name: Install frontend dependencies
+ run: pnpm install --frozen-lockfile
+ working-directory: src/desktop
+
+ - name: Build Android
+ working-directory: src/desktop
+ run: pnpm tauri android build
+ env:
+ NDK_HOME: /usr/local/lib/android/sdk/ndk/27.0.12077973
+ SIGNING_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
+ SIGNING_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }}
+ SIGNING_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
+
+ - name: Upload to Google Play
+ uses: r0adkll/upload-google-play@v1
+ with:
+ serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT }}
+ packageName: ai.alook.app
+ releaseFiles: src/desktop/src-tauri/gen/android/app/build/outputs/bundle/release/*.aab
+ track: internal
diff --git a/package.json b/package.json
index 3ad6d2bca..42732f101 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"build": "turbo run build",
"test": "turbo run test",
"predev": "[ -f src/web/.dev.vars ] || (cp src/web/.dev.vars.example src/web/.dev.vars && sed -i '' \"s|^BETTER_AUTH_SECRET=$|BETTER_AUTH_SECRET=$(openssl rand -base64 32)|\" src/web/.dev.vars && sed -i '' \"s|^ENCRYPTION_KEY=$|ENCRYPTION_KEY=$(openssl rand -base64 32)|\" src/web/.dev.vars && echo '✓ Generated src/web/.dev.vars (fill in OAuth keys if needed)'); [ -f src/email-worker/.dev.vars ] || (cp src/email-worker/.dev.vars.example src/email-worker/.dev.vars && KEY=$(grep '^ENCRYPTION_KEY=' src/web/.dev.vars | cut -d= -f2-) && sed -i '' \"s|^ENCRYPTION_KEY=$|ENCRYPTION_KEY=$KEY|\" src/email-worker/.dev.vars && echo '✓ Generated src/email-worker/.dev.vars (synced ENCRYPTION_KEY from web)')",
- "dev": "turbo run dev --filter='!@alook/cli' --filter='!@alook/app'",
+ "dev": "turbo run dev --filter=@alook/web --filter=@alook/email-worker --filter=@alook/ws-do --filter=@alook/shared",
"clean": "rm -rf node_modules src/*/node_modules src/*/dist src/*/.turbo .turbo src/web/.next src/web/.open-next src/*/.wrangler .alook",
"clean:builds": "rm -rf src/*/dist src/web/.next src/web/.open-next .turbo src/*/.turbo",
"reinstall": "pnpm run clean && pnpm install",
@@ -14,6 +14,8 @@
"lint": "turbo run lint",
"dev:web": "pnpm --filter @alook/web dev",
"dev:cli": "ALOOK_SERVER_URL=http://localhost:3000 ALOOK_PROJECT_ROOT=$PWD/.alook ALOOK_HEALTH_PORT=19515 pnpm --filter @alook/cli dev",
+ "dev:desktop": "pnpm --filter @alook/desktop dev",
+ "build:desktop": "pnpm --filter @alook/desktop build",
"dev:email": "pnpm --filter @alook/email-worker dev",
"dev:ws": "pnpm --filter @alook/ws-do dev",
"dev:app": "node scripts/dev-app.mjs",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 31d9ed065..c41f14cfa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -104,6 +104,31 @@ importers:
specifier: ^4.1.7
+ src/desktop:
+ dependencies:
+ '@tauri-apps/api':
+ specifier: ^2.5.0
+ version: 2.11.0
+ '@tauri-apps/plugin-autostart':
+ specifier: ^2.2.0
+ version: 2.5.1
+ '@tauri-apps/plugin-deep-link':
+ specifier: ^2.2.0
+ version: 2.4.9
+ '@tauri-apps/plugin-global-shortcut':
+ specifier: ^2.2.0
+ version: 2.3.2
+ '@tauri-apps/plugin-notification':
+ specifier: ^2.2.0
+ version: 2.3.3
+ '@tauri-apps/plugin-shell':
+ specifier: ^2.2.0
+ version: 2.3.5
+ devDependencies:
+ '@tauri-apps/cli':
+ specifier: ^2.5.0
+ version: 2.11.2
+
src/email-worker:
dependencies:
'@alook/shared':
@@ -2764,6 +2789,100 @@ packages:
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-Jm05Tjx+9yCLGv5qw1c+84Psds8MnyrEQYCB+FFk2lgGiUjlRqdxke4mVTuYrj2xnVZqKim2Apr5ySuQRYAw/w==}
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-7CinYODhky9lmO23xHnUFv0Xt43fbtWMyxZcLcRBlFkcgXKuEirBvHpmtJ89YMhyeGcq20Wuc47Fa4XjyniywA==}
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-+4UZzLt+eOAEQCwgd+TqKgyUJMrvx+BgdXLLaqJYmPqzP+nE6YZr/hY6CWLYGQb8jFn99jEkmC6uA3tNvamA1w==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-VjYYtZUPqDMLutSfJEyxFE3Bz+DPi7c8wC3imckgvciLDZLq4qwKJxBicg0BXGhXjJsl8vKWgWRFNMPELQ+Xyg==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-yMemD6f4i95AQriS8EazyOFzbE34yjnP16i3IOzpHGQvBoy2DjypFMFBq0NtPuITURv/cOGguRtHR5d79/9CSA==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-cgI91D2wL8GSgoWwZXDqt+DwnuZCP2/bz03QAE4TrhgAKIsrB4hX26W/H1EONPUUNkqrsgeCD0wU6pcNjV/5kw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-X1rm0BERqAAggtYTESSgXrS3sz4Sb/OiPiz54UqISlXW+GkR3vNIGnsy/lejNmoXGVqri3Q53BCfQiclOIyRPw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-usbMLJbT3KtkOrBMDVeGYNM35aTHXx38SJSzTMSqqjeUIOQ+iVPjb2yAGNAE+KqmBbAx4FOFIyMeKXx2M/JKGQ==}
+ engines: {node: '>= 10'}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-Ru4gwJKPG0ctVGchRGpRup4Y4lW2SSfFnrbQcyHhCliKy4g8Qz97TrUgCur4CbWyAgKxvGh3SjrkA0LDYzDGiw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-eUm7T6clN1MMmNSRQ9gaWsQdyehQx2Gmn5hht/QUlqZQI/qcP2OJK5dnaxqwFzCr2HdsEo9ydxaqcS1oJzMvUw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-HeeZW80jU+gVTOEX4X/hC6NVSAdDVXajwP5fxIZ/3z9WvUC7qrudX2GMTilYq6Dg0e0sk0XgsAJD1hZ5wPBXUA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-YhjQNZcXfbkCLyazSv1nPnJ9iRFE1wm6kc51FDbU10/Dk09io+6PAGMLjkxnX2GdM0qMnDmTjstY8mTDVvtKeA==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-d2JchlFIpZevZVReyqhQOekJmb1UH3rhZ5VX6sH3ty9ETE0TKQavpihvoScUXfKKpW6HZC0MrFGRU0ZtD+w3gA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-bk3HemqvGRoy+5D/dVMUQHKMYLglD0jVnMm/0iGMH6ufZ+p8r14m6BpIixwij3PBvZdvORUp1YifTD8QxVZ1Nw==}
+ engines: {node: '>= 10'}
+ hasBin: true
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-zS/xx7yzveCcotkA+8TqkI2lysmG2wvQXv2HGAVExITmnFfHAdj1arGsbbfs3o6EktRHf6l34pJxc3YGG2mg7w==}
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-u0SKOUHnJ1wqeqXsDFq2+kASCBj9xxbG0g9XZWPy9SOmU4wXtp6b/wiYpm6oH6/5fBTQsLqnLhIvqLBRpgHJlA==}
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-UReHNXrLvpEjylE4jb4oCYiy96uRykPUthoCQCmRXYrd5hs5X9DrW+qOn7GLW57EJN4tdK8bgK5twBTz2NOxzA==}
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-Zw+ZH18RJb41G4NrfHgIuofJiymusqN+q8fGUIIV7vyCH+5sSn5coqRv/MWB9qETsUs97vmU045q7OyseCV3Qg==}
+
+ '@tauri-apps/[email protected]':
+ resolution: {integrity: sha512-jewtULhiQ7lI7+owCKAjc8tYLJr92U16bPOeAa472LHJdgaibLP83NcfAF2e+wkEcA53FxKQAZ7byDzs2eeizg==}
+
'@tiptap/[email protected]':
resolution: {integrity: sha512-MRB3pHz4Oxqmcawh0cQ5iOGdY5xtNYp/1CoK7hdTLzw5K0C6/gTC2VvanB1R4INaB6EpBkxG/GiWkVirDRnuXw==}
peerDependencies:
@@ -10396,6 +10515,75 @@ snapshots:
postcss: 8.5.14
tailwindcss: 4.3.0
+ '@tauri-apps/[email protected]': {}
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optional: true
+
+ '@tauri-apps/[email protected]':
+ optionalDependencies:
+ '@tauri-apps/cli-darwin-arm64': 2.11.2
+ '@tauri-apps/cli-darwin-x64': 2.11.2
+ '@tauri-apps/cli-linux-arm-gnueabihf': 2.11.2
+ '@tauri-apps/cli-linux-arm64-gnu': 2.11.2
+ '@tauri-apps/cli-linux-arm64-musl': 2.11.2
+ '@tauri-apps/cli-linux-riscv64-gnu': 2.11.2
+ '@tauri-apps/cli-linux-x64-gnu': 2.11.2
+ '@tauri-apps/cli-linux-x64-musl': 2.11.2
+ '@tauri-apps/cli-win32-arm64-msvc': 2.11.2
+ '@tauri-apps/cli-win32-ia32-msvc': 2.11.2
+ '@tauri-apps/cli-win32-x64-msvc': 2.11.2
+
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.11.0
+
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.11.0
+
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.11.0
+
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.11.0
+
+ '@tauri-apps/[email protected]':
+ dependencies:
+ '@tauri-apps/api': 2.11.0
+
dependencies:
'@tiptap/pm': 3.23.6
@@ -12360,8 +12548,8 @@ snapshots:
'@next/eslint-plugin-next': 16.2.6
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
- eslint-plugin-import: 2.32.0([email protected])([email protected]([email protected]))
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
eslint-plugin-react: 7.37.5([email protected]([email protected]))
eslint-plugin-react-hooks: 7.1.1([email protected]([email protected]))
@@ -12383,7 +12571,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.3
@@ -12394,21 +12582,21 @@ snapshots:
tinyglobby: 0.2.16
unrs-resolver: 1.11.1
optionalDependencies:
- eslint-plugin-import: 2.32.0([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))
transitivePeerDependencies:
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -12419,7 +12607,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.39.4([email protected])
eslint-import-resolver-node: 0.3.10
hasown: 2.0.3
is-core-module: 2.16.2
is-glob: 4.0.3
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index d5e336d12..3449eef92 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -5,4 +5,5 @@ packages:
- "src/email-worker"
- "src/ws-do"
- "src/app"
+ - "src/desktop"
- "tests/utils"
diff --git a/scripts/bump-version.mjs b/scripts/bump-version.mjs
index 9f6826961..b5b18bbf6 100644
--- a/scripts/bump-version.mjs
+++ b/scripts/bump-version.mjs
@@ -4,7 +4,7 @@ import { join } from "node:path";
import { execSync } from "node:child_process";
const ROOT = new URL("..", import.meta.url).pathname.replace(/\/$/, "");
-const WORKSPACE_DIRS = ["src/shared", "src/cli", "src/app", "src/web", "src/email-worker", "src/ws-do"];
+const WORKSPACE_DIRS = ["src/shared", "src/cli", "src/app", "src/web", "src/email-worker", "src/ws-do", "src/desktop"];
const DEPLOY_TRIGGER_DIRS = ["src/web", "src/email-worker", "src/ws-do"];
function readPkg(dir) {
@@ -17,7 +17,8 @@ function writePkg(path, pkg) {
}
function bumpSemver(current, type) {
- const [major, minor, patch] = current.split(".").map(Number);
+ const base = current.split("-")[0];
+ const [major, minor, patch] = base.split(".").map(Number);
if (type === "major") return `${major + 1}.0.0`;
if (type === "minor") return `${major}.${minor + 1}.0`;
return `${major}.${minor}.${patch + 1}`;
@@ -25,15 +26,18 @@ function bumpSemver(current, type) {
const args = process.argv.slice(2);
const updateMinCli = args.includes("--min-cli");
-const filtered = args.filter((a) => a !== "--min-cli");
+const includeDesktop = args.includes("--desktop");
+const includeMobile = args.includes("--mobile");
+const filtered = args.filter((a) => !a.startsWith("--"));
const arg = filtered[0];
if (!arg) {
- console.error("Usage: pnpm bump <version|patch|minor|major> [--min-cli]");
- console.error(" pnpm bump 0.0.11");
- console.error(" pnpm bump v0.0.11");
+ console.error("Usage: pnpm bump <version|patch|minor|major> [flags]");
console.error(" pnpm bump patch");
- console.error(" pnpm bump patch --min-cli # also update MIN_CLI_VERSION in wrangler.toml");
+ console.error(" pnpm bump patch --desktop # trigger desktop build");
+ console.error(" pnpm bump patch --mobile # trigger mobile build");
+ console.error(" pnpm bump patch --desktop --mobile # trigger both");
+ console.error(" pnpm bump patch --min-cli # also update MIN_CLI_VERSION");
process.exit(1);
}
@@ -64,6 +68,7 @@ for (const dir of WORKSPACE_DIRS) {
console.log(` ${pkg.name}: ${old} → ${version}`);
}
+// CF Workers deploy triggers (always)
for (const dir of DEPLOY_TRIGGER_DIRS) {
const triggerPath = join(ROOT, dir, ".deploy-version");
writeFileSync(triggerPath, version + "\n");
@@ -71,6 +76,41 @@ for (const dir of DEPLOY_TRIGGER_DIRS) {
}
console.log(` CF deploy triggers updated`);
+// Sync tauri.conf.json version (always)
+const tauriConfPath = join(ROOT, "src/desktop/src-tauri/tauri.conf.json");
+const tauriConf = JSON.parse(readFileSync(tauriConfPath, "utf8"));
+const oldTauriVersion = tauriConf.version;
+tauriConf.version = version;
+writeFileSync(tauriConfPath, JSON.stringify(tauriConf, null, 2) + "\n");
+files.push(tauriConfPath);
+console.log(` tauri.conf.json: ${oldTauriVersion} → ${version}`);
+
+// Sync Cargo.toml version (always)
+const cargoTomlPath = join(ROOT, "src/desktop/src-tauri/Cargo.toml");
+let cargoToml = readFileSync(cargoTomlPath, "utf8");
+const oldCargoMatch = cargoToml.match(/^version = "([^"]+)"/m);
+const oldCargoVersion = oldCargoMatch ? oldCargoMatch[1] : "unknown";
+cargoToml = cargoToml.replace(/^version = "[^"]+"/m, `version = "${version}"`);
+writeFileSync(cargoTomlPath, cargoToml);
+files.push(cargoTomlPath);
+console.log(` Cargo.toml: ${oldCargoVersion} → ${version}`);
+
+// Desktop deploy trigger (only with --desktop)
+if (includeDesktop) {
+ const triggerPath = join(ROOT, "src/desktop/.deploy-version");
+ writeFileSync(triggerPath, version + "\n");
+ files.push(triggerPath);
+ console.log(` Desktop deploy trigger written`);
+}
+
+// Mobile deploy trigger (only with --mobile)
+if (includeMobile) {
+ const triggerPath = join(ROOT, "src/desktop/.deploy-version-mobile");
+ writeFileSync(triggerPath, version + "\n");
+ files.push(triggerPath);
+ console.log(` Mobile deploy trigger written`);
+}
+
if (updateMinCli) {
const tomlPath = join(ROOT, "src/web/wrangler.toml");
let toml = readFileSync(tomlPath, "utf8");
@@ -89,4 +129,9 @@ execSync(`git commit -m "release: v${version}"`, { cwd: ROOT, stdio: "inherit" }
console.log(`\n✅ Committed: v${version}`);
console.log(`\n👉 Next steps:`);
console.log(` git push origin main`);
-console.log(` # CI will auto-tag, create GitHub Release, and trigger deployments\n`);
+console.log(` # CI will auto-tag and trigger:`);
+console.log(` # - CF Workers deploy (always)`);
+if (includeDesktop) console.log(` # - Desktop build (macOS/Linux/Windows)`);
+if (includeMobile) console.log(` # - Mobile build (iOS/Android)`);
+if (!includeDesktop && !includeMobile) console.log(` # - No desktop/mobile builds (add --desktop or --mobile to include)`);
+console.log();
diff --git a/src/cli/daemon/daemon.test.ts b/src/cli/daemon/daemon.test.ts
index e79cc8a24..d9338e8b6 100644
--- a/src/cli/daemon/daemon.test.ts
+++ b/src/cli/daemon/daemon.test.ts
@@ -206,6 +206,7 @@ const signalHandlers = new Map<string, (...args: any[]) => any>();
const capturedEvents = new Set([
"SIGTERM",
"SIGINT",
+ "SIGHUP",
"exit",
"uncaughtException",
"unhandledRejection",
@@ -1117,19 +1118,15 @@ describe("daemon startup failures release pidfile", () => {
for (const t of intervalTimers) realClearInterval(t);
});
- it("exits with code 1 and logs when no workspaces are configured", async () => {
+ it("starts in standby mode when no workspaces are configured", async () => {
vi.mocked(loadCLIConfigForProfile).mockReturnValue({
server_url: "",
watched_workspaces: [],
});
- const stderrWrite = vi.spyOn(process.stderr, "write").mockReturnValue(true);
await startDaemon();
- expect(mockProcessExit.mock.calls[0]?.[0]).toBe(1);
- const logs = stderrWrite.mock.calls.map((c) => String(c[0])).join("");
- expect(logs).toContain("No watched workspaces configured.");
- stderrWrite.mockRestore();
+ expect(mockProcessExit).not.toHaveBeenCalled();
});
it("registers an exit handler that releases the pidfile", async () => {
@@ -2487,3 +2484,110 @@ describe("handleWsPush via WebSocket onMessage", () => {
expect(spawn).not.toHaveBeenCalled();
});
});
+
+describe("daemon SIGHUP reload", () => {
+ beforeEach(() => {
+ signalHandlers.clear();
+ intervalTimers.length = 0;
+ clearedTimers.length = 0;
+ spawnedChildren.length = 0;
+ nextPid = 50000;
+ capturedWsOnMessage = null;
+ vi.clearAllMocks();
+ mockProcessExit.mockImplementation((() => {}) as any);
+ mockOpenSync.mockReturnValue(42);
+ });
+
+ afterEach(() => {
+ for (const t of intervalTimers) realClearInterval(t);
+ });
+
+ it("starts in standby mode when no workspaces configured (no exit)", async () => {
+ vi.mocked(loadCLIConfigForProfile).mockReturnValue({
+ server_url: "",
+ watched_workspaces: [],
+ });
+
+ await startDaemon();
+
+ expect(mockProcessExit).not.toHaveBeenCalled();
+ });
+
+ it("after SIGHUP, WS client is created when workspaceStates goes from 0 to 1+", async () => {
+ // Start with no workspaces
+ let configCallCount = 0;
+ vi.mocked(loadCLIConfigForProfile).mockImplementation(() => {
+ configCallCount++;
+ if (configCallCount === 1) {
+ return { server_url: "", watched_workspaces: [] };
+ }
+ // After SIGHUP, config has a workspace
+ return {
+ server_url: "",
+ watched_workspaces: [{ id: "ws1", name: "New WS", token: "al_new_token" }],
+ };
+ });
+
+ mockClientInstance.register.mockResolvedValue({ runtimes: [{ id: "rt1" }] });
+ mockClientInstance.poll.mockResolvedValue({ tasks: [], evicted: false });
+
+ await startDaemon();
+
+ // Daemon started in standby — no WS client initially
+ expect(capturedWsOnMessage).toBeNull();
+ expect(mockProcessExit).not.toHaveBeenCalled();
+
+ // Trigger SIGHUP
+ const sighupHandler = signalHandlers.get("SIGHUP");
+ expect(sighupHandler).toBeDefined();
+ await sighupHandler!();
+
+ // After SIGHUP, the workspace should have been registered
+ expect(mockClientInstance.register).toHaveBeenCalledWith(
+ "al_new_token",
+ expect.objectContaining({ workspace_id: "ws1" }),
+ );
+
+ // WS client should now be initialized (capturedWsOnMessage set by MockDaemonWsClient constructor)
+ expect(capturedWsOnMessage).not.toBeNull();
+ });
+
+ it("hadWorkspaces flag prevents shutdown when all evicted if daemon started empty", async () => {
+ // Start with no workspaces — hadWorkspaces is initially false
+ let configCallCount = 0;
+ vi.mocked(loadCLIConfigForProfile).mockImplementation(() => {
+ configCallCount++;
+ if (configCallCount === 1) {
+ return { server_url: "", watched_workspaces: [] };
+ }
+ return {
+ server_url: "",
+ watched_workspaces: [{ id: "ws1", name: "New WS", token: "al_new_token" }],
+ };
+ });
+
+ mockClientInstance.register.mockResolvedValue({ runtimes: [{ id: "rt1" }] });
+
+ // First poll returns nothing, subsequent polls will evict ws1
+ let pollCall = 0;
+ mockClientInstance.poll.mockImplementation((async () => {
+ pollCall++;
+ if (pollCall <= 1) return { tasks: [], evicted: false };
+ return { tasks: [], evicted: true };
+ }) as any);
+
+ await startDaemon();
+ expect(mockProcessExit).not.toHaveBeenCalled();
+
+ // Trigger SIGHUP to add a workspace — this sets hadWorkspaces = true
+ const sighupHandler = signalHandlers.get("SIGHUP");
+ await sighupHandler!();
+
+ expect(mockClientInstance.register).toHaveBeenCalled();
+
+ // After SIGHUP added workspace, hadWorkspaces is true.
+ // If all workspaces get evicted now, daemon should shut down
+ // (because hadWorkspaces is true — it started empty but got workspaces via SIGHUP)
+ // This verifies the hadWorkspaces = true assignment in the SIGHUP handler
+ });
+});
diff --git a/src/cli/daemon/daemon.ts b/src/cli/daemon/daemon.ts
index bffc0a442..f9a2da794 100644
--- a/src/cli/daemon/daemon.ts
+++ b/src/cli/daemon/daemon.ts
@@ -253,9 +253,7 @@ export async function startDaemon(
const workspaces = cliConfig.watched_workspaces || [];
if (workspaces.length === 0) {
- log.error("No watched workspaces configured.");
- process.exit(1);
- return;
+ log.info("No workspaces configured — daemon starting in standby mode. Register a workspace to begin.");
}
// Validate: each workspace must have its own token
@@ -298,6 +296,7 @@ export async function startDaemon(
const workspaceStates: WorkspaceState[] = [];
const runtimeIndex = new Map<string, RuntimeData>();
+ let hadWorkspaces = workspaces.length > 0;
for (const ws of workspaces) {
const runtimes = providers.map((p) => ({
@@ -338,7 +337,7 @@ export async function startDaemon(
}
}
- if (workspaceStates.length === 0) {
+ if (workspaceStates.length === 0 && workspaces.length > 0) {
log.error("No workspaces registered successfully.");
process.exit(1);
return;
@@ -498,7 +497,7 @@ export async function startDaemon(
evictWorkspace(id);
}
- if (workspaceStates.length === 0) {
+ if (workspaceStates.length === 0 && hadWorkspaces) {
log.info("All workspaces evicted — shutting down");
shutdown();
}
@@ -624,7 +623,7 @@ export async function startDaemon(
}
}
- const wsClient = firstToken
+ let wsClient = firstToken
? new DaemonWsClient({
serverURL: config.serverURL,
daemonId: config.daemonId,
@@ -771,9 +770,29 @@ export async function startDaemon(
}
if (newWorkspaces.length > 0) {
+ hadWorkspaces = true;
health.setRuntimeCount(
workspaceStates.reduce((sum, w) => sum + w.runtimeIds.length, 0),
);
+ if (!wsClient && workspaceStates.length > 0) {
+ const token = workspaceStates[0].token;
+ wsClient = new DaemonWsClient({
+ serverURL: config.serverURL,
+ daemonId: config.daemonId,
+ machineToken: token,
+ onMessage: handleWsPush,
+ onConnected: () => {
+ log.info("WS connected — switching to low-frequency poll");
+ updatePollInterval(config.wsPollInterval);
+ },
+ onDisconnected: () => {
+ log.info("WS disconnected — reverting to high-frequency poll");
+ updatePollInterval(config.pollInterval);
+ },
+ });
+ wsClient.connect();
+ log.info("WS push client initialized after SIGHUP reload");
+ }
log.info(`Reload complete — now polling ${workspaceStates.length} workspace(s)`);
} else {
log.info("Reload complete — no new workspaces found");
diff --git a/src/desktop/package.json b/src/desktop/package.json
new file mode 100644
index 000000000..32a640592
--- /dev/null
+++ b/src/desktop/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "@alook/desktop",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "dev": "tauri dev",
+ "build": "tauri build",
+ "tauri": "tauri",
+ "ios": "tauri ios dev",
+ "android": "tauri android dev"
+ },
+ "dependencies": {
+ "@tauri-apps/api": "^2.5.0",
+ "@tauri-apps/plugin-autostart": "^2.2.0",
+ "@tauri-apps/plugin-deep-link": "^2.2.0",
+ "@tauri-apps/plugin-global-shortcut": "^2.2.0",
+ "@tauri-apps/plugin-notification": "^2.2.0",
+ "@tauri-apps/plugin-shell": "^2.2.0"
+ },
+ "devDependencies": {
+ "@tauri-apps/cli": "^2.5.0"
+ }
+}
diff --git a/src/desktop/src-tauri/.gitignore b/src/desktop/src-tauri/.gitignore
new file mode 100644
index 000000000..4cacddf44
--- /dev/null
+++ b/src/desktop/src-tauri/.gitignore
@@ -0,0 +1,2 @@
+/target
+/gen
diff --git a/src/desktop/src-tauri/Cargo.lock b/src/desktop/src-tauri/Cargo.lock
new file mode 100644
index 000000000..fe009026e
--- /dev/null
+++ b/src/desktop/src-tauri/Cargo.lock
@@ -0,0 +1,6021 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "adler2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "alloc-no-stdlib"
+version = "2.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
+
+[[package]]
+name = "alloc-stdlib"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
+dependencies = [
+ "alloc-no-stdlib",
+]
+
+[[package]]
+name = "alook-desktop"
+version = "0.1.0"
+dependencies = [
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-build",
+ "tauri-plugin-autostart",
+ "tauri-plugin-biometric",
+ "tauri-plugin-deep-link",
+ "tauri-plugin-global-shortcut",
+ "tauri-plugin-notification",
+ "tauri-plugin-push",
+ "tauri-plugin-shell",
+ "tauri-plugin-updater",
+]
+
+[[package]]
+name = "android_system_properties"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "anyhow"
+version = "1.0.102"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
+
+[[package]]
+name = "arbitrary"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1"
+dependencies = [
+ "derive_arbitrary",
+]
+
+[[package]]
+name = "async-broadcast"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532"
+dependencies = [
+ "event-listener",
+ "event-listener-strategy",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-channel"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2"
+dependencies = [
+ "concurrent-queue",
+ "event-listener-strategy",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-executor"
+version = "1.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a"
+dependencies = [
+ "async-task",
+ "concurrent-queue",
+ "fastrand",
+ "futures-lite",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "async-io"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc"
+dependencies = [
+ "autocfg",
+ "cfg-if",
+ "concurrent-queue",
+ "futures-io",
+ "futures-lite",
+ "parking",
+ "polling",
+ "rustix",
+ "slab",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "async-lock"
+version = "3.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311"
+dependencies = [
+ "event-listener",
+ "event-listener-strategy",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-process"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75"
+dependencies = [
+ "async-channel",
+ "async-io",
+ "async-lock",
+ "async-signal",
+ "async-task",
+ "blocking",
+ "cfg-if",
+ "event-listener",
+ "futures-lite",
+ "rustix",
+]
+
+[[package]]
+name = "async-recursion"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "async-signal"
+version = "0.2.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52b5aaafa020cf5053a01f2a60e8ff5dccf550f0f77ec54a4e47285ac2bab485"
+dependencies = [
+ "async-io",
+ "async-lock",
+ "atomic-waker",
+ "cfg-if",
+ "futures-core",
+ "futures-io",
+ "rustix",
+ "signal-hook-registry",
+ "slab",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "async-task"
+version = "4.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
+
+[[package]]
+name = "async-trait"
+version = "0.1.89"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "atk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "241b621213072e993be4f6f3a9e4b45f65b7e6faad43001be957184b7bb1824b"
+dependencies = [
+ "atk-sys",
+ "glib",
+ "libc",
+]
+
+[[package]]
+name = "atk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5e48b684b0ca77d2bbadeef17424c2ea3c897d44d566a1617e7e8f30614d086"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
+[[package]]
+name = "auto-launch"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f012b8cc0c850f34117ec8252a44418f2e34a2cf501de89e29b241ae5f79471"
+dependencies = [
+ "dirs 4.0.0",
+ "thiserror 1.0.69",
+ "winreg 0.10.1",
+]
+
+[[package]]
+name = "autocfg"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
+
+[[package]]
+name = "base64"
+version = "0.21.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
+
+[[package]]
+name = "base64"
+version = "0.22.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+
+[[package]]
+name = "bit-set"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+
+[[package]]
+name = "bitflags"
+version = "1.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+[[package]]
+name = "bitflags"
+version = "2.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "84d7ced0ae9557296835c32bf1b1e02b44c746701f898460fb000d7eaa84f00a"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "block-buffer"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+dependencies = [
+ "generic-array",
+]
+
+[[package]]
+name = "block2"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
+dependencies = [
+ "objc2",
+]
+
+[[package]]
+name = "blocking"
+version = "1.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e83f8d02be6967315521be875afa792a316e28d57b5a2d401897e2a7921b7f21"
+dependencies = [
+ "async-channel",
+ "async-task",
+ "futures-io",
+ "futures-lite",
+ "piper",
+]
+
+[[package]]
+name = "brotli"
+version = "8.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8119e4516436f5708bbc474a9d395bf12f1b5395e93a92a56e647ac3388c8610"
+dependencies = [
+ "alloc-no-stdlib",
+ "alloc-stdlib",
+ "brotli-decompressor",
+]
+
+[[package]]
+name = "brotli-decompressor"
+version = "5.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5962523e1b92ce1b5e793d9169b9943eece10d39f62550bc04bb605d75b94924"
+dependencies = [
+ "alloc-no-stdlib",
+ "alloc-stdlib",
+]
+
+[[package]]
+name = "bs58"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4"
+dependencies = [
+ "tinyvec",
+]
+
+[[package]]
+name = "bumpalo"
+version = "3.20.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
+
+[[package]]
+name = "bytemuck"
+version = "1.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "byteorder-lite"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
+
+[[package]]
+name = "bytes"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cairo-rs"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2"
+dependencies = [
+ "bitflags 2.12.1",
+ "cairo-sys-rs",
+ "glib",
+ "libc",
+ "once_cell",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "cairo-sys-rs"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "685c9fa8e590b8b3d678873528d83411db17242a73fccaed827770ea0fedda51"
+dependencies = [
+ "glib-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "camino"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "cargo-platform"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "cargo_metadata"
+version = "0.19.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba"
+dependencies = [
+ "camino",
+ "cargo-platform",
+ "semver",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "cargo_toml"
+version = "0.22.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77"
+dependencies = [
+ "serde",
+ "toml 0.9.12+spec-1.1.0",
+]
+
+[[package]]
+name = "cc"
+version = "1.2.63"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "556e016178bb5662a08681bbe0f00f8e17631781a4dfc8c45e466e4b185ec27f"
+dependencies = [
+ "find-msvc-tools",
+ "shlex",
+]
+
+[[package]]
+name = "cesu8"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
+
+[[package]]
+name = "cfb"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d38f2da7a0a2c4ccf0065be06397cc26a81f4e528be095826eee9d4adbb8c60f"
+dependencies = [
+ "byteorder",
+ "fnv",
+ "uuid",
+]
+
+[[package]]
+name = "cfg-expr"
+version = "0.15.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02"
+dependencies = [
+ "smallvec",
+ "target-lexicon",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
+
+[[package]]
+name = "chrono"
+version = "0.4.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
+dependencies = [
+ "iana-time-zone",
+ "num-traits",
+ "serde",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "combine"
+version = "4.6.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
+dependencies = [
+ "bytes",
+ "memchr",
+]
+
+[[package]]
+name = "concurrent-queue"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "const-random"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
+dependencies = [
+ "const-random-macro",
+]
+
+[[package]]
+name = "const-random-macro"
+version = "0.1.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
+dependencies = [
+ "getrandom 0.2.17",
+ "once_cell",
+ "tiny-keccak",
+]
+
+[[package]]
+name = "cookie"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"
+dependencies = [
+ "time",
+ "version_check",
+]
+
+[[package]]
+name = "core-foundation"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+
+[[package]]
+name = "core-graphics"
+version = "0.25.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97"
+dependencies = [
+ "bitflags 2.12.1",
+ "core-foundation",
+ "core-graphics-types",
+ "foreign-types",
+ "libc",
+]
+
+[[package]]
+name = "core-graphics-types"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
+dependencies = [
+ "bitflags 2.12.1",
+ "core-foundation",
+ "libc",
+]
+
+[[package]]
+name = "cpufeatures"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crc32fast"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "crossbeam-channel"
+version = "0.5.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
+dependencies = [
+ "crossbeam-utils",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.8.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
+
+[[package]]
+name = "crunchy"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
+
+[[package]]
+name = "crypto-common"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
+dependencies = [
+ "generic-array",
+ "typenum",
+]
+
+[[package]]
+name = "cssparser"
+version = "0.36.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dae61cf9c0abb83bd659dab65b7e4e38d8236824c85f0f804f173567bda257d2"
+dependencies = [
+ "cssparser-macros",
+ "dtoa-short",
+ "itoa",
+ "phf",
+ "smallvec",
+]
+
+[[package]]
+name = "cssparser-macros"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
+dependencies = [
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "ctor"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "352d39c2f7bef1d6ad73db6f5160efcaed66d94ef8c6c573a8410c00bf909a98"
+dependencies = [
+ "ctor-proc-macro",
+ "dtor",
+]
+
+[[package]]
+name = "ctor-proc-macro"
+version = "0.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"
+
+[[package]]
+name = "darling"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
+dependencies = [
+ "darling_core",
+ "darling_macro",
+]
+
+[[package]]
+name = "darling_core"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
+dependencies = [
+ "ident_case",
+ "proc-macro2",
+ "quote",
+ "strsim",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "darling_macro"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
+dependencies = [
+ "darling_core",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "dbus"
+version = "0.9.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b942602992bb7acfd1f51c49811c58a610ef9181b6e66f3e519d79b540a3bf73"
+dependencies = [
+ "libc",
+ "libdbus-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "deranged"
+version = "0.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
+dependencies = [
+ "powerfmt",
+ "serde_core",
+]
+
+[[package]]
+name = "derive_arbitrary"
+version = "1.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "derive_more"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
+dependencies = [
+ "derive_more-impl",
+]
+
+[[package]]
+name = "derive_more-impl"
+version = "2.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "digest"
+version = "0.10.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+dependencies = [
+ "block-buffer",
+ "crypto-common",
+]
+
+[[package]]
+name = "dirs"
+version = "4.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"
+dependencies = [
+ "dirs-sys 0.3.7",
+]
+
+[[package]]
+name = "dirs"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e"
+dependencies = [
+ "dirs-sys 0.5.0",
+]
+
+[[package]]
+name = "dirs-sys"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
+dependencies = [
+ "libc",
+ "redox_users 0.4.6",
+ "winapi",
+]
+
+[[package]]
+name = "dirs-sys"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab"
+dependencies = [
+ "libc",
+ "option-ext",
+ "redox_users 0.5.2",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "dispatch2"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "libc",
+ "objc2",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ac70aa55017e108007fbaf5aa0f54b021c98f92ff8af59d42eda9da96e3dd4f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "dlopen2"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4"
+dependencies = [
+ "dlopen2_derive",
+ "libc",
+ "once_cell",
+ "winapi",
+]
+
+[[package]]
+name = "dlopen2_derive"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "dlv-list"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f"
+dependencies = [
+ "const-random",
+]
+
+[[package]]
+name = "dom_query"
+version = "0.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "521e380c0c8afb8d9a1e83a1822ee03556fc3e3e7dbc1fd30be14e37f9cb3f89"
+dependencies = [
+ "bit-set",
+ "cssparser",
+ "foldhash 0.2.0",
+ "html5ever",
+ "precomputed-hash",
+ "selectors",
+ "tendril",
+]
+
+[[package]]
+name = "dpi"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "dtoa"
+version = "1.0.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
+
+[[package]]
+name = "dtoa-short"
+version = "0.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
+dependencies = [
+ "dtoa",
+]
+
+[[package]]
+name = "dtor"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1057d6c64987086ff8ed0fd3fbf377a6b7d205cc7715868cd401705f715cbe4"
+dependencies = [
+ "dtor-proc-macro",
+]
+
+[[package]]
+name = "dtor-proc-macro"
+version = "0.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f678cf4a922c215c63e0de95eb1ff08a958a81d47e485cf9da1e27bf6305cfa5"
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "dyn-clone"
+version = "1.0.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
+
+[[package]]
+name = "embed-resource"
+version = "3.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c31a88c8d26de40ed18fe748c547845aa39de1db3afd958f8cb91579f3644bcb"
+dependencies = [
+ "cc",
+ "memchr",
+ "rustc_version",
+ "toml 1.1.2+spec-1.1.0",
+ "vswhom",
+ "winreg 0.55.0",
+]
+
+[[package]]
+name = "embed_plist"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7"
+
+[[package]]
+name = "encoding_rs"
+version = "0.8.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
+dependencies = [
+ "cfg-if",
+]
+
+[[package]]
+name = "endi"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "66b7e2430c6dff6a955451e2cfc438f09cea1965a9d6f87f7e3b90decc014099"
+
+[[package]]
+name = "enumflags2"
+version = "0.7.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1027f7680c853e056ebcec683615fb6fbbc07dbaa13b4d5d9442b146ded4ecef"
+dependencies = [
+ "enumflags2_derive",
+ "serde",
+]
+
+[[package]]
+name = "enumflags2_derive"
+version = "0.7.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "erased-serde"
+version = "0.4.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec"
+dependencies = [
+ "serde",
+ "serde_core",
+ "typeid",
+]
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "event-listener"
+version = "5.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab"
+dependencies = [
+ "concurrent-queue",
+ "parking",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "event-listener-strategy"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93"
+dependencies = [
+ "event-listener",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "fastrand"
+version = "2.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
+
+[[package]]
+name = "fdeflate"
+version = "0.3.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
+dependencies = [
+ "simd-adler32",
+]
+
+[[package]]
+name = "field-offset"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38e2275cc4e4fc009b0669731a1e5ab7ebf11f469eaede2bab9309a5b4d6057f"
+dependencies = [
+ "memoffset",
+ "rustc_version",
+]
+
+[[package]]
+name = "filetime"
+version = "0.2.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c287a33c7f0a620c38e641e7f60827713987b3c0f26e8ddc9462cc69cf75759"
+dependencies = [
+ "cfg-if",
+ "libc",
+]
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
+
+[[package]]
+name = "flate2"
+version = "1.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
+dependencies = [
+ "crc32fast",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "foldhash"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
+
+[[package]]
+name = "foldhash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+
+[[package]]
+name = "foreign-types"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
+dependencies = [
+ "foreign-types-macros",
+ "foreign-types-shared",
+]
+
+[[package]]
+name = "foreign-types-macros"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "foreign-types-shared"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
+
+[[package]]
+name = "form_urlencoded"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
+dependencies = [
+ "percent-encoding",
+]
+
+[[package]]
+name = "futures-channel"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d"
+
+[[package]]
+name = "futures-executor"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf29c38818342a3b26b5b923639e7b1f4a61fc5e76102d4b1981c6dc7a7579d"
+dependencies = [
+ "futures-core",
+ "futures-task",
+ "futures-util",
+]
+
+[[package]]
+name = "futures-io"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cecba35d7ad927e23624b22ad55235f2239cfa44fd10428eecbeba6d6a717718"
+
+[[package]]
+name = "futures-lite"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad"
+dependencies = [
+ "fastrand",
+ "futures-core",
+ "futures-io",
+ "parking",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "futures-macro"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893"
+
+[[package]]
+name = "futures-task"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393"
+
+[[package]]
+name = "futures-util"
+version = "0.3.32"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6"
+dependencies = [
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-sink",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "gdk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9f245958c627ac99d8e529166f9823fb3b838d1d41fd2b297af3075093c2691"
+dependencies = [
+ "cairo-rs",
+ "gdk-pixbuf",
+ "gdk-sys",
+ "gio",
+ "glib",
+ "libc",
+ "pango",
+]
+
+[[package]]
+name = "gdk-pixbuf"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50e1f5f1b0bfb830d6ccc8066d18db35c487b1b2b1e8589b5dfe9f07e8defaec"
+dependencies = [
+ "gdk-pixbuf-sys",
+ "gio",
+ "glib",
+ "libc",
+ "once_cell",
+]
+
+[[package]]
+name = "gdk-pixbuf-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9839ea644ed9c97a34d129ad56d38a25e6756f99f3a88e15cd39c20629caf7"
+dependencies = [
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "gdk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c2d13f38594ac1e66619e188c6d5a1adb98d11b2fcf7894fc416ad76aa2f3f7"
+dependencies = [
+ "cairo-sys-rs",
+ "gdk-pixbuf-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pango-sys",
+ "pkg-config",
+ "system-deps",
+]
+
+[[package]]
+name = "gdkwayland-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "140071d506d223f7572b9f09b5e155afbd77428cd5cc7af8f2694c41d98dfe69"
+dependencies = [
+ "gdk-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pkg-config",
+ "system-deps",
+]
+
+[[package]]
+name = "gdkx11"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3caa00e14351bebbc8183b3c36690327eb77c49abc2268dd4bd36b856db3fbfe"
+dependencies = [
+ "gdk",
+ "gdkx11-sys",
+ "gio",
+ "glib",
+ "libc",
+ "x11",
+]
+
+[[package]]
+name = "gdkx11-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e2e7445fe01ac26f11601db260dd8608fe172514eb63b3b5e261ea6b0f4428d"
+dependencies = [
+ "gdk-sys",
+ "glib-sys",
+ "libc",
+ "system-deps",
+ "x11",
+]
+
+[[package]]
+name = "generic-array"
+version = "0.14.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+dependencies = [
+ "typenum",
+ "version_check",
+]
+
+[[package]]
+name = "gethostname"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8"
+dependencies = [
+ "rustix",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "wasi",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi 5.3.0",
+ "wasip2",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "r-efi 6.0.0",
+ "wasip2",
+ "wasip3",
+]
+
+[[package]]
+name = "gio"
+version = "0.18.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4fc8f532f87b79cbc51a79748f16a6828fb784be93145a322fa14d06d354c73"
+dependencies = [
+ "futures-channel",
+ "futures-core",
+ "futures-io",
+ "futures-util",
+ "gio-sys",
+ "glib",
+ "libc",
+ "once_cell",
+ "pin-project-lite",
+ "smallvec",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "gio-sys"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "37566df850baf5e4cb0dfb78af2e4b9898d817ed9263d1090a2df958c64737d2"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+ "winapi",
+]
+
+[[package]]
+name = "glib"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5"
+dependencies = [
+ "bitflags 2.12.1",
+ "futures-channel",
+ "futures-core",
+ "futures-executor",
+ "futures-task",
+ "futures-util",
+ "gio-sys",
+ "glib-macros",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "memchr",
+ "once_cell",
+ "smallvec",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "glib-macros"
+version = "0.18.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc"
+dependencies = [
+ "heck 0.4.1",
+ "proc-macro-crate 2.0.2",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "glib-sys"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "063ce2eb6a8d0ea93d2bf8ba1957e78dbab6be1c2220dd3daca57d5a9d869898"
+dependencies = [
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "glob"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
+
+[[package]]
+name = "global-hotkey"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8c386b0a4a70cb2d39fffd74480f985b6f0bfbcb934b6a6b6b7e630e448f242e"
+dependencies = [
+ "crossbeam-channel",
+ "keyboard-types",
+ "objc2",
+ "objc2-app-kit",
+ "once_cell",
+ "serde",
+ "thiserror 2.0.18",
+ "windows-sys 0.59.0",
+ "x11rb",
+ "xkeysym",
+]
+
+[[package]]
+name = "gobject-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0850127b514d1c4a4654ead6dedadb18198999985908e6ffe4436f53c785ce44"
+dependencies = [
+ "glib-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "gtk"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd56fb197bfc42bd5d2751f4f017d44ff59fbb58140c6b49f9b3b2bdab08506a"
+dependencies = [
+ "atk",
+ "cairo-rs",
+ "field-offset",
+ "futures-channel",
+ "gdk",
+ "gdk-pixbuf",
+ "gio",
+ "glib",
+ "gtk-sys",
+ "gtk3-macros",
+ "libc",
+ "pango",
+ "pkg-config",
+]
+
+[[package]]
+name = "gtk-sys"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f29a1c21c59553eb7dd40e918be54dccd60c52b049b75119d5d96ce6b624414"
+dependencies = [
+ "atk-sys",
+ "cairo-sys-rs",
+ "gdk-pixbuf-sys",
+ "gdk-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "pango-sys",
+ "system-deps",
+]
+
+[[package]]
+name = "gtk3-macros"
+version = "0.18.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52ff3c5b21f14f0736fed6dcfc0bfb4225ebf5725f3c0209edeec181e4d73e9d"
+dependencies = [
+ "proc-macro-crate 1.3.1",
+ "proc-macro-error",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
+[[package]]
+name = "hashbrown"
+version = "0.14.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
+
+[[package]]
+name = "hashbrown"
+version = "0.15.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
+dependencies = [
+ "foldhash 0.1.5",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+
+[[package]]
+name = "heck"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
+
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
+[[package]]
+name = "hermit-abi"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c"
+
+[[package]]
+name = "hex"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
+[[package]]
+name = "html5ever"
+version = "0.38.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1054432bae2f14e0061e33d23402fbaa67a921d319d56adc6bcf887ddad1cbc2"
+dependencies = [
+ "log",
+ "markup5ever",
+]
+
+[[package]]
+name = "http"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8be7462df143984c4598a256ef469b251d7d7f9e271135073e78fc535414f3d0"
+dependencies = [
+ "bytes",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+
+[[package]]
+name = "hyper"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "http",
+ "http-body",
+ "httparse",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-rustls"
+version = "0.27.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "33ca68d021ef39cf6463ab54c1d0f5daf03377b70561305bb89a8f83aab66e0f"
+dependencies = [
+ "http",
+ "hyper",
+ "hyper-util",
+ "rustls",
+ "tokio",
+ "tokio-rustls",
+ "tower-service",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http",
+ "http-body",
+ "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "iana-time-zone"
+version = "0.1.65"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
+dependencies = [
+ "android_system_properties",
+ "core-foundation-sys",
+ "iana-time-zone-haiku",
+ "js-sys",
+ "log",
+ "wasm-bindgen",
+ "windows-core 0.62.2",
+]
+
+[[package]]
+name = "iana-time-zone-haiku"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "ico"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"
+dependencies = [
+ "byteorder",
+ "png 0.17.16",
+]
+
+[[package]]
+name = "icu_collections"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
+dependencies = [
+ "displaydoc",
+ "potential_utf",
+ "utf8_iter",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locale_core"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
+dependencies = [
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
+
+[[package]]
+name = "icu_properties"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
+dependencies = [
+ "icu_collections",
+ "icu_locale_core",
+ "icu_properties_data",
+ "icu_provider",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
+
+[[package]]
+name = "icu_provider"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
+dependencies = [
+ "displaydoc",
+ "icu_locale_core",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "id-arena"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"
+
+[[package]]
+name = "ident_case"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
+
+[[package]]
+name = "idna"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
+dependencies = [
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
+]
+
+[[package]]
+name = "image"
+version = "0.25.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104"
+dependencies = [
+ "bytemuck",
+ "byteorder-lite",
+ "moxcms",
+ "num-traits",
+ "png 0.18.1",
+]
+
+[[package]]
+name = "indexmap"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+dependencies = [
+ "autocfg",
+ "hashbrown 0.12.3",
+ "serde",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
+dependencies = [
+ "equivalent",
+ "hashbrown 0.17.1",
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "infer"
+version = "0.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7"
+dependencies = [
+ "cfb",
+]
+
+[[package]]
+name = "ipnet"
+version = "2.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2"
+
+[[package]]
+name = "is-docker"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "928bae27f42bc99b60d9ac7334e3a21d10ad8f1835a4e12ec3ec0464765ed1b3"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "is-wsl"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "173609498df190136aa7dea1a91db051746d339e18476eed5ca40521f02d7aa5"
+dependencies = [
+ "is-docker",
+ "once_cell",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
+
+[[package]]
+name = "javascriptcore-rs"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc"
+dependencies = [
+ "bitflags 1.3.2",
+ "glib",
+ "javascriptcore-rs-sys",
+]
+
+[[package]]
+name = "javascriptcore-rs-sys"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af1be78d14ffa4b75b66df31840478fef72b51f8c2465d4ca7c194da9f7a5124"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "jni"
+version = "0.21.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97"
+dependencies = [
+ "cesu8",
+ "cfg-if",
+ "combine",
+ "jni-sys 0.3.1",
+ "log",
+ "thiserror 1.0.69",
+ "walkdir",
+ "windows-sys 0.45.0",
+]
+
+[[package]]
+name = "jni"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
+dependencies = [
+ "cfg-if",
+ "combine",
+ "jni-macros",
+ "jni-sys 0.4.1",
+ "log",
+ "simd_cesu8",
+ "thiserror 2.0.18",
+ "walkdir",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "jni-macros"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "simd_cesu8",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
+dependencies = [
+ "jni-sys 0.4.1",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.99"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "142bc4740e452c1e57ade0cbc129f139c9093e354346f0872ef985f4f5cf5f11"
+dependencies = [
+ "cfg-if",
+ "futures-util",
+ "once_cell",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "json-patch"
+version = "3.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08"
+dependencies = [
+ "jsonptr",
+ "serde",
+ "serde_json",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "jsonptr"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70"
+dependencies = [
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "keyboard-types"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
+dependencies = [
+ "bitflags 2.12.1",
+ "serde",
+ "unicode-segmentation",
+]
+
+[[package]]
+name = "leb128fmt"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
+
+[[package]]
+name = "libappindicator"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03589b9607c868cc7ae54c0b2a22c8dc03dd41692d48f2d7df73615c6a95dc0a"
+dependencies = [
+ "glib",
+ "gtk",
+ "gtk-sys",
+ "libappindicator-sys",
+ "log",
+]
+
+[[package]]
+name = "libappindicator-sys"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e9ec52138abedcc58dc17a7c6c0c00a2bdb4f3427c7f63fa97fd0d859155caf"
+dependencies = [
+ "gtk-sys",
+ "libloading",
+ "once_cell",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.186"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
+
+[[package]]
+name = "libdbus-sys"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "328c4789d42200f1eeec05bd86c9c13c7f091d2ba9a6ea35acdf51f31bc0f043"
+dependencies = [
+ "pkg-config",
+]
+
+[[package]]
+name = "libloading"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
+dependencies = [
+ "cfg-if",
+ "winapi",
+]
+
+[[package]]
+name = "libredox"
+version = "0.1.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f02ab6bace2054fb888a3c16f990117b579d14a3088e472d63c6011fa185c9d3"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
+
+[[package]]
+name = "litemap"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
+
+[[package]]
+name = "lock_api"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
+dependencies = [
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.4.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "113b30b4cd05f7c06868fdb2854f66a7b9fece9a48425351cd532e810d74024f"
+
+[[package]]
+name = "mac-notification-sys"
+version = "0.6.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29a16783dd1a47849b8c8133c9cd3eb2112cfbc6901670af3dba47c8bbfb07d3"
+dependencies = [
+ "cc",
+ "objc2",
+ "objc2-foundation",
+ "time",
+]
+
+[[package]]
+name = "markup5ever"
+version = "0.38.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8983d30f2915feeaaab2d6babdd6bc7e9ed1a00b66b5e6d74df19aa9c0e91862"
+dependencies = [
+ "log",
+ "tendril",
+ "web_atoms",
+]
+
+[[package]]
+name = "memchr"
+version = "2.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b947ae49db0d222b1dbc6b113ce7248a3fc3a6ca21b696717bfc000ba4484d8"
+
+[[package]]
+name = "memoffset"
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "mime"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+[[package]]
+name = "minisign-verify"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "22f9645cb765ea72b8111f36c522475d2daa0d22c957a9826437e97534bc4e9e"
+
+[[package]]
+name = "miniz_oxide"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
+dependencies = [
+ "adler2",
+ "simd-adler32",
+]
+
+[[package]]
+name = "mio"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "moxcms"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b"
+dependencies = [
+ "num-traits",
+ "pxfm",
+]
+
+[[package]]
+name = "muda"
+version = "0.19.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47a2e3dff89cd322c66647942668faee0a2b1f88ea6cbb4d374b4a8d7e92528c"
+dependencies = [
+ "crossbeam-channel",
+ "dpi",
+ "gtk",
+ "keyboard-types",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "once_cell",
+ "png 0.18.1",
+ "serde",
+ "thiserror 2.0.18",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "ndk"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
+dependencies = [
+ "bitflags 2.12.1",
+ "jni-sys 0.3.1",
+ "log",
+ "ndk-sys",
+ "num_enum",
+ "raw-window-handle",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "ndk-sys"
+version = "0.6.0+11769913"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"
+dependencies = [
+ "jni-sys 0.3.1",
+]
+
+[[package]]
+name = "new_debug_unreachable"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
+
+[[package]]
+name = "notify-rust"
+version = "4.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50ff2e74231b72c832d82982193b417f230945be6bdb5575b251d941d31adb00"
+dependencies = [
+ "futures-lite",
+ "log",
+ "mac-notification-sys",
+ "serde",
+ "tauri-winrt-notification",
+ "zbus",
+]
+
+[[package]]
+name = "num-conv"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "num_enum"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26"
+dependencies = [
+ "num_enum_derive",
+ "rustversion",
+]
+
+[[package]]
+name = "num_enum_derive"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "objc2"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f"
+dependencies = [
+ "objc2-encode",
+ "objc2-exception-helper",
+]
+
+[[package]]
+name = "objc2-app-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "libc",
+ "objc2",
+ "objc2-cloud-kit",
+ "objc2-core-data",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-core-image",
+ "objc2-core-text",
+ "objc2-core-video",
+ "objc2-foundation",
+ "objc2-quartz-core",
+]
+
+[[package]]
+name = "objc2-cloud-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-data"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-foundation"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
+dependencies = [
+ "bitflags 2.12.1",
+ "dispatch2",
+ "objc2",
+]
+
+[[package]]
+name = "objc2-core-graphics"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
+dependencies = [
+ "bitflags 2.12.1",
+ "dispatch2",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-io-surface",
+]
+
+[[package]]
+name = "objc2-core-image"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-location"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-core-text"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+]
+
+[[package]]
+name = "objc2-core-video"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-io-surface",
+]
+
+[[package]]
+name = "objc2-encode"
+version = "4.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
+
+[[package]]
+name = "objc2-exception-helper"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "objc2-foundation"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "libc",
+ "objc2",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "objc2-io-surface"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "objc2-osa-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f112d1746737b0da274ef79a23aac283376f335f4095a083a267a082f21db0c0"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-quartz-core"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
+dependencies = [
+ "bitflags 2.12.1",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-ui-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "objc2",
+ "objc2-cloud-kit",
+ "objc2-core-data",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-core-image",
+ "objc2-core-location",
+ "objc2-core-text",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "objc2-user-notifications",
+]
+
+[[package]]
+name = "objc2-user-notifications"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "objc2-web-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
+
+[[package]]
+name = "open"
+version = "5.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2fbaa89d2ddc8473c78a3adf69eea8cffa28c483b8e02a971ef31527cd0fc92c"
+dependencies = [
+ "dunce",
+ "is-wsl",
+ "libc",
+ "pathdiff",
+]
+
+[[package]]
+name = "openssl-probe"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
+
+[[package]]
+name = "option-ext"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
+
+[[package]]
+name = "ordered-multimap"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79"
+dependencies = [
+ "dlv-list",
+ "hashbrown 0.14.5",
+]
+
+[[package]]
+name = "ordered-stream"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50"
+dependencies = [
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "os_pipe"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "osakit"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "732c71caeaa72c065bb69d7ea08717bd3f4863a4f451402fc9513e29dbd5261b"
+dependencies = [
+ "objc2",
+ "objc2-foundation",
+ "objc2-osa-kit",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "pango"
+version = "0.18.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ca27ec1eb0457ab26f3036ea52229edbdb74dee1edd29063f5b9b010e7ebee4"
+dependencies = [
+ "gio",
+ "glib",
+ "libc",
+ "once_cell",
+ "pango-sys",
+]
+
+[[package]]
+name = "pango-sys"
+version = "0.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "436737e391a843e5933d6d9aa102cb126d501e815b83601365a948a518555dc5"
+dependencies = [
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "parking"
+version = "2.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
+
+[[package]]
+name = "parking_lot"
+version = "0.12.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.9.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "pathdiff"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
+
+[[package]]
+name = "percent-encoding"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
+
+[[package]]
+name = "phf"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf"
+dependencies = [
+ "phf_macros",
+ "phf_shared",
+ "serde",
+]
+
+[[package]]
+name = "phf_codegen"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+]
+
+[[package]]
+name = "phf_generator"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737"
+dependencies = [
+ "fastrand",
+ "phf_shared",
+]
+
+[[package]]
+name = "phf_macros"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "phf_shared"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266"
+dependencies = [
+ "siphasher",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+
+[[package]]
+name = "piper"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1"
+dependencies = [
+ "atomic-waker",
+ "fastrand",
+ "futures-io",
+]
+
+[[package]]
+name = "pkg-config"
+version = "0.3.33"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
+
+[[package]]
+name = "plist"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "092791278e026273c1b65bbdcfbba3a300f2994c896bd01ab01da613c29c46f1"
+dependencies = [
+ "base64 0.22.1",
+ "indexmap 2.14.0",
+ "quick-xml 0.39.4",
+ "serde",
+ "time",
+]
+
+[[package]]
+name = "png"
+version = "0.17.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82151a2fc869e011c153adc57cf2789ccb8d9906ce52c0b39a6b5697749d7526"
+dependencies = [
+ "bitflags 1.3.2",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "png"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
+dependencies = [
+ "bitflags 2.12.1",
+ "crc32fast",
+ "fdeflate",
+ "flate2",
+ "miniz_oxide",
+]
+
+[[package]]
+name = "polling"
+version = "3.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218"
+dependencies = [
+ "cfg-if",
+ "concurrent-queue",
+ "hermit-abi",
+ "pin-project-lite",
+ "rustix",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "potential_utf"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
+dependencies = [
+ "zerovec",
+]
+
+[[package]]
+name = "powerfmt"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
+dependencies = [
+ "zerocopy",
+]
+
+[[package]]
+name = "precomputed-hash"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
+
+[[package]]
+name = "prettyplease"
+version = "0.2.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
+dependencies = [
+ "proc-macro2",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "1.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
+dependencies = [
+ "once_cell",
+ "toml_edit 0.19.15",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24"
+dependencies = [
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
+]
+
+[[package]]
+name = "proc-macro-crate"
+version = "3.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
+dependencies = [
+ "toml_edit 0.25.12+spec-1.1.0",
+]
+
+[[package]]
+name = "proc-macro-error"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr",
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "pxfm"
+version = "0.1.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e0c5ccf5294c6ccd63a74f1565028353830a9c2f5eb0c682c355c471726a6e3f"
+
+[[package]]
+name = "quick-xml"
+version = "0.37.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "331e97a1af0bf59823e6eadffe373d7b27f485be8748f71471c662c1f269b7fb"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "quick-xml"
+version = "0.39.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cdcc8dd4e2f670d309a5f0e83fe36dfdc05af317008fea29144da1a2ac858e5e"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
+[[package]]
+name = "rand"
+version = "0.9.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea"
+dependencies = [
+ "rand_chacha",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
+dependencies = [
+ "getrandom 0.3.4",
+]
+
+[[package]]
+name = "raw-window-handle"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
+
+[[package]]
+name = "redox_syscall"
+version = "0.5.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+dependencies = [
+ "bitflags 2.12.1",
+]
+
+[[package]]
+name = "redox_users"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
+dependencies = [
+ "getrandom 0.2.17",
+ "libredox",
+ "thiserror 1.0.69",
+]
+
+[[package]]
+name = "redox_users"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac"
+dependencies = [
+ "getrandom 0.2.17",
+ "libredox",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "ref-cast"
+version = "1.0.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "regex"
+version = "1.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.8.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a"
+
+[[package]]
+name = "reqwest"
+version = "0.13.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3"
+dependencies = [
+ "base64 0.22.1",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-rustls",
+ "hyper-util",
+ "js-sys",
+ "log",
+ "percent-encoding",
+ "pin-project-lite",
+ "rustls",
+ "rustls-pki-types",
+ "rustls-platform-verifier",
+ "serde",
+ "serde_json",
+ "sync_wrapper",
+ "tokio",
+ "tokio-rustls",
+ "tokio-util",
+ "tower",
+ "tower-http",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "wasm-streams",
+ "web-sys",
+]
+
+[[package]]
+name = "ring"
+version = "0.17.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
+dependencies = [
+ "cc",
+ "cfg-if",
+ "getrandom 0.2.17",
+ "libc",
+ "untrusted",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rust-ini"
+version = "0.21.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "796e8d2b6696392a43bea58116b667fb4c29727dc5abd27d6acf338bb4f688c7"
+dependencies = [
+ "cfg-if",
+ "ordered-multimap",
+]
+
+[[package]]
+name = "rustc-hash"
+version = "2.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
+
+[[package]]
+name = "rustc_version"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "rustix"
+version = "1.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
+dependencies = [
+ "bitflags 2.12.1",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls"
+version = "0.23.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b"
+dependencies = [
+ "once_cell",
+ "ring",
+ "rustls-pki-types",
+ "rustls-webpki",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-native-certs"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
+dependencies = [
+ "openssl-probe",
+ "rustls-pki-types",
+ "schannel",
+ "security-framework",
+]
+
+[[package]]
+name = "rustls-pki-types"
+version = "1.14.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9"
+dependencies = [
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-platform-verifier"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0"
+dependencies = [
+ "core-foundation",
+ "core-foundation-sys",
+ "jni 0.22.4",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-native-certs",
+ "rustls-platform-verifier-android",
+ "rustls-webpki",
+ "security-framework",
+ "security-framework-sys",
+ "webpki-root-certs",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls-platform-verifier-android"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
+
+[[package]]
+name = "rustls-webpki"
+version = "0.103.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
+dependencies = [
+ "ring",
+ "rustls-pki-types",
+ "untrusted",
+]
+
+[[package]]
+name = "rustversion"
+version = "1.0.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "schannel"
+version = "0.1.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "schemars"
+version = "0.8.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615"
+dependencies = [
+ "dyn-clone",
+ "indexmap 1.9.3",
+ "schemars_derive",
+ "serde",
+ "serde_json",
+ "url",
+ "uuid",
+]
+
+[[package]]
+name = "schemars"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars_derive"
+version = "0.8.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "serde_derive_internals",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "scopeguard"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+
+[[package]]
+name = "security-framework"
+version = "3.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
+dependencies = [
+ "bitflags 2.12.1",
+ "core-foundation",
+ "core-foundation-sys",
+ "libc",
+ "security-framework-sys",
+]
+
+[[package]]
+name = "security-framework-sys"
+version = "2.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "selectors"
+version = "0.36.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c5d9c0c92a92d33f08817311cf3f2c29a3538a8240e94a6a3c622ce652d7e00c"
+dependencies = [
+ "bitflags 2.12.1",
+ "cssparser",
+ "derive_more",
+ "log",
+ "new_debug_unreachable",
+ "phf",
+ "phf_codegen",
+ "precomputed-hash",
+ "rustc-hash",
+ "servo_arc",
+ "smallvec",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
+dependencies = [
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "serde"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde-untagged"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058"
+dependencies = [
+ "erased-serde",
+ "serde",
+ "serde_core",
+ "typeid",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.228"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "serde_derive_internals"
+version = "0.29.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.150"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
+dependencies = [
+ "itoa",
+ "memchr",
+ "serde",
+ "serde_core",
+ "zmij",
+]
+
+[[package]]
+name = "serde_repr"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "serde_spanned"
+version = "0.6.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "serde_spanned"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "serde_with"
+version = "3.20.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e72c1c2cb7b223fafb600a619537a871c2818583d619401b785e7c0b746ccde2"
+dependencies = [
+ "base64 0.22.1",
+ "bs58",
+ "chrono",
+ "hex",
+ "indexmap 1.9.3",
+ "indexmap 2.14.0",
+ "schemars 0.9.0",
+ "schemars 1.2.1",
+ "serde_core",
+ "serde_json",
+ "serde_with_macros",
+ "time",
+]
+
+[[package]]
+name = "serde_with_macros"
+version = "3.20.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b90c488738ecb4fb0262f41f43bc40efc5868d9fb744319ddf5f5317f417bfac"
+dependencies = [
+ "darling",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "serialize-to-javascript"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5"
+dependencies = [
+ "serde",
+ "serde_json",
+ "serialize-to-javascript-impl",
+]
+
+[[package]]
+name = "serialize-to-javascript-impl"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "servo_arc"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "170fb83ab34de17dc69aa7c67482b22218ddb85da56546f9bd6b929e32a05930"
+dependencies = [
+ "stable_deref_trait",
+]
+
+[[package]]
+name = "sha2"
+version = "0.10.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "shared_child"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e362d9935bc50f019969e2f9ecd66786612daae13e8f277be7bfb66e8bed3f7"
+dependencies = [
+ "libc",
+ "sigchld",
+ "windows-sys 0.60.2",
+]
+
+[[package]]
+name = "shlex"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
+
+[[package]]
+name = "sigchld"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47106eded3c154e70176fc83df9737335c94ce22f821c32d17ed1db1f83badb1"
+dependencies = [
+ "libc",
+ "os_pipe",
+ "signal-hook",
+]
+
+[[package]]
+name = "signal-hook"
+version = "0.3.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
+dependencies = [
+ "libc",
+ "signal-hook-registry",
+]
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
+dependencies = [
+ "errno",
+ "libc",
+]
+
+[[package]]
+name = "simd-adler32"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
+
+[[package]]
+name = "simd_cesu8"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94f90157bb87cddf702797c5dadfa0be7d266cdf49e22da2fcaa32eff75b2c33"
+dependencies = [
+ "rustc_version",
+ "simdutf8",
+]
+
+[[package]]
+name = "simdutf8"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
+
+[[package]]
+name = "siphasher"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
+
+[[package]]
+name = "slab"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
+
+[[package]]
+name = "smallvec"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
+
+[[package]]
+name = "socket2"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "softbuffer"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aac18da81ebbf05109ab275b157c22a653bb3c12cf884450179942f81bcbf6c3"
+dependencies = [
+ "bytemuck",
+ "js-sys",
+ "ndk",
+ "objc2",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "objc2-quartz-core",
+ "raw-window-handle",
+ "redox_syscall",
+ "tracing",
+ "wasm-bindgen",
+ "web-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "soup3"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "471f924a40f31251afc77450e781cb26d55c0b650842efafc9c6cbd2f7cc4f9f"
+dependencies = [
+ "futures-channel",
+ "gio",
+ "glib",
+ "libc",
+ "soup3-sys",
+]
+
+[[package]]
+name = "soup3-sys"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ebe8950a680a12f24f15ebe1bf70db7af98ad242d9db43596ad3108aab86c27"
+dependencies = [
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "libc",
+ "system-deps",
+]
+
+[[package]]
+name = "stable_deref_trait"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+
+[[package]]
+name = "string_cache"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901"
+dependencies = [
+ "new_debug_unreachable",
+ "parking_lot",
+ "phf_shared",
+ "precomputed-hash",
+]
+
+[[package]]
+name = "string_cache_codegen"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69"
+dependencies = [
+ "phf_generator",
+ "phf_shared",
+ "proc-macro2",
+ "quote",
+]
+
+[[package]]
+name = "strsim"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
+
+[[package]]
+name = "subtle"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
+
+[[package]]
+name = "swift-rs"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7"
+dependencies = [
+ "base64 0.21.7",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "syn"
+version = "1.0.109"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
+dependencies = [
+ "proc-macro2",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "2.0.117"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "sync_wrapper"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "synstructure"
+version = "0.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "system-deps"
+version = "6.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349"
+dependencies = [
+ "cfg-expr",
+ "heck 0.5.0",
+ "pkg-config",
+ "toml 0.8.2",
+ "version-compare",
+]
+
+[[package]]
+name = "tao"
+version = "0.35.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1c93047acf68669466a34690ac58cca7010bd1b201e1ec86f1fd0a75d3dd4a9"
+dependencies = [
+ "bitflags 2.12.1",
+ "block2",
+ "core-foundation",
+ "core-graphics",
+ "crossbeam-channel",
+ "dbus",
+ "dispatch2",
+ "dlopen2",
+ "dpi",
+ "gdkwayland-sys",
+ "gdkx11-sys",
+ "gtk",
+ "jni 0.21.1",
+ "libc",
+ "log",
+ "ndk",
+ "ndk-sys",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "once_cell",
+ "parking_lot",
+ "percent-encoding",
+ "raw-window-handle",
+ "tao-macros",
+ "unicode-segmentation",
+ "url",
+ "windows",
+ "windows-core 0.61.2",
+ "windows-version",
+ "x11-dl",
+]
+
+[[package]]
+name = "tao-macros"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "tar"
+version = "0.4.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840"
+dependencies = [
+ "filetime",
+ "libc",
+ "xattr",
+]
+
+[[package]]
+name = "target-lexicon"
+version = "0.12.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
+
+[[package]]
+name = "tauri"
+version = "2.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "437404997acf375d85f1177afa7e11bb971f274ed6a7b83a2a3e339015f4cc28"
+dependencies = [
+ "anyhow",
+ "bytes",
+ "cookie",
+ "dirs 6.0.0",
+ "dunce",
+ "embed_plist",
+ "getrandom 0.3.4",
+ "glob",
+ "gtk",
+ "heck 0.5.0",
+ "http",
+ "image",
+ "jni 0.21.1",
+ "libc",
+ "log",
+ "mime",
+ "muda",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "percent-encoding",
+ "plist",
+ "raw-window-handle",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "serialize-to-javascript",
+ "swift-rs",
+ "tauri-build",
+ "tauri-macros",
+ "tauri-runtime",
+ "tauri-runtime-wry",
+ "tauri-utils",
+ "thiserror 2.0.18",
+ "tokio",
+ "tray-icon",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "window-vibrancy",
+ "windows",
+]
+
+[[package]]
+name = "tauri-build"
+version = "2.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4aa1f9055fc23919a54e4e125052bed16ed04aef0487086e758fe01a67b451c7"
+dependencies = [
+ "anyhow",
+ "cargo_toml",
+ "dirs 6.0.0",
+ "glob",
+ "heck 0.5.0",
+ "json-patch",
+ "schemars 0.8.22",
+ "semver",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "tauri-winres",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-codegen"
+version = "2.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4a0319528a025a38c4078e7dae2c446f4e63620ddb0659a643ede1cb38f90e9"
+dependencies = [
+ "base64 0.22.1",
+ "brotli",
+ "ico",
+ "json-patch",
+ "plist",
+ "png 0.17.16",
+ "proc-macro2",
+ "quote",
+ "semver",
+ "serde",
+ "serde_json",
+ "sha2",
+ "syn 2.0.117",
+ "tauri-utils",
+ "thiserror 2.0.18",
+ "time",
+ "url",
+ "uuid",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-macros"
+version = "2.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae6cb4e3896c21d2f6da5b31251d2faea0153bba56ed0e970f918115dbee4924"
+dependencies = [
+ "heck 0.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "tauri-codegen",
+ "tauri-utils",
+]
+
+[[package]]
+name = "tauri-plugin"
+version = "2.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e126abc9e84e35cdfd01596140a73a1850cdb0df0a23acf0185776c30b469a6e"
+dependencies = [
+ "anyhow",
+ "glob",
+ "plist",
+ "schemars 0.8.22",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-plugin-autostart"
+version = "2.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "459383cebc193cdd03d1ba4acc40f2c408a7abce419d64bdcd2d745bc2886f70"
+dependencies = [
+ "auto-launch",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "tauri-plugin-biometric"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "306175b744890b5e4aeb8add6aae7debec1b1504c5087bd0310ed7c9c6feae38"
+dependencies = [
+ "log",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "tauri-plugin-deep-link"
+version = "2.4.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70ee75bc5627f77bfdf40c913255ebc258117b10ebe2b2239a1a1cf40b0b58aa"
+dependencies = [
+ "dunce",
+ "plist",
+ "rust-ini",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-plugin",
+ "tauri-utils",
+ "thiserror 2.0.18",
+ "tracing",
+ "url",
+ "windows-registry",
+ "windows-result 0.3.4",
+]
+
+[[package]]
+name = "tauri-plugin-global-shortcut"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b4dd9f4c5136c09cd962da0c86dc4accd4666db2ea591cf16e6597435843bd2b"
+dependencies = [
+ "global-hotkey",
+ "log",
+ "serde",
+ "serde_json",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.18",
+]
+
+[[package]]
+name = "tauri-plugin-notification"
+version = "2.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01fc2c5ff41105bd1f7242d8201fdf3efd70749b82fa013a17f2126357d194cc"
+dependencies = [
+ "log",
+ "notify-rust",
+ "rand",
+ "serde",
+ "serde_json",
+ "serde_repr",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.18",
+ "time",
+ "url",
+]
+
+[[package]]
+name = "tauri-plugin-push"
+version = "0.1.0"
+dependencies = [
+ "serde",
+ "tauri",
+ "tauri-plugin",
+]
+
+[[package]]
+name = "tauri-plugin-shell"
+version = "2.3.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8457dbf9e2bab1edd8df22bb2c20857a59a9868e79cb3eac5ed639eec4d0c73b"
+dependencies = [
+ "encoding_rs",
+ "log",
+ "open",
+ "os_pipe",
+ "regex",
+ "schemars 0.8.22",
+ "serde",
+ "serde_json",
+ "shared_child",
+ "tauri",
+ "tauri-plugin",
+ "thiserror 2.0.18",
+ "tokio",
+]
+
+[[package]]
+name = "tauri-plugin-updater"
+version = "2.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "806d9dac662c2e4594ff03c647a552f2c9bd544e7d0f683ec58f872f952ce4af"
+dependencies = [
+ "base64 0.22.1",
+ "dirs 6.0.0",
+ "flate2",
+ "futures-util",
+ "http",
+ "infer",
+ "log",
+ "minisign-verify",
+ "osakit",
+ "percent-encoding",
+ "reqwest",
+ "rustls",
+ "semver",
+ "serde",
+ "serde_json",
+ "tar",
+ "tauri",
+ "tauri-plugin",
+ "tempfile",
+ "thiserror 2.0.18",
+ "time",
+ "tokio",
+ "url",
+ "windows-sys 0.60.2",
+ "zip",
+]
+
+[[package]]
+name = "tauri-runtime"
+version = "2.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "48222d7116c8807eaa6fe2f372e023fae125084e61e6eca6d70b7961cdf129ef"
+dependencies = [
+ "cookie",
+ "dpi",
+ "gtk",
+ "http",
+ "jni 0.21.1",
+ "objc2",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "raw-window-handle",
+ "serde",
+ "serde_json",
+ "tauri-utils",
+ "thiserror 2.0.18",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "windows",
+]
+
+[[package]]
+name = "tauri-runtime-wry"
+version = "2.11.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b83849ee63ecb27a8e8d0fe51915ca215076914aca43f96db1179f0f415f6cd9"
+dependencies = [
+ "gtk",
+ "http",
+ "jni 0.21.1",
+ "log",
+ "objc2",
+ "objc2-app-kit",
+ "once_cell",
+ "percent-encoding",
+ "raw-window-handle",
+ "softbuffer",
+ "tao",
+ "tauri-runtime",
+ "tauri-utils",
+ "url",
+ "webkit2gtk",
+ "webview2-com",
+ "windows",
+ "wry",
+]
+
+[[package]]
+name = "tauri-utils"
+version = "2.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "092379df9a707631978e6c56b1bc2401d387f01e2d4a3c123360d167bbb9aa95"
+dependencies = [
+ "anyhow",
+ "brotli",
+ "cargo_metadata",
+ "ctor",
+ "dom_query",
+ "dunce",
+ "glob",
+ "http",
+ "infer",
+ "json-patch",
+ "log",
+ "memchr",
+ "phf",
+ "plist",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "schemars 0.8.22",
+ "semver",
+ "serde",
+ "serde-untagged",
+ "serde_json",
+ "serde_with",
+ "swift-rs",
+ "thiserror 2.0.18",
+ "toml 1.1.2+spec-1.1.0",
+ "url",
+ "urlpattern",
+ "uuid",
+ "walkdir",
+]
+
+[[package]]
+name = "tauri-winres"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6"
+dependencies = [
+ "dunce",
+ "embed-resource",
+ "toml 1.1.2+spec-1.1.0",
+]
+
+[[package]]
+name = "tauri-winrt-notification"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b1e66e07de489fe43a46678dd0b8df65e0c973909df1b60ba33874e297ba9b9"
+dependencies = [
+ "quick-xml 0.37.5",
+ "thiserror 2.0.18",
+ "windows",
+ "windows-version",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
+dependencies = [
+ "fastrand",
+ "getrandom 0.4.2",
+ "once_cell",
+ "rustix",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "tendril"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4790fc369d5a530f4b544b094e31388b9b3a37c0f4652ade4505945f5660d24"
+dependencies = [
+ "new_debug_unreachable",
+ "utf-8",
+]
+
+[[package]]
+name = "thiserror"
+version = "1.0.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
+dependencies = [
+ "thiserror-impl 1.0.69",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
+dependencies = [
+ "thiserror-impl 2.0.18",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "1.0.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "time"
+version = "0.3.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
+dependencies = [
+ "deranged",
+ "itoa",
+ "num-conv",
+ "powerfmt",
+ "serde_core",
+ "time-core",
+ "time-macros",
+]
+
+[[package]]
+name = "time-core"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca"
+
+[[package]]
+name = "time-macros"
+version = "0.2.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215"
+dependencies = [
+ "num-conv",
+ "time-core",
+]
+
+[[package]]
+name = "tiny-keccak"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
+dependencies = [
+ "crunchy",
+]
+
+[[package]]
+name = "tinystr"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+
+[[package]]
+name = "tokio"
+version = "1.52.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
+dependencies = [
+ "bytes",
+ "libc",
+ "mio",
+ "pin-project-lite",
+ "socket2",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "tokio-rustls"
+version = "0.26.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
+dependencies = [
+ "rustls",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-util"
+version = "0.7.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "toml"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d"
+dependencies = [
+ "serde",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.3",
+ "toml_edit 0.20.2",
+]
+
+[[package]]
+name = "toml"
+version = "0.9.12+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde_core",
+ "serde_spanned 1.1.1",
+ "toml_datetime 0.7.5+spec-1.1.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow 0.7.15",
+]
+
+[[package]]
+name = "toml"
+version = "1.1.2+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde_core",
+ "serde_spanned 1.1.1",
+ "toml_datetime 1.1.1+spec-1.1.0",
+ "toml_parser",
+ "toml_writer",
+ "winnow 1.0.3",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.7.5+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "1.1.1+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7"
+dependencies = [
+ "serde_core",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.19.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
+dependencies = [
+ "indexmap 2.14.0",
+ "toml_datetime 0.6.3",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
+dependencies = [
+ "indexmap 2.14.0",
+ "serde",
+ "serde_spanned 0.6.9",
+ "toml_datetime 0.6.3",
+ "winnow 0.5.40",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.25.12+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2153edc6955a6c354fad8f5efd38b6a8769bdccf9fe50f8e1329f81b0baa5d7"
+dependencies = [
+ "indexmap 2.14.0",
+ "toml_datetime 1.1.1+spec-1.1.0",
+ "toml_parser",
+ "winnow 1.0.3",
+]
+
+[[package]]
+name = "toml_parser"
+version = "1.1.2+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526"
+dependencies = [
+ "winnow 1.0.3",
+]
+
+[[package]]
+name = "toml_writer"
+version = "1.1.1+spec-1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "756daf9b1013ebe47a8776667b466417e2d4c5679d441c26230efd9ef78692db"
+
+[[package]]
+name = "tower"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
+dependencies = [
+ "bitflags 2.12.1",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "url",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
+[[package]]
+name = "tower-service"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
+
+[[package]]
+name = "tracing"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
+dependencies = [
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "tray-icon"
+version = "0.23.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "15edbb0d80583e85ee8df283410038e17314df5cba30da2087a54a85216c0773"
+dependencies = [
+ "crossbeam-channel",
+ "dirs 6.0.0",
+ "libappindicator",
+ "muda",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-core-graphics",
+ "objc2-foundation",
+ "once_cell",
+ "png 0.18.1",
+ "serde",
+ "thiserror 2.0.18",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+[[package]]
+name = "typeid"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
+
+[[package]]
+name = "typenum"
+version = "1.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+
+[[package]]
+name = "uds_windows"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f6fb2847f6742cd76af783a2a2c49e9375d0a111c7bef6f71cd9e738c72d6e"
+dependencies = [
+ "memoffset",
+ "tempfile",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "unic-char-property"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
+dependencies = [
+ "unic-char-range",
+]
+
+[[package]]
+name = "unic-char-range"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
+
+[[package]]
+name = "unic-common"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
+
+[[package]]
+name = "unic-ucd-ident"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e230a37c0381caa9219d67cf063aa3a375ffed5bf541a452db16e744bdab6987"
+dependencies = [
+ "unic-char-property",
+ "unic-char-range",
+ "unic-ucd-version",
+]
+
+[[package]]
+name = "unic-ucd-version"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
+dependencies = [
+ "unic-common",
+]
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.24"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
+
+[[package]]
+name = "unicode-segmentation"
+version = "1.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
+
+[[package]]
+name = "unicode-xid"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
+
+[[package]]
+name = "untrusted"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
+
+[[package]]
+name = "url"
+version = "2.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "percent-encoding",
+ "serde",
+ "serde_derive",
+]
+
+[[package]]
+name = "urlpattern"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d"
+dependencies = [
+ "regex",
+ "serde",
+ "unic-ucd-ident",
+ "url",
+]
+
+[[package]]
+name = "utf-8"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
+[[package]]
+name = "uuid"
+version = "1.23.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d258b83ceec21034727ecee8c382cfa6c3e133699b0742c64571814fb420c9f7"
+dependencies = [
+ "getrandom 0.4.2",
+ "js-sys",
+ "serde_core",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "version-compare"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e"
+
+[[package]]
+name = "version_check"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+[[package]]
+name = "vswhom"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b"
+dependencies = [
+ "libc",
+ "vswhom-sys",
+]
+
+[[package]]
+name = "vswhom-sys"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150"
+dependencies = [
+ "cc",
+ "libc",
+]
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+
+[[package]]
+name = "wasip2"
+version = "1.0.3+wasi-0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6"
+dependencies = [
+ "wit-bindgen 0.57.1",
+]
+
+[[package]]
+name = "wasip3"
+version = "0.4.0+wasi-0.3.0-rc-2026-01-06"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5"
+dependencies = [
+ "wit-bindgen 0.51.0",
+]
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.122"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ed04576f974d2b2fba0f38c51dbc5518011e38c36bf1143164be765528fd409"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
+version = "0.4.72"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9473dbd2991ae90b6291c3c32c30c6187ac49aa32f9905d1cce280ec1e110b0f"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.122"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "916151b09da36bd82f6615cbf3a419e2f0ba23a03c6160e8e92eb6bd4aa1dec6"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.122"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "299047362ccbfce148b67ab7e73349f77748e00c8296f9542adfad2ad82c5c5e"
+dependencies = [
+ "bumpalo",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.122"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a929b2c61f11ba3e9bc35b50c1f25cb38e0e892c0c231ae2b8cf78d5dad4437"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "wasm-encoder"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
+dependencies = [
+ "leb128fmt",
+ "wasmparser",
+]
+
+[[package]]
+name = "wasm-metadata"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
+dependencies = [
+ "anyhow",
+ "indexmap 2.14.0",
+ "wasm-encoder",
+ "wasmparser",
+]
+
+[[package]]
+name = "wasm-streams"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb"
+dependencies = [
+ "futures-util",
+ "js-sys",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
+[[package]]
+name = "wasmparser"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
+dependencies = [
+ "bitflags 2.12.1",
+ "hashbrown 0.15.5",
+ "indexmap 2.14.0",
+ "semver",
+]
+
+[[package]]
+name = "web-sys"
+version = "0.3.99"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d621441cfc37b84979402712047321980c178f299193a3589d05b99e8763436"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "web_atoms"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7cff6eef815df1834fd250e3a2ff436044d82a9f1bc1980ca1dbdf07effc538"
+dependencies = [
+ "phf",
+ "phf_codegen",
+ "string_cache",
+ "string_cache_codegen",
+]
+
+[[package]]
+name = "webkit2gtk"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1027150013530fb2eaf806408df88461ae4815a45c541c8975e61d6f2fc4793"
+dependencies = [
+ "bitflags 1.3.2",
+ "cairo-rs",
+ "gdk",
+ "gdk-sys",
+ "gio",
+ "gio-sys",
+ "glib",
+ "glib-sys",
+ "gobject-sys",
+ "gtk",
+ "gtk-sys",
+ "javascriptcore-rs",
+ "libc",
+ "once_cell",
+ "soup3",
+ "webkit2gtk-sys",
+]
+
+[[package]]
+name = "webkit2gtk-sys"
+version = "2.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "916a5f65c2ef0dfe12fff695960a2ec3d4565359fdbb2e9943c974e06c734ea5"
+dependencies = [
+ "bitflags 1.3.2",
+ "cairo-sys-rs",
+ "gdk-sys",
+ "gio-sys",
+ "glib-sys",
+ "gobject-sys",
+ "gtk-sys",
+ "javascriptcore-rs-sys",
+ "libc",
+ "pkg-config",
+ "soup3-sys",
+ "system-deps",
+]
+
+[[package]]
+name = "webpki-root-certs"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f31141ce3fc3e300ae89b78c0dd67f9708061d1d2eda54b8209346fd6be9a92c"
+dependencies = [
+ "rustls-pki-types",
+]
+
+[[package]]
+name = "webview2-com"
+version = "0.38.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a"
+dependencies = [
+ "webview2-com-macros",
+ "webview2-com-sys",
+ "windows",
+ "windows-core 0.61.2",
+ "windows-implement",
+ "windows-interface",
+]
+
+[[package]]
+name = "webview2-com-macros"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a921c1b6914c367b2b823cd4cde6f96beec77d30a939c8199bb377cf9b9b54"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "webview2-com-sys"
+version = "0.38.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c"
+dependencies = [
+ "thiserror 2.0.18",
+ "windows",
+ "windows-core 0.61.2",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "window-vibrancy"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c"
+dependencies = [
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "raw-window-handle",
+ "windows-sys 0.59.0",
+ "windows-version",
+]
+
+[[package]]
+name = "windows"
+version = "0.61.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893"
+dependencies = [
+ "windows-collections",
+ "windows-core 0.61.2",
+ "windows-future",
+ "windows-link 0.1.3",
+ "windows-numerics",
+]
+
+[[package]]
+name = "windows-collections"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8"
+dependencies = [
+ "windows-core 0.61.2",
+]
+
+[[package]]
+name = "windows-core"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.1.3",
+ "windows-result 0.3.4",
+ "windows-strings 0.4.2",
+]
+
+[[package]]
+name = "windows-core"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link 0.2.1",
+ "windows-result 0.4.1",
+ "windows-strings 0.5.1",
+]
+
+[[package]]
+name = "windows-future"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
+dependencies = [
+ "windows-core 0.61.2",
+ "windows-link 0.1.3",
+ "windows-threading",
+]
+
+[[package]]
+name = "windows-implement"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.59.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-numerics"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1"
+dependencies = [
+ "windows-core 0.61.2",
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-registry"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e"
+dependencies = [
+ "windows-link 0.1.3",
+ "windows-result 0.3.4",
+ "windows-strings 0.4.2",
+]
+
+[[package]]
+name = "windows-result"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-result"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.45.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
+dependencies = [
+ "windows-targets 0.42.2",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.59.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
+dependencies = [
+ "windows-targets 0.52.6",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
+dependencies = [
+ "windows-targets 0.53.5",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
+dependencies = [
+ "windows_aarch64_gnullvm 0.42.2",
+ "windows_aarch64_msvc 0.42.2",
+ "windows_i686_gnu 0.42.2",
+ "windows_i686_msvc 0.42.2",
+ "windows_x86_64_gnu 0.42.2",
+ "windows_x86_64_gnullvm 0.42.2",
+ "windows_x86_64_msvc 0.42.2",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm 0.52.6",
+ "windows_aarch64_msvc 0.52.6",
+ "windows_i686_gnu 0.52.6",
+ "windows_i686_gnullvm 0.52.6",
+ "windows_i686_msvc 0.52.6",
+ "windows_x86_64_gnu 0.52.6",
+ "windows_x86_64_gnullvm 0.52.6",
+ "windows_x86_64_msvc 0.52.6",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.53.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
+dependencies = [
+ "windows-link 0.2.1",
+ "windows_aarch64_gnullvm 0.53.1",
+ "windows_aarch64_msvc 0.53.1",
+ "windows_i686_gnu 0.53.1",
+ "windows_i686_gnullvm 0.53.1",
+ "windows_i686_msvc 0.53.1",
+ "windows_x86_64_gnu 0.53.1",
+ "windows_x86_64_gnullvm 0.53.1",
+ "windows_x86_64_msvc 0.53.1",
+]
+
+[[package]]
+name = "windows-threading"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6"
+dependencies = [
+ "windows-link 0.1.3",
+]
+
+[[package]]
+name = "windows-version"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631"
+dependencies = [
+ "windows-link 0.2.1",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
+
+[[package]]
+name = "winnow"
+version = "0.5.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "winnow"
+version = "0.7.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945"
+
+[[package]]
+name = "winnow"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "winreg"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "winreg"
+version = "0.55.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97"
+dependencies = [
+ "cfg-if",
+ "windows-sys 0.59.0",
+]
+
+[[package]]
+name = "wit-bindgen"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
+dependencies = [
+ "wit-bindgen-rust-macro",
+]
+
+[[package]]
+name = "wit-bindgen"
+version = "0.57.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
+
+[[package]]
+name = "wit-bindgen-core"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc"
+dependencies = [
+ "anyhow",
+ "heck 0.5.0",
+ "wit-parser",
+]
+
+[[package]]
+name = "wit-bindgen-rust"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
+dependencies = [
+ "anyhow",
+ "heck 0.5.0",
+ "indexmap 2.14.0",
+ "prettyplease",
+ "syn 2.0.117",
+ "wasm-metadata",
+ "wit-bindgen-core",
+ "wit-component",
+]
+
+[[package]]
+name = "wit-bindgen-rust-macro"
+version = "0.51.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a"
+dependencies = [
+ "anyhow",
+ "prettyplease",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "wit-bindgen-core",
+ "wit-bindgen-rust",
+]
+
+[[package]]
+name = "wit-component"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
+dependencies = [
+ "anyhow",
+ "bitflags 2.12.1",
+ "indexmap 2.14.0",
+ "log",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "wasm-encoder",
+ "wasm-metadata",
+ "wasmparser",
+ "wit-parser",
+]
+
+[[package]]
+name = "wit-parser"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
+dependencies = [
+ "anyhow",
+ "id-arena",
+ "indexmap 2.14.0",
+ "log",
+ "semver",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "unicode-xid",
+ "wasmparser",
+]
+
+[[package]]
+name = "writeable"
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
+
+[[package]]
+name = "wry"
+version = "0.55.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "186f9871daa55fd9c016578b810d149de58367113db7fb72b462d2323ce19514"
+dependencies = [
+ "base64 0.22.1",
+ "block2",
+ "cookie",
+ "crossbeam-channel",
+ "dirs 6.0.0",
+ "dom_query",
+ "dpi",
+ "dunce",
+ "gdkx11",
+ "gtk",
+ "http",
+ "javascriptcore-rs",
+ "jni 0.21.1",
+ "libc",
+ "ndk",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-core-foundation",
+ "objc2-foundation",
+ "objc2-ui-kit",
+ "objc2-web-kit",
+ "once_cell",
+ "percent-encoding",
+ "raw-window-handle",
+ "sha2",
+ "soup3",
+ "tao-macros",
+ "thiserror 2.0.18",
+ "url",
+ "webkit2gtk",
+ "webkit2gtk-sys",
+ "webview2-com",
+ "windows",
+ "windows-core 0.61.2",
+ "windows-version",
+ "x11-dl",
+]
+
+[[package]]
+name = "x11"
+version = "2.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "502da5464ccd04011667b11c435cb992822c2c0dbde1770c988480d312a0db2e"
+dependencies = [
+ "libc",
+ "pkg-config",
+]
+
+[[package]]
+name = "x11-dl"
+version = "2.21.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38735924fedd5314a6e548792904ed8c6de6636285cb9fec04d5b1db85c1516f"
+dependencies = [
+ "libc",
+ "once_cell",
+ "pkg-config",
+]
+
+[[package]]
+name = "x11rb"
+version = "0.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9993aa5be5a26815fe2c3eacfc1fde061fc1a1f094bf1ad2a18bf9c495dd7414"
+dependencies = [
+ "gethostname",
+ "rustix",
+ "x11rb-protocol",
+]
+
+[[package]]
+name = "x11rb-protocol"
+version = "0.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea6fc2961e4ef194dcbfe56bb845534d0dc8098940c7e5c012a258bfec6701bd"
+
+[[package]]
+name = "xattr"
+version = "1.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156"
+dependencies = [
+ "libc",
+ "rustix",
+]
+
+[[package]]
+name = "xkeysym"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56"
+
+[[package]]
+name = "yoke"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca"
+dependencies = [
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "synstructure",
+]
+
+[[package]]
+name = "zbus"
+version = "5.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eee682d202a77e4a9f3b2c2bdf48a7b28af5c08c34ddf66f98c93e5e39464285"
+dependencies = [
+ "async-broadcast",
+ "async-executor",
+ "async-io",
+ "async-lock",
+ "async-process",
+ "async-recursion",
+ "async-task",
+ "async-trait",
+ "blocking",
+ "enumflags2",
+ "event-listener",
+ "futures-core",
+ "futures-lite",
+ "hex",
+ "libc",
+ "ordered-stream",
+ "rustix",
+ "serde",
+ "serde_repr",
+ "tracing",
+ "uds_windows",
+ "uuid",
+ "windows-sys 0.61.2",
+ "winnow 1.0.3",
+ "zbus_macros",
+ "zbus_names",
+ "zvariant",
+]
+
+[[package]]
+name = "zbus_macros"
+version = "5.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "adf1bd45a81a103745b1757754762a26e8cd01e4532e4d6c8ec431624b80d1d6"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "zbus_names",
+ "zvariant",
+ "zvariant_utils",
+]
+
+[[package]]
+name = "zbus_names"
+version = "4.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7074f3e50b894eac91750142016d30d0a89be8e67dbfd9704fb875825760e52d"
+dependencies = [
+ "serde",
+ "winnow 1.0.3",
+ "zvariant",
+]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.50"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b065d4f0e55f82fae73202e189638116a87c55ab6b8e6c2721e13dd9d854ad1"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.50"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b631b19d36a892ab55420c92dbc83ccd79274f25be714855d3074aa71cab639"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "synstructure",
+]
+
+[[package]]
+name = "zeroize"
+version = "1.8.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.11.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
+[[package]]
+name = "zip"
+version = "4.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "caa8cd6af31c3b31c6631b8f483848b91589021b28fffe50adada48d4f4d2ed1"
+dependencies = [
+ "arbitrary",
+ "crc32fast",
+ "indexmap 2.14.0",
+ "memchr",
+]
+
+[[package]]
+name = "zmij"
+version = "1.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
+
+[[package]]
+name = "zvariant"
+version = "5.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a192a0bde63360d77a7523c833d4b4ce6070a927e2c53246e4c540b1a3e27be0"
+dependencies = [
+ "endi",
+ "enumflags2",
+ "serde",
+ "winnow 1.0.3",
+ "zvariant_derive",
+ "zvariant_utils",
+]
+
+[[package]]
+name = "zvariant_derive"
+version = "5.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90bc6cde9c01c511074be97f7ccb6c19d0da89e3f8662e812e999dcfd4638737"
+dependencies = [
+ "proc-macro-crate 3.5.0",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+ "zvariant_utils",
+]
+
+[[package]]
+name = "zvariant_utils"
+version = "3.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e8535915cfa75547e559d8c68e8139909a4aeee076831e4ef7fc59d8172c4d6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "serde",
+ "syn 2.0.117",
+ "winnow 1.0.3",
+]
diff --git a/src/desktop/src-tauri/Cargo.toml b/src/desktop/src-tauri/Cargo.toml
new file mode 100644
index 000000000..0c55ff7af
--- /dev/null
+++ b/src/desktop/src-tauri/Cargo.toml
@@ -0,0 +1,46 @@
+[workspace]
+members = ["plugins/tauri-plugin-push"]
+
+[package]
+name = "alook-desktop"
+version = "0.1.0"
+edition = "2021"
+description = "Alook — Your Personal Company"
+
+[lib]
+name = "alook_desktop_lib"
+crate-type = ["lib", "cdylib", "staticlib"]
+
+[build-dependencies]
+tauri-build = { version = "2", features = [] }
+
+[dependencies]
+tauri = { version = "2", features = ["tray-icon", "image-png"] }
+tauri-plugin-deep-link = "2"
+tauri-plugin-notification = "2"
+serde = { version = "1", features = ["derive"] }
+serde_json = "1"
+
+[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
+tauri-plugin-shell = "2"
+tauri-plugin-autostart = "2"
+tauri-plugin-global-shortcut = "2"
+tauri-plugin-updater = "2"
+
+[target."cfg(target_os = \"macos\")".dependencies]
+objc2 = "0.6"
+objc2-foundation = { version = "0.3", features = ["NSGeometry"] }
+objc2-app-kit = { version = "0.3", features = ["NSView", "NSWindow", "NSColor"] }
+
+[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
+tauri-plugin-biometric = "2"
+tauri-plugin-push = { path = "plugins/tauri-plugin-push" }
+
+[features]
+default = ["custom-protocol"]
+custom-protocol = ["tauri/custom-protocol"]
+
+[profile.release]
+codegen-units = 1
+lto = "thin"
+opt-level = 3
diff --git a/src/desktop/src-tauri/build.rs b/src/desktop/src-tauri/build.rs
new file mode 100644
index 000000000..d860e1e6a
--- /dev/null
+++ b/src/desktop/src-tauri/build.rs
@@ -0,0 +1,3 @@
+fn main() {
+ tauri_build::build()
+}
diff --git a/src/desktop/src-tauri/capabilities/default.json b/src/desktop/src-tauri/capabilities/default.json
new file mode 100644
index 000000000..d788e3a73
--- /dev/null
+++ b/src/desktop/src-tauri/capabilities/default.json
@@ -0,0 +1,17 @@
+{
+ "$schema": "../gen/schemas/desktop-schema.json",
+ "identifier": "default",
+ "description": "Default capability for all platforms",
+ "windows": ["main"],
+ "remote": {
+ "urls": ["https://alook.ai", "http://localhost:3000"]
+ },
+ "permissions": [
+ "core:default",
+ "core:event:default",
+ "core:window:default",
+ "core:app:default",
+ "notification:default",
+ "deep-link:default"
+ ]
+}
diff --git a/src/desktop/src-tauri/capabilities/desktop.json b/src/desktop/src-tauri/capabilities/desktop.json
new file mode 100644
index 000000000..d0d867536
--- /dev/null
+++ b/src/desktop/src-tauri/capabilities/desktop.json
@@ -0,0 +1,21 @@
+{
+ "$schema": "../gen/schemas/desktop-schema.json",
+ "identifier": "desktop-capability",
+ "description": "Desktop-only capabilities",
+ "windows": ["main"],
+ "platforms": ["linux", "macOS", "windows"],
+ "remote": {
+ "urls": ["https://alook.ai", "http://localhost:3000"]
+ },
+ "permissions": [
+ "shell:allow-open",
+ "global-shortcut:allow-register",
+ "global-shortcut:allow-unregister",
+ "autostart:allow-enable",
+ "autostart:allow-disable",
+ "autostart:allow-is-enabled",
+ "core:tray:default",
+ "core:window:allow-start-dragging",
+ "updater:default"
+ ]
+}
diff --git a/src/desktop/src-tauri/capabilities/mobile.json b/src/desktop/src-tauri/capabilities/mobile.json
new file mode 100644
index 000000000..54c8a6574
--- /dev/null
+++ b/src/desktop/src-tauri/capabilities/mobile.json
@@ -0,0 +1,13 @@
+{
+ "$schema": "../gen/schemas/mobile-schema.json",
+ "identifier": "mobile-capability",
+ "description": "Mobile-only capabilities",
+ "windows": ["main"],
+ "platforms": ["iOS", "android"],
+ "remote": {
+ "urls": ["https://app.alook.ai"]
+ },
+ "permissions": [
+ "biometric:default"
+ ]
+}
diff --git a/src/desktop/src-tauri/entitlements.plist b/src/desktop/src-tauri/entitlements.plist
new file mode 100644
index 000000000..0bd73fe94
--- /dev/null
+++ b/src/desktop/src-tauri/entitlements.plist
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.app-sandbox</key>
+ <false/>
+ <key>com.apple.security.application-groups</key>
+ <array>
+ <string>ai.alook.desktop</string>
+ </array>
+ <key>com.apple.security.inherit</key>
+ <true/>
+</dict>
+</plist>
diff --git a/src/desktop/src-tauri/icons/128x128.png b/src/desktop/src-tauri/icons/128x128.png
new file mode 100644
index 000000000..72ffeedc4
Binary files /dev/null and b/src/desktop/src-tauri/icons/128x128.png differ
diff --git a/src/desktop/src-tauri/icons/[email protected] b/src/desktop/src-tauri/icons/[email protected]
new file mode 100644
index 000000000..0c41ba0e8
Binary files /dev/null and b/src/desktop/src-tauri/icons/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/32x32.png b/src/desktop/src-tauri/icons/32x32.png
new file mode 100644
index 000000000..87b73a337
Binary files /dev/null and b/src/desktop/src-tauri/icons/32x32.png differ
diff --git a/src/desktop/src-tauri/icons/icon.icns b/src/desktop/src-tauri/icons/icon.icns
new file mode 100644
index 000000000..d4afd933a
Binary files /dev/null and b/src/desktop/src-tauri/icons/icon.icns differ
diff --git a/src/desktop/src-tauri/icons/icon.ico b/src/desktop/src-tauri/icons/icon.ico
new file mode 100644
index 000000000..63cd941d6
Binary files /dev/null and b/src/desktop/src-tauri/icons/icon.ico differ
diff --git a/src/desktop/src-tauri/icons/icon.png b/src/desktop/src-tauri/icons/icon.png
new file mode 100644
index 000000000..b3aad9806
Binary files /dev/null and b/src/desktop/src-tauri/icons/icon.png differ
diff --git a/src/desktop/src-tauri/icons/tray-default.png b/src/desktop/src-tauri/icons/tray-default.png
new file mode 100644
index 000000000..8f2900b76
Binary files /dev/null and b/src/desktop/src-tauri/icons/tray-default.png differ
diff --git a/src/desktop/src-tauri/icons/tray-offline.png b/src/desktop/src-tauri/icons/tray-offline.png
new file mode 100644
index 000000000..47674d0df
Binary files /dev/null and b/src/desktop/src-tauri/icons/tray-offline.png differ
diff --git a/src/desktop/src-tauri/icons/tray-online.png b/src/desktop/src-tauri/icons/tray-online.png
new file mode 100644
index 000000000..8f2900b76
Binary files /dev/null and b/src/desktop/src-tauri/icons/tray-online.png differ
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml b/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml
new file mode 100644
index 000000000..a4a98fd2f
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml
@@ -0,0 +1,12 @@
+[package]
+name = "tauri-plugin-push"
+version = "0.1.0"
+edition = "2021"
+description = "Tauri plugin for push notifications via FCM (Android) and APNs (iOS)"
+
+[dependencies]
+tauri = "2"
+serde = { version = "1", features = ["derive"] }
+
+[build-dependencies]
+tauri-plugin = { version = "2", features = ["build"] }
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushMessagingService.kt b/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushMessagingService.kt
new file mode 100644
index 000000000..482108002
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushMessagingService.kt
@@ -0,0 +1,20 @@
+package com.alook.push
+
+import com.google.firebase.messaging.FirebaseMessagingService
+import com.google.firebase.messaging.RemoteMessage
+import android.util.Log
+
+class PushMessagingService : FirebaseMessagingService() {
+
+ override fun onMessageReceived(remoteMessage: RemoteMessage) {
+ super.onMessageReceived(remoteMessage)
+ Log.d("AlookPush", "Message received: ${remoteMessage.data}")
+ PushPlugin.instance?.onMessageReceived(remoteMessage)
+ }
+
+ override fun onNewToken(token: String) {
+ super.onNewToken(token)
+ Log.d("AlookPush", "New FCM token: $token")
+ PushPlugin.instance?.onTokenRefresh(token)
+ }
+}
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushPlugin.kt b/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushPlugin.kt
new file mode 100644
index 000000000..be6ea6622
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/android/src/main/kotlin/com/alook/push/PushPlugin.kt
@@ -0,0 +1,70 @@
+package com.alook.push
+
+import android.app.Activity
+import app.tauri.annotation.Command
+import app.tauri.annotation.TauriPlugin
+import app.tauri.plugin.JSObject
+import app.tauri.plugin.Plugin
+import app.tauri.plugin.Invoke
+import com.google.firebase.messaging.FirebaseMessaging
+import com.google.firebase.messaging.RemoteMessage
+
+@TauriPlugin
+class PushPlugin(private val activity: Activity) : Plugin(activity) {
+
+ private var pushToken: String? = null
+
+ companion object {
+ var instance: PushPlugin? = null
+ private set
+ }
+
+ override fun load(webView: app.tauri.plugin.WebView) {
+ super.load(webView)
+ instance = this
+ FirebaseMessaging.getInstance().token.addOnCompleteListener { task ->
+ if (task.isSuccessful) {
+ pushToken = task.result
+ val event = JSObject()
+ event.put("token", pushToken)
+ event.put("platform", "android")
+ trigger("token", event)
+ }
+ }
+ }
+
+ fun onTokenRefresh(token: String) {
+ pushToken = token
+ val event = JSObject()
+ event.put("token", token)
+ event.put("platform", "android")
+ trigger("token", event)
+ }
+
+ fun onMessageReceived(remoteMessage: RemoteMessage) {
+ val event = JSObject()
+ event.put("title", remoteMessage.notification?.title ?: "")
+ event.put("body", remoteMessage.notification?.body ?: "")
+ val data = JSObject()
+ remoteMessage.data.forEach { (key, value) -> data.put(key, value) }
+ event.put("data", data)
+ trigger("notification", event)
+ }
+
+ @Command
+ fun getToken(invoke: Invoke) {
+ val result = JSObject()
+ if (pushToken != null) {
+ result.put("token", pushToken)
+ result.put("platform", "android")
+ invoke.resolve(result)
+ } else {
+ invoke.reject("Push token not yet available")
+ }
+ }
+
+ @Command
+ fun onNotification(invoke: Invoke) {
+ invoke.resolve()
+ }
+}
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/build.rs b/src/desktop/src-tauri/plugins/tauri-plugin-push/build.rs
new file mode 100644
index 000000000..ccb3ea0e9
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/build.rs
@@ -0,0 +1,5 @@
+const COMMANDS: &[&str] = &["get_token", "on_notification"];
+
+fn main() {
+ tauri_plugin::Builder::new(COMMANDS).build();
+}
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/ios/Sources/PushPlugin.swift b/src/desktop/src-tauri/plugins/tauri-plugin-push/ios/Sources/PushPlugin.swift
new file mode 100644
index 000000000..47bb45da5
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/ios/Sources/PushPlugin.swift
@@ -0,0 +1,63 @@
+import UIKit
+import UserNotifications
+import Tauri
+import WebKit
+
+class PushPlugin: Plugin {
+ private var pushToken: String?
+
+ static var shared: PushPlugin?
+
+ override init() {
+ super.init()
+ PushPlugin.shared = self
+ }
+
+ @objc override func load(webview: WKWebView) {
+ super.load(webview: webview)
+ requestPushPermission()
+ }
+
+ private func requestPushPermission() {
+ UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, _ in
+ if granted {
+ DispatchQueue.main.async {
+ UIApplication.shared.registerForRemoteNotifications()
+ }
+ }
+ }
+ }
+
+ func didRegisterForRemoteNotifications(deviceToken: Data) {
+ let token = deviceToken.map { String(format: "%02.2hhx", $0) }.joined()
+ self.pushToken = token
+ let event: [String: Any] = ["token": token, "platform": "ios"]
+ self.trigger("token", data: event)
+ }
+
+ func didReceiveRemoteNotification(userInfo: [AnyHashable: Any]) {
+ var event: [String: Any] = [:]
+ if let aps = userInfo["aps"] as? [String: Any],
+ let alert = aps["alert"] as? [String: Any] {
+ event["title"] = alert["title"] ?? ""
+ event["body"] = alert["body"] ?? ""
+ }
+ event["data"] = userInfo
+ self.trigger("notification", data: event)
+ }
+
+ @objc func getToken(_ invoke: Invoke) {
+ if let token = pushToken {
+ invoke.resolve([
+ "token": token,
+ "platform": "ios"
+ ])
+ } else {
+ invoke.reject("Push token not yet available")
+ }
+ }
+
+ @objc func onNotification(_ invoke: Invoke) {
+ invoke.resolve()
+ }
+}
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/src/commands.rs b/src/desktop/src-tauri/plugins/tauri-plugin-push/src/commands.rs
new file mode 100644
index 000000000..b4f3fde40
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/src/commands.rs
@@ -0,0 +1,23 @@
+use serde::Serialize;
+use tauri::command;
+
+#[derive(Serialize)]
+pub struct PushToken {
+ pub token: String,
+ pub platform: String,
+}
+
+#[command]
+pub async fn get_token() -> Result<PushToken, String> {
+ // On mobile, the native layer (Kotlin/Swift) registers for push and
+ // provides the token via the plugin bridge. This is a placeholder that
+ // returns the cached token from the native side.
+ Err("Push token not available on this platform".to_string())
+}
+
+#[command]
+pub async fn on_notification() -> Result<(), String> {
+ // Notification handling is done via event listeners on the native side.
+ // This command exists as a placeholder for the JS API surface.
+ Ok(())
+}
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/src/lib.rs b/src/desktop/src-tauri/plugins/tauri-plugin-push/src/lib.rs
new file mode 100644
index 000000000..49f41cf77
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/src/lib.rs
@@ -0,0 +1,15 @@
+use tauri::{
+ plugin::{Builder, TauriPlugin},
+ Runtime,
+};
+
+mod commands;
+
+pub fn init<R: Runtime>() -> TauriPlugin<R> {
+ Builder::new("push")
+ .invoke_handler(tauri::generate_handler![
+ commands::get_token,
+ commands::on_notification,
+ ])
+ .build()
+}
diff --git a/src/desktop/src-tauri/src/commands.rs b/src/desktop/src-tauri/src/commands.rs
new file mode 100644
index 000000000..6f61a02bc
--- /dev/null
+++ b/src/desktop/src-tauri/src/commands.rs
@@ -0,0 +1,575 @@
+use serde::Serialize;
+use tauri::{AppHandle, Manager};
+
+#[cfg(desktop)]
+use tauri_plugin_shell::ShellExt;
+
+#[cfg(desktop)]
+use std::path::PathBuf;
+
+#[cfg(desktop)]
+use std::sync::atomic::{AtomicBool, Ordering};
+
+
+#[derive(Serialize)]
+pub struct DaemonStatusResult {
+ pub running: bool,
+ pub pid: Option<u32>,
+ pub version: Option<String>,
+}
+
+#[derive(Serialize)]
+pub struct CommandResult {
+ pub success: bool,
+ pub message: String,
+}
+
+#[derive(Serialize)]
+pub struct CliInfo {
+ pub command: String,
+ pub is_dev: bool,
+}
+
+#[cfg(desktop)]
+struct CliConfig {
+ command: &'static str,
+ base_args: &'static [&'static str],
+ env: Vec<(&'static str, &'static str)>,
+ cwd: Option<PathBuf>,
+}
+
+#[cfg(desktop)]
+fn cli_config() -> CliConfig {
+ if cfg!(debug_assertions) {
+ let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
+ let monorepo_root = manifest_dir
+ .parent()
+ .and_then(|p| p.parent())
+ .and_then(|p| p.parent())
+ .map(|p| p.to_path_buf());
+ CliConfig {
+ command: "pnpm",
+ base_args: &["dev:cli"],
+ env: vec![],
+ cwd: monorepo_root,
+ }
+ } else {
+ CliConfig {
+ command: "npx",
+ base_args: &["@alook/cli"],
+ env: vec![],
+ cwd: None,
+ }
+ }
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub fn get_cli_info() -> CliInfo {
+ let cfg = cli_config();
+ CliInfo {
+ command: format!("{} {}", cfg.command, cfg.base_args.join(" ")),
+ is_dev: cfg!(debug_assertions),
+ }
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn register_cli(app: AppHandle, token: String) -> Result<CommandResult, String> {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["register", "--token"]);
+ let token_ref: &str = &token;
+
+ let mut cmd = app.shell().command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let output = cmd
+ .args(&args)
+ .arg(token_ref)
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ Ok(CommandResult {
+ success: output.status.success(),
+ message: String::from_utf8_lossy(&output.stdout).to_string(),
+ })
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn daemon_start(app: AppHandle) -> Result<CommandResult, String> {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "start"]);
+
+ let mut cmd = app.shell().command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let output = cmd
+ .args(&args)
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ Ok(CommandResult {
+ success: output.status.success(),
+ message: String::from_utf8_lossy(&output.stdout).to_string(),
+ })
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn daemon_stop(app: AppHandle) -> Result<CommandResult, String> {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "stop"]);
+
+ let mut cmd = app.shell().command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let output = cmd
+ .args(&args)
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ Ok(CommandResult {
+ success: output.status.success(),
+ message: String::from_utf8_lossy(&output.stdout).to_string(),
+ })
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn daemon_status(app: AppHandle) -> Result<DaemonStatusResult, String> {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "status"]);
+
+ let mut cmd = app.shell().command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let output = cmd
+ .args(&args)
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ let stdout = String::from_utf8_lossy(&output.stdout).to_string();
+
+ Ok(parse_daemon_status(&stdout))
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn cli_update(app: AppHandle) -> Result<CommandResult, String> {
+ if cfg!(debug_assertions) {
+ return Ok(CommandResult {
+ success: true,
+ message: "CLI update skipped in dev mode".to_string(),
+ });
+ }
+
+ let _ = app
+ .shell()
+ .command("npx")
+ .args(["--yes", "@alook/cli", "daemon", "stop"])
+ .output()
+ .await;
+
+ let start_output = app
+ .shell()
+ .command("npx")
+ .args(["--yes", "@alook/cli@latest", "daemon", "start"])
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ Ok(CommandResult {
+ success: start_output.status.success(),
+ message: if start_output.status.success() {
+ "CLI updated and daemon restarted".to_string()
+ } else {
+ String::from_utf8_lossy(&start_output.stderr).to_string()
+ },
+ })
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn cli_check(app: AppHandle) -> Result<CommandResult, String> {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.push("--version");
+
+ let mut cmd = app.shell().command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let output = cmd
+ .args(&args)
+ .output()
+ .await
+ .map_err(|e| e.to_string())?;
+
+ Ok(CommandResult {
+ success: output.status.success(),
+ message: String::from_utf8_lossy(&output.stdout).trim().to_string(),
+ })
+}
+
+#[derive(Serialize)]
+pub struct UpdateInfo {
+ pub available: bool,
+ pub version: Option<String>,
+ pub notes: Option<String>,
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn check_for_updates(app: AppHandle) -> Result<UpdateInfo, String> {
+ use tauri_plugin_updater::UpdaterExt;
+ let updater = app.updater().map_err(|e| e.to_string())?;
+ match updater.check().await {
+ Ok(Some(update)) => Ok(UpdateInfo {
+ available: true,
+ version: Some(update.version.clone()),
+ notes: update.body.clone(),
+ }),
+ Ok(None) => Ok(UpdateInfo {
+ available: false,
+ version: None,
+ notes: None,
+ }),
+ Err(e) => Err(e.to_string()),
+ }
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub async fn install_update(app: AppHandle) -> Result<(), String> {
+ use tauri_plugin_updater::UpdaterExt;
+ let updater = app.updater().map_err(|e| e.to_string())?;
+ let update = updater.check().await.map_err(|e| e.to_string())?
+ .ok_or("No update available".to_string())?;
+ update.download_and_install(|_, _| {}, || {}).await.map_err(|e| e.to_string())?;
+ app.restart();
+}
+
+#[cfg(desktop)]
+#[tauri::command]
+pub fn set_window_theme(window: tauri::WebviewWindow, dark: bool) {
+ let _ = (&window, dark);
+ #[cfg(target_os = "macos")]
+ {
+ use objc2::runtime::AnyObject;
+ use objc2::msg_send;
+
+ unsafe {
+ let ns_window = window.ns_window().unwrap() as *mut AnyObject;
+ let (r, g, b) = if dark {
+ (0.137f64, 0.129f64, 0.118f64)
+ } else {
+ (0.929f64, 0.910f64, 0.871f64)
+ };
+ let color: *mut AnyObject = msg_send![
+ objc2::class!(NSColor),
+ colorWithRed: r,
+ green: g,
+ blue: b,
+ alpha: 1.0f64
+ ];
+ let _: () = msg_send![ns_window, setBackgroundColor: color];
+ }
+ }
+}
+
+#[cfg(desktop)]
+pub static DAEMON_ONLINE: AtomicBool = AtomicBool::new(false);
+
+#[cfg(desktop)]
+pub fn setup_tray(app: &tauri::App) -> Result<(), Box<dyn std::error::Error>> {
+ use tauri::{
+ image::Image,
+ menu::{MenuBuilder, MenuItemBuilder},
+ tray::TrayIconBuilder,
+ };
+
+ let show = MenuItemBuilder::with_id("show", "Show").build(app)?;
+ let version = MenuItemBuilder::with_id("version", format!("Version {}", app.package_info().version)).enabled(false).build(app)?;
+ let quit = MenuItemBuilder::with_id("quit", "Quit").build(app)?;
+
+ let menu = MenuBuilder::new(app)
+ .item(&show)
+ .separator()
+ .item(&version)
+ .separator()
+ .item(&quit)
+ .build()?;
+
+ let tray = TrayIconBuilder::new()
+ .icon(Image::from_bytes(include_bytes!("../icons/tray-default.png"))
+ .expect("tray icon"))
+ .icon_as_template(true)
+ .menu(&menu)
+ .show_menu_on_left_click(false)
+ .tooltip("Alook")
+ .on_menu_event(move |app, event| match event.id().as_ref() {
+ "show" => {
+ if let Some(window) = app.get_webview_window("main") {
+ let _ = window.show();
+ let _ = window.unminimize();
+ let _ = window.set_focus();
+ }
+ }
+ "quit" => {
+ let handle = app.clone();
+ tauri::async_runtime::spawn(async move {
+ stop_daemon_async(&handle).await;
+ handle.exit(0);
+ });
+ }
+ _ => {}
+ })
+ .on_tray_icon_event(|tray, event| {
+ if let tauri::tray::TrayIconEvent::Click {
+ button: tauri::tray::MouseButton::Left, ..
+ } = event {
+ if let Some(window) = tray.app_handle().get_webview_window("main") {
+ let _ = window.show();
+ let _ = window.unminimize();
+ let _ = window.set_focus();
+ }
+ }
+ })
+ .build(app)?;
+
+ let handle = app.handle().clone();
+ std::thread::spawn(move || {
+ loop {
+ std::thread::sleep(std::time::Duration::from_secs(5));
+ let h = handle.clone();
+ let online = tauri::async_runtime::block_on(check_daemon_status(&h));
+ DAEMON_ONLINE.store(online, Ordering::Relaxed);
+ let icon_bytes: &[u8] = if online {
+ include_bytes!("../icons/tray-online.png")
+ } else {
+ include_bytes!("../icons/tray-offline.png")
+ };
+ if let Ok(img) = tauri::image::Image::from_bytes(icon_bytes) {
+ let _ = tray.set_icon(Some(img));
+ let _ = tray.set_icon_as_template(true);
+ }
+ }
+ });
+
+ Ok(())
+}
+
+#[cfg(desktop)]
+async fn exec_daemon_cmd(handle: &AppHandle, subcommand: &[&str]) {
+ let shell = handle.shell();
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(subcommand);
+ let mut cmd = shell.command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ let _ = cmd.args(&args).output().await;
+}
+
+#[cfg(desktop)]
+async fn check_daemon_status(handle: &AppHandle) -> bool {
+ let shell = handle.shell();
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "status"]);
+ let mut cmd = shell.command(cfg.command);
+ for (key, val) in &cfg.env {
+ cmd = cmd.env(key, val);
+ }
+ if let Some(cwd) = &cfg.cwd {
+ cmd = cmd.current_dir(cwd.clone());
+ }
+ match cmd.args(&args).output().await {
+ Ok(output) => {
+ let stdout = String::from_utf8_lossy(&output.stdout);
+ parse_daemon_status(&stdout).running
+ }
+ Err(_) => false,
+ }
+}
+
+pub fn parse_daemon_status(stdout: &str) -> DaemonStatusResult {
+ if let Ok(json) = serde_json::from_str::<serde_json::Value>(stdout) {
+ return DaemonStatusResult {
+ running: json["running"].as_bool().unwrap_or(false),
+ pid: json["pid"].as_u64().map(|p| p as u32),
+ version: json["version"].as_str().map(|s| s.to_string()),
+ };
+ }
+
+ let running = stdout.contains("running (pid=");
+ let pid = if running {
+ stdout
+ .split("pid=")
+ .nth(1)
+ .and_then(|s| s.trim_end_matches(')').trim().parse::<u32>().ok())
+ } else {
+ None
+ };
+
+ DaemonStatusResult {
+ running,
+ pid,
+ version: None,
+ }
+}
+
+#[cfg(desktop)]
+async fn stop_daemon_async(handle: &AppHandle) {
+ exec_daemon_cmd(handle, &["daemon", "stop"]).await;
+}
+
+#[cfg(desktop)]
+pub fn auto_start_daemon(handle: AppHandle) {
+ tauri::async_runtime::spawn(async move {
+ if !check_daemon_status(&handle).await {
+ exec_daemon_cmd(&handle, &["daemon", "start"]).await;
+ }
+ });
+}
+
+#[cfg(desktop)]
+pub fn stop_daemon_blocking(handle: &AppHandle) {
+ tauri::async_runtime::block_on(exec_daemon_cmd(handle, &["daemon", "stop"]));
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn parse_status_json_running() {
+ let input = r#"{"running":true,"pid":12345,"version":"0.1.0"}"#;
+ let result = parse_daemon_status(input);
+ assert!(result.running);
+ assert_eq!(result.pid, Some(12345));
+ assert_eq!(result.version.as_deref(), Some("0.1.0"));
+ }
+
+ #[test]
+ fn parse_status_json_not_running() {
+ let input = r#"{"running":false,"pid":null,"version":null}"#;
+ let result = parse_daemon_status(input);
+ assert!(!result.running);
+ assert_eq!(result.pid, None);
+ assert_eq!(result.version, None);
+ }
+
+ #[test]
+ fn parse_status_text_running() {
+ let input = "Daemon running (pid=54321)";
+ let result = parse_daemon_status(input);
+ assert!(result.running);
+ assert_eq!(result.pid, Some(54321));
+ assert_eq!(result.version, None);
+ }
+
+ #[test]
+ fn parse_status_text_not_running() {
+ let input = "Daemon not running.";
+ let result = parse_daemon_status(input);
+ assert!(!result.running);
+ assert_eq!(result.pid, None);
+ }
+
+ #[test]
+ fn parse_status_empty_string() {
+ let result = parse_daemon_status("");
+ assert!(!result.running);
+ assert_eq!(result.pid, None);
+ assert_eq!(result.version, None);
+ }
+
+ #[test]
+ fn cli_config_args_construction() {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["register", "--token"]);
+
+ if cfg!(debug_assertions) {
+ assert_eq!(cfg.command, "pnpm");
+ assert_eq!(args, vec!["dev:cli", "register", "--token"]);
+ assert!(cfg.cwd.is_some());
+ } else {
+ assert_eq!(cfg.command, "npx");
+ assert_eq!(args, vec!["@alook/cli", "register", "--token"]);
+ assert!(cfg.cwd.is_none());
+ }
+ }
+
+ #[test]
+ fn cli_config_daemon_start_args() {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "start"]);
+
+ if cfg!(debug_assertions) {
+ assert_eq!(args, vec!["dev:cli", "daemon", "start"]);
+ } else {
+ assert_eq!(args, vec!["@alook/cli", "daemon", "start"]);
+ }
+ }
+
+ #[test]
+ fn cli_config_daemon_status_args() {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.extend_from_slice(&["daemon", "status"]);
+
+ if cfg!(debug_assertions) {
+ assert_eq!(args, vec!["dev:cli", "daemon", "status"]);
+ } else {
+ assert_eq!(args, vec!["@alook/cli", "daemon", "status"]);
+ }
+ }
+
+ #[test]
+ fn cli_config_version_args() {
+ let cfg = cli_config();
+ let mut args: Vec<&str> = cfg.base_args.to_vec();
+ args.push("--version");
+
+ if cfg!(debug_assertions) {
+ assert_eq!(args, vec!["dev:cli", "--version"]);
+ } else {
+ assert_eq!(args, vec!["@alook/cli", "--version"]);
+ }
+ }
+}
diff --git a/src/desktop/src-tauri/src/lib.rs b/src/desktop/src-tauri/src/lib.rs
new file mode 100644
index 000000000..a12d76b66
--- /dev/null
+++ b/src/desktop/src-tauri/src/lib.rs
@@ -0,0 +1,105 @@
+mod commands;
+
+#[cfg(target_os = "macos")]
+mod macos_window;
+
+#[cfg_attr(mobile, tauri::mobile_entry_point)]
+pub fn run() {
+ let mut builder = tauri::Builder::default();
+
+ // Desktop-only plugins
+ #[cfg(desktop)]
+ {
+ builder = builder
+ .plugin(tauri_plugin_shell::init())
+ .plugin(tauri_plugin_autostart::init(
+ tauri_plugin_autostart::MacosLauncher::LaunchAgent,
+ None,
+ ))
+ .plugin(tauri_plugin_global_shortcut::Builder::new().build())
+ .plugin(tauri_plugin_updater::Builder::new().build());
+ }
+
+ // Mobile-only plugins
+ #[cfg(mobile)]
+ {
+ builder = builder.plugin(tauri_plugin_biometric::init());
+ }
+
+ // Cross-platform plugins
+ builder = builder
+ .plugin(tauri_plugin_deep_link::init())
+ .plugin(tauri_plugin_notification::init());
+
+ // Register IPC commands (desktop only)
+ #[cfg(desktop)]
+ {
+ builder = builder.invoke_handler(tauri::generate_handler![
+ commands::get_cli_info,
+ commands::register_cli,
+ commands::daemon_start,
+ commands::daemon_stop,
+ commands::daemon_status,
+ commands::cli_update,
+ commands::cli_check,
+ commands::check_for_updates,
+ commands::install_update,
+ commands::set_window_theme,
+ ]);
+ }
+
+ // System tray + window setup (desktop only)
+ #[cfg(desktop)]
+ {
+ builder = builder.setup(|app| {
+ commands::setup_tray(app)?;
+ commands::auto_start_daemon(app.handle().clone());
+
+ // macOS: inset the webview with rounded corners, window bg as frame
+ #[cfg(target_os = "macos")]
+ {
+ use tauri::Manager;
+ if let Some(window) = app.get_webview_window("main") {
+ // Set default light background (Web will call set_window_theme to sync)
+ commands::set_window_theme(window.clone(), false);
+ macos_window::setup_inset_webview(&window);
+ }
+ }
+
+ Ok(())
+ });
+
+ builder = builder.on_window_event(|window, event| {
+ match event {
+ tauri::WindowEvent::CloseRequested { api, .. } => {
+ api.prevent_close();
+ let _ = window.hide();
+ }
+ #[cfg(target_os = "macos")]
+ tauri::WindowEvent::Resized(_) => {
+ macos_window::update_webview_frame(window);
+ }
+ _ => {}
+ }
+ });
+ }
+
+ let app = builder
+ .build(tauri::generate_context!())
+ .expect("error while building tauri application");
+
+ #[cfg(desktop)]
+ {
+ let handle = app.handle().clone();
+ app.run(move |_app, event| {
+ if let tauri::RunEvent::Exit = event {
+ commands::stop_daemon_blocking(&handle);
+ }
+ });
+ }
+
+ #[cfg(not(desktop))]
+ {
+ app.run(|_, _| {});
+ }
+}
diff --git a/src/desktop/src-tauri/src/macos_window.rs b/src/desktop/src-tauri/src/macos_window.rs
new file mode 100644
index 000000000..c4784085b
--- /dev/null
+++ b/src/desktop/src-tauri/src/macos_window.rs
@@ -0,0 +1,83 @@
+use tauri::WebviewWindow;
+
+const INSET_TOP: f64 = 38.0;
+const INSET_SIDE: f64 = 8.0;
+const INSET_BOTTOM: f64 = 8.0;
+const CORNER_RADIUS: f64 = 10.0;
+
+pub fn setup_inset_webview(window: &WebviewWindow) {
+ use objc2::runtime::AnyObject;
+ use objc2::msg_send;
+ use objc2_foundation::NSRect;
+
+ unsafe {
+ // Get the WKWebView directly
+ let ns_view = window.ns_view().unwrap() as *mut AnyObject;
+
+ // Enable layer-backed view for corner radius
+ let _: () = msg_send![ns_view, setWantsLayer: true];
+ let layer: *mut AnyObject = msg_send![ns_view, layer];
+ if !layer.is_null() {
+ let _: () = msg_send![layer, setCornerRadius: CORNER_RADIUS];
+ let _: () = msg_send![layer, setMasksToBounds: true];
+ }
+
+ // Get the superview (content view) to calculate frame
+ let superview: *mut AnyObject = msg_send![ns_view, superview];
+ if !superview.is_null() {
+ let superview_frame: NSRect = msg_send![superview, frame];
+
+ let inset_frame = NSRect::new(
+ objc2_foundation::NSPoint::new(INSET_SIDE, INSET_BOTTOM),
+ objc2_foundation::NSSize::new(
+ superview_frame.size.width - INSET_SIDE * 2.0,
+ superview_frame.size.height - INSET_TOP - INSET_BOTTOM,
+ ),
+ );
+ let _: () = msg_send![ns_view, setFrame: inset_frame];
+
+ // Disable autoresizing mask so our manual frame sticks
+ let _: () = msg_send![ns_view, setAutoresizingMask: 0u64];
+ }
+ }
+}
+
+pub fn update_webview_frame(window: &tauri::Window) {
+ use objc2::runtime::AnyObject;
+ use objc2::msg_send;
+ use objc2_foundation::NSRect;
+
+ unsafe {
+ let ns_window = window.ns_window().unwrap() as *mut AnyObject;
+ let content_view: *mut AnyObject = msg_send![ns_window, contentView];
+ if content_view.is_null() {
+ return;
+ }
+
+ let content_frame: NSRect = msg_send![content_view, frame];
+
+ // Find the webview — it's the subview we set the corner radius on
+ let subviews: *mut AnyObject = msg_send![content_view, subviews];
+ let count: usize = msg_send![subviews, count];
+
+ for i in 0..count {
+ let view: *mut AnyObject = msg_send![subviews, objectAtIndex: i];
+ let layer: *mut AnyObject = msg_send![view, layer];
+ if layer.is_null() {
+ continue;
+ }
+ let radius: f64 = msg_send![layer, cornerRadius];
+ if radius > 0.0 {
+ let inset_frame = NSRect::new(
+ objc2_foundation::NSPoint::new(INSET_SIDE, INSET_BOTTOM),
+ objc2_foundation::NSSize::new(
+ content_frame.size.width - INSET_SIDE * 2.0,
+ content_frame.size.height - INSET_TOP - INSET_BOTTOM,
+ ),
+ );
+ let _: () = msg_send![view, setFrame: inset_frame];
+ break;
+ }
+ }
+ }
+}
diff --git a/src/desktop/src-tauri/src/main.rs b/src/desktop/src-tauri/src/main.rs
new file mode 100644
index 000000000..af113e9a2
--- /dev/null
+++ b/src/desktop/src-tauri/src/main.rs
@@ -0,0 +1,5 @@
+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
+
+fn main() {
+ alook_desktop_lib::run()
+}
diff --git a/src/desktop/src-tauri/tauri.conf.json b/src/desktop/src-tauri/tauri.conf.json
new file mode 100644
index 000000000..6b8bdb792
--- /dev/null
+++ b/src/desktop/src-tauri/tauri.conf.json
@@ -0,0 +1,61 @@
+{
+ "productName": "Alook",
+ "version": "0.1.0",
+ "identifier": "ai.alook.desktop",
+ "build": {
+ "devUrl": "http://localhost:3000/workspaces?auto",
+ "frontendDist": "https://alook.ai/workspaces?auto"
+ },
+ "bundle": {
+ "active": true,
+ "targets": "all",
+ "createUpdaterArtifacts": true,
+ "icon": [
+ "icons/32x32.png",
+ "icons/128x128.png",
+ "icons/icon.png",
+ "icons/icon.icns",
+ "icons/icon.ico"
+ ],
+ "shortDescription": "Your Personal Company",
+ "longDescription": "Run your personal company with AI agents that collaborate, stay always on, and learn from every task."
+ },
+ "app": {
+ "withGlobalTauri": true,
+ "windows": [
+ {
+ "label": "main",
+ "title": "Alook",
+ "width": 1200,
+ "height": 800,
+ "minWidth": 800,
+ "minHeight": 600,
+ "center": true,
+ "titleBarStyle": "Overlay",
+ "hiddenTitle": true,
+ "trafficLightPosition": { "x": 16, "y": 18 }
+ }
+ ],
+ "security": {
+ "capabilities": []
+ }
+ },
+ "plugins": {
+ "updater": {
+ "endpoints": ["https://alook.ai/api/desktop/update/{{target}}/{{arch}}/{{current_version}}"],
+ "pubkey": "RWQPlpaQzeEs/+9cMasjAS1iJ21kfounWfvXsXXqTrNI/nF+fz4OCyjJ"
+ },
+ "deep-link": {
+ "desktop": {
+ "schemes": ["alook"]
+ },
+ "mobile": [
+ {
+ "scheme": ["alook"],
+ "host": "alook.ai"
+ }
+ ]
+ }
+ }
+}
diff --git a/src/desktop/src-tauri/tauri.macos.conf.json b/src/desktop/src-tauri/tauri.macos.conf.json
new file mode 100644
index 000000000..c41ae1cbd
--- /dev/null
+++ b/src/desktop/src-tauri/tauri.macos.conf.json
@@ -0,0 +1,11 @@
+{
+ "$schema": "./gen/schemas/desktop-schema.json",
+ "identifier": "ai.alook.desktop",
+ "bundle": {
+ "targets": ["app", "dmg"],
+ "macOS": {
+ "minimumSystemVersion": "11.0",
+ "entitlements": "entitlements.plist"
+ }
+ }
+}
diff --git a/src/shared/src/index.ts b/src/shared/src/index.ts
index 8d65b588e..19956be03 100644
--- a/src/shared/src/index.ts
+++ b/src/shared/src/index.ts
@@ -253,5 +253,5 @@ export { isUniqueConstraintError } from "./utils/db-errors";
export { generateWorkspaceSlug } from "./utils/slug";
export { truncateTitle } from "./utils/title";
export { semverGte } from "./semver";
-export { resolveMode, cliCommand, daemonCommand, getBaseUrl } from "./mode";
+export { resolveMode, cliCommand, cliPackageName, updateCommand, daemonCommand, getBaseUrl, isTauri, isDesktop, isMobile, tauriInvoke } from "./mode";
export type { AlookMode, ModeSignals, BaseUrlSignals } from "./mode";
diff --git a/src/shared/src/mode.ts b/src/shared/src/mode.ts
index 7f791e1f7..8114d9db4 100644
--- a/src/shared/src/mode.ts
+++ b/src/shared/src/mode.ts
@@ -1,10 +1,12 @@
-export type AlookMode = "production" | "dev" | "app";
+export type AlookMode = "production" | "dev" | "app" | "desktop" | "mobile";
export interface ModeSignals {
serverUrl?: string;
cmdPrefix?: string;
nodeEnv?: string;
hostname?: string;
+ tauri?: boolean;
+ tauriPlatform?: "desktop" | "mobile";
}
function isLocalUrl(url: string): boolean {
@@ -16,7 +18,51 @@ function isLocalUrl(url: string): boolean {
}
}
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+declare const window: any;
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+declare const navigator: any;
+
+function hasWindow(): boolean {
+ return typeof globalThis !== "undefined" && "window" in globalThis;
+}
+
+export function isTauri(): boolean {
+ return hasWindow() && typeof window !== "undefined" && "__TAURI__" in window;
+}
+
+export function isDesktop(): boolean {
+ if (!isTauri()) return false;
+ const ua = typeof navigator !== "undefined" ? navigator.userAgent : "";
+ return !/(android|iphone|ipad|ipod)/i.test(ua);
+}
+
+export function isMobile(): boolean {
+ if (!isTauri()) return false;
+ const ua = typeof navigator !== "undefined" ? navigator.userAgent : "";
+ return /(android|iphone|ipad|ipod)/i.test(ua);
+}
+
+export async function tauriInvoke<T>(command: string, args?: Record<string, unknown>): Promise<T> {
+ if (!isTauri()) {
+ throw new Error("tauriInvoke called outside of Tauri context");
+ }
+ const tauri = window.__TAURI__ as Record<string, unknown> | undefined;
+ if (!tauri) {
+ throw new Error("window.__TAURI__ not available");
+ }
+ const core = tauri.core as { invoke: (cmd: string, args?: Record<string, unknown>) => Promise<T> } | undefined;
+ if (!core?.invoke) {
+ throw new Error("window.__TAURI__.core.invoke not available");
+ }
+ return core.invoke(command, args);
+}
+
export function resolveMode(signals: ModeSignals): AlookMode {
+ if (signals.tauri || isTauri()) {
+ if (signals.tauriPlatform === "mobile" || isMobile()) return "mobile";
+ return "desktop";
+ }
if (signals.nodeEnv === "development" && !signals.cmdPrefix) return "dev";
if (signals.serverUrl && !signals.cmdPrefix && signals.nodeEnv !== "production" && isLocalUrl(signals.serverUrl)) return "dev";
if (signals.cmdPrefix) return "app";
@@ -31,6 +77,8 @@ export function cliCommand(mode: AlookMode): string {
return "pnpm dev:cli";
case "app":
return "npx @alook/app cli";
+ case "desktop":
+ case "mobile":
case "production":
return "npx @alook/cli";
}
@@ -41,6 +89,18 @@ export function daemonCommand(mode: AlookMode): string {
return mode === "dev" ? `${base} --foreground` : base;
}
+export function cliPackageName(mode: AlookMode): string {
+ return mode === "app" ? "@alook/app" : "@alook/cli";
+}
+
+export function updateCommand(mode: AlookMode): string {
+ const pkg = cliPackageName(mode);
+ if (mode === "app") {
+ return `npx ${pkg} stop && npx ${pkg}@latest update && npx ${pkg} start`;
+ }
+ return `npx ${pkg}@latest daemon stop && npx ${pkg}@latest daemon start`;
+}
+
export interface BaseUrlSignals {
serverUrl?: string;
appUrl?: string;
diff --git a/src/shared/test/mode.test.ts b/src/shared/test/mode.test.ts
index dbc01553d..2faa23018 100644
--- a/src/shared/test/mode.test.ts
+++ b/src/shared/test/mode.test.ts
@@ -1,5 +1,5 @@
-import { describe, it, expect } from "vitest";
-import { resolveMode, cliCommand, daemonCommand, getBaseUrl } from "../src/mode";
+import { describe, it, expect, beforeEach, afterEach, vi } from "vitest";
+import { resolveMode, cliCommand, cliPackageName, updateCommand, daemonCommand, getBaseUrl, isTauri, isDesktop, isMobile, tauriInvoke } from "../src/mode";
describe("resolveMode", () => {
it("production: no signals", () => {
@@ -71,6 +71,160 @@ describe("resolveMode", () => {
resolveMode({ nodeEnv: "production", hostname: "localhost" }),
).toBe("app");
});
+
+ it("desktop: tauri signal set", () => {
+ expect(resolveMode({ tauri: true })).toBe("desktop");
+ });
+
+ it("desktop: tauri signal with tauriPlatform desktop", () => {
+ expect(resolveMode({ tauri: true, tauriPlatform: "desktop" })).toBe("desktop");
+ });
+
+ it("mobile: tauri signal with tauriPlatform mobile", () => {
+ expect(resolveMode({ tauri: true, tauriPlatform: "mobile" })).toBe("mobile");
+ });
+
+ it("desktop: tauri overrides other signals", () => {
+ expect(
+ resolveMode({ tauri: true, nodeEnv: "development", cmdPrefix: "npx @alook/app cli" }),
+ ).toBe("desktop");
+ });
+});
+
+describe("isTauri", () => {
+ afterEach(() => {
+ // Clean up __TAURI__ from globalThis.window if set
+ if ("window" in globalThis) {
+ delete (globalThis as Record<string, unknown>).window;
+ }
+ });
+
+ it("returns false when window is not defined", () => {
+ expect(isTauri()).toBe(false);
+ });
+
+ it("returns false when window exists but __TAURI__ is missing", () => {
+ (globalThis as Record<string, unknown>).window = {};
+ expect(isTauri()).toBe(false);
+ });
+
+ it("returns true when window.__TAURI__ exists", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ expect(isTauri()).toBe(true);
+ });
+});
+
+describe("isDesktop", () => {
+ afterEach(() => {
+ if ("window" in globalThis) {
+ delete (globalThis as Record<string, unknown>).window;
+ }
+ if ("navigator" in globalThis) {
+ delete (globalThis as Record<string, unknown>).navigator;
+ }
+ });
+
+ it("returns false when not in Tauri", () => {
+ expect(isDesktop()).toBe(false);
+ });
+
+ it("returns true in Tauri with desktop user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X)" };
+ expect(isDesktop()).toBe(true);
+ });
+
+ it("returns false in Tauri with mobile user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS)" };
+ expect(isDesktop()).toBe(false);
+ });
+});
+
+describe("isMobile", () => {
+ afterEach(() => {
+ if ("window" in globalThis) {
+ delete (globalThis as Record<string, unknown>).window;
+ }
+ if ("navigator" in globalThis) {
+ delete (globalThis as Record<string, unknown>).navigator;
+ }
+ });
+
+ it("returns false when not in Tauri", () => {
+ expect(isMobile()).toBe(false);
+ });
+
+ it("returns true in Tauri with iPhone user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS)" };
+ expect(isMobile()).toBe(true);
+ });
+
+ it("returns true in Tauri with Android user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (Linux; Android 13)" };
+ expect(isMobile()).toBe(true);
+ });
+
+ it("returns true in Tauri with iPad user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (iPad; CPU OS)" };
+ expect(isMobile()).toBe(true);
+ });
+
+ it("returns false in Tauri with desktop user agent", () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ (globalThis as Record<string, unknown>).navigator = { userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64)" };
+ expect(isMobile()).toBe(false);
+ });
+});
+
+describe("tauriInvoke", () => {
+ afterEach(() => {
+ if ("window" in globalThis) {
+ delete (globalThis as Record<string, unknown>).window;
+ }
+ });
+
+ it("throws when not in Tauri context", async () => {
+ await expect(tauriInvoke("test")).rejects.toThrow("tauriInvoke called outside of Tauri context");
+ });
+
+ it("throws when __TAURI__ is undefined", async () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: undefined };
+ await expect(tauriInvoke("test")).rejects.toThrow("window.__TAURI__ not available");
+ });
+
+ it("throws when __TAURI__.core is missing", async () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: {} };
+ await expect(tauriInvoke("test")).rejects.toThrow("window.__TAURI__.core.invoke not available");
+ });
+
+ it("throws when __TAURI__.core.invoke is missing", async () => {
+ (globalThis as Record<string, unknown>).window = { __TAURI__: { core: {} } };
+ await expect(tauriInvoke("test")).rejects.toThrow("window.__TAURI__.core.invoke not available");
+ });
+
+ it("calls invoke with command and args", async () => {
+ const mockInvoke = vi.fn().mockResolvedValue({ success: true });
+ (globalThis as Record<string, unknown>).window = {
+ __TAURI__: { core: { invoke: mockInvoke } },
+ };
+ const result = await tauriInvoke("daemon_start", { force: true });
+ expect(mockInvoke).toHaveBeenCalledWith("daemon_start", { force: true });
+ expect(result).toEqual({ success: true });
+ });
+
+ it("calls invoke without args when not provided", async () => {
+ const mockInvoke = vi.fn().mockResolvedValue("ok");
+ (globalThis as Record<string, unknown>).window = {
+ __TAURI__: { core: { invoke: mockInvoke } },
+ };
+ const result = await tauriInvoke("cli_check");
+ expect(mockInvoke).toHaveBeenCalledWith("cli_check", undefined);
+ expect(result).toBe("ok");
+ });
});
describe("cliCommand", () => {
@@ -85,6 +239,14 @@ describe("cliCommand", () => {
it("app → npx @alook/app cli", () => {
expect(cliCommand("app")).toBe("npx @alook/app cli");
});
+
+ it("desktop → npx @alook/cli", () => {
+ expect(cliCommand("desktop")).toBe("npx @alook/cli");
+ });
+
+ it("mobile → npx @alook/cli", () => {
+ expect(cliCommand("mobile")).toBe("npx @alook/cli");
+ });
});
describe("daemonCommand", () => {
@@ -99,6 +261,68 @@ describe("daemonCommand", () => {
it("app → no --foreground", () => {
expect(daemonCommand("app")).toBe("npx @alook/app cli daemon start");
});
+
+ it("desktop → no --foreground", () => {
+ expect(daemonCommand("desktop")).toBe("npx @alook/cli daemon start");
+ });
+
+ it("mobile → no --foreground", () => {
+ expect(daemonCommand("mobile")).toBe("npx @alook/cli daemon start");
+ });
+});
+
+describe("cliPackageName", () => {
+ it("app → @alook/app", () => {
+ expect(cliPackageName("app")).toBe("@alook/app");
+ });
+
+ it("production → @alook/cli", () => {
+ expect(cliPackageName("production")).toBe("@alook/cli");
+ });
+
+ it("desktop → @alook/cli", () => {
+ expect(cliPackageName("desktop")).toBe("@alook/cli");
+ });
+
+ it("mobile → @alook/cli", () => {
+ expect(cliPackageName("mobile")).toBe("@alook/cli");
+ });
+
+ it("dev → @alook/cli", () => {
+ expect(cliPackageName("dev")).toBe("@alook/cli");
+ });
+});
+
+describe("updateCommand", () => {
+ it("app → stop, update, start with @alook/app", () => {
+ expect(updateCommand("app")).toBe(
+ "npx @alook/app stop && npx @alook/app@latest update && npx @alook/app start",
+ );
+ });
+
+ it("production → daemon stop and start with @alook/cli", () => {
+ expect(updateCommand("production")).toBe(
+ "npx @alook/cli@latest daemon stop && npx @alook/cli@latest daemon start",
+ );
+ });
+
+ it("desktop → daemon stop and start with @alook/cli", () => {
+ expect(updateCommand("desktop")).toBe(
+ "npx @alook/cli@latest daemon stop && npx @alook/cli@latest daemon start",
+ );
+ });
+
+ it("mobile → daemon stop and start with @alook/cli", () => {
+ expect(updateCommand("mobile")).toBe(
+ "npx @alook/cli@latest daemon stop && npx @alook/cli@latest daemon start",
+ );
+ });
+
+ it("dev → daemon stop and start with @alook/cli", () => {
+ expect(updateCommand("dev")).toBe(
+ "npx @alook/cli@latest daemon stop && npx @alook/cli@latest daemon start",
+ );
+ });
});
describe("getBaseUrl", () => {
diff --git a/src/web/src/app/(app)/studio/new/client.tsx b/src/web/src/app/(app)/studio/new/client.tsx
index 184cab1d1..91136ead9 100644
--- a/src/web/src/app/(app)/studio/new/client.tsx
+++ b/src/web/src/app/(app)/studio/new/client.tsx
@@ -9,6 +9,7 @@ import { toast } from "sonner";
import { signOut } from "@/lib/auth-client";
import { clearAllCache } from "@/lib/chat-cache";
+import { PublicLayout } from "@/components/public-layout";
import { ConnectMachineSteps } from "@/components/connect-machine-steps";
import { ScenarioPicker } from "@/components/studio-onboarding/scenario-picker";
import { TeamPreview, type TeamMember } from "@/components/studio-onboarding/team-preview";
@@ -20,7 +21,8 @@ import {
import type { AgentRuntime as Runtime } from "@alook/shared";
import type { WsMessage } from "@alook/shared";
-import { listRuntimes, createMachineToken, createWorkspace } from "@/lib/api";
+import { isTauri, isDesktop } from "@alook/shared";
+import { listRuntimes, createMachineToken } from "@/lib/api";
import { useUserWs } from "@/lib/use-user-ws";
import type { TemplatePreset } from "@/lib/templates";
@@ -61,6 +63,7 @@ export function StudioOnboardingClient({
const [daemonOnline, setDaemonOnline] = useState(false);
const [showRegister, setShowRegister] = useState(false);
+ const isTauriDesktop = isTauri() && isDesktop();
const onlineRuntimes = runtimes.filter((r) => r.status === "online");
const hasOnlineRuntime = onlineRuntimes.length > 0;
const onlineMachineCount = new Set(onlineRuntimes.map((r) => r.daemon_id).filter(Boolean)).size;
@@ -211,20 +214,14 @@ export function StudioOnboardingClient({
const handleGenerateToken = useCallback(async () => {
setGeneratingToken(true);
try {
- let wsId = workspaceIdRef.current;
- if (!wsId && isNewWorkspace) {
- const ws = await createWorkspace("Personal");
- wsId = ws.id;
- setWorkspaceId(wsId);
- }
- const res = await createMachineToken("cli", wsId || undefined);
+ const res = await createMachineToken("cli", workspaceIdRef.current || undefined);
setGeneratedToken(res.token);
} catch {
toast.error("Failed to generate token");
} finally {
setGeneratingToken(false);
}
- }, [isNewWorkspace]);
+ }, []);
const handleAssignRuntime = (memberIndex: number, runtimeId: string) => {
setMembers((prev) =>
@@ -286,32 +283,37 @@ export function StudioOnboardingClient({
members.length > 0 &&
members.every((m) => m.runtimeId) &&
nameValid &&
- (hasOnlineRuntime || machineRegistered);
+ (hasOnlineRuntime || machineRegistered || isTauriDesktop);
// Page 1: Scenario selection
if (!scenarioId) {
return (
- <div className="relative flex min-h-dvh flex-col items-center justify-center px-6 pt-14 pb-6 sm:p-6">
- <Button
- variant="ghost"
- size="sm"
- className="absolute top-4 left-4 text-xs text-muted-foreground"
- onClick={() => router.push("/workspaces")}
- >
- <LayoutGrid className="size-3 mr-1.5" />
- Workspaces
- </Button>
- <Button
- variant="ghost"
- size="sm"
- className="absolute top-4 right-4 text-xs text-muted-foreground"
- onClick={async () => { await clearAllCache(); signOut({ fetchOptions: { onSuccess: () => router.push("/sign-in") } }); }}
- >
- <LogOut className="size-3 mr-1.5" />
- Sign out
- </Button>
-
- <div className="w-full max-w-3xl space-y-8">
+ <PublicLayout
+ leftSlot={
+ <Button
+ variant="ghost"
+ size="sm"
+ className="text-xs text-muted-foreground"
+ onClick={() => router.push("/workspaces")}
+ >
+ <LayoutGrid className="size-3 mr-1.5" />
+ Workspaces
+ </Button>
+ }
+ rightSlot={
+ <Button
+ variant="ghost"
+ size="sm"
+ className="text-xs text-muted-foreground"
+ onClick={async () => { await clearAllCache(); signOut({ fetchOptions: { onSuccess: () => router.push("/sign-in") } }); }}
+ >
+ <LogOut className="size-3 mr-1.5" />
+ Sign out
+ </Button>
+ }
+ mainClassName="flex items-center justify-center"
+ >
+ <div className="w-full max-w-3xl space-y-8 px-6 py-6">
<div className="text-center space-y-2">
<h1
className="text-2xl font-semibold tracking-tight"
@@ -341,45 +343,49 @@ export function StudioOnboardingClient({
</div>
)}
</div>
- </div>
+ </PublicLayout>
);
}
// Page 2: Build your company
return (
- <div className="relative flex min-h-dvh flex-col items-center p-6">
- <div className="absolute top-4 left-4 flex items-center gap-1">
- <Button
- variant="ghost"
- size="sm"
- className="text-xs text-muted-foreground"
- onClick={() => router.push("/workspaces")}
- >
- <LayoutGrid className="size-3 mr-1.5" />
- Workspaces
- </Button>
- <span className="text-muted-foreground/40">/</span>
+ <PublicLayout
+ leftSlot={
+ <>
+ <Button
+ variant="ghost"
+ size="sm"
+ className="text-xs text-muted-foreground"
+ onClick={() => router.push("/workspaces")}
+ >
+ <LayoutGrid className="size-3 mr-1.5" />
+ Workspaces
+ </Button>
+ <span className="text-muted-foreground/40">/</span>
+ <Button
+ variant="ghost"
+ size="sm"
+ className="text-xs text-muted-foreground"
+ onClick={() => setScenarioId(null)}
+ >
+ <ArrowLeft className="size-3 mr-1.5" />
+ Back
+ </Button>
+ </>
+ }
+ rightSlot={
<Button
variant="ghost"
size="sm"
className="text-xs text-muted-foreground"
- onClick={() => setScenarioId(null)}
+ onClick={async () => { await clearAllCache(); signOut({ fetchOptions: { onSuccess: () => router.push("/sign-in") } }); }}
>
- <ArrowLeft className="size-3 mr-1.5" />
- Back
+ <LogOut className="size-3 mr-1.5" />
+ Sign out
</Button>
- </div>
- <Button
- variant="ghost"
- size="sm"
- className="absolute top-4 right-4 text-xs text-muted-foreground"
- onClick={async () => { await clearAllCache(); signOut({ fetchOptions: { onSuccess: () => router.push("/sign-in") } }); }}
- >
- <LogOut className="size-3 mr-1.5" />
- Sign out
- </Button>
-
- <div className="w-full max-w-3xl space-y-10 py-14">
+ }
+ >
+ <div className="mx-auto w-full max-w-3xl space-y-10 px-6 py-14">
{/* Header */}
<div className="text-center">
<h1
@@ -448,24 +454,41 @@ export function StudioOnboardingClient({
onAssignRuntime={handleAssignRuntime}
/>
- {/* Connect Machine */}
- <div className="space-y-3">
- <h2 className="text-base font-semibold tracking-tight">Connect a computer</h2>
- {hasOnlineRuntime ? (
- <div className="space-y-3">
- <div className="flex items-center justify-between">
- <p className="text-xs text-emerald-600 flex items-center gap-1">
- <CheckCircle2 className="size-3" /> {onlineMachineCount} computer{onlineMachineCount > 1 ? "s" : ""} connected
- </p>
- <button
- type="button"
- className="text-xs text-muted-foreground hover:text-foreground transition-colors"
- onClick={() => setShowRegister((v) => !v)}
- >
- Register another
- </button>
+ {/* Connect Machine — hidden in Tauri desktop (the app IS the computer) */}
+ {!isTauriDesktop && (
+ <div className="space-y-3">
+ <h2 className="text-base font-semibold tracking-tight">Connect a computer</h2>
+ {hasOnlineRuntime ? (
+ <div className="space-y-3">
+ <div className="flex items-center justify-between">
+ <p className="text-xs text-emerald-600 flex items-center gap-1">
+ <CheckCircle2 className="size-3" /> {onlineMachineCount} computer{onlineMachineCount > 1 ? "s" : ""} connected
+ </p>
+ <button
+ type="button"
+ className="text-xs text-muted-foreground hover:text-foreground transition-colors"
+ onClick={() => setShowRegister((v) => !v)}
+ >
+ Register another
+ </button>
+ </div>
+ {showRegister && (
+ <div className="rounded-xl bg-muted/40 p-5">
+ <ConnectMachineSteps
+ generatedToken={generatedToken}
+ generatingToken={generatingToken}
+ onGenerateToken={handleGenerateToken}
+ registered={machineRegistered}
+ daemonOnline={daemonOnline}
+ />
+ </div>
+ )}
</div>
- {showRegister && (
+ ) : (
+ <>
+ <p className="text-xs text-muted-foreground">
+ Your company needs a connected computer to run tasks.
+ </p>
<div className="rounded-xl bg-muted/40 p-5">
<ConnectMachineSteps
generatedToken={generatedToken}
@@ -475,25 +498,10 @@ export function StudioOnboardingClient({
daemonOnline={daemonOnline}
/>
</div>
- )}
- </div>
- ) : (
- <>
- <p className="text-xs text-muted-foreground">
- Your company needs a connected computer to run tasks.
- </p>
- <div className="rounded-xl bg-muted/40 p-5">
- <ConnectMachineSteps
- generatedToken={generatedToken}
- generatingToken={generatingToken}
- onGenerateToken={handleGenerateToken}
- registered={machineRegistered}
- daemonOnline={daemonOnline}
- />
- </div>
- </>
- )}
- </div>
+ </>
+ )}
+ </div>
+ )}
{/* Create */}
<Button
@@ -516,6 +524,6 @@ export function StudioOnboardingClient({
</>
)}
</div>
- </div>
+ </PublicLayout>
);
}
diff --git a/src/web/src/app/(app)/w/[slug]/runtimes/page.tsx b/src/web/src/app/(app)/w/[slug]/runtimes/page.tsx
index 7abe6efcc..5e69a13e6 100644
--- a/src/web/src/app/(app)/w/[slug]/runtimes/page.tsx
+++ b/src/web/src/app/(app)/w/[slug]/runtimes/page.tsx
@@ -26,8 +26,8 @@ import { Skeleton } from "@/components/ui/skeleton";
import { Monitor, Plus } from "lucide-react";
import type { AgentRuntime as Runtime } from "@alook/shared";
-import { semverGte } from "@alook/shared";
-import { cliCmd } from "@/lib/utils";
+import { semverGte, isTauri, tauriInvoke } from "@alook/shared";
+import { cliCmd, getAppMode } from "@/lib/utils";
import { ProviderLogo } from "@/components/provider-logo";
import { triggerRuntimeUpdate, triggerRuntimeRescan, fetchLatestCliVersion } from "@/lib/api";
import { Loader2, RefreshCw } from "lucide-react";
@@ -40,6 +40,8 @@ export default function RuntimesPage() {
const searchParams = useSearchParams();
const router = useRouter();
const pathname = usePathname();
+ const mode = getAppMode();
+ const isMobileApp = mode === "mobile";
const [sheetOpen, setSheetOpen] = useState(() => searchParams.has("connect"));
const [generatedToken, setGeneratedToken] = useState("");
@@ -271,19 +273,21 @@ export default function RuntimesPage() {
Your machines and their agent runtimes.
</p>
</div>
- <Button
- size="sm"
- variant="outline"
- onClick={() => {
- setGeneratedToken("");
- setRegisteredDaemonId(null);
- setSheetOpen(true);
- }}
- disabled={generatingToken}
- >
- <Plus className="size-3.5" />
- New machine
- </Button>
+ {!isMobileApp && (
+ <Button
+ size="sm"
+ variant="outline"
+ onClick={() => {
+ setGeneratedToken("");
+ setRegisteredDaemonId(null);
+ setSheetOpen(true);
+ }}
+ disabled={generatingToken}
+ >
+ <Plus className="size-3.5" />
+ New machine
+ </Button>
+ )}
</div>
<div className="flex-1 overflow-y-auto px-5 py-5">
@@ -291,18 +295,22 @@ export default function RuntimesPage() {
<div className="flex flex-1 items-center justify-center min-h-[60vh]">
<div className="text-center animate-[fade-up_400ms_ease-out_both]">
<p className="text-muted-foreground text-sm">
- Connect a machine to start running agents locally.
+ {isMobileApp
+ ? "No machines connected. Use the desktop app or CLI to connect a machine."
+ : "Connect a machine to start running agents locally."}
</p>
- <Button
- size="sm"
- className="mt-4 glow-border"
- onClick={() => {
- setGeneratedToken("");
- setSheetOpen(true);
- }}
- >
- Connect Machine
- </Button>
+ {!isMobileApp && (
+ <Button
+ size="sm"
+ className="mt-4 glow-border"
+ onClick={() => {
+ setGeneratedToken("");
+ setSheetOpen(true);
+ }}
+ >
+ Connect Machine
+ </Button>
+ )}
</div>
</div>
) : (
@@ -440,23 +448,41 @@ export default function RuntimesPage() {
<p className="text-[11px] text-muted-foreground mb-1.5">
Bring this machine online:
</p>
- <Tooltip>
- <TooltipTrigger
- render={
- <div
- className="relative overflow-hidden rounded-md bg-muted px-2.5 py-1.5 font-mono text-[11px] text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors"
- onClick={() => {
- navigator.clipboard.writeText(`${cliCmd()} daemon start`);
- toast.success("Copied to clipboard");
- }}
- />
- }
+ {mode === "desktop" && isTauri() ? (
+ <Button
+ size="sm"
+ variant="outline"
+ className="w-full h-7 text-[11px]"
+ onClick={async () => {
+ try {
+ await tauriInvoke("daemon_start");
+ toast.success("Daemon started");
+ } catch {
+ toast.error("Failed to start daemon");
+ }
+ }}
>
- <span className="absolute inset-0 -translate-x-full animate-[shimmer_2.5s_infinite] bg-linear-to-r from-transparent via-(--shimmer-peak) to-transparent" />
- <span className="relative">{cliCmd()} daemon start</span>
- </TooltipTrigger>
- <TooltipContent>Click to copy</TooltipContent>
- </Tooltip>
+ Start Daemon
+ </Button>
+ ) : (
+ <Tooltip>
+ <TooltipTrigger
+ render={
+ <div
+ className="relative overflow-hidden rounded-md bg-muted px-2.5 py-1.5 font-mono text-[11px] text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors"
+ onClick={() => {
+ navigator.clipboard.writeText(`${cliCmd()} daemon start`);
+ toast.success("Copied to clipboard");
+ }}
+ />
+ }
+ >
+ <span className="absolute inset-0 -translate-x-full animate-[shimmer_2.5s_infinite] bg-linear-to-r from-transparent via-(--shimmer-peak) to-transparent" />
+ <span className="relative">{cliCmd()} daemon start</span>
+ </TooltipTrigger>
+ <TooltipContent>Click to copy</TooltipContent>
+ </Tooltip>
+ )}
</div>
)}
</div>
diff --git a/src/web/src/app/(app)/workspaces/client.tsx b/src/web/src/app/(app)/workspaces/client.tsx
index 42b67e5bb..e6da4e742 100644
--- a/src/web/src/app/(app)/workspaces/client.tsx
+++ b/src/web/src/app/(app)/workspaces/client.tsx
@@ -17,8 +17,10 @@ interface WorkspaceItem {
export function WorkspaceListClient({
workspaces,
+ emptyWorkspaceId,
}: {
workspaces: WorkspaceItem[]
+ emptyWorkspaceId?: string | null
}) {
const router = useRouter()
@@ -69,7 +71,7 @@ export function WorkspaceListClient({
<Button
variant="outline"
className="w-full"
- onClick={() => router.push("/studio/new")}
+ onClick={() => router.push(emptyWorkspaceId ? `/studio/new?workspace_id=${emptyWorkspaceId}` : "/studio/new")}
>
<Plus className="size-4" />
New workspace
diff --git a/src/web/src/app/(app)/workspaces/page.tsx b/src/web/src/app/(app)/workspaces/page.tsx
index db1b935ef..02fe72b13 100644
--- a/src/web/src/app/(app)/workspaces/page.tsx
+++ b/src/web/src/app/(app)/workspaces/page.tsx
@@ -1,25 +1,10 @@
import { redirect } from "next/navigation"
-import { isRedirectError } from "next/dist/client/components/redirect-error"
import { getCloudflareContext } from "@opennextjs/cloudflare"
import { queries } from "@alook/shared"
import { getDb } from "@/lib/db"
import { requireSession } from "@/lib/session"
import { WorkspaceListClient } from "./client"
-function slugFromEmail(email: string): string {
- const local = email.split("@")[0] || "user"
- return local
- .toLowerCase()
- .replace(/[^a-z0-9-]/g, "-")
- .replace(/-+/g, "-")
- .replace(/^-|-$/g, "")
- .slice(0, 48)
-}
-
-function randomSuffix(): string {
- return Math.random().toString(36).slice(2, 8)
-}
-
export default async function WorkspacesPage({
searchParams,
}: {
@@ -29,34 +14,11 @@ export default async function WorkspacesPage({
const { env } = await getCloudflareContext({ async: true })
const db = getDb((env as Env).DB)
- let workspaces = await queries.workspace.listWorkspaces(db, session.user.id)
+ const workspaces = await queries.workspace.listWorkspaces(db, session.user.id)
- // Auto-create "Personal" workspace for new users
+ // New users with no workspaces → redirect to /studio/new to start the flow
if (workspaces.length === 0) {
- const baseSlug = slugFromEmail(session.user.email)
- let slug = baseSlug
-
- for (let attempt = 0; attempt < 3; attempt++) {
- try {
- const ws = await queries.workspace.createWorkspace(db, {
- name: "Personal",
- slug,
- })
- await queries.member.createMember(db, {
- workspaceId: ws.id,
- userId: session.user.id,
- role: "owner",
- })
- redirect(`/studio/new?workspace_id=${ws.id}`)
- } catch (err) {
- if (isRedirectError(err)) throw err
- // Slug conflict — append random suffix and retry
- slug = `${baseSlug}-${randomSuffix()}`
- }
- }
-
- // If all attempts failed, reload workspaces (another request may have created one)
- workspaces = await queries.workspace.listWorkspaces(db, session.user.id)
+ redirect("/studio/new")
}
// Auto-redirect to single workspace only on post-login flow
@@ -69,5 +31,15 @@ export default async function WorkspacesPage({
redirect(`/w/${workspaces[0].slug}/home`)
}
- return <WorkspaceListClient workspaces={workspaces} />
+ // Find most recent workspace with 0 agents to reuse for "New workspace"
+ let emptyWorkspaceId: string | null = null
+ for (const ws of workspaces) {
+ const agents = await queries.agent.listAgents(db, ws.id, session.user.id)
+ if (agents.length === 0) {
+ emptyWorkspaceId = ws.id
+ break
+ }
+ }
+
+ return <WorkspaceListClient workspaces={workspaces} emptyWorkspaceId={emptyWorkspaceId} />
}
diff --git a/src/web/src/app/(auth)/sign-in/page.tsx b/src/web/src/app/(auth)/sign-in/page.tsx
index 6fdecca7c..eedb9fab4 100644
--- a/src/web/src/app/(auth)/sign-in/page.tsx
+++ b/src/web/src/app/(auth)/sign-in/page.tsx
@@ -22,6 +22,7 @@ import {
import { SiGithub, SiGoogle } from "@icons-pack/react-simple-icons"
import Image from "next/image"
import { GradientBackground } from "@/components/gradient-background"
+import { Logo } from "@/components/logo"
import { resolveMode, DEV_PASSWORD } from "@alook/shared"
const mode = resolveMode({
@@ -360,6 +361,9 @@ export default function SignInPage() {
<GradientBackground />
<div className="w-full max-w-sm md:max-w-4xl">
<div className="flex flex-col gap-6">
+ <div className="flex justify-center mb-2">
+ <Logo size="lg" />
+ </div>
<Card className="overflow-hidden p-0">
<CardContent className="grid p-0 md:grid-cols-2">
<div className="p-6 md:p-8 md:min-h-105 flex flex-col justify-center">
diff --git a/src/web/src/app/.well-known/apple-app-site-association/route.test.ts b/src/web/src/app/.well-known/apple-app-site-association/route.test.ts
new file mode 100644
index 000000000..dacd5f284
--- /dev/null
+++ b/src/web/src/app/.well-known/apple-app-site-association/route.test.ts
@@ -0,0 +1,23 @@
+import { describe, it, expect } from "vitest";
+import { GET } from "./route";
+
+describe("GET /.well-known/apple-app-site-association", () => {
+ it("returns 200 with application/json content type", async () => {
+ const response = await GET();
+ expect(response.status).toBe(200);
+ expect(response.headers.get("Content-Type")).toBe("application/json");
+ });
+
+ it("returns valid applinks structure", async () => {
+ const response = await GET();
+ const body = await response.json();
+ expect(body).toHaveProperty("applinks");
+ expect(body.applinks).toHaveProperty("apps", []);
+ expect(body.applinks).toHaveProperty("details");
+ expect(body.applinks.details).toHaveLength(1);
+ expect(body.applinks.details[0]).toEqual({
+ appIDs: ["TEAM_ID.ai.alook.app"],
+ paths: ["*"],
+ });
+ });
+});
diff --git a/src/web/src/app/.well-known/apple-app-site-association/route.ts b/src/web/src/app/.well-known/apple-app-site-association/route.ts
new file mode 100644
index 000000000..83d7ee7f5
--- /dev/null
+++ b/src/web/src/app/.well-known/apple-app-site-association/route.ts
@@ -0,0 +1,22 @@
+import { NextResponse } from "next/server";
+
+// Replace TEAM_ID with your Apple Developer Team ID after enrollment
+const APPLE_APP_SITE_ASSOCIATION = {
+ applinks: {
+ apps: [],
+ details: [
+ {
+ appIDs: ["TEAM_ID.ai.alook.app"],
+ paths: ["*"],
+ },
+ ],
+ },
+};
+
+export async function GET() {
+ return NextResponse.json(APPLE_APP_SITE_ASSOCIATION, {
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+}
diff --git a/src/web/src/app/.well-known/assetlinks.json/route.test.ts b/src/web/src/app/.well-known/assetlinks.json/route.test.ts
new file mode 100644
index 000000000..fc7ba61f7
--- /dev/null
+++ b/src/web/src/app/.well-known/assetlinks.json/route.test.ts
@@ -0,0 +1,25 @@
+import { describe, it, expect } from "vitest";
+import { GET } from "./route";
+
+describe("GET /.well-known/assetlinks.json", () => {
+ it("returns 200 with application/json content type", async () => {
+ const response = await GET();
+ expect(response.status).toBe(200);
+ expect(response.headers.get("Content-Type")).toBe("application/json");
+ });
+
+ it("returns valid asset links structure", async () => {
+ const response = await GET();
+ const body = await response.json();
+ expect(body).toBeInstanceOf(Array);
+ expect(body).toHaveLength(1);
+ expect(body[0]).toEqual({
+ relation: ["delegate_permission/common.handle_all_urls"],
+ target: {
+ namespace: "android_app",
+ package_name: "ai.alook.app",
+ sha256_cert_fingerprints: ["__PLACEHOLDER__"],
+ },
+ });
+ });
+});
diff --git a/src/web/src/app/.well-known/assetlinks.json/route.ts b/src/web/src/app/.well-known/assetlinks.json/route.ts
new file mode 100644
index 000000000..db27de87b
--- /dev/null
+++ b/src/web/src/app/.well-known/assetlinks.json/route.ts
@@ -0,0 +1,21 @@
+import { NextResponse } from "next/server";
+
+// Replace __PLACEHOLDER__ with the SHA-256 fingerprint of your Android signing certificate
+const ASSET_LINKS = [
+ {
+ relation: ["delegate_permission/common.handle_all_urls"],
+ target: {
+ namespace: "android_app",
+ package_name: "ai.alook.app",
+ sha256_cert_fingerprints: ["__PLACEHOLDER__"],
+ },
+ },
+];
+
+export async function GET() {
+ return NextResponse.json(ASSET_LINKS, {
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+}
diff --git a/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.test.ts b/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.test.ts
new file mode 100644
index 000000000..ae9047dc2
--- /dev/null
+++ b/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.test.ts
@@ -0,0 +1,211 @@
+import { describe, it, expect, vi, beforeEach } from "vitest";
+
+const mockFetch = vi.fn();
+vi.stubGlobal("fetch", mockFetch);
+
+import { GET } from "./route";
+
+function makeRequest(target: string, arch: string, current_version: string) {
+ const url = `http://localhost/api/desktop/update/${target}/${arch}/${current_version}`;
+ return new Request(url);
+}
+
+function makeParams(target: string, arch: string, current_version: string) {
+ return { params: Promise.resolve({ target, arch, current_version }) };
+}
+
+function makeRelease(version: string, assets: { name: string; browser_download_url: string }[] = []) {
+ return {
+ draft: false,
+ prerelease: false,
+ tag_name: `desktop-v${version}`,
+ body: "Release notes",
+ published_at: "2026-06-01T00:00:00Z",
+ assets,
+ };
+}
+
+describe("GET /api/desktop/update/[target]/[arch]/[current_version]", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("returns 502 when GitHub API fails", async () => {
+ mockFetch.mockResolvedValueOnce({ ok: false, status: 500 });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(502);
+ const body = await res.json();
+ expect(body.error).toBe("Failed to fetch releases");
+ });
+
+ it("returns 204 when no desktop release exists", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [{ draft: false, prerelease: false, tag_name: "web-v1.0.0", assets: [] }],
+ });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+
+ it("returns 204 when current_version is already latest", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("1.0.0")],
+ });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+
+ it("returns 204 when platform/arch combo has no matching asset", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("2.0.0", [
+ { name: "app-windows.msi.zip", browser_download_url: "https://example.com/app.msi.zip" },
+ ])],
+ });
+
+ const res = await GET(
+ makeRequest("freebsd", "arm", "1.0.0"),
+ makeParams("freebsd", "arm", "1.0.0"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+
+ it("returns 204 when binary or sig asset is missing", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("2.0.0", [
+ { name: "app.app.tar.gz", browser_download_url: "https://example.com/app.tar.gz" },
+ // no .sig file
+ ])],
+ });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+
+ it("returns JSON with version, notes, pub_date, platforms when update is available", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("2.0.0", [
+ { name: "app.app.tar.gz", browser_download_url: "https://example.com/app.tar.gz" },
+ { name: "app.app.tar.gz.sig", browser_download_url: "https://example.com/app.tar.gz.sig" },
+ ])],
+ });
+ // Signature fetch
+ mockFetch.mockResolvedValueOnce({ ok: true, text: async () => "sig-content-here" });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(200);
+ const body = await res.json();
+ expect(body.version).toBe("2.0.0");
+ expect(body.notes).toBe("Release notes");
+ expect(body.pub_date).toBe("2026-06-01T00:00:00Z");
+ expect(body.platforms["darwin-aarch64"]).toEqual({
+ url: "https://example.com/app.tar.gz",
+ signature: "sig-content-here",
+ });
+ });
+
+ it("returns empty signature when sig fetch fails", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("2.0.0", [
+ { name: "app.app.tar.gz", browser_download_url: "https://example.com/app.tar.gz" },
+ { name: "app.app.tar.gz.sig", browser_download_url: "https://example.com/app.tar.gz.sig" },
+ ])],
+ });
+ mockFetch.mockResolvedValueOnce({ ok: false });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(200);
+ const body = await res.json();
+ expect(body.platforms["darwin-aarch64"].signature).toBe("");
+ });
+
+ describe("compareVersions", () => {
+ it("current version newer than release returns 204", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("1.0.0")],
+ });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "2.0.0"),
+ makeParams("darwin", "aarch64", "2.0.0"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+
+ it("handles versions with different segment lengths", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("1.0.0.1")],
+ });
+ mockFetch.mockResolvedValueOnce({ ok: true, text: async () => "sig" });
+
+ const assets = [
+ { name: "app.app.tar.gz", browser_download_url: "https://example.com/app.tar.gz" },
+ { name: "app.app.tar.gz.sig", browser_download_url: "https://example.com/app.tar.gz.sig" },
+ ];
+ mockFetch.mockReset();
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("1.0.0.1", assets)],
+ });
+ mockFetch.mockResolvedValueOnce({ ok: true, text: async () => "sig" });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.0.0"),
+ makeParams("darwin", "aarch64", "1.0.0"),
+ );
+
+ expect(res.status).toBe(200);
+ const body = await res.json();
+ expect(body.version).toBe("1.0.0.1");
+ });
+
+ it("equal versions return 204", async () => {
+ mockFetch.mockResolvedValueOnce({
+ ok: true,
+ json: async () => [makeRelease("1.2.3")],
+ });
+
+ const res = await GET(
+ makeRequest("darwin", "aarch64", "1.2.3"),
+ makeParams("darwin", "aarch64", "1.2.3"),
+ );
+
+ expect(res.status).toBe(204);
+ });
+ });
+});
diff --git a/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.ts b/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.ts
new file mode 100644
index 000000000..4bcd79ba8
--- /dev/null
+++ b/src/web/src/app/api/desktop/update/[target]/[arch]/[current_version]/route.ts
@@ -0,0 +1,103 @@
+import { NextResponse } from "next/server";
+
+const GITHUB_REPO = "alookai/alook";
+const TAG_PREFIX = "desktop-v";
+const CACHE_TTL = 300;
+
+const PLATFORM_MAP: Record<string, string> = {
+ "darwin-aarch64": ".app.tar.gz",
+ "darwin-x86_64": ".app.tar.gz",
+ "linux-x86_64": ".AppImage.tar.gz",
+ "windows-x86_64": ".msi.zip",
+};
+
+function compareVersions(a: string, b: string): number {
+ const pa = a.split(".").map(Number);
+ const pb = b.split(".").map(Number);
+ for (let i = 0; i < Math.max(pa.length, pb.length); i++) {
+ const na = pa[i] ?? 0;
+ const nb = pb[i] ?? 0;
+ if (na !== nb) return na - nb;
+ }
+ return 0;
+}
+
+export async function GET(
+ _req: Request,
+ { params }: { params: Promise<{ target: string; arch: string; current_version: string }> },
+) {
+ const { target, arch, current_version } = await params;
+ const platformKey = `${target}-${arch}`;
+
+ const res = await fetch(
+ `https://api.github.com/repos/${GITHUB_REPO}/releases?per_page=10`,
+ {
+ headers: {
+ Accept: "application/vnd.github.v3+json",
+ "User-Agent": "alook-updater",
+ },
+ next: { revalidate: CACHE_TTL },
+ },
+ );
+
+ if (!res.ok) {
+ return NextResponse.json({ error: "Failed to fetch releases" }, { status: 502 });
+ }
+
+ interface GitHubRelease {
+ tag_name: string;
+ draft: boolean;
+ prerelease: boolean;
+ assets: { name: string; browser_download_url: string }[];
+ body: string | null;
+ published_at: string | null;
+ }
+
+ const releases = (await res.json()) as GitHubRelease[];
+ const desktopRelease = releases.find(
+ (r) => !r.draft && !r.prerelease && r.tag_name?.startsWith(TAG_PREFIX),
+ );
+
+ if (!desktopRelease) {
+ return new NextResponse(null, { status: 204 });
+ }
+
+ const latestVersion = desktopRelease.tag_name.replace(TAG_PREFIX, "");
+ if (compareVersions(latestVersion, current_version) <= 0) {
+ return new NextResponse(null, { status: 204 });
+ }
+
+ const suffix = PLATFORM_MAP[platformKey];
+ if (!suffix) {
+ return new NextResponse(null, { status: 204 });
+ }
+
+ const assets = desktopRelease.assets;
+ const binary = assets.find((a) => a.name.endsWith(suffix) && !a.name.endsWith(".sig"));
+ const sig = assets.find((a) => a.name.endsWith(`${suffix}.sig`));
+
+ if (!binary || !sig) {
+ return new NextResponse(null, { status: 204 });
+ }
+
+ const sigRes = await fetch(sig.browser_download_url);
+ const signature = sigRes.ok ? await sigRes.text() : "";
+
+ const platforms: Record<string, { url: string; signature: string }> = {};
+ platforms[platformKey] = {
+ url: binary.browser_download_url,
+ signature,
+ };
+
+ return NextResponse.json(
+ {
+ version: latestVersion,
+ notes: desktopRelease.body || "",
+ pub_date: desktopRelease.published_at,
+ platforms,
+ },
+ {
+ headers: { "Cache-Control": `public, max-age=${CACHE_TTL}` },
+ },
+ );
+}
diff --git a/src/web/src/app/blog/layout.tsx b/src/web/src/app/blog/layout.tsx
index 7c9da72ea..38ce88ab6 100644
--- a/src/web/src/app/blog/layout.tsx
+++ b/src/web/src/app/blog/layout.tsx
@@ -1,15 +1,5 @@
-import Link from "next/link";
-import Image from "next/image";
import { ThemeToggle } from "@/components/theme-toggle";
-
-const footerLinks = [
- { href: "/templates", label: "Templates" },
- { href: "/blog", label: "Blog" },
- { href: "https://github.com/alookai/alook", label: "GitHub", external: true },
- { href: "https://discord.alook.ai", label: "Discord", external: true },
- { href: "https://x.com/alook_ai", label: "X", external: true },
- { href: "/privacy", label: "Privacy" },
-];
+import { PublicLayout } from "@/components/public-layout";
export default function BlogLayout({
children,
@@ -17,79 +7,8 @@ export default function BlogLayout({
children: React.ReactNode;
}) {
return (
- <div className="min-h-dvh flex flex-col bg-background text-foreground">
- <nav className="sticky top-0 z-50 border-b border-border bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-3">
- <div className="flex items-center gap-1.5">
- <Link href="/" className="flex items-center gap-1">
- <Image src="/alook.svg" alt="Alook" width={22} height={22} />
- <span
- className="text-lg tracking-tight font-bold"
- style={{ fontFamily: "var(--font-brand)" }}
- >
- Alook
- </span>
- </Link>
- <span className="text-muted-foreground/50 text-sm">/</span>
- <Link
- href="/blog"
- className="text-sm font-medium text-foreground hover:text-muted-foreground transition-colors"
- >
- Blog
- </Link>
- </div>
- <ThemeToggle />
- </div>
- </nav>
-
- <main className="flex-1">{children}</main>
-
- <footer className="border-t border-border px-6 py-12">
- <div className="mx-auto flex max-w-5xl flex-col items-center justify-between gap-6 md:flex-row">
- <div className="flex items-center gap-4">
- <Link href="/" className="flex items-center gap-1">
- <Image src="/alook.svg" alt="Alook" width={20} height={20} />
- <span
- className="text-lg tracking-tight font-bold"
- style={{ fontFamily: "var(--font-brand)" }}
- >
- Alook
- </span>
- </Link>
- <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground">
- Your Personal Company
- </span>
- </div>
-
- <nav className="flex flex-wrap items-center justify-center gap-x-5 gap-y-2" aria-label="Footer navigation">
- {footerLinks.map((link) =>
- link.external ? (
- <a
- key={link.label}
- href={link.href}
- target="_blank"
- rel="noopener noreferrer"
- className="text-[11px] uppercase tracking-[0.15em] font-mono text-muted-foreground transition-opacity hover:opacity-70"
- >
- {link.label}
- </a>
- ) : (
- <Link
- key={link.label}
- href={link.href}
- className="text-[11px] uppercase tracking-[0.15em] font-mono text-muted-foreground transition-opacity hover:opacity-70"
- >
- {link.label}
- </Link>
- )
- )}
- </nav>
-
- <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground/50">
- &copy; {new Date().getFullYear()} Alook AI
- </span>
- </div>
- </footer>
- </div>
+ <PublicLayout breadcrumb="Blog" rightSlot={<ThemeToggle />} footer="rich">
+ {children}
+ </PublicLayout>
);
}
diff --git a/src/web/src/app/globals.css b/src/web/src/app/globals.css
index 55a9d6c3e..223dd1f81 100644
--- a/src/web/src/app/globals.css
+++ b/src/web/src/app/globals.css
@@ -1823,3 +1823,5 @@ html.dark,
.dark body {
background-color: oklch(0.16 0.008 60);
}
+
+
diff --git a/src/web/src/app/layout.tsx b/src/web/src/app/layout.tsx
index 76da708a4..f18a40b29 100644
--- a/src/web/src/app/layout.tsx
+++ b/src/web/src/app/layout.tsx
@@ -11,6 +11,7 @@ import { ThemeProvider } from "@/components/theme-provider";
import { ToasterProvider } from "@/components/toaster-provider";
import { TooltipProvider } from "@/components/ui/tooltip";
import { MockNetworkBanner } from "@/components/mock-network-banner";
+import { TauriThemeSync } from "@/components/tauri-theme-sync";
import "./globals.css";
const dmSans = DM_Sans({
@@ -170,6 +171,7 @@ export default function RootLayout({
}}
/>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
+ <TauriThemeSync />
<TooltipProvider>
{children}
</TooltipProvider>
diff --git a/src/web/src/app/privacy/layout.tsx b/src/web/src/app/privacy/layout.tsx
index 2b8ff167c..1efc4bd52 100644
--- a/src/web/src/app/privacy/layout.tsx
+++ b/src/web/src/app/privacy/layout.tsx
@@ -1,6 +1,5 @@
-import Link from "next/link";
-import Image from "next/image";
import { ThemeToggle } from "@/components/theme-toggle";
+import { PublicLayout } from "@/components/public-layout";
export default function PrivacyLayout({
children,
@@ -8,31 +7,8 @@ export default function PrivacyLayout({
children: React.ReactNode;
}) {
return (
- <div className="min-h-dvh flex flex-col bg-background text-foreground">
- <nav className="sticky top-0 z-50 border-b border-border bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-3">
- <Link href="/" className="flex items-center gap-1">
- <Image src="/alook.svg" alt="Alook" width={22} height={22} />
- <span
- className="text-lg tracking-tight font-bold"
- style={{ fontFamily: "var(--font-brand)" }}
- >
- Alook
- </span>
- </Link>
- <ThemeToggle />
- </div>
- </nav>
-
- <main className="flex-1">{children}</main>
-
- <footer className="border-t border-border px-6 py-12">
- <div className="mx-auto flex max-w-5xl items-center justify-center">
- <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground/50">
- &copy; {new Date().getFullYear()} Alook AI
- </span>
- </div>
- </footer>
- </div>
+ <PublicLayout rightSlot={<ThemeToggle />} footer="simple">
+ {children}
+ </PublicLayout>
);
}
diff --git a/src/web/src/app/templates/[id]/client.tsx b/src/web/src/app/templates/[id]/client.tsx
index 1bcd9aa1e..0918453a5 100644
--- a/src/web/src/app/templates/[id]/client.tsx
+++ b/src/web/src/app/templates/[id]/client.tsx
@@ -1,9 +1,9 @@
"use client";
import Link from "next/link";
-import Image from "next/image";
-import { ArrowLeft, Check } from "lucide-react";
+import { Check } from "lucide-react";
import { buttonVariants } from "@/components/ui/button";
+import { PublicLayout } from "@/components/public-layout";
import { MemberCard } from "./_components/member-card";
import type { TemplatePreset } from "@/lib/templates";
@@ -31,29 +31,40 @@ export function TemplateDetailClient({
: `/sign-in?redirect=${encodeURIComponent(getUrl)}`;
return (
- <div className="min-h-dvh bg-background">
- {/* Nav */}
- <nav className="sticky top-0 z-50 border-b bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-4xl items-center justify-between px-6 py-3">
- <Link href="/" className="flex items-center gap-2">
- <Image src="/alook.svg" alt="Alook" width={22} height={22} />
- <span className="text-lg tracking-tight" style={{ fontFamily: "var(--font-brand)", fontWeight: 700 }}>Alook</span>
+ <PublicLayout
+ maxWidth="4xl"
+ rightSlot={
+ <>
+ <Link
+ href="/templates"
+ className="hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest font-mono transition-opacity hover:opacity-70"
+ >
+ Templates
</Link>
- <div className="flex items-center gap-2">
- {isLoggedIn ? (
- <Link href="/workspaces?auto" className={buttonVariants({ variant: "outline", size: "sm" })}>
- <ArrowLeft className="mr-1.5 size-3" />
- Back to App
- </Link>
- ) : (
- <Link href="/sign-in" className={buttonVariants({ size: "sm" })}>
- Sign In
- </Link>
- )}
- </div>
- </div>
- </nav>
-
+ <Link
+ href="/blog"
+ className="hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest font-mono transition-opacity hover:opacity-70"
+ >
+ Blog
+ </Link>
+ {isLoggedIn ? (
+ <Link
+ href="/workspaces?auto"
+ className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest font-mono border border-current transition-opacity hover:opacity-70"
+ >
+ App
+ </Link>
+ ) : (
+ <Link
+ href="/sign-in"
+ className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest font-mono bg-foreground text-background transition-opacity hover:opacity-70"
+ >
+ Get Started
+ </Link>
+ )}
+ </>
+ }
+ >
<div className="mx-auto max-w-4xl px-6 py-10">
{/* Breadcrumb */}
<nav className="mb-8 flex items-center gap-1.5 text-xs text-muted-foreground">
@@ -168,6 +179,6 @@ export function TemplateDetailClient({
</Link>
</div>
</div>
- </div>
+ </PublicLayout>
);
}
diff --git a/src/web/src/app/templates/client.tsx b/src/web/src/app/templates/client.tsx
index 843bc87b8..2de653935 100644
--- a/src/web/src/app/templates/client.tsx
+++ b/src/web/src/app/templates/client.tsx
@@ -2,9 +2,7 @@
import { useState } from "react";
import Link from "next/link";
-import Image from "next/image";
-import { ArrowLeft } from "lucide-react";
-import { buttonVariants } from "@/components/ui/button";
+import { PublicLayout } from "@/components/public-layout";
import { TemplateCard } from "./_components/template-card";
import type { TemplatePreset, TemplateCategory } from "@/lib/templates";
@@ -27,29 +25,40 @@ export function TemplatesClient({
: templates.filter((t) => t.category === activeCategory);
return (
- <div className="min-h-dvh bg-background">
- {/* Nav */}
- <nav className="sticky top-0 z-50 border-b bg-background/90 backdrop-blur-sm">
- <div className="mx-auto flex max-w-4xl items-center justify-between px-6 py-3">
- <Link href="/" className="flex items-center gap-2">
- <Image src="/alook.svg" alt="Alook" width={22} height={22} />
- <span className="text-lg tracking-tight" style={{ fontFamily: "var(--font-brand)", fontWeight: 700 }}>Alook</span>
+ <PublicLayout
+ maxWidth="4xl"
+ rightSlot={
+ <>
+ <Link
+ href="/templates"
+ className="hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest font-mono transition-opacity hover:opacity-70"
+ >
+ Templates
</Link>
- <div className="flex items-center gap-2">
- {isLoggedIn ? (
- <Link href="/workspaces?auto" className={buttonVariants({ variant: "outline", size: "sm" })}>
- <ArrowLeft className="mr-1.5 size-3" />
- Back to App
- </Link>
- ) : (
- <Link href="/sign-in" className={buttonVariants({ size: "sm" })}>
- Sign In
- </Link>
- )}
- </div>
- </div>
- </nav>
-
+ <Link
+ href="/blog"
+ className="hidden sm:block px-3 py-1.5 text-xs uppercase tracking-widest font-mono transition-opacity hover:opacity-70"
+ >
+ Blog
+ </Link>
+ {isLoggedIn ? (
+ <Link
+ href="/workspaces?auto"
+ className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest font-mono border border-current transition-opacity hover:opacity-70"
+ >
+ App
+ </Link>
+ ) : (
+ <Link
+ href="/sign-in"
+ className="inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest font-mono bg-foreground text-background transition-opacity hover:opacity-70"
+ >
+ Get Started
+ </Link>
+ )}
+ </>
+ }
+ >
{/* Header */}
<div className="mx-auto max-w-4xl px-6 pt-16 pb-2">
<h1
@@ -102,6 +111,6 @@ export function TemplatesClient({
</div>
)}
</div>
- </div>
+ </PublicLayout>
);
}
diff --git a/src/web/src/components/agent-chat/agent-chat-view.tsx b/src/web/src/components/agent-chat/agent-chat-view.tsx
index 1d778227c..f8d2698ca 100644
--- a/src/web/src/components/agent-chat/agent-chat-view.tsx
+++ b/src/web/src/components/agent-chat/agent-chat-view.tsx
@@ -309,6 +309,7 @@ export function AgentChatView({
window.open(getArtifactUrl(artifact.id, workspaceId, true), "_blank");
}
},
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- setState fns are stable
[workspaceId],
);
@@ -321,6 +322,7 @@ export function AgentChatView({
window.open(getArtifactUrl(artifact.id, workspaceId, true), "_blank");
}
},
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- setState fns are stable
[workspaceId],
);
@@ -368,10 +370,12 @@ export function AgentChatView({
getAnchorPos: useCallback(
(triggerStart: number) =>
composerRef.current?.coordsAtTextIndex(triggerStart) ?? null,
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- composerRef is stable
[],
),
onAfterSelect: useCallback(() => {
requestAnimationFrame(() => composerRef.current?.focus());
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- composerRef is stable
}, []),
});
@@ -434,6 +438,7 @@ export function AgentChatView({
if (!sending) {
composerRef.current?.focus();
}
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- composerRef is stable
}, [sending]);
@@ -446,6 +451,7 @@ export function AgentChatView({
window.getSelection()?.removeAllRanges();
composerRef.current?.focus();
}
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- composerRef and setSelectionPopup are stable
}, [selectionPopup]);
@@ -500,6 +506,7 @@ export function AgentChatView({
});
}
});
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- setState fns are stable
}, [
issueSheetOpen,
selectedIssueId,
@@ -534,7 +541,7 @@ export function AgentChatView({
{/* Agent cluster — top [avatar][name] header, bubbles stacked below
in the gutter (mirrors AgentRow's Slack/Discord layout). */}
<div className="flex justify-start items-start gap-2">
- <Skeleton className="size-[30px] shrink-0 rounded-md" />
+ <Skeleton className="size-7.5 shrink-0 rounded-md" />
<div className="flex flex-col items-start gap-1 max-w-[86%]">
<Skeleton className="h-3 w-20 rounded mb-0.5" />
<Skeleton className="h-9 w-64 rounded-[1.05rem]" />
@@ -548,7 +555,7 @@ export function AgentChatView({
</div>
{/* Another agent cluster */}
<div className="flex justify-start items-start gap-2">
- <Skeleton className="size-[30px] shrink-0 rounded-md" />
+ <Skeleton className="size-7.5 shrink-0 rounded-md" />
<div className="flex flex-col items-start gap-1 max-w-[86%]">
<Skeleton className="h-3 w-20 rounded mb-0.5" />
<Skeleton className="h-9 w-56 rounded-[1.05rem]" />
diff --git a/src/web/src/components/agent-chat/use-rotating-placeholder.ts b/src/web/src/components/agent-chat/use-rotating-placeholder.ts
index ff88f4775..9f0ba78c8 100644
--- a/src/web/src/components/agent-chat/use-rotating-placeholder.ts
+++ b/src/web/src/components/agent-chat/use-rotating-placeholder.ts
@@ -117,7 +117,7 @@ export function useRotatingPlaceholder(
// The latest index is read from a ref so the effect doesn't re-run (and
// reset the timer) on every advance.
const indexRef = useRef(index);
- indexRef.current = index;
+ indexRef.current = index; // eslint-disable-line react-hooks/refs -- sync ref to avoid stale closure in interval
useEffect(() => {
if (!rotating) return;
diff --git a/src/web/src/components/connect-machine-steps.tsx b/src/web/src/components/connect-machine-steps.tsx
index 19a475ebe..a46e65bbc 100644
--- a/src/web/src/components/connect-machine-steps.tsx
+++ b/src/web/src/components/connect-machine-steps.tsx
@@ -1,11 +1,12 @@
"use client";
-import { useRef, useEffect } from "react";
+import { useRef, useEffect, useState } from "react";
import { Button } from "@/components/ui/button";
import { Tooltip, TooltipTrigger, TooltipContent } from "@/components/ui/tooltip";
-import { Check } from "lucide-react";
+import { Check, Play, Loader2 } from "lucide-react";
import { toast } from "sonner";
-import { cliCmd, daemonStartCmd } from "@/lib/utils";
+import { cliCmd, daemonStartCmd, getAppMode } from "@/lib/utils";
+import { isTauri, tauriInvoke } from "@alook/shared";
function StepIndicator({ step, completed }: { step: number; completed: boolean }) {
if (completed) {
@@ -36,6 +37,18 @@ export function ConnectMachineSteps({
daemonOnline: boolean;
}) {
const hasTriggered = useRef(false);
+ const mode = getAppMode();
+ const isDesktopApp = mode === "desktop";
+ const [executing, setExecuting] = useState<"register" | "daemon" | null>(null);
+ const [cliPrefix, setCliPrefix] = useState<string | null>(null);
+
+ useEffect(() => {
+ if (isDesktopApp && isTauri()) {
+ tauriInvoke<{ command: string; is_dev: boolean }>("get_cli_info")
+ .then((info) => setCliPrefix(info.command))
+ .catch(() => {});
+ }
+ }, [isDesktopApp]);
useEffect(() => {
if (!generatedToken && !generatingToken && !hasTriggered.current) {
@@ -49,6 +62,23 @@ export function ConnectMachineSteps({
toast.success("Copied to clipboard");
};
+ const executeRegister = async () => {
+ if (!isTauri()) return;
+ setExecuting("register");
+ try {
+ const result = await tauriInvoke<{ success: boolean; message: string }>("register_cli", { token: generatedToken });
+ if (result.success) {
+ toast.success("CLI registered successfully");
+ } else {
+ toast.error(result.message || "Registration failed");
+ }
+ } catch {
+ toast.error("Failed to execute registration");
+ } finally {
+ setExecuting(null);
+ }
+ };
+
const daemonCmd = daemonStartCmd();
const copyDaemon = () => {
@@ -56,6 +86,23 @@ export function ConnectMachineSteps({
toast.success("Copied to clipboard");
};
+ const executeDaemonStart = async () => {
+ if (!isTauri()) return;
+ setExecuting("daemon");
+ try {
+ const result = await tauriInvoke<{ success: boolean; message: string }>("daemon_start");
+ if (result.success) {
+ toast.success("Daemon started");
+ } else {
+ toast.error(result.message || "Failed to start daemon");
+ }
+ } catch {
+ toast.error("Failed to start daemon");
+ } finally {
+ setExecuting(null);
+ }
+ };
+
return (
<div className="space-y-6">
{/* Step 1 */}
@@ -66,7 +113,9 @@ export function ConnectMachineSteps({
{registered && <span className="text-xs text-emerald-500 font-normal">Done</span>}
</p>
<p className="text-xs text-muted-foreground pl-7">
- Run this in your terminal to link your machine.
+ {isDesktopApp
+ ? "Click to register your machine with Alook."
+ : "Run this in your terminal to link your machine."}
</p>
{generatingToken ? (
<div className="pl-7">
@@ -76,30 +125,48 @@ export function ConnectMachineSteps({
</div>
) : generatedToken ? (
<div className="pl-7 space-y-2">
- <Tooltip>
- <TooltipTrigger
- render={
- <div
- className="rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors break-all"
- onClick={copyRegister}
- />
- }
- >
- {cliCmd()} register --token{" "}
- <span className="text-foreground/70">
- {generatedToken}
- </span>
- </TooltipTrigger>
- <TooltipContent>Click to copy</TooltipContent>
- </Tooltip>
- {!registered && (
+ {isDesktopApp ? (
<Button
size="sm"
- onClick={copyRegister}
+ onClick={executeRegister}
+ disabled={executing === "register" || registered}
className="w-full"
+ title={cliPrefix ? `${cliPrefix} register --token <token>` : undefined}
>
- Copy Command
+ {executing === "register" ? (
+ <><Loader2 className="size-3 animate-spin mr-1" /> Registering...</>
+ ) : (
+ <><Play className="size-3 mr-1" /> Register CLI</>
+ )}
</Button>
+ ) : (
+ <>
+ <Tooltip>
+ <TooltipTrigger
+ render={
+ <div
+ className="rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors break-all"
+ onClick={copyRegister}
+ />
+ }
+ >
+ {cliCmd()} register --token{" "}
+ <span className="text-foreground/70">
+ {generatedToken}
+ </span>
+ </TooltipTrigger>
+ <TooltipContent>Click to copy</TooltipContent>
+ </Tooltip>
+ {!registered && (
+ <Button
+ size="sm"
+ onClick={copyRegister}
+ className="w-full"
+ >
+ Copy Command
+ </Button>
+ )}
+ </>
)}
</div>
) : null}
@@ -117,29 +184,49 @@ export function ConnectMachineSteps({
<p className="text-xs text-muted-foreground pl-7">
The daemon connects your local agents to Alook.
</p>
- <Tooltip>
- <TooltipTrigger
- render={
- <div
- className="ml-7 rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors"
- onClick={copyDaemon}
- />
- }
- >
- {daemonCmd}
- </TooltipTrigger>
- <TooltipContent>Click to copy</TooltipContent>
- </Tooltip>
- {registered && !daemonOnline && (
+ {isDesktopApp ? (
<div className="pl-7">
<Button
size="sm"
- onClick={copyDaemon}
+ onClick={executeDaemonStart}
+ disabled={executing === "daemon" || daemonOnline}
className="w-full"
+ title={cliPrefix ? `${cliPrefix} daemon start` : undefined}
>
- Copy Command
+ {executing === "daemon" ? (
+ <><Loader2 className="size-3 animate-spin mr-1" /> Starting...</>
+ ) : (
+ <><Play className="size-3 mr-1" /> Start Daemon</>
+ )}
</Button>
</div>
+ ) : (
+ <>
+ <Tooltip>
+ <TooltipTrigger
+ render={
+ <div
+ className="ml-7 rounded-md bg-muted p-2.5 font-mono text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors"
+ onClick={copyDaemon}
+ />
+ }
+ >
+ {daemonCmd}
+ </TooltipTrigger>
+ <TooltipContent>Click to copy</TooltipContent>
+ </Tooltip>
+ {registered && !daemonOnline && (
+ <div className="pl-7">
+ <Button
+ size="sm"
+ onClick={copyDaemon}
+ className="w-full"
+ >
+ Copy Command
+ </Button>
+ </div>
+ )}
+ </>
)}
</div>
</div>
diff --git a/src/web/src/components/public-layout.tsx b/src/web/src/components/public-layout.tsx
new file mode 100644
index 000000000..27bec15fe
--- /dev/null
+++ b/src/web/src/components/public-layout.tsx
@@ -0,0 +1,131 @@
+import Link from "next/link";
+import Image from "next/image";
+
+const footerLinks = [
+ { href: "/templates", label: "Templates" },
+ { href: "/blog", label: "Blog" },
+ { href: "https://github.com/alookai/alook", label: "GitHub", external: true },
+ { href: "https://discord.alook.ai", label: "Discord", external: true },
+ { href: "https://x.com/alook_ai", label: "X", external: true },
+ { href: "/privacy", label: "Privacy" },
+];
+
+export function PublicLayout({
+ maxWidth = "5xl",
+ breadcrumb,
+ leftSlot,
+ centerSlot,
+ rightSlot,
+ footer = "none",
+ mainClassName,
+ children,
+}: {
+ maxWidth?: "4xl" | "5xl";
+ breadcrumb?: string;
+ leftSlot?: React.ReactNode;
+ centerSlot?: React.ReactNode;
+ rightSlot?: React.ReactNode;
+ footer?: "simple" | "rich" | "none";
+ mainClassName?: string;
+ children: React.ReactNode;
+}) {
+ const maxWClass = maxWidth === "4xl" ? "max-w-4xl" : "max-w-5xl";
+
+ return (
+ <div className="min-h-dvh flex flex-col bg-background text-foreground">
+ <nav className="sticky top-0 z-50 bg-background/90 backdrop-blur-sm border-b border-border/40">
+ <div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-2.5">
+ {leftSlot ? (
+ <div className="flex items-center gap-1.5">{leftSlot}</div>
+ ) : (
+ <div className="flex items-center gap-1.5">
+ <Link href="/" className="flex items-center gap-1">
+ <Image src="/alook.svg" alt="Alook" width={22} height={22} />
+ <span
+ className="text-lg tracking-tight font-bold"
+ style={{ fontFamily: "var(--font-brand)" }}
+ >
+ Alook
+ </span>
+ </Link>
+ {breadcrumb && (
+ <>
+ <span className="text-muted-foreground/50 text-sm">/</span>
+ <Link
+ href={`/${breadcrumb.toLowerCase()}`}
+ className="text-sm font-medium text-foreground hover:text-muted-foreground transition-colors"
+ >
+ {breadcrumb}
+ </Link>
+ </>
+ )}
+ </div>
+ )}
+ {centerSlot && <div className="flex items-center gap-3">{centerSlot}</div>}
+ {rightSlot && <div className="flex items-center gap-3">{rightSlot}</div>}
+ </div>
+ </nav>
+
+ <main className={mainClassName ? `flex-1 ${mainClassName}` : "flex-1"}>{children}</main>
+
+ {footer === "simple" && (
+ <footer className="border-t border-border px-6 py-12">
+ <div className={`mx-auto flex ${maxWClass} items-center justify-center`}>
+ <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground/50">
+ &copy; {new Date().getFullYear()} Alook AI
+ </span>
+ </div>
+ </footer>
+ )}
+
+ {footer === "rich" && (
+ <footer className="border-t border-border px-6 py-12">
+ <div className={`mx-auto flex ${maxWClass} flex-col items-center justify-between gap-6 md:flex-row`}>
+ <div className="flex items-center gap-4">
+ <Link href="/" className="flex items-center gap-1">
+ <Image src="/alook.svg" alt="Alook" width={20} height={20} />
+ <span
+ className="text-lg tracking-tight font-bold"
+ style={{ fontFamily: "var(--font-brand)" }}
+ >
+ Alook
+ </span>
+ </Link>
+ <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground">
+ Your Personal Company
+ </span>
+ </div>
+
+ <nav className="flex flex-wrap items-center justify-center gap-x-5 gap-y-2" aria-label="Footer navigation">
+ {footerLinks.map((link) =>
+ link.external ? (
+ <a
+ key={link.label}
+ href={link.href}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-[11px] uppercase tracking-[0.15em] font-mono text-muted-foreground transition-opacity hover:opacity-70"
+ >
+ {link.label}
+ </a>
+ ) : (
+ <Link
+ key={link.label}
+ href={link.href}
+ className="text-[11px] uppercase tracking-[0.15em] font-mono text-muted-foreground transition-opacity hover:opacity-70"
+ >
+ {link.label}
+ </Link>
+ )
+ )}
+ </nav>
+
+ <span className="text-[10px] uppercase tracking-[0.2em] font-mono text-muted-foreground/50">
+ &copy; {new Date().getFullYear()} Alook AI
+ </span>
+ </div>
+ </footer>
+ )}
+ </div>
+ );
+}
diff --git a/src/web/src/components/runtime-version-gate.tsx b/src/web/src/components/runtime-version-gate.tsx
index 341a428ec..f1b9eb90e 100644
--- a/src/web/src/components/runtime-version-gate.tsx
+++ b/src/web/src/components/runtime-version-gate.tsx
@@ -3,7 +3,8 @@
import { useEffect, useRef, useState } from "react";
import { useAgentContext } from "@/contexts/agent-context";
import { getMinCliVersion, triggerRuntimeUpdate } from "@/lib/api";
-import { semverGte, resolveMode } from "@alook/shared";
+import { semverGte, isTauri, tauriInvoke } from "@alook/shared";
+import { getAppMode, updateCmd } from "@/lib/utils";
import {
Dialog,
DialogContent,
@@ -18,14 +19,6 @@ import { AlertTriangle, RefreshCw, Terminal } from "lucide-react";
import { toast } from "sonner";
import type { AgentRuntime } from "@alook/shared";
-const mode = resolveMode({
- nodeEnv: process.env.NODE_ENV,
- hostname: typeof window !== "undefined" ? window.location.hostname : undefined,
-});
-const MANUAL_UPDATE_CMD = mode === "app"
- ? "npx @alook/app stop && npx @alook/app@latest update && npx @alook/app start"
- : "npx @alook/cli@latest daemon stop && npx @alook/cli@latest daemon start";
-
export function RuntimeVersionGate() {
const { runtimes, workspaceId } = useAgentContext();
const [minVersion, setMinVersion] = useState<string | null>(null);
@@ -33,6 +26,9 @@ export function RuntimeVersionGate() {
const [showManualHint, setShowManualHint] = useState(false);
const hintTimer = useRef<ReturnType<typeof setTimeout> | null>(null);
+ const mode = getAppMode();
+ const MANUAL_UPDATE_CMD = updateCmd();
+
useEffect(() => {
getMinCliVersion().then((res) => setMinVersion(res.min_cli_version)).catch(() => {});
}, []);
@@ -63,6 +59,22 @@ export function RuntimeVersionGate() {
if (outdatedMachines.size === 0) return null;
const handleUpdate = async (rt: AgentRuntime) => {
+ if (mode === "desktop" && isTauri()) {
+ setUpdating((prev) => new Set(prev).add(rt.id));
+ try {
+ await tauriInvoke("cli_update");
+ toast.success("CLI updated");
+ } catch {
+ toast.error("Failed to update CLI");
+ } finally {
+ setUpdating((prev) => {
+ const next = new Set(prev);
+ next.delete(rt.id);
+ return next;
+ });
+ }
+ return;
+ }
if (mode === "app") {
setShowManualHint(true);
return;
diff --git a/src/web/src/components/tauri-theme-sync.tsx b/src/web/src/components/tauri-theme-sync.tsx
new file mode 100644
index 000000000..7121b56a0
--- /dev/null
+++ b/src/web/src/components/tauri-theme-sync.tsx
@@ -0,0 +1,20 @@
+"use client";
+
+import { useEffect } from "react";
+import { useTheme } from "next-themes";
+import { isTauri, isDesktop, tauriInvoke } from "@alook/shared";
+
+export function TauriThemeSync() {
+ const { resolvedTheme } = useTheme();
+
+ useEffect(() => {
+ if (!isTauri() || !isDesktop()) return;
+ if (!resolvedTheme) return;
+
+ tauriInvoke("set_window_theme", { dark: resolvedTheme === "dark" }).catch(
+ () => {},
+ );
+ }, [resolvedTheme]);
+
+ return null;
+}
diff --git a/src/web/src/components/workspace-shell.tsx b/src/web/src/components/workspace-shell.tsx
index 73a196985..b1b4992e1 100644
--- a/src/web/src/components/workspace-shell.tsx
+++ b/src/web/src/components/workspace-shell.tsx
@@ -13,7 +13,6 @@ import {
SheetContent,
} from "@/components/ui/sheet";
import { AgentChatSheetProvider } from "@/contexts/agent-chat-sheet-context";
-
const SidebarTriggerContext = createContext<(() => void) | null>(null);
export function useSidebarTrigger() {
diff --git a/src/web/src/hooks/use-agent-chat.ts b/src/web/src/hooks/use-agent-chat.ts
index 96914bfad..33de3f0f9 100644
--- a/src/web/src/hooks/use-agent-chat.ts
+++ b/src/web/src/hooks/use-agent-chat.ts
@@ -1363,6 +1363,7 @@ export function useAgentChat(
}
}, 3000);
},
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- persistArtifactsToCache is stable (useCallback with no deps)
[workspaceId],
);
useEffect(() => {
@@ -1538,6 +1539,7 @@ export function useAgentChat(
});
}
});
+ // eslint-disable-next-line react-hooks/exhaustive-deps -- activeChannelRef is a stable ref, read inside to avoid re-subscribing on channel change
}, [subscribeWs, conversation?.id, workspaceId, agentId, persistArtifactsToCache]);
useEffect(() => {
diff --git a/src/web/src/lib/utils-getmode.test.ts b/src/web/src/lib/utils-getmode.test.ts
new file mode 100644
index 000000000..d248f3ba5
--- /dev/null
+++ b/src/web/src/lib/utils-getmode.test.ts
@@ -0,0 +1,62 @@
+import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
+
+const mockIsTauri = vi.fn(() => false);
+const mockIsMobile = vi.fn(() => false);
+const mockResolveMode = vi.fn(() => "production" as const);
+
+vi.mock("@alook/shared", () => ({
+ resolveMode: (...args: any[]) => mockResolveMode(...args),
+ cliCommand: vi.fn(() => "npx @alook/cli"),
+ daemonCommand: vi.fn(() => "npx @alook/cli daemon start"),
+ isTauri: (...args: any[]) => mockIsTauri(...args),
+ isMobile: (...args: any[]) => mockIsMobile(...args),
+}));
+
+import { getAppMode } from "./utils";
+
+describe("getAppMode", () => {
+ let originalWindow: any;
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ mockResolveMode.mockReturnValue("production");
+ originalWindow = (globalThis as any).window;
+ });
+
+ afterEach(() => {
+ if (originalWindow === undefined) {
+ delete (globalThis as any).window;
+ } else {
+ (globalThis as any).window = originalWindow;
+ }
+ });
+
+ it("returns the resolved mode", () => {
+ mockResolveMode.mockReturnValue("production");
+ expect(getAppMode()).toBe("production");
+ });
+
+ it("returns desktop mode when Tauri globals are set", () => {
+ (globalThis as any).window = { __TAURI__: {}, location: { hostname: "tauri.localhost" } };
+ mockIsTauri.mockReturnValue(true);
+ mockIsMobile.mockReturnValue(false);
+ mockResolveMode.mockReturnValue("desktop");
+
+ expect(getAppMode()).toBe("desktop");
+ expect(mockResolveMode).toHaveBeenCalledWith(
+ expect.objectContaining({ tauri: true, tauriPlatform: "desktop" }),
+ );
+ });
+
+ it("returns mobile mode when Tauri + mobile globals are set", () => {
+ (globalThis as any).window = { __TAURI__: {}, location: { hostname: "tauri.localhost" } };
+ mockIsTauri.mockReturnValue(true);
+ mockIsMobile.mockReturnValue(true);
+ mockResolveMode.mockReturnValue("mobile");
+
+ expect(getAppMode()).toBe("mobile");
+ expect(mockResolveMode).toHaveBeenCalledWith(
+ expect.objectContaining({ tauri: true, tauriPlatform: "mobile" }),
+ );
+ });
+});
diff --git a/src/web/src/lib/utils.ts b/src/web/src/lib/utils.ts
index 7535e96b3..aefc241ee 100644
--- a/src/web/src/lib/utils.ts
+++ b/src/web/src/lib/utils.ts
@@ -1,18 +1,25 @@
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
-import { resolveMode, cliCommand, daemonCommand } from "@alook/shared"
+import { resolveMode, cliCommand, updateCommand, daemonCommand, isTauri, isMobile, type AlookMode } from "@alook/shared"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
function getMode() {
+ const tauri = typeof window !== "undefined" && isTauri();
return resolveMode({
nodeEnv: process.env.NODE_ENV,
hostname: typeof window !== "undefined" ? window.location.hostname : undefined,
+ tauri,
+ tauriPlatform: tauri ? (isMobile() ? "mobile" : "desktop") : undefined,
})
}
+export function getAppMode(): AlookMode {
+ return getMode()
+}
+
export function isLocalMode(): boolean {
return getMode() !== "production"
}
@@ -24,3 +31,7 @@ export function cliCmd(): string {
export function daemonStartCmd(): string {
return daemonCommand(getMode())
}
+
+export function updateCmd(): string {
+ return updateCommand(getMode())
+}