@meltstudio/meltctl 4.99.0 → 4.101.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.
Files changed (2) hide show
  1. package/dist/index.js +14 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var CLI_VERSION;
14
14
  var init_version = __esm({
15
15
  "src/utils/version.ts"() {
16
16
  "use strict";
17
- CLI_VERSION = "4.99.0";
17
+ CLI_VERSION = "4.101.0";
18
18
  }
19
19
  });
20
20
 
@@ -1691,8 +1691,19 @@ function printBanner() {
1691
1691
  // src/commands/login.ts
1692
1692
  var LOGIN_TIMEOUT_MS = 6e4;
1693
1693
  function openBrowser(url) {
1694
- const command = process.platform === "darwin" ? "open" : process.platform === "win32" ? "start" : "xdg-open";
1695
- exec(`${command} "${url}"`);
1694
+ let command;
1695
+ if (process.platform === "darwin") {
1696
+ command = `open "${url}"`;
1697
+ } else if (process.platform === "win32") {
1698
+ command = `start "" "${url}"`;
1699
+ } else {
1700
+ command = `xdg-open "${url}"`;
1701
+ }
1702
+ exec(command, (err) => {
1703
+ if (err) {
1704
+ console.log(chalk5.dim(` Couldn't auto-open browser: ${err.message}`));
1705
+ }
1706
+ });
1696
1707
  }
1697
1708
  function findFreePort() {
1698
1709
  return new Promise((resolve, reject) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meltstudio/meltctl",
3
- "version": "4.99.0",
3
+ "version": "4.101.0",
4
4
  "description": "AI-first development tools for teams - set up AGENTS.md, Claude Code, Cursor, and OpenCode standards",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",