@mcp-abap-adt/core-ro 19.1.0 → 19.2.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 **stdio**:
4
4
  the `mcp-abap-adt-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/core`](https://www.npmjs.com/package/@mcp-abap-adt/core)'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`; only the tools differ.
7
+ It is [`@mcp-abap-adt/core`](https://www.npmjs.com/package/@mcp-abap-adt/core)'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`; only the tools differ. It depends on no other server package (not on `@mcp-abap-adt/core`).
8
8
 
9
9
  ## The tools
10
10
 
@@ -4,11 +4,11 @@
4
4
  * mcp-abap-adt-ro — the read-only MCP ABAP ADT server over stdio.
5
5
  *
6
6
  * Starts the server in THIS process so stdin/stdout stay wired to the MCP protocol
7
- * with no intermediate layer, exactly as `mcp-abap-adt` does: core's `main` with
8
- * the read-only tool set — the readonly tools (with system and search) and the leftover-session list and logoff.
7
+ * with no intermediate layer, exactly as `mcp-abap-adt` does: the runtime's stdio `main`
8
+ * (@mcp-abap-adt/server-runtime/stdio) with the read-only tool set — the readonly tools (with system and search) and the leftover-session list and logoff.
9
9
  */
10
10
  const { main } = require('../dist/launcher.js');
11
- const { launcherFailedLine } = require('@mcp-abap-adt/core/launcher');
11
+ const { launcherFailedLine } = require('@mcp-abap-adt/server-runtime/stdio');
12
12
 
13
13
  void main().catch((err) => {
14
14
  console.error(launcherFailedLine(err));
@@ -1,16 +1,5 @@
1
- /**
2
- * `mcp-abap-adt-ro` — the read-only tool set over stdio.
3
- *
4
- * core's `main` with `fullReadOnlyToolSet`, and this command's name and
5
- * version. Nothing else: core's table, credentials, cancellation, failures and
6
- * shutdown.
7
- *
8
- * **Why a package of its own:** the binary fixes the tool set (the owner's
9
- * decision), and a user installs only what they need. The high,
10
- * debugger, background-run and resume tools are `mcp-abap-adt`'s.
11
- */
12
- import { type StdioLauncherEdges } from '@mcp-abap-adt/core/launcher';
13
1
  import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
2
+ import { type StdioLauncherEdges } from '@mcp-abap-adt/server-runtime/stdio';
14
3
  /**
15
4
  * The read-only tool set: readonly (with system and search), and the
16
5
  * leftover-session list and logoff. No high, no debugger, no background run,
@@ -22,5 +11,7 @@ export declare const readOnlyToolSet: ToolSet;
22
11
  * file read: a bundler (the portable build) inlines it.
23
12
  */
24
13
  export declare const CORE_RO_VERSION: string;
14
+ /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
15
+ export declare const CORE_RO_PACKAGE: string;
25
16
  export declare function main(edges?: StdioLauncherEdges): Promise<void>;
26
17
  //# sourceMappingURL=launcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,OAA6B,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAErB,CAAC;AAEV,wBAAgB,IAAI,CAClB,KAAK,GAAE,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CASf"}
1
+ {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAeA,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C;;;;GAIG;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,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAUf"}
package/dist/launcher.js CHANGED
@@ -1,21 +1,24 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CORE_RO_VERSION = exports.readOnlyToolSet = void 0;
3
+ exports.CORE_RO_PACKAGE = exports.CORE_RO_VERSION = exports.readOnlyToolSet = void 0;
4
4
  exports.main = main;
5
5
  /**
6
6
  * `mcp-abap-adt-ro` — the read-only tool set over stdio.
7
7
  *
8
- * core's `main` with `fullReadOnlyToolSet`, and this command's name and
8
+ * The runtime's stdio `main` (`@mcp-abap-adt/server-runtime/stdio`, the one
9
+ * `mcp-abap-adt` runs) with `fullReadOnlyToolSet`, and this command's name and
9
10
  * version. Nothing else: core's table, credentials, cancellation, failures and
10
- * shutdown.
11
+ * shutdown. The package depends on lib, the runtime,
12
+ * background-runs-memory, responsible-rules, never on another
13
+ * binary package.
11
14
  *
12
15
  * **Why a package of its own:** the binary fixes the tool set (the owner's
13
16
  * decision), and a user installs only what they need. The high,
14
17
  * debugger, background-run and resume tools are `mcp-abap-adt`'s.
15
18
  */
16
- const launcher_1 = require("@mcp-abap-adt/core/launcher");
17
19
  const config_1 = require("@mcp-abap-adt/lib/config");
18
20
  const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
21
+ const stdio_1 = require("@mcp-abap-adt/server-runtime/stdio");
19
22
  /**
20
23
  * The read-only tool set: readonly (with system and search), and the
21
24
  * leftover-session list and logoff. No high, no debugger, no background run,
@@ -27,11 +30,14 @@ exports.readOnlyToolSet = tool_set_1.fullReadOnlyToolSet;
27
30
  * file read: a bundler (the portable build) inlines it.
28
31
  */
29
32
  exports.CORE_RO_VERSION = require('../package.json').version;
33
+ /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
34
+ exports.CORE_RO_PACKAGE = require('../package.json').name;
30
35
  function main(edges = (0, config_1.processEdges)()) {
31
- return (0, launcher_1.main)({
36
+ return (0, stdio_1.main)({
32
37
  toolSet: exports.readOnlyToolSet,
33
38
  program: 'mcp-abap-adt-ro',
34
39
  version: exports.CORE_RO_VERSION,
40
+ packageName: exports.CORE_RO_PACKAGE,
35
41
  }, edges);
36
42
  }
37
43
  //# sourceMappingURL=launcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAiCA,oBAWC;AA5CD;;;;;;;;;;GAUG;AACH,0DAGqC;AACrC,qDAAwD;AACxD,yDAA+E;AAE/E;;;;GAIG;AACU,QAAA,eAAe,GAAY,8BAAmB,CAAC;AAE5D;;;GAGG;AACU,QAAA,eAAe,GAC1B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,SAAgB,IAAI,CAClB,QAA4B,IAAA,qBAAY,GAAE;IAE1C,OAAO,IAAA,eAAQ,EACb;QACE,OAAO,EAAE,uBAAe;QACxB,OAAO,EAAE,iBAAiB;QAC1B,OAAO,EAAE,uBAAe;KACzB,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAyCA,oBAYC;AArDD;;;;;;;;;;;;;GAaG;AACH,qDAAwD;AACxD,yDAA+E;AAC/E,8DAG4C;AAE5C;;;;GAIG;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,QAA4B,IAAA,qBAAY,GAAE;IAE1C,OAAO,IAAA,YAAQ,EACb;QACE,OAAO,EAAE,uBAAe;QACxB,OAAO,EAAE,iBAAiB;QAC1B,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/core-ro",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-ro",
4
- "version": "19.1.0",
4
+ "version": "19.2.0",
5
5
  "description": "The read-only MCP server for SAP ABAP ADT over stdio: the readonly tools (with system and search) and the leftover-session list and logoff, no high, debugger, background-run or resume tool. One destination through the auth broker, as @mcp-abap-adt/core; connects over HTTP, RFC or SNC (RFC and SNC need the SAP NW RFC SDK at install time).",
6
6
  "license": "AGPL-3.0-only",
7
7
  "publishConfig": {
@@ -57,8 +57,10 @@
57
57
  "start": "node ./bin/mcp-abap-adt-ro.js"
58
58
  },
59
59
  "dependencies": {
60
- "@mcp-abap-adt/core": "^19.1.0",
61
- "@mcp-abap-adt/lib": "^19.1.0"
60
+ "@mcp-abap-adt/background-runs-memory": "^19.2.0",
61
+ "@mcp-abap-adt/lib": "^19.2.0",
62
+ "@mcp-abap-adt/responsible-rules": "^19.2.0",
63
+ "@mcp-abap-adt/server-runtime": "^19.2.0"
62
64
  },
63
65
  "devDependencies": {
64
66
  "typescript": "^6.0.2",