Versions in this module Expand all Collapse all v0 v0.0.3 Apr 24, 2026 Changes in this version + var ErrServerNotReady = errors.New("opencode serve did not become ready") + type Config struct + Cwd string + Env map[string]string + Logger *slog.Logger + Path string + ReadyTimeout time.Duration + type Process struct + func Spawn(ctx context.Context, cfg Config) (*Process, error) + func (p *Process) BaseURL() string + func (p *Process) Close() error