MCPcopy Create free account
hub / github.com/EvoMap/evolver / convState

Function convState

test/autoDistillConv.test.js:56–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54function seedQueue(mod, cands) { mod.enqueueCandidate(cands); }
55function genesOnDisk() { try { return JSON.parse(fs.readFileSync(path.join(tmpRoot, '.evolver', 'gep', 'genes.json'), 'utf8')).genes || []; } catch (_) { return []; } }
56function convState() { try { return (JSON.parse(fs.readFileSync(path.join(tmpRoot, 'memory', 'distiller_state.json'), 'utf8')).conv_distill) || {}; } catch (_) { return {}; } }
57function fullState() { try { return JSON.parse(fs.readFileSync(path.join(tmpRoot, 'memory', 'distiller_state.json'), 'utf8')); } catch (_) { return {}; } }
58const C = (over) => Object.assign({ capability: 'publish-feishu-doc', matched: 'lark-cli', snippet: 'used lark-cli to publish a feishu doc, verified', hash: 'h1' }, over);
59

Callers 1

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected