@misterhuydo/sentinel 1.2.4 → 1.2.5
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-23T10:00:51.585Z",
|
|
3
|
+
"checkpoint_at": "2026-03-23T10:00:51.586Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -1111,8 +1111,12 @@ async def _run_tool(name: str, inputs: dict, cfg_loader, store, slack_client=Non
|
|
|
1111
1111
|
["bash", str(script), str(props)],
|
|
1112
1112
|
capture_output=True, text=True, timeout=60, env=env,
|
|
1113
1113
|
)
|
|
1114
|
+
try:
|
|
1115
|
+
_qpat = re.compile(query, re.IGNORECASE)
|
|
1116
|
+
except re.error:
|
|
1117
|
+
_qpat = re.compile(re.escape(query), re.IGNORECASE)
|
|
1114
1118
|
lines = (r.stdout or "").strip().splitlines()
|
|
1115
|
-
matches = [ln[:300] for ln in lines if
|
|
1119
|
+
matches = [ln[:300] for ln in lines if _qpat.search(ln)][:max_matches]
|
|
1116
1120
|
if matches:
|
|
1117
1121
|
live_results.append({"source": props.stem, "matches": matches})
|
|
1118
1122
|
logger.info("Boss search_logs live %s rc=%d found=%d", props.stem, r.returncode, len(matches))
|