A desktop coding agent with free access to frontier models.
TypeScript
chore: remove the unused web search setting
Samrat Talukdard06a941b1eab
diff --git a/apps/app/src/i18n/locales/ca.ts b/apps/app/src/i18n/locales/ca.tsindex ae57913e..bdcbf6bb 100644--- a/apps/app/src/i18n/locales/ca.ts+++ b/apps/app/src/i18n/locales/ca.ts@@ -744,8 +744,6 @@ export default {"settings.docker_requires_desktop": "La neteja de Docker requereix l'app d'escriptori","settings.done": "Fet","settings.enable_developer_mode": "Activa el mode de desenvolupador",- "settings.enable_exa": "Activa la cerca web Exa",- "settings.enable_exa_desc": "S'aplica quan omnirush.ai arrenca omnirush.ai. Per defecte està desactivat","settings.engine_bundled": "En paquet (recomanat)","settings.engine_bundled_hint": "El motor en paquet és l'opció més fiable. Fes servir System","settings.engine_custom_binary": "Binari personalitzat",@@ -799,7 +797,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "Reinicia omnirush.ai després de canviar aquesta configuració.","settings.export": "Exporta","settings.exported_debug_report": "S'ha exportat l'informe JSON del runtime.","settings.feedback_badge": "Llegim tots els missatges",@@ -840,7 +837,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar del runtime local.","settings.opencode_sdk_desc": "Diagnòstic de connexió de la UI.","settings.opencode_sdk_title": "Motor omnirush.ai",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Obre deep link","settings.omnirush_config_sidecar_desc": "Sidecar de configuració i aprovacions.","settings.omnirush_diagnostics_title": "Diagnòstic del servidor omnirush.ai",diff --git a/apps/app/src/i18n/locales/en.ts b/apps/app/src/i18n/locales/en.tsindex 6f660a91..67a3ef6a 100644--- a/apps/app/src/i18n/locales/en.ts+++ b/apps/app/src/i18n/locales/en.ts@@ -1539,9 +1539,6 @@ export default {"settings.docker_requires_desktop": "Only available in the desktop app","settings.done": "Done","settings.enable_developer_mode": "Enable Developer Mode",- "settings.enable_exa": "Enable Exa web search",- "settings.enable_exa_desc": "Applies the next time omnirush.ai is started by omnirush.ai. Off by default.",- "settings.exa_unavailable": "Exa web search is not yet configurable in this settings view.","settings.engine_bundled": "Bundled (recommended)","settings.engine_bundled_hint": "Bundled engine is the most reliable option. Use System","settings.engine_custom_binary": "Custom binary",@@ -1550,7 +1547,6 @@ export default {"settings.engine_source_debug": "Engine source","settings.engine_system_path": "System install (PATH)","settings.engine_title": "Engine",- "settings.exa_restart_hint": "Restart omnirush.ai after changing this setting.","settings.export": "Export","settings.exported_debug_report": "Exported runtime report JSON.","settings.feedback_badge": "We read every message",@@ -1619,7 +1615,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Local omnirush.ai process managed by omnirush.ai.","settings.opencode_sdk_desc": "Browser → engine connection.","settings.opencode_sdk_title": "omnirush.ai SDK link",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Open deeplink","settings.omnirush_config_sidecar_desc": "Local omnirush.ai server (Bun) that hosts approvals, audit, and omnirush.ai lifecycle.","settings.omnirush_diagnostics_title": "omnirush.ai server diagnostics",diff --git a/apps/app/src/i18n/locales/es.ts b/apps/app/src/i18n/locales/es.tsindex e3d67cd6..0dc1b9bd 100644--- a/apps/app/src/i18n/locales/es.ts+++ b/apps/app/src/i18n/locales/es.ts@@ -744,8 +744,6 @@ export default {"settings.docker_requires_desktop": "La limpieza de Docker requiere la app de escritorio","settings.done": "Hecho","settings.enable_developer_mode": "Habilitar el modo de desarrollador",- "settings.enable_exa": "Habilitar la búsqueda web Exa",- "settings.enable_exa_desc": "Se aplica cuando omnirush.ai inicia omnirush.ai. Está desactivado por defecto.","settings.engine_bundled": "Incluido (recomendado)","settings.engine_bundled_hint": "El motor integrado es la opción más confiable. Usa Sistema solo si lo necesitas.","settings.engine_custom_binary": "Binario personalizado",@@ -799,7 +797,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "Reinicia omnirush.ai después de cambiar esta configuración.","settings.export": "Exportar","settings.exported_debug_report": "Informe JSON del runtime exportado.","settings.feedback_badge": "Leemos cada mensaje",@@ -840,7 +837,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar del runtime local.","settings.opencode_sdk_desc": "Diagnósticos de conexión de la interfaz.","settings.opencode_sdk_title": "Motor de omnirush.ai",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Abrir deep link","settings.omnirush_config_sidecar_desc": "Sidecar de configuración y aprobaciones.","settings.omnirush_diagnostics_title": "Diagnóstico del servidor de omnirush.ai",diff --git a/apps/app/src/i18n/locales/fr.ts b/apps/app/src/i18n/locales/fr.tsindex a46cf4f7..fbb976cb 100644--- a/apps/app/src/i18n/locales/fr.ts+++ b/apps/app/src/i18n/locales/fr.ts@@ -744,8 +744,6 @@ export default {"settings.docker_requires_desktop": "Le nettoyage Docker nécessite l'application desktop","settings.done": "Terminé","settings.enable_developer_mode": "Activer le mode développeur",- "settings.enable_exa": "Activer la recherche web Exa",- "settings.enable_exa_desc": "S'applique lorsque omnirush.ai lance omnirush.ai. Désactivé par","settings.engine_bundled": "Intégré (recommandé)","settings.engine_bundled_hint": "Le moteur intégré est l'option la plus fiable. Utilisez Système","settings.engine_custom_binary": "Binaire personnalisé",@@ -799,7 +797,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "Redémarrez omnirush.ai après avoir modifié ce paramètre.","settings.export": "Exporter","settings.exported_debug_report": "Rapport d'exécution JSON exporté.","settings.feedback_badge": "Nous lisons chaque message",@@ -840,7 +837,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar d'exécution locale.","settings.opencode_sdk_desc": "Diagnostics de connexion de l'UI.","settings.opencode_sdk_title": "Moteur omnirush.ai",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Ouvrir le lien profond","settings.omnirush_config_sidecar_desc": "Sidecar de configuration et d'approbations.","settings.omnirush_diagnostics_title": "Diagnostics du serveur omnirush.ai",diff --git a/apps/app/src/i18n/locales/ja.ts b/apps/app/src/i18n/locales/ja.tsindex 3796cdc5..98fc260e 100644--- a/apps/app/src/i18n/locales/ja.ts+++ b/apps/app/src/i18n/locales/ja.ts@@ -736,8 +736,6 @@ export default {"settings.docker_requires_desktop": "Dockerクリーンアップにはデスクトップアプリが必要です。","settings.done": "完了","settings.enable_developer_mode": "デベロッパーモードを有効化",- "settings.enable_exa": "Exa ウェブ検索を有効化",- "settings.enable_exa_desc": "omnirush.aiがOpenCodeを起動する際に適用されます。","settings.engine_bundled": "バンドル版(推奨)","settings.engine_bundled_hint": "バンドルエンジンが最も安定した選択肢です。システム","settings.engine_custom_binary": "カスタムバイナリ",@@ -791,7 +789,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ / OPENCODE_ の名前は omnirush.ai/OpenCode が管理します。","settings.environment.validation_shape": "英字・数字・アンダースコアを使用してください。数字で始められません。","settings.environment.value_label": "値",- "settings.exa_restart_hint": "この設定を変更した後、OpenCodeを再起動してください。","settings.export": "エクスポート","settings.exported_debug_report": "ランタイムレポートJSONをエクスポートしました。","settings.feedback_badge": "すべてのメッセージを読んでいます",@@ -832,7 +829,6 @@ export default {"settings.opencode_engine_sidecar_desc": "ローカル実行サイドカー。","settings.opencode_sdk_desc": "UI接続診断。","settings.opencode_sdk_title": "OpenCodeエンジン",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "開いています…","settings.omnirush_config_sidecar_desc": "設定と承認のサイドカー。","settings.omnirush_diagnostics_title": "omnirush.aiサーバー診断",diff --git a/apps/app/src/i18n/locales/pt-BR.ts b/apps/app/src/i18n/locales/pt-BR.tsindex c28d6edd..36ed52fa 100644--- a/apps/app/src/i18n/locales/pt-BR.ts+++ b/apps/app/src/i18n/locales/pt-BR.ts@@ -742,8 +742,6 @@ export default {"settings.docker_requires_desktop": "A limpeza do Docker requer o app desktop","settings.done": "Concluído","settings.enable_developer_mode": "Ativar Modo Desenvolvedor",- "settings.enable_exa": "Ativar busca web Exa",- "settings.enable_exa_desc": "Aplica-se quando o omnirush.ai inicia o omnirush.ai.","settings.engine_bundled": "Integrado (recomendado)","settings.engine_bundled_hint": "O engine integrado é a opção mais confiável. Use Sistema","settings.engine_custom_binary": "Binário personalizado",@@ -797,7 +795,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "Reinicie o omnirush.ai após alterar esta configuração.","settings.export": "Exportar","settings.exported_debug_report": "JSON do relatório de runtime exportado.","settings.feedback_badge": "Lemos cada mensagem",@@ -838,7 +835,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar de execução local.","settings.opencode_sdk_desc": "Diagnósticos de conexão da interface.","settings.opencode_sdk_title": "Engine omnirush.ai",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Abrir deeplink","settings.omnirush_config_sidecar_desc": "Sidecar de configuração e aprovações.","settings.omnirush_diagnostics_title": "Diagnósticos do servidor omnirush.ai",diff --git a/apps/app/src/i18n/locales/ru.ts b/apps/app/src/i18n/locales/ru.tsindex 6f692fad..2269df41 100644--- a/apps/app/src/i18n/locales/ru.ts+++ b/apps/app/src/i18n/locales/ru.ts@@ -903,8 +903,6 @@ export default {"settings.docker_requires_desktop": "Для очистки Docker требуется настольное приложение","settings.done": "Готово","settings.enable_developer_mode": "Включить режим разработчика",- "settings.enable_exa": "Включить веб-поиск Exa",- "settings.enable_exa_desc": "Вступит в силу при следующем запуске omnirush.ai через omnirush.ai. По умолчанию выключено.","settings.engine_bundled": "Встроенный (рекомендуется)","settings.engine_bundled_hint": "Встроенный движок — самый надежный вариант. Используйте System","settings.engine_custom_binary": "Пользовательский binary",@@ -913,7 +911,6 @@ export default {"settings.engine_source_debug": "Источник движка","settings.engine_system_path": "Системная установка (PATH)","settings.engine_title": "Движок",- "settings.exa_restart_hint": "Перезапустите omnirush.ai после изменения этой настройки.","settings.export": "Экспорт","settings.exported_debug_report": "JSON runtime-отчета экспортирован.","settings.feedback_badge": "Мы читаем каждое сообщение",@@ -957,7 +954,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Локальный процесс omnirush.ai, управляемый omnirush.ai.","settings.opencode_sdk_desc": "Связь browser → engine.","settings.opencode_sdk_title": "Ссылка omnirush.ai SDK",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Открытие deeplink","settings.omnirush_config_sidecar_desc": "Локальный сервер omnirush.ai (Bun), который обслуживает approvals, audit и lifecycle omnirush.ai.","settings.omnirush_diagnostics_title": "Диагностика сервера omnirush.ai",diff --git a/apps/app/src/i18n/locales/th.ts b/apps/app/src/i18n/locales/th.tsindex 703db96d..689be505 100644--- a/apps/app/src/i18n/locales/th.ts+++ b/apps/app/src/i18n/locales/th.ts@@ -737,8 +737,6 @@ export default {"settings.docker_requires_desktop": "การล้าง Docker ต้องใช้แอปเดสก์ท็อป","settings.done": "เสร็จสิ้น","settings.enable_developer_mode": "เปิดโหมดนักพัฒนา",- "settings.enable_exa": "เปิด Exa web search",- "settings.enable_exa_desc": "ใช้งานเมื่อ omnirush.ai เปิด omnirush.ai","settings.engine_bundled": "แบบรวม (แนะนำ)","settings.engine_bundled_hint": "Engine แบบรวมเป็นตัวเลือกที่เสถียรที่สุด ใช้ System","settings.engine_custom_binary": "Binary กำหนดเอง",@@ -792,7 +790,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "รีสตาร์ท omnirush.ai หลังเปลี่ยนการตั้งค่านี้","settings.export": "ส่งออก","settings.exported_debug_report": "ส่งออก JSON รายงานรันไทม์แล้ว","settings.feedback_badge": "เราอ่านทุกข้อความ",@@ -833,7 +830,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar สำหรับรันภายในเครื่อง","settings.opencode_sdk_desc": "ข้อมูลวินิจฉัยการเชื่อมต่อ UI","settings.opencode_sdk_title": "omnirush.ai engine",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "เปิด deeplink","settings.omnirush_config_sidecar_desc": "Sidecar สำหรับ config และ approvals","settings.omnirush_diagnostics_title": "ข้อมูลวินิจฉัย omnirush.ai server",diff --git a/apps/app/src/i18n/locales/vi.ts b/apps/app/src/i18n/locales/vi.tsindex 5b83135a..930883f2 100644--- a/apps/app/src/i18n/locales/vi.ts+++ b/apps/app/src/i18n/locales/vi.ts@@ -737,8 +737,6 @@ export default {"settings.docker_requires_desktop": "Dọn dẹp Docker yêu cầu ứng dụng desktop","settings.done": "Xong","settings.enable_developer_mode": "Bật chế độ Nhà phát triển",- "settings.enable_exa": "Bật tìm kiếm web Exa",- "settings.enable_exa_desc": "Áp dụng khi omnirush.ai khởi chạy omnirush.ai.","settings.engine_bundled": "Đi kèm (khuyến nghị)","settings.engine_bundled_hint": "Engine đi kèm là tùy chọn đáng tin nhất. Dùng Hệ thống","settings.engine_custom_binary": "File nhị phân tùy chỉnh",@@ -792,7 +790,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ and OPENCODE_ names are managed by omnirush.ai/OpenCode.","settings.environment.validation_shape": "Use letters, digits, and underscores; do not start with a digit.","settings.environment.value_label": "Value",- "settings.exa_restart_hint": "Khởi động lại omnirush.ai sau khi thay đổi cài đặt này.","settings.export": "Xuất","settings.exported_debug_report": "Đã xuất báo cáo runtime JSON.","settings.feedback_badge": "Chúng tôi đọc từng tin nhắn",@@ -833,7 +830,6 @@ export default {"settings.opencode_engine_sidecar_desc": "Sidecar thực thi nội bộ.","settings.opencode_sdk_desc": "Chẩn đoán kết nối giao diện.","settings.opencode_sdk_title": "Engine omnirush.ai",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "Mở deeplink","settings.omnirush_config_sidecar_desc": "Sidecar cấu hình và phê duyệt.","settings.omnirush_diagnostics_title": "Chẩn đoán máy chủ omnirush.ai",diff --git a/apps/app/src/i18n/locales/zh.ts b/apps/app/src/i18n/locales/zh.tsindex e145cc79..9330da31 100644--- a/apps/app/src/i18n/locales/zh.ts+++ b/apps/app/src/i18n/locales/zh.ts@@ -740,8 +740,6 @@ export default {"settings.docker_requires_desktop": "Docker清理需要桌面应用","settings.done": "完成","settings.enable_developer_mode": "启用开发者模式",- "settings.enable_exa": "启用Exa网页搜索",- "settings.enable_exa_desc": "在omnirush.ai启动OpenCode时生效。","settings.engine_bundled": "内置(推荐)","settings.engine_bundled_hint": "内置引擎是最可靠的选项。使用系统","settings.engine_custom_binary": "自定义二进制文件",@@ -795,7 +793,6 @@ export default {"settings.environment.validation_reserved": "OMNIRUSH_ 和 OPENCODE_ 名称由 omnirush.ai/OpenCode 管理。","settings.environment.validation_shape": "请使用字母、数字和下划线,且不能以数字开头。","settings.environment.value_label": "值",- "settings.exa_restart_hint": "更改此设置后,请重启OpenCode。","settings.export": "导出","settings.exported_debug_report": "已导出运行时报告JSON。","settings.feedback_badge": "我们阅读每条反馈",@@ -836,7 +833,6 @@ export default {"settings.opencode_engine_sidecar_desc": "本地执行sidecar。","settings.opencode_sdk_desc": "UI连接诊断。","settings.opencode_sdk_title": "OpenCode引擎",- "settings.opencode_section_label": "omnirush.ai","settings.opening": "打开深层链接","settings.omnirush_config_sidecar_desc": "配置和审批sidecar。","settings.omnirush_diagnostics_title": "omnirush.ai服务器诊断",diff --git a/apps/app/src/react-app/domains/settings/pages/advanced-view-sections.tsx b/apps/app/src/react-app/domains/settings/pages/advanced-view-sections.tsxindex 78e6722d..bab35886 100644--- a/apps/app/src/react-app/domains/settings/pages/advanced-view-sections.tsx+++ b/apps/app/src/react-app/domains/settings/pages/advanced-view-sections.tsx@@ -1,8 +1,7 @@/** @jsxImportSource react */import { useEffect, useState, type ComponentProps, type ReactNode } from "react";-import { CircleAlert, Cpu, Info, RefreshCcw, Server } from "lucide-react";+import { CircleAlert, Cpu, RefreshCcw, Server } from "lucide-react";-import { Alert, AlertDescription } from "@/components/ui/alert";import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";import { Field, FieldLabel } from "@/components/ui/field";@@ -712,45 +711,6 @@ export function AdvancedRuntimeConfigSourcesSection(props: AdvancedRuntimeConfig);}-interface AdvancedOpencodeSectionProps {- busy: boolean;- enabled: boolean;- onToggle: () => void;-}--export function AdvancedOpencodeSection(props: AdvancedOpencodeSectionProps) {- return (- <LayoutSection>- <LayoutSectionHeader>- <LayoutSectionTitle>- {t("settings.opencode_section_label")}- </LayoutSectionTitle>- <LayoutSectionDescription>{t("settings.opencode_engine_desc")}</LayoutSectionDescription>- </LayoutSectionHeader>-- <LayoutSectionItem>- <LayoutSectionItemHeader>- <LayoutSectionItemTitle>{t("settings.enable_exa")}</LayoutSectionItemTitle>- <LayoutSectionItemDescription>{t("settings.enable_exa_desc")}</LayoutSectionItemDescription>- <LayoutSectionItemHeaderActions>- <Switch- aria-label={t("settings.enable_exa")}- checked={props.enabled}- disabled- onCheckedChange={props.onToggle}- />- </LayoutSectionItemHeaderActions>- </LayoutSectionItemHeader>- <Alert>- <Info />- <AlertDescription>{t("settings.exa_unavailable")}</AlertDescription>- </Alert>- <LayoutSectionItemFootnote>{t("settings.exa_restart_hint")}</LayoutSectionItemFootnote>- </LayoutSectionItem>- </LayoutSection>- );-}-export function AdvancedWorkspaceRunModeSection() {const { workspaceRunModeEnabled, toggleWorkspaceRunMode } = useFeatureFlagsPreferences();const restricted = useDesktopRestriction("allowControlSettings");diff --git a/apps/app/src/react-app/domains/settings/state/debug-view-model.ts b/apps/app/src/react-app/domains/settings/state/debug-view-model.tsindex 94d7bb61..b902a771 100644--- a/apps/app/src/react-app/domains/settings/state/debug-view-model.ts+++ b/apps/app/src/react-app/domains/settings/state/debug-view-model.ts@@ -51,7 +51,6 @@ type DebugViewModelProps = Omit<DebugViewProps, "agentContextDiagnostics">;const STARTUP_PREFERENCE_KEY = "omnirush.startupPreference";const ENGINE_SOURCE_KEY = "omnirush.engineSource";const ENGINE_CUSTOM_BIN_KEY = "omnirush.engineCustomBinPath";-const OPENCODE_ENABLE_EXA_KEY = "omnirush.opencodeEnableExa";const NUKE_CONFIRMATION_WORD = "NUKE";const NUKE_SIGN_OUT_TIMEOUT_MS = 5000;@@ -140,10 +139,6 @@ function readEngineSource(): "path" | "sidecar" | "custom" {return raw === "path" || raw === "sidecar" || raw === "custom" ? raw : "sidecar";}-function readOpencodeEnableExa(): boolean {- return readStoredString(OPENCODE_ENABLE_EXA_KEY, "1") === "1";-}-function statusPill(running: boolean,connectedLabel?: string,@@ -740,7 +735,6 @@ export function useDebugViewModel(options: UseDebugViewModelOptions) {userInitiated: true,runtime: "direct",workspacePaths,- opencodeEnableExa: readOpencodeEnableExa(),omnirushRemoteAccess:optionsRef.current.omnirushServerSnapshot.omnirushServerSettings.remoteAccessEnabled === true,diff --git a/apps/desktop/electron/runtime.mjs b/apps/desktop/electron/runtime.mjsindex 7ea9dca4..158fb005 100644--- a/apps/desktop/electron/runtime.mjs+++ b/apps/desktop/electron/runtime.mjs@@ -2527,7 +2527,6 @@ export function createRuntimeManager({return engineStart(projectDir, {runtime: engineState.runtime,workspacePaths: [projectDir],- opencodeEnableExa: options.opencodeEnableExa,omnirushRemoteAccess,forceRestart: true,});