@abapify/adt-mcp 0.4.27 → 0.4.29

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.
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as startHttpServer } from "../server-CnE2qNID.mjs";
2
+ import { n as startHttpServer } from "../server-BMgXx1qL.mjs";
3
3
  import { loadConfig } from "@abapify/adt-config";
4
4
 
5
5
  // src/lib/http/adt-config-loader.ts
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as createMcpServer } from "../server-DjXoS9WZ.mjs";
2
+ import { t as createMcpServer } from "../server-6B_nNmea.mjs";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
 
5
5
  // src/bin/adt-mcp.ts
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { c as operationClassForMcpTool, i as assertMcpToolIsClassified, l as resolveObjectUri, n as registerTools, r as MCP_TOOL_SCOPE_CATALOGUE, s as isMcpToolAllowed, t as createMcpServer } from "./server-DjXoS9WZ.mjs";
2
- import { a as parseSafeExecutePolicy, c as createSessionRegistry, i as parseDelegatedAssistantReadPolicy, n as startHttpServer, o as parseScopedAdtInvocationPolicy, r as createMcpInvocationVerifier, s as loadMultiSystemConfig, t as createHttpMcpHandler } from "./server-CnE2qNID.mjs";
1
+ import { c as operationClassForMcpTool, i as assertMcpToolIsClassified, l as resolveObjectUri, n as registerTools, r as MCP_TOOL_SCOPE_CATALOGUE, s as isMcpToolAllowed, t as createMcpServer } from "./server-6B_nNmea.mjs";
2
+ import { a as parseSafeExecutePolicy, c as createSessionRegistry, i as parseDelegatedAssistantReadPolicy, n as startHttpServer, o as parseScopedAdtInvocationPolicy, r as createMcpInvocationVerifier, s as loadMultiSystemConfig, t as createHttpMcpHandler } from "./server-BMgXx1qL.mjs";
3
3
 
4
4
  // src/lib/session/destination-registry.ts
5
5
  const DEFAULT_TTL_MS = 18e5;
@@ -1304,9 +1304,10 @@ function registerAtcRunTool(server, ctx) {
1304
1304
  }] }
1305
1305
  } });
1306
1306
  const findings = canonicalFindings(await client.adt.atc.worklists.get(worklistId, { includeExemptedFindings: "false" }));
1307
- const categoryIndex = await fetchCheckCategoryIndex(client, checkVariant);
1307
+ const logger = { warn: (message) => console.error(message) };
1308
+ const categoryIndex = await fetchCheckCategoryIndex(client, checkVariant, logger);
1308
1309
  enrichFindingsWithCategories(findings, categoryIndex);
1309
- await resolveCategoriesViaDocumentation(client, findings, categoryIndex);
1310
+ await resolveCategoriesViaDocumentation(client, findings, categoryIndex, { logger });
1310
1311
  for (const finding of findings) delete finding.documentationUri;
1311
1312
  if (safePolicy && findings.length > safePolicy.maxFindings) return safeExecuteLimitResult("safe_execute_limit_exceeded");
1312
1313
  return { content: [{
@@ -7204,4 +7205,4 @@ function createMcpServer(options) {
7204
7205
  }
7205
7206
 
7206
7207
  export { isMcpDestinationKey as a, operationClassForMcpTool as c, assertMcpToolIsClassified as i, resolveObjectUri as l, registerTools as n, isMcpOperationClass as o, MCP_TOOL_SCOPE_CATALOGUE as r, isMcpToolAllowed as s, createMcpServer as t };
7207
- //# sourceMappingURL=server-DjXoS9WZ.mjs.map
7208
+ //# sourceMappingURL=server-6B_nNmea.mjs.map