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?
optionalauth: {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?
optionalerror: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?
optionalpath:string
Defined in: types/cli.ts:36
Absolute path to the CLI executable
version?
optionalversion:string
Defined in: types/cli.ts:33
Installed version string (e.g., '1.0.15')