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 +1 -1
- package/src/cli/router.js +3 -7
- package/src/core/installer.js +1 -0
package/package.json
CHANGED
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
|
|
327
|
-
|
|
322
|
+
`[ERROR] Failed to route prompt:`,
|
|
323
|
+
error.message,
|
|
328
324
|
);
|
|
329
325
|
process.exit(1);
|
|
330
326
|
}
|