@m13v/s4l 1.7.4-rc.36 → 1.7.4-rc.37
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/mcp/dist/version.json +2 -2
- package/mcp/manifest.json +1 -1
- package/mcp/package.json +1 -1
- package/package.json +1 -1
- package/skill/lib/linkedin-backend.sh +13 -0
- package/skill/lib/twitter-backend.sh +17 -0
package/mcp/dist/version.json
CHANGED
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.4-rc.
|
|
5
|
+
"version": "1.7.4-rc.37",
|
|
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.4-rc.
|
|
3
|
+
"version": "1.7.4-rc.37",
|
|
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
|
@@ -333,6 +333,19 @@ ensure_linkedin_browser_for_backend() {
|
|
|
333
333
|
# The occlusion/backgrounding flags matter: the window sits offscreen,
|
|
334
334
|
# and without them Chrome stops laying out SPA-rendered content, so
|
|
335
335
|
# every element measures 0x0 and clicks become impossible (2026-07-03).
|
|
336
|
+
# Mark the profile's last exit as clean BEFORE launching, so a
|
|
337
|
+
# SIGKILLed Chrome doesn't session-restore a crashed "Aw, Snap" tab on
|
|
338
|
+
# relaunch (same fix + rationale as twitter-backend.sh, 2026-07-13).
|
|
339
|
+
"${S4L_PYTHON:-python3}" -c 'import json, os, sys
|
|
340
|
+
p = os.path.join(sys.argv[1], "Default", "Preferences")
|
|
341
|
+
try:
|
|
342
|
+
d = json.load(open(p))
|
|
343
|
+
except Exception:
|
|
344
|
+
raise SystemExit(0)
|
|
345
|
+
prof = d.setdefault("profile", {})
|
|
346
|
+
prof["exit_type"] = "Normal"
|
|
347
|
+
prof["exited_cleanly"] = True
|
|
348
|
+
json.dump(d, open(p, "w"))' "$_prof_dir" 2>/dev/null || true
|
|
336
349
|
# Launch flags shared by both spawn paths below.
|
|
337
350
|
local _li_launch_args=(
|
|
338
351
|
--remote-debugging-port=9556
|
|
@@ -334,6 +334,23 @@ ensure_twitter_browser_for_backend() {
|
|
|
334
334
|
[ -n "$_stale_pids" ] && { kill -9 $_stale_pids 2>/dev/null || true; sleep 1; }
|
|
335
335
|
rm -f "$_prof_dir/SingletonLock" "$_prof_dir/SingletonSocket" "$_prof_dir/SingletonCookie" 2>/dev/null || true
|
|
336
336
|
fi
|
|
337
|
+
# Mark the profile's last exit as clean BEFORE launching. A SIGKILLed
|
|
338
|
+
# Chrome (wedge heal, stall abort) records exit_type=Crashed, and the
|
|
339
|
+
# next launch then session-restores the dead session's tab, which
|
|
340
|
+
# renders as a lingering "Aw, Snap" corpse the user keeps seeing
|
|
341
|
+
# (2026-07-13, twice). With the profile marked clean, Chrome opens
|
|
342
|
+
# ONLY our startup URL. Best-effort: a missing/corrupt Preferences
|
|
343
|
+
# file just skips.
|
|
344
|
+
"${S4L_PYTHON:-python3}" -c 'import json, os, sys
|
|
345
|
+
p = os.path.join(sys.argv[1], "Default", "Preferences")
|
|
346
|
+
try:
|
|
347
|
+
d = json.load(open(p))
|
|
348
|
+
except Exception:
|
|
349
|
+
raise SystemExit(0)
|
|
350
|
+
prof = d.setdefault("profile", {})
|
|
351
|
+
prof["exit_type"] = "Normal"
|
|
352
|
+
prof["exited_cleanly"] = True
|
|
353
|
+
json.dump(d, open(p, "w"))' "$_prof_dir" 2>/dev/null || true
|
|
337
354
|
# Launch flags shared by both spawn paths below.
|
|
338
355
|
local _launch_args=(
|
|
339
356
|
--remote-debugging-port=9555
|