aidevops 3.1.68 → 3.1.70

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/README.md CHANGED
@@ -366,6 +366,52 @@ See `.agents/tools/git/opencode-github-security.md` for the full security docume
366
366
  - **[Tabby](https://tabby.sh/)** - Recommended terminal. Colour-coded Profiles per project/repo, **auto-syncs tab title with git repo/branch.**
367
367
  - **[Zed](https://zed.dev/)** - Recommended editor. High-performance with AI integration (use with the OpenCode Agent Extension).
368
368
 
369
+ ### Troubleshooting Auth
370
+
371
+ If you see **"Anthropic Key Missing"**, **"OpenAI Key Missing"**, or the model stops responding, run these commands from any terminal — no working model session required.
372
+
373
+ **Step 1 — Check pool health**
374
+
375
+ ```bash
376
+ aidevops model-accounts-pool status # counts: available / rate-limited / auth-error
377
+ aidevops model-accounts-pool check # live token validity test per account
378
+ ```
379
+
380
+ **Step 2 — Fix based on what you see**
381
+
382
+ | Symptom | Command |
383
+ |---------|---------|
384
+ | Account shows `rate-limited` | `aidevops model-accounts-pool rotate anthropic` |
385
+ | All accounts in cooldown | `aidevops model-accounts-pool reset-cooldowns` |
386
+ | Account shows `auth-error` | `aidevops model-accounts-pool add anthropic` (re-auth) |
387
+ | Pool is empty (no accounts) | `aidevops model-accounts-pool add anthropic` |
388
+ | Recently re-authed, still broken | `aidevops model-accounts-pool assign-pending anthropic` |
389
+
390
+ **Step 3 — If still broken, re-add the account**
391
+
392
+ ```bash
393
+ aidevops model-accounts-pool add anthropic # Claude Pro/Max — opens browser OAuth
394
+ aidevops model-accounts-pool add openai # ChatGPT Plus/Pro
395
+ aidevops model-accounts-pool add cursor # Cursor Pro (reads from local IDE)
396
+ aidevops model-accounts-pool import claude-cli # Import from existing Claude CLI auth
397
+ ```
398
+
399
+ Restart OpenCode after any `add`, `rotate`, or `reset-cooldowns` to pick up the new credentials.
400
+
401
+ **Full command reference**
402
+
403
+ ```bash
404
+ aidevops model-accounts-pool status # Pool health at a glance
405
+ aidevops model-accounts-pool list # Per-account detail + expiry
406
+ aidevops model-accounts-pool check # Live API validity test
407
+ aidevops model-accounts-pool rotate [provider] # Switch to next available account NOW
408
+ aidevops model-accounts-pool reset-cooldowns # Clear all rate-limit cooldowns
409
+ aidevops model-accounts-pool assign-pending <p># Assign stranded pending token
410
+ aidevops model-accounts-pool remove <p> <email># Remove an account
411
+ ```
412
+
413
+ > **Note:** `reset-cooldowns` clears cooldowns in the pool file. If OpenCode is already running, the in-memory token endpoint cooldown is only cleared when OpenCode restarts or when you use the `/model-accounts-pool reset-cooldowns` slash command inside an active session.
414
+
369
415
  ### Terminal Tab Title Sync
370
416
 
371
417
  Your terminal tab/window title automatically shows `repo/branch` context when working in git repositories. This helps identify which codebase and branch you're working on across multiple terminal sessions.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.68
1
+ 3.1.70
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 3.1.68
6
+ # Version: 3.1.70
7
7
 
8
8
  set -euo pipefail
9
9
 
@@ -3646,21 +3646,24 @@ cmd_help() {
3646
3646
  echo " aidevops ip-check cache-stats# Show cache statistics"
3647
3647
  echo ""
3648
3648
  echo "Model Accounts Pool (OAuth):"
3649
- echo " aidevops model-accounts-pool list # List accounts + status"
3650
- echo " aidevops model-accounts-pool check # Test token validity (live)"
3649
+ echo " aidevops model-accounts-pool status # Pool health at a glance"
3650
+ echo " aidevops model-accounts-pool list # Per-account detail"
3651
+ echo " aidevops model-accounts-pool check # Live token validity test"
3652
+ echo " aidevops model-accounts-pool rotate [provider] # Switch to next account NOW"
3653
+ echo " aidevops model-accounts-pool reset-cooldowns # Clear rate-limit cooldowns"
3651
3654
  echo " aidevops model-accounts-pool add anthropic # Add Claude Pro/Max account"
3652
3655
  echo " aidevops model-accounts-pool add openai # Add ChatGPT Plus/Pro account"
3653
3656
  echo " aidevops model-accounts-pool add cursor # Add Cursor Pro account"
3654
3657
  echo " aidevops model-accounts-pool import claude-cli # Import from Claude CLI auth"
3655
- echo " aidevops model-accounts-pool rotate [provider] # Rotate to next account"
3656
- echo " aidevops model-accounts-pool reset-cooldowns # Clear rate-limit cooldowns"
3658
+ echo " aidevops model-accounts-pool assign-pending <p># Assign stranded token"
3657
3659
  echo " aidevops model-accounts-pool remove <p> <email># Remove an account"
3658
3660
  echo ""
3659
- echo " If you see 'Key Missing' or auth errors:"
3660
- echo " aidevops model-accounts-pool list # 1. See what's in the pool"
3661
+ echo " Auth recovery (run these in order if model is broken):"
3662
+ echo " aidevops model-accounts-pool status # 1. Check pool health"
3661
3663
  echo " aidevops model-accounts-pool check # 2. Test token validity"
3662
- echo " aidevops model-accounts-pool reset-cooldowns # 3. Clear any cooldowns"
3663
- echo " aidevops model-accounts-pool add anthropic # 4. Re-add if pool empty"
3664
+ echo " aidevops model-accounts-pool rotate anthropic# 3. Switch account if rate-limited"
3665
+ echo " aidevops model-accounts-pool reset-cooldowns # 4. Clear cooldowns if all stuck"
3666
+ echo " aidevops model-accounts-pool add anthropic # 5. Re-add if pool empty"
3664
3667
  echo ""
3665
3668
  echo "Secrets:"
3666
3669
  echo " aidevops secret set NAME # Store a secret (hidden input)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.1.68",
3
+ "version": "3.1.70",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
package/setup.sh CHANGED
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
10
10
  # AI Assistant Server Access Framework Setup Script
11
11
  # Helps developers set up the framework for their infrastructure
12
12
  #
13
- # Version: 3.1.68
13
+ # Version: 3.1.70
14
14
  #
15
15
  # Quick Install:
16
16
  # npm install -g aidevops && aidevops update (recommended)