@8wave/ai-elements 0.126.0-beta.20 → 0.126.0-beta.22

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 (118) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-DHcHcy4x.js → PkChatbotFilePreview-jN3SAlut.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-DHcHcy4x.js.map → PkChatbotFilePreview-jN3SAlut.js.map} +1 -1
  3. package/dist/_chunks/{PkStreamingMarkdown-0lzE-l9f.js → PkStreamingMarkdown-qoTgaVHP.js} +2 -2
  4. package/dist/_chunks/{PkStreamingMarkdown-0lzE-l9f.js.map → PkStreamingMarkdown-qoTgaVHP.js.map} +1 -1
  5. package/dist/_chunks/{PkToolChatFile-x50rORrq.js → PkToolChatFile-uAyCds1k.js} +2 -2
  6. package/dist/_chunks/{PkToolChatFile-x50rORrq.js.map → PkToolChatFile-uAyCds1k.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShareDocument-Cv7uBr5Z.js → PkToolShareDocument-NUMXFQ2e.js} +2 -2
  8. package/dist/_chunks/{PkToolShareDocument-Cv7uBr5Z.js.map → PkToolShareDocument-NUMXFQ2e.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowArtifact-DMIADTQ6.js → PkToolShowArtifact-D1p76r2a.js} +2 -2
  10. package/dist/_chunks/{PkToolShowArtifact-DMIADTQ6.js.map → PkToolShowArtifact-D1p76r2a.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowContactForm-B5DCcFqt.js → PkToolShowContactForm-B4S4qtxp.js} +2 -2
  12. package/dist/_chunks/{PkToolShowContactForm-B5DCcFqt.js.map → PkToolShowContactForm-B4S4qtxp.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowDiagram-DEFJr7zY.js → PkToolShowDiagram-CauQT97Z.js} +2 -2
  14. package/dist/_chunks/{PkToolShowDiagram-DEFJr7zY.js.map → PkToolShowDiagram-CauQT97Z.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-BBxcDLyR.js → PkToolShowForm-1sJBr8KY.js} +2 -2
  16. package/dist/_chunks/{PkToolShowForm-BBxcDLyR.js.map → PkToolShowForm-1sJBr8KY.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-BYvCAUFX.js → PkToolShowImageGallery-DFhYCp-v.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-BYvCAUFX.js.map → PkToolShowImageGallery-DFhYCp-v.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowSources-DxZoqWZd.js → PkToolShowSources-DFHejVc0.js} +2 -2
  20. package/dist/_chunks/{PkToolShowSources-DxZoqWZd.js.map → PkToolShowSources-DFHejVc0.js.map} +1 -1
  21. package/dist/_chunks/{useLightbox-BlHExsUm.js → useLightbox-CUT_xmuZ.js} +100 -95
  22. package/dist/_chunks/useLightbox-CUT_xmuZ.js.map +1 -0
  23. package/dist/ai-elements.es.js +2316 -2153
  24. package/dist/ai-elements.es.js.map +1 -1
  25. package/dist-vue/PkChatbot.js +1 -1
  26. package/dist-vue/PkChatbotEmptyState.js +1 -1
  27. package/dist-vue/PkChatbotFilePreview.js +1 -1
  28. package/dist-vue/PkChatbotInput.js +1 -1
  29. package/dist-vue/PkChatbotMessages.js +1 -1
  30. package/dist-vue/PkChatbotSteps.js +1 -1
  31. package/dist-vue/PkChatbotViewChat.js +1 -1
  32. package/dist-vue/PkChatbotViewConversations.js +1 -1
  33. package/dist-vue/PkChatbotViewFiles.js +1 -1
  34. package/dist-vue/PkChatbotViewProfile.js +1 -1
  35. package/dist-vue/_chunks/{PkChatbot-CxphD_YU.js → PkChatbot-VJorpNbU.js} +7 -7
  36. package/dist-vue/_chunks/{PkChatbot-CxphD_YU.js.map → PkChatbot-VJorpNbU.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotEmptyState-Jxc1HNJ5.js → PkChatbotEmptyState-B9dYpXZm.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotEmptyState-Jxc1HNJ5.js.map → PkChatbotEmptyState-B9dYpXZm.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotFilePreview-BDU2vY0F.js → PkChatbotFilePreview-5_bih_vc.js} +2 -2
  40. package/dist-vue/_chunks/{PkChatbotFilePreview-BDU2vY0F.js.map → PkChatbotFilePreview-5_bih_vc.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotInput-DSdGtBTs.js → PkChatbotInput-BLKhf3WD.js} +3 -3
  42. package/dist-vue/_chunks/{PkChatbotInput-DSdGtBTs.js.map → PkChatbotInput-BLKhf3WD.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkChatbotMessages-C7WSS6sd.js → PkChatbotMessages-Dx_IIX0J.js} +17 -17
  44. package/dist-vue/_chunks/{PkChatbotMessages-C7WSS6sd.js.map → PkChatbotMessages-Dx_IIX0J.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotSteps-BMWrHfC9.js → PkChatbotSteps-BAQ1LriG.js} +2 -2
  46. package/dist-vue/_chunks/{PkChatbotSteps-BMWrHfC9.js.map → PkChatbotSteps-BAQ1LriG.js.map} +1 -1
  47. package/dist-vue/_chunks/PkChatbotViewChat-1RqLcPl4.js +1336 -0
  48. package/dist-vue/_chunks/PkChatbotViewChat-1RqLcPl4.js.map +1 -0
  49. package/dist-vue/_chunks/{PkChatbotViewConversations-BbCnRdv4.js → PkChatbotViewConversations-D0vDYTyo.js} +2 -2
  50. package/dist-vue/_chunks/{PkChatbotViewConversations-BbCnRdv4.js.map → PkChatbotViewConversations-D0vDYTyo.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotViewFiles-gwoZqmza.js → PkChatbotViewFiles-Bj5Nkzst.js} +2 -2
  52. package/dist-vue/_chunks/{PkChatbotViewFiles-gwoZqmza.js.map → PkChatbotViewFiles-Bj5Nkzst.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkChatbotViewProfile-B7DroVld.js → PkChatbotViewProfile-GW0WuMOy.js} +2 -2
  54. package/dist-vue/_chunks/{PkChatbotViewProfile-B7DroVld.js.map → PkChatbotViewProfile-GW0WuMOy.js.map} +1 -1
  55. package/dist-vue/_chunks/{PkFilePreview-N0kWPuFh.js → PkFilePreview-Dkm34tMI.js} +2 -2
  56. package/dist-vue/_chunks/{PkFilePreview-N0kWPuFh.js.map → PkFilePreview-Dkm34tMI.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkFilePreviewDialog-DqBESOIS.js → PkFilePreviewDialog-CZg7uqHL.js} +2 -2
  58. package/dist-vue/_chunks/{PkFilePreviewDialog-DqBESOIS.js.map → PkFilePreviewDialog-CZg7uqHL.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkStreamingMarkdown-BFBv_HdF.js → PkStreamingMarkdown-D6Qxwf47.js} +2 -2
  60. package/dist-vue/_chunks/{PkStreamingMarkdown-BFBv_HdF.js.map → PkStreamingMarkdown-D6Qxwf47.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkSvgViewer-CRNwb6Yn.js → PkSvgViewer-jCi13HSd.js} +2 -2
  62. package/dist-vue/_chunks/{PkSvgViewer-CRNwb6Yn.js.map → PkSvgViewer-jCi13HSd.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkToolChatFile-BntAINfN.js → PkToolChatFile-uO6r1l6t.js} +2 -2
  64. package/dist-vue/_chunks/{PkToolChatFile-BntAINfN.js.map → PkToolChatFile-uO6r1l6t.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkToolShareDocument-Bf7OE8XA.js → PkToolShareDocument-B7mMJJfn.js} +2 -2
  66. package/dist-vue/_chunks/{PkToolShareDocument-Bf7OE8XA.js.map → PkToolShareDocument-B7mMJJfn.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkToolShowArtifact-PTyAPKlR.js → PkToolShowArtifact-VOfSN9nc.js} +2 -2
  68. package/dist-vue/_chunks/{PkToolShowArtifact-PTyAPKlR.js.map → PkToolShowArtifact-VOfSN9nc.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkToolShowContactForm-CGIA743D.js → PkToolShowContactForm-D9J0B3C-.js} +2 -2
  70. package/dist-vue/_chunks/{PkToolShowContactForm-CGIA743D.js.map → PkToolShowContactForm-D9J0B3C-.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowDiagram-CppjE7Vr.js → PkToolShowDiagram-BlV7ktLW.js} +2 -2
  72. package/dist-vue/_chunks/{PkToolShowDiagram-CppjE7Vr.js.map → PkToolShowDiagram-BlV7ktLW.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowForm-DLlcs1c4.js → PkToolShowForm-BCvqIlt_.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolShowForm-DLlcs1c4.js.map → PkToolShowForm-BCvqIlt_.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowImageGallery-KP_ptp0w.js → PkToolShowImageGallery-D2DrAB9v.js} +3 -3
  76. package/dist-vue/_chunks/{PkToolShowImageGallery-KP_ptp0w.js.map → PkToolShowImageGallery-D2DrAB9v.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowLocation-Nhh_LwmN.js → PkToolShowLocation-BhVcLnkV.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowLocation-Nhh_LwmN.js.map → PkToolShowLocation-BhVcLnkV.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowProductList-CbI-ncWs.js → PkToolShowProductList--MBQ_ztM.js} +2 -2
  80. package/dist-vue/_chunks/{PkToolShowProductList-CbI-ncWs.js.map → PkToolShowProductList--MBQ_ztM.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolShowSources-E02Gy3vC.js → PkToolShowSources-D_KfNZ_Q.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowSources-E02Gy3vC.js.map → PkToolShowSources-D_KfNZ_Q.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolShowVideo-DBqMV0U7.js → PkToolShowVideo-CS6iDwjn.js} +2 -2
  84. package/dist-vue/_chunks/{PkToolShowVideo-DBqMV0U7.js.map → PkToolShowVideo-CS6iDwjn.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkToolShowWebPages-2023cqa1.js → PkToolShowWebPages-y3sajjCP.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShowWebPages-2023cqa1.js.map → PkToolShowWebPages-y3sajjCP.js.map} +1 -1
  87. package/dist-vue/_chunks/{createChatbotApiClient-BACnmIzY.js → createChatbotApiClient-Pb7_cU2s.js} +105 -75
  88. package/dist-vue/_chunks/createChatbotApiClient-Pb7_cU2s.js.map +1 -0
  89. package/dist-vue/_chunks/{useChatbotStore-B-WenuyB.js → useChatbotStore-ChrZVIDt.js} +1172 -1141
  90. package/dist-vue/_chunks/useChatbotStore-ChrZVIDt.js.map +1 -0
  91. package/dist-vue/_chunks/{useLightbox-DmtNa8bJ.js → useLightbox-BZN3tRGu.js} +100 -95
  92. package/dist-vue/_chunks/useLightbox-BZN3tRGu.js.map +1 -0
  93. package/dist-vue/api.js +1 -1
  94. package/dist-vue/composables.js +76 -2
  95. package/dist-vue/composables.js.map +1 -1
  96. package/dist-vue/index.js +4304 -3590
  97. package/dist-vue/index.js.map +1 -1
  98. package/dist-vue/locales.js +78 -2
  99. package/dist-vue/packages/components/src/PkSchemaField.d.ts +2 -2
  100. package/dist-vue/packages/components/src/chat/PkChatProjectDialog.d.ts +50 -0
  101. package/dist-vue/packages/components/src/chat/PkChatProjectMoveDialog.d.ts +23 -0
  102. package/dist-vue/packages/components/src/chat/PkChatSidebar.d.ts +5 -2
  103. package/dist-vue/packages/components/src/chat/PkChatSidebarConversationItem.d.ts +12 -0
  104. package/dist-vue/packages/components/src/chat/PkChatbot.d.ts +9 -3
  105. package/dist-vue/packages/components/src/chat/PkChatbotFeedbackForm.d.ts +2 -2
  106. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +20 -1
  107. package/dist-vue/packages/composable/src/chatbot/index.d.ts +1 -0
  108. package/dist-vue/packages/composable/src/chatbot/useChatProjectsStore.d.ts +4005 -0
  109. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +36 -6
  110. package/dist-vue/packages/models/src/schema/ChatProject.d.ts +10 -0
  111. package/dist-vue/style.css +1 -1
  112. package/package.json +1 -1
  113. package/dist/_chunks/useLightbox-BlHExsUm.js.map +0 -1
  114. package/dist-vue/_chunks/PkChatbotViewChat-2J6g9Etg.js +0 -1307
  115. package/dist-vue/_chunks/PkChatbotViewChat-2J6g9Etg.js.map +0 -1
  116. package/dist-vue/_chunks/createChatbotApiClient-BACnmIzY.js.map +0 -1
  117. package/dist-vue/_chunks/useChatbotStore-B-WenuyB.js.map +0 -1
  118. package/dist-vue/_chunks/useLightbox-DmtNa8bJ.js.map +0 -1
