mnemosyne-core 2.1.2 → 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/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 +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.mjs
CHANGED
|
@@ -3823,7 +3823,7 @@ function getVersion2() {
|
|
|
3823
3823
|
const pkg = JSON.parse(readFileSync5(resolve7(process.cwd(), "package.json"), "utf-8"));
|
|
3824
3824
|
return pkg.version;
|
|
3825
3825
|
} catch {
|
|
3826
|
-
return "2.1.
|
|
3826
|
+
return "2.1.4";
|
|
3827
3827
|
}
|
|
3828
3828
|
}
|
|
3829
3829
|
}
|
|
@@ -4364,7 +4364,7 @@ function getVersion() {
|
|
|
4364
4364
|
const pkg = JSON.parse(readFileSync5(resolve7(process.cwd(), "package.json"), "utf-8"));
|
|
4365
4365
|
return pkg.version;
|
|
4366
4366
|
} catch {
|
|
4367
|
-
return "2.1.
|
|
4367
|
+
return "2.1.4";
|
|
4368
4368
|
}
|
|
4369
4369
|
}
|
|
4370
4370
|
}
|
|
@@ -5286,7 +5286,8 @@ async function handleSearch(store, pathname, method, res, searchParams) {
|
|
|
5286
5286
|
} else {
|
|
5287
5287
|
results = store.search(projectId, q, limit);
|
|
5288
5288
|
}
|
|
5289
|
-
|
|
5289
|
+
const filtered = results.filter((r) => r.title !== "__INDEX__");
|
|
5290
|
+
json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
|
|
5290
5291
|
return true;
|
|
5291
5292
|
}
|
|
5292
5293
|
return false;
|
|
@@ -5496,7 +5497,7 @@ var PKG_VERSION = (() => {
|
|
|
5496
5497
|
const pkg = JSON.parse(__require("fs").readFileSync(__require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
5497
5498
|
return pkg.version;
|
|
5498
5499
|
} catch {
|
|
5499
|
-
return "2.1.
|
|
5500
|
+
return "2.1.4";
|
|
5500
5501
|
}
|
|
5501
5502
|
})();
|
|
5502
5503
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -7202,7 +7203,7 @@ var MnemosyneServer = class {
|
|
|
7202
7203
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
7203
7204
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
7204
7205
|
}
|
|
7205
|
-
const version = cfg?.server?.version || "2.1.
|
|
7206
|
+
const version = cfg?.server?.version || "2.1.4";
|
|
7206
7207
|
this.httpServer.listen(port, () => {
|
|
7207
7208
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
7208
7209
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|