@m13v/s4l 1.7.4-rc.37 → 1.7.4-rc.38
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/scripts/cdp_ready_check.py +27 -2
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.38",
|
|
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.38",
|
|
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
|
@@ -50,11 +50,36 @@ def main() -> int:
|
|
|
50
50
|
with sync_playwright() as p:
|
|
51
51
|
browser = p.chromium.connect_over_cdp(url, timeout=timeout_ms)
|
|
52
52
|
n_contexts = len(browser.contexts)
|
|
53
|
+
# Renderer-liveness sweep (2026-07-14). A tab whose RENDERER
|
|
54
|
+
# crashed ("Aw, Snap", error code 5) keeps its normal title/url in
|
|
55
|
+
# every CDP listing and the browser-level handshake stays green,
|
|
56
|
+
# so it sat visibly dead for 20+ minutes with nothing entitled to
|
|
57
|
+
# touch it — below the wedge detector (browser-level) and the
|
|
58
|
+
# stall guard (scan-progress-level). Probe each page with a
|
|
59
|
+
# trivial evaluate; on failure reload the tab IN PLACE, which
|
|
60
|
+
# spawns a fresh renderer. No kill, no new window, no focus
|
|
61
|
+
# change. Best-effort: revival must never fail the readiness
|
|
62
|
+
# verdict the wedge gate depends on.
|
|
63
|
+
revived = 0
|
|
64
|
+
for ctx in browser.contexts:
|
|
65
|
+
for page in ctx.pages:
|
|
66
|
+
try:
|
|
67
|
+
page.set_default_timeout(4000)
|
|
68
|
+
page.evaluate("1")
|
|
69
|
+
except Exception:
|
|
70
|
+
try:
|
|
71
|
+
page.reload(timeout=15000, wait_until="commit")
|
|
72
|
+
revived += 1
|
|
73
|
+
except Exception:
|
|
74
|
+
pass
|
|
53
75
|
browser.close()
|
|
54
|
-
|
|
76
|
+
out = {
|
|
55
77
|
"ready": True, "mode": "cdp", "contexts": n_contexts,
|
|
56
78
|
"elapsed_s": round(time.time() - t0, 2),
|
|
57
|
-
}
|
|
79
|
+
}
|
|
80
|
+
if revived:
|
|
81
|
+
out["revived"] = revived
|
|
82
|
+
print(json.dumps(out))
|
|
58
83
|
return 0
|
|
59
84
|
except Exception as e:
|
|
60
85
|
print(json.dumps({
|