@@ -2254,6 +2254,14 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2254
2254
  initialize: (id: string, chatId: string) => Promise<void>;
2255
2255
  loadConversations: (id: string) => Promise<void>;
2256
2256
  loadMoreConversations: () => Promise<void>;
2257
+ projectsEnabled: globalThis.Ref<boolean, boolean>;
2258
+ chatAuthorId: globalThis.ComputedRef<string | undefined>;
2259
+ chatProjectId: globalThis.ComputedRef<string | undefined>;
2260
+ isReadOnlyChat: globalThis.ComputedRef<boolean>;
2261
+ describeChat: (chatId: string, details: {
2262
+ authorId?: string;
2263
+ projectId?: string | null;
2264
+ }) => void;
2257
2265
  searchConversations: (search: string) => Promise<ChatRecord[]>;
2258
2266
  loadChatFiles: () => Promise<void>;
2259
2267
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
@@ -2264,7 +2272,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2264
2272
  handleSubmit: () => Promise<void>;
2265
2273
  sendMessage: (text: string) => void;
2266
2274
  stopGeneration: () => Promise<void>;
2267
- startNewChat: () => Promise<string>;
2275
+ startNewChat: (options?: {
2276
+ projectId?: string;
2277
+ }) => Promise<string>;
2268
2278
  regenerate: (options?: Parameters<({ messageId, ...options }?: {
2269
2279
  messageId?: string;
2270
2280
  } & ChatRequestOptions) => Promise<void>>[0]) => Promise<void>;
