aidevops 3.2.6 → 3.2.8

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.2.6
1
+ 3.2.8
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 3.2.6
6
+ # Version: 3.2.8
7
7
 
8
8
  set -euo pipefail
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "3.2.6",
3
+ "version": "3.2.8",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -286,16 +286,17 @@ deploy_aidevops_agents() {
286
286
  # Create target directory
287
287
  mkdir -p "$target_dir"
288
288
 
289
- # If clean mode, remove stale files first (preserving user and plugin directories)
290
- if [[ "$CLEAN_MODE" == "true" ]]; then
291
- local -a preserved_dirs=("custom" "draft")
292
- if [[ ${#plugin_namespaces[@]} -gt 0 ]]; then
293
- for pns in "${plugin_namespaces[@]}"; do
294
- preserved_dirs+=("$pns")
295
- done
296
- fi
297
- _deploy_agents_clean_mode "$target_dir" "${preserved_dirs[@]}" || return 1
289
+ # Always clean stale files from previous deployments. Files that were
290
+ # moved or deleted in the source repo would otherwise persist in the
291
+ # deployed directory indefinitely (rsync without --delete is additive).
292
+ # Preserves user directories (custom/, draft/) and plugin namespaces.
293
+ local -a preserved_dirs=("custom" "draft")
294
+ if [[ ${#plugin_namespaces[@]} -gt 0 ]]; then
295
+ for pns in "${plugin_namespaces[@]}"; do
296
+ preserved_dirs+=("$pns")
297
+ done
298
298
  fi
299
+ _deploy_agents_clean_mode "$target_dir" "${preserved_dirs[@]}" || return 1
299
300
 
300
301
  # Copy all agent files and folders, excluding:
301
302
  # - loop-state/ (local runtime state, not agents)
package/setup.sh CHANGED
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
10
10
  # AI Assistant Server Access Framework Setup Script
11
11
  # Helps developers set up the framework for their infrastructure
12
12
  #
13
- # Version: 3.2.6
13
+ # Version: 3.2.8
14
14
  #
15
15
  # Quick Install:
16
16
  # npm install -g aidevops && aidevops update (recommended)