Documentation
¶
Overview ¶
Package mongo registers MongoDB-backed memory storage for loom-mcp agents. Use clients/mongo to build the low-level client and pass it to NewStore.
Current clients append immutable event-bucket documents. They retain read compatibility with the legacy single-document transcript representation, so deployments can upgrade without rewriting existing run history first. Reads return the combined history in stable timestamp order.
Package mongo wires the memory.Store interface to the MongoDB client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements memory.Store by delegating to the Mongo client.
func NewStore ¶
func NewStore(client clientsmongo.Client) (*Store, error)
NewStore builds a Mongo-backed memory store using the provided client.