aidevops 3.5.459 → 3.5.461

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.5.459
1
+ 3.5.461
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.5.459
6
+ # Version: 3.5.461
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.5.459",
3
+ "version": "3.5.461",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -71,7 +71,7 @@ cleanup_deprecated_paths() {
71
71
  # See: ~/.config/aidevops/settings.json { "preserve_oh_my_opencode": true }
72
72
  local omo_config="$HOME/.config/opencode/oh-my-opencode.json"
73
73
  if [[ -f "$omo_config" ]]; then
74
- if should_overwrite_user_file "preserve_oh_my_opencode" "oh-my-opencode config ($omo_config)"; then
74
+ if should_cleanup_oh_my_opencode_artifacts "oh-my-opencode config ($omo_config)"; then
75
75
  rm -f "$omo_config"
76
76
  print_info "Removed oh-my-opencode config"
77
77
  fi
@@ -91,7 +91,7 @@ cleanup_deprecated_paths() {
91
91
  opencode_config=$(find_opencode_config 2>/dev/null) || true
92
92
  if [[ -n "$opencode_config" ]] && [[ -f "$opencode_config" ]] && command -v jq &>/dev/null; then
93
93
  if jq -e '.plugin | index("oh-my-opencode")' "$opencode_config" >/dev/null 2>&1; then
94
- if should_overwrite_user_file "preserve_oh_my_opencode" "oh-my-opencode plugin entry in OpenCode config"; then
94
+ if should_cleanup_oh_my_opencode_artifacts "oh-my-opencode plugin entry in OpenCode config"; then
95
95
  local tmp_file
96
96
  tmp_file=$(mktemp)
97
97
  trap 'rm -f "${tmp_file:-}"' RETURN
@@ -104,6 +104,20 @@ cleanup_deprecated_paths() {
104
104
  return 0
105
105
  }
106
106
 
107
+ # Backward-compatibility guard for oh-my-opencode cleanup migration.
108
+ # setup.sh no longer defines should_overwrite_user_file() in current runtime.
109
+ # Preserve user files by default when the legacy helper is unavailable.
110
+ should_cleanup_oh_my_opencode_artifacts() {
111
+ local description="$1"
112
+
113
+ if type should_overwrite_user_file &>/dev/null; then
114
+ should_overwrite_user_file "preserve_oh_my_opencode" "$description"
115
+ return $?
116
+ fi
117
+
118
+ return 1
119
+ }
120
+
107
121
  # Remove osgrep completely — one-time cleanup for all aidevops users
108
122
  # osgrep consumed 74GB disk (lancedb indexes) and 4 CPU cores on startup.
109
123
  # rg + fd + LLM comprehension covers the same ground at zero resource cost.
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.5.459
13
+ # Version: 3.5.461
14
14
  #
15
15
  # Quick Install:
16
16
  # npm install -g aidevops && aidevops update (recommended)