@mcp-abap-adt/core 2.3.0 → 2.4.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 (62) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +3 -2
  3. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.d.ts +79 -0
  4. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.d.ts.map +1 -0
  5. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js +75 -0
  6. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js.map +1 -0
  7. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts +27 -0
  8. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts.map +1 -0
  9. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js +48 -0
  10. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js.map +1 -0
  11. package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts +27 -0
  12. package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts.map +1 -0
  13. package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js +47 -0
  14. package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js.map +1 -0
  15. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.d.ts +53 -0
  16. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.d.ts.map +1 -0
  17. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js +83 -0
  18. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js.map +1 -0
  19. package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts +48 -0
  20. package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts.map +1 -0
  21. package/dist/handlers/system/readonly/handleRuntimeListDumps.js +75 -0
  22. package/dist/handlers/system/readonly/handleRuntimeListDumps.js.map +1 -0
  23. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.d.ts +18 -0
  24. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.d.ts.map +1 -0
  25. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js +39 -0
  26. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js.map +1 -0
  27. package/dist/handlers/system/readonly/runtimePayloadParser.d.ts +6 -0
  28. package/dist/handlers/system/readonly/runtimePayloadParser.d.ts.map +1 -0
  29. package/dist/handlers/system/readonly/runtimePayloadParser.js +28 -0
  30. package/dist/handlers/system/readonly/runtimePayloadParser.js.map +1 -0
  31. package/dist/lib/config/ArgumentsParser.js +2 -2
  32. package/dist/lib/config/ArgumentsParser.js.map +1 -1
  33. package/dist/lib/config/ServerConfigManager.d.ts.map +1 -1
  34. package/dist/lib/config/ServerConfigManager.js +4 -2
  35. package/dist/lib/config/ServerConfigManager.js.map +1 -1
  36. package/dist/lib/config/yamlConfig.d.ts +2 -1
  37. package/dist/lib/config/yamlConfig.d.ts.map +1 -1
  38. package/dist/lib/config/yamlConfig.js +18 -7
  39. package/dist/lib/config/yamlConfig.js.map +1 -1
  40. package/dist/lib/handlers/groups/SystemHandlersGroup.d.ts.map +1 -1
  41. package/dist/lib/handlers/groups/SystemHandlersGroup.js +45 -0
  42. package/dist/lib/handlers/groups/SystemHandlersGroup.js.map +1 -1
  43. package/dist/lib/utils.d.ts.map +1 -1
  44. package/dist/lib/utils.js +5 -4
  45. package/dist/lib/utils.js.map +1 -1
  46. package/dist/server/SseServer.d.ts.map +1 -1
  47. package/dist/server/SseServer.js +7 -3
  48. package/dist/server/SseServer.js.map +1 -1
  49. package/dist/server/StreamableHttpServer.d.ts.map +1 -1
  50. package/dist/server/StreamableHttpServer.js +10 -5
  51. package/dist/server/StreamableHttpServer.js.map +1 -1
  52. package/dist/server/launcher.js +1 -1
  53. package/dist/server/launcher.js.map +1 -1
  54. package/docs/architecture/ARCHITECTURE.md +706 -0
  55. package/docs/architecture/README.md +1 -0
  56. package/docs/configuration/YAML_CONFIG.md +25 -22
  57. package/docs/user-guide/AVAILABLE_TOOLS.md +73 -3
  58. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +1 -1
  59. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  60. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +72 -2
  61. package/docs/user-guide/CLI_OPTIONS.md +6 -5
  62. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,37 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.4.0] - 2026-02-15
