@misterhuydo/sentinel 1.0.28 → 1.0.30

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-21T20:27:04.713Z",
3
- "checkpoint_at": "2026-03-21T20:27:04.714Z",
2
+ "message": "Auto-checkpoint at 2026-03-21T20:42:36.784Z",
3
+ "checkpoint_at": "2026-03-21T20:42:36.786Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/lib/generate.js CHANGED
@@ -45,6 +45,10 @@ if [[ -f "$PID_FILE" ]] && kill -0 "$(cat "$PID_FILE")" 2>/dev/null; then
45
45
  exit 0
46
46
  fi
47
47
 
48
+ # Kill any orphaned sentinel processes for this project (stale PIDs not in PID file)
49
+ pkill -f "sentinel.main --config ${DIR}/config" 2>/dev/null || true
50
+ rm -f "$PID_FILE"
51
+
48
52
  # Check Claude Code authentication
49
53
  AUTH_OUT=$(claude --print \"hi\" 2>&1 || true)
50
54
  if echo "$AUTH_OUT" | grep -Eqi "not logged in|/login"; then
@@ -140,6 +144,8 @@ if [[ -f "$PID_FILE" ]] && kill -0 "$(cat "$PID_FILE")" 2>/dev/null; then
140
144
  echo "[sentinel] __NAME__ already running (PID $(cat "$PID_FILE"))"
141
145
  exit 0
142
146
  fi
147
+ pkill -f "sentinel.main --config ${DIR}/config" 2>/dev/null || true
148
+ rm -f "$PID_FILE"
143
149
  AUTH_OUT=$(claude --print \"hi\" 2>&1 || true)
144
150
  if echo "$AUTH_OUT" | grep -Eqi "not logged in|/login"; then
145
151
  echo "[sentinel] Claude Code is not authenticated. Run: claude then /login"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -35,7 +35,6 @@ logging.basicConfig(
35
35
  format="%(asctime)s %(levelname)-7s %(name)s — %(message)s",
36
36
  handlers=[
37
37
  logging.StreamHandler(sys.stdout),
38
- logging.FileHandler("logs/sentinel.log", encoding="utf-8"),
39
38
  ],
40
39
  )
41
40
  logger = logging.getLogger("sentinel")