diff --git a/src/utils/autonomyStatus.ts b/src/utils/autonomyStatus.ts index 950aabbf7..71e85283e 100644 --- a/src/utils/autonomyStatus.ts +++ b/src/utils/autonomyStatus.ts @@ -1,5 +1,4 @@ import { readdir } from 'fs/promises' -import { join } from 'path' import { queryDaemonStatus } from '../daemon/state.js' import { listLiveSessions } from '../cli/bg.js' import { diff --git a/src/utils/betas.ts b/src/utils/betas.ts index 892fe4633..f252bd47d 100644 --- a/src/utils/betas.ts +++ b/src/utils/betas.ts @@ -23,7 +23,7 @@ import { import { OAUTH_BETA_HEADER } from '../constants/oauth.js' import { isClaudeAISubscriber } from './auth.js' import { has1mContext } from './context.js' -import { isEnvDefinedFalsy, isEnvTruthy } from './envUtils.js' +import { isEnvTruthy } from './envUtils.js' import { getCanonicalName } from './model/model.js' import { get3PModelCapabilityOverride } from './model/modelSupportOverrides.js' import { diff --git a/src/utils/claudemd.ts b/src/utils/claudemd.ts index 89710315f..b8c0cc9a3 100644 --- a/src/utils/claudemd.ts +++ b/src/utils/claudemd.ts @@ -37,7 +37,6 @@ import { join, parse, relative, - sep, } from 'path' import picomatch from 'picomatch' import { logEvent } from 'src/services/analytics/index.js' diff --git a/src/utils/computerUse/executorCrossPlatform.ts b/src/utils/computerUse/executorCrossPlatform.ts index e911d1afd..c0818b3b4 100644 --- a/src/utils/computerUse/executorCrossPlatform.ts +++ b/src/utils/computerUse/executorCrossPlatform.ts @@ -39,7 +39,6 @@ import { sleep } from '../sleep.js' import { CLI_CU_CAPABILITIES, CLI_HOST_BUNDLE_ID } from './common.js' import { validateHwnd } from './win32/shared.js' import { loadPlatform } from './platforms/index.js' -import type { Platform } from './platforms/index.js' // --------------------------------------------------------------------------- // Helpers for HWND-bound mode @@ -197,7 +196,7 @@ function augmentScreenshot( // Executor // --------------------------------------------------------------------------- -export function createCrossPlatformExecutor(opts: { +export function createCrossPlatformExecutor(_opts: { getMouseAnimationEnabled: () => boolean getHideBeforeActionEnabled: () => boolean }): ComputerExecutor { @@ -499,7 +498,12 @@ $i = New-Object MUp+INPUT; $i.type=0; $i.mi.dwFlags=0x0004; [MUp]::SendInput(1, await (this as any).mouseUp() }, - async scroll(x: number, y: number, dx: number, dy: number): Promise { + async scroll( + _x: number, + _y: number, + dx: number, + dy: number, + ): Promise { if (dy !== 0) await platform.input.scroll(dy, 'vertical') if (dx !== 0) await platform.input.scroll(dx, 'horizontal') },