@mcp-abap-adt/core 8.1.0 → 8.2.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/handlers/common/readonly/handleGetObjectVersionSource.d.ts +41 -0
  3. package/dist/handlers/common/readonly/handleGetObjectVersionSource.d.ts.map +1 -0
  4. package/dist/handlers/common/readonly/handleGetObjectVersionSource.js +71 -0
  5. package/dist/handlers/common/readonly/handleGetObjectVersionSource.js.map +1 -0
  6. package/dist/handlers/common/readonly/handleGetObjectVersions.d.ts +46 -0
  7. package/dist/handlers/common/readonly/handleGetObjectVersions.d.ts.map +1 -0
  8. package/dist/handlers/common/readonly/handleGetObjectVersions.js +84 -0
  9. package/dist/handlers/common/readonly/handleGetObjectVersions.js.map +1 -0
  10. package/dist/handlers/common/readonly/resolveVersionedObject.d.ts +27 -0
  11. package/dist/handlers/common/readonly/resolveVersionedObject.d.ts.map +1 -0
  12. package/dist/handlers/common/readonly/resolveVersionedObject.js +92 -0
  13. package/dist/handlers/common/readonly/resolveVersionedObject.js.map +1 -0
  14. package/dist/handlers/structure/readonly/handleGetStructuresList.d.ts.map +1 -1
  15. package/dist/handlers/structure/readonly/handleGetStructuresList.js +44 -13
  16. package/dist/handlers/structure/readonly/handleGetStructuresList.js.map +1 -1
  17. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
  18. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +10 -0
  19. package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
  20. package/docs/user-guide/AVAILABLE_TOOLS.md +47 -3
  21. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +1 -1
  22. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +14 -1
  23. package/docs/user-guide/AVAILABLE_TOOLS_LEGACY.md +43 -3
  24. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
  25. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +33 -2
  26. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [8.2.0] - 2026-06-28
