@misterhuydo/sentinel 1.0.87 → 1.0.88
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-
|
|
1
|
+
2026-03-23T06:03:48.001Z
|
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-
|
|
3
|
-
"checkpoint_at": "2026-03-
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-23T06:00:14.460Z",
|
|
3
|
+
"checkpoint_at": "2026-03-23T06:00:14.461Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -1435,9 +1435,12 @@ async def _handle_with_cli(
|
|
|
1435
1435
|
)
|
|
1436
1436
|
history_text += f"\n{role}: {content}"
|
|
1437
1437
|
|
|
1438
|
+
slack_mention = f"<@{user_id}>" if user_id else (user_name or "")
|
|
1438
1439
|
prompt = (
|
|
1439
1440
|
_SYSTEM
|
|
1440
|
-
+ (f"\nYou are speaking with: {user_name}" if user_name else "")
|
|
1441
|
+
+ (f"\nYou are speaking with: {user_name} (Slack mention: {slack_mention})" if user_name else "")
|
|
1442
|
+
+ "\nAlways start your reply by addressing the user directly using their Slack mention, e.g. \"<@U123> here is what I found...\"."
|
|
1443
|
+
+ " Never use their plain name — always use the <@USER_ID> format so Slack highlights it."
|
|
1441
1444
|
+ f"\n\nCurrent time: {ts}"
|
|
1442
1445
|
+ f"\nSentinel status: {'⏸ PAUSED' if paused else '▶ RUNNING'}"
|
|
1443
1446
|
+ f"\nManaged repos: {', '.join(repos) if repos else '(none configured)'}"
|
|
@@ -1532,9 +1535,12 @@ async def _handle_with_api(
|
|
|
1532
1535
|
ts = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC")
|
|
1533
1536
|
known_projects = [_read_project_name(d) for d in _find_project_dirs()]
|
|
1534
1537
|
log_sources = list(cfg_loader.log_sources.keys())
|
|
1538
|
+
slack_mention = f"<@{user_id}>" if user_id else (user_name or "")
|
|
1535
1539
|
system = (
|
|
1536
1540
|
_SYSTEM
|
|
1537
|
-
+ (f"\nYou are speaking with: {user_name}" if user_name else "")
|
|
1541
|
+
+ (f"\nYou are speaking with: {user_name} (Slack mention: {slack_mention})" if user_name else "")
|
|
1542
|
+
+ "\nAlways start your reply by addressing the user directly using their Slack mention, e.g. \"<@U123> here is what I found...\"."
|
|
1543
|
+
+ " Never use their plain name — always use the <@USER_ID> format so Slack highlights it."
|
|
1538
1544
|
+ f"\n\nCurrent time: {ts}"
|
|
1539
1545
|
+ f"\nSentinel status: {'⏸ PAUSED' if paused else '▶ RUNNING'}"
|
|
1540
1546
|
+ f"\nManaged repos: {', '.join(repos) if repos else '(none configured)'}"
|