@mcp-abap-adt/core 5.0.11 → 5.1.0

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 (69) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/handlers/behavior_definition/high/handleCheckBehaviorDefinition.d.ts +26 -0
  3. package/dist/handlers/behavior_definition/high/handleCheckBehaviorDefinition.d.ts.map +1 -0
  4. package/dist/handlers/behavior_definition/high/handleCheckBehaviorDefinition.js +26 -0
  5. package/dist/handlers/behavior_definition/high/handleCheckBehaviorDefinition.js.map +1 -0
  6. package/dist/handlers/class/high/handleCheckClass.d.ts +37 -0
  7. package/dist/handlers/class/high/handleCheckClass.d.ts.map +1 -0
  8. package/dist/handlers/class/high/handleCheckClass.js +35 -0
  9. package/dist/handlers/class/high/handleCheckClass.js.map +1 -0
  10. package/dist/handlers/data_element/high/handleCheckDataElement.d.ts +26 -0
  11. package/dist/handlers/data_element/high/handleCheckDataElement.d.ts.map +1 -0
  12. package/dist/handlers/data_element/high/handleCheckDataElement.js +26 -0
  13. package/dist/handlers/data_element/high/handleCheckDataElement.js.map +1 -0
  14. package/dist/handlers/ddlx/high/handleCheckMetadataExtension.d.ts +26 -0
  15. package/dist/handlers/ddlx/high/handleCheckMetadataExtension.d.ts.map +1 -0
  16. package/dist/handlers/ddlx/high/handleCheckMetadataExtension.js +26 -0
  17. package/dist/handlers/ddlx/high/handleCheckMetadataExtension.js.map +1 -0
  18. package/dist/handlers/domain/high/handleCheckDomain.d.ts +26 -0
  19. package/dist/handlers/domain/high/handleCheckDomain.d.ts.map +1 -0
  20. package/dist/handlers/domain/high/handleCheckDomain.js +26 -0
  21. package/dist/handlers/domain/high/handleCheckDomain.js.map +1 -0
  22. package/dist/handlers/function/high/handleCheckFunctionGroup.d.ts +26 -0
  23. package/dist/handlers/function/high/handleCheckFunctionGroup.d.ts.map +1 -0
  24. package/dist/handlers/function/high/handleCheckFunctionGroup.js +26 -0
  25. package/dist/handlers/function/high/handleCheckFunctionGroup.js.map +1 -0
  26. package/dist/handlers/function/high/handleCheckFunctionModule.d.ts +37 -0
  27. package/dist/handlers/function/high/handleCheckFunctionModule.d.ts.map +1 -0
  28. package/dist/handlers/function/high/handleCheckFunctionModule.js +35 -0
  29. package/dist/handlers/function/high/handleCheckFunctionModule.js.map +1 -0
  30. package/dist/handlers/interface/high/handleCheckInterface.d.ts +26 -0
  31. package/dist/handlers/interface/high/handleCheckInterface.d.ts.map +1 -0
  32. package/dist/handlers/interface/high/handleCheckInterface.js +26 -0
  33. package/dist/handlers/interface/high/handleCheckInterface.js.map +1 -0
  34. package/dist/handlers/package/high/handleCheckPackage.d.ts +31 -0
  35. package/dist/handlers/package/high/handleCheckPackage.d.ts.map +1 -0
  36. package/dist/handlers/package/high/handleCheckPackage.js +30 -0
  37. package/dist/handlers/package/high/handleCheckPackage.js.map +1 -0
  38. package/dist/handlers/program/high/handleCheckProgram.d.ts +26 -0
  39. package/dist/handlers/program/high/handleCheckProgram.d.ts.map +1 -0
  40. package/dist/handlers/program/high/handleCheckProgram.js +26 -0
  41. package/dist/handlers/program/high/handleCheckProgram.js.map +1 -0
  42. package/dist/handlers/structure/high/handleCheckStructure.d.ts +37 -0
  43. package/dist/handlers/structure/high/handleCheckStructure.d.ts.map +1 -0
  44. package/dist/handlers/structure/high/handleCheckStructure.js +35 -0
  45. package/dist/handlers/structure/high/handleCheckStructure.js.map +1 -0
  46. package/dist/handlers/table/high/handleCheckTable.d.ts +37 -0
  47. package/dist/handlers/table/high/handleCheckTable.d.ts.map +1 -0
  48. package/dist/handlers/table/high/handleCheckTable.js +35 -0
  49. package/dist/handlers/table/high/handleCheckTable.js.map +1 -0
  50. package/dist/handlers/view/high/handleCheckView.d.ts +37 -0
  51. package/dist/handlers/view/high/handleCheckView.d.ts.map +1 -0
  52. package/dist/handlers/view/high/handleCheckView.js +35 -0
  53. package/dist/handlers/view/high/handleCheckView.js.map +1 -0
  54. package/dist/lib/handlers/groups/HighLevelHandlersGroup.d.ts.map +1 -1
  55. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js +67 -1
  56. package/dist/lib/handlers/groups/HighLevelHandlersGroup.js.map +1 -1
  57. package/dist/lib/normalizeCheckResponse.d.ts +16 -0
  58. package/dist/lib/normalizeCheckResponse.d.ts.map +1 -0
  59. package/dist/lib/normalizeCheckResponse.js +27 -0
  60. package/dist/lib/normalizeCheckResponse.js.map +1 -0
  61. package/docs/superpowers/plans/2026-04-13-high-level-check-tools.md +1740 -0
  62. package/docs/superpowers/specs/2026-04-13-high-level-check-tools-design.md +204 -0
  63. package/docs/user-guide/AVAILABLE_TOOLS.md +187 -3
  64. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +1 -1
  65. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +186 -2
  66. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +127 -3
  67. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  68. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +1 -1
  69. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [5.1.0] - 2026-04-13
