Commit Graph

2028 Commits

Author SHA1 Message Date
kwaroran
0319f705c4 Add array cbs 2024-04-03 23:14:28 +09:00
kwaroran
f35e3e6fd3 Update version to 1.91.0 2024-04-03 20:08:51 +09:00
kwaroran
5a4a1d7071 Fix incorrect condition in parser.ts 2024-04-03 19:56:37 +09:00
kwaroran
3c568b5287 Fix name in parser.ts 2024-04-03 19:55:04 +09:00
kwaroran
d302aaa79f Add date and time formatting cbs 2024-04-03 19:47:26 +09:00
kwaroran
6a9d88e525 remame time and date cbs to message_time and message_date 2024-04-03 19:37:33 +09:00
kwaroran
1c3c3cc16d Add new cbs to the parser.ts file 2024-04-03 19:36:27 +09:00
kwaroran
8f8441e529 make parse block to trim leading and trailing whitespace in parse function 2024-04-03 19:19:15 +09:00
kwaroran
28d4ee93cf Refactor blockEndMatcher function to use switch statement 2024-04-03 19:18:28 +09:00
kwaroran
9d90901223 Remove trim() function call in parse-pure 2024-04-03 19:17:39 +09:00
kwaroran
2ad8d0e105 Add parse pure and fix statements 2024-04-03 19:15:41 +09:00
kwaroran
4eef895588 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-04-03 19:13:02 +09:00
kwaroran
6e8c818ed5 Trim whitespace in blockEndMatcher function 2024-04-03 19:12:59 +09:00
kwaroran
f97deccb02 Add pick and pow CBS 2024-04-03 19:12:48 +09:00
kwaroran
aa3f0d2413 Fixing the issue with quote escape when serializing strings in JSON i… (#334)
…n DeepLX.

# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description

Fix the issue of escape characters in quotes caused by unnecessary JSON
serialization of translation strings in DeepLX.
2024-03-30 02:35:07 +09:00
kwaroran
033ade5cc1 Update version to 1.90.1 2024-03-30 02:34:51 +09:00
kwaroran
70d68bf8fe Fix scriptstate assignment in processCommand function 2024-03-30 02:34:34 +09:00
kwaroran
6e930dc84f Forgot to fix version 2024-03-29 20:41:12 +09:00
kwaroran
2cfa373a48 Update version to 1.90.0 2024-03-29 20:40:59 +09:00
kwaroran
aee17205ed Add error handling 2024-03-29 20:36:05 +09:00
kwaroran
3ae75f3e5c Add string manipulation functions to parser.ts 2024-03-29 18:15:17 +09:00
kwaroran
86400dffe3 Update version to 1.89.0 2024-03-28 18:42:56 +09:00
kwaroran
00e86527ce fix trigger variable handling in triggers.ts 2024-03-28 18:37:32 +09:00
kwaroran
25696c8d60 Refactor variable handling in parser.ts 2024-03-28 18:33:48 +09:00
kwaroran
9ad8262eb6 Refactor command processing logic and add new commands for variable manipulation 2024-03-28 18:27:18 +09:00
kwaroran
949269e2d6 Add update to RisuRealm feature 2024-03-28 18:04:51 +09:00
kwaroran
bce98a84a5 Add sleep function to wait for input update 2024-03-28 03:59:45 +09:00
kwaroran
9f0d398d3b Make risurealm share and download to use new api 2024-03-28 03:59:14 +09:00
kwaroran
ea6b1d20e5 Prepare new realm upload 2024-03-28 03:02:18 +09:00
ModMapper
1575004cf0 Fixing the issue with quote escape when serializing strings in JSON in DeepLX. 2024-03-28 02:15:23 +09:00
kwaroran
279b68d3c6 Fix characterCards importCharacterProcess function 2024-03-28 01:25:11 +09:00
kwaroran
9f0a8f38b5 Fix image not appending 2024-03-28 01:24:50 +09:00
kwaroran
dbaa2968cc Fix decoding issue in pngChunk.ts 2024-03-28 01:19:33 +09:00
kwaroran
6202838458 Refactor importCharacterProcess and readGenerator functions to support ReadableStream 2024-03-26 04:38:06 +09:00
kwaroran
5b4f24019b Rework importCharacterProcess and selectFileByDom functions 2024-03-26 04:01:07 +09:00
kwaroran
92c2cd1a1a Update version to 1.88.3 2024-03-26 03:03:48 +09:00
kwaroran
776b49534d Add content type header based on body type in fetchWithProxy function 2024-03-26 03:03:01 +09:00
kwaroran
65c148f371 Update version to 1.88.2 2024-03-25 23:10:59 +09:00
kwaroran
ac54cb3816 Fix default method in fetchWithProxy 2024-03-25 23:10:42 +09:00
kwaroran
026e47c89e Update version to 1.88.1 2024-03-25 21:24:25 +09:00
kwaroran
ddf36064bb Update deeplXUrl placeholder and default value 2024-03-25 21:24:03 +09:00
kwaroran
52c176234f fix translateTranslationChunks function 2024-03-25 21:21:59 +09:00
kwaroran
dc6d39b754 Update version to 1.88.0 2024-03-25 21:03:26 +09:00
kwaroran
e4ecb46959 Add ST preset import 2024-03-25 20:57:41 +09:00
kwaroran
09d9ff6933 Add noWaitForTranslate options 2024-03-25 20:22:59 +09:00
kwaroran
a70a10607f Add translation wait time 2024-03-25 20:22:21 +09:00
kwaroran
b7f53523e0 Update needSuperChunkedTranslate function to check translatorType 2024-03-25 20:18:47 +09:00
kwaroran
f3b8ea7781 Fix translation chunk splitting and translation process 2024-03-25 20:18:37 +09:00
kwaroran
a67962f2cd make needSuperChunkedTranslate function to always return false for now 2024-03-25 19:52:28 +09:00
kwaroran
d2a168524e Refactor translation logic and add super chunked translation 2024-03-25 19:52:05 +09:00