zuppaclaude 1.3.0 → 1.3.2
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/lib/components/cloud.js +0 -5
- package/lib/installer.js +18 -5
- package/package.json +1 -1
package/lib/components/cloud.js
CHANGED
|
@@ -35,7 +35,6 @@ class CloudManager {
|
|
|
35
35
|
|
|
36
36
|
try {
|
|
37
37
|
if (this.platform.isMac) {
|
|
38
|
-
// Check if brew is available
|
|
39
38
|
if (this.platform.commandExists('brew')) {
|
|
40
39
|
this.platform.exec('brew install rclone', { silent: false, stdio: 'inherit' });
|
|
41
40
|
} else {
|
|
@@ -43,7 +42,6 @@ class CloudManager {
|
|
|
43
42
|
this.platform.exec('curl https://rclone.org/install.sh | sudo bash', { silent: false, stdio: 'inherit' });
|
|
44
43
|
}
|
|
45
44
|
} else if (this.platform.isLinux) {
|
|
46
|
-
// Try package managers in order
|
|
47
45
|
if (this.platform.commandExists('apt')) {
|
|
48
46
|
this.platform.exec('sudo apt update && sudo apt install -y rclone', { silent: false, stdio: 'inherit' });
|
|
49
47
|
} else if (this.platform.commandExists('dnf')) {
|
|
@@ -51,11 +49,9 @@ class CloudManager {
|
|
|
51
49
|
} else if (this.platform.commandExists('pacman')) {
|
|
52
50
|
this.platform.exec('sudo pacman -S --noconfirm rclone', { silent: false, stdio: 'inherit' });
|
|
53
51
|
} else {
|
|
54
|
-
// Fallback to curl installer
|
|
55
52
|
this.platform.exec('curl https://rclone.org/install.sh | sudo bash', { silent: false, stdio: 'inherit' });
|
|
56
53
|
}
|
|
57
54
|
} else if (this.platform.isWindows) {
|
|
58
|
-
// Windows - try winget first
|
|
59
55
|
if (this.platform.commandExists('winget')) {
|
|
60
56
|
this.platform.exec('winget install -e --id Rclone.Rclone', { silent: false, stdio: 'inherit' });
|
|
61
57
|
} else if (this.platform.commandExists('choco')) {
|
|
@@ -66,7 +62,6 @@ class CloudManager {
|
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
|
|
69
|
-
// Verify installation
|
|
70
65
|
if (this.isRcloneInstalled()) {
|
|
71
66
|
this.logger.success('rclone installed successfully');
|
|
72
67
|
return true;
|
package/lib/installer.js
CHANGED
|
@@ -56,15 +56,27 @@ class Installer {
|
|
|
56
56
|
useExisting = await this.prompts.confirm('Use previous settings?', true);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
// Step 2: Install SuperClaude
|
|
60
|
-
|
|
59
|
+
// Step 2: Install SuperClaude (optional)
|
|
60
|
+
let installSuperClaude = true;
|
|
61
|
+
if (useExisting && existingSettings.superClaude !== undefined) {
|
|
62
|
+
installSuperClaude = existingSettings.superClaude;
|
|
63
|
+
} else {
|
|
64
|
+
installSuperClaude = await this.prompts.confirm('Install SuperClaude (30+ slash commands)?', true);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
let scInstalled = false;
|
|
68
|
+
if (installSuperClaude) {
|
|
69
|
+
scInstalled = await this.superClaude.install();
|
|
70
|
+
} else {
|
|
71
|
+
this.logger.info('Skipping SuperClaude installation');
|
|
72
|
+
}
|
|
61
73
|
|
|
62
|
-
// Step 3: Install Spec Kit
|
|
74
|
+
// Step 3: Install Spec Kit (optional)
|
|
63
75
|
let installSpecKit = true;
|
|
64
76
|
if (useExisting && existingSettings.specKit !== undefined) {
|
|
65
77
|
installSpecKit = existingSettings.specKit;
|
|
66
78
|
} else {
|
|
67
|
-
installSpecKit = await this.prompts.confirm('Install Spec Kit (
|
|
79
|
+
installSpecKit = await this.prompts.confirm('Install Spec Kit (spec-driven development)?', true);
|
|
68
80
|
}
|
|
69
81
|
|
|
70
82
|
let skInstalled = false;
|
|
@@ -143,7 +155,7 @@ class Installer {
|
|
|
143
155
|
this.logger.step('Step 9/9: Verifying Installation');
|
|
144
156
|
console.log('');
|
|
145
157
|
|
|
146
|
-
this.superClaude.verify();
|
|
158
|
+
if (installSuperClaude) this.superClaude.verify();
|
|
147
159
|
if (installSpecKit) this.specKit.verify();
|
|
148
160
|
this.config.verify();
|
|
149
161
|
if (installClaudeZ) this.claudeZ.verify();
|
|
@@ -153,6 +165,7 @@ class Installer {
|
|
|
153
165
|
|
|
154
166
|
// Save settings
|
|
155
167
|
const newSettings = {
|
|
168
|
+
superClaude: installSuperClaude,
|
|
156
169
|
specKit: installSpecKit,
|
|
157
170
|
claudeZ: installClaudeZ,
|
|
158
171
|
claudeHUD: installClaudeHUD,
|