@misterhuydo/sentinel 1.4.35 → 1.4.36

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/.hint-lock CHANGED
@@ -1 +1 @@
1
- 2026-03-25T06:03:05.073Z
1
+ 2026-03-25T06:47:22.703Z
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-25T06:09:17.198Z",
3
- "checkpoint_at": "2026-03-25T06:09:17.200Z",
2
+ "message": "Auto-checkpoint at 2026-03-25T07:07:44.746Z",
3
+ "checkpoint_at": "2026-03-25T07:07:44.747Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.4.35",
3
+ "version": "1.4.36",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -141,9 +141,12 @@ def _claude_cmd(bin_path: str, prompt: str) -> list[str]:
141
141
  skip = _os.getuid() != 0
142
142
  except AttributeError:
143
143
  skip = True # Windows — always pass flag
144
+ # --bare: forces ANTHROPIC_API_KEY-only auth, skips keychain/OAuth/hooks.
145
+ # Required on headless servers (EC2) where Claude Code 2.x silently returns
146
+ # empty output when keychain auth fails.
144
147
  if skip:
145
- return [bin_path, "--dangerously-skip-permissions", "--print", prompt]
146
- return [bin_path, "--print", prompt]
148
+ return [bin_path, "--bare", "--dangerously-skip-permissions", "--print", prompt]
149
+ return [bin_path, "--bare", "--print", prompt]
147
150
 
148
151
 
149
152
  def _run_claude_attempt(