Documentation
¶
Overview ¶
Package harness exposes the stable catalog of agent harnesses recognized by AHT. It provides name parsing and executable matching without exposing the harness-specific hook, plugin, or installation implementations.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCommand ¶
FromCommand identifies a supported harness from an executable path or name.
func Parse ¶ added in v1.1.0
Parse returns the supported harness identified by value. Harness names and documented aliases are matched without punctuation or case sensitivity.
Example ¶
package main
import (
"fmt"
"github.com/zigai/aht/pkg/harness"
)
func main() {
harnessID, err := harness.Parse("OpenCode")
if err != nil {
panic(err)
}
fmt.Println(harnessID)
}
Output: opencode
func ProcessNames ¶
ProcessNames returns executable names associated with harness.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.