minutes-mcp 0.9.2 → 0.9.3
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/index.js +1 -1
- package/dist/paths.js +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -148,7 +148,7 @@ function findMinutesBinary() {
|
|
|
148
148
|
}
|
|
149
149
|
let MINUTES_BIN = findMinutesBinary();
|
|
150
150
|
// ── Expected CLI version (must match this MCP server release) ──
|
|
151
|
-
const MCP_SERVER_VERSION = "0.9.
|
|
151
|
+
const MCP_SERVER_VERSION = "0.9.3";
|
|
152
152
|
const EXPECTED_CLI_VERSION = MCP_SERVER_VERSION;
|
|
153
153
|
const RELEASE_TAG = `v${EXPECTED_CLI_VERSION}`;
|
|
154
154
|
// ── CLI auto-install ────────────────────────────────────────
|
package/dist/paths.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, realpathSync } from "fs";
|
|
2
2
|
import { homedir } from "os";
|
|
3
|
-
import { extname, join, resolve } from "path";
|
|
3
|
+
import { extname, join, resolve, sep } from "path";
|
|
4
4
|
export function expandHomeLikePath(input) {
|
|
5
5
|
const home = homedir();
|
|
6
6
|
if (input === "~") {
|
|
@@ -31,7 +31,9 @@ export function canonicalizeRoot(root) {
|
|
|
31
31
|
}
|
|
32
32
|
export function isWithinDirectory(candidate, root) {
|
|
33
33
|
// Ensure root ends with separator to prevent prefix attacks (e.g. ~/meetings-evil)
|
|
34
|
-
|
|
34
|
+
// Use path.sep for cross-platform correctness — realpathSync returns OS-native
|
|
35
|
+
// separators, so on Windows the root will use backslashes.
|
|
36
|
+
const rootWithSep = root.endsWith(sep) ? root : root + sep;
|
|
35
37
|
return candidate === root || candidate.startsWith(rootWithSep);
|
|
36
38
|
}
|
|
37
39
|
export function validatePathInDirectory(path, root, allowedExts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minutes-mcp",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.3",
|
|
4
4
|
"description": "MCP server for minutes — conversation memory for AI assistants. Works with Claude Desktop, Mistral Vibe, Cursor, Windsurf, and any MCP client.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|