@m13v/s4l 1.7.1-rc.13 → 1.7.1-rc.14

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.1-rc.13",
3
- "installedAt": "2026-07-08T02:42:52.128Z"
2
+ "version": "1.7.1-rc.14",
3
+ "installedAt": "2026-07-08T02:57:56.346Z"
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.1-rc.13",
5
+ "version": "1.7.1-rc.14",
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": {
package/mcp/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m13v/s4l-mcp",
3
- "version": "1.7.1-rc.13",
3
+ "version": "1.7.1-rc.14",
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.1-rc.13",
3
+ "version": "1.7.1-rc.14",
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",
@@ -146,6 +146,25 @@ For each DM row, BEFORE you compose or send, do this in order:
146
146
  - Navigate to https://x.com/THEIR_AUTHOR (strip any leading @).
147
147
  - Snapshot the page. Extract: display name, handle, bio text, follower count, pinned/top-of-feed recent tweet topic summary.
148
148
  - If the profile is suspended, protected, or empty, capture what you can and note "profile_limited" or "profile_inaccessible".
149
+ - MANDATORY BLOCK CHECK (do this on every profile visit, not just when a
150
+ send later fails): read the page text (snapshot or DOM query) and check
151
+ for the literal string "has blocked you" (case-insensitive). This is the
152
+ ONLY sufficient evidence for concluding we're blocked -- never infer it
153
+ from a missing Message button, a screenshot, or a send failure alone
154
+ (a missing Message button just as often means "DMs closed", which is
155
+ chat_disabled below, not a block).
156
+ If that exact text IS present:
157
+ a. Skip this DM: python3 $REPO_DIR/scripts/dm_conversation.py mark-skipped \\
158
+ --dm-id DM_ID --reason "blocked_by_user"
159
+ b. Hard-block the author so future items from them are never drafted
160
+ (shared universal blocklist, same mechanism engage-twitter uses):
161
+ python3 $REPO_DIR/scripts/reply_db.py blocklist add x THEIR_AUTHOR \\
162
+ --reason "X reported this author has blocked our account (dm-outreach-twitter, profile check)" \\
163
+ --classification blocked_by_author \\
164
+ --added-by block_probe
165
+ c. Move on to the next DM row; do not attempt to send.
166
+ If that text is NOT present, proceed normally -- do not skip or block
167
+ based on any other signal from this step.
149
168
 
150
169
  3. Persist the profile fields:
151
170
  \`\`\`bash
@@ -356,6 +356,33 @@ MANDATORY reply flow for every item:
356
356
  a) Re-snapshot the page to refresh element state.
357
357
  b) Find the reply textbox: role="textbox" with name like "Post your reply"
358
358
  or "Post text". Click it.
359
+ If the textbox is NOT found, do NOT assume a technical glitch or
360
+ conclude "blocked" from a screenshot alone -- X removes the
361
+ composer but still renders the tweet normally when the author has
362
+ blocked us, so a missing textbox is genuinely ambiguous by itself.
363
+ Determine which deterministically:
364
+ i. Click the article's reply icon (data-testid="reply" on the
365
+ target article, NOT the submit button).
366
+ ii. Wait ~2s, then read the page text (snapshot or DOM query).
367
+ iii. If the text contains "has blocked you" (case-insensitive):
368
+ this is a confirmed, permanent block. Do NOT retry. Skip
369
+ this reply: python3 $REPO_DIR/scripts/reply_db.py skipped ID "author_blocked_us"
370
+ Then hard-block the author so future items from them are
371
+ never drafted (same mechanism as the escape hatch above):
372
+ python3 $REPO_DIR/scripts/reply_db.py blocklist add x HANDLE \\
373
+ --reason "X reported this author has blocked our account (live reply attempt, engage-twitter)" \\
374
+ --classification blocked_by_author \\
375
+ --added-by block_probe \\
376
+ --source-reply-id REPLY_ID
377
+ Move on to the next assigned reply.
378
+ iv. If that text is NOT present: this was a transient render
379
+ miss, not a block. The click in (i) may have opened the
380
+ composer -- re-snapshot; if the textbox is now present,
381
+ continue with it below. If still absent, retry this whole
382
+ step once more before treating it as a failed technical
383
+ attempt.
384
+ NEVER conclude "blocked" from a screenshot alone -- only the
385
+ literal "has blocked you" text match above is sufficient evidence.
359
386
  c) Type YOUR_REPLY_TEXT (post-Step-3b short-link-wrapped form, post-Step-3a
360
387
  suffix) into that textbox. Do NOT auto-submit; we click the Reply
361
388
  button explicitly in step e.