@mcp-abap-adt/core 6.5.0 → 6.7.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 (50) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +8 -1
  3. package/dist/handlers/system/readonly/handleRuntimeRunClass.d.ts +111 -0
  4. package/dist/handlers/system/readonly/handleRuntimeRunClass.d.ts.map +1 -0
  5. package/dist/handlers/system/readonly/handleRuntimeRunClass.js +141 -0
  6. package/dist/handlers/system/readonly/handleRuntimeRunClass.js.map +1 -0
  7. package/dist/handlers/system/readonly/handleRuntimeRunClassWithProfiling.d.ts +22 -1
  8. package/dist/handlers/system/readonly/handleRuntimeRunClassWithProfiling.d.ts.map +1 -1
  9. package/dist/handlers/system/readonly/handleRuntimeRunClassWithProfiling.js +32 -1
  10. package/dist/handlers/system/readonly/handleRuntimeRunClassWithProfiling.js.map +1 -1
  11. package/dist/handlers/system/readonly/handleRuntimeRunProgram.d.ts +90 -0
  12. package/dist/handlers/system/readonly/handleRuntimeRunProgram.d.ts.map +1 -0
  13. package/dist/handlers/system/readonly/handleRuntimeRunProgram.js +109 -0
  14. package/dist/handlers/system/readonly/handleRuntimeRunProgram.js.map +1 -0
  15. package/dist/handlers/system/readonly/handleRuntimeRunProgramWithProfiling.d.ts +1 -1
  16. package/dist/handlers/system/readonly/handleRuntimeRunProgramWithProfiling.js +1 -1
  17. package/dist/handlers/system/readonly/handleRuntimeRunProgramWithProfiling.js.map +1 -1
  18. package/dist/handlers/system/readonly/handleSearchSource.d.ts +40 -0
  19. package/dist/handlers/system/readonly/handleSearchSource.d.ts.map +1 -0
  20. package/dist/handlers/system/readonly/handleSearchSource.js +127 -0
  21. package/dist/handlers/system/readonly/handleSearchSource.js.map +1 -0
  22. package/dist/lib/handlers/groups/SearchHandlersGroup.d.ts.map +1 -1
  23. package/dist/lib/handlers/groups/SearchHandlersGroup.js +5 -0
  24. package/dist/lib/handlers/groups/SearchHandlersGroup.js.map +1 -1
  25. package/dist/lib/handlers/groups/SystemHandlersGroup.d.ts.map +1 -1
  26. package/dist/lib/handlers/groups/SystemHandlersGroup.js +10 -0
  27. package/dist/lib/handlers/groups/SystemHandlersGroup.js.map +1 -1
  28. package/dist/lib/search-source/lineScanner.d.ts +17 -0
  29. package/dist/lib/search-source/lineScanner.d.ts.map +1 -0
  30. package/dist/lib/search-source/lineScanner.js +51 -0
  31. package/dist/lib/search-source/lineScanner.js.map +1 -0
  32. package/dist/lib/search-source/orchestrator.d.ts +51 -0
  33. package/dist/lib/search-source/orchestrator.d.ts.map +1 -0
  34. package/dist/lib/search-source/orchestrator.js +158 -0
  35. package/dist/lib/search-source/orchestrator.js.map +1 -0
  36. package/dist/lib/search-source/packageEnumerator.d.ts +25 -0
  37. package/dist/lib/search-source/packageEnumerator.d.ts.map +1 -0
  38. package/dist/lib/search-source/packageEnumerator.js +0 -0
  39. package/dist/lib/search-source/packageEnumerator.js.map +1 -0
  40. package/dist/lib/search-source/sourceReader.d.ts +25 -0
  41. package/dist/lib/search-source/sourceReader.d.ts.map +1 -0
  42. package/dist/lib/search-source/sourceReader.js +128 -0
  43. package/dist/lib/search-source/sourceReader.js.map +1 -0
  44. package/docs/user-guide/AVAILABLE_TOOLS.md +77 -5
  45. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +1 -1
  46. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +1 -1
  47. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +21 -3
  48. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  49. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +76 -4
  50. package/package.json +3 -3
@@ -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: 53
6
+ - Total tools: 56
7
7
 
8
8
  ## Navigation
9
9
 
