From 9ec2831c20eafdfd47a59a04e45e8f4176d7dc9c Mon Sep 17 00:00:00 2001 From: Shakker Date: Sat, 9 May 2026 23:21:37 +0100 Subject: [PATCH] test: avoid channel catalog import in logger setup --- src/logging/subsystem.ts | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/src/logging/subsystem.ts b/src/logging/subsystem.ts index ddf855b217c..a2bc4798461 100644 --- a/src/logging/subsystem.ts +++ b/src/logging/subsystem.ts @@ -1,6 +1,5 @@ import { Chalk } from "chalk"; import type { Logger as TsLogger } from "tslog"; -import { normalizeChatChannelId } from "../channels/ids.js"; import { isVerbose } from "../global-state.js"; import { defaultRuntime, type OutputRuntimeEnv, type RuntimeEnv } from "../runtime.js"; import { normalizeLowercaseStringOrEmpty } from "../shared/string-coerce.js"; @@ -114,13 +113,41 @@ const SUBSYSTEM_COLOR_OVERRIDES: Record