@arbidocs/blocks 0.5.165 → 0.5.167
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/{CalendarGridImpl-ZUHFUWWA.cjs → CalendarGridImpl-2M6IPL4U.cjs} +19 -19
- package/dist/{CalendarGridImpl-ZUHFUWWA.cjs.map → CalendarGridImpl-2M6IPL4U.cjs.map} +1 -1
- package/dist/{ConnectedCallDock-LHIAK4GV.cjs → ConnectedCallDock-PFMK5OGR.cjs} +20 -20
- package/dist/{ConnectedCallDock-LHIAK4GV.cjs.map → ConnectedCallDock-PFMK5OGR.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-LA57WUKX.cjs → ConnectedCallRoom-VHU2XWLY.cjs} +19 -19
- package/dist/{ConnectedCallRoom-LA57WUKX.cjs.map → ConnectedCallRoom-VHU2XWLY.cjs.map} +1 -1
- package/dist/ConnectedMailInviteCard-S2X4XN3X.cjs +22 -0
- package/dist/{ConnectedMailInviteCard-LV2VARX3.cjs.map → ConnectedMailInviteCard-S2X4XN3X.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-SWX5DTYX.cjs → ConnectedNativeDocxComparison-AOVH47RY.cjs} +20 -20
- package/dist/{ConnectedNativeDocxComparison-SWX5DTYX.cjs.map → ConnectedNativeDocxComparison-AOVH47RY.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-7ZBHQBIS.cjs → ConnectedPresentation-PYTZBAOR.cjs} +23 -23
- package/dist/{ConnectedPresentation-7ZBHQBIS.cjs.map → ConnectedPresentation-PYTZBAOR.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-4N7R7SFZ.cjs → ConnectedProductionSetDialog-6ZGBUMOT.cjs} +10 -9
- package/dist/ConnectedProductionSetDialog-6ZGBUMOT.cjs.map +1 -0
- package/dist/{ConnectedSlidesTab-6XHUP32F.cjs → ConnectedSlidesTab-GT5TQPWW.cjs} +18 -18
- package/dist/{ConnectedSlidesTab-6XHUP32F.cjs.map → ConnectedSlidesTab-GT5TQPWW.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-SROLNCGC.cjs → ConnectedStreamedWordArtifact-2WBJZI2K.cjs} +20 -20
- package/dist/{ConnectedStreamedWordArtifact-SROLNCGC.cjs.map → ConnectedStreamedWordArtifact-2WBJZI2K.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-43SDO57A.cjs → DocumentReviewCard-3E44O3F6.cjs} +26 -26
- package/dist/{DocumentReviewCard-43SDO57A.cjs.map → DocumentReviewCard-3E44O3F6.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-2MJHM32X.cjs → FilesViewerDialog-JCW2SMBU.cjs} +53 -51
- package/dist/FilesViewerDialog-JCW2SMBU.cjs.map +1 -0
- package/dist/{WorkspaceTableView-EWLOVD6P.cjs → WorkspaceTableView-ZKLEEPCF.cjs} +11 -11
- package/dist/{WorkspaceTableView-EWLOVD6P.cjs.map → WorkspaceTableView-ZKLEEPCF.cjs.map} +1 -1
- package/dist/agents/index.cjs +254 -254
- package/dist/agents/workflows/StepDocuments.d.ts +14 -1
- package/dist/agents/workflows/StepDocuments.js +23 -1
- package/dist/agents/workflows/StepDocuments.js.map +2 -2
- package/dist/{ai-HME7CNDE.cjs → ai-VXPILCGE.cjs} +27 -28
- package/dist/ai-VXPILCGE.cjs.map +1 -0
- package/dist/auth/index.cjs +13 -12
- package/dist/calendar/SchedulingAssistant.js +6 -1
- package/dist/calendar/SchedulingAssistant.js.map +2 -2
- package/dist/calendar/index.cjs +117 -117
- package/dist/calendar/labels.js +1 -0
- package/dist/calendar/labels.js.map +2 -2
- package/dist/calendar/types.d.ts +1 -0
- package/dist/calls/connected/CallPeoplePicker.d.ts +1 -1
- package/dist/calls/connected/CallPeoplePicker.js +4 -2
- package/dist/calls/connected/CallPeoplePicker.js.map +2 -2
- package/dist/calls/connected/ConnectedCallRoom.js +33 -2
- package/dist/calls/connected/ConnectedCallRoom.js.map +2 -2
- package/dist/calls/connected/DmCallButton.js +14 -6
- package/dist/calls/connected/DmCallButton.js.map +2 -2
- package/dist/calls/connected/call-people.d.ts +4 -2
- package/dist/calls/connected/call-people.js +4 -0
- package/dist/calls/connected/call-people.js.map +2 -2
- package/dist/calls/index.cjs +51 -51
- package/dist/chat/generatedDocuments.d.ts +2 -0
- package/dist/chat/generatedDocuments.js +6 -3
- package/dist/chat/generatedDocuments.js.map +2 -2
- package/dist/chat/index.cjs +120 -120
- package/dist/chat/rehype-doc-entity-pills.js +5 -3
- package/dist/chat/rehype-doc-entity-pills.js.map +2 -2
- package/dist/{chunk-AIKPZJNI.cjs → chunk-2KGU5G6Z.cjs} +243 -11
- package/dist/chunk-2KGU5G6Z.cjs.map +1 -0
- package/dist/{chunk-CKJTXS63.cjs → chunk-3K7V4LOF.cjs} +44 -35
- package/dist/chunk-3K7V4LOF.cjs.map +1 -0
- package/dist/{chunk-HBO567HU.cjs → chunk-4TJCJ74G.cjs} +70 -70
- package/dist/{chunk-HBO567HU.cjs.map → chunk-4TJCJ74G.cjs.map} +1 -1
- package/dist/{chunk-6XKQAQWF.cjs → chunk-5K6XHSAM.cjs} +4 -4
- package/dist/{chunk-6XKQAQWF.cjs.map → chunk-5K6XHSAM.cjs.map} +1 -1
- package/dist/{chunk-QNK5SK4Q.cjs → chunk-5PXK77RO.cjs} +4 -4
- package/dist/{chunk-QNK5SK4Q.cjs.map → chunk-5PXK77RO.cjs.map} +1 -1
- package/dist/{chunk-2QLO3HBN.cjs → chunk-6CNK2C34.cjs} +6 -6
- package/dist/{chunk-2QLO3HBN.cjs.map → chunk-6CNK2C34.cjs.map} +1 -1
- package/dist/{chunk-GEQW7XQA.cjs → chunk-6INJQAGS.cjs} +69 -66
- package/dist/chunk-6INJQAGS.cjs.map +1 -0
- package/dist/{chunk-LLVE5TST.cjs → chunk-6N7QT2DH.cjs} +4 -4
- package/dist/{chunk-LLVE5TST.cjs.map → chunk-6N7QT2DH.cjs.map} +1 -1
- package/dist/{chunk-63FEMB6U.cjs → chunk-6PKP7UT7.cjs} +57 -27
- package/dist/chunk-6PKP7UT7.cjs.map +1 -0
- package/dist/{chunk-DYIZ7W4P.cjs → chunk-6ZJBUMNK.cjs} +6 -6
- package/dist/{chunk-DYIZ7W4P.cjs.map → chunk-6ZJBUMNK.cjs.map} +1 -1
- package/dist/{chunk-QDZDHP23.cjs → chunk-7D3OMWIZ.cjs} +4 -4
- package/dist/{chunk-QDZDHP23.cjs.map → chunk-7D3OMWIZ.cjs.map} +1 -1
- package/dist/{chunk-SH7W4WVI.cjs → chunk-7FWP7W34.cjs} +9 -6
- package/dist/chunk-7FWP7W34.cjs.map +1 -0
- package/dist/{chunk-LOSCXAAF.cjs → chunk-7NVDGD63.cjs} +34 -4
- package/dist/chunk-7NVDGD63.cjs.map +1 -0
- package/dist/{chunk-FQXZZXS2.cjs → chunk-AHUEBRLX.cjs} +4 -4
- package/dist/{chunk-FQXZZXS2.cjs.map → chunk-AHUEBRLX.cjs.map} +1 -1
- package/dist/{chunk-XKQVAGVR.cjs → chunk-AKNZZGJ3.cjs} +50 -41
- package/dist/chunk-AKNZZGJ3.cjs.map +1 -0
- package/dist/{chunk-UYTFPMEA.cjs → chunk-B5AOYT4U.cjs} +8 -8
- package/dist/{chunk-UYTFPMEA.cjs.map → chunk-B5AOYT4U.cjs.map} +1 -1
- package/dist/{chunk-WKIESVWJ.cjs → chunk-BJRQHR7R.cjs} +14 -14
- package/dist/{chunk-WKIESVWJ.cjs.map → chunk-BJRQHR7R.cjs.map} +1 -1
- package/dist/{chunk-2P7VH2SK.cjs → chunk-C25KF2TM.cjs} +4 -4
- package/dist/{chunk-2P7VH2SK.cjs.map → chunk-C25KF2TM.cjs.map} +1 -1
- package/dist/{chunk-ZKKSTMMI.cjs → chunk-DNHZYLPK.cjs} +3 -3
- package/dist/{chunk-ZKKSTMMI.cjs.map → chunk-DNHZYLPK.cjs.map} +1 -1
- package/dist/{chunk-ZL6VZTG6.cjs → chunk-DOBSQC2P.cjs} +4 -4
- package/dist/{chunk-ZL6VZTG6.cjs.map → chunk-DOBSQC2P.cjs.map} +1 -1
- package/dist/{chunk-AZO4F3ME.cjs → chunk-E43TT6FH.cjs} +59 -59
- package/dist/{chunk-AZO4F3ME.cjs.map → chunk-E43TT6FH.cjs.map} +1 -1
- package/dist/{chunk-T5XLL4L2.cjs → chunk-EADZEEKI.cjs} +115 -93
- package/dist/chunk-EADZEEKI.cjs.map +1 -0
- package/dist/{chunk-5NWTA4Y4.cjs → chunk-EG3DPKXM.cjs} +5 -5
- package/dist/{chunk-5NWTA4Y4.cjs.map → chunk-EG3DPKXM.cjs.map} +1 -1
- package/dist/{chunk-WD5KQ2VC.cjs → chunk-EXUCQ6KA.cjs} +28 -28
- package/dist/{chunk-WD5KQ2VC.cjs.map → chunk-EXUCQ6KA.cjs.map} +1 -1
- package/dist/{chunk-KL7R2IBY.cjs → chunk-FC6VMY2L.cjs} +49 -44
- package/dist/chunk-FC6VMY2L.cjs.map +1 -0
- package/dist/{chunk-6U3CYVZC.cjs → chunk-FUGQ7YQW.cjs} +3 -2
- package/dist/chunk-FUGQ7YQW.cjs.map +1 -0
- package/dist/{chunk-DWN5AUMH.cjs → chunk-GD5OYIOV.cjs} +6 -6
- package/dist/{chunk-DWN5AUMH.cjs.map → chunk-GD5OYIOV.cjs.map} +1 -1
- package/dist/{chunk-CYI4OYZD.cjs → chunk-GXIXNSBV.cjs} +1108 -1060
- package/dist/chunk-GXIXNSBV.cjs.map +1 -0
- package/dist/{chunk-MB2Y2ZGM.cjs → chunk-H2BUDSKT.cjs} +6 -6
- package/dist/{chunk-MB2Y2ZGM.cjs.map → chunk-H2BUDSKT.cjs.map} +1 -1
- package/dist/{chunk-NGM4HIPP.cjs → chunk-H3VVUNEX.cjs} +21 -21
- package/dist/{chunk-NGM4HIPP.cjs.map → chunk-H3VVUNEX.cjs.map} +1 -1
- package/dist/{chunk-46LX6EQT.cjs → chunk-HN56WWBR.cjs} +2 -2
- package/dist/{chunk-46LX6EQT.cjs.map → chunk-HN56WWBR.cjs.map} +1 -1
- package/dist/{chunk-U4KUTO6O.cjs → chunk-IJ4JKHEC.cjs} +21 -21
- package/dist/{chunk-U4KUTO6O.cjs.map → chunk-IJ4JKHEC.cjs.map} +1 -1
- package/dist/{chunk-KZFE65SA.cjs → chunk-IPSR2PUU.cjs} +15 -15
- package/dist/{chunk-KZFE65SA.cjs.map → chunk-IPSR2PUU.cjs.map} +1 -1
- package/dist/chunk-IRUQZI6P.cjs +17 -0
- package/dist/chunk-IRUQZI6P.cjs.map +1 -0
- package/dist/{chunk-C2VVBU7K.cjs → chunk-IXCWZ4HC.cjs} +6 -6
- package/dist/{chunk-C2VVBU7K.cjs.map → chunk-IXCWZ4HC.cjs.map} +1 -1
- package/dist/{chunk-5HPUGSTJ.cjs → chunk-J37DOAGN.cjs} +7 -7
- package/dist/{chunk-5HPUGSTJ.cjs.map → chunk-J37DOAGN.cjs.map} +1 -1
- package/dist/{chunk-DLGYR4JL.cjs → chunk-J5CBCUQE.cjs} +8 -8
- package/dist/{chunk-DLGYR4JL.cjs.map → chunk-J5CBCUQE.cjs.map} +1 -1
- package/dist/{chunk-T26UYA6Q.cjs → chunk-JTBWI74K.cjs} +7 -7
- package/dist/{chunk-T26UYA6Q.cjs.map → chunk-JTBWI74K.cjs.map} +1 -1
- package/dist/{chunk-VHD5DZW4.cjs → chunk-KBRDUFXG.cjs} +15 -13
- package/dist/chunk-KBRDUFXG.cjs.map +1 -0
- package/dist/{chunk-Z22ORBA2.cjs → chunk-KTYJNF7R.cjs} +4 -4
- package/dist/{chunk-Z22ORBA2.cjs.map → chunk-KTYJNF7R.cjs.map} +1 -1
- package/dist/{chunk-PIWXX2M4.cjs → chunk-LG2IKM2G.cjs} +10 -10
- package/dist/{chunk-PIWXX2M4.cjs.map → chunk-LG2IKM2G.cjs.map} +1 -1
- package/dist/{chunk-RI367OOL.cjs → chunk-LJTHFTQQ.cjs} +5 -5
- package/dist/{chunk-RI367OOL.cjs.map → chunk-LJTHFTQQ.cjs.map} +1 -1
- package/dist/{chunk-KJ65QZJI.cjs → chunk-M3HYFFCK.cjs} +12 -12
- package/dist/{chunk-KJ65QZJI.cjs.map → chunk-M3HYFFCK.cjs.map} +1 -1
- package/dist/{chunk-7HHIVC23.cjs → chunk-NFVYHS3X.cjs} +65 -36
- package/dist/chunk-NFVYHS3X.cjs.map +1 -0
- package/dist/{chunk-Z2XZ2D4N.cjs → chunk-O2NHBB3D.cjs} +8 -5
- package/dist/chunk-O2NHBB3D.cjs.map +1 -0
- package/dist/{chunk-CULUTYOD.cjs → chunk-OO452QD5.cjs} +4 -4
- package/dist/{chunk-CULUTYOD.cjs.map → chunk-OO452QD5.cjs.map} +1 -1
- package/dist/{chunk-7XR6CPCU.cjs → chunk-PIJPM5RA.cjs} +25 -3
- package/dist/chunk-PIJPM5RA.cjs.map +1 -0
- package/dist/{chunk-4RR7ZZPD.cjs → chunk-PJ5OQ5VB.cjs} +5 -5
- package/dist/{chunk-4RR7ZZPD.cjs.map → chunk-PJ5OQ5VB.cjs.map} +1 -1
- package/dist/chunk-PNZVCHFS.cjs +516 -0
- package/dist/chunk-PNZVCHFS.cjs.map +1 -0
- package/dist/{chunk-SLQPSKYU.cjs → chunk-PP3KYFSS.cjs} +13 -8
- package/dist/chunk-PP3KYFSS.cjs.map +1 -0
- package/dist/{chunk-P7VUIW24.cjs → chunk-QDXZVJWN.cjs} +23 -9
- package/dist/chunk-QDXZVJWN.cjs.map +1 -0
- package/dist/{chunk-OM5J23JR.cjs → chunk-QGCNYDHZ.cjs} +24 -24
- package/dist/{chunk-OM5J23JR.cjs.map → chunk-QGCNYDHZ.cjs.map} +1 -1
- package/dist/{chunk-HJDMKDAE.cjs → chunk-SKQ5OMMF.cjs} +14 -14
- package/dist/{chunk-HJDMKDAE.cjs.map → chunk-SKQ5OMMF.cjs.map} +1 -1
- package/dist/{chunk-5GBM7BQB.cjs → chunk-SOT7NPIB.cjs} +4 -4
- package/dist/{chunk-5GBM7BQB.cjs.map → chunk-SOT7NPIB.cjs.map} +1 -1
- package/dist/{chunk-3GQQUR27.cjs → chunk-TNBNDY2J.cjs} +4 -4
- package/dist/{chunk-3GQQUR27.cjs.map → chunk-TNBNDY2J.cjs.map} +1 -1
- package/dist/{chunk-7WENPOCP.cjs → chunk-TPYOXG5S.cjs} +7 -7
- package/dist/{chunk-7WENPOCP.cjs.map → chunk-TPYOXG5S.cjs.map} +1 -1
- package/dist/{chunk-V2IV2E2B.cjs → chunk-TU46WKTN.cjs} +4 -4
- package/dist/{chunk-V2IV2E2B.cjs.map → chunk-TU46WKTN.cjs.map} +1 -1
- package/dist/{chunk-BAZZTZW5.cjs → chunk-U33XOC7T.cjs} +8 -8
- package/dist/{chunk-BAZZTZW5.cjs.map → chunk-U33XOC7T.cjs.map} +1 -1
- package/dist/{chunk-PDDC5JOE.cjs → chunk-UNSZLNA4.cjs} +12 -12
- package/dist/{chunk-PDDC5JOE.cjs.map → chunk-UNSZLNA4.cjs.map} +1 -1
- package/dist/{chunk-XMSK3LQX.cjs → chunk-UXGIMOIN.cjs} +4 -4
- package/dist/{chunk-XMSK3LQX.cjs.map → chunk-UXGIMOIN.cjs.map} +1 -1
- package/dist/{chunk-NTAGDFWU.cjs → chunk-VHXGBVT6.cjs} +4 -4
- package/dist/{chunk-NTAGDFWU.cjs.map → chunk-VHXGBVT6.cjs.map} +1 -1
- package/dist/{chunk-EKFA2OS3.cjs → chunk-VJNJ4G6Y.cjs} +4 -4
- package/dist/{chunk-EKFA2OS3.cjs.map → chunk-VJNJ4G6Y.cjs.map} +1 -1
- package/dist/{chunk-JARBYN6Z.cjs → chunk-VNUBBRJM.cjs} +8 -6
- package/dist/chunk-VNUBBRJM.cjs.map +1 -0
- package/dist/{chunk-GB5MN5FC.cjs → chunk-VWSOHZK2.cjs} +4 -4
- package/dist/{chunk-GB5MN5FC.cjs.map → chunk-VWSOHZK2.cjs.map} +1 -1
- package/dist/{chunk-JHDCDEXY.cjs → chunk-W5JTACMK.cjs} +8 -5
- package/dist/chunk-W5JTACMK.cjs.map +1 -0
- package/dist/{chunk-YGCS53TK.cjs → chunk-W6PTT27N.cjs} +27 -27
- package/dist/{chunk-YGCS53TK.cjs.map → chunk-W6PTT27N.cjs.map} +1 -1
- package/dist/{chunk-U4YOVI5D.cjs → chunk-W7TSEN3J.cjs} +6 -6
- package/dist/{chunk-U4YOVI5D.cjs.map → chunk-W7TSEN3J.cjs.map} +1 -1
- package/dist/{chunk-W5QSKW7T.cjs → chunk-WHHBEV4G.cjs} +4 -4
- package/dist/{chunk-W5QSKW7T.cjs.map → chunk-WHHBEV4G.cjs.map} +1 -1
- package/dist/{chunk-POFKTD4G.cjs → chunk-WQQ6C2ML.cjs} +5 -5
- package/dist/{chunk-POFKTD4G.cjs.map → chunk-WQQ6C2ML.cjs.map} +1 -1
- package/dist/{chunk-36NQMOJE.cjs → chunk-XGMA7ITI.cjs} +6 -6
- package/dist/{chunk-36NQMOJE.cjs.map → chunk-XGMA7ITI.cjs.map} +1 -1
- package/dist/{chunk-FVSJXCKF.cjs → chunk-XKOIHIVQ.cjs} +4 -4
- package/dist/{chunk-FVSJXCKF.cjs.map → chunk-XKOIHIVQ.cjs.map} +1 -1
- package/dist/{chunk-HXYOG3DH.cjs → chunk-Y4OTUJGD.cjs} +10 -10
- package/dist/{chunk-HXYOG3DH.cjs.map → chunk-Y4OTUJGD.cjs.map} +1 -1
- package/dist/{chunk-YA6GXWC2.cjs → chunk-ZQQVXRYZ.cjs} +4 -4
- package/dist/{chunk-YA6GXWC2.cjs.map → chunk-ZQQVXRYZ.cjs.map} +1 -1
- package/dist/{chunk-HRLWD6FJ.cjs → chunk-ZSZI576U.cjs} +9 -9
- package/dist/{chunk-HRLWD6FJ.cjs.map → chunk-ZSZI576U.cjs.map} +1 -1
- package/dist/citations/index.cjs +8 -8
- package/dist/collaboration/direct-messages/DmParts.d.ts +2 -1
- package/dist/collaboration/direct-messages/DmParts.js +21 -7
- package/dist/collaboration/direct-messages/DmParts.js.map +2 -2
- package/dist/collaboration/index.cjs +82 -82
- package/dist/components/EntityChip.d.ts +2 -1
- package/dist/components/EntityChip.js +2 -0
- package/dist/components/EntityChip.js.map +2 -2
- package/dist/connect/docx.cjs +23 -23
- package/dist/connect/index.cjs +2380 -1831
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +39 -37
- package/dist/connection/ConnectedAgentChatPanel.d.ts +3 -1
- package/dist/connection/ConnectedAgentChatPanel.js +10 -5
- package/dist/connection/ConnectedAgentChatPanel.js.map +2 -2
- package/dist/connection/agents/ConnectedAgentsPage.js +6 -1
- package/dist/connection/agents/ConnectedAgentsPage.js.map +2 -2
- package/dist/connection/calendar/ConnectedCalendar.js +4 -2
- package/dist/connection/calendar/ConnectedCalendar.js.map +2 -2
- package/dist/connection/calendar/EventScheduling.js +29 -4
- package/dist/connection/calendar/EventScheduling.js.map +2 -2
- package/dist/connection/contacts/ConnectedContactsPanel.js +4 -2
- package/dist/connection/contacts/ConnectedContactsPanel.js.map +2 -2
- package/dist/connection/conversation/AgentControlBar.js +2 -2
- package/dist/connection/conversation/AgentControlBar.js.map +2 -2
- package/dist/connection/conversation/AnswerTable.js +19 -2
- package/dist/connection/conversation/AnswerTable.js.map +2 -2
- package/dist/connection/conversation/ConnectedMarkdown.js +58 -24
- package/dist/connection/conversation/ConnectedMarkdown.js.map +2 -2
- package/dist/connection/conversation/ConnectedMessage.js +19 -14
- package/dist/connection/conversation/ConnectedMessage.js.map +2 -2
- package/dist/connection/conversation/ConversationComposer.js +29 -7
- package/dist/connection/conversation/ConversationComposer.js.map +2 -2
- package/dist/connection/conversation/DocumentWorkspaceContext.d.ts +7 -2
- package/dist/connection/conversation/DocumentWorkspaceContext.js +31 -11
- package/dist/connection/conversation/DocumentWorkspaceContext.js.map +2 -2
- package/dist/connection/conversation/EntityReference.d.ts +8 -0
- package/dist/connection/conversation/EntityReference.js +124 -0
- package/dist/connection/conversation/EntityReference.js.map +7 -0
- package/dist/connection/conversation/entity-references.d.ts +1 -0
- package/dist/connection/conversation/entity-references.js +7 -0
- package/dist/connection/conversation/entity-references.js.map +7 -0
- package/dist/connection/conversation/open-entity-reference.d.ts +5 -0
- package/dist/connection/conversation/open-entity-reference.js +57 -0
- package/dist/connection/conversation/open-entity-reference.js.map +7 -0
- package/dist/connection/databases/ConnectedDatabasesPage.js +15 -2
- package/dist/connection/databases/ConnectedDatabasesPage.js.map +2 -2
- package/dist/connection/databases/DatabaseViewsMenu.d.ts +2 -1
- package/dist/connection/databases/DatabaseViewsMenu.js +9 -0
- package/dist/connection/databases/DatabaseViewsMenu.js.map +2 -2
- package/dist/connection/entities/ConnectedDocumentPill.js +5 -1
- package/dist/connection/entities/ConnectedDocumentPill.js.map +2 -2
- package/dist/connection/entities/ConnectedUserEntity.js +3 -0
- package/dist/connection/entities/ConnectedUserEntity.js.map +2 -2
- package/dist/connection/entities/ConnectedWorkspaceEntity.js +4 -0
- package/dist/connection/entities/ConnectedWorkspaceEntity.js.map +2 -2
- package/dist/connection/files/fields/fields-manager-panel.d.ts +1 -1
- package/dist/connection/files/fields/fields-manager-panel.js +1 -1
- package/dist/connection/files/fields/fields-manager-panel.js.map +2 -2
- package/dist/connection/files/grid/cells.js +11 -2
- package/dist/connection/files/grid/cells.js.map +2 -2
- package/dist/connection/files/upload/useAddFromUrls.d.ts +1 -1
- package/dist/connection/files/upload/useAddFromUrls.js +1 -1
- package/dist/connection/files/upload/useAddFromUrls.js.map +1 -1
- package/dist/connection/files/views/ViewSelector.js +13 -1
- package/dist/connection/files/views/ViewSelector.js.map +2 -2
- package/dist/connection/messenger/ConnectedChatThread.d.ts +0 -9
- package/dist/connection/messenger/ConnectedChatThread.js +72 -41
- package/dist/connection/messenger/ConnectedChatThread.js.map +2 -2
- package/dist/connection/messenger/ConnectedMessenger.js +6 -4
- package/dist/connection/messenger/ConnectedMessenger.js.map +2 -2
- package/dist/connection/messenger/DmAgentProgress.d.ts +7 -0
- package/dist/connection/messenger/DmAgentProgress.js +47 -0
- package/dist/connection/messenger/DmAgentProgress.js.map +7 -0
- package/dist/connection/messenger/full-variant.js +1 -1
- package/dist/connection/messenger/full-variant.js.map +2 -2
- package/dist/connection/panels/ConnectedPanelHost.d.ts +2 -10
- package/dist/connection/panels/ConnectedPanelHost.js +32 -4
- package/dist/connection/panels/ConnectedPanelHost.js.map +2 -2
- package/dist/connection/panels/ConnectedPanelRegistry.d.ts +1 -1
- package/dist/connection/panels/ConnectedPanelRegistry.js +1 -0
- package/dist/connection/panels/ConnectedPanelRegistry.js.map +2 -2
- package/dist/connection/panels/ConversationPresentation.d.ts +15 -0
- package/dist/connection/panels/ConversationPresentation.js +13 -0
- package/dist/connection/panels/ConversationPresentation.js.map +7 -0
- package/dist/connection/report-problem/CaptureBar.d.ts +4 -5
- package/dist/connection/report-problem/CaptureBar.js +56 -13
- package/dist/connection/report-problem/CaptureBar.js.map +2 -2
- package/dist/connection/report-problem/ConnectedReportProblem.d.ts +3 -1
- package/dist/connection/report-problem/ConnectedReportProblem.js +9 -2
- package/dist/connection/report-problem/ConnectedReportProblem.js.map +2 -2
- package/dist/connection/report-problem/ReportProblemDialog.d.ts +6 -1
- package/dist/connection/report-problem/ReportProblemDialog.js +24 -9
- package/dist/connection/report-problem/ReportProblemDialog.js.map +2 -2
- package/dist/connection/report-problem/SupportVideoEvidence.d.ts +7 -0
- package/dist/connection/report-problem/SupportVideoEvidence.js +134 -0
- package/dist/connection/report-problem/SupportVideoEvidence.js.map +7 -0
- package/dist/connection/report-problem/screen-capture.d.ts +2 -0
- package/dist/connection/report-problem/screen-capture.js +11 -6
- package/dist/connection/report-problem/screen-capture.js.map +2 -2
- package/dist/connection/report-problem/support-browser-context.d.ts +5 -0
- package/dist/connection/report-problem/support-browser-context.js +19 -0
- package/dist/connection/report-problem/support-browser-context.js.map +7 -0
- package/dist/connection/report-problem/useReportProblem.js +16 -7
- package/dist/connection/report-problem/useReportProblem.js.map +2 -2
- package/dist/connection/report-problem/useSupportVideo.d.ts +21 -0
- package/dist/connection/report-problem/useSupportVideo.js +167 -0
- package/dist/connection/report-problem/useSupportVideo.js.map +7 -0
- package/dist/connection/routes/useDeepLinkSync.js +41 -5
- package/dist/connection/routes/useDeepLinkSync.js.map +2 -2
- package/dist/connection/shell/workspace-project-line.js +1 -0
- package/dist/connection/shell/workspace-project-line.js.map +2 -2
- package/dist/connection/tags/ConnectedTagsPage.js +10 -1
- package/dist/connection/tags/ConnectedTagsPage.js.map +2 -2
- package/dist/connection/threads/ConversationEntity.js +8 -1
- package/dist/connection/threads/ConversationEntity.js.map +2 -2
- package/dist/connection/viewer/ViewerPdfPane.js +18 -2
- package/dist/connection/viewer/ViewerPdfPane.js.map +2 -2
- package/dist/connection/viewer/useViewedDocument.d.ts +1 -0
- package/dist/connection/viewer/useViewedDocument.js +4 -1
- package/dist/connection/viewer/useViewedDocument.js.map +2 -2
- package/dist/connection/viewer/useViewerTabs.js +6 -3
- package/dist/connection/viewer/useViewerTabs.js.map +2 -2
- package/dist/dashboards/index.cjs +18 -18
- package/dist/embed/index.cjs +49 -48
- package/dist/facts/index.cjs +46 -46
- package/dist/files/cells/DocumentNameCell.d.ts +2 -1
- package/dist/files/cells/DocumentNameCell.js +7 -1
- package/dist/files/cells/DocumentNameCell.js.map +2 -2
- package/dist/files/index.cjs +232 -232
- package/dist/home/index.cjs +26 -26
- package/dist/index.cjs +1026 -1022
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +2 -2
- package/dist/lib/entity-id.d.ts +5 -0
- package/dist/lib/entity-id.js +14 -0
- package/dist/lib/entity-id.js.map +7 -0
- package/dist/lib/routes.d.ts +2 -0
- package/dist/lib/routes.js +32 -2
- package/dist/lib/routes.js.map +2 -2
- package/dist/pages/index.cjs +50 -50
- package/dist/provider/environment.d.ts +4 -0
- package/dist/provider/environment.js.map +2 -2
- package/dist/retrieval/index.cjs +4 -4
- package/dist/settings/index.cjs +139 -139
- package/dist/shell/PanelPortal.d.ts +2 -13
- package/dist/shell/PanelPortal.js +61 -10
- package/dist/shell/PanelPortal.js.map +2 -2
- package/dist/shell/index.cjs +53 -53
- package/dist/shell/useFloatingDrag.d.ts +23 -0
- package/dist/shell/useFloatingDrag.js +195 -0
- package/dist/shell/useFloatingDrag.js.map +7 -0
- package/dist/studio/index.cjs +35 -36
- package/dist/studio/index.cjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +78 -79
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workspaces/index.cjs +26 -26
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedMailInviteCard-LV2VARX3.cjs +0 -22
- package/dist/ConnectedProductionSetDialog-4N7R7SFZ.cjs.map +0 -1
- package/dist/FilesViewerDialog-2MJHM32X.cjs.map +0 -1
- package/dist/ai-HME7CNDE.cjs.map +0 -1
- package/dist/chunk-63FEMB6U.cjs.map +0 -1
- package/dist/chunk-6U3CYVZC.cjs.map +0 -1
- package/dist/chunk-7HHIVC23.cjs.map +0 -1
- package/dist/chunk-7XR6CPCU.cjs.map +0 -1
- package/dist/chunk-AIKPZJNI.cjs.map +0 -1
- package/dist/chunk-CKJTXS63.cjs.map +0 -1
- package/dist/chunk-CYI4OYZD.cjs.map +0 -1
- package/dist/chunk-GEQW7XQA.cjs.map +0 -1
- package/dist/chunk-JARBYN6Z.cjs.map +0 -1
- package/dist/chunk-JHDCDEXY.cjs.map +0 -1
- package/dist/chunk-KL7R2IBY.cjs.map +0 -1
- package/dist/chunk-LOSCXAAF.cjs.map +0 -1
- package/dist/chunk-MCXS6X37.cjs +0 -13
- package/dist/chunk-MCXS6X37.cjs.map +0 -1
- package/dist/chunk-MSFWSDRS.cjs +0 -320
- package/dist/chunk-MSFWSDRS.cjs.map +0 -1
- package/dist/chunk-P7VUIW24.cjs.map +0 -1
- package/dist/chunk-SH7W4WVI.cjs.map +0 -1
- package/dist/chunk-SLQPSKYU.cjs.map +0 -1
- package/dist/chunk-T5XLL4L2.cjs.map +0 -1
- package/dist/chunk-VHD5DZW4.cjs.map +0 -1
- package/dist/chunk-XKQVAGVR.cjs.map +0 -1
- package/dist/chunk-Z2XZ2D4N.cjs.map +0 -1
package/dist/chat/index.cjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkH2BUDSKT_cjs = require('../chunk-H2BUDSKT.cjs');
|
|
5
5
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
6
|
+
var chunkXGMA7ITI_cjs = require('../chunk-XGMA7ITI.cjs');
|
|
7
|
+
var chunkUXGIMOIN_cjs = require('../chunk-UXGIMOIN.cjs');
|
|
8
|
+
var chunkIJ4JKHEC_cjs = require('../chunk-IJ4JKHEC.cjs');
|
|
9
|
+
var chunkW5JTACMK_cjs = require('../chunk-W5JTACMK.cjs');
|
|
10
|
+
var chunkKBRDUFXG_cjs = require('../chunk-KBRDUFXG.cjs');
|
|
11
11
|
var chunk5F4DCIHS_cjs = require('../chunk-5F4DCIHS.cjs');
|
|
12
|
-
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
13
12
|
require('../chunk-CT3SLXB7.cjs');
|
|
14
13
|
require('../chunk-DEXUL3T6.cjs');
|
|
15
14
|
require('../chunk-AFQTQC7A.cjs');
|
|
16
15
|
require('../chunk-XJEXFEWG.cjs');
|
|
17
|
-
var
|
|
16
|
+
var chunkO2NHBB3D_cjs = require('../chunk-O2NHBB3D.cjs');
|
|
18
17
|
require('../chunk-YZSQ7F5K.cjs');
|
|
19
|
-
require('../chunk-MCXS6X37.cjs');
|
|
20
18
|
require('../chunk-KQF7POTG.cjs');
|
|
21
19
|
var chunk75BNMCUX_cjs = require('../chunk-75BNMCUX.cjs');
|
|
22
20
|
require('../chunk-IN6ILI5A.cjs');
|
|
23
|
-
require('../chunk-
|
|
21
|
+
require('../chunk-PIJPM5RA.cjs');
|
|
24
22
|
require('../chunk-FX3K6LNZ.cjs');
|
|
25
23
|
require('../chunk-Y3GJBLAI.cjs');
|
|
26
24
|
require('../chunk-SQCCQU3K.cjs');
|
|
27
25
|
require('../chunk-UDSHVNU3.cjs');
|
|
28
|
-
require('../chunk-PPCATBOY.cjs');
|
|
29
26
|
require('../chunk-IPSHAMO2.cjs');
|
|
27
|
+
require('../chunk-IRUQZI6P.cjs');
|
|
28
|
+
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
29
|
+
require('../chunk-PPCATBOY.cjs');
|
|
30
30
|
require('../chunk-LJJJ6CYH.cjs');
|
|
31
|
-
require('../chunk-
|
|
31
|
+
require('../chunk-HN56WWBR.cjs');
|
|
32
32
|
require('../chunk-K67VMSOX.cjs');
|
|
33
33
|
require('../chunk-CVPV4I7Z.cjs');
|
|
34
34
|
require('../chunk-PLIF5CUV.cjs');
|
|
@@ -37,7 +37,7 @@ require('../chunk-PLIF5CUV.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "AssistantToaster", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkH2BUDSKT_cjs.AssistantToaster; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "ComposerAccessories", {
|
|
43
43
|
enumerable: true,
|
|
@@ -181,355 +181,355 @@ Object.defineProperty(exports, "useDismissibleCard", {
|
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "AssistantDock", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkXGMA7ITI_cjs.AssistantDock; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "AssistantDockToggle", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkXGMA7ITI_cjs.AssistantDockToggle; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "useAssistantDock", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkXGMA7ITI_cjs.useAssistantDock; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "useOpenCitation", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkUXGIMOIN_cjs.useOpenCitation; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "AssistantModeToggle", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkIJ4JKHEC_cjs.AssistantModeToggle; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "ChatDocuments", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkIJ4JKHEC_cjs.ChatDocuments; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "ChatMessageContent", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkIJ4JKHEC_cjs.ChatMessageContent; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "ChatPage", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkIJ4JKHEC_cjs.ChatPage; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "ChatThreadList", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkIJ4JKHEC_cjs.ChatThreadList; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "ChatThreadSelect", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkIJ4JKHEC_cjs.ChatThreadSelect; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "CitationMark", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkIJ4JKHEC_cjs.CitationMark; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "ContextChip", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkIJ4JKHEC_cjs.ContextChip; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "ConversationEmpty", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkIJ4JKHEC_cjs.ConversationEmpty; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkIJ4JKHEC_cjs.DEFAULT_ASSISTANT_MODE_TOGGLE_LABELS; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "DEFAULT_CHAT_PAGE_LABELS", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkIJ4JKHEC_cjs.DEFAULT_CHAT_PAGE_LABELS; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "DEFAULT_CONVERSATION_EMPTY_LABELS", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkIJ4JKHEC_cjs.DEFAULT_CONVERSATION_EMPTY_LABELS; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_ALERT_LABELS", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkIJ4JKHEC_cjs.DEFAULT_MESSAGE_ALERT_LABELS; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "MessageAlert", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkIJ4JKHEC_cjs.MessageAlert; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "useChatSurface", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkIJ4JKHEC_cjs.useChatSurface; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "useControlledThread", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkIJ4JKHEC_cjs.useControlledThread; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "useRegisterEmbeddedChat", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkIJ4JKHEC_cjs.useRegisterEmbeddedChat; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "useStartRequestedConversation", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkIJ4JKHEC_cjs.useStartRequestedConversation; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "BranchControls", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkW5JTACMK_cjs.BranchControls; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "ContextUsageBar", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkW5JTACMK_cjs.ContextUsageBar; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "DEFAULT_BRANCH_CONTROLS_LABELS", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkW5JTACMK_cjs.DEFAULT_BRANCH_CONTROLS_LABELS; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "DEFAULT_MODEL_PRICING_TIP_LABELS", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkW5JTACMK_cjs.DEFAULT_MODEL_PRICING_TIP_LABELS; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "DEFAULT_THREAD_MAP_LABELS", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkW5JTACMK_cjs.DEFAULT_THREAD_MAP_LABELS; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "DEFAULT_THREAD_VISUALIZER_LABELS", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkW5JTACMK_cjs.DEFAULT_THREAD_VISUALIZER_LABELS; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "ModelAutoIcon", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkW5JTACMK_cjs.ModelAutoIcon; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "ModelConfigureButton", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkW5JTACMK_cjs.ModelConfigureButton; }
|
|
301
301
|
});
|
|
302
302
|
Object.defineProperty(exports, "ModelDot", {
|
|
303
303
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkW5JTACMK_cjs.ModelDot; }
|
|
305
305
|
});
|
|
306
306
|
Object.defineProperty(exports, "ModelMenuDivider", {
|
|
307
307
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkW5JTACMK_cjs.ModelMenuDivider; }
|
|
309
309
|
});
|
|
310
310
|
Object.defineProperty(exports, "ModelMenuMessage", {
|
|
311
311
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkW5JTACMK_cjs.ModelMenuMessage; }
|
|
313
313
|
});
|
|
314
314
|
Object.defineProperty(exports, "ModelOption", {
|
|
315
315
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkW5JTACMK_cjs.ModelOption; }
|
|
317
317
|
});
|
|
318
318
|
Object.defineProperty(exports, "ModelOptionLabel", {
|
|
319
319
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkW5JTACMK_cjs.ModelOptionLabel; }
|
|
321
321
|
});
|
|
322
322
|
Object.defineProperty(exports, "ModelPickerPopover", {
|
|
323
323
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkW5JTACMK_cjs.ModelPickerPopover; }
|
|
325
325
|
});
|
|
326
326
|
Object.defineProperty(exports, "ModelPickerTrigger", {
|
|
327
327
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkW5JTACMK_cjs.ModelPickerTrigger; }
|
|
329
329
|
});
|
|
330
330
|
Object.defineProperty(exports, "ModelPricingTip", {
|
|
331
331
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkW5JTACMK_cjs.ModelPricingTip; }
|
|
333
333
|
});
|
|
334
334
|
Object.defineProperty(exports, "ModelTierIcon", {
|
|
335
335
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkW5JTACMK_cjs.ModelTierIcon; }
|
|
337
337
|
});
|
|
338
338
|
Object.defineProperty(exports, "ModelTierOption", {
|
|
339
339
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkW5JTACMK_cjs.ModelTierOption; }
|
|
341
341
|
});
|
|
342
342
|
Object.defineProperty(exports, "ModelTriggerContent", {
|
|
343
343
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkW5JTACMK_cjs.ModelTriggerContent; }
|
|
345
345
|
});
|
|
346
346
|
Object.defineProperty(exports, "ThreadMap", {
|
|
347
347
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkW5JTACMK_cjs.ThreadMap; }
|
|
349
349
|
});
|
|
350
350
|
Object.defineProperty(exports, "ThreadMapDiagram", {
|
|
351
351
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkW5JTACMK_cjs.ThreadMapDiagram; }
|
|
353
353
|
});
|
|
354
354
|
Object.defineProperty(exports, "ThreadMapError", {
|
|
355
355
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunkW5JTACMK_cjs.ThreadMapError; }
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "ThreadMapLoading", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkW5JTACMK_cjs.ThreadMapLoading; }
|
|
361
361
|
});
|
|
362
362
|
Object.defineProperty(exports, "ThreadVisualizer", {
|
|
363
363
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
364
|
+
get: function () { return chunkW5JTACMK_cjs.ThreadVisualizer; }
|
|
365
365
|
});
|
|
366
366
|
Object.defineProperty(exports, "buildMessageLink", {
|
|
367
367
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkW5JTACMK_cjs.buildMessageLink; }
|
|
369
369
|
});
|
|
370
370
|
Object.defineProperty(exports, "buildThreadDiagram", {
|
|
371
371
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkW5JTACMK_cjs.buildThreadDiagram; }
|
|
373
373
|
});
|
|
374
374
|
Object.defineProperty(exports, "copyMessageToClipboard", {
|
|
375
375
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkW5JTACMK_cjs.copyMessageToClipboard; }
|
|
377
377
|
});
|
|
378
378
|
Object.defineProperty(exports, "downloadTableAsCsv", {
|
|
379
379
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkW5JTACMK_cjs.downloadTableAsCsv; }
|
|
381
381
|
});
|
|
382
382
|
Object.defineProperty(exports, "findMessageDocument", {
|
|
383
383
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkW5JTACMK_cjs.findMessageDocument; }
|
|
385
385
|
});
|
|
386
386
|
Object.defineProperty(exports, "flashMessage", {
|
|
387
387
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkW5JTACMK_cjs.flashMessage; }
|
|
389
389
|
});
|
|
390
390
|
Object.defineProperty(exports, "getParticipantTints", {
|
|
391
391
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkW5JTACMK_cjs.getParticipantTints; }
|
|
393
393
|
});
|
|
394
394
|
Object.defineProperty(exports, "groupOutputsByConversation", {
|
|
395
395
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkW5JTACMK_cjs.groupOutputsByConversation; }
|
|
397
397
|
});
|
|
398
398
|
Object.defineProperty(exports, "isLongPastedText", {
|
|
399
399
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkW5JTACMK_cjs.isLongPastedText; }
|
|
401
401
|
});
|
|
402
402
|
Object.defineProperty(exports, "latestThreadVersionMessage", {
|
|
403
403
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkW5JTACMK_cjs.latestThreadVersionMessage; }
|
|
405
405
|
});
|
|
406
406
|
Object.defineProperty(exports, "threadForNode", {
|
|
407
407
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkW5JTACMK_cjs.threadForNode; }
|
|
409
409
|
});
|
|
410
410
|
Object.defineProperty(exports, "useLongPaste", {
|
|
411
411
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkW5JTACMK_cjs.useLongPaste; }
|
|
413
413
|
});
|
|
414
414
|
Object.defineProperty(exports, "useRecipientDraft", {
|
|
415
415
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkW5JTACMK_cjs.useRecipientDraft; }
|
|
417
417
|
});
|
|
418
418
|
Object.defineProperty(exports, "Composer", {
|
|
419
419
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkKBRDUFXG_cjs.Composer; }
|
|
421
421
|
});
|
|
422
422
|
Object.defineProperty(exports, "ComposerContainer", {
|
|
423
423
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunkKBRDUFXG_cjs.ComposerContainer; }
|
|
425
425
|
});
|
|
426
426
|
Object.defineProperty(exports, "ComposerDock", {
|
|
427
427
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkKBRDUFXG_cjs.ComposerDock; }
|
|
429
429
|
});
|
|
430
430
|
Object.defineProperty(exports, "ComposerSend", {
|
|
431
431
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkKBRDUFXG_cjs.ComposerSend; }
|
|
433
433
|
});
|
|
434
434
|
Object.defineProperty(exports, "ComposerVoiceButton", {
|
|
435
435
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkKBRDUFXG_cjs.ComposerVoiceButton; }
|
|
437
437
|
});
|
|
438
438
|
Object.defineProperty(exports, "DEFAULT_COMPOSER_LABELS", {
|
|
439
439
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkKBRDUFXG_cjs.DEFAULT_COMPOSER_LABELS; }
|
|
441
441
|
});
|
|
442
442
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_LABELS", {
|
|
443
443
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkKBRDUFXG_cjs.DEFAULT_MESSAGE_LABELS; }
|
|
445
445
|
});
|
|
446
446
|
Object.defineProperty(exports, "DEFAULT_MESSAGE_LIST_LABELS", {
|
|
447
447
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkKBRDUFXG_cjs.DEFAULT_MESSAGE_LIST_LABELS; }
|
|
449
449
|
});
|
|
450
450
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_STEP_CHIP_LABELS", {
|
|
451
451
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkKBRDUFXG_cjs.DEFAULT_WORKFLOW_STEP_CHIP_LABELS; }
|
|
453
453
|
});
|
|
454
454
|
Object.defineProperty(exports, "Message", {
|
|
455
455
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkKBRDUFXG_cjs.Message; }
|
|
457
457
|
});
|
|
458
458
|
Object.defineProperty(exports, "MessageActionButton", {
|
|
459
459
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
460
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageActionButton; }
|
|
461
461
|
});
|
|
462
462
|
Object.defineProperty(exports, "MessageActionMenu", {
|
|
463
463
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
464
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageActionMenu; }
|
|
465
465
|
});
|
|
466
466
|
Object.defineProperty(exports, "MessageAuthor", {
|
|
467
467
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageAuthor; }
|
|
469
469
|
});
|
|
470
470
|
Object.defineProperty(exports, "MessageBody", {
|
|
471
471
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageBody; }
|
|
473
473
|
});
|
|
474
474
|
Object.defineProperty(exports, "MessageBubble", {
|
|
475
475
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageBubble; }
|
|
477
477
|
});
|
|
478
478
|
Object.defineProperty(exports, "MessageByline", {
|
|
479
479
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageByline; }
|
|
481
481
|
});
|
|
482
482
|
Object.defineProperty(exports, "MessageContent", {
|
|
483
483
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageContent; }
|
|
485
485
|
});
|
|
486
486
|
Object.defineProperty(exports, "MessageFooter", {
|
|
487
487
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageFooter; }
|
|
489
489
|
});
|
|
490
490
|
Object.defineProperty(exports, "MessageList", {
|
|
491
491
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageList; }
|
|
493
493
|
});
|
|
494
494
|
Object.defineProperty(exports, "MessageListEmpty", {
|
|
495
495
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageListEmpty; }
|
|
497
497
|
});
|
|
498
498
|
Object.defineProperty(exports, "MessageListRoot", {
|
|
499
499
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageListRoot; }
|
|
501
501
|
});
|
|
502
502
|
Object.defineProperty(exports, "MessageNarration", {
|
|
503
503
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageNarration; }
|
|
505
505
|
});
|
|
506
506
|
Object.defineProperty(exports, "MessageRoot", {
|
|
507
507
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageRoot; }
|
|
509
509
|
});
|
|
510
510
|
Object.defineProperty(exports, "MessageSubagentBadge", {
|
|
511
511
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunkKBRDUFXG_cjs.MessageSubagentBadge; }
|
|
513
513
|
});
|
|
514
514
|
Object.defineProperty(exports, "ScrollToBottom", {
|
|
515
515
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunkKBRDUFXG_cjs.ScrollToBottom; }
|
|
517
517
|
});
|
|
518
518
|
Object.defineProperty(exports, "WorkflowStepChip", {
|
|
519
519
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunkKBRDUFXG_cjs.WorkflowStepChip; }
|
|
521
521
|
});
|
|
522
522
|
Object.defineProperty(exports, "toSpeakableText", {
|
|
523
523
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunkKBRDUFXG_cjs.toSpeakableText; }
|
|
525
525
|
});
|
|
526
526
|
Object.defineProperty(exports, "useMentionAutocomplete", {
|
|
527
527
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunkKBRDUFXG_cjs.useMentionAutocomplete; }
|
|
529
529
|
});
|
|
530
530
|
Object.defineProperty(exports, "useStreamAnnouncement", {
|
|
531
531
|
enumerable: true,
|
|
532
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunkKBRDUFXG_cjs.useStreamAnnouncement; }
|
|
533
533
|
});
|
|
534
534
|
Object.defineProperty(exports, "DEFAULT_SLASH_MENU_LABELS", {
|
|
535
535
|
enumerable: true,
|
|
@@ -551,33 +551,17 @@ Object.defineProperty(exports, "parseSlashToken", {
|
|
|
551
551
|
enumerable: true,
|
|
552
552
|
get: function () { return chunk5F4DCIHS_cjs.parseSlashTokenInProgress; }
|
|
553
553
|
});
|
|
554
|
-
Object.defineProperty(exports, "ConversationFilter", {
|
|
555
|
-
enumerable: true,
|
|
556
|
-
get: function () { return chunkZBP4ZSAJ_cjs.ConversationFilter; }
|
|
557
|
-
});
|
|
558
|
-
Object.defineProperty(exports, "ProvisionalTranscriptLine", {
|
|
559
|
-
enumerable: true,
|
|
560
|
-
get: function () { return chunkZBP4ZSAJ_cjs.ProvisionalTranscriptLine; }
|
|
561
|
-
});
|
|
562
|
-
Object.defineProperty(exports, "TranscriptLine", {
|
|
563
|
-
enumerable: true,
|
|
564
|
-
get: function () { return chunkZBP4ZSAJ_cjs.TranscriptLine; }
|
|
565
|
-
});
|
|
566
|
-
Object.defineProperty(exports, "transcriptRuns", {
|
|
567
|
-
enumerable: true,
|
|
568
|
-
get: function () { return chunkZBP4ZSAJ_cjs.transcriptRuns; }
|
|
569
|
-
});
|
|
570
554
|
Object.defineProperty(exports, "DOC_ID_IN_HREF", {
|
|
571
555
|
enumerable: true,
|
|
572
|
-
get: function () { return
|
|
556
|
+
get: function () { return chunkO2NHBB3D_cjs.DOC_ID_IN_HREF; }
|
|
573
557
|
});
|
|
574
558
|
Object.defineProperty(exports, "rehypeDocEntityPills", {
|
|
575
559
|
enumerable: true,
|
|
576
|
-
get: function () { return
|
|
560
|
+
get: function () { return chunkO2NHBB3D_cjs.rehypeDocEntityPills; }
|
|
577
561
|
});
|
|
578
562
|
Object.defineProperty(exports, "workspaceDocIdFromHref", {
|
|
579
563
|
enumerable: true,
|
|
580
|
-
get: function () { return
|
|
564
|
+
get: function () { return chunkO2NHBB3D_cjs.workspaceDocIdFromHref; }
|
|
581
565
|
});
|
|
582
566
|
Object.defineProperty(exports, "DEFAULT_MENTION_LABELS", {
|
|
583
567
|
enumerable: true,
|
|
@@ -595,5 +579,21 @@ Object.defineProperty(exports, "useListKeyNav", {
|
|
|
595
579
|
enumerable: true,
|
|
596
580
|
get: function () { return chunk75BNMCUX_cjs.useListKeyNav; }
|
|
597
581
|
});
|
|
582
|
+
Object.defineProperty(exports, "ConversationFilter", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function () { return chunkZBP4ZSAJ_cjs.ConversationFilter; }
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(exports, "ProvisionalTranscriptLine", {
|
|
587
|
+
enumerable: true,
|
|
588
|
+
get: function () { return chunkZBP4ZSAJ_cjs.ProvisionalTranscriptLine; }
|
|
589
|
+
});
|
|
590
|
+
Object.defineProperty(exports, "TranscriptLine", {
|
|
591
|
+
enumerable: true,
|
|
592
|
+
get: function () { return chunkZBP4ZSAJ_cjs.TranscriptLine; }
|
|
593
|
+
});
|
|
594
|
+
Object.defineProperty(exports, "transcriptRuns", {
|
|
595
|
+
enumerable: true,
|
|
596
|
+
get: function () { return chunkZBP4ZSAJ_cjs.transcriptRuns; }
|
|
597
|
+
});
|
|
598
598
|
//# sourceMappingURL=index.cjs.map
|
|
599
599
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
2
|
+
import { ENTITY_ID_SOURCE } from "../connection/conversation/entity-references.js";
|
|
3
|
+
const DOC_ID_PATTERN = new RegExp(`\\b(${ENTITY_ID_SOURCE})\\b`);
|
|
3
4
|
const MAX_CACHE_ENTRIES = 512;
|
|
4
5
|
const textCache = /* @__PURE__ */ new Map();
|
|
5
6
|
function cacheGet(key) {
|
|
@@ -32,7 +33,7 @@ function buildReplacementNodes(text) {
|
|
|
32
33
|
newNodes.push({
|
|
33
34
|
type: "element",
|
|
34
35
|
tagName: "span",
|
|
35
|
-
properties: m[1].startsWith("eml-") ? { dataMailId: m[1] } : { dataDocId: m[1] },
|
|
36
|
+
properties: m[1].startsWith("eml-") ? { dataMailId: m[1] } : m[1].startsWith("doc-") ? { dataDocId: m[1] } : { dataEntityId: m[1] },
|
|
36
37
|
children: []
|
|
37
38
|
});
|
|
38
39
|
lastIndex = m.index + m[0].length;
|
|
@@ -45,7 +46,8 @@ function buildReplacementNodes(text) {
|
|
|
45
46
|
function transformChildren(parent) {
|
|
46
47
|
const children = parent.children;
|
|
47
48
|
if (!children) return;
|
|
48
|
-
const inCode = parent.tagName === "code" || parent.tagName === "pre";
|
|
49
|
+
const inCode = parent.tagName === "code" || parent.tagName === "pre" || parent.tagName === "a";
|
|
50
|
+
if (inCode) return;
|
|
49
51
|
for (let index = 0; index < children.length; index++) {
|
|
50
52
|
const node = children[index];
|
|
51
53
|
if (node.type !== "text") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/chat/rehype-doc-entity-pills.ts"],
|
|
4
|
-
"sourcesContent": ["// A document (doc-\u2026) or an email of the person's own mailbox (eml-\u2026): both render as entity pills.\n// Exactly eight alphanumerics, as every id the server makes: a streaming answer shows an id a few\n// characters at a time, and a partial one (\"doc-e\") would be looked up and 404.\nconst DOC_ID_PATTERN =
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["import { ENTITY_ID_SOURCE } from '../connection/conversation/entity-references'\n// A document (doc-\u2026) or an email of the person's own mailbox (eml-\u2026): both render as entity pills.\n// Exactly eight alphanumerics, as every id the server makes: a streaming answer shows an id a few\n// characters at a time, and a partial one (\"doc-e\") would be looked up and 404.\nconst DOC_ID_PATTERN = new RegExp(`\\\\b(${ENTITY_ID_SOURCE})\\\\b`)\n\n/**\n * Per-text-node transform cache.\n *\n * Keyed by the raw text-node value. For the vast majority of text nodes \u2014 those\n * without any `doc-\u2026` substring \u2014 we memoize the \"no match\" decision so a repeat\n * render of an unchanged message skips the regex entirely. When a node does\n * contain doc IDs we also cache the pre-built replacement children, so repeated\n * renders of a finished message don't re-scan or re-allocate.\n *\n * Uses a bounded LRU-ish Map \u2014 oldest entries are evicted when we exceed the\n * cap. This is a module singleton; across the app the hottest entries (tool\n * responses, common answer fragments) end up cached permanently for the session.\n */\nconst MAX_CACHE_ENTRIES = 512\nconst textCache = new Map<string, ReadonlyArray<unknown> | null>()\n\nfunction cacheGet(key: string): ReadonlyArray<unknown> | null | undefined {\n if (!textCache.has(key)) return undefined\n const value = textCache.get(key)\n // Touch to move it to the end of the insertion order (LRU).\n textCache.delete(key)\n textCache.set(key, value as ReadonlyArray<unknown> | null)\n return value\n}\n\nfunction cacheSet(key: string, value: ReadonlyArray<unknown> | null): void {\n if (textCache.size >= MAX_CACHE_ENTRIES) {\n const oldest = textCache.keys().next().value\n if (oldest !== undefined) textCache.delete(oldest)\n }\n textCache.set(key, value)\n}\n\n/**\n * Test-only helper to reset the memoization cache.\n * @internal\n */\nexport function __resetDocEntityPillCache(): void {\n textCache.clear()\n}\n\nfunction buildReplacementNodes(text: string): ReadonlyArray<unknown> | null {\n if (!DOC_ID_PATTERN.test(text)) return null\n\n const globalPattern = new RegExp(DOC_ID_PATTERN.source, 'g')\n const newNodes: unknown[] = []\n let lastIndex = 0\n let m: RegExpExecArray | null\n\n while ((m = globalPattern.exec(text)) !== null) {\n if (m.index > lastIndex) {\n newNodes.push({ type: 'text', value: text.slice(lastIndex, m.index) })\n }\n newNodes.push({\n type: 'element',\n tagName: 'span',\n properties: m[1].startsWith('eml-')\n ? { dataMailId: m[1] }\n : m[1].startsWith('doc-')\n ? { dataDocId: m[1] }\n : { dataEntityId: m[1] },\n children: [],\n })\n lastIndex = m.index + m[0].length\n }\n\n if (lastIndex < text.length) {\n newNodes.push({ type: 'text', value: text.slice(lastIndex) })\n }\n\n return newNodes\n}\n\n/**\n * Rehype plugin that detects doc external IDs in text nodes and converts them to\n * <span data-doc-id=\"...\"> elements for rendering as entity pills in MarkdownRenderer.\n *\n * Skips text inside code/pre elements so IDs in code blocks are left as plain text.\n *\n * Results are memoized per text-node value \u2014 stable messages re-use the cached\n * decision instead of re-running the regex on every render.\n */\n/** A node of the HTML tree (hast), as far as the transform reads it. */\ninterface TreeNode {\n type: string\n tagName?: string\n value?: string\n children?: unknown[]\n}\n\n/** Replace the doc/mail ids in the text nodes under `parent` (code and pre are left alone). */\nfunction transformChildren(parent: TreeNode): void {\n const children = parent.children\n if (!children) return\n const inCode = parent.tagName === 'code' || parent.tagName === 'pre' || parent.tagName === 'a'\n if (inCode) return\n for (let index = 0; index < children.length; index++) {\n const node = children[index] as TreeNode\n if (node.type !== 'text') {\n transformChildren(node)\n continue\n }\n if (inCode) continue\n const text = node.value ?? ''\n let replacement = cacheGet(text)\n if (replacement === undefined) {\n replacement = buildReplacementNodes(text)\n cacheSet(text, replacement)\n }\n if (replacement === null) continue\n // Clone cached nodes so each tree gets its own object identity. AST transforms by other\n // plugins may otherwise mutate shared references.\n const cloned = replacement.map((n) =>\n typeof n === 'object' && n !== null ? { ...(n as object) } : n\n )\n children.splice(index, 1, ...cloned)\n index += cloned.length - 1\n }\n}\n\nexport function rehypeDocEntityPills() {\n return (tree: TreeNode) => {\n transformChildren(tree)\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,wBAAwB;AAIjC,MAAM,iBAAiB,IAAI,OAAO,OAAO,gBAAgB,MAAM;AAe/D,MAAM,oBAAoB;AAC1B,MAAM,YAAY,oBAAI,IAA2C;AAEjE,SAAS,SAAS,KAAwD;AACxE,MAAI,CAAC,UAAU,IAAI,GAAG,EAAG,QAAO;AAChC,QAAM,QAAQ,UAAU,IAAI,GAAG;AAE/B,YAAU,OAAO,GAAG;AACpB,YAAU,IAAI,KAAK,KAAsC;AACzD,SAAO;AACT;AAEA,SAAS,SAAS,KAAa,OAA4C;AACzE,MAAI,UAAU,QAAQ,mBAAmB;AACvC,UAAM,SAAS,UAAU,KAAK,EAAE,KAAK,EAAE;AACvC,QAAI,WAAW,OAAW,WAAU,OAAO,MAAM;AAAA,EACnD;AACA,YAAU,IAAI,KAAK,KAAK;AAC1B;AAMO,SAAS,4BAAkC;AAChD,YAAU,MAAM;AAClB;AAEA,SAAS,sBAAsB,MAA6C;AAC1E,MAAI,CAAC,eAAe,KAAK,IAAI,EAAG,QAAO;AAEvC,QAAM,gBAAgB,IAAI,OAAO,eAAe,QAAQ,GAAG;AAC3D,QAAM,WAAsB,CAAC;AAC7B,MAAI,YAAY;AAChB,MAAI;AAEJ,UAAQ,IAAI,cAAc,KAAK,IAAI,OAAO,MAAM;AAC9C,QAAI,EAAE,QAAQ,WAAW;AACvB,eAAS,KAAK,EAAE,MAAM,QAAQ,OAAO,KAAK,MAAM,WAAW,EAAE,KAAK,EAAE,CAAC;AAAA,IACvE;AACA,aAAS,KAAK;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,YAAY,EAAE,CAAC,EAAE,WAAW,MAAM,IAC9B,EAAE,YAAY,EAAE,CAAC,EAAE,IACnB,EAAE,CAAC,EAAE,WAAW,MAAM,IACpB,EAAE,WAAW,EAAE,CAAC,EAAE,IAClB,EAAE,cAAc,EAAE,CAAC,EAAE;AAAA,MAC3B,UAAU,CAAC;AAAA,IACb,CAAC;AACD,gBAAY,EAAE,QAAQ,EAAE,CAAC,EAAE;AAAA,EAC7B;AAEA,MAAI,YAAY,KAAK,QAAQ;AAC3B,aAAS,KAAK,EAAE,MAAM,QAAQ,OAAO,KAAK,MAAM,SAAS,EAAE,CAAC;AAAA,EAC9D;AAEA,SAAO;AACT;AAoBA,SAAS,kBAAkB,QAAwB;AACjD,QAAM,WAAW,OAAO;AACxB,MAAI,CAAC,SAAU;AACf,QAAM,SAAS,OAAO,YAAY,UAAU,OAAO,YAAY,SAAS,OAAO,YAAY;AAC3F,MAAI,OAAQ;AACZ,WAAS,QAAQ,GAAG,QAAQ,SAAS,QAAQ,SAAS;AACpD,UAAM,OAAO,SAAS,KAAK;AAC3B,QAAI,KAAK,SAAS,QAAQ;AACxB,wBAAkB,IAAI;AACtB;AAAA,IACF;AACA,QAAI,OAAQ;AACZ,UAAM,OAAO,KAAK,SAAS;AAC3B,QAAI,cAAc,SAAS,IAAI;AAC/B,QAAI,gBAAgB,QAAW;AAC7B,oBAAc,sBAAsB,IAAI;AACxC,eAAS,MAAM,WAAW;AAAA,IAC5B;AACA,QAAI,gBAAgB,KAAM;AAG1B,UAAM,SAAS,YAAY;AAAA,MAAI,CAAC,MAC9B,OAAO,MAAM,YAAY,MAAM,OAAO,EAAE,GAAI,EAAa,IAAI;AAAA,IAC/D;AACA,aAAS,OAAO,OAAO,GAAG,GAAG,MAAM;AACnC,aAAS,OAAO,SAAS;AAAA,EAC3B;AACF;AAEO,SAAS,uBAAuB;AACrC,SAAO,CAAC,SAAmB;AACzB,sBAAkB,IAAI;AAAA,EACxB;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|