Documentation
¶
Index ¶
- Variables
- func ResolveTools(requested []string) ([]string, error)
- type Adapter
- func (a *Adapter) Alive(id string) bool
- func (a *Adapter) DesignProposal(ctx context.Context, stateRoot, requirements string, retain bool, ...) (proposal, home string, err error)
- func (a *Adapter) Discover(ctx context.Context) (core.RuntimeDescriptor, error)
- func (a *Adapter) Launch(ctx context.Context, stateRoot string, m core.Mandate, ...) (string, string, int, []string, error)
- func (a *Adapter) RunDesignForeground(ctx context.Context, stateRoot string, retain bool, in io.Reader, ...) (string, error)
- func (a *Adapter) StartDesign(ctx context.Context, stateRoot string, retain bool) (string, string, int, error)
- func (a *Adapter) Terminate(ctx context.Context, id string, remove bool) error
- type Credential
Constants ¶
This section is empty.
Variables ¶
View Source
var AdapterVersion = buildinfo.Version
Functions ¶
func ResolveTools ¶
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) DesignProposal ¶
func (a *Adapter) DesignProposal(ctx context.Context, stateRoot, requirements string, retain bool, credentials []Credential) (proposal, home string, err error)
DesignProposal drives Hermes's documented TUI-gateway JSON-RPC stdio protocol directly. Hermes can only return proposal bytes; Aegis owns strict decoding, validation, canonicalization, persistence, and provisioning.
func (*Adapter) RunDesignForeground ¶
func (a *Adapter) RunDesignForeground(ctx context.Context, stateRoot string, retain bool, in io.Reader, out, errOut io.Writer) (string, error)
RunDesignForeground runs the documented Hermes TUI attached to the caller's terminal. Safe mode plus no_mcp removes ambient config, rules, memory, plugins, MCP servers, and normal CLI toolsets. It never uses one-shot/YOLO.
func (*Adapter) StartDesign ¶
type Credential ¶
Credential is a resolved, explicitly selected environment credential. The value is process input only and must never be logged, persisted, or returned.
Click to show internal directories.
Click to hide internal directories.