@misterhuydo/sentinel 1.4.47 → 1.4.48
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 +1 -1
- package/.cairn/session.json +2 -2
- package/package.json +1 -1
- package/python/sentinel/slack_bot.py +4 -3
package/.cairn/.hint-lock
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2026-03-
|
|
1
|
+
2026-03-25T11:19:33.099Z
|
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-25T11:
|
|
3
|
-
"checkpoint_at": "2026-03-25T11:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-25T11:16:59.180Z",
|
|
3
|
+
"checkpoint_at": "2026-03-25T11:16:59.181Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -145,11 +145,12 @@ async def run_slack_bot(cfg_loader, store) -> None:
|
|
|
145
145
|
await _dispatch(event, client, cfg_loader, store)
|
|
146
146
|
return
|
|
147
147
|
|
|
148
|
-
# Thread replies in channels — route to Boss
|
|
149
|
-
# (so the user can reply "yes" / "go ahead" without typing @Sentinel
|
|
148
|
+
# Thread replies in channels — route to Boss without requiring @mention
|
|
149
|
+
# (so the user can reply "yes" / "go ahead" in a thread without typing @Sentinel)
|
|
150
150
|
if event.get("thread_ts") and not event.get("subtype"):
|
|
151
151
|
user_id = event.get("user", "")
|
|
152
|
-
|
|
152
|
+
allowed = cfg_loader.sentinel.slack_allowed_users
|
|
153
|
+
if user_id and (not allowed or user_id in allowed):
|
|
153
154
|
await _dispatch(event, client, cfg_loader, store)
|
|
154
155
|
|
|
155
156
|
# ── Start ─────────────────────────────────────────────────────────────────
|