@mcp-abap-adt/compact-http 22.0.1 → 23.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 +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ mcp-abap-adt-compact-http --help # every option, from this b
|
|
|
25
25
|
|
|
26
26
|
There is no `--transport`: a binary is its transport.
|
|
27
27
|
|
|
28
|
-
**The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT and
|
|
28
|
+
**The low set's analogue.** The low set left the full binaries in 19.0.0; its single-step operations are compact's: `HandlerLock`, `HandlerUpdate` with the `lock_handle` it answered (one request: the write alone, under your lock; `lock_handle` is required; for PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE, and for INCLUDE with `part: 'metadata'`, `source_code` is the whole metadata document, sent as given; `part` is taken by INCLUDE alone, `source` when absent), `HandlerUnlock`, `HandlerDeletionCheck` (the one deletion check, SAP's verdict as it came), `HandlerDelete` (one request: the deletion request alone, with no lock held on the object; a class include and `UNIT_TEST` are written empty by one `PUT` under your class lock's `lock_handle`), `HandlerCheckRun`, `HandlerValidate`, `HandlerActivate` (one request: one object of a type the per-object activation maps answers its verdict; every other call starts an activation run and answers `{ run_id }`), and `HandlerGet` — one request per part: `source` the source alone, `metadata` the metadata document alone (PACKAGE, DOMAIN, DATA_ELEMENT, FUNCTION_GROUP and TABLE_TYPE have only `metadata`; a function module is named `GROUP|MODULE` or with `function_group_name`), and `object_structure` / `node_structure` / `virtual_folders` (a package's blank node structure is the empty listing with `blank`: an empty package, or no package of that name), and `activation_status` / `activation_results` (an activation run by its `run_id`: its status, then its messages — asking again until the status settles is yours), and `object_type` `UNIT_TEST` / `CDS_UNIT_TEST` (a unit-test run's result by its `run_id`, one request, as `HandlerUnitTestResult` / `HandlerCdsUnitTestResult` read it; the status is `HandlerUnitTestStatus` / `HandlerCdsUnitTestStatus`, asked until it says `FINISHED`). **Keeping a lock from `HandlerLock` short is your job:** the server releases nothing on its own clock — unlock as soon as the write is done. The tool-by-tool table: [MIGRATION-19.0](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/MIGRATION-19.0.md#the-low-set-leaves-the-full-binaries).
|
|
29
29
|
|
|
30
30
|
**Credentials** come only from each request's `x-sap-*` headers — `x-sap-url`, `x-sap-client`, and `x-sap-jwt-token` or `x-sap-login` with `x-sap-password`; nothing is stored, shared or cached across requests. Held state (a long session, a debug session, a batch, a lock taken with `HandlerLock`) is reached again with its `state_handle` on the pooled instance that holds it: send it as the `state_handle` argument, which every tool of this binary declares (or in the `x-mcp-state-handle` header; when both are sent, the header wins). `HandlerLock` answers it, and `HandlerUpdate`, `HandlerDelete` of a class include and `HandlerUnlock` under that lock send it — without it they reach another instance and are refused, sending nothing. A request with another credential (a renewed token, a new user and password) works on the held instance too: its SAP session and its locks are kept, and the new credential is put in force for its next sends; what SAP answers to it reaches the caller as it came. A request without credential headers is answered `400`; so is one
|
|
31
31
|
carrying `x-mcp-destination` (destinations are served only by `mcp-abap-adt`, stdio).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/compact-http",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-compact-http",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "23.0.0",
|
|
5
5
|
"description": "The compact MCP server for SAP ABAP ADT over Streamable HTTP: one tool per operation with the object in the arguments — 28 tools instead of 370 — with credentials only from the x-sap-* headers of each request. No auth broker, no stores.",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"publishConfig": {
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"start": "node ./bin/mcp-abap-adt-compact-http.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/background-runs-memory": "^
|
|
62
|
-
"@mcp-abap-adt/compact-modify": "^
|
|
63
|
-
"@mcp-abap-adt/compact-readonly-entries": "^
|
|
64
|
-
"@mcp-abap-adt/lib": "^
|
|
65
|
-
"@mcp-abap-adt/responsible-rules": "^
|
|
66
|
-
"@mcp-abap-adt/server-runtime": "^
|
|
61
|
+
"@mcp-abap-adt/background-runs-memory": "^23.0.0",
|
|
62
|
+
"@mcp-abap-adt/compact-modify": "^23.0.0",
|
|
63
|
+
"@mcp-abap-adt/compact-readonly-entries": "^23.0.0",
|
|
64
|
+
"@mcp-abap-adt/lib": "^23.0.0",
|
|
65
|
+
"@mcp-abap-adt/responsible-rules": "^23.0.0",
|
|
66
|
+
"@mcp-abap-adt/server-runtime": "^23.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"typescript": "^6.0.2",
|