aidevops 3.32.100 → 3.32.102
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 +33 -5
- 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.102
|
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.102
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -217,11 +217,32 @@ source "${AIDEVOPS_CLI_MODULES_DIR}/aidevops-update-lib.sh"
|
|
|
217
217
|
source "${AIDEVOPS_CLI_MODULES_DIR}/aidevops-upgrade-planning-lib.sh"
|
|
218
218
|
|
|
219
219
|
_run_update_setup() {
|
|
220
|
+
local output_mode="${1:-${AIDEVOPS_OUTPUT_MODE:-auto}}"
|
|
220
221
|
local setup_script="${INSTALL_DIR}/setup.sh"
|
|
221
222
|
if [[ ! -f "$setup_script" ]]; then
|
|
222
223
|
print_error "setup.sh not found at $setup_script"
|
|
223
224
|
return 1
|
|
224
225
|
fi
|
|
226
|
+
local use_compact=false
|
|
227
|
+
case "$output_mode" in
|
|
228
|
+
compact) use_compact=true ;;
|
|
229
|
+
full) use_compact=false ;;
|
|
230
|
+
auto) [[ ! -t 1 ]] && use_compact=true ;;
|
|
231
|
+
*)
|
|
232
|
+
print_error "Unknown update output mode: $output_mode"
|
|
233
|
+
return 1
|
|
234
|
+
;;
|
|
235
|
+
esac
|
|
236
|
+
local sandbox_helper="${INSTALL_DIR}/.agents/scripts/output-sandbox-helper.sh"
|
|
237
|
+
if [[ "$use_compact" == "true" && -x "$sandbox_helper" ]]; then
|
|
238
|
+
"$sandbox_helper" run \
|
|
239
|
+
--tag aidevops-update-setup \
|
|
240
|
+
--success-mode receipt \
|
|
241
|
+
--failure-mode diagnostic \
|
|
242
|
+
--expect-text '[SETUP_COMPLETE]' \
|
|
243
|
+
-- bash "$setup_script" --stage ai-session
|
|
244
|
+
return $?
|
|
245
|
+
fi
|
|
225
246
|
bash "$setup_script" --stage ai-session
|
|
226
247
|
return $?
|
|
227
248
|
}
|
|
@@ -230,8 +251,15 @@ _run_update_setup() {
|
|
|
230
251
|
cmd_update() {
|
|
231
252
|
local skip_project_sync=false
|
|
232
253
|
local reconcile_repo_verify=false
|
|
254
|
+
local update_output_mode="${AIDEVOPS_OUTPUT_MODE:-auto}"
|
|
233
255
|
local arg
|
|
234
|
-
for arg in "$@"; do
|
|
256
|
+
for arg in "$@"; do
|
|
257
|
+
case "$arg" in
|
|
258
|
+
--skip-project-sync) skip_project_sync=true ;;
|
|
259
|
+
--compact) update_output_mode="compact" ;;
|
|
260
|
+
--verbose) update_output_mode="full" ;;
|
|
261
|
+
esac
|
|
262
|
+
done
|
|
235
263
|
print_header "Updating AI DevOps Framework"
|
|
236
264
|
echo ""
|
|
237
265
|
local current_version
|
|
@@ -265,7 +293,7 @@ cmd_update() {
|
|
|
265
293
|
if [[ "$repo_version" != "$deployed_version" ]]; then
|
|
266
294
|
print_warning "Deployed agents ($deployed_version) don't match repo ($repo_version)"
|
|
267
295
|
print_info "Re-running incremental setup to sync agents..."
|
|
268
|
-
_run_update_setup
|
|
296
|
+
_run_update_setup "$update_output_mode"
|
|
269
297
|
else
|
|
270
298
|
# t2706: VERSION matches but .deployed-sha may lag HEAD when
|
|
271
299
|
# fixes land between releases. Detect and redeploy on framework
|
|
@@ -290,7 +318,7 @@ cmd_update() {
|
|
|
290
318
|
if [[ "$has_code_drift" -eq 1 ]]; then
|
|
291
319
|
print_warning "Deployed scripts drifted (${deployed_sha:0:7}→${local_hash:0:7})"
|
|
292
320
|
print_info "Re-running incremental setup to deploy latest scripts..."
|
|
293
|
-
_run_update_setup
|
|
321
|
+
_run_update_setup "$update_output_mode"
|
|
294
322
|
fi
|
|
295
323
|
# GH#21735: workflow templates can change between
|
|
296
324
|
# releases without triggering has_code_drift (templates
|
|
@@ -338,7 +366,7 @@ cmd_update() {
|
|
|
338
366
|
echo ""
|
|
339
367
|
print_info "Running incremental setup to apply changes (falls back to full setup if needed)..."
|
|
340
368
|
local setup_exit=0
|
|
341
|
-
_run_update_setup || setup_exit=$?
|
|
369
|
+
_run_update_setup "$update_output_mode" || setup_exit=$?
|
|
342
370
|
git checkout -- . 2>/dev/null || true
|
|
343
371
|
local repo_version deployed_version
|
|
344
372
|
repo_version=$(cat "$INSTALL_DIR/VERSION" 2>/dev/null || echo "unknown")
|
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.102
|
|
21
21
|
#
|
|
22
22
|
# Quick Install:
|
|
23
23
|
# npm install -g aidevops && aidevops update (recommended)
|