Skip to main content

Interface: CliDetectionResult

Defined in: types/cli.ts:28

Result of detecting whether a provider's CLI is installed and configured.

Example

// CLI found and authenticated
{
installed: true,
version: '1.0.15',
path: '/usr/local/bin/claude',
auth: { authenticated: true }
}

// CLI not found
{
installed: false,
error: 'claude command not found in PATH'
}

Properties

auth?

optional auth: { authenticated: boolean; }

Defined in: types/cli.ts:39

Authentication status, if the provider supports auth detection

authenticated

authenticated: boolean

Whether the user is authenticated with the provider


error?

optional error: string

Defined in: types/cli.ts:45

Error message if detection failed


installed

installed: boolean

Defined in: types/cli.ts:30

Whether the CLI tool is installed and accessible


path?

optional path: string

Defined in: types/cli.ts:36

Absolute path to the CLI executable


version?

optional version: string

Defined in: types/cli.ts:33

Installed version string (e.g., '1.0.15')