diff --git a/.agents/scripts/generate-opencode-agents.sh b/.agents/scripts/generate-opencode-agents.sh index cadd0b2870..349e9356cb 100755 --- a/.agents/scripts/generate-opencode-agents.sh +++ b/.agents/scripts/generate-opencode-agents.sh @@ -39,7 +39,7 @@ Add ~/.aidevops/agents/AGENTS.md to context for AI DevOps capabilities. ## aidevops Framework Status **On interactive conversation start** (skip this section entirely for headless/command sessions like `/pulse`, `/full-loop`, etc.): -1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh` +1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh --interactive` 2. If no Bash tool: Read `~/.aidevops/cache/session-greeting.txt` (cached by agents with Bash) 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 diff --git a/templates/opencode-config-agents.md b/templates/opencode-config-agents.md index 03ac01b5d3..77b90c5bb5 100644 --- a/templates/opencode-config-agents.md +++ b/templates/opencode-config-agents.md @@ -3,7 +3,7 @@ Add ~/.aidevops/agents/AGENTS.md to context for AI DevOps capabilities. ## aidevops Framework Status **On conversation start**: -1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh` +1. If you have Bash tool: Run `bash ~/.aidevops/agents/scripts/aidevops-update-check.sh --interactive` 2. If no Bash tool: Read `~/.aidevops/cache/session-greeting.txt` (cached by agents with Bash) 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