diff --git a/.gitignore b/.gitignore index ed3c9adaa..22738b4bb 100755 --- a/.gitignore +++ b/.gitignore @@ -366,6 +366,11 @@ playwright-report/ companions/* !companions/.gitkeep +# Exception: companions/desktop is a real, committed source tree (the +# OpenAgentic Tauri desktop companion app), not transient vendor-staged docs +# source like the other companions/ dirs this block targets. +!companions/desktop/ + # Local scratch / brainstorming artifacts .superpowers/ diff --git a/companions/desktop/.gitignore b/companions/desktop/.gitignore new file mode 100644 index 000000000..48841caff --- /dev/null +++ b/companions/desktop/.gitignore @@ -0,0 +1,10 @@ +node_modules/ +dist/ +src-tauri/target/ +src-tauri/binaries/ +src-tauri/cli-runtime/ +src-tauri/gen/ + +# The repo-root .gitignore ignores *.png globally (screenshot dumps); the +# generated Tauri app icons under src-tauri/icons/ must be committed. +!src-tauri/icons/** diff --git a/companions/desktop/.npmrc b/companions/desktop/.npmrc new file mode 100644 index 000000000..25d25d089 --- /dev/null +++ b/companions/desktop/.npmrc @@ -0,0 +1 @@ +shamefully-hoist=false diff --git a/companions/desktop/README.md b/companions/desktop/README.md new file mode 100644 index 000000000..bc2be4264 --- /dev/null +++ b/companions/desktop/README.md @@ -0,0 +1,155 @@ +# openagentic-desktop + +The OpenAgentic desktop companion — a [Tauri](https://tauri.app) shell around +the chat, code, and flows surfaces. Standalone pnpm app; not part of the root +workspace (has its own `pnpm-lock.yaml`). + +## Develop + +```bash +pnpm install +pnpm tauri dev +``` + +## Build + +```bash +# preflight: fails fast if the (gitignored) agenticode sidecar isn't staged — +# on a fresh clone run scripts/stage-agenticode.sh first. Not wired into +# tauri.conf's beforeBuildCommand on purpose (it would also gate `pnpm dev`). +./scripts/check-sidecar.sh + +pnpm tauri build --bundles app +``` + +Produces `src-tauri/target/release/bundle/macos/OpenAgentic.app`. + +## Test + +```bash +pnpm test +``` + +## Layout + +- `src/` — React frontend (Vite + Tailwind v4). +- `src/host/` — the Host seam (`getHost()`): one interface over everything + that differs between the Tauri webview and a plain browser tab (HTTP + transport, keychain, pickers, code child, workspace bridge). Tauri host + uses `@tauri-apps/plugin-http` fetch + the Rust `secret_*` keychain + commands; browser host uses `window.fetch` (dev proxy) + a localStorage + fallback (dev only). +- `src/stores/appStore.ts` — Zustand store driving the surface switch + (`chat | code | flows | settings`). +- `src/stores/authStore.ts` — auth state machine: `signIn` = login → + mint durable `oa_` API key → validate → persist key+profile via the host + keychain; `restore()` boots from the keychain; `signOut()` forgets it. +- `src/styles/tokens.css` — design tokens mirroring + `services/openagentic-ui/src/styles/theme.css`. +- `src-tauri/` — Rust shell (window, plugins, tray, vibrancy). + `src-tauri/src/keychain.rs` holds the `secret_get/set/delete` commands + (service name `io.openagentics.desktop`). + +## Streaming path (Task 5, Step 5 verdict) + +NDJSON response streaming inside the Tauri webview goes through +`@tauri-apps/plugin-http`'s `fetch` and was verified to arrive +**incrementally** (per-frame deltas of ~5–13 ms during token emission, with +a `ttft` marker mid-stream), not as one end-of-stream burst. The +`stream_fetch.rs` Rust fallback described in the task brief was therefore +**not needed** and is not implemented. + +To re-verify unattended (signs in, streams one message, logs per-frame +arrival timings to the `tauri dev` terminal via plugin-log): + +```bash +VITE_STREAM_PROBE=1 \ +VITE_PROBE_URL=http://localhost:8000 \ +VITE_PROBE_EMAIL= \ +VITE_PROBE_PASSWORD= \ +pnpm tauri dev +``` + +The same probe is available interactively under Settings → Diagnostics → +"Stream probe". + +Two platform-side gotchas found during verification: + +- **CORS**: the webview sends `Origin: http://localhost:1430` under + `tauri dev` (and `tauri://localhost` in production builds). The platform + api's default allowlist (`server.ts` `allowedOrigins`) does not include + these — set `ALLOWED_ORIGINS` on the api to include them. +- **Abort semantics**: plugin-http rejects an aborted request with a plain + `"Request cancelled"` error, not a DOMException named `AbortError` — + don't gate abort handling on `err.name === "AbortError"` alone. + +## agenticode sidecar — staging + spawn (Task 9) + +The code surface drives the **agenticode CLI** (openagentic edition) as a +Tauri **plugin-shell sidecar**. The CLI is a proprietary binary and is +**never committed** — both staging destinations are gitignored: +`src-tauri/binaries/` (the sidecar) and `src-tauri/cli-runtime/` (a portable +`rg`). + +### Staging the binary + +```bash +# needs an agenticode checkout (default ~/git/agenticode) + bun on PATH +AGENTICODE_DIR=~/git/agenticode ./scripts/stage-agenticode.sh +``` + +`stage-agenticode.sh` compiles the **openagentic edition** for the host triple +(`bun build --compile … --define process.env.AGENTICODE_EDITION="openagentic"`) +into `src-tauri/binaries/agenticode-cli-`, and stages a portable +ripgrep into `src-tauri/cli-runtime/rg`. It does **not** call agenticode's +`scripts/bundle.sh` — that script's positional arg is an OUTDIR (not a target) +and it builds all five OS/arch targets; we mirror the single-target +`bun build --compile` from the agenticode desktop README instead, adding the +edition `--define` and the externals bundle.sh skips. If the checkout is +missing the script exits 2 with instructions. + +The prebuilt CLI checked into `agenticode/desktop/…/binaries` is the **default** +(multi-provider) edition — do not use it; the openagentic edition is +provider-locked to a local instance and must be built fresh. + +### Spawn wiring + +`tauriHost.spawnCode({ cwd, instanceUrl, apiKey })` launches the sidecar via +`Command.sidecar('binaries/agenticode-cli', args, { cwd, env, encoding: 'raw' })`: + +- **args** (fixed): `--print --verbose --output-format stream-json + --input-format stream-json --include-partial-messages --replay-user-messages + --permission-prompt-tool stdio`. +- **env**: `AGENTICWORK_BASE_URL=/api/v1`, + `AGENTICWORK_API_KEY=`, and `PATH=:`. The + rg dir is resolved with `resolveResource('cli-runtime')`; the base PATH comes + from the Rust `code_spawn_base_path` command (`src-tauri/src/code_spawn.rs`), + which returns the app's PATH with Homebrew/local-bin promoted (a + GUI-launched macOS app inherits a stripped launchd PATH). Pure env assembly + + the fixed args live in `src/host/codeSpawn.ts` (unit-tested). +- The bun-compiled CLI can't exec its **own** embedded ripgrep (it lives in + bunfs with no on-disk path), so a real `rg` on PATH is mandatory for the + Grep/Glob tools. +- `CodeChild.onLine` reassembles raw stdout (`encoding: 'raw'` → `Uint8Array` + chunks that are **not** line-aligned) into whole NDJSON frames via a + carry-buffer splitter (`createLineSplitter`). stderr is drained into a + bounded ring buffer exposed as `stderrTail()`. + +Capabilities: `src-tauri/capabilities/default.json` grants `shell:allow-spawn` +scoped to the `binaries/agenticode-cli` sidecar with the exact arg vector, plus +`shell:allow-stdin-write` and `shell:allow-kill`. + +### Live-spawn findings (openagentic edition ↔ this api) + +Spawning the staged binary outside the app against the live api +(`http://localhost:8000`) confirmed the edition lock (a non-loopback +`AGENTICWORK_BASE_URL` is refused with the edition message), the base-URL +attach, and that the API key authenticates (models fetches return 200, no 401). +The CLI does **not** complete a headless turn against this api build, though: +its openagentic edition targets the compose UI shim (default +`http://localhost:8080/api/v1`) and its model-catalog fetch doesn't populate +from this api's `/api/v1/models` response shape (with base `…/api/v1` it even +requests `…/api/v1/v1/models` → 404), so no model resolves and the turn — and +thus the `system`/`init` frame — is skipped. Populating the catalog / selecting +a model is the code-surface UI's job (a later task); the spawn plumbing here is +edition-, auth-, and base-URL-correct up to that hand-off. diff --git a/companions/desktop/app-icon.svg b/companions/desktop/app-icon.svg new file mode 100644 index 000000000..c63d70494 --- /dev/null +++ b/companions/desktop/app-icon.svg @@ -0,0 +1,25 @@ + + + > + + + + + + + + diff --git a/companions/desktop/index.html b/companions/desktop/index.html new file mode 100644 index 000000000..dc5466bc8 --- /dev/null +++ b/companions/desktop/index.html @@ -0,0 +1,12 @@ + + + + + + OpenAgentic + + +
+ + + diff --git a/companions/desktop/package.json b/companions/desktop/package.json new file mode 100644 index 000000000..3514ea575 --- /dev/null +++ b/companions/desktop/package.json @@ -0,0 +1,42 @@ +{ + "name": "openagentic-desktop", + "private": true, + "version": "0.1.0", + "type": "module", + "packageManager": "pnpm@10.15.0", + "description": "OpenAgentic desktop companion — Tauri shell for chat, code, and flows.", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "test": "vitest run", + "tauri": "tauri" + }, + "dependencies": { + "@tauri-apps/api": "^2.2.0", + "@tauri-apps/plugin-dialog": "^2.2.0", + "@tauri-apps/plugin-http": "^2.2.0", + "@tauri-apps/plugin-log": "^2.2.0", + "@tauri-apps/plugin-os": "^2.2.0", + "@tauri-apps/plugin-shell": "^2.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-markdown": "^10.1.0", + "rehype-highlight": "^7.0.2", + "remark-gfm": "^4.0.1", + "zustand": "^5.0.3" + }, + "devDependencies": { + "@tailwindcss/vite": "^4.0.0", + "@tauri-apps/cli": "^2.2.7", + "@testing-library/react": "^16.1.0", + "@types/node": "^22.10.7", + "@types/react": "^18.3.18", + "@types/react-dom": "^18.3.5", + "@vitejs/plugin-react": "^4.3.4", + "happy-dom": "^16.5.3", + "tailwindcss": "^4.0.0", + "typescript": "^5.7.3", + "vite": "^6.0.7", + "vitest": "^3.0.4" + } +} diff --git a/companions/desktop/pnpm-lock.yaml b/companions/desktop/pnpm-lock.yaml new file mode 100644 index 000000000..effdb7d63 --- /dev/null +++ b/companions/desktop/pnpm-lock.yaml @@ -0,0 +1,3060 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@tauri-apps/api': + specifier: ^2.2.0 + version: 2.11.1 + '@tauri-apps/plugin-dialog': + specifier: ^2.2.0 + version: 2.7.1 + '@tauri-apps/plugin-http': + specifier: ^2.2.0 + version: 2.5.9 + '@tauri-apps/plugin-log': + specifier: ^2.2.0 + version: 2.8.0 + '@tauri-apps/plugin-os': + specifier: ^2.2.0 + version: 2.3.2 + '@tauri-apps/plugin-shell': + specifier: ^2.2.0 + version: 2.3.5 + react: + specifier: ^18.3.1 + version: 18.3.1 + react-dom: + specifier: ^18.3.1 + version: 18.3.1(react@18.3.1) + react-markdown: + specifier: ^10.1.0 + version: 10.1.0(@types/react@18.3.31)(react@18.3.1) + rehype-highlight: + specifier: ^7.0.2 + version: 7.0.2 + remark-gfm: + specifier: ^4.0.1 + version: 4.0.1 + zustand: + specifier: ^5.0.3 + version: 5.0.14(@types/react@18.3.31)(react@18.3.1) + devDependencies: + '@tailwindcss/vite': + specifier: ^4.0.0 + version: 4.3.2(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0)) + '@tauri-apps/cli': + specifier: ^2.2.7 + version: 2.11.4 + '@testing-library/react': + specifier: ^16.1.0 + version: 16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@18.3.7(@types/react@18.3.31))(@types/react@18.3.31)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@types/node': + specifier: ^22.10.7 + version: 22.20.1 + '@types/react': + specifier: ^18.3.18 + version: 18.3.31 + '@types/react-dom': + specifier: ^18.3.5 + version: 18.3.7(@types/react@18.3.31) + '@vitejs/plugin-react': + specifier: ^4.3.4 + version: 4.7.0(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0)) + happy-dom: + specifier: ^16.5.3 + version: 16.8.1 + tailwindcss: + specifier: ^4.0.0 + version: 4.3.2 + typescript: + specifier: ^5.7.3 + version: 5.9.3 + vite: + specifier: ^6.0.7 + version: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + vitest: + specifier: ^3.0.4 + version: 3.2.7(@types/debug@4.1.13)(@types/node@22.20.1)(happy-dom@16.8.1)(jiti@2.7.0)(lightningcss@1.32.0) + +packages: + + '@babel/code-frame@7.29.7': + resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.29.7': + resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.29.7': + resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.29.7': + resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.29.7': + resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==} + engines: {node: '>=6.9.0'} + + '@babel/helper-globals@7.29.7': + resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.29.7': + resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.29.7': + resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-plugin-utils@7.29.7': + resolution: {integrity: sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-string-parser@7.29.7': + resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.29.7': + resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.29.7': + resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.29.7': + resolution: {integrity: sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/plugin-transform-react-jsx-self@7.29.7': + resolution: {integrity: sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/plugin-transform-react-jsx-source@7.29.7': + resolution: {integrity: sha512-06IyK09H3wi4cGbhDBwp5gUGo0IKtnYa8tyTiephirPCK6fbobVGiXMMI5zLQ4aKEYP3wZ3ArU44o+8KMrSG/Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + + '@babel/runtime@7.29.7': + resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.29.7': + resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.29.7': + resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.29.7': + resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==} + engines: {node: '>=6.9.0'} + + '@esbuild/aix-ppc64@0.25.12': + resolution: {integrity: sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.25.12': + resolution: {integrity: sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.25.12': + resolution: {integrity: sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.25.12': + resolution: {integrity: sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.25.12': + resolution: {integrity: sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.12': + resolution: {integrity: sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.25.12': + resolution: {integrity: sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.12': + resolution: {integrity: sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.25.12': + resolution: {integrity: sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.25.12': + resolution: {integrity: sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.25.12': + resolution: {integrity: sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.25.12': + resolution: {integrity: sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.25.12': + resolution: {integrity: sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.25.12': + resolution: {integrity: sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.25.12': + resolution: {integrity: sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.25.12': + resolution: {integrity: sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.25.12': + resolution: {integrity: sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.25.12': + resolution: {integrity: sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.12': + resolution: {integrity: sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.25.12': + resolution: {integrity: sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.12': + resolution: {integrity: sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/openharmony-arm64@0.25.12': + resolution: {integrity: sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openharmony] + + '@esbuild/sunos-x64@0.25.12': + resolution: {integrity: sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.25.12': + resolution: {integrity: sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.25.12': + resolution: {integrity: sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.25.12': + resolution: {integrity: sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@rolldown/pluginutils@1.0.0-beta.27': + resolution: {integrity: sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==} + + '@rollup/rollup-android-arm-eabi@4.62.2': + resolution: {integrity: sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.62.2': + resolution: {integrity: sha512-BaH7BllCACHoH1LguOU56UItGfUWjujlO65kS9LAodViaN4bwIKd7oeW/ZHJ/4ljr/7MIiENnNy3HJ0zXv8Zkw==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.62.2': + resolution: {integrity: sha512-v39RCCvj4He82I9sFmk+M1VZ0PLM9sfsLVikjfx2hYBNALhrrOR2D3JjQA6AhlaSOgcR+RzrKY7e1+bT6SUO/A==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.62.2': + resolution: {integrity: sha512-yl0y2vq3S3lHeuXhEdss6TWfKW8vkujImO12tn4ZkG/4oghr09LvdYm2RElVjokTQiUvDUGXLGsYeLqUMCKpGA==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.62.2': + resolution: {integrity: sha512-tT4pvt4qXD+vEoezupCWi+a1F0vvDiksiHc+PxRlYTOH1I6/X4id9jPxTP+Fg+545euaFT1jJVs4CEdHZAU1vw==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.62.2': + resolution: {integrity: sha512-6nU5F2wCW+qvCBhTn1pdIU3bzsIoF7EUwsCDRxilWGprQR6yd508YnH9+OKFCwpfS8pjZqDUmnCAr7exax0XCg==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.62.2': + resolution: {integrity: sha512-n1GJHPOvpIfhi3TmrCeh6S6URt9BFCt0KQE3qvexyGCTAKpR4Lg+eWvNZEqu7epxwus/8ElT3hacYEucm49SZg==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.62.2': + resolution: {integrity: sha512-JqgflS8wEB+UXV/vS1RpRbifGBeN4D5lz8D8oOFbFZw4vedvdOgCFAjfBmIMdW3yL10XpQQ0Ambepw6MXrhOnA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.62.2': + resolution: {integrity: sha512-wnFJkogWvN4jm/hQRF2UBaeUmk20j5+DmHvoyWii2b8HJDyvz1MF2OU/6ynXt2KR63rbZLWkFpoytpdc/yBuSA==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.62.2': + resolution: {integrity: sha512-HVu2bp0zhvJ8xHEV9+UUs7S90VadmBSY3LcIMvozbPo4AuMGDWlz3ymHLHZPX4hR67TKTt8Qp5PJ5RBg/i+RMQ==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-loong64-gnu@4.62.2': + resolution: {integrity: sha512-mQqqAV8QaoSgr9I2fKDLY2BAVvmKjWoGiu/cSYQonsLvtqwEn1E4QYfnCOcp5zoEqNhsDYin1s6jx/VJmrxlZg==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-loong64-musl@4.62.2': + resolution: {integrity: sha512-IxKLoxCQ2IWi6bT2akyDUBGsOImDKB+sPp4EsTmwFQ/fMwpCKm8uLSSgP/Kx/QYUgKis6SEZ5/Nlhup0DIA0PQ==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-ppc64-gnu@4.62.2': + resolution: {integrity: sha512-Mk5ha2RQSgyFfmYYLkBpPnUk8D8FriBxesO1u9O75X0mHgXL1UQcH5Itl2lurWL2tj0RxV9b9tJgipac0hRY9A==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-ppc64-musl@4.62.2': + resolution: {integrity: sha512-CjvEnqJL/0/TQ3TXX3OPIJ/kmBellrWd4heXUmHeJlTnmwjKpSJzoehLaL6Xk0ZnMHBu9dZuFADNOrtjF4v+2w==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.62.2': + resolution: {integrity: sha512-1SiZbzwdkaDURsew/tSOrooKiYy7EQGT6m8ufavAi9NEyQb/6VuIxFXAL1fqa4iZe3g4NbNk4P7J32z2tw5Mgg==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-riscv64-musl@4.62.2': + resolution: {integrity: sha512-nQts12zJ3NQRoE6uYljOH89v7szzLDvG2JD/vsX+vGXU8w/At1GowTZ5/7qeFQ8m7L55rpR8Okugnuo5bgjy2Q==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.62.2': + resolution: {integrity: sha512-E9/ll019jhPIJgpzfZoIkBGhcz+kKNgVWYRY0zr9srBdPPFVpvOKW8VaJKUbeK+eZXyQF9ltME+Kk6affeaPgg==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.62.2': + resolution: {integrity: sha512-5BqxR/pshjey51iliyzTD5Xi3EN0aLmQ2lZ3lvefVV9c82BvrLo2/6OT55iifpWBufs6kdwWbuOKS841DrmK9A==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.62.2': + resolution: {integrity: sha512-uNN83XxQrRAh/w0/pmAfibcwyb6YWt4gP+dpnQKPVJshAloQ785ii8CT8ZCIxkGg9opVsvAlGhFitSm6D1Jjpg==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-openbsd-x64@4.62.2': + resolution: {integrity: sha512-srjEIxSH3LRnJN6THczDHWQplqEMFiAJrTab0msUryh9kwNpkICf3Ea6q6MN/2cZwRFUNx5w+h6Hpi4QuHS6Zg==} + cpu: [x64] + os: [openbsd] + + '@rollup/rollup-openharmony-arm64@4.62.2': + resolution: {integrity: sha512-8hOJnxgbyObnCm5AlRA3A931xX19xq80RjVTKgJOvEKWqJruP/Uf12IbAOaDjjEXYRewwHLfmF0YRIdK3OwKWA==} + cpu: [arm64] + os: [openharmony] + + '@rollup/rollup-win32-arm64-msvc@4.62.2': + resolution: {integrity: sha512-mmF4AY1i0hG/bLWUctUq59gtmgaSIRa3cu/A3JFRp/sCNEme2bgDEiDS22P9FbnJB8NJNF4jPJiSP5RHQpUTDg==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.62.2': + resolution: {integrity: sha512-DZgkknc6jhHrk46V25vbAM0zZkyP0nSDkJB8/dRkLTxv470dOmWDqGoEJl/9A0dFfS7yE3REOwNDxpHwSLSt0Q==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-gnu@4.62.2': + resolution: {integrity: sha512-T6xr6ucWSFto+VGajA8YH26LdpHRuP4YLHEKAtCWvJDOlnmWcDZVCI2Jmjr+IFHDlt2zRaTAKE4tfjTaWLgJBg==} + cpu: [x64] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.62.2': + resolution: {integrity: sha512-BfzEnDJOt9T8M989/lA37EcJgat01wLRnoi5dQf3QzOH7jzpqTAzdDbVfRljVr5r+jzKqpbHeyOfAaXxAd0PAA==} + cpu: [x64] + os: [win32] + + '@tailwindcss/node@4.3.2': + resolution: {integrity: sha512-yWP/sqEcBLaD8JuA6zNwxoYKr75qxTioYwlRwekj5Jr/I5GXnoJfjetH/psLUIv74cYTH2lBUEzBkinthoYcBg==} + + '@tailwindcss/oxide-android-arm64@4.3.2': + resolution: {integrity: sha512-WHxqIuHpvZ5VtdX6GTl1Ik/Vp2YuN42Et+0CdeaVd/frQ9jAvGmvR8vLT+jk3e8/Q3x8kECB9+R17pgpp2BulA==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.3.2': + resolution: {integrity: sha512-GZypeUY/IDJW3877KeM+O67vbXr3MBnbtEL4aYhNErv/JWZhye2vGSWWG9tB6iiqR2MqRNkY8IOUy4NdSZV26w==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.3.2': + resolution: {integrity: sha512-UIIzmefR6KO1sDU7MzRqAxC8iBpft/VhkGjTjnhoS6k7Z3rQ9wEgA1ODSiyH/tcSYssulNm4Ci3hOeK1jH7ccQ==} + engines: {node: '>= 20'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.3.2': + resolution: {integrity: sha512-GN+uAmcI6DNspnCDwtOAZrTz6oukJnp337qZvxqCGLd3BHBzJpO0ZbTLRvJNdztOeAmTzewewGIMPb0tk2R4WA==} + engines: {node: '>= 20'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.2': + resolution: {integrity: sha512-4ABn7qSbdHRwTiDiuWNegCyb5+2FJ4vKIKc3DmKrvAFw7MU1Lm11dIkTPwUaFdTzc7IsOpDbqBrlh0x6y36U/w==} + engines: {node: '>= 20'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.2': + resolution: {integrity: sha512-wDgEIGwoM8w8pufh9LVt1PahDgNdKXrLC2qfAnV3vAmococ9RWbxeAw4pxPttd/TsJfwjyLf90Dg1y9y8I6Emw==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-musl@4.3.2': + resolution: {integrity: sha512-J5Nuk0uZQIiMTJj3LEx4sAA9tMFUoXQZFv1J6An+QGYe53HKRJuFDi0rpq/tuouCZeAbOBY3kQ6g8qeD4TUjtA==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-gnu@4.3.2': + resolution: {integrity: sha512-kqCZpSKOBEJO4mz7OqWoofBZeXTAwaVGPj0ErAj7CojmhKpWVWVOnrt9dE8odoIraZq4oj3ausM37kXi+Tow8w==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-linux-x64-musl@4.3.2': + resolution: {integrity: sha512-cixpqbh2toJDmkuCRI68nXA8ZxNmdK9Y+9v5h3MC3ZQKy/0BO8AWzlkWyRM7JAFSGBlfig4YVTPsK6MVgqz1uw==} + engines: {node: '>= 20'} + cpu: [x64] + os: [linux] + + '@tailwindcss/oxide-wasm32-wasi@4.3.2': + resolution: {integrity: sha512-4ec2Z/LOmRsAgU23CS4xeJfcJlmRg94A/XrbGRCF1gyU/zdDfRLYDVsS+ynSZCmGNxQ1jQriQOKMQeQxBA3Isw==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + bundledDependencies: + - '@napi-rs/wasm-runtime' + - '@emnapi/core' + - '@emnapi/runtime' + - '@tybys/wasm-util' + - '@emnapi/wasi-threads' + - tslib + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.2': + resolution: {integrity: sha512-Zyr/M0+XcYZu3bZrUytc7TXvrk0ftWfl8gN2MwekNDzhqhKRUucMPSeOzM0o0wH5AWOU49BsKRrfKxI2atCPMQ==} + engines: {node: '>= 20'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.3.2': + resolution: {integrity: sha512-QI9BO7KlNZsp2GuO0jwAAj5jCDABOKXRkCk2XuKTSaNEFSdfzqswYVTtCHBNKHLsqyjFyFkqlDiwkNbTYSssMQ==} + engines: {node: '>= 20'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.3.2': + resolution: {integrity: sha512-z8ZgnzX8gdNoWLBLqBPoh/sjnxkwvf9ZuWjnO0l0yIzbLa5/9S+eC5QxGZKRobVHIC3/1BoMWjHblqWjcgFgag==} + engines: {node: '>= 20'} + + '@tailwindcss/vite@4.3.2': + resolution: {integrity: sha512-eHpMeX4JXfVNJDEcsouTeCBubJBTcTLigeaw/NTUW6PB5ATKKXdyonnXgTBX2VuRbjz1hjfz6C5XAhr52ImQXA==} + peerDependencies: + vite: ^5.2.0 || ^6 || ^7 || ^8 + + '@tauri-apps/api@2.11.1': + resolution: {integrity: sha512-M2FPuYND2m+wh5hfW9ZpSdxMPdEJovPBWwoHJmwUpysTYNHaOkVFN419m/K0LIgjb/7KU2vBgsUepJWugQCvAA==} + + '@tauri-apps/cli-darwin-arm64@2.11.4': + resolution: {integrity: sha512-1ryOF3ZhpZ/nemHV5zVwBQBz9jDGKmKPvWPADOhc83ig0P4bMc2iER4NbC6r9sjeIZ6RVQ4g3RZIYvezhcl4TQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@tauri-apps/cli-darwin-x64@2.11.4': + resolution: {integrity: sha512-uFsGQAAfuyz1k/yGLmkWfkBlgKAqZfxqlHmLWx81QU27RJWfmbNHCIq8T8w1e+VClleIuZUjpHWfoE4E3DLo3A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@tauri-apps/cli-linux-arm-gnueabihf@2.11.4': + resolution: {integrity: sha512-IaHZn5CdBL21oUmjiVOS1ctw6Ip1O0pjp70FwOWmYz1myWe0SY96ZIj2FYf7pT0m8bI2h/hrs5ZbEXXh44/MkQ==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + + '@tauri-apps/cli-linux-arm64-gnu@2.11.4': + resolution: {integrity: sha512-N41/ukTRVe6XSuUTESuFdGeOW2i7k62tK+6gHK5Kd5/q5RPvvi19GaWAVPPb9u95HSGmTChSolBfzynUsssFaA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tauri-apps/cli-linux-arm64-musl@2.11.4': + resolution: {integrity: sha512-v277UnT/fB64xAfSroL5N3Km3tLmvATWqJJw/wRI+g6o+HkeD0slyE7gOhNs1MbjE41R7bQOTxMVoL3aomUJmw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@tauri-apps/cli-linux-riscv64-gnu@2.11.4': + resolution: {integrity: sha512-qqgNkQ2u1yZHxjhxsZaxUtRDW8dIqIYm33rx/mzwQv0SfY9x1B+iraj8vWeFiXjjSVVhEMepXSOts1TqPzvXNQ==} + engines: {node: '>= 10'} + cpu: [riscv64] + os: [linux] + + '@tauri-apps/cli-linux-x64-gnu@2.11.4': + resolution: {integrity: sha512-2VRNWl84FOH0m2giiDkO2h0QXlcMJeX+zJDpI5kDIQAx6s+geF3v48F4DXfJez4GS/FdoDGnPnw1C2iYGbQ7bQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tauri-apps/cli-linux-x64-musl@2.11.4': + resolution: {integrity: sha512-o9GyhYor/nc7xarmwDE3ka2szuW3uuZzXjHWh64Q8YX5AtSgxdQkFWzrY4O8KiGtVNvFBI14H3Q49Qj5TOIP/A==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@tauri-apps/cli-win32-arm64-msvc@2.11.4': + resolution: {integrity: sha512-ld5Ehb598m0VkYyylRPNeCFsBe/km0jxis6KgMpl3IGY6I/i1RwQXO05I1AsXUXO2WC6AvB/Lw4qTf/asiuEiQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@tauri-apps/cli-win32-ia32-msvc@2.11.4': + resolution: {integrity: sha512-12Hxi0XX/H5VFxO/bGgHkFWhml9VMgEOu9CidjeCeTNQ1l6fpUlbiGgSP7CLI3PFtW9/FfbeHieZ+kyWK5H7CA==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + + '@tauri-apps/cli-win32-x64-msvc@2.11.4': + resolution: {integrity: sha512-+vDiqBIU5dMISg/wNvX3sF+ZHfgJGJ5T0AcO+EHNXV9GGAG+P5fzodlDXD3QdKCRgZxMoCm5PPvj3BqLNjBthw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@tauri-apps/cli@2.11.4': + resolution: {integrity: sha512-R8xGtMpwyetawSqm9kYOuMmEqkhUbvcUy8n0aNXIxollKBLESUu5f4Fx+64hgASYm1H+jSWq6jCW6zqTnH6hqQ==} + engines: {node: '>= 10'} + hasBin: true + + '@tauri-apps/plugin-dialog@2.7.1': + resolution: {integrity: sha512-OK1UBXYt+ojcmxMktzzuyonYIFta8CmAASpX+CA+DTGK24KlHjhYI6x2iOJ/TjZF4N7/ACK1oFmEOjIY9IhzOQ==} + + '@tauri-apps/plugin-http@2.5.9': + resolution: {integrity: sha512-lCiY0+vs4HvIUSvZrBs8TC3TiCB0MOPRmiUjTq4prW7SlcJE2jdLeT6KBsJrT9Tlplufl7W1pY6SFAO3gCWxDA==} + + '@tauri-apps/plugin-log@2.8.0': + resolution: {integrity: sha512-a+7rOq3MJwpTOLLKbL8d0qGZ85hgHw5pNOWusA9o3cf7cEgtYHiGY/+O8fj8MvywQIGqFv0da2bYQDlrqLE7rw==} + + '@tauri-apps/plugin-os@2.3.2': + resolution: {integrity: sha512-n+nXWeuSeF9wcEsSPmRnBEGrRgOy6jjkSU+UVCOV8YUGKb2erhDOxis7IqRXiRVHhY8XMKks00BJ0OAdkpf6+A==} + + '@tauri-apps/plugin-shell@2.3.5': + resolution: {integrity: sha512-jewtULhiQ7lI7+owCKAjc8tYLJr92U16bPOeAa472LHJdgaibLP83NcfAF2e+wkEcA53FxKQAZ7byDzs2eeizg==} + + '@testing-library/dom@10.4.1': + resolution: {integrity: sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==} + engines: {node: '>=18'} + + '@testing-library/react@16.3.2': + resolution: {integrity: sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==} + engines: {node: '>=18'} + peerDependencies: + '@testing-library/dom': ^10.0.0 + '@types/react': ^18.0.0 || ^19.0.0 + '@types/react-dom': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + + '@types/aria-query@5.0.4': + resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} + + '@types/babel__core@7.20.5': + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + + '@types/babel__generator@7.27.0': + resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==} + + '@types/babel__template@7.4.4': + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + + '@types/babel__traverse@7.28.0': + resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==} + + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/debug@4.1.13': + resolution: {integrity: sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + + '@types/estree-jsx@1.0.5': + resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/hast@3.0.5': + resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==} + + '@types/mdast@4.0.4': + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} + + '@types/ms@2.1.0': + resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} + + '@types/node@22.20.1': + resolution: {integrity: sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==} + + '@types/prop-types@15.7.15': + resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==} + + '@types/react-dom@18.3.7': + resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==} + peerDependencies: + '@types/react': ^18.0.0 + + '@types/react@18.3.31': + resolution: {integrity: sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==} + + '@types/unist@2.0.11': + resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} + + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + + '@ungap/structured-clone@1.3.3': + resolution: {integrity: sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==} + + '@vitejs/plugin-react@4.7.0': + resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 + + '@vitest/expect@3.2.7': + resolution: {integrity: sha512-E8eBXaKibuvH2pSZErOjdVb5vF4PbKYcrnluBTYxEk1l/VhhwZg1kZQsdtjq+CsF5CFydf2Rdkz7jDHKSisi3w==} + + '@vitest/mocker@3.2.7': + resolution: {integrity: sha512-Trr0hYO9CM3Wj6ksWHRhK9IZpIY6wTMO5u/MqXurMxT57sWBaOPEtP3Oq60ihZuh5JsiagKfz95OcxdEP6dBrA==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@3.2.7': + resolution: {integrity: sha512-KUHlwqVu0sRlhCdyPdQ/wBoTfRahjUky1MubOmYw9fWfIZy1gNoHpuaaQBPAaMaVYdQYHJLurzj8ECCj5OwTqA==} + + '@vitest/runner@3.2.7': + resolution: {integrity: sha512-sB9y4ovltoQP+WaUPwmSxO9WIg9Ig694Di5PalVPsYHklAdE027mehpWF2SQSVq+k6sFgaivbTjTJwZLSHbedA==} + + '@vitest/snapshot@3.2.7': + resolution: {integrity: sha512-7C+MwShwtBSI5Buwoyg3s/iY1eHL9PKAf+O1wVh/TdnjXUtkoL/9YQtre90i4MtNXM6edP1wJ2zOBpfCyhIS7g==} + + '@vitest/spy@3.2.7': + resolution: {integrity: sha512-Q2eQGI6d2L/hBtZ0qNuKcAGid68XK6cv1xsoaIma6PaJhHPoqcEJhYpXZ/5myCMqkNgtP6UKuBhbc0nHKnrkuQ==} + + '@vitest/utils@3.2.7': + resolution: {integrity: sha512-x6BDOd7dyo3PFLY3I9/HJ25X/6OurhGXk2/B9gOZNPF7XDVjeBK4k01lQE5uvDpbuheErh91qYuE1E2OEjK3Rw==} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + + aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + bail@2.0.2: + resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} + + baseline-browser-mapping@2.10.43: + resolution: {integrity: sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ==} + engines: {node: '>=6.0.0'} + hasBin: true + + browserslist@4.28.6: + resolution: {integrity: sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + caniuse-lite@1.0.30001805: + resolution: {integrity: sha512-52noaS3DubycKSXaU30TwPGIp+POyQSUVa5jBEq3vkRkY0kjyb3LQgvhU6WGyCcyXqVLWO0Cw0Q6BSdD0kUfVA==} + + ccount@2.0.1: + resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} + + chai@5.3.3: + resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} + engines: {node: '>=18'} + + character-entities-html4@2.1.0: + resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==} + + character-entities-legacy@3.0.0: + resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} + + character-entities@2.0.2: + resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} + + character-reference-invalid@2.0.1: + resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} + + check-error@2.1.3: + resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==} + engines: {node: '>= 16'} + + comma-separated-tokens@2.0.3: + resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + csstype@3.2.3: + resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decode-named-character-reference@1.3.0: + resolution: {integrity: sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==} + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + + dom-accessibility-api@0.5.16: + resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} + + electron-to-chromium@1.5.389: + resolution: {integrity: sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg==} + + enhanced-resolve@5.21.6: + resolution: {integrity: sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==} + engines: {node: '>=10.13.0'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + esbuild@0.25.12: + resolution: {integrity: sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + + estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + expect-type@1.4.0: + resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} + engines: {node: '>=12.0.0'} + + extend@3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + happy-dom@16.8.1: + resolution: {integrity: sha512-n0QrmT9lD81rbpKsyhnlz3DgnMZlaOkJPpgi746doA+HvaMC79bdWkwjrNnGJRvDrWTI8iOcJiVTJ5CdT/AZRw==} + engines: {node: '>=18.0.0'} + + hast-util-is-element@3.0.0: + resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==} + + hast-util-to-jsx-runtime@2.3.6: + resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==} + + hast-util-to-text@4.0.2: + resolution: {integrity: sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==} + + hast-util-whitespace@3.0.0: + resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} + + highlight.js@11.11.1: + resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==} + engines: {node: '>=12.0.0'} + + html-url-attributes@3.0.1: + resolution: {integrity: sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==} + + inline-style-parser@0.2.7: + resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==} + + is-alphabetical@2.0.1: + resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==} + + is-alphanumerical@2.0.1: + resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} + + is-decimal@2.0.1: + resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==} + + is-hexadecimal@2.0.1: + resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==} + + is-plain-obj@4.1.0: + resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} + engines: {node: '>=12'} + + jiti@2.7.0: + resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} + hasBin: true + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + js-tokens@9.0.1: + resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} + + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + lightningcss-android-arm64@1.32.0: + resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [android] + + lightningcss-darwin-arm64@1.32.0: + resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.32.0: + resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.32.0: + resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.32.0: + resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.32.0: + resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-arm64-musl@1.32.0: + resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + + lightningcss-linux-x64-gnu@1.32.0: + resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-linux-x64-musl@1.32.0: + resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + + lightningcss-win32-arm64-msvc@1.32.0: + resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.32.0: + resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.32.0: + resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} + engines: {node: '>= 12.0.0'} + + longest-streak@3.1.0: + resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loupe@3.2.1: + resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} + + lowlight@3.3.0: + resolution: {integrity: sha512-0JNhgFoPvP6U6lE/UdVsSq99tn6DhjjpAj5MxG49ewd2mOBVtwWYIT8ClyABhq198aXXODMU6Ox8DrGy/CpTZQ==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + lz-string@1.5.0: + resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} + hasBin: true + + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} + + markdown-table@3.0.4: + resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==} + + mdast-util-find-and-replace@3.0.2: + resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==} + + mdast-util-from-markdown@2.0.3: + resolution: {integrity: sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==} + + mdast-util-gfm-autolink-literal@2.0.1: + resolution: {integrity: sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==} + + mdast-util-gfm-footnote@2.1.0: + resolution: {integrity: sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==} + + mdast-util-gfm-strikethrough@2.0.0: + resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} + + mdast-util-gfm-table@2.0.0: + resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==} + + mdast-util-gfm-task-list-item@2.0.0: + resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==} + + mdast-util-gfm@3.1.0: + resolution: {integrity: sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==} + + mdast-util-mdx-expression@2.0.1: + resolution: {integrity: sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==} + + mdast-util-mdx-jsx@3.2.0: + resolution: {integrity: sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==} + + mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + + mdast-util-phrasing@4.1.0: + resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} + + mdast-util-to-hast@13.2.1: + resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==} + + mdast-util-to-markdown@2.1.2: + resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==} + + mdast-util-to-string@4.0.0: + resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + + micromark-core-commonmark@2.0.3: + resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==} + + micromark-extension-gfm-autolink-literal@2.1.0: + resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==} + + micromark-extension-gfm-footnote@2.1.0: + resolution: {integrity: sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==} + + micromark-extension-gfm-strikethrough@2.1.0: + resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==} + + micromark-extension-gfm-table@2.1.1: + resolution: {integrity: sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==} + + micromark-extension-gfm-tagfilter@2.0.0: + resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} + + micromark-extension-gfm-task-list-item@2.1.0: + resolution: {integrity: sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==} + + micromark-extension-gfm@3.0.0: + resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} + + micromark-factory-destination@2.0.1: + resolution: {integrity: sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==} + + micromark-factory-label@2.0.1: + resolution: {integrity: sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==} + + micromark-factory-space@2.0.1: + resolution: {integrity: sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==} + + micromark-factory-title@2.0.1: + resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==} + + micromark-factory-whitespace@2.0.1: + resolution: {integrity: sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==} + + micromark-util-character@2.1.1: + resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==} + + micromark-util-chunked@2.0.1: + resolution: {integrity: sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==} + + micromark-util-classify-character@2.0.1: + resolution: {integrity: sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==} + + micromark-util-combine-extensions@2.0.1: + resolution: {integrity: sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==} + + micromark-util-decode-numeric-character-reference@2.0.2: + resolution: {integrity: sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==} + + micromark-util-decode-string@2.0.1: + resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==} + + micromark-util-encode@2.0.1: + resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} + + micromark-util-html-tag-name@2.0.1: + resolution: {integrity: sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==} + + micromark-util-normalize-identifier@2.0.1: + resolution: {integrity: sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==} + + micromark-util-resolve-all@2.0.1: + resolution: {integrity: sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==} + + micromark-util-sanitize-uri@2.0.1: + resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==} + + micromark-util-subtokenize@2.1.0: + resolution: {integrity: sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==} + + micromark-util-symbol@2.0.1: + resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} + + micromark-util-types@2.0.2: + resolution: {integrity: sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==} + + micromark@4.0.2: + resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.16: + resolution: {integrity: sha512-bzlKTyNJ7+LdGIIwy8ijFpIqEQIvafahV7eYykJ8Cvh42EdJeODoJ6gUJXpQJvej1BddH8OqTXZNE/KfbWAu8Q==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + node-releases@2.0.51: + resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} + engines: {node: '>=18'} + + parse-entities@4.0.2: + resolution: {integrity: sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + pathval@2.0.1: + resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==} + engines: {node: '>= 14.16'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.5: + resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} + engines: {node: '>=12'} + + postcss@8.5.17: + resolution: {integrity: sha512-J7EF+8X+CzRPaJPOv9Ck2wNWJvGnnl3PcNPAdGg6GTLjyVpyQ0yATMSXRFRV01BviT/9Gwuc3rjEyJbDJG9a4w==} + engines: {node: ^10 || ^12 || >=14} + + pretty-format@27.5.1: + resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} + engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + + property-information@7.2.0: + resolution: {integrity: sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==} + + react-dom@18.3.1: + resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + peerDependencies: + react: ^18.3.1 + + react-is@17.0.2: + resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + + react-markdown@10.1.0: + resolution: {integrity: sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==} + peerDependencies: + '@types/react': '>=18' + react: '>=18' + + react-refresh@0.17.0: + resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==} + engines: {node: '>=0.10.0'} + + react@18.3.1: + resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + engines: {node: '>=0.10.0'} + + rehype-highlight@7.0.2: + resolution: {integrity: sha512-k158pK7wdC2qL3M5NcZROZ2tR/l7zOzjxXd5VGdcfIyoijjQqpHd3JKtYSBDpDZ38UI2WJWuFAtkMDxmx5kstA==} + + remark-gfm@4.0.1: + resolution: {integrity: sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==} + + remark-parse@11.0.0: + resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} + + remark-rehype@11.1.2: + resolution: {integrity: sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==} + + remark-stringify@11.0.0: + resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + + rollup@4.62.2: + resolution: {integrity: sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + scheduler@0.23.2: + resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + space-separated-tokens@2.0.2: + resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.10.0: + resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + + stringify-entities@4.0.4: + resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + + strip-literal@3.1.0: + resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} + + style-to-js@1.1.21: + resolution: {integrity: sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==} + + style-to-object@1.0.14: + resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==} + + tailwindcss@4.3.2: + resolution: {integrity: sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA==} + + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + + tinypool@1.1.1: + resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} + engines: {node: '>=14.0.0'} + + tinyspy@4.0.4: + resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==} + engines: {node: '>=14.0.0'} + + trim-lines@3.0.1: + resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} + + trough@2.2.0: + resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} + + typescript@5.9.3: + resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} + engines: {node: '>=14.17'} + hasBin: true + + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + + unified@11.0.5: + resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} + + unist-util-find-after@5.0.0: + resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==} + + unist-util-is@6.0.1: + resolution: {integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==} + + unist-util-position@5.0.0: + resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} + + unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + + unist-util-visit-parents@6.0.2: + resolution: {integrity: sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==} + + unist-util-visit@5.1.0: + resolution: {integrity: sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==} + + update-browserslist-db@1.2.3: + resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + vfile-message@4.0.3: + resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==} + + vfile@6.0.3: + resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} + + vite-node@3.2.4: + resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + + vite@6.4.3: + resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@3.2.7: + resolution: {integrity: sha512-KrxIJ62Fd89gfysR4WotlgZABiz2dqFPgqGzX7s+CwsqLFomRH7777ZcrOD6+WVAh7khPQP41A+BKbpcJFrdEg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 3.2.7 + '@vitest/ui': 3.2.7 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/debug': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + + whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + zustand@5.0.14: + resolution: {integrity: sha512-/8tAspM5LMPr28b3fwLYrtdj77ECpfZviaP75CMTnwO8ISyaE4GDIG/9rDDYq/cH9D2Xw2A2RXglLInmVBQB/g==} + engines: {node: '>=12.20.0'} + peerDependencies: + '@types/react': '>=18.0.0' + immer: '>=9.0.6' + react: '>=18.0.0' + use-sync-external-store: '>=1.2.0' + peerDependenciesMeta: + '@types/react': + optional: true + immer: + optional: true + react: + optional: true + use-sync-external-store: + optional: true + + zwitch@2.0.4: + resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + +snapshots: + + '@babel/code-frame@7.29.7': + dependencies: + '@babel/helper-validator-identifier': 7.29.7 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/compat-data@7.29.7': {} + + '@babel/core@7.29.7': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/generator': 7.29.7 + '@babel/helper-compilation-targets': 7.29.7 + '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7) + '@babel/helpers': 7.29.7 + '@babel/parser': 7.29.7 + '@babel/template': 7.29.7 + '@babel/traverse': 7.29.7 + '@babel/types': 7.29.7 + '@jridgewell/remapping': 2.3.5 + convert-source-map: 2.0.0 + debug: 4.4.3 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.29.7': + dependencies: + '@babel/parser': 7.29.7 + '@babel/types': 7.29.7 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + jsesc: 3.1.0 + + '@babel/helper-compilation-targets@7.29.7': + dependencies: + '@babel/compat-data': 7.29.7 + '@babel/helper-validator-option': 7.29.7 + browserslist: 4.28.6 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-globals@7.29.7': {} + + '@babel/helper-module-imports@7.29.7': + dependencies: + '@babel/traverse': 7.29.7 + '@babel/types': 7.29.7 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7)': + dependencies: + '@babel/core': 7.29.7 + '@babel/helper-module-imports': 7.29.7 + '@babel/helper-validator-identifier': 7.29.7 + '@babel/traverse': 7.29.7 + transitivePeerDependencies: + - supports-color + + '@babel/helper-plugin-utils@7.29.7': {} + + '@babel/helper-string-parser@7.29.7': {} + + '@babel/helper-validator-identifier@7.29.7': {} + + '@babel/helper-validator-option@7.29.7': {} + + '@babel/helpers@7.29.7': + dependencies: + '@babel/template': 7.29.7 + '@babel/types': 7.29.7 + + '@babel/parser@7.29.7': + dependencies: + '@babel/types': 7.29.7 + + '@babel/plugin-transform-react-jsx-self@7.29.7(@babel/core@7.29.7)': + dependencies: + '@babel/core': 7.29.7 + '@babel/helper-plugin-utils': 7.29.7 + + '@babel/plugin-transform-react-jsx-source@7.29.7(@babel/core@7.29.7)': + dependencies: + '@babel/core': 7.29.7 + '@babel/helper-plugin-utils': 7.29.7 + + '@babel/runtime@7.29.7': {} + + '@babel/template@7.29.7': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/parser': 7.29.7 + '@babel/types': 7.29.7 + + '@babel/traverse@7.29.7': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/generator': 7.29.7 + '@babel/helper-globals': 7.29.7 + '@babel/parser': 7.29.7 + '@babel/template': 7.29.7 + '@babel/types': 7.29.7 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.29.7': + dependencies: + '@babel/helper-string-parser': 7.29.7 + '@babel/helper-validator-identifier': 7.29.7 + + '@esbuild/aix-ppc64@0.25.12': + optional: true + + '@esbuild/android-arm64@0.25.12': + optional: true + + '@esbuild/android-arm@0.25.12': + optional: true + + '@esbuild/android-x64@0.25.12': + optional: true + + '@esbuild/darwin-arm64@0.25.12': + optional: true + + '@esbuild/darwin-x64@0.25.12': + optional: true + + '@esbuild/freebsd-arm64@0.25.12': + optional: true + + '@esbuild/freebsd-x64@0.25.12': + optional: true + + '@esbuild/linux-arm64@0.25.12': + optional: true + + '@esbuild/linux-arm@0.25.12': + optional: true + + '@esbuild/linux-ia32@0.25.12': + optional: true + + '@esbuild/linux-loong64@0.25.12': + optional: true + + '@esbuild/linux-mips64el@0.25.12': + optional: true + + '@esbuild/linux-ppc64@0.25.12': + optional: true + + '@esbuild/linux-riscv64@0.25.12': + optional: true + + '@esbuild/linux-s390x@0.25.12': + optional: true + + '@esbuild/linux-x64@0.25.12': + optional: true + + '@esbuild/netbsd-arm64@0.25.12': + optional: true + + '@esbuild/netbsd-x64@0.25.12': + optional: true + + '@esbuild/openbsd-arm64@0.25.12': + optional: true + + '@esbuild/openbsd-x64@0.25.12': + optional: true + + '@esbuild/openharmony-arm64@0.25.12': + optional: true + + '@esbuild/sunos-x64@0.25.12': + optional: true + + '@esbuild/win32-arm64@0.25.12': + optional: true + + '@esbuild/win32-ia32@0.25.12': + optional: true + + '@esbuild/win32-x64@0.25.12': + optional: true + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@rolldown/pluginutils@1.0.0-beta.27': {} + + '@rollup/rollup-android-arm-eabi@4.62.2': + optional: true + + '@rollup/rollup-android-arm64@4.62.2': + optional: true + + '@rollup/rollup-darwin-arm64@4.62.2': + optional: true + + '@rollup/rollup-darwin-x64@4.62.2': + optional: true + + '@rollup/rollup-freebsd-arm64@4.62.2': + optional: true + + '@rollup/rollup-freebsd-x64@4.62.2': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.62.2': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.62.2': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.62.2': + optional: true + + '@rollup/rollup-linux-loong64-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-loong64-musl@4.62.2': + optional: true + + '@rollup/rollup-linux-ppc64-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-ppc64-musl@4.62.2': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.62.2': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.62.2': + optional: true + + '@rollup/rollup-linux-x64-musl@4.62.2': + optional: true + + '@rollup/rollup-openbsd-x64@4.62.2': + optional: true + + '@rollup/rollup-openharmony-arm64@4.62.2': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.62.2': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.62.2': + optional: true + + '@rollup/rollup-win32-x64-gnu@4.62.2': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.62.2': + optional: true + + '@tailwindcss/node@4.3.2': + dependencies: + '@jridgewell/remapping': 2.3.5 + enhanced-resolve: 5.21.6 + jiti: 2.7.0 + lightningcss: 1.32.0 + magic-string: 0.30.21 + source-map-js: 1.2.1 + tailwindcss: 4.3.2 + + '@tailwindcss/oxide-android-arm64@4.3.2': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.3.2': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.3.2': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.3.2': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.2': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.3.2': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.3.2': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.3.2': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.3.2': + optional: true + + '@tailwindcss/oxide-wasm32-wasi@4.3.2': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.3.2': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.3.2': + optional: true + + '@tailwindcss/oxide@4.3.2': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.3.2 + '@tailwindcss/oxide-darwin-arm64': 4.3.2 + '@tailwindcss/oxide-darwin-x64': 4.3.2 + '@tailwindcss/oxide-freebsd-x64': 4.3.2 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.2 + '@tailwindcss/oxide-linux-arm64-gnu': 4.3.2 + '@tailwindcss/oxide-linux-arm64-musl': 4.3.2 + '@tailwindcss/oxide-linux-x64-gnu': 4.3.2 + '@tailwindcss/oxide-linux-x64-musl': 4.3.2 + '@tailwindcss/oxide-wasm32-wasi': 4.3.2 + '@tailwindcss/oxide-win32-arm64-msvc': 4.3.2 + '@tailwindcss/oxide-win32-x64-msvc': 4.3.2 + + '@tailwindcss/vite@4.3.2(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@tailwindcss/node': 4.3.2 + '@tailwindcss/oxide': 4.3.2 + tailwindcss: 4.3.2 + vite: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + + '@tauri-apps/api@2.11.1': {} + + '@tauri-apps/cli-darwin-arm64@2.11.4': + optional: true + + '@tauri-apps/cli-darwin-x64@2.11.4': + optional: true + + '@tauri-apps/cli-linux-arm-gnueabihf@2.11.4': + optional: true + + '@tauri-apps/cli-linux-arm64-gnu@2.11.4': + optional: true + + '@tauri-apps/cli-linux-arm64-musl@2.11.4': + optional: true + + '@tauri-apps/cli-linux-riscv64-gnu@2.11.4': + optional: true + + '@tauri-apps/cli-linux-x64-gnu@2.11.4': + optional: true + + '@tauri-apps/cli-linux-x64-musl@2.11.4': + optional: true + + '@tauri-apps/cli-win32-arm64-msvc@2.11.4': + optional: true + + '@tauri-apps/cli-win32-ia32-msvc@2.11.4': + optional: true + + '@tauri-apps/cli-win32-x64-msvc@2.11.4': + optional: true + + '@tauri-apps/cli@2.11.4': + optionalDependencies: + '@tauri-apps/cli-darwin-arm64': 2.11.4 + '@tauri-apps/cli-darwin-x64': 2.11.4 + '@tauri-apps/cli-linux-arm-gnueabihf': 2.11.4 + '@tauri-apps/cli-linux-arm64-gnu': 2.11.4 + '@tauri-apps/cli-linux-arm64-musl': 2.11.4 + '@tauri-apps/cli-linux-riscv64-gnu': 2.11.4 + '@tauri-apps/cli-linux-x64-gnu': 2.11.4 + '@tauri-apps/cli-linux-x64-musl': 2.11.4 + '@tauri-apps/cli-win32-arm64-msvc': 2.11.4 + '@tauri-apps/cli-win32-ia32-msvc': 2.11.4 + '@tauri-apps/cli-win32-x64-msvc': 2.11.4 + + '@tauri-apps/plugin-dialog@2.7.1': + dependencies: + '@tauri-apps/api': 2.11.1 + + '@tauri-apps/plugin-http@2.5.9': + dependencies: + '@tauri-apps/api': 2.11.1 + + '@tauri-apps/plugin-log@2.8.0': + dependencies: + '@tauri-apps/api': 2.11.1 + + '@tauri-apps/plugin-os@2.3.2': + dependencies: + '@tauri-apps/api': 2.11.1 + + '@tauri-apps/plugin-shell@2.3.5': + dependencies: + '@tauri-apps/api': 2.11.1 + + '@testing-library/dom@10.4.1': + dependencies: + '@babel/code-frame': 7.29.7 + '@babel/runtime': 7.29.7 + '@types/aria-query': 5.0.4 + aria-query: 5.3.0 + dom-accessibility-api: 0.5.16 + lz-string: 1.5.0 + picocolors: 1.1.1 + pretty-format: 27.5.1 + + '@testing-library/react@16.3.2(@testing-library/dom@10.4.1)(@types/react-dom@18.3.7(@types/react@18.3.31))(@types/react@18.3.31)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.29.7 + '@testing-library/dom': 10.4.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.3.31 + '@types/react-dom': 18.3.7(@types/react@18.3.31) + + '@types/aria-query@5.0.4': {} + + '@types/babel__core@7.20.5': + dependencies: + '@babel/parser': 7.29.7 + '@babel/types': 7.29.7 + '@types/babel__generator': 7.27.0 + '@types/babel__template': 7.4.4 + '@types/babel__traverse': 7.28.0 + + '@types/babel__generator@7.27.0': + dependencies: + '@babel/types': 7.29.7 + + '@types/babel__template@7.4.4': + dependencies: + '@babel/parser': 7.29.7 + '@babel/types': 7.29.7 + + '@types/babel__traverse@7.28.0': + dependencies: + '@babel/types': 7.29.7 + + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/debug@4.1.13': + dependencies: + '@types/ms': 2.1.0 + + '@types/deep-eql@4.0.2': {} + + '@types/estree-jsx@1.0.5': + dependencies: + '@types/estree': 1.0.9 + + '@types/estree@1.0.9': {} + + '@types/hast@3.0.5': + dependencies: + '@types/unist': 3.0.3 + + '@types/mdast@4.0.4': + dependencies: + '@types/unist': 3.0.3 + + '@types/ms@2.1.0': {} + + '@types/node@22.20.1': + dependencies: + undici-types: 6.21.0 + + '@types/prop-types@15.7.15': {} + + '@types/react-dom@18.3.7(@types/react@18.3.31)': + dependencies: + '@types/react': 18.3.31 + + '@types/react@18.3.31': + dependencies: + '@types/prop-types': 15.7.15 + csstype: 3.2.3 + + '@types/unist@2.0.11': {} + + '@types/unist@3.0.3': {} + + '@ungap/structured-clone@1.3.3': {} + + '@vitejs/plugin-react@4.7.0(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@babel/core': 7.29.7 + '@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7) + '@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/core@7.29.7) + '@rolldown/pluginutils': 1.0.0-beta.27 + '@types/babel__core': 7.20.5 + react-refresh: 0.17.0 + vite: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + transitivePeerDependencies: + - supports-color + + '@vitest/expect@3.2.7': + dependencies: + '@types/chai': 5.2.3 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + tinyrainbow: 2.0.0 + + '@vitest/mocker@3.2.7(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0))': + dependencies: + '@vitest/spy': 3.2.7 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + + '@vitest/pretty-format@3.2.7': + dependencies: + tinyrainbow: 2.0.0 + + '@vitest/runner@3.2.7': + dependencies: + '@vitest/utils': 3.2.7 + pathe: 2.0.3 + strip-literal: 3.1.0 + + '@vitest/snapshot@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@3.2.7': + dependencies: + tinyspy: 4.0.4 + + '@vitest/utils@3.2.7': + dependencies: + '@vitest/pretty-format': 3.2.7 + loupe: 3.2.1 + tinyrainbow: 2.0.0 + + ansi-regex@5.0.1: {} + + ansi-styles@5.2.0: {} + + aria-query@5.3.0: + dependencies: + dequal: 2.0.3 + + assertion-error@2.0.1: {} + + bail@2.0.2: {} + + baseline-browser-mapping@2.10.43: {} + + browserslist@4.28.6: + dependencies: + baseline-browser-mapping: 2.10.43 + caniuse-lite: 1.0.30001805 + electron-to-chromium: 1.5.389 + node-releases: 2.0.51 + update-browserslist-db: 1.2.3(browserslist@4.28.6) + + cac@6.7.14: {} + + caniuse-lite@1.0.30001805: {} + + ccount@2.0.1: {} + + chai@5.3.3: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.3 + deep-eql: 5.0.2 + loupe: 3.2.1 + pathval: 2.0.1 + + character-entities-html4@2.1.0: {} + + character-entities-legacy@3.0.0: {} + + character-entities@2.0.2: {} + + character-reference-invalid@2.0.1: {} + + check-error@2.1.3: {} + + comma-separated-tokens@2.0.3: {} + + convert-source-map@2.0.0: {} + + csstype@3.2.3: {} + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + decode-named-character-reference@1.3.0: + dependencies: + character-entities: 2.0.2 + + deep-eql@5.0.2: {} + + dequal@2.0.3: {} + + detect-libc@2.1.2: {} + + devlop@1.1.0: + dependencies: + dequal: 2.0.3 + + dom-accessibility-api@0.5.16: {} + + electron-to-chromium@1.5.389: {} + + enhanced-resolve@5.21.6: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.3.3 + + es-module-lexer@1.7.0: {} + + esbuild@0.25.12: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.12 + '@esbuild/android-arm': 0.25.12 + '@esbuild/android-arm64': 0.25.12 + '@esbuild/android-x64': 0.25.12 + '@esbuild/darwin-arm64': 0.25.12 + '@esbuild/darwin-x64': 0.25.12 + '@esbuild/freebsd-arm64': 0.25.12 + '@esbuild/freebsd-x64': 0.25.12 + '@esbuild/linux-arm': 0.25.12 + '@esbuild/linux-arm64': 0.25.12 + '@esbuild/linux-ia32': 0.25.12 + '@esbuild/linux-loong64': 0.25.12 + '@esbuild/linux-mips64el': 0.25.12 + '@esbuild/linux-ppc64': 0.25.12 + '@esbuild/linux-riscv64': 0.25.12 + '@esbuild/linux-s390x': 0.25.12 + '@esbuild/linux-x64': 0.25.12 + '@esbuild/netbsd-arm64': 0.25.12 + '@esbuild/netbsd-x64': 0.25.12 + '@esbuild/openbsd-arm64': 0.25.12 + '@esbuild/openbsd-x64': 0.25.12 + '@esbuild/openharmony-arm64': 0.25.12 + '@esbuild/sunos-x64': 0.25.12 + '@esbuild/win32-arm64': 0.25.12 + '@esbuild/win32-ia32': 0.25.12 + '@esbuild/win32-x64': 0.25.12 + + escalade@3.2.0: {} + + escape-string-regexp@5.0.0: {} + + estree-util-is-identifier-name@3.0.0: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.9 + + expect-type@1.4.0: {} + + extend@3.0.2: {} + + fdir@6.5.0(picomatch@4.0.5): + optionalDependencies: + picomatch: 4.0.5 + + fsevents@2.3.3: + optional: true + + gensync@1.0.0-beta.2: {} + + graceful-fs@4.2.11: {} + + happy-dom@16.8.1: + dependencies: + webidl-conversions: 7.0.0 + whatwg-mimetype: 3.0.0 + + hast-util-is-element@3.0.0: + dependencies: + '@types/hast': 3.0.5 + + hast-util-to-jsx-runtime@2.3.6: + dependencies: + '@types/estree': 1.0.9 + '@types/hast': 3.0.5 + '@types/unist': 3.0.3 + comma-separated-tokens: 2.0.3 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + hast-util-whitespace: 3.0.0 + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.2.0 + mdast-util-mdxjs-esm: 2.0.1 + property-information: 7.2.0 + space-separated-tokens: 2.0.2 + style-to-js: 1.1.21 + unist-util-position: 5.0.0 + vfile-message: 4.0.3 + transitivePeerDependencies: + - supports-color + + hast-util-to-text@4.0.2: + dependencies: + '@types/hast': 3.0.5 + '@types/unist': 3.0.3 + hast-util-is-element: 3.0.0 + unist-util-find-after: 5.0.0 + + hast-util-whitespace@3.0.0: + dependencies: + '@types/hast': 3.0.5 + + highlight.js@11.11.1: {} + + html-url-attributes@3.0.1: {} + + inline-style-parser@0.2.7: {} + + is-alphabetical@2.0.1: {} + + is-alphanumerical@2.0.1: + dependencies: + is-alphabetical: 2.0.1 + is-decimal: 2.0.1 + + is-decimal@2.0.1: {} + + is-hexadecimal@2.0.1: {} + + is-plain-obj@4.1.0: {} + + jiti@2.7.0: {} + + js-tokens@4.0.0: {} + + js-tokens@9.0.1: {} + + jsesc@3.1.0: {} + + json5@2.2.3: {} + + lightningcss-android-arm64@1.32.0: + optional: true + + lightningcss-darwin-arm64@1.32.0: + optional: true + + lightningcss-darwin-x64@1.32.0: + optional: true + + lightningcss-freebsd-x64@1.32.0: + optional: true + + lightningcss-linux-arm-gnueabihf@1.32.0: + optional: true + + lightningcss-linux-arm64-gnu@1.32.0: + optional: true + + lightningcss-linux-arm64-musl@1.32.0: + optional: true + + lightningcss-linux-x64-gnu@1.32.0: + optional: true + + lightningcss-linux-x64-musl@1.32.0: + optional: true + + lightningcss-win32-arm64-msvc@1.32.0: + optional: true + + lightningcss-win32-x64-msvc@1.32.0: + optional: true + + lightningcss@1.32.0: + dependencies: + detect-libc: 2.1.2 + optionalDependencies: + lightningcss-android-arm64: 1.32.0 + lightningcss-darwin-arm64: 1.32.0 + lightningcss-darwin-x64: 1.32.0 + lightningcss-freebsd-x64: 1.32.0 + lightningcss-linux-arm-gnueabihf: 1.32.0 + lightningcss-linux-arm64-gnu: 1.32.0 + lightningcss-linux-arm64-musl: 1.32.0 + lightningcss-linux-x64-gnu: 1.32.0 + lightningcss-linux-x64-musl: 1.32.0 + lightningcss-win32-arm64-msvc: 1.32.0 + lightningcss-win32-x64-msvc: 1.32.0 + + longest-streak@3.1.0: {} + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loupe@3.2.1: {} + + lowlight@3.3.0: + dependencies: + '@types/hast': 3.0.5 + devlop: 1.1.0 + highlight.js: 11.11.1 + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + lz-string@1.5.0: {} + + magic-string@0.30.21: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + + markdown-table@3.0.4: {} + + mdast-util-find-and-replace@3.0.2: + dependencies: + '@types/mdast': 4.0.4 + escape-string-regexp: 5.0.0 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.0.2 + + mdast-util-from-markdown@2.0.3: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + mdast-util-to-string: 4.0.0 + micromark: 4.0.2 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-decode-string: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + unist-util-stringify-position: 4.0.0 + transitivePeerDependencies: + - supports-color + + mdast-util-gfm-autolink-literal@2.0.1: + dependencies: + '@types/mdast': 4.0.4 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-find-and-replace: 3.0.2 + micromark-util-character: 2.1.1 + + mdast-util-gfm-footnote@2.1.0: + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + micromark-util-normalize-identifier: 2.0.1 + transitivePeerDependencies: + - supports-color + + mdast-util-gfm-strikethrough@2.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-gfm-table@2.0.0: + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + markdown-table: 3.0.4 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-gfm-task-list-item@2.0.0: + dependencies: + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-gfm@3.1.0: + dependencies: + mdast-util-from-markdown: 2.0.3 + mdast-util-gfm-autolink-literal: 2.0.1 + mdast-util-gfm-footnote: 2.1.0 + mdast-util-gfm-strikethrough: 2.0.0 + mdast-util-gfm-table: 2.0.0 + mdast-util-gfm-task-list-item: 2.0.0 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-mdx-expression@2.0.1: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-mdx-jsx@3.2.0: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + parse-entities: 4.0.2 + stringify-entities: 4.0.4 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.3 + transitivePeerDependencies: + - supports-color + + mdast-util-mdxjs-esm@2.0.1: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.3 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + + mdast-util-phrasing@4.1.0: + dependencies: + '@types/mdast': 4.0.4 + unist-util-is: 6.0.1 + + mdast-util-to-hast@13.2.1: + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + '@ungap/structured-clone': 1.3.3 + devlop: 1.1.0 + micromark-util-sanitize-uri: 2.0.1 + trim-lines: 3.0.1 + unist-util-position: 5.0.0 + unist-util-visit: 5.1.0 + vfile: 6.0.3 + + mdast-util-to-markdown@2.1.2: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + longest-streak: 3.1.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-string: 4.0.0 + micromark-util-classify-character: 2.0.1 + micromark-util-decode-string: 2.0.1 + unist-util-visit: 5.1.0 + zwitch: 2.0.4 + + mdast-util-to-string@4.0.0: + dependencies: + '@types/mdast': 4.0.4 + + micromark-core-commonmark@2.0.3: + dependencies: + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + micromark-factory-destination: 2.0.1 + micromark-factory-label: 2.0.1 + micromark-factory-space: 2.0.1 + micromark-factory-title: 2.0.1 + micromark-factory-whitespace: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-classify-character: 2.0.1 + micromark-util-html-tag-name: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-subtokenize: 2.1.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm-autolink-literal@2.1.0: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm-footnote@2.1.0: + dependencies: + devlop: 1.1.0 + micromark-core-commonmark: 2.0.3 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm-strikethrough@2.1.0: + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.1 + micromark-util-classify-character: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm-table@2.1.1: + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm-tagfilter@2.0.0: + dependencies: + micromark-util-types: 2.0.2 + + micromark-extension-gfm-task-list-item@2.1.0: + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-extension-gfm@3.0.0: + dependencies: + micromark-extension-gfm-autolink-literal: 2.1.0 + micromark-extension-gfm-footnote: 2.1.0 + micromark-extension-gfm-strikethrough: 2.1.0 + micromark-extension-gfm-table: 2.1.1 + micromark-extension-gfm-tagfilter: 2.0.0 + micromark-extension-gfm-task-list-item: 2.1.0 + micromark-util-combine-extensions: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-factory-destination@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-factory-label@2.0.1: + dependencies: + devlop: 1.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-factory-space@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-types: 2.0.2 + + micromark-factory-title@2.0.1: + dependencies: + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-factory-whitespace@2.0.1: + dependencies: + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-character@2.1.1: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-chunked@2.0.1: + dependencies: + micromark-util-symbol: 2.0.1 + + micromark-util-classify-character@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-combine-extensions@2.0.1: + dependencies: + micromark-util-chunked: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-decode-numeric-character-reference@2.0.2: + dependencies: + micromark-util-symbol: 2.0.1 + + micromark-util-decode-string@2.0.1: + dependencies: + decode-named-character-reference: 1.3.0 + micromark-util-character: 2.1.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-symbol: 2.0.1 + + micromark-util-encode@2.0.1: {} + + micromark-util-html-tag-name@2.0.1: {} + + micromark-util-normalize-identifier@2.0.1: + dependencies: + micromark-util-symbol: 2.0.1 + + micromark-util-resolve-all@2.0.1: + dependencies: + micromark-util-types: 2.0.2 + + micromark-util-sanitize-uri@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-encode: 2.0.1 + micromark-util-symbol: 2.0.1 + + micromark-util-subtokenize@2.1.0: + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + + micromark-util-symbol@2.0.1: {} + + micromark-util-types@2.0.2: {} + + micromark@4.0.2: + dependencies: + '@types/debug': 4.1.13 + debug: 4.4.3 + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.3 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-combine-extensions: 2.0.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-encode: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-subtokenize: 2.1.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + transitivePeerDependencies: + - supports-color + + ms@2.1.3: {} + + nanoid@3.3.16: {} + + node-releases@2.0.51: {} + + parse-entities@4.0.2: + dependencies: + '@types/unist': 2.0.11 + character-entities-legacy: 3.0.0 + character-reference-invalid: 2.0.1 + decode-named-character-reference: 1.3.0 + is-alphanumerical: 2.0.1 + is-decimal: 2.0.1 + is-hexadecimal: 2.0.1 + + pathe@2.0.3: {} + + pathval@2.0.1: {} + + picocolors@1.1.1: {} + + picomatch@4.0.5: {} + + postcss@8.5.17: + dependencies: + nanoid: 3.3.16 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + pretty-format@27.5.1: + dependencies: + ansi-regex: 5.0.1 + ansi-styles: 5.2.0 + react-is: 17.0.2 + + property-information@7.2.0: {} + + react-dom@18.3.1(react@18.3.1): + dependencies: + loose-envify: 1.4.0 + react: 18.3.1 + scheduler: 0.23.2 + + react-is@17.0.2: {} + + react-markdown@10.1.0(@types/react@18.3.31)(react@18.3.1): + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + '@types/react': 18.3.31 + devlop: 1.1.0 + hast-util-to-jsx-runtime: 2.3.6 + html-url-attributes: 3.0.1 + mdast-util-to-hast: 13.2.1 + react: 18.3.1 + remark-parse: 11.0.0 + remark-rehype: 11.1.2 + unified: 11.0.5 + unist-util-visit: 5.1.0 + vfile: 6.0.3 + transitivePeerDependencies: + - supports-color + + react-refresh@0.17.0: {} + + react@18.3.1: + dependencies: + loose-envify: 1.4.0 + + rehype-highlight@7.0.2: + dependencies: + '@types/hast': 3.0.5 + hast-util-to-text: 4.0.2 + lowlight: 3.3.0 + unist-util-visit: 5.1.0 + vfile: 6.0.3 + + remark-gfm@4.0.1: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-gfm: 3.1.0 + micromark-extension-gfm: 3.0.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 + unified: 11.0.5 + transitivePeerDependencies: + - supports-color + + remark-parse@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.3 + micromark-util-types: 2.0.2 + unified: 11.0.5 + transitivePeerDependencies: + - supports-color + + remark-rehype@11.1.2: + dependencies: + '@types/hast': 3.0.5 + '@types/mdast': 4.0.4 + mdast-util-to-hast: 13.2.1 + unified: 11.0.5 + vfile: 6.0.3 + + remark-stringify@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-to-markdown: 2.1.2 + unified: 11.0.5 + + rollup@4.62.2: + dependencies: + '@types/estree': 1.0.9 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.62.2 + '@rollup/rollup-android-arm64': 4.62.2 + '@rollup/rollup-darwin-arm64': 4.62.2 + '@rollup/rollup-darwin-x64': 4.62.2 + '@rollup/rollup-freebsd-arm64': 4.62.2 + '@rollup/rollup-freebsd-x64': 4.62.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.62.2 + '@rollup/rollup-linux-arm-musleabihf': 4.62.2 + '@rollup/rollup-linux-arm64-gnu': 4.62.2 + '@rollup/rollup-linux-arm64-musl': 4.62.2 + '@rollup/rollup-linux-loong64-gnu': 4.62.2 + '@rollup/rollup-linux-loong64-musl': 4.62.2 + '@rollup/rollup-linux-ppc64-gnu': 4.62.2 + '@rollup/rollup-linux-ppc64-musl': 4.62.2 + '@rollup/rollup-linux-riscv64-gnu': 4.62.2 + '@rollup/rollup-linux-riscv64-musl': 4.62.2 + '@rollup/rollup-linux-s390x-gnu': 4.62.2 + '@rollup/rollup-linux-x64-gnu': 4.62.2 + '@rollup/rollup-linux-x64-musl': 4.62.2 + '@rollup/rollup-openbsd-x64': 4.62.2 + '@rollup/rollup-openharmony-arm64': 4.62.2 + '@rollup/rollup-win32-arm64-msvc': 4.62.2 + '@rollup/rollup-win32-ia32-msvc': 4.62.2 + '@rollup/rollup-win32-x64-gnu': 4.62.2 + '@rollup/rollup-win32-x64-msvc': 4.62.2 + fsevents: 2.3.3 + + scheduler@0.23.2: + dependencies: + loose-envify: 1.4.0 + + semver@6.3.1: {} + + siginfo@2.0.0: {} + + source-map-js@1.2.1: {} + + space-separated-tokens@2.0.2: {} + + stackback@0.0.2: {} + + std-env@3.10.0: {} + + stringify-entities@4.0.4: + dependencies: + character-entities-html4: 2.1.0 + character-entities-legacy: 3.0.0 + + strip-literal@3.1.0: + dependencies: + js-tokens: 9.0.1 + + style-to-js@1.1.21: + dependencies: + style-to-object: 1.0.14 + + style-to-object@1.0.14: + dependencies: + inline-style-parser: 0.2.7 + + tailwindcss@4.3.2: {} + + tapable@2.3.3: {} + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + + tinyglobby@0.2.17: + dependencies: + fdir: 6.5.0(picomatch@4.0.5) + picomatch: 4.0.5 + + tinypool@1.1.1: {} + + tinyrainbow@2.0.0: {} + + tinyspy@4.0.4: {} + + trim-lines@3.0.1: {} + + trough@2.2.0: {} + + typescript@5.9.3: {} + + undici-types@6.21.0: {} + + unified@11.0.5: + dependencies: + '@types/unist': 3.0.3 + bail: 2.0.2 + devlop: 1.1.0 + extend: 3.0.2 + is-plain-obj: 4.1.0 + trough: 2.2.0 + vfile: 6.0.3 + + unist-util-find-after@5.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + + unist-util-is@6.0.1: + dependencies: + '@types/unist': 3.0.3 + + unist-util-position@5.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-stringify-position@4.0.0: + dependencies: + '@types/unist': 3.0.3 + + unist-util-visit-parents@6.0.2: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + + unist-util-visit@5.1.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.1 + unist-util-visit-parents: 6.0.2 + + update-browserslist-db@1.2.3(browserslist@4.28.6): + dependencies: + browserslist: 4.28.6 + escalade: 3.2.0 + picocolors: 1.1.1 + + vfile-message@4.0.3: + dependencies: + '@types/unist': 3.0.3 + unist-util-stringify-position: 4.0.0 + + vfile@6.0.3: + dependencies: + '@types/unist': 3.0.3 + vfile-message: 4.0.3 + + vite-node@3.2.4(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0): + dependencies: + cac: 6.7.14 + debug: 4.4.3 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0): + dependencies: + esbuild: 0.25.12 + fdir: 6.5.0(picomatch@4.0.5) + picomatch: 4.0.5 + postcss: 8.5.17 + rollup: 4.62.2 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 22.20.1 + fsevents: 2.3.3 + jiti: 2.7.0 + lightningcss: 1.32.0 + + vitest@3.2.7(@types/debug@4.1.13)(@types/node@22.20.1)(happy-dom@16.8.1)(jiti@2.7.0)(lightningcss@1.32.0): + dependencies: + '@types/chai': 5.2.3 + '@vitest/expect': 3.2.7 + '@vitest/mocker': 3.2.7(vite@6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0)) + '@vitest/pretty-format': 3.2.7 + '@vitest/runner': 3.2.7 + '@vitest/snapshot': 3.2.7 + '@vitest/spy': 3.2.7 + '@vitest/utils': 3.2.7 + chai: 5.3.3 + debug: 4.4.3 + expect-type: 1.4.0 + magic-string: 0.30.21 + pathe: 2.0.3 + picomatch: 4.0.5 + std-env: 3.10.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.17 + tinypool: 1.1.1 + tinyrainbow: 2.0.0 + vite: 6.4.3(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + vite-node: 3.2.4(@types/node@22.20.1)(jiti@2.7.0)(lightningcss@1.32.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/debug': 4.1.13 + '@types/node': 22.20.1 + happy-dom: 16.8.1 + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + webidl-conversions@7.0.0: {} + + whatwg-mimetype@3.0.0: {} + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + yallist@3.1.1: {} + + zustand@5.0.14(@types/react@18.3.31)(react@18.3.1): + optionalDependencies: + '@types/react': 18.3.31 + react: 18.3.1 + + zwitch@2.0.4: {} diff --git a/companions/desktop/pnpm-workspace.yaml b/companions/desktop/pnpm-workspace.yaml new file mode 100644 index 000000000..4567d8a22 --- /dev/null +++ b/companions/desktop/pnpm-workspace.yaml @@ -0,0 +1,12 @@ +# Marks companions/desktop as its own pnpm workspace root so `pnpm install` +# run from here resolves against this package only — not the root +# openagentic pnpm-workspace.yaml (which intentionally does not list this +# app; see companions/desktop/README.md). +packages: + - . + +# esbuild's postinstall just re-verifies the platform binary that +# optionalDependencies already resolved (@esbuild/darwin-arm64 etc.) — same +# call the root workspace makes in its own ignoredBuiltDependencies list. +ignoredBuiltDependencies: + - esbuild diff --git a/companions/desktop/scripts/build-desktop.sh b/companions/desktop/scripts/build-desktop.sh new file mode 100755 index 000000000..b3b23e719 --- /dev/null +++ b/companions/desktop/scripts/build-desktop.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +# Build the OpenAgentic desktop app (Tauri) into a macOS .app bundle. +# +# Preflight: a Rust toolchain + the Xcode Command Line Tools are required to +# compile the Rust core and link the bundle. We build ONLY the `.app` bundle — +# never Tauri's dmg bundler, which drives Finder/TCC and hangs headless. +# +# Emits a single machine-readable line on success: BUILT: +# so the caller (the setup wizard's Launch step) can hand the path to +# install-app.sh. Exits non-zero if a prerequisite is missing (3) or the build +# produced no bundle (1). +set -euo pipefail + +HERE="$(cd "$(dirname "$0")/.." && pwd)" + +command -v cargo >/dev/null || { echo "Rust toolchain required: https://rustup.rs" >&2; exit 3; } +xcode-select -p >/dev/null 2>&1 || { echo "Xcode CLT required: xcode-select --install" >&2; exit 3; } + +cd "$HERE" + +# corepack provisions the pinned pnpm from package.json's packageManager field. +corepack enable >/dev/null 2>&1 || true + +# Install JS deps. Prefer a reproducible frozen install; fall back to a plain +# install if the lockfile is out of sync with package.json. +pnpm install --frozen-lockfile || pnpm install + +# Stage the (gitignored, proprietary) agenticode sidecar + ripgrep. Non-fatal: +# without it the Code surface just shows setup instructions instead of a live CLI. +bash scripts/stage-agenticode.sh || echo "WARN: agenticode sidecar not staged — Code surface will show setup instructions" >&2 + +# Build the .app bundle only (see header: never the dmg bundler headless). +pnpm tauri build --bundles app + +APP="$HERE/src-tauri/target/release/bundle/macos/OpenAgentic.app" +if [ -d "$APP" ]; then + echo "BUILT:$APP" +else + echo "build finished but no app bundle at $APP" >&2 + exit 1 +fi diff --git a/companions/desktop/scripts/check-sidecar.sh b/companions/desktop/scripts/check-sidecar.sh new file mode 100755 index 000000000..04086225d --- /dev/null +++ b/companions/desktop/scripts/check-sidecar.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +# Preflight for `pnpm tauri build`: verify the (gitignored, proprietary) +# agenticode sidecar has actually been staged. On a fresh clone the placeholder +# is missing or zero bytes and the Tauri bundler would fail with a confusing +# externalBin error — fail fast with the fix instead. +# +# Deliberately NOT wired into tauri.conf.json's beforeBuildCommand (that would +# also gate `pnpm dev`, which doesn't need the sidecar). Run it manually, or +# from a future build script (Task 14), before a bundle build. +set -euo pipefail + +DESKTOP="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +TRIPLE="${TRIPLE:-$(rustc -vV | sed -n 's/^host: //p')}" +BIN="$DESKTOP/src-tauri/binaries/agenticode-cli-$TRIPLE" +case "$TRIPLE" in *windows*) BIN="$BIN.exe" ;; esac +RG="$DESKTOP/src-tauri/cli-runtime/rg" + +fail=0 +if [ ! -s "$BIN" ]; then + echo "sidecar missing — run scripts/stage-agenticode.sh first" >&2 + echo " expected a non-empty binary at: $BIN" >&2 + fail=1 +fi +if [ ! -s "$RG" ]; then + echo "vendored ripgrep missing — run scripts/stage-agenticode.sh first" >&2 + echo " expected a non-empty binary at: $RG" >&2 + fail=1 +fi +[ "$fail" -eq 0 ] || exit 1 +echo "sidecar ok: $BIN" +echo "rg ok: $RG" diff --git a/companions/desktop/scripts/install-app.sh b/companions/desktop/scripts/install-app.sh new file mode 100755 index 000000000..732b4d116 --- /dev/null +++ b/companions/desktop/scripts/install-app.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +# Install the freshly built OpenAgentic.app into the user's Applications folder +# and validate the installed bundle. +# +# Copies with `ditto` (preserves the bundle structure + any code signature) into +# /Applications, falling back to ~/Applications when /Applications isn't writable +# (locked-down machines, no admin). Validates that: the bundle exists, codesign +# verifies it (an ad-hoc / self-signature is fine — only a broken/unsigned bundle +# fails), and the CFBundleExecutable main binary is present and executable. +# +# Emits a single machine-readable line on success: INSTALLED: +# Pass --open to launch the app once it's installed. +set -euo pipefail + +HERE="$(cd "$(dirname "$0")/.." && pwd)" +APP_NAME="OpenAgentic.app" +SRC="$HERE/src-tauri/target/release/bundle/macos/$APP_NAME" + +OPEN_AFTER=0 +for arg in "$@"; do + case "$arg" in + --open) OPEN_AFTER=1 ;; + *) echo "unknown argument: $arg" >&2; exit 2 ;; + esac +done + +[ -d "$SRC" ] || { echo "no built app at $SRC — run build-desktop.sh first" >&2; exit 1; } + +# Prefer /Applications; fall back to ~/Applications when it isn't writable. +DEST_DIR="/Applications" +if [ ! -w "$DEST_DIR" ]; then + DEST_DIR="$HOME/Applications" + mkdir -p "$DEST_DIR" +fi +DEST="$DEST_DIR/$APP_NAME" + +# Replace any prior install atomically-ish: remove then ditto a clean copy. +rm -rf "$DEST" +ditto "$SRC" "$DEST" + +# ── validate the installed bundle ──────────────────────────────────────────── +[ -d "$DEST" ] || { echo "install failed: $DEST missing after copy" >&2; exit 1; } + +# codesign must verify. Ad-hoc (exit 0) is acceptable; a broken signature is not. +codesign -dv "$DEST" >/dev/null 2>&1 || { echo "codesign verification failed for $DEST" >&2; exit 1; } + +# The CFBundleExecutable main binary must exist and be executable. +BIN_NAME="$(defaults read "$DEST/Contents/Info" CFBundleExecutable 2>/dev/null || true)" +[ -n "$BIN_NAME" ] || { echo "could not read CFBundleExecutable from $DEST" >&2; exit 1; } +MAIN_BIN="$DEST/Contents/MacOS/$BIN_NAME" +[ -x "$MAIN_BIN" ] || { echo "main binary not executable: $MAIN_BIN" >&2; exit 1; } + +echo "INSTALLED:$DEST" + +if [ "$OPEN_AFTER" -eq 1 ]; then + open -a "$DEST" +fi diff --git a/companions/desktop/scripts/stage-agenticode.sh b/companions/desktop/scripts/stage-agenticode.sh new file mode 100755 index 000000000..7cc5aee13 --- /dev/null +++ b/companions/desktop/scripts/stage-agenticode.sh @@ -0,0 +1,106 @@ +#!/usr/bin/env bash +# Stage the agenticode "openagentic"-edition CLI (+ a portable ripgrep) as a +# Tauri sidecar for the desktop app. +# +# PROPRIETARY BINARY — NEVER committed. Both destinations are gitignored: +# src-tauri/binaries/ (the sidecar) src-tauri/cli-runtime/ (rg) +# +# Why a fresh build (not the CLI checked into agenticode/desktop): that prebuilt +# is the DEFAULT edition, which speaks to Bedrock/Vertex/AgenticWork. We need +# the "openagentic" edition, which a bundle `--define` locks to a LOCAL +# openagentic instance only. So we compile it ourselves from the checkout. +# +# Build path: agenticode's scripts/bundle.sh takes its first positional arg as +# an OUTDIR (default dist/bundle) and builds ALL five OS/arch targets — there is +# no single-target flag (SKIP_MULTIARCH forces linux-x64). So we don't call it; +# instead we run the SAME single-target `bun build --compile` the agenticode +# desktop README documents, adding the openagentic edition --define and the +# externals bundle.sh skips (native .node addons + phantom @agentic-work/* type +# stubs, all reached only via guarded dynamic import). +# +# Usage: scripts/stage-agenticode.sh +# AGENTICODE_DIR path to the agenticode checkout (default ~/git/agenticode) +# TRIPLE rustc host triple (default: `rustc -vV | grep host`) +set -euo pipefail + +DIR="${AGENTICODE_DIR:-$HOME/git/agenticode}" +TRIPLE="${TRIPLE:-$(rustc -vV | sed -n 's/^host: //p')}" +DESKTOP="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" +OUT="$DESKTOP/src-tauri/binaries" +RG_OUT="$DESKTOP/src-tauri/cli-runtime" +STAGED="$OUT/agenticode-cli-$TRIPLE" + +# Map the rustc triple → bun --compile target and → fetch-ripgrep target. +case "$TRIPLE" in + aarch64-apple-darwin) BUNTARGET="bun-darwin-arm64"; RGTARGET="darwin-arm64" ;; + x86_64-apple-darwin) BUNTARGET="bun-darwin-x64"; RGTARGET="darwin-x64" ;; + x86_64-unknown-linux-gnu) BUNTARGET="bun-linux-x64"; RGTARGET="linux-x64" ;; + aarch64-unknown-linux-gnu) BUNTARGET="bun-linux-arm64"; RGTARGET="linux-x64" ;; + x86_64-pc-windows-msvc) BUNTARGET="bun-windows-x64"; RGTARGET="windows-x64"; STAGED="$STAGED.exe" ;; + *) echo "unsupported TRIPLE: $TRIPLE" >&2; exit 2 ;; +esac + +mkdir -p "$OUT" "$RG_OUT" + +if [ ! -d "$DIR" ]; then + echo "agenticode checkout not found at $DIR." >&2 + echo "Set AGENTICODE_DIR to your checkout, or obtain a prebuilt" >&2 + echo "openagentic-edition CLI from the AgenticWork CDN and place it at:" >&2 + echo " $STAGED" >&2 + echo "then re-run with the checkout present to also stage ripgrep, or drop a" >&2 + echo "portable rg at $RG_OUT/rg yourself." >&2 + echo "Verify staging afterwards with scripts/check-sidecar.sh (it must pass" >&2 + echo "before 'pnpm tauri build' can produce a working bundle)." >&2 + exit 2 +fi + +# Externals bundle.sh skips: native prebuilt addons that can't live inside a +# single-file --compile binary, plus phantom @agentic-work/* / @anthropic-ai +# type-only stubs (no npm package). Every one is reached only via guarded +# `await import(...)`, so leaving them external is safe. +# +# SOURCE OF TRUTH: the EXTERNALS array in agenticode's scripts/bundle.sh. +# This list is a point-in-time copy of the package NAMES only and CAN DRIFT — +# if a freshly staged binary crashes at startup with "Cannot find module" for +# a dependency not listed here, diff this list against bundle.sh's first. +EXTERNALS=( + @anthropic-ai/mcpb + @agentic-work/chrome-mcp @agentic-work/mcpb @agentic-work/sandbox-runtime + @agentic-work/agent-sdk @agentic-work/tokenizer + fsevents cpu-features sharp audio-capture-napi + tree-sitter web-tree-sitter +) +EXTERNAL_ARGS=() +for e in "${EXTERNALS[@]}"; do EXTERNAL_ARGS+=(--external "$e"); done + +echo "==> building agenticode openagentic edition → $BUNTARGET" +( + cd "$DIR" + # bundle.sh's own dist guard: --compile needs the transpiled entrypoint. + if [ ! -f dist/entrypoints/cli.js ]; then + echo " dist/entrypoints/cli.js missing — running tsc" + npx tsc --noEmitOnError false 2>/dev/null || true + fi + # The --define bakes AGENTICODE_EDITION=openagentic into the bundle so the + # shipped binary is pinned to the local-only edition (edition.ts reads it). + bun build dist/entrypoints/cli.js --compile --target="$BUNTARGET" \ + --define 'process.env.AGENTICODE_EDITION="openagentic"' \ + "${EXTERNAL_ARGS[@]}" \ + --outfile "$STAGED" +) +chmod 755 "$STAGED" + +# ripgrep: the bun-compiled CLI can't exec its OWN embedded rg (it lives in +# bunfs, no real on-disk path), so its Grep/Glob tools fall back to a `rg` on +# PATH. tauriHost prepends cli-runtime/ to the child's PATH; stage a real rg +# there. Prefer the one already vendored in the checkout; else fetch it. +RG_SRC="$DIR/desktop/cli-bundle/agenticode-cli/rg" +if [ ! -f "$RG_SRC" ]; then + echo "==> fetching portable ripgrep ($RGTARGET)" + ( cd "$DIR/desktop" && bash scripts/fetch-ripgrep.sh "$RGTARGET" ) +fi +install -m 755 "$RG_SRC" "$RG_OUT/rg" + +echo "==> staged:" +echo " $STAGED ($(du -h "$STAGED" | cut -f1))" +echo " $RG_OUT/rg ($(du -h "$RG_OUT/rg" | cut -f1))" diff --git a/companions/desktop/src-tauri/Cargo.lock b/companions/desktop/src-tauri/Cargo.lock new file mode 100644 index 000000000..f000a2917 --- /dev/null +++ b/companions/desktop/src-tauri/Cargo.lock @@ -0,0 +1,5645 @@ +# 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 = "ahash" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" +dependencies = [ + "getrandom 0.2.17", + "once_cell", + "version_check", +] + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e76a019e91224d279006ff972f1e984179a6e9feb050adba6ce8274aef23195" +dependencies = [ + "alloc-no-stdlib", +] + +[[package]] +name = "android_log-sys" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84521a3cf562bc62942e294181d9eef17eb38ceb8c68677bc49f144e4c3d4f8d" + +[[package]] +name = "android_logger" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb4e440d04be07da1f1bf44fb4495ebd58669372fe0cffa6e48595ac5bd88a3" +dependencies = [ + "android_log-sys", + "env_filter", + "log", +] + +[[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.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[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 = "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.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8" +dependencies = [ + "serde_core", +] + +[[package]] +name = "bitvec" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[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 = "borsh" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f3f6da4992df95bbcd9af42a6c7dcb994498fc9048230405f3b36ff7cd3f145" +dependencies = [ + "borsh-derive", + "bytes", + "cfg_aliases", +] + +[[package]] +name = "borsh-derive" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae8fb4fb5740e4b2c4884ff95f5f32f5e8479db1e8fd8eb49ddbe09eb09bb7c" +dependencies = [ + "once_cell", + "proc-macro-crate 3.5.0", + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[package]] +name = "brotli" +version = "8.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cc91aac060a7a1e25823bdccbfb6af1875b88f17c6daac97894eed8207166b3" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor", +] + +[[package]] +name = "brotli-decompressor" +version = "5.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583" +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 = "byte-unit" +version = "5.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a813de7f2bbedb7dce265b64f1cf5908ebe4d56281ece8d847e98113788b9b0" +dependencies = [ + "rust_decimal", + "schemars 1.2.1", + "serde", + "utf8-width", +] + +[[package]] +name = "bytecheck" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" +dependencies = [ + "bytecheck_derive", + "ptr_meta", + "simdutf8", +] + +[[package]] +name = "bytecheck_derive" +version = "0.6.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "bytemuck" +version = "1.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6aedf8ae72766347502cf3cb4f41cf5e9cc37d28bee90f1fdaaae15f9cf9424" + +[[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.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +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.13.0", + "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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f2d30e4173c4026932d51d31d6b0613b1fd3014bf3f9f8943d4ba139c437ba0" +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.67" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38" +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 = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "chacha20" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.0", + "rand_core 0.10.1", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +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 = "cookie" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747" +dependencies = [ + "percent-encoding", + "time", + "version_check", +] + +[[package]] +name = "cookie_store" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15b2c103cf610ec6cae3da84a766285b42fd16aad564758459e6ecf128c75206" +dependencies = [ + "cookie", + "document-features", + "idna", + "log", + "publicsuffix", + "serde", + "serde_derive", + "serde_json", + "time", + "url", +] + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[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.13.0", + "core-foundation 0.10.1", + "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.13.0", + "core-foundation 0.10.1", + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +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.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d85363c37faeca707aef026efa9f3b34d077bce547e48f770770625c6013679e" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61803da095bee82a81bb1a452ecc25d3b2f1416d1897eb86430c6159ef717c17" + +[[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.118", +] + +[[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.118", +] + +[[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.118", +] + +[[package]] +name = "data-url" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376" + +[[package]] +name = "dbus" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ab69f03cc8c4340c9c8e315114e1658e6775a9b16a04357973aa21cec22b32e" +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 = [ + "serde_core", +] + +[[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.118", +] + +[[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 = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" +dependencies = [ + "dirs-sys", +] + +[[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", + "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.13.0", + "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.118", +] + +[[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.118", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", +] + +[[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", + "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.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbfdaacccebec3b28e4866b8973543c7647797db5ada1bdab552e48fe665fbbd" +dependencies = [ + "cc", + "memchr", + "rustc_version", + "toml 1.1.2+spec-1.1.0", + "vswhom", + "winreg", +] + +[[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 = "env_filter" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" +dependencies = [ + "log", + "regex", +] + +[[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 = "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 = "fern" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4316185f709b23713e41e3195f90edef7fb00c3ed4adc79769cf09cc762a3b29" +dependencies = [ + "log", +] + +[[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 = "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.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.118", +] + +[[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 = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[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-macro" +version = "0.3.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[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", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[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.13.0", + "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.118", +] + +[[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 = "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.118", +] + +[[package]] +name = "h2" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cb093c84e8bd9b188d4c4a8cb6579fc016968d14c99882163cd3ff402a4f155" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap 2.14.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +dependencies = [ + "ahash", +] + +[[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 = "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425" +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", + "h2", + "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", + "webpki-roots", +] + +[[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", + "system-configuration", + "tokio", + "tower-service", + "tracing", + "windows-registry", +] + +[[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 = "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-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.118", +] + +[[package]] +name = "js-sys" +version = "0.3.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53b44bfcdb3f8d5837a46dae1ca9660a837176eee74a28b229bc626816589102" +dependencies = [ + "cfg-if", + "futures-util", + "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.13.0", + "serde", + "unicode-segmentation", +] + +[[package]] +name = "keyring" +version = "3.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eebcc3aff044e5944a8fbaf69eb277d11986064cba30c468730e8b9909fb551c" +dependencies = [ + "log", + "security-framework 2.11.1", + "security-framework 3.7.0", + "zeroize", +] + +[[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.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c943259e342f1e06ff2da7a83eabdfe7f92ce10262688dbf1895ff0b3e6e4652" +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 = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" + +[[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.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" +dependencies = [ + "value-bag", +] + +[[package]] +name = "lru-slab" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" + +[[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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[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 = "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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dd04e60bc0b07438a6771710ee1698f98f6ebbc7f89b61264af1563b8aeb878" +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.13.0", + "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 = "nix" +version = "0.31.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +dependencies = [ + "bitflags 2.13.0", + "cfg-if", + "cfg_aliases", + "libc", +] + +[[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.118", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[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.13.0", + "block2", + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + +[[package]] +name = "objc2-cloud-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" +dependencies = [ + "bitflags 2.13.0", + "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 = [ + "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.13.0", + "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.13.0", + "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.13.0", + "objc2", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[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.13.0", + "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.13.0", + "objc2", + "objc2-core-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.13.0", + "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.13.0", + "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.13.0", + "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.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0b3d059e795d52b8a72fef45658620edd4d9c359b338564aa14391ffa511ed5" +dependencies = [ + "dunce", + "is-wsl", + "libc", +] + +[[package]] +name = "openagentic-desktop" +version = "0.1.0" +dependencies = [ + "keyring", + "serde", + "serde_json", + "tauri", + "tauri-build", + "tauri-plugin-dialog", + "tauri-plugin-http", + "tauri-plugin-log", + "tauri-plugin-os", + "tauri-plugin-shell", + "tokio", + "window-vibrancy", +] + +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + +[[package]] +name = "os_info" +version = "3.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf20a545b305cf1da722b236b5155c9bb35f1d5ceb28c048bd96ca842f41b5b" +dependencies = [ + "android_system_properties", + "log", + "nix", + "objc2", + "objc2-foundation", + "objc2-ui-kit", + "serde", + "windows-sys 0.61.2", +] + +[[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 = "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_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 = "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.118", +] + +[[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 = "pkg-config" +version = "0.3.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" + +[[package]] +name = "plist" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85" +dependencies = [ + "base64 0.22.1", + "indexmap 2.14.0", + "quick-xml", + "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.13.0", + "crc32fast", + "fdeflate", + "flate2", + "miniz_oxide", +] + +[[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 = "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 = "psl-types" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac" + +[[package]] +name = "ptr_meta" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" +dependencies = [ + "ptr_meta_derive", +] + +[[package]] +name = "ptr_meta_derive" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "publicsuffix" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f42ea446cab60335f76979ec15e12619a2165b5ae2c12166bef27d283a9fadf" +dependencies = [ + "idna", + "psl-types", +] + +[[package]] +name = "pxfm" +version = "0.1.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea" + +[[package]] +name = "quick-xml" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" +dependencies = [ + "memchr", +] + +[[package]] +name = "quinn" +version = "0.11.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c1a41e437b6bbd489372cd4971de128e85c855f56c57f283d20ff016cf7c0a8" +dependencies = [ + "bytes", + "cfg_aliases", + "pin-project-lite", + "quinn-proto", + "quinn-udp", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.18", + "tokio", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-proto" +version = "0.11.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560" +dependencies = [ + "bytes", + "getrandom 0.4.3", + "lru-slab", + "rand 0.10.2", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "thiserror 2.0.18", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "quinn-udp" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35a133f956daabe89a61a685c2649f13d82d5aa4bd5d12d1277e1072a21c0694" +dependencies = [ + "cfg_aliases", + "libc", + "once_cell", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "quote" +version = "1.0.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368" +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 = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22f6172bdec972074665ed81ed53b71da00bfc44b65a753cfde883ec4c702a1a" +dependencies = [ + "libc", + "rand_chacha", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + +[[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.13.0", +] + +[[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.118", +] + +[[package]] +name = "regex" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a0e75113e14dc5acb068cd0786884f214f1312650a3d36d269f5c4f3cdee8a2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f388202e4b80542a0921078cc23b6333bcf1409c1e3f86404cae4766a6131db" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rend" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" +dependencies = [ + "bytecheck", +] + +[[package]] +name = "reqwest" +version = "0.12.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +dependencies = [ + "base64 0.22.1", + "bytes", + "cookie", + "cookie_store", + "encoding_rs", + "futures-core", + "h2", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "mime", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls", + "rustls-pki-types", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "webpki-roots", +] + +[[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-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "serde", + "serde_json", + "sync_wrapper", + "tokio", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "rfd" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672" +dependencies = [ + "block2", + "dispatch2", + "glib-sys", + "gobject-sys", + "gtk-sys", + "js-sys", + "log", + "objc2", + "objc2-app-kit", + "objc2-core-foundation", + "objc2-foundation", + "raw-window-handle", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "windows-sys 0.60.2", +] + +[[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 = "rkyv" +version = "0.7.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2297bf9c81a3f0dc96bc9521370b88f054168c29826a75e89c55ff196e7ed6a1" +dependencies = [ + "bitvec", + "bytecheck", + "bytes", + "hashbrown 0.12.3", + "ptr_meta", + "rend", + "rkyv_derive", + "seahash", + "tinyvec", + "uuid", +] + +[[package]] +name = "rkyv_derive" +version = "0.7.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84d7b42d4b8d06048d3ac8db0eb31bcb942cbeb709f0b5f2b2ebde398d3038f5" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "rust_decimal" +version = "1.42.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be2a24f50780bc85f09cc6ac299bdf1424302742d77221106859c9d8b102126a" +dependencies = [ + "arrayvec", + "borsh", + "bytes", + "num-traits", + "rand 0.8.7", + "rkyv", + "serde", + "serde_json", + "wasm-bindgen", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[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.13.0", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls" +version = "0.23.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b92b125634d9b795e7beca796cc790df15a7fb38323bf3196fda83292d06b1f" +dependencies = [ + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "764899a24af3980067ee14bc143654f297b22eaebfe3c7b6b211920a5a59b046" +dependencies = [ + "web-time", + "zeroize", +] + +[[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.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[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 = "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.118", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "seahash" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" + +[[package]] +name = "security-framework" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" +dependencies = [ + "bitflags 2.13.0", + "core-foundation 0.9.4", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags 2.13.0", + "core-foundation 0.10.1", + "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.13.0", + "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.118", +] + +[[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.118", +] + +[[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.118", +] + +[[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_urlencoded" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +dependencies = [ + "form_urlencoded", + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "serde_with" +version = "3.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a5c54c7310e7b8b9577c286d7e399ddd876c3e12b3ed917a8aabc4b96e9e8c" +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.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84d57bc0c8b9a17920c178daa6bb924850d54a9c97ab45194bb8c17ad66bb660" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[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.118", +] + +[[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 0.2.17", + "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 = "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.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" + +[[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", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.118" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422" +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.118", +] + +[[package]] +name = "sys-locale" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4" +dependencies = [ + "libc", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags 2.13.0", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[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.13.0", + "block2", + "core-foundation 0.10.1", + "core-graphics", + "crossbeam-channel", + "dbus", + "dispatch2", + "dlopen2", + "dpi", + "gdkwayland-sys", + "gdkx11-sys", + "gtk", + "jni", + "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.118", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[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.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "667b20e2726d572dea2de7370da16e188eb06008faf9a92fab7cdc46791190b5" +dependencies = [ + "anyhow", + "bytes", + "cookie", + "dirs", + "dunce", + "embed_plist", + "getrandom 0.3.4", + "glob", + "gtk", + "heck 0.5.0", + "http", + "image", + "jni", + "libc", + "log", + "mime", + "muda", + "objc2", + "objc2-app-kit", + "objc2-foundation", + "objc2-ui-kit", + "objc2-web-kit", + "percent-encoding", + "plist", + "raw-window-handle", + "reqwest 0.13.4", + "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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9ce40b16101cb6ea63d3e221567affd1c3a9205f95d7bc574941a10636b632" +dependencies = [ + "anyhow", + "cargo_toml", + "dirs", + "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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08279169ff42f8fc45a1dbc9dcae888893ba95288142e5880c59b93a26d2cfc5" +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.118", + "tauri-utils", + "thiserror 2.0.18", + "time", + "url", + "uuid", + "walkdir", +] + +[[package]] +name = "tauri-macros" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8b394794f399a421811d06966343e7933fcae92d59f5180b9388d1174497a45" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "syn 2.0.118", + "tauri-codegen", + "tauri-utils", +] + +[[package]] +name = "tauri-plugin" +version = "2.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74be5dd4bed9afbd145e5716b5fa2ec28cbc29c34ffa61c258c9273d896c8020" +dependencies = [ + "anyhow", + "glob", + "plist", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri-utils", + "walkdir", +] + +[[package]] +name = "tauri-plugin-dialog" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65981abb771e74e571a38196c3baa11c459379164791eba0e67abc1a5fac9884" +dependencies = [ + "log", + "raw-window-handle", + "rfd", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "tauri-plugin-fs", + "thiserror 2.0.18", + "url", +] + +[[package]] +name = "tauri-plugin-fs" +version = "2.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7ecc274121aca0c036a2b42d1cbe83d368d348f54e0bb8a735c2b1548e8f371" +dependencies = [ + "anyhow", + "dunce", + "glob", + "log", + "objc2-foundation", + "percent-encoding", + "schemars 0.8.22", + "serde", + "serde_json", + "serde_repr", + "tauri", + "tauri-plugin", + "tauri-utils", + "thiserror 2.0.18", + "toml 1.1.2+spec-1.1.0", + "url", +] + +[[package]] +name = "tauri-plugin-http" +version = "2.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5bd512048e1985b7ec78f96d99083e2ddaf7e0d906b2b63c44ce5bb8b894067" +dependencies = [ + "bytes", + "cookie_store", + "data-url", + "http", + "regex", + "reqwest 0.12.28", + "schemars 0.8.22", + "serde", + "serde_json", + "tauri", + "tauri-plugin", + "tauri-plugin-fs", + "thiserror 2.0.18", + "tokio", + "url", + "urlpattern", +] + +[[package]] +name = "tauri-plugin-log" +version = "2.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7545bd67f070a4500432c826e2e0682146a1d6712aee22a2786490156b574d93" +dependencies = [ + "android_logger", + "byte-unit", + "fern", + "log", + "objc2", + "objc2-foundation", + "serde", + "serde_json", + "serde_repr", + "swift-rs", + "tauri", + "tauri-plugin", + "thiserror 2.0.18", + "time", +] + +[[package]] +name = "tauri-plugin-os" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8f08346c8deb39e96f86973da0e2d76cbb933d7ac9b750f6dc4daf955a6f997" +dependencies = [ + "gethostname", + "log", + "os_info", + "serde", + "serde_json", + "serialize-to-javascript", + "sys-locale", + "tauri", + "tauri-plugin", + "thiserror 2.0.18", +] + +[[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-runtime" +version = "2.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0b4bc95aed361b0019067d189a1174a603d460d0f6c72606512d59fc9c12ec8" +dependencies = [ + "cookie", + "dpi", + "gtk", + "http", + "jni", + "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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e6fac707727b7a2f48e4ded90976324267371073edbb415ffb73bb0458d203f" +dependencies = [ + "gtk", + "http", + "jni", + "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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e176a18e67764923c4f1ce66f25ae4abe5f688384d5eb1a0fa6c77f3d90f887" +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 = "tendril" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fed54709c5b3a53d09bb1c113ea4f5ceafd1e772ddcb0030a82e1d56c087b08" +dependencies = [ + "new_debug_unreachable", +] + +[[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.118", +] + +[[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.118", +] + +[[package]] +name = "time" +version = "0.3.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18dfaaeddcb932337b5e7866ee7d0ce9b76d2fd092997146f187ec09b4558a50" +dependencies = [ + "deranged", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c431b87111666e491a90baa837f914fb45cd5dc3c268591b0220ff5057f2085f" +dependencies = [ + "num-conv", + "time-core", +] + +[[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.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f" +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", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[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.13.0", + "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-core", +] + +[[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.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65ba1e5f6b9ef9fd87e21b9c6f351554dbd717960089168fcfdef854686961dc" +dependencies = [ + "crossbeam-channel", + "dirs", + "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 = "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 = "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 = "utf8-width" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "159a7cadce548703edd50d24069bc294c5415ecab0a480e0cd1ca06d112dc94a" + +[[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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf80a72845275afea99e7f2b434723d3bc7e38470fcd1c7ed39a599c73319a53" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "serde_core", + "wasm-bindgen", +] + +[[package]] +name = "value-bag" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ba6f5989077681266825251a52748b8c1d8a4ad098cc37e440103d0ea717fc0" + +[[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.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.126" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b067c0c11094aef6b7a801c1e34a26affafdf3d051dba08456b868789aaf9a4" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.76" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c62df1340f32221cb9c54d6a27b030e3dba64361d4a95bed55f9aacb44da291d" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.126" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "167ce5e579f6bcf889c4f7175a8a5a585de84e8ff93976ce393efa5f2837aab1" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.126" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3997c7839262f4ef12cf90b818d6340c18e80f263f1a94bf157d0ec4420380e" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 2.0.118", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.126" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc1b4cb0cc549fcf58d7dfc081778139b3d283a081644e833e84682ad71cea24" +dependencies = [ + "unicode-ident", +] + +[[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 = "web-sys" +version = "0.3.103" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8622dcb61c0bcc9fffa6938bed81210af2da9a7e4a1a834b2e37a59b6dfb6141" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web_atoms" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "075474b12bcb3d2e3d4546580e9de478eeeead668a1761e2a8860c836b7ef297" +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-roots" +version = "1.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf85cb06032201fa7c6f829d7db5a7e5aa45bcc0655327713065f6f0576731bf" +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.118", +] + +[[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.118", +] + +[[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.118", +] + +[[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.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[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.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.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[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", + "dom_query", + "dpi", + "dunce", + "gdkx11", + "gtk", + "http", + "javascriptcore-rs", + "jni", + "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 = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[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 = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +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.118", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7cbbc0a705a0fd05cc3676525980d2bf5a9bc4adac6d6475209a7887cf59d19" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.54" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2e817b7b52d0c7358d3246da9d69935ebb18116b2b102b4230dac079b4862f5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.118", +] + +[[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.118", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e" + +[[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.118", +] + +[[package]] +name = "zmij" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" diff --git a/companions/desktop/src-tauri/Cargo.toml b/companions/desktop/src-tauri/Cargo.toml new file mode 100644 index 000000000..a34d154ac --- /dev/null +++ b/companions/desktop/src-tauri/Cargo.toml @@ -0,0 +1,26 @@ +[package] +name = "openagentic-desktop" +version = "0.1.0" +description = "OpenAgentic desktop companion" +authors = ["OpenAgentic"] +edition = "2021" + +[lib] +name = "openagentic_desktop_lib" +crate-type = ["staticlib", "cdylib", "rlib"] + +[build-dependencies] +tauri-build = { version = "2.5", features = [] } + +[dependencies] +tauri = { version = "2.5", features = ["tray-icon", "image-png", "macos-private-api"] } +tauri-plugin-shell = "2" +tauri-plugin-dialog = "2" +tauri-plugin-http = "2" +tauri-plugin-os = "2" +tauri-plugin-log = "2" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +tokio = { version = "1", features = ["full"] } +keyring = { version = "3", features = ["apple-native"] } +window-vibrancy = "0.6" diff --git a/companions/desktop/src-tauri/build.rs b/companions/desktop/src-tauri/build.rs new file mode 100644 index 000000000..d860e1e6a --- /dev/null +++ b/companions/desktop/src-tauri/build.rs @@ -0,0 +1,3 @@ +fn main() { + tauri_build::build() +} diff --git a/companions/desktop/src-tauri/capabilities/default.json b/companions/desktop/src-tauri/capabilities/default.json new file mode 100644 index 000000000..9a549d7ef --- /dev/null +++ b/companions/desktop/src-tauri/capabilities/default.json @@ -0,0 +1,47 @@ +{ + "$schema": "../gen/schemas/desktop-schema.json", + "identifier": "default", + "description": "Default capability for the main window", + "windows": ["main"], + "permissions": [ + "core:default", + "shell:default", + { + "identifier": "shell:allow-spawn", + "allow": [ + { + "name": "binaries/agenticode-cli", + "sidecar": true, + "args": [ + "--print", + "--verbose", + "--output-format", + "stream-json", + "--input-format", + "stream-json", + "--include-partial-messages", + "--replay-user-messages", + "--permission-prompt-tool", + "stdio" + ] + } + ] + }, + "shell:allow-stdin-write", + "shell:allow-kill", + "dialog:default", + "dialog:allow-open", + "os:default", + "os:allow-hostname", + "log:default", + { + "identifier": "http:default", + "allow": [ + { "url": "http://localhost:*/*" }, + { "url": "http://127.0.0.1:*/*" }, + { "url": "http://**/*" }, + { "url": "https://**/*" } + ] + } + ] +} diff --git a/companions/desktop/src-tauri/icons/128x128.png b/companions/desktop/src-tauri/icons/128x128.png new file mode 100644 index 000000000..5a10c0c1e Binary files /dev/null and b/companions/desktop/src-tauri/icons/128x128.png differ diff --git a/companions/desktop/src-tauri/icons/128x128@2x.png b/companions/desktop/src-tauri/icons/128x128@2x.png new file mode 100644 index 000000000..6d0a3d179 Binary files /dev/null and b/companions/desktop/src-tauri/icons/128x128@2x.png differ diff --git a/companions/desktop/src-tauri/icons/32x32.png b/companions/desktop/src-tauri/icons/32x32.png new file mode 100644 index 000000000..a5609f384 Binary files /dev/null and b/companions/desktop/src-tauri/icons/32x32.png differ diff --git a/companions/desktop/src-tauri/icons/64x64.png b/companions/desktop/src-tauri/icons/64x64.png new file mode 100644 index 000000000..19a6f54a0 Binary files /dev/null and b/companions/desktop/src-tauri/icons/64x64.png differ diff --git a/companions/desktop/src-tauri/icons/Square107x107Logo.png b/companions/desktop/src-tauri/icons/Square107x107Logo.png new file mode 100644 index 000000000..364faa8c1 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square107x107Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square142x142Logo.png b/companions/desktop/src-tauri/icons/Square142x142Logo.png new file mode 100644 index 000000000..679d5d64a Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square142x142Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square150x150Logo.png b/companions/desktop/src-tauri/icons/Square150x150Logo.png new file mode 100644 index 000000000..08ae45f06 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square150x150Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square284x284Logo.png b/companions/desktop/src-tauri/icons/Square284x284Logo.png new file mode 100644 index 000000000..47282b71d Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square284x284Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square30x30Logo.png b/companions/desktop/src-tauri/icons/Square30x30Logo.png new file mode 100644 index 000000000..950773fb1 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square30x30Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square310x310Logo.png b/companions/desktop/src-tauri/icons/Square310x310Logo.png new file mode 100644 index 000000000..9e6fe7927 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square310x310Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square44x44Logo.png b/companions/desktop/src-tauri/icons/Square44x44Logo.png new file mode 100644 index 000000000..6a8abe9b7 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square44x44Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square71x71Logo.png b/companions/desktop/src-tauri/icons/Square71x71Logo.png new file mode 100644 index 000000000..b44b97ab1 Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square71x71Logo.png differ diff --git a/companions/desktop/src-tauri/icons/Square89x89Logo.png b/companions/desktop/src-tauri/icons/Square89x89Logo.png new file mode 100644 index 000000000..72a5eb53c Binary files /dev/null and b/companions/desktop/src-tauri/icons/Square89x89Logo.png differ diff --git a/companions/desktop/src-tauri/icons/StoreLogo.png b/companions/desktop/src-tauri/icons/StoreLogo.png new file mode 100644 index 000000000..902d68a3d Binary files /dev/null and b/companions/desktop/src-tauri/icons/StoreLogo.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml b/companions/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000..2ffbf24b6 --- /dev/null +++ b/companions/desktop/src-tauri/icons/android/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..9f29380b5 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..e4287682b Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000..efdf78f36 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..de6de1653 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..34c7f6f9c Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000..958e07009 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..489766fb3 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..3e0b4780d Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000..b25ca0991 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..473d66900 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..91a7a2f33 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..e1f6ada32 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..2c2cff184 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..8d19dde85 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000..07145c540 Binary files /dev/null and b/companions/desktop/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/companions/desktop/src-tauri/icons/android/values/ic_launcher_background.xml b/companions/desktop/src-tauri/icons/android/values/ic_launcher_background.xml new file mode 100644 index 000000000..ea9c223a6 --- /dev/null +++ b/companions/desktop/src-tauri/icons/android/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #fff + \ No newline at end of file diff --git a/companions/desktop/src-tauri/icons/icon.icns b/companions/desktop/src-tauri/icons/icon.icns new file mode 100644 index 000000000..f49d32f61 Binary files /dev/null and b/companions/desktop/src-tauri/icons/icon.icns differ diff --git a/companions/desktop/src-tauri/icons/icon.ico b/companions/desktop/src-tauri/icons/icon.ico new file mode 100644 index 000000000..bcae167cf Binary files /dev/null and b/companions/desktop/src-tauri/icons/icon.ico differ diff --git a/companions/desktop/src-tauri/icons/icon.png b/companions/desktop/src-tauri/icons/icon.png new file mode 100644 index 000000000..f32c3b54b Binary files /dev/null and b/companions/desktop/src-tauri/icons/icon.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@1x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@1x.png new file mode 100644 index 000000000..c8e957c2d Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@1x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x-1.png b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x-1.png new file mode 100644 index 000000000..31688c2b9 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x-1.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x.png new file mode 100644 index 000000000..31688c2b9 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@3x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@3x.png new file mode 100644 index 000000000..fb7d24e91 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-20x20@3x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@1x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@1x.png new file mode 100644 index 000000000..cbbfcb565 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@1x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x-1.png b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x-1.png new file mode 100644 index 000000000..c6a27983d Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x-1.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x.png new file mode 100644 index 000000000..c6a27983d Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@3x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@3x.png new file mode 100644 index 000000000..27ffb834e Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-29x29@3x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@1x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@1x.png new file mode 100644 index 000000000..31688c2b9 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@1x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x-1.png b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x-1.png new file mode 100644 index 000000000..1df84a0fe Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x-1.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x.png new file mode 100644 index 000000000..1df84a0fe Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@3x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@3x.png new file mode 100644 index 000000000..20caa751e Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-40x40@3x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-512@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-512@2x.png new file mode 100644 index 000000000..912423842 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-512@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@2x.png new file mode 100644 index 000000000..20caa751e Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@3x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@3x.png new file mode 100644 index 000000000..3f77dc9e9 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-60x60@3x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@1x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@1x.png new file mode 100644 index 000000000..0eece3162 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@1x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@2x.png new file mode 100644 index 000000000..3cc38464c Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-76x76@2x.png differ diff --git a/companions/desktop/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png b/companions/desktop/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png new file mode 100644 index 000000000..0523d9892 Binary files /dev/null and b/companions/desktop/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png differ diff --git a/companions/desktop/src-tauri/src/code_spawn.rs b/companions/desktop/src-tauri/src/code_spawn.rs new file mode 100644 index 000000000..06b4d5a59 --- /dev/null +++ b/companions/desktop/src-tauri/src/code_spawn.rs @@ -0,0 +1,79 @@ +//! Env assembly for the agenticode CLI sidecar. +//! +//! The sidecar itself is spawned from JS via `@tauri-apps/plugin-shell` (see +//! `src/host/tauriHost.ts`); the plugin merges the returned `env` map onto the +//! app's inherited environment. The one thing JS can't see is the real process +//! PATH — so this module exposes it (with Homebrew / local-bin promoted) as a +//! command the host prepends the vendored `rg` dir onto. + +use std::collections::HashSet; + +/// Platform PATH separator: `;` on Windows, `:` elsewhere. +#[cfg(windows)] +const PATH_SEP: &str = ";"; +#[cfg(not(windows))] +const PATH_SEP: &str = ":"; + +/// Build a PATH that places `priority_dirs` (kept in the given order) ahead of +/// everything already in `existing`. +/// +/// Contract: empty segments are discarded; a directory survives only its FIRST +/// appearance, so naming a dir that's already somewhere in `existing` promotes +/// it to the front rather than duplicating it. Segments are joined with the +/// platform separator. +fn compose_path(priority_dirs: &[String], existing: &str) -> String { + let mut seen: HashSet<&str> = HashSet::new(); + let mut ordered: Vec<&str> = Vec::new(); + + let candidates = priority_dirs + .iter() + .map(String::as_str) + .chain(existing.split(PATH_SEP)); + + for dir in candidates { + if dir.is_empty() { + continue; + } + // HashSet::insert is false on a repeat — only first sightings are kept. + if seen.insert(dir) { + ordered.push(dir); + } + } + + ordered.join(PATH_SEP) +} + +/// Return the PATH the spawned CLI should inherit as its base — the app's own +/// PATH with Homebrew / local-bin promoted. A GUI-launched macOS app inherits a +/// stripped launchd PATH (`/usr/bin:/bin:/usr/sbin:/sbin`) that omits +/// `/opt/homebrew/bin` and `/usr/local/bin`, so without this promotion the +/// CLI's Bash tool can't find user-installed binaries. The host (JS) prepends +/// the vendored `rg` dir onto this before spawning. +#[tauri::command] +pub fn code_spawn_base_path() -> String { + let inherited = std::env::var("PATH").unwrap_or_default(); + #[cfg(unix)] + let promoted: Vec = vec!["/opt/homebrew/bin".into(), "/usr/local/bin".into()]; + #[cfg(not(unix))] + let promoted: Vec = Vec::new(); + compose_path(&promoted, &inherited) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn compose_dedupes_and_orders() { + let got = compose_path( + &["/a".into(), "/b".into()], + &format!("/b{sep}/c{sep}{sep}/a", sep = PATH_SEP), + ); + assert_eq!(got, format!("/a{sep}/b{sep}/c", sep = PATH_SEP)); + } + + #[test] + fn compose_handles_empty_inherited() { + assert_eq!(compose_path(&["/a".into()], ""), "/a"); + } +} diff --git a/companions/desktop/src-tauri/src/keychain.rs b/companions/desktop/src-tauri/src/keychain.rs new file mode 100644 index 000000000..95b0e83e0 --- /dev/null +++ b/companions/desktop/src-tauri/src/keychain.rs @@ -0,0 +1,41 @@ +//! OS keychain access for the desktop app's durable secrets (the API key and +//! the JSON profile). Everything is stored under one service name so the +//! entries group together in Keychain Access / the platform credential store. +//! +//! The frontend reaches these via `invoke("secret_get" | "secret_set" | +//! "secret_delete", …)` behind the Tauri `Host` (`src/host/tauriHost.ts`). + +use keyring::{Entry, Error as KeyringError}; + +const SERVICE: &str = "io.openagentics.desktop"; + +/// Read a secret. Returns `Ok(None)` when the key was never set (a normal +/// first-run state), and `Err` only for genuine keychain failures. +#[tauri::command] +pub fn secret_get(key: String) -> Result, String> { + let entry = Entry::new(SERVICE, &key).map_err(|e| e.to_string())?; + match entry.get_password() { + Ok(v) => Ok(Some(v)), + Err(KeyringError::NoEntry) => Ok(None), + Err(e) => Err(e.to_string()), + } +} + +/// Create or overwrite a secret. +#[tauri::command] +pub fn secret_set(key: String, value: String) -> Result<(), String> { + let entry = Entry::new(SERVICE, &key).map_err(|e| e.to_string())?; + entry.set_password(&value).map_err(|e| e.to_string()) +} + +/// Delete a secret. Deleting a key that isn't present is a no-op success so +/// sign-out is idempotent. +#[tauri::command] +pub fn secret_delete(key: String) -> Result<(), String> { + let entry = Entry::new(SERVICE, &key).map_err(|e| e.to_string())?; + match entry.delete_credential() { + Ok(()) => Ok(()), + Err(KeyringError::NoEntry) => Ok(()), + Err(e) => Err(e.to_string()), + } +} diff --git a/companions/desktop/src-tauri/src/lib.rs b/companions/desktop/src-tauri/src/lib.rs new file mode 100644 index 000000000..8a17a62af --- /dev/null +++ b/companions/desktop/src-tauri/src/lib.rs @@ -0,0 +1,46 @@ +#[cfg(target_os = "macos")] +use tauri::Manager; +#[cfg(target_os = "macos")] +use window_vibrancy::{apply_vibrancy, NSVisualEffectMaterial}; + +mod code_spawn; +mod keychain; +mod workspace; + +#[cfg_attr(mobile, tauri::mobile_entry_point)] +pub fn run() { + tauri::Builder::default() + .plugin(tauri_plugin_shell::init()) + .plugin(tauri_plugin_dialog::init()) + .plugin(tauri_plugin_http::init()) + .plugin(tauri_plugin_os::init()) + .plugin(tauri_plugin_log::Builder::new().build()) + .manage(workspace::WorkspaceState::default()) + .setup(|_app| { + #[cfg(target_os = "macos")] + { + let window = _app + .get_webview_window("main") + .expect("main window not found during setup"); + apply_vibrancy(&window, NSVisualEffectMaterial::Sidebar, None, None) + .expect( + "failed to apply macOS vibrancy — requires macOS 10.14+ and the \ + macos-private-api feature", + ); + } + Ok(()) + }) + .invoke_handler(tauri::generate_handler![ + keychain::secret_get, + keychain::secret_set, + keychain::secret_delete, + code_spawn::code_spawn_base_path, + workspace::ws_set_roots, + workspace::ws_read_file, + workspace::ws_write_file, + workspace::ws_list_dir, + workspace::ws_exec + ]) + .run(tauri::generate_context!()) + .expect("error while running the OpenAgentic desktop application"); +} diff --git a/companions/desktop/src-tauri/src/main.rs b/companions/desktop/src-tauri/src/main.rs new file mode 100644 index 000000000..e23c9ee26 --- /dev/null +++ b/companions/desktop/src-tauri/src/main.rs @@ -0,0 +1,7 @@ +// Prevents an additional console window from appearing on Windows in release +// builds. Do not remove. +#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] + +fn main() { + openagentic_desktop_lib::run() +} diff --git a/companions/desktop/src-tauri/src/workspace.rs b/companions/desktop/src-tauri/src/workspace.rs new file mode 100644 index 000000000..038faca4c --- /dev/null +++ b/companions/desktop/src-tauri/src/workspace.rs @@ -0,0 +1,390 @@ +//! Workspace file/exec bridge — the local hands the PLATFORM chat gets when the +//! user gives it permission (Task 13). Every command here is invoked from JS +//! (`src/host/tauriHost.ts` → `host.ws.*`) on behalf of a `workspace_*` tool the +//! chat agent called. +//! +//! # Security boundary +//! +//! This module is the ONE place path safety is enforced — the TS layer never +//! assumes a path is safe. The rules, applied to EVERY path: +//! +//! 1. Roots are approved up front (`ws_set_roots`) and stored **canonicalized** +//! (symlinks + `..` resolved, must be existing directories). +//! 2. Every target path is canonicalized before use. For a write to a +//! not-yet-existing file we canonicalize the *parent* and re-append the leaf +//! — so a symlinked parent still resolves and can't smuggle the write out of +//! the root. +//! 3. The canonical target must be `starts_with` one of the canonical roots +//! (component-wise, not a string prefix). Traversal (`..`), absolute paths +//! outside a root, and symlink escapes all fail this check. +//! 4. `ws_exec` refuses entirely when no root is approved, and runs with a cwd +//! that itself must resolve under a root. +//! +//! Outputs are bounded (file-read cap, exec-output cap, dir-entry cap) so a +//! hostile or accidental huge result can't blow up the webview or the request. + +use serde::Serialize; +use std::fs; +use std::path::{Path, PathBuf}; +use std::sync::Mutex; +use tauri::State; + +/// Max bytes returned from `ws_read_file` (larger files are truncated). +const MAX_READ_BYTES: usize = 2 * 1024 * 1024; +/// Max bytes accepted by `ws_write_file`. +const MAX_WRITE_BYTES: usize = 8 * 1024 * 1024; +/// Max entries returned from `ws_list_dir`. +const MAX_LIST_ENTRIES: usize = 2000; +/// Max bytes captured per stdout/stderr stream in `ws_exec`. +const MAX_EXEC_OUTPUT: usize = 256 * 1024; + +/// Managed state: the canonicalized approved workspace roots. +#[derive(Default)] +pub struct WorkspaceState { + roots: Mutex>, +} + +#[derive(Serialize)] +pub struct WsDirEntry { + name: String, + path: String, + #[serde(rename = "isDir")] + is_dir: bool, +} + +#[derive(Serialize)] +pub struct WsExecResult { + code: i32, + stdout: String, + stderr: String, +} + +// --- path safety (pure, unit-tested) --------------------------------------- + +/// Canonicalize `input`. With `allow_missing`, a not-yet-existing leaf is +/// tolerated by canonicalizing its parent and re-appending the (non-traversal) +/// file name — the parent chain is still fully resolved (symlinks included). +fn canonicalize_target(input: &str, allow_missing: bool) -> Result { + if input.is_empty() { + return Err("empty path".into()); + } + let p = Path::new(input); + match fs::canonicalize(p) { + Ok(c) => Ok(c), + Err(_) if allow_missing => { + let parent = p + .parent() + .filter(|pp| !pp.as_os_str().is_empty()) + .ok_or_else(|| "path has no parent directory".to_string())?; + let name = p + .file_name() + .ok_or_else(|| "path has no file name".to_string())?; + if name == std::ffi::OsStr::new("..") || name == std::ffi::OsStr::new(".") { + return Err("invalid file name".into()); + } + let cparent = + fs::canonicalize(parent).map_err(|e| format!("parent directory not found: {e}"))?; + Ok(cparent.join(name)) + } + Err(e) => Err(format!("cannot resolve path: {e}")), + } +} + +/// Require `target` to sit inside one of the approved (canonical) `roots`. +fn ensure_within(roots: &[PathBuf], target: &Path) -> Result<(), String> { + if roots.is_empty() { + return Err("no approved workspace root".into()); + } + if roots.iter().any(|r| target.starts_with(r)) { + Ok(()) + } else { + Err("path is outside every approved workspace root".into()) + } +} + +/// Resolve an EXISTING path (read / list / exec cwd) under the roots. +fn resolve_readable(roots: &[PathBuf], input: &str) -> Result { + let t = canonicalize_target(input, false)?; + ensure_within(roots, &t)?; + Ok(t) +} + +/// Resolve a path to write (leaf may not exist yet) under the roots. +fn resolve_writable(roots: &[PathBuf], input: &str) -> Result { + let t = canonicalize_target(input, true)?; + ensure_within(roots, &t)?; + Ok(t) +} + +fn roots_snapshot(state: &WorkspaceState) -> Result, String> { + Ok(state + .roots + .lock() + .map_err(|_| "workspace state poisoned".to_string())? + .clone()) +} + +// --- commands --------------------------------------------------------------- + +/// Approve the given directories as workspace roots (replaces the prior set). +/// Each must exist and be a directory; stored canonicalized. Returns the +/// canonical paths actually approved. +#[tauri::command] +pub fn ws_set_roots(state: State, roots: Vec) -> Result, String> { + let mut canon = Vec::with_capacity(roots.len()); + for r in &roots { + let c = fs::canonicalize(r).map_err(|e| format!("root not found: {r}: {e}"))?; + if !c.is_dir() { + return Err(format!("root is not a directory: {r}")); + } + canon.push(c); + } + let out: Vec = canon.iter().map(|p| p.to_string_lossy().to_string()).collect(); + *state + .roots + .lock() + .map_err(|_| "workspace state poisoned".to_string())? = canon; + Ok(out) +} + +#[tauri::command] +pub fn ws_read_file(state: State, path: String) -> Result { + let roots = roots_snapshot(&state)?; + let target = resolve_readable(&roots, &path)?; + if target.is_dir() { + return Err("path is a directory, not a file".into()); + } + let bytes = fs::read(&target).map_err(|e| e.to_string())?; + if bytes.len() > MAX_READ_BYTES { + let mut s = String::from_utf8_lossy(&bytes[..MAX_READ_BYTES]).to_string(); + s.push_str("\n… [truncated: file exceeds the read cap]"); + Ok(s) + } else { + Ok(String::from_utf8_lossy(&bytes).to_string()) + } +} + +#[tauri::command] +pub fn ws_write_file(state: State, path: String, content: String) -> Result<(), String> { + if content.len() > MAX_WRITE_BYTES { + return Err("content exceeds the write cap".into()); + } + let roots = roots_snapshot(&state)?; + let target = resolve_writable(&roots, &path)?; + if target.is_dir() { + return Err("path is a directory".into()); + } + fs::write(&target, content).map_err(|e| e.to_string()) +} + +#[tauri::command] +pub fn ws_list_dir(state: State, path: String) -> Result, String> { + let roots = roots_snapshot(&state)?; + let target = resolve_readable(&roots, &path)?; + if !target.is_dir() { + return Err("path is not a directory".into()); + } + let mut out = Vec::new(); + for entry in fs::read_dir(&target).map_err(|e| e.to_string())? { + let entry = entry.map_err(|e| e.to_string())?; + let ft = entry.file_type().map_err(|e| e.to_string())?; + out.push(WsDirEntry { + name: entry.file_name().to_string_lossy().to_string(), + path: entry.path().to_string_lossy().to_string(), + is_dir: ft.is_dir(), + }); + if out.len() >= MAX_LIST_ENTRIES { + break; + } + } + Ok(out) +} + +/// Read up to `MAX_EXEC_OUTPUT` bytes, then keep draining (so the child never +/// blocks on a full pipe) but discard the overflow. +async fn read_capped(reader: Option) -> String +where + R: tokio::io::AsyncRead + Unpin + Send + 'static, +{ + use tokio::io::AsyncReadExt; + let Some(mut r) = reader else { + return String::new(); + }; + let mut buf: Vec = Vec::new(); + let mut chunk = [0u8; 8192]; + loop { + match r.read(&mut chunk).await { + Ok(0) => break, + Ok(n) => { + if buf.len() < MAX_EXEC_OUTPUT { + let take = n.min(MAX_EXEC_OUTPUT - buf.len()); + buf.extend_from_slice(&chunk[..take]); + } + } + Err(_) => break, + } + } + String::from_utf8_lossy(&buf).to_string() +} + +#[tauri::command] +pub async fn ws_exec( + state: State<'_, WorkspaceState>, + command: String, + cwd: String, + timeout_ms: u64, +) -> Result { + let roots = roots_snapshot(&state)?; + if roots.is_empty() { + return Err("no approved workspace root — refusing to run commands".into()); + } + let dir = resolve_readable(&roots, &cwd)?; + if !dir.is_dir() { + return Err("cwd is not a directory".into()); + } + + #[cfg(windows)] + let (shell, flag) = ("cmd", "/C"); + #[cfg(not(windows))] + let (shell, flag) = ("/bin/sh", "-c"); + + let mut child = tokio::process::Command::new(shell) + .arg(flag) + .arg(&command) + .current_dir(&dir) + .stdin(std::process::Stdio::null()) + .stdout(std::process::Stdio::piped()) + .stderr(std::process::Stdio::piped()) + .spawn() + .map_err(|e| format!("failed to spawn command: {e}"))?; + + let out_task = tokio::spawn(read_capped(child.stdout.take())); + let err_task = tokio::spawn(read_capped(child.stderr.take())); + + let dur = std::time::Duration::from_millis(timeout_ms.max(1)); + match tokio::time::timeout(dur, child.wait()).await { + Ok(Ok(status)) => { + let stdout = out_task.await.unwrap_or_default(); + let stderr = err_task.await.unwrap_or_default(); + Ok(WsExecResult { + code: status.code().unwrap_or(-1), + stdout, + stderr, + }) + } + Ok(Err(e)) => Err(format!("command failed: {e}")), + Err(_) => { + let _ = child.start_kill(); + let _ = child.wait().await; + let stdout = out_task.await.unwrap_or_default(); + let stderr = err_task.await.unwrap_or_default(); + Ok(WsExecResult { + code: -1, + stdout, + stderr: format!("{stderr}\n[timed out after {timeout_ms}ms]"), + }) + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + fn tmp_root(tag: &str) -> PathBuf { + let mut d = std::env::temp_dir(); + d.push(format!("oa-ws-test-{}-{}", tag, std::process::id())); + let _ = fs::remove_dir_all(&d); + fs::create_dir_all(&d).unwrap(); + fs::canonicalize(&d).unwrap() + } + + #[test] + fn accepts_a_file_inside_the_root() { + let root = tmp_root("ok"); + let f = root.join("a.txt"); + fs::write(&f, "hi").unwrap(); + let roots = vec![root.clone()]; + let got = resolve_readable(&roots, f.to_str().unwrap()).unwrap(); + assert!(got.starts_with(&root)); + } + + #[test] + fn rejects_parent_traversal_out_of_root() { + let base = tmp_root("trav"); + let root = base.join("inner"); + fs::create_dir_all(&root).unwrap(); + let secret = base.join("secret.txt"); + fs::write(&secret, "s").unwrap(); + let roots = vec![fs::canonicalize(&root).unwrap()]; + // /base/inner/../secret.txt canonicalizes to /base/secret.txt (outside inner). + let attack = root.join("..").join("secret.txt"); + let err = resolve_readable(&roots, attack.to_str().unwrap()).unwrap_err(); + assert!(err.contains("outside"), "unexpected: {err}"); + } + + #[test] + fn rejects_absolute_path_outside_root() { + let root = tmp_root("abs"); + let roots = vec![root]; + let err = resolve_readable(&roots, "/etc/hosts").unwrap_err(); + assert!(err.contains("outside"), "unexpected: {err}"); + } + + #[cfg(unix)] + #[test] + fn rejects_symlink_escaping_root() { + let base = tmp_root("sym"); + let root = base.join("inner"); + fs::create_dir_all(&root).unwrap(); + let outside = base.join("outside.txt"); + fs::write(&outside, "s").unwrap(); + let link = root.join("link.txt"); + std::os::unix::fs::symlink(&outside, &link).unwrap(); + let roots = vec![fs::canonicalize(&root).unwrap()]; + let err = resolve_readable(&roots, link.to_str().unwrap()).unwrap_err(); + assert!(err.contains("outside"), "unexpected: {err}"); + } + + #[cfg(unix)] + #[test] + fn write_rejects_symlinked_parent_escape() { + // A symlinked parent dir pointing outside the root must be resolved so a + // write to a NEW leaf underneath it is still caught. + let base = tmp_root("symparent"); + let root = base.join("inner"); + fs::create_dir_all(&root).unwrap(); + let elsewhere = base.join("elsewhere"); + fs::create_dir_all(&elsewhere).unwrap(); + let link_dir = root.join("evil"); + std::os::unix::fs::symlink(&elsewhere, &link_dir).unwrap(); + let roots = vec![fs::canonicalize(&root).unwrap()]; + let attack = link_dir.join("new.txt"); + let err = resolve_writable(&roots, attack.to_str().unwrap()).unwrap_err(); + assert!(err.contains("outside"), "unexpected: {err}"); + } + + #[test] + fn write_allows_a_new_file_under_root() { + let root = tmp_root("wnew"); + let roots = vec![root.clone()]; + let target = root.join("created.txt"); + let got = resolve_writable(&roots, target.to_str().unwrap()).unwrap(); + assert!(got.starts_with(&root)); + } + + #[test] + fn exec_and_reads_refuse_when_no_root_is_approved() { + let dir = tmp_root("noroot"); + // With an empty root set, even an existing dir is rejected — this is the + // guard ws_exec relies on to refuse when no root is set. + let err = resolve_readable(&[], dir.to_str().unwrap()).unwrap_err(); + assert!(err.contains("no approved"), "unexpected: {err}"); + } + + #[test] + fn ensure_within_rejects_empty_roots() { + let err = ensure_within(&[], Path::new("/anything")).unwrap_err(); + assert!(err.contains("no approved"), "unexpected: {err}"); + } +} diff --git a/companions/desktop/src-tauri/tauri.conf.json b/companions/desktop/src-tauri/tauri.conf.json new file mode 100644 index 000000000..83e19f5bc --- /dev/null +++ b/companions/desktop/src-tauri/tauri.conf.json @@ -0,0 +1,35 @@ +{ + "$schema": "https://schema.tauri.app/config/2", + "productName": "OpenAgentic", + "version": "0.1.0", + "identifier": "io.openagentics.desktop", + "build": { + "beforeDevCommand": "pnpm dev", + "devUrl": "http://localhost:1430", + "beforeBuildCommand": "pnpm build", + "frontendDist": "../dist" + }, + "app": { + "windows": [ + { + "title": "OpenAgentic", + "width": 1240, + "height": 800, + "minWidth": 900, + "minHeight": 600, + "transparent": true, + "titleBarStyle": "Overlay", + "hiddenTitle": true + } + ], + "security": { "csp": null }, + "macOSPrivateApi": true + }, + "bundle": { + "active": true, + "targets": ["app"], + "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns"], + "externalBin": ["binaries/agenticode-cli"], + "resources": ["cli-runtime/rg"] + } +} diff --git a/companions/desktop/src/App.test.tsx b/companions/desktop/src/App.test.tsx new file mode 100644 index 000000000..02564fcfa --- /dev/null +++ b/companions/desktop/src/App.test.tsx @@ -0,0 +1,184 @@ +import { describe, expect, it, afterEach, beforeEach, vi } from "vitest"; +import { act, cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react"; +import App from "./App"; +import { useAppStore } from "./stores/appStore"; +import { useAuthStore } from "./stores/authStore"; +import { useCodeStore } from "./stores/codeStore"; +import { setHost } from "./host/host"; +import type { CodeChild, Host } from "./host/host"; + +// The shell is auth-gated: render it in the signed-in (`ready`) state so these +// tests exercise the rail/surfaces rather than the LoginScreen. +beforeEach(() => { + useAuthStore.setState({ + status: "ready", + client: null, + profile: { instanceUrl: "http://localhost:8080", userId: "u1", email: "a@b.c", isAdmin: true }, + error: null, + }); +}); + +afterEach(() => { + cleanup(); + setHost(null); + useAppStore.setState({ surface: "chat", pendingGates: {} }); + useAuthStore.setState({ status: "boot", client: null, profile: null, error: null }); + useCodeStore.setState({ workspace: null }); +}); + +/** A fake host whose `spawnCode` returns a child with a `kill` spy — enough to + * assert the Code session's lifecycle across surface switches / sign-out. */ +function fakeCodeHost(): { host: Host; spawnCode: ReturnType; kill: ReturnType } { + const kill = vi.fn(async () => {}); + const child: CodeChild = { + write: vi.fn(async () => {}), + kill, + onLine: vi.fn(), + onExit: vi.fn(), + stderrTail: () => "", + }; + const spawnCode = vi.fn(async () => child); + const host = { + kind: "browser", + fetch: vi.fn(), + secretGet: async () => "oa_testkey_46charslongxxxxxxxxxxxxxxxxxxxxxx", + secretSet: async () => {}, + secretDelete: async () => {}, + pickDirectory: async () => null, + spawnCode, + ws: {}, + } as unknown as Host; + return { host, spawnCode, kill }; +} + +describe("App", () => { + it("renders the rail with chat, code, flows, and settings buttons", () => { + render(); + + expect(screen.getByTestId("rail-chat")).toBeTruthy(); + expect(screen.getByTestId("rail-code")).toBeTruthy(); + expect(screen.getByTestId("rail-flows")).toBeTruthy(); + expect(screen.getByTestId("rail-settings")).toBeTruthy(); + }); + + it("defaults to the chat surface (ChatSurface: sidebar + composer)", () => { + render(); + + // ChatSurface replaces the old placeholder panel — assert its shell renders. + expect(screen.getByTestId("session-new")).toBeTruthy(); + expect(screen.getByTestId("composer-input")).toBeTruthy(); + expect(screen.queryByTestId("panel-chat")).toBeNull(); + }); + + it("switches to the Flows surface when its rail button is clicked", () => { + render(); + + fireEvent.click(screen.getByTestId("rail-flows")); + + // FlowsSurface replaces the old placeholder panel — assert its shell renders. + expect(screen.getByTestId("flows-surface")).toBeTruthy(); + expect(screen.getByRole("heading", { name: "Flows" })).toBeTruthy(); + expect(screen.queryByTestId("panel-flows")).toBeNull(); + expect(screen.getByTestId("rail-flows").getAttribute("aria-pressed")).toBe("true"); + }); + + it("has a draggable titlebar region", () => { + const { container } = render(); + + expect(container.querySelector("[data-tauri-drag-region]")).toBeTruthy(); + }); + + it("shows the LoginScreen instead of the shell when signed out", () => { + useAuthStore.setState({ status: "signedOut", client: null, profile: null, error: null }); + + render(); + + expect(screen.getByTestId("login-form")).toBeTruthy(); + expect(screen.queryByTestId("rail-chat")).toBeNull(); + }); + + it("renders the Settings surface with diagnostics when selected", () => { + useAppStore.setState({ surface: "settings" }); + + render(); + + expect(screen.getByTestId("panel-settings")).toBeTruthy(); + expect(screen.getByTestId("settings-probe")).toBeTruthy(); + expect(screen.getByTestId("settings-signout")).toBeTruthy(); + }); + + it("keeps every surface mounted and only toggles visibility on a rail switch", () => { + render(); + + // All four surface hosts exist regardless of which one is active. + for (const id of ["chat", "code", "flows", "settings"]) { + expect(screen.getByTestId(`surface-${id}`)).toBeTruthy(); + } + // Chat visible (default); the others hidden. + expect(screen.getByTestId("surface-chat").hasAttribute("hidden")).toBe(false); + expect(screen.getByTestId("surface-code").hasAttribute("hidden")).toBe(true); + + fireEvent.click(screen.getByTestId("rail-flows")); + + // Switching only flips visibility — both hosts stay in the DOM (mounted). + expect(screen.getByTestId("surface-chat").hasAttribute("hidden")).toBe(true); + expect(screen.getByTestId("surface-flows").hasAttribute("hidden")).toBe(false); + }); + + it("does NOT unmount the Code session across a rail switch, but DOES on sign-out", async () => { + const { host, spawnCode, kill } = fakeCodeHost(); + setHost(host); + // Simulate a workspace the user already opened — Code drives a live session. + useCodeStore.setState({ workspace: "/w" }); + + render(); + + // Code stays mounted app-wide, so its session spawns once (even while hidden). + await waitFor(() => expect(spawnCode).toHaveBeenCalledTimes(1)); + + // Detour: chat → code → chat. The child must survive every switch — no kill, + // no respawn (which would force the ~25s cold restart this fix exists for). + await act(async () => { + fireEvent.click(screen.getByTestId("rail-code")); + }); + await act(async () => { + fireEvent.click(screen.getByTestId("rail-chat")); + }); + expect(kill).not.toHaveBeenCalled(); + expect(spawnCode).toHaveBeenCalledTimes(1); + + // Sign-out unmounts the whole shell → the child IS killed (teardown holds). + await act(async () => { + useAuthStore.setState({ status: "signedOut", client: null, profile: null, error: null }); + }); + await waitFor(() => expect(kill).toHaveBeenCalled()); + expect(screen.getByTestId("login-form")).toBeTruthy(); + }); + + it("shows a rail badge for a backgrounded surface with a pending gate, cleared when visited", async () => { + render(); + + // A hidden Code surface pauses on a permission gate → its rail dot appears. + await act(async () => { + useAppStore.getState().setPendingGate("code", true); + }); + expect(screen.getByTestId("rail-gate-code")).toBeTruthy(); + expect(screen.getByTestId("rail-code").getAttribute("aria-label")).toContain("approval pending"); + // The visible surface never badges (its modal is already on screen). + expect(screen.queryByTestId("rail-gate-chat")).toBeNull(); + + // Visiting the surface removes the badge (the modal is now visible). + fireEvent.click(screen.getByTestId("rail-code")); + expect(screen.queryByTestId("rail-gate-code")).toBeNull(); + + // Leaving again while still pending re-surfaces it. + fireEvent.click(screen.getByTestId("rail-chat")); + expect(screen.getByTestId("rail-gate-code")).toBeTruthy(); + + // Gate resolved → badge gone everywhere. + await act(async () => { + useAppStore.getState().setPendingGate("code", false); + }); + expect(screen.queryByTestId("rail-gate-code")).toBeNull(); + }); +}); diff --git a/companions/desktop/src/App.tsx b/companions/desktop/src/App.tsx new file mode 100644 index 000000000..57e5a4547 --- /dev/null +++ b/companions/desktop/src/App.tsx @@ -0,0 +1,219 @@ +import { useEffect, type ReactNode } from "react"; +import { useAppStore, type Surface } from "./stores/appStore"; +import { useAuthStore } from "./stores/authStore"; +import LoginScreen from "./auth/LoginScreen"; +import SettingsSurface from "./settings/SettingsSurface"; +import ChatSurface from "./chat/ChatSurface"; +import CodeSurface from "./code/CodeSurface"; +import FlowsSurface from "./flows/FlowsSurface"; +import CommandPalette from "./shell/CommandPalette"; +import ShortcutsOverlay from "./shell/ShortcutsOverlay"; +import OfflineBanner from "./shell/OfflineBanner"; +import { useGlobalShortcuts } from "./shell/useGlobalShortcuts"; +import { useOfflineMonitor } from "./shell/useOfflineMonitor"; + +const PRIMARY_SURFACES: { id: Surface; label: string }[] = [ + { id: "chat", label: "Chat" }, + { id: "code", label: "Code" }, + { id: "flows", label: "Flows" }, +]; + +function RailIcon({ surface }: { surface: Surface }) { + switch (surface) { + case "chat": + return ( + + + + ); + case "code": + return ( + + + + ); + case "flows": + return ( + + + + + + + ); + case "settings": + return ( + + + + + ); + } +} + +function RailButton({ + id, + label, + active, + attention, + onSelect, +}: { + id: Surface; + label: string; + active: boolean; + /** True when this (backgrounded) surface holds an unresolved approval gate — + * renders the ochre badge so an invisible pending consent is discoverable. */ + attention?: boolean; + onSelect: (s: Surface) => void; +}) { + return ( + + ); +} + +function Rail() { + const surface = useAppStore((s) => s.surface); + const setSurface = useAppStore((s) => s.setSurface); + const pendingGates = useAppStore((s) => s.pendingGates); + + // Badge only while backgrounded: the visible surface already shows its modal. + const attention = (id: Surface): boolean => !!pendingGates[id] && surface !== id; + + return ( + + ); +} + +/** + * SurfaceHost — a surface stays MOUNTED across a rail switch; we toggle its + * visibility instead of unmounting. That is what lets a running turn survive a + * detour: an inactive Code surface keeps its `useCodeSession` child (no SIGKILL + * → no ~25s cold restart), an inactive Chat keeps its `useChat` stream + the + * local-executor subscribe, and an inactive Flows keeps its poll. Only sign-out + * (auth status !== 'ready') unmounts the whole shell. `hidden` drops the + * inactive surface from layout, tab order, and the accessibility tree so + * keyboard/focus only reach the active surface. + * + * `display:none` does NOT silence window-level keydown listeners, so anything + * inside a surface that binds to `window` (the approval/permission modals, + * Code's Shift+Tab) is additionally gated on the surface's `visible` prop — a + * keystroke on the visible surface must never resolve a hidden consent gate. + */ +function SurfaceHost({ id, active, children }: { id: Surface; active: boolean; children: ReactNode }) { + return ( + + ); +} + +function BootSplash() { + return ( +
+ Loading… +
+ ); +} + +export default function App() { + const surface = useAppStore((s) => s.surface); + const setShortcutsOpen = useAppStore((s) => s.setShortcutsOpen); + const status = useAuthStore((s) => s.status); + const restore = useAuthStore((s) => s.restore); + + // App-wide keyboard map + reachability watch (both no-op until signed in). + useGlobalShortcuts(); + const offline = useOfflineMonitor(); + + // Boot: rebuild auth from the keychain exactly once. Guarded on the live + // status so tests can seed a `ready` store and skip the restore round-trip. + useEffect(() => { + if (useAuthStore.getState().status === "boot") void restore(); + }, [restore]); + + if (status === "boot") return ; + if (status !== "ready") return ; + + return ( +
+
+ OpenAgentic + +
+ +
+ +
+ {/* All authenticated surfaces stay mounted; only the active one is + visible. Switching the rail toggles visibility, never unmounts — + so an in-flight code/chat/flows turn is never torn down. */} + + + + + + + + + + + + +
+
+ + +
+ ); +} diff --git a/companions/desktop/src/api/client.test.ts b/companions/desktop/src/api/client.test.ts new file mode 100644 index 000000000..b9be79e70 --- /dev/null +++ b/companions/desktop/src/api/client.test.ts @@ -0,0 +1,708 @@ +import { describe, expect, it, vi } from "vitest"; +import { ApiError, PasswordChangeRequiredError, PlatformClient } from "./client"; +import type { PlatformFrame } from "./types"; + +// --------------------------------------------------------------------------- +// Test helpers +// --------------------------------------------------------------------------- + +function jsonResponse(status: number, body: unknown, statusText = ""): Response { + return new Response(JSON.stringify(body), { + status, + statusText, + headers: { "content-type": "application/json" }, + }); +} + +function ndjsonResponse(lines: string[]): Response { + return new Response(lines.map((l) => l + "\n").join(""), { + status: 200, + headers: { "content-type": "application/x-ndjson" }, + }); +} + +/** A fetchImpl stub that returns queued responses in order and records every + * `[url, init]` call so tests can assert exact request shape. */ +function stubFetch(...responses: Response[]) { + const calls: Array<[string, RequestInit]> = []; + let i = 0; + const fn = vi.fn(async (url: string, init: RequestInit = {}) => { + calls.push([url, init]); + const res = responses[i] ?? responses[responses.length - 1]; + i += 1; + return res; + }); + return { fn: fn as unknown as typeof fetch, calls }; +} + +function headersOf(init: RequestInit): Record { + return (init.headers ?? {}) as Record; +} + +const BASE = "http://localhost:8080"; + +function makeClient(opts: Partial<{ apiKey: string | null; userId: string | null }> = {}, fetchImpl: typeof fetch) { + return new PlatformClient({ + baseUrl: BASE, + apiKey: opts.apiKey ?? "oa_test_key", + userId: opts.userId ?? "user_1", + fetchImpl, + }); +} + +// --------------------------------------------------------------------------- +// health() +// --------------------------------------------------------------------------- + +describe("PlatformClient.health", () => { + it("GETs /api/health unauthed and reports ok:true with the raw body", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { status: "healthy" })); + const client = makeClient({}, fn); + + const result = await client.health(); + + expect(calls).toHaveLength(1); + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/health`); + expect(init.method).toBe("GET"); + expect(headersOf(init).authorization).toBeUndefined(); + expect(result).toEqual({ ok: true, raw: { status: "healthy" } }); + }); + + it("reports ok:false on a non-2xx without throwing", async () => { + const { fn } = stubFetch(jsonResponse(503, { status: "down" })); + const client = makeClient({}, fn); + + const result = await client.health(); + + expect(result.ok).toBe(false); + expect(result.raw).toEqual({ status: "down" }); + }); +}); + +// --------------------------------------------------------------------------- +// login() +// --------------------------------------------------------------------------- + +describe("PlatformClient.login", () => { + it("POSTs /api/auth/local/login with {username,password} and no auth header", async () => { + const { fn, calls } = stubFetch( + jsonResponse(200, { + success: true, + token: "jwt.abc", + user: { id: "u1", email: "a@b.com", name: "Ann", isAdmin: false }, + }), + ); + const client = makeClient({ apiKey: null, userId: null }, fn); + + const result = await client.login("a@b.com", "hunter2"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/auth/local/login`); + expect(init.method).toBe("POST"); + expect(JSON.parse(init.body as string)).toEqual({ username: "a@b.com", password: "hunter2" }); + expect(headersOf(init).authorization).toBeUndefined(); + expect(result).toEqual({ + token: "jwt.abc", + user: { id: "u1", email: "a@b.com", name: "Ann", isAdmin: false }, + }); + }); + + it("surfaces a 403 requiresPasswordChange as PasswordChangeRequiredError", async () => { + const { fn } = stubFetch( + jsonResponse(403, { + error: "Password change required", + requiresPasswordChange: true, + userId: "u1", + email: "a@b.com", + }), + ); + const client = makeClient({ apiKey: null, userId: null }, fn); + + await expect(client.login("a@b.com", "temp")).rejects.toBeInstanceOf(PasswordChangeRequiredError); + }); + + it("throws a plain ApiError on other non-2xx login failures", async () => { + const { fn } = stubFetch(jsonResponse(401, { error: "Invalid credentials" })); + const client = makeClient({ apiKey: null, userId: null }, fn); + + const err = await client.login("a@b.com", "wrong").catch((e) => e); + expect(err).toBeInstanceOf(ApiError); + expect(err).not.toBeInstanceOf(PasswordChangeRequiredError); + expect((err as ApiError).status).toBe(401); + expect((err as ApiError).message).toBe("Invalid credentials"); + }); +}); + +// --------------------------------------------------------------------------- +// changePassword() +// --------------------------------------------------------------------------- + +describe("PlatformClient.changePassword", () => { + it("POSTs /api/auth/local/change-password with email + current/new password, no auth header", async () => { + const { fn, calls } = stubFetch( + jsonResponse(200, { success: true, message: "ok", token: "jwt.new" }), + ); + const client = makeClient({ apiKey: null, userId: null }, fn); + + const result = await client.changePassword("a@b.com", "temp", "newpass1"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/auth/local/change-password`); + expect(init.method).toBe("POST"); + expect(JSON.parse(init.body as string)).toEqual({ + currentPassword: "temp", + newPassword: "newpass1", + email: "a@b.com", + }); + expect(headersOf(init).authorization).toBeUndefined(); + expect(result).toEqual({ token: "jwt.new" }); + }); +}); + +// --------------------------------------------------------------------------- +// mintApiKey() +// --------------------------------------------------------------------------- + +describe("PlatformClient.mintApiKey", () => { + it("POSTs /api/workflows/user/api-keys with the login JWT as Bearer and unwraps key.plaintext_key", async () => { + const { fn, calls } = stubFetch( + jsonResponse(201, { + key: { id: "key_1", name: "desktop", plaintext_key: "oa_secret123", created_at: "2026-01-01" }, + warning: "Save this key now.", + }), + ); + const client = makeClient({ apiKey: "oa_stale_stored_key" }, fn); + + const result = await client.mintApiKey("login.jwt.xyz", "desktop"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/workflows/user/api-keys`); + expect(init.method).toBe("POST"); + expect(headersOf(init).authorization).toBe("Bearer login.jwt.xyz"); + expect(JSON.parse(init.body as string)).toEqual({ name: "desktop" }); + expect(result).toEqual({ id: "key_1", key: "oa_secret123" }); + }); + + it("does not send x-user-id (not an /api/chat/* route)", async () => { + const { fn, calls } = stubFetch( + jsonResponse(201, { key: { id: "k", plaintext_key: "p" } }), + ); + const client = makeClient({}, fn); + + await client.mintApiKey("jwt", "name"); + + expect(headersOf(calls[0][1])["x-user-id"]).toBeUndefined(); + }); +}); + +// --------------------------------------------------------------------------- +// validateToken() +// --------------------------------------------------------------------------- + +describe("PlatformClient.validateToken", () => { + it("POSTs /api/auth/validate-token with Bearer apiKey and no x-user-id", async () => { + const { fn, calls } = stubFetch( + jsonResponse(200, { + userId: "u1", + email: "a@b.com", + isAdmin: true, + groups: [], + authMethod: "api-key", + }), + ); + const client = makeClient({ apiKey: "oa_live_key", userId: "user_1" }, fn); + + const result = await client.validateToken(); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/auth/validate-token`); + expect(init.method).toBe("POST"); + expect(headersOf(init).authorization).toBe("Bearer oa_live_key"); + expect(headersOf(init)["x-user-id"]).toBeUndefined(); + expect(result).toEqual({ userId: "u1", email: "a@b.com", isAdmin: true }); + }); +}); + +// --------------------------------------------------------------------------- +// Sessions CRUD +// --------------------------------------------------------------------------- + +describe("PlatformClient sessions", () => { + it("listSessions() GETs /api/chat/sessions with Bearer + x-user-id and unwraps .sessions", async () => { + const sessions = [{ id: "s1", title: "Chat", createdAt: "t1", updatedAt: "t1" }]; + const { fn, calls } = stubFetch(jsonResponse(200, { sessions, lastActiveSessionId: "s1", success: true })); + const client = makeClient({}, fn); + + const result = await client.listSessions(); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/sessions`); + expect(init.method).toBe("GET"); + expect(headersOf(init).authorization).toBe("Bearer oa_test_key"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(result).toEqual(sessions); + }); + + it("createSession() POSTs /api/chat/sessions with {title} and unwraps .session", async () => { + const session = { id: "s2", title: "New Chat", createdAt: "t2", updatedAt: "t2" }; + const { fn, calls } = stubFetch(jsonResponse(201, { session, success: true })); + const client = makeClient({}, fn); + + const result = await client.createSession("New Chat"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/sessions`); + expect(init.method).toBe("POST"); + expect(JSON.parse(init.body as string)).toEqual({ title: "New Chat" }); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(result).toEqual(session); + }); + + it("deleteSession() DELETEs /api/chat/sessions/:id", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { success: true, message: "deleted" })); + const client = makeClient({}, fn); + + await client.deleteSession("s2"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/sessions/s2`); + expect(init.method).toBe("DELETE"); + }); + + it("renameSession() PUTs /api/chat/sessions/:id with {title} and unwraps .session", async () => { + // Endpoint shape verified against the API: + // services/openagentic-api/src/routes/chat/index.ts:1060 registers + // `fastify.put('/sessions/:sessionId')` with body `{title?, metadata?, + // isActive?}`; session.handler.ts `update` (319-396) replies + // `{ session: updatedSession, success: true }`. + const session = { id: "s2", title: "Renamed chat", createdAt: "t2", updatedAt: "t3" }; + const { fn, calls } = stubFetch(jsonResponse(200, { session, success: true })); + const client = makeClient({}, fn); + + const result = await client.renameSession("s2", "Renamed chat"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/sessions/s2`); + expect(init.method).toBe("PUT"); + expect(JSON.parse(init.body as string)).toEqual({ title: "Renamed chat" }); + expect(headersOf(init).authorization).toBe("Bearer oa_test_key"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(headersOf(init)["content-type"]).toBe("application/json"); + expect(result).toEqual(session); + }); + + it("getMessages() GETs /api/chat/sessions/:id/messages and unwraps .messages", async () => { + const messages = [{ id: "m1", role: "user", content: "hi" }]; + const { fn, calls } = stubFetch(jsonResponse(200, { messages, session: {}, success: true })); + const client = makeClient({}, fn); + + const result = await client.getMessages("s2"); + + const [url] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/sessions/s2/messages`); + expect(result).toEqual(messages); + }); +}); + +// --------------------------------------------------------------------------- +// listModels() +// --------------------------------------------------------------------------- + +describe("PlatformClient.listModels", () => { + it("GETs /api/chat/models with auth + x-user-id and returns the report as-is", async () => { + const report = { + models: [{ id: "m1", name: "GPT", provider: "openai" }], + defaultModel: "m1", + codemodeDefault: "m1", + provider_status: { openai: "ok" }, + }; + const { fn, calls } = stubFetch(jsonResponse(200, report)); + const client = makeClient({}, fn); + + const result = await client.listModels(); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/models`); + expect(init.method).toBe("GET"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(result).toEqual(report); + }); +}); + +// --------------------------------------------------------------------------- +// chatStream() +// --------------------------------------------------------------------------- + +describe("PlatformClient.chatStream", () => { + it("POSTs /api/chat/stream with Accept: application/x-ndjson and feeds frames through readNdjson", async () => { + const { fn, calls } = stubFetch( + ndjsonResponse(['{"type":"delta","content":"hi"}', '{"type":"done"}']), + ); + const client = makeClient({}, fn); + const frames: PlatformFrame[] = []; + + await client.chatStream({ sessionId: "s1", message: "hello" }, (f) => { + frames.push(f); + }); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/stream`); + expect(init.method).toBe("POST"); + expect(headersOf(init).accept).toBe("application/x-ndjson"); + expect(headersOf(init).authorization).toBe("Bearer oa_test_key"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(JSON.parse(init.body as string)).toEqual({ sessionId: "s1", message: "hello" }); + expect(frames).toEqual([ + { type: "delta", content: "hi" }, + { type: "done" }, + ]); + }); + + it("never sends a model field in the request body", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"done"}'])); + const client = makeClient({}, fn); + + await client.chatStream({ sessionId: "s1", message: "hi", attachments: [{ id: "f1" }] }, () => {}); + + const body = JSON.parse(calls[0][1].body as string); + expect(body).not.toHaveProperty("model"); + expect(body).toEqual({ sessionId: "s1", message: "hi", attachments: [{ id: "f1" }] }); + }); + + it("passes the AbortSignal through to fetch", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"done"}'])); + const client = makeClient({}, fn); + const controller = new AbortController(); + + await client.chatStream({ sessionId: "s1", message: "hi" }, () => {}, controller.signal); + + expect(calls[0][1].signal).toBe(controller.signal); + }); + + it("throws ApiError on a non-2xx response and never invokes onFrame", async () => { + const { fn } = stubFetch(jsonResponse(500, { error: "boom" })); + const client = makeClient({}, fn); + const onFrame = vi.fn(); + + await expect(client.chatStream({ sessionId: "s1", message: "hi" }, onFrame)).rejects.toBeInstanceOf( + ApiError, + ); + expect(onFrame).not.toHaveBeenCalled(); + }); +}); + +// --------------------------------------------------------------------------- +// tailStream() +// --------------------------------------------------------------------------- + +describe("PlatformClient.tailStream", () => { + it("GETs /api/chat/stream/:sessionId/tail?turnId=&after= and streams frames", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"delta","_seq":3}'])); + const client = makeClient({}, fn); + const frames: PlatformFrame[] = []; + + await client.tailStream("s1", "turn-9", 2, (f) => { + frames.push(f); + }); + + const [url, init] = calls[0]; + const parsed = new URL(url); + expect(parsed.origin + parsed.pathname).toBe(`${BASE}/api/chat/stream/s1/tail`); + expect(parsed.searchParams.get("turnId")).toBe("turn-9"); + expect(parsed.searchParams.get("after")).toBe("2"); + expect(init.method).toBe("GET"); + expect(headersOf(init).accept).toBe("application/x-ndjson"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(frames).toEqual([{ type: "delta", _seq: 3 }]); + }); +}); + +// --------------------------------------------------------------------------- +// approve() +// --------------------------------------------------------------------------- + +describe("PlatformClient.approve", () => { + it("POSTs /api/approvals/:auditId/approve with an empty body", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { ok: true, auditId: "a1", approved: true })); + const client = makeClient({}, fn); + + await client.approve("a1", "approve"); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/approvals/a1/approve`); + expect(init.method).toBe("POST"); + expect(init.body).toBeUndefined(); + expect(headersOf(init)["content-type"]).toBeUndefined(); + expect(headersOf(init)["x-user-id"]).toBeUndefined(); + }); + + it("POSTs /api/approvals/:auditId/deny with the verdict in the path", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { ok: true, auditId: "a1", approved: false })); + const client = makeClient({}, fn); + + await client.approve("a1", "deny"); + + expect(calls[0][0]).toBe(`${BASE}/api/approvals/a1/deny`); + expect(calls[0][1].body).toBeUndefined(); + }); +}); + +// --------------------------------------------------------------------------- +// Workflows +// --------------------------------------------------------------------------- + +describe("PlatformClient workflows", () => { + it("listWorkflows() GETs /api/workflows and unwraps .workflows", async () => { + const workflows = [{ id: "w1", name: "Flow" }]; + const { fn, calls } = stubFetch(jsonResponse(200, { workflows, total: 1 })); + const client = makeClient({}, fn); + + const result = await client.listWorkflows(); + + expect(calls[0][0]).toBe(`${BASE}/api/workflows`); + expect(headersOf(calls[0][1])["x-user-id"]).toBeUndefined(); + expect(result).toEqual(workflows); + }); + + it("executeWorkflowStream() POSTs /:id/execute with Accept ndjson and streams frames", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"execution_start"}'])); + const client = makeClient({}, fn); + const frames: PlatformFrame[] = []; + + await client.executeWorkflowStream("w1", (f) => { + frames.push(f); + }); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/workflows/w1/execute`); + expect(init.method).toBe("POST"); + expect(headersOf(init).accept).toBe("application/x-ndjson"); + // Default (no-input) run still sends an empty input object. + expect(JSON.parse(init.body as string)).toEqual({ input: {}, trigger_type: "manual" }); + expect(frames).toEqual([{ type: "execution_start" }]); + }); + + it("executeWorkflowStream() threads a provided input into the request body", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"execution_start"}'])); + const client = makeClient({}, fn); + + await client.executeWorkflowStream("w1", () => {}, undefined, { topic: "release notes", count: 3 }); + + // Body carries the caller's input verbatim (verified against + // execution.routes.ts: `const { input = {}, trigger_type = 'manual' } = body`). + expect(JSON.parse(calls[0][1].body as string)).toEqual({ + input: { topic: "release notes", count: 3 }, + trigger_type: "manual", + }); + }); + + it("executeWorkflowAsync() POSTs /:id/execute?async=true and returns {executionId}", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { executionId: "e1", status: "running" })); + const client = makeClient({}, fn); + + const result = await client.executeWorkflowAsync("w1"); + + expect(calls[0][0]).toBe(`${BASE}/api/workflows/w1/execute?async=true`); + expect(calls[0][1].method).toBe("POST"); + expect(JSON.parse(calls[0][1].body as string)).toEqual({ input: {}, trigger_type: "manual" }); + expect(result).toEqual({ executionId: "e1" }); + }); + + it("executeWorkflowAsync() threads a provided input into the request body", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { executionId: "e2", status: "running" })); + const client = makeClient({}, fn); + + await client.executeWorkflowAsync("w1", { seed: 42 }); + + expect(JSON.parse(calls[0][1].body as string)).toEqual({ input: { seed: 42 }, trigger_type: "manual" }); + }); + + it("getExecution() GETs /:id/executions/:execId and returns the envelope as-is", async () => { + const envelope = { execution: { id: "e1", status: "completed" }, logs: [], nodeSummary: {} }; + const { fn, calls } = stubFetch(jsonResponse(200, envelope)); + const client = makeClient({}, fn); + + const result = await client.getExecution("w1", "e1"); + + expect(calls[0][0]).toBe(`${BASE}/api/workflows/w1/executions/e1`); + expect(result).toEqual(envelope); + }); + + it("listExecutions() GETs /:id/executions and unwraps .executions", async () => { + const executions = [{ id: "e1", status: "completed" }]; + const { fn, calls } = stubFetch(jsonResponse(200, { executions, total: 1 })); + const client = makeClient({}, fn); + + const result = await client.listExecutions("w1"); + + expect(calls[0][0]).toBe(`${BASE}/api/workflows/w1/executions`); + expect(result).toEqual(executions); + }); +}); + +// --------------------------------------------------------------------------- +// uploadFile() +// --------------------------------------------------------------------------- + +describe("PlatformClient.uploadFile", () => { + it("POSTs multipart FormData to /api/files/upload and unwraps {id, isDuplicate}", async () => { + // Assert via a spy on FormData.append rather than FormData.get(): the + // happy-dom test environment has a verified bug where the filename + // passed to `append(name, blob, filename)` is dropped on retrieval via + // `.get()` (confirmed independently against the same happy-dom package + // outside vitest) — the spy checks what our code actually sent instead + // of routing the assertion through happy-dom's lossy round-trip. + const appendSpy = vi.spyOn(FormData.prototype, "append"); + const { fn, calls } = stubFetch( + jsonResponse(200, { + file: { id: "f1", filename: "note.txt", mimeType: "text/plain", size: 3 }, + }), + ); + const client = makeClient({}, fn); + + const result = await client.uploadFile({ + name: "note.txt", + mime: "text/plain", + bytes: new Uint8Array([104, 105, 33]), + }); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/files/upload`); + expect(init.method).toBe("POST"); + expect(headersOf(init).authorization).toBe("Bearer oa_test_key"); + expect(headersOf(init)["content-type"]).toBeUndefined(); + expect(init.body).toBeInstanceOf(FormData); + + expect(appendSpy).toHaveBeenCalledTimes(1); + const [field, blob, filename] = appendSpy.mock.calls[0]; + expect(field).toBe("file"); + expect(blob).toBeInstanceOf(Blob); + expect((blob as Blob).type).toBe("text/plain"); + expect((blob as Blob).size).toBe(3); + expect(filename).toBe("note.txt"); + appendSpy.mockRestore(); + + expect(result).toEqual({ id: "f1", isDuplicate: undefined }); + }); + + it("surfaces isDuplicate:true when the server dedupes the upload", async () => { + const { fn } = stubFetch( + jsonResponse(200, { file: { id: "f1" }, isDuplicate: true }), + ); + const client = makeClient({}, fn); + + const result = await client.uploadFile({ name: "a.txt", mime: "text/plain", bytes: new Uint8Array() }); + + expect(result).toEqual({ id: "f1", isDuplicate: true }); + }); +}); + +// --------------------------------------------------------------------------- +// Local executor bridge +// --------------------------------------------------------------------------- + +describe("PlatformClient local executor", () => { + it("subscribeLocalExecutor() POSTs /api/chat/local-executor/subscribe with tools and streams frames", async () => { + const { fn, calls } = stubFetch(ndjsonResponse(['{"type":"connected"}'])); + const client = makeClient({}, fn); + const tools = [{ name: "workspace_read_file" }]; + const frames: PlatformFrame[] = []; + + await client.subscribeLocalExecutor(tools, (f) => { + frames.push(f); + }); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/local-executor/subscribe`); + expect(init.method).toBe("POST"); + expect(headersOf(init).accept).toBe("application/x-ndjson"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(JSON.parse(init.body as string)).toEqual({ tools }); + expect(frames).toEqual([{ type: "connected" }]); + }); + + it("postToolResult() POSTs /api/chat/local-executor/tool-result with the result body", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { ok: true, tool_use_id: "t1", resolved: true })); + const client = makeClient({}, fn); + + await client.postToolResult({ tool_use_id: "t1", content: "output", is_error: false }); + + const [url, init] = calls[0]; + expect(url).toBe(`${BASE}/api/chat/local-executor/tool-result`); + expect(init.method).toBe("POST"); + expect(headersOf(init)["x-user-id"]).toBe("user_1"); + expect(JSON.parse(init.body as string)).toEqual({ + tool_use_id: "t1", + content: "output", + is_error: false, + }); + }); +}); + +// --------------------------------------------------------------------------- +// Error mapping tolerance (mirrors tools/oa/src/client.ts errorMessage()) +// --------------------------------------------------------------------------- + +describe("PlatformClient error mapping", () => { + it("extracts a plain string error field", async () => { + const { fn } = stubFetch(jsonResponse(500, { error: "flat string error" })); + const client = makeClient({}, fn); + + const err = await client.listSessions().catch((e) => e); + expect((err as ApiError).message).toBe("flat string error"); + }); + + it("extracts a message field when error is absent", async () => { + const { fn } = stubFetch(jsonResponse(500, { message: "message field error" })); + const client = makeClient({}, fn); + + const err = await client.listSessions().catch((e) => e); + expect((err as ApiError).message).toBe("message field error"); + }); + + it("extracts a nested error.message field", async () => { + const { fn } = stubFetch(jsonResponse(500, { error: { message: "nested error" } })); + const client = makeClient({}, fn); + + const err = await client.listSessions().catch((e) => e); + expect((err as ApiError).message).toBe("nested error"); + }); + + it("falls back to statusText, then HTTP , when the body has neither", async () => { + const { fn } = stubFetch(jsonResponse(500, {}, "Internal Server Error")); + const client = makeClient({}, fn); + + const err = await client.listSessions().catch((e) => e); + expect((err as ApiError).message).toBe("Internal Server Error"); + expect((err as ApiError).status).toBe(500); + }); + + it("falls back to 'HTTP ' when there is no body and no statusText", async () => { + const { fn } = stubFetch(new Response("", { status: 500 })); + const client = makeClient({}, fn); + + const err = await client.listSessions().catch((e) => e); + expect((err as ApiError).message).toBe("HTTP 500"); + }); +}); + +// --------------------------------------------------------------------------- +// Constructor defaults +// --------------------------------------------------------------------------- + +describe("PlatformClient constructor", () => { + it("defaults fetchImpl to the global fetch when not provided", () => { + const client = new PlatformClient({ baseUrl: BASE }); + expect(client).toBeInstanceOf(PlatformClient); + }); + + it("strips a trailing slash from baseUrl", async () => { + const { fn, calls } = stubFetch(jsonResponse(200, { status: "ok" })); + const client = new PlatformClient({ baseUrl: `${BASE}/`, fetchImpl: fn }); + + await client.health(); + + expect(calls[0][0]).toBe(`${BASE}/api/health`); + }); +}); diff --git a/companions/desktop/src/api/client.ts b/companions/desktop/src/api/client.ts new file mode 100644 index 000000000..b8e231e9c --- /dev/null +++ b/companions/desktop/src/api/client.ts @@ -0,0 +1,407 @@ +/** + * PlatformClient — the desktop app's only entry point onto the OpenAgentic + * platform API. Pure request/response mapping; no UI/state lives here. + * + * Endpoint shapes and unwrap rules are taken verbatim from the reference CLI + * client (`tools/oa/src/client.ts`) and the route handlers under + * `services/openagentic-api/src/routes/**`. Envelopes are inconsistent + * per-endpoint by design of the upstream API — this file is the one place + * that absorbs that inconsistency so the rest of the desktop app only ever + * sees the shapes declared in `./types`. + * + * Streaming methods pipe `res.body` through `readNdjson` (task 3) rather + * than re-implementing NDJSON parsing here. + */ +import { readNdjson } from "./ndjson"; +import type { + ChatSession, + FetchLike, + ModelsReport, + PlatformFrame, + WorkflowSummary, +} from "./types"; + +/** Error carrying the HTTP status and the server's error message. Mirrors + * `tools/oa/src/client.ts` ApiError so callers can branch on `.status`. */ +export class ApiError extends Error { + readonly status: number; + constructor(status: number, message: string) { + super(message); + this.name = "ApiError"; + this.status = status; + } +} + +/** Thrown by `login()` when the server responds 403 with + * `requiresPasswordChange: true` — the caller should route to a + * change-password screen rather than treating this as a generic auth + * failure (see `services/openagentic-api/src/routes/local-auth.ts`). */ +export class PasswordChangeRequiredError extends Error { + readonly userId?: string; + readonly email?: string; + constructor(message: string, userId?: string, email?: string) { + super(message); + this.name = "PasswordChangeRequiredError"; + this.userId = userId; + this.email = email; + } +} + +/** Extract a human-readable message from an error response body of any + * shape. Copied from `tools/oa/src/client.ts` errorMessage() — tolerates + * `{error: string}`, `{message: string}`, and `{error: {message}}`, and + * falls back to statusText, then `HTTP `. */ +function errorMessage(data: unknown, statusText: string, status: number): string { + const d = data as { error?: unknown; message?: unknown } | null; + const err = d?.error; + if (typeof err === "string" && err) return err; + if (typeof d?.message === "string" && d.message) return d.message; + if (err && typeof err === "object") { + const nested = (err as { message?: unknown }).message; + if (typeof nested === "string" && nested) return nested; + try { + return JSON.stringify(err); + } catch { + /* fall through */ + } + } + return statusText || `HTTP ${status}`; +} + +async function parseJsonBody(res: Response): Promise { + const text = await res.text(); + if (!text) return {}; + try { + return JSON.parse(text); + } catch { + return {}; + } +} + +interface RequestOptions { + body?: unknown; + /** Attach the Authorization header from the stored apiKey (default true). */ + auth?: boolean; + /** Override the Bearer token for this call only (e.g. mintApiKey's login JWT). */ + token?: string; +} + +export class PlatformClient { + private readonly baseUrl: string; + private readonly apiKey: string | null; + private readonly userId: string | null; + private readonly fetchImpl: FetchLike; + + constructor(opts: { + baseUrl: string; + apiKey?: string | null; + userId?: string | null; + fetchImpl?: FetchLike; + }) { + this.baseUrl = opts.baseUrl.replace(/\/+$/, ""); + this.apiKey = opts.apiKey ?? null; + this.userId = opts.userId ?? null; + this.fetchImpl = opts.fetchImpl ?? fetch; + } + + // ---- header construction -------------------------------------------- + + /** `/api/chat/*` routes additionally require `x-user-id` alongside the + * Bearer token — see the plan's Global Constraints. */ + private buildHeaders( + path: string, + opts: { hasBody: boolean; auth: boolean; token?: string; accept?: string }, + ): Record { + const headers: Record = {}; + if (opts.hasBody) headers["content-type"] = "application/json"; + if (opts.accept) headers.accept = opts.accept; + + const bearer = opts.token ?? (opts.auth ? this.apiKey : null); + if (bearer) headers.authorization = `Bearer ${bearer}`; + + if (opts.auth && this.userId && path.startsWith("/api/chat/")) { + headers["x-user-id"] = this.userId; + } + return headers; + } + + // ---- low-level request helpers --------------------------------------- + + private async request(method: string, path: string, opts: RequestOptions = {}): Promise { + const auth = opts.auth ?? true; + const headers = this.buildHeaders(path, { hasBody: opts.body !== undefined, auth, token: opts.token }); + const res = await this.fetchImpl(`${this.baseUrl}${path}`, { + method, + headers, + body: opts.body !== undefined ? JSON.stringify(opts.body) : undefined, + }); + const data = await parseJsonBody(res); + if (!res.ok) { + throw new ApiError(res.status, errorMessage(data, res.statusText, res.status)); + } + return data as T; + } + + /** Shared implementation for every NDJSON-streaming endpoint: sends + * `Accept: application/x-ndjson`, then pipes `res.body` through + * `readNdjson` (task 3) rather than re-parsing the wire format here. */ + private async streamRequest( + method: string, + path: string, + onFrame: (f: PlatformFrame) => void | Promise, + opts: { body?: unknown; signal?: AbortSignal } = {}, + ): Promise { + const headers = this.buildHeaders(path, { + hasBody: opts.body !== undefined, + auth: true, + accept: "application/x-ndjson", + }); + const res = await this.fetchImpl(`${this.baseUrl}${path}`, { + method, + headers, + body: opts.body !== undefined ? JSON.stringify(opts.body) : undefined, + signal: opts.signal, + }); + if (!res.ok) { + const data = await parseJsonBody(res); + throw new ApiError(res.status, errorMessage(data, res.statusText, res.status)); + } + const body = res.body; + if (!body) return; + await readNdjson(body, (frame) => onFrame(frame as PlatformFrame), opts.signal); + } + + // ---- health / auth ---------------------------------------------------- + + async health(): Promise<{ ok: boolean; raw: unknown }> { + const res = await this.fetchImpl(`${this.baseUrl}/api/health`, { method: "GET" }); + const raw = await parseJsonBody(res); + return { ok: res.ok, raw }; + } + + async login( + email: string, + password: string, + ): Promise<{ token: string; user: { id: string; email: string; name: string; isAdmin: boolean } }> { + const res = await this.fetchImpl(`${this.baseUrl}/api/auth/local/login`, { + method: "POST", + headers: { "content-type": "application/json" }, + body: JSON.stringify({ username: email, password }), + }); + const data = (await parseJsonBody(res)) as { + requiresPasswordChange?: boolean; + userId?: string; + email?: string; + token?: string; + user?: { id: string; email: string; name: string; isAdmin: boolean }; + }; + + if (res.status === 403 && data.requiresPasswordChange) { + throw new PasswordChangeRequiredError( + errorMessage(data, res.statusText, res.status), + data.userId, + data.email, + ); + } + if (!res.ok) { + throw new ApiError(res.status, errorMessage(data, res.statusText, res.status)); + } + return { token: data.token as string, user: data.user as { id: string; email: string; name: string; isAdmin: boolean } }; + } + + async changePassword(email: string, current: string, next: string): Promise<{ token: string }> { + const data = await this.request<{ token: string }>("POST", "/api/auth/local/change-password", { + body: { currentPassword: current, newPassword: next, email }, + auth: false, + }); + return { token: data.token }; + } + + /** POST /api/workflows/user/api-keys, Bearer=jwt (the login JWT passed in + * — NOT the client's stored apiKey, which doesn't exist yet at mint time). */ + async mintApiKey(jwt: string, name: string): Promise<{ id: string; key: string }> { + const data = await this.request<{ key: { id: string; plaintext_key: string } }>( + "POST", + "/api/workflows/user/api-keys", + { body: { name }, token: jwt }, + ); + return { id: data.key.id, key: data.key.plaintext_key }; + } + + async validateToken(): Promise<{ userId: string; email: string; isAdmin: boolean }> { + const data = await this.request<{ userId: string; email: string; isAdmin: boolean }>( + "POST", + "/api/auth/validate-token", + ); + return { userId: data.userId, email: data.email, isAdmin: data.isAdmin }; + } + + // ---- sessions ----------------------------------------------------------- + + async listSessions(): Promise { + const data = await this.request<{ sessions: ChatSession[] }>("GET", "/api/chat/sessions"); + return data.sessions; + } + + async createSession(title: string): Promise { + const data = await this.request<{ session: ChatSession }>("POST", "/api/chat/sessions", { + body: { title }, + }); + return data.session; + } + + async deleteSession(id: string): Promise { + await this.request("DELETE", `/api/chat/sessions/${encodeURIComponent(id)}`); + } + + /** PUT /api/chat/sessions/:sessionId with `{title}` — the update handler + * (session.handler.ts `update`, wired in routes/chat/index.ts:1060) accepts + * `{title?, metadata?, isActive?}` and replies `{session, success:true}`. */ + async renameSession(id: string, title: string): Promise { + const data = await this.request<{ session: ChatSession }>( + "PUT", + `/api/chat/sessions/${encodeURIComponent(id)}`, + { body: { title } }, + ); + return data.session; + } + + async getMessages(sessionId: string): Promise { + const data = await this.request<{ messages: unknown[] }>( + "GET", + `/api/chat/sessions/${encodeURIComponent(sessionId)}/messages`, + ); + return data.messages; + } + + async listModels(): Promise { + return this.request("GET", "/api/chat/models"); + } + + // ---- chat streaming ------------------------------------------------- + + async chatStream( + body: { sessionId: string; message: string; attachments?: unknown[] }, + onFrame: (f: PlatformFrame) => void | Promise, + signal?: AbortSignal, + ): Promise { + await this.streamRequest("POST", "/api/chat/stream", onFrame, { body, signal }); + } + + async tailStream( + sessionId: string, + turnId: string, + afterSeq: number, + onFrame: (f: PlatformFrame) => void | Promise, + signal?: AbortSignal, + ): Promise { + const qs = new URLSearchParams({ turnId, after: String(afterSeq) }); + const path = `/api/chat/stream/${encodeURIComponent(sessionId)}/tail?${qs.toString()}`; + await this.streamRequest("GET", path, onFrame, { signal }); + } + + /** POST /api/approvals/:auditId/:verdict — verb-in-path, EMPTY body. */ + async approve(auditId: string, verdict: "approve" | "deny"): Promise { + await this.request("POST", `/api/approvals/${encodeURIComponent(auditId)}/${verdict}`); + } + + // ---- workflows ---------------------------------------------------------- + + async listWorkflows(): Promise { + const data = await this.request<{ workflows: WorkflowSummary[] }>("GET", "/api/workflows"); + return data.workflows; + } + + /** `input` is the workflow's trigger input (default `{}`) — the execute + * route destructures `{ input = {}, trigger_type = 'manual' }` off the body + * (execution.routes.ts), so trigger-input workflows need it populated to run. */ + async executeWorkflowStream( + id: string, + onFrame: (f: PlatformFrame) => void | Promise, + signal?: AbortSignal, + input: Record = {}, + ): Promise { + await this.streamRequest("POST", `/api/workflows/${encodeURIComponent(id)}/execute`, onFrame, { + body: { input, trigger_type: "manual" }, + signal, + }); + } + + async executeWorkflowAsync( + id: string, + input: Record = {}, + ): Promise<{ executionId: string }> { + const data = await this.request<{ executionId: string }>( + "POST", + `/api/workflows/${encodeURIComponent(id)}/execute?async=true`, + { body: { input, trigger_type: "manual" } }, + ); + return { executionId: data.executionId }; + } + + async getExecution( + id: string, + execId: string, + ): Promise<{ execution: unknown; logs?: unknown; nodeSummary?: unknown }> { + return this.request( + "GET", + `/api/workflows/${encodeURIComponent(id)}/executions/${encodeURIComponent(execId)}`, + ); + } + + async listExecutions(id: string): Promise { + const data = await this.request<{ executions: unknown[] }>( + "GET", + `/api/workflows/${encodeURIComponent(id)}/executions`, + ); + return data.executions; + } + + // ---- files ---------------------------------------------------------- + + /** POST multipart/form-data to /api/files/upload — field name `file`. + * Content-Type is intentionally left unset so fetch fills in the + * multipart boundary itself (see openagentic-ui's uploadFilesToApi.ts). */ + async uploadFile(file: { name: string; mime: string; bytes: Uint8Array }): Promise<{ + id: string; + isDuplicate?: boolean; + }> { + const form = new FormData(); + // Cast needed under TS 5.7's stricter typed-array lib types: the + // `bytes: Uint8Array` param's buffer is typed `ArrayBufferLike`, but + // `BlobPart` wants an `ArrayBufferView`. A plain Uint8Array + // is a valid Blob part at runtime regardless of that generic parameter. + form.append("file", new Blob([file.bytes as unknown as BlobPart], { type: file.mime }), file.name); + + const headers: Record = {}; + if (this.apiKey) headers.authorization = `Bearer ${this.apiKey}`; + + const res = await this.fetchImpl(`${this.baseUrl}/api/files/upload`, { + method: "POST", + headers, + body: form, + }); + const data = (await parseJsonBody(res)) as { file?: { id: string }; isDuplicate?: boolean }; + if (!res.ok) { + throw new ApiError(res.status, errorMessage(data, res.statusText, res.status)); + } + return { id: data.file?.id as string, isDuplicate: data.isDuplicate }; + } + + // ---- local-executor bridge --------------------------------------------- + + async subscribeLocalExecutor( + tools: unknown[], + onFrame: (f: PlatformFrame) => void | Promise, + signal?: AbortSignal, + ): Promise { + await this.streamRequest("POST", "/api/chat/local-executor/subscribe", onFrame, { + body: { tools }, + signal, + }); + } + + async postToolResult(r: { tool_use_id: string; content: unknown; is_error?: boolean }): Promise { + await this.request("POST", "/api/chat/local-executor/tool-result", { body: r }); + } +} diff --git a/companions/desktop/src/api/ndjson.test.ts b/companions/desktop/src/api/ndjson.test.ts new file mode 100644 index 000000000..19c56cdae --- /dev/null +++ b/companions/desktop/src/api/ndjson.test.ts @@ -0,0 +1,219 @@ +import { describe, expect, it, vi } from "vitest"; +import { readNdjson } from "./ndjson"; + +/** Build a ReadableStream from a list of string chunks. */ +function streamFromChunks(chunks: string[]): ReadableStream { + const encoder = new TextEncoder(); + return new ReadableStream({ + start(controller) { + for (const chunk of chunks) { + controller.enqueue(encoder.encode(chunk)); + } + controller.close(); + }, + }); +} + +/** A promise you can resolve from the outside, for asserting ordering. */ +function deferred(): { + promise: Promise; + resolve: (value: T) => void; +} { + let resolve!: (value: T) => void; + const promise = new Promise((res) => { + resolve = res; + }); + return { promise, resolve }; +} + +describe("readNdjson", () => { + it("delivers a frame split across chunks", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['{"type":"a",', '"value":1}\n']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a", value: 1 }]); + }); + + it("delivers two frames in a single chunk", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['{"type":"a"}\n{"type":"b"}\n']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a" }, { type: "b" }]); + }); + + it("strips an optional 'data: ' SSE-style prefix", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['data: {"type":"a"}\n']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a" }]); + }); + + it("skips [DONE] sentinel lines", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['{"type":"a"}\n[DONE]\n{"type":"b"}\n']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a" }, { type: "b" }]); + }); + + it("silently skips garbage / non-JSON keepalive lines", async () => { + const frames: Record[] = []; + const stream = streamFromChunks([ + '{"type":"a"}\n', + ": keepalive\n", + "not json at all\n", + '{"type":"b"}\n', + ]); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a" }, { type: "b" }]); + }); + + it("flushes a trailing unterminated frame at stream end", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['{"type":"a"}\n{"type":"b"}']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ type: "a" }, { type: "b" }]); + }); + + it("awaits onFrame sequentially before starting the next frame (backpressure)", async () => { + const order: string[] = []; + const gate1 = deferred(); + const gate2 = deferred(); + + const stream = streamFromChunks(['{"type":"1"}\n{"type":"2"}\n{"type":"3"}\n']); + + const onFrame = vi.fn(async (frame: Record) => { + order.push(`start:${frame.type}`); + if (frame.type === "1") await gate1.promise; + if (frame.type === "2") await gate2.promise; + order.push(`end:${frame.type}`); + }); + + const readPromise = readNdjson(stream, onFrame); + + // Only the first frame's callback should have started; the second + // frame must not begin until frame 1's promise resolves. + await Promise.resolve(); + await Promise.resolve(); + expect(order).toEqual(["start:1"]); + + gate1.resolve(); + await Promise.resolve(); + await Promise.resolve(); + await Promise.resolve(); + expect(order).toEqual(["start:1", "end:1", "start:2"]); + + gate2.resolve(); + await readPromise; + + expect(order).toEqual(["start:1", "end:1", "start:2", "end:2", "start:3", "end:3"]); + }); + + it("skips lines that parse to non-object JSON values (null, numbers, arrays)", async () => { + const frames: Record[] = []; + const stream = streamFromChunks(['null\n42\n[1,2]\n"str"\ntrue\n{"ok":1}\n']); + + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ ok: 1 }]); + }); + + it("decodes a multibyte character split across chunks, including in a trailing frame", async () => { + // '{"t":"é"}' with the two-byte é (0xC3 0xA9) split across chunks and + // no trailing newline — the decoder must carry the partial sequence + // across the boundary and the reader must flush the completed frame + // (with a final decoder flush) at stream end. + const bytes = new TextEncoder().encode('{"t":"é"}'); + const stream = new ReadableStream({ + start(controller) { + controller.enqueue(bytes.slice(0, 7)); // ends mid-é + controller.enqueue(bytes.slice(7)); + controller.close(); + }, + }); + + const frames: Record[] = []; + await readNdjson(stream, (frame) => { + frames.push(frame); + }); + + expect(frames).toEqual([{ t: "é" }]); + }); + + it("removes its abort listener on normal completion (no leak on a reused signal)", async () => { + const controller = new AbortController(); + const addSpy = vi.spyOn(controller.signal, "addEventListener"); + const removeSpy = vi.spyOn(controller.signal, "removeEventListener"); + + await readNdjson(streamFromChunks(['{"a":1}\n']), () => {}, controller.signal); + await readNdjson(streamFromChunks(['{"b":2}\n']), () => {}, controller.signal); + + const abortAdds = addSpy.mock.calls.filter(([type]) => type === "abort"); + const abortRemoves = removeSpy.mock.calls.filter(([type]) => type === "abort"); + expect(abortAdds).toHaveLength(2); + expect(abortRemoves).toHaveLength(2); + // The exact listener that was added must be the one removed. + expect(abortRemoves.map((call) => call[1])).toEqual(abortAdds.map((call) => call[1])); + }); + + it("rejects with a DOMException AbortError when aborted mid-stream", async () => { + const controller = new AbortController(); + const frames: Record[] = []; + const encoder = new TextEncoder(); + + // Enqueue one frame, then never close — the reader will block on the + // *next* read() call, which is where a real mid-stream abort happens. + const stream = new ReadableStream({ + start(streamController) { + streamController.enqueue(encoder.encode('{"type":"a"}\n')); + }, + }); + + const gotFirstFrame = deferred(); + const onFrame = vi.fn((frame: Record) => { + frames.push(frame); + gotFirstFrame.resolve(); + }); + + const readPromise = readNdjson(stream, onFrame, controller.signal); + + await gotFirstFrame.promise; // frame "a" delivered; reader is now blocked awaiting more data + controller.abort(); + + let error: unknown; + try { + await readPromise; + } catch (err) { + error = err; + } + + expect(error).toBeInstanceOf(DOMException); + expect((error as DOMException).name).toBe("AbortError"); + expect(frames).toEqual([{ type: "a" }]); + }); +}); diff --git a/companions/desktop/src/api/ndjson.ts b/companions/desktop/src/api/ndjson.ts new file mode 100644 index 000000000..505acfde1 --- /dev/null +++ b/companions/desktop/src/api/ndjson.ts @@ -0,0 +1,130 @@ +/** + * Tolerant reader for the platform's `application/x-ndjson` streams. + * + * Every streaming endpoint (chat, flows, local-executor) emits one JSON + * object per line. This is the single place that reads those bytes off + * the wire — everything downstream consumes frames through `readNdjson`. + * + * Tolerance rules (see `tools/oa/src/chat-text.ts` and + * `services/openagentic-ui/src/utils/ndjsonStream.ts` for prior art): + * - UTF-8 decode with `stream: true` so multi-byte characters split + * across chunk boundaries decode correctly. + * - Split on `\n`; the trailing, possibly-incomplete segment is held + * over to the next chunk (and flushed at stream end). + * - Per line: trim, skip blank lines, strip an optional `data: ` SSE + * prefix, skip the `[DONE]` sentinel, and silently skip lines that + * don't parse as JSON (keepalive noise, proxy artifacts) or parse to + * a non-object value (`null`, numbers, arrays) — a single bad line + * must not kill the stream. + * + * Backpressure: `onFrame` is awaited *sequentially*, one frame at a time. + * This is required for HITL (human-in-the-loop) approval flows — the + * reader must not start pulling frame N+1 off the wire until whatever + * frame N triggered (e.g. rendering an approval prompt) has resolved. + * + * Cancellation: passing `signal` lets a caller abort mid-stream (e.g. the + * user navigates away). The returned promise rejects with the signal's + * abort reason, which is a `DOMException` named `AbortError` for a + * default `controller.abort()` call. + */ +export async function readNdjson( + body: ReadableStream, + onFrame: (frame: Record) => void | Promise, + signal?: AbortSignal, +): Promise { + if (signal?.aborted) { + throw toAbortError(signal); + } + + const reader = body.getReader(); + const decoder = new TextDecoder(); + let buffer = ""; + + /** Rejects the moment `signal` aborts, so a pending `reader.read()` can be raced away. + * The listener is captured so `finally` can remove it on non-abort exits — + * a long-lived AbortController reused across many sequential readNdjson + * calls must not accumulate one dangling listener per completed call. */ + let onAbort: (() => void) | undefined; + const abortPromise = signal + ? new Promise((_, reject) => { + onAbort = () => reject(toAbortError(signal)); + signal.addEventListener("abort", onAbort, { once: true }); + }) + : undefined; + + try { + while (true) { + const { done, value } = abortPromise + ? await Promise.race([reader.read(), abortPromise]) + : await reader.read(); + + if (done) { + // Flush any partial multibyte sequence the decoder is still holding, + // then the trailing unterminated line (if any). + buffer += decoder.decode(); + await handleLine(buffer, onFrame); + return; + } + + buffer += decoder.decode(value, { stream: true }); + + const lines = buffer.split("\n"); + buffer = lines.pop() ?? ""; + + for (const line of lines) { + await handleLine(line, onFrame); + } + } + } finally { + if (signal && onAbort) { + signal.removeEventListener("abort", onAbort); + } + try { + await reader.cancel(); + } catch { + // Already closed/cancelled — ignore. + } + try { + reader.releaseLock(); + } catch { + // Already released — ignore. + } + } +} + +async function handleLine( + rawLine: string, + onFrame: (frame: Record) => void | Promise, +): Promise { + let line = rawLine.trim(); + if (!line) return; + + if (line.startsWith("data: ")) { + line = line.slice("data: ".length).trim(); + } else if (line.startsWith("data:")) { + line = line.slice("data:".length).trim(); + } + if (!line || line === "[DONE]") return; + + let parsed: unknown; + try { + parsed = JSON.parse(line); + } catch { + // Not JSON — a keepalive comment or proxy artifact. Skip silently. + return; + } + + // Frames are always objects; skip primitives / null / arrays (e.g. a bare + // `null` keepalive) rather than forwarding a non-frame to consumers. + if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) { + return; + } + + await onFrame(parsed as Record); +} + +function toAbortError(signal: AbortSignal): unknown { + return signal.reason instanceof DOMException + ? signal.reason + : new DOMException("The operation was aborted.", "AbortError"); +} diff --git a/companions/desktop/src/api/types.ts b/companions/desktop/src/api/types.ts new file mode 100644 index 000000000..4875ef2da --- /dev/null +++ b/companions/desktop/src/api/types.ts @@ -0,0 +1,60 @@ +/** + * Shared wire types for the platform API client. + * + * These mirror the response envelopes documented in `tools/oa/src/client.ts` + * (the reference CLI client) and the route handlers under + * `services/openagentic-api/src/routes/**`. `client.ts` unwraps each + * endpoint's (inconsistent) envelope down to these shapes before handing + * data to callers. + */ + +/** The subset of the global `fetch` signature the client depends on — lets + * tests and (eventually) a Tauri HTTP shim substitute their own impl. */ +export type FetchLike = typeof fetch; + +/** Local auth/session state the rest of the app reads from a store; the + * client itself is stateless and only produces the pieces of this. */ +export interface AuthState { + baseUrl: string; + apiKey: string | null; + userId: string | null; + email: string | null; + isAdmin: boolean; +} + +/** One NDJSON line off any streaming endpoint (chat, workflow execute, + * local-executor subscribe). `type` is the only field every frame shares; + * everything else is endpoint-specific and passed through verbatim. */ +export interface PlatformFrame { + type: string; + _seq?: number; + _runId?: string; + _ts?: number; + [k: string]: unknown; +} + +export interface ChatSession { + id: string; + title: string; + createdAt: string; + updatedAt: string; +} + +export interface ModelInfo { + id: string; + name?: string; + provider?: string; +} + +export interface ModelsReport { + models: ModelInfo[]; + defaultModel?: string; + codemodeDefault?: string; + provider_status?: Record; +} + +export interface WorkflowSummary { + id: string; + name: string; + description?: string; +} diff --git a/companions/desktop/src/assets/fonts/inter-600.woff2 b/companions/desktop/src/assets/fonts/inter-600.woff2 new file mode 100644 index 000000000..03aaea1ce Binary files /dev/null and b/companions/desktop/src/assets/fonts/inter-600.woff2 differ diff --git a/companions/desktop/src/assets/fonts/inter-regular.woff2 b/companions/desktop/src/assets/fonts/inter-regular.woff2 new file mode 100644 index 000000000..33002f128 Binary files /dev/null and b/companions/desktop/src/assets/fonts/inter-regular.woff2 differ diff --git a/companions/desktop/src/auth/LoginScreen.tsx b/companions/desktop/src/auth/LoginScreen.tsx new file mode 100644 index 000000000..bb174d30e --- /dev/null +++ b/companions/desktop/src/auth/LoginScreen.tsx @@ -0,0 +1,116 @@ +/** + * LoginScreen — the gate shown while `authStore.status` is `signedOut` / + * `signingIn`. Collects the instance URL + credentials and drives + * `authStore.signIn`, which does the login → mint-key → validate → persist + * dance. Errors (including the forced-password-change hint) surface from + * `authStore.error`. + */ +import { useState, type FormEvent } from "react"; +import { useAuthStore } from "../stores/authStore"; + +const DEFAULT_INSTANCE = "http://localhost:8080"; + +const FIELD = + "w-full rounded-md border border-border bg-bg px-3 py-2 text-sm text-fg " + + "placeholder:text-muted focus:border-accent-ink focus:outline-none " + + "focus-visible:ring-2 focus-visible:ring-accent-dim"; +const LABEL = "flex flex-col gap-1 text-xs font-display uppercase tracking-widest text-muted"; + +export default function LoginScreen() { + const status = useAuthStore((s) => s.status); + const error = useAuthStore((s) => s.error); + const signIn = useAuthStore((s) => s.signIn); + + const [instanceUrl, setInstanceUrl] = useState(DEFAULT_INSTANCE); + const [email, setEmail] = useState(""); + const [password, setPassword] = useState(""); + + const busy = status === "signingIn"; + + function onSubmit(e: FormEvent) { + e.preventDefault(); + if (busy) return; + void signIn(instanceUrl.trim(), email.trim(), password); + } + + return ( +
+
+
+
OPENAGENTIC
+

