social-autoposter 1.6.151 → 1.6.152
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/run-twitter-cycle.sh +9 -7
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.6.
|
|
5
|
+
"version": "1.6.152",
|
|
6
6
|
"description": "Draft, review, approve, and autopilot X/Twitter posts.",
|
|
7
7
|
"long_description": "The disclaimer above is generic Claude boilerplate. S4L 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 end to end**\n\n2\\. Quit fully with CMD+Q, restart Claude, and paste the prompt into a new chat.",
|
|
8
8
|
"author": {
|
package/mcp/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m13v/social-autoposter-mcp",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.152",
|
|
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
|
@@ -1772,21 +1772,23 @@ log "Engagement style assigned: mode=$PICKED_MODE style=${PICKED_STYLE:-(invent)
|
|
|
1772
1772
|
# The arm is stamped onto every post this cycle via SAPS_DRAFT_PROMPT_VARIANT
|
|
1773
1773
|
# (read by twitter_post_plan.py -> log_post.py -> posts.draft_prompt_variant),
|
|
1774
1774
|
# mirroring the tail_link_variant plumbing. Split tunable via
|
|
1775
|
-
# TWITTER_DRAFT_PROMPT_AB_RATE
|
|
1776
|
-
#
|
|
1777
|
-
#
|
|
1778
|
-
#
|
|
1775
|
+
# TWITTER_DRAFT_PROMPT_AB_RATE = fraction of cycles assigned to 'treatment' (the
|
|
1776
|
+
# decoupled directive). CODE DEFAULT 1 = 100% treatment: a fresh plugin install /
|
|
1777
|
+
# new user with no override drafts in the DECOUPLED style by default (the old
|
|
1778
|
+
# concede->pivot 'control' is opt-in, not the default for customers). OUR own
|
|
1779
|
+
# install pins this to 0.5 in .env for a 50/50 holdback so we can measure
|
|
1780
|
+
# decoupled vs the old behavior on our account. The dashboard reads the SAME var
|
|
1779
1781
|
# with the SAME default (bin/server.js), so display and routing never diverge.
|
|
1780
|
-
DRAFT_PROMPT_AB_RATE="${TWITTER_DRAFT_PROMPT_AB_RATE:-
|
|
1782
|
+
DRAFT_PROMPT_AB_RATE="${TWITTER_DRAFT_PROMPT_AB_RATE:-1}"
|
|
1781
1783
|
SAPS_DRAFT_PROMPT_VARIANT=$(python3 -c "
|
|
1782
1784
|
import random
|
|
1783
1785
|
try:
|
|
1784
1786
|
rate = float('$DRAFT_PROMPT_AB_RATE')
|
|
1785
1787
|
except Exception:
|
|
1786
|
-
rate =
|
|
1788
|
+
rate = 1.0
|
|
1787
1789
|
rate = min(1.0, max(0.0, rate))
|
|
1788
1790
|
print('treatment' if random.random() < rate else 'control')
|
|
1789
|
-
" 2>/dev/null || echo
|
|
1791
|
+
" 2>/dev/null || echo treatment)
|
|
1790
1792
|
export SAPS_DRAFT_PROMPT_VARIANT
|
|
1791
1793
|
log "Draft-prompt A/B arm: $SAPS_DRAFT_PROMPT_VARIANT (rate=$DRAFT_PROMPT_AB_RATE)"
|
|
1792
1794
|
if [ "$SAPS_DRAFT_PROMPT_VARIANT" = "treatment" ]; then
|