@mcp-abap-adt/compact 15.0.0 → 16.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.
package/README.md CHANGED
@@ -31,13 +31,13 @@ smaller install, and it is not a sandbox — code that deliberately reaches into
31
31
 
32
32
  ```bash
33
33
  npm install -g @mcp-abap-adt/compact
34
- mcp-abap-adt-compact # stdio, all 22 compact tools
35
- mcp-abap-adt-compact --exposition=ro # the 13 that change nothing
34
+ mcp-abap-adt-compact # stdio, all 25 compact tools
35
+ mcp-abap-adt-compact --exposition=ro # the 16 that change nothing
36
36
  mcp-abap-adt-compact --version
37
37
  ```
38
38
 
39
- `--exposition` takes **`rw`** (the default — all 22 tools, every access, which is
40
- what a local server gives) or **`ro`** (the 13 tools that change nothing: no create,
39
+ `--exposition` takes **`rw`** (the default — all 25 tools, every access, which is
40
+ what a local server gives) or **`ro`** (the 16 tools that change nothing: no create,
41
41
  update, delete, activate, lock, unlock, unit-test run or profiler run is in the tool
42
42
  list at all, so a client cannot call one). The object-oriented sets
43
43
  `readonly`/`high`/`low` belong to `mcp-abap-adt` and are refused here by name.
@@ -3,7 +3,7 @@
3
3
  Generated from the built packages, not from source text: these are the tool
4
4
  definitions a client receives.
5
5
 
6
- - Tools: 22
6
+ - Tools: 25
7
7
  - Read-only half: `@mcp-abap-adt/compact-readonly`
8
8
  - Modifying half: `@mcp-abap-adt/compact-modify`
9
9
  - Command: `mcp-abap-adt-compact` (`@mcp-abap-adt/compact`)
@@ -21,15 +21,16 @@ per request.
21
21
 
22
22
  **Half:** `@mcp-abap-adt/compact-readonly`
23
23
 
24
- **Description:** Read operation. part selects the aspect: source (default), metadata, or urls; a part the type does not offer is refused, naming the ones it does. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
24
+ **Description:** Read operation. part selects the aspect: source (default), metadata, urls, or contents (the objects of a PACKAGE); a part the type does not offer is refused, naming the ones it does. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(run_id*).
25
25
 
26
26
  **Available in:** cloud, onprem
27
27
 
28
28
  **Parameters:**
29
29
 
30
30
  - `object_type` (required) — ABAP object type for routed compact operation.
31
- - `part` — Which aspect to read: the source, the ADT metadata document, or the service and preview URLs. A part this object type does not offer is refused, naming the parts it does.
31
+ - `part` — Which aspect to read: the source, the ADT metadata document, the service and preview URLs, or the objects a package contains. A part this object type does not offer is refused, naming the parts it does.
32
32
  - `package_name` — Package name.
33
+ - `max_results` — Maximum number of members listed (part contents).
33
34
  - `class_name` — Class name.
34
35
  - `interface_name` — Interface name.
35
36
  - `program_name` — Program name.
@@ -49,6 +50,49 @@ per request.
49
50
  - `response_format` — Response format for SERVICE_BINDING reads.
50
51
  - `version` — Object version to read/check.
51
52
 
53
+ ### HandlerSearch
54
+
55
+ **Half:** `@mcp-abap-adt/compact-readonly`
56
+
57
+ **Description:** Search ABAP repository objects by name or mask. Required: query*. Optional: object_type, max_results (default 100). Response: one object per line.
58
+
59
+ **Available in:** cloud, onprem
60
+
61
+ **Parameters:**
62
+
63
+ - `query` (required) — Object name or mask, with * as a wildcard.
64
+ - `object_type` — ADT object type to restrict the search to.
65
+ - `max_results` — Maximum number of objects returned.
66
+
67
+ ### HandlerWhereUsed
68
+
69
+ **Half:** `@mcp-abap-adt/compact-readonly`
70
+
71
+ **Description:** Where-used list of an ABAP object: the objects that use, call or reference it, with type and package. Required: object_type*, object_name*. Optional: function_group_name (FUNCTION_MODULE), max_results (default 100). Response: JSON.
72
+
73
+ **Available in:** cloud, onprem
74
+
75
+ **Parameters:**
76
+
77
+ - `object_type` (required) — Type of the object whose usages are listed.
78
+ - `object_name` (required) — Object name.
79
+ - `function_group_name` — Function group of the function module (FUNCTION_MODULE).
80
+ - `max_results` — Maximum number of referencing objects returned.
81
+
82
+ ### HandlerGetData
83
+
84
+ **Half:** `@mcp-abap-adt/compact-readonly`
85
+
86
+ **Description:** Read rows of a table or CDS view: every column of object_name, or what sql_query selects with its columns, conditions and order. Required: object_name or sql_query. Optional: max_rows (default 100). Response: JSON.
87
+
88
+ **Available in:** cloud, onprem
89
+
90
+ **Parameters:**
91
+
92
+ - `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
93
+ - `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
94
+ - `max_rows` — Maximum number of rows returned.
95
+
52
96
  ### HandlerValidate
53
97
 
54
98
  **Half:** `@mcp-abap-adt/compact-readonly`
@@ -91,7 +135,7 @@ per request.
91
135
 
92
136
  **Half:** `@mcp-abap-adt/compact-readonly`
93
137
 
94
- **Description:** ABAP Unit status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
138
+ **Description:** ABAP Unit test run status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
95
139
 
96
140
  **Available in:** cloud, onprem
97
141
 
@@ -104,7 +148,7 @@ per request.
104
148
 
105
149
  **Half:** `@mcp-abap-adt/compact-readonly`
106
150
 
107
- **Description:** ABAP Unit result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
151
+ **Description:** ABAP Unit test run result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
108
152
 
109
153
  **Available in:** cloud, onprem
110
154
 
@@ -118,7 +162,7 @@ per request.
118
162
 
119
163
  **Half:** `@mcp-abap-adt/compact-readonly`
120
164
 
121
- **Description:** CDS unit test status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
165
+ **Description:** CDS unit test run status. object_type: not used. Required: run_id*. Optional: with_long_polling. Response: JSON.
122
166
 
123
167
  **Available in:** cloud, onprem
124
168
 
@@ -131,7 +175,7 @@ per request.
131
175
 
132
176
  **Half:** `@mcp-abap-adt/compact-readonly`
133
177
 
134
- **Description:** CDS unit test result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
178
+ **Description:** CDS unit test run result. object_type: not used. Required: run_id*. Optional: with_navigation_uris, format(abapunit|junit). Response: JSON.
135
179
 
136
180
  **Available in:** cloud, onprem
137
181
 
@@ -174,30 +218,35 @@ per request.
174
218
 
175
219
  **Half:** `@mcp-abap-adt/compact-readonly`
176
220
 
177
- **Description:** Runtime feed list. object_type: not used. Optional: feed_type(dumps|system_messages|gateway_errors, default dumps), user, top, from, to. Response: JSON.
221
+ **Description:** Runtime feed list, newest first. object_type: not used. Optional: feed_type(dumps|system_messages|gateway_errors, default dumps), user, runtime_error, exception, object_name, package, component, top, from, to. Response: JSON; each dump carries dump_id, and next_to when more remain.
178
222
 
179
223
  **Available in:** cloud, onprem
180
224
 
181
225
  **Parameters:**
182
226
 
183
227
  - `feed_type` — Which runtime feed to list. Default "dumps" (ABAP short dumps). "system_messages" and "gateway_errors" read the other two ADT runtime feeds through the same call.
184
- - `user` — Filter entries by user.
185
- - `top` — Limit number of returned entries.
228
+ - `user` — Entries of this user.
229
+ - `runtime_error` — Dumps whose runtime error contains this text, in any case.
230
+ - `exception` — Dumps whose exception class contains this text, in any case.
231
+ - `object_name` — Dumps whose terminated object name contains this text, in any case.
232
+ - `package` — Dumps whose object package contains this text, in any case.
233
+ - `component` — Dumps whose application component contains this text, in any case.
234
+ - `top` — Most entries, up to 1000 (default 50); SAP answers 100 per request and the pages are read in turn.
186
235
  - `from` — Start of time range (YYYYMMDDHHMMSS).
187
- - `to` — End of time range (YYYYMMDDHHMMSS).
236
+ - `to` — End of time range (YYYYMMDDHHMMSS); a previous next_to reads on.
188
237
 
189
238
  ### HandlerDumpView
190
239
 
191
240
  **Half:** `@mcp-abap-adt/compact-readonly`
192
241
 
193
- **Description:** Runtime dump view. object_type: not used. Required: dump_id*. Optional: view(default|summary|formatted). Response: JSON.
242
+ **Description:** Runtime dump view. object_type: not used. Required: dump_id* (id or URI). Optional: view(default|summary|formatted). Response: JSON.
194
243
 
195
244
  **Available in:** cloud, onprem
196
245
 
197
246
  **Parameters:**
198
247
 
199
- - `dump_id` (required) — Runtime dump id.
200
- - `view` — Dump rendering mode.
248
+ - `dump_id` (required) — The dump's dump_id, or its URI.
249
+ - `view` — "summary" — runtime error, exception, terminated program, time, user and termination position; "default" — that summary and the parsed dump; "formatted" — the dump as formatted text.
201
250
 
202
251
  ### HandlerServiceBindingListTypes
203
252
 
@@ -231,7 +280,7 @@ per request.
231
280
 
232
281
  **Half:** `@mcp-abap-adt/compact-modify`
233
282
 
234
- **Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, package_name*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, package_name*), METADATA_EXTENSION(name*, package_name*), UNIT_TEST(tests*), CDS_UNIT_TEST(class_name*, package_name*, cds_view_name*).
283
+ **Description:** Create operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, package_name*, root_entity*, implementation_type*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, package_name*), METADATA_EXTENSION(name*, package_name*), UNIT_TEST(class_name*, test_class_source*), CDS_UNIT_TEST(cds_view_name*, class_name*, package_name*, test_class_source*).
235
284
 
