Versions in this module Expand all Collapse all v1 v1.55.0 Oct 21, 2026 Changes in this version + type Engine struct + func NewEngine(format Format) *Engine + func NewEngineWithWriters(format Format, stdout, stderr io.Writer) *Engine + func (e *Engine) HandleCommandOutput(req *proto.SendCommandOutputRequest) + func (e *Engine) HandlePrompt(req *proto.PromptRequest) *proto.PromptResponse + type EnvelopeBlock struct + Payload json.RawMessage + Type string + type Format string + const FormatJSON + const FormatText + type JSONEnvelope struct + Command string + Data []EnvelopeBlock