@feedmepos/mf-remy-panel 0.19.0-dev.10 → 0.19.0-dev.11
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-fa2f1505.js → HomeView-ced00260.js} +1 -1
- package/dist/{RemyButton-bdb522d2.js → RemyButton-72c3b014.js} +1 -1
- package/dist/{app-11c50fd6.js → app-2d279fb3.js} +11947 -11614
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/contextualStart.d.ts +23 -0
- package/dist/context/pageContext.d.ts +2 -0
- package/dist/stores/appStore.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
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-
|
|
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-2d279fb3.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { MemoryDto, MemoryScope } from '@/api/memory';
|
|
2
|
+
import type { PortalPageContext } from '@/context/pageContext';
|
|
3
|
+
import type { Conversation } from '@/types/chat';
|
|
4
|
+
export interface ContextualSuggestion {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
detail: string;
|
|
8
|
+
prompt: string;
|
|
9
|
+
source: 'page' | 'history' | 'memory';
|
|
10
|
+
}
|
|
11
|
+
export interface ContextualStart {
|
|
12
|
+
workspaceLabel: string;
|
|
13
|
+
workspaceDetail: string;
|
|
14
|
+
memoryScope: MemoryScope;
|
|
15
|
+
suggestions: [ContextualSuggestion, ContextualSuggestion];
|
|
16
|
+
}
|
|
17
|
+
export type WorkspaceSelection = 'auto' | 'none' | 'scheduler' | 'menu' | 'report' | 'marketing';
|
|
18
|
+
export declare const WORKSPACE_CHOICES: ReadonlyArray<{
|
|
19
|
+
id: WorkspaceSelection;
|
|
20
|
+
label: string;
|
|
21
|
+
path?: string;
|
|
22
|
+
}>;
|
|
23
|
+
export declare function buildContextualStart(pageContext: PortalPageContext | null, conversations: Conversation[], memories?: MemoryDto[], workspaceSelection?: WorkspaceSelection): ContextualStart;
|
|
@@ -9,5 +9,7 @@ export interface PortalPageContext {
|
|
|
9
9
|
export type PageContextProvider = () => Partial<PortalPageContext> | null | undefined;
|
|
10
10
|
export declare function sanitizePortalPageContext(value: unknown): PortalPageContext | null;
|
|
11
11
|
export declare function setPageContextProvider(provider?: PageContextProvider): void;
|
|
12
|
+
/** Observe browser and SPA route changes without depending on the host router implementation. */
|
|
13
|
+
export declare function subscribePortalPageContextChanges(listener: () => void): () => void;
|
|
12
14
|
/** Capture a bounded snapshot when the user presses Send, never at app startup. */
|
|
13
15
|
export declare function capturePortalPageContext(): PortalPageContext | null;
|
|
@@ -74,5 +74,5 @@ export declare const useAppStore: import("pinia").StoreDefinition<"app", Pick<{
|
|
|
74
74
|
activate: (options?: ActivateOptions) => void;
|
|
75
75
|
loadTokenBalance: () => Promise<void>;
|
|
76
76
|
close: () => void;
|
|
77
|
-
}, "
|
|
77
|
+
}, "close" | "initialize" | "activate" | "loadTokenBalance">>;
|
|
78
78
|
export {};
|