style: satisfy lint

This commit is contained in:
Peter Steinberger
2026-01-06 03:11:42 +00:00
parent d5f088978a
commit 9d656f4269
5 changed files with 7 additions and 5 deletions

View File

@@ -109,7 +109,9 @@ export function createFollowupRunner(params: {
fallbackModel = fallbackResult.model; fallbackModel = fallbackResult.model;
} catch (err) { } catch (err) {
const message = err instanceof Error ? err.message : String(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; return;
} }

View File

@@ -23,8 +23,8 @@ import {
matchesMentionPatterns, matchesMentionPatterns,
} from "../auto-reply/reply/mentions.js"; } from "../auto-reply/reply/mentions.js";
import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.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 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 { ReplyPayload } from "../auto-reply/types.js";
import type { import type {
DiscordSlashCommandConfig, DiscordSlashCommandConfig,

View File

@@ -10,13 +10,13 @@ import {
resolveModelRefFromString, resolveModelRefFromString,
resolveThinkingDefault, resolveThinkingDefault,
} from "../agents/model-selection.js"; } from "../agents/model-selection.js";
import { resolveAgentTimeoutMs } from "../agents/timeout.js";
import { import {
abortEmbeddedPiRun, abortEmbeddedPiRun,
isEmbeddedPiRunActive, isEmbeddedPiRunActive,
resolveEmbeddedSessionLane, resolveEmbeddedSessionLane,
waitForEmbeddedPiRunEnd, waitForEmbeddedPiRunEnd,
} from "../agents/pi-embedded.js"; } from "../agents/pi-embedded.js";
import { resolveAgentTimeoutMs } from "../agents/timeout.js";
import { normalizeGroupActivation } from "../auto-reply/group-activation.js"; import { normalizeGroupActivation } from "../auto-reply/group-activation.js";
import { import {
normalizeElevatedLevel, normalizeElevatedLevel,

View File

@@ -12,8 +12,8 @@ import {
matchesMentionPatterns, matchesMentionPatterns,
} from "../auto-reply/reply/mentions.js"; } from "../auto-reply/reply/mentions.js";
import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.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 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 { ReplyPayload } from "../auto-reply/types.js";
import type { ReplyToMode } from "../config/config.js"; import type { ReplyToMode } from "../config/config.js";
import { loadConfig } from "../config/config.js"; import { loadConfig } from "../config/config.js";

View File

@@ -14,8 +14,8 @@ import {
normalizeMentionText, normalizeMentionText,
} from "../auto-reply/reply/mentions.js"; } from "../auto-reply/reply/mentions.js";
import { createReplyDispatcher } from "../auto-reply/reply/reply-dispatcher.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 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 { HEARTBEAT_TOKEN, SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js";
import type { ReplyPayload } from "../auto-reply/types.js"; import type { ReplyPayload } from "../auto-reply/types.js";
import { waitForever } from "../cli/wait.js"; import { waitForever } from "../cli/wait.js";