loopapi

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(apiURL string, req RunRequest) (harnessloop.RunResult, error)

func RunSummary

func RunSummary(apiURL string, req RunRequest) (harness.CommandSummary, error)

func Serve

func Serve(addr, defaultRepoRoot string) error

Types

type RunRequest

type RunRequest struct {
	Action           string  `json:"action"`
	RepoRoot         string  `json:"repo_root"`
	Threshold        float64 `json:"threshold"`
	MaxIterations    int     `json:"max_iterations"`
	Branch           string  `json:"branch"`
	Mode             string  `json:"mode"`
	RoleConfig       string  `json:"role_config"`
	VerboseArtifacts bool    `json:"verbose_artifacts"`
	Seed             int64   `json:"seed"`
	Budget           int     `json:"budget"`
}

Jump to

Keyboard shortcuts

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