Skip to content

Commit 416b026

Browse files
committed
fix: remove duplicate asBoolean import and hostOauthToken declaration
Merge artifacts: asBoolean was imported twice, and hostOauthToken was declared twice in the same function scope in acp.ts.
1 parent a1f18c7 commit 416b026

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import type {
3232
AcpxRemoteManagedHomeResult,
3333
} from "@paperclipai/adapter-utils/acpx-engine/execute";
3434
import {
35-
asBoolean,
3635
asBoolean,
3736
asNumber,
3837
asString,
@@ -927,7 +926,6 @@ export async function testClaudeAcpEnvironment(
927926
// instead. Bedrock is excluded — its auth is AWS-credential-based, not
928927
// something this Anthropic API-key/token probe can validate.
929928
const configOauthToken = envConfig.CLAUDE_CODE_OAUTH_TOKEN;
930-
const hostOauthToken = considerHostEnv ? process.env.CLAUDE_CODE_OAUTH_TOKEN : undefined;
931929
const hasCredentialToProbe =
932930
!hasBedrock &&
933931
(isNonEmpty(configApiKey) ||

0 commit comments

Comments
 (0)