@fencyai/react 0.1.82 → 0.1.84

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 (136) hide show
  1. package/dist/assets/index.css +1 -0
  2. package/dist/chat/Chat.d.ts +8 -0
  3. package/dist/chat/ChatResponse.d.ts +5 -0
  4. package/dist/chat/EditableContent.d.ts +11 -0
  5. package/dist/chat/GhostWrapper.d.ts +10 -0
  6. package/dist/chat/MentionCategory.d.ts +5 -0
  7. package/dist/chat/MentionInput.d.ts +20 -0
  8. package/dist/chat/MentionOption.d.ts +5 -0
  9. package/dist/chat/MentionPopover.d.ts +10 -0
  10. package/dist/chat/hooks/useContentEditable.d.ts +10 -0
  11. package/dist/chat/hooks/useKeyboardNavigation.d.ts +10 -0
  12. package/dist/chat/hooks/useMentionParser.d.ts +15 -0
  13. package/dist/chat/hooks/useMentionRenderer.d.ts +22 -0
  14. package/dist/chat/hooks/useMentionState.d.ts +14 -0
  15. package/{lib → dist}/hooks/useFencyEventSource/index.d.ts +1 -1
  16. package/dist/hooks/useListMemoryTypes/index.d.ts +2 -0
  17. package/dist/hooks/usePaginatedQuery/index.d.ts +51 -0
  18. package/{lib → dist}/index.d.ts +8 -6
  19. package/dist/index.js +34858 -0
  20. package/{lib → dist}/provider/FencyContextValue.d.ts +1 -1
  21. package/{lib → dist}/provider/useFencyContext.d.ts +1 -1
  22. package/dist/types/AiModel.d.ts +2 -0
  23. package/{lib → dist}/types/CreateGeminiChatCompletionParams.d.ts +1 -2
  24. package/{lib → dist}/types/CreateOpenAiChatCompletionParams.d.ts +1 -2
  25. package/dist/types/FencyContext.d.ts +12 -0
  26. package/dist/types/ListMemoryTypesPage.d.ts +7 -0
  27. package/{lib/types/ListFilesParams.d.ts → dist/types/ListMemoryTypesParams.d.ts} +1 -1
  28. package/dist/types/ListMemoryTypesResult.d.ts +9 -0
  29. package/{lib → dist}/types/UseBasicChatCompletions.d.ts +3 -3
  30. package/dist/types/UseListMemoryTypes.d.ts +10 -0
  31. package/dist/types/UseListMemoryTypesProps.d.ts +3 -0
  32. package/{lib → dist}/types/UseStreamingChatCompletions.d.ts +3 -3
  33. package/{lib → dist}/types/index.d.ts +5 -13
  34. package/package.json +23 -15
  35. package/lib/hooks/useBasicChatCompletions/index.js +0 -92
  36. package/lib/hooks/useCreateFiles/index.d.ts +0 -3
  37. package/lib/hooks/useCreateFiles/index.js +0 -72
  38. package/lib/hooks/useFencyEventSource/index.js +0 -39
  39. package/lib/hooks/useListFiles/index.d.ts +0 -3
  40. package/lib/hooks/useListFiles/index.js +0 -125
  41. package/lib/hooks/useSearchFiles/index.d.ts +0 -2
  42. package/lib/hooks/useSearchFiles/index.js +0 -26
  43. package/lib/hooks/useStream/index.js +0 -73
  44. package/lib/hooks/useStream/toStreamData.js +0 -116
  45. package/lib/hooks/useStreamingChatCompletions/index.js +0 -205
  46. package/lib/hooks/useStructuredChatCompletions/index.js +0 -124
  47. package/lib/hooks/useWebsites/index.d.ts +0 -3
  48. package/lib/hooks/useWebsites/index.js +0 -55
  49. package/lib/index.js +0 -14
  50. package/lib/provider/FencyContextValue.js +0 -3
  51. package/lib/provider/FencyProvider.js +0 -32
  52. package/lib/provider/useFencyContext.js +0 -12
  53. package/lib/types/AiModel.d.ts +0 -4
  54. package/lib/types/AiModel.js +0 -1
  55. package/lib/types/BasicChatCompletion.js +0 -1
  56. package/lib/types/BasicChatCompletionData.js +0 -1
  57. package/lib/types/BasicChatCompletionResponse.js +0 -1
  58. package/lib/types/CreateBasicChatCompletionParams.js +0 -1
  59. package/lib/types/CreateClaudeChatCompletionParams.js +0 -1
  60. package/lib/types/CreateFileParams.d.ts +0 -9
  61. package/lib/types/CreateFileParams.js +0 -1
  62. package/lib/types/CreateGeminiChatCompletionParams.js +0 -1
  63. package/lib/types/CreateGenericChatCompletionParams.js +0 -169
  64. package/lib/types/CreateOpenAiChatCompletionParams.js +0 -1
  65. package/lib/types/CreateStreamResponse.js +0 -1
  66. package/lib/types/CreateStreamingChatCompletionParams.js +0 -1
  67. package/lib/types/CreateStreamingChatCompletionResponse.js +0 -1
  68. package/lib/types/CreateStructuredChatCompletionParams.js +0 -1
  69. package/lib/types/CreateWebsiteParams.d.ts +0 -5
  70. package/lib/types/CreateWebsiteParams.js +0 -1
  71. package/lib/types/FencyContext.d.ts +0 -6
  72. package/lib/types/FencyContext.js +0 -1
  73. package/lib/types/FencyProviderProps.js +0 -1
  74. package/lib/types/ListFilesPage.d.ts +0 -8
  75. package/lib/types/ListFilesPage.js +0 -1
  76. package/lib/types/ListFilesParams.js +0 -1
  77. package/lib/types/ListFilesResult.d.ts +0 -9
  78. package/lib/types/ListFilesResult.js +0 -1
  79. package/lib/types/SearchFilesParams.d.ts +0 -6
  80. package/lib/types/SearchFilesParams.js +0 -1
  81. package/lib/types/StreamData.js +0 -1
  82. package/lib/types/StreamError.js +0 -1
  83. package/lib/types/StreamingChatCompletion.js +0 -1
  84. package/lib/types/StreamingChatCompletionData.js +0 -1
  85. package/lib/types/StructuredChatCompletion.js +0 -1
  86. package/lib/types/StructuredChatCompletionData.js +0 -1
  87. package/lib/types/StructuredChatCompletionResponse.js +0 -1
  88. package/lib/types/UseBasicChatCompletions.js +0 -1
  89. package/lib/types/UseCreateFiles.d.ts +0 -6
  90. package/lib/types/UseCreateFiles.js +0 -1
  91. package/lib/types/UseCreateFilesProps.d.ts +0 -6
  92. package/lib/types/UseCreateFilesProps.js +0 -1
  93. package/lib/types/UseListFiles.d.ts +0 -10
  94. package/lib/types/UseListFiles.js +0 -1
  95. package/lib/types/UseListFilesProps.d.ts +0 -3
  96. package/lib/types/UseListFilesProps.js +0 -1
  97. package/lib/types/UseSearchFiles.d.ts +0 -6
  98. package/lib/types/UseSearchFiles.js +0 -1
  99. package/lib/types/UseStream.js +0 -1
  100. package/lib/types/UseStreamProps.js +0 -1
  101. package/lib/types/UseStreamingChatCompletions.js +0 -1
  102. package/lib/types/UseStreamingChatCompletionsProps.js +0 -1
  103. package/lib/types/UseStructuredChatCompletions.js +0 -1
  104. package/lib/types/UseWebsites.d.ts +0 -6
  105. package/lib/types/UseWebsites.js +0 -1
  106. package/lib/types/UseWebsitesProps.d.ts +0 -5
  107. package/lib/types/UseWebsitesProps.js +0 -1
  108. package/lib/types/index.js +0 -48
  109. /package/{lib → dist}/hooks/useBasicChatCompletions/index.d.ts +0 -0
  110. /package/{lib → dist}/hooks/useStream/index.d.ts +0 -0
  111. /package/{lib → dist}/hooks/useStream/toStreamData.d.ts +0 -0
  112. /package/{lib → dist}/hooks/useStreamingChatCompletions/index.d.ts +0 -0
  113. /package/{lib → dist}/hooks/useStructuredChatCompletions/index.d.ts +0 -0
  114. /package/{lib → dist}/provider/FencyProvider.d.ts +0 -0
  115. /package/{lib → dist}/types/BasicChatCompletion.d.ts +0 -0
  116. /package/{lib → dist}/types/BasicChatCompletionData.d.ts +0 -0
  117. /package/{lib → dist}/types/BasicChatCompletionResponse.d.ts +0 -0
  118. /package/{lib → dist}/types/CreateBasicChatCompletionParams.d.ts +0 -0
  119. /package/{lib → dist}/types/CreateClaudeChatCompletionParams.d.ts +0 -0
  120. /package/{lib → dist}/types/CreateGenericChatCompletionParams.d.ts +0 -0
  121. /package/{lib → dist}/types/CreateStreamResponse.d.ts +0 -0
  122. /package/{lib → dist}/types/CreateStreamingChatCompletionParams.d.ts +0 -0
  123. /package/{lib → dist}/types/CreateStreamingChatCompletionResponse.d.ts +0 -0
  124. /package/{lib → dist}/types/CreateStructuredChatCompletionParams.d.ts +0 -0
  125. /package/{lib → dist}/types/FencyProviderProps.d.ts +0 -0
  126. /package/{lib → dist}/types/StreamData.d.ts +0 -0
  127. /package/{lib → dist}/types/StreamError.d.ts +0 -0
  128. /package/{lib → dist}/types/StreamingChatCompletion.d.ts +0 -0
  129. /package/{lib → dist}/types/StreamingChatCompletionData.d.ts +0 -0
  130. /package/{lib → dist}/types/StructuredChatCompletion.d.ts +0 -0
  131. /package/{lib → dist}/types/StructuredChatCompletionData.d.ts +0 -0
  132. /package/{lib → dist}/types/StructuredChatCompletionResponse.d.ts +0 -0
  133. /package/{lib → dist}/types/UseStream.d.ts +0 -0
  134. /package/{lib → dist}/types/UseStreamProps.d.ts +0 -0
  135. /package/{lib → dist}/types/UseStreamingChatCompletionsProps.d.ts +0 -0
  136. /package/{lib → dist}/types/UseStructuredChatCompletions.d.ts +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.