@feedmepos/mf-remy-panel 0.19.0-dev.8 → 0.19.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HomeView-d07b5af4.js → HomeView-da19bf44.js} +38 -38
- package/dist/RemyButton-7168e08b.js +30 -0
- package/dist/app-208a4bc0.js +51935 -0
- package/dist/app.d.ts +1 -0
- package/dist/app.js +9 -8
- package/dist/components/avatar/RemyAvatar.vue.d.ts +49 -0
- package/dist/components/avatar/RemyAvatarLegacy.vue.d.ts +48 -0
- package/dist/components/avatar/remyAvatarState.d.ts +11 -0
- package/dist/stores/chatStore.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/dist/RemyButton-b4ef62b1.js +0 -30
- package/dist/app-4ef188fd.js +0 -31963
package/dist/app.d.ts
CHANGED
|
@@ -17,3 +17,4 @@ export declare const RemyButton: import("vue").DefineComponent<{}, {}, {}, {}, {
|
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
18
18
|
onClick?: (() => any) | undefined;
|
|
19
19
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export { default as RemyAvatar } from './components/avatar/RemyAvatar.vue';
|
package/dist/app.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as
|
|
2
|
+
import { C as m, A as o, R as p, c as n, i as u, d as A, r as C, u as R, b as l } from "./app-208a4bc0.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
n as
|
|
11
|
-
u as
|
|
7
|
+
m as ChatPanel,
|
|
8
|
+
o as FmApp,
|
|
9
|
+
p as RemyAvatar,
|
|
10
|
+
n as RemyButton,
|
|
11
|
+
u as i18nMessages,
|
|
12
|
+
A as initializeRemyChat,
|
|
12
13
|
C as router,
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
R as useAppStore,
|
|
15
|
+
l as useClientEvent
|
|
15
16
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import '@bible-strong/avatar-react/styles.css';
|
|
2
|
+
import { type RemyAvatarAnimation } from './remyAvatarState';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
animation?: RemyAvatarAnimation | undefined;
|
|
5
|
+
expression?: "neutral" | "upward-side-glance" | "downward-gaze" | "skeptical-right" | "small-attentive" | "wide-downward-gaze" | "surprised-left" | "sleepy-squint" | "angry-right" | "curious-left" | "asymmetric-down-right" | "attentive-left" | "joyful-wide" | "eyes-closed" | "joyful-down-right" | "skeptical-left" | "far-right-glance" | "angry-left" | "playful-right" | "asymmetric-up-left" | "gentle-downward-gaze" | "wide-down-left" | "surprised-wide-left" | "drowsy-closed" | "suspicious-right" | "shy-downward" | "angry-brows" | "uneasy-left" | undefined;
|
|
6
|
+
size?: string | number | undefined;
|
|
7
|
+
ariaLabel?: string | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
animation: string;
|
|
10
|
+
size: number;
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
animationEnd: (animation: RemyAvatarAnimation) => void;
|
|
14
|
+
error: (message: string) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
animation?: RemyAvatarAnimation | undefined;
|
|
17
|
+
expression?: "neutral" | "upward-side-glance" | "downward-gaze" | "skeptical-right" | "small-attentive" | "wide-downward-gaze" | "surprised-left" | "sleepy-squint" | "angry-right" | "curious-left" | "asymmetric-down-right" | "attentive-left" | "joyful-wide" | "eyes-closed" | "joyful-down-right" | "skeptical-left" | "far-right-glance" | "angry-left" | "playful-right" | "asymmetric-up-left" | "gentle-downward-gaze" | "wide-down-left" | "surprised-wide-left" | "drowsy-closed" | "suspicious-right" | "shy-downward" | "angry-brows" | "uneasy-left" | undefined;
|
|
18
|
+
size?: string | number | undefined;
|
|
19
|
+
ariaLabel?: string | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
animation: string;
|
|
22
|
+
size: number;
|
|
23
|
+
ariaLabel: string;
|
|
24
|
+
}>>> & Readonly<{
|
|
25
|
+
onError?: ((message: string) => any) | undefined;
|
|
26
|
+
onAnimationEnd?: ((animation: RemyAvatarAnimation) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
size: number | string;
|
|
29
|
+
animation: RemyAvatarAnimation;
|
|
30
|
+
ariaLabel: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type RemyAvatarAnimation } from './remyAvatarState';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
animation?: RemyAvatarAnimation | undefined;
|
|
4
|
+
expression?: "neutral" | "upward-side-glance" | "downward-gaze" | "skeptical-right" | "small-attentive" | "wide-downward-gaze" | "surprised-left" | "sleepy-squint" | "angry-right" | "curious-left" | "asymmetric-down-right" | "attentive-left" | "joyful-wide" | "eyes-closed" | "joyful-down-right" | "skeptical-left" | "far-right-glance" | "angry-left" | "playful-right" | "asymmetric-up-left" | "gentle-downward-gaze" | "wide-down-left" | "surprised-wide-left" | "drowsy-closed" | "suspicious-right" | "shy-downward" | "angry-brows" | "uneasy-left" | undefined;
|
|
5
|
+
size?: string | number | undefined;
|
|
6
|
+
ariaLabel?: string | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
animation: string;
|
|
9
|
+
size: number;
|
|
10
|
+
ariaLabel: string;
|
|
11
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
animationEnd: (animation: RemyAvatarAnimation) => void;
|
|
13
|
+
error: (message: string) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
animation?: RemyAvatarAnimation | undefined;
|
|
16
|
+
expression?: "neutral" | "upward-side-glance" | "downward-gaze" | "skeptical-right" | "small-attentive" | "wide-downward-gaze" | "surprised-left" | "sleepy-squint" | "angry-right" | "curious-left" | "asymmetric-down-right" | "attentive-left" | "joyful-wide" | "eyes-closed" | "joyful-down-right" | "skeptical-left" | "far-right-glance" | "angry-left" | "playful-right" | "asymmetric-up-left" | "gentle-downward-gaze" | "wide-down-left" | "surprised-wide-left" | "drowsy-closed" | "suspicious-right" | "shy-downward" | "angry-brows" | "uneasy-left" | undefined;
|
|
17
|
+
size?: string | number | undefined;
|
|
18
|
+
ariaLabel?: string | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
animation: string;
|
|
21
|
+
size: number;
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
}>>> & Readonly<{
|
|
24
|
+
onError?: ((message: string) => any) | undefined;
|
|
25
|
+
onAnimationEnd?: ((animation: RemyAvatarAnimation) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
size: number | string;
|
|
28
|
+
animation: RemyAvatarAnimation;
|
|
29
|
+
ariaLabel: string;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type RemyAvatarAnimation = 'showcase' | 'sleeping' | 'waking' | 'idle' | 'listening' | 'thinking' | 'searching' | 'working' | 'excited' | 'bored' | 'suspicious' | 'angry' | 'drowsy' | 'happy' | 'curious' | 'confused' | 'surprised' | 'proud' | 'shy' | 'sad' | 'laughing' | 'scared' | 'playful' | 'celebrate';
|
|
2
|
+
export declare const REMY_AVATAR_SHOWCASE_EXPRESSIONS: readonly ["neutral", "upward-side-glance", "downward-gaze", "skeptical-right", "small-attentive", "wide-downward-gaze", "surprised-left", "sleepy-squint", "angry-right", "curious-left", "asymmetric-down-right", "attentive-left", "joyful-wide", "eyes-closed", "joyful-down-right", "skeptical-left", "far-right-glance", "angry-left", "playful-right", "asymmetric-up-left", "gentle-downward-gaze", "wide-down-left", "surprised-wide-left", "drowsy-closed", "suspicious-right"];
|
|
3
|
+
export interface RemyAvatarContext {
|
|
4
|
+
isStreaming: boolean;
|
|
5
|
+
hasError?: boolean;
|
|
6
|
+
toolNames?: string[];
|
|
7
|
+
memoryRecalled?: boolean;
|
|
8
|
+
toolCompleted?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** Deterministic UI state only. Model output never chooses Remy's expression. */
|
|
11
|
+
export declare function selectRemyAvatarAnimation(context: RemyAvatarContext): RemyAvatarAnimation;
|
|
@@ -21,6 +21,7 @@ interface ChatStoreSetup {
|
|
|
21
21
|
composerGeneration: Ref<number>;
|
|
22
22
|
messages: Ref<ChatMessage[]>;
|
|
23
23
|
isStreaming: ComputedRef<boolean>;
|
|
24
|
+
hasError: ComputedRef<boolean>;
|
|
24
25
|
mcpPromptCommands: Ref<SlashCommand[]>;
|
|
25
26
|
currentConversationId: Ref<string | null>;
|
|
26
27
|
conversations: Ref<Conversation[]>;
|
|
@@ -47,5 +48,5 @@ interface ChatStoreSetup {
|
|
|
47
48
|
deleteCurrentConversation: () => Promise<void>;
|
|
48
49
|
lastContextSnapshot: Ref<ContextSnapshot | null>;
|
|
49
50
|
}
|
|
50
|
-
export declare const useChatStore: import("pinia").StoreDefinition<"chat", Pick<ChatStoreSetup, "inputText" | "pendingCommand" | "pendingImages" | "pendingAttachments" | "composerGeneration" | "messages" | "mcpPromptCommands" | "currentConversationId" | "conversations" | "isLoadingConversation" | "isLoadingConversations" | "isLoadingMoreConversations" | "hasMoreConversations" | "isLoadingMoreMessages" | "hasMoreMessages" | "lastContextSnapshot">, Pick<ChatStoreSetup, "isStreaming">, Pick<ChatStoreSetup, "initializeChatTransport" | "sendMessage" | "stopStreaming" | "clearConversation" | "updateMessageFeedback" | "addLocalAssistantMessage" | "loadMcpPrompts" | "loadConversations" | "loadMoreConversations" | "createNewConversation" | "createConversationAndSendMessage" | "loadConversation" | "loadMoreMessages" | "switchConversation" | "deleteCurrentConversation">>;
|
|
51
|
+
export declare const useChatStore: import("pinia").StoreDefinition<"chat", Pick<ChatStoreSetup, "inputText" | "pendingCommand" | "pendingImages" | "pendingAttachments" | "composerGeneration" | "messages" | "mcpPromptCommands" | "currentConversationId" | "conversations" | "isLoadingConversation" | "isLoadingConversations" | "isLoadingMoreConversations" | "hasMoreConversations" | "isLoadingMoreMessages" | "hasMoreMessages" | "lastContextSnapshot">, Pick<ChatStoreSetup, "isStreaming" | "hasError">, Pick<ChatStoreSetup, "initializeChatTransport" | "sendMessage" | "stopStreaming" | "clearConversation" | "updateMessageFeedback" | "addLocalAssistantMessage" | "loadMcpPrompts" | "loadConversations" | "loadMoreConversations" | "createNewConversation" | "createConversationAndSendMessage" | "loadConversation" | "loadMoreMessages" | "switchConversation" | "deleteCurrentConversation">>;
|
|
51
52
|
export {};
|