minutes-mcp 0.32.1 → 0.33.0
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/corpus-lease.js +8 -7
- package/dist/index.js +10 -6
- package/dist/node-child.d.ts +20 -1
- package/dist/node-child.js +152 -1
- package/dist/secure-read.js +5 -4
- package/package.json +2 -2
package/dist/corpus-lease.js
CHANGED
|
@@ -5,7 +5,7 @@ import { lstat, mkdir, open, opendir, realpath, stat } from "node:fs/promises";
|
|
|
5
5
|
import { basename, dirname, extname, isAbsolute, join, relative } from "node:path";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import { decodePolicyUtf8, fingerprintTextFileFromBoundParent, readTextFileWithRevisionFromBoundParent, writeOperatorDiagnostic, } from "./secure-read.js";
|
|
8
|
-
import { nodeChildEnvironment } from "./node-child.js";
|
|
8
|
+
import { nodeChildEnvironment, resolveNodeHelperRuntime } from "./node-child.js";
|
|
9
9
|
const MAX_AUTHORIZATION_ATTEMPTS = 2;
|
|
10
10
|
const DEFAULT_FENCE_TIMEOUT_MS = 5_000;
|
|
11
11
|
const MAX_TEST_HARNESS_AUTHORIZATION_TIMEOUT_MS = 120_000;
|
|
@@ -1336,21 +1336,22 @@ function releaseUnconfirmedCorpusWorker() {
|
|
|
1336
1336
|
unconfirmedCorpusWorkers = Math.max(0, unconfirmedCorpusWorkers - 1);
|
|
1337
1337
|
}
|
|
1338
1338
|
let nextPauseId = 1;
|
|
1339
|
-
function corpusWorkerInvocation(scriptOverride) {
|
|
1339
|
+
async function corpusWorkerInvocation(scriptOverride) {
|
|
1340
|
+
const binary = await resolveNodeHelperRuntime();
|
|
1340
1341
|
if (scriptOverride)
|
|
1341
|
-
return { binary
|
|
1342
|
+
return { binary, args: [scriptOverride] };
|
|
1342
1343
|
const sourceMode = import.meta.url.endsWith(".ts");
|
|
1343
1344
|
const helper = fileURLToPath(new URL(`./corpus-lease-worker.${sourceMode ? "ts" : "js"}`, import.meta.url));
|
|
1344
1345
|
if (!sourceMode)
|
|
1345
|
-
return { binary
|
|
1346
|
+
return { binary, args: [helper] };
|
|
1346
1347
|
try {
|
|
1347
1348
|
import.meta.resolve("tsx");
|
|
1348
|
-
return { binary
|
|
1349
|
+
return { binary, args: ["--import", "tsx", helper] };
|
|
1349
1350
|
}
|
|
1350
1351
|
catch {
|
|
1351
1352
|
const built = fileURLToPath(new URL("../dist/corpus-lease-worker.js", import.meta.url));
|
|
1352
1353
|
if (existsSync(built))
|
|
1353
|
-
return { binary
|
|
1354
|
+
return { binary, args: [built] };
|
|
1354
1355
|
throw new Error("Access denied: meeting corpus worker is unavailable");
|
|
1355
1356
|
}
|
|
1356
1357
|
}
|
|
@@ -1448,13 +1449,13 @@ async function dispatchStableCorpusLease(root, operation, hooks = {}) {
|
|
|
1448
1449
|
if (hooks.beforeSentinelCreate) {
|
|
1449
1450
|
return withStableCorpusLeaseInProcess(root, operation, hooks);
|
|
1450
1451
|
}
|
|
1452
|
+
const invocation = await corpusWorkerInvocation(hooks.workerScriptForTest);
|
|
1451
1453
|
if (unconfirmedCorpusWorkers > 0) {
|
|
1452
1454
|
throw new Error("Access denied: a meeting corpus worker was killed without confirming it died");
|
|
1453
1455
|
}
|
|
1454
1456
|
const budgets = resolveCorpusReadBudgets(hooks.budgets);
|
|
1455
1457
|
const { budgetMs: authorizationBudgetMs, deadline } = authorizationWindow(hooks.timeoutMs);
|
|
1456
1458
|
const timeoutMs = remainingAuthorizationMs(deadline);
|
|
1457
|
-
const invocation = corpusWorkerInvocation(hooks.workerScriptForTest);
|
|
1458
1459
|
const reservation = reserveCorpusMemory(budgets);
|
|
1459
1460
|
const workerLimit = Math.min(MAX_ACTIVE_WATCHERS, budgets.maxWatcherCount);
|
|
1460
1461
|
if (activeCorpusWorkerCount >= workerLimit) {
|
package/dist/index.js
CHANGED
|
@@ -52,7 +52,7 @@ import { parse as parseYaml, stringify as stringifyYaml } from "yaml";
|
|
|
52
52
|
import * as reader from "minutes-sdk";
|
|
53
53
|
import { canonicalizeRoot, expandHomeLikePath, readTextFileInDirectory, validatePathInDirectories, validatePathInDirectory, } from "./paths.js";
|
|
54
54
|
import { isCliCompatible, parseVersion } from "./version.js";
|
|
55
|
-
import { nodeChildEnvironment } from "./node-child.js";
|
|
55
|
+
import { nodeChildEnvironment, resolveNodeHelperRuntime, NodeHelperRuntimeError } from "./node-child.js";
|
|
56
56
|
import { hasFeature, probeCapabilitiesSync, } from "./capabilities.js";
|
|
57
57
|
import { downloadReleaseBinaryWithChecksum, extractZipWithPowerShell, installMacSherpaArchiveWithFallback, MACOS_SHERPA_ARCHIVE, } from "./autoInstall.js";
|
|
58
58
|
import { attachCaptureRelay, } from "./captureRelay.js";
|
|
@@ -1615,7 +1615,7 @@ const COPILOT_SUPPORTED = hasFeature(CLI_CAPABILITIES, "copilot_realtime");
|
|
|
1615
1615
|
// `./version.ts` (see issue #183). Hosted `.mcpb` bundles will run
|
|
1616
1616
|
// against CLIs with different minor/patch numbers within the same
|
|
1617
1617
|
// major; that is explicitly supported.
|
|
1618
|
-
const MCP_SERVER_VERSION = "0.
|
|
1618
|
+
const MCP_SERVER_VERSION = "0.33.0";
|
|
1619
1619
|
export function parseKnowledgeConfig(configContent) {
|
|
1620
1620
|
const knowledgeMatch = configContent.match(/\[knowledge\][\s\S]*?(?=\n\[|$)/);
|
|
1621
1621
|
if (!knowledgeMatch) {
|
|
@@ -5097,13 +5097,14 @@ function killProcessAudioGroup(child) {
|
|
|
5097
5097
|
// It may already have exited. The close/error handler settles the promise.
|
|
5098
5098
|
}
|
|
5099
5099
|
}
|
|
5100
|
-
function processAudioHelperInvocation() {
|
|
5100
|
+
async function processAudioHelperInvocation() {
|
|
5101
|
+
const binary = await resolveNodeHelperRuntime();
|
|
5101
5102
|
const currentModule = fileURLToPath(import.meta.url);
|
|
5102
5103
|
const sourceMode = extname(currentModule) === ".ts";
|
|
5103
5104
|
const helper = fileURLToPath(new URL(sourceMode ? "./process-audio-helper.ts" : "./process-audio-helper.js", import.meta.url));
|
|
5104
5105
|
return sourceMode
|
|
5105
|
-
? { binary
|
|
5106
|
-
: { binary
|
|
5106
|
+
? { binary, args: ["--import", "tsx", helper] }
|
|
5107
|
+
: { binary, args: [helper] };
|
|
5107
5108
|
}
|
|
5108
5109
|
function writeBoundedProcessAudioHelperRequest(child, value) {
|
|
5109
5110
|
const serialized = JSON.stringify(value);
|
|
@@ -5123,6 +5124,7 @@ export async function runIsolatedMcpProcessAudio(filePath, allowedDirs, audioExt
|
|
|
5123
5124
|
if (process.platform !== "linux" && process.platform !== "darwin") {
|
|
5124
5125
|
throw new Error("Access denied: private audio processing is unavailable");
|
|
5125
5126
|
}
|
|
5127
|
+
const helper = await processAudioHelperInvocation();
|
|
5126
5128
|
if (processAudioIsolationPoisoned) {
|
|
5127
5129
|
throw new Error("Access denied: private audio processing requires an MCP restart");
|
|
5128
5130
|
}
|
|
@@ -5134,7 +5136,6 @@ export async function runIsolatedMcpProcessAudio(filePath, allowedDirs, audioExt
|
|
|
5134
5136
|
try {
|
|
5135
5137
|
const initialMeetingsRoot = await resolveEffectiveMeetingsRoot();
|
|
5136
5138
|
requireProcessAudioBudget(budget);
|
|
5137
|
-
const helper = processAudioHelperInvocation();
|
|
5138
5139
|
const safeExtraEnv = { ...(options.extraEnv ?? {}) };
|
|
5139
5140
|
delete safeExtraEnv.MINUTES_MCP_OUTER_PROCESS_GROUP;
|
|
5140
5141
|
return await new Promise((resolveRun, rejectRun) => {
|
|
@@ -5416,6 +5417,9 @@ export async function handleMcpProcessAudioRequest(input, dependencies, platform
|
|
|
5416
5417
|
}
|
|
5417
5418
|
}
|
|
5418
5419
|
catch (error) {
|
|
5420
|
+
if (error instanceof NodeHelperRuntimeError) {
|
|
5421
|
+
return mcpProcessAudioError("node-helper-runtime-unavailable", error.message);
|
|
5422
|
+
}
|
|
5419
5423
|
return mcpProcessAudioError("processing-failed", "process_audio failed safely during authorization or execution. No CLI error details or input paths were returned.");
|
|
5420
5424
|
}
|
|
5421
5425
|
}
|
package/dist/node-child.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Environment for a helper that must run as Node
|
|
2
|
+
* Environment for a helper that must run as Node.
|
|
3
3
|
*
|
|
4
4
|
* Electron hosts such as Claude Desktop expose their app executable as
|
|
5
5
|
* process.execPath. Spawning that executable with a JavaScript file does not
|
|
@@ -8,3 +8,22 @@
|
|
|
8
8
|
* must continue to receive their existing policy environment unchanged.
|
|
9
9
|
*/
|
|
10
10
|
export declare function nodeChildEnvironment(base?: NodeJS.ProcessEnv, electronVersion?: string | undefined): NodeJS.ProcessEnv;
|
|
11
|
+
export declare const MINIMUM_HELPER_NODE_MAJOR = 20;
|
|
12
|
+
/** Path-free guidance, safe to return through otherwise opaque tool errors. */
|
|
13
|
+
export declare class NodeHelperRuntimeError extends Error {
|
|
14
|
+
constructor(override?: boolean);
|
|
15
|
+
}
|
|
16
|
+
type RuntimeProbe = (binary: string, environment: NodeJS.ProcessEnv, timeoutMs: number) => Promise<string | null>;
|
|
17
|
+
type RuntimeResolverOptions = {
|
|
18
|
+
execPath: string;
|
|
19
|
+
electronVersion: string | undefined;
|
|
20
|
+
platform: NodeJS.Platform;
|
|
21
|
+
home: string;
|
|
22
|
+
environment: () => NodeJS.ProcessEnv;
|
|
23
|
+
probe: RuntimeProbe;
|
|
24
|
+
readDirectory: (directory: string) => Promise<string[]>;
|
|
25
|
+
};
|
|
26
|
+
/** Cache the host probe and successful resolution, never a missing runtime. */
|
|
27
|
+
export declare function createNodeHelperRuntimeResolver(options?: Partial<RuntimeResolverOptions>): () => Promise<string>;
|
|
28
|
+
export declare const resolveNodeHelperRuntime: () => Promise<string>;
|
|
29
|
+
export {};
|
package/dist/node-child.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { execFile } from "node:child_process";
|
|
2
|
+
import { readdir } from "node:fs/promises";
|
|
3
|
+
import { homedir } from "node:os";
|
|
4
|
+
import { posix, win32 } from "node:path";
|
|
1
5
|
/**
|
|
2
|
-
* Environment for a helper that must run as Node
|
|
6
|
+
* Environment for a helper that must run as Node.
|
|
3
7
|
*
|
|
4
8
|
* Electron hosts such as Claude Desktop expose their app executable as
|
|
5
9
|
* process.execPath. Spawning that executable with a JavaScript file does not
|
|
@@ -14,3 +18,150 @@ export function nodeChildEnvironment(base = process.env, electronVersion = proce
|
|
|
14
18
|
}
|
|
15
19
|
return environment;
|
|
16
20
|
}
|
|
21
|
+
export const MINIMUM_HELPER_NODE_MAJOR = 20;
|
|
22
|
+
const PROBE_SOURCE = 'process.stdout.write("minutes-node-helper:" + process.versions.node)';
|
|
23
|
+
const PROBE_TIMEOUT_MS = 1_000;
|
|
24
|
+
const DISCOVERY_TIMEOUT_MS = 5_000;
|
|
25
|
+
/** Path-free guidance, safe to return through otherwise opaque tool errors. */
|
|
26
|
+
export class NodeHelperRuntimeError extends Error {
|
|
27
|
+
constructor(override = false) {
|
|
28
|
+
super("Claude Desktop cannot run Minutes helper processes because its Electron Node runtime is unavailable. " +
|
|
29
|
+
(override
|
|
30
|
+
? "The Node.js path setting (MINUTES_NODE_PATH) must name an absolute path to a working Node.js executable. "
|
|
31
|
+
: "No working system Node.js runtime was found. ") +
|
|
32
|
+
`Install Node.js ${MINIMUM_HELPER_NODE_MAJOR}+ from nodejs.org or with Homebrew, or set Node.js path in the Minutes extension settings in Claude Desktop to its absolute executable path, then retry.`);
|
|
33
|
+
this.name = "NodeHelperRuntimeError";
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const probeNode = (binary, environment, timeoutMs) => new Promise((resolve) => {
|
|
37
|
+
execFile(binary, ["-e", PROBE_SOURCE], {
|
|
38
|
+
env: environment,
|
|
39
|
+
timeout: timeoutMs,
|
|
40
|
+
killSignal: "SIGKILL",
|
|
41
|
+
maxBuffer: 1024,
|
|
42
|
+
windowsHide: true,
|
|
43
|
+
}, (error, stdout) => resolve(error ? null : stdout));
|
|
44
|
+
});
|
|
45
|
+
/** Probes receive no meeting paths or authority, and never load ambient Node hooks. */
|
|
46
|
+
function probeEnvironment(base, electronVersion) {
|
|
47
|
+
const environment = nodeChildEnvironment(base, electronVersion);
|
|
48
|
+
delete environment.NODE_OPTIONS;
|
|
49
|
+
delete environment.NODE_PATH;
|
|
50
|
+
return environment;
|
|
51
|
+
}
|
|
52
|
+
/** Cache the host probe and successful resolution, never a missing runtime. */
|
|
53
|
+
export function createNodeHelperRuntimeResolver(options = {}) {
|
|
54
|
+
const settings = {
|
|
55
|
+
execPath: process.execPath,
|
|
56
|
+
electronVersion: process.versions.electron,
|
|
57
|
+
platform: process.platform,
|
|
58
|
+
home: homedir(),
|
|
59
|
+
environment: () => process.env,
|
|
60
|
+
probe: probeNode,
|
|
61
|
+
readDirectory: async (directory) => {
|
|
62
|
+
try {
|
|
63
|
+
return await readdir(directory);
|
|
64
|
+
}
|
|
65
|
+
catch {
|
|
66
|
+
return [];
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
...options,
|
|
70
|
+
};
|
|
71
|
+
const paths = settings.platform === "win32" ? win32 : posix;
|
|
72
|
+
let hostProbe;
|
|
73
|
+
let resolved;
|
|
74
|
+
let pending;
|
|
75
|
+
async function valid(binary, environment, timeoutMs) {
|
|
76
|
+
const output = await settings.probe(binary, environment, timeoutMs);
|
|
77
|
+
const match = /^minutes-node-helper:(\d+)\.\d+\.\d+$/.exec(output ?? "");
|
|
78
|
+
return !!match && Number(match[1]) >= MINIMUM_HELPER_NODE_MAJOR;
|
|
79
|
+
}
|
|
80
|
+
async function* candidates(environment) {
|
|
81
|
+
const node = settings.platform === "win32" ? "node.exe" : "node";
|
|
82
|
+
const searchPath = Object.entries(environment).find(([name]) => settings.platform === "win32" ? name.toUpperCase() === "PATH" : name === "PATH")?.[1] ?? "";
|
|
83
|
+
for (const directory of searchPath.split(paths.delimiter).slice(0, 32)) {
|
|
84
|
+
// Empty/relative PATH entries must not select a program from the server's cwd.
|
|
85
|
+
if (paths.isAbsolute(directory))
|
|
86
|
+
yield paths.join(directory, node);
|
|
87
|
+
}
|
|
88
|
+
if (settings.platform === "win32") {
|
|
89
|
+
for (const directory of [
|
|
90
|
+
environment.ProgramFiles && paths.join(environment.ProgramFiles, "nodejs"),
|
|
91
|
+
environment.LOCALAPPDATA && paths.join(environment.LOCALAPPDATA, "Programs", "nodejs"),
|
|
92
|
+
paths.join(environment.VOLTA_HOME ?? paths.join(settings.home, "AppData", "Local", "Volta"), "bin"),
|
|
93
|
+
paths.join(settings.home, "scoop", "apps", "nodejs", "current"),
|
|
94
|
+
]) {
|
|
95
|
+
if (directory && paths.isAbsolute(directory))
|
|
96
|
+
yield paths.join(directory, node);
|
|
97
|
+
}
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
for (const directory of [
|
|
101
|
+
"/opt/homebrew/bin", "/usr/local/bin", "/usr/bin",
|
|
102
|
+
paths.join(environment.VOLTA_HOME ?? paths.join(settings.home, ".volta"), "bin"),
|
|
103
|
+
paths.join(settings.home, ".asdf", "shims"),
|
|
104
|
+
])
|
|
105
|
+
yield paths.join(directory, node);
|
|
106
|
+
for (const [directory, suffix] of [
|
|
107
|
+
[paths.join(environment.NVM_DIR ?? paths.join(settings.home, ".nvm"), "versions", "node"), ["bin", node]],
|
|
108
|
+
[paths.join(environment.FNM_DIR ?? paths.join(settings.home, "Library", "Application Support", "fnm"), "node-versions"), ["installation", "bin", node]],
|
|
109
|
+
[paths.join(settings.home, ".local", "share", "fnm", "node-versions"), ["installation", "bin", node]],
|
|
110
|
+
[paths.join(settings.home, ".asdf", "installs", "nodejs"), ["bin", node]],
|
|
111
|
+
]) {
|
|
112
|
+
const versions = (await settings.readDirectory(directory))
|
|
113
|
+
.filter((entry) => /^v?\d+\.\d+\.\d+$/.test(entry))
|
|
114
|
+
.sort((a, b) => b.localeCompare(a, "en", { numeric: true }))
|
|
115
|
+
.slice(0, 32);
|
|
116
|
+
for (const version of versions)
|
|
117
|
+
yield paths.join(directory, version, ...suffix);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
async function discover(environment, override) {
|
|
121
|
+
const probeEnv = probeEnvironment(environment, settings.electronVersion);
|
|
122
|
+
hostProbe ??= valid(settings.execPath, probeEnv, PROBE_TIMEOUT_MS);
|
|
123
|
+
if (await hostProbe)
|
|
124
|
+
return settings.execPath;
|
|
125
|
+
if (override !== undefined) {
|
|
126
|
+
if (paths.isAbsolute(override) && await valid(override, probeEnv, PROBE_TIMEOUT_MS))
|
|
127
|
+
return override;
|
|
128
|
+
throw new NodeHelperRuntimeError(true);
|
|
129
|
+
}
|
|
130
|
+
const deadline = Date.now() + DISCOVERY_TIMEOUT_MS;
|
|
131
|
+
const seen = new Set([settings.execPath]);
|
|
132
|
+
for await (const candidate of candidates(environment)) {
|
|
133
|
+
if (Date.now() >= deadline)
|
|
134
|
+
break;
|
|
135
|
+
if (seen.has(candidate) || !paths.isAbsolute(candidate))
|
|
136
|
+
continue;
|
|
137
|
+
seen.add(candidate);
|
|
138
|
+
if (await valid(candidate, probeEnv, Math.max(1, Math.min(PROBE_TIMEOUT_MS, deadline - Date.now()))))
|
|
139
|
+
return candidate;
|
|
140
|
+
}
|
|
141
|
+
throw new NodeHelperRuntimeError();
|
|
142
|
+
}
|
|
143
|
+
return async () => {
|
|
144
|
+
if (!settings.electronVersion)
|
|
145
|
+
return settings.execPath;
|
|
146
|
+
const environment = settings.environment();
|
|
147
|
+
const configuredPath = environment.MINUTES_NODE_PATH;
|
|
148
|
+
const override = configuredPath?.trim() ? configuredPath : undefined;
|
|
149
|
+
const key = JSON.stringify([override, environment.PATH, environment.Path]);
|
|
150
|
+
if (resolved?.key === key)
|
|
151
|
+
return resolved.binary;
|
|
152
|
+
if (pending?.key === key)
|
|
153
|
+
return pending.promise;
|
|
154
|
+
const promise = discover(environment, override);
|
|
155
|
+
pending = { key, promise };
|
|
156
|
+
try {
|
|
157
|
+
const binary = await promise;
|
|
158
|
+
resolved = { key, binary };
|
|
159
|
+
return binary;
|
|
160
|
+
}
|
|
161
|
+
finally {
|
|
162
|
+
if (pending?.promise === promise)
|
|
163
|
+
pending = undefined;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
export const resolveNodeHelperRuntime = createNodeHelperRuntimeResolver();
|
package/dist/secure-read.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createHash } from "node:crypto";
|
|
|
3
3
|
import { lstatSync, realpathSync, statSync, } from "node:fs";
|
|
4
4
|
import { basename, dirname } from "path";
|
|
5
5
|
import { TextDecoder } from "node:util";
|
|
6
|
-
import { nodeChildEnvironment } from "./node-child.js";
|
|
6
|
+
import { nodeChildEnvironment, resolveNodeHelperRuntime } from "./node-child.js";
|
|
7
7
|
/**
|
|
8
8
|
* Decode security-policy-bearing text without Unicode replacement.
|
|
9
9
|
*
|
|
@@ -346,13 +346,13 @@ class BoundParentReader {
|
|
|
346
346
|
retireChildForTest;
|
|
347
347
|
termination;
|
|
348
348
|
resolveTermination;
|
|
349
|
-
constructor(parent, processReservationBytes) {
|
|
349
|
+
constructor(parent, processReservationBytes, binary) {
|
|
350
350
|
this.parent = parent;
|
|
351
351
|
this.processReservationBytes = processReservationBytes;
|
|
352
352
|
this.termination = new Promise((resolve) => {
|
|
353
353
|
this.resolveTermination = resolve;
|
|
354
354
|
});
|
|
355
|
-
this.child = spawn(
|
|
355
|
+
this.child = spawn(binary, ["-e", BOUND_READER_SOURCE], {
|
|
356
356
|
cwd: parent,
|
|
357
357
|
env: nodeChildEnvironment({ ...process.env, MINUTES_BOUND_PARENT: parent }),
|
|
358
358
|
stdio: ["pipe", "pipe", "pipe"],
|
|
@@ -735,6 +735,7 @@ async function readFromBoundParent(canonicalPath, returnContent, hooks) {
|
|
|
735
735
|
maxInFlightGlobal: Math.min(requestedMaxInFlightGlobal, DEFAULT_BOUND_READER_MAX_GLOBAL_IN_FLIGHT),
|
|
736
736
|
maxReservedBytes: Math.min(requestedMaxReservedBytes, DEFAULT_BOUND_READER_MAX_RESERVED_BYTES),
|
|
737
737
|
};
|
|
738
|
+
const binary = await resolveNodeHelperRuntime();
|
|
738
739
|
let reader = readers.get(parent);
|
|
739
740
|
if (reader && !reader.isUsable()) {
|
|
740
741
|
const termination = reader.evictIfIdle();
|
|
@@ -765,7 +766,7 @@ async function readFromBoundParent(canonicalPath, returnContent, hooks) {
|
|
|
765
766
|
globalReaderProcessCount += 1;
|
|
766
767
|
globalReaderProcessBytes += BOUND_READER_CHILD_BASELINE_BYTES;
|
|
767
768
|
try {
|
|
768
|
-
reader = new BoundParentReader(parent, BOUND_READER_CHILD_BASELINE_BYTES);
|
|
769
|
+
reader = new BoundParentReader(parent, BOUND_READER_CHILD_BASELINE_BYTES, binary);
|
|
769
770
|
}
|
|
770
771
|
catch (error) {
|
|
771
772
|
globalReaderProcessCount = Math.max(0, globalReaderProcessCount - 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minutes-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"mcpName": "io.github.silverstein/minutes",
|
|
5
5
|
"description": "MCP server for minutes \u2014 conversation memory for AI assistants. Works with Claude Desktop, Mistral Vibe, Cursor, Windsurf, and any MCP client.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/ext-apps": "^2.0.0",
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
50
|
-
"minutes-sdk": "0.
|
|
50
|
+
"minutes-sdk": "0.33.0",
|
|
51
51
|
"yaml": "^2.8.3",
|
|
52
52
|
"zod": "^3.25 || ^4.0"
|
|
53
53
|
},
|