LenAnderson
ded6536b06
remove dom queries and jQuery during streaming
2024-07-22 11:50:45 -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
Cohee
4ff8c69b81
Properly hyphenate
2024-07-21 22:12:38 +03:00
Cohee
f1cd099849
Un-abbreviate PHI
2024-07-21 22:09:48 +03:00
Cohee
5f0e74bd56
Rename PHI/aux UI fields
2024-07-21 14:29:13 +03:00
LenAnderson
4556684e76
there might not be a first or last value in the unnamed arg list
2024-07-20 16:41:01 -04:00
LenAnderson
c06f422e76
restore closure vars
2024-07-20 14:03:10 -04:00
LenAnderson
427f9b9ae4
Merge branch 'staging' into parser-followup-2
2024-07-20 13:14:24 -04:00
LenAnderson
365903b64d
use deprecated execCommand to retain undo-history
2024-07-20 13:10:55 -04:00
LenAnderson
ddeacd4524
shorter message update debounce
2024-07-20 13:10:20 -04:00
LenAnderson
c3a51af2f3
firefox compat
2024-07-20 12:28:16 -04:00
LenAnderson
5712128ac0
improve QR editor performance
...
- only run hljs with syntax enabled
- only check localStorage once, then rely on the checkbox
- run hljs on a 30fps loop instead of event-based
- use morphdom to update syntax dom instead of innerHTML
2024-07-20 12:16:47 -04:00
LenAnderson
bff5977f02
don't need regex symbol here
2024-07-20 12:01:00 -04:00
LenAnderson
7ab09c6432
fix unclosed block comment infinite loop
2024-07-20 12:00:50 -04:00
LenAnderson
4191e3fa09
fix /let key= not given priority
2024-07-20 12:00:22 -04:00
LenAnderson
4336253b2f
fix whitespace variable to "0"
2024-07-20 11:59:52 -04:00
Cohee
21cdfa1dfa
Async load of extensions info
2024-07-20 14:08:24 +03:00
LenAnderson
6e7e57518e
fix autocomplete setting state on load and duplicated lines
2024-07-19 16:42:20 -04:00
Cohee
5f2a73ac9f
Expose "Allow fallback providers" for OpenRouter
2024-07-19 23:34:16 +03:00
LenAnderson
9b93dbf80b
add autocomplete select key setting (enter/tab)
2024-07-19 07:46:36 -04:00
LenAnderson
7a99a068e6
Merge branch 'staging' into parser-followup-2
2024-07-19 07:28:41 -04:00
LenAnderson
ae90966f43
add debugger button states
2024-07-18 19:57:05 -04:00
LenAnderson
03eb04e8f9
verify QR paste JSON and allow non-JSON pastes
2024-07-18 19:47:35 -04:00
Cohee
3cbbb2fe39
Use eventSource instead of DOM click
2024-07-19 02:12:01 +03:00
Cohee
3c059d19ef
#2529 Prioritize disabled for UI entry state
2024-07-19 01:54:49 +03:00
LenAnderson
896d43ade7
add QR delete confirm
2024-07-18 18:39:32 -04:00
LenAnderson
1d3b2a31c6
change color border -> accent
2024-07-18 18:33:42 -04:00
LenAnderson
b75f1d3c2d
capture Tab key on non-selectable auto complete options
2024-07-18 18:32:35 -04:00
LenAnderson
1412977083
faPicker scroll just icons and icon alignment
2024-07-18 18:28:24 -04:00
LenAnderson
4340143b7b
fix "Fix keyboard interaction on item adder"
2024-07-18 18:11:32 -04:00
LenAnderson
0c04f06c59
Merge branch 'staging' into parser-followup-2
2024-07-18 18:08:10 -04:00
LenAnderson
01db776998
add "add QR" to QR switcher
2024-07-18 18:07:04 -04:00
LenAnderson
ab6b7f6200
add icon to QR switcher "switch sets"
2024-07-18 18:06:52 -04:00
LenAnderson
a21deb4ed0
remove some red
2024-07-18 18:06:17 -04:00
LenAnderson
9226b14c88
substitute /break argument
2024-07-18 18:06:08 -04:00
LenAnderson
8b64dbc3ee
we have _scope to get the pipe
2024-07-18 18:03:50 -04:00
Cohee
739752ccf3
Fix aborting via hourglass
2024-07-18 23:32:20 +03:00
Cohee
1effb66fd6
Add cancelling of SD gens
2024-07-18 23:23:33 +03:00
Cohee
88acb568ad
Merge pull request #2530 from SillyTavern/gpt-4o-mini
...
Add gpt-4o-mini
2024-07-18 22:55:10 +03:00