@meistrari/chat-nuxt 3.6.0 → 3.8.0
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/README.md +26 -0
- package/dist/module.d.mts +2 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +6 -3
- package/dist/runtime/citations/citation-links.d.ts +32 -0
- package/dist/runtime/citations/citation-links.js +56 -0
- package/dist/runtime/citations/components/chat-citation.d.vue.ts +9 -0
- package/dist/runtime/citations/components/chat-citation.vue +186 -0
- package/dist/runtime/citations/components/chat-citation.vue.d.ts +9 -0
- package/dist/runtime/citations/components/citation-document-panel.d.vue.ts +3 -0
- package/dist/runtime/citations/components/citation-document-panel.vue +217 -0
- package/dist/runtime/citations/components/citation-document-panel.vue.d.ts +3 -0
- package/dist/runtime/citations/composables/citation-panel.d.ts +8 -0
- package/dist/runtime/citations/composables/citation-panel.js +17 -0
- package/dist/runtime/citations/composables/citations.d.ts +17 -0
- package/dist/runtime/citations/composables/citations.js +44 -0
- package/dist/runtime/citations/document-highlight.d.ts +13 -0
- package/dist/runtime/citations/document-highlight.js +35 -0
- package/dist/runtime/citations/types.d.ts +57 -0
- package/dist/runtime/citations/types.js +0 -0
- package/dist/runtime/conversations/components/chat-conversation-list.vue +2 -2
- package/dist/runtime/conversations/composables/conversations.js +5 -0
- package/dist/runtime/embed/components/chat-embed-inner.vue +53 -2
- package/dist/runtime/embed/components/chat-embed.vue +2 -0
- package/dist/runtime/embed/components/meistrari-chat-embed.vue +3 -0
- package/dist/runtime/embed/components/mobile/chat-mobile-drawer.vue +2 -2
- package/dist/runtime/embed/composables/embed-config.d.ts +3 -0
- package/dist/runtime/embed/composables/embed-config.js +9 -0
- package/dist/runtime/embed/types.d.ts +12 -1
- package/dist/runtime/files/components/chat-vault-link.vue +13 -0
- package/dist/runtime/files/content-detection.d.ts +9 -1
- package/dist/runtime/files/content-detection.js +29 -8
- package/dist/runtime/messages/components/chat-message-bubble.vue +7 -3
- package/dist/runtime/server/utils/chat-api-proxy.js +10 -1
- package/dist/runtime/shared/composables/feature-flags.d.ts +8 -1
- package/dist/runtime/shared/composables/feature-flags.js +10 -1
- package/dist/runtime/types/citations.d.ts +1 -0
- package/dist/runtime/types/citations.js +0 -0
- package/dist/runtime/types/embed.d.ts +1 -0
- package/dist/runtime/types/schemas/chat/usage.d.ts +2 -0
- package/dist/runtime/types/schemas/chat/usage.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ChatCitationsConfig, CitationDocument, CitationLocator, CitationMeta, CitationOccurrence, CitationRef, CitationStatus, } from '../citations/types.js';
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type { ChatCitationsConfig, CitationMeta, CitationRef, } from '../citations/types.js';
|
|
1
2
|
export type { ChatFeatureConfig } from '../embed/feature-config.js';
|
|
2
3
|
export type { ChatActor, ChatEmbedSharedProps, ChatSidebarConfig, DefaultChatEmbedProps, MeistrariChatEmbedProps, TelaAgentChatEmbedProps, } from '../embed/types.js';
|
|
3
4
|
export type { ChatActionPayload } from '../messages/composables/chat-action.js';
|
|
@@ -183,6 +183,7 @@ export declare const workspaceUsageResponseSchema: z.ZodObject<{
|
|
|
183
183
|
export type WorkspaceUsageResponse = z.infer<typeof workspaceUsageResponseSchema>;
|
|
184
184
|
export declare const dailyUsageRowSchema: z.ZodObject<{
|
|
185
185
|
workspaceId: z.ZodString;
|
|
186
|
+
source: z.ZodNullable<z.ZodString>;
|
|
186
187
|
totalTokens: z.ZodNumber;
|
|
187
188
|
totalCost: z.ZodNumber;
|
|
188
189
|
promptTokens: z.ZodNumber;
|
|
@@ -196,6 +197,7 @@ export type DailyUsageRow = z.infer<typeof dailyUsageRowSchema>;
|
|
|
196
197
|
export declare const dailyUsageResponseSchema: z.ZodObject<{
|
|
197
198
|
rows: z.ZodArray<z.ZodObject<{
|
|
198
199
|
workspaceId: z.ZodString;
|
|
200
|
+
source: z.ZodNullable<z.ZodString>;
|
|
199
201
|
totalTokens: z.ZodNumber;
|
|
200
202
|
totalCost: z.ZodNumber;
|
|
201
203
|
promptTokens: z.ZodNumber;
|