Versions in this module Expand all Collapse all v0 v0.1.0 Sep 26, 2026 Changes in this version + func Digest(snapshot Snapshot) string + type Class string + const ClassHistory + const ClassMemory + const ClassPolicy + const ClassRequest + const ClassRuntime + const ClassToolResult + type Engine struct + MaxFrameBytes int + Registry *Registry + Spill SpillStore + func (e Engine) Reconcile(ctx context.Context, previous Snapshot, workspaceID string) (Snapshot, []Update, error) + type Frame struct + Class Class + Content string + Revision string + SourceKey string + SpillRef string + Trust Trust + type Lifecycle struct + Engine Engine + Store SnapshotStore + func (l Lifecycle) BeginTurn(ctx context.Context, owner execution.Identity, id, workspaceID string) (Turn, error) + func (l Lifecycle) Commit(ctx context.Context, turn Turn) (SnapshotRecord, error) + func (l Lifecycle) Rebaseline(ctx context.Context, owner execution.Identity, id string, expected uint64) (SnapshotRecord, error) + type MemorySnapshotStore struct + func NewMemorySnapshotStore() *MemorySnapshotStore + func (s *MemorySnapshotStore) CompareAndSwap(ctx context.Context, owner execution.Identity, id string, expected uint64, ...) (SnapshotRecord, error) + func (s *MemorySnapshotStore) Create(ctx context.Context, record SnapshotRecord) (SnapshotRecord, error) + func (s *MemorySnapshotStore) Get(ctx context.Context, owner execution.Identity, id string) (SnapshotRecord, bool, error) + type OutputManager struct + MaxBytes int + Spill SpillStore + func (m OutputManager) Bound(ctx context.Context, sourceKey, revision string, class Class, trust Trust, ...) (Frame, error) + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Register(source Source) error + type RetrievalQuery struct + AccessScopes []string + Limit int + Text string + type RetrievalResult struct + AccessScope string + ChunkID string + Content string + DocumentID string + FreshAt time.Time + Provenance string + Revision string + Score float64 + Tombstoned bool + type RetrievalSource struct + Query RetrievalQuery + Retriever Retriever + SourceKey string + func (s RetrievalSource) Key() string + func (s RetrievalSource) Resolve(ctx context.Context) ([]Frame, error) + func (s RetrievalSource) Revision(ctx context.Context) (string, error) + type Retriever interface + Revision func(context.Context, RetrievalQuery) (string, error) + Search func(context.Context, RetrievalQuery) ([]RetrievalResult, error) + type Snapshot struct + Epoch uint64 + Sources map[string]SourceState + WorkspaceID string + func Rebaseline(snapshot Snapshot) Snapshot + type SnapshotRecord struct + Digest string + ID string + Identity execution.Identity + Revision uint64 + Snapshot Snapshot + UpdatedAt time.Time + type SnapshotStore interface + CompareAndSwap func(context.Context, execution.Identity, string, uint64, Snapshot) (SnapshotRecord, error) + Create func(context.Context, SnapshotRecord) (SnapshotRecord, error) + Get func(context.Context, execution.Identity, string) (SnapshotRecord, bool, error) + type Source interface + Key func() string + Resolve func(context.Context) ([]Frame, error) + Revision func(context.Context) (string, error) + type SourceState struct + Frames []Frame + Revision string + type SpillStore interface + Put func(context.Context, string, string) (string, error) + type Trust string + const TrustAuthoritative + const TrustUntrusted + type Turn struct + Next Snapshot + Record SnapshotRecord + Updates []Update + type Update struct + Error string + Kind UpdateKind + Revision string + SourceKey string + type UpdateKind string + const UpdateAdded + const UpdateChanged + const UpdateRemoved + const UpdateUnavailable