mcp-agents-memory 0.9.32 → 0.9.33
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/build/index.js +3 -0
- package/package.json +3 -2
package/build/index.js
CHANGED
|
@@ -63734,6 +63734,7 @@ async function maybeRunLibrarian() {
|
|
|
63734
63734
|
}
|
|
63735
63735
|
var COLDPATH_ADVISORY_LOCK_KEY = 4242000017;
|
|
63736
63736
|
var lockClient = null;
|
|
63737
|
+
var ownedColdPath = false;
|
|
63737
63738
|
async function acquireColdPathLock() {
|
|
63738
63739
|
if (lockClient) return true;
|
|
63739
63740
|
const client2 = await db.getClient();
|
|
@@ -63741,6 +63742,7 @@ async function acquireColdPathLock() {
|
|
|
63741
63742
|
const res = await client2.query("SELECT pg_try_advisory_lock($1) AS got", [COLDPATH_ADVISORY_LOCK_KEY]);
|
|
63742
63743
|
if (res.rows[0]?.got === true) {
|
|
63743
63744
|
lockClient = client2;
|
|
63745
|
+
ownedColdPath = true;
|
|
63744
63746
|
return true;
|
|
63745
63747
|
}
|
|
63746
63748
|
client2.release();
|
|
@@ -63812,6 +63814,7 @@ function stopColdPathWorker() {
|
|
|
63812
63814
|
console.error("\u{1F535} [ColdPath] stopped");
|
|
63813
63815
|
}
|
|
63814
63816
|
async function drainColdPath(maxTicks = 12) {
|
|
63817
|
+
if (!ownedColdPath) return 0;
|
|
63815
63818
|
let waitCount = 0;
|
|
63816
63819
|
while (running && waitCount < 30) {
|
|
63817
63820
|
await new Promise((r) => setTimeout(r, 100));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-agents-memory",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.33",
|
|
4
4
|
"description": "Long-term memory for AI agents with provenance tracking",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"check:alias-evidence": "esbuild scripts/check_alias_evidence.ts --bundle --platform=node --format=esm --outfile=node_modules/.cache/mcp-agents-memory/check_alias_evidence.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_alias_evidence.mjs",
|
|
33
33
|
"check:retag": "esbuild scripts/check_ptag_retag.ts --bundle --platform=node --format=esm --outfile=node_modules/.cache/mcp-agents-memory/check_ptag_retag.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_ptag_retag.mjs",
|
|
34
34
|
"check:coldpath-gate": "esbuild scripts/check_coldpath_gate.ts --bundle --platform=node --format=esm --packages=external --outfile=node_modules/.cache/mcp-agents-memory/check_coldpath_gate.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_coldpath_gate.mjs",
|
|
35
|
-
"check:codex-arm": "esbuild scripts/check_codex_arm.ts --bundle --platform=node --format=esm --packages=external --outfile=node_modules/.cache/mcp-agents-memory/check_codex_arm.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_codex_arm.mjs"
|
|
35
|
+
"check:codex-arm": "esbuild scripts/check_codex_arm.ts --bundle --platform=node --format=esm --packages=external --outfile=node_modules/.cache/mcp-agents-memory/check_codex_arm.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_codex_arm.mjs",
|
|
36
|
+
"check:coldpath-drain": "esbuild scripts/check_coldpath_drain.ts --bundle --platform=node --format=esm --packages=external --outfile=node_modules/.cache/mcp-agents-memory/check_coldpath_drain.mjs --log-level=warning && node node_modules/.cache/mcp-agents-memory/check_coldpath_drain.mjs"
|
|
36
37
|
},
|
|
37
38
|
"keywords": [
|
|
38
39
|
"mcp",
|