Skip to content

The agent that grows with you

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

Teknium39c0bc80b70e
diff --git a/apps/desktop/src/app/settings/about-settings.tsx b/apps/desktop/src/app/settings/about-settings.tsx
index 77740a02fc9..fa358a08dcf 100644
--- a/apps/desktop/src/app/settings/about-settings.tsx
+++ b/apps/desktop/src/app/settings/about-settings.tsx
@@ -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>
diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.ts
index c7476202e9b..edd29adea96 100644
--- a/apps/desktop/src/i18n/ar.ts
+++ b/apps/desktop/src/i18n/ar.ts
@@ -606,7 +606,8 @@ export const ar = defineLocale({
versionUnavailable: 'الإصدار غير متاح',
bundleOutOfSync: 'إصدار التطبيق قديم',
bundleOutOfSyncDesc:
- 'تم تحديث وقت تشغيل Hermes، لكن تطبيق سطح المكتب نفسه لا يزال إصدارًا قديمًا — لن تظهر ميزات الواجهة الجديدة (مثل Bot Mode) حتى يتم تحديث التطبيق. شغّل التحديث أدناه لإعادة بناء التطبيق.',
+ 'تم تحديث وقت تشغيل Hermes، لكن تطبيق سطح المكتب نفسه لا يزال إصدارًا قديمًا — لن تظهر ميزات الواجهة الجديدة (مثل Bot Mode) حتى يتم تحديث التطبيق. شغّل التحديث أدناه لإعادة بناء التطبيق. إذا لم يختفِ هذا التحذير، فأعد التثبيت من أحدث مثبّت لسطح المكتب.',
+ bundleOutOfSyncAction: 'الحصول على المثبّت',
updates: 'التحديثات',
checkNow: 'التحقق الآن',
checking: 'جار التحقق...',
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index efd03c27b24..6c6b93236b0 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -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…',
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index 1aa63b2486f..8e91598dad1 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -646,7 +646,8 @@ export const ja = defineLocale({
versionUnavailable: 'バージョンを取得できません',
bundleOutOfSync: 'アプリのビルドが古くなっています',
bundleOutOfSyncDesc:
- 'Hermes ランタイムは更新されましたが、デスクトップアプリ自体は古いビルドのままです。アプリを更新するまで、新しいインターフェース機能(Bot Mode など)は表示されません。下の更新を実行してアプリを再ビルドしてください。',
+ 'Hermes ランタイムは更新されましたが、デスクトップアプリ自体は古いビルドのままです。アプリを更新するまで、新しいインターフェース機能(Bot Mode など)は表示されません。下の更新を実行してアプリを再ビルドしてください。それでもこの警告が消えない場合は、最新のデスクトップインストーラーから再インストールしてください。',
+ bundleOutOfSyncAction: 'インストーラーを入手',
updates: '更新',
checkNow: '今すぐ確認',
checking: '確認中…',
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index b4f20a7aad3..2cbe444dee3 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -460,6 +460,7 @@ export interface Translations {
versionUnavailable: string
bundleOutOfSync: string
bundleOutOfSyncDesc: string
+ bundleOutOfSyncAction: string
updates: string
checkNow: string
checking: string
diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts
index cb3abde3863..872828d3a19 100644
--- a/apps/desktop/src/i18n/zh-hant.ts
+++ b/apps/desktop/src/i18n/zh-hant.ts
@@ -633,7 +633,8 @@ export const zhHant = defineLocale({
versionUnavailable: '版本不可用',
bundleOutOfSync: '應用程式建置版本過舊',
bundleOutOfSyncDesc:
- 'Hermes 執行環境已更新,但桌面應用程式本身仍是舊建置——在應用程式更新之前,新的介面功能(如 Bot Mode)不會顯示。請執行下方的更新以重新建置應用程式。',
+ 'Hermes 執行環境已更新,但桌面應用程式本身仍是舊建置——在應用程式更新之前,新的介面功能(如 Bot Mode)不會顯示。請執行下方的更新以重新建置應用程式。如果此警告仍未消除,請從最新的桌面安裝程式重新安裝。',
+ bundleOutOfSyncAction: '取得安裝程式',
updates: '更新',
checkNow: '立即檢查',
checking: '檢查中…',
diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts
index 6741be6b9db..389ab997994 100644
--- a/apps/desktop/src/i18n/zh.ts
+++ b/apps/desktop/src/i18n/zh.ts
@@ -773,7 +773,8 @@ export const zh: Translations = {
versionUnavailable: '版本不可用',
bundleOutOfSync: '应用构建版本过旧',
bundleOutOfSyncDesc:
- 'Hermes 运行时已更新,但桌面应用本身仍是旧构建——在应用更新之前,新的界面功能(如 Bot Mode)不会显示。请运行下方的更新以重新构建应用。',
+ 'Hermes 运行时已更新,但桌面应用本身仍是旧构建——在应用更新之前,新的界面功能(如 Bot Mode)不会显示。请运行下方的更新以重新构建应用。如果此警告仍未消除,请从最新的桌面安装程序重新安装。',
+ bundleOutOfSyncAction: '获取安装程序',
updates: '更新',
checkNow: '立即检查',
checking: '检查中…',