Versions in this module Expand all Collapse all v0 v0.3.1 Oct 29, 2026 v0.3.0 Oct 29, 2026 v0.2.1 Oct 28, 2026 v0.2.0 Oct 28, 2026 v0.1.0 Oct 28, 2026 Changes in this version + const DefaultAttempts + const ExitGit + const ExitNotAllowed + const ExitOK + const ExitRejected + const ExitUsage + const MCPInstructions + const StateFile + func IsOp(args []string) bool + func Main(ctx context.Context, e *Effector, args []string, stdin io.Reader, ...) int + func NewMCPServer(e *Effector) *mcp.Server + func ServeMCP(ctx context.Context, e *Effector, t mcp.Transport) error + func Usage(w io.Writer) + type API interface + CreateEffect func(ctx context.Context, id apiclient.TaskID, ...) (*http.Response, error) + type Effector struct + func FromEnv(getenv func(string) string, client *http.Client) (*Effector, error) + func New(o Options) *Effector + func (e *Effector) Do(ctx context.Context, op string, args map[string]any) (map[string]any, error) + type Error struct + Err error + Exit int + Extra map[string]any + Msg string + Problem *Problem + func (e *Error) Error() string + func (e *Error) Unwrap() error + type Kind int + const Bool + const JSON + const List + const String + const Text + type Op struct + Effects []v1alpha1.EffectOp + Help string + Params []Param + Words []string + func Ops() []*Op + func (o *Op) Command() string + func (o *Op) Name() string + func (o *Op) Tool() *mcp.Tool + type Options struct + API API + Attempts int + Config *pipeline.EffectorConfig + Dir string + Env []string + Git string + Result string + Sleep func(ctx context.Context, d time.Duration) error + State string + TaskID string + type Param struct + Enum []string + Flag string + Help string + Kind Kind + Name string + Required bool + Schema map[string]any + func (p Param) CLIFlag() string + type Problem struct + Code string + Detail string + Fields []apiclient.FieldError + RetryAfter int + Status int + Title string