@mcp-abap-adt/adt-clients 3.14.6 → 4.0.2

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 (107) hide show
  1. package/README.md +10 -8
  2. package/dist/clients/AdtRuntimeClient.d.ts +43 -449
  3. package/dist/clients/AdtRuntimeClient.d.ts.map +1 -1
  4. package/dist/clients/AdtRuntimeClient.js +97 -588
  5. package/dist/clients/AdtRuntimeClientExperimental.d.ts +2 -64
  6. package/dist/clients/AdtRuntimeClientExperimental.d.ts.map +1 -1
  7. package/dist/clients/AdtRuntimeClientExperimental.js +2 -90
  8. package/dist/index.d.ts +18 -0
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +33 -1
  11. package/dist/runtime/applicationLog/ApplicationLog.d.ts +11 -0
  12. package/dist/runtime/applicationLog/ApplicationLog.d.ts.map +1 -0
  13. package/dist/runtime/applicationLog/ApplicationLog.js +23 -0
  14. package/dist/runtime/applicationLog/index.d.ts +1 -0
  15. package/dist/runtime/applicationLog/index.d.ts.map +1 -1
  16. package/dist/runtime/applicationLog/index.js +3 -1
  17. package/dist/runtime/atc/AtcLog.d.ts +10 -0
  18. package/dist/runtime/atc/AtcLog.d.ts.map +1 -0
  19. package/dist/runtime/atc/AtcLog.js +20 -0
  20. package/dist/runtime/atc/index.d.ts +1 -0
  21. package/dist/runtime/atc/index.d.ts.map +1 -1
  22. package/dist/runtime/atc/index.js +3 -1
  23. package/dist/runtime/ddic/DdicActivation.d.ts +9 -0
  24. package/dist/runtime/ddic/DdicActivation.d.ts.map +1 -0
  25. package/dist/runtime/ddic/DdicActivation.js +17 -0
  26. package/dist/runtime/ddic/index.d.ts +1 -0
  27. package/dist/runtime/ddic/index.d.ts.map +1 -1
  28. package/dist/runtime/ddic/index.js +3 -0
  29. package/dist/runtime/debugger/AbapDebugger.d.ts +36 -0
  30. package/dist/runtime/debugger/AbapDebugger.d.ts.map +1 -0
  31. package/dist/runtime/debugger/AbapDebugger.js +95 -0
  32. package/dist/runtime/debugger/AmdpDebugger.d.ts +26 -0
  33. package/dist/runtime/debugger/AmdpDebugger.d.ts.map +1 -0
  34. package/dist/runtime/debugger/AmdpDebugger.js +61 -0
  35. package/dist/runtime/debugger/Debugger.d.ts +14 -0
  36. package/dist/runtime/debugger/Debugger.d.ts.map +1 -0
  37. package/dist/runtime/debugger/Debugger.js +37 -0
  38. package/dist/runtime/debugger/index.d.ts +5 -2
  39. package/dist/runtime/debugger/index.d.ts.map +1 -1
  40. package/dist/runtime/debugger/index.js +7 -1
  41. package/dist/runtime/dumps/RuntimeDumps.d.ts +13 -0
  42. package/dist/runtime/dumps/RuntimeDumps.d.ts.map +1 -0
  43. package/dist/runtime/dumps/RuntimeDumps.js +29 -0
  44. package/dist/runtime/dumps/index.d.ts +1 -0
  45. package/dist/runtime/dumps/index.d.ts.map +1 -1
  46. package/dist/runtime/dumps/index.js +3 -1
  47. package/dist/runtime/feeds/FeedRepository.d.ts +27 -0
  48. package/dist/runtime/feeds/FeedRepository.d.ts.map +1 -0
  49. package/dist/runtime/feeds/FeedRepository.js +254 -0
  50. package/dist/runtime/feeds/index.d.ts +3 -1
  51. package/dist/runtime/feeds/index.d.ts.map +1 -1
  52. package/dist/runtime/feeds/index.js +5 -1
  53. package/dist/runtime/feeds/read.d.ts +18 -1
  54. package/dist/runtime/feeds/read.d.ts.map +1 -1
  55. package/dist/runtime/feeds/read.js +45 -2
  56. package/dist/runtime/feeds/types.d.ts +2 -0
  57. package/dist/runtime/feeds/types.d.ts.map +1 -0
  58. package/dist/runtime/feeds/types.js +2 -0
  59. package/dist/runtime/gatewayErrorLog/GatewayErrorLog.d.ts +15 -0
  60. package/dist/runtime/gatewayErrorLog/GatewayErrorLog.d.ts.map +1 -0
  61. package/dist/runtime/gatewayErrorLog/GatewayErrorLog.js +25 -0
  62. package/dist/runtime/gatewayErrorLog/index.d.ts +7 -0
  63. package/dist/runtime/gatewayErrorLog/index.d.ts.map +1 -0
  64. package/dist/runtime/gatewayErrorLog/index.js +11 -0
  65. package/dist/runtime/gatewayErrorLog/read.d.ts +26 -0
  66. package/dist/runtime/gatewayErrorLog/read.d.ts.map +1 -0
  67. package/dist/runtime/gatewayErrorLog/read.js +50 -0
  68. package/dist/runtime/gatewayErrorLog/types.d.ts +2 -0
  69. package/dist/runtime/gatewayErrorLog/types.d.ts.map +1 -0
  70. package/dist/runtime/gatewayErrorLog/types.js +2 -0
  71. package/dist/runtime/index.d.ts +5 -1
  72. package/dist/runtime/index.d.ts.map +1 -1
  73. package/dist/runtime/index.js +5 -1
  74. package/dist/runtime/memory/MemorySnapshots.d.ts +61 -0
  75. package/dist/runtime/memory/MemorySnapshots.d.ts.map +1 -0
  76. package/dist/runtime/memory/MemorySnapshots.js +87 -0
  77. package/dist/runtime/memory/index.d.ts +1 -0
  78. package/dist/runtime/memory/index.d.ts.map +1 -1
  79. package/dist/runtime/memory/index.js +3 -1
  80. package/dist/runtime/systemMessages/SystemMessages.d.ts +15 -0
  81. package/dist/runtime/systemMessages/SystemMessages.d.ts.map +1 -0
  82. package/dist/runtime/systemMessages/SystemMessages.js +25 -0
  83. package/dist/runtime/systemMessages/index.d.ts +7 -0
  84. package/dist/runtime/systemMessages/index.d.ts.map +1 -0
  85. package/dist/runtime/systemMessages/index.js +11 -0
  86. package/dist/runtime/systemMessages/read.d.ts +25 -0
  87. package/dist/runtime/systemMessages/read.d.ts.map +1 -0
  88. package/dist/runtime/systemMessages/read.js +49 -0
  89. package/dist/runtime/systemMessages/types.d.ts +2 -0
  90. package/dist/runtime/systemMessages/types.d.ts.map +1 -0
  91. package/dist/runtime/systemMessages/types.js +2 -0
  92. package/dist/runtime/traces/CrossTraceDomain.d.ts +13 -0
  93. package/dist/runtime/traces/CrossTraceDomain.d.ts.map +1 -0
  94. package/dist/runtime/traces/CrossTraceDomain.js +29 -0
  95. package/dist/runtime/traces/ProfilerDomain.d.ts +25 -0
  96. package/dist/runtime/traces/ProfilerDomain.d.ts.map +1 -0
  97. package/dist/runtime/traces/ProfilerDomain.js +63 -0
  98. package/dist/runtime/traces/St05Trace.d.ts +10 -0
  99. package/dist/runtime/traces/St05Trace.d.ts.map +1 -0
  100. package/dist/runtime/traces/St05Trace.js +20 -0
  101. package/dist/runtime/traces/index.d.ts +3 -0
  102. package/dist/runtime/traces/index.d.ts.map +1 -1
  103. package/dist/runtime/traces/index.js +7 -1
  104. package/dist/runtime/types.d.ts +2 -0
  105. package/dist/runtime/types.d.ts.map +1 -0
  106. package/dist/runtime/types.js +2 -0
  107. package/package.json +2 -2
