@beads/bd 0.30.6 → 0.30.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beads/bd",
3
- "version": "0.30.6",
3
+ "version": "0.30.7",
4
4
  "description": "Beads issue tracker - lightweight memory system for coding agents with native binary support",
5
5
  "main": "bin/bd.js",
6
6
  "bin": {
@@ -73,8 +73,12 @@ function downloadFile(url, dest) {
73
73
  response.pipe(file);
74
74
 
75
75
  file.on('finish', () => {
76
- file.close();
77
- resolve();
76
+ // Wait for file.close() to complete before resolving
77
+ // This is critical on Windows where the file may still be locked
78
+ file.close((err) => {
79
+ if (err) reject(err);
80
+ else resolve();
81
+ });
78
82
  });
79
83
  });
80
84