@mcp-abap-adt/core 2.4.2 → 2.5.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 (142) hide show
  1. package/dist/handlers/compact/high/compactLifecycleUtils.d.ts +4 -0
  2. package/dist/handlers/compact/high/compactLifecycleUtils.d.ts.map +1 -0
  3. package/dist/handlers/compact/high/compactLifecycleUtils.js +23 -0
  4. package/dist/handlers/compact/high/compactLifecycleUtils.js.map +1 -0
  5. package/dist/handlers/compact/high/compactMatrix.d.ts +4 -0
  6. package/dist/handlers/compact/high/compactMatrix.d.ts.map +1 -0
  7. package/dist/handlers/compact/high/compactMatrix.js +31 -0
  8. package/dist/handlers/compact/high/compactMatrix.js.map +1 -0
  9. package/dist/handlers/compact/high/compactObjectTypes.d.ts +3 -0
  10. package/dist/handlers/compact/high/compactObjectTypes.d.ts.map +1 -0
  11. package/dist/handlers/compact/high/compactObjectTypes.js +31 -0
  12. package/dist/handlers/compact/high/compactObjectTypes.js.map +1 -0
  13. package/dist/handlers/compact/high/compactRouter.d.ts +11 -0
  14. package/dist/handlers/compact/high/compactRouter.d.ts.map +1 -0
  15. package/dist/handlers/compact/high/compactRouter.js +254 -0
  16. package/dist/handlers/compact/high/compactRouter.js.map +1 -0
  17. package/dist/handlers/compact/high/compactSchemas.d.ts +725 -0
  18. package/dist/handlers/compact/high/compactSchemas.d.ts.map +1 -0
  19. package/dist/handlers/compact/high/compactSchemas.js +390 -0
  20. package/dist/handlers/compact/high/compactSchemas.js.map +1 -0
  21. package/dist/handlers/compact/high/handleHandlerActivate.d.ts +63 -0
  22. package/dist/handlers/compact/high/handleHandlerActivate.d.ts.map +1 -0
  23. package/dist/handlers/compact/high/handleHandlerActivate.js +27 -0
  24. package/dist/handlers/compact/high/handleHandlerActivate.js.map +1 -0
  25. package/dist/handlers/compact/high/handleHandlerCdsUnitTestResult.d.ts +36 -0
  26. package/dist/handlers/compact/high/handleHandlerCdsUnitTestResult.d.ts.map +1 -0
  27. package/dist/handlers/compact/high/handleHandlerCdsUnitTestResult.js +15 -0
  28. package/dist/handlers/compact/high/handleHandlerCdsUnitTestResult.js.map +1 -0
  29. package/dist/handlers/compact/high/handleHandlerCdsUnitTestStatus.d.ts +31 -0
  30. package/dist/handlers/compact/high/handleHandlerCdsUnitTestStatus.d.ts.map +1 -0
  31. package/dist/handlers/compact/high/handleHandlerCdsUnitTestStatus.js +15 -0
  32. package/dist/handlers/compact/high/handleHandlerCdsUnitTestStatus.js.map +1 -0
  33. package/dist/handlers/compact/high/handleHandlerCheckRun.d.ts +63 -0
  34. package/dist/handlers/compact/high/handleHandlerCheckRun.d.ts.map +1 -0
  35. package/dist/handlers/compact/high/handleHandlerCheckRun.js +26 -0
  36. package/dist/handlers/compact/high/handleHandlerCheckRun.js.map +1 -0
  37. package/dist/handlers/compact/high/handleHandlerCreate.d.ts +95 -0
  38. package/dist/handlers/compact/high/handleHandlerCreate.d.ts.map +1 -0
  39. package/dist/handlers/compact/high/handleHandlerCreate.js +15 -0
  40. package/dist/handlers/compact/high/handleHandlerCreate.js.map +1 -0
  41. package/dist/handlers/compact/high/handleHandlerDelete.d.ts +41 -0
  42. package/dist/handlers/compact/high/handleHandlerDelete.d.ts.map +1 -0
  43. package/dist/handlers/compact/high/handleHandlerDelete.js +15 -0
  44. package/dist/handlers/compact/high/handleHandlerDelete.js.map +1 -0
  45. package/dist/handlers/compact/high/handleHandlerDumpList.d.ts +43 -0
  46. package/dist/handlers/compact/high/handleHandlerDumpList.d.ts.map +1 -0
  47. package/dist/handlers/compact/high/handleHandlerDumpList.js +15 -0
  48. package/dist/handlers/compact/high/handleHandlerDumpList.js.map +1 -0
  49. package/dist/handlers/compact/high/handleHandlerDumpView.d.ts +32 -0
  50. package/dist/handlers/compact/high/handleHandlerDumpView.d.ts.map +1 -0
  51. package/dist/handlers/compact/high/handleHandlerDumpView.js +15 -0
  52. package/dist/handlers/compact/high/handleHandlerDumpView.js.map +1 -0
  53. package/dist/handlers/compact/high/handleHandlerGet.d.ts +43 -0
  54. package/dist/handlers/compact/high/handleHandlerGet.d.ts.map +1 -0
  55. package/dist/handlers/compact/high/handleHandlerGet.js +15 -0
  56. package/dist/handlers/compact/high/handleHandlerGet.js.map +1 -0
  57. package/dist/handlers/compact/high/handleHandlerLock.d.ts +61 -0
  58. package/dist/handlers/compact/high/handleHandlerLock.d.ts.map +1 -0
  59. package/dist/handlers/compact/high/handleHandlerLock.js +26 -0
  60. package/dist/handlers/compact/high/handleHandlerLock.js.map +1 -0
  61. package/dist/handlers/compact/high/handleHandlerProfileList.d.ts +18 -0
  62. package/dist/handlers/compact/high/handleHandlerProfileList.d.ts.map +1 -0
  63. package/dist/handlers/compact/high/handleHandlerProfileList.js +15 -0
  64. package/dist/handlers/compact/high/handleHandlerProfileList.js.map +1 -0
  65. package/dist/handlers/compact/high/handleHandlerProfileRun.d.ts +92 -0
  66. package/dist/handlers/compact/high/handleHandlerProfileRun.d.ts.map +1 -0
  67. package/dist/handlers/compact/high/handleHandlerProfileRun.js +57 -0
  68. package/dist/handlers/compact/high/handleHandlerProfileRun.js.map +1 -0
  69. package/dist/handlers/compact/high/handleHandlerProfileView.d.ts +47 -0
  70. package/dist/handlers/compact/high/handleHandlerProfileView.d.ts.map +1 -0
  71. package/dist/handlers/compact/high/handleHandlerProfileView.js +15 -0
  72. package/dist/handlers/compact/high/handleHandlerProfileView.js.map +1 -0
  73. package/dist/handlers/compact/high/handleHandlerServiceBindingListTypes.d.ts +28 -0
  74. package/dist/handlers/compact/high/handleHandlerServiceBindingListTypes.d.ts.map +1 -0
  75. package/dist/handlers/compact/high/handleHandlerServiceBindingListTypes.js +15 -0
  76. package/dist/handlers/compact/high/handleHandlerServiceBindingListTypes.js.map +1 -0
  77. package/dist/handlers/compact/high/handleHandlerServiceBindingValidate.d.ts +42 -0
  78. package/dist/handlers/compact/high/handleHandlerServiceBindingValidate.d.ts.map +1 -0
  79. package/dist/handlers/compact/high/handleHandlerServiceBindingValidate.js +15 -0
  80. package/dist/handlers/compact/high/handleHandlerServiceBindingValidate.js.map +1 -0
  81. package/dist/handlers/compact/high/handleHandlerTransportCreate.d.ts +40 -0
  82. package/dist/handlers/compact/high/handleHandlerTransportCreate.d.ts.map +1 -0
  83. package/dist/handlers/compact/high/handleHandlerTransportCreate.js +15 -0
  84. package/dist/handlers/compact/high/handleHandlerTransportCreate.js.map +1 -0
  85. package/dist/handlers/compact/high/handleHandlerUnitTestResult.d.ts +36 -0
  86. package/dist/handlers/compact/high/handleHandlerUnitTestResult.d.ts.map +1 -0
  87. package/dist/handlers/compact/high/handleHandlerUnitTestResult.js +15 -0
  88. package/dist/handlers/compact/high/handleHandlerUnitTestResult.js.map +1 -0
  89. package/dist/handlers/compact/high/handleHandlerUnitTestRun.d.ts +106 -0
  90. package/dist/handlers/compact/high/handleHandlerUnitTestRun.d.ts.map +1 -0
  91. package/dist/handlers/compact/high/handleHandlerUnitTestRun.js +15 -0
  92. package/dist/handlers/compact/high/handleHandlerUnitTestRun.js.map +1 -0
  93. package/dist/handlers/compact/high/handleHandlerUnitTestStatus.d.ts +31 -0
  94. package/dist/handlers/compact/high/handleHandlerUnitTestStatus.d.ts.map +1 -0
  95. package/dist/handlers/compact/high/handleHandlerUnitTestStatus.js +15 -0
  96. package/dist/handlers/compact/high/handleHandlerUnitTestStatus.js.map +1 -0
  97. package/dist/handlers/compact/high/handleHandlerUnlock.d.ts +61 -0
  98. package/dist/handlers/compact/high/handleHandlerUnlock.d.ts.map +1 -0
  99. package/dist/handlers/compact/high/handleHandlerUnlock.js +26 -0
  100. package/dist/handlers/compact/high/handleHandlerUnlock.js.map +1 -0
  101. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts +89 -0
  102. package/dist/handlers/compact/high/handleHandlerUpdate.d.ts.map +1 -0
  103. package/dist/handlers/compact/high/handleHandlerUpdate.js +15 -0
  104. package/dist/handlers/compact/high/handleHandlerUpdate.js.map +1 -0
  105. package/dist/handlers/compact/high/handleHandlerValidate.d.ts +85 -0
  106. package/dist/handlers/compact/high/handleHandlerValidate.d.ts.map +1 -0
  107. package/dist/handlers/compact/high/handleHandlerValidate.js +40 -0
  108. package/dist/handlers/compact/high/handleHandlerValidate.js.map +1 -0
  109. package/dist/lib/config/IServerConfig.d.ts +1 -1
  110. package/dist/lib/config/IServerConfig.d.ts.map +1 -1
  111. package/dist/lib/config/ServerConfigManager.d.ts +1 -1
  112. package/dist/lib/config/ServerConfigManager.d.ts.map +1 -1
  113. package/dist/lib/config/ServerConfigManager.js +7 -3
  114. package/dist/lib/config/ServerConfigManager.js.map +1 -1
  115. package/dist/lib/config/yamlConfig.js +1 -1
  116. package/dist/lib/handlers/HandlerExporter.d.ts +5 -0
  117. package/dist/lib/handlers/HandlerExporter.d.ts.map +1 -1
  118. package/dist/lib/handlers/HandlerExporter.js +4 -0
  119. package/dist/lib/handlers/HandlerExporter.js.map +1 -1
  120. package/dist/lib/handlers/groups/CompactHandlersGroup.d.ts +11 -0
  121. package/dist/lib/handlers/groups/CompactHandlersGroup.d.ts.map +1 -0
  122. package/dist/lib/handlers/groups/CompactHandlersGroup.js +218 -0
  123. package/dist/lib/handlers/groups/CompactHandlersGroup.js.map +1 -0
  124. package/dist/lib/handlers/groups/index.d.ts +1 -0
  125. package/dist/lib/handlers/groups/index.d.ts.map +1 -1
  126. package/dist/lib/handlers/groups/index.js +3 -1
  127. package/dist/lib/handlers/groups/index.js.map +1 -1
  128. package/dist/server/EmbeddableMcpServer.d.ts +1 -1
  129. package/dist/server/EmbeddableMcpServer.d.ts.map +1 -1
  130. package/dist/server/EmbeddableMcpServer.js +4 -0
  131. package/dist/server/EmbeddableMcpServer.js.map +1 -1
  132. package/dist/server/launcher.js +3 -0
  133. package/dist/server/launcher.js.map +1 -1
  134. package/docs/development/roadmaps/COMPACT_FACADE_ROUTER_ROADMAP.md +71 -0
  135. package/docs/user-guide/AVAILABLE_TOOLS.md +657 -30
  136. package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +540 -0
  137. package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +533 -22
  138. package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +14 -5
  139. package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +101 -4
  140. package/docs/user-guide/HANDLERS_MANAGEMENT.md +50 -4
  141. package/docs/user-guide/README.md +2 -0
  142. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compactSchemas.d.ts","sourceRoot":"","sources":["../../../../src/handlers/compact/high/compactSchemas.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCtB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYnB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYtB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C3B,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAO9B,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAQ9B,CAAC;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;CAA8B,CAAC;AAC1E,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;CAA8B,CAAC;AAE1E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B1B,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;CAc3B,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;CAUxB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAWxB,CAAC;AAEX,eAAO,MAAM,oCAAoC;;;;;;;;;;CAUvC,CAAC;AAEX,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;CAUtC,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;CAa/B,CAAC;AAUX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBxB,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBxB,CAAC"}
