Commit Graph

4107 Commits

Author SHA1 Message Date
Cohee
e2a2e3869e Merge branch 'staging' into image-swipes 2024-08-15 00:01:11 +03:00
Cohee
bc7ac12317 New ChatGPT model 2024-08-14 20:31:25 +03:00
Cohee
06d300ad36 Quick Replies: Add auto-execute on new chat 2024-08-14 00:08:16 +03:00
Cohee
4fd8d8e0ee Add swipes when using paintbrush 2024-08-13 23:35:49 +03:00
Cohee
e1a29b36f5 Image Generation: Add swipes for generated images
Supersedes #2648
2024-08-13 23:21:00 +03:00
Cohee
53c24174e7 Merge branch 'staging' into webgpu-summary 2024-08-13 20:54:46 +03:00
Cohee
d0b368f29c Vector Storage: change NomicAI key input 2024-08-13 20:50:41 +03:00
Cohee
1842a8ee6d Add buttons to remove SD/translate secrets 2024-08-13 20:43:45 +03:00
Cohee
f17df7d9ad Add remove key button for Azure TTS 2024-08-13 20:33:59 +03:00
Cohee
1883095e39 Move request to backend 2024-08-13 20:29:33 +03:00
Cohee
8921b78f87 Add debug logs to WebLLM completions 2024-08-13 19:57:38 +03:00
Cohee
4888e3c2b0 Vector Storage: summarize with WebLLM extension 2024-08-13 19:34:11 +03:00
Alex Yancey
ab42d6ff82 Quick and dirty attempt at implementing an OpenAI compatible TTS voice provider 2024-08-13 02:07:46 -07:00
Cohee
7d3f544e63 Refactor extension install menu 2024-08-13 01:09:14 +03:00
Cohee
30c19eb8fd Add WebLLM source to /summarize command 2024-08-13 00:57:32 +03:00
Cohee
5b3388d0c8 Use common methods for extras summary 2024-08-12 23:08:11 +03:00
Cohee
8685c2f471 Add WebLLM extension summarization 2024-08-12 23:01:03 +03:00
Cohee
77ab694ea0 Add shared utilities for generating text with WebLLM 2024-08-12 22:07:44 +03:00
Cohee
2ef9d374ec Chat Completion: Don't insert group nudge when impersonating
Closes #2588
2024-08-11 20:55:59 +03:00
Cohee
8df27254fd
Merge pull request #2640 from edk208/release
Adding Block Entropy API endpoints for chat, image, and video generation
2024-08-11 16:19:14 +03:00
Cohee
fcfa15a5ad Add model to presets. Fix restoration on app load 2024-08-11 16:18:24 +03:00
Edward Kim
41247740b1 fixed model in max context 2024-08-10 22:00:26 -04:00
Edward Kim
88ada0f67d fixed ordering in image generation source, and max token length for llm models 2024-08-10 21:55:52 -04:00
Cohee
9af640cdf8
Merge pull request #2635 from SillyTavern/independent-WI-disable
Split WI Entry 'disable' into separate toggle
2024-08-11 00:11:23 +03:00
Cohee
41a3a97925 Clean-up commented code 2024-08-11 00:10:17 +03:00
Edward Kim
08d5a2826f fixed generation endpoints, added animation via gifs 2024-08-10 13:07:52 -04:00
RossAscends
06efdf17d8 clarify regex editor tooltips 2024-08-10 18:12:45 +09:00
RossAscends
ffb374b8f3 clarify Regex editor "only" toggles. 2024-08-10 18:07:39 +09:00
RossAscends
d7d99fa94c add tooltip, efficient-ify class toggling 2024-08-10 17:53:02 +09:00
RossAscends
0dce445375 fix toggle logic and cursors 2024-08-10 13:07:07 +09:00
RossAscends
704058ac36 re-divorce entry active state from trigger strategy 2024-08-10 12:48:47 +09:00
splitclover
dcfeb837a8 Add await to events 2024-08-10 00:44:01 +02:00
splitclover
696ca50652
Merge branch 'SillyTavern:staging' into staging 2024-08-09 23:49:59 +02:00
splitclover
754752c80a Added chat completion import/export events 2024-08-09 23:49:18 +02:00
Cohee
478e1a6bb5
Merge pull request #2629 from SillyTavern/improve-swipe-commands
Improve `/addswipe` and `/delswipe` slightly
2024-08-10 00:48:48 +03:00
Cohee
6683ae810f Replace mobile TTS placeholder text
Closes #2631
2024-08-09 10:17:06 +03:00
Wolfsblvt
7ffc69b83b /delswipe returns current swipe id 2024-08-09 00:38:51 +02:00
Wolfsblvt
2ce58bb0a6 Allow switching on /addswipe
- Add optional "switch" arg to /addswipe
- Make /addswipe return the new swipe id
2024-08-09 00:37:26 +02:00
Edward Kim
b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
Cohee
6e1ba5f7e2 Change event handler type for custom CSS
Closes #2624
2024-08-08 00:21:18 +03:00
Cohee
93c7dd50f5 Fix template name case 2024-08-07 22:01:43 +03:00
Cohee
f0b13d3172 Allow wand SD gens when LLM not connected 2024-08-07 20:58:36 +03:00
Cohee
32c48cf9fa Fix default value for OpenRouter Top A 2024-08-07 20:58:19 +03:00
Wolfsblvt
444339e156
Merge pull request #2618 from steve02081504/patch-4
Update zh-cn.json
2024-08-06 11:31:09 +02:00
Wolfsblvt
ed3f028a36 consistent template names 2024-08-06 11:30:17 +02:00
Cohee
c76306d461 Restore CC OpenRouter providers on load 2024-08-06 11:33:56 +03:00
Cohee
76e2586eaf Don't close providers dropdowns on select 2024-08-06 11:27:38 +03:00
Cohee
e45a445ef9 Init textgen model selects before loading settings 2024-08-06 11:22:13 +03:00
steve02081504
02c5a40b98 Crate WorldInfoKeywordHeaders.html 2024-08-06 11:20:19 +08:00
Cohee
0baca3b7d3 Merge branch 'staging' into wi-go-brrrrrr-too 2024-08-06 00:29:24 +03:00
Cohee
6637bc3052 Emit events on caption and SD image messages 2024-08-05 21:22:40 +03:00
RossAscends
a764e2d6bf AF panel 3column reshuffle, autoComplete to UserSettings, collaspify Auto* settings 2024-08-06 00:39:17 +09:00
Wolfsblvt
bc9eb080e5 Cannot recalc scrollHeight before resetting it
- Fixed Ross' fuck-up. You can thank me later
2024-08-05 07:53:24 +02:00
RossAscends
b48d905c45 initial commit: AF panel textareas >> contentEditable divs 2024-08-05 14:30:15 +09:00
RossAscends
64e716bb62 async for resetScrollHeight, slightly faster WI/AF panel loads 2024-08-05 12:03:46 +09:00
Wolfsblvt
34767e5ce3 Improve performance by half on WI book load 2024-08-05 02:05:27 +02:00
Wolfsblvt
3523ec334d Improve performance on fancy key selector init 2024-08-05 01:06:37 +02:00
Wolfsblvt
4966139fd1 Improve performance of expand/close all WI button 2024-08-05 00:09:50 +02:00
RossAscends
c13ca77bd9 added safety feature: reset MUI panel settings when toggling MUI off 2024-08-04 21:39:24 +09:00
Azariel Del Carmen
5d0581603b
fix: LLM Classifier Defaulting to Last Spoken Character's Expression For All Characters in Group Chats (#2605)
* fix: fix llm expression classifier on group chats

