@cloudstreamsoftware/claude-tools 1.2.2 → 1.2.3
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/bin/cloudstream-setup.js +30 -0
- package/package.json +1 -1
package/bin/cloudstream-setup.js
CHANGED
|
@@ -450,6 +450,36 @@ async function setup() {
|
|
|
450
450
|
// Lib directory may not exist, that's ok
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
+
// Copy commands directory (for /health-check, /plan, etc.)
|
|
454
|
+
const packageCommandsDir = path.join(__dirname, '..', 'commands');
|
|
455
|
+
const targetCommandsDir = path.join(CONFIG.claudeDir, 'commands');
|
|
456
|
+
try {
|
|
457
|
+
await copyConfigWithMerge(packageCommandsDir, targetCommandsDir);
|
|
458
|
+
logSuccess('Commands installed');
|
|
459
|
+
} catch (error) {
|
|
460
|
+
logWarning(`Commands could not be installed: ${error.message}`);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// Copy skills directory (for skill injection)
|
|
464
|
+
const packageSkillsDir = path.join(__dirname, '..', 'skills');
|
|
465
|
+
const targetSkillsDir = path.join(CONFIG.claudeDir, 'skills');
|
|
466
|
+
try {
|
|
467
|
+
await copyConfigWithMerge(packageSkillsDir, targetSkillsDir);
|
|
468
|
+
logSuccess('Skills installed');
|
|
469
|
+
} catch (error) {
|
|
470
|
+
logWarning(`Skills could not be installed: ${error.message}`);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
// Copy agents directory (for agent definitions)
|
|
474
|
+
const packageAgentsDir = path.join(__dirname, '..', 'agents');
|
|
475
|
+
const targetAgentsDir = path.join(CONFIG.claudeDir, 'agents');
|
|
476
|
+
try {
|
|
477
|
+
await copyConfigWithMerge(packageAgentsDir, targetAgentsDir);
|
|
478
|
+
logSuccess('Agents installed');
|
|
479
|
+
} catch (error) {
|
|
480
|
+
logWarning(`Agents could not be installed: ${error.message}`);
|
|
481
|
+
}
|
|
482
|
+
|
|
453
483
|
// Step 6: Configure MCP server
|
|
454
484
|
logStep('6/7', 'Configuring MCP server connection...');
|
|
455
485
|
await configureMcpServer(licenseKey);
|
package/package.json
CHANGED