stigmergy 1.1.0 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stigmergy",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Stigmergy CLI - Multi-Agents Cross-AI CLI Tools Collaboration System",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/cli/router.js CHANGED
@@ -33,6 +33,7 @@ async function main() {
33
33
  // Create instances
34
34
  const memory = new MemoryManager();
35
35
  const installer = new StigmergyInstaller();
36
+ const router = new SmartRouter();
36
37
 
37
38
  // Handle help command early
38
39
  if (
@@ -317,14 +318,9 @@ async function main() {
317
318
  process.exit(1);
318
319
  }
319
320
  } catch (error) {
320
- const cliError = await errorHandler.handleCLIError(
321
- route.tool,
322
- error,
323
- prompt,
324
- );
325
321
  console.log(
326
- `[ERROR] Failed to execute ${route.tool}:`,
327
- cliError.message,
322
+ `[ERROR] Failed to route prompt:`,
323
+ error.message,
328
324
  );
329
325
  process.exit(1);
330
326
  }
@@ -1,4 +1,5 @@
1
1
  const path = require('path');
2
+ const fs = require('fs/promises');
2
3
  const os = require('os');
3
4
  const { spawnSync } = require('child_process');
4
5
  const SmartRouter = require('./smart_router');