@misterhuydo/sentinel 1.2.3 → 1.2.4

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-23T09:25:27.661Z
1
+ 2026-03-23T09:57:32.803Z
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-23T09:45:10.463Z",
3
- "checkpoint_at": "2026-03-23T09:45:10.464Z",
2
+ "message": "Auto-checkpoint at 2026-03-23T09:50:06.054Z",
3
+ "checkpoint_at": "2026-03-23T09:50:06.055Z",
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.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -1126,6 +1126,11 @@ async def _run_tool(name: str, inputs: dict, cfg_loader, store, slack_client=Non
1126
1126
  "mode": "live",
1127
1127
  "total_matches": total,
1128
1128
  "results": live_results,
1129
+ "note": (
1130
+ "Results already include a per-source breakdown. "
1131
+ "Do NOT call search_logs again with a source filter to 'refine' — "
1132
+ "use these results directly."
1133
+ ) if total > 0 else None,
1129
1134
  })
1130
1135
 
1131
1136
  # ── Fallback: search locally-cached log files ──────────────────────────
@@ -1168,9 +1173,8 @@ async def _run_tool(name: str, inputs: dict, cfg_loader, store, slack_client=Non
1168
1173
  }
1169
1174
  if files_searched == 0:
1170
1175
  result["warning"] = (
1171
- "No cached log files found for this source filter. "
1172
- "This means the source name was not recognised not that there are no log entries. "
1173
- "Try search_logs without a source filter to search all sources."
1176
+ "Source name not recognised in cached files this is a lookup failure, not 'no results'. "
1177
+ "If you already have results from a broader search_logs call, use those. Stop retrying."
1174
1178
  )
1175
1179
  return json.dumps(result)
1176
1180