Commit Graph

3529 Commits

Author SHA1 Message Date
Kwaroran
21e311b7a4 Remove thought input in gemini 2025-02-25 04:41:12 +09:00
Kwaroran
fc80552749 feat: enhance tokenizeChat to accept optional countThoughts argument 2025-02-25 04:39:01 +09:00
Kwaroran
ed2957fc50 Upgrade translator playground 2025-02-25 04:36:58 +09:00
bangonicdd
a45a3925c2 refactor: cleanup lore local activation 2025-02-24 17:00:48 +09:00
bangonicdd
d584139047 revert: make always deduplicate modules 2025-02-23 21:39:41 +09:00
bangonicdd
abf4cdda9d fix: force refresh modules after closing menu 2025-02-23 20:35:39 +09:00
bangonicdd
0f1d243935 fix: naming to lower camel case in current PR 2025-02-22 01:26:12 +09:00
bangonicdd
77a36f5a7f fix: issue of local lore deactive in prev commit 2025-02-21 21:13:57 +09:00
bangonicdd
b10fccd3c4 feat: add local activation for lorebook 2025-02-21 21:01:20 +09:00
Kwaroran
2af57d3c67 Add new google translaor 2025-02-21 02:38:55 +09:00
chatbung
eba47ab611 fix: importChat() 2025-02-20 12:16:58 +09:00
Kwaroran
94e23543dd Add ExperimentalGoogleTranslator 2025-02-20 04:06:35 +09:00
chatbung
bbcd952c1b fix: folder color 2025-02-19 16:59:38 +09:00
Kwaroran
0a2e4fd04c feat: add download and update URLs to userscript metadata 2025-02-19 16:51:06 +09:00
Kwaroran
52225dec97 feat: update userscript to use userScriptFetch and add metadata 2025-02-19 16:49:03 +09:00
Kwaroran
52363552de fix: update fetchWithUSFetch assignment to use unsafeWindow 2025-02-19 16:43:04 +09:00
Kwaroran
c6daf369e3 Add Userscript proxy 2025-02-19 16:40:21 +09:00
chatbung
f9be5d3710 feat: add folder color 2025-02-19 16:29:57 +09:00
chatbung
e5e86a9c9b feat: chat folder 2025-02-19 13:30:34 +09:00
Kwaroran
6177957c64 feat: add return CSS error option and update related functionality 2025-02-19 11:12:12 +09:00
Kwaroran
a5d2b4589c fix: update display text for v2If and v2IfAdvanced trigger types 2025-02-16 19:23:55 +09:00
kwaroran
92958c1934 feat: add option to show translation loading (#761)
# 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/149c1bf4-c3cc-48c6-9d32-bf8e6a268f81)

# Description
This PR introduces following:
- New accessibility option for translation loading even when not
re-translating
- Prevent redundant translation attempts when auto translating
2025-02-16 19:15:56 +09:00
kwaroran
f085c1c496 Merge branch 'main' into patch-2 2025-02-16 19:15:48 +09:00
kwaroran
c88706ea5c fix: issue with asset names case-insensitive (#760)
# 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 the issue where asset names were only recognized when
entered in lowercase, even if they were originally uppercase. It ensures
that asset names are now case-insensitive, aligning with the intended
behavior.
2025-02-16 19:15:07 +09:00
Kwaroran
616d247dca bump: update application version to 150.2.0 2025-02-16 19:14:21 +09:00
Kwaroran
e6cba3865b Improve triggerv2 2025-02-16 19:13:49 +09:00
bangonicdd
ff76776c10 fix: also make emo case-insensitive as well 2025-02-16 16:51:39 +09:00
Kwaroran
825507fcaf Add V1 option and warning 2025-02-16 15:08:14 +09:00
Bo26fhmC5M
53eb087943 fix: optimize auto translation 2025-02-16 08:56:57 +09:00
Bo26fhmC5M
1562f0549f feat: add option to show translation loading 2025-02-16 08:53:41 +09:00
bangonicdd
7c3563679e fix: make asset names case-insensitive 2025-02-16 03:56:15 +09:00
Kwaroran
82527f2f7d bump: update application version to 150.1.0 2025-02-16 02:55:43 +09:00
Kwaroran
1b1d43cf1b Add request related triggers 2025-02-16 02:55:27 +09:00
Kwaroran
ed142bc06a bump: update application version to 150.0.2 2025-02-16 00:59:17 +09:00
Kwaroran
56cf745641 feat: add v2ExtractRegex trigger with regex input options 2025-02-16 00:59:03 +09:00
Kwaroran
d6472971c5 Add wait and updategui trigger 2025-02-16 00:39:11 +09:00
Kwaroran
2b36ad073f Fix Imggen 2025-02-16 00:33:15 +09:00
Kwaroran
c8c243bf08 fix: add error handling in processScriptFull for display mode 2025-02-15 22:03:18 +09:00
Kwaroran
793aefc054 bump: update application version to 150.0.1 2025-02-15 21:59:52 +09:00
Kwaroran
f250ee4f4c fix: handle undefined displayData in processScriptFull function 2025-02-15 21:58:03 +09:00
Kwaroran
4da60032d8 Add bulk enabling settings 2025-02-15 21:45:00 +09:00
Kwaroran
f131b4aac3 bump: update application version to 150.0.0 2025-02-15 21:39:30 +09:00
Kwaroran
aa21966d64 refactor: remove unused 'v2GetCharCount' case from runTrigger function 2025-02-15 21:39:10 +09:00
Kwaroran
dce4f11593 Add runLLM model selection 2025-02-15 21:37:28 +09:00
Kwaroran
dcc7c56726 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2025-02-15 21:32:11 +09:00
Kwaroran
d2fce340bb Add TriggerV2 2025-02-15 21:29:37 +09:00
bangonicdd
9773dc48a9 fix: adjust pipelineness in prev PR for easing further managing 2025-02-15 00:41:15 +09:00
Kwaroran
dffc5ee65e refactor: remove legacy imports and update event handling in chat and trigger components 2025-02-14 00:21:42 +09:00
kwaroran
089698a489 feat: reintroduce module integration (#756)
# 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 reintroduces the module integration feature and includes the
following changes:

1. Modules activated via integration, rather than global activation from
the module menu, are now visually distinguished with a separate color.

![image](https://github.com/user-attachments/assets/641cbd41-e858-4206-8007-66778d06a220)

2. When a module is globally activated after being enabled through
integration, it will no longer be applied twice.
3. Added a button in the developer tools to view a list of all currently
active modules.

![image](https://github.com/user-attachments/assets/02119ea0-4de7-4eae-90ac-dd9a20ddf2de)

![image](https://github.com/user-attachments/assets/05411ea9-35bc-4fca-abf5-14e464171483)


4. Fixed an issue where the `module_enabled` cbs was operating based on
module names instead of namespaces, contrary to the documentation. It
now also detects modules activated through integration.
5. Fixed issues where module integration did not properly sync with
module additions, modifications, and deletions.

Let me know if any further adjustments are needed!
2025-02-13 02:24:01 +09:00
bangonicdd
b783dc9874 feat: reintroduce module integration 2025-02-10 09:02:57 +09:00