style(logging): organize embedded log imports

This commit is contained in:
Peter Steinberger
2026-01-03 21:09:44 +00:00
parent 9d2d0c64c2
commit 107dc1aa42
2 changed files with 3 additions and 7 deletions

View File

@@ -26,12 +26,12 @@ import type { ThinkLevel, VerboseLevel } from "../auto-reply/thinking.js";
import { formatToolAggregate } from "../auto-reply/tool-meta.js";
import type { ClawdisConfig } from "../config/config.js";
import { getMachineDisplayName } from "../infra/machine-name.js";
import { createSubsystemLogger } from "../logging.js";
import { splitMediaFromOutput } from "../media/parse.js";
import {
type enqueueCommand,
enqueueCommandInLane,
} from "../process/command-queue.js";
import { createSubsystemLogger } from "../logging.js";
import { CONFIG_DIR, resolveUserPath } from "../utils.js";
import { resolveClawdisAgentDir } from "./agent-paths.js";
import { DEFAULT_MODEL, DEFAULT_PROVIDER } from "./defaults.js";

View File

@@ -603,9 +603,7 @@ export function subscribeEmbeddedPiSession(params: {
if (evt.type === "auto_compaction_start") {
compactionInFlight = true;
ensureCompactionPromise();
log.debug(
`embedded run compaction start: runId=${params.runId}`,
);
log.debug(`embedded run compaction start: runId=${params.runId}`);
}
if (evt.type === "auto_compaction_end") {
@@ -614,9 +612,7 @@ export function subscribeEmbeddedPiSession(params: {
if (willRetry) {
noteCompactionRetry();
resetForCompactionRetry();
log.debug(
`embedded run compaction retry: runId=${params.runId}`,
);
log.debug(`embedded run compaction retry: runId=${params.runId}`);
} else {
maybeResolveCompactionWait();
}