Commit Graph

459 Commits

Author SHA1 Message Date
munimunigamer 5bba422904 fixed auto updating with external api mode 2026-01-05 23:58:48 -06:00
Spicy_Marinara ddd59d124e bug 2025-12-31 18:14:44 +01:00
Spicy_Marinara 3bfc6ea934 Update to v2.0 and add version indicator 2025-12-31 10:53:09 +01:00
Spicy_Marinara 3f58c7ceca Add holiday promotion, snowflakes effect, and Spotify music widget
- Added holiday promotion banner with 2026WITHMARINARA discount code
- Added dismiss functionality for promotion with persistent state
- Implemented snowflakes animation effect with toggle
- Added Spotify music widget above chat input
- Widget matches extension theme colors and positioning
- Added Display Options toggles to show/hide feature toggles
- Improved responsive design and mobile support
2025-12-30 20:56:43 +01:00
Spicy Marinara 51535c5fdc Merge pull request #80 from munimunigamer/image-gen-updates
General Automatic Image Generation Updates
2025-12-30 11:14:55 +01:00
munimunigamer bc4d4a0dd1 prompt now focuses on bust up/face 2025-12-30 04:11:08 -12:00
munimunigamer 5eb602e91d added better prompt generation 2025-12-30 04:02:45 -12:00
munimunigamer ca4a318135 removed unused localization 2025-12-30 03:24:06 -12:00
munimunigamer b4ad757e42 removed unnecessary "LLM Instruction" prompt for image generation 2025-12-30 03:23:18 -12:00
Spicy_Marinara 530d871fd3 Update layout.js 2025-12-29 18:07:33 +01:00
Spicy_Marinara 474e3ce963 Add customizable prompts editor and reorganize settings panel
- Reorganized settings: moved Auto-update, Narrator Mode, and Debug Mode to Advanced section
- Added Customize Prompts button with comprehensive prompts editor modal
- Implemented 7 customizable AI prompts: HTML, plot progression (random/natural), avatar generation, tracker instructions, tracker continuation, and combat narrative
- Added individual and bulk restore to defaults functionality
- Integrated custom prompts across generation modules (plotProgression, promptBuilder, encounterPrompts)
- Auto-update toggle now disabled when not in Separate generation mode
- Merged XML/Markdown tracker instructions into unified prompt
2025-12-29 14:41:12 +01:00
Spicy_Marinara 0b5bca56eb Fix display settings persistence and add responsive layout for plot buttons
- Fixed updateSectionVisibility() to use explicit .show()/.hide() instead of .toggle() to ensure proper element visibility on page reload
- Added responsive CSS for plot buttons to adjust to small screens and mobile devices
- Wrapped button text in spans to enable icon-only mode on very small screens (≤400px)
- Reduced button margins and added flexbox layout with wrapping for better mobile UX
2025-12-29 13:32:30 +01:00
Spicy Marinara 39f4fed40d Merge pull request #79 from munimunigamer/external-mode
feature: Add External API Generation Mode with Secure Key Storage
2025-12-29 10:29:35 +01:00
munimunigamer 6ffcf9c929 detailing that it connects to openai rather than just third party 2025-12-29 02:58:05 -12:00
munimunigamer 10a4f9e89e fixed auto image gen to use external mode as well 2025-12-29 02:56:04 -12:00
munimunigamer fb8a6fcc30 using localstorage instead of extension settings for api key now 2025-12-29 02:50:30 -12:00
munimunigamer b037d95da8 hide the "use model connected to RPG Companion Trackers preset" 2025-12-29 02:43:53 -12:00
munimunigamer 018ab3613f changed default max tokens from 2048 to 8192 2025-12-29 02:42:51 -12:00
munimunigamer 5369cb14a5 add cors error logging, letting the user know if an endpoint can't be used due to cors blocking 2025-12-29 02:42:37 -12:00
munimunigamer 1d4a64bac7 added external api 2025-12-29 02:38:08 -12:00
munimunigamer 9936fb483d added external api settings to extension settings 2025-12-29 02:21:30 -12:00
Spicy_Marinara 3146f033df Fix clamp() to use rem/px for min/max values
- Replace clamp(Xvw, Yvw, Zvw) with clamp(Xrem, Yvw, Zrem)
- Prevents font sizes from scaling excessively on ultrawide monitors
- Now minimum and maximum values are fixed units while middle value remains responsive
- Fixes info box, stats, calendar, weather, and all other text elements
2025-12-28 23:38:41 +01:00
Spicy_Marinara ed421bee63 Fix font sizes for ultrawide monitors using clamp()
- Replace all vw-based font-size properties with clamp() to prevent excessively large text
- Set maximum font sizes to prevent issues on 3440x1440 and other ultrawide displays
- Maintain responsive behavior for normal and mobile screen sizes
- Fix gap properties using vw for better spacing consistency
2025-12-28 22:07:27 +01:00
Spicy Marinara 09463fc95a Merge pull request #75 from munimunigamer/avatar-gen-fixes
fixed right click regen and clearing chat
2025-12-27 21:32:53 +01:00
munimunigamer 10f6326f82 fixed right click regen and clearing chat 2025-12-27 12:36:48 -12:00
Spicy_Marinara 3caa74fbf8 Combat encounters: Add pre-encounter config modal, targeting fixes, and tracker integration
- Add pre-encounter narrative configuration modal with combat/summary style settings
- Change POV fields to text inputs (default: narrator) for custom character names
- Fix targeting system for enemies with spaces in names (e.g., 'Gilded Thrall 1')
- Display character-specific sprites/avatars in targeting modal instead of generic emojis
- Add combat difficulty scaling guidance to prevent trivial god defeats or endless wolf battles
- Integrate tracker updates in combat summary generation (together mode)
- Update auto-save logs description to clarify file storage vs chat history
- Apply extension theming to Close Combat Window button
2025-12-27 16:06:06 +01:00
Spicy Marinara 436f3495f8 Merge pull request #74 from joenunezb/fix/hanging-swipes-with-chapterCheckpoints
fix: Swipes hanging due race condition when handling promises in chapterCheckpoints
2025-12-27 08:42:04 +01:00
joenunezb afa39b1387 Useless comments 2025-12-26 19:24:08 -08:00
joenunezb b38dbe06a6 fix: Properly handle promises that lead to hangs on swipes 2025-12-26 19:01:05 -08:00
Spicy Marinara 6b73e422de Merge pull request #73 from munimunigamer/merge-fix-69-70
Quick fix on the merge problem
2025-12-26 18:13:41 +01:00
munimunigamer ed5bcb2670 fixed index.js file 2025-12-26 10:57:46 -06:00
Spicy Marinara c29f2b1bb5 Merge pull request #70 from munimunigamer/auto-image-generation
Add automatic avatar generation for NPCs with LLM-powered prompts
2025-12-26 10:00:38 +01:00
Spicy Marinara 91732b4d1c Merge branch 'main' into auto-image-generation 2025-12-26 10:00:29 +01:00
Spicy Marinara b163141652 Merge pull request #69 from munimunigamer/main
feat: Add configurable toggles for Narrator Mode and dice display
2025-12-26 09:58:32 +01:00
munimunigamer 87e86bfbb4 Removing my .claude settings file oopsies 2025-12-25 23:43:39 -08:00
munimunigamer d10d4e876f replaced disable placeholder card with Narrator mode (changes prompt a bit to support open ended rpgs/narrator cards that don't have defined characters better) 2025-12-26 01:31:16 -06:00
munimunigamer fdaca39d39 renamed stable diffusion to image generation 2025-12-26 01:01:04 -06:00
munimunigamer 2df173e6af fixed up re-rendering images when right clicking 2025-12-26 00:54:44 -06:00
munimunigamer de11f6f7e2 llm generated image gen prompts 2025-12-25 21:13:19 -08:00
munimunigamer b7e52046bc fixed avatar images appearing in rpg 2025-12-25 20:39:01 -08:00
munimunigamer 7802479670 auto-image-generation 2025-12-25 19:59:25 -08:00
munimunigamer c73260b2c6 Added placeholder and dice config options 2025-12-25 18:27:28 -08:00
Spicy_Marinara 04bd314da2 Add chapter checkpoint UI improvements and separate Quests toggle
- Fix checkpoint button display with expandMessageActions setting
- Add body class observer to update buttons when setting toggles
- Add cleanupCheckpointUI function for extension disable
- Separate Quests from Inventory with independent toggle
- Add horizontal scrolling to Info Box dashboard
- Add divider between Inventory and Quests sections
2025-12-22 01:05:01 +01:00
Spicy_Marinara d386752f9c Fix chapter checkpoint button duplication issue 2025-12-22 00:27:25 +01:00
Spicy_Marinara 9d8b758317 Remove accidentally committed log file 2025-12-21 23:55:02 +01:00
Spicy_Marinara fe03cba802 feat: Add remove button for characters in Present Characters panel
- Add removeCharacter() function to delete characters from panel and saved data
- Remove character from both lastGeneratedData and committedTrackerData
- Add X button to character card header with hover effects
- Button removes character from display and prevents re-inclusion in next generation
- Updates are persisted to chat metadata
2025-12-19 18:01:05 +01:00
Spicy_Marinara ab7dfeaf8b feat: Add custom avatar upload for NPCs in Present Characters panel
- Add npcAvatars storage to extension settings for custom NPC images
- Implement getCharacterAvatar() to check custom avatars first
- Add uploadNpcAvatar() function with file validation (2MB max, images only)
- Make character avatars clickable with visual feedback
- Support left-click to upload and right-click to remove custom avatars
- Add camera icon overlay on hover with smooth animations
- Store avatars as base64 data URIs for persistence across sessions
2025-12-18 14:14:49 +01:00
Spicy_Marinara 5bc7bfe22f Fix: Preserve decimal commas in numbers (e.g., 4443,445)
- Modified itemParser to detect commas between digits
- Prevents splitting money/numbers with comma decimal separators
- Example: '4443,445 gold coins' now stays as one item
- Added documentation and example for decimal comma handling
2025-12-18 02:03:11 +01:00
Spicy_Marinara 3ded104218 Add chapter checkpoint feature
- New feature: bookmark messages to exclude earlier history from context
- Saves tokens by marking chapter start points in long chats
- Uses SillyTavern's /hide and /unhide slash commands
- Persists checkpoint across page reloads and generation events
- UI: bookmark icon in message menus with visual indicators
- Debounced restore function prevents concurrent executions
- Pre-generation checkpoint application ensures messages stay hidden
- Clean production-ready code with proper error handling
2025-12-18 01:59:14 +01:00
Spicy_Marinara 8645bbde98 Revert "Merge pull request #57 from devsorcer/claude/add-character-state-tracking-01AC3zt7Z6eEYLfZXoZCgut4"
This reverts commit 8905db3e44, reversing
changes made to 628d8ee7a4.
2025-12-06 00:04:32 +01:00