opencodequalification

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 27 Imported by: 0

Documentation

Overview

Package opencodequalification produces local maintainer evidence, never execution authority.

Index

Constants

View Source
const Profile = "opencode-native-integration/1"
View Source
const SupportedHostRange = ">=2.0.18 <2.1.0"

Variables

This section is empty.

Functions

func Inspector

func Inspector(ctx context.Context, c Config) (failure error)

func NodeArchitecture

func NodeArchitecture(machine string) (string, error)

func ParseSupportedHostVersion

func ParseSupportedHostVersion(output string) (string, error)

func Probe

func Probe(ctx context.Context, path string, args []string) error

func Run

func Run(ctx context.Context, args []string) error

Types

type Config

type Config struct {
	Source, Host, HostVersion, Corvint, Self, Output, Theme string
	InterruptProbe                                          bool
}

type Identity

type Identity struct {
	SourceCommit              string            `json:"sourceCommit"`
	SourceFiles               map[string]string `json:"sourceFiles"`
	HostSHA256                string            `json:"hostSHA256"`
	CorvintSHA256             string            `json:"corvintSHA256"`
	HarnessSHA256             string            `json:"harnessSHA256"`
	QualificationBinarySHA256 string            `json:"qualificationBinarySHA256"`
	Inputs                    map[string]string `json:"inputs"`
	Tuple                     map[string]string `json:"tuple"`
}

type Object

type Object map[string]any

func BuildRecord

func BuildRecord(native, focused Object, before, after Identity) (Object, error)

func Native

func Native(ctx context.Context, c Config) (Object, error)

Jump to

Keyboard shortcuts

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