aidevops 3.39.114 → 3.39.116

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.114-blue.svg)](https://github.com/marcusquinn/aidevops/releases)
28
+ [![Version](https://img.shields.io/badge/Version-3.39.116-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.114
1
+ 3.39.116
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.39.114
8
+ # Version: 3.39.116
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -463,7 +463,7 @@ _update_existing_install() {
463
463
  return 1
464
464
  fi
465
465
  if [[ "$local_hash" == "$remote_hash" ]]; then
466
- _update_already_current "$local_hash" "$update_output_mode"
466
+ _update_already_current "$local_hash" "$update_output_mode" || return 1
467
467
  else
468
468
  _update_apply_remote "$local_hash" "$remote_hash" "$current_version" "$update_output_mode"
469
469
  fi
@@ -809,8 +809,21 @@ _repos_list() {
809
809
  _repos_add() {
810
810
  local bootstrap_slug=""
811
811
  local confirmation=""
812
+ local repo_path="."
813
+ local path_given=0
814
+ local sync_only=""
812
815
  while [[ $# -gt 0 ]]; do
813
- case "$1" in
816
+ local argument="$1"
817
+ case "$argument" in
818
+ help | -h | --help)
819
+ echo "Usage: aidevops repos add [path] [--sync-only] [--slug OWNER/REPO --confirm REGISTER_CANONICAL_REPOSITORY]"
820
+ echo " --sync-only Register for explicit sync/cleanup without Pulse or recurring maintenance"
821
+ return 0
822
+ ;;
823
+ --sync-only)
824
+ sync_only="true"
825
+ shift
826
+ ;;
814
827
  --slug)
815
828
  bootstrap_slug="${2:-}"
816
829
  shift 2
@@ -820,17 +833,22 @@ _repos_add() {
820
833
  shift 2
821
834
  ;;
822
835
  *)
823
- print_error "Usage: aidevops repos add [--slug OWNER/REPO --confirm REGISTER_CANONICAL_REPOSITORY]"
824
- return 2
836
+ if [[ "$argument" == -* || "$path_given" -eq 1 ]]; then
837
+ print_error "Usage: aidevops repos add [path] [--sync-only] [--slug OWNER/REPO --confirm REGISTER_CANONICAL_REPOSITORY]"
838
+ return 2
839
+ fi
840
+ repo_path="$argument"
841
+ path_given=1
842
+ shift
825
843
  ;;
826
844
  esac
827
845
  done
828
- git rev-parse --is-inside-work-tree &>/dev/null || {
846
+ git -C "$repo_path" rev-parse --is-inside-work-tree &>/dev/null || {
829
847
  print_error "Not in a git repository"
830
848
  return 1
831
849
  }
832
850
  local project_root
833
- project_root=$(git rev-parse --show-toplevel)
851
+ project_root=$(git -C "$repo_path" rev-parse --show-toplevel)
834
852
  if [[ ! -f "$project_root/.aidevops.json" ]]; then
835
853
  if [[ -z "$bootstrap_slug" || "$confirmation" != "REGISTER_CANONICAL_REPOSITORY" ]]; then
836
854
  print_error "No .aidevops.json found - run 'aidevops init' or use the confirmed --slug bootstrap form"
@@ -855,7 +873,7 @@ _repos_add() {
855
873
  version="unknown"
856
874
  features=""
857
875
  fi
858
- register_repo "$project_root" "$version" "$features" "$bootstrap_slug"
876
+ register_repo "$project_root" "$version" "$features" "$bootstrap_slug" "$sync_only" || return 1
859
877
  print_success "Registered $(basename "$project_root")"
860
878
  return 0
861
879
  }
@@ -1057,7 +1075,9 @@ cmd_repos() {
1057
1075
  echo ""
1058
1076
  echo "Commands:"
1059
1077
  echo " list List all registered projects (default)"
1060
- echo " add Register current project; confirmed --slug bootstraps config-free canonical repos"
1078
+ echo " add [path] [--sync-only]"
1079
+ echo " Register project; --sync-only disables Pulse and recurring maintenance"
1080
+ echo " Confirmed --slug bootstraps config-free canonical repos"
1061
1081
  echo " remove Remove project from registry"
1062
1082
  echo " clean Remove entries for non-existent projects"
1063
1083
  echo " migrate-layout <plan|apply|rollback|status>"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.39.114",
3
+ "version": "3.39.116",
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.114
20
+ # Version: 3.39.116
21
21
  #
22
22
  # Quick Install:
23
23
  # npm install -g aidevops && aidevops update (recommended)