openxgen 2.2.0 → 2.2.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/dist/index.js CHANGED
@@ -3313,11 +3313,11 @@ async function agentRepl() {
3313
3313
  continue;
3314
3314
  }
3315
3315
  if (input === "/dashboard" || input === "/dash") {
3316
- console.log(chalk12.gray(`
3317
- \uB300\uC2DC\uBCF4\uB4DC\uB294 \uBCC4\uB3C4\uB85C \uC2E4\uD589\uD558\uC138\uC694:`));
3318
- console.log(chalk12.white(` $ xgen dash
3319
- `));
3320
- continue;
3316
+ rl.close();
3317
+ mcpManager?.stopAll();
3318
+ const { spawnSync } = await import("child_process");
3319
+ spawnSync(process.execPath, [process.argv[1], "dash"], { stdio: "inherit" });
3320
+ return;
3321
3321
  }
3322
3322
  messages.push({ role: "user", content: input });
3323
3323
  try {