mneme-ai 2.19.59 → 2.19.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mneme-ai",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.60",
|
|
4
4
|
"mcpName": "io.github.patsa2561-art/mneme-ai",
|
|
5
5
|
"description": "Mneme เนโฌโ€ the memory layer for your codebase. Knows the WHY, the WHAT, the WHERE-IT-BREAKS.",
|
|
6
6
|
"type": "module",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"preinstall": "node -e \"try{const fs=require('node:fs');const path=require('node:path');const os=require('node:os');const{spawnSync}=require('node:child_process');const w=process.platform==='win32';const home=os.homedir();const organ=path.join(home,'.mneme-global');try{if(!fs.existsSync(organ))fs.mkdirSync(organ,{recursive:true,mode:0o700})}catch(e){}try{fs.writeFileSync(path.join(organ,'install-incoming.flag'),JSON.stringify({v:1,announcedAt:new Date().toISOString(),announcerPid:process.pid,reason:'preinstall-hook'}),{encoding:'utf8',mode:0o600})}catch(e){}const wait=(ms)=>{const e=Date.now()+ms;while(Date.now()<e){}};const isAlive=(p)=>{if(!p||p<=0)return false;try{process.kill(p,0);return true}catch(e){return e.code==='EPERM'}};const reap=()=>{try{const beatDir=path.join(organ,'heartbeats');if(fs.existsSync(beatDir)){for(const f of fs.readdirSync(beatDir)){const m=f.match(/^(\\d+)\\.beat$/);if(m){const pid=parseInt(m[1]);if(pid>0&&pid!==process.pid){try{process.kill(pid,'SIGTERM')}catch(e){}try{fs.unlinkSync(path.join(beatDir,f))}catch(e){}}}}}}catch(e){}};wait(300);spawnSync(w?'mneme.cmd':'mneme',['daemon','stop'],{shell:w,windowsHide:true,timeout:8000,stdio:'ignore'});const backoffs=[100,250,500,1000,2000];for(let i=0;i<=backoffs.length;i++){reap();if(i<backoffs.length)wait(backoffs[i])}const verifyEnd=Date.now()+3000;while(Date.now()<verifyEnd){const beatDir=path.join(organ,'heartbeats');let anyAlive=false;try{if(fs.existsSync(beatDir)){for(const f of fs.readdirSync(beatDir)){const m=f.match(/^(\\d+)\\.beat$/);if(m){const pid=parseInt(m[1]);if(pid>0&&pid!==process.pid&&isAlive(pid)){anyAlive=true;try{process.kill(pid,'SIGKILL')}catch(e){}try{fs.unlinkSync(path.join(beatDir,f))}catch(e){}}}}}}catch(e){}if(!anyAlive)break;wait(200)}}catch(e){}process.exit(0)\""
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@mneme-ai/core": "2.19.
|
|
35
|
-
"@mneme-ai/correlator": "2.19.
|
|
36
|
-
"@mneme-ai/embeddings": "2.19.
|
|
37
|
-
"@mneme-ai/mcp": "2.19.
|
|
34
|
+
"@mneme-ai/core": "2.19.60",
|
|
35
|
+
"@mneme-ai/correlator": "2.19.60",
|
|
36
|
+
"@mneme-ai/embeddings": "2.19.60",
|
|
37
|
+
"@mneme-ai/mcp": "2.19.60",
|
|
38
38
|
"commander": "^14.0.3",
|
|
39
39
|
"kleur": "^4.1.5"
|
|
40
40
|
},
|