aidevops 3.32.32 → 3.32.33

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.32-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
63
+ [![Version](https://img.shields.io/badge/Version-3.32.33-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.32
1
+ 3.32.33
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.32
8
+ # Version: 3.32.33
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -44,7 +44,7 @@ INSTALL_DIR="$_AIDEVOPS_REAL_HOME/Git/aidevops"
44
44
  _AIDEVOPS_SOURCE_PATH="${BASH_SOURCE[0]}"
45
45
  _AIDEVOPS_SOURCE_DIR="${_AIDEVOPS_SOURCE_PATH%/*}"
46
46
  [[ "$_AIDEVOPS_SOURCE_DIR" == "$_AIDEVOPS_SOURCE_PATH" ]] && _AIDEVOPS_SOURCE_DIR="."
47
- _AIDEVOPS_SOURCE_DIR="$(cd "$_AIDEVOPS_SOURCE_DIR" 2>/dev/null && pwd)" || _AIDEVOPS_SOURCE_DIR=""
47
+ _AIDEVOPS_SOURCE_DIR="$(cd "$_AIDEVOPS_SOURCE_DIR" 2>/dev/null && pwd -P)" || _AIDEVOPS_SOURCE_DIR=""
48
48
  if [[ -n "$_AIDEVOPS_SOURCE_DIR" && -L "$_AIDEVOPS_SOURCE_PATH" ]]; then
49
49
  _AIDEVOPS_LINK_TARGET="$(readlink "$_AIDEVOPS_SOURCE_PATH" 2>/dev/null || true)"
50
50
  if [[ -n "$_AIDEVOPS_LINK_TARGET" ]]; then
@@ -68,7 +68,8 @@ elif [[ -n "$_AIDEVOPS_SOURCE_DIR" && -f "$_AIDEVOPS_SOURCE_DIR/scripts/aidevops
68
68
  _AIDEVOPS_CLI_MODULES_SUBDIR="scripts/aidevops-cli"
69
69
  fi
70
70
  unset _AIDEVOPS_SOURCE_PATH _AIDEVOPS_SOURCE_DIR _AIDEVOPS_LINK_TARGET _AIDEVOPS_LINK_DIR
71
- AGENTS_DIR="$_AIDEVOPS_REAL_HOME/.aidevops/agents"
71
+ AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$_AIDEVOPS_REAL_HOME/.aidevops/agents}"
72
+ export AIDEVOPS_AGENTS_DIR="$AGENTS_DIR"
72
73
  CONFIG_DIR="$_AIDEVOPS_REAL_HOME/.config/aidevops"
73
74
  REPOS_FILE="$CONFIG_DIR/repos.json"
74
75
  # shellcheck disable=SC2034 # Used in fresh install fallback
package/bin/aidevops CHANGED
@@ -35,7 +35,9 @@ DEPLOYED_CLI="${REAL_HOME:+$REAL_HOME/.aidevops/agents/aidevops.sh}"
35
35
  # 1. Prefer the setup-deployed copy. It is released atomically with its modules,
36
36
  # so a stale or dirty canonical checkout cannot split the CLI version from them.
37
37
  if [[ -f "$DEPLOYED_CLI" ]]; then
38
- exec bash "$DEPLOYED_CLI" "$@"
38
+ DEPLOYED_ROOT="$(cd "$(dirname "$DEPLOYED_CLI")" && pwd -P)"
39
+ export AIDEVOPS_AGENTS_DIR="$DEPLOYED_ROOT"
40
+ exec bash "$DEPLOYED_ROOT/aidevops.sh" "$@"
39
41
  fi
40
42
 
41
43
  # 2. Use the git repo for bootstrap and local development.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.32.32",
3
+ "version": "3.32.33",
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
@@ -9,10 +9,15 @@ IFS=$'\n\t'
9
9
  trap 'rc=$?; echo "[ERROR] ${BASH_SOURCE[0]}:${LINENO} exit $rc" >&2' ERR
10
10
  shopt -s inherit_errexit 2>/dev/null || true
11
11
 
12
+ if [[ -z "${HOME:-}" ]]; then
13
+ printf '%s\n' '[ERROR] HOME environment variable is unset or empty. setup.sh requires a valid HOME directory.' >&2
14
+ exit 1
15
+ fi
16
+
12
17
  # AI Assistant Server Access Framework Setup Script
13
18
  # Helps developers set up the framework for their infrastructure
14
19
  #
15
- # Version: 3.32.32
20
+ # Version: 3.32.33
16
21
  #
17
22
  # Quick Install:
18
23
  # npm install -g aidevops && aidevops update (recommended)
@@ -68,7 +73,7 @@ REPO_URL="https://github.com/marcusquinn/aidevops.git"
68
73
  # INSTALL_DIR: resolve from the directory where setup.sh is executed (supports worktrees)
69
74
  # For bootstrap (curl install), this will be /dev/fd/NN and trigger re-exec after clone
70
75
  INSTALL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
71
- AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-${HOME:+$HOME/.aidevops/agents}}"
76
+ AGENTS_DIR="${AIDEVOPS_AGENTS_DIR:-$HOME/.aidevops/agents}"
72
77
  export REPO_URL INSTALL_DIR AGENTS_DIR
73
78
 
74
79
  # Source modular setup functions (t316.2)