package/README.md CHANGED
@@ -94,8 +94,9 @@ npm install @mcp-abap-adt/adt-clients
94
94
  - Example: `await client.getClass().create({...}, { activateOnCreate: true })`
95
95
 
96
96
  2. **AdtRuntimeClient**
97
- - Stable runtime operations for ABAP debugging, traces, dumps, and logs
98
- - Example: `await runtimeClient.getDebugger(...)`
97
+ - Stable runtime operations for ABAP debugging, traces, dumps, logs, feeds, and more
98
+ - Factory accessors: `getProfiler()`, `getCrossTrace()`, `getSt05Trace()`, `getDebugger()`, `getApplicationLog()`, `getAtcLog()`, `getDdicActivation()`, `getDumps()`, `getFeeds()`, `getSystemMessages()`, `getGatewayErrorLog()`
99
+ - Example: `await runtimeClient.getDebugger().getAbap().launch()`
99
100
 
100
101
  3. **AdtExecutor**
101
102
  - Typed execution API based on `IExecutor`
@@ -106,8 +107,8 @@ npm install @mcp-abap-adt/adt-clients
106
107
 
107
108
  4. **AdtRuntimeClientExperimental**
108
109
  - Runtime APIs in progress that may change without backward-compatibility guarantees
109
- - Current scope: AMDP debugger + AMDP data preview
110
- - Example: `await experimentalRuntime.startAmdpDebugger(...)`
110
+ - Current scope: AMDP data preview (AMDP debugger is now part of `AdtRuntimeClient.getDebugger().getAmdp()`)
111
+ - Example: `await experimentalRuntime.startAmdpDataPreview(...)`
111
112
 
