@misterhuydo/sentinel 1.3.5 → 1.3.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-23T18:27:21.579Z",
3
- "checkpoint_at": "2026-03-23T18:27:21.580Z",
2
+ "message": "Auto-checkpoint at 2026-03-23T18:43:04.420Z",
3
+ "checkpoint_at": "2026-03-23T18:43:04.421Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/lib/generate.js CHANGED
@@ -159,9 +159,11 @@ function generateWorkspaceScripts(workspace, smtpConfig = {}, slackConfig = {},
159
159
  WORKSPACE="$(cd "$(dirname "$0")" && pwd)"
160
160
  started=0
161
161
  skipped=0
162
- for project_dir in "$WORKSPACE"/*/; do
162
+ for project_dir in "$WORKSPACE"/*/ "$WORKSPACE"/repos/*/; do
163
+ [[ -d "$project_dir" ]] || continue
163
164
  name=$(basename "$project_dir")
164
- [[ "$name" == "code" ]] && continue
165
+ [[ "$name" == "code" ]] && continue
166
+ [[ "$name" == "repos" ]] && continue
165
167
  # Auto-generate start.sh / stop.sh if missing (codeDir = $WORKSPACE/code)
166
168
  if [[ ! -f "$project_dir/start.sh" ]]; then
167
169
  code_dir="$WORKSPACE/code"
@@ -264,9 +266,11 @@ echo "[sentinel] $started project(s) started, $skipped skipped"
264
266
  # Stop all Sentinel project instances
265
267
  WORKSPACE="$(cd "$(dirname "$0")" && pwd)"
266
268
  stopped=0
267
- for project_dir in "$WORKSPACE"/*/; do
269
+ for project_dir in "$WORKSPACE"/*/ "$WORKSPACE"/repos/*/; do
270
+ [[ -d "$project_dir" ]] || continue
268
271
  name=$(basename "$project_dir")
269
- [[ "$name" == "code" ]] && continue
272
+ [[ "$name" == "code" ]] && continue
273
+ [[ "$name" == "repos" ]] && continue
270
274
  [[ -f "$project_dir/stop.sh" ]] || continue
271
275
  bash "$project_dir/stop.sh"
272
276
  stopped=$((stopped + 1))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"