@mcp-abap-adt/http-ro 19.1.0 → 20.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
@@ -4,7 +4,7 @@ The read-only MCP server for SAP ABAP ADT over **Streamable HTTP**:
4
4
  the `mcp-abap-adt-http-ro` command. **The binary fixes the tool set** (19.0.0): there is no `--exposition`;
5
5
  installing this package is how you choose the tools that change nothing.
6
6
 
7
- It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher with the read-only tool set (`fullReadOnlyToolSet` of `@mcp-abap-adt/lib/tool-set`) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-http`; only the tools differ. It does not depend on `@mcp-abap-adt/core`.
7
+ It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher — the one in [`@mcp-abap-adt/server-runtime`](https://www.npmjs.com/package/@mcp-abap-adt/server-runtime) — with the read-only tool set (`fullReadOnlyToolSet` of `@mcp-abap-adt/lib/tool-set`) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-http`; only the tools differ. It depends on no other server package (not on `@mcp-abap-adt/http`, not on `@mcp-abap-adt/core`).
8
8
 
9
9
  ## The tools
10
10
 
@@ -13,9 +13,13 @@ It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s
13
13
  analysis, SQL queries, dumps, profiler traces, and the class and program runs
14
14
  (`RuntimeRunClass`, `RuntimeRunProgram`);
15
15
  - **search** (`SearchObject`);
16
- - the **batch tools** (`BatchBegin`, `BatchEnd`, `BatchAnswers`): batch mode, the reads none of whose requests depends on another's answer recorded and sent together.
16
+ - the **batch tools** (`BatchBegin`, `BatchEnd`, `BatchAnswers`): batch mode, the reads none of whose requests depends on another's answer recorded and sent together;
17
+ - the **long session** (`SessionOpen`, `SessionClose`): an instance and its SAP connection kept
18
+ for every call carrying the `state_handle` open answers, until close or the idle bound
19
+ ([`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http#held-state-and-the-long-session)).
20
+ Every tool declares the optional `state_handle` argument.
17
21
 
18
- 69 tools in all (listed against an on-premise system; `--system-type` leaves out what a system does not offer). **Not here:** the high tools (create, update, delete, activate), the debugger and
22
+ 71 tools in all (listed against an on-premise system; `--system-type` leaves out what a system does not offer). **Not here:** the high tools (create, update, delete, activate), the debugger and
19
23
  background runs — those are
20
24
  `mcp-abap-adt-http`'s ([`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)).
21
25
 
@@ -43,7 +47,7 @@ There is no `--transport` (a binary is its transport) and no `--exposition`: pas
43
47
  config file's `exposition`, stops the start with a sentence naming the binary that serves what you
44
48
  asked for — for example `--exposition=high` names `mcp-abap-adt-http` (`@mcp-abap-adt/http`).
45
49
 
46
- **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. A request without them is answered `400`; so is one carrying `x-mcp-destination` (destinations are served only over stdio). No auth broker, no stores.
50
+ **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. A request without them is answered `400`; so is one carrying `x-mcp-destination` (destinations are served only over stdio). No auth broker, no stores: `@mcp-abap-adt/auth-broker` and `auth-stores` are installed with `server-runtime` and never loaded.
47
51
 
48
52
  Every binary and its tools:
49
53
  [Handler sets](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/user-guide/HANDLERS_MANAGEMENT.md);
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * mcp-abap-adt-http-ro — the read-only MCP ABAP ADT server over Streamable HTTP.
5
5
  *
6
- * `@mcp-abap-adt/http`'s launcher with the read-only tool set, started in this
6
+ * `@mcp-abap-adt/server-runtime/http`'s launcher with the read-only tool set, started in this
7
7
  * process.
8
8
  */
9
9
  const { main } = require('../dist/launcher.js');
@@ -1,18 +1,19 @@
1
1
  /**
2
2
  * `mcp-abap-adt-http-ro` — the read-only tool set over Streamable HTTP.
3
3
  *
4
- * http's `main` with `fullReadOnlyToolSet`, and this command's name and
4
+ * The runtime's Streamable HTTP `main` with `fullReadOnlyToolSet`, and this command's name and
5
5
  * version. Nothing else: http's table, credentials, cancellation, failures and
6
- * shutdown. It depends on lib and @mcp-abap-adt/http only: never on core, so
7
- * neither the auth broker nor the stores are installed with it.
6
+ * shutdown. The launcher is `@mcp-abap-adt/server-runtime/http`'s; the
7
+ * package depends on lib, the runtime,
8
+ * background-runs-memory, responsible-rules, never on another binary package.
8
9
  *
9
10
  * **Why a package of its own:** the binary fixes the tool set (the owner's
10
11
  * decision), and a user installs only what they need. The high,
11
12
  * debugger, background-run and resume tools are `mcp-abap-adt-http`'s.
12
13
  */
13
- import { main as httpMain } from '@mcp-abap-adt/http/launcher';
14
14
  import { type LauncherEdges } from '@mcp-abap-adt/lib/config';
15
15
  import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
16
+ import { main as httpMain } from '@mcp-abap-adt/server-runtime/http';
16
17
  /**
17
18
  * The read-only tool set: readonly (with system and search). No high, no debugger, no background run,
18
19
  * no resume.
@@ -23,5 +24,7 @@ export declare const readOnlyToolSet: ToolSet;
23
24
  * file read: a bundler (the portable build) inlines it.
24
25
  */
25
26
  export declare const HTTP_RO_VERSION: string;
27
+ /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
28
+ export declare const HTTP_RO_PACKAGE: string;
26
29
  export declare function main(edges?: LauncherEdges): ReturnType<typeof httpMain>;
27
30
  //# sourceMappingURL=launcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,OAA6B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAErB,CAAC;AAEV,wBAAgB,IAAI,CAClB,KAAK,GAAE,aAA8B,GACpC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAS7B"}
