@arbidocs/react 0.5.111 → 0.5.113

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 (972) hide show
  1. package/dist/account/client.js +96 -0
  2. package/dist/account/client.js.map +7 -0
  3. package/dist/account/delete.js +70 -0
  4. package/dist/account/delete.js.map +7 -0
  5. package/dist/account/didit.js +34 -0
  6. package/dist/account/didit.js.map +7 -0
  7. package/dist/account/dismissed-tips.js +33 -0
  8. package/dist/account/dismissed-tips.js.map +7 -0
  9. package/dist/account/email.js +84 -0
  10. package/dist/account/email.js.map +7 -0
  11. package/dist/account/entitlements.js +47 -0
  12. package/dist/account/entitlements.js.map +7 -0
  13. package/dist/account/identity.js +270 -0
  14. package/dist/account/identity.js.map +7 -0
  15. package/dist/account/index.js +93 -0
  16. package/dist/account/index.js.map +7 -0
  17. package/dist/account/notifications.js +59 -0
  18. package/dist/account/notifications.js.map +7 -0
  19. package/dist/account/password.js +103 -0
  20. package/dist/account/password.js.map +7 -0
  21. package/dist/account/profile.js +116 -0
  22. package/dist/account/profile.js.map +7 -0
  23. package/dist/account/recovery.js +13 -0
  24. package/dist/account/recovery.js.map +7 -0
  25. package/dist/account/relevance.js +82 -0
  26. package/dist/account/relevance.js.map +7 -0
  27. package/dist/account/sessions.js +37 -0
  28. package/dist/account/sessions.js.map +7 -0
  29. package/dist/account/settings.js +39 -0
  30. package/dist/account/settings.js.map +7 -0
  31. package/dist/account/table-views.js +16 -0
  32. package/dist/account/table-views.js.map +7 -0
  33. package/dist/ai/AiAnswer.js +83 -0
  34. package/dist/ai/AiAnswer.js.map +7 -0
  35. package/dist/ai/AiMarkdown.js +40 -0
  36. package/dist/ai/AiMarkdown.js.map +7 -0
  37. package/dist/ai/ArtifactCanvas.js +193 -0
  38. package/dist/ai/ArtifactCanvas.js.map +7 -0
  39. package/dist/ai/CitationRenderer.js +413 -0
  40. package/dist/ai/CitationRenderer.js.map +7 -0
  41. package/dist/{chunk-WL2Y2T47.js → ai/MarkdownRenderer.js} +35 -101
  42. package/dist/ai/MarkdownRenderer.js.map +7 -0
  43. package/dist/ai/MessageArtifactCard.js +75 -0
  44. package/dist/ai/MessageArtifactCard.js.map +7 -0
  45. package/dist/ai/PassageCard.js +79 -0
  46. package/dist/ai/PassageCard.js.map +7 -0
  47. package/dist/ai/engine.js +110 -0
  48. package/dist/ai/engine.js.map +7 -0
  49. package/dist/ai/index.js +63 -0
  50. package/dist/ai/index.js.map +7 -0
  51. package/dist/ai/markdown-base-components.js +37 -0
  52. package/dist/ai/markdown-base-components.js.map +7 -0
  53. package/dist/ai/markdown-streaming-context.js +6 -0
  54. package/dist/ai/markdown-streaming-context.js.map +7 -0
  55. package/dist/{chunk-VSCU7K4V.js → ai/normalize-citations.js} +12 -19
  56. package/dist/ai/normalize-citations.js.map +7 -0
  57. package/dist/ai/redline.js +41 -0
  58. package/dist/ai/redline.js.map +7 -0
  59. package/dist/ai/split-markdown-blocks.js +40 -0
  60. package/dist/ai/split-markdown-blocks.js.map +7 -0
  61. package/dist/{chunk-UW2SGTI5.js → ai/stored-markdown.js} +41 -93
  62. package/dist/ai/stored-markdown.js.map +7 -0
  63. package/dist/annotations/AnnotationPageOverlay.js +807 -0
  64. package/dist/annotations/AnnotationPageOverlay.js.map +7 -0
  65. package/dist/annotations/AnnotationToolbar.js +398 -0
  66. package/dist/annotations/AnnotationToolbar.js.map +7 -0
  67. package/dist/annotations/FreezeDialog.js +170 -0
  68. package/dist/annotations/FreezeDialog.js.map +7 -0
  69. package/dist/annotations/ProductionDialog.js +354 -0
  70. package/dist/annotations/ProductionDialog.js.map +7 -0
  71. package/dist/annotations/controller.js +49 -0
  72. package/dist/annotations/controller.js.map +7 -0
  73. package/dist/annotations/freeze/browser.js +21 -0
  74. package/dist/annotations/freeze/browser.js.map +7 -0
  75. package/dist/annotations/freeze/bundle.js +201 -0
  76. package/dist/annotations/freeze/bundle.js.map +7 -0
  77. package/dist/annotations/freeze/coords.js +37 -0
  78. package/dist/annotations/freeze/coords.js.map +7 -0
  79. package/dist/annotations/freeze/freeze.js +261 -0
  80. package/dist/annotations/freeze/freeze.js.map +7 -0
  81. package/dist/annotations/freeze/hash.js +28 -0
  82. package/dist/annotations/freeze/hash.js.map +7 -0
  83. package/dist/annotations/freeze/index-page.js +78 -0
  84. package/dist/annotations/freeze/index-page.js.map +7 -0
  85. package/dist/annotations/freeze/index.js +28 -22
  86. package/dist/annotations/freeze/index.js.map +7 -1
  87. package/dist/annotations/freeze/raster.js +208 -0
  88. package/dist/annotations/freeze/raster.js.map +7 -0
  89. package/dist/annotations/freeze/stamp.js +117 -0
  90. package/dist/annotations/freeze/stamp.js.map +7 -0
  91. package/dist/annotations/freeze/types.js +14 -0
  92. package/dist/annotations/freeze/types.js.map +7 -0
  93. package/dist/annotations/freeze/vector.js +283 -0
  94. package/dist/annotations/freeze/vector.js.map +7 -0
  95. package/dist/annotations/geometry.js +81 -0
  96. package/dist/annotations/geometry.js.map +7 -0
  97. package/dist/annotations/index.js +125 -6
  98. package/dist/annotations/index.js.map +7 -1
  99. package/dist/annotations/merge.js +53 -0
  100. package/dist/annotations/merge.js.map +7 -0
  101. package/dist/{chunk-T3USOSVN.js → annotations/model.js} +23 -16
  102. package/dist/annotations/model.js.map +7 -0
  103. package/dist/annotations/overlay-geometry.js +41 -0
  104. package/dist/annotations/overlay-geometry.js.map +7 -0
  105. package/dist/annotations/redaction-log.js +33 -0
  106. package/dist/annotations/redaction-log.js.map +7 -0
  107. package/dist/annotations/selection-marks.js +122 -0
  108. package/dist/annotations/selection-marks.js.map +7 -0
  109. package/dist/annotations/state.js +140 -0
  110. package/dist/annotations/state.js.map +7 -0
  111. package/dist/annotations/store.js +49 -0
  112. package/dist/annotations/store.js.map +7 -0
  113. package/dist/annotations/useAnnotationLayer.js +306 -0
  114. package/dist/annotations/useAnnotationLayer.js.map +7 -0
  115. package/dist/annotations/useAnnotationShortcuts.js +31 -0
  116. package/dist/annotations/useAnnotationShortcuts.js.map +7 -0
  117. package/dist/annotations/useTextSelectionMarks.js +100 -0
  118. package/dist/annotations/useTextSelectionMarks.js.map +7 -0
  119. package/dist/artifacts/artifact-kind.js +19 -0
  120. package/dist/artifacts/artifact-kind.js.map +7 -0
  121. package/dist/artifacts/index.js +89 -571
  122. package/dist/artifacts/index.js.map +7 -1
  123. package/dist/{chunk-WUTL62MC.js → artifacts/normalize-markdown.js} +12 -14
  124. package/dist/artifacts/normalize-markdown.js.map +7 -0
  125. package/dist/artifacts/redline-core.js +12 -3
  126. package/dist/artifacts/redline-core.js.map +7 -1
  127. package/dist/{chunk-74N436VK.js → artifacts/redline-diff.js} +10 -9
  128. package/dist/artifacts/redline-diff.js.map +7 -0
  129. package/dist/artifacts/redline-engine.js +14 -0
  130. package/dist/artifacts/redline-engine.js.map +7 -0
  131. package/dist/artifacts/renderArtifactMarkdown.js +9 -0
  132. package/dist/artifacts/renderArtifactMarkdown.js.map +7 -0
  133. package/dist/artifacts/useArtifactEditSession.js +183 -0
  134. package/dist/artifacts/useArtifactEditSession.js.map +7 -0
  135. package/dist/artifacts/useArtifactSession.js +173 -0
  136. package/dist/artifacts/useArtifactSession.js.map +7 -0
  137. package/dist/artifacts/useArtifactSource.js +16 -0
  138. package/dist/artifacts/useArtifactSource.js.map +7 -0
  139. package/dist/artifacts/useArtifactText.js +78 -0
  140. package/dist/artifacts/useArtifactText.js.map +7 -0
  141. package/dist/artifacts/useRedline.js +65 -0
  142. package/dist/artifacts/useRedline.js.map +7 -0
  143. package/dist/artifacts/useStreamedArtifact.js +74 -0
  144. package/dist/artifacts/useStreamedArtifact.js.map +7 -0
  145. package/dist/artifacts/versions.js +68 -0
  146. package/dist/artifacts/versions.js.map +7 -0
  147. package/dist/billing.js +200 -0
  148. package/dist/billing.js.map +7 -0
  149. package/dist/boot-timeout.js +19 -0
  150. package/dist/boot-timeout.js.map +7 -0
  151. package/dist/calendar/accounts.js +213 -0
  152. package/dist/calendar/accounts.js.map +7 -0
  153. package/dist/calendar/hooks.js +409 -0
  154. package/dist/calendar/hooks.js.map +7 -0
  155. package/dist/calendar/index.js +31 -0
  156. package/dist/calendar/index.js.map +7 -0
  157. package/dist/calendar/keys.js +5 -0
  158. package/dist/calendar/keys.js.map +7 -0
  159. package/dist/calendar/offline/outbox.js +231 -0
  160. package/dist/calendar/offline/outbox.js.map +7 -0
  161. package/dist/calendar/offline/runtime.js +109 -0
  162. package/dist/calendar/offline/runtime.js.map +7 -0
  163. package/dist/calendar/offline/support.js +41 -0
  164. package/dist/calendar/offline/support.js.map +7 -0
  165. package/dist/calendar/support.js +34 -0
  166. package/dist/calendar/support.js.map +7 -0
  167. package/dist/calls/actions.js +226 -0
  168. package/dist/calls/actions.js.map +7 -0
  169. package/dist/calls/events.js +138 -0
  170. package/dist/calls/events.js.map +7 -0
  171. package/dist/calls/gate.js +19 -0
  172. package/dist/calls/gate.js.map +7 -0
  173. package/dist/calls/hooks.js +115 -0
  174. package/dist/calls/hooks.js.map +7 -0
  175. package/dist/calls/in-call-chat.js +132 -0
  176. package/dist/calls/in-call-chat.js.map +7 -0
  177. package/dist/calls/index.js +24 -0
  178. package/dist/calls/index.js.map +7 -0
  179. package/dist/calls/keys.js +17 -0
  180. package/dist/calls/keys.js.map +7 -0
  181. package/dist/calls/livekit/index.js +6 -958
  182. package/dist/calls/livekit/index.js.map +7 -1
  183. package/dist/calls/livekit/room.js +98 -0
  184. package/dist/calls/livekit/room.js.map +7 -0
  185. package/dist/calls/livekit/useCallRecorder.js +219 -0
  186. package/dist/calls/livekit/useCallRecorder.js.map +7 -0
  187. package/dist/calls/livekit/useCallTranscriber.js +309 -0
  188. package/dist/calls/livekit/useCallTranscriber.js.map +7 -0
  189. package/dist/calls/livekit/useHostMuteNotice.js +29 -0
  190. package/dist/calls/livekit/useHostMuteNotice.js.map +7 -0
  191. package/dist/calls/livekit/useInCallChat.js +161 -0
  192. package/dist/calls/livekit/useInCallChat.js.map +7 -0
  193. package/dist/calls/livekit/useWebinar.js +239 -0
  194. package/dist/calls/livekit/useWebinar.js.map +7 -0
  195. package/dist/calls/meeting-chat.js +149 -0
  196. package/dist/calls/meeting-chat.js.map +7 -0
  197. package/dist/calls/moderation.js +50 -0
  198. package/dist/calls/moderation.js.map +7 -0
  199. package/dist/calls/open-meeting-chat.js +29 -0
  200. package/dist/calls/open-meeting-chat.js.map +7 -0
  201. package/dist/calls/read-only.js +24 -0
  202. package/dist/calls/read-only.js.map +7 -0
  203. package/dist/calls/recording-media.js +218 -0
  204. package/dist/calls/recording-media.js.map +7 -0
  205. package/dist/calls/recording-playback.js +260 -0
  206. package/dist/calls/recording-playback.js.map +7 -0
  207. package/dist/calls/recording.js +268 -0
  208. package/dist/calls/recording.js.map +7 -0
  209. package/dist/calls/save-to-thread.js +80 -0
  210. package/dist/calls/save-to-thread.js.map +7 -0
  211. package/dist/calls/session.js +134 -0
  212. package/dist/calls/session.js.map +7 -0
  213. package/dist/calls/transcript-format.js +147 -0
  214. package/dist/calls/transcript-format.js.map +7 -0
  215. package/dist/calls/transcription.js +101 -0
  216. package/dist/calls/transcription.js.map +7 -0
  217. package/dist/calls/webinar.js +71 -0
  218. package/dist/calls/webinar.js.map +7 -0
  219. package/dist/charge-watch.js +71 -0
  220. package/dist/charge-watch.js.map +7 -0
  221. package/dist/chat/ChatBubble.js +146 -0
  222. package/dist/chat/ChatBubble.js.map +7 -0
  223. package/dist/chat/ConversationScope.js +30 -0
  224. package/dist/chat/ConversationScope.js.map +7 -0
  225. package/dist/chat/active-config.js +20 -0
  226. package/dist/chat/active-config.js.map +7 -0
  227. package/dist/chat/agent-chat-owner.js +25 -0
  228. package/dist/chat/agent-chat-owner.js.map +7 -0
  229. package/dist/chat/chat-artifacts.js +64 -0
  230. package/dist/chat/chat-artifacts.js.map +7 -0
  231. package/dist/chat/citations.js +32 -0
  232. package/dist/chat/citations.js.map +7 -0
  233. package/dist/chat/config-model.js +10 -0
  234. package/dist/chat/config-model.js.map +7 -0
  235. package/dist/chat/conversation-cache.js +676 -0
  236. package/dist/chat/conversation-cache.js.map +7 -0
  237. package/dist/chat/conversation-events.js +57 -0
  238. package/dist/chat/conversation-events.js.map +7 -0
  239. package/dist/chat/conversation-mentions.js +58 -0
  240. package/dist/chat/conversation-mentions.js.map +7 -0
  241. package/dist/chat/conversation-workspace.js +58 -0
  242. package/dist/chat/conversation-workspace.js.map +7 -0
  243. package/dist/chat/mentions.js +116 -0
  244. package/dist/chat/mentions.js.map +7 -0
  245. package/dist/chat/open-document.js +106 -0
  246. package/dist/chat/open-document.js.map +7 -0
  247. package/dist/chat/orphaned.js +44 -0
  248. package/dist/chat/orphaned.js.map +7 -0
  249. package/dist/chat/pendingFirstTurn.js +30 -0
  250. package/dist/chat/pendingFirstTurn.js.map +7 -0
  251. package/dist/chat/reply-target.js +12 -0
  252. package/dist/chat/reply-target.js.map +7 -0
  253. package/dist/chat/run-finished.js +28 -0
  254. package/dist/chat/run-finished.js.map +7 -0
  255. package/dist/chat/run-state.js +91 -0
  256. package/dist/chat/run-state.js.map +7 -0
  257. package/dist/chat/stream-handlers.js +419 -0
  258. package/dist/chat/stream-handlers.js.map +7 -0
  259. package/dist/chat/thread-binding.js +76 -0
  260. package/dist/chat/thread-binding.js.map +7 -0
  261. package/dist/chat/thread-document.js +53 -0
  262. package/dist/chat/thread-document.js.map +7 -0
  263. package/dist/chat/turn-control.js +79 -0
  264. package/dist/chat/turn-control.js.map +7 -0
  265. package/dist/chat/useAgentRunControl.js +36 -0
  266. package/dist/chat/useAgentRunControl.js.map +7 -0
  267. package/dist/chat/useAnswerAgentQuestion.js +19 -0
  268. package/dist/chat/useAnswerAgentQuestion.js.map +7 -0
  269. package/dist/chat/useAskAgain.js +32 -0
  270. package/dist/chat/useAskAgain.js.map +7 -0
  271. package/dist/chat/useAutoSendDraft.js +17 -0
  272. package/dist/chat/useAutoSendDraft.js.map +7 -0
  273. package/dist/chat/useBranchNavigation.js +97 -0
  274. package/dist/chat/useBranchNavigation.js.map +7 -0
  275. package/dist/chat/useConnectRunStream.js +169 -0
  276. package/dist/chat/useConnectRunStream.js.map +7 -0
  277. package/dist/chat/useConversation.js +431 -0
  278. package/dist/chat/useConversation.js.map +7 -0
  279. package/dist/chat/useConversationActions.js +662 -0
  280. package/dist/chat/useConversationActions.js.map +7 -0
  281. package/dist/chat/useConversationData.js +143 -0
  282. package/dist/chat/useConversationData.js.map +7 -0
  283. package/dist/chat/useConversationDocuments.js +41 -0
  284. package/dist/chat/useConversationDocuments.js.map +7 -0
  285. package/dist/chat/useConversationSettings.js +78 -0
  286. package/dist/chat/useConversationSettings.js.map +7 -0
  287. package/dist/chat/useConversationTurn.js +31 -0
  288. package/dist/chat/useConversationTurn.js.map +7 -0
  289. package/dist/chat/useConversationWorkspace.js +12 -0
  290. package/dist/chat/useConversationWorkspace.js.map +7 -0
  291. package/dist/chat/useDeleteMessage.js +15 -0
  292. package/dist/chat/useDeleteMessage.js.map +7 -0
  293. package/dist/chat/useDocumentAutoAdd.js +73 -0
  294. package/dist/chat/useDocumentAutoAdd.js.map +7 -0
  295. package/dist/chat/useMessageTimer.js +39 -0
  296. package/dist/chat/useMessageTimer.js.map +7 -0
  297. package/dist/chat/useThinkingContent.js +67 -0
  298. package/dist/chat/useThinkingContent.js.map +7 -0
  299. package/dist/chat/useThreadDocument.js +61 -0
  300. package/dist/chat/useThreadDocument.js.map +7 -0
  301. package/dist/chat/workflow-run-titles.js +50 -0
  302. package/dist/chat/workflow-run-titles.js.map +7 -0
  303. package/dist/config/config-hooks.js +209 -0
  304. package/dist/config/config-hooks.js.map +7 -0
  305. package/dist/connectivity.js +72 -0
  306. package/dist/connectivity.js.map +7 -0
  307. package/dist/connectors/hooks.js +263 -0
  308. package/dist/connectors/hooks.js.map +7 -0
  309. package/dist/connectors/index.js +28 -0
  310. package/dist/connectors/index.js.map +7 -0
  311. package/dist/contacts.js +100 -0
  312. package/dist/contacts.js.map +7 -0
  313. package/dist/conversation-list.js +65 -0
  314. package/dist/conversation-list.js.map +7 -0
  315. package/dist/databases.js +195 -0
  316. package/dist/databases.js.map +7 -0
  317. package/dist/datasets/aggregate.js +281 -0
  318. package/dist/datasets/aggregate.js.map +7 -0
  319. package/dist/datasets/index.js +122 -0
  320. package/dist/datasets/index.js.map +7 -0
  321. package/dist/datasets/members.js +27 -0
  322. package/dist/datasets/members.js.map +7 -0
  323. package/dist/datasets/panel.js +44 -0
  324. package/dist/datasets/panel.js.map +7 -0
  325. package/dist/datasets/registry.js +47 -0
  326. package/dist/datasets/registry.js.map +7 -0
  327. package/dist/datasets/rows-source.js +44 -0
  328. package/dist/datasets/rows-source.js.map +7 -0
  329. package/dist/datasets/sources/activity.js +83 -0
  330. package/dist/datasets/sources/activity.js.map +7 -0
  331. package/dist/datasets/sources/conversations.js +74 -0
  332. package/dist/datasets/sources/conversations.js.map +7 -0
  333. package/dist/datasets/sources/database.js +209 -0
  334. package/dist/datasets/sources/database.js.map +7 -0
  335. package/dist/datasets/sources/documents.js +93 -0
  336. package/dist/datasets/sources/documents.js.map +7 -0
  337. package/dist/datasets/sources/facts.js +56 -0
  338. package/dist/datasets/sources/facts.js.map +7 -0
  339. package/dist/datasets/sources/projects.js +117 -0
  340. package/dist/datasets/sources/projects.js.map +7 -0
  341. package/dist/datasets/sources/tags.js +67 -0
  342. package/dist/datasets/sources/tags.js.map +7 -0
  343. package/dist/datasets/sources/usage.js +268 -0
  344. package/dist/datasets/sources/usage.js.map +7 -0
  345. package/dist/datasets/sources/workflows.js +91 -0
  346. package/dist/datasets/sources/workflows.js.map +7 -0
  347. package/dist/datasets/sources/workspaces.js +67 -0
  348. package/dist/datasets/sources/workspaces.js.map +7 -0
  349. package/dist/datasets/store.js +194 -0
  350. package/dist/datasets/store.js.map +7 -0
  351. package/dist/datasets/types.js +14 -0
  352. package/dist/datasets/types.js.map +7 -0
  353. package/dist/directmessages/ConversationList.js +148 -0
  354. package/dist/directmessages/ConversationList.js.map +7 -0
  355. package/dist/directmessages/DateSeparator.js +8 -0
  356. package/dist/directmessages/DateSeparator.js.map +7 -0
  357. package/dist/directmessages/DmAvatar.js +29 -0
  358. package/dist/directmessages/DmAvatar.js.map +7 -0
  359. package/dist/directmessages/DmComposer.js +201 -0
  360. package/dist/directmessages/DmComposer.js.map +7 -0
  361. package/dist/directmessages/arrivals.js +29 -0
  362. package/dist/directmessages/arrivals.js.map +7 -0
  363. package/dist/directmessages/chat-cache.js +192 -0
  364. package/dist/directmessages/chat-cache.js.map +7 -0
  365. package/dist/directmessages/grouping.js +26 -0
  366. package/dist/directmessages/grouping.js.map +7 -0
  367. package/dist/directmessages/index.js +81 -0
  368. package/dist/directmessages/index.js.map +7 -0
  369. package/dist/directmessages/useChats.js +266 -0
  370. package/dist/directmessages/useChats.js.map +7 -0
  371. package/dist/directmessages/utils.js +23 -0
  372. package/dist/directmessages/utils.js.map +7 -0
  373. package/dist/document-tools/can-annotate.js +7 -0
  374. package/dist/document-tools/can-annotate.js.map +7 -0
  375. package/dist/document-tools/core.js +218 -12
  376. package/dist/document-tools/core.js.map +7 -1
  377. package/dist/document-tools/document-pdf.js +76 -0
  378. package/dist/document-tools/document-pdf.js.map +7 -0
  379. package/dist/document-tools/environment.js +136 -0
  380. package/dist/document-tools/environment.js.map +7 -0
  381. package/dist/document-tools/file-shares.js +112 -0
  382. package/dist/document-tools/file-shares.js.map +7 -0
  383. package/dist/document-tools/frozen-copy.js +27 -0
  384. package/dist/document-tools/frozen-copy.js.map +7 -0
  385. package/dist/document-tools/index.js +26 -148
  386. package/dist/document-tools/index.js.map +7 -1
  387. package/dist/document-tools/markup-download.js +51 -0
  388. package/dist/document-tools/markup-download.js.map +7 -0
  389. package/dist/document-tools/markup-store.js +138 -0
  390. package/dist/document-tools/markup-store.js.map +7 -0
  391. package/dist/document-tools/markup-transfer.js +88 -0
  392. package/dist/document-tools/markup-transfer.js.map +7 -0
  393. package/dist/document-tools/production.js +147 -0
  394. package/dist/document-tools/production.js.map +7 -0
  395. package/dist/document-tools/saved-signature.js +90 -0
  396. package/dist/document-tools/saved-signature.js.map +7 -0
  397. package/dist/document-tools/signature-requests.js +310 -0
  398. package/dist/document-tools/signature-requests.js.map +7 -0
  399. package/dist/document-tools/signing.js +127 -0
  400. package/dist/document-tools/signing.js.map +7 -0
  401. package/dist/document-tools/useDocumentBytes.js +38 -0
  402. package/dist/document-tools/useDocumentBytes.js.map +7 -0
  403. package/dist/document-tools/useDocumentMarkup.js +154 -0
  404. package/dist/document-tools/useDocumentMarkup.js.map +7 -0
  405. package/dist/document-tools/useIsOnline.js +13 -0
  406. package/dist/document-tools/useIsOnline.js.map +7 -0
  407. package/dist/document-tools/verification.js +60 -0
  408. package/dist/document-tools/verification.js.map +7 -0
  409. package/dist/documents/DocumentReview.js +220 -0
  410. package/dist/documents/DocumentReview.js.map +7 -0
  411. package/dist/documents/DraftTitleControls.js +41 -0
  412. package/dist/documents/DraftTitleControls.js.map +7 -0
  413. package/dist/documents/InlineMicButton.js +90 -0
  414. package/dist/documents/InlineMicButton.js.map +7 -0
  415. package/dist/documents/MicRecordingOverlay.js +29 -0
  416. package/dist/documents/MicRecordingOverlay.js.map +7 -0
  417. package/dist/documents/MicWaveformIndicator.js +68 -0
  418. package/dist/documents/MicWaveformIndicator.js.map +7 -0
  419. package/dist/documents/PhotoCapture.js +120 -0
  420. package/dist/documents/PhotoCapture.js.map +7 -0
  421. package/dist/documents/VideoCapture.js +129 -0
  422. package/dist/documents/VideoCapture.js.map +7 -0
  423. package/dist/documents/VoiceNoteRecorder.js +166 -0
  424. package/dist/documents/VoiceNoteRecorder.js.map +7 -0
  425. package/dist/documents/audio-segmenter.js +63 -0
  426. package/dist/documents/audio-segmenter.js.map +7 -0
  427. package/dist/documents/capture-frame.js +21 -0
  428. package/dist/documents/capture-frame.js.map +7 -0
  429. package/dist/documents/chunked-recorder.js +190 -0
  430. package/dist/documents/chunked-recorder.js.map +7 -0
  431. package/dist/documents/document-download.js +53 -0
  432. package/dist/documents/document-download.js.map +7 -0
  433. package/dist/documents/document-fields.js +109 -0
  434. package/dist/documents/document-fields.js.map +7 -0
  435. package/dist/documents/documents-cache.js +110 -0
  436. package/dist/documents/documents-cache.js.map +7 -0
  437. package/dist/documents/documents-data.js +128 -0
  438. package/dist/documents/documents-data.js.map +7 -0
  439. package/dist/documents/documents-loader.js +113 -0
  440. package/dist/documents/documents-loader.js.map +7 -0
  441. package/dist/documents/documents-writes.js +448 -0
  442. package/dist/documents/documents-writes.js.map +7 -0
  443. package/dist/documents/format-elapsed.js +10 -0
  444. package/dist/documents/format-elapsed.js.map +7 -0
  445. package/dist/documents/has-video-track.js +26 -0
  446. package/dist/documents/has-video-track.js.map +7 -0
  447. package/dist/documents/index.js +266 -0
  448. package/dist/documents/index.js.map +7 -0
  449. package/dist/documents/media-error.js +18 -0
  450. package/dist/documents/media-error.js.map +7 -0
  451. package/dist/documents/offline-documents.js +160 -0
  452. package/dist/documents/offline-documents.js.map +7 -0
  453. package/dist/documents/pending-sync.js +210 -0
  454. package/dist/documents/pending-sync.js.map +7 -0
  455. package/dist/documents/processing-live.js +122 -0
  456. package/dist/documents/processing-live.js.map +7 -0
  457. package/dist/documents/processing-order.js +59 -0
  458. package/dist/documents/processing-order.js.map +7 -0
  459. package/dist/documents/processing-settle.js +21 -0
  460. package/dist/documents/processing-settle.js.map +7 -0
  461. package/dist/documents/related-documents.js +133 -0
  462. package/dist/documents/related-documents.js.map +7 -0
  463. package/dist/documents/support.js +29 -0
  464. package/dist/documents/support.js.map +7 -0
  465. package/dist/documents/upload-files.js +169 -0
  466. package/dist/documents/upload-files.js.map +7 -0
  467. package/dist/documents/useAudioRecorder.js +315 -0
  468. package/dist/documents/useAudioRecorder.js.map +7 -0
  469. package/dist/documents/useCameraStream.js +35 -0
  470. package/dist/documents/useCameraStream.js.map +7 -0
  471. package/dist/documents/useDocumentThumbnails.js +71 -0
  472. package/dist/documents/useDocumentThumbnails.js.map +7 -0
  473. package/dist/documents/useDownloadDocuments.js +90 -0
  474. package/dist/documents/useDownloadDocuments.js.map +7 -0
  475. package/dist/documents/usePassageQuotes.js +37 -0
  476. package/dist/documents/usePassageQuotes.js.map +7 -0
  477. package/dist/documents/useUploadFiles.js +165 -0
  478. package/dist/documents/useUploadFiles.js.map +7 -0
  479. package/dist/documents/useUploadFromUrls.js +63 -0
  480. package/dist/documents/useUploadFromUrls.js.map +7 -0
  481. package/dist/documents/useVideoRecorder.js +62 -0
  482. package/dist/documents/useVideoRecorder.js.map +7 -0
  483. package/dist/entities/AgentMarkers.js +61 -0
  484. package/dist/entities/AgentMarkers.js.map +7 -0
  485. package/dist/entities/DocumentEntity.js +125 -0
  486. package/dist/entities/DocumentEntity.js.map +7 -0
  487. package/dist/entities/EntityPill.js +250 -0
  488. package/dist/entities/EntityPill.js.map +7 -0
  489. package/dist/entities/ProjectEntity.js +61 -0
  490. package/dist/entities/ProjectEntity.js.map +7 -0
  491. package/dist/entities/ShieldIcon.js +49 -0
  492. package/dist/entities/ShieldIcon.js.map +7 -0
  493. package/dist/entities/TagEntity.js +79 -0
  494. package/dist/entities/TagEntity.js.map +7 -0
  495. package/dist/entities/ThreadVisibilityIcon.js +15 -0
  496. package/dist/entities/ThreadVisibilityIcon.js.map +7 -0
  497. package/dist/entities/UserEntity.js +211 -0
  498. package/dist/entities/UserEntity.js.map +7 -0
  499. package/dist/entities/VerifiedBadge.js +19 -0
  500. package/dist/entities/VerifiedBadge.js.map +7 -0
  501. package/dist/entities/agent-avatar-colors.js +26 -0
  502. package/dist/entities/agent-avatar-colors.js.map +7 -0
  503. package/dist/entities/colors.js +64 -0
  504. package/dist/entities/colors.js.map +7 -0
  505. package/dist/entities/file-type.js +151 -0
  506. package/dist/entities/file-type.js.map +7 -0
  507. package/dist/entities/index.js +100 -0
  508. package/dist/entities/index.js.map +7 -0
  509. package/dist/entities/media-type.js +61 -0
  510. package/dist/entities/media-type.js.map +7 -0
  511. package/dist/entities/registry.js +385 -0
  512. package/dist/entities/registry.js.map +7 -0
  513. package/dist/entities/status.js +43 -0
  514. package/dist/entities/status.js.map +7 -0
  515. package/dist/entities/tag-kinds.js +23 -0
  516. package/dist/entities/tag-kinds.js.map +7 -0
  517. package/dist/entities/tag-types.js +44 -0
  518. package/dist/entities/tag-types.js.map +7 -0
  519. package/dist/entities/vocabulary.js +12 -0
  520. package/dist/entities/vocabulary.js.map +7 -0
  521. package/dist/entity-extraction.js +25 -0
  522. package/dist/entity-extraction.js.map +7 -0
  523. package/dist/facts-search.js +57 -0
  524. package/dist/facts-search.js.map +7 -0
  525. package/dist/facts.js +69 -0
  526. package/dist/facts.js.map +7 -0
  527. package/dist/hooks.js +320 -0
  528. package/dist/hooks.js.map +7 -0
  529. package/dist/host/ArbiHost.js +24 -0
  530. package/dist/host/ArbiHost.js.map +7 -0
  531. package/dist/host/assistant-copy.js +54 -0
  532. package/dist/host/assistant-copy.js.map +7 -0
  533. package/dist/host/config.js +9 -0
  534. package/dist/host/config.js.map +7 -0
  535. package/dist/host/context.js +10 -0
  536. package/dist/host/context.js.map +7 -0
  537. package/dist/host/features.js +144 -0
  538. package/dist/host/features.js.map +7 -0
  539. package/dist/host/index.js +12 -0
  540. package/dist/host/index.js.map +7 -0
  541. package/dist/{chunk-DPYBZDJB.js → host/merge.js} +7 -7
  542. package/dist/host/merge.js.map +7 -0
  543. package/dist/house-template.js +40 -0
  544. package/dist/house-template.js.map +7 -0
  545. package/dist/icons/AppleIcon.js +25 -0
  546. package/dist/icons/AppleIcon.js.map +7 -0
  547. package/dist/icons/ArbiBotHeadIcon.js +46 -0
  548. package/dist/icons/ArbiBotHeadIcon.js.map +7 -0
  549. package/dist/icons/ArbiIcon.js +24 -0
  550. package/dist/icons/ArbiIcon.js.map +7 -0
  551. package/dist/icons/AudIcon.js +56 -0
  552. package/dist/icons/AudIcon.js.map +7 -0
  553. package/dist/icons/ClaudeIcon.js +28 -0
  554. package/dist/icons/ClaudeIcon.js.map +7 -0
  555. package/dist/icons/DocIcon.js +56 -0
  556. package/dist/icons/DocIcon.js.map +7 -0
  557. package/dist/icons/EmlIcon.js +57 -0
  558. package/dist/icons/EmlIcon.js.map +7 -0
  559. package/dist/icons/FireworksIcon.js +47 -0
  560. package/dist/icons/FireworksIcon.js.map +7 -0
  561. package/dist/icons/GeminiIcon.js +37 -0
  562. package/dist/icons/GeminiIcon.js.map +7 -0
  563. package/dist/icons/GitHubIcon.js +32 -0
  564. package/dist/icons/GitHubIcon.js.map +7 -0
  565. package/dist/icons/GoogleIcon.js +53 -0
  566. package/dist/icons/GoogleIcon.js.map +7 -0
  567. package/dist/icons/HtmlIcon.js +56 -0
  568. package/dist/icons/HtmlIcon.js.map +7 -0
  569. package/dist/icons/ImgIcon.js +56 -0
  570. package/dist/icons/ImgIcon.js.map +7 -0
  571. package/dist/icons/LinkedInIcon.js +25 -0
  572. package/dist/icons/LinkedInIcon.js.map +7 -0
  573. package/dist/icons/OpenAIIcon.js +28 -0
  574. package/dist/icons/OpenAIIcon.js.map +7 -0
  575. package/dist/icons/PdfIcon.js +56 -0
  576. package/dist/icons/PdfIcon.js.map +7 -0
  577. package/dist/icons/ProviderIcon.js +42 -0
  578. package/dist/icons/ProviderIcon.js.map +7 -0
  579. package/dist/icons/TxtIcon.js +56 -0
  580. package/dist/icons/TxtIcon.js.map +7 -0
  581. package/dist/icons/VidIcon.js +56 -0
  582. package/dist/icons/VidIcon.js.map +7 -0
  583. package/dist/icons/XlsIcon.js +56 -0
  584. package/dist/icons/XlsIcon.js.map +7 -0
  585. package/dist/icons/arbi-mark.js +5 -0
  586. package/dist/icons/arbi-mark.js.map +7 -0
  587. package/dist/icons/colors.js +31 -0
  588. package/dist/icons/colors.js.map +7 -0
  589. package/dist/icons/file-type.js +105 -0
  590. package/dist/icons/file-type.js.map +7 -0
  591. package/dist/icons/index.js +55 -0
  592. package/dist/icons/index.js.map +7 -0
  593. package/dist/imagecrop/ImageCropModal.js +56 -0
  594. package/dist/imagecrop/ImageCropModal.js.map +7 -0
  595. package/dist/imagecrop/ImageCropper.js +100 -0
  596. package/dist/imagecrop/ImageCropper.js.map +7 -0
  597. package/dist/imagecrop/cropImage.js +43 -0
  598. package/dist/imagecrop/cropImage.js.map +7 -0
  599. package/dist/imagecrop/index.js +13 -0
  600. package/dist/imagecrop/index.js.map +7 -0
  601. package/dist/index.js +702 -17116
  602. package/dist/index.js.map +7 -1
  603. package/dist/{chunk-SSXFVWCT.js → lazy-chunk.js} +8 -8
  604. package/dist/lazy-chunk.js.map +7 -0
  605. package/dist/lib/collision-padding.js +13 -0
  606. package/dist/lib/collision-padding.js.map +7 -0
  607. package/dist/lib/format-friendly-date.js +55 -0
  608. package/dist/lib/format-friendly-date.js.map +7 -0
  609. package/dist/lib/format-relative-time.js +52 -0
  610. package/dist/lib/format-relative-time.js.map +7 -0
  611. package/dist/lib/markdown-to-text.js +35 -0
  612. package/dist/lib/markdown-to-text.js.map +7 -0
  613. package/dist/lib/toast-interaction.js +9 -0
  614. package/dist/lib/toast-interaction.js.map +7 -0
  615. package/dist/lib/utils.js +9 -0
  616. package/dist/lib/utils.js.map +7 -0
  617. package/dist/mail/client.js +103 -0
  618. package/dist/mail/client.js.map +7 -0
  619. package/dist/mail/document-attachment.js +38 -0
  620. package/dist/mail/document-attachment.js.map +7 -0
  621. package/dist/mail/filing.js +132 -0
  622. package/dist/mail/filing.js.map +7 -0
  623. package/dist/mail/hooks.js +393 -0
  624. package/dist/mail/hooks.js.map +7 -0
  625. package/dist/mail/index.js +120 -0
  626. package/dist/mail/index.js.map +7 -0
  627. package/dist/mail/offline/changes.js +258 -0
  628. package/dist/mail/offline/changes.js.map +7 -0
  629. package/dist/mail/offline/confirm-sign-out.js +37 -0
  630. package/dist/mail/offline/confirm-sign-out.js.map +7 -0
  631. package/dist/mail/offline/crypto.js +26 -0
  632. package/dist/mail/offline/crypto.js.map +7 -0
  633. package/dist/mail/offline/drafts.js +69 -0
  634. package/dist/mail/offline/drafts.js.map +7 -0
  635. package/dist/mail/offline/hooks.js +104 -0
  636. package/dist/mail/offline/hooks.js.map +7 -0
  637. package/dist/mail/offline/index.js +48 -0
  638. package/dist/mail/offline/index.js.map +7 -0
  639. package/dist/mail/offline/live.js +233 -0
  640. package/dist/mail/offline/live.js.map +7 -0
  641. package/dist/mail/offline/mailbox.js +191 -0
  642. package/dist/mail/offline/mailbox.js.map +7 -0
  643. package/dist/mail/offline/outbox.js +167 -0
  644. package/dist/mail/offline/outbox.js.map +7 -0
  645. package/dist/mail/offline/reads.js +159 -0
  646. package/dist/mail/offline/reads.js.map +7 -0
  647. package/dist/mail/offline/runtime.js +100 -0
  648. package/dist/mail/offline/runtime.js.map +7 -0
  649. package/dist/mail/offline/settings.js +84 -0
  650. package/dist/mail/offline/settings.js.map +7 -0
  651. package/dist/mail/offline/store.js +29 -0
  652. package/dist/mail/offline/store.js.map +7 -0
  653. package/dist/mail/offline/sync.js +251 -0
  654. package/dist/mail/offline/sync.js.map +7 -0
  655. package/dist/mail/offline/wipe.js +19 -0
  656. package/dist/mail/offline/wipe.js.map +7 -0
  657. package/dist/mail/thread-keys.js +53 -0
  658. package/dist/mail/thread-keys.js.map +7 -0
  659. package/dist/mail/threads.js +71 -0
  660. package/dist/mail/threads.js.map +7 -0
  661. package/dist/mail/useMailClient.js +42 -0
  662. package/dist/mail/useMailClient.js.map +7 -0
  663. package/dist/model-connections.js +58 -0
  664. package/dist/model-connections.js.map +7 -0
  665. package/dist/notifications/ActivityFeed.js +70 -0
  666. package/dist/notifications/ActivityFeed.js.map +7 -0
  667. package/dist/notifications/NotificationBell.js +200 -0
  668. package/dist/notifications/NotificationBell.js.map +7 -0
  669. package/dist/notifications/Toaster.js +24 -0
  670. package/dist/notifications/Toaster.js.map +7 -0
  671. package/dist/notifications/activity-types.js +65 -0
  672. package/dist/notifications/activity-types.js.map +7 -0
  673. package/dist/notifications/bell.js +24 -0
  674. package/dist/notifications/bell.js.map +7 -0
  675. package/dist/notifications/calendar-notifications.js +79 -0
  676. package/dist/notifications/calendar-notifications.js.map +7 -0
  677. package/dist/notifications/index.js +108 -0
  678. package/dist/notifications/index.js.map +7 -0
  679. package/dist/notifications/live.js +28 -0
  680. package/dist/notifications/live.js.map +7 -0
  681. package/dist/notifications/notification-types.js +127 -0
  682. package/dist/notifications/notification-types.js.map +7 -0
  683. package/dist/{chunk-BF5KW5ZI.js → notifications/notify-store.js} +24 -74
  684. package/dist/notifications/notify-store.js.map +7 -0
  685. package/dist/notifications/server-notifications.js +452 -0
  686. package/dist/notifications/server-notifications.js.map +7 -0
  687. package/dist/notifications/useNotifications.js +34 -0
  688. package/dist/notifications/useNotifications.js.map +7 -0
  689. package/dist/offline-store/network.js +11 -0
  690. package/dist/offline-store/network.js.map +7 -0
  691. package/dist/offline-store/store.js +136 -0
  692. package/dist/offline-store/store.js.map +7 -0
  693. package/dist/offline-store/wipe.js +8 -0
  694. package/dist/offline-store/wipe.js.map +7 -0
  695. package/dist/offline.js +58 -0
  696. package/dist/offline.js.map +7 -0
  697. package/dist/people.js +122 -0
  698. package/dist/people.js.map +7 -0
  699. package/dist/projects.js +30 -0
  700. package/dist/projects.js.map +7 -0
  701. package/dist/query-client.js +63 -0
  702. package/dist/query-client.js.map +7 -0
  703. package/dist/{chunk-ZM6N7YZH.js → query-keys.js} +18 -31
  704. package/dist/query-keys.js.map +7 -0
  705. package/dist/query-persist.js +66 -0
  706. package/dist/query-persist.js.map +7 -0
  707. package/dist/queued-writes.js +59 -0
  708. package/dist/queued-writes.js.map +7 -0
  709. package/dist/remote-control.js +67 -0
  710. package/dist/remote-control.js.map +7 -0
  711. package/dist/search/index.js +23 -0
  712. package/dist/search/index.js.map +7 -0
  713. package/dist/search/session.js +58 -0
  714. package/dist/search/session.js.map +7 -0
  715. package/dist/search/useSemanticSearch.js +82 -0
  716. package/dist/search/useSemanticSearch.js.map +7 -0
  717. package/dist/session/chat.js +512 -0
  718. package/dist/session/chat.js.map +7 -0
  719. package/dist/session/documents.js +196 -0
  720. package/dist/session/documents.js.map +7 -0
  721. package/dist/session/drafts.js +103 -0
  722. package/dist/session/drafts.js.map +7 -0
  723. package/dist/session/index.js +123 -0
  724. package/dist/session/index.js.map +7 -0
  725. package/dist/session/layout.js +339 -0
  726. package/dist/session/layout.js.map +7 -0
  727. package/dist/session/persist.js +106 -0
  728. package/dist/session/persist.js.map +7 -0
  729. package/dist/session/session-hooks.js +53 -0
  730. package/dist/session/session-hooks.js.map +7 -0
  731. package/dist/session/signed-in.js +36 -0
  732. package/dist/session/signed-in.js.map +7 -0
  733. package/dist/session/store.js +166 -0
  734. package/dist/session/store.js.map +7 -0
  735. package/dist/session/thread-tabs.js +121 -0
  736. package/dist/session/thread-tabs.js.map +7 -0
  737. package/dist/session/ui-state-storage.js +76 -0
  738. package/dist/session/ui-state-storage.js.map +7 -0
  739. package/dist/session/workspace.js +77 -0
  740. package/dist/session/workspace.js.map +7 -0
  741. package/dist/shell/index.js +43 -10
  742. package/dist/shell/index.js.map +7 -1
  743. package/dist/skill-pack.js +111 -0
  744. package/dist/skill-pack.js.map +7 -0
  745. package/dist/storage.js +186 -0
  746. package/dist/storage.js.map +7 -0
  747. package/dist/support/index.js +35 -0
  748. package/dist/support/index.js.map +7 -0
  749. package/dist/tags.js +204 -0
  750. package/dist/tags.js.map +7 -0
  751. package/dist/ui/DebouncedInput.js +109 -0
  752. package/dist/ui/DebouncedInput.js.map +7 -0
  753. package/dist/ui/DictateContext.js +8 -0
  754. package/dist/ui/DictateContext.js.map +7 -0
  755. package/dist/ui/IconToggle.js +79 -0
  756. package/dist/ui/IconToggle.js.map +7 -0
  757. package/dist/ui/VerifiedToggle.js +38 -0
  758. package/dist/ui/VerifiedToggle.js.map +7 -0
  759. package/dist/ui/VisibilityToggle.js +103 -0
  760. package/dist/ui/VisibilityToggle.js.map +7 -0
  761. package/dist/ui/avatar.js +40 -0
  762. package/dist/ui/avatar.js.map +7 -0
  763. package/dist/ui/badge.js +28 -0
  764. package/dist/ui/badge.js.map +7 -0
  765. package/dist/ui/button.js +48 -0
  766. package/dist/ui/button.js.map +7 -0
  767. package/dist/ui/card.js +90 -0
  768. package/dist/ui/card.js.map +7 -0
  769. package/dist/ui/checkbox.js +22 -0
  770. package/dist/ui/checkbox.js.map +7 -0
  771. package/dist/ui/collapsible.js +10 -0
  772. package/dist/ui/collapsible.js.map +7 -0
  773. package/dist/ui/command.js +103 -0
  774. package/dist/ui/command.js.map +7 -0
  775. package/dist/{chunk-YNNAJJ5Z.js → ui/dialog.js} +30 -68
  776. package/dist/ui/dialog.js.map +7 -0
  777. package/dist/{chunk-47CCGUWR.js → ui/dropdown-menu.js} +40 -45
  778. package/dist/ui/dropdown-menu.js.map +7 -0
  779. package/dist/ui/hover-card.js +36 -0
  780. package/dist/ui/hover-card.js.map +7 -0
  781. package/dist/ui/index.js +290 -10
  782. package/dist/ui/index.js.map +7 -1
  783. package/dist/ui/input.js +65 -0
  784. package/dist/ui/input.js.map +7 -0
  785. package/dist/ui/label.js +16 -0
  786. package/dist/ui/label.js.map +7 -0
  787. package/dist/ui/mark-menu.js +300 -0
  788. package/dist/ui/mark-menu.js.map +7 -0
  789. package/dist/ui/popover.js +40 -0
  790. package/dist/ui/popover.js.map +7 -0
  791. package/dist/ui/portal-container.js +17 -0
  792. package/dist/ui/portal-container.js.map +7 -0
  793. package/dist/ui/progress.js +24 -0
  794. package/dist/ui/progress.js.map +7 -0
  795. package/dist/ui/radio-group.js +29 -0
  796. package/dist/ui/radio-group.js.map +7 -0
  797. package/dist/ui/scroll-area.js +39 -0
  798. package/dist/ui/scroll-area.js.map +7 -0
  799. package/dist/ui/select.js +130 -0
  800. package/dist/ui/select.js.map +7 -0
  801. package/dist/ui/separator.js +23 -0
  802. package/dist/ui/separator.js.map +7 -0
  803. package/dist/ui/slider.js +23 -0
  804. package/dist/ui/slider.js.map +7 -0
  805. package/dist/ui/switch.js +28 -0
  806. package/dist/ui/switch.js.map +7 -0
  807. package/dist/ui/table.js +75 -0
  808. package/dist/ui/table.js.map +7 -0
  809. package/dist/ui/tabs.js +48 -0
  810. package/dist/ui/tabs.js.map +7 -0
  811. package/dist/ui/textarea.js +63 -0
  812. package/dist/ui/textarea.js.map +7 -0
  813. package/dist/ui/toggle-group.js +43 -0
  814. package/dist/ui/toggle-group.js.map +7 -0
  815. package/dist/ui/toggle.js +40 -0
  816. package/dist/ui/toggle.js.map +7 -0
  817. package/dist/ui/tooltip.js +215 -0
  818. package/dist/ui/tooltip.js.map +7 -0
  819. package/dist/usage-metered.js +8 -0
  820. package/dist/usage-metered.js.map +7 -0
  821. package/dist/useArbi.js +16 -0
  822. package/dist/useArbi.js.map +7 -0
  823. package/dist/useInstallSkillPack.js +81 -0
  824. package/dist/useInstallSkillPack.js.map +7 -0
  825. package/dist/usermenu/UserMenu.js +188 -0
  826. package/dist/usermenu/UserMenu.js.map +7 -0
  827. package/dist/usermenu/index.js +5 -0
  828. package/dist/usermenu/index.js.map +7 -0
  829. package/dist/users/index.js +15 -0
  830. package/dist/users/index.js.map +7 -0
  831. package/dist/users/user-display.js +60 -0
  832. package/dist/users/user-display.js.map +7 -0
  833. package/dist/viewers/AudioViewer.js +23 -0
  834. package/dist/viewers/AudioViewer.js.map +7 -0
  835. package/dist/viewers/DocxViewer.js +81 -0
  836. package/dist/viewers/DocxViewer.js.map +7 -0
  837. package/dist/viewers/ImageViewer.js +31 -0
  838. package/dist/viewers/ImageViewer.js.map +7 -0
  839. package/dist/viewers/PdfViewer.js +19 -3
  840. package/dist/viewers/PdfViewer.js.map +7 -1
  841. package/dist/{PdfViewerImpl-TEBYF2QI.js → viewers/PdfViewerImpl.js} +25 -19
  842. package/dist/viewers/PdfViewerImpl.js.map +7 -0
  843. package/dist/viewers/VideoViewer.js +31 -0
  844. package/dist/viewers/VideoViewer.js.map +7 -0
  845. package/dist/viewers/XlsxViewer.js +102 -0
  846. package/dist/viewers/XlsxViewer.js.map +7 -0
  847. package/dist/viewers/index.js +61 -271
  848. package/dist/viewers/index.js.map +7 -1
  849. package/dist/viewers/page-scroll.js +59 -0
  850. package/dist/viewers/page-scroll.js.map +7 -0
  851. package/dist/viewers/pdf-viewer-constants.js +9 -0
  852. package/dist/viewers/pdf-viewer-constants.js.map +7 -0
  853. package/dist/{chunk-PTOP7OHG.js → viewers/pdfjs-polyfills.js} +5 -6
  854. package/dist/viewers/pdfjs-polyfills.js.map +7 -0
  855. package/dist/viewers/selection-runs.js +38 -0
  856. package/dist/viewers/selection-runs.js.map +7 -0
  857. package/dist/viewers/usePageIntersectionObserver.js +68 -0
  858. package/dist/viewers/usePageIntersectionObserver.js.map +7 -0
  859. package/dist/viewers/useProcessedChunks.js +58 -0
  860. package/dist/viewers/useProcessedChunks.js.map +7 -0
  861. package/dist/viewers/viewer-zoom.js +163 -0
  862. package/dist/viewers/viewer-zoom.js.map +7 -0
  863. package/dist/websocket/ArbiWebSocketProvider.js +207 -0
  864. package/dist/websocket/ArbiWebSocketProvider.js.map +7 -0
  865. package/dist/websocket/context.js +14 -0
  866. package/dist/websocket/context.js.map +7 -0
  867. package/dist/websocket/hooks.js +30 -0
  868. package/dist/websocket/hooks.js.map +7 -0
  869. package/dist/websocket/index.js +22 -0
  870. package/dist/websocket/index.js.map +7 -0
  871. package/dist/websocket/live-updates.js +38 -0
  872. package/dist/websocket/live-updates.js.map +7 -0
  873. package/dist/websocket/reconnect.js +13 -0
  874. package/dist/websocket/reconnect.js.map +7 -0
  875. package/dist/websocket/store.js +58 -0
  876. package/dist/websocket/store.js.map +7 -0
  877. package/dist/workforce.js +607 -0
  878. package/dist/workforce.js.map +7 -0
  879. package/dist/workspaces/access-request.js +35 -0
  880. package/dist/workspaces/access-request.js.map +7 -0
  881. package/dist/workspaces/archive.js +59 -0
  882. package/dist/workspaces/archive.js.map +7 -0
  883. package/dist/workspaces/current.js +20 -0
  884. package/dist/workspaces/current.js.map +7 -0
  885. package/dist/workspaces/delete-workspaces.js +15 -0
  886. package/dist/workspaces/delete-workspaces.js.map +7 -0
  887. package/dist/workspaces/export-archive.js +40 -0
  888. package/dist/workspaces/export-archive.js.map +7 -0
  889. package/dist/workspaces/index.js +99 -0
  890. package/dist/workspaces/index.js.map +7 -0
  891. package/dist/workspaces/settings.js +45 -0
  892. package/dist/workspaces/settings.js.map +7 -0
  893. package/dist/workspaces/shell-workspaces.js +49 -0
  894. package/dist/workspaces/shell-workspaces.js.map +7 -0
  895. package/dist/workspaces/switch.js +234 -0
  896. package/dist/workspaces/switch.js.map +7 -0
  897. package/dist/workspaces/transfer.js +170 -0
  898. package/dist/workspaces/transfer.js.map +7 -0
  899. package/dist/workspaces/useShellWorkspaces.js +86 -0
  900. package/dist/workspaces/useShellWorkspaces.js.map +7 -0
  901. package/dist/workspaces/workspace-users.js +65 -0
  902. package/dist/workspaces/workspace-users.js.map +7 -0
  903. package/package.json +4 -4
  904. package/dist/PdfViewerImpl-TEBYF2QI.js.map +0 -1
  905. package/dist/PdfViewerImpl.d-B28hLEuj.d.cts +0 -62
  906. package/dist/ProductionDialog.d-CpzslFn0.d.cts +0 -51
  907. package/dist/annotations/freeze/index.d.cts +0 -205
  908. package/dist/annotations/index.d.cts +0 -360
  909. package/dist/artifacts/index.d.cts +0 -476
  910. package/dist/artifacts/redline-core.d.cts +0 -39
  911. package/dist/bundle-YNOX7VIL.js +0 -5
  912. package/dist/bundle-YNOX7VIL.js.map +0 -1
  913. package/dist/bundle.d-BnCSbHy2.d.cts +0 -85
  914. package/dist/calls/livekit/index.d.cts +0 -280
  915. package/dist/chunk-47CCGUWR.js.map +0 -1
  916. package/dist/chunk-4FL3X3LA.js +0 -2057
  917. package/dist/chunk-4FL3X3LA.js.map +0 -1
  918. package/dist/chunk-6QNBSXCE.js +0 -271
  919. package/dist/chunk-6QNBSXCE.js.map +0 -1
  920. package/dist/chunk-74N436VK.js.map +0 -1
  921. package/dist/chunk-APZZQZ6P.js +0 -147
  922. package/dist/chunk-APZZQZ6P.js.map +0 -1
  923. package/dist/chunk-BF5KW5ZI.js.map +0 -1
  924. package/dist/chunk-DPYBZDJB.js.map +0 -1
  925. package/dist/chunk-DZKRL5H3.js +0 -2766
  926. package/dist/chunk-DZKRL5H3.js.map +0 -1
  927. package/dist/chunk-HDCRPPBW.js +0 -75
  928. package/dist/chunk-HDCRPPBW.js.map +0 -1
  929. package/dist/chunk-L2IPPTVC.js +0 -20
  930. package/dist/chunk-L2IPPTVC.js.map +0 -1
  931. package/dist/chunk-LSU4UPS5.js +0 -1011
  932. package/dist/chunk-LSU4UPS5.js.map +0 -1
  933. package/dist/chunk-NIKPG4PW.js +0 -1128
  934. package/dist/chunk-NIKPG4PW.js.map +0 -1
  935. package/dist/chunk-NNAJLY6B.js +0 -4974
  936. package/dist/chunk-NNAJLY6B.js.map +0 -1
  937. package/dist/chunk-OYPKKHXY.js +0 -559
  938. package/dist/chunk-OYPKKHXY.js.map +0 -1
  939. package/dist/chunk-PTOP7OHG.js.map +0 -1
  940. package/dist/chunk-QMY2JKBI.js +0 -246
  941. package/dist/chunk-QMY2JKBI.js.map +0 -1
  942. package/dist/chunk-SN5YV6FF.js +0 -11
  943. package/dist/chunk-SN5YV6FF.js.map +0 -1
  944. package/dist/chunk-SSXFVWCT.js.map +0 -1
  945. package/dist/chunk-T3USOSVN.js.map +0 -1
  946. package/dist/chunk-T4CLW3DN.js +0 -2560
  947. package/dist/chunk-T4CLW3DN.js.map +0 -1
  948. package/dist/chunk-UW2SGTI5.js.map +0 -1
  949. package/dist/chunk-VSCU7K4V.js.map +0 -1
  950. package/dist/chunk-WL2Y2T47.js.map +0 -1
  951. package/dist/chunk-WUTL62MC.js.map +0 -1
  952. package/dist/chunk-XWPLOFDN.js +0 -644
  953. package/dist/chunk-XWPLOFDN.js.map +0 -1
  954. package/dist/chunk-Y3MTRA7D.js +0 -97
  955. package/dist/chunk-Y3MTRA7D.js.map +0 -1
  956. package/dist/chunk-YNNAJJ5Z.js.map +0 -1
  957. package/dist/chunk-ZM6N7YZH.js.map +0 -1
  958. package/dist/document-tools/core.d.cts +0 -883
  959. package/dist/document-tools/index.d.cts +0 -90
  960. package/dist/index.d-LArLnpI8.d.cts +0 -2036
  961. package/dist/index.d-oR5FKZpJ.d.cts +0 -579
  962. package/dist/index.d.cts +0 -15923
  963. package/dist/lazy-chunk.d-B6YDLMKI.d.cts +0 -31
  964. package/dist/model.d-CNtRWKVK.d.cts +0 -110
  965. package/dist/query-keys.d-B1Am9tIF.d.cts +0 -337
  966. package/dist/shell/index.d.cts +0 -6
  967. package/dist/store.d-GADDvC7w.d.cts +0 -35
  968. package/dist/stored-markdown.d-Bp18vrbr.d.cts +0 -125
  969. package/dist/ui/index.d.cts +0 -26
  970. package/dist/useAudioRecorder.d-B9rlMI_E.d.cts +0 -778
  971. package/dist/viewers/PdfViewer.d.cts +0 -9
  972. package/dist/viewers/index.d.cts +0 -262
