@junando/worker 0.16.3 → 0.16.4

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 (2) hide show
  1. package/dist/handler.cjs +29 -12
  2. package/package.json +2 -2
package/dist/handler.cjs CHANGED
@@ -76179,19 +76179,36 @@ var SlackNotifier = class {
76179
76179
  }
76180
76180
  buildFallbackMessage(cluster) {
76181
76181
  const safeEndpointPath = sanitizeEndpointPath(cluster.endpointPath);
76182
- return { blocks: [{
76183
- type: "header",
76184
- text: {
76185
- type: "plain_text",
76186
- text: `⚠️ Incident — ${cluster.serviceName} (no AI diagnosis)`
76187
- }
76188
- }, {
76189
- type: "section",
76190
- text: {
76191
- type: "mrkdwn",
76192
- text: `*${cluster.alertCount} alerts* on \`${safeEndpointPath}\` since ${cluster.firstSeenAt}\nLLM analysis unavailable — manual investigation required.`
76182
+ return { blocks: [
76183
+ {
76184
+ type: "header",
76185
+ text: {
76186
+ type: "plain_text",
76187
+ text: `⚠️ Incident — ${cluster.serviceName} (no AI diagnosis)`
76188
+ }
76189
+ },
76190
+ {
76191
+ type: "section",
76192
+ text: {
76193
+ type: "mrkdwn",
76194
+ text: `*${cluster.alertCount} alerts* on \`${safeEndpointPath}\` since ${cluster.firstSeenAt}\nLLM analysis unavailable — manual investigation required.`
76195
+ }
76196
+ },
76197
+ { type: "divider" },
76198
+ {
76199
+ type: "actions",
76200
+ elements: [{
76201
+ type: "button",
76202
+ text: {
76203
+ type: "plain_text",
76204
+ text: "✅ Acknowledge"
76205
+ },
76206
+ style: "primary",
76207
+ action_id: "acknowledge",
76208
+ value: cluster.fingerprint
76209
+ }]
76193
76210
  }
76194
- }] };
76211
+ ] };
76195
76212
  }
76196
76213
  };
76197
76214
  var ConsoleNotifier = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junando/worker",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
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.1131.0",
23
23
  "ioredis": "^6.0.0",
24
24
  "zod": "^4.6.4",
25
- "@junando/core": "0.16.3"
25
+ "@junando/core": "0.16.4"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/aws-lambda": "^8.10.163",