Versions in this module Expand all Collapse all v0 v0.0.1 Jan 13, 2026 Changes in this version + const ErrCanceled + const ErrProtocolInvalidHandshake + const ErrProtocolInvalidJSON + const ErrProtocolStdoutContamination + const ErrProtocolUnexpectedFrame + const ErrRuntime + const ErrTimeout + const ErrUnsupported + func ValidateHandshake(h Handshake) error + type Capabilities struct + Commands []CommandSpec + Ops []string + Streams []string + type CommandArg struct + Name string + Type string + type CommandSpec struct + ArgsSpec []CommandArg + Help string + Name string + type Error struct + Code string + Details map[string]any + Message string + type Event struct + Event string + Fields map[string]any + Level string + Message string + Ok *bool + StreamID string + Type FrameType + type FrameType string + const FrameEvent + const FrameHandshake + const FrameRequest + const FrameResponse + type Handshake struct + Capabilities Capabilities + Declares map[string]any + PluginName string + ProtocolVersion ProtocolVersion + Type FrameType + type Note struct + Level string + Message string + type ProtocolVersion string + const ProtocolV1 + const ProtocolV2 + type Request struct + Ctx RequestContext + Input json.RawMessage + Op string + RequestID string + Type FrameType + type RequestContext struct + Cwd string + DeadlineMs int64 + DryRun bool + RepoRoot string + type Response struct + Error *Error + Notes []Note + Ok bool + Output json.RawMessage + RequestID string + Type FrameType + Warnings []Note