aidevops 3.13.83 → 3.13.86

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/VERSION CHANGED
@@ -1 +1 @@
1
- 3.13.83
1
+ 3.13.86
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.13.83
8
+ # Version: 3.13.86
9
9
 
10
10
  set -euo pipefail
11
11
 
@@ -751,6 +751,7 @@ _help_commands() {
751
751
  echo " repo-sync <cmd> Daily git pull for repos in parent dirs (enable/disable/status/dirs)"
752
752
  echo " update-tools Check for outdated tools (--update to auto-update)"
753
753
  echo " repos [cmd] Manage registered projects (list/add/remove/clean)"
754
+ echo " cleanup <cmd> Cleanup helpers (remote branch audit/delete)"
754
755
  echo " model-accounts-pool OAuth account pool (list/check/diagnose/add/rotate/reset-cooldowns)"
755
756
  echo " client-format Client request format alignment (extract/check/canary/monitor)"
756
757
  echo " opencode-db <cmd> OpenCode SQLite maintenance (check/report/maintain/window/status/install)"
@@ -1304,6 +1305,32 @@ main() {
1304
1305
  detect | scan) cmd_detect ;;
1305
1306
  ip-check | ip_check) _dispatch_helper "ip-reputation-helper.sh" "ip-reputation-helper.sh" "$@" ;;
1306
1307
  model-accounts-pool | map) _dispatch_helper "oauth-pool-helper.sh" "oauth-pool-helper.sh" "$@" ;;
1308
+ cleanup)
1309
+ local _cleanup_sub="${1:-help}"
1310
+ case "$_cleanup_sub" in
1311
+ branches | remote-branches)
1312
+ shift || true
1313
+ _dispatch_helper "remote-branch-cleanup-helper.sh" "remote-branch-cleanup-helper.sh" "$_cleanup_sub" "$@"
1314
+ ;;
1315
+ help | --help | -h | "")
1316
+ echo "Usage: aidevops cleanup <branches|remote-branches> [options]"
1317
+ echo ""
1318
+ echo "Cleanup commands:"
1319
+ echo " branches Audit stale remote branches (dry-run default)"
1320
+ echo " remote-branches Alias for branches"
1321
+ echo ""
1322
+ echo "Options:"
1323
+ echo " --repo PATH Repository path (default: current directory)"
1324
+ echo " --remote NAME Remote to audit (default: origin)"
1325
+ echo " --apply Delete safe candidates"
1326
+ echo ""
1327
+ ;;
1328
+ *)
1329
+ print_error "Unknown cleanup subcommand: $_cleanup_sub (try branches|remote-branches|help)"
1330
+ exit 1
1331
+ ;;
1332
+ esac
1333
+ ;;
1307
1334
  client-format) _cmd_client_format "$@" ;;
1308
1335
  opencode-db | oc-db) _dispatch_helper "opencode-db-maintenance-helper.sh" "opencode-db-maintenance-helper.sh" "$@" ;;
1309
1336
  opencode-sandbox | oc-sandbox) _dispatch_helper "opencode-sandbox-helper.sh" "opencode-sandbox-helper.sh" "$@" ;;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.13.83",
3
+ "version": "3.13.86",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
package/setup.sh CHANGED
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
12
12
  # AI Assistant Server Access Framework Setup Script
13
13
  # Helps developers set up the framework for their infrastructure
14
14
  #
15
- # Version: 3.13.83
15
+ # Version: 3.13.86
16
16
  #
17
17
  # Quick Install:
18
18
  # npm install -g aidevops && aidevops update (recommended)