Commit Graph

3501 Commits

Author SHA1 Message Date
Dong Hyun Kim
e3f205cc31 fix(parsor): remove incorrectly imported packages 2025-02-07 10:43:03 +09:00
Dong Hyun Kim
ffd904ab5c fix(parser): fix typo & cleanup 2025-02-07 10:23:15 +09:00
Dong Hyun Kim
997b4f70ce refactor(parser): cleanup & add getEmoSrc() 2025-02-07 01:16:24 +00:00
bangonicdd
b771105025 fix: disable module before remove 2025-02-07 01:26:21 +09:00
Dong Hyun Kim
b3587fc950 refactor(parsor): cleanup & add getAssetSrc()
- Modified getAssetSrc() to handle Emotional, Module, and AdditionalAssets.
- Reduced if-for statement depth for improved readability.
2025-02-06 22:38:57 +09:00
bangonicdd
ef6f671792 feat: custom toggles for modules 2025-02-06 19:45:55 +09:00
Dong Hyun Kim
25b507a01a refactor(parser): import only the required asset when in a node environment
- refactor parseAdditionalAssets()
- Modified the getClostMatch() to work well with Object<key, value> to which it is dynamically added.
2025-02-06 18:33:43 +09:00
Kwaroran
7b57bdf5f1 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-06 09:49:23 +09:00
Kwaroran
1b171cab66 Update version, gemini models, and new progress dialoge, and charxjpeg 2025-02-06 09:48:55 +09:00
kwaroran
56b84b5df2 Update zh-Hant.ts (#741)
# 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?

None of the above apply, as this update only involves UI translations.

# Description
- Updated the missing translations to the latest version

Since I can't perform local testing, I plan to hold off on updating the
Simplified Chinese translation for a while. This will give me time to
check if everything works correctly in Traditional Chinese before making
adjustments to both.

As always, many thanks to kwaroran for the hard work!
2025-02-06 09:47:55 +09:00
kwaroran
ceb685f58d fix: add legacy translation support in Auto Translate Cached Only option (#742)
# 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: add legacy translation support in Auto Translate
Cached Only option
2025-02-06 09:47:46 +09:00
kwaroran
c6b7d40b23 feat: charjs style button trigger (#743)
# 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 pull request reintroduces charJS style button event previously
deprecated and removed, using luaEngine. This implementation diverges
from current style by passing attribute data as parameters rather than
function names.
2025-02-06 09:47:36 +09:00
bangonicdd
d679247874 omit needless lines 2025-02-04 09:24:14 +09:00
bangonicdd
ad6f7e0be4 feat: charjs style button trigger 2025-02-04 09:04:55 +09:00
Bo26fhmC5M
293b5ae264 fix: add legacy translation support in Auto Translate Cached Only option 2025-02-02 16:17:32 +09:00
Rivelle
34c84b1cd9 Update zh-Hant.ts 2025-02-02 09:52:26 +08:00
kwaroran
95c6fe2b22 fix: resolve mobile keyboard enter button not working in HypaV3 modal (#732)
# 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: resolve mobile keyboard enter button not working
in HypaV3 modal
2025-02-02 07:51:59 +09:00
kwaroran
6daaa03f75 feat: display estimated max memory tokens ratio in HypaV3 settings (#737)
# 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?

# Preview

![preview](https://github.com/user-attachments/assets/5cb0f8fd-9885-4e54-8ffe-f1298672a221)

# Description
This calculation provides users with an approximate maximum memory
tokens ratio, allowing users to choose appropriate maximum context size
or memory tokens ratio based on their specific needs and circumstances.

The maximum memory tokens ratio is calculated based on:

`maxMemoryRatio = (maxContextTokens - requiredTokens) /
maxContextTokens`
- where `requiredTokens = promptTemplateTokens + charTokens +
maxLoreTokens + (maxResponseTokens * 3)`
2025-02-02 07:51:47 +09:00
Kwaroran
0242fd27cc chore: update application version to 149.0.0 2025-02-02 07:49:25 +09:00
Kwaroran
243984d788 Add CharX-Jpeg 2025-02-02 07:49:08 +09:00
Kwaroran
25aa83877b Add reasoning effort 2025-02-01 09:05:07 +09:00
Kwaroran
e6f98cd6f8 feat: add new LLM model 'o3-mini' to the model list 2025-02-01 08:45:46 +09:00
Bo26fhmC5M
dc6124d2ab feat: display estimated max memory tokens ratio in HypaV3 settings 2025-01-31 23:33:57 +09:00
Kwaroran
3139eac739 Add paste post 2025-01-31 23:04:01 +09:00
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
Bo26fhmC5M
4451aea52e fix: resolve mobile keyboard enter button not working in HypaV3 modal 2025-01-29 08:39:32 +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