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
Cohee
4ff8c69b81
Properly hyphenate
2024-07-21 22:12:38 +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
Cohee
4468bf5034
Explicitly add to image inlining list
2024-07-18 22:54:44 +03:00
Cohee
f9e16d2225
Add to multimodal captions
2024-07-18 22:51:47 +03:00
Cohee
ff68956371
Add events to SlashCommandAbortController
2024-07-18 22:47:57 +03:00
Wolfsblvt
e6995e40cc
Update /qr-delete help string and add missing arg
...
- Fixes #2527
2024-07-18 18:47:13 +02:00
Cohee
b9e03e9cb1
Add Mistral Nemo and Codestral Mamba models
2024-07-18 16:37:12 +00:00
LenAnderson
8a55d64158
Merge branch 'staging' into parser-followup-2
2024-07-17 17:43:49 -04:00
Wolfsblvt
327a5a4bda
FA picker popup improvements
...
- Fixed height (to prevent bouncing and lag/performance issues due to constant resizing. Also looks nicer)
- Added "No icons found" empty text
- Slight rework of button callback
2024-07-17 20:47:42 +02:00
Wolfsblvt
240048f833
Fix gap between icon and label, label min width
2024-07-17 20:04:01 +02:00
Wolfsblvt
8436082fef
Make QR quick buttons aligned
2024-07-17 19:51:37 +02:00
Wolfsblvt
a4a38e662e
Fix keyboard interaction on item adder
2024-07-17 19:26:54 +02:00
Wolfsblvt
9d7ea745b2
Add 1px margin to qr item adder
2024-07-17 19:24:20 +02:00
Wolfsblvt
b291014a95
Resize FA icon in QR editor, add label caption
2024-07-17 19:20:38 +02:00
Wolfsblvt
a81b1c4a33
Add tooltips to prompt itemization buttons
2024-07-17 01:31:34 +02:00
Cohee
cd8cc70e4f
Add custom macro for latest {{summary}}.
2024-07-17 00:10:40 +03:00
Cohee
345bae4fc0
Fix unknown relative extension injects not working in Chat Completion
2024-07-16 23:29:16 +03:00
LenAnderson
df19c98e9f
add syntax highlight for pipes and pipe breaks
2024-07-16 16:27:51 -04:00
LenAnderson
c3bd64e204
add #send_textarea mirror to QR debugger
2024-07-16 15:54:52 -04:00
Cohee
07ac2460e2
Add vector storage to prompt itemization
2024-07-16 22:51:15 +03:00
LenAnderson
cda920df08
fix toolcool color picker some more
2024-07-16 15:39:07 -04:00
LenAnderson
2a9ba4aec4
fix alphabetical order of QR Sets
2024-07-16 11:00:59 -04:00
LenAnderson
25c86b65ac
add quick QR switcher to editor
2024-07-16 10:51:02 -04:00
LenAnderson
ea84eddc3e
add getSetByQr
2024-07-16 10:41:56 -04:00
LenAnderson
5478b69253
add icon= and showLabel= to /qr-create and /qr-update
2024-07-16 09:29:31 -04:00
LenAnderson
10b9fdd06d
add /pick-icon to show Font Awesome icon picker
2024-07-16 09:28:33 -04:00
LenAnderson
6af46a34fd
add jsDoc and allow custom icon lists
2024-07-16 09:28:03 -04:00
LenAnderson
4b5704896d
more flexibililty for enums
...
custom mapping from enum value class to enum option class
2024-07-16 09:26:37 -04:00
LenAnderson
b51bf8e38e
fix QR update/delete by ID
2024-07-15 19:42:36 -04:00
LenAnderson
d773174bad
there was a reason I wanted to use confirm, dammit
2024-07-15 18:25:48 -04:00
LenAnderson
a0720343f3
use POPUP_TYPE text for fontawesome popup
2024-07-15 18:16:32 -04:00
LenAnderson
ff39902f12
align show label checkbox on baseline
2024-07-15 18:08:44 -04:00
LenAnderson
696c24051f
fix color picker widget defaulting to black instead of its initial value and firing change event when added to DOM
2024-07-15 18:07:36 -04:00
LenAnderson
bfd05e4866
Merge branch 'staging' into parser-followup-2
2024-07-14 19:18:52 -04:00
LenAnderson
db1094e391
add block comments with shortcut and breakpoint shortcut
2024-07-14 18:58:13 -04:00
Wolfsblvt
6f936bc997
I can't spell. Don't look at it.
2024-07-15 00:46:45 +02:00
Cohee
558bbce919
Fix phone scrolling of logprobs
2024-07-15 01:18:54 +03:00
Cohee
b7a1474d7b
Switch to dynamic viewport units
2024-07-15 00:42:16 +03:00
Cohee
ecceeec62a
Merge pull request #2520 from SillyTavern/popup-onclosing-fix
...
Fix popup onClosing handling not working correctly
2024-07-15 00:21:56 +03:00
LenAnderson
82dd53f166
fix color without dom
2024-07-14 17:02:24 -04:00
LenAnderson
e256e55268
remove traces of execute on hide
2024-07-14 17:01:08 -04:00
LenAnderson
9a9befeb63
remove second step-out button?
2024-07-14 16:59:34 -04:00
LenAnderson
95cc4d3ccb
add minimized debugger
2024-07-14 16:58:19 -04:00
Wolfsblvt
367da588cd
Move closingPrevented to a property
2024-07-14 22:37:22 +02:00
Cohee
32feb7b1a4
Add macro help for reverse
2024-07-14 23:14:57 +03:00
Cohee
42bc8af6f4
Add decorators to typedef
2024-07-14 23:13:19 +03:00
Cohee
2c1720d4f7
Merge staging
2024-07-14 23:04:54 +03:00
Cohee
d2ca90bb2c
Merge branch 'staging' into wi-processing-refactoring
2024-07-14 22:50:04 +03:00
LenAnderson
ddce6c4e89
clear QR Set color and bg adjustments
2024-07-14 14:13:57 -04:00
LenAnderson
7de5bd00be
Merge branch 'staging' into parser-followup-2
2024-07-14 13:47:49 -04:00
Cohee
3fb83e47ec
Run eslint
2024-07-14 14:07:23 +03:00
Cohee
a037129c20
Delay is not needed anymore.
2024-07-14 13:59:51 +03:00
Wolfsblvt
af15794222
Update char submenu popups to new popup
...
- Update 'Scenario Override'
- Update 'Open Source'
- Update 'Replace Character'
- Update 'Convert to Persona' popups
2024-07-14 03:58:27 +02:00
Wolfsblvt
7b7c1121bb
Fix popup onClosing handling not working correctly
...
- Reset value/result on canceled closing
- Fix close event still firing and closing the popup on multiple close/cancel calls, even though it *shouldn't* have happened
- Remove manual removal of popup event listeners. Not needed, if they are only subscribed to controls inside the dialog or the dialog itself. That's cleaned up automatically. Is confusing otherwise anyway.
2024-07-14 02:39:57 +02:00
LenAnderson
a8d4e12419
adjust QR set colors for combined buttons
2024-07-13 15:03:52 -04:00
LenAnderson
9f9553db44
add QR set colors
2024-07-13 14:45:35 -04:00
LenAnderson
8621fdbfa3
jsdoc type casing
2024-07-13 14:23:49 -04:00
LenAnderson
387ef83b72
nowrap in debugger call stack source
2024-07-13 14:15:55 -04:00
LenAnderson
4a4218f49a
prevent popup close while debugging
...
breaks shit, but that's a popup problem
2024-07-13 14:15:41 -04:00
LenAnderson
67bcb6be3b
Merge branch 'staging' into parser-followup-2
2024-07-13 13:50:28 -04:00
Cohee
5bb20519b7
Merge pull request #2518 from SillyTavern/update-presets
...
Update presets
2024-07-13 14:25:06 +03:00
Cohee
9f17097976
Normalize SD prompt strings
2024-07-13 12:20:13 +03:00
Cohee
31dbb5144e
Don't sanitize lt and gt from SD prompts
2024-07-13 12:12:50 +03:00
Cohee
974f142f24
Replace {{name}} macros in instruct suffixes
2024-07-13 00:16:31 +03:00
Cohee
6c03a61788
Exclude streaming and multiswipe from textgen presets
2024-07-12 23:43:21 +03:00
Cohee
2232a4fbd7
Merge pull request #2510 from LenAnderson/proxy-confirm
...
ask user to confirm proxy connections
2024-07-12 23:17:15 +03:00
Succubyss
5d7c204678
sendTextArea: the same but prettier
...
and also no jQuery
2024-07-12 14:17:13 -05:00
LenAnderson
40c5430b14
fix debug button mask repeat
2024-07-12 15:05:57 -04:00
LenAnderson
956a676390
fix return for /run with closure
2024-07-12 15:05:39 -04:00
Cohee
3a0b4ec41d
Update popup usage
2024-07-12 21:14:36 +03:00
Cohee
63ecf3b398
Remember proxy without confirmation
2024-07-12 21:11:06 +03:00
LenAnderson
b74600605c
add syntax highlight for /import
2024-07-12 14:09:05 -04:00
Cohee
22831d5517
Merge branch 'staging' into proxy-confirm
2024-07-12 21:05:45 +03:00
Cohee
63ddb81ef7
Don't autofit immediately if a scrollbar is visible at max height
2024-07-12 21:01:15 +03:00
LenAnderson
685e31b214
jsdoc
2024-07-12 13:54:41 -04:00
LenAnderson
968340c024
fix key listener not updating message
2024-07-12 13:42:22 -04:00
LenAnderson
9446c487e9
add debugger icons
2024-07-12 13:41:55 -04:00
LenAnderson
067a4e0525
Merge branch 'staging' into parser-followup-2
2024-07-12 12:11:18 -04:00
Cohee
3acd60fcab
Switch back to regular debounce
2024-07-12 16:03:43 +00:00
LenAnderson
f443c60f0d
Merge branch 'staging' into parser-followup-2
2024-07-12 12:03:23 -04:00
Cohee
684ce999f3
Remove getComputedStyle calls
2024-07-12 16:01:20 +00:00
LenAnderson
3327be5468
Merge branch 'staging' into parser-followup-2
2024-07-12 08:33:28 -04:00
Wolfsblvt
4c7e5fbd60
Allow popup buttons returning 'null' for cancelled
2024-07-12 00:29:16 +02:00
Cohee
c90a25e0cd
Fix import syntax
2024-07-12 01:19:34 +03:00
Cohee
dcb416cb00
Merge pull request #2509 from SillyTavern/preset-manager-popups
...
Preset manager popups
2024-07-12 01:17:05 +03:00
Cohee
f74c212945
Fix popup type
2024-07-12 01:12:25 +03:00
Cohee
f53fa0d19d
Add missing await
2024-07-12 01:09:46 +03:00
kwaroran
3b0e07d093
move decorators effect right before constant
2024-07-12 06:43:19 +09:00
kwaroran
33347f1c7c
make decorator only parse once
2024-07-12 06:42:06 +09:00
kwaroran
2d0ad688f1
fix world info decorator fallback
2024-07-12 06:30:35 +09:00
kwaroran
16f4f58a13
fix macro to handle unicode points
2024-07-12 06:26:23 +09:00
Wolfsblvt
f2089ed994
Linting in world-info.js
2024-07-11 23:23:26 +02:00
Cohee
3809d3d4ac
Add import confirmation
2024-07-12 00:15:42 +03:00
Cohee
a64a2dd83e
Export confirmation of sensitive preset fields
2024-07-12 00:00:39 +03:00
Wolfsblvt
240f3f2c49
fix linting issues in enum providers
2024-07-11 22:49:32 +02:00
Wolfsblvt
8cbb80f44f
Change 'world' enum provider query field, not UI
2024-07-11 22:43:56 +02:00
Wolfsblvt
63a0ebb885
Move openai slash commands to init function
2024-07-11 22:43:25 +02:00
Cohee
b80ed958ae
Run summarize after QR execution
2024-07-11 22:26:49 +03:00
Cohee
a6e58845cc
#2515 Use /cut in /del
2024-07-11 21:35:39 +03:00
Cohee
4895b6def8
Use enumList for /fuzzy
2024-07-11 21:19:09 +03:00
Cohee
c4aed23cf7
Don't overextend input textarea height on autofit
2024-07-11 21:18:26 +03:00
Cohee
aadc8d74a2
#2513 Add 'mode' argument for /fuzzy
2024-07-11 21:05:42 +03:00
kwaroran
5ca23d7866
Add reverse macro
2024-07-11 15:11:43 +09:00
kwaroran
c3185d34c7
Add v3 writing and decorators
2024-07-11 15:11:35 +09:00
LenAnderson
1a18b5b180
add referencing QRs by ID
2024-07-10 22:39:21 -04:00
LenAnderson
36265579a2
add makeSelectable
2024-07-10 22:39:04 -04:00
LenAnderson
182da4c466
fix startUnnamedArgs
2024-07-10 22:38:50 -04:00
LenAnderson
ec140f4a97
add makeSelectable
2024-07-10 22:38:37 -04:00
LenAnderson
47eb12750d
undo no chat names
2024-07-10 21:47:42 -04:00
LenAnderson
aebfefb3a2
ask user to confirm proxy connections
2024-07-10 20:54:09 -04:00
LenAnderson
4396d31d09
better quoted unnamed arg handling
2024-07-10 20:53:09 -04:00
LenAnderson
977d98e7e8
add /import to import closures from other QRs
2024-07-10 19:52:13 -04:00
Wolfsblvt
3983eef827
fix linting issue
2024-07-11 01:38:28 +02:00
Wolfsblvt
307a579f80
Move preset manager popups to new Popup
2024-07-11 01:37:56 +02:00
Theros
51f09c1382
Changes: use Fail message as toast title, only show actual message with fallback.
2024-07-11 00:12:39 +01:00
LenAnderson
5df932a76d
add icon support to QR context menu
2024-07-10 18:44:58 -04:00
Theros
fee36419ac
Includes captioning error messages in toast
2024-07-10 23:41:06 +01:00
LenAnderson
4ecfa53b3e
fix no op when adding QR set to global/chat and first set already included
2024-07-10 17:56:34 -04:00
LenAnderson
6d003cf140
Merge branch 'staging' into parser-followup-2
2024-07-10 17:35:17 -04:00
LenAnderson
ba1761d90a
more export/import options
...
- export QR as JSON
- copy QR to clipboard
- cut QR (copy to clipboard and delete)
- transfer QR to other QR Set
- paste QR from clipboard
- import QR from JSON file
- add/paste/import buttons between existing QRs
2024-07-10 17:34:48 -04:00
Cohee
adc3eeea51
Fix /trigger getting stuck on generation lock timeout
2024-07-11 00:32:45 +03:00
Cohee
edb4856840
Fix SD wand item not working with reduced motion on phone
2024-07-10 23:38:05 +03:00
Cohee
526d41edc3
Expose playFullConversation to UI
2024-07-10 23:32:00 +03:00
Cohee
fb7e8e73ee
Merge pull request #2504 from SillyTavern/extension-list-info
...
Extensions & Assets UI updates - More info, tooltips & helpful guides
2024-07-10 21:47:09 +03:00
Cohee
21de199b0f
Sanitize entered URLs
2024-07-10 21:44:09 +03:00
Cohee
75382b77ea
Rewrite some messages
2024-07-10 21:38:15 +03:00
Wolfsblvt
75d4a06ae6
Change asset load confirm to new popup
2024-07-10 20:10:16 +02:00
Wolfsblvt
ec10090cd4
Fit/fix flash duration animation to length
2024-07-10 19:43:58 +02:00
Cohee
2f7a60ef36
Merge pull request #2503 from SillyTavern/fix-locale-init
...
Move locale file load awaits into its init function
2024-07-10 20:24:56 +03:00
Wolfsblvt
91b5be2554
Give hint on extension link as asset list :3
2024-07-10 18:24:09 +02:00
Wolfsblvt
03d4f86d59
Make it flash and be more obvious
2024-07-10 18:12:01 +02:00
Wolfsblvt
0987fd34b9
Add info and explanation to asset list area
2024-07-10 17:59:44 +02:00
Wolfsblvt
736b28020f
Move locale awaits into its init function
2024-07-10 17:56:01 +02:00
Cohee
a357654c10
Update /len command help
2024-07-10 08:11:16 +00:00
LenAnderson
ffd44b622f
add font-awesome icons to QR buttons
2024-07-09 13:28:21 -04:00
LenAnderson
25c8002e9e
add font-awesome picker popup
2024-07-09 13:28:06 -04:00
LenAnderson
98dfd25ee7
force pipe to stringified JSON if not string or closure
2024-07-09 12:29:23 -04:00
LenAnderson
aed6952a37
align source right
2024-07-09 08:21:39 -04:00
LenAnderson
60275e3dce
better handling of anonyous source
2024-07-09 08:21:26 -04:00
LenAnderson
031e8b9915
Merge branch 'staging' into parser-followup-2
2024-07-09 07:54:27 -04:00
Cohee
daa582bb73
Fix /echo mishandling non-string values
2024-07-09 01:26:15 +03:00
LenAnderson
6cc523b805
show source in message label
2024-07-08 18:21:07 -04:00
LenAnderson
75317f3eb4
better stepping into other scripts, with source indicator
2024-07-08 18:07:37 -04:00
LenAnderson
67dfe7354b
Merge branch 'staging' into parser-followup-2
2024-07-08 16:34:02 -04:00
Cohee
00de522a64
Add None continue postfix for chat completion
2024-07-08 20:33:37 +03:00
Cohee
21360a97fc
Fix /continue getting stuck on API errors
2024-07-08 20:12:52 +03:00
Cohee
f8a55d51d2
Clearer wording and examples
2024-07-08 20:02:21 +03:00
Wolfsblvt
aad65c9273
Added /continue "await" arg
2024-07-08 18:43:55 +02:00
Cohee
0543647d68
Merge pull request #2492 from fizzAI/staging
...
Add Gemma 2 9b to available Groq models
2024-07-08 10:47:10 +03:00
fizzAI
f6a50fa0cd
Add Gemma 2 9b to available Groq models
2024-07-07 20:36:40 -04:00
Wolfsblvt
e26ea47554
Fix eslint issues in tags.js
2024-07-08 02:36:24 +02:00
Wolfsblvt
26b66e9b49
Remove "no tags" toast on tags import
2024-07-08 02:26:40 +02:00
Cohee
f7e2d72ac7
Fix eslint
2024-07-07 22:40:03 +03:00
kingbri
0672c8422e
Textgen: Add permissions check for TabbyAPI keys
...
There's no formal permissions checking in ST's UI, so add a temporary
check in the server endpoint before requesting a download.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-07 14:40:24 -04:00
kingbri
69077f6a6e
Textgen: Add model downloading for TabbyAPI
...
Tabby has a HuggingFace downloader API endpoint. Add direct support
in SillyTavern by using the same method as ollama, but with the correct
parameters exposed.
Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-07 14:04:04 -04:00
Cohee
ed0e522c6d
[BUG] UI shifting in mobile browser #2488
2024-07-07 20:12:04 +03:00
LenAnderson
610ba54137
Merge branch 'staging' into parser-followup-2
2024-07-07 08:01:36 -04:00
Cohee
6ff406f6ea
Merge pull request #2485 from Esalarc/promptdiff
...
Adding diff functionality to prompt dialog
2024-07-07 10:17:01 +03:00
David Fedolfi
014ef0cc4f
Adding diff functionality to prompt dialog
...
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Wolfsblvt
03a8b14a93
Change min activation scan to full increased range
2024-07-06 20:00:27 +02:00
Cohee
6dbbf89d65
#2482 Fix embedded content confirmation
2024-07-06 16:55:57 +03:00
Cohee
a6eec7ba1a
Fix 01.ai model nullifying on load
2024-07-06 15:30:21 +03:00
Cohee
c55ad419dd
Clean-up console logs
2024-07-06 15:29:47 +03:00
Cohee
c6e612f15a
Add WI prefix to timed effect logs
2024-07-06 15:26:45 +03:00
Cohee
9327ee4b8e
Log which entries actually end in the prompt
2024-07-06 15:07:02 +03:00
Cohee
34d6cdfbcc
Merge branch 'staging' into wi-processing-refactoring
2024-07-06 14:58:48 +03:00