offwatch 0.5.3 → 0.5.5

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/bin/offwatch.js CHANGED
@@ -1,6 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { loadCLIBinPath } from "./lib/downloader.js";
2
+ import { loadCLIBinPath } from "../lib/downloader.js";
3
3
  import { execSync } from "child_process";
4
+ import { dirname } from "path";
5
+ import { fileURLToPath } from "url";
6
+
7
+ const __dirname = dirname(fileURLToPath(import.meta.url));
4
8
 
5
9
  const binPath = await loadCLIBinPath(__dirname);
6
10
  execSync(binPath, { stdio: "inherit" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offwatch",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Offwatch — orchestrate AI agent teams to automate dev work",
5
5
  "type": "module",
6
6
  "bin": {
package/postinstall.js CHANGED
@@ -1,4 +1,8 @@
1
1
  import { loadCLIBinPath } from "./lib/downloader.js";
2
+ import { dirname } from "path";
3
+ import { fileURLToPath } from "url";
4
+
5
+ const __dirname = dirname(fileURLToPath(import.meta.url));
2
6
 
3
7
  // Dumb check to see if dep. Want to skip this script if in workspace
4
8
  if (process.cwd().includes("node_modules")) {