mnemosyne-core 2.1.1 → 2.1.3
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/README.md +2 -2
- package/WORKING_EXAMPLE.md +126 -0
- package/dist/cli/index.js +11 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +11 -9
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- 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/sdk/index.d.mts +4 -0
- package/dist/sdk/index.d.ts +4 -0
- package/dist/sdk/index.js +4 -0
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/index.mjs +4 -0
- package/dist/sdk/index.mjs.map +1 -1
- package/dist/server/api.js +3 -3
- package/dist/server/api.js.map +1 -1
- package/dist/server/api.mjs +3 -3
- package/dist/server/api.mjs.map +1 -1
- package/dist/server/index.js +4 -4
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/index.mjs.map +1 -1
- package/package.json +4 -2
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.3";
|
|
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.3",
|
|
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/)",
|
|
@@ -7640,7 +7640,9 @@ var require_package = __commonJS({
|
|
|
7640
7640
|
}
|
|
7641
7641
|
},
|
|
7642
7642
|
files: [
|
|
7643
|
-
"dist"
|
|
7643
|
+
"dist",
|
|
7644
|
+
"README.md",
|
|
7645
|
+
"WORKING_EXAMPLE.md"
|
|
7644
7646
|
],
|
|
7645
7647
|
scripts: {
|
|
7646
7648
|
start: "node dist/cli/index.js",
|
|
@@ -8941,7 +8943,7 @@ function getVersion2() {
|
|
|
8941
8943
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
8942
8944
|
return pkg.version;
|
|
8943
8945
|
} catch {
|
|
8944
|
-
return "2.1.
|
|
8946
|
+
return "2.1.3";
|
|
8945
8947
|
}
|
|
8946
8948
|
}
|
|
8947
8949
|
}
|
|
@@ -9539,7 +9541,7 @@ function getVersion3() {
|
|
|
9539
9541
|
const pkg = JSON.parse(readFileSync8(resolve14(process.cwd(), "package.json"), "utf-8"));
|
|
9540
9542
|
return pkg.version;
|
|
9541
9543
|
} catch {
|
|
9542
|
-
return "2.1.
|
|
9544
|
+
return "2.1.3";
|
|
9543
9545
|
}
|
|
9544
9546
|
}
|
|
9545
9547
|
}
|
|
@@ -10674,7 +10676,7 @@ var PKG_VERSION = (() => {
|
|
|
10674
10676
|
const pkg = JSON.parse(__require("fs").readFileSync(__require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
10675
10677
|
return pkg.version;
|
|
10676
10678
|
} catch {
|
|
10677
|
-
return "2.1.
|
|
10679
|
+
return "2.1.3";
|
|
10678
10680
|
}
|
|
10679
10681
|
})();
|
|
10680
10682
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -10998,7 +11000,7 @@ var MnemosyneServer = class {
|
|
|
10998
11000
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
10999
11001
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
11000
11002
|
}
|
|
11001
|
-
const version = cfg?.server?.version || "2.1.
|
|
11003
|
+
const version = cfg?.server?.version || "2.1.3";
|
|
11002
11004
|
this.httpServer.listen(port, () => {
|
|
11003
11005
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
11004
11006
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|
|
@@ -11056,7 +11058,7 @@ function getVersion4() {
|
|
|
11056
11058
|
const { resolve: resolve14 } = __require("path");
|
|
11057
11059
|
return JSON.parse(readFileSync8(resolve14(__dirname, "../../package.json"), "utf-8")).version;
|
|
11058
11060
|
} catch {
|
|
11059
|
-
return "2.1.
|
|
11061
|
+
return "2.1.3";
|
|
11060
11062
|
}
|
|
11061
11063
|
}
|
|
11062
11064
|
async function startCommand(options) {
|
|
@@ -11348,7 +11350,7 @@ program2.name("mnemosyne").description("Mnemosyne \u2014 Your exocortex").versio
|
|
|
11348
11350
|
try {
|
|
11349
11351
|
return require_package().version;
|
|
11350
11352
|
} catch {
|
|
11351
|
-
return "2.1.
|
|
11353
|
+
return "2.1.3";
|
|
11352
11354
|
}
|
|
11353
11355
|
})());
|
|
11354
11356
|
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);
|