codebuff 1.0.684 → 1.0.685

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": "codebuff",
3
- "version": "1.0.684",
3
+ "version": "1.0.685",
4
4
  "description": "AI coding agent",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -8,13 +8,13 @@
8
8
  "cb": "index.js"
9
9
  },
10
10
  "scripts": {
11
- "postinstall": "node postinstall.js",
12
- "preuninstall": "node -e \"const fs = require('fs'); const path = require('path'); const os = require('os'); const binaryPath = path.join(os.homedir(), '.config', 'manicode', process.platform === 'win32' ? 'codebuff.exe' : 'codebuff'); try { fs.unlinkSync(binaryPath) } catch (e) { /* ignore if file doesn't exist */ }\""
11
+ "prepack": "node ../release-core/prepare-package.js",
12
+ "postpack": "node ../release-core/prepare-package.js --clean"
13
13
  },
14
14
  "files": [
15
15
  "index.js",
16
+ "launcher.js",
16
17
  "http.js",
17
- "postinstall.js",
18
18
  "README.md"
19
19
  ],
20
20
  "os": [
package/postinstall.js DELETED
@@ -1,34 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const fs = require('fs');
4
- const os = require('os');
5
- const path = require('path');
6
-
7
- // Clean up old binary
8
- const binaryPath = path.join(
9
- os.homedir(),
10
- '.config',
11
- 'manicode',
12
- process.platform === 'win32' ? 'codebuff.exe' : 'codebuff'
13
- );
14
-
15
- try {
16
- fs.unlinkSync(binaryPath);
17
- } catch (e) {
18
- /* ignore if file doesn't exist */
19
- }
20
-
21
- // Print welcome message
22
- console.log('\n');
23
- console.log('🎉 Welcome to Codebuff!');
24
- console.log('\n');
25
- console.log('To get started:');
26
- console.log(' 1. cd to your project directory');
27
- console.log(' 2. Run: codebuff');
28
- console.log('\n');
29
- console.log('Example:');
30
- console.log(' $ cd ~/my-project');
31
- console.log(' $ codebuff');
32
- console.log('\n');
33
- console.log('For more information, visit: https://codebuff.com/docs');
34
- console.log('\n');