zuppaclaude 1.3.10 → 1.3.11

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.
@@ -7,7 +7,8 @@ const path = require('path');
7
7
  const { Logger } = require('../utils/logger');
8
8
  const { Platform } = require('../utils/platform');
9
9
 
10
- const CONFIG_URL = 'https://raw.githubusercontent.com/hasankaantan/zuppaclaude/main/assets/CLAUDE.md';
10
+ // Bundled CLAUDE.md path (in npm package)
11
+ const BUNDLED_CONFIG = path.join(__dirname, '../../assets/CLAUDE.md');
11
12
 
12
13
  class ConfigInstaller {
13
14
  constructor() {
@@ -40,26 +41,22 @@ class ConfigInstaller {
40
41
  this.logger.info(`Existing config backed up to: ${backupPath}`);
41
42
  }
42
43
 
43
- // Download CLAUDE.md
44
- this.logger.info('Downloading CLAUDE.md...');
45
- await this.platform.download(CONFIG_URL, this.configPath);
44
+ // Copy bundled CLAUDE.md
45
+ if (fs.existsSync(BUNDLED_CONFIG)) {
46
+ fs.copyFileSync(BUNDLED_CONFIG, this.configPath);
47
+ this.logger.success('CLAUDE.md installed');
48
+ return true;
49
+ }
46
50
 
47
- this.logger.success('CLAUDE.md installed');
51
+ // Fallback if bundled file not found
52
+ this.logger.warning('Bundled config not found, creating fallback...');
53
+ const fallbackConfig = this.getFallbackConfig();
54
+ fs.writeFileSync(this.configPath, fallbackConfig, 'utf8');
55
+ this.logger.success('Fallback CLAUDE.md created');
48
56
  return true;
49
57
  } catch (error) {
50
58
  this.logger.error(`Failed to install config: ${error.message}`);
51
-
52
- // Create a basic fallback config
53
- try {
54
- this.logger.info('Creating fallback configuration...');
55
- const fallbackConfig = this.getFallbackConfig();
56
- fs.writeFileSync(this.configPath, fallbackConfig, 'utf8');
57
- this.logger.success('Fallback CLAUDE.md created');
58
- return true;
59
- } catch (fallbackError) {
60
- this.logger.error(`Failed to create fallback config: ${fallbackError.message}`);
61
- return false;
62
- }
59
+ return false;
63
60
  }
64
61
  }
65
62
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zuppaclaude",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "Claude Code power-up installer - SuperClaude + Spec Kit + Claude-Z + Claude HUD",
5
5
  "main": "lib/index.js",
6
6
  "bin": {