feat: add Twitter thread support and cost warning #194
Reference in New Issue
Block a user
Delete Branch "feature/163-twitter-threads"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary\n\n- Auto-threading: Messages exceeding 280 chars are split into reply chains at sentence boundaries\n- Smart splitting: Prefers sentence endings (
.!?), falls back to word boundaries, then hard cut\n- Cost-optimized posting: Optional text-only first tweet ($0.015) with URL in reply ($0.20)\n- Cost warning: Language string for plugin config alerting users to X API pricing ($0.20/URL post)\n- Thread root tracking: Returns first tweet ID asplatform_post_idfor the full thread\n\nCloses #163\n\n## Test plan\n\n- [ ] Single tweet <= 280 chars works unchanged (regression)\n- [ ] Message > 280 chars splits into thread with reply chain\n- [ ] Split prefers sentence boundaries over word boundaries\n- [ ] Each tweet in thread is <= 280 chars\n- [ ] Cost-optimized mode posts text first, URL as reply\n- [ ] Cost warning language string displays in plugin config2080375343to831223f7bc