From 9d656f42691a1293c1ad198aaac81b8b6e24eb47 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 6 Jan 2026 03:11:42 +0000 Subject: [PATCH] style: satisfy lint --- src/auto-reply/reply/followup-runner.ts | 4 +++- src/discord/monitor.ts | 2 +- src/gateway/server-bridge.ts | 2 +- src/telegram/bot.ts | 2 +- src/web/auto-reply.ts | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/auto-reply/reply/followup-runner.ts b/src/auto-reply/reply/followup-runner.ts index 00d223be3..d5b39387d 100644 --- a/src/auto-reply/reply/followup-runner.ts +++ b/src/auto-reply/reply/followup-runner.ts @@ -109,7 +109,9 @@ export function createFollowupRunner(params: { fallbackModel = fallbackResult.model; } catch (err) { const message = err instanceof Error ? err.message : String(err); - defaultRuntime.error?.(`Followup agent failed before reply: ${message}`); + defaultRuntime.error?.( + `Followup agent failed before reply: ${message}`, + ); return; } diff --git a/src/discord/monitor.ts b/src/discord/monitor.ts index c4dfd5546..35c21310c 100644 --- a/src/discord/monitor.ts +++ b/src/discord/monitor.ts @@ -23,8 +23,8 @@ import { matchesMentionPatterns, } from "../auto-reply/reply/mentions.js"; import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.js"; -import { getReplyFromConfig } from "../auto-reply/reply.js"; import type { TypingController } from "../auto-reply/reply/typing.js"; +import { getReplyFromConfig } from "../auto-reply/reply.js"; import type { ReplyPayload } from "../auto-reply/types.js"; import type { DiscordSlashCommandConfig, diff --git a/src/gateway/server-bridge.ts b/src/gateway/server-bridge.ts index d50e6365d..610c74946 100644 --- a/src/gateway/server-bridge.ts +++ b/src/gateway/server-bridge.ts @@ -10,13 +10,13 @@ import { resolveModelRefFromString, resolveThinkingDefault, } from "../agents/model-selection.js"; -import { resolveAgentTimeoutMs } from "../agents/timeout.js"; import { abortEmbeddedPiRun, isEmbeddedPiRunActive, resolveEmbeddedSessionLane, waitForEmbeddedPiRunEnd, } from "../agents/pi-embedded.js"; +import { resolveAgentTimeoutMs } from "../agents/timeout.js"; import { normalizeGroupActivation } from "../auto-reply/group-activation.js"; import { normalizeElevatedLevel, diff --git a/src/telegram/bot.ts b/src/telegram/bot.ts index 671f89ffb..13baecae4 100644 --- a/src/telegram/bot.ts +++ b/src/telegram/bot.ts @@ -12,8 +12,8 @@ import { matchesMentionPatterns, } from "../auto-reply/reply/mentions.js"; import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.js"; -import { getReplyFromConfig } from "../auto-reply/reply.js"; import type { TypingController } from "../auto-reply/reply/typing.js"; +import { getReplyFromConfig } from "../auto-reply/reply.js"; import type { ReplyPayload } from "../auto-reply/types.js"; import type { ReplyToMode } from "../config/config.js"; import { loadConfig } from "../config/config.js"; diff --git a/src/web/auto-reply.ts b/src/web/auto-reply.ts index a5763e399..d810a5879 100644 --- a/src/web/auto-reply.ts +++ b/src/web/auto-reply.ts @@ -14,8 +14,8 @@ import { normalizeMentionText, } from "../auto-reply/reply/mentions.js"; import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.js"; -import { getReplyFromConfig } from "../auto-reply/reply.js"; import type { TypingController } from "../auto-reply/reply/typing.js"; +import { getReplyFromConfig } from "../auto-reply/reply.js"; import { HEARTBEAT_TOKEN, SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js"; import type { ReplyPayload } from "../auto-reply/types.js"; import { waitForever } from "../cli/wait.js";