@devness/useai-cli 0.6.0 → 0.6.2

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 +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ var SYSTEMD_SERVICE_PATH = join(homedir(), ".config", "systemd", "user", "useai-
30
30
  var WINDOWS_STARTUP_SCRIPT_PATH = join(process.env["APPDATA"] ?? join(homedir(), "AppData", "Roaming"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "useai-daemon.vbs");
31
31
 
32
32
  // ../shared/dist/constants/version.js
33
- var VERSION = "0.6.0";
33
+ var VERSION = "0.6.2";
34
34
 
35
35
  // ../shared/dist/constants/defaults.js
36
36
  var DEFAULT_CONFIG = {
@@ -4841,9 +4841,10 @@ async function ensureDaemon(options) {
4841
4841
  npxArgs.push("--prefer-online");
4842
4842
  npxArgs.push("@devness/useai@latest", "daemon", "--port", String(DAEMON_PORT));
4843
4843
  const child = spawn(npxPath, npxArgs, {
4844
- detached: true,
4844
+ detached: !isWindows2,
4845
4845
  stdio: "ignore",
4846
- shell: isWindows2
4846
+ shell: isWindows2,
4847
+ windowsHide: true
4847
4848
  });
4848
4849
  child.unref();
4849
4850
  const start = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devness/useai-cli",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "CLI tool for useai.dev — stats, sync, publish your AI development workflow",
5
5
  "author": "nabeelkausari",
6
6
  "license": "MIT",