MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / SessionRecord

Struct SessionRecord

internal/memory/sessionfiles.go:34–39  ·  view source on GitHub ↗

SessionRecord is the metadata stored in index.json — one entry per session file. Path is relative to the store's root directory.

Source from the content-addressed store, hash-verified

32// SessionRecord is the metadata stored in index.json — one entry per
33// session file. Path is relative to the store's root directory.
34type SessionRecord struct {
35 Path string `json:"path"`
36 Date time.Time `json:"date"`
37 Summary string `json:"summary"`
38 Tags []string `json:"tags"`
39}
40
41// NewSessionFiles opens (or creates) the memory directory at root and
42// loads the index. Missing sessions referenced in the index get pruned

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected