@mcp-abap-adt/compact 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 +3 -1
- package/bin/mcp-abap-adt-compact.js +3 -3
- package/dist/launcher.d.ts +3 -1
- package/dist/launcher.d.ts.map +1 -1
- package/dist/launcher.js +12 -5
- package/dist/launcher.js.map +1 -1
- package/docs/AVAILABLE_TOOLS.md +1 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -105,7 +105,9 @@ alive on each transport and what ends it: [Debugger](https://github.com/fr0ster/
|
|
|
105
105
|
Configuration — the destination, authentication, the login — is the same as
|
|
106
106
|
`mcp-abap-adt`'s, because the launcher is the same one: this command passes the
|
|
107
107
|
compact tool set (`compactToolSetOf` of `@mcp-abap-adt/lib/tool-set`, with the two
|
|
108
|
-
halves' entry builders) to `@mcp-abap-adt/
|
|
108
|
+
halves' entry builders) to the stdio `main` of `@mcp-abap-adt/server-runtime` — the one
|
|
109
|
+
`mcp-abap-adt` runs —, and nothing else. It depends on no other server package (not on
|
|
110
|
+
`@mcp-abap-adt/core`).
|
|
109
111
|
|
|
110
112
|
**RFC and SNC** work here exactly as in the full server, and need the same preparation **before** `npm install -g @mcp-abap-adt/compact`: the SAP NW RFC SDK, a C++ toolchain and `SAPNWRFC_HOME` set in the shell — the RFC module is compiled during the install and silently left out when it cannot be. Check with `npm ls -g @mcp-abap-adt/sap-rfc-lite`. Steps: [RFC Setup](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/installation/RFC_SETUP.md); every variant: [Installation variants](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/installation/INSTALLATION.md#installation-variants).
|
|
111
113
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* MCP ABAP ADT — the compact command 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:
|
|
8
|
-
* compact tool set: the 27 compact tools, the four debugger tools, the leftover
|
|
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 compact tool set: the 27 compact tools, the four debugger tools, the leftover
|
|
9
9
|
* sessions and background runs. The 16 that change nothing alone are
|
|
10
10
|
* `mcp-abap-adt-compact-ro` (@mcp-abap-adt/compact-ro).
|
|
11
11
|
*/
|
|
12
12
|
const { main } = require('../dist/launcher.js');
|
|
13
|
-
const { launcherFailedLine } = require('@mcp-abap-adt/
|
|
13
|
+
const { launcherFailedLine } = require('@mcp-abap-adt/server-runtime/stdio');
|
|
14
14
|
|
|
15
15
|
void main().catch((err) => {
|
|
16
16
|
console.error(launcherFailedLine(err));
|
package/dist/launcher.d.ts
CHANGED
|
@@ -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
|
/** The compact tool set: both halves, the debugger, the leftover sessions and background runs. */
|
|
4
4
|
export declare const compactToolSet: ToolSet;
|
|
5
5
|
/**
|
|
@@ -9,5 +9,7 @@ export declare const compactToolSet: ToolSet;
|
|
|
9
9
|
* bundler (the portable build) inlines it.
|
|
10
10
|
*/
|
|
11
11
|
export declare const COMPACT_VERSION: string;
|
|
12
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
13
|
+
export declare const COMPACT_PACKAGE: string;
|
|
12
14
|
export declare function main(edges?: StdioLauncherEdges): Promise<void>;
|
|
13
15
|
//# sourceMappingURL=launcher.d.ts.map
|
package/dist/launcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C,kGAAkG;AAClG,eAAO,MAAM,cAAc,EAAE,OAG3B,CAAC;AAEH;;;;;GAKG;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,15 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMPACT_VERSION = exports.compactToolSet = void 0;
|
|
3
|
+
exports.COMPACT_PACKAGE = exports.COMPACT_VERSION = exports.compactToolSet = void 0;
|
|
4
4
|
exports.main = main;
|
|
5
5
|
/**
|
|
6
6
|
* `mcp-abap-adt-compact` — the compact tool set over stdio.
|
|
7
7
|
*
|
|
8
8
|
* The same server as `mcp-abap-adt`, a different decomposition of its tool
|
|
9
|
-
* list:
|
|
9
|
+
* list: the runtime's stdio `main` (`@mcp-abap-adt/server-runtime/stdio`, the one
|
|
10
|
+
* `mcp-abap-adt` runs) with `compactToolSet` — the two halves' entry builders
|
|
10
11
|
* composed by lib's `compactToolSetOf` — and this command's name and version.
|
|
11
12
|
* Nothing else: core's table, core's
|
|
12
|
-
* destination, credentials, cancellation, failures and shutdown.
|
|
13
|
+
* destination, credentials, cancellation, failures and shutdown. The package
|
|
14
|
+
* depends on lib, the runtime,
|
|
15
|
+
* background-runs-memory, responsible-rules and the two halves, never on another binary
|
|
16
|
+
* package.
|
|
13
17
|
*
|
|
14
18
|
* **Why a command at all**, rather than a flag on the first one: the host this is
|
|
15
19
|
* for cannot build a retrieval pipeline and must be handed a tool list short by
|
|
@@ -18,9 +22,9 @@ exports.main = main;
|
|
|
18
22
|
*/
|
|
19
23
|
const compact_modify_1 = require("@mcp-abap-adt/compact-modify");
|
|
20
24
|
const compact_readonly_entries_1 = require("@mcp-abap-adt/compact-readonly-entries");
|
|
21
|
-
const launcher_1 = require("@mcp-abap-adt/core/launcher");
|
|
22
25
|
const config_1 = require("@mcp-abap-adt/lib/config");
|
|
23
26
|
const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
|
|
27
|
+
const stdio_1 = require("@mcp-abap-adt/server-runtime/stdio");
|
|
24
28
|
/** The compact tool set: both halves, the debugger, the leftover sessions and background runs. */
|
|
25
29
|
exports.compactToolSet = (0, tool_set_1.compactToolSetOf)({
|
|
26
30
|
readOnly: compact_readonly_entries_1.compactReadOnlyEntries,
|
|
@@ -33,11 +37,14 @@ exports.compactToolSet = (0, tool_set_1.compactToolSetOf)({
|
|
|
33
37
|
* bundler (the portable build) inlines it.
|
|
34
38
|
*/
|
|
35
39
|
exports.COMPACT_VERSION = require('../package.json').version;
|
|
40
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
41
|
+
exports.COMPACT_PACKAGE = require('../package.json').name;
|
|
36
42
|
function main(edges = (0, config_1.processEdges)()) {
|
|
37
|
-
return (0,
|
|
43
|
+
return (0, stdio_1.main)({
|
|
38
44
|
toolSet: exports.compactToolSet,
|
|
39
45
|
program: 'mcp-abap-adt-compact',
|
|
40
46
|
version: exports.COMPACT_VERSION,
|
|
47
|
+
packageName: exports.COMPACT_PACKAGE,
|
|
41
48
|
}, edges);
|
|
42
49
|
}
|
|
43
50
|
//# sourceMappingURL=launcher.js.map
|
package/dist/launcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":";;;AAgDA,oBAYC;AA5DD;;;;;;;;;;;;;;;;;GAiBG;AACH,iEAAoE;AACpE,qFAAgF;AAChF,qDAAwD;AACxD,yDAA4E;AAC5E,8DAG4C;AAE5C,kGAAkG;AACrF,QAAA,cAAc,GAAY,IAAA,2BAAgB,EAAC;IACtD,QAAQ,EAAE,iDAAsB;IAChC,MAAM,EAAE,qCAAoB;CAC7B,CAAC,CAAC;AAEH;;;;;GAKG;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,sBAAc;QACvB,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,uBAAe;QACxB,WAAW,EAAE,uBAAe;KAC7B,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
|
package/docs/AVAILABLE_TOOLS.md
CHANGED
|
@@ -37,7 +37,7 @@ per request.
|
|
|
37
37
|
- `package_name` — Package name.
|
|
38
38
|
- `package_names` — Several package names (part contents), read together: one entry per package, in the order given, each { package_name, contents } or { package_name, error }.
|
|
39
39
|
- `max_results` — Maximum number of members listed per package (part contents).
|
|
40
|
-
- `include_descriptions` — Include each member's description (part contents).
|
|
40
|
+
- `include_descriptions` — Include each member's description (part contents). The walk's levels are then read as single requests, several at a time, rather than in ADT batch envelopes.
|
|
41
41
|
- `class_name` — Class name.
|
|
42
42
|
- `interface_name` — Interface name.
|
|
43
43
|
- `program_name` — Program name.
|
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": "19.
|
|
4
|
+
"version": "19.2.0",
|
|
5
5
|
"description": "The compact MCP server for SAP ABAP ADT: one tool per operation with the object in the arguments — 28 tools instead of 370, for a host that cannot build a retrieval pipeline of its own. Connects over HTTP, RFC or SNC, configured as @mcp-abap-adt/core; RFC and SNC need the SAP NW RFC SDK at install time.",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"author": "Oleksii Kyslytsia <oleksij.kyslytsja@gmail.com>",
|
|
@@ -58,10 +58,12 @@
|
|
|
58
58
|
"docs:tools": "node ./tools/generate-docs.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/
|
|
62
|
-
"@mcp-abap-adt/compact-
|
|
63
|
-
"@mcp-abap-adt/
|
|
64
|
-
"@mcp-abap-adt/lib": "^19.
|
|
61
|
+
"@mcp-abap-adt/background-runs-memory": "^19.2.0",
|
|
62
|
+
"@mcp-abap-adt/compact-modify": "^19.2.0",
|
|
63
|
+
"@mcp-abap-adt/compact-readonly-entries": "^19.2.0",
|
|
64
|
+
"@mcp-abap-adt/lib": "^19.2.0",
|
|
65
|
+
"@mcp-abap-adt/responsible-rules": "^19.2.0",
|
|
66
|
+
"@mcp-abap-adt/server-runtime": "^19.2.0"
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|
|
67
69
|
"typescript": "^6.0.2",
|