112
113
  5. **AdtClientsWS**
113
114
  - Realtime request/event facade over `IWebSocketTransport`
@@ -239,16 +240,17 @@ const deState = await dePromise;
239
240
  import { AdtRuntimeClient } from '@mcp-abap-adt/adt-clients';
240
241
 
241
242
  const runtime = new AdtRuntimeClient(connection);
243
+ const abapDebugger = runtime.getDebugger().getAbap();
242
244
 
243
245
  // Executes stepInto + getStack in one batch request
244
- const batchResponse = await runtime.stepIntoDebuggerBatch();
246
+ const batchResponse = await abapDebugger.stepIntoBatch();
245
247
 
246
248
  // Also available:
247
- await runtime.stepOutDebuggerBatch();
248
- await runtime.stepContinueDebuggerBatch();
249
+ await abapDebugger.stepOutBatch();
250
+ await abapDebugger.stepContinueBatch();
249
251
  ```
250
252
 
251
- For non-step actions keep using `executeDebuggerAction(action, value?)`.
253
+ For non-step actions use `executeAction(action, value?)`.
252
254
  Step actions (`stepInto`, `stepOut`, `stepContinue`) are reserved for batch-only execution.
253
255
 
254
256
  ### Using AdtExecutor (Execution API)
@@ -1,15 +1,18 @@
1
1
  /**
2
2
  * AdtRuntimeClient - Runtime Operations Client
3
3
  *
4
- * Provides access to runtime-related ADT operations:
5
- * - Profiler traces
6
- * - ABAP debugger operations
7
- * - Logs analysis
8
- * - Feed reader operations
9
- *
10
- * This is a standalone client for runtime operations, similar to AdtClient.
11
- * Experimental runtime APIs (for example AMDP debugger) are provided separately
12
- * in AdtRuntimeClientExperimental.
4
+ * Provides access to runtime-related ADT operations through domain object factories:
5
+ * - getProfiler() — Profiler traces
6
+ * - getCrossTrace() Cross trace analysis
7
+ * - getSt05Trace() — ST05 performance traces
8
+ * - getDebugger() Composite debugger (ABAP, AMDP, memory snapshots)
9
+ * - getApplicationLog() — Application log analysis
10
+ * - getAtcLog() ATC check failure and execution logs
11
+ * - getDdicActivation() DDIC activation graph
12
+ * - getDumps() — Runtime dump analysis
13
+ * - getFeeds() — Feed repository (list feeds, variants, parse Atom feeds)
14
+ * - getSystemMessages() — System messages (SM02)
15
+ * - getGatewayErrorLog() — Gateway error log (/IWFND/ERROR_LOG)
13
16
  *
14
17
  * Usage:
15
18
  * ```typescript
