Documentation
¶
Overview ¶
Package integrations is the desktop Settings catalog: which local agent/host tools gadak can install, how to detect them, and which gadak CLI argv installs each one. Detection is files and local processes only — no network, no mirror.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallArgs ¶
InstallArgs is the argv tail for the bundled gadak CLI. ok is false for an unknown id, and for raycast on Windows.
func InstallArgsFor ¶ added in v0.16.0
InstallArgsFor is InstallArgs with an explicit GOOS.
Types ¶
type Item ¶
type Item struct {
ID string `json:"id"`
Title string `json:"title"`
Installed *bool `json:"installed"`
// Status is the skill verdict for a skill row — one of "current",
// "stale", "missing", "conflict" — and "" for every other row. It is the
// same word `gadak doctor` prints, from the same classifier
// (skillinstall.DestStatus), so the two can no longer disagree about one
// file (GDK-1514). Installed is derived from it and never the other way
// round: a stale copy is installed *and* out of date, which one boolean
// cannot say.
Status string `json:"status,omitempty"`
Detail string `json:"detail"`
Command string `json:"command"`
Prerequisite *Prerequisite `json:"prerequisite"`
}
Item is one row of GET /desktop/integrations.
func List ¶
func List() []Item
List returns the catalog rows for this host's GOOS, in contract order: command-line-tool, raycast (darwin only), the skill rows, mcp-claude. Non-macOS hosts omit raycast — Raycast does not exist there, and a row whose Install button can run would lie (GDK-244, GDK-354).
type Prerequisite ¶
Prerequisite is a local dependency the install verb needs. Skill has none (JSON null).