From bee9ef375b958ed793b006d84fa30d8d2fe193c8 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 07:19:47 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#85898) Co-authored-by: github-actions[bot] --- .../components/assistant-ui/thread/agent-delivery.test.tsx | 6 ++---- .../src/components/assistant-ui/thread/agent-delivery.tsx | 6 +----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/desktop/src/components/assistant-ui/thread/agent-delivery.test.tsx b/apps/desktop/src/components/assistant-ui/thread/agent-delivery.test.tsx index 04c8df3bb6cb2..be7fdb3c07114 100644 --- a/apps/desktop/src/components/assistant-ui/thread/agent-delivery.test.tsx +++ b/apps/desktop/src/components/assistant-ui/thread/agent-delivery.test.tsx @@ -7,15 +7,13 @@ import { deliveryTargetFromCommand, replyTextFromResult } from './agent-delivery // (the canonical Bot Mode command shape) and the reply extraction. describe('delivery command detection', () => { it('matches the canonical delivery command', () => { - const cmd = - 'hermes -p turqoise chat --in ~ -c "Bot Chat" -Q -q "Message from 🤖 Hermes (@hermes): hi there"' + const cmd = 'hermes -p turqoise chat --in ~ -c "Bot Chat" -Q -q "Message from 🤖 Hermes (@hermes): hi there"' expect(deliveryTargetFromCommand(cmd)).toBe('turqoise') }) it('matches with a cd prefix and timeout wrapper', () => { - const cmd = - 'cd ~ && timeout 240 hermes -p mr-tester chat --in "~" -Q -q "Message from 🤖 Hermes: hello"' + const cmd = 'cd ~ && timeout 240 hermes -p mr-tester chat --in "~" -Q -q "Message from 🤖 Hermes: hello"' expect(deliveryTargetFromCommand(cmd)).toBe('mr-tester') }) diff --git a/apps/desktop/src/components/assistant-ui/thread/agent-delivery.tsx b/apps/desktop/src/components/assistant-ui/thread/agent-delivery.tsx index 802f6349ff2dc..bbba05482cff8 100644 --- a/apps/desktop/src/components/assistant-ui/thread/agent-delivery.tsx +++ b/apps/desktop/src/components/assistant-ui/thread/agent-delivery.tsx @@ -1,11 +1,7 @@ import { type ToolCallMessagePartProps } from '@assistant-ui/react' import { type FC, useEffect, useState } from 'react' -import { - AGENT_MESSAGE_RE, - agentAvatarCache, - resolveAgentAvatar -} from '@/components/assistant-ui/thread/user-message' +import { AGENT_MESSAGE_RE, agentAvatarCache, resolveAgentAvatar } from '@/components/assistant-ui/thread/user-message' // Sender-side inter-agent delivery: `hermes -p chat … -q "Message // from 🤖 …"` run through the terminal tool IS the messaging