aidevops 2.83.0 → 2.84.0

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.83.0
1
+ 2.84.0
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.83.0
6
+ # Version: 2.83.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.83.0",
3
+ "version": "2.84.0",
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.83.0
6
+ # Version: 2.83.1
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)
@@ -229,22 +229,33 @@ cleanup_deprecated_mcps() {
229
229
  fi
230
230
 
231
231
  # Migrate npx/pipx commands to full binary paths (faster startup, PATH-independent)
232
- # Maps: package-name -> binary-name
233
- local -A mcp_migrations=(
234
- ["chrome-devtools-mcp"]="chrome-devtools-mcp"
235
- ["mcp-server-gsc"]="mcp-server-gsc"
236
- ["repomix"]="repomix"
237
- ["playwriter"]="playwriter"
238
- ["@steipete/macos-automator-mcp"]="macos-automator-mcp"
239
- ["@steipete/claude-code-mcp"]="claude-code-mcp"
240
- ["analytics-mcp"]="analytics-mcp"
232
+ # Parallel arrays avoid bash associative array issues with @ in package names
233
+ local -a mcp_pkgs=(
234
+ "chrome-devtools-mcp"
235
+ "mcp-server-gsc"
236
+ "repomix"
237
+ "playwriter"
238
+ "@steipete/macos-automator-mcp"
239
+ "@steipete/claude-code-mcp"
240
+ "analytics-mcp"
241
+ )
242
+ local -a mcp_bins=(
243
+ "chrome-devtools-mcp"
244
+ "mcp-server-gsc"
245
+ "repomix"
246
+ "playwriter"
247
+ "macos-automator-mcp"
248
+ "claude-code-mcp"
249
+ "analytics-mcp"
241
250
  )
242
251
 
243
- for pkg in "${!mcp_migrations[@]}"; do
244
- local bin_name="${mcp_migrations[$pkg]}"
252
+ local i
253
+ for i in "${!mcp_pkgs[@]}"; do
254
+ local pkg="${mcp_pkgs[$i]}"
255
+ local bin_name="${mcp_bins[$i]}"
245
256
  # Find MCP key using npx/bunx/pipx for this package (single query)
246
257
  local mcp_key
247
- mcp_key=$(jq -r ".mcp | to_entries[] | select(.value.command != null) | select(.value.command | join(\" \") | test(\"npx.*${pkg}|bunx.*${pkg}|pipx.*run.*${pkg}\")) | .key" "$tmp_config" 2>/dev/null | head -1)
258
+ mcp_key=$(jq -r --arg pkg "$pkg" '.mcp | to_entries[] | select(.value.command != null) | select(.value.command | join(" ") | test("npx.*" + $pkg + "|bunx.*" + $pkg + "|pipx.*run.*" + $pkg)) | .key' "$tmp_config" 2>/dev/null | head -1)
248
259
 
249
260
  if [[ -n "$mcp_key" ]]; then
250
261
  # Resolve full path for the binary
@@ -2142,14 +2153,14 @@ setup_nodejs_env() {
2142
2153
  install_mcp_packages() {
2143
2154
  print_info "Installing MCP server packages globally (eliminates npx startup delay)..."
2144
2155
 
2145
- # Node.js MCP packages: package-name -> binary-name
2146
- local -A node_mcps=(
2147
- ["chrome-devtools-mcp"]="chrome-devtools-mcp"
2148
- ["mcp-server-gsc"]="mcp-server-gsc"
2149
- ["repomix"]="repomix"
2150
- ["playwriter"]="playwriter"
2151
- ["@steipete/macos-automator-mcp"]="macos-automator-mcp"
2152
- ["@steipete/claude-code-mcp"]="claude-code-mcp"
2156
+ # Node.js MCP packages to install globally
2157
+ local -a node_mcps=(
2158
+ "chrome-devtools-mcp"
2159
+ "mcp-server-gsc"
2160
+ "repomix"
2161
+ "playwriter"
2162
+ "@steipete/macos-automator-mcp"
2163
+ "@steipete/claude-code-mcp"
2153
2164
  )
2154
2165
 
2155
2166
  local installer=""
@@ -2172,7 +2183,8 @@ install_mcp_packages() {
2172
2183
  # Always install latest (bun install -g is fast and idempotent)
2173
2184
  local updated=0
2174
2185
  local failed=0
2175
- for pkg in "${!node_mcps[@]}"; do
2186
+ local pkg
2187
+ for pkg in "${node_mcps[@]}"; do
2176
2188
  if $install_cmd "${pkg}@latest" > /dev/null 2>&1; then
2177
2189
  ((updated++))
2178
2190
  else