@mcp-abap-adt/compact-ro 19.0.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 compact MCP server for SAP ABAP ADT over **stdio**:
4
4
  the `mcp-abap-adt-compact-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 compact tool set (`compactReadOnlyToolSetOf` of `@mcp-abap-adt/lib/tool-set` over the half that changes nothing) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-compact`; 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 compact tool set (`compactReadOnlyToolSetOf` of `@mcp-abap-adt/lib/tool-set` over the half that changes nothing) and nothing else: the same options, credentials, failures and shutdown as `mcp-abap-adt-compact`; 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-compact-ro — the read-only compact 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 16 compact tools that change nothing 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 16 compact tools that change nothing 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,5 +1,5 @@
1
- import { type StdioLauncherEdges } from '@mcp-abap-adt/core/launcher';
2
1
  import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
2
+ import { type StdioLauncherEdges } from '@mcp-abap-adt/server-runtime/stdio';
3
3
  /**
4
4
  * The read-only compact tool set: the half that changes nothing, and the
5
5
  * leftover-session list and logoff. No modify half, no debugger, no
@@ -11,5 +11,7 @@ export declare const readOnlyToolSet: ToolSet;
11
11
  * file read: a bundler (the portable build) inlines it.
12
12
  */
13
13
  export declare const COMPACT_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 COMPACT_RO_PACKAGE: string;
14
16
  export declare function main(edges?: StdioLauncherEdges): Promise<void>;
15
17
  //# sourceMappingURL=launcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAYA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,KAAK,OAAO,EACb,MAAM,4BAA4B,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,OAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAExB,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":"AAgBA,OAAO,EAEL,KAAK,OAAO,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,OAE7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAExB,CAAC;AAEV,gGAAgG;AAChG,eAAO,MAAM,kBAAkB,EAAE,MAE3B,CAAC;AAEP,wBAAgB,IAAI,CAClB,KAAK,GAAE,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAUf"}
package/dist/launcher.js CHANGED
@@ -1,22 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COMPACT_RO_VERSION = exports.readOnlyToolSet = void 0;
3
+ exports.COMPACT_RO_PACKAGE = exports.COMPACT_RO_VERSION = exports.readOnlyToolSet = void 0;
4
4
  exports.main = main;
5
5
  /**
6
6
  * `mcp-abap-adt-compact-ro` — the read-only compact tool set over stdio.
7
7
  *
8
- * core's `main` with `compactReadOnlyToolSetOf` over the half that changes
9
- * nothing, and this command's name and version. Nothing else: core's table,
10
- * credentials, cancellation, failures and shutdown.
8
+ * The runtime's stdio `main` (`@mcp-abap-adt/server-runtime/stdio`, the one
9
+ * `mcp-abap-adt` runs) with `compactReadOnlyToolSetOf` over the half that
10
+ * changes nothing, and this command's name and version. Nothing else: core's
11
+ * table, credentials, cancellation, failures and shutdown. The package depends
12
+ * on lib, the runtime, background-runs-memory, responsible-rules and the
13
+ * read-only half, never on another 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 modify
14
17
  * half, the debugger, background runs and the resume are `mcp-abap-adt-compact`'s.
15
18
  */
16
19
  const compact_readonly_entries_1 = require("@mcp-abap-adt/compact-readonly-entries");
17
- const launcher_1 = require("@mcp-abap-adt/core/launcher");
18
20
  const config_1 = require("@mcp-abap-adt/lib/config");
19
21
  const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
22
+ const stdio_1 = require("@mcp-abap-adt/server-runtime/stdio");
20
23
  /**
21
24
  * The read-only compact tool set: the half that changes nothing, and the
22
25
  * leftover-session list and logoff. No modify half, no debugger, no
@@ -28,11 +31,14 @@ exports.readOnlyToolSet = (0, tool_set_1.compactReadOnlyToolSetOf)(compact_reado
28
31
  * file read: a bundler (the portable build) inlines it.
29
32
  */
30
33
  exports.COMPACT_RO_VERSION = require('../package.json').version;
34
+ /** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
35
+ exports.COMPACT_RO_PACKAGE = require('../package.json').name;
31
36
  function main(edges = (0, config_1.processEdges)()) {
32
- return (0, launcher_1.main)({
37
+ return (0, stdio_1.main)({
33
38
  toolSet: exports.readOnlyToolSet,
34
39
  program: 'mcp-abap-adt-compact-ro',
35
40
  version: exports.COMPACT_RO_VERSION,
41
+ packageName: exports.COMPACT_RO_PACKAGE,
36
42
  }, edges);
37
43
  }
38
44
  //# sourceMappingURL=launcher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAuCA,oBAWC;AAlDD;;;;;;;;;;GAUG;AACH,qFAAgF;AAChF,0DAGqC;AACrC,qDAAwD;AACxD,yDAGoC;AAEpC;;;;GAIG;AACU,QAAA,eAAe,GAAY,IAAA,mCAAwB,EAC9D,iDAAsB,CACvB,CAAC;AAEF;;;GAGG;AACU,QAAA,kBAAkB,GAC7B,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,yBAAyB;QAClC,OAAO,EAAE,0BAAkB;KAC5B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AA+CA,oBAYC;AA3DD;;;;;;;;;;;;;GAaG;AACH,qFAAgF;AAChF,qDAAwD;AACxD,yDAGoC;AACpC,8DAG4C;AAE5C;;;;GAIG;AACU,QAAA,eAAe,GAAY,IAAA,mCAAwB,EAC9D,iDAAsB,CACvB,CAAC;AAEF;;;GAGG;AACU,QAAA,kBAAkB,GAC7B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,gGAAgG;AACnF,QAAA,kBAAkB,GAC7B,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,yBAAyB;QAClC,OAAO,EAAE,0BAAkB;QAC3B,WAAW,EAAE,0BAAkB;KAChC,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/compact-ro",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-compact-ro",
4
- "version": "19.0.0",
4
+ "version": "19.2.0",
5
5
  "description": "The read-only compact MCP server for SAP ABAP ADT over stdio: the 17 compact tools that change nothing, one per operation with the object in the arguments, and the leftover-session list and logoff. Configured 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": {
@@ -58,9 +58,11 @@
58
58
  "start": "node ./bin/mcp-abap-adt-compact-ro.js"
59
59
  },
60
60
  "dependencies": {
61
- "@mcp-abap-adt/compact-readonly-entries": "^19.0.0",
62
- "@mcp-abap-adt/core": "^19.0.0",
63
- "@mcp-abap-adt/lib": "^19.0.0"
61
+ "@mcp-abap-adt/background-runs-memory": "^19.2.0",
62
+ "@mcp-abap-adt/compact-readonly-entries": "^19.2.0",
63
+ "@mcp-abap-adt/lib": "^19.2.0",
64
+ "@mcp-abap-adt/responsible-rules": "^19.2.0",
65
+ "@mcp-abap-adt/server-runtime": "^19.2.0"
64
66
  },
65
67
  "devDependencies": {
66
68
  "typescript": "^6.0.2",