@mcp-abap-adt/core 4.8.9 → 5.0.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 (63) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +1 -0
  3. package/dist/handlers/compact/high/compactSchemas.d.ts +76 -0
  4. package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -1
  5. package/dist/handlers/compact/high/compactSchemas.js +47 -1
  6. package/dist/handlers/compact/high/compactSchemas.js.map +1 -1
  7. package/dist/handlers/compact/high/handleHandlerFeedList.d.ts +50 -0
  8. package/dist/handlers/compact/high/handleHandlerFeedList.d.ts.map +1 -0
  9. package/dist/handlers/compact/high/handleHandlerFeedList.js +16 -0
  10. package/dist/handlers/compact/high/handleHandlerFeedList.js.map +1 -0
  11. package/dist/handlers/compact/high/handleHandlerGatewayErrorList.d.ts +48 -0
  12. package/dist/handlers/compact/high/handleHandlerGatewayErrorList.d.ts.map +1 -0
  13. package/dist/handlers/compact/high/handleHandlerGatewayErrorList.js +16 -0
  14. package/dist/handlers/compact/high/handleHandlerGatewayErrorList.js.map +1 -0
  15. package/dist/handlers/compact/high/handleHandlerSystemMessageList.d.ts +43 -0
  16. package/dist/handlers/compact/high/handleHandlerSystemMessageList.d.ts.map +1 -0
  17. package/dist/handlers/compact/high/handleHandlerSystemMessageList.js +16 -0
  18. package/dist/handlers/compact/high/handleHandlerSystemMessageList.js.map +1 -0
  19. package/dist/handlers/system/readonly/handleRuntimeAnalyzeProfilerTrace.d.ts.map +1 -1
  20. package/dist/handlers/system/readonly/handleRuntimeAnalyzeProfilerTrace.js +4 -3
  21. package/dist/handlers/system/readonly/handleRuntimeAnalyzeProfilerTrace.js.map +1 -1
  22. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.d.ts.map +1 -1
  23. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js +3 -2
  24. package/dist/handlers/system/readonly/handleRuntimeCreateProfilerTraceParameters.js.map +1 -1
  25. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts +8 -1
  26. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.d.ts.map +1 -1
  27. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js +69 -9
  28. package/dist/handlers/system/readonly/handleRuntimeGetDumpById.js.map +1 -1
  29. package/dist/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.d.ts +48 -0
  30. package/dist/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.d.ts.map +1 -0
  31. package/dist/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.js +81 -0
  32. package/dist/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.js.map +1 -0
  33. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.d.ts.map +1 -1
  34. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js +4 -3
  35. package/dist/handlers/system/readonly/handleRuntimeGetProfilerTraceData.js.map +1 -1
  36. package/dist/handlers/system/readonly/handleRuntimeListDumps.d.ts.map +1 -1
  37. package/dist/handlers/system/readonly/handleRuntimeListDumps.js +3 -2
  38. package/dist/handlers/system/readonly/handleRuntimeListDumps.js.map +1 -1
  39. package/dist/handlers/system/readonly/handleRuntimeListFeeds.d.ts +50 -0
  40. package/dist/handlers/system/readonly/handleRuntimeListFeeds.d.ts.map +1 -0
  41. package/dist/handlers/system/readonly/handleRuntimeListFeeds.js +94 -0
  42. package/dist/handlers/system/readonly/handleRuntimeListFeeds.js.map +1 -0
  43. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js +1 -1
  44. package/dist/handlers/system/readonly/handleRuntimeListProfilerTraceFiles.js.map +1 -1
  45. package/dist/handlers/system/readonly/handleRuntimeListSystemMessages.d.ts +43 -0
  46. package/dist/handlers/system/readonly/handleRuntimeListSystemMessages.d.ts.map +1 -0
  47. package/dist/handlers/system/readonly/handleRuntimeListSystemMessages.js +62 -0
  48. package/dist/handlers/system/readonly/handleRuntimeListSystemMessages.js.map +1 -0
  49. package/dist/lib/handlers/groups/CompactHandlersGroup.d.ts.map +1 -1
  50. package/dist/lib/handlers/groups/CompactHandlersGroup.js +15 -0
  51. package/dist/lib/handlers/groups/CompactHandlersGroup.js.map +1 -1
  52. package/dist/lib/handlers/groups/SystemHandlersGroup.d.ts.map +1 -1
  53. package/dist/lib/handlers/groups/SystemHandlersGroup.js +13 -3
  54. package/dist/lib/handlers/groups/SystemHandlersGroup.js.map +1 -1
  55. package/docs/development/tests/test-config.yaml.template +1 -1
  56. package/docs/superpowers/plans/2026-04-11-migrate-adt-clients-4.0.0.md +1014 -0
  57. package/docs/user-guide/AVAILABLE_TOOLS.md +117 -36
  58. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +49 -2
  59. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +53 -6
  60. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +1 -1
  61. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  62. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +63 -29
  63. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  Generated from code in `src/handlers/**` (not from docs).
