agi-farm 3.3.1 → 3.3.3
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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/scripts/setup.js +20 -1
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "agi-farm",
|
|
3
3
|
"kind": "team-orchestration",
|
|
4
4
|
"name": "AGI Farm — Multi-Agent Team Builder",
|
|
5
|
-
"version": "3.3.
|
|
5
|
+
"version": "3.3.3",
|
|
6
6
|
"description": "Bootstrap complete multi-agent AI teams with Paperclip dashboard, auto-dispatcher, and infrastructure. Includes interactive wizard, SOUL.md generation, comms setup, cron registration, and OpenClaw gateway integration.",
|
|
7
7
|
"author": "oabdelmaksoud",
|
|
8
8
|
"homepage": "https://github.com/oabdelmaksoud/AGI-FARM-PLUGIN",
|
package/package.json
CHANGED
package/scripts/setup.js
CHANGED
|
@@ -45,6 +45,22 @@ function getAgentTemplatePath(templateName) {
|
|
|
45
45
|
return path.join(TEMPLATES_DIR, templateName);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
// ── Environment Checks ───────────────────────────────────────────────────────
|
|
49
|
+
async function checkOpenClaw() {
|
|
50
|
+
process.stdout.write(chalk.cyan('🔍 Checking OpenClaw environment... '));
|
|
51
|
+
const result = runCommand('openclaw', ['--version']);
|
|
52
|
+
|
|
53
|
+
if (result.status === 0) {
|
|
54
|
+
const version = result.stdout.trim();
|
|
55
|
+
process.stdout.write(chalk.green(`Detected ${version}\n`));
|
|
56
|
+
return version;
|
|
57
|
+
} else {
|
|
58
|
+
process.stdout.write(chalk.yellow('OpenClaw not found in PATH.\n'));
|
|
59
|
+
console.log(chalk.dim(' Hint: Ensure it is installed via "npm install -g openclaw"\n'));
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
48
64
|
// ── Phase 1: Identity & Blueprint ─────────────────────────────────────────────
|
|
49
65
|
async function promptIdentity() {
|
|
50
66
|
console.log(chalk.cyan.bold('\n✨ Phase 1: Identity & Blueprint\n'));
|
|
@@ -650,7 +666,10 @@ async function main() {
|
|
|
650
666
|
try {
|
|
651
667
|
console.log(chalk.cyan.bold('\n⚡ AGI Farm — Advanced Setup Wizard v2.0\n'));
|
|
652
668
|
|
|
653
|
-
// 0.
|
|
669
|
+
// 0. Environment Check
|
|
670
|
+
await checkOpenClaw();
|
|
671
|
+
|
|
672
|
+
// 1. Lifecycle Check
|
|
654
673
|
const mode = await checkExistingInstall();
|
|
655
674
|
|
|
656
675
|
if (mode === 'update') {
|