@misterhuydo/sentinel 1.4.5 → 1.4.6
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/lib/generate.js +4 -4
- package/package.json +1 -1
package/.cairn/session.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-24T15:
|
|
3
|
-
"checkpoint_at": "2026-03-24T15:
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-24T15:07:23.955Z",
|
|
3
|
+
"checkpoint_at": "2026-03-24T15:07:23.956Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/lib/generate.js
CHANGED
|
@@ -67,9 +67,9 @@ WORKSPACE="$(dirname "$DIR")"
|
|
|
67
67
|
mkdir -p "$WORKSPACE/logs" "$DIR/workspace/fetched" "$DIR/workspace/patches" "$DIR/issues"
|
|
68
68
|
cd "$DIR"
|
|
69
69
|
PYTHONPATH="${codeDir}" "${pythonBin}" -m sentinel.main --config ./config \\
|
|
70
|
-
>> "$WORKSPACE/logs
|
|
70
|
+
>> "$WORKSPACE/logs/sentinel.log" 2>&1 &
|
|
71
71
|
echo $! > "$PID_FILE"
|
|
72
|
-
echo "[sentinel] ${name} started (PID $!) — log: $WORKSPACE/logs
|
|
72
|
+
echo "[sentinel] ${name} started (PID $!) — log: $WORKSPACE/logs/sentinel.log"
|
|
73
73
|
`, { mode: 0o755 });
|
|
74
74
|
|
|
75
75
|
// stop.sh
|
|
@@ -189,9 +189,9 @@ WORKSPACE="$(dirname "$DIR")"
|
|
|
189
189
|
mkdir -p "$WORKSPACE/logs" "$DIR/workspace/fetched" "$DIR/workspace/patches" "$DIR/issues"
|
|
190
190
|
cd "$DIR"
|
|
191
191
|
PYTHONPATH="__CODE_DIR__" "__PYTHON_BIN__" -m sentinel.main --config ./config \
|
|
192
|
-
>> "$WORKSPACE/logs/
|
|
192
|
+
>> "$WORKSPACE/logs/sentinel.log" 2>&1 &
|
|
193
193
|
echo $! > "$PID_FILE"
|
|
194
|
-
echo "[sentinel] __NAME__ started (PID $!) — log: $WORKSPACE/logs/
|
|
194
|
+
echo "[sentinel] __NAME__ started (PID $!) — log: $WORKSPACE/logs/sentinel.log"
|
|
195
195
|
STARTSH
|
|
196
196
|
chmod +x "$project_dir/start.sh"
|
|
197
197
|
echo "[sentinel] Auto-generated start.sh for $name"
|