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/server/index.js
CHANGED
|
@@ -3817,7 +3817,7 @@ function getVersion2() {
|
|
|
3817
3817
|
const pkg = JSON.parse(readFileSync5(resolve7(process.cwd(), "package.json"), "utf-8"));
|
|
3818
3818
|
return pkg.version;
|
|
3819
3819
|
} catch {
|
|
3820
|
-
return "2.1.
|
|
3820
|
+
return "2.1.4";
|
|
3821
3821
|
}
|
|
3822
3822
|
}
|
|
3823
3823
|
}
|
|
@@ -4368,7 +4368,7 @@ function getVersion() {
|
|
|
4368
4368
|
const pkg = JSON.parse(readFileSync5(resolve7(process.cwd(), "package.json"), "utf-8"));
|
|
4369
4369
|
return pkg.version;
|
|
4370
4370
|
} catch {
|
|
4371
|
-
return "2.1.
|
|
4371
|
+
return "2.1.4";
|
|
4372
4372
|
}
|
|
4373
4373
|
}
|
|
4374
4374
|
}
|
|
@@ -5290,7 +5290,8 @@ async function handleSearch(store, pathname, method, res, searchParams) {
|
|
|
5290
5290
|
} else {
|
|
5291
5291
|
results = store.search(projectId, q, limit);
|
|
5292
5292
|
}
|
|
5293
|
-
|
|
5293
|
+
const filtered = results.filter((r) => r.title !== "__INDEX__");
|
|
5294
|
+
json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
|
|
5294
5295
|
return true;
|
|
5295
5296
|
}
|
|
5296
5297
|
return false;
|
|
@@ -5500,7 +5501,7 @@ var PKG_VERSION = (() => {
|
|
|
5500
5501
|
const pkg = JSON.parse(require("fs").readFileSync(require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
5501
5502
|
return pkg.version;
|
|
5502
5503
|
} catch {
|
|
5503
|
-
return "2.1.
|
|
5504
|
+
return "2.1.4";
|
|
5504
5505
|
}
|
|
5505
5506
|
})();
|
|
5506
5507
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -7206,7 +7207,7 @@ var MnemosyneServer = class {
|
|
|
7206
7207
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
7207
7208
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
7208
7209
|
}
|
|
7209
|
-
const version = cfg?.server?.version || "2.1.
|
|
7210
|
+
const version = cfg?.server?.version || "2.1.4";
|
|
7210
7211
|
this.httpServer.listen(port, () => {
|
|
7211
7212
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
7212
7213
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|