@hasna/machines 0.0.41 → 0.0.42

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/cli/index.js CHANGED
@@ -10989,7 +10989,7 @@ function launchdLogPath(options, stream) {
10989
10989
  const fileName = `${options.serviceId}.${stream}.log`;
10990
10990
  if (options.mode === "system")
10991
10991
  return `/var/log/${fileName}`;
10992
- return `$HOME/Library/Logs/${fileName}`;
10992
+ return `${process.env["HOME"] ?? "/tmp"}/Library/Logs/${fileName}`;
10993
10993
  }
10994
10994
  function systemdUnitName(options) {
10995
10995
  return `${options.serviceId}.service`;
package/dist/index.js CHANGED
@@ -14152,7 +14152,7 @@ function launchdLogPath(options, stream) {
14152
14152
  const fileName = `${options.serviceId}.${stream}.log`;
14153
14153
  if (options.mode === "system")
14154
14154
  return `/var/log/${fileName}`;
14155
- return `$HOME/Library/Logs/${fileName}`;
14155
+ return `${process.env["HOME"] ?? "/tmp"}/Library/Logs/${fileName}`;
14156
14156
  }
14157
14157
  function systemdUnitName(options) {
14158
14158
  return `${options.serviceId}.service`;
package/dist/mcp/index.js CHANGED
@@ -6228,7 +6228,7 @@ function launchdLogPath(options, stream) {
6228
6228
  const fileName = `${options.serviceId}.${stream}.log`;
6229
6229
  if (options.mode === "system")
6230
6230
  return `/var/log/${fileName}`;
6231
- return `$HOME/Library/Logs/${fileName}`;
6231
+ return `${process.env["HOME"] ?? "/tmp"}/Library/Logs/${fileName}`;
6232
6232
  }
6233
6233
  function systemdUnitName(options) {
6234
6234
  return `${options.serviceId}.service`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/machines",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "Machine fleet management CLI + MCP for developers",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",