tarsserver

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 70 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAPIAddr = "127.0.0.1:43180"
)

Exported defaults used by cmd/tars entry wiring. Keep this list minimal to avoid growing cmd<->server coupling.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, serveOpts ServeOptions, stdout, stderr io.Writer) error

Serve executes tars runtime directly with structured options.

Types

type ServeOptions

type ServeOptions struct {
	ConfigPath   string
	Mode         string
	WorkspaceDir string
	LogFile      string
	Verbose      bool
	RunOnce      bool // deprecated — no longer runs heartbeat; pulse is automatic
	RunLoop      bool // deprecated — no longer runs heartbeat; pulse is automatic
	ServeAPI     bool
	APIAddr      string
}

ServeOptions configures Serve API execution without CLI argument parsing.

type ToolCallRecord added in v0.15.0

type ToolCallRecord struct {
	ToolName   string
	ToolCallID string
	ToolArgs   string
	ToolResult string
}

ToolCallRecord holds a tool invocation for transcript persistence.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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