aidevops 3.32.169 → 3.32.171

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 CHANGED
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
60
60
  [![Copyright](https://img.shields.io/badge/Copyright-Marcus%20Quinn%202025--2026-blue.svg)](https://github.com/marcusquinn)
61
61
 
62
62
  <!-- Release & Version Info -->
63
- [![Version](https://img.shields.io/badge/Version-3.32.169-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
63
+ [![Version](https://img.shields.io/badge/Version-3.32.171-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
64
64
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
65
65
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
66
66
  [![GitHub repository](https://img.shields.io/badge/github-repository-181717.svg?logo=github)](https://github.com/marcusquinn/aidevops)
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.32.169
1
+ 3.32.171
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.32.169
8
+ # Version: 3.32.171
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -66,6 +66,14 @@ elif [[ -n "$_AIDEVOPS_SOURCE_DIR" && -f "$_AIDEVOPS_SOURCE_DIR/scripts/aidevops
66
66
  # canonical checkout.
67
67
  _AIDEVOPS_CLI_ROOT="$_AIDEVOPS_SOURCE_DIR"
68
68
  _AIDEVOPS_CLI_MODULES_SUBDIR="scripts/aidevops-cli"
69
+ elif [[ -n "${AIDEVOPS_SHARE:-}" &&
70
+ -f "$AIDEVOPS_SHARE/.agents/scripts/aidevops-cli/aidevops-repos-lib.sh" &&
71
+ -f "$AIDEVOPS_SHARE/.agents/scripts/runtime-bundle-verifier.sh" &&
72
+ -f "$AIDEVOPS_SHARE/VERSION" ]]; then
73
+ # Homebrew installs the coherent package snapshot under share/aidevops and
74
+ # exports AIDEVOPS_SHARE from its wrapper. Keep repository operations pointed
75
+ # at INSTALL_DIR while loading packaged CLI modules and VERSION from there.
76
+ _AIDEVOPS_CLI_ROOT="$AIDEVOPS_SHARE"
69
77
  fi
70
78
  unset _AIDEVOPS_SOURCE_PATH _AIDEVOPS_SOURCE_DIR _AIDEVOPS_LINK_TARGET _AIDEVOPS_LINK_DIR
71
79
  AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$_AIDEVOPS_REAL_HOME/.aidevops/agents}"
@@ -196,6 +204,7 @@ ensure_trailing_newline() {
196
204
  # tree selected above. The launcher executes the deployed orchestrator as a
197
205
  # regular file, while local development and package snapshots use .agents/.
198
206
  AIDEVOPS_CLI_MODULES_DIR="${_AIDEVOPS_CLI_ROOT}/${_AIDEVOPS_CLI_MODULES_SUBDIR}"
207
+ AIDEVOPS_RUNTIME_BUNDLE_VERIFIER="${AIDEVOPS_CLI_MODULES_DIR%/aidevops-cli}/runtime-bundle-verifier.sh"
199
208
  unset _AIDEVOPS_CLI_ROOT _AIDEVOPS_CLI_MODULES_SUBDIR
200
209
  # shellcheck source=.agents/scripts/aidevops-cli/aidevops-repos-lib.sh
201
210
  # shellcheck disable=SC1091 # module path resolved at runtime via $INSTALL_DIR
@@ -215,6 +224,9 @@ source "${AIDEVOPS_CLI_MODULES_DIR}/aidevops-update-lib.sh"
215
224
  # shellcheck source=.agents/scripts/aidevops-cli/aidevops-upgrade-planning-lib.sh
216
225
  # shellcheck disable=SC1091
217
226
  source "${AIDEVOPS_CLI_MODULES_DIR}/aidevops-upgrade-planning-lib.sh"
227
+ # shellcheck source=.agents/scripts/runtime-bundle-verifier.sh
228
+ # shellcheck disable=SC1091
229
+ source "$AIDEVOPS_RUNTIME_BUNDLE_VERIFIER"
218
230
 
219
231
  _run_update_setup() {
220
232
  local output_mode="${1:-${AIDEVOPS_OUTPUT_MODE:-auto}}"
@@ -249,24 +261,15 @@ _run_update_setup() {
249
261
 
250
262
  _update_verify_deployment_state() {
251
263
  local expected_sha="$1"
252
- local repo_version=""
253
- local deployed_version=""
254
- local deployed_sha=""
264
+ local active_link="$_AIDEVOPS_REAL_HOME/.aidevops/agents"
255
265
  local stamp_file="$_AIDEVOPS_REAL_HOME/.aidevops/.deployed-sha"
256
- repo_version=$(cat "$INSTALL_DIR/VERSION" 2>/dev/null || echo "unknown")
257
- deployed_version=$(cat "$AGENTS_DIR/VERSION" 2>/dev/null || echo "none")
258
- if [[ -f "$stamp_file" ]]; then
259
- deployed_sha=$(tr -d '[:space:]' <"$stamp_file" 2>/dev/null) || deployed_sha=""
260
- fi
261
- if [[ "$repo_version" != "$deployed_version" ]]; then
262
- print_error "Agent deployment failed: repo version $repo_version, deployed version $deployed_version"
263
- return 1
264
- fi
265
- if [[ -z "$deployed_sha" || "$deployed_sha" != "$expected_sha" ]]; then
266
- print_error "Agent deployment failed: activated SHA ${deployed_sha:-none} does not match repository HEAD $expected_sha"
267
- return 1
268
- fi
269
- return 0
266
+
267
+ verify_aidevops_runtime_bundle_convergence \
268
+ "$INSTALL_DIR" \
269
+ "$expected_sha" \
270
+ "$active_link" \
271
+ "$stamp_file"
272
+ return $?
270
273
  }
271
274
 
272
275
  _run_update_setup_transaction() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.32.169",
3
+ "version": "3.32.171",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "workspaces": [
package/setup.sh CHANGED
@@ -17,7 +17,7 @@ fi
17
17
  # AI Assistant Server Access Framework Setup Script
18
18
  # Helps developers set up the framework for their infrastructure
19
19
  #
20
- # Version: 3.32.169
20
+ # Version: 3.32.171
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)