You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`1Helm on 1Helm → http://${HOST==="0.0.0.0" ? "localhost" : HOST}:${port} (local agent on ${agentPort}) data: ${DATA_DIR}`);
1911
+
voidmemoryRuntime.then((ready)=>{
1912
+
if(!ready)return;
1913
+
for(constchannelofq("SELECT id FROM channels WHERE kind='channel' AND status<>'deleted'")){
1914
+
constagent=agentForChannel(Number(channel.id));
1915
+
if(agent)ensureAgentMemory(agent);
1916
+
}
1917
+
}).catch((error)=>console.warn(`1Helm could not prepare durable memory: ${(errorasError).message}`));
1911
1918
voidqueueLinuxHostContractMigration(DATA_DIR).catch((error)=>console.warn(`1Helm could not queue its Linux host-contract migration: ${(errorasError).message}`));
assert.match(memoryRuntime,/rmSync\(venv,\{recursive:true,force:true\}\)/,"an invalid partial app-managed memory venv is repaired without touching agent databases");
143
143
assert.match(memoryRuntime,/process\.platform==="darwin"\?\["\/usr\/bin\/python3"\]/,"macOS retries its bundled Python when a preferred interpreter cannot create the app-managed memory runtime");
144
+
assert.match(memoryRuntime,/exportfunctionprepareMnemosyneRuntime\(\):Promise<boolean>/,"fresh-host memory installation is asynchronous instead of blocking application startup");
145
+
assert.match(memoryRuntime,/exportfunctioncancelMnemosyneRuntimePreparation\(\)/,"host shutdown cancels an in-flight app-managed memory installation");
assert.match(serverRuntime,/constmemoryRuntime=prepareMnemosyneRuntime\(\);[\s\S]*server\.listen\([\s\S]*memoryRuntime\.then/,"the HTTP server becomes ready before optional memory installation and initializes agent databases afterward");
0 commit comments