opencode

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package opencode renders OpenCode (sst/opencode, npm "opencode-ai") managed configuration: an opencode.json in the system managed-config directory, which OpenCode loads at the highest precedence. Facts and sources: internal/harness/FACTS.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter implements harness.Adapter for OpenCode.

func (Adapter) Capabilities

func (Adapter) Capabilities() []harness.Capability

func (Adapter) InstallCommand

func (Adapter) InstallCommand(version string, _ harness.OS) string

func (Adapter) Meta

func (Adapter) Meta() harness.Meta

Meta implements harness.Describer.

func (Adapter) Name

func (Adapter) Name() string

func (Adapter) Render

func (Adapter) Render(p *policy.Profile, c harness.Context) ([]harness.File, []string, error)

Jump to

Keyboard shortcuts

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