6
+
7
+ ### Added
8
+ - **Object history tools (#30).** Two read-only tools backed by `@mcp-abap-adt/adt-clients` 7.0.0's version-history API: `GetObjectVersions` (lists an object's SAP version history — `versionId`, `author`, `updatedAt`, `title`, and an opaque `contentUri` per entry) and `GetObjectVersionSource` (fetches the source of a specific version by its `contentUri`). Both dispatch by `object_type` across the same 13 object types as the generic object tools (class, program, interface, function_group, function_module, table, structure, ddl, domain, data_element, package, behavior_definition, metadata_extension); object types without a version endpoint return a clear `UNSUPPORTED_OPERATION` error rather than raw HTTP.
9
+
10
+ ### Changed
11
+ - **Migrated to `@mcp-abap-adt/adt-clients@^7.0.1` and `@mcp-abap-adt/interfaces@^9.0.0`** (from `^6.1.0` / `^7.2.0`). 7.0.1 also makes where-used resilient on S/4 systems whose `/usageReferences/scope` sub-resource returns 404 — the library now falls back to an unscoped search with client-side type narrowing, hardening the append detection in `GetStructuresList` (#128) at the library level. No mcp-abap-adt tool contract changed by the migration.
12
+
13
+ ## [8.1.1] - 2026-06-27
14
+
15
+ ### Fixed
16
+ - **`GetStructuresList` no longer loses append structures on heavily-used objects (#128).** The append (where-used) search now scopes to append structures only (`enableOnlyTypes: ['TABL/DS']`) instead of searching all types: where-used caps the number of returned records, so on a widely-referenced base (e.g. a standard S/4 table) the append records were crowded out by other reference types and dropped, yielding `0` appends. It also resolves the base `object_type` itself (try `structure`, fall back to `table`) so a table base no longer 404s on a structures URI, and it sets `appends_unavailable: true` when the where-used lookup fails for every object_type — so callers can tell "could not determine appends" apart from "no appends" instead of getting a silent `0`.
17
+
5
18
  ## [8.1.0] - 2026-06-26
6
19
 
7
20
  ### Added
@@ -0,0 +1,41 @@
1
+ /**
2
+ * GetObjectVersionSource Handler - read-only fetch of one version's source.
3
+ *
4
+ * Takes an opaque content_uri from a GetObjectVersions entry plus the
5
+ * object_type (needed to obtain an IAdtObject instance) and calls
6
+ * getVersionSource(content_uri). Closes #30.
7
+ */
8
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
9
+ export declare const TOOL_DEFINITION: {
10
+ readonly name: "GetObjectVersionSource";
11
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
12
+ readonly description: "[read-only] Fetch the source code of a specific object version. Pass the opaque content_uri from a GetObjectVersions entry.";
13
+ readonly inputSchema: {
14
+ readonly type: "object";
15
+ readonly properties: {
16
+ readonly object_type: {
17
+ readonly type: "string";
18
+ readonly description: "Object type (same value used in GetObjectVersions).";
19
+ readonly enum: readonly ["class", "program", "interface", "function_group", "function_module", "table", "structure", "ddl", "domain", "data_element", "package", "behavior_definition", "metadata_extension"];
20
+ };
21
+ readonly content_uri: {
22
+ readonly type: "string";
23
+ readonly description: "Opaque content_uri taken from a GetObjectVersions version entry.";
24
+ };
25
+ };
26
+ readonly required: readonly ["object_type", "content_uri"];
27
+ };
28
+ };
29
+ interface GetObjectVersionSourceArgs {
30
+ object_type: string;
31
+ content_uri: string;
32
+ }
33
+ export declare function handleGetObjectVersionSource(context: HandlerContext, args: GetObjectVersionSourceArgs): Promise<{
34
+ isError: boolean;
35
+ content: {
36
+ type: string;
37
+ text: any;
38
+ }[];
39
+ }>;
40
+ export {};
41
+ //# sourceMappingURL=handleGetObjectVersionSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleGetObjectVersionSource.d.ts","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/handleGetObjectVersionSource.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAWvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC;AAEX,UAAU,0BAA0B;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,0BAA0B;;;;;;GAkDjC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /**
3
+ * GetObjectVersionSource Handler - read-only fetch of one version's source.
4
+ *
5
+ * Takes an opaque content_uri from a GetObjectVersions entry plus the
6
+ * object_type (needed to obtain an IAdtObject instance) and calls
7
+ * getVersionSource(content_uri). Closes #30.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.TOOL_DEFINITION = void 0;
11
+ exports.handleGetObjectVersionSource = handleGetObjectVersionSource;
12
+ const interfaces_1 = require("@mcp-abap-adt/interfaces");
13
+ const clients_1 = require("../../../lib/clients");
14
+ const utils_1 = require("../../../lib/utils");
15
+ const resolveVersionedObject_1 = require("./resolveVersionedObject");
16
+ exports.TOOL_DEFINITION = {
17
+ name: 'GetObjectVersionSource',
18
+ available_in: ['onprem', 'cloud', 'legacy'],
19
+ description: '[read-only] Fetch the source code of a specific object version. Pass the opaque content_uri from a GetObjectVersions entry.',
20
+ inputSchema: {
21
+ type: 'object',
22
+ properties: {
23
+ object_type: {
24
+ type: 'string',
25
+ description: 'Object type (same value used in GetObjectVersions).',
26
+ enum: [...resolveVersionedObject_1.VERSIONED_OBJECT_TYPES],
27
+ },
28
+ content_uri: {
29
+ type: 'string',
30
+ description: 'Opaque content_uri taken from a GetObjectVersions version entry.',
31
+ },
32
+ },
33
+ required: ['object_type', 'content_uri'],
34
+ },
35
+ };
36
+ async function handleGetObjectVersionSource(context, args) {
37
+ const { connection, logger } = context;
38
+ try {
39
+ const { content_uri } = args;
40
+ const object_type = (args.object_type || '').toLowerCase();
41
+ if (!object_type || !content_uri) {
42
+ return (0, utils_1.return_error)(new Error('object_type and content_uri are required'));
43
+ }
44
+ if (!resolveVersionedObject_1.VERSIONED_OBJECT_TYPES.includes(object_type)) {
45
+ return (0, utils_1.return_error)(new Error(`Invalid object_type. Must be one of: ${resolveVersionedObject_1.VERSIONED_OBJECT_TYPES.join(', ')}`));
46
+ }
47
+ const client = (0, clients_1.createAdtClient)(connection, logger);
48
+ // content_uri carries the full object identity; a placeholder name is only
49
+ // needed to obtain the right IAdtObject instance.
50
+ const resolved = (0, resolveVersionedObject_1.resolveVersionedObject)(client, object_type, 'X', 'X');
51
+ if (!resolved) {
52
+ return (0, utils_1.return_error)(new Error(`Unsupported object_type: ${args.object_type}`));
53
+ }
54
+ try {
55
+ const source = await resolved.obj.getVersionSource(content_uri);
56
+ return (0, utils_1.return_response)({
57
+ data: JSON.stringify({ success: true, content_uri, source }, null, 2),
58
+ });
59
+ }
60
+ catch (error) {
61
+ if (error?.code === interfaces_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION) {
62
+ return (0, utils_1.return_error)(new Error(`Version source is not supported for object_type '${object_type}'.`));
63
+ }
64
+ return (0, utils_1.return_error)(error instanceof Error ? error : new Error(String(error)));
65
+ }
66
+ }
67
+ catch (error) {
68
+ return (0, utils_1.return_error)(error);
69
+ }
70
+ }
71
+ //# sourceMappingURL=handleGetObjectVersionSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleGetObjectVersionSource.js","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/handleGetObjectVersionSource.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA2CH,oEAoDC;AA7FD,yDAA+D;AAC/D,kDAAuD;AAEvD,8CAI4B;AAC5B,qEAGkC;AAErB,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,wBAAwB;IAC9B,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,6HAA6H;IAC/H,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qDAAqD;gBAClE,IAAI,EAAE,CAAC,GAAG,+CAAsB,CAA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O,IAAA,uBAAe,EAAC;gBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;aACrD,CAAC,CAAC;QACtB,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,IAAI,KAAK,EAAE,IAAI,KAAK,gCAAmB,CAAC,qBAAqB,EAAE,CAAC;gBAC9D,OAAO,IAAA,oBAAY,EACjB,IAAI,KAAK,CACP,oDAAoD,WAAW,IAAI,CACpE,CACF,CAAC;YACJ,CAAC;YACD,OAAO,IAAA,oBAAY,EACjB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * GetObjectVersions Handler - read-only version history of an ABAP object.
3
+ *
4
+ * Dispatches on object_type to the matching adt-clients IAdtObject and calls
5
+ * getVersions(config). Returns the IObjectVersion[] (each entry carries its
6
+ * opaque contentUri, to be passed to GetObjectVersionSource). Closes #30.
7
+ */
8
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
9
+ export declare const TOOL_DEFINITION: {
10
+ readonly name: "GetObjectVersions";
11
+ readonly available_in: readonly ["onprem", "cloud", "legacy"];
12
+ readonly description: "[read-only] List the version history of an ABAP object. Returns each version with its versionId, author, updatedAt, title and an opaque content_uri to fetch that version source via GetObjectVersionSource.";
13
+ readonly inputSchema: {
14
+ readonly type: "object";
15
+ readonly properties: {
16
+ readonly object_type: {
17
+ readonly type: "string";
18
+ readonly description: "Object type.";
19
+ readonly enum: readonly ["class", "program", "interface", "function_group", "function_module", "table", "structure", "ddl", "domain", "data_element", "package", "behavior_definition", "metadata_extension"];
20
+ };
21
+ readonly object_name: {
22
+ readonly type: "string";
23
+ readonly description: "Object name (e.g., ZCL_MY_CLASS, ZIF_MY_INTERFACE, Z_MY_TABLE).";
24
+ };
25
+ readonly function_group_name: {
26
+ readonly type: "string";
27
+ readonly description: "Owning function group name. Required when object_type is function_module.";
28
+ };
29
+ };
30
+ readonly required: readonly ["object_type", "object_name"];
31
+ };
32
+ };
33
+ interface GetObjectVersionsArgs {
34
+ object_type: string;
35
+ object_name: string;
36
+ function_group_name?: string;
37
+ }
38
+ export declare function handleGetObjectVersions(context: HandlerContext, args: GetObjectVersionsArgs): Promise<{
39
+ isError: boolean;
40
+ content: {
41
+ type: string;
42
+ text: any;
43
+ }[];
44
+ }>;
45
+ export {};
46
+ //# sourceMappingURL=handleGetObjectVersions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleGetObjectVersions.d.ts","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/handleGetObjectVersions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAWvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC;AAEX,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,qBAAqB;;;;;;GAmE5B"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /**
3
+ * GetObjectVersions Handler - read-only version history of an ABAP object.
4
+ *
5
+ * Dispatches on object_type to the matching adt-clients IAdtObject and calls
6
+ * getVersions(config). Returns the IObjectVersion[] (each entry carries its
7
+ * opaque contentUri, to be passed to GetObjectVersionSource). Closes #30.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.TOOL_DEFINITION = void 0;
11
+ exports.handleGetObjectVersions = handleGetObjectVersions;
12
+ const interfaces_1 = require("@mcp-abap-adt/interfaces");
13
+ const clients_1 = require("../../../lib/clients");
14
+ const utils_1 = require("../../../lib/utils");
15
+ const resolveVersionedObject_1 = require("./resolveVersionedObject");
16
+ exports.TOOL_DEFINITION = {
17
+ name: 'GetObjectVersions',
18
+ available_in: ['onprem', 'cloud', 'legacy'],
19
+ description: '[read-only] List the version history of an ABAP object. Returns each version with its versionId, author, updatedAt, title and an opaque content_uri to fetch that version source via GetObjectVersionSource.',
20
+ inputSchema: {
21
+ type: 'object',
22
+ properties: {
23
+ object_type: {
24
+ type: 'string',
25
+ description: 'Object type.',
26
+ enum: [...resolveVersionedObject_1.VERSIONED_OBJECT_TYPES],
27
+ },
28
+ object_name: {
29
+ type: 'string',
30
+ description: 'Object name (e.g., ZCL_MY_CLASS, ZIF_MY_INTERFACE, Z_MY_TABLE).',
31
+ },
32
+ function_group_name: {
33
+ type: 'string',
34
+ description: 'Owning function group name. Required when object_type is function_module.',
35
+ },
36
+ },
37
+ required: ['object_type', 'object_name'],
38
+ },
39
+ };
40
+ async function handleGetObjectVersions(context, args) {
41
+ const { connection, logger } = context;
42
+ try {
43
+ const { object_name, function_group_name } = args;
44
+ const object_type = (args.object_type || '').toLowerCase();
45
+ if (!object_type || !object_name) {
46
+ return (0, utils_1.return_error)(new Error('object_type and object_name are required'));
47
+ }
48
+ if (!resolveVersionedObject_1.VERSIONED_OBJECT_TYPES.includes(object_type)) {
49
+ return (0, utils_1.return_error)(new Error(`Invalid object_type. Must be one of: ${resolveVersionedObject_1.VERSIONED_OBJECT_TYPES.join(', ')}`));
50
+ }
51
+ const client = (0, clients_1.createAdtClient)(connection, logger);
52
+ let resolved;
53
+ try {
54
+ resolved = (0, resolveVersionedObject_1.resolveVersionedObject)(client, object_type, object_name, function_group_name);
55
+ }
56
+ catch (e) {
57
+ return (0, utils_1.return_error)(e instanceof Error ? e : new Error(String(e)));
58
+ }
59
+ if (!resolved) {
60
+ return (0, utils_1.return_error)(new Error(`Unsupported object_type: ${args.object_type}`));
61
+ }
62
+ try {
63
+ const versions = await resolved.obj.getVersions(resolved.config);
64
+ return (0, utils_1.return_response)({
65
+ data: JSON.stringify({
66
+ success: true,
67
+ object_type,
68
+ object_name: object_name.toUpperCase(),
69
+ versions,
70
+ }, null, 2),
71
+ });
72
+ }
73
+ catch (error) {
74
+ if (error?.code === interfaces_1.AdtObjectErrorCodes.UNSUPPORTED_OPERATION) {
75
+ return (0, utils_1.return_error)(new Error(`Version history is not supported for object_type '${object_type}' (${object_name}).`));
76
+ }
77
+ return (0, utils_1.return_error)(error instanceof Error ? error : new Error(String(error)));
78
+ }
79
+ }
80
+ catch (error) {
81
+ return (0, utils_1.return_error)(error);
82
+ }
83
+ }
84
+ //# sourceMappingURL=handleGetObjectVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleGetObjectVersions.js","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/handleGetObjectVersions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAiDH,0DAqEC;AApHD,yDAA+D;AAC/D,kDAAuD;AAEvD,8CAI4B;AAC5B,qEAGkC;AAErB,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,8MAA8M;IAChN,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,CAAC,GAAG,+CAAsB,CAAC;aAClC;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,iEAAiE;aACpE;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBAC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4B,IAAI,CAAC,WAAW,EAAE,CAAC,CAC1D,CAAC;QACJ,CAAC;QAED,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YACjE,OAAO,IAAA,uBAAe,EAAC;gBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;oBACE,OAAO,EAAE,IAAI;oBACb,WAAW;oBACX,WAAW,EAAE,WAAW,CAAC,WAAW,EAAE;oBACtC,QAAQ;iBACT,EACD,IAAI,EACJ,CAAC,CACF;aACe,CAAC,CAAC;QACtB,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,IAAI,KAAK,EAAE,IAAI,KAAK,gCAAmB,CAAC,qBAAqB,EAAE,CAAC;gBAC9D,OAAO,IAAA,oBAAY,EACjB,IAAI,KAAK,CACP,qDAAqD,WAAW,MAAM,WAAW,IAAI,CACtF,CACF,CAAC;YACJ,CAAC;YACD,OAAO,IAAA,oBAAY,EACjB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAC1D,CAAC;QACJ,CAAC;IACH,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Shared object_type → IAdtObject resolver for the read-only version-history
3
+ * handlers (GetObjectVersions / GetObjectVersionSource).
4
+ *
5
+ * Mirrors the switch in handleLockObject EXACTLY: the SAME object_type values,
6
+ * the SAME client.getX() accessors, and the SAME config name keys. Instead of
7
+ * calling .lock(...), callers use the returned IAdtObject to call
8
+ * .getVersions(config) / .getVersionSource(contentUri).
9
+ */
10
+ import type { AdtClient } from '@mcp-abap-adt/adt-clients';
11
+ import type { IAdtObject } from '@mcp-abap-adt/interfaces';
12
+ /** object_type values supported for version history (same set as LockObject). */
13
+ export declare const VERSIONED_OBJECT_TYPES: readonly ["class", "program", "interface", "function_group", "function_module", "table", "structure", "ddl", "domain", "data_element", "package", "behavior_definition", "metadata_extension"];
14
+ export interface ResolvedVersionedObject {
15
+ /** The IAdtObject instance to call getVersions/getVersionSource on. */
16
+ obj: IAdtObject<any, any>;
17
+ /** Identity config to pass to getVersions(config). */
18
+ config: Record<string, unknown>;
19
+ }
20
+ /**
21
+ * Resolve an object_type + name into an IAdtObject instance and its identity
22
+ * config. Returns null for an unknown object_type (caller emits the error).
23
+ *
24
+ * @throws Error for a malformed function_module identity (missing group name).
25
+ */
26
+ export declare function resolveVersionedObject(client: AdtClient, objectType: string, objectName: string, functionGroupName?: string): ResolvedVersionedObject | null;
27
+ //# sourceMappingURL=resolveVersionedObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveVersionedObject.d.ts","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/resolveVersionedObject.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,gMAczB,CAAC;AAEX,MAAM,WAAW,uBAAuB;IACtC,uEAAuE;IACvE,GAAG,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC1B,sDAAsD;IACtD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,EACjB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,iBAAiB,CAAC,EAAE,MAAM,GACzB,uBAAuB,GAAG,IAAI,CAyDhC"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /**
3
+ * Shared object_type → IAdtObject resolver for the read-only version-history
4
+ * handlers (GetObjectVersions / GetObjectVersionSource).
5
+ *
6
+ * Mirrors the switch in handleLockObject EXACTLY: the SAME object_type values,
7
+ * the SAME client.getX() accessors, and the SAME config name keys. Instead of
8
+ * calling .lock(...), callers use the returned IAdtObject to call
9
+ * .getVersions(config) / .getVersionSource(contentUri).
10
+ */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.VERSIONED_OBJECT_TYPES = void 0;
13
+ exports.resolveVersionedObject = resolveVersionedObject;
14
+ /** object_type values supported for version history (same set as LockObject). */
15
+ exports.VERSIONED_OBJECT_TYPES = [
16
+ 'class',
17
+ 'program',
18
+ 'interface',
19
+ 'function_group',
20
+ 'function_module',
21
+ 'table',
22
+ 'structure',
23
+ 'ddl',
24
+ 'domain',
25
+ 'data_element',
26
+ 'package',
27
+ 'behavior_definition',
28
+ 'metadata_extension',
29
+ ];
30
+ /**
31
+ * Resolve an object_type + name into an IAdtObject instance and its identity
32
+ * config. Returns null for an unknown object_type (caller emits the error).
33
+ *
34
+ * @throws Error for a malformed function_module identity (missing group name).
35
+ */
36
+ function resolveVersionedObject(client, objectType, objectName, functionGroupName) {
37
+ const name = objectName.toUpperCase();
38
+ switch (objectType) {
39
+ case 'class':
40
+ return { obj: client.getClass(), config: { className: name } };
41
+ case 'program':
42
+ return { obj: client.getProgram(), config: { programName: name } };
43
+ case 'interface':
44
+ return { obj: client.getInterface(), config: { interfaceName: name } };
45
+ case 'function_group':
46
+ return {
47
+ obj: client.getFunctionGroup(),
48
+ config: { functionGroupName: name },
49
+ };
50
+ case 'function_module': {
51
+ // Identity is the FM name + its owning function group. The group can be
52
+ // passed explicitly (function_group_name) or via GROUP|FM_NAME, as the
53
+ // lock handler accepts.
54
+ let groupName = functionGroupName?.toUpperCase();
55
+ let fmName = name;
56
+ if (name.includes('|')) {
57
+ const [g, fm] = name.split('|');
58
+ groupName = (functionGroupName?.toUpperCase() || g).toUpperCase();
59
+ fmName = fm;
60
+ }
61
+ if (!groupName) {
62
+ throw new Error('function_group_name is required for function_module (or use GROUP|FM_NAME).');
63
+ }
64
+ return {
65
+ obj: client.getFunctionModule(),
66
+ config: { functionGroupName: groupName, functionModuleName: fmName },
67
+ };
68
+ }
69
+ case 'table':
70
+ return { obj: client.getTable(), config: { tableName: name } };
71
+ case 'structure':
72
+ return { obj: client.getStructure(), config: { structureName: name } };
73
+ case 'ddl':
74
+ return { obj: client.getDdl(), config: { ddlName: name } };
75
+ case 'domain':
76
+ return { obj: client.getDomain(), config: { domainName: name } };
77
+ case 'data_element':
78
+ return {
79
+ obj: client.getDataElement(),
80
+ config: { dataElementName: name },
81
+ };
82
+ case 'behavior_definition':
83
+ return { obj: client.getBehaviorDefinition(), config: { name } };
84
+ case 'metadata_extension':
85
+ return { obj: client.getMetadataExtension(), config: { name } };
86
+ case 'package':
87
+ return { obj: client.getPackage(), config: { packageName: name } };
88
+ default:
89
+ return null;
90
+ }
91
+ }
92
+ //# sourceMappingURL=resolveVersionedObject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveVersionedObject.js","sourceRoot":"","sources":["../../../../src/handlers/common/readonly/resolveVersionedObject.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;;AAmCH,wDA8DC;AA5FD,iFAAiF;AACpE,QAAA,sBAAsB,GAAG;IACpC,OAAO;IACP,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,iBAAiB;IACjB,OAAO;IACP,WAAW;IACX,KAAK;IACL,QAAQ;IACR,cAAc;IACd,SAAS;IACT,qBAAqB;IACrB,oBAAoB;CACZ,CAAC;AASX;;;;;GAKG;AACH,SAAgB,sBAAsB,CACpC,MAAiB,EACjB,UAAkB,EAClB,UAAkB,EAClB,iBAA0B;IAE1B,MAAM,IAAI,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;IACtC,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,OAAO;YACV,OAAO,EAAE,GA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AAO;YACV,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,CAAC;QACjE,KAAK,WAAW;YACd,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,CAAC;QACzE,KAAK,KAAK;YACR,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC;QAC7D,KAAK,QAAQ;YACX,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;QACnE,KAAK,cAAc;YACjB,OAAO;gBACL,GAAG,EAAE,MAAM,CAAC,cAAc,EAAE;gBAC5B,MAAM,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE;aAClC,CAAC;QACJ,KAAK,qBAAqB;YACxB,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;QACnE,KAAK,oBAAoB;YACvB,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,CAAC;QAClE,KAAK,SAAS;YACZ,OAAO,EAAE,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,CAAC;QACrE;YACE,OAAO,IAAI,CAAC;IAChB,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"handleGetStructuresList.d.ts","sourceRoot":"","sources":["../../../../src/handlers/structure/readonly/handleGetStructuresList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BlB,CAAC;AAWX,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,EAAE,CAmDrE;AAcD,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IACJ,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;;;;;;GAiKF"}
1
+ {"version":3,"file":"handleGetStructuresList.d.ts","sourceRoot":"","sources":["../../../../src/handlers/structure/readonly/handleGetStructuresList.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAOvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BlB,CAAC;AAWX,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,EAAE,CAmDrE;AAcD,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE;IACJ,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;;;;;;GAkMF"}
@@ -113,6 +113,10 @@ async function handleGetStructuresList(context, args) {
113
113
  try {
114
114
  const { structure_name, version = 'active' } = args;
115
115
  const includeExtensions = args.include_extensions !== false;
116
+ // Set when the append where-used lookup fails for every resolved
117
+ // object_type, so the response can flag that appends could not be
118
+ // determined (≠ "no appends"). #128
119
+ let appendsUnavailable = false;
116
120
  if (!structure_name)
117
121
  return (0, utils_1.return_error)(new Error('structure_name is required'));
118
122
  const client = (0, clients_1.createAdtClient)(connection, logger);
@@ -154,21 +158,43 @@ async function handleGetStructuresList(context, args) {
154
158
  const findExtensions = async (baseName) => {
155
159
  if (!includeExtensions)
156
160
  return [];
157
- // Use getWhereUsedList with enableAllTypes: the DEFAULT where-used scope
158
- // leaves some object types unselected, so an extension's type may be
159
- // excluded and the search returns nothing useful. enableAllTypes selects
160
- // every type, and the result is already parsed into { name, type } refs.
161
+ // Scope the where-used search to append structures only
162
+ // (enableOnlyTypes: ['TABL/DS']). where-used caps the number of returned
163
+ // records, so with the default/all-types scope a heavily-used base has
164
+ // its append (structure) records crowded out by other reference types and
165
+ // dropped → 0 appends. Restricting the search to TABL/DS server-side keeps
166
+ // the appends within the cap. An append is always a structure (TABL/DS),
167
+ // not a table, so TABL/DS is the only type we need here.
168
+ //
169
+ // The base may be defined as a structure OR a table; where-used needs the
170
+ // matching object_type to build the URI (a structures URI 404s for a table
171
+ // and vice-versa). adt-clients deliberately does not auto-fallback (it
172
+ // would hide a wrong object_type), so resolve it here like readDdl does:
173
+ // try 'structure', fall back to 'table'. (#128, adt-clients #54)
161
174
  let references = [];
162
- try {
163
- const wu = await utils.getWhereUsedList({
164
- object_name: baseName,
165
- object_type: 'structure',
166
- enableAllTypes: true,
167
- });
168
- references = (wu?.references ?? []);
175
+ let resolved = false;
176
+ let lastErr;
177
+ for (const objectType of ['structure', 'table']) {
178
+ try {
179
+ const wu = await utils.getWhereUsedList({
180
+ object_name: baseName,
181
+ object_type: objectType,
182
+ enableOnlyTypes: ['TABL/DS'],
183
+ });
184
+ references = (wu?.references ?? []);
185
+ resolved = true;
186
+ break;
187
+ }
188
+ catch (e) {
189
+ lastErr = e;
190
+ }
169
191
  }
170
- catch (e) {
171
- logger?.warn(`where-used failed for ${baseName}: ${e?.message ?? String(e)}`);
192
+ if (!resolved) {
193
+ // Do NOT swallow the failure into an empty result — flag the response
194
+ // as degraded so callers can tell "could not determine appends" apart
195
+ // from "no appends".
196
+ appendsUnavailable = true;
197
+ logger?.warn(`where-used failed for ${baseName}: ${lastErr?.message ?? String(lastErr)}`);
172
198
  return [];
173
199
  }
174
200
  // Candidate referencing DDIC structures/tables (TABL/*), excluding self.
@@ -239,6 +265,11 @@ async function handleGetStructuresList(context, args) {
239
265
  data: JSON.stringify({
240
266
  success: true,
241
267
  structure_name: rootName,
268
+ // True when a where-used lookup failed, so appends could not be
269
+ // determined and the tree may be missing them (≠ "no appends"). #128
270
+ ...(includeExtensions && appendsUnavailable
271
+ ? { appends_unavailable: true }
272
+ : {}),
242
273
  tree,
243
274
  }, null, 2),
244
275
  });
@@ -1 +1 @@
1
- {"version":3,"file":"handleGetStructuresList.js","sourceRoot":"","sources":["../../../../src/handlers/structure/readonly/handleGetStructuresList.ts"],"names":[],"mappings":";;;AAoEA,0DAmDC;AAcD,0DAwKC;AA7SD,kDAAuD;AAEvD,8CAI4B;AAEf,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,2GAA2G;IAC7G,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;gBAC5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CAAC;gBAEtB,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC5C,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;oBACxB,IAAI,CAAC,KAAK,GAAG,6BAA6B,GAAG,CAAC,IAAI,EAAE,CAAC;gBACvD,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,QAAQ,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAC7D,CAAC;gBAED,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,OAAO,QAAQ,CAAC;QAClB,CAAC,CAAC;QAEF,MAAM,IAAI,GAAkB;YAC1B,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,MAAM,aAAa,CAAC,QAAQ,EAAE,UAAU,CAAC;SACpD,CAAC;QAEF,OAAO,IAAA,uBAAe,EAAC;YACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;gBACE,OAAO,EAAE,IAAI;gBACb,cAAc,EAAE,QAAQ;gBACxB,IAAI;aACL,EACD,IAAI,EACJ,CAAC,CACF;SACe,CAAC,CAAC;IACtB,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,IAAA,oBAAY,EAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"handleGetStructuresList.js","sourceRoot":"","sources":["../../../../src/handlers/structure/readonly/handleGetStructuresList.ts"],"names":[],"mappings":";;;AAoEA,0DAmDC;AAcD,0DAyMC;AA9UD,kDAAuD;AAEvD,8CAI4B;AAEf,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,mBAAmB;IACzB,YAAY,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU;IACpD,WAAW,EACT,2GAA2G;IAC7G,WAAW,EAAE;QACX,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,IAAI,YAAY,EAAE;IAM7B,OAAO,CAAC,aAAa;CA6HtB"}
1
+ {"version":3,"file":"ReadOnlyHandlersGroup.d.ts","sourceRoot":"","sources":["../../../../src/lib/handlers/groups/ReadOnlyHandlersGroup.ts"],"names":[],"mappings":"AA4HA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;GASG;AACH,qBAAa,qBAAsB,SAAQ,gBAAgB;IACzD,SAAS,CAAC,SAAS,SAAsB;IACzC,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;gBAGrD,OAAO,EAAE,cAAc,EACvB,mBAAmB,GAAE,WAAW,CAAC,MAAM,CAAa,EACpD,aAAa,GAAE,sBAA8C;IAO/D;;OAEG;IACH,WAAW,IAAI,YAAY,EAAE;IAM7B,OAAO,CAAC,aAAa;CAsItB"}
@@ -4,6 +4,8 @@ exports.ReadOnlyHandlersGroup = void 0;
4
4
  const handleReadBehaviorDefinition_1 = require("../../../handlers/behavior_definition/readonly/handleReadBehaviorDefinition");
5
5
  const handleReadBehaviorImplementation_1 = require("../../../handlers/behavior_implementation/readonly/handleReadBehaviorImplementation");
6
6
  const handleReadClass_1 = require("../../../handlers/class/readonly/handleReadClass");
7
+ const handleGetObjectVersionSource_1 = require("../../../handlers/common/readonly/handleGetObjectVersionSource");
8
+ const handleGetObjectVersions_1 = require("../../../handlers/common/readonly/handleGetObjectVersions");
7
9
  const handleReadDataElement_1 = require("../../../handlers/data_element/readonly/handleReadDataElement");
8
10
  const handleReadDdl_1 = require("../../../handlers/ddl/readonly/handleReadDdl");
9
11
  const handleReadDomain_1 = require("../../../handlers/domain/readonly/handleReadDomain");
@@ -121,6 +123,14 @@ class ReadOnlyHandlersGroup extends BaseHandlerGroup_js_1.BaseHandlerGroup {
121
123
  toolDefinition: handleGetStructuresList_1.TOOL_DEFINITION,
122
124
  handler: (args) => (0, handleGetStructuresList_1.handleGetStructuresList)(this.context, args),
123
125
  },
126
+ {
127
+ toolDefinition: handleGetObjectVersions_1.TOOL_DEFINITION,
128
+ handler: (args) => (0, handleGetObjectVersions_1.handleGetObjectVersions)(this.context, args),
129
+ },
130
+ {
131
+ toolDefinition: handleGetObjectVersionSource_1.TOOL_DEFINITION,
132
+ handler: (args) => (0, handleGetObjectVersionSource_1.handleGetObjectVersionSource)(this.context, args),
133
+ },
124
134
  {
125
135
  toolDefinition: handleReadDdl_1.TOOL_DEFINITION,
126
136
  handler: (args) => (0, handleReadDdl_1.handleReadDdl)(this.context, args),
@@ -1 +1 @@
1
- {"version":3,"file":"ReadOnlyHandlersGroup.js","sourceRoot":"","sources":["../../../../src/lib/handlers/groups/ReadOnlyHandlersGroup.ts"],"names":[],"mappings":";;;AAAA,8HAGqF;AACrF,0IAG6F;AAC7F,sFAG0D;AAC1D,yGAGuE;AACvE,gFAGsD;AACtD,yFAG4D;AAC5D,8GAGyE;AACzE,8GAGyE;AACzE,wGAGsE;AACtE,+GAG2E;AAC3E,iIAGqF;AACrF,qHAG+E;AAC/E,qHAG+E;AAC/E,kHAG6E;AAC7E,0FAG6D;AAC7D,oGAGkE;AAClE,kGAGkE;AAClE,2HAGmF;AACnF,0GAGqE;AACrE,4FAG8D;AAC9D,4FAG8D;AAC9D,kHAG6E;AAC7E,2HAGmF;AACnF,0GAGsE;AACtE,kGAGkE;AAClE,oGAGiE;AACjE,sFAG0D;AAC1D,gGAGiE;AACjE,oGAGmE;AACnE,qEAA+D;AAE/D,oDAG+B;AAE/B;;;;;;;;;GASG;AACH,MAAa,qBAAsB,SAAQ,sCAAgB;IAC/C,SAAS,GAAG,kBAAkB,CAAC;IACxB,mBAAmB,CAAsB;IACzC,aAAa,CAAyB;IAEvD,YACE,OAAu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EAAE,CAAC,IAAA,iDAAuB,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACpE;YACD;gBACE,cAAc,EAAE,mCAAgB;gBAChC,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAA,qCAAiB,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aAC9D;YACD;gBACE,cAAc,EAAE,6CAA0B;gBAC1C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAA,yDAA2B,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACxE;YACD;gBACE,cAAc,EAAE,6CAA0B;gBAC1C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAA,yDAA2B,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACxE;YACD;gBACE,cAAc,EAAE,8CAA2B;gBAC3C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CACrB,IAAA,2DAA4B,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACnD;YACD;gBACE,cAAc,EAAE,kDAA+B;gBAC/C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CACrB,IAAA,mEAAgC,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACvD;YACD;gBACE,cAAc,EAAE,0CAAuB;gBACvC,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAA,mDAAwB,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACrE;SACF,CAAC;IACJ,CAAC;CACF;AArJD,sDAqJC"}
1
+ {"version":3,"file":"ReadOnlyHandlersGroup.js","sourceRoot":"","sources":["../../../../src/lib/handlers/groups/ReadOnlyHandlersGroup.ts"],"names":[],"mappings":";;;AAAA,8HAGqF;AACrF,0IAG6F;AAC7F,sFAG0D;AAC1D,iHAGwE;AACxE,uGAGmE;AACnE,yGAGuE;AACvE,gFAGsD;AACtD,yFAG4D;AAC5D,8GAGyE;AACz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AC,IAAA,yDAA2B,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACxE;YACD;gBACE,cAAc,EAAE,8CAA2B;gBAC3C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CACrB,IAAA,2DAA4B,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACnD;YACD;gBACE,cAAc,EAAE,kDAA+B;gBAC/C,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CACrB,IAAA,mEAAgC,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACvD;YACD;gBACE,cAAc,EAAE,0CAAuB;gBACvC,OAAO,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAA,mDAAwB,EAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC;aACrE;SACF,CAAC;IACJ,CAAC;CACF;AA9JD,sDA8JC"}
@@ -4,8 +4,8 @@ Generated from code in `src/handlers/**` (not from docs).
4
4
 
5
5
  ## Summary
6
6
 
7
- - Total tools: 313
8
- - Read-only tools: 59
7
+ - Total tools: 315
8
+ - Read-only tools: 61
9
9
  - High-level tools: 130
10
10
  - Low-level tools: 124
11
11
 
@@ -28,6 +28,9 @@ Generated from code in `src/handlers/**` (not from docs).
28
28
  - [ReadBehaviorImplementation](#readbehaviorimplementation-read-only-behavior-implementation)
29
29
  - [Class](#read-only-class)
30
30
  - [ReadClass](#readclass-read-only-class)
31
+ - [Common](#read-only-common)
32
+ - [GetObjectVersions](#getobjectversions-read-only-common)
33
+ - [GetObjectVersionSource](#getobjectversionsource-read-only-common)
31
34
  - [Data Element](#read-only-data-element)
32
35
  - [ReadDataElement](#readdataelement-read-only-data-element)
33
36
  - [Ddl](#read-only-ddl)
@@ -452,6 +455,34 @@ Generated from code in `src/handlers/**` (not from docs).
452
455
 
453
456
  ---
454
457
 
458
+ <a id="read-only-common"></a>
459
+ ### Read-Only / Common
460
+
461
+ <a id="getobjectversions-read-only-common"></a>
462
+ #### GetObjectVersions (Read-Only / Common)
463
+ **Description:** [read-only] List the version history of an ABAP object. Returns each version with its versionId, author, updatedAt, title and an opaque content_uri to fetch that version source via GetObjectVersionSource.
464
+
465
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersions.ts`
466
+
467
+ **Parameters:**
468
+ - `function_group_name` (string, optional) - Owning function group name. Required when object_type is function_module.
469
+ - `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS, ZIF_MY_INTERFACE, Z_MY_TABLE).
470
+ - `object_type` (string, required) - Object type.
471
+
472
+ ---
473
+
474
+ <a id="getobjectversionsource-read-only-common"></a>
475
+ #### GetObjectVersionSource (Read-Only / Common)
476
+ **Description:** [read-only] Fetch the source code of a specific object version. Pass the opaque content_uri from a GetObjectVersions entry.
477
+
478
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersionSource.ts`
479
+
480
+ **Parameters:**
481
+ - `content_uri` (string, required) - Opaque content_uri taken from a GetObjectVersions version entry.
482
+ - `object_type` (string, required) - Object type (same value used in GetObjectVersions).
483
+
484
+ ---
485
+
455
486
  <a id="read-only-data-element"></a>
456
487
  ### Read-Only / Data Element
457
488
 
@@ -1298,6 +1329,7 @@ Generated from code in `src/handlers/**` (not from docs).
1298
1329
  - `activate` (boolean, optional) - Activate after creation. Default: true
1299
1330
  - `description` (string, optional) - Description
1300
1331
  - `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection'
1332
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1301
1333
  - `name` (string, required) - Behavior Definition name (usually same as Root Entity name)
1302
1334
  - `package_name` (string, required) - Package name
1303
1335
  - `root_entity` (string, required) - Root Entity name (CDS View name)
@@ -1429,6 +1461,7 @@ Generated from code in `src/handlers/**` (not from docs).
1429
1461
  - `create_protected` (boolean, optional) - Protected constructor. Default: false
1430
1462
  - `description` (string, optional) - Class description (defaults to class_name).
1431
1463
  - `final` (boolean, optional) - Mark class as final. Default: false
1464
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1432
1465
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
1433
1466
  - `superclass` (string, optional) - Optional superclass name.
1434
1467
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
@@ -2117,6 +2150,7 @@ Generated from code in `src/handlers/**` (not from docs).
2117
2150
  - `heading_label` (string, optional) - Heading field label (max 55 chars). Applied during update step after creation.
2118
2151
  - `length` (number, optional (default: 100)) - Data type length. Usually inherited from domain.
2119
2152
  - `long_label` (string, optional) - Long field label (max 40 chars). Applied during update step after creation.
2153
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2120
2154
  - `medium_label` (string, optional) - Medium field label (max 20 chars). Applied during update step after creation.
2121
2155
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
2122
2156
  - `search_help` (string, optional) - Search help name. Applied during update step after creation.
@@ -2205,6 +2239,7 @@ Generated from code in `src/handlers/**` (not from docs).
2205
2239
  **Parameters:**
2206
2240
  - `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
2207
2241
  - `description` (string, optional) - Optional description (defaults to ddl_name).
2242
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2208
2243
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
2209
2244
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
2210
2245
 
@@ -2271,6 +2306,7 @@ Generated from code in `src/handlers/**` (not from docs).
2271
2306
  **Parameters:**
2272
2307
  - `activate` (boolean, optional) - Activate after creation. Default: true
2273
2308
  - `description` (string, optional) - Description
2309
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2274
2310
  - `name` (string, required) - Metadata Extension name
2275
2311
  - `package_name` (string, required) - Package name
2276
2312
  - `transport_request` (string, optional) - Transport request number
@@ -2322,6 +2358,7 @@ Generated from code in `src/handlers/**` (not from docs).
2322
2358
  - `fixed_values` (array, optional) - (optional) Array of fixed values for domain value range
2323
2359
  - `length` (number, optional (default: 100)) - (optional) Field length (max depends on datatype)
2324
2360
  - `lowercase` (boolean, optional (default: false)) - (optional) Allow lowercase input
2361
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2325
2362
  - `package_name` (string, optional) - (optional) Package name (e.g., ZOK_LOCAL, $TMP for local objects)
2326
2363
  - `sign_exists` (boolean, optional (default: false)) - (optional) Field has sign (+/-)
2327
2364
  - `transport_request` (string, optional) - (optional) Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -2413,6 +2450,7 @@ Generated from code in `src/handlers/**` (not from docs).
2413
2450
  - `activate` (boolean, optional) - Activate function group after creation. Default: true. Set to false for batch operations.
2414
2451
  - `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
2415
2452
  - `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must follow SAP naming conventions (start with Z or Y, max 26 chars).
2453
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2416
2454
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
2417
2455
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
2418
2456
 
@@ -2584,6 +2622,7 @@ Generated from code in `src/handlers/**` (not from docs).
2584
2622
  **Parameters:**
2585
2623
  - `description` (string, optional) - Interface description. If not provided, interface_name will be used.
2586
2624
  - `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
2625
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2587
2626
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
2588
2627
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
2589
2628
 
@@ -2715,6 +2754,7 @@ Generated from code in `src/handlers/**` (not from docs).
2715
2754
  **Parameters:**
2716
2755
  - `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
2717
2756
  - `description` (string, optional) - Program description. If not provided, program_name will be used.
2757
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2718
2758
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
2719
2759
  - `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
2720
2760
  - `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
@@ -2773,6 +2813,7 @@ Generated from code in `src/handlers/**` (not from docs).
2773
2813
  - `activate` (boolean, optional (default: true)) - Activate service binding after create. Default: true.
2774
2814
  - `binding_variant` (string, optional (default: ODATA_V4_UI)) - Service binding variant. ODATA_V4_UI = OData V4 for Fiori Elements, ODATA_V4_WEB_API = OData V4 Web API, ODATA_V2_UI = OData V2 for Fiori Elements, ODATA_V2_WEB_API = OData V2 Web API.
2775
2815
  - `description` (string, optional) - Optional description. Defaults to service_binding_name when omitted.
2816
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2776
2817
  - `package_name` (string, required) - ABAP package name.
2777
2818
  - `response_format` (string, optional (default: xml)) -
2778
2819
  - `service_binding_name` (string, required) - Service binding name.
@@ -2862,6 +2903,7 @@ Generated from code in `src/handlers/**` (not from docs).
2862
2903
  **Parameters:**
2863
2904
  - `activate` (boolean, optional) - Activate service definition after creation. Default: true.
2864
2905
  - `description` (string, optional) - Service definition description. If not provided, service_definition_name will be used.
2906
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2865
2907
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
2866
2908
  - `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
2867
2909
  - `source_code` (string, optional) - Service definition source code (optional). If not provided, a minimal template will be created.
@@ -2934,6 +2976,7 @@ Generated from code in `src/handlers/**` (not from docs).
2934
2976
  - `description` (string, optional) - Structure description. If not provided, structure_name will be used.
2935
2977
  - `fields` (array, required (default: 0)) - Array of structure fields
2936
2978
  - `includes` (array, optional) - Include other structures in this structure
2979
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
2937
2980
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
2938
2981
  - `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Must follow SAP naming conventions.
2939
2982
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -3020,6 +3063,7 @@ Generated from code in `src/handlers/**` (not from docs).
3020
3063
 
3021
3064
  **Parameters:**
3022
3065
  - `description` (string, optional) - Table description for validation and creation.
3066
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
3023
3067
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
3024
3068
  - `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.
3025
3069
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -5088,4 +5132,4 @@ Generated from code in `src/handlers/**` (not from docs).
5088
5132
 
5089
5133
  ---
5090
5134
 
5091
- *Last updated: 2026-06-26*
5135
+ *Last updated: 2026-06-28*
@@ -596,4 +596,4 @@ Preferred dedicated compact tools and minimal payloads:
596
596
 
597
597
  ---
598
598
 
599
- *Last updated: 2026-06-26*
599
+ *Last updated: 2026-06-28*
@@ -192,6 +192,7 @@ Generated from code in `src/handlers/**` (not from docs).
192
192
  - `activate` (boolean, optional) - Activate after creation. Default: true
193
193
  - `description` (string, optional) - Description
194
194
  - `implementation_type` (string, required) - Implementation type: 'Managed', 'Unmanaged', 'Abstract', 'Projection'
195
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
195
196
  - `name` (string, required) - Behavior Definition name (usually same as Root Entity name)
196
197
  - `package_name` (string, required) - Package name
197
198
  - `root_entity` (string, required) - Root Entity name (CDS View name)
@@ -323,6 +324,7 @@ Generated from code in `src/handlers/**` (not from docs).
323
324
  - `create_protected` (boolean, optional) - Protected constructor. Default: false
324
325
  - `description` (string, optional) - Class description (defaults to class_name).
325
326
  - `final` (boolean, optional) - Mark class as final. Default: false
327
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
326
328
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
327
329
  - `superclass` (string, optional) - Optional superclass name.
328
330
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
@@ -1011,6 +1013,7 @@ Generated from code in `src/handlers/**` (not from docs).
1011
1013
  - `heading_label` (string, optional) - Heading field label (max 55 chars). Applied during update step after creation.
1012
1014
  - `length` (number, optional (default: 100)) - Data type length. Usually inherited from domain.
1013
1015
  - `long_label` (string, optional) - Long field label (max 40 chars). Applied during update step after creation.
1016
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1014
1017
  - `medium_label` (string, optional) - Medium field label (max 20 chars). Applied during update step after creation.
1015
1018
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
1016
1019
  - `search_help` (string, optional) - Search help name. Applied during update step after creation.
@@ -1099,6 +1102,7 @@ Generated from code in `src/handlers/**` (not from docs).
1099
1102
  **Parameters:**
1100
1103
  - `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
1101
1104
  - `description` (string, optional) - Optional description (defaults to ddl_name).
1105
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1102
1106
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1103
1107
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
1104
1108
 
@@ -1165,6 +1169,7 @@ Generated from code in `src/handlers/**` (not from docs).
1165
1169
  **Parameters:**
1166
1170
  - `activate` (boolean, optional) - Activate after creation. Default: true
1167
1171
  - `description` (string, optional) - Description
1172
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1168
1173
  - `name` (string, required) - Metadata Extension name
1169
1174
  - `package_name` (string, required) - Package name
1170
1175
  - `transport_request` (string, optional) - Transport request number
@@ -1216,6 +1221,7 @@ Generated from code in `src/handlers/**` (not from docs).
1216
1221
  - `fixed_values` (array, optional) - (optional) Array of fixed values for domain value range
1217
1222
  - `length` (number, optional (default: 100)) - (optional) Field length (max depends on datatype)
1218
1223
  - `lowercase` (boolean, optional (default: false)) - (optional) Allow lowercase input
1224
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1219
1225
  - `package_name` (string, optional) - (optional) Package name (e.g., ZOK_LOCAL, $TMP for local objects)
1220
1226
  - `sign_exists` (boolean, optional (default: false)) - (optional) Field has sign (+/-)
1221
1227
  - `transport_request` (string, optional) - (optional) Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -1307,6 +1313,7 @@ Generated from code in `src/handlers/**` (not from docs).
1307
1313
  - `activate` (boolean, optional) - Activate function group after creation. Default: true. Set to false for batch operations.
1308
1314
  - `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
1309
1315
  - `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must follow SAP naming conventions (start with Z or Y, max 26 chars).
1316
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1310
1317
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1311
1318
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
1312
1319
 
@@ -1478,6 +1485,7 @@ Generated from code in `src/handlers/**` (not from docs).
1478
1485
  **Parameters:**
1479
1486
  - `description` (string, optional) - Interface description. If not provided, interface_name will be used.
1480
1487
  - `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
1488
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1481
1489
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1482
1490
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
1483
1491
 
@@ -1609,6 +1617,7 @@ Generated from code in `src/handlers/**` (not from docs).
1609
1617
  **Parameters:**
1610
1618
  - `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
1611
1619
  - `description` (string, optional) - Program description. If not provided, program_name will be used.
1620
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1612
1621
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1613
1622
  - `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
1614
1623
  - `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
@@ -1667,6 +1676,7 @@ Generated from code in `src/handlers/**` (not from docs).
1667
1676
  - `activate` (boolean, optional (default: true)) - Activate service binding after create. Default: true.
1668
1677
  - `binding_variant` (string, optional (default: ODATA_V4_UI)) - Service binding variant. ODATA_V4_UI = OData V4 for Fiori Elements, ODATA_V4_WEB_API = OData V4 Web API, ODATA_V2_UI = OData V2 for Fiori Elements, ODATA_V2_WEB_API = OData V2 Web API.
1669
1678
  - `description` (string, optional) - Optional description. Defaults to service_binding_name when omitted.
1679
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1670
1680
  - `package_name` (string, required) - ABAP package name.
1671
1681
  - `response_format` (string, optional (default: xml)) -
1672
1682
  - `service_binding_name` (string, required) - Service binding name.
@@ -1756,6 +1766,7 @@ Generated from code in `src/handlers/**` (not from docs).
1756
1766
  **Parameters:**
1757
1767
  - `activate` (boolean, optional) - Activate service definition after creation. Default: true.
1758
1768
  - `description` (string, optional) - Service definition description. If not provided, service_definition_name will be used.
1769
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1759
1770
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
1760
1771
  - `service_definition_name` (string, required) - Service definition name (e.g., ZSD_MY_SERVICE). Must follow SAP naming conventions (start with Z or Y).
1761
1772
  - `source_code` (string, optional) - Service definition source code (optional). If not provided, a minimal template will be created.
@@ -1828,6 +1839,7 @@ Generated from code in `src/handlers/**` (not from docs).
1828
1839
  - `description` (string, optional) - Structure description. If not provided, structure_name will be used.
1829
1840
  - `fields` (array, required (default: 0)) - Array of structure fields
1830
1841
  - `includes` (array, optional) - Include other structures in this structure
1842
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1831
1843
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
1832
1844
  - `structure_name` (string, required) - Structure name (e.g., ZZ_S_TEST_001). Must follow SAP naming conventions.
1833
1845
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -1914,6 +1926,7 @@ Generated from code in `src/handlers/**` (not from docs).
1914
1926
 
1915
1927
  **Parameters:**
1916
1928
  - `description` (string, optional) - Table description for validation and creation.
1929
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1917
1930
  - `package_name` (string, required) - Package name (e.g., ZOK_LOCAL, $TMP for local objects)
1918
1931
  - `table_name` (string, required) - Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.
1919
1932
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
@@ -2144,4 +2157,4 @@ Generated from code in `src/handlers/**` (not from docs).
2144
2157
 
2145
2158
  ---
2146
2159
 
2147
- *Last updated: 2026-06-26*
2160
+ *Last updated: 2026-06-28*
@@ -5,8 +5,8 @@ Generated from code in `src/handlers/**` (not from docs).
5
5
  Tools available on legacy SAP systems (BASIS < 7.50).
6
6
  Legacy systems support a subset of tools — primarily Class, Interface, View, Program, Function Group/Module, Package (read/update/delete), Include, Unit Test, and common utilities.
7
7
 
8
- - Total tools: 141
9
- - Read-Only: 15
8
+ - Total tools: 143
9
+ - Read-Only: 17
10
10
  - High-Level: 65
11
11
  - Low-Level: 61
12
12
 
@@ -15,6 +15,9 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
15
15
  - [Read-Only Group](#read-only-group)
16
16
  - [Class](#read-only-class)
17
17
  - [ReadClass](#readclass-read-only-class)
18
+ - [Common](#read-only-common)
19
+ - [GetObjectVersions](#getobjectversions-read-only-common)
20
+ - [GetObjectVersionSource](#getobjectversionsource-read-only-common)
18
21
  - [Ddl](#read-only-ddl)
19
22
  - [ReadDdl](#readddl-read-only-ddl)
20
23
  - [Function Group](#read-only-function-group)
@@ -209,6 +212,38 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
209
212
 
210
213
  ---
211
214
 
215
+ <a id="read-only-common"></a>
216
+ ### Read-Only / Common
217
+
218
+ <a id="getobjectversions-read-only-common"></a>
219
+ #### GetObjectVersions (Read-Only / Common)
220
+ **Description:** [read-only] List the version history of an ABAP object. Returns each version with its versionId, author, updatedAt, title and an opaque content_uri to fetch that version source via GetObjectVersionSource.
221
+
222
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersions.ts`
223
+
224
+ **Available in:** `onprem`, `cloud`, `legacy`
225
+
226
+ **Parameters:**
227
+ - `function_group_name` (string, optional) - Owning function group name. Required when object_type is function_module.
228
+ - `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS, ZIF_MY_INTERFACE, Z_MY_TABLE).
229
+ - `object_type` (string, required) - Object type.
230
+
231
+ ---
232
+
233
+ <a id="getobjectversionsource-read-only-common"></a>
234
+ #### GetObjectVersionSource (Read-Only / Common)
235
+ **Description:** [read-only] Fetch the source code of a specific object version. Pass the opaque content_uri from a GetObjectVersions entry.
236
+
237
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersionSource.ts`
238
+
239
+ **Available in:** `onprem`, `cloud`, `legacy`
240
+
241
+ **Parameters:**
242
+ - `content_uri` (string, required) - Opaque content_uri taken from a GetObjectVersions version entry.
243
+ - `object_type` (string, required) - Object type (same value used in GetObjectVersions).
244
+
245
+ ---
246
+
212
247
  <a id="read-only-ddl"></a>
213
248
  ### Read-Only / Ddl
214
249
 
@@ -471,6 +506,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
471
506
  - `create_protected` (boolean, optional) - Protected constructor. Default: false
472
507
  - `description` (string, optional) - Class description (defaults to class_name).
473
508
  - `final` (boolean, optional) - Mark class as final. Default: false
509
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
474
510
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP).
475
511
  - `superclass` (string, optional) - Optional superclass name.
476
512
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
@@ -910,6 +946,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
910
946
  **Parameters:**
911
947
  - `ddl_name` (string, required) - DDL source name (e.g., ZOK_R_TEST_0002, Z_I_MY_VIEW).
912
948
  - `description` (string, optional) - Optional description (defaults to ddl_name).
949
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
913
950
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
914
951
  - `transport_request` (string, optional) - Transport request number (required for transportable packages).
915
952
 
@@ -1002,6 +1039,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
1002
1039
  - `activate` (boolean, optional) - Activate function group after creation. Default: true. Set to false for batch operations.
1003
1040
  - `description` (string, optional) - Function group description. If not provided, function_group_name will be used.
1004
1041
  - `function_group_name` (string, required) - Function group name (e.g., ZTEST_FG_001). Must follow SAP naming conventions (start with Z or Y, max 26 chars).
1042
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1005
1043
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1006
1044
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
1007
1045
 
@@ -1197,6 +1235,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
1197
1235
  **Parameters:**
1198
1236
  - `description` (string, optional) - Interface description. If not provided, interface_name will be used.
1199
1237
  - `interface_name` (string, required) - Interface name (e.g., ZIF_TEST_INTERFACE_001). Must follow SAP naming conventions (start with Z or Y).
1238
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1200
1239
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1201
1240
  - `transport_request` (string, optional) - Transport request number (e.g., E19K905635). Required for transportable packages.
1202
1241
 
@@ -1304,6 +1343,7 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
1304
1343
  **Parameters:**
1305
1344
  - `application` (string, optional) - Application area (e.g., 'S' for System, 'M' for Materials Management). Default: '*'
1306
1345
  - `description` (string, optional) - Program description. If not provided, program_name will be used.
1346
+ - `master_language` (string, optional) - Optional master/original language for the created object (e.g. "EN", "DE", "ZH"). Defaults to the session language (SAP_LANGUAGE) or EN.
1307
1347
  - `package_name` (string, required) - Package name (e.g., ZOK_LAB, $TMP for local objects)
1308
1348
  - `program_name` (string, required) - Program name (e.g., Z_TEST_PROGRAM_001). Must follow SAP naming conventions (start with Z or Y).
1309
1349
  - `program_type` (string, optional) - Program type: 'executable' (Report), 'include', 'module_pool', 'function_group', 'class_pool', 'interface_pool'. Default: 'executable'
@@ -2564,4 +2604,4 @@ Legacy systems support a subset of tools — primarily Class, Interface, View, P
2564
2604
 
2565
2605
  ---
2566
2606
 
2567
- *Last updated: 2026-06-26*
2607
+ *Last updated: 2026-06-28*
@@ -1991,4 +1991,4 @@ Generated from code in `src/handlers/**` (not from docs).
1991
1991
 
1992
1992
  ---
1993
1993
 
1994
- *Last updated: 2026-06-26*
1994
+ *Last updated: 2026-06-28*
@@ -3,7 +3,7 @@
3
3
  Generated from code in `src/handlers/**` (not from docs).
4
4
 
5
5
  - Level: Read-Only
6
- - Total tools: 59
6
+ - Total tools: 61
7
7
 
8
8
  ## Navigation
9
9
 
@@ -14,6 +14,9 @@ Generated from code in `src/handlers/**` (not from docs).
14
14
  - [ReadBehaviorImplementation](#readbehaviorimplementation-read-only-behavior-implementation)
15
15
  - [Class](#read-only-class)
16
16
  - [ReadClass](#readclass-read-only-class)
17
+ - [Common](#read-only-common)
18
+ - [GetObjectVersions](#getobjectversions-read-only-common)
19
+ - [GetObjectVersionSource](#getobjectversionsource-read-only-common)
17
20
  - [Data Element](#read-only-data-element)
18
21
  - [ReadDataElement](#readdataelement-read-only-data-element)
19
22
  - [Ddl](#read-only-ddl)
@@ -140,6 +143,34 @@ Generated from code in `src/handlers/**` (not from docs).
140
143
 
141
144
  ---
142
145
 
146
+ <a id="read-only-common"></a>
147
+ ### Read-Only / Common
148
+
149
+ <a id="getobjectversions-read-only-common"></a>
150
+ #### GetObjectVersions (Read-Only / Common)
151
+ **Description:** [read-only] List the version history of an ABAP object. Returns each version with its versionId, author, updatedAt, title and an opaque content_uri to fetch that version source via GetObjectVersionSource.
152
+
153
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersions.ts`
154
+
155
+ **Parameters:**
156
+ - `function_group_name` (string, optional) - Owning function group name. Required when object_type is function_module.
157
+ - `object_name` (string, required) - Object name (e.g., ZCL_MY_CLASS, ZIF_MY_INTERFACE, Z_MY_TABLE).
158
+ - `object_type` (string, required) - Object type.
159
+
160
+ ---
161
+
162
+ <a id="getobjectversionsource-read-only-common"></a>
163
+ #### GetObjectVersionSource (Read-Only / Common)
164
+ **Description:** [read-only] Fetch the source code of a specific object version. Pass the opaque content_uri from a GetObjectVersions entry.
165
+
166
+ **Source:** `src/handlers/common/readonly/handleGetObjectVersionSource.ts`
167
+
168
+ **Parameters:**
169
+ - `content_uri` (string, required) - Opaque content_uri taken from a GetObjectVersions version entry.
170
+ - `object_type` (string, required) - Object type (same value used in GetObjectVersions).
171
+
172
+ ---
173
+
143
174
  <a id="read-only-data-element"></a>
144
175
  ### Read-Only / Data Element
145
176
 
@@ -959,4 +990,4 @@ Generated from code in `src/handlers/**` (not from docs).
959
990
 
960
991
  ---
961
992
 
962
- *Last updated: 2026-06-26*
993
+ *Last updated: 2026-06-28*
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/core",
3
3
  "mcpName": "io.github.fr0ster/mcp-abap-adt",
4
- "version": "8.1.0",
4
+ "version": "8.2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -137,13 +137,13 @@
137
137
  "yaml": "^2.8.1"
138
138
  },
139
139
  "dependencies": {
140
- "@mcp-abap-adt/adt-clients": "^6.1.0",
140
+ "@mcp-abap-adt/adt-clients": "^7.0.1",
141
141
  "@mcp-abap-adt/auth-broker": "^1.0.5",
142
142
  "@mcp-abap-adt/auth-providers": "^1.0.5",
143
143
  "@mcp-abap-adt/auth-stores": "^1.0.4",
144
144
  "@mcp-abap-adt/connection": "^1.9.1",
145
145
  "@mcp-abap-adt/header-validator": "^0.1.8",
146
- "@mcp-abap-adt/interfaces": "^7.2.0",
146
+ "@mcp-abap-adt/interfaces": "^9.0.0",
147
147
  "@mcp-abap-adt/logger": "^0.1.4",
148
148
  "@modelcontextprotocol/sdk": "^1.29.0",
149
149
  "axios": "^1.14.0",