codebuff 1.0.505 → 1.0.506

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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -298,7 +298,8 @@ async function downloadBinary(version) {
298
298
  }
299
299
 
300
300
  async function ensureBinaryExists() {
301
- if ((await getCurrentVersion()) !== null) {
301
+ const currentVersion = await getCurrentVersion()
302
+ if (currentVersion !== null && currentVersion !== 'error') {
302
303
  return
303
304
  }
304
305
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuff",
3
- "version": "1.0.505",
3
+ "version": "1.0.506",
4
4
  "description": "AI coding agent",
5
5
  "license": "MIT",
6
6
  "bin": {