diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e2c6ca6..34e9e16 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,6 +21,16 @@ updates: update-types: - minor - patch + ignore: + # Tauri's Rust crates and its npm packages must be on the same minor + # version, and a pull request of one ecosystem can only raise one half: + # both halves failed the packaging job every week and neither could be + # merged. The weekly lockfile refresh raises them together. Security + # updates are not affected by this. + - dependency-name: "tauri*" + update-types: + - version-update:semver-minor + - version-update:semver-patch commit-message: prefix: "chore(deps)" @@ -36,6 +46,11 @@ updates: - minor - patch ignore: + # See the Rust half above. + - dependency-name: "@tauri-apps/*" + update-types: + - version-update:semver-minor + - version-update:semver-patch # The Node typings must describe the Node the build runs on (24, set in # the workflows); a newer major would type-check APIs that do not exist # there. Raise both together. diff --git a/.github/workflows/lockfile.yml b/.github/workflows/lockfile.yml index 7e2a705..0c4c248 100644 --- a/.github/workflows/lockfile.yml +++ b/.github/workflows/lockfile.yml @@ -1,11 +1,18 @@ name: Lockfile maintenance # Dependabot raises the dependencies named in Cargo.toml and package.json, but -# not what they pull in. A security fix in a transitive crate — rustls-webpki -# under reqwest, October 2026 — therefore sat unapplied while every pull -# request failed the audit. Once a week this refreshes both lockfiles within -# the ranges the manifests allow, runs the full CI on the result and merges it -# only when everything is green. +# not what they pull in. A security fix in a transitive crate (rustls-webpki +# under reqwest, October 2026) therefore sat unapplied while every pull request +# failed the audit. Once a week this refreshes both lockfiles within the ranges +# the manifests allow, runs the full CI on the result and merges it only when +# everything is green. It is also what raises Tauri, whose Rust and npm halves +# must move together. +# +# Opening a pull request from a workflow needs one repository setting: +# Settings > Actions > General > "Allow GitHub Actions to create and approve +# pull requests". Without it the branch is still refreshed and checked, and an +# issue with a link to open the pull request says so. It used to fail silently, +# four weeks in a row. on: schedule: @@ -17,6 +24,7 @@ permissions: contents: write pull-requests: write actions: write + issues: write jobs: refresh: @@ -35,9 +43,10 @@ jobs: cargo update cd apps/gui && npm update --package-lock-only - - name: Open a pull request and merge it once CI passes + - name: Check the refreshed lockfiles and merge them env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPO: ${{ github.repository }} run: | set -euo pipefail if git diff --quiet; then @@ -45,25 +54,68 @@ jobs: exit 0 fi - branch="chore/lockfiles-$(date -u +%Y-%m-%d)" + # One branch, replaced every week: dated ones piled up. + branch="chore/lockfiles" git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git switch -c "$branch" git commit -am "chore(deps): refresh lockfiles" - git push -u origin "$branch" - gh pr create --base main --head "$branch" \ - --title "chore(deps): refresh lockfiles" \ - --body "Weekly refresh of Cargo.lock and package-lock.json within the ranges the manifests allow. Merged automatically when the full CI passes." + git push --force -u origin "$branch" + sha=$(git rev-parse HEAD) + + title="chore(deps): refresh lockfiles" + pr=$(gh pr list -R "$REPO" --head "$branch" --base main --state open --json number --jq '.[0].number // empty') + if [ -z "$pr" ]; then + if gh pr create -R "$REPO" --base main --head "$branch" --title "$title" \ + --body "Weekly refresh of Cargo.lock and package-lock.json within the ranges the manifests allow. Merged automatically when the full CI passes." 2> pr.err; then + pr=$(gh pr list -R "$REPO" --head "$branch" --base main --state open --json number --jq '.[0].number') + else + cat pr.err + fi + fi # A pull request opened with GITHUB_TOKEN starts no workflows, so the # CI is dispatched on the branch explicitly and awaited here. - gh workflow run rust.yml --ref "$branch" - sleep 30 - run_id=$(gh run list --workflow rust.yml --branch "$branch" --event workflow_dispatch -L 1 \ - --json databaseId --jq '.[0].databaseId') - if gh run watch "$run_id" --exit-status --interval 60 > /dev/null; then - gh pr merge "$branch" --squash --delete-branch - echo "Merged." + gh workflow run rust.yml -R "$REPO" --ref "$branch" + run_id="" + for _ in 1 2 3 4 5 6; do + sleep 20 + run_id=$(gh run list -R "$REPO" --workflow rust.yml --branch "$branch" --event workflow_dispatch -L 5 \ + --json databaseId,headSha --jq ".[] | select(.headSha == \"$sha\") | .databaseId" | head -n1) + [ -n "$run_id" ] && break + done + if [ -z "$run_id" ]; then + echo "The CI run on $branch did not start." + exit 1 + fi + + if gh run watch "$run_id" -R "$REPO" --exit-status --interval 60 > /dev/null; then + ci=passed + else + ci=failed + fi + + if [ -n "$pr" ] && [ "$ci" = passed ]; then + if gh pr merge "$pr" -R "$REPO" --squash --match-head-commit "$sha" --delete-branch; then + echo "Merged #$pr." + exit 0 + fi + ci="passed, but the merge was refused" + fi + + # Someone has to look: say so where it is seen. + issue_title="The weekly lockfile refresh needs a look" + body="CI on \`$branch\` $ci: ${{ github.server_url }}/$REPO/actions/runs/$run_id" + if [ -z "$pr" ]; then + body="$body + + This workflow may not open pull requests. Either open it here: ${{ github.server_url }}/$REPO/compare/main...$branch?expand=1 + or allow it in Settings > Actions > General > Allow GitHub Actions to create and approve pull requests." + fi + existing=$(gh issue list -R "$REPO" --state open --search "\"$issue_title\" in:title" --json number --jq '.[0].number // empty') + if [ -n "$existing" ]; then + gh issue comment "$existing" -R "$REPO" --body "$body" else - echo "CI failed on the refreshed lockfiles; the pull request stays open for a look." + gh issue create -R "$REPO" --title "$issue_title" --body "$body" fi + exit 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fffe52..65144d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -228,6 +228,8 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + id-token: write + attestations: write steps: - uses: actions/checkout@v7 with: @@ -238,6 +240,20 @@ jobs: path: artifacts merge-multiple: true + # Signed proof of which commit and workflow built each file, free of + # charge and independent of the code-signing certificate that does not + # exist yet: `gh attestation verify -R SenseiIssei/Odysync`. + - uses: actions/attest-build-provenance@v4 + with: + subject-path: | + artifacts/*.exe + artifacts/*.zip + artifacts/*.tar.gz + artifacts/*.dmg + artifacts/*.deb + artifacts/*.rpm + artifacts/*.AppImage + # A tool whose entire purpose is keeping other software current should be # installable with `winget install Odysync`. The manifests are generated # here because the installer's SHA-256 is only known now; submitting them diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ebe9070..6d9e307 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -56,8 +56,17 @@ jobs: - name: Clippy run: cargo clippy --workspace --all-targets + # `--bins` as well: the command line is a binary without a library, and + # with `--lib` alone none of its tests ever ran here. - name: Test - run: cargo test --workspace --lib + run: cargo test --workspace --lib --bins + + # Registers, finds and removes a real scheduled task. Only here, on a + # machine that is thrown away afterwards; the test refuses to run + # anywhere else. + - name: Scheduled task test (Windows) + if: runner.os == 'Windows' + run: cargo test -p odysync-backends --lib -- --ignored a_real_task_can_be_created_found_and_removed - name: Build release (CLI only) run: cargo build --release -p odysync-cli @@ -161,11 +170,34 @@ jobs: working-directory: apps/gui run: npm test + # NSIS, the AppImage tools and the like, which Tauri downloads from + # GitHub while packaging. A 504 from there failed the weekly run on two + # platforms; kept between runs, most builds need no download at all. + - uses: actions/cache@v6 + with: + path: | + ~/.cache/tauri + ~/AppData/Local/tauri + ~/Library/Caches/tauri + key: tauri-tools-${{ matrix.os }}-${{ hashFiles('apps/gui/package-lock.json') }} + restore-keys: tauri-tools-${{ matrix.os }}- + # The same packaging the release uses: installer on Windows, .dmg on # macOS, .deb/.rpm/AppImage on Linux, each with the CLI bundled in. + # Started again only when a download of a packaging tool failed; a + # compile error fails at once. - name: Build and package the app working-directory: apps/gui - run: npx tauri build --config ${{ matrix.config }} + shell: bash + run: | + set -uo pipefail + for attempt in 1 2 3; do + npx tauri build --config ${{ matrix.config }} 2>&1 | tee build.log && exit 0 + grep -qE 'failed to bundle project: .*(http status: 5[0-9][0-9]|timed out|connection)' build.log || exit 1 + echo "::warning::a packaging tool could not be downloaded (attempt $attempt)" + sleep $((attempt * 30)) + done + exit 1 # Building is not running. Start the real app and require it to still be # alive after 20 seconds — long enough for the webview to load and the @@ -280,13 +312,51 @@ jobs: path: "**/*.cdx.json" if-no-files-found: error + # Publishers rename and drop files. An entry that no longer matches makes its + # app look up to date from then on: KeePassXC did for months. Once a week + # every entry is resolved against its publisher. + catalog: + name: catalog + # Not on a manual run: the lockfile refresh starts one, and a publisher + # renaming a file is no reason to hold back dependency updates. + if: github.event_name == 'schedule' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + + - name: Resolve every catalog entry + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: cargo test -p odysync-backends --lib -- --ignored --nocapture catalog_entries_resolve + + # The oldest Rust the project says it builds with. + msrv: + name: minimum Rust version + if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - name: Read rust-version + id: msrv + run: echo "version=$(sed -n 's/^rust-version = "\(.*\)"/\1/p' Cargo.toml)" >> "$GITHUB_OUTPUT" + - uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ steps.msrv.outputs.version }} + - uses: Swatinem/rust-cache@v2 + - run: cargo check -p odysync-cli --locked + env: + # Lints come and go between versions; here only building counts. + RUSTFLAGS: "" + # A red scheduled run on main means something changed underneath the # project — a new advisory, a new toolchain, a new runner image — and nobody # pushed anything that would make them look. Say so where it is seen: one # open issue, commented on for every further failure. alert: name: report a failing weekly run - needs: [test, gui, audit, deny, sbom] + needs: [test, gui, audit, deny, sbom, catalog, msrv] if: failure() && github.event_name == 'schedule' runs-on: ubuntu-latest permissions: diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index eec472b..6cc75b9 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -23,15 +23,17 @@ The workspace is deliberately layered so that safety rules cannot be bypassed by a backend, and so the CLI and the (Phase 2) Tauri GUI share one brain. ``` -odysync-core domain model, version algebra, safety policy, planner, runner - └─ no knowledge of any specific package manager; pure and fully unit-tested +odysync-core domain model, version rules, safety policy, planner, runner + └─ no knowledge of any specific package manager; unit-tested everywhere odysync-verify SHA-256 integrity + platform code-signature verification └─ Authenticode (Windows), codesign (macOS), repo-signed (Linux) odysync-backends every update source and every maintenance tool ├─ direct/ installers straight from the publisher (catalog, Sparkle) - ├─ windows_update/, gpu/, oem/, firmware: drivers and the OS itself + ├─ windows_update/, gpu/, fwupd: drivers, firmware and the OS itself + ├─ guard, scan: what every source's apply and every scan go through + ├─ inactive: sources known by name that cannot keep the contract, and why ├─ homebrew, apt, dnf, pacman, zypper, flatpak, snap, nix, … ├─ cleanup, components, devices, startup_items, system_info └─ winget, chocolatey, scoop: optional @@ -53,11 +55,18 @@ backend cannot reach into a front-end, and `core` cannot reach into a backend. | Always install the approved version | `backends::*::apply` | `--version ` / `pkg=version`; refuses to run without one | | Confirm the update landed | `core::runner` | Reads the version back; exit code 0 alone is not accepted as success | | No console windows | `core::proc` | `CREATE_NO_WINDOW`, no shell, `--disable-interactivity` | -| Nothing hangs forever | `core::proc` | Every spawn is time-boxed and `kill_on_drop` | +| Nothing hangs forever | `core::proc`, `backends::scan` | Every spawn is time-boxed and ends with everything it started (a job object on Windows, a session of its own on Unix); every source has its own scan limit; Windows Update runs on a thread that can be left behind | +| An installer never runs twice | `core::runner`, `core::error`, `core::proc` | A timeout is never retried; the installed version is read back instead. `run_installer` waits for what the installer started | +| Never over something newer | `backends::guard`, every `apply` | What is installed is read again and must still be older | +| One run at a time | `core::apply_lock` | An operating-system lock held by app, terminal or schedule | +| Room on the disk | `core::health`, `core::runner` | Checked before every install | +| Windows' own tools are Windows' own | `core::proc` | Full path from `GetSystemDirectoryW`, not from `PATH` | +| Nothing planted next to an elevated installer | `backends::direct::private_dir` | A fresh directory with an administrators-only access list | +| Unattended runs leave drivers alone | `core::model::in_unattended_care` | Used by `care`, `apply --unattended`, the daemon and schedules | | Stable channel only | `core::policy` | `stable_only` rejects alpha/beta/rc/nightly | | Store apps never run elevated | `core::model`, `core::policy` | `forbids_elevation()` is a hard block | -Because `core` performs no I/O, every rule above is covered by unit tests that +The policy itself performs no I/O, so every rule is covered by unit tests that run on all three platforms without needing the package manager installed. ## The version algebra @@ -69,7 +78,15 @@ package versions (`1.2.3.4`, `2024.05.01`, `1.0.0-rc.2`, `17.14.29 (March 2026)` The critical design decision: **an unparseable version is `Unknown`, and comparing anything against `Unknown` returns `None` — never `Equal`.** Callers must treat `None` as "refuse to act". This makes "do nothing" the default answer -whenever the tool is uncertain, which is the opposite of v1's behaviour. +whenever the tool is uncertain, which is the opposite of v1's behaviour. The +same goes for two versions whose difference has no agreed meaning, such as +`1.0.0` against `1.0.0-4`. + +Distribution packages follow rules of their own. `1.1.1w-0+deb11u1` to +`+deb11u2` is a security update, and the general rules read it as the same +version. `core::version_native` implements dpkg's, rpm's and pacman's ordering +and PEP 440, tested with the reference cases of each; `Version::parse_as` +selects one, and versions under different rules are never compared. ## winget table parsing @@ -103,11 +120,14 @@ three: 2. the URL must belong to the publisher — a GitHub asset must be a release of the repository the catalog names, a vendor URL must start with the pinned prefix — and every redirect must stay on HTTPS; -3. the file is opened with `FILE_SHARE_READ` only, so nothing can write, +3. the download directory is new, and when Odysync is elevated only + administrators can write to it (a library next to an installer is loaded + with its rights); +4. the file is opened with `FILE_SHARE_READ` only, so nothing can write, rename or delete it until the installer exits, and it is hashed from disk under that lock; -4. the published digest must match; -5. the Authenticode signature must be valid and its subject's CN or O must +5. the published digest must match; +6. the Authenticode signature must be valid and its subject's CN or O must equal the signer the catalog pins. The subject is parsed, not searched, so a quoted comma or a longer name cannot satisfy the check. @@ -118,16 +138,17 @@ Apple Team ID. ## Adding a backend -Implement `core::backend::Backend` (five methods) and add one line to +Implement `core::backend::Backend` (six methods) and add one line to `backends::all_backends()`. Nothing else changes: policy, planning, verification, reporting and both front-ends pick it up automatically. The trait's contract is documented in `core/src/backend.rs` and is binding — in particular, `apply` must pin an exact version and must never fall back to -installing a package that is already present. +installing a package that is already present. `backends::guard` has the checks +every `apply` starts with. A tool that cannot install one exact item belongs in +`backends::inactive`, with the reason. ## Status -Version 3.0: about 620 Rust tests and the frontend tests run in CI on Windows, -macOS and Linux, which also packages the app for all three. What remains open -is in [NEXT.md](NEXT.md). +What is verified, how, and what is not is kept in [NEXT.md](NEXT.md); what comes +next in [ROADMAP.md](ROADMAP.md). diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e7cc63..17869b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,88 @@ All notable changes to Odysync will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Security +- **Elevated installers run from a protected directory.** The installer file was + locked, but another program of the same user could have put a library next to + it, which would have been loaded with administrator rights. +- Windows' own tools, among them the one that checks every installer's + signature, are run by their full path instead of through `PATH`. +- Pre-releases such as `1.0.0-rc1`, `2.0b3` and `5.0 Beta 2` were offered as + stable versions. `3.5a` to `3.5` counted as an upgrade. +- Installing asks the publisher afresh and never uses an answer stored on disk. + "Is the program running?" is asked again after the download, also works for + programs whose location is not recorded, and stops the install when it cannot + be answered. +- An installer that ran into its time limit is never started a second time, and + what it started is waited for. What is installed is read again right before: + a program that updated itself since the scan is not reinstalled or downgraded. +- `4.2.8-p15` to `4.2.8` and `7.1-full_build` to `7.1` counted as upgrades. +- Package ids and versions that could be read as options are refused. +- cookie, url and other transitive fixes (RUSTSEC-2026-0594, + RUSTSEC-2026-0592); chrono, which is no longer maintained, is replaced by + jiff. + +### Fixed +- **Windows Update and driver installs.** The result codes were off by two: + every successful install was reported as failed, and a real failure passed as + success. A search that fails is no longer "up to date", an update that waits + for a restart counts as installed, and a hung Windows Update service no longer + blocks Odysync. +- **Linux security updates were held back.** Debian and Ubuntu revisions such as + `+deb12u5` to `+deb12u6` compared as equal, and versions with an epoch could + not be read. dpkg, rpm and pacman versions follow their own rules now. +- Sources that could not find or install anything: dnf, snap, zypper, fwupd, + Scoop, Nix, Chocolatey 2, npm packages with a scope, Go tools, cargo, winget + lists with short columns. +- KeePassXC and PowerShell had silently stopped being updated after their + publishers renamed or dropped files. +- Being offline, or a source that fails, is shown as such instead of as + "everything is up to date" with a full score. +- A leftover uninstall entry no longer offers the same update for ever. +- The scan interval, notification, proxy and timeout settings had no effect. The + system proxy is used when none is set. +- Automatic care and other runs from the command line appear in the history, + which is also written after every package and survives a damaged file. +- The maximize button, the excluded-packages box and number fields in Settings. +- `--json` prints exactly one document, also for dry runs and with nothing to do. + +### Added +- Scans show which sources are still busy, have a time limit each, and can be + cancelled; installs can be cancelled between packages, with Ctrl-C too. +- Only one Odysync installs at a time, across app, terminal and schedule. + Quitting during an install asks first. +- An update is not started when the disk has no room for it. +- Background scans at the interval set in Settings, not on battery, with a + notification. +- `odysync apply --unattended`. Schedules and the daemon leave drivers, + firmware, system upgrades and developer packages to a person. +- Holds can be set and released in the app. +- Release files carry provenance attestations. + +### Changed +- **Faster.** A full scan on the test machine went from 31 to 45 s to 11 to + 24 s. Naming one source asks only that one. +- Windows schedules make up for a missed run and are not stopped when a laptop + is unplugged. Create yours again to get this. +- pip lists only packages nothing else depends on, and refuses an update that + would break the rest. +- PowerShell and Node.js stay on the installed line. +- Text and controls meet WCAG AA contrast in both themes; keyboard, focus and + screen reader support throughout the app. +- macOS: no forced restarts, and a new major version is never an ordinary + update. + +### Removed +- Sources that install a set instead of the approved item, or whose newest + version nobody publishes: Dell, HP, Lenovo and other maker tools, AMD, Intel + and Qualcomm graphics through winget, guest tools, VS Code and JetBrains + extensions, .NET tools, AppImage, Windows optional features. Pacman is scan + only. +- The settings for parallel sources and automatic installation, which did + nothing. Automatic care does the second, safely. + ## [3.1.1] - 2026-10-30 ### Security diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 408414a..b83dd29 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ CI runs exactly this on Windows, macOS and Linux: ```sh cargo fmt --all -- --check cargo clippy --workspace --all-targets -- -D warnings -cargo test --workspace --lib +cargo test --workspace --lib --bins cd apps/gui && npx tsc -b && npx oxlint && npm test ``` @@ -38,6 +38,15 @@ cd apps/gui && npx tsc -b && npx oxlint && npm test - **Adding an app to the direct-update catalog** (`crates/odysync-backends/src/direct/catalog.json`) needs the signer read from the real installer (`Get-AuthenticodeSignature`). Publishers who do not sign their installers are not added. +- **Never write a system's constant from memory.** Import it, or assert in a + test that it equals the imported one. Windows Update's result codes were off + by two for four releases. +- **`apply` asks again.** It installs exactly the approved version or refuses, + starts with `guard::precheck`, and never runs an installer a second time. +- **A source that cannot work is not available.** "Found nothing" and "cannot + tell" must never look the same. +- **Tests never touch the machine they run on.** One that has to (a scheduled + task, a real install) is `#[ignore]`d and refuses to run outside CI. - Comments explain *why*. The code already says what. ## Reporting a problem diff --git a/Cargo.lock b/Cargo.lock index 5230bd7..7e1eb4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -93,9 +93,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.104" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" +checksum = "2cb931c189b85683d69a5cfad41d4d418671e1ac413dd209f3f2fc31e3cfd902" [[package]] name = "async-broadcast" @@ -123,9 +123,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.14.0" +version = "1.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a" +checksum = "f426a31126c735126297bc5ea7a521263c9faff4f63ca415267ee625651c4f37" dependencies = [ "async-task", "concurrent-queue", @@ -155,9 +155,9 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.4.2" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" +checksum = "0876700b0d007ad25d5508865a4259c3af9af6d296bf663a0d586d0bc3369f6f" dependencies = [ "event-listener", "event-listener-strategy", @@ -190,7 +190,7 @@ checksum = "4f8abc12baad266b1c8cec146854c195b5864b4221d4b2ca7296a7ae82d9e451" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -225,7 +225,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -265,9 +265,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "aws-lc-rs" -version = "1.18.2" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13" +checksum = "048006790404103c488e6c5616b3e7e702a71292aadda08e8f7698a9e0d2eb53" dependencies = [ "aws-lc-sys", "zeroize", @@ -275,9 +275,9 @@ dependencies = [ [[package]] name = "aws-lc-sys" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc" +checksum = "8bfbe32ac36b3c428696ce315464181bc4029d689fd58e3f2a4e58c252242f52" dependencies = [ "cc", "cmake", @@ -292,12 +292,6 @@ 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 = "base64" version = "0.23.1" @@ -310,7 +304,16 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" dependencies = [ - "bit-vec", + "bit-vec 0.8.0", +] + +[[package]] +name = "bit-set" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c" +dependencies = [ + "bit-vec 0.10.2", ] [[package]] @@ -319,6 +322,12 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +[[package]] +name = "bit-vec" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72503af1e72be411d74ca45cd6b309878fcb35354e252fc2a3a8bda3a97082a0" + [[package]] name = "bitflags" version = "1.3.2" @@ -376,9 +385,9 @@ dependencies = [ [[package]] name = "brotli" -version = "9.0.0" +version = "9.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b851b75c23ca7873623d612fe49bd1989aeb03d08fb9432187eb253d3d4c6b" +checksum = "9071f285ed78f04f37d675abaaef5de7689e2f30a216c8dc6795465d81910a13" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -387,9 +396,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "6.0.1" +version = "6.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "941cd9bd4ddab83cb46fa5a2d428f1c857b24ac78cb876cf7beb710840934bd7" +checksum = "664148598c930650998ef56df301329ffe7b4cdb02d49b2a3fca3bcaf2185bcb" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -406,9 +415,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.20.3" +version = "3.20.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" +checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db" [[package]] name = "bytemuck" @@ -424,9 +433,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.12.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c" dependencies = [ "serde", ] @@ -496,14 +505,14 @@ checksum = "82f4b26e751e711a5302649417f2da046dce6391b2ea30a4820f37462314f0b9" dependencies = [ "semver", "serde", - "toml 1.1.8+spec-1.1.0", + "toml 1.2.3+spec-1.1.0", ] [[package]] name = "cc" -version = "1.8.0" +version = "1.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838" +checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69" dependencies = [ "find-msvc-tools", "jobserver", @@ -558,7 +567,7 @@ checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" dependencies = [ "cfg-if", "cpufeatures 0.3.1", - "rand_core 0.10.1", + "rand_core", ] [[package]] @@ -568,18 +577,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" dependencies = [ "iana-time-zone", - "js-sys", "num-traits", "serde", - "wasm-bindgen", "windows-link", ] [[package]] name = "clap" -version = "4.6.7" +version = "4.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +checksum = "50066ca966813ca8957ee15361752f19424a8ff620dbe9c8993d9f99d99b04b3" dependencies = [ "clap_builder", "clap_derive", @@ -587,9 +594,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.6.7" +version = "4.6.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +checksum = "a0ed97c96ef4efb3cc84e09fa388df4463e7cc3224ec38d7b1d9e45749333590" dependencies = [ "anstream", "anstyle", @@ -599,21 +606,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.6.7" +version = "4.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" +checksum = "b4c174f11f949b9ca8c60580925e282b9cbd5454750e506f08648b2038080cd7" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] name = "clap_lex" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" +checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79" [[package]] name = "cmake" @@ -651,20 +658,39 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.10.2" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" + +[[package]] +name = "constant_time_eq" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" +checksum = "144e7f1de087984240b7816d47f698b414979faa6f40839c5b86d6bd47db57b7" +dependencies = [ + "rustversion", +] [[package]] name = "cookie" -version = "0.18.2" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87" +checksum = "d55f2d6c30eeec7d5c6f98bd4395d4abb1895629eab97ee6522d340623615f8a" dependencies = [ "time", "version_check", ] +[[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" @@ -688,7 +714,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "064badf302c3194842cf2c5d61f56cc88e54a759313879cdf03abdd27d0c3b97" dependencies = [ "bitflags 2.13.2", - "core-foundation", + "core-foundation 0.10.1", "core-graphics-types", "foreign-types", "libc", @@ -701,16 +727,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" dependencies = [ "bitflags 2.13.2", - "core-foundation", + "core-foundation 0.10.1", "libc", ] -[[package]] -name = "core_detect" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" - [[package]] name = "cpufeatures" version = "0.2.17" @@ -731,9 +751,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.5.2" +version = "1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78" +checksum = "fd9ae8fcb3ea71b0b26338b4ffb13006bb175de8fd07921089a906ce7e5e6945" dependencies = [ "cfg-if", ] @@ -781,7 +801,20 @@ dependencies = [ "cssparser-macros", "dtoa-short", "itoa", - "phf", + "phf 0.13.1", + "smallvec", +] + +[[package]] +name = "cssparser" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11119743ad110e8c1bdccd930d7f5c30c99e5fc76a7b63ec9807e84eef0c5f59" +dependencies = [ + "cssparser-macros", + "dtoa-short", + "itoa", + "phf 0.14.0", "smallvec", ] @@ -792,14 +825,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a" dependencies = [ "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] name = "ctor" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914a755b7c2d4af2bdcff7ce1739e2db9a1b81a9b07123d8015786ae03c0980d" +checksum = "ea691ed9f36489d087419b8b2ba3ef27d89621380b4178c73e2445a379e4e0f4" +dependencies = [ + "link-section", +] [[package]] name = "curve25519-dalek" @@ -848,7 +884,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -859,7 +895,7 @@ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" dependencies = [ "darling_core", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -873,37 +909,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "defmt" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4a0795ac740cb54d7b3775c9c17345f6aaecf884c01733b39d6017738e0e3e1" -dependencies = [ - "bitflags 1.3.2", - "defmt-macros", -] - -[[package]] -name = "defmt-macros" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "840bb056bd99c495c9188198a258ab787c79f306d864db3e6e8451442d6d8366" -dependencies = [ - "defmt-parser", - "proc-macro2", - "quote", - "syn 3.0.9", -] - -[[package]] -name = "defmt-parser" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0" -dependencies = [ - "thiserror 2.0.21", -] - [[package]] name = "deranged" version = "0.5.9" @@ -1005,7 +1010,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -1037,12 +1042,27 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fac5fca71e65e94cc718a6e2af65d6e0f9c6027751c2aa562fbb5087fda639bc" dependencies = [ - "bit-set", - "cssparser", + "bit-set 0.8.0", + "cssparser 0.37.0", + "foldhash", + "html5ever 0.39.0", + "precomputed-hash", + "selectors 0.38.0", + "tendril", +] + +[[package]] +name = "dom_query" +version = "0.30.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b35b4f772a1a8b88e5545a67c2d3a62a93d4edccc5a68f2145fe52e39c96d275" +dependencies = [ + "bit-set 0.11.1", + "cssparser 0.38.0", "foldhash", - "html5ever", + "html5ever 0.40.1", "precomputed-hash", - "selectors", + "selectors 0.41.0", "tendril", ] @@ -1099,7 +1119,7 @@ checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" dependencies = [ "curve25519-dalek", "ed25519", - "sha2 0.11.1", + "sha2 0.11.2", "subtle", "zeroize", ] @@ -1113,7 +1133,7 @@ dependencies = [ "cc", "memchr", "rustc_version", - "toml 1.1.8+spec-1.1.0", + "toml 1.2.3+spec-1.1.0", "vswhom", "winreg", ] @@ -1124,20 +1144,6 @@ version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ef6b89e5b37196644d8796de5268852ff179b44e96276cf4290264843743bb7" -[[package]] -name = "encoding_rs" -version = "0.8.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e985e0451871ad22fb8d2b6b076e2028a502a0d3950998c2c5c0a4f9b5d9679" -dependencies = [ - "cfg-if", - "core_detect", - "multiversion_no_op", - "rustversion", - "scopeguard", - "simdutf8", -] - [[package]] name = "endi" version = "1.1.1" @@ -1173,9 +1179,9 @@ checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" [[package]] name = "erased-serde" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec" +checksum = "1e59b668157f32d3459d4bd634861a06ffa2503a461ca5f0916b9f0252605e66" dependencies = [ "serde", "serde_core", @@ -1184,9 +1190,9 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776" dependencies = [ "libc", "windows-sys 0.61.2", @@ -1245,15 +1251,15 @@ dependencies = [ [[package]] name = "find-msvc-tools" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" [[package]] name = "flate2" -version = "1.1.10" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb" +checksum = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4" dependencies = [ "crc32fast", "miniz_oxide 0.9.1", @@ -1290,7 +1296,7 @@ checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -1301,9 +1307,9 @@ checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" [[package]] name = "form_urlencoded" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e" dependencies = [ "percent-encoding", ] @@ -1382,7 +1388,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -1558,7 +1564,7 @@ dependencies = [ "js-sys", "libc", "r-efi 6.0.0", - "rand_core 0.10.1", + "rand_core", "wasm-bindgen", ] @@ -1718,9 +1724,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.17.1" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc" [[package]] name = "heck" @@ -1753,7 +1759,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46a1761807faccc9a19e86944bbf40610014066306f96edcdedc2fb714bcb7b8" dependencies = [ "log", - "markup5ever", + "markup5ever 0.39.0", +] + +[[package]] +name = "html5ever" +version = "0.40.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "456a1a377e608e555d22ddab27ac0114bc7a7b4199078108e34c2aeae6c9b130" +dependencies = [ + "log", + "markup5ever 0.40.0", + "memchr", ] [[package]] @@ -1806,9 +1823,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.12.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +checksum = "229c6ff5584df4c6becbfe00567128bac768c8cd32ebc8a8366bd81ed072e8f3" dependencies = [ "atomic-waker", "bytes", @@ -1857,9 +1874,11 @@ dependencies = [ "percent-encoding", "pin-project-lite", "socket2", + "system-configuration", "tokio", "tower-service", "tracing", + "windows-registry", ] [[package]] @@ -1898,9 +1917,9 @@ dependencies = [ [[package]] name = "icu_collections" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +checksum = "fe090a42a0d3140fed8c63263ed1fecc02422cb2f4bfe55cd8de2de1b8e105dd" dependencies = [ "displaydoc", "potential_utf", @@ -1912,9 +1931,9 @@ dependencies = [ [[package]] name = "icu_locale_core" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +checksum = "25d29b57c17c6528d0dc4c2141cfa2d08200465acb537a3909c8b9b8a4a984c0" dependencies = [ "displaydoc", "litemap", @@ -1925,9 +1944,9 @@ dependencies = [ [[package]] name = "icu_normalizer" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +checksum = "404a3b8c486f205c87fe7f23ab6894d84a4ad76d6e4671ae1981ba7def87c599" dependencies = [ "icu_collections", "icu_normalizer_data", @@ -1939,15 +1958,15 @@ dependencies = [ [[package]] name = "icu_normalizer_data" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" +checksum = "20f0088bfb7441f7a37fa0c9e20cb1e9cba1cac6b9ce8cd2a6dc44294f8e8cbc" [[package]] name = "icu_properties" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +checksum = "2ea83d991c56158f7cf898bf86436c1dfe7c07ee82fe88951f2695c9f37a379f" dependencies = [ "displaydoc", "icu_collections", @@ -1960,15 +1979,15 @@ dependencies = [ [[package]] name = "icu_properties_data" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" +checksum = "b98f29af82d02b163fe50161388350e743bb3107cc8e8c2f7314cb505faddfcf" [[package]] name = "icu_provider" -version = "2.3.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +checksum = "413099315636c588ee8f011190b329b971a09a8fae9d157e01dcae8379468514" dependencies = [ "displaydoc", "icu_locale_core", @@ -2024,7 +2043,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", - "hashbrown 0.17.1", + "hashbrown 0.17.2", "serde", "serde_core", ] @@ -2044,25 +2063,6 @@ version = "2.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" -[[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 = "is_terminal_polyfill" version = "1.70.2" @@ -2071,9 +2071,9 @@ checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itoa" -version = "1.0.18" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" +checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" [[package]] name = "javascriptcore-rs" @@ -2100,14 +2100,29 @@ dependencies = [ [[package]] name = "jiff" -version = "0.2.38" +version = "0.2.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "175dc66334db3b9ab9985bf8b61cfed50dc16d20964bb47f9e479adcae984a7f" +dependencies = [ + "jiff-core 0.1.8", + "jiff-static 0.2.46", + "jiff-tzdb-platform 0.1.3", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", + "windows-link", +] + +[[package]] +name = "jiff" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b005715dcbeb0089a3c0dab99f2ff1cc3b2525323552703d648585d342a383" +checksum = "107f2e89536b6818514025f6787b0d94d819e54fe3b40365275fc753de485b3f" dependencies = [ - "defmt", - "jiff-core", - "jiff-static", - "jiff-tzdb-platform", + "jiff-core 1.0.2", + "jiff-static 1.0.3", + "jiff-tzdb-platform 1.0.0", "log", "portable-atomic", "portable-atomic-util", @@ -2117,31 +2132,57 @@ dependencies = [ [[package]] name = "jiff-core" -version = "0.1.1" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e599b80292e597019b8b3e392de3f4bea2959ddfb8c7dff60e035e9e311a2c1b" +dependencies = [ + "log", +] + +[[package]] +name = "jiff-core" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" +checksum = "d44c923edf2bf456a982253f1a9ee1f6e89e421dffd0065d9b9a581da0def58f" dependencies = [ - "defmt", "log", ] [[package]] name = "jiff-static" -version = "0.2.38" +version = "0.2.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc9817253cf7c7ee4684451bd327e88d6f3658014e54a29198625590650695c" +checksum = "c7b1af7547d47354bc438d797e3854601bde8f8d185780c5ba4ab27afa54f1ba" dependencies = [ - "jiff-core", + "jiff-core 0.1.8", "proc-macro2", "quote", "syn 2.0.119", ] +[[package]] +name = "jiff-static" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4996f71e569e3a3e32b925c28ef8f0027dc30bb1d594b33eeda409eea185f5c8" +dependencies = [ + "jiff-core 1.0.2", + "proc-macro2", + "quote", + "syn 3.0.10", +] + [[package]] name = "jiff-tzdb" -version = "0.1.9" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0980fca2cc272465bd60e82397607ba9f33add9e48defd77923301bbd03808f2" + +[[package]] +name = "jiff-tzdb" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8377070c6bae868759445e5a77f66d84f0b72f3a054bfb00e6d038b8282da7" +checksum = "12e71a1b68a875a44a33bb7a1dd84392cb77145a3367a552a3cfe6a4f5cf3afc" [[package]] name = "jiff-tzdb-platform" @@ -2149,7 +2190,16 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" dependencies = [ - "jiff-tzdb", + "jiff-tzdb 0.1.10", +] + +[[package]] +name = "jiff-tzdb-platform" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc65b284afcfa8f6cf189c7274c805505314a7ab975c60e1f548bff56525420e" +dependencies = [ + "jiff-tzdb 1.0.0", ] [[package]] @@ -2238,9 +2288,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.106" +version = "0.3.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" dependencies = [ "cfg-if", "futures-util", @@ -2343,6 +2393,12 @@ dependencies = [ "libc", ] +[[package]] +name = "link-section" +version = "0.19.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d9aae57673c1a235149777a74d152f3210ebd3e3b13346d2cdb6809e566bd3c" + [[package]] name = "linux-raw-sys" version = "0.12.1" @@ -2366,9 +2422,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.34" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" [[package]] name = "lru-slab" @@ -2398,7 +2454,18 @@ checksum = "7122d987ec5f704ee56f6e5b41a7d93722e9aae27ae07cafa4036c4d3f9757de" dependencies = [ "log", "tendril", - "web_atoms", + "web_atoms 0.2.6", +] + +[[package]] +name = "markup5ever" +version = "0.40.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab3dc68ac4a0f5719e560136778c1ee716e296030d75dbd4484e37e39e3a842" +dependencies = [ + "log", + "tendril", + "web_atoms 0.3.0", ] [[package]] @@ -2427,9 +2494,9 @@ dependencies = [ [[package]] name = "mime" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1" [[package]] name = "miniz_oxide" @@ -2453,9 +2520,9 @@ dependencies = [ [[package]] name = "mio" -version = "1.2.4" +version = "1.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +checksum = "20521a903f02b0a573cd6840e9d0a5a0cc043d361fe924092cd70f8556cc9c4a" dependencies = [ "libc", "wasi", @@ -2483,12 +2550,6 @@ dependencies = [ "windows-sys 0.61.2", ] -[[package]] -name = "multiversion_no_op" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d" - [[package]] name = "ndk" version = "0.9.0" @@ -2527,9 +2588,9 @@ checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] name = "nix" -version = "0.31.3" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d" +checksum = "77730ed34f01f4990cb2ea67fec715ecebc6fab9a6396cf83c5529b13f581bdc" dependencies = [ "bitflags 2.13.2", "cfg-if", @@ -2539,16 +2600,16 @@ dependencies = [ [[package]] name = "notify-rust" -version = "4.18.2" +version = "4.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4587364a9a0074333429b3df75a30a205340c56a536ca3eb6ca0e59b87bbf8af" +checksum = "57da5b5d3b7809bf71858da5a2818c3404ca4688c02c8abecdda0fcdec235df3" dependencies = [ "futures-lite", "log", "mac-notification-sys", "serde", "tauri-winrt-notification", - "zbus", + "zbus 6.5.0", ] [[package]] @@ -2801,11 +2862,11 @@ dependencies = [ "anyhow", "async-trait", "base64 0.23.1", - "chrono", "directories", "ed25519-dalek", "futures", "hex", + "jiff 1.0.3", "odysync-core", "odysync-verify", "plist", @@ -2814,7 +2875,7 @@ dependencies = [ "roxmltree", "serde", "serde_json", - "sha2 0.11.1", + "sha2 0.11.2", "tempfile", "tokio", "tracing", @@ -2829,9 +2890,9 @@ name = "odysync-cli" version = "3.1.1" dependencies = [ "anyhow", - "chrono", "clap", "futures", + "jiff 1.0.3", "odysync-backends", "odysync-core", "serde_json", @@ -2845,8 +2906,8 @@ name = "odysync-core" version = "3.1.1" dependencies = [ "async-trait", - "chrono", "directories", + "jiff 1.0.3", "libc", "regex", "serde", @@ -2862,7 +2923,6 @@ dependencies = [ name = "odysync-gui" version = "3.1.1" dependencies = [ - "chrono", "directories", "futures", "odysync-backends", @@ -2871,9 +2931,7 @@ dependencies = [ "serde_json", "tauri", "tauri-build", - "tauri-plugin-dialog", "tauri-plugin-notification", - "tauri-plugin-shell", "tokio", "tracing", "tracing-appender", @@ -2887,7 +2945,7 @@ dependencies = [ "hex", "odysync-core", "serde", - "sha2 0.11.1", + "sha2 0.11.2", "tokio", "tracing", ] @@ -2904,22 +2962,11 @@ version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" -[[package]] -name = "open" -version = "5.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa576c76302b7b808eecc68061e67336c47833ef9d22caa74dda10fa9675eebc" -dependencies = [ - "dunce", - "is-wsl", - "libc", -] - [[package]] name = "openssl-probe" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" +checksum = "7e036b411754132fd6b74e94b74e9a13c5cf606fa93d1885c35860d3060820b1" [[package]] name = "option-ext" @@ -2937,16 +2984,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "os_pipe" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" -dependencies = [ - "libc", - "windows-sys 0.61.2", -] - [[package]] name = "pango" version = "0.18.3" @@ -3013,8 +3050,19 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" dependencies = [ - "phf_macros", - "phf_shared", + "phf_macros 0.13.1", + "phf_shared 0.13.1", + "serde", +] + +[[package]] +name = "phf" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" +dependencies = [ + "phf_macros 0.14.0", + "phf_shared 0.14.0", "serde", ] @@ -3024,8 +3072,18 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49aa7f9d80421bca176ca8dbfebe668cc7a2684708594ec9f3c0db0805d5d6e1" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.13.1", + "phf_shared 0.13.1", +] + +[[package]] +name = "phf_codegen" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b585a510fb76fdebead6897982ef2a03a21d8e6cbcca904999742a4afc6ffe" +dependencies = [ + "phf_generator 0.14.0", + "phf_shared 0.14.0", ] [[package]] @@ -3035,7 +3093,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "135ace3a761e564ec88c03a77317a7c6b80bb7f7135ef2544dbe054243b89737" dependencies = [ "fastrand", - "phf_shared", + "phf_shared 0.13.1", +] + +[[package]] +name = "phf_generator" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" +dependencies = [ + "fastrand", + "phf_shared 0.14.0", ] [[package]] @@ -3044,8 +3112,21 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "812f032b54b1e759ccd5f8b6677695d5268c588701effba24601f6932f8269ef" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.13.1", + "phf_shared 0.13.1", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "phf_macros" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085" +dependencies = [ + "phf_generator 0.14.0", + "phf_shared 0.14.0", "proc-macro2", "quote", "syn 2.0.119", @@ -3060,11 +3141,20 @@ dependencies = [ "siphasher", ] +[[package]] +name = "phf_shared" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project-lite" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" +checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752" [[package]] name = "piper" @@ -3085,9 +3175,9 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" [[package]] name = "plist" -version = "1.10.3" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327a4cb2ad49dc48adfdc9da89e22c64d488b508c67a044d71ba729e4521a285" +checksum = "d86a77b7d9cdebd9643c180c158748db7d894b24a3935ed4b5843e698ae086eb" dependencies = [ "base64 0.23.1", "indexmap 2.14.2", @@ -3153,15 +3243,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" -[[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" @@ -3194,7 +3275,7 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ - "toml_edit 0.25.17+spec-1.1.0", + "toml_edit 0.25.21+spec-1.1.0", ] [[package]] @@ -3269,7 +3350,7 @@ dependencies = [ "bytes", "getrandom 0.4.3", "lru-slab", - "rand 0.10.3", + "rand", "rand_pcg", "ring", "rustc-hash", @@ -3319,42 +3400,13 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand" -version = "0.9.5" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +checksum = "8f6fa277c67e6ea590466f04c3fe82cb509f0864fe470643e5570de9514a9b11" dependencies = [ - "rand_chacha", - "rand_core 0.9.5", -] - -[[package]] -name = "rand" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" -dependencies = [ - "chacha20", - "getrandom 0.4.3", - "rand_core 0.10.1", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", + "chacha20", + "getrandom 0.4.3", + "rand_core", ] [[package]] @@ -3365,11 +3417,11 @@ checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" [[package]] name = "rand_pcg" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +checksum = "eb95882a1e14462c69aea9984bb261293ccfe6022ef8de0eda18bd5afb0052df" dependencies = [ - "rand_core 0.10.1", + "rand_core", ] [[package]] @@ -3414,14 +3466,14 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] name = "regex" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857" dependencies = [ "aho-corasick", "memchr", @@ -3431,9 +3483,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.18" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158" dependencies = [ "aho-corasick", "memchr", @@ -3442,9 +3494,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6" [[package]] name = "reqwest" @@ -3486,30 +3538,6 @@ dependencies = [ "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" @@ -3550,9 +3578,9 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags 2.13.2", "errno", @@ -3589,9 +3617,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.15.1" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +checksum = "102f35f7de7b06d8c61f1cff6592f5253e0dea431c74867aad5dfd70f44663fb" dependencies = [ "web-time", "zeroize", @@ -3603,7 +3631,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" dependencies = [ - "core-foundation", + "core-foundation 0.10.1", "core-foundation-sys", "jni 0.22.4", "log", @@ -3626,9 +3654,9 @@ checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" [[package]] name = "rustls-webpki" -version = "0.103.16" +version = "0.103.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" +checksum = "e3a0760a887c14823fca5a1c970b01d47c328c696c0c64829d1df50e8f853fd5" dependencies = [ "aws-lc-rs", "ring", @@ -3653,9 +3681,9 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.29" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +checksum = "9cb23c424d8ee841bb4d813677ca237e2a610067d594fec130f87d6093495ab5" dependencies = [ "windows-sys 0.61.2", ] @@ -3724,7 +3752,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" dependencies = [ "bitflags 2.13.2", - "core-foundation", + "core-foundation 0.10.1", "core-foundation-sys", "libc", "security-framework-sys", @@ -3747,15 +3775,32 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8adfa1c298912827b8a28b223b3b874357397ae706e6190acd9bf28cee99114d" dependencies = [ "bitflags 2.13.2", - "cssparser", + "cssparser 0.37.0", + "derive_more", + "log", + "new_debug_unreachable", + "phf 0.13.1", + "phf_codegen 0.13.1", + "precomputed-hash", + "rustc-hash", + "servo_arc 0.4.3", + "smallvec", +] + +[[package]] +name = "selectors" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8322aebea94a6cc288ff884e8a49bdbceef60206c400c6c46d22e62fc4fd91a6" +dependencies = [ + "bitflags 2.13.2", + "cssparser 0.38.0", "derive_more", "log", "new_debug_unreachable", - "phf", - "phf_codegen", "precomputed-hash", "rustc-hash", - "servo_arc", + "servo_arc 0.5.0", "smallvec", ] @@ -3808,7 +3853,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -3843,7 +3888,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -3857,18 +3902,18 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" dependencies = [ "serde_core", ] [[package]] name = "serde_with" -version = "3.24.0" +version = "3.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df9adc193c780ef8f159aee8b61e2d5801aaa555e6eb0947fe45530ec506296f" +checksum = "56cb1ca7c93ae63d6439b5250f6b6b040f7e121f32e5dd2f5d523dd4149b3204" dependencies = [ "base64 0.23.1", "bs58", @@ -3876,7 +3921,8 @@ dependencies = [ "hex", "indexmap 1.9.3", "indexmap 2.14.2", - "jiff", + "jiff 0.2.46", + "jiff 1.0.3", "schemars 0.9.0", "schemars 1.2.3", "serde_core", @@ -3887,14 +3933,14 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.24.0" +version = "3.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17bbc68e28663bbbb90df47e058aa7eda4fb445b89fe70457bb94fbccf6e49" +checksum = "cff15a7c864bbec77d9586ca6822bc7c369bdf19e9243134a62b0b51ce26b31f" dependencies = [ "darling", "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -3928,6 +3974,15 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "servo_arc" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4eceb519ec34d8290aaf6e46f435102f2bfa63f22b05a144fb16ab266d3b198" +dependencies = [ + "stable_deref_trait", +] + [[package]] name = "sha2" version = "0.10.9" @@ -3941,9 +3996,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19" +checksum = "5b0e5c7d67bc53f435386b2130fdc900488c5703770f6d8a4633060e34288a27" dependencies = [ "cfg-if", "cpufeatures 0.3.1", @@ -3959,16 +4014,6 @@ dependencies = [ "lazy_static", ] -[[package]] -name = "shared_child" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "607549934f6cc26b89cfecfdc46fa90f1e5d1536a68349b0c3a4f9d1c0d37959" -dependencies = [ - "libc", - "windows-sys 0.61.2", -] - [[package]] name = "shlex" version = "2.0.1" @@ -4027,9 +4072,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "smallvec" -version = "1.16.3" +version = "1.16.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" +checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59" [[package]] name = "socket2" @@ -4109,7 +4154,19 @@ checksum = "a18596f8c785a729f2819c0f6a7eae6ebeebdfffbfe4214ae6b087f690e31901" dependencies = [ "new_debug_unreachable", "parking_lot", - "phf_shared", + "phf_shared 0.13.1", + "precomputed-hash", +] + +[[package]] +name = "string_cache" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffa8a5dbe8b3f0bbe29d4c3225daafaeead63afdc1b65fc4c01a1384166038e6" +dependencies = [ + "new_debug_unreachable", + "parking_lot", + "phf_shared 0.14.0", "precomputed-hash", ] @@ -4119,8 +4176,20 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "585635e46db231059f76c5849798146164652513eb9e8ab2685939dd90f29b69" dependencies = [ - "phf_generator", - "phf_shared", + "phf_generator 0.13.1", + "phf_shared 0.13.1", + "proc-macro2", + "quote", +] + +[[package]] +name = "string_cache_codegen" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "928dcdf75e47626b3617a976ec205d9f057584c371c1f23b782129268d0e6edc" +dependencies = [ + "phf_generator 0.14.0", + "phf_shared 0.14.0", "proc-macro2", "quote", ] @@ -4177,9 +4246,9 @@ dependencies = [ [[package]] name = "syn" -version = "3.0.9" +version = "3.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" dependencies = [ "proc-macro2", "quote", @@ -4203,7 +4272,28 @@ checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags 2.13.2", + "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]] @@ -4221,13 +4311,13 @@ dependencies = [ [[package]] name = "tao" -version = "0.37.1" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f37f381f4e048e6cdf038b5705f8cf14ad108279d46eb968140a7b291aba9400" +checksum = "02ca9c0ce2a2fd70dc4ef4449ca5e8d30e6fa0db111cd8008594602a06a68371" dependencies = [ "bitflags 2.13.2", "block2", - "core-foundation", + "core-foundation 0.10.1", "core-graphics", "crossbeam-channel", "dbus", @@ -4278,9 +4368,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.12.5" +version = "2.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb0244332cfb9cee7e2a568bf5da29a36ed8fdbd717f6f47a66b6b7b358c072" +checksum = "30fbfbb9dc9a2697b0e96d909ddc295fb18d2d82a58ed542ab8d9eba2edbe6da" dependencies = [ "anyhow", "bytes", @@ -4329,9 +4419,9 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adddb0e648752aaac5da9c3c3c6a68e1e87cab55e3b757b18a9441ef8c3ac614" +checksum = "73d80784e874fa117b9b00a6680cf2f9b8a51bbd14406bea980cf8f328b00646" dependencies = [ "anyhow", "cargo_toml", @@ -4352,9 +4442,9 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb37631cf71dab5e8ab55e1bdd701e18a52653d90b78e71d0e5598b1e0a61316" +checksum = "c5dc6caab4da5646f57648f39b794bae118f0dd4a4305eeb8c892966171f4852" dependencies = [ "base64 0.23.1", "brotli", @@ -4367,7 +4457,7 @@ dependencies = [ "semver", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.11.2", "syn 2.0.119", "tauri-utils", "thiserror 2.0.21", @@ -4379,9 +4469,9 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc38db58854c10fb5f91a887ed8bf82d3239bb92b5d8db86eda09e96d9963d1" +checksum = "2831c5da8603a96b1efc0b650c2cb6decc69b6cda257d815fe70c7f5be53818e" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -4393,9 +4483,9 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67fb21a77e8f94e8beb3325e583102488659365af0a3948b7ea244c5b779c291" +checksum = "6c18076d9b04211cb4899387aab97497e8edd0d02cd21710623afcdde27145d1" dependencies = [ "anyhow", "glob", @@ -4407,57 +4497,15 @@ dependencies = [ "walkdir", ] -[[package]] -name = "tauri-plugin-dialog" -version = "2.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7461aaacf1901915ea7b9f5cd74f8224a351ed96af0a62c07fce934003cb34b" -dependencies = [ - "log", - "raw-window-handle", - "rfd", - "serde", - "serde_json", - "tauri", - "tauri-plugin", - "tauri-plugin-fs", - "thiserror 2.0.21", - "url", -] - -[[package]] -name = "tauri-plugin-fs" -version = "2.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d58eb1d4984e535f47a642ffec09a2da6f5c18a12b5902d12126cb7626d628b" -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.21", - "toml 1.1.8+spec-1.1.0", - "url", -] - [[package]] name = "tauri-plugin-notification" -version = "2.7.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b939d7b19c8af1381a72ef8474b3aba2b56c1ddac2c23f0c8e96abbcf86b198b" +checksum = "14a226bfb8189ec4ab2c1936e66330ad06c44d9f6c54a674338208491dee177f" dependencies = [ "log", "notify-rust", - "rand 0.9.5", + "rand", "serde", "serde_json", "serde_repr", @@ -4466,37 +4514,14 @@ dependencies = [ "thiserror 2.0.21", "time", "url", - "zbus", -] - -[[package]] -name = "tauri-plugin-shell" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8567d42b2c7264355daa1df415ec77f52aa42e885924c86a969be2e920e05521" -dependencies = [ - "encoding_rs", - "libc", - "log", - "open", - "os_pipe", - "regex", - "schemars 0.8.22", - "serde", - "serde_json", - "shared_child", - "tauri", - "tauri-plugin", - "thiserror 2.0.21", - "tokio", - "windows-sys 0.60.2", + "zbus 5.19.0", ] [[package]] name = "tauri-runtime" -version = "2.12.2" +version = "2.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c55766d99cea69055904d1735b93c2049302b2e09effd462120deb5581d78e9" +checksum = "60c2b14bd5265b63993cdc34ad526fb836e0fd0cf64a4634a895db0784844d5e" dependencies = [ "cookie", "dpi", @@ -4519,9 +4544,9 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.12.3" +version = "2.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1aa9d8b7a120f879f44fdc1053f7b7dbf416bf0bbc6a72b714dec46b782b52f" +checksum = "b8c14a025255cc9816d401635035075b09b6cc9973b7b8fd7b8fcb8753f30f92" dependencies = [ "gtk", "http", @@ -4544,15 +4569,15 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.10.2" +version = "2.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "362ab21cd4cc713f2a02b1a9b5688198b1541cfb6907c4281e9190e0f0ef4aa3" +checksum = "28d1d33d4453c5df0bf1672dbc7ada69d8ed74f56a4316d964a4aa73d4ecd3ad" dependencies = [ "anyhow", "brotli", "cargo_metadata", "ctor", - "dom_query", + "dom_query 0.28.0", "dunce", "glob", "http", @@ -4560,7 +4585,7 @@ dependencies = [ "json-patch", "log", "memchr", - "phf", + "phf 0.13.1", "plist", "proc-macro2", "quote", @@ -4573,7 +4598,7 @@ dependencies = [ "serde_with", "swift-rs", "thiserror 2.0.21", - "toml 1.1.8+spec-1.1.0", + "toml 1.2.3+spec-1.1.0", "url", "urlpattern", "uuid", @@ -4582,13 +4607,13 @@ dependencies = [ [[package]] name = "tauri-winres" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc65d45c68858bfe420dd29e834b5d15dbecf8a07a8a16cf4d532c7b1f69d4b6" +checksum = "c52bb6904475a6ca662f15ef787f18ade61d5740a1ee12c45d3b748efdb6f796" dependencies = [ "dunce", "embed-resource", - "toml 1.1.8+spec-1.1.0", + "toml 1.2.3+spec-1.1.0", ] [[package]] @@ -4661,7 +4686,7 @@ checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -4705,9 +4730,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +checksum = "abc840c238154d58f9e86b2792261edfde565a17696e1cda1a449de27979801a" dependencies = [ "displaydoc", "zerovec", @@ -4743,7 +4768,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] @@ -4783,17 +4808,17 @@ dependencies = [ [[package]] name = "toml" -version = "1.1.8+spec-1.1.0" +version = "1.2.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d" +checksum = "26b1f26e9485c1fa43ee89fe76e9f3fb9e2e52bb227f8594b4d687496b83d073" dependencies = [ "indexmap 2.14.2", "serde_core", - "serde_spanned 1.1.2", - "toml_datetime 1.1.2+spec-1.1.0", + "serde_spanned 1.1.3", + "toml_datetime 1.1.3+spec-1.1.0", "toml_parser", "toml_writer", - "winnow 1.0.4", + "winnow 1.0.5", ] [[package]] @@ -4807,9 +4832,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "1.1.2+spec-1.1.0" +version = "1.1.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" dependencies = [ "serde_core", ] @@ -4840,30 +4865,30 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.25.17+spec-1.1.0" +version = "0.25.21+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +checksum = "88497dab46de5bf343ec66b05c251e48c6213f3e9170c70a70a823f7abe886a4" dependencies = [ "indexmap 2.14.2", - "toml_datetime 1.1.2+spec-1.1.0", + "toml_datetime 1.1.3+spec-1.1.0", "toml_parser", - "winnow 1.0.4", + "winnow 1.0.5", ] [[package]] name = "toml_parser" -version = "1.1.5+spec-1.1.0" +version = "1.1.7+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +checksum = "0bb28d6e049a9766c3bd91a8326e6179f5b132dec87906bb97018ef7a2f3431a" dependencies = [ - "winnow 1.0.4", + "winnow 1.0.5", ] [[package]] name = "toml_writer" -version = "1.1.3+spec-1.1.0" +version = "1.2.0+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" [[package]] name = "tower" @@ -5055,9 +5080,9 @@ checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" [[package]] name = "unicode-width" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" +checksum = "ca718471876992059f251e33aafc334346ada08042b7661dd1fe313a9bced557" [[package]] name = "untrusted" @@ -5067,9 +5092,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.8" +version = "2.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a" dependencies = [ "form_urlencoded", "idna", @@ -5092,9 +5117,12 @@ dependencies = [ [[package]] name = "utf8_iter" -version = "1.0.4" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" +checksum = "af3bd9d3e571c26fcce9d033b87ea5ab061b8d2ffe9b7a5675d810d68f03edf0" +dependencies = [ + "utf_types", +] [[package]] name = "utf8parse" @@ -5102,11 +5130,17 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "utf_types" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a3b425286980a367278453f3b6d28cdcb134b574e5a35824a6ff5eebad50bb6" + [[package]] name = "uuid" -version = "1.28.0" +version = "1.29.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +checksum = "3c14b15dffa2f4bd712103e857140aa04a4f2ff6e955c77d7eb8e53ee02a3b64" dependencies = [ "getrandom 0.4.3", "js-sys", @@ -5154,9 +5188,9 @@ dependencies = [ [[package]] name = "walkdir" -version = "2.5.0" +version = "2.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +checksum = "b42e295b7452c4604982280d8586001fcad9b8b201cac67bca9771e7a7475403" dependencies = [ "same-file", "winapi-util", @@ -5188,12 +5222,11 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.129" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" dependencies = [ "cfg-if", - "once_cell", "rustversion", "wasm-bindgen-macro", "wasm-bindgen-shared", @@ -5201,9 +5234,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.79" +version = "0.4.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +checksum = "5e14e0327cb5368ad60ccb22d04a9827a693c95a926d8d125e9fa39e0baec501" dependencies = [ "js-sys", "tokio", @@ -5212,9 +5245,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.129" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5222,22 +5255,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.129" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.129" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" dependencies = [ "unicode-ident", ] @@ -5257,9 +5290,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.106" +version = "0.3.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88" dependencies = [ "js-sys", "wasm-bindgen", @@ -5281,10 +5314,22 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba8b815c1b593dc0baf78dd0f4fc8fdb2de53198fb1163738093e9a311c33fb3" dependencies = [ - "phf", - "phf_codegen", - "string_cache", - "string_cache_codegen", + "phf 0.13.1", + "phf_codegen 0.13.1", + "string_cache 0.9.0", + "string_cache_codegen 0.6.1", +] + +[[package]] +name = "web_atoms" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7572660c8890448ba236b7376f27e389c6a7e1c70195622faced601f855c0ada" +dependencies = [ + "phf 0.14.0", + "phf_codegen 0.14.0", + "string_cache 0.11.0", + "string_cache_codegen 0.11.2", ] [[package]] @@ -5333,9 +5378,9 @@ dependencies = [ [[package]] name = "webpki-root-certs" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e49d0e65abc00c142e8f9428da991da9f1a250c39be97459901eb12b9b49f62a" +checksum = "293198dcebfb821155b5092ab94b5a82ff180eddd7241df3bd6e66a4ffd1a585" dependencies = [ "rustls-pki-types", ] @@ -5504,6 +5549,17 @@ dependencies = [ "windows-link", ] +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + [[package]] name = "windows-result" version = "0.4.1" @@ -5540,15 +5596,6 @@ 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" @@ -5582,30 +5629,13 @@ 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_gnullvm", "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", - "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.2.1" @@ -5636,12 +5666,6 @@ 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" @@ -5654,12 +5678,6 @@ 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" @@ -5672,24 +5690,12 @@ 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" @@ -5702,12 +5708,6 @@ 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" @@ -5720,12 +5720,6 @@ 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" @@ -5738,12 +5732,6 @@ 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" @@ -5756,12 +5744,6 @@ 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" @@ -5773,9 +5755,9 @@ dependencies = [ [[package]] name = "winnow" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" dependencies = [ "memchr", ] @@ -5804,16 +5786,16 @@ checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" [[package]] name = "wry" -version = "0.57.0" +version = "0.57.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a819957a01b3119af85e638a38d242af76dbc87d130dca67bfd0441072e21ff0" +checksum = "2c7bdc0b007462dd8a6cdb598e131e6899efa7eec16afdab4ee94b33f344c705" dependencies = [ - "base64 0.22.1", + "base64 0.23.1", "block2", "cookie", "crossbeam-channel", "dirs", - "dom_query", + "dom_query 0.30.0", "dpi", "dunce", "gdkx11", @@ -5829,7 +5811,6 @@ dependencies = [ "objc2-foundation", "objc2-ui-kit", "objc2-web-kit", - "once_cell", "percent-encoding", "raw-window-handle", "sha2 0.10.9", @@ -5869,9 +5850,9 @@ dependencies = [ [[package]] name = "yoke" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +checksum = "417ef3fcf6c300b7dbd25c85531a746931c02ad536f3cf4786ed1e88223340b3" dependencies = [ "stable_deref_trait", "yoke-derive", @@ -5886,7 +5867,7 @@ checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", "synstructure", ] @@ -5919,12 +5900,39 @@ dependencies = [ "uds_windows", "uuid", "windows-sys 0.61.2", - "winnow 1.0.4", - "zbus_macros", + "winnow 1.0.5", + "zbus_macros 5.19.0", "zbus_names", "zvariant", ] +[[package]] +name = "zbus" +version = "6.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a7f9f5dd97fa527c1202ba1cb35d48e07f77d4de8542317c854f7aef22b0668" +dependencies = [ + "async-trait", + "bitflags 2.13.2", + "endi", + "futures-core", + "hex", + "libc", + "ordered-stream", + "rustix", + "serde", + "serde_repr", + "socket2", + "uds_windows", + "uuid", + "windows-sys 0.61.2", + "winnow 1.0.5", + "zbus_macros 6.5.0", + "zbus_utils", + "zcheapstr", + "zruntime", +] + [[package]] name = "zbus_macros" version = "5.19.0" @@ -5934,50 +5942,55 @@ dependencies = [ "proc-macro-crate 3.5.0", "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", "zbus_names", "zvariant", "zvariant_utils", ] [[package]] -name = "zbus_names" -version = "4.3.4" +name = "zbus_macros" +version = "6.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8bf88b4a3ff53e883001e0e0115b297a9d53c31b9c1edd2bfdd853e3428624e" +checksum = "2f5aa7f2c4ea81b7ccfb26bafefdb4d1a44dd9d4f82c8426173a3727311743e4" dependencies = [ - "serde", - "winnow 1.0.4", - "zvariant", + "proc-macro2", + "quote", + "syn 3.0.10", + "zbus_utils", ] [[package]] -name = "zcheapstr" -version = "1.1.0" +name = "zbus_names" +version = "4.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1afec51604565183aeb5c54c20aeab286120d4e4460f7f76e3e8bb8c0d99473" +checksum = "812a12be4ead7a59e18ea8f047d08add0066b73bc62fc1467066a2472ae088dd" dependencies = [ "serde", + "winnow 1.0.5", + "zvariant", ] [[package]] -name = "zerocopy" -version = "0.8.63" +name = "zbus_utils" +version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +checksum = "af55e52da295311b368c45bcae221f020e28e97a2420360170ce389218e76ec7" dependencies = [ - "zerocopy-derive", + "proc-macro2", + "quote", + "serde", + "syn 3.0.10", + "winnow 1.0.5", ] [[package]] -name = "zerocopy-derive" -version = "0.8.63" +name = "zcheapstr" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" +checksum = "2da34e7164b75d803c3197b86e6cf61b874106fbd472c5082575a8bc5fbd0907" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.119", + "serde", ] [[package]] @@ -5997,15 +6010,29 @@ checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", "synstructure", ] [[package]] name = "zeroize" -version = "1.9.1" +version = "1.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +checksum = "85ccff8a4805aba1eaa4cd4afcd49f7557dd2cf5fd79ffc37f8959466effc5aa" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] [[package]] name = "zerotrie" @@ -6020,9 +6047,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.8" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +checksum = "f58a2799cfe9a1670c7ea8edbd52ef8edb93cb37a7f83bf31ba9e35d9dae6a40" dependencies = [ "yoke", "zerofrom", @@ -6031,37 +6058,40 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.11.6" +version = "0.11.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +checksum = "c3743ddbf47738d929cd1ae2e199d40d0162979dfe31aef8ae646d2bf00bf97a" dependencies = [ "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", ] [[package]] name = "zip" -version = "9.1.3" +version = "9.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1156b39d142a34b999c2310a50455e0cb3760bf7efad0122f796d813bee26ccb" +checksum = "2d8dbe089cf6b0448b78f5fc50139ab5aaa40d08ac07cdc1baf2c13add35fcce" dependencies = [ + "constant_time_eq", "crc32fast", "flate2", "getrandom 0.4.3", "indexmap 2.14.2", + "libc", "memchr", "nix", "typed-path", "windows-sys 0.61.2", + "zeroize", "zopfli", ] [[package]] name = "zlib-rs" -version = "0.6.8" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" +checksum = "aa76918995d776d9dd34d371030be228d021137449771493d56e29f77e4148ac" [[package]] name = "zmij" @@ -6081,16 +6111,29 @@ dependencies = [ "simd-adler32", ] +[[package]] +name = "zruntime" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac67096b97c00742108c4674db6bb6178adb78c4b66a506b0e4a7a9593aa5d9e" +dependencies = [ + "futures-core", + "futures-io", + "rustix", + "socket2", + "windows-sys 0.61.2", +] + [[package]] name = "zvariant" -version = "5.15.0" +version = "5.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1d34c27cc6cdd1f458427519dd6b8612f7b7e3f7b9a0b2355d041dda9869147" +checksum = "80bf6d6cd6a4b601acb64cfb8284cdc643fcfa75ef26ae3c46ec8aa4e8a1fbb7" dependencies = [ "endi", "enumflags2", "serde", - "winnow 1.0.4", + "winnow 1.0.5", "zcheapstr", "zvariant_derive", "zvariant_utils", @@ -6098,14 +6141,14 @@ dependencies = [ [[package]] name = "zvariant_derive" -version = "5.15.0" +version = "5.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864155e69b4352db0c7f374917bf45d1e0c8d17659c8b3dbf9795f3673f8c497" +checksum = "ef2672456ba1cb54b5eaec136e63135b3c7495fb938e53b28a62e633496d486d" dependencies = [ "proc-macro-crate 3.5.0", "proc-macro2", "quote", - "syn 3.0.9", + "syn 3.0.10", "zvariant_utils", ] @@ -6118,6 +6161,6 @@ dependencies = [ "proc-macro2", "quote", "serde", - "syn 3.0.9", - "winnow 1.0.4", + "syn 3.0.10", + "winnow 1.0.5", ] diff --git a/Cargo.toml b/Cargo.toml index 50abea1..b84a9fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,7 @@ [workspace] -resolver = "2" +# 3 rather than 2: `cargo update` then prefers versions that still build with +# the `rust-version` below, so the weekly lockfile refresh cannot break it. +resolver = "3" members = [ "crates/odysync-core", "crates/odysync-verify", @@ -34,17 +36,17 @@ anyhow = "1" thiserror = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "time", "sync", "io-util", "fs"] } +tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "time", "sync", "io-util", "fs", "signal"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } clap = { version = "4", features = ["derive"] } -chrono = { version = "0.4", features = ["serde"] } +jiff = { version = "1", default-features = false, features = ["std", "serde"] } sha2 = "0.11" hex = "0.4" directories = "6" async-trait = "0.1" zip = { version = "9", default-features = false, features = ["deflate"] } -reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] } +reqwest = { version = "0.13", default-features = false, features = ["json", "rustls", "system-proxy"] } [profile.release] opt-level = "z" diff --git a/NEXT.md b/NEXT.md index b1ce1c4..9632cfe 100644 --- a/NEXT.md +++ b/NEXT.md @@ -1,53 +1,100 @@ # What is left, and what is known -State after 3.0.0 (2026-10-16). Everything here is reconstructable from the -repository alone. +State of 2026-11-25, after the care round that follows 3.1.1. Everything here is +reconstructable from the repository alone. The plan is in +[ROADMAP.md](ROADMAP.md), Part A; this file says where things stand. --- -## 1. Code signing — still the one thing gating the rest +## 1. The next five -Fully documented in [`docs/SIGNING.md`](docs/SIGNING.md). The release workflow -signs the CLI and the Windows installer as soon as the `SIGNING_ENABLED` -repository variable and the Trusted Signing secrets exist; nothing else has to -change. Until then SmartScreen warns on every install, and **self-update stays -check-only** (`UpdateCheck::is_installable`, and the test -`odysync_refuses_to_install_its_own_updates_while_releases_are_unsigned`, which -will fail on purpose the day signing lands). +1. **Exercise every install path on throw-away machines** (A1). Nothing else + pays back as much; see section 5 for what not doing it cost. +2. **Signing** (A2). The route this project had planned is closed to individuals + in Germany; [docs/SIGNING.md](docs/SIGNING.md) has the two that are open. + Needs the owner. +3. **The catalogue from 15 to 150** (A3), drafted by a bot, pinned by a check. +4. **Undo for an update** (A4). +5. **Exploited holes first, a waiting period for the rest** (A5). -macOS needs a Developer ID certificate and notarisation before the `.dmg` -opens without the right-click workaround the README describes. +## 2. Waiting for the owner -## 2. Verified where, and how +- Allow Actions to open pull requests, or merge the weekly lockfile refresh by + hand from the issue it opens. The workflow is ready for both. +- The signing route, and whether it may cost anything. +- The elevated helper (A6): per batch, as recommended, or a service. +- Submitting to winget-pkgs; an own Scoop bucket and Homebrew tap. +- Deleting old branches on GitHub: `chore/lockfiles-2026-*` (four), `dev/*`, + `feat/smart-care`, `backup/*`. `dev/ms3` has three commits no tag contains; + tag it (`archive/ms3`) first. + +## 3. Verified where, and how | Path | How it was verified | |---|---| -| `direct`, per-user install | End to end on a real machine: VS Code 1.140.0 → 1.142.0 downloaded, hash and signature checked, installed silently, version read back. | -| `direct`, verification chain | Unit tests against real Windows files: right signer passes; another publisher, a changed byte and a wrong SHA-256/SHA-512 are refused; the locked file cannot be written or deleted. | -| `direct`, machine-wide installs (MSI/NSIS/Inno) | Scan verified (Notepad++, Git, GitHub CLI, Node.js found with correct versions); install not run — it needs an elevated session. Same code path as the per-user install apart from `msiexec`. | -| NVIDIA driver | Lookup verified against NVIDIA's service for an RTX 4080 (616.92 → 617.42). The 1 GB install was not run: it needs elevation and restarts the display stack. | -| Runtimes, device problems, system info, startup manager, cleanup | Run against the real machine (Windows) and, for cleanup and startup, a Linux container as an ordinary user. | -| macOS Sparkle updates | Pure parts tested everywhere, including a real Rectangle release's Ed25519 signature; the bundle swap is tested with fake bundles. The full install has not run on a real Mac — **first thing to try on one**. | -| Windows Update install, driver restore | Unchanged from 2.2: unit-tested, not exercised elevated. See the history notes. | - -## 3. Worth doing next - -- **Grow the catalog.** Each entry needs its signer read from a real installer; - a pin that stops matching fails safe (the update is refused), so a signer - change at a publisher shows up as a refused update, not a bad install. -- **AMD and Intel GPU drivers without winget.** Neither vendor publishes a - machine-readable feed; today these come from Windows Update (default) or - winget (opt-in). -- **Startup: offer "delay" as well as "off".** Still no fake impact score. -- **Duplicate files**, report-only, if a full-disk hash walk can be made fast - enough to verify properly. -- **Old branches.** `dev/rust-rewrite`, `dev/updateMilestone2` and - `dev/iobit-parity` are fully contained in `main`. `dev/ms3` has three - commits no tag contains — tag it (`archive/ms3`) before deleting it. +| `direct`, per-user install | End to end on a real machine (3.0): VS Code 1.140.0 to 1.142.0. Not repeated since; the code around it changed. | +| `direct`, verification chain | Unit tests against real Windows files: right signer passes; another publisher, a changed byte and a wrong hash are refused; the locked file cannot be written or deleted. | +| `direct`, catalogue | All 15 entries resolved against their publishers on 2026-11-25; weekly in CI from now on. | +| `direct`, machine-wide installs | Scan verified. **Install not run**: needs an elevated session. | +| Protected download directory | Unit test: an ordinary process cannot write into it; elevated (CI) the access list is read back. | +| Windows Update search | Run on a real machine: result codes, reboot and preview flags read. | +| Windows Update and driver **install** | **Never run.** The result codes that made it impossible to succeed are fixed and checked against the bindings; the first real install is A1. | +| NVIDIA driver | Lookup verified for an RTX 4080. Install not run. | +| dpkg, rpm, pacman, PEP 440 ordering | The reference test cases of each project. | +| apt, dnf, zypper, snap, flatpak, pacman, nix, fwupd, Homebrew, Chocolatey, Go | Parsers against documented output or the tools' own source, **not** against captured output of the real tool. Compiled and linted for Linux and macOS. | +| pip, npm, cargo, Scoop | Scans run on a real machine. Installs not run. | +| macOS Sparkle updates | Pure parts and a real Ed25519 signature; the bundle swap with fake bundles. **Never run on a real Mac.** | +| Windows schedule | The definition is parsed back in a test; CI registers, finds and removes a real task. Not run on a schedule yet. | +| The app | 91 component tests, contrast computed for every text colour in both themes, the browser demo looked at. The window itself was not opened for this round. | +| Runtimes, device problems, system info, startup manager, cleanup | Unchanged; run against the real machine for 3.0 and 3.1. | + +## 4. Known and left + +- **Extensions and .NET tools** are not offered any more: nobody says which + version is newest without an undocumented service. They were listed before, + always as "could not be determined". +- **Arch** is scan only. pacman has no supported way to update one package. +- **winget** rows with `< 1.2.3` as the installed version are refused. +- **Homebrew casks that install a system package** ask for a password, which + nothing Odysync starts can do any more: programs run in a session of their own + so that Ctrl-C does not reach them. They fail; `brew upgrade` by hand works. +- **PowerShell modules** from an untrusted gallery may fail now that `-Force` + is gone. +- **The offline cache page** shows a cache nothing fills (A15). +- **A console window** appears when a schedule runs on Windows (A9). --- -## 4. Things learned that are not obvious from the code +## 5. Things learned that are not obvious from the code + +**A constant written from memory cost four releases.** `ORC_FAILED = 2` looked +right, a comment explained how a "failed" search can still return results, and +the module's own history told of 14 pending updates "found by running the real +API". They were there because the search had succeeded. When a system answers +something that needs an explanation, check the reading first. + +**A conditional request is not free at GitHub.** Three `304` answers without a +token took the anonymous allowance from 58 to 56. The comment said otherwise. + +**A pipe ends when the last holder lets go, not when the program exits.** An +installer that starts the app it installed kept its output pipe open, so the +install "ran" until the app was closed and then counted as timed out, and was +started again. + +**Locking the installer does not protect the installer.** A program loads +libraries from its own directory first. The directory needs the lock too. + +**PATH is an input.** The signature check ran whatever `powershell.exe` came +first in a list any program of the same user can write. + +**Dependabot cannot raise something that lives in two ecosystems.** Tauri's Rust +and npm halves must match; each half alone failed the packaging job every week. +And a workflow's `gh pr create` needs a repository setting that is off by +default, so the refresh that was to fix this failed silently as well. + +**"Not found" and "could not look" must never look the same.** Offline, a +publisher that renamed a file, a Windows Update that failed: all three read as +"up to date" until this round. **Windows PowerShell inherits PowerShell 7's module path.** Started from `pwsh`, `powershell.exe` loads PS7's copy of `Microsoft.PowerShell.Security`, diff --git a/README.md b/README.md index cba0796..88d39e6 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,9 @@ Each source names who verified what it installs — *verified by Odysync*, *by t | **Disk and battery health** — SMART/NVMe status, wear, temperature, battery capacity | ✅ | ✅ | ✅ (smartctl) | | **Programs, direct from the publisher** — signature-pinned installers from GitHub releases and vendor feeds | ✅ | ✅ Sparkle apps | — | | **System package managers** — Homebrew, apt, dnf, pacman, zypper, Flatpak, Snap, Nix, Chocolatey, Scoop | ✅ | ✅ | ✅ | -| **Language ecosystems** — pip, npm, cargo, go, .NET tools, VS Code and JetBrains extensions | ✅ | ✅ | ✅ | +| **Language ecosystems**: pip, npm, cargo and Go tools; PowerShell modules on Windows | ✅ | ✅ | ✅ | | **OS updates** — Windows Update (security, quality, Defender), `softwareupdate` | ✅ | ✅ | via package manager | -| **Drivers** — Windows Update drivers, NVIDIA straight from NVIDIA, OEM tools (Dell, HP, Lenovo…), `fwupd` firmware | ✅ | firmware | ✅ `fwupd` | +| **Drivers**: Windows Update drivers, NVIDIA straight from NVIDIA, `fwupd` firmware | ✅ | firmware | ✅ `fwupd` | | **Driver backup and restore** — export the driver store, roll back after a bad update | ✅ | — | — | | **Runtimes** — Visual C++, DirectX, .NET patches, from Microsoft's own installers | ✅ | — | — | | **Device problems** — Device Manager error codes explained in plain words | ✅ | — | — | @@ -99,7 +99,7 @@ Each source names who verified what it installs — *verified by Odysync*, *by t | **Restore points, disk optimisation, system file repair** | ✅ | — | — | | **System info, schedules, profiles, update history** | ✅ | ✅ | ✅ | -Everything in the app is also in the CLI. +Updating, cleanup, care, drivers, runtimes, health, startup and schedules are in the app and in the CLI; the security audit, update history and restore-point list are in the app.
Take the tour — every page in a few seconds @@ -146,11 +146,13 @@ Home and four everyday pages — Updates, Drivers, Cleanup, Security — are all 1. **Exact version.** The release is exactly the version you approved; if the publisher shipped another one in between, Odysync stops and asks for a new scan. 2. **Publisher URL.** The download belongs to the publisher the catalog names (a GitHub asset must be a release of *that* repository), over HTTPS on every redirect. -3. **Locked file.** The file is locked against writes and deletion, then re-hashed from disk — nothing can swap it between the check and the run, even when the installer runs elevated. +3. **Locked file, protected directory.** The file is locked against writes and deletion, then re-hashed from disk, so nothing can swap it between the check and the run. An elevated installer runs from a directory only administrators can write to, so nothing can be planted next to it either. 4. **SHA-256.** The hash matches whatever the source publishes (GitHub, VS Code and Node.js all publish one; .NET publishes SHA-512). 5. **Pinned signer.** The Authenticode signature is valid **and** issued to the expected publisher — parsed from the certificate subject, so `GitHub, Inc. Evil` does not pass for `GitHub, Inc.`. -Installers only run over an install of the same kind (MSI over MSI, Inno over Inno), never while the program is running. On macOS, an app update must carry a valid Ed25519 signature from the key *in the app you already have*, the same Apple Team ID, and Gatekeeper's approval; the old app is kept until the new one is in place. +Installers only run over an install of the same kind (MSI over MSI, Inno over Inno), never while the program is running, never when the disk has no room for them, and never a second time: one that runs into its time limit is checked, not restarted. Only one Odysync installs at a time. On macOS, an app update must carry the same Apple Team ID as the app you already have, a valid Ed25519 signature from the key in it where it has one, and Gatekeeper's approval; the old app is kept until the new one is in place. + +Package managers are asked again right before installing: if the version on offer is no longer the one you approved, Odysync stops. Distribution packages are compared by the rules of dpkg, rpm and pacman, Python packages by PEP 440. ### What Odysync deliberately does not do @@ -189,6 +191,7 @@ odysync health # disk and battery health odysync scan # what can be updated, and what is held back and why odysync apply # install everything that passes the safety rules odysync apply --only vscode --yes # one package, no prompt +odysync apply --yes --unattended # for scripts: leaves drivers, firmware and pip/npm to you odysync scan --backend direct # ask one source only (naming an opt-in source enables it for this run) odysync clean # measure reclaimable space; deletes nothing @@ -206,7 +209,7 @@ odysync schedule --frequency daily --care # automatic care odysync backends # every source, and who verifies what it installs ``` -`odysync --help` and `odysync --help` list everything; `--json` gives machine-readable output. +`odysync --help` and `odysync --help` list everything; `--json` prints exactly one document on stdout. Exit codes: 0 fine, 1 something failed, 2 nothing could be checked or done. Ctrl-C during an install finishes the package in progress and skips the rest. ## Build from source @@ -223,11 +226,11 @@ Tests and lints, as CI runs them: ```sh cargo fmt --all -- --check cargo clippy --workspace --all-targets -- -D warnings -cargo test --workspace --lib +cargo test --workspace --lib --bins cd apps/gui && npx tsc -b && npx oxlint && npm test ``` -CI runs all of this on Windows, macOS and Linux, builds and starts the CLI and the packaged app on all three, and adds `cargo audit`, `cargo deny`, `npm audit` and a CycloneDX SBOM. +CI runs all of this on Windows, macOS and Linux, builds and starts the CLI and the packaged app on all three, and adds `cargo audit`, `cargo deny`, `npm audit` and a CycloneDX SBOM. Once a week it resolves every catalog entry against its publisher and builds with the oldest supported Rust. ## Architecture @@ -244,13 +247,13 @@ flowchart TB | Crate | What it does | |---|---| -| `odysync-core` | Domain model, version algebra, safety policy, planner, runner | +| `odysync-core` | Domain model, version rules, safety policy, planner, runner | | `odysync-verify` | SHA-256 and platform code-signature checks (Authenticode, `codesign`) | | `odysync-backends` | Every update source, cleanup, drivers, runtimes, startup, system info | | `odysync-cli` | The `odysync` command | | `apps/gui` | The desktop app: Tauri 2, React 19, TypeScript 7, Tailwind 4 | -Every safety decision lives in `odysync-core`, which is pure, fully unit-tested and knows no package manager. The CLI and the app are thin shells over the same engine and cannot disagree about what is safe. Adding an update source means implementing one five-method trait. See [ARCHITECTURE.md](ARCHITECTURE.md). +Every safety decision lives in `odysync-core`, which is unit-tested on all three systems and knows no package manager. The CLI and the app are thin shells over the same engine and cannot disagree about what is safe. Adding an update source means implementing one five-method trait. See [ARCHITECTURE.md](ARCHITECTURE.md). ## License diff --git a/ROADMAP.md b/ROADMAP.md index 8bcb369..cf0ca4f 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,182 +1,439 @@ -# Odysync v2 — Roadmap +# Odysync: the plan -> **This file describes phases 1–6 of the Rust rewrite, all of which shipped.** -> The 2.2 work (Windows Update, installer verification, driver rollback, deep -> clean) is recorded in [docs/history](docs/history/2026-07-iobit-parity-plan.md); -> what 3.0 added is in the [CHANGELOG](CHANGELOG.md), and what is still open -> in [NEXT.md](NEXT.md). +> Status: 2026-11-25. Phases 1 to 6 below are the Rust rewrite, all shipped. +> Part A is what comes next, ordered by value against effort. What is verified +> and what is not is in [NEXT.md](NEXT.md), what changed in the +> [CHANGELOG](CHANGELOG.md). -Status as of 2026-07-20. Branch: `dev/rust-rewrite`. - -Each phase is independently shippable. Nothing below requires a rewrite of -anything above it — the crate boundaries from Phase 1 are what make that true. +Each item says why, what done looks like, how to check it, and who has to act: +**[owner]** needs a decision or an account, **[money]** costs something, +**[people]** needs other hardware or other people. Everything else can simply +be done. Effort: S is days, M one to two weeks, L more. --- -## Phase 1 — Core engine + CLI ✅ **DONE** - -Commit `dc54a2c`. 100 unit tests, clippy-clean, warning-free, 1 MB binary, -CI on Windows/macOS/Linux. - -Delivered: the safety policy, version algebra, planner, runner, verification -crate, five backends (winget, msstore, homebrew, apt, flatpak), and the -`odysync` CLI (`scan`, `apply`, `backends`, `hold`, `unhold`, `config`). - -The four defects that corrupted installs are fixed and covered by regression -tests. See `ARCHITECTURE.md` for where each guarantee is enforced. +# Part A. From here + +## Where Odysync stands, honestly + +Checked on 2026-11-25. "?" means it could not be confirmed. + +| Tool | State | Coverage | Verifies | Rolls back | Better than Odysync today | +|---|---|---|---|---|---| +| [UniGetUI](https://github.com/Devolutions/UniGetUI) | 2026.3.4, 13 Nov; owned by Devolutions since March | every package manager on three systems | manager's hash; [warns when the host changes](https://docs.devolutions.net/unigetui/guides/updates/update-safely) | package list only | breadth, about 60 languages, minimum age, portable apps | +| [Patch My PC Home](https://patchmypc.com/home-updater-release-notes) | 5.4.5 (July; newer ?) | about 570 apps | ? | restore point | catalogue, portable apps, German, parallel downloads | +| [Ninite](https://ninite.com/) | current | 150 apps | "signatures or hashes" | no | no questions asked at all | +| [Topgrade](https://github.com/topgrade-rs/topgrade) | 17.17.0, 17 Nov | runs every local manager | delegated | no | number of steps, weekly releases | +| [Winget-AutoUpdate](https://github.com/Romanitho/Winget-AutoUpdate) | 2.12.0, May | winget | winget's hash | no | Intune and group policy | +| [IObit Software Updater](https://www.iobit.com/en/iobit-software-updater.php) | 9.2, two updates a day free | "1,100+" | claims only | restore point | catalogue size | +| [Homebrew 7](https://www.helpnetsecurity.com/2026/09/15/homebrew-7-0-0/) | September | brew | build attestations, sandboxed casks, OSV | partly | supply-chain controls | +| [Floodtide](https://www.ifun.de/floodtide-neue-macupdater-alternative-laesst-sich-ausprobieren-288094/) (macOS, paid) | September | about 3,200 apps | Developer ID must match | seven days | macOS coverage, rollback, German | +| [duo-updater](https://github.com/jizhi0v0/duo-updater) (macOS, MIT) | 0.5.30, 24 Nov | Sparkle, App Store, brew, GitHub | signatures | yes | the same idea, with rollback | +| [Windows app updates](https://www.windowslatest.com/2026/11/09/for-20-years-windows-apps-like-java-have-nagged-you-with-their-own-update-pop-ups-and-windows-11-now-wants-to-end-it/) | in test, no providers yet | apps that register | vendor | no | it will be part of Windows | + +[SUMo](https://alternativeto.net/news/2023/9/kc-softwares-announces-shutdown-ceasing-sales-of-the-popular-sumo-app-and-many-others) +ended in 2023 and [MacUpdater](https://tidbits.com/2026/01/09/macupdater-shuts-down-leaving-users-searching-for-alternatives/) +on 1 January 2026, so their users are looking. + +**What Odysync has that none of them shows:** an exact approved version, the +publisher's own source, and a pinned signer, all three required. That is not +academic: the [Notepad++ update server was hijacked](https://helpnetsecurity.com/2026/02/18/notepad-secure-update-download) +from June to December 2025, and its own updater did not verify what it +downloaded. Odysync's pin refuses exactly that. + +**What it lacks:** coverage (15 apps in the catalogue; on the development +machine 6 of 119 installed programs are recognised), rollback, signed releases, +any language but English, portable apps, and until this release proof that its +own installs work: Windows Update had been reporting success as failure since +2.1 and no test could notice. + +## The order + +| # | What | Value | Effort | Needs | +|---|---|---|---|---| +| 1 | Every install path exercised by a machine | highest | M | nothing | +| 2 | Signed releases, then self-update | highest | S + waiting | **[owner]**, maybe **[money]** | +| 3 | Catalogue from 15 to 150, drafted by a bot, pinned by a check | highest | M | review time | +| 4 | Undo for an update | high | M to L | nothing | +| 5 | Fixes first: exploited holes on top, a waiting period for the rest | high | S to M | nothing | +| 6 | One elevation, open programs handled, downloads first | high | M | a decision on the helper | +| 7 | A proof page and a stop when the publisher changes | high | S | nothing | +| 8 | German, and the means for more | medium | M | **[owner]** reads it | +| 9 | Automatic care that is really unattended | medium | S to M | 2 and 6 for the full form | +| 10 | Where people find it: winget, Scoop, Homebrew | medium | S | **[owner]** publishes | +| 11 | macOS beyond Sparkle | medium | M | **[people]**, **[money]** | +| 12 | Portable apps, duplicates, per-user copies | medium | M | nothing | +| 13 | Hardware makers' tools, or an honest "no" | medium | L | **[people]** | +| 14 | Faster still | low | S | nothing | +| 15 | Housekeeping of the project itself | low | S | **[owner]** for GitHub settings | --- -## Phase 2 — Windows feature parity - -**Goal:** everything v1 could do, v2 can do. This is what unblocks deleting -`legacy/`. - -### 2.1 Driver updates -- [x] Replace PSWindowsUpdate with the **Windows Update Agent COM API** - (`IUpdateSession` / `IUpdateSearcher`) via the `windows` crate. -- [x] Driver-only search filter (`Type='Driver'`), surfaced as `BackendKind::WindowsDrivers`. -- [x] Report reboot-required through `RunReport::reboot_required`. - -> **Why change:** v1 installed a third-party PowerShell module from PSGallery -> at runtime, as Administrator, trusting the repository — a supply-chain hole -> and a slow one. The COM API is built into Windows, needs no install, and is -> considerably faster. This is a real dependency reduction, not a refactor. +## A1. Every install path exercised by a machine + +**Why.** `orcFailed` was taken to be 2. It is 4; 2 is success. For four releases +every successful driver install, and since 3.0 every security update, was +reported as failed, all tests were green, and NEXT.md said openly that the path +had never been run. About a dozen other +sources could not have worked by their own code, for the same reason: nobody +had ever run them. The lesson is not "more unit tests". +GitHub's runners are elevated, real and thrown away afterwards; that is the +machine this project was missing. + +**Done when** +- [ ] A weekly job on Windows installs the *previous* release of each catalogue + app, runs `odysync apply --only --yes`, and reads the new version + from the registry. One job per installer kind (Inno, NSIS, MSI) on every + pull request that touches `direct/`. +- [ ] The same job installs one pending Defender definition through the Update + Agent and checks the result code path end to end. +- [ ] On Linux, containers of Debian, Fedora, openSUSE and Arch with one package + held at an older version: `odysync apply` brings it to exactly the offered + one. Real output of each manager is kept as a fixture. +- [ ] On macOS, an old Rectangle is updated through Sparkle. +- [ ] A negative run: a tampered installer, a wrong signer, a moved release and + a running program are each refused, on the real path. +- [ ] NEXT.md's table lists the job that proves each row, not a memory of it. + +**Verify.** Break the result code again on a branch; the job must go red. + +## A2. Signed releases, then self-update **[owner]** maybe **[money]** + +**Why.** An unsigned updater teaches people to click past the warning that +protects them, and Smart App Control blocks it outright with +[no way round per app](https://support.microsoft.com/lt-LT/Windows/Security/threat-malware-protection/smart-app-control-frequently-asked-questions). +It also keeps self-update switched off. + +**What changed.** Azure Trusted Signing (now Artifact Signing), which +docs/SIGNING.md recommended, is +[open to individuals in the US and Canada only](https://learn.microsoft.com/en-us/azure/artifact-signing/quickstart); +organisations in the EU qualify. EV certificates no longer skip SmartScreen. + +**Options, in this order** +1. [SignPath Foundation](https://signpath.org/terms): free for open source. + Wants an OSI licence, builds from the repository, two-factor sign-in, manual + approval per release, a code-signing policy page and a project with some + reputation. Risks: three stars, and the security audit must be described as + what it is, checks of the local configuration, since tools that exploit + vulnerabilities are excluded. +2. [Certum Open Source](https://shop.certum.eu/open-source-code-signing-on-simplysign.html): + 49 euros, in the cloud. Whether CI can sign unattended is not confirmed. +3. A registered business (Gewerbe) for the organisation route at Microsoft. + Not confirmed that a sole trader counts. +4. macOS: [Apple Developer Program](https://developer.apple.com/programs/whats-included/), + 99 dollars a year. Homebrew refuses casks that Gatekeeper refuses since + September. + +**Done when** +- [ ] `Get-AuthenticodeSignature` says Valid for the installer *and* for + `odysync.exe` and `odysync-gui.exe` inside it. The release workflow signs + only the finished installer today; Tauri's `signCommand` signs the parts. +- [ ] A clean Windows 11 with Smart App Control installs it without a warning. +- [ ] `self_update.rs` installs a signed release through + `direct::lock_and_verify` with Odysync's own signer pinned, keeps the old + version until the new one has started once, and the refusing test is + replaced by one for the signer. + +**Verify.** A release candidate updates an installed 3.x on a throw-away +machine; a copy re-signed by anyone else is refused. + +## A3. Catalogue from 15 to 150 + +**Why.** Coverage is the first thing anyone compares. Six of 119 programs on a +developer's machine is not enough to replace anything. + +**How.** Public data drafts, pins decide. `winget-pkgs` (MIT) has the URL, the +SHA-256, silent switches and the product code; Scoop buckets (Unlicense) and +Homebrew casks (BSD) have version rules; GitHub publishes a +[digest per release file](https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/). +None of them proves who made a file. The signer read from the real installer +does, and it stays the gate. + +**Done when** +- [ ] A script drafts an entry: source, asset pattern, installer kind, uninstall + match; downloads the installer in CI, reads its signature, checks the + hash against two sources, and opens a pull request with the evidence. +- [ ] 50 entries within a month, chosen by how many people have them (browsers, + runtimes, chat, media, archivers, editors), 150 within a quarter. +- [ ] More than one source kind: redirecting "latest" URLs that are verified by + signer and file version instead of failing on a stale hash + ([242 open winget reports](https://github.com/microsoft/winget-pkgs/issues?q=is%3Aissue+hash+in%3Atitle) + are about that), Mozilla's and Google's version feeds, plain JSON. +- [ ] The catalogue ships on its own: signed with a key embedded in the app, + never older than the built-in one, fetched at most daily, and a wrong + signature means the built-in one is used. +- [ ] Entries are exercised by A1's weekly job. One that stops resolving or + changes signer opens an issue by itself (the resolving half exists). +- [ ] Packages that record a file version get it compared with the approved one + before they run. + +**Verify.** On a fresh Windows with the 50 most-installed free programs, the +scan recognises at least 40. + +## A4. Undo for an update + +**Why.** "Never break a working machine" without a way back is prevention only. +On macOS two newer tools keep the old version for days; on Windows none of the +reviewed ones does it per program. + +**Done when** +- [ ] `odysync undo ` and a button in History, for seven days. +- [ ] macOS: the replaced bundle is kept instead of deleted (it already exists + until the swap is done). +- [ ] Windows, per-user programs: the program's folder and its uninstall entry + are copied before the update (hard links on the same volume, so it costs + little) and put back as one step. +- [ ] Windows, machine-wide: the previous installer is downloaded and verified + *before* the update when the publisher still offers it; where a product + refuses to go back, History says so beforehand instead of offering it. +- [ ] Linux: the exact previous version is named, with the command that installs + it; dnf and Nix use their own undo. +- [ ] The space used is shown and capped; nothing is kept for drivers, which + have their own backup. + +**Verify.** A1's job updates, undoes and reads the old version back, one job +per installer kind. + +## A5. Fixes first, the rest can wait + +**Why.** "14 updates" tells nobody which one matters tonight. CISA's +[known exploited vulnerabilities](https://www.cisa.gov/known-exploited-vulnerabilities-catalog) +are CC0, 1,796 entries on 2026-11-25; no reviewed updater shows them. The other +half is the opposite wish: let a release be a few days old before it lands, +which UniGetUI has and Topgrade users +[ask for](https://github.com/topgrade-rs/topgrade/issues/1890). + +**Done when** +- [ ] Catalogue entries carry a vendor and product id; an update that fixes an + exploited hole is marked, sorted first, and named with its CVE. +- [ ] `minimum-age` in days per source, default 0 for security sources and 3 for + the rest of automatic care; an exploited hole overrides it. +- [ ] Programs out of support are named ([endoflife.date](https://endoflife.date/docs/api/v1/), MIT). +- [ ] Offline, the last list is used and its date shown. + +**Verify.** A fixture machine with one vulnerable and one current program; a +release published an hour ago is held with a reason, the same with a KEV entry +is not. + +## A6. One elevation, open programs, downloads first + +**Why.** Installing a machine-wide program means restarting the whole app as +administrator, after which Store and Scoop are refused. UniGetUI users complain +about [repeated prompts](https://github.com/Devolutions/UniGetUI/issues/3670) +and want [everything downloaded before anything installs](https://github.com/Devolutions/UniGetUI/issues/4533). +Phase 3.3 below recommended a helper process and it was never built. + +**Done when** +- [ ] The app stays unelevated. One prompt starts a helper that accepts only + *which catalogue entry, which scope, which version*: never a path, a URL + or a command line. It downloads and verifies by itself, in its own + protected directory (exists), and exits after the batch. +- [ ] All downloads finish and verify before the first install starts; progress + is bytes, not "0 of 3" (`apply_with_progress` has no caller today). +- [ ] An open program is offered as *close and update*, through the + [Restart Manager](https://learn.microsoft.com/en-us/windows/win32/rstmgr/about-restart-manager), + or *when I close it*, which waits. Never closed unasked. +- [ ] Per-user installs never ask for rights. + +**Verify.** Three programs, one per-user, two machine-wide, one of them open: +one prompt, no restart of the app, the open one updated after it is closed. + +**Decide first** (owner): helper per batch, as recommended, or a service. + +## A7. A proof page, and a stop when the publisher changes + +**Why.** "Verified" should be checkable. Odysync knows source, hash, signer and +log of every install and shows none of it afterwards. + +**Done when** +- [ ] History shows per update: the URL, both hashes, the signer, the time, the + exit code, the version read back, and a copy button. +- [ ] A signer different from the one seen last time is refused with both names, + also where the catalogue would allow it, until somebody agrees. On macOS + the same for the Team ID, on winget and Scoop for the host. +- [ ] Odysync's own releases: attestations (in the workflow now), + [immutable releases](https://github.blog/changelog/2025-10-28-immutable-releases-are-now-generally-available/), + the SBOM attached to the release instead of only to the CI run. + +**Verify.** Two fixture installers with different valid signers; the second is +refused and the proof page shows why. + +## A8. German, and the means for more + +**Why.** The owner and many of the people who would try it are German; every +German competitor and Patch My PC speak it. + +**Done when** +- [ ] Every string of app and CLI comes from one message file per language; a + test fails on a missing or unused key; dates, sizes and plurals go through + the platform. +- [ ] German complete and read by a person **[owner]**; the language follows the + system and can be changed in Settings. +- [ ] Messages that come from a program stay verbatim. + +**Verify.** A test renders every page in both languages and finds no English in +the German one apart from names. + +## A9. Automatic care that is really unattended + +**Why.** It works now without drivers and pip, survives a missed start, and is +not killed by a pulled plug. What is left: + +- [ ] No console window when the schedule runs (a windowless build of the CLI, + or the app's own binary with a verb). +- [ ] A report next time somebody signs in: what was updated, what waits, why. +- [ ] Machine-wide programs without anybody present: a task with rights, + registered once with consent, that runs only a signed Odysync from a + directory ordinary users cannot write to. Not before A2. +- [ ] Linux: a system timer for apt, dnf and zypper through polkit. +- [ ] Not while a game or a presentation is in full screen + (`SHQueryUserNotificationState`), not on a metered connection. +- [ ] When [Windows' own orchestration](https://www.windowslatest.com/2026/11/09/for-20-years-windows-apps-like-java-have-nagged-you-with-their-own-update-pop-ups-and-windows-11-now-wants-to-end-it/) + opens to third parties: register as a provider instead of competing. + +**Verify.** CI registers, starts and reads back the task (registering exists). + +## A10. Where people find it **[owner]** + +- [ ] winget-pkgs: needs a silent install and a versioned URL, both there, and + no antivirus flags. No signature rule was found, so it can go now. Each + submission is a public act and waits for a yes. +- [ ] An own Scoop bucket and an own Homebrew tap: no star thresholds, updated + by the release workflow. Scoop Extras wants + [100 stars](https://github.com/ScoopInstaller/Extras/blob/master/.github/ISSUE_TEMPLATE/package-request.yml), + Homebrew three times the usual for one's own project. +- [ ] Not Flathub: system tools are + [excluded](https://docs.flathub.org/docs/for-app-authors/requirements). +- [ ] A short comparison page with the table above, kept honest by date, and a + post to the places where MacUpdater and SUMo users ask. + +**Verify.** `winget install Odysync` and `scoop install odysync` on a clean +machine. + +## A11. macOS beyond Sparkle **[people]** **[money]** + +- [ ] Run the existing path on a real Mac: the first thing to do there. +- [ ] Apps without Sparkle: match installed bundles to Homebrew's cask data + (BSD), require the installed app's Team ID, download from the publisher. +- [ ] App Store apps listed through `mas`, updated by the store. +- [ ] GUI processes started from Finder see `/opt/homebrew/bin`. +- [ ] Signed and notarised (A2). + +**Verify.** The macOS job of A1 plus one person with a Mac for a week. + +## A12. Portable apps, duplicates, per-user copies + +- [ ] Duplicates recognised by UpgradeCode, shown once with both locations. +- [ ] Portable programs in folders the user names: version from the file, the + same source and signer rules, replaced as a folder with undo (A4). +- [ ] x86 and x64 of the same program side by side. + +**Verify.** Fixture folders; the same app installed twice appears once. + +## A13. Hardware makers' tools, or an honest "no" **[people]** + +Dell, HP and Lenovo tools install sets, not single approved items, and their +output was never seen here. Windows Update carries their drivers already. -### 2.2 Restore points -- [x] Implement the `restore-point` config flag (currently parsed, unimplemented). -- [x] `SRSetRestorePoint` via COM; skip gracefully when System Protection is off. -- [x] Create once per run, before the first apply — not per package. - -### 2.3 Maintenance actions -- [x] Temp cleanup, Recycle Bin, DISM/SFC health, startup-programs viewer. -- [x] Model as a `Maintenance` trait separate from `Backend` — these are not - package updates and should not flow through the update policy. - -### 2.4 Scheduling -- [x] Task Scheduler (Windows), launchd (macOS), systemd timer (Linux). -- [x] `odysync schedule --daily 09:00` / `odysync unschedule`. - -### 2.5 Reporting -- [x] Diagnostics bundle (`odysync diagnostics --out bundle.zip`). -- [x] Text report format alongside the existing JSON. - -**Exit criteria:** every v1 flag has a v2 equivalent; `legacy/` deleted. - -**Status:** Complete. `legacy/` has been deleted; the Python tool remains -available at the `v1.3.0` tag. +- [ ] One volunteer with each machine runs `odysync diagnostics`; real output + becomes a fixture. +- [ ] A source returns only when it can install exactly one approved item and + read the result back. Otherwise the app links to the maker's own tool. +- [ ] AMD and Intel graphics: no machine-readable feed was found; say so. + +## A14. Faster still + +A full scan on the development machine took 31 to 45 s at the start of this +work and 11 to 24 s now; the rest is pip and Windows Update. + +- [ ] Show results per source as they arrive, not only their progress. +- [ ] Ask sources whose state cannot have changed less often (a file time of + the package database says so). +- [ ] Windows Update asks its local cache first and refreshes behind it. +- [ ] Target: first useful answer in under 2 s, complete in under 10 s. + +## A15. Housekeeping of the project **[owner]** + +- [ ] Allow Actions to open pull requests, or the weekly lockfile refresh ends + in an issue with a link instead of a merge. +- [ ] Delete `chore/lockfiles-2026-*` (four), `dev/*`, `feat/smart-care`, + `backup/*`; tag `dev/ms3` first (three commits no tag contains). +- [ ] Pin actions by commit; Dependabot keeps them current. +- [ ] One end-to-end test per Tauri command (`tauri-driver`), so that a denied + permission such as the maximize button shows up in CI. +- [ ] Finish or remove the offline cache: nothing fills it. Download now and + install later is the useful form and comes with A6. +- [ ] Generate the TypeScript types from Rust; they are kept in step by hand. --- -## Phase 3 — GUI (Tauri v2 + React) - -**Goal:** the modern, clean desktop app. - -### 3.1 Shell -- [x] Tauri v2 workspace member `apps/gui`, reusing `odysync-core` directly — - the GUI is a front-end over the engine, never a reimplementation. -- [x] React + TypeScript + Vite. Tauri commands wrap `scan` / `plan` / `apply`. -- [x] Streaming progress: backend emits per-package events, UI subscribes. +# Part B. The Rust rewrite, phases 1 to 6 -### 3.2 Design -- [x] Dark/light, system-following. Single accent, generous whitespace, no chrome. -- [x] Update list with per-package version delta, size, and **the skip reason - shown inline** — the "why didn't this update?" question should never - require the CLI. -- [x] Holds and pins editable from the UI, writing the same config file. +> History. All of it shipped; what was left open has moved to Part A. -### 3.3 Elevation model ⚠️ **decide before building** -Store apps must run **unelevated**; drivers must run **elevated**. One process -cannot do both. +Each phase is independently shippable. Nothing below requires a rewrite of +anything above it: the crate boundaries from Phase 1 are what make that true. -Plan: GUI runs unelevated. A short-lived elevated helper is spawned per -privileged batch (UAC prompt once), speaking JSON-RPC over a pipe to the -unelevated parent. Alternative is a persistent elevated service, which is more -convenient and a much larger attack surface. **Recommendation: helper process.** +## Phase 1. Core engine and CLI: done -**Exit criteria:** every CLI capability reachable from the GUI; both share one -config and one policy engine. +The safety policy, version algebra, planner, runner, verification crate, five +backends (winget, msstore, homebrew, apt, flatpak), and the `odysync` CLI. The +four defects of v1 that corrupted installs are fixed and covered by regression +tests; see `ARCHITECTURE.md` for where each guarantee is enforced. -**Status:** Phase 3 complete. Tauri v2 + React + TypeScript + Vite + TailwindCSS. -Four tabs (Updates, Maintenance, Schedule, Settings). Dark/light mode. All Rust -and TypeScript compiles clean, clippy clean, 99 tests pass. +## Phase 2. Windows feature parity: done ---- +Drivers through the Windows Update Agent instead of a PowerShell module fetched +at runtime as Administrator, restore points, maintenance actions, scheduling on +three systems, diagnostics and reports. `legacy/` is deleted; the Python tool +remains at the `v1.3.0` tag. -## Phase 4 — Background operation +## Phase 3. The app: done -- [x] `odysync daemon` — periodic scan, no install without consent. -- [x] Native notification on updates found; deep-link into the GUI. -- [x] Tray icon (Tauri), "scan now", "quit". -- [ ] Idle/AC-power awareness; never scan on battery by default. -- [ ] Memory target: < 15 MB RSS idle. Measure, don't assume. +Tauri 2 and React over the same engine, dark and light, the reason an update is +held back next to it. -> Windowless execution already works (`CREATE_NO_WINDOW`, no shell), so this -> phase is scheduling and UX, not a rework of process handling. +**3.3 Elevation model: decided, not built.** Store apps must run unelevated and +drivers elevated, and one process cannot do both. Recommended: the app runs +unelevated and starts a short-lived elevated helper per batch, speaking over a +pipe. The alternative is a persistent elevated service, which is more convenient +and a much larger attack surface. Now A6. ---- +## Phase 4. Background operation: done, with two notes -## Phase 5 — Supply chain & hardening +- [x] `odysync daemon`, tray icon, notifications when a background scan finds + something, no scans on battery. +- [x] No console windows from the app (`CREATE_NO_WINDOW`). +- [ ] Under 15 MB resident when idle: the daemon logs its size, nobody has + tracked it. -- [ ] Code-sign Windows binaries (Authenticode) — without this, SmartScreen - flags every release and users are trained to click through warnings. -- [ ] macOS: sign + notarize + staple. -- [ ] Linux: `.deb`, `.rpm`, AppImage; sign the repo metadata. -- [x] `cargo-audit` + `cargo-deny` in CI; fail on known advisories. -- [x] SBOM (CycloneDX) per release. -- [x] Reproducible builds; publish SHA-256 for every artifact. -- [ ] Self-update path that verifies its own signature before applying. +## Phase 5. Supply chain and hardening -> Note the asymmetry worth closing: we verify *other* people's installers but -> ship unsigned ourselves. 5.1 and 5.2 fix that. +- [ ] Code-sign Windows binaries; sign, notarise and staple on macOS: A2. +- [x] `.deb`, `.rpm`, AppImage. [ ] A signed repository for them. +- [x] `cargo audit`, `cargo deny`, SBOM, SHA-256 and provenance attestation for + every release file. +- [ ] Self-update that verifies its own signature: A2. ---- +> The asymmetry worth closing: other people's installers are verified here +> before they run, and Odysync ships unsigned itself. -## Phase 6 — Release v2.0.0 +## Phase 6. Release: done -- [x] Rewrite `README.md` for v2 (it still documents the Python tool). -- [x] Migration note: v1 profiles → v2 config. -- [x] `CHANGELOG.md` + release notes. -- [x] Merge `dev/rust-rewrite` → `main`, tag a release, delete `legacy/`. - Shipped as `v2.1.0` rather than `v2.0.0`. +Shipped as v2.1.0 and, with updates straight from the publisher, as v3.0.0. --- ## Known gaps and honest limitations -Worth stating plainly rather than discovering later: - -1. **Rollback is not general.** winget cannot uninstall-to-previous. What we - have is: a restore point before the batch (Windows), refusing to start a - bad install, and never reinstalling over a working copy. True per-package - rollback would need a vendor-manifest catalog (the option declined in - planning) or filesystem snapshots. **Prevention, not undo.** - -2. **We trust winget's manifest hashes.** winget verifies installer digests - against its own manifest internally, but does not expose them, so - `odysync-verify` cannot independently re-check winget-sourced installers. - `expected_sha256` is plumbed through and unused for that backend today. - Closing this needs either a winget API change or our own catalog. - -3. **Homebrew cannot pin per-invocation.** `brew upgrade ` goes to - the newest formula version; we verify convergence afterwards rather than - pinning up front. Divergence is reported, not prevented. - -4. **`is_elevated()` uses a direct token check on Windows.** Fixed in Phase 2 — - uses `OpenProcessToken` + `GetTokenInformation` via the `windows` crate instead - of shelling out to `net session`. - -5. **Store apps are listed but rarely updatable** from a non-interactive - context; Microsoft increasingly routes these through the Store app itself. - ---- - -## Suggested order - -Phase 2 before Phase 3. Building the GUI first would mean designing screens for -driver updates and maintenance actions that do not exist yet, then redesigning -them once the real data shapes land. Parity first also lets `legacy/` go, which -removes the burden of keeping two implementations alive. - -Phase 5.1 (Windows signing) can run in parallel at any point — it is -procurement and CI work, not engineering, and its lead time is external. +1. **Rollback is not general.** What there is: a restore point before the batch + (Windows), refusing to start a bad install, never reinstalling over a working + copy. Prevention, not undo, until A4. +2. **winget's manifest hashes are trusted.** winget checks installers against + its own manifest and does not expose the digests. +3. **Some managers cannot pin.** Where a tool always installs its newest, the + target is asked again right before and the install is refused if it moved; + the moment in between stays. +4. **Store apps are listed but rarely updatable** without the Store itself. +5. **A hung Windows Update cannot be interrupted.** Odysync stops waiting for it + and says so; Windows may still be working. diff --git a/apps/gui/package-lock.json b/apps/gui/package-lock.json index 16a7d83..d14d820 100644 --- a/apps/gui/package-lock.json +++ b/apps/gui/package-lock.json @@ -13,9 +13,6 @@ "@fontsource-variable/plus-jakarta-sans": "^5.3.0", "@tailwindcss/vite": "^4.3.3", "@tauri-apps/api": "^2", - "@tauri-apps/plugin-dialog": "^2", - "@tauri-apps/plugin-notification": "^2", - "@tauri-apps/plugin-shell": "^2", "lucide-react": "^1.62.0", "react": "^19.2.7", "react-dom": "^19.2.7" @@ -37,14 +34,14 @@ } }, "node_modules/@asamuzakjp/css-color": { - "version": "7.1.5", - "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.1.5.tgz", - "integrity": "sha512-jCpAvj8apa7SKHZYogk0rbXB3Kb0hLFrpkWF+Ap+vBA5rirItnpv9NKyAyEuDuFizvl0qwnj6JWR70RGJ0rOlw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-7.2.0.tgz", + "integrity": "sha512-+JNLVlzePs1XiBT5s9aVkEjOePRoB//tk3bc69BGdzQCz7EICVSQuVPZu6tjc7vAJxBx5fama67LbOltwnXzPQ==", "dev": true, "license": "MIT", "dependencies": { "@csstools/css-calc": "^3.4.3", - "@csstools/css-color-parser": "^4.2.6", + "@csstools/css-color-parser": "^4.2.7", "@csstools/css-parser-algorithms": "^4.0.2", "@csstools/css-tokenizer": "^4.0.2", "lru-cache": "^11.5.3" @@ -54,9 +51,9 @@ } }, "node_modules/@asamuzakjp/dom-selector": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.3.tgz", - "integrity": "sha512-3+777rEPsOOjoy5/sRmIzHnoRDaLpm3XWY2dmWn/N7f/XwDG0bcpnFaKL3X9FYJUbNwLmpcJC1bUYexJRxsFlw==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@asamuzakjp/dom-selector/-/dom-selector-10.0.7.tgz", + "integrity": "sha512-fWUO6pa4z2WBAWbcHsfWIT7SVqjzxi/kqd0M92naZNEcgKO7RQ57IuMTesH5+3bnhO+b41nT6qGYTB8Di4JRUw==", "dev": true, "license": "MIT", "dependencies": { @@ -95,9 +92,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.29.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.10.tgz", - "integrity": "sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==", + "version": "7.29.15", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.15.tgz", + "integrity": "sha512-304gsbbGVmQc+cNGHzwHBlqepYdWLKj3VXCQBGt/EGcV7PUPfKI7kAUNW1FZEOCwlQiLvQjg1JEaAlRQ616h+Q==", "dev": true, "license": "MIT", "engines": { @@ -105,9 +102,9 @@ } }, "node_modules/@bramus/specificity": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.3.tgz", - "integrity": "sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==", + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@bramus/specificity/-/specificity-2.4.4.tgz", + "integrity": "sha512-TRvTbeibL1ORTXe5NbH+9XUZdbjns55AmFfg8BroI1Ge13CqNF58Txg3Zd/+gjUCSh0ROHqJ1qJfnoX2MAxUZg==", "dev": true, "license": "MIT", "dependencies": { @@ -118,9 +115,9 @@ } }, "node_modules/@csstools/color-helpers": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.2.tgz", - "integrity": "sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==", + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-6.1.3.tgz", + "integrity": "sha512-c6CpX5G1pvuOKTXiRFJ54Lzc8zQrZ3qUjp44QC5DJNt1OmA1vmfUxOMCcKdDqsvffVDG0/MHnY63J+Mn0nmdUg==", "dev": true, "funding": [ { @@ -138,9 +135,9 @@ } }, "node_modules/@csstools/css-calc": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", - "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.4.tgz", + "integrity": "sha512-Jwo1Z8DUsZ8xVOLBdLMfhjJFvWD6pqaUTlBNQZ+qIB2i9g7yG8kd/UBJj2c9J9Twr+u87cjy9BjkmfvMbyOk3Q==", "dev": true, "funding": [ { @@ -157,14 +154,14 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-parser-algorithms": "^4.0.3", + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-color-parser": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.6.tgz", - "integrity": "sha512-iiPQ3iRWwnJkeEn6RIu6SJPr7hYrLz6XZ9s/QZl+2/LI5KQVjpl2fdmDSZKuD4xP6GMmMPgHFFXg6k1Wkz0Trg==", + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-4.2.8.tgz", + "integrity": "sha512-JLsKBee9dmnA3L+H+vYK4lQ6n5CoY3yEnh33zdlMutRfrTxtqt+hFeoZ1maHRt5vLw67huDLpOkDb3rl9A51MQ==", "dev": true, "funding": [ { @@ -178,21 +175,21 @@ ], "license": "MIT", "dependencies": { - "@csstools/color-helpers": "^6.1.2", - "@csstools/css-calc": "^3.4.3" + "@csstools/color-helpers": "^6.1.3", + "@csstools/css-calc": "^3.4.4" }, "engines": { "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.2", - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-parser-algorithms": "^4.0.3", + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", - "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.3.tgz", + "integrity": "sha512-EpCfUDaJtwohPHC7egoXxPGT/R1/WyyAhw87MKB/7BPPZvZU+IcEqo4er5FpLnby2Gvwt9Lpxy+WNEDyFjoXtA==", "dev": true, "funding": [ { @@ -209,13 +206,13 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.2" + "@csstools/css-tokenizer": "^4.0.3" } }, "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.15.tgz", - "integrity": "sha512-J0u7HkVl2nzSlhsiTOp4AmwcUQ3D+mGEEKfBy/7To5/y7F2OHwyLrXfrhR0SMgr4p5Lo+eaMVSeai24zUcBIxA==", + "version": "1.1.17", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.17.tgz", + "integrity": "sha512-IPx9W33+t0Yt5TVb+Y7oICrThOIry0TY6GuXfSHOatxA0uiHqbzi98Gai905lpBAX1m/LH7iI96e9jcI7Dkvxw==", "dev": true, "funding": [ { @@ -238,9 +235,9 @@ } }, "node_modules/@csstools/css-tokenizer": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", - "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.3.tgz", + "integrity": "sha512-gdkFe/Z4KU1q8Y5S3GYScXGcOnO56dgWwIs5+97Ij1VIKISItOIUlCXUq4VLbdnRclF+SSQ49sLsn3KeV111AA==", "dev": true, "funding": [ { @@ -257,6 +254,37 @@ "node": ">=20.19.0" } }, + "node_modules/@emnapi/core": { + "version": "2.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-beta.2.tgz", + "integrity": "sha512-MzCVoWtcg4Pm2B3je5mMvYMvj3MmBKw+fU7vbsJc9/iT8ip6/eYIHo/Dsm/mr+wsHB6SEyJDuxB09Yy6r/8+4A==", + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "2.2.0", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "2.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-2.0.0-beta.2.tgz", + "integrity": "sha512-JcrSPzPvZuNZvJqPTF9Fw25LbOJ8avzFVlaf2grmH4Cku0oGP47tRgqPZadcfj3YoZMHkFVnCYFbQM8I+i5QEw==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-2.2.0.tgz", + "integrity": "sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@exodus/bytes": { "version": "1.16.0", "resolved": "https://registry.npmjs.org/@exodus/bytes/-/bytes-1.16.0.tgz", @@ -323,9 +351,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -347,19 +375,40 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.6.tgz", + "integrity": "sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==", + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || 2.0.0-beta.2", + "@emnapi/runtime": "^1.7.1 || 2.0.0-beta.2" + } + }, "node_modules/@oxc-project/types": { - "version": "0.154.0", - "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", - "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", + "version": "0.156.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz", + "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/oxc-project" } }, "node_modules/@oxlint/binding-android-arm-eabi": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.90.0.tgz", - "integrity": "sha512-sgfalb1HuxYjiAa4wESZ626z1FGusqNcXYHyB5oIOEprS2sbPg0UYEfo83uF1GNG70DIfZxHkXuE6KFrlSdn8Q==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.95.0.tgz", + "integrity": "sha512-hJna6w3COWJjfMPxomjZL82klTdrITm56PEpCsfO/xMkzQw/fNtJWauQ/YEwQqVttj0L5vDIa8rCcuhfAE3L4w==", "cpu": [ "arm" ], @@ -374,9 +423,9 @@ } }, "node_modules/@oxlint/binding-android-arm64": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.90.0.tgz", - "integrity": "sha512-RcKhz1ETMq+fazE9TKS2+5NIRGwigm/nW8egqF0LI+A8Yw2iW5r0E/C3XAPRiwIm/vcPiutIRIa6IQCIKhZsTQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.95.0.tgz", + "integrity": "sha512-uAIGZQ9uJVUeogeWOSboI3F7twOuM4mNuZcHXD9+LdYLcWp7J6kbtRUXJ6GVqcs5E0Cjb4emmSBK9FNrkGuhqQ==", "cpu": [ "arm64" ], @@ -391,9 +440,9 @@ } }, "node_modules/@oxlint/binding-darwin-arm64": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.90.0.tgz", - "integrity": "sha512-PSrxMvP6mx+p1karZcUxLdy9lpaP+JWQPti4al9FgTaPhxE+pT/BjhGExloVVSWgZgIfOlLOjVyyq8BXlodhLQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.95.0.tgz", + "integrity": "sha512-Ogh1vfHO5vshKRop/He46r+WqC5BTqonYwhB4fp9e2gvOFvg1Xi6XsHTuM/lBSH85ZcaG+DS99EMAy9GcwDong==", "cpu": [ "arm64" ], @@ -408,9 +457,9 @@ } }, "node_modules/@oxlint/binding-darwin-x64": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.90.0.tgz", - "integrity": "sha512-OLbU9qsrV2Q8QxT2OEzOPdO8zCCpyI8qB+hDI8yr6RsYELtkf0FAZhJdfjM/RnLHKzt44HWwAPnk92vBtKofvw==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.95.0.tgz", + "integrity": "sha512-kTrE1xfpQUBMMS50Ws6KY92N8OsJ8LE6JqxKqkHEY3KdsmguQ6kKVGSjzyt1HLwsSi0fQCvNRog8YRBBovD1AA==", "cpu": [ "x64" ], @@ -425,9 +474,9 @@ } }, "node_modules/@oxlint/binding-freebsd-x64": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.90.0.tgz", - "integrity": "sha512-fBA4pWyVDARmNucQqpyFuPC49xYf1r+sX7dxPL5fNPQrSMLum39Sn56tZ9JPleWC7FzLPwSQ7plYYfirYBHF8A==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.95.0.tgz", + "integrity": "sha512-ho7E1VCInK0VnpneRaI1BEpe1ceJE8VjxP2O9THWdReV6bth1Q4+80kYVGGK47mHRyZ2NGztQZ2dWRo6j1lavA==", "cpu": [ "x64" ], @@ -442,9 +491,9 @@ } }, "node_modules/@oxlint/binding-linux-arm-gnueabihf": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.90.0.tgz", - "integrity": "sha512-zhxH78eP2nR6/pGdhBc7MIfjhhcgATeu8fkmkFJbuzfk6Cj0FzBxyEhL85yDqrCybjx+G2YDzZGsxIO9kvO4Iw==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.95.0.tgz", + "integrity": "sha512-94afnouMHcnHr/OtRh07gG5LehC9M0GjiSoik3xxTtrmq6cWxXOTAhYlBtxa67u/GlycbnHlDoGJfYlTshcr/w==", "cpu": [ "arm" ], @@ -459,9 +508,9 @@ } }, "node_modules/@oxlint/binding-linux-arm-musleabihf": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.90.0.tgz", - "integrity": "sha512-MvYmpHyJqUJjEvkZbJHdwfdL45cGn8EVBkYmoXFiaYFW9suoD3dbJl5mBdpy0DVgdjlyddmldbRtk3cCgETadQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.95.0.tgz", + "integrity": "sha512-LEeclqV1/fafxPgJWN21Bri6HBBBZpEFluq/ZH7Avvu9HjJh/XOn6WwogJqX9X7pG2aITZ2nRH39+sUKEQt2WA==", "cpu": [ "arm" ], @@ -476,9 +525,9 @@ } }, "node_modules/@oxlint/binding-linux-arm64-gnu": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.90.0.tgz", - "integrity": "sha512-L13Sy+Kg0nZhwTsToniqjUFPA2TuM6962qCZ5Wp5KeB517Tw7ApdLTTtlb+bF86fcZZa2EtvCVvAJxk4Dya/MQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.95.0.tgz", + "integrity": "sha512-EpXpEQKmgtkvc6RyU84LM1e3CrVDWQkgghVzf1hMGgwjBzgKAJ/QntHgnzmu5cNeLBfa7GPCY+gGXxEll8Adcg==", "cpu": [ "arm64" ], @@ -496,9 +545,9 @@ } }, "node_modules/@oxlint/binding-linux-arm64-musl": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.90.0.tgz", - "integrity": "sha512-wFDdZWGpzIPFdJFjSLWnKB0TGzFriTKUIrl04iMqMyM9BBIJTuerfCHYa0WpDSjr5x3lcW/CHLyacSt886WpGg==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.95.0.tgz", + "integrity": "sha512-+96Md8c2BAgFp8nWHrUrpqba87DoU+HVJYIun6qA+QKFoeNd3xAWq1JYE6da4nVli9GgwRpfncfRePcgmQQaIQ==", "cpu": [ "arm64" ], @@ -516,9 +565,9 @@ } }, "node_modules/@oxlint/binding-linux-ppc64-gnu": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.90.0.tgz", - "integrity": "sha512-FRywfn+MoKn8xpBSzgNwNVliSKRI2QXkxi/iF7o6FEQs8Bh8z2RpVTaFAcO3pchXjvB2eGNFIoLLQABIQ+u7VA==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.95.0.tgz", + "integrity": "sha512-6yG99vsXct3Uv536w6Z1s03w2makRKnE0q3eJSmf+W/IwPmO56QLk8XUA6ebu/R5peCbJ67HmcWqACH+kg/6Bg==", "cpu": [ "ppc64" ], @@ -536,9 +585,9 @@ } }, "node_modules/@oxlint/binding-linux-riscv64-gnu": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.90.0.tgz", - "integrity": "sha512-IS2PaUgpc/qeLADTyhUNmdx3x4ijs9pjJdPKBYHaT+mAE7k3FsjnHPTjhpsak1b++h6CIPhv6WX9Z+y7Pw0voQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.95.0.tgz", + "integrity": "sha512-Eir0Z4ldh55AsQUqVDlLF4Pw3lSFXIdAl8ZNgU8tp/gTwT9JVCzWY0o3+ys9pCcpTN0vCqBwwuQfAUxzbIgvcQ==", "cpu": [ "riscv64" ], @@ -556,9 +605,9 @@ } }, "node_modules/@oxlint/binding-linux-riscv64-musl": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.90.0.tgz", - "integrity": "sha512-s7JFKRkGS8O7i2ZVODfuO++NC7sH6HDqpMn8lYxw91w0SXJOxnAVjQ8utvmDwLMMT0jaSkuOKuUYJDGDtu4sHQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.95.0.tgz", + "integrity": "sha512-ceRx+K2WJ7C3tIv+XjZS28oAoZ7DY29ZcWChPdXG5M100phI72FRDYwGRlWZEeDfmkROnarLTMKnnrQAtsC42Q==", "cpu": [ "riscv64" ], @@ -576,9 +625,9 @@ } }, "node_modules/@oxlint/binding-linux-s390x-gnu": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.90.0.tgz", - "integrity": "sha512-b0GxrOQr5VONCkd7KLSqmP6b6nqZuTpuS8QPQHzltmqdXP5bY0Jl0CZ0QmlCTrS3ExaLYbioFYOARzNbYvcApQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.95.0.tgz", + "integrity": "sha512-WbD3sM08ZDk2QE6060wK/omihQKbRm+LVzKIg4W5zNTbEhYJChciqX49UZuqW59RGF+wBUxzAup7egUIESTjUA==", "cpu": [ "s390x" ], @@ -596,9 +645,9 @@ } }, "node_modules/@oxlint/binding-linux-x64-gnu": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.90.0.tgz", - "integrity": "sha512-iaJeShJtgUp8rZbt9YUdTAGOpmX5KogCLba17Jp1tWdJ3F4M3D2g2TKUyI1FMTHxKH9NNHuQcuC2kZRg6IV7yQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.95.0.tgz", + "integrity": "sha512-F4ST2ZkFIiLL9OKyRCyC0KQQpwM5WIv0GTcMiZuYVa6xSRJHR05iVRqst+arOVudEPkhP47EnbuoC9UfVCYDyg==", "cpu": [ "x64" ], @@ -616,9 +665,9 @@ } }, "node_modules/@oxlint/binding-linux-x64-musl": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.90.0.tgz", - "integrity": "sha512-/aZoXnL5WBLCXuzfHqvEFXcm4iwYmr/cYByHDTXzLFzJdE5DC7bm6phpWqHv6BeqpVgY9IpBAxGDv2WEkl5JCg==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.95.0.tgz", + "integrity": "sha512-hEpYDZatpuxLrWlTlkwhHZ1e8QkL02aFS55BPQX1XA9iOd+yUEADGFF1iY6z+xkw6RkpzXFrtnDFe4/JNOLSRA==", "cpu": [ "x64" ], @@ -636,9 +685,9 @@ } }, "node_modules/@oxlint/binding-openharmony-arm64": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.90.0.tgz", - "integrity": "sha512-SMhk7ozwoxYDKfYqGZCQEfULOKDneF9uhaoIf2neoDLWvNtjY9yVeL7YHmE5L9WdKvMpWNwwZxhenxBu6AgfOg==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.95.0.tgz", + "integrity": "sha512-+JwIH9/uLgQXfxBvOAKzvp616m5i0fBR5ELEBHm5D+++fStBZ+74T7YW4xBpX13zNU2blr52Swoe3GTF1JyqRg==", "cpu": [ "arm64" ], @@ -653,9 +702,9 @@ } }, "node_modules/@oxlint/binding-win32-arm64-msvc": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.90.0.tgz", - "integrity": "sha512-KBvR3A9fO7fCi2vCP8ifWvlia7tGEQV9NaYh+IGwa/7Groy48Mt/UaYqMK9/zOtAWl20BUCf6RPqzJ32fRw33Q==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.95.0.tgz", + "integrity": "sha512-pzJgcp3WkOSchukg5y5pn5mVIQ6P83RDI79YJ9gQZKed1pOgjhrmlc5AMizjuq6/P8VifhxzBsMqYI6LLjO2TA==", "cpu": [ "arm64" ], @@ -670,9 +719,9 @@ } }, "node_modules/@oxlint/binding-win32-ia32-msvc": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.90.0.tgz", - "integrity": "sha512-+x42rDHQGbTCuT3EzpWAzhP3NoVPE/cJsG4gnrakOSg0olV+GCdMpPU23Nvrl3zZMnXxFZdTtDv4D3SuaA5ZeQ==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.95.0.tgz", + "integrity": "sha512-54MeQvLRXkJqF1nEFs7wb73SrnurZJQy9fVK4NdEwumNKVwyUUxpGHhvfDMIY2NqJZS7kz0pY9uVty5664Gt1Q==", "cpu": [ "ia32" ], @@ -687,9 +736,9 @@ } }, "node_modules/@oxlint/binding-win32-x64-msvc": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.90.0.tgz", - "integrity": "sha512-30JiaFEBUB9peEOcvVM8ggo88SoN/IdSr9DW505JdBji/R6dM66gKEiG65hw6qcaF2f4mO0cEJ+RwRZprmun9g==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.95.0.tgz", + "integrity": "sha512-I/Fn+Fed1qzb1k2uRjMe2VRtRN1+ZObyU+E76B6v/Ul3Z6JdeAW5zBHSe0n5d8a0ZyU4iorzVy0Rw9LYgo3MSQ==", "cpu": [ "x64" ], @@ -704,9 +753,9 @@ } }, "node_modules/@rolldown/binding-android-arm-eabi": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.14.tgz", - "integrity": "sha512-aWR+XKH9+rW7m5fWq/5360J3mHycrx/o6xZM2DQFdJnTMdyP7/WzxPjhtLbVWdKo2y612/4U1bWqb3HQhiF7vg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.19.tgz", + "integrity": "sha512-e+Ebe0WT+9tbXmNKPIiC8YrWAHYwug3m6i4p3rZGGulfZri1jtI4HslT+OZnFf/OIHowWF71DTlHwXBP2SiA7A==", "cpu": [ "arm" ], @@ -720,9 +769,9 @@ } }, "node_modules/@rolldown/binding-android-arm64": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.14.tgz", - "integrity": "sha512-QiVxHofl6A8lQU7WAtOUY4QMVZXohxwz7WJJoeh8NBEUyKfIkMRKhYyq8az/1RypNiIXzNTtiS6KwHz0erxYRQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.19.tgz", + "integrity": "sha512-hOombrTJ+szt2ciEzS7oCA78lMPBgF5UMQWCJIyNfnrI7GLl8HYoFqCnpL2gcPOaXMqryGCU5ExdQKyDDcC+yA==", "cpu": [ "arm64" ], @@ -736,9 +785,9 @@ } }, "node_modules/@rolldown/binding-darwin-arm64": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.14.tgz", - "integrity": "sha512-lTQOzHuBIooh3jIr5XINQkjPGEuGy+Dsy0meXDr6Sjty0b99kYgGh4uBC/8mJX1T0kC8d6S0aPP1Y+bHkh6aBw==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.19.tgz", + "integrity": "sha512-XoMA2pwCKGTQzUjPgtRwkedH4WmXhdIPKT6l6oOxd1PUbNodGI6DcBekgN7EC//+x3pfBYX/qL1gNmZAqivw5g==", "cpu": [ "arm64" ], @@ -752,9 +801,9 @@ } }, "node_modules/@rolldown/binding-darwin-x64": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.14.tgz", - "integrity": "sha512-hyMKEGatjmBYCs/Q4sbIcL/GqpFEqsX3wc+HYVQ/85A4rxc1o7rPm4DUI4GV4k/h0ITddwFSGpqQunI14GXjTA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.19.tgz", + "integrity": "sha512-zo8EsSSwMZCY/e+fRnGaX02YGgvJD0yvhNi/9hpGPA2MJ9ZF8dPCw75UGfpI6OpQ/myR/dIYmogRvqiZD0TrXg==", "cpu": [ "x64" ], @@ -768,9 +817,9 @@ } }, "node_modules/@rolldown/binding-freebsd-x64": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.14.tgz", - "integrity": "sha512-u371GbXoVXrEgP20PwzoGNOdAOqAMhzo19JzzY+V4YmmnC+DTOoqdbMu+O+54emM59Mik/UdrtWgcuEDKWRPKA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.19.tgz", + "integrity": "sha512-O8ISAOfI1nj7AuBPd30FSF47z7f7lzlk5poQVGgiikvQuGEBFYvW8ki+UEnT+YJPnNGjQzn304klt4O9FUE7mA==", "cpu": [ "x64" ], @@ -784,9 +833,9 @@ } }, "node_modules/@rolldown/binding-linux-arm-gnueabihf": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.14.tgz", - "integrity": "sha512-BqwKsdZQf6EqVWr8fv2MrDYzAvOZ7+NYFSJESRGs87fkseEhs0TU9TXgRJTkZoRRkxTizyEg1LKUXfU3/78uqg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.19.tgz", + "integrity": "sha512-/lYCba5NO0yq4S0jGMH8QTBtkvQxoXjoQWzF5BcWp9MjB9jxVRD1GQDNofkVjcOj30DWyhLIN/4Oe60JKzaONw==", "cpu": [ "arm" ], @@ -800,9 +849,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-gnu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.14.tgz", - "integrity": "sha512-SD9kY8M009x/7s57Z1dgUVlP5+uYBgKQK0Tkr1WIWngrtUJmRCW1RJFMY7QDla2khXhmg2i5Io7MUjcmZNZ/KQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.19.tgz", + "integrity": "sha512-pm/apFMBnSbFb3O6nG5pHO1iqHhZrjGDFEjSm+ot9J17XXPvH9L90y5h+jgfHCE+Qdlsvy8qKEcU4VKxgjD+vA==", "cpu": [ "arm64" ], @@ -819,9 +868,9 @@ } }, "node_modules/@rolldown/binding-linux-arm64-musl": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.14.tgz", - "integrity": "sha512-BJ2CL19M6uuWesMgnqJzgxoI+N+eV7b0A9O9vLV42y+gitC41fNa8KElau1tHVzuLWX5GzEuxMPhAO0tQXQMkg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.19.tgz", + "integrity": "sha512-K1SmQp3FFichn8oqrNIwvFoZ5wcvjC7goBzpaMNvLf9FZc+QB/QvLmnpJZgAAGHiD980tP8FZZnXk2K94rvlxg==", "cpu": [ "arm64" ], @@ -838,9 +887,9 @@ } }, "node_modules/@rolldown/binding-linux-ppc64-gnu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.14.tgz", - "integrity": "sha512-4+Kl8daPV8NDHaD7mfCcc1pRM+Qg7ab8DyMm5FG5WoZgv4h2i3KFN1CybYBNbQqmuYm7ftJLvmMI1eHYJ22S/Q==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.19.tgz", + "integrity": "sha512-I0xwD57jP/3A7+5UPZin2w8Y7XHEmEM5zqpYZOcQ45MlNW6tUJUziymV3yRr7rL4vwyfEcRsRksC4a7Kc08p5Q==", "cpu": [ "ppc64" ], @@ -857,9 +906,9 @@ } }, "node_modules/@rolldown/binding-linux-s390x-gnu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.14.tgz", - "integrity": "sha512-V/h8ePq1fKDrmtFMz6xcCN3DKvuvMRrwwD1q0PkBeeo4DpK64biaKvqWGVxqCeYKqeRk7gE7/iKPxLCn08O97A==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.19.tgz", + "integrity": "sha512-BrtEHT24SNXj9HiXqy+s/kXiSiQGt6EKCPUlRirAoIioVxKGnbXBUEkbZASAei7iZJB0/Ynm+0JP00Ipx7AnSw==", "cpu": [ "s390x" ], @@ -876,9 +925,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.14.tgz", - "integrity": "sha512-WxalXzgrLVpKC93xfpaJ3gCXUWzeCr+FRCbDVD2mUAy4L6Vo3lNVz0epUEUpxPWJkLNYUwM4OSIikv36OJ9mLg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.19.tgz", + "integrity": "sha512-rm75/9DkHKeU2WnA8w4X94WGYgLlDCFCfkQC+4bguVJmC/jvDRv2B+2wLOYhyE0fVuv7//Ckk39OoOufyCu76Q==", "cpu": [ "x64" ], @@ -895,9 +944,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.14.tgz", - "integrity": "sha512-3G3tnAmTpdk9jO3GQtyHXqeFD2SlecfTws/Y3M2mmj9nMBwwuLT4kur8sZKeu7ENUHSpVO3cIsm5A52LEWWwlg==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.19.tgz", + "integrity": "sha512-irh/4+iYFM4GAzpluDErgjz89bj6NDtqqMAG/6O1LG38Ed3NpyebzCpcVNkFW8uhy+/3/BocUvnXDR33CXWe9A==", "cpu": [ "x64" ], @@ -914,9 +963,9 @@ } }, "node_modules/@rolldown/binding-openharmony-arm64": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.14.tgz", - "integrity": "sha512-qyr5XiNGxm2ytx17vvtcJ9nXn6v1gENETi503bJx3OGwZ1tSonj7BosxbMa/xeAfSl5iS9X6KjEWYXLu6v1L7Q==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.19.tgz", + "integrity": "sha512-+KWTWNoPt+CfSq94CiceWu3yPE+QzkaG+phPyz9G60tmZLwfQkcA4AeksafzvJAw4pvg1mcd5a1TkUqVv0s4JA==", "cpu": [ "arm64" ], @@ -929,10 +978,28 @@ "node": "^20.19.0 || >=22.12.0" } }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.2.19.tgz", + "integrity": "sha512-7EH+skOsl5qpWnK0vzamgJFhOv1cwxQpsxm8tI883K9fur5c27p8q87fzEO6BbBPabA2/+s/zR63/pLc137iOg==", + "cpu": [ + "wasm32" + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "2.0.0-beta.2", + "@emnapi/runtime": "2.0.0-beta.2", + "@napi-rs/wasm-runtime": "1.2.6" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + } + }, "node_modules/@rolldown/binding-win32-arm64-msvc": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.14.tgz", - "integrity": "sha512-oA4o5o0S2yB199YyYXDzKUv1Z56Rc+mgOjwm7Z/vJ9Z8igiDPYvoOuDyo6g7AK/ZaF09nPhDKVnGBcYHO11GXA==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.19.tgz", + "integrity": "sha512-3Q1Yg1Q7tEvBWoZf5rFvG/GKZQPgwfru+p4wBajDfJFBs0SHCpL++dfTjW9gyAKd1T7ZpIYvdaUax7Pa/IhFVQ==", "cpu": [ "arm64" ], @@ -946,9 +1013,9 @@ } }, "node_modules/@rolldown/binding-win32-x64-msvc": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.14.tgz", - "integrity": "sha512-9mE94bf2GZUaR/fUSXCMpBoWkctu421Mi0ORpm4zqfbkjKep7RxzPFa5etcGs5h+2KApoWBOA/hAJa/7saGgEQ==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.19.tgz", + "integrity": "sha512-y/sqRRc6d7hECzOFc5n3LSeqctmIp9mMjY1Kq4s14uLPd/LZ4z7i1zrW6fMtp2mPeuQIC4e6ULMcwQzMomqQag==", "cpu": [ "x64" ], @@ -962,314 +1029,53 @@ } }, "node_modules/@rolldown/pluginutils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", - "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.1.1.tgz", + "integrity": "sha512-glFIJDvLNDtJhT9qrMFWLPbvS+skxgt4L0K8Ei2YtnhPysAJnsI7nyxSJxKj4ADeKX0OLjC4ntRkwpLOoS3rwA==", "license": "MIT" }, "node_modules/@tailwindcss/node": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", - "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.5.tgz", + "integrity": "sha512-yT53FzV4ke0cr/BguDxhWMpm5MJu1O2muzk+tKw6lKHjODAsYArBbWwFbJiaksfzFv1tpkO9QHGzmfs1hJT66g==", "license": "MIT", "dependencies": { "@jridgewell/remapping": "^2.3.5", - "enhanced-resolve": "^5.24.1", + "enhanced-resolve": "^5.24.5", "jiti": "^2.7.0", - "lightningcss": "1.32.0", - "magic-string": "^0.30.21", + "lightningcss": "1.33.0", + "magic-string": "^1.1.0", "source-map-js": "^1.2.1", - "tailwindcss": "4.3.3" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", - "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", - "license": "MPL-2.0", - "dependencies": { - "detect-libc": "^2.0.3" - }, - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - }, - "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" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-android-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", - "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-arm64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", - "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-darwin-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", - "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-freebsd-x64": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", - "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm-gnueabihf": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", - "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", - "cpu": [ - "arm" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", - "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", - "cpu": [ - "arm64" - ], - "libc": [ - "glibc" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-arm64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", - "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", - "cpu": [ - "arm64" - ], - "libc": [ - "musl" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-gnu": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", - "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", - "cpu": [ - "x64" - ], - "libc": [ - "glibc" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-linux-x64-musl": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", - "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", - "cpu": [ - "x64" - ], - "libc": [ - "musl" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-arm64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", - "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", - "cpu": [ - "arm64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@tailwindcss/node/node_modules/lightningcss-win32-x64-msvc": { - "version": "1.32.0", - "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", - "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", - "cpu": [ - "x64" - ], - "license": "MPL-2.0", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 12.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" + "tailwindcss": "4.3.5" } }, "node_modules/@tailwindcss/oxide": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", - "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.5.tgz", + "integrity": "sha512-PynqGLZsZvwM9tqD/CUxkOIfyd6K5elZ2MooauzJryP/UqXYgi3yYbtt3N0Xe+MHV/eFKPFQCEfIKAqlAS1CBg==", "license": "MIT", "engines": { "node": ">= 20" }, "optionalDependencies": { - "@tailwindcss/oxide-android-arm64": "4.3.3", - "@tailwindcss/oxide-darwin-arm64": "4.3.3", - "@tailwindcss/oxide-darwin-x64": "4.3.3", - "@tailwindcss/oxide-freebsd-x64": "4.3.3", - "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", - "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", - "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", - "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", - "@tailwindcss/oxide-linux-x64-musl": "4.3.3", - "@tailwindcss/oxide-wasm32-wasi": "4.3.3", - "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", - "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" + "@tailwindcss/oxide-android-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-arm64": "4.3.5", + "@tailwindcss/oxide-darwin-x64": "4.3.5", + "@tailwindcss/oxide-freebsd-x64": "4.3.5", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.5", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.5", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.5", + "@tailwindcss/oxide-linux-x64-musl": "4.3.5", + "@tailwindcss/oxide-wasm32-wasi": "4.3.5", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.5", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.5" } }, "node_modules/@tailwindcss/oxide-android-arm64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", - "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.5.tgz", + "integrity": "sha512-Se0z5xMqcSQanJD1IYmO0cGpK3iv0fp3ZsIT7xRJZ1Da5PghvNoc46zz4jIQn+aan3dV9T8AermFNN9QPmsh0Q==", "cpu": [ "arm64" ], @@ -1283,9 +1089,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-arm64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", - "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.5.tgz", + "integrity": "sha512-UPrgTDuUbvmqGMZuCnmI3FKee/tYKzKdp00/kuB4oSGB213VYg8QTdF7lVhnPoBXq/mIfJ+ILoBFqNOboWcMwQ==", "cpu": [ "arm64" ], @@ -1299,9 +1105,9 @@ } }, "node_modules/@tailwindcss/oxide-darwin-x64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", - "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.5.tgz", + "integrity": "sha512-E+p7HEtjI0b8D7kbbWxH067cGui6d4c79COGko9fAPVE3rwc1E7ld2HFCbaG86AOGWS5VKQYqZOaf38ya4uxTQ==", "cpu": [ "x64" ], @@ -1315,9 +1121,9 @@ } }, "node_modules/@tailwindcss/oxide-freebsd-x64": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", - "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.5.tgz", + "integrity": "sha512-yWEWcWyAG7rWOcTpJTjdhQ3pcaFY2h+0bqTRfgU3G2fz87ZU3AKdvdZKhslD+kyHnjBUWKvNdRYwIYC5dI1tIg==", "cpu": [ "x64" ], @@ -1331,9 +1137,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", - "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.5.tgz", + "integrity": "sha512-WmeVjtJhZlr+smpqcdR2kQkkn6arHIJnUIBxTO2EJcTLGY1ecVXNo2hbSn8xc0IH2aEtys936iMWKGyj0GaKnA==", "cpu": [ "arm" ], @@ -1347,9 +1153,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", - "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.5.tgz", + "integrity": "sha512-DTCSyucc6ShMp1QMqV5R94Z7xlgNgUzkGmFF1rL5HH2Qjy4eSmEqy+YLGkqqYvWa4sILtgrBt1JjRKbneQtiFQ==", "cpu": [ "arm64" ], @@ -1366,9 +1172,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-arm64-musl": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", - "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.5.tgz", + "integrity": "sha512-H9lsvO4x9E4nE4Hi8h7NHHw0O/kcVSu+iOyFHNGdYzazGgDjFHZbE6S3hQ8kMcbNXSBlMdNi67LV5EVqtpaJtw==", "cpu": [ "arm64" ], @@ -1385,9 +1191,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", - "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.5.tgz", + "integrity": "sha512-4uxQvtBvPuIdl13WfUBj9xMZHH14PtHZ8OZdtLmdyDtG66sCa1t599NZT+jagkUzRtWhuul1qRZQ1nAJscXN5g==", "cpu": [ "x64" ], @@ -1404,9 +1210,9 @@ } }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", - "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.5.tgz", + "integrity": "sha512-0JQAzs7jwbA7O6+z/adU+Jk3AXwsu3npAhtr5escXS7TqEqWcaDV7qHuI+0Vy/KQRuVGnLQREcSJWYauyV3oqg==", "cpu": [ "x64" ], @@ -1423,9 +1229,9 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", - "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.5.tgz", + "integrity": "sha512-OJhFmlEfdzMr+avACdi40RPtnkW0B6hXyxL/8r+tnEHBWZji36CYRjEXrrvgBmaYsD3oEOBqwYFRKsYvzFe7Bw==", "bundleDependencies": [ "@napi-rs/wasm-runtime", "@emnapi/core", @@ -1434,35 +1240,32 @@ "@emnapi/wasi-threads", "tslib" ], - "cpu": [ - "wasm32" - ], "license": "MIT", "optional": true, "dependencies": { - "@emnapi/core": "^1.11.1", - "@emnapi/runtime": "^1.11.1", - "@emnapi/wasi-threads": "^1.2.2", - "@napi-rs/wasm-runtime": "^1.1.4", - "@tybys/wasm-util": "^0.10.2", + "@emnapi/core": "^1.11.3", + "@emnapi/runtime": "^1.11.3", + "@emnapi/wasi-threads": "^1.2.3", + "@napi-rs/wasm-runtime": "^1.2.2", + "@tybys/wasm-util": "^0.10.3", "tslib": "^2.8.1" }, "engines": { - "node": ">=14.0.0" + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": { - "version": "1.11.1", + "version": "1.11.3", "inBundle": true, "license": "MIT", "optional": true, "dependencies": { - "@emnapi/wasi-threads": "1.2.2", + "@emnapi/wasi-threads": "1.2.3", "tslib": "^2.4.0" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": { - "version": "1.11.1", + "version": "1.11.3", "inBundle": true, "license": "MIT", "optional": true, @@ -1471,7 +1274,7 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": { - "version": "1.2.2", + "version": "1.2.3", "inBundle": true, "license": "MIT", "optional": true, @@ -1480,24 +1283,27 @@ } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": { - "version": "1.1.4", + "version": "1.2.2", "inBundle": true, "license": "MIT", "optional": true, "dependencies": { - "@tybys/wasm-util": "^0.10.1" + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/Brooooooklyn" }, "peerDependencies": { - "@emnapi/core": "^1.7.1", - "@emnapi/runtime": "^1.7.1" + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.3", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.3" } }, "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": { - "version": "0.10.2", + "version": "0.10.3", "inBundle": true, "license": "MIT", "optional": true, @@ -1512,9 +1318,9 @@ "optional": true }, "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", - "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.5.tgz", + "integrity": "sha512-9o8jgthi+QE5eandnboiJT64VQfnIArfZzSTdgbhEK5aafdiu2jTW9Honi/mwYHxBZuH1vAC57IFyrh+0iK5Gg==", "cpu": [ "arm64" ], @@ -1528,9 +1334,9 @@ } }, "node_modules/@tailwindcss/oxide-win32-x64-msvc": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", - "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.5.tgz", + "integrity": "sha512-XiKFfIy1RWe7qK4WqByxNW7Oz1/nkOy8o/BWhHminyV1PmpUd8Eedj5v2A8h2kpqeVlz6xRnwk9Fr/ZXNLcZfg==", "cpu": [ "x64" ], @@ -1544,23 +1350,23 @@ } }, "node_modules/@tailwindcss/vite": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", - "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.5.tgz", + "integrity": "sha512-BCNiY0a1ZjdOHVqw7kyb7U72BwfMF3dfUuN+tQsLWky/J5JOI/r7abibglXfygrZhVO/3u3V+E25kkKTeMkXaQ==", "license": "MIT", "dependencies": { - "@tailwindcss/node": "4.3.3", - "@tailwindcss/oxide": "4.3.3", - "tailwindcss": "4.3.3" + "@tailwindcss/node": "4.3.5", + "@tailwindcss/oxide": "4.3.5", + "tailwindcss": "4.3.5" }, "peerDependencies": { "vite": "^5.2.0 || ^6 || ^7 || ^8" } }, "node_modules/@tauri-apps/api": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.4.tgz", - "integrity": "sha512-pVmfis+4zT8H0Qhp3xPZx9Ju7kpzvA6rr/PSJPyuwfvucTQ8sVt61NYU9KMkK703UFlYadFmjKA4HhybOtN0gg==", + "version": "2.12.5", + "resolved": "https://registry.npmjs.org/@tauri-apps/api/-/api-2.12.5.tgz", + "integrity": "sha512-G9QIMt5fzED+aS4QhVK3w1HWLKpLIwH/MnpCr9z1ugGEHnS2ORmqrLkc0uALOjRK4qXJy+4Yiw8LDl/KicC1Hg==", "license": "Apache-2.0 OR MIT", "funding": { "type": "opencollective", @@ -1568,9 +1374,9 @@ } }, "node_modules/@tauri-apps/cli": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.4.tgz", - "integrity": "sha512-JI9bHfudSRJikGOrjbXEm6RjzzvmKuLc+JixB1NE8hNzQkNlCCIC3pTES3uypkR9lxHrsbxzcnSwhI2IxBQphw==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli/-/cli-2.12.6.tgz", + "integrity": "sha512-/cOeQgqq8PBDPODOjjT0YHs4qxKCHcQMWMiBm4rLM3JNr9mZE+PHNKOK4zAkhIUtYMNL/0fweW48VNvzD1AbqA==", "dev": true, "license": "Apache-2.0 OR MIT", "bin": { @@ -1584,23 +1390,23 @@ "url": "https://opencollective.com/tauri" }, "optionalDependencies": { - "@tauri-apps/cli-darwin-arm64": "2.12.4", - "@tauri-apps/cli-darwin-x64": "2.12.4", - "@tauri-apps/cli-linux-arm-gnueabihf": "2.12.4", - "@tauri-apps/cli-linux-arm64-gnu": "2.12.4", - "@tauri-apps/cli-linux-arm64-musl": "2.12.4", - "@tauri-apps/cli-linux-riscv64-gnu": "2.12.4", - "@tauri-apps/cli-linux-x64-gnu": "2.12.4", - "@tauri-apps/cli-linux-x64-musl": "2.12.4", - "@tauri-apps/cli-win32-arm64-msvc": "2.12.4", - "@tauri-apps/cli-win32-ia32-msvc": "2.12.4", - "@tauri-apps/cli-win32-x64-msvc": "2.12.4" + "@tauri-apps/cli-darwin-arm64": "2.12.6", + "@tauri-apps/cli-darwin-x64": "2.12.6", + "@tauri-apps/cli-linux-arm-gnueabihf": "2.12.6", + "@tauri-apps/cli-linux-arm64-gnu": "2.12.6", + "@tauri-apps/cli-linux-arm64-musl": "2.12.6", + "@tauri-apps/cli-linux-riscv64-gnu": "2.12.6", + "@tauri-apps/cli-linux-x64-gnu": "2.12.6", + "@tauri-apps/cli-linux-x64-musl": "2.12.6", + "@tauri-apps/cli-win32-arm64-msvc": "2.12.6", + "@tauri-apps/cli-win32-ia32-msvc": "2.12.6", + "@tauri-apps/cli-win32-x64-msvc": "2.12.6" } }, "node_modules/@tauri-apps/cli-darwin-arm64": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.4.tgz", - "integrity": "sha512-OxqKSckIkoJ6vX2AjifIJpTasFC0Hbdoo7gEiCmAjauABO3U8m2MRsLWe+QTiBwDx1mIrvgA+rvI7tvDnbnHVg==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-arm64/-/cli-darwin-arm64-2.12.6.tgz", + "integrity": "sha512-Uokwk1hFfJoG54+kD8iU0St33jAIkNvojnjEfBZ6UbL5rnM10AiFwUS/2DHTJ9R4/Kba4U44v7djfMuWFTQgeg==", "cpu": [ "arm64" ], @@ -1615,9 +1421,9 @@ } }, "node_modules/@tauri-apps/cli-darwin-x64": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.4.tgz", - "integrity": "sha512-fz76/77wMMJOaaUN6n3CybRG0P/MTEjjqYk81mGPyhi9m6Ue5T+LWBnJP/AkPooNatBPI2vtulGqomyMJ44lCQ==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-darwin-x64/-/cli-darwin-x64-2.12.6.tgz", + "integrity": "sha512-WhahqzcyHCpCzh4Taf0ZbBm6nGkvuOSh5ffrgOO7EdYaYe+RBQK8LOlFu+bbjul5v9cdLDi3kco+0+7IlZtTVA==", "cpu": [ "x64" ], @@ -1632,9 +1438,9 @@ } }, "node_modules/@tauri-apps/cli-linux-arm-gnueabihf": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.4.tgz", - "integrity": "sha512-K0w8Bof6Lt8QKLAYhRy0yy36ZH5iA/35VuSOvnxyjvCUZ+A3JKsUTlALviH/sVgAlisaPzzmeJSH8XOn4Q2HBA==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm-gnueabihf/-/cli-linux-arm-gnueabihf-2.12.6.tgz", + "integrity": "sha512-GB6weN+iFHxiFZ9SOKW6fINis7gnxohoOldR7sryBe7uaavkFGaMCa0yQs5njeXPWvzlE9WTQ13z8oDjmqK+Ww==", "cpu": [ "arm" ], @@ -1649,9 +1455,9 @@ } }, "node_modules/@tauri-apps/cli-linux-arm64-gnu": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.4.tgz", - "integrity": "sha512-j5rOnjmRUwWrm1oosf0zBYl4D+fqydgUROFCk0hvKZxvbTT8SOERes0QB7rBV/XWNy+kM6pCKzb3oSm2sRglzg==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-gnu/-/cli-linux-arm64-gnu-2.12.6.tgz", + "integrity": "sha512-mdHoUFYKfztUtPKE0C2hhGkEo7j6swXjg+5yRRKSD7A2gLkRPQFIXWD/DAYhiJdeAkyA8MCP6nvvKvg/4YryWQ==", "cpu": [ "arm64" ], @@ -1669,9 +1475,9 @@ } }, "node_modules/@tauri-apps/cli-linux-arm64-musl": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.4.tgz", - "integrity": "sha512-aOue3Fy6Jb7+oWcfAVUsVHfeTybSCt2CZoU06aO4jv4d2Ks/KnaTPwMAK3CLEduGOvBLY1lbBBrIyomqLLH5Sg==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.12.6.tgz", + "integrity": "sha512-2BxB+9a3JRN0eJ0t0qGe8IKJfgBLOZDE8a499OXH+yg4J9bMpSK1oHXBxnHuSHFWhby4QnQ/t+sBf7tRC0UZeA==", "cpu": [ "arm64" ], @@ -1689,9 +1495,9 @@ } }, "node_modules/@tauri-apps/cli-linux-riscv64-gnu": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.4.tgz", - "integrity": "sha512-Fx6GShY/RvST+t6LMlTHAwd66+1tEaAAGrnU7cysVfaiRP1BKng5Vl6rVmO6rSLOA1Sp1dRzNYM4f0OWQGb7qA==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-riscv64-gnu/-/cli-linux-riscv64-gnu-2.12.6.tgz", + "integrity": "sha512-sb58RsNHex9QVqHdN1cf9MMlamUWAtk1NzuxTZalUnBUHfblIbe71hfmdI6whDZ84MufgOdeg/bzvhrbZS1r0w==", "cpu": [ "riscv64" ], @@ -1709,9 +1515,9 @@ } }, "node_modules/@tauri-apps/cli-linux-x64-gnu": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.4.tgz", - "integrity": "sha512-tNzZSa79Z1nRpHxEpQ38lsAFpKlFlYvoXzjTV+lRRn/zSf3wrdUC3wnLcq2XEadchPu4ttK0zivhYzr+XGD19Q==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-gnu/-/cli-linux-x64-gnu-2.12.6.tgz", + "integrity": "sha512-ZAb4/CHRma3ErjL2RGfHjITTUBIs4zySf0hIli9BddOtEdSx0ze0hEgxl+HfBVc5OEW/QmbiZ2E2+CkkHc8Pcg==", "cpu": [ "x64" ], @@ -1729,9 +1535,9 @@ } }, "node_modules/@tauri-apps/cli-linux-x64-musl": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.4.tgz", - "integrity": "sha512-jmZ1pr0xEqUhuEusWtt9Yt+GF6lCnGHUmIL+KIknpbjK/XQ2qkhDBhaxK/JMHM2A8dAacVXCxXJk2EXpwhQUfA==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-linux-x64-musl/-/cli-linux-x64-musl-2.12.6.tgz", + "integrity": "sha512-ueSzM2Du6r4i1d/lby9kEvrhPnXw5zM/VYvcW1ldEWSpkUyVohsBXkmD+U7vMskEW5tXeCUenki7nYVxyGBGpQ==", "cpu": [ "x64" ], @@ -1749,9 +1555,9 @@ } }, "node_modules/@tauri-apps/cli-win32-arm64-msvc": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.4.tgz", - "integrity": "sha512-fGo8pgEHZxdSYgZ/J98m1usJ7NHKmKbq7k6uT0x1rpOq6Bg2YVzzpaAblWk710f5LHYBJIL5QIFS5IrD+4gmTg==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-arm64-msvc/-/cli-win32-arm64-msvc-2.12.6.tgz", + "integrity": "sha512-6bmOt2BQSe0Bba+5CJcTKSML7VOYDxyiAKyBrjo86VxMdC1usIQmklu3Xc83s3QoK1rOMwwbANlPF6i5R2mvIg==", "cpu": [ "arm64" ], @@ -1766,9 +1572,9 @@ } }, "node_modules/@tauri-apps/cli-win32-ia32-msvc": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.4.tgz", - "integrity": "sha512-ezl8sQIcjYsye3TUnTH5VcWmWzccZASlQm7hlZt0dYyj1XD0qpVW47u2xYVrIKui0F8uQv/7QGZixdWiClBsbg==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-ia32-msvc/-/cli-win32-ia32-msvc-2.12.6.tgz", + "integrity": "sha512-9q9ZFNuFreBczwyJuhhlrEOBzGClwWUYirQ2GBl66Y6EaNl17IdLH8TRqoY9wYB1LnctNBi+Fa/WMGtFA4BtFQ==", "cpu": [ "ia32" ], @@ -1783,9 +1589,9 @@ } }, "node_modules/@tauri-apps/cli-win32-x64-msvc": { - "version": "2.12.4", - "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.4.tgz", - "integrity": "sha512-DJhDeCqjLDNMWYFy7ZS8cfeAHX2RK0RbQMLiA3bMVVkXRDJ4NBYiHriGqsUhsr9iG41aTb+dJGkFPmPw1gWwVw==", + "version": "2.12.6", + "resolved": "https://registry.npmjs.org/@tauri-apps/cli-win32-x64-msvc/-/cli-win32-x64-msvc-2.12.6.tgz", + "integrity": "sha512-ion7Chbj21ROxMRpjQ7G8rz5sIOaI7IoBQum1oq5sl1V5zGWyc/oYnCrQhVqO2TxK/lBDWxt648BzLi02SY3Xg==", "cpu": [ "x64" ], @@ -1799,33 +1605,6 @@ "node": ">= 10" } }, - "node_modules/@tauri-apps/plugin-dialog": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-dialog/-/plugin-dialog-2.8.3.tgz", - "integrity": "sha512-Hd/yBfk2R5v2MFrz/0VArSXeh8xKLLXGunqSiTtcHKn1zNZwaKujuA0VSwUvNfwC4hDoF1PveS+gBDNe3nHspw==", - "license": "MIT OR Apache-2.0", - "dependencies": { - "@tauri-apps/api": "^2.12.0" - } - }, - "node_modules/@tauri-apps/plugin-notification": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-notification/-/plugin-notification-2.7.0.tgz", - "integrity": "sha512-kgdHCPSY/3GIi4gSWuLfd3y555U0kwzP0PmnUjT+sGhgO7RdAM6goFjDqayRaKC8yA5oEYi7w2NnA3oQxIjldw==", - "license": "MIT OR Apache-2.0", - "dependencies": { - "@tauri-apps/api": "^2.12.0" - } - }, - "node_modules/@tauri-apps/plugin-shell": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@tauri-apps/plugin-shell/-/plugin-shell-2.5.0.tgz", - "integrity": "sha512-FZ6RtcikCxJ35do1kfqi94Fknmc7DAK4mJxDRfNBInX24TQMsMLddM5i4XLqE8VvJ+Lg6EriiDcLs7JIfuFkWw==", - "license": "MIT OR Apache-2.0", - "dependencies": { - "@tauri-apps/api": "^2.12.0" - } - }, "node_modules/@testing-library/dom": { "version": "10.4.2", "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.2.tgz", @@ -1874,6 +1653,16 @@ } } }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.5.tgz", + "integrity": "sha512-dOGOPxlaNV+G046mZzN+9C0dAcQZeSKcXiVaM0TYy/LM4ttTmgSBDxYfovcYI8Em3+eAbiAYpvWLOv8+ZVRJKA==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", @@ -1900,16 +1689,16 @@ "license": "MIT" }, "node_modules/@types/estree": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", - "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.11.tgz", + "integrity": "sha512-YBdNe5JcjYR0sPhJW1QIeRCmI11YhYvaRuGCs9+WCeTTb+Yhb2BE2XMe5/wAqF10FK5g3+q1PDhQABfT7aX0gg==", "dev": true, "license": "MIT" }, "node_modules/@types/node": { - "version": "24.19.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", - "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", + "version": "24.19.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.4.tgz", + "integrity": "sha512-s04odlR3ksJrLu7QLi+pddkWLD0RmSbcP9KuWn2/ozQKAp/YgwBC/6x9kJj8yAzZnGPfxePm7zm7nysVPCRagw==", "devOptional": true, "license": "MIT", "dependencies": { @@ -1917,9 +1706,9 @@ } }, "node_modules/@types/react": { - "version": "19.3.0", - "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", - "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", + "version": "19.3.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.3.tgz", + "integrity": "sha512-K8uWpJc4teiuOPdiP1umjeA9rGMgVPiXuoL66fcS1QlwBT1WMqY8PORmub9FadopIs+RCW6siYEs7Lpq+vDlog==", "devOptional": true, "license": "MIT", "dependencies": { @@ -2277,9 +2066,9 @@ } }, "node_modules/@vitejs/plugin-react": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", - "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.3.0.tgz", + "integrity": "sha512-H9E955aVvD2F4zNHCw4eIZbIfF6xKldlh7MNu+hSU7xwQzh65lI/N+CJWqmfhi0PEjDXIt/H7T7J/4wU63KJiw==", "dev": true, "license": "MIT", "dependencies": { @@ -2289,9 +2078,9 @@ "node": "^20.19.0 || >=22.12.0" }, "peerDependencies": { - "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0 || ^0.3.0", "babel-plugin-react-compiler": "^1.0.0", - "oxc-transform-react": "^0.152.0", + "oxc-transform-react": ">=0.152.0 <0.157.0", "vite": "^8.0.0" }, "peerDependenciesMeta": { @@ -2307,16 +2096,16 @@ } }, "node_modules/@vitest/mocker": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.0.5.tgz", - "integrity": "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-5.1.2.tgz", + "integrity": "sha512-UGc97wUIy0Ji2+9GxzHEJiOhiwkaukgE7VYcUNnjpX3sWnwQ8XogmNXX4WyOukxYgKb8Nh2XFa7KId0ZjpmVhQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.31", - "@vitest/spy": "5.0.5", + "@vitest/spy": "5.1.2", "estree-walker": "^3.0.3", - "magic-string": "^1.4.3" + "magic-string": "^1.4.5" }, "funding": { "url": "https://opencollective.com/vitest" @@ -2334,20 +2123,10 @@ } } }, - "node_modules/@vitest/mocker/node_modules/magic-string": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.3.tgz", - "integrity": "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.6.0" - } - }, "node_modules/@vitest/spy": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.0.5.tgz", - "integrity": "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-5.1.2.tgz", + "integrity": "sha512-PQl0/3+p9GaY71+MHywN6oyHfLhVDD5kcbm7oNRldA2F0ExMU3S8RQdnpteJ9gFAdK5P6KCgE6LqCpUgy57KzA==", "dev": true, "license": "MIT", "funding": { @@ -2432,9 +2211,9 @@ } }, "node_modules/csstype": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", - "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.4.tgz", + "integrity": "sha512-PoKaoPzQapnEoqUSnHx1u6W6ku8CVEgKsnpmmzU3m1nwkidpPBQ8V/Zq2+bWNrsOKoKLwTGdbx6xF7BXP1zLVQ==", "devOptional": true, "license": "MIT" }, @@ -2486,9 +2265,9 @@ "license": "MIT" }, "node_modules/enhanced-resolve": { - "version": "5.26.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", - "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.27.0.tgz", + "integrity": "sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==", "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", @@ -2499,9 +2278,9 @@ } }, "node_modules/entities": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-8.1.0.tgz", - "integrity": "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-9.0.0.tgz", + "integrity": "sha512-oJFNDJg3kTPwAD1cNn2+WmUq4wFoo09npc3Ydf1D7ED4smRiWrsKnaLxykrTWgyGEcusc87P5dxlAleol9kpkg==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -2538,6 +2317,23 @@ "node": ">=12.0.0" } }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -2553,10 +2349,10 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "license": "ISC" + "version": "4.2.12", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.12.tgz", + "integrity": "sha512-iuyGF2E4oafQfPsRrG2wtY2ILupMhvtdrhzrxB+0VcjsPpSPttpfYdjnGFGsTi5MaJFjI1jOKHPQ6UTbTj9TAw==", + "license": "BlueOak-1.0.0" }, "node_modules/html-encoding-sniffer": { "version": "7.0.0", @@ -2906,9 +2702,9 @@ } }, "node_modules/lucide-react": { - "version": "1.62.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.62.0.tgz", - "integrity": "sha512-2i8QZZhkgYMA3oJvKYpCltHh54VnT/3rIPkDLHbzr3IJQBaCz8+7j7V2k2rczYd2aCqcBaMmNlWQ2KKeDfcxmw==", + "version": "1.80.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.80.0.tgz", + "integrity": "sha512-f9cQkUMFp2ZrOek9FucpRqQVI67gT09clXcHs3yCvdhJnsK4RW4og/rqoC0YAHd6FV/GPkeiIR3Rdxr2pPRwHA==", "license": "ISC", "peerDependencies": { "@types/react": "*", @@ -2931,12 +2727,12 @@ } }, "node_modules/magic-string": { - "version": "0.30.21", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", - "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.5.tgz", + "integrity": "sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==", "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" + "@jridgewell/sourcemap-codec": "^1.6.0" } }, "node_modules/mdn-data": { @@ -2979,9 +2775,9 @@ } }, "node_modules/oxlint": { - "version": "1.90.0", - "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.90.0.tgz", - "integrity": "sha512-RkTN9EmgIUpLuhNoLhO3OliMGJlvb3Dk7XVjBZnfoMCHrVpuz5ESd97klfiyYeV7XfA2lNLnDCPMkUI+Qw5How==", + "version": "1.95.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.95.0.tgz", + "integrity": "sha512-eNzjFjm1TU02/+ohAJjOB7aekRQgTXhOWxMGscEm8VJMokNnnix+PCZn7kqIuGIqxAoBnHxatqlN3Chz3N6PKA==", "dev": true, "license": "MIT", "bin": { @@ -2994,28 +2790,28 @@ "url": "https://github.com/sponsors/oxc-project" }, "optionalDependencies": { - "@oxlint/binding-android-arm-eabi": "1.90.0", - "@oxlint/binding-android-arm64": "1.90.0", - "@oxlint/binding-darwin-arm64": "1.90.0", - "@oxlint/binding-darwin-x64": "1.90.0", - "@oxlint/binding-freebsd-x64": "1.90.0", - "@oxlint/binding-linux-arm-gnueabihf": "1.90.0", - "@oxlint/binding-linux-arm-musleabihf": "1.90.0", - "@oxlint/binding-linux-arm64-gnu": "1.90.0", - "@oxlint/binding-linux-arm64-musl": "1.90.0", - "@oxlint/binding-linux-ppc64-gnu": "1.90.0", - "@oxlint/binding-linux-riscv64-gnu": "1.90.0", - "@oxlint/binding-linux-riscv64-musl": "1.90.0", - "@oxlint/binding-linux-s390x-gnu": "1.90.0", - "@oxlint/binding-linux-x64-gnu": "1.90.0", - "@oxlint/binding-linux-x64-musl": "1.90.0", - "@oxlint/binding-openharmony-arm64": "1.90.0", - "@oxlint/binding-win32-arm64-msvc": "1.90.0", - "@oxlint/binding-win32-ia32-msvc": "1.90.0", - "@oxlint/binding-win32-x64-msvc": "1.90.0" + "@oxlint/binding-android-arm-eabi": "1.95.0", + "@oxlint/binding-android-arm64": "1.95.0", + "@oxlint/binding-darwin-arm64": "1.95.0", + "@oxlint/binding-darwin-x64": "1.95.0", + "@oxlint/binding-freebsd-x64": "1.95.0", + "@oxlint/binding-linux-arm-gnueabihf": "1.95.0", + "@oxlint/binding-linux-arm-musleabihf": "1.95.0", + "@oxlint/binding-linux-arm64-gnu": "1.95.0", + "@oxlint/binding-linux-arm64-musl": "1.95.0", + "@oxlint/binding-linux-ppc64-gnu": "1.95.0", + "@oxlint/binding-linux-riscv64-gnu": "1.95.0", + "@oxlint/binding-linux-riscv64-musl": "1.95.0", + "@oxlint/binding-linux-s390x-gnu": "1.95.0", + "@oxlint/binding-linux-x64-gnu": "1.95.0", + "@oxlint/binding-linux-x64-musl": "1.95.0", + "@oxlint/binding-openharmony-arm64": "1.95.0", + "@oxlint/binding-win32-arm64-msvc": "1.95.0", + "@oxlint/binding-win32-ia32-msvc": "1.95.0", + "@oxlint/binding-win32-x64-msvc": "1.95.0" }, "peerDependencies": { - "oxlint-tsgolint": ">=7.0.2005", + "oxlint-tsgolint": ">=7.0.2008", "vite-plus": "*" }, "peerDependenciesMeta": { @@ -3028,13 +2824,13 @@ } }, "node_modules/parse5": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.0.1.tgz", - "integrity": "sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-8.1.1.tgz", + "integrity": "sha512-EcR/6WDcU7b2N3vQSxKALCk9lXGtUMQxXio008OEMBE0kavu/7JLfBEeFPzi43nMqVDSbEn3QCK+BMCc9zO//w==", "dev": true, "license": "MIT", "dependencies": { - "entities": "^8.0.0" + "entities": "^9.0.0" }, "funding": { "url": "https://github.com/inikulin/parse5?sponsor=1" @@ -3059,9 +2855,9 @@ } }, "node_modules/postcss": { - "version": "8.5.30", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", - "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==", + "version": "8.5.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.33.tgz", + "integrity": "sha512-RVHEU9/Pp1Fnjr/MpAJsZoADukCKhfIi15OunEYiGktIkYLkPVvC1sioWolGDS7XByMTx9m/IGbro0Js13zhnQ==", "funding": [ { "type": "opencollective", @@ -3150,12 +2946,12 @@ } }, "node_modules/rolldown": { - "version": "1.2.14", - "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", - "integrity": "sha512-eTBTTqMR6uHKLgcUqpJP8ntzDI6V4LYA8negAMBEI7gkgVvOdrx6VsvS2Ym+83KhOPdLCHWJu0w7UQFJZhHKNw==", + "version": "1.2.19", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.19.tgz", + "integrity": "sha512-QIiV1J9d0pzN4jeeTH4sjPy0AZ6cAy2cG0ExeoE1+U8Rvj+hR3gYkokx0YbeUNGlZqiQJJ2utcETe0oKXwzsuA==", "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.154.0", + "@oxc-project/types": "=0.156.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -3165,21 +2961,22 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.14", - "@rolldown/binding-android-arm64": "1.2.14", - "@rolldown/binding-darwin-arm64": "1.2.14", - "@rolldown/binding-darwin-x64": "1.2.14", - "@rolldown/binding-freebsd-x64": "1.2.14", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.14", - "@rolldown/binding-linux-arm64-gnu": "1.2.14", - "@rolldown/binding-linux-arm64-musl": "1.2.14", - "@rolldown/binding-linux-ppc64-gnu": "1.2.14", - "@rolldown/binding-linux-s390x-gnu": "1.2.14", - "@rolldown/binding-linux-x64-gnu": "1.2.14", - "@rolldown/binding-linux-x64-musl": "1.2.14", - "@rolldown/binding-openharmony-arm64": "1.2.14", - "@rolldown/binding-win32-arm64-msvc": "1.2.14", - "@rolldown/binding-win32-x64-msvc": "1.2.14" + "@rolldown/binding-android-arm-eabi": "1.2.19", + "@rolldown/binding-android-arm64": "1.2.19", + "@rolldown/binding-darwin-arm64": "1.2.19", + "@rolldown/binding-darwin-x64": "1.2.19", + "@rolldown/binding-freebsd-x64": "1.2.19", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.19", + "@rolldown/binding-linux-arm64-gnu": "1.2.19", + "@rolldown/binding-linux-arm64-musl": "1.2.19", + "@rolldown/binding-linux-ppc64-gnu": "1.2.19", + "@rolldown/binding-linux-s390x-gnu": "1.2.19", + "@rolldown/binding-linux-x64-gnu": "1.2.19", + "@rolldown/binding-linux-x64-musl": "1.2.19", + "@rolldown/binding-openharmony-arm64": "1.2.19", + "@rolldown/binding-wasm32-wasi": "1.2.19", + "@rolldown/binding-win32-arm64-msvc": "1.2.19", + "@rolldown/binding-win32-x64-msvc": "1.2.19" } }, "node_modules/saxes": { @@ -3202,12 +2999,12 @@ "license": "MIT" }, "node_modules/source-map-js": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", - "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.4.tgz", + "integrity": "sha512-J7ZjMvHd9O1fcT/5V09QWaaSl2BbWx3F6O08spde82Namf9UB0GxRVIPiNbVsdKkoizHiSpTodo3vp2bAy91MA==", "license": "BSD-3-Clause", "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/std-env": { @@ -3218,15 +3015,15 @@ "license": "MIT" }, "node_modules/tailwindcss": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", - "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.5.tgz", + "integrity": "sha512-FcQk9BuffmEHJP2G0XmB2SplU1aLTI7j07Kunk+U74Ny+XiWOtzXz9aujFZ/avntw1e2cOv/3PkgzflQ7gX2vQ==", "license": "MIT" }, "node_modules/tapable": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", - "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.4.tgz", + "integrity": "sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==", "license": "MIT", "engines": { "node": ">=6" @@ -3237,9 +3034,9 @@ } }, "node_modules/tinybench": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.2.tgz", - "integrity": "sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==", + "version": "6.2.5", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-6.2.5.tgz", + "integrity": "sha512-b/8GRMdnY4cqkfCLyaFpTGIv1qwfi3oT0mWaepwT++6Z/ZrYehNfZZ2JDKVLKGhNoEkS3IIB1ELtCT0XS5DtOA==", "dev": true, "license": "MIT", "engines": { @@ -3247,9 +3044,9 @@ } }, "node_modules/tinyexec": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz", - "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.4.0.tgz", + "integrity": "sha512-PV6lIcJQh57aFeJDwx16JNHmgFRh5xguzallrDW1qe8nAghYgr5MKz2K5k7wEyV/ygZhdnIAP8+HZSarHPBCsg==", "dev": true, "license": "MIT", "engines": { @@ -3272,47 +3069,30 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, "node_modules/tldts": { - "version": "7.4.18", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.4.18.tgz", - "integrity": "sha512-somxA8xKAUzlAxl0TX/jMSYIbRNFIVGnI96pVGJPeMc5BsHmfVXn6mOJT6U++ELnl04eGfzpfcEuZe8WiASkXg==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.6.0.tgz", + "integrity": "sha512-IFk9SJW/EhTZMpJA1zRdP+69JK4NmJbMx1aRdJvLBR9em1k62eWiwolSWlDRpRdkaAnZ1dDCwFPmRPBNuLGGHA==", "dev": true, "license": "MIT", "dependencies": { - "tldts-core": "^7.4.18" + "tldts-core": "^7.6.0" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "7.4.18", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.4.18.tgz", - "integrity": "sha512-KI2PKvCmvQI/xD6ypPqkU0i7oxNXR/O58RLRaHR4svsgVUQ2JE/XC8BtMbG6PSehD27I8sZJRcC1ASnCy6lp3g==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.6.0.tgz", + "integrity": "sha512-0By9U6fw2hNzfJAbBMuo1bsX/OyVlsj0wjGyMPV50RZKoLCRwXBOX0FQqgZDaMo2WjjaEW/ZGyVXicLUFTmXqQ==", "dev": true, "license": "MIT" }, "node_modules/tough-cookie": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.2.tgz", - "integrity": "sha512-exgYmnmL/sJpR3upZfXG5PoatXQii55xAiXGXzY+sROLZ/Y+SLcp9PgJNI9Vz37HpQ74WvDcLT8eqm+kV3FzrA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.1.0.tgz", + "integrity": "sha512-FTxc8u8Kl2tz0Lat1u8ksvcy8bwHRyEMawwTWybo51JqaC6O7SvfuhAKg+Ld6VqyIe2QRJBzY9HA7y2WyFRT2w==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -3335,6 +3115,13 @@ "node": "^22.14.0 || >=24.0.0" } }, + "node_modules/tslib": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.9.1.tgz", + "integrity": "sha512-a4Ux9VKuIMHsOS7ENbEq6hK2ZGYIT27Rtl0E4eD9KqwxhKiQeMZE/9xb3IdYwWaSOyIBQLExhQgXDTYoiCxnWA==", + "license": "0BSD", + "optional": true + }, "node_modules/typescript": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", @@ -3371,9 +3158,9 @@ } }, "node_modules/undici": { - "version": "8.12.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.2.tgz", - "integrity": "sha512-XtuDWVdqTLr3NAxm2ly9/hU6kUsJOgGh1RASzMBbsw6aWCOaQzHdW+QQDfdERjfJ2V5vL5pRPa4RetO9UfivDg==", + "version": "8.13.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.13.1.tgz", + "integrity": "sha512-Kt7EaPjh0s93lJH/PmW3d5rhkcpUa6fS3jqZ7+YGxNd9L7Xy/i827xe4C2uhhq+pJebM4tQOl5AgHmW11G5Skg==", "dev": true, "license": "MIT", "engines": { @@ -3388,15 +3175,15 @@ "license": "MIT" }, "node_modules/vite": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.5.tgz", - "integrity": "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==", + "version": "8.3.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.8.tgz", + "integrity": "sha512-LzOn3h9rG/0vhLdXrV4yJ4QFA9eEoqCl+Yx+kGJd7aB9w6nfNgVHKSYwLPZUHrz4ZGa+t+kXjV9itvcHDLQouA==", "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.30", - "rolldown": "~1.2.14", + "postcss": "^8.5.32", + "rolldown": "~1.2.18", "tinyglobby": "^0.2.17" }, "bin": { @@ -3465,22 +3252,22 @@ } }, "node_modules/vitest": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.0.5.tgz", - "integrity": "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-5.1.2.tgz", + "integrity": "sha512-VIa2wXV208WraXUbzH+dQUrGcFpPuaiRA8HlhXS8R6/sy9cynw6OMqGj8fmAlH1hot7huTCtWUE14+FdXU3eLw==", "dev": true, "license": "MIT", "dependencies": { "@types/chai": "^5.2.2", - "@vitest/mocker": "5.0.5", + "@vitest/mocker": "5.1.2", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", - "magic-string": "^1.4.3", + "magic-string": "^1.4.5", "obug": "^3.0.0", "picomatch": "^4.0.7", "std-env": "^4.3.0", - "tinybench": "^6.2.2", + "tinybench": "^6.2.3", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "why-is-node-running": "3.2.1" @@ -3498,12 +3285,12 @@ "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", - "@vitest/browser-playwright": "5.0.5", - "@vitest/browser-preview": "5.0.5", + "@vitest/browser-playwright": "5.1.2", + "@vitest/browser-preview": "5.1.2", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", - "@vitest/coverage-istanbul": "5.0.5", - "@vitest/coverage-v8": "5.0.5", - "@vitest/ui": "5.0.5", + "@vitest/coverage-istanbul": "5.1.2", + "@vitest/coverage-v8": "5.1.2", + "@vitest/ui": "5.1.2", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" @@ -3547,16 +3334,6 @@ } } }, - "node_modules/vitest/node_modules/magic-string": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.3.tgz", - "integrity": "sha512-z12OxmaPGE0F4xlpGdjuAUckipLpQlTAuAmyGhNoD7ODpYUzvDfvtxUbjM/jwznyP178oju/KDdyi220wNJ0RQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.6.0" - } - }, "node_modules/w3c-xmlserializer": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-6.0.0.tgz", diff --git a/apps/gui/package.json b/apps/gui/package.json index 0fd76c6..27ba78b 100644 --- a/apps/gui/package.json +++ b/apps/gui/package.json @@ -18,9 +18,6 @@ "@fontsource-variable/plus-jakarta-sans": "^5.3.0", "@tailwindcss/vite": "^4.3.3", "@tauri-apps/api": "^2", - "@tauri-apps/plugin-dialog": "^2", - "@tauri-apps/plugin-notification": "^2", - "@tauri-apps/plugin-shell": "^2", "lucide-react": "^1.62.0", "react": "^19.2.7", "react-dom": "^19.2.7" diff --git a/apps/gui/public/icons.svg b/apps/gui/public/icons.svg deleted file mode 100644 index e952219..0000000 --- a/apps/gui/public/icons.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/gui/src-tauri/Cargo.toml b/apps/gui/src-tauri/Cargo.toml index 5ae99bc..2dd2499 100644 --- a/apps/gui/src-tauri/Cargo.toml +++ b/apps/gui/src-tauri/Cargo.toml @@ -22,16 +22,13 @@ tauri-build = { version = "2", features = [] } odysync-core = { workspace = true } odysync-backends = { workspace = true } tauri = { version = "2", features = ["tray-icon"] } -tauri-plugin-shell = "2" tauri-plugin-notification = "2" -tauri-plugin-dialog = "2" serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true } tracing-appender = "0.2" -chrono = { workspace = true } futures = { version = "0.3", default-features = false, features = ["std", "async-await"] } directories = { workspace = true } diff --git a/apps/gui/src-tauri/capabilities/default.json b/apps/gui/src-tauri/capabilities/default.json index 1fdce10..b9610f8 100644 --- a/apps/gui/src-tauri/capabilities/default.json +++ b/apps/gui/src-tauri/capabilities/default.json @@ -1,18 +1,14 @@ { "identifier": "default", - "description": "Default capabilities for the main window", + "description": "What the main window may ask Tauri for, besides the app's own commands", "windows": ["main"], "permissions": [ - "core:default", - "shell:allow-open", - "notification:default", - "dialog:default", + "core:event:allow-listen", + "core:event:allow-unlisten", "core:window:allow-minimize", - "core:window:allow-unminimize", - "core:window:allow-hide", - "core:window:allow-show", - "core:window:allow-set-focus", - "core:window:allow-close", - "core:window:allow-start-dragging" + "core:window:allow-toggle-maximize", + "core:window:allow-internal-toggle-maximize", + "core:window:allow-start-dragging", + "core:webview:allow-internal-toggle-devtools" ] } diff --git a/apps/gui/src-tauri/gen/schemas/acl-manifests.json b/apps/gui/src-tauri/gen/schemas/acl-manifests.json index 4bc71b4..bf764da 100644 --- a/apps/gui/src-tauri/gen/schemas/acl-manifests.json +++ b/apps/gui/src-tauri/gen/schemas/acl-manifests.json @@ -1 +1 @@ -{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"dialog":{"default_permission":{"identifier":"default","description":"This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n","permissions":["allow-message","allow-save","allow-open"]},"permissions":{"allow-ask":{"identifier":"allow-ask","description":"Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-confirm":{"identifier":"allow-confirm","description":"Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)","commands":{"allow":["message"],"deny":[]}},"allow-message":{"identifier":"allow-message","description":"Enables the message command without any pre-configured scope.","commands":{"allow":["message"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-save":{"identifier":"allow-save","description":"Enables the save command without any pre-configured scope.","commands":{"allow":["save"],"deny":[]}},"deny-ask":{"identifier":"deny-ask","description":"Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-confirm":{"identifier":"deny-confirm","description":"Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)","commands":{"allow":[],"deny":["message"]}},"deny-message":{"identifier":"deny-message","description":"Denies the message command without any pre-configured scope.","commands":{"allow":[],"deny":["message"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-save":{"identifier":"deny-save","description":"Denies the save command without any pre-configured scope.","commands":{"allow":[],"deny":["save"]}}},"permission_sets":{},"global_scope_schema":null},"notification":{"default_permission":{"identifier":"default","description":"This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n","permissions":["allow-is-permission-granted","allow-request-permission","allow-notify","allow-register-action-types","allow-register-listener","allow-remove-listener","allow-cancel","allow-get-pending","allow-remove-active","allow-get-active","allow-check-permissions","allow-show","allow-batch","allow-list-channels","allow-delete-channel","allow-create-channel","allow-permission-state"]},"permissions":{"allow-batch":{"identifier":"allow-batch","description":"Enables the batch command without any pre-configured scope.","commands":{"allow":["batch"],"deny":[]}},"allow-cancel":{"identifier":"allow-cancel","description":"Enables the cancel command without any pre-configured scope.","commands":{"allow":["cancel"],"deny":[]}},"allow-check-permissions":{"identifier":"allow-check-permissions","description":"Enables the check_permissions command without any pre-configured scope.","commands":{"allow":["check_permissions"],"deny":[]}},"allow-create-channel":{"identifier":"allow-create-channel","description":"Enables the create_channel command without any pre-configured scope.","commands":{"allow":["create_channel"],"deny":[]}},"allow-delete-channel":{"identifier":"allow-delete-channel","description":"Enables the delete_channel command without any pre-configured scope.","commands":{"allow":["delete_channel"],"deny":[]}},"allow-get-active":{"identifier":"allow-get-active","description":"Enables the get_active command without any pre-configured scope.","commands":{"allow":["get_active"],"deny":[]}},"allow-get-pending":{"identifier":"allow-get-pending","description":"Enables the get_pending command without any pre-configured scope.","commands":{"allow":["get_pending"],"deny":[]}},"allow-is-permission-granted":{"identifier":"allow-is-permission-granted","description":"Enables the is_permission_granted command without any pre-configured scope.","commands":{"allow":["is_permission_granted"],"deny":[]}},"allow-list-channels":{"identifier":"allow-list-channels","description":"Enables the list_channels command without any pre-configured scope.","commands":{"allow":["list_channels"],"deny":[]}},"allow-notify":{"identifier":"allow-notify","description":"Enables the notify command without any pre-configured scope.","commands":{"allow":["notify"],"deny":[]}},"allow-permission-state":{"identifier":"allow-permission-state","description":"Enables the permission_state command without any pre-configured scope.","commands":{"allow":["permission_state"],"deny":[]}},"allow-register-action-types":{"identifier":"allow-register-action-types","description":"Enables the register_action_types command without any pre-configured scope.","commands":{"allow":["register_action_types"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-active":{"identifier":"allow-remove-active","description":"Enables the remove_active command without any pre-configured scope.","commands":{"allow":["remove_active"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-request-permission":{"identifier":"allow-request-permission","description":"Enables the request_permission command without any pre-configured scope.","commands":{"allow":["request_permission"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"deny-batch":{"identifier":"deny-batch","description":"Denies the batch command without any pre-configured scope.","commands":{"allow":[],"deny":["batch"]}},"deny-cancel":{"identifier":"deny-cancel","description":"Denies the cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["cancel"]}},"deny-check-permissions":{"identifier":"deny-check-permissions","description":"Denies the check_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["check_permissions"]}},"deny-create-channel":{"identifier":"deny-create-channel","description":"Denies the create_channel command without any pre-configured scope.","commands":{"allow":[],"deny":["create_channel"]}},"deny-delete-channel":{"identifier":"deny-delete-channel","description":"Denies the delete_channel command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_channel"]}},"deny-get-active":{"identifier":"deny-get-active","description":"Denies the get_active command without any pre-configured scope.","commands":{"allow":[],"deny":["get_active"]}},"deny-get-pending":{"identifier":"deny-get-pending","description":"Denies the get_pending command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pending"]}},"deny-is-permission-granted":{"identifier":"deny-is-permission-granted","description":"Denies the is_permission_granted command without any pre-configured scope.","commands":{"allow":[],"deny":["is_permission_granted"]}},"deny-list-channels":{"identifier":"deny-list-channels","description":"Denies the list_channels command without any pre-configured scope.","commands":{"allow":[],"deny":["list_channels"]}},"deny-notify":{"identifier":"deny-notify","description":"Denies the notify command without any pre-configured scope.","commands":{"allow":[],"deny":["notify"]}},"deny-permission-state":{"identifier":"deny-permission-state","description":"Denies the permission_state command without any pre-configured scope.","commands":{"allow":[],"deny":["permission_state"]}},"deny-register-action-types":{"identifier":"deny-register-action-types","description":"Denies the register_action_types command without any pre-configured scope.","commands":{"allow":[],"deny":["register_action_types"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-active":{"identifier":"deny-remove-active","description":"Denies the remove_active command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_active"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-request-permission":{"identifier":"deny-request-permission","description":"Denies the request_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["request_permission"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}}},"permission_sets":{},"global_scope_schema":null},"shell":{"default_permission":{"identifier":"default","description":"This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n","permissions":["allow-open"]},"permissions":{"allow-execute":{"identifier":"allow-execute","description":"Enables the execute command without any pre-configured scope.","commands":{"allow":["execute"],"deny":[]}},"allow-kill":{"identifier":"allow-kill","description":"Enables the kill command without any pre-configured scope.","commands":{"allow":["kill"],"deny":[]}},"allow-open":{"identifier":"allow-open","description":"Enables the open command without any pre-configured scope.","commands":{"allow":["open"],"deny":[]}},"allow-spawn":{"identifier":"allow-spawn","description":"Enables the spawn command without any pre-configured scope.","commands":{"allow":["spawn"],"deny":[]}},"allow-stdin-write":{"identifier":"allow-stdin-write","description":"Enables the stdin_write command without any pre-configured scope.","commands":{"allow":["stdin_write"],"deny":[]}},"deny-execute":{"identifier":"deny-execute","description":"Denies the execute command without any pre-configured scope.","commands":{"allow":[],"deny":["execute"]}},"deny-kill":{"identifier":"deny-kill","description":"Denies the kill command without any pre-configured scope.","commands":{"allow":[],"deny":["kill"]}},"deny-open":{"identifier":"deny-open","description":"Denies the open command without any pre-configured scope.","commands":{"allow":[],"deny":["open"]}},"deny-spawn":{"identifier":"deny-spawn","description":"Denies the spawn command without any pre-configured scope.","commands":{"allow":[],"deny":["spawn"]}},"deny-stdin-write":{"identifier":"deny-stdin-write","description":"Denies the stdin_write command without any pre-configured scope.","commands":{"allow":[],"deny":["stdin_write"]}}},"permission_sets":{},"global_scope_schema":{"$schema":"http://json-schema.org/draft-07/schema#","anyOf":[{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"cmd":{"description":"The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.","type":"string"},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"}},"required":["cmd","name"],"type":"object"},{"additionalProperties":false,"properties":{"args":{"allOf":[{"$ref":"#/definitions/ShellScopeEntryAllowedArgs"}],"description":"The allowed arguments for the command execution."},"name":{"description":"The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.","type":"string"},"sidecar":{"description":"If this command is a sidecar command.","type":"boolean"}},"required":["name","sidecar"],"type":"object"}],"definitions":{"ShellScopeEntryAllowedArg":{"anyOf":[{"description":"A non-configurable argument that is passed to the command in the order it was specified.","type":"string"},{"additionalProperties":false,"description":"A variable that is set while calling the command from the webview API.","properties":{"raw":{"default":false,"description":"Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.","type":"boolean"},"validator":{"description":"[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ","type":"string"}},"required":["validator"],"type":"object"}],"description":"A command argument allowed to be executed by the webview API."},"ShellScopeEntryAllowedArgs":{"anyOf":[{"description":"Use a simple boolean to allow all or disable all arguments to this command configuration.","type":"boolean"},{"description":"A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.","items":{"$ref":"#/definitions/ShellScopeEntryAllowedArg"},"type":"array"}],"description":"A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration."}},"description":"Shell scope entry.","title":"ShellScopeEntry"}}} \ No newline at end of file +{"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:path:default","core:event:default","core:window:default","core:webview:default","core:app:default","core:image:default","core:resources:default","core:menu:default","core:tray:default"]},"permissions":{},"permission_sets":{},"global_scope_schema":null},"core:app":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-version","allow-name","allow-tauri-version","allow-identifier","allow-bundle-type","allow-register-listener","allow-remove-listener","allow-supports-multiple-windows"]},"permissions":{"allow-app-hide":{"identifier":"allow-app-hide","description":"Enables the app_hide command without any pre-configured scope.","commands":{"allow":["app_hide"],"deny":[]}},"allow-app-show":{"identifier":"allow-app-show","description":"Enables the app_show command without any pre-configured scope.","commands":{"allow":["app_show"],"deny":[]}},"allow-bundle-type":{"identifier":"allow-bundle-type","description":"Enables the bundle_type command without any pre-configured scope.","commands":{"allow":["bundle_type"],"deny":[]}},"allow-default-window-icon":{"identifier":"allow-default-window-icon","description":"Enables the default_window_icon command without any pre-configured scope.","commands":{"allow":["default_window_icon"],"deny":[]}},"allow-exit":{"identifier":"allow-exit","description":"Enables the exit command without any pre-configured scope.","commands":{"allow":["exit"],"deny":[]}},"allow-fetch-data-store-identifiers":{"identifier":"allow-fetch-data-store-identifiers","description":"Enables the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":["fetch_data_store_identifiers"],"deny":[]}},"allow-identifier":{"identifier":"allow-identifier","description":"Enables the identifier command without any pre-configured scope.","commands":{"allow":["identifier"],"deny":[]}},"allow-name":{"identifier":"allow-name","description":"Enables the name command without any pre-configured scope.","commands":{"allow":["name"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-data-store":{"identifier":"allow-remove-data-store","description":"Enables the remove_data_store command without any pre-configured scope.","commands":{"allow":["remove_data_store"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-set-app-theme":{"identifier":"allow-set-app-theme","description":"Enables the set_app_theme command without any pre-configured scope.","commands":{"allow":["set_app_theme"],"deny":[]}},"allow-set-dock-visibility":{"identifier":"allow-set-dock-visibility","description":"Enables the set_dock_visibility command without any pre-configured scope.","commands":{"allow":["set_dock_visibility"],"deny":[]}},"allow-supports-multiple-windows":{"identifier":"allow-supports-multiple-windows","description":"Enables the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":["supports_multiple_windows"],"deny":[]}},"allow-tauri-version":{"identifier":"allow-tauri-version","description":"Enables the tauri_version command without any pre-configured scope.","commands":{"allow":["tauri_version"],"deny":[]}},"allow-version":{"identifier":"allow-version","description":"Enables the version command without any pre-configured scope.","commands":{"allow":["version"],"deny":[]}},"deny-app-hide":{"identifier":"deny-app-hide","description":"Denies the app_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["app_hide"]}},"deny-app-show":{"identifier":"deny-app-show","description":"Denies the app_show command without any pre-configured scope.","commands":{"allow":[],"deny":["app_show"]}},"deny-bundle-type":{"identifier":"deny-bundle-type","description":"Denies the bundle_type command without any pre-configured scope.","commands":{"allow":[],"deny":["bundle_type"]}},"deny-default-window-icon":{"identifier":"deny-default-window-icon","description":"Denies the default_window_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["default_window_icon"]}},"deny-exit":{"identifier":"deny-exit","description":"Denies the exit command without any pre-configured scope.","commands":{"allow":[],"deny":["exit"]}},"deny-fetch-data-store-identifiers":{"identifier":"deny-fetch-data-store-identifiers","description":"Denies the fetch_data_store_identifiers command without any pre-configured scope.","commands":{"allow":[],"deny":["fetch_data_store_identifiers"]}},"deny-identifier":{"identifier":"deny-identifier","description":"Denies the identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["identifier"]}},"deny-name":{"identifier":"deny-name","description":"Denies the name command without any pre-configured scope.","commands":{"allow":[],"deny":["name"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-data-store":{"identifier":"deny-remove-data-store","description":"Denies the remove_data_store command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_data_store"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-set-app-theme":{"identifier":"deny-set-app-theme","description":"Denies the set_app_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_app_theme"]}},"deny-set-dock-visibility":{"identifier":"deny-set-dock-visibility","description":"Denies the set_dock_visibility command without any pre-configured scope.","commands":{"allow":[],"deny":["set_dock_visibility"]}},"deny-supports-multiple-windows":{"identifier":"deny-supports-multiple-windows","description":"Denies the supports_multiple_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["supports_multiple_windows"]}},"deny-tauri-version":{"identifier":"deny-tauri-version","description":"Denies the tauri_version command without any pre-configured scope.","commands":{"allow":[],"deny":["tauri_version"]}},"deny-version":{"identifier":"deny-version","description":"Denies the version command without any pre-configured scope.","commands":{"allow":[],"deny":["version"]}}},"permission_sets":{},"global_scope_schema":null},"core:event":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-listen","allow-unlisten","allow-emit","allow-emit-to"]},"permissions":{"allow-emit":{"identifier":"allow-emit","description":"Enables the emit command without any pre-configured scope.","commands":{"allow":["emit"],"deny":[]}},"allow-emit-to":{"identifier":"allow-emit-to","description":"Enables the emit_to command without any pre-configured scope.","commands":{"allow":["emit_to"],"deny":[]}},"allow-listen":{"identifier":"allow-listen","description":"Enables the listen command without any pre-configured scope.","commands":{"allow":["listen"],"deny":[]}},"allow-unlisten":{"identifier":"allow-unlisten","description":"Enables the unlisten command without any pre-configured scope.","commands":{"allow":["unlisten"],"deny":[]}},"deny-emit":{"identifier":"deny-emit","description":"Denies the emit command without any pre-configured scope.","commands":{"allow":[],"deny":["emit"]}},"deny-emit-to":{"identifier":"deny-emit-to","description":"Denies the emit_to command without any pre-configured scope.","commands":{"allow":[],"deny":["emit_to"]}},"deny-listen":{"identifier":"deny-listen","description":"Denies the listen command without any pre-configured scope.","commands":{"allow":[],"deny":["listen"]}},"deny-unlisten":{"identifier":"deny-unlisten","description":"Denies the unlisten command without any pre-configured scope.","commands":{"allow":[],"deny":["unlisten"]}}},"permission_sets":{},"global_scope_schema":null},"core:image":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-from-bytes","allow-from-path","allow-rgba","allow-size"]},"permissions":{"allow-from-bytes":{"identifier":"allow-from-bytes","description":"Enables the from_bytes command without any pre-configured scope.","commands":{"allow":["from_bytes"],"deny":[]}},"allow-from-path":{"identifier":"allow-from-path","description":"Enables the from_path command without any pre-configured scope.","commands":{"allow":["from_path"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-rgba":{"identifier":"allow-rgba","description":"Enables the rgba command without any pre-configured scope.","commands":{"allow":["rgba"],"deny":[]}},"allow-size":{"identifier":"allow-size","description":"Enables the size command without any pre-configured scope.","commands":{"allow":["size"],"deny":[]}},"deny-from-bytes":{"identifier":"deny-from-bytes","description":"Denies the from_bytes command without any pre-configured scope.","commands":{"allow":[],"deny":["from_bytes"]}},"deny-from-path":{"identifier":"deny-from-path","description":"Denies the from_path command without any pre-configured scope.","commands":{"allow":[],"deny":["from_path"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-rgba":{"identifier":"deny-rgba","description":"Denies the rgba command without any pre-configured scope.","commands":{"allow":[],"deny":["rgba"]}},"deny-size":{"identifier":"deny-size","description":"Denies the size command without any pre-configured scope.","commands":{"allow":[],"deny":["size"]}}},"permission_sets":{},"global_scope_schema":null},"core:menu":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-append","allow-prepend","allow-insert","allow-remove","allow-remove-at","allow-items","allow-get","allow-popup","allow-create-default","allow-set-as-app-menu","allow-set-as-window-menu","allow-text","allow-set-text","allow-is-enabled","allow-set-enabled","allow-set-accelerator","allow-set-as-windows-menu-for-nsapp","allow-set-as-help-menu-for-nsapp","allow-is-checked","allow-set-checked","allow-set-icon"]},"permissions":{"allow-append":{"identifier":"allow-append","description":"Enables the append command without any pre-configured scope.","commands":{"allow":["append"],"deny":[]}},"allow-create-default":{"identifier":"allow-create-default","description":"Enables the create_default command without any pre-configured scope.","commands":{"allow":["create_default"],"deny":[]}},"allow-get":{"identifier":"allow-get","description":"Enables the get command without any pre-configured scope.","commands":{"allow":["get"],"deny":[]}},"allow-insert":{"identifier":"allow-insert","description":"Enables the insert command without any pre-configured scope.","commands":{"allow":["insert"],"deny":[]}},"allow-is-checked":{"identifier":"allow-is-checked","description":"Enables the is_checked command without any pre-configured scope.","commands":{"allow":["is_checked"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-items":{"identifier":"allow-items","description":"Enables the items command without any pre-configured scope.","commands":{"allow":["items"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-popup":{"identifier":"allow-popup","description":"Enables the popup command without any pre-configured scope.","commands":{"allow":["popup"],"deny":[]}},"allow-prepend":{"identifier":"allow-prepend","description":"Enables the prepend command without any pre-configured scope.","commands":{"allow":["prepend"],"deny":[]}},"allow-remove":{"identifier":"allow-remove","description":"Enables the remove command without any pre-configured scope.","commands":{"allow":["remove"],"deny":[]}},"allow-remove-at":{"identifier":"allow-remove-at","description":"Enables the remove_at command without any pre-configured scope.","commands":{"allow":["remove_at"],"deny":[]}},"allow-set-accelerator":{"identifier":"allow-set-accelerator","description":"Enables the set_accelerator command without any pre-configured scope.","commands":{"allow":["set_accelerator"],"deny":[]}},"allow-set-as-app-menu":{"identifier":"allow-set-as-app-menu","description":"Enables the set_as_app_menu command without any pre-configured scope.","commands":{"allow":["set_as_app_menu"],"deny":[]}},"allow-set-as-help-menu-for-nsapp":{"identifier":"allow-set-as-help-menu-for-nsapp","description":"Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_help_menu_for_nsapp"],"deny":[]}},"allow-set-as-window-menu":{"identifier":"allow-set-as-window-menu","description":"Enables the set_as_window_menu command without any pre-configured scope.","commands":{"allow":["set_as_window_menu"],"deny":[]}},"allow-set-as-windows-menu-for-nsapp":{"identifier":"allow-set-as-windows-menu-for-nsapp","description":"Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":["set_as_windows_menu_for_nsapp"],"deny":[]}},"allow-set-checked":{"identifier":"allow-set-checked","description":"Enables the set_checked command without any pre-configured scope.","commands":{"allow":["set_checked"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-text":{"identifier":"allow-set-text","description":"Enables the set_text command without any pre-configured scope.","commands":{"allow":["set_text"],"deny":[]}},"allow-text":{"identifier":"allow-text","description":"Enables the text command without any pre-configured scope.","commands":{"allow":["text"],"deny":[]}},"deny-append":{"identifier":"deny-append","description":"Denies the append command without any pre-configured scope.","commands":{"allow":[],"deny":["append"]}},"deny-create-default":{"identifier":"deny-create-default","description":"Denies the create_default command without any pre-configured scope.","commands":{"allow":[],"deny":["create_default"]}},"deny-get":{"identifier":"deny-get","description":"Denies the get command without any pre-configured scope.","commands":{"allow":[],"deny":["get"]}},"deny-insert":{"identifier":"deny-insert","description":"Denies the insert command without any pre-configured scope.","commands":{"allow":[],"deny":["insert"]}},"deny-is-checked":{"identifier":"deny-is-checked","description":"Denies the is_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["is_checked"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-items":{"identifier":"deny-items","description":"Denies the items command without any pre-configured scope.","commands":{"allow":[],"deny":["items"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-popup":{"identifier":"deny-popup","description":"Denies the popup command without any pre-configured scope.","commands":{"allow":[],"deny":["popup"]}},"deny-prepend":{"identifier":"deny-prepend","description":"Denies the prepend command without any pre-configured scope.","commands":{"allow":[],"deny":["prepend"]}},"deny-remove":{"identifier":"deny-remove","description":"Denies the remove command without any pre-configured scope.","commands":{"allow":[],"deny":["remove"]}},"deny-remove-at":{"identifier":"deny-remove-at","description":"Denies the remove_at command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_at"]}},"deny-set-accelerator":{"identifier":"deny-set-accelerator","description":"Denies the set_accelerator command without any pre-configured scope.","commands":{"allow":[],"deny":["set_accelerator"]}},"deny-set-as-app-menu":{"identifier":"deny-set-as-app-menu","description":"Denies the set_as_app_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_app_menu"]}},"deny-set-as-help-menu-for-nsapp":{"identifier":"deny-set-as-help-menu-for-nsapp","description":"Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_help_menu_for_nsapp"]}},"deny-set-as-window-menu":{"identifier":"deny-set-as-window-menu","description":"Denies the set_as_window_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_window_menu"]}},"deny-set-as-windows-menu-for-nsapp":{"identifier":"deny-set-as-windows-menu-for-nsapp","description":"Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.","commands":{"allow":[],"deny":["set_as_windows_menu_for_nsapp"]}},"deny-set-checked":{"identifier":"deny-set-checked","description":"Denies the set_checked command without any pre-configured scope.","commands":{"allow":[],"deny":["set_checked"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-text":{"identifier":"deny-set-text","description":"Denies the set_text command without any pre-configured scope.","commands":{"allow":[],"deny":["set_text"]}},"deny-text":{"identifier":"deny-text","description":"Denies the text command without any pre-configured scope.","commands":{"allow":[],"deny":["text"]}}},"permission_sets":{},"global_scope_schema":null},"core:path":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-resolve-directory","allow-resolve","allow-normalize","allow-join","allow-dirname","allow-extname","allow-basename","allow-is-absolute"]},"permissions":{"allow-basename":{"identifier":"allow-basename","description":"Enables the basename command without any pre-configured scope.","commands":{"allow":["basename"],"deny":[]}},"allow-dirname":{"identifier":"allow-dirname","description":"Enables the dirname command without any pre-configured scope.","commands":{"allow":["dirname"],"deny":[]}},"allow-extname":{"identifier":"allow-extname","description":"Enables the extname command without any pre-configured scope.","commands":{"allow":["extname"],"deny":[]}},"allow-is-absolute":{"identifier":"allow-is-absolute","description":"Enables the is_absolute command without any pre-configured scope.","commands":{"allow":["is_absolute"],"deny":[]}},"allow-join":{"identifier":"allow-join","description":"Enables the join command without any pre-configured scope.","commands":{"allow":["join"],"deny":[]}},"allow-normalize":{"identifier":"allow-normalize","description":"Enables the normalize command without any pre-configured scope.","commands":{"allow":["normalize"],"deny":[]}},"allow-resolve":{"identifier":"allow-resolve","description":"Enables the resolve command without any pre-configured scope.","commands":{"allow":["resolve"],"deny":[]}},"allow-resolve-directory":{"identifier":"allow-resolve-directory","description":"Enables the resolve_directory command without any pre-configured scope.","commands":{"allow":["resolve_directory"],"deny":[]}},"deny-basename":{"identifier":"deny-basename","description":"Denies the basename command without any pre-configured scope.","commands":{"allow":[],"deny":["basename"]}},"deny-dirname":{"identifier":"deny-dirname","description":"Denies the dirname command without any pre-configured scope.","commands":{"allow":[],"deny":["dirname"]}},"deny-extname":{"identifier":"deny-extname","description":"Denies the extname command without any pre-configured scope.","commands":{"allow":[],"deny":["extname"]}},"deny-is-absolute":{"identifier":"deny-is-absolute","description":"Denies the is_absolute command without any pre-configured scope.","commands":{"allow":[],"deny":["is_absolute"]}},"deny-join":{"identifier":"deny-join","description":"Denies the join command without any pre-configured scope.","commands":{"allow":[],"deny":["join"]}},"deny-normalize":{"identifier":"deny-normalize","description":"Denies the normalize command without any pre-configured scope.","commands":{"allow":[],"deny":["normalize"]}},"deny-resolve":{"identifier":"deny-resolve","description":"Denies the resolve command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve"]}},"deny-resolve-directory":{"identifier":"deny-resolve-directory","description":"Denies the resolve_directory command without any pre-configured scope.","commands":{"allow":[],"deny":["resolve_directory"]}}},"permission_sets":{},"global_scope_schema":null},"core:resources":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-close"]},"permissions":{"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}}},"permission_sets":{},"global_scope_schema":null},"core:tray":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin, which enables all commands.","permissions":["allow-new","allow-get-by-id","allow-remove-by-id","allow-set-icon","allow-set-menu","allow-set-tooltip","allow-set-title","allow-set-visible","allow-set-temp-dir-path","allow-set-icon-as-template","allow-set-icon-with-as-template","allow-set-show-menu-on-left-click"]},"permissions":{"allow-get-by-id":{"identifier":"allow-get-by-id","description":"Enables the get_by_id command without any pre-configured scope.","commands":{"allow":["get_by_id"],"deny":[]}},"allow-new":{"identifier":"allow-new","description":"Enables the new command without any pre-configured scope.","commands":{"allow":["new"],"deny":[]}},"allow-remove-by-id":{"identifier":"allow-remove-by-id","description":"Enables the remove_by_id command without any pre-configured scope.","commands":{"allow":["remove_by_id"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-icon-as-template":{"identifier":"allow-set-icon-as-template","description":"Enables the set_icon_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_as_template"],"deny":[]}},"allow-set-icon-with-as-template":{"identifier":"allow-set-icon-with-as-template","description":"Enables the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":["set_icon_with_as_template"],"deny":[]}},"allow-set-menu":{"identifier":"allow-set-menu","description":"Enables the set_menu command without any pre-configured scope.","commands":{"allow":["set_menu"],"deny":[]}},"allow-set-show-menu-on-left-click":{"identifier":"allow-set-show-menu-on-left-click","description":"Enables the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":["set_show_menu_on_left_click"],"deny":[]}},"allow-set-temp-dir-path":{"identifier":"allow-set-temp-dir-path","description":"Enables the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":["set_temp_dir_path"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-tooltip":{"identifier":"allow-set-tooltip","description":"Enables the set_tooltip command without any pre-configured scope.","commands":{"allow":["set_tooltip"],"deny":[]}},"allow-set-visible":{"identifier":"allow-set-visible","description":"Enables the set_visible command without any pre-configured scope.","commands":{"allow":["set_visible"],"deny":[]}},"deny-get-by-id":{"identifier":"deny-get-by-id","description":"Denies the get_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["get_by_id"]}},"deny-new":{"identifier":"deny-new","description":"Denies the new command without any pre-configured scope.","commands":{"allow":[],"deny":["new"]}},"deny-remove-by-id":{"identifier":"deny-remove-by-id","description":"Denies the remove_by_id command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_by_id"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-icon-as-template":{"identifier":"deny-set-icon-as-template","description":"Denies the set_icon_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_as_template"]}},"deny-set-icon-with-as-template":{"identifier":"deny-set-icon-with-as-template","description":"Denies the set_icon_with_as_template command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon_with_as_template"]}},"deny-set-menu":{"identifier":"deny-set-menu","description":"Denies the set_menu command without any pre-configured scope.","commands":{"allow":[],"deny":["set_menu"]}},"deny-set-show-menu-on-left-click":{"identifier":"deny-set-show-menu-on-left-click","description":"Denies the set_show_menu_on_left_click command without any pre-configured scope.","commands":{"allow":[],"deny":["set_show_menu_on_left_click"]}},"deny-set-temp-dir-path":{"identifier":"deny-set-temp-dir-path","description":"Denies the set_temp_dir_path command without any pre-configured scope.","commands":{"allow":[],"deny":["set_temp_dir_path"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-tooltip":{"identifier":"deny-set-tooltip","description":"Denies the set_tooltip command without any pre-configured scope.","commands":{"allow":[],"deny":["set_tooltip"]}},"deny-set-visible":{"identifier":"deny-set-visible","description":"Denies the set_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible"]}}},"permission_sets":{},"global_scope_schema":null},"core:webview":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-webviews","allow-webview-position","allow-webview-size","allow-internal-toggle-devtools"]},"permissions":{"allow-clear-all-browsing-data":{"identifier":"allow-clear-all-browsing-data","description":"Enables the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":["clear_all_browsing_data"],"deny":[]}},"allow-create-webview":{"identifier":"allow-create-webview","description":"Enables the create_webview command without any pre-configured scope.","commands":{"allow":["create_webview"],"deny":[]}},"allow-create-webview-window":{"identifier":"allow-create-webview-window","description":"Enables the create_webview_window command without any pre-configured scope.","commands":{"allow":["create_webview_window"],"deny":[]}},"allow-get-all-webviews":{"identifier":"allow-get-all-webviews","description":"Enables the get_all_webviews command without any pre-configured scope.","commands":{"allow":["get_all_webviews"],"deny":[]}},"allow-internal-toggle-devtools":{"identifier":"allow-internal-toggle-devtools","description":"Enables the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":["internal_toggle_devtools"],"deny":[]}},"allow-print":{"identifier":"allow-print","description":"Enables the print command without any pre-configured scope.","commands":{"allow":["print"],"deny":[]}},"allow-reparent":{"identifier":"allow-reparent","description":"Enables the reparent command without any pre-configured scope.","commands":{"allow":["reparent"],"deny":[]}},"allow-set-webview-auto-resize":{"identifier":"allow-set-webview-auto-resize","description":"Enables the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":["set_webview_auto_resize"],"deny":[]}},"allow-set-webview-background-color":{"identifier":"allow-set-webview-background-color","description":"Enables the set_webview_background_color command without any pre-configured scope.","commands":{"allow":["set_webview_background_color"],"deny":[]}},"allow-set-webview-focus":{"identifier":"allow-set-webview-focus","description":"Enables the set_webview_focus command without any pre-configured scope.","commands":{"allow":["set_webview_focus"],"deny":[]}},"allow-set-webview-position":{"identifier":"allow-set-webview-position","description":"Enables the set_webview_position command without any pre-configured scope.","commands":{"allow":["set_webview_position"],"deny":[]}},"allow-set-webview-size":{"identifier":"allow-set-webview-size","description":"Enables the set_webview_size command without any pre-configured scope.","commands":{"allow":["set_webview_size"],"deny":[]}},"allow-set-webview-zoom":{"identifier":"allow-set-webview-zoom","description":"Enables the set_webview_zoom command without any pre-configured scope.","commands":{"allow":["set_webview_zoom"],"deny":[]}},"allow-webview-close":{"identifier":"allow-webview-close","description":"Enables the webview_close command without any pre-configured scope.","commands":{"allow":["webview_close"],"deny":[]}},"allow-webview-hide":{"identifier":"allow-webview-hide","description":"Enables the webview_hide command without any pre-configured scope.","commands":{"allow":["webview_hide"],"deny":[]}},"allow-webview-position":{"identifier":"allow-webview-position","description":"Enables the webview_position command without any pre-configured scope.","commands":{"allow":["webview_position"],"deny":[]}},"allow-webview-show":{"identifier":"allow-webview-show","description":"Enables the webview_show command without any pre-configured scope.","commands":{"allow":["webview_show"],"deny":[]}},"allow-webview-size":{"identifier":"allow-webview-size","description":"Enables the webview_size command without any pre-configured scope.","commands":{"allow":["webview_size"],"deny":[]}},"deny-clear-all-browsing-data":{"identifier":"deny-clear-all-browsing-data","description":"Denies the clear_all_browsing_data command without any pre-configured scope.","commands":{"allow":[],"deny":["clear_all_browsing_data"]}},"deny-create-webview":{"identifier":"deny-create-webview","description":"Denies the create_webview command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview"]}},"deny-create-webview-window":{"identifier":"deny-create-webview-window","description":"Denies the create_webview_window command without any pre-configured scope.","commands":{"allow":[],"deny":["create_webview_window"]}},"deny-get-all-webviews":{"identifier":"deny-get-all-webviews","description":"Denies the get_all_webviews command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_webviews"]}},"deny-internal-toggle-devtools":{"identifier":"deny-internal-toggle-devtools","description":"Denies the internal_toggle_devtools command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_devtools"]}},"deny-print":{"identifier":"deny-print","description":"Denies the print command without any pre-configured scope.","commands":{"allow":[],"deny":["print"]}},"deny-reparent":{"identifier":"deny-reparent","description":"Denies the reparent command without any pre-configured scope.","commands":{"allow":[],"deny":["reparent"]}},"deny-set-webview-auto-resize":{"identifier":"deny-set-webview-auto-resize","description":"Denies the set_webview_auto_resize command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_auto_resize"]}},"deny-set-webview-background-color":{"identifier":"deny-set-webview-background-color","description":"Denies the set_webview_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_background_color"]}},"deny-set-webview-focus":{"identifier":"deny-set-webview-focus","description":"Denies the set_webview_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_focus"]}},"deny-set-webview-position":{"identifier":"deny-set-webview-position","description":"Denies the set_webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_position"]}},"deny-set-webview-size":{"identifier":"deny-set-webview-size","description":"Denies the set_webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_size"]}},"deny-set-webview-zoom":{"identifier":"deny-set-webview-zoom","description":"Denies the set_webview_zoom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_webview_zoom"]}},"deny-webview-close":{"identifier":"deny-webview-close","description":"Denies the webview_close command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_close"]}},"deny-webview-hide":{"identifier":"deny-webview-hide","description":"Denies the webview_hide command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_hide"]}},"deny-webview-position":{"identifier":"deny-webview-position","description":"Denies the webview_position command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_position"]}},"deny-webview-show":{"identifier":"deny-webview-show","description":"Denies the webview_show command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_show"]}},"deny-webview-size":{"identifier":"deny-webview-size","description":"Denies the webview_size command without any pre-configured scope.","commands":{"allow":[],"deny":["webview_size"]}}},"permission_sets":{},"global_scope_schema":null},"core:window":{"default_permission":{"identifier":"default","description":"Default permissions for the plugin.","permissions":["allow-get-all-windows","allow-scale-factor","allow-inner-position","allow-outer-position","allow-inner-size","allow-outer-size","allow-is-fullscreen","allow-is-minimized","allow-is-maximized","allow-is-focused","allow-is-decorated","allow-is-resizable","allow-is-maximizable","allow-is-minimizable","allow-is-closable","allow-is-visible","allow-is-enabled","allow-title","allow-current-monitor","allow-primary-monitor","allow-monitor-from-point","allow-available-monitors","allow-cursor-position","allow-theme","allow-is-always-on-top","allow-activity-name","allow-scene-identifier","allow-internal-toggle-maximize"]},"permissions":{"allow-activity-name":{"identifier":"allow-activity-name","description":"Enables the activity_name command without any pre-configured scope.","commands":{"allow":["activity_name"],"deny":[]}},"allow-available-monitors":{"identifier":"allow-available-monitors","description":"Enables the available_monitors command without any pre-configured scope.","commands":{"allow":["available_monitors"],"deny":[]}},"allow-center":{"identifier":"allow-center","description":"Enables the center command without any pre-configured scope.","commands":{"allow":["center"],"deny":[]}},"allow-close":{"identifier":"allow-close","description":"Enables the close command without any pre-configured scope.","commands":{"allow":["close"],"deny":[]}},"allow-create":{"identifier":"allow-create","description":"Enables the create command without any pre-configured scope.","commands":{"allow":["create"],"deny":[]}},"allow-current-monitor":{"identifier":"allow-current-monitor","description":"Enables the current_monitor command without any pre-configured scope.","commands":{"allow":["current_monitor"],"deny":[]}},"allow-cursor-position":{"identifier":"allow-cursor-position","description":"Enables the cursor_position command without any pre-configured scope.","commands":{"allow":["cursor_position"],"deny":[]}},"allow-destroy":{"identifier":"allow-destroy","description":"Enables the destroy command without any pre-configured scope.","commands":{"allow":["destroy"],"deny":[]}},"allow-get-all-windows":{"identifier":"allow-get-all-windows","description":"Enables the get_all_windows command without any pre-configured scope.","commands":{"allow":["get_all_windows"],"deny":[]}},"allow-hide":{"identifier":"allow-hide","description":"Enables the hide command without any pre-configured scope.","commands":{"allow":["hide"],"deny":[]}},"allow-inner-position":{"identifier":"allow-inner-position","description":"Enables the inner_position command without any pre-configured scope.","commands":{"allow":["inner_position"],"deny":[]}},"allow-inner-size":{"identifier":"allow-inner-size","description":"Enables the inner_size command without any pre-configured scope.","commands":{"allow":["inner_size"],"deny":[]}},"allow-internal-toggle-maximize":{"identifier":"allow-internal-toggle-maximize","description":"Enables the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":["internal_toggle_maximize"],"deny":[]}},"allow-is-always-on-top":{"identifier":"allow-is-always-on-top","description":"Enables the is_always_on_top command without any pre-configured scope.","commands":{"allow":["is_always_on_top"],"deny":[]}},"allow-is-closable":{"identifier":"allow-is-closable","description":"Enables the is_closable command without any pre-configured scope.","commands":{"allow":["is_closable"],"deny":[]}},"allow-is-decorated":{"identifier":"allow-is-decorated","description":"Enables the is_decorated command without any pre-configured scope.","commands":{"allow":["is_decorated"],"deny":[]}},"allow-is-enabled":{"identifier":"allow-is-enabled","description":"Enables the is_enabled command without any pre-configured scope.","commands":{"allow":["is_enabled"],"deny":[]}},"allow-is-focused":{"identifier":"allow-is-focused","description":"Enables the is_focused command without any pre-configured scope.","commands":{"allow":["is_focused"],"deny":[]}},"allow-is-fullscreen":{"identifier":"allow-is-fullscreen","description":"Enables the is_fullscreen command without any pre-configured scope.","commands":{"allow":["is_fullscreen"],"deny":[]}},"allow-is-maximizable":{"identifier":"allow-is-maximizable","description":"Enables the is_maximizable command without any pre-configured scope.","commands":{"allow":["is_maximizable"],"deny":[]}},"allow-is-maximized":{"identifier":"allow-is-maximized","description":"Enables the is_maximized command without any pre-configured scope.","commands":{"allow":["is_maximized"],"deny":[]}},"allow-is-minimizable":{"identifier":"allow-is-minimizable","description":"Enables the is_minimizable command without any pre-configured scope.","commands":{"allow":["is_minimizable"],"deny":[]}},"allow-is-minimized":{"identifier":"allow-is-minimized","description":"Enables the is_minimized command without any pre-configured scope.","commands":{"allow":["is_minimized"],"deny":[]}},"allow-is-resizable":{"identifier":"allow-is-resizable","description":"Enables the is_resizable command without any pre-configured scope.","commands":{"allow":["is_resizable"],"deny":[]}},"allow-is-visible":{"identifier":"allow-is-visible","description":"Enables the is_visible command without any pre-configured scope.","commands":{"allow":["is_visible"],"deny":[]}},"allow-maximize":{"identifier":"allow-maximize","description":"Enables the maximize command without any pre-configured scope.","commands":{"allow":["maximize"],"deny":[]}},"allow-minimize":{"identifier":"allow-minimize","description":"Enables the minimize command without any pre-configured scope.","commands":{"allow":["minimize"],"deny":[]}},"allow-monitor-from-point":{"identifier":"allow-monitor-from-point","description":"Enables the monitor_from_point command without any pre-configured scope.","commands":{"allow":["monitor_from_point"],"deny":[]}},"allow-outer-position":{"identifier":"allow-outer-position","description":"Enables the outer_position command without any pre-configured scope.","commands":{"allow":["outer_position"],"deny":[]}},"allow-outer-size":{"identifier":"allow-outer-size","description":"Enables the outer_size command without any pre-configured scope.","commands":{"allow":["outer_size"],"deny":[]}},"allow-primary-monitor":{"identifier":"allow-primary-monitor","description":"Enables the primary_monitor command without any pre-configured scope.","commands":{"allow":["primary_monitor"],"deny":[]}},"allow-request-user-attention":{"identifier":"allow-request-user-attention","description":"Enables the request_user_attention command without any pre-configured scope.","commands":{"allow":["request_user_attention"],"deny":[]}},"allow-scale-factor":{"identifier":"allow-scale-factor","description":"Enables the scale_factor command without any pre-configured scope.","commands":{"allow":["scale_factor"],"deny":[]}},"allow-scene-identifier":{"identifier":"allow-scene-identifier","description":"Enables the scene_identifier command without any pre-configured scope.","commands":{"allow":["scene_identifier"],"deny":[]}},"allow-set-always-on-bottom":{"identifier":"allow-set-always-on-bottom","description":"Enables the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":["set_always_on_bottom"],"deny":[]}},"allow-set-always-on-top":{"identifier":"allow-set-always-on-top","description":"Enables the set_always_on_top command without any pre-configured scope.","commands":{"allow":["set_always_on_top"],"deny":[]}},"allow-set-background-color":{"identifier":"allow-set-background-color","description":"Enables the set_background_color command without any pre-configured scope.","commands":{"allow":["set_background_color"],"deny":[]}},"allow-set-badge-count":{"identifier":"allow-set-badge-count","description":"Enables the set_badge_count command without any pre-configured scope.","commands":{"allow":["set_badge_count"],"deny":[]}},"allow-set-badge-label":{"identifier":"allow-set-badge-label","description":"Enables the set_badge_label command without any pre-configured scope.","commands":{"allow":["set_badge_label"],"deny":[]}},"allow-set-closable":{"identifier":"allow-set-closable","description":"Enables the set_closable command without any pre-configured scope.","commands":{"allow":["set_closable"],"deny":[]}},"allow-set-content-protected":{"identifier":"allow-set-content-protected","description":"Enables the set_content_protected command without any pre-configured scope.","commands":{"allow":["set_content_protected"],"deny":[]}},"allow-set-cursor-grab":{"identifier":"allow-set-cursor-grab","description":"Enables the set_cursor_grab command without any pre-configured scope.","commands":{"allow":["set_cursor_grab"],"deny":[]}},"allow-set-cursor-icon":{"identifier":"allow-set-cursor-icon","description":"Enables the set_cursor_icon command without any pre-configured scope.","commands":{"allow":["set_cursor_icon"],"deny":[]}},"allow-set-cursor-position":{"identifier":"allow-set-cursor-position","description":"Enables the set_cursor_position command without any pre-configured scope.","commands":{"allow":["set_cursor_position"],"deny":[]}},"allow-set-cursor-visible":{"identifier":"allow-set-cursor-visible","description":"Enables the set_cursor_visible command without any pre-configured scope.","commands":{"allow":["set_cursor_visible"],"deny":[]}},"allow-set-decorations":{"identifier":"allow-set-decorations","description":"Enables the set_decorations command without any pre-configured scope.","commands":{"allow":["set_decorations"],"deny":[]}},"allow-set-effects":{"identifier":"allow-set-effects","description":"Enables the set_effects command without any pre-configured scope.","commands":{"allow":["set_effects"],"deny":[]}},"allow-set-enabled":{"identifier":"allow-set-enabled","description":"Enables the set_enabled command without any pre-configured scope.","commands":{"allow":["set_enabled"],"deny":[]}},"allow-set-focus":{"identifier":"allow-set-focus","description":"Enables the set_focus command without any pre-configured scope.","commands":{"allow":["set_focus"],"deny":[]}},"allow-set-focusable":{"identifier":"allow-set-focusable","description":"Enables the set_focusable command without any pre-configured scope.","commands":{"allow":["set_focusable"],"deny":[]}},"allow-set-fullscreen":{"identifier":"allow-set-fullscreen","description":"Enables the set_fullscreen command without any pre-configured scope.","commands":{"allow":["set_fullscreen"],"deny":[]}},"allow-set-fullscreen-on-monitor":{"identifier":"allow-set-fullscreen-on-monitor","description":"Enables the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":["set_fullscreen_on_monitor"],"deny":[]}},"allow-set-icon":{"identifier":"allow-set-icon","description":"Enables the set_icon command without any pre-configured scope.","commands":{"allow":["set_icon"],"deny":[]}},"allow-set-ignore-cursor-events":{"identifier":"allow-set-ignore-cursor-events","description":"Enables the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":["set_ignore_cursor_events"],"deny":[]}},"allow-set-max-size":{"identifier":"allow-set-max-size","description":"Enables the set_max_size command without any pre-configured scope.","commands":{"allow":["set_max_size"],"deny":[]}},"allow-set-maximizable":{"identifier":"allow-set-maximizable","description":"Enables the set_maximizable command without any pre-configured scope.","commands":{"allow":["set_maximizable"],"deny":[]}},"allow-set-min-size":{"identifier":"allow-set-min-size","description":"Enables the set_min_size command without any pre-configured scope.","commands":{"allow":["set_min_size"],"deny":[]}},"allow-set-minimizable":{"identifier":"allow-set-minimizable","description":"Enables the set_minimizable command without any pre-configured scope.","commands":{"allow":["set_minimizable"],"deny":[]}},"allow-set-overlay-icon":{"identifier":"allow-set-overlay-icon","description":"Enables the set_overlay_icon command without any pre-configured scope.","commands":{"allow":["set_overlay_icon"],"deny":[]}},"allow-set-position":{"identifier":"allow-set-position","description":"Enables the set_position command without any pre-configured scope.","commands":{"allow":["set_position"],"deny":[]}},"allow-set-progress-bar":{"identifier":"allow-set-progress-bar","description":"Enables the set_progress_bar command without any pre-configured scope.","commands":{"allow":["set_progress_bar"],"deny":[]}},"allow-set-resizable":{"identifier":"allow-set-resizable","description":"Enables the set_resizable command without any pre-configured scope.","commands":{"allow":["set_resizable"],"deny":[]}},"allow-set-shadow":{"identifier":"allow-set-shadow","description":"Enables the set_shadow command without any pre-configured scope.","commands":{"allow":["set_shadow"],"deny":[]}},"allow-set-simple-fullscreen":{"identifier":"allow-set-simple-fullscreen","description":"Enables the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":["set_simple_fullscreen"],"deny":[]}},"allow-set-size":{"identifier":"allow-set-size","description":"Enables the set_size command without any pre-configured scope.","commands":{"allow":["set_size"],"deny":[]}},"allow-set-size-constraints":{"identifier":"allow-set-size-constraints","description":"Enables the set_size_constraints command without any pre-configured scope.","commands":{"allow":["set_size_constraints"],"deny":[]}},"allow-set-skip-taskbar":{"identifier":"allow-set-skip-taskbar","description":"Enables the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":["set_skip_taskbar"],"deny":[]}},"allow-set-theme":{"identifier":"allow-set-theme","description":"Enables the set_theme command without any pre-configured scope.","commands":{"allow":["set_theme"],"deny":[]}},"allow-set-title":{"identifier":"allow-set-title","description":"Enables the set_title command without any pre-configured scope.","commands":{"allow":["set_title"],"deny":[]}},"allow-set-title-bar-style":{"identifier":"allow-set-title-bar-style","description":"Enables the set_title_bar_style command without any pre-configured scope.","commands":{"allow":["set_title_bar_style"],"deny":[]}},"allow-set-visible-on-all-workspaces":{"identifier":"allow-set-visible-on-all-workspaces","description":"Enables the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":["set_visible_on_all_workspaces"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"allow-start-dragging":{"identifier":"allow-start-dragging","description":"Enables the start_dragging command without any pre-configured scope.","commands":{"allow":["start_dragging"],"deny":[]}},"allow-start-resize-dragging":{"identifier":"allow-start-resize-dragging","description":"Enables the start_resize_dragging command without any pre-configured scope.","commands":{"allow":["start_resize_dragging"],"deny":[]}},"allow-theme":{"identifier":"allow-theme","description":"Enables the theme command without any pre-configured scope.","commands":{"allow":["theme"],"deny":[]}},"allow-title":{"identifier":"allow-title","description":"Enables the title command without any pre-configured scope.","commands":{"allow":["title"],"deny":[]}},"allow-toggle-maximize":{"identifier":"allow-toggle-maximize","description":"Enables the toggle_maximize command without any pre-configured scope.","commands":{"allow":["toggle_maximize"],"deny":[]}},"allow-unmaximize":{"identifier":"allow-unmaximize","description":"Enables the unmaximize command without any pre-configured scope.","commands":{"allow":["unmaximize"],"deny":[]}},"allow-unminimize":{"identifier":"allow-unminimize","description":"Enables the unminimize command without any pre-configured scope.","commands":{"allow":["unminimize"],"deny":[]}},"deny-activity-name":{"identifier":"deny-activity-name","description":"Denies the activity_name command without any pre-configured scope.","commands":{"allow":[],"deny":["activity_name"]}},"deny-available-monitors":{"identifier":"deny-available-monitors","description":"Denies the available_monitors command without any pre-configured scope.","commands":{"allow":[],"deny":["available_monitors"]}},"deny-center":{"identifier":"deny-center","description":"Denies the center command without any pre-configured scope.","commands":{"allow":[],"deny":["center"]}},"deny-close":{"identifier":"deny-close","description":"Denies the close command without any pre-configured scope.","commands":{"allow":[],"deny":["close"]}},"deny-create":{"identifier":"deny-create","description":"Denies the create command without any pre-configured scope.","commands":{"allow":[],"deny":["create"]}},"deny-current-monitor":{"identifier":"deny-current-monitor","description":"Denies the current_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["current_monitor"]}},"deny-cursor-position":{"identifier":"deny-cursor-position","description":"Denies the cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["cursor_position"]}},"deny-destroy":{"identifier":"deny-destroy","description":"Denies the destroy command without any pre-configured scope.","commands":{"allow":[],"deny":["destroy"]}},"deny-get-all-windows":{"identifier":"deny-get-all-windows","description":"Denies the get_all_windows command without any pre-configured scope.","commands":{"allow":[],"deny":["get_all_windows"]}},"deny-hide":{"identifier":"deny-hide","description":"Denies the hide command without any pre-configured scope.","commands":{"allow":[],"deny":["hide"]}},"deny-inner-position":{"identifier":"deny-inner-position","description":"Denies the inner_position command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_position"]}},"deny-inner-size":{"identifier":"deny-inner-size","description":"Denies the inner_size command without any pre-configured scope.","commands":{"allow":[],"deny":["inner_size"]}},"deny-internal-toggle-maximize":{"identifier":"deny-internal-toggle-maximize","description":"Denies the internal_toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["internal_toggle_maximize"]}},"deny-is-always-on-top":{"identifier":"deny-is-always-on-top","description":"Denies the is_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["is_always_on_top"]}},"deny-is-closable":{"identifier":"deny-is-closable","description":"Denies the is_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_closable"]}},"deny-is-decorated":{"identifier":"deny-is-decorated","description":"Denies the is_decorated command without any pre-configured scope.","commands":{"allow":[],"deny":["is_decorated"]}},"deny-is-enabled":{"identifier":"deny-is-enabled","description":"Denies the is_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["is_enabled"]}},"deny-is-focused":{"identifier":"deny-is-focused","description":"Denies the is_focused command without any pre-configured scope.","commands":{"allow":[],"deny":["is_focused"]}},"deny-is-fullscreen":{"identifier":"deny-is-fullscreen","description":"Denies the is_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["is_fullscreen"]}},"deny-is-maximizable":{"identifier":"deny-is-maximizable","description":"Denies the is_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximizable"]}},"deny-is-maximized":{"identifier":"deny-is-maximized","description":"Denies the is_maximized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_maximized"]}},"deny-is-minimizable":{"identifier":"deny-is-minimizable","description":"Denies the is_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimizable"]}},"deny-is-minimized":{"identifier":"deny-is-minimized","description":"Denies the is_minimized command without any pre-configured scope.","commands":{"allow":[],"deny":["is_minimized"]}},"deny-is-resizable":{"identifier":"deny-is-resizable","description":"Denies the is_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["is_resizable"]}},"deny-is-visible":{"identifier":"deny-is-visible","description":"Denies the is_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["is_visible"]}},"deny-maximize":{"identifier":"deny-maximize","description":"Denies the maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["maximize"]}},"deny-minimize":{"identifier":"deny-minimize","description":"Denies the minimize command without any pre-configured scope.","commands":{"allow":[],"deny":["minimize"]}},"deny-monitor-from-point":{"identifier":"deny-monitor-from-point","description":"Denies the monitor_from_point command without any pre-configured scope.","commands":{"allow":[],"deny":["monitor_from_point"]}},"deny-outer-position":{"identifier":"deny-outer-position","description":"Denies the outer_position command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_position"]}},"deny-outer-size":{"identifier":"deny-outer-size","description":"Denies the outer_size command without any pre-configured scope.","commands":{"allow":[],"deny":["outer_size"]}},"deny-primary-monitor":{"identifier":"deny-primary-monitor","description":"Denies the primary_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["primary_monitor"]}},"deny-request-user-attention":{"identifier":"deny-request-user-attention","description":"Denies the request_user_attention command without any pre-configured scope.","commands":{"allow":[],"deny":["request_user_attention"]}},"deny-scale-factor":{"identifier":"deny-scale-factor","description":"Denies the scale_factor command without any pre-configured scope.","commands":{"allow":[],"deny":["scale_factor"]}},"deny-scene-identifier":{"identifier":"deny-scene-identifier","description":"Denies the scene_identifier command without any pre-configured scope.","commands":{"allow":[],"deny":["scene_identifier"]}},"deny-set-always-on-bottom":{"identifier":"deny-set-always-on-bottom","description":"Denies the set_always_on_bottom command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_bottom"]}},"deny-set-always-on-top":{"identifier":"deny-set-always-on-top","description":"Denies the set_always_on_top command without any pre-configured scope.","commands":{"allow":[],"deny":["set_always_on_top"]}},"deny-set-background-color":{"identifier":"deny-set-background-color","description":"Denies the set_background_color command without any pre-configured scope.","commands":{"allow":[],"deny":["set_background_color"]}},"deny-set-badge-count":{"identifier":"deny-set-badge-count","description":"Denies the set_badge_count command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_count"]}},"deny-set-badge-label":{"identifier":"deny-set-badge-label","description":"Denies the set_badge_label command without any pre-configured scope.","commands":{"allow":[],"deny":["set_badge_label"]}},"deny-set-closable":{"identifier":"deny-set-closable","description":"Denies the set_closable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_closable"]}},"deny-set-content-protected":{"identifier":"deny-set-content-protected","description":"Denies the set_content_protected command without any pre-configured scope.","commands":{"allow":[],"deny":["set_content_protected"]}},"deny-set-cursor-grab":{"identifier":"deny-set-cursor-grab","description":"Denies the set_cursor_grab command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_grab"]}},"deny-set-cursor-icon":{"identifier":"deny-set-cursor-icon","description":"Denies the set_cursor_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_icon"]}},"deny-set-cursor-position":{"identifier":"deny-set-cursor-position","description":"Denies the set_cursor_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_position"]}},"deny-set-cursor-visible":{"identifier":"deny-set-cursor-visible","description":"Denies the set_cursor_visible command without any pre-configured scope.","commands":{"allow":[],"deny":["set_cursor_visible"]}},"deny-set-decorations":{"identifier":"deny-set-decorations","description":"Denies the set_decorations command without any pre-configured scope.","commands":{"allow":[],"deny":["set_decorations"]}},"deny-set-effects":{"identifier":"deny-set-effects","description":"Denies the set_effects command without any pre-configured scope.","commands":{"allow":[],"deny":["set_effects"]}},"deny-set-enabled":{"identifier":"deny-set-enabled","description":"Denies the set_enabled command without any pre-configured scope.","commands":{"allow":[],"deny":["set_enabled"]}},"deny-set-focus":{"identifier":"deny-set-focus","description":"Denies the set_focus command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focus"]}},"deny-set-focusable":{"identifier":"deny-set-focusable","description":"Denies the set_focusable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_focusable"]}},"deny-set-fullscreen":{"identifier":"deny-set-fullscreen","description":"Denies the set_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen"]}},"deny-set-fullscreen-on-monitor":{"identifier":"deny-set-fullscreen-on-monitor","description":"Denies the set_fullscreen_on_monitor command without any pre-configured scope.","commands":{"allow":[],"deny":["set_fullscreen_on_monitor"]}},"deny-set-icon":{"identifier":"deny-set-icon","description":"Denies the set_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_icon"]}},"deny-set-ignore-cursor-events":{"identifier":"deny-set-ignore-cursor-events","description":"Denies the set_ignore_cursor_events command without any pre-configured scope.","commands":{"allow":[],"deny":["set_ignore_cursor_events"]}},"deny-set-max-size":{"identifier":"deny-set-max-size","description":"Denies the set_max_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_max_size"]}},"deny-set-maximizable":{"identifier":"deny-set-maximizable","description":"Denies the set_maximizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_maximizable"]}},"deny-set-min-size":{"identifier":"deny-set-min-size","description":"Denies the set_min_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_min_size"]}},"deny-set-minimizable":{"identifier":"deny-set-minimizable","description":"Denies the set_minimizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_minimizable"]}},"deny-set-overlay-icon":{"identifier":"deny-set-overlay-icon","description":"Denies the set_overlay_icon command without any pre-configured scope.","commands":{"allow":[],"deny":["set_overlay_icon"]}},"deny-set-position":{"identifier":"deny-set-position","description":"Denies the set_position command without any pre-configured scope.","commands":{"allow":[],"deny":["set_position"]}},"deny-set-progress-bar":{"identifier":"deny-set-progress-bar","description":"Denies the set_progress_bar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_progress_bar"]}},"deny-set-resizable":{"identifier":"deny-set-resizable","description":"Denies the set_resizable command without any pre-configured scope.","commands":{"allow":[],"deny":["set_resizable"]}},"deny-set-shadow":{"identifier":"deny-set-shadow","description":"Denies the set_shadow command without any pre-configured scope.","commands":{"allow":[],"deny":["set_shadow"]}},"deny-set-simple-fullscreen":{"identifier":"deny-set-simple-fullscreen","description":"Denies the set_simple_fullscreen command without any pre-configured scope.","commands":{"allow":[],"deny":["set_simple_fullscreen"]}},"deny-set-size":{"identifier":"deny-set-size","description":"Denies the set_size command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size"]}},"deny-set-size-constraints":{"identifier":"deny-set-size-constraints","description":"Denies the set_size_constraints command without any pre-configured scope.","commands":{"allow":[],"deny":["set_size_constraints"]}},"deny-set-skip-taskbar":{"identifier":"deny-set-skip-taskbar","description":"Denies the set_skip_taskbar command without any pre-configured scope.","commands":{"allow":[],"deny":["set_skip_taskbar"]}},"deny-set-theme":{"identifier":"deny-set-theme","description":"Denies the set_theme command without any pre-configured scope.","commands":{"allow":[],"deny":["set_theme"]}},"deny-set-title":{"identifier":"deny-set-title","description":"Denies the set_title command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title"]}},"deny-set-title-bar-style":{"identifier":"deny-set-title-bar-style","description":"Denies the set_title_bar_style command without any pre-configured scope.","commands":{"allow":[],"deny":["set_title_bar_style"]}},"deny-set-visible-on-all-workspaces":{"identifier":"deny-set-visible-on-all-workspaces","description":"Denies the set_visible_on_all_workspaces command without any pre-configured scope.","commands":{"allow":[],"deny":["set_visible_on_all_workspaces"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}},"deny-start-dragging":{"identifier":"deny-start-dragging","description":"Denies the start_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_dragging"]}},"deny-start-resize-dragging":{"identifier":"deny-start-resize-dragging","description":"Denies the start_resize_dragging command without any pre-configured scope.","commands":{"allow":[],"deny":["start_resize_dragging"]}},"deny-theme":{"identifier":"deny-theme","description":"Denies the theme command without any pre-configured scope.","commands":{"allow":[],"deny":["theme"]}},"deny-title":{"identifier":"deny-title","description":"Denies the title command without any pre-configured scope.","commands":{"allow":[],"deny":["title"]}},"deny-toggle-maximize":{"identifier":"deny-toggle-maximize","description":"Denies the toggle_maximize command without any pre-configured scope.","commands":{"allow":[],"deny":["toggle_maximize"]}},"deny-unmaximize":{"identifier":"deny-unmaximize","description":"Denies the unmaximize command without any pre-configured scope.","commands":{"allow":[],"deny":["unmaximize"]}},"deny-unminimize":{"identifier":"deny-unminimize","description":"Denies the unminimize command without any pre-configured scope.","commands":{"allow":[],"deny":["unminimize"]}}},"permission_sets":{},"global_scope_schema":null},"notification":{"default_permission":{"identifier":"default","description":"This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n","permissions":["allow-is-permission-granted","allow-request-permission","allow-notify","allow-register-action-types","allow-register-listener","allow-remove-listener","allow-cancel","allow-get-pending","allow-remove-active","allow-get-active","allow-check-permissions","allow-show","allow-batch","allow-list-channels","allow-delete-channel","allow-create-channel","allow-permission-state"]},"permissions":{"allow-batch":{"identifier":"allow-batch","description":"Enables the batch command without any pre-configured scope.","commands":{"allow":["batch"],"deny":[]}},"allow-cancel":{"identifier":"allow-cancel","description":"Enables the cancel command without any pre-configured scope.","commands":{"allow":["cancel"],"deny":[]}},"allow-check-permissions":{"identifier":"allow-check-permissions","description":"Enables the check_permissions command without any pre-configured scope.","commands":{"allow":["check_permissions"],"deny":[]}},"allow-create-channel":{"identifier":"allow-create-channel","description":"Enables the create_channel command without any pre-configured scope.","commands":{"allow":["create_channel"],"deny":[]}},"allow-delete-channel":{"identifier":"allow-delete-channel","description":"Enables the delete_channel command without any pre-configured scope.","commands":{"allow":["delete_channel"],"deny":[]}},"allow-get-active":{"identifier":"allow-get-active","description":"Enables the get_active command without any pre-configured scope.","commands":{"allow":["get_active"],"deny":[]}},"allow-get-pending":{"identifier":"allow-get-pending","description":"Enables the get_pending command without any pre-configured scope.","commands":{"allow":["get_pending"],"deny":[]}},"allow-is-permission-granted":{"identifier":"allow-is-permission-granted","description":"Enables the is_permission_granted command without any pre-configured scope.","commands":{"allow":["is_permission_granted"],"deny":[]}},"allow-list-channels":{"identifier":"allow-list-channels","description":"Enables the list_channels command without any pre-configured scope.","commands":{"allow":["list_channels"],"deny":[]}},"allow-notify":{"identifier":"allow-notify","description":"Enables the notify command without any pre-configured scope.","commands":{"allow":["notify"],"deny":[]}},"allow-permission-state":{"identifier":"allow-permission-state","description":"Enables the permission_state command without any pre-configured scope.","commands":{"allow":["permission_state"],"deny":[]}},"allow-register-action-types":{"identifier":"allow-register-action-types","description":"Enables the register_action_types command without any pre-configured scope.","commands":{"allow":["register_action_types"],"deny":[]}},"allow-register-listener":{"identifier":"allow-register-listener","description":"Enables the register_listener command without any pre-configured scope.","commands":{"allow":["register_listener"],"deny":[]}},"allow-remove-active":{"identifier":"allow-remove-active","description":"Enables the remove_active command without any pre-configured scope.","commands":{"allow":["remove_active"],"deny":[]}},"allow-remove-listener":{"identifier":"allow-remove-listener","description":"Enables the remove_listener command without any pre-configured scope.","commands":{"allow":["remove_listener"],"deny":[]}},"allow-request-permission":{"identifier":"allow-request-permission","description":"Enables the request_permission command without any pre-configured scope.","commands":{"allow":["request_permission"],"deny":[]}},"allow-show":{"identifier":"allow-show","description":"Enables the show command without any pre-configured scope.","commands":{"allow":["show"],"deny":[]}},"deny-batch":{"identifier":"deny-batch","description":"Denies the batch command without any pre-configured scope.","commands":{"allow":[],"deny":["batch"]}},"deny-cancel":{"identifier":"deny-cancel","description":"Denies the cancel command without any pre-configured scope.","commands":{"allow":[],"deny":["cancel"]}},"deny-check-permissions":{"identifier":"deny-check-permissions","description":"Denies the check_permissions command without any pre-configured scope.","commands":{"allow":[],"deny":["check_permissions"]}},"deny-create-channel":{"identifier":"deny-create-channel","description":"Denies the create_channel command without any pre-configured scope.","commands":{"allow":[],"deny":["create_channel"]}},"deny-delete-channel":{"identifier":"deny-delete-channel","description":"Denies the delete_channel command without any pre-configured scope.","commands":{"allow":[],"deny":["delete_channel"]}},"deny-get-active":{"identifier":"deny-get-active","description":"Denies the get_active command without any pre-configured scope.","commands":{"allow":[],"deny":["get_active"]}},"deny-get-pending":{"identifier":"deny-get-pending","description":"Denies the get_pending command without any pre-configured scope.","commands":{"allow":[],"deny":["get_pending"]}},"deny-is-permission-granted":{"identifier":"deny-is-permission-granted","description":"Denies the is_permission_granted command without any pre-configured scope.","commands":{"allow":[],"deny":["is_permission_granted"]}},"deny-list-channels":{"identifier":"deny-list-channels","description":"Denies the list_channels command without any pre-configured scope.","commands":{"allow":[],"deny":["list_channels"]}},"deny-notify":{"identifier":"deny-notify","description":"Denies the notify command without any pre-configured scope.","commands":{"allow":[],"deny":["notify"]}},"deny-permission-state":{"identifier":"deny-permission-state","description":"Denies the permission_state command without any pre-configured scope.","commands":{"allow":[],"deny":["permission_state"]}},"deny-register-action-types":{"identifier":"deny-register-action-types","description":"Denies the register_action_types command without any pre-configured scope.","commands":{"allow":[],"deny":["register_action_types"]}},"deny-register-listener":{"identifier":"deny-register-listener","description":"Denies the register_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["register_listener"]}},"deny-remove-active":{"identifier":"deny-remove-active","description":"Denies the remove_active command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_active"]}},"deny-remove-listener":{"identifier":"deny-remove-listener","description":"Denies the remove_listener command without any pre-configured scope.","commands":{"allow":[],"deny":["remove_listener"]}},"deny-request-permission":{"identifier":"deny-request-permission","description":"Denies the request_permission command without any pre-configured scope.","commands":{"allow":[],"deny":["request_permission"]}},"deny-show":{"identifier":"deny-show","description":"Denies the show command without any pre-configured scope.","commands":{"allow":[],"deny":["show"]}}},"permission_sets":{},"global_scope_schema":null}} \ No newline at end of file diff --git a/apps/gui/src-tauri/gen/schemas/capabilities.json b/apps/gui/src-tauri/gen/schemas/capabilities.json index e30a48d..8852d6b 100644 --- a/apps/gui/src-tauri/gen/schemas/capabilities.json +++ b/apps/gui/src-tauri/gen/schemas/capabilities.json @@ -1 +1 @@ -{"default":{"identifier":"default","description":"Default capabilities for the main window","local":true,"windows":["main"],"permissions":["core:default","shell:allow-open","notification:default","dialog:default","core:window:allow-minimize","core:window:allow-unminimize","core:window:allow-hide","core:window:allow-show","core:window:allow-set-focus","core:window:allow-close","core:window:allow-start-dragging"]}} \ No newline at end of file +{"default":{"identifier":"default","description":"What the main window may ask Tauri for, besides the app's own commands","local":true,"windows":["main"],"permissions":["core:event:allow-listen","core:event:allow-unlisten","core:window:allow-minimize","core:window:allow-toggle-maximize","core:window:allow-internal-toggle-maximize","core:window:allow-start-dragging","core:webview:allow-internal-toggle-devtools"]}} \ No newline at end of file diff --git a/apps/gui/src-tauri/gen/schemas/desktop-schema.json b/apps/gui/src-tauri/gen/schemas/desktop-schema.json index 862a165..7ac2b79 100644 --- a/apps/gui/src-tauri/gen/schemas/desktop-schema.json +++ b/apps/gui/src-tauri/gen/schemas/desktop-schema.json @@ -134,216 +134,6 @@ "description": "Reference a permission or permission set by identifier and extends its scope.", "type": "object", "allOf": [ - { - "if": { - "properties": { - "identifier": { - "anyOf": [ - { - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`", - "type": "string", - "const": "shell:default", - "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" - }, - { - "description": "Enables the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-execute", - "markdownDescription": "Enables the execute command without any pre-configured scope." - }, - { - "description": "Enables the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-kill", - "markdownDescription": "Enables the kill command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-spawn", - "markdownDescription": "Enables the spawn command without any pre-configured scope." - }, - { - "description": "Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-stdin-write", - "markdownDescription": "Enables the stdin_write command without any pre-configured scope." - }, - { - "description": "Denies the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-execute", - "markdownDescription": "Denies the execute command without any pre-configured scope." - }, - { - "description": "Denies the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-kill", - "markdownDescription": "Denies the kill command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-spawn", - "markdownDescription": "Denies the spawn command without any pre-configured scope." - }, - { - "description": "Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-stdin-write", - "markdownDescription": "Denies the stdin_write command without any pre-configured scope." - } - ] - } - } - }, - "then": { - "properties": { - "allow": { - "items": { - "title": "ShellScopeEntry", - "description": "Shell scope entry.", - "anyOf": [ - { - "type": "object", - "required": [ - "cmd", - "name" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.", - "type": "string" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "name", - "sidecar" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - }, - "additionalProperties": false - } - ] - } - }, - "deny": { - "items": { - "title": "ShellScopeEntry", - "description": "Shell scope entry.", - "anyOf": [ - { - "type": "object", - "required": [ - "cmd", - "name" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.", - "type": "string" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "name", - "sidecar" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - }, - "additionalProperties": false - } - ] - } - } - } - }, - "properties": { - "identifier": { - "description": "Identifier of the permission or permission set.", - "allOf": [ - { - "$ref": "#/definitions/Identifier" - } - ] - } - } - }, { "properties": { "identifier": { @@ -2426,72 +2216,6 @@ "const": "core:window:deny-unminimize", "markdownDescription": "Denies the unminimize command without any pre-configured scope." }, - { - "description": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`", - "type": "string", - "const": "dialog:default", - "markdownDescription": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`" - }, - { - "description": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", - "type": "string", - "const": "dialog:allow-ask", - "markdownDescription": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" - }, - { - "description": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", - "type": "string", - "const": "dialog:allow-confirm", - "markdownDescription": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" - }, - { - "description": "Enables the message command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-message", - "markdownDescription": "Enables the message command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the save command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-save", - "markdownDescription": "Enables the save command without any pre-configured scope." - }, - { - "description": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", - "type": "string", - "const": "dialog:deny-ask", - "markdownDescription": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" - }, - { - "description": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", - "type": "string", - "const": "dialog:deny-confirm", - "markdownDescription": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" - }, - { - "description": "Denies the message command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-message", - "markdownDescription": "Denies the message command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the save command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-save", - "markdownDescription": "Denies the save command without any pre-configured scope." - }, { "description": "This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n\n#### This default permission set includes:\n\n- `allow-is-permission-granted`\n- `allow-request-permission`\n- `allow-notify`\n- `allow-register-action-types`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-cancel`\n- `allow-get-pending`\n- `allow-remove-active`\n- `allow-get-active`\n- `allow-check-permissions`\n- `allow-show`\n- `allow-batch`\n- `allow-list-channels`\n- `allow-delete-channel`\n- `allow-create-channel`\n- `allow-permission-state`", "type": "string", @@ -2701,72 +2425,6 @@ "type": "string", "const": "notification:deny-show", "markdownDescription": "Denies the show command without any pre-configured scope." - }, - { - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`", - "type": "string", - "const": "shell:default", - "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" - }, - { - "description": "Enables the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-execute", - "markdownDescription": "Enables the execute command without any pre-configured scope." - }, - { - "description": "Enables the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-kill", - "markdownDescription": "Enables the kill command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-spawn", - "markdownDescription": "Enables the spawn command without any pre-configured scope." - }, - { - "description": "Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-stdin-write", - "markdownDescription": "Enables the stdin_write command without any pre-configured scope." - }, - { - "description": "Denies the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-execute", - "markdownDescription": "Denies the execute command without any pre-configured scope." - }, - { - "description": "Denies the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-kill", - "markdownDescription": "Denies the kill command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-spawn", - "markdownDescription": "Denies the spawn command without any pre-configured scope." - }, - { - "description": "Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-stdin-write", - "markdownDescription": "Denies the stdin_write command without any pre-configured scope." } ] }, @@ -2863,50 +2521,6 @@ ] } ] - }, - "ShellScopeEntryAllowedArg": { - "description": "A command argument allowed to be executed by the webview API.", - "anyOf": [ - { - "description": "A non-configurable argument that is passed to the command in the order it was specified.", - "type": "string" - }, - { - "description": "A variable that is set while calling the command from the webview API.", - "type": "object", - "required": [ - "validator" - ], - "properties": { - "raw": { - "description": "Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.", - "default": false, - "type": "boolean" - }, - "validator": { - "description": "[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ", - "type": "string" - } - }, - "additionalProperties": false - } - ] - }, - "ShellScopeEntryAllowedArgs": { - "description": "A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.", - "anyOf": [ - { - "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.", - "type": "boolean" - }, - { - "description": "A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.", - "type": "array", - "items": { - "$ref": "#/definitions/ShellScopeEntryAllowedArg" - } - } - ] } } } \ No newline at end of file diff --git a/apps/gui/src-tauri/gen/schemas/windows-schema.json b/apps/gui/src-tauri/gen/schemas/windows-schema.json index 862a165..7ac2b79 100644 --- a/apps/gui/src-tauri/gen/schemas/windows-schema.json +++ b/apps/gui/src-tauri/gen/schemas/windows-schema.json @@ -134,216 +134,6 @@ "description": "Reference a permission or permission set by identifier and extends its scope.", "type": "object", "allOf": [ - { - "if": { - "properties": { - "identifier": { - "anyOf": [ - { - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`", - "type": "string", - "const": "shell:default", - "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" - }, - { - "description": "Enables the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-execute", - "markdownDescription": "Enables the execute command without any pre-configured scope." - }, - { - "description": "Enables the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-kill", - "markdownDescription": "Enables the kill command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-spawn", - "markdownDescription": "Enables the spawn command without any pre-configured scope." - }, - { - "description": "Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-stdin-write", - "markdownDescription": "Enables the stdin_write command without any pre-configured scope." - }, - { - "description": "Denies the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-execute", - "markdownDescription": "Denies the execute command without any pre-configured scope." - }, - { - "description": "Denies the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-kill", - "markdownDescription": "Denies the kill command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-spawn", - "markdownDescription": "Denies the spawn command without any pre-configured scope." - }, - { - "description": "Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-stdin-write", - "markdownDescription": "Denies the stdin_write command without any pre-configured scope." - } - ] - } - } - }, - "then": { - "properties": { - "allow": { - "items": { - "title": "ShellScopeEntry", - "description": "Shell scope entry.", - "anyOf": [ - { - "type": "object", - "required": [ - "cmd", - "name" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.", - "type": "string" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "name", - "sidecar" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - }, - "additionalProperties": false - } - ] - } - }, - "deny": { - "items": { - "title": "ShellScopeEntry", - "description": "Shell scope entry.", - "anyOf": [ - { - "type": "object", - "required": [ - "cmd", - "name" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "cmd": { - "description": "The command name. It can start with a variable that resolves to a system base directory. The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, `$LOCALDATA`, `$DESKTOP`, `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTURE`, `$PUBLIC`, `$RUNTIME`, `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$LOG`, `$TEMP`, `$APPCONFIG`, `$APPDATA`, `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.", - "type": "string" - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "object", - "required": [ - "name", - "sidecar" - ], - "properties": { - "args": { - "description": "The allowed arguments for the command execution.", - "allOf": [ - { - "$ref": "#/definitions/ShellScopeEntryAllowedArgs" - } - ] - }, - "name": { - "description": "The name for this allowed shell command configuration.\n\nThis name will be used inside of the webview API to call this command along with any specified arguments.", - "type": "string" - }, - "sidecar": { - "description": "If this command is a sidecar command.", - "type": "boolean" - } - }, - "additionalProperties": false - } - ] - } - } - } - }, - "properties": { - "identifier": { - "description": "Identifier of the permission or permission set.", - "allOf": [ - { - "$ref": "#/definitions/Identifier" - } - ] - } - } - }, { "properties": { "identifier": { @@ -2426,72 +2216,6 @@ "const": "core:window:deny-unminimize", "markdownDescription": "Denies the unminimize command without any pre-configured scope." }, - { - "description": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`", - "type": "string", - "const": "dialog:default", - "markdownDescription": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`" - }, - { - "description": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", - "type": "string", - "const": "dialog:allow-ask", - "markdownDescription": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" - }, - { - "description": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", - "type": "string", - "const": "dialog:allow-confirm", - "markdownDescription": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" - }, - { - "description": "Enables the message command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-message", - "markdownDescription": "Enables the message command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the save command without any pre-configured scope.", - "type": "string", - "const": "dialog:allow-save", - "markdownDescription": "Enables the save command without any pre-configured scope." - }, - { - "description": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", - "type": "string", - "const": "dialog:deny-ask", - "markdownDescription": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" - }, - { - "description": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", - "type": "string", - "const": "dialog:deny-confirm", - "markdownDescription": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" - }, - { - "description": "Denies the message command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-message", - "markdownDescription": "Denies the message command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the save command without any pre-configured scope.", - "type": "string", - "const": "dialog:deny-save", - "markdownDescription": "Denies the save command without any pre-configured scope." - }, { "description": "This permission set configures which\nnotification features are by default exposed.\n\n#### Granted Permissions\n\nIt allows all notification related features.\n\n\n#### This default permission set includes:\n\n- `allow-is-permission-granted`\n- `allow-request-permission`\n- `allow-notify`\n- `allow-register-action-types`\n- `allow-register-listener`\n- `allow-remove-listener`\n- `allow-cancel`\n- `allow-get-pending`\n- `allow-remove-active`\n- `allow-get-active`\n- `allow-check-permissions`\n- `allow-show`\n- `allow-batch`\n- `allow-list-channels`\n- `allow-delete-channel`\n- `allow-create-channel`\n- `allow-permission-state`", "type": "string", @@ -2701,72 +2425,6 @@ "type": "string", "const": "notification:deny-show", "markdownDescription": "Denies the show command without any pre-configured scope." - }, - { - "description": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`", - "type": "string", - "const": "shell:default", - "markdownDescription": "This permission set configures which\nshell functionality is exposed by default.\n\n#### Granted Permissions\n\nIt allows to use the `open` functionality with a reasonable\nscope pre-configured. It will allow opening `http(s)://`,\n`tel:` and `mailto:` links.\n\n#### This default permission set includes:\n\n- `allow-open`" - }, - { - "description": "Enables the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-execute", - "markdownDescription": "Enables the execute command without any pre-configured scope." - }, - { - "description": "Enables the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-kill", - "markdownDescription": "Enables the kill command without any pre-configured scope." - }, - { - "description": "Enables the open command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-open", - "markdownDescription": "Enables the open command without any pre-configured scope." - }, - { - "description": "Enables the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-spawn", - "markdownDescription": "Enables the spawn command without any pre-configured scope." - }, - { - "description": "Enables the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:allow-stdin-write", - "markdownDescription": "Enables the stdin_write command without any pre-configured scope." - }, - { - "description": "Denies the execute command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-execute", - "markdownDescription": "Denies the execute command without any pre-configured scope." - }, - { - "description": "Denies the kill command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-kill", - "markdownDescription": "Denies the kill command without any pre-configured scope." - }, - { - "description": "Denies the open command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-open", - "markdownDescription": "Denies the open command without any pre-configured scope." - }, - { - "description": "Denies the spawn command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-spawn", - "markdownDescription": "Denies the spawn command without any pre-configured scope." - }, - { - "description": "Denies the stdin_write command without any pre-configured scope.", - "type": "string", - "const": "shell:deny-stdin-write", - "markdownDescription": "Denies the stdin_write command without any pre-configured scope." } ] }, @@ -2863,50 +2521,6 @@ ] } ] - }, - "ShellScopeEntryAllowedArg": { - "description": "A command argument allowed to be executed by the webview API.", - "anyOf": [ - { - "description": "A non-configurable argument that is passed to the command in the order it was specified.", - "type": "string" - }, - { - "description": "A variable that is set while calling the command from the webview API.", - "type": "object", - "required": [ - "validator" - ], - "properties": { - "raw": { - "description": "Marks the validator as a raw regex, meaning the plugin should not make any modification at runtime.\n\nThis means the regex will not match on the entire string by default, which might be exploited if your regex allow unexpected input to be considered valid. When using this option, make sure your regex is correct.", - "default": false, - "type": "boolean" - }, - "validator": { - "description": "[regex] validator to require passed values to conform to an expected input.\n\nThis will require the argument value passed to this variable to match the `validator` regex before it will be executed.\n\nThe regex string is by default surrounded by `^...$` to match the full string. For example the `https?://\\w+` regex would be registered as `^https?://\\w+$`.\n\n[regex]: ", - "type": "string" - } - }, - "additionalProperties": false - } - ] - }, - "ShellScopeEntryAllowedArgs": { - "description": "A set of command arguments allowed to be executed by the webview API.\n\nA value of `true` will allow any arguments to be passed to the command. `false` will disable all arguments. A list of [`ShellScopeEntryAllowedArg`] will set those arguments as the only valid arguments to be passed to the attached command configuration.", - "anyOf": [ - { - "description": "Use a simple boolean to allow all or disable all arguments to this command configuration.", - "type": "boolean" - }, - { - "description": "A specific set of [`ShellScopeEntryAllowedArg`] that are valid to call for the command configuration.", - "type": "array", - "items": { - "$ref": "#/definitions/ShellScopeEntryAllowedArg" - } - } - ] } } } \ No newline at end of file diff --git a/apps/gui/src-tauri/src/background.rs b/apps/gui/src-tauri/src/background.rs new file mode 100644 index 0000000..3da1c0e --- /dev/null +++ b/apps/gui/src-tauri/src/background.rs @@ -0,0 +1,70 @@ +//! Looking for updates while the app sits in the tray. +//! +//! The interval in Settings was saved and shown, and nothing ever looked at +//! it. This is what does: every so often it asks the window to scan again, and +//! the scan command shows a notification when it found something. + +use std::time::{Duration, Instant}; + +use tauri::{AppHandle, Emitter, Manager}; + +use crate::state::AppState; + +/// How often to check whether a scan is due. Short, so that a changed setting +/// and a computer waking from sleep are noticed soon. +const TICK: Duration = Duration::from_secs(60); + +pub fn start(app: AppHandle) { + tauri::async_runtime::spawn(async move { + // The window scans when it opens; the first round starts from there. + let mut last = Instant::now(); + loop { + tokio::time::sleep(TICK).await; + let state = app.state::(); + let due = is_due( + last.elapsed(), + state.config().scan_interval_hours, + state.is_applying(), + odysync_core::platform::power_source().allows_background_work(), + ); + if due { + last = Instant::now(); + state.mark_background_scan(); + let _ = app.emit("background-scan", ()); + } + } + }); +} + +/// Whether a background scan should start now. An interval of 0 means the user +/// wants to start scans themselves. +fn is_due(since: Duration, interval_hours: u32, applying: bool, on_mains: bool) -> bool { + interval_hours > 0 + && since >= Duration::from_secs(u64::from(interval_hours) * 3600) + && !applying + && on_mains +} + +#[cfg(test)] +mod tests { + use super::*; + + const HOUR: Duration = Duration::from_secs(3600); + + #[test] + fn a_scan_is_due_after_the_interval_and_not_before() { + assert!(is_due(6 * HOUR, 6, false, true)); + assert!(!is_due(5 * HOUR, 6, false, true)); + } + + #[test] + fn manual_only_means_never() { + assert!(!is_due(1000 * HOUR, 0, false, true)); + } + + #[test] + fn not_while_installing_and_not_on_battery() { + assert!(!is_due(6 * HOUR, 6, true, true)); + assert!(!is_due(6 * HOUR, 6, false, false)); + } +} diff --git a/apps/gui/src-tauri/src/commands.rs b/apps/gui/src-tauri/src/commands.rs index e68fd56..db70944 100644 --- a/apps/gui/src-tauri/src/commands.rs +++ b/apps/gui/src-tauri/src/commands.rs @@ -174,6 +174,7 @@ pub struct ApplyEntryDto { pub struct ApplyRequest { pub updates: Vec, pub dry_run: bool, + /// Decides for this run; the setting is where the checkbox starts from. pub restore_point: bool, } @@ -243,9 +244,7 @@ pub struct ConfigDto { pub profiles: Vec, pub restore_point: bool, pub scan_interval_hours: u32, - pub concurrency: u32, pub proxy_url: Option, - pub auto_apply: bool, pub notifications: bool, pub max_retries: u32, pub backend_timeout_secs: u32, @@ -281,9 +280,7 @@ impl From<&Config> for ConfigDto { .collect(), restore_point: c.restore_point, scan_interval_hours: c.scan_interval_hours, - concurrency: c.concurrency, proxy_url: c.proxy_url.clone(), - auto_apply: c.auto_apply, notifications: c.notifications, max_retries: c.max_retries, backend_timeout_secs: c.backend_timeout_secs, @@ -309,9 +306,7 @@ impl ConfigDto { config.enabled_backends = self.enabled_backends; config.restore_point = self.restore_point; config.scan_interval_hours = self.scan_interval_hours.min(24 * 7); - config.concurrency = self.concurrency.clamp(1, 16); config.proxy_url = self.proxy_url.filter(|s| !s.trim().is_empty()); - config.auto_apply = self.auto_apply; config.notifications = self.notifications; config.max_retries = self.max_retries.min(10); config.backend_timeout_secs = self.backend_timeout_secs.clamp(10, 3600); @@ -337,28 +332,33 @@ fn backend_kind_from_str(s: &str) -> Option { // ── Tauri commands ─────────────────────────────────────────────────────────── #[tauri::command] -pub async fn scan(state: State<'_, AppState>) -> Result { +pub async fn scan(app: AppHandle, state: State<'_, AppState>) -> Result { let config = state.config(); + let (cancel, generation) = state.begin_scan(); let probed = state.probed_backends().await; - let usable: Vec<_> = probed.iter().filter(|p| p.usable()).collect(); + let usable: Vec<&dyn odysync_core::backend::Backend> = probed + .iter() + .filter(|p| p.usable()) + .map(|p| p.backend.as_ref()) + .collect(); tracing::info!(backends = usable.len(), "starting scan"); - let results = futures::future::join_all(usable.iter().map(|p| async { - let kind_id = p.backend.kind().id().to_string(); - (kind_id, p.backend.scan().await) - })) - .await; + let limit = std::time::Duration::from_secs(u64::from(config.backend_timeout_secs.max(10))); + let emit = |p: odysync_backends::scan::ScanProgress| { + let _ = app.emit("scan-progress", &p); + }; + let results = odysync_backends::scan::scan_sources(&usable, limit, &cancel, &emit).await; let mut actionable = Vec::new(); let mut skipped = Vec::new(); let mut failed_backends = Vec::new(); let mut cache = crate::state::ScanCache::new(); - for (kind_id, result) in results { - let candidates = match result { + for source in results { + let kind_id = source.kind.id().to_string(); + let candidates = match source.result { Ok(c) => c, Err(e) => { - tracing::warn!(backend = %kind_id, error = %e, "scan failed"); failed_backends.push(BackendErrorDto { backend: kind_id, error: e.sanitize(), @@ -392,7 +392,7 @@ pub async fn scan(state: State<'_, AppState>) -> Result { } } - state.replace_scan_cache(cache); + state.adopt_scan(cache, generation); let total = actionable.len() + skipped.len(); tracing::info!( @@ -402,6 +402,9 @@ pub async fn scan(state: State<'_, AppState>) -> Result { failed = failed_backends.len(), "scan complete" ); + if state.take_background_scan() && config.notifications && !actionable.is_empty() { + announce_updates(&app, actionable.len()); + } Ok(ScanResult { actionable, skipped, @@ -410,12 +413,61 @@ pub async fn scan(state: State<'_, AppState>) -> Result { }) } +/// Stop the running scan. What has answered so far is kept. +#[tauri::command] +pub async fn cancel_scan(state: State<'_, AppState>) -> Result<(), String> { + state.cancel_scan(); + Ok(()) +} + +/// Stop installing after the package in progress. +#[tauri::command] +pub async fn cancel_apply(state: State<'_, AppState>) -> Result<(), String> { + state.cancel_apply(); + Ok(()) +} + +/// Tell the user about updates a background scan found, unless they are +/// looking at the window that already shows them. +fn announce_updates(app: &AppHandle, count: usize) { + use tauri::Manager; + use tauri_plugin_notification::NotificationExt; + + let looking = app + .get_webview_window("main") + .is_some_and(|w| w.is_visible().unwrap_or(false) && w.is_focused().unwrap_or(false)); + if looking { + return; + } + let body = if count == 1 { + "1 update is ready to install.".to_string() + } else { + format!("{count} updates are ready to install.") + }; + if let Err(e) = app + .notification() + .builder() + .title("Odysync") + .body(body) + .show() + { + tracing::warn!(error = %e, "could not show a notification"); + } +} + #[tauri::command] pub async fn apply( app: AppHandle, request: ApplyRequest, state: State<'_, AppState>, ) -> Result { + let _claim = state.claim_apply()?; + // The scheduler and a terminal are separate processes. + let _lock = if request.dry_run { + None + } else { + Some(odysync_core::ApplyLock::acquire().map_err(|e| e.to_string())?) + }; tracing::info!( count = request.updates.len(), dry_run = request.dry_run, @@ -472,7 +524,9 @@ pub async fn apply( let plan = config.policy.plan(candidates_to_apply); - let mut runner = Runner::new(backends, request.dry_run).with_max_retries(config.max_retries); + let mut runner = Runner::new(backends, request.dry_run) + .with_max_retries(config.max_retries) + .with_cancel(state.cancel_flag()); if !request.dry_run { // Record what happened so the History page has something to show. runner = runner.with_history(odysync_core::history::UpdateHistory::load()); @@ -481,12 +535,7 @@ pub async fn apply( let emitter = TauriProgressEmitter { app: app.clone() }; let mut report = RunReport::new(); runner - .run_with_progress( - &plan, - &mut report, - request.restore_point || config.restore_point, - Some(&emitter), - ) + .run_with_progress(&plan, &mut report, request.restore_point, Some(&emitter)) .await; let entries: Vec = report @@ -513,7 +562,7 @@ pub async fn apply( // Anything applied invalidates the scan; let every page know. if !request.dry_run { - state.replace_scan_cache(crate::state::ScanCache::new()); + state.forget_scans(); let _ = app.emit("apply-finished", ()); } @@ -595,11 +644,33 @@ pub async fn hold(request: HoldRequest, state: State<'_, AppState>) -> Result<() #[tauri::command] pub async fn unhold(request: HoldRequest, state: State<'_, AppState>) -> Result<(), String> { let mut config = state.config(); - let Some(kind) = backend_kind_from_str(&request.backend) else { - return Err(format!("unknown backend: {}", request.backend)); - }; - let id = PackageId::new(kind, request.id); - config.policy.holds.retain(|h| h.package != id.to_string()); + // What the list in Settings shows is the text of the hold, and one written + // by hand may name no source. + let text = request.id.trim(); + let before = config.policy.holds.len(); + config + .policy + .holds + .retain(|h| !h.package.trim().eq_ignore_ascii_case(text)); + let mut released = before - config.policy.holds.len(); + + if let Some(kind) = backend_kind_from_str(&request.backend) { + let mut id = PackageId::new(kind, text); + // A hold can also name the alias, which only the scan knows. + if let Some(alias) = state + .scan_cache() + .get(kind.id()) + .and_then(|found| found.iter().find(|c| c.id == id)) + .and_then(|c| c.id.alias.clone()) + { + id = id.with_alias(alias); + } + released += config.policy.release(&id); + } + + if released == 0 { + return Err(format!("{text} is not held")); + } state.save_config(config).map_err(|e| e.to_string()) } @@ -734,23 +805,6 @@ pub async fn get_system_info(state: State<'_, AppState>) -> Result, -) -> Result { - let result = scan(state).await?; - - if !result.actionable.is_empty() { - let _ = app.emit( - "updates-available", - serde_json::json!({ "count": result.actionable.len() }), - ); - } - - Ok(result) -} - // ── Update History ─────────────────────────────────────────────────────────── #[derive(Serialize)] @@ -772,7 +826,7 @@ pub async fn get_update_history() -> Result, String> { .iter() .rev() .map(|e| HistoryEntryDto { - timestamp: e.timestamp.to_rfc3339(), + timestamp: e.timestamp.to_string(), package: e.package_name.clone(), backend: e.backend.id().to_string(), from_version: e.from_version.clone(), @@ -1133,15 +1187,27 @@ pub async fn verify_offline_cache() -> Result, String> { // ── App lifecycle ──────────────────────────────────────────────────────────── +/// Leave the app. Refused while an update is being installed, unless `force`: +/// ending in the middle of an installer is how programs end up half installed. #[tauri::command] -pub async fn quit_app(app: AppHandle) -> Result<(), String> { - tracing::info!("user requested quit, exiting application"); +pub async fn quit_app( + app: AppHandle, + state: State<'_, AppState>, + force: bool, +) -> Result<(), String> { + if state.is_applying() && !force { + return Err(crate::state::APPLY_RUNNING.to_string()); + } + tracing::info!(force, "user requested quit, exiting application"); app.exit(0); Ok(()) } #[tauri::command] -pub async fn restart_as_admin(app: AppHandle) -> Result<(), String> { +pub async fn restart_as_admin(app: AppHandle, state: State<'_, AppState>) -> Result<(), String> { + if state.is_applying() { + return Err(crate::state::APPLY_RUNNING.to_string()); + } #[cfg(windows)] { use std::ffi::OsStr; @@ -1272,10 +1338,12 @@ pub async fn security_scan(app: AppHandle) -> Result, + pub tamper_protection: Option, + pub antivirus_enabled: Option, + pub signature_age_days: Option, pub signature_version: String, pub last_quick_scan: Option, pub last_full_scan: Option, @@ -1301,14 +1369,15 @@ pub async fn get_defender_status() -> Result { .map_err(|e| e.to_string())?; let s = snapshot.status.unwrap_or_default(); - // Defender reports ages in days, and "unknown" as an absent field. Treat - // absent as 0 rather than as stale so a machine we cannot read is not - // painted red on a guess. + // Ages come in days, "never" as `u32::MAX` and "unknown" as an absent + // field. Ok(DefenderStatusDto { - real_time_protection: s.real_time_protection_enabled.unwrap_or(false), - tamper_protection: s.is_tamper_protected.unwrap_or(false), - antivirus_enabled: s.antivirus_enabled.unwrap_or(false), - signature_age_days: s.antivirus_signature_age.unwrap_or(0).max(0) as u32, + real_time_protection: s.real_time_protection_enabled, + tamper_protection: s.is_tamper_protected, + antivirus_enabled: s.antivirus_enabled, + signature_age_days: s + .antivirus_signature_age + .and_then(|d| u32::try_from(d.max(0)).ok()), signature_version: s.antivirus_signature_version.unwrap_or_default(), last_quick_scan: describe_scan_age(s.quick_scan_age), last_full_scan: describe_scan_age(s.full_scan_age), @@ -1772,9 +1841,7 @@ mod tests { "enabled_backends": ["winget"], "restore_point": false, "scan_interval_hours": 6, - "concurrency": 99, "proxy_url": " ", - "auto_apply": true, "notifications": false, "max_retries": 3, "backend_timeout_secs": 5 @@ -1791,7 +1858,6 @@ mod tests { assert!(!config.skip_prerelease, "kept in sync with stable_only"); assert_eq!(config.disabled_backends, vec!["scoop".to_string()]); assert_eq!(config.enabled_backends, vec!["winget".to_string()]); - assert_eq!(config.concurrency, 16, "clamped to the supported range"); assert_eq!(config.backend_timeout_secs, 10, "clamped to the minimum"); assert_eq!(config.proxy_url, None, "blank proxy becomes None"); assert_eq!(config.scan_interval_hours, 6); @@ -1808,9 +1874,7 @@ mod tests { "profiles", "restore_point", "scan_interval_hours", - "concurrency", "proxy_url", - "auto_apply", "notifications", "max_retries", "backend_timeout_secs", diff --git a/apps/gui/src-tauri/src/lib.rs b/apps/gui/src-tauri/src/lib.rs index 4d22919..4e9e038 100644 --- a/apps/gui/src-tauri/src/lib.rs +++ b/apps/gui/src-tauri/src/lib.rs @@ -1,3 +1,4 @@ +mod background; mod commands; mod state; mod tools; @@ -32,12 +33,11 @@ pub fn run() { .init(); tauri::Builder::default() - .plugin(tauri_plugin_shell::init()) .plugin(tauri_plugin_notification::init()) - .plugin(tauri_plugin_dialog::init()) .manage(state::AppState::new()) .setup(|app| { tray::setup(app.handle())?; + background::start(app.handle().clone()); // Launched by the Windows "Run" key with --minimized: stay in the // tray instead of stealing focus during login. @@ -59,7 +59,9 @@ pub fn run() { }) .invoke_handler(tauri::generate_handler![ commands::scan, + commands::cancel_scan, commands::apply, + commands::cancel_apply, commands::list_backends, commands::refresh_backends, commands::get_config, @@ -74,7 +76,6 @@ pub fn run() { commands::create_diagnostics, commands::get_system_info, commands::report_frontend_error, - commands::background_scan, commands::get_update_history, commands::clear_update_history, commands::get_hardware_info, diff --git a/apps/gui/src-tauri/src/state.rs b/apps/gui/src-tauri/src/state.rs index 4dc5dcd..44df726 100644 --- a/apps/gui/src-tauri/src/state.rs +++ b/apps/gui/src-tauri/src/state.rs @@ -1,6 +1,8 @@ +use std::sync::atomic::{AtomicBool, Ordering}; use std::sync::{Arc, Mutex, MutexGuard}; use odysync_backends::ProbedBackend; +use odysync_backends::scan::ScanCancel; use odysync_core::config::Config; use odysync_core::model::UpdateCandidate; @@ -19,6 +21,30 @@ pub struct AppState { /// process spawn each (~36 on Windows, several of them PowerShell/CIM), so /// it is done once and reused until explicitly invalidated. backends: tokio::sync::Mutex>>>, + /// Set while updates are being installed. + applying: AtomicBool, + /// Asks the running install to stop after the current package. + cancel_apply: Arc, + /// The scan in progress, so that it can be stopped. + scan: Mutex>, + /// Counts installs that changed the machine. A scan that started before + /// one of them describes a state that is gone. + generation: std::sync::atomic::AtomicU64, + /// The next scan was started by the timer, not by a person. + background_scan: AtomicBool, +} + +/// What the app answers when something must wait for an install to end. The +/// front-end recognises it by this exact text. +pub const APPLY_RUNNING: &str = "apply-running"; + +/// Held while updates are being installed; releases the claim when dropped. +pub struct ApplyClaim<'a>(&'a AppState); + +impl Drop for ApplyClaim<'_> { + fn drop(&mut self) { + self.0.applying.store(false, Ordering::Release); + } } /// Lock a mutex, recovering from poisoning. @@ -33,9 +59,13 @@ fn lock(m: &Mutex) -> MutexGuard<'_, T> { impl AppState { pub fn new() -> Self { - let path = - Config::default_path().unwrap_or_else(|_| std::path::PathBuf::from("config.json")); + Self::with_config( + Config::default_path().unwrap_or_else(|_| std::path::PathBuf::from("config.json")), + ) + } + /// The state for the config file at `path`. + pub fn with_config(path: std::path::PathBuf) -> Self { let (config, config_load_error) = match Config::load(&path) { Ok(c) => (c, None), Err(e) => { @@ -58,15 +88,82 @@ impl AppState { } }; + odysync_backends::direct::http::set_proxy(config.proxy_url.as_deref()); + Self { config: Mutex::new(config), config_path: path, config_load_error, scan_cache: Mutex::new(ScanCache::new()), backends: tokio::sync::Mutex::new(None), + applying: AtomicBool::new(false), + cancel_apply: Arc::new(AtomicBool::new(false)), + scan: Mutex::new(None), + generation: std::sync::atomic::AtomicU64::new(0), + background_scan: AtomicBool::new(false), + } + } + + /// Whether updates are being installed right now. + pub fn is_applying(&self) -> bool { + self.applying.load(Ordering::Acquire) + } + + /// Claim the right to install, which only one run has at a time. + pub fn claim_apply(&self) -> Result, String> { + if self.applying.swap(true, Ordering::AcqRel) { + return Err(APPLY_RUNNING.to_string()); + } + self.cancel_apply.store(false, Ordering::Relaxed); + Ok(ApplyClaim(self)) + } + + /// The flag the running install watches. + pub fn cancel_flag(&self) -> Arc { + Arc::clone(&self.cancel_apply) + } + + pub fn cancel_apply(&self) { + self.cancel_apply.store(true, Ordering::Relaxed); + } + + /// Register a scan that is about to start. + pub fn begin_scan(&self) -> (ScanCancel, u64) { + let cancel = ScanCancel::new(); + *lock(&self.scan) = Some(cancel.clone()); + (cancel, self.generation.load(Ordering::Acquire)) + } + + pub fn cancel_scan(&self) { + if let Some(scan) = lock(&self.scan).as_ref() { + scan.cancel(); } } + /// Adopt what a scan found, unless something was installed meanwhile. + pub fn adopt_scan(&self, cache: ScanCache, generation: u64) { + let mut slot = lock(&self.scan_cache); + if self.generation.load(Ordering::Acquire) == generation { + *slot = cache; + } + } + + /// Something was installed: what scans found so far no longer holds. + pub fn forget_scans(&self) { + let mut slot = lock(&self.scan_cache); + self.generation.fetch_add(1, Ordering::AcqRel); + slot.clear(); + } + + pub fn mark_background_scan(&self) { + self.background_scan.store(true, Ordering::Relaxed); + } + + /// Whether the scan that just ended was the timer's; asking resets it. + pub fn take_background_scan(&self) -> bool { + self.background_scan.swap(false, Ordering::Relaxed) + } + /// A snapshot of the current config. pub fn config(&self) -> Config { lock(&self.config).clone() @@ -83,6 +180,7 @@ impl AppState { /// what the UI shows still matches what is on disk. pub fn save_config(&self, config: Config) -> odysync_core::error::Result<()> { config.save(&self.config_path)?; + odysync_backends::direct::http::set_proxy(config.proxy_url.as_deref()); self.set_config(config); Ok(()) } @@ -91,10 +189,6 @@ impl AppState { lock(&self.scan_cache).clone() } - pub fn replace_scan_cache(&self, cache: ScanCache) { - *lock(&self.scan_cache) = cache; - } - /// Probe results for every compiled-in backend, probing on first use. pub async fn probed_backends(&self) -> Arc> { let mut slot = self.backends.lock().await; @@ -120,3 +214,49 @@ impl Default for AppState { Self::new() } } + +#[cfg(test)] +mod tests { + use super::*; + + /// Never the real config file: an unreadable one would be moved aside. + fn state() -> AppState { + AppState::with_config(std::env::temp_dir().join("odysync-no-such-config.json")) + } + + #[test] + fn only_one_install_at_a_time() { + let state = state(); + let first = state.claim_apply().expect("free"); + assert!(state.is_applying()); + assert_eq!(state.claim_apply().err().as_deref(), Some(APPLY_RUNNING)); + drop(first); + assert!(!state.is_applying()); + assert!(state.claim_apply().is_ok()); + } + + #[test] + fn a_new_install_starts_uncancelled() { + let state = state(); + state.cancel_apply(); + let _claim = state.claim_apply().expect("free"); + assert!(!state.cancel_flag().load(Ordering::Relaxed)); + state.cancel_apply(); + assert!(state.cancel_flag().load(Ordering::Relaxed)); + } + + /// A scan that was already running when something was installed would + /// otherwise bring back the list from before. + #[test] + fn a_scan_from_before_an_install_is_dropped() { + let state = state(); + let found = || ScanCache::from([("direct".to_string(), Vec::new())]); + let (_, generation) = state.begin_scan(); + state.forget_scans(); + state.adopt_scan(found(), generation); + assert!(state.scan_cache().is_empty()); + let (_, generation) = state.begin_scan(); + state.adopt_scan(found(), generation); + assert_eq!(state.scan_cache().len(), 1); + } +} diff --git a/apps/gui/src-tauri/src/tools.rs b/apps/gui/src-tauri/src/tools.rs index 3d53bc9..aeb5fc9 100644 --- a/apps/gui/src-tauri/src/tools.rs +++ b/apps/gui/src-tauri/src/tools.rs @@ -123,7 +123,13 @@ pub async fn components_status() } #[tauri::command] -pub async fn component_install(id: String) -> Result { +pub async fn component_install( + id: String, + state: tauri::State<'_, crate::state::AppState>, +) -> Result { + // An installer like any other: one at a time, and quitting asks first. + let _claim = state.claim_apply()?; + let _lock = odysync_core::ApplyLock::acquire().map_err(|e| e.to_string())?; odysync_backends::components::install(&id) .await .map_err(|e| e.to_string()) @@ -212,9 +218,14 @@ pub struct DriverRestoreDto { } #[tauri::command] -pub async fn driver_backup_restore(id: String) -> Result { +pub async fn driver_backup_restore( + id: String, + state: tauri::State<'_, crate::state::AppState>, +) -> Result { + let _claim = state.claim_apply()?; #[cfg(windows)] { + let _lock = odysync_core::ApplyLock::acquire().map_err(|e| e.to_string())?; if !odysync_core::platform::is_elevated() { return Err("restoring drivers needs administrator rights — use Run as admin".into()); } diff --git a/apps/gui/src-tauri/src/tray.rs b/apps/gui/src-tauri/src/tray.rs index 2b0b6ee..69c2355 100644 --- a/apps/gui/src-tauri/src/tray.rs +++ b/apps/gui/src-tauri/src/tray.rs @@ -4,12 +4,23 @@ //! When the window is closed, the app continues running in the tray //! so scheduled background scans can still notify the user. +use crate::state::AppState; + use tauri::{ AppHandle, Emitter, Manager, menu::{Menu, MenuItem}, tray::TrayIconBuilder, }; +/// Bring the window back, also when it is minimised. +fn show_window(app: &AppHandle) { + if let Some(window) = app.get_webview_window("main") { + let _ = window.unminimize(); + let _ = window.show(); + let _ = window.set_focus(); + } +} + pub fn setup(app: &AppHandle) -> tauri::Result<()> { let show = MenuItem::with_id(app, "show", "Show Odysync", true, None::<&str>)?; let scan = MenuItem::with_id(app, "scan", "Scan for Updates", true, None::<&str>)?; @@ -23,20 +34,20 @@ pub fn setup(app: &AppHandle) -> tauri::Result<()> { .menu(&menu) .on_menu_event(|app, event| match event.id.as_ref() { "show" => { - if let Some(window) = app.get_webview_window("main") { - let _ = window.show(); - let _ = window.set_focus(); - } + show_window(app); } "scan" => { - if let Some(window) = app.get_webview_window("main") { - let _ = window.show(); - let _ = window.set_focus(); - let _ = window.emit("tray-scan", ()); - } + show_window(app); + let _ = app.emit("tray-scan", ()); } "quit" => { - app.exit(0); + // While something is being installed the window asks first. + if app.state::().is_applying() { + show_window(app); + let _ = app.emit("tray-quit", ()); + } else { + app.exit(0); + } } _ => {} }) diff --git a/apps/gui/src/App.tsx b/apps/gui/src/App.tsx index e63b04f..2736826 100644 --- a/apps/gui/src/App.tsx +++ b/apps/gui/src/App.tsx @@ -1,4 +1,4 @@ -import { useCallback, useEffect, useMemo, useState } from "react"; +import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { getCurrentWindow } from "@tauri-apps/api/window"; import { AlertTriangle, @@ -14,13 +14,17 @@ import { X, } from "lucide-react"; import * as api from "./api"; -import { StoreProvider, useStore } from "./store"; +import { StoreProvider } from "./store"; +import { useStore } from "./store-context"; import { MORE_TOOLS, NAV_GROUPS, NAV_ITEMS, TABS, isTab, type NavItem, type Tab } from "./nav"; import { safeListen } from "./events"; import { inTauri } from "./bridge"; import { useTheme } from "./theme"; import { ErrorBoundary } from "./components/ErrorBoundary"; import { Logo } from "./components/Logo"; +import { ProgressAnnouncer } from "./components/Progress"; +import { Button, ConfirmBar, ErrorBar } from "./components/ui"; +import { errorText, isApplyRunning } from "./format"; import Dashboard from "./pages/Dashboard"; import Updates from "./pages/Updates"; @@ -92,16 +96,39 @@ function Shell() { const navigate = useCallback((next: Tab) => setTab(next), []); + // While an update is being installed the page shows that instead; a fresh + // scan follows on its own. const refreshScan = store.scan.refresh; + const applying = store.apply.running; useEffect( () => safeListen("tray-scan", () => { setTab("updates"); - void refreshScan(); + if (!applying) void refreshScan(); }), - [refreshScan], + [refreshScan, applying], ); + // Quitting in the middle of an install can leave a program half installed, + // so the command refuses and the user is asked, with staying as the default. + const [askQuit, setAskQuit] = useState(false); + const [windowError, setWindowError] = useState(null); + const quit = useCallback((force: boolean) => { + setWindowError(null); + setAskQuit(false); + api.quitApp(force).catch((e: unknown) => { + if (isApplyRunning(e) && !force) setAskQuit(true); + else setWindowError(`Odysync could not quit: ${errorText(e)}`); + }); + }, []); + useEffect(() => safeListen("tray-quit", () => setAskQuit(true)), []); + const restartAsAdmin = useCallback(() => { + setWindowError(null); + api + .restartAsAdmin() + .catch((e: unknown) => setWindowError(`Not restarted as administrator. ${errorText(e)}`)); + }, []); + // Ctrl+R refreshes the data rather than reloading the webview — a reload in a // Tauri window discards every page's state and re-runs the whole startup load. const refreshAll = store.refreshAll; @@ -152,10 +179,20 @@ function Shell() { onToggleSidebar={() => setSidebarOpen((v) => !v)} theme={theme.resolved} onToggleTheme={() => theme.setChoice(theme.resolved === "dark" ? "light" : "dark")} + onQuit={() => quit(false)} + onRestartAsAdmin={restartAsAdmin} /> + {store.booting && ( -
+
)} + {askQuit && ( +
+ setAskQuit(false)} + onConfirm={() => quit(true)} + /> +
+ )} + {windowError && ( +
+ setWindowError(null)}> + Dismiss + + } + /> +
+ )} + {/* A config file we could not parse is worth interrupting for: the app is running on defaults, and the user's holds are in the .corrupt backup. */} {info?.config_error && ( @@ -206,6 +267,8 @@ function TitleBar({ onToggleSidebar, theme, onToggleTheme, + onQuit, + onRestartAsAdmin, }: { frameless: boolean; macOverlay: boolean; @@ -218,14 +281,17 @@ function TitleBar({ onToggleSidebar: () => void; theme: "light" | "dark"; onToggleTheme: () => void; + onQuit: () => void; + onRestartAsAdmin: () => void; }) { // Resolved lazily and defensively: `getCurrentWindow` throws outside a Tauri // webview, and a throw here used to blank the entire window. const windowAction = (action: "minimize" | "toggleMaximize") => { + const failed = (e: unknown) => console.error(`[odysync] ${action} failed:`, e); try { - void getCurrentWindow()[action](); + getCurrentWindow()[action]().catch(failed); } catch (e) { - console.error(`[odysync] ${action} failed:`, e); + failed(e); } }; @@ -240,6 +306,7 @@ function TitleBar({ {sidebarOpen ? : } @@ -261,7 +328,7 @@ function TitleBar({ {!elevated && platform === "windows" && (
@@ -293,12 +360,15 @@ function IconButton({ children, disabled, danger, + expanded, }: { label: string; onClick: () => void; children: React.ReactNode; disabled?: boolean; danger?: boolean; + /** For a button that opens and closes something. */ + expanded?: boolean; }) { return ( diff --git a/apps/gui/src/components/FirmwareWarning.tsx b/apps/gui/src/components/FirmwareWarning.tsx new file mode 100644 index 0000000..2d93560 --- /dev/null +++ b/apps/gui/src/components/FirmwareWarning.tsx @@ -0,0 +1,9 @@ +/** What to know before a run that includes firmware, wherever it is started. */ +export function FirmwareWarning() { + return ( + <> + Your selection includes firmware or BIOS updates. Keep the machine on mains power and do not + shut it down while they run: an interrupted firmware update can leave a device unbootable. + + ); +} diff --git a/apps/gui/src/components/OutcomeIcon.tsx b/apps/gui/src/components/OutcomeIcon.tsx new file mode 100644 index 0000000..afa0191 --- /dev/null +++ b/apps/gui/src/components/OutcomeIcon.tsx @@ -0,0 +1,28 @@ +import { CheckCircle2, Clock, XCircle } from "lucide-react"; +import type { ApplyStatus } from "../types"; + +const WORDS: Record = { + updated: "Updated", + "did-not-converge": "Failed", + "verification-failed": "Failed", + failed: "Failed", + skipped: "Skipped", +}; + +/** How an update went, as an icon for the eye and a word for a screen reader. */ +export function OutcomeIcon({ status }: { status: ApplyStatus }) { + const icon = + status === "updated" ? ( + + ) : status === "skipped" ? ( + + ) : ( + + ); + return ( + + {icon} + {WORDS[status]}: + + ); +} diff --git a/apps/gui/src/components/Progress.tsx b/apps/gui/src/components/Progress.tsx new file mode 100644 index 0000000..3461b74 --- /dev/null +++ b/apps/gui/src/components/Progress.tsx @@ -0,0 +1,143 @@ +/** The running scan and the running install, shown the same on every page. */ + +import { useState } from "react"; +import { X } from "lucide-react"; +import { errorText } from "../format"; +import { nameList } from "../scan-health"; +import { useStore } from "../store-context"; +import { Button, Card, ErrorBar, Meter } from "./ui"; + +/** A cancel button that says so when the cancel itself fails. */ +function CancelButton({ + label, + cancelling, + onCancel, +}: { + label: string; + cancelling: boolean; + onCancel: () => Promise; +}) { + const [error, setError] = useState(null); + return ( +
+ + {error && } +
+ ); +} + +/** "Checked 12 of 21 sources, still waiting for Windows Update". */ +export function ScanProgressView() { + const { scan } = useStore(); + if (!scan.loading) return null; + const p = scan.progress; + const text = + p === null + ? "Starting the check…" + : `Checked ${p.done} of ${p.total} sources${ + p.waiting.length > 0 ? `, still waiting for ${nameList(p.waiting)}` : "" + }`; + return ( +
+
+ {text} + +
+ 0 ? p.done / p.total : 0} + /> +
+ ); +} + +/** What is being installed, with a way to stop after it. */ +export function ApplyProgressView() { + const { apply } = useStore(); + if (!apply.running) return null; + const p = apply.progress; + const text = apply.cancelling + ? p?.package + ? `Finishing ${p.package}, then stopping` + : "Stopping after the current package" + : p?.phase === "done" + ? "Finishing up…" + : p?.package + ? `${apply.dryRun ? "Simulating" : "Installing"} ${p.package}` + : apply.dryRun + ? "Simulating…" + : "Preparing the installation…"; + return ( + +
+ {text} + + {p && p.total > 0 && ( + + {p.current} of {p.total} + + )} + + +
+ 0 ? (p.percent ?? (p.current / p.total) * 100) / 100 : 0} + /> +
+ ); +} + +/** + * Speaks the progress of a scan or an install. Mounted once, outside the + * pages, so it is heard on whichever page is open. + * + * A scan reports dozens of steps; only every quarter is worth interrupting + * somebody for. + */ +export function ProgressAnnouncer() { + const { scan, apply } = useStore(); + let text = ""; + if (apply.running) { + text = apply.cancelling + ? "Stopping after the current package" + : apply.progress?.package + ? `Installing ${apply.progress.package}, ${apply.progress.current} of ${apply.progress.total}` + : "Installing updates"; + } else if (scan.loading) { + const p = scan.progress; + const quarter = p && p.total > 0 ? Math.floor((p.done / p.total) * 4) * 25 : 0; + text = quarter > 0 ? `Checking for updates, ${quarter} percent` : "Checking for updates"; + } else if (scan.health.state === "failed") { + text = "The check for updates failed"; + } else if (scan.data && !scan.fromCache) { + const n = scan.data.actionable.length; + text = + `Check finished, ${n} update${n === 1 ? "" : "s"} ready` + + (scan.health.state === "partial" ? ", some sources could not be checked" : ""); + } + return ( +
+ {text} +
+ ); +} diff --git a/apps/gui/src/components/ui.tsx b/apps/gui/src/components/ui.tsx index d9b4fbf..10c1961 100644 --- a/apps/gui/src/components/ui.tsx +++ b/apps/gui/src/components/ui.tsx @@ -1,9 +1,16 @@ /** Shared presentational building blocks used across every page. */ -import { AlertTriangle, CheckCircle2, Info, Loader2, RefreshCw, Search } from "lucide-react"; -import type { ButtonHTMLAttributes, ReactNode } from "react"; -import { useCountUp } from "../useCountUp"; -import type { Resource } from "../store"; +import { AlertTriangle, CheckCircle2, Info, Loader2, Search } from "lucide-react"; +import { + useEffect, + useId, + useRef, + type ButtonHTMLAttributes, + type KeyboardEvent, + type ReactNode, + type Ref, +} from "react"; +import type { Resource } from "../store-context"; export function PageHeader({ title, @@ -17,7 +24,10 @@ export function PageHeader({ return (
-

{title}

+ {/* Focusable so that navigation can move the focus here. */} +

+ {title} +

{subtitle &&

{subtitle}

}
{actions &&
{actions}
} @@ -28,12 +38,12 @@ export function PageHeader({ type ButtonVariant = "primary" | "secondary" | "ghost" | "danger"; const BUTTON_STYLES: Record = { - primary: "bg-gradient-accent text-white border border-transparent btn-glow", + primary: "bg-gradient-accent text-accent-fg border border-transparent btn-glow", secondary: "bg-surface/70 text-fg border border-line hover:bg-raised hover:border-line-strong backdrop-blur", ghost: "text-muted hover:text-fg hover:bg-raised border border-transparent", danger: - "bg-danger/10 text-danger border border-danger/25 hover:bg-danger/15 hover:border-danger/40", + "bg-danger/10 text-danger border border-danger/25 hover:bg-danger/12 hover:border-danger/40", }; export function Button({ @@ -45,6 +55,7 @@ export function Button({ className = "", ...rest }: ButtonHTMLAttributes & { + ref?: Ref; variant?: ButtonVariant; size?: "sm" | "md" | "lg"; icon?: ReactNode; @@ -63,33 +74,12 @@ export function Button({ disabled={rest.disabled || busy} className={`inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors disabled:opacity-50 disabled:pointer-events-none ${sizing} ${BUTTON_STYLES[variant]} ${className}`} > - {busy ? : icon} + {busy ? : icon} {children} ); } -export function RefreshButton({ - onClick, - spinning, - label = "Refresh", -}: { - onClick: () => void; - spinning?: boolean; - label?: string; -}) { - return ( - - ); -} - type Tone = "neutral" | "accent" | "success" | "warning" | "danger" | "info"; const TONE_BADGE: Record = { @@ -115,10 +105,12 @@ function Notice({ tone, icon, message, + action, }: { tone: Tone; icon: ReactNode; message: ReactNode; + action?: ReactNode; }) { return (
{icon} - {message} +
{message}
+ {action &&
{action}
}
); } -export function ErrorBar({ message }: { message: string }) { - return } message={message} />; +export function ErrorBar({ message, action }: { message: ReactNode; action?: ReactNode }) { + return ( + } + message={message} + action={action} + /> + ); } export function SuccessBar({ message }: { message: string }) { @@ -143,18 +143,27 @@ export function InfoBar({ message }: { message: ReactNode }) { return } message={message} />; } -export function WarningBar({ message }: { message: ReactNode }) { - return } message={message} />; +export function WarningBar({ message, action }: { message: ReactNode; action?: ReactNode }) { + return ( + } + message={message} + action={action} + /> + ); } export function EmptyState({ icon, title, hint, + action, }: { icon: ReactNode; title: string; hint?: string; + action?: ReactNode; }) { return (
@@ -163,11 +172,12 @@ export function EmptyState({

{title}

{hint &&

{hint}

} + {action &&
{action}
}
); } -export function LoadingState({ label }: { label: string }) { +function LoadingState({ label }: { label: string }) { return (
@@ -247,7 +257,7 @@ export function Switch({ disabled={disabled} onClick={() => onChange(!checked)} className={`relative inline-flex h-[22px] w-[38px] flex-shrink-0 items-center rounded-full border transition-colors disabled:opacity-50 ${ - checked ? "bg-gradient-accent border-transparent" : "bg-raised border-line-strong" + checked ? "bg-gradient-accent border-transparent" : "bg-raised border-control" }`} > onChange(e.target.checked)} - className="h-4 w-4 rounded border-line-strong accent-[var(--accent)] cursor-pointer disabled:cursor-default" + className="h-4 w-4 rounded accent-[var(--accent)] cursor-pointer disabled:cursor-default" /> ); } @@ -293,18 +303,42 @@ export function Segmented({ onChange: (v: T) => void; label: string; }) { + // One tab stop for the group; the arrow keys move the choice within it, as + // they do in a group of native radio buttons. + const onKeyDown = (e: KeyboardEvent) => { + const step = + e.key === "ArrowRight" || e.key === "ArrowDown" + ? 1 + : e.key === "ArrowLeft" || e.key === "ArrowUp" + ? -1 + : 0; + if (step === 0 && e.key !== "Home" && e.key !== "End") return; + e.preventDefault(); + const at = options.findIndex((o) => o.value === value); + const next = + e.key === "Home" + ? 0 + : e.key === "End" + ? options.length - 1 + : (Math.max(at, 0) + step + options.length) % options.length; + onChange(options[next].value); + e.currentTarget.querySelectorAll('[role="radio"]')[next]?.focus(); + }; + const chosen = options.some((o) => o.value === value); return (
- {options.map((o) => ( + {options.map((o, i) => ( + +
+
+ ); } diff --git a/apps/gui/src/demo/demo.ts b/apps/gui/src/demo/demo.ts index eeb44a7..e19b0f6 100644 --- a/apps/gui/src/demo/demo.ts +++ b/apps/gui/src/demo/demo.ts @@ -3,9 +3,10 @@ * * This is what the README screenshots show and what the component tests run * against, so it is kept realistic: real app names, plausible versions, the - * same shapes the Rust side returns. It never runs inside the app — `bridge` + * same shapes the Rust side returns. It never runs inside the app: `bridge` * imports it only when there is no Tauri IPC. */ +import { emitLocal } from "../events"; import type { ApplyRequest, ApplyResultDto, @@ -19,8 +20,10 @@ import type { HardwareInfoDto, HealthReportDto, HistoryEntryDto, + HoldRequest, InstalledPackageDto, LargeFileReport, + ScanProgressEvent, ScanReport, ScanResult, StartupProgramDto, @@ -38,6 +41,13 @@ const wait = (ms: number) => new Promise((r) => setTimeout(r, ms)); const applied = new Set(); const cleaned = new Set(); const schedules = new Set(); +/** Held packages, as `backend:id`. */ +const holds = new Set(); + +/** What is running, so that it can be cancelled or refused like in the app. */ +let applyRunning = false; +let applyCancelled = false; +let scanCancelled = false; const health: HealthReportDto = { disks: [ @@ -130,13 +140,11 @@ const config: Config = { profiles: [{ name: "Work tools", packages: ["vscode", "git", "nodejs"] }], restore_point: true, scan_interval_hours: 24, - concurrency: 4, proxy_url: null, - auto_apply: false, notifications: true, max_retries: 2, backend_timeout_secs: 120, -} as Config; +}; const cleanup: CleanupItemDto[] = [ c("temp-files", "Temporary files", "Files applications left behind. A program still using one keeps it.", 3.4 * GB, 18_420, "regenerated", true), @@ -260,6 +268,88 @@ const largeFiles: LargeFileReport = { ], }; +/** A scan that takes a moment and reports every source, like the real one. */ +async function runScan(): Promise { + const sources = backends.filter((s) => s.available && s.enabled); + const total = sources.length; + const failed: ScanResult["failed_backends"] = []; + const answered = new Set(); + const report = (s: BackendDto, state: ScanProgressEvent["state"], found: number) => { + const event: ScanProgressEvent = { + backend: s.kind, + name: s.name, + state, + found, + done: answered.size, + total, + }; + emitLocal("scan-progress", event); + }; + const left = scan.actionable.filter( + (u) => !applied.has(`${u.backend}:${u.id}`) && !holds.has(`${u.backend}:${u.id}`), + ); + + scanCancelled = false; + for (const s of sources) report(s, "started", 0); + for (const s of sources) { + await wait(500 / total); + if (scanCancelled) break; + answered.add(s.kind); + report(s, "done", left.filter((u) => u.backend === s.kind).length); + } + for (const s of sources) { + if (!answered.has(s.kind)) failed.push({ backend: s.kind, error: "cancelled" }); + } + + const actionable = left.filter((u) => answered.has(u.backend)); + const held = scan.actionable + .filter((u) => answered.has(u.backend) && holds.has(`${u.backend}:${u.id}`)) + .map((u) => ({ ...u, reason: "held by policy" })); + const skipped = [...held, ...scan.skipped.filter((s) => answered.has(s.backend))]; + return { actionable, skipped, total: actionable.length + skipped.length, failed_backends: failed }; +} + +async function runApply(request: ApplyRequest | undefined): Promise { + if (applyRunning) throw "apply-running"; + const updates = request?.updates ?? []; + applyRunning = true; + applyCancelled = false; + const entries: ApplyResultDto["entries"] = []; + const progress = (name: string, phase: string) => + emitLocal("apply-progress", { + package: name, + current: entries.length, + total: updates.length, + phase, + percent: updates.length > 0 ? Math.round((entries.length / updates.length) * 100) : 100, + }); + try { + for (const u of updates) { + if (applyCancelled) { + entries.push({ name: u.name, status: "skipped", detail: "cancelled" }); + continue; + } + progress(u.name, "installing"); + await wait(1600 / updates.length); + if (!request?.dry_run) applied.add(`${u.backend}:${u.id}`); + entries.push({ name: u.name, status: "updated", detail: "" }); + } + progress("", "done"); + } finally { + applyRunning = false; + } + if (!request?.dry_run) emitLocal("apply-finished", null); + const skipped = entries.filter((e) => e.status === "skipped").length; + return { + updated: entries.length - skipped, + failed: 0, + skipped, + reboot_required: false, + exit_code: 0, + entries, + }; +} + /** Answer one command the way the Rust side would. */ export async function demoInvoke(command: string, args?: Record): Promise { await wait(120); @@ -269,19 +359,38 @@ export async function demoInvoke(command: string, args?: Record !applied.has(`${u.backend}:${u.id}`)), - }); + return answer(await runScan()); + case "cancel_scan": + scanCancelled = true; + return answer(undefined); case "list_backends": case "refresh_backends": return answer(backends); case "get_config": - return answer(config); + return answer({ + ...config, + policy: { + ...config.policy, + holds: [...holds].map((p) => ({ package: p, pin: null, note: null })), + }, + }); + case "hold": { + const request = args?.request as HoldRequest; + holds.add(`${request.backend}:${request.id}`); + return answer(undefined); + } + case "unhold": { + const request = args?.request as HoldRequest; + holds.delete(request.backend ? `${request.backend}:${request.id}` : request.id); + return answer(undefined); + } + case "quit_app": + if (applyRunning && !args?.force) throw "apply-running"; + return answer(undefined); + case "restart_as_admin": + if (applyRunning) throw "apply-running"; + throw "Restarting as administrator is not available in the browser demo."; case "save_config": - case "hold": - case "unhold": case "report_frontend_error": case "create_profile": case "delete_profile": @@ -291,20 +400,11 @@ export async function demoInvoke(command: string, args?: Record ({ name: u.name, status: "updated", detail: "" })), - }; - return answer(result); - } + case "apply": + return answer(await runApply(args?.request as ApplyRequest | undefined)); + case "cancel_apply": + applyCancelled = true; + return answer(undefined); case "get_update_history": return answer(history); case "get_hardware_info": @@ -348,8 +448,6 @@ export async function demoInvoke(command: string, args?: Record(command: string, args?: Record>>(); + +function listenLocally(event: string, handler: EventCallback): () => void { + const handlers = local.get(event) ?? new Set(); + local.set(event, handlers); + handlers.add(handler as EventCallback); + return () => { + handlers.delete(handler as EventCallback); + }; +} + +export function emitLocal(event: string, payload: unknown): void { + for (const handler of local.get(event) ?? []) handler({ event, id: 0, payload }); +} + /** * Subscribe to a Tauri event, returning a synchronous cleanup function. * @@ -9,8 +28,7 @@ import { inTauri } from "./bridge"; * rejection and, in `useEffect`, a cleanup that never runs. */ export function safeListen(event: string, handler: EventCallback): () => void { - // Outside Tauri (the browser demo, tests) there is nothing to listen to. - if (!inTauri) return () => {}; + if (!inTauri) return listenLocally(event, handler); let unlisten: (() => void) | null = null; let cancelled = false; diff --git a/apps/gui/src/format.ts b/apps/gui/src/format.ts index e17f9f0..abc03e7 100644 --- a/apps/gui/src/format.ts +++ b/apps/gui/src/format.ts @@ -17,9 +17,20 @@ export function formatDate(value: string): string { return d.toLocaleString(); } +/** Codes the command layer rejects with, in words. */ +const ERROR_CODES: Record = { + "apply-running": "An update is being installed. Wait for it to finish, or cancel it.", + cancelled: "Cancelled before it answered.", +}; + +/** Whether a command was refused because an update is being installed. */ +export function isApplyRunning(e: unknown): boolean { + return e === "apply-running" || (e instanceof Error && e.message === "apply-running"); +} + export function errorText(e: unknown): string { - if (e instanceof Error) return e.message; - if (typeof e === "string") return e; + if (e instanceof Error) return ERROR_CODES[e.message] ?? e.message; + if (typeof e === "string") return ERROR_CODES[e] ?? e; try { return JSON.stringify(e); } catch { diff --git a/apps/gui/src/hardware-backends.ts b/apps/gui/src/hardware-backends.ts index 75787cb..7791b96 100644 --- a/apps/gui/src/hardware-backends.ts +++ b/apps/gui/src/hardware-backends.ts @@ -5,7 +5,7 @@ * with `backend_kind_from_str` in the Tauri command layer. */ -export const DRIVER_BACKENDS = new Set([ +const DRIVER_BACKENDS = new Set([ "windows-drivers", "nvidia-gpu", "amd-gpu", @@ -15,7 +15,7 @@ export const DRIVER_BACKENDS = new Set([ "intel-dsa", ]); -export const FIRMWARE_BACKENDS = new Set([ +const FIRMWARE_BACKENDS = new Set([ "dell-firmware", "hp-firmware", "lenovo-firmware", @@ -23,7 +23,7 @@ export const FIRMWARE_BACKENDS = new Set([ "mac-firmware", ]); -export const OEM_BACKENDS = new Set([ +const OEM_BACKENDS = new Set([ "dell-command-update", "hp-image-assistant", "lenovo-system-update", @@ -35,7 +35,7 @@ export const OEM_BACKENDS = new Set([ "virtualization-guest", ]); -export type HardwareGroup = "driver" | "firmware" | "oem"; +type HardwareGroup = "driver" | "firmware" | "oem"; export function hardwareGroupOf(backend: string): HardwareGroup | null { if (DRIVER_BACKENDS.has(backend)) return "driver"; @@ -53,10 +53,3 @@ export const GROUP_LABELS: Record = { firmware: "Firmware & BIOS", oem: "Vendor update tools", }; - -export const GROUP_HINTS: Record = { - driver: "Graphics, chipset and device drivers.", - firmware: - "Firmware and BIOS updates. These carry the most risk of the lot — do not interrupt one, and run it on mains power.", - oem: "Updates delivered through your machine vendor's own tool.", -}; diff --git a/apps/gui/src/index.css b/apps/gui/src/index.css index 0ca90fb..19a64b8 100644 --- a/apps/gui/src/index.css +++ b/apps/gui/src/index.css @@ -12,7 +12,9 @@ * The look: a near-black canvas lit by two soft, slowly drifting glows * (violet and blue, with a warm amber accent for what needs attention), * glass cards on top, and one gradient for the things you press. Text colours - * meet WCAG AA against the surfaces they sit on in both themes. + * meet WCAG AA (4.5:1) against every surface and tint they sit on, and + * `--control`, the outline of inputs and switches, meets 3:1. The numbers are + * asserted in src/test/contrast.test.ts, which reads this file. */ :root, :root[data-theme="dark"] { @@ -22,12 +24,13 @@ --raised: #1a1e28; --line: #232835; --line-strong: #323949; + --control: #6b7488; --fg: #eceef3; --muted: #a4abb9; - --faint: #788091; - --accent: #8f8cff; + --faint: #8b94a6; + --accent: #9c99ff; --accent-2: #4fb2ff; - --accent-fg: #ffffff; + --accent-fg: #0b0d14; --warm: #ffc66d; --success: #4fd39a; --warning: #f2bc5c; @@ -48,17 +51,18 @@ --raised: #eef0f6; --line: #e2e5ee; --line-strong: #cdd2de; + --control: #7a8293; --fg: #141821; --muted: #515b6b; - --faint: #727a8a; - --accent: #5a54f0; - --accent-2: #1f86ee; + --faint: #596171; + --accent: #4841d6; + --accent-2: #1668bd; --accent-fg: #ffffff; --warm: #b97a06; - --success: #12875a; - --warning: #9a6410; - --danger: #c93636; - --info: #1b6fc0; + --success: #0b6844; + --warning: #7b4d08; + --danger: #a82424; + --info: #12548f; --glass: rgb(255 255 255 / 0.72); --glass-edge: rgb(255 255 255 / 0.9); --glow-1: rgb(110 96 255 / 0.13); @@ -79,6 +83,7 @@ --color-raised: var(--raised); --color-line: var(--line); --color-line-strong: var(--line-strong); + --color-control: var(--control); --color-fg: var(--fg); --color-muted: var(--muted); --color-faint: var(--faint); @@ -356,6 +361,14 @@ pre { border-radius: 6px; } +/* + * Page headings take focus after navigation so a screen reader announces the + * new page. They are not controls, so they get no focus ring. + */ +h1[tabindex="-1"]:focus { + outline: none; +} + button { font-family: inherit; cursor: pointer; diff --git a/apps/gui/src/pages/About.tsx b/apps/gui/src/pages/About.tsx index 727b6c0..08f3d30 100644 --- a/apps/gui/src/pages/About.tsx +++ b/apps/gui/src/pages/About.tsx @@ -1,15 +1,17 @@ -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Card, Facts } from "../components/ui"; import { Logo } from "../components/Logo"; -const HIGHLIGHTS = [ - "Updates installed programs straight from their publishers — winget is optional", +/** What the app does, without naming a version: that would be wrong by the next one. */ +const FEATURES = [ + "Updates installed programs straight from their publishers; winget is optional", "Every installer Odysync downloads must carry its publisher's signature", - "NVIDIA drivers from NVIDIA's own service, WHQL only", + "Drivers from Windows Update and the hardware makers, never installed without you", "Mac apps through their own Sparkle feeds, checked against the app's own key", + "A care score that lists every point it takes off, and what could not be checked", "Cleanup that measures first and asks before anything permanent", "Runtimes, device problems and driver backups in one place", - "A calmer interface with light and dark themes", + "Automatic care on a schedule, for safe updates and junk files only", ]; const PRINCIPLES = [ @@ -27,17 +29,17 @@ export default function About() { <>
-

Odysync

+

Odysync

Safe software and driver updates for Windows, macOS and Linux.

Version {info?.version ?? "…"} · free and open source (MIT)

- +
    - {HIGHLIGHTS.map((line) => ( + {FEATURES.map((line) => (
  • - + {line}
  • ))} diff --git a/apps/gui/src/pages/Backup.tsx b/apps/gui/src/pages/Backup.tsx index 926c479..63f4897 100644 --- a/apps/gui/src/pages/Backup.tsx +++ b/apps/gui/src/pages/Backup.tsx @@ -1,10 +1,11 @@ import { useState } from "react"; import { DatabaseBackup, Plus, RefreshCw, RotateCcw } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Button, Card, + ConfirmBar, EmptyState, ErrorBar, InfoBar, @@ -21,6 +22,7 @@ export default function Backup() { const [error, setError] = useState(null); const [success, setSuccess] = useState(null); const [confirmRestore, setConfirmRestore] = useState(null); + const [restoring, setRestoring] = useState(false); const { backups, protectionEnabled } = backup.data; const elevated = sysInfo.data?.elevated ?? false; @@ -54,7 +56,7 @@ export default function Backup() { await api.createBackup(name); setSuccess("Restore point created."); setDescription(""); - await backup.refresh(); + await backup.reload(); } catch (e) { setError(errorText(e)); } finally { @@ -63,18 +65,17 @@ export default function Backup() { }; const restore = async (sequenceNumber: number, name: string) => { - if (confirmRestore !== sequenceNumber) { - setConfirmRestore(sequenceNumber); - return; - } setConfirmRestore(null); + setRestoring(true); setError(null); setSuccess(null); try { await api.restoreBackup(sequenceNumber); setSuccess(`Returning to "${name}". Windows will restart.`); } catch (e) { - setError(errorText(e)); + setError(`The restore did not start: ${errorText(e)}`); + } finally { + setRestoring(false); } }; @@ -97,20 +98,21 @@ export default function Backup() { {!elevated && ( )} - {elevated && !protectionEnabled && backup.loadedAt !== null && ( + {elevated && !protectionEnabled && backup.loadedAt !== null && backup.error === null && ( )} {success && } {error && } - {backup.error && } + {backup.error && }
    setDescription(e.target.value)} - className="flex-1 min-w-[240px] h-9 px-3 rounded-lg border border-line bg-canvas text-sm placeholder:text-faint outline-none focus:border-accent" + className="flex-1 min-w-[240px] h-9 px-3 rounded-lg border border-control bg-canvas text-sm placeholder:text-faint outline-none focus:border-accent" placeholder="Description, e.g. before installing a new GPU driver" />
    ) : (
      {backups.map((b, i) => ( -
    • -
      -
      {b.name}
      -
      - {formatDate(b.created_at)} · #{b.sequence_number} +
    • +
      +
      +
      {b.name}
      +
      + {formatDate(b.created_at)} · #{b.sequence_number} +
      +
      - + {confirmRestore === b.sequence_number && ( + void restore(b.sequence_number, b.name)} + onCancel={() => setConfirmRestore(null)} + /> + )}
    • ))}
    diff --git a/apps/gui/src/pages/Dashboard.tsx b/apps/gui/src/pages/Dashboard.tsx index 3f87e1e..84722fa 100644 --- a/apps/gui/src/pages/Dashboard.tsx +++ b/apps/gui/src/pages/Dashboard.tsx @@ -5,6 +5,7 @@ import { CheckCircle2, Circle, CircleAlert, + CircleHelp, HardDrive, Loader2, MemoryStick, @@ -18,43 +19,44 @@ import { Wand2, } from "lucide-react"; import * as api from "../api"; -import { safeListen } from "../events"; -import { useStore, type Resource } from "../store"; +import { useStore, type Resource } from "../store-context"; import { Badge, Button, Card, Segmented, Switch } from "../components/ui"; import { CareRing, type RingMode, type RingTone } from "../components/CareRing"; -import { assess, safeCleanupBytes, safeCleanupItems, type CareIssue } from "../care"; -import { formatSize } from "../format"; +import { ScanProgressView } from "../components/Progress"; +import { + assess, + safeCleanupBytes, + safeCleanupItems, + type CareIssue, + type FailedCheck, +} from "../care"; +import { errorText, formatSize } from "../format"; import type { Tab } from "../nav"; +import type { ApplyEntryDto } from "../types"; /** The schedule automatic care runs under, separate from a plain update schedule. */ -export const CARE_TASK = "OdysyncCare"; +const CARE_TASK = "OdysyncCare"; const CARE_FREQUENCY_KEY = "odysync.careFrequency"; -interface Progress { - phase: string; - current: number; - total: number; - package?: string | null; - percent?: number | null; -} - interface FixOutcome { updated: number; - failed: number; + /** Updates that were tried and did not work, with the reason. */ + failures: ApplyEntryDto[]; + /** Updates that were not started, because the run was cancelled. */ + skipped: number; + cancelled: boolean; cleared: number; reboot: boolean; error: string | null; } -type StepState = "waiting" | "running" | "done"; +type StepState = "unchecked" | "running" | "partial" | "failed" | "done"; -function errorText(e: unknown): string { - return e instanceof Error ? e.message : String(e); -} - -/** Whether a set of background resources is still loading. */ +/** Where a set of background checks stands. A failed one is never "done". */ function stepState(resources: Resource[]): StepState { if (resources.some((r) => r.loading)) return "running"; + if (resources.some((r) => r.error !== null)) return "failed"; + if (resources.some((r) => r.loadedAt === null)) return "unchecked"; return "done"; } @@ -71,9 +73,9 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo defender, health, config, - history, - packages, + apply, } = store; + const windows = sysInfo.data?.platform === "windows"; // ── What the machine looks like ────────────────────────────────────────── const attendedKinds = useMemo( @@ -84,7 +86,14 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo () => new Set(backends.data.filter((b) => b.developer).map((b) => b.kind)), [backends.data], ); - const actionable = useMemo(() => scan.data?.actionable ?? [], [scan.data]); + // After a failed scan the list in hand is an old one. It cannot be installed + // from (the command layer has nothing to match it against) and says nothing + // about today. + const scanUsable = scan.health.state !== "failed"; + const actionable = useMemo( + () => (scanUsable ? (scan.data?.actionable ?? []) : []), + [scan.data, scanUsable], + ); // Only what unattended care may install: no drivers, no developer packages. const updates = useMemo( () => @@ -105,26 +114,55 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo [security.data], ); + const failedChecks = useMemo(() => { + const checks: (FailedCheck | null)[] = [ + failedCheck("devices", "Devices", devices, "drivers"), + failedCheck("runtimes", "Runtimes", components, "drivers"), + failedCheck("cleanup", "Junk files", cleanup, "maintenance"), + failedCheck("health", "Disk and battery health", health, "hardware"), + // Elsewhere these two have nothing to look at. + windows ? failedCheck("defender", "Microsoft Defender", defender, "security") : null, + windows ? failedCheck("security", "Security", security, "security") : null, + ]; + return checks.filter((c) => c !== null); + }, [devices, components, cleanup, health, defender, security, windows]); + + // Outside Windows there is no audit that could be incomplete. + const incompleteSecurity = windows + ? (security.data?.sections ?? []).filter((s) => !s.ok).length + : 0; const assessment = useMemo( () => assess({ + scan: scan.health, + sourceName: (kind) => backends.data.find((b) => b.kind === kind)?.name ?? kind, + failedChecks, + incompleteSecurity, updates, attendedUpdates, developerUpdates, - needsAdmin: (scan.data?.skipped ?? []).filter((s) => - s.reason.toLowerCase().includes("administrator"), - ).length, + needsAdmin: scanUsable + ? (scan.data?.skipped ?? []).filter((s) => + s.reason.toLowerCase().includes("administrator"), + ).length + : 0, devices: devices.data.length, outdatedRuntimes: components.data.filter((c) => c.state === "outdated").length, seriousFindings: findings.filter((f) => f.severity === "critical" || f.severity === "high") .length, minorFindings: findings.filter((f) => f.severity === "medium" || f.severity === "low") .length, - defender: defender.data, + defender: windows ? defender.data : null, safeCleanup, health: health.data, }), [ + scan.health, + scanUsable, + backends.data, + failedChecks, + incompleteSecurity, + windows, updates, attendedUpdates, developerUpdates, @@ -156,9 +194,20 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo }, { id: "health", label: "Disk & battery", icon: , resources: [health as Resource] }, ]; - const states = steps.map((s) => stepState(s.resources)); + const states = steps.map((s): StepState => { + const state = stepState(s.resources); + if (state !== "done") return state; + if (s.id === "security") { + const unread = windows && defender.data?.real_time_protection === null; + return unread || incompleteSecurity > 0 ? "partial" : state; + } + if (s.id !== "updates") return state; + return scan.health.state === "partial" || scan.health.state === "failed" + ? scan.health.state + : state; + }); const checking = states.some((s) => s === "running"); - const checkedFraction = states.filter((s) => s === "done").length / steps.length; + const checkedFraction = states.filter((s) => s !== "running").length / steps.length; const runningStep = steps.find((_, i) => states[i] === "running"); const scanEverything = useCallback(() => { @@ -182,79 +231,85 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo return () => clearTimeout(t); }, [celebrating]); - useEffect( - () => - safeListen("apply-progress", (e) => { - const p = e.payload; - if (p.total > 0) { - setFixing((f) => - f && f.step.startsWith("Installing") - ? { - step: p.package ? `Installing ${p.package}` : "Installing updates", - progress: 5 + Math.round((p.current / p.total) * 60), - } - : f, - ); - } - }), - [], - ); - const fixEverything = useCallback(async () => { const toInstall = updates; const toClean = safeCleanup.map((c) => c.id); setOutcome(null); - let updated = 0; - let failed = 0; - let reboot = false; - let cleared = 0; - let error: string | null = null; + setCelebrating(false); + const done: FixOutcome = { + updated: 0, + failures: [], + skipped: 0, + cancelled: false, + cleared: 0, + reboot: false, + error: null, + }; try { if (toInstall.length > 0) { setFixing({ step: "Installing updates", progress: 5 }); - const result = await api.apply({ + const { result, cancelled } = await apply.run({ updates: toInstall, dry_run: false, restore_point: config.data?.restore_point ?? true, }); - updated = result.updated; - failed = result.failed; - reboot = result.reboot_required; + done.updated = result.updated; + done.failures = result.entries.filter( + (e) => e.status !== "updated" && e.status !== "skipped", + ); + done.skipped = result.skipped; + done.cancelled = cancelled; + done.reboot = result.reboot_required; } - if (toClean.length > 0) { + // Cancel means stop, not "skip to the next step". + if (toClean.length > 0 && !done.cancelled) { setFixing({ step: "Clearing junk files", progress: 70 }); const results = await api.cleanupRun(toClean); - cleared = results.reduce((sum, r) => sum + r.removed_bytes, 0); + done.cleared = results.reduce((sum, r) => sum + r.removed_bytes, 0); } setFixing({ step: "Checking again", progress: 90 }); await Promise.allSettled([ - scan.refresh(), - cleanup.refresh(), - history.refresh(), - packages.refresh(), + // The install already started a fresh scan; this waits for it. + toInstall.length > 0 ? scan.refresh() : null, + cleanup.reload(), ]); } catch (e) { - error = errorText(e); + done.error = errorText(e); } finally { setFixing(null); - setOutcome({ updated, failed, cleared, reboot, error }); - setCelebrating(error === null); + setOutcome(done); + setCelebrating(done.error === null && done.failures.length === 0 && !done.cancelled); } - }, [updates, safeCleanup, config.data, scan, cleanup, history, packages]); + }, [updates, safeCleanup, config.data, apply, scan, cleanup]); // ── The ring ───────────────────────────────────────────────────────────── const booting = store.booting && scan.loadedAt === null; + const { score, scoreKnown } = assessment; + // An install started on another page shows here too. + const installing = apply.running && !apply.dryRun; + const installed = apply.progress && apply.progress.total > 0 + ? apply.progress.current / apply.progress.total + : 0; let ringMode: RingMode = "idle"; - let ringValue = assessment.score; - let ringTone: RingTone = assessment.tone; - let ringLabel = assessment.grade; - let ringCaption: string | undefined = "Care score"; + let ringValue: number | null = scoreKnown ? score : null; + let ringTone: RingTone = scoreKnown ? assessment.tone : "warning"; + let ringLabel = scoreKnown ? assessment.grade : "Not checked"; + let ringCaption: string | undefined = scoreKnown ? "Care score" : "No score"; if (fixing) { ringMode = "busy"; - ringValue = fixing.progress; + ringValue = installing ? 5 + Math.round(installed * 60) : fixing.progress; ringTone = "accent"; ringLabel = "Fixing"; - ringCaption = fixing.step; + ringCaption = + installing && apply.progress?.package + ? `Installing ${apply.progress.package}` + : fixing.step; + } else if (installing) { + ringMode = "busy"; + ringValue = Math.round(installed * 100); + ringTone = "accent"; + ringLabel = "Installing"; + ringCaption = apply.progress?.package || undefined; } else if (booting || checking) { ringMode = "busy"; ringValue = Math.round((booting ? store.bootProgress : checkedFraction) * 100); @@ -265,18 +320,29 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo ringMode = "done"; } - const busy = !!fixing || booting || checking; - const canFix = !busy && assessment.fixable > 0 && backends.loadedAt !== null; + const busy = !!fixing || installing || booting || checking; + const canFix = + !busy && + !apply.running && + assessment.fixable > 0 && + backends.loadedAt !== null && + !(updates.length > 0 && scan.fromCache); const headline = fixing ? "Taking care of it…" - : busy - ? "Checking your PC…" - : assessment.issues.length === 0 - ? "Everything is taken care of" - : assessment.fixable > 0 - ? `${assessment.fixable === 1 ? "One thing" : `${assessment.fixable} things`} can be fixed in one click` - : `${assessment.issues.length === 1 ? "One thing needs" : `${assessment.issues.length} things need`} a look`; + : installing + ? "Installing updates…" + : busy + ? "Checking your PC…" + : scan.health.state === "failed" + ? "Updates could not be checked" + : !scoreKnown + ? "Nothing has been checked yet" + : assessment.issues.length === 0 + ? "Everything is taken care of" + : assessment.fixable > 0 + ? `${assessment.fixable === 1 ? "One thing" : `${assessment.fixable} things`} can be fixed in one click` + : `${assessment.issues.length === 1 ? "One thing needs" : `${assessment.issues.length} things need`} a look`; const info = sysInfo.data; const lastChecked = scan.loadedAt @@ -300,6 +366,8 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo center={ ringMode === "done" ? ( + ) : ringValue === null ? ( + ) : undefined } /> @@ -308,23 +376,27 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo
    Smart care
    -

    +

    {headline.replace("PC", platformName)}

    {fixing ? "Installing safe updates, then clearing junk files. Drivers and firmware are left alone." - : busy && showingLastTime - ? `Showing what Odysync found on ${lastChecked} while it checks again.` - : busy - ? "Updates, drivers, junk files, security and hardware health — all at once." - : assessment.fixable > 0 - ? "Safe updates and junk files, in one go. Drivers and anything risky always wait for you." - : assessment.issues.length > 0 - ? "What is left needs a decision from you — each item below says where to make it." - : lastChecked - ? `Last checked at ${lastChecked}.` - : "Odysync checks updates, drivers, junk files, security and hardware health."} + : installing + ? "Started from another page. A scan follows when it is done." + : busy && showingLastTime + ? `Showing what Odysync found on ${lastChecked} while it checks again.` + : busy + ? "Updates, drivers, junk files, security and hardware health, all at once." + : scan.health.state === "failed" + ? `${scan.health.error} Without it there is no score; what the other checks found is listed below.` + : assessment.fixable > 0 + ? "Safe updates and junk files, in one go. Drivers and anything risky always wait for you." + : assessment.issues.length > 0 + ? "What is left needs a decision from you. Each item below says where to make it." + : lastChecked + ? `Last checked at ${lastChecked}.` + : "Odysync checks updates, drivers, junk files, security and hardware health."}

    @@ -350,14 +422,27 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo icon={} onClick={scanEverything} > - {fixing ? "Working…" : busy ? "Checking…" : "Scan now"} + {fixing || installing + ? "Working…" + : busy + ? "Checking…" + : scan.health.state === "failed" + ? "Try again" + : "Scan now"} )} + {installing && }
    + {scan.loading && !apply.running && ( +
    + +
    + )} +
      {steps.map((s, i) => ( - + ))}
@@ -392,14 +477,25 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo
Nothing to do
- Up to date, tidy, protected and healthy. Turn on automatic care to keep it that way. + {defender.data?.real_time_protection && security.data + ? "Up to date, tidy, protected and healthy." + : windows && !security.data + ? "Up to date, tidy and healthy. The security audit has not run." + : "Up to date, tidy and healthy."}{" "} + Turn on automatic care to keep it that way.
) : (
    {assessment.issues.map((issue) => ( - onNavigate(issue.tab)} /> + onNavigate(issue.tab)} + onRetry={scanEverything} + /> ))}
)} @@ -410,9 +506,7 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo d.state === "good" || d.state === "unknown") : null} + windows={windows} /> @@ -420,45 +514,134 @@ export default function Dashboard({ onNavigate }: { onNavigate: (tab: Tab) => vo ); } +/** The entry for a check whose last attempt failed, or null when it did not. */ +function failedCheck( + id: string, + label: string, + resource: Resource, + tab: Tab, +): FailedCheck | null { + return resource.error === null ? null : { id, label, error: resource.error, tab }; +} + +function CancelInstall() { + const { apply } = useStore(); + const [error, setError] = useState(null); + return ( + <> + + {error &&

Could not cancel: {error}

} + + ); +} + +const STEP: Record = { + done: { box: "bg-success/12 text-success", text: "checked" }, + running: { box: "bg-accent/12 text-accent", text: "being checked" }, + partial: { box: "bg-warning/12 text-warning", text: "only partly checked" }, + failed: { box: "bg-danger/12 text-danger", text: "could not be checked" }, + unchecked: { box: "bg-raised text-faint", text: "not checked" }, +}; + function StepRow({ label, icon, state }: { label: string; icon: ReactNode; state: StepState }) { return (
  • svg]:w-3.5 [&>svg]:h-3.5 ${ - state === "done" ? "bg-success/12 text-success" : state === "running" ? "bg-accent/12 text-accent" : "bg-raised text-faint" - }`} + aria-hidden + className={`w-7 h-7 rounded-lg flex items-center justify-center flex-shrink-0 transition-colors [&>svg]:w-3.5 [&>svg]:h-3.5 ${STEP[state].box}`} > - {state === "running" ? : state === "done" ? : icon} + {state === "running" ? ( + + ) : state === "done" ? ( + + ) : state === "partial" ? ( + + ) : state === "failed" ? ( + + ) : ( + icon + )} + + + {label} + {state === "done" || state === "running" ? ( + : {STEP[state].text} + ) : ( + {STEP[state].text} + )} - {label}
  • ); } -function IssueRow({ issue, onOpen }: { issue: CareIssue; onOpen: () => void }) { +function IssueRow({ + issue, + busy, + onOpen, + onRetry, +}: { + issue: CareIssue; + busy: boolean; + onOpen: () => void; + onRetry: () => void; +}) { const tone = { - danger: { box: "bg-danger/12 text-danger", icon: }, - warning: { box: "bg-warning/12 text-warning", icon: }, - info: { box: "bg-info/12 text-info", icon: }, + danger: { box: "bg-danger/12 text-danger", word: "Urgent", icon: }, + warning: { box: "bg-warning/12 text-warning", word: "Attention", icon: }, + info: { box: "bg-info/12 text-info", word: "Note", icon: }, }[issue.tone]; return (
  • - {tone.icon} + + {tone.icon} +
    -
    {issue.title}
    -
    +
    + {tone.word}: + {issue.title} +
    +
    {issue.detail}
    - - −{issue.points} - + {issue.points > 0 && ( + + −{issue.points} + {issue.points} points off the care score + + )} {issue.fix ? ( In the fix + ) : issue.retry ? ( + ) : ( - )} @@ -466,26 +649,72 @@ function IssueRow({ issue, onOpen }: { issue: CareIssue; onOpen: () => void }) { ); } +/** How many failures to spell out before pointing at History. */ +const FAILURES_SHOWN = 3; + function OutcomeBanner({ outcome, onHistory }: { outcome: FixOutcome; onHistory: () => void }) { - if (outcome.error) { - return ( -
    - The fix stopped: {outcome.error} -
    - ); - } + const { updated, failures, skipped, cancelled, cleared, reboot, error } = outcome; const parts: string[] = []; - if (outcome.updated > 0) parts.push(`${outcome.updated} update${outcome.updated === 1 ? "" : "s"} installed`); - if (outcome.cleared > 0) parts.push(`${formatSize(outcome.cleared)} cleared`); + if (updated > 0) parts.push(`${updated} update${updated === 1 ? "" : "s"} installed`); + if (cleared > 0) parts.push(`${formatSize(cleared)} cleared`); + const did = parts.join(", "); + + const tone = error !== null ? "danger" : failures.length > 0 || cancelled ? "warning" : "success"; + const box = { + danger: "border-danger/30 bg-danger/10", + warning: "border-warning/30 bg-warning/10", + success: "border-success/30 bg-success/10", + }[tone]; + const title = + error !== null + ? "The fix stopped" + : cancelled + ? "Cancelled" + : failures.length > 0 + ? "Finished, but not everything worked" + : "Done"; + return ( -
    - -
    - Done{parts.length ? ` — ${parts.join(", ")}` : ""}. - {outcome.failed > 0 && {outcome.failed} could not be installed; History says why.} - {outcome.reboot && Restart when convenient to finish.} +
    + {tone === "success" ? ( + + ) : ( + + )} +
    +

    + + {title} + {did ? `: ${did}` : ""}. + + {cancelled && skipped > 0 && ` ${skipped} update${skipped === 1 ? " was" : "s were"} left for later.`} + {reboot && " Restart when convenient to finish."} +

    + {error !== null &&

    {error}

    } + {failures.length > 0 && ( +
      + {failures.slice(0, FAILURES_SHOWN).map((f, i) => ( +
    • + {f.name} was not installed + {f.detail ? `: ${f.detail}` : "."} +
    • + ))} + {failures.length > FAILURES_SHOWN && ( +
    • + {failures.length - FAILURES_SHOWN} more could not be installed. History lists them + with the reason. +
    • + )} +
    + )}
    - {outcome.failed > 0 && ( + {failures.length > 0 && ( @@ -515,7 +744,12 @@ function AutomaticCare() { api .checkSchedule(CARE_TASK) .then((v) => live && setEnabled(v)) - .catch(() => live && setEnabled(false)); + .catch((e: unknown) => { + if (!live) return; + // The switch stays usable: turning it on writes the schedule anew. + setEnabled(false); + setError(`Whether automatic care is on could not be read: ${errorText(e)}`); + }); return () => { live = false; }; @@ -579,7 +813,7 @@ function AutomaticCare() { />
    )} - {error &&

    {error}

    } + {error &&

    {error}

    } ); } @@ -587,27 +821,62 @@ function AutomaticCare() { function Glance({ onNavigate, reclaimable, - updates, - protectedNow, - disksOk, + windows, }: { onNavigate: (tab: Tab) => void; reclaimable: number; - updates: number; - protectedNow: boolean | null; - disksOk: boolean | null; + windows: boolean; }) { + const { scan, cleanup, defender, health } = useStore(); + + const ready = scan.data?.actionable.length ?? 0; + const updates: { value: string; ok: boolean | null } = + scan.health.state === "failed" + ? { value: "Not checked", ok: null } + : scan.health.state === "unknown" + ? { value: "-", ok: null } + : ready > 0 + ? { value: `${ready} ready`, ok: false } + : scan.health.state === "partial" + ? { value: "Not fully checked", ok: null } + : { value: "Up to date", ok: true }; + + const junk: { value: string; ok: boolean | null } = cleanup.error + ? { value: "Not measured", ok: null } + : cleanup.loadedAt === null + ? { value: "-", ok: null } + : { + value: reclaimable > 0 ? formatSize(reclaimable) : "Tidy", + ok: reclaimable < 200 * 1024 * 1024, + }; + + const realTime = defender.data?.real_time_protection ?? null; + const protection: { value: string; ok: boolean | null } = + defender.error || (defender.data && realTime === null) + ? { value: "Could not be read", ok: null } + : realTime === null + ? { value: "-", ok: null } + : { value: realTime ? "On" : "Off", ok: realTime }; + + const disks = health.data?.disks ?? []; + const reported = disks.filter((d) => d.state !== "unknown"); + const disk: { value: string; ok: boolean | null } = health.error + ? { value: "Could not be read", ok: null } + : health.data === null + ? { value: "-", ok: null } + : reported.length === 0 + ? { value: "Not reported", ok: null } + : reported.every((d) => d.state === "good") + ? { value: "Healthy", ok: true } + : { value: "Check", ok: false }; + const rows: { tab: Tab; icon: ReactNode; label: string; value: string; ok: boolean | null }[] = [ - { tab: "updates", icon: , label: "Updates", value: updates === 0 ? "Up to date" : `${updates} ready`, ok: updates === 0 }, - { tab: "maintenance", icon: , label: "Junk files", value: reclaimable > 0 ? formatSize(reclaimable) : "Tidy", ok: reclaimable < 200 * 1024 * 1024 }, - { - tab: "security", - icon: , - label: "Protection", - value: protectedNow === null ? "—" : protectedNow ? "On" : "Off", - ok: protectedNow, - }, - { tab: "hardware", icon: , label: "Disks", value: disksOk === null ? "—" : disksOk ? "Healthy" : "Check", ok: disksOk }, + { tab: "updates", icon: , label: "Updates", ...updates }, + { tab: "maintenance", icon: , label: "Junk files", ...junk }, + ...(windows + ? [{ tab: "security" as const, icon: , label: "Protection", ...protection }] + : []), + { tab: "hardware", icon: , label: "Disks", ...disk }, ]; return ( @@ -623,9 +892,9 @@ function Glance({ {r.label} {r.ok === null ? ( - + ) : ( - + )} {r.value} diff --git a/apps/gui/src/pages/Drivers.tsx b/apps/gui/src/pages/Drivers.tsx index 204c0a7..fe5a298 100644 --- a/apps/gui/src/pages/Drivers.tsx +++ b/apps/gui/src/pages/Drivers.tsx @@ -1,4 +1,4 @@ -import { useCallback, useMemo, useState } from "react"; +import { useMemo, useState } from "react"; import { AlertTriangle, ArrowRight, @@ -10,12 +10,13 @@ import { Wrench, } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, Card, Checkbox, + ConfirmBar, EmptyState, ErrorBar, InfoBar, @@ -26,15 +27,18 @@ import { import { errorText, formatDate, formatSize } from "../format"; import { GROUP_LABELS, hardwareGroupOf, isHardwareBackend } from "../hardware-backends"; import type { ApplyResultDto, ComponentStatus, UpdateDto } from "../types"; -import { OutcomeIcon } from "./Updates"; +import { ApplyProgressView, ScanProgressView } from "../components/Progress"; +import { FirmwareWarning } from "../components/FirmwareWarning"; +import { OutcomeIcon } from "../components/OutcomeIcon"; export default function Drivers() { - const { scan, sysInfo, history, backup } = useStore(); - const [applying, setApplying] = useState(false); + const { scan, apply, sysInfo, backends } = useStore(); const [error, setError] = useState(null); const [result, setResult] = useState(null); const [deselected, setDeselected] = useState>(new Set()); - const [confirmFirmware, setConfirmFirmware] = useState(false); + // The selection the firmware question was asked about; a different one has + // not been asked about, which closes the question. + const [confirmFor, setConfirmFor] = useState(null); const info = sysInfo.data; const elevated = info?.elevated ?? false; @@ -52,11 +56,16 @@ export default function Drivers() { () => (scan.data?.failed_backends ?? []).filter((f) => isHardwareBackend(f.backend)), [scan.data], ); + const scanFailed = scan.health.state === "failed"; + // Failures of sources that carry no drivers do not matter on this page. + const allChecked = !scanFailed && scan.health.state !== "unknown" && failures.length === 0; const selected = useMemo( () => updates.filter((u) => !deselected.has(key(u))), [updates, deselected], ); const selectedHasFirmware = selected.some((u) => hardwareGroupOf(u.backend) === "firmware"); + const selection = selected.map(key).join("|"); + const confirming = confirmFor !== null && confirmFor === selection; const toggle = (u: UpdateDto) => setDeselected((prev) => { @@ -67,31 +76,28 @@ export default function Drivers() { return next; }); - const install = useCallback(async () => { - if (selected.length === 0) return; - if (selectedHasFirmware && !confirmFirmware) { - setConfirmFirmware(true); - return; - } - setConfirmFirmware(false); - setApplying(true); + const install = async () => { + setConfirmFor(null); setError(null); setResult(null); try { - const r = await api.apply({ + const { result: r } = await apply.run({ updates: selected, dry_run: false, // Hardware changes are the ones you most want to be able to roll back. restore_point: true, }); setResult(r); - await Promise.allSettled([scan.refresh(), history.refresh(), backup.refresh()]); } catch (e) { setError(errorText(e)); - } finally { - setApplying(false); } - }, [selected, selectedHasFirmware, confirmFirmware, scan, history, backup]); + }; + + const start = () => { + if (selected.length === 0) return; + if (selectedHasFirmware) setConfirmFor(selection); + else void install(); + }; return ( <> @@ -102,7 +108,7 @@ export default function Drivers() { + } + /> + )} + {failures.length > 0 && !scan.loading && ( {failures.length} driver source{failures.length === 1 ? "" : "s"} could not be checked:{" "} - - {failures.map((f) => `${f.backend}: ${f.error}`).join("; ")} + + {failures + .map( + (f) => + `${backends.data.find((b) => b.kind === f.backend)?.name ?? f.backend}: ${errorText(f.error)}`, + ) + .join("; ")} } @@ -130,10 +155,16 @@ export default function Drivers() { {error && } + + {result && ( 0 + ? "Finished, but not everything was installed" + : "Driver installation finished" + } + description={`${result.updated} updated, ${result.failed} failed${result.skipped > 0 ? `, ${result.skipped} skipped` : ""}.${result.reboot_required ? " Restart to finish." : ""}`} padded={false} >
      @@ -155,20 +186,30 @@ export default function Drivers() { actions={ updates.length > 0 ? ( ) : undefined } > - {confirmFirmware && ( + {confirming && (
      - + } + confirmLabel={`Install ${selected.length}, including firmware`} + onConfirm={() => void install()} + onCancel={() => setConfirmFor(null)} + /> +
      + )} + {scan.loading && ( +
      +
      )} {updates.length === 0 && waiting.length === 0 ? ( @@ -177,15 +218,27 @@ export default function Drivers() { icon={ scan.loading ? ( - ) : ( + ) : allChecked ? ( + ) : ( + ) } - title={scan.loading ? "Checking driver sources…" : "No driver updates"} + title={ + scan.loading + ? "Checking driver sources…" + : allChecked + ? "No driver updates" + : scan.health.state === "unknown" + ? "Not checked yet" + : "Not every driver source could be checked" + } hint={ scan.loading ? undefined - : "Windows Update and the hardware makers have nothing newer for this machine." + : allChecked + ? "Windows Update and the hardware makers have nothing newer for this machine." + : "There may be driver updates nobody saw. Scan again to check." } />
    @@ -239,8 +292,9 @@ function key(u: UpdateDto) { function VersionJump({ from, to }: { from: string; to: string }) { return ( - {from || "—"} - + {from || "-"} + to + {to} ); @@ -265,23 +319,36 @@ function DeviceProblems() { } > - {devices.data.length === 0 ? ( -
    - - {devices.loadedAt === null ? "Checking devices…" : "Every device reports that it is working."} + {devices.error && ( +
    +
    + )} + {devices.data.length === 0 ? ( + devices.error === null && ( +
    + {devices.loadedAt === null ? ( + "Checking devices…" + ) : ( + <> + + Every device reports that it is working. + + )} +
    + ) ) : (
      {devices.data.map((d) => (
    • - + {d.name} {d.class || "Device"} code {d.code}

      {d.meaning}

      -

      {d.suggestion}

      +

      {d.suggestion}

    • ))}
    @@ -308,7 +375,7 @@ function Runtimes({ elevated }: { elevated: boolean }) { try { const text = await api.componentInstall(c.id); setMessage({ ok: true, text }); - await components.refresh(); + await components.reload(); } catch (e) { setMessage({ ok: false, text: errorText(e) }); } finally { @@ -319,7 +386,7 @@ function Runtimes({ elevated }: { elevated: boolean }) { return ( {message && ( @@ -327,8 +394,25 @@ function Runtimes({ elevated }: { elevated: boolean }) { {message.ok ? : }
    )} + {components.error && ( +
    + void components.refresh()} + icon={} + > + Try again + + } + /> +
    + )}
      - {components.loadedAt === null && ( + {components.loadedAt === null && components.error === null && (
    • Checking runtimes…
    • )} {components.data.map((c) => { @@ -378,12 +462,12 @@ function DriverBackups({ elevated }: { elevated: boolean }) { const [message, setMessage] = useState<{ ok: boolean; text: string } | null>(null); const [confirmRestore, setConfirmRestore] = useState(null); - const run = async (label: string, work: () => Promise) => { + const run = async (label: string, work: () => Promise<{ ok: boolean; text: string }>) => { setBusy(label); setMessage(null); try { - setMessage({ ok: true, text: await work() }); - await driverBackups.refresh(); + setMessage(await work()); + await driverBackups.reload(); } catch (e) { setMessage({ ok: false, text: errorText(e) }); } finally { @@ -394,14 +478,14 @@ function DriverBackups({ elevated }: { elevated: boolean }) { const backupNow = () => run("backup", async () => { const b = await api.driverBackupCreate("taken from the Odysync app"); - return `Saved ${b.package_count} driver packages (${formatSize(b.size_bytes)}).${b.complete ? "" : " Some packages could not be exported."}`; + return { + // A backup with holes in it is not a success. + ok: b.complete, + text: `Saved ${b.package_count} driver packages (${formatSize(b.size_bytes)}).${b.complete ? "" : " Some packages could not be exported, so this backup is incomplete."}`, + }; }); const restore = (id: string) => { - if (confirmRestore !== id) { - setConfirmRestore(id); - return; - } setConfirmRestore(null); void run(`restore:${id}`, async () => { const r = await api.driverBackupRestore(id); @@ -410,7 +494,10 @@ function DriverBackups({ elevated }: { elevated: boolean }) { `${r.already_current.length} already current`, r.failed.length > 0 ? `${r.failed.length} failed` : null, ].filter(Boolean); - return `${parts.join(", ")}.${r.reboot_required ? " Restart to finish." : ""}`; + return { + ok: r.failed.length === 0, + text: `${parts.join(", ")}.${r.reboot_required ? " Restart to finish." : ""}${r.failed.length > 0 ? ` Not restored: ${r.failed.join(", ")}.` : ""}`, + }; }); }; @@ -436,44 +523,57 @@ function DriverBackups({ elevated }: { elevated: boolean }) { {message.ok ? : }
    )} - {driverBackups.data.length === 0 ? ( -
    - No backups yet. A full backup is usually 3–6 GB, so Odysync does not take one - automatically unless you turn that on in Settings. + {driverBackups.error && ( +
    +
    + )} + {driverBackups.data.length === 0 ? ( + driverBackups.error === null && ( +
    + {driverBackups.loadedAt === null + ? "Reading the backups…" + : "No backups yet. A full backup is usually 3 to 6 GB, so Odysync takes one only when you ask."} +
    + ) ) : (
      {driverBackups.data.map((b) => ( -
    • -
      -
      {formatDate(b.created_at)}
      -
      - {b.package_count} packages · {formatSize(b.size_bytes)} · {b.reason} - {!b.complete && " · incomplete"} +
    • +
      +
      +
      {formatDate(b.created_at)}
      +
      + {b.package_count} packages · {formatSize(b.size_bytes)} · {b.reason} + {!b.complete && " · incomplete"} +
      +
      - + {confirmRestore === b.id && ( + restore(b.id)} + onCancel={() => setConfirmRestore(null)} + /> + )}
    • ))}
    )} - {confirmRestore && ( -

    - Restoring re-adds the saved packages and lets Windows install them where they fit. - It does not force a downgrade: if a newer driver is still installed, Windows may - keep preferring it. -

    - )} ); } diff --git a/apps/gui/src/pages/Hardware.tsx b/apps/gui/src/pages/Hardware.tsx index 6af850f..ddacf52 100644 --- a/apps/gui/src/pages/Hardware.tsx +++ b/apps/gui/src/pages/Hardware.tsx @@ -1,6 +1,6 @@ import { BatteryMedium, Cpu, HardDrive, HeartPulse, MemoryStick, Monitor, RefreshCw } from "lucide-react"; import type { ReactNode } from "react"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, @@ -28,7 +28,7 @@ export default function Hardware() { <> { @@ -98,7 +98,7 @@ export default function Hardware() { {formatSize(d.free_bytes)} free of {formatSize(d.size_bytes)}
    - 0.9 ? "danger" : used > 0.8 ? "warning" : "accent"} /> + 0.9 ? "danger" : used > 0.8 ? "warning" : "accent"} />
  • ); })} @@ -147,7 +147,7 @@ function HealthCard({ report }: { report: HealthReportDto }) { Hardware health } - description="Disks and batteries wear out on their own. Odysync reads what they report about themselves — nothing is estimated." + description="Disks and batteries wear out on their own. Odysync reads what they report about themselves; nothing is estimated." padded={false} >
      @@ -176,6 +176,7 @@ function HealthCard({ report }: { report: HealthReportDto }) { {d.wear_percent}% = 80 ? "danger" : d.wear_percent >= 50 ? "warning" : "success"} /> @@ -203,6 +204,7 @@ function HealthCard({ report }: { report: HealthReportDto }) { {report.battery.capacity_percent !== null && (
      = 80 diff --git a/apps/gui/src/pages/History.tsx b/apps/gui/src/pages/History.tsx index 1d4e4c1..a52f314 100644 --- a/apps/gui/src/pages/History.tsx +++ b/apps/gui/src/pages/History.tsx @@ -1,11 +1,12 @@ import { useState } from "react"; import { ArrowRight, History as HistoryIcon, RefreshCw, Trash2 } from "lucide-react"; import * as api from "../api"; -import { OutcomeIcon } from "./Updates"; -import { useStore } from "../store"; +import { OutcomeIcon } from "../components/OutcomeIcon"; +import { useStore } from "../store-context"; import { Button, Card, + ConfirmBar, EmptyState, ErrorBar, PageHeader, @@ -32,16 +33,12 @@ export default function History() { const failed = entries.filter((e) => e.status !== "updated" && e.status !== "skipped").length; const clear = async () => { - if (!confirmClear) { - setConfirmClear(true); - return; - } setConfirmClear(false); setClearing(true); setError(null); try { await api.clearUpdateHistory(); - await history.refresh(); + await history.reload(); } catch (e) { setError(errorText(e)); } finally { @@ -69,18 +66,27 @@ export default function History() { {entries.length > 0 && ( )} } /> + {confirmClear && entries.length > 0 && ( + void clear()} + onCancel={() => setConfirmClear(false)} + /> + )} {error && } {history.error && } @@ -97,7 +103,9 @@ export default function History() { history.loading && history.loadedAt === null ? "Loading history…" : entries.length === 0 - ? "Nothing installed yet" + ? history.error + ? "The history could not be read" + : "Nothing installed yet" : "No entry matches the filter" } /> @@ -111,13 +119,14 @@ export default function History() {
      {e.from_version} - + + to {e.to_version} · {e.backend} · {formatDate(e.timestamp)}
      {e.status !== "updated" && e.detail && ( -
      {e.detail}
      +
      {e.detail}
      )}
      diff --git a/apps/gui/src/pages/Logs.tsx b/apps/gui/src/pages/Logs.tsx index c5be845..ed902e7 100644 --- a/apps/gui/src/pages/Logs.tsx +++ b/apps/gui/src/pages/Logs.tsx @@ -1,7 +1,7 @@ import { useEffect, useMemo, useRef, useState } from "react"; import { ArrowDown, FolderOpen, RefreshCw, ScrollText } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Button, Card, @@ -12,6 +12,7 @@ import { Segmented, Switch, } from "../components/ui"; +import { errorText } from "../format"; const AUTO_REFRESH_MS = 5000; @@ -21,6 +22,7 @@ export default function Logs() { const [search, setSearch] = useState(""); const [follow, setFollow] = useState(true); const [autoScroll, setAutoScroll] = useState(true); + const [folderError, setFolderError] = useState(null); const viewportRef = useRef(null); const entries = logs.data; @@ -40,7 +42,7 @@ export default function Logs() { const refresh = logs.refresh; useEffect(() => { if (!follow) return; - const id = setInterval(() => void refresh(), AUTO_REFRESH_MS); + const id = setInterval(() => void refresh({ quiet: true }), AUTO_REFRESH_MS); return () => clearInterval(id); }, [follow, refresh]); @@ -79,12 +81,13 @@ export default function Logs() { @@ -99,7 +102,8 @@ export default function Logs() { } /> - {logs.error && } + {logs.error && } + {folderError && }
      @@ -126,7 +130,9 @@ export default function Logs() { logs.loading && logs.loadedAt === null ? "Reading the log…" : entries.length === 0 - ? "The log is empty" + ? logs.error + ? "The log could not be read" + : "The log is empty" : "No entry matches the filter" } /> @@ -135,6 +141,10 @@ export default function Logs() {
      {filtered.map((l, i) => ( diff --git a/apps/gui/src/pages/Maintenance.tsx b/apps/gui/src/pages/Maintenance.tsx index b853b6d..9dc504e 100644 --- a/apps/gui/src/pages/Maintenance.tsx +++ b/apps/gui/src/pages/Maintenance.tsx @@ -8,16 +8,16 @@ import { Stethoscope, } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, Card, Checkbox, + ConfirmBar, ErrorBar, PageHeader, SuccessBar, - WarningBar, } from "../components/ui"; import { errorText, formatSize } from "../format"; import type { @@ -38,7 +38,7 @@ const GROUPS: { id: Group; title: string; hint: string }[] = [ { id: "choice", title: "Your choice", - hint: "Harmless, but with a small cost — read the line under each before ticking it.", + hint: "Harmless, but with a small cost. Read the line under each before ticking it.", }, { id: "permanent", @@ -66,7 +66,8 @@ export default function Maintenance() { // Choices the user made, layered over each category's default. const [choices, setChoices] = useState>({}); - const [confirming, setConfirming] = useState(false); + // The selection the question was asked about; any other one closes it. + const [confirmFor, setConfirmFor] = useState(null); const [cleaning, setCleaning] = useState(false); const [results, setResults] = useState(null); const [error, setError] = useState(null); @@ -84,21 +85,18 @@ export default function Maintenance() { ); const selectedBytes = selected.reduce((n, i) => n + i.bytes, 0); const permanent = selected.filter((i) => i.needs_confirmation); + const selection = selected.map((i) => i.id).join("|"); + const confirming = confirmFor !== null && confirmFor === selection; const clean = async () => { - if (selected.length === 0) return; - if (permanent.length > 0 && !confirming) { - setConfirming(true); - return; - } - setConfirming(false); + setConfirmFor(null); setCleaning(true); setError(null); setResults(null); try { setResults(await api.cleanupRun(selected.map((i) => i.id))); setChoices({}); - await cleanup.refresh(); + await cleanup.reload(); } catch (e) { setError(errorText(e)); } finally { @@ -106,6 +104,12 @@ export default function Maintenance() { } }; + const start = () => { + if (selected.length === 0) return; + if (permanent.length > 0) setConfirmFor(selection); + else void clean(); + }; + const removed = results?.reduce((n, r) => n + r.removed_bytes, 0) ?? 0; const skippedCount = results?.reduce((n, r) => n + r.skipped.length, 0) ?? 0; @@ -127,6 +131,21 @@ export default function Maintenance() { /> {error && } + {cleanup.error && ( + void cleanup.refresh()} + icon={} + > + Try again + + } + /> + )} {results && (
      Selected
      - {cleanup.loadedAt === null ? "Measuring…" : formatSize(selectedBytes)} + {cleanup.loadedAt !== null + ? formatSize(selectedBytes) + : cleanup.error + ? "Not measured" + : "Measuring…"}
      {confirming && (
      - You selected {permanent.length === 1 ? "something" : "things"} that cannot be undone:{" "} {permanent.map((p) => ( - {p.label} — {p.consequence} + {p.label}: {p.consequence} ))} } + confirmLabel="Yes, delete permanently" + onConfirm={() => void clean()} + onCancel={() => setConfirmFor(null)} />
      )} @@ -188,10 +214,7 @@ export default function Maintenance() { label={`Clean ${item.label}`} checked={isSelected(item)} disabled={!selectable(item) || cleaning} - onChange={(v) => { - setConfirming(false); - setChoices((c) => ({ ...c, [item.id]: v })); - }} + onChange={(v) => setChoices((c) => ({ ...c, [item.id]: v }))} /> )} @@ -202,7 +225,10 @@ export default function Maintenance() {
      {item.error ? ( - could not measure + + could not measure + : {item.error} + ) : ( <>
      @@ -210,7 +236,7 @@ export default function Maintenance() { ? formatSize(item.bytes) : item.id === "component-store" ? "size unknown" - : "—"} + : "-"}
      {item.file_count > 0 && (
      @@ -253,7 +279,7 @@ function LargeFiles() { return ( void find()} busy={busy} icon={}> @@ -284,7 +310,13 @@ function LargeFiles() { size="sm" variant="ghost" icon={} - onClick={() => void api.revealPath(f.path).catch(() => {})} + aria-label={`Show ${f.path} in its folder`} + onClick={() => { + setError(null); + api + .revealPath(f.path) + .catch((e: unknown) => setError(`${f.path} could not be shown: ${errorText(e)}`)); + }} > Show @@ -293,7 +325,7 @@ function LargeFiles() {

    {report.scanned.toLocaleString()} files looked at - {report.truncated ? " — stopped at the time limit, so larger files may exist." : "."} + {report.truncated ? ", stopped at the time limit, so larger files may exist." : "."}

    )} @@ -310,6 +342,7 @@ function DiskTools({ elevated }: { elevated: boolean }) { const run = async (label: string, work: () => Promise) => { setBusy(label); setError(null); + setOutput(null); try { setOutput({ title: label, text: await work() }); } catch (e) { @@ -358,6 +391,7 @@ function DiskTools({ elevated }: { elevated: boolean }) { onClick={() => void (async () => { setBusy("plan"); + setError(null); try { setPlan(await api.diskOptimizationPlan()); } catch (e) { @@ -377,7 +411,7 @@ function DiskTools({ elevated }: { elevated: boolean }) {
    Repair system files

    - Runs DISM and SFC to find and fix damaged Windows files. Takes 10–30 minutes. + Runs DISM and SFC to find and fix damaged Windows files. Takes 10 to 30 minutes.

    - ) : undefined } > + {confirmClear && entries.length > 0 && ( +
    + setConfirmClear(false)} + /> +
    + )} {entries.length === 0 ? (
    - {v === true && } - {v === false && } + {v === true && } + {v === false && }
    -
    {e.package_id}
    +
    + {e.package_id} + {v === true && : checksum verified} + {v === false && ( + : checksum wrong or file missing + )} +
    {e.backend} · v{e.version} · {formatSize(e.size_bytes)} · {formatDate(e.cached_at)}
    @@ -146,10 +159,11 @@ export default function Offline() { size="sm" variant="ghost" disabled={busy} + aria-label={`Remove ${e.package_id} from the cache`} onClick={() => void run(async () => { await api.removeOfflineEntry(e.package_id, e.backend); - await offline.refresh(); + await offline.reload(); }) } > diff --git a/apps/gui/src/pages/Packages.tsx b/apps/gui/src/pages/Packages.tsx index 8e54dab..fef63a0 100644 --- a/apps/gui/src/pages/Packages.tsx +++ b/apps/gui/src/pages/Packages.tsx @@ -1,6 +1,6 @@ import { useMemo, useState } from "react"; import { Layers, RefreshCw } from "lucide-react"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, @@ -56,7 +56,7 @@ export default function Packages() { value={source} onChange={(e) => setSource(e.target.value)} aria-label="Source" - className="h-9 px-3 rounded-lg border border-line bg-canvas text-sm outline-none focus:border-accent" + className="h-9 px-3 rounded-lg border border-control bg-canvas text-sm outline-none focus:border-accent" > {sources.map((b) => ( @@ -77,7 +77,9 @@ export default function Packages() { packages.loading && packages.loadedAt === null ? "Asking every source what is installed…" : all.length === 0 - ? "Nothing found" + ? packages.error + ? "The installed packages could not be read" + : "Nothing found" : "No package matches the filter" } /> diff --git a/apps/gui/src/pages/Profiles.tsx b/apps/gui/src/pages/Profiles.tsx index f15a882..b833992 100644 --- a/apps/gui/src/pages/Profiles.tsx +++ b/apps/gui/src/pages/Profiles.tsx @@ -1,11 +1,12 @@ import { useState } from "react"; import { ListChecks, Plus, Trash2, X } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, Card, + ConfirmBar, EmptyState, ErrorBar, PageHeader, @@ -37,7 +38,7 @@ export default function Profiles() { setNewName(""); setNewPackages(""); setShowCreate(false); - await Promise.allSettled([profiles.refresh(), config.refresh()]); + await Promise.allSettled([profiles.reload(), config.reload()]); } catch (e) { setError(errorText(e)); } finally { @@ -46,16 +47,12 @@ export default function Profiles() { }; const remove = async (name: string) => { - if (confirmDelete !== name) { - setConfirmDelete(name); - return; - } setConfirmDelete(null); setBusy(true); setError(null); try { await api.deleteProfile(name); - await Promise.allSettled([profiles.refresh(), config.refresh()]); + await Promise.allSettled([profiles.reload(), config.reload()]); } catch (e) { setError(errorText(e)); } finally { @@ -67,10 +64,11 @@ export default function Profiles() { <> setShowCreate((v) => !v)} icon={showCreate ? : } > @@ -94,7 +92,7 @@ export default function Profiles() { type="text" value={newName} onChange={(e) => setNewName(e.target.value)} - className="w-full h-9 px-3 rounded-lg border border-line bg-canvas text-sm placeholder:text-faint outline-none focus:border-accent" + className="w-full h-9 px-3 rounded-lg border border-control bg-canvas text-sm placeholder:text-faint outline-none focus:border-accent" placeholder="Work tools" />
    @@ -107,7 +105,7 @@ export default function Profiles() { value={newPackages} onChange={(e) => setNewPackages(e.target.value)} rows={4} - className="w-full px-3 py-2 rounded-lg border border-line bg-canvas text-sm font-mono placeholder:text-faint outline-none focus:border-accent selectable" + className="w-full px-3 py-2 rounded-lg border border-control bg-canvas text-sm font-mono placeholder:text-faint outline-none focus:border-accent selectable" placeholder={"vscode\ngit\nnodejs"} />
    @@ -120,7 +118,7 @@ export default function Profiles() { )} - {list.length === 0 && !showCreate ? ( + {list.length === 0 && profiles.error !== null ? null : list.length === 0 && !showCreate ? ( } @@ -140,15 +138,25 @@ export default function Profiles() { actions={ } > + {confirmDelete === p.name && ( + void remove(p.name)} + onCancel={() => setConfirmDelete(null)} + /> + )} {p.packages.length === 0 ? (

    This profile is empty.

    ) : ( diff --git a/apps/gui/src/pages/Schedule.tsx b/apps/gui/src/pages/Schedule.tsx index 64ec575..3d37baf 100644 --- a/apps/gui/src/pages/Schedule.tsx +++ b/apps/gui/src/pages/Schedule.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useState } from "react"; import { CalendarClock, Trash2 } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, @@ -89,7 +89,7 @@ export default function Schedule() { <> {message && } @@ -99,7 +99,13 @@ export default function Schedule() { title="Automatic scan" actions={ - {checking || scheduled === null ? "Checking…" : scheduled ? "Active" : "Not scheduled"} + {checking + ? "Checking…" + : scheduled === null + ? "Unknown" + : scheduled + ? "Active" + : "Not scheduled"} } > @@ -125,7 +131,7 @@ export default function Schedule() { type="time" value={time} onChange={(e) => setTime(e.target.value)} - className="w-full h-9 px-3 rounded-lg border border-line bg-canvas text-sm outline-none focus:border-accent" + className="w-full h-9 px-3 rounded-lg border border-control bg-canvas text-sm outline-none focus:border-accent" />
    @@ -137,7 +143,7 @@ export default function Schedule() { type="text" value={taskName} onChange={(e) => setTaskName(e.target.value)} - className="w-full h-9 px-3 rounded-lg border border-line bg-canvas text-sm outline-none focus:border-accent" + className="w-full h-9 px-3 rounded-lg border border-control bg-canvas text-sm outline-none focus:border-accent" />
    diff --git a/apps/gui/src/pages/Security.tsx b/apps/gui/src/pages/Security.tsx index f3e77d4..4ac6be3 100644 --- a/apps/gui/src/pages/Security.tsx +++ b/apps/gui/src/pages/Security.tsx @@ -1,9 +1,10 @@ -import { useEffect, useMemo, useState } from "react"; +import { useId, useMemo, useState } from "react"; import { AlertTriangle, Bug, CheckCircle2, Circle, + CircleHelp, Eye, Loader2, Network, @@ -15,12 +16,12 @@ import { Wrench, } from "lucide-react"; import * as api from "../api"; -import { safeListen } from "../events"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { Badge, Button, Card, + ConfirmBar, EmptyState, ErrorBar, InfoBar, @@ -29,7 +30,7 @@ import { WarningBar, } from "../components/ui"; import { errorText, formatDate } from "../format"; -import type { Remediation, SectionProgress, SecurityFinding, Severity } from "../types"; +import type { Remediation, SecurityFinding, Severity } from "../types"; const SECTION_LABELS: Record = { defender: "Microsoft Defender", @@ -51,7 +52,7 @@ const SEVERITY: Record>({}); - useEffect( - () => - safeListen("security-progress", (e) => { - setSectionState((prev) => ({ ...prev, [e.payload.name]: e.payload })); - }), - [], - ); - // Clear the per-section board when a fresh audit starts. - useEffect(() => { - if (security.loading) setSectionState({}); - }, [security.loading]); - const sorted = useMemo( () => [...(report?.findings ?? [])].sort( @@ -154,17 +140,11 @@ export default function Security() { const applyFix = async (finding: SecurityFinding) => { if (!finding.remediation) return; - if (confirming !== finding.id) { - setConfirming(finding.id); - return; - } setConfirming(null); await run( `fix:${finding.id}`, () => api.applyRemediation(finding.remediation as Remediation), - async () => { - await security.refresh(); - }, + () => security.reload(), ); }; @@ -174,7 +154,7 @@ export default function Security() { <> void security.refresh()} @@ -200,9 +180,15 @@ export default function Security() { /> {!elevated && ( - + )} {error && } + {security.error && ( + + )} + {defender.error && ( + + )} {notice && } {d && (
    - - - + + +
    )} @@ -270,21 +263,31 @@ export default function Security() {
      {ALL_SECTIONS.map((name) => { - const s = sectionState[name]; + const s = security.sections[name]; const state = s?.state ?? "pending"; return (
    • {state === "done" ? ( - + ) : state === "failed" ? ( - + ) : state === "started" ? ( - + ) : ( - + )} {SECTION_LABELS[name] ?? name} + + :{" "} + {state === "done" + ? "done" + : state === "failed" + ? "failed" + : state === "started" + ? "running" + : "waiting"} + {s?.durationMs != null && ( @@ -326,7 +329,10 @@ export default function Security() { {open && ( -
      +                
                         {finding.evidence.join("\n")}
                       
      )} )} {finding.remediation?.kind === "manual" && ( -

      +

      What to do: {finding.remediation.instructions}

      @@ -474,16 +527,26 @@ function Finding({ {finding.remediation && finding.remediation.kind !== "manual" && ( )} + {confirming && finding.remediation && ( + + )}
    • ); } diff --git a/apps/gui/src/pages/Settings.tsx b/apps/gui/src/pages/Settings.tsx index 7fa5b13..ae9f37b 100644 --- a/apps/gui/src/pages/Settings.tsx +++ b/apps/gui/src/pages/Settings.tsx @@ -1,7 +1,7 @@ -import { useState } from "react"; -import { CheckCircle2, Lock, Monitor, Moon, Sun } from "lucide-react"; +import { useId, useState } from "react"; +import { CheckCircle2, Lock, LockOpen, Monitor, Moon, Sun } from "lucide-react"; import * as api from "../api"; -import { useStore } from "../store"; +import { useStore } from "../store-context"; import { useTheme, type ThemeChoice } from "../theme"; import { Badge, @@ -15,7 +15,14 @@ import { Toggle, } from "../components/ui"; import { errorText } from "../format"; -import type { BackendDto, Config } from "../types"; +import type { BackendDto, Config, Hold } from "../types"; + +/** The exclusion list as it is stored, from what was typed. */ +const parseExclude = (text: string) => + text + .split("\n") + .map((s) => s.trim()) + .filter(Boolean); const same = (a: string, b: string) => a.toLowerCase() === b.toLowerCase(); @@ -25,6 +32,9 @@ export default function Settings() { // Unsaved edits. `null` means "no edits": the form shows the saved config. const [edits, setEdits] = useState(null); const draft = edits ?? config.data; + // The exclusion list as typed. Parsing it on every keystroke would remove + // the line break the moment it is entered. + const [excludeText, setExcludeText] = useState(null); const [error, setError] = useState(null); const [saving, setSaving] = useState(false); const [saved, setSaved] = useState(false); @@ -47,12 +57,17 @@ export default function Settings() { const save = async () => { if (!draft) return; + const toSave = + excludeText === null + ? draft + : { ...draft, policy: { ...draft.policy, exclude: parseExclude(excludeText) } }; setSaving(true); setError(null); try { - await api.saveConfig(draft); - await Promise.all([config.refresh(), backends.refresh()]); + await api.saveConfig(toSave); + await Promise.all([config.reload(), backends.reload()]); setEdits(null); + setExcludeText(null); setSaved(true); } catch (e) { setError(errorText(e)); @@ -64,12 +79,21 @@ export default function Settings() { const revert = async () => { await config.refresh(); setEdits(null); + setExcludeText(null); setSaved(false); setError(null); }; + // Holds are released on the spot and are not part of what is saved here, so + // they do not make the form dirty. + const comparable = (c: Config) => JSON.stringify({ ...c, policy: { ...c.policy, holds: [] } }); + const excludeEdited = + excludeText !== null && + config.data !== null && + parseExclude(excludeText).join("\n") !== config.data.policy.exclude.join("\n"); const dirty = - edits !== null && config.data !== null && JSON.stringify(edits) !== JSON.stringify(config.data); + excludeEdited || + (edits !== null && config.data !== null && comparable(edits) !== comparable(config.data)); /** Whether a source is switched on in the draft. */ const isOn = (b: BackendDto) => { @@ -156,7 +180,7 @@ export default function Settings() { /> patchPolicy({ require_known_versions: v })} /> @@ -168,26 +192,7 @@ export default function Settings() { onChange={(v) => patch({ restore_point: v })} /> )} - {draft.policy.holds.length > 0 && ( -
      -
      - - Held packages -
      -
      - {draft.policy.holds.map((h) => ( - - - - {h.package} - {h.pin ? ` @ ${h.pin}` : ""} - - - - ))} -
      -
      - )} + @@ -195,12 +200,6 @@ export default function Settings() {
      - patch({ auto_apply: v })} - /> -
      -
      - - patch({ proxy_url: e.target.value.trim() || null })} - className="w-full h-9 px-3 rounded-lg border border-line bg-canvas text-sm placeholder:text-faint focus:border-accent outline-none" - placeholder="http://proxy.example.com:8080" - /> -

      Leave empty for a direct connection.

      -
      -
      - - patch({ concurrency: Number(e.target.value) })} - className="w-full accent-[var(--accent)] mt-2" - /> -
      -
      + + patch({ proxy_url: e.target.value.trim() || null })} + aria-describedby="proxy-hint" + className="w-full h-9 px-3 rounded-lg border border-control bg-canvas text-sm placeholder:text-faint focus:border-accent outline-none" + placeholder="http://proxy.example.com:8080" + /> +

      + Leave empty for a direct connection. +