@misterhuydo/sentinel 1.0.23 → 1.0.24

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-21T19:29:35.017Z",
3
- "checkpoint_at": "2026-03-21T19:29:35.026Z",
2
+ "message": "Auto-checkpoint at 2026-03-21T19:37:13.807Z",
3
+ "checkpoint_at": "2026-03-21T19:37:13.808Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/lib/init.js CHANGED
@@ -96,6 +96,9 @@ module.exports = async function init() {
96
96
  ], { onCancel: () => process.exit(0) });
97
97
 
98
98
  const { workspace, authMode, anthropicKey, example, systemd, smtpUser, smtpPassword, smtpHost, setupSlack, slackBotToken, slackAppToken } = answers;
99
+ const effectiveSmtpPassword = smtpPassword || existing.SMTP_PASSWORD || '';
100
+ const effectiveSlackBotToken = slackBotToken || existing.SLACK_BOT_TOKEN || '';
101
+ const effectiveSlackAppToken = slackAppToken || existing.SLACK_APP_TOKEN || '';
99
102
  const codeDir = path.join(workspace, 'code');
100
103
 
101
104
  // ── Python ──────────────────────────────────────────────────────────────────
@@ -172,10 +175,6 @@ module.exports = async function init() {
172
175
 
173
176
  // ── Workspace start/stop scripts ─────────────────────────────────────────────
174
177
  step('Generating scripts…');
175
- // If user left password blank (pressed Enter to keep), fall back to existing
176
- const effectiveSmtpPassword = smtpPassword || existing.SMTP_PASSWORD || '';
177
- const effectiveSlackBotToken = slackBotToken || existing.SLACK_BOT_TOKEN || '';
178
- const effectiveSlackAppToken = slackAppToken || existing.SLACK_APP_TOKEN || '';
179
178
  generateWorkspaceScripts(workspace, { host: smtpHost, user: smtpUser, password: effectiveSmtpPassword }, { botToken: effectiveSlackBotToken, appToken: effectiveSlackAppToken });
180
179
  ok(`${workspace}/startAll.sh`);
181
180
  ok(`${workspace}/stopAll.sh`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"