aidevops 2.100.15 → 2.100.16

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.
Files changed (3) hide show
  1. package/VERSION +1 -1
  2. package/package.json +1 -1
  3. package/setup.sh +9 -1
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.100.15
1
+ 2.100.16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.100.15",
3
+ "version": "2.100.16",
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
@@ -385,6 +385,8 @@ disable_ondemand_mcps() {
385
385
  # Oh-My-OpenCode MCPs - use @github-search subagent instead
386
386
  "grep_app"
387
387
  "websearch"
388
+ # osgrep - use osgrep tool directly via Bash, not MCP
389
+ "osgrep"
388
390
  )
389
391
 
390
392
  local disabled=0
@@ -394,14 +396,20 @@ disable_ondemand_mcps() {
394
396
  cp "$opencode_config" "$tmp_config"
395
397
 
396
398
  for mcp in "${ondemand_mcps[@]}"; do
397
- # Check if MCP exists and is currently enabled (or has no enabled field)
399
+ # Check if MCP exists
398
400
  if jq -e ".mcp[\"$mcp\"]" "$tmp_config" > /dev/null 2>&1; then
401
+ # MCP exists - check if enabled
399
402
  local current_enabled
400
403
  current_enabled=$(jq -r ".mcp[\"$mcp\"].enabled // \"true\"" "$tmp_config")
401
404
  if [[ "$current_enabled" != "false" ]]; then
402
405
  jq ".mcp[\"$mcp\"].enabled = false" "$tmp_config" > "${tmp_config}.new" && mv "${tmp_config}.new" "$tmp_config"
403
406
  ((disabled++))
404
407
  fi
408
+ else
409
+ # MCP doesn't exist - add it as disabled (prevents OmO from enabling it)
410
+ # This is needed for MCPs that plugins add dynamically (like oh-my-opencode)
411
+ jq ".mcp[\"$mcp\"] = {\"type\": \"stdio\", \"enabled\": false, \"command\": [\"echo\", \"disabled\"]}" "$tmp_config" > "${tmp_config}.new" && mv "${tmp_config}.new" "$tmp_config"
412
+ ((disabled++))
405
413
  fi
406
414
  done
407
415