feat(stage-web|stage-tamagotchi|server-sdk|server-runtime|server-shared|stage-ui): added new events for ui:configure, and module:configure, and added basic implementation of the memory-pgvector process holding, also adjusted the border style of radio set of card

This commit is contained in:
Neko Ayaka
2025-03-21 01:49:32 +08:00
parent 367d57f305
commit f3b93ab465
38 changed files with 408 additions and 87 deletions
@@ -67,6 +67,8 @@ settings:
models:
description: Live2D, VRM, etc.
title: Models
memory:
description: Where memories got stored, and organized
modules:
consciousness:
description: Personality, desired model, etc.
@@ -50,6 +50,9 @@ settings:
microphone: 麦克风
models: 模型
pages:
memory:
description: 存放记忆的地方,以及策略
title: 记忆体
models:
description: 切换角色的 Live2DVRM 模型
title: 角色模型
@@ -207,7 +207,7 @@ function handleLanguageChange(event: Event) {
</div>
</label>
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div v-motion text="60" i-lucide:cog />
</div>
</div>
@@ -67,7 +67,7 @@ async function extractColorsFromModel() {
<Live2DSettings w="50%" h="80vh" :palette="palette" @extract-colors-from-model="extractColorsFromModel" />
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:person-standing />
</div>
</template>
@@ -214,7 +214,7 @@ function updateCustomModelName(value: string) {
</div>
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:ghost />
</div>
</template>
@@ -142,7 +142,7 @@ const modulesList = computed<Module[]>(() => [
:configured="module.configured"
/>
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:blocks />
</div>
</template>
@@ -50,7 +50,7 @@ const { allProvidersMetadata } = storeToRefs(providersStore)
:configured="provider.configured"
/>
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:brain />
</div>
</template>
@@ -368,7 +368,7 @@ function isColorSelected(hexColor: string): boolean {
</Collapsable>
</div>
<div text="neutral-200/50 dark:neutral-500/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="neutral-200/50 dark:neutral-600/20" pointer-events-none fixed bottom-0 right-0 z--1 translate-x-10 translate-y-10>
<div text="40" i-lucide:paintbrush />
</div>
</template>