Commit Graph

1305 Commits

Author SHA1 Message Date
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
db1094e391 add block comments with shortcut and breakpoint shortcut 2024-07-14 18:58:13 -04:00
Cohee
b7a1474d7b Switch to dynamic viewport units 2024-07-15 00:42:16 +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
LenAnderson
ddce6c4e89 clear QR Set color and bg adjustments 2024-07-14 14:13:57 -04: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
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
LenAnderson
40c5430b14 fix debug button mask repeat 2024-07-12 15:05:57 -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
3327be5468 Merge branch 'staging' into parser-followup-2 2024-07-12 08:33:28 -04:00
Cohee
b80ed958ae Run summarize after QR execution 2024-07-11 22:26:49 +03:00
LenAnderson
1a18b5b180 add referencing QRs by ID 2024-07-10 22:39:21 -04:00
LenAnderson
977d98e7e8 add /import to import closures from other QRs 2024-07-10 19:52:13 -04: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
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
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
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
LenAnderson
ffd44b622f add font-awesome icons to QR buttons 2024-07-09 13:28:21 -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
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
610ba54137 Merge branch 'staging' into parser-followup-2 2024-07-07 08:01:36 -04:00
Cohee
6dbbf89d65 #2482 Fix embedded content confirmation 2024-07-06 16:55:57 +03:00
Cohee
c55ad419dd Clean-up console logs 2024-07-06 15:29:47 +03:00
LenAnderson
76f14869f6 Merge branch 'staging' into parser-followup-2 2024-07-05 19:16:38 -04:00
LenAnderson
42cad6dd1a don't add args._scope etc to macros 2024-07-05 19:14:45 -04:00
LenAnderson
3144c219fa add {{arg::*}} to replace missing args with empty string 2024-07-05 19:14:30 -04:00
LenAnderson
88718d89bc add /qr-arg for {{arg::...}} fallbacks 2024-07-05 19:14:00 -04:00
LenAnderson
ba0f5427cf add missing semicolon 2024-07-05 18:53:55 -04:00
Cohee
66c4824a8a Fix ComfyUI workflow not saving 2024-07-06 01:14:47 +03:00
LenAnderson
dce4d0c23e Merge branch 'staging' into parser-followup-2 2024-07-05 08:59:11 -04:00
Cohee
54dea56a77 Selectable VAE for AUTO1111 2024-07-05 00:59:34 +03:00
LenAnderson
27837a56b1 Merge branch 'staging' into parser-followup-2 2024-07-04 17:06:42 -04:00
LenAnderson
db1cf54929 cleanup 2024-07-04 16:54:37 -04:00
LenAnderson
0fc9b11adf fix key conflicts in QR editor 2024-07-04 16:53:39 -04:00
Cohee
b682519042 Hide sampling method select from unsupported backends 2024-07-04 23:00:33 +03:00
Cohee
220051b933 Type cast to string 2024-07-04 22:54:43 +03:00
Cohee
5da3921907 Make generation actually work 2024-07-04 22:51:47 +03:00
Cohee
e32b0cc223 Move Stability generation to backend 2024-07-04 22:36:17 +03:00
LenAnderson
8e90e2a0e4 fix editor hotkeys and autocomplete interfering 2024-07-04 12:21:31 -04:00
LenAnderson
a1341fbcab fix tab indent line detection 2024-07-04 12:21:15 -04:00
LenAnderson
92f4402b63 keep indent on enter 2024-07-04 12:20:58 -04:00
LenAnderson
32ec6aac1c Merge branch 'staging' into parser-followup-2 2024-07-04 11:37:35 -04:00
WBlair1
79a1b15600 API attemped fix 2024-07-03 17:14:46 -07:00
WBlair1
38da3c22c0 I can't figure out how to hide CFG scale 2024-07-03 16:31:35 -07:00
WBlair1
1af76af4d7 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-07-03 16:31:15 -07:00
Cohee
9eb404a275 #2460 replaceAll for all workflow placeholders 2024-07-02 19:11:45 +03:00
WBlair1
4c600191fe Attempted Stability AI API & Stability AI UI fix. 2024-07-01 13:37:08 -07:00
WBlair1
7f73e982aa Simple Stability AI problem fix.
> Steps aren't used so they're removed!
> Same with CFG scale.
2024-07-01 12:17:54 -07:00
WBlair1
84b8f77107 Stability AI changes to models.
> Engine = V2beta Image Generation
> Models now shows API models.
> Hidden steps, height, etc.
2024-07-01 12:04:23 -07:00
WBlair1
4b356fbc60 Stability AI code fix.
> "break;" line had space before word. Oops.
> Stability hides steps, cfg, height, etc. when selected.
> Settings are loaded and saved.
> isValid state is modified now for Stability. Oops.
> Skips remote function for Stability.
2024-07-01 11:40:55 -07:00
WBlair1
d6b42718a6 Stability AI support. Adds Ultra, Core, SD3. 2024-07-01 11:06:35 -07:00
WBlair1
2039d5ebab Replaced V1 with V2 models instead. 2024-07-01 10:35:15 -07:00
WBlair1
e5a7ce4e3a Added StabilityAI source. 2024-07-01 09:37:17 -07:00
Cohee
5dba4fa448 Update SD extension to new popup 2024-06-30 22:12:44 +03:00
Cohee
be2d658a2e Update TTS extension to use new popup 2024-06-30 22:01:34 +03:00
Cohee
8ce2af16fb Fix endless animation if recaption is aborted 2024-06-30 19:20:39 +03:00
Cohee
2a3e71bf6e Force reinitialize when chat changed 2024-06-30 14:06:31 +03:00
Risenafis
d3a7466929
remove line break 2024-06-30 16:22:05 +09:00
Risenafis
26d506874f
prevent parallel execution of initVoiceMap 2024-06-30 13:58:51 +09:00
Cohee
4828bd95f3 Animate recaption image 2024-06-30 01:19:43 +03:00
Cohee
f181d1a847 Add button to re-caption message image 2024-06-30 00:31:54 +03:00
Cohee
7149f46c9a Add automatic image captioning mode 2024-06-30 00:06:17 +03:00
Cohee
2670709237 Fix caption template references 2024-06-29 23:22:29 +03:00
Risenafis
bb39e852b8
TTS: Add support for VITS/W2V2-VITS/Bert-VITS2 (#2439)
* add VITSTtsProvider

* add options

* fix params, drop reference_audio_path

* post with body

* improve preview lang

* add space in label
2024-06-29 14:15:37 +03:00
Cohee
003066a036 Add vLLM as multimodal captioning source 2024-06-29 00:33:12 +03:00
LenAnderson
a08ab79181 Merge branch 'staging' into parser-followup-2 2024-06-28 16:19:27 -04:00
Cohee
8136293593
Merge pull request #2431 from SillyTavern/remove-slash-command-var-usages
Remove slash command var usages
2024-06-28 13:50:06 +03:00
Wolfsblvt
6653757c5c Remove /imagine's variable usage in 'negative' 2024-06-28 04:06:22 +02:00
Wolfsblvt
b29d32d518 Remove /regex's variable usage in 'name' argument 2024-06-28 04:04:58 +02:00
Wolfsblvt
9666b9920a Remove /summarize's variable usage in 'prompt' 2024-06-28 03:55:03 +02:00
Wolfsblvt
54e111886b Improve logs (+add toasts) on save calls
- Fixes #2429
2024-06-28 03:28:16 +02:00
LenAnderson
058f45ec71 Merge branch 'staging' into parser-followup-2 2024-06-27 11:49:46 -04:00
LenAnderson
173c5ef53e step into closures from elsewhere (draft) 2024-06-27 11:49:12 -04:00
Cohee
8034564c3e Update TTS voice preview to new popup 2024-06-26 00:41:37 +03:00
Cohee
2ef6004bd5 Update translation extension to new popup 2024-06-26 00:40:13 +03:00
Cohee
d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee
3e1b54c6f0 Update token counter to new popup 2024-06-26 00:26:31 +03:00
LenAnderson
adc54e7f22 restore caret after breakpoint click 2024-06-25 16:56:28 -04:00
LenAnderson
17e794b718 use ctrl+alt+click for breakpoints 2024-06-25 16:56:19 -04:00
Risenafis
0276a2ef71 fix sanitizeId 2024-06-25 22:23:55 +09:00
LenAnderson
d8dc16d6c1 show scrollbars with noSyntax 2024-06-25 08:20:05 -04:00
Risenafis
bbd4d7e2fd rejoin style 2024-06-25 20:05:41 +09:00
LenAnderson
8f98a60e7e merge staging 2024-06-24 16:44:33 -04:00
Cohee
990130d7c2 Clean-up wand menu styles 2024-06-24 23:32:24 +03:00
Cohee
62a1cb1dce Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
Cohee
d2b2856630 Move TTS settings to HTML template 2024-06-24 22:19:21 +03:00
Cohee
c8b9b62d8a Update built-in extensions to use fixed order in extensions menu 2024-06-24 22:15:08 +03:00
Cohee
cf9a5383a9 Fix QR .less format 2024-06-24 21:43:13 +03:00
Cohee
7a27c29695 #2416 Recompile popup styles 2024-06-24 21:37:21 +03:00
LenAnderson
3a60b45253 add unresolved note 2024-06-24 07:29:20 -04:00
LenAnderson
a69d4147cb debugger 2024-06-23 17:11:13 -04:00
LenAnderson
00652cce0a add ctrl+click breakpoints 2024-06-23 15:16:55 -04:00
LenAnderson
7cdc4c5713 debugger 2024-06-23 14:27:18 -04:00
LenAnderson
31a67a973a only remove if exists 2024-06-23 14:27:10 -04:00
LenAnderson
bc40ee084d debugger 2024-06-23 14:19:10 -04:00
LenAnderson
4ca0cb2aeb Merge branch 'staging' into parser-followup-2 2024-06-23 11:37:00 -04:00
LenAnderson
ef5d4e394b debugger 2024-06-23 11:31:07 -04:00
Cohee
e2593215bf Fix speak command broken 2024-06-23 15:44:53 +03:00
Cohee
278b526898 Add icon for voice command 2024-06-23 15:43:57 +03:00
Cohee
5a50ed97be Clean-up /sd command help 2024-06-23 15:27:19 +03:00
Cohee
d0b6243f77 Add character filter to lastsprite 2024-06-23 15:23:03 +03:00
Cohee
eba0f54477 Merge branch 'staging' into slash-command-enums 2024-06-23 15:01:55 +03:00
Cohee
323f34f5d4 Fix QR breaking when no sets 2024-06-23 01:34:10 +03:00
LenAnderson
9bcfb9ab26 debugger 2024-06-22 15:22:51 -04:00
LenAnderson
e964a10612 debugger 2024-06-22 10:44:34 -04:00
Cohee
8564d6faa8 Debug function to purge all vectors 2024-06-22 17:41:02 +03:00
Cohee
b8830e34d3 Add ollama download shortcut to vector storage 2024-06-22 16:38:00 +03:00
Cohee
b448568aa3 More ollama multimodal models 2024-06-22 16:28:57 +03:00
Cohee
a00560d2b3 Ensure format supported before captioning 2024-06-22 00:36:29 +03:00
Cohee
6380e0a062 Add fallback source for attachments. Fix typo 2024-06-21 23:48:11 +03:00
Wolfsblvt
48077d200b More slash command enums (nearly done) 2024-06-21 20:04:55 +02:00
LenAnderson
ec122d7050 Merge branch 'staging' into parser-enum-stuff 2024-06-20 16:00:09 -04:00
LenAnderson
3b6f4dee2c debugger 2024-06-20 15:53:30 -04:00
Wolfsblvt
ffc84f5118 Merge branch 'staging' into slash-command-enums 2024-06-20 20:38:55 +02:00
Wolfsblvt
461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
LenAnderson
538724739b debugger stuff 2024-06-20 13:06:58 -04:00
Conor Nash
c684bfbf52 Claude Sonnet 3.5 2024-06-20 16:31:55 +01:00
LenAnderson
377f3892f7 Merge branch 'staging' into parser-enum-stuff 2024-06-19 09:47:01 -04:00
LenAnderson
d6ee84dd6b fixes 2024-06-19 09:45:30 -04:00
Cohee
e5c8a920ee Remove debug toast(?) 2024-06-19 13:13:34 +03:00
Wolfsblvt
dca81aef3d Small fixes to /popup, /buttons and QR popup
- FIx /popup and /buttons commands to use the new popups
- Change /buttons to utilize data results
- Fix "hide while executing" option from QR editor
- Fix QR editor throwing an error on execution
2024-06-19 01:40:22 +02:00
LenAnderson
eb02ca95f9 debugger basics rough 2024-06-18 14:29:29 -04:00
Cohee
c3cbf33ba0
Merge pull request #2330 from Wolfsblvt/smol-tag-improvements
Smol tag improvements & Huuuuuge popup/dialog rework (heh)
2024-06-18 01:58:52 +03:00
Cohee
88b6331aed Add swap SD dimensions button 2024-06-18 01:10:23 +03:00
Cohee
a9c4422c87 Redesign SD settings 2024-06-18 00:49:42 +03:00
Cohee
08a0b1e828 Merge branch 'staging' into smol-tag-improvements 2024-06-17 21:52:36 +03:00
Cohee
b09e86fb53 TTS code clean-up 2024-06-17 21:21:41 +03:00
Cohee
feb7675d2f Auto-set language on exported translate function. 2024-06-17 21:18:30 +03:00