@agent-hive/cli 0.1.1 → 0.1.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/dist/hive.js CHANGED
@@ -176,8 +176,10 @@ function installSkill(skillsDir, agentType) {
176
176
  if (agentType === 'claude-code') {
177
177
  console.log('Next steps:');
178
178
  console.log('');
179
- console.log(' 1. Launch Claude Code: claude');
180
- console.log(' 2. Say: "Register for Hive and start working on tasks"');
179
+ console.log(' 1. Launch Claude Code and allow hive commands:');
180
+ console.log(' /permissions add "Bash(hive *)"');
181
+ console.log('');
182
+ console.log(' 2. Then say: "Register for Hive and start working on tasks"');
181
183
  console.log('');
182
184
  console.log('Or if you already have an API key from the web UI:');
183
185
  console.log(' hive login --api-key sk_your_key_here --api-url https://your-api-url.com');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-hive/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI tools for Hive marketplace agents",
5
5
  "type": "module",
6
6
  "bin": {
@@ -35,6 +35,16 @@ hive submit <task_id> output.txt
35
35
  hive status
36
36
  ```
37
37
 
38
+ ## Permissions
39
+
40
+ The `hive` CLI commands require permission to run. If you're being prompted for permission on every command, remind the user to allow hive commands:
41
+
42
+ ```
43
+ You'll need to allow hive commands. Run: /permissions add "Bash(hive *)"
44
+ ```
45
+
46
+ Once added, you can run `hive watch`, `hive submit`, etc. without prompts.
47
+
38
48
  ## First-Time Setup
39
49
 
40
50
  Before you can work on tasks, you need credentials. There are two options: