Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
feat[tauri]: only auto-download update on wifi (#2812)
Peter Chinmanc10c8713f3be
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsxindex af806b6aea..645e77883a 100644--- a/js/app/packages/app/component/settings/Account.tsx+++ b/js/app/packages/app/component/settings/Account.tsx@@ -51,6 +51,7 @@ function formatBundleUpdateStatus(status: BundleUpdateStatus): string {case 'CheckingForUpdate': return 'Checking for update...';case 'UpdateFound': return `Update available: v${status.data.version}`;case 'NoUpdateNeeded': return 'Up to date';+ case 'WaitingForWifi': return 'Waiting for Wi-Fi to download';case 'Downloading': return `Downloading: ${Math.round(status.data.progress)}%`;case 'Unzipping': return `Installing: ${Math.round(status.data.progress)}%`;case 'Completed': return 'Update ready';@@ -452,14 +453,19 @@ function NotificationNotSupported() {);}-function bundleUpdateAction(status: BundleUpdateStatus): { label: string; action: () => void } | null {+function bundleUpdateAction(+ status: BundleUpdateStatus,+ cancelWifiWait: () => void,+): { label: string; action: () => void } | null {switch (status.status) {case 'Idle':return { label: 'Check for Update', action: () => invoke('check_for_update') };case 'Error':return { label: 'Retry', action: () => invoke('check_for_update') };case 'UpdateFound':- return { label: 'Download', action: () => invoke('grant_bundle_update', { approved: true }) };+ return { label: 'Download', action: () => invoke('grant_bundle_update', { approved: true }).catch(console.error) };+ case 'WaitingForWifi':+ return { label: 'Download anyway', action: cancelWifiWait };case 'Completed':return { label: 'Update', action: () => invoke('perform_update') };default:@@ -473,7 +479,7 @@ function BundleUpdateRow() {<Show when={tauri}>{(ctx) => {const status = () => ctx().bundleUpdateStatus();- const action = () => bundleUpdateAction(status());+ const action = () => bundleUpdateAction(status(), ctx().cancelWifiWait);return (<div class="flex items-center justify-between mb-[18px]"><TabContentRowdiff --git a/js/app/packages/tauri/package.json b/js/app/packages/tauri/package.jsonindex 71738f7caf..e52712a817 100644--- a/js/app/packages/tauri/package.json+++ b/js/app/packages/tauri/package.json@@ -16,7 +16,8 @@"dependencies": {"@solidjs/router": "^0.15.3","@tauri-apps/api": "^2.8.0",- "solid-js": "^1.8.11"+ "solid-js": "^1.8.11",+ "tauri-plugin-device-info-api": "^1.0.1"},"devDependencies": {"@types/node": "^20.10.5",diff --git a/js/app/packages/tauri/src/TauriProvider.tsx b/js/app/packages/tauri/src/TauriProvider.tsxindex 8492a443de..15f04d2e7e 100644--- a/js/app/packages/tauri/src/TauriProvider.tsx+++ b/js/app/packages/tauri/src/TauriProvider.tsx@@ -4,6 +4,7 @@ import type { RouteSectionProps } from '@solidjs/router';import { type OsType, type as osType } from '@tauri-apps/plugin-os';import {type Accessor,+ batch,createContext,createEffect,createSignal,@@ -12,6 +13,7 @@ import {onMount,useContext,} from 'solid-js';+import { getNetworkInfo } from 'tauri-plugin-device-info-api';import { getInsets, type Insets } from 'tauri-plugin-safe-area-insets';import { invoke } from '@tauri-apps/api/core';import { listen } from '@tauri-apps/api/event';@@ -25,6 +27,7 @@ export type BundleUpdateStatus =| { status: 'CheckingForUpdate' }| { status: 'UpdateFound'; data: { version: string; notes: string | null } }| { status: 'NoUpdateNeeded' }+ | { status: 'WaitingForWifi' }| { status: 'Downloading'; data: { progress: number } }| { status: 'Unzipping'; data: { progress: number } }| { status: 'Completed' }@@ -34,6 +37,7 @@ interface TauriContextValue {os: OsType;runtimeInsets: Accessor<Insets | NotAndroid>;bundleUpdateStatus: Accessor<BundleUpdateStatus>;+ cancelWifiWait: () => void;}const TauriContext = createContext<TauriContextValue | undefined>(undefined);@@ -47,23 +51,95 @@ function TauriProvider(props: { children: JSX.Element }) {);const [bundleUpdateStatus, setBundleUpdateStatus] =createSignal<BundleUpdateStatus>({ status: 'Idle' });+ const [waitingForWifi, setWaitingForWifi] = createSignal(false);++ function grantBundleUpdate() {+ invoke('grant_bundle_update', { approved: true }).catch((e) =>+ console.error('[bundle-update] grant_bundle_update failed', e)+ );+ }++ function cancelWifiWait() {+ batch(() => {+ setWaitingForWifi(false);+ setBundleUpdateStatus({ status: 'CheckingForUpdate' });+ });+ grantBundleUpdate();+ }const value: TauriContextValue = {runtimeInsets: insets,os: osType(),bundleUpdateStatus,+ cancelWifiWait,};- // Auto-approve download when an update is found so the user only- // needs to confirm the final "Update" step.+ // When an update is found, only approve the download if we're on wifi/ethernet.+ // On cellular, wait and poll until a suitable connection is available.createEffect(() => {const status = bundleUpdateStatus();- if (status.status === 'UpdateFound') {- console.info('[bundle-update] update found, auto-approving download');- invoke('grant_bundle_update', { approved: true }).catch((e) =>- console.error('[bundle-update] grant_bundle_update failed', e)- );+ if (status.status !== 'UpdateFound') return;++ let aborted = false;+ onCleanup(() => {+ aborted = true;+ });++ console.info('[bundle-update] update found, checking network');+ getNetworkInfo()+ .then((info) => {+ if (aborted) return;+ if (['wifi', 'ethernet'].includes(info.networkType ?? '')) {+ console.info('[bundle-update] network ok, approving download');+ grantBundleUpdate();+ } else {+ console.info('[bundle-update] cellular network, waiting for wifi');+ batch(() => {+ setBundleUpdateStatus({ status: 'WaitingForWifi' });+ setWaitingForWifi(true);+ });+ }+ })+ .catch((e) => {+ if (aborted) return;+ // If network detection fails, allow the download rather than blocking it.+ console.warn(+ '[bundle-update] network check failed, approving download',+ e+ );+ grantBundleUpdate();+ });+ });++ // While waiting for wifi, poll on a 30s interval and on app foreground.+ createEffect(() => {+ if (!waitingForWifi()) return;++ async function tryGrant() {+ try {+ const info = await getNetworkInfo();+ // Re-check after the async gap — cancelWifiWait or a prior tick may have already fired.+ if (!waitingForWifi()) return;+ if (['wifi', 'ethernet'].includes(info.networkType ?? '')) {+ setWaitingForWifi(false);+ console.info('[bundle-update] wifi detected, approving download');+ grantBundleUpdate();+ }+ } catch {+ // Ignore — will retry on next tick.+ }}++ const intervalId = setInterval(() => void tryGrant(), 30_000);+ const onVisibilityChange = () => {+ if (!document.hidden) void tryGrant();+ };+ document.addEventListener('visibilitychange', onVisibilityChange);++ onCleanup(() => {+ clearInterval(intervalId);+ document.removeEventListener('visibilitychange', onVisibilityChange);+ });});onMount(() => {@@ -72,7 +148,10 @@ function TauriProvider(props: { children: JSX.Element }) {'bundle-update-status',(ev) => {console.info('[bundle-update] received', JSON.stringify(ev.payload));- setBundleUpdateStatus(ev.payload);+ batch(() => {+ setBundleUpdateStatus(ev.payload);+ if (ev.payload.status !== 'WaitingForWifi') setWaitingForWifi(false);+ });});// Fetch current status since events emitted before the listener registered are misseddiff --git a/js/app/tauri/Cargo.lock b/js/app/tauri/Cargo.lockindex 4226e082ea..71ed8dc3b3 100644--- a/js/app/tauri/Cargo.lock+++ b/js/app/tauri/Cargo.lock@@ -106,6 +106,7 @@ dependencies = ["tauri-build","tauri-plugin-auth","tauri-plugin-deep-link",+ "tauri-plugin-device-info","tauri-plugin-haptics","tauri-plugin-http","tauri-plugin-input-accessory",@@ -342,6 +343,23 @@ version = "0.22.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"+[[package]]+name = "battery"+version = "0.7.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b4b624268937c0e0a3edb7c27843f9e547c320d730c610d3b8e6e8e95b2026e4"+dependencies = [+ "cfg-if",+ "core-foundation 0.7.0",+ "lazycell",+ "libc",+ "mach",+ "nix 0.19.1",+ "num-traits",+ "uom",+ "winapi",+]+[[package]]name = "bit-set"version = "0.8.0"@@ -759,13 +777,23 @@ dependencies = ["url",]+[[package]]+name = "core-foundation"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171"+dependencies = [+ "core-foundation-sys 0.7.0",+ "libc",+]+[[package]]name = "core-foundation"version = "0.9.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"dependencies = [- "core-foundation-sys",+ "core-foundation-sys 0.8.7","libc",]@@ -775,10 +803,16 @@ version = "0.10.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"dependencies = [- "core-foundation-sys",+ "core-foundation-sys 0.8.7","libc",]+[[package]]+name = "core-foundation-sys"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac"+[[package]]name = "core-foundation-sys"version = "0.8.7"@@ -929,14 +963,38 @@ version = "0.0.7"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1"+[[package]]+name = "darling"+version = "0.20.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"+dependencies = [+ "darling_core 0.20.11",+ "darling_macro 0.20.11",+]+[[package]]name = "darling"version = "0.23.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"dependencies = [- "darling_core",- "darling_macro",+ "darling_core 0.23.0",+ "darling_macro 0.23.0",+]++[[package]]+name = "darling_core"+version = "0.20.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"+dependencies = [+ "fnv",+ "ident_case",+ "proc-macro2",+ "quote",+ "strsim",+ "syn 2.0.117",][[package]]@@ -952,13 +1010,24 @@ dependencies = ["syn 2.0.117",]+[[package]]+name = "darling_macro"+version = "0.20.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"+dependencies = [+ "darling_core 0.20.11",+ "quote",+ "syn 2.0.117",+]+[[package]]name = "darling_macro"version = "0.23.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"dependencies = [- "darling_core",+ "darling_core 0.23.0","quote","syn 2.0.117",]@@ -986,6 +1055,23 @@ dependencies = ["windows-sys 0.59.0",]+[[package]]+name = "default-net"+version = "0.22.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0c5a6569a908354d49b10db3c516d69aca1eccd97562fd31c98b13f00b73ca66"+dependencies = [+ "dlopen2 0.5.0",+ "libc",+ "memalloc",+ "netlink-packet-core",+ "netlink-packet-route",+ "netlink-sys",+ "once_cell",+ "system-configuration 0.5.1",+ "windows 0.48.0",+]+[[package]]name = "deflate64"version = "0.1.12"@@ -1013,6 +1099,37 @@ dependencies = ["syn 2.0.117",]+[[package]]+name = "derive_builder"+version = "0.20.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947"+dependencies = [+ "derive_builder_macro",+]++[[package]]+name = "derive_builder_core"+version = "0.20.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8"+dependencies = [+ "darling 0.20.11",+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]++[[package]]+name = "derive_builder_macro"+version = "0.20.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c"+dependencies = [+ "derive_builder_core",+ "syn 2.0.117",+]+[[package]]name = "derive_more"version = "0.99.20"@@ -1102,6 +1219,17 @@ dependencies = ["syn 2.0.117",]+[[package]]+name = "dlopen2"+version = "0.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "09b4f5f101177ff01b8ec4ecc81eead416a8aa42819a2869311b3420fa114ffa"+dependencies = [+ "libc",+ "once_cell",+ "winapi",+]+[[package]]name = "dlopen2"version = "0.8.2"@@ -1209,6 +1337,12 @@ version = "1.0.20"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"+[[package]]+name = "either"+version = "1.15.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"+[[package]]name = "embed-resource"version = "3.0.8"@@ -1730,6 +1864,18 @@ dependencies = ["wasip3",]+[[package]]+name = "getset"+version = "0.1.6"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9cf0fc11e47561d47397154977bc219f4cf809b2974facc3ccb3b89e2436f912"+dependencies = [+ "proc-macro-error2",+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]+[[package]]name = "gio"version = "0.18.4"@@ -2081,7 +2227,7 @@ dependencies = ["percent-encoding","pin-project-lite","socket2",- "system-configuration",+ "system-configuration 0.7.0","tokio","tower-service","tracing",@@ -2095,7 +2241,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"dependencies = ["android_system_properties",- "core-foundation-sys",+ "core-foundation-sys 0.8.7","iana-time-zone-haiku","js-sys","log",@@ -2119,7 +2265,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3e795dff5605e0f04bff85ca41b51a96b83e80b281e96231bcaaf1ac35103371"dependencies = ["byteorder",- "png",+ "png 0.17.16",][[package]]@@ -2459,6 +2605,12 @@ version = "1.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"+[[package]]+name = "lazycell"+version = "1.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"+[[package]]name = "leb128fmt"version = "0.1.0"@@ -2547,6 +2699,17 @@ version = "1.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"+[[package]]+name = "local-ip-address"+version = "0.6.12"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d7b0187df4e614e42405b49511b82ff7a1774fbd9a816060ee465067847cac22"+dependencies = [+ "libc",+ "neli",+ "windows-sys 0.61.2",+]+[[package]]name = "lock_api"version = "0.4.14"@@ -2606,6 +2769,15 @@ dependencies = ["time",]+[[package]]+name = "mach"+version = "0.3.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"+dependencies = [+ "libc",+]+[[package]]name = "macro_bundle_updater_plugin"version = "0.1.0"@@ -2678,6 +2850,12 @@ version = "0.1.10"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"+[[package]]+name = "memalloc"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "df39d232f5c40b0891c10216992c2f250c054105cb1e56f0fc9032db6203ecc1"+[[package]]name = "memchr"version = "2.8.0"@@ -2745,7 +2923,7 @@ dependencies = ["objc2-core-foundation","objc2-foundation","once_cell",- "png",+ "png 0.17.16","serde","thiserror 2.0.18","windows-sys 0.60.2",@@ -2792,12 +2970,101 @@ dependencies = ["jni-sys 0.3.1",]+[[package]]+name = "neli"+version = "0.7.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "22f9786d56d972959e1408b6a93be6af13b9c1392036c5c1fafa08a1b0c6ee87"+dependencies = [+ "bitflags 2.11.1",+ "byteorder",+ "derive_builder",+ "getset",+ "libc",+ "log",+ "neli-proc-macros",+ "parking_lot",+]++[[package]]+name = "neli-proc-macros"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "05d8d08c6e98f20a62417478ebf7be8e1425ec9acecc6f63e22da633f6b71609"+dependencies = [+ "either",+ "proc-macro2",+ "quote",+ "serde",+ "syn 2.0.117",+]++[[package]]+name = "netlink-packet-core"+version = "0.7.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4"+dependencies = [+ "anyhow",+ "byteorder",+ "netlink-packet-utils",+]++[[package]]+name = "netlink-packet-route"+version = "0.17.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "053998cea5a306971f88580d0829e90f270f940befd7cf928da179d4187a5a66"+dependencies = [+ "anyhow",+ "bitflags 1.3.2",+ "byteorder",+ "libc",+ "netlink-packet-core",+ "netlink-packet-utils",+]++[[package]]+name = "netlink-packet-utils"+version = "0.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34"+dependencies = [+ "anyhow",+ "byteorder",+ "paste",+ "thiserror 1.0.69",+]++[[package]]+name = "netlink-sys"+version = "0.8.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae"+dependencies = [+ "bytes",+ "libc",+ "log",+]+[[package]]name = "new_debug_unreachable"version = "1.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"+[[package]]+name = "nix"+version = "0.19.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2"+dependencies = [+ "bitflags 1.3.2",+ "cc",+ "cfg-if",+ "libc",+]+[[package]]name = "nix"version = "0.30.1"@@ -2839,6 +3106,15 @@ dependencies = ["zbus",]+[[package]]+name = "ntapi"+version = "0.4.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"+dependencies = [+ "winapi",+]+[[package]]name = "nu-ansi-term"version = "0.50.3"@@ -3148,7 +3424,7 @@ checksum = "e4022a17595a00d6a369236fdae483f0de7f0a339960a53118b818238e132224"dependencies = ["android_system_properties","log",- "nix",+ "nix 0.30.1","objc2","objc2-foundation","objc2-ui-kit",@@ -3210,6 +3486,12 @@ dependencies = ["windows-link 0.2.1",]+[[package]]+name = "paste"+version = "1.0.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"+[[package]]name = "pathdiff"version = "0.2.3"@@ -3468,6 +3750,19 @@ dependencies = ["miniz_oxide",]+[[package]]+name = "png"+version = "0.18.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"+dependencies = [+ "bitflags 2.11.1",+ "crc32fast",+ "fdeflate",+ "flate2",+ "miniz_oxide",+]+[[package]]name = "polling"version = "3.11.0"@@ -3581,6 +3876,28 @@ dependencies = ["version_check",]+[[package]]+name = "proc-macro-error-attr2"+version = "2.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"+dependencies = [+ "proc-macro2",+ "quote",+]++[[package]]+name = "proc-macro-error2"+version = "2.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"+dependencies = [+ "proc-macro-error-attr2",+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]+[[package]]name = "proc-macro-hack"version = "0.5.20+deprecated"@@ -4135,7 +4452,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784"dependencies = ["core-foundation 0.10.1",- "core-foundation-sys",+ "core-foundation-sys 0.8.7","jni","log","once_cell",@@ -4262,7 +4579,7 @@ checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"dependencies = ["bitflags 2.11.1","core-foundation 0.10.1",- "core-foundation-sys",+ "core-foundation-sys 0.8.7","libc","security-framework-sys",]@@ -4273,7 +4590,7 @@ version = "2.17.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"dependencies = [- "core-foundation-sys",+ "core-foundation-sys 0.8.7","libc",]@@ -4455,7 +4772,7 @@ version = "3.18.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65"dependencies = [- "darling",+ "darling 0.23.0","proc-macro2","quote","syn 2.0.117",@@ -4793,6 +5110,30 @@ dependencies = ["libc",]+[[package]]+name = "sysinfo"+version = "0.34.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a4b93974b3d3aeaa036504b8eefd4c039dced109171c1ae973f1dc63b2c7e4b2"+dependencies = [+ "libc",+ "memchr",+ "ntapi",+ "objc2-core-foundation",+ "windows 0.57.0",+]++[[package]]+name = "system-configuration"+version = "0.5.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"+dependencies = [+ "bitflags 1.3.2",+ "core-foundation 0.9.4",+ "system-configuration-sys 0.5.0",+]+[[package]]name = "system-configuration"version = "0.7.0"@@ -4801,7 +5142,17 @@ checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b"dependencies = ["bitflags 2.11.1","core-foundation 0.9.4",- "system-configuration-sys",+ "system-configuration-sys 0.6.0",+]++[[package]]+name = "system-configuration-sys"+version = "0.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9"+dependencies = [+ "core-foundation-sys 0.8.7",+ "libc",][[package]]@@ -4810,7 +5161,7 @@ version = "0.6.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"dependencies = [- "core-foundation-sys",+ "core-foundation-sys 0.8.7","libc",]@@ -4840,7 +5191,7 @@ dependencies = ["crossbeam-channel","dbus","dispatch2",- "dlopen2",+ "dlopen2 0.8.2","dpi","gdkwayland-sys","gdkx11-sys",@@ -4861,7 +5212,7 @@ dependencies = ["tao-macros","unicode-segmentation","url",- "windows",+ "windows 0.61.3","windows-core 0.61.2","windows-version","x11-dl",@@ -4893,7 +5244,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"[[package]]name = "tauri"version = "2.10.3"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["anyhow","bytes",@@ -4937,13 +5288,13 @@ dependencies = ["webkit2gtk","webview2-com","window-vibrancy",- "windows",+ "windows 0.61.3",][[package]]name = "tauri-build"version = "2.5.6"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["anyhow","cargo_toml",@@ -4963,14 +5314,14 @@ dependencies = [[[package]]name = "tauri-codegen"version = "2.5.5"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["base64 0.22.1","brotli","ico","json-patch","plist",- "png",+ "png 0.17.16","proc-macro2","quote","semver",@@ -4989,7 +5340,7 @@ dependencies = [[[package]]name = "tauri-macros"version = "2.5.5"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["heck 0.5.0","proc-macro2",@@ -5048,6 +5399,27 @@ dependencies = ["windows-result 0.3.4",]+[[package]]+name = "tauri-plugin-device-info"+version = "1.0.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a4c8d9a6d11719b36ea2af6c94e4d8bcc50b6ebe1b7064ad17ec02dd0b23aae9"+dependencies = [+ "battery",+ "core-graphics",+ "default-net",+ "libc",+ "local-ip-address",+ "serde",+ "serde_json",+ "sysinfo",+ "tauri",+ "tauri-plugin",+ "thiserror 2.0.18",+ "winapi",+ "wmi",+]+[[package]]name = "tauri-plugin-fs"version = "2.5.0"@@ -5187,7 +5559,7 @@ dependencies = ["tauri-plugin","thiserror 2.0.18","url",- "windows",+ "windows 0.61.3","zbus",]@@ -5270,7 +5642,7 @@ dependencies = [[[package]]name = "tauri-runtime"version = "2.10.1"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["cookie","dpi",@@ -5288,13 +5660,13 @@ dependencies = ["url","webkit2gtk","webview2-com",- "windows",+ "windows 0.61.3",][[package]]name = "tauri-runtime-wry"version = "2.10.1"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["gtk","http",@@ -5312,14 +5684,14 @@ dependencies = ["url","webkit2gtk","webview2-com",- "windows",+ "windows 0.61.3","wry",][[package]]name = "tauri-utils"version = "2.8.3"-source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#99cf168c53f981029dae098fb6412ce3daa47566"+source = "git+https://github.com/seanaye/tauri?branch=seanaye%2Ffeat%2Fexpose-protocol-handlers#ca0e9fc210b9d811602ddd4c5507a37fe7bb37e4"dependencies = ["anyhow","brotli",@@ -5374,7 +5746,7 @@ checksum = "0b1e66e07de489fe43a46678dd0b8df65e0c973909df1b60ba33874e297ba9b9"dependencies = ["quick-xml 0.37.5","thiserror 2.0.18",- "windows",+ "windows 0.61.3","windows-version",]@@ -5835,9 +6207,9 @@ dependencies = [[[package]]name = "tray-icon"-version = "0.21.3"+version = "0.22.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a5e85aa143ceb072062fc4d6356c1b520a51d636e7bc8e77ec94be3608e5e80c"+checksum = "7f9eb1da86bd0ab8931fad00650d2ba7473260c5bab06d6f24d04339edb88faa"dependencies = ["crossbeam-channel","dirs",@@ -5849,7 +6221,7 @@ dependencies = ["objc2-core-graphics","objc2-foundation","once_cell",- "png",+ "png 0.18.1","serde","thiserror 2.0.18","windows-sys 0.60.2",@@ -5980,6 +6352,16 @@ version = "0.9.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"+[[package]]+name = "uom"+version = "0.30.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e76503e636584f1e10b9b3b9498538279561adcef5412927ba00c2b32c4ce5ed"+dependencies = [+ "num-traits",+ "typenum",+]+[[package]]name = "url"version = "2.5.8"@@ -6347,10 +6729,10 @@ checksum = "7130243a7a5b33c54a444e54842e6a9e133de08b5ad7b5861cd8ed9a6a5bc96a"dependencies = ["webview2-com-macros","webview2-com-sys",- "windows",+ "windows 0.61.3","windows-core 0.61.2",- "windows-implement",- "windows-interface",+ "windows-implement 0.60.2",+ "windows-interface 0.59.3",][[package]]@@ -6371,7 +6753,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "381336cfffd772377d291702245447a5251a2ffa5bad679c99e61bc48bacbf9c"dependencies = ["thiserror 2.0.18",- "windows",+ "windows 0.61.3","windows-core 0.61.2",]@@ -6421,6 +6803,35 @@ dependencies = ["windows-version",]+[[package]]+name = "windows"+version = "0.48.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"+dependencies = [+ "windows-targets 0.48.5",+]++[[package]]+name = "windows"+version = "0.57.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"+dependencies = [+ "windows-core 0.57.0",+ "windows-targets 0.52.6",+]++[[package]]+name = "windows"+version = "0.58.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"+dependencies = [+ "windows-core 0.58.0",+ "windows-targets 0.52.6",+]+[[package]]name = "windows"version = "0.61.3"@@ -6443,14 +6854,39 @@ dependencies = ["windows-core 0.61.2",]+[[package]]+name = "windows-core"+version = "0.57.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"+dependencies = [+ "windows-implement 0.57.0",+ "windows-interface 0.57.0",+ "windows-result 0.1.2",+ "windows-targets 0.52.6",+]++[[package]]+name = "windows-core"+version = "0.58.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"+dependencies = [+ "windows-implement 0.58.0",+ "windows-interface 0.58.0",+ "windows-result 0.2.0",+ "windows-strings 0.1.0",+ "windows-targets 0.52.6",+]+[[package]]name = "windows-core"version = "0.61.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"dependencies = [- "windows-implement",- "windows-interface",+ "windows-implement 0.60.2",+ "windows-interface 0.59.3","windows-link 0.1.3","windows-result 0.3.4","windows-strings 0.4.2",@@ -6462,8 +6898,8 @@ version = "0.62.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"dependencies = [- "windows-implement",- "windows-interface",+ "windows-implement 0.60.2",+ "windows-interface 0.59.3","windows-link 0.2.1","windows-result 0.4.1","windows-strings 0.5.1",@@ -6480,6 +6916,28 @@ dependencies = ["windows-threading",]+[[package]]+name = "windows-implement"+version = "0.57.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]++[[package]]+name = "windows-implement"+version = "0.58.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]+[[package]]name = "windows-implement"version = "0.60.2"@@ -6491,6 +6949,28 @@ dependencies = ["syn 2.0.117",]+[[package]]+name = "windows-interface"+version = "0.57.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]++[[package]]+name = "windows-interface"+version = "0.58.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"+dependencies = [+ "proc-macro2",+ "quote",+ "syn 2.0.117",+]+[[package]]name = "windows-interface"version = "0.59.3"@@ -6546,6 +7026,24 @@ dependencies = ["windows-strings 0.5.1",]+[[package]]+name = "windows-result"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8"+dependencies = [+ "windows-targets 0.52.6",+]++[[package]]+name = "windows-result"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"+dependencies = [+ "windows-targets 0.52.6",+]+[[package]]name = "windows-result"version = "0.3.4"@@ -6564,6 +7062,16 @@ dependencies = ["windows-link 0.2.1",]+[[package]]+name = "windows-strings"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"+dependencies = [+ "windows-result 0.2.0",+ "windows-targets 0.52.6",+]+[[package]]name = "windows-strings"version = "0.4.2"@@ -6642,6 +7150,21 @@ dependencies = ["windows_x86_64_msvc 0.42.2",]+[[package]]+name = "windows-targets"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"+dependencies = [+ "windows_aarch64_gnullvm 0.48.5",+ "windows_aarch64_msvc 0.48.5",+ "windows_i686_gnu 0.48.5",+ "windows_i686_msvc 0.48.5",+ "windows_x86_64_gnu 0.48.5",+ "windows_x86_64_gnullvm 0.48.5",+ "windows_x86_64_msvc 0.48.5",+]+[[package]]name = "windows-targets"version = "0.52.6"@@ -6699,6 +7222,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"+[[package]]+name = "windows_aarch64_gnullvm"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"+[[package]]name = "windows_aarch64_gnullvm"version = "0.52.6"@@ -6717,6 +7246,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"+[[package]]+name = "windows_aarch64_msvc"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"+[[package]]name = "windows_aarch64_msvc"version = "0.52.6"@@ -6735,6 +7270,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"+[[package]]+name = "windows_i686_gnu"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"+[[package]]name = "windows_i686_gnu"version = "0.52.6"@@ -6765,6 +7306,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"+[[package]]+name = "windows_i686_msvc"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"+[[package]]name = "windows_i686_msvc"version = "0.52.6"@@ -6783,6 +7330,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"+[[package]]+name = "windows_x86_64_gnu"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"+[[package]]name = "windows_x86_64_gnu"version = "0.52.6"@@ -6801,6 +7354,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"+[[package]]+name = "windows_x86_64_gnullvm"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"+[[package]]name = "windows_x86_64_gnullvm"version = "0.52.6"@@ -6819,6 +7378,12 @@ version = "0.42.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"+[[package]]+name = "windows_x86_64_msvc"+version = "0.48.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"+[[package]]name = "windows_x86_64_msvc"version = "0.52.6"@@ -6956,6 +7521,21 @@ dependencies = ["wasmparser",]+[[package]]+name = "wmi"+version = "0.13.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ff00ac1309d4c462be86f03a55e409509e8bf4323ec296aeb4b381dd9aabe6ec"+dependencies = [+ "chrono",+ "futures",+ "log",+ "serde",+ "thiserror 1.0.69",+ "windows 0.58.0",+ "windows-core 0.58.0",+]+[[package]]name = "writeable"version = "0.6.3"@@ -7000,7 +7580,7 @@ dependencies = ["webkit2gtk","webkit2gtk-sys","webview2-com",- "windows",+ "windows 0.61.3","windows-core 0.61.2","windows-version","x11-dl",diff --git a/js/app/tauri/src-tauri/Cargo.toml b/js/app/tauri/src-tauri/Cargo.tomlindex 9098b2f8b7..171bc8ccb9 100644--- a/js/app/tauri/src-tauri/Cargo.toml+++ b/js/app/tauri/src-tauri/Cargo.toml@@ -54,6 +54,7 @@ macro_bundle_updater_plugin = { path = "../macro_bundle_updater_plugin" }navigation_plugin = { path = "../navigation_plugin" }tauri-plugin-notifications = { git = "https://github.com/macro-inc/tauri-plugins", rev = "61520093d5c7fcd60a2ed354dc150ca9556519a4" }tauri-plugin-os = "2"+tauri-plugin-device-info = "1.0.1"tauri-plugin-virtual-keyboard = { git = "https://github.com/voxelbee/tauri-plugin-virtual-keyboard", branch = "main" }diff --git a/js/app/tauri/src-tauri/capabilities/default.json b/js/app/tauri/src-tauri/capabilities/default.jsonindex 99dd9a22aa..ab8275f9f1 100644--- a/js/app/tauri/src-tauri/capabilities/default.json+++ b/js/app/tauri/src-tauri/capabilities/default.json@@ -50,6 +50,7 @@"notification:default","notifications:default","os:default",- "log:default"+ "log:default",+ "device-info:default"]}diff --git a/js/app/tauri/src-tauri/capabilities/mobile.json b/js/app/tauri/src-tauri/capabilities/mobile.jsonindex 073eaf9c55..d4dc448d89 100644--- a/js/app/tauri/src-tauri/capabilities/mobile.json+++ b/js/app/tauri/src-tauri/capabilities/mobile.json@@ -13,6 +13,7 @@"haptics:allow-selection-feedback","haptics:allow-vibrate","log:default",- "auth:allow-authenticate"+ "auth:allow-authenticate",+ "device-info:default"]}\ No newline at end of filediff --git a/js/app/tauri/src-tauri/src/lib.rs b/js/app/tauri/src-tauri/src/lib.rsindex 72c38e2cf5..d4602ab395 100644--- a/js/app/tauri/src-tauri/src/lib.rs+++ b/js/app/tauri/src-tauri/src/lib.rs@@ -103,6 +103,7 @@ pub fn run() {).plugin(tauri_plugin_notification::init()).plugin(tauri_plugin_os::init())+ .plugin(tauri_plugin_device_info::init()).plugin(tauri_plugin_http::init()).plugin(tauri_plugin_websocket::Builder::new()diff --git a/js/bun.lock b/js/bun.lockindex 748ea27c51..4073f15148 100644--- a/js/bun.lock+++ b/js/bun.lock@@ -283,6 +283,7 @@"@solidjs/router": "^0.15.3","@tauri-apps/api": "^2.8.0","solid-js": "^1.8.11",+ "tauri-plugin-device-info-api": "^1.0.1",},"devDependencies": {"@types/node": "^20.10.5",@@ -733,7 +734,7 @@"@ibm-cloud/openapi-ruleset-utilities": ["@ibm-cloud/[email protected]", "", {}, "sha512-AoFbSarOqFBYH+1TZ9Ahkm2IWYSi5v0pBk88fpV+5b3qGJukypX8PwvCWADjuyIccKg48/F73a6hTTkBzDQ2UA=="],- "@inkibra/tauri-plugins": ["@inkibra/tauri-plugins@github:macro-inc/tauri-plugins#6152009", { "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" } }, "macro-inc-tauri-plugins-6152009"],+ "@inkibra/tauri-plugins": ["@inkibra/tauri-plugins@github:macro-inc/tauri-plugins#6152009", { "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" } }, "macro-inc-tauri-plugins-6152009", "sha512-XLN+niDA9BkzrxiZqBjYf+DL4TLoMIcI80ypCowacVfrfAjWt0qLwLkzWVUXjD7k3v0DB/G+BP4OLJNkGygHIw=="],"@inquirer/external-editor": ["@inquirer/[email protected]", "", { "dependencies": { "chardet": "^2.1.1", "iconv-lite": "^0.7.0" }, "peerDependencies": { "@types/node": ">=18" }, "optionalPeers": ["@types/node"] }, "sha512-RWbSrDiYmO4LbejWY7ttpxczuwQyZLBUyygsA9Nsv95hpzUWwnNTVQmAq3xuh7vNwCp07UTmE5i11XAEExx4RA=="],@@ -2487,7 +2488,7 @@"pathval": ["[email protected]", "", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="],- "pdfjs-dist": ["pdfjs-dist@github:macro-inc/pdf.js#f9b2ce6", { "dependencies": { "dommatrix": "^1.0.3", "web-streams-polyfill": "^3.2.1" }, "peerDependencies": { "worker-loader": "^3.0.8" }, "optionalPeers": ["worker-loader"] }, "macro-inc-pdf.js-f9b2ce6"],+ "pdfjs-dist": ["pdfjs-dist@github:macro-inc/pdf.js#f9b2ce6", { "dependencies": { "dommatrix": "^1.0.3", "web-streams-polyfill": "^3.2.1" }, "peerDependencies": { "worker-loader": "^3.0.8" }, "optionalPeers": ["worker-loader"] }, "macro-inc-pdf.js-f9b2ce6", "sha512-HDFaPbCxLG2GHpf1smUG97nku5aPGBGaCcIbK05dGdp07TBLUlDcXsM4WcE82mO5W4RBPIBVYobX5N/6M6NFrA=="],"performance-now": ["[email protected]", "", {}, "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="],@@ -2803,6 +2804,8 @@"tapable": ["[email protected]", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="],+ "tauri-plugin-device-info-api": ["[email protected]", "", { "dependencies": { "@tauri-apps/api": "^2.0.0" } }, "sha512-d2QoatWeQ6X09fdEDdWSKzBVSZv9x8LpksJP/gfv4WeRmZwJRsLLMf1++qOw7PdOmQlNoKHFcKXPZlr2n4irdg=="],+"tauri-plugin-safe-area-insets": ["[email protected]", "", { "dependencies": { "@tauri-apps/api": ">=2.0.0-beta.6" } }, "sha512-NhtxSQdU7+laTJiO4WZFlTB1CBzRlNE5EuHflGAGXS55fiwOkkaWztfNishFQO+eZtb9i5jLHX3Yho48lnqcRQ=="],"teeny-request": ["[email protected]", "", { "dependencies": { "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "node-fetch": "^2.6.9", "stream-events": "^1.0.5", "uuid": "^9.0.0" } }, "sha512-resvxdc6Mgb7YEThw6G6bExlXKkv6+YbuzGg9xuXxSgxJF7Ozs+o8Y9+2R3sArdWdW8nOokoQb1yrpFB0pQK2g=="],