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/index.mjs
CHANGED
|
@@ -207,7 +207,7 @@ function getVersion() {
|
|
|
207
207
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
208
208
|
return pkg.version;
|
|
209
209
|
} catch {
|
|
210
|
-
return "2.1.
|
|
210
|
+
return "2.1.4";
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
}
|
|
@@ -5371,7 +5371,7 @@ function getVersion2() {
|
|
|
5371
5371
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5372
5372
|
return pkg.version;
|
|
5373
5373
|
} catch {
|
|
5374
|
-
return "2.1.
|
|
5374
|
+
return "2.1.4";
|
|
5375
5375
|
}
|
|
5376
5376
|
}
|
|
5377
5377
|
}
|
|
@@ -5954,7 +5954,7 @@ function getVersion3() {
|
|
|
5954
5954
|
const pkg = JSON.parse(readFileSync6(resolve9(process.cwd(), "package.json"), "utf-8"));
|
|
5955
5955
|
return pkg.version;
|
|
5956
5956
|
} catch {
|
|
5957
|
-
return "2.1.
|
|
5957
|
+
return "2.1.4";
|
|
5958
5958
|
}
|
|
5959
5959
|
}
|
|
5960
5960
|
}
|
|
@@ -6910,7 +6910,8 @@ async function handleSearch(store, pathname, method, res, searchParams) {
|
|
|
6910
6910
|
} else {
|
|
6911
6911
|
results = store.search(projectId, q, limit);
|
|
6912
6912
|
}
|
|
6913
|
-
|
|
6913
|
+
const filtered = results.filter((r) => r.title !== "__INDEX__");
|
|
6914
|
+
json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
|
|
6914
6915
|
return true;
|
|
6915
6916
|
}
|
|
6916
6917
|
return false;
|
|
@@ -7120,7 +7121,7 @@ var PKG_VERSION = (() => {
|
|
|
7120
7121
|
const pkg = JSON.parse(__require("fs").readFileSync(__require("path").resolve(__dirname, "../../package.json"), "utf-8"));
|
|
7121
7122
|
return pkg.version;
|
|
7122
7123
|
} catch {
|
|
7123
|
-
return "2.1.
|
|
7124
|
+
return "2.1.4";
|
|
7124
7125
|
}
|
|
7125
7126
|
})();
|
|
7126
7127
|
function handleHealth(store, pathname, method, res) {
|
|
@@ -7481,7 +7482,7 @@ var MnemosyneServer = class {
|
|
|
7481
7482
|
const wss = new import_websocket_server.default({ server: this.httpServer });
|
|
7482
7483
|
this.wsHandler = new WebSocketHandler(wss, this.store);
|
|
7483
7484
|
}
|
|
7484
|
-
const version = cfg?.server?.version || "2.1.
|
|
7485
|
+
const version = cfg?.server?.version || "2.1.4";
|
|
7485
7486
|
this.httpServer.listen(port, () => {
|
|
7486
7487
|
console.log(`Mnemosyne v${version} \u2014 port ${port}`);
|
|
7487
7488
|
console.log(`Dashboard: http://${host}:${port}/dashboard`);
|