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

Method Get

internal/daemon/memory_runtime.go:1063–1072  ·  view source on GitHub ↗
(
	ctx context.Context,
	sessionID string,
)

Source from the content-addressed store, hash-verified

1061}
1062
1063func (s *daemonMemorySessionLedgerService) Get(
1064 ctx context.Context,
1065 sessionID string,
1066) (contract.MemorySessionLedgerResponse, error) {
1067 path, err := s.locate(ctx, sessionID)
1068 if err != nil {
1069 return contract.MemorySessionLedgerResponse{}, err
1070 }
1071 return readSessionLedger(path)
1072}
1073
1074func (s *daemonMemorySessionLedgerService) Replay(
1075 ctx context.Context,

Callers 1

ReplayMethod · 0.95

Calls 2

locateMethod · 0.95
readSessionLedgerFunction · 0.85

Tested by

no test coverage detected