@llmnesia/mcp 0.1.7 → 0.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.
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__commonJS,
|
|
16
16
|
__require,
|
|
17
17
|
__toESM
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TP5KBWQA.js";
|
|
19
19
|
|
|
20
20
|
// ../node_modules/isexe/windows.js
|
|
21
21
|
var require_windows = __commonJS({
|
|
@@ -3108,7 +3108,7 @@ async function registerJsonClient(clientLabel, configPath, serve, confirm, now,
|
|
|
3108
3108
|
return { client: clientLabel, action: "error", detail: errorMessage(err) };
|
|
3109
3109
|
}
|
|
3110
3110
|
const already = servers[SERVER_NAME];
|
|
3111
|
-
const nextEntry = { command: serve.command, args: serve.args };
|
|
3111
|
+
const nextEntry = { type: "stdio", command: serve.command, args: serve.args };
|
|
3112
3112
|
if (already && JSON.stringify(already) === JSON.stringify(nextEntry)) {
|
|
3113
3113
|
return { client: clientLabel, action: "skipped", detail: `Already registered at ${configPath}.` };
|
|
3114
3114
|
}
|
|
@@ -3220,7 +3220,11 @@ async function writeCodexConfig(configPath, serve, now) {
|
|
|
3220
3220
|
return { changed: true, ...backupPath ? { backupPath } : {} };
|
|
3221
3221
|
}
|
|
3222
3222
|
function genericBlock(serve) {
|
|
3223
|
-
return JSON.stringify(
|
|
3223
|
+
return JSON.stringify(
|
|
3224
|
+
{ mcpServers: { [SERVER_NAME]: { type: "stdio", command: serve.command, args: serve.args } } },
|
|
3225
|
+
null,
|
|
3226
|
+
2
|
|
3227
|
+
);
|
|
3224
3228
|
}
|
|
3225
3229
|
async function registerClients(options) {
|
|
3226
3230
|
const home2 = options.home ?? homedir2();
|
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-TP5KBWQA.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-KDKBKT22.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.8",
|
|
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.",
|