aidevops 3.32.116 → 3.32.118

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.116-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
63
+ [![Version](https://img.shields.io/badge/Version-3.32.118-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.116
1
+ 3.32.118
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.116
8
+ # Version: 3.32.118
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -30,7 +30,7 @@ _AIDEVOPS_REAL_HOME="$HOME"
30
30
  if [[ -n "${SUDO_USER:-}" && "$(id -u)" -eq 0 ]]; then
31
31
  _tmp_real_home=""
32
32
  if command -v getent &>/dev/null; then
33
- _tmp_real_home=$(getent passwd "$SUDO_USER" | cut -d: -f6)
33
+ _tmp_real_home=$(getent passwd "$SUDO_USER" | cut -d: -f6 || true)
34
34
  elif command -v dscl &>/dev/null; then
35
35
  _tmp_real_home=$(dscl . -read "/Users/${SUDO_USER}" NFSHomeDirectory 2>/dev/null | awk '{print $2; exit}' || true)
36
36
  elif [[ -d "/Users/${SUDO_USER}" ]]; then
package/bin/aidevops CHANGED
@@ -28,9 +28,14 @@ if [[ -n "${SUDO_USER:-}" && "$(id -u)" -eq 0 ]]; then
28
28
  fi
29
29
  fi
30
30
 
31
- REPO_DIR="${REAL_HOME:+$REAL_HOME/Git/aidevops}"
31
+ if [[ -z "$REAL_HOME" ]]; then
32
+ printf 'Error: HOME is not set; unable to resolve aidevops installation paths.\n' >&2
33
+ exit 1
34
+ fi
35
+
36
+ REPO_DIR="$REAL_HOME/Git/aidevops"
32
37
  REPO_URL="https://github.com/marcusquinn/aidevops.git"
33
- DEPLOYED_CLI="${REAL_HOME:+$REAL_HOME/.aidevops/agents/aidevops.sh}"
38
+ DEPLOYED_CLI="$REAL_HOME/.aidevops/agents/aidevops.sh"
34
39
 
35
40
  # 1. Prefer the setup-deployed copy. It is released atomically with its modules,
36
41
  # so a stale or dirty canonical checkout cannot split the CLI version from them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.32.116",
3
+ "version": "3.32.118",
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.116
20
+ # Version: 3.32.118
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -140,6 +140,17 @@ if [[ -f "$_SHARED_CONSTANTS" ]]; then
140
140
  fi
141
141
  unset _SHARED_CONSTANTS
142
142
 
143
+ # Secure the optional DSPy disk cache before setup installs or imports DSPy.
144
+ _DSPY_CACHE_SECURITY="${BASH_SOURCE[0]%/*}/.agents/scripts/dspy-cache-security.sh"
145
+ if [[ ! -f "$_DSPY_CACHE_SECURITY" ]]; then
146
+ _DSPY_CACHE_SECURITY="$HOME/.aidevops/agents/scripts/dspy-cache-security.sh"
147
+ fi
148
+ if [[ -f "$_DSPY_CACHE_SECURITY" ]]; then
149
+ # shellcheck disable=SC1090 # Dynamic path resolved at runtime
150
+ source "$_DSPY_CACHE_SECURITY"
151
+ fi
152
+ unset _DSPY_CACHE_SECURITY
153
+
143
154
  # Escape a string for safe embedding in XML (plist heredocs).
144
155
  # Prevents XML injection if paths contain &, <, >, ", or ' characters.
145
156
  _xml_escape() {