aidevops 3.8.65 → 3.8.67

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.8.65
1
+ 3.8.67
package/aidevops.sh CHANGED
@@ -5,7 +5,7 @@
5
5
  # AI DevOps Framework CLI
6
6
  # Usage: aidevops <command> [options]
7
7
  #
8
- # Version: 3.8.65
8
+ # Version: 3.8.67
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -854,6 +854,20 @@ _update_check_tools() {
854
854
  }
855
855
 
856
856
  # Check for stale Homebrew-installed copy after git update (GH#11470)
857
+ # Self-heal broken OpenCode runtime symlinks (t2172). A single dangling
858
+ # symlink in ~/.config/opencode/{command,agent,skills,tool}/ blocks new
859
+ # OpenCode sessions with "Failed to parse command ...". Running on every
860
+ # update is cheap (find+rm on 4 small dirs) and catches orphans left
861
+ # behind when users delete private agent source clones without going
862
+ # through `agent-sources-helper.sh remove`. Fail-open — must never
863
+ # break the update cron.
864
+ _update_sweep_opencode_symlinks() {
865
+ local sym_helper="${HOME}/.aidevops/agents/scripts/agent-sources-helper.sh"
866
+ [[ -x "$sym_helper" ]] || return 0
867
+ "$sym_helper" cleanup-broken-symlinks >/dev/null 2>&1 || true
868
+ return 0
869
+ }
870
+
857
871
  _update_check_homebrew() {
858
872
  command -v brew &>/dev/null || return 0
859
873
  brew list aidevops &>/dev/null 2>&1 || return 0
@@ -1009,6 +1023,8 @@ cmd_update() {
1009
1023
  _update_check_homebrew
1010
1024
  _update_check_planning
1011
1025
  _update_check_tools
1026
+ _update_sweep_opencode_symlinks
1027
+
1012
1028
  return 0
1013
1029
  }
1014
1030
  # Uninstall helpers (extracted for complexity reduction)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.8.65",
3
+ "version": "3.8.67",
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
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
12
12
  # AI Assistant Server Access Framework Setup Script
13
13
  # Helps developers set up the framework for their infrastructure
14
14
  #
15
- # Version: 3.8.65
15
+ # Version: 3.8.67
16
16
  #
17
17
  # Quick Install:
18
18
  # npm install -g aidevops && aidevops update (recommended)