@mcp-abap-adt/interfaces-adt 30.2.0 → 31.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/CHANGELOG.md CHANGED
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [31.0.0] - 2026-11-22
11
+
12
+ `ISystemMessages` loses the member SAP never served. A major, since a member
13
+ and a type parameter leave an exported interface.
14
+
15
+ ### Removed
16
+
17
+ - **`ISystemMessages.getById` and the `TMessage` type parameter.** SAP's
18
+ handler serves the system messages collection only:
19
+ `CL_STSK_ADT_RES_APP` routes `/sap/bc/adt/runtime/systemmessages` to
20
+ `CL_STSK_ADT_RES_SYSTEM_MESSAGE->get_feed` and registers no per-message
21
+ resource, the same on premise and in the cloud (read 2026-11-22). A call to
22
+ `/systemmessages/<id>` therefore never answered a message.
23
+ `ISystemMessages<TList, TMessage>` is now `ISystemMessages<TList>`.
24
+
25
+ ### Migration
26
+
27
+ - **Types.** Replace `ISystemMessages<TList, TMessage>` with
28
+ `ISystemMessages<TList>`.
29
+ - **Implementers.** Remove `getById` from every class or object literal typed
30
+ as `ISystemMessages`.
31
+ - **Callers of `getById`.** Call `list()`, check its response as any other
32
+ `IAdtResponse`, and find the message in the implementation's result by its
33
+ id. In SAP's feed the entry's id reads `uuid:<id>`. The feed holds only the
34
+ messages the system is showing now, so a message that has expired is absent:
35
+ treat "not found" as an answer, not an error.
36
+
10
37
  ## [30.2.0] - 2026-11-21
11
38
 
12
39
  The abapGit contracts: key-based members and the facts forms of `link` and
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # @mcp-abap-adt/interfaces-adt
2
+ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
2
3
 
3
4
  ADT contracts: object operations, runtime analysis, execution, feeds and service bindings. The ABAP connection they are sent through is [`interfaces-adt-connection`](../interfaces-adt-connection).
4
5
 
@@ -48,7 +49,7 @@ npm install @mcp-abap-adt/interfaces-adt
48
49
  | directory | files | what |
49
50
  |---|---|---|
50
51
  | `adt/` | 44 | the object contracts: capability atoms, the object types, the ADT type tables and their entry shape, `IAdtResponse`, `IAdtError`, the error codes, the transport request's object list |
51
- | `runtime/` | 14 | runtime analysis: the debuggers (`IAbapDebugger`, `IAmdpDebugger`) and `IMemorySnapshots`, `IProfiler`, the trace contracts (`ITraceListing`/`ITraceReading`, `ICrossTrace`, `ISt05Trace`), `IApplicationLog`, `IAtcLog` and the ATC run (`IAtcRunOptions`, `IAtcFindings`) and its results (`IAtcResultsReadable`), `IDdicActivation`, `IGatewayErrorLog`, `IRuntimeDumps`, `ISystemMessages` |
52
+ | `runtime/` | 14 | runtime analysis: the debuggers (`IAbapDebugger`, `IAmdpDebugger`) and `IMemorySnapshots`, `IProfiler`, the trace contracts (`ITraceListing`/`ITraceReading`, `ICrossTrace`, `ISt05Trace`), `IApplicationLog`, `IAtcLog` and the ATC run (`IAtcRunOptions`, `IAtcFindings`) and its results (`IAtcResultsReadable`), `IDdicActivation`, `IGatewayErrorLog`, `IRuntimeDumps`, `ISystemMessages` (the collection only; see the 31.0.0 migration in the CHANGELOG) |
52
53
  | `execution/` | 3 | class and program execution, with profiling |
53
54
  | `feeds/` | 2 | the ADT feed contracts |
54
55
  | `service/` | 1 | service definitions and bindings |
@@ -1,7 +1,12 @@
1
1
  import type { IAdtAnalyseOptions, IAnalyse } from '../adt/IAdtObject';
2
2
  import type { IAdtError, IAdtResponse } from '../adt/IAdtResponse';
3
3
  import type { IFeedQueryOptions } from '../feeds/types';
4
- export interface ISystemMessages<TList, TMessage> {
4
+ /**
5
+ * The system messages feed (`GET /sap/bc/adt/runtime/systemmessages`). SAP's
6
+ * handler serves the collection only (`CL_STSK_ADT_RES_APP` routes no
7
+ * per-message resource), so there is no member reading one message by id.
8
+ */
9
+ export interface ISystemMessages<TList> {
5
10
  /** Which runtime resource this is, for a consumer narrowing a union of them. */
6
11
  readonly kind: 'systemMessages';
7
12
  /** The messages this system is showing. */
@@ -9,9 +14,5 @@ export interface ISystemMessages<TList, TMessage> {
9
14
  analyse: IAnalyse<E>;
10
15
  }): Promise<IAdtResponse<TList, E>>;
11
16
  list(options?: IFeedQueryOptions & IAdtAnalyseOptions): Promise<IAdtResponse<TList>>;
12
- getById<E extends IAdtError>(messageId: string, options: IAdtAnalyseOptions<E> & {
13
- analyse: IAnalyse<E>;
14
- }): Promise<IAdtResponse<TMessage, E>>;
15
- getById(messageId: string, options?: IAdtAnalyseOptions): Promise<IAdtResponse<TMessage>>;
16
17
  }
17
18
  //# sourceMappingURL=ISystemMessages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ISystemMessages.d.ts","sourceRoot":"","sources":["../../src/runtime/ISystemMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,WAAW,eAAe,CAAC,KAAK,EAAE,QAAQ;IAC9C,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAEhC,2CAA2C;IAC3C,IAAI,CAAC,CAAC,SAAS,SAAS,EACtB,OAAO,EAAE,iBAAiB,GACxB,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;KAAE,GACjD,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACnC,IAAI,CACF,OAAO,CAAC,EAAE,iBAAiB,GAAG,kBAAkB,GAC/C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAEhC,OAAO,CAAC,CAAC,SAAS,SAAS,EACzB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;KAAE,GACxD,OAAO,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;IACtC,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC;CACpC"}
1
+ {"version":3,"file":"ISystemMessages.d.ts","sourceRoot":"","sources":["../../src/runtime/ISystemMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;GAIG;AACH,MAAM,WAAW,eAAe,CAAC,KAAK;IACpC,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAEhC,2CAA2C;IAC3C,IAAI,CAAC,CAAC,SAAS,SAAS,EACtB,OAAO,EAAE,iBAAiB,GACxB,kBAAkB,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAA;KAAE,GACjD,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACnC,IAAI,CACF,OAAO,CAAC,EAAE,iBAAiB,GAAG,kBAAkB,GAC/C,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces-adt",
3
- "version": "30.2.0",
3
+ "version": "31.0.0",
4
4
  "description": "ADT contracts: object operations, runtime analysis, execution, feeds and service bindings",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",