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

Function recordToEntry

internal/memory/sessionfiles.go:150–157  ·  view source on GitHub ↗
(r SessionRecord)

Source from the content-addressed store, hash-verified

148}
149
150func recordToEntry(r SessionRecord) Entry {
151 return Entry{
152 Time: r.Date,
153 Kind: KindSessionSummary,
154 Content: fmt.Sprintf("[%s] %s", r.Path, r.Summary),
155 Tags: r.Tags,
156 }
157}
158
159// Preamble returns the last preambleSessionCount session summaries as a
160// compact block ready to concatenate to the system prompt. Bounded size

Callers 1

RecallMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected