detect

package
v0.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCredentials added in v0.2.0

func ApplyCredentials(result *Result)

ApplyCredentials fills in Token for accounts that have no API key from env vars, using stored credentials from the credentials file. It also creates new accounts for stored credentials that don't match any existing account.

Types

type DetectedTool

type DetectedTool struct {
	Name       string // e.g. "Cursor IDE", "Claude Code CLI"
	BinaryPath string // resolved path to binary, if applicable
	ConfigDir  string // path to the tool's config directory
	Type       string // "ide", "cli", "api"
}

type Result

type Result struct {
	Tools    []DetectedTool
	Accounts []core.AccountConfig
}

func AutoDetect

func AutoDetect() Result

func (Result) Summary

func (r Result) Summary() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL