@abapify/adt-mcp 0.4.28 → 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.
- package/dist/bin/adt-mcp-http.mjs +1 -1
- package/dist/bin/adt-mcp.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{server-DjXoS9WZ.mjs → server-6B_nNmea.mjs} +4 -3
- package/dist/server-6B_nNmea.mjs.map +1 -0
- package/dist/{server-CnE2qNID.mjs → server-BMgXx1qL.mjs} +2 -2
- package/dist/{server-CnE2qNID.mjs.map → server-BMgXx1qL.mjs.map} +1 -1
- package/package.json +16 -16
- package/dist/server-DjXoS9WZ.mjs.map +0 -1
package/dist/bin/adt-mcp.mjs
CHANGED
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-
|
|
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-
|
|
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
|
|
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-
|
|
7208
|
+
//# sourceMappingURL=server-6B_nNmea.mjs.map
|