@abapify/adt-mcp 0.4.28 → 0.4.31

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.
@@ -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: [{
@@ -5653,7 +5654,7 @@ function registerImportTransportTool(server, ctx) {
5653
5654
  objectTypes: z.array(z.string()).optional().describe("Optional list of object types to filter (e.g. [\"CLAS\",\"INTF\"])"),
5654
5655
  applyDeletions: z.boolean().optional().describe("Whether to remove local files for objects marked with obj_func=D and pgmid=R3TR (default: true)"),
5655
5656
  saveTrMetadata: z.boolean().optional().describe("Write a JSON sidecar for each transport to <outputDir>/.adt/tr/<TRKORR>.json (default: false)"),
5656
- removeMissingObjects: z.boolean().optional().describe("Remove local files for objects in the TR that cannot be fetched from SAP (orphan sync, default: false)")
5657
+ removeMissingObjects: z.boolean().optional().describe("Remove local files only for confirmed HTTP 404/not-found objects; other read errors fail without cleanup (default: false)")
5657
5658
  }, async (args, extra) => {
5658
5659
  try {
5659
5660
  const { client } = await resolveClient(ctx, args, extra ?? {});
@@ -6676,6 +6677,7 @@ function registerFlowCheckoutTrTool(server, ctx, overrides = {}) {
6676
6677
  ...sessionOrConnectionShape,
6677
6678
  transports: z.array(z.string().trim().min(1)).min(1),
6678
6679
  base: z.boolean().optional(),
6680
+ verifyInventory: z.boolean().optional().describe("Recompute transport inventory instead of reusing an exact-head index"),
6679
6681
  workspaceRoot: z.string().min(1).describe("Absolute target directory within a server-owned root")
6680
6682
  }, {
6681
6683
  readOnlyHint: false,
@@ -6693,7 +6695,8 @@ function registerFlowCheckoutTrTool(server, ctx, overrides = {}) {
6693
6695
  failureMessage: "Could not materialize the requested transport boundary.",
6694
6696
  run: (service, input) => service.checkout({
6695
6697
  ...input,
6696
- mode: args.base ? "base" : "head"
6698
+ mode: args.base ? "base" : "head",
6699
+ ...args.verifyInventory === true ? { verifyInventory: true } : {}
6697
6700
  })
6698
6701
  }
6699
6702
  }));
@@ -7204,4 +7207,4 @@ function createMcpServer(options) {
7204
7207
  }
7205
7208
 
7206
7209
  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
7210
+ //# sourceMappingURL=server-CrSNZGua.mjs.map