@mcp-abap-adt/compact-ro 23.0.2 → 24.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 +9 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/launcher.d.ts +1 -4
- package/dist/launcher.d.ts.map +1 -1
- package/dist/launcher.js +10 -5
- package/dist/launcher.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -8,19 +8,22 @@ It is [`@mcp-abap-adt/core`](https://www.npmjs.com/package/@mcp-abap-adt/core)'s
|
|
|
8
8
|
|
|
9
9
|
## The tools
|
|
10
10
|
|
|
11
|
-
- the **
|
|
12
|
-
`object_type`: `HandlerGet`, `
|
|
11
|
+
- the **16 compact tools that change nothing**, one per operation with the object in
|
|
12
|
+
`object_type`: `HandlerGet`, `HandlerGetData` (a data
|
|
13
|
+
tool: served only with `--enable-data-tools`, off by default),
|
|
13
14
|
`HandlerValidate`, `HandlerCheckRun`, `HandlerDeletionCheck`, the unit-test and CDS unit-test status and result, the
|
|
14
|
-
profiler list and view, the dump list and view, the service-binding type list and validation
|
|
15
|
+
profiler list and view, the dump list and view, the service-binding type list and validation;
|
|
16
|
+
and `HandlerSystem`, the system-wide reads by `action` (source search, object search,
|
|
17
|
+
where-used, package tree, transports, ATC findings and results)
|
|
15
18
|
(from [`@mcp-abap-adt/compact-readonly-entries`](https://www.npmjs.com/package/@mcp-abap-adt/compact-readonly-entries));
|
|
16
19
|
- the **leftover-session list** (`HandlerLeftoverSessionList`): the SAP sessions a killed server
|
|
17
20
|
process left open, only the caller's own. Their logoff (`HandlerLeftoverSessionLogoff`)
|
|
18
21
|
releases every lock a session holds, so it is `mcp-abap-adt-compact`'s;
|
|
22
|
+
- the **background-run tools** (`HandlerBackgroundRunGet`, `HandlerBackgroundRunList`, `HandlerBackgroundRunDiscard`): a long read runs in the background by default and is read, listed and cancelled by them;
|
|
19
23
|
- **`HandlerBatch`** (`action: 'begin' | 'end' | 'answers'`): batch mode.
|
|
20
24
|
|
|
21
|
-
|
|
22
|
-
is in the tool list at all, so a client cannot call one; nor the four debugger tools
|
|
23
|
-
background-run tools — those are `mcp-abap-adt-compact`'s ([`@mcp-abap-adt/compact`](https://www.npmjs.com/package/@mcp-abap-adt/compact)).
|
|
25
|
+
20 tools in all (one more, `HandlerGetData`, with `--enable-data-tools`) (listed against an on-premise system). No create, update, delete, activate, lock, unlock, unit-test run, trace schedule, profiler run or leftover-session logoff
|
|
26
|
+
is in the tool list at all, so a client cannot call one; nor the four debugger tools — those are `mcp-abap-adt-compact`'s ([`@mcp-abap-adt/compact`](https://www.npmjs.com/package/@mcp-abap-adt/compact)).
|
|
24
27
|
|
|
25
28
|
## Running it
|
|
26
29
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @mcp-abap-adt/compact-ro — the read-only compact ABAP ADT server over stdio,
|
|
3
|
-
* and its command `mcp-abap-adt-compact-ro`: the
|
|
3
|
+
* and its command `mcp-abap-adt-compact-ro`: the 16 compact tools that change
|
|
4
4
|
* nothing and the leftover-session list and logoff; no modify half, debugger,
|
|
5
5
|
* background-run or resume tool. Those are `mcp-abap-adt-compact`'s.
|
|
6
6
|
*/
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.readOnlyToolSet = exports.main = exports.COMPACT_RO_VERSION = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* @mcp-abap-adt/compact-ro — the read-only compact ABAP ADT server over stdio,
|
|
6
|
-
* and its command `mcp-abap-adt-compact-ro`: the
|
|
6
|
+
* and its command `mcp-abap-adt-compact-ro`: the 16 compact tools that change
|
|
7
7
|
* nothing and the leftover-session list and logoff; no modify half, debugger,
|
|
8
8
|
* background-run or resume tool. Those are `mcp-abap-adt-compact`'s.
|
|
9
9
|
*/
|
package/dist/launcher.d.ts
CHANGED
|
@@ -6,10 +6,7 @@ import { type StdioLauncherEdges } from '@mcp-abap-adt/server-runtime/stdio';
|
|
|
6
6
|
* background run, no resume.
|
|
7
7
|
*/
|
|
8
8
|
export declare const readOnlyToolSet: ToolSet;
|
|
9
|
-
/**
|
|
10
|
-
* THIS package's version, for `--version` and `initialize`. `require`, not a
|
|
11
|
-
* file read: a bundler (the portable build) inlines it.
|
|
12
|
-
*/
|
|
9
|
+
/** THIS package's version, for `--version` and `initialize`. */
|
|
13
10
|
export declare const COMPACT_RO_VERSION: string;
|
|
14
11
|
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
15
12
|
export declare const COMPACT_RO_PACKAGE: string;
|
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":"AAmBA,OAAO,EAEL,KAAK,OAAO,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,oCAAoC,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,OAG5B,CAAC;AAQH,gEAAgE;AAChE,eAAO,MAAM,kBAAkB,EAAE,MAAyB,CAAC;AAE3D,gGAAgG;AAChG,eAAO,MAAM,kBAAkB,EAAE,MAAsB,CAAC;AAExD,wBAAgB,IAAI,CAClB,KAAK,GAAE,kBAAmC,GACzC,OAAO,CAAC,IAAI,CAAC,CAUf"}
|
package/dist/launcher.js
CHANGED
|
@@ -25,14 +25,19 @@ const stdio_1 = require("@mcp-abap-adt/server-runtime/stdio");
|
|
|
25
25
|
* leftover-session list and logoff. No modify half, no debugger, no
|
|
26
26
|
* background run, no resume.
|
|
27
27
|
*/
|
|
28
|
-
exports.readOnlyToolSet = (0, tool_set_1.compactReadOnlyToolSetOf)(
|
|
28
|
+
exports.readOnlyToolSet = (0, tool_set_1.compactReadOnlyToolSetOf)({
|
|
29
|
+
readOnly: compact_readonly_entries_1.compactReadOnlyEntries,
|
|
30
|
+
data: compact_readonly_entries_1.compactDataEntries,
|
|
31
|
+
});
|
|
29
32
|
/**
|
|
30
|
-
* THIS package's
|
|
31
|
-
* file read: a bundler (the portable build) inlines it.
|
|
33
|
+
* THIS package's manifest, read by its shape (`packageManifestOf`). `require`,
|
|
34
|
+
* not a file read: a bundler (the portable build) inlines it.
|
|
32
35
|
*/
|
|
33
|
-
|
|
36
|
+
const MANIFEST = (0, config_1.packageManifestOf)(require('../package.json'));
|
|
37
|
+
/** THIS package's version, for `--version` and `initialize`. */
|
|
38
|
+
exports.COMPACT_RO_VERSION = MANIFEST.version;
|
|
34
39
|
/** THIS package's name, from the same manifest: what a second copy of lib asks to reinstall. */
|
|
35
|
-
exports.COMPACT_RO_PACKAGE =
|
|
40
|
+
exports.COMPACT_RO_PACKAGE = MANIFEST.name;
|
|
36
41
|
function main(edges = (0, config_1.processEdges)()) {
|
|
37
42
|
return (0, stdio_1.main)({
|
|
38
43
|
toolSet: exports.readOnlyToolSet,
|
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":";;;AAkDA,oBAYC;AA9DD;;;;;;;;;;;;;GAaG;AACH,qFAGgD;AAChD,qDAA2E;AAC3E,yDAGoC;AACpC,8DAG4C;AAE5C;;;;GAIG;AACU,QAAA,eAAe,GAAY,IAAA,mCAAwB,EAAC;IAC/D,QAAQ,EAAE,iDAAsB;IAChC,IAAI,EAAE,6CAAkB;CACzB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,QAAQ,GAAG,IAAA,0BAAiB,EAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAE/D,gEAAgE;AACnD,QAAA,kBAAkB,GAAW,QAAQ,CAAC,OAAO,CAAC;AAE3D,gGAAgG;AACnF,QAAA,kBAAkB,GAAW,QAAQ,CAAC,IAAI,CAAC;AAExD,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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/compact-ro",
|
|
3
3
|
"mcpName": "io.github.fr0ster/mcp-abap-adt-compact-ro",
|
|
4
|
-
"version": "
|
|
5
|
-
"description": "The read-only compact MCP server for SAP ABAP ADT over stdio: the
|
|
4
|
+
"version": "24.0.0",
|
|
5
|
+
"description": "The read-only compact MCP server for SAP ABAP ADT over stdio: the 16 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 library at run time).",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"start": "node ./bin/mcp-abap-adt-compact-ro.js"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@mcp-abap-adt/background-runs-memory": "^
|
|
62
|
-
"@mcp-abap-adt/compact-readonly-entries": "^
|
|
63
|
-
"@mcp-abap-adt/lib": "^
|
|
64
|
-
"@mcp-abap-adt/responsible-rules": "^
|
|
65
|
-
"@mcp-abap-adt/server-runtime": "^
|
|
61
|
+
"@mcp-abap-adt/background-runs-memory": "^24.0.0",
|
|
62
|
+
"@mcp-abap-adt/compact-readonly-entries": "^24.0.0",
|
|
63
|
+
"@mcp-abap-adt/lib": "^24.0.0",
|
|
64
|
+
"@mcp-abap-adt/responsible-rules": "^24.0.0",
|
|
65
|
+
"@mcp-abap-adt/server-runtime": "^24.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"typescript": "^6.0.2",
|