6
+
7
+ ### Added
8
+ - 13 high-level Check tools for standalone syntax/semantic validation of ABAP objects (closes #54): CheckBehaviorDefinition, CheckClass, CheckDataElement, CheckDomain, CheckFunctionGroup, CheckFunctionModule, CheckInterface, CheckMetadataExtension, CheckPackage, CheckProgram, CheckStructure, CheckTable, CheckView
9
+ - Normalized response contract for Check tools: shared `object_name` field, `session_id`/`session_state` stripped from output
10
+ - `normalizeCheckResponse` utility for consistent Check tool response normalization
11
+ - Integration tests for all 13 Check handlers with step-by-step logging
12
+
5
13
  ## [5.0.11] - 2026-04-13
6
14
 
7
15
  ### Fixed
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckBehaviorDefinition";
4
+ readonly available_in: readonly ["onprem", "cloud"];
5
+ readonly description: "Perform syntax check on an ABAP behavior definition (BDEF). Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly name: {
10
+ readonly type: "string";
11
+ readonly description: "BehaviorDefinition name (e.g., ZI_MY_BDEF).";
12
+ };
13
+ };
14
+ readonly required: readonly ["name"];
15
+ };
16
+ };
17
+ export declare function handleCheckBehaviorDefinition(context: HandlerContext, args: {
18
+ name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckBehaviorDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckBehaviorDefinition.d.ts","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCheckBehaviorDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,6BAA6B,CACjD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;;;;;;GAIvB"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckBehaviorDefinition = handleCheckBehaviorDefinition;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckBehaviorDefinition_1 = require("../low/handleCheckBehaviorDefinition");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckBehaviorDefinition',
9
+ available_in: ['onprem', 'cloud'],
10
+ description: 'Perform syntax check on an ABAP behavior definition (BDEF). Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ name: {
15
+ type: 'string',
16
+ description: 'BehaviorDefinition name (e.g., ZI_MY_BDEF).',
17
+ },
18
+ },
19
+ required: ['name'],
20
+ },
21
+ };
22
+ async function handleCheckBehaviorDefinition(context, args) {
23
+ const result = await (0, handleCheckBehaviorDefinition_1.handleCheckBehaviorDefinition)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckBehaviorDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckBehaviorDefinition.js","sourceRoot":"","sources":["../../../../src/handlers/behavior_definition/high/handleCheckBehaviorDefinition.ts"],"names":[],"mappings":";;;AAqBA,sEAMC;AA1BD,gFAA6E;AAC7E,wFAA2G;AAE9F,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,yBAAyB;IAC/B,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,4GAA4G;IAC9G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;CACO,CAAC;AAEJ,KAAK,UAAU,6BAA6B,CACjD,OAAuB,EACvB,IAAsB;IAEtB,MAAM,MAAM,GAAG,MAAM,IAAA,6DAAkB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvD,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckClass";
4
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
5
+ readonly description: "Perform syntax check on an ABAP class. Can check existing class (active/inactive) or validate hypothetical source code. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly class_name: {
10
+ readonly type: "string";
11
+ readonly description: "Class name (e.g., ZCL_MY_CLASS).";
12
+ };
13
+ readonly version: {
14
+ readonly type: "string";
15
+ readonly description: "Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active.";
16
+ readonly enum: readonly ["active", "inactive"];
17
+ };
18
+ readonly source_code: {
19
+ readonly type: "string";
20
+ readonly description: "Optional: source code to validate. If provided, validates hypothetical code without creating object. Must include complete CLASS DEFINITION and IMPLEMENTATION sections.";
21
+ };
22
+ };
23
+ readonly required: readonly ["class_name"];
24
+ };
25
+ };
26
+ export declare function handleCheckClass(context: HandlerContext, args: {
27
+ class_name: string;
28
+ version?: string;
29
+ source_code?: string;
30
+ }): Promise<{
31
+ isError: boolean;
32
+ content: Array<{
33
+ type: string;
34
+ text: string;
35
+ }>;
36
+ }>;
37
+ //# sourceMappingURL=handleCheckClass.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckClass.d.ts","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCheckClass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC;AAEX,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE;;;;;;GAIrE"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckClass = handleCheckClass;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckClass_1 = require("../low/handleCheckClass");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckClass',
9
+ available_in: ['onprem', 'cloud', 'legacy'],
10
+ description: 'Perform syntax check on an ABAP class. Can check existing class (active/inactive) or validate hypothetical source code. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ class_name: {
15
+ type: 'string',
16
+ description: 'Class name (e.g., ZCL_MY_CLASS).',
17
+ },
18
+ version: {
19
+ type: 'string',
20
+ description: "Version to check: 'active' (last activated) or 'inactive' (current unsaved). Default: active.",
21
+ enum: ['active', 'inactive'],
22
+ },
23
+ source_code: {
24
+ type: 'string',
25
+ description: 'Optional: source code to validate. If provided, validates hypothetical code without creating object. Must include complete CLASS DEFINITION and IMPLEMENTATION sections.',
26
+ },
27
+ },
28
+ required: ['class_name'],
29
+ },
30
+ };
31
+ async function handleCheckClass(context, args) {
32
+ const result = await (0, handleCheckClass_1.handleCheckClass)(context, args);
33
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.class_name?.toUpperCase());
34
+ }
35
+ //# sourceMappingURL=handleCheckClass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckClass.js","sourceRoot":"","sources":["../../../../src/handlers/class/high/handleCheckClass.ts"],"names":[],"mappings":";;;AAgCA,4CAMC;AArCD,gFAA6E;AAC7E,8DAAkF;AAErE,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,wKAAwK;IAC1K,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kCAAkC;aAChD;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,+FAA+F;gBACjG,IAAI,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;aAC7B;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0KAA0K;aAC7K;SACF;QACD,QAAQ,EAAE,CAAC,YAAY,CAAC;KACzB;CACO,CAAC;AAEJ,KAAK,UAAU,gBAAgB,CACpC,OAAuB,EACvB,IAAoE;IAEpE,MAAM,MAAM,GAAG,MAAM,IAAA,mCAAmB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACxD,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC;AACxE,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckDataElement";
4
+ readonly available_in: readonly ["onprem", "cloud"];
5
+ readonly description: "Perform syntax check on an ABAP data element. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly data_element_name: {
10
+ readonly type: "string";
11
+ readonly description: "Data element name (e.g., ZDE_MY_ELEMENT).";
12
+ };
13
+ };
14
+ readonly required: readonly ["data_element_name"];
15
+ };
16
+ };
17
+ export declare function handleCheckDataElement(context: HandlerContext, args: {
18
+ data_element_name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckDataElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckDataElement.d.ts","sourceRoot":"","sources":["../../../../src/handlers/data_element/high/handleCheckDataElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,iBAAiB,EAAE,MAAM,CAAA;CAAE;;;;;;GAIpC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckDataElement = handleCheckDataElement;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckDataElement_1 = require("../low/handleCheckDataElement");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckDataElement',
9
+ available_in: ['onprem', 'cloud'],
10
+ description: 'Perform syntax check on an ABAP data element. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ data_element_name: {
15
+ type: 'string',
16
+ description: 'Data element name (e.g., ZDE_MY_ELEMENT).',
17
+ },
18
+ },
19
+ required: ['data_element_name'],
20
+ },
21
+ };
22
+ async function handleCheckDataElement(context, args) {
23
+ const result = await (0, handleCheckDataElement_1.handleCheckDataElement)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.data_element_name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckDataElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckDataElement.js","sourceRoot":"","sources":["../../../../src/handlers/data_element/high/handleCheckDataElement.ts"],"names":[],"mappings":";;;AAqBA,wDAMC;AA1BD,gFAA6E;AAC7E,0EAAoG;AAEvF,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,kBAAkB;IACxB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,8FAA8F;IAChG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,2CAA2C;aACzD;SACF;QACD,QAAQ,EAAE,CAAC,mBAAmB,CAAC;KAChC;CACO,CAAC;AAEJ,KAAK,UAAU,sBAAsB,CAC1C,OAAuB,EACvB,IAAmC;IAEnC,MAAM,MAAM,GAAG,MAAM,IAAA,+CAAyB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC9D,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,WAAW,EAAE,CAAC,CAAC;AAC/E,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckMetadataExtension";
4
+ readonly available_in: readonly ["onprem", "cloud"];
5
+ readonly description: "Perform syntax check on an ABAP metadata extension (DDLX). Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly name: {
10
+ readonly type: "string";
11
+ readonly description: "Metadata extension name (e.g., ZC_MY_DDLX).";
12
+ };
13
+ };
14
+ readonly required: readonly ["name"];
15
+ };
16
+ };
17
+ export declare function handleCheckMetadataExtension(context: HandlerContext, args: {
18
+ name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckMetadataExtension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckMetadataExtension.d.ts","sourceRoot":"","sources":["../../../../src/handlers/ddlx/high/handleCheckMetadataExtension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE;;;;;;GAIvB"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckMetadataExtension = handleCheckMetadataExtension;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckMetadataExtension_1 = require("../low/handleCheckMetadataExtension");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckMetadataExtension',
9
+ available_in: ['onprem', 'cloud'],
10
+ description: 'Perform syntax check on an ABAP metadata extension (DDLX). Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ name: {
15
+ type: 'string',
16
+ description: 'Metadata extension name (e.g., ZC_MY_DDLX).',
17
+ },
18
+ },
19
+ required: ['name'],
20
+ },
21
+ };
22
+ async function handleCheckMetadataExtension(context, args) {
23
+ const result = await (0, handleCheckMetadataExtension_1.handleCheckMetadataExtension)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckMetadataExtension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckMetadataExtension.js","sourceRoot":"","sources":["../../../../src/handlers/ddlx/high/handleCheckMetadataExtension.ts"],"names":[],"mappings":";;;AAqBA,oEAMC;AA1BD,gFAA6E;AAC7E,sFAAsH;AAEzG,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,wBAAwB;IAC9B,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,2GAA2G;IAC7G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;SACF;QACD,QAAQ,EAAE,CAAC,MAAM,CAAC;KACnB;CACO,CAAC;AAEJ,KAAK,UAAU,4BAA4B,CAChD,OAAuB,EACvB,IAAsB;IAEtB,MAAM,MAAM,GAAG,MAAM,IAAA,2DAA+B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACpE,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckDomain";
4
+ readonly available_in: readonly ["onprem", "cloud"];
5
+ readonly description: "Perform syntax check on an ABAP domain. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly domain_name: {
10
+ readonly type: "string";
11
+ readonly description: "Domain name (e.g., ZDM_MY_DOMAIN).";
12
+ };
13
+ };
14
+ readonly required: readonly ["domain_name"];
15
+ };
16
+ };
17
+ export declare function handleCheckDomain(context: HandlerContext, args: {
18
+ domain_name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckDomain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckDomain.d.ts","sourceRoot":"","sources":["../../../../src/handlers/domain/high/handleCheckDomain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE;;;;;;GAI9B"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckDomain = handleCheckDomain;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckDomain_1 = require("../low/handleCheckDomain");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckDomain',
9
+ available_in: ['onprem', 'cloud'],
10
+ description: 'Perform syntax check on an ABAP domain. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ domain_name: {
15
+ type: 'string',
16
+ description: 'Domain name (e.g., ZDM_MY_DOMAIN).',
17
+ },
18
+ },
19
+ required: ['domain_name'],
20
+ },
21
+ };
22
+ async function handleCheckDomain(context, args) {
23
+ const result = await (0, handleCheckDomain_1.handleCheckDomain)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.domain_name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckDomain.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckDomain.js","sourceRoot":"","sources":["../../../../src/handlers/domain/high/handleCheckDomain.ts"],"names":[],"mappings":";;;AAqBA,8CAMC;AA1BD,gFAA6E;AAC7E,gEAAqF;AAExE,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAU;IAC1C,WAAW,EACT,wFAAwF;IAC1F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oCAAoC;aAClD;SACF;QACD,QAAQ,EAAE,CAAC,aAAa,CAAC;KAC1B;CACO,CAAC;AAEJ,KAAK,UAAU,iBAAiB,CACrC,OAAuB,EACvB,IAA6B;IAE7B,MAAM,MAAM,GAAG,MAAM,IAAA,qCAAoB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,WAAW,EAAE,CAAC,CAAC;AACzE,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckFunctionGroup";
4
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
5
+ readonly description: "Perform syntax check on an ABAP function group. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly function_group_name: {
10
+ readonly type: "string";
11
+ readonly description: "Function group name (e.g., ZFGRP_MY_GROUP).";
12
+ };
13
+ };
14
+ readonly required: readonly ["function_group_name"];
15
+ };
16
+ };
17
+ export declare function handleCheckFunctionGroup(context: HandlerContext, args: {
18
+ function_group_name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckFunctionGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckFunctionGroup.d.ts","sourceRoot":"","sources":["../../../../src/handlers/function/high/handleCheckFunctionGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,mBAAmB,EAAE,MAAM,CAAA;CAAE;;;;;;GAOtC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckFunctionGroup = handleCheckFunctionGroup;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckFunctionGroup_1 = require("../low/handleCheckFunctionGroup");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckFunctionGroup',
9
+ available_in: ['onprem', 'cloud', 'legacy'],
10
+ description: 'Perform syntax check on an ABAP function group. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ function_group_name: {
15
+ type: 'string',
16
+ description: 'Function group name (e.g., ZFGRP_MY_GROUP).',
17
+ },
18
+ },
19
+ required: ['function_group_name'],
20
+ },
21
+ };
22
+ async function handleCheckFunctionGroup(context, args) {
23
+ const result = await (0, handleCheckFunctionGroup_1.handleCheckFunctionGroup)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.function_group_name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckFunctionGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckFunctionGroup.js","sourceRoot":"","sources":["../../../../src/handlers/function/high/handleCheckFunctionGroup.ts"],"names":[],"mappings":";;;AAqBA,4DASC;AA7BD,gFAA6E;AAC7E,8EAA0G;AAE7F,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,oBAAoB;IAC1B,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,gGAAgG;IAClG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;SACF;QACD,QAAQ,EAAE,CAAC,qBAAqB,CAAC;KAClC;CACO,CAAC;AAEJ,KAAK,UAAU,wBAAwB,CAC5C,OAAuB,EACvB,IAAqC;IAErC,MAAM,MAAM,GAAG,MAAM,IAAA,mDAA2B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAChE,OAAO,IAAA,+CAAsB,EAC3B,MAAM,EACN,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,CACxC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckFunctionModule";
4
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
5
+ readonly description: "Perform syntax check on an ABAP function module. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly function_group_name: {
10
+ readonly type: "string";
11
+ readonly description: "Function group name containing the function module.";
12
+ };
13
+ readonly function_module_name: {
14
+ readonly type: "string";
15
+ readonly description: "Function module name (e.g., Z_MY_FUNCTION).";
16
+ };
17
+ readonly version: {
18
+ readonly type: "string";
19
+ readonly description: "Version to check: 'active' or 'inactive'. Default: active.";
20
+ readonly enum: readonly ["active", "inactive"];
21
+ };
22
+ };
23
+ readonly required: readonly ["function_group_name", "function_module_name"];
24
+ };
25
+ };
26
+ export declare function handleCheckFunctionModule(context: HandlerContext, args: {
27
+ function_group_name: string;
28
+ function_module_name: string;
29
+ version?: string;
30
+ }): Promise<{
31
+ isError: boolean;
32
+ content: Array<{
33
+ type: string;
34
+ text: string;
35
+ }>;
36
+ }>;
37
+ //# sourceMappingURL=handleCheckFunctionModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckFunctionModule.d.ts","sourceRoot":"","sources":["../../../../src/handlers/function/high/handleCheckFunctionModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC;AAEX,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IACJ,mBAAmB,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;;;;;;GAOF"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckFunctionModule = handleCheckFunctionModule;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckFunctionModule_1 = require("../low/handleCheckFunctionModule");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckFunctionModule',
9
+ available_in: ['onprem', 'cloud', 'legacy'],
10
+ description: 'Perform syntax check on an ABAP function module. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ function_group_name: {
15
+ type: 'string',
16
+ description: 'Function group name containing the function module.',
17
+ },
18
+ function_module_name: {
19
+ type: 'string',
20
+ description: 'Function module name (e.g., Z_MY_FUNCTION).',
21
+ },
22
+ version: {
23
+ type: 'string',
24
+ description: "Version to check: 'active' or 'inactive'. Default: active.",
25
+ enum: ['active', 'inactive'],
26
+ },
27
+ },
28
+ required: ['function_group_name', 'function_module_name'],
29
+ },
30
+ };
31
+ async function handleCheckFunctionModule(context, args) {
32
+ const result = await (0, handleCheckFunctionModule_1.handleCheckFunctionModule)(context, args);
33
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.function_module_name?.toUpperCase());
34
+ }
35
+ //# sourceMappingURL=handleCheckFunctionModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckFunctionModule.js","sourceRoot":"","sources":["../../../../src/handlers/function/high/handleCheckFunctionModule.ts"],"names":[],"mappings":";;;AA+BA,8DAaC;AA3CD,gFAA6E;AAC7E,gFAA6G;AAEhG,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,qBAAqB;IAC3B,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,iGAAiG;IACnG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qDAAqD;aACnE;YACD,oBAAoB,EAAE;gBACpB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,4DAA4D;gBAC9D,IAAI,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;aAC7B;SACF;QACD,QAAQ,EAAE,CAAC,qBAAqB,EAAE,sBAAsB,CAAC;KAC1D;CACO,CAAC;AAEJ,KAAK,UAAU,yBAAyB,CAC7C,OAAuB,EACvB,IAIC;IAED,MAAM,MAAM,GAAG,MAAM,IAAA,qDAA4B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACjE,OAAO,IAAA,+CAAsB,EAC3B,MAAM,EACN,IAAI,CAAC,oBAAoB,EAAE,WAAW,EAAE,CACzC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckInterface";
4
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
5
+ readonly description: "Perform syntax check on an ABAP interface. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly interface_name: {
10
+ readonly type: "string";
11
+ readonly description: "Interface name (e.g., ZIF_MY_INTERFACE).";
12
+ };
13
+ };
14
+ readonly required: readonly ["interface_name"];
15
+ };
16
+ };
17
+ export declare function handleCheckInterface(context: HandlerContext, args: {
18
+ interface_name: string;
19
+ }): Promise<{
20
+ isError: boolean;
21
+ content: Array<{
22
+ type: string;
23
+ text: string;
24
+ }>;
25
+ }>;
26
+ //# sourceMappingURL=handleCheckInterface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckInterface.d.ts","sourceRoot":"","sources":["../../../../src/handlers/interface/high/handleCheckInterface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;CAelB,CAAC;AAEX,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE;;;;;;GAIjC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckInterface = handleCheckInterface;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckInterface_1 = require("../low/handleCheckInterface");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckInterface',
9
+ available_in: ['onprem', 'cloud', 'legacy'],
10
+ description: 'Perform syntax check on an ABAP interface. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ interface_name: {
15
+ type: 'string',
16
+ description: 'Interface name (e.g., ZIF_MY_INTERFACE).',
17
+ },
18
+ },
19
+ required: ['interface_name'],
20
+ },
21
+ };
22
+ async function handleCheckInterface(context, args) {
23
+ const result = await (0, handleCheckInterface_1.handleCheckInterface)(context, args);
24
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.interface_name?.toUpperCase());
25
+ }
26
+ //# sourceMappingURL=handleCheckInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckInterface.js","sourceRoot":"","sources":["../../../../src/handlers/interface/high/handleCheckInterface.ts"],"names":[],"mappings":";;;AAqBA,oDAMC;AA1BD,gFAA6E;AAC7E,sEAA8F;AAEjF,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,gBAAgB;IACtB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,2FAA2F;IAC7F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0CAA0C;aACxD;SACF;QACD,QAAQ,EAAE,CAAC,gBAAgB,CAAC;KAC7B;CACO,CAAC;AAEJ,KAAK,UAAU,oBAAoB,CACxC,OAAuB,EACvB,IAAgC;IAEhC,MAAM,MAAM,GAAG,MAAM,IAAA,2CAAuB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC5D,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC;AAC5E,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "CheckPackage";
4
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
5
+ readonly description: "Perform syntax check on an ABAP package. Returns syntax errors, warnings, and messages.";
6
+ readonly inputSchema: {
7
+ readonly type: "object";
8
+ readonly properties: {
9
+ readonly package_name: {
10
+ readonly type: "string";
11
+ readonly description: "Package name (e.g., ZMY_PACKAGE).";
12
+ };
13
+ readonly super_package: {
14
+ readonly type: "string";
15
+ readonly description: "Super package name (parent package).";
16
+ };
17
+ };
18
+ readonly required: readonly ["package_name", "super_package"];
19
+ };
20
+ };
21
+ export declare function handleCheckPackage(context: HandlerContext, args: {
22
+ package_name: string;
23
+ super_package: string;
24
+ }): Promise<{
25
+ isError: boolean;
26
+ content: Array<{
27
+ type: string;
28
+ text: string;
29
+ }>;
30
+ }>;
31
+ //# sourceMappingURL=handleCheckPackage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckPackage.d.ts","sourceRoot":"","sources":["../../../../src/handlers/package/high/handleCheckPackage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;CAmBlB,CAAC;AAEX,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE;;;;;;GAItD"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleCheckPackage = handleCheckPackage;
5
+ const normalizeCheckResponse_1 = require("../../../lib/normalizeCheckResponse");
6
+ const handleCheckPackage_1 = require("../low/handleCheckPackage");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'CheckPackage',
9
+ available_in: ['onprem', 'cloud', 'legacy'],
10
+ description: 'Perform syntax check on an ABAP package. Returns syntax errors, warnings, and messages.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ package_name: {
15
+ type: 'string',
16
+ description: 'Package name (e.g., ZMY_PACKAGE).',
17
+ },
18
+ super_package: {
19
+ type: 'string',
20
+ description: 'Super package name (parent package).',
21
+ },
22
+ },
23
+ required: ['package_name', 'super_package'],
24
+ },
25
+ };
26
+ async function handleCheckPackage(context, args) {
27
+ const result = await (0, handleCheckPackage_1.handleCheckPackage)(context, args);
28
+ return (0, normalizeCheckResponse_1.normalizeCheckResponse)(result, args.package_name?.toUpperCase());
29
+ }
30
+ //# sourceMappingURL=handleCheckPackage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleCheckPackage.js","sourceRoot":"","sources":["../../../../src/handlers/package/high/handleCheckPackage.ts"],"names":[],"mappings":";;;AAyBA,gDAMC;AA9BD,gFAA6E;AAC7E,kEAAwF;AAE3E,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,cAAc;IACpB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,yFAAyF;IAC3F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mCAAmC;aACjD;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sCAAsC;aACpD;SACF;QACD,QAAQ,EAAE,CAAC,cAAc,EAAE,eAAe,CAAC;KAC5C;CACO,CAAC;AAEJ,KAAK,UAAU,kBAAkB,CACtC,OAAuB,EACvB,IAAqD;IAErD,MAAM,MAAM,GAAG,MAAM,IAAA,uCAAqB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC1D,OAAO,IAAA,+CAAsB,EAAC,MAAM,EAAE,IAAI,CAAC,YAAY,EAAE,WAAW,EAAE,CAAC,CAAC;AAC1E,CAAC"}