From c69eda0d56cf4974c94a29eb192da00a8cbd86fc Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 30 Sep 2026 11:05:17 -0500 Subject: [PATCH] chore(desktop): regenerate the i18n key manifest; type the canonical-chat mocks without import() --- .../plugins/hermes-bots/bot-row-opens-canonical-chat.test.ts | 3 ++- .../src/plugins/hermes-bots/cold-bot-switch-pending.test.ts | 3 ++- locales/_keys.desktop.json | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/plugins/hermes-bots/bot-row-opens-canonical-chat.test.ts b/apps/desktop/src/plugins/hermes-bots/bot-row-opens-canonical-chat.test.ts index e95383728a..168c4468c6 100644 --- a/apps/desktop/src/plugins/hermes-bots/bot-row-opens-canonical-chat.test.ts +++ b/apps/desktop/src/plugins/hermes-bots/bot-row-opens-canonical-chat.test.ts @@ -11,6 +11,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' +import type * as CanonicalChat from './canonical-chat' import type { RosterRow } from './types' const { openBotCanonicalChat, prepareBotSource } = vi.hoisted(() => ({ @@ -21,7 +22,7 @@ const { openBotCanonicalChat, prepareBotSource } = vi.hoisted(() => ({ vi.mock('./canonical-chat', async () => ({ CANONICAL_CHAT_TITLE: 'Bot Chat', ensureBotMetadata: vi.fn(async () => ({})), - isStaleBotChatTile: (await vi.importActual('./canonical-chat')).isStaleBotChatTile, + isStaleBotChatTile: (await vi.importActual('./canonical-chat')).isStaleBotChatTile, notifyBotOpenFailure: vi.fn(), openBotCanonicalChat, prepareBotSource, diff --git a/apps/desktop/src/plugins/hermes-bots/cold-bot-switch-pending.test.ts b/apps/desktop/src/plugins/hermes-bots/cold-bot-switch-pending.test.ts index 6819f2bce6..c4d8f79364 100644 --- a/apps/desktop/src/plugins/hermes-bots/cold-bot-switch-pending.test.ts +++ b/apps/desktop/src/plugins/hermes-bots/cold-bot-switch-pending.test.ts @@ -9,6 +9,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' +import type * as CanonicalChat from './canonical-chat' import type { RosterRow } from './types' const { openBotCanonicalChat, prepareBotSource } = vi.hoisted(() => ({ @@ -19,7 +20,7 @@ const { openBotCanonicalChat, prepareBotSource } = vi.hoisted(() => ({ vi.mock('./canonical-chat', async () => ({ CANONICAL_CHAT_TITLE: 'Bot Chat', ensureBotMetadata: vi.fn(async () => ({})), - isStaleBotChatTile: (await vi.importActual('./canonical-chat')).isStaleBotChatTile, + isStaleBotChatTile: (await vi.importActual('./canonical-chat')).isStaleBotChatTile, notifyBotOpenFailure: vi.fn(), openBotCanonicalChat, prepareBotSource, diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.json index 0d92186e54..eb4f04a55e 100644 --- a/locales/_keys.desktop.json +++ b/locales/_keys.desktop.json @@ -2411,6 +2411,9 @@ "rightSidebar.terminalCloseOthers", "rightSidebar.terminalHide", "rightSidebar.terminalNew", + "rightSidebar.terminalOpenInteractive", + "rightSidebar.terminalReadOnly", + "rightSidebar.terminalReadOnlyHelp", "rightSidebar.terminalsAria", "rightSidebar.treeErrorBody", "rightSidebar.treeErrorTitle",