Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCategoriesTemplate []byte
View Source
var DefaultConfigTemplate []byte
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct {
Kind ChangeKind
Path string
Message string
}
type ChangeKind ¶
type ChangeKind string
const ( ChangeCreated ChangeKind = "created" ChangeUpdated ChangeKind = "updated" ChangeSkipped ChangeKind = "skipped" )
type DetectionOptions ¶
type FileSystem ¶
type KeychainSecretStore ¶
type KeychainSecretStore struct{}
type OSProber ¶
func (OSProber) PathExists ¶
type Options ¶
type Options struct {
Config config.Config
ConfigTemplate []byte
CategoriesTemplate []byte
Runtime Runtime
Selections Selections
Tools []Tool
FS FileSystem
SecretStore SecretStore
Force bool
DryRun bool
}
type Result ¶
type SecretKind ¶
type SecretKind string
const ( SecretGitHubToken SecretKind = "github_token" SecretOpenRouterAPIKey SecretKind = "openrouter_api_key" SecretTSNetAuthKey SecretKind = "tsnet_auth_key" SecretAuthSessionKey SecretKind = "auth_session_key" SecretGitHubClientSecret SecretKind = "github_client_secret" )
type SecretStore ¶
type Selections ¶
type Selections struct {
EnableAppleNotes bool
EnableSafariTabs bool
EnableScheduler bool
EnableTailscale bool
TSNetHostname string
EnableGitHubLogin bool
AuthBaseURL string
GitHubClientID string
UseKeychain bool
SummaryModel string
CategorizeModel string
OCRModel string
Secrets map[SecretKind]string
}
type Tool ¶
type Tool struct {
ID ToolID
Name string
Available bool
Path string
Endpoint string
Models []string
Detail string
Error string
}
func DetectTools ¶
func DetectTools(ctx context.Context, opts DetectionOptions) []Tool
type ToolID ¶
type ToolID string
const ( ToolMacWhisper ToolID = "macwhisper_cli" ToolMacWhisperApp ToolID = "macwhisper_app" ToolOllama ToolID = "ollama_cli" ToolOllamaAPI ToolID = "ollama_api" ToolLMStudio ToolID = "lmstudio_cli" ToolLMStudioAPI ToolID = "lmstudio_api" ToolOMLX ToolID = "omlx_cli" ToolOMLXAPI ToolID = "omlx_api" ToolTesseract ToolID = "tesseract" ToolFFprobe ToolID = "ffprobe" ToolYTDLP ToolID = "yt_dlp" ToolOnePassword ToolID = "onepassword" ToolSecurity ToolID = "security" )
Click to show internal directories.
Click to hide internal directories.