MCPcopy Create free account
hub / github.com/compozy/agh / sessionBundle

Function sessionBundle

internal/cli/session.go:753–759  ·  view source on GitHub ↗
(info SessionRecord, now func() time.Time)

Source from the content-addressed store, hash-verified

751}
752
753func sessionBundle(info SessionRecord, now func() time.Time) outputBundle {
754 return outputBundle{
755 jsonValue: info,
756 human: func() (string, error) { return renderSessionHuman(info, now) },
757 toon: func() (string, error) { return renderSessionToon(info) },
758 }
759}
760
761func renderSessionHuman(info SessionRecord, now func() time.Time) (string, error) {
762 base := renderHumanSection(sessionSessionValue, []keyValue{

Calls 2

renderSessionHumanFunction · 0.85
renderSessionToonFunction · 0.85