1
+ {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,OAA6B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAErB,CAAC;AAEV,gGAAgG;AAChG,eAAO,MAAM,eAAe,EAAE,MAExB,CAAC;AAEP,wBAAgB,IAAI,CAClB,KAAK,GAAE,aAA8B,GACpC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAU7B"}
package/dist/launcher.js CHANGED
@@ -1,22 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HTTP_RO_VERSION = exports.readOnlyToolSet = void 0;
3
+ exports.HTTP_RO_PACKAGE = exports.HTTP_RO_VERSION = exports.readOnlyToolSet = void 0;
4
4
  exports.main = main;
5
5
  /**
6
6
  * `mcp-abap-adt-http-ro` — the read-only tool set over Streamable HTTP.
7
7
  *
8
- * http's `main` with `fullReadOnlyToolSet`, and this command's name and
8
+ * The runtime's Streamable HTTP `main` with `fullReadOnlyToolSet`, and this command's name and
9
9
  * version. Nothing else: http's table, credentials, cancellation, failures and
10
- * shutdown. It depends on lib and @mcp-abap-adt/http only: never on core, so
11
- * neither the auth broker nor the stores are installed with it.
10
+ * shutdown. The launcher is `@mcp-abap-adt/server-runtime/http`'s; the
11
+ * package depends on lib, the runtime,
12
+ * background-runs-memory, responsible-rules, never on another binary package.
12
13
  *
13
14
  * **Why a package of its own:** the binary fixes the tool set (the owner's
14
15
  * decision), and a user installs only what they need. The high,
15
16
  * debugger, background-run and resume tools are `mcp-abap-adt-http`'s.
16
17
  */
17
- const launcher_1 = require("@mcp-abap-adt/http/launcher");
18
18
  const config_1 = require("@mcp-abap-adt/lib/config");
19
19
  const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
20
+ const http_1 = require("@mcp-abap-adt/server-runtime/http");
20
21
  /**
21
22
  * The read-only tool set: readonly (with system and search). No high, no debugger, no background run,
22
23
  * no resume.
@@ -27,11 +28,14 @@ exports.readOnlyToolSet = tool_set_1.fullReadOnlyToolSet;
27
28
  * file read: a bundler (the portable build) inlines it.
28
29
  */
29
30
  exports.HTTP_RO_VERSION = require('../package.json').version;
31
+ /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
32
+ exports.HTTP_RO_PACKAGE = require('../package.json').name;
30
33
  function main(edges = (0, config_1.processEdges)()) {
31
- return (0, launcher_1.main)({
34
+ return (0, http_1.main)({
32
35
  toolSet: exports.readOnlyToolSet,
33
36
  program: 'mcp-abap-adt-http-ro',
34
37
  version: exports.HTTP_RO_VERSION,
38
+ packageName: exports.HTTP_RO_PACKAGE,
35
39
  }, edges);
36
40
  }
37
41
  //# sourceMappingURL=launcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AA8BA,oBAWC;AAzCD;;;;;;;;;;;GAWG;AACH,0DAA+D;AAC/D,qDAA4E;AAC5E,yDAA+E;AAE/E;;;GAGG;AACU,QAAA,eAAe,GAAY,8BAAmB,CAAC;AAE5D;;;GAGG;AACU,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,SAAgB,IAAI,CAClB,QAAuB,IAAA,qBAAY,GAAE;IAErC,OAAO,IAAA,eAAQ,EACb;QACE,OAAO,EAAE,uBAAe;QACxB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;KACzB,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAoCA,oBAYC;AAhDD;;;;;;;;;;;;GAYG;AACH,qDAA4E;AAC5E,yDAA+E;AAC/E,4DAAqE;AAErE;;;GAGG;AACU,QAAA,eAAe,GAAY,8BAAmB,CAAC;AAE5D;;;GAGG;AACU,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,gGAAgG;AACnF,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,IAAI,CAAC;AAEP,SAAgB,IAAI,CAClB,QAAuB,IAAA,qBAAY,GAAE;IAErC,OAAO,IAAA,WAAQ,EACb;QACE,OAAO,EAAE,uBAAe;QACxB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;QACxB,WAAW,EAAE,uBAAe;KAC7B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/http-ro",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-http-ro",
4
- "version": "19.1.0",
4
+ "version": "20.0.0",
5
5
  "description": "The read-only MCP server for SAP ABAP ADT over Streamable HTTP: the readonly tools (with system and search), no high, debugger, background-run or leftover-session tool; credentials only from each request's x-sap-* headers. No auth broker, no stores.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "publishConfig": {
@@ -51,15 +51,17 @@
51
51
  },
52
52
  "scripts": {
53
53
  "prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
54
- "build": "npx tsc -p tsconfig.json",
54
+ "build": "tsc -p tsconfig.json",
55
55
  "test": "npm --prefix .. test -- --roots http-ro/src",
56
- "lint:check": "npx biome check src",
56
+ "lint:check": "biome check src",
57
57
  "prepublishOnly": "npm run build",
58
58
  "start": "node ./bin/mcp-abap-adt-http-ro.js"
59
59
  },
60
60
  "dependencies": {
61
- "@mcp-abap-adt/http": "^19.1.0",
62
- "@mcp-abap-adt/lib": "^19.1.0"
61
+ "@mcp-abap-adt/background-runs-memory": "^20.0.0",
62
+ "@mcp-abap-adt/lib": "^20.0.0",
63
+ "@mcp-abap-adt/responsible-rules": "^20.0.0",
64
+ "@mcp-abap-adt/server-runtime": "^20.0.0"
63
65
  },
64
66
  "devDependencies": {
65
67
  "typescript": "^6.0.2",