@@ -72,8 +72,11 @@ Generated from code in `src/handlers/**` (not from docs).
72
72
  - [RuntimeListFeeds](#runtimelistfeeds-read-only-system)
73
73
  - [RuntimeListProfilerTraceFiles](#runtimelistprofilertracefiles-read-only-system)
74
74
  - [RuntimeListSystemMessages](#runtimelistsystemmessages-read-only-system)
75
+ - [RuntimeRunClass](#runtimerunclass-read-only-system)
75
76
  - [RuntimeRunClassWithProfiling](#runtimerunclasswithprofiling-read-only-system)
77
+ - [RuntimeRunProgram](#runtimerunprogram-read-only-system)
76
78
  - [RuntimeRunProgramWithProfiling](#runtimerunprogramwithprofiling-read-only-system)
79
+ - [SearchSource](#searchsource-read-only-system)
77
80
  - [Table](#read-only-table)
78
81
  - [GetTableContents](#gettablecontents-read-only-table)
79
82
  - [ReadTable](#readtable-read-only-table)
@@ -725,9 +728,38 @@ Generated from code in `src/handlers/**` (not from docs).
725
728
 
726
729
  ---
727
730
 
731
+ <a id="runtimerunclass-read-only-system"></a>
732
+ #### RuntimeRunClass (Read-Only / System)
733
+ **Description:** [runtime] Execute an ABAP class implementing if_oo_adt_classrun and return its output. Set profile=true to also capture a profiler trace (returns profilerId/traceId alongside output).
734
+
735
+ **Source:** `src/handlers/system/readonly/handleRuntimeRunClass.ts`
736
+
737
+ **Parameters:**
738
+ - `aggregate` (boolean, optional) -
739
+ - `all_db_events` (boolean, optional) -
740
+ - `all_dynpro_events` (boolean, optional) -
741
+ - `all_internal_table_events` (boolean, optional) -
742
+ - `all_misc_abap_statements` (boolean, optional) -
743
+ - `all_procedural_units` (boolean, optional) -
744
+ - `all_system_kernel_events` (boolean, optional) -
745
+ - `amdp_trace` (boolean, optional) -
746
+ - `class_name` (string, required) - ABAP class name to execute.
747
+ - `description` (string, optional) - Profiler trace description (only used when profile=true).
748
+ - `explicit_on_off` (boolean, optional) -
749
+ - `max_size_for_trace_file` (number, optional) -
750
+ - `max_time_for_tracing` (number, optional) -
751
+ - `max_trace_attempts` (integer, optional) - Max polling attempts to resolve traceId after execution (default 5). Only used when profile=true.
752
+ - `profile` (boolean, optional) - When true, run with the profiler and resolve the resulting traceId. Default false.
753
+ - `sql_trace` (boolean, optional) -
754
+ - `trace_lookup_uris` (array, optional) - Additional URIs to consult when resolving the trace (advanced, profile=true).
755
+ - `trace_retry_delay_ms` (integer, optional) - Delay in ms between trace polling attempts (default 2000). Only used when profile=true.
756
+ - `with_rfc_tracing` (boolean, optional) -
757
+
758
+ ---
759
+
728
760
  <a id="runtimerunclasswithprofiling-read-only-system"></a>
729
761
  #### RuntimeRunClassWithProfiling (Read-Only / System)
730
- **Description:** [runtime] Execute ABAP class with profiler enabled and return created profilerId + traceId.
762
+ **Description:** [runtime][deprecated] Execute ABAP class with profiler enabled and return created profilerId + traceId. Prefer RuntimeRunClass with profile=true; this tool is kept for backward compatibility and will be removed in a future major release.
731
763
 
732
764
  **Source:** `src/handlers/system/readonly/handleRuntimeRunClassWithProfiling.ts`
733
765
 
@@ -745,6 +777,35 @@ Generated from code in `src/handlers/**` (not from docs).
745
777
  - `explicit_on_off` (boolean, optional) -
746
778
  - `max_size_for_trace_file` (number, optional) -
747
779
  - `max_time_for_tracing` (number, optional) -
780
+ - `max_trace_attempts` (integer, optional) - Max polling attempts to resolve traceId after execution (default 5). Increase for slow systems (e.g. SAP trial cloud).
781
+ - `sql_trace` (boolean, optional) -
782
+ - `trace_lookup_uris` (array, optional) - Additional URIs to consult when resolving the trace (advanced).
783
+ - `trace_retry_delay_ms` (integer, optional) - Delay in ms between trace polling attempts (default 2000).
784
+ - `with_rfc_tracing` (boolean, optional) -
785
+
786
+ ---
787
+
788
+ <a id="runtimerunprogram-read-only-system"></a>
789
+ #### RuntimeRunProgram (Read-Only / System)
790
+ **Description:** [runtime] Execute an ABAP program (report) and return its output. Set profile=true to also start a profiler trace; use RuntimeListProfilerTraceFiles afterwards to locate the trace (program execution is fire-and-forget, so traceId is not returned synchronously).
791
+
792
+ **Source:** `src/handlers/system/readonly/handleRuntimeRunProgram.ts`
793
+
794
+ **Parameters:**
795
+ - `aggregate` (boolean, optional) -
796
+ - `all_db_events` (boolean, optional) -
797
+ - `all_dynpro_events` (boolean, optional) -
798
+ - `all_internal_table_events` (boolean, optional) -
799
+ - `all_misc_abap_statements` (boolean, optional) -
800
+ - `all_procedural_units` (boolean, optional) -
801
+ - `all_system_kernel_events` (boolean, optional) -
802
+ - `amdp_trace` (boolean, optional) -
803
+ - `description` (string, optional) - Profiler trace description (only used when profile=true).
804
+ - `explicit_on_off` (boolean, optional) -
805
+ - `max_size_for_trace_file` (number, optional) -
806
+ - `max_time_for_tracing` (number, optional) -
807
+ - `profile` (boolean, optional) - When true, run with the profiler. Default false. Trace must be located afterwards via RuntimeListProfilerTraceFiles — program execution does not return traceId synchronously.
808
+ - `program_name` (string, required) - ABAP program name to execute.
748
809
  - `sql_trace` (boolean, optional) -
749
810
  - `with_rfc_tracing` (boolean, optional) -
750
811
 
@@ -752,7 +813,7 @@ Generated from code in `src/handlers/**` (not from docs).
752
813
 
753
814
  <a id="runtimerunprogramwithprofiling-read-only-system"></a>
754
815
  #### RuntimeRunProgramWithProfiling (Read-Only / System)
755
- **Description:** [runtime] Execute ABAP program with profiler enabled and return created profilerId + traceId.
816
+ **Description:** [runtime][deprecated] Execute ABAP program with profiler enabled and return created profilerId. Prefer RuntimeRunProgram with profile=true; this tool is kept for backward compatibility and will be removed in a future major release.
756
817
 
757
818
  **Source:** `src/handlers/system/readonly/handleRuntimeRunProgramWithProfiling.ts`
758
819
 
@@ -775,6 +836,17 @@ Generated from code in `src/handlers/**` (not from docs).
775
836
 
776
837
  ---
777
838
 
839
+ <a id="searchsource-read-only-system"></a>
840
+ #### SearchSource (Read-Only / System)
841
+ **Description:** [read-only] Search ABAP source text inside one or more packages (programs, function groups, classes). Onprem-only (cloud lacks an indexed source-search endpoint). Comments are searched by default; set exclude_comments=true to drop col-1 `*` and full-line `
842
+
843
+ **Source:** `src/handlers/system/readonly/handleSearchSource.ts`
844
+
845
+ **Parameters:**
846
+ - None
847
+
848
+ ---
849
+
778
850
  <a id="read-only-table"></a>
779
851
  ### Read-Only / Table
780
852
 
@@ -844,4 +916,4 @@ Generated from code in `src/handlers/**` (not from docs).
844
916
 
845
917
  ---
846
918
 
847
- *Last updated: 2026-04-24*
919
+ *Last updated: 2026-05-14*
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": "6.5.0",
4
+ "version": "6.7.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -136,11 +136,11 @@
136
136
  "yaml": "^2.8.1"
137
137
  },
138
138
  "dependencies": {
139
- "@mcp-abap-adt/adt-clients": "^5.2.1",
139
+ "@mcp-abap-adt/adt-clients": "^5.4.2",
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",
143
- "@mcp-abap-adt/connection": "^1.8.0",
143
+ "@mcp-abap-adt/connection": "^1.8.1",
144
144
  "@mcp-abap-adt/header-validator": "^0.1.8",
145
145
  "@mcp-abap-adt/interfaces": "^7.0.0",
146
146
  "@mcp-abap-adt/logger": "^0.1.4",