diff --git a/apps/cli/package.json b/apps/cli/package.json index 5ea43d4..f7311f5 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -31,7 +31,7 @@ "debug": "^4.4.0", "fs-extra": "^11.2.0", "inquirer": "^10.1.2", - "valibot": "^1.0.0-beta.10" + "valibot": "^1.0.0-rc.4" }, "files": [ "dist" diff --git a/apps/create-kunkun/package.json b/apps/create-kunkun/package.json index 64777b5..7c1a90d 100644 --- a/apps/create-kunkun/package.json +++ b/apps/create-kunkun/package.json @@ -27,7 +27,7 @@ "commander": "^12.1.0", "fs-extra": "^11.2.0", "handlebars": "^4.7.8", - "valibot": "^1.0.0-beta.10" + "valibot": "^1.0.0-rc.4" }, "files": [ "dist" diff --git a/apps/desktop/messages/de.json b/apps/desktop/messages/de.json new file mode 100644 index 0000000..f95db13 --- /dev/null +++ b/apps/desktop/messages/de.json @@ -0,0 +1,90 @@ +{ + "$schema": "https://inlang.com/schema/inlang-message-format", + + "app_name": "KunKun", + "secondary_app_name": "KunKun", + + "common_edit": "Bearbeiten", + "common_clear": "Löschen", + "common_check": "Prüfen", + "common_install": "Installieren", + + "home_command_input_placeholder": "Suchen…", + "home_command_input_dropdown_quit": "Beenden", + "home_command_input_dropdown_developer_title": "Entwickler", + "home_command_input_dropdown_close_window": "Fenster schließen", + "home_command_input_dropdown_toggle_devtools": "Entwicklertools umschalten", + "home_command_input_dropdown_reload_window": "Fenster neu laden", + "home_command_input_dropdown_open_preference": "Einstellungen öffnen", + "home_command_input_dropdown_toggle_dev_extension_hmr": "Entwicklererweiterungen HMR umschalten", + + "command_group_heading_dev_ext": "Entwicklererweiterungen", + "command_group_heading_ext": "Erweiterungen", + "command_group_heading_quick_links": "Quick Links", + + "settings_menu_settings": "Einstellungen", + "settings_menu_general": "Allgemein", + "settings_menu_app_search_paths": "Verzeichnisse für Programme", + "settings_menu_developer": "Entwickler", + "settings_menu_extensions": "Erweiterungen", + "settings_menu_set_dev_ext": "Dev-Erweiterung festlegen", + "settings_menu_add_dev_ext": "Dev-Erweiterung hinzufügen", + "settings_menu_about": "Über", + + "settings_general_launch_at_login": "Beim Systemstart öffnen", + "settings_general_hotkey": "Tastenkombination", + "settings_general_menu_bar_icon": "Menüleiste-Symbol", + "settings_general_hide_on_blur": "Automatisch ausblenden", + "settings_general_extension_auto_upgrade": "Erweiterungen automatisch aktualisieren", + "settings_general_dev_extension_hmr": "Entwicklererweiterungen HMR", + "settings_general_join_beta_updates": "Beta-Updates nutzen", + "settings_general_developer_mode": "Entwickler-Modus", + "settings_general_language": "Sprache", + + "settings_app_search_paths_title": "Zusätzliche Verzeichnisse für die Programm-Suche", + "settings_app_search_paths_add_app_search_path": "Verzeichnis für Programm-Suche hinzufügen", + "settings_app_search_paths_table_col_search_path": "Suchpfad", + "settings_app_search_paths_table_col_depth": "Tiefe", + "settings_app_search_paths_table_col_actions": "Aktionen", + + "settings_about_version": "Version", + "settings_about_author": "Autor", + "settings_about_source_code": "Quellcode", + "settings_about_extensions_source_code": "Quellcode für Erweiterungen", + "settings_about_check_for_updates": "Nach Updates suchen", + + "settings_set_dev_ext_title": "Verzeichnis der Entwicklererweiterungen", + "settings_set_dev_ext_description": "Hier werden Entwicklererweiterungen installiert.", + "settings_set_dev_ext_enter_path": "Verzeichnis eingeben", + + "settings_extensions_title": "Deine Erweiterungen", + "settings_extensions_table_col_name": "Name", + "settings_extensions_table_col_identifier": "Identifikator", + "settings_extensions_table_col_type": "Typ", + "settings_extensions_table_col_version": "Version", + "settings_extensions_table_col_uninstall": "Deinstallieren", + + "settings_add_dev_ext_title": "Entwicklererweiterung hinzufügen", + "settings_add_dev_ext_description": "Es gibt vier Möglichkeiten, eine Erweiterung als Entwicklererweiterung zu installieren. Tarball-Archiv, lokales Verzeichnis, URL zu Tarball-Archiv oder NPM-Paketnamen.", + "settings_add_dev_ext_install_from_ext_folders": "Verzeichnis", + "settings_add_dev_ext_install_from_ext_files": "Tarball-Archiv", + "settings_add_dev_ext_drag_and_drop": "Drag and Drop", + "settings_add_dev_ext_drag_and_drop_strike": "Drag and Drop", + "settings_add_dev_ext_drag_and_drop2": "Verzeichnis oder Tarball-Archiv", + "settings_add_dev_ext_install_tarball_from_url": "Tarball-Archiv aus URL installieren", + + "troubleshooters_sidebar_title": "Fehlerbehebung", + "troubleshooters_sidebar_extension_loading_title": "Ladevorgang", + "troubleshooters_sidebar_extension_window_title": "Darstellung", + "troubleshooters_sidebar_mdns_debugger_title": "MDNS-Debugger", + + "troubleshooters_extension_window_title": "Fehlerbehebung für die Darstellung von Erweiterungen", + "troubleshooters_extension_window_refresh_every_second": "Jede Sekunde neu laden", + "troubleshooters_extension_window_refresh": "Neu laden", + "troubleshooters_extension_window_refreshed": "{count}x neu geladen", + + "troubleshooters_extension_loading_title": "Fehlerbehebung für den Ladevorgang von Erweiterungen", + "troubleshooters_extension_loading_table_col_identifier": "Identifikator", + "troubleshooters_extension_loading_table_col_path": "Verzeichnis", + "troubleshooters_extension_loading_table_col_error": "Fehler" +} diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 8022b33..5e2ed15 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@kksh/desktop", - "version": "0.1.34", + "version": "0.1.36", "description": "", "type": "module", "scripts": { @@ -33,7 +33,7 @@ "eslint": "^9.21.0", "fuse.js": "^7.1.0", "gsap": "^3.12.7", - "kkrpc": "^0.1.2", + "kkrpc": "^0.2.2", "lz-string": "^1.5.0", "pretty-bytes": "^6.1.1", "semver": "^7.7.1", diff --git a/apps/desktop/project.inlang/settings.json b/apps/desktop/project.inlang/settings.json index 3f6ab16..75df584 100644 --- a/apps/desktop/project.inlang/settings.json +++ b/apps/desktop/project.inlang/settings.json @@ -1,7 +1,7 @@ { "$schema": "https://inlang.com/schema/project-settings", "sourceLanguageTag": "en", - "languageTags": ["en", "zh", "ru", "pt", "vi"], + "languageTags": ["en", "zh", "ru", "pt", "vi", "de"], "modules": [ "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index 36d32ad..1cd78a3 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -5,7 +5,7 @@ "identifier": "sh.kunkun.desktop", "build": { "beforeDevCommand": "pnpm dev", - "devUrl": "http://localhost:1420", + "devUrl": "http://localhost:1566", "beforeBuildCommand": "pnpm build", "frontendDist": "../build" }, diff --git a/apps/desktop/src/lib/cmds/ext.ts b/apps/desktop/src/lib/cmds/ext.ts index dd35023..ff2c17c 100644 --- a/apps/desktop/src/lib/cmds/ext.ts +++ b/apps/desktop/src/lib/cmds/ext.ts @@ -3,6 +3,7 @@ import { appState } from "@/stores" import { winExtMap } from "@/stores/winExtMap" import { helperAPI } from "@/utils/helper" import { paste } from "@/utils/hotkey" +import { decideKkrpcSerialization } from "@/utils/kkrpc" import { sleep } from "@/utils/time" import { trimSlash } from "@/utils/url" import { constructExtensionSupportDir } from "@kksh/api" @@ -16,6 +17,7 @@ import { convertFileSrc } from "@tauri-apps/api/core" import * as path from "@tauri-apps/api/path" import { getCurrentWindow } from "@tauri-apps/api/window" import * as fs from "@tauri-apps/plugin-fs" +import { info } from "@tauri-apps/plugin-log" import { platform } from "@tauri-apps/plugin-os" import { goto } from "$app/navigation" import { RPCChannel, WorkerParentIO } from "kkrpc/browser" @@ -85,6 +87,7 @@ export async function onHeadlessCmdSelect( const loadedExt = await loadExtensionManifestFromDisk( await path.join(ext.extPath, "package.json") ) + const scriptPath = await path.join(loadedExt.extPath, cmd.main) const workerScript = await fs.readTextFile(scriptPath) const blob = new Blob([workerScript], { type: "application/javascript" }) @@ -124,8 +127,15 @@ export async function onHeadlessCmdSelect( } satisfies IApp } const io = new WorkerParentIO(worker) + const kkrpcSerialization = decideKkrpcSerialization(loadedExt) + info( + `Establishing kkrpc connection for ${loadedExt.kunkun.identifier} with serialization: ${kkrpcSerialization}` + ) const rpc = new RPCChannel(io, { - expose: serverAPI2 + expose: serverAPI2, + serialization: { + version: kkrpcSerialization + } }) const workerAPI = rpc.getAPI() await workerAPI.load() diff --git a/apps/desktop/src/lib/utils/kkrpc.ts b/apps/desktop/src/lib/utils/kkrpc.ts new file mode 100644 index 0000000..7281048 --- /dev/null +++ b/apps/desktop/src/lib/utils/kkrpc.ts @@ -0,0 +1,19 @@ +import { parseAPIVersion } from "@kksh/extension/load" +import type { ExtPackageJsonExtra } from "@kunkunapi/src/models/manifest" +import semver from "semver" + +/** + * Decide the serialization method for kkrpc based on the api version + * apiVersion is populated in loadExtensionManifestFromDisk, but we parse it again + * @param apiVersion - The version of the @kksh/api + * @returns "superjson" or "json" + */ +export function decideKkrpcSerialization(ext: ExtPackageJsonExtra): "superjson" | "json" { + const apiVersion = parseAPIVersion(ext.dependencies || {}) + if (apiVersion && semver.lte(apiVersion, "0.1.5")) { + // 0.1.6 is the first version that supports superjson and default to use superjson + return "json" + } + // fallback default to use superjson, some extensions might not install @kksh/api + return "superjson" +} diff --git a/apps/desktop/src/routes/app/extension/ui-iframe/+page.svelte b/apps/desktop/src/routes/app/extension/ui-iframe/+page.svelte index 7405b3b..4fc1d2d 100644 --- a/apps/desktop/src/routes/app/extension/ui-iframe/+page.svelte +++ b/apps/desktop/src/routes/app/extension/ui-iframe/+page.svelte @@ -5,6 +5,7 @@ import { helperAPI } from "@/utils/helper" import { paste } from "@/utils/hotkey" import { goBackOnEscape } from "@/utils/key" + import { decideKkrpcSerialization } from "@/utils/kkrpc" import { goHome } from "@/utils/route" import { positionToCssStyleString, positionToTailwindClasses } from "@/utils/style" import { sleep } from "@/utils/time" @@ -27,6 +28,7 @@ } from "@kunkunapi/src/events" import { emitTo } from "@tauri-apps/api/event" import { getCurrentWindow } from "@tauri-apps/api/window" + import { info } from "@tauri-apps/plugin-log" import { goto } from "$app/navigation" import { IframeParentIO, RPCChannel } from "kkrpc/browser" import { ArrowLeftIcon, MoveIcon, RefreshCcwIcon, XIcon } from "lucide-svelte" @@ -170,7 +172,16 @@ }, 200) if (iframeRef?.contentWindow) { const io = new IframeParentIO(iframeRef.contentWindow) - const rpc = new RPCChannel(io, { expose: serverAPI2 }) + const kkrpcSerialization = decideKkrpcSerialization(loadedExt) + info( + `Establishing kkrpc connection for ${loadedExt.kunkun.identifier} with serialization: ${kkrpcSerialization}` + ) + const rpc = new RPCChannel(io, { + expose: serverAPI2, + serialization: { + version: kkrpcSerialization + } + }) } else { toast.warning("iframeRef.contentWindow not available") } diff --git a/apps/desktop/src/routes/app/extension/ui-worker/+page.svelte b/apps/desktop/src/routes/app/extension/ui-worker/+page.svelte index 6aef00e..8f569f6 100644 --- a/apps/desktop/src/routes/app/extension/ui-worker/+page.svelte +++ b/apps/desktop/src/routes/app/extension/ui-worker/+page.svelte @@ -5,6 +5,7 @@ import { winExtMap } from "@/stores/winExtMap.js" import { helperAPI } from "@/utils/helper.js" import { paste } from "@/utils/hotkey" + import { decideKkrpcSerialization } from "@/utils/kkrpc.js" import { emitReloadOneExtension, listenToFileDrop, @@ -43,7 +44,7 @@ import { getCurrentWindow } from "@tauri-apps/api/window" import * as fs from "@tauri-apps/plugin-fs" import { readTextFile } from "@tauri-apps/plugin-fs" - import { debug } from "@tauri-apps/plugin-log" + import { debug, info } from "@tauri-apps/plugin-log" import { platform } from "@tauri-apps/plugin-os" import { goto } from "$app/navigation" import { RPCChannel, WorkerParentIO } from "kkrpc/browser" @@ -270,8 +271,15 @@ } satisfies IApp } const io = new WorkerParentIO(worker) + const kkrpcSerialization = decideKkrpcSerialization(loadedExt) + info( + `Establishing kkrpc connection for ${loadedExt.kunkun.identifier} with serialization: ${kkrpcSerialization}` + ) const rpc = new RPCChannel(io, { - expose: serverAPI2 + expose: serverAPI2, + serialization: { + version: kkrpcSerialization + } }) workerAPI = rpc.getAPI() await workerAPI.load() diff --git a/apps/desktop/vite.config.js b/apps/desktop/vite.config.js index 2fd8839..94e4a0e 100644 --- a/apps/desktop/vite.config.js +++ b/apps/desktop/vite.config.js @@ -14,7 +14,7 @@ export default defineConfig(async () => ({ clearScreen: false, // 2. tauri expects a fixed port, fail if that port is not available server: { - port: 1420, + port: 1566, strictPort: true, host: host || false, hmr: host diff --git a/deno.lock b/deno.lock index 4d1e175..90645c5 100644 --- a/deno.lock +++ b/deno.lock @@ -24,7 +24,7 @@ "npm:@jsr/std__semver@^1.0.3": "1.0.3", "npm:@jsr/std__semver@^1.0.4": "1.0.4", "npm:@kksh/react@0.1.1": "0.1.1_react@18.3.1_react-dom@18.3.1__react@18.3.1_react-hook-form@7.54.2__react@18.3.1_@types+react@18.3.18_@types+react-dom@18.3.5__@types+react@18.3.18_date-fns@3.6.0_tailwindcss@3.4.17__postcss@8.5.1", - "npm:@kksh/svelte5@0.1.15": "0.1.15_lucide-svelte@0.469.0__svelte@5.19.6___acorn@8.14.0_svelte@5.19.6__acorn@8.14.0_svelte-sonner@0.3.28__svelte@5.19.6___acorn@8.14.0_typescript@5.6.3_sveltekit-superforms@2.23.1__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-beta.12___typescript@5.6.3__zod@3.24.1__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", + "npm:@kksh/svelte5@0.1.15": "0.1.15_lucide-svelte@0.469.0__svelte@5.19.6___acorn@8.14.0_svelte@5.19.6__acorn@8.14.0_svelte-sonner@0.3.28__svelte@5.19.6___acorn@8.14.0_typescript@5.6.3_sveltekit-superforms@2.24.0__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-rc.4___typescript@5.6.3__zod@3.24.2__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", "npm:@kksh/svelte5@~0.1.15": "0.1.16_lucide-svelte@0.469.0__svelte@5.19.6___acorn@8.14.0_svelte@5.19.6__acorn@8.14.0_svelte-sonner@0.3.28__svelte@5.19.6___acorn@8.14.0_typescript@5.6.3", "npm:@kksh/vue@0.1.3": "0.1.3_vue@3.5.13__typescript@5.6.3_nanostores@0.10.3_@unovis+ts@1.5.0_zod@3.24.1_tailwindcss@3.4.17__postcss@8.5.1_radix-vue@1.9.13__vue@3.5.13___typescript@5.6.3__typescript@5.6.3_typescript@5.6.3", "npm:@nuxtjs/tailwindcss@6.12.1": "6.12.1_postcss@8.5.1_tailwindcss@3.4.17__postcss@8.5.1_rollup@4.34.0", @@ -99,7 +99,7 @@ "npm:@typescript-eslint/parser@^7.15.0": "7.18.0_eslint@8.57.1_typescript@5.6.3", "npm:@typescript-eslint/parser@^8.20.0": "8.22.0_eslint@8.57.1_typescript@5.6.3", "npm:@typescript-eslint/parser@^8.25.0": "8.25.0_eslint@8.57.1_typescript@5.6.3", - "npm:@valibot/to-json-schema@1.0.0-beta.4": "1.0.0-beta.4_valibot@1.0.0-beta.12__typescript@5.6.3_typescript@5.6.3", + "npm:@valibot/to-json-schema@1.0.0-beta.4": "1.0.0-beta.4_valibot@1.0.0-beta.14__typescript@5.6.3_typescript@5.6.3", "npm:@vitejs/plugin-react@^4.3.1": "4.3.4_vite@5.4.14__@types+node@20.17.16_@babel+core@7.26.7_@types+node@20.17.16", "npm:@vitejs/plugin-vue@^5.1.4": "5.2.1_vite@5.4.14__@types+node@20.17.16_vue@3.5.13__typescript@5.6.3_@types+node@20.17.16_typescript@5.6.3", "npm:autoprefixer@^10.4.19": "10.4.20_postcss@8.5.1", @@ -130,7 +130,7 @@ "npm:eslint@^8.57.0": "8.57.1", "npm:eslint@^9.17.0": "9.19.0", "npm:eslint@^9.21.0": "9.21.0", - "npm:formsnap@2.0.0-next.1": "2.0.0-next.1_svelte@5.19.6__acorn@8.14.0_sveltekit-superforms@2.23.1__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-beta.12___typescript@5.6.3__zod@3.24.1__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", + "npm:formsnap@2.0.0-next.1": "2.0.0-next.1_svelte@5.19.6__acorn@8.14.0_sveltekit-superforms@2.24.0__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-rc.4___typescript@5.6.3__zod@3.24.2__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", "npm:fs-extra@^11.2.0": "11.3.0", "npm:fuse.js@^7.1.0": "7.1.0", "npm:get-folder-size@5": "5.0.0", @@ -141,8 +141,7 @@ "npm:i18next@^23.15.1": "23.16.8", "npm:inquirer@^10.1.2": "10.2.2", "npm:katex@~0.16.21": "0.16.21", - "npm:kkrpc@~0.1.1": "0.1.1_typescript@5.6.3", - "npm:kkrpc@~0.1.2": "0.1.2_typescript@5.6.3", + "npm:kkrpc@~0.2.2": "0.2.2_typescript@5.6.3", "npm:lodash@^4.17.21": "4.17.21", "npm:lucide-svelte@0.469": "0.469.0_svelte@5.19.6__acorn@8.14.0", "npm:lucide-svelte@0.471": "0.471.0_svelte@5.19.6__acorn@8.14.0", @@ -193,8 +192,8 @@ "npm:svelte-sonner@~0.3.28": "0.3.28_svelte@5.19.6__acorn@8.14.0", "npm:svelte@^5.16.6": "5.19.6_acorn@8.14.0", "npm:svelte@^5.20.5": "5.20.5_acorn@8.14.0", - "npm:sveltekit-superforms@^2.22.1": "2.23.1_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", - "npm:sveltekit-superforms@^2.23.1": "2.23.1_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", + "npm:sveltekit-superforms@^2.22.1": "2.24.0_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", + "npm:sveltekit-superforms@^2.23.1": "2.24.0_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", "npm:tailwind-merge@^2.4.0": "2.6.0", "npm:tailwind-merge@^2.5.5": "2.6.0", "npm:tailwind-merge@^2.6.0": "2.6.0", @@ -207,12 +206,11 @@ "npm:tailwindcss@^3.4.6": "3.4.17_postcss@8.5.1", "npm:tailwindcss@^3.4.7": "3.4.17_postcss@8.5.1", "npm:tar@^7.4.3": "7.4.3", - "npm:tauri-api-adapter@~0.3.23": "0.3.23_typescript@5.6.3", + "npm:tauri-api-adapter@~0.3.27": "0.3.27_typescript@5.6.3", "npm:tauri-plugin-clipboard-api@^2.1.11": "2.1.11_typescript@5.6.3", - "npm:tauri-plugin-shellx-api@2.0.15": "2.0.15", "npm:tauri-plugin-shellx-api@^2.0.14": "2.0.14", - "npm:tauri-plugin-shellx-api@^2.0.15": "2.0.15", "npm:tauri-plugin-shellx-api@^2.0.16": "2.0.16", + "npm:tauri-plugin-svelte@1.2.1": "1.2.1", "npm:tauri-plugin-system-info-api@2.0.8": "2.0.8_typescript@5.6.3", "npm:ts-proto@^2.3.0": "2.6.1", "npm:tslib@^2.8.1": "2.8.1", @@ -231,9 +229,9 @@ "npm:typescript@~5.7.2": "5.7.3", "npm:uuid@^11.0.3": "11.0.5", "npm:uuid@^11.1.0": "11.1.0", - "npm:valibot@1.0.0-beta.12": "1.0.0-beta.12_typescript@5.6.3", "npm:valibot@^1.0.0-beta.10": "1.0.0-beta.14_typescript@5.6.3", "npm:valibot@^1.0.0-beta.11": "1.0.0-beta.14_typescript@5.6.3", + "npm:valibot@^1.0.0-rc.4": "1.0.0-rc.4_typescript@5.6.3", "npm:verify-package-export@^0.0.3": "0.0.3_typescript@5.6.3", "npm:vite@^5.4.10": "5.4.14_@types+node@20.17.16", "npm:vite@^5.4.9": "5.4.14_@types+node@20.17.16", @@ -2442,7 +2440,7 @@ "zod@3.24.1" ] }, - "@kksh/svelte5@0.1.15_lucide-svelte@0.469.0__svelte@5.19.6___acorn@8.14.0_svelte@5.19.6__acorn@8.14.0_svelte-sonner@0.3.28__svelte@5.19.6___acorn@8.14.0_typescript@5.6.3_sveltekit-superforms@2.23.1__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-beta.12___typescript@5.6.3__zod@3.24.1__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { + "@kksh/svelte5@0.1.15_lucide-svelte@0.469.0__svelte@5.19.6___acorn@8.14.0_svelte@5.19.6__acorn@8.14.0_svelte-sonner@0.3.28__svelte@5.19.6___acorn@8.14.0_typescript@5.6.3_sveltekit-superforms@2.24.0__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-rc.4___typescript@5.6.3__zod@3.24.2__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { "integrity": "sha512-Cr/gSWsnRtQIQLpQAkGBODujWn5g4LlhDp865skRV95tkrOuAwbbWGjG5+oWx1fK+fiDu+rhe2UCqw61SW2B/Q==", "dependencies": [ "@tanstack/table-core", @@ -2945,7 +2943,7 @@ "vite-plugin-inspect", "vite-plugin-vue-inspector", "which@3.0.1", - "ws" + "ws@8.18.0" ] }, "@nuxt/kit@3.15.4_magicast@0.3.5_rollup@4.34.0": { @@ -5081,7 +5079,7 @@ "@supabase/node-fetch", "@types/phoenix", "@types/ws", - "ws" + "ws@8.18.0" ] }, "@supabase/ssr@0.5.2_@supabase+supabase-js@2.48.1": { @@ -5519,6 +5517,12 @@ "@tauri-apps/api@2.2.0" ] }, + "@tauri-store/shared@0.6.0": { + "integrity": "sha512-2KBezqqkw68HvvXHEtbbpxyQHDjymBUZl10YuAsNRI8DHFIA0n18WE7NRyQ93+H7IzDP1/B41m2/rcMDHBSiKw==", + "dependencies": [ + "@tauri-apps/api@2.3.0" + ] + }, "@trysound/sax@0.2.0": { "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==" }, @@ -6386,10 +6390,10 @@ "vue" ] }, - "@valibot/to-json-schema@1.0.0-beta.4_valibot@1.0.0-beta.12__typescript@5.6.3_typescript@5.6.3": { + "@valibot/to-json-schema@1.0.0-beta.4_valibot@1.0.0-beta.14__typescript@5.6.3_typescript@5.6.3": { "integrity": "sha512-wXBdCyoqec+NLCl5ihitXzZXD4JAjPK3+HfskSXzfhiNFvKje0A/v1LygqKidUgIbaJtREmq/poJGbaS/0MKuQ==", "dependencies": [ - "valibot@1.0.0-beta.12_typescript@5.6.3" + "valibot@1.0.0-beta.14_typescript@5.6.3" ] }, "@vee-validate/zod@4.15.0_zod@3.24.1_vue@3.5.13__typescript@5.6.3_typescript@5.6.3": { @@ -9390,7 +9394,7 @@ "fetch-blob" ] }, - "formsnap@2.0.0-next.1_svelte@5.19.6__acorn@8.14.0_sveltekit-superforms@2.23.1__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-beta.12___typescript@5.6.3__zod@3.24.1__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { + "formsnap@2.0.0-next.1_svelte@5.19.6__acorn@8.14.0_sveltekit-superforms@2.24.0__@sveltejs+kit@2.17.3___@sveltejs+vite-plugin-svelte@5.0.3____svelte@5.19.6_____acorn@8.14.0____vite@6.0.11_____@types+node@20.17.16_____jiti@2.4.2____@types+node@20.17.16___svelte@5.19.6____acorn@8.14.0___vite@5.4.14____@types+node@20.17.16___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__valibot@1.0.0-rc.4___typescript@5.6.3__zod@3.24.2__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__vite@5.4.14___@types+node@20.17.16__typescript@5.6.3__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { "integrity": "sha512-ha8r9eMmsGEGMY+ljV3FEyTtB72E7dt95y9HHUbCcaDnjbz3Q6n00BHLz7dfBZ9rqyaMeIO200EmP1IcYMExeg==", "dependencies": [ "svelte@5.19.6_acorn@8.14.0", @@ -10722,18 +10726,13 @@ "kind-of@6.0.3": { "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, - "kkrpc@0.1.1_typescript@5.6.3": { - "integrity": "sha512-zS75NGmDbMEQNJ7Y1XVNVrLmfuCY94jMCrIcNFHoT+5qLaTzpK1lokXUD9VYrRVMQMwAx8U9BgKjdiS0eDKZHA==", + "kkrpc@0.2.2_typescript@5.6.3": { + "integrity": "sha512-EliGFPRf+dplMiqNipPUUj89WX9vEWfQkQU05ztbMfdK/SSgnHBbvm7QySGlEIlUb9Y55dSXPkROuxjHz2JbfA==", "dependencies": [ + "@tauri-apps/plugin-shell@2.2.0", + "superjson", "typescript@5.6.3", - "ws" - ] - }, - "kkrpc@0.1.2_typescript@5.6.3": { - "integrity": "sha512-RfT59njEt5ITcNO8t5oa4N+yGqstr3DX5Ezx9SdQg0plMGYdNZqKGdV7JHPmFUcgoqHojkmbbbg7nI76a7ADiQ==", - "dependencies": [ - "typescript@5.6.3", - "ws" + "ws@8.18.1" ] }, "kleur@3.0.3": { @@ -14707,8 +14706,8 @@ "zimmerframe" ] }, - "sveltekit-superforms@2.23.1_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-beta.12__typescript@5.6.3_zod@3.24.1_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { - "integrity": "sha512-SPj5ac4SMg8SPyP0Zi3ynwXJa7r9U1CTyn+YSyck67zLsjt367Sro4SZnl3yASrLd5kJ6Y57cgIdYJ2aWNArXw==", + "sveltekit-superforms@2.24.0_@sveltejs+kit@2.17.3__@sveltejs+vite-plugin-svelte@5.0.3___svelte@5.19.6____acorn@8.14.0___vite@6.0.11____@types+node@20.17.16____jiti@2.4.2___@types+node@20.17.16__svelte@5.19.6___acorn@8.14.0__vite@5.4.14___@types+node@20.17.16__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_valibot@1.0.0-rc.4__typescript@5.6.3_zod@3.24.2_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_vite@5.4.14__@types+node@20.17.16_typescript@5.6.3_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16": { + "integrity": "sha512-JuuaaPDn9OHUKc0Uy8jzv1jUZNfO4AHUE0JLcXjiuJNRokYLqC+RsPDL4/jUkqia97aZzrfTgB/meQ8iS5nNJg==", "dependencies": [ "@gcornut/valibot-json-schema", "@sveltejs/kit@2.17.3_@sveltejs+vite-plugin-svelte@5.0.3__svelte@5.19.6___acorn@8.14.0__vite@6.0.11___@types+node@20.17.16___jiti@2.4.2__@types+node@20.17.16_svelte@5.19.6__acorn@8.14.0_vite@5.4.14__@types+node@20.17.16_vite@6.0.11__@types+node@20.17.16__jiti@2.4.2_@types+node@20.17.16", @@ -14717,8 +14716,8 @@ "memoize-weak", "svelte@5.19.6_acorn@8.14.0", "ts-deepmerge", - "valibot@1.0.0-beta.12_typescript@5.6.3", - "zod@3.24.1", + "valibot@1.0.0-rc.4_typescript@5.6.3", + "zod@3.24.2", "zod-to-json-schema" ] }, @@ -14840,28 +14839,28 @@ "yallist@5.0.0" ] }, - "tauri-api-adapter@0.3.23_typescript@5.6.3": { - "integrity": "sha512-WT/NVCdZZSn63Yu/lhZqeUxMGy/VoBZik7yuY2ot+kCynsI1zJQ9ZB6ORmPL8+VBBRbSpEn1yOUbSTSucRFLOQ==", + "tauri-api-adapter@0.3.27_typescript@5.6.3": { + "integrity": "sha512-YzfdVlOdwlRqjRRPxvXNTb6acclbrfHC4FtotzAXcbZv7UckEE3Orzvg4AteP5Gb1veyam+NW0MFMU5Ime5vWw==", "dependencies": [ - "@tauri-apps/api@2.2.0", + "@tauri-apps/api@2.3.0", "@tauri-apps/plugin-dialog@2.2.0", "@tauri-apps/plugin-fs@2.2.0", "@tauri-apps/plugin-http@2.3.0", - "@tauri-apps/plugin-log@2.2.1", + "@tauri-apps/plugin-log@2.2.3", "@tauri-apps/plugin-notification@2.2.1", "@tauri-apps/plugin-os@2.2.0", "@tauri-apps/plugin-shell@2.2.0", "@tauri-apps/plugin-upload@2.2.1", - "kkrpc@0.1.1_typescript@5.6.3", + "kkrpc", "rimraf@6.0.1", "shx", "tauri-plugin-clipboard-api", "tauri-plugin-network-api", - "tauri-plugin-shellx-api@2.0.15", - "tauri-plugin-system-info-api", + "tauri-plugin-shellx-api@2.0.16", + "tauri-plugin-system-info-api@2.0.10_typescript@5.6.3", "tsc-alias", "typescript@5.6.3", - "valibot@1.0.0-beta.14_typescript@5.6.3" + "valibot@1.0.0-rc.4_typescript@5.6.3" ] }, "tauri-api-adapter@0.3.8_typescript@5.6.3_rollup@4.34.0_tslib@2.8.1": { @@ -14885,7 +14884,7 @@ "tauri-plugin-clipboard-api", "tauri-plugin-network-api", "tauri-plugin-shellx-api@2.0.14", - "tauri-plugin-system-info-api", + "tauri-plugin-system-info-api@2.0.8_typescript@5.6.3", "tsc-alias", "typescript@5.6.3", "valibot@0.40.0_typescript@5.6.3" @@ -14901,8 +14900,8 @@ "tauri-plugin-network-api@2.0.5_typescript@5.6.3": { "integrity": "sha512-u7CTvmgP4Lt3fK0/mVMD/pcWlXsWenC0YYlJUE2VQCThx8VQzxSAXgyPhcg0+CT5iIoPt5mkfixMfamM8e6v/w==", "dependencies": [ - "@tauri-apps/api@2.2.0", - "valibot@1.0.0-beta.14_typescript@5.6.3" + "@tauri-apps/api@2.3.0", + "valibot@1.0.0-rc.4_typescript@5.6.3" ] }, "tauri-plugin-shellx-api@2.0.14": { @@ -14911,18 +14910,27 @@ "@tauri-apps/api@2.2.0" ] }, - "tauri-plugin-shellx-api@2.0.15": { - "integrity": "sha512-MrgArTe90o/zLHbIv/x0kTtLm1tiQiEIPnvUcIwuz1pBCGn45+E0ghOgjjGMlGaA2ln6KRV213e52/Az4MqMPQ==", - "dependencies": [ - "@tauri-apps/api@2.2.0" - ] - }, "tauri-plugin-shellx-api@2.0.16": { "integrity": "sha512-I6o/+IoG6++x4L5d20ciOooOeUEn0bOKvMiYhQxlv1Q3zAZPdpJKjAHJxRpZZwpR6yUY788qiQny7IbTywqLFw==", "dependencies": [ "@tauri-apps/api@2.3.0" ] }, + "tauri-plugin-svelte@1.2.1": { + "integrity": "sha512-xusgcHpnXqRt4RO+3UjqAlOCTh5PcxzDEa11Qd8Z3cHz6MMl0PLE6j0ExeAur+dTiZVLEGFsIm6Qd0LY9ED/wA==", + "dependencies": [ + "@tauri-apps/api@2.3.0", + "@tauri-store/shared", + "svelte@5.20.5_acorn@8.14.0" + ] + }, + "tauri-plugin-system-info-api@2.0.10_typescript@5.6.3": { + "integrity": "sha512-QalL92OgjARjyBoK4RFMV1+JRdWKyWBqv+kMi2Y7rnLkIGQUvsMQwvyCcbjdV3qoDbeAdU97G7qu7uPoO+c+OQ==", + "dependencies": [ + "@tauri-apps/api@2.3.0", + "valibot@1.0.0-rc.4_typescript@5.6.3" + ] + }, "tauri-plugin-system-info-api@2.0.8_typescript@5.6.3": { "integrity": "sha512-EFdLXNGp6Zu9SNsZCkU+55A8027OnrVw/TQrd0oJHgfZzs4qvm1iMmSvyid4MLftt33iZDhjCzxYijaaOxeKSg==", "dependencies": [ @@ -15644,14 +15652,14 @@ "typescript@5.6.3" ] }, - "valibot@1.0.0-beta.12_typescript@5.6.3": { - "integrity": "sha512-j3WIxJ0pmUFMfdfUECn3YnZPYOiG0yHYcFEa/+RVgo0I+MXE3ToLt7gNRLtY5pwGfgNmsmhenGZfU5suu9ijUA==", + "valibot@1.0.0-beta.14_typescript@5.6.3": { + "integrity": "sha512-tLyV2rE5QL6U29MFy3xt4AqMrn+/HErcp2ZThASnQvPMwfSozjV1uBGKIGiegtZIGjinJqn0SlBdannf18wENA==", "dependencies": [ "typescript@5.6.3" ] }, - "valibot@1.0.0-beta.14_typescript@5.6.3": { - "integrity": "sha512-tLyV2rE5QL6U29MFy3xt4AqMrn+/HErcp2ZThASnQvPMwfSozjV1uBGKIGiegtZIGjinJqn0SlBdannf18wENA==", + "valibot@1.0.0-rc.4_typescript@5.6.3": { + "integrity": "sha512-VRaChgFv7Ab0P54AMLu7+GqoexdTPQ54Plj59X9qV0AFozI3j9CGH43skg+TqgMpXnrW8jxlJ2TTHAtAD3t4qA==", "dependencies": [ "typescript@5.6.3" ] @@ -16157,6 +16165,9 @@ "ws@8.18.0": { "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==" }, + "ws@8.18.1": { + "integrity": "sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==" + }, "y18n@5.0.8": { "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" }, @@ -16219,10 +16230,10 @@ "readable-stream@4.7.0" ] }, - "zod-to-json-schema@3.24.3_zod@3.24.1": { - "integrity": "sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==", + "zod-to-json-schema@3.24.4_zod@3.24.2": { + "integrity": "sha512-0uNlcvgabyrni9Ag8Vghj21drk7+7tp7VTwwR7KxxXXc/3pbXz2PHlDgj3cICahgF1kHm4dExBFj7BXrZJXzig==", "dependencies": [ - "zod@3.24.1" + "zod@3.24.2" ] }, "zod@3.24.1": { @@ -16264,7 +16275,7 @@ "npm:svelte@^5.20.5", "npm:turbo@^2.4.4", "npm:typescript@5", - "npm:valibot@^1.0.0-beta.11", + "npm:valibot@^1.0.0-rc.4", "npm:verify-package-export@^0.0.3", "npm:zod@^3.24.2" ] @@ -16284,7 +16295,7 @@ "npm:debug@^4.4.0", "npm:fs-extra@^11.2.0", "npm:inquirer@^10.1.2", - "npm:valibot@^1.0.0-beta.10" + "npm:valibot@^1.0.0-rc.4" ] } }, @@ -16300,7 +16311,7 @@ "npm:get-folder-size@5", "npm:handlebars@^4.7.8", "npm:tar@^7.4.3", - "npm:valibot@^1.0.0-beta.10", + "npm:valibot@^1.0.0-rc.4", "npm:vitest@^2.1.9" ] } @@ -16342,7 +16353,7 @@ "npm:fuse.js@^7.1.0", "npm:globals@^15.14.0", "npm:gsap@^3.12.7", - "npm:kkrpc@~0.1.2", + "npm:kkrpc@~0.2.2", "npm:lucide-svelte@0.474", "npm:lz-string@^1.5.0", "npm:prettier@^3.5.2", @@ -16358,6 +16369,7 @@ "npm:tailwindcss@^3.4.17", "npm:tauri-plugin-clipboard-api@^2.1.11", "npm:tauri-plugin-shellx-api@^2.0.16", + "npm:tauri-plugin-svelte@1.2.1", "npm:tslib@^2.8.1", "npm:typescript-eslint@^8.25.0", "npm:typescript@^5.6.3", @@ -16392,20 +16404,20 @@ "npm:@types/node@^22.10.5", "npm:@types/semver@^7.5.8", "npm:fs-extra@^11.2.0", - "npm:kkrpc@~0.1.1", + "npm:kkrpc@~0.2.2", "npm:lodash@^4.17.21", "npm:madge@8", "npm:minimatch@^10.0.1", "npm:node-fetch@^3.3.2", "npm:semver@^7.6.3", "npm:svelte-sonner@~0.3.28", - "npm:tauri-api-adapter@~0.3.23", + "npm:tauri-api-adapter@~0.3.27", "npm:tauri-plugin-network-api@2.0.5", "npm:tauri-plugin-shellx-api@^2.0.16", "npm:tauri-plugin-system-info-api@2.0.8", "npm:typedoc@~0.27.6", "npm:typescript@5", - "npm:valibot@^1.0.0-beta.10", + "npm:valibot@^1.0.0-rc.4", "npm:verify-package-export@^0.0.3" ] } @@ -16522,7 +16534,7 @@ "npm:@supabase/supabase-js@^2.48.0", "npm:@types/bun@latest", "npm:@valibot/to-json-schema@1.0.0-beta.4", - "npm:valibot@^1.0.0-beta.10" + "npm:valibot@^1.0.0-rc.4" ] } }, @@ -16760,7 +16772,7 @@ "npm:tailwindcss@^3.4.17", "npm:tauri-plugin-shellx-api@^2.0.16", "npm:typescript-eslint@^8.20.0", - "npm:valibot@1.0.0-beta.12", + "npm:valibot@^1.0.0-rc.4", "npm:zod@^3.24.1" ] } diff --git a/deno.ts b/deno.ts deleted file mode 100644 index 725ca72..0000000 --- a/deno.ts +++ /dev/null @@ -1,4 +0,0 @@ -let idx = 0 -setInterval(() => { - console.log(idx++) -}, 500) diff --git a/package.json b/package.json index 9a63f7c..0776ea1 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "tauri-plugin-keyring-api": "workspace:*", "tauri-plugin-network-api": "workspace:*", "tauri-plugin-system-info-api": "workspace:*", - "valibot": "^1.0.0-beta.11", + "valibot": "^1.0.0-rc.4", "zod": "^3.24.2" }, "workspaces": [ diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 5111daf..ed33cac 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -53,3 +53,16 @@ ### Patch Changes - More Icon Options + +## 0.1.6 + +### Patch Changes + +- Upgrade kkrpc to 0.2.1, which uses superjson for serialization + +## 0.1.7 + +### Patch Changes + +- Upgrade kkrpc to 0.2.2, supports both json and superjson serialization, for backward compatibility +- The previous version breaks extension compatibility. diff --git a/packages/api/package.json b/packages/api/package.json index 84f5712..dff64fa 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@kksh/api", - "version": "0.1.5", + "version": "0.1.7", "type": "module", "repository": { "type": "git", @@ -65,17 +65,17 @@ "@tauri-apps/plugin-store": "^2.2.0", "@tauri-apps/plugin-updater": "^2.3.0", "@tauri-apps/plugin-upload": "^2.2.1", - "kkrpc": "^0.1.1", + "kkrpc": "^0.2.2", "lodash": "^4.17.21", "minimatch": "^10.0.1", "node-fetch": "^3.3.2", "semver": "^7.6.3", "svelte-sonner": "^0.3.28", - "tauri-api-adapter": "^0.3.23", + "tauri-api-adapter": "^0.3.27", "tauri-plugin-network-api": "2.0.5", "tauri-plugin-shellx-api": "^2.0.16", "tauri-plugin-system-info-api": "2.0.8", - "valibot": "^1.0.0-beta.10" + "valibot": "^1.0.0-rc.4" }, "files": [ "src", diff --git a/packages/api/src/api/server/shell.ts b/packages/api/src/api/server/shell.ts index ad0594c..6645ff9 100644 --- a/packages/api/src/api/server/shell.ts +++ b/packages/api/src/api/server/shell.ts @@ -169,8 +169,8 @@ export function constructShellApi( const onEvent = new Channel>() onEvent.onmessage = cb return invoke("plugin:shellx|spawn", { - program: "deno", - args: ["run", "/Users/hk/Dev/kunkun/deno.ts"], + program, + args, options, onEvent }) diff --git a/packages/api/src/models/manifest.ts b/packages/api/src/models/manifest.ts index 2fa8bc0..8ce5405 100644 --- a/packages/api/src/models/manifest.ts +++ b/packages/api/src/models/manifest.ts @@ -195,7 +195,8 @@ export const ExtPackageJsonExtra = v.object({ ...ExtPackageJson.entries, ...{ extPath: v.string(), - extFolderName: v.string() + extFolderName: v.string(), + apiVersion: v.optional(v.string("API version of the extension")) } }) diff --git a/packages/api/src/runtime/deno.ts b/packages/api/src/runtime/deno.ts index c331556..7fdb118 100644 --- a/packages/api/src/runtime/deno.ts +++ b/packages/api/src/runtime/deno.ts @@ -2,7 +2,7 @@ import { DenoIo, RPCChannel } from "kkrpc" // deno-lint-ignore no-explicit-any export function expose(api: Record) { - const stdio = new DenoIo(Deno.stdin.readable, Deno.stdout.writable) + const stdio = new DenoIo(Deno.stdin.readable) const channel = new RPCChannel(stdio, { expose: api }) return channel } diff --git a/packages/api/src/version.ts b/packages/api/src/version.ts index 5c93fca..f28c86d 100644 --- a/packages/api/src/version.ts +++ b/packages/api/src/version.ts @@ -21,7 +21,7 @@ export const breakingChangesVersionCheckpoints = [ const checkpointVersions = breakingChangesVersionCheckpoints.map((c) => c.version) const sortedCheckpointVersions = sort(checkpointVersions) -export const version = "0.1.5" +export const version = "0.1.7" export function isVersionBetween(v: string, start: string, end: string) { const vCleaned = clean(v) diff --git a/packages/extension/package.json b/packages/extension/package.json index 7b25fec..8b88ba0 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -18,6 +18,7 @@ "@kksh/supabase": "workspace:*", "@std/semver": "npm:@jsr/std__semver@^1.0.3", "@tauri-apps/plugin-upload": "^2.2.1", + "semver": "^7.7.1", "uuid": "^11.0.3" }, "peerDependencies": { diff --git a/packages/extension/src/load.ts b/packages/extension/src/load.ts index 9ff330d..5af4543 100644 --- a/packages/extension/src/load.ts +++ b/packages/extension/src/load.ts @@ -3,6 +3,7 @@ import { ExtPackageJson, ExtPackageJsonExtra, License } from "@kksh/api/models" import { basename, dirname, join } from "@tauri-apps/api/path" import { readDir, readTextFile } from "@tauri-apps/plugin-fs" import { debug, error } from "@tauri-apps/plugin-log" +import semver from "semver" import * as v from "valibot" import { upsertExtension } from "./db" @@ -11,6 +12,15 @@ const OptionalExtPackageJson = v.object({ license: v.optional(License, "MIT") // TODO: remove this optional package json later }) +export function parseAPIVersion(dependencies: Record) { + const stripPrefix = (version: string) => version.replace(/^[^0-9]+/, "") // Remove leading ^, ~, etc. + const apiVersion = dependencies["@kksh/api"] + if (apiVersion) { + return semver.clean(stripPrefix(apiVersion)) ?? undefined + } + return undefined +} + /** * * @param manifestPath absolute path to package.json @@ -26,12 +36,13 @@ export function loadExtensionManifestFromDisk(manifestPath: string): Promise(parse.issues)) throw new Error(`Invalid manifest: ${manifestPath}`) } else { - // debug(`Loaded extension ${parse.output.kunkun.identifier} from ${manifestPath}`) + const apiVersion = parseAPIVersion(parse.output.dependencies || {}) const extPath = await dirname(manifestPath) const extFolderName = await basename(extPath) return Object.assign(parse.output, { extPath, - extFolderName + extFolderName, + apiVersion }) } }) diff --git a/packages/extension/src/window.ts b/packages/extension/src/window.ts index 26790f0..6ee8d3e 100644 --- a/packages/extension/src/window.ts +++ b/packages/extension/src/window.ts @@ -13,7 +13,7 @@ export function launchNewExtWindow(windowLabel: string, url: string, windowConfi maxWidth: windowConfig?.maxWidth ?? undefined, maxHeight: windowConfig?.maxHeight ?? undefined, resizable: windowConfig?.resizable ?? undefined, - title: windowConfig?.title ?? undefined, + title: windowConfig?.title ?? "Kunkun Extension", fullscreen: windowConfig?.fullscreen ?? undefined, focus: windowConfig?.focus ?? undefined, transparent: windowConfig?.transparent ?? undefined, diff --git a/packages/schema/package.json b/packages/schema/package.json index 37bb881..ba46bdf 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -26,6 +26,6 @@ "dependencies": { "@aws-sdk/client-s3": "^3.583.0", "@kksh/api": "workspace:*", - "valibot": "^1.0.0-beta.10" + "valibot": "^1.0.0-rc.4" } } diff --git a/packages/ui/package.json b/packages/ui/package.json index f68f6d9..ff75ded 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -99,6 +99,6 @@ "svelte-exmarkdown": "^4.0.3", "svelte-inspect-value": "^0.3.0", "svelte-motion": "^0.12.2", - "valibot": "1.0.0-beta.12" + "valibot": "^1.0.0-rc.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cece131..5ad64db 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,8 +72,8 @@ importers: specifier: workspace:* version: link:vendors/tauri-plugin-system-info valibot: - specifier: ^1.0.0-beta.11 - version: 1.0.0-beta.11(typescript@5.7.3) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.3) zod: specifier: ^3.24.2 version: 3.24.2 @@ -139,8 +139,8 @@ importers: specifier: ^5.7.2 version: 5.7.3 valibot: - specifier: ^1.0.0-beta.10 - version: 1.0.0-beta.10(typescript@5.7.3) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.3) devDependencies: '@types/bun': specifier: latest @@ -179,8 +179,8 @@ importers: specifier: ^5.0.0 version: 5.7.3 valibot: - specifier: ^1.0.0-beta.10 - version: 1.0.0-beta.10(typescript@5.7.3) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.3) devDependencies: '@types/bun': specifier: latest @@ -255,8 +255,8 @@ importers: specifier: ^3.12.7 version: 3.12.7 kkrpc: - specifier: ^0.1.2 - version: 0.1.2(typescript@5.6.3) + specifier: ^0.2.2 + version: 0.2.2(typescript@5.6.3) lz-string: specifier: ^1.5.0 version: 1.5.0 @@ -338,7 +338,7 @@ importers: version: 8.25.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.6.3) autoprefixer: specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.49) + version: 10.4.20(postcss@8.5.3) bits-ui: specifier: 1.0.0-next.86 version: 1.0.0-next.86(svelte@5.20.5) @@ -442,8 +442,8 @@ importers: specifier: ^2.2.1 version: 2.2.1 kkrpc: - specifier: ^0.1.1 - version: 0.1.1(typescript@5.7.2) + specifier: ^0.2.2 + version: 0.2.2(typescript@5.7.2) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -460,8 +460,8 @@ importers: specifier: ^0.3.28 version: 0.3.28(svelte@5.20.5) tauri-api-adapter: - specifier: ^0.3.23 - version: 0.3.23(typescript@5.7.2) + specifier: ^0.3.27 + version: 0.3.27(typescript@5.7.2) tauri-plugin-network-api: specifier: 2.0.5 version: 2.0.5(typescript@5.7.2) @@ -472,8 +472,8 @@ importers: specifier: 2.0.8 version: 2.0.8(typescript@5.7.2) valibot: - specifier: ^1.0.0-beta.10 - version: 1.0.0-beta.10(typescript@5.7.2) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.2) devDependencies: '@types/bun': specifier: latest @@ -551,6 +551,9 @@ importers: '@tauri-apps/plugin-upload': specifier: ^2.2.1 version: 2.2.1 + semver: + specifier: ^7.7.1 + version: 7.7.1 typescript: specifier: ^5.0.0 version: 5.5.4 @@ -759,8 +762,8 @@ importers: specifier: ^5.0.0 version: 5.7.3 valibot: - specifier: ^1.0.0-beta.10 - version: 1.0.0-beta.10(typescript@5.7.3) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.3) devDependencies: '@kksh/supabase': specifier: workspace:* @@ -773,7 +776,7 @@ importers: version: 1.2.5 '@valibot/to-json-schema': specifier: 1.0.0-beta.4 - version: 1.0.0-beta.4(valibot@1.0.0-beta.10(typescript@5.7.3)) + version: 1.0.0-beta.4(valibot@1.0.0-rc.4(typescript@5.7.3)) packages/supabase: dependencies: @@ -1284,8 +1287,8 @@ importers: specifier: ^0.12.2 version: 0.12.2(svelte@5.20.5) valibot: - specifier: 1.0.0-beta.12 - version: 1.0.0-beta.12(typescript@5.7.3) + specifier: ^1.0.0-rc.4 + version: 1.0.0-rc.4(typescript@5.7.3) devDependencies: '@eslint/js': specifier: ^9.18.0 @@ -8799,13 +8802,8 @@ packages: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - kkrpc@0.1.1: - resolution: {integrity: sha512-zS75NGmDbMEQNJ7Y1XVNVrLmfuCY94jMCrIcNFHoT+5qLaTzpK1lokXUD9VYrRVMQMwAx8U9BgKjdiS0eDKZHA==} - peerDependencies: - typescript: ^5.0.0 - - kkrpc@0.1.2: - resolution: {integrity: sha512-RfT59njEt5ITcNO8t5oa4N+yGqstr3DX5Ezx9SdQg0plMGYdNZqKGdV7JHPmFUcgoqHojkmbbbg7nI76a7ADiQ==} + kkrpc@0.2.2: + resolution: {integrity: sha512-EliGFPRf+dplMiqNipPUUj89WX9vEWfQkQU05ztbMfdK/SSgnHBbvm7QySGlEIlUb9Y55dSXPkROuxjHz2JbfA==} peerDependencies: typescript: ^5.0.0 @@ -11178,8 +11176,8 @@ packages: supercluster@7.1.5: resolution: {integrity: sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==} - superjson@2.2.1: - resolution: {integrity: sha512-8iGv75BYOa0xRJHK5vRLEjE2H/i4lulTjzpUXic3Eg8akftYjkmQDa8JARQ42rlczXyFR3IeRoeFCc7RxHsYZA==} + superjson@2.2.2: + resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==} engines: {node: '>=16'} superstruct@2.0.2: @@ -11367,8 +11365,8 @@ packages: resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==} engines: {node: '>=18'} - tauri-api-adapter@0.3.23: - resolution: {integrity: sha512-WT/NVCdZZSn63Yu/lhZqeUxMGy/VoBZik7yuY2ot+kCynsI1zJQ9ZB6ORmPL8+VBBRbSpEn1yOUbSTSucRFLOQ==} + tauri-api-adapter@0.3.27: + resolution: {integrity: sha512-YzfdVlOdwlRqjRRPxvXNTb6acclbrfHC4FtotzAXcbZv7UckEE3Orzvg4AteP5Gb1veyam+NW0MFMU5Ime5vWw==} peerDependencies: typescript: ^5.0.0 @@ -11389,6 +11387,9 @@ packages: tauri-plugin-svelte@1.2.1: resolution: {integrity: sha512-xusgcHpnXqRt4RO+3UjqAlOCTh5PcxzDEa11Qd8Z3cHz6MMl0PLE6j0ExeAur+dTiZVLEGFsIm6Qd0LY9ED/wA==} + tauri-plugin-system-info-api@2.0.10: + resolution: {integrity: sha512-QalL92OgjARjyBoK4RFMV1+JRdWKyWBqv+kMi2Y7rnLkIGQUvsMQwvyCcbjdV3qoDbeAdU97G7qu7uPoO+c+OQ==} + tauri-plugin-system-info-api@2.0.8: resolution: {integrity: sha512-EFdLXNGp6Zu9SNsZCkU+55A8027OnrVw/TQrd0oJHgfZzs4qvm1iMmSvyid4MLftt33iZDhjCzxYijaaOxeKSg==} @@ -11958,16 +11959,16 @@ packages: typescript: optional: true - valibot@1.0.0-beta.12: - resolution: {integrity: sha512-j3WIxJ0pmUFMfdfUECn3YnZPYOiG0yHYcFEa/+RVgo0I+MXE3ToLt7gNRLtY5pwGfgNmsmhenGZfU5suu9ijUA==} + valibot@1.0.0-beta.9: + resolution: {integrity: sha512-yEX8gMAZ2R1yI2uwOO4NCtVnJQx36zn3vD0omzzj9FhcoblvPukENIiRZXKZwCnqSeV80bMm8wNiGhQ0S8fiww==} peerDependencies: typescript: '>=5' peerDependenciesMeta: typescript: optional: true - valibot@1.0.0-beta.9: - resolution: {integrity: sha512-yEX8gMAZ2R1yI2uwOO4NCtVnJQx36zn3vD0omzzj9FhcoblvPukENIiRZXKZwCnqSeV80bMm8wNiGhQ0S8fiww==} + valibot@1.0.0-rc.4: + resolution: {integrity: sha512-VRaChgFv7Ab0P54AMLu7+GqoexdTPQ54Plj59X9qV0AFozI3j9CGH43skg+TqgMpXnrW8jxlJ2TTHAtAD3t4qA==} peerDependencies: typescript: '>=5' peerDependenciesMeta: @@ -12446,6 +12447,18 @@ packages: utf-8-validate: optional: true + ws@8.18.1: + resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} @@ -13824,7 +13837,7 @@ snapshots: '@eslint/config-array@0.19.2': dependencies: '@eslint/object-schema': 2.1.6 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -13866,7 +13879,7 @@ snapshots: '@eslint/eslintrc@3.3.0': dependencies: ajv: 6.12.6 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) espree: 10.3.0 globals: 14.0.0 ignore: 5.3.2 @@ -14232,7 +14245,7 @@ snapshots: '@lix-js/client': 2.2.1 '@lix-js/fs': 2.2.0 '@sinclair/typebox': 0.31.28 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) dedent: 1.5.1(babel-plugin-macros@3.1.0) deepmerge-ts: 5.1.0 murmurhash3js: 3.0.1 @@ -14256,7 +14269,7 @@ snapshots: '@lix-js/client': 2.2.1 '@lix-js/fs': 2.2.0 '@sinclair/typebox': 0.31.28 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) dedent: 1.5.1(babel-plugin-macros@3.1.0) deepmerge-ts: 5.1.0 murmurhash3js: 3.0.1 @@ -14280,7 +14293,7 @@ snapshots: '@lix-js/client': 2.2.1 '@lix-js/fs': 2.2.0 '@sinclair/typebox': 0.31.28 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) dedent: 1.5.1(babel-plugin-macros@3.1.0) deepmerge-ts: 5.1.0 murmurhash3js: 3.0.1 @@ -17145,7 +17158,7 @@ snapshots: '@sveltejs/vite-plugin-svelte-inspector@4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1)))(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1))': dependencies: '@sveltejs/vite-plugin-svelte': 5.0.3(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1)) - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) svelte: 5.20.5 vite: 6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1) transitivePeerDependencies: @@ -17167,7 +17180,7 @@ snapshots: '@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1))': dependencies: '@sveltejs/vite-plugin-svelte-inspector': 4.0.1(@sveltejs/vite-plugin-svelte@5.0.3(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1)))(svelte@5.20.5)(vite@6.2.0(@types/node@22.13.1)(jiti@2.4.0)(terser@5.36.0)(yaml@2.6.1)) - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.17 @@ -17923,7 +17936,7 @@ snapshots: '@typescript-eslint/types': 8.20.0 '@typescript-eslint/typescript-estree': 8.20.0(typescript@5.7.3) '@typescript-eslint/visitor-keys': 8.20.0 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) eslint: 9.21.0(jiti@2.4.0) typescript: 5.7.3 transitivePeerDependencies: @@ -18000,7 +18013,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 8.20.0(typescript@5.7.3) '@typescript-eslint/utils': 8.20.0(eslint@9.21.0(jiti@2.4.0))(typescript@5.7.3) - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) eslint: 9.21.0(jiti@2.4.0) ts-api-utils: 2.0.0(typescript@5.7.3) typescript: 5.7.3 @@ -18085,7 +18098,7 @@ snapshots: dependencies: '@typescript-eslint/types': 8.20.0 '@typescript-eslint/visitor-keys': 8.20.0 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -18265,9 +18278,9 @@ snapshots: '@unovis/ts': 1.4.4 vue: 3.5.13(typescript@5.6.3) - '@valibot/to-json-schema@1.0.0-beta.4(valibot@1.0.0-beta.10(typescript@5.7.3))': + '@valibot/to-json-schema@1.0.0-beta.4(valibot@1.0.0-rc.4(typescript@5.7.3))': dependencies: - valibot: 1.0.0-beta.10(typescript@5.7.3) + valibot: 1.0.0-rc.4(typescript@5.7.3) '@vee-validate/zod@4.14.7(vue@3.5.13(typescript@5.6.3))': dependencies: @@ -18512,7 +18525,7 @@ snapshots: mitt: 3.0.1 perfect-debounce: 1.0.0 speakingurl: 14.0.1 - superjson: 2.2.1 + superjson: 2.2.2 '@vue/devtools-kit@7.6.4': dependencies: @@ -18522,7 +18535,7 @@ snapshots: mitt: 3.0.1 perfect-debounce: 1.0.0 speakingurl: 14.0.1 - superjson: 2.2.1 + superjson: 2.2.2 '@vue/devtools-shared@7.6.4': dependencies: @@ -18870,6 +18883,16 @@ snapshots: postcss: 8.5.1 postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.5.3): + dependencies: + browserslist: 4.24.2 + caniuse-lite: 1.0.30001676 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.1.1 + postcss: 8.5.3 + postcss-value-parser: 4.2.0 + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -19678,10 +19701,6 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.4.0: - dependencies: - ms: 2.1.3 - debug@4.4.0(supports-color@8.1.1): dependencies: ms: 2.1.3 @@ -20567,7 +20586,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) escape-string-regexp: 4.0.0 eslint-scope: 8.2.0 eslint-visitor-keys: 4.2.0 @@ -21826,26 +21845,22 @@ snapshots: kind-of@6.0.3: {} - kkrpc@0.1.1(typescript@5.7.2): - dependencies: - typescript: 5.7.2 - ws: 8.18.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - kkrpc@0.1.2(typescript@5.6.3): + kkrpc@0.2.2(typescript@5.6.3): dependencies: + '@tauri-apps/plugin-shell': 2.2.0 + superjson: 2.2.2 typescript: 5.6.3 - ws: 8.18.0 + ws: 8.18.1 transitivePeerDependencies: - bufferutil - utf-8-validate - kkrpc@0.1.2(typescript@5.7.2): + kkrpc@0.2.2(typescript@5.7.2): dependencies: + '@tauri-apps/plugin-shell': 2.2.0 + superjson: 2.2.2 typescript: 5.7.2 - ws: 8.18.0 + ws: 8.18.1 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -22471,7 +22486,7 @@ snapshots: micromark@4.0.2: dependencies: '@types/debug': 4.1.12 - debug: 4.4.0 + debug: 4.4.0(supports-color@9.4.0) decode-named-character-reference: 1.1.0 devlop: 1.1.0 micromark-core-commonmark: 2.0.3 @@ -24649,7 +24664,7 @@ snapshots: dependencies: kdbush: 3.0.0 - superjson@2.2.1: + superjson@2.2.2: dependencies: copy-anything: 3.0.5 @@ -24855,7 +24870,7 @@ snapshots: joi: 17.13.3 json-schema-to-ts: 3.1.1 superstruct: 2.0.2 - valibot: 1.0.0-beta.12(typescript@5.7.3) + valibot: 1.0.0-rc.4(typescript@5.7.3) yup: 1.6.1 zod: 3.24.1 zod-to-json-schema: 3.24.1(zod@3.24.1) @@ -25079,7 +25094,7 @@ snapshots: mkdirp: 3.0.1 yallist: 5.0.0 - tauri-api-adapter@0.3.23(typescript@5.7.2): + tauri-api-adapter@0.3.27(typescript@5.7.2): dependencies: '@tauri-apps/api': 2.3.0 '@tauri-apps/plugin-dialog': 2.2.0 @@ -25090,16 +25105,16 @@ snapshots: '@tauri-apps/plugin-os': 2.2.0 '@tauri-apps/plugin-shell': 2.2.0 '@tauri-apps/plugin-upload': 2.2.1 - kkrpc: 0.1.2(typescript@5.7.2) + kkrpc: 0.2.2(typescript@5.7.2) rimraf: 6.0.1 shx: 0.3.4 tauri-plugin-clipboard-api: 2.1.11(typescript@5.7.2) tauri-plugin-network-api: 2.0.5(typescript@5.7.2) tauri-plugin-shellx-api: 2.0.16 - tauri-plugin-system-info-api: 2.0.8(typescript@5.7.2) + tauri-plugin-system-info-api: 2.0.10(typescript@5.7.2) tsc-alias: 1.8.10 typescript: 5.7.2 - valibot: 1.0.0-beta.12(typescript@5.7.2) + valibot: 1.0.0-rc.4(typescript@5.7.2) transitivePeerDependencies: - bufferutil - utf-8-validate @@ -25155,14 +25170,14 @@ snapshots: tauri-plugin-network-api@2.0.5(typescript@5.7.2): dependencies: '@tauri-apps/api': 2.3.0 - valibot: 1.0.0-beta.11(typescript@5.7.2) + valibot: 1.0.0-rc.4(typescript@5.7.2) transitivePeerDependencies: - typescript tauri-plugin-network-api@2.0.5(typescript@5.7.3): dependencies: '@tauri-apps/api': 2.3.0 - valibot: 1.0.0-beta.11(typescript@5.7.3) + valibot: 1.0.0-rc.4(typescript@5.7.3) transitivePeerDependencies: - typescript @@ -25176,6 +25191,13 @@ snapshots: '@tauri-store/shared': 0.6.0 svelte: 5.20.5 + tauri-plugin-system-info-api@2.0.10(typescript@5.7.2): + dependencies: + '@tauri-apps/api': 2.3.0 + valibot: 1.0.0-rc.4(typescript@5.7.2) + transitivePeerDependencies: + - typescript + tauri-plugin-system-info-api@2.0.8(typescript@5.7.2): dependencies: '@tauri-apps/api': 2.3.0 @@ -25770,10 +25792,6 @@ snapshots: optionalDependencies: typescript: 5.7.2 - valibot@1.0.0-beta.10(typescript@5.7.3): - optionalDependencies: - typescript: 5.7.3 - valibot@1.0.0-beta.11(typescript@5.6.3): optionalDependencies: typescript: 5.6.3 @@ -25787,18 +25805,18 @@ snapshots: optionalDependencies: typescript: 5.7.3 - valibot@1.0.0-beta.12(typescript@5.7.2): - optionalDependencies: - typescript: 5.7.2 - - valibot@1.0.0-beta.12(typescript@5.7.3): - optionalDependencies: - typescript: 5.7.3 - valibot@1.0.0-beta.9(typescript@5.6.3): optionalDependencies: typescript: 5.6.3 + valibot@1.0.0-rc.4(typescript@5.7.2): + optionalDependencies: + typescript: 5.7.2 + + valibot@1.0.0-rc.4(typescript@5.7.3): + optionalDependencies: + typescript: 5.7.3 + validate-npm-package-name@5.0.1: {} validator@13.12.0: @@ -26274,6 +26292,8 @@ snapshots: ws@8.18.0: {} + ws@8.18.1: {} + y18n@5.0.8: {} yallist@3.1.1: {} diff --git a/vendors/tauri-plugin-system-info b/vendors/tauri-plugin-system-info index 5d0424d..cb32fe8 160000 --- a/vendors/tauri-plugin-system-info +++ b/vendors/tauri-plugin-system-info @@ -1 +1 @@ -Subproject commit 5d0424ddb61e217a03a4d3d75ef9a761d9901c41 +Subproject commit cb32fe842b8ba9a893a2aa4d6850b9a81516e7aa