Help us shape the future of Go! Take the 2026 Go Developer Survey

ingest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindRollouts

func FindRollouts(root string) ([]string, error)

Types

type Ingester

type Ingester struct {
	Paths config.Paths
	Cfg   config.Config
	Store *store.Store
	// contains filtered or unexported fields
}

func New

func New(p config.Paths, c config.Config, st *store.Store) (*Ingester, error)

func (*Ingester) ImportCodex

func (in *Ingester) ImportCodex(path, repoDir, base string) (Result, error)

ImportCodex imports one Codex rollout file. repoDir is used when the session's cwd is not a git repository on this machine; base overrides the base commit that the rollout recorded.

func (*Ingester) IngestAllPending

func (in *Ingester) IngestAllPending() ([]Result, []error)

func (*Ingester) IngestSpool

func (in *Ingester) IngestSpool(agentSessionID string) (Result, error)

IngestSpool ingests one Claude Code or Codex session from its spool file and the events already stored for it, then deletes the spool file.

type Result

type Result struct {
	SessionID      string
	AgentSessionID string
	Steps          int
	Edits          int
	TestRuns       int
	Warnings       []string
}

Jump to

Keyboard shortcuts

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