Skip to content

Commit a1f18c7

Browse files
committed
fix: relocate callerControlsHost from function signature to function body
The const declaration was incorrectly spliced into buildAcpLoginProbeUnavailableCheck's parameter list during the rebase. Move it to testClaudeAcpEnvironment where it is actually used.
1 parent 3f99b55 commit a1f18c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/adapters/claude-local/src/server

packages/adapters/claude-local/src/server/acp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ function buildAcpAuthMissingChecks(input: {
539539
* success.
540540
*/
541541
function buildAcpLoginProbeUnavailableCheck(
542-
const callerControlsHost = ctx.callerControlsHost !== false;
543542
message: string,
544543
targetIsSandbox = false,
545544
): AdapterEnvironmentCheck {
@@ -785,6 +784,7 @@ export async function testClaudeAcpEnvironment(
785784
const target = ctx.executionTarget ?? null;
786785
const targetIsRemote = target?.kind === "remote";
787786
const targetIsSandbox = target?.kind === "remote" && target.transport === "sandbox";
787+
const callerControlsHost = ctx.callerControlsHost !== false;
788788

789789
checks.push({
790790
code: "claude_engine_selected",

0 commit comments

Comments
 (0)