Commit Graph

110 Commits

Author SHA1 Message Date
Bo26fhmC5M
4176a647a5 fix: restore undefined value from null after importing hypaDataV3 2025-01-13 19:31:24 +09:00
Bo26fhmC5M
ab7a2aa499 feat: add resummarize button to HypaV3 Data modal 2025-01-12 23:32:20 +09:00
Bo26fhmC5M
be1713df4b feat: add trash button to HypaV3 Data modal 2025-01-12 19:12:04 +09:00
Bo26fhmC5M
50361d7aa2 feat: Implement HypaV3 ratio-based memory 2025-01-12 11:05:18 +09:00
Kwaroran
c0e1311568 Add branches 2025-01-06 00:24:03 +09:00
Kwaroran
191be6d5c1 feat: add image translation feature and enhance regex list functionality 2024-12-27 15:51:29 +09:00
kwaroran
b874ed42ed HypaV2 context deletion safety (#680)
# PR Checklist
- [x] 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? <<
Checked on browser only, works fine
- [x] Did you added a type def?

# Description
HypaV2 data's large type definition update.
```ts
    mainChunks: { // summary itself
        id: number;
        text: string;
        chatMemos: Set<string>; // UUIDs of summarized chats
        lastChatMemo: string;
    }[];
    chunks: { // split mainChunks for retrieval or something. Although quite uncomfortable logic, so maybe I will delete it soon.
        mainChunkID: number;
        text:string;
    }[];
```
With this, ensure that mainChunks is relevant on chat context change by
deletion

If there is no UUID in the chat context, but it exists on chatMemos on
certain mainChunk, removes it.

Changed index.svelte.ts to update args on each call to ensure hypav2 to
stay adaptive on this change without refreshing the page

Also changed mainChunks to be pushed instead of unshifted
2024-12-26 05:02:33 +09:00
Kwaroran
8f667d6394 Add Saving Icon 2024-12-23 17:07:19 +09:00
HyperBlaze
ea2fc1ad26 Merge branch 'kwaroran:main' into main 2024-12-20 23:36:41 -08:00
Kwaroran
b07a9b9d15 Update version to 143.7.1 and add menu sidebar options 2024-12-19 05:34:09 +09:00
HyperBlaze
2728b9c5f5 Merge branch 'kwaroran:main' into main 2024-12-03 23:28:56 -08:00
LightningHyperBlaze45654
46502e762b add: gut updates
are you ready?
I hate school
2024-12-01 22:15:19 -08:00
LightningHyperBlaze45654
2a35b1f4b2 refactor: accidental usage of wrong comment 2024-12-01 13:06:33 -08:00
LightningHyperBlaze45654
60d4e33893 feat: add validation
Also revoked potentially problematic feature(add hypav2data chunk)
TODO:
1. On mid-context editing, currently that is not considered as deletion. Do have optional editedChatIndex to latter dive in more.
2. re-roll mainChunks(re-summarization) functionalities added, but not able to access it.
2024-12-01 13:00:00 -08:00
kwaroran
0e292bd690 aria-role fixes 2024-12-02 04:27:50 +09:00
kwaroran
1102899c26 Enable experimental caching for Claude in WelcomeRisu component 2024-11-18 21:17:59 +09:00
kwaroran
c2b5177c92 Improve welcome page and add gemini exp 2024-11-17 23:03:22 +09:00
kwaroran
6dd20be25c Add setup instructions for Claude API integration 2024-11-14 21:45:12 +09:00
kwaroran
a862ffe0e3 Enhance chat setup options and improve UI responsiveness 2024-11-14 21:42:56 +09:00
kwaroran
4f69bb8880 Add loggen related stuff and fix bugs 2024-11-05 20:15:17 +09:00
kwaroran
52c6641813 Enhance accessibility by adding roles and tabindex attributes to interactive elements 2024-11-02 02:22:15 +09:00
kwaroran
efbda2333d Change saving 2024-11-02 01:46:21 +09:00
kwaroran
da907f4fc2 Move DBState to stores 2024-10-26 21:17:46 +09:00
kwaroran
ffa6308ca3 change globalApi path 2024-10-26 20:40:40 +09:00
kwaroran
d575b0817c Fix store making vite crash on hmr 2024-10-26 20:27:47 +09:00
kwaroran
e255199fcc Change setDatabase and getDatabase to accessing dbState 2024-10-25 19:11:41 +09:00
kwaroran
2044d9b63b Change DataBase inside svelte to DBState for performance 2024-10-23 23:46:32 +09:00
kwaroran
9add01cda2 Refactor svelte/legacy functions to svelte 5 syntax 2024-10-23 21:03:34 +09:00
kwaroran
c7330719ad Migrate to svelte 5 2024-10-23 02:31:37 +09:00
kwaroran
8e1d014f6e Fix svelte 4 components to fit into requirements 2024-10-22 22:06:20 +09:00
kwaroran
85609e890e Change first message to chat dependent 2024-09-18 23:25:02 +09:00
kwaroran
b37e70a6a5 Refactor character creation 2024-09-11 09:50:54 +09:00
kwaroran
8c47298512 Add experimental multiuserroom 2024-09-10 05:44:59 +09:00
kwaroran
eb8e1d31c8 Add custom css and rs classes for it 2024-09-09 18:47:30 +09:00
kwaroran
cce2f12033 Add new module and preset format 2024-08-27 20:18:36 +09:00
kwaroran
f7ddc09277 Add TOS alert 2024-08-26 17:20:54 +09:00
kwaroran
b9b7201889 feat: persona binding 2024-07-30 00:40:09 +09:00
kwaroran
904054a437 fix account warning issues 2024-07-06 04:09:24 +09:00
kwaroran
02b0e0cf9f feat: add account warn 2024-07-06 01:44:10 +09:00
kwaroran
c2d4da73f0 fix colorSchemeType 2024-07-06 00:47:13 +09:00
kwaroran
430bf6d95d refactor: Update AlertComp.svelte to fix export button alignment 2024-06-09 20:12:41 +09:00
kwaroran
2d57dde4a8 add alert warning in charx 2024-06-09 19:41:51 +09:00
kwaroran
57e50ca9b3 feat: add sortings 2024-06-06 19:29:38 +09:00
kwaroran
764c2370dd feat: add module apply 2024-06-05 16:38:44 +09:00
kwaroran
653e3671e1 refactor: Add v2 warning 2024-06-03 17:59:37 +09:00
kwaroran
31ef0b3085 fix: button margin 2024-06-03 17:51:56 +09:00
kwaroran
cf5c75a9fb refactor: change button order in alertcomp 2024-06-03 17:38:42 +09:00
kwaroran
8dff1a6cde feat: add export via ccv3 charx and json 2024-06-02 23:38:55 +09:00
kwaroran
f24989c901 feat: Add export without login 2024-05-31 09:39:17 +09:00
kwaroran
7e9433008a feat: add realm sharing 2024-05-30 13:36:14 +09:00