Files
Assistant/modules/work/ports/graph.go
m 785441f2a0
CI / test (push) Successful in 27s
CI / test (pull_request) Successful in 25s
feat: add durable work graph runtime
2026-08-22 16:03:16 +03:00

15 lines
373 B
Go

package ports
import (
"context"
"git.cin.su/m/Assistant/contracts/work"
)
type GraphStore interface {
SaveWorkGraph(context.Context, work.WorkGraph) error
LoadWorkGraph(context.Context, string, int64) (work.WorkGraph, error)
SaveDispatchIntent(context.Context, work.AgentDispatchIntent) error
EnqueueDispatch(context.Context, work.AgentDispatchQueueItem) error
}