Cohee
f33db29e76
Merge pull request #4096 from SillyTavern/TopbarFadeMUIAndGetWorldEntryRefactors
...
UI performance optimizations and refactoring
2025-06-07 18:53:02 +03:00
Cohee
2ee6bb76b3
Fix summary popout fade in
2025-06-07 18:41:26 +03:00
Cohee
90f58bb553
Fix mobile QR popout style
2025-06-07 18:37:26 +03:00
Cohee
9bcbe957af
Refactor transition durations to use CSS variables
2025-06-07 16:40:30 +03:00
Cohee
2fe12ed0cf
Animate gallery block
2025-06-07 15:46:14 +03:00
Cohee
5eb4e9ee05
Replace with named constants
2025-06-07 14:10:35 +03:00
RossAscends
0c6cf14097
two birds with one line instead
2025-06-07 19:07:45 +09:00
RossAscends
8109b98081
make AN open properly, random typescript fixes
2025-06-07 19:00:45 +09:00
Cohee
d33b21282e
Fix eslint
2025-06-06 09:55:18 +00:00
Cohee
302761482b
Merge pull request #4102 from cloak1505/gemma
...
Add gemma-3n-e4b-it
2025-06-06 12:52:05 +03:00
Cohee
aa81b0c5a3
Init key scroll heights immediately
2025-06-06 09:45:55 +00:00
Cohee
6dc2077507
Fix expand/collapse all entries
2025-06-06 09:40:59 +00:00
Cohee
4bb5f8daa9
Wrap right menu in scrollableInner
2025-06-06 08:59:56 +00:00
cloak1505
d7e0f539f4
Add gemma-3n-e4b-it
2025-06-06 02:53:39 -05:00
cloak1505
3a439ecf77
Sync OpenRouter providers list
2025-06-06 02:08:06 -05:00
RossAscends
506e2f2c6f
- fix charPanel div heights
...
- fix noHotswap area height & flex dir
2025-06-06 13:57:22 +09:00
Cohee
e7db61f664
Remove opacity transition
2025-06-06 02:14:33 +03:00
Cohee
9a82b688ba
WI: Split entry header and editor
2025-06-06 02:10:49 +03:00
RossAscends
edbc257e81
- replace top bar toggle animations with opacity fades
...
- refactor MovingUI
- refactor getWorldEntry
2025-06-06 05:29:18 +09:00
Cohee
d55676d6d5
New Jeremy 2.5 Pro
2025-06-05 20:14:46 +03:00
Cohee
e08d1b522c
Don't destroy sortable manually
2025-06-05 08:45:31 +00:00
Cohee
62fdce8cad
Replace select2 detection
2025-06-05 08:44:55 +00:00
Cohee
bbe62527d2
Remove pointless DOM call
2025-06-05 08:40:01 +00:00
Cohee
b7323715b2
Prevent saveWorldInfo calls while rendering the list
2025-06-05 08:33:38 +00:00
Cohee
0f9cd5f48d
Remove debug logs with DOM queries
2025-06-05 08:25:50 +00:00
RossAscends
e1a1fdb0da
dont reload editor list on world list tag click if that world is already displayed and open in the editor
2025-06-05 16:13:27 +09:00
RossAscends
42b2637707
await the fade in..
2025-06-05 15:51:11 +09:00
RossAscends
b55de85243
Removes memory heap bloat by improving DOM and JQUI datacache clearing when swapping WI in the editor, and all other 'reloadEditor' calls via slashcommands etc.
...
Results in a slight delay depending on entries visible via pagination (about 2s for 50 visible entries), but I added a pleasant fade transition to make it feel organic.
2025-06-05 15:32:33 +09:00
Cohee
96fb85457f
Gallery: add delete functionality for gallery items
2025-06-04 23:53:18 +03:00
Cohee
13b3f61e82
slash-commands.js: update for new popup
2025-06-03 00:16:00 +03:00
Cohee
b6d282b4ee
Fix for eslint
2025-06-03 00:11:06 +03:00
Cohee
8d143a81c3
bulk edit: update for new popup
2025-06-03 00:11:01 +03:00
Cohee
8cf11bccde
horde.js: update for new popup
2025-06-03 00:06:34 +03:00
Cohee
b72d7f37d7
regex: update for new popup
2025-06-03 00:05:33 +03:00
Cohee
b901ed1be7
caption: update for new popup
2025-06-03 00:02:05 +03:00
Cohee
5e4c570eb0
textgen-models.js: update for new popup
2025-06-02 23:58:19 +03:00
Cohee
45ef4b60c9
stats.js: update for new popup
2025-06-02 23:57:11 +03:00
Cohee
8c7dbedaa1
samplerSelect.js: update for new popup
2025-06-02 23:55:16 +03:00
Cohee
def23eb359
Fix for eslint
2025-06-02 23:50:12 +03:00
Cohee
134ade0951
secret.js: update for new popup
2025-06-02 23:49:56 +03:00
Cohee
52e7df970f
backgrounds.js: update for new poup
2025-06-02 23:44:59 +03:00
Cohee
55b3016985
openai.js: update for new popup
2025-06-02 23:44:50 +03:00
Rebecca Turner
7ef296d43a
Feature: Allow tools to accept arrays of values as an array ( #4085 )
...
Previously, a tool that that registered itself as having an array parameter
had each element of the array registered as a variable, but it did not
register the array parameter itself. This meant that it was only really
useful with fixed length arrays.
This patch adds a variable for the array itself that lives alongside the
existing args. I don't expect this to have any backward compatiblity
concerns.
Repro:
```stscript
// this requires lalib to function |
/let key=schema {
"$schema": "http://json-schema.org/draft-04/schema# ",
"type": "string",
"properties": {
"example": {
"type": "array",
"contains": {
"type": "string"
}
}
},
"required": [
"example"
]
} ||
/tools-register name=YourFunc description="filler" parameters={{var::schema}} {:
/let ex {: /try {: /return {{var::arg.example}} :} :}() | /= ex.isException | /if rule=not left={{pipe}} else={:
/console-log {{var::ex}}
:} {:
/console-log "arg.example: {{var::arg.example}}" |
/foreach {{var::arg.example}} {: /console-log "#{{var::index}}: {{var::item}}" :}
:} |
/try {: /return {{var::arg.example.0}} :} | /console-log "arg.example.0: {{pipe}}" |
/try {: /return {{var::arg.example.1}} :} | /console-log "arg.example.1: {{pipe}}" |
/try {: /return {{var::arg.example.2}} :} | /console-log "arg.example.2: {{pipe}}" |
/try {: /return {{var::arg.example.3}} :} | /console-log "arg.example.3: {{pipe}}" |
:} ||
/let key=params {
"example": [
"test1", "test2", "test3"
]
} |
/tools-invoke parameters={{var::params}} YourFunc
```
Currently produces:
```
[/console-log] arg.example: {"isException":true,"exception":"No such variable: \"arg.example\""}
[/console-log] arg.example.0: {"isException":false,"result":"test1"}
[/console-log] arg.example.1: {"isException":false,"result":"test2"}
[/console-log] arg.example.2: {"isException":false,"result":"test3"}
[/console-log] arg.example.3: {"isException":true,"exception":"No such variable: \"arg.example.3\""}
```
With this patch it produces:
```
[/console-log] arg.example: ["test1","test2","test3"]
[/console-log] #0 : test1
[/console-log] #1 : test2
[/console-log] #2 : test3
[/console-log] arg.example.0: {"isException":false,"result":"test1"}
[/console-log] arg.example.1: {"isException":false,"result":"test2"}
[/console-log] arg.example.2: {"isException":false,"result":"test3"}
[/console-log] arg.example.3: {"isException":true,"exception":"No such variable: \"arg.example.3\""}
```
2025-06-02 10:54:10 +03:00
Rebecca Turner and Cohee
6bb07370f4
Fix #4083 JSON parse error when tool does not accept parameters ( #4084 )
...
* Fix #4083 : JSON parse error when tool does not accept parameters
* Reformat for visual coolness
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-02 10:18:04 +03:00
RossAscends and Cohee
fa10833e52
add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up ( #4080 )
...
* add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up
* Migrate to dedicated AC toggle
* Replace state checkbox with select
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-01 20:07:33 +03:00
Cohee
4c3bb1aede
PPP command and connection profiles ( #4079 )
...
* Add PPP command
* Add PPP to connection profiles
2025-06-01 18:15:06 +03:00
Nikolas Brown and Cohee
c4d89b2067
Gemini inline video ( #4078 )
...
* Add inline video attachment support for Gemini 2.5 Pro
* file formatting
* removed redundant function for saving video to message
* removed other redundant function for saving video to message
* Seperate inlining check for video
* Edit video token cost to be a conservative estimate of 10000 tokens
* fixed missing semicolon
* Adds seperate ui toggle for video inlining.
* Move mes_video out of img_container
* Remove title from video element for now
* Better visibilty of video with controls
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-01 15:04:16 +03:00
Cohee
3ec9b1a099
Implement data clean-up dialog ( #4072 )
...
* [wip] Add user data cleanup service
* Add clean-up report viewer
* Fix review comments
* Add function comments
* Implement item actions
* Fix UI styles
* Add placeholder for empty results, update category description view
* Add displayEmptyPlaceholder method to show message when results list is empty
* Adjust menu buttons row
* Delete char-scoped data bank attachments on character deletion
* Data Bank: Handle character attachments on rename
* Remove line breaks in description strings
* Drop the category when the last item is deleted
* Skip invalid hashes instead of bailing
2025-06-01 13:56:34 +03:00
Cohee
7f47f84c9f
Merge branch 'release' into staging
2025-06-01 01:17:59 +03:00
Cohee
303c1dcf14
Caption: fix displaying secondary endpoint for unsupported sources
2025-06-01 01:17:42 +03:00