@mcp-abap-adt/connection 12.0.0 → 13.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 +63 -1
- package/README.md +9 -6
- package/docs/INDEX.md +4 -2
- package/docs/INSTALLATION.md +7 -5
- package/docs/MIGRATION-12.0.md +4 -3
- package/docs/MIGRATION-13.0.md +66 -0
- package/docs/USAGE.md +1 -1
- package/examples/README.md +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,67 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [13.0.0] - 2026-10-08
|
|
11
|
+
|
|
12
|
+
12.0.0 was published only on the `next` dist-tag; 13.0.0 is the release that
|
|
13
|
+
reaches `latest`.
|
|
14
|
+
|
|
15
|
+
### Breaking
|
|
16
|
+
|
|
17
|
+
- **connection moves to `@mcp-abap-adt/interfaces-auth` `^7.5.0`** (from
|
|
18
|
+
`^6.0.0`), `@mcp-abap-adt/auth-errors` `^2.1.1` (from `^1.0.0`) and
|
|
19
|
+
`@mcp-abap-adt/interfaces-auth-sap` `^3.3.0` (from `^3.2.0`). A process holds
|
|
20
|
+
one interfaces-auth major, so a consumer on interfaces-auth 6 must move with
|
|
21
|
+
it. See [MIGRATION-13.0.md](./docs/MIGRATION-13.0.md).
|
|
22
|
+
- interfaces-auth 7 adds the error kind `renewal-declined` and the
|
|
23
|
+
configuration case `invalid-value`, adds the operation `renewal-strategy`,
|
|
24
|
+
renames the operation `on-tokens-hook` to `persisting-tokens`, and removes the
|
|
25
|
+
interactive outcome `browser-launch-failed`,
|
|
26
|
+
`ITokenResult.refreshTokenDisposition` and `RefreshTokenDisposition`. A
|
|
27
|
+
consumer that switches on kinds or operations, or reads the removed members,
|
|
28
|
+
must follow. 7.1–7.5 add only members of code lists and new types
|
|
29
|
+
(`IBrowser`, the authorization parts).
|
|
30
|
+
- **The providers come from `@mcp-abap-adt/auth-providers` 6.0.0.** It is the
|
|
31
|
+
release built on interfaces-auth 7 and auth-errors 2, and the one this
|
|
32
|
+
release is tested with. 5.x does not fit (unbranded refusals), and no
|
|
33
|
+
auth-providers release fits connection 12.x.
|
|
34
|
+
|
|
35
|
+
### Unchanged
|
|
36
|
+
|
|
37
|
+
- Behaviour. connection mints and relays refusals of kinds `connection` and
|
|
38
|
+
`logon-target` exactly as in 12.0.0; no code in `src` switches on the
|
|
39
|
+
members that changed, reads `refreshTokenDisposition` or names the renamed
|
|
40
|
+
operation, so only the dependency ranges and the lockfile moved.
|
|
41
|
+
- The lifecycle, the one credential retry per request, `WireLogonError`, and
|
|
42
|
+
the guard against a request naming another SAP client.
|
|
43
|
+
|
|
44
|
+
### Changed
|
|
45
|
+
|
|
46
|
+
- `tools/check-provider-shape.mjs` is the byte-identical copy `auth-errors`
|
|
47
|
+
publishes (2.0.0 through 2.1.1 ship the same file; the shape check's R1 test
|
|
48
|
+
compares them).
|
|
49
|
+
|
|
50
|
+
### Development
|
|
51
|
+
|
|
52
|
+
- The devDependency `@mcp-abap-adt/auth-providers` is `^6.0.0` (from
|
|
53
|
+
`^5.2.0`), and every suite runs the real 6.0.0 providers. The test-only 5.x
|
|
54
|
+
adapter (`src/__tests__/helpers/legacyProvider.ts`, its table and its
|
|
55
|
+
`afterEach`) is deleted, and so is its suite.
|
|
56
|
+
- The hand-run live probes in `scripts/` (`pr41-onprem-verify`,
|
|
57
|
+
`pr41-rfc-headers-probe`, `pr41-rfc-lock`, `pr41-rfc-transport-probe`,
|
|
58
|
+
`onprem-session-hold`) are removed: only Jest suites stay in the
|
|
59
|
+
repository; the probes remain in the git history.
|
|
60
|
+
The dev tree now holds one `@mcp-abap-adt/interfaces-auth` (7.5.0) and one
|
|
61
|
+
`@mcp-abap-adt/auth-errors` (2.1.1).
|
|
62
|
+
- Two tests met 6.0.0 for real; neither is a change in connection's code:
|
|
63
|
+
- `CertificateAuthProvider` 6.0.0 proves its material usable in `prepare()`,
|
|
64
|
+
so the placeholder strings the certificate cases loaded were refused there.
|
|
65
|
+
They load the throwaway `fixtures/tls` pair now.
|
|
66
|
+
- A teardown test replaced `getAuthHeaders`, which the logoff never calls,
|
|
67
|
+
and passed only because the adapter's extra awaits kept the logoff in
|
|
68
|
+
flight past the assertion. It now breaks the logoff's own path
|
|
69
|
+
(`credentialHeaders`) and waits for the dispatch.
|
|
70
|
+
|
|
10
71
|
## [12.0.0] - 2026-10-06
|
|
11
72
|
|
|
12
73
|
### Breaking
|
|
@@ -2260,7 +2321,8 @@ const connection = createAbapConnection(config, logger);
|
|
|
2260
2321
|
- JWT token refresh now properly handles connection errors (401/403 during initial connect)
|
|
2261
2322
|
- Permission errors (403 with "ExceptionResourceNoAccess") no longer trigger JWT refresh loops
|
|
2262
2323
|
- Proper separation: base class handles HTTP/session, concrete classes handle auth-specific errors
|
|
2263
|
-
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/
|
|
2324
|
+
[Unreleased]: https://github.com/fr0ster/mcp-abap-connection/compare/v13.0.0...HEAD
|
|
2325
|
+
[13.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v12.0.0...v13.0.0
|
|
2264
2326
|
[12.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v11.0.1...v12.0.0
|
|
2265
2327
|
[11.0.1]: https://github.com/fr0ster/mcp-abap-connection/compare/v11.0.0...v11.0.1
|
|
2266
2328
|
[11.0.0]: https://github.com/fr0ster/mcp-abap-connection/compare/v10.0.3...v11.0.0
|
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ The package uses a clean separation of concerns:
|
|
|
58
58
|
|
|
59
59
|
- **Auth providers** (an `IAuthProvider` from `@mcp-abap-adt/interfaces-auth`; the
|
|
60
60
|
ready-made ones — `BasicAuthProvider`, `TokenAuthProvider`, `SamlAuthProvider`,
|
|
61
|
-
`CertificateAuthProvider` — are in `@mcp-abap-adt/auth-providers
|
|
61
|
+
`CertificateAuthProvider` — are in `@mcp-abap-adt/auth-providers` 6.0.0, not here):
|
|
62
62
|
- What a connection authenticates with, passed in. The connection never asks
|
|
63
63
|
what kind of provider it was given; it calls the same four methods on all of
|
|
64
64
|
them: `prepare` once before the wire opens, `establish` at each logon,
|
|
@@ -145,7 +145,7 @@ dependencies of this one besides `axios`, `commander` and `open`:
|
|
|
145
145
|
| Package | What this package takes from it |
|
|
146
146
|
|---|---|
|
|
147
147
|
| `@mcp-abap-adt/interfaces-adt-connection` | `IAbapConnection`, `IAbapRequestOptions`, `IAdtWireResponse`, `ITimeoutConfig`, the capability atoms, `ADT_SESSION_ERROR` |
|
|
148
|
-
| `@mcp-abap-adt/interfaces-auth` (
|
|
148
|
+
| `@mcp-abap-adt/interfaces-auth` (7.x) | `IAuthProvider`, `AuthOutcome`, `IAuthRefusal` (= `IAuthProviderError`), `IAuthRejection`, `ILogonTarget`, `IRequestTarget`, `ICertificateMaterial`, `ITokenRefresher`, `ITokenRefreshResult` |
|
|
149
149
|
| `@mcp-abap-adt/interfaces-auth-sap` | `ISapConfig`, `SapAuthType`, `SapConnectionType`, `ICertificateMaterialLoader` |
|
|
150
150
|
| `@mcp-abap-adt/interfaces-network` | `NETWORK_ERROR_CODES`, the WebSocket contracts |
|
|
151
151
|
| `@mcp-abap-adt/interfaces-utils` | `ILogger` |
|
|
@@ -161,7 +161,8 @@ the packages above. See [Migration to 9.0.0](./docs/MIGRATION-9.0.md).
|
|
|
161
161
|
|
|
162
162
|
- 📦 **[Installation Guide](./docs/INSTALLATION.md)** - Setup and installation instructions
|
|
163
163
|
- 📚 **[Usage Guide](./docs/USAGE.md)** - Detailed usage examples and API documentation
|
|
164
|
-
- 🚚 **[Migration to
|
|
164
|
+
- 🚚 **[Migration to 13.0.0](./docs/MIGRATION-13.0.md)** - interfaces-auth 7 and auth-errors 2, and the providers from auth-providers 6.0.0; no behaviour change, one interfaces-auth major per process
|
|
165
|
+
- 🚚 **[Migration to 12.0.0](./docs/MIGRATION-12.0.md)** - refusals follow the auth error contract (interfaces-auth 6, auth-errors): `AuthRefusedError.refusal` is an `IAuthProviderError` — read its `kind`; a custom `ILogonTarget` mints its refusal; no auth-providers release fits 12.x — take 13.0.0 with auth-providers 6.0.0
|
|
165
166
|
- 🚚 **[Migration to 11.0.0](./docs/MIGRATION-11.0.md)** - the server certificate is verified by default; trust a self-signed system with `agentOptions.ca`, or opt out explicitly
|
|
166
167
|
- 🚚 **[Migration to 10.0.0](./docs/MIGRATION-10.0.md)** - the credential providers moved to `@mcp-abap-adt/auth-providers`; the connection speaks `IAuthProvider` 3.0; `AuthRefusedError`; the RFC factory takes the logon parameters
|
|
167
168
|
- 🚚 **[Migration to 9.0.0](./docs/MIGRATION-9.0.md)** - the contracts split out of `@mcp-abap-adt/interfaces`; which package each one moved to
|
|
@@ -205,11 +206,13 @@ The credential providers (`BasicAuthProvider`, `TokenAuthProvider`,
|
|
|
205
206
|
since 10.0.0. Install them from where they live:
|
|
206
207
|
|
|
207
208
|
```bash
|
|
208
|
-
npm install @mcp-abap-adt/auth-providers
|
|
209
|
+
npm install @mcp-abap-adt/auth-providers@^6
|
|
209
210
|
```
|
|
210
211
|
|
|
211
|
-
connection
|
|
212
|
-
|
|
212
|
+
connection 13.x works with **auth-providers 6.0.0** (`^6.0.0`), the release
|
|
213
|
+
built on interfaces-auth 7 and auth-errors 2, and is tested with it: the 5.x
|
|
214
|
+
providers answer unbranded refusals and do not fit. See
|
|
215
|
+
[Migration to 13.0.0](./docs/MIGRATION-13.0.md) and
|
|
213
216
|
[Migration to 12.0.0](./docs/MIGRATION-12.0.md).
|
|
214
217
|
|
|
215
218
|
For detailed installation instructions, see [Installation Guide](./docs/INSTALLATION.md).
|
package/docs/INDEX.md
CHANGED
|
@@ -15,6 +15,7 @@ mcp-abap-connection/
|
|
|
15
15
|
│ ├── INSTALLATION.md # Setup and installation guide
|
|
16
16
|
│ ├── USAGE.md # API documentation and examples
|
|
17
17
|
│ ├── MIGRATION-2.0.md # Moving to the explicit session lifecycle
|
|
18
|
+
│ ├── MIGRATION-13.0.md # interfaces-auth 7, auth-errors 2, auth-providers 6.0.0; no behaviour change
|
|
18
19
|
│ ├── MIGRATION-12.0.md # refusals follow the auth error contract (interfaces-auth 6, auth-errors)
|
|
19
20
|
│ ├── MIGRATION-11.0.md # the server certificate is verified by default
|
|
20
21
|
│ ├── MIGRATION-10.0.md # providers move to auth-providers; IAuthProvider 3.0; AuthRefusedError
|
|
@@ -49,7 +50,8 @@ mcp-abap-connection/
|
|
|
49
50
|
- 🔑 [JWT Auth Tools](./JWT_AUTH_TOOLS.md) - CLI tool for browser-based authentication
|
|
50
51
|
|
|
51
52
|
### Upgrading
|
|
52
|
-
- 🚚 [Migrating to
|
|
53
|
+
- 🚚 [Migrating to 13.0.0](./MIGRATION-13.0.md) - interfaces-auth 7 and auth-errors 2; the connection's behaviour is unchanged, a consumer holds one interfaces-auth major and takes the providers from auth-providers 6.0.0
|
|
54
|
+
- 🚚 [Migrating to 12.0.0](./MIGRATION-12.0.md) - refusals follow the auth error contract: `AuthRefusedError.refusal` is an `IAuthProviderError` (read its `kind`), a custom `ILogonTarget` mints its refusal through `@mcp-abap-adt/auth-errors`, and no auth-providers release fits 12.x — auth-providers 6.0.0 goes with 13.0.0
|
|
53
55
|
- 🚚 [Migrating to 11.0.0](./MIGRATION-11.0.md) - the server certificate is verified by default; trust a self-signed system with `agentOptions.ca`, or opt out explicitly with `TLS_REJECT_UNAUTHORIZED=0`
|
|
54
56
|
- 🚚 [Migrating to 10.0.0](./MIGRATION-10.0.md) - the credential providers moved to `@mcp-abap-adt/auth-providers`; the connection speaks `IAuthProvider` 3.0 and raises `AuthRefusedError`; the RFC factory takes the logon parameters
|
|
55
57
|
- 🚚 [Migrating to 9.0.0](./MIGRATION-9.0.md) - the contracts split into `interfaces-adt`, `-auth`, `-network` and `-utils`, and this package stopped depending on the umbrella; `interfaces-auth-sap` joined them in the release after, when authentication split into what is SAP's and what is not
|
|
@@ -85,7 +87,7 @@ mcp-abap-connection/
|
|
|
85
87
|
- **Connection Interface**: [USAGE.md - API Reference](./USAGE.md#api-reference)
|
|
86
88
|
- **Configuration Types**: [USAGE.md - Configuration Types](./USAGE.md#configuration-types)
|
|
87
89
|
- **Connectors**: `AdtOnPremConnector`, `AdtCloudConnector`
|
|
88
|
-
- **Credentials**: an `IAuthProvider` (`@mcp-abap-adt/interfaces-auth`); the ready-made providers live in `@mcp-abap-adt/auth-providers`
|
|
90
|
+
- **Credentials**: an `IAuthProvider` (`@mcp-abap-adt/interfaces-auth`); the ready-made providers live in `@mcp-abap-adt/auth-providers` (6.0.0 with connection 13.x)
|
|
89
91
|
- **Errors**: `AuthRefusedError` (its `refusal` an `IAuthProviderError` minted by `@mcp-abap-adt/auth-errors`), `WireLogonError`
|
|
90
92
|
- **Transports**: `HttpTransport`, `RfcTransport` (+ `rfcConversationFrom()`)
|
|
91
93
|
|
package/docs/INSTALLATION.md
CHANGED
|
@@ -208,7 +208,7 @@ actually use:
|
|
|
208
208
|
|
|
209
209
|
```bash
|
|
210
210
|
npm install @mcp-abap-adt/interfaces-adt-connection # IAbapConnection, ITimeoutConfig, ADT_SESSION_ERROR
|
|
211
|
-
npm install @mcp-abap-adt/interfaces-auth # IAuthProvider, AuthOutcome, IAuthProviderError, ITokenRefresher (
|
|
211
|
+
npm install @mcp-abap-adt/interfaces-auth # IAuthProvider, AuthOutcome, IAuthProviderError, ITokenRefresher (7.x)
|
|
212
212
|
npm install @mcp-abap-adt/auth-errors # authError builders, classify — to mint a refusal of your own
|
|
213
213
|
npm install @mcp-abap-adt/interfaces-auth-sap # ISapConfig, SapAuthType, ICertificateMaterialLoader
|
|
214
214
|
npm install @mcp-abap-adt/interfaces-network # NETWORK_ERROR_CODES, the WebSocket contracts
|
|
@@ -224,10 +224,12 @@ puts two copies of the same contract in your tree.
|
|
|
224
224
|
|
|
225
225
|
The credential providers (`BasicAuthProvider`, `TokenAuthProvider`,
|
|
226
226
|
`SamlAuthProvider`, `CertificateAuthProvider`) are no longer part of this
|
|
227
|
-
package as of 10.0.0; install `@mcp-abap-adt/auth-providers` for them —
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
[Migration to
|
|
227
|
+
package as of 10.0.0; install `@mcp-abap-adt/auth-providers` for them —
|
|
228
|
+
connection 13.x works with auth-providers **6.0.0** (`^6.0.0`), built on
|
|
229
|
+
interfaces-auth 7 and auth-errors 2; the 5.x providers do not fit.
|
|
230
|
+
See [Migration to 10.0.0](./MIGRATION-10.0.md),
|
|
231
|
+
[Migration to 12.0.0](./MIGRATION-12.0.md) and
|
|
232
|
+
[Migration to 13.0.0](./MIGRATION-13.0.md).
|
|
231
233
|
|
|
232
234
|
### Create `tsconfig.json`
|
|
233
235
|
|
package/docs/MIGRATION-12.0.md
CHANGED
|
@@ -30,7 +30,8 @@ unbranded `{ reason, hint }` refusals of interfaces-auth 3–5, and those are no
|
|
|
30
30
|
an `AuthOutcome` of 6.0.0, so handing a 5.x `BasicAuthProvider` (or any other
|
|
31
31
|
5.x provider) to a connector no longer compiles. Move to
|
|
32
32
|
`@mcp-abap-adt/auth-providers` 6.0.0, the release that adopts the same
|
|
33
|
-
contract
|
|
33
|
+
contract. It was published on interfaces-auth 7, so it fits connection
|
|
34
|
+
**13.0.0**, not 12.x: take 13.0.0 with it ([Migration to 13.0](./MIGRATION-13.0.md)).
|
|
34
35
|
|
|
35
36
|
## Reading an `AuthRefusedError`
|
|
36
37
|
|
|
@@ -141,8 +142,8 @@ from `@mcp-abap-adt/auth-errors`. Its `guard(operation, body)` runs one
|
|
|
141
142
|
moment so that a throw becomes a refusal and the answer is classified. A
|
|
142
143
|
provider that still answers `{ ok: false, refusal: { reason } }` compiles no
|
|
143
144
|
more in TypeScript. In JavaScript, the connection answers `provider-threw` for
|
|
144
|
-
it, as described above. `@mcp-abap-adt/auth-providers` 6.0.0
|
|
145
|
-
`AuthProviderBase`, which owns the four moments for you.
|
|
145
|
+
it, as described above. `@mcp-abap-adt/auth-providers` 6.0.0 (with connection
|
|
146
|
+
13.x) ships `AuthProviderBase`, which owns the four moments for you.
|
|
146
147
|
|
|
147
148
|
## Deep imports
|
|
148
149
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Migration to 13.0
|
|
2
|
+
|
|
3
|
+
13.0.0 moves the connection from interfaces-auth 6 to **7**, with
|
|
4
|
+
`@mcp-abap-adt/auth-errors` 2, and is the release that works with
|
|
5
|
+
`@mcp-abap-adt/auth-providers` **6.0.0**. The connection's own behaviour does not
|
|
6
|
+
change: the lifecycle, the one credential retry, the refusals it mints and
|
|
7
|
+
`WireLogonError` are as in 12.x. 12.0.0 was only on the `next` dist-tag, so for
|
|
8
|
+
most consumers this is the step from 11.x with the 12 migration included; read
|
|
9
|
+
[Migration to 12.0.0](./MIGRATION-12.0.md) too.
|
|
10
|
+
|
|
11
|
+
## Dependencies
|
|
12
|
+
|
|
13
|
+
| Package | 12.0 | 13.0 |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| `@mcp-abap-adt/interfaces-auth` | `^6.0.0` | `^7.5.0` |
|
|
16
|
+
| `@mcp-abap-adt/interfaces-auth-sap` | `^3.2.0` | `^3.3.0` |
|
|
17
|
+
| `@mcp-abap-adt/auth-errors` | `^1.0.0` | `^2.1.1` |
|
|
18
|
+
| `@mcp-abap-adt/auth-providers` (yours, not a dependency) | none fits | `^6.0.0` |
|
|
19
|
+
|
|
20
|
+
A process should hold **one** interfaces-auth major and one auth-errors copy
|
|
21
|
+
(`npm ls @mcp-abap-adt/interfaces-auth @mcp-abap-adt/auth-errors`; each should
|
|
22
|
+
appear once, the rest `deduped`). Providers must speak interfaces-auth 7 as well.
|
|
23
|
+
|
|
24
|
+
## The providers: auth-providers 6.0.0
|
|
25
|
+
|
|
26
|
+
connection 13.0.0 is tested with `@mcp-abap-adt/auth-providers` 6.0.0, built on
|
|
27
|
+
interfaces-auth 7.5 and auth-errors 2.1. Install it beside the connection:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm install @mcp-abap-adt/connection@^13 @mcp-abap-adt/auth-providers@^6
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
- auth-providers 5.x does not fit: its refusals are unbranded `{ reason, hint }`,
|
|
34
|
+
not an `AuthOutcome` of interfaces-auth 7. No auth-providers release fits
|
|
35
|
+
connection 12.x (6.0.0 is on interfaces-auth 7, 5.x on 3), so move to 13.0.0
|
|
36
|
+
and 6.0.0 together.
|
|
37
|
+
- The credentials the connection docs use keep their constructors:
|
|
38
|
+
`new BasicAuthProvider(user, password)`, `TokenAuthProvider.fixed(token)` /
|
|
39
|
+
`.from(refresher)`, `new SamlAuthProvider(cookies)`,
|
|
40
|
+
`new CertificateAuthProvider(loader, config)` / `.fromFiles(config)`,
|
|
41
|
+
`new SncLogonProvider({ … })`.
|
|
42
|
+
- `CertificateAuthProvider` proves its material usable in `prepare()`, so a
|
|
43
|
+
certificate it cannot use is refused at `connect()` (`AuthRefusedError` at
|
|
44
|
+
`prepare`), before any logon.
|
|
45
|
+
- A token provider (`ClientCredentialsProvider`, `AuthorizationCodeProvider`,
|
|
46
|
+
the OIDC and SAML providers, …) now needs `renewal` — `refreshThenLogin()`
|
|
47
|
+
or `refreshOnly()` — and takes `persistence` in place of `onTokens`; an
|
|
48
|
+
interactive one is handed an `IBrowser`. Each is an `IAuthProvider` itself
|
|
49
|
+
and goes to a connector unwrapped. See auth-providers' README, *Migrating to
|
|
50
|
+
6.0.0*.
|
|
51
|
+
|
|
52
|
+
## What interfaces-auth 7 changes
|
|
53
|
+
|
|
54
|
+
- New error kind `renewal-declined`; a consumer that switches on `kind`
|
|
55
|
+
exhaustively must handle it.
|
|
56
|
+
- New configuration case `invalid-value`; new operation `renewal-strategy`.
|
|
57
|
+
- The operation `on-tokens-hook` is now `persisting-tokens`.
|
|
58
|
+
- The interactive outcome `browser-launch-failed` is gone.
|
|
59
|
+
- `ITokenResult.refreshTokenDisposition` and `RefreshTokenDisposition` are gone.
|
|
60
|
+
|
|
61
|
+
7.1–7.5 add only new types (`IBrowser`, the authorization parts) and new
|
|
62
|
+
members of code lists (`CONFIG_FIELDS`, `OPERATIONS`,
|
|
63
|
+
`INTERACTIVE_LOGIN_STRATEGIES`).
|
|
64
|
+
|
|
65
|
+
The connection reads none of these, so nothing in its API changes. A consumer
|
|
66
|
+
that does must update its own code.
|
package/docs/USAGE.md
CHANGED
|
@@ -928,7 +928,7 @@ export class CloudSdkAbapConnection {
|
|
|
928
928
|
### The credential, and how a refusal is classified
|
|
929
929
|
|
|
930
930
|
For SAP BTP cloud systems, hand `AdtCloudConnector` a token provider from
|
|
931
|
-
`@mcp-abap-adt/auth-providers`
|
|
931
|
+
`@mcp-abap-adt/auth-providers` 6.0.0 (connection 13.x works with `^6.0.0`): `TokenAuthProvider.fixed(token)` is a token with
|
|
932
932
|
nothing behind it, `TokenAuthProvider.from(refresher)` takes an `ITokenRefresher`
|
|
933
933
|
and renews a token the system refused. Obtaining tokens in the first place is
|
|
934
934
|
`@mcp-abap-adt/auth-broker`'s job, not this package's.
|
package/examples/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This directory contains example code demonstrating how to use the `@mcp-abap-adt
|
|
|
8
8
|
# Install dependencies
|
|
9
9
|
cd packages/connection
|
|
10
10
|
npm install
|
|
11
|
-
npm install @mcp-abap-adt/auth-providers # the credential providers the examples use (6.0.0
|
|
11
|
+
npm install @mcp-abap-adt/auth-providers@^6 # the credential providers the examples use (6.0.0 with connection 13.x)
|
|
12
12
|
|
|
13
13
|
# Build the package
|
|
14
14
|
npm run build
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/connection",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "ABAP connection layer for MCP ABAP ADT server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"node": "^22 || ^24 || ^26"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@mcp-abap-adt/auth-errors": "^1.
|
|
56
|
+
"@mcp-abap-adt/auth-errors": "^2.1.1",
|
|
57
57
|
"@mcp-abap-adt/interfaces-adt-connection": "^1.0.0",
|
|
58
|
-
"@mcp-abap-adt/interfaces-auth": "^
|
|
59
|
-
"@mcp-abap-adt/interfaces-auth-sap": "^3.
|
|
58
|
+
"@mcp-abap-adt/interfaces-auth": "^7.5.0",
|
|
59
|
+
"@mcp-abap-adt/interfaces-auth-sap": "^3.3.0",
|
|
60
60
|
"@mcp-abap-adt/interfaces-network": "^2.0.0",
|
|
61
61
|
"@mcp-abap-adt/interfaces-utils": "^1.1.0",
|
|
62
62
|
"axios": "^1.16.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@biomejs/biome": "^2.3.14",
|
|
71
|
-
"@mcp-abap-adt/auth-providers": "^
|
|
71
|
+
"@mcp-abap-adt/auth-providers": "^6.0.0",
|
|
72
72
|
"@types/jest": "^30.0.0",
|
|
73
73
|
"@types/node": "^25.2.3",
|
|
74
74
|
"dotenv": "^17.3.1",
|