sap-adt-mcp 0.8.3 → 0.8.4

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/reporter.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sap-adt-mcp",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "MCP server giving Claude live access to SAP systems via ADT (ABAP Development Tools) REST. Read source, search, run syntax checks, and edit ABAP objects from any MCP-compatible client.",
5
5
  "type": "module",
6
6
  "main": "src/server.js",
package/src/reporter.js CHANGED
@@ -184,6 +184,12 @@ const BUSINESS_TYPE_RE =
184
184
  // toward NOT reporting; the relay labels survivors `auto-adt-error` for cheap
185
185
  // human triage.
186
186
  function shouldReportAdt(meta = {}) {
187
+ // adt_request is the raw escape hatch — the caller fully specifies the
188
+ // method/path/headers, so a non-2xx is their request shape, not a tool defect.
189
+ // Never auto-file these (the agent improvising over the escape hatch would
190
+ // otherwise spam the tracker).
191
+ if (meta.tool === "adt_request") return false;
192
+
187
193
  const s = Number(meta.status);
188
194
  const type = String(meta.type ?? "");
189
195
  const t100id = String(meta.t100?.id ?? "");