aidevops 3.1.73 → 3.1.75
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 +14 -7
- package/VERSION +1 -1
- package/aidevops.sh +1 -1
- package/bin/aidevops +18 -12
- package/package.json +1 -1
- package/setup.sh +1 -1
package/README.md
CHANGED
|
@@ -273,21 +273,28 @@ See `.agents/tools/task-management/beads.md` for complete documentation and inst
|
|
|
273
273
|
|
|
274
274
|
### OpenCode Anthropic OAuth (Built-in)
|
|
275
275
|
|
|
276
|
-
OpenCode
|
|
276
|
+
OpenCode includes Anthropic OAuth authentication natively — no API key needed. OAuth is covered by your Claude Pro/Max subscription at zero additional cost.
|
|
277
277
|
|
|
278
|
-
**
|
|
278
|
+
**Authenticate via the pool (recommended):**
|
|
279
279
|
|
|
280
280
|
```bash
|
|
281
|
-
|
|
282
|
-
#
|
|
283
|
-
#
|
|
281
|
+
aidevops model-accounts-pool add anthropic
|
|
282
|
+
# Opens browser OAuth flow — no API key required
|
|
283
|
+
# Restart OpenCode after adding
|
|
284
284
|
```
|
|
285
285
|
|
|
286
|
+
**Or via the OpenCode TUI:**
|
|
287
|
+
|
|
288
|
+
Open OpenCode → `Ctrl+A` → Select **Anthropic** → **Login with Claude.ai** → follow browser OAuth flow.
|
|
289
|
+
|
|
290
|
+
> **Note:** `opencode auth login` prompts for an API key, not OAuth. Use the commands above for subscription-based OAuth access.
|
|
291
|
+
|
|
286
292
|
**Benefits:**
|
|
287
293
|
|
|
288
294
|
- **Zero cost** for Claude Pro/Max subscribers (covered by subscription)
|
|
289
|
-
- **Automatic token refresh**
|
|
290
|
-
- **
|
|
295
|
+
- **Automatic token refresh** — no manual re-authentication needed
|
|
296
|
+
- **Multiple accounts** — add more accounts to the pool for automatic rotation when one hits rate limits
|
|
297
|
+
- **Beta features enabled** — extended thinking modes and latest features
|
|
291
298
|
|
|
292
299
|
### Cursor Models via Pool Proxy
|
|
293
300
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.75
|
package/aidevops.sh
CHANGED
package/bin/aidevops
CHANGED
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# AI DevOps Framework CLI wrapper
|
|
3
|
-
# This wrapper handles both npm global install and local development
|
|
3
|
+
# This wrapper handles both npm global install and local development.
|
|
4
|
+
#
|
|
5
|
+
# Priority order (highest to lowest):
|
|
6
|
+
# 1. ~/Git/aidevops/aidevops.sh — git repo, always current via 'aidevops update'
|
|
7
|
+
# 2. npm-bundled aidevops.sh — snapshot at npm publish time, may be stale
|
|
8
|
+
#
|
|
9
|
+
# The repo copy is preferred so that 'aidevops update' (git pull) immediately
|
|
10
|
+
# takes effect without requiring 'npm update -g aidevops'.
|
|
4
11
|
|
|
5
12
|
set -euo pipefail
|
|
6
13
|
|
|
7
|
-
#
|
|
14
|
+
# 1. Prefer the git repo copy — always current via 'aidevops update'
|
|
15
|
+
if [[ -f "$HOME/Git/aidevops/aidevops.sh" ]]; then
|
|
16
|
+
exec bash "$HOME/Git/aidevops/aidevops.sh" "$@"
|
|
17
|
+
fi
|
|
18
|
+
|
|
19
|
+
# 2. Fall back to the npm-bundled copy (resolve symlinks first)
|
|
8
20
|
# npm install -g creates a symlink: /usr/local/bin/aidevops -> .../node_modules/aidevops/bin/aidevops
|
|
9
21
|
# BASH_SOURCE[0] returns the symlink path, not the target, so we must resolve it
|
|
10
22
|
SOURCE="${BASH_SOURCE[0]}"
|
|
11
23
|
while [[ -L "$SOURCE" ]]; do
|
|
12
24
|
DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
|
|
13
25
|
SOURCE="$(readlink "$SOURCE")"
|
|
14
|
-
# If readlink returned a relative path, resolve it relative to the symlink's directory
|
|
15
26
|
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
|
|
16
27
|
done
|
|
17
28
|
SCRIPT_DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
|
|
18
29
|
|
|
19
|
-
# Check if we're in an npm global install or local development
|
|
20
30
|
if [[ -f "$SCRIPT_DIR/../aidevops.sh" ]]; then
|
|
21
|
-
# npm install -g or local development
|
|
22
31
|
exec bash "$SCRIPT_DIR/../aidevops.sh" "$@"
|
|
23
|
-
elif [[ -f "$HOME/Git/aidevops/aidevops.sh" ]]; then
|
|
24
|
-
# Fallback to standard install location
|
|
25
|
-
exec bash "$HOME/Git/aidevops/aidevops.sh" "$@"
|
|
26
|
-
else
|
|
27
|
-
echo "Error: aidevops.sh not found"
|
|
28
|
-
echo "Please run: bash <(curl -fsSL https://aidevops.sh/install)"
|
|
29
|
-
exit 1
|
|
30
32
|
fi
|
|
33
|
+
|
|
34
|
+
echo "Error: aidevops.sh not found"
|
|
35
|
+
echo "Please run: bash <(curl -fsSL https://aidevops.sh/install)"
|
|
36
|
+
exit 1
|
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.75
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|