sentoagent
Advanced tools
+1
-1
| { | ||
| "name": "sentoagent", | ||
| "version": "1.1.58", | ||
| "version": "1.1.59", | ||
| "description": "Agents sent to fight your battles. Self-improving AI agents powered by Claude Code.", | ||
@@ -5,0 +5,0 @@ "author": "Gabriel Gil", |
@@ -107,5 +107,18 @@ import { banner, log } from "../utils/logger.js"; | ||
| log.success("Guardian updated"); | ||
| // Regenerate watchdog.sh too — it carries the Guardian-health-check | ||
| // (relaunch Guardian if dead). Previously update.js skipped this, so | ||
| // existing agents never received the check via `sento update` and the | ||
| // secondary safety net silently never deployed. | ||
| const newWatchdogPkg = path.join(npmGlobal, "lib/node_modules/sentoagent/src/templates/watchdog.js"); | ||
| const watchdogMod = fs.existsSync(newWatchdogPkg) | ||
| ? await import("file://" + newWatchdogPkg) | ||
| : await import("../templates/watchdog.js"); | ||
| const watchdogPath = path.join(workspace, "watchdog.sh"); | ||
| fs.writeFileSync(watchdogPath, watchdogMod.renderWatchdog(guardianConfig)); | ||
| fs.chmodSync(watchdogPath, 0o700); | ||
| log.success("Watchdog updated"); | ||
| } | ||
| } catch (e) { | ||
| log.warn("Could not update Guardian: " + e.message); | ||
| log.warn("Could not update Guardian/Watchdog: " + e.message); | ||
| } | ||
@@ -112,0 +125,0 @@ |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 4 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 4 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
189249
0.42%3998
0.3%