chore: generate
This commit is contained in:
parent
2039c90c06
commit
d4ad650f73
4 changed files with 16 additions and 20 deletions
24
bun.lock
24
bun.lock
|
|
@ -1060,28 +1060,28 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"trustedDependencies": [
|
"trustedDependencies": [
|
||||||
|
"esbuild",
|
||||||
"tree-sitter-powershell",
|
"tree-sitter-powershell",
|
||||||
|
"protobufjs",
|
||||||
|
"electron",
|
||||||
"web-tree-sitter",
|
"web-tree-sitter",
|
||||||
"tree-sitter-bash",
|
"tree-sitter-bash",
|
||||||
"esbuild",
|
|
||||||
"electron",
|
|
||||||
"protobufjs",
|
|
||||||
],
|
],
|
||||||
"patchedDependencies": {
|
"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",
|
"@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",
|
"@tanstack/virtual-core@3.17.3": "patches/@tanstack%2Fvirtual-core@3.17.3.patch",
|
||||||
"@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.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",
|
"@modelcontextprotocol/sdk@1.29.0": "patches/@modelcontextprotocol%2Fsdk@1.29.0.patch",
|
||||||
"gcp-metadata@8.1.2": "patches/gcp-metadata@8.1.2.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",
|
"@standard-community/standard-openapi@0.2.9": "patches/@standard-community%2Fstandard-openapi@0.2.9.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",
|
|
||||||
"effect@4.0.0-beta.83": "patches/effect@4.0.0-beta.83.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",
|
"@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": {
|
"overrides": {
|
||||||
"@opentui/core": "catalog:",
|
"@opentui/core": "catalog:",
|
||||||
|
|
|
||||||
|
|
@ -356,10 +356,8 @@ function createServerNotificationState(input: {
|
||||||
|
|
||||||
const href = `/${base64Encode(directory)}/session/${sessionID}`
|
const href = `/${base64Encode(directory)}/session/${sessionID}`
|
||||||
if (settings.notifications.agent()) {
|
if (settings.notifications.agent()) {
|
||||||
void platform.notify(
|
void platform.notify(language.t("notification.session.responseReady.title"), session.title ?? sessionID, () =>
|
||||||
language.t("notification.session.responseReady.title"),
|
input.navigate(href),
|
||||||
session.title ?? sessionID,
|
|
||||||
() => input.navigate(href),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@ import { fileURLToPath } from "node:url"
|
||||||
export function resolveExternalURL(value: string) {
|
export function resolveExternalURL(value: string) {
|
||||||
if (!URL.canParse(value)) return undefined
|
if (!URL.canParse(value)) return undefined
|
||||||
const url = new URL(value)
|
const url = new URL(value)
|
||||||
if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:")
|
if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:") return url.href
|
||||||
return url.href
|
|
||||||
return undefined
|
return undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -369,8 +369,7 @@ function DesktopRoot(props: { windowState: DesktopWindowState }) {
|
||||||
function App() {
|
function App() {
|
||||||
const wslServers = useWslServers()
|
const wslServers = useWslServers()
|
||||||
const ready = createMemo(
|
const ready = createMemo(
|
||||||
() =>
|
() => !defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading,
|
||||||
!defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading,
|
|
||||||
)
|
)
|
||||||
const servers = createMemo(() => {
|
const servers = createMemo(() => {
|
||||||
const data = initializationData(sidecar)
|
const data = initializationData(sidecar)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue