Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#107255)

hermes-seaeye[bot]16a408534c4c
diff --git a/apps/desktop/src/app/messaging/telegram-qr-setup.tsx b/apps/desktop/src/app/messaging/telegram-qr-setup.tsx
index f0163bd6209..936b16ed56c 100644
--- a/apps/desktop/src/app/messaging/telegram-qr-setup.tsx
+++ b/apps/desktop/src/app/messaging/telegram-qr-setup.tsx
@@ -317,7 +317,9 @@ export function TelegramQrSetup({ onApplied, platform, scopeProfile }: TelegramQ
<X className="size-3" />
</button>
))}
- {allowedIds.length === 0 && <span className="text-xs text-muted-foreground">{q.addAtLeastOne}</span>}
+ {allowedIds.length === 0 && (
+ <span className="text-xs text-muted-foreground">{q.addAtLeastOne}</span>
+ )}
</div>
<div className="flex items-center gap-2">
<Input
@@ -358,11 +360,7 @@ export function TelegramQrSetup({ onApplied, platform, scopeProfile }: TelegramQ
{expiresIn ? q.expiresIn(expiresIn) : q.expired}
</Badge>
<div className="flex flex-wrap justify-center gap-2">
- <Button
- onClick={() => openExternalLink(setup.deep_link)}
- size="sm"
- variant="secondary"
- >
+ <Button onClick={() => openExternalLink(setup.deep_link)} size="sm" variant="secondary">
<ExternalLink />
{q.openTelegram}
</Button>
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index a36819ce919..6b33ab07811 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -1918,10 +1918,12 @@ export const en: Translations = {
subtitle: 'Both options connect a bot you control and save its credentials only to this Hermes installation.',
quickSetup: 'Quick setup',
recommended: 'Recommended',
- quickHelp: 'Scan a QR code and confirm in Telegram. Hermes creates the bot and detects your Telegram user ID automatically.',
+ quickHelp:
+ 'Scan a QR code and confirm in Telegram. Hermes creates the bot and detects your Telegram user ID automatically.',
createWithQr: 'Create with QR',
starting: 'Starting…',
- replaceWarning: 'Telegram credentials are already configured. A new QR setup or bot token will replace the current bot when you save.',
+ replaceWarning:
+ 'Telegram credentials are already configured. A new QR setup or bot token will replace the current bot when you save.',
scanHint: 'Scan with the Telegram app on your phone, or open the link on this computer.',
waiting: 'Waiting for Telegram…',
expiresIn: remaining => `Expires in ${remaining}`,
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index 7a4689d69e2..ef9d5f7ffc1 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -1607,10 +1607,12 @@ export const ja = defineLocale({
subtitle: 'どちらの方法でも、あなたが管理するボットを接続し、資格情報はこの Hermes にのみ保存されます。',
quickSetup: 'クイックセットアップ',
recommended: '推奨',
- quickHelp: 'QR コードをスキャンして Telegram で確認します。Hermes がボットを作成し、あなたの Telegram ユーザー ID を自動検出します。',
+ quickHelp:
+ 'QR コードをスキャンして Telegram で確認します。Hermes がボットを作成し、あなたの Telegram ユーザー ID を自動検出します。',
createWithQr: 'QR で作成',
starting: '開始中…',
- replaceWarning: 'Telegram の資格情報はすでに設定されています。保存すると新しい QR セットアップまたはトークンが現在のボットを置き換えます。',
+ replaceWarning:
+ 'Telegram の資格情報はすでに設定されています。保存すると新しい QR セットアップまたはトークンが現在のボットを置き換えます。',
scanHint: 'スマートフォンの Telegram アプリでスキャンするか、このコンピューターでリンクを開いてください。',
waiting: 'Telegram を待機中…',
expiresIn: remaining => `有効期限: ${remaining}`,
diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.ts
index 587f0b53fc8..e089220ff5b 100644
--- a/apps/desktop/src/i18n/ru.ts
+++ b/apps/desktop/src/i18n/ru.ts
@@ -1946,13 +1946,16 @@ export const ru = defineLocale({
restartFailedManual: 'Не удалось перезапустить шлюз — перезапустите его вручную и проверьте журналы.',
telegramQr: {
title: 'Выберите способ подключения Telegram-бота',
- subtitle: 'Оба способа подключают бота под вашим контролем и сохраняют его данные только в этой установке Hermes.',
+ subtitle:
+ 'Оба способа подключают бота под вашим контролем и сохраняют его данные только в этой установке Hermes.',
quickSetup: 'Быстрая настройка',
recommended: 'Рекомендуется',
- quickHelp: 'Отсканируйте QR-код и подтвердите в Telegram. Hermes создаст бота и определит ваш Telegram ID автоматически.',
+ quickHelp:
+ 'Отсканируйте QR-код и подтвердите в Telegram. Hermes создаст бота и определит ваш Telegram ID автоматически.',
createWithQr: 'Создать по QR',
starting: 'Запуск…',
- replaceWarning: 'Данные Telegram уже настроены. Новая QR-настройка или токен заменят текущего бота при сохранении.',
+ replaceWarning:
+ 'Данные Telegram уже настроены. Новая QR-настройка или токен заменят текущего бота при сохранении.',
scanHint: 'Отсканируйте в приложении Telegram на телефоне или откройте ссылку на этом компьютере.',
waiting: 'Ожидание Telegram…',
expiresIn: remaining => `Истекает через ${remaining}`,