aidevops 2.100.14 → 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 +15 -3
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.100.14
1
+ 2.100.16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.100.14",
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
@@ -375,12 +375,18 @@ disable_ondemand_mcps() {
375
375
 
376
376
  # MCPs to disable globally (enabled on-demand via subagents)
377
377
  # Note: use exact MCP key names from opencode.json
378
+ # Includes Oh-My-OpenCode MCPs (grep_app, websearch) that we replace with subagents
378
379
  local -a ondemand_mcps=(
379
380
  "playwriter"
380
381
  "augment-context-engine"
381
382
  "gh_grep"
382
383
  "google-analytics-mcp"
383
384
  "context7"
385
+ # Oh-My-OpenCode MCPs - use @github-search subagent instead
386
+ "grep_app"
387
+ "websearch"
388
+ # osgrep - use osgrep tool directly via Bash, not MCP
389
+ "osgrep"
384
390
  )
385
391
 
386
392
  local disabled=0
@@ -390,14 +396,20 @@ disable_ondemand_mcps() {
390
396
  cp "$opencode_config" "$tmp_config"
391
397
 
392
398
  for mcp in "${ondemand_mcps[@]}"; do
393
- # Check if MCP exists and is currently enabled (or has no enabled field)
399
+ # Check if MCP exists
394
400
  if jq -e ".mcp[\"$mcp\"]" "$tmp_config" > /dev/null 2>&1; then
401
+ # MCP exists - check if enabled
395
402
  local current_enabled
396
403
  current_enabled=$(jq -r ".mcp[\"$mcp\"].enabled // \"true\"" "$tmp_config")
397
404
  if [[ "$current_enabled" != "false" ]]; then
398
405
  jq ".mcp[\"$mcp\"].enabled = false" "$tmp_config" > "${tmp_config}.new" && mv "${tmp_config}.new" "$tmp_config"
399
406
  ((disabled++))
400
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++))
401
413
  fi
402
414
  done
403
415
 
@@ -3590,8 +3602,8 @@ main() {
3590
3602
  confirm_step "Setup AI orchestration frameworks info" && setup_ai_orchestration
3591
3603
  confirm_step "Setup OpenCode plugins" && setup_opencode_plugins
3592
3604
  confirm_step "Setup Oh-My-OpenCode" && setup_oh_my_opencode
3593
- # Run AFTER all MCP setup functions to ensure disabled state persists
3594
- confirm_step "Disable on-demand MCPs globally (playwriter, augment, gh_grep)" && disable_ondemand_mcps
3605
+ # Run AFTER all MCP setup functions (including OmO) to ensure disabled state persists
3606
+ confirm_step "Disable on-demand MCPs globally (incl. OmO: grep_app, websearch)" && disable_ondemand_mcps
3595
3607
 
3596
3608
  echo ""
3597
3609
  print_success "🎉 Setup complete!"