aidevops 3.32.195 → 3.32.196
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 +47 -2
- package/package.json +1 -1
- package/setup.sh +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ The result: an AI operations platform that manages projects across every busines
|
|
|
60
60
|
[](https://github.com/marcusquinn)
|
|
61
61
|
|
|
62
62
|
<!-- Release & Version Info -->
|
|
63
|
-
[](https://github.com/marcusquinn/aidevops/releases)
|
|
64
64
|
[](https://www.npmjs.com/package/aidevops)
|
|
65
65
|
[](https://github.com/marcusquinn/homebrew-tap)
|
|
66
66
|
[](https://github.com/marcusquinn/aidevops)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.32.
|
|
1
|
+
3.32.196
|
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.
|
|
8
|
+
# Version: 3.32.196
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -690,7 +690,7 @@ _repos_list() {
|
|
|
690
690
|
fi
|
|
691
691
|
local current_ver
|
|
692
692
|
current_ver=$(get_version)
|
|
693
|
-
jq -r '.initialized_repos[] | "\(.path)|\(.version)|\(.features | join(","))"' "$REPOS_FILE" 2>/dev/null | while IFS='|' read -r path version features; do
|
|
693
|
+
jq -r '.initialized_repos[] | "\(.path)|\(.version)|\((.features // []) | join(","))|\(if .maintenance == false then false else true end)|\(.pulse // false)"' "$REPOS_FILE" 2>/dev/null | while IFS='|' read -r path version features maintenance pulse; do
|
|
694
694
|
local name
|
|
695
695
|
name=$(basename "$path")
|
|
696
696
|
local status="✓" status_color="$GREEN"
|
|
@@ -706,6 +706,11 @@ _repos_list() {
|
|
|
706
706
|
echo " Path: $path"
|
|
707
707
|
echo " Version: $version"
|
|
708
708
|
echo " Features: $features"
|
|
709
|
+
if [[ "$maintenance" == "true" ]]; then
|
|
710
|
+
echo " Automation: maintained (Pulse: $pulse)"
|
|
711
|
+
else
|
|
712
|
+
echo " Automation: dormant (Pulse: off)"
|
|
713
|
+
fi
|
|
709
714
|
echo ""
|
|
710
715
|
done
|
|
711
716
|
echo "Legend: ✓ up-to-date ↑ update available ✗ not found"
|
|
@@ -775,6 +780,40 @@ _repos_clean() {
|
|
|
775
780
|
return 0
|
|
776
781
|
}
|
|
777
782
|
|
|
783
|
+
_repos_maintenance() {
|
|
784
|
+
local state="${1:-}"
|
|
785
|
+
local selector="${2:-}"
|
|
786
|
+
case "$state" in
|
|
787
|
+
on | true | maintained) state="true" ;;
|
|
788
|
+
off | false | dormant | paused) state="false" ;;
|
|
789
|
+
*)
|
|
790
|
+
print_error "Usage: aidevops repos maintenance <on|off> [slug-or-path]"
|
|
791
|
+
return 2
|
|
792
|
+
;;
|
|
793
|
+
esac
|
|
794
|
+
|
|
795
|
+
if [[ -z "$selector" ]]; then
|
|
796
|
+
if ! git rev-parse --is-inside-work-tree &>/dev/null; then
|
|
797
|
+
print_error "Specify a repo slug/path or run from within a registered repo"
|
|
798
|
+
return 1
|
|
799
|
+
fi
|
|
800
|
+
selector=$(git rev-parse --show-toplevel 2>/dev/null) || return 1
|
|
801
|
+
fi
|
|
802
|
+
|
|
803
|
+
set_repo_maintenance "$selector" "$state" || return $?
|
|
804
|
+
local result
|
|
805
|
+
result=$(get_repo_maintenance_state "$selector") || return 1
|
|
806
|
+
local maintenance pulse slug path
|
|
807
|
+
IFS=$'\t' read -r maintenance pulse slug path <<<"$result"
|
|
808
|
+
local label="${slug:-$path}"
|
|
809
|
+
if [[ "$maintenance" == "true" ]]; then
|
|
810
|
+
print_success "Maintenance enabled for $label (Pulse remains $pulse)"
|
|
811
|
+
else
|
|
812
|
+
print_success "Maintenance paused for $label (registration retained; Pulse disabled)"
|
|
813
|
+
fi
|
|
814
|
+
return 0
|
|
815
|
+
}
|
|
816
|
+
|
|
778
817
|
# Repos management command
|
|
779
818
|
cmd_repos() {
|
|
780
819
|
local action="${1:-list}"
|
|
@@ -783,6 +822,10 @@ cmd_repos() {
|
|
|
783
822
|
add) _repos_add ;;
|
|
784
823
|
remove | rm) _repos_remove "${2:-}" ;;
|
|
785
824
|
clean) _repos_clean ;;
|
|
825
|
+
maintenance | maintain)
|
|
826
|
+
shift
|
|
827
|
+
_repos_maintenance "$@"
|
|
828
|
+
;;
|
|
786
829
|
*)
|
|
787
830
|
echo "Usage: aidevops repos <command>"
|
|
788
831
|
echo ""
|
|
@@ -791,6 +834,8 @@ cmd_repos() {
|
|
|
791
834
|
echo " add Register current project"
|
|
792
835
|
echo " remove Remove project from registry"
|
|
793
836
|
echo " clean Remove entries for non-existent projects"
|
|
837
|
+
echo " maintenance <on|off> [repo]"
|
|
838
|
+
echo " Include/exclude a registered repo from recurring automation"
|
|
794
839
|
;;
|
|
795
840
|
esac
|
|
796
841
|
}
|
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.32.
|
|
20
|
+
# Version: 3.32.196
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|