@hasna/machines 0.0.38 → 0.0.39

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.
@@ -6949,12 +6949,12 @@ var {
6949
6949
  } = import__.default;
6950
6950
 
6951
6951
  // src/version.ts
6952
- import { existsSync, readFileSync } from "fs";
6952
+ import { existsSync, readFileSync, realpathSync } from "fs";
6953
6953
  import { dirname, join } from "path";
6954
6954
  import { fileURLToPath } from "url";
6955
6955
  function getPackageVersion() {
6956
6956
  try {
6957
- const here = dirname(fileURLToPath(import.meta.url));
6957
+ const here = dirname(realpathSync(fileURLToPath(import.meta.url)));
6958
6958
  const candidates = [join(here, "..", "package.json"), join(here, "..", "..", "package.json")];
6959
6959
  const pkgPath = candidates.find((candidate) => existsSync(candidate));
6960
6960
  if (!pkgPath) {
package/dist/cli/index.js CHANGED
@@ -3173,12 +3173,12 @@ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
3173
3173
  var source_default = chalk;
3174
3174
 
3175
3175
  // src/version.ts
3176
- import { existsSync, readFileSync } from "fs";
3176
+ import { existsSync, readFileSync, realpathSync } from "fs";
3177
3177
  import { dirname, join } from "path";
3178
3178
  import { fileURLToPath } from "url";
3179
3179
  function getPackageVersion() {
3180
3180
  try {
3181
- const here = dirname(fileURLToPath(import.meta.url));
3181
+ const here = dirname(realpathSync(fileURLToPath(import.meta.url)));
3182
3182
  const candidates = [join(here, "..", "package.json"), join(here, "..", "..", "package.json")];
3183
3183
  const pkgPath = candidates.find((candidate) => existsSync(candidate));
3184
3184
  if (!pkgPath) {
package/dist/consumer.js CHANGED
@@ -4568,12 +4568,12 @@ function detectCurrentMachineManifest() {
4568
4568
  }
4569
4569
 
4570
4570
  // src/version.ts
4571
- import { existsSync as existsSync3, readFileSync as readFileSync2 } from "fs";
4571
+ import { existsSync as existsSync3, readFileSync as readFileSync2, realpathSync } from "fs";
4572
4572
  import { dirname as dirname3, join as join2 } from "path";
4573
4573
  import { fileURLToPath } from "url";
4574
4574
  function getPackageVersion() {
4575
4575
  try {
4576
- const here = dirname3(fileURLToPath(import.meta.url));
4576
+ const here = dirname3(realpathSync(fileURLToPath(import.meta.url)));
4577
4577
  const candidates = [join2(here, "..", "package.json"), join2(here, "..", "..", "package.json")];
4578
4578
  const pkgPath = candidates.find((candidate) => existsSync3(candidate));
4579
4579
  if (!pkgPath) {
package/dist/index.js CHANGED
@@ -11408,12 +11408,12 @@ import { arch as arch2, hostname as hostname3, platform as platform2, userInfo a
11408
11408
  import { spawnSync } from "child_process";
11409
11409
 
11410
11410
  // src/version.ts
11411
- import { existsSync as existsSync3, readFileSync as readFileSync2 } from "fs";
11411
+ import { existsSync as existsSync3, readFileSync as readFileSync2, realpathSync } from "fs";
11412
11412
  import { dirname as dirname3, join as join2 } from "path";
11413
11413
  import { fileURLToPath } from "url";
11414
11414
  function getPackageVersion() {
11415
11415
  try {
11416
- const here = dirname3(fileURLToPath(import.meta.url));
11416
+ const here = dirname3(realpathSync(fileURLToPath(import.meta.url)));
11417
11417
  const candidates = [join2(here, "..", "package.json"), join2(here, "..", "..", "package.json")];
11418
11418
  const pkgPath = candidates.find((candidate) => existsSync3(candidate));
11419
11419
  if (!pkgPath) {
package/dist/mcp/index.js CHANGED
@@ -19,12 +19,12 @@ var __export = (target, all) => {
19
19
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
20
20
 
21
21
  // src/version.ts
22
- import { existsSync, readFileSync } from "fs";
22
+ import { existsSync, readFileSync, realpathSync } from "fs";
23
23
  import { dirname, join } from "path";
24
24
  import { fileURLToPath } from "url";
25
25
  function getPackageVersion() {
26
26
  try {
27
- const here = dirname(fileURLToPath(import.meta.url));
27
+ const here = dirname(realpathSync(fileURLToPath(import.meta.url)));
28
28
  const candidates = [join(here, "..", "package.json"), join(here, "..", "..", "package.json")];
29
29
  const pkgPath = candidates.find((candidate) => existsSync(candidate));
30
30
  if (!pkgPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/machines",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "description": "Machine fleet management CLI + MCP for developers",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",