@neat.is/core 0.4.29-dev.20260715 → 0.4.29

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.cjs CHANGED
@@ -14447,6 +14447,7 @@ var import_node_fs39 = require("fs");
14447
14447
  var import_node_http = __toESM(require("http"), 1);
14448
14448
  var import_node_net = __toESM(require("net"), 1);
14449
14449
  var import_node_path58 = __toESM(require("path"), 1);
14450
+ var import_node_url4 = require("url");
14450
14451
  var import_node_child_process3 = require("child_process");
14451
14452
  var import_node_readline = __toESM(require("readline"), 1);
14452
14453
  async function extractAndPersist(opts) {
@@ -14832,7 +14833,7 @@ function daemonLogPath(projectPath2) {
14832
14833
  return import_node_path58.default.join(projectPath2, "neat-out", "daemon.log");
14833
14834
  }
14834
14835
  function spawnDaemonDetached(spec) {
14835
- const here = import_node_path58.default.dirname(new URL(importMetaUrl).pathname);
14836
+ const here = import_node_path58.default.dirname((0, import_node_url4.fileURLToPath)(importMetaUrl));
14836
14837
  const candidates = [
14837
14838
  import_node_path58.default.join(here, "neatd.cjs"),
14838
14839
  import_node_path58.default.join(here, "neatd.js")
@@ -17108,7 +17109,7 @@ async function runQueryVerb(cmd, parsed) {
17108
17109
  }
17109
17110
  }
17110
17111
  var entry = process.argv[1] ?? "";
17111
- if (/[\\/]cli\.(?:cjs|js)$/.test(entry) || entry.endsWith("/cli") || entry.endsWith("/neat") || entry.endsWith("/neat.is")) {
17112
+ if (/[\\/](?:cli\.(?:cjs|js)|cli|neat|neat\.is)$/.test(entry)) {
17112
17113
  main().catch((err) => {
17113
17114
  console.error(err);
17114
17115
  process.exit(1);