@misterhuydo/sentinel 1.5.54 → 1.5.56
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-04-
|
|
1
|
+
2026-04-21T07:25:38.460Z
|
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-04-
|
|
3
|
-
"checkpoint_at": "2026-04-
|
|
2
|
+
"message": "Auto-checkpoint at 2026-04-21T07:26:06.811Z",
|
|
3
|
+
"checkpoint_at": "2026-04-21T07:26:06.813Z",
|
|
4
4
|
"active_files": [
|
|
5
5
|
"J:\\Projects\\Sentinel\\cli\\bin\\sentinel.js",
|
|
6
6
|
"J:\\Projects\\Sentinel\\cli\\lib\\test.js",
|
package/package.json
CHANGED
|
@@ -113,12 +113,16 @@ fetch_from_properties() {
|
|
|
113
113
|
fi
|
|
114
114
|
fi
|
|
115
115
|
|
|
116
|
-
# Apply defaults for fetch parameters
|
|
116
|
+
# Apply defaults and env var overrides for fetch parameters.
|
|
117
|
+
# Overrides must be applied AFTER the local var declarations above, since `local`
|
|
118
|
+
# shadows same-named env vars.
|
|
117
119
|
TAIL="${TAIL:-$DEFAULT_TAIL}"
|
|
118
|
-
# Env var override takes precedence over config file value (used by Boss fetch_logs tool)
|
|
119
120
|
if [[ -n "$SENTINEL_GREP_FILTER_OVERRIDE" ]]; then
|
|
120
121
|
GREP_FILTER="$SENTINEL_GREP_FILTER_OVERRIDE"
|
|
121
122
|
fi
|
|
123
|
+
if [[ -n "$SENTINEL_OUTPUT_DIR_OVERRIDE" ]]; then
|
|
124
|
+
OUTPUT_DIR="$SENTINEL_OUTPUT_DIR_OVERRIDE"
|
|
125
|
+
fi
|
|
122
126
|
if [[ -z "$GREP_FILTER" ]]; then
|
|
123
127
|
GREP_FILTER="$DEFAULT_GREP_FILTER"
|
|
124
128
|
elif [[ "$GREP_FILTER" == "none" || "$GREP_FILTER" == "*" ]]; then
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.5.
|
|
1
|
+
__version__ = "1.5.56"
|
|
@@ -1350,6 +1350,9 @@ _TOOLS = [
|
|
|
1350
1350
|
"Allowed tools: fetch_logs, filter_logs, get_status, ask_logs, list_recent_commits, check_health. "
|
|
1351
1351
|
"Boss calculates stop_at from phrases like 'within 2 hours' / 'for 30 minutes' using "
|
|
1352
1352
|
"the current UTC time in the system prompt. "
|
|
1353
|
+
"IMPORTANT: ALWAYS call list_monitors FIRST to get the live DB state before calling "
|
|
1354
|
+
"this tool — never infer active monitors from conversation history, as finished monitors "
|
|
1355
|
+
"are deleted and context window state will be stale. "
|
|
1353
1356
|
"Examples: 'fetch SSOLWA logs filtered by provision/phone every 5 min for 2 hours', "
|
|
1354
1357
|
"'check STS health every 10 min until I say stop', 'get status every hour for 3 times'."
|
|
1355
1358
|
),
|
|
@@ -3318,8 +3321,10 @@ async def _run_tool(name: str, inputs: dict, cfg_loader, store, slack_client=Non
|
|
|
3318
3321
|
if ctx_after:
|
|
3319
3322
|
env["SENTINEL_GREP_AFTER"] = str(ctx_after)
|
|
3320
3323
|
if use_temp:
|
|
3321
|
-
# Tell fetch_log.sh where to write output files
|
|
3322
|
-
env
|
|
3324
|
+
# Tell fetch_log.sh where to write output files.
|
|
3325
|
+
# Must use a dedicated env var — OUTPUT_DIR is declared `local` in the
|
|
3326
|
+
# bash function and would shadow a plain OUTPUT_DIR env var.
|
|
3327
|
+
env["SENTINEL_OUTPUT_DIR_OVERRIDE"] = str(temp_base)
|
|
3323
3328
|
|
|
3324
3329
|
cmd = ["bash", str(script)]
|
|
3325
3330
|
if debug:
|