@misterhuydo/sentinel 1.4.10 → 1.4.11

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.
Files changed (2) hide show
  1. package/lib/generate.js +2 -2
  2. package/package.json +1 -1
package/lib/generate.js CHANGED
@@ -55,7 +55,7 @@ WORKSPACE="$(dirname "$DIR")"
55
55
  _claude_pro=true
56
56
  for _conf in "$WORKSPACE/sentinel.properties" "$DIR/config/sentinel.properties"; do
57
57
  if [[ -f "$_conf" ]]; then
58
- _val=$(grep -iE "^CLAUDE_PRO_FOR_TASKS[[:space:]]*=" "$_conf" 2>/dev/null | tail -1 | cut -d= -f2- | tr -d ' ' | tr '[:upper:]' '[:lower:]')
58
+ _val=$(grep -iE "^CLAUDE_PRO_FOR_TASKS[[:space:]]*=" "$_conf" 2>/dev/null | tail -1 | cut -d= -f2- | tr -d ' ' | tr '[:upper:]' '[:lower:]' || true)
59
59
  [[ -n "$_val" ]] && _claude_pro="$_val"
60
60
  fi
61
61
  done
@@ -195,7 +195,7 @@ WORKSPACE="$(dirname "$DIR")"
195
195
  _claude_pro=true
196
196
  for _conf in "$WORKSPACE/sentinel.properties" "$DIR/config/sentinel.properties"; do
197
197
  if [[ -f "$_conf" ]]; then
198
- _val=$(grep -iE "^CLAUDE_PRO_FOR_TASKS[[:space:]]*=" "$_conf" 2>/dev/null | tail -1 | cut -d= -f2- | tr -d ' ' | tr '[:upper:]' '[:lower:]')
198
+ _val=$(grep -iE "^CLAUDE_PRO_FOR_TASKS[[:space:]]*=" "$_conf" 2>/dev/null | tail -1 | cut -d= -f2- | tr -d ' ' | tr '[:upper:]' '[:lower:]' || true)
199
199
  [[ -n "$_val" ]] && _claude_pro="$_val"
200
200
  fi
201
201
  done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"