Commit Graph

3276 Commits

Author SHA1 Message Date
Kwaroran
43ebf73b2b chore: update application version to 148.1.0 2025-01-31 17:40:58 +09:00
Kwaroran
614f7b2f17 fix: improve error handling in chat message logging 2025-01-31 17:39:34 +09:00
Kwaroran
757a944686 Add inlayErrorResponse 2025-01-31 17:38:14 +09:00
Kwaroran
8174c6dcde feat: add confirmation alerts before loading account backup 2025-01-30 13:53:07 +09:00
Kwaroran
e8ec986f65 Add server backup 2025-01-30 13:50:16 +09:00
Kwaroran
7446e7fc83 chore: update application version to 148.0.0 2025-01-29 05:39:26 +09:00
Kwaroran
338d1cfec2 Add models 2025-01-29 05:38:26 +09:00
Kwaroran
62ea10cc32 fix: remove logit_bias from request body if empty 2025-01-29 04:25:59 +09:00
kwaroran
93cc488ed5 fix: ensure scrollToSelection works cross-browser in HypaV3 modal (#731)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR introduces fix: ensure scrollToSelection works cross-browser in
HypaV3 modal
2025-01-28 17:48:12 +09:00
Bo26fhmC5M
de9b9ed80c fix: ensure scrollToSelection works cross-browser in HypaV3 modal 2025-01-28 09:45:33 +09:00
kwaroran
342def3824 feat: improve HypaV3 (#727)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
- fix: handle null case for firstMessage in HypaV3 modal
- fix: resolve mobile dual-action translation in HypaV3 modal
  - Implements shift+click (desktop) and double tap (mobile) for
regenerating translations while maintaining regular click/tap for cached
translations.
- feat: add auto-scroll to translations in HypaV3 modal
- feat: add settings button to HypaV3 modal header
- feat: add cut-after button in HypaV3 summary header
- feat: add HypaV2 to V3 conversion in HypaV3 modal
- feat: add process regex script option in HypaV3 modal
  - when enabled, reroll function will process regex script.
- fix: improve HypaV3 modal responsive for mobile
- feat: add search button in HypaV3 modal
2025-01-26 22:44:06 +09:00
kwaroran
856f7e9b5e feat: add setArg to plugin v2 (#729)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
It would be nice if plugins could change their settings directly in the
db.
This PR introduces an API that makes this simple.
2025-01-26 22:43:57 +09:00
Bo26fhmC5M
f0d2c3e0ed feat: add setArg to plugin v2 2025-01-24 01:54:00 +09:00
Bo26fhmC5M
1c5ed2fe32 fix: remove instruct35 from HypaV3 supa model list
- Remove outdated model to improve summarization performance
2025-01-23 19:50:24 +09:00
Bo26fhmC5M
2d22e9da5c fix: support multiple search results within a single summary in HypaV3 modal 2025-01-22 23:49:22 +09:00
Bo26fhmC5M
22e4b3d07c feat: add search button in HypaV3 modal 2025-01-22 22:08:46 +09:00
Bo26fhmC5M
9877931d1e fix: improve contrast in HypaV3 modal 2025-01-21 09:17:03 +09:00
Bo26fhmC5M
463dcc66b1 fix: improve HypaV3 modal responsive for mobile 2025-01-21 00:26:51 +09:00
Bo26fhmC5M
e3d95107a3 fix: remove duplicate modal wrapper from HypaV3 modal 2025-01-20 12:41:47 +09:00
Bo26fhmC5M
deb1c7d667 fix: minor changes in HypaV3 modal 2025-01-19 22:48:10 +09:00
Bo26fhmC5M
6f6e4b925a refactor: minor changes 2025-01-19 19:41:59 +09:00
Bo26fhmC5M
cd65eaf400 feat: add process regex script option in HypaV3 modal 2025-01-19 18:05:11 +09:00
Bo26fhmC5M
28da23c9c3 feat: add HypaV2 to V3 conversion in HypaV3 modal 2025-01-19 14:05:35 +09:00
Bo26fhmC5M
9c052f9a1d feat: add cut-after button in HypaV3 summary header 2025-01-19 12:23:09 +09:00
Bo26fhmC5M
17b9e28041 feat: add settings button to HypaV3 modal header 2025-01-19 11:55:09 +09:00
Bo26fhmC5M
ec2dd091aa feat: add auto-scroll to translations in HypaV3 modal 2025-01-19 11:30:50 +09:00
Bo26fhmC5M
0e86d15c62 fix: resolve mobile dual-action translation in HypaV3 modal 2025-01-19 09:30:54 +09:00
Bo26fhmC5M
1b2ea2b15b fix: handle null case for firstMessage in HypaV3 modal 2025-01-18 14:16:50 +09:00
Kwaroran
d18b79a17e feat: install pnpm globally in server scripts 2025-01-17 23:07:54 +09:00
Kwaroran
46eed96c86 feat: update application version to 147.0.0 2025-01-17 22:58:30 +09:00
kwaroran
e073d66bca feat: improve HypaV3 (#721)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
- feat: add translate button to HypaV3 modal
- feat: add dual-action translation (cached/regenerate) in HypaV3 modal
- Implements shift+click (desktop) and double tap (mobile) for
regenerating translations while maintaining regular click/tap for cached
translations.
- feat: improve ratio sliders interaction in HypaV3 settings
- feat: add lastSelectedSummaries property to store selected memory
indices
- feat: display next message to be summarized in HypaV3 modal
2025-01-17 22:54:08 +09:00
kwaroran
847a1553bb feat: add navigation to modified lines in prompt comparison (#723)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [x] Have you added type definitions?

# Description
This PR adds a small improvement to the prompt comparison functionality.

When the two prompts are different, the tooltip overview now enables
clicking on modified parts to navigate directly to the corresponding
lines.

Previously, finding the modified parts required manual scrolling. With
this update, it becomes much easier to locate and review the changes,
even for very long prompts.

When navigating to a modified part, the target line is highlighted in
yellow for 1 second to indicate the clicked location.



https://github.com/user-attachments/assets/577973cc-18d0-4e73-814e-7ba01bb9950c


For mobile devices, this functionality has been tested on iOS 16.7.

If there are any suggestions for improvement or concerns about the
implementation, feedback is greatly appreciated. It’s completely
understandable if this PR needs to be rejected or revised further.

Thank you for taking the time to review this!
2025-01-17 22:53:57 +09:00
kwaroran
1d98a63d4c feat: apply positionParser to alternate global note (#724)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR ensures that the 'position' lorebook decorator is correctly
applied to alternate (replaced) GlobalNotes.
Thank you for your time and consideration.
2025-01-17 22:53:45 +09:00
kwaroran
8a4932e19c suggestion: apply 'processScriptFull()' to 'editprocess' mode regex script (#725)
# PR Checklist
- [ ] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [ ] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Description
This PR addresses an issue where the `{{chat_index}}` cbs does not work
correctly in regex scripts of the 'Modify Request Data' (editprocess)
type. To work around this issue, I propose changing the function used in
this section to `processScriptFull()`.

If you have any other suggestions, such as modifying the arguments
instead, please feel free to let me know.

Thanks for your time and consideration.
2025-01-17 22:52:49 +09:00
Bo26fhmC5M
b43eec49d1 fix: handle empty message edge cases in getNextMessageToSummarize 2025-01-17 09:03:23 +09:00
bangonicdd
172efe4d68 suggestion: apply 'processScriptFull()' to 'editprocess' mode regex script 2025-01-17 03:58:20 +09:00
Bo26fhmC5M
171b267891 feat: display next message to be summarized in HypaV3 modal 2025-01-17 02:22:46 +09:00
bangonicdd
23fd706d9b feat: apply positionParser to alternate global note 2025-01-17 00:23:14 +09:00
Bo26fhmC5M
3c62317f3a feat: add lastSelectedSummaries property to store selected memory indices 2025-01-17 00:17:12 +09:00
Bo26fhmC5M
6a13b33103 refactor: extract repeated summarization logic into retryableSummarize function 2025-01-16 23:36:32 +09:00
Bo26fhmC5M
fac11bfe67 fix: improve HypaV3 logging 2025-01-16 22:40:08 +09:00
Bo26fhmC5M
6ffaa1257e feat: improve ratio sliders interaction in HypaV3 settings 2025-01-16 22:12:32 +09:00
poroyo
0f19952e2a feat: add navigation from prompt comparison tooltip overview to prompt lines 2025-01-16 17:23:11 +09:00
Bo26fhmC5M
682f536c5a refactor: extract double confirmation logic into reusable function 2025-01-16 01:36:29 +09:00
Bo26fhmC5M
c57c256190 fix: reactive declarations 2025-01-16 01:23:02 +09:00
Bo26fhmC5M
d59cc1a29c refactor: update UI management to index-based approach 2025-01-15 19:56:07 +09:00
Bo26fhmC5M
3e234dcb15 feat: add dual-action translation (cached/regenerate) in HypaV3 modal
Implements shift+click (desktop) and double tap (mobile) for regenerating translations while maintaining regular click/tap for cached translations.
2025-01-15 13:45:34 +09:00
Bo26fhmC5M
f397b6ef1a feat: add translate button to HypaV3 modal 2025-01-15 02:05:23 +09:00
kwaroran
521a374215 feat: improve HypaV3 (#720)
# PR Checklist
- [x] Have you checked if it works normally in all models? *Ignore this
if it doesn't use models.*
- [x] Have you checked if it works normally in all web, local, and node
hosted versions? If it doesn't, have you blocked it in those versions?
- [ ] Have you added type definitions?

# Preview

![preview](https://github.com/user-attachments/assets/9cbd7cd0-fc9d-40d4-bcc7-69c5bfb000a2)

# Description
- refactor: improve array conversion and sorting syntax
- fix: resolve summarize function issues with instruct35
- fix: adjust memory selection order
- fix: restore undefined value from null after importing hypaDataV3
- feat: add expandable chat memo in HypaV3 Data modal
- feat: add important button in HypaV3 Data modal
- fix: message line break display in HypaV3 Data modal
- refactor: extract HypaV3 modal into separate component
2025-01-15 00:00:03 +09:00
Bo26fhmC5M
a10a2c5502 refactor: extract HypaV3 modal into separate component 2025-01-14 13:01:14 +09:00