effects

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(records []Record, out io.Writer)

Types

type CreateInput

type CreateInput struct {
	RunID           string
	RolloutID       string
	AttemptID       string
	SessionID       string
	ToolCallID      string
	ProcessID       string
	EffectType      string
	Target          string
	Mode            string
	Decision        string
	CompensationRef string
	Payload         string
}

type Filter

type Filter struct {
	RunID      string
	AttemptID  string
	ToolCallID string
}

type Record

type Record struct {
	ID              string
	RunID           string
	RolloutID       string
	AttemptID       string
	SessionID       string
	ToolCallID      string
	ProcessID       string
	EffectType      string
	Target          string
	Mode            string
	Decision        string
	CompensationRef string
	Payload         string
	Status          string
	CreatedAt       string
}

func List

func List(db *sql.DB, filter Filter) ([]Record, error)

func RecordEffect

func RecordEffect(db *sql.DB, input CreateInput) (Record, error)

Jump to

Keyboard shortcuts

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