The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#136310)
hermes-seaeye[bot]6e5a56d9479d
diff --git a/apps/desktop/src/app/settings/update-channel-row.tsx b/apps/desktop/src/app/settings/update-channel-row.tsxindex 7a6efaf9ac2..80dc4565482 100644--- a/apps/desktop/src/app/settings/update-channel-row.tsx+++ b/apps/desktop/src/app/settings/update-channel-row.tsx@@ -6,7 +6,14 @@ import { useI18n } from '@/i18n'import { triggerHaptic } from '@/lib/haptics'import { confirm } from '@/store/confirm'import { notifyError } from '@/store/notifications'-import { $updateChecking, $updateStatus, checkUpdates, setUpdateChannel, type SourceUpdateChannel, sourceUpdateChannel } from '@/store/updates'+import {+ $updateChecking,+ $updateStatus,+ checkUpdates,+ setUpdateChannel,+ type SourceUpdateChannel,+ sourceUpdateChannel+} from '@/store/updates'import { ListRow } from './primitives'diff --git a/apps/desktop/src/i18n/ar_update_channel.ts b/apps/desktop/src/i18n/ar_update_channel.tsindex 83ab6906031..5aa8b9b3d73 100644--- a/apps/desktop/src/i18n/ar_update_channel.ts+++ b/apps/desktop/src/i18n/ar_update_channel.ts@@ -4,7 +4,8 @@ export const arUpdateChannel = {stable: 'الإصدارات المستقرة',main: 'كل التزام',stableConfirmTitle: 'التبديل إلى الإصدارات المستقرة؟',- stableConfirmBody: 'سينتقل Hermes إلى أحدث إصدار منشور، وقد يكون أقدم من الكود الذي تشغّله الآن. قد لا تُقرأ البيانات التي كتبها كود أحدث بشكل صحيح، لذا انسخها احتياطيًا أولًا.',+ stableConfirmBody:+ 'سينتقل Hermes إلى أحدث إصدار منشور، وقد يكون أقدم من الكود الذي تشغّله الآن. قد لا تُقرأ البيانات التي كتبها كود أحدث بشكل صحيح، لذا انسخها احتياطيًا أولًا.',stableConfirm: 'التبديل إلى المستقر',failed: 'تعذّر تغيير قناة التحديث'}diff --git a/apps/desktop/src/i18n/de_update_channel.ts b/apps/desktop/src/i18n/de_update_channel.tsindex cd1e775400e..4c8e17b0bcb 100644--- a/apps/desktop/src/i18n/de_update_channel.ts+++ b/apps/desktop/src/i18n/de_update_channel.ts@@ -1,10 +1,12 @@export const deUpdateChannel = {title: 'Update-Kanal',- description: 'Stabil installiert nur veröffentlichte Releases. Jeder Commit folgt dem main-Branch, sobald Änderungen eintreffen.',+ description:+ 'Stabil installiert nur veröffentlichte Releases. Jeder Commit folgt dem main-Branch, sobald Änderungen eintreffen.',stable: 'Stabile Releases',main: 'Jeder Commit',stableConfirmTitle: 'Zu stabilen Releases wechseln?',- stableConfirmBody: 'Hermes wechselt zum neuesten veröffentlichten Release, das älter sein kann als der Code, den du gerade nutzt. Von neuerem Code geschriebene Daten werden eventuell nicht korrekt gelesen – sichere sie vorher.',+ stableConfirmBody:+ 'Hermes wechselt zum neuesten veröffentlichten Release, das älter sein kann als der Code, den du gerade nutzt. Von neuerem Code geschriebene Daten werden eventuell nicht korrekt gelesen – sichere sie vorher.',stableConfirm: 'Zu Stabil wechseln',failed: 'Update-Kanal konnte nicht geändert werden'}diff --git a/apps/desktop/src/i18n/en_update_channel.ts b/apps/desktop/src/i18n/en_update_channel.tsindex 0e8a2790eae..7743cef7f1e 100644--- a/apps/desktop/src/i18n/en_update_channel.ts+++ b/apps/desktop/src/i18n/en_update_channel.ts@@ -6,7 +6,8 @@ export const enUpdateChannel: UpdateChannelCopy = {stable: 'Stable releases',main: 'Every commit',stableConfirmTitle: 'Switch to stable releases?',- stableConfirmBody: 'Hermes will move to the latest published release, which can be older than the code you run now. Data written by newer code may not read correctly, so back it up first.',+ stableConfirmBody:+ 'Hermes will move to the latest published release, which can be older than the code you run now. Data written by newer code may not read correctly, so back it up first.',stableConfirm: 'Switch to stable',failed: 'Could not change the update channel'}diff --git a/apps/desktop/src/i18n/es_update_channel.ts b/apps/desktop/src/i18n/es_update_channel.tsindex 8159347bc98..c010ae43cc2 100644--- a/apps/desktop/src/i18n/es_update_channel.ts+++ b/apps/desktop/src/i18n/es_update_channel.ts@@ -4,7 +4,8 @@ export const esUpdateChannel = {stable: 'Versiones estables',main: 'Cada commit',stableConfirmTitle: '¿Cambiar a versiones estables?',- stableConfirmBody: 'Hermes pasará a la última versión publicada, que puede ser más antigua que el código que usas ahora. Los datos escritos por código más nuevo podrían no leerse bien, así que haz una copia antes.',+ stableConfirmBody:+ 'Hermes pasará a la última versión publicada, que puede ser más antigua que el código que usas ahora. Los datos escritos por código más nuevo podrían no leerse bien, así que haz una copia antes.',stableConfirm: 'Cambiar a estable',failed: 'No se pudo cambiar el canal de actualizaciones'}diff --git a/apps/desktop/src/i18n/fr_update_channel.ts b/apps/desktop/src/i18n/fr_update_channel.tsindex c5f65748fa6..af003c82467 100644--- a/apps/desktop/src/i18n/fr_update_channel.ts+++ b/apps/desktop/src/i18n/fr_update_channel.ts@@ -1,10 +1,12 @@export const frUpdateChannel = {title: 'Canal de mise à jour',- description: 'Stable installe uniquement les versions publiées. Chaque commit suit la branche main au fil des changements.',+ description:+ 'Stable installe uniquement les versions publiées. Chaque commit suit la branche main au fil des changements.',stable: 'Versions stables',main: 'Chaque commit',stableConfirmTitle: 'Passer aux versions stables ?',- stableConfirmBody: 'Hermes passera à la dernière version publiée, qui peut être plus ancienne que le code que vous utilisez. Les données écrites par un code plus récent risquent de mal se lire : sauvegardez-les d’abord.',+ stableConfirmBody:+ 'Hermes passera à la dernière version publiée, qui peut être plus ancienne que le code que vous utilisez. Les données écrites par un code plus récent risquent de mal se lire : sauvegardez-les d’abord.',stableConfirm: 'Passer en stable',failed: 'Impossible de changer le canal de mise à jour'}diff --git a/apps/desktop/src/i18n/ja_update_channel.ts b/apps/desktop/src/i18n/ja_update_channel.tsindex 51269888ffb..71ebc82a704 100644--- a/apps/desktop/src/i18n/ja_update_channel.ts+++ b/apps/desktop/src/i18n/ja_update_channel.ts@@ -1,10 +1,12 @@export const jaUpdateChannel = {title: 'アップデートチャンネル',- description: '安定版は公開済みのリリースのみをインストールします。すべてのコミットは main ブランチの変更に追従します。',+ description:+ '安定版は公開済みのリリースのみをインストールします。すべてのコミットは main ブランチの変更に追従します。',stable: '安定版リリース',main: 'すべてのコミット',stableConfirmTitle: '安定版リリースに切り替えますか?',- stableConfirmBody: 'Hermes は最新の公開リリースに移動します。現在のコードより古い場合があります。新しいコードが書き込んだデータは正しく読めない可能性があるため、先にバックアップしてください。',+ stableConfirmBody:+ 'Hermes は最新の公開リリースに移動します。現在のコードより古い場合があります。新しいコードが書き込んだデータは正しく読めない可能性があるため、先にバックアップしてください。',stableConfirm: '安定版に切り替え',failed: 'アップデートチャンネルを変更できませんでした'}diff --git a/apps/desktop/src/i18n/ru_update_channel.ts b/apps/desktop/src/i18n/ru_update_channel.tsindex 1801ee070b2..f24b2b2ef55 100644--- a/apps/desktop/src/i18n/ru_update_channel.ts+++ b/apps/desktop/src/i18n/ru_update_channel.ts@@ -1,10 +1,12 @@export const ruUpdateChannel = {title: 'Канал обновлений',- description: 'Стабильный устанавливает только опубликованные релизы. «Каждый коммит» следует за веткой main по мере изменений.',+ description:+ 'Стабильный устанавливает только опубликованные релизы. «Каждый коммит» следует за веткой main по мере изменений.',stable: 'Стабильные релизы',main: 'Каждый коммит',stableConfirmTitle: 'Перейти на стабильные релизы?',- stableConfirmBody: 'Hermes перейдёт на последний опубликованный релиз, который может быть старше текущего кода. Данные, записанные более новым кодом, могут читаться неправильно, поэтому сначала сделайте резервную копию.',+ stableConfirmBody:+ 'Hermes перейдёт на последний опубликованный релиз, который может быть старше текущего кода. Данные, записанные более новым кодом, могут читаться неправильно, поэтому сначала сделайте резервную копию.',stableConfirm: 'Перейти на стабильный',failed: 'Не удалось изменить канал обновлений'}diff --git a/apps/desktop/src/i18n/zh-hant_update_channel.ts b/apps/desktop/src/i18n/zh-hant_update_channel.tsindex a78e48eeecc..83e6b8ddf53 100644--- a/apps/desktop/src/i18n/zh-hant_update_channel.ts+++ b/apps/desktop/src/i18n/zh-hant_update_channel.ts@@ -4,7 +4,8 @@ export const zhHantUpdateChannel = {stable: '穩定版發布',main: '每個提交',stableConfirmTitle: '切換到穩定版發布?',- stableConfirmBody: 'Hermes 將切換到最新的已發布版本,它可能比你目前執行的程式碼更舊。較新程式碼寫入的資料可能無法正確讀取,請先備份。',+ stableConfirmBody:+ 'Hermes 將切換到最新的已發布版本,它可能比你目前執行的程式碼更舊。較新程式碼寫入的資料可能無法正確讀取,請先備份。',stableConfirm: '切換到穩定版',failed: '無法變更更新頻道'}diff --git a/apps/desktop/src/i18n/zh_update_channel.ts b/apps/desktop/src/i18n/zh_update_channel.tsindex 3f69ff234fd..8befe56518b 100644--- a/apps/desktop/src/i18n/zh_update_channel.ts+++ b/apps/desktop/src/i18n/zh_update_channel.ts@@ -4,7 +4,8 @@ export const zhUpdateChannel = {stable: '稳定版发布',main: '每个提交',stableConfirmTitle: '切换到稳定版发布?',- stableConfirmBody: 'Hermes 将切换到最新的已发布版本,它可能比你当前运行的代码更旧。较新代码写入的数据可能无法正确读取,请先备份。',+ stableConfirmBody:+ 'Hermes 将切换到最新的已发布版本,它可能比你当前运行的代码更旧。较新代码写入的数据可能无法正确读取,请先备份。',stableConfirm: '切换到稳定版',failed: '无法更改更新渠道'}diff --git a/apps/desktop/src/store/updates-channel.test.ts b/apps/desktop/src/store/updates-channel.test.tsindex 9beac7377e5..df9541f86d7 100644--- a/apps/desktop/src/store/updates-channel.test.ts+++ b/apps/desktop/src/store/updates-channel.test.ts@@ -15,6 +15,7 @@ describe('sourceUpdateChannel', () => {it('offers the selector only where the choice is stable or main and can be saved', () => {expect(sourceUpdateChannel(status({ channel: 'stable' }))).toBe('stable')expect(sourceUpdateChannel(status({ mechanism: 'windows-handoff', branch: 'main' }))).toBe('main')+// Packages bake their channel; a preview channel is not the user's to flip here.for (const mechanism of ['electron-updater', 'app-installer', 'microsoft-store', 'external'] as const) {expect(sourceUpdateChannel(status({ mechanism, channel: 'stable' }))).toBeNull()