@junando/worker 0.15.0 → 0.15.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.
- package/dist/handler.cjs +3 -1
- package/package.json +2 -2
package/dist/handler.cjs
CHANGED
|
@@ -117486,6 +117486,7 @@ async function getUseCase() {
|
|
|
117486
117486
|
const traces = new LokiTraceRepository(config.lokiUrl ?? "");
|
|
117487
117487
|
const llm = createLLMProvider(config.llmProvider, config.llmApiKey, config.llmModel);
|
|
117488
117488
|
const notifier = createNotifier(config);
|
|
117489
|
+
const ruleEngine = createRuleEngine(config);
|
|
117489
117490
|
useCase = new ProcessIncidentUseCase({
|
|
117490
117491
|
dedup,
|
|
117491
117492
|
traces,
|
|
@@ -117493,7 +117494,8 @@ async function getUseCase() {
|
|
|
117493
117494
|
notifier,
|
|
117494
117495
|
logger,
|
|
117495
117496
|
dedupTtlSeconds: config.dedupTtlSeconds,
|
|
117496
|
-
onClustersBuilt: (count) => alertClusters.set(count)
|
|
117497
|
+
onClustersBuilt: (count) => alertClusters.set(count),
|
|
117498
|
+
...ruleEngine ? { ruleEngine } : {}
|
|
117497
117499
|
});
|
|
117498
117500
|
return useCase;
|
|
117499
117501
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junando/worker",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "AWS Lambda SQS worker — processes alert events and dispatches notifications for Junando",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-sdk/client-ssm": "^3.1127.0",
|
|
23
23
|
"ioredis": "^6.0.0",
|
|
24
24
|
"zod": "^4.5.4",
|
|
25
|
-
"@junando/core": "0.15.
|
|
25
|
+
"@junando/core": "0.15.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/aws-lambda": "^8.10.163",
|