236
285
  **Available in:** cloud, onprem
237
286
 
@@ -270,13 +319,13 @@ per request.
270
319
  - `behavior_definition` — Referenced behavior definition name (behavior implementation create).
271
320
  - `cds_view_name` — CDS view name to validate for unit test doubles.
272
321
  - `fields` — Structure fields (for STRUCTURE create).
273
- - `tests` — Container/test class pairs (for UNIT_TEST create).
322
+ - `test_class_source` — ABAP source of the local test classes (UNIT_TEST and CDS_UNIT_TEST create).
274
323
 
275
324
  ### HandlerUpdate
276
325
 
277
326
  **Half:** `@mcp-abap-adt/compact-modify`
278
327
 
279
- **Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, source_code*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, implementation_code*), METADATA_EXTENSION(name*, source_code*), UNIT_TEST(run_id*), CDS_UNIT_TEST(class_name*, test_class_source*).
328
+ **Description:** Update operation. object_type required: PACKAGE(package_name*), DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(name*, source_code*), BEHAVIOR_IMPLEMENTATION(class_name*, behavior_definition*, implementation_code*), METADATA_EXTENSION(name*, source_code*), UNIT_TEST(class_name*, test_class_source*), CDS_UNIT_TEST(class_name*, test_class_source*).
280
329
 
