From 5a23e3c5221e4a44a38e7bdb79a1d306f0704551 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 02:33:41 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#74544) Co-authored-by: github-actions[bot] --- apps/desktop/src/app/messaging/index.test.tsx | 4 +--- .../src/components/assistant-ui/tool/fallback-model/index.ts | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/app/messaging/index.test.tsx b/apps/desktop/src/app/messaging/index.test.tsx index 836c5fc938485..025f5a58e811c 100644 --- a/apps/desktop/src/app/messaging/index.test.tsx +++ b/apps/desktop/src/app/messaging/index.test.tsx @@ -174,9 +174,7 @@ describe('MessagingView pairing', () => { // connect/disconnect health via gateway_state.json, which a new pairing // request never moves. Riding it would leave someone invisible in the // pending list until an unrelated reconnect happened to fire. - const { $changeEventsAvailable, $pairingChangeTick, $platformsChangeTick } = await import( - '@/store/live-sync' - ) + const { $changeEventsAvailable, $pairingChangeTick, $platformsChangeTick } = await import('@/store/live-sync') getMessagingPlatforms.mockResolvedValue({ platforms: [platform()] }) getPairing.mockResolvedValue({ approved: [], pending: [] }) diff --git a/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts b/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts index 52e6a44a8d1fc..886e193702a94 100644 --- a/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts +++ b/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts @@ -1416,6 +1416,7 @@ export function buildToolView(part: ToolPart, inlineDiff: string): ToolView { const error = status === 'success' ? '' : toolErrorText(part, resultRecord) // Over-budget memory refusals stay amber — don't claim "Saved". const memoryMissed = part.toolName === 'memory' && part.result !== undefined && status !== 'success' + const baseTitle = part.result === undefined ? meta.pending