@rosa-mcp/server 1.12.6
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/LICENSE +21 -0
- package/README.md +190 -0
- package/dist/constants.d.ts +43 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +114 -0
- package/dist/constants.js.map +1 -0
- package/dist/handlers/api-handlers.d.ts +205 -0
- package/dist/handlers/api-handlers.d.ts.map +1 -0
- package/dist/handlers/api-handlers.js +456 -0
- package/dist/handlers/api-handlers.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +144 -0
- package/dist/index.js.map +1 -0
- package/dist/middleware/oauth.d.ts +14 -0
- package/dist/middleware/oauth.d.ts.map +1 -0
- package/dist/middleware/oauth.js +105 -0
- package/dist/middleware/oauth.js.map +1 -0
- package/dist/routes/api-routes.d.ts +3 -0
- package/dist/routes/api-routes.d.ts.map +1 -0
- package/dist/routes/api-routes.js +298 -0
- package/dist/routes/api-routes.js.map +1 -0
- package/dist/schemas/common.d.ts +40 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +115 -0
- package/dist/schemas/common.js.map +1 -0
- package/dist/services/abbreviation-dictionary.d.ts +45 -0
- package/dist/services/abbreviation-dictionary.d.ts.map +1 -0
- package/dist/services/abbreviation-dictionary.js +196 -0
- package/dist/services/abbreviation-dictionary.js.map +1 -0
- package/dist/services/data-loader.d.ts +20 -0
- package/dist/services/data-loader.d.ts.map +1 -0
- package/dist/services/data-loader.js +289 -0
- package/dist/services/data-loader.js.map +1 -0
- package/dist/services/search.d.ts +64 -0
- package/dist/services/search.d.ts.map +1 -0
- package/dist/services/search.js +391 -0
- package/dist/services/search.js.map +1 -0
- package/dist/tools/register-tools.d.ts +22 -0
- package/dist/tools/register-tools.d.ts.map +1 -0
- package/dist/tools/register-tools.js +561 -0
- package/dist/tools/register-tools.js.map +1 -0
- package/dist/types.d.ts +136 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/package.json +90 -0
- package/sap_abbreviation_dictionary.json +966 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Clément - abapeur.fr
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
# ROSA — Released Objects Search Assistant
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@clementringot/rosa)
|
|
4
|
+
[](https://github.com/ClementRingot/ROSA/pkgs/container/rosa)
|
|
5
|
+
[](https://github.com/ClementRingot/ROSA/actions/workflows/ci.yml)
|
|
6
|
+
[](https://github.com/ClementRingot/ROSA/actions/workflows/release.yml)
|
|
7
|
+
[](https://www.npmjs.com/package/@clementringot/rosa)
|
|
8
|
+
[](./LICENSE)
|
|
9
|
+
[](https://modelcontextprotocol.io/)
|
|
10
|
+
|
|
11
|
+
**ROSA gives AI agents real-time knowledge of which SAP objects are released for
|
|
12
|
+
ABAP Cloud / Clean Core — and what to use instead when they're not.**
|
|
13
|
+
|
|
14
|
+
It plugs into the [SAP Cloudification Repository](https://github.com/SAP/abap-atc-cr-cv-s4hc)
|
|
15
|
+
(the official source of truth) and exposes it **two ways**, sharing the same
|
|
16
|
+
business logic — no feature gap between them:
|
|
17
|
+
|
|
18
|
+
| Access mode | Protocol | Use case |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| **MCP Server** | [Model Context Protocol](https://modelcontextprotocol.io/) on `POST /mcp` | AI agents with native MCP support (Claude Desktop, Claude Code, Cline, Cursor…) |
|
|
21
|
+
| **REST API** | `GET` endpoints on `/api/*` returning JSON | LLM skills, scripts, CI pipelines — anything that speaks HTTP |
|
|
22
|
+
|
|
23
|
+
> Ask *"Is table MARA available in ABAP Cloud?"* and the agent instantly knows:
|
|
24
|
+
> **no — use `I_PRODUCT` instead.**
|
|
25
|
+
|
|
26
|
+
## Choose your deployment
|
|
27
|
+
|
|
28
|
+
| I want to… | Use | One-liner |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| Plug into Claude Desktop / Code / Cursor | **npm** | `npx -y @clementringot/rosa` |
|
|
31
|
+
| Run without Node.js installed | **Native executable** | download from [Releases](https://github.com/ClementRingot/ROSA/releases/latest) |
|
|
32
|
+
| Run as a server / self-host | **Docker** | `docker run -p 3001:3001 ghcr.io/clementringot/rosa` |
|
|
33
|
+
| Deploy on a generic Node host | **Node PaaS** | Railway / Render / Fly.io — set `TRANSPORT=http` |
|
|
34
|
+
| Deploy on SAP BTP Cloud Foundry | **MTA** or **npm wrapper** | see [DEPLOYMENT](./docs/DEPLOYMENT.md#sap-btp-cloud-foundry-two-paths) |
|
|
35
|
+
| Deploy on classic Cloud Foundry | **`cf push`** | see [cloud-foundry-classic](./docs/cloud-foundry-classic.md) |
|
|
36
|
+
|
|
37
|
+
Full details for every option: **[docs/DEPLOYMENT.md](./docs/DEPLOYMENT.md)**.
|
|
38
|
+
|
|
39
|
+
## Quick start (MCP client)
|
|
40
|
+
|
|
41
|
+
No install needed — `npx` runs the server in stdio mode, which is what MCP
|
|
42
|
+
clients expect. Add one of these to your client config:
|
|
43
|
+
|
|
44
|
+
**Claude Desktop** (`claude_desktop_config.json`) / **Claude Code** (`.mcp.json`):
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
{
|
|
48
|
+
"mcpServers": {
|
|
49
|
+
"rosa": {
|
|
50
|
+
"command": "npx",
|
|
51
|
+
"args": ["-y", "@clementringot/rosa"]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Cursor** (`~/.cursor/mcp.json` or `.cursor/mcp.json`):
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"mcpServers": {
|
|
62
|
+
"rosa": {
|
|
63
|
+
"command": "npx",
|
|
64
|
+
"args": ["-y", "@clementringot/rosa"]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Prefer a hosted, zero-install setup? Point your client at a running instance's
|
|
71
|
+
`/mcp` URL instead:
|
|
72
|
+
|
|
73
|
+
```json
|
|
74
|
+
{
|
|
75
|
+
"mcpServers": {
|
|
76
|
+
"rosa": { "type": "url", "url": "https://<your-instance>/mcp" }
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### REST API (skills, scripts, CI)
|
|
82
|
+
|
|
83
|
+
All endpoints are `GET`, return JSON, and support CORS:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
curl "https://<your-instance>/api/search?query=purchase+order"
|
|
87
|
+
curl "https://<your-instance>/api/object?object_type=TABL&object_name=MARA"
|
|
88
|
+
curl "https://<your-instance>/api/compliance?object_names=MARA,BSEG,I_PRODUCT"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
> On a secured instance (OIDC / XSUAA / API keys) add `Authorization: Bearer <token>`
|
|
92
|
+
> — see [Calling the REST API on BTP](./docs/DEPLOYMENT.md#calling-the-rest-api-on-btp-machine-to-machine).
|
|
93
|
+
|
|
94
|
+
For LLM-skill usage, two ready-made skills expose the full API reference:
|
|
95
|
+
|
|
96
|
+
- [`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md) — points at the hosted public instance; use as-is.
|
|
97
|
+
- [`skills/rosa-global/SKILL.md`](./skills/rosa-global/SKILL.md) — for your **own self-hosted** deployment: copy it and replace the `{{ROSA_BASE_URL}}` placeholder with your instance URL (public instances only; use MCP for secured ones).
|
|
98
|
+
|
|
99
|
+
## Features
|
|
100
|
+
|
|
101
|
+
- **Search SAP objects** — classes, CDS views, tables, data elements, BDEFs…
|
|
102
|
+
- **Filter by Clean Core Level** (A / B / C / D) — the model replacing the 3-tier
|
|
103
|
+
system since August 2025.
|
|
104
|
+
- **Find successors** for deprecated or non-released objects.
|
|
105
|
+
- **Clean Core compliance check** for a list of objects (with compliance rate).
|
|
106
|
+
- **Statistics** — counts by level, type, and application component.
|
|
107
|
+
- **Smart search** — multi-token scoring (`"purchase order"` → `I_PURCHASEORDER`).
|
|
108
|
+
- **Multi-system** — S/4HANA Cloud Public, BTP ABAP Environment, Private Cloud,
|
|
109
|
+
On-Premise; PCE versions discovered dynamically.
|
|
110
|
+
|
|
111
|
+
Data is fetched from SAP's public GitHub repository at runtime and cached in
|
|
112
|
+
memory for 24h — no SAP system connection required.
|
|
113
|
+
|
|
114
|
+
### Clean Core Level Concept
|
|
115
|
+
|
|
116
|
+
| Level | Meaning | Upgrade safety |
|
|
117
|
+
| --- | --- | --- |
|
|
118
|
+
| **A** | Released APIs (ABAP Cloud) | ✅ Upgrade-safe |
|
|
119
|
+
| **B** | Classic APIs | ⚠️ Upgrade-stable |
|
|
120
|
+
| **C** | Internal / unclassified | 🟡 Manageable risk |
|
|
121
|
+
| **D** | noAPI (not recommended) | 🔴 High risk |
|
|
122
|
+
|
|
123
|
+
## MCP tools & REST endpoints
|
|
124
|
+
|
|
125
|
+
Each MCP tool on `POST /mcp` has an identical REST counterpart under `/api`:
|
|
126
|
+
|
|
127
|
+
| MCP tool | REST endpoint | Purpose |
|
|
128
|
+
| --- | --- | --- |
|
|
129
|
+
| `sap_search_objects` | `GET /api/search` | Search objects, ranked by relevance, with filters |
|
|
130
|
+
| `sap_get_object_details` | `GET /api/object` | Full details + Clean Core assessment for one object |
|
|
131
|
+
| `sap_find_successor` | `GET /api/successor` | Successor(s) of a deprecated / non-released object |
|
|
132
|
+
| `sap_check_clean_core_compliance` | `GET /api/compliance` | Compliance rate for a list of objects |
|
|
133
|
+
| `sap_list_versions` | `GET /api/versions` | Available S/4HANA PCE versions |
|
|
134
|
+
| `sap_list_object_types` | `GET /api/types` | TADIR object types with per-level counts |
|
|
135
|
+
| `sap_get_statistics` | `GET /api/statistics` | Repository statistics |
|
|
136
|
+
|
|
137
|
+
Parameters and response shapes are documented in
|
|
138
|
+
[`skills/sap-released-objects/SKILL.md`](./skills/sap-released-objects/SKILL.md).
|
|
139
|
+
|
|
140
|
+
## Server modes & authentication
|
|
141
|
+
|
|
142
|
+
ROSA runs over **stdio** (default; local MCP clients) or **HTTP** (`--http` /
|
|
143
|
+
`TRANSPORT=http`; remote/self-hosted). On HTTP it auto-detects four
|
|
144
|
+
authentication modes from the environment — **public**, **OIDC / OAuth 2.1**,
|
|
145
|
+
**XSUAA** (SAP BTP), and **API keys** — with no rebuild:
|
|
146
|
+
|
|
147
|
+
| Mode | Trigger |
|
|
148
|
+
| --- | --- |
|
|
149
|
+
| Public | no auth env vars |
|
|
150
|
+
| OIDC / OAuth 2.1 | `OAUTH_ISSUER` + `OAUTH_AUDIENCE` |
|
|
151
|
+
| XSUAA | `VCAP_SERVICES` xsuaa binding (SAP BTP) |
|
|
152
|
+
| API keys | `API_KEYS` (alongside any mode) |
|
|
153
|
+
|
|
154
|
+
How transports, auth auto-detection, the auth × deployment matrix, and the
|
|
155
|
+
system diagram work: **[docs/ARCHITECTURE.md](./docs/ARCHITECTURE.md)**.
|
|
156
|
+
|
|
157
|
+
## Usage examples
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
You: "Is table MARA available in ABAP Cloud?"
|
|
161
|
+
Agent: → sap_get_object_details(TABL, MARA) → "deprecated; successor I_PRODUCT"
|
|
162
|
+
|
|
163
|
+
You: "My code uses BSEG, MARA, CL_GUI_ALV_GRID. Is it Clean Core?"
|
|
164
|
+
Agent: → sap_check_clean_core_compliance(...) → "Compliance rate: 0%"
|
|
165
|
+
|
|
166
|
+
You: "What's available for sending emails on BTP?"
|
|
167
|
+
Agent: → sap_search_objects(query="send email", system_type="btp")
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Documentation
|
|
171
|
+
|
|
172
|
+
| Doc | For |
|
|
173
|
+
| --- | --- |
|
|
174
|
+
| [ARCHITECTURE.md](./docs/ARCHITECTURE.md) | Transports, auth modes, system diagram, MCP tools |
|
|
175
|
+
| [DEPLOYMENT.md](./docs/DEPLOYMENT.md) | Every deployment option + config reference + troubleshooting |
|
|
176
|
+
| [cloud-foundry-classic.md](./docs/cloud-foundry-classic.md) | Classic (non-BTP) Cloud Foundry |
|
|
177
|
+
| [RELEASE.md](./docs/RELEASE.md) | Release train & pipeline (maintainers) |
|
|
178
|
+
| [CONTRIBUTING.md](./CONTRIBUTING.md) | Dev setup, tests, commit convention |
|
|
179
|
+
| [CHANGELOG.md](./CHANGELOG.md) | Notable changes |
|
|
180
|
+
|
|
181
|
+
## Contributing & releases
|
|
182
|
+
|
|
183
|
+
PRs welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). This repo uses
|
|
184
|
+
[Conventional Commits](https://www.conventionalcommits.org/); releases are cut by
|
|
185
|
+
an automated [release train](./docs/RELEASE.md) that publishes the npm package,
|
|
186
|
+
the multi-arch Docker image, and native executables from a single tag.
|
|
187
|
+
|
|
188
|
+
## License
|
|
189
|
+
|
|
190
|
+
[MIT](./LICENSE)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/** S/4HANA Cloud Public Edition - always uses latest */
|
|
2
|
+
export declare const RELEASED_LATEST_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectReleaseInfoLatest.json";
|
|
3
|
+
/** BTP ABAP Environment / Steampunk - always uses latest */
|
|
4
|
+
export declare const RELEASED_BTP_LATEST_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectReleaseInfo_BTPLatest.json";
|
|
5
|
+
/** Private Cloud / On-Premise - latest version */
|
|
6
|
+
export declare const RELEASED_PCE_LATEST_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectReleaseInfo_PCELatest.json";
|
|
7
|
+
/**
|
|
8
|
+
* Build URL for a specific Private Cloud / On-Premise version.
|
|
9
|
+
* Format: objectReleaseInfo_PCE{year}_{fps}.json
|
|
10
|
+
* Examples: PCE2022, PCE2023_0, PCE2023_3, PCE2025
|
|
11
|
+
*/
|
|
12
|
+
export declare function getReleasedPCEVersionURL(version: string): string;
|
|
13
|
+
/** New format for ATC check 3565942 */
|
|
14
|
+
export declare const CLASSIC_API_SAP_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectClassifications_SAP.json";
|
|
15
|
+
/** Legacy format (still valid for older ATC checks) */
|
|
16
|
+
export declare const CLASSIC_API_3TIER_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectClassifications_3TierModel.json";
|
|
17
|
+
/** Original legacy format */
|
|
18
|
+
export declare const CLASSIC_API_LEGACY_URL = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src/objectClassifications.json";
|
|
19
|
+
export declare const FALLBACK_PCE_VERSIONS: readonly ["2022", "2022_1", "2022_2", "2023_0", "2023_1", "2023_2", "2023_3", "2025_0", "2025_1"];
|
|
20
|
+
export type PCEVersion = (typeof FALLBACK_PCE_VERSIONS)[number] | "latest";
|
|
21
|
+
import type { CleanCoreLevel } from "./types.js";
|
|
22
|
+
/**
|
|
23
|
+
* Maps raw object states from JSON to Clean Core Levels.
|
|
24
|
+
* - released → A (publicly released, upgrade-safe)
|
|
25
|
+
* - deprecated → A (was released, has successor — still Level A context)
|
|
26
|
+
* - classicAPI → B (classic but upgrade-stable)
|
|
27
|
+
* - stable → C (stable but not released, no formal contract)
|
|
28
|
+
* - notToBeReleased → C (internal, unclassified)
|
|
29
|
+
* - noAPI → D (not recommended, not Clean Core)
|
|
30
|
+
*/
|
|
31
|
+
export declare const STATE_TO_LEVEL: Record<string, CleanCoreLevel>;
|
|
32
|
+
/** Default level for unknown states */
|
|
33
|
+
export declare const DEFAULT_LEVEL: CleanCoreLevel;
|
|
34
|
+
export declare const OBJECT_TYPE_DESCRIPTIONS: Record<string, string>;
|
|
35
|
+
/** Cache TTL in milliseconds (24 hours) */
|
|
36
|
+
export declare const CACHE_TTL_MS: number;
|
|
37
|
+
/** Maximum results per search query */
|
|
38
|
+
export declare const MAX_RESULTS = 100;
|
|
39
|
+
/** Default results per search query */
|
|
40
|
+
export declare const DEFAULT_LIMIT = 25;
|
|
41
|
+
/** Character limit for text responses */
|
|
42
|
+
export declare const CHARACTER_LIMIT = 50000;
|
|
43
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAYA,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,oGAAoD,CAAC;AAErF,4DAA4D;AAC5D,eAAO,MAAM,uBAAuB,wGAAwD,CAAC;AAE7F,kDAAkD;AAClD,eAAO,MAAM,uBAAuB,wGAAwD,CAAC;AAE7F;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEhE;AAMD,uCAAuC;AACvC,eAAO,MAAM,mBAAmB,sGAAsD,CAAC;AAEvF,uDAAuD;AACvD,eAAO,MAAM,qBAAqB,6GAA6D,CAAC;AAEhG,6BAA6B;AAC7B,eAAO,MAAM,sBAAsB,kGAAkD,CAAC;AAMtF,eAAO,MAAM,qBAAqB,mGAUxB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC;AAM3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAOzD,CAAC;AAEF,uCAAuC;AACvC,eAAO,MAAM,aAAa,EAAE,cAAoB,CAAC;AAMjD,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkC3D,CAAC;AAMF,2CAA2C;AAC3C,eAAO,MAAM,YAAY,QAAsB,CAAC;AAEhD,uCAAuC;AACvC,eAAO,MAAM,WAAW,MAAM,CAAC;AAE/B,uCAAuC;AACvC,eAAO,MAAM,aAAa,KAAK,CAAC;AAEhC,yCAAyC;AACzC,eAAO,MAAM,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// SAP Cloudification Repository - Constants
|
|
3
|
+
// ============================================================================
|
|
4
|
+
/** Base URL for raw GitHub content */
|
|
5
|
+
const GITHUB_RAW_BASE = "https://raw.githubusercontent.com/SAP/abap-atc-cr-cv-s4hc/main/src";
|
|
6
|
+
// ---------------------------------------------------------------------------
|
|
7
|
+
// Level A - Released APIs
|
|
8
|
+
// ---------------------------------------------------------------------------
|
|
9
|
+
/** S/4HANA Cloud Public Edition - always uses latest */
|
|
10
|
+
export const RELEASED_LATEST_URL = `${GITHUB_RAW_BASE}/objectReleaseInfoLatest.json`;
|
|
11
|
+
/** BTP ABAP Environment / Steampunk - always uses latest */
|
|
12
|
+
export const RELEASED_BTP_LATEST_URL = `${GITHUB_RAW_BASE}/objectReleaseInfo_BTPLatest.json`;
|
|
13
|
+
/** Private Cloud / On-Premise - latest version */
|
|
14
|
+
export const RELEASED_PCE_LATEST_URL = `${GITHUB_RAW_BASE}/objectReleaseInfo_PCELatest.json`;
|
|
15
|
+
/**
|
|
16
|
+
* Build URL for a specific Private Cloud / On-Premise version.
|
|
17
|
+
* Format: objectReleaseInfo_PCE{year}_{fps}.json
|
|
18
|
+
* Examples: PCE2022, PCE2023_0, PCE2023_3, PCE2025
|
|
19
|
+
*/
|
|
20
|
+
export function getReleasedPCEVersionURL(version) {
|
|
21
|
+
return `${GITHUB_RAW_BASE}/objectReleaseInfo_PCE${version}.json`;
|
|
22
|
+
}
|
|
23
|
+
// ---------------------------------------------------------------------------
|
|
24
|
+
// Level B - Classic APIs (Private Cloud / On-Premise only)
|
|
25
|
+
// ---------------------------------------------------------------------------
|
|
26
|
+
/** New format for ATC check 3565942 */
|
|
27
|
+
export const CLASSIC_API_SAP_URL = `${GITHUB_RAW_BASE}/objectClassifications_SAP.json`;
|
|
28
|
+
/** Legacy format (still valid for older ATC checks) */
|
|
29
|
+
export const CLASSIC_API_3TIER_URL = `${GITHUB_RAW_BASE}/objectClassifications_3TierModel.json`;
|
|
30
|
+
/** Original legacy format */
|
|
31
|
+
export const CLASSIC_API_LEGACY_URL = `${GITHUB_RAW_BASE}/objectClassifications.json`;
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Known PCE versions available in the repository
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
export const FALLBACK_PCE_VERSIONS = [
|
|
36
|
+
"2022",
|
|
37
|
+
"2022_1",
|
|
38
|
+
"2022_2",
|
|
39
|
+
"2023_0",
|
|
40
|
+
"2023_1",
|
|
41
|
+
"2023_2",
|
|
42
|
+
"2023_3",
|
|
43
|
+
"2025_0",
|
|
44
|
+
"2025_1",
|
|
45
|
+
];
|
|
46
|
+
/**
|
|
47
|
+
* Maps raw object states from JSON to Clean Core Levels.
|
|
48
|
+
* - released → A (publicly released, upgrade-safe)
|
|
49
|
+
* - deprecated → A (was released, has successor — still Level A context)
|
|
50
|
+
* - classicAPI → B (classic but upgrade-stable)
|
|
51
|
+
* - stable → C (stable but not released, no formal contract)
|
|
52
|
+
* - notToBeReleased → C (internal, unclassified)
|
|
53
|
+
* - noAPI → D (not recommended, not Clean Core)
|
|
54
|
+
*/
|
|
55
|
+
export const STATE_TO_LEVEL = {
|
|
56
|
+
released: "A",
|
|
57
|
+
deprecated: "A",
|
|
58
|
+
classicAPI: "B",
|
|
59
|
+
stable: "C",
|
|
60
|
+
notToBeReleased: "C",
|
|
61
|
+
noAPI: "D",
|
|
62
|
+
};
|
|
63
|
+
/** Default level for unknown states */
|
|
64
|
+
export const DEFAULT_LEVEL = "C";
|
|
65
|
+
// ---------------------------------------------------------------------------
|
|
66
|
+
// Known TADIR object types with descriptions
|
|
67
|
+
// ---------------------------------------------------------------------------
|
|
68
|
+
export const OBJECT_TYPE_DESCRIPTIONS = {
|
|
69
|
+
BDEF: "Behavior Definition (RAP)",
|
|
70
|
+
CLAS: "ABAP Class",
|
|
71
|
+
CDS: "CDS Entity (Core Data Services)",
|
|
72
|
+
DDLS: "Data Definition Language Source (CDS View)",
|
|
73
|
+
DDLX: "CDS Metadata Extension",
|
|
74
|
+
DTEL: "Data Element",
|
|
75
|
+
DOMA: "Domain",
|
|
76
|
+
ENHO: "Enhancement Implementation",
|
|
77
|
+
ENHS: "Enhancement Spot",
|
|
78
|
+
FUGR: "Function Group",
|
|
79
|
+
FUNC: "Function Module",
|
|
80
|
+
INTF: "ABAP Interface",
|
|
81
|
+
MSAG: "Message Class",
|
|
82
|
+
NROB: "Number Range Object",
|
|
83
|
+
PARA: "SPA/GPA Parameter",
|
|
84
|
+
PROG: "ABAP Program",
|
|
85
|
+
SMIM: "MIME Object",
|
|
86
|
+
SRVB: "Service Binding",
|
|
87
|
+
SRVD: "Service Definition",
|
|
88
|
+
SUSO: "Authorization Object",
|
|
89
|
+
TABL: "Database Table / Structure",
|
|
90
|
+
TTYP: "Table Type",
|
|
91
|
+
TYPE: "Type Group",
|
|
92
|
+
XSLT: "XSLT Transformation",
|
|
93
|
+
CHKV: "ATC Check Variant",
|
|
94
|
+
AUTH: "Authorization Field",
|
|
95
|
+
SCP1: "Business Configuration Object",
|
|
96
|
+
DEVC: "Package",
|
|
97
|
+
NSPC: "Namespace",
|
|
98
|
+
SAJC: "Application Job Catalog Entry",
|
|
99
|
+
SAJT: "Application Job Template",
|
|
100
|
+
EVTB: "RAP Business Event Binding",
|
|
101
|
+
SMBC: "Business Configuration Maintenance Object",
|
|
102
|
+
};
|
|
103
|
+
// ---------------------------------------------------------------------------
|
|
104
|
+
// Server configuration
|
|
105
|
+
// ---------------------------------------------------------------------------
|
|
106
|
+
/** Cache TTL in milliseconds (24 hours) */
|
|
107
|
+
export const CACHE_TTL_MS = 24 * 60 * 60 * 1000;
|
|
108
|
+
/** Maximum results per search query */
|
|
109
|
+
export const MAX_RESULTS = 100;
|
|
110
|
+
/** Default results per search query */
|
|
111
|
+
export const DEFAULT_LIMIT = 25;
|
|
112
|
+
/** Character limit for text responses */
|
|
113
|
+
export const CHARACTER_LIMIT = 50000;
|
|
114
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,4CAA4C;AAC5C,+EAA+E;AAE/E,sCAAsC;AACtC,MAAM,eAAe,GACnB,oEAAoE,CAAC;AAEvE,8EAA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0,0 +1,205 @@
|
|
|
1
|
+
import type { SAPObject, CleanCoreLevel, SystemType } from "../types.js";
|
|
2
|
+
export declare const LEVEL_ORDER: CleanCoreLevel[];
|
|
3
|
+
export declare function normalizeVersion(version: string): string;
|
|
4
|
+
export declare function getLevelsUpTo(maxLevel: CleanCoreLevel): Set<CleanCoreLevel>;
|
|
5
|
+
export declare function needsClassicApis(level: CleanCoreLevel, systemType: SystemType): boolean;
|
|
6
|
+
export declare function getStore(systemType: SystemType, version: string, cleanCoreLevel: CleanCoreLevel): Promise<import("../types.js").DataStore>;
|
|
7
|
+
export declare function filterByLevel(objects: SAPObject[], maxLevel: CleanCoreLevel): SAPObject[];
|
|
8
|
+
export interface ScoredObject {
|
|
9
|
+
objectType: string;
|
|
10
|
+
objectName: string;
|
|
11
|
+
state: string;
|
|
12
|
+
cleanCoreLevel: string;
|
|
13
|
+
applicationComponent: string;
|
|
14
|
+
softwareComponent: string;
|
|
15
|
+
typeDescription: string;
|
|
16
|
+
successor?: {
|
|
17
|
+
classification: string;
|
|
18
|
+
objects?: Array<{
|
|
19
|
+
objectType: string;
|
|
20
|
+
objectName: string;
|
|
21
|
+
}>;
|
|
22
|
+
conceptName?: string;
|
|
23
|
+
};
|
|
24
|
+
relevance: number;
|
|
25
|
+
}
|
|
26
|
+
export interface SearchObjectsResult {
|
|
27
|
+
query: string;
|
|
28
|
+
system_type: string;
|
|
29
|
+
clean_core_level: string;
|
|
30
|
+
version: string;
|
|
31
|
+
total: number;
|
|
32
|
+
offset: number;
|
|
33
|
+
limit: number;
|
|
34
|
+
hasMore: boolean;
|
|
35
|
+
objects: ScoredObject[];
|
|
36
|
+
}
|
|
37
|
+
export interface SearchObjectsError {
|
|
38
|
+
error: "unknown_type" | "no_results";
|
|
39
|
+
message: string;
|
|
40
|
+
availableTypes?: Array<{
|
|
41
|
+
type: string;
|
|
42
|
+
count: number;
|
|
43
|
+
description: string;
|
|
44
|
+
}>;
|
|
45
|
+
suggestions?: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface ObjectDetailsResult {
|
|
48
|
+
found: true;
|
|
49
|
+
object: {
|
|
50
|
+
objectType: string;
|
|
51
|
+
objectName: string;
|
|
52
|
+
state: string;
|
|
53
|
+
cleanCoreLevel: string;
|
|
54
|
+
applicationComponent: string;
|
|
55
|
+
softwareComponent: string;
|
|
56
|
+
typeDescription: string;
|
|
57
|
+
source: string;
|
|
58
|
+
successor?: {
|
|
59
|
+
classification: string;
|
|
60
|
+
objects?: Array<{
|
|
61
|
+
objectType: string;
|
|
62
|
+
objectName: string;
|
|
63
|
+
typeDescription: string;
|
|
64
|
+
}>;
|
|
65
|
+
conceptName?: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
assessment: {
|
|
69
|
+
level: string;
|
|
70
|
+
message: string;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export interface ObjectNotFoundResult {
|
|
74
|
+
found: false;
|
|
75
|
+
message: string;
|
|
76
|
+
}
|
|
77
|
+
export interface SuccessorEntry {
|
|
78
|
+
objectType: string;
|
|
79
|
+
objectName: string;
|
|
80
|
+
state: string;
|
|
81
|
+
cleanCoreLevel: string;
|
|
82
|
+
hasSuccessor: boolean;
|
|
83
|
+
successor?: {
|
|
84
|
+
classification: string;
|
|
85
|
+
objects?: Array<{
|
|
86
|
+
objectType: string;
|
|
87
|
+
objectName: string;
|
|
88
|
+
typeDescription: string;
|
|
89
|
+
state: string;
|
|
90
|
+
cleanCoreLevel: string;
|
|
91
|
+
}>;
|
|
92
|
+
conceptName?: string;
|
|
93
|
+
};
|
|
94
|
+
assessment: string;
|
|
95
|
+
}
|
|
96
|
+
export interface FindSuccessorResult {
|
|
97
|
+
query: string;
|
|
98
|
+
object_type?: string;
|
|
99
|
+
results: SuccessorEntry[];
|
|
100
|
+
}
|
|
101
|
+
export interface ObjectTypeEntry {
|
|
102
|
+
type: string;
|
|
103
|
+
count: number;
|
|
104
|
+
description: string;
|
|
105
|
+
byLevel: Record<string, number>;
|
|
106
|
+
}
|
|
107
|
+
export interface ListObjectTypesResult {
|
|
108
|
+
system_type: string;
|
|
109
|
+
clean_core_level: string;
|
|
110
|
+
totalTypes: number;
|
|
111
|
+
types: ObjectTypeEntry[];
|
|
112
|
+
}
|
|
113
|
+
export interface StatisticsResult {
|
|
114
|
+
source: string;
|
|
115
|
+
loadedAt: string;
|
|
116
|
+
totalObjects: number;
|
|
117
|
+
byLevel: Record<string, number>;
|
|
118
|
+
byState: Record<string, number>;
|
|
119
|
+
topObjectTypes: Array<{
|
|
120
|
+
type: string;
|
|
121
|
+
count: number;
|
|
122
|
+
description: string;
|
|
123
|
+
}>;
|
|
124
|
+
topApplicationComponents: Array<{
|
|
125
|
+
component: string;
|
|
126
|
+
count: number;
|
|
127
|
+
}>;
|
|
128
|
+
availableVersions: string[];
|
|
129
|
+
}
|
|
130
|
+
export interface VersionEntry {
|
|
131
|
+
version: string;
|
|
132
|
+
label: string;
|
|
133
|
+
}
|
|
134
|
+
export interface ListVersionsResult {
|
|
135
|
+
total: number;
|
|
136
|
+
versions: VersionEntry[];
|
|
137
|
+
}
|
|
138
|
+
export interface ComplianceEntry {
|
|
139
|
+
input: string;
|
|
140
|
+
status: "compliant" | "non_compliant" | "not_found";
|
|
141
|
+
objectType?: string;
|
|
142
|
+
objectName?: string;
|
|
143
|
+
cleanCoreLevel?: string;
|
|
144
|
+
state?: string;
|
|
145
|
+
successor?: {
|
|
146
|
+
objects?: Array<{
|
|
147
|
+
objectType: string;
|
|
148
|
+
objectName: string;
|
|
149
|
+
}>;
|
|
150
|
+
conceptName?: string;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
export interface ComplianceResult {
|
|
154
|
+
targetLevel: string;
|
|
155
|
+
system_type: string;
|
|
156
|
+
version: string;
|
|
157
|
+
totalChecked: number;
|
|
158
|
+
compliant: number;
|
|
159
|
+
nonCompliant: number;
|
|
160
|
+
notFound: number;
|
|
161
|
+
complianceRate: number;
|
|
162
|
+
results: ComplianceEntry[];
|
|
163
|
+
}
|
|
164
|
+
export declare function handleSearchObjects(params: {
|
|
165
|
+
query: string;
|
|
166
|
+
system_type: SystemType;
|
|
167
|
+
clean_core_level: CleanCoreLevel;
|
|
168
|
+
version: string;
|
|
169
|
+
object_type?: string;
|
|
170
|
+
app_component?: string;
|
|
171
|
+
state?: string;
|
|
172
|
+
limit: number;
|
|
173
|
+
offset: number;
|
|
174
|
+
}): Promise<SearchObjectsResult | SearchObjectsError>;
|
|
175
|
+
export declare function handleGetObjectDetails(params: {
|
|
176
|
+
object_type: string;
|
|
177
|
+
object_name: string;
|
|
178
|
+
system_type: SystemType;
|
|
179
|
+
version: string;
|
|
180
|
+
clean_core_level: CleanCoreLevel;
|
|
181
|
+
}): Promise<ObjectDetailsResult | ObjectNotFoundResult>;
|
|
182
|
+
export declare function handleFindSuccessor(params: {
|
|
183
|
+
object_name: string;
|
|
184
|
+
object_type?: string;
|
|
185
|
+
system_type: SystemType;
|
|
186
|
+
version: string;
|
|
187
|
+
}): Promise<FindSuccessorResult>;
|
|
188
|
+
export declare function handleListObjectTypes(params: {
|
|
189
|
+
system_type: SystemType;
|
|
190
|
+
clean_core_level: CleanCoreLevel;
|
|
191
|
+
version: string;
|
|
192
|
+
}): Promise<ListObjectTypesResult>;
|
|
193
|
+
export declare function handleGetStatistics(params: {
|
|
194
|
+
system_type: SystemType;
|
|
195
|
+
clean_core_level: CleanCoreLevel;
|
|
196
|
+
version: string;
|
|
197
|
+
}): Promise<StatisticsResult>;
|
|
198
|
+
export declare function handleListVersions(): Promise<ListVersionsResult>;
|
|
199
|
+
export declare function handleCheckCompliance(params: {
|
|
200
|
+
object_names: string;
|
|
201
|
+
target_level: "A" | "B";
|
|
202
|
+
system_type: SystemType;
|
|
203
|
+
version: string;
|
|
204
|
+
}): Promise<ComplianceResult>;
|
|
205
|
+
//# sourceMappingURL=api-handlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-handlers.d.ts","source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