Commit Graph
40 Commits
Author SHA1 Message Date
Neko Ayaka dc6dff5a6d chore(deps): bump dependencies 2025-08-29 01:38:04 +08:00
Ilya BogdanovandNeko 5c1eb33ad8 feat: Refactor Font Configuration for Consistency and Correctness (#409)
* feat(unocss): centralize font configuration and fix cyrillic font handling (#389)

This commit refactors the UnoCSS font configuration to establish a single source of truth and resolve issues with Cyrillic character rendering.

- Centralizes all font definitions within the root uno.config.ts.
- Updates the theme.fontFamily to use a correct fallback chain, ensuring "Comfortaa" is used for Cyrillic characters.
- Restricts the "Kiwi Maru" font to Latin and Japanese character subsets to prevent incorrect application.
- Simplifies application-specific uno.config.ts files by removing redundant local font overrides.

* fix(ui): ensure provider models reload reactively (#407)

This commit resolves a persistent reactivity issue where the model list would not update automatically after changing provider credentials. This was a recurring problem reported by users on Discord.

Previously, the model list was only fetched when the consciousness settings page was first mounted. This meant that if a user updated an API key and navigated back, the page would still display the old, stale model list until the application was fully restarted.

The fix introduces two key changes:

1.  A `watch` effect has been added to the `providers.ts` store. It now monitors `providerCredentials` and automatically refetches the model list for a specific provider whenever its credentials change.
2.  The `consciousness.vue` component now uses the `onActivated` lifecycle hook in addition to `onMounted`. This ensures that the model list is refreshed every time the component becomes active, such as when navigating back to it. A `watch` on the `activeProvider` was also added to handle provider switching within the page.

These changes ensure that the model list is always synchronized with the current provider configuration, providing a much smoother and more intuitive user experience.

Closes #407

---------

Co-authored-by: Neko <neko@ayaka.moe>
2025-08-25 11:44:10 +08:00
Neko Ayaka ac8fbf3be3 chore(workspace): now use NODE_VERSION 24 without minor constraints 2025-08-25 03:32:05 +08:00
Neko Ayaka a095ee62f1 chore(deps): bump dependencies 2025-08-02 01:06:54 +08:00
Neko Ayaka 50371c580a chore(deps): bump dependencies 2025-07-22 14:28:27 +08:00
Neko 77832da756 debug(workspace): unocss fonts split shared testing (#282) 2025-07-21 14:36:06 +08:00
Neko Ayaka b21f4b4da7 fix(ci): build failed on Netlify with latest Node.js v24.4.0
Read more at:
- https://github.com/nodejs/node/issues/59057
- https://github.com/pnpm/pnpm/issues/9743

Details:
```
7:26:13 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
7:26:13 PM: <--- Last few GCs --->
7:26:13 PM: [1319:0x7f60e4002000]     8717 ms: Scavenge 593.1 (722.0) -> 593.1 (722.0) MB, pooled: 0 MB, 140.50 / 0.00 ms  (average mu = 0.909, current mu = 0.833) allocation failure;
7:26:13 PM: FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
7:26:13 PM: ----- Native stack trace -----
7:26:13 PM:  1: 0xf1f241 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  2: 0x13563a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  3: 0x135648f v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  4: 0x15ecad5  [node]
7:26:13 PM:  5: 0x1a9b37c  [node]
7:26:13 PM:  6: 0x7f5f1be76636
```
2025-07-14 19:31:00 +08:00
Neko Ayaka 34b547047f chore(deps): bump dependencies 2025-07-06 19:06:59 +08:00
Neko Ayaka bb59f327b0 chore(deps): bump dependencies 2025-06-30 16:15:45 +08:00
Neko Ayaka 8ee87f9e70 style(*): stronger import sort 2025-06-30 02:23:40 +08:00
Neko Ayaka 0b127778fc chore(deps): bump dependencies 2025-06-26 19:21:12 +08:00
Neko 5d994609ed Revert "perf(eslint): use moeru config & oxlint (#227)" (#231)
This reverts commit 6d02cb0a01.
2025-06-26 19:17:02 +08:00
藍+85CD 6d02cb0a01 perf(eslint): use moeru config & oxlint (#227) 2025-06-26 18:29:05 +08:00
藍+85CD c13811b392 refactor: use @moeru/std (#226) 2025-06-25 15:31:30 +08:00
Neko Ayaka c078b49e0c chore(deps): bump dependencies 2025-06-24 13:47:06 +08:00
Neko Ayaka afef299dbc chore(deps): bump dependencies 2025-06-19 17:43:18 +08:00
藍+85CD 032a44c661 perf(apps): use rolldown-vite instead of vite (#214) 2025-06-19 17:30:35 +08:00
Neko AyakaandMakito cc449b1d0c style: use @sumimakito integrated perfectionist/sort-imports`
Co-authored-by: Makito <5277268+sumimakito@users.noreply.github.com>
2025-06-17 14:03:27 +08:00
Neko Ayaka f2aef18d77 chore(deps): bump dependencies 2025-06-13 23:01:30 +08:00
Neko Ayaka b7905ec9c1 chore(assets): updated icon 2025-06-12 01:48:52 +08:00
Neko Ayaka ce8914e0b8 chore(deps): bump dependencies 2025-06-11 15:19:13 +08:00
Neko Ayaka 65f6d7e968 fix: lint 2025-06-05 23:31:20 +08:00
Neko Ayaka 39160badaa chore(deps): bump dependencies 2025-06-05 11:34:58 +08:00
Neko Ayaka 863844e80e chore(package.json): update 2025-05-27 16:52:28 +08:00
Neko Ayaka 0c95946c6c chore(deps): bump dependencies 2025-05-19 13:11:43 +08:00
Neko Ayaka e0229f73ff chore(deps): bump dependencies 2025-05-11 12:20:46 +08:00
Neko Ayaka 9a8a064930 chore(deps): bump dependencies 2025-05-07 17:39:30 +08:00
Neko Ayaka 168873ef90 chore(deps): bump dependencies 2025-04-27 10:58:56 +08:00
Neko Ayaka 1307a17a6c chore(deps): bump dependencies 2025-04-24 17:45:17 +08:00
Neko Ayaka d5fc26e2e0 chore(deps): bump dependencies 2025-04-20 15:38:33 +08:00
Neko Ayaka f9cf0d4640 feat(vad): new module vad 2025-04-13 17:52:28 +08:00
Neko Ayaka d76c0550ad fix(uno.config): timeout when fetching big web fonts 2025-04-10 19:17:18 +08:00
Neko Ayaka 9a11d1b963 fix(stage-web|stage-tamagotchi): duckdb-wasm import url 2025-04-06 01:58:28 +08:00
Neko Ayaka 9a956b2665 fix(stage-web|realtime-audio): type 2025-04-05 18:21:02 +08:00
Makito 00c30fbdbc chore(*): migrate drizzle-duckdb-wasm and duckdb-wasm to proj-airi/duckdb-wasm (#116)
* chore(drizzle-duckdb-wasm|duckdb-wasm): clean up packages
* chore(realtime-audio): remove unused paths from tsconfig
* chore(*): update dependencies
2025-04-05 18:14:15 +08:00
Neko Ayaka cfd0e0e624 feat(stage-web|stage-tamagotchi|stage-tamagotchi-tauri): support featherless.ai #112 2025-04-05 17:02:42 +08:00
Neko Ayaka a2aba7cafa chore(deps): bump dependencies 2025-04-01 22:49:42 +08:00
Neko Ayaka 3b6f8d8183 chore(deps): bump dependencies 2025-03-27 23:13:00 +08:00
Neko Ayaka d3b7c57d21 fix(deps): build 2025-03-19 19:01:38 +08:00
Neko Ayaka fb859ddfcc feat(stage-web|stage-tamagotchi): speech finished 2025-03-19 18:45:36 +08:00