feat(desktop): link the installer from the app-build-out-of-sync warning

The skew banner told users to run the in-app update, but on machines where
the local desktop pack is the broken step (e.g. the get-windows win32
binding staging failure in #88251), rebuilding in place cannot succeed.
Reinstalling from the packaged installer sidesteps the local build
entirely, so offer it as the escape hatch:

- Settings > About skew banner gains a "Get the installer" button opening
  https://hermes-agent.nousresearch.com/ via openExternal
- banner copy now mentions reinstalling when the update doesn't clear the
  warning
- all 5 locales updated (new bundleOutOfSyncAction key)
This commit is contained in:
Teknium
2026-08-17 14:20:34 -07:00
parent cf7b3d0c90
commit 39c0bc80b7
7 changed files with 26 additions and 5 deletions
@@ -22,6 +22,7 @@ import { ListRow, SectionHeading, SettingsContent } from './primitives'
import { UninstallSection } from './uninstall-section'
const RELEASE_NOTES_URL = 'https://github.com/NousResearch/hermes-agent/releases'
const INSTALLER_URL = 'https://hermes-agent.nousresearch.com/'
function relativeTime(ms: number | undefined, a: Translations['settings']['about']) {
if (!ms) {
@@ -113,6 +114,20 @@ export function AboutSettings() {
<div className="min-w-0">
<p className="font-medium">{a.bundleOutOfSync}</p>
<p className="mt-1 text-xs text-muted-foreground">{a.bundleOutOfSyncDesc}</p>
<Button asChild className="mt-2" size="sm" variant="textStrong">
<a
href={INSTALLER_URL}
onClick={event => {
event.preventDefault()
void window.hermesDesktop?.openExternal?.(INSTALLER_URL)
}}
rel="noreferrer"
target="_blank"
>
<ExternalLink className="size-3" />
{a.bundleOutOfSyncAction}
</a>
</Button>
</div>
</div>
</div>
+2 -1
View File
@@ -606,7 +606,8 @@ export const ar = defineLocale({
versionUnavailable: 'الإصدار غير متاح',
bundleOutOfSync: 'إصدار التطبيق قديم',
bundleOutOfSyncDesc:
'تم تحديث وقت تشغيل Hermes، لكن تطبيق سطح المكتب نفسه لا يزال إصدارًا قديمًا — لن تظهر ميزات الواجهة الجديدة (مثل Bot Mode) حتى يتم تحديث التطبيق. شغّل التحديث أدناه لإعادة بناء التطبيق.',
'تم تحديث وقت تشغيل Hermes، لكن تطبيق سطح المكتب نفسه لا يزال إصدارًا قديمًا — لن تظهر ميزات الواجهة الجديدة (مثل Bot Mode) حتى يتم تحديث التطبيق. شغّل التحديث أدناه لإعادة بناء التطبيق. إذا لم يختفِ هذا التحذير، فأعد التثبيت من أحدث مثبّت لسطح المكتب.',
bundleOutOfSyncAction: 'الحصول على المثبّت',
updates: 'التحديثات',
checkNow: 'التحقق الآن',
checking: 'جار التحقق...',
+2 -1
View File
@@ -564,7 +564,8 @@ export const en: Translations = {
versionUnavailable: 'Version unavailable',
bundleOutOfSync: 'App build out of date',
bundleOutOfSyncDesc:
'The Hermes runtime was updated, but the desktop app itself is still an older build — new interface features (like Bot Mode) will be missing until it updates. Run the update below to rebuild the app.',
'The Hermes runtime was updated, but the desktop app itself is still an older build — new interface features (like Bot Mode) will be missing until it updates. Run the update below to rebuild the app. If that doesn\u2019t clear this warning, reinstall from the latest desktop installer.',
bundleOutOfSyncAction: 'Get the installer',
updates: 'Updates',
checkNow: 'Check now',
checking: 'Checking…',
+2 -1
View File
@@ -646,7 +646,8 @@ export const ja = defineLocale({
versionUnavailable: 'バージョンを取得できません',
bundleOutOfSync: 'アプリのビルドが古くなっています',
bundleOutOfSyncDesc:
'Hermes ランタイムは更新されましたが、デスクトップアプリ自体は古いビルドのままです。アプリを更新するまで、新しいインターフェース機能(Bot Mode など)は表示されません。下の更新を実行してアプリを再ビルドしてください。',
'Hermes ランタイムは更新されましたが、デスクトップアプリ自体は古いビルドのままです。アプリを更新するまで、新しいインターフェース機能(Bot Mode など)は表示されません。下の更新を実行してアプリを再ビルドしてください。それでもこの警告が消えない場合は、最新のデスクトップインストーラーから再インストールしてください。',
bundleOutOfSyncAction: 'インストーラーを入手',
updates: '更新',
checkNow: '今すぐ確認',
checking: '確認中…',
+1
View File
@@ -460,6 +460,7 @@ export interface Translations {
versionUnavailable: string
bundleOutOfSync: string
bundleOutOfSyncDesc: string
bundleOutOfSyncAction: string
updates: string
checkNow: string
checking: string
+2 -1
View File
@@ -633,7 +633,8 @@ export const zhHant = defineLocale({
versionUnavailable: '版本不可用',
bundleOutOfSync: '應用程式建置版本過舊',
bundleOutOfSyncDesc:
'Hermes 執行環境已更新,但桌面應用程式本身仍是舊建置——在應用程式更新之前,新的介面功能(如 Bot Mode)不會顯示。請執行下方的更新以重新建置應用程式。',
'Hermes 執行環境已更新,但桌面應用程式本身仍是舊建置——在應用程式更新之前,新的介面功能(如 Bot Mode)不會顯示。請執行下方的更新以重新建置應用程式。如果此警告仍未消除,請從最新的桌面安裝程式重新安裝。',
bundleOutOfSyncAction: '取得安裝程式',
updates: '更新',
checkNow: '立即檢查',
checking: '檢查中…',
+2 -1
View File
@@ -773,7 +773,8 @@ export const zh: Translations = {
versionUnavailable: '版本不可用',
bundleOutOfSync: '应用构建版本过旧',
bundleOutOfSyncDesc:
'Hermes 运行时已更新,但桌面应用本身仍是旧构建——在应用更新之前,新的界面功能(如 Bot Mode)不会显示。请运行下方的更新以重新构建应用。',
'Hermes 运行时已更新,但桌面应用本身仍是旧构建——在应用更新之前,新的界面功能(如 Bot Mode)不会显示。请运行下方的更新以重新构建应用。如果此警告仍未消除,请从最新的桌面安装程序重新安装。',
bundleOutOfSyncAction: '获取安装程序',
updates: '更新',
checkNow: '立即检查',
checking: '检查中…',