6
+ ### Added
7
+ - **Runtime diagnostics tools**:
8
+ - Added runtime profiling tools: `RuntimeCreateProfilerTraceParameters`, `RuntimeListProfilerTraceFiles`, `RuntimeGetProfilerTraceData`.
9
+ - Added runtime dump tools: `RuntimeListDumps`, `RuntimeGetDumpById`.
10
+ - **Architecture documentation**:
11
+ - Added comprehensive architecture document: `docs/architecture/ARCHITECTURE.md`.
12
+
13
+ ### Changed
14
+ - **Runtime payload format**:
15
+ - Runtime profiling and dump handlers now return parsed JSON payloads (instead of raw XML strings in `payload`).
16
+ - Runtime dump read uses `dump_id` input (`RuntimeGetDumpById`) instead of URI-based input.
17
+ - **Dependencies**:
18
+ - Updated `@mcp-abap-adt/adt-clients` to `^0.3.16`.
19
+
20
+ ### Documentation
21
+ - Regenerated tools docs (`docs/user-guide/AVAILABLE_TOOLS*.md`) with runtime diagnostics tools.
22
+ - Updated `README.md` feature list with runtime diagnostics capabilities.
23
+
24
+ ## [2.3.1] - 2026-02-13
25
+ ### Fixed
26
+ - **YAML config flag compatibility**:
27
+ - Added `--conf` support as an alias for `--config` in argument parsing.
28
+ - Fixed YAML template flow: when config file is missing, template generation now exits cleanly instead of continuing into inspection-only mode.
29
+ - **YAML env config clarity**:
30
+ - Added `env-path` YAML option to map directly to `--env-path`.
31
+ - Clarified `env` as destination name and removed duplicate `allowed-origins` entry in template.
32
+ - **HTTP/SSE connection context resolution**:
33
+ - Enforced priority: `x-mcp-destination` header -> server default destination (`--mcp` / `--env-path`) -> `400` error.
34
+ - HTTP default-destination broker initialization now uses the resolved destination key.
35
+
5
36
  ## [2.3.0] - 2026-02-13
6
37
  ### Changed
7
38
  - **.env parsing policy**:
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # mcp-abap-adt: Your Gateway to ABAP Development Tools (ADT)
1
+ # <img src="logo.png" alt="mcp-abap-adt logo" width="36" align="absmiddle" /> mcp-abap-adt: Your Gateway to ABAP Development Tools (ADT)
2
2
 
3
- `mcp-abap-adt` is an MCP server for ABAP ADT in SAP ECC/S/4HANA (on-premise) and SAP BTP ABAP Cloud systems. It gives agents controlled access to real ABAP repositories through ADT, so analysis and changes are grounded in system data instead of assumptions.
3
+ `mcp-abap-adt` is an MCP server for ABAP ADT in SAP ECC/S/4HANA (on-premise) and SAP BTP ABAP Cloud systems. It gives agents controlled access to real ABAP repositories through ADT, so analysis and changes are grounded in system data instead of assumptions. It is built for AI-assisted pair programming (AIPNV: AI Pairing, Not Vibing), not autopilot vibe coding.
4
4
 
5
5
  **Primary workflows:**
6
6
  - **Deep ABAP analysis**: where-used, object metadata, repository navigation, object structure, semantic analysis, dependency and impact exploration.
@@ -158,6 +158,7 @@ Published in the official MCP Registry and listed on Glama.ai.
158
158
  - **🔍 Enhancement Analysis**: `GetEnhancements`, `GetEnhancementImpl`, `GetEnhancementSpot` - Enhancement discovery and analysis
159
159
  - **📋 Include Management**: `GetIncludesList` - Recursive include discovery
160
160
  - **🔍 System Tools**: `GetInactiveObjects` - Monitor inactive objects waiting for activation
161
+ - **🧪 Runtime Diagnostics**: `RuntimeCreateProfilerTraceParameters`, `RuntimeListProfilerTraceFiles`, `RuntimeGetProfilerTraceData`, `RuntimeListDumps`, `RuntimeGetDumpById` - Profiling and dump analysis with JSON payloads
161
162
  - **🚀 SAP BTP Support**: JWT/XSUAA authentication with browser-based token helper
