* Fix TS1038 errors
"A 'declare' modifier cannot be used in an already ambient context."
* Fix TS1040 errors
"'async' modifier cannot be used in an ambient context."
* Fix TS2371 errors
"A parameter initializer is only allowed in a function or constructor
implementation."
* Fix TS2430 errors
"Interface 'ColorPickerEvent' incorrectly extends interface
'ChangeEvent<HTMLElement, any, any, any>'".
The issue here is that the "ColorPickerEvent" objects provided by
toolcool-color-picker.js are vanilla JS CustomEvent objects, not JQuery
event objects. We need to mangle the types here a bit to make JQuery
happy. (At runtime, JQuery is happy to pass along the vanilla Event
object; JQuery's types just don't reflect this.)
* Remove variable and type exports
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Improve tag visibility toggle logic
Cache selector once, and remove hardcoded animation duration.
Takes 300 tags down from 3 seconds down to 2ms per toggle.
* whitespace fix
* feat: Add support for CometAPI, including API key management and model selection features.
* Some code fixes
* Fix loading model from presets
* Add logo image
* Enable tool calling, reasoning effort, reasoning display, structured generation
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* feat: Send Quick Reply Before Message Generation
* fix: Use correct event and check for dry runs on before-generation
* Replace icon
* Skip for events in groups outside of group wrapper
* Compatibility with API and slash commands
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* charQR
* fix
* fix_2
* fix_3
* Fix refresh errors and Implement confirmation dialog logic
* FIX : The character's quick reply set is executed three times during the initial authorization and import.
* Enhance warning dialog content and layout
* refactor: Use local linking for Char QR sets instead of embedding
* Lint fixes
* Clean-up
* Emit CHAT_CHANGED on character deletion
* Remove isVisible filter, I'm sure it was by design
* Revert order of search in executeQuickReplyByName
* fix: Address review comments
* Add private tag to Char Sets
* Add QR rebind on renamed character
* Clean-up diff
* Don't save empty config lists
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* bug-fix: adhere to chat template hash bound settings when a new model appears using the same hash as a bound one
* chore: Improve readability
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>