collabmd 0.1.40 → 0.1.42
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/README.md +68 -0
- package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-Fb3TgxXK.js +1 -0
- package/dist/client/assets/abnfDiagram-VRR7QNED-C-CM0mGi.js +1 -0
- package/dist/client/assets/{apl-C1JYSI8J.js → apl-gfMMiTNf.js} +1 -1
- package/dist/client/assets/ar-SA-YLAB6A27-B9ogj_Jh.js +8 -0
- package/dist/client/assets/{arc-B59iLcOr.js → arc-DqK6O3qL.js} +1 -1
- package/dist/client/assets/architecture-TIHT7OUA-BWqzHezU.js +1 -0
- package/dist/client/assets/architectureDiagram-ZJ3FMSHR-DL35gHTu.js +36 -0
- package/dist/client/assets/az-AZ-5JXPK2I2-C6Se5-4R.js +1 -0
- package/dist/client/assets/bases-preview-controller-CBHDzzot.js +143 -0
- package/dist/client/assets/bg-BG-NIQ2RVNG-xrf33IaO.js +5 -0
- package/dist/client/assets/blockDiagram-677ZJIJ3-BLomrZyt.js +132 -0
- package/dist/client/assets/bn-BD-BN65R3DE-YVZWNN-c.js +3 -0
- package/dist/client/assets/bn-IN-2YT4KVKB-YVZWNN-c.js +3 -0
- package/dist/client/assets/button-2ZnWQkWV.js +1 -0
- package/dist/client/assets/{c4Diagram-AAUBKEIU-DMK9WIWS.js → c4Diagram-LMCZKHZV-al3Umu1D.js} +6 -6
- package/dist/client/assets/ca-ES-KSERGC3M-CoMtV4dM.js +8 -0
- package/dist/client/assets/channel-XzBGGMWh.js +1 -0
- package/dist/client/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/client/assets/chunk-32BRIVSS-BD6LQmvI.js +1 -0
- package/dist/client/assets/chunk-52WLFC77-BjzXVnqm.js +10 -0
- package/dist/client/assets/chunk-5FCAYU7R-DNtJmW0j.js +1 -0
- package/dist/client/assets/chunk-5HE753X5-o8-OCfIL.js +1 -0
- package/dist/client/assets/{chunk-N66VUXT2-CZ58QOjk.js → chunk-5JV3BV7I-DKfYBAeY.js} +1 -1
- package/dist/client/assets/chunk-5TONJI2A-DOX2waSJ.js +2 -0
- package/dist/client/assets/{chunk-FMBD7UC4-DD6CIukb.js → chunk-5VM5RSS4-ZNzvKenW.js} +1 -1
- package/dist/client/assets/chunk-6GK3VUBP-ChzWImvX.js +41 -0
- package/dist/client/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
- package/dist/client/assets/chunk-BIQX33UG-CuPbkyWp.js +1 -0
- package/dist/client/assets/chunk-C7G6YPKG-C97QUAKv.js +1 -0
- package/dist/client/assets/chunk-CJTDIR4C-DvUbqeGR.js +1 -0
- package/dist/client/assets/chunk-CQNSW5MT-BbEh_krl.js +1 -0
- package/dist/client/assets/chunk-CYSBUYHQ-CbOq7Rc1.js +1 -0
- package/dist/client/assets/chunk-EMLP6XTP-BoneA0Uo.js +1 -0
- package/dist/client/assets/chunk-EX3LRPZG-DNVm3Wj1.js +231 -0
- package/dist/client/assets/chunk-FWX5IMBZ-Ch9_j2qF.js +2 -0
- package/dist/client/assets/chunk-HOUHSVGY-DX1huN9x.js +1 -0
- package/dist/client/assets/chunk-ICXQ74PX-DGYhuP6g.js +2 -0
- package/dist/client/assets/chunk-JG7HCLWE-Dk4_aECj.js +2 -0
- package/dist/client/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/client/assets/chunk-KEIR6QF5-Dj-OpFgW.js +161 -0
- package/dist/client/assets/chunk-MOJQB5TN-BEEcDvmL.js +88 -0
- package/dist/client/assets/chunk-MOZMSUNE-BgA8jCvb.js +1 -0
- package/dist/client/assets/chunk-OGEWGWER-Xh5bvoYs.js +1 -0
- package/dist/client/assets/chunk-OSBZ3O6U-CX9EQ5t2.js +1 -0
- package/dist/client/assets/chunk-PUDLZKDR-C-JwZaMh.js +156 -0
- package/dist/client/assets/{chunk-O5CBEL6O-BFgstMja.js → chunk-Q4XR5HBZ-Dyewsidf.js} +17 -17
- package/dist/client/assets/chunk-QBLGF6JB-C9zGMqvP.js +1 -0
- package/dist/client/assets/chunk-R7FJI6CG-BpBhcF6R.js +1 -0
- package/dist/client/assets/chunk-RYQCIY6F-Dtr3kkSR.js +1 -0
- package/dist/client/assets/chunk-SRAX5OIU-Bpn6XoyU.js +1 -0
- package/dist/client/assets/chunk-U6XO7XAA-CR0BSRFR.js +2 -0
- package/dist/client/assets/{chunk-727SXJPM-DNANnyAn.js → chunk-V7JOEXUC-Bo_5WqHt.js} +6 -6
- package/dist/client/assets/chunk-VAUOI2AC-EcvKeBKU.js +1 -0
- package/dist/client/assets/chunk-VR4S4FIN-uXjSaaA7.js +1 -0
- package/dist/client/assets/chunk-WYO6CB5R-HgTPu1OL.js +127 -0
- package/dist/client/assets/chunk-XXDRQBXY-Bq6zMMOx.js +1 -0
- package/dist/client/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/client/assets/chunk-YOTPTUD7-CjHV8V6f.js +1 -0
- package/dist/client/assets/{chunk-LOOWOR4L-C5BUwXgZ.js → chunk-Z24UKHUO-BQ6-bK37.js} +3 -3
- package/dist/client/assets/{chunk-Z5NKEFVG-GcpeeLo6.js → chunk-Z5NKEFVG-DC2Lcs-4.js} +7 -7
- package/dist/client/assets/chunk-ZGVPDNZ5-Bmet6b46.js +62 -0
- package/dist/client/assets/{chunk-XPW4576I-D5FnFhOk.js → chunk-ZIRB5QZD-C6fEPe3t.js} +2 -2
- package/dist/client/assets/classDiagram-OUVF2IWQ-vy5bnN3c.js +1 -0
- package/dist/client/assets/classDiagram-v2-EOCWNBFH-vy5bnN3c.js +1 -0
- package/dist/client/assets/clike-CVjTFI47.js +1 -0
- package/dist/client/assets/cobol-DHLQUbN7.js +1 -0
- package/dist/client/assets/controls-LYQrRFSF.css +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-ClqQrHIF.js +1 -0
- package/dist/client/assets/cs-CZ-EOMS3IHD-Bo0hDCLX.js +7 -0
- package/dist/client/assets/cynefin-VYW2F7L2-4m18BxUG.js +1 -0
- package/dist/client/assets/cynefinDiagram-TSTJHNR4-BNlZcGFF.js +62 -0
- package/dist/client/assets/cytoscape.esm-CQFVGiJu.js +321 -0
- package/dist/client/assets/da-DK-AVL3DJQK-s5-TpkxN.js +2 -0
- package/dist/client/assets/dagre-VKFMJZFB-CSQjHsP2.js +4 -0
- package/dist/client/assets/dagre-dpRSp0QF.js +1 -0
- package/dist/client/assets/de-CH-M25HCZK4-B0r4rx6B.js +7 -0
- package/dist/client/assets/de-DE-BEN6XGXY-B0r4rx6B.js +7 -0
- package/dist/client/assets/diagram-FQU43EPY-D0RPbiE5.js +3 -0
- package/dist/client/assets/diagram-G47NLZAW-XriksZQN.js +24 -0
- package/dist/client/assets/diagram-NH7WQ7WH-CaTayrXM.js +24 -0
- package/dist/client/assets/diagram-OA4YK3LP-ruJmRhl8.js +30 -0
- package/dist/client/assets/diagram-WEI45ONY-C18MNAQv.js +41 -0
- package/dist/client/assets/diagram-action-icons-aa_KOv9h.js +36 -0
- package/dist/client/assets/{dist-CJMPm6rd.js → dist-0x9D2TFD.js} +1 -1
- package/dist/client/assets/{dist-BsTc7qjG.js → dist-B0NFuQC3.js} +1 -1
- package/dist/client/assets/{dist-DSehUDUA.js → dist-BA633xb4.js} +1 -1
- package/dist/client/assets/{dist-D5hPoFa5.js → dist-BUxzPC-Q.js} +4 -4
- package/dist/client/assets/dist-Bx-T__Lj.js +1 -0
- package/dist/client/assets/dist-ByYtm-FJ.js +1 -0
- package/dist/client/assets/{dist-CAlqrzaF.js → dist-CCrwHjeP.js} +1 -1
- package/dist/client/assets/dist-CHJCI2AN.js +1 -0
- package/dist/client/assets/dist-CHokDUN_.js +1 -0
- package/dist/client/assets/dist-CI1X-CJ2.js +9 -0
- package/dist/client/assets/{dist-BOA6xeuH.js → dist-CPim1xdZ.js} +1 -1
- package/dist/client/assets/{dist-q3smPWAL.js → dist-CQTo4Y46.js} +1 -1
- package/dist/client/assets/{dist-wA96SVn6.js → dist-CZG184W2.js} +1 -1
- package/dist/client/assets/{dist-D5BVeoD4.js → dist-C__bPRpd.js} +1 -1
- package/dist/client/assets/{dist-BBsYBvEp.js → dist-Cd1BXkVC.js} +1 -1
- package/dist/client/assets/dist-CeEU6QwA.js +2 -0
- package/dist/client/assets/{dist-CDsAhnoa.js → dist-CzNyYE-S.js} +1 -1
- package/dist/client/assets/{dist-x4M0Qd0y.js → dist-D1W8XQvM.js} +1 -1
- package/dist/client/assets/{dist-CtHMYO6t.js → dist-D3Tmtejd.js} +1 -1
- package/dist/client/assets/{dist-Dv_PLWtE.js → dist-D4MWz_rC.js} +1 -1
- package/dist/client/assets/{dist-DCqHC6ts.js → dist-D7-13adP.js} +1 -1
- package/dist/client/assets/{dist-Bhn_Fiol.js → dist-DG2HpWvu.js} +1 -1
- package/dist/client/assets/dist-DUj7Xwud.js +13 -0
- package/dist/client/assets/{dist-DFzJ8okV.js → dist-DXTgEdvE.js} +1 -1
- package/dist/client/assets/{dist-U35xPXYU.js → dist-DnbVQL2z.js} +1 -1
- package/dist/client/assets/dist-QiKOmE2-.js +1 -0
- package/dist/client/assets/{dist-Dx8yU-RA.js → dist-YCtFk_v0.js} +1 -1
- package/dist/client/assets/dist-du6QqIs42.js +1 -0
- package/dist/client/assets/dist-gGmuzNio.js +1 -0
- package/dist/client/assets/dist-qx0Iv9vM.js +1 -0
- package/dist/client/assets/dist-snK6kYA_.js +1 -0
- package/dist/client/assets/{dockerfile-D8_6_FRV.js → dockerfile-BLkNEvjs.js} +1 -1
- package/dist/client/assets/drawio-editor-Z2u5UkLg.js +9 -0
- package/dist/client/assets/drawio-embed-controller-BtzURctK.js +1 -0
- package/dist/client/assets/drawio-room-yBUzk-vg.js +1 -0
- package/dist/client/assets/drawioEditor-B_kenUdu.js +2 -0
- package/dist/client/assets/ebnfDiagram-CCIWWBDH-exNgBUy6.js +1 -0
- package/dist/client/assets/editor-session-MbnP-AVK.js +16 -0
- package/dist/client/assets/el-GR-UBGIF2NW-DRoYAN8w.js +7 -0
- package/dist/client/assets/embedded-editor-base-DziW8fkY.css +1 -0
- package/dist/client/assets/{en-CMP6EMR6-Bfz_MnNa.js → en-PCJ7LJZ2-1SKiH5y3.js} +1 -1
- package/dist/client/assets/erDiagram-Q63AITRT-CoYS49kY.js +85 -0
- package/dist/client/assets/es-ES-SQEM5MNY-D5EtY06q.js +7 -0
- package/dist/client/assets/eu-ES-YG5N2JAG-CZ0xKIU4.js +7 -0
- package/dist/client/assets/eventmodeling-45OFAUF4-Dp0gpjhg.js +1 -0
- package/dist/client/assets/excalidraw-editor-CN3Wpa0D.css +1 -0
- package/dist/client/assets/{excalidraw-editor-DzL1T9D9.js → excalidraw-editor-kQEbzoXi.js} +4 -4
- package/dist/client/assets/excalidraw-embed-controller-BKx05cjZ.js +1 -0
- package/dist/client/assets/excalidraw-embed-reconciler-DGiagExg.js +1 -0
- package/dist/client/assets/{excalidraw-mermaid-stub-B5sWezsO.js → excalidraw-mermaid-stub-DE5FTiZB.js} +1 -1
- package/dist/client/assets/excalidraw-scene-qiXFUZvq.js +176 -0
- package/dist/client/assets/excalidrawEditor-fUB8lhQG.js +2 -0
- package/dist/client/assets/{export-page-BkCqT_2s.js → export-page-CbIrJ_oK.js} +4 -4
- package/dist/client/assets/exportDocument-DdfKM4AY.js +2 -0
- package/dist/client/assets/exportDocument-cl8dlTx1.css +1 -0
- package/dist/client/assets/fa-IR-EVNM7MAJ-olht-LEH.js +9 -0
- package/dist/client/assets/{factor-Cz-hzBGH.js → factor-D7LVTn2l.js} +1 -1
- package/dist/client/assets/fi-FI-MW7ZEZ64-D1PIXbLy.js +6 -0
- package/dist/client/assets/file-history-view-controller-CK3oHDCT.js +112 -0
- package/dist/client/assets/flowDiagram-23GEKE2U-DgaZtMXJ.js +1 -0
- package/dist/client/assets/fr-FR-Q7ZPXBDE-B0DjjyfT.js +12 -0
- package/dist/client/assets/ganttDiagram-NO4QXBWP-DaBgmYw5.js +292 -0
- package/dist/client/assets/git-diff-view-controller-qorJ_Quo.js +150 -0
- package/dist/client/assets/git-panel-controller-CzgJWqbB.js +207 -0
- package/dist/client/assets/gitGraph-TEB2WS4Q-Do0SQOtM.js +1 -0
- package/dist/client/assets/gitGraphDiagram-IHSO6WYX-x3NetpXU.js +106 -0
- package/dist/client/assets/gl-ES-O5B74VQL-DH5u_ADp.js +6 -0
- package/dist/client/assets/{graphlib-Dduz6oB8.js → graphlib-DS17s2tU.js} +1 -1
- package/dist/client/assets/{haxe-CcPA1xnA.js → haxe-DjVOVvNP.js} +1 -1
- package/dist/client/assets/he-IL-QGC2WXJA-BSBR1RcG.js +8 -0
- package/dist/client/assets/hi-IN-DEZ33NMQ-CorD0_d0.js +3 -0
- package/dist/client/assets/hu-HU-2ZPNVYSC-BlqNXhNG.js +3 -0
- package/dist/client/assets/id-ID-W65WM5EO-SkLgeJLx.js +8 -0
- package/dist/client/assets/image-QEDDDPDB-DtzL4Wgr.js +1 -0
- package/dist/client/assets/{image-blob-reduce.esm-CRyv8pnU.js → image-blob-reduce.esm-DLFdRAwc.js} +1 -1
- package/dist/client/assets/index-Burthu48.js +2 -0
- package/dist/client/assets/index-CYVmRVJX.css +1 -0
- package/dist/client/assets/info-DKCQHKI2-DIc7uC4I.js +1 -0
- package/dist/client/assets/infoDiagram-FWYZ7A6U-DyfGrH8z.js +2 -0
- package/dist/client/assets/input-CXk9Zxz9.js +1 -0
- package/dist/client/assets/{ishikawaDiagram-YF4QCWOH-BPqURwBR.js → ishikawaDiagram-FXEZZL3T-BOts527_.js} +2 -2
- package/dist/client/assets/it-IT-GAWJM2XW-CDZugsE0.js +12 -0
- package/dist/client/assets/ja-JP-FOAUPTH5-DkKXnwj8.js +12 -0
- package/dist/client/assets/{javascript-gTK9fxz6.js → javascript-B9TABJff.js} +1 -1
- package/dist/client/assets/javascript-BRzqD9BA.js +1 -0
- package/dist/client/assets/{journeyDiagram-JHISSGLW-CvxY2Fte.js → journeyDiagram-5HDEW3XC-DF37OVrZ.js} +3 -3
- package/dist/client/assets/jsx-runtime-DKdBMi_L.js +1 -0
- package/dist/client/assets/kaa-UEDB54S7-C0Sv0drM.js +1 -0
- package/dist/client/assets/kab-KAB-CTLMBVE3-QfxUgzL5.js +4 -0
- package/dist/client/assets/{kanban-definition-UN3LZRKU-Ex7702dO.js → kanban-definition-HUTT4EX6-nCjbm1T6.js} +24 -24
- package/dist/client/assets/katex-B7rAX3Vi.js +257 -0
- package/dist/client/assets/keyboard-shortcuts-CLixkZxp.css +1 -0
- package/dist/client/assets/keyboard-shortcuts-CLyuDeFZ.js +1 -0
- package/dist/client/assets/kk-KZ-XZK63ADD-CMZObxxP.js +1 -0
- package/dist/client/assets/km-KH-PBSJLZ2M-Bh1DsarT.js +7 -0
- package/dist/client/assets/ko-KR-YNTPN6WQ-DPBaHnwT.js +5 -0
- package/dist/client/assets/ku-TR-XUD5BUEU-75pMUQoD.js +6 -0
- package/dist/client/assets/{line-DRJILpPI.js → line-h44YiLOQ.js} +1 -1
- package/dist/client/assets/{linear-rFRiXd2u.js → linear-DhAcoVP9.js} +1 -1
- package/dist/client/assets/lt-LT-LYCDYH7O-BeKUsKuy.js +3 -0
- package/dist/client/assets/lv-LV-7ROPDEEI-CrA6QOtq.js +4 -0
- package/dist/client/assets/main-DdqVKzQ4.js +813 -0
- package/dist/client/assets/map-BaFkSB1l.js +1 -0
- package/dist/client/assets/mermaid-parser.core-ygm3cZ_w.js +4 -0
- package/dist/client/assets/mermaid-runtime-2fJoRo49.js +11 -0
- package/dist/client/assets/{mindmap-definition-RKZ34NQL-D4pwLdMH.js → mindmap-definition-LN4V7U3C-CTpHMYFE.js} +8 -8
- package/dist/client/assets/mr-IN-TU6BXRKP-mIvXG0bt.js +9 -0
- package/dist/client/assets/my-MM-SJ3RWIEQ-CeEN5n4z.js +1 -0
- package/dist/client/assets/navigation-ChYBdSlq.css +1 -0
- package/dist/client/assets/nb-NO-GONF2AKR-IChp6OiI.js +8 -0
- package/dist/client/assets/nl-NL-UZF6UEKB-DfPPXXjo.js +13 -0
- package/dist/client/assets/nn-NO-ZVFRXEEO-BtpjNSGp.js +4 -0
- package/dist/client/assets/{nsis-QPGhLAeY.js → nsis-AQ_alPln.js} +1 -1
- package/dist/client/assets/oc-FR-MBF2Z56W-CBl14QBM.js +4 -0
- package/dist/client/assets/{ordinal-De-qfORd.js → ordinal-hYBb2elL.js} +1 -1
- package/dist/client/assets/pa-IN-3JCDVKKL-D95A1XFb.js +4 -0
- package/dist/client/assets/packet-7NZHBO7P-D2duWGIK.js +1 -0
- package/dist/client/assets/pegDiagram-2B236MQR-Bq9qITsk.js +1 -0
- package/dist/client/assets/percentages-WBIPKLEE-bhlTAhiB.js +1 -0
- package/dist/client/assets/pica-D0pwGKw7.js +2 -0
- package/dist/client/assets/pie-RZYD4A2V-CynqTUkZ.js +1 -0
- package/dist/client/assets/pieDiagram-ENE6RG2P--ax2FUc8.js +39 -0
- package/dist/client/assets/pl-PL-EERMMCTN-dIzrbxJt.js +12 -0
- package/dist/client/assets/preload-helper-HclGiUj8.js +1 -0
- package/dist/client/assets/preview-diagram-utils-BPaXsmlV.js +1 -0
- package/dist/client/assets/preview-render-compiler-C8wbmTyE.js +1 -0
- package/dist/client/assets/preview-render-compiler-CrQBxqqa.js +35 -0
- package/dist/client/assets/preview-render-profile-C89_PyT3.js +23 -0
- package/dist/client/assets/preview-render-worker-D84F1vpn.js +59 -0
- package/dist/client/assets/pt-BR-W4AF5QMX-DIJs8D4M.js +6 -0
- package/dist/client/assets/pt-PT-GNPUWAHX-BopN284Y.js +8 -0
- package/dist/client/assets/{pug-lkTEco3G.js → pug-Ck0YjsGM.js} +1 -1
- package/dist/client/assets/python-2zlmcyof.js +1 -0
- package/dist/client/assets/{quadrantDiagram-W4KKPZXB-CD77Rny0.js → quadrantDiagram-ABIIQ3AL-f0PUv7DH.js} +6 -6
- package/dist/client/assets/{quick-switcher-controller-CVJBt6V9.js → quick-switcher-controller-CVRUPEKp.js} +1 -1
- package/dist/client/assets/radar-I7S5WNFK-fIKE12aT.js +1 -0
- package/dist/client/assets/railroad-3IZDKUUU-Bgx8HJTj.js +1 -0
- package/dist/client/assets/railroad-abnf-AHOZXSZD-Nh6k60mH.js +1 -0
- package/dist/client/assets/railroad-ebnf-EBAXGLYW-C74h3s_I.js +1 -0
- package/dist/client/assets/railroad-peg-LSFZ7HO6-0hT-lN-u.js +1 -0
- package/dist/client/assets/railroadDiagram-RFXS5EU6-CZD_9g-4.js +1 -0
- package/dist/client/assets/react-lCSYwAWP.js +1 -0
- package/dist/client/assets/{requirementDiagram-4Y6WPE33-DdKM6ZWI.js → requirementDiagram-TGXJPOKE-C4Jwr3TE.js} +7 -7
- package/dist/client/assets/ro-RO-DXHP33S5-PGxfl-ng.js +12 -0
- package/dist/client/assets/{room-Cha55fQg.js → room-BhC-3iml.js} +1 -1
- package/dist/client/assets/ru-RU-TTW2P7NF-Dwnn0sc5.js +10 -0
- package/dist/client/assets/runtime-config-CDgeuPWN.js +1 -0
- package/dist/client/assets/runtime-paths-DvpihCEq.js +1 -0
- package/dist/client/assets/{sankeyDiagram-5OEKKPKP-BH3_LNkI.js → sankeyDiagram-HTMAVEWB-B2B2mdB6.js} +2 -2
- package/dist/client/assets/scheme-tChLYBuY.js +1 -0
- package/dist/client/assets/segmented-control-DhUkW6ro.js +1 -0
- package/dist/client/assets/sequenceDiagram-DBY2YBRQ-DonUqDnp.js +162 -0
- package/dist/client/assets/si-LK-BE6O7LVF-QO9nybVB.js +1 -0
- package/dist/client/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +1 -0
- package/dist/client/assets/sk-SK-OI3KJLWQ-BAKIEIig.js +7 -0
- package/dist/client/assets/sl-SI-HF74RBGV-CnS5z7V_.js +6 -0
- package/dist/client/assets/src-UMNXGZaF.js +1 -0
- package/dist/client/assets/stateDiagram-2N3HPSRC-B1niwAq-.js +1 -0
- package/dist/client/assets/stateDiagram-v2-6OUMAXLB-C4YrlXQg.js +1 -0
- package/dist/client/assets/states-DYMshUe2.css +1 -0
- package/dist/client/assets/subset-shared.chunk-D3olxosN.js +1 -0
- package/dist/client/assets/{subset-worker.chunk-BW_EF59g.js → subset-worker.chunk-Cuw2UvhD.js} +1 -1
- package/dist/client/assets/sv-SE-TXR2SQGA-CNgv7xeJ.js +8 -0
- package/dist/client/assets/swimlanes-5IMT3BWC-DP1GREXh.js +2 -0
- package/dist/client/assets/swimlanesDiagram-G3AALYLV-CN_iOXin.js +8 -0
- package/dist/client/assets/ta-IN-Y2DOZGBR-DYzsfax7.js +6 -0
- package/dist/client/assets/textile-CyzeGT9J.js +1 -0
- package/dist/client/assets/th-TH-JUAISFQR-BAZHUCM7.js +1 -0
- package/dist/client/assets/timeline-definition-FHXFAJF6-C-QK9sME.js +120 -0
- package/dist/client/assets/tr-TR-U3HGKQXH-DTYupb_4.js +4 -0
- package/dist/client/assets/treeView-QDETBFTQ-CygwzEgj.js +1 -0
- package/dist/client/assets/treemap-6X3UGDF4-BbCXbaXr.js +1 -0
- package/dist/client/assets/turtle-Cx3rYX2g.js +1 -0
- package/dist/client/assets/uk-UA-FP2TKAFK-Bcxd6wgd.js +6 -0
- package/dist/client/assets/uz-UZ-WY5QKWXJ-B5N6xPud.js +1 -0
- package/dist/client/assets/vault-api-client-BPVNCJZC.js +1 -0
- package/dist/client/assets/vault-api-client-VAfZ8okg.js +1 -0
- package/dist/client/assets/{vault-utils-BbJUHPCf.js → vault-utils-kIbqyWPm.js} +1 -1
- package/dist/client/assets/vennDiagram-L72KCM5P-DPQ9kbN2.js +34 -0
- package/dist/client/assets/{verilog-DSARZZPc.js → verilog-BKSQ5RMB.js} +1 -1
- package/dist/client/assets/vhdl-CBDDcIJ_.js +1 -0
- package/dist/client/assets/vi-VN-DE5I4H6K-BdlcTH5l.js +7 -0
- package/dist/client/assets/wardley-OPB4EBWU-BjXxCRf_.js +1 -0
- package/dist/client/assets/{wardleyDiagram-YWT4CUSO-EdTzLQiR.js → wardleyDiagram-EHGQE667-5VW6_Csg.js} +3 -3
- package/dist/client/assets/{xquery-CEDTd8qs.js → xquery-Cda5K8Gy.js} +1 -1
- package/dist/client/assets/xychartDiagram-FW5EYKEG-Bj0UwltS.js +7 -0
- package/dist/client/assets/{yjs-provider-reset-guard-CNmMf4Qd.js → yjs-provider-reset-guard-DSfwdXS9.js} +2 -2
- package/dist/client/assets/zh-CN-VWHOHS7G-b12eD2L4.js +11 -0
- package/dist/client/assets/zh-HK-KQF7FW7H-Bvr6xExo.js +1 -0
- package/dist/client/assets/zh-TW-6VHVWZKW-B-KCOPyt.js +13 -0
- package/dist/client/drawio-editor.html +3 -3
- package/dist/client/excalidraw-editor.html +3 -3
- package/dist/client/export-document.html +5 -5
- package/dist/client/index.html +5 -5
- package/package.json +25 -25
- package/src/client/application/app-shell/chat-feature.js +2 -2
- package/src/client/application/app-shell/comments-feature.js +108 -0
- package/src/client/application/app-shell/git-feature.js +6 -1
- package/src/client/application/app-shell/presence-feature.js +4 -1
- package/src/client/application/app-shell/ui-feature-shell.js +11 -4
- package/src/client/application/app-shell/ui-feature-sidebar.js +22 -4
- package/src/client/application/app-shell-elements.js +3 -0
- package/src/client/application/diagram-chrome.js +708 -0
- package/src/client/application/markdown-frontmatter.js +2 -2
- package/src/client/application/mermaid-preview-hydrator.js +30 -528
- package/src/client/application/plantuml-preview-hydrator.js +22 -518
- package/src/client/application/preview-renderer.js +15 -4
- package/src/client/application/workspace-route-controller.js +11 -1
- package/src/client/bootstrap/app-shell-feature-surface.js +67 -0
- package/src/client/bootstrap/collabmd-app-shell.js +111 -356
- package/src/client/bootstrap/lazy-controller-feature.js +434 -0
- package/src/client/infrastructure/vault-api-client.js +5 -0
- package/src/client/presentation/app-shell-template.js +64 -27
- package/src/client/presentation/bases-preview-controller.js +33 -16
- package/src/client/presentation/comment-overview-controller.js +263 -0
- package/src/client/presentation/comment-ui/comment-ui-state.js +23 -0
- package/src/client/presentation/file-explorer-controller.js +9 -0
- package/src/client/presentation/file-explorer-view.js +11 -1
- package/src/client/presentation/git-panel-controller.js +5 -1
- package/src/client/presentation/outline-controller.js +4 -0
- package/src/client/styles/components/feedback.css +4 -4
- package/src/client/styles/components/navigation.css +50 -11
- package/src/client/styles/components/scrollbars.css +5 -0
- package/src/client/styles/components/states.css +39 -1
- package/src/client/styles/components/surfaces.css +5 -2
- package/src/client/styles/features/auth-gate.css +5 -5
- package/src/client/styles/features/backlinks.css +12 -12
- package/src/client/styles/features/collaboration-chat.css +7 -8
- package/src/client/styles/features/collaboration-dialogs.css +6 -5
- package/src/client/styles/features/collaboration-presence.css +7 -7
- package/src/client/styles/features/comment-card.css +12 -10
- package/src/client/styles/features/comment-overview.css +193 -0
- package/src/client/styles/features/comments-drawer.css +14 -18
- package/src/client/styles/features/comments.css +1 -0
- package/src/client/styles/features/diagram-preview.css +4 -4
- package/src/client/styles/features/diff-commit.css +15 -16
- package/src/client/styles/features/diff-toolbar.css +4 -5
- package/src/client/styles/features/git-branch.css +1 -1
- package/src/client/styles/features/git-files.css +2 -2
- package/src/client/styles/features/git-history.css +23 -26
- package/src/client/styles/features/media-lightbox.css +5 -5
- package/src/client/styles/features/outline.css +13 -2
- package/src/client/styles/features/quick-switcher.css +77 -20
- package/src/client/styles/foundation/themes.css +79 -78
- package/src/client/styles/foundation/tokens.css +5 -4
- package/src/client/styles/layout/editor-page.css +49 -16
- package/src/client/styles/layout/overlays.css +2 -2
- package/src/client/styles/layout/responsive.css +25 -6
- package/src/client/styles/layout/shell.css +5 -5
- package/src/client/styles/layout/sidebar.css +34 -13
- package/src/client/styles/layout/view-modes.css +1 -1
- package/src/client/styles/primitives/controls.css +17 -9
- package/src/domain/yaml-frontmatter.js +2 -3
- package/src/server/application/workspace-reconciliation.js +446 -0
- package/src/server/config/env.js +73 -0
- package/src/server/create-app-server.js +39 -32
- package/src/server/domain/bases/base-definition.js +12 -3
- package/src/server/domain/bases/base-expression-runtime.js +183 -147
- package/src/server/domain/bases/base-index-snapshot-store.js +53 -2
- package/src/server/domain/bases/base-query-service.js +55 -38
- package/src/server/domain/bases/base-transform.js +4 -3
- package/src/server/domain/collaboration/collaboration-document-store.js +6 -2
- package/src/server/domain/collaboration/collaboration-room.js +66 -2
- package/src/server/domain/comment-overview.js +108 -0
- package/src/server/domain/hosted-workspace-contract.js +18 -0
- package/src/server/domain/hosted-workspace.js +744 -0
- package/src/server/domain/workspace-state.js +848 -2
- package/src/server/infrastructure/github/github-app-client.js +205 -0
- package/src/server/infrastructure/github/github-setup-flow.js +86 -0
- package/src/server/infrastructure/http/create-git-api-command-handler.js +1 -1
- package/src/server/infrastructure/http/create-hosted-api-handler.js +200 -0
- package/src/server/infrastructure/http/create-request-handler.js +20 -0
- package/src/server/infrastructure/http/create-static-handler.js +4 -0
- package/src/server/infrastructure/http/create-vault-api-command-handler.js +44 -119
- package/src/server/infrastructure/http/create-vault-api-query-handler.js +18 -33
- package/src/server/infrastructure/http/request-body.js +12 -2
- package/src/server/infrastructure/persistence/hosted-metadata-store.js +500 -0
- package/src/server/infrastructure/persistence/sidecar-store.js +53 -2
- package/src/server/infrastructure/persistence/vault-content-adapter.js +8 -8
- package/src/server/infrastructure/persistence/vault-file-store.js +64 -135
- package/src/server/infrastructure/websocket/attach-collaboration-gateway.js +49 -5
- package/src/server/infrastructure/workspace/file-system-sync-service.js +24 -411
- package/src/server/infrastructure/workspace/workspace-mutation-coordinator.js +13 -621
- package/src/server/infrastructure/workspace/workspace-state-file-system-adapter.js +37 -0
- package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-CjJV4GGp.js +0 -1
- package/dist/client/assets/ar-SA-NXDWD63E-BfWwfLiP.js +0 -8
- package/dist/client/assets/architecture-7EHR7CIX-M1SFnuBJ.js +0 -1
- package/dist/client/assets/architectureDiagram-3BPJPVTR-Cs4u0ty-.js +0 -36
- package/dist/client/assets/az-AZ-MXSORGZV-D3w9H6nC.js +0 -1
- package/dist/client/assets/bg-BG-O6MV2KSF-CqITeIE6.js +0 -5
- package/dist/client/assets/blockDiagram-GPEHLZMM-C4RLg7wo.js +0 -132
- package/dist/client/assets/bn-BD-T2VJNT7N-DRxwOMG_.js +0 -3
- package/dist/client/assets/bn-IN-MMW2ORAC-BZcsVFhS.js +0 -3
- package/dist/client/assets/ca-ES-MKBCGNOG-D2cujUJ7.js +0 -8
- package/dist/client/assets/channel-E9SBQ9z6.js +0 -1
- package/dist/client/assets/chunk-2J33WTMH-Beqll06X.js +0 -1
- package/dist/client/assets/chunk-3OPIFGDE-Kf30X6bZ.js +0 -62
- package/dist/client/assets/chunk-3PELD44J-DymL2rGq.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-BVNkn9EH.js +0 -1
- package/dist/client/assets/chunk-4EGX6M5U-6L36_8q8.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-CaPPZbdp.js +0 -1
- package/dist/client/assets/chunk-5DO6E6H7-BpgUf0HE.js +0 -1
- package/dist/client/assets/chunk-5ZQYHXKU-BJyABJSy.js +0 -2
- package/dist/client/assets/chunk-A66AFZZU-BFHL744F.js +0 -7
- package/dist/client/assets/chunk-AQP2D5EJ-D-ou9vaq.js +0 -231
- package/dist/client/assets/chunk-BR22UD5L-CHoFxkAQ.js +0 -1
- package/dist/client/assets/chunk-BSJP7CBP-AmT6zI00.js +0 -1
- package/dist/client/assets/chunk-CSCIHK7Q-BIoF4mTy.js +0 -123
- package/dist/client/assets/chunk-FHYWG6QK-qLbgayZT.js +0 -1
- package/dist/client/assets/chunk-KSCS5N6A-DSHzBB4H.js +0 -10
- package/dist/client/assets/chunk-L5ZTLDWV-Ca0loQr2.js +0 -1
- package/dist/client/assets/chunk-LZXEDZCA-D4QboL2E.js +0 -2
- package/dist/client/assets/chunk-MPE355IW-BGGMthoR.js +0 -1
- package/dist/client/assets/chunk-MZUSXYTE-CXyCvcyW.js +0 -1
- package/dist/client/assets/chunk-ND2GUHAM-3Xs0Awks.js +0 -1
- package/dist/client/assets/chunk-NNHCCRGN--8l6bbR-.js +0 -159
- package/dist/client/assets/chunk-NZK2D7GU-w2jXiKa6.js +0 -1
- package/dist/client/assets/chunk-PUPMXCY4-JvkUXyIj.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-9NMPSwDX.js +0 -1
- package/dist/client/assets/chunk-SRAX5OIU-C_UPA-vt.js +0 -1
- package/dist/client/assets/chunk-UIBZB4QT-B4OybPy_.js +0 -1
- package/dist/client/assets/chunk-WCWK7LTN-BOL8a2ua.js +0 -1
- package/dist/client/assets/chunk-WMDFGAFD-EzVSth95.js +0 -35
- package/dist/client/assets/chunk-WU5MYG2G-Bl8VQmZH.js +0 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK-D7YhYDLZ.js +0 -1
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-COI4atGv.js +0 -1
- package/dist/client/assets/clike-BFTLRaGS.js +0 -1
- package/dist/client/assets/cobol-DP4QggbL.js +0 -1
- package/dist/client/assets/controls-CLpueX2m.css +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-Cx3Qt7pR.js +0 -1
- package/dist/client/assets/cs-CZ-V77HGUP7-BXqhmWZb.js +0 -7
- package/dist/client/assets/cytoscape.esm-B_ygTtvl.js +0 -321
- package/dist/client/assets/da-DK-I5RFNTM4-raD_lQnT.js +0 -2
- package/dist/client/assets/dagre-BM42HDAG-BpURvxT4.js +0 -4
- package/dist/client/assets/dagre-BcZLxzJJ.js +0 -1
- package/dist/client/assets/de-CH-WLRDEVBV-CyNG_YAO.js +0 -7
- package/dist/client/assets/de-DE-DTI4WUSC-BAnqlByT.js +0 -7
- package/dist/client/assets/diagram-2AECGRRQ-DJH0JVlq.js +0 -43
- package/dist/client/assets/diagram-5GNKFQAL-DQG4Q1eS.js +0 -10
- package/dist/client/assets/diagram-KO2AKTUF-hx21Lv-5.js +0 -3
- package/dist/client/assets/diagram-LMA3HP47--QODJMa9.js +0 -24
- package/dist/client/assets/diagram-OG6HWLK6-CB30hX1a.js +0 -24
- package/dist/client/assets/dist-6oqNX0NJ.js +0 -1
- package/dist/client/assets/dist-B0U2pnHE.js +0 -1
- package/dist/client/assets/dist-B1BRR2vO.js +0 -1
- package/dist/client/assets/dist-B48_21rM.js +0 -1
- package/dist/client/assets/dist-BNDWUlMx.js +0 -9
- package/dist/client/assets/dist-BQuic6-d.js +0 -1
- package/dist/client/assets/dist-BoCYrsTA.js +0 -1
- package/dist/client/assets/dist-C-W89K9S.js +0 -1
- package/dist/client/assets/dist-CBTadfRi2.js +0 -1
- package/dist/client/assets/dist-D4DGyOvV.js +0 -1
- package/dist/client/assets/dist-UnjH15yg.js +0 -13
- package/dist/client/assets/dist-ihRjPW1T.js +0 -2
- package/dist/client/assets/drawio-editor-BHYoSlR7.js +0 -9
- package/dist/client/assets/drawio-room-DrZ-gy4N.js +0 -1
- package/dist/client/assets/drawioEditor-B-Ssnq_p.js +0 -2
- package/dist/client/assets/editor-session-BTPe8PEu.js +0 -16
- package/dist/client/assets/el-GR-ZXDJ2OS4-De6xlnXD.js +0 -7
- package/dist/client/assets/embedded-editor-base-Bb8ywn1e.css +0 -1
- package/dist/client/assets/erDiagram-TEJ5UH35-BvMeaml9.js +0 -85
- package/dist/client/assets/es-ES-DYQHAD43-EVQAeFTZ.js +0 -7
- package/dist/client/assets/eu-ES-QDSYU5Y3-O5XEQp0x.js +0 -7
- package/dist/client/assets/eventmodeling-FCH6USID-DKkN-EFL.js +0 -1
- package/dist/client/assets/excalidraw-editor-mKBCIvNR.css +0 -1
- package/dist/client/assets/excalidraw-scene-i7oBzgH8.js +0 -176
- package/dist/client/assets/excalidrawEditor-DRxzpbJ-.js +0 -2
- package/dist/client/assets/exportDocument-BAqaHlIn.css +0 -1
- package/dist/client/assets/exportDocument-Dj7w1hDJ.js +0 -2
- package/dist/client/assets/fa-IR-26LZG4PM-BlqI3v_N.js +0 -9
- package/dist/client/assets/fi-FI-6YS4KDE4-af5Lkv-j.js +0 -6
- package/dist/client/assets/flowDiagram-I6XJVG4X-DgXXcK8y.js +0 -162
- package/dist/client/assets/fr-FR-BRLLPTZC-CwQyur9E.js +0 -12
- package/dist/client/assets/ganttDiagram-6RSMTGT7-BMpbo3vT.js +0 -292
- package/dist/client/assets/gitGraph-WXDBUCRP-BIQYiPEj.js +0 -1
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-CCdpTNJZ.js +0 -106
- package/dist/client/assets/gl-ES-OKUZTLYG-BNEoLCI4.js +0 -6
- package/dist/client/assets/he-IL-26MGYIU7-WnVF9HP3.js +0 -8
- package/dist/client/assets/hi-IN-Q4ZOGTP2-DcU7ec07.js +0 -3
- package/dist/client/assets/hu-HU-P2OXPSN5-wmJyK1Wq.js +0 -3
- package/dist/client/assets/id-ID-2EIKXYN6-BTvn0aFf.js +0 -8
- package/dist/client/assets/image-KGGK4BDN-BtStV6c9.js +0 -1
- package/dist/client/assets/index-Cnyy977t.css +0 -1
- package/dist/client/assets/index-DxQmPZ_f.js +0 -2
- package/dist/client/assets/info-J43DQDTF-CO2Z2J7J.js +0 -1
- package/dist/client/assets/infoDiagram-5YYISTIA-oYw2qnNY.js +0 -2
- package/dist/client/assets/it-IT-4CFKVXI2-CC_iQxXu.js +0 -12
- package/dist/client/assets/ja-JP-MAND2Z4V-ConJI8GA.js +0 -7
- package/dist/client/assets/javascript-qUBHINSy.js +0 -1
- package/dist/client/assets/jsx-runtime-IB1e1gmy.js +0 -1
- package/dist/client/assets/kaa-HQRTCXTJ-Caqwh_Qr.js +0 -1
- package/dist/client/assets/kab-KAB-JKIKKTGH-DQBmYNc9.js +0 -4
- package/dist/client/assets/katex-Beiidjxi.js +0 -261
- package/dist/client/assets/kk-KZ-HXQ63ZFC-O5qp74q-.js +0 -1
- package/dist/client/assets/km-KH-PKL3LSGX-2wUYTyyo.js +0 -7
- package/dist/client/assets/ko-KR-KXLREZX3-CYtUnW5t.js +0 -5
- package/dist/client/assets/ku-TR-MJ4IER3X-DtEKOAU3.js +0 -6
- package/dist/client/assets/lt-LT-H6WFQ6FJ-Cs17Ppdf.js +0 -3
- package/dist/client/assets/lv-LV-GOCK6SJW-DYuTyosz.js +0 -4
- package/dist/client/assets/main-iuYcGt-A.js +0 -1414
- package/dist/client/assets/mermaid-parser.core-BD_OCbyj.js +0 -4
- package/dist/client/assets/mermaid-runtime-CEgpdpwB.js +0 -9
- package/dist/client/assets/mr-IN-IXVLDMEQ-CIJFnklt.js +0 -9
- package/dist/client/assets/my-MM-YG6MYTTD-em_7TGWX.js +0 -1
- package/dist/client/assets/navigation-Du6CLhvs.css +0 -1
- package/dist/client/assets/nb-NO-XGWJISD2-BLNgPVDj.js +0 -8
- package/dist/client/assets/nl-NL-XVDVCPNC-CComxzvg.js +0 -13
- package/dist/client/assets/nn-NO-EMX5MJX5-Cekj8s_-.js +0 -4
- package/dist/client/assets/oc-FR-ROEINTVO-DW-kHJ81.js +0 -4
- package/dist/client/assets/pa-IN-ZYN6SUDY-CnhULOGp.js +0 -4
- package/dist/client/assets/packet-YPE3B663-VxGcYggl.js +0 -1
- package/dist/client/assets/percentages-5DKR754L-Ug3UfchV.js +0 -1
- package/dist/client/assets/pica-DcQ1xKp1.js +0 -2
- package/dist/client/assets/pie-LRSECV5Y-7RrvmmEk.js +0 -1
- package/dist/client/assets/pieDiagram-4H26LBE5-C6MCExtR.js +0 -30
- package/dist/client/assets/pl-PL-6VTG7PHC-C9rBsz9v.js +0 -12
- package/dist/client/assets/preload-helper-Bo9GmnuQ.js +0 -1
- package/dist/client/assets/preview-diagram-utils-D94KrSQH.js +0 -1
- package/dist/client/assets/preview-render-compiler-CSggyCbw.js +0 -35
- package/dist/client/assets/preview-render-compiler-TPMesM_L.js +0 -1
- package/dist/client/assets/preview-render-profile-CQR0o67h.js +0 -23
- package/dist/client/assets/preview-render-worker-CifbXdlx.js +0 -59
- package/dist/client/assets/pt-BR-5YFKRR5G-BVyxOCjg.js +0 -6
- package/dist/client/assets/pt-PT-GEIXXZ67-5CbVaVay.js +0 -8
- package/dist/client/assets/python-BUyhM0Ew.js +0 -1
- package/dist/client/assets/radar-GUYGQ44K-2SBnfFng.js +0 -1
- package/dist/client/assets/ro-RO-E2P6TFZI-DANwkfep.js +0 -12
- package/dist/client/assets/ru-RU-YBIIY43T-BWZSxhA5.js +0 -10
- package/dist/client/assets/runtime-config-CM_2pVYD.js +0 -1
- package/dist/client/assets/scheme-C3elI80V.js +0 -1
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-CCGL7FMW.js +0 -162
- package/dist/client/assets/si-LK-673C2CI2-Bqr808AJ.js +0 -1
- package/dist/client/assets/sk-SK-CKZHQ4AP-B2PvXXeU.js +0 -7
- package/dist/client/assets/sl-SI-557H2GWM-IPVDhzgb.js +0 -6
- package/dist/client/assets/src-BshjqEL2.js +0 -1
- package/dist/client/assets/stateDiagram-AJRCARHV-ljJcYRX4.js +0 -1
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-DXm0ynOB.js +0 -1
- package/dist/client/assets/states-P2LsGDDn.css +0 -1
- package/dist/client/assets/subset-shared.chunk-C9mEHUfV.js +0 -1
- package/dist/client/assets/sv-SE-XOPKKDWS-CQipq9Nf.js +0 -8
- package/dist/client/assets/ta-IN-XBH7DQI3-Cj2o89vS.js +0 -6
- package/dist/client/assets/textile-C48beRus.js +0 -1
- package/dist/client/assets/th-TH-TOCWH3R4-IOX-l13w.js +0 -1
- package/dist/client/assets/timeline-definition-PNZ67QCA-CUVPem2o.js +0 -120
- package/dist/client/assets/tr-TR-GXW6CYY5-DBVLEsZg.js +0 -4
- package/dist/client/assets/treeView-BLDUP644-DItqHrxu.js +0 -1
- package/dist/client/assets/treemap-LRROVOQU-DD1ESKp7.js +0 -1
- package/dist/client/assets/turtle-BkP3ExOG.js +0 -1
- package/dist/client/assets/uk-UA-IJKTNUDG-C5kaymku.js +0 -6
- package/dist/client/assets/uz-UZ-TBZZEA4V-lMna4tx1.js +0 -1
- package/dist/client/assets/vault-api-client-D7Ck0CvR.css +0 -1
- package/dist/client/assets/vault-api-client-Fa51l2lE.js +0 -1
- package/dist/client/assets/vennDiagram-CIIHVFJN-Bb1KSPKA.js +0 -34
- package/dist/client/assets/vhdl-CnYyYTpa.js +0 -1
- package/dist/client/assets/vi-VN-MULSGNVB-BAcoCjsz.js +0 -7
- package/dist/client/assets/wardley-L42UT6IY-BoSI-SvR.js +0 -1
- package/dist/client/assets/xychartDiagram-2RQKCTM6-BoQFrGlt.js +0 -7
- package/dist/client/assets/zh-CN-MVX3E32U-sW-DCFHP.js +0 -11
- package/dist/client/assets/zh-HK-JNU5RLIE-Duqu8EG_.js +0 -1
- package/dist/client/assets/zh-TW-LENVCA6T-BHC0OLnd.js +0 -9
- /package/dist/client/assets/{array-7rJMcyYQ.js → array-BifhSqXX.js} +0 -0
- /package/dist/client/assets/{asciiarmor-DHW75j1s.js → asciiarmor-qTkVPQu6.js} +0 -0
- /package/dist/client/assets/{asn1-CQiG40kG.js → asn1-Dr8qZg38.js} +0 -0
- /package/dist/client/assets/{asterisk-BWExh0n4.js → asterisk-Bja0s6e1.js} +0 -0
- /package/dist/client/assets/{base-h1uscjTi.js → base-CxPEiHuy.js} +0 -0
- /package/dist/client/assets/{brainfuck-CTNFyOLg.js → brainfuck-D5EjA2JK.js} +0 -0
- /package/dist/client/assets/{clojure-D-DYVqu7.js → clojure-BflJGmDX.js} +0 -0
- /package/dist/client/assets/{cmake-DtGL-Unu.js → cmake-CyVbuzPu.js} +0 -0
- /package/dist/client/assets/{coffeescript-B7GZajzV.js → coffeescript-B2pKbFk8.js} +0 -0
- /package/dist/client/assets/{commonlisp-COlJYiQT.js → commonlisp-CcllspGY.js} +0 -0
- /package/dist/client/assets/{crystal-I_dE9xG-.js → crystal-M5-qzICs.js} +0 -0
- /package/dist/client/assets/{css-CmhPNxBE.js → css-CYpP4FRV.js} +0 -0
- /package/dist/client/assets/{cypher-DEGl2llJ.js → cypher-p9eYesGn.js} +0 -0
- /package/dist/client/assets/{d-BspB0dox.js → d-BhMjBjQP.js} +0 -0
- /package/dist/client/assets/{defaultLocale-DKHHE2Ij.js → defaultLocale-C8Fc0cco.js} +0 -0
- /package/dist/client/assets/{diff-BWuPUsEo.js → diff-ChtP43wD.js} +0 -0
- /package/dist/client/assets/{dtd-C6brJFPg.js → dtd-DTF72YNO.js} +0 -0
- /package/dist/client/assets/{dylan-Bft86ZSB.js → dylan-C6jEEEk-.js} +0 -0
- /package/dist/client/assets/{ebnf-D6ifG44A.js → ebnf-D4c0_ac3.js} +0 -0
- /package/dist/client/assets/{ecl-D9rhJ9-u.js → ecl-BSZaIHnp.js} +0 -0
- /package/dist/client/assets/{eiffel-DwxtewZF.js → eiffel-BEjRio4Q.js} +0 -0
- /package/dist/client/assets/{elm-B1TncobV.js → elm-Cshzl8qu.js} +0 -0
- /package/dist/client/assets/{erlang-BDJZNtt8.js → erlang-DaB2Rkuy.js} +0 -0
- /package/dist/client/assets/{excalidraw-mermaid-stub-Co4Okjfg.js → excalidraw-mermaid-stub-BNckbX2n.js} +0 -0
- /package/dist/client/assets/{fcl-CUXJFJn1.js → fcl-ClOhbFR7.js} +0 -0
- /package/dist/client/assets/{file-kind-DLz-bCzA.js → file-kind-BKPOIRPE.js} +0 -0
- /package/dist/client/assets/{forth-nvhcMz63.js → forth-Cezjo90N.js} +0 -0
- /package/dist/client/assets/{fortran-BZID-z10.js → fortran-Bt6PBEDR.js} +0 -0
- /package/dist/client/assets/{gas-DjQsZDGE.js → gas-BHEdbvp9.js} +0 -0
- /package/dist/client/assets/{gherkin-S0kHlzux.js → gherkin-oBAE_ms0.js} +0 -0
- /package/dist/client/assets/{groovy-Di--Vb9Z.js → groovy-BC3IOsC8.js} +0 -0
- /package/dist/client/assets/{haskell-C6qH3-aI.js → haskell-BRsoo5mP.js} +0 -0
- /package/dist/client/assets/{http-DG1Y9fpK.js → http-CLVgA2GD.js} +0 -0
- /package/dist/client/assets/{idl-B64p3NTJ.js → idl-BUZw3wgd.js} +0 -0
- /package/dist/client/assets/{init-EmgYNkpL.js → init-D6jRqBbL.js} +0 -0
- /package/dist/client/assets/{julia-B22G9Bym.js → julia-CQfgDRfP.js} +0 -0
- /package/dist/client/assets/{livescript-CkcuHqeS.js → livescript-BXxG0Yva.js} +0 -0
- /package/dist/client/assets/{lua-Cg0FqIlO.js → lua-CL1SqxuB.js} +0 -0
- /package/dist/client/assets/{mathematica-CKVhKnoY.js → mathematica-u8YMmbU0.js} +0 -0
- /package/dist/client/assets/{mbox-DANyzFJ2.js → mbox-BEMVcqjs.js} +0 -0
- /package/dist/client/assets/{mirc-BVG2S5rO.js → mirc-C9zpzAZU.js} +0 -0
- /package/dist/client/assets/{mllike-C0p7lv48.js → mllike-B45xgp2S.js} +0 -0
- /package/dist/client/assets/{modelica-vJ-Qa9jV.js → modelica-CqHI_q-D.js} +0 -0
- /package/dist/client/assets/{mscgen-vUD-SWGJ.js → mscgen-qgSLujhx.js} +0 -0
- /package/dist/client/assets/{mumps-D0KfUTSd.js → mumps-CW_TBmxz.js} +0 -0
- /package/dist/client/assets/{nginx-DkVceJrH.js → nginx-BMaDbqW3.js} +0 -0
- /package/dist/client/assets/{ntriples-BBuCIfS0.js → ntriples-d28e9m0E.js} +0 -0
- /package/dist/client/assets/{octave-BTv2CqSQ.js → octave-D2Q8cUp1.js} +0 -0
- /package/dist/client/assets/{oz-D8SjVDNU.js → oz-BwTct_5T.js} +0 -0
- /package/dist/client/assets/{pascal-T-tfhVyx.js → pascal-Dp_KdFgX.js} +0 -0
- /package/dist/client/assets/{path-vqW-z8T-.js → path-BWPyau1x.js} +0 -0
- /package/dist/client/assets/{perl-BDrCkHRd.js → perl-CdEHsPfU.js} +0 -0
- /package/dist/client/assets/{pig-BEyI4fPq.js → pig-AF4Hwhju.js} +0 -0
- /package/dist/client/assets/{powershell-DtnFc6GG.js → powershell-CzG71I4L.js} +0 -0
- /package/dist/client/assets/{properties-DWUvbxV9.js → properties-C357ku5U.js} +0 -0
- /package/dist/client/assets/{protobuf-CQGoYyfE.js → protobuf-D1ij_kNL.js} +0 -0
- /package/dist/client/assets/{puppet-Dd-qWO3p.js → puppet-B4hC2X4m.js} +0 -0
- /package/dist/client/assets/{q-Dls1OX0D.js → q-B9NhS7L_.js} +0 -0
- /package/dist/client/assets/{r-DeZ8Mdev.js → r-DADKenSm.js} +0 -0
- /package/dist/client/assets/{chunk-tBc3Ke6Z.js → rolldown-runtime-aKtaBQYM.js} +0 -0
- /package/dist/client/assets/{rough.esm-DE_lJ5Ge.js → rough.esm-CSKSodPl.js} +0 -0
- /package/dist/client/assets/{roundRect-BMsJLtvm.js → roundRect-D01gJrlt.js} +0 -0
- /package/dist/client/assets/{rpm-CjWxLM68.js → rpm-gpDK5sbt.js} +0 -0
- /package/dist/client/assets/{ruby-CB34f2Gf.js → ruby-DsYpTuWg.js} +0 -0
- /package/dist/client/assets/{runtime-config-loader-_D2KZKn-.js → runtime-config-loader-BUK56BZz.js} +0 -0
- /package/dist/client/assets/{sas-Bji4HDQq.js → sas-C2OyD2Y6.js} +0 -0
- /package/dist/client/assets/{shell-DUveK2Hb.js → shell-Du5Qg9im.js} +0 -0
- /package/dist/client/assets/{sieve-2ogwMVx4.js → sieve-BAxa3IjF.js} +0 -0
- /package/dist/client/assets/{simple-mode-pOKc0mfx.js → simple-mode-DRpGK0lJ.js} +0 -0
- /package/dist/client/assets/{smalltalk-BuGhc6lW.js → smalltalk-BLp5-jwC.js} +0 -0
- /package/dist/client/assets/{solr-DTxshpm8.js → solr-BBopId9w.js} +0 -0
- /package/dist/client/assets/{sparql-vm8qNO8J.js → sparql-Dz-mlCAC.js} +0 -0
- /package/dist/client/assets/{spreadsheet-C6Vbtl9-.js → spreadsheet-CTIncYxj.js} +0 -0
- /package/dist/client/assets/{sql-GL7dVWcd.js → sql-DcCJ9jop.js} +0 -0
- /package/dist/client/assets/{stex-CEwW0Q_0.js → stex-sDrdk2BW.js} +0 -0
- /package/dist/client/assets/{stylus-D1SZIMDs.js → stylus-DLLZ8dgm.js} +0 -0
- /package/dist/client/assets/{swift-CKcKnWv9.js → swift-DKB6_1j6.js} +0 -0
- /package/dist/client/assets/{tcl-SPk7uiDB.js → tcl-BGfruO1u.js} +0 -0
- /package/dist/client/assets/{tiddlywiki-CiImjFLN.js → tiddlywiki-VlUiK86J.js} +0 -0
- /package/dist/client/assets/{tiki-HkXZ4BIW.js → tiki-CxVlf5KZ.js} +0 -0
- /package/dist/client/assets/{toml-BmfpMy1_.js → toml-LvoKBwCs.js} +0 -0
- /package/dist/client/assets/{troff-BjbEOT5E.js → troff-C2dAgh7P.js} +0 -0
- /package/dist/client/assets/{ttcn-NA-V4KnY.js → ttcn-BePYh-hG.js} +0 -0
- /package/dist/client/assets/{ttcn-cfg-TPHncdGN.js → ttcn-cfg-CY0aot7Q.js} +0 -0
- /package/dist/client/assets/{vb-C19AQWqO.js → vb-BthdM_4N.js} +0 -0
- /package/dist/client/assets/{vbscript-CHJk3s95.js → vbscript-D9f6rSsU.js} +0 -0
- /package/dist/client/assets/{velocity-Ya0P4sQU.js → velocity-CqftRsjg.js} +0 -0
- /package/dist/client/assets/{webidl-DttrYZRT.js → webidl-D5jiJvOU.js} +0 -0
- /package/dist/client/assets/{yacas-C7dxlPB0.js → yacas-CXXgtw0p.js} +0 -0
- /package/dist/client/assets/{z80-BqEfFSnA.js → z80-CL1naaMV.js} +0 -0
|
@@ -0,0 +1,744 @@
|
|
|
1
|
+
import { randomUUID, timingSafeEqual, createHash } from 'node:crypto';
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
HOSTED_ROLE_ADMIN,
|
|
5
|
+
HOSTED_ROLE_COLLABORATOR,
|
|
6
|
+
normalizeHostedEmail,
|
|
7
|
+
normalizeHostedRole,
|
|
8
|
+
} from './hosted-workspace-contract.js';
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
HOSTED_ROLE_ADMIN,
|
|
12
|
+
HOSTED_ROLE_COLLABORATOR,
|
|
13
|
+
normalizeHostedEmail,
|
|
14
|
+
normalizeHostedRole,
|
|
15
|
+
} from './hosted-workspace-contract.js';
|
|
16
|
+
|
|
17
|
+
export const HOSTED_INVITATION_TTL_MS = 7 * 24 * 60 * 60 * 1000;
|
|
18
|
+
export const HOSTED_CLAIM_TTL_MS = 7 * 24 * 60 * 60 * 1000;
|
|
19
|
+
|
|
20
|
+
function nowMs() {
|
|
21
|
+
return Date.now();
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function hashHostedSecret(value) {
|
|
25
|
+
return createHash('sha256').update(String(value ?? ''), 'utf8').digest('hex');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function safeEqualHash(left, right) {
|
|
29
|
+
const leftBuffer = Buffer.from(String(left ?? ''), 'hex');
|
|
30
|
+
const rightBuffer = Buffer.from(String(right ?? ''), 'hex');
|
|
31
|
+
return leftBuffer.length === rightBuffer.length && timingSafeEqual(leftBuffer, rightBuffer);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function createHostedError(statusCode, message, code) {
|
|
35
|
+
const error = new Error(message);
|
|
36
|
+
error.statusCode = statusCode;
|
|
37
|
+
error.code = code;
|
|
38
|
+
return error;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function createAuditEvent({
|
|
42
|
+
actor,
|
|
43
|
+
metadata = {},
|
|
44
|
+
targetEmail = actor?.email,
|
|
45
|
+
targetRole = actor?.role ?? '',
|
|
46
|
+
timestamp,
|
|
47
|
+
type,
|
|
48
|
+
}) {
|
|
49
|
+
return {
|
|
50
|
+
actorEmail: actor?.email ?? '',
|
|
51
|
+
actorName: actor?.name ?? '',
|
|
52
|
+
createdAt: timestamp,
|
|
53
|
+
id: randomUUID(),
|
|
54
|
+
metadata,
|
|
55
|
+
targetEmail,
|
|
56
|
+
targetRole,
|
|
57
|
+
type,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function publicMembership(record = null) {
|
|
62
|
+
if (!record) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
return {
|
|
67
|
+
email: record.email,
|
|
68
|
+
id: record.id,
|
|
69
|
+
joinedAt: record.joinedAt,
|
|
70
|
+
name: record.name,
|
|
71
|
+
picture: record.picture,
|
|
72
|
+
role: record.role,
|
|
73
|
+
updatedAt: record.updatedAt,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function publicInvitation(record = null) {
|
|
78
|
+
if (!record) {
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
createdAt: record.createdAt,
|
|
84
|
+
email: record.email,
|
|
85
|
+
expiresAt: record.expiresAt,
|
|
86
|
+
id: record.id,
|
|
87
|
+
invitedByEmail: record.invitedByEmail,
|
|
88
|
+
invitedByName: record.invitedByName,
|
|
89
|
+
role: record.role,
|
|
90
|
+
updatedAt: record.updatedAt,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function publicAuditEvent(record = null) {
|
|
95
|
+
if (!record) {
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
actorEmail: record.actorEmail,
|
|
101
|
+
actorName: record.actorName,
|
|
102
|
+
createdAt: record.createdAt,
|
|
103
|
+
id: record.id,
|
|
104
|
+
metadata: record.metadata,
|
|
105
|
+
targetEmail: record.targetEmail,
|
|
106
|
+
targetRole: record.targetRole,
|
|
107
|
+
type: record.type,
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function publicVaultSource(record = null) {
|
|
112
|
+
if (!record) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return {
|
|
117
|
+
configuredAt: record.configuredAt,
|
|
118
|
+
configuredByEmail: record.configuredByEmail,
|
|
119
|
+
configuredByName: record.configuredByName,
|
|
120
|
+
defaultBranch: record.defaultBranch,
|
|
121
|
+
installationAccountLogin: record.installationAccountLogin,
|
|
122
|
+
provider: record.provider,
|
|
123
|
+
repositoryFullName: record.repositoryFullName,
|
|
124
|
+
repositoryId: record.repositoryId,
|
|
125
|
+
repositoryName: record.repositoryName,
|
|
126
|
+
repositoryOwner: record.repositoryOwner,
|
|
127
|
+
visibility: record.visibility,
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function resolveUser(user = null) {
|
|
132
|
+
const email = normalizeHostedEmail(user?.email);
|
|
133
|
+
if (!email) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return {
|
|
138
|
+
email,
|
|
139
|
+
name: String(user?.name ?? '').trim() || email,
|
|
140
|
+
picture: typeof user?.picture === 'string' ? user.picture : '',
|
|
141
|
+
sub: String(user?.sub ?? '').trim(),
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
function normalizeGithubVisibility(value) {
|
|
146
|
+
const normalized = String(value ?? '').trim().toLowerCase();
|
|
147
|
+
if (normalized === 'public' || normalized === 'private' || normalized === 'internal') {
|
|
148
|
+
return normalized;
|
|
149
|
+
}
|
|
150
|
+
return 'private';
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function normalizeGithubVaultSource(input = {}, admin, timestamp) {
|
|
154
|
+
const repository = input.repository ?? {};
|
|
155
|
+
const installation = input.installation ?? {};
|
|
156
|
+
const repositoryId = String(repository.id ?? input.repositoryId ?? '').trim();
|
|
157
|
+
const repositoryOwner = String(repository.owner ?? input.repositoryOwner ?? '').trim();
|
|
158
|
+
const repositoryName = String(repository.name ?? input.repositoryName ?? '').trim();
|
|
159
|
+
const defaultBranch = String(repository.defaultBranch ?? input.defaultBranch ?? '').trim();
|
|
160
|
+
const installationId = String(installation.id ?? input.installationId ?? '').trim();
|
|
161
|
+
const installationAccountLogin = String(
|
|
162
|
+
installation.accountLogin
|
|
163
|
+
?? input.installationAccountLogin
|
|
164
|
+
?? repositoryOwner,
|
|
165
|
+
).trim();
|
|
166
|
+
const repositoryFullName = String(
|
|
167
|
+
repository.fullName
|
|
168
|
+
?? input.repositoryFullName
|
|
169
|
+
?? (repositoryOwner && repositoryName ? `${repositoryOwner}/${repositoryName}` : ''),
|
|
170
|
+
).trim();
|
|
171
|
+
|
|
172
|
+
if (!repositoryId || !repositoryOwner || !repositoryName || !repositoryFullName || !defaultBranch) {
|
|
173
|
+
throw createHostedError(400, 'GitHub repository id, owner, name, full name, and default branch are required.', 'HOSTED_GITHUB_REPOSITORY_REQUIRED');
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (!installationId || !installationAccountLogin) {
|
|
177
|
+
throw createHostedError(400, 'GitHub App installation id and account login are required.', 'HOSTED_GITHUB_INSTALLATION_REQUIRED');
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
configuredAt: timestamp,
|
|
182
|
+
configuredByEmail: admin.email,
|
|
183
|
+
configuredByName: admin.name,
|
|
184
|
+
defaultBranch,
|
|
185
|
+
id: 'vault-source',
|
|
186
|
+
installationAccountLogin,
|
|
187
|
+
installationId,
|
|
188
|
+
provider: 'github',
|
|
189
|
+
repositoryFullName,
|
|
190
|
+
repositoryId,
|
|
191
|
+
repositoryName,
|
|
192
|
+
repositoryOwner,
|
|
193
|
+
visibility: normalizeGithubVisibility(repository.visibility ?? input.visibility),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export class HostedWorkspaceService {
|
|
198
|
+
constructor({
|
|
199
|
+
claim = null,
|
|
200
|
+
enabled = false,
|
|
201
|
+
store = null,
|
|
202
|
+
} = {}) {
|
|
203
|
+
this.claim = claim;
|
|
204
|
+
this.enabled = Boolean(enabled);
|
|
205
|
+
this.store = store;
|
|
206
|
+
this.accessListeners = new Set();
|
|
207
|
+
this.initialized = false;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
async initialize() {
|
|
211
|
+
if (!this.enabled || this.initialized) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (!this.store) {
|
|
216
|
+
throw new Error('Hosted workspace metadata store is required when hosted mode is enabled.');
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
await this.store.initialize();
|
|
220
|
+
await this.seedClaim();
|
|
221
|
+
this.initialized = true;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
async close() {
|
|
225
|
+
await this.store?.close?.();
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
onAccessChanged(listener) {
|
|
229
|
+
if (typeof listener !== 'function') {
|
|
230
|
+
return () => {};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
this.accessListeners.add(listener);
|
|
234
|
+
return () => this.accessListeners.delete(listener);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
emitAccessChanged(email) {
|
|
238
|
+
const normalizedEmail = normalizeHostedEmail(email);
|
|
239
|
+
for (const listener of this.accessListeners) {
|
|
240
|
+
try {
|
|
241
|
+
listener({ email: normalizedEmail });
|
|
242
|
+
} catch (error) {
|
|
243
|
+
console.error('[hosted] Access-change listener failed:', error.message);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
async seedClaim() {
|
|
249
|
+
const team = await this.store.getTeam();
|
|
250
|
+
if (team) {
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
const email = normalizeHostedEmail(this.claim?.email);
|
|
255
|
+
const token = String(this.claim?.token ?? '');
|
|
256
|
+
if (!email || !token) {
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const timestamp = nowMs();
|
|
261
|
+
const existingClaim = await this.store.getActiveWorkspaceClaim(timestamp);
|
|
262
|
+
if (existingClaim) {
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
await this.store.createWorkspaceClaim({
|
|
267
|
+
createdAt: timestamp,
|
|
268
|
+
email,
|
|
269
|
+
expiresAt: timestamp + HOSTED_CLAIM_TTL_MS,
|
|
270
|
+
id: randomUUID(),
|
|
271
|
+
tokenHash: hashHostedSecret(token),
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
async getStatus(user = null) {
|
|
276
|
+
if (!this.enabled) {
|
|
277
|
+
return {
|
|
278
|
+
enabled: false,
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
await this.initialize();
|
|
283
|
+
const team = await this.store.getTeam();
|
|
284
|
+
const resolvedUser = resolveUser(user);
|
|
285
|
+
const membership = resolvedUser
|
|
286
|
+
? await this.store.getMembershipByEmail(resolvedUser.email)
|
|
287
|
+
: null;
|
|
288
|
+
const activeClaim = team ? null : await this.store.getActiveWorkspaceClaim(nowMs());
|
|
289
|
+
const vaultSource = team ? await this.store.getVaultSource() : null;
|
|
290
|
+
|
|
291
|
+
return {
|
|
292
|
+
activeClaim: Boolean(activeClaim),
|
|
293
|
+
claimed: Boolean(team),
|
|
294
|
+
enabled: true,
|
|
295
|
+
membership: publicMembership(membership),
|
|
296
|
+
setupComplete: Boolean(team?.setupCompletedAt),
|
|
297
|
+
team: team
|
|
298
|
+
? {
|
|
299
|
+
claimedAt: team.claimedAt,
|
|
300
|
+
id: team.id,
|
|
301
|
+
name: team.name,
|
|
302
|
+
setupCompletedAt: team.setupCompletedAt,
|
|
303
|
+
}
|
|
304
|
+
: null,
|
|
305
|
+
vaultSource: publicVaultSource(vaultSource),
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
async claimWorkspace({ teamName = '', token = '', user = null } = {}) {
|
|
310
|
+
await this.initialize();
|
|
311
|
+
const existingTeam = await this.store.getTeam();
|
|
312
|
+
if (existingTeam) {
|
|
313
|
+
throw createHostedError(409, 'Workspace is already claimed.', 'HOSTED_ALREADY_CLAIMED');
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
const resolvedUser = resolveUser(user);
|
|
317
|
+
if (!resolvedUser) {
|
|
318
|
+
throw createHostedError(401, 'Google sign-in is required to claim this workspace.', 'HOSTED_AUTH_REQUIRED');
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
const activeClaim = await this.store.getActiveWorkspaceClaim(nowMs());
|
|
322
|
+
if (!activeClaim) {
|
|
323
|
+
throw createHostedError(404, 'No active workspace claim is available.', 'HOSTED_CLAIM_NOT_FOUND');
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
if (activeClaim.email !== resolvedUser.email) {
|
|
327
|
+
await this.store.createOperationalSecurityEvent({
|
|
328
|
+
createdAt: nowMs(),
|
|
329
|
+
email: resolvedUser.email,
|
|
330
|
+
id: randomUUID(),
|
|
331
|
+
metadata: { claimEmail: activeClaim.email, reason: 'email_mismatch' },
|
|
332
|
+
type: 'workspace_claim_failed',
|
|
333
|
+
});
|
|
334
|
+
throw createHostedError(403, 'This workspace claim is for a different Google account.', 'HOSTED_CLAIM_EMAIL_MISMATCH');
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
if (!safeEqualHash(activeClaim.tokenHash, hashHostedSecret(token))) {
|
|
338
|
+
await this.store.createOperationalSecurityEvent({
|
|
339
|
+
createdAt: nowMs(),
|
|
340
|
+
email: resolvedUser.email,
|
|
341
|
+
id: randomUUID(),
|
|
342
|
+
metadata: { reason: 'invalid_token' },
|
|
343
|
+
type: 'workspace_claim_failed',
|
|
344
|
+
});
|
|
345
|
+
throw createHostedError(403, 'Invalid workspace claim token.', 'HOSTED_CLAIM_INVALID');
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
const timestamp = nowMs();
|
|
349
|
+
const team = {
|
|
350
|
+
claimedAt: timestamp,
|
|
351
|
+
id: 'team',
|
|
352
|
+
name: String(teamName ?? '').trim() || 'CollabMD Team',
|
|
353
|
+
setupCompletedAt: null,
|
|
354
|
+
};
|
|
355
|
+
const membership = {
|
|
356
|
+
email: resolvedUser.email,
|
|
357
|
+
id: randomUUID(),
|
|
358
|
+
joinedAt: timestamp,
|
|
359
|
+
name: resolvedUser.name,
|
|
360
|
+
picture: resolvedUser.picture,
|
|
361
|
+
role: HOSTED_ROLE_ADMIN,
|
|
362
|
+
updatedAt: timestamp,
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
await this.store.claimWorkspace({
|
|
366
|
+
auditEvent: createAuditEvent({
|
|
367
|
+
actor: resolvedUser,
|
|
368
|
+
targetRole: HOSTED_ROLE_ADMIN,
|
|
369
|
+
timestamp,
|
|
370
|
+
type: 'workspace_claimed',
|
|
371
|
+
}),
|
|
372
|
+
claimId: activeClaim.id,
|
|
373
|
+
membership,
|
|
374
|
+
team,
|
|
375
|
+
});
|
|
376
|
+
|
|
377
|
+
return {
|
|
378
|
+
membership: publicMembership(membership),
|
|
379
|
+
ok: true,
|
|
380
|
+
team,
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
async completeWorkspaceSetup() {
|
|
385
|
+
await this.initialize();
|
|
386
|
+
const team = await this.store.getTeam();
|
|
387
|
+
if (!team) {
|
|
388
|
+
throw createHostedError(409, 'Workspace must be claimed before setup can complete.', 'HOSTED_UNCLAIMED');
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
const timestamp = nowMs();
|
|
392
|
+
const updatedTeam = {
|
|
393
|
+
...team,
|
|
394
|
+
setupCompletedAt: team.setupCompletedAt || timestamp,
|
|
395
|
+
};
|
|
396
|
+
await this.store.updateTeam(updatedTeam);
|
|
397
|
+
return updatedTeam;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
async getVaultSource(user) {
|
|
401
|
+
await this.requireAdmin(user);
|
|
402
|
+
return publicVaultSource(await this.store.getVaultSource());
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
async configureGithubVaultSource({ github = {}, user = null } = {}) {
|
|
406
|
+
const admin = await this.requireAdmin(user);
|
|
407
|
+
const team = await this.store.getTeam();
|
|
408
|
+
if (!team) {
|
|
409
|
+
throw createHostedError(409, 'Workspace must be claimed before configuring a vault source.', 'HOSTED_UNCLAIMED');
|
|
410
|
+
}
|
|
411
|
+
if (team.setupCompletedAt || await this.store.getVaultSource()) {
|
|
412
|
+
throw createHostedError(409, 'Vault source is already configured.', 'HOSTED_VAULT_SOURCE_ALREADY_CONFIGURED');
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
const timestamp = nowMs();
|
|
416
|
+
const vaultSource = normalizeGithubVaultSource(github, admin, timestamp);
|
|
417
|
+
const updatedTeam = {
|
|
418
|
+
...team,
|
|
419
|
+
setupCompletedAt: timestamp,
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
await this.store.configureVaultSource({
|
|
423
|
+
auditEvent: createAuditEvent({
|
|
424
|
+
actor: admin,
|
|
425
|
+
metadata: {
|
|
426
|
+
defaultBranch: vaultSource.defaultBranch,
|
|
427
|
+
provider: vaultSource.provider,
|
|
428
|
+
repositoryFullName: vaultSource.repositoryFullName,
|
|
429
|
+
visibility: vaultSource.visibility,
|
|
430
|
+
},
|
|
431
|
+
timestamp,
|
|
432
|
+
type: 'vault_source_configured',
|
|
433
|
+
}),
|
|
434
|
+
team: updatedTeam,
|
|
435
|
+
vaultSource,
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
return {
|
|
439
|
+
setupComplete: true,
|
|
440
|
+
team: updatedTeam,
|
|
441
|
+
vaultSource: publicVaultSource(vaultSource),
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
async authorizeWorkspaceAccess({ requireSetupComplete = true, user = null } = {}) {
|
|
446
|
+
if (!this.enabled) {
|
|
447
|
+
return { ok: true };
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
await this.initialize();
|
|
451
|
+
const resolvedUser = resolveUser(user);
|
|
452
|
+
if (!resolvedUser) {
|
|
453
|
+
return {
|
|
454
|
+
body: { code: 'HOSTED_AUTH_REQUIRED', error: 'Google sign-in is required.' },
|
|
455
|
+
ok: false,
|
|
456
|
+
statusCode: 401,
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
const membership = await this.store.getMembershipByEmail(resolvedUser.email);
|
|
461
|
+
if (!membership) {
|
|
462
|
+
return {
|
|
463
|
+
body: { code: 'HOSTED_MEMBERSHIP_REQUIRED', error: 'Team membership is required.' },
|
|
464
|
+
ok: false,
|
|
465
|
+
statusCode: 403,
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
const team = await this.store.getTeam();
|
|
470
|
+
if (requireSetupComplete && !team?.setupCompletedAt) {
|
|
471
|
+
return {
|
|
472
|
+
body: { code: 'HOSTED_SETUP_INCOMPLETE', error: 'Workspace setup is incomplete.' },
|
|
473
|
+
ok: false,
|
|
474
|
+
statusCode: 423,
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
return {
|
|
479
|
+
membership,
|
|
480
|
+
ok: true,
|
|
481
|
+
role: membership.role,
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
async requireAdmin(user) {
|
|
486
|
+
const access = await this.authorizeWorkspaceAccess({
|
|
487
|
+
requireSetupComplete: false,
|
|
488
|
+
user,
|
|
489
|
+
});
|
|
490
|
+
if (!access.ok) {
|
|
491
|
+
throw createHostedError(access.statusCode, access.body.error, access.body.code);
|
|
492
|
+
}
|
|
493
|
+
if (access.role !== HOSTED_ROLE_ADMIN) {
|
|
494
|
+
throw createHostedError(403, 'Team Admin role is required.', 'HOSTED_ADMIN_REQUIRED');
|
|
495
|
+
}
|
|
496
|
+
return access.membership;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
async listMemberships(user) {
|
|
500
|
+
await this.requireAdmin(user);
|
|
501
|
+
return (await this.store.listMemberships()).map(publicMembership);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
async listInvitations(user) {
|
|
505
|
+
await this.requireAdmin(user);
|
|
506
|
+
return (await this.store.listPendingInvitations(nowMs())).map(publicInvitation);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
async createInvitation({ email, role, user }) {
|
|
510
|
+
const admin = await this.requireAdmin(user);
|
|
511
|
+
const team = await this.store.getTeam();
|
|
512
|
+
if (!team?.setupCompletedAt) {
|
|
513
|
+
throw createHostedError(409, 'Workspace setup must complete before inviting collaborators.', 'HOSTED_SETUP_INCOMPLETE');
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
const normalizedEmail = normalizeHostedEmail(email);
|
|
517
|
+
const normalizedRole = normalizeHostedRole(role) || HOSTED_ROLE_COLLABORATOR;
|
|
518
|
+
if (!normalizedEmail) {
|
|
519
|
+
throw createHostedError(400, 'Invitation email is required.', 'HOSTED_EMAIL_REQUIRED');
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
if (await this.store.getMembershipByEmail(normalizedEmail)) {
|
|
523
|
+
throw createHostedError(409, 'This email is already a collaborator.', 'HOSTED_ALREADY_MEMBER');
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
const timestamp = nowMs();
|
|
527
|
+
const invitation = {
|
|
528
|
+
acceptedAt: null,
|
|
529
|
+
createdAt: timestamp,
|
|
530
|
+
email: normalizedEmail,
|
|
531
|
+
expiresAt: timestamp + HOSTED_INVITATION_TTL_MS,
|
|
532
|
+
id: randomUUID(),
|
|
533
|
+
invitedByEmail: admin.email,
|
|
534
|
+
invitedByName: admin.name,
|
|
535
|
+
revokedAt: null,
|
|
536
|
+
role: normalizedRole,
|
|
537
|
+
updatedAt: timestamp,
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
await this.store.upsertPendingInvitation(invitation);
|
|
541
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
542
|
+
actor: admin,
|
|
543
|
+
targetEmail: normalizedEmail,
|
|
544
|
+
targetRole: normalizedRole,
|
|
545
|
+
timestamp,
|
|
546
|
+
type: 'invitation_created',
|
|
547
|
+
}));
|
|
548
|
+
|
|
549
|
+
return publicInvitation(invitation);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
async updateInvitationRole({ invitationId, role, user }) {
|
|
553
|
+
const admin = await this.requireAdmin(user);
|
|
554
|
+
const normalizedRole = normalizeHostedRole(role);
|
|
555
|
+
if (!normalizedRole) {
|
|
556
|
+
throw createHostedError(400, 'Invalid invitation role.', 'HOSTED_INVALID_ROLE');
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
const invitation = await this.store.getInvitationById(invitationId);
|
|
560
|
+
if (!invitation || invitation.revokedAt || invitation.acceptedAt || invitation.expiresAt <= nowMs()) {
|
|
561
|
+
throw createHostedError(404, 'Pending invitation was not found.', 'HOSTED_INVITATION_NOT_FOUND');
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
const timestamp = nowMs();
|
|
565
|
+
const updated = {
|
|
566
|
+
...invitation,
|
|
567
|
+
role: normalizedRole,
|
|
568
|
+
updatedAt: timestamp,
|
|
569
|
+
};
|
|
570
|
+
await this.store.updateInvitation(updated);
|
|
571
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
572
|
+
actor: admin,
|
|
573
|
+
targetEmail: updated.email,
|
|
574
|
+
targetRole: normalizedRole,
|
|
575
|
+
timestamp,
|
|
576
|
+
type: 'invitation_role_changed',
|
|
577
|
+
}));
|
|
578
|
+
return publicInvitation(updated);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
async revokeInvitation({ invitationId, user }) {
|
|
582
|
+
const admin = await this.requireAdmin(user);
|
|
583
|
+
const invitation = await this.store.getInvitationById(invitationId);
|
|
584
|
+
if (!invitation || invitation.revokedAt || invitation.acceptedAt) {
|
|
585
|
+
throw createHostedError(404, 'Pending invitation was not found.', 'HOSTED_INVITATION_NOT_FOUND');
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
const timestamp = nowMs();
|
|
589
|
+
const updated = {
|
|
590
|
+
...invitation,
|
|
591
|
+
revokedAt: timestamp,
|
|
592
|
+
updatedAt: timestamp,
|
|
593
|
+
};
|
|
594
|
+
await this.store.updateInvitation(updated);
|
|
595
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
596
|
+
actor: admin,
|
|
597
|
+
targetEmail: updated.email,
|
|
598
|
+
targetRole: updated.role,
|
|
599
|
+
timestamp,
|
|
600
|
+
type: 'invitation_revoked',
|
|
601
|
+
}));
|
|
602
|
+
return { ok: true };
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
async acceptInvitation(user) {
|
|
606
|
+
await this.initialize();
|
|
607
|
+
const resolvedUser = resolveUser(user);
|
|
608
|
+
if (!resolvedUser) {
|
|
609
|
+
throw createHostedError(401, 'Google sign-in is required to accept an invitation.', 'HOSTED_AUTH_REQUIRED');
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
if (await this.store.getMembershipByEmail(resolvedUser.email)) {
|
|
613
|
+
throw createHostedError(409, 'This email is already a collaborator.', 'HOSTED_ALREADY_MEMBER');
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
const invitation = await this.store.getPendingInvitationByEmail(resolvedUser.email, nowMs());
|
|
617
|
+
if (!invitation) {
|
|
618
|
+
throw createHostedError(404, 'Pending invitation was not found.', 'HOSTED_INVITATION_NOT_FOUND');
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
const timestamp = nowMs();
|
|
622
|
+
const membership = {
|
|
623
|
+
email: resolvedUser.email,
|
|
624
|
+
id: randomUUID(),
|
|
625
|
+
joinedAt: timestamp,
|
|
626
|
+
name: resolvedUser.name,
|
|
627
|
+
picture: resolvedUser.picture,
|
|
628
|
+
role: invitation.role,
|
|
629
|
+
updatedAt: timestamp,
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
await this.store.acceptInvitation({
|
|
633
|
+
auditEvent: createAuditEvent({
|
|
634
|
+
actor: resolvedUser,
|
|
635
|
+
targetRole: invitation.role,
|
|
636
|
+
timestamp,
|
|
637
|
+
type: 'invitation_accepted',
|
|
638
|
+
}),
|
|
639
|
+
invitation: {
|
|
640
|
+
...invitation,
|
|
641
|
+
acceptedAt: timestamp,
|
|
642
|
+
updatedAt: timestamp,
|
|
643
|
+
},
|
|
644
|
+
membership,
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
return publicMembership(membership);
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
async updateMembershipRole({ membershipId, role, user }) {
|
|
651
|
+
const admin = await this.requireAdmin(user);
|
|
652
|
+
const normalizedRole = normalizeHostedRole(role);
|
|
653
|
+
if (!normalizedRole) {
|
|
654
|
+
throw createHostedError(400, 'Invalid membership role.', 'HOSTED_INVALID_ROLE');
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
const membership = await this.store.getMembershipById(membershipId);
|
|
658
|
+
if (!membership) {
|
|
659
|
+
throw createHostedError(404, 'Membership was not found.', 'HOSTED_MEMBERSHIP_NOT_FOUND');
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
if (membership.role === HOSTED_ROLE_ADMIN && normalizedRole !== HOSTED_ROLE_ADMIN) {
|
|
663
|
+
await this.assertAnotherAdmin(membership.email);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
const timestamp = nowMs();
|
|
667
|
+
const updated = {
|
|
668
|
+
...membership,
|
|
669
|
+
role: normalizedRole,
|
|
670
|
+
updatedAt: timestamp,
|
|
671
|
+
};
|
|
672
|
+
await this.store.updateMembership(updated);
|
|
673
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
674
|
+
actor: admin,
|
|
675
|
+
targetEmail: updated.email,
|
|
676
|
+
targetRole: normalizedRole,
|
|
677
|
+
timestamp,
|
|
678
|
+
type: 'membership_role_changed',
|
|
679
|
+
}));
|
|
680
|
+
this.emitAccessChanged(updated.email);
|
|
681
|
+
return publicMembership(updated);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
async removeMembership({ membershipId, user }) {
|
|
685
|
+
const admin = await this.requireAdmin(user);
|
|
686
|
+
const membership = await this.store.getMembershipById(membershipId);
|
|
687
|
+
if (!membership) {
|
|
688
|
+
throw createHostedError(404, 'Membership was not found.', 'HOSTED_MEMBERSHIP_NOT_FOUND');
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
if (membership.role === HOSTED_ROLE_ADMIN) {
|
|
692
|
+
await this.assertAnotherAdmin(membership.email);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
const timestamp = nowMs();
|
|
696
|
+
await this.store.deleteMembership(membership.id);
|
|
697
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
698
|
+
actor: admin,
|
|
699
|
+
targetEmail: membership.email,
|
|
700
|
+
targetRole: membership.role,
|
|
701
|
+
timestamp,
|
|
702
|
+
type: 'membership_removed',
|
|
703
|
+
}));
|
|
704
|
+
this.emitAccessChanged(membership.email);
|
|
705
|
+
return { ok: true };
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
async leaveTeam(user) {
|
|
709
|
+
const access = await this.authorizeWorkspaceAccess({
|
|
710
|
+
requireSetupComplete: false,
|
|
711
|
+
user,
|
|
712
|
+
});
|
|
713
|
+
if (!access.ok) {
|
|
714
|
+
throw createHostedError(access.statusCode, access.body.error, access.body.code);
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
const membership = access.membership;
|
|
718
|
+
if (membership.role === HOSTED_ROLE_ADMIN) {
|
|
719
|
+
await this.assertAnotherAdmin(membership.email);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
const timestamp = nowMs();
|
|
723
|
+
await this.store.deleteMembership(membership.id);
|
|
724
|
+
await this.store.createAuditEvent(createAuditEvent({
|
|
725
|
+
actor: membership,
|
|
726
|
+
timestamp,
|
|
727
|
+
type: 'membership_left',
|
|
728
|
+
}));
|
|
729
|
+
this.emitAccessChanged(membership.email);
|
|
730
|
+
return { ok: true };
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
async listAuditEvents(user) {
|
|
734
|
+
await this.requireAdmin(user);
|
|
735
|
+
return (await this.store.listAuditEvents()).map(publicAuditEvent);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
async assertAnotherAdmin(email) {
|
|
739
|
+
const adminCount = await this.store.countAdminsExcept(normalizeHostedEmail(email));
|
|
740
|
+
if (adminCount < 1) {
|
|
741
|
+
throw createHostedError(409, 'A team must always have at least one Team Admin.', 'HOSTED_LAST_ADMIN');
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|