style: apply prettier formatting to touched files

Pre-commit hook reflowed imports on files changed in the previous commit.
Unrelated format drift on other files intentionally left unstaged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gavrielc
2026-04-20 23:31:42 +03:00
parent 6c26c0413a
commit 0f6a1ba1ed
4 changed files with 16 additions and 24 deletions

View File

@@ -39,13 +39,7 @@ import path from 'path';
import { DATA_DIR } from '../config.js';
import { log } from '../log.js';
import type {
ChannelAdapter,
ChannelSetup,
DeliveryAddress,
InboundEvent,
OutboundMessage,
} from './adapter.js';
import type { ChannelAdapter, ChannelSetup, DeliveryAddress, InboundEvent, OutboundMessage } from './adapter.js';
import { registerChannelAdapter } from './channel-registry.js';
const PLATFORM_ID = 'local';
@@ -184,11 +178,7 @@ function createAdapter(): ChannelAdapter {
});
}
async function handleLine(
line: string,
config: ChannelSetup,
claimChatSlot: () => void,
): Promise<void> {
async function handleLine(line: string, config: ChannelSetup, claimChatSlot: () => void): Promise<void> {
let payload: {
text?: unknown;
to?: unknown;
@@ -260,8 +250,8 @@ function createAdapter(): ChannelAdapter {
obj.threadId === null || obj.threadId === undefined
? null
: typeof obj.threadId === 'string'
? obj.threadId
: null;
? obj.threadId
: null;
return {
channelType: obj.channelType,
platformId: obj.platformId,