@mcp-abap-adt/proxy 5.0.2 → 5.0.3
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/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [5.0.3] - 2026-09-27
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`help` and `version` as commands** for `mcp-abap-adt-proxy` and `mcp-abap-adt-proxy-mcp`: `help` / `--help` / `-h` and `version` / `--version` / `-v` — the same set in every CLI of the family, each answering before anything starts or connects. `mcp-abap-adt-proxy help` / `version` started the proxy and stopped on a missing `--btp`; the `-mcp` bin printed nothing.
|
|
15
|
+
|
|
10
16
|
## [5.0.2] - 2026-09-27
|
|
11
17
|
|
|
12
18
|
### Changed
|
|
@@ -17,8 +17,11 @@ const fs = require('fs');
|
|
|
17
17
|
function parseArgs() {
|
|
18
18
|
const args = process.argv.slice(2);
|
|
19
19
|
return {
|
|
20
|
-
help: args.includes('--help') || args.includes('-h'),
|
|
21
|
-
version:
|
|
20
|
+
help: args[0] === 'help' || args.includes('--help') || args.includes('-h'),
|
|
21
|
+
version:
|
|
22
|
+
args[0] === 'version' ||
|
|
23
|
+
args.includes('--version') ||
|
|
24
|
+
args.includes('-v'),
|
|
22
25
|
};
|
|
23
26
|
}
|
|
24
27
|
|
|
@@ -22,6 +22,10 @@ function parseArgs() {
|
|
|
22
22
|
version: false,
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
+
// `help` and `version` as the command, like every CLI in the family.
|
|
26
|
+
if (args[0] === 'help') result.help = true;
|
|
27
|
+
if (args[0] === 'version') result.version = true;
|
|
28
|
+
|
|
25
29
|
for (let i = 0; i < args.length; i++) {
|
|
26
30
|
const arg = args[i];
|
|
27
31
|
if (arg === '--help' || arg === '-h') {
|
package/package.json
CHANGED