@@ -2293,7 +2303,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2293
2303
  focusInput: () => void;
2294
2304
  renameChatTitle: (chatId: string, title: string) => Promise<void>;
2295
2305
  deleteChat: (chatId: string) => Promise<void>;
2296
- }, "name" | "input" | "model" | "externalContext" | "gatewayOptions" | "fallbackModels" | "userId" | "agentId" | "headers" | "conversations" | "agentModel" | "agentType" | "baseUrl" | "pagePointer" | "basePath" | "agentInterface" | "agentTools" | "revisedAnswers" | "actionsInput" | "agentFileUpload" | "agentVoice" | "agentHostTools" | "hostToolRegistry" | "hostToolsPending" | "agentPageAccess" | "pageToolRegistry" | "pageFormsProvider" | "pageAction" | "hostStepTitles" | "hostStepChanges" | "pageControlActive" | "isWorking" | "hostConfirmation" | "pageAccessOff" | "agentConfirmations" | "agentSelectionActions" | "pagePointerStart" | "pagePointing" | "systemTheme" | "hideWelcomeMessage" | "isLoadingConversations" | "hasMoreConversations" | "isLoadingMoreConversations" | "chatFiles" | "isLoadingChatFiles" | "pendingAttachments" | "fileLimitError" | "isConversationBlocked" | "chatError" | "activeView" | "inputFocusRequest" | "messageFeedbacks" | "feedbackDialogMessage" | "isFeedbackSubmitting" | "isFeedbackSubmitted" | "feedbackSubmitError" | "isLeadSubmitted" | "isLoadingSubmitLead" | "submitLeadError">, Pick<{
2306
+ }, "name" | "input" | "model" | "externalContext" | "gatewayOptions" | "fallbackModels" | "userId" | "agentId" | "headers" | "conversations" | "agentModel" | "agentType" | "baseUrl" | "pagePointer" | "basePath" | "agentInterface" | "agentTools" | "revisedAnswers" | "actionsInput" | "agentFileUpload" | "agentVoice" | "agentHostTools" | "hostToolRegistry" | "hostToolsPending" | "agentPageAccess" | "pageToolRegistry" | "pageFormsProvider" | "pageAction" | "hostStepTitles" | "hostStepChanges" | "pageControlActive" | "isWorking" | "hostConfirmation" | "pageAccessOff" | "agentConfirmations" | "agentSelectionActions" | "pagePointerStart" | "pagePointing" | "systemTheme" | "hideWelcomeMessage" | "isLoadingConversations" | "hasMoreConversations" | "isLoadingMoreConversations" | "chatFiles" | "isLoadingChatFiles" | "pendingAttachments" | "fileLimitError" | "isConversationBlocked" | "chatError" | "activeView" | "inputFocusRequest" | "messageFeedbacks" | "feedbackDialogMessage" | "isFeedbackSubmitting" | "isFeedbackSubmitted" | "feedbackSubmitError" | "isLeadSubmitted" | "isLoadingSubmitLead" | "submitLeadError" | "projectsEnabled">, Pick<{
2297
2307
  apiClient: globalThis.ComputedRef< ChatbotApiClient>;
2298
2308
  baseUrl: globalThis.Ref<string, string>;
2299
2309
  basePath: globalThis.Ref<string | undefined, string | undefined>;
@@ -4501,6 +4511,14 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4501
4511
  initialize: (id: string, chatId: string) => Promise<void>;
4502
4512
  loadConversations: (id: string) => Promise<void>;
4503
4513
  loadMoreConversations: () => Promise<void>;
4514
+ projectsEnabled: globalThis.Ref<boolean, boolean>;
4515
+ chatAuthorId: globalThis.ComputedRef<string | undefined>;
4516
+ chatProjectId: globalThis.ComputedRef<string | undefined>;
4517
+ isReadOnlyChat: globalThis.ComputedRef<boolean>;
4518
+ describeChat: (chatId: string, details: {
4519
+ authorId?: string;
4520
+ projectId?: string | null;
4521
+ }) => void;
4504
4522
  searchConversations: (search: string) => Promise<ChatRecord[]>;
4505
4523
  loadChatFiles: () => Promise<void>;
4506
4524
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
@@ -4511,7 +4529,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4511
4529
  handleSubmit: () => Promise<void>;
4512
4530
  sendMessage: (text: string) => void;
4513
4531
  stopGeneration: () => Promise<void>;
4514
- startNewChat: () => Promise<string>;
4532
+ startNewChat: (options?: {
4533
+ projectId?: string;
4534
+ }) => Promise<string>;
4515
4535
  regenerate: (options?: Parameters<({ messageId, ...options }?: {
4516
4536
  messageId?: string;
4517
4537
  } & ChatRequestOptions) => Promise<void>>[0]) => Promise<void>;
@@ -4540,7 +4560,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4540
4560
  focusInput: () => void;
4541
4561
  renameChatTitle: (chatId: string, title: string) => Promise<void>;
4542
4562
  deleteChat: (chatId: string) => Promise<void>;
4543
- }, "actions" | "messages" | "chat" | "apiClient" | "pageNoticeLevel" | "pageAccessAvailable" | "confirmationsAvailable" | "confirmationMode" | "pagePointerAvailable" | "isDark" | "isAttachmentLimitReached" | "localChatId" | "inputMessagePlaceholder" | "runningChatIds" | "backgroundAnswers" | "canQueue" | "queuedMessages">, Pick<{
4563
+ }, "actions" | "messages" | "chat" | "apiClient" | "pageNoticeLevel" | "pageAccessAvailable" | "confirmationsAvailable" | "confirmationMode" | "pagePointerAvailable" | "isDark" | "isAttachmentLimitReached" | "localChatId" | "inputMessagePlaceholder" | "runningChatIds" | "backgroundAnswers" | "canQueue" | "queuedMessages" | "chatAuthorId" | "chatProjectId" | "isReadOnlyChat">, Pick<{
4544
4564
  apiClient: globalThis.ComputedRef< ChatbotApiClient>;
4545
4565
  baseUrl: globalThis.Ref<string, string>;
4546
4566
  basePath: globalThis.Ref<string | undefined, string | undefined>;
@@ -6748,6 +6768,14 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6748
6768
  initialize: (id: string, chatId: string) => Promise<void>;
6749
6769
  loadConversations: (id: string) => Promise<void>;
6750
6770
  loadMoreConversations: () => Promise<void>;
6771
+ projectsEnabled: globalThis.Ref<boolean, boolean>;
6772
+ chatAuthorId: globalThis.ComputedRef<string | undefined>;
6773
+ chatProjectId: globalThis.ComputedRef<string | undefined>;
6774
+ isReadOnlyChat: globalThis.ComputedRef<boolean>;
6775
+ describeChat: (chatId: string, details: {
6776
+ authorId?: string;
6777
+ projectId?: string | null;
6778
+ }) => void;
6751
6779
  searchConversations: (search: string) => Promise<ChatRecord[]>;
6752
6780
  loadChatFiles: () => Promise<void>;
6753
6781
  refreshMessages: () => Promise<"pending" | "caught-up" | "indeterminate">;
@@ -6758,7 +6786,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6758
6786
  handleSubmit: () => Promise<void>;
6759
6787
  sendMessage: (text: string) => void;
6760
6788
  stopGeneration: () => Promise<void>;
6761
- startNewChat: () => Promise<string>;
6789
+ startNewChat: (options?: {
6790
+ projectId?: string;
6791
+ }) => Promise<string>;
6762
6792
  regenerate: (options?: Parameters<({ messageId, ...options }?: {
6763
6793
  messageId?: string;
6764
6794
  } & ChatRequestOptions) => Promise<void>>[0]) => Promise<void>;
@@ -6787,4 +6817,4 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6787
6817
  focusInput: () => void;
6788
6818
  renameChatTitle: (chatId: string, title: string) => Promise<void>;
6789
6819
  deleteChat: (chatId: string) => Promise<void>;
6790
- }, "regenerate" | "sendMessage" | "addToolOutput" | "addToolApprovalResponse" | "stopHostActions" | "voicePageTools" | "cancelVoicePageCalls" | "closePageNotice" | "respondHostConfirmation" | "setPageAccessOff" | "sendSelection" | "setConfirmationMode" | "openBackgroundAnswer" | "dismissBackgroundAnswer" | "removeQueuedMessage" | "editQueuedMessage" | "buildDeviceContext" | "initialize" | "loadConversations" | "loadMoreConversations" | "searchConversations" | "loadChatFiles" | "refreshMessages" | "appendMessage" | "getChatFileUrl" | "getChatFilePreviewUrl" | "deleteChatFile" | "handleSubmit" | "stopGeneration" | "startNewChat" | "handleFileSelect" | "discardPendingAttachment" | "replacePendingAttachment" | "retryPendingAttachment" | "clearFileLimitError" | "clearPendingAttachments" | "onUpvote" | "onDownvote" | "onFeedback" | "onFeedbackSubmit" | "onLeadSubmit" | "navigate" | "focusInput" | "renameChatTitle" | "deleteChat">>;
6820
+ }, "regenerate" | "sendMessage" | "addToolOutput" | "addToolApprovalResponse" | "stopHostActions" | "voicePageTools" | "cancelVoicePageCalls" | "closePageNotice" | "respondHostConfirmation" | "setPageAccessOff" | "sendSelection" | "setConfirmationMode" | "openBackgroundAnswer" | "dismissBackgroundAnswer" | "removeQueuedMessage" | "editQueuedMessage" | "buildDeviceContext" | "initialize" | "loadConversations" | "loadMoreConversations" | "describeChat" | "searchConversations" | "loadChatFiles" | "refreshMessages" | "appendMessage" | "getChatFileUrl" | "getChatFilePreviewUrl" | "deleteChatFile" | "handleSubmit" | "stopGeneration" | "startNewChat" | "handleFileSelect" | "discardPendingAttachment" | "replacePendingAttachment" | "retryPendingAttachment" | "clearFileLimitError" | "clearPendingAttachments" | "onUpvote" | "onDownvote" | "onFeedback" | "onFeedbackSubmit" | "onLeadSubmit" | "navigate" | "focusInput" | "renameChatTitle" | "deleteChat">>;
@@ -40,6 +40,16 @@ export declare const ChatProjectMemberSchema: z.ZodObject<{
40
40
  joinedAt: z.ZodCoercedDate<unknown>;
41
41
  }, z.core.$strip>;
42
42
  export type ChatProjectMember = z.infer<typeof ChatProjectMemberSchema>;
43
+ /**
44
+ * A user the owner can add: a member of the project's organization who uses
45
+ * its agent, not in the project yet.
46
+ */
47
+ export declare const ChatProjectMemberCandidateSchema: z.ZodObject<{
48
+ userId: z.ZodString;
49
+ name: z.ZodString;
50
+ email: z.ZodString;
51
+ }, z.core.$strip>;
52
+ export type ChatProjectMemberCandidate = z.infer<typeof ChatProjectMemberCandidateSchema>;
43
53
  export declare const ChatProjectCreateDtoSchema: z.ZodObject<{
44
54
  name: z.ZodString;
45
55
  instructions: z.ZodOptional<z.ZodString>;