@mcp-abap-adt/http 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 CHANGED
@@ -127,9 +127,9 @@ force for its next sends; what SAP answers to that credential reaches the caller
127
127
  hold ends at the `UNLOCK`, or with the instance (`SessionClose` of a long session, the idle bound,
128
128
  the server's stop), whose logoff releases the lock.
129
129
 
130
- **Batch mode.** `BatchBegin` (compact: `HandlerBatch` with `action: 'begin'`) holds state and
130
+ **Batch mode** (the compact binaries'). `HandlerBatch` with `action: 'begin'` holds state and
131
131
  answers the instance's `state_handle`: send it as the `state_handle` argument (or in
132
- `x-mcp-state-handle`) on every call of the batch, `BatchEnd` and `BatchAnswers` included. A call
132
+ `x-mcp-state-handle`) on every call of the batch, its `end` and `answers` included. A call
133
133
  without it reaches an instance where no batch is open. See
134
134
  [Batch Mode](https://github.com/fr0ster/mcp-abap-adt/blob/main/docs/user-guide/BATCH_MODE.md#over-streamable-http).
135
135
 
@@ -1 +1 @@
1
- {"version":3,"file":"httpVersion.d.ts","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,YAAY,EAAE,MAAyB,CAAC;AAErD,oHAAoH;AACpH,eAAO,MAAM,YAAY,EAAE,MAAsB,CAAC"}
1
+ {"version":3,"file":"httpVersion.d.ts","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,YAAY,EAAE,MAAyB,CAAC;AAErD,oHAAoH;AACpH,eAAO,MAAM,YAAY,EAAE,MAAsB,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HTTP_PACKAGE = exports.HTTP_VERSION = void 0;
4
4
  const node_fs_1 = require("node:fs");
5
5
  const node_path_1 = require("node:path");
6
+ const config_1 = require("@mcp-abap-adt/lib/config");
6
7
  /**
7
8
  * `@mcp-abap-adt/http`'s own version, read from its own manifest: the version
8
9
  * a transport reports in `serverInfo` and on `/health` when its caller passes
@@ -12,7 +13,7 @@ const node_path_1 = require("node:path");
12
13
  * `dist/` when built) and the package root when installed — in every layout it
13
14
  * is this package's `package.json`.
14
15
  */
15
- const manifest = JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, '..', 'package.json'), 'utf8'));
16
+ const manifest = (0, config_1.packageManifestOf)(JSON.parse((0, node_fs_1.readFileSync)((0, node_path_1.join)(__dirname, '..', 'package.json'), 'utf8')));
16
17
  exports.HTTP_VERSION = manifest.version;
17
18
  /** `@mcp-abap-adt/http`'s own package name, from the same manifest: what a second copy of lib asks to reinstall. */
18
19
  exports.HTTP_PACKAGE = manifest.name;
@@ -1 +1 @@
1
- {"version":3,"file":"httpVersion.js","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,yCAAiC;AAEjC;;;;;;;;GAQG;AACH,MAAM,QAAQ,GAAsC,IAAI,CAAC,KAAK,CAC5D,IAAA,sBAAY,EAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAC5D,CAAC;AAEW,QAAA,YAAY,GAAW,QAAQ,CAAC,OAAO,CAAC;AAErD,oHAAoH;AACvG,QAAA,YAAY,GAAW,QAAQ,CAAC,IAAI,CAAC"}
1
+ {"version":3,"file":"httpVersion.js","sourceRoot":"","sources":["../src/httpVersion.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AACvC,yCAAiC;AACjC,qDAA6D;AAE7D;;;;;;;;GAQG;AACH,MAAM,QAAQ,GAAG,IAAA,0BAAiB,EAChC,IAAI,CAAC,KAAK,CAAC,IAAA,sBAAY,EAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC,CACxE,CAAC;AAEW,QAAA,YAAY,GAAW,QAAQ,CAAC,OAAO,CAAC;AAErD,oHAAoH;AACvG,QAAA,YAAY,GAAW,QAAQ,CAAC,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/http",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt-http",
4
- "version": "23.0.2",
4
+ "version": "24.0.0",
5
5
  "description": "The Streamable HTTP transport of the MCP ABAP ADT server: an Express app serving the ADT tools of @mcp-abap-adt/lib over MCP Streamable HTTP, with DNS rebinding protection and TLS.",
6
6
  "license": "AGPL-3.0-only",
7
7
  "publishConfig": {
@@ -64,10 +64,10 @@
64
64
  "prepublishOnly": "npm run build"
65
65
  },
66
66
  "dependencies": {
67
- "@mcp-abap-adt/background-runs-memory": "^23.0.2",
68
- "@mcp-abap-adt/lib": "^23.0.2",
69
- "@mcp-abap-adt/responsible-rules": "^23.0.2",
70
- "@mcp-abap-adt/server-runtime": "^23.0.2"
67
+ "@mcp-abap-adt/background-runs-memory": "^24.0.0",
68
+ "@mcp-abap-adt/lib": "^24.0.0",
69
+ "@mcp-abap-adt/responsible-rules": "^24.0.0",
70
+ "@mcp-abap-adt/server-runtime": "^24.0.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/express": "*",