@orbytautomation/engine 0.3.0 → 0.4.1

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 (255) hide show
  1. package/dist/adapters/AdapterRegistry.d.ts.map +1 -1
  2. package/dist/adapters/AdapterRegistry.js +6 -0
  3. package/dist/adapters/AdapterRegistry.js.map +1 -1
  4. package/dist/automation/BackoffStrategy.d.ts +1 -19
  5. package/dist/automation/BackoffStrategy.d.ts.map +1 -1
  6. package/dist/automation/BackoffStrategy.js.map +1 -1
  7. package/dist/automation/FailureStrategy.d.ts +1 -34
  8. package/dist/automation/FailureStrategy.d.ts.map +1 -1
  9. package/dist/automation/FailureStrategy.js.map +1 -1
  10. package/dist/automation/RetryPolicy.d.ts +2 -22
  11. package/dist/automation/RetryPolicy.d.ts.map +1 -1
  12. package/dist/automation/RetryPolicy.js.map +1 -1
  13. package/dist/automation/TimeoutManager.d.ts +1 -26
  14. package/dist/automation/TimeoutManager.d.ts.map +1 -1
  15. package/dist/automation/TimeoutManager.js.map +1 -1
  16. package/dist/automation/runtime/FailureHandler.d.ts +2 -57
  17. package/dist/automation/runtime/FailureHandler.d.ts.map +1 -1
  18. package/dist/automation/runtime/FailureHandler.js.map +1 -1
  19. package/dist/context/ContextStore.d.ts +1 -36
  20. package/dist/context/ContextStore.d.ts.map +1 -1
  21. package/dist/context/ContextStore.js.map +1 -1
  22. package/dist/context/VariableResolver.d.ts +1 -44
  23. package/dist/context/VariableResolver.d.ts.map +1 -1
  24. package/dist/context/VariableResolver.js +7 -0
  25. package/dist/context/VariableResolver.js.map +1 -1
  26. package/dist/core/EngineConfig.d.ts +1 -138
  27. package/dist/core/EngineConfig.d.ts.map +1 -1
  28. package/dist/core/EngineConfig.js.map +1 -1
  29. package/dist/core/EngineContext.d.ts +1 -62
  30. package/dist/core/EngineContext.d.ts.map +1 -1
  31. package/dist/core/EngineContext.js.map +1 -1
  32. package/dist/core/OrbytEngine.d.ts +19 -6
  33. package/dist/core/OrbytEngine.d.ts.map +1 -1
  34. package/dist/core/OrbytEngine.js +81 -4
  35. package/dist/core/OrbytEngine.js.map +1 -1
  36. package/dist/core/index.d.ts +1 -1
  37. package/dist/core/index.d.ts.map +1 -1
  38. package/dist/core/index.js +1 -1
  39. package/dist/core/index.js.map +1 -1
  40. package/dist/errors/ErrorDebugger.d.ts.map +1 -1
  41. package/dist/errors/ErrorDebugger.js +7 -0
  42. package/dist/errors/ErrorDebugger.js.map +1 -1
  43. package/dist/errors/ErrorDetector.d.ts.map +1 -1
  44. package/dist/errors/ErrorDetector.js +12 -0
  45. package/dist/errors/ErrorDetector.js.map +1 -1
  46. package/dist/errors/ErrorFormatter.d.ts +1 -1
  47. package/dist/errors/ErrorFormatter.d.ts.map +1 -1
  48. package/dist/errors/OrbytError.d.ts +1 -20
  49. package/dist/errors/OrbytError.d.ts.map +1 -1
  50. package/dist/errors/OrbytError.js.map +1 -1
  51. package/dist/errors/SecurityErrors.d.ts +2 -38
  52. package/dist/errors/SecurityErrors.d.ts.map +1 -1
  53. package/dist/errors/SecurityErrors.js +0 -20
  54. package/dist/errors/SecurityErrors.js.map +1 -1
  55. package/dist/errors/WorkflowError.d.ts +2 -1
  56. package/dist/errors/WorkflowError.d.ts.map +1 -1
  57. package/dist/errors/WorkflowError.js.map +1 -1
  58. package/dist/events/EngineEvents.d.ts +1 -123
  59. package/dist/events/EngineEvents.d.ts.map +1 -1
  60. package/dist/events/EngineEvents.js +0 -35
  61. package/dist/events/EngineEvents.js.map +1 -1
  62. package/dist/events/EventBus.d.ts +1 -1
  63. package/dist/events/EventBus.d.ts.map +1 -1
  64. package/dist/events/EventBus.js.map +1 -1
  65. package/dist/execution/ExecutionEngine.d.ts +1 -68
  66. package/dist/execution/ExecutionEngine.d.ts.map +1 -1
  67. package/dist/execution/ExecutionEngine.js +43 -11
  68. package/dist/execution/ExecutionEngine.js.map +1 -1
  69. package/dist/execution/ExecutionLimits.d.ts +1 -47
  70. package/dist/execution/ExecutionLimits.d.ts.map +1 -1
  71. package/dist/execution/ExecutionLimits.js +1 -60
  72. package/dist/execution/ExecutionLimits.js.map +1 -1
  73. package/dist/execution/ExecutionNode.d.ts +1 -64
  74. package/dist/execution/ExecutionNode.d.ts.map +1 -1
  75. package/dist/execution/ExecutionNode.js.map +1 -1
  76. package/dist/execution/ExecutionPlan.d.ts +1 -31
  77. package/dist/execution/ExecutionPlan.d.ts.map +1 -1
  78. package/dist/execution/ExecutionPlan.js +21 -1
  79. package/dist/execution/ExecutionPlan.js.map +1 -1
  80. package/dist/execution/ExecutionStrategyResolver.d.ts +1 -54
  81. package/dist/execution/ExecutionStrategyResolver.d.ts.map +1 -1
  82. package/dist/execution/ExecutionStrategyResolver.js.map +1 -1
  83. package/dist/execution/IntentAnalyzer.d.ts +1 -37
  84. package/dist/execution/IntentAnalyzer.d.ts.map +1 -1
  85. package/dist/execution/IntentAnalyzer.js +20 -0
  86. package/dist/execution/IntentAnalyzer.js.map +1 -1
  87. package/dist/execution/InternalExecutionContext.d.ts +1 -196
  88. package/dist/execution/InternalExecutionContext.d.ts.map +1 -1
  89. package/dist/execution/InternalExecutionContext.js.map +1 -1
  90. package/dist/execution/StepExecutor.d.ts +1 -39
  91. package/dist/execution/StepExecutor.d.ts.map +1 -1
  92. package/dist/execution/StepExecutor.js +111 -30
  93. package/dist/execution/StepExecutor.js.map +1 -1
  94. package/dist/execution/WorkflowExecutor.d.ts +1 -48
  95. package/dist/execution/WorkflowExecutor.d.ts.map +1 -1
  96. package/dist/execution/WorkflowExecutor.js +33 -1
  97. package/dist/execution/WorkflowExecutor.js.map +1 -1
  98. package/dist/execution/drivers/AdapterDriver.d.ts +2 -1
  99. package/dist/execution/drivers/AdapterDriver.d.ts.map +1 -1
  100. package/dist/execution/drivers/AdapterDriver.js.map +1 -1
  101. package/dist/execution/drivers/DriverResolver.d.ts +1 -1
  102. package/dist/execution/drivers/DriverResolver.d.ts.map +1 -1
  103. package/dist/execution/drivers/DriverResolver.js.map +1 -1
  104. package/dist/execution/drivers/ExecutionDriver.d.ts +1 -94
  105. package/dist/execution/drivers/ExecutionDriver.d.ts.map +1 -1
  106. package/dist/execution/drivers/ExecutionDriver.js.map +1 -1
  107. package/dist/explanation/ExplanationGenerator.d.ts +104 -0
  108. package/dist/explanation/ExplanationGenerator.d.ts.map +1 -0
  109. package/dist/explanation/ExplanationGenerator.js +814 -0
  110. package/dist/explanation/ExplanationGenerator.js.map +1 -0
  111. package/dist/explanation/ExplanationLogger.d.ts +50 -0
  112. package/dist/explanation/ExplanationLogger.d.ts.map +1 -0
  113. package/dist/explanation/ExplanationLogger.js +284 -0
  114. package/dist/explanation/ExplanationLogger.js.map +1 -0
  115. package/dist/explanation/index.d.ts +11 -0
  116. package/dist/explanation/index.d.ts.map +1 -0
  117. package/dist/explanation/index.js +11 -0
  118. package/dist/explanation/index.js.map +1 -0
  119. package/dist/graph/CycleDetector.d.ts +1 -10
  120. package/dist/graph/CycleDetector.d.ts.map +1 -1
  121. package/dist/graph/CycleDetector.js +1 -12
  122. package/dist/graph/CycleDetector.js.map +1 -1
  123. package/dist/graph/DependencyGraph.d.ts +3 -3
  124. package/dist/graph/DependencyGraph.d.ts.map +1 -1
  125. package/dist/graph/DependencyGraph.js +1 -1
  126. package/dist/graph/DependencyGraph.js.map +1 -1
  127. package/dist/graph/DependencyResolver.d.ts +1 -23
  128. package/dist/graph/DependencyResolver.d.ts.map +1 -1
  129. package/dist/graph/DependencyResolver.js.map +1 -1
  130. package/dist/graph/TopologicalSorter.d.ts +1 -34
  131. package/dist/graph/TopologicalSorter.d.ts.map +1 -1
  132. package/dist/graph/TopologicalSorter.js.map +1 -1
  133. package/dist/guards/ResourceGuard.d.ts +1 -20
  134. package/dist/guards/ResourceGuard.d.ts.map +1 -1
  135. package/dist/guards/ResourceGuard.js.map +1 -1
  136. package/dist/guards/StepGuard.d.ts +1 -1
  137. package/dist/guards/StepGuard.d.ts.map +1 -1
  138. package/dist/guards/StepGuard.js.map +1 -1
  139. package/dist/guards/WorkflowGuard.d.ts +1 -1
  140. package/dist/guards/WorkflowGuard.d.ts.map +1 -1
  141. package/dist/guards/WorkflowGuard.js.map +1 -1
  142. package/dist/hooks/HookManager.d.ts.map +1 -1
  143. package/dist/hooks/HookManager.js +8 -0
  144. package/dist/hooks/HookManager.js.map +1 -1
  145. package/dist/index.d.ts +5 -0
  146. package/dist/index.d.ts.map +1 -1
  147. package/dist/index.js +6 -0
  148. package/dist/index.js.map +1 -1
  149. package/dist/lifecycle/ShutdownManager.d.ts.map +1 -1
  150. package/dist/lifecycle/ShutdownManager.js +22 -9
  151. package/dist/lifecycle/ShutdownManager.js.map +1 -1
  152. package/dist/lifecycle/StartupManager.d.ts.map +1 -1
  153. package/dist/lifecycle/StartupManager.js +16 -5
  154. package/dist/lifecycle/StartupManager.js.map +1 -1
  155. package/dist/loader/WorkflowLoader.d.ts +2 -25
  156. package/dist/loader/WorkflowLoader.d.ts.map +1 -1
  157. package/dist/loader/WorkflowLoader.js.map +1 -1
  158. package/dist/loader/index.d.ts +0 -8
  159. package/dist/loader/index.d.ts.map +1 -1
  160. package/dist/loader/index.js +0 -8
  161. package/dist/loader/index.js.map +1 -1
  162. package/dist/logging/EngineLogger.d.ts +492 -0
  163. package/dist/logging/EngineLogger.d.ts.map +1 -0
  164. package/dist/logging/EngineLogger.js +1170 -0
  165. package/dist/logging/EngineLogger.js.map +1 -0
  166. package/dist/logging/LoggerManager.d.ts +49 -0
  167. package/dist/logging/LoggerManager.d.ts.map +1 -0
  168. package/dist/logging/LoggerManager.js +94 -0
  169. package/dist/logging/LoggerManager.js.map +1 -0
  170. package/dist/logging/index.d.ts +2 -1
  171. package/dist/logging/index.d.ts.map +1 -1
  172. package/dist/logging/index.js +2 -3
  173. package/dist/logging/index.js.map +1 -1
  174. package/dist/parser/SchemaValidator.d.ts.map +1 -1
  175. package/dist/parser/SchemaValidator.js +6 -0
  176. package/dist/parser/SchemaValidator.js.map +1 -1
  177. package/dist/parser/StepParser.d.ts +1 -33
  178. package/dist/parser/StepParser.d.ts.map +1 -1
  179. package/dist/parser/StepParser.js +14 -1
  180. package/dist/parser/StepParser.js.map +1 -1
  181. package/dist/parser/WorkflowParser.d.ts +1 -68
  182. package/dist/parser/WorkflowParser.d.ts.map +1 -1
  183. package/dist/parser/WorkflowParser.js +53 -28
  184. package/dist/parser/WorkflowParser.js.map +1 -1
  185. package/dist/queue/InMemoryQueue.d.ts +1 -1
  186. package/dist/queue/InMemoryQueue.d.ts.map +1 -1
  187. package/dist/queue/InMemoryQueue.js.map +1 -1
  188. package/dist/queue/JobQueue.d.ts +1 -186
  189. package/dist/queue/JobQueue.d.ts.map +1 -1
  190. package/dist/queue/JobQueue.js +1 -10
  191. package/dist/queue/JobQueue.js.map +1 -1
  192. package/dist/scheduling/CronScheduler.d.ts +1 -31
  193. package/dist/scheduling/CronScheduler.d.ts.map +1 -1
  194. package/dist/scheduling/CronScheduler.js +1 -1
  195. package/dist/scheduling/CronScheduler.js.map +1 -1
  196. package/dist/scheduling/JobScheduler.d.ts +2 -3
  197. package/dist/scheduling/JobScheduler.d.ts.map +1 -1
  198. package/dist/scheduling/JobScheduler.js +2 -1
  199. package/dist/scheduling/JobScheduler.js.map +1 -1
  200. package/dist/scheduling/ScheduleParser.d.ts.map +1 -1
  201. package/dist/scheduling/ScheduleParser.js +7 -0
  202. package/dist/scheduling/ScheduleParser.js.map +1 -1
  203. package/dist/scheduling/ScheduleTypes.d.ts +1 -131
  204. package/dist/scheduling/ScheduleTypes.d.ts.map +1 -1
  205. package/dist/scheduling/ScheduleTypes.js.map +1 -1
  206. package/dist/scheduling/Scheduler.d.ts +2 -3
  207. package/dist/scheduling/Scheduler.d.ts.map +1 -1
  208. package/dist/scheduling/Scheduler.js +13 -0
  209. package/dist/scheduling/Scheduler.js.map +1 -1
  210. package/dist/security/PermissionPolicy.d.ts +1 -13
  211. package/dist/security/PermissionPolicy.d.ts.map +1 -1
  212. package/dist/security/PermissionPolicy.js +1 -14
  213. package/dist/security/PermissionPolicy.js.map +1 -1
  214. package/dist/security/ReservedFields.d.ts +0 -20
  215. package/dist/security/ReservedFields.d.ts.map +1 -1
  216. package/dist/security/ReservedFields.js +2 -71
  217. package/dist/security/ReservedFields.js.map +1 -1
  218. package/dist/security/SandboxManager.d.ts +1 -29
  219. package/dist/security/SandboxManager.d.ts.map +1 -1
  220. package/dist/security/SandboxManager.js.map +1 -1
  221. package/dist/state/ExecutionState.d.ts +1 -123
  222. package/dist/state/ExecutionState.d.ts.map +1 -1
  223. package/dist/state/ExecutionState.js +1 -51
  224. package/dist/state/ExecutionState.js.map +1 -1
  225. package/dist/state/StateMachine.d.ts +1 -25
  226. package/dist/state/StateMachine.d.ts.map +1 -1
  227. package/dist/state/StateMachine.js +1 -1
  228. package/dist/state/StateMachine.js.map +1 -1
  229. package/dist/testing/EngineTestHarness.d.ts +1 -1
  230. package/dist/testing/EngineTestHarness.d.ts.map +1 -1
  231. package/dist/types/core-types.d.ts +2306 -4
  232. package/dist/types/core-types.d.ts.map +1 -1
  233. package/dist/types/core-types.js +272 -1
  234. package/dist/types/core-types.js.map +1 -1
  235. package/dist/types/index.d.ts +3 -0
  236. package/dist/types/index.d.ts.map +1 -0
  237. package/dist/types/index.js +3 -0
  238. package/dist/types/index.js.map +1 -0
  239. package/dist/types/log-types.d.ts +105 -0
  240. package/dist/types/log-types.d.ts.map +1 -0
  241. package/dist/types/log-types.js +42 -0
  242. package/dist/types/log-types.js.map +1 -0
  243. package/package.json +2 -2
  244. package/dist/core/EngineLogger.d.ts +0 -182
  245. package/dist/core/EngineLogger.d.ts.map +0 -1
  246. package/dist/core/EngineLogger.js +0 -293
  247. package/dist/core/EngineLogger.js.map +0 -1
  248. package/dist/logging/LogLevel.d.ts +0 -2
  249. package/dist/logging/LogLevel.d.ts.map +0 -1
  250. package/dist/logging/LogLevel.js +0 -2
  251. package/dist/logging/LogLevel.js.map +0 -1
  252. package/dist/logging/Logger.d.ts +0 -2
  253. package/dist/logging/Logger.d.ts.map +0 -1
  254. package/dist/logging/Logger.js +0 -2
  255. package/dist/logging/Logger.js.map +0 -1
