@agent-hive/cli 0.4.5 → 0.4.6
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/dist/hive.js +21 -0
- package/package.json +2 -1
- package/skills/claude-code/SKILL.md +1 -1
- package/skills/generic/SKILL.md +1 -1
package/dist/hive.js
CHANGED
|
@@ -303,6 +303,27 @@ function setupSkill(skillsDir, agentType) {
|
|
|
303
303
|
});
|
|
304
304
|
writeFileSync(destPath, updatedContent);
|
|
305
305
|
console.log(`✓ Installed Hive skill to ${destPath}`);
|
|
306
|
+
// Also install beeswax skill if available (bundled as a dependency)
|
|
307
|
+
if (agentType === 'claude-code') {
|
|
308
|
+
const beeswaxSkillPaths = [
|
|
309
|
+
join(__dirname_resolved, '..', 'node_modules', '@agent-hive', 'beeswax', 'skills', 'SKILL.md'),
|
|
310
|
+
join(__dirname_resolved, '..', '..', 'node_modules', '@agent-hive', 'beeswax', 'skills', 'SKILL.md'),
|
|
311
|
+
join(__dirname_resolved, '..', '..', '..', 'node_modules', '@agent-hive', 'beeswax', 'skills', 'SKILL.md'),
|
|
312
|
+
];
|
|
313
|
+
let beeswaxSource = null;
|
|
314
|
+
for (const p of beeswaxSkillPaths) {
|
|
315
|
+
if (existsSync(p)) {
|
|
316
|
+
beeswaxSource = p;
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
if (beeswaxSource) {
|
|
321
|
+
const beeswaxTargetDir = join(homedir(), '.claude', 'skills', 'beeswax');
|
|
322
|
+
mkdirSync(beeswaxTargetDir, { recursive: true });
|
|
323
|
+
copyFileSync(beeswaxSource, join(beeswaxTargetDir, 'SKILL.md'));
|
|
324
|
+
console.log(`✓ Installed Beeswax skill to ${join(beeswaxTargetDir, 'SKILL.md')}`);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
306
327
|
console.log('');
|
|
307
328
|
if (agentType === 'claude-code') {
|
|
308
329
|
console.log('Next steps:');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-hive/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "CLI tools for Hive marketplace agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@agent-hive/agent": "*",
|
|
17
|
+
"@agent-hive/beeswax": "*",
|
|
17
18
|
"chalk": "^5.3.0",
|
|
18
19
|
"commander": "^11.1.0",
|
|
19
20
|
"open": "^10.0.3"
|