diff --git a/ui/desktop/openapi.json b/ui/desktop/openapi.json index 6aeb71cb1043..4f80c5ad33b3 100644 --- a/ui/desktop/openapi.json +++ b/ui/desktop/openapi.json @@ -10,7 +10,7 @@ "license": { "name": "Apache-2.0" }, - "version": "1.0.31" + "version": "1.0.34" }, "paths": { "/agent/tools": { diff --git a/ui/desktop/src/components/settings/extensions/deeplink.ts b/ui/desktop/src/components/settings/extensions/deeplink.ts index 41e6f57c9ff3..97851262b70b 100644 --- a/ui/desktop/src/components/settings/extensions/deeplink.ts +++ b/ui/desktop/src/components/settings/extensions/deeplink.ts @@ -14,7 +14,7 @@ function getStdioConfig( timeout: number ) { // Validate that the command is one of the allowed commands - const allowedCommands = ['cu', 'docker', 'jbang', 'npx', 'uvx', 'goosed', 'npx.cmd']; + const allowedCommands = ['docker', 'jbang', 'npx', 'uvx', 'goosed', 'npx.cmd']; if (!allowedCommands.includes(cmd)) { toastService.handleError( 'Invalid Command', diff --git a/ui/desktop/src/components/settings/extensions/utils.ts b/ui/desktop/src/components/settings/extensions/utils.ts index 66aa7409c5ff..ef5c00de9530 100644 --- a/ui/desktop/src/components/settings/extensions/utils.ts +++ b/ui/desktop/src/components/settings/extensions/utils.ts @@ -196,7 +196,6 @@ export function extractExtensionConfig(fixedEntry: FixedExtensionEntry): Extensi export async function replaceWithShims(cmd: string) { const binaryPathMap: Record = { - cu: await window.electron.getBinaryPath('cu'), goosed: await window.electron.getBinaryPath('goosed'), jbang: await window.electron.getBinaryPath('jbang'), npx: await window.electron.getBinaryPath('npx'), @@ -213,7 +212,7 @@ export async function replaceWithShims(cmd: string) { export function removeShims(cmd: string) { // Only remove shims if the path matches our known shim patterns - const shimPatterns = [/cu$/, /goosed$/, /docker$/, /jbang$/, /npx$/, /uvx$/, /npx.cmd$/]; + const shimPatterns = [/goosed$/, /docker$/, /jbang$/, /npx$/, /uvx$/, /npx.cmd$/]; // Check if the command matches any shim pattern const isShim = shimPatterns.some((pattern) => pattern.test(cmd)); diff --git a/ui/desktop/src/extensions.tsx b/ui/desktop/src/extensions.tsx index 2d12b3fb7ff7..5c314dec094c 100644 --- a/ui/desktop/src/extensions.tsx +++ b/ui/desktop/src/extensions.tsx @@ -270,7 +270,6 @@ export async function loadAndAddStoredExtensions() { // Update the path to the binary based on the command export async function replaceWithShims(cmd: string) { const binaryPathMap: Record = { - cu: await window.electron.getBinaryPath('cu'), goosed: await window.electron.getBinaryPath('goosed'), jbang: await window.electron.getBinaryPath('jbang'), npx: await window.electron.getBinaryPath('npx'),