aidevops 3.39.58 → 3.39.60
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 +1 -1
- package/package.json +1 -1
- package/setup.sh +16 -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.60
|
package/aidevops.sh
CHANGED
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.60
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -1388,6 +1388,18 @@ _setup_ai_session_verify_deploy() {
|
|
|
1388
1388
|
return $?
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
+
# OpenCode DB archive (daily) and maintenance (weekly) schedulers keep the
|
|
1392
|
+
# session DB small enough to avoid "database is locked" stalls (GH#35492).
|
|
1393
|
+
# Both installers are idempotent content-diffs, so every auto-update ensures
|
|
1394
|
+
# they exist even when the incremental plan would not otherwise touch them.
|
|
1395
|
+
_setup_ensure_opencode_db_schedulers() {
|
|
1396
|
+
_time_step "setup_opencode_db_maintenance" setup_opencode_db_maintenance ||
|
|
1397
|
+
print_warning "OpenCode DB maintenance scheduler refresh failed (non-fatal)"
|
|
1398
|
+
_time_step "setup_opencode_db_archive" setup_opencode_db_archive ||
|
|
1399
|
+
print_warning "OpenCode DB archive scheduler refresh failed (non-fatal)"
|
|
1400
|
+
return 0
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1391
1403
|
_setup_run_ai_session_incremental() {
|
|
1392
1404
|
local os="$1"
|
|
1393
1405
|
local stamp_file="$HOME/.aidevops/.deployed-sha"
|
|
@@ -1414,6 +1426,7 @@ _setup_run_ai_session_incremental() {
|
|
|
1414
1426
|
|
|
1415
1427
|
if [[ "$deployed_sha" == "$current_sha" ]]; then
|
|
1416
1428
|
print_success "AI-session setup: deployed SHA already matches current checkout"
|
|
1429
|
+
_setup_ensure_opencode_db_schedulers
|
|
1417
1430
|
_time_step "$SETUP_STAGE_TABBY" setup_tabby
|
|
1418
1431
|
_setup_ai_session_verify_deploy "$current_sha" || return $?
|
|
1419
1432
|
return 0
|
|
@@ -1452,6 +1465,8 @@ _setup_run_ai_session_incremental() {
|
|
|
1452
1465
|
if [[ "$_SETUP_AI_SESSION_NEEDS_GUI" -eq 1 ]]; then
|
|
1453
1466
|
_time_step "setup_gui_desktop_app_opt_in" _setup_offer_gui_desktop_app || return $?
|
|
1454
1467
|
fi
|
|
1468
|
+
# After agent deploy so the schedulers point at the freshly deployed helpers.
|
|
1469
|
+
_setup_ensure_opencode_db_schedulers
|
|
1455
1470
|
|
|
1456
1471
|
_time_step "$SETUP_STAGE_TABBY" setup_tabby
|
|
1457
1472
|
_setup_ai_session_verify_deploy "$current_sha" || return $?
|