chore(gate): fix lint and protocol

This commit is contained in:
Peter Steinberger
2026-01-18 06:24:31 +00:00
parent 2087f0c6a1
commit ac1b2d8c40
7 changed files with 39 additions and 21 deletions

View File

@@ -1,4 +1,8 @@
import { resolveAgentConfig, resolveAgentDir, resolveSessionAgentId } from "../../agents/agent-scope.js";
import {
resolveAgentConfig,
resolveAgentDir,
resolveSessionAgentId,
} from "../../agents/agent-scope.js";
import type { ModelAliasIndex } from "../../agents/model-selection.js";
import { resolveSandboxRuntimeStatus } from "../../agents/sandbox.js";
import type { ClawdbotConfig } from "../../config/config.js";
@@ -50,9 +54,7 @@ function resolveExecDefaults(params: {
(globalExec?.ask as ExecAsk | undefined) ??
"on-miss",
node:
(params.sessionEntry?.execNode as string | undefined) ??
agentExec?.node ??
globalExec?.node,
(params.sessionEntry?.execNode as string | undefined) ?? agentExec?.node ?? globalExec?.node,
};
}