agi-farm 3.3.1 → 3.3.2

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.
@@ -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.1",
5
+ "version": "3.3.2",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agi-farm",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "Multi-agent AI team builder for OpenClaw — bootstrap complete teams with Paperclip dashboard, auto-dispatcher, and infrastructure",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
package/scripts/setup.js CHANGED
@@ -45,6 +45,21 @@ function getAgentTemplatePath(templateName) {
45
45
  return path.join(TEMPLATES_DIR, templateName);
46
46
  }
47
47
 
48
+ // ── Environment Checks ───────────────────────────────────────────────────────
49
+ async function checkOpenClaw() {
50
+ const spinner = ora('Checking OpenClaw environment...').start();
51
+ const result = runCommand('openclaw', ['--version']);
52
+
53
+ if (result.status === 0) {
54
+ const version = result.stdout.trim();
55
+ spinner.succeed(`OpenClaw detected: ${chalk.green(version)}`);
56
+ return version;
57
+ } else {
58
+ spinner.warn(chalk.yellow('OpenClaw not found in PATH. Ensure it is installed: npm install -g openclaw'));
59
+ return null;
60
+ }
61
+ }
62
+
48
63
  // ── Phase 1: Identity & Blueprint ─────────────────────────────────────────────
49
64
  async function promptIdentity() {
50
65
  console.log(chalk.cyan.bold('\n✨ Phase 1: Identity & Blueprint\n'));
@@ -650,7 +665,10 @@ async function main() {
650
665
  try {
651
666
  console.log(chalk.cyan.bold('\n⚡ AGI Farm — Advanced Setup Wizard v2.0\n'));
652
667
 
653
- // 0. Lifecycle Check
668
+ // 0. Environment Check
669
+ await checkOpenClaw();
670
+
671
+ // 1. Lifecycle Check
654
672
  const mode = await checkExistingInstall();
655
673
 
656
674
  if (mode === 'update') {