281
330
  **Available in:** cloud, onprem
282
331
 
@@ -314,12 +363,11 @@ per request.
314
363
  - `behavior_definition` — Referenced behavior definition name (behavior implementation update).
315
364
  - `ddl_code` — Complete DDL source code (for TABLE/STRUCTURE update).
316
365
  - `implementation_code` — Behavior implementation methods source code.
317
- - `test_class_source` — Updated local test class source (CDS_UNIT_TEST update).
366
+ - `test_class_source` — ABAP source of the local test classes (UNIT_TEST and CDS_UNIT_TEST update).
318
367
  - `test_class_code` — Updated source for the local test class.
319
368
  - `local_types_code` — Updated source for class local types.
320
369
  - `definitions_code` — Updated source for class local definitions.
321
370
  - `macros_code` — Updated source for class local macros.
322
- - `run_id` — Unit test run id (UNIT_TEST update).
323
371
  - `binding_variant` — Service binding variant (service binding update).
324
372
  - `desired_publication_state` — Target publication state (service binding update).
325
373
 
@@ -327,7 +375,7 @@ per request.
327
375
 
328
376
  **Half:** `@mcp-abap-adt/compact-modify`
329
377
 
330
- **Description:** Delete operation. object_type required: DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(run_id*), CDS_UNIT_TEST(class_name*).
378
+ **Description:** Delete operation. object_type required: DOMAIN(domain_name*), DATA_ELEMENT(data_element_name*), TABLE(table_name*), STRUCTURE(structure_name*), DDL(ddl_name*), SERVICE_DEFINITION(service_definition_name*), SERVICE_BINDING(service_binding_name*), CLASS(class_name*), LOCAL_TEST_CLASS(class_name*), LOCAL_TYPES(class_name*), LOCAL_DEFINITIONS(class_name*), LOCAL_MACROS(class_name*), PROGRAM(program_name*) [onprem only], INTERFACE(interface_name*), FUNCTION_GROUP(function_group_name*), FUNCTION_MODULE(function_module_name*, function_group_name*), BEHAVIOR_DEFINITION(behavior_definition_name*), BEHAVIOR_IMPLEMENTATION(behavior_implementation_name*), METADATA_EXTENSION(metadata_extension_name*), UNIT_TEST(class_name*), CDS_UNIT_TEST(class_name*).
331
379
 
