fix: clean up embedded lint
This commit is contained in:
@@ -25,7 +25,6 @@ import {
|
||||
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 { logVerbose } from "../globals.js";
|
||||
import { getMachineDisplayName } from "../infra/machine-name.js";
|
||||
import { splitMediaFromOutput } from "../media/parse.js";
|
||||
import {
|
||||
@@ -380,9 +379,9 @@ export async function runEmbeddedPiAgent(params: {
|
||||
|
||||
const thinkingLevel = mapThinkingLevel(params.thinkLevel);
|
||||
|
||||
defaultRuntime.log?.(
|
||||
`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${provider} model=${modelId} surface=${params.surface ?? "unknown"}`,
|
||||
);
|
||||
defaultRuntime.log?.(
|
||||
`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${provider} model=${modelId} surface=${params.surface ?? "unknown"}`,
|
||||
);
|
||||
|
||||
await fs.mkdir(resolvedWorkspace, { recursive: true });
|
||||
await ensureSessionHeader({
|
||||
|
||||
@@ -6,9 +6,9 @@ import {
|
||||
createToolDebouncer,
|
||||
formatToolAggregate,
|
||||
} from "../auto-reply/tool-meta.js";
|
||||
import { defaultRuntime } from "../runtime.js";
|
||||
import { emitAgentEvent } from "../infra/agent-events.js";
|
||||
import { splitMediaFromOutput } from "../media/parse.js";
|
||||
import { defaultRuntime } from "../runtime.js";
|
||||
import {
|
||||
extractAssistantText,
|
||||
inferToolMetaFromArgs,
|
||||
@@ -463,7 +463,9 @@ export function subscribeEmbeddedPiSession(params: {
|
||||
if (evt.type === "auto_compaction_start") {
|
||||
compactionInFlight = true;
|
||||
ensureCompactionPromise();
|
||||
defaultRuntime.log?.(`embedded run compaction start: runId=${params.runId}`);
|
||||
defaultRuntime.log?.(
|
||||
`embedded run compaction start: runId=${params.runId}`,
|
||||
);
|
||||
}
|
||||
|
||||
if (evt.type === "auto_compaction_end") {
|
||||
@@ -472,7 +474,9 @@ export function subscribeEmbeddedPiSession(params: {
|
||||
if (willRetry) {
|
||||
noteCompactionRetry();
|
||||
resetForCompactionRetry();
|
||||
defaultRuntime.log?.(`embedded run compaction retry: runId=${params.runId}`);
|
||||
defaultRuntime.log?.(
|
||||
`embedded run compaction retry: runId=${params.runId}`,
|
||||
);
|
||||
} else {
|
||||
maybeResolveCompactionWait();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user