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/index.js
CHANGED
|
@@ -201,7 +201,7 @@ function getVersion() {
|
|
|
201
201
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
202
202
|
return pkg.version;
|
|
203
203
|
} catch {
|
|
204
|
-
return "2.1.
|
|
204
|
+
return "2.1.3";
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -5401,7 +5401,7 @@ function getVersion2() {
|
|
|
5401
5401
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5402
5402
|
return pkg.version;
|
|
5403
5403
|
} catch {
|
|
5404
|
-
return "2.1.
|
|
5404
|
+
return "2.1.3";
|
|
5405
5405
|
}
|
|
5406
5406
|
}
|
|
5407
5407
|
}
|
|
@@ -5984,7 +5984,7 @@ function getVersion3() {
|
|
|
5984
5984
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5985
5985
|
return pkg.version;
|
|
5986
5986
|
} catch {
|
|
5987
|
-
return "2.1.
|
|
5987
|
+
return "2.1.3";
|
|
5988
5988
|
}
|
|
5989
5989
|
}
|
|
5990
5990
|
}
|
|
@@ -7150,7 +7150,7 @@ var PKG_VERSION = (() => {
|
|
|
7150
7150
|
const pkg = JSON.parse(require("fs").readFileSync(require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
7151
7151
|
return pkg.version;
|
|
7152
7152
|
} catch {
|
|
7153
|
-
return "2.1.
|
|
7153
|
+
return "2.1.3";
|
|
7154
7154
|
}
|
|
7155
7155
|
})();
|
|
7156
7156
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -7511,7 +7511,7 @@ var MnemosyneServer = class {
|
|
|
7511
7511
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
7512
7512
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
7513
7513
|
}
|
|
7514
|
-
const version = cfg?.server?.version || "2.1.
|
|
7514
|
+
const version = cfg?.server?.version || "2.1.3";
|
|
7515
7515
|
this.httpServer.listen(port, () => {
|
|
7516
7516
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
7517
7517
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|