@@ -0,0 +1,390 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.compactActivateSchema = exports.compactCheckRunSchema = exports.compactUnlockSchema = exports.compactLockSchema = exports.compactValidateSchema = exports.compactTransportCreateSchema = exports.compactServiceBindingValidateSchema = exports.compactServiceBindingListTypesSchema = exports.compactDumpViewSchema = exports.compactDumpListSchema = exports.compactProfileViewSchema = exports.compactProfileListSchema = exports.compactProfileRunSchema = exports.compactCdsUnitTestResultSchema = exports.compactCdsUnitTestStatusSchema = exports.compactUnitTestResultSchema = exports.compactUnitTestStatusSchema = exports.compactUnitTestRunSchema = exports.compactDeleteSchema = exports.compactUpdateSchema = exports.compactGetSchema = exports.compactCreateSchema = void 0;
4
+ const compactObjectTypes_1 = require("./compactObjectTypes");
5
+ const versionSchema = {
6
+ type: 'string',
7
+ enum: ['active', 'inactive'],
8
+ default: 'active',
9
+ };
10
+ const commonObjectTypeSchema = {
11
+ type: 'string',
12
+ enum: compactObjectTypes_1.COMPACT_OBJECT_TYPES,
13
+ description: 'ABAP object type for routed compact operation.',
14
+ };
15
+ exports.compactCreateSchema = {
16
+ type: 'object',
17
+ properties: {
18
+ object_type: commonObjectTypeSchema,
19
+ class_name: { type: 'string' },
20
+ program_name: { type: 'string' },
21
+ domain_name: { type: 'string' },
22
+ function_module_name: { type: 'string' },
23
+ function_group_name: { type: 'string' },
24
+ package_name: { type: 'string' },
25
+ description: { type: 'string' },
26
+ transport_request: { type: 'string' },
27
+ source_code: { type: 'string' },
28
+ activate: { type: 'boolean' },
29
+ program_type: { type: 'string' },
30
+ application: { type: 'string' },
31
+ datatype: { type: 'string' },
32
+ length: { type: 'number' },
33
+ decimals: { type: 'number' },
34
+ conversion_exit: { type: 'string' },
35
+ lowercase: { type: 'boolean' },
36
+ sign_exists: { type: 'boolean' },
37
+ value_table: { type: 'string' },
38
+ fixed_values: {
39
+ type: 'array',
40
+ items: {
41
+ type: 'object',
42
+ properties: {
43
+ low: { type: 'string' },
44
+ text: { type: 'string' },
45
+ },
46
+ required: ['low', 'text'],
47
+ },
48
+ },
49
+ },
50
+ required: ['object_type'],
51
+ };
52
+ exports.compactGetSchema = {
53
+ type: 'object',
54
+ properties: {
55
+ object_type: commonObjectTypeSchema,
56
+ class_name: { type: 'string' },
57
+ program_name: { type: 'string' },
58
+ domain_name: { type: 'string' },
59
+ function_module_name: { type: 'string' },
60
+ function_group_name: { type: 'string' },
61
+ version: versionSchema,
62
+ },
63
+ required: ['object_type'],
64
+ };
65
+ exports.compactUpdateSchema = {
66
+ type: 'object',
67
+ properties: {
68
+ object_type: commonObjectTypeSchema,
69
+ class_name: { type: 'string' },
70
+ program_name: { type: 'string' },
71
+ domain_name: { type: 'string' },
72
+ function_module_name: { type: 'string' },
73
+ function_group_name: { type: 'string' },
74
+ package_name: { type: 'string' },
75
+ source_code: { type: 'string' },
76
+ transport_request: { type: 'string' },
77
+ activate: { type: 'boolean' },
78
+ description: { type: 'string' },
79
+ datatype: { type: 'string' },
80
+ length: { type: 'number' },
81
+ decimals: { type: 'number' },
82
+ conversion_exit: { type: 'string' },
83
+ lowercase: { type: 'boolean' },
84
+ sign_exists: { type: 'boolean' },
85
+ value_table: { type: 'string' },
86
+ fixed_values: {
87
+ type: 'array',
88
+ items: {
89
+ type: 'object',
90
+ properties: {
91
+ low: { type: 'string' },
92
+ text: { type: 'string' },
93
+ },
94
+ required: ['low', 'text'],
95
+ },
96
+ },
97
+ },
98
+ required: ['object_type'],
99
+ };
100
+ exports.compactDeleteSchema = {
101
+ type: 'object',
102
+ properties: {
103
+ object_type: commonObjectTypeSchema,
104
+ class_name: { type: 'string' },
105
+ program_name: { type: 'string' },
106
+ domain_name: { type: 'string' },
107
+ function_module_name: { type: 'string' },
108
+ function_group_name: { type: 'string' },
109
+ transport_request: { type: 'string' },
110
+ },
111
+ required: ['object_type'],
112
+ };
113
+ exports.compactUnitTestRunSchema = {
114
+ type: 'object',
115
+ properties: {
116
+ tests: {
117
+ type: 'array',
118
+ items: {
119
+ type: 'object',
120
+ properties: {
121
+ container_class: { type: 'string' },
122
+ test_class: { type: 'string' },
123
+ },
124
+ required: ['container_class', 'test_class'],
125
+ },
126
+ },
127
+ title: { type: 'string' },
128
+ context: { type: 'string' },
129
+ scope: {
130
+ type: 'object',
131
+ properties: {
132
+ own_tests: { type: 'boolean' },
133
+ foreign_tests: { type: 'boolean' },
134
+ add_foreign_tests_as_preview: { type: 'boolean' },
135
+ },
136
+ },
137
+ risk_level: {
138
+ type: 'object',
139
+ properties: {
140
+ harmless: { type: 'boolean' },
141
+ dangerous: { type: 'boolean' },
142
+ critical: { type: 'boolean' },
143
+ },
144
+ },
145
+ duration: {
146
+ type: 'object',
147
+ properties: {
148
+ short: { type: 'boolean' },
149
+ medium: { type: 'boolean' },
150
+ long: { type: 'boolean' },
151
+ },
152
+ },
153
+ },
154
+ required: ['tests'],
155
+ };
156
+ exports.compactUnitTestStatusSchema = {
157
+ type: 'object',
158
+ properties: {
159
+ run_id: { type: 'string' },
160
+ with_long_polling: { type: 'boolean', default: true },
161
+ },
162
+ required: ['run_id'],
163
+ };
164
+ exports.compactUnitTestResultSchema = {
165
+ type: 'object',
166
+ properties: {
167
+ run_id: { type: 'string' },
168
+ with_navigation_uris: { type: 'boolean', default: false },
169
+ format: { type: 'string', enum: ['abapunit', 'junit'] },
170
+ },
171
+ required: ['run_id'],
172
+ };
173
+ exports.compactCdsUnitTestStatusSchema = exports.compactUnitTestStatusSchema;
174
+ exports.compactCdsUnitTestResultSchema = exports.compactUnitTestResultSchema;
175
+ exports.compactProfileRunSchema = {
176
+ type: 'object',
177
+ properties: {
178
+ target_type: {
179
+ type: 'string',
180
+ enum: ['CLASS', 'PROGRAM'],
181
+ description: 'Profile execution target kind.',
182
+ },
183
+ class_name: { type: 'string' },
184
+ program_name: { type: 'string' },
185
+ description: { type: 'string' },
186
+ all_procedural_units: { type: 'boolean' },
187
+ all_misc_abap_statements: { type: 'boolean' },
188
+ all_internal_table_events: { type: 'boolean' },
189
+ all_dynpro_events: { type: 'boolean' },
190
+ aggregate: { type: 'boolean' },
191
+ explicit_on_off: { type: 'boolean' },
192
+ with_rfc_tracing: { type: 'boolean' },
193
+ all_system_kernel_events: { type: 'boolean' },
194
+ sql_trace: { type: 'boolean' },
195
+ all_db_events: { type: 'boolean' },
196
+ max_size_for_trace_file: { type: 'number' },
197
+ amdp_trace: { type: 'boolean' },
198
+ max_time_for_tracing: { type: 'number' },
199
+ },
200
+ required: ['target_type'],
201
+ };
202
+ exports.compactProfileListSchema = {
203
+ type: 'object',
204
+ properties: {},
205
+ required: [],
206
+ };
207
+ exports.compactProfileViewSchema = {
208
+ type: 'object',
209
+ properties: {
210
+ trace_id_or_uri: { type: 'string' },
211
+ view: {
212
+ type: 'string',
213
+ enum: ['hitlist', 'statements', 'db_accesses'],
214
+ },
215
+ with_system_events: { type: 'boolean' },
216
+ id: { type: 'number' },
217
+ with_details: { type: 'boolean' },
218
+ auto_drill_down_threshold: { type: 'number' },
219
+ },
220
+ required: ['trace_id_or_uri', 'view'],
221
+ };
222
+ exports.compactDumpListSchema = {
223
+ type: 'object',
224
+ properties: {
225
+ user: { type: 'string' },
226
+ inlinecount: { type: 'string', enum: ['allpages', 'none'] },
227
+ top: { type: 'number' },
228
+ skip: { type: 'number' },
229
+ orderby: { type: 'string' },
230
+ },
231
+ required: [],
232
+ };
233
+ exports.compactDumpViewSchema = {
234
+ type: 'object',
235
+ properties: {
236
+ dump_id: { type: 'string' },
237
+ view: {
238
+ type: 'string',
239
+ enum: ['default', 'summary', 'formatted'],
240
+ default: 'default',
241
+ },
242
+ },
243
+ required: ['dump_id'],
244
+ };
245
+ exports.compactServiceBindingListTypesSchema = {
246
+ type: 'object',
247
+ properties: {
248
+ response_format: {
249
+ type: 'string',
250
+ enum: ['xml', 'json', 'plain'],
251
+ default: 'xml',
252
+ },
253
+ },
254
+ required: [],
255
+ };
256
+ exports.compactServiceBindingValidateSchema = {
257
+ type: 'object',
258
+ properties: {
259
+ service_binding_name: { type: 'string' },
260
+ service_definition_name: { type: 'string' },
261
+ service_binding_version: { type: 'string' },
262
+ package_name: { type: 'string' },
263
+ description: { type: 'string' },
264
+ },
265
+ required: ['service_binding_name', 'service_definition_name'],
266
+ };
267
+ exports.compactTransportCreateSchema = {
268
+ type: 'object',
269
+ properties: {
270
+ transport_type: {
271
+ type: 'string',
272
+ enum: ['workbench', 'customizing'],
273
+ default: 'workbench',
274
+ },
275
+ description: { type: 'string' },
276
+ target_system: { type: 'string' },
277
+ owner: { type: 'string' },
278
+ },
279
+ required: ['description'],
280
+ };
281
+ const compactLifecycleObjectSchema = {
282
+ object_type: commonObjectTypeSchema,
283
+ object_name: {
284
+ type: 'string',
285
+ description: 'Primary object name for lifecycle operation.',
286
+ },
287
+ };
288
+ exports.compactValidateSchema = {
289
+ type: 'object',
290
+ properties: {
291
+ ...compactLifecycleObjectSchema,
292
+ package_name: { type: 'string' },
293
+ description: { type: 'string' },
294
+ behavior_definition: { type: 'string' },
295
+ root_entity: { type: 'string' },
296
+ implementation_type: { type: 'string' },
297
+ service_definition_name: { type: 'string' },
298
+ service_binding_version: { type: 'string' },
299
+ session_id: { type: 'string' },
300
+ session_state: {
301
+ type: 'object',
302
+ properties: {
303
+ cookies: { type: 'string' },
304
+ csrf_token: { type: 'string' },
305
+ cookie_store: { type: 'object' },
306
+ },
307
+ },
308
+ },
309
+ required: ['object_type', 'object_name'],
310
+ };
311
+ exports.compactLockSchema = {
312
+ type: 'object',
313
+ properties: {
314
+ ...compactLifecycleObjectSchema,
315
+ super_package: { type: 'string' },
316
+ session_id: { type: 'string' },
317
+ session_state: {
318
+ type: 'object',
319
+ properties: {
320
+ cookies: { type: 'string' },
321
+ csrf_token: { type: 'string' },
322
+ cookie_store: { type: 'object' },
323
+ },
324
+ },
325
+ },
326
+ required: ['object_type', 'object_name'],
327
+ };
328
+ exports.compactUnlockSchema = {
329
+ type: 'object',
330
+ properties: {
331
+ ...compactLifecycleObjectSchema,
332
+ lock_handle: { type: 'string' },
333
+ session_id: { type: 'string' },
334
+ session_state: {
335
+ type: 'object',
336
+ properties: {
337
+ cookies: { type: 'string' },
338
+ csrf_token: { type: 'string' },
339
+ cookie_store: { type: 'object' },
340
+ },
341
+ },
342
+ },
343
+ required: ['object_type', 'object_name', 'lock_handle', 'session_id'],
344
+ };
345
+ exports.compactCheckRunSchema = {
346
+ type: 'object',
347
+ properties: {
348
+ ...compactLifecycleObjectSchema,
349
+ version: {
350
+ type: 'string',
351
+ enum: ['active', 'inactive'],
352
+ default: 'active',
353
+ },
354
+ session_id: { type: 'string' },
355
+ session_state: {
356
+ type: 'object',
357
+ properties: {
358
+ cookies: { type: 'string' },
359
+ csrf_token: { type: 'string' },
360
+ cookie_store: { type: 'object' },
361
+ },
362
+ },
363
+ },
364
+ required: ['object_type', 'object_name'],
365
+ };
366
+ exports.compactActivateSchema = {
367
+ type: 'object',
368
+ properties: {
369
+ object_type: commonObjectTypeSchema,
370
+ object_name: { type: 'string' },
371
+ object_adt_type: {
372
+ type: 'string',
373
+ description: 'ADT object type code (e.g. CLAS/OC, PROG/P). Required for single-object activation form.',
374
+ },
375
+ objects: {
376
+ type: 'array',
377
+ items: {
378
+ type: 'object',
379
+ properties: {
380
+ name: { type: 'string' },
381
+ type: { type: 'string' },
382
+ uri: { type: 'string' },
383
+ },
384
+ required: ['name', 'type'],
385
+ },
386
+ },
387
+ preaudit: { type: 'boolean' },
388
+ },
389
+ };
390
+ //# sourceMappingURL=compactSchemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compactSchemas.js","sourceRoot":"","sources":["../../../../src/handlers/compact/high/compactSchemas.ts"],"names":[],"mappings":";;;AAAA,6DAA4D;AAE5D,MAAM,aAAa,GAAG;IACpB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;IAC5B,OAAO,EAAE,QAAQ;CACT,CAAC;AAEX,MAAM,sBAAsB,GAAG;IAC7B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,yCAAoB;IAC1B,WAAW,EAAE,gDAAgD;CACrD,CAAC;AAEE,QAAA,mBAAmB,GAAG;IACjC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,WAAW,EAAE,sBAAsB;QACnC,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC9B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAChC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC/B,oBAAoB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxC,mBAAmB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE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EAAE;YACP,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxB,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACxB,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACxB;gBACD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;aAC3B;SACF;QACD,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC9B;CACO,CAAC"}
@@ -0,0 +1,63 @@
1
+ import type { ObjectReference } from '@mcp-abap-adt/adt-clients';
2
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
3
+ import type { CompactObjectType } from './compactObjectTypes';
4
+ export declare const TOOL_DEFINITION: {
5
+ readonly name: "HandlerActivate";
6
+ readonly description: "Compact lifecycle activate operation. Activate objects by ADT type list or single object mapping.";
7
+ readonly inputSchema: {
8
+ readonly type: "object";
9
+ readonly properties: {
10
+ readonly object_type: {
11
+ readonly type: "string";
12
+ readonly enum: CompactObjectType[];
13
+ readonly description: "ABAP object type for routed compact operation.";
14
+ };
15
+ readonly object_name: {
16
+ readonly type: "string";
17
+ };
18
+ readonly object_adt_type: {
19
+ readonly type: "string";
20
+ readonly description: "ADT object type code (e.g. CLAS/OC, PROG/P). Required for single-object activation form.";
21
+ };
22
+ readonly objects: {
23
+ readonly type: "array";
24
+ readonly items: {
25
+ readonly type: "object";
26
+ readonly properties: {
27
+ readonly name: {
28
+ readonly type: "string";
29
+ };
30
+ readonly type: {
31
+ readonly type: "string";
32
+ };
33
+ readonly uri: {
34
+ readonly type: "string";
35
+ };
36
+ };
37
+ readonly required: readonly ["name", "type"];
38
+ };
39
+ };
40
+ readonly preaudit: {
41
+ readonly type: "boolean";
42
+ };
43
+ };
44
+ };
45
+ };
46
+ type HandlerActivateArgs = {
47
+ object_type?: CompactObjectType;
48
+ object_name?: string;
49
+ object_adt_type?: string;
50
+ objects?: Array<ObjectReference & {
51
+ uri?: string;
52
+ }>;
53
+ preaudit?: boolean;
54
+ };
55
+ export declare function handleHandlerActivate(context: HandlerContext, args: HandlerActivateArgs): Promise<{
56
+ isError: boolean;
57
+ content: {
58
+ type: string;
59
+ text: any;
60
+ }[];
61
+ }>;
62
+ export {};
63
+ //# sourceMappingURL=handleHandlerActivate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerActivate.d.ts","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerActivate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlB,CAAC;AAEX,KAAK,mBAAmB,GAAG;IACzB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,GAAG;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,mBAAmB;;;;;;GAmB1B"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleHandlerActivate = handleHandlerActivate;
5
+ const handleActivateObject_1 = require("../../common/low/handleActivateObject");
6
+ const compactSchemas_1 = require("./compactSchemas");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'HandlerActivate',
9
+ description: 'Compact lifecycle activate operation. Activate objects by ADT type list or single object mapping.',
10
+ inputSchema: compactSchemas_1.compactActivateSchema,
11
+ };
12
+ async function handleHandlerActivate(context, args) {
13
+ if (args.objects && args.objects.length > 0) {
14
+ return (0, handleActivateObject_1.handleActivateObject)(context, {
15
+ objects: args.objects,
16
+ preaudit: args.preaudit,
17
+ });
18
+ }
19
+ if (!args.object_name || !args.object_adt_type) {
20
+ throw new Error('Provide either objects[] or object_name + object_adt_type for activation');
21
+ }
22
+ return (0, handleActivateObject_1.handleActivateObject)(context, {
23
+ objects: [{ name: args.object_name, type: args.object_adt_type }],
24
+ preaudit: args.preaudit,
25
+ });
26
+ }
27
+ //# sourceMappingURL=handleHandlerActivate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerActivate.js","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerActivate.ts"],"names":[],"mappings":";;;AAqBA,sDAqBC;AAxCD,gFAA6E;AAE7E,qDAAyD;AAE5C,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,iBAAiB;IACvB,WAAW,EACT,mGAAmG;IACrG,WAAW,EAAE,sCAAqB;CAC1B,CAAC;AAUJ,KAAK,UAAU,qBAAqB,CACzC,OAAuB,EACvB,IAAyB;IAEzB,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5C,OAAO,IAAA,2CAAoB,EAAC,OAAO,EAAE;YACnC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CACb,0EAA0E,CAC3E,CAAC;IACJ,CAAC;IAED,OAAO,IAAA,2CAAoB,EAAC,OAAO,EAAE;QACnC,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC;QACjE,QAAQ,EAAE,IAAI,CAAC,QAAQ;KACxB,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "HandlerCdsUnitTestResult";
4
+ readonly description: "Compact CDS unit test result. Reads run result by run_id.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly run_id: {
9
+ readonly type: "string";
10
+ };
11
+ readonly with_navigation_uris: {
12
+ readonly type: "boolean";
13
+ readonly default: false;
14
+ };
15
+ readonly format: {
16
+ readonly type: "string";
17
+ readonly enum: readonly ["abapunit", "junit"];
18
+ };
19
+ };
20
+ readonly required: readonly ["run_id"];
21
+ };
22
+ };
23
+ type HandlerCdsUnitTestResultArgs = {
24
+ run_id: string;
25
+ with_navigation_uris?: boolean;
26
+ format?: 'abapunit' | 'junit';
27
+ };
28
+ export declare function handleHandlerCdsUnitTestResult(context: HandlerContext, args: HandlerCdsUnitTestResultArgs): Promise<{
29
+ isError: boolean;
30
+ content: {
31
+ type: string;
32
+ text: any;
33
+ }[];
34
+ }>;
35
+ export {};
36
+ //# sourceMappingURL=handleHandlerCdsUnitTestResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerCdsUnitTestResult.d.ts","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerCdsUnitTestResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;CAIlB,CAAC;AAEX,KAAK,4BAA4B,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,MAAM,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;CAC/B,CAAC;AAEF,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,4BAA4B;;;;;;GAGnC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleHandlerCdsUnitTestResult = handleHandlerCdsUnitTestResult;
5
+ const handleGetCdsUnitTestResult_1 = require("../../unit_test/high/handleGetCdsUnitTestResult");
6
+ const compactSchemas_1 = require("./compactSchemas");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'HandlerCdsUnitTestResult',
9
+ description: 'Compact CDS unit test result. Reads run result by run_id.',
10
+ inputSchema: compactSchemas_1.compactCdsUnitTestResultSchema,
11
+ };
12
+ async function handleHandlerCdsUnitTestResult(context, args) {
13
+ return (0, handleGetCdsUnitTestResult_1.handleGetCdsUnitTestResult)(context, args);
14
+ }
15
+ //# sourceMappingURL=handleHandlerCdsUnitTestResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerCdsUnitTestResult.js","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerCdsUnitTestResult.ts"],"names":[],"mappings":";;;AAgBA,wEAKC;AApBD,gGAA6F;AAC7F,qDAAkE;AAErD,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,2DAA2D;IACxE,WAAW,EAAE,+CAA8B;CACnC,CAAC;AAQJ,KAAK,UAAU,8BAA8B,CAClD,OAAuB,EACvB,IAAkC;IAElC,OAAO,IAAA,uDAA0B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACnD,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { HandlerContext } from '../../../lib/handlers/interfaces';
2
+ export declare const TOOL_DEFINITION: {
3
+ readonly name: "HandlerCdsUnitTestStatus";
4
+ readonly description: "Compact CDS unit test status. Reads run status by run_id.";
5
+ readonly inputSchema: {
6
+ readonly type: "object";
7
+ readonly properties: {
8
+ readonly run_id: {
9
+ readonly type: "string";
10
+ };
11
+ readonly with_long_polling: {
12
+ readonly type: "boolean";
13
+ readonly default: true;
14
+ };
15
+ };
16
+ readonly required: readonly ["run_id"];
17
+ };
18
+ };
19
+ type HandlerCdsUnitTestStatusArgs = {
20
+ run_id: string;
21
+ with_long_polling?: boolean;
22
+ };
23
+ export declare function handleHandlerCdsUnitTestStatus(context: HandlerContext, args: HandlerCdsUnitTestStatusArgs): Promise<{
24
+ isError: boolean;
25
+ content: {
26
+ type: string;
27
+ text: any;
28
+ }[];
29
+ }>;
30
+ export {};
31
+ //# sourceMappingURL=handleHandlerCdsUnitTestStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerCdsUnitTestStatus.d.ts","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerCdsUnitTestStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIvE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;CAIlB,CAAC;AAEX,KAAK,4BAA4B,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,cAAc,EACvB,IAAI,EAAE,4BAA4B;;;;;;GAGnC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TOOL_DEFINITION = void 0;
4
+ exports.handleHandlerCdsUnitTestStatus = handleHandlerCdsUnitTestStatus;
5
+ const handleGetCdsUnitTestStatus_1 = require("../../unit_test/high/handleGetCdsUnitTestStatus");
6
+ const compactSchemas_1 = require("./compactSchemas");
7
+ exports.TOOL_DEFINITION = {
8
+ name: 'HandlerCdsUnitTestStatus',
9
+ description: 'Compact CDS unit test status. Reads run status by run_id.',
10
+ inputSchema: compactSchemas_1.compactCdsUnitTestStatusSchema,
11
+ };
12
+ async function handleHandlerCdsUnitTestStatus(context, args) {
13
+ return (0, handleGetCdsUnitTestStatus_1.handleGetCdsUnitTestStatus)(context, args);
14
+ }
15
+ //# sourceMappingURL=handleHandlerCdsUnitTestStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleHandlerCdsUnitTestStatus.js","sourceRoot":"","sources":["../../../../src/handlers/compact/high/handleHandlerCdsUnitTestStatus.ts"],"names":[],"mappings":";;;AAeA,wEAKC;AAnBD,gGAA6F;AAC7F,qDAAkE;AAErD,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,0BAA0B;IAChC,WAAW,EAAE,2DAA2D;IACxE,WAAW,EAAE,+CAA8B;CACnC,CAAC;AAOJ,KAAK,UAAU,8BAA8B,CAClD,OAAuB,EACvB,IAAkC;IAElC,OAAO,IAAA,uDAA0B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACnD,CAAC"}