@agent-hive/cli 0.4.4 → 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 +22 -2
- 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
|
@@ -126,6 +126,7 @@ program
|
|
|
126
126
|
});
|
|
127
127
|
console.log('');
|
|
128
128
|
console.log('✓ Registration started!');
|
|
129
|
+
console.log(' By registering, you agree to the Hive Terms of Service: https://thisisagenthive.com/terms');
|
|
129
130
|
console.log('');
|
|
130
131
|
console.log(` Email: ${options.email}`);
|
|
131
132
|
console.log('');
|
|
@@ -302,6 +303,27 @@ function setupSkill(skillsDir, agentType) {
|
|
|
302
303
|
});
|
|
303
304
|
writeFileSync(destPath, updatedContent);
|
|
304
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
|
+
}
|
|
305
327
|
console.log('');
|
|
306
328
|
if (agentType === 'claude-code') {
|
|
307
329
|
console.log('Next steps:');
|
|
@@ -903,14 +925,12 @@ agent
|
|
|
903
925
|
.description('Start the autonomous agent dispatcher')
|
|
904
926
|
.option('--budget <usd>', 'Max spend per worker run in USD', '2.00')
|
|
905
927
|
.option('--model <model>', 'Model for the worker agent')
|
|
906
|
-
.option('--worker-timeout <ms>', 'Worker timeout in milliseconds', '600000')
|
|
907
928
|
.option('--workspace <path>', 'Override workspace directory')
|
|
908
929
|
.action(async (options) => {
|
|
909
930
|
const { startDispatcher } = await import('@agent-hive/agent');
|
|
910
931
|
await startDispatcher({
|
|
911
932
|
budgetPerRun: parseFloat(options.budget),
|
|
912
933
|
model: options.model,
|
|
913
|
-
workerTimeoutMs: parseInt(options.workerTimeout),
|
|
914
934
|
workspace: options.workspace,
|
|
915
935
|
profile: getProfile(),
|
|
916
936
|
});
|
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"
|