332
380
  **Available in:** cloud, onprem
333
381
 
@@ -350,7 +398,6 @@ per request.
350
398
  - `behavior_definition_name` — Behavior definition name.
351
399
  - `behavior_implementation_name` — Behavior implementation name.
352
400
  - `metadata_extension_name` — Metadata extension name.
353
- - `run_id` — Unit test run id (UNIT_TEST delete).
354
401
 
355
402
  ### HandlerActivate
356
403
 
@@ -419,16 +466,16 @@ per request.
419
466
 
420
467
  **Half:** `@mcp-abap-adt/compact-modify`
421
468
 
422
- **Description:** ABAP Unit run. object_type: not used. Required: tests[]{container_class*, test_class*}. Optional: title, context, scope, risk_level, duration. Response: JSON.
469
+ **Description:** ABAP Unit test run. object_type: not used. Required: tests[]{container_class*, test_class*}. Optional: title, context, scope, risk_level, duration. Response: JSON.
423
470
 
424
471
  **Available in:** cloud, onprem
425
472
 
426
473
  **Parameters:**
427
474
 
428
475
  - `tests` (required) — List of test classes to run.
429
- - `title` — Run title shown in ABAP Unit logs.
476
+ - `title` — Run title shown in ABAP Unit test logs.
430
477
  - `context` — Run context label.
431
- - `scope` — ABAP Unit scope flags.
478
+ - `scope` — ABAP Unit test scope flags.
432
479
  - `risk_level` — Allowed risk levels.
433
480
  - `duration` — Allowed duration classes.
434
481
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/compact",
3
- "version": "15.0.0",
3
+ "version": "16.0.0",
4
4
  "description": "The compact MCP server for SAP ABAP ADT: one tool per operation with the object in the arguments \u2014 22 tools instead of 370, for a host that cannot build a retrieval pipeline of its own.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
@@ -57,10 +57,10 @@
57
57
  "docs:tools": "node ./tools/generate-docs.js"
58
58
  },
59
59
  "dependencies": {
60
- "@mcp-abap-adt/compact-modify": "^15.0.0",
61
- "@mcp-abap-adt/compact-readonly": "^15.0.0",
62
- "@mcp-abap-adt/core": "^15.0.0",
63
- "@mcp-abap-adt/lib": "^15.0.0"
60
+ "@mcp-abap-adt/compact-modify": "^16.0.0",
61
+ "@mcp-abap-adt/compact-readonly": "^16.0.0",
62
+ "@mcp-abap-adt/core": "^16.0.0",
63
+ "@mcp-abap-adt/lib": "^16.0.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "typescript": "^6.0.2",