diff --git a/src/message-agent-executor.ts b/src/message-agent-executor.ts index 097f9d1..2e387ae 100644 --- a/src/message-agent-executor.ts +++ b/src/message-agent-executor.ts @@ -81,15 +81,7 @@ export async function runAgentForGroup( onOutput?: (output: AgentOutput) => Promise; }, ): Promise<'success' | 'error'> { - const { - group, - prompt, - chatJid, - runId, - startSeq, - endSeq, - onOutput, - } = args; + const { group, prompt, chatJid, runId, startSeq, endSeq, onOutput } = args; const isMain = group.isMain === true; const sessions = deps.getSessions(); @@ -388,10 +380,7 @@ export async function runAgentForGroup( if (!evaluation.shouldForwardOutput) { return; } - if ( - typeof outputText === 'string' && - outputText.length > 0 - ) { + if (typeof outputText === 'string' && outputText.length > 0) { streamedState = { ...evaluation.state, sawVisibleOutput: true, diff --git a/src/message-runtime.test.ts b/src/message-runtime.test.ts index 955344a..1bdc1e3 100644 --- a/src/message-runtime.test.ts +++ b/src/message-runtime.test.ts @@ -1580,10 +1580,7 @@ describe('createMessageRuntime', () => { }); expect(result).toBe(true); - expect(channel.sendMessage).toHaveBeenCalledWith( - chatJid, - 'visible reply', - ); + expect(channel.sendMessage).toHaveBeenCalledWith(chatJid, 'visible reply'); expect(channel.setTyping).toHaveBeenCalledWith(chatJid, true); expect(channel.setTyping).toHaveBeenCalledWith(chatJid, false); }); diff --git a/src/paired-execution-context.test.ts b/src/paired-execution-context.test.ts index 1163588..743a8e9 100644 --- a/src/paired-execution-context.test.ts +++ b/src/paired-execution-context.test.ts @@ -456,5 +456,4 @@ describe('paired execution context', () => { }), ); }); - }); diff --git a/src/paired-execution-context.ts b/src/paired-execution-context.ts index c7816f2..d552e2f 100644 --- a/src/paired-execution-context.ts +++ b/src/paired-execution-context.ts @@ -3,10 +3,7 @@ import crypto from 'crypto'; import fs from 'fs'; import path from 'path'; -import { - DATA_DIR, - PAIRED_MAX_ROUND_TRIPS, -} from './config.js'; +import { DATA_DIR, PAIRED_MAX_ROUND_TRIPS } from './config.js'; import { createPairedTask, getLatestPairedTaskForChat, diff --git a/src/paired-workspace-manager.test.ts b/src/paired-workspace-manager.test.ts index e167688..6ba0043 100644 --- a/src/paired-workspace-manager.test.ts +++ b/src/paired-workspace-manager.test.ts @@ -124,9 +124,9 @@ describe('paired workspace manager', () => { expect( db.getPairedWorkspace('paired-task-1', 'reviewer')?.snapshot_refreshed_at, ).toBeTruthy(); - expect(db.getPairedWorkspace('paired-task-1', 'reviewer')?.snapshot_ref).toBe( - null, - ); + expect( + db.getPairedWorkspace('paired-task-1', 'reviewer')?.snapshot_ref, + ).toBe(null); }); it('uses the shared DB owner workspace across service-local data dirs', async () => {