@ateam-ai/mcp 0.3.33 → 0.3.34

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/tools.js +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ateam-ai/mcp",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "mcpName": "io.github.ariekogan/ateam-mcp",
5
5
  "description": "A-Team MCP Server — build, validate, and deploy multi-agent solutions from any AI environment",
6
6
  "type": "module",
package/src/tools.js CHANGED
@@ -1643,7 +1643,13 @@ const handlers = {
1643
1643
  phases.push({ phase: "deploy", status: job.status });
1644
1644
  break;
1645
1645
  }
1646
- } catch { /* keep polling */ }
1646
+ } catch (err) {
1647
+ // #4 Silent-catch audit: poll errors are usually transient
1648
+ // (network blip, restart). Logging at debug level so they
1649
+ // don't drown the console but ARE visible if you bump the
1650
+ // log level after a stuck deploy.
1651
+ if (process.env.MCP_DEBUG_POLLS) console.warn(`[ateam_build_and_run] poll ${jobId} error (will retry): ${err.message}`);
1652
+ }
1647
1653
  }
1648
1654
  if (!deploy) {
1649
1655
  return { ok: false, phase: "deployment", phases, error: "Async deploy timed out after 10 minutes", validation_warnings: validation.warnings || [],