harnessmeta

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDClaude   = "claude"
	IDCodex    = "codex"
	IDCursor   = "cursor"
	IDCopilot  = "copilot"
	IDCline    = "cline"
	IDKimiCode = "kimi-code"
	IDGrok     = "grok"
	IDGoose    = "goose"
	IDPi       = "pi"
	IDOmp      = "omp"
	IDOpenCode = "opencode"
	IDAgy      = "agy"
	IDKilo     = "kilo"
	IDDroid    = "droid"
	IDOpenClaw = "openclaw"
	IDHermes   = "hermes"
)

Variables

This section is empty.

Functions

func FromCommand

func FromCommand(command string) (string, bool)

FromCommand resolves an executable name or path to a harness id.

func Normalize

func Normalize(value string) (string, bool)

Normalize resolves a harness id or alias to its canonical id.

func ProcessNames

func ProcessNames(id string) []string

ProcessNames returns the process names associated with a harness id.

Types

type Definition

type Definition struct {
	ID           string
	Aliases      []string
	ProcessNames []string
}

Definition is the canonical static metadata for a supported harness.

func ByID

func ByID(id string) (Definition, bool)

ByID returns the metadata for a harness id.

Jump to

Keyboard shortcuts

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