4
4
 
5
5
  - Level: Read-Only
6
- - Total tools: 52
6
+ - Total tools: 54
7
7
 
8
8
  ## Navigation
9
9
 
@@ -64,13 +64,15 @@ Generated from code in `src/handlers/**` (not from docs).
64
64
  - [GetTransaction](#gettransaction-read-only-system)
65
65
  - [GetTypeInfo](#gettypeinfo-read-only-system)
66
66
  - [GetWhereUsed](#getwhereused-read-only-system)
67
- - [RuntimeAnalyzeDump](#runtimeanalyzedump-read-only-system)
68
67
  - [RuntimeAnalyzeProfilerTrace](#runtimeanalyzeprofilertrace-read-only-system)
69
68
  - [RuntimeCreateProfilerTraceParameters](#runtimecreateprofilertraceparameters-read-only-system)
70
69
  - [RuntimeGetDumpById](#runtimegetdumpbyid-read-only-system)
70
+ - [RuntimeGetGatewayErrorLog](#runtimegetgatewayerrorlog-read-only-system)
71
71
  - [RuntimeGetProfilerTraceData](#runtimegetprofilertracedata-read-only-system)
72
72
  - [RuntimeListDumps](#runtimelistdumps-read-only-system)
73
+ - [RuntimeListFeeds](#runtimelistfeeds-read-only-system)
73
74
  - [RuntimeListProfilerTraceFiles](#runtimelistprofilertracefiles-read-only-system)
75
+ - [RuntimeListSystemMessages](#runtimelistsystemmessages-read-only-system)
74
76
  - [RuntimeRunClassWithProfiling](#runtimerunclasswithprofiling-read-only-system)
75
77
  - [RuntimeRunProgramWithProfiling](#runtimerunprogramwithprofiling-read-only-system)
76
78
  - [Table](#read-only-table)
@@ -347,7 +349,7 @@ Generated from code in `src/handlers/**` (not from docs).
347
349
 
348
350
  <a id="getobjectsbytype-read-only-search"></a>
349
351
  #### GetObjectsByType (Read-Only / Search)
350
- **Description:** [read-only] Retrieves all ABAP objects of a specific type under a given node.
352
+ **Description:** [read-only] Retrieves all ABAP objects of a specific type (classes, tables, programs, interfaces, etc.) under a given parent node. Useful for listing all objects of one type within a package or composite object.
351
353
 
352
354
  **Source:** `src/handlers/search/readonly/handleGetObjectsByType.ts`
353
355
 
@@ -363,7 +365,7 @@ Generated from code in `src/handlers/**` (not from docs).
363
365
 
364
366
  <a id="getobjectslist-read-only-search"></a>
365
367
  #### GetObjectsList (Read-Only / Search)
366
- **Description:** [read-only] Recursively retrieves all valid ABAP repository objects for a given parent (program, function group, etc.) including nested includes.
368
+ **Description:** [read-only] Recursively retrieves all child ABAP repository objects for a given parent — programs (PROG), function groups (FUGR), classes (CLAS), packages (DEVC), and other composite objects — including nested includes and subcomponents.
367
369
 
368
370
  **Source:** `src/handlers/search/readonly/handleGetObjectsList.ts`
369
371
 
@@ -377,7 +379,7 @@ Generated from code in `src/handlers/**` (not from docs).
377
379
 
378
380
  <a id="searchobject-read-only-search"></a>
379
381
  #### SearchObject (Read-Only / Search)
380
- **Description:** [read-only] Search for ABAP objects by name pattern. Parameters: object_name (with or without mask), object_type (optional), maxResults (optional). If object_type is specified, results are filtered by type.
382
+ **Description:** [read-only] Find, search, locate, or check if an ABAP repository object exists by name or wildcard pattern (e.g.
381
383
 
382
384
  **Source:** `src/handlers/search/readonly/handleSearchObject.ts`
383
385
 
@@ -484,7 +486,7 @@ Generated from code in `src/handlers/**` (not from docs).
484
486
 
485
487
  <a id="getadttypes-read-only-system"></a>
486
488
  #### GetAdtTypes (Read-Only / System)
487
- **Description:** [read-only] Retrieve all valid ADT object types.
489
+ **Description:** [read-only] Retrieve all valid ADT object types (CLAS, TABL, PROG, DEVC, FUGR, INTF, DDLS, DTEL, DOMA, SRVD, SRVB, BDEF, DDLX, etc.) or validate a specific type name.
488
490
 
489
491
  **Source:** `src/handlers/system/readonly/handleGetAllTypes.ts`
490
492
 
@@ -495,7 +497,7 @@ Generated from code in `src/handlers/**` (not from docs).
495
497
 
496
498
  <a id="getinactiveobjects-read-only-system"></a>
497
499
  #### GetInactiveObjects (Read-Only / System)
498
- **Description:** [read-only] Get a list of inactive ABAP objects (objects that have been modified but not activated).
500
+ **Description:** [read-only] Get a list of inactive ABAP objects modified but not yet activated, pending activation. Shows classes, tables, CDS views, and other objects awaiting activation.
499
501
 
500
502
  **Source:** `src/handlers/system/readonly/handleGetInactiveObjects.ts`
501
503
 
@@ -506,7 +508,7 @@ Generated from code in `src/handlers/**` (not from docs).
506
508
 
507
509
  <a id="getobjectinfo-read-only-system"></a>
508
510
  #### GetObjectInfo (Read-Only / System)
509
- **Description:** [read-only] Return ABAP object tree: root, group nodes, and terminal leaves up to maxDepth. Enrich each node via SearchObject if enrich=true. Group nodes are included for hierarchy. Each node has node_type: root, point, end.
511
+ **Description:** [read-only] Return ABAP object tree structure for packages (DEVC), classes (CLAS), programs (PROG), function groups (FUGR), and other objects. Shows root, group nodes, and terminal leaves up to maxDepth. Enrich each node with description and package via SearchObject if enrich=true.
510
512
 
511
513
  **Source:** `src/handlers/system/readonly/handleGetObjectInfo.ts`
512
514
 
@@ -556,7 +558,7 @@ Generated from code in `src/handlers/**` (not from docs).
556
558
 
557
559
  <a id="getsqlquery-read-only-system"></a>
558
560
  #### GetSqlQuery (Read-Only / System)
559
- **Description:** [read-only] Execute freestyle SQL queries via SAP ADT Data Preview API.
561
+ **Description:** [read-only] Execute ABAP SQL SELECT queries on database tables and CDS views via SAP ADT Data Preview API. Use for ad-hoc data retrieval, row counts, and filtered queries.
560
562
 
561
563
  **Source:** `src/handlers/system/readonly/handleGetSqlQuery.ts`
562
564
 
@@ -568,7 +570,7 @@ Generated from code in `src/handlers/**` (not from docs).
568
570
 
569
571
  <a id="gettransaction-read-only-system"></a>
570
572
  #### GetTransaction (Read-Only / System)
571
- **Description:** [read-only] Retrieve ABAP transaction details.
573
+ **Description:** [read-only] Retrieve ABAP transaction (t-code) details — program, screen, authorization object, and transaction type (dialog, report, OO).
572
574
 
573
575
  **Source:** `src/handlers/system/readonly/handleGetTransaction.ts`
574
576
 
@@ -579,7 +581,7 @@ Generated from code in `src/handlers/**` (not from docs).
579
581
 
580
582
  <a id="gettypeinfo-read-only-system"></a>
581
583
  #### GetTypeInfo (Read-Only / System)
582
- **Description:** [read-only] Retrieve ABAP type information.
584
+ **Description:** [read-only] Retrieve ABAP type information for domains (DOMA), data elements (DTEL), table types, and structures. Returns field definitions, value ranges, fixed values, and DDIC metadata.
583
585
 
584
586
  **Source:** `src/handlers/system/readonly/handleGetTypeInfo.ts`
585
587
 
@@ -591,7 +593,7 @@ Generated from code in `src/handlers/**` (not from docs).
591
593
 
592
594
  <a id="getwhereused-read-only-system"></a>
593
595
  #### GetWhereUsed (Read-Only / System)
594
- **Description:** [read-only] Retrieve where-used references for ABAP objects via ADT usageReferences. Returns parsed list of referencing objects with their types and packages.
596
+ **Description:** [read-only] Find where-used references (cross-references, usages, dependencies) for ABAP objects classes, interfaces, tables, data elements, programs, function modules, etc. Returns list of all referencing objects with their types and packages.
595
597
 
596
598
  **Source:** `src/handlers/system/readonly/handleGetWhereUsed.ts`
597
599
 
@@ -602,19 +604,6 @@ Generated from code in `src/handlers/**` (not from docs).
602
604
 
603
605
  ---
604
606
 
605
- <a id="runtimeanalyzedump-read-only-system"></a>
606
- #### RuntimeAnalyzeDump (Read-Only / System)
607
- **Description:** [runtime] Read runtime dump by ID and return compact analysis summary with key fields.
608
-
609
- **Source:** `src/handlers/system/readonly/handleRuntimeAnalyzeDump.ts`
610
-
611
- **Parameters:**
612
- - `dump_id` (string, required) - Runtime dump ID.
613
- - `include_payload` (boolean, optional (default: true)) - Include full parsed payload in response.
614
- - `view` (string, optional (default: default)) - Dump view mode to analyze: default payload, summary section, or formatted long text.
615
-
616
- ---
617
-
618
607
  <a id="runtimeanalyzeprofilertrace-read-only-system"></a>
619
608
  #### RuntimeAnalyzeProfilerTrace (Read-Only / System)
620
609
  **Description:** [runtime] Read profiler trace view and return compact analysis summary (totals + top entries).
@@ -655,18 +644,34 @@ Generated from code in `src/handlers/**` (not from docs).
655
644
 
656
645
  <a id="runtimegetdumpbyid-read-only-system"></a>
657
646
  #### RuntimeGetDumpById (Read-Only / System)
658
- **Description:** [runtime] Read a specific ABAP runtime dump. Identify the dump by datetime + user (preferred, e.g. from a CALM event), or pass dump_id directly if already known.
647
+ **Description:** [runtime] Read a specific ABAP runtime dump. Identify the dump by datetime + user (preferred, e.g. from a CALM event), or pass dump_id directly if already known. Use response_mode to control output detail level.
659
648
 
660
649
  **Source:** `src/handlers/system/readonly/handleRuntimeGetDumpById.ts`
661
650
 
662
651
  **Parameters:**
663
- - `datetime` (string, optional) - Dump datetime (ISO or "YYYY-MM-DD HH:MM:SS"). Combined with user, uniquely identifies the dump. Preferred over dump_id.
652
+ - `datetime` (string, optional) - Dump datetime (ISO or
664
653
  - `dump_id` (string, optional) - Full runtime dump ID. Use only when already known; prefer datetime + user otherwise.
654
+ - `response_mode` (string, optional (default: both)) - Controls what is returned:
665
655
  - `user` (string, optional) - SAP username whose dump to read. Required when using datetime lookup.
666
656
  - `view` (string, optional (default: default)) - Dump view mode: default payload, summary section, or formatted long text.
667
657
 
668
658
  ---
669
659
 
660
+ <a id="runtimegetgatewayerrorlog-read-only-system"></a>
661
+ #### RuntimeGetGatewayErrorLog (Read-Only / System)
662
+ **Description:** [runtime] List SAP Gateway error log (/IWFND/ERROR_LOG) or get error detail. Returns structured entries with type, shortText, transactionId, dateTime, username. With error_url returns full detail including serviceInfo, errorContext, sourceCode, callStack.
663
+
664
+ **Source:** `src/handlers/system/readonly/handleRuntimeGetGatewayErrorLog.ts`
665
+
666
+ **Parameters:**
667
+ - `error_url` (string, optional) - Feed URL of a specific error entry (from a previous list response link field). When provided, returns detailed error info instead of listing.
668
+ - `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
669
+ - `max_results` (number, optional) - Maximum number of errors to return.
670
+ - `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
671
+ - `user` (string, optional) - Filter errors by SAP username.
672
+
673
+ ---
674
+
670
675
  <a id="runtimegetprofilertracedata-read-only-system"></a>
671
676
  #### RuntimeGetProfilerTraceData (Read-Only / System)
672
677
  **Description:** [runtime] Read profiler trace data by trace id/uri: hitlist, statements, or db accesses. Returns parsed JSON payload.
@@ -700,6 +705,21 @@ Generated from code in `src/handlers/**` (not from docs).
700
705
 
701
706
  ---
702
707
 
708
+ <a id="runtimelistfeeds-read-only-system"></a>
709
+ #### RuntimeListFeeds (Read-Only / System)
710
+ **Description:** [runtime] List available ADT runtime feeds or read a specific feed type. Feed types: dumps, system_messages, gateway_errors. Without feed_type returns available feed descriptors.
711
+
712
+ **Source:** `src/handlers/system/readonly/handleRuntimeListFeeds.ts`
713
+
714
+ **Parameters:**
715
+ - `feed_type` (string, optional (default: descriptors)) - Feed to read.
716
+ - `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
717
+ - `max_results` (number, optional) - Maximum number of entries to return.
718
+ - `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
719
+ - `user` (string, optional) - Filter feed entries by SAP username.
720
+
721
+ ---
722
+
703
723
  <a id="runtimelistprofilertracefiles-read-only-system"></a>
704
724
  #### RuntimeListProfilerTraceFiles (Read-Only / System)
705
725
  **Description:** [runtime] List ABAP profiler trace files available in ADT runtime. Returns parsed JSON payload.
@@ -711,6 +731,20 @@ Generated from code in `src/handlers/**` (not from docs).
711
731
 
712
732
  ---
713
733
 
734
+ <a id="runtimelistsystemmessages-read-only-system"></a>
735
+ #### RuntimeListSystemMessages (Read-Only / System)
736
+ **Description:** [runtime] List SM02 system messages. Returns structured entries with id, title, text, severity, validity period, and author.
737
+
738
+ **Source:** `src/handlers/system/readonly/handleRuntimeListSystemMessages.ts`
739
+
740
+ **Parameters:**
741
+ - `from` (string, optional) - Start of time range in YYYYMMDDHHMMSS format.
742
+ - `max_results` (number, optional) - Maximum number of messages to return.
743
+ - `to` (string, optional) - End of time range in YYYYMMDDHHMMSS format.
744
+ - `user` (string, optional) - Filter by author username.
745
+
746
+ ---
747
+
714
748
  <a id="runtimerunclasswithprofiling-read-only-system"></a>
715
749
  #### RuntimeRunClassWithProfiling (Read-Only / System)
716
750
  **Description:** [runtime] Execute ABAP class with profiler enabled and return created profilerId + traceId.
@@ -766,7 +800,7 @@ Generated from code in `src/handlers/**` (not from docs).
766
800
 
767
801
  <a id="gettablecontents-read-only-table"></a>
768
802
  #### GetTableContents (Read-Only / Table)
769
- **Description:** [read-only] Retrieve contents of an ABAP table.
803
+ **Description:** [read-only] Retrieve contents (data preview) of an ABAP database table or CDS view. Returns rows of data like SE16/SE16N.
770
804
 
771
805
  **Source:** `src/handlers/table/readonly/handleGetTableContents.ts`
772
806
 
@@ -830,4 +864,4 @@ Generated from code in `src/handlers/**` (not from docs).
830
864
 
831
865
  ---
832
866
 
833
- *Last updated: 2026-03-14*
867
+ *Last updated: 2026-04-11*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/core",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt",
4
- "version": "4.8.9",
4
+ "version": "5.0.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -136,7 +136,7 @@
136
136
  "yaml": "^2.8.1"
137
137
  },
138
138
  "dependencies": {
139
- "@mcp-abap-adt/adt-clients": "^3.14.5",
139
+ "@mcp-abap-adt/adt-clients": "^4.0.0",
140
140
  "@mcp-abap-adt/auth-broker": "^1.0.5",
141
141
  "@mcp-abap-adt/auth-providers": "^1.0.5",
142
142
  "@mcp-abap-adt/auth-stores": "^1.0.4",