aidevops 2.105.0 → 2.105.1

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
- 2.105.0
1
+ 2.105.1
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 2.105.0
6
+ # Version: 2.105.1
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": "2.105.0",
3
+ "version": "2.105.1",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/setup.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI Assistant Server Access Framework Setup Script
4
4
  # Helps developers set up the framework for their infrastructure
5
5
  #
6
- # Version: 2.105.0
6
+ # Version: 2.105.1
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)
@@ -2700,6 +2700,26 @@ inject_agents_reference() {
2700
2700
  print_success "Updated $updated_count AI assistant configuration(s)"
2701
2701
  fi
2702
2702
 
2703
+ # Deploy OpenCode config-level AGENTS.md from managed template
2704
+ # This controls the session greeting (auto-loaded by OpenCode from config root)
2705
+ local opencode_config_dir="$HOME/.config/opencode"
2706
+ local opencode_config_agents="$opencode_config_dir/AGENTS.md"
2707
+ local template_source="$INSTALL_DIR/templates/opencode-config-agents.md"
2708
+
2709
+ if [[ -d "$opencode_config_dir" && -f "$template_source" ]]; then
2710
+ # Backup if file exists and differs from template
2711
+ if [[ -f "$opencode_config_agents" ]]; then
2712
+ if ! diff -q "$template_source" "$opencode_config_agents" &>/dev/null; then
2713
+ create_backup_with_rotation "$opencode_config_agents" "opencode-agents"
2714
+ fi
2715
+ fi
2716
+ if cp "$template_source" "$opencode_config_agents"; then
2717
+ print_success "Deployed greeting template to $opencode_config_agents"
2718
+ else
2719
+ print_error "Failed to deploy greeting template to $opencode_config_agents"
2720
+ fi
2721
+ fi
2722
+
2703
2723
  return 0
2704
2724
  }
2705
2725
 
@@ -5,7 +5,7 @@ Add ~/.aidevops/agents/AGENTS.md to context for AI DevOps capabilities.
5
5
  **On conversation start**:
6
6
  1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh`
7
7
  2. If no Bash tool: Read `~/.aidevops/cache/session-greeting.txt` (cached by agents with Bash)
8
- 3. Relay ALL lines from the output in your greeting. The first line is the version string, subsequent lines are runtime context. Format: "Hi!\n\nWe're running https://aidevops.sh v{version}. {runtime context}\n\nWhat would you like to work on?"
8
+ 3. Parse the first line of output (format: `aidevops v{version} running in {app} v{app_version} | {repo}`). Greet with: "Hi!\n\nWe're running https://aidevops.sh v{version} in {app} v{app_version}.\n\nWhat would you like to work on?"
9
9
  4. Then respond to the user's actual message
10
10
 
11
11
  If update check output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest|AppName`), inform user: "Update available (current → latest). Run `aidevops update` to update."