Skip to content

fix: improve error message when all slots are running#1

Merged
fogXploit merged 1 commit into
mainfrom
claude/review-code-visibility-011CUqTTbbFL7m8EBnCU2KuZ
Nov 5, 2025
Merged

fix: improve error message when all slots are running#1
fogXploit merged 1 commit into
mainfrom
claude/review-code-visibility-011CUqTTbbFL7m8EBnCU2KuZ

Conversation

@fogXploit
Copy link
Copy Markdown
Owner

Previously, when users had active slots but all were running, the system would show "No available slots found" which was misleading. This fix adds:

  1. New helper function all_slots_running() to detect when all slots are in use
  2. New menu show_all_slots_running_menu() with clearer messaging and options
  3. Updated main.sh to distinguish between:
    • No slots exist → shows "No available slots found"
    • All slots running → shows "All slots are currently in use"

The new message provides better guidance:

  • View all running slots with claudebox slots
  • Connect to specific slot with claudebox slot <n>
  • Create additional slot with claudebox create

Fixes issue where users with running slots couldn't understand why claudebox command was failing.

Previously, when users had active slots but all were running, the system
would show "No available slots found" which was misleading. This fix adds:

1. New helper function `all_slots_running()` to detect when all slots are in use
2. New menu `show_all_slots_running_menu()` with clearer messaging and options
3. Updated main.sh to distinguish between:
   - No slots exist → shows "No available slots found"
   - All slots running → shows "All slots are currently in use"

The new message provides better guidance:
- View all running slots with `claudebox slots`
- Connect to specific slot with `claudebox slot <n>`
- Create additional slot with `claudebox create`

Fixes issue where users with running slots couldn't understand why
`claudebox` command was failing.
@fogXploit fogXploit merged commit f25ae5f into main Nov 5, 2025
7 checks passed
@fogXploit fogXploit deleted the claude/review-code-visibility-011CUqTTbbFL7m8EBnCU2KuZ branch November 5, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants