@getdial/cli 0.13.0 → 0.13.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.
@@ -74,7 +74,11 @@ export function systemctlStatus() {
74
74
  return { running: active, pid: active && pid > 0 ? pid : null };
75
75
  }
76
76
  catch (err) {
77
- logger.warn({ err }, "systemctl show failed");
77
+ // Best-effort status probe. Any failure systemctl missing, no user session
78
+ // bus (sandbox/container/CI), unit unknown — just means "not running" for our
79
+ // purposes. Log at debug so we never dump a stack trace to a user's stderr;
80
+ // run with DIAL_LOG_LEVEL=debug to see it.
81
+ logger.debug({ err }, "systemctl show failed; treating listen service as not running");
78
82
  return { running: false, pid: null };
79
83
  }
80
84
  }
@@ -84,7 +88,8 @@ export function lingerEnabled(user) {
84
88
  return /Linger=yes/.test(out);
85
89
  }
86
90
  catch (err) {
87
- logger.warn({ err, user }, "loginctl show-user failed; assuming linger disabled");
91
+ // Best-effort; debug only (see systemctlStatus). Assume linger disabled.
92
+ logger.debug({ err, user }, "loginctl show-user failed; assuming linger disabled");
88
93
  return false;
89
94
  }
90
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getdial/cli",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "Dial CLI — install, sign up, and run the local listen service.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/skills.tar.gz CHANGED
Binary file