diff --git a/bun.lock b/bun.lock index e84726d6100..4de04ab24dd 100644 --- a/bun.lock +++ b/bun.lock @@ -1060,28 +1060,28 @@ }, }, "trustedDependencies": [ + "esbuild", "tree-sitter-powershell", + "protobufjs", + "electron", "web-tree-sitter", "tree-sitter-bash", - "esbuild", - "electron", - "protobufjs", ], "patchedDependencies": { - "solid-js@1.9.10": "patches/solid-js@1.9.10.patch", "@pierre/trees@1.0.0-beta.4": "patches/@pierre%2Ftrees@1.0.0-beta.4.patch", - "pacote@21.5.0": "patches/pacote@21.5.0.patch", - "@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.patch", + "@tanstack/virtual-core@3.17.3": "patches/@tanstack%2Fvirtual-core@3.17.3.patch", + "@ai-sdk/xai@3.0.102": "patches/@ai-sdk%2Fxai@3.0.102.patch", "@modelcontextprotocol/sdk@1.29.0": "patches/@modelcontextprotocol%2Fsdk@1.29.0.patch", "gcp-metadata@8.1.2": "patches/gcp-metadata@8.1.2.patch", - "@ai-sdk/google@3.0.73": "patches/@ai-sdk%2Fgoogle@3.0.73.patch", - "@silvia-odwyer/photon-node@0.3.4": "patches/@silvia-odwyer%2Fphoton-node@0.3.4.patch", - "@ai-sdk/mistral@3.0.51": "patches/@ai-sdk%2Fmistral@3.0.51.patch", - "@tanstack/virtual-core@3.17.3": "patches/@tanstack%2Fvirtual-core@3.17.3.patch", - "@dnd-kit/dom@0.5.0": "patches/@dnd-kit%2Fdom@0.5.0.patch", + "@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.patch", "effect@4.0.0-beta.83": "patches/effect@4.0.0-beta.83.patch", + "@ai-sdk/mistral@3.0.51": "patches/@ai-sdk%2Fmistral@3.0.51.patch", + "@silvia-odwyer/photon-node@0.3.4": "patches/@silvia-odwyer%2Fphoton-node@0.3.4.patch", "@npmcli/agent@4.0.2": "patches/@npmcli%2Fagent@4.0.2.patch", - "@ai-sdk/xai@3.0.102": "patches/@ai-sdk%2Fxai@3.0.102.patch", + "solid-js@1.9.10": "patches/solid-js@1.9.10.patch", + "@ai-sdk/google@3.0.73": "patches/@ai-sdk%2Fgoogle@3.0.73.patch", + "pacote@21.5.0": "patches/pacote@21.5.0.patch", + "@dnd-kit/dom@0.5.0": "patches/@dnd-kit%2Fdom@0.5.0.patch", }, "overrides": { "@opentui/core": "catalog:", diff --git a/packages/app/src/context/notification.tsx b/packages/app/src/context/notification.tsx index fb562a0bf5c..799c4713dd5 100644 --- a/packages/app/src/context/notification.tsx +++ b/packages/app/src/context/notification.tsx @@ -356,10 +356,8 @@ function createServerNotificationState(input: { const href = `/${base64Encode(directory)}/session/${sessionID}` if (settings.notifications.agent()) { - void platform.notify( - language.t("notification.session.responseReady.title"), - session.title ?? sessionID, - () => input.navigate(href), + void platform.notify(language.t("notification.session.responseReady.title"), session.title ?? sessionID, () => + input.navigate(href), ) } }) diff --git a/packages/desktop/src/main/external-url.ts b/packages/desktop/src/main/external-url.ts index 91f84aa4a6d..9430a791b9c 100644 --- a/packages/desktop/src/main/external-url.ts +++ b/packages/desktop/src/main/external-url.ts @@ -3,8 +3,7 @@ import { fileURLToPath } from "node:url" export function resolveExternalURL(value: string) { if (!URL.canParse(value)) return undefined const url = new URL(value) - if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:") - return url.href + if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:") return url.href return undefined } diff --git a/packages/desktop/src/renderer/index.tsx b/packages/desktop/src/renderer/index.tsx index 54f3b01cfa5..244b5eb405a 100644 --- a/packages/desktop/src/renderer/index.tsx +++ b/packages/desktop/src/renderer/index.tsx @@ -369,8 +369,7 @@ function DesktopRoot(props: { windowState: DesktopWindowState }) { function App() { const wslServers = useWslServers() const ready = createMemo( - () => - !defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading, + () => !defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading, ) const servers = createMemo(() => { const data = initializationData(sidecar)