@prom.codes/memory-mcp 0.6.0 → 0.7.0
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/dist/bin.js +2 -2
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2133,8 +2133,8 @@ function discoverMemoryRewriter(env) {
|
|
|
2133
2133
|
throw new Error(`unknown PROMETHEUS_MEMORY_REWRITE_PROVIDER="${forced}" (expected "none", "mistral", "openai", or "generic")`);
|
|
2134
2134
|
}
|
|
2135
2135
|
function discoverMemoryTemporal(env) {
|
|
2136
|
-
const raw = (env.PROMETHEUS_MEMORY_TEMPORAL ?? "
|
|
2137
|
-
const enabled = raw === "
|
|
2136
|
+
const raw = (env.PROMETHEUS_MEMORY_TEMPORAL ?? "on").toLowerCase();
|
|
2137
|
+
const enabled = !(raw === "off" || raw === "0" || raw === "false" || raw === "no");
|
|
2138
2138
|
const rawWeight = env.PROMETHEUS_MEMORY_TEMPORAL_WEIGHT;
|
|
2139
2139
|
let weight = DEFAULT_TEMPORAL_WEIGHT;
|
|
2140
2140
|
if (rawWeight !== void 0 && rawWeight !== "") {
|