run

package
v0.99.0 Latest Latest
Warning

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

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

Documentation

Overview

Package run executes one headless agent turn.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Config    *config.Config
	Workspace string
	Prompt    string
	Force     bool
	Timeout   time.Duration
}

Options configures a headless run.

type Result

type Result struct {
	Text string
}

Result is the outcome of a headless run.

func Execute

func Execute(ctx context.Context, opts Options) (Result, error)

Execute runs one print-mode agent turn and returns final assistant text.

Jump to

Keyboard shortcuts

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