aidevops 3.39.281 → 3.39.282
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 +1 -1
- package/VERSION +1 -1
- package/aidevops.sh +9 -2
- package/bin/aidevops +7 -0
- package/package.json +1 -1
- package/setup.sh +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ token efficiency, and quality control built in.**
|
|
|
25
25
|
[](https://qlty.sh/gh/marcusquinn/projects/aidevops)
|
|
26
26
|
[](https://app.codacy.com/gh/marcusquinn/aidevops/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
27
27
|
[](https://opensource.org/licenses/MIT)
|
|
28
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
29
29
|
[](https://www.npmjs.com/package/aidevops)
|
|
30
30
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
31
31
|
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.39.
|
|
1
|
+
3.39.282
|
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.
|
|
8
|
+
# Version: 3.39.282
|
|
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
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.
|
|
20
|
+
# Version: 3.39.282
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|