offwatch 0.5.15 → 0.5.16

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/lib/downloader.js CHANGED
@@ -84,10 +84,11 @@ const downloadRelease = async (versionDir) => {
84
84
  fs.renameSync(tempPath, filePath);
85
85
  } else {
86
86
  // For compressed files, decompress
87
- await pipeline(fs.createReadStream(tempPath), tar.x({
88
- C: versionDir,
87
+ await tar.extract({
88
+ cwd: versionDir,
89
89
  strip: 1,
90
- }));
90
+ file: tempPath,
91
+ });
91
92
  fs.unlinkSync(tempPath);
92
93
  }
93
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "offwatch",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "description": "Offwatch — orchestrate AI agent teams to automate dev work",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,7 +42,7 @@
42
42
  "picocolors": "^1.1.1",
43
43
  "postgres": "^3.4.5",
44
44
  "superjson": "^2.2.1",
45
- "tar": "^6.2.0",
45
+ "tar": "^7.5.0",
46
46
  "undici": "^6.21.0",
47
47
  "ws": "^8.19.0",
48
48
  "zod": "^3.24.0"