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 +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
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 {
|