@myagentroam/server 0.13.11 → 0.13.13
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/node_modules/@myagentroam/protocol/dist/index.d.ts +986 -797
- package/node_modules/@myagentroam/protocol/dist/index.js +5 -0
- package/node_modules/@myagentroam/protocol/dist/remote-desktop.d.ts +789 -0
- package/node_modules/@myagentroam/protocol/dist/remote-desktop.js +341 -0
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.d.ts +6 -0
- package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.js +10 -1
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +19 -3
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.js +4 -1
- package/node_modules/@myagentroam/server-core/dist/node-projection.d.ts +16 -0
- package/node_modules/@myagentroam/server-core/dist/node-projection.js +4 -1
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-admission.d.ts +54 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-admission.js +197 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-direct-coordinator.d.ts +33 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-direct-coordinator.js +388 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-coordinator.d.ts +34 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-coordinator.js +383 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-pair.d.ts +25 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-pair.js +94 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-pairing.d.ts +34 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-pairing.js +218 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-sockets.d.ts +26 -0
- package/node_modules/@myagentroam/server-core/dist/remote-desktop-relay-sockets.js +121 -0
- package/node_modules/@myagentroam/server-core/dist/workbench-relay-service.d.ts +13 -1
- package/node_modules/@myagentroam/server-core/dist/workbench-relay-service.js +33 -1
- package/node_modules/@myagentroam/server-core/package.json +27 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +92 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +15 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +74 -3
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.js +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-management-directory.d.ts +16 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/node-routes.d.ts +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/node-routes.js +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.js +13 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/remote-desktop-discovery-route.d.ts +12 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/remote-desktop-discovery-route.js +56 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/desktop-websocket-dispatcher.d.ts +10 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/desktop-websocket-dispatcher.js +40 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +6 -6
- package/web/THIRD_PARTY_NOTICES.txt +542 -0
- package/web/assets/AuditManagementPage-cXX1aX0o.js +1 -0
- package/web/assets/BusyIndicator-C13WYOfw.js +1 -0
- package/web/assets/{CodeFileEditor-DHWQnh-o.js → CodeFileEditor-CkRNjfi-.js} +10 -10
- package/web/assets/ConversationTemplateManagementPage-BE6VLcKD.js +1 -0
- package/web/assets/ConversationTemplateManagementPage-TkGq4qRY.js +1 -0
- package/web/assets/EnterpriseUserManagementPage-2CZ4y9Na.js +1 -0
- package/web/assets/EnvironmentSecretManager-BrBPb79z.js +1 -0
- package/web/assets/FilePreviewLoading-BFLFY0Vm.js +23 -0
- package/web/assets/HtmlPreviewFrame-CN_OpYUD.js +6 -0
- package/web/assets/LicenseManagementPage-CNO9p1FN.js +1 -0
- package/web/assets/ManagementPagination-DW7abTue.js +1 -0
- package/web/assets/{MarAgentModelManagementPage-Cyzi07aX.js → MarAgentModelManagementPage-Csy9mIR_.js} +1 -1
- package/web/assets/MarAgentModelManagementPage-D22qwaB0.js +1 -0
- package/web/assets/MarIcon-D8SdIYZA.js +1 -0
- package/web/assets/MarkdownFilePreview-D34FVquC.js +2 -0
- package/web/assets/McpDetailsDialog-C5Ed5H3t.js +1 -0
- package/web/assets/McpSourceManagementPage-DyxSChzt.js +1 -0
- package/web/assets/McpSourceManagementPage-bNSH8PBh.js +1 -0
- package/web/assets/{NodeDetailsDialogs-BhUhw2Y_.css → NodeDetailsDialogs-DQ0DRy_G.css} +1 -1
- package/web/assets/{NodeDetailsDialogs-wEWj2T2w.js → NodeDetailsDialogs-Ds2aEDfA.js} +5 -5
- package/web/assets/NodeManagementPage-C197i8oq.js +1 -0
- package/web/assets/NodeManagementPage-vz-OWgYy.js +1 -0
- package/web/assets/OAuthManagementPage-YuK3LEoi.js +2 -0
- package/web/assets/OrganizationManagementPage-CYoxFaol.js +1 -0
- package/web/assets/RemoteDesktopPage-BQzeYD1p.js +5 -0
- package/web/assets/RemoteDesktopPage-YPC-sya-.css +1 -0
- package/web/assets/{ResourceManagementPanel-DQtbdfv0.css → ResourceManagementPanel-BmAJ59B8.css} +1 -1
- package/web/assets/ResourceManagementPanel-CnuvNyyw.js +2 -0
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DyZ3YZZz.js +1 -0
- package/web/assets/{SecretManagementPage-CY-ChCTX.js → SecretManagementPage-CFJBeCHw.js} +1 -1
- package/web/assets/SecretManagementPage-CP7h-cGp.js +1 -0
- package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-CizHXiVk.js +1 -0
- package/web/assets/SessionSharePage-BWAo3kbQ.js +2 -0
- package/web/assets/SettingsContent-B2ZV_n5Q.js +1 -0
- package/web/assets/SettingsContent-BRdW4NMa.js +1 -0
- package/web/assets/SkillCenterPage-BNMtdypl.js +1 -0
- package/web/assets/SkillCenterPage-CnLigjeg.js +1 -0
- package/web/assets/SkillDetailsDialog-CzX9_p91.js +1 -0
- package/web/assets/SkillSourceManagementPage-BjD-eqUN.js +1 -0
- package/web/assets/SkillSourceManagementPage-CQ3V_Cof.js +1 -0
- package/web/assets/StandaloneFilePreviewPage-BVSBbEJO.js +1 -0
- package/web/assets/SystemConfigurationPage-C1ZGWRAP.js +1 -0
- package/web/assets/SystemConfigurationPage-regnN0o1.js +1 -0
- package/web/assets/SystemInformationPage-BRYMHjok.js +1 -0
- package/web/assets/{TerminalTabView-DVCYt0fE.js → TerminalTabView-FgqHKbgb.js} +10 -10
- package/web/assets/{WorkbenchPage-BD71afb3.css → WorkbenchPage-DfpWtjdX.css} +1 -1
- package/web/assets/{WorkbenchPage-DEOojXdg.js → WorkbenchPage-S-XHRzuy.js} +15 -15
- package/web/assets/WorkspaceManagementPage-BtIcEg3P.js +1 -0
- package/web/assets/WorkspaceManagementPage-ElP-qURB.js +1 -0
- package/web/assets/_baseIteratee-Dahax6jy.js +1 -0
- package/web/assets/abnfDiagram-VCTEODGH-Br_WJzb9.js +1 -0
- package/web/assets/advancedFormat-MrVcYsjR.js +1 -0
- package/web/assets/{arc-DPr8Gc-B.js → arc-CZ-LHDSo.js} +1 -1
- package/web/assets/architectureDiagram-5GKGNRK7-dgHEwFvr.js +36 -0
- package/web/assets/{blockDiagram-OSKFZWR5-ClhXRBhx.js → blockDiagram-OSKFZWR5-BrsBJa7p.js} +2 -2
- package/web/assets/{c4Diagram-7LVT6UL2-jKj0JNVS.js → c4Diagram-7LVT6UL2-BreHxEzk.js} +2 -2
- package/web/assets/{catalog-ownership-service-DG9J4Whj.js → catalog-ownership-service-J6D84yCK.js} +1 -1
- package/web/assets/{catalog-page-service-uW8GGgTl.js → catalog-page-service-vGJ5NmRE.js} +1 -1
- package/web/assets/channel-BqKdhYMB.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-BFPAAxdO.js → chunk-2Q5K7J3B-Co64vCep.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-CoraATO4.js → chunk-5VM5RSS4-s5dwJv1a.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-Cu2c-DqL.js → chunk-F27PBJKO-C8DSSFbB.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-B0mNHYc5.js → chunk-HLEWEB6X-CkKFbWnh.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-uRezlmYw.js → chunk-JWPE2WC7-DeLMw-nn.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-DKtzovYi.js → chunk-POPQ4Y6H-BpQolWga.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-CHDyQwHW.js → chunk-SVP7TREG-C4Bgy0Vr.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DdWtTM_D.js → chunk-XXDRQBXY-X4wxY1Fj.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-CTbkxyTO.js → chunk-ZLD2IHE6-BVa2Expl.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-BNcVtujR.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-BNcVtujR.js +1 -0
- package/web/assets/{conversation-history-zzn2wjLr.js → conversation-history-BSIeouFQ.js} +3 -3
- package/web/assets/cose-bilkent-JH36ORCC-DeB1Xkdi.js +1 -0
- package/web/assets/{cynefin-OW5HDTMX-CygKQcJZ.js → cynefin-OW5HDTMX-BDyZVblu.js} +1 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-WsysttnI.js +62 -0
- package/web/assets/{dagre-OS7QT2EB-DZw1A2vK.js → dagre-OS7QT2EB-Bfp_4Ujt.js} +2 -2
- package/web/assets/{diagram-S7CK7UJ4-B8WFZqgl.js → diagram-S7CK7UJ4-7g5FNCI5.js} +2 -2
- package/web/assets/diagram-UQ7AKVKN-BeoBO8o2.js +41 -0
- package/web/assets/{diagram-VSXAHHWV-BtAEo6iX.js → diagram-VSXAHHWV-B7yv85UD.js} +2 -2
- package/web/assets/diagram-VX7I27RA-B1mJo-zq.js +24 -0
- package/web/assets/diagram-Z3DM3KII-DrjCsYMq.js +24 -0
- package/web/assets/ebnfDiagram-PWID7BFC-CKV1SNs5.js +1 -0
- package/web/assets/el-alert-BmMcxyqr.js +1 -0
- package/web/assets/el-cascader-CujK0jq0.js +12 -0
- package/web/assets/el-checkbox-CIZ3fxQO.js +1 -0
- package/web/assets/el-date-picker-DAIk8AZk.js +1 -0
- package/web/assets/el-descriptions-B5jK3BQc.js +1 -0
- package/web/assets/el-form-item-xw675Wv8.js +12 -0
- package/web/assets/{el-input-BpWDYUjR.js → el-input-BpN_LYlO.js} +2 -2
- package/web/assets/el-input-number-C9X9-Q-D.js +1 -0
- package/web/assets/el-radio-ZxWUEi6Q.js +1 -0
- package/web/assets/el-scrollbar-Dic_kO4i.js +1 -0
- package/web/assets/el-scrollbar-GF-yQkxY.css +1 -0
- package/web/assets/el-select-D4yOM1Wt.js +1 -0
- package/web/assets/el-switch-DH9ZCUCL.js +1 -0
- package/web/assets/el-tab-pane-DZbafwid.js +1 -0
- package/web/assets/el-table-column-DfUQ-V4y.js +1 -0
- package/web/assets/{enterprise-management-service-B6KyNDyG.js → enterprise-management-service-Ed6ABWAl.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-B2jcqlY5.js → erDiagram-2YWLMYGG-BKEsQwuM.js} +2 -2
- package/web/assets/{error-presentation-cyVRuBgz.js → error-presentation-CNJynRg9.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-9c5G5NB6.js → flowDiagram-T62WH6J4-B5bL7-K_.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-DYDs9vX6.js → ganttDiagram-EL5Y4UJY-B1Ag2aBF.js} +2 -2
- package/web/assets/gitGraphDiagram-WWUBYQGX-CpGtXF_a.js +106 -0
- package/web/assets/{hosted-conversation-template-client-Ndxn-PJK.js → hosted-conversation-template-client-BZbbyFBA.js} +1 -1
- package/web/assets/{index-MMz-YtJL.js → index-0R4Pyxzo.js} +1 -1
- package/web/assets/{index-DI9U2zD6.js → index-AwWYi4ME.js} +1 -1
- package/web/assets/index-BCN52lek.js +1 -0
- package/web/assets/{index-DW5vUEXW.js → index-BG_XMzYE.js} +1 -1
- package/web/assets/{index-B7diW13Y.js → index-BdQUp849.js} +1 -1
- package/web/assets/{index-DnPVd3rb.js → index-Bf_PuKl1.js} +1 -1
- package/web/assets/{index-CAh_jqmY.js → index-Bnnd_wQ6.js} +1 -1
- package/web/assets/{index-DEZvlUsn.js → index-BoBRWmIZ.js} +1 -1
- package/web/assets/{index-BVdJAvRe.js → index-BqvH9VmY.js} +1 -1
- package/web/assets/{index-CZAfCBll.js → index-BxFooCjN.js} +1 -1
- package/web/assets/{index-DSKFmNJ4.js → index-C082A9x7.js} +1 -1
- package/web/assets/{index-Dks60iGm.js → index-C5uR_K1s.js} +1 -1
- package/web/assets/{index-EW1VHqsl.js → index-CGAp9MOG.js} +1 -1
- package/web/assets/{index-C1PoPZgN.js → index-CMVupQXX.js} +19 -19
- package/web/assets/{index-BkEsG_f_.js → index-CRZ8vLwd.js} +1 -1
- package/web/assets/{index-RXBhQ8vk.js → index-CZaWpYS4.js} +1 -1
- package/web/assets/{index-ClN_hEFy.js → index-Ci3e5f4r.js} +1 -1
- package/web/assets/{index-CEfWr1ey.js → index-CkDYzOoa.js} +1 -1
- package/web/assets/{index-DZ60H2e0.js → index-D6HOIUvL.js} +7 -7
- package/web/assets/{index-DIITYNnE.js → index-DBk5fOHv.js} +1 -1
- package/web/assets/{index-CA0x6n5X.js → index-DS2dIzPL.js} +1 -1
- package/web/assets/{index-DZx2t7da.css → index-DbbfyLAB.css} +1 -1
- package/web/assets/{index-DHjAnr6w.js → index-DqoyX1eU.js} +1 -1
- package/web/assets/{index-D2_hyQuZ.js → index-UH4vq0e1.js} +1 -1
- package/web/assets/{index-Dgzn8VE8.js → index-XgDMX-Fh.js} +1 -1
- package/web/assets/{index-8MbTKHFT.js → index-e3XXRQ7N.js} +1 -1
- package/web/assets/{index-D9XujVzN.js → index-eBiRISWG.js} +1 -1
- package/web/assets/{index-DsfpHPPY.js → index-lEPZwdtD.js} +1 -1
- package/web/assets/{index-D0wg5bz3.js → index-qVgab12c.js} +1 -1
- package/web/assets/{index-Czl2u09b.js → index-ruG2kCGZ.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-cKY9dEhX.js +2 -0
- package/web/assets/isArrayLikeObject-DlHe8-Tf.js +1 -0
- package/web/assets/{ishikawaDiagram-5VMMS53U-D_tjMGvs.js → ishikawaDiagram-5VMMS53U-Vd5NjoBg.js} +2 -2
- package/web/assets/{journeyDiagram-EYS64GPL-BZiHIxJR.js → journeyDiagram-EYS64GPL-BuwGlz85.js} +2 -2
- package/web/assets/{kanban-definition-UXKFOSKX-BjL6xGLm.js → kanban-definition-UXKFOSKX-ba9p8gPX.js} +2 -2
- package/web/assets/layout-B1FaWJww.js +1 -0
- package/web/assets/{linear-BHGa3xmy.js → linear-BAvvOCNB.js} +1 -1
- package/web/assets/{management-url-service-HtCACFrT.js → management-url-service-D1QCPDRB.js} +1 -1
- package/web/assets/{mcp-center-service-wjewnEoZ.js → mcp-center-service-QqdYn38x.js} +1 -1
- package/web/assets/merge-DV6f0ofh.js +1 -0
- package/web/assets/{mermaid.core-ECfdkvrI.js → mermaid.core-DkOwQbqf.js} +5 -5
- package/web/assets/message-box-service-Bl2m0wFm.js +1 -0
- package/web/assets/{mindmap-definition-THT77NOG-D_Wf456_.js → mindmap-definition-THT77NOG-jvjhgERW.js} +2 -2
- package/web/assets/mobile-dialog-return-service-TSZfE1b8.css +1 -0
- package/web/assets/mobile-dialog-return-service-kPxstxto.js +1 -0
- package/web/assets/{oauth-callback-Dl61nHUW.js → oauth-callback-D37EqN8R.js} +1 -1
- package/web/assets/pegDiagram-XKGWAZYB-Bv0_Dwf6.js +1 -0
- package/web/assets/{pieDiagram-E7YTZNPT-DNlzSfh4.js → pieDiagram-E7YTZNPT-YjMfpjFH.js} +2 -2
- package/web/assets/{quadrantDiagram-AXDQQJYC-p_L-Ri82.js → quadrantDiagram-AXDQQJYC-CE1aC1SY.js} +2 -2
- package/web/assets/railroadDiagram-O6MQD6OU-iddX6taR.js +1 -0
- package/web/assets/{requirementDiagram-IS5BZ75X-DENmRcwx.js → requirementDiagram-IS5BZ75X-DgTCxilY.js} +9 -9
- package/web/assets/{runner-presentation-4fDZAYhc.js → runner-presentation-L08N-UKP.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-By_-wAs2.js → sankeyDiagram-P5KCCOFB-D_29p7Y2.js} +2 -2
- package/web/assets/{sequenceDiagram-WJ2MYXX4-D-NNf_IA.js → sequenceDiagram-WJ2MYXX4-CPBFSUPK.js} +2 -2
- package/web/assets/{session-share-client-service-D9Bx6YdT.js → session-share-client-service-ukIlHGFq.js} +1 -1
- package/web/assets/sizeCapture-INFHLROL-C29fdIdK.js +1 -0
- package/web/assets/stateDiagram-XQSTLZYL-BX_1Bk92.js +1 -0
- package/web/assets/stateDiagram-v2-IH3M54BS-8O6BPasP.js +1 -0
- package/web/assets/swimlanes-V6O3JKXN-B-z8FKIy.js +1 -0
- package/web/assets/swimlanesDiagram-JKAHXJPX-2Ewl8aTZ.js +8 -0
- package/web/assets/{time-presentation-COCAmFXN.js → time-presentation-CS0vah0I.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-BGSMK4o4.js → timeline-definition-24CTP7MA-Do0hCesY.js} +2 -2
- package/web/assets/union-Cv6qbhyO.js +1 -0
- package/web/assets/{use-form-common-props-Qasxkz0k.js → use-form-common-props-CIbJzTYd.js} +1 -1
- package/web/assets/use-wheel-DyKH9QTZ.js +1 -0
- package/web/assets/{vennDiagram-4TSXK5OY-CogALo2v.js → vennDiagram-4TSXK5OY-D5_MO7PL.js} +2 -2
- package/web/assets/vnode-DwcBFtkE.js +1 -0
- package/web/assets/{wardleyDiagram-VM6X3IG4-Cy8XLNG3.js → wardleyDiagram-VM6X3IG4-DqAvTs04.js} +2 -2
- package/web/assets/{workbench-composer-interaction-controller-CDcdFflI.js → workbench-composer-interaction-controller-BM_N_h7B.js} +15 -15
- package/web/assets/workbench-live-service-DhLHWuxW.js +1 -0
- package/web/assets/workbench-presentation-Bf9J3cxc.js +1 -0
- package/web/assets/workspace-direct-transfer-service-COT51fe6.js +2 -0
- package/web/assets/{xychartDiagram-S5SC5T6Z-DbCZmzen.js → xychartDiagram-S5SC5T6Z-BAETBY7s.js} +2 -2
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +4 -4
- package/web/docs/administration/audit.html +4 -4
- package/web/docs/administration/conversation-templates.html +4 -4
- package/web/docs/administration/email-notifications.html +4 -4
- package/web/docs/administration/license.html +4 -4
- package/web/docs/administration/nodes-workspaces.html +4 -4
- package/web/docs/administration/oauth.html +4 -4
- package/web/docs/administration/secrets.html +4 -4
- package/web/docs/administration/template-workspace-maintenance.html +4 -4
- package/web/docs/administration/users-organizations.html +4 -4
- package/web/docs/assets/{app.BcnxJDd9.js → app.B_anfJlU.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.C-a1n1Im.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.Dw08kPuo.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.DPZN2_XI.js → VPLocalSearchBox.CxNyUDlM.js} +1 -1
- package/web/docs/assets/chunks/{theme.CQ0UXGRU.js → theme.B69nYXbn.js} +2 -2
- package/web/docs/assets/en-US_workbench_remote-desktop.md.CYO7vZad.js +1 -0
- package/web/docs/assets/en-US_workbench_remote-desktop.md.CYO7vZad.lean.js +1 -0
- package/web/docs/assets/workbench_remote-desktop.md.Cgl0bBz2.js +1 -0
- package/web/docs/assets/workbench_remote-desktop.md.Cgl0bBz2.lean.js +1 -0
- package/web/docs/concepts/architecture.html +4 -4
- package/web/docs/concepts/data-and-security.html +4 -4
- package/web/docs/concepts/files-git-terminal.html +4 -4
- package/web/docs/concepts/node-and-workspace.html +4 -4
- package/web/docs/concepts/permissions-and-sharing.html +4 -4
- package/web/docs/concepts/runner-control.html +4 -4
- package/web/docs/concepts/secrets.html +4 -4
- package/web/docs/concepts/session-run-turn.html +4 -4
- package/web/docs/deployment/backup-restore.html +4 -4
- package/web/docs/deployment/network.html +4 -4
- package/web/docs/deployment/node-installation.html +4 -4
- package/web/docs/deployment/node-linux.html +4 -4
- package/web/docs/deployment/node-macos.html +4 -4
- package/web/docs/deployment/node-windows.html +4 -4
- package/web/docs/deployment/production.html +4 -4
- package/web/docs/deployment/security-checklist.html +4 -4
- package/web/docs/deployment/upgrade.html +4 -4
- package/web/docs/en-US/administration/account.html +4 -4
- package/web/docs/en-US/administration/audit.html +4 -4
- package/web/docs/en-US/administration/conversation-templates.html +4 -4
- package/web/docs/en-US/administration/email-notifications.html +4 -4
- package/web/docs/en-US/administration/license.html +4 -4
- package/web/docs/en-US/administration/nodes-workspaces.html +4 -4
- package/web/docs/en-US/administration/oauth.html +4 -4
- package/web/docs/en-US/administration/secrets.html +4 -4
- package/web/docs/en-US/administration/template-workspace-maintenance.html +4 -4
- package/web/docs/en-US/administration/users-organizations.html +4 -4
- package/web/docs/en-US/concepts/architecture.html +4 -4
- package/web/docs/en-US/concepts/data-and-security.html +4 -4
- package/web/docs/en-US/concepts/files-git-terminal.html +4 -4
- package/web/docs/en-US/concepts/node-and-workspace.html +4 -4
- package/web/docs/en-US/concepts/permissions-and-sharing.html +4 -4
- package/web/docs/en-US/concepts/runner-control.html +4 -4
- package/web/docs/en-US/concepts/secrets.html +4 -4
- package/web/docs/en-US/concepts/session-run-turn.html +4 -4
- package/web/docs/en-US/deployment/backup-restore.html +4 -4
- package/web/docs/en-US/deployment/network.html +4 -4
- package/web/docs/en-US/deployment/node-installation.html +4 -4
- package/web/docs/en-US/deployment/node-linux.html +4 -4
- package/web/docs/en-US/deployment/node-macos.html +4 -4
- package/web/docs/en-US/deployment/node-windows.html +4 -4
- package/web/docs/en-US/deployment/production.html +4 -4
- package/web/docs/en-US/deployment/security-checklist.html +4 -4
- package/web/docs/en-US/deployment/upgrade.html +4 -4
- package/web/docs/en-US/getting-started/connect-node.html +4 -4
- package/web/docs/en-US/getting-started/first-agent-session.html +4 -4
- package/web/docs/en-US/getting-started/first-login.html +4 -4
- package/web/docs/en-US/getting-started/next-steps.html +4 -4
- package/web/docs/en-US/getting-started/npm-quick-start.html +4 -4
- package/web/docs/en-US/getting-started/overview.html +4 -4
- package/web/docs/en-US/getting-started/prerequisites.html +4 -4
- package/web/docs/en-US/getting-started/register-workspace.html +4 -4
- package/web/docs/en-US/getting-started/server-installation.html +4 -4
- package/web/docs/en-US/operations/marctl.html +4 -4
- package/web/docs/en-US/reference/configuration.html +4 -4
- package/web/docs/en-US/reference/keyboard-shortcuts.html +4 -4
- package/web/docs/en-US/reference/limits.html +4 -4
- package/web/docs/en-US/reference/ports-paths-data.html +4 -4
- package/web/docs/en-US/reference/status-and-errors.html +4 -4
- package/web/docs/en-US/runners/claude-code.html +4 -4
- package/web/docs/en-US/runners/codex.html +4 -4
- package/web/docs/en-US/runners/mar-agent.html +4 -4
- package/web/docs/en-US/runners/opencode.html +4 -4
- package/web/docs/en-US/runners/overview.html +4 -4
- package/web/docs/en-US/runners/runner-troubleshooting.html +4 -4
- package/web/docs/en-US/troubleshooting/node-offline.html +4 -4
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +4 -4
- package/web/docs/en-US/troubleshooting/session-run.html +4 -4
- package/web/docs/en-US/troubleshooting/terminal.html +4 -4
- package/web/docs/en-US/troubleshooting/workspace-files.html +4 -4
- package/web/docs/en-US/workbench/composer.html +4 -4
- package/web/docs/en-US/workbench/context-and-plan.html +4 -4
- package/web/docs/en-US/workbench/conversation.html +4 -4
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +4 -4
- package/web/docs/en-US/workbench/files.html +4 -4
- package/web/docs/en-US/workbench/git-changes.html +4 -4
- package/web/docs/en-US/workbench/git-history.html +4 -4
- package/web/docs/en-US/workbench/hosted-conversations.html +4 -4
- package/web/docs/en-US/workbench/mobile.html +4 -4
- package/web/docs/en-US/workbench/navigation.html +4 -4
- package/web/docs/en-US/workbench/remote-desktop.html +25 -0
- package/web/docs/en-US/workbench/sessions.html +4 -4
- package/web/docs/en-US/workbench/skills.html +4 -4
- package/web/docs/en-US/workbench/terminal.html +4 -4
- package/web/docs/getting-started/connect-node.html +4 -4
- package/web/docs/getting-started/first-agent-session.html +4 -4
- package/web/docs/getting-started/first-login.html +4 -4
- package/web/docs/getting-started/next-steps.html +4 -4
- package/web/docs/getting-started/npm-quick-start.html +4 -4
- package/web/docs/getting-started/overview.html +4 -4
- package/web/docs/getting-started/prerequisites.html +4 -4
- package/web/docs/getting-started/register-workspace.html +4 -4
- package/web/docs/getting-started/server-installation.html +4 -4
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +4 -4
- package/web/docs/reference/configuration.html +4 -4
- package/web/docs/reference/keyboard-shortcuts.html +4 -4
- package/web/docs/reference/limits.html +4 -4
- package/web/docs/reference/ports-paths-data.html +4 -4
- package/web/docs/reference/status-and-errors.html +4 -4
- package/web/docs/runners/claude-code.html +4 -4
- package/web/docs/runners/codex.html +4 -4
- package/web/docs/runners/mar-agent.html +4 -4
- package/web/docs/runners/opencode.html +4 -4
- package/web/docs/runners/overview.html +4 -4
- package/web/docs/runners/runner-troubleshooting.html +4 -4
- package/web/docs/troubleshooting/node-offline.html +4 -4
- package/web/docs/troubleshooting/quick-diagnosis.html +4 -4
- package/web/docs/troubleshooting/session-run.html +4 -4
- package/web/docs/troubleshooting/terminal.html +4 -4
- package/web/docs/troubleshooting/workspace-files.html +4 -4
- package/web/docs/workbench/composer.html +4 -4
- package/web/docs/workbench/context-and-plan.html +4 -4
- package/web/docs/workbench/conversation.html +4 -4
- package/web/docs/workbench/file-reference-and-attachment.html +4 -4
- package/web/docs/workbench/files.html +4 -4
- package/web/docs/workbench/git-changes.html +4 -4
- package/web/docs/workbench/git-history.html +4 -4
- package/web/docs/workbench/hosted-conversations.html +4 -4
- package/web/docs/workbench/mobile.html +4 -4
- package/web/docs/workbench/navigation.html +4 -4
- package/web/docs/workbench/remote-desktop.html +25 -0
- package/web/docs/workbench/sessions.html +4 -4
- package/web/docs/workbench/skills.html +4 -4
- package/web/docs/workbench/terminal.html +4 -4
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuditManagementPage-DDpkb6iu.js +0 -1
- package/web/assets/BusyIndicator-DJPKdj7P.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-BwzYTnCM.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-DQ6FaVLQ.js +0 -1
- package/web/assets/EnterpriseUserManagementPage-BST3IqcQ.js +0 -1
- package/web/assets/EnvironmentSecretManager-BftWs0wS.js +0 -1
- package/web/assets/FilePreviewLoading-CJ5VLGu6.js +0 -23
- package/web/assets/HtmlPreviewFrame-B7vpYm3x.js +0 -7
- package/web/assets/LicenseManagementPage-CZUYN0A5.js +0 -1
- package/web/assets/ManagementPagination-DHSJOUUG.js +0 -1
- package/web/assets/MarAgentModelManagementPage-BcJA65mU.js +0 -1
- package/web/assets/MarIcon-BG4oszgR.js +0 -1
- package/web/assets/MarkdownFilePreview-CEadWA03.js +0 -2
- package/web/assets/McpDetailsDialog-C7zDHYpR.js +0 -1
- package/web/assets/McpSourceManagementPage-Bxa29fjL.js +0 -1
- package/web/assets/McpSourceManagementPage-DHJVieZJ.js +0 -1
- package/web/assets/NodeManagementPage-CFk_gfX6.js +0 -1
- package/web/assets/NodeManagementPage-TqqcVd3V.js +0 -1
- package/web/assets/OAuthManagementPage-wWLyvvMw.js +0 -2
- package/web/assets/OrganizationManagementPage-CXg83jd2.js +0 -1
- package/web/assets/ResourceManagementPanel-iBwitvZw.js +0 -2
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-Btp4_en9.js +0 -1
- package/web/assets/SecretManagementPage-Cu4PYqAM.js +0 -1
- package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-Bep4WQl2.js +0 -1
- package/web/assets/SessionSharePage-2UPqwt8m.js +0 -2
- package/web/assets/SettingsContent-BhTtkd24.js +0 -1
- package/web/assets/SettingsContent-JWXFzqNV.js +0 -1
- package/web/assets/SkillCenterPage-Br4i8Flw.js +0 -1
- package/web/assets/SkillCenterPage-CvhfmdSM.js +0 -1
- package/web/assets/SkillDetailsDialog-DWLYQQjl.js +0 -1
- package/web/assets/SkillSourceManagementPage-C8lC34vi.js +0 -1
- package/web/assets/SkillSourceManagementPage-CT3mUj58.js +0 -1
- package/web/assets/StandaloneFilePreviewPage-DBxqHpQr.js +0 -1
- package/web/assets/SystemConfigurationPage-Bu52pfMf.js +0 -1
- package/web/assets/SystemConfigurationPage-iivE-urf.js +0 -1
- package/web/assets/SystemInformationPage-DggNu1_5.js +0 -1
- package/web/assets/WorkspaceManagementPage-BlG9GMdx.js +0 -1
- package/web/assets/WorkspaceManagementPage-C_FawYEL.js +0 -1
- package/web/assets/_baseIteratee-DymaJqOo.js +0 -1
- package/web/assets/abnfDiagram-VCTEODGH-CZ0eLvTq.js +0 -1
- package/web/assets/advancedFormat-BuXJ43Ll.js +0 -1
- package/web/assets/architectureDiagram-5GKGNRK7--QGii2Ew.js +0 -36
- package/web/assets/channel-BORKaqRb.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-BPa4z-gv.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-BPa4z-gv.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-BKvPnBMj.js +0 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-2bWOzv3Q.js +0 -62
- package/web/assets/diagram-UQ7AKVKN-CwlODirx.js +0 -41
- package/web/assets/diagram-VX7I27RA-D-hLYgih.js +0 -24
- package/web/assets/diagram-Z3DM3KII-CsVM1_2N.js +0 -24
- package/web/assets/ebnfDiagram-PWID7BFC-CbiJcKPC.js +0 -1
- package/web/assets/el-alert-D_HcHAtv.js +0 -1
- package/web/assets/el-cascader-DtHRyBg6.js +0 -12
- package/web/assets/el-checkbox-CyD10PJl.js +0 -1
- package/web/assets/el-date-picker-Cw7477MJ.js +0 -1
- package/web/assets/el-descriptions-_8vFS-Hf.js +0 -1
- package/web/assets/el-form-item-B38mTD0f.js +0 -12
- package/web/assets/el-input-number-dggMLw2c.js +0 -1
- package/web/assets/el-radio-DuEE2nbq.js +0 -1
- package/web/assets/el-select-DQdVntOz.js +0 -1
- package/web/assets/el-switch-uikLmwI-.js +0 -1
- package/web/assets/el-tab-pane-dw4hOWXx.js +0 -1
- package/web/assets/el-table-column-ewnVNWdG.js +0 -1
- package/web/assets/gitGraphDiagram-WWUBYQGX-Cz_hlT9S.js +0 -106
- package/web/assets/index-B3jFpujj.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-Bsumzg70.js +0 -2
- package/web/assets/isArrayLikeObject-DMc4IHcV.js +0 -1
- package/web/assets/layout-M-S1STc5.js +0 -1
- package/web/assets/merge-B10XqAbO.js +0 -1
- package/web/assets/message-box-service-DNN6Zli9.js +0 -1
- package/web/assets/mobile-dialog-return-service-B3gEe5CK.js +0 -1
- package/web/assets/mobile-dialog-return-service-pE1w6qia.css +0 -1
- package/web/assets/pegDiagram-XKGWAZYB-Dp928xtJ.js +0 -1
- package/web/assets/railroadDiagram-O6MQD6OU-CiuGDZvx.js +0 -1
- package/web/assets/sizeCapture-INFHLROL-Bpu7aOj_.js +0 -1
- package/web/assets/stateDiagram-XQSTLZYL-BHH486Ve.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-DfjKoh1G.js +0 -1
- package/web/assets/swimlanes-V6O3JKXN-n3tGpQ4z.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-CO8cAhiR.js +0 -8
- package/web/assets/union-vNt3EAwE.js +0 -1
- package/web/assets/use-wheel-B3Q5vuXa.js +0 -1
- package/web/assets/workbench-presentation-DA1cZQta.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.CbjDKf82.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.D9CYPMbv.js +0 -1
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import{I as lr}from"./chunk-2Q5K7J3B-Co64vCep.js";import{p as hr}from"./chunk-JWPE2WC7-DeLMw-nn.js";import{q as $r,p as fr,s as gr,g as ur,a as yr,b as xr,_ as h,A as J,l as w,j as mr,c as W,z as pr,B as br,r as wr,k as B,D as kr,E as vr,F as Cr}from"./mermaid.core-DkOwQbqf.js";import{p as Er}from"./cynefin-OW5HDTMX-BDyZVblu.js";import"./index-CMVupQXX.js";import"./FilePreviewLoading-BFLFY0Vm.js";import"./use-form-common-props-CIbJzTYd.js";import"./el-scrollbar-Dic_kO4i.js";import"./el-input-BpN_LYlO.js";import"./mobile-dialog-return-service-kPxstxto.js";import"./BusyIndicator-C13WYOfw.js";import"./isArrayLikeObject-DlHe8-Tf.js";import"./_baseIteratee-Dahax6jy.js";import"./union-Cv6qbhyO.js";import"./_baseFindIndex-D7XfJLKM.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=vr.gitGraph,S=h(()=>kr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return Cr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),wr()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Er("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
|
+
${s-i/2-L/2},${x+R}
|
|
3
|
+
${s-i/2-L/2},${x-R}
|
|
4
|
+
${t.posWithOffset-i/2-L},${x-c-R}
|
|
5
|
+
${t.posWithOffset+i/2+L},${x-c-R}
|
|
6
|
+
${t.posWithOffset+i/2+L},${x+c+R}
|
|
7
|
+
${t.posWithOffset-i/2-L},${x+c+R}`),f.attr("cy",x).attr("cx",s-i/2+L/2).attr("r",1.5).attr("class","tag-hole"),y==="TB"||y==="BT"){const u=s+$;g.attr("class","tag-label-bkg").attr("points",`
|
|
8
|
+
${t.x},${u+2}
|
|
9
|
+
${t.x},${u-2}
|
|
10
|
+
${t.x+O},${u-c-2}
|
|
11
|
+
${t.x+O+i+4},${u-c-2}
|
|
12
|
+
${t.x+O+i+4},${u+c+2}
|
|
13
|
+
${t.x+O},${u+c+2}`).attr("transform","translate(12,12) rotate(45, "+t.x+","+s+")"),f.attr("cx",t.x+L/2).attr("cy",u).attr("transform","translate(12,12) rotate(45, "+t.x+","+s+")"),l.attr("x",t.x+5).attr("y",u+3).attr("transform","translate(14,14) rotate(45, "+t.x+","+s+")")}}}},"drawCommitTags"),ce=h(r=>{switch(r.customType??r.type){case m.NORMAL:return"commit-normal";case m.REVERSE:return"commit-reverse";case m.HIGHLIGHT:return"commit-highlight";case m.MERGE:return"commit-merge";case m.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),ie=h((r,e,t,s)=>{const o={x:0,y:0};if(r.parents.length>0){const i=cr(r.parents);if(i){const n=s.get(i)??o;return e==="TB"?n.y+_:e==="BT"?(s.get(r.id)??o).y-_:n.x+_}}else return e==="TB"?F:e==="BT"?(s.get(r.id)??o).y-_:0;return 0},"calculatePosition"),de=h((r,e,t)=>{const s=y==="BT"&&t?e:e+O,o=C.get(r.branch)?.pos,i=y==="TB"||y==="BT"?C.get(r.branch)?.pos:s;if(i===void 0||o===void 0)throw new Error(`Position were undefined for commit ${r.id}`);const n=j.has(W().theme??""),a=y==="TB"||y==="BT"?s:o+(n?X/2+1:-2);return{x:i,y:a,posWithOffset:s}},"getCommitPosition"),er=h((r,e,t,s)=>{const o=r.append("g").attr("class","commit-bullets"),i=r.append("g").attr("class","commit-labels");let n=y==="TB"||y==="BT"?F:0;const a=[...e.keys()],l=s.parallelCommits??!1,f=h(($,c)=>{const x=e.get($)?.seq,u=e.get(c)?.seq;return x!==void 0&&u!==void 0?x-u:0},"sortKeys");let g=a.sort(f);y==="BT"&&(l&&Zr(g,e,n),g=g.reverse()),g.forEach($=>{const c=e.get($);if(!c)throw new Error(`Commit not found for key ${$}`);l&&(n=ie(c,y,n,E));const x=de(c,n,l);if(t){const u=ce(c),p=c.customType??c.type,b=C.get(c.branch)?.index??0;ne(o,c,x,u,b,p),se(i,c,x,n,s),oe(i,c,x,n)}y==="TB"||y==="BT"?E.set(c.id,{x:x.x,y:x.posWithOffset}):E.set(c.id,{x:x.posWithOffset,y:x.y}),n=y==="BT"&&l?n+_:n+_+O,n>I&&(I=n)})},"drawCommits"),le=h((r,e,t,s,o)=>{const n=(y==="TB"||y==="BT"?t.x<s.x:t.y<s.y)?e.branch:r.branch,a=h(f=>f.branch===n,"isOnBranchToGetCurve"),l=h(f=>f.seq>r.seq&&f.seq<e.seq,"isBetweenCommits");return[...o.values()].some(f=>l(f)&&a(f))},"shouldRerouteArrow"),P=h((r,e,t=0)=>{const s=r+Math.abs(r-e)/2;if(t>5)return s;if(z.every(n=>Math.abs(n-s)>=10))return z.push(s),s;const i=Math.abs(r-e);return P(r,e-i/5,t+1)},"findLane"),he=h((r,e,t,s)=>{const{theme:o}=W(),i=Z.has(o??""),n=E.get(e.id),a=E.get(t.id);if(n===void 0||a===void 0)throw new Error(`Commit positions not found for commits ${e.id} and ${t.id}`);const l=le(e,t,n,a,s);let f="",g="",$=0,c=0,x=C.get(t.branch)?.index;t.type===m.MERGE&&e.id!==t.parents[0]&&(x=C.get(e.branch)?.index);let u;if(l){f="A 10 10, 0, 0, 0,",g="A 10 10, 0, 0, 1,",$=10,c=10;const p=n.y<a.y?P(n.y,a.y):P(a.y,n.y),b=n.x<a.x?P(n.x,a.x):P(a.x,n.x);y==="TB"?n.x<a.x?u=`M ${n.x} ${n.y} L ${b-$} ${n.y} ${g} ${b} ${n.y+c} L ${b} ${a.y-$} ${f} ${b+c} ${a.y} L ${a.x} ${a.y}`:(x=C.get(e.branch)?.index,u=`M ${n.x} ${n.y} L ${b+$} ${n.y} ${f} ${b} ${n.y+c} L ${b} ${a.y-$} ${g} ${b-c} ${a.y} L ${a.x} ${a.y}`):y==="BT"?n.x<a.x?u=`M ${n.x} ${n.y} L ${b-$} ${n.y} ${f} ${b} ${n.y-c} L ${b} ${a.y+$} ${g} ${b+c} ${a.y} L ${a.x} ${a.y}`:(x=C.get(e.branch)?.index,u=`M ${n.x} ${n.y} L ${b+$} ${n.y} ${g} ${b} ${n.y-c} L ${b} ${a.y+$} ${f} ${b-c} ${a.y} L ${a.x} ${a.y}`):n.y<a.y?u=`M ${n.x} ${n.y} L ${n.x} ${p-$} ${f} ${n.x+c} ${p} L ${a.x-$} ${p} ${g} ${a.x} ${p+c} L ${a.x} ${a.y}`:(x=C.get(e.branch)?.index,u=`M ${n.x} ${n.y} L ${n.x} ${p+$} ${g} ${n.x+c} ${p} L ${a.x-$} ${p} ${f} ${a.x} ${p-c} L ${a.x} ${a.y}`)}else f="A 20 20, 0, 0, 0,",g="A 20 20, 0, 0, 1,",$=20,c=20,y==="TB"?(n.x<a.x&&(t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${n.x} ${a.y-$} ${f} ${n.x+c} ${a.y} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${a.x-$} ${n.y} ${g} ${a.x} ${n.y+c} L ${a.x} ${a.y}`),n.x>a.x&&(f="A 20 20, 0, 0, 0,",g="A 20 20, 0, 0, 1,",$=20,c=20,t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${n.x} ${a.y-$} ${g} ${n.x-c} ${a.y} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${a.x+$} ${n.y} ${f} ${a.x} ${n.y+c} L ${a.x} ${a.y}`),n.x===a.x&&(u=`M ${n.x} ${n.y} L ${a.x} ${a.y}`)):y==="BT"?(n.x<a.x&&(t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${n.x} ${a.y+$} ${g} ${n.x+c} ${a.y} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${a.x-$} ${n.y} ${f} ${a.x} ${n.y-c} L ${a.x} ${a.y}`),n.x>a.x&&(f="A 20 20, 0, 0, 0,",g="A 20 20, 0, 0, 1,",$=20,c=20,t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${n.x} ${a.y+$} ${f} ${n.x-c} ${a.y} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${a.x+$} ${n.y} ${g} ${a.x} ${n.y-c} L ${a.x} ${a.y}`),n.x===a.x&&(u=`M ${n.x} ${n.y} L ${a.x} ${a.y}`)):(n.y<a.y&&(t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${a.x-$} ${n.y} ${g} ${a.x} ${n.y+c} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${n.x} ${a.y-$} ${f} ${n.x+c} ${a.y} L ${a.x} ${a.y}`),n.y>a.y&&(t.type===m.MERGE&&e.id!==t.parents[0]?u=`M ${n.x} ${n.y} L ${a.x-$} ${n.y} ${f} ${a.x} ${n.y-c} L ${a.x} ${a.y}`:u=`M ${n.x} ${n.y} L ${n.x} ${a.y+$} ${g} ${n.x+c} ${a.y} L ${a.x} ${a.y}`),n.y===a.y&&(u=`M ${n.x} ${n.y} L ${a.x} ${a.y}`));if(u===void 0)throw new Error("Line definition not found");r.append("path").attr("d",u).attr("class","arrow arrow"+H(x,G,i))},"drawArrow"),$e=h((r,e)=>{const t=r.append("g").attr("class","commit-arrows");[...e.keys()].forEach(s=>{const o=e.get(s);o.parents&&o.parents.length>0&&o.parents.forEach(i=>{he(t,e.get(i),o,e)})})},"drawArrows"),fe=h((r,e,t,s)=>{const{look:o,theme:i,themeVariables:n}=W(),{dropShadow:a,THEME_COLOR_LIMIT:l}=n,f=j.has(i??""),g=Z.has(i??""),$=r.append("g");e.forEach((c,x)=>{const u=H(x,f?l:G,g),p=C.get(c.name)?.pos;if(p===void 0)throw new Error(`Position not found for branch ${c.name}`);const b=y==="TB"||y==="BT"?p:f?p+X/2+1:p-2,k=$.append("line");k.attr("x1",0),k.attr("y1",b),k.attr("x2",I),k.attr("y2",b),k.attr("class","branch branch"+u),y==="TB"?(k.attr("y1",F),k.attr("x1",p),k.attr("y2",I),k.attr("x2",p)):y==="BT"&&(k.attr("y1",I),k.attr("x1",p),k.attr("y2",F),k.attr("x2",p)),z.push(b);const U=c.name,D=or(U),T=$.insert("rect"),M=$.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+u);M.node().appendChild(D);const v=D.getBBox(),rr=f?0:4,N=f?16:0,A=f?X:0;o==="neo"&&T.attr("data-look","neo"),T.attr("class","branchLabelBkg label"+u).attr("style",o==="neo"?`filter:${f?`url(#${s}-drop-shadow)`:a}`:"").attr("rx",rr).attr("ry",rr).attr("x",-v.width-4-(t.rotateCommitLabel===!0?30:0)).attr("y",-v.height/2+10).attr("width",v.width+18+N).attr("height",v.height+4+A),M.attr("transform","translate("+(-v.width-14-(t.rotateCommitLabel===!0?30:0)+N/2)+", "+(b-v.height/2-2)+")"),y==="TB"?(T.attr("x",p-v.width/2-10).attr("y",0),M.attr("transform","translate("+(p-v.width/2-5)+", 0)"),f&&(T.attr("transform",`translate(${-N/2-3}, ${-A-10})`),M.attr("transform","translate("+(p-v.width/2-5)+", "+(-A*2+7)+")"))):y==="BT"?(T.attr("x",p-v.width/2-10).attr("y",I),M.attr("transform","translate("+(p-v.width/2-5)+", "+I+")"),f&&(T.attr("transform",`translate(${-N/2-3}, ${A+10})`),M.attr("transform","translate("+(p-v.width/2-5)+", "+(I+A*2+4)+")"))):T.attr("transform","translate(-19, "+(b-12-A/2)+")")})},"drawBranches"),ge=h(function(r,e,t,s,o){return C.set(r,{pos:e,index:t}),e+=50+(o?40:0)+(y==="TB"||y==="BT"?s.width/2:0),e},"setBranchPosition"),ue=h(function(r,e,t,s){Jr(),w.debug("in gitgraph renderer",r+`
|
|
14
|
+
`,"id:",e,t);const o=s.db;if(!o.getConfig){w.error("getConfig method is not available on db");return}const i=o.getConfig(),n=i.rotateCommitLabel??!1;q=o.getCommits();const a=o.getBranchesAsObjArray();y=o.getDirection();const l=mr(`[id="${e}"]`),{look:f,theme:g,themeVariables:$}=W(),{useGradient:c,gradientStart:x,gradientStop:u,filterColor:p}=$;if(c){const k=l.append("defs").append("linearGradient").attr("id",e+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");k.append("stop").attr("offset","0%").attr("stop-color",x).attr("stop-opacity",1),k.append("stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}f==="neo"&&j.has(g??"")&&l.append("defs").append("filter").attr("id",e+"-drop-shadow").attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",p);let b=0;a.forEach((k,U)=>{const D=or(k.name),T=l.append("g"),K=T.insert("g").attr("class","branchLabel"),M=K.insert("g").attr("class","label branch-label");M.node()?.appendChild(D);const v=D.getBBox();b=ge(k.name,b,U,v,n),M.remove(),K.remove(),T.remove()}),er(l,q,!1,i),i.showBranches&&fe(l,a,i,e),$e(l,q),er(l,q,!0,i),pr.insertTitle(l,"gitTitleText",i.titleTopMargin??0,o.getDiagramTitle()),br(void 0,l,i.diagramPadding,i.useMaxWidth)},"draw"),ye={draw:ue},ir=8,dr=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),xe=new Set(["redux-color","redux-dark-color"]),me=new Set(["neo","neo-dark"]),pe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),be=new Set(["redux","redux-dark","redux-color","redux-dark-color","neo","neo-dark"]),we=h(r=>{const{svgId:e}=r;let t="";if(r.useGradient&&e)for(let s=0;s<r.THEME_COLOR_LIMIT;s++)t+=`
|
|
15
|
+
.label${s} { fill: ${r.mainBkg}; stroke: url(${e}-gradient); stroke-width: ${r.strokeWidth};}
|
|
16
|
+
`;return t},"genGitGraphGradient"),ke=h(r=>{const e=J(),{theme:t,themeVariables:s}=e,{borderColorArray:o}=s,i=dr.has(t);if(me.has(t)){let n="";for(let a=0;a<r.THEME_COLOR_LIMIT;a++)if(a===0)n+=`
|
|
17
|
+
.branch-label${a} { fill: ${r.nodeBorder};}
|
|
18
|
+
.commit${a} { stroke: ${r.nodeBorder}; }
|
|
19
|
+
.commit-highlight${a} { stroke: ${r.nodeBorder}; fill: ${r.nodeBorder}; }
|
|
20
|
+
.arrow${a} { stroke: ${r.nodeBorder}; }
|
|
21
|
+
.commit-bullets { fill: ${r.nodeBorder}; }
|
|
22
|
+
.commit-cherry-pick${a} { stroke: ${r.nodeBorder}; }
|
|
23
|
+
${we(r)}`;else{const l=a%ir;n+=`
|
|
24
|
+
.branch-label${a} { fill: ${r["gitBranchLabel"+l]}; }
|
|
25
|
+
.commit${a} { stroke: ${r["git"+l]}; fill: ${r["git"+l]}; }
|
|
26
|
+
.commit-highlight${a} { stroke: ${r["gitInv"+l]}; fill: ${r["gitInv"+l]}; }
|
|
27
|
+
.arrow${a} { stroke: ${r["git"+l]}; }
|
|
28
|
+
`}return n}else if(xe.has(t)){let n="";for(let a=0;a<r.THEME_COLOR_LIMIT;a++)if(a===0)n+=`
|
|
29
|
+
.branch-label${a} { fill: ${r.nodeBorder}; ${i?`font-weight:${r.noteFontWeight}`:""} }
|
|
30
|
+
.commit${a} { stroke: ${r.nodeBorder}; }
|
|
31
|
+
.commit-highlight${a} { stroke: ${r.nodeBorder}; fill: ${r.mainBkg}; }
|
|
32
|
+
.label${a} { fill: ${r.mainBkg}; stroke: ${r.nodeBorder}; stroke-width: ${r.strokeWidth}; ${i?`font-weight:${r.noteFontWeight}`:""} }
|
|
33
|
+
.arrow${a} { stroke: ${r.nodeBorder}; }
|
|
34
|
+
.commit-bullets { fill: ${r.nodeBorder}; }
|
|
35
|
+
`;else{const l=a%o.length;n+=`
|
|
36
|
+
.branch-label${a} { fill: ${r.nodeBorder}; ${i?`font-weight:${r.noteFontWeight}`:""} }
|
|
37
|
+
.commit${a} { stroke: ${o[l]}; fill: ${o[l]}; }
|
|
38
|
+
.commit-highlight${a} { stroke: ${o[l]}; fill: ${o[l]}; }
|
|
39
|
+
.label${a} { fill: ${pe.has(t)?r.mainBkg:o[l]}; stroke: ${o[l]}; stroke-width: ${r.strokeWidth}; }
|
|
40
|
+
.arrow${a} { stroke: ${o[l]}; }
|
|
41
|
+
`}return n}else{let n="";for(let a=0;a<r.THEME_COLOR_LIMIT;a++)n+=`
|
|
42
|
+
.branch-label${a} { fill: ${r.nodeBorder}; ${i?`font-weight:${r.noteFontWeight}`:""} }
|
|
43
|
+
.commit${a} { stroke: ${r.nodeBorder}; }
|
|
44
|
+
.commit-highlight${a} { stroke: ${r.nodeBorder}; fill: ${r.nodeBorder}; }
|
|
45
|
+
.label${a} { fill: ${r.mainBkg}; stroke: ${r.nodeBorder}; stroke-width: ${r.strokeWidth}; ${i?`font-weight:${r.noteFontWeight}`:""}}
|
|
46
|
+
.arrow${a} { stroke: ${r.nodeBorder}; }
|
|
47
|
+
.commit-bullets { fill: ${r.nodeBorder}; }
|
|
48
|
+
.commit-cherry-pick${a} { stroke: ${r.nodeBorder}; }
|
|
49
|
+
`;return n}},"genColor"),ve=h(r=>`${Array.from({length:r.THEME_COLOR_LIMIT},(e,t)=>t).map(e=>{const t=e%ir;return`
|
|
50
|
+
.branch-label${e} { fill: ${r["gitBranchLabel"+t]}; }
|
|
51
|
+
.commit${e} { stroke: ${r["git"+t]}; fill: ${r["git"+t]}; }
|
|
52
|
+
.commit-highlight${e} { stroke: ${r["gitInv"+t]}; fill: ${r["gitInv"+t]}; }
|
|
53
|
+
.label${e} { fill: ${r["git"+t]}; }
|
|
54
|
+
.arrow${e} { stroke: ${r["git"+t]}; }
|
|
55
|
+
`}).join(`
|
|
56
|
+
`)}`,"normalTheme"),Ce=h(r=>{const e=J(),{theme:t}=e,s=be.has(t);return`
|
|
57
|
+
.commit-id,
|
|
58
|
+
.commit-msg,
|
|
59
|
+
.branch-label {
|
|
60
|
+
fill: lightgrey;
|
|
61
|
+
color: lightgrey;
|
|
62
|
+
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
+
font-family: var(--mermaid-font-family);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
${s?ke(r):ve(r)}
|
|
67
|
+
|
|
68
|
+
.branch {
|
|
69
|
+
stroke-width: ${r.strokeWidth};
|
|
70
|
+
stroke: ${r.commitLineColor??r.lineColor};
|
|
71
|
+
stroke-dasharray: ${s?"4 2":"2"};
|
|
72
|
+
}
|
|
73
|
+
.commit-label { font-size: ${r.commitLabelFontSize}; fill: ${s?r.nodeBorder:r.commitLabelColor}; ${s?`font-weight:${r.noteFontWeight};`:""}}
|
|
74
|
+
.commit-label-bkg { font-size: ${r.commitLabelFontSize}; fill: ${s?"transparent":r.commitLabelBackground}; opacity: ${s?"":.5}; }
|
|
75
|
+
.tag-label { font-size: ${r.tagLabelFontSize}; fill: ${r.tagLabelColor};}
|
|
76
|
+
.tag-label-bkg { fill: ${s?r.mainBkg:r.tagLabelBackground}; stroke: ${s?r.nodeBorder:r.tagLabelBorder}; ${s?`filter:${r.dropShadow}`:""} }
|
|
77
|
+
.tag-hole { fill: ${r.textColor}; }
|
|
78
|
+
|
|
79
|
+
.commit-merge {
|
|
80
|
+
stroke: ${s?r.mainBkg:r.primaryColor};
|
|
81
|
+
fill: ${s?r.mainBkg:r.primaryColor};
|
|
82
|
+
}
|
|
83
|
+
.commit-reverse {
|
|
84
|
+
stroke: ${s?r.mainBkg:r.primaryColor};
|
|
85
|
+
fill: ${s?r.mainBkg:r.primaryColor};
|
|
86
|
+
stroke-width: ${s?r.strokeWidth:3};
|
|
87
|
+
}
|
|
88
|
+
.commit-highlight-outer {
|
|
89
|
+
}
|
|
90
|
+
.commit-highlight-inner {
|
|
91
|
+
stroke: ${s?r.mainBkg:r.primaryColor};
|
|
92
|
+
fill: ${s?r.mainBkg:r.primaryColor};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.arrow {
|
|
96
|
+
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
+
stroke-width: ${dr.has(t)?r.strokeWidth:8};
|
|
98
|
+
stroke-linecap: round;
|
|
99
|
+
fill: none
|
|
100
|
+
}
|
|
101
|
+
.gitTitleText {
|
|
102
|
+
text-anchor: middle;
|
|
103
|
+
font-size: 18px;
|
|
104
|
+
fill: ${r.textColor};
|
|
105
|
+
}
|
|
106
|
+
`},"getStyles"),Ee=Ce,We={parser:Vr,db:sr,renderer:ye,styles:Ee};export{We as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{u as o}from"./index-CMVupQXX.js";async function E(s){const e=await s("/api/conversation-templates");if(typeof e!="object"||e===null||Array.isArray(e))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");const r=e;if(Object.keys(r).some(t=>t!=="templates")||!Array.isArray(r.templates))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return r.templates.map(t=>{const a=o.safeParse(t);if(!a.success)throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return a.data})}export{E as l};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{v as c}from"./index-CMVupQXX.js";const u="_RepeatClick",f={beforeMount(t,n){const e=n.value,{interval:d=100,delay:v=600}=c(e)?{}:e;let o,r;const s=()=>c(e)?e():e.handler(),a=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},i=l=>{l.button===0&&(a(),s(),document.addEventListener("mouseup",a,{once:!0,capture:!0}),r=setTimeout(()=>{o=setInterval(()=>{s()},d)},v))};t[u]={start:i,clear:a},t.addEventListener("mousedown",i)},unmounted(t){if(!t[u])return;const{start:n,clear:e}=t[u];n&&t.removeEventListener("mousedown",n),e&&(e(),document.removeEventListener("mouseup",e,!0)),t[u]=null}};export{f as v};
|