* chore: adjust some things

* fix: exisiting chats defaulting to last character's sent message

* chore: use dual awaits than promise

* chore: restore allSettled and separate await call for llm only

* chore: move classification to generateRaw

* chore: remove characterId

* chore: revert some placements back to how they were

* chore: remove uneeded imports
2024-08-04 13:24:24 +03:00
Cohee
16172b410c
Merge pull request #2598 from NearEDGE/quick-impersonate-regenerate-buttons
Added quick Regenerate and Impersonate buttons
2024-08-04 13:16:05 +03:00
NearEDGE
ea76ec89de Removed quick regenerate button
Response to change request.
2024-08-03 16:56:43 -04:00
Cohee
68de3fed59
Merge pull request #2594 from SillyTavern/sd-stop
Image generation stop handling
2024-08-03 12:06:50 +03:00
Cohee
d5576cd7b7
Merge pull request #2601 from SillyTavern/wi-blackbox-be-gone
WI blackbox begone (Export, document and refactor a bit of the WI API)
2024-08-03 11:57:52 +03:00
Wolfsblvt
d84fef0478 Fix SD wand entry not always being clickable 2024-08-03 00:10:46 +02:00
Wolfsblvt
7d46ca212b Expand/show DS prompt gen error 2024-08-03 00:06:48 +02:00
Cohee
664447d585 Stop propagation on WI entry delete 2024-08-03 00:00:15 +03:00
Wolfsblvt
c9acea8522 fix WI sorting error 2024-08-02 22:44:21 +02:00
Succubyss
366070adee ultra re-addition (just in case), fixed system prompt line 2024-08-02 15:26:15 -05:00
Cohee
7e8b7e128e Sync change with oai_settings 2024-08-02 22:51:29 +03:00
Succubyss
c291564925 gemini: max context, selection revisions, ultra removal 2024-08-02 14:35:48 -05:00
Wolfsblvt
dee4ad8794 Make 'sortWorldInfoEntries' custom sortable 2024-08-02 20:57:55 +02:00
Wolfsblvt
c0039111dd Update delete WI entry to new popup 2024-08-02 20:51:12 +02:00
Wolfsblvt
3897b8c082 Export and doc most of wi functions 2024-08-02 20:42:53 +02:00
Cohee
4b61bcc741
Merge pull request #2600 from Succubyss/gemini-1.5-pro-exp-0801 2024-08-02 21:39:19 +03:00
Succubyss
3f6e4fabb8 gemini updates 2024-08-02 13:30:54 -05:00
NearEDGE
4f76e9e10f Added quick Regenerate and Impersonate buttons
Additional buttons mimic the behavior of the continue button.
2024-08-02 08:17:29 -04:00
Cohee
7498018ac6 Fix incorrectly self-closed div tags 2024-08-02 00:07:30 +03:00
Cohee
41af05769b Add separate imagegen stop button
Closes #2591
2024-08-01 23:57:24 +03:00
Cohee
8892fdc421 Sort textgen model lists alphabetically 2024-08-01 23:21:34 +03:00
Cohee
417335a19d Display context size for featherless models 2024-08-01 23:17:03 +03:00
RossAscends
7acc78db0a embetterify Sampler Select function 2024-08-02 01:01:50 +09:00
Cohee
8ff4a4a36a Don't modify legacy URL path for inappropriate API types 2024-08-01 15:01:38 +03:00
Cohee
40ee236ca8 Add multimodal captioning for 01.ai 2024-08-01 01:34:49 +03:00
Cohee
7b9eb97c7f Support image inlining for 01.ai 2024-08-01 01:15:13 +03:00
Cohee
21d074aa46 Update default Chat Comp models to better ones 2024-08-01 00:51:11 +03:00
Cohee
2871f309c9
Merge pull request #2592 from Succubyss/gemini-maxtemp
Update MakerSuite temperature caps
2024-08-01 00:46:50 +03:00
Cohee
101616c422 Update Perplexity models 2024-08-01 00:43:21 +03:00
Succubyss
4561eca684 correct MakerSuite max temps 2024-07-31 16:20:45 -05:00
LenAnderson
83ba31ba06 Merge branch 'parser-followup-2' of https://github.com/LenAnderson/SillyTavern into parser-followup-2 2024-07-30 16:01:16 -04:00
LenAnderson
88d3771863 compile LESS 2024-07-30 16:00:41 -04:00
LenAnderson
92eec72c6d draw attention to debug buttons 2024-07-30 16:00:32 -04:00
LenAnderson
3343f3122b stop chat input and progress bar from collapsing 2024-07-30 16:00:13 -04:00
Wolfsblvt
c139222aee Merge branch 'staging' into pr/2415 2024-07-30 21:46:08 +02:00
Wolfsblvt
7bb94732dd mark popup complete functions as async 2024-07-30 21:45:19 +02:00
Wolfsblvt
379a4d1e4d add autocomplete color for non-selectable entries 2024-07-30 20:52:58 +02:00
Wolfsblvt
7c27211bc9 QR label alignment/wrapping 2024-07-30 20:51:55 +02:00
Wolfsblvt
023bd840fa Fix QR context error on no set chosen 2024-07-30 19:54:17 +02:00
Cohee
880f986848
Merge pull request #2582 from SillyTavern/improve-tag-backup-restore
Improve Tag Backup Restore functionality
2024-07-30 18:46:22 +03:00
Wolfsblvt
a8f6e5c5f7 purify popup warning string 2024-07-30 17:37:34 +02:00
steve green
ba9b16191f
Update 'zh-cn' translation (#2583)
* Update world-info.js

- make the rename button is also available in case of WIbook corruption.
- make the WI engine doesn't crash when certain entrys with `content === null`.

* Update zh-cn.json

* Part revert "Update world-info.js"

This part reverts commit 0693c9c400.
2024-07-30 17:20:10 +03:00
LenAnderson
18e3659914 fix syntax loop debugger misalignment 2024-07-29 21:43:38 -04:00
LenAnderson
1d4c44fcf6 fix AbortController missing from imported closures 2024-07-29 21:01:58 -04:00
Wolfsblvt
87a563e7d2 Remove wrong css class 2024-07-29 20:30:06 +02:00
Wolfsblvt
74c0a194fd Update tag restore popup text 2024-07-29 20:17:34 +02:00
Wolfsblvt
4408f52c79 Fix tag backup import not refreshing popup 2024-07-29 02:33:36 +02:00
Wolfsblvt
1738e8a48d Update merged/replaced tag map links
- On both skip and replace, tag map could run into issues with old IDs being referenced. Fixed that by building a mapping for the actual ID that will be the result.
2024-07-29 00:05:35 +02:00
Wolfsblvt
105f54ac72 Check on existing tag names too 2024-07-28 23:41:28 +02:00
Wolfsblvt
c026becb6d Add toastr click popup on tag restore warnings 2024-07-28 23:20:33 +02:00
Wolfsblvt
6328bfa0a3 Prompt for overwrite on tag backup restore 2024-07-28 22:51:22 +02:00
Wolfsblvt
0dfd31430c Add Popup.show.text 2024-07-28 22:39:11 +02:00
Wolfsblvt
b1f17af9fb Change default tag alpha to 0.5 2024-07-28 21:54:15 +02:00
LenAnderson
0959e3abc2 fix return value of /delmode 2024-07-28 15:25:35 -04:00
Cohee
82a633da57 Add toggle for names as stop strings
Closes #2556
2024-07-28 22:22:36 +03:00
Wolfsblvt
abf9f526c0 Fix tag colors resetting on sorting
- That workaround is not needed anymore. Colors are now always set on printing the tag list items
2024-07-28 20:23:28 +02:00
LenAnderson
98a1b99b14 anchor wildcard lookup 2024-07-28 08:33:33 -04:00
LenAnderson
039c27e201 add "for {{input}}" comment to chat input placeholder and title 2024-07-28 08:33:18 -04:00
LenAnderson
2470f775e2 Merge branch 'staging' into parser-followup-2 2024-07-28 08:32:25 -04:00
Cohee
bdafa09c1b
Merge pull request #2572 from SillyTavern/theme-command-improvements
/theme allows returning current theme & fix /theme and /bg doc
2024-07-28 11:51:41 +03:00
Cohee
e45e89ce16
Merge pull request #2577 from joenunezb/fix-handle-text-response-from-sendas
Fix: Properly handle text responses when character name is not provided in sendas cmd
2024-07-28 11:28:33 +03:00
joenunezb
211c671cb6 FIX: Properly handle text responses when character name is not provided in sendas cmd 2024-07-27 21:29:37 -07:00
steve02081504
755267bfb6 fix of empty data-i18n keys 2024-07-28 10:21:18 +08:00
Wolfsblvt
d46fd9d174 Fix WI reloading on slash commands 2024-07-28 04:17:45 +02:00
Wolfsblvt
6b1045ab52 Update /bg docs to match the actual command 2024-07-28 01:17:11 +02:00
Wolfsblvt
c2e6903b30 Allow /theme command to return current theme
- Add empty args to return theme name on /theme call
- Improve help string docs for /theme
2024-07-28 01:15:55 +02:00
Cohee
87e562b752 Allow "none" position for extension prompt injects 2024-07-28 00:26:44 +03:00
LenAnderson
ba840248eb order wildcard macros by index of wildcard for substitute 2024-07-27 15:31:23 -04:00
LenAnderson
b5d90a4259 let /qr-arg overwrite wildcard macros 2024-07-27 15:30:50 -04:00
Cohee
1ad57e6ff6
Merge pull request #2568 from SillyTavern/wi-apply-sorting-order-fix
Fix apply WI sorting to order field
2024-07-27 21:44:02 +03:00
Cohee
d37d6faa9f Fix chat width and font scale not applying on manual input 2024-07-27 21:38:03 +03:00
Wolfsblvt
5e2e48c84d More sensible UI WI entries sorting
- Use same secondary/tertiary sorting for all sortings
- Refactor and streamline code
2024-07-27 19:56:14 +02:00
Wolfsblvt
ad65fbc1fc Fix apply WI sorting to order field
- Fix using wrong values because of displayIndex
- Expand it to take any current sorting, not just the "custom" one
2024-07-27 19:27:55 +02:00
LenAnderson
cf42c4044e add missing start/end named arg index to /: 2024-07-27 12:50:30 -04:00
Cohee
8dd5d9321d Fix gallery duplicate uploads 2024-07-27 18:00:30 +03:00
Cohee
e1700f9a14 Fix gallery paging overflow 2024-07-27 16:35:00 +03:00
Cohee
ad387a7464
Merge pull request #2564 from SillyTavern/instruct-mistral-large
Add first/last user messages prefixes for instruct mode
2024-07-27 16:08:28 +03:00
Cohee
d214c18156 #2566 Cache expressions list for LLM API 2024-07-27 13:57:39 +03:00
LenAnderson
a6443f71a3 constructor should also allow HTMLInputElement 2024-07-26 22:27:00 -04:00
LenAnderson
b7e8f8faaa don't let progress bar go backwards 2024-07-26 22:26:52 -04:00
Cohee
39c63dc78b Add user first and last prefixes for instruct 2024-07-26 23:10:09 +03:00
Cohee
443ef36653
Merge pull request #2563 from Succubyss/timestamp-minor-refactor
refactor: timestampToMoment, parseTimestamp
2024-07-26 22:58:00 +03:00
Cohee
a2661b2c48
Merge pull request #2560 from SillyTavern/dupe-persona
Dupe persona
2024-07-26 19:47:51 +03:00
Cohee
9cf53c6a55 Handle null values for missing persona descriptor fields 2024-07-26 19:45:45 +03:00
Cohee
6f58f9c599
Merge pull request #2562 from SillyTavern/dvh-units 2024-07-26 19:34:03 +03:00
Succubyss
af227a0191 refactor: timestampToMoment, parseTimestamp
parseTimestamp now returns an ISO 8601 string instead of a moment (currently, only timestampToMoment uses parseTimestamp)
timestampToMoment now does the parsed timestamp conversion itself
2024-07-26 11:29:41 -05:00
Wolfsblvt
63512c208f Fix popup not respecting <null> for text 2024-07-26 18:17:32 +02:00
Cohee
e6e8d7726b Generate random seed for HF endpoint 2024-07-26 12:50:39 +00:00
Cohee
0253ef9cfd Merge branch 'staging' into dvh-units 2024-07-26 11:09:49 +00:00
LenAnderson
646f77f9f8 use textarea-owning layer instead of topmost modal layer 2024-07-25 18:06:48 -04:00
LenAnderson
19c7e1c763 Merge branch 'staging' into parser-followup-2 2024-07-25 18:02:29 -04:00
Cohee
472b08d0e5 Update popups to new 2024-07-25 23:57:00 +03:00
Cohee
00d74ec683 #2558 Add persona duping 2024-07-25 23:44:34 +03:00
Cohee
d31e44dec8 Chat Completion: split "none" and "default" names behavior 2024-07-25 20:13:06 +03:00
Cohee
de38b06eec
Merge pull request #2555 from Succubyss/timestamp-hell
Timestamp Fixes & Refactoring
2024-07-25 09:46:49 +03:00
LenAnderson
50cba9622c check that debugController exists 2024-07-24 21:00:58 -04:00
Wolfsblvt
c605037fbb number parsing, add jsdoc 2024-07-25 00:27:39 +02:00
Wolfsblvt
d30fc5d165 Fix lint issues 2024-07-25 00:23:02 +02:00
Succubyss
7956dc0b3f parseTimestamp refactor, was broken for non-ms-bearing humanized timestamps 2024-07-24 16:58:08 -05:00
Succubyss
b40012973e humanizedDateTime zero-pads month & day 2024-07-24 16:58:06 -05:00
LenAnderson
ed54ee1808 comments and cleanup 2024-07-24 17:50:57 -04:00
Succubyss
a031dbfbc8
fix initial group chat message timestamp when empty 2024-07-24 16:46:19 -05:00
LenAnderson
971f2cacb9 fix DebugController retaining previous named and unnamed args 2024-07-24 17:22:00 -04:00
Cohee
af2dcd39e9
Merge pull request #2551 from steve02081504/patch-4
Update zh-cn.json
2024-07-24 21:15:08 +03:00
steve02081504
3e5f98223d fixes 2024-07-25 01:33:00 +08:00
Cohee
e49da60bda New mistral large model 2024-07-24 20:19:57 +03:00
LenAnderson
8cb31d2f7b Merge branch 'staging' into parser-followup-2 2024-07-24 08:39:00 -04:00
steve02081504
fe89bc9cdf little fix 2024-07-24 10:47:52 +08:00
steve green
021edfdb2e Update zh-cn.json
- Remove the carriage return from Key so that I18N will work properly in some browsers.
- Append two HTML files that will not actually be utilized so that the I18N tool will work properly.
2024-07-24 10:40:18 +08:00
LenAnderson
59c617a7a7 adjust debugger highlights for scroll position 2024-07-23 20:49:49 -04:00
LenAnderson
590e1e39d8 hljs refinements 2024-07-23 20:49:29 -04:00
LenAnderson
8df6353725 fix some execCommand weirdness 2024-07-23 16:46:46 -04:00
LenAnderson
0d75ca9a5d add BreakController to /run closure 2024-07-23 16:27:27 -04:00
Cohee
22a7792bac #2545 Fix system tts pitch slider not working 2024-07-23 22:35:15 +03:00
Cohee
cc0ae2a567 Add llama 3.1 models for groq 2024-07-23 20:25:23 +03:00
LenAnderson
80879e0c51 don't try to parse empty qrJson on add from text 2024-07-23 11:40:23 -04:00
Yokayo
e857ee8713 Update tl 2024-07-23 18:42:44 +07:00
LenAnderson
3b2dcd60da add console warning when delete set is not found in list 2024-07-22 19:06:02 -04:00
LenAnderson
133a3663f4 await API calls 2024-07-22 18:48:01 -04:00
LenAnderson
621ef197da don't update command progress CSS property if not changed
performance improvement from luccy
2024-07-22 18:28:30 -04:00
LenAnderson
2ac2a2537d don't cancel syntax highlight update if previously disabled 2024-07-22 18:25:43 -04:00
LenAnderson
2b653ac8a1 sync scroll after syntax highlight update 2024-07-22 18:25:16 -04:00
LenAnderson
0d8436aec6 rename syntax highlight update loop 2024-07-22 18:24:57 -04:00
Cohee
256f0a58db
Merge pull request #2542 from SillyTavern/wi-slash-commands-performance-improvements
World Info: slash commands performance improvements
2024-07-22 22:51:53 +03:00
Cohee
1e2293713d Clone WI cache only on get 2024-07-22 22:34:53 +03:00
Cohee
dabcf6e994 Add config to StructuredCloneMap 2024-07-22 22:34:03 +03:00
Cohee
4de51087bc Allow cancel both by debounced and original functions 2024-07-22 22:33:48 +03:00
Cohee
17dc3fa4b5 Add debounce cancelling 2024-07-22 22:20:03 +03:00
LenAnderson
5dc7b4567d Merge branch 'staging' into parser-followup-2 2024-07-22 12:44:07 -04:00
Cohee
8777526f8a Unasync getWorldEntry 2024-07-22 15:21:07 +00:00
Wolfsblvt
d57e43df54 Remove not needed await on global context 2024-07-22 09:22:02 +02:00
Wolfsblvt
7cbaa15aad Fix double cloning and unnecessary await 2024-07-22 09:11:37 +02:00
Wolfsblvt
4acf68cc30 Explicitly use async for saveWorldInfo 2024-07-22 04:23:05 +02:00
Wolfsblvt
0975843f1d WI entry update slash commands use debounced
- WI entry updates utilize debounced save
- Trade-off between consistency of possible data loss and performance issues in STscript loops that update multiple things in a WI file are not worth it.
2024-07-22 03:22:20 +02:00
Wolfsblvt
731d2864de Proper caching for loaded WI
- Implement StructurecCloneMap, which is a map that provides structured clones on both get and set
- Don't delete WI cache on save, but update the cache
- Ensure that cache is updated immediately, so any future get will load the new saved data already
- Still be consistent with clones, so requested cache data that wasn't saved isn't taken into account
2024-07-22 03:17:06 +02:00
Wolfsblvt
41c709e291 WI slash only reload world if it was selected 2024-07-22 02:11:11 +02:00
Wolfsblvt
5ef6315b25 Allow values below entry count, just warn 2024-07-22 01:42:54 +02:00
Wolfsblvt
8e3f3e9331 WI update "Order" from custom sorting button
- Adds a button that automatically updates the "Order" values of entries based on the custom sorting order ("displayIndex")
- Shows popup to choose starting value, because it's descending (default: 100)
- shows warnings/errors if any issues appear with the value
- warning inside popup if more than 100 entries exist, and a higher value has to be chosen
- Implements #2533
2024-07-22 01:30:08 +02:00
Cohee
788a13d7e3
Merge pull request #2540 from Succubyss/chatvar
Adds "chatvar" aliases & "length" alias
2024-07-22 00:36:08 +03:00
Succubyss
a712e92125 moves persona's alias line upward 2024-07-21 16:19:47 -05:00
Succubyss
455f9b7a3e add "chatvar" aliases and "length" alias 2024-07-21 16:17:57 -05:00