offwatch 0.5.6 → 0.5.7

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.
Files changed (2) hide show
  1. package/bin/offwatch.js +2 -7
  2. package/package.json +1 -1
package/bin/offwatch.js CHANGED
@@ -8,10 +8,5 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
8
8
 
9
9
  const binPath = await loadCLIBinPath(__dirname);
10
10
 
11
- // On Windows, run with node. On Unix, run directly
12
- const isWindows = process.platform === "win32";
13
- if (isWindows) {
14
- spawn("node", [binPath], { stdio: "inherit" });
15
- } else {
16
- execSync(binPath, { stdio: "inherit" });
17
- }
11
+ // Run with node --input-type=module to handle ESM bundle
12
+ spawn("node", ["--input-type=module", binPath], { stdio: "inherit" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offwatch",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Offwatch — orchestrate AI agent teams to automate dev work",
5
5
  "type": "module",
6
6
  "bin": {