Commit Graph

1566 Commits

Author SHA1 Message Date
22d551be3a bonus: jsdoc and modern popup for rename 2025-02-26 01:44:45 +01:00
4e1cb1eba4 Add RENAMED_PAST_CHAT event 2025-02-26 01:28:28 +01:00
582b710d3c Merge branch 'staging' into persona-improvements 2025-02-25 21:46:46 +01:00
422517ec93 Cancel debounced chat save if regular save is performed 2025-02-25 21:38:24 +02:00
5545a425ea No double check 2025-02-25 21:34:04 +02:00
7def85a174 Add couple of extra type checks 2025-02-25 21:21:59 +02:00
4ab54016ad Utility func to sync all mes data to swipe 2025-02-25 17:00:41 +01:00
5f024823a9 Improve JSdocs 2025-02-25 10:22:03 +00:00
092ef26144 Exported getTextGenServer, extractMessageFromData, getPresetManager methods. Added optional parameters to some methods for generic usage. 2025-02-25 13:20:06 +03:00
b8ebed0f4c Claude 3.7 think mode 2025-02-24 23:43:13 +02:00
2194bdfd56 Rerender the list if migrated persona 2025-02-22 22:20:45 +02:00
bb03c60c39 Refactor: move showCharConnections 2025-02-22 21:17:56 +01:00
8bd4fd76ae Merge branch 'staging' into persona-improvements 2025-02-22 19:23:59 +01:00
aadae85a2a eventSource: Add autofire on emit for APP_READY 2025-02-21 02:52:45 +02:00
434bdab585 Merge branch 'staging' into fix-char-rename-aux-connections 2025-02-17 20:57:23 +02:00
ce67f3a658 Ensure node is an Element in DOMPurify hook 2025-02-17 20:54:11 +02:00
36a3a7d615 Merge pull request #3486 from Yokayo/staging
Update ru-ru translation
2025-02-17 20:45:40 +02:00
231068f729 await character renamed event 2025-02-17 09:47:35 +01:00
7b65427236 typo 2025-02-17 09:19:08 +01:00
9f21f7771c Auto-load char/group resets if target is not found 2025-02-17 07:28:59 +01:00
1c0ca414b9 Update "active character" field on char rename 2025-02-17 05:34:28 +01:00
4f0921856f On char rename, update auxiliary connections
- Move WI char lore (additional lorebooks) based on rename
- Move character-bound Author's Note based on rename
- Extend core `getCharFilename` to be able to take an avatarKey, instead of just uid
2025-02-17 05:32:13 +01:00
1156b648eb Merge branch 'staging' into reasoning-parsing-streaming 2025-02-16 23:12:41 +02:00
890d10d811 Work on tl 2025-02-16 18:43:57 +07:00
9590127bae Handle auto parsing reasoning during streaming
- Add function to handle auto parsing reasoning from the streamed message during streaming
- Only works when the reasoning prefix is EXACTLY at the beginning of the message
- Tried to keep this lightweight, no regex parsing, remembering the index, so it's simple string splicing
- Add utility function that trims a string only if `trim_spaces` is enabled
2025-02-16 03:09:20 +01:00
eb6a158781 Fix resetting reasoning duration correctly 2025-02-16 02:09:33 +01:00
34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
798f8d92a3 Update saveSettings function to schedule another save when settings are not ready 2025-02-12 10:43:19 +02:00
d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00
93b6612c75 Remove leftover event handler 2025-02-12 10:36:25 +02:00
48dfee39ae Switched even more to "generating" CSS 2025-02-12 00:22:22 +01:00
58b8e7908d Add data attribute during generation
- Fix reasoning buttons still appearing
- Allow easier customization of HTML elements via CSS that appear during gen
2025-02-11 23:34:21 +01:00
4e94e83540 Swiping doesn't need to reset reasoning UI 2025-02-11 23:15:49 +01:00
d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
63e3816e92 Remove reasoning from queit prompt results if auto-parse is enabled
Fixes #3457
2025-02-11 22:35:56 +02:00
ee101353d8 Clear media alerts from storage on character deletion 2025-02-11 20:31:37 +02:00
d5bdf1cb90 Add settings.json-backed KV string storage
Fixes #3461, #3443
2025-02-11 20:17:48 +02:00
47b06b4978 Fix empty lines in generation timer 2025-02-10 22:14:22 +02:00
ad845b5fbf Merge branch 'staging' into hidden-reasoning-tracking 2025-02-10 21:49:11 +02:00
aee8441fc4 Mobile prompt itemization - duh
- Make it into a popup. There is no space
2025-02-10 15:07:57 +01:00
31f19d0d8a More fixes on reasoning
- Fix resetting reasoning on swipes
- Fix not updating reasoning time/end on gen when trim spaces was enabled
- Fix hidden model checking not working
2025-02-09 08:26:51 +01:00
33fa5aaab8 Merge branch 'staging' into hidden-reasoning-tracking 2025-02-09 06:03:32 +01:00
0792c17f55 Update reasoning CSS hide hidden reasoning again 2025-02-09 05:25:43 +01:00
9697322f1e More coding on ReasoningHandler, fixing stuff 2025-02-09 05:17:56 +01:00
d8eeab0c00 Refactoring StreamProcessor -> ReasoningHandler 2025-02-09 01:26:01 +01:00
8b4414b799 Add thinking time to gen timer tooltip 2025-02-08 21:58:55 +01:00
d5959a4681 Add awaits to event emissions 2025-02-08 19:13:05 +02:00
c886de5deb Move isHiddenReasoningModel 2025-02-08 18:17:38 +02:00
d94ac48b65 Add thinking time for hidden reasoning models
- Streamline reasoning UI update functionality
- Add helper function to identify hidden reasoning models
- Fix/update reasoning time calculation to actually utilize start gen time
- Fix reasoning UI update on swipe
- add CSS class for hidden reasoning blocks (to make it possible to hide for users)
2025-02-08 00:45:33 +01:00