mnemosyne-core 2.1.6 → 2.1.8
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 +9 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +9 -9
- package/dist/cli/index.mjs.map +1 -1
- package/dist/dashboard/assets/banner.png +0 -0
- package/dist/dashboard/assets/favicon.png +0 -0
- package/dist/dashboard/assets/full-horizontal-logo.png +0 -0
- package/dist/dashboard/assets/logo.png +0 -0
- package/dist/dashboard/index.html +5 -5
- 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/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 +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4038,8 +4038,8 @@
|
|
|
4038
4038
|
// ═══════════════════════════════════════════════════════════
|
|
4039
4039
|
// GLOBALS & CONFIG
|
|
4040
4040
|
// ═══════════════════════════════════════════════════════════
|
|
4041
|
-
const API =
|
|
4042
|
-
const WS =
|
|
4041
|
+
const API = `${window.location.protocol}//${window.location.host}`;
|
|
4042
|
+
const WS = `${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}/ws`;
|
|
4043
4043
|
let nodes = [], links = [];
|
|
4044
4044
|
let selected = null;
|
|
4045
4045
|
let currentMemory = "";
|
|
@@ -4605,7 +4605,7 @@ async function loadProjects() {
|
|
|
4605
4605
|
const saved = localStorage.getItem("nexus-current-project");
|
|
4606
4606
|
if (saved && projects.some(p => p.name === saved)) {
|
|
4607
4607
|
selectProject(saved, false);
|
|
4608
|
-
} else if (projects.length
|
|
4608
|
+
} else if (projects.length >= 1) {
|
|
4609
4609
|
selectProject(projects[0].name, false);
|
|
4610
4610
|
} else {
|
|
4611
4611
|
updateProjectButtonLabel(currentMemory || "");
|
|
@@ -4937,9 +4937,9 @@ function updateMinimap() {
|
|
|
4937
4937
|
// Draw/update mini nodes
|
|
4938
4938
|
const nodes = minimap.selectAll(".minimap-node").data(simNodes, d => d.id);
|
|
4939
4939
|
nodes.exit().remove();
|
|
4940
|
-
const nodesEnter = nodes.enter().append("rect").attr("class", d => `minimap-node ${d.type === 'root' ? 'root' : ''} ${
|
|
4940
|
+
const nodesEnter = nodes.enter().append("rect").attr("class", d => `minimap-node ${d.type === 'root' ? 'root' : ''} ${selected?.id === d.id ? 'selected' : ''}`);
|
|
4941
4941
|
nodesEnter.merge(nodes)
|
|
4942
|
-
.attr("class", d => `minimap-node ${d.type === 'root' ? 'root' : ''} ${
|
|
4942
|
+
.attr("class", d => `minimap-node ${d.type === 'root' ? 'root' : ''} ${selected?.id === d.id ? 'selected' : ''}`)
|
|
4943
4943
|
.attr("x", d => mx(d.x) - 1.5)
|
|
4944
4944
|
.attr("y", d => my(d.y) - 1.5)
|
|
4945
4945
|
.attr("width", 3)
|
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.8";
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -5391,7 +5391,7 @@ function getVersion2() {
|
|
|
5391
5391
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5392
5392
|
return pkg.version;
|
|
5393
5393
|
} catch {
|
|
5394
|
-
return "2.1.
|
|
5394
|
+
return "2.1.8";
|
|
5395
5395
|
}
|
|
5396
5396
|
}
|
|
5397
5397
|
}
|
|
@@ -5978,7 +5978,7 @@ function getVersion3() {
|
|
|
5978
5978
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5979
5979
|
return pkg.version;
|
|
5980
5980
|
} catch {
|
|
5981
|
-
return "2.1.
|
|
5981
|
+
return "2.1.8";
|
|
5982
5982
|
}
|
|
5983
5983
|
}
|
|
5984
5984
|
}
|
|
@@ -7144,7 +7144,7 @@ var PKG_VERSION = (() => {
|
|
|
7144
7144
|
const pkg = JSON.parse(require("fs").readFileSync(require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
7145
7145
|
return pkg.version;
|
|
7146
7146
|
} catch {
|
|
7147
|
-
return "2.1.
|
|
7147
|
+
return "2.1.8";
|
|
7148
7148
|
}
|
|
7149
7149
|
})();
|
|
7150
7150
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -7509,7 +7509,7 @@ var MnemosyneServer = class {
|
|
|
7509
7509
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
7510
7510
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
7511
7511
|
}
|
|
7512
|
-
const version = cfg?.server?.version || "2.1.
|
|
7512
|
+
const version = cfg?.server?.version || "2.1.8";
|
|
7513
7513
|
this.httpServer.listen(port, () => {
|
|
7514
7514
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
7515
7515
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|