@mcp-abap-adt/compact 24.2.0 → 24.2.2

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.
@@ -129,25 +129,26 @@ per request.
129
129
  - `action` (required) — The read: search_source (source text in packages), search_object (objects by name or mask), where_used (the objects that use an object), package_tree (a package tree), transports (transport requests), atc_findings (the findings of an ATC run), atc_results (the stored ATC results), atc_result (one stored ATC result).
130
130
  - `query` — search_source: primary substring to match (case-insensitive, ABAP CS).
131
131
  - `query2` — search_source: a second substring; when set, both query and query2 must appear on the same line.
132
- - `exclude` — search_source: up to 3 substrings; a line containing any of them is dropped.
132
+ - `exclude` — search_source: substrings; a line containing any of them is dropped. Absent, no line is dropped.
133
133
  - `packages` — search_source: packages to scan, each an exact package name or a mask (`*` zero or more characters, `?` one character; `+`, `_`, `%` and `#` are characters of the name).
134
134
  - `include_subpackages` — search_source: recurse into subpackages (default true). package_tree: expand subpackages recursively (default true).
135
135
  - `object_filter` — search_source: glob applied to object names within each package (e.g. "Z*").
136
136
  - `object_types` — search_source: object types to scan, by main type: PROG (programs and program includes), FUGR, CLAS, INTF, DDLS, BDEF, DDLX, SRVD (default all of them).
137
137
  - `exclude_comments` — search_source: skip col-1 '*' and full-line '"' comment lines (default false).
138
138
  - `max_hits_per_object` — search_source: the most hits answered per object; absent, every hit.
139
- - `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading. Absent, every hit.
139
+ - `max_hits` — search_source: the most hits of the whole answer; reached, the scan stops reading the next objects. Absent, no limit: every object is read and every hit answered.
140
140
  - `answer` — search_source: what each hit is answered as: lines (the default at detail terse), snippets (the default at medium and full) or objects.
141
141
  - `version` — search_source: the version every source is read at (default active).
142
142
  - `object_name` — search_object: object name or mask (e.g. 'MARA*'). where_used: name of the object (with object_type), a function module as 'GROUP|FM_NAME'.
143
143
  - `object_type` — search_object: Optional: restrict the search to one type: a name of the system's object types list — a main type (e.g. CLAS, DEVC, TABL), an alias of one subtype (e.g. STRU for structures, DTAB for database tables, FUNC for function modules) or a group — or an ADT type code, which stands for the name that selects it (e.g. TABL/DS for STRU, FUGR/FF for FUNC, ENHO/XHH for ENHO), either case; or a name standing for a code, written in lower case (e.g. class, structure, table, function), read as its code: view is a CDS view (DDLS), dbview a dictionary view (VIEW). A value in upper case is a search name or a code first, so VIEW is the dictionary views; it is a name only when it is neither (CLASS is class). where_used: Type of the ABAP object: an ADT type code (either case), or a name standing for one (in brackets after it): CLAS/OC (class), INTF/OI (interface), PROG/P (program), PROG/I (include), FUGR/F (functiongroup), FUGR/FF (function, functionmodule, function_module, func), DEVC/K (package), DDLS/DF (view), VIEW/DV (dbview), TABL/DT (table), TABL/DS (structure, stru), TTYP/DA, DOMA/DD (domain), DTEL/DE (dataelement), DCLS/DL, BDEF/BDO, DDLX/EX, SRVD/SRV, SRVB/SVB, DSFD/SCF, DSFI/SFI, XSLT/VT, MSAG/N, FTG2/FT, AUTH, ENHO/XHH, ENHO/XHB, ENHS/XSB, PROG/PX. A function module is named as object_name says. PROG/PX is a program's or a function group's text elements; container says which. A name is written in lower case: view is a CDS view (DDLS/DF). A value in upper case is a code, a main type or a search name of the system's object types list first, so VIEW is the dictionary views (VIEW/DV); it is a name only when it is none of these (CLASS is class). A main type, the part of a code before its slash, stands for its code when exactly one listed code has it. In upper case, a search name of the system's object types list stands for the listed code its list item has (e.g. STRU for TABL/DS).
144
144
  - `container` — where_used: with object_type PROG/PX, required: whose text elements they are, program or function_group; taken by PROG/PX alone.
145
145
  - `maxResults` — search_object: maximum number of results to return (default 100).
146
- - `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_result: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
146
+ - `detail` — search_source, search_object, where_used, package_tree, transports, atc_findings, atc_results, atc_result: How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
147
147
  - `objects` — where_used: several objects, read together (give this or object_name and object_type); the type filters apply to every object.
148
148
  - `enable_all_types` — where_used: true selects every object type of the where-used scope (default false, the SAP default scope).
149
149
  - `enable_only_types` — where_used: the only ADT object types searched, codes of the object's where-used scope (e.g. 'CLAS/OC', 'DDLS/DF').
150
150
  - `disable_types` — where_used: ADT object types removed from the scope (e.g. ['CLAS/OC']).
151
+ - `in_object` — where_used: one object that uses it, as a where-used answer names it (type and name): the answer is then its usages only, each with its method or section and source line; once per using object whose code lines are wanted.
151
152
  - `package_name` — package_tree: package name (give this or package_names).
152
153
  - `package_names` — package_tree: several package names, read together (give this or package_name).
153
154
  - `max_depth` — package_tree: maximum depth of the walk (default 5).
@@ -394,6 +395,7 @@ per request.
394
395
  - `object_name` — Table or CDS view whose rows are read, all columns. Used when sql_query is absent.
395
396
  - `sql_query` — ABAP SQL SELECT naming the columns, conditions and order to read.
396
397
  - `max_rows` — Maximum number of rows returned.
398
+ - `detail` — How much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.
397
399
 
398
400
  ### HandlerCreate
399
401
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/compact",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-compact",
4
- "version": "24.2.0",
4
+ "version": "24.2.2",
5
5
  "description": "The compact MCP server for SAP ABAP ADT over stdio, on premise (ECC, S/4HANA) and SAP BTP ABAP Cloud: one tool per operation with the object type in the arguments: CRUD, where-used, ATC, unit tests, transports, the debugger, abapGit, batch mode, MCP prompts and access restrictions. Configured as @mcp-abap-adt/core; connects over HTTP, RFC or SNC (RFC and SNC need the SAP NW RFC library at run time).",
6
6
  "license": "AGPL-3.0-only",
7
7
  "author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
@@ -72,12 +72,12 @@
72
72
  "docs:tools": "node ./tools/generate-docs.js"
73
73
  },
74
74
  "dependencies": {
75
- "@mcp-abap-adt/background-runs-memory": "^24.2.0",
76
- "@mcp-abap-adt/compact-modify": "^24.2.0",
77
- "@mcp-abap-adt/compact-readonly-entries": "^24.2.0",
78
- "@mcp-abap-adt/lib": "^24.2.0",
79
- "@mcp-abap-adt/responsible-rules": "^24.2.0",
80
- "@mcp-abap-adt/server-runtime": "^24.2.0"
75
+ "@mcp-abap-adt/background-runs-memory": "^24.2.2",
76
+ "@mcp-abap-adt/compact-modify": "^24.2.2",
77
+ "@mcp-abap-adt/compact-readonly-entries": "^24.2.2",
78
+ "@mcp-abap-adt/lib": "^24.2.2",
79
+ "@mcp-abap-adt/responsible-rules": "^24.2.2",
80
+ "@mcp-abap-adt/server-runtime": "^24.2.2"
81
81
  },
82
82
  "devDependencies": {
83
83
  "typescript": "^6.0.2",