@mcp-abap-adt/compact-http 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 +5 -3
- package/bin/mcp-abap-adt-compact-http.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/launcher.d.ts +3 -1
- package/dist/launcher.d.ts.map +1 -1
- package/dist/launcher.js +10 -7
- package/dist/launcher.js.map +1 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -4,14 +4,16 @@ The compact MCP server for SAP ABAP ADT over **Streamable HTTP**: one tool per o
|
|
|
4
4
|
`object_type` — 29 tools instead of hundreds, for a host that cannot build a retrieval pipeline
|
|
5
5
|
of its own.
|
|
6
6
|
|
|
7
|
-
It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher
|
|
7
|
+
It is [`@mcp-abap-adt/http`](https://www.npmjs.com/package/@mcp-abap-adt/http)'s launcher — the one in
|
|
8
|
+
[`@mcp-abap-adt/server-runtime`](https://www.npmjs.com/package/@mcp-abap-adt/server-runtime) — with the
|
|
8
9
|
compact tool set and nothing else: the same options, the same credentials, the same failures and
|
|
9
10
|
shutdown as `mcp-abap-adt-http`; only the tools differ. The 17 that change nothing alone are
|
|
10
11
|
[`@mcp-abap-adt/compact-http-ro`](https://www.npmjs.com/package/@mcp-abap-adt/compact-http-ro)
|
|
11
12
|
(`mcp-abap-adt-compact-http-ro`): the binary fixes the tool set (19.0.0). stdio is
|
|
12
13
|
[`@mcp-abap-adt/compact`](https://www.npmjs.com/package/@mcp-abap-adt/compact), the other HTTP
|
|
13
|
-
transport `@mcp-abap-adt/compact-sse`. It
|
|
14
|
-
`@mcp-abap-adt/
|
|
14
|
+
transport `@mcp-abap-adt/compact-sse`. It depends on no other server package
|
|
15
|
+
(not on `@mcp-abap-adt/http`, not on `@mcp-abap-adt/core`) and serves no destination and no login;
|
|
16
|
+
`@mcp-abap-adt/auth-broker` and `auth-stores` come with `server-runtime` but are never loaded.
|
|
15
17
|
|
|
16
18
|
## Running it
|
|
17
19
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* mcp-abap-adt-compact-http — the compact MCP ABAP ADT server over Streamable HTTP.
|
|
5
5
|
*
|
|
6
|
-
* `@mcp-abap-adt/http`'s launcher with the compact tool set, started in this
|
|
6
|
+
* `@mcp-abap-adt/server-runtime/http`'s launcher with the compact tool set, started in this
|
|
7
7
|
* process.
|
|
8
8
|
*/
|
|
9
9
|
const { main } = require('../dist/launcher.js');
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
* 29 tools instead of 370: one per operation, with the object in `object_type`,
|
|
6
6
|
* composed of `@mcp-abap-adt/compact-readonly-entries` and `@mcp-abap-adt/compact-modify`
|
|
7
7
|
* by `compactToolSetOf` of `@mcp-abap-adt/lib/tool-set`, served by
|
|
8
|
-
*
|
|
8
|
+
* the Streamable HTTP launcher of `@mcp-abap-adt/server-runtime` (the one
|
|
9
|
+
* `mcp-abap-adt-http` runs). stdio is `@mcp-abap-adt/compact`.
|
|
9
10
|
*/
|
|
10
11
|
export { COMPACT_HTTP_VERSION, compactToolSet, main } from './launcher';
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,8 @@ exports.main = exports.compactToolSet = exports.COMPACT_HTTP_VERSION = void 0;
|
|
|
8
8
|
* 29 tools instead of 370: one per operation, with the object in `object_type`,
|
|
9
9
|
* composed of `@mcp-abap-adt/compact-readonly-entries` and `@mcp-abap-adt/compact-modify`
|
|
10
10
|
* by `compactToolSetOf` of `@mcp-abap-adt/lib/tool-set`, served by
|
|
11
|
-
*
|
|
11
|
+
* the Streamable HTTP launcher of `@mcp-abap-adt/server-runtime` (the one
|
|
12
|
+
* `mcp-abap-adt-http` runs). stdio is `@mcp-abap-adt/compact`.
|
|
12
13
|
*/
|
|
13
14
|
var launcher_1 = require("./launcher");
|
|
14
15
|
Object.defineProperty(exports, "COMPACT_HTTP_VERSION", { enumerable: true, get: function () { return launcher_1.COMPACT_HTTP_VERSION; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACH,uCAAwE;AAA/D,gHAAA,oBAAoB,OAAA;AAAE,0GAAA,cAAc,OAAA;AAAE,gGAAA,IAAI,OAAA"}
|
package/dist/launcher.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { main as httpMain } from '@mcp-abap-adt/http/launcher';
|
|
2
1
|
import { type LauncherEdges } from '@mcp-abap-adt/lib/config';
|
|
3
2
|
import { type ToolSet } from '@mcp-abap-adt/lib/tool-set';
|
|
3
|
+
import { main as httpMain } from '@mcp-abap-adt/server-runtime/http';
|
|
4
4
|
/** The compact tool set: both halves, the debugger and background runs. */
|
|
5
5
|
export declare const compactToolSet: ToolSet;
|
|
6
6
|
/**
|
|
@@ -8,5 +8,7 @@ export declare const compactToolSet: ToolSet;
|
|
|
8
8
|
* file read: a bundler (the portable build) inlines it.
|
|
9
9
|
*/
|
|
10
10
|
export declare const COMPACT_HTTP_VERSION: string;
|
|
11
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
12
|
+
export declare const COMPACT_HTTP_PACKAGE: string;
|
|
11
13
|
export declare function main(edges?: LauncherEdges): ReturnType<typeof httpMain>;
|
|
12
14
|
//# 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":"AAYA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../src/launcher.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,aAAa,EAAgB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAErE,2EAA2E;AAC3E,eAAO,MAAM,cAAc,EAAE,OAG3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAE1B,CAAC;AAEV,gGAAgG;AAChG,eAAO,MAAM,oBAAoB,EAAE,MAE7B,CAAC;AAEP,wBAAgB,IAAI,CAClB,KAAK,GAAE,aAA8B,GACpC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAU7B"}
|
package/dist/launcher.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMPACT_HTTP_VERSION = exports.compactToolSet = void 0;
|
|
3
|
+
exports.COMPACT_HTTP_PACKAGE = exports.COMPACT_HTTP_VERSION = exports.compactToolSet = void 0;
|
|
4
4
|
exports.main = main;
|
|
5
5
|
/**
|
|
6
6
|
* `mcp-abap-adt-compact-http` — the compact tool set over Streamable HTTP.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
8
|
+
* The runtime's Streamable HTTP `main` with `compactToolSet` — the two halves' entry
|
|
9
9
|
* builders composed by lib's `compactToolSetOf` — and this command's name and
|
|
10
10
|
* version. Nothing else: http's table, and
|
|
11
|
-
* http's credentials, cancellation, failures and shutdown.
|
|
12
|
-
* http
|
|
13
|
-
* the
|
|
11
|
+
* http's credentials, cancellation, failures and shutdown. The launcher is
|
|
12
|
+
* `@mcp-abap-adt/server-runtime/http`'s; the package depends on lib, the runtime,
|
|
13
|
+
* background-runs-memory, responsible-rules and the two halves, never on another binary package.
|
|
14
14
|
*/
|
|
15
15
|
const compact_modify_1 = require("@mcp-abap-adt/compact-modify");
|
|
16
16
|
const compact_readonly_entries_1 = require("@mcp-abap-adt/compact-readonly-entries");
|
|
17
|
-
const launcher_1 = require("@mcp-abap-adt/http/launcher");
|
|
18
17
|
const config_1 = require("@mcp-abap-adt/lib/config");
|
|
19
18
|
const tool_set_1 = require("@mcp-abap-adt/lib/tool-set");
|
|
19
|
+
const http_1 = require("@mcp-abap-adt/server-runtime/http");
|
|
20
20
|
/** The compact tool set: both halves, the debugger and background runs. */
|
|
21
21
|
exports.compactToolSet = (0, tool_set_1.compactToolSetOf)({
|
|
22
22
|
readOnly: compact_readonly_entries_1.compactReadOnlyEntries,
|
|
@@ -27,11 +27,14 @@ exports.compactToolSet = (0, tool_set_1.compactToolSetOf)({
|
|
|
27
27
|
* file read: a bundler (the portable build) inlines it.
|
|
28
28
|
*/
|
|
29
29
|
exports.COMPACT_HTTP_VERSION = require('../package.json').version;
|
|
30
|
+
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
31
|
+
exports.COMPACT_HTTP_PACKAGE = require('../package.json').name;
|
|
30
32
|
function main(edges = (0, config_1.processEdges)()) {
|
|
31
|
-
return (0,
|
|
33
|
+
return (0, http_1.main)({
|
|
32
34
|
toolSet: exports.compactToolSet,
|
|
33
35
|
program: 'mcp-abap-adt-compact-http',
|
|
34
36
|
version: exports.COMPACT_HTTP_VERSION,
|
|
37
|
+
packageName: exports.COMPACT_HTTP_PACKAGE,
|
|
35
38
|
}, edges);
|
|
36
39
|
}
|
|
37
40
|
//# 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":";;;AAmCA,oBAYC;AA/CD;;;;;;;;;GASG;AACH,iEAAoE;AACpE,qFAAgF;AAChF,qDAA4E;AAC5E,yDAA4E;AAC5E,4DAAqE;AAErE,2EAA2E;AAC9D,QAAA,cAAc,GAAY,IAAA,2BAAgB,EAAC;IACtD,QAAQ,EAAE,iDAAsB;IAChC,MAAM,EAAE,qCAAoB;CAC7B,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,oBAAoB,GAC/B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,OAAO,CAAC;AAEV,gGAAgG;AACnF,QAAA,oBAAoB,GAC/B,OAAO,CAAC,iBAAiB,CAC1B,CAAC,IAAI,CAAC;AAEP,SAAgB,IAAI,CAClB,QAAuB,IAAA,qBAAY,GAAE;IAErC,OAAO,IAAA,WAAQ,EACb;QACE,OAAO,EAAE,sBAAc;QACvB,OAAO,EAAE,2BAA2B;QACpC,OAAO,EAAE,4BAAoB;QAC7B,WAAW,EAAE,4BAAoB;KAClC,EACD,KAAK,CACN,CAAC;AACJ,CAAC"}
|
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": "19.
|
|
4
|
+
"version": "19.2.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,10 +58,12 @@
|
|
|
58
58
|
"start": "node ./bin/mcp-abap-adt-compact-http.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",
|