openxgen 2.1.1 → 2.2.0

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,18 +3313,11 @@ async function agentRepl() {
3313
3313
  continue;
3314
3314
  }
3315
3315
  if (input === "/dashboard" || input === "/dash") {
3316
- console.log(chalk12.gray(" \uB300\uC2DC\uBCF4\uB4DC \uC5F4\uAE30...\n"));
3317
- rl.pause();
3318
- mcpManager?.stopAll();
3319
- try {
3320
- const { startInkDashboard: startInkDashboard2 } = await Promise.resolve().then(() => (init_InkDashboard(), InkDashboard_exports));
3321
- await startInkDashboard2();
3322
- } catch (err) {
3323
- console.log(chalk12.red(` \uB300\uC2DC\uBCF4\uB4DC \uC624\uB958: ${err.message}
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
3324
3319
  `));
3325
- }
3326
- rl.close();
3327
- return;
3320
+ continue;
3328
3321
  }
3329
3322
  messages.push({ role: "user", content: input });
3330
3323
  try {
@@ -3604,7 +3597,7 @@ ${result.answer}
3604
3597
  }
3605
3598
 
3606
3599
  // src/index.ts
3607
- var VERSION = "2.0.0";
3600
+ var VERSION = "2.2.0";
3608
3601
  var LOGO = chalk15.cyan(`
3609
3602
  \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588
3610
3603
  \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588
@@ -3651,6 +3644,10 @@ registerProviderCommand(program);
3651
3644
  registerAgentCommand(program);
3652
3645
  registerDocCommand(program);
3653
3646
  registerOntologyCommand(program);
3647
+ program.command("dash").alias("dashboard").description("XGEN TUI \uB300\uC2DC\uBCF4\uB4DC").action(async () => {
3648
+ const { startInkDashboard: startInkDashboard2 } = await Promise.resolve().then(() => (init_InkDashboard(), InkDashboard_exports));
3649
+ await startInkDashboard2();
3650
+ });
3654
3651
  if (process.argv.length <= 2) {
3655
3652
  agentRepl().catch((err) => {
3656
3653
  console.error(chalk15.red(`\uC624\uB958: ${err.message}`));