monomind 1.6.4 → 1.6.5

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.
@@ -8,12 +8,21 @@ const projectDir = process.env.CLAUDE_PROJECT_DIR || process.cwd();
8
8
  const graphDir = path.join(projectDir, '.monomind', 'graph');
9
9
  const statsFile = path.join(graphDir, 'stats.json');
10
10
 
11
- // Locate @monomind/graph — check pnpm store first, then regular node_modules
11
+ // Locate @monomind/graph — check local, global npm, bundled-graph, pnpm
12
12
  function findGraphPkg(base) {
13
13
  const candidates = [
14
14
  path.join(base, 'node_modules', '@monomind', 'graph', 'dist', 'src', 'index.js'),
15
15
  path.join(base, 'packages', '@monomind', 'cli', 'node_modules', '@monomind', 'graph', 'dist', 'src', 'index.js'),
16
+ path.join(base, 'packages', '@monomind', 'graph', 'dist', 'src', 'index.js'),
16
17
  ];
18
+ // Check global npm install paths (monomind umbrella ships bundled-graph)
19
+ try {
20
+ const globalRoot = require('child_process').execSync('npm root -g', { encoding: 'utf-8' }).trim();
21
+ candidates.push(
22
+ path.join(globalRoot, 'monomind', 'packages', '@monomind', 'cli', 'bundled-graph', 'dist', 'src', 'index.js'),
23
+ path.join(globalRoot, 'monomind', 'node_modules', '@monoes', 'monomindcli', 'bundled-graph', 'dist', 'src', 'index.js'),
24
+ );
25
+ } catch {}
17
26
  for (const c of candidates) {
18
27
  if (fs.existsSync(c)) return c;
19
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monomind",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoes/monomindcli",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
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",
@@ -68,6 +68,7 @@
68
68
  "dist",
69
69
  "bin",
70
70
  ".claude",
71
+ "bundled-graph",
71
72
  "README.md"
72
73
  ],
73
74
  "scripts": {
@@ -84,8 +85,14 @@
84
85
  "vitest": "^4.1.4"
85
86
  },
86
87
  "dependencies": {
87
- "@monomind/graph": "^1.3.0",
88
88
  "@noble/ed25519": "^2.1.0",
89
+ "graphology": "^0.25.4",
90
+ "graphology-communities-louvain": "^2.0.1",
91
+ "graphology-metrics": "^2.4.0",
92
+ "graphology-shortest-path": "^2.0.2",
93
+ "graphology-traversal": "^0.3.1",
94
+ "graphology-types": "^0.24.7",
95
+ "chokidar": "^3.6.0",
89
96
  "semver": "^7.6.0"
90
97
  },
91
98
  "optionalDependencies": {