@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.
Files changed (42) hide show
  1. package/README.md +26 -0
  2. package/dist/module.d.mts +2 -0
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +6 -3
  5. package/dist/runtime/citations/citation-links.d.ts +32 -0
  6. package/dist/runtime/citations/citation-links.js +56 -0
  7. package/dist/runtime/citations/components/chat-citation.d.vue.ts +9 -0
  8. package/dist/runtime/citations/components/chat-citation.vue +186 -0
  9. package/dist/runtime/citations/components/chat-citation.vue.d.ts +9 -0
  10. package/dist/runtime/citations/components/citation-document-panel.d.vue.ts +3 -0
  11. package/dist/runtime/citations/components/citation-document-panel.vue +217 -0
  12. package/dist/runtime/citations/components/citation-document-panel.vue.d.ts +3 -0
  13. package/dist/runtime/citations/composables/citation-panel.d.ts +8 -0
  14. package/dist/runtime/citations/composables/citation-panel.js +17 -0
  15. package/dist/runtime/citations/composables/citations.d.ts +17 -0
  16. package/dist/runtime/citations/composables/citations.js +44 -0
  17. package/dist/runtime/citations/document-highlight.d.ts +13 -0
  18. package/dist/runtime/citations/document-highlight.js +35 -0
  19. package/dist/runtime/citations/types.d.ts +57 -0
  20. package/dist/runtime/citations/types.js +0 -0
  21. package/dist/runtime/conversations/components/chat-conversation-list.vue +2 -2
  22. package/dist/runtime/conversations/composables/conversations.js +5 -0
  23. package/dist/runtime/embed/components/chat-embed-inner.vue +53 -2
  24. package/dist/runtime/embed/components/chat-embed.vue +2 -0
  25. package/dist/runtime/embed/components/meistrari-chat-embed.vue +3 -0
  26. package/dist/runtime/embed/components/mobile/chat-mobile-drawer.vue +2 -2
  27. package/dist/runtime/embed/composables/embed-config.d.ts +3 -0
  28. package/dist/runtime/embed/composables/embed-config.js +9 -0
  29. package/dist/runtime/embed/types.d.ts +12 -1
  30. package/dist/runtime/files/components/chat-vault-link.vue +13 -0
  31. package/dist/runtime/files/content-detection.d.ts +9 -1
  32. package/dist/runtime/files/content-detection.js +29 -8
  33. package/dist/runtime/messages/components/chat-message-bubble.vue +7 -3
  34. package/dist/runtime/server/utils/chat-api-proxy.js +10 -1
  35. package/dist/runtime/shared/composables/feature-flags.d.ts +8 -1
  36. package/dist/runtime/shared/composables/feature-flags.js +10 -1
  37. package/dist/runtime/types/citations.d.ts +1 -0
  38. package/dist/runtime/types/citations.js +0 -0
  39. package/dist/runtime/types/embed.d.ts +1 -0
  40. package/dist/runtime/types/schemas/chat/usage.d.ts +2 -0
  41. package/dist/runtime/types/schemas/chat/usage.js +1 -0
  42. 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;
@@ -86,6 +86,7 @@ export const workspaceUsageResponseSchema = z.object({
86
86
  });
87
87
  export const dailyUsageRowSchema = z.object({
88
88
  workspaceId: z.string(),
89
+ source: z.string().nullable(),
89
90
  totalTokens: z.number(),
90
91
  totalCost: z.number(),
91
92
  promptTokens: z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {