@misterhuydo/sentinel 1.0.65 → 1.0.66
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/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-22T16:04:55.232Z",
|
|
3
|
+
"checkpoint_at": "2026-03-22T16:04:55.233Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -979,9 +979,10 @@ async def _handle_with_cli(
|
|
|
979
979
|
query = quoted[0] if quoted else message
|
|
980
980
|
search_json = await _run_tool("search_logs", {"query": query}, cfg_loader, store)
|
|
981
981
|
|
|
982
|
-
paused
|
|
983
|
-
repos
|
|
984
|
-
|
|
982
|
+
paused = Path("SENTINEL_PAUSE").exists()
|
|
983
|
+
repos = list(cfg_loader.repos.keys())
|
|
984
|
+
log_sources = list(cfg_loader.log_sources.keys())
|
|
985
|
+
ts = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC")
|
|
985
986
|
|
|
986
987
|
history_text = ""
|
|
987
988
|
for msg in history[-8:]:
|
|
@@ -1002,6 +1003,7 @@ async def _handle_with_cli(
|
|
|
1002
1003
|
+ f"\n\nCurrent time: {ts}"
|
|
1003
1004
|
+ f"\nSentinel status: {'⏸ PAUSED' if paused else '▶ RUNNING'}"
|
|
1004
1005
|
+ f"\nManaged repos: {', '.join(repos) if repos else '(none configured)'}"
|
|
1006
|
+
+ (f"\nLog sources: {', '.join(log_sources)}" if log_sources else "")
|
|
1005
1007
|
+ f"\n\nCurrent status (last 24 h):\n{status_json}"
|
|
1006
1008
|
+ f"\n\nOpen PRs:\n{prs_json}"
|
|
1007
1009
|
+ (f"\n\nLog search results:\n{search_json}" if search_json else "")
|
|
@@ -1104,12 +1106,14 @@ async def handle_message(
|
|
|
1104
1106
|
repos = list(cfg_loader.repos.keys())
|
|
1105
1107
|
ts = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M UTC")
|
|
1106
1108
|
known_projects = [_read_project_name(d) for d in _find_project_dirs()]
|
|
1109
|
+
log_sources = list(cfg_loader.log_sources.keys())
|
|
1107
1110
|
system = (
|
|
1108
1111
|
_SYSTEM
|
|
1109
1112
|
+ (f"\nYou are speaking with: {user_name}" if user_name else "")
|
|
1110
1113
|
+ f"\n\nCurrent time: {ts}"
|
|
1111
1114
|
+ f"\nSentinel status: {'⏸ PAUSED' if paused else '▶ RUNNING'}"
|
|
1112
1115
|
+ f"\nManaged repos: {', '.join(repos) if repos else '(none configured)'}"
|
|
1116
|
+
+ (f"\nLog sources: {', '.join(log_sources)}" if log_sources else "")
|
|
1113
1117
|
+ (f"\nKnown projects in workspace: {', '.join(known_projects)}" if known_projects else "")
|
|
1114
1118
|
)
|
|
1115
1119
|
|