aidevops 3.39.281 → 3.39.283

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.39.281-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.39.283-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.39.281
1
+ 3.39.283
package/aidevops.sh CHANGED
@@ -5,10 +5,17 @@
5
5
  # AI DevOps Framework CLI
6
6
  # Usage: aidevops <command> [options]
7
7
  #
8
- # Version: 3.39.281
8
+ # Version: 3.39.283
9
9
 
10
10
  set -euo pipefail
11
11
 
12
+ # GH#40368: a deleted inherited working directory makes every child Bash and
13
+ # forked job print getcwd errors. Recover with builtins only, before any fork.
14
+ if ! builtin pwd -P >/dev/null 2>&1; then
15
+ builtin cd -- "${HOME:-/}" 2>/dev/null || builtin cd -- /
16
+ printf '[aidevops] Working directory no longer exists; continuing from %s\n' "$PWD" >&2
17
+ fi
18
+
12
19
  # Colors for output
13
20
  GREEN='\033[0;32m'
14
21
  BLUE='\033[0;34m'
@@ -546,7 +553,7 @@ _update_existing_install() {
546
553
  if [[ "$local_hash" == "$remote_hash" ]]; then
547
554
  _update_already_current "$local_hash" "$update_output_mode" || return 1
548
555
  else
549
- _update_apply_remote "$local_hash" "$remote_hash" "$current_version" "$update_output_mode"
556
+ _update_apply_remote "$local_hash" "$remote_hash" "$current_version" "$update_output_mode" || return 1
550
557
  fi
551
558
  return 0
552
559
  }
package/bin/aidevops CHANGED
@@ -14,6 +14,13 @@
14
14
 
15
15
  set -euo pipefail
16
16
 
17
+ # GH#40368: a deleted inherited working directory makes every child Bash and
18
+ # forked job print getcwd errors. Recover with builtins only, before any fork.
19
+ if ! builtin pwd -P >/dev/null 2>&1; then
20
+ builtin cd -- "${HOME:-/}" 2>/dev/null || builtin cd -- /
21
+ printf '[aidevops] Working directory no longer exists; continuing from %s\n' "$PWD" >&2
22
+ fi
23
+
17
24
  REAL_HOME="${HOME:-}"
18
25
  if [[ -n "${SUDO_USER:-}" && "$(id -u)" -eq 0 ]]; then
19
26
  _tmp_real_home=""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.39.281",
3
+ "version": "3.39.283",
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.39.281
20
+ # Version: 3.39.283
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)