MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / ImportSkillRecoverySnapshot

Method ImportSkillRecoverySnapshot

agent/loop.go:369–374  ·  view source on GitHub ↗
(snapshot map[string]any)

Source from the content-addressed store, hash-verified

367
368func (e *CoreExecutionEngine) Reset() {
369 e.disconnectMCP(context.Background())
370 if e.extraction != nil {
371 e.extraction.Cancel()
372 }
373 e.flushAndSealMemory(context.Background())
374 if e.skillPersistence != nil {
375 e.skillPersistence.ClearAll()
376 }
377 e.mu.Lock()

Callers 3

runFunction · 0.80
handleREPLSlashCommandFunction · 0.80
createWithStateMethod · 0.80

Calls 1

ImportSnapshotMethod · 0.45

Tested by

no test coverage detected