integrations

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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

View Source
const (
	IDRaycast   = "raycast"
	IDSkill     = "skill"
	IDMCPClaude = "mcp-claude"
)

IDs are part of the GET/POST contract. Order of List is fixed.

Variables

This section is empty.

Functions

func InstallArgs

func InstallArgs(id string) ([]string, bool)

InstallArgs is the argv tail for the bundled gadak CLI. ok is false for an unknown id.

Types

type Item

type Item struct {
	ID           string        `json:"id"`
	Title        string        `json:"title"`
	Installed    *bool         `json:"installed"`
	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 three catalog rows in contract order: raycast, skill, mcp-claude.

type Prerequisite

type Prerequisite struct {
	OK      bool   `json:"ok"`
	Message string `json:"message"`
}

Prerequisite is a local dependency the install verb needs. Skill has none (JSON null).

Jump to

Keyboard shortcuts

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