agents

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindNative = "native"
	KindBun    = "bun"
	KindBrew   = "brew"
	KindNpm    = "npm"
	KindPnpm   = "pnpm"
	KindYarn   = "yarn"
	KindPip    = "pip"
	KindUv     = "uv"
	KindVSCode = "vscode"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name        string
	Binary      string
	VersionCmd  []string
	ExtensionID string
	Strategies  []UpdateStrategy
}

Agent defines how to update and version a CLI tool.

func Default

func Default() []Agent

Default returns the built-in supported agents.

type UpdateStrategy added in v0.1.1

type UpdateStrategy struct {
	Kind        string
	Command     []string
	Package     string
	ExtensionID string
}

Jump to

Keyboard shortcuts

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