v4.7.7 - Multimodal Vision, Bug Fixes & Code Quality
What's New in v4.7.7
Multimodal (Vision) AI Support
All four AI providers (Claude, OpenAI, Gemini, Ollama) now officially support sending uploaded images alongside the text prompt. When photos are uploaded, the prompt engine automatically injects visual analysis instructions - enabling more visually relevant, engaging posts.
Polishing UX Transparency
When a generated post exceeds a platform's character limit and requires a second API pass, the loading message now explicitly shows "Polishing text to fit platform limits..." instead of random loading phrases, giving users clear transparency about the delay.
Code Quality Improvements
- Namespaced Utilities: Consolidated loose global functions (
tstStripLinks,tstStripMarkdown,tstSanitize) into a modularTST_Utilsnamespace object. -
- Declarative Alpine.js Keyboard Shortcuts: Replaced imperative
document.addEventListenerbindings with idiomatic@keydowndirectives on the<body>element, fixing an invalid.cmdmodifier.
- Declarative Alpine.js Keyboard Shortcuts: Replaced imperative
-
- Escape Key Enhancement: Escape now cascades - closing the Settings modal first, then the Help modal.
Bug Fixes
- Critical: Prompt Length Instruction Bug - Fixed a bug where the AI was never receiving the "CONCISE", "BALANCED", or "DEEP DIVE" content length instruction due to destructuring
lengthinstead ofcontentLength. -
- Word Count Edge Case - Fixed
wordCountcalculation where empty/whitespace-only responses displayed "1 word" instead of "0 words".
- Word Count Edge Case - Fixed
Files Changed (8)
tvcnet-social-toolkit.html, social-toolkit.js, tst-utils.js, tst-services.js, tst-content.js, tst-config.js, CHANGELOG.md, README.md