@@ -18,455 +21,46 @@
18
21
  * const client = new AdtRuntimeClient(connection, logger);
19
22
  *
20
23
  * // Profiler traces
21
- * const traceFiles = await client.listProfilerTraceFiles();
22
- * const traceParams = await client.getProfilerTraceParameters();
24
+ * const traceFiles = await client.getProfiler().list();
25
+ * const traceParams = await client.getProfiler().getParameters();
23
26
  *
24
27
  * // Debugging
25
- * await client.launchDebugger({ debuggingMode: 'external' });
26
- * const callStack = await client.getCallStack();
28
+ * await client.getDebugger().getAbap().launch({ debuggingMode: 'external' });
29
+ * const callStack = await client.getDebugger().getAbap().getCallStack();
27
30
  *
28
31
  * // Logs
29
- * const appLog = await client.getApplicationLogObject('Z_MY_LOG');
30
- * const atcLogs = await client.getAtcCheckFailureLogs();
32
+ * const appLog = await client.getApplicationLog().getObject('Z_MY_LOG');
33
+ * const atcLogs = await client.getAtcLog().getCheckFailureLogs();
31
34
  * ```
32
35
  */
33
- import type { IAdtResponse as AxiosResponse, IAbapConnection, ILogger } from '@mcp-abap-adt/interfaces';
34
- import { type IGetApplicationLogObjectOptions, type IGetApplicationLogSourceOptions } from '../runtime/applicationLog/read';
35
- import { type IGetCheckFailureLogsOptions } from '../runtime/atc/logs';
36
- import { type IGetActivationGraphOptions } from '../runtime/ddic/activationGraph';
37
- import { type IAbapDebuggerStepMethod, type IDebuggerBatchPayload, type IGetDebuggerOptions, type IGetSystemAreaOptions, type IGetVariableAsCsvOptions, type IGetVariableAsJsonOptions, type IGetVariableValueStatementOptions, type ILaunchDebuggerOptions, type IStopDebuggerOptions } from '../runtime/debugger/abap';
38
- import { type IRuntimeDumpReadOptions, type IRuntimeDumpsListOptions } from '../runtime/dumps';
39
- import { type IListCrossTracesOptions } from '../runtime/traces/crossTrace';
40
- import { type IProfilerTraceDbAccessesOptions, type IProfilerTraceHitListOptions, type IProfilerTraceParameters, type IProfilerTraceStatementsOptions } from '../runtime/traces/profiler';
36
+ import type { IAbapConnection, IApplicationLog, IAtcLog, ICrossTrace, IDdicActivation, IDebugger, IFeedRepository, IGatewayErrorLog, ILogger, IProfiler, IRuntimeDumps, ISt05Trace, ISystemMessages } from '@mcp-abap-adt/interfaces';
41
37
  export declare class AdtRuntimeClient {
42
- protected connection: IAbapConnection;
43
- protected logger?: ILogger;
38
+ protected readonly connection: IAbapConnection;
39
+ protected readonly logger: ILogger;
40
+ private _profiler?;
41
+ private _crossTrace?;
42
+ private _st05Trace?;
43
+ private _debugger?;
44
+ private _applicationLog?;
45
+ private _atcLog?;
46
+ private _ddicActivation?;
47
+ private _dumps?;
48
+ private _feeds?;
49
+ private _systemMessages?;
50
+ private _gatewayErrorLog?;
44
51
  constructor(connection: IAbapConnection, logger?: ILogger, options?: {
45
52
  enableAcceptCorrection?: boolean;
46
53
  });
47
- /**
48
- * List ABAP profiler trace files
49
- *
50
- * @returns Axios response with list of trace files
51
- */
52
- listProfilerTraceFiles(): Promise<AxiosResponse>;
53
- /**
54
- * Get ABAP profiler trace parameters
55
- *
56
- * @returns Axios response with trace parameters
57
- */
58
- getProfilerTraceParameters(): Promise<AxiosResponse>;
59
- /**
60
- * Get trace parameters for callstack aggregation
61
- *
62
- * @returns Axios response with callstack aggregation parameters
63
- */
64
- getProfilerTraceParametersForCallstack(): Promise<AxiosResponse>;
65
- /**
66
- * Get trace parameters for AMDP trace
67
- *
68
- * @returns Axios response with AMDP trace parameters
69
- */
70
- getProfilerTraceParametersForAmdp(): Promise<AxiosResponse>;
71
- /**
72
- * Build profiler trace parameters XML payload.
73
- *
74
- * @param options - Trace parameters options
75
- * @returns XML payload used by ADT runtime trace parameters endpoint
76
- */
77
- buildProfilerTraceParametersXml(options?: IProfilerTraceParameters): string;
78
- /**
79
- * Create profiler trace parameters (returns response with profiler URI in headers).
80
- *
81
- * @param options - Trace parameters options
82
- * @returns Axios response from ADT endpoint
83
- */
84
- createProfilerTraceParameters(options?: IProfilerTraceParameters): Promise<AxiosResponse>;
85
- /**
86
- * Extract profiler URI from createProfilerTraceParameters response headers.
87
- *
88
- * @param response - ADT response from createProfilerTraceParameters
89
- * @returns Profiler URI usable as profilerId query parameter
90
- */
91
- extractProfilerIdFromResponse(response: AxiosResponse): string | undefined;
92
- /**
93
- * Return default profiler parameters aligned with Eclipse defaults.
94
- */
95
- getDefaultProfilerTraceParameters(): Omit<IProfilerTraceParameters, 'description'>;
96
- /**
97
- * Get profiler trace hitlist for a specific trace.
98
- *
99
- * @param traceIdOrUri - Trace ID or full trace URI
100
- * @param options - Optional filters
101
- * @returns Axios response with hitlist
102
- */
103
- getProfilerTraceHitList(traceIdOrUri: string, options?: IProfilerTraceHitListOptions): Promise<AxiosResponse>;
104
- /**
105
- * Get profiler trace statements for a specific trace.
106
- *
107
- * @param traceIdOrUri - Trace ID or full trace URI
108
- * @param options - Optional statement filters
109
- * @returns Axios response with statements
110
- */
111
- getProfilerTraceStatements(traceIdOrUri: string, options?: IProfilerTraceStatementsOptions): Promise<AxiosResponse>;
112
- /**
113
- * Get profiler trace DB accesses for a specific trace.
114
- *
115
- * @param traceIdOrUri - Trace ID or full trace URI
116
- * @param options - Optional filters
117
- * @returns Axios response with DB accesses
118
- */
119
- getProfilerTraceDbAccesses(traceIdOrUri: string, options?: IProfilerTraceDbAccessesOptions): Promise<AxiosResponse>;
120
- /**
121
- * List ABAP profiler trace requests
122
- *
123
- * @returns Axios response with list of trace requests
124
- */
125
- listProfilerTraceRequests(): Promise<AxiosResponse>;
126
- /**
127
- * Get trace requests filtered by URI
128
- *
129
- * @param uri - Object URI to filter by
130
- * @returns Axios response with filtered trace requests
131
- */
132
- getProfilerTraceRequestsByUri(uri: string): Promise<AxiosResponse>;
133
- /**
134
- * List available object types for tracing
135
- *
136
- * @returns Axios response with list of object types
137
- */
138
- listProfilerObjectTypes(): Promise<AxiosResponse>;
139
- /**
140
- * List available process types for tracing
141
- *
142
- * @returns Axios response with list of process types
143
- */
144
- listProfilerProcessTypes(): Promise<AxiosResponse>;
145
- /**
146
- * List cross traces
147
- *
148
- * @param options - Optional filters
149
- * @returns Axios response with list of traces
150
- */
151
- listCrossTraces(options?: IListCrossTracesOptions): Promise<AxiosResponse>;
152
- /**
153
- * Get cross trace details
154
- *
155
- * @param traceId - Trace ID
156
- * @param includeSensitiveData - Whether to include sensitive data
157
- * @returns Axios response with trace details
158
- */
159
- getCrossTrace(traceId: string, includeSensitiveData?: boolean): Promise<AxiosResponse>;
160
- /**
161
- * Get cross trace records
162
- *
163
- * @param traceId - Trace ID
164
- * @returns Axios response with trace records
165
- */
166
- getCrossTraceRecords(traceId: string): Promise<AxiosResponse>;
167
- /**
168
- * Get cross trace record content
169
- *
170
- * @param traceId - Trace ID
171
- * @param recordNumber - Record number
172
- * @returns Axios response with record content
173
- */
174
- getCrossTraceRecordContent(traceId: string, recordNumber: number): Promise<AxiosResponse>;
175
- /**
176
- * Get cross trace activations
177
- *
178
- * @returns Axios response with trace activations
179
- */
180
- getCrossTraceActivations(): Promise<AxiosResponse>;
181
- /**
182
- * Launch debugger session
183
- *
184
- * @param options - Debugger launch options
185
- * @returns Axios response with debugger session
186
- */
187
- launchDebugger(options?: ILaunchDebuggerOptions): Promise<AxiosResponse>;
188
- /**
189
- * Stop debugger session
190
- *
191
- * @param options - Debugger stop options
192
- * @returns Axios response
193
- */
194
- stopDebugger(options?: IStopDebuggerOptions): Promise<AxiosResponse>;
195
- /**
196
- * Get debugger session
197
- *
198
- * @param options - Debugger get options
199
- * @returns Axios response with debugger session
200
- */
201
- getDebugger(options?: IGetDebuggerOptions): Promise<AxiosResponse>;
202
- /**
203
- * Get memory sizes
204
- *
205
- * @param includeAbap - Include ABAP memory (optional)
206
- * @returns Axios response with memory sizes
207
- */
208
- getDebuggerMemorySizes(includeAbap?: boolean): Promise<AxiosResponse>;
209
- /**
210
- * Get system area
211
- *
212
- * @param systemarea - System area name
213
- * @param options - System area options
214
- * @returns Axios response with system area data
215
- */
216
- getDebuggerSystemArea(systemarea: string, options?: IGetSystemAreaOptions): Promise<AxiosResponse>;
217
- /**
218
- * Synchronize breakpoints
219
- *
220
- * @param checkConflict - Check for conflicts (optional)
221
- * @returns Axios response with breakpoints
222
- */
223
- synchronizeBreakpoints(checkConflict?: boolean): Promise<AxiosResponse>;
224
- /**
225
- * Get breakpoint statements
226
- *
227
- * @returns Axios response with breakpoint statements
228
- */
229
- getBreakpointStatements(): Promise<AxiosResponse>;
230
- /**
231
- * Get breakpoint message types
232
- *
233
- * @returns Axios response with message types
234
- */
235
- getBreakpointMessageTypes(): Promise<AxiosResponse>;
236
- /**
237
- * Get breakpoint conditions
238
- *
239
- * @returns Axios response with breakpoint conditions
240
- */
241
- getBreakpointConditions(): Promise<AxiosResponse>;
242
- /**
243
- * Validate breakpoints
244
- *
245
- * @returns Axios response with validation results
246
- */
247
- validateBreakpoints(): Promise<AxiosResponse>;
248
- /**
249
- * Get VIT breakpoints
250
- *
251
- * @returns Axios response with VIT breakpoints
252
- */
253
- getVitBreakpoints(): Promise<AxiosResponse>;
254
- /**
255
- * Get variable max length
256
- *
257
- * @param variableName - Variable name
258
- * @param part - Variable part
259
- * @param maxLength - Max length (optional)
260
- * @returns Axios response with max length
261
- */
262
- getVariableMaxLength(variableName: string, part: string, maxLength?: number): Promise<AxiosResponse>;
263
- /**
264
- * Get variable subcomponents
265
- *
266
- * @param variableName - Variable name
267
- * @param part - Variable part
268
- * @param component - Component name (optional)
269
- * @param line - Line number (optional)
270
- * @returns Axios response with subcomponents
271
- */
272
- getVariableSubcomponents(variableName: string, part: string, component?: string, line?: number): Promise<AxiosResponse>;
273
- /**
274
- * Get variable as CSV
275
- *
276
- * @param variableName - Variable name
277
- * @param part - Variable part
278
- * @param options - CSV options
279
- * @returns Axios response with CSV data
280
- */
281
- getVariableAsCsv(variableName: string, part: string, options?: IGetVariableAsCsvOptions): Promise<AxiosResponse>;
282
- /**
283
- * Get variable as JSON
284
- *
285
- * @param variableName - Variable name
286
- * @param part - Variable part
287
- * @param options - JSON options
288
- * @returns Axios response with JSON data
289
- */
290
- getVariableAsJson(variableName: string, part: string, options?: IGetVariableAsJsonOptions): Promise<AxiosResponse>;
291
- /**
292
- * Get variable value statement
293
- *
294
- * @param variableName - Variable name
295
- * @param part - Variable part
296
- * @param options - Value statement options
297
- * @returns Axios response with value statement
298
- */
299
- getVariableValueStatement(variableName: string, part: string, options?: IGetVariableValueStatementOptions): Promise<AxiosResponse>;
300
- /**
301
- * Execute debugger action
302
- *
303
- * @param action - Action name
304
- * @param value - Action value (optional)
305
- * @returns Axios response
306
- */
307
- executeDebuggerAction(action: string, value?: string): Promise<AxiosResponse>;
308
- /**
309
- * Get call stack
310
- *
311
- * @returns Axios response with call stack
312
- */
313
- getCallStack(): Promise<AxiosResponse>;
314
- /**
315
- * Insert watchpoint
316
- *
317
- * @param variableName - Variable name
318
- * @param condition - Watchpoint condition (optional)
319
- * @returns Axios response
320
- */
321
- insertWatchpoint(variableName: string, condition?: string): Promise<AxiosResponse>;
322
- /**
323
- * Get watchpoints
324
- *
325
- * @returns Axios response with watchpoints
326
- */
327
- getWatchpoints(): Promise<AxiosResponse>;
328
- /**
329
- * Execute batch request
330
- *
331
- * @param requests - Batch requests (XML body)
332
- * @returns Axios response with batch results
333
- */
334
- executeBatchRequest(requests: string): Promise<AxiosResponse>;
335
- /**
336
- * Build multipart debugger batch payload from raw application/http parts.
337
- *
338
- * @param requests - Inner HTTP request parts for debugger batch
339
- * @returns Boundary and multipart body
340
- */
341
- buildDebuggerBatchPayload(requests: string[]): IDebuggerBatchPayload;
342
- /**
343
- * Build standard debugger batch payload: step operation + getStack.
344
- *
345
- * @param stepMethod - Step method to execute
346
- * @returns Boundary and multipart body
347
- */
348
- buildDebuggerStepWithStackBatchPayload(stepMethod: IAbapDebuggerStepMethod): IDebuggerBatchPayload;
349
- /**
350
- * Execute debugger step operation via multipart batch and fetch stack in the same batch.
351
- *
352
- * @param stepMethod - Step method to execute
353
- * @returns Axios response with multipart batch result
354
- */
355
- executeDebuggerStepBatch(stepMethod: IAbapDebuggerStepMethod): Promise<AxiosResponse>;
356
- /**
357
- * Execute debugger stepInto via multipart batch with stack fetch.
358
- *
359
- * @returns Axios response with multipart batch result
360
- */
361
- stepIntoDebuggerBatch(): Promise<AxiosResponse>;
362
- /**
363
- * Execute debugger stepOut via multipart batch with stack fetch.
364
- *
365
- * @returns Axios response with multipart batch result
366
- */
367
- stepOutDebuggerBatch(): Promise<AxiosResponse>;
368
- /**
369
- * Execute debugger continue via multipart batch with stack fetch.
370
- *
371
- * @returns Axios response with multipart batch result
372
- */
373
- stepContinueDebuggerBatch(): Promise<AxiosResponse>;
374
- /**
375
- * Get application log object properties
376
- *
377
- * @param objectName - Application log object name
378
- * @param options - Optional parameters
379
- * @returns Axios response with application log object properties
380
- */
381
- getApplicationLogObject(objectName: string, options?: IGetApplicationLogObjectOptions): Promise<AxiosResponse>;
382
- /**
383
- * Get application log object source
384
- *
385
- * @param objectName - Application log object name
386
- * @param options - Optional parameters
387
- * @returns Axios response with application log object source
388
- */
389
- getApplicationLogSource(objectName: string, options?: IGetApplicationLogSourceOptions): Promise<AxiosResponse>;
390
- /**
391
- * Validate application log object name
392
- *
393
- * @param objectName - Application log object name to validate
394
- * @returns Axios response with validation result
395
- */
396
- validateApplicationLogName(objectName: string): Promise<AxiosResponse>;
397
- /**
398
- * Get ATC check failure logs
399
- *
400
- * @param options - Optional filters
401
- * @returns Axios response with check failure logs
402
- */
403
- getAtcCheckFailureLogs(options?: IGetCheckFailureLogsOptions): Promise<AxiosResponse>;
404
- /**
405
- * Get ATC execution log
406
- *
407
- * @param executionId - Execution ID
408
- * @returns Axios response with execution log
409
- */
410
- getAtcExecutionLog(executionId: string): Promise<AxiosResponse>;
411
- /**
412
- * Get DDIC activation graph with logs
413
- *
414
- * @param options - Optional parameters
415
- * @returns Axios response with activation graph
416
- */
417
- getDdicActivationGraph(options?: IGetActivationGraphOptions): Promise<AxiosResponse>;
418
- /**
419
- * Get ST05 trace state
420
- *
421
- * @returns Axios response with trace state
422
- */
423
- getSt05TraceState(): Promise<AxiosResponse>;
424
- /**
425
- * Get ST05 trace directory
426
- *
427
- * @returns Axios response with trace directory information
428
- */
429
- getSt05TraceDirectory(): Promise<AxiosResponse>;
430
- /**
431
- * Build a runtime dump ID prefix from its known components.
432
- *
433
- * @see buildDumpIdPrefix in runtime/dumps/read.ts
434
- */
435
- buildDumpIdPrefix(datetime: string, hostname: string, sysid: string, instance: string): string;
436
- /**
437
- * Build ADT runtime dumps query expression for user filtering.
438
- *
439
- * @example and( equals( user, CB9980000423 ) )
440
- */
441
- buildRuntimeDumpsUserQuery(user?: string): string | undefined;
442
- /**
443
- * List runtime dumps feed.
444
- */
445
- listRuntimeDumps(options?: IRuntimeDumpsListOptions): Promise<AxiosResponse>;
446
- /**
447
- * List runtime dumps filtered by user.
448
- */
449
- listRuntimeDumpsByUser(user?: string, options?: Omit<IRuntimeDumpsListOptions, 'query'>): Promise<AxiosResponse>;
450
- /**
451
- * Read a specific runtime dump by its dump ID.
452
- *
453
- * @param options.view Select dump representation:
454
- * - `default` -> `/sap/bc/adt/runtime/dump/{id}`
455
- * - `summary` -> `/sap/bc/adt/runtime/dump/{id}/summary`
456
- * - `formatted` -> `/sap/bc/adt/runtime/dump/{id}/formatted`
457
- */
458
- getRuntimeDumpById(dumpId: string, options?: IRuntimeDumpReadOptions): Promise<AxiosResponse>;
459
- /**
460
- * Get feeds
461
- *
462
- * @returns Axios response with feeds
463
- */
464
- getFeeds(): Promise<AxiosResponse>;
465
- /**
466
- * Get feed variants
467
- *
468
- * @returns Axios response with feed variants
469
- */
470
- getFeedVariants(): Promise<AxiosResponse>;
54
+ getProfiler(): IProfiler;
55
+ getCrossTrace(): ICrossTrace;
56
+ getSt05Trace(): ISt05Trace;
57
+ getDebugger(): IDebugger;
58
+ getApplicationLog(): IApplicationLog;
59
+ getAtcLog(): IAtcLog;
60
+ getDdicActivation(): IDdicActivation;
61
+ getDumps(): IRuntimeDumps;
62
+ getFeeds(): IFeedRepository;
63
+ getSystemMessages(): ISystemMessages;
64
+ getGatewayErrorLog(): IGatewayErrorLog;
471
65
  }
472
66
  //# sourceMappingURL=A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