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.js
CHANGED
|
@@ -3635,7 +3635,7 @@ function getVersion() {
|
|
|
3635
3635
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
3636
3636
|
return pkg.version;
|
|
3637
3637
|
} catch {
|
|
3638
|
-
return "2.1.
|
|
3638
|
+
return "2.1.4";
|
|
3639
3639
|
}
|
|
3640
3640
|
}
|
|
3641
3641
|
}
|
|
@@ -7599,7 +7599,7 @@ var require_package = __commonJS({
|
|
|
7599
7599
|
"package.json"(exports2, module2) {
|
|
7600
7600
|
module2.exports = {
|
|
7601
7601
|
name: "mnemosyne-core",
|
|
7602
|
-
version: "2.1.
|
|
7602
|
+
version: "2.1.4",
|
|
7603
7603
|
description: "Unified memory engine for AI agents \u2014 graph atoms, semantic search, and collaborative memory",
|
|
7604
7604
|
logo: "logo.png",
|
|
7605
7605
|
author: "Arman Aslanyan <aslanyanarman88@gmail.com> (https://www.linkedin.com/in/arman-aslanyan/)",
|
|
@@ -8947,7 +8947,7 @@ function getVersion2() {
|
|
|
8947
8947
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
8948
8948
|
return pkg.version;
|
|
8949
8949
|
} catch {
|
|
8950
|
-
return "2.1.
|
|
8950
|
+
return "2.1.4";
|
|
8951
8951
|
}
|
|
8952
8952
|
}
|
|
8953
8953
|
}
|
|
@@ -9545,7 +9545,7 @@ function getVersion3() {
|
|
|
9545
9545
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
9546
9546
|
return pkg.version;
|
|
9547
9547
|
} catch {
|
|
9548
|
-
return "2.1.
|
|
9548
|
+
return "2.1.4";
|
|
9549
9549
|
}
|
|
9550
9550
|
}
|
|
9551
9551
|
}
|
|
@@ -10470,7 +10470,8 @@ async function handleSearch(store, pathname, method, res, searchParams) {
|
|
|
10470
10470
|
} else {
|
|
10471
10471
|
results = store.search(projectId, q, limit);
|
|
10472
10472
|
}
|
|
10473
|
-
|
|
10473
|
+
const filtered = results.filter((r) => r.title !== "__INDEX__");
|
|
10474
|
+
json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
|
|
10474
10475
|
return true;
|
|
10475
10476
|
}
|
|
10476
10477
|
return false;
|
|
@@ -10680,7 +10681,7 @@ var PKG_VERSION = (() => {
|
|
|
10680
10681
|
const pkg = JSON.parse(require("fs").readFileSync(require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
10681
10682
|
return pkg.version;
|
|
10682
10683
|
} catch {
|
|
10683
|
-
return "2.1.
|
|
10684
|
+
return "2.1.4";
|
|
10684
10685
|
}
|
|
10685
10686
|
})();
|
|
10686
10687
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -11004,7 +11005,7 @@ var MnemosyneServer = class {
|
|
|
11004
11005
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
11005
11006
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
11006
11007
|
}
|
|
11007
|
-
const version = cfg?.server?.version || "2.1.
|
|
11008
|
+
const version = cfg?.server?.version || "2.1.4";
|
|
11008
11009
|
this.httpServer.listen(port, () => {
|
|
11009
11010
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
11010
11011
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|
|
@@ -11062,7 +11063,7 @@ function getVersion4() {
|
|
|
11062
11063
|
const { resolve: resolve14 } = require("path");
|
|
11063
11064
|
return JSON.parse(readFileSync8(resolve14(__dirname, "../../package.json"), "utf-8")).version;
|
|
11064
11065
|
} catch {
|
|
11065
|
-
return "2.1.
|
|
11066
|
+
return "2.1.4";
|
|
11066
11067
|
}
|
|
11067
11068
|
}
|
|
11068
11069
|
async function startCommand(options) {
|
|
@@ -11354,7 +11355,7 @@ program2.name("mnemosyne").description("Mnemosyne \u2014 Your exocortex").versio
|
|
|
11354
11355
|
try {
|
|
11355
11356
|
return require_package().version;
|
|
11356
11357
|
} catch {
|
|
11357
|
-
return "2.1.
|
|
11358
|
+
return "2.1.4";
|
|
11358
11359
|
}
|
|
11359
11360
|
})());
|
|
11360
11361
|
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);
|