162
163
  - **🔑 Destination-Based Authentication**: Service key-based authentication with automatic token management (see [Client Configuration](docs/user-guide/CLIENT_CONFIGURATION.md#destination-based-authentication))
163
164
  - **💾 Freestyle SQL**: `GetSqlQuery` - Execute custom SQL queries via ADT Data Preview API
@@ -0,0 +1,79 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "RuntimeCreateProfilerTraceParameters";
4
+ readonly description: "[runtime] Create ABAP profiler trace parameters and return profilerId (URI) for profiled execution.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly description: {
9
+ readonly type: "string";
10
+ readonly description: "Human-readable trace description.";
11
+ };
12
+ readonly all_misc_abap_statements: {
13
+ readonly type: "boolean";
14
+ };
15
+ readonly all_procedural_units: {
16
+ readonly type: "boolean";
17
+ };
18
+ readonly all_internal_table_events: {
19
+ readonly type: "boolean";
20
+ };
21
+ readonly all_dynpro_events: {
22
+ readonly type: "boolean";
23
+ };
24
+ readonly aggregate: {
25
+ readonly type: "boolean";
26
+ };
27
+ readonly explicit_on_off: {
28
+ readonly type: "boolean";
29
+ };
30
+ readonly with_rfc_tracing: {
31
+ readonly type: "boolean";
32
+ };
33
+ readonly all_system_kernel_events: {
34
+ readonly type: "boolean";
35
+ };
36
+ readonly sql_trace: {
37
+ readonly type: "boolean";
38
+ };
39
+ readonly all_db_events: {
40
+ readonly type: "boolean";
41
+ };
42
+ readonly max_size_for_trace_file: {
43
+ readonly type: "number";
44
+ };
45
+ readonly amdp_trace: {
46
+ readonly type: "boolean";
47
+ };
48
+ readonly max_time_for_tracing: {
49
+ readonly type: "number";
50
+ };
51
+ };
52
+ readonly required: readonly ["description"];
53
+ };
54
+ };
55
+ interface RuntimeCreateProfilerTraceParametersArgs {
56
+ description: string;
57
+ all_misc_abap_statements?: boolean;
58
+ all_procedural_units?: boolean;
59
+ all_internal_table_events?: boolean;
60
+ all_dynpro_events?: boolean;
61
+ aggregate?: boolean;
62
+ explicit_on_off?: boolean;
63
+ with_rfc_tracing?: boolean;
64
+ all_system_kernel_events?: boolean;
65
+ sql_trace?: boolean;
66
+ all_db_events?: boolean;
67
+ max_size_for_trace_file?: number;
68
+ amdp_trace?: boolean;
69
+ max_time_for_tracing?: number;
70
+ }
71
+ export declare function handleRuntimeCreateProfilerTraceParameters(context: HandlerContext, args: RuntimeCreateProfilerTraceParametersArgs): Promise<{
72
+ isError: boolean;
73
+ content: {
74
+ type: string;
75
+ text: any;
76
+ }[];
77
+ }>;
78
+ export {};
79
+ //# sourceMappingURL=handleRuntimeCreateProfilerTraceParameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeCreateProfilerTraceParameters.d.ts","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BlB,CAAC;AAEX,UAAU,wCAAwC;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAsB,0CAA0C,CAC9D,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,wCAAwC;;;;;;GAgD/C"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleRuntimeCreateProfilerTraceParameters = handleRuntimeCreateProfilerTraceParameters;
5
+ const adt_clients_1 = require("@mcp-abap-adt/adt-clients");
6
+ const utils_1 = require("../../../lib/utils");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'RuntimeCreateProfilerTraceParameters',
9
+ description: '[runtime] Create ABAP profiler trace parameters and return profilerId (URI) for profiled execution.',
10
+ inputSchema: {
11
+ type: 'object',
12
+ properties: {
13
+ description: {
14
+ type: 'string',
15
+ description: 'Human-readable trace description.',
16
+ },
17
+ all_misc_abap_statements: { type: 'boolean' },
18
+ all_procedural_units: { type: 'boolean' },
19
+ all_internal_table_events: { type: 'boolean' },
20
+ all_dynpro_events: { type: 'boolean' },
21
+ aggregate: { type: 'boolean' },
22
+ explicit_on_off: { type: 'boolean' },
23
+ with_rfc_tracing: { type: 'boolean' },
24
+ all_system_kernel_events: { type: 'boolean' },
25
+ sql_trace: { type: 'boolean' },
26
+ all_db_events: { type: 'boolean' },
27
+ max_size_for_trace_file: { type: 'number' },
28
+ amdp_trace: { type: 'boolean' },
29
+ max_time_for_tracing: { type: 'number' },
30
+ },
31
+ required: ['description'],
32
+ },
33
+ };
34
+ async function handleRuntimeCreateProfilerTraceParameters(context, args) {
35
+ const { connection, logger } = context;
36
+ try {
37
+ if (!args?.description) {
38
+ throw new Error('Parameter "description" is required');
39
+ }
40
+ const runtimeClient = new adt_clients_1.AdtRuntimeClient(connection, logger);
41
+ const response = await runtimeClient.createProfilerTraceParameters({
42
+ description: args.description,
43
+ allMiscAbapStatements: args.all_misc_abap_statements,
44
+ allProceduralUnits: args.all_procedural_units,
45
+ allInternalTableEvents: args.all_internal_table_events,
46
+ allDynproEvents: args.all_dynpro_events,
47
+ aggregate: args.aggregate,
48
+ explicitOnOff: args.explicit_on_off,
49
+ withRfcTracing: args.with_rfc_tracing,
50
+ allSystemKernelEvents: args.all_system_kernel_events,
51
+ sqlTrace: args.sql_trace,
52
+ allDbEvents: args.all_db_events,
53
+ maxSizeForTraceFile: args.max_size_for_trace_file,
54
+ amdpTrace: args.amdp_trace,
55
+ maxTimeForTracing: args.max_time_for_tracing,
56
+ });
57
+ const profilerId = runtimeClient.extractProfilerIdFromResponse(response);
58
+ return (0, utils_1.return_response)({
59
+ data: JSON.stringify({
60
+ success: true,
61
+ profiler_id: profilerId,
62
+ status: response.status,
63
+ }, null, 2),
64
+ status: response.status,
65
+ statusText: response.statusText,
66
+ headers: response.headers,
67
+ config: response.config,
68
+ });
69
+ }
70
+ catch (error) {
71
+ logger?.error('Error creating profiler trace parameters:', error);
72
+ return (0, utils_1.return_error)(error);
73
+ }
74
+ }
75
+ //# sourceMappingURL=handleRuntimeCreateProfilerTraceParameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeCreateProfilerTraceParameters.js","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,27 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "RuntimeGetDumpById";
4
+ readonly description: "[runtime] Read a specific ABAP runtime dump by dump ID. Returns parsed JSON payload.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly dump_id: {
9
+ readonly type: "string";
10
+ readonly description: "Runtime dump ID (for example: 694AB694097211F1929806D06D234D38).";
11
+ };
12
+ };
13
+ readonly required: readonly ["dump_id"];
14
+ };
15
+ };
16
+ interface RuntimeGetDumpByIdArgs {
17
+ dump_id: string;
18
+ }
19
+ export declare function handleRuntimeGetDumpById(context: HandlerContext, args: RuntimeGetDumpByIdArgs): Promise<{
20
+ isError: boolean;
21
+ content: {
22
+ type: string;
23
+ text: any;
24
+ }[];
25
+ }>;
26
+ export {};
27
+ //# sourceMappingURL=handleRuntimeGetDumpById.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetDumpById.d.ts","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetDumpById.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAelB,CAAC;AAEX,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAsB,wBAAwB,CAC5C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,sBAAsB;;;;;;GAgC7B"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleRuntimeGetDumpById = handleRuntimeGetDumpById;
5
+ const adt_clients_1 = require("@mcp-abap-adt/adt-clients");
6
+ const utils_1 = require("../../../lib/utils");
7
+ const runtimePayloadParser_1 = require("./runtimePayloadParser");
8
+ exports.TOOL_DEFINITION = {
9
+ name: 'RuntimeGetDumpById',
10
+ description: '[runtime] Read a specific ABAP runtime dump by dump ID. Returns parsed JSON payload.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ dump_id: {
15
+ type: 'string',
16
+ description: 'Runtime dump ID (for example: 694AB694097211F1929806D06D234D38).',
17
+ },
18
+ },
19
+ required: ['dump_id'],
20
+ },
21
+ };
22
+ async function handleRuntimeGetDumpById(context, args) {
23
+ const { connection, logger } = context;
24
+ try {
25
+ if (!args?.dump_id) {
26
+ throw new Error('Parameter "dump_id" is required');
27
+ }
28
+ const runtimeClient = new adt_clients_1.AdtRuntimeClient(connection, logger);
29
+ const response = await runtimeClient.getRuntimeDumpById(args.dump_id);
30
+ return (0, utils_1.return_response)({
31
+ data: JSON.stringify({
32
+ success: true,
33
+ dump_id: args.dump_id,
34
+ status: response.status,
35
+ payload: (0, runtimePayloadParser_1.parseRuntimePayloadToJson)(response.data),
36
+ }, null, 2),
37
+ status: response.status,
38
+ statusText: response.statusText,
39
+ headers: response.headers,
40
+ config: response.config,
41
+ });
42
+ }
43
+ catch (error) {
44
+ logger?.error('Error reading runtime dump by ID:', error);
45
+ return (0, utils_1.return_error)(error);
46
+ }
47
+ }
48
+ //# sourceMappingURL=handleRuntimeGetDumpById.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetDumpById.js","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetDumpById.ts"],"names":[],"mappings":";;;AA0BA,4DAkCC;AA5DD,2DAA6D;AAE7D,8CAAmE;AACnE,iEAAmE;AAEtD,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EACT,sFAAsF;IACxF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,kEAAkE;aACrE;SACF;QACD,QAAQ,EAAE,CAAC,SAAS,CAAC;KACtB;CACO,CAAC;AAMJ,KAAK,UAAU,wBAAwB,CAC5C,OAAuB,EACvB,IAA4B;IAE5B,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAEvC,IAAI,CAAC;QACH,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,8BAAgB,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAEtE,OAAO,IAAA,uBAAe,EAAC;YACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;gBACE,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,OAAO,EAAE,IAAA,gDAAyB,EAAC,QAAQ,CAAC,IAAI,CAAC;aAClD,EACD,IAAI,EACJ,CAAC,CACF;YACD,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,MAAM,EAAE,QAAQ,CAAC,MAAM;SACxB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,EAAE,KAAK,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC;QAC1D,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "RuntimeGetDumpByUri";
4
+ readonly description: "[runtime] Read a specific ABAP runtime dump by ADT URI from RuntimeListDumps feed.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly uri: {
9
+ readonly type: "string";
10
+ readonly description: "Full ADT runtime dump URI.";
11
+ };
12
+ };
13
+ readonly required: readonly ["uri"];
14
+ };
15
+ };
16
+ interface RuntimeGetDumpByUriArgs {
17
+ uri: string;
18
+ }
19
+ export declare function handleRuntimeGetDumpByUri(context: HandlerContext, args: RuntimeGetDumpByUriArgs): Promise<{
20
+ isError: boolean;
21
+ content: {
22
+ type: string;
23
+ text: any;
24
+ }[];
25
+ }>;
26
+ export {};
27
+ //# sourceMappingURL=handleRuntimeGetDumpByUri.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetDumpByUri.d.ts","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetDumpByUri.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAclB,CAAC;AAEX,UAAU,uBAAuB;IAC/B,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,uBAAuB;;;;;;GAgC9B"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleRuntimeGetDumpByUri = handleRuntimeGetDumpByUri;
5
+ const adt_clients_1 = require("@mcp-abap-adt/adt-clients");
6
+ const utils_1 = require("../../../lib/utils");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'RuntimeGetDumpByUri',
9
+ description: '[runtime] Read a specific ABAP runtime dump by ADT URI from RuntimeListDumps feed.',
10
+ inputSchema: {
11
+ type: 'object',
12
+ properties: {
13
+ uri: {
14
+ type: 'string',
15
+ description: 'Full ADT runtime dump URI.',
16
+ },
17
+ },
18
+ required: ['uri'],
19
+ },
20
+ };
21
+ async function handleRuntimeGetDumpByUri(context, args) {
22
+ const { connection, logger } = context;
23
+ try {
24
+ if (!args?.uri) {
25
+ throw new Error('Parameter "uri" is required');
26
+ }
27
+ const runtimeClient = new adt_clients_1.AdtRuntimeClient(connection, logger);
28
+ const response = await runtimeClient.getRuntimeDumpByUri(args.uri);
29
+ return (0, utils_1.return_response)({
30
+ data: JSON.stringify({
31
+ success: true,
32
+ uri: args.uri,
33
+ status: response.status,
34
+ payload: response.data,
35
+ }, null, 2),
36
+ status: response.status,
37
+ statusText: response.statusText,
38
+ headers: response.headers,
39
+ config: response.config,
40
+ });
41
+ }
42
+ catch (error) {
43
+ logger?.error('Error reading runtime dump by URI:', error);
44
+ return (0, utils_1.return_error)(error);
45
+ }
46
+ }
47
+ //# sourceMappingURL=handleRuntimeGetDumpByUri.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetDumpByUri.js","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetDumpByUri.ts"],"names":[],"mappings":";;;AAwBA,8DAkCC;AA1DD,2DAA6D;AAE7D,8CAAmE;AAEtD,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EACT,oFAAoF;IACtF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4BAA4B;aAC1C;SACF;QACD,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;CACO,CAAC;AAMJ,KAAK,UAAU,yBAAyB,CAC7C,OAAuB,EACvB,IAA6B;IAE7B,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAEvC,IAAI,CAAC;QACH,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;QACjD,CAAC;QAED,MAAM,aAAa,GAAG,IAAI,8BAAgB,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAC,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEnE,OAAO,IAAA,uBAAe,EAAC;YACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;gBACE,OAAO,EAAE,IAAI;gBACb,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,OAAO,EAAE,QAAQ,CAAC,IAAI;aACvB,EACD,IAAI,EACJ,CAAC,CACF;YACD,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,UAAU,EAAE,QAAQ,CAAC,UAAU;YAC/B,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,MAAM,EAAE,QAAQ,CAAC,MAAM;SACxB,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,MAAM,EAAE,KAAK,CAAC,oCAAoC,EAAE,KAAK,CAAC,CAAC;QAC3D,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "RuntimeGetProfilerTraceData";
4
+ readonly description: "[runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly trace_id_or_uri: {
9
+ readonly type: "string";
10
+ readonly description: "Profiler trace ID or full ADT trace URI.";
11
+ };
12
+ readonly view: {
13
+ readonly type: "string";
14
+ readonly enum: readonly ["hitlist", "statements", "db_accesses"];
15
+ readonly description: "Trace view to retrieve.";
16
+ };
17
+ readonly with_system_events: {
18
+ readonly type: "boolean";
19
+ readonly description: "Include system events.";
20
+ };
21
+ readonly id: {
22
+ readonly type: "number";
23
+ readonly description: "Statement node ID (for statements view).";
24
+ };
25
+ readonly with_details: {
26
+ readonly type: "boolean";
27
+ readonly description: "Include statement details (for statements view).";
28
+ };
29
+ readonly auto_drill_down_threshold: {
30
+ readonly type: "number";
31
+ readonly description: "Auto drill-down threshold (for statements view).";
32
+ };
33
+ };
34
+ readonly required: readonly ["trace_id_or_uri", "view"];
35
+ };
36
+ };
37
+ interface RuntimeGetProfilerTraceDataArgs {
38
+ trace_id_or_uri: string;
39
+ view: 'hitlist' | 'statements' | 'db_accesses';
40
+ with_system_events?: boolean;
41
+ id?: number;
42
+ with_details?: boolean;
43
+ auto_drill_down_threshold?: number;
44
+ }
45
+ export declare function handleRuntimeGetProfilerTraceData(context: HandlerContext, args: RuntimeGetProfilerTraceDataArgs): Promise<{
46
+ isError: boolean;
47
+ content: {
48
+ type: string;
49
+ text: any;
50
+ }[];
51
+ }>;
52
+ export {};
53
+ //# sourceMappingURL=handleRuntimeGetProfilerTraceData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetProfilerTraceData.d.ts","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetProfilerTraceData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC;AAEX,UAAU,+BAA+B;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,SAAS,GAAG,YAAY,GAAG,aAAa,CAAC;IAC/C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC;AAED,wBAAsB,iCAAiC,CACrD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,+BAA+B;;;;;;GAqDtC"}
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleRuntimeGetProfilerTraceData = handleRuntimeGetProfilerTraceData;
5
+ const adt_clients_1 = require("@mcp-abap-adt/adt-clients");
6
+ const utils_1 = require("../../../lib/utils");
7
+ const runtimePayloadParser_1 = require("./runtimePayloadParser");
8
+ exports.TOOL_DEFINITION = {
9
+ name: 'RuntimeGetProfilerTraceData',
10
+ description: '[runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.',
11
+ inputSchema: {
12
+ type: 'object',
13
+ properties: {
14
+ trace_id_or_uri: {
15
+ type: 'string',
16
+ description: 'Profiler trace ID or full ADT trace URI.',
17
+ },
18
+ view: {
19
+ type: 'string',
20
+ enum: ['hitlist', 'statements', 'db_accesses'],
21
+ description: 'Trace view to retrieve.',
22
+ },
23
+ with_system_events: {
24
+ type: 'boolean',
25
+ description: 'Include system events.',
26
+ },
27
+ id: {
28
+ type: 'number',
29
+ description: 'Statement node ID (for statements view).',
30
+ },
31
+ with_details: {
32
+ type: 'boolean',
33
+ description: 'Include statement details (for statements view).',
34
+ },
35
+ auto_drill_down_threshold: {
36
+ type: 'number',
37
+ description: 'Auto drill-down threshold (for statements view).',
38
+ },
39
+ },
40
+ required: ['trace_id_or_uri', 'view'],
41
+ },
42
+ };
43
+ async function handleRuntimeGetProfilerTraceData(context, args) {
44
+ const { connection, logger } = context;
45
+ try {
46
+ if (!args?.trace_id_or_uri) {
47
+ throw new Error('Parameter "trace_id_or_uri" is required');
48
+ }
49
+ const runtimeClient = new adt_clients_1.AdtRuntimeClient(connection, logger);
50
+ const response = args.view === 'hitlist'
51
+ ? await runtimeClient.getProfilerTraceHitList(args.trace_id_or_uri, {
52
+ withSystemEvents: args.with_system_events,
53
+ })
54
+ : args.view === 'statements'
55
+ ? await runtimeClient.getProfilerTraceStatements(args.trace_id_or_uri, {
56
+ id: args.id,
57
+ withDetails: args.with_details,
58
+ autoDrillDownThreshold: args.auto_drill_down_threshold,
59
+ withSystemEvents: args.with_system_events,
60
+ })
61
+ : await runtimeClient.getProfilerTraceDbAccesses(args.trace_id_or_uri, {
62
+ withSystemEvents: args.with_system_events,
63
+ });
64
+ return (0, utils_1.return_response)({
65
+ data: JSON.stringify({
66
+ success: true,
67
+ view: args.view,
68
+ trace_id_or_uri: args.trace_id_or_uri,
69
+ status: response.status,
70
+ payload: (0, runtimePayloadParser_1.parseRuntimePayloadToJson)(response.data),
71
+ }, null, 2),
72
+ status: response.status,
73
+ statusText: response.statusText,
74
+ headers: response.headers,
75
+ config: response.config,
76
+ });
77
+ }
78
+ catch (error) {
79
+ logger?.error('Error reading profiler trace data:', error);
80
+ return (0, utils_1.return_error)(error);
81
+ }
82
+ }
83
+ //# sourceMappingURL=handleRuntimeGetProfilerTraceData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeGetProfilerTraceData.js","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeGetProfilerTraceData.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,48 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "RuntimeListDumps";
4
+ readonly description: "[runtime] List ABAP runtime dumps with optional user filter and paging. Returns parsed JSON payload.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly user: {
9
+ readonly type: "string";
10
+ readonly description: "Optional username filter. If omitted, dumps for all users are returned.";
11
+ };
12
+ readonly inlinecount: {
13
+ readonly type: "string";
14
+ readonly enum: readonly ["allpages", "none"];
15
+ readonly description: "Include total count metadata.";
16
+ };
17
+ readonly top: {
18
+ readonly type: "number";
19
+ readonly description: "Maximum number of records to return.";
20
+ };
21
+ readonly skip: {
22
+ readonly type: "number";
23
+ readonly description: "Number of records to skip.";
24
+ };
25
+ readonly orderby: {
26
+ readonly type: "string";
27
+ readonly description: "ADT order by expression.";
28
+ };
29
+ };
30
+ readonly required: readonly [];
31
+ };
32
+ };
33
+ interface RuntimeListDumpsArgs {
34
+ user?: string;
35
+ inlinecount?: 'allpages' | 'none';
36
+ top?: number;
37
+ skip?: number;
38
+ orderby?: string;
39
+ }
40
+ export declare function handleRuntimeListDumps(context: HandlerContext, args: RuntimeListDumpsArgs): Promise<{
41
+ isError: boolean;
42
+ content: {
43
+ type: string;
44
+ text: any;
45
+ }[];
46
+ }>;
47
+ export {};
48
+ //# sourceMappingURL=handleRuntimeListDumps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleRuntimeListDumps.d.ts","sourceRoot":"","sources":["../../../../src/handlers/system/readonly/handleRuntimeListDumps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgClB,CAAC;AAEX,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,oBAAoB;;;;;;GA0C3B"}