codebuff 1.0.533 → 1.0.535

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/index.js CHANGED
@@ -114,21 +114,20 @@ function getCurrentVersion() {
114
114
  if (!fs.existsSync(CONFIG.binaryPath)) return null
115
115
 
116
116
  try {
117
- return new Promise((resolve, reject) => {
117
+ return new Promise((resolve) => {
118
118
  const child = spawn(CONFIG.binaryPath, ['--version'], {
119
119
  cwd: os.homedir(),
120
120
  stdio: 'pipe',
121
121
  })
122
122
 
123
123
  let output = ''
124
- let errorOutput = ''
125
124
 
126
125
  child.stdout.on('data', (data) => {
127
126
  output += data.toString()
128
127
  })
129
128
 
130
- child.stderr.on('data', (data) => {
131
- errorOutput += data.toString()
129
+ child.stderr.on('data', () => {
130
+ // Ignore stderr output
132
131
  })
133
132
 
134
133
  const timeout = setTimeout(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebuff",
3
- "version": "1.0.533",
3
+ "version": "1.0.535",
4
4
  "description": "AI coding agent",
5
5
  "license": "MIT",
6
6
  "bin": {
package/postinstall.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
- const path = require('path');
5
4
  const os = require('os');
5
+ const path = require('path');
6
6
 
7
7
  // Clean up old binary
8
8
  const binaryPath = path.join(