diff --git a/.agents/scripts/generate-opencode-agents.sh b/.agents/scripts/generate-opencode-agents.sh index 349e9356c..1d3358bb2 100755 --- a/.agents/scripts/generate-opencode-agents.sh +++ b/.agents/scripts/generate-opencode-agents.sh @@ -44,7 +44,7 @@ Add ~/.aidevops/agents/AGENTS.md to context for AI DevOps capabilities. 3. Greet with: "Hi!\n\nWe're running https://aidevops.sh v{version}.\n\nWhat would you like to work on?" 4. Then respond to the user's actual message -If update check output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest`), inform user: "Update available (current → latest). Run `aidevops update` to update." +If update check output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest`), inform user: "Update available (current → latest). Run `aidevops update` in a terminal session to update, or type `!aidevops update` below and hit Enter." ## Pre-Edit Git Check diff --git a/templates/opencode-config-agents.md b/templates/opencode-config-agents.md index 77b90c5bb..78a6e5d1a 100644 --- a/templates/opencode-config-agents.md +++ b/templates/opencode-config-agents.md @@ -8,7 +8,7 @@ Add ~/.aidevops/agents/AGENTS.md to context for AI DevOps capabilities. 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?" 4. Then respond to the user's actual message -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." +If update check output starts with `UPDATE_AVAILABLE|` (e.g., `UPDATE_AVAILABLE|current|latest|AppName`), inform user: "Update available (current → latest). Run `aidevops update` in a terminal session to update, or type `!aidevops update` below and hit Enter." ## Pre-Edit Git Check