minutes-mcp 0.18.8 → 0.18.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.
- package/dist/index.js +1 -1
- package/dist/version.d.ts +5 -0
- package/dist/version.js +23 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -388,7 +388,7 @@ const LIVE_EVENTS_SUPPORTED = hasFeature(CLI_CAPABILITIES, "events_since_seq");
|
|
|
388
388
|
// `./version.ts` (see issue #183). Hosted `.mcpb` bundles will run
|
|
389
389
|
// against CLIs with different minor/patch numbers within the same
|
|
390
390
|
// major; that is explicitly supported.
|
|
391
|
-
const MCP_SERVER_VERSION = "0.18.
|
|
391
|
+
const MCP_SERVER_VERSION = "0.18.8";
|
|
392
392
|
export function parseKnowledgeConfig(configContent) {
|
|
393
393
|
const knowledgeMatch = configContent.match(/\[knowledge\][\s\S]*?(?=\n\[|$)/);
|
|
394
394
|
if (!knowledgeMatch) {
|
package/dist/version.d.ts
CHANGED
|
@@ -12,6 +12,11 @@ export type VersionParts = {
|
|
|
12
12
|
major: number;
|
|
13
13
|
minor: number;
|
|
14
14
|
patch: number;
|
|
15
|
+
/** Semver prerelease component ("rc1", "beta.2"), if present (#185). */
|
|
16
|
+
prerelease?: string;
|
|
17
|
+
/** Semver build metadata ("git.abc123"), if present. Never affects
|
|
18
|
+
* compatibility per semver, surfaced for honest logging only (#185). */
|
|
19
|
+
build?: string;
|
|
15
20
|
};
|
|
16
21
|
export type CompatibilitySeverity = "ok" | "info" | "error";
|
|
17
22
|
export type CompatibilityResult = {
|
package/dist/version.js
CHANGED
|
@@ -9,15 +9,25 @@
|
|
|
9
9
|
* the pinned GitHub release tag no longer matched.
|
|
10
10
|
*/
|
|
11
11
|
export function parseVersion(raw) {
|
|
12
|
-
|
|
12
|
+
// Core triple plus optional semver prerelease (-rc1, -beta.2) and build
|
|
13
|
+
// metadata (+git.abc123). Pre-#185 this matched only the triple, so
|
|
14
|
+
// "0.14.0-rc1" silently passed as GA 0.14.0.
|
|
15
|
+
const match = raw
|
|
16
|
+
.trim()
|
|
17
|
+
.match(/(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?/);
|
|
13
18
|
if (!match)
|
|
14
19
|
return null;
|
|
15
|
-
const [, major, minor, patch] = match;
|
|
16
|
-
|
|
20
|
+
const [, major, minor, patch, prerelease, build] = match;
|
|
21
|
+
const parts = {
|
|
17
22
|
major: Number.parseInt(major, 10),
|
|
18
23
|
minor: Number.parseInt(minor, 10),
|
|
19
24
|
patch: Number.parseInt(patch, 10),
|
|
20
25
|
};
|
|
26
|
+
if (prerelease)
|
|
27
|
+
parts.prerelease = prerelease;
|
|
28
|
+
if (build)
|
|
29
|
+
parts.build = build;
|
|
30
|
+
return parts;
|
|
21
31
|
}
|
|
22
32
|
const UPGRADE_ADVICE = "Update with: brew upgrade minutes (or cargo install minutes-cli)";
|
|
23
33
|
/**
|
|
@@ -52,6 +62,16 @@ export function isCliCompatible(cliVersion, serverVersion) {
|
|
|
52
62
|
}
|
|
53
63
|
if (cli.minor === server.minor &&
|
|
54
64
|
cli.patch === server.patch) {
|
|
65
|
+
// A prerelease is NOT the GA release (#185): still compatible within
|
|
66
|
+
// the major, but say what it actually is instead of "up to date".
|
|
67
|
+
if (cli.prerelease || server.prerelease) {
|
|
68
|
+
return {
|
|
69
|
+
ok: true,
|
|
70
|
+
severity: "info",
|
|
71
|
+
message: `CLI v${cliVersion} and MCP server v${serverVersion} share ` +
|
|
72
|
+
`${cli.major}.${cli.minor}.${cli.patch} but differ in prerelease; proceeding`,
|
|
73
|
+
};
|
|
74
|
+
}
|
|
55
75
|
return {
|
|
56
76
|
ok: true,
|
|
57
77
|
severity: "ok",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minutes-mcp",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.9",
|
|
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",
|