opencode

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capability

func Capability() map[string]string

Capability describes validated OpenCode observation support for this revision.

func MergeLSP

func MergeLSP(path string, servers map[string]json.RawMessage) error

func MergeMCP

func MergeMCP(path string, entries mcp.Entries) error

func New

func New() base.Harness

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.

func Support

func Support(event hooks.Event, handler hooks.Handler) hooks.Support

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL