@m13v/s4l 1.7.2-rc.1 → 1.7.2-rc.2

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,4 +1,4 @@
1
1
  {
2
- "version": "1.7.2-rc.1",
3
- "installedAt": "2026-07-09T01:04:07.949Z"
2
+ "version": "1.7.2-rc.2",
3
+ "installedAt": "2026-07-09T01:12:07.771Z"
4
4
  }
package/mcp/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "dxt_version": "0.1",
3
3
  "name": "social-autoposter",
4
4
  "display_name": "S4L",
5
- "version": "1.7.2-rc.1",
5
+ "version": "1.7.2-rc.2",
6
6
  "description": "Draft, review, approve, and autopilot X/Twitter posts.",
7
7
  "long_description": "## **⚠️ The disclaimer above is generic Claude boilerplate.** Anthropic shows the same warning on every plugin regardless of what it does; any plugin has the same level of access as any app you download from the internet.\n\nS4L is an open source product developed by Mediar.ai Incorporated, a VC-backed San Francisco-based startup.\n\nTo get started:\n\n1\\. Copy this prompt: **Set me up on S4L plugin end to end**\n\n2\\. Quit with CMD+Q, reopen Claude, paste into a new chat.\n\nWhat happens next:\n\n* About every 5 minutes S4L scans X for posts that match your topics and drafts replies in your voice.\n* Drafts show up as review cards, usually the first within a few minutes. Nothing is posted automatically; you approve each one.\n* Posting autopilot stays off until you explicitly turn it on.",
8
8
  "author": {
@@ -3083,7 +3083,16 @@ class S4LMenuBar(rumps.App):
3083
3083
  except Exception:
3084
3084
  pass
3085
3085
  if can_selfheal:
3086
- items.append(rumps.MenuItem("Finish setting up drafts", callback=self._finish_schedule_setup))
3086
+ # Say "restarts Claude" in the label itself, not just the
3087
+ # confirm modal — a menu item should be honest about a
3088
+ # disruptive action (closing/reopening the whole app)
3089
+ # before the user has committed to clicking it, matching
3090
+ # what the old "Restart Claude Desktop to fix" button made
3091
+ # obvious upfront (2026-07-08).
3092
+ items.append(rumps.MenuItem(
3093
+ "Finish setting up drafts (restarts Claude)",
3094
+ callback=self._finish_schedule_setup,
3095
+ ))
3087
3096
  else:
3088
3097
  items.append(rumps.MenuItem("Set up draft schedule for this account", callback=self._rearm))
3089
3098
  items.append(rumps.separator)
package/mcp/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m13v/s4l-mcp",
3
- "version": "1.7.2-rc.1",
3
+ "version": "1.7.2-rc.2",
4
4
  "private": true,
5
5
  "description": "Desktop MCP client for social-autoposter (X/Twitter rail): manual draft/review/approve loop, autopilot control, and stats. Thin wrapper over the existing pipeline scripts.",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m13v/s4l",
3
- "version": "1.7.2-rc.1",
3
+ "version": "1.7.2-rc.2",
4
4
  "description": "Automated social posting pipeline for Reddit, X/Twitter, LinkedIn, and Moltbook. Install as a Claude Code agent skill.",
5
5
  "bin": {
6
6
  "social-autoposter": "bin/cli.js",
@@ -321,16 +321,22 @@ EOF
321
321
  # Dead-man's-switch (2026-07-09): every non-queue-routed tag (reddit,
322
322
  # linkedin, github, moltbook, instagram, dm-outreach-*, ...) blocks
323
323
  # here exactly like claude_job.py's queue provider does, with the
324
- # same silent-death risk (SIGKILL/OOM/hard crash while waiting). Arm
325
- # per-attempt (job id includes $CLAUDE_PG so a retry never collides
326
- # with a still-unwinding prior attempt's watcher); disarm right after
327
- # `wait` returns AND from _sa_cleanup's trap (that path SIGKILLs
328
- # $CLAUDE_PG itself as ordinary TERM/INT/HUP handling, which must
329
- # disarm too or a normal watchdog-triggered shutdown would misreport
330
- # as an unexpected death). See scripts/producer_deathwatch.py.
324
+ # same silent-death risk (SIGKILL/OOM/hard crash while waiting).
325
+ # Watches THIS SCRIPT's own pid ($$), not $CLAUDE_PG: if only the
326
+ # claude child dies, `wait` unblocks normally and this script keeps
327
+ # running (RC-checked, logged, retried) no observability gap.
328
+ # The gap is when the WHOLE TREE (this script included) is killed
329
+ # together, which is what actually happened in the salvage-orphan
330
+ # cases this was built for. Arm per-attempt (job id includes
331
+ # $CLAUDE_PG so a retry never collides with a still-unwinding prior
332
+ # attempt's watcher); disarm right after `wait` returns AND from
333
+ # _sa_cleanup's trap (that path SIGKILLs $CLAUDE_PG's group as
334
+ # ordinary TERM/INT/HUP handling, which must disarm too or a normal
335
+ # watchdog-triggered shutdown would misreport as an unexpected
336
+ # death). See scripts/producer_deathwatch.py.
331
337
  _SA_DW_JOB="${SESSION_ID}-${CLAUDE_PG}"
332
338
  python3 "$REPO_DIR/scripts/producer_deathwatch.py" arm \
333
- --watch-pid "$CLAUDE_PG" --job-id "$_SA_DW_JOB" --qtype "$SCRIPT_TAG" \
339
+ --watch-pid "$$" --job-id "$_SA_DW_JOB" --qtype "$SCRIPT_TAG" \
334
340
  --batch "${BATCH_ID:-${SA_CYCLE_ID:--}}" --call-path direct \
335
341
  >/dev/null 2>&1 || true
336
342
  wait "$CLAUDE_PG"