Documentation
¶
Index ¶
- func AttributionData(seed []byte) ([]byte, error)
- func Capability() map[string]string
- func MergeLSP(path string, servers map[string]json.RawMessage) error
- func MergeLSPData(seed []byte, servers map[string]json.RawMessage) ([]byte, []string, []string, error)
- func MergeMCP(path string, entries mcp.Entries) error
- func MergeMCPData(data []byte, entries mcp.Entries) ([]byte, []string, []string, error)
- func NativeConfigFingerprint(project, workspace string) (string, error)
- func NativeUserConfigRoots() ([]string, error)
- func New() base.Harness
- func ProbeConfigDir(ctx context.Context, configDir, workspace, sourceID, lockDigest, mode string, ...) (environment.Receipt, error)
- func Support(event hooks.Event, handler hooks.Handler) hooks.Support
- type HookRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributionData ¶ added in v0.9.0
func Capability ¶
Capability describes validated OpenCode observation support for this revision.
func MergeLSPData ¶ added in v0.9.0
func MergeMCPData ¶ added in v0.9.0
func NativeConfigFingerprint ¶ added in v0.9.6
NativeConfigFingerprint includes substitutions that can change server names without changing the containing config file.
func NativeUserConfigRoots ¶ added in v0.9.6
NativeUserConfigRoots lists the user directories the selected runtime reads.
func ProbeConfigDir ¶
func ProbeConfigDir(ctx context.Context, configDir, workspace, sourceID, lockDigest, mode string, expected ...string) (environment.Receipt, error)
ProbeConfigDir samples which file OpenCode resolves for each packaged skill name in a session started in the checkout. expected names the packaged skills of the plan.
Types ¶
type HookRenderer ¶
type HookRenderer struct{}
func (HookRenderer) Render ¶
func (HookRenderer) Render(bundle hooks.Bundle, context hooks.RenderContext) (hooks.RenderOutput, error)
func (HookRenderer) Target ¶
func (HookRenderer) Target() harness.Target
Click to show internal directories.
Click to hide internal directories.