@monoes/monomindcli 2.9.8 → 2.9.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.
|
@@ -219,6 +219,9 @@ async function main() {
|
|
|
219
219
|
stdio: 'ignore',
|
|
220
220
|
cwd: CWD,
|
|
221
221
|
env: { ...process.env, CLAUDE_PROJECT_DIR: CWD, MONOMIND_BOUND_REPORT: BOUND_REPORT },
|
|
222
|
+
// Windows cannot exec a .cmd/.bat file directly — without shell:true,
|
|
223
|
+
// spawning the npx.cmd fallback throws EINVAL synchronously.
|
|
224
|
+
shell: process.platform === 'win32' && /\.(cmd|bat)$/i.test(cmd),
|
|
222
225
|
});
|
|
223
226
|
|
|
224
227
|
child.on('error', (err) => {
|
|
@@ -360,4 +363,10 @@ async function main() {
|
|
|
360
363
|
confirmPort().catch(() => {}).finally(() => { releaseSpawnLock(); process.exit(0); });
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
main().catch(() =>
|
|
366
|
+
main().catch((err) => {
|
|
367
|
+
if (String(process.env.MONOMIND_HOOK_QUIET || "") !== "1") {
|
|
368
|
+
process.stderr.write(`[control] failed to start: ${err && err.message ? err.message : err}\n`);
|
|
369
|
+
}
|
|
370
|
+
releaseSpawnLock();
|
|
371
|
+
process.exit(0);
|
|
372
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI engine for Monomind — an open-source MCP server that extends Claude Code with a codebase knowledge graph (tree-sitter + SQLite), persistent memory, multi-agent task coordination, and session hooks. Apache 2.0 licensed, fully local.",
|
|
6
6
|
"main": "dist/src/index.js",
|