@orbytautomation/engine 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/AdapterRegistry.d.ts.map +1 -1
- package/dist/adapters/AdapterRegistry.js +6 -0
- package/dist/adapters/AdapterRegistry.js.map +1 -1
- package/dist/context/VariableResolver.d.ts.map +1 -1
- package/dist/context/VariableResolver.js +7 -0
- package/dist/context/VariableResolver.js.map +1 -1
- package/dist/core/OrbytEngine.d.ts +19 -0
- package/dist/core/OrbytEngine.d.ts.map +1 -1
- package/dist/core/OrbytEngine.js +79 -3
- package/dist/core/OrbytEngine.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/errors/ErrorDebugger.d.ts.map +1 -1
- package/dist/errors/ErrorDebugger.js +7 -0
- package/dist/errors/ErrorDebugger.js.map +1 -1
- package/dist/errors/ErrorDetector.d.ts.map +1 -1
- package/dist/errors/ErrorDetector.js +12 -0
- package/dist/errors/ErrorDetector.js.map +1 -1
- package/dist/errors/ErrorFormatter.d.ts +1 -1
- package/dist/errors/ErrorFormatter.d.ts.map +1 -1
- package/dist/execution/ExecutionEngine.d.ts.map +1 -1
- package/dist/execution/ExecutionEngine.js +36 -6
- package/dist/execution/ExecutionEngine.js.map +1 -1
- package/dist/execution/ExecutionPlan.d.ts.map +1 -1
- package/dist/execution/ExecutionPlan.js +21 -1
- package/dist/execution/ExecutionPlan.js.map +1 -1
- package/dist/execution/IntentAnalyzer.d.ts.map +1 -1
- package/dist/execution/IntentAnalyzer.js +20 -0
- package/dist/execution/IntentAnalyzer.js.map +1 -1
- package/dist/execution/StepExecutor.d.ts.map +1 -1
- package/dist/execution/StepExecutor.js +109 -29
- package/dist/execution/StepExecutor.js.map +1 -1
- package/dist/execution/WorkflowExecutor.d.ts.map +1 -1
- package/dist/execution/WorkflowExecutor.js +31 -0
- package/dist/execution/WorkflowExecutor.js.map +1 -1
- package/dist/explanation/ExplanationGenerator.d.ts +105 -0
- package/dist/explanation/ExplanationGenerator.d.ts.map +1 -0
- package/dist/explanation/ExplanationGenerator.js +814 -0
- package/dist/explanation/ExplanationGenerator.js.map +1 -0
- package/dist/explanation/ExplanationLogger.d.ts +50 -0
- package/dist/explanation/ExplanationLogger.d.ts.map +1 -0
- package/dist/explanation/ExplanationLogger.js +284 -0
- package/dist/explanation/ExplanationLogger.js.map +1 -0
- package/dist/explanation/ExplanationTypes.d.ts +252 -0
- package/dist/explanation/ExplanationTypes.d.ts.map +1 -0
- package/dist/explanation/ExplanationTypes.js +10 -0
- package/dist/explanation/ExplanationTypes.js.map +1 -0
- package/dist/explanation/index.d.ts +12 -0
- package/dist/explanation/index.d.ts.map +1 -0
- package/dist/explanation/index.js +11 -0
- package/dist/explanation/index.js.map +1 -0
- package/dist/hooks/HookManager.d.ts.map +1 -1
- package/dist/hooks/HookManager.js +8 -0
- package/dist/hooks/HookManager.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lifecycle/ShutdownManager.d.ts.map +1 -1
- package/dist/lifecycle/ShutdownManager.js +22 -9
- package/dist/lifecycle/ShutdownManager.js.map +1 -1
- package/dist/lifecycle/StartupManager.d.ts.map +1 -1
- package/dist/lifecycle/StartupManager.js +16 -5
- package/dist/lifecycle/StartupManager.js.map +1 -1
- package/dist/loader/WorkflowLoader.d.ts +1 -1
- package/dist/loader/WorkflowLoader.d.ts.map +1 -1
- package/dist/logging/EngineLogger.d.ts +492 -0
- package/dist/logging/EngineLogger.d.ts.map +1 -0
- package/dist/logging/EngineLogger.js +1170 -0
- package/dist/logging/EngineLogger.js.map +1 -0
- package/dist/logging/LoggerManager.d.ts +49 -0
- package/dist/logging/LoggerManager.d.ts.map +1 -0
- package/dist/logging/LoggerManager.js +94 -0
- package/dist/logging/LoggerManager.js.map +1 -0
- package/dist/logging/index.d.ts +2 -1
- package/dist/logging/index.d.ts.map +1 -1
- package/dist/logging/index.js +2 -3
- package/dist/logging/index.js.map +1 -1
- package/dist/parser/SchemaValidator.d.ts.map +1 -1
- package/dist/parser/SchemaValidator.js +6 -0
- package/dist/parser/SchemaValidator.js.map +1 -1
- package/dist/parser/StepParser.d.ts +6 -1
- package/dist/parser/StepParser.d.ts.map +1 -1
- package/dist/parser/StepParser.js +14 -1
- package/dist/parser/StepParser.js.map +1 -1
- package/dist/parser/WorkflowParser.d.ts.map +1 -1
- package/dist/parser/WorkflowParser.js +53 -28
- package/dist/parser/WorkflowParser.js.map +1 -1
- package/dist/scheduling/ScheduleParser.d.ts.map +1 -1
- package/dist/scheduling/ScheduleParser.js +7 -0
- package/dist/scheduling/ScheduleParser.js.map +1 -1
- package/dist/scheduling/Scheduler.d.ts.map +1 -1
- package/dist/scheduling/Scheduler.js +13 -0
- package/dist/scheduling/Scheduler.js.map +1 -1
- package/dist/types/log-types.d.ts +105 -0
- package/dist/types/log-types.d.ts.map +1 -0
- package/dist/types/log-types.js +42 -0
- package/dist/types/log-types.js.map +1 -0
- package/package.json +1 -1
- package/dist/core/EngineLogger.d.ts +0 -182
- package/dist/core/EngineLogger.d.ts.map +0 -1
- package/dist/core/EngineLogger.js +0 -293
- package/dist/core/EngineLogger.js.map +0 -1
- package/dist/logging/LogLevel.d.ts +0 -2
- package/dist/logging/LogLevel.d.ts.map +0 -1
- package/dist/logging/LogLevel.js +0 -2
- package/dist/logging/LogLevel.js.map +0 -1
- package/dist/logging/Logger.d.ts +0 -2
- package/dist/logging/Logger.d.ts.map +0 -1
- package/dist/logging/Logger.js +0 -2
- package/dist/logging/Logger.js.map +0 -1
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Engine Logger
|
|
3
|
+
*
|
|
4
|
+
* Provides structured logging for the Orbyt Engine using ecosystem-core utilities.
|
|
5
|
+
* Supports multiple output formats and log levels with proper filtering.
|
|
6
|
+
*
|
|
7
|
+
* Features:
|
|
8
|
+
* - Severity-based log level filtering using LogLevelSeverity
|
|
9
|
+
* - Multiple output formats (pretty, text, json, structured)
|
|
10
|
+
* - Color support with ANSI codes
|
|
11
|
+
* - Engine-generated timestamps (consistent across CLI, API, web dashboards)
|
|
12
|
+
* - Context and error tracking
|
|
13
|
+
* - Performance measurement with automatic severity adjustment
|
|
14
|
+
* - Efficient level comparison using numeric severity
|
|
15
|
+
*
|
|
16
|
+
* Timestamps are generated by the engine to ensure consistency across:
|
|
17
|
+
* - CLI output
|
|
18
|
+
* - API responses
|
|
19
|
+
* - Web dashboard logs
|
|
20
|
+
* - Monitoring systems
|
|
21
|
+
* - Audit trails
|
|
22
|
+
*
|
|
23
|
+
* @module core
|
|
24
|
+
*/
|
|
25
|
+
import { LogLevel, formatTimestamp } from '@dev-ecosystem/core';
|
|
26
|
+
import { EngineLogEvent, EngineLogFormat, EngineLoggerConfig, EngineLogType, ErrorLogEvent, ExecutionLogEvent, LifecycleLogEvent, ParseLogEvent, PerformanceLogEvent, ValidationLogEvent } from '../types/log-types.js';
|
|
27
|
+
/**
|
|
28
|
+
* Re-export formatTimestamp for external use
|
|
29
|
+
* Allows other parts of the system to format timestamps consistently
|
|
30
|
+
*/
|
|
31
|
+
export { formatTimestamp };
|
|
32
|
+
/**
|
|
33
|
+
* Engine Logger
|
|
34
|
+
*
|
|
35
|
+
* Wraps ecosystem-core logging utilities with engine-specific configuration.
|
|
36
|
+
*/
|
|
37
|
+
export declare class EngineLogger {
|
|
38
|
+
private config;
|
|
39
|
+
private formatOptions;
|
|
40
|
+
private eventListeners;
|
|
41
|
+
private logBuffer;
|
|
42
|
+
private maxBufferSize;
|
|
43
|
+
constructor(config: EngineLoggerConfig);
|
|
44
|
+
/**
|
|
45
|
+
* Log a debug message
|
|
46
|
+
*/
|
|
47
|
+
debug(message: string, context?: Record<string, unknown>): void;
|
|
48
|
+
/**
|
|
49
|
+
* Log an info message
|
|
50
|
+
*/
|
|
51
|
+
info(message: string, context?: Record<string, unknown>): void;
|
|
52
|
+
/**
|
|
53
|
+
* Log a warning message
|
|
54
|
+
*/
|
|
55
|
+
warn(message: string, context?: Record<string, unknown>): void;
|
|
56
|
+
/**
|
|
57
|
+
* Log an error message
|
|
58
|
+
*/
|
|
59
|
+
error(message: string, error?: Error, context?: Record<string, unknown>): void;
|
|
60
|
+
/**
|
|
61
|
+
* Log a fatal error message
|
|
62
|
+
*/
|
|
63
|
+
fatal(message: string, error?: Error, context?: Record<string, unknown>): void;
|
|
64
|
+
/**
|
|
65
|
+
* Log workflow started event
|
|
66
|
+
*/
|
|
67
|
+
workflowStarted(workflowName: string, context?: Record<string, unknown>): void;
|
|
68
|
+
/**
|
|
69
|
+
* Log workflow completed event
|
|
70
|
+
*/
|
|
71
|
+
workflowCompleted(workflowName: string, duration: number, context?: Record<string, unknown>): void;
|
|
72
|
+
/**
|
|
73
|
+
* Log workflow failed event
|
|
74
|
+
*/
|
|
75
|
+
workflowFailed(workflowName: string, error: Error, duration: number, context?: Record<string, unknown>): void;
|
|
76
|
+
/**
|
|
77
|
+
* Log workflow validation event
|
|
78
|
+
*/
|
|
79
|
+
workflowValidation(workflowName: string, isValid: boolean, errors?: string[]): void;
|
|
80
|
+
/**
|
|
81
|
+
* Log step started event
|
|
82
|
+
*/
|
|
83
|
+
stepStarted(stepId: string, stepName: string, context?: Record<string, unknown>): void;
|
|
84
|
+
/**
|
|
85
|
+
* Log step completed event
|
|
86
|
+
*/
|
|
87
|
+
stepCompleted(stepId: string, stepName: string, duration: number, context?: Record<string, unknown>): void;
|
|
88
|
+
/**
|
|
89
|
+
* Log step failed event
|
|
90
|
+
*/
|
|
91
|
+
stepFailed(stepId: string, stepName: string, error: Error, context?: Record<string, unknown>): void;
|
|
92
|
+
/**
|
|
93
|
+
* Log step retry event
|
|
94
|
+
*/
|
|
95
|
+
stepRetry(stepId: string, stepName: string, attempt: number, maxAttempts: number): void;
|
|
96
|
+
/**
|
|
97
|
+
* Log step timeout event
|
|
98
|
+
*/
|
|
99
|
+
stepTimeout(stepId: string, stepName: string, timeout: number): void;
|
|
100
|
+
/**
|
|
101
|
+
* Log explanation generated event
|
|
102
|
+
*/
|
|
103
|
+
explanationGenerated(workflowName: string, stepCount: number, strategy: string): void;
|
|
104
|
+
/**
|
|
105
|
+
* Log circular dependencies detected
|
|
106
|
+
*/
|
|
107
|
+
explanationCycles(workflowName: string, cycles: string[][]): void;
|
|
108
|
+
/**
|
|
109
|
+
* Log adapter loaded event
|
|
110
|
+
*/
|
|
111
|
+
adapterLoaded(adapterName: string, version?: string): void;
|
|
112
|
+
/**
|
|
113
|
+
* Log adapter failed event
|
|
114
|
+
*/
|
|
115
|
+
adapterFailed(adapterName: string, error: Error): void;
|
|
116
|
+
/**
|
|
117
|
+
* Log plugin installed event
|
|
118
|
+
*/
|
|
119
|
+
pluginInstalled(pluginName: string, source: string): void;
|
|
120
|
+
/**
|
|
121
|
+
* Log plugin verified event
|
|
122
|
+
*/
|
|
123
|
+
pluginVerified(pluginName: string, verified: boolean): void;
|
|
124
|
+
/**
|
|
125
|
+
* Log error detected event
|
|
126
|
+
*/
|
|
127
|
+
errorDetected(error: Error, context?: Record<string, unknown>): void;
|
|
128
|
+
/**
|
|
129
|
+
* Log error debugged event (with debugging info)
|
|
130
|
+
*/
|
|
131
|
+
errorDebugged(error: Error, debugInfo: {
|
|
132
|
+
explanation: string;
|
|
133
|
+
fixSteps: string[];
|
|
134
|
+
}): void;
|
|
135
|
+
/**
|
|
136
|
+
* Log validation error event
|
|
137
|
+
*/
|
|
138
|
+
validationError(message: string, errors: string[]): void;
|
|
139
|
+
/**
|
|
140
|
+
* Log performance metric
|
|
141
|
+
*/
|
|
142
|
+
performanceMetric(label: string, metrics: {
|
|
143
|
+
duration?: number;
|
|
144
|
+
memory?: number;
|
|
145
|
+
cpu?: number;
|
|
146
|
+
}): void;
|
|
147
|
+
/**
|
|
148
|
+
* Log execution time
|
|
149
|
+
*/
|
|
150
|
+
executionTime(label: string, duration: number, context?: Record<string, unknown>): void;
|
|
151
|
+
/**
|
|
152
|
+
* Log field execution - captures every field that gets executed
|
|
153
|
+
* This enables dynamic explanation generation from runtime logs
|
|
154
|
+
*/
|
|
155
|
+
fieldExecution(type: string, field: string, value: any, context?: Record<string, unknown>): void;
|
|
156
|
+
/**
|
|
157
|
+
* Log input processing
|
|
158
|
+
*/
|
|
159
|
+
inputProcessed(inputName: string, value: any, source: string): void;
|
|
160
|
+
/**
|
|
161
|
+
* Log output generation
|
|
162
|
+
*/
|
|
163
|
+
outputGenerated(outputName: string, value: any, step?: string): void;
|
|
164
|
+
/**
|
|
165
|
+
* Log context variable access
|
|
166
|
+
*/
|
|
167
|
+
contextAccessed(variable: string, value: any, step: string): void;
|
|
168
|
+
/**
|
|
169
|
+
* Log secret access (without exposing values)
|
|
170
|
+
*/
|
|
171
|
+
secretAccessed(secretKey: string, step: string): void;
|
|
172
|
+
/**
|
|
173
|
+
* Log variable resolution
|
|
174
|
+
*/
|
|
175
|
+
variableResolved(variable: string, resolvedValue: any, context: Record<string, unknown>): void;
|
|
176
|
+
/**
|
|
177
|
+
* Log adapter action execution
|
|
178
|
+
*/
|
|
179
|
+
adapterActionExecuted(adapter: string, action: string, duration: number, success: boolean): void;
|
|
180
|
+
/**
|
|
181
|
+
* Log parsing start
|
|
182
|
+
*/
|
|
183
|
+
parsingStarted(source: string, format: string): void;
|
|
184
|
+
/**
|
|
185
|
+
* Log parsing success
|
|
186
|
+
*/
|
|
187
|
+
parsingCompleted(source: string, duration: number, stats?: Record<string, unknown>): void;
|
|
188
|
+
/**
|
|
189
|
+
* Log parsing error
|
|
190
|
+
*/
|
|
191
|
+
parsingFailed(source: string, error: Error, context?: Record<string, unknown>): void;
|
|
192
|
+
/**
|
|
193
|
+
* Log validation start
|
|
194
|
+
*/
|
|
195
|
+
validationStarted(target: string, type: string): void;
|
|
196
|
+
/**
|
|
197
|
+
* Log validation success
|
|
198
|
+
*/
|
|
199
|
+
validationPassed(target: string, type: string, duration?: number): void;
|
|
200
|
+
/**
|
|
201
|
+
* Log validation failure
|
|
202
|
+
*/
|
|
203
|
+
validationFailed(target: string, type: string, errors: string[]): void;
|
|
204
|
+
/**
|
|
205
|
+
* Log error enrichment (when ErrorDetector adds debugging info)
|
|
206
|
+
*/
|
|
207
|
+
errorEnriched(error: Error, debugInfo: Record<string, unknown>): void;
|
|
208
|
+
/**
|
|
209
|
+
* Log error debugging output
|
|
210
|
+
*/
|
|
211
|
+
errorDebugOutput(error: Error, explanation: string, fixSteps: string[]): void;
|
|
212
|
+
/**
|
|
213
|
+
* Log execution phase start
|
|
214
|
+
*/
|
|
215
|
+
phaseStarted(phase: number, stepIds: string[]): void;
|
|
216
|
+
/**
|
|
217
|
+
* Log execution phase completion
|
|
218
|
+
*/
|
|
219
|
+
phaseCompleted(phase: number, duration: number, successCount: number, failureCount: number): void;
|
|
220
|
+
/**
|
|
221
|
+
* Format value for logging (truncate large values)
|
|
222
|
+
*/
|
|
223
|
+
private formatValue;
|
|
224
|
+
/**
|
|
225
|
+
* Sanitize value for logging (remove sensitive data)
|
|
226
|
+
*/
|
|
227
|
+
private sanitizeValue;
|
|
228
|
+
/**
|
|
229
|
+
* Check if field name suggests sensitive data
|
|
230
|
+
*/
|
|
231
|
+
private isSensitiveField;
|
|
232
|
+
/**
|
|
233
|
+
* Log with a custom level
|
|
234
|
+
*/
|
|
235
|
+
logWithLevel(level: LogLevel, message: string, context?: Record<string, unknown>): void;
|
|
236
|
+
/**
|
|
237
|
+
* Log only if severity meets minimum threshold
|
|
238
|
+
*/
|
|
239
|
+
logIfSeverity(minSeverity: number, level: LogLevel, message: string, context?: Record<string, unknown>): void;
|
|
240
|
+
/**
|
|
241
|
+
* Measure and log execution time with appropriate log level based on duration
|
|
242
|
+
*/
|
|
243
|
+
measureExecution<T>(label: string, fn: () => Promise<T>, thresholds?: {
|
|
244
|
+
warn?: number;
|
|
245
|
+
error?: number;
|
|
246
|
+
}): Promise<T>;
|
|
247
|
+
/**
|
|
248
|
+
* Log a structured engine event
|
|
249
|
+
*/
|
|
250
|
+
private logEvent;
|
|
251
|
+
/**
|
|
252
|
+
* Get appropriate log level for event type
|
|
253
|
+
*/
|
|
254
|
+
private getLogLevelForEventType;
|
|
255
|
+
/**
|
|
256
|
+
* Emit event to registered listeners
|
|
257
|
+
*/
|
|
258
|
+
private emitEvent;
|
|
259
|
+
/**
|
|
260
|
+
* Subscribe to specific log event types
|
|
261
|
+
*/
|
|
262
|
+
on(type: EngineLogType, listener: (event: EngineLogEvent) => void): () => void;
|
|
263
|
+
/**
|
|
264
|
+
* Internal log method
|
|
265
|
+
*/
|
|
266
|
+
private log;
|
|
267
|
+
/**
|
|
268
|
+
* Map LogLevel to EngineLogType
|
|
269
|
+
*/
|
|
270
|
+
private mapLogLevelToEventType;
|
|
271
|
+
/**
|
|
272
|
+
* Check if a level should be logged using severity comparison
|
|
273
|
+
*/
|
|
274
|
+
private shouldLogLevel;
|
|
275
|
+
/**
|
|
276
|
+
* Check if a level is more severe than another
|
|
277
|
+
*/
|
|
278
|
+
isMoreSevere(level: LogLevel, compareWith: LogLevel): boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Get severity difference between two levels
|
|
281
|
+
*/
|
|
282
|
+
getSeverityDiff(level1: LogLevel, level2: LogLevel): number;
|
|
283
|
+
/**
|
|
284
|
+
* Get the numeric severity of the current log level
|
|
285
|
+
*/
|
|
286
|
+
getCurrentSeverity(): number;
|
|
287
|
+
/**
|
|
288
|
+
* Get the numeric severity of a log level
|
|
289
|
+
*/
|
|
290
|
+
getSeverity(level: LogLevel): number;
|
|
291
|
+
/**
|
|
292
|
+
* Update logger configuration
|
|
293
|
+
*/
|
|
294
|
+
setLevel(level: LogLevel): void;
|
|
295
|
+
/**
|
|
296
|
+
* Set level by severity (0-4)
|
|
297
|
+
*/
|
|
298
|
+
setLevelBySeverity(severity: number): void;
|
|
299
|
+
/**
|
|
300
|
+
* Update colors setting
|
|
301
|
+
*/
|
|
302
|
+
setColors(enabled: boolean): void;
|
|
303
|
+
/**
|
|
304
|
+
* Update format
|
|
305
|
+
*/
|
|
306
|
+
setFormat(format: EngineLogFormat): void;
|
|
307
|
+
/**
|
|
308
|
+
* Update timestamp setting
|
|
309
|
+
*/
|
|
310
|
+
setTimestamp(enabled: boolean): void;
|
|
311
|
+
/**
|
|
312
|
+
* Update timestamp format
|
|
313
|
+
*
|
|
314
|
+
* @param _format - 'time' | 'datetime' | 'full' (reserved for future use)
|
|
315
|
+
*/
|
|
316
|
+
setTimestampFormat(_format: 'time' | 'datetime' | 'full'): void;
|
|
317
|
+
/**
|
|
318
|
+
* Format a timestamp using engine's timestamp formatter
|
|
319
|
+
* Useful for consistent timestamp formatting across the system
|
|
320
|
+
*
|
|
321
|
+
* @param date - Date to format (defaults to current time)
|
|
322
|
+
* @param format - Format type ('time', 'datetime', or 'full')
|
|
323
|
+
* @returns Formatted timestamp string
|
|
324
|
+
*/
|
|
325
|
+
formatTimestamp(date?: Date, format?: 'time' | 'datetime' | 'full'): string;
|
|
326
|
+
/**
|
|
327
|
+
* Check if a level will be logged (uses shouldLog from ecosystem-core)
|
|
328
|
+
*/
|
|
329
|
+
willLog(level: LogLevel): boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Get current configuration
|
|
332
|
+
*/
|
|
333
|
+
getConfig(): Readonly<EngineLoggerConfig>;
|
|
334
|
+
/**
|
|
335
|
+
* Check if debug logging is enabled
|
|
336
|
+
*/
|
|
337
|
+
isDebugEnabled(): boolean;
|
|
338
|
+
/**
|
|
339
|
+
* Check if info logging is enabled
|
|
340
|
+
*/
|
|
341
|
+
isInfoEnabled(): boolean;
|
|
342
|
+
/**
|
|
343
|
+
* Check if warn logging is enabled
|
|
344
|
+
*/
|
|
345
|
+
isWarnEnabled(): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Check if error logging is enabled
|
|
348
|
+
*/
|
|
349
|
+
isErrorEnabled(): boolean;
|
|
350
|
+
/**
|
|
351
|
+
* Add event to JSON log buffer
|
|
352
|
+
*/
|
|
353
|
+
private addToBuffer;
|
|
354
|
+
/**
|
|
355
|
+
* Get all logs as JSON array
|
|
356
|
+
* This is what CLI, API, dashboards, and explanation system will consume
|
|
357
|
+
*/
|
|
358
|
+
getJSONLogs(): EngineLogEvent[];
|
|
359
|
+
/**
|
|
360
|
+
* Get logs filtered by type
|
|
361
|
+
*/
|
|
362
|
+
getLogsByType(type: EngineLogType): EngineLogEvent[];
|
|
363
|
+
/**
|
|
364
|
+
* Get logs filtered by time range
|
|
365
|
+
*/
|
|
366
|
+
getLogsByTimeRange(startTime: Date, endTime: Date): EngineLogEvent[];
|
|
367
|
+
/**
|
|
368
|
+
* Get logs filtered by multiple criteria
|
|
369
|
+
*/
|
|
370
|
+
getLogsFiltered(filter: {
|
|
371
|
+
types?: EngineLogType[];
|
|
372
|
+
startTime?: Date;
|
|
373
|
+
endTime?: Date;
|
|
374
|
+
hasError?: boolean;
|
|
375
|
+
searchText?: string;
|
|
376
|
+
}): EngineLogEvent[];
|
|
377
|
+
/**
|
|
378
|
+
* Get logs by category: Parse events
|
|
379
|
+
*/
|
|
380
|
+
getParseLogEvents(): ParseLogEvent[];
|
|
381
|
+
/**
|
|
382
|
+
* Get logs by category: Validation events
|
|
383
|
+
*/
|
|
384
|
+
getValidationLogEvents(): ValidationLogEvent[];
|
|
385
|
+
/**
|
|
386
|
+
* Get logs by category: Execution events
|
|
387
|
+
*/
|
|
388
|
+
getExecutionLogEvents(): ExecutionLogEvent[];
|
|
389
|
+
/**
|
|
390
|
+
* Get logs by category: Error events
|
|
391
|
+
*/
|
|
392
|
+
getErrorLogEvents(): ErrorLogEvent[];
|
|
393
|
+
/**
|
|
394
|
+
* Get logs by category: Lifecycle events
|
|
395
|
+
*/
|
|
396
|
+
getLifecycleLogEvents(): LifecycleLogEvent[];
|
|
397
|
+
/**
|
|
398
|
+
* Get logs by category: Performance events
|
|
399
|
+
*/
|
|
400
|
+
getPerformanceLogEvents(): PerformanceLogEvent[];
|
|
401
|
+
/**
|
|
402
|
+
* Export logs as formatted JSON string
|
|
403
|
+
*/
|
|
404
|
+
exportLogsAsJSON(pretty?: boolean): string;
|
|
405
|
+
/**
|
|
406
|
+
* Export logs grouped by type
|
|
407
|
+
*/
|
|
408
|
+
exportLogsGrouped(): Record<string, EngineLogEvent[]>;
|
|
409
|
+
/**
|
|
410
|
+
* Get log statistics
|
|
411
|
+
*/
|
|
412
|
+
getLogStats(): {
|
|
413
|
+
total: number;
|
|
414
|
+
byType: Record<string, number>;
|
|
415
|
+
withErrors: number;
|
|
416
|
+
withMetrics: number;
|
|
417
|
+
timeRange: {
|
|
418
|
+
first?: Date;
|
|
419
|
+
last?: Date;
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Clear log buffer
|
|
424
|
+
*/
|
|
425
|
+
clearLogs(): void;
|
|
426
|
+
/**
|
|
427
|
+
* Set maximum buffer size
|
|
428
|
+
*/
|
|
429
|
+
setMaxBufferSize(size: number): void;
|
|
430
|
+
/**
|
|
431
|
+
* Get current buffer size
|
|
432
|
+
*/
|
|
433
|
+
getBufferSize(): number;
|
|
434
|
+
/**
|
|
435
|
+
* Export logs in a comprehensive format for consumers (CLI, API, dashboards)
|
|
436
|
+
*/
|
|
437
|
+
exportLogs(): ExportedLogs;
|
|
438
|
+
/**
|
|
439
|
+
* Build execution summary from collected logs
|
|
440
|
+
* This powers dynamic explanation generation
|
|
441
|
+
*/
|
|
442
|
+
private buildExecutionSummary;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Create a logger instance from engine config
|
|
446
|
+
*/
|
|
447
|
+
export declare function createEngineLogger(logLevel: 'debug' | 'info' | 'warn' | 'error' | 'silent', verbose?: boolean): EngineLogger | null;
|
|
448
|
+
/**
|
|
449
|
+
* Export logs in formats suitable for different consumers
|
|
450
|
+
*/
|
|
451
|
+
export interface ExportedLogs {
|
|
452
|
+
/** Raw JSON logs */
|
|
453
|
+
raw: EngineLogEvent[];
|
|
454
|
+
/** Logs grouped by type */
|
|
455
|
+
grouped: Record<string, EngineLogEvent[]>;
|
|
456
|
+
/** Statistics */
|
|
457
|
+
stats: {
|
|
458
|
+
total: number;
|
|
459
|
+
byType: Record<string, number>;
|
|
460
|
+
withErrors: number;
|
|
461
|
+
withMetrics: number;
|
|
462
|
+
timeRange: {
|
|
463
|
+
first?: Date;
|
|
464
|
+
last?: Date;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
/** Workflow execution summary for explanation */
|
|
468
|
+
execution?: {
|
|
469
|
+
workflow?: {
|
|
470
|
+
name: string;
|
|
471
|
+
status: string;
|
|
472
|
+
duration?: number;
|
|
473
|
+
};
|
|
474
|
+
steps: Array<{
|
|
475
|
+
id: string;
|
|
476
|
+
name: string;
|
|
477
|
+
status: string;
|
|
478
|
+
duration?: number;
|
|
479
|
+
}>;
|
|
480
|
+
errors: Array<{
|
|
481
|
+
step?: string;
|
|
482
|
+
message: string;
|
|
483
|
+
error?: Error;
|
|
484
|
+
}>;
|
|
485
|
+
metrics: Array<{
|
|
486
|
+
label: string;
|
|
487
|
+
duration?: number;
|
|
488
|
+
memory?: number;
|
|
489
|
+
}>;
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
//# sourceMappingURL=EngineLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EngineLogger.d.ts","sourceRoot":"","sources":["../../src/logging/EngineLogger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EACL,QAAQ,EAKR,eAAe,EAGhB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,aAAa,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAExN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