discovery

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgent

NewAgent creates an adapter.Agent from a discovered agent.

func WriteIdentityName

func WriteIdentityName(configPath, name string) error

WriteIdentityName updates (or creates) the Name field in the workspace's IDENTITY.md.

Types

type AgentResult

type AgentResult struct {
	Agent adapter.DiscoveredAgent
	Alive bool
}

type Result

type Result struct {
	Agents []AgentResult
}

Result holds the outcome of a discovery run.

func Run

func Run(ctx context.Context, cfg config.Config) Result

Run performs agent discovery: scans config files, probes health endpoints, and returns all discovered agents with their liveness status. Stored tokens from ~/.eyrie/tokens.json are applied automatically.

Jump to

Keyboard shortcuts

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