aidevops 3.1.71 → 3.1.73

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/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.71
1
+ 3.1.73
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.71
6
+ # Version: 3.1.73
7
7
 
8
8
  set -euo pipefail
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.1.71",
3
+ "version": "3.1.73",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -81,6 +81,11 @@ cleanup_deprecated_paths() {
81
81
  # rg + fd + LLM comprehension covers the same ground at zero resource cost
82
82
  cleanup_osgrep
83
83
 
84
+ # Remove opencode-antigravity-auth — third-party Google OAuth plugin removed from aidevops.
85
+ # When present but unresolvable it breaks the OpenCode plugin chain, preventing the
86
+ # aidevops pool from injecting tokens and causing "API key missing" errors for all providers.
87
+ cleanup_antigravity_plugin
88
+
84
89
  # Remove oh-my-opencode from plugin array if present — guarded by same setting
85
90
  local opencode_config
86
91
  opencode_config=$(find_opencode_config 2>/dev/null) || true
@@ -184,6 +189,59 @@ cleanup_osgrep() {
184
189
  return 0
185
190
  }
186
191
 
192
+ # Remove opencode-antigravity-auth plugin — third-party Google OAuth plugin removed from aidevops.
193
+ # When present but unresolvable it breaks the OpenCode plugin chain, preventing the aidevops
194
+ # pool from injecting tokens and causing "API key missing" errors for all providers.
195
+ # Affects: opencode.json plugin array, Claude Code settings enabledPlugins.
196
+ cleanup_antigravity_plugin() {
197
+ local cleaned=false
198
+ local plugin_id="opencode-antigravity-auth"
199
+
200
+ # 1. Remove from OpenCode config plugin array
201
+ local opencode_config
202
+ opencode_config=$(find_opencode_config 2>/dev/null) || true
203
+ if [[ -n "$opencode_config" ]] && [[ -f "$opencode_config" ]] && command -v jq &>/dev/null; then
204
+ # Plugin may appear as bare name or with @version suffix
205
+ if jq -e --arg p "$plugin_id" '.plugin // [] | map(. | startswith($p)) | any' "$opencode_config" >/dev/null 2>&1; then
206
+ local tmp_file
207
+ tmp_file=$(mktemp)
208
+ if jq --arg p "$plugin_id" '.plugin = [(.plugin // [])[] | select(startswith($p) | not)]' \
209
+ "$opencode_config" >"$tmp_file" 2>/dev/null; then
210
+ mv "$tmp_file" "$opencode_config"
211
+ print_success "Removed ${plugin_id} from OpenCode plugin list"
212
+ cleaned=true
213
+ else
214
+ rm -f "$tmp_file"
215
+ fi
216
+ fi
217
+ fi
218
+
219
+ # 2. Remove from Claude Code settings enabledPlugins (if present)
220
+ local claude_settings="$HOME/.claude/settings.json"
221
+ if [[ -f "$claude_settings" ]] && command -v jq &>/dev/null; then
222
+ if jq -e --arg p "$plugin_id" '.enabledPlugins // {} | keys[] | startswith($p)' \
223
+ "$claude_settings" >/dev/null 2>&1; then
224
+ local tmp_file
225
+ tmp_file=$(mktemp)
226
+ if jq --arg p "$plugin_id" \
227
+ 'del(.enabledPlugins[(.enabledPlugins // {} | keys[] | select(startswith($p)))])' \
228
+ "$claude_settings" >"$tmp_file" 2>/dev/null; then
229
+ mv "$tmp_file" "$claude_settings"
230
+ print_success "Removed ${plugin_id} from Claude Code settings"
231
+ cleaned=true
232
+ else
233
+ rm -f "$tmp_file"
234
+ fi
235
+ fi
236
+ fi
237
+
238
+ if [[ "$cleaned" == "false" ]]; then
239
+ print_info "${plugin_id} not present — nothing to remove"
240
+ fi
241
+
242
+ return 0
243
+ }
244
+
187
245
  # Remove stale bun-installed opencode if npm version exists (v2.123.5)
188
246
  # Prior to v2.123.1, tool-version-check.sh used `bun install -g opencode-ai`.
189
247
  # This left a binary at ~/.bun/bin/opencode that shadows the npm install
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.71
13
+ # Version: 3.1.73
14
14
  #
15
15
  # Quick Install:
16
16
  # npm install -g aidevops && aidevops update (recommended)