mnemosyne-core 2.1.3 → 2.1.4
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/cli/index.js +10 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +10 -9
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -6
- package/dist/index.mjs.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/index.mjs +1 -1
- package/dist/mcp/index.mjs.map +1 -1
- package/dist/server/api.js +5 -4
- package/dist/server/api.js.map +1 -1
- package/dist/server/api.mjs +5 -4
- package/dist/server/api.mjs.map +1 -1
- package/dist/server/index.js +6 -5
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +6 -5
- package/dist/server/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -3641,7 +3641,7 @@ function getVersion() {
|
|
|
3641
3641
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
3642
3642
|
return pkg.version;
|
|
3643
3643
|
} catch {
|
|
3644
|
-
return "2.1.
|
|
3644
|
+
return "2.1.4";
|
|
3645
3645
|
}
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
@@ -7602,7 +7602,7 @@ var require_package = __commonJS({
|
|
|
7602
7602
|
"package.json"(exports, module2) {
|
|
7603
7603
|
module2.exports = {
|
|
7604
7604
|
name: "mnemosyne-core",
|
|
7605
|
-
version: "2.1.
|
|
7605
|
+
version: "2.1.4",
|
|
7606
7606
|
description: "Unified memory engine for AI agents \u2014 graph atoms, semantic search, and collaborative memory",
|
|
7607
7607
|
logo: "logo.png",
|
|
7608
7608
|
author: "Arman Aslanyan <aslanyanarman88@gmail.com> (https://www.linkedin.com/in/arman-aslanyan/)",
|
|
@@ -8943,7 +8943,7 @@ function getVersion2() {
|
|
|
8943
8943
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
8944
8944
|
return pkg.version;
|
|
8945
8945
|
} catch {
|
|
8946
|
-
return "2.1.
|
|
8946
|
+
return "2.1.4";
|
|
8947
8947
|
}
|
|
8948
8948
|
}
|
|
8949
8949
|
}
|
|
@@ -9541,7 +9541,7 @@ function getVersion3() {
|
|
|
9541
9541
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
9542
9542
|
return pkg.version;
|
|
9543
9543
|
} catch {
|
|
9544
|
-
return "2.1.
|
|
9544
|
+
return "2.1.4";
|
|
9545
9545
|
}
|
|
9546
9546
|
}
|
|
9547
9547
|
}
|
|
@@ -10466,7 +10466,8 @@ async function handleSearch(store, pathname, method, res, searchParams) {
|
|
|
10466
10466
|
} else {
|
|
10467
10467
|
results = store.search(projectId, q, limit);
|
|
10468
10468
|
}
|
|
10469
|
-
|
|
10469
|
+
const filtered = results.filter((r) => r.title !== "__INDEX__");
|
|
10470
|
+
json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
|
|
10470
10471
|
return true;
|
|
10471
10472
|
}
|
|
10472
10473
|
return false;
|
|
@@ -10676,7 +10677,7 @@ var PKG_VERSION = (() => {
|
|
|
10676
10677
|
const pkg = JSON.parse(__require("fs").readFileSync(__require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
10677
10678
|
return pkg.version;
|
|
10678
10679
|
} catch {
|
|
10679
|
-
return "2.1.
|
|
10680
|
+
return "2.1.4";
|
|
10680
10681
|
}
|
|
10681
10682
|
})();
|
|
10682
10683
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -11000,7 +11001,7 @@ var MnemosyneServer = class {
|
|
|
11000
11001
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
11001
11002
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
11002
11003
|
}
|
|
11003
|
-
const version = cfg?.server?.version || "2.1.
|
|
11004
|
+
const version = cfg?.server?.version || "2.1.4";
|
|
11004
11005
|
this.httpServer.listen(port, () => {
|
|
11005
11006
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
11006
11007
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|
|
@@ -11058,7 +11059,7 @@ function getVersion4() {
|
|
|
11058
11059
|
const { resolve: resolve14 } = __require("path");
|
|
11059
11060
|
return JSON.parse(readFileSync8(resolve14(__dirname, "../../package.json"), "utf-8")).version;
|
|
11060
11061
|
} catch {
|
|
11061
|
-
return "2.1.
|
|
11062
|
+
return "2.1.4";
|
|
11062
11063
|
}
|
|
11063
11064
|
}
|
|
11064
11065
|
async function startCommand(options) {
|
|
@@ -11350,7 +11351,7 @@ program2.name("mnemosyne").description("Mnemosyne \u2014 Your exocortex").versio
|
|
|
11350
11351
|
try {
|
|
11351
11352
|
return require_package().version;
|
|
11352
11353
|
} catch {
|
|
11353
|
-
return "2.1.
|
|
11354
|
+
return "2.1.4";
|
|
11354
11355
|
}
|
|
11355
11356
|
})());
|
|
11356
11357
|
program2.command("init").description("Initialize a new Mnemosyne workspace").option("-d, --data-dir <path>", "Data directory", "./data").option("-c, --config <path>", "Config file path").action(initCommand);
|