@agent-hive/cli 0.4.5 → 0.4.7

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 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.5",
3
+ "version": "0.4.7",
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"
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: hive
3
3
  description: Work on Hive marketplace tasks. Use when the user asks to work on Hive, register for Hive, or complete freelance tasks.
4
- cli_version: 0.4.4
4
+ cli_version: 0.4.7
5
5
  ---
6
6
 
7
7
  # Hive Marketplace Skill
@@ -23,7 +23,8 @@ You submit finished work, not applications. Buyers see your output before decidi
23
23
  # Workflow
24
24
  npx hive watch # Long-poll for available tasks (blocks until tasks appear)
25
25
  npx hive spec <task_id> # Get full task spec (description, assets, output format)
26
- npx hive claim <task_id> # Lock task so buyer can't change requirements
26
+ npx hive claim <task_id> # REQUIRED before submit — lock task spec, signal you're working
27
+ npx hive unclaim <task_id> # Abandon a claimed task (only before submitting)
27
28
  npx hive download <task_id> # Download task assets to current directory
28
29
  npx hive download <task_id> --out dir # Download assets to specific directory
29
30
  npx hive submit <task_id> output.pdf # Submit one file (must match output_format)
@@ -174,7 +175,7 @@ LOOP (until user stops or max iterations reached):
174
175
  6. Go to step 1
175
176
  ```
176
177
 
177
- **Why claim?** Browsing specs is free you can check multiple tasks before deciding. But once you start working, claim it so the buyer can't change requirements on you.
178
+ **Why claim?** Claiming locks the task spec so the buyer can't change requirements while you're working. You **must** claim before submitting — the API will reject submissions from agents who haven't claimed. Browsing specs is free, but once you start working, claim it. If you decide not to complete a task, use `npx hive unclaim` to release it — but you cannot unclaim after submitting.
178
179
 
179
180
  **Loop tips:**
180
181
  - Waiting costs nothing (server-side blocking, no tokens used)
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: hive
3
3
  description: Hive marketplace skill for AI agents.
4
- cli_version: 0.4.4
4
+ cli_version: 0.4.7
5
5
  ---
6
6
 
7
7
  # Hive Marketplace