monomind 1.5.8 → 1.6.1
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/bin/monomind.js +5 -5
- package/package.json +2 -2
package/bin/monomind.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// Monomind CLI - thin wrapper around @
|
|
2
|
+
// Monomind CLI - thin wrapper around @monomind/cli with monomind branding
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from 'node:url';
|
|
4
4
|
import { dirname, resolve, join } from 'node:path';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
|
|
7
7
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
8
|
|
|
9
|
-
// Walk up from monomind/bin/ to find @monoes/
|
|
9
|
+
// Walk up from monomind/bin/ to find @monoes/monomindcli in node_modules
|
|
10
10
|
function findCliPath() {
|
|
11
11
|
let dir = resolve(__dirname, '..');
|
|
12
12
|
for (let i = 0; i < 10; i++) {
|
|
13
|
-
const candidate = join(dir, 'node_modules', '@monoes', '
|
|
13
|
+
const candidate = join(dir, 'node_modules', '@monoes', 'monomindcli', 'bin', 'cli.js');
|
|
14
14
|
if (existsSync(candidate)) return dir;
|
|
15
15
|
const parent = dirname(dir);
|
|
16
16
|
if (parent === dir) break;
|
|
@@ -26,8 +26,8 @@ function toImportURL(filePath) {
|
|
|
26
26
|
|
|
27
27
|
const pkgDir = findCliPath();
|
|
28
28
|
const cliBase = pkgDir
|
|
29
|
-
? join(pkgDir, 'node_modules', '@monoes', '
|
|
30
|
-
: resolve(__dirname, '../../packages/@
|
|
29
|
+
? join(pkgDir, 'node_modules', '@monoes', 'monomindcli')
|
|
30
|
+
: resolve(__dirname, '../../packages/@monomind/cli');
|
|
31
31
|
|
|
32
32
|
// MCP mode: delegate to cli.js directly (branding irrelevant for JSON-RPC)
|
|
33
33
|
const cliArgs = process.argv.slice(2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Monomind - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
|
5
5
|
"main": "bin/monomind.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
],
|
|
24
24
|
"scripts": {},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@monoes/
|
|
26
|
+
"@monoes/monomindcli": ">=1.6.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">=20.0.0"
|