monomind 1.9.7 → 1.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.
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
const fs = require('fs');
|
|
6
6
|
const { spawn } = require('child_process');
|
|
7
|
+
const { pathToFileURL } = require('url');
|
|
7
8
|
|
|
8
9
|
const projectDir = process.env.CLAUDE_PROJECT_DIR || process.cwd();
|
|
9
10
|
const graphDir = path.join(projectDir, '.monomind', 'graph');
|
|
@@ -70,7 +71,7 @@ try { fs.writeFileSync(lockPath, String(process.pid)); } catch { /* non-fatal */
|
|
|
70
71
|
|
|
71
72
|
// Spawn a detached node process to run buildAsync from @monoes/monograph (ESM)
|
|
72
73
|
const script = `
|
|
73
|
-
import { buildAsync } from ${JSON.stringify(
|
|
74
|
+
import { buildAsync } from ${JSON.stringify(pathToFileURL(entryPoint).href)};
|
|
74
75
|
import { unlinkSync } from 'fs';
|
|
75
76
|
try { await buildAsync(${JSON.stringify(projectDir)}); } finally {
|
|
76
77
|
try { unlinkSync(${JSON.stringify(lockPath)}); } catch {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.9",
|
|
4
4
|
"description": "Monomind - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as fs from 'fs';
|
|
6
6
|
import * as path from 'path';
|
|
7
|
-
import { fileURLToPath } from 'url';
|
|
7
|
+
import { fileURLToPath, pathToFileURL } from 'url';
|
|
8
8
|
import { createRequire } from 'module';
|
|
9
9
|
import { dirname } from 'path';
|
|
10
10
|
// ESM-compatible __dirname
|
|
@@ -399,7 +399,7 @@ async function initKnowledgeGraph(targetDir, result) {
|
|
|
399
399
|
}
|
|
400
400
|
catch { /* non-fatal */ }
|
|
401
401
|
const script = `
|
|
402
|
-
import { buildAsync } from ${JSON.stringify(
|
|
402
|
+
import { buildAsync } from ${JSON.stringify(pathToFileURL(entryPoint).href)};
|
|
403
403
|
import { unlinkSync } from 'fs';
|
|
404
404
|
try { await buildAsync(${JSON.stringify(targetDir)}); } finally {
|
|
405
405
|
try { unlinkSync(${JSON.stringify(lockPath)}); } catch {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monoes/monomindcli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Monomind CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|