@misterhuydo/sentinel 1.4.95 → 1.4.97

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/.cairn/.hint-lock CHANGED
@@ -1 +1 @@
1
- 2026-03-27T13:47:13.440Z
1
+ 2026-03-30T05:36:03.379Z
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-27T13:53:02.113Z",
3
- "checkpoint_at": "2026-03-27T13:53:02.114Z",
2
+ "message": "Auto-checkpoint at 2026-03-30T05:44:22.167Z",
3
+ "checkpoint_at": "2026-03-30T05:44:22.168Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.4.95",
3
+ "version": "1.4.97",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -354,8 +354,10 @@ async def _dispatch(event: dict, client, cfg_loader, store) -> None:
354
354
  text = "hello"
355
355
 
356
356
  # Allowlist check — if SLACK_ALLOWED_USERS is configured, silently ignore everyone else
357
+ # Admins (SLACK_ADMIN_USERS) are always allowed regardless of SLACK_ALLOWED_USERS
357
358
  allowed = cfg_loader.sentinel.slack_allowed_users
358
- if allowed and user_id not in allowed:
359
+ admin_users = cfg_loader.sentinel.slack_admin_users or []
360
+ if allowed and user_id not in allowed and user_id not in admin_users:
359
361
  logger.warning("Boss: ignoring message from unauthorised user %s", user_id)
360
362
  return
361
363