@@ -1,182 +0,0 @@
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
- /**
27
- * Re-export formatTimestamp for external use
28
- * Allows other parts of the system to format timestamps consistently
29
- */
30
- export { formatTimestamp };
31
- /**
32
- * Engine-specific log format type
33
- */
34
- export type EngineLogFormat = 'pretty' | 'text' | 'json' | 'structured';
35
- /**
36
- * Engine logger configuration
37
- */
38
- export interface EngineLoggerConfig {
39
- /** Minimum log level to output */
40
- level: LogLevel;
41
- /** Output format */
42
- format?: EngineLogFormat;
43
- /** Enable colors in output */
44
- colors?: boolean;
45
- /** Include timestamps */
46
- timestamp?: boolean;
47
- /** Source identifier */
48
- source?: string;
49
- }
50
- /**
51
- * Engine Logger
52
- *
53
- * Wraps ecosystem-core logging utilities with engine-specific configuration.
54
- */
55
- export declare class EngineLogger {
56
- private config;
57
- private formatOptions;
58
- constructor(config: EngineLoggerConfig);
59
- /**
60
- * Log a debug message
61
- */
62
- debug(message: string, context?: Record<string, unknown>): void;
63
- /**
64
- * Log an info message
65
- */
66
- info(message: string, context?: Record<string, unknown>): void;
67
- /**
68
- * Log a warning message
69
- */
70
- warn(message: string, context?: Record<string, unknown>): void;
71
- /**
72
- * Log an error message
73
- */
74
- error(message: string, error?: Error, context?: Record<string, unknown>): void;
75
- /**
76
- * Log a fatal error message
77
- */
78
- fatal(message: string, error?: Error, context?: Record<string, unknown>): void;
79
- /**
80
- * Log with a custom level
81
- */
82
- logWithLevel(level: LogLevel, message: string, context?: Record<string, unknown>): void;
83
- /**
84
- * Log only if severity meets minimum threshold
85
- */
86
- logIfSeverity(minSeverity: number, level: LogLevel, message: string, context?: Record<string, unknown>): void;
87
- /**
88
- * Measure and log execution time with appropriate log level based on duration
89
- */
90
- measureExecution<T>(label: string, fn: () => Promise<T>, thresholds?: {
91
- warn?: number;
92
- error?: number;
93
- }): Promise<T>;
94
- /**
95
- * Internal log method
96
- */
97
- private log;
98
- /**
99
- * Check if a level should be logged using severity comparison
100
- */
101
- private shouldLogLevel;
102
- /**
103
- * Check if a level is more severe than another
104
- */
105
- isMoreSevere(level: LogLevel, compareWith: LogLevel): boolean;
106
- /**
107
- * Get severity difference between two levels
108
- */
109
- getSeverityDiff(level1: LogLevel, level2: LogLevel): number;
110
- /**
111
- * Get the numeric severity of the current log level
112
- */
113
- getCurrentSeverity(): number;
114
- /**
115
- * Get the numeric severity of a log level
116
- */
117
- getSeverity(level: LogLevel): number;
118
- /**
119
- * Update logger configuration
120
- */
121
- setLevel(level: LogLevel): void;
122
- /**
123
- * Set level by severity (0-4)
124
- */
125
- setLevelBySeverity(severity: number): void;
126
- /**
127
- * Update colors setting
128
- */
129
- setColors(enabled: boolean): void;
130
- /**
131
- * Update format
132
- */
133
- setFormat(format: EngineLogFormat): void;
134
- /**
135
- * Update timestamp setting
136
- */
137
- setTimestamp(enabled: boolean): void;
138
- /**
139
- * Update timestamp format
140
- *
141
- * @param _format - 'time' | 'datetime' | 'full' (reserved for future use)
142
- */
143
- setTimestampFormat(_format: 'time' | 'datetime' | 'full'): void;
144
- /**
145
- * Format a timestamp using engine's timestamp formatter
146
- * Useful for consistent timestamp formatting across the system
147
- *
148
- * @param date - Date to format (defaults to current time)
149
- * @param format - Format type ('time', 'datetime', or 'full')
150
- * @returns Formatted timestamp string
151
- */
152
- formatTimestamp(date?: Date, format?: 'time' | 'datetime' | 'full'): string;
153
- /**
154
- * Check if a level will be logged (uses shouldLog from ecosystem-core)
155
- */
156
- willLog(level: LogLevel): boolean;
157
- /**
158
- * Get current configuration
159
- */
160
- getConfig(): Readonly<EngineLoggerConfig>;
161
- /**
162
- * Check if debug logging is enabled
163
- */
164
- isDebugEnabled(): boolean;
165
- /**
166
- * Check if info logging is enabled
167
- */
168
- isInfoEnabled(): boolean;
169
- /**
170
- * Check if warn logging is enabled
171
- */
172
- isWarnEnabled(): boolean;
173
- /**
174
- * Check if error logging is enabled
175
- */
176
- isErrorEnabled(): boolean;
177
- }
178
- /**
179
- * Create a logger instance from engine config
180
- */
181
- export declare function createEngineLogger(logLevel: 'debug' | 'info' | 'warn' | 'error' | 'silent', verbose?: boolean): EngineLogger | null;
182
- //# sourceMappingURL=EngineLogger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EngineLogger.d.ts","sourceRoot":"","sources":["../../src/core/EngineLogger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EACL,QAAQ,EAKR,eAAe,EAGhB,MAAM,qBAAqB,CAAC;AAE7B;;;GAGG;AACH,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,kCAAkC;IAClC,KAAK,EAAE,QAAQ,CAAC;IAChB,oBAAoB;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yBAAyB;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CA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OAAO;IAIxB;;OAEG;IACH,cAAc,IAAI,OAAO;CAG1B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,EACxD,OAAO,GAAE,OAAe,GACvB,YAAY,GAAG,IAAI,CAwBrB"}
@@ -1,293 +0,0 @@
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, LogLevelSeverity, formatLog, createLogEntry, shouldLog, formatTimestamp, } from '@dev-ecosystem/core';
26
- /**
27
- * Re-export formatTimestamp for external use
28
- * Allows other parts of the system to format timestamps consistently
29
- */
30
- export { formatTimestamp };
31
- /**
32
- * Engine Logger
33
- *
34
- * Wraps ecosystem-core logging utilities with engine-specific configuration.
35
- */
36
- export class EngineLogger {
37
- config;
38
- formatOptions;
39
- constructor(config) {
40
- this.config = {
41
- level: config.level,
42
- format: config.format || 'text',
43
- colors: config.colors ?? true,
44
- timestamp: config.timestamp ?? true,
45
- source: config.source || 'Orbyt',
46
- };
47
- this.formatOptions = {
48
- format: this.config.format,
49
- colors: this.config.colors,
50
- timestamp: this.config.timestamp,
51
- includeSource: true,
52
- };
53
- }
54
- /**
55
- * Log a debug message
56
- */
57
- debug(message, context) {
58
- this.log(LogLevel.DEBUG, message, context);
59
- }
60
- /**
61
- * Log an info message
62
- */
63
- info(message, context) {
64
- this.log(LogLevel.INFO, message, context);
65
- }
66
- /**
67
- * Log a warning message
68
- */
69
- warn(message, context) {
70
- this.log(LogLevel.WARN, message, context);
71
- }
72
- /**
73
- * Log an error message
74
- */
75
- error(message, error, context) {
76
- this.log(LogLevel.ERROR, message, context, error);
77
- }
78
- /**
79
- * Log a fatal error message
80
- */
81
- fatal(message, error, context) {
82
- this.log(LogLevel.FATAL, message, context, error);
83
- }
84
- /**
85
- * Log with a custom level
86
- */
87
- logWithLevel(level, message, context) {
88
- this.log(level, message, context);
89
- }
90
- /**
91
- * Log only if severity meets minimum threshold
92
- */
93
- logIfSeverity(minSeverity, level, message, context) {
94
- if (LogLevelSeverity[level] >= minSeverity) {
95
- this.log(level, message, context);
96
- }
97
- }
98
- /**
99
- * Measure and log execution time with appropriate log level based on duration
100
- */
101
- async measureExecution(label, fn, thresholds) {
102
- const start = Date.now();
103
- try {
104
- const result = await fn();
105
- const duration = Date.now() - start;
106
- // Choose log level based on duration thresholds
107
- let level = LogLevel.DEBUG;
108
- if (thresholds?.error && duration > thresholds.error) {
109
- level = LogLevel.ERROR;
110
- }
111
- else if (thresholds?.warn && duration > thresholds.warn) {
112
- level = LogLevel.WARN;
113
- }
114
- else {
115
- level = LogLevel.INFO;
116
- }
117
- this.log(level, `${label} completed`, { duration: `${duration}ms` });
118
- return result;
119
- }
120
- catch (error) {
121
- const duration = Date.now() - start;
122
- this.log(LogLevel.ERROR, `${label} failed`, { duration: `${duration}ms` }, error instanceof Error ? error : new Error(String(error)));
123
- throw error;
124
- }
125
- }
126
- /**
127
- * Internal log method
128
- */
129
- log(level, message, context, error) {
130
- // Check if this level should be logged (using severity for better performance)
131
- if (!this.shouldLogLevel(level)) {
132
- return;
133
- }
134
- // Create log entry
135
- const entry = createLogEntry(level, message, {
136
- source: this.config.source,
137
- context,
138
- error,
139
- });
140
- // Format and output
141
- const formatted = formatLog(entry, this.formatOptions);
142
- console.log(formatted);
143
- }
144
- /**
145
- * Check if a level should be logged using severity comparison
146
- */
147
- shouldLogLevel(level) {
148
- return LogLevelSeverity[level] >= LogLevelSeverity[this.config.level];
149
- }
150
- /**
151
- * Check if a level is more severe than another
152
- */
153
- isMoreSevere(level, compareWith) {
154
- return LogLevelSeverity[level] > LogLevelSeverity[compareWith];
155
- }
156
- /**
157
- * Get severity difference between two levels
158
- */
159
- getSeverityDiff(level1, level2) {
160
- return LogLevelSeverity[level1] - LogLevelSeverity[level2];
161
- }
162
- /**
163
- * Get the numeric severity of the current log level
164
- */
165
- getCurrentSeverity() {
166
- return LogLevelSeverity[this.config.level];
167
- }
168
- /**
169
- * Get the numeric severity of a log level
170
- */
171
- getSeverity(level) {
172
- return LogLevelSeverity[level];
173
- }
174
- /**
175
- * Update logger configuration
176
- */
177
- setLevel(level) {
178
- this.config.level = level;
179
- }
180
- /**
181
- * Set level by severity (0-4)
182
- */
183
- setLevelBySeverity(severity) {
184
- const levels = Object.entries(LogLevelSeverity)
185
- .find(([_, sev]) => sev === severity);
186
- if (levels) {
187
- this.config.level = levels[0];
188
- }
189
- }
190
- /**
191
- * Update colors setting
192
- */
193
- setColors(enabled) {
194
- this.config.colors = enabled;
195
- this.formatOptions.colors = enabled;
196
- }
197
- /**
198
- * Update format
199
- */
200
- setFormat(format) {
201
- this.config.format = format;
202
- this.formatOptions.format = format;
203
- }
204
- /**
205
- * Update timestamp setting
206
- */
207
- setTimestamp(enabled) {
208
- this.config.timestamp = enabled;
209
- this.formatOptions.timestamp = enabled;
210
- }
211
- /**
212
- * Update timestamp format
213
- *
214
- * @param _format - 'time' | 'datetime' | 'full' (reserved for future use)
215
- */
216
- setTimestampFormat(_format) {
217
- // Timestamp format is handled by ecosystem-core formatTimestamp function
218
- // This method is kept for API compatibility but doesn't modify formatOptions
219
- }
220
- /**
221
- * Format a timestamp using engine's timestamp formatter
222
- * Useful for consistent timestamp formatting across the system
223
- *
224
- * @param date - Date to format (defaults to current time)
225
- * @param format - Format type ('time', 'datetime', or 'full')
226
- * @returns Formatted timestamp string
227
- */
228
- formatTimestamp(date, format = 'time') {
229
- return formatTimestamp(date || new Date(), format);
230
- }
231
- /**
232
- * Check if a level will be logged (uses shouldLog from ecosystem-core)
233
- */
234
- willLog(level) {
235
- return shouldLog(level, this.config.level);
236
- }
237
- /**
238
- * Get current configuration
239
- */
240
- getConfig() {
241
- return { ...this.config };
242
- }
243
- /**
244
- * Check if debug logging is enabled
245
- */
246
- isDebugEnabled() {
247
- return this.willLog(LogLevel.DEBUG);
248
- }
249
- /**
250
- * Check if info logging is enabled
251
- */
252
- isInfoEnabled() {
253
- return this.willLog(LogLevel.INFO);
254
- }
255
- /**
256
- * Check if warn logging is enabled
257
- */
258
- isWarnEnabled() {
259
- return this.willLog(LogLevel.WARN);
260
- }
261
- /**
262
- * Check if error logging is enabled
263
- */
264
- isErrorEnabled() {
265
- return this.willLog(LogLevel.ERROR);
266
- }
267
- }
268
- /**
269
- * Create a logger instance from engine config
270
- */
271
- export function createEngineLogger(logLevel, verbose = false) {
272
- // Silent mode - no logger
273
- if (logLevel === 'silent') {
274
- return null;
275
- }
276
- // Map engine log level to ecosystem LogLevel
277
- const levelMap = {
278
- debug: LogLevel.DEBUG,
279
- info: LogLevel.INFO,
280
- warn: LogLevel.WARN,
281
- error: LogLevel.ERROR,
282
- fatal: LogLevel.FATAL,
283
- };
284
- const level = levelMap[logLevel] || LogLevel.INFO;
285
- return new EngineLogger({
286
- level,
287
- format: verbose ? 'pretty' : 'text',
288
- colors: true,
289
- timestamp: true, // Enable human-readable timestamps
290
- source: 'Orbyt',
291
- });
292
- }
293
- //# sourceMappingURL=EngineLogger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EngineLogger.js","sourceRoot":"","sources":["../../src/core/EngineLogger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,SAAS,EACT,eAAe,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,CAAC,KAAK;QACrB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,KAAK,EAAE,QAAQ,CAAC,KAAK;QACrB,KAAK,EAAE,QAAQ,CAAC,KAAK;KACtB,CAAC;IAEF,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC;IAElD,OAAO,IAAI,YAAY,CAAC;QACtB,KAAK;QACL,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM;QACnC,MAAM,EAAE,IAAI;QACZ,SAAS,EAAE,IAAI,EAAE,mCAAmC;QACpD,MAAM,EAAE,OAAO;KAChB,CAAC,CAAC;AACL,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=LogLevel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogLevel.d.ts","sourceRoot":"","sources":["../../src/logging/LogLevel.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=LogLevel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LogLevel.js","sourceRoot":"","sources":["../../src/logging/LogLevel.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Logger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../src/logging/Logger.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Logger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../src/logging/Logger.ts"],"names":[],"mappings":""}