@@ -1,31 +0,0 @@
1
- import { ComponentType, ReactNode } from 'react';
2
-
3
- /**
4
- * Heavy components (the PDF engine, the Word editor, the data grid) live in their own chunk, loaded
5
- * the first time one renders, so a page that never shows one (a sign-in page) never downloads it.
6
- *
7
- * `lazyChunk(load)` names a lazily loaded module; `lazyComponent(chunk, pick, fallback)` renders a
8
- * component from it with the same props, showing `fallback` until the chunk is in. A chunk loaded
9
- * beforehand (`preloadChunks`, as test setups do) renders at once, without suspending.
10
- */
11
-
12
- interface LazyChunk<M> {
13
- /** Load the module (once); resolves with it. */
14
- load: () => Promise<M>;
15
- /** The module, once loaded. */
16
- loaded: () => M | undefined;
17
- }
18
- declare function lazyChunk<M>(load: () => Promise<M>): LazyChunk<M>;
19
- /** Load every chunk now (test setups, or warming up after sign-in). */
20
- declare function preloadChunks(chunks: readonly LazyChunk<unknown>[]): Promise<unknown[]>;
21
- /**
22
- * A component rendered from `c` once it has loaded, with `fallback` (given the props) meanwhile.
23
- * Generic components keep their type: `lazyComponent(...) as typeof Impl`.
24
- *
25
- * A failed download (offline, a stale deploy) throws to the nearest error boundary; its retry
26
- * renders again and loads again, with no page reload: `React.lazy` keeps a failure for good, so a
27
- * failed one is replaced.
28
- */
29
- declare function lazyComponent<M, P extends object>(c: LazyChunk<M>, pick: (module: M) => ComponentType<P>, fallback?: (props: P) => ReactNode): ComponentType<P>;
30
-
31
- export { type LazyChunk as L, lazyComponent as a, lazyChunk as l, preloadChunks as p };
@@ -1,110 +0,0 @@
1
- /**
2
- * Annotation layer data model.
3
- *
4
- * A layer is plain JSON that sits NEXT TO an immutable document: the original file is never
5
- * touched, marks are drawn over it, and "freezing" (see `freeze.ts`) derives a new document.
6
- *
7
- * Geometry is stored as fractions (0..1) of the page as DISPLAYED (after rotation and crop),
8
- * origin top-left. That makes a mark independent of zoom, device pixel ratio and PDF units, and
9
- * because the original never changes the coordinates never drift.
10
- *
11
- * A redaction mark carries the matched text so a reviewer (or an agent) can see what it hides.
12
- * That text is sensitive: the layer must never travel with a frozen copy.
13
- */
14
- declare const LAYER_SCHEMA_VERSION = 1;
15
- type AnnotationKind = 'highlight' | 'box' | 'comment' | 'stamp' | 'redaction';
16
- type RedactionStatus = 'pending' | 'approved' | 'rejected';
17
- /** Fractions of the displayed page, origin top-left. */
18
- interface NormRect {
19
- x: number;
20
- y: number;
21
- w: number;
22
- h: number;
23
- }
24
- interface CommentReply {
25
- id: string;
26
- author: string;
27
- createdAt: string;
28
- body: string;
29
- }
30
- interface AnnotationBase {
31
- id: string;
32
- /** 1-based page number. */
33
- page: number;
34
- author: string;
35
- createdAt: string;
36
- updatedAt: string;
37
- }
38
- interface HighlightAnnotation extends AnnotationBase {
39
- kind: 'highlight';
40
- rects: NormRect[];
41
- color: string;
42
- /** The highlighted text, when it came from a text selection. */
43
- text?: string;
44
- }
45
- interface BoxAnnotation extends AnnotationBase {
46
- kind: 'box';
47
- rect: NormRect;
48
- color: string;
49
- /** Outline width in PDF points at 100%. */
50
- strokeWidth: number;
51
- }
52
- interface CommentAnnotation extends AnnotationBase {
53
- kind: 'comment';
54
- /** Anchor box; the note icon is drawn at its top-left corner. */
55
- rect: NormRect;
56
- body: string;
57
- replies: CommentReply[];
58
- resolved: boolean;
59
- }
60
- interface StampAnnotation extends AnnotationBase {
61
- kind: 'stamp';
62
- rect: NormRect;
63
- label: string;
64
- color: string;
65
- /**
66
- * A picture stamp: one's saved signature or initials placed on the page (base64 PNG), drawn in
67
- * the box in place of the framed label (which then only names it).
68
- */
69
- image?: string;
70
- }
71
- interface RedactionAnnotation extends AnnotationBase {
72
- kind: 'redaction';
73
- rects: NormRect[];
74
- /** The review reason (e.g. "Privileged"). Kept separately from the printed [REDACTED] label. */
75
- reason: string;
76
- /** The text under the mark. Sensitive: stays in the layer, never in a frozen document. */
77
- text?: string;
78
- status: RedactionStatus;
79
- /** Who last approved or rejected it, and when (absent while pending). For the redaction log. */
80
- reviewedBy?: string;
81
- reviewedAt?: string;
82
- }
83
- type Annotation = HighlightAnnotation | BoxAnnotation | CommentAnnotation | StampAnnotation | RedactionAnnotation;
84
- interface AnnotationLayer {
85
- schema: typeof LAYER_SCHEMA_VERSION;
86
- /** External id of the immutable document the layer annotates. */
87
- documentId: string;
88
- /** Optional content hash of the original, so a layer can be checked against the file it marks. */
89
- documentHash?: string;
90
- annotations: Annotation[];
91
- updatedAt: string;
92
- }
93
- declare class AnnotationLayerError extends Error {
94
- constructor(message: string);
95
- }
96
- declare function emptyLayer(documentId: string, now: string): AnnotationLayer;
97
- declare function clampRect(r: NormRect): NormRect;
98
- /** Validate one annotation from untrusted JSON. Throws `AnnotationLayerError`. */
99
- declare function parseAnnotation(v: unknown, path?: string): Annotation;
100
- /** Validate a whole layer from untrusted JSON (storage, network, an agent). */
101
- declare function parseLayer(v: unknown): AnnotationLayer;
102
- /** The rectangles a mark covers, whatever its kind. */
103
- declare function annotationRects(a: Annotation): NormRect[];
104
- /**
105
- * True when a redaction mark will be burned into a frozen copy. Fails closed: only an explicit
106
- * rejection leaves content visible, so a mark nobody reviewed is never silently skipped.
107
- */
108
- declare function isEffectiveRedaction(a: Annotation): a is RedactionAnnotation;
109
-
110
- export { type Annotation as A, type BoxAnnotation as B, type CommentAnnotation as C, type HighlightAnnotation as H, LAYER_SCHEMA_VERSION as L, type NormRect as N, type RedactionAnnotation as R, type StampAnnotation as S, type AnnotationKind as a, type AnnotationLayer as b, AnnotationLayerError as c, type CommentReply as d, type RedactionStatus as e, annotationRects as f, clampRect as g, emptyLayer as h, isEffectiveRedaction as i, parseLayer as j, parseAnnotation as p };
@@ -1,337 +0,0 @@
1
- import { ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName } from '@arbidocs/sdk/browser';
2
-
3
- /**
4
- * The one query-key factory of the ARBI front end: every React Query key and mutation key the
5
- * packages and the app use is built here, under `['arbi', …]`. Literal key arrays anywhere else
6
- * fail the `arbi/query-keys-from-factory` lint rule and `query-keys.guard.test.ts`, so a key can't
7
- * drift from the queries it names (a stale literal reads or invalidates nothing, silently).
8
- *
9
- * Dependency-free on purpose (types only): e2e helpers import it and pass keys into the page.
10
- */
11
-
12
- declare const arbiQueryKeys: {
13
- fileShares: () => readonly ["arbi", "fileShares"];
14
- fileShare: (id: string) => readonly ["arbi", "fileShare", string];
15
- fileSharePdf: (id: string, status?: string) => readonly ["arbi", "fileSharePdf", string, string | undefined];
16
- workspaces: () => readonly ["arbi", "workspaces"];
17
- /** Every workspace's member list: what a workspace switch drops. */
18
- allWorkspaceUsers: () => readonly ["arbi", "workspaceUsers"];
19
- workspaceUsers: (workspaceId: string) => readonly ["arbi", "workspaceUsers", string];
20
- /** Every workspace's documents list: the prefix a write patches when it does not know the workspace. */
21
- allDocuments: () => readonly ["arbi", "documents"];
22
- documents: (workspaceId: string) => readonly ["arbi", "documents", string];
23
- /** One document (a viewer's); writes keep it current next to the list. */
24
- document: (docId: string) => readonly ["arbi", "document", string];
25
- documentsById: (docIds: string[]) => readonly ["arbi", "documentsById", string];
26
- /** Every workspace's near-duplicate pairs. */
27
- allSimilarDocuments: () => readonly ["arbi", "similarDocuments"];
28
- similarDocuments: (workspaceId: string, threshold: number) => readonly ["arbi", "similarDocuments", string, number];
29
- /** Every version list: the prefix a new version invalidates. */
30
- allDocumentVersions: () => readonly ["arbi", "documentVersions"];
31
- documentVersions: (docId: string) => readonly ["arbi", "documentVersions", string];
32
- conversations: (workspaceId: string) => readonly ["arbi", "conversations", string];
33
- /** Every workspace's conversation list (and threads): the prefix a conversation write invalidates. */
34
- allConversations: () => readonly ["arbi", "conversations"];
35
- /** A conversation's threads, under the conversations prefix (ids are unique across workspaces). */
36
- conversationThreads: (conversationId: string) => readonly ["arbi", "conversations", string, "threads"];
37
- /** One stored message with everything the server keeps on it (its trace and metadata). */
38
- messageDetails: (messageId: string) => readonly ["arbi", "messageDetails", string];
39
- /** The backend's built-in slash commands. */
40
- assistantCommands: () => readonly ["arbi", "assistantCommands"];
41
- /** Every workspace's tags (lists, tables and kinds): what a cross-workspace change refreshes. */
42
- allTags: () => readonly ["arbi", "tags"];
43
- tags: (workspaceId: string) => readonly ["arbi", "tags", string];
44
- /** Under the workspace's tags: the kinds' fields (refreshed with the tags). */
45
- tagKinds: (workspaceId: string) => readonly ["arbi", "tags", string, "kinds"];
46
- /** Every filtered list (a table of tags): what a tag write refreshes, the whole list aside. */
47
- tagLists: (workspaceId: string) => readonly ["arbi", "tags", string, "list"];
48
- /** Under the workspace's tags: a tag, doctag or fact write that invalidates `tags` refreshes it. */
49
- tagList: (workspaceId: string, query: string) => readonly ["arbi", "tags", string, "list", string];
50
- /** A kind's fields, under the workspace's tags. */
51
- tagKind: (workspaceId: string, kind: string) => readonly ["arbi", "tags", string, "kind", string];
52
- /** A task's history, under the conversations prefix: every conversation write refreshes it. */
53
- conversationActivity: (conversationId: string) => readonly ["arbi", "conversations", string, "activity"];
54
- thumbnails: (docIds: string[]) => readonly ["arbi", "thumbnails", string];
55
- /** Every stage of a document's parsed content. */
56
- parsedDocument: (docId: string) => readonly ["arbi", "parsedDoc", string];
57
- parsedDoc: (docId: string, stage: string) => readonly ["arbi", "parsedDoc", string, string];
58
- agents: () => readonly ["arbi", "agents"];
59
- sessions: () => readonly ["arbi", "sessions"];
60
- health: () => readonly ["arbi", "health"];
61
- workflows: () => readonly ["arbi", "workflows"];
62
- /** Under `workflows()`: a workflow write or run refreshes its runs too. */
63
- workflowRuns: (workflowId: string) => readonly ["arbi", "workflows", string, "runs"];
64
- /** Every workspace's facts: the prefix a fact write invalidates. */
65
- allFacts: () => readonly ["arbi", "facts"];
66
- facts: (workspaceId: string) => readonly ["arbi", "facts", string];
67
- configs: () => readonly ["arbi", "configs"];
68
- activity: () => readonly ["arbi", "activity"];
69
- /** Every transfer query (jobs, lists, plans): what a finished job refreshes. */
70
- allWorkspaceTransfers: () => readonly ["arbi", "workspaceTransfers"];
71
- /** The caller's recent transfer jobs out of a workspace. */
72
- workspaceTransfers: (workspaceId: string) => readonly ["arbi", "workspaceTransfers", "list", string];
73
- /** One transfer job's progress. */
74
- workspaceTransfer: (transferId: string) => readonly ["arbi", "workspaceTransfers", "job", string];
75
- /** What a scope (serialised) would take in a workspace, for a mode. */
76
- workspaceTransferPlan: (workspaceId: string, scope: string, mode: string) => readonly ["arbi", "workspaceTransfers", "plan", string, string, string];
77
- /**
78
- * A workspace's activity feed (all its pages), read `limit` entries a page (absent: the server's
79
- * default): each page size is its own entry, under the workspace's key.
80
- */
81
- workspaceActivity: (workspaceId: string, limit?: number) => readonly ["arbi", "workspaceActivity", string] | readonly ["arbi", "workspaceActivity", string, number];
82
- projects: () => readonly ["arbi", "projects"];
83
- projectUsage: (projectExtId: string, monthsBack: number) => readonly ["arbi", "projectUsage", string, number];
84
- projectConversationUsage: (projectExtId: string, monthsBack: number) => readonly ["arbi", "projectUsage", string, "byConversation", number];
85
- projectInvoices: (projectExtId: string) => readonly ["arbi", "projectInvoices", string];
86
- /** The plans and add-ons on sale. */
87
- products: () => readonly ["arbi", "products"];
88
- /** Prices of a purchase or a change (quotes, previews); nothing is bought. */
89
- billingQuotes: () => readonly ["arbi", "billingQuote"];
90
- userUsageToday: () => readonly ["arbi", "userUsageToday"];
91
- currentUser: () => readonly ["arbi", "currentUser"];
92
- firmPool: () => readonly ["arbi", "firmPool"];
93
- contacts: () => readonly ["arbi", "contacts"];
94
- /** Every chat query (the list and each open thread). */
95
- chats: () => readonly ["arbi", "chats"];
96
- /** My chats, raw (titles and last messages are ciphertext), most recently active first. */
97
- chatList: () => readonly ["arbi", "chats", "list"];
98
- /** One thread's loaded messages, decrypted, oldest first (`ChatThreadData`). */
99
- chatThread: (chatExtId: string) => readonly ["arbi", "chats", "thread", string];
100
- /** My own agent's progress on my last message to it (`agent_dm_status`), per agent. */
101
- agentDmStatus: (agentExtId: string) => readonly ["arbi", "chats", "agentStatus", string];
102
- /** The paid features this person may use (`/v1/user/entitlements`). */
103
- entitlements: () => readonly ["arbi", "entitlements"];
104
- skills: () => readonly ["arbi", "skills"];
105
- /** A skill's main file (SKILL.md), as text. */
106
- skillSource: (docExtId: string) => readonly ["arbi", "skills", "source", string];
107
- /** An agent's pinned config; `undefined` = the library default config. */
108
- agentConfig: (agentExtId?: string) => readonly ["arbi", "agentConfig", string];
109
- agentWorkspaces: (agentExtId: string) => readonly ["arbi", "agentWorkspaces", string];
110
- /** An agent's own login, polled while its controls are open. */
111
- agentSession: (agentExtId: string) => readonly ["arbi", "agentSession", string];
112
- agentChats: (agentExtId: string) => readonly ["arbi", "agentChats", string];
113
- authorizeLimits: () => readonly ["arbi", "authorizeLimits"];
114
- mcpTools: () => readonly ["arbi", "mcpTools"];
115
- models: () => readonly ["arbi", "models"];
116
- availableModels: () => readonly ["arbi", "availableModels"];
117
- modelConnections: (userId?: string) => readonly ["arbi", "modelConnections", string | undefined];
118
- directModelUsage: (userId?: string) => readonly ["arbi", "directModelUsage", string | undefined];
119
- /** The signed-in user's own profile (name, picture, email). */
120
- profile: () => readonly ["arbi", "profile"];
121
- identity: () => readonly ["arbi", "identity"];
122
- /** The signed-in user's settings record (notification preferences, flags). */
123
- userSettings: () => readonly ["arbi", "userSettings"];
124
- /** Every notification list: the prefix a delete, a read receipt or an arrival invalidates. */
125
- allSupportTickets: () => readonly ["arbi", "support"];
126
- supportTickets: () => readonly ["arbi", "support", "tickets"];
127
- supportTicket: (id: number) => readonly ["arbi", "support", "tickets", number];
128
- allNotifications: () => readonly ["arbi", "notifications"];
129
- /** The newest `limit` notifications, received and sent. */
130
- notifications: (limit: number) => readonly ["arbi", "notifications", number];
131
- /** The documents a workspace may use as its Word house template. */
132
- houseTemplateCandidates: (workspaceId: string) => readonly ["arbi", "houseTemplateCandidates", string];
133
- /** Every storage view (projects, items, names, Recently deleted): what a restore or delete refreshes. */
134
- storage: () => readonly ["arbi", "storage"];
135
- /** What each project stores; no params: every such list. */
136
- storageProjects: (params?: object) => readonly ["arbi", "storage", "projects"] | readonly ["arbi", "storage", "projects", object];
137
- /** The largest items stored; no params: every such list. */
138
- storageItems: (params?: object) => readonly ["arbi", "storage", "items"] | readonly ["arbi", "storage", "items", object];
139
- /** Decrypted document names of storage items. */
140
- storageItemNames: (params?: object) => readonly ["arbi", "storage", "names"] | readonly ["arbi", "storage", "names", object];
141
- /** The deployment's storage day by day. */
142
- storageSnapshots: (params?: object) => readonly ["arbi", "storage", "snapshots"] | readonly ["arbi", "storage", "snapshots", object];
143
- /** A workspace's Recently deleted documents; no id: every workspace's. */
144
- workspaceTrash: (workspaceId?: string) => readonly ["arbi", "storage", "workspaceTrash"] | readonly ["arbi", "storage", "workspaceTrash", string];
145
- /** A workspace's archive state; no id: every workspace's. */
146
- workspaceArchive: (workspaceId?: string) => readonly ["arbi", "workspaceArchive"] | readonly ["arbi", "workspaceArchive", string];
147
- /** Every database query of every workspace (what a write or a switch refreshes). */
148
- databases: () => readonly ["arbi", "databases"];
149
- /** A workspace's databases; no id: every workspace's. */
150
- databaseList: (workspaceId?: string) => readonly ["arbi", "databases", "list"] | readonly ["arbi", "databases", "list", string];
151
- /** One database of a workspace; no workspace: every one read. */
152
- database: (workspaceId?: string, databaseId?: string) => readonly ["arbi", "databases", "one"] | readonly ["arbi", "databases", "one", string, string];
153
- /**
154
- * A database's rows (a search); no workspace: every database's, no params: every search of one.
155
- * `['arbi', 'databases', 'rows', workspaceId, databaseId, params]`.
156
- */
157
- databaseRows: (workspaceId?: string, databaseId?: string, params?: object) => readonly ["arbi", "databases", "rows"] | readonly ["arbi", "databases", "rows", string, string] | readonly ["arbi", "databases", "rows", string, string, object];
158
- /** The saved dashboards of a store's scope (the user's own, or a workspace's database). */
159
- dashboards: (scope: string) => readonly ["arbi", "dashboards", string];
160
- /** A database's rows grouped and measured (a chart); no workspace: every database's. */
161
- databaseAggregate: (workspaceId?: string, databaseId?: string, request?: object) => readonly ["arbi", "databases", "aggregate"] | readonly ["arbi", "databases", "aggregate", string, string, object];
162
- /** Under `configs()`: the saved configuration versions. */
163
- configVersions: () => readonly ["arbi", "configs", "versions"];
164
- /** Under `configs()`: the JSON schema of every config model. */
165
- configSchema: () => readonly ["arbi", "configs", "schema"];
166
- /** Under `configs()`: one configuration. */
167
- config: (configId: string) => readonly ["arbi", "configs", "one", string];
168
- /** The remote model providers' health. */
169
- remoteModels: () => readonly ["arbi", "remoteModels"];
170
- /** Under the conversations prefix: what a parked run waits for the owner to allow. */
171
- conversationPendingAuth: (conversationId: string) => readonly ["arbi", "conversations", string, "pending-auth"];
172
- /** Signatures on a document (a version); no id: every document's. */
173
- documentSignatures: (docId?: string, version?: number | null) => readonly ["arbi", "documentSignatures"] | readonly ["arbi", "documentSignatures", string, number | null];
174
- /** The certificate of a signature reference. */
175
- signatureVerification: (reference: string) => readonly ["arbi", "signatureVerification", string];
176
- /** Every signature request list: what a request write refreshes. */
177
- signatureRequests: () => readonly ["arbi", "signatureRequests"];
178
- signatureRequestsForDocument: (docId: string) => readonly ["arbi", "signatureRequests", "document", string];
179
- /** Who may sign in a workspace; no id: every workspace's. */
180
- signatureCandidates: (workspaceId?: string) => readonly ["arbi", "signatureRequests", "candidates"] | readonly ["arbi", "signatureRequests", "candidates", string];
181
- /** The user's saved (informal) signature. */
182
- savedSignature: () => readonly ["arbi", "savedSignature"];
183
- /** An html/react artifact's source. */
184
- artifactSource: (docId: string) => readonly ["arbi", "artifactSource", string];
185
- /** An artifact's text, under its parsed content (refreshed with it). */
186
- artifactText: (docId: string) => readonly ["arbi", "parsedDoc", string, "marker", "artifact-text"];
187
- /** An image document's bytes as an object URL. */
188
- assetImage: (docId: string) => readonly ["arbi", "assetImage", string];
189
- /** An agent config's model tier (the builder's badge). */
190
- agentConfigModel: (configId: string) => readonly ["arbi", "agentConfigModel", string];
191
- /** Under `billingQuotes()`: the price of a plan change. */
192
- billingPreview: (projectExtId: string, change: unknown) => readonly ["arbi", "billingQuote", "preview", string, unknown];
193
- billingPlanQuote: (projectExtId: string | null, body: unknown) => readonly ["arbi", "billingQuote", "plan", string | null, unknown];
194
- billingAddonQuote: (projectExtId: string, kind: string) => readonly ["arbi", "billingQuote", "addon", string, string];
195
- /** Under `contacts()`: a search of the people one can reach. */
196
- contactSearch: (term: string) => readonly ["arbi", "contacts", "search", string];
197
- /** Under the workspace's facts: a filtered list. */
198
- factList: (workspaceId: string, filter: unknown) => readonly ["arbi", "facts", string, unknown];
199
- /**
200
- * Under `skills()`: a workspace's list, hidden ones included or not. Without a marketplace the
201
- * server lists the open workspace's skills, so the list is kept per workspace.
202
- */
203
- skillList: (workspaceId: string, includeHidden: boolean) => readonly ["arbi", "skills", "list", string, boolean];
204
- /** Under the project's events: one kind, one page size. */
205
- projectEventList: (projectExtId: string, kind: string, limit: number | "default") => readonly ["arbi", "projects", string, "events", string, number | "default"];
206
- /** The documents pinned for offline reading on this device. */
207
- offlineDocuments: () => readonly ["arbi", "offlineDocuments"];
208
- /** Notifications of one kind for a deployment's user (polled). */
209
- typedNotifications: (kind: string, apiUrl: string, userId: string | undefined) => readonly ["arbi", "typedNotifications", string, string, string];
210
- };
211
- /**
212
- * Keys of the mutations a host may need to follow (its own caches outside these hooks), e.g. with
213
- * a `MutationCache` subscription: a workflow run creates a task in the host's own task list.
214
- */
215
- declare const arbiMutationKeys: {
216
- /** A member's role changed. */
217
- setWorkspaceMemberRoles: () => readonly ["arbi", "workspaces", "roles"];
218
- runWorkflow: () => readonly ["arbi", "workflows", "run"];
219
- updateTagKindSchema: () => readonly ["arbi", "tags", "kinds", "update"];
220
- createTag: () => readonly ["arbi", "tags", "create"];
221
- updateTag: () => readonly ["arbi", "tags", "update"];
222
- deleteTag: () => readonly ["arbi", "tags", "delete"];
223
- extractEntities: () => readonly ["arbi", "tags", "entities", "extract"];
224
- updateDocuments: () => readonly ["arbi", "documents", "update"];
225
- deleteDocuments: () => readonly ["arbi", "documents", "delete"];
226
- uploadDocuments: () => readonly ["arbi", "documents", "upload"];
227
- uploadUrls: () => readonly ["arbi", "documents", "uploadUrls"];
228
- assignDocTags: () => readonly ["arbi", "doctags", "assign"];
229
- removeDocTags: () => readonly ["arbi", "doctags", "remove"];
230
- updateDocTag: () => readonly ["arbi", "doctags", "update"];
231
- generateDocTags: () => readonly ["arbi", "doctags", "generate"];
232
- /** Members added to or removed from a workspace (leaving included). */
233
- workspaceMembership: () => readonly ["arbi", "workspaces", "members"];
234
- /** A chat turn being sent (the app's send pipeline). */
235
- sendMessage: () => readonly ["arbi", "conversations", "send"];
236
- };
237
- /**
238
- * Query keys of the calendar hooks, all under `['arbi', 'calendar']`. The calendar is the user's,
239
- * not a workspace's; only the overlays carry the open workspace.
240
- */
241
- declare const calendarQueryKeys: {
242
- all: () => readonly ["arbi", "calendar"];
243
- settings: () => readonly ["arbi", "calendar", "settings"];
244
- calendars: () => readonly ["arbi", "calendar", "calendars"];
245
- /** Every event list: the prefix an event write invalidates. */
246
- events: () => readonly ["arbi", "calendar", "events"];
247
- eventList: (p: ListEventsParams) => readonly ["arbi", "calendar", "events", {
248
- readonly start: string;
249
- readonly end: string;
250
- readonly calendars: string | null;
251
- }];
252
- /** Every single event read. */
253
- eventDetails: () => readonly ["arbi", "calendar", "event"];
254
- event: (id: string, recurrenceId?: string | null) => readonly ["arbi", "calendar", "event", string, string | null];
255
- shares: (calId: string) => readonly ["arbi", "calendar", "shares", string];
256
- invitations: () => readonly ["arbi", "calendar", "invitations"];
257
- holidayCountries: () => readonly ["arbi", "calendar", "holiday-countries"];
258
- allRooms: () => readonly ["arbi", "calendar", "rooms"];
259
- rooms: (q: RoomQuery) => readonly ["arbi", "calendar", "rooms", RoomQuery];
260
- freebusy: (attendees: string[], start: string, end: string) => readonly ["arbi", "calendar", "freebusy", string, string, string];
261
- allLookups: () => readonly ["arbi", "calendar", "lookup"];
262
- lookup: (uid: string) => readonly ["arbi", "calendar", "lookup", string];
263
- overlays: (workspaceId: string | null, w?: CalendarWindow, layers?: OverlayLayerName[]) => readonly ["arbi", "calendar", "overlays", string | null, {
264
- start: string;
265
- end: string;
266
- layers: string | undefined;
267
- } | null];
268
- accounts: () => readonly ["arbi", "calendar", "accounts"];
269
- caldavProfiles: () => readonly ["arbi", "calendar", "caldav-profiles"];
270
- bookingPages: () => readonly ["arbi", "calendar", "booking-pages"];
271
- /** The offline outbox (writes made offline, not yet sent). */
272
- outbox: () => readonly ["arbi", "calendar", "outbox"];
273
- };
274
- /** Query keys of the call hooks, all under `['arbi', 'calls']`. Calls are the user's, not a workspace's. */
275
- declare const callQueryKeys: {
276
- all: () => readonly ["arbi", "calls"];
277
- config: () => readonly ["arbi", "calls", "config"];
278
- call: (callExtId: string) => readonly ["arbi", "calls", "call", string];
279
- /** Everything about a call's recordings: the prefix a recording event invalidates. */
280
- recordingsOf: (callExtId: string) => readonly ["arbi", "calls", "recordings", string];
281
- recordings: (callExtId: string) => readonly ["arbi", "calls", "recordings", string, "list"];
282
- recording: (callExtId: string, recordingExtId: string) => readonly ["arbi", "calls", "recordings", string, "one", string];
283
- inviteLinks: (callExtId: string) => readonly ["arbi", "calls", "invite-links", string];
284
- };
285
- declare const connectorQueryKeys: {
286
- all: () => readonly ["arbi", "connectors"];
287
- catalog: () => readonly ["arbi", "connectors", "catalog"];
288
- mine: () => readonly ["arbi", "connectors", "mine"];
289
- mailboxFolders: (vendor: string) => readonly ["arbi", "connectors", "folders", string];
290
- mailboxSyncProgress: (vendor: string, workspaceExtId: string) => readonly ["arbi", "connectors", "sync-progress", string, string];
291
- allMailboxSyncProgress: () => readonly ["arbi", "connectors", "sync-progress"];
292
- driveFolders: (vendor: string) => readonly ["arbi", "connectors", "drive-folders", string];
293
- driveFolderChildren: (vendor: string, itemId: string) => readonly ["arbi", "connectors", "drive-folder-children", string, string];
294
- driveFolderDocCount: (vendor: string, itemId: string) => readonly ["arbi", "connectors", "drive-folder-doc-count", string, string];
295
- driveSyncEstimate: (vendor: string) => readonly ["arbi", "connectors", "drive-sync-estimate", string];
296
- driveSyncProgress: (vendor: string) => readonly ["arbi", "connectors", "drive-sync-progress", string];
297
- allDriveSyncProgress: () => readonly ["arbi", "connectors", "drive-sync-progress"];
298
- slack: () => readonly ["arbi", "connectors", "slack"];
299
- };
300
- declare const mailQueryKeys: {
301
- all: () => readonly ["arbi", "mail"];
302
- policy: () => readonly ["arbi", "mail", "policy"];
303
- accounts: () => readonly ["arbi", "mail", "accounts"];
304
- unlock: (accountId: string | undefined, sessionKey: string | null) => readonly ["arbi", "mail", "unlock", string | undefined, string];
305
- allFolders: () => readonly ["arbi", "mail", "folders"];
306
- folders: (accountId: string | undefined) => readonly ["arbi", "mail", "folders", string | undefined];
307
- allMessages: () => readonly ["arbi", "mail", "messages"];
308
- messages: (accountId: string | undefined, folderId: string | undefined, query: string, cursor: string | null) => readonly ["arbi", "mail", "messages", string | undefined, string | undefined, string, string | null];
309
- message: (accountId: string | undefined, messageId: string | null | undefined) => readonly ["arbi", "mail", "message", string | undefined, string | null | undefined];
310
- /** Every conversation list: the prefix a flag or move patches or refreshes. */
311
- allConversations: () => readonly ["arbi", "mail", "conversations"];
312
- conversations: (accountId: string | undefined, folderId: string | undefined, query: string, cursor: string | null) => readonly ["arbi", "mail", "conversations", string | undefined, string | undefined, string, string | null];
313
- /** Every thread read of an account. */
314
- accountThreads: (accountId: string) => readonly ["arbi", "mail", "thread", string];
315
- thread: (accountId: string | undefined, threadId: string | null | undefined, folderId: string | undefined) => readonly ["arbi", "mail", "thread", string | undefined, string | null | undefined, string | undefined];
316
- /** Where the ARBI mailbox files mail (folders and conversations, per workspace). */
317
- nativeFiling: () => readonly ["arbi", "mail", "filing", "native"];
318
- /** Every filing lookup: refreshed after mail is added to a workspace or a rule is stopped. */
319
- allFiling: () => readonly ["arbi", "mail", "filing"];
320
- filing: (accountId: string | undefined, messageIds: string[], threadIds: string[]) => readonly ["arbi", "mail", "filing", string | undefined, string, string];
321
- /** The key the user's client keys older native mail with: outside the `['arbi', 'mail']` prefix, so
322
- * refreshing mail never fetches it again. */
323
- threadSecret: () => readonly ["arbi", "mail-thread-secret"];
324
- /** The projects an email's AI work can be billed to. */
325
- projects: () => readonly ["arbi", "mail", "projects"];
326
- /** A saved draft prepared for editing. */
327
- draftCompose: (accountId: string | undefined, draftId: string | undefined) => readonly ["arbi", "mail", "draft-compose", string | undefined, string | undefined];
328
- attachmentText: (accountId: string, messageId: string, attachmentId: string) => readonly ["arbi", "mail", "attachment-text", string, string, string];
329
- };
330
- /** `pdf`: the document as a PDF; `original`: the stored file (an image, a recording, a sheet). */
331
- type DocumentBytesKind = 'pdf' | 'original';
332
- /** Every version and kind of a document's bytes: the prefix a new version invalidates. */
333
- declare const documentBytesKey: (documentRef: string, version?: number | null, kind?: DocumentBytesKind) => readonly ["arbi", "documentBytes", string] | readonly ["arbi", "documentBytes", string, number | null, DocumentBytesKind];
334
- /** Whether `queryKey` lies under `prefix` (a factory key): React Query's own prefix match. */
335
- declare function isUnderQueryKey(queryKey: readonly unknown[], prefix: readonly unknown[]): boolean;
336
-
337
- export { type DocumentBytesKind as D, arbiMutationKeys as a, arbiQueryKeys as b, calendarQueryKeys as c, callQueryKeys as d, connectorQueryKeys as e, documentBytesKey as f, isUnderQueryKey as i, mailQueryKeys as m };
@@ -1,6 +0,0 @@
1
- export { A as AppNotification, a as ArbiHost, b as ArbiHostConnection, c as ArbiHostProps, d as AssistantCopy, C as ChatArtifact, D as DEFAULT_ASSISTANT_NAME, H as HostConfigRecord, L as LEGACY_THREAD_DOCUMENTS_KEY, f as MENTION_HREF_PREFIX, g as MentionCandidate, h as MentionKind, i as MessageMentionRef, N as NotificationBell, j as NotificationBellProps, l as NotifyConfig, m as NotifyOptions, n as NotifyVariant, O as OpenDocumentRegistration, S as SavedDocumentInput, o as SearchSession, p as SearchSessionState, q as SearchStatus, T as ThreadBinding, r as ThreadBindingRow, s as Toaster, t as TurnDocumentInput, U as UNBOUND, W as WordDocumentKind, u as assistantCopy, v as bindingOfRow, w as clearChatArtifacts, x as clearSearchSession, y as configureNotify, z as createSearchSession, B as extractMentions, E as filterMentionCandidates, F as findMentionQuery, G as forgetLegacyThreadDocuments, I as getChatArtifact, J as getChatArtifacts, K as hasMessageBody, P as insertMention, Q as latestThreadOfDocument, R as linkMentions, V as mentionFromHref, X as notify, Y as openDocumentId, Z as opensInWord, _ as persistNotifyHistory, $ as persistSearchSession, a0 as readLegacyThreadDocuments, a1 as recordChatArtifact, a2 as requestSearch, a3 as savedDocumentIdFor, a5 as selectUnread, a6 as sharedSearchSession, a7 as takeDocumentForTurn, a8 as takePendingSearch, a9 as toMessageMentions, aa as useAssistantCopy, ab as useAssistantName, ac as useChatArtifact, ad as useHostConfigRecord, ae as useMessageChatArtifact, af as useNotify, ag as useOpenDocumentId, ah as useRegisterOpenDocument, ai as useTurnDocumentId } from '../index.d-oR5FKZpJ.cjs';
2
- export { ToasterProps, toast } from 'sonner';
3
- import 'zustand';
4
- import 'react';
5
- import 'zustand/vanilla';
6
- import '@arbidocs/sdk/browser';
@@ -1,35 +0,0 @@
1
- import { b as AnnotationLayer } from './model.d-CNtRWKVK.cjs';
2
-
3
- /**
4
- * Where a layer is kept. The layer is data about a document, not part of it, so the host decides
5
- * (backend API, IndexedDB, a file). This package ships an in-memory store and a localStorage
6
- * store; both validate on load because stored JSON is untrusted. A store shared by several
7
- * writers (ARBI's server-side markup) also implements the optional members: it may merge on save,
8
- * pull others' changes, and say whether this user may write at all.
9
- */
10
-
11
- interface AnnotationStore {
12
- /** The saved layer, or an empty one for a document that has none yet. */
13
- load(documentId: string): Promise<AnnotationLayer>;
14
- /**
15
- * Write a layer. A store with other writers may resolve to what it actually saved — this layer
16
- * merged with theirs (see `mergeLayers`); the caller then rebases its newer edits onto it.
17
- */
18
- save(layer: AnnotationLayer): Promise<AnnotationLayer | void>;
19
- /** Others' changes since the last load or save, or null when there are none. */
20
- pull?(documentId: string): Promise<AnnotationLayer | null>;
21
- /** Whether this user may change the layer; false makes it view-only. Known after `load`. */
22
- canEdit?(documentId: string): boolean;
23
- }
24
- /** Thrown by a store whose backend cannot be reached: the layer is kept and saved when back. */
25
- declare class AnnotationStoreOfflineError extends Error {
26
- constructor(message?: string);
27
- }
28
- declare function createMemoryStore(now?: () => string): AnnotationStore;
29
- /**
30
- * Per-browser store. Storage can be absent, full or blocked (private windows), so every access is
31
- * guarded. A saved layer that no longer validates is ignored rather than crashing the viewer.
32
- */
33
- declare function createLocalStorageStore(storage?: Pick<Storage, 'getItem' | 'setItem'> | undefined, now?: () => string): AnnotationStore;
34
-
35
- export { type AnnotationStore as A, AnnotationStoreOfflineError as a, createMemoryStore as b, createLocalStorageStore as c };