Commit Graph

120 Commits

Author SHA1 Message Date
Bo26fhmC5M
6ffaa1257e feat: improve ratio sliders interaction in HypaV3 settings 2025-01-16 22:12:32 +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
Bo26fhmC5M
a10a2c5502 refactor: extract HypaV3 modal into separate component 2025-01-14 13:01:14 +09:00
Bo26fhmC5M
030e802122 fix: message line break display in HypaV3 Data modal 2025-01-14 01:10:06 +09:00
Bo26fhmC5M
f3c6278d21 feat: add important button in HypaV3 Data modal 2025-01-13 23:30:18 +09:00
Bo26fhmC5M
a7c3141cc0 feat: add expandable chat memo in HypaV3 Data modal 2025-01-13 22:33:27 +09:00
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