Documentation
¶
Index ¶
- Variables
- func Answers(entries []Entry, sent []Sent) map[int64]string
- func OpencodeLastUser(ctx context.Context, bin, dir, session string) (string, bool, error)
- func OpencodeSessions(ctx context.Context, bin, dir string, now time.Time, stale time.Duration) (map[string]ModelLabel, map[string]bool, map[string]time.Time, error)
- func OpencodeSubmitted(ctx context.Context, bin, dir, session string) (bool, error)
- func Pair(entries []Entry, sent []Sent) map[int64]int
- type Call
- type Entry
- type ModelLabel
- type Paths
- type Reader
- func (r *Reader) Forget(harness, id string)
- func (r *Reader) Read(ctx context.Context, harness, id, dir string) ([]Entry, error)
- func (r *Reader) ReadEnded(ctx context.Context, harness, id, dir string) ([]Entry, error)
- func (r *Reader) Refresh(ctx context.Context, harness, id, dir string) error
- func (r *Reader) Running(ctx context.Context, harness, id, dir string) ([]Call, error)
- func (r *Reader) Status(harness, id string) Status
- type Sent
- type Status
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func OpencodeLastUser ¶ added in v0.13.0
func OpencodeSessions ¶ added in v0.13.0
func OpencodeSubmitted ¶ added in v0.13.0
Types ¶
type ModelLabel ¶ added in v0.13.0
type ModelLabel struct{ Model, Effort string }
Click to show internal directories.
Click to hide internal directories.