Versions in this module Expand all Collapse all v0 v0.1.0 May 12, 2026 Changes in this version + type DAG struct + func New(dbPath string, sessionID string) (*DAG, error) + func (d *DAG) Append(parentID string, role string, content string) (*Node, error) + func (d *DAG) Branches(nodeID string) ([]*Node, error) + func (d *DAG) Close() error + func (d *DAG) Fork(nodeID string) (*Node, error) + func (d *DAG) Head() (*Node, error) + func (d *DAG) History(nodeID string) ([]*Node, error) + func (d *DAG) Prune(nodeID string) error + func (d *DAG) SetHead(nodeID string) error + type Node struct + Content string + CreatedAt time.Time + ID string + Metadata map[string]string + Model string + ParentID string + Role string