aidevops 3.38.37 → 3.38.38

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
@@ -25,7 +25,7 @@ token efficiency, and quality control built in.**
25
25
  [![Maintainability](https://qlty.sh/gh/marcusquinn/projects/aidevops/maintainability.svg)](https://qlty.sh/gh/marcusquinn/projects/aidevops)
26
26
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/2b1adbd66c454dae92234341e801b984)](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
27
27
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
28
- [![Version](https://img.shields.io/badge/Version-3.38.37-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.38.38-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
29
29
  [![npm version](https://img.shields.io/npm/v/aidevops)](https://www.npmjs.com/package/aidevops)
30
30
  [![Homebrew](https://img.shields.io/badge/homebrew-marcusquinn%2Ftap-orange)](https://github.com/marcusquinn/homebrew-tap)
31
31
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 3.38.37
1
+ 3.38.38
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.38.37
8
+ # Version: 3.38.38
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -285,6 +285,19 @@ _run_update_setup_transaction() {
285
285
  return 1
286
286
  fi
287
287
  _update_verify_deployment_state "$expected_sha" || return 1
288
+ _update_adopt_deployed_version
289
+ return 0
290
+ }
291
+
292
+ # GH#34114: VERSION_FILE is pinned at startup to the physical runtime bundle this
293
+ # process loaded from (pwd -P resolves the agents symlink). After a verified
294
+ # deployment flips that symlink, later get_version calls in this process (success
295
+ # line, project sync, Homebrew drift check) must report the deployed version.
296
+ # Only the version pointer moves; already-sourced CLI modules stay coherent.
297
+ _update_adopt_deployed_version() {
298
+ local deployed_version_file="$_AIDEVOPS_REAL_HOME/.aidevops/agents/VERSION"
299
+ [[ -f "$deployed_version_file" ]] || return 0
300
+ VERSION_FILE="$deployed_version_file"
288
301
  return 0
289
302
  }
290
303
 
@@ -465,7 +478,6 @@ _update_apply_remote() {
465
478
  return 1
466
479
  fi
467
480
  local new_version new_hash
468
- new_version=$(get_version)
469
481
  new_hash=$(git rev-parse HEAD)
470
482
  if [[ "$new_hash" != "$remote_hash" ]]; then
471
483
  print_error "Updated HEAD does not match the fetched origin/main commit; refusing to run setup."
@@ -481,6 +493,7 @@ _update_apply_remote() {
481
493
  echo ""
482
494
  print_info "Running incremental setup to apply changes (falls back to full setup if needed)..."
483
495
  _run_update_setup_transaction "$update_output_mode" "$new_hash" || return 1
496
+ new_version=$(get_version)
484
497
  print_success "Updated to version $new_version (agents deployed)"
485
498
  return 0
486
499
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.38.37",
3
+ "version": "3.38.38",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.11",
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.38.37
20
+ # Version: 3.38.38
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)