@arbidocs/react 0.5.110 → 0.5.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PdfViewerImpl-QUSDLNNM.cjs +380 -0
- package/dist/PdfViewerImpl-QUSDLNNM.cjs.map +1 -0
- package/dist/{PdfViewer.d-bQH9yxFg.d.cts → PdfViewerImpl.d-B28hLEuj.d.ts} +8 -1
- package/dist/account/client.js +96 -0
- package/dist/account/client.js.map +7 -0
- package/dist/account/delete.js +70 -0
- package/dist/account/delete.js.map +7 -0
- package/dist/account/didit.js +34 -0
- package/dist/account/didit.js.map +7 -0
- package/dist/account/dismissed-tips.js +33 -0
- package/dist/account/dismissed-tips.js.map +7 -0
- package/dist/account/email.js +84 -0
- package/dist/account/email.js.map +7 -0
- package/dist/account/entitlements.js +47 -0
- package/dist/account/entitlements.js.map +7 -0
- package/dist/account/identity.js +270 -0
- package/dist/account/identity.js.map +7 -0
- package/dist/account/index.js +93 -0
- package/dist/account/index.js.map +7 -0
- package/dist/account/notifications.js +59 -0
- package/dist/account/notifications.js.map +7 -0
- package/dist/account/password.js +103 -0
- package/dist/account/password.js.map +7 -0
- package/dist/account/profile.js +116 -0
- package/dist/account/profile.js.map +7 -0
- package/dist/account/recovery.js +13 -0
- package/dist/account/recovery.js.map +7 -0
- package/dist/account/relevance.js +82 -0
- package/dist/account/relevance.js.map +7 -0
- package/dist/account/sessions.js +37 -0
- package/dist/account/sessions.js.map +7 -0
- package/dist/account/settings.js +39 -0
- package/dist/account/settings.js.map +7 -0
- package/dist/account/table-views.js +16 -0
- package/dist/account/table-views.js.map +7 -0
- package/dist/ai/AiAnswer.js +83 -0
- package/dist/ai/AiAnswer.js.map +7 -0
- package/dist/ai/AiMarkdown.js +40 -0
- package/dist/ai/AiMarkdown.js.map +7 -0
- package/dist/ai/ArtifactCanvas.js +193 -0
- package/dist/ai/ArtifactCanvas.js.map +7 -0
- package/dist/ai/CitationRenderer.js +413 -0
- package/dist/ai/CitationRenderer.js.map +7 -0
- package/dist/{chunk-WL2Y2T47.js → ai/MarkdownRenderer.js} +35 -101
- package/dist/ai/MarkdownRenderer.js.map +7 -0
- package/dist/ai/MessageArtifactCard.js +75 -0
- package/dist/ai/MessageArtifactCard.js.map +7 -0
- package/dist/ai/PassageCard.js +79 -0
- package/dist/ai/PassageCard.js.map +7 -0
- package/dist/ai/engine.js +110 -0
- package/dist/ai/engine.js.map +7 -0
- package/dist/ai/index.js +63 -0
- package/dist/ai/index.js.map +7 -0
- package/dist/ai/markdown-base-components.js +37 -0
- package/dist/ai/markdown-base-components.js.map +7 -0
- package/dist/ai/markdown-streaming-context.js +6 -0
- package/dist/ai/markdown-streaming-context.js.map +7 -0
- package/dist/{chunk-VSCU7K4V.js → ai/normalize-citations.js} +12 -19
- package/dist/ai/normalize-citations.js.map +7 -0
- package/dist/ai/redline.js +41 -0
- package/dist/ai/redline.js.map +7 -0
- package/dist/ai/split-markdown-blocks.js +40 -0
- package/dist/ai/split-markdown-blocks.js.map +7 -0
- package/dist/{chunk-UW2SGTI5.js → ai/stored-markdown.js} +41 -93
- package/dist/ai/stored-markdown.js.map +7 -0
- package/dist/annotations/AnnotationPageOverlay.js +807 -0
- package/dist/annotations/AnnotationPageOverlay.js.map +7 -0
- package/dist/annotations/AnnotationToolbar.js +398 -0
- package/dist/annotations/AnnotationToolbar.js.map +7 -0
- package/dist/annotations/FreezeDialog.js +170 -0
- package/dist/annotations/FreezeDialog.js.map +7 -0
- package/dist/annotations/ProductionDialog.js +354 -0
- package/dist/annotations/ProductionDialog.js.map +7 -0
- package/dist/annotations/controller.js +49 -0
- package/dist/annotations/controller.js.map +7 -0
- package/dist/annotations/freeze/browser.js +21 -0
- package/dist/annotations/freeze/browser.js.map +7 -0
- package/dist/annotations/freeze/bundle.js +201 -0
- package/dist/annotations/freeze/bundle.js.map +7 -0
- package/dist/annotations/freeze/coords.js +37 -0
- package/dist/annotations/freeze/coords.js.map +7 -0
- package/dist/annotations/freeze/freeze.js +261 -0
- package/dist/annotations/freeze/freeze.js.map +7 -0
- package/dist/annotations/freeze/hash.js +28 -0
- package/dist/annotations/freeze/hash.js.map +7 -0
- package/dist/annotations/freeze/index-page.js +78 -0
- package/dist/annotations/freeze/index-page.js.map +7 -0
- package/dist/annotations/freeze/index.d.ts +1 -1
- package/dist/annotations/freeze/index.js +28 -22
- package/dist/annotations/freeze/index.js.map +7 -1
- package/dist/annotations/freeze/raster.js +208 -0
- package/dist/annotations/freeze/raster.js.map +7 -0
- package/dist/annotations/freeze/stamp.js +117 -0
- package/dist/annotations/freeze/stamp.js.map +7 -0
- package/dist/annotations/freeze/types.js +14 -0
- package/dist/annotations/freeze/types.js.map +7 -0
- package/dist/annotations/freeze/vector.js +283 -0
- package/dist/annotations/freeze/vector.js.map +7 -0
- package/dist/annotations/geometry.js +81 -0
- package/dist/annotations/geometry.js.map +7 -0
- package/dist/annotations/index.js +125 -6
- package/dist/annotations/index.js.map +7 -1
- package/dist/annotations/merge.js +53 -0
- package/dist/annotations/merge.js.map +7 -0
- package/dist/{chunk-T3USOSVN.js → annotations/model.js} +23 -16
- package/dist/annotations/model.js.map +7 -0
- package/dist/annotations/overlay-geometry.js +41 -0
- package/dist/annotations/overlay-geometry.js.map +7 -0
- package/dist/annotations/redaction-log.js +33 -0
- package/dist/annotations/redaction-log.js.map +7 -0
- package/dist/annotations/selection-marks.js +122 -0
- package/dist/annotations/selection-marks.js.map +7 -0
- package/dist/annotations/state.js +140 -0
- package/dist/annotations/state.js.map +7 -0
- package/dist/annotations/store.js +49 -0
- package/dist/annotations/store.js.map +7 -0
- package/dist/annotations/useAnnotationLayer.js +306 -0
- package/dist/annotations/useAnnotationLayer.js.map +7 -0
- package/dist/annotations/useAnnotationShortcuts.js +31 -0
- package/dist/annotations/useAnnotationShortcuts.js.map +7 -0
- package/dist/annotations/useTextSelectionMarks.js +100 -0
- package/dist/annotations/useTextSelectionMarks.js.map +7 -0
- package/dist/artifacts/artifact-kind.js +19 -0
- package/dist/artifacts/artifact-kind.js.map +7 -0
- package/dist/artifacts/index.cjs +13 -13
- package/dist/artifacts/index.js +89 -571
- package/dist/artifacts/index.js.map +7 -1
- package/dist/{chunk-WUTL62MC.js → artifacts/normalize-markdown.js} +12 -14
- package/dist/artifacts/normalize-markdown.js.map +7 -0
- package/dist/artifacts/redline-core.js +12 -3
- package/dist/artifacts/redline-core.js.map +7 -1
- package/dist/{chunk-74N436VK.js → artifacts/redline-diff.js} +10 -9
- package/dist/artifacts/redline-diff.js.map +7 -0
- package/dist/artifacts/redline-engine.js +14 -0
- package/dist/artifacts/redline-engine.js.map +7 -0
- package/dist/artifacts/renderArtifactMarkdown.js +9 -0
- package/dist/artifacts/renderArtifactMarkdown.js.map +7 -0
- package/dist/artifacts/useArtifactEditSession.js +183 -0
- package/dist/artifacts/useArtifactEditSession.js.map +7 -0
- package/dist/artifacts/useArtifactSession.js +173 -0
- package/dist/artifacts/useArtifactSession.js.map +7 -0
- package/dist/artifacts/useArtifactSource.js +16 -0
- package/dist/artifacts/useArtifactSource.js.map +7 -0
- package/dist/artifacts/useArtifactText.js +78 -0
- package/dist/artifacts/useArtifactText.js.map +7 -0
- package/dist/artifacts/useRedline.js +65 -0
- package/dist/artifacts/useRedline.js.map +7 -0
- package/dist/artifacts/useStreamedArtifact.js +74 -0
- package/dist/artifacts/useStreamedArtifact.js.map +7 -0
- package/dist/artifacts/versions.js +68 -0
- package/dist/artifacts/versions.js.map +7 -0
- package/dist/billing.js +200 -0
- package/dist/billing.js.map +7 -0
- package/dist/boot-timeout.js +19 -0
- package/dist/boot-timeout.js.map +7 -0
- package/dist/calendar/accounts.js +213 -0
- package/dist/calendar/accounts.js.map +7 -0
- package/dist/calendar/hooks.js +409 -0
- package/dist/calendar/hooks.js.map +7 -0
- package/dist/calendar/index.js +31 -0
- package/dist/calendar/index.js.map +7 -0
- package/dist/calendar/keys.js +5 -0
- package/dist/calendar/keys.js.map +7 -0
- package/dist/calendar/offline/outbox.js +231 -0
- package/dist/calendar/offline/outbox.js.map +7 -0
- package/dist/calendar/offline/runtime.js +109 -0
- package/dist/calendar/offline/runtime.js.map +7 -0
- package/dist/calendar/offline/support.js +41 -0
- package/dist/calendar/offline/support.js.map +7 -0
- package/dist/calendar/support.js +34 -0
- package/dist/calendar/support.js.map +7 -0
- package/dist/calls/actions.js +226 -0
- package/dist/calls/actions.js.map +7 -0
- package/dist/calls/events.js +138 -0
- package/dist/calls/events.js.map +7 -0
- package/dist/calls/gate.js +19 -0
- package/dist/calls/gate.js.map +7 -0
- package/dist/calls/hooks.js +115 -0
- package/dist/calls/hooks.js.map +7 -0
- package/dist/calls/in-call-chat.js +132 -0
- package/dist/calls/in-call-chat.js.map +7 -0
- package/dist/calls/index.js +24 -0
- package/dist/calls/index.js.map +7 -0
- package/dist/calls/keys.js +17 -0
- package/dist/calls/keys.js.map +7 -0
- package/dist/calls/livekit/index.cjs +48 -48
- package/dist/calls/livekit/index.js +6 -958
- package/dist/calls/livekit/index.js.map +7 -1
- package/dist/calls/livekit/room.js +98 -0
- package/dist/calls/livekit/room.js.map +7 -0
- package/dist/calls/livekit/useCallRecorder.js +219 -0
- package/dist/calls/livekit/useCallRecorder.js.map +7 -0
- package/dist/calls/livekit/useCallTranscriber.js +309 -0
- package/dist/calls/livekit/useCallTranscriber.js.map +7 -0
- package/dist/calls/livekit/useHostMuteNotice.js +29 -0
- package/dist/calls/livekit/useHostMuteNotice.js.map +7 -0
- package/dist/calls/livekit/useInCallChat.js +161 -0
- package/dist/calls/livekit/useInCallChat.js.map +7 -0
- package/dist/calls/livekit/useWebinar.js +239 -0
- package/dist/calls/livekit/useWebinar.js.map +7 -0
- package/dist/calls/meeting-chat.js +149 -0
- package/dist/calls/meeting-chat.js.map +7 -0
- package/dist/calls/moderation.js +50 -0
- package/dist/calls/moderation.js.map +7 -0
- package/dist/calls/open-meeting-chat.js +29 -0
- package/dist/calls/open-meeting-chat.js.map +7 -0
- package/dist/calls/read-only.js +24 -0
- package/dist/calls/read-only.js.map +7 -0
- package/dist/calls/recording-media.js +218 -0
- package/dist/calls/recording-media.js.map +7 -0
- package/dist/calls/recording-playback.js +260 -0
- package/dist/calls/recording-playback.js.map +7 -0
- package/dist/calls/recording.js +268 -0
- package/dist/calls/recording.js.map +7 -0
- package/dist/calls/save-to-thread.js +80 -0
- package/dist/calls/save-to-thread.js.map +7 -0
- package/dist/calls/session.js +134 -0
- package/dist/calls/session.js.map +7 -0
- package/dist/calls/transcript-format.js +147 -0
- package/dist/calls/transcript-format.js.map +7 -0
- package/dist/calls/transcription.js +101 -0
- package/dist/calls/transcription.js.map +7 -0
- package/dist/calls/webinar.js +71 -0
- package/dist/calls/webinar.js.map +7 -0
- package/dist/charge-watch.js +71 -0
- package/dist/charge-watch.js.map +7 -0
- package/dist/chat/ChatBubble.js +146 -0
- package/dist/chat/ChatBubble.js.map +7 -0
- package/dist/chat/ConversationScope.js +30 -0
- package/dist/chat/ConversationScope.js.map +7 -0
- package/dist/chat/active-config.js +20 -0
- package/dist/chat/active-config.js.map +7 -0
- package/dist/chat/agent-chat-owner.js +25 -0
- package/dist/chat/agent-chat-owner.js.map +7 -0
- package/dist/chat/chat-artifacts.js +64 -0
- package/dist/chat/chat-artifacts.js.map +7 -0
- package/dist/chat/citations.js +32 -0
- package/dist/chat/citations.js.map +7 -0
- package/dist/chat/config-model.js +10 -0
- package/dist/chat/config-model.js.map +7 -0
- package/dist/chat/conversation-cache.js +676 -0
- package/dist/chat/conversation-cache.js.map +7 -0
- package/dist/chat/conversation-events.js +57 -0
- package/dist/chat/conversation-events.js.map +7 -0
- package/dist/chat/conversation-mentions.js +58 -0
- package/dist/chat/conversation-mentions.js.map +7 -0
- package/dist/chat/conversation-workspace.js +58 -0
- package/dist/chat/conversation-workspace.js.map +7 -0
- package/dist/chat/mentions.js +116 -0
- package/dist/chat/mentions.js.map +7 -0
- package/dist/chat/open-document.js +106 -0
- package/dist/chat/open-document.js.map +7 -0
- package/dist/chat/orphaned.js +44 -0
- package/dist/chat/orphaned.js.map +7 -0
- package/dist/chat/pendingFirstTurn.js +30 -0
- package/dist/chat/pendingFirstTurn.js.map +7 -0
- package/dist/chat/reply-target.js +12 -0
- package/dist/chat/reply-target.js.map +7 -0
- package/dist/chat/run-finished.js +28 -0
- package/dist/chat/run-finished.js.map +7 -0
- package/dist/chat/run-state.js +91 -0
- package/dist/chat/run-state.js.map +7 -0
- package/dist/chat/stream-handlers.js +419 -0
- package/dist/chat/stream-handlers.js.map +7 -0
- package/dist/chat/thread-binding.js +76 -0
- package/dist/chat/thread-binding.js.map +7 -0
- package/dist/chat/thread-document.js +53 -0
- package/dist/chat/thread-document.js.map +7 -0
- package/dist/chat/turn-control.js +79 -0
- package/dist/chat/turn-control.js.map +7 -0
- package/dist/chat/useAgentRunControl.js +36 -0
- package/dist/chat/useAgentRunControl.js.map +7 -0
- package/dist/chat/useAnswerAgentQuestion.js +19 -0
- package/dist/chat/useAnswerAgentQuestion.js.map +7 -0
- package/dist/chat/useAskAgain.js +32 -0
- package/dist/chat/useAskAgain.js.map +7 -0
- package/dist/chat/useAutoSendDraft.js +17 -0
- package/dist/chat/useAutoSendDraft.js.map +7 -0
- package/dist/chat/useBranchNavigation.js +97 -0
- package/dist/chat/useBranchNavigation.js.map +7 -0
- package/dist/chat/useConnectRunStream.js +169 -0
- package/dist/chat/useConnectRunStream.js.map +7 -0
- package/dist/chat/useConversation.js +431 -0
- package/dist/chat/useConversation.js.map +7 -0
- package/dist/chat/useConversationActions.js +662 -0
- package/dist/chat/useConversationActions.js.map +7 -0
- package/dist/chat/useConversationData.js +143 -0
- package/dist/chat/useConversationData.js.map +7 -0
- package/dist/chat/useConversationDocuments.js +41 -0
- package/dist/chat/useConversationDocuments.js.map +7 -0
- package/dist/chat/useConversationSettings.js +78 -0
- package/dist/chat/useConversationSettings.js.map +7 -0
- package/dist/chat/useConversationTurn.js +31 -0
- package/dist/chat/useConversationTurn.js.map +7 -0
- package/dist/chat/useConversationWorkspace.js +12 -0
- package/dist/chat/useConversationWorkspace.js.map +7 -0
- package/dist/chat/useDeleteMessage.js +15 -0
- package/dist/chat/useDeleteMessage.js.map +7 -0
- package/dist/chat/useDocumentAutoAdd.js +73 -0
- package/dist/chat/useDocumentAutoAdd.js.map +7 -0
- package/dist/chat/useMessageTimer.js +39 -0
- package/dist/chat/useMessageTimer.js.map +7 -0
- package/dist/chat/useThinkingContent.js +67 -0
- package/dist/chat/useThinkingContent.js.map +7 -0
- package/dist/chat/useThreadDocument.js +61 -0
- package/dist/chat/useThreadDocument.js.map +7 -0
- package/dist/chat/workflow-run-titles.js +50 -0
- package/dist/chat/workflow-run-titles.js.map +7 -0
- package/dist/{chunk-W2FATOTX.cjs → chunk-3JAEX57E.cjs} +4 -4
- package/dist/{chunk-W2FATOTX.cjs.map → chunk-3JAEX57E.cjs.map} +1 -1
- package/dist/{chunk-HD5H2PPP.cjs → chunk-5TRUFWKT.cjs} +66 -66
- package/dist/{chunk-HD5H2PPP.cjs.map → chunk-5TRUFWKT.cjs.map} +1 -1
- package/dist/{chunk-Z3W4XFWB.cjs → chunk-C72FSQUE.cjs} +3 -3
- package/dist/{chunk-Z3W4XFWB.cjs.map → chunk-C72FSQUE.cjs.map} +1 -1
- package/dist/{chunk-LBAG7KL7.cjs → chunk-FQVNZCTD.cjs} +3 -3
- package/dist/{chunk-LBAG7KL7.cjs.map → chunk-FQVNZCTD.cjs.map} +1 -1
- package/dist/{chunk-RVUGSM65.cjs → chunk-GKGAPU6T.cjs} +44 -44
- package/dist/{chunk-RVUGSM65.cjs.map → chunk-GKGAPU6T.cjs.map} +1 -1
- package/dist/{chunk-7LIMHY56.cjs → chunk-O32T7XRD.cjs} +3 -3
- package/dist/{chunk-7LIMHY56.cjs.map → chunk-O32T7XRD.cjs.map} +1 -1
- package/dist/chunk-PWGSIM3F.cjs +291 -0
- package/dist/chunk-PWGSIM3F.cjs.map +1 -0
- package/dist/chunk-QP3WQSAA.cjs +23 -0
- package/dist/chunk-QP3WQSAA.cjs.map +1 -0
- package/dist/chunk-T5FZICXN.cjs +50 -0
- package/dist/chunk-T5FZICXN.cjs.map +1 -0
- package/dist/{chunk-QF2BW6HZ.cjs → chunk-UDDJIUHJ.cjs} +38 -38
- package/dist/{chunk-QF2BW6HZ.cjs.map → chunk-UDDJIUHJ.cjs.map} +1 -1
- package/dist/{chunk-5HDKL6XB.cjs → chunk-YMB6XUR2.cjs} +57 -57
- package/dist/{chunk-5HDKL6XB.cjs.map → chunk-YMB6XUR2.cjs.map} +1 -1
- package/dist/config/config-hooks.js +209 -0
- package/dist/config/config-hooks.js.map +7 -0
- package/dist/connectivity.js +72 -0
- package/dist/connectivity.js.map +7 -0
- package/dist/connectors/hooks.js +263 -0
- package/dist/connectors/hooks.js.map +7 -0
- package/dist/connectors/index.js +28 -0
- package/dist/connectors/index.js.map +7 -0
- package/dist/contacts.js +100 -0
- package/dist/contacts.js.map +7 -0
- package/dist/conversation-list.js +65 -0
- package/dist/conversation-list.js.map +7 -0
- package/dist/databases.js +195 -0
- package/dist/databases.js.map +7 -0
- package/dist/datasets/aggregate.js +281 -0
- package/dist/datasets/aggregate.js.map +7 -0
- package/dist/datasets/index.js +122 -0
- package/dist/datasets/index.js.map +7 -0
- package/dist/datasets/members.js +27 -0
- package/dist/datasets/members.js.map +7 -0
- package/dist/datasets/panel.js +44 -0
- package/dist/datasets/panel.js.map +7 -0
- package/dist/datasets/registry.js +47 -0
- package/dist/datasets/registry.js.map +7 -0
- package/dist/datasets/rows-source.js +44 -0
- package/dist/datasets/rows-source.js.map +7 -0
- package/dist/datasets/sources/activity.js +83 -0
- package/dist/datasets/sources/activity.js.map +7 -0
- package/dist/datasets/sources/conversations.js +74 -0
- package/dist/datasets/sources/conversations.js.map +7 -0
- package/dist/datasets/sources/database.js +209 -0
- package/dist/datasets/sources/database.js.map +7 -0
- package/dist/datasets/sources/documents.js +93 -0
- package/dist/datasets/sources/documents.js.map +7 -0
- package/dist/datasets/sources/facts.js +56 -0
- package/dist/datasets/sources/facts.js.map +7 -0
- package/dist/datasets/sources/projects.js +117 -0
- package/dist/datasets/sources/projects.js.map +7 -0
- package/dist/datasets/sources/tags.js +67 -0
- package/dist/datasets/sources/tags.js.map +7 -0
- package/dist/datasets/sources/usage.js +268 -0
- package/dist/datasets/sources/usage.js.map +7 -0
- package/dist/datasets/sources/workflows.js +91 -0
- package/dist/datasets/sources/workflows.js.map +7 -0
- package/dist/datasets/sources/workspaces.js +67 -0
- package/dist/datasets/sources/workspaces.js.map +7 -0
- package/dist/datasets/store.js +194 -0
- package/dist/datasets/store.js.map +7 -0
- package/dist/datasets/types.js +14 -0
- package/dist/datasets/types.js.map +7 -0
- package/dist/directmessages/ConversationList.js +148 -0
- package/dist/directmessages/ConversationList.js.map +7 -0
- package/dist/directmessages/DateSeparator.js +8 -0
- package/dist/directmessages/DateSeparator.js.map +7 -0
- package/dist/directmessages/DmAvatar.js +29 -0
- package/dist/directmessages/DmAvatar.js.map +7 -0
- package/dist/directmessages/DmComposer.js +201 -0
- package/dist/directmessages/DmComposer.js.map +7 -0
- package/dist/directmessages/arrivals.js +29 -0
- package/dist/directmessages/arrivals.js.map +7 -0
- package/dist/directmessages/chat-cache.js +192 -0
- package/dist/directmessages/chat-cache.js.map +7 -0
- package/dist/directmessages/grouping.js +26 -0
- package/dist/directmessages/grouping.js.map +7 -0
- package/dist/directmessages/index.js +81 -0
- package/dist/directmessages/index.js.map +7 -0
- package/dist/directmessages/useChats.js +266 -0
- package/dist/directmessages/useChats.js.map +7 -0
- package/dist/directmessages/utils.js +23 -0
- package/dist/directmessages/utils.js.map +7 -0
- package/dist/document-tools/can-annotate.js +7 -0
- package/dist/document-tools/can-annotate.js.map +7 -0
- package/dist/document-tools/core.cjs +99 -99
- package/dist/document-tools/core.d.ts +2 -2
- package/dist/document-tools/core.js +218 -12
- package/dist/document-tools/core.js.map +7 -1
- package/dist/document-tools/document-pdf.js +76 -0
- package/dist/document-tools/document-pdf.js.map +7 -0
- package/dist/document-tools/environment.js +136 -0
- package/dist/document-tools/environment.js.map +7 -0
- package/dist/document-tools/file-shares.js +112 -0
- package/dist/document-tools/file-shares.js.map +7 -0
- package/dist/document-tools/frozen-copy.js +27 -0
- package/dist/document-tools/frozen-copy.js.map +7 -0
- package/dist/document-tools/index.cjs +101 -101
- package/dist/document-tools/index.d.ts +1 -1
- package/dist/document-tools/index.js +26 -148
- package/dist/document-tools/index.js.map +7 -1
- package/dist/document-tools/markup-download.js +51 -0
- package/dist/document-tools/markup-download.js.map +7 -0
- package/dist/document-tools/markup-store.js +138 -0
- package/dist/document-tools/markup-store.js.map +7 -0
- package/dist/document-tools/markup-transfer.js +88 -0
- package/dist/document-tools/markup-transfer.js.map +7 -0
- package/dist/document-tools/production.js +147 -0
- package/dist/document-tools/production.js.map +7 -0
- package/dist/document-tools/saved-signature.js +90 -0
- package/dist/document-tools/saved-signature.js.map +7 -0
- package/dist/document-tools/signature-requests.js +310 -0
- package/dist/document-tools/signature-requests.js.map +7 -0
- package/dist/document-tools/signing.js +127 -0
- package/dist/document-tools/signing.js.map +7 -0
- package/dist/document-tools/useDocumentBytes.js +38 -0
- package/dist/document-tools/useDocumentBytes.js.map +7 -0
- package/dist/document-tools/useDocumentMarkup.js +154 -0
- package/dist/document-tools/useDocumentMarkup.js.map +7 -0
- package/dist/document-tools/useIsOnline.js +13 -0
- package/dist/document-tools/useIsOnline.js.map +7 -0
- package/dist/document-tools/verification.js +60 -0
- package/dist/document-tools/verification.js.map +7 -0
- package/dist/documents/DocumentReview.js +220 -0
- package/dist/documents/DocumentReview.js.map +7 -0
- package/dist/documents/DraftTitleControls.js +41 -0
- package/dist/documents/DraftTitleControls.js.map +7 -0
- package/dist/documents/InlineMicButton.js +90 -0
- package/dist/documents/InlineMicButton.js.map +7 -0
- package/dist/documents/MicRecordingOverlay.js +29 -0
- package/dist/documents/MicRecordingOverlay.js.map +7 -0
- package/dist/documents/MicWaveformIndicator.js +68 -0
- package/dist/documents/MicWaveformIndicator.js.map +7 -0
- package/dist/documents/PhotoCapture.js +120 -0
- package/dist/documents/PhotoCapture.js.map +7 -0
- package/dist/documents/VideoCapture.js +129 -0
- package/dist/documents/VideoCapture.js.map +7 -0
- package/dist/documents/VoiceNoteRecorder.js +166 -0
- package/dist/documents/VoiceNoteRecorder.js.map +7 -0
- package/dist/documents/audio-segmenter.js +63 -0
- package/dist/documents/audio-segmenter.js.map +7 -0
- package/dist/documents/capture-frame.js +21 -0
- package/dist/documents/capture-frame.js.map +7 -0
- package/dist/documents/chunked-recorder.js +190 -0
- package/dist/documents/chunked-recorder.js.map +7 -0
- package/dist/documents/document-download.js +53 -0
- package/dist/documents/document-download.js.map +7 -0
- package/dist/documents/document-fields.js +109 -0
- package/dist/documents/document-fields.js.map +7 -0
- package/dist/documents/documents-cache.js +110 -0
- package/dist/documents/documents-cache.js.map +7 -0
- package/dist/documents/documents-data.js +128 -0
- package/dist/documents/documents-data.js.map +7 -0
- package/dist/documents/documents-loader.js +113 -0
- package/dist/documents/documents-loader.js.map +7 -0
- package/dist/documents/documents-writes.js +448 -0
- package/dist/documents/documents-writes.js.map +7 -0
- package/dist/documents/format-elapsed.js +10 -0
- package/dist/documents/format-elapsed.js.map +7 -0
- package/dist/documents/has-video-track.js +26 -0
- package/dist/documents/has-video-track.js.map +7 -0
- package/dist/documents/index.js +266 -0
- package/dist/documents/index.js.map +7 -0
- package/dist/documents/media-error.js +18 -0
- package/dist/documents/media-error.js.map +7 -0
- package/dist/documents/offline-documents.js +160 -0
- package/dist/documents/offline-documents.js.map +7 -0
- package/dist/documents/pending-sync.js +210 -0
- package/dist/documents/pending-sync.js.map +7 -0
- package/dist/documents/processing-live.js +122 -0
- package/dist/documents/processing-live.js.map +7 -0
- package/dist/documents/processing-order.js +59 -0
- package/dist/documents/processing-order.js.map +7 -0
- package/dist/documents/processing-settle.js +21 -0
- package/dist/documents/processing-settle.js.map +7 -0
- package/dist/documents/related-documents.js +133 -0
- package/dist/documents/related-documents.js.map +7 -0
- package/dist/documents/support.js +29 -0
- package/dist/documents/support.js.map +7 -0
- package/dist/documents/upload-files.js +169 -0
- package/dist/documents/upload-files.js.map +7 -0
- package/dist/documents/useAudioRecorder.js +315 -0
- package/dist/documents/useAudioRecorder.js.map +7 -0
- package/dist/documents/useCameraStream.js +35 -0
- package/dist/documents/useCameraStream.js.map +7 -0
- package/dist/documents/useDocumentThumbnails.js +71 -0
- package/dist/documents/useDocumentThumbnails.js.map +7 -0
- package/dist/documents/useDownloadDocuments.js +90 -0
- package/dist/documents/useDownloadDocuments.js.map +7 -0
- package/dist/documents/usePassageQuotes.js +37 -0
- package/dist/documents/usePassageQuotes.js.map +7 -0
- package/dist/documents/useUploadFiles.js +165 -0
- package/dist/documents/useUploadFiles.js.map +7 -0
- package/dist/documents/useUploadFromUrls.js +63 -0
- package/dist/documents/useUploadFromUrls.js.map +7 -0
- package/dist/documents/useVideoRecorder.js +62 -0
- package/dist/documents/useVideoRecorder.js.map +7 -0
- package/dist/entities/AgentMarkers.js +61 -0
- package/dist/entities/AgentMarkers.js.map +7 -0
- package/dist/entities/DocumentEntity.js +125 -0
- package/dist/entities/DocumentEntity.js.map +7 -0
- package/dist/entities/EntityPill.js +250 -0
- package/dist/entities/EntityPill.js.map +7 -0
- package/dist/entities/ProjectEntity.js +61 -0
- package/dist/entities/ProjectEntity.js.map +7 -0
- package/dist/entities/ShieldIcon.js +49 -0
- package/dist/entities/ShieldIcon.js.map +7 -0
- package/dist/entities/TagEntity.js +79 -0
- package/dist/entities/TagEntity.js.map +7 -0
- package/dist/entities/ThreadVisibilityIcon.js +15 -0
- package/dist/entities/ThreadVisibilityIcon.js.map +7 -0
- package/dist/entities/UserEntity.js +211 -0
- package/dist/entities/UserEntity.js.map +7 -0
- package/dist/entities/VerifiedBadge.js +19 -0
- package/dist/entities/VerifiedBadge.js.map +7 -0
- package/dist/entities/agent-avatar-colors.js +26 -0
- package/dist/entities/agent-avatar-colors.js.map +7 -0
- package/dist/entities/colors.js +64 -0
- package/dist/entities/colors.js.map +7 -0
- package/dist/entities/file-type.js +151 -0
- package/dist/entities/file-type.js.map +7 -0
- package/dist/entities/index.js +100 -0
- package/dist/entities/index.js.map +7 -0
- package/dist/entities/media-type.js +61 -0
- package/dist/entities/media-type.js.map +7 -0
- package/dist/entities/registry.js +385 -0
- package/dist/entities/registry.js.map +7 -0
- package/dist/entities/status.js +43 -0
- package/dist/entities/status.js.map +7 -0
- package/dist/entities/tag-kinds.js +23 -0
- package/dist/entities/tag-kinds.js.map +7 -0
- package/dist/entities/tag-types.js +44 -0
- package/dist/entities/tag-types.js.map +7 -0
- package/dist/entities/vocabulary.js +12 -0
- package/dist/entities/vocabulary.js.map +7 -0
- package/dist/entity-extraction.js +25 -0
- package/dist/entity-extraction.js.map +7 -0
- package/dist/facts-search.js +57 -0
- package/dist/facts-search.js.map +7 -0
- package/dist/facts.js +69 -0
- package/dist/facts.js.map +7 -0
- package/dist/hooks.js +320 -0
- package/dist/hooks.js.map +7 -0
- package/dist/host/ArbiHost.js +24 -0
- package/dist/host/ArbiHost.js.map +7 -0
- package/dist/host/assistant-copy.js +54 -0
- package/dist/host/assistant-copy.js.map +7 -0
- package/dist/host/config.js +9 -0
- package/dist/host/config.js.map +7 -0
- package/dist/host/context.js +10 -0
- package/dist/host/context.js.map +7 -0
- package/dist/host/features.js +144 -0
- package/dist/host/features.js.map +7 -0
- package/dist/host/index.js +12 -0
- package/dist/host/index.js.map +7 -0
- package/dist/{chunk-DPYBZDJB.js → host/merge.js} +7 -7
- package/dist/host/merge.js.map +7 -0
- package/dist/house-template.js +40 -0
- package/dist/house-template.js.map +7 -0
- package/dist/icons/AppleIcon.js +25 -0
- package/dist/icons/AppleIcon.js.map +7 -0
- package/dist/icons/ArbiBotHeadIcon.js +46 -0
- package/dist/icons/ArbiBotHeadIcon.js.map +7 -0
- package/dist/icons/ArbiIcon.js +24 -0
- package/dist/icons/ArbiIcon.js.map +7 -0
- package/dist/icons/AudIcon.js +56 -0
- package/dist/icons/AudIcon.js.map +7 -0
- package/dist/icons/ClaudeIcon.js +28 -0
- package/dist/icons/ClaudeIcon.js.map +7 -0
- package/dist/icons/DocIcon.js +56 -0
- package/dist/icons/DocIcon.js.map +7 -0
- package/dist/icons/EmlIcon.js +57 -0
- package/dist/icons/EmlIcon.js.map +7 -0
- package/dist/icons/FireworksIcon.js +47 -0
- package/dist/icons/FireworksIcon.js.map +7 -0
- package/dist/icons/GeminiIcon.js +37 -0
- package/dist/icons/GeminiIcon.js.map +7 -0
- package/dist/icons/GitHubIcon.js +32 -0
- package/dist/icons/GitHubIcon.js.map +7 -0
- package/dist/icons/GoogleIcon.js +53 -0
- package/dist/icons/GoogleIcon.js.map +7 -0
- package/dist/icons/HtmlIcon.js +56 -0
- package/dist/icons/HtmlIcon.js.map +7 -0
- package/dist/icons/ImgIcon.js +56 -0
- package/dist/icons/ImgIcon.js.map +7 -0
- package/dist/icons/LinkedInIcon.js +25 -0
- package/dist/icons/LinkedInIcon.js.map +7 -0
- package/dist/icons/OpenAIIcon.js +28 -0
- package/dist/icons/OpenAIIcon.js.map +7 -0
- package/dist/icons/PdfIcon.js +56 -0
- package/dist/icons/PdfIcon.js.map +7 -0
- package/dist/icons/ProviderIcon.js +42 -0
- package/dist/icons/ProviderIcon.js.map +7 -0
- package/dist/icons/TxtIcon.js +56 -0
- package/dist/icons/TxtIcon.js.map +7 -0
- package/dist/icons/VidIcon.js +56 -0
- package/dist/icons/VidIcon.js.map +7 -0
- package/dist/icons/XlsIcon.js +56 -0
- package/dist/icons/XlsIcon.js.map +7 -0
- package/dist/icons/arbi-mark.js +5 -0
- package/dist/icons/arbi-mark.js.map +7 -0
- package/dist/icons/colors.js +31 -0
- package/dist/icons/colors.js.map +7 -0
- package/dist/icons/file-type.js +105 -0
- package/dist/icons/file-type.js.map +7 -0
- package/dist/icons/index.js +55 -0
- package/dist/icons/index.js.map +7 -0
- package/dist/imagecrop/ImageCropModal.js +56 -0
- package/dist/imagecrop/ImageCropModal.js.map +7 -0
- package/dist/imagecrop/ImageCropper.js +100 -0
- package/dist/imagecrop/ImageCropper.js.map +7 -0
- package/dist/imagecrop/cropImage.js +43 -0
- package/dist/imagecrop/cropImage.js.map +7 -0
- package/dist/imagecrop/index.js +13 -0
- package/dist/imagecrop/index.js.map +7 -0
- package/dist/index.cjs +1689 -1619
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-BMhTH98a.d.ts → index.d-CYXcTKYt.d.ts} +1 -0
- package/dist/index.d.ts +38 -8
- package/dist/index.js +702 -17060
- package/dist/index.js.map +7 -1
- package/dist/lazy-chunk.d-B6YDLMKI.d.ts +31 -0
- package/dist/lazy-chunk.js +46 -0
- package/dist/lazy-chunk.js.map +7 -0
- package/dist/lib/collision-padding.js +13 -0
- package/dist/lib/collision-padding.js.map +7 -0
- package/dist/lib/format-friendly-date.js +55 -0
- package/dist/lib/format-friendly-date.js.map +7 -0
- package/dist/lib/format-relative-time.js +52 -0
- package/dist/lib/format-relative-time.js.map +7 -0
- package/dist/lib/markdown-to-text.js +35 -0
- package/dist/lib/markdown-to-text.js.map +7 -0
- package/dist/lib/toast-interaction.js +9 -0
- package/dist/lib/toast-interaction.js.map +7 -0
- package/dist/lib/utils.js +9 -0
- package/dist/lib/utils.js.map +7 -0
- package/dist/mail/client.js +103 -0
- package/dist/mail/client.js.map +7 -0
- package/dist/mail/document-attachment.js +38 -0
- package/dist/mail/document-attachment.js.map +7 -0
- package/dist/mail/filing.js +132 -0
- package/dist/mail/filing.js.map +7 -0
- package/dist/mail/hooks.js +393 -0
- package/dist/mail/hooks.js.map +7 -0
- package/dist/mail/index.js +120 -0
- package/dist/mail/index.js.map +7 -0
- package/dist/mail/offline/changes.js +258 -0
- package/dist/mail/offline/changes.js.map +7 -0
- package/dist/mail/offline/confirm-sign-out.js +37 -0
- package/dist/mail/offline/confirm-sign-out.js.map +7 -0
- package/dist/mail/offline/crypto.js +26 -0
- package/dist/mail/offline/crypto.js.map +7 -0
- package/dist/mail/offline/drafts.js +69 -0
- package/dist/mail/offline/drafts.js.map +7 -0
- package/dist/mail/offline/hooks.js +104 -0
- package/dist/mail/offline/hooks.js.map +7 -0
- package/dist/mail/offline/index.js +48 -0
- package/dist/mail/offline/index.js.map +7 -0
- package/dist/mail/offline/live.js +233 -0
- package/dist/mail/offline/live.js.map +7 -0
- package/dist/mail/offline/mailbox.js +191 -0
- package/dist/mail/offline/mailbox.js.map +7 -0
- package/dist/mail/offline/outbox.js +167 -0
- package/dist/mail/offline/outbox.js.map +7 -0
- package/dist/mail/offline/reads.js +159 -0
- package/dist/mail/offline/reads.js.map +7 -0
- package/dist/mail/offline/runtime.js +100 -0
- package/dist/mail/offline/runtime.js.map +7 -0
- package/dist/mail/offline/settings.js +84 -0
- package/dist/mail/offline/settings.js.map +7 -0
- package/dist/mail/offline/store.js +29 -0
- package/dist/mail/offline/store.js.map +7 -0
- package/dist/mail/offline/sync.js +251 -0
- package/dist/mail/offline/sync.js.map +7 -0
- package/dist/mail/offline/wipe.js +19 -0
- package/dist/mail/offline/wipe.js.map +7 -0
- package/dist/mail/thread-keys.js +53 -0
- package/dist/mail/thread-keys.js.map +7 -0
- package/dist/mail/threads.js +71 -0
- package/dist/mail/threads.js.map +7 -0
- package/dist/mail/useMailClient.js +42 -0
- package/dist/mail/useMailClient.js.map +7 -0
- package/dist/model-connections.js +58 -0
- package/dist/model-connections.js.map +7 -0
- package/dist/notifications/ActivityFeed.js +70 -0
- package/dist/notifications/ActivityFeed.js.map +7 -0
- package/dist/notifications/NotificationBell.js +200 -0
- package/dist/notifications/NotificationBell.js.map +7 -0
- package/dist/notifications/Toaster.js +24 -0
- package/dist/notifications/Toaster.js.map +7 -0
- package/dist/notifications/activity-types.js +65 -0
- package/dist/notifications/activity-types.js.map +7 -0
- package/dist/notifications/bell.js +24 -0
- package/dist/notifications/bell.js.map +7 -0
- package/dist/notifications/calendar-notifications.js +79 -0
- package/dist/notifications/calendar-notifications.js.map +7 -0
- package/dist/notifications/index.js +108 -0
- package/dist/notifications/index.js.map +7 -0
- package/dist/notifications/live.js +28 -0
- package/dist/notifications/live.js.map +7 -0
- package/dist/notifications/notification-types.js +127 -0
- package/dist/notifications/notification-types.js.map +7 -0
- package/dist/{chunk-BF5KW5ZI.js → notifications/notify-store.js} +24 -74
- package/dist/notifications/notify-store.js.map +7 -0
- package/dist/notifications/server-notifications.js +452 -0
- package/dist/notifications/server-notifications.js.map +7 -0
- package/dist/notifications/useNotifications.js +34 -0
- package/dist/notifications/useNotifications.js.map +7 -0
- package/dist/offline-store/network.js +11 -0
- package/dist/offline-store/network.js.map +7 -0
- package/dist/offline-store/store.js +136 -0
- package/dist/offline-store/store.js.map +7 -0
- package/dist/offline-store/wipe.js +8 -0
- package/dist/offline-store/wipe.js.map +7 -0
- package/dist/offline.js +58 -0
- package/dist/offline.js.map +7 -0
- package/dist/people.js +122 -0
- package/dist/people.js.map +7 -0
- package/dist/projects.js +30 -0
- package/dist/projects.js.map +7 -0
- package/dist/query-client.js +63 -0
- package/dist/query-client.js.map +7 -0
- package/dist/{query-keys.d-ChgpJLPF.d.ts → query-keys.d-B1Am9tIF.d.ts} +1 -1
- package/dist/{chunk-6H3O63TQ.js → query-keys.js} +19 -32
- package/dist/query-keys.js.map +7 -0
- package/dist/query-persist.js +66 -0
- package/dist/query-persist.js.map +7 -0
- package/dist/queued-writes.js +59 -0
- package/dist/queued-writes.js.map +7 -0
- package/dist/remote-control.js +67 -0
- package/dist/remote-control.js.map +7 -0
- package/dist/search/index.js +23 -0
- package/dist/search/index.js.map +7 -0
- package/dist/search/session.js +58 -0
- package/dist/search/session.js.map +7 -0
- package/dist/search/useSemanticSearch.js +82 -0
- package/dist/search/useSemanticSearch.js.map +7 -0
- package/dist/session/chat.js +512 -0
- package/dist/session/chat.js.map +7 -0
- package/dist/session/documents.js +196 -0
- package/dist/session/documents.js.map +7 -0
- package/dist/session/drafts.js +103 -0
- package/dist/session/drafts.js.map +7 -0
- package/dist/session/index.js +123 -0
- package/dist/session/index.js.map +7 -0
- package/dist/session/layout.js +339 -0
- package/dist/session/layout.js.map +7 -0
- package/dist/session/persist.js +106 -0
- package/dist/session/persist.js.map +7 -0
- package/dist/session/session-hooks.js +53 -0
- package/dist/session/session-hooks.js.map +7 -0
- package/dist/session/signed-in.js +36 -0
- package/dist/session/signed-in.js.map +7 -0
- package/dist/session/store.js +166 -0
- package/dist/session/store.js.map +7 -0
- package/dist/session/thread-tabs.js +121 -0
- package/dist/session/thread-tabs.js.map +7 -0
- package/dist/session/ui-state-storage.js +76 -0
- package/dist/session/ui-state-storage.js.map +7 -0
- package/dist/session/workspace.js +77 -0
- package/dist/session/workspace.js.map +7 -0
- package/dist/shell/index.cjs +37 -37
- package/dist/shell/index.js +43 -10
- package/dist/shell/index.js.map +7 -1
- package/dist/skill-pack.js +111 -0
- package/dist/skill-pack.js.map +7 -0
- package/dist/storage.js +186 -0
- package/dist/storage.js.map +7 -0
- package/dist/support/index.js +35 -0
- package/dist/support/index.js.map +7 -0
- package/dist/tags.js +204 -0
- package/dist/tags.js.map +7 -0
- package/dist/ui/DebouncedInput.js +109 -0
- package/dist/ui/DebouncedInput.js.map +7 -0
- package/dist/ui/DictateContext.js +8 -0
- package/dist/ui/DictateContext.js.map +7 -0
- package/dist/ui/IconToggle.js +79 -0
- package/dist/ui/IconToggle.js.map +7 -0
- package/dist/ui/VerifiedToggle.js +38 -0
- package/dist/ui/VerifiedToggle.js.map +7 -0
- package/dist/ui/VisibilityToggle.js +103 -0
- package/dist/ui/VisibilityToggle.js.map +7 -0
- package/dist/ui/avatar.js +40 -0
- package/dist/ui/avatar.js.map +7 -0
- package/dist/ui/badge.js +28 -0
- package/dist/ui/badge.js.map +7 -0
- package/dist/ui/button.js +48 -0
- package/dist/ui/button.js.map +7 -0
- package/dist/ui/card.js +90 -0
- package/dist/ui/card.js.map +7 -0
- package/dist/ui/checkbox.js +22 -0
- package/dist/ui/checkbox.js.map +7 -0
- package/dist/ui/collapsible.js +10 -0
- package/dist/ui/collapsible.js.map +7 -0
- package/dist/ui/command.js +103 -0
- package/dist/ui/command.js.map +7 -0
- package/dist/{chunk-YNNAJJ5Z.js → ui/dialog.js} +30 -68
- package/dist/ui/dialog.js.map +7 -0
- package/dist/{chunk-47CCGUWR.js → ui/dropdown-menu.js} +40 -45
- package/dist/ui/dropdown-menu.js.map +7 -0
- package/dist/ui/hover-card.js +36 -0
- package/dist/ui/hover-card.js.map +7 -0
- package/dist/ui/index.cjs +167 -154
- package/dist/ui/index.d.ts +2 -1
- package/dist/ui/index.js +290 -9
- package/dist/ui/index.js.map +7 -1
- package/dist/ui/input.js +65 -0
- package/dist/ui/input.js.map +7 -0
- package/dist/ui/label.js +16 -0
- package/dist/ui/label.js.map +7 -0
- package/dist/ui/mark-menu.js +300 -0
- package/dist/ui/mark-menu.js.map +7 -0
- package/dist/ui/popover.js +40 -0
- package/dist/ui/popover.js.map +7 -0
- package/dist/ui/portal-container.js +17 -0
- package/dist/ui/portal-container.js.map +7 -0
- package/dist/ui/progress.js +24 -0
- package/dist/ui/progress.js.map +7 -0
- package/dist/ui/radio-group.js +29 -0
- package/dist/ui/radio-group.js.map +7 -0
- package/dist/ui/scroll-area.js +39 -0
- package/dist/ui/scroll-area.js.map +7 -0
- package/dist/ui/select.js +130 -0
- package/dist/ui/select.js.map +7 -0
- package/dist/ui/separator.js +23 -0
- package/dist/ui/separator.js.map +7 -0
- package/dist/ui/slider.js +23 -0
- package/dist/ui/slider.js.map +7 -0
- package/dist/ui/switch.js +28 -0
- package/dist/ui/switch.js.map +7 -0
- package/dist/ui/table.js +75 -0
- package/dist/ui/table.js.map +7 -0
- package/dist/ui/tabs.js +48 -0
- package/dist/ui/tabs.js.map +7 -0
- package/dist/ui/textarea.js +63 -0
- package/dist/ui/textarea.js.map +7 -0
- package/dist/ui/toggle-group.js +43 -0
- package/dist/ui/toggle-group.js.map +7 -0
- package/dist/ui/toggle.js +40 -0
- package/dist/ui/toggle.js.map +7 -0
- package/dist/ui/tooltip.js +215 -0
- package/dist/ui/tooltip.js.map +7 -0
- package/dist/usage-metered.js +8 -0
- package/dist/usage-metered.js.map +7 -0
- package/dist/useArbi.js +16 -0
- package/dist/useArbi.js.map +7 -0
- package/dist/useInstallSkillPack.js +81 -0
- package/dist/useInstallSkillPack.js.map +7 -0
- package/dist/usermenu/UserMenu.js +188 -0
- package/dist/usermenu/UserMenu.js.map +7 -0
- package/dist/usermenu/index.js +5 -0
- package/dist/usermenu/index.js.map +7 -0
- package/dist/users/index.js +15 -0
- package/dist/users/index.js.map +7 -0
- package/dist/users/user-display.js +60 -0
- package/dist/users/user-display.js.map +7 -0
- package/dist/viewers/AudioViewer.js +23 -0
- package/dist/viewers/AudioViewer.js.map +7 -0
- package/dist/viewers/DocxViewer.js +81 -0
- package/dist/viewers/DocxViewer.js.map +7 -0
- package/dist/viewers/ImageViewer.js +31 -0
- package/dist/viewers/ImageViewer.js.map +7 -0
- package/dist/viewers/PdfViewer.cjs +17 -0
- package/dist/viewers/PdfViewer.cjs.map +1 -0
- package/dist/viewers/PdfViewer.d.ts +9 -0
- package/dist/viewers/PdfViewer.js +20 -0
- package/dist/viewers/PdfViewer.js.map +7 -0
- package/dist/viewers/PdfViewerImpl.js +384 -0
- package/dist/viewers/PdfViewerImpl.js.map +7 -0
- package/dist/viewers/VideoViewer.js +31 -0
- package/dist/viewers/VideoViewer.js.map +7 -0
- package/dist/viewers/XlsxViewer.js +102 -0
- package/dist/viewers/XlsxViewer.js.map +7 -0
- package/dist/viewers/index.cjs +79 -653
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.ts +3 -1
- package/dist/viewers/index.js +60 -903
- package/dist/viewers/index.js.map +7 -1
- package/dist/viewers/page-scroll.js +59 -0
- package/dist/viewers/page-scroll.js.map +7 -0
- package/dist/viewers/pdf-viewer-constants.js +9 -0
- package/dist/viewers/pdf-viewer-constants.js.map +7 -0
- package/dist/{chunk-PTOP7OHG.js → viewers/pdfjs-polyfills.js} +5 -6
- package/dist/viewers/pdfjs-polyfills.js.map +7 -0
- package/dist/viewers/selection-runs.js +38 -0
- package/dist/viewers/selection-runs.js.map +7 -0
- package/dist/viewers/usePageIntersectionObserver.js +68 -0
- package/dist/viewers/usePageIntersectionObserver.js.map +7 -0
- package/dist/viewers/useProcessedChunks.js +58 -0
- package/dist/viewers/useProcessedChunks.js.map +7 -0
- package/dist/viewers/viewer-zoom.js +163 -0
- package/dist/viewers/viewer-zoom.js.map +7 -0
- package/dist/websocket/ArbiWebSocketProvider.js +207 -0
- package/dist/websocket/ArbiWebSocketProvider.js.map +7 -0
- package/dist/websocket/context.js +14 -0
- package/dist/websocket/context.js.map +7 -0
- package/dist/websocket/hooks.js +30 -0
- package/dist/websocket/hooks.js.map +7 -0
- package/dist/websocket/index.js +22 -0
- package/dist/websocket/index.js.map +7 -0
- package/dist/websocket/live-updates.js +38 -0
- package/dist/websocket/live-updates.js.map +7 -0
- package/dist/websocket/reconnect.js +13 -0
- package/dist/websocket/reconnect.js.map +7 -0
- package/dist/websocket/store.js +58 -0
- package/dist/websocket/store.js.map +7 -0
- package/dist/workforce.js +607 -0
- package/dist/workforce.js.map +7 -0
- package/dist/workspaces/access-request.js +35 -0
- package/dist/workspaces/access-request.js.map +7 -0
- package/dist/workspaces/archive.js +59 -0
- package/dist/workspaces/archive.js.map +7 -0
- package/dist/workspaces/current.js +20 -0
- package/dist/workspaces/current.js.map +7 -0
- package/dist/workspaces/delete-workspaces.js +15 -0
- package/dist/workspaces/delete-workspaces.js.map +7 -0
- package/dist/workspaces/export-archive.js +40 -0
- package/dist/workspaces/export-archive.js.map +7 -0
- package/dist/workspaces/index.js +99 -0
- package/dist/workspaces/index.js.map +7 -0
- package/dist/workspaces/settings.js +45 -0
- package/dist/workspaces/settings.js.map +7 -0
- package/dist/workspaces/shell-workspaces.js +49 -0
- package/dist/workspaces/shell-workspaces.js.map +7 -0
- package/dist/workspaces/switch.js +234 -0
- package/dist/workspaces/switch.js.map +7 -0
- package/dist/workspaces/transfer.js +170 -0
- package/dist/workspaces/transfer.js.map +7 -0
- package/dist/workspaces/useShellWorkspaces.js +86 -0
- package/dist/workspaces/useShellWorkspaces.js.map +7 -0
- package/dist/workspaces/workspace-users.js +65 -0
- package/dist/workspaces/workspace-users.js.map +7 -0
- package/package.json +12 -4
- package/dist/PdfViewer.d-bQH9yxFg.d.ts +0 -55
- package/dist/ProductionDialog.d-CpzslFn0.d.cts +0 -51
- package/dist/annotations/freeze/index.d.cts +0 -205
- package/dist/annotations/index.d.cts +0 -360
- package/dist/artifacts/index.d.cts +0 -476
- package/dist/artifacts/redline-core.d.cts +0 -39
- package/dist/bundle-YNOX7VIL.js +0 -5
- package/dist/bundle-YNOX7VIL.js.map +0 -1
- package/dist/bundle.d-BnCSbHy2.d.cts +0 -85
- package/dist/calls/livekit/index.d.cts +0 -280
- package/dist/chunk-47CCGUWR.js.map +0 -1
- package/dist/chunk-6H3O63TQ.js.map +0 -1
- package/dist/chunk-74N436VK.js.map +0 -1
- package/dist/chunk-APZZQZ6P.js +0 -147
- package/dist/chunk-APZZQZ6P.js.map +0 -1
- package/dist/chunk-BF5KW5ZI.js.map +0 -1
- package/dist/chunk-CPQ3CU4B.js +0 -246
- package/dist/chunk-CPQ3CU4B.js.map +0 -1
- package/dist/chunk-DPYBZDJB.js.map +0 -1
- package/dist/chunk-DQALOQPI.js +0 -2766
- package/dist/chunk-DQALOQPI.js.map +0 -1
- package/dist/chunk-FZJMA32S.js +0 -1011
- package/dist/chunk-FZJMA32S.js.map +0 -1
- package/dist/chunk-H5M7FXLB.js +0 -2057
- package/dist/chunk-H5M7FXLB.js.map +0 -1
- package/dist/chunk-HDCRPPBW.js +0 -75
- package/dist/chunk-HDCRPPBW.js.map +0 -1
- package/dist/chunk-NIKPG4PW.js +0 -1128
- package/dist/chunk-NIKPG4PW.js.map +0 -1
- package/dist/chunk-NNAJLY6B.js +0 -4974
- package/dist/chunk-NNAJLY6B.js.map +0 -1
- package/dist/chunk-OYPKKHXY.js +0 -559
- package/dist/chunk-OYPKKHXY.js.map +0 -1
- package/dist/chunk-P6WLV5UY.js +0 -644
- package/dist/chunk-P6WLV5UY.js.map +0 -1
- package/dist/chunk-PTOP7OHG.js.map +0 -1
- package/dist/chunk-SN5YV6FF.js +0 -11
- package/dist/chunk-SN5YV6FF.js.map +0 -1
- package/dist/chunk-T3USOSVN.js.map +0 -1
- package/dist/chunk-T4CLW3DN.js +0 -2560
- package/dist/chunk-T4CLW3DN.js.map +0 -1
- package/dist/chunk-UW2SGTI5.js.map +0 -1
- package/dist/chunk-VSCU7K4V.js.map +0 -1
- package/dist/chunk-WL2Y2T47.js.map +0 -1
- package/dist/chunk-WUTL62MC.js.map +0 -1
- package/dist/chunk-Y3MTRA7D.js +0 -97
- package/dist/chunk-Y3MTRA7D.js.map +0 -1
- package/dist/chunk-YNNAJJ5Z.js.map +0 -1
- package/dist/document-tools/core.d.cts +0 -883
- package/dist/document-tools/index.d.cts +0 -90
- package/dist/index.d-BMhTH98a.d.cts +0 -2035
- package/dist/index.d-oR5FKZpJ.d.cts +0 -579
- package/dist/index.d.cts +0 -15893
- package/dist/model.d-CNtRWKVK.d.cts +0 -110
- package/dist/query-keys.d-ChgpJLPF.d.cts +0 -337
- package/dist/shell/index.d.cts +0 -6
- package/dist/store.d-GADDvC7w.d.cts +0 -35
- package/dist/stored-markdown.d-Bp18vrbr.d.cts +0 -125
- package/dist/ui/index.d.cts +0 -25
- package/dist/useAudioRecorder.d-B9rlMI_E.d.cts +0 -778
- package/dist/viewers/index.d.cts +0 -260
|
@@ -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 (a workspace). */
|
|
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 };
|
package/dist/shell/index.d.cts
DELETED
|
@@ -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 };
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Helpers for markdown that is STORED (an agent's draft saved as an artifact, then read back from
|
|
3
|
-
* the backend's parse). Pure and SDK-free; they sit next to `normalizeCitationMarkup`, which they
|
|
4
|
-
* build on.
|
|
5
|
-
*
|
|
6
|
-
* Two directions:
|
|
7
|
-
*
|
|
8
|
-
* - Going in (`cleanDraftMarkdown` = `unwrapCitationLinks` + `stripAgentPreamble` +
|
|
9
|
-
* `promoteBoldTitle`): a streamed draft carries citation links, `(*Source: ...*)` notes and
|
|
10
|
-
* sometimes narration before the document. A stored letter should hold only the letter.
|
|
11
|
-
* - Coming out (`unescapeMarkdown`): the backend's parse of a stored `.md` returns the text with
|
|
12
|
-
* markdown punctuation backslash-escaped (`**Fees.**` comes back as `\*\*Fees\.\*\*`).
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Undo the backend's escaping of a markdown artifact: `\*\*Scope\.\*\*` becomes `**Scope.**`.
|
|
16
|
-
*
|
|
17
|
-
* THE RULE. Apply this ONLY to text of an artifact that was stored from markdown (an agent draft
|
|
18
|
-
* or an edited version, always uploaded as `.md`): for those the parser escapes every markdown
|
|
19
|
-
* punctuation character, including the backslash itself, so removing one level of escaping is the
|
|
20
|
-
* exact inverse (an author's literal `\*` is stored as `\\\*` and comes back as `\*`). Do not
|
|
21
|
-
* apply it to a PDF or Word parse, where a backslash is just a character.
|
|
22
|
-
*
|
|
23
|
-
* Details:
|
|
24
|
-
* - Only a backslash followed by markdown punctuation (``\ ` * _ { } [ ] ( ) # + - . ! | > ~ <``)
|
|
25
|
-
* is removed; `\n`, `C:\temp` and a trailing backslash are left alone.
|
|
26
|
-
* - Pairs are read left to right, so `\\*` is an escaped backslash followed by a bare `*`.
|
|
27
|
-
* - Fenced code blocks are never touched (the parser does not escape inside them).
|
|
28
|
-
* - Inline code spans: the parser DOES escape `*` and `_` there (`` `a*b` `` comes back as
|
|
29
|
-
* `` `a\*b` ``), so only `\*` and `\_` are undone inside a span; any other backslash in code
|
|
30
|
-
* (`` `re\.x` ``) is a literal and stays.
|
|
31
|
-
*/
|
|
32
|
-
declare function unescapeMarkdown(text: string): string;
|
|
33
|
-
/**
|
|
34
|
-
* The parser also mangles the TITLE of a stored markdown document (seen on a real backend): the
|
|
35
|
-
* first heading comes back doubled (`## # Title`) or alone inside a code fence
|
|
36
|
-
* (a fence, `# Title`, a fence). Both are repaired, on the first non-blank line only, so a code
|
|
37
|
-
* block or heading later in the text is never touched. Like `unescapeMarkdown`, apply it only to
|
|
38
|
-
* artifacts stored from markdown.
|
|
39
|
-
*/
|
|
40
|
-
declare function repairParsedTitle(text: string): string;
|
|
41
|
-
/**
|
|
42
|
-
* Undo how the backend's parse of a stored `.md` restructures it (seen on a real backend):
|
|
43
|
-
* - a heading comes back doubled (`## # Title`) or as a list item (`- # Title`);
|
|
44
|
-
* - every list item gets a `- ` of its own on top of the original marker, so `* a` returns as
|
|
45
|
-
* `- * a` and `1. a` as `- 1. a`, which a markdown editor loads as a list inside a list item
|
|
46
|
-
* (and saves as `- - a`); a run of ordinals can come back on one line (`- 1. a 2. b`);
|
|
47
|
-
* - a table comes back on one line.
|
|
48
|
-
* List nesting and the bullet/ordered difference of a flat `- x` cannot be recovered, so items
|
|
49
|
-
* stay flat. Items of one list are kept tight (no blank line between them). Fenced code is
|
|
50
|
-
* never touched. Like `unescapeMarkdown`, apply it only to artifacts stored from markdown.
|
|
51
|
-
*/
|
|
52
|
-
declare function repairParsedStructure(text: string): string;
|
|
53
|
-
/**
|
|
54
|
-
* Text for storage from text that carries citations: `normalizeCitationMarkup` first (it hoists
|
|
55
|
-
* list, heading and bold tokens out of the link so unwrapping cannot orphan half of a `**` pair),
|
|
56
|
-
* then `[text](#cite-N)` becomes `text`, `(*Source: ...*)` notes are dropped, and a bold or
|
|
57
|
-
* heading marker that lost its partner is repaired. Fenced code is left alone.
|
|
58
|
-
*/
|
|
59
|
-
declare function unwrapCitationLinks(text: string): string;
|
|
60
|
-
/**
|
|
61
|
-
* Cut the agent's narration written BEFORE the document. Strictly non-destructive: if in doubt the
|
|
62
|
-
* text is returned whole (a stray sentence is easy to delete, a lost clause is not recoverable).
|
|
63
|
-
*
|
|
64
|
-
* Text is removed only when ALL of these hold:
|
|
65
|
-
* 1. a real markdown heading line (`# Title`, any level) follows it, and the cut stops exactly at
|
|
66
|
-
* the FIRST such line (never at a bold line, never at a line that merely contains `**`);
|
|
67
|
-
* 2. what precedes it is at most 4 paragraphs and 900 characters of plain prose (horizontal rules
|
|
68
|
-
* between them are ignored): no list, table, quote, code, heading, bold or link;
|
|
69
|
-
* 3. EVERY paragraph opens with an allow-listed narration opener: first person ("I'll ...",
|
|
70
|
-
* "I now have ..."), "Let me", "Here is/are", "Below is", "Sure", "Based on the ...", "Per the
|
|
71
|
-
* instructions", "As requested", "The workspace ...", "No (relevant) documents ...", "There is
|
|
72
|
-
* no document ...", "After reviewing ...".
|
|
73
|
-
* Anything else (a dateline, an address, a salutation, a sentence of the letter) keeps the text whole.
|
|
74
|
-
*/
|
|
75
|
-
declare function stripAgentPreamble(text: string): string;
|
|
76
|
-
/**
|
|
77
|
-
* Make the document's title a real heading: the FIRST non-blank line of the text, when it is a
|
|
78
|
-
* short whole-line bold title (`**Letter**`, even with a stray inner `**`), becomes `# Letter`.
|
|
79
|
-
* Nothing else is ever promoted: not a later line, not a mid-sentence fragment (the title must
|
|
80
|
-
* start with a capital or digit, be at most 100 characters, hold no sentence break and not end in
|
|
81
|
-
* `,` `;` or `:`), and a document that already opens with a heading is left alone.
|
|
82
|
-
*/
|
|
83
|
-
declare function promoteBoldTitle(text: string): string;
|
|
84
|
-
/** Which stage of the cleanup produced the text that is returned. */
|
|
85
|
-
type DraftCleanStage = 'cleaned' | 'unwrapped' | 'raw';
|
|
86
|
-
interface DraftCleanReport {
|
|
87
|
-
/** What to store. */
|
|
88
|
-
text: string;
|
|
89
|
-
/**
|
|
90
|
-
* `cleaned`: the full cleanup. `unwrapped`: only the citation links were removed (the preamble or
|
|
91
|
-
* title step was rejected by the guard). `raw`: the input as streamed (even link removal was
|
|
92
|
-
* rejected).
|
|
93
|
-
*/
|
|
94
|
-
stage: DraftCleanStage;
|
|
95
|
-
/** Length of the returned text over the length of the input without its citation markup. */
|
|
96
|
-
ratio: number;
|
|
97
|
-
/** Which steps changed the text before the guard (for logs). */
|
|
98
|
-
changedBy: ('citations' | 'preamble' | 'title')[];
|
|
99
|
-
/** The guard rejected a step because it would have lost content. */
|
|
100
|
-
guarded: boolean;
|
|
101
|
-
}
|
|
102
|
-
/** The three text steps of the cleanup; replaceable so the guard can be tested. */
|
|
103
|
-
interface DraftCleanSteps {
|
|
104
|
-
unwrap: (text: string) => string;
|
|
105
|
-
strip: (text: string) => string;
|
|
106
|
-
promote: (text: string) => string;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* `cleanDraftMarkdown` with a safety net and a report, for storing a streamed draft. Each stage is
|
|
110
|
-
* accepted only if it provably cost nothing but narration and citation markup:
|
|
111
|
-
* - links removed: at least 70% of the text length remains and no heading or numbered item is lost
|
|
112
|
-
* (else `raw`, the input exactly as streamed);
|
|
113
|
-
* - narration removed: only a pure prefix of the text may go, and nothing structural;
|
|
114
|
-
* - title and heading tidy: at least 70% of the text remains and no heading or numbered item is lost.
|
|
115
|
-
* A rejected stage falls back to the previous one (`cleaned` -> `unwrapped` -> `raw`).
|
|
116
|
-
*/
|
|
117
|
-
declare function cleanDraftWithReport(raw: string, steps?: DraftCleanSteps): DraftCleanReport;
|
|
118
|
-
/**
|
|
119
|
-
* Everything a streamed draft needs before it is stored as the artifact's first version:
|
|
120
|
-
* `unwrapCitationLinks`, `stripAgentPreamble`, `promoteBoldTitle`, clean headings, collapsed blank
|
|
121
|
-
* runs, trimmed, under the guard of `cleanDraftWithReport` (use it to know which stage was kept).
|
|
122
|
-
*/
|
|
123
|
-
declare function cleanDraftMarkdown(raw: string): string;
|
|
124
|
-
|
|
125
|
-
export { type DraftCleanReport as D, type DraftCleanStage as a, cleanDraftWithReport as b, cleanDraftMarkdown as c, repairParsedTitle as d, unwrapCitationLinks as e, promoteBoldTitle as p, repairParsedStructure as r, stripAgentPreamble as s, unescapeMarkdown as u };
|