aidevops 3.1.80 → 3.1.82
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 +2 -1
- package/VERSION +1 -1
- package/aidevops.sh +19 -3
- package/bin/aidevops +31 -5
- package/package.json +1 -1
- package/setup.sh +1 -1
package/README.md
CHANGED
|
@@ -179,6 +179,7 @@ git clone https://github.com/marcusquinn/aidevops.git ~/Git/aidevops
|
|
|
179
179
|
|
|
180
180
|
```bash
|
|
181
181
|
aidevops status # Check what's installed
|
|
182
|
+
aidevops doctor # Detect duplicate installs and PATH conflicts
|
|
182
183
|
aidevops update # Update framework + check registered projects
|
|
183
184
|
aidevops auto-update # Manage automatic update polling (every 10 min)
|
|
184
185
|
aidevops init # Initialize aidevops in any project
|
|
@@ -419,7 +420,7 @@ aidevops model-accounts-pool remove <p> <email># Remove an account
|
|
|
419
420
|
|
|
420
421
|
> **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.
|
|
421
422
|
|
|
422
|
-
**If you prefer guided help:** Open OpenCode with a free model (OpenCode Zen includes free models that don't require any API key or subscription) and
|
|
423
|
+
**If you prefer guided help:** Open OpenCode with a free model (OpenCode Zen includes free models that don't require any API key or subscription) and run the auth troubleshooting agent by typing:
|
|
423
424
|
|
|
424
425
|
```
|
|
425
426
|
@auth-troubleshooting
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.82
|
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.
|
|
6
|
+
# Version: 3.1.82
|
|
7
7
|
|
|
8
8
|
set -euo pipefail
|
|
9
9
|
|
|
@@ -3599,6 +3599,7 @@ cmd_help() {
|
|
|
3599
3599
|
echo " skills <cmd> Discover skills (search/browse/describe/recommend)"
|
|
3600
3600
|
echo " plugin <cmd> Manage plugins (add/list/update/enable/disable/remove)"
|
|
3601
3601
|
echo " status Check installation status of all components"
|
|
3602
|
+
echo " doctor Detect duplicate installs and PATH conflicts (--fix to resolve)"
|
|
3602
3603
|
echo " update Update aidevops to the latest version (alias: upgrade)"
|
|
3603
3604
|
echo " upgrade Alias for update"
|
|
3604
3605
|
echo " pulse <cmd> Session-based pulse control (start/stop/status)"
|
|
@@ -3624,6 +3625,8 @@ cmd_help() {
|
|
|
3624
3625
|
echo " aidevops upgrade-planning # Upgrade planning files to latest"
|
|
3625
3626
|
echo " aidevops features # List available features"
|
|
3626
3627
|
echo " aidevops status # Check what's installed"
|
|
3628
|
+
echo " aidevops doctor # Find duplicate/conflicting installs"
|
|
3629
|
+
echo " aidevops doctor --fix # Interactively remove duplicates"
|
|
3627
3630
|
echo " aidevops update # Update framework + check projects"
|
|
3628
3631
|
echo " aidevops repos # List registered projects"
|
|
3629
3632
|
echo " aidevops repos add # Register current project"
|
|
@@ -3650,13 +3653,13 @@ cmd_help() {
|
|
|
3650
3653
|
echo " aidevops model-accounts-pool status # Pool health at a glance"
|
|
3651
3654
|
echo " aidevops model-accounts-pool list # Per-account detail"
|
|
3652
3655
|
echo " aidevops model-accounts-pool check # Live token validity test"
|
|
3653
|
-
echo " aidevops model-accounts-pool rotate [provider] # Switch to next account NOW"
|
|
3656
|
+
echo " aidevops model-accounts-pool rotate [provider] # Switch to next available account NOW (use when rate-limited)"
|
|
3654
3657
|
echo " aidevops model-accounts-pool reset-cooldowns # Clear rate-limit cooldowns"
|
|
3655
3658
|
echo " aidevops model-accounts-pool add anthropic # Add Claude Pro/Max account"
|
|
3656
3659
|
echo " aidevops model-accounts-pool add openai # Add ChatGPT Plus/Pro account"
|
|
3657
3660
|
echo " aidevops model-accounts-pool add cursor # Add Cursor Pro account"
|
|
3658
3661
|
echo " aidevops model-accounts-pool import claude-cli # Import from Claude CLI auth"
|
|
3659
|
-
echo " aidevops model-accounts-pool assign-pending <
|
|
3662
|
+
echo " aidevops model-accounts-pool assign-pending <provider># Assign stranded token"
|
|
3660
3663
|
echo " aidevops model-accounts-pool remove <p> <email># Remove an account"
|
|
3661
3664
|
echo ""
|
|
3662
3665
|
echo " Auth recovery (run these in order if model is broken):"
|
|
@@ -3899,6 +3902,19 @@ main() {
|
|
|
3899
3902
|
exit 1
|
|
3900
3903
|
fi
|
|
3901
3904
|
;;
|
|
3905
|
+
doctor | doc)
|
|
3906
|
+
shift
|
|
3907
|
+
local doctor_helper="$AGENTS_DIR/scripts/doctor-helper.sh"
|
|
3908
|
+
if [[ ! -f "$doctor_helper" ]]; then
|
|
3909
|
+
doctor_helper="$INSTALL_DIR/.agents/scripts/doctor-helper.sh"
|
|
3910
|
+
fi
|
|
3911
|
+
if [[ -f "$doctor_helper" ]]; then
|
|
3912
|
+
bash "$doctor_helper" "$@"
|
|
3913
|
+
else
|
|
3914
|
+
print_error "doctor-helper.sh not found. Run: aidevops update"
|
|
3915
|
+
exit 1
|
|
3916
|
+
fi
|
|
3917
|
+
;;
|
|
3902
3918
|
detect | scan)
|
|
3903
3919
|
cmd_detect
|
|
3904
3920
|
;;
|
package/bin/aidevops
CHANGED
|
@@ -1,22 +1,48 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# AI DevOps Framework CLI wrapper
|
|
3
|
-
# This wrapper handles
|
|
3
|
+
# This wrapper handles npm/brew/bun global installs and local development.
|
|
4
4
|
#
|
|
5
5
|
# Priority order (highest to lowest):
|
|
6
6
|
# 1. ~/Git/aidevops/aidevops.sh — git repo, always current via 'aidevops update'
|
|
7
|
-
# 2.
|
|
7
|
+
# 2. Auto-clone the git repo — first-run bootstrap for package manager installs
|
|
8
|
+
# 3. npm-bundled aidevops.sh — snapshot at npm publish time, may be stale
|
|
8
9
|
#
|
|
9
10
|
# The repo copy is preferred so that 'aidevops update' (git pull) immediately
|
|
10
11
|
# takes effect without requiring 'npm update -g aidevops'.
|
|
11
12
|
|
|
12
13
|
set -euo pipefail
|
|
13
14
|
|
|
15
|
+
REPO_DIR="$HOME/Git/aidevops"
|
|
16
|
+
REPO_URL="https://github.com/marcusquinn/aidevops.git"
|
|
17
|
+
|
|
14
18
|
# 1. Prefer the git repo copy — always current via 'aidevops update'
|
|
15
|
-
if [[ -f "$
|
|
16
|
-
exec bash "$
|
|
19
|
+
if [[ -f "$REPO_DIR/aidevops.sh" ]]; then
|
|
20
|
+
exec bash "$REPO_DIR/aidevops.sh" "$@"
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
# 2. Git repo not found — bootstrap it automatically
|
|
24
|
+
# This runs once on first use after a package manager install (npm/brew/bun).
|
|
25
|
+
# After this, step 1 will always match and the git repo runs directly.
|
|
26
|
+
if command -v git >/dev/null 2>&1; then
|
|
27
|
+
echo "[aidevops] First run — cloning git repo to $REPO_DIR for transparent updates..."
|
|
28
|
+
mkdir -p "$(dirname "$REPO_DIR")"
|
|
29
|
+
if git clone "$REPO_URL" "$REPO_DIR" 2>/dev/null; then
|
|
30
|
+
echo "[aidevops] Running setup..."
|
|
31
|
+
if [[ -f "$REPO_DIR/setup.sh" ]]; then
|
|
32
|
+
bash "$REPO_DIR/setup.sh" --non-interactive
|
|
33
|
+
fi
|
|
34
|
+
echo ""
|
|
35
|
+
echo "[aidevops] Setup complete. The git repo at $REPO_DIR is now your canonical install."
|
|
36
|
+
echo "[aidevops] Run 'aidevops update' to stay current. You can safely remove the"
|
|
37
|
+
echo "[aidevops] package manager copy (npm/brew/bun) — it's no longer needed."
|
|
38
|
+
echo ""
|
|
39
|
+
exec bash "$REPO_DIR/aidevops.sh" "$@"
|
|
40
|
+
else
|
|
41
|
+
echo "[aidevops] Git clone failed — falling back to bundled copy." >&2
|
|
42
|
+
fi
|
|
17
43
|
fi
|
|
18
44
|
|
|
19
|
-
#
|
|
45
|
+
# 3. Fall back to the npm-bundled copy (resolve symlinks first)
|
|
20
46
|
# npm install -g creates a symlink: /usr/local/bin/aidevops -> .../node_modules/aidevops/bin/aidevops
|
|
21
47
|
# BASH_SOURCE[0] returns the symlink path, not the target, so we must resolve it
|
|
22
48
|
SOURCE="${BASH_SOURCE[0]}"
|
package/package.json
CHANGED
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.
|
|
13
|
+
# Version: 3.1.82
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|