@misterhuydo/sentinel 1.0.72 → 1.0.73
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"message": "Auto-checkpoint at 2026-03-
|
|
3
|
-
"checkpoint_at": "2026-03-
|
|
2
|
+
"message": "Auto-checkpoint at 2026-03-22T17:07:45.514Z",
|
|
3
|
+
"checkpoint_at": "2026-03-22T17:07:45.514Z",
|
|
4
4
|
"active_files": [],
|
|
5
5
|
"notes": [],
|
|
6
6
|
"mtime_snapshot": {}
|
package/package.json
CHANGED
|
@@ -124,7 +124,9 @@ def generate_fix(
|
|
|
124
124
|
env["ANTHROPIC_API_KEY"] = cfg.anthropic_api_key
|
|
125
125
|
try:
|
|
126
126
|
result = subprocess.run(
|
|
127
|
-
[cfg.claude_code_bin, "--print", prompt]
|
|
127
|
+
([cfg.claude_code_bin, "--dangerously-skip-permissions", "--print", prompt]
|
|
128
|
+
if os.getuid() != 0 else
|
|
129
|
+
[cfg.claude_code_bin, "--print", prompt]),
|
|
128
130
|
capture_output=True, text=True, timeout=SUBPROCESS_TIMEOUT, env=env,
|
|
129
131
|
)
|
|
130
132
|
except subprocess.TimeoutExpired:
|
|
@@ -1069,7 +1069,9 @@ async def _run_tool(name: str, inputs: dict, cfg_loader, store, slack_client=Non
|
|
|
1069
1069
|
)
|
|
1070
1070
|
try:
|
|
1071
1071
|
r = subprocess.run(
|
|
1072
|
-
[cfg.claude_code_bin, "--print", prompt]
|
|
1072
|
+
([cfg.claude_code_bin, "--dangerously-skip-permissions", "--print", prompt]
|
|
1073
|
+
if os.getuid() != 0 else
|
|
1074
|
+
[cfg.claude_code_bin, "--print", prompt]),
|
|
1073
1075
|
capture_output=True, text=True, timeout=180, env=env,
|
|
1074
1076
|
cwd=str(local_path),
|
|
1075
1077
|
)
|
|
@@ -1229,7 +1231,9 @@ async def _handle_with_cli(
|
|
|
1229
1231
|
|
|
1230
1232
|
try:
|
|
1231
1233
|
result = subprocess.run(
|
|
1232
|
-
[cfg.claude_code_bin, "--print", prompt]
|
|
1234
|
+
([cfg.claude_code_bin, "--dangerously-skip-permissions", "--print", prompt]
|
|
1235
|
+
if os.getuid() != 0 else
|
|
1236
|
+
[cfg.claude_code_bin, "--print", prompt]),
|
|
1233
1237
|
capture_output=True, text=True, timeout=180, env=env,
|
|
1234
1238
|
)
|
|
1235
1239
|
output = (result.stdout or "").strip()
|