@auroraflow/code 0.0.18 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auroraflow/code",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "type": "module",
5
5
  "description": "Aurora launcher and sidecar for official Codex and Claude Code clients.",
6
6
  "repository": {
@@ -274,6 +274,9 @@ function npmCommandSpec() {
274
274
  return { command: process.execPath, args: [npmExecPath] };
275
275
  }
276
276
  if (npmExecPath) return { command: npmExecPath, args: [] };
277
+ if (process.platform === "win32") {
278
+ return { command: process.env.ComSpec || "cmd.exe", args: ["/d", "/c", "npm"] };
279
+ }
277
280
  const npmBin = findPathCommand("npm");
278
281
  if (!npmBin) {
279
282
  throw new Error("npm command was not found in PATH. Install Node.js/npm or add npm to PATH, then retry.");