@mcp-abap-adt/calm-server 0.5.0 → 0.7.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/CHANGELOG.md +86 -0
- package/README.md +1 -1
- package/dist/registry/types.d.ts +1 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/server/BaseCalmMcpServer.d.ts +1 -1
- package/dist/server/BaseCalmMcpServer.d.ts.map +1 -1
- package/dist/server/auth/buildBroker.d.ts +1 -1
- package/dist/server/auth/buildBroker.d.ts.map +1 -1
- package/dist/server/auth/buildBroker.js +6 -1
- package/dist/server/auth/buildBroker.js.map +1 -1
- package/dist/server/auth/legacyEnvShim.d.ts +1 -1
- package/dist/server/auth/legacyEnvShim.d.ts.map +1 -1
- package/dist/server/buildClient.d.ts +1 -1
- package/dist/server/buildClient.d.ts.map +1 -1
- package/dist/server/connection/AbstractCalmConnection.d.ts +2 -1
- package/dist/server/connection/AbstractCalmConnection.d.ts.map +1 -1
- package/dist/server/connection/OAuth2CalmConnection.d.ts +1 -1
- package/dist/server/connection/OAuth2CalmConnection.d.ts.map +1 -1
- package/dist/server/connection/XsuaaRefresher.d.ts +1 -1
- package/dist/server/connection/XsuaaRefresher.d.ts.map +1 -1
- package/dist/server/connection/createCalmConnection.d.ts +3 -1
- package/dist/server/connection/createCalmConnection.d.ts.map +1 -1
- package/dist/server/connection/createCalmConnection.js.map +1 -1
- package/dist/server/connection/serviceRoutes.d.ts +1 -1
- package/dist/server/connection/serviceRoutes.d.ts.map +1 -1
- package/dist/server/stderrLogger.d.ts +1 -1
- package/dist/server/stderrLogger.d.ts.map +1 -1
- package/dist/tools/logs/getLogs.d.ts +3 -0
- package/dist/tools/logs/getLogs.d.ts.map +1 -1
- package/dist/tools/logs/getLogs.js +15 -0
- package/dist/tools/logs/getLogs.js.map +1 -1
- package/package.json +18 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.0 — 2026-09-24
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **The auth pipeline moves to 2.x, and the deleted facade is gone from this tree
|
|
8
|
+
entirely.** `auth-broker@^2.2.0` (was `^1.0.5`), `auth-providers@^2.2.1` (was
|
|
9
|
+
`^1.0.5`), `auth-stores@^1.2.0` (was `^1.0.4`), in `peerDependencies` and
|
|
10
|
+
`devDependencies` both. `npm ls @mcp-abap-adt/interfaces` now prints `(empty)`
|
|
11
|
+
where it printed three copies in 0.6.0 and two after `calm-client@0.7.0`.
|
|
12
|
+
|
|
13
|
+
- **`browser: 'none'` became `authorization: browserCallbackStrategy({ browser: 'none' })`.**
|
|
14
|
+
`auth-providers` 2.x took the flag off the provider and put it on an injected
|
|
15
|
+
`IAuthorizationStrategy` — **with the same meaning**, which is why this is a
|
|
16
|
+
mechanical change and not a decision about how login works: `'none'` and
|
|
17
|
+
`'headless'` print the authorization URL and wait for the redirect on the local
|
|
18
|
+
callback port; `'auto'`, `'system'`, `'chrome'` and the rest open a browser. This
|
|
19
|
+
server speaks over stdio and has no display, so it prints.
|
|
20
|
+
|
|
21
|
+
Read out of the 1.x implementation rather than assumed: `launchBrowser` in
|
|
22
|
+
`auth/browserAuth.js` answers `'none' | 'headless'` by announcing the URL, the
|
|
23
|
+
callback port and how to paste a code from another machine — and returns without
|
|
24
|
+
opening anything. The 2.x `CallbackStrategyOptions` documents the same set.
|
|
25
|
+
|
|
26
|
+
- **The unit test follows the behaviour rather than the field.** It asserted
|
|
27
|
+
`browser: 'none'` on the provider; that assertion would have vanished with the
|
|
28
|
+
field. It now pins both halves — the strategy is built with `{ browser: 'none' }`
|
|
29
|
+
and the provider receives exactly that strategy — under a name that says what is
|
|
30
|
+
being protected: *authorization_code prints the URL and opens nothing*.
|
|
31
|
+
|
|
32
|
+
## 0.6.0 — 2026-09-24
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **The contracts come from the packages that declare them, not from the deleted
|
|
37
|
+
facade.** `@mcp-abap-adt/interfaces@^7.1.0` is gone from `peerDependencies` and
|
|
38
|
+
`devDependencies`; in its place `@mcp-abap-adt/interfaces-calm@^1.0.1`,
|
|
39
|
+
`-auth@^1.2.0`, `-auth-sap@^1.0.0` and `-utils@^1.1.0`, with
|
|
40
|
+
`@mcp-abap-adt/logger@^0.4.0`. 12 files repointed.
|
|
41
|
+
|
|
42
|
+
**The peer range is the part that reaches a consumer.** It told everyone
|
|
43
|
+
installing this server to add `@mcp-abap-adt/interfaces`, and that package is
|
|
44
|
+
deleted as of its 52.0.0 — npm serves 51.0.0 to whoever is pinned to it and
|
|
45
|
+
nothing further ships. The README's install line said the same and now names
|
|
46
|
+
the four packages.
|
|
47
|
+
|
|
48
|
+
- **`@mcp-abap-adt/calm-client@^0.7.0`** in `peerDependencies` and
|
|
49
|
+
`devDependencies`. 0.7.0 is the release that took that package off the facade —
|
|
50
|
+
its own peer range used to name it, so pointing at anything earlier would have
|
|
51
|
+
handed a consumer the same instruction one step deeper.
|
|
52
|
+
|
|
53
|
+
- **The rest of the auth pipeline stays where it was**, deliberately:
|
|
54
|
+
`auth-broker@^1.0.5`, `auth-providers@^1.0.5`, `auth-stores@^1.0.4`.
|
|
55
|
+
|
|
56
|
+
Those two still carry `@mcp-abap-adt/interfaces` transitively, so this tree
|
|
57
|
+
holds two copies of the deleted facade and will until they are upgraded. That
|
|
58
|
+
upgrade is **not** a range bump: `auth-providers` 2.x replaced
|
|
59
|
+
`browser: 'none'` with an injected `IAuthorizationStrategy`, so
|
|
60
|
+
`src/server/auth/buildBroker.ts` has to choose between `manualPasteStrategy`,
|
|
61
|
+
`externalCodeStrategy` and `browserCallbackStrategy` — a decision about how a
|
|
62
|
+
human logs in to this server, not a mechanical repoint. It is left for its own
|
|
63
|
+
change, with the compiler error recorded rather than guessed at:
|
|
64
|
+
`TS2353: 'browser' does not exist in type 'AuthorizationCodeProviderConfig'`.
|
|
65
|
+
|
|
66
|
+
## 0.5.1 — 2026-06-03
|
|
67
|
+
|
|
68
|
+
### Added
|
|
69
|
+
|
|
70
|
+
- **`calm_logs_get` forwards `category`, `version` and `format`.** The live
|
|
71
|
+
Cloud ALM Logs query supports a domain-specific `category` filter (e.g.
|
|
72
|
+
`category=ABAP Runtime`) plus `version`/`format` knobs. The tool now
|
|
73
|
+
exposes all three in its input schema and forwards them to the client, so
|
|
74
|
+
the full live query
|
|
75
|
+
`/calm-logs/v1/logs?version=V1&period=60M&provider=…&serviceId=…&category=ABAP%20Runtime&format=protobuf-json`
|
|
76
|
+
is expressible. `format` is forwarded as-is rather than assumed inert —
|
|
77
|
+
on the wire the Logs API has so far always answered `application/x-protobuf`
|
|
78
|
+
regardless, and the tool still decodes that into OTLP JSON.
|
|
79
|
+
- **`scripts/probe-logs.mjs`** — a direct (client-level) probe that runs the
|
|
80
|
+
full query plus `format`/`category`/`version` variants against a live
|
|
81
|
+
tenant and reports the raw body type/size, so their wire effect can be
|
|
82
|
+
observed instead of guessed.
|
|
83
|
+
|
|
84
|
+
### Changed
|
|
85
|
+
|
|
86
|
+
- Realign with `@mcp-abap-adt/calm-client@^0.5.0` (adds the `category`
|
|
87
|
+
param to `IGetLogsParams` / `CalmLog.get()`).
|
|
88
|
+
|
|
3
89
|
## 0.5.0 — 2026-05-26
|
|
4
90
|
|
|
5
91
|
### Added
|
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ npm install @mcp-abap-adt/calm-server
|
|
|
38
38
|
```bash
|
|
39
39
|
npm install @mcp-abap-adt/calm-server
|
|
40
40
|
# peers:
|
|
41
|
-
npm install @mcp-abap-adt/calm-client @mcp-abap-adt/interfaces @modelcontextprotocol/sdk
|
|
41
|
+
npm install @mcp-abap-adt/calm-client @mcp-abap-adt/interfaces-calm @mcp-abap-adt/interfaces-auth @mcp-abap-adt/interfaces-auth-sap @mcp-abap-adt/interfaces-utils @modelcontextprotocol/sdk
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Standalone: running the server
|
package/dist/registry/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/registry/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/registry/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE9D;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH;;;;;;;;;GASG;AAEH,MAAM,MAAM,eAAe,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,GAAG,OAAO,IAAI,CAC5D,OAAO,EAAE,mBAAmB,EAC5B,IAAI,EAAE,KAAK,KACR,OAAO,CAAC,OAAO,CAAC,CAAC;AAEtB;;;GAGG;AAEH,MAAM,WAAW,iBAAiB,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,GAAG,OAAO;IAC/D,cAAc,EAAE,mBAAmB,CAAC;IACpC,OAAO,EAAE,eAAe,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;CAC1C;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,IAAI,MAAM,CAAC;IAClB,WAAW,IAAI,SAAS,iBAAiB,EAAE,CAAC;CAC7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CalmClient } from '@mcp-abap-adt/calm-client';
|
|
2
|
-
import type { ILogger } from '@mcp-abap-adt/interfaces';
|
|
2
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
3
3
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
4
4
|
import { CalmToolRegistry } from '../registry/CalmToolRegistry';
|
|
5
5
|
import type { ICalmHandlerContext, ICalmHandlerGroup } from '../registry/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCalmMcpServer.d.ts","sourceRoot":"","sources":["../../src/server/BaseCalmMcpServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BaseCalmMcpServer.d.ts","sourceRoot":"","sources":["../../src/server/BaseCalmMcpServer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IACpC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IACpC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;gBAElC,OAAO,EAAE,yBAAyB;IAW9C;;;;OAIG;IACH,SAAS,CAAC,YAAY,IAAI,mBAAmB;IAI7C,+CAA+C;IAC/C,mBAAmB,IAAI,MAAM,EAAE;CAGhC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AuthBroker } from '@mcp-abap-adt/auth-broker';
|
|
2
|
-
import type { ILogger } from '@mcp-abap-adt/interfaces';
|
|
2
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
3
3
|
import type { ICalmServerConfig } from '../config';
|
|
4
4
|
/**
|
|
5
5
|
* Assemble an `AuthBroker` from server config.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildBroker.d.ts","sourceRoot":"","sources":["../../../src/server/auth/buildBroker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"buildBroker.d.ts","sourceRoot":"","sources":["../../../src/server/auth/buildBroker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AASvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAGnD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,iBAAiB,EACzB,MAAM,CAAC,EAAE,OAAO,GACf,OAAO,CAAC,UAAU,CAAC,CAkDrB"}
|
|
@@ -41,7 +41,12 @@ async function buildAuthBroker(config, logger) {
|
|
|
41
41
|
uaaUrl,
|
|
42
42
|
clientId: uaaClientId,
|
|
43
43
|
clientSecret: uaaClientSecret,
|
|
44
|
-
browser: 'none',
|
|
44
|
+
// `browser: 'none'` moved into the strategy in auth-providers 2.x, with
|
|
45
|
+
// the same meaning: print the authorization URL, open nothing, and wait
|
|
46
|
+
// for the redirect on the local callback port. An MCP server talks over
|
|
47
|
+
// stdio and has no display to open — the operator follows the printed
|
|
48
|
+
// URL from wherever they are.
|
|
49
|
+
authorization: (0, auth_providers_1.browserCallbackStrategy)({ browser: 'none' }),
|
|
45
50
|
logger,
|
|
46
51
|
})
|
|
47
52
|
: new auth_providers_1.ClientCredentialsProvider({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildBroker.js","sourceRoot":"","sources":["../../../src/server/auth/buildBroker.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"buildBroker.js","sourceRoot":"","sources":["../../../src/server/auth/buildBroker.ts"],"names":[],"mappings":";;AA8BA,0CAqDC;AAnFD,2DAAuD;AACvD,iEAIsC;AACtC,2DAA8D;AAK9D,mDAAuD;AAEvD;;;;;;;;;;;;;;;;GAgBG;AACI,KAAK,UAAU,eAAe,CACnC,MAAyB,EACzB,MAAgB;IAEhB,MAAM,SAAS,GAAG,MAAM,IAAA,oCAAoB,EAAC,MAAM,CAAC,CAAC;IACrD,MAAM,YAAY,GAChB,SAAS,IAAI,IAAI,+BAAiB,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAE5E,mEAAmE;IACnE,sEAAsE;IACtE,MAAM,WAAW,GAAG,MAAM,YAAY,CAAC,sBAAsB,CAC3D,MAAM,CAAC,WAAW,CACnB,CAAC;IACF,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,EAAE,MAAM,CAAC;IACpD,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,WAAW,EAAE,WAAW,CAAC;IACnE,MAAM,eAAe,GACnB,MAAM,CAAC,eAAe,IAAI,WAAW,EAAE,eAAe,CAAC;IAEzD,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,CAAC,eAAe,EAAE,CAAC;QAChD,MAAM,IAAI,KAAK,CACb,uDAAuD,MAAM,CAAC,WAAW,KAAK;YAC5E,gFAAgF;YAChF,2DAA2D,MAAM,CAAC,WAAW,2BAA2B,CAC3G,CAAC;IACJ,CAAC;IAED,MAAM,aAAa,GACjB,MAAM,CAAC,QAAQ,KAAK,oBAAoB;QACtC,CAAC,CAAC,IAAI,0CAAyB,CAAC;YAC5B,MAAM;YACN,QAAQ,EAAE,WAAW;YACrB,YAAY,EAAE,eAAe;YAC7B,wEAAwE;YACxE,wEAAwE;YACxE,wEAAwE;YACxE,sEAAsE;YACtE,8BAA8B;YAC9B,aAAa,EAAE,IAAA,wCAAuB,EAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;YAC3D,MAAM;SACP,CAAC;QACJ,CAAC,CAAC,IAAI,0CAAyB,CAAC;YAC5B,MAAM;YACN,QAAQ,EAAE,WAAW;YACrB,YAAY,EAAE,eAAe;SAC9B,CAAC,CAAC;IAET,MAAM,gBAAgB,GAAG,MAAM,CAAC,QAAQ,KAAK,oBAAoB,CAAC;IAElE,OAAO,IAAI,wBAAU,CACnB,EAAE,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,EACjD,MAAM,EACN,MAAM,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ISessionStore } from '@mcp-abap-adt/interfaces';
|
|
1
|
+
import type { ISessionStore } from '@mcp-abap-adt/interfaces-auth-sap';
|
|
2
2
|
import type { ICalmServerConfig } from '../config';
|
|
3
3
|
/**
|
|
4
4
|
* If the user's `.env` still inlines `CALM_UAA_URL`/`CALM_UAA_CLIENT_ID`/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacyEnvShim.d.ts","sourceRoot":"","sources":["../../../src/server/auth/legacyEnvShim.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"legacyEnvShim.d.ts","sourceRoot":"","sources":["../../../src/server/auth/legacyEnvShim.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD;;;;;GAKG;AACH,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,iBAAiB,GACxB,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAW/B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalmClient } from '@mcp-abap-adt/calm-client';
|
|
2
|
-
import type { ILogger } from '@mcp-abap-adt/interfaces';
|
|
2
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
3
3
|
import type { ICalmServerConfig } from './config';
|
|
4
4
|
export interface BuildCalmClientOptions {
|
|
5
5
|
logger?: ILogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildClient.d.ts","sourceRoot":"","sources":["../../src/server/buildClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"buildClient.d.ts","sourceRoot":"","sources":["../../src/server/buildClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,iBAAiB,EACzB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,UAAU,CAAC,CAcrB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { CalmService, ICalmConnection, ICalmRequestOptions, ICalmResponse
|
|
1
|
+
import type { CalmService, ICalmConnection, ICalmRequestOptions, ICalmResponse } from '@mcp-abap-adt/interfaces-calm';
|
|
2
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
2
3
|
import { type CalmServiceRouteMap } from './serviceRoutes';
|
|
3
4
|
export interface IAbstractCalmConnectionOptions {
|
|
4
5
|
baseUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractCalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/AbstractCalmConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,aAAa,
|
|
1
|
+
{"version":3,"file":"AbstractCalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/AbstractCalmConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,aAAa,EACd,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuBD;;;;GAIG;AACH,8BAAsB,sBAAuB,YAAW,eAAe;IACrE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACnC,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAC1C,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1D,SAAS,CAAC,QAAQ,CAAC,aAAa,EAAE,mBAAmB,CAAC;IACtD,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;gBAExB,OAAO,EAAE,8BAA8B;IAcnD,mDAAmD;IACnD,SAAS,CAAC,QAAQ,CAAC,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhE;;;OAGG;cACa,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAI1D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAExB,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC;IAI7B,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIpD,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EACxC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IA+B/B,OAAO,CAAC,OAAO;IAkBf,OAAO,CAAC,cAAc;YAQR,OAAO;CAwDtB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces';
|
|
1
|
+
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces-auth';
|
|
2
2
|
import { AbstractCalmConnection, type IAbstractCalmConnectionOptions } from './AbstractCalmConnection';
|
|
3
3
|
export interface IOAuth2CalmConnectionOptions extends IAbstractCalmConnectionOptions {
|
|
4
4
|
tokenRefresher: ITokenRefresher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OAuth2CalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/OAuth2CalmConnection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"OAuth2CalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/OAuth2CalmConnection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EACL,sBAAsB,EACtB,KAAK,8BAA8B,EACpC,MAAM,0BAA0B,CAAC;AAElC,MAAM,WAAW,4BACf,SAAQ,8BAA8B;IACtC,cAAc,EAAE,eAAe,CAAC;CACjC;AAED,qBAAa,oBAAqB,SAAQ,sBAAsB;IAC9D,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAkB;gBACrC,OAAO,EAAE,4BAA4B;IAK3C,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;cAId,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;cAK7C,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAOhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces';
|
|
1
|
+
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces-auth';
|
|
2
2
|
/**
|
|
3
3
|
* Minimal XSUAA `client_credentials` refresher — sufficient for
|
|
4
4
|
* standalone-mode servers without a shared auth-broker. Caches the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XsuaaRefresher.d.ts","sourceRoot":"","sources":["../../../src/server/connection/XsuaaRefresher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XsuaaRefresher.d.ts","sourceRoot":"","sources":["../../../src/server/connection/XsuaaRefresher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAErE;;;;;;GAMG;AACH,qBAAa,cAAe,YAAW,eAAe;IAIlD,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAL/B,OAAO,CAAC,MAAM,CAAC,CAAS;gBAGL,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM;IAGjC,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAK3B,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;CA2BtC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ITokenRefresher } from '@mcp-abap-adt/interfaces-auth';
|
|
2
|
+
import type { ICalmConnection } from '@mcp-abap-adt/interfaces-calm';
|
|
3
|
+
import type { ILogger } from '@mcp-abap-adt/interfaces-utils';
|
|
2
4
|
import type { ICalmServerConfig } from '../config';
|
|
3
5
|
export interface ICreateCalmConnectionOverrides {
|
|
4
6
|
/** Bring-your-own refresher; overrides the default XsuaaRefresher. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/createCalmConnection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"createCalmConnection.d.ts","sourceRoot":"","sources":["../../../src/server/connection/createCalmConnection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAKnD,MAAM,WAAW,8BAA8B;IAC7C,sEAAsE;IACtE,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,iBAAiB,EACzB,SAAS,GAAE,8BAAmC,GAC7C,eAAe,CA2BjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCalmConnection.js","sourceRoot":"","sources":["../../../src/server/connection/createCalmConnection.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"createCalmConnection.js","sourceRoot":"","sources":["../../../src/server/connection/createCalmConnection.ts"],"names":[],"mappings":";;AAkBA,oDA8BC;AA5CD,iEAA8D;AAC9D,mEAAgE;AAChE,qDAAkD;AAYlD,SAAgB,oBAAoB,CAClC,MAAyB,EACzB,YAA4C,EAAE;IAE9C,IAAI,MAAM,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,cAAc,GAClB,SAAS,CAAC,cAAc;YACxB,IAAI,+BAAc,CAChB,MAAM,CAAC,MAAgB,EACvB,MAAM,CAAC,WAAqB,EAC5B,MAAM,CAAC,eAAyB,CACjC,CAAC;QACJ,OAAO,IAAI,2CAAoB,CAAC;YAC9B,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,cAAc;YACd,cAAc,EAAE,MAAM,CAAC,SAAS;YAChC,MAAM,EAAE,SAAS,CAAC,MAAM;SACzB,CAAC,CAAC;IACL,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAC9B,OAAO,IAAI,6CAAqB,CAAC;YAC/B,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,MAAM,EAAE,MAAM,CAAC,MAAgB;YAC/B,cAAc,EAAE,MAAM,CAAC,SAAS;YAChC,MAAM,EAAE,SAAS,CAAC,MAAM;SACzB,CAAC,CAAC;IACL,CAAC;IACD,MAAM,IAAI,KAAK,CACb,0BAA2B,MAA2B,CAAC,IAAI,EAAE,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceRoutes.d.ts","sourceRoot":"","sources":["../../../src/server/connection/serviceRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"serviceRoutes.d.ts","sourceRoot":"","sources":["../../../src/server/connection/serviceRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,2BAA2B,EAAE,mBAUzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stderrLogger.d.ts","sourceRoot":"","sources":["../../src/server/stderrLogger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"stderrLogger.d.ts","sourceRoot":"","sources":["../../src/server/stderrLogger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAE9D;;;;;;;;;;;;;;GAcG;AACH,qBAAa,YAAa,YAAW,OAAO;IAC1C,OAAO,CAAC,KAAK;IAQb,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI;IAI3C,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI;IAI3C,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI;IAI5C,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI;CAI7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLogs.d.ts","sourceRoot":"","sources":["../../../src/tools/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AAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AA+GD,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAGvE,CAAC"}
|
|
@@ -15,6 +15,18 @@ const definition = {
|
|
|
15
15
|
type: 'string',
|
|
16
16
|
description: 'Service id filter, emitted as a plain `serviceId` query param. The live Logs API requires it alongside `provider` and rejects a request without it (HTTP 428).',
|
|
17
17
|
},
|
|
18
|
+
category: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
description: 'Domain-specific log-category filter, emitted as a plain `category` query param (e.g. "ABAP Runtime"). The live Logs API owns the set of valid category names; forwarded verbatim.',
|
|
21
|
+
},
|
|
22
|
+
version: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'Logs API query version (e.g. "V1"), forwarded as a `version` query param. Only set if the tenant expects a specific version; omit to use the API default.',
|
|
25
|
+
},
|
|
26
|
+
format: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: 'Forwarded as a `format` query param (e.g. "protobuf-json"). NOTE: on the wire the Logs API has so far always responded `application/x-protobuf` regardless of this value, and the tool decodes that into OTLP JSON anyway — pass it only to probe/override server behaviour, not to change the decoded output shape.',
|
|
29
|
+
},
|
|
18
30
|
from: { type: 'string', description: 'ISO timestamp, inclusive start.' },
|
|
19
31
|
to: { type: 'string', description: 'ISO timestamp, exclusive end.' },
|
|
20
32
|
period: {
|
|
@@ -50,6 +62,9 @@ const handler = async (ctx, args) => {
|
|
|
50
62
|
const body = await ctx.calm.getLogs().get({
|
|
51
63
|
provider: args.provider,
|
|
52
64
|
serviceId: args.serviceId,
|
|
65
|
+
category: args.category,
|
|
66
|
+
version: args.version,
|
|
67
|
+
format: args.format,
|
|
53
68
|
from: args.from,
|
|
54
69
|
to: args.to,
|
|
55
70
|
period: args.period,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLogs.js","sourceRoot":"","sources":["../../../src/tools/logs/getLogs.ts"],"names":[],"mappings":";;;AAK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C,KAAK,CAAC,EAAE,CAAC;IAC5C,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,2BAAmB,EAAC,GAAG,CAAC,CAAC;IACjC,CAAC;AACH,CAAC,CAAC;AAEF,SAAS,OAAO,CAAC,IAAa;IAC5B,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IACvC,IAAI,IAAI,YAAY,UAAU;QAAE,OAAO,IAAI,CAAC;IAC5C,OAAO,SAAS,CAAC;AACnB,CAAC;AAEY,QAAA,WAAW,GAAoD;IAC1E,cAAc,EAAE,UAAU;IAC1B,OAAO;CACR,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/calm-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "MCP server + reusable tool primitives for SAP Cloud ALM, backed by @mcp-abap-adt/calm-client.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -67,11 +67,14 @@
|
|
|
67
67
|
"tools"
|
|
68
68
|
],
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@mcp-abap-adt/auth-broker": "^
|
|
71
|
-
"@mcp-abap-adt/auth-providers": "^
|
|
72
|
-
"@mcp-abap-adt/auth-stores": "^1.0
|
|
73
|
-
"@mcp-abap-adt/calm-client": "^0.
|
|
74
|
-
"@mcp-abap-adt/interfaces": "^
|
|
70
|
+
"@mcp-abap-adt/auth-broker": "^2.2.0",
|
|
71
|
+
"@mcp-abap-adt/auth-providers": "^2.2.1",
|
|
72
|
+
"@mcp-abap-adt/auth-stores": "^1.2.0",
|
|
73
|
+
"@mcp-abap-adt/calm-client": "^0.7.0",
|
|
74
|
+
"@mcp-abap-adt/interfaces-auth": "^1.2.0",
|
|
75
|
+
"@mcp-abap-adt/interfaces-auth-sap": "^1.0.0",
|
|
76
|
+
"@mcp-abap-adt/interfaces-calm": "^1.0.1",
|
|
77
|
+
"@mcp-abap-adt/interfaces-utils": "^1.1.0",
|
|
75
78
|
"@modelcontextprotocol/sdk": "^1.0.0"
|
|
76
79
|
},
|
|
77
80
|
"dependencies": {
|
|
@@ -80,12 +83,15 @@
|
|
|
80
83
|
},
|
|
81
84
|
"devDependencies": {
|
|
82
85
|
"@biomejs/biome": "^2.4.4",
|
|
83
|
-
"@mcp-abap-adt/auth-broker": "^
|
|
84
|
-
"@mcp-abap-adt/auth-providers": "^
|
|
85
|
-
"@mcp-abap-adt/auth-stores": "^1.0
|
|
86
|
-
"@mcp-abap-adt/calm-client": "^0.
|
|
87
|
-
"@mcp-abap-adt/interfaces": "^
|
|
88
|
-
"@mcp-abap-adt/
|
|
86
|
+
"@mcp-abap-adt/auth-broker": "^2.2.0",
|
|
87
|
+
"@mcp-abap-adt/auth-providers": "^2.2.1",
|
|
88
|
+
"@mcp-abap-adt/auth-stores": "^1.2.0",
|
|
89
|
+
"@mcp-abap-adt/calm-client": "^0.7.0",
|
|
90
|
+
"@mcp-abap-adt/interfaces-auth": "^1.2.0",
|
|
91
|
+
"@mcp-abap-adt/interfaces-auth-sap": "^1.0.0",
|
|
92
|
+
"@mcp-abap-adt/interfaces-calm": "^1.0.1",
|
|
93
|
+
"@mcp-abap-adt/interfaces-utils": "^1.1.0",
|
|
94
|
+
"@mcp-abap-adt/logger": "^0.4.0",
|
|
89
95
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
90
96
|
"@types/jest": "^30.0.0",
|
|
91
97
|
"@types/node": "^24.2.1",
|