Sign in to your platform instance.

+
+ + + + + + + + {error ? ( +

+ {error} +

+ ) : null} + + +
+
+ ); +} diff --git a/companions/desktop/src/chat/ApprovalSheet.test.tsx b/companions/desktop/src/chat/ApprovalSheet.test.tsx new file mode 100644 index 000000000..da5ab4560 --- /dev/null +++ b/companions/desktop/src/chat/ApprovalSheet.test.tsx @@ -0,0 +1,107 @@ +import { describe, it, expect, afterEach, vi } from "vitest"; +import { cleanup, fireEvent, render, screen } from "@testing-library/react"; +import ApprovalSheet from "./ApprovalSheet"; +import type { Block } from "./streamReducer"; + +type ApprovalBlock = Extract; + +function approvalBlock(overrides: Partial = {}): ApprovalBlock { + return { + kind: "approval", + auditId: "aud-1", + toolName: "k8s_delete_pod", + serverName: "kubernetes", + args: { pod: "web-7f8", namespace: "prod" }, + preview: "DELETE pod web-7f8", + classification: "mutating", + ...overrides, + }; +} + +afterEach(cleanup); + +describe("ApprovalSheet — render", () => { + it("shows the tool, server, classification, preview and pretty-printed args (approval_required shape)", () => { + render(); + + expect(screen.getByTestId("approval-tool").textContent).toBe("k8s_delete_pod"); + expect(screen.getByTestId("approval-server").textContent).toContain("kubernetes"); + expect(screen.getByTestId("approval-classification").textContent).toContain("mutating"); + expect(screen.getByTestId("approval-preview").textContent).toContain("DELETE pod web-7f8"); + // Args are pretty-printed JSON (indented, keys visible). + const args = screen.getByTestId("approval-args").textContent ?? ""; + expect(args).toContain("web-7f8"); + expect(args).toContain("namespace"); + expect(args).toContain("\n"); // multi-line = JSON.stringify(..., 2) + }); + + it("renders the mcp_approval_required shape (no preview, args normalized from `arguments`)", () => { + // The reducer already normalizes mcp_approval_required (requestId→auditId, + // arguments→args, no preview) into this block shape; the sheet renders it. + render( + , + ); + expect(screen.getByTestId("approval-tool").textContent).toBe("aws_terminate_instance"); + expect(screen.getByTestId("approval-args").textContent).toContain("i-0abc"); + // No preview block when the frame carried none. + expect(screen.queryByTestId("approval-preview")).toBeNull(); + }); +}); + +describe("ApprovalSheet — decisions", () => { + it("Allow button calls onDecision(auditId, 'approve')", () => { + const onDecision = vi.fn(); + render(); + fireEvent.click(screen.getByTestId("approval-allow")); + expect(onDecision).toHaveBeenCalledWith("aud-9", "approve"); + }); + + it("Deny button calls onDecision(auditId, 'deny')", () => { + const onDecision = vi.fn(); + render(); + fireEvent.click(screen.getByTestId("approval-deny")); + expect(onDecision).toHaveBeenCalledWith("aud-9", "deny"); + }); + + it("⌘↵ approves and Escape denies", () => { + const onDecision = vi.fn(); + render(); + + fireEvent.keyDown(window, { key: "Enter", metaKey: true }); + expect(onDecision).toHaveBeenCalledWith("aud-k", "approve"); + + fireEvent.keyDown(window, { key: "Escape" }); + expect(onDecision).toHaveBeenCalledWith("aud-k", "deny"); + }); + + it("mounted on a hidden surface (active=false): window ⌘↵/Esc must NOT resolve the gate", () => { + // Surfaces stay mounted while hidden; a keystroke aimed at the visible + // surface must never silently resolve this unseen approval. + const onDecision = vi.fn(); + const { rerender } = render( + , + ); + + fireEvent.keyDown(window, { key: "Enter", metaKey: true }); + fireEvent.keyDown(window, { key: "Escape" }); + expect(onDecision).not.toHaveBeenCalled(); + + // Back on the chat surface the same keys work again. + rerender( + , + ); + fireEvent.keyDown(window, { key: "Enter", metaKey: true }); + expect(onDecision).toHaveBeenCalledWith("aud-bg", "approve"); + }); +}); diff --git a/companions/desktop/src/chat/ApprovalSheet.tsx b/companions/desktop/src/chat/ApprovalSheet.tsx new file mode 100644 index 000000000..0a5fa678f --- /dev/null +++ b/companions/desktop/src/chat/ApprovalSheet.tsx @@ -0,0 +1,147 @@ +/** + * ApprovalSheet — the HITL gate. When the live turn pauses on a trailing, + * unresolved `approval` block, this modal sheet surfaces the tool, its server, + * a risk/mutation classification, an optional preview, and the pretty-printed + * call arguments so the operator can make an informed Allow / Deny call. + * + * Both wire shapes are already normalized by the reducer into one `approval` + * block: `approval_required` (mutating gate — `auditId`, `args`, `preview`, + * `classification`) and `mcp_approval_required` (HITL risk gate — `requestId` + * → auditId, `arguments` → args, `riskLevel` → classification, no preview). + * The sheet just renders whatever the block carries. + * + * Allow = ⌘↵ / Deny = esc. The decision goes to `onDecision(auditId, verdict)` + * (useChat.approve), which posts to the server and optimistically resolves the + * block; the paused stream then resumes on its existing connection. The + * optimistic resolve unmounts this sheet on the next render, and useChat's + * per-auditId in-flight guard collapses rapid double-fires (click or ⌘↵) into + * a single POST — so the sheet carries no busy/disabled state of its own. + */ +import { useEffect } from "react"; +import type { Block } from "./streamReducer"; + +type ApprovalBlock = Extract; + +function formatArgs(value: unknown): string { + if (value === undefined) return ""; + if (typeof value === "string") return value; + try { + return JSON.stringify(value, null, 2); + } catch { + return String(value); + } +} + +export default function ApprovalSheet({ + approval, + onDecision, + active, +}: { + approval: ApprovalBlock; + onDecision: (auditId: string, verdict: "approve" | "deny") => void; + /** Whether the hosting surface is the visible one. Surfaces stay mounted + * while hidden, and `display:none` does not silence a window keydown + * listener — so the listener only registers while active, or a keystroke on + * the VISIBLE surface could silently resolve this unseen gate. */ + active: boolean; +}) { + const { auditId } = approval; + + useEffect(() => { + if (!active) return; // hidden surface: never capture window keys + function onKey(e: KeyboardEvent) { + if (e.key === "Enter" && (e.metaKey || e.ctrlKey)) { + e.preventDefault(); + onDecision(auditId, "approve"); + } else if (e.key === "Escape") { + e.preventDefault(); + onDecision(auditId, "deny"); + } + } + window.addEventListener("keydown", onKey); + return () => window.removeEventListener("keydown", onKey); + // Re-bind when the pending approval changes so the verdict targets it, and + // when the surface becomes active/inactive. + }, [auditId, onDecision, active]); + + const args = formatArgs(approval.args); + + return ( +
+
+
+
+ Approval required +
+
+ + {approval.toolName} + + {approval.serverName ? ( + + {approval.serverName} + + ) : null} + {approval.classification ? ( + + {approval.classification} + + ) : null} +
+
+ +
+ {approval.preview ? ( +
+ {approval.preview} +
+ ) : null} + {args ? ( +
+
+ Arguments +
+
+                {args}
+              
+
+ ) : null} +
+ +
+ + +
+
+
+ ); +} diff --git a/companions/desktop/src/chat/ChatSurface.tsx b/companions/desktop/src/chat/ChatSurface.tsx new file mode 100644 index 000000000..e0a1fb053 --- /dev/null +++ b/companions/desktop/src/chat/ChatSurface.tsx @@ -0,0 +1,281 @@ +/** + * ChatSurface — the chat product surface: session rail + models strip + + * transcript + composer, wired to `chatStore` (sessions/models) and `useChat` + * (the active session's turns and streaming). + * + * Sending from a cold start (no active session) creates one first, then flushes + * the queued message once `useChat` re-binds to the new session id. + */ +import { useEffect, useState } from "react"; +import { useAppStore } from "../stores/appStore"; +import { useAuthStore } from "../stores/authStore"; +import { useChatStore } from "../stores/chatStore"; +import { useChat, type AttachmentRef, type AssistantTurn } from "./useChat"; +import type { ModelsReport } from "../api/types"; +import type { Block } from "./streamReducer"; +import SessionSidebar from "./SessionSidebar"; +import MessageList from "./MessageList"; +import Composer from "./Composer"; +import ApprovalSheet from "./ApprovalSheet"; +import { useTrustStore } from "../executor/trustStore"; +import { useLocalExecutor } from "../executor/useLocalExecutor"; +import TrustBanner from "../executor/TrustBanner"; +import WorkspaceApprovalModal from "../executor/WorkspaceApprovalModal"; +import { useDockBadge } from "../shell/useDockBadge"; + +/** The live turn pauses on an approval by emitting it as the trailing block; + * an unresolved trailing approval is what the modal sheet gates on. */ +function pendingApproval(turn: AssistantTurn | null): Extract | null { + if (!turn) return null; + const last = turn.blocks[turn.blocks.length - 1]; + return last && last.kind === "approval" && !last.resolved ? last : null; +} + +const SUGGESTED_PROMPTS = [ + "Summarize the health of my Kubernetes cluster.", + "What were my top 5 AWS cost drivers last month?", + "Search the web for the latest on the OpenAgentic project.", +]; + +function isHealthy(v: unknown): boolean { + if (v === true) return true; + if (typeof v === "string") return ["ok", "connected", "healthy", "ready", "up"].includes(v.toLowerCase()); + if (v && typeof v === "object") { + const o = v as { connected?: unknown; status?: unknown; healthy?: unknown }; + if (o.connected === true || o.healthy === true) return true; + if (typeof o.status === "string") return isHealthy(o.status); + } + return false; +} + +function ModelsStrip({ models }: { models: ModelsReport | null }) { + if (!models) return null; + const providers = Object.entries(models.provider_status ?? {}); + return ( +
+ {providers.length > 0 ? ( +
+ {providers.map(([name, status]) => ( + + + ))} +
+ ) : null} + +
+ {models.models.slice(0, 6).map((m) => { + const active = m.id === models.defaultModel; + return ( + + {m.name || m.id} + + ); + })} +
+ + + routing: smart + +
+ ); +} + +/** "Give chat local hands" — the chat-header switch that arms the + * local-executor bridge. Disabled (with a hint) until a trusted workspace + * exists, so turning it on can never grant hands with nowhere scoped to work. */ +function LocalHandsToggle() { + const enabled = useTrustStore((s) => s.enabled); + const setEnabled = useTrustStore((s) => s.setEnabled); + const rootsCount = useTrustStore((s) => s.roots.length); + const noRoots = rootsCount === 0; + + return ( + + ); +} + +function EmptyState({ onPrompt }: { onPrompt: (text: string) => void }) { + return ( +
+
+ +
+
◇ Try asking
+ {SUGGESTED_PROMPTS.map((p, i) => ( + + ))} +
+
+ ); +} + +export default function ChatSurface({ + visible = true, +}: { + /** Whether Chat is the active (visible) surface. Chat stays mounted while + * hidden; this gates its modals' window key-listeners and drives the rail's + * pending-gate badge. */ + visible?: boolean; +}) { + const activeSessionId = useChatStore((s) => s.activeSessionId); + const sessions = useChatStore((s) => s.sessions); + const models = useChatStore((s) => s.models); + const prefill = useChatStore((s) => s.prefill); + const setPrefill = useChatStore((s) => s.setPrefill); + const loadSessions = useChatStore((s) => s.loadSessions); + const loadModels = useChatStore((s) => s.loadModels); + const createSession = useChatStore((s) => s.createSession); + + const { turns, liveTurn, loading, send, stop, approve } = useChat(activeSessionId); + const [pending, setPending] = useState<{ text: string; attachments?: AttachmentRef[] } | null>(null); + const approval = pendingApproval(liveTurn); + const loadTrust = useTrustStore((s) => s.loadFromStorage); + const trustPending = useTrustStore((s) => s.pending); + const setPendingGate = useAppStore((s) => s.setPendingGate); + + // Run the local-executor subscribe loop while "local hands" is on. + useLocalExecutor(); + + // Surface chat's unresolved gates (HITL approval / workspace consent) on the + // rail so a gate paused behind a hidden surface is discoverable. + useEffect(() => { + setPendingGate("chat", approval !== null || trustPending !== null); + }, [approval, trustPending, setPendingGate]); + useEffect(() => () => setPendingGate("chat", false), [setPendingGate]); + + // Boot: hydrate sessions + models + persisted trust config once. + useEffect(() => { + void loadSessions(); + void loadModels(); + loadTrust(); + }, [loadSessions, loadModels, loadTrust]); + + // Flush a queued cold-start message once the freshly-created session is live. + useEffect(() => { + if (pending && activeSessionId) { + const p = pending; + setPending(null); + void send(p.text, p.attachments); + } + }, [pending, activeSessionId, send]); + + async function handleSend(text: string, attachments?: AttachmentRef[]) { + if (!activeSessionId) { + const session = await createSession(text); + if (!session) return; + setPending({ text, attachments }); + return; + } + void send(text, attachments); + } + + async function handleUpload(file: File): Promise { + const client = useAuthStore.getState().client; + if (!client) return null; + try { + const bytes = new Uint8Array(await file.arrayBuffer()); + const res = await client.uploadFile({ + name: file.name, + mime: file.type || "application/octet-stream", + bytes, + }); + return { id: res.id, name: file.name, mime: file.type || undefined, size: file.size }; + } catch { + return null; + } + } + + const showEmpty = !activeSessionId && sessions.length === 0; + const busy = liveTurn !== null; + + // macOS dock badge while a turn streams (no-op off the Tauri host). + useDockBadge(busy); + + return ( +
+ +
+
+ Chat + +
+ + + {showEmpty ? ( + + ) : ( + + )} + setPrefill("")} + onUpload={handleUpload} + /> +
+ {approval ? : null} + +
+ ); +} diff --git a/companions/desktop/src/chat/Composer.tsx b/companions/desktop/src/chat/Composer.tsx new file mode 100644 index 000000000..90ca99bc2 --- /dev/null +++ b/companions/desktop/src/chat/Composer.tsx @@ -0,0 +1,169 @@ +/** + * Composer — the message input. + * + * Autosizing textarea (1→8 rows); ⌘↵ / Ctrl+↵ sends, plain ↵ and Shift+↵ + * insert newlines (the field is multiline-first). Files dropped onto the + * composer are uploaded via the injected `onUpload` and held as pending + * attachment chips until the next send. While a turn streams, the send button + * becomes a Stop button wired to `onStop`. + */ +import { useEffect, useRef, useState, type DragEvent, type KeyboardEvent } from "react"; +import type { AttachmentRef } from "./useChat"; + +const MAX_HEIGHT = 200; // ~8 rows + +export default function Composer({ + onSend, + onStop, + busy = false, + disabled = false, + prefill, + onPrefillConsumed, + onUpload, +}: { + onSend: (text: string, attachments?: AttachmentRef[]) => void; + onStop: () => void; + busy?: boolean; + disabled?: boolean; + prefill?: string; + onPrefillConsumed?: () => void; + onUpload?: (file: File) => Promise; +}) { + const [text, setText] = useState(""); + const [attachments, setAttachments] = useState([]); + const [dragging, setDragging] = useState(false); + const [uploading, setUploading] = useState(0); + const ref = useRef(null); + + // Autosize. + useEffect(() => { + const el = ref.current; + if (!el) return; + el.style.height = "auto"; + el.style.height = `${Math.min(el.scrollHeight, MAX_HEIGHT)}px`; + }, [text]); + + // Apply a prefill (suggested prompt / empty-state click) then clear it. + useEffect(() => { + if (prefill) { + setText(prefill); + onPrefillConsumed?.(); + ref.current?.focus(); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [prefill]); + + const canSend = !busy && !disabled && (text.trim().length > 0 || attachments.length > 0); + + function submit() { + if (!canSend) return; + onSend(text, attachments.length ? attachments : undefined); + setText(""); + setAttachments([]); + } + + function onKeyDown(e: KeyboardEvent) { + if (e.key === "Enter" && (e.metaKey || e.ctrlKey)) { + e.preventDefault(); + submit(); + } + } + + async function ingestFiles(files: FileList) { + if (!onUpload) return; + for (const file of Array.from(files)) { + setUploading((n) => n + 1); + try { + const ref2 = await onUpload(file); + if (ref2) setAttachments((prev) => [...prev, ref2]); + } finally { + setUploading((n) => n - 1); + } + } + } + + function onDrop(e: DragEvent) { + e.preventDefault(); + setDragging(false); + if (e.dataTransfer.files?.length) void ingestFiles(e.dataTransfer.files); + } + + return ( +
+
{ + e.preventDefault(); + if (onUpload) setDragging(true); + }} + onDragLeave={() => setDragging(false)} + onDrop={onDrop} + className={`mx-auto flex max-w-3xl flex-col gap-2 rounded-lg border bg-bg p-2 transition-colors focus-within:border-accent-ink ${ + dragging ? "border-accent" : "border-border" + }`} + > + {attachments.length || uploading > 0 ? ( +
+ {attachments.map((a) => ( + + {a.name} + + + ))} + {uploading > 0 ? ( + + Uploading… ({uploading}) + + ) : null} +
+ ) : null} + +
+