@sulala/agent-os 0.1.25 → 0.1.26

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.
Files changed (2) hide show
  1. package/dist/cli.js +9 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -30554,14 +30554,21 @@ async function cmdOnboard() {
30554
30554
  const started = await startServerDaemonIfNeeded();
30555
30555
  if (started) {
30556
30556
  console.log("Server starting in background. Use 'sulala stop' to stop.");
30557
- await new Promise((r) => setTimeout(r, 1500));
30558
30557
  }
30559
- openDashboard();
30560
30558
  const token = await getDashboardSecret();
30561
30559
  console.log("");
30562
30560
  console.log("Dashboard login token (copy and paste in the dashboard):");
30563
30561
  console.log(token);
30564
30562
  console.log("");
30563
+ const readline = await import("readline");
30564
+ const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
30565
+ const answer = await new Promise((resolve5) => rl.question("Go to dashboard? (y/n): ", resolve5));
30566
+ rl.close();
30567
+ if (/^y(es)?$/i.test(answer.trim())) {
30568
+ if (started)
30569
+ await new Promise((r) => setTimeout(r, 1500));
30570
+ openDashboard();
30571
+ }
30565
30572
  }
30566
30573
  var NPM_PACKAGE = "@sulala/agent-os";
30567
30574
  async function cmdUpdate() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sulala/agent-os",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },