aidevops 3.39.52 → 3.39.53
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 +22 -10
- package/package.json +1 -1
- package/setup.sh +4 -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.53
|
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.
|
|
8
|
+
# Version: 3.39.53
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -1231,7 +1231,7 @@ _help_commands() {
|
|
|
1231
1231
|
echo " lint [cmd] Audit/configure native repo lint, format, typecheck, and hooks"
|
|
1232
1232
|
echo " design <cmd> DESIGN.md detection, scaffolding, and brand guideline exports"
|
|
1233
1233
|
echo " keywords <cmd> context/keywords.md search targets: scaffold, brief, sync, track, budget"
|
|
1234
|
-
echo " cleanup
|
|
1234
|
+
echo " cleanup [cmd] Storage report/reclaim (all --apply) and branch cleanup"
|
|
1235
1235
|
echo " model-accounts-pool OAuth account pool (list/check/diagnose/add/rotate/reset-cooldowns)"
|
|
1236
1236
|
echo " gpt56-context <cmd> Manage the 300K GPT-5.6 OpenCode context cap (enable/disable/status)"
|
|
1237
1237
|
echo " gpt6-context <cmd> Manage the default ~240K GPT-6 Sol/Luna compaction cap (enable/disable/status)"
|
|
@@ -2100,7 +2100,8 @@ _main_dispatch() {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
|
|
2102
2102
|
_main_dispatch_cleanup() {
|
|
2103
|
-
local cleanup_subcommand="${1:-
|
|
2103
|
+
local cleanup_subcommand="${1:-report}"
|
|
2104
|
+
local storage_helper="storage-cleanup-helper.sh"
|
|
2104
2105
|
case "$cleanup_subcommand" in
|
|
2105
2106
|
branches | remote-branches)
|
|
2106
2107
|
shift || true
|
|
@@ -2110,22 +2111,33 @@ _main_dispatch_cleanup() {
|
|
|
2110
2111
|
shift || true
|
|
2111
2112
|
_dispatch_helper "local-branch-cleanup-helper.sh" "local-branch-cleanup-helper.sh" "$@"
|
|
2112
2113
|
;;
|
|
2113
|
-
|
|
2114
|
-
|
|
2114
|
+
report | status | all | tmp | worktrees | opencode | observability)
|
|
2115
|
+
# GH#35245: storage stores route to their existing owning cleaners.
|
|
2116
|
+
_dispatch_helper "$storage_helper" "$storage_helper" "$@"
|
|
2117
|
+
return $?
|
|
2118
|
+
;;
|
|
2119
|
+
help | --help | -h)
|
|
2120
|
+
echo "Usage: aidevops cleanup [report|all|<store>|<branch-cmd>] [options]"
|
|
2121
|
+
echo ""
|
|
2122
|
+
echo "Storage (dry-run unless --apply):"
|
|
2123
|
+
echo " (no args), report Sizes of aidevops-owned stores and their cleaners"
|
|
2124
|
+
echo " all [--apply] Preview or clean every store"
|
|
2125
|
+
echo " tmp|worktrees|opencode|observability [--apply] One store"
|
|
2126
|
+
echo " Daily automatic run: routine r922 Storage hygiene (installed by setup)"
|
|
2115
2127
|
echo ""
|
|
2116
|
-
echo "
|
|
2117
|
-
echo " branches Audit stale remote branches
|
|
2128
|
+
echo "Branches (dry-run unless --apply):"
|
|
2129
|
+
echo " branches Audit stale remote branches"
|
|
2118
2130
|
echo " remote-branches Alias for branches"
|
|
2119
|
-
echo " local-branches Audit merged local branches
|
|
2131
|
+
echo " local-branches Audit merged local branches"
|
|
2120
2132
|
echo ""
|
|
2121
|
-
echo "
|
|
2133
|
+
echo "Branch options:"
|
|
2122
2134
|
echo " --repo PATH Repository path (default: current directory)"
|
|
2123
2135
|
echo " --remote NAME Remote to audit (default: origin)"
|
|
2124
2136
|
echo " --branch NAME Single local branch (local-branches only)"
|
|
2125
2137
|
echo " --apply Delete safe candidates"
|
|
2126
2138
|
echo ""
|
|
2127
2139
|
;;
|
|
2128
|
-
*) print_error "Unknown cleanup subcommand: $cleanup_subcommand (try
|
|
2140
|
+
*) print_error "Unknown cleanup subcommand: $cleanup_subcommand (try report|all|tmp|worktrees|opencode|observability|branches|local-branches|help)"; return 1 ;;
|
|
2129
2141
|
esac
|
|
2130
2142
|
return 0
|
|
2131
2143
|
}
|
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.53
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -1902,6 +1902,8 @@ _setup_noninteractive_schedulers() {
|
|
|
1902
1902
|
# opencode DB archive/VACUUM (GH#25136). Dedicated low-priority scheduler;
|
|
1903
1903
|
# not tied to pulse preflight cadence.
|
|
1904
1904
|
_time_step "setup_opencode_db_archive" setup_opencode_db_archive
|
|
1905
|
+
# r922 storage hygiene (GH#35245). Daily owning-cleaner run, Pulse-independent.
|
|
1906
|
+
_time_step "setup_storage_hygiene" setup_storage_hygiene
|
|
1905
1907
|
# Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
|
|
1906
1908
|
_time_step "migrate_cron_to_systemd" migrate_cron_to_systemd
|
|
1907
1909
|
_time_step "$SETUP_STAGE_TABBY" setup_tabby
|
|
@@ -1958,6 +1960,7 @@ _setup_post_setup_steps() {
|
|
|
1958
1960
|
setup_oauth_token_refresh
|
|
1959
1961
|
setup_opencode_db_maintenance
|
|
1960
1962
|
setup_opencode_db_archive
|
|
1963
|
+
setup_storage_hygiene
|
|
1961
1964
|
# Migrate cron entries to systemd after schedulers are installed (GH#17695 Finding D)
|
|
1962
1965
|
migrate_cron_to_systemd
|
|
1963
1966
|
setup_tabby
|