runtime

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HookResult

type HookResult struct {
	ExitCode int
	Stdout   []byte
	Stderr   []byte
}

func RunHook

func RunHook(ctx context.Context, hook hook.Hook, stdin []byte) (HookResult, error)

type Options added in v0.2.8

type Options struct {
	ProjectDir string
}

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func New

func New(rootCtx context.Context, ctrl *controller.Controller, sch *scheduler.Scheduler, opts Options) (*Runtime, error)

func (*Runtime) ProjectDir added in v0.3.0

func (rt *Runtime) ProjectDir() string

func (*Runtime) ValidateHarness added in v0.3.0

func (rt *Runtime) ValidateHarness(ctx context.Context, kind agent.Harness, model string, config []byte) error

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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