Versions in this module Expand all Collapse all v0 v0.27.0 Nov 9, 2026 Changes in this version type Node + Details string type Patch + Details *string v0.26.0 Nov 8, 2026 v0.25.0 Nov 7, 2026 v0.24.0 Nov 6, 2026 v0.23.0 Nov 4, 2026 v0.22.0 Nov 3, 2026 Changes in this version + const ToolName + func Clip(s string, max int) string + func Tool(st Store, actor string, opts ...Option) (llm.ToolDef, func(ctx context.Context, args string) string) + type Change struct + After *Node + Before *Node + ID string + Ready bool + Tell []string + func Apply(ctx context.Context, st Store, actor string, fn func(g *Graph) error) ([]Change, error) + func Diff(before, after Graph, actor string) []Change + type Graph struct + Nodes []*Node + Seq int + func (g *Graph) Add(n Node) (*Node, error) + func (g *Graph) Assign(id, owner string) error + func (g *Graph) Brief(owner string) string + func (g *Graph) CanStart(id string) (bool, []string) + func (g *Graph) Clone() Graph + func (g *Graph) Dependents(id string) []*Node + func (g *Graph) Detail(n *Node) string + func (g *Graph) Get(id string) *Node + func (g *Graph) Line(n *Node) string + func (g *Graph) List() string + func (g *Graph) Open() int + func (g *Graph) Ready(owner string) []*Node + func (g *Graph) ReadyLine(owner string, max int) string + func (g *Graph) SetStatus(id string, to Status, why string) error + func (g *Graph) Subtree(id string) []*Node + func (g *Graph) Tree() []Row + func (g *Graph) Update(id string, p Patch) error + func (g *Graph) Waiting(id string) []string + type Node struct + Account string + DoneWhen string + Files []string + Goal string + ID string + Needs []string + Notes string + Owner string + Replaces string + Status Status + Title string + Why string + type Option func(*options) + func WithMayChange(f func(actor string, n *Node) bool) Option + func WithNote(s string) Option + func WithOnChange(f func(ctx context.Context, actor string, changes []Change)) Option + type Patch struct + DoneWhen *string + Files *[]string + Goal *string + Needs *[]string + Notes *string + Status *Status + Title *string + type Row struct + Depth int + Node *Node + Repeat bool + type Status string + const Blocked + const Doing + const Done + const Dropped + const Todo + type Store interface + Update func(ctx context.Context, fn func(g *Graph) error) error + View func(ctx context.Context) (Graph, error)