@llmnesia/mcp 0.1.8 → 0.1.9
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.
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__commonJS,
|
|
16
16
|
__require,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W33T6XIV.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/isexe/windows.js
|
|
21
21
|
var require_windows = __commonJS({
|
|
@@ -2613,6 +2613,9 @@ import { promisify as promisify2 } from "util";
|
|
|
2613
2613
|
var execFileAsync2 = promisify2(execFile2);
|
|
2614
2614
|
var SERVER_NAME = "llmnesia";
|
|
2615
2615
|
var CODEX_APPROVAL_MODE = "writes";
|
|
2616
|
+
function stdioEntry(serve) {
|
|
2617
|
+
return { type: "stdio", command: serve.command, args: serve.args, env: {} };
|
|
2618
|
+
}
|
|
2616
2619
|
async function commandOnPath(name) {
|
|
2617
2620
|
try {
|
|
2618
2621
|
const { stdout } = await execFileAsync2(process.platform === "win32" ? "where" : "which", [name]);
|
|
@@ -3108,7 +3111,7 @@ async function registerJsonClient(clientLabel, configPath, serve, confirm, now,
|
|
|
3108
3111
|
return { client: clientLabel, action: "error", detail: errorMessage(err) };
|
|
3109
3112
|
}
|
|
3110
3113
|
const already = servers[SERVER_NAME];
|
|
3111
|
-
const nextEntry =
|
|
3114
|
+
const nextEntry = stdioEntry(serve);
|
|
3112
3115
|
if (already && JSON.stringify(already) === JSON.stringify(nextEntry)) {
|
|
3113
3116
|
return { client: clientLabel, action: "skipped", detail: `Already registered at ${configPath}.` };
|
|
3114
3117
|
}
|
|
@@ -3221,7 +3224,7 @@ async function writeCodexConfig(configPath, serve, now) {
|
|
|
3221
3224
|
}
|
|
3222
3225
|
function genericBlock(serve) {
|
|
3223
3226
|
return JSON.stringify(
|
|
3224
|
-
{ mcpServers: { [SERVER_NAME]:
|
|
3227
|
+
{ mcpServers: { [SERVER_NAME]: stdioEntry(serve) } },
|
|
3225
3228
|
null,
|
|
3226
3229
|
2
|
|
3227
3230
|
);
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __llmnesiaCreateRequire } from "node:module";
|
|
|
3
3
|
const require = __llmnesiaCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W33T6XIV.js";
|
|
7
7
|
|
|
8
8
|
// src/nodeDownload.ts
|
|
9
9
|
var NODE_DOWNLOAD_URLS = {
|
|
@@ -141,7 +141,7 @@ async function bootstrap() {
|
|
|
141
141
|
await guideUnsupportedNodeVersion(process.versions.node);
|
|
142
142
|
return 1;
|
|
143
143
|
}
|
|
144
|
-
const { main } = await import("./cli-
|
|
144
|
+
const { main } = await import("./cli-ZYDOAZIL.js");
|
|
145
145
|
return main();
|
|
146
146
|
}
|
|
147
147
|
bootstrap().then((code) => {
|
package/dist/mcp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmnesia/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"comment:mcpName": "The MCP Registry's ownership marker: it must equal server.json's `name`, and the namespace must match how you authenticate with mcp-publisher. `com.llmnesia/...` requires DNS auth (a TXT record on llmnesia.com) — see docs/MCP_INSTALLER_BOARD.md.",
|