agentic-numerical-control 0.1.1 → 0.1.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.
@@ -32,7 +32,9 @@ export function enableAutostart(cliPath) {
32
32
  execFileSync("reg", ["add", RUN_KEY, "/v", PRODUCT.displayName, "/t", "REG_SZ", "/d", `conhost.exe --headless "${LAUNCHER}"`, "/f"], {
33
33
  stdio: "ignore",
34
34
  });
35
- spawn("conhost.exe", ["--headless", LAUNCHER], { detached: true, stdio: "ignore", windowsHide: true }).unref();
35
+ // Start now as well. A detached conhost exits at once (it has no console to
36
+ // host), so run Node itself detached; it needs no console and logs to file.
37
+ spawn(cmd[0], cmd.slice(1), { detached: true, stdio: "ignore", windowsHide: true }).unref();
36
38
  return "Windows sign-in startup entry (no admin needed)";
37
39
  }
38
40
  if (process.platform === "darwin") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-numerical-control",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Agentic Numerical Control: see and run CNC jobs from your AI assistant. A 3D toolpath viewer, live machine status and job control for CNCjs/GRBL machines.",
5
5
  "scripts": {
6
6
  "build": "tsc --noEmit -p tsconfig.app.json && cross-env INPUT=viewer.html vite build && tsc -p tsconfig.build.json",