style(logging): organize embedded log imports
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user