@misterhuydo/sentinel 1.0.37 → 1.0.38
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 +2 -2
- package/package.json +1 -1
- package/python/scripts/fetch_log.sh +11 -2
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-21T21:
|
|
3
|
-
"checkpoint_at": "2026-03-21T21:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-21T21:47:03.629Z",
|
|
3
|
+
"checkpoint_at": "2026-03-21T21:47:03.630Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -108,9 +108,18 @@ fetch_from_properties() {
|
|
|
108
108
|
return 0
|
|
109
109
|
fi
|
|
110
110
|
|
|
111
|
-
# Resolve relative KEY
|
|
111
|
+
# Resolve relative KEY: check config dir first, then ~/.ssh/
|
|
112
112
|
if [[ "$KEY" != /* ]]; then
|
|
113
|
-
|
|
113
|
+
local config_key
|
|
114
|
+
config_key="$(dirname "$(realpath "$props_file")")/$KEY"
|
|
115
|
+
if [[ -f "$config_key" ]]; then
|
|
116
|
+
KEY="$config_key"
|
|
117
|
+
elif [[ -f "$HOME/.ssh/$KEY" ]]; then
|
|
118
|
+
KEY="$HOME/.ssh/$KEY"
|
|
119
|
+
else
|
|
120
|
+
echo "ERROR: KEY '$KEY' not found in config dir or ~/.ssh/" >&2
|
|
121
|
+
return 1
|
|
122
|
+
fi
|
|
114
123
|
fi
|
|
115
124
|
|
|
116
125
|
local SERVICE_NAME
|