cellrun

package
v0.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package cellrun tracks agent sessions: when a cell started, which tool ran, and when it stopped. Records persist as JSON in the project directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Started time.Time  `json:"started"`
	Stopped *time.Time `json:"stopped"`
	Clean   *bool      `json:"clean"`
	Tool    string     `json:"tool"`
	Args    []string   `json:"args"`
}

Record is one cell run, from Begin to its recorded stop.

func Begin

func Begin(projectDir, tool string, args []string) (*Record, error)

Begin starts and persists a new Record for a cell run in projectDir.

func (*Record) Finish

func (r *Record) Finish(projectDir string, waitErr error) error

Jump to

Keyboard shortcuts

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