@myagentroam/server 0.14.12 → 0.14.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/package.json +1 -1
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/THIRD_PARTY_NOTICES.txt +0 -202
- package/web/assets/AuditManagementPage-BGwiwkWO.js +1 -0
- package/web/assets/AuditManagementPage-DsqAkiGi.css +1 -0
- package/web/assets/AuthEntryPanel-CFtw_f_Y.js +45 -0
- package/web/assets/AuthEntryPanel-d8KztXAR.css +1 -0
- package/web/assets/{BusyIndicator-CkmNTzP_.js → BusyIndicator-BJHbXq72.js} +1 -1
- package/web/assets/{CodeFileEditor-C1nsen9d.css → CodeFileEditor-DOTdiDdP.css} +1 -1
- package/web/assets/{CodeFileEditor-Dhbf0aWN.js → CodeFileEditor-DuD7Q4mq.js} +3 -3
- package/web/assets/ConversationTemplateManagementPage-CfZ2Ul2v.js +1 -0
- package/web/assets/ConversationTemplateManagementPage-DYpRP2CZ.css +1 -0
- package/web/assets/ConversationTemplateManagementPage-UWiSWTX8.js +1 -0
- package/web/assets/ConversationTemplateManagementPage-zmRrOr4L.css +1 -0
- package/web/assets/EnterpriseUserManagementPage-AR_Tfq3R.css +1 -0
- package/web/assets/EnterpriseUserManagementPage-DsO542HL.js +1 -0
- package/web/assets/EnvironmentSecretManager-C-5fdfXQ.css +1 -0
- package/web/assets/EnvironmentSecretManager-rbFx9YED.js +1 -0
- package/web/assets/FilePreviewLoading-B58or4ra.css +1 -0
- package/web/assets/FilePreviewLoading-D6s3o2bu.js +23 -0
- package/web/assets/HtmlPreviewFrame-DgODUBJD.css +1 -0
- package/web/assets/HtmlPreviewFrame-fKFJ8kxw.js +6 -0
- package/web/assets/LicenseManagementPage-BtQdmqgE.js +1 -0
- package/web/assets/LicenseManagementPage-DXwm-duU.css +1 -0
- package/web/assets/ManagementPagination-B6Pmmb2K.js +1 -0
- package/web/assets/ManagementPagination-I-9QufQH.css +1 -0
- package/web/assets/MarAgentModelManagementPage-BFVlk-4R.css +1 -0
- package/web/assets/MarAgentModelManagementPage-CLHwnOlN.css +1 -0
- package/web/assets/MarAgentModelManagementPage-DgIYAL72.js +1 -0
- package/web/assets/MarAgentModelManagementPage-jLtdmQI8.js +1 -0
- package/web/assets/MarAlert-Dsrb10N-.js +1 -0
- package/web/assets/MarAlert-Rzb0-bOv.css +1 -0
- package/web/assets/MarCascader-BKG_pCU9.js +1 -0
- package/web/assets/MarCascader-Cc9hefbo.css +1 -0
- package/web/assets/MarCheckboxGroup-CeaJ5pd8.js +1 -0
- package/web/assets/MarCheckboxGroup-DkmFKLjl.css +1 -0
- package/web/assets/MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-oSUSoUdm.js +1 -0
- package/web/assets/MarDatePicker-Bv6kzLiu.js +1 -0
- package/web/assets/MarDatePicker-T5E6eRQy.css +1 -0
- package/web/assets/MarDescriptionsItem-D06qWo6K.css +1 -0
- package/web/assets/MarDescriptionsItem-Ddl4rEoo.js +1 -0
- package/web/assets/MarFormItem-E1c9DvaF.css +1 -0
- package/web/assets/MarFormItem.vue_vue_type_script_setup_true_lang-DNgXEgAb.js +12 -0
- package/web/assets/MarInputNumber-C3s8idO0.css +1 -0
- package/web/assets/MarInputNumber-CcpviHTx.js +1 -0
- package/web/assets/MarOptionGroup-BVR0qlAA.css +1 -0
- package/web/assets/MarOptionGroup.vue_vue_type_style_index_0_scoped_cacd24eb_lang-BQD1pghB.js +1 -0
- package/web/assets/MarSwitch-DSMHC1ur.css +1 -0
- package/web/assets/MarSwitch-Nht5u3dc.js +1 -0
- package/web/assets/MarTableColumn-DtHETYNc.css +1 -0
- package/web/assets/MarTableColumn.vue_vue_type_script_setup_true_lang-9WwypTkY.js +1 -0
- package/web/assets/MarTabs-D28b5Cm_.js +1 -0
- package/web/assets/MarTabs-hvIwX-j4.css +1 -0
- package/web/assets/MarTag-Bqa2l4XX.css +1 -0
- package/web/assets/MarTag-CU69nmi0.js +1 -0
- package/web/assets/MarkdownFilePreview-eHfaSvqk.js +2 -0
- package/web/assets/McpDetailsDialog-CeN-XR0C.js +1 -0
- package/web/assets/McpDetailsDialog-DDeblEzR.css +1 -0
- package/web/assets/McpSourceManagementPage-C2XYcsBZ.css +1 -0
- package/web/assets/McpSourceManagementPage-CQ02Cxhp.js +1 -0
- package/web/assets/McpSourceManagementPage-D7TISzgb.js +1 -0
- package/web/assets/NodeDetailsDialogs-CunI5Y3P.js +1 -0
- package/web/assets/NodeDetailsDialogs-DGvkZsiw.css +1 -0
- package/web/assets/NodeManagementPage-5A5wEaf7.js +1 -0
- package/web/assets/NodeManagementPage-D8xNnpz-.js +1 -0
- package/web/assets/OAuthManagementPage-DiVu7-4g.js +2 -0
- package/web/assets/OAuthManagementPage-PZThmGZo.css +1 -0
- package/web/assets/OrganizationManagementPage-CKRrtBnJ.css +1 -0
- package/web/assets/OrganizationManagementPage-KYRf5SG3.js +1 -0
- package/web/assets/RemoteDesktopPage-CXb_A40m.js +5 -0
- package/web/assets/RemoteDesktopPage-DRio-7WI.css +1 -0
- package/web/assets/ResourceManagementPanel-C8sK8pZt.js +2 -0
- package/web/assets/ResourceManagementPanel-DxgpQohB.css +1 -0
- package/web/assets/ResourceManagementPanel-S4DxgU7P.css +1 -0
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B0BiJsYP.js +1 -0
- package/web/assets/SecretManagementPage-BQLBf9JN.js +1 -0
- package/web/assets/SecretManagementPage-CdG81hZg.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-CkzJvm_3.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-Cj-i8iWa.js} +1 -1
- package/web/assets/SessionSharePage-3pOC7zRL.js +2 -0
- package/web/assets/SessionSharePage-DGGHczdP.css +1 -0
- package/web/assets/SettingsContent-BGPfO8se.css +1 -0
- package/web/assets/SettingsContent-DNa5A1_N.js +1 -0
- package/web/assets/SettingsContent-DnSL8cs4.css +1 -0
- package/web/assets/SettingsContent-_7yaCY3w.js +1 -0
- package/web/assets/SkillCenterPage--fuP-slY.css +1 -0
- package/web/assets/SkillCenterPage-C-RhgoXR.js +1 -0
- package/web/assets/SkillCenterPage-H2QFeB7_.js +1 -0
- package/web/assets/SkillDetailsDialog-CLwwbvCq.css +1 -0
- package/web/assets/SkillDetailsDialog-DtVFRPBy.js +1 -0
- package/web/assets/SkillSourceManagementPage-ChDzfGdm.js +1 -0
- package/web/assets/SkillSourceManagementPage-D4z1Gg5N.js +1 -0
- package/web/assets/SkillSourceManagementPage-hmRcmngS.css +1 -0
- package/web/assets/{StandaloneFilePreviewPage-C0MQvJCM.css → StandaloneFilePreviewPage-ByAe63vc.css} +1 -1
- package/web/assets/StandaloneFilePreviewPage-MXCtMW26.js +1 -0
- package/web/assets/SystemConfigurationPage-ChSNj8MT.js +1 -0
- package/web/assets/SystemConfigurationPage-CmVdXe_T.css +1 -0
- package/web/assets/SystemConfigurationPage-DB37Nbbr.js +1 -0
- package/web/assets/SystemInformationPage-2Q4V-iJ4.js +1 -0
- package/web/assets/SystemInformationPage-BbiC_REW.css +1 -0
- package/web/assets/{TerminalTabView-CNTFZaQR.css → TerminalTabView-CEYeT8xN.css} +1 -1
- package/web/assets/{TerminalTabView-xpKPeDb7.js → TerminalTabView-De_0nedS.js} +13 -13
- package/web/assets/WorkbenchPage-Dlmd8LuY.js +22 -0
- package/web/assets/WorkbenchPage-DlnYvv_a.css +1 -0
- package/web/assets/WorkspaceManagementPage-B90eAGf0.js +1 -0
- package/web/assets/WorkspaceManagementPage-Dt54G8Zh.js +1 -0
- package/web/assets/abnfDiagram-VCTEODGH-DBu0yas5.js +1 -0
- package/web/assets/{arc-CJOYSigO.js → arc-C8OREc8-.js} +1 -1
- package/web/assets/architectureDiagram-5GKGNRK7-DW-uxKX_.js +36 -0
- package/web/assets/{blockDiagram-OSKFZWR5-Dr6fQmIN.js → blockDiagram-OSKFZWR5-BdpowaJF.js} +2 -2
- package/web/assets/{c4Diagram-7LVT6UL2-jrqjerIx.js → c4Diagram-7LVT6UL2-CIj5XN7-.js} +2 -2
- package/web/assets/{catalog-ownership-service-Bz3b5_tH.js → catalog-ownership-service-Om-CO2AO.js} +1 -1
- package/web/assets/{catalog-page-service-C7UJzBmm.js → catalog-page-service-C7a95mKM.js} +1 -1
- package/web/assets/channel-h8T8Sf1f.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-B29-7eTI.js → chunk-2Q5K7J3B-qTv1HCpA.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-PAl2dCY6.js → chunk-5VM5RSS4-Z_81Yg9R.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-CJazVc92.js → chunk-F27PBJKO-ByXYNCQX.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-CHLSCk4e.js → chunk-HLEWEB6X-Db0t6b8M.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-8EHrQSbL.js → chunk-JWPE2WC7-mtd3itJH.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-IEdv-dKV.js → chunk-POPQ4Y6H-DjNpwfJ_.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-DDTfCf13.js → chunk-SVP7TREG-BJDr9WEi.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-CD0m8obf.js → chunk-XXDRQBXY-B6pSX6oT.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-DSvSebI_.js → chunk-ZLD2IHE6-QUzKTKo1.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-DmCMc5em.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-DmCMc5em.js +1 -0
- package/web/assets/{conversation-history-DuDY2dxA.js → conversation-history-CWG_l_s7.js} +3 -3
- package/web/assets/cose-bilkent-JH36ORCC-DsiB67gb.js +1 -0
- package/web/assets/{cynefin-OW5HDTMX-CXjdl3AE.js → cynefin-OW5HDTMX-ByAQTEbY.js} +1 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-CLvR8C8K.js +62 -0
- package/web/assets/{dagre-OS7QT2EB-98Qq0zkD.js → dagre-OS7QT2EB-BZY4XKaO.js} +2 -2
- package/web/assets/{diagram-S7CK7UJ4-iRjRsXyq.js → diagram-S7CK7UJ4-DZhsMLHj.js} +6 -6
- package/web/assets/diagram-UQ7AKVKN-gKeE9VCW.js +41 -0
- package/web/assets/{diagram-VSXAHHWV-DM2XbVde.js → diagram-VSXAHHWV-DGcOJLzF.js} +2 -2
- package/web/assets/diagram-VX7I27RA-YNftovCx.js +24 -0
- package/web/assets/diagram-Z3DM3KII-CYs_A5LR.js +24 -0
- package/web/assets/ebnfDiagram-PWID7BFC-CfAgj9SA.js +1 -0
- package/web/assets/{enterprise-management-service-BHgkHcmJ.js → enterprise-management-service-DoxF9G8J.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-D9UJiA3b.js → erDiagram-2YWLMYGG-D68c5ay0.js} +2 -2
- package/web/assets/{error-presentation-TCrmKOaX.js → error-presentation-UGQTkLY-.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-CJvzSJaH.js → flowDiagram-T62WH6J4-SueK2EIr.js} +5 -5
- package/web/assets/ganttDiagram-EL5Y4UJY-DqUpBKVe.js +292 -0
- package/web/assets/gitGraphDiagram-WWUBYQGX-25lcZzew.js +106 -0
- package/web/assets/{hosted-conversation-template-client-CNJ44FK9.js → hosted-conversation-template-client-j8BSmb6C.js} +1 -1
- package/web/assets/{index-Def4tYlg.js → index-1GTIQQ8z.js} +1 -1
- package/web/assets/{index--P_l2hBG.js → index-3hGH8X4w.js} +1 -1
- package/web/assets/{index-C0U4_RfA.js → index-5c57yBxX.js} +1 -1
- package/web/assets/{index-ZS3XNvKT.js → index-6kwQzDJ5.js} +1 -1
- package/web/assets/{index-CQWrnAU7.js → index-B1tseZ0y.js} +1 -1
- package/web/assets/{index-CDugyaEp.js → index-BCIlc_yx.js} +1 -1
- package/web/assets/index-BFbW15q7.js +24 -0
- package/web/assets/{index-101FfQe_.js → index-Be5d1p6m.js} +1 -1
- package/web/assets/{index-BMDj0X1f.js → index-BeFqmV-S.js} +1 -1
- package/web/assets/{index-BvyWDyCo.js → index-C3LQg-du.js} +5 -5
- package/web/assets/{index-ChD8URmP.js → index-C5fDP7hM.js} +1 -1
- package/web/assets/{index-CGxeygqm.js → index-C64qxIt_.js} +1 -1
- package/web/assets/index-CGbMb0Lv.css +1 -0
- package/web/assets/{index-D2fACDBd.js → index-Cq0gQdNu.js} +1 -1
- package/web/assets/{index-TjEslssr.js → index-D0BAg9Vm.js} +1 -1
- package/web/assets/{index-fVYtCZY4.js → index-D0W2JUwi.js} +1 -1
- package/web/assets/{index-CEdb0cRx.js → index-D6z2G5Kn.js} +1 -1
- package/web/assets/{index-DygkBwem.js → index-DKQH5cxU.js} +1 -1
- package/web/assets/{index-CHCplQFI.js → index-DRH1HX2S.js} +1 -1
- package/web/assets/{index-ZOsm52g4.js → index-DXjLMl3l.js} +1 -1
- package/web/assets/{index-DS00bsI_.js → index-DZiLssjQ.js} +1 -1
- package/web/assets/{index-CLfvK8Zc.js → index-DnnQL2J0.js} +1 -1
- package/web/assets/{index-qFUEtE8-.js → index-DwErmPk6.js} +1 -1
- package/web/assets/{index-yKnI2qbx.js → index-L8P4MfkD.js} +1 -1
- package/web/assets/{index-DDwc_rac.js → index-WlaKUfsp.js} +1 -1
- package/web/assets/{index-CesBEm8X.js → index-ZU_3sogz.js} +1 -1
- package/web/assets/{index-BDkVrSCu.js → index-cXt12mWt.js} +1 -1
- package/web/assets/{index-B6vk7eXL.js → index-ntE_ZhRt.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-BBwjh-6f.js +2 -0
- package/web/assets/{ishikawaDiagram-5VMMS53U-Cpmxihq8.js → ishikawaDiagram-5VMMS53U-CQS9pAgH.js} +6 -6
- package/web/assets/{journeyDiagram-EYS64GPL-BAZxxKR_.js → journeyDiagram-EYS64GPL-Wf3zND8h.js} +4 -4
- package/web/assets/{kanban-definition-UXKFOSKX-_vYotbgl.js → kanban-definition-UXKFOSKX-B0s2KfqD.js} +2 -2
- package/web/assets/layout-C8Uv0gkT.js +1 -0
- package/web/assets/{linear-DQoI-VQC.js → linear-cvnW3wz3.js} +1 -1
- package/web/assets/management-url-service-DZ88REB_.js +1 -0
- package/web/assets/mcp-center-service-BxLSeP6x.js +1 -0
- package/web/assets/mcp-center-service-DaswFG-J.css +1 -0
- package/web/assets/mermaid.core-tIk1Nhel.js +308 -0
- package/web/assets/{mindmap-definition-THT77NOG-BExnUzDC.js → mindmap-definition-THT77NOG-umweN-cI.js} +2 -2
- package/web/assets/mobile-dialog-return-service-C1n1IVHV.js +1 -0
- package/web/assets/{oauth-callback-CtodvLDd.js → oauth-callback-BcjCk3xN.js} +1 -1
- package/web/assets/pegDiagram-XKGWAZYB-DKJc7Ez9.js +1 -0
- package/web/assets/{pieDiagram-E7YTZNPT-CMRcyI7O.js → pieDiagram-E7YTZNPT-BsxpOU9E.js} +2 -2
- package/web/assets/{quadrantDiagram-AXDQQJYC-hOWMoCpb.js → quadrantDiagram-AXDQQJYC-Dy0JSXEc.js} +2 -2
- package/web/assets/railroadDiagram-O6MQD6OU-DuWjaEVr.js +1 -0
- package/web/assets/{requirementDiagram-IS5BZ75X-CXe-Ctnb.js → requirementDiagram-IS5BZ75X-CcDa2f9z.js} +9 -9
- package/web/assets/{runner-presentation-CNGxIy2N.js → runner-presentation-hTBi5beq.js} +1 -1
- package/web/assets/sankeyDiagram-P5KCCOFB-zXSrhCHx.js +40 -0
- package/web/assets/{sequenceDiagram-WJ2MYXX4-DQ5T7b6S.js → sequenceDiagram-WJ2MYXX4-D_zXYQwI.js} +2 -2
- package/web/assets/{session-share-client-service-BbWGDu98.js → session-share-client-service-iqg5n2jT.js} +1 -1
- package/web/assets/sizeCapture-INFHLROL-DQHaspbL.js +1 -0
- package/web/assets/stateDiagram-XQSTLZYL-CZuAC9yx.js +1 -0
- package/web/assets/stateDiagram-v2-IH3M54BS-BVCGzcEg.js +1 -0
- package/web/assets/swimlanes-V6O3JKXN-DPLARPKF.js +1 -0
- package/web/assets/swimlanesDiagram-JKAHXJPX-0AG7MKMH.js +8 -0
- package/web/assets/{time-presentation-Q05oEf0I.js → time-presentation-D0SLW-7Y.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-C5ehmNql.js → timeline-definition-24CTP7MA-DOCrHy_B.js} +2 -2
- package/web/assets/{vennDiagram-4TSXK5OY-CJhBecmB.js → vennDiagram-4TSXK5OY-bxqgw5V-.js} +2 -2
- package/web/assets/{wardleyDiagram-VM6X3IG4-DNyTsJz4.js → wardleyDiagram-VM6X3IG4-DnYBE0Fi.js} +3 -3
- package/web/assets/{workbench-live-service-Dn0AH63S.js → workbench-live-service-CQiYAsuU.js} +1 -1
- package/web/assets/workbench-presentation-Bon-njr-.css +1 -0
- package/web/assets/workbench-presentation-DRF1_KCI.js +1 -0
- package/web/assets/{xychartDiagram-S5SC5T6Z-BEfVfpB4.js → xychartDiagram-S5SC5T6Z-dEwC3KCd.js} +2 -2
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.Cr_dPl0w.js → app.DtD1evI0.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DHrLf7lS.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.C6ZO4-Cz.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.BIc6urzt.js → VPLocalSearchBox.BfQVfx68.js} +1 -1
- package/web/docs/assets/chunks/{theme.CZ7eII5y.js → theme.JpsRm0j7.js} +2 -2
- package/web/docs/assets/en-US_runners_runner-troubleshooting.md.BVp1H8Ez.js +1 -0
- package/web/docs/assets/{en-US_runners_runner-troubleshooting.md.BvJ6yGrw.lean.js → en-US_runners_runner-troubleshooting.md.BVp1H8Ez.lean.js} +1 -1
- package/web/docs/assets/runners_runner-troubleshooting.md.x-gG5ZND.js +1 -0
- package/web/docs/assets/{runners_runner-troubleshooting.md.CIWCfGkf.lean.js → runners_runner-troubleshooting.md.x-gG5ZND.lean.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +3 -3
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +5 -5
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +3 -3
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +3 -3
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +3 -3
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +5 -5
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +3 -3
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +3 -3
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +3 -3
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuditManagementPage-B3qaapei.js +0 -1
- package/web/assets/AuditManagementPage-CCT1TwDi.css +0 -1
- package/web/assets/AuthEntryPanel-CGpUcF54.js +0 -45
- package/web/assets/AuthEntryPanel-tmwbR_cP.css +0 -1
- package/web/assets/ConversationTemplateManagementPage-B2RfZm3F.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-BNFnQcXK.css +0 -1
- package/web/assets/ConversationTemplateManagementPage-CMyqaCIy.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-D9ensD8p.css +0 -1
- package/web/assets/EnterpriseUserManagementPage-B_8q9-_0.js +0 -1
- package/web/assets/EnterpriseUserManagementPage-DPqV5zOg.css +0 -1
- package/web/assets/EnvironmentSecretManager-CQ4Jq2g7.js +0 -1
- package/web/assets/EnvironmentSecretManager-Dw4d5loZ.css +0 -1
- package/web/assets/FilePreviewLoading-BB7BqLfM.js +0 -23
- package/web/assets/FilePreviewLoading-Cxn0bDjD.css +0 -1
- package/web/assets/HtmlPreviewFrame-BpZTgaYt.css +0 -1
- package/web/assets/HtmlPreviewFrame-BsPyA31z.js +0 -6
- package/web/assets/LicenseManagementPage-BRQZUU16.css +0 -1
- package/web/assets/LicenseManagementPage-COaC6G8o.js +0 -1
- package/web/assets/ManagementPagination-DazknMFC.css +0 -1
- package/web/assets/ManagementPagination-mp7u62Ec.js +0 -1
- package/web/assets/MarAgentModelManagementPage-DuXtnpsD.css +0 -1
- package/web/assets/MarAgentModelManagementPage-Dw26mlsY.js +0 -1
- package/web/assets/MarAgentModelManagementPage-O5io0Qw1.css +0 -1
- package/web/assets/MarAgentModelManagementPage-e_RH6zU7.js +0 -1
- package/web/assets/MarIcon-aPIFZI-D.css +0 -1
- package/web/assets/MarIcon-zRNKNNWm.js +0 -1
- package/web/assets/MarkdownFilePreview-Da9aknEg.js +0 -2
- package/web/assets/McpDetailsDialog-BQywxEJx.css +0 -1
- package/web/assets/McpDetailsDialog-KPf2HtVb.js +0 -1
- package/web/assets/McpSourceManagementPage-BH743WCr.css +0 -1
- package/web/assets/McpSourceManagementPage-BTS25Df_.js +0 -1
- package/web/assets/McpSourceManagementPage-BcHmBG_c.js +0 -1
- package/web/assets/NodeDetailsDialogs-D0O-Bpe_.js +0 -6
- package/web/assets/NodeDetailsDialogs-DN4NQ6QY.css +0 -1
- package/web/assets/NodeManagementPage-B7kPJ2vk.js +0 -1
- package/web/assets/NodeManagementPage-s9HFmyHE.js +0 -1
- package/web/assets/OAuthManagementPage-D_avaUqp.js +0 -2
- package/web/assets/OAuthManagementPage-Dp2FX_G6.css +0 -1
- package/web/assets/OrganizationManagementPage-BYl2Zu-Z.css +0 -1
- package/web/assets/OrganizationManagementPage-C-eQ-t8b.js +0 -1
- package/web/assets/RemoteDesktopPage-C8coI4Gr.js +0 -5
- package/web/assets/RemoteDesktopPage-CBJ5tTYz.css +0 -1
- package/web/assets/ResourceManagementPanel-CjGfQ5Jl.css +0 -1
- package/web/assets/ResourceManagementPanel-Dk-l51CQ.css +0 -1
- package/web/assets/ResourceManagementPanel-LGznQG16.js +0 -2
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B0A9Rmyq.js +0 -1
- package/web/assets/SecretManagementPage-BHo73jaj.js +0 -1
- package/web/assets/SecretManagementPage-BrG14qmP.js +0 -1
- package/web/assets/SessionSharePage-DNzDO88Q.js +0 -2
- package/web/assets/SessionSharePage-TAsoyhjA.css +0 -1
- package/web/assets/SettingsContent-B98WZKeX.css +0 -1
- package/web/assets/SettingsContent-BYvS1xq7.js +0 -1
- package/web/assets/SettingsContent-CNbyIUPh.css +0 -1
- package/web/assets/SettingsContent-DKC_XhLh.js +0 -1
- package/web/assets/SkillCenterPage-B6woSHOS.css +0 -1
- package/web/assets/SkillCenterPage-B7OEhY6b.js +0 -1
- package/web/assets/SkillCenterPage-Dhz0dHwK.js +0 -1
- package/web/assets/SkillDetailsDialog-CWt4SchU.css +0 -1
- package/web/assets/SkillDetailsDialog-D-DoHn_C.js +0 -1
- package/web/assets/SkillSourceManagementPage-BRfmUgj1.css +0 -1
- package/web/assets/SkillSourceManagementPage-BWDkcehO.js +0 -1
- package/web/assets/SkillSourceManagementPage-DqyDTa-I.js +0 -1
- package/web/assets/StandaloneFilePreviewPage-ZfXXGhOn.js +0 -1
- package/web/assets/SystemConfigurationPage-B7mQ6Vnn.js +0 -1
- package/web/assets/SystemConfigurationPage-CmKl8RM3.js +0 -1
- package/web/assets/SystemConfigurationPage-HVB1OG86.css +0 -1
- package/web/assets/SystemInformationPage-C9qhYKmf.css +0 -1
- package/web/assets/SystemInformationPage-Ccr_-doz.js +0 -1
- package/web/assets/WorkbenchPage-0Y0Aha-6.css +0 -1
- package/web/assets/WorkbenchPage-D89Xu7zc.js +0 -22
- package/web/assets/WorkspaceManagementPage-3mKy2VBS.js +0 -1
- package/web/assets/WorkspaceManagementPage-DQq7JqhI.js +0 -1
- package/web/assets/_baseFindIndex-D7XfJLKM.js +0 -1
- package/web/assets/_baseIteratee-BBpnSKUD.js +0 -1
- package/web/assets/abnfDiagram-VCTEODGH-DWmupz8z.js +0 -1
- package/web/assets/advancedFormat-mPncmCfy.js +0 -1
- package/web/assets/architectureDiagram-5GKGNRK7-DAHpP5xc.js +0 -36
- package/web/assets/channel-vb08qcED.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-DZ1oAWcg.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-DZ1oAWcg.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-K8lJw6sz.js +0 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-D8jGprOP.js +0 -62
- package/web/assets/diagram-UQ7AKVKN-B054aybv.js +0 -41
- package/web/assets/diagram-VX7I27RA-BJjLjQ_5.js +0 -24
- package/web/assets/diagram-Z3DM3KII-DHTx_db-.js +0 -24
- package/web/assets/ebnfDiagram-PWID7BFC-mvxd2eQy.js +0 -1
- package/web/assets/el-alert-2k5y8yxj.js +0 -1
- package/web/assets/el-alert-B6UgayC7.css +0 -1
- package/web/assets/el-cascader-Bt6blBkS.js +0 -12
- package/web/assets/el-cascader-Y4U47xEI.css +0 -1
- package/web/assets/el-checkbox-BkOEHkIf.js +0 -1
- package/web/assets/el-checkbox-CzNtyWdF.css +0 -1
- package/web/assets/el-checkbox-group-D_6SYB2i.css +0 -1
- package/web/assets/el-date-picker-BsrAVvYx.css +0 -1
- package/web/assets/el-date-picker-Lzp0O-0u.js +0 -1
- package/web/assets/el-descriptions-BIYbwPZI.js +0 -1
- package/web/assets/el-descriptions-BpDzfuC8.css +0 -1
- package/web/assets/el-form-item-D_relxjU.css +0 -1
- package/web/assets/el-form-item-ixxOkcxt.js +0 -12
- package/web/assets/el-input-59MCq4T2.js +0 -3
- package/web/assets/el-input-8ehKRrZb.css +0 -1
- package/web/assets/el-input-number-BbNSYiiD.js +0 -1
- package/web/assets/el-input-number-DExoAqKP.css +0 -1
- package/web/assets/el-radio-B4O75OaI.css +0 -1
- package/web/assets/el-radio-C5Q8ovsd.js +0 -1
- package/web/assets/el-scrollbar-D3fUkDa-.js +0 -1
- package/web/assets/el-scrollbar-GF-yQkxY.css +0 -1
- package/web/assets/el-select-BT8E2Pcl.js +0 -1
- package/web/assets/el-select-D5zQ8kOe.css +0 -1
- package/web/assets/el-switch-C6QtgDW2.js +0 -1
- package/web/assets/el-switch-DpR9-s4E.css +0 -1
- package/web/assets/el-tab-pane-BdFesfwg.js +0 -1
- package/web/assets/el-tab-pane-LzsQQ_QK.css +0 -1
- package/web/assets/el-table-column-B0MDmiTm.js +0 -1
- package/web/assets/el-table-column-Dp73S2HR.css +0 -1
- package/web/assets/el-tag-1VV9QMa7.css +0 -1
- package/web/assets/ganttDiagram-EL5Y4UJY-DPlX4CQj.js +0 -292
- package/web/assets/gitGraphDiagram-WWUBYQGX-uWbyAvUy.js +0 -106
- package/web/assets/index-BX01RdqE.js +0 -29
- package/web/assets/index-C0Shszax.js +0 -1
- package/web/assets/index-C2xYNV80.js +0 -1
- package/web/assets/index-CTf-xFX2.css +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-CYVpFIQd.js +0 -2
- package/web/assets/isArrayLikeObject-B9hsxew6.js +0 -1
- package/web/assets/last-DXTTfs9a.js +0 -1
- package/web/assets/layout-BuFhrKfQ.js +0 -1
- package/web/assets/management-url-service-Cv5OUDKf.js +0 -1
- package/web/assets/mcp-center-service-DjUMHPu4.js +0 -1
- package/web/assets/merge-BaHsYC7C.js +0 -1
- package/web/assets/mermaid.core-CLuWonle.js +0 -308
- package/web/assets/message-box-service-DI88XwVP.js +0 -1
- package/web/assets/message-box-service-amIz9eLF.css +0 -1
- package/web/assets/mobile-dialog-return-service-BqmtbwHA.js +0 -1
- package/web/assets/mobile-dialog-return-service-TSZfE1b8.css +0 -1
- package/web/assets/pegDiagram-XKGWAZYB-B5gYrfy-.js +0 -1
- package/web/assets/railroadDiagram-O6MQD6OU-DcIAdapN.js +0 -1
- package/web/assets/sankeyDiagram-P5KCCOFB-DZbIcZsi.js +0 -40
- package/web/assets/sizeCapture-INFHLROL-CK3iq_fM.js +0 -1
- package/web/assets/stateDiagram-XQSTLZYL-M21gs3ef.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-yfF1fJDr.js +0 -1
- package/web/assets/swimlanes-V6O3JKXN-DLwODYSJ.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-VqS22HlO.js +0 -8
- package/web/assets/union-CTBUe0LT.js +0 -1
- package/web/assets/use-form-common-props-BTIqQl-H.js +0 -1
- package/web/assets/use-wheel-CZhJTzyb.js +0 -1
- package/web/assets/vnode-BVQ0FsA4.js +0 -1
- package/web/assets/workbench-presentation-CPQZ-olG.css +0 -1
- package/web/assets/workbench-presentation-D0mJAs5u.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.CLlIp1bF.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.x6v4SaQk.js +0 -1
- package/web/docs/assets/en-US_runners_runner-troubleshooting.md.BvJ6yGrw.js +0 -1
- package/web/docs/assets/runners_runner-troubleshooting.md.CIWCfGkf.js +0 -1
package/web/assets/{wardleyDiagram-VM6X3IG4-DNyTsJz4.js → wardleyDiagram-VM6X3IG4-DnYBE0Fi.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{p as Mt}from"./chunk-JWPE2WC7-
|
|
2
|
-
`+o);const a=jt(),d=Ht(),m=a.nodeRadius*1.6,C=h.db,g=C.getWardleyData(),R=C.getDiagramTitle(),S=g.size?.width??a.width,b=g.size?.height??a.height,Y=It(r);Y.selectAll("*").remove(),Bt(Y,b,S,a.useMaxWidth),Y.attr("viewBox",`0 0 ${S} ${b}`);const v=Y.append("g").attr("class","wardley-map"),q=Y.append("defs");q.append("marker").attr("id",`arrow-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.evolutionStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-end-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.linkStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-start-${r}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",d.linkStroke).attr("stroke","none"),v.append("rect").attr("class","wardley-background").attr("width",S).attr("height",b).attr("fill",d.backgroundColor);const I=S-a.padding*2,B=b-a.padding*2;R&&v.append("text").attr("class","wardley-title").attr("x",S/2).attr("y",a.padding/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(R);const z=u(t=>a.padding+t/100*I,"projectX"),L=u(t=>b-a.padding-t/100*B,"projectY"),O=v.append("g").attr("class","wardley-axes");O.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1),O.append("line").attr("x1",a.padding).attr("x2",a.padding).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1);const mt=g.axes.xLabel??"Evolution",wt=g.axes.yLabel??"Visibility";O.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",a.padding+I/2).attr("y",b-a.padding/4).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(mt),O.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",a.padding/3).attr("y",a.padding+B/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${a.padding/3} ${a.padding+B/2})`).text(wt);const F=g.axes.stages&&g.axes.stages.length>0?g.axes.stages:qt;if(F.length>0){const t=v.append("g").attr("class","wardley-stages"),s=g.axes.stageBoundaries,n=[];if(s&&s.length===F.length){let i=0;s.forEach(p=>{n.push({start:i,end:p}),i=p})}else{const i=1/F.length;F.forEach((p,l)=>{n.push({start:l*i,end:(l+1)*i})})}F.forEach((i,p)=>{const l=n[p],f=a.padding+l.start*I,x=a.padding+l.end*I,y=(f+x)/2;p>0&&t.append("line").attr("x1",f).attr("x2",f).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",y).attr("y",b-a.padding/1.5).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize-2).attr("text-anchor","middle").text(i)})}if(a.showGrid){const t=v.append("g").attr("class","wardley-grid");for(let s=1;s<4;s++){const n=s/4,i=a.padding+I*n;t.append("line").attr("x1",i).attr("x2",i).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding-B*n).attr("y2",b-a.padding-B*n).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6")}}const c=new Map;if(g.nodes.forEach(t=>{c.set(t.id,{x:z(t.x),y:L(t.y),node:t})}),g.pipelines.length>0){const t=v.append("g").attr("class","wardley-pipelines"),s=v.append("g").attr("class","wardley-pipeline-links");g.pipelines.forEach(n=>{if(n.componentIds.length===0)return;const i=n.componentIds.map(x=>({id:x,pos:c.get(x),node:g.nodes.find(y=>y.id===x)})).filter(x=>x.pos&&x.node).sort((x,y)=>x.node.x-y.node.x);for(let x=0;x<i.length-1;x++){const y=i[x],w=i[x+1];s.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",y.pos.x).attr("y1",y.pos.y).attr("x2",w.pos.x).attr("y2",w.pos.y).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let p=1/0,l=-1/0,f=0;if(n.componentIds.forEach(x=>{const y=c.get(x);y&&(p=Math.min(p,y.x),l=Math.max(l,y.x),f=y.y)}),p!==1/0&&l!==-1/0){const y=a.nodeRadius*4,w=f-y/2,P=c.get(n.nodeId);if(P){const N=(p+l)/2;P.x=N,P.y=w-m/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",p-15).attr("y",w).attr("width",l-p+30).attr("height",y).attr("fill","none").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const _=v.append("g").attr("class","wardley-links"),Z=new Map;g.pipelines.forEach(t=>{Z.set(t.nodeId,new Set(t.componentIds))});const U=g.links.filter(t=>!(!c.has(t.source)||!c.has(t.target)||Z.get(t.target)?.has(t.source)));_.selectAll("line").data(U).enter().append("line").attr("class",t=>`wardley-link${t.dashed?" wardley-link--dashed":""}`).attr("x1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?m/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.x+l/x*p}).attr("y1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?m/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.y+f/x*p}).attr("x2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?m/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.x+l/x*p}).attr("y2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?m/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.y+f/x*p}).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>t.flow==="forward"||t.flow==="bidirectional"?`url(#link-arrow-end-${r})`:null).attr("marker-start",t=>t.flow==="backward"||t.flow==="bidirectional"?`url(#link-arrow-start-${r})`:null),_.selectAll("text").data(U.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=n.y-s.y,l=n.x-s.x,f=Math.sqrt(l*l+p*p),x=8,y=p/f;return i+y*x}).attr("y",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.y+n.y)/2,p=n.x-s.x,l=n.y-s.y,f=Math.sqrt(p*p+l*l),x=8,y=-p/f;return i+y*x}).attr("fill",d.axisTextColor).attr("font-size",a.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=(s.y+n.y)/2,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f),y=8,w=f/x,P=-l/x,N=i+w*y,W=p+P*y;let X=Math.atan2(f,l)*180/Math.PI;return(X>90||X<-90)&&(X+=180),`rotate(${X} ${N} ${W})`}).text(t=>t.label);const kt=v.append("g").attr("class","wardley-trends"),bt=g.trends.map(t=>{const s=c.get(t.nodeId);if(!s)return null;const n=z(t.targetX),i=L(t.targetY),p=n-s.x,l=i-s.y,f=Math.sqrt(p*p+l*l),x=a.nodeRadius+2,y=f>x?n-p/f*x:n,w=f>x?i-l/f*x:i;return{origin:s,targetX:n,targetY:i,adjustedX2:y,adjustedY2:w}}).filter(t=>t!==null);kt.selectAll("line").data(bt).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",d.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${r})`);const M=v.append("g").attr("class","wardley-nodes").selectAll("g").data(g.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));M.filter(t=>t.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#666").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#ccc").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const T=M.filter(t=>t.sourceStrategy==="market");T.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>!t.isPipelineParent&&t.sourceStrategy!=="market"&&t.className!=="anchor").append("circle").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1);const H=a.nodeRadius*.7,$=a.nodeRadius*1.2;if(T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x).attr("y1",t=>c.get(t.id).y-$).attr("x2",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x).attr("y2",t=>c.get(t.id).y-$).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y-$).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),M.filter(t=>t.isPipelineParent===!0).append("rect").attr("x",t=>c.get(t.id).x-m/2).attr("y",t=>c.get(t.id).y-m/2).attr("width",m).attr("height",m).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",t=>{const s=c.get(t.id);let n=t.isPipelineParent?m/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y1",t=>{const s=c.get(t.id),n=t.isPipelineParent?m:a.nodeRadius*2;return s.y-n/2}).attr("x2",t=>{const s=c.get(t.id);let n=t.isPipelineParent?m/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y2",t=>{const s=c.get(t.id),n=t.isPipelineParent?m:a.nodeRadius*2;return s.y+n/2}).attr("stroke",d.componentStroke).attr("stroke-width",6),M.append("text").attr("x",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetX!==void 0?s.x+t.labelOffsetX:s.x;let n=a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetX===void 0&&(n+=10);const i=t.labelOffsetX??n;return s.x+i}).attr("y",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetY!==void 0?s.y+t.labelOffsetY:s.y-3;let n=-a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetY===void 0&&(n-=10);const i=t.labelOffsetY??n;return s.y+i}).attr("class","wardley-node-label").attr("fill",t=>t.className==="evolved"?d.evolutionStroke:t.className==="anchor"?"#000":d.componentLabelColor).attr("font-size",a.labelFontSize).attr("font-weight",t=>t.className==="anchor"?"bold":"normal").attr("text-anchor",t=>t.className==="anchor"?"middle":"start").attr("dominant-baseline",t=>t.className==="anchor"?"middle":"auto").text(t=>t.label),g.annotations.length>0){const t=v.append("g").attr("class","wardley-annotations");if(g.annotations.forEach(s=>{const n=s.coordinates.map(i=>({x:z(i.x),y:L(i.y)}));if(n.length>1)for(let i=0;i<n.length-1;i++)t.append("line").attr("class","wardley-annotation-line").attr("x1",n[i].x).attr("y1",n[i].y).attr("x2",n[i+1].x).attr("y2",n[i+1].y).attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach(i=>{const p=t.append("g").attr("class","wardley-annotation");p.append("circle").attr("cx",i.x).attr("cy",i.y).attr("r",10).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5),p.append("text").attr("x",i.x).attr("y",i.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.number)})}),g.annotationsBox){let s=z(g.annotationsBox.x),n=L(g.annotationsBox.y);const i=10,p=16,l=11,f=t.append("g").attr("class","wardley-annotations-box"),x=[...g.annotations].filter(w=>w.text).sort((w,P)=>w.number-P.number),y=[];if(x.forEach((w,P)=>{const N=f.append("text").attr("x",s+i).attr("y",n+i+(P+1)*p).attr("font-size",l).attr("fill",d.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${w.number}. ${w.text}`);y.push(N)}),y.length>0){let w=0,P=0;y.forEach(j=>{const D=j.node(),Ct=D.getComputedTextLength();w=Math.max(w,Ct);const St=D.getBBox();P=Math.max(P,St.height)});const N=w+i*2+105,W=x.length*p+i*2+P/2,X=a.padding,$t=S-a.padding-N,vt=a.padding,Pt=b-a.padding-W;s=Math.max(X,Math.min(s,$t)),n=Math.max(vt,Math.min(n,Pt)),y.forEach((j,D)=>{j.attr("x",s+i).attr("y",n+i+(D+1)*p)}),f.insert("rect","text").attr("x",s).attr("y",n).attr("width",N).attr("height",W).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(g.notes.length>0){const t=v.append("g").attr("class","wardley-notes");g.notes.forEach(s=>{const n=z(s.x),i=L(s.y);t.append("text").attr("x",n).attr("y",i).attr("text-anchor","start").attr("font-size",11).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.text)})}if(g.accelerators.length>0){const t=v.append("g").attr("class","wardley-accelerators");g.accelerators.forEach(s=>{const n=z(s.x),i=L(s.y),p=60,l=30,f=20,x=`
|
|
1
|
+
import{p as Mt}from"./chunk-JWPE2WC7-mtd3itJH.js";import{s as Nt,g as zt,q as Lt,p as Tt,a as At,b as Xt,_ as u,X as Et,A as Yt,D as J,l as Q,G as It,d as Bt,r as Ft,c as V}from"./mermaid.core-tIk1Nhel.js";import{p as Rt}from"./cynefin-OW5HDTMX-ByAQTEbY.js";import"./index-BFbW15q7.js";import"./FilePreviewLoading-D6s3o2bu.js";import"./BusyIndicator-BJHbXq72.js";var G=u((o,r)=>{const e=o<=1?o*100:o;if(e<0||e>100)throw new Error(`${r} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${o}`);return e},"toPercent"),A=u((o,r,e)=>({x:G(r,`${e} evolution`),y:G(o,`${e} visibility`)}),"toCoordinates"),K=u(o=>{if(o){if(o==="+<>")return"bidirectional";if(o==="+<")return"backward";if(o==="+>")return"forward"}},"getFlowFromPort"),Ot=u(o=>{if(!o?.startsWith("+"))return{};const e=/^\+'([^']*)'/.exec(o)?.[1];return o.includes("<>")?{flow:"bidirectional",label:e}:o.includes("<")?{flow:"backward",label:e}:o.includes(">")?{flow:"forward",label:e}:{label:e}},"extractFlowFromArrow"),Wt=u((o,r)=>{if(Mt(o,r),o.size&&r.setSize(o.size.width,o.size.height),o.evolution){const e=o.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),h=o.evolution.stages.filter(a=>a.boundary!==void 0).map(a=>a.boundary);r.updateAxes({stages:e,stageBoundaries:h})}if(o.anchors.forEach(e=>{const h=A(e.visibility,e.evolution,`Anchor "${e.name}"`);r.addNode(e.name,e.name,h.x,h.y,"anchor")}),o.components.forEach(e=>{const h=A(e.visibility,e.evolution,`Component "${e.name}"`),a=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,d=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,w=e.decorator?.strategy;r.addNode(e.name,e.name,h.x,h.y,"component",a,d,e.inertia,w)}),o.notes.forEach(e=>{const h=A(e.visibility,e.evolution,`Note "${e.text}"`);r.addNote(e.text,h.x,h.y)}),o.pipelines.forEach(e=>{const h=r.getNode(e.parent);if(!h||typeof h.y!="number")throw new Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);const a=h.y;r.startPipeline(e.parent),e.components.forEach(d=>{const w=`${e.parent}_${d.name}`,C=d.label?(d.label.negX?-1:1)*d.label.offsetX:void 0,g=d.label?(d.label.negY?-1:1)*d.label.offsetY:void 0,R=G(d.evolution,`Pipeline component "${d.name}" evolution`);r.addNode(w,d.name,R,a,"pipeline-component",C,g),r.addPipelineComponent(e.parent,w)})}),o.links.forEach(e=>{const h=!!e.arrow&&(e.arrow.includes("-.->")||e.arrow.includes(".-."));let a=K(e.fromPort)??K(e.toPort);const{flow:d,label:w}=Ot(e.arrow);!a&&d&&(a=d);const C=e.linkLabel,g=w??C;r.addLink(r.resolveNodeId(e.from),r.resolveNodeId(e.to),h,g,a)}),o.evolves.forEach(e=>{const h=r.getNode(e.component);if(h?.y!==void 0){const a=G(e.target,`Evolve target for "${e.component}"`);r.addTrend(e.component,a,h.y)}}),o.annotations.length>0){const e=o.annotations[0],h=A(e.x,e.y,"Annotations box");r.setAnnotationsBox(h.x,h.y)}o.annotation.forEach(e=>{const h=A(e.x,e.y,`Annotation ${e.number}`);r.addAnnotation(e.number,[{x:h.x,y:h.y}],e.text)}),o.accelerators.forEach(e=>{const h=A(e.x,e.y,`Accelerator "${e.name}"`);r.addAccelerator(e.name,h.x,h.y)}),o.deaccelerators.forEach(e=>{const h=A(e.x,e.y,`Deaccelerator "${e.name}"`);r.addDeaccelerator(e.name,h.x,h.y)})},"populateDb"),tt={parser:{yy:void 0},parse:u(async o=>{const r=await Rt("wardley",o);Q.debug(r);const e=tt.parser?.yy;if(!e||typeof e.addNode!="function")throw new Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");Wt(r,e)},"parse")},E,Dt=(E=class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}addNode(r){const e=this.nodes.get(r.id)??{id:r.id,label:r.label},h={...e,...r,className:r.className??e.className,labelOffsetX:r.labelOffsetX??e.labelOffsetX,labelOffsetY:r.labelOffsetY??e.labelOffsetY};this.nodes.set(r.id,h)}addLink(r){this.links.push(r)}addTrend(r){this.trends.set(r.nodeId,r)}startPipeline(r){this.pipelines.set(r,{nodeId:r,componentIds:[]});const e=this.nodes.get(r);e&&(e.isPipelineParent=!0)}addPipelineComponent(r,e){const h=this.pipelines.get(r);h&&h.componentIds.push(e);const a=this.nodes.get(e);a&&(a.inPipeline=!0)}addAnnotation(r){this.annotations.push(r)}addNote(r){this.notes.push(r)}addAccelerator(r){this.accelerators.push(r)}addDeaccelerator(r){this.deaccelerators.push(r)}setAnnotationsBox(r,e){this.annotationsBox={x:r,y:e}}setAxes(r){this.axes={...this.axes,...r}}setSize(r,e){this.size={width:r,height:e}}getNode(r){return this.nodes.get(r)}resolveNodeId(r){if(this.nodes.has(r))return r;for(const[e,h]of this.nodes)if(h.label===r)return e;return r}build(){const r=[];for(const e of this.nodes.values()){if(typeof e.x!="number"||typeof e.y!="number")throw new Error(`Node "${e.label}" is missing coordinates`);r.push(e)}return{nodes:r,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}},u(E,"WardleyBuilder"),E),k=new Dt;function et(){return V()["wardley-beta"]}u(et,"getConfig");function at(o,r,e,h,a,d,w,C,g){k.addNode({id:o,label:r,x:e,y:h,className:a,labelOffsetX:d,labelOffsetY:w,inertia:C,sourceStrategy:g})}u(at,"addNode");function rt(o,r,e=!1,h,a){k.addLink({source:o,target:r,dashed:e,label:h,flow:a})}u(rt,"addLink");function ot(o,r,e){k.addTrend({nodeId:o,targetX:r,targetY:e})}u(ot,"addTrend");function nt(o,r,e){k.addAnnotation({number:o,coordinates:r,text:e})}u(nt,"addAnnotation");function st(o,r,e){k.addNote({text:o,x:r,y:e})}u(st,"addNote");function it(o,r,e){k.addAccelerator({name:o,x:r,y:e})}u(it,"addAccelerator");function dt(o,r,e){k.addDeaccelerator({name:o,x:r,y:e})}u(dt,"addDeaccelerator");function lt(o,r){k.setAnnotationsBox(o,r)}u(lt,"setAnnotationsBox");function ct(o,r){k.setSize(o,r)}u(ct,"setSize");function pt(o){k.startPipeline(o)}u(pt,"startPipeline");function ft(o,r){k.addPipelineComponent(o,r)}u(ft,"addPipelineComponent");function ht(o){k.setAxes(o)}u(ht,"updateAxes");function xt(o){return k.getNode(o)}u(xt,"getNode");function gt(o){return k.resolveNodeId(o)}u(gt,"resolveNodeId");function yt(){return k.build()}u(yt,"getWardleyData");function ut(){k.clear(),Ft()}u(ut,"clear");var Gt={getConfig:et,addNode:at,addLink:rt,addTrend:ot,addAnnotation:nt,addNote:st,addAccelerator:it,addDeaccelerator:dt,setAnnotationsBox:lt,setSize:ct,startPipeline:pt,addPipelineComponent:ft,updateAxes:ht,getNode:xt,resolveNodeId:gt,getWardleyData:yt,clear:ut,setAccTitle:Xt,getAccTitle:At,setDiagramTitle:Tt,getDiagramTitle:Lt,getAccDescription:zt,setAccDescription:Nt},qt=["Genesis","Custom Built","Product","Commodity"],Ht=u(()=>{const{themeVariables:o}=V();return{backgroundColor:o.wardley?.backgroundColor??o.background??"#fff",axisColor:o.wardley?.axisColor??"#000",axisTextColor:o.wardley?.axisTextColor??o.primaryTextColor??"#222",gridColor:o.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:o.wardley?.componentFill??"#fff",componentStroke:o.wardley?.componentStroke??"#000",componentLabelColor:o.wardley?.componentLabelColor??o.primaryTextColor??"#222",linkStroke:o.wardley?.linkStroke??"#000",evolutionStroke:o.wardley?.evolutionStroke??"#dc3545",annotationStroke:o.wardley?.annotationStroke??"#000",annotationTextColor:o.wardley?.annotationTextColor??o.primaryTextColor??"#222",annotationFill:o.wardley?.annotationFill??o.background??"#fff"}},"getTheme"),jt=u(()=>{const o=V()["wardley-beta"];return{width:o?.width??900,height:o?.height??600,padding:o?.padding??48,nodeRadius:o?.nodeRadius??6,nodeLabelOffset:o?.nodeLabelOffset??8,axisFontSize:o?.axisFontSize??12,labelFontSize:o?.labelFontSize??10,showGrid:o?.showGrid??!1,useMaxWidth:o?.useMaxWidth??!0}},"getConfigValues"),Vt=u((o,r,e,h)=>{Q.debug(`Rendering Wardley map
|
|
2
|
+
`+o);const a=jt(),d=Ht(),w=a.nodeRadius*1.6,C=h.db,g=C.getWardleyData(),R=C.getDiagramTitle(),S=g.size?.width??a.width,b=g.size?.height??a.height,Y=It(r);Y.selectAll("*").remove(),Bt(Y,b,S,a.useMaxWidth),Y.attr("viewBox",`0 0 ${S} ${b}`);const v=Y.append("g").attr("class","wardley-map"),q=Y.append("defs");q.append("marker").attr("id",`arrow-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.evolutionStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-end-${r}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",d.linkStroke).attr("stroke","none"),q.append("marker").attr("id",`link-arrow-start-${r}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",d.linkStroke).attr("stroke","none"),v.append("rect").attr("class","wardley-background").attr("width",S).attr("height",b).attr("fill",d.backgroundColor);const I=S-a.padding*2,B=b-a.padding*2;R&&v.append("text").attr("class","wardley-title").attr("x",S/2).attr("y",a.padding/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize*1.05).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(R);const z=u(t=>a.padding+t/100*I,"projectX"),L=u(t=>b-a.padding-t/100*B,"projectY"),O=v.append("g").attr("class","wardley-axes");O.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1),O.append("line").attr("x1",a.padding).attr("x2",a.padding).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.axisColor).attr("stroke-width",1);const wt=g.axes.xLabel??"Evolution",mt=g.axes.yLabel??"Visibility";O.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",a.padding+I/2).attr("y",b-a.padding/4).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(wt),O.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",a.padding/3).attr("y",a.padding+B/2).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${a.padding/3} ${a.padding+B/2})`).text(mt);const F=g.axes.stages&&g.axes.stages.length>0?g.axes.stages:qt;if(F.length>0){const t=v.append("g").attr("class","wardley-stages"),s=g.axes.stageBoundaries,n=[];if(s&&s.length===F.length){let i=0;s.forEach(p=>{n.push({start:i,end:p}),i=p})}else{const i=1/F.length;F.forEach((p,l)=>{n.push({start:l*i,end:(l+1)*i})})}F.forEach((i,p)=>{const l=n[p],f=a.padding+l.start*I,x=a.padding+l.end*I,y=(f+x)/2;p>0&&t.append("line").attr("x1",f).attr("x2",f).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),t.append("text").attr("class","wardley-stage-label").attr("x",y).attr("y",b-a.padding/1.5).attr("fill",d.axisTextColor).attr("font-size",a.axisFontSize-2).attr("text-anchor","middle").text(i)})}if(a.showGrid){const t=v.append("g").attr("class","wardley-grid");for(let s=1;s<4;s++){const n=s/4,i=a.padding+I*n;t.append("line").attr("x1",i).attr("x2",i).attr("y1",a.padding).attr("y2",b-a.padding).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6"),t.append("line").attr("x1",a.padding).attr("x2",S-a.padding).attr("y1",b-a.padding-B*n).attr("y2",b-a.padding-B*n).attr("stroke",d.gridColor).attr("stroke-dasharray","2 6")}}const c=new Map;if(g.nodes.forEach(t=>{c.set(t.id,{x:z(t.x),y:L(t.y),node:t})}),g.pipelines.length>0){const t=v.append("g").attr("class","wardley-pipelines"),s=v.append("g").attr("class","wardley-pipeline-links");g.pipelines.forEach(n=>{if(n.componentIds.length===0)return;const i=n.componentIds.map(x=>({id:x,pos:c.get(x),node:g.nodes.find(y=>y.id===x)})).filter(x=>x.pos&&x.node).sort((x,y)=>x.node.x-y.node.x);for(let x=0;x<i.length-1;x++){const y=i[x],m=i[x+1];s.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",y.pos.x).attr("y1",y.pos.y).attr("x2",m.pos.x).attr("y2",m.pos.y).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let p=1/0,l=-1/0,f=0;if(n.componentIds.forEach(x=>{const y=c.get(x);y&&(p=Math.min(p,y.x),l=Math.max(l,y.x),f=y.y)}),p!==1/0&&l!==-1/0){const y=a.nodeRadius*4,m=f-y/2,P=c.get(n.nodeId);if(P){const N=(p+l)/2;P.x=N,P.y=m-w/6}t.append("rect").attr("class","wardley-pipeline-box").attr("x",p-15).attr("y",m).attr("width",l-p+30).attr("height",y).attr("fill","none").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}const _=v.append("g").attr("class","wardley-links"),Z=new Map;g.pipelines.forEach(t=>{Z.set(t.nodeId,new Set(t.componentIds))});const U=g.links.filter(t=>!(!c.has(t.source)||!c.has(t.target)||Z.get(t.target)?.has(t.source)));_.selectAll("line").data(U).enter().append("line").attr("class",t=>`wardley-link${t.dashed?" wardley-link--dashed":""}`).attr("x1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.x+l/x*p}).attr("y1",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.source).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f);return s.y+f/x*p}).attr("x2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.x+l/x*p}).attr("y2",t=>{const s=c.get(t.source),n=c.get(t.target),p=g.nodes.find(y=>y.id===t.target).isPipelineParent?w/Math.sqrt(2):a.nodeRadius,l=s.x-n.x,f=s.y-n.y,x=Math.sqrt(l*l+f*f);return n.y+f/x*p}).attr("stroke",d.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",t=>t.dashed?"6 6":null).attr("marker-end",t=>t.flow==="forward"||t.flow==="bidirectional"?`url(#link-arrow-end-${r})`:null).attr("marker-start",t=>t.flow==="backward"||t.flow==="bidirectional"?`url(#link-arrow-start-${r})`:null),_.selectAll("text").data(U.filter(t=>t.label)).enter().append("text").attr("class","wardley-link-label").attr("x",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=n.y-s.y,l=n.x-s.x,f=Math.sqrt(l*l+p*p),x=8,y=p/f;return i+y*x}).attr("y",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.y+n.y)/2,p=n.x-s.x,l=n.y-s.y,f=Math.sqrt(p*p+l*l),x=8,y=-p/f;return i+y*x}).attr("fill",d.axisTextColor).attr("font-size",a.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",t=>{const s=c.get(t.source),n=c.get(t.target),i=(s.x+n.x)/2,p=(s.y+n.y)/2,l=n.x-s.x,f=n.y-s.y,x=Math.sqrt(l*l+f*f),y=8,m=f/x,P=-l/x,N=i+m*y,W=p+P*y;let X=Math.atan2(f,l)*180/Math.PI;return(X>90||X<-90)&&(X+=180),`rotate(${X} ${N} ${W})`}).text(t=>t.label);const kt=v.append("g").attr("class","wardley-trends"),bt=g.trends.map(t=>{const s=c.get(t.nodeId);if(!s)return null;const n=z(t.targetX),i=L(t.targetY),p=n-s.x,l=i-s.y,f=Math.sqrt(p*p+l*l),x=a.nodeRadius+2,y=f>x?n-p/f*x:n,m=f>x?i-l/f*x:i;return{origin:s,targetX:n,targetY:i,adjustedX2:y,adjustedY2:m}}).filter(t=>t!==null);kt.selectAll("line").data(bt).enter().append("line").attr("class","wardley-trend").attr("x1",t=>t.origin.x).attr("y1",t=>t.origin.y).attr("x2",t=>t.adjustedX2).attr("y2",t=>t.adjustedY2).attr("stroke",d.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${r})`);const M=v.append("g").attr("class","wardley-nodes").selectAll("g").data(g.nodes).enter().append("g").attr("class",t=>["wardley-node",t.className?`wardley-node--${t.className}`:""].filter(Boolean).join(" "));M.filter(t=>t.sourceStrategy==="outsource").append("circle").attr("class","wardley-outsource-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#666").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="buy").append("circle").attr("class","wardley-buy-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#ccc").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.sourceStrategy==="build").append("circle").attr("class","wardley-build-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);const T=M.filter(t=>t.sourceStrategy==="market");T.append("circle").attr("class","wardley-market-overlay").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius*2).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>!t.isPipelineParent&&t.sourceStrategy!=="market"&&t.className!=="anchor").append("circle").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y).attr("r",a.nodeRadius).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1);const H=a.nodeRadius*.7,$=a.nodeRadius*1.2;if(T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x).attr("y1",t=>c.get(t.id).y-$).attr("x2",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y2",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("line").attr("class","wardley-market-line").attr("x1",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("y1",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("x2",t=>c.get(t.id).x).attr("y2",t=>c.get(t.id).y-$).attr("stroke",d.componentStroke).attr("stroke-width",1),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x).attr("cy",t=>c.get(t.id).y-$).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x-$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),T.append("circle").attr("class","wardley-market-dot").attr("cx",t=>c.get(t.id).x+$*Math.cos(Math.PI/6)).attr("cy",t=>c.get(t.id).y+$*Math.sin(Math.PI/6)).attr("r",H).attr("fill","white").attr("stroke",d.componentStroke).attr("stroke-width",2),M.filter(t=>t.isPipelineParent===!0).append("rect").attr("x",t=>c.get(t.id).x-w/2).attr("y",t=>c.get(t.id).y-w/2).attr("width",w).attr("height",w).attr("fill",d.componentFill).attr("stroke",d.componentStroke).attr("stroke-width",1),M.filter(t=>t.inertia===!0).append("line").attr("class","wardley-inertia").attr("x1",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y1",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y-n/2}).attr("x2",t=>{const s=c.get(t.id);let n=t.isPipelineParent?w/2+15:a.nodeRadius+15;return t.sourceStrategy&&(n+=a.nodeRadius+10),s.x+n}).attr("y2",t=>{const s=c.get(t.id),n=t.isPipelineParent?w:a.nodeRadius*2;return s.y+n/2}).attr("stroke",d.componentStroke).attr("stroke-width",6),M.append("text").attr("x",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetX!==void 0?s.x+t.labelOffsetX:s.x;let n=a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetX===void 0&&(n+=10);const i=t.labelOffsetX??n;return s.x+i}).attr("y",t=>{const s=c.get(t.id);if(t.className==="anchor")return t.labelOffsetY!==void 0?s.y+t.labelOffsetY:s.y-3;let n=-a.nodeLabelOffset;t.sourceStrategy&&t.labelOffsetY===void 0&&(n-=10);const i=t.labelOffsetY??n;return s.y+i}).attr("class","wardley-node-label").attr("fill",t=>t.className==="evolved"?d.evolutionStroke:t.className==="anchor"?"#000":d.componentLabelColor).attr("font-size",a.labelFontSize).attr("font-weight",t=>t.className==="anchor"?"bold":"normal").attr("text-anchor",t=>t.className==="anchor"?"middle":"start").attr("dominant-baseline",t=>t.className==="anchor"?"middle":"auto").text(t=>t.label),g.annotations.length>0){const t=v.append("g").attr("class","wardley-annotations");if(g.annotations.forEach(s=>{const n=s.coordinates.map(i=>({x:z(i.x),y:L(i.y)}));if(n.length>1)for(let i=0;i<n.length-1;i++)t.append("line").attr("class","wardley-annotation-line").attr("x1",n[i].x).attr("y1",n[i].y).attr("x2",n[i+1].x).attr("y2",n[i+1].y).attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");n.forEach(i=>{const p=t.append("g").attr("class","wardley-annotation");p.append("circle").attr("cx",i.x).attr("cy",i.y).attr("r",10).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5),p.append("text").attr("x",i.x).attr("y",i.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.number)})}),g.annotationsBox){let s=z(g.annotationsBox.x),n=L(g.annotationsBox.y);const i=10,p=16,l=11,f=t.append("g").attr("class","wardley-annotations-box"),x=[...g.annotations].filter(m=>m.text).sort((m,P)=>m.number-P.number),y=[];if(x.forEach((m,P)=>{const N=f.append("text").attr("x",s+i).attr("y",n+i+(P+1)*p).attr("font-size",l).attr("fill",d.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${m.number}. ${m.text}`);y.push(N)}),y.length>0){let m=0,P=0;y.forEach(j=>{const D=j.node(),Ct=D.getComputedTextLength();m=Math.max(m,Ct);const St=D.getBBox();P=Math.max(P,St.height)});const N=m+i*2+105,W=x.length*p+i*2+P/2,X=a.padding,$t=S-a.padding-N,vt=a.padding,Pt=b-a.padding-W;s=Math.max(X,Math.min(s,$t)),n=Math.max(vt,Math.min(n,Pt)),y.forEach((j,D)=>{j.attr("x",s+i).attr("y",n+i+(D+1)*p)}),f.insert("rect","text").attr("x",s).attr("y",n).attr("width",N).attr("height",W).attr("fill","white").attr("stroke",d.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(g.notes.length>0){const t=v.append("g").attr("class","wardley-notes");g.notes.forEach(s=>{const n=z(s.x),i=L(s.y);t.append("text").attr("x",n).attr("y",i).attr("text-anchor","start").attr("font-size",11).attr("fill",d.axisTextColor).attr("font-weight","bold").text(s.text)})}if(g.accelerators.length>0){const t=v.append("g").attr("class","wardley-accelerators");g.accelerators.forEach(s=>{const n=z(s.x),i=L(s.y),p=60,l=30,f=20,x=`
|
|
3
3
|
M ${n} ${i-l/2}
|
|
4
4
|
L ${n+p-f} ${i-l/2}
|
|
5
5
|
L ${n+p-f} ${i-l/2-8}
|
|
@@ -75,4 +75,4 @@ import{p as Mt}from"./chunk-JWPE2WC7-8EHrQSbL.js";import{s as Nt,g as zt,q as Lt
|
|
|
75
75
|
.wardley-notes text {
|
|
76
76
|
fill: ${a.axisTextColor};
|
|
77
77
|
}
|
|
78
|
-
`},"styles"),
|
|
78
|
+
`},"styles"),re={parser:tt,db:Gt,renderer:_t,styles:Zt};export{re as diagram};
|
package/web/assets/{workbench-live-service-Dn0AH63S.js → workbench-live-service-CQiYAsuU.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as J,a as U,b as q,c as _,d as B,f as x,g as j,h as G,i as V,j as F}from"./index-
|
|
1
|
+
import{r as J,a as U,b as q,c as _,d as B,f as x,g as j,h as G,i as V,j as F}from"./index-BFbW15q7.js";const z=1e4;function K(n){const i=new Map,I=new Set;let s,o,l=500,k=!1,g,m,y=!1;const a=x(!1);let d,v,P=0;const f=new Map;function p(){v!==void 0&&clearInterval(v),v=void 0,f.clear()}function N(){if(s===void 0||s.readyState!==WebSocket.OPEN)return;if(f.size>0){w();return}const t=String(++P);f.set(t,performance.now()),s.send(JSON.stringify({type:"ping",id:t}))}function R(){p(),N(),v=setInterval(N,z)}function D(){const t=new URL(n.endpoint?.()??"/api/workbench/live",window.location.origin);return t.protocol=t.protocol==="https:"?"wss:":"ws:",t.toString()}function M(){}function E(){if(a.value)return Promise.resolve(!0);if(d===void 0){let t;d={promise:new Promise(c=>{t=c}),resolve:t}}return d.promise}function S(t){const e=d;d=void 0,e?.resolve(t)}function b(t){if(typeof t!="object"||t===null||Array.isArray(t))return;const e=t;if(e.type==="workbench.ready"&&typeof e.workbenchConnectionId=="string"&&typeof e.workbenchResumeToken=="string"){n.diagnostics?.setConnectionState("connected"),g=e.workbenchConnectionId,m=e.workbenchResumeToken;const r=e.resumed===!0;a.value=!0,n.onReady?.(g,r),S(!0),y&&n.onConnectionRestored?.(r),y&&r&&n.onReconnect(),y=!1,R();return}if(e.type==="pong"&&typeof e.id=="string"){const r=f.get(e.id);r!==void 0&&(f.delete(e.id),n.diagnostics?.setPingLatency?.(performance.now()-r));return}if(e.type==="watch.event"&&e.event!==void 0){n.onWatchEvent?.(e.event);return}if(typeof e.type=="string"&&e.type.startsWith("direct.")){const r=j.safeParse(e);if(!r.success){n.onInvalidMessage();return}n.onDirectMessage?.(r.data);return}if(typeof e.type=="string"&&e.type.startsWith("terminal.direct.")){const r=G.safeParse(e);if(!r.success){n.onInvalidMessage();return}n.onTerminalDirectMessage?.(r.data);return}if(typeof e.type=="string"&&e.type.startsWith("desktop.direct.")){const r=V.safeParse(e);r.success?n.onDesktopDirectMessage?.(r.data):n.onInvalidMessage();return}if(typeof e.type=="string"&&e.type.startsWith("desktop.relay.")){const r=F.safeParse(e);r.success?n.onDesktopRelayMessage?.(r.data):n.onInvalidMessage();return}if(n.onNotificationMessage?.(e))return;if(e.type==="resync-required"&&typeof e.nodeId=="string"){n.diagnostics?.resetActiveRuns(),i.delete(e.nodeId),n.onResyncRequired(e.nodeId);return}if(e.type==="node.upgrade"&&typeof e.nodeId=="string"){n.onNodeUpgrade?.(e.nodeId,e.snapshot);return}if(e.type==="node"&&typeof e.nodeId=="string"&&typeof e.connected=="boolean"){let r=!1;e.connected?I.delete(e.nodeId)&&(i.delete(e.nodeId),r=!0):(I.add(e.nodeId),i.delete(e.nodeId)),n.onNodeConnection(e.nodeId,e.connected),e.reason==="CONNECTION_REPLACED"&&(n.diagnostics?.resetActiveRuns(),i.delete(e.nodeId),n.onNodeReplaced(e.nodeId),r=!0),r&&n.onResyncRequired(e.nodeId);return}if(e.type!=="event"||typeof e.event!="object"||e.event===null)return;const c=e.event;if(typeof c.nodeId!="string"||!Number.isInteger(c.sequence)||typeof c.category!="string")return;const u=c.sequence;u<=(i.get(c.nodeId)??0)||(i.set(c.nodeId,u),n.onEvent(c))}function h(){if(!n.canConnect()||s!==void 0)return;n.diagnostics?.setConnectionState("connecting");const t=new WebSocket(D());s=t,t.addEventListener("open",()=>{if(s!==t)return;const e=k;k=!0,l=500,i.clear(),y=e,a.value=!1,t.send(JSON.stringify({type:"resume",...g===void 0?{}:{workbenchConnectionId:g},...m===void 0?{}:{workbenchResumeToken:m}}))}),t.addEventListener("message",e=>{if(s!==t)return;const c=performance.now(),u=String(e.data);let r;try{r=JSON.parse(u),b(r)}catch{n.onInvalidMessage()}finally{n.diagnostics?.observeFrame({payloadUtf16CodeUnits:u.length,durationMs:performance.now()-c,message:r})}}),t.addEventListener("close",e=>{if(s===t){if(s=void 0,a.value=!1,p(),n.diagnostics?.setConnectionState("disconnected"),e.code===4001&&e.reason==="UNAUTHENTICATED"){S(!1),n.onUnauthenticated(),n.onDisconnected?.();return}if(n.onDisconnected?.(),!n.canConnect()){S(!1);return}o=setTimeout(()=>{o=void 0,h()},l),l=Math.min(l*2,3e4)}})}function C(){o!==void 0&&clearTimeout(o),o=void 0;const t=s;s=void 0,a.value=!1,S(!1),p(),n.diagnostics?.setConnectionState("disconnected"),t?.close(1e3,"PAGE_CLOSED")}function w(){if(!n.canConnect())return;o!==void 0&&clearTimeout(o),o=void 0;const t=s;s=void 0,a.value=!1,p(),n.diagnostics?.setConnectionState("connecting"),t?.close(4e3,"PAGE_VISIBLE_RECONNECT"),h()}function O(t){const e=B.safeParse(t);return!e.success||!a.value||s===void 0||s.readyState!==WebSocket.OPEN?!1:(s.send(JSON.stringify(e.data)),!0)}function T(t){const e=_.safeParse(t);return!e.success||!a.value||s===void 0||s.readyState!==WebSocket.OPEN?!1:(s.send(JSON.stringify(e.data)),!0)}function W(t){const e=q.safeParse(t);return!e.success||!a.value||s?.readyState!==WebSocket.OPEN?!1:(s.send(JSON.stringify(e.data)),!0)}function A(t){const e=U.safeParse(t);return!e.success||!a.value||s?.readyState!==WebSocket.OPEN?!1:(s.send(JSON.stringify(e.data)),!0)}function L(t){a.value&&s?.readyState===WebSocket.OPEN&&s.send(JSON.stringify({type:"session-share.visitor",visitor:t}))}return{connected:J(a),waitForReady:E,restore:M,connect:h,reconnect:w,close:C,sendDirect:O,sendTerminalDirect:T,sendDesktopDirect:W,sendDesktopRelay:A,updateShareVisitor:L}}export{K as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.mar-ui-link[data-v-72aa12a0]{display:inline-flex;min-inline-size:0;align-items:center;gap:.25rem;color:var(--mar-ui-link-text-color, var(--mar-ui-text-secondary));font-size:inherit;text-decoration:none}.mar-ui-link[data-type=primary][data-v-72aa12a0]{color:var(--mar-ui-link-text-color, var(--mar-ui-control-link-text))}.mar-ui-link[data-v-72aa12a0]:hover{color:var(--mar-ui-link-hover-text-color, var(--mar-ui-control-link-hover))}.mar-ui-link[data-v-72aa12a0]:focus-visible{outline:2px solid var(--mar-ui-color-brand);outline-offset:2px}.mar-ui-link[data-underline=always][data-v-72aa12a0],.mar-ui-link[data-underline=true][data-v-72aa12a0]:hover,.mar-ui-link[data-underline=hover][data-v-72aa12a0]:hover{text-decoration:underline}.mar-ui-link__inner[data-v-72aa12a0]{min-inline-size:0}svg[data-v-72aa12a0]{flex:none}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as I,o as f,n as y,C as A,E as M,a5 as D,a4 as R,G as p,p as L,_,t as s,f as l,av as $}from"./index-BFbW15q7.js";import{f as N}from"./time-presentation-D0SLW-7Y.js";import"./conversation-history-CWG_l_s7.js";const T={"en-US":{divisor:1e6,minimumFractionDigits:0},"zh-CN":{divisor:1e8,minimumFractionDigits:1}},E=["href","data-type","data-underline"],F={key:2,class:"mar-ui-link__inner"},O=I({__name:"MarLink",props:{href:{},type:{default:"default"},underline:{type:[Boolean,String],default:"hover"},icon:{}},setup(e){return(t,n)=>(f(),y("a",{class:"mar-ui-link",href:e.href,"data-type":e.type,"data-underline":e.underline},[typeof e.icon=="string"?(f(),A(M(D),{key:0,name:e.icon},null,8,["name"])):e.icon?(f(),A(R(e.icon),{key:1,"aria-hidden":"true"})):p("",!0),t.$slots.default?(f(),y("span",F,[L(t.$slots,"default",{},void 0,!0)])):p("",!0)],8,E))}}),K=_(O,[["__scopeId","data-v-72aa12a0"]]);function W(e){return{five_hour:s("nodeMessages.fiveHourLimit"),seven_day:s("nodeMessages.sevenDayLimit"),seven_day_sonnet:s("nodeMessages.sevenDaySonnetLimit")}[e.id]??e.label}function w(e){return e==="claude-code"?s("nodeMessages.claudeUsage"):s("nodeMessages.codexUsage")}function q(e){const t=l(),n=l(!1),u=l(),i=l(!1),o=l(),m=l(),v=l(!1);function h(a){t.value=a,n.value=!0,u.value=void 0,i.value=!1,g(a.id)}async function g(a){const r=t.value;try{const c=await e.request(`/api/runner-usage/status?nodeId=${encodeURIComponent(a)}`);t.value===r&&r?.id===a&&(u.value=c.statuses,i.value=!1)}catch{t.value===r&&r?.id===a&&(u.value=[],i.value=!0)}}function S(a){if(i.value)return s("generated.runnerUsageService.usageCapabilityDetectionFailedCloseAndReopen");const r=u.value?.find(c=>c.runner===a);return r===void 0?s("generated.runnerUsageService.detectingUsageCapability"):r.available?"":r.reasonCode==="OFFICIAL_OAUTH_REQUIRED"?s("generated.runnerUsageService.usageQueriesRequireAnOfficialOAuthAccount"):r.reasonCode==="RUNNER_UNAVAILABLE"?s("generated.runnerUsageService.thisRunnerIsUnavailableSoUsageCannot"):s("generated.runnerUsageService.thisRunnerDoesNotCurrentlySupportUsage")}async function U(a){const r=t.value;if(!(r===void 0||o.value!==void 0)){o.value=a;try{const c=await e.request(`/api/runner-usage?nodeId=${encodeURIComponent(r.id)}&runner=${encodeURIComponent(a)}`);if(t.value!==r)return;m.value=c.usage,v.value=!0}catch(c){if(t.value!==r)return;e.error(s("generated.runnerUsageService.unableToQueryUsage",{value0:e.errorMessage(c)}),c),g(r.id)}finally{t.value===r&&(o.value=void 0)}}}function k(a){return w(a?.runner)}function C(a){return a===null?s("generated.runnerUsageService.notProvided"):N(a)}function b(){v.value=!1,m.value=void 0,o.value=void 0,n.value=!1,t.value=void 0,u.value=void 0,i.value=!1}return{nodeDetails:t,detailsOpen:n,statuses:u,loading:o,details:m,usageOpen:v,openNode:h,loadStatuses:g,disabledReason:S,show:U,title:k,formatTimestamp:C,clearNode:b}}const H=30;function d(e){return e!==void 0&&Number.isFinite(e)&&e>0}function Q(e,t){if(!e?.ready||!t.ready||e.context!==t.context||e.items.length!==t.items.length||e.items.every((i,o)=>i.key===t.items[o]?.key))return!1;const n=new Map(e.items.map(i=>[i.key,i]));let u=!1;for(const i of t.items){const o=n.get(i.key);if(!o||o.pin!==i.pin)return!1;d(o.lastActivityAt)&&d(i.lastActivityAt)&&i.lastActivityAt>o.lastActivityAt&&(u=!0)}return u}function V(e,t=Date.now()){if(!d(e))return"—";const n=Math.max(0,t-e);return n<6e4?"<1m":n<60*6e4?`>${Math.floor(n/6e4)}m`:n<1440*6e4?`>${Math.floor(n/(60*6e4))}h`:`>${Math.floor(n/(1440*6e4))}d`}function j(e){return encodeURIComponent(e).replace(/%3A/gi,":")}function z(e,t){return`${e}:${t}`}function Z(e){return e.displayName?.trim()?e.displayName.trim():e.path.split(/[\\/]/).filter(Boolean).at(-1)||e.path}function J(e){return e.kind==="GIT_WORKSPACE"?"Git":s("workspace.directory")}function X(e){if(e.kind==="GIT_WORKSPACE")return e.gitSummary?.branch??"HEAD"}function x(e){return e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${Math.round(e/1e3)}k`:String(e)}function Y(e){if(e===null)return"—";if(e<1e8)return x(e);const t=$(),n=T[t];return s("marAgentModels.codexUsageLargeTokens",{value:new Intl.NumberFormat(t,{useGrouping:!1,minimumFractionDigits:n.minimumFractionDigits,maximumFractionDigits:1}).format(e/n.divisor)})}function ee(e){return`${Math.max(0,Math.round(e*10)/10)}%`}function te(e){return e.length===0?e:`${e[0]?.toUpperCase()}${e.slice(1)}`}function ne(e){return e.displayName?.trim()||e.registeredAddress||e.id}function ae(e,t){return e.externalDiscovered===!1||!d(e.lastActivityAt)?void 0:s("presentation.lastActivity",{value:t(e.lastActivityAt)})}function re(e){return e.externalDiscovered===!1||!d(e.lastActivityAt)?void 0:new Date(e.lastActivityAt).toISOString()}export{K as M,H as W,ee as a,j as b,Y as c,z as d,te as e,V as f,X as g,Z as h,re as i,q as j,Q as k,d as l,ne as n,W as r,ae as s,x as t,J as w};
|
package/web/assets/{xychartDiagram-S5SC5T6Z-BEfVfpB4.js → xychartDiagram-S5SC5T6Z-dEwC3KCd.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{s as pi,g as mi,q as $t,p as yi,a as bi,b as wi,_ as a,l as Ut,G as Ai,d as Ci,r as Si,A as Dt,i as Ri,D as Gt,E as _i,X as ki,aB as Ti,a8 as Xt}from"./mermaid.core-
|
|
1
|
+
import{s as pi,g as mi,q as $t,p as yi,a as bi,b as wi,_ as a,l as Ut,G as Ai,d as Ci,r as Si,A as Dt,i as Ri,D as Gt,E as _i,X as ki,aB as Ti,a8 as Xt}from"./mermaid.core-tIk1Nhel.js";import{i as Di}from"./init-Gi6I4Gst.js";import{o as Pi}from"./ordinal-Cboi1Yqb.js";import{l as Nt}from"./linear-cvnW3wz3.js";import"./index-BFbW15q7.js";import"./FilePreviewLoading-D6s3o2bu.js";import"./BusyIndicator-BJHbXq72.js";import"./defaultLocale-DX6XiGOO.js";function vi(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s<n;)o[s]=e+s*i;return o}function St(){var e=Pi().unknown(void 0),t=e.domain,i=e.range,s=0,n=1,o,h,p=!1,u=0,f=0,R=.5;delete e.unknown;function C(){var y=t().length,E=n<s,v=E?n:s,L=E?s:n;o=(L-v)/Math.max(1,y-u+f*2),p&&(o=Math.floor(o)),v+=(L-v-o*(y-u))*R,h=o*(1-u),p&&(v=Math.round(v),h=Math.round(h));var M=vi(y).map(function(b){return v+o*b});return i(E?M.reverse():M)}return e.domain=function(y){return arguments.length?(t(y),C()):t()},e.range=function(y){return arguments.length?([s,n]=y,s=+s,n=+n,C()):[s,n]},e.rangeRound=function(y){return[s,n]=y,s=+s,n=+n,p=!0,C()},e.bandwidth=function(){return h},e.step=function(){return o},e.round=function(y){return arguments.length?(p=!!y,C()):p},e.padding=function(y){return arguments.length?(u=Math.min(1,f=+y),C()):u},e.paddingInner=function(y){return arguments.length?(u=Math.min(1,y),C()):u},e.paddingOuter=function(y){return arguments.length?(f=+y,C()):f},e.align=function(y){return arguments.length?(R=Math.max(0,Math.min(1,y)),C()):R},e.copy=function(){return St(t(),[s,n]).round(p).paddingInner(u).paddingOuter(f).align(R)},Di.apply(C(),arguments)}var Rt=(function(){var e=a(function(W,l,g,d){for(g=g||{},d=W.length;d--;g[W[d]]=l);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],n=[1,5],o=[1,6],h=[1,7],p=[1,5,10,12,14,16,18,19,21,23,36,37,38],u=[1,25],f=[1,26],R=[1,28],C=[1,29],y=[1,30],E=[1,31],v=[1,32],L=[1,33],M=[1,34],b=[1,35],D=[1,36],c=[1,37],z=[1,43],F=[1,42],X=[1,47],N=[1,50],k=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],S=[1,65],O=[26,28],T={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:a(function(l,g,d,x,_,r,lt){var m=r.length-1;switch(_){case 5:x.setOrientation(r[m]);break;case 9:x.setDiagramTitle(r[m].text.trim());break;case 12:x.setLineData({text:"",type:"text"},r[m]);break;case 13:x.setLineData(r[m-1],r[m]);break;case 14:x.setBarData({text:"",type:"text"},r[m]);break;case 15:x.setBarData(r[m-1],r[m]);break;case 16:this.$=r[m].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=r[m].trim(),x.setAccDescription(this.$);break;case 19:this.$=r[m-1];break;case 20:case 30:this.$=[r[m-2],...r[m]];break;case 21:case 31:this.$=[r[m]];break;case 22:this.$={value:Number(r[m-1]),label:r[m]};break;case 23:this.$={value:Number(r[m]),label:""};break;case 24:x.setXAxisTitle(r[m]);break;case 25:x.setXAxisTitle(r[m-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(r[m]);break;case 28:x.setXAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 29:this.$=r[m-1];break;case 32:x.setYAxisTitle(r[m]);break;case 33:x.setYAxisTitle(r[m-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(r[m-2]),Number(r[m]));break;case 39:this.$={text:r[m],type:"text"};break;case 40:this.$={text:r[m],type:"text"};break;case 41:this.$={text:r[m],type:"markdown"};break;case 42:this.$=r[m];break;case 43:this.$=r[m-1]+""+r[m];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:n,37:o,38:h}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:n,37:o,38:h}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:n,37:o,38:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(p,[2,36]),e(p,[2,37]),e(p,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:n,37:o,38:h}),{1:[2,3]},e(p,[2,5]),e(t,[2,7],{4:22,36:n,37:o,38:h}),{11:23,30:u,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},{11:39,13:38,24:z,29:F,30:u,31:40,32:41,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},{11:45,15:44,29:X,30:u,35:46,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},{11:49,17:48,24:N,30:u,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},{11:52,17:51,24:N,30:u,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},{20:[1,53]},{22:[1,54]},e(k,[2,18]),{1:[2,2]},e(k,[2,8]),e(k,[2,9]),e(H,[2,39],{41:55,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(k,[2,10]),e(k,[2,24],{32:41,31:56,24:z,29:F}),e(k,[2,26]),e(k,[2,27]),{33:[1,57]},{11:59,30:u,34:58,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},e(k,[2,11]),e(k,[2,32],{35:60,29:X}),e(k,[2,34]),{33:[1,61]},e(k,[2,12]),{17:62,24:N},{25:63,27:64,29:S},e(k,[2,14]),{17:66,24:N},e(k,[2,16]),e(k,[2,17]),e(A,[2,43]),e(k,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(k,[2,33]),{29:[1,70]},e(k,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(O,[2,23],{30:[1,73]}),e(k,[2,15]),e(k,[2,28]),e(k,[2,29]),{11:59,30:u,34:74,39:24,40:f,41:27,42:R,43:C,44:y,45:E,46:v,47:L,48:M,49:b,50:D,51:c},e(k,[2,35]),e(k,[2,19]),{25:75,27:64,29:S},e(O,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:a(function(l,g){if(g.recoverable)this.trace(l);else{var d=new Error(l);throw d.hash=g,d}},"parseError"),parse:a(function(l){var g=this,d=[0],x=[],_=[null],r=[],lt=this.table,m="",dt=0,Ot=0,ui=2,Vt=1,di=r.slice.call(arguments,1),P=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);P.setInput(l,$.yy),$.yy.lexer=P,$.yy.parser=this,typeof P.yylloc>"u"&&(P.yylloc={});var wt=P.yylloc;r.push(wt);var xi=P.options&&P.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(B){d.length=d.length-2*B,_.length=_.length-B,r.length=r.length-B}a(fi,"popStack");function Ft(){var B;return B=x.pop()||P.lex()||Vt,typeof B!="number"&&(B instanceof Array&&(x=B,B=x.pop()),B=g.symbols_[B]||B),B}a(Ft,"lex");for(var I,U,V,At,j={},xt,Y,Wt,ft;;){if(U=d[d.length-1],this.defaultActions[U]?V=this.defaultActions[U]:((I===null||typeof I>"u")&&(I=Ft()),V=lt[U]&<[U][I]),typeof V>"u"||!V.length||!V[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");P.showPosition?Ct="Parse error on line "+(dt+1)+`:
|
|
2
2
|
`+P.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Ct="Parse error on line "+(dt+1)+": Unexpected "+(I==Vt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Ct,{text:P.match,token:this.terminals_[I]||I,line:P.yylineno,loc:wt,expected:ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+I);switch(V[0]){case 1:d.push(I),_.push(P.yytext),r.push(P.yylloc),d.push(V[1]),I=null,Ot=P.yyleng,m=P.yytext,dt=P.yylineno,wt=P.yylloc;break;case 2:if(Y=this.productions_[V[1]][1],j.$=_[_.length-Y],j._$={first_line:r[r.length-(Y||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(Y||1)].first_column,last_column:r[r.length-1].last_column},xi&&(j._$.range=[r[r.length-(Y||1)].range[0],r[r.length-1].range[1]]),At=this.performAction.apply(j,[m,Ot,dt,$.yy,V[1],_,r].concat(di)),typeof At<"u")return At;Y&&(d=d.slice(0,-1*Y*2),_=_.slice(0,-1*Y),r=r.slice(0,-1*Y)),d.push(this.productions_[V[1]][0]),_.push(j.$),r.push(j._$),Wt=lt[d[d.length-2]][d[d.length-1]],d.push(Wt);break;case 3:return!0}}return!0},"parse")},ht=(function(){var W={EOF:1,parseError:a(function(g,d){if(this.yy.parser)this.yy.parser.parseError(g,d);else throw new Error(g)},"parseError"),setInput:a(function(l,g){return this.yy=g||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var g=l.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:a(function(l){var g=l.length,d=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===x.length?this.yylloc.first_column:0)+x[x.length-d.length].length-d[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(l){this.unput(this.match.slice(l))},"less"),pastInput:a(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var l=this.pastInput(),g=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
|
|
5
5
|
`+g+"^"},"showPosition"),test_match:a(function(l,g){var d,x,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),x=l[0].match(/(?:\r\n?|\n).*/g),x&&(this.yylineno+=x.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+l[0].length},this.yytext+=l[0],this.match+=l[0],this.matches=l,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(l[0].length),this.matched+=l[0],d=this.performAction.call(this,this.yy,this,g,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),d)return d;if(this._backtrack){for(var r in _)this[r]=_[r];return!1}return!1},"test_match"),next:a(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,g,d,x;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),r=0;r<_.length;r++)if(d=this._input.match(this.rules[_[r]]),d&&(!g||d[0].length>g[0].length)){if(g=d,x=r,this.options.backtrack_lexer){if(l=this.test_match(d,_[r]),l!==!1)return l;if(this._backtrack){g=!1;continue}else return!1}else if(!this.options.flex)break}return g?(l=this.test_match(g,_[x]),l!==!1?l:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
6
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:a(function(){var g=this.next();return g||this.lex()},"lex"),begin:a(function(g){this.conditionStack.push(g)},"begin"),popState:a(function(){var g=this.conditionStack.length-1;return g>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:a(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:a(function(g){return g=this.conditionStack.length-1-Math.abs(g||0),g>=0?this.conditionStack[g]:"INITIAL"},"topState"),pushState:a(function(g){this.begin(g)},"pushState"),stateStackSize:a(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:a(function(g,d,x,_){switch(x){case 0:break;case 1:break;case 2:return this.popState(),36;case 3:return this.popState(),36;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 33;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 29;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState("string");break;case 28:this.popState();break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 44;case 33:return"COLON";case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}};return W})();T.lexer=ht;function q(){this.yy={}}return a(q,"Parser"),q.prototype=T,T.Parser=q,new q})();Rt.parser=Rt;var Li=Rt;function pt(e){return e.type==="bar"}a(pt,"isBarPlot");function mt(e){return e.type==="band"}a(mt,"isBandAxisData");function Q(e){return e.type==="linear"}a(Q,"isLinearAxisData");var K,Pt=(K=class{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((o,h)=>Math.max(h.length,o),0)*i,height:i};const s={width:0,height:0},n=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const o of t){const h=Ti(n,1,o),p=h?h.width:o.length*i,u=h?h.height:i;s.width=Math.max(s.width,p),s.height=Math.max(s.height,u)}return n.remove(),s}},a(K,"TextDimensionCalculatorWithFont"),K),Yt=.7,Ht=.2,Z,qt=(Z=class{constructor(t,i,s,n){this.axisConfig=t,this.title=i,this.textDimensionCalculator=s,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}setRange(t){this.range=t,this.axisPosition==="left"||this.axisPosition==="right"?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){Yt*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(Yt*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=Ht*t.width;this.outerPadding=Math.min(s.width/2,n);let o=s.height;this.axisPosition==="bottom"&&this.normalizedLabelRotationInRad!==0&&(o=Math.max(o,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*s.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*s.height))),o+=this.axisConfig.labelPadding*2,this.labelTextHeight=s.height,o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const s=this.getLabelDimension(),n=Ht*t.height;this.outerPadding=Math.min(s.height/2,n);const o=s.width+this.axisConfig.labelPadding*2;o<=i&&(i-=o,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const s=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=s.height+this.axisConfig.titlePadding*2;this.titleTextHeight=s.height,n<=i&&(i-=n,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return this.axisPosition==="left"||this.axisPosition==="right"?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateOffsetByRotation(t){const i=this.normalizedLabelRotationInRad;return i===0?0:Math.sin(i)*this.getLabelDimension()[t]/2}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(i),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${i},${this.getScaleValue(s)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(s)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i)+this.calculateOffsetByRotation("height"),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation("width")),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i} L ${this.getScaleValue(s)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(i=>({text:i.toString(),x:this.getScaleValue(i),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(s=>({path:`M ${this.getScaleValue(s)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(s)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if(this.axisPosition==="left")return this.getDrawableElementsForLeftAxis();if(this.axisPosition==="right")throw Error("Drawing of right axis is not implemented");return this.axisPosition==="bottom"?this.getDrawableElementsForBottomAxis():this.axisPosition==="top"?this.getDrawableElementsForTopAxis():[]}},a(Z,"BaseAxis"),Z),J,Ei=(J=class extends qt{constructor(t,i,s,n,o){super(t,n,o,i),this.categories=s,this.scale=St().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=St().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),Ut.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},a(J,"BandAxis"),J),tt,Mi=(tt=class extends qt{constructor(t,i,s,n,o){super(t,n,o,i),this.domain=s,this.scale=Nt().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];this.axisPosition==="left"&&t.reverse(),this.scale=Nt().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}},a(tt,"LinearAxis"),tt);function _t(e,t,i,s){const n=new Pt(s);return mt(e)?new Ei(t,i,e.categories,e.title,n):new Mi(t,i,[e.min,e.max],e.title,n)}a(_t,"getAxis");var it,Ii=(it=class{constructor(t,i,s,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),s=Math.max(i.width,t.width),n=i.height+2*this.chartConfig.titlePadding;return i.width<=s&&i.height<=n&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=s,this.boundingRect.height=n,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}},a(it,"ChartTitle"),it);function jt(e,t,i,s){const n=new Pt(s);return new Ii(n,e,t,i)}a(jt,"getChartTitleComponent");var Bi=.75,zi=.5,Oi=.35;function kt(e){return{fontSize:e,markerSize:e*Bi,markerSpacing:e*Oi,itemSpacing:e*zi}}a(kt,"getLegendLayout");var et,Vi=(et=class{constructor(t,i,s,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=s,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(f=>f.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};const{fontSize:i,markerSize:s,markerSpacing:n,itemSpacing:o}=kt(this.chartConfig.legendFontSize),h=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(f=>f.title),i),p=this.chartConfig.legendPadding*2+s+n+h.width,u=this.chartConfig.legendPadding*2+this.visiblePlots.length*i+(this.visiblePlots.length-1)*o;return p<=t.width&&u<=t.height?(this.boundingRect.width=p,this.boundingRect.height=u):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];const{fontSize:t,markerSize:i,markerSpacing:s,itemSpacing:n}=kt(this.chartConfig.legendFontSize),o=t+n,h=this.boundingRect.x+this.chartConfig.legendPadding,p=this.boundingRect.y+this.chartConfig.legendPadding,u=[],f=[];for(const[R,C]of this.visiblePlots.entries())if(pt(C))u.push({x:h,y:p+R*o,width:i,height:i,fill:C.fill,strokeFill:C.fill,strokeWidth:0});else{const y=p+R*o+i/2;f.push({path:`M ${h},${y} L ${h+i},${y}`,strokeFill:C.strokeFill,strokeWidth:C.strokeWidth})}return[{groupTexts:["legend","markers"],type:"rect",data:u},{groupTexts:["legend","markers"],type:"path",data:f},{groupTexts:["legend","label"],type:"text",data:this.visiblePlots.map((R,C)=>({text:R.title,x:h+i+s,y:p+C*o+i/2,fill:this.chartThemeConfig.legendTextColor,fontSize:t,rotation:0,verticalPos:"middle",horizontalPos:"left"}))}]}},a(et,"ChartLegend"),et);function Qt(e,t,i,s){const n=new Pt(s);return new Vi(n,e,t,i)}a(Qt,"getChartLegendComponent");var st,Fi=(st=class{constructor(t,i,s,n,o){this.plotData=t,this.xAxis=i,this.yAxis=s,this.orientation=n,this.plotIndex=o}getDrawableElement(){const t=this.plotData.data.map(n=>[this.xAxis.getScaleValue(n[0]),this.yAxis.getScaleValue(n[1])]);let i;if(this.orientation==="horizontal"?i=Xt().y(n=>n[0]).x(n=>n[1])(t):i=Xt().x(n=>n[0]).y(n=>n[1])(t),!i)return[];const s=[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){const h=[];for(const[p,[u,f]]of t.entries()){const R=this.plotData.pointLabels[p];R&&(this.orientation==="horizontal"?h.push({x:f+10,y:u,text:R,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"left",fontSize:12,rotation:0}):h.push({x:u,y:f-10,text:R,fill:this.plotData.strokeFill,verticalPos:"middle",horizontalPos:"center",fontSize:12,rotation:0}))}h.length>0&&s.push({groupTexts:["plot",`line-plot-${this.plotIndex}`,"labels"],type:"text",data:h})}return s}},a(st,"LinePlot"),st),nt,Wi=(nt=class{constructor(t,i,s,n,o,h){this.barData=t,this.boundingRect=i,this.xAxis=s,this.yAxis=n,this.orientation=o,this.plotIndex=h}getDrawableElement(){const t=this.barData.data.map(o=>[this.xAxis.getScaleValue(o[0]),this.yAxis.getScaleValue(o[1])]),s=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*(1-.05),n=s/2;return this.orientation==="horizontal"?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:this.boundingRect.x,y:o[0]-n,height:s,width:o[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(o=>({x:o[0]-n,y:o[1],width:s,height:this.boundingRect.y+this.boundingRect.height-o[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},a(nt,"BarPlot"),nt),at,Xi=(at=class{constructor(t,i,s){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");const t=[];for(const[i,s]of this.chartData.plots.entries())switch(s.type){case"line":{const n=new Fi(s,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break;case"bar":{const n=new Wi(s,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break}return t}},a(at,"BasePlot"),at);function Kt(e,t,i){return new Xi(e,t,i)}a(Kt,"getPlotComponent");var ot,Ni=(ot=class{constructor(t,i,s,n){this.chartConfig=t,this.chartData=i,this.componentStore={title:jt(t,i,s,n),plot:Kt(t,i,s),legend:Qt(t,i,s,n),xAxis:_t(i.xAxis,t.xAxis,{titleColor:s.xAxisTitleColor,labelColor:s.xAxisLabelColor,tickColor:s.xAxisTickColor,axisLineColor:s.xAxisLineColor},n),yAxis:_t(i.yAxis,t.yAxis,{titleColor:s.yAxisTitleColor,labelColor:s.yAxisLabelColor,tickColor:s.yAxisTickColor,axisLineColor:s.yAxisLineColor},n)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o={width:0,height:0},h=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),p=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),u=this.componentStore.plot.calculateSpace({width:h,height:p});t-=u.width,i-=u.height,u=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=u.height,i-=u.height,this.componentStore.xAxis.setAxisPosition("bottom"),u=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=u.height,this.componentStore.yAxis.setAxisPosition("left"),u=this.componentStore.yAxis.calculateSpace({width:t,height:i}),s=u.width,t-=u.width,o=this.componentStore.legend.calculateSpace({width:t,height:p}),t-=o.width,t>0&&(h+=t,t=0),i>0&&(p+=i,i=0),this.componentStore.plot.calculateSpace({width:h,height:p}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.legend.setBoundingBoxXY({x:s+h,y:n+Math.max((p-o.height)/2,0)}),this.componentStore.xAxis.setRange([s,s+h]),this.componentStore.xAxis.setBoundingBoxXY({x:s,y:n+p}),this.componentStore.yAxis.setRange([n,n+p]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(f=>pt(f))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,s=0,n=0,o=0,h={width:0,height:0},p=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),u=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),f=this.componentStore.plot.calculateSpace({width:p,height:u});t-=f.width,i-=f.height,f=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=f.height,i-=f.height,this.componentStore.xAxis.setAxisPosition("left"),f=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=f.width,n=f.width,this.componentStore.yAxis.setAxisPosition("top"),f=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=f.height,o=s+f.height,h=this.componentStore.legend.calculateSpace({width:t,height:u}),t-=h.width,t>0&&(p+=t,t=0),i>0&&(u+=i,i=0),this.componentStore.plot.calculateSpace({width:p,height:u}),this.componentStore.plot.setBoundingBoxXY({x:n,y:o}),this.componentStore.legend.setBoundingBoxXY({x:n+p,y:o+Math.max((u-h.height)/2,0)}),this.componentStore.yAxis.setRange([n,n+p]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:s}),this.componentStore.xAxis.setRange([o,o+u]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:o}),this.chartData.plots.some(R=>pt(R))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation==="horizontal"?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},a(ot,"Orchestrator"),ot),rt,Yi=(rt=class{static build(t,i,s,n){return new Ni(t,i,s,n).getDrawableElement()}},a(rt,"XYChartBuilder"),rt),ct=0,Zt,gt=Et(),ut=Lt(),w=Mt(),Tt=ut.plotColorPalette.split(",").map(e=>e.trim()),yt=!1,vt=!1;function Lt(){const e=ki(),t=Dt();return Gt(e.xyChart,t.themeVariables.xyChart)}a(Lt,"getChartDefaultThemeConfig");function Et(){const e=Dt();return Gt(_i.xyChart,e.xyChart)}a(Et,"getChartDefaultConfig");function Mt(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}a(Mt,"getChartDefaultData");function G(e){const t=Dt();return Ri(e.trim(),t)}a(G,"textSanitizer");function Jt(e){Zt=e}a(Jt,"setTmpSVGG");function ti(e){e==="horizontal"?gt.chartOrientation="horizontal":gt.chartOrientation="vertical"}a(ti,"setOrientation");function ii(e){w.xAxis.title=G(e.text)}a(ii,"setXAxisTitle");function It(e,t){w.xAxis={type:"linear",title:w.xAxis.title,min:e,max:t},yt=!0}a(It,"setXAxisRangeData");function ei(e){w.xAxis={type:"band",title:w.xAxis.title,categories:e.map(t=>G(t.text))},yt=!0}a(ei,"setXAxisBand");function si(e){w.yAxis.title=G(e.text)}a(si,"setYAxisTitle");function ni(e,t){w.yAxis={type:"linear",title:w.yAxis.title,min:e,max:t},vt=!0}a(ni,"setYAxisRangeData");function ai(e){const t=Math.min(...e),i=Math.max(...e),s=Q(w.yAxis)?w.yAxis.min:1/0,n=Q(w.yAxis)?w.yAxis.max:-1/0;w.yAxis={type:"linear",title:w.yAxis.title,min:Math.min(s,t),max:Math.max(n,i)}}a(ai,"setYAxisRangeFromPlotData");function Bt(e){let t=[];if(e.length===0)return t;if(!yt){const i=Q(w.xAxis)?w.xAxis.min:1/0,s=Q(w.xAxis)?w.xAxis.max:-1/0;It(Math.min(i,1),Math.max(s,e.length))}if(mt(w.xAxis)&&e.length>w.xAxis.categories.length&&(e=e.slice(0,w.xAxis.categories.length)),vt||ai(e),mt(w.xAxis)&&(t=w.xAxis.categories.map((i,s)=>[i,e[s]])),Q(w.xAxis)){const i=w.xAxis.min,s=w.xAxis.max;if(e.length===1)t=[[`${i}`,e[0]]];else{const n=(s-i)/(e.length-1);t=e.map((o,h)=>[`${i+h*n}`,o])}}return t}a(Bt,"transformDataWithoutCategory");function zt(e){return Tt[e===0?0:e%Tt.length]}a(zt,"getPlotColorFromPalette");function oi(e,t){const i=t.map(h=>h.value),s=t.map(h=>h.label?G(h.label):""),n=Bt(i),o=s.some(h=>h!=="");w.plots.push({type:"line",title:G(e.text),strokeFill:zt(ct),strokeWidth:2,data:n,...o?{pointLabels:s}:{}}),ct++}a(oi,"setLineData");function ri(e,t){const i=t.map(n=>n.value),s=Bt(i);w.plots.push({type:"bar",title:G(e.text),fill:zt(ct),data:s}),ct++}a(ri,"setBarData");function hi(){if(w.plots.length===0)throw Error("No Plot to render, please provide a plot with some data");return w.title=$t(),Yi.build(gt,w,ut,Zt)}a(hi,"getDrawableElem");function li(){return ut}a(li,"getChartThemeConfig");function ci(){return gt}a(ci,"getChartConfig");function gi(){return w}a(gi,"getXYChartData");var Hi=a(function(){Si(),ct=0,gt=Et(),w=Mt(),ut=Lt(),Tt=ut.plotColorPalette.split(",").map(e=>e.trim()),yt=!1,vt=!1},"clear"),$i={getDrawableElem:hi,clear:Hi,setAccTitle:wi,getAccTitle:bi,setDiagramTitle:yi,getDiagramTitle:$t,getAccDescription:mi,setAccDescription:pi,setOrientation:ti,setXAxisTitle:ii,setXAxisRangeData:It,setXAxisBand:ei,setYAxisTitle:si,setYAxisRangeData:ni,setLineData:oi,setBarData:ri,setTmpSVGG:Jt,getChartThemeConfig:li,getChartConfig:ci,getXYChartData:gi},Ui=a((e,t,i,s)=>{const n=s.db,o=n.getChartThemeConfig(),h=n.getChartConfig(),p=n.getXYChartData().plots[0].data.map(b=>b[1]);function u(b){return b==="top"?"text-before-edge":"middle"}a(u,"getDominantBaseLine");function f(b){return b==="left"?"start":b==="right"?"end":"middle"}a(f,"getTextAnchor");function R(b){return`translate(${b.x}, ${b.y}) rotate(${b.rotation||0})`}a(R,"getTextTransformation"),Ut.debug(`Rendering xychart chart
|
|
7
|
-
`+e);const C=Ai(t),y=C.append("g").attr("class","main"),E=y.append("rect").attr("width",h.width).attr("height",h.height).attr("class","background");Ci(C,h.height,h.width,!0),C.attr("viewBox",`0 0 ${h.width} ${h.height}`),E.attr("fill",o.backgroundColor),n.setTmpSVGG(C.append("g").attr("class","mermaid-tmp-group"));const v=n.getDrawableElem(),L={};function M(b){let D=y,c="";for(const[z]of b.entries()){let F=y;z>0&&L[c]&&(F=L[c]),c+=b[z],D=L[c],D||(D=L[c]=F.append("g").attr("class",b[z]))}return D}a(M,"getGroup");for(const b of v){if(b.data.length===0)continue;const D=M(b.groupTexts);switch(b.type){case"rect":if(D.selectAll("rect").data(b.data).enter().append("rect").attr("x",c=>c.x).attr("y",c=>c.y).attr("width",c=>c.width).attr("height",c=>c.height).attr("fill",c=>c.fill).attr("stroke",c=>c.strokeFill).attr("stroke-width",c=>c.strokeWidth),h.showDataLabel){const c=h.showDataLabelOutsideBar;if(h.chartOrientation==="horizontal"){let z=function(S,O){const{data:T,label:ht}=S;return O*ht.length*F<=T.width-X};a(z,"fitsHorizontally");const F=.7,X=10,N=b.data.map((S,O)=>({data:S,label:p[O].toString()})).filter(S=>S.data.width>0&&S.data.height>0),k=N.map(S=>{const{data:O}=S;let T=O.height*.7;for(;!z(S,T)&&T>0;)T-=1;return T}),H=Math.floor(Math.min(...k)),A=a(S=>c?S.data.x+S.data.width+X:S.data.x+S.data.width-X,"determineLabelXPosition");D.selectAll("text").data(N).enter().append("text").attr("x",A).attr("y",S=>S.data.y+S.data.height/2).attr("text-anchor",c?"start":"end").attr("dominant-baseline","middle").attr("fill",o.dataLabelColor).attr("font-size",`${H}px`).text(S=>S.label)}else{let z=function(A,S,O){const{data:T,label:ht}=A,W=S*ht.length*.7,l=T.x+T.width/2,g=l-W/2,d=l+W/2,x=g>=T.x&&d<=T.x+T.width,_=T.y+O+S<=T.y+T.height;return x&&_};a(z,"fitsInBar");const F=10,X=b.data.map((A,S)=>({data:A,label:p[S].toString()})).filter(A=>A.data.width>0&&A.data.height>0),N=X.map(A=>{const{data:S,label:O}=A;let T=S.width/(O.length*.7);for(;!z(A,T,F)&&T>0;)T-=1;return T}),k=Math.floor(Math.min(...N)),H=a(A=>c?A.data.y-F:A.data.y+F,"determineLabelYPosition");D.selectAll("text").data(X).enter().append("text").attr("x",A=>A.data.x+A.data.width/2).attr("y",H).attr("text-anchor","middle").attr("dominant-baseline",c?"auto":"hanging").attr("fill",o.dataLabelColor).attr("font-size",`${k}px`).text(A=>A.label)}}break;case"text":D.selectAll("text").data(b.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",c=>c.fill).attr("font-size",c=>c.fontSize).attr("dominant-baseline",c=>u(c.verticalPos)).attr("text-anchor",c=>f(c.horizontalPos)).attr("transform",c=>R(c)).text(c=>c.text);break;case"path":D.selectAll("path").data(b.data).enter().append("path").attr("d",c=>c.path).attr("fill",c=>c.fill?c.fill:"none").attr("stroke",c=>c.strokeFill).attr("stroke-width",c=>c.strokeWidth);break}}},"draw"),Gi={draw:Ui},
|
|
7
|
+
`+e);const C=Ai(t),y=C.append("g").attr("class","main"),E=y.append("rect").attr("width",h.width).attr("height",h.height).attr("class","background");Ci(C,h.height,h.width,!0),C.attr("viewBox",`0 0 ${h.width} ${h.height}`),E.attr("fill",o.backgroundColor),n.setTmpSVGG(C.append("g").attr("class","mermaid-tmp-group"));const v=n.getDrawableElem(),L={};function M(b){let D=y,c="";for(const[z]of b.entries()){let F=y;z>0&&L[c]&&(F=L[c]),c+=b[z],D=L[c],D||(D=L[c]=F.append("g").attr("class",b[z]))}return D}a(M,"getGroup");for(const b of v){if(b.data.length===0)continue;const D=M(b.groupTexts);switch(b.type){case"rect":if(D.selectAll("rect").data(b.data).enter().append("rect").attr("x",c=>c.x).attr("y",c=>c.y).attr("width",c=>c.width).attr("height",c=>c.height).attr("fill",c=>c.fill).attr("stroke",c=>c.strokeFill).attr("stroke-width",c=>c.strokeWidth),h.showDataLabel){const c=h.showDataLabelOutsideBar;if(h.chartOrientation==="horizontal"){let z=function(S,O){const{data:T,label:ht}=S;return O*ht.length*F<=T.width-X};a(z,"fitsHorizontally");const F=.7,X=10,N=b.data.map((S,O)=>({data:S,label:p[O].toString()})).filter(S=>S.data.width>0&&S.data.height>0),k=N.map(S=>{const{data:O}=S;let T=O.height*.7;for(;!z(S,T)&&T>0;)T-=1;return T}),H=Math.floor(Math.min(...k)),A=a(S=>c?S.data.x+S.data.width+X:S.data.x+S.data.width-X,"determineLabelXPosition");D.selectAll("text").data(N).enter().append("text").attr("x",A).attr("y",S=>S.data.y+S.data.height/2).attr("text-anchor",c?"start":"end").attr("dominant-baseline","middle").attr("fill",o.dataLabelColor).attr("font-size",`${H}px`).text(S=>S.label)}else{let z=function(A,S,O){const{data:T,label:ht}=A,W=S*ht.length*.7,l=T.x+T.width/2,g=l-W/2,d=l+W/2,x=g>=T.x&&d<=T.x+T.width,_=T.y+O+S<=T.y+T.height;return x&&_};a(z,"fitsInBar");const F=10,X=b.data.map((A,S)=>({data:A,label:p[S].toString()})).filter(A=>A.data.width>0&&A.data.height>0),N=X.map(A=>{const{data:S,label:O}=A;let T=S.width/(O.length*.7);for(;!z(A,T,F)&&T>0;)T-=1;return T}),k=Math.floor(Math.min(...N)),H=a(A=>c?A.data.y-F:A.data.y+F,"determineLabelYPosition");D.selectAll("text").data(X).enter().append("text").attr("x",A=>A.data.x+A.data.width/2).attr("y",H).attr("text-anchor","middle").attr("dominant-baseline",c?"auto":"hanging").attr("fill",o.dataLabelColor).attr("font-size",`${k}px`).text(A=>A.label)}}break;case"text":D.selectAll("text").data(b.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",c=>c.fill).attr("font-size",c=>c.fontSize).attr("dominant-baseline",c=>u(c.verticalPos)).attr("text-anchor",c=>f(c.horizontalPos)).attr("transform",c=>R(c)).text(c=>c.text);break;case"path":D.selectAll("path").data(b.data).enter().append("path").attr("d",c=>c.path).attr("fill",c=>c.fill?c.fill:"none").attr("stroke",c=>c.strokeFill).attr("stroke-width",c=>c.strokeWidth);break}}},"draw"),Gi={draw:Ui},ee={parser:Li,db:$i,renderer:Gi};export{ee as diagram};
|
package/web/docs/404.html
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
<link rel="preload stylesheet" href="/docs/assets/style.B3QdEOQQ.css" as="style">
|
|
10
10
|
<link rel="preload stylesheet" href="/docs/vp-icons.css" as="style">
|
|
11
11
|
|
|
12
|
-
<script type="module" src="/docs/assets/app.
|
|
12
|
+
<script type="module" src="/docs/assets/app.DtD1evI0.js"></script>
|
|
13
13
|
<link rel="preload" href="/docs/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
14
14
|
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
|
|
15
15
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
18
18
|
<div id="app"></div>
|
|
19
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"administration_account.md\":\"BDxiZLcI\",\"administration_audit.md\":\"CPGsRZCt\",\"administration_conversation-templates.md\":\"CxgeJX_-\",\"administration_email-notifications.md\":\"D8YWt3Nt\",\"administration_license.md\":\"G7AoyB6E\",\"administration_nodes-workspaces.md\":\"CMGc1EC3\",\"administration_oauth.md\":\"BaN6u0dl\",\"administration_secrets.md\":\"BVsK96Ny\",\"administration_template-workspace-maintenance.md\":\"ic3SEbkM\",\"administration_users-organizations.md\":\"CInTvyvp\",\"concepts_architecture.md\":\"CWYNi_YX\",\"concepts_data-and-security.md\":\"DvabQ2zO\",\"concepts_files-git-terminal.md\":\"CmZ7lmE0\",\"concepts_node-and-workspace.md\":\"D4tWJ_5A\",\"concepts_permissions-and-sharing.md\":\"BGQlim_y\",\"concepts_runner-control.md\":\"Bkd1fXLk\",\"concepts_secrets.md\":\"DRt04t7A\",\"concepts_session-run-turn.md\":\"Crte1ZI0\",\"deployment_backup-restore.md\":\"fZtPK3bl\",\"deployment_network.md\":\"CUY7dFo4\",\"deployment_node-installation.md\":\"BKJ9WfPZ\",\"deployment_node-linux.md\":\"C_bd0qbR\",\"deployment_node-macos.md\":\"DRV9KDoO\",\"deployment_node-windows.md\":\"gpTo69VQ\",\"deployment_production.md\":\"p5Bvdh2i\",\"deployment_security-checklist.md\":\"BFBhySfV\",\"deployment_upgrade.md\":\"CG_VFxvG\",\"en-us_administration_account.md\":\"q4dfxq-Y\",\"en-us_administration_audit.md\":\"7tn6Eg6i\",\"en-us_administration_conversation-templates.md\":\"Agw0_8Pj\",\"en-us_administration_email-notifications.md\":\"CnuA18jF\",\"en-us_administration_license.md\":\"CXeqN7ZK\",\"en-us_administration_nodes-workspaces.md\":\"BOA5ixAC\",\"en-us_administration_oauth.md\":\"CWKPUoYo\",\"en-us_administration_secrets.md\":\"DOlPJy7O\",\"en-us_administration_template-workspace-maintenance.md\":\"B1Dys0Xw\",\"en-us_administration_users-organizations.md\":\"CkX2sOqa\",\"en-us_concepts_architecture.md\":\"DUoUKxu0\",\"en-us_concepts_data-and-security.md\":\"DpXrCSPO\",\"en-us_concepts_files-git-terminal.md\":\"f4ysYOxT\",\"en-us_concepts_node-and-workspace.md\":\"Bm7rEIAI\",\"en-us_concepts_permissions-and-sharing.md\":\"DiEopkbD\",\"en-us_concepts_runner-control.md\":\"CcrdYOTx\",\"en-us_concepts_secrets.md\":\"CPhBggXB\",\"en-us_concepts_session-run-turn.md\":\"CIfewRkn\",\"en-us_deployment_backup-restore.md\":\"DQUtQ5Yt\",\"en-us_deployment_network.md\":\"DAojtrWx\",\"en-us_deployment_node-installation.md\":\"D2dlZRai\",\"en-us_deployment_node-linux.md\":\"D4hS8vaT\",\"en-us_deployment_node-macos.md\":\"D26h7wJ1\",\"en-us_deployment_node-windows.md\":\"Bp-sytL8\",\"en-us_deployment_production.md\":\"CWU3jXWq\",\"en-us_deployment_security-checklist.md\":\"BjDsotNb\",\"en-us_deployment_upgrade.md\":\"DDevql7U\",\"en-us_getting-started_connect-node.md\":\"DTuAQmSv\",\"en-us_getting-started_first-agent-session.md\":\"CN2rWPq7\",\"en-us_getting-started_first-login.md\":\"DQnGKeN2\",\"en-us_getting-started_next-steps.md\":\"D2UXmW2q\",\"en-us_getting-started_npm-quick-start.md\":\"CbUkJ75v\",\"en-us_getting-started_overview.md\":\"BB0mpD5A\",\"en-us_getting-started_prerequisites.md\":\"Ci1ksxQc\",\"en-us_getting-started_register-workspace.md\":\"CKdln64A\",\"en-us_getting-started_server-installation.md\":\"B48Agncp\",\"en-us_operations_marctl.md\":\"0fc1netz\",\"en-us_reference_configuration.md\":\"DcRTID9N\",\"en-us_reference_keyboard-shortcuts.md\":\"BacNA7_i\",\"en-us_reference_limits.md\":\"BQahQvRI\",\"en-us_reference_ports-paths-data.md\":\"sE-YE-Kc\",\"en-us_reference_status-and-errors.md\":\"cq1A6JOM\",\"en-us_runners_claude-code.md\":\"BZp77nTJ\",\"en-us_runners_codex.md\":\"C8aQ3lj4\",\"en-us_runners_mar-agent.md\":\"ChnwtLmW\",\"en-us_runners_opencode.md\":\"DAnPpdjG\",\"en-us_runners_overview.md\":\"n8off-KX\",\"en-us_runners_runner-troubleshooting.md\":\"BvJ6yGrw\",\"en-us_troubleshooting_node-offline.md\":\"BU8o9Sh8\",\"en-us_troubleshooting_quick-diagnosis.md\":\"bMMBIm8Z\",\"en-us_troubleshooting_session-run.md\":\"o9ty9dWk\",\"en-us_troubleshooting_terminal.md\":\"Ce3H_Cq3\",\"en-us_troubleshooting_workspace-files.md\":\"I66m4D0K\",\"en-us_workbench_composer.md\":\"BPoak5Pz\",\"en-us_workbench_context-and-plan.md\":\"E9yFtLaR\",\"en-us_workbench_conversation.md\":\"BozaRlS1\",\"en-us_workbench_file-reference-and-attachment.md\":\"CO_ZfbB9\",\"en-us_workbench_files.md\":\"SBz-WYqX\",\"en-us_workbench_git-changes.md\":\"B4an7sJf\",\"en-us_workbench_git-history.md\":\"CcKXv4NB\",\"en-us_workbench_hosted-conversations.md\":\"CcO8A8zp\",\"en-us_workbench_mobile.md\":\"DDen0FQw\",\"en-us_workbench_navigation.md\":\"bwp_93yS\",\"en-us_workbench_remote-desktop.md\":\"BAxLTG99\",\"en-us_workbench_sessions.md\":\"Cmv6Data\",\"en-us_workbench_skills.md\":\"DfO6vZQq\",\"en-us_workbench_terminal.md\":\"B23OFnB3\",\"getting-started_connect-node.md\":\"BNawG401\",\"getting-started_first-agent-session.md\":\"D-uls92b\",\"getting-started_first-login.md\":\"DVWDKgMU\",\"getting-started_next-steps.md\":\"CjwJgSAt\",\"getting-started_npm-quick-start.md\":\"C3Kp50O9\",\"getting-started_overview.md\":\"Crab_e9M\",\"getting-started_prerequisites.md\":\"CIL_YyEa\",\"getting-started_register-workspace.md\":\"DZsk0FQ0\",\"getting-started_server-installation.md\":\"DOElmx7e\",\"operations_marctl.md\":\"DwcVvX1m\",\"reference_configuration.md\":\"eCXxpNYo\",\"reference_keyboard-shortcuts.md\":\"C2b7IJIt\",\"reference_limits.md\":\"17DNV05j\",\"reference_ports-paths-data.md\":\"BF8Pe61Y\",\"reference_status-and-errors.md\":\"BwpSR6nH\",\"runners_claude-code.md\":\"DSGRX72-\",\"runners_codex.md\":\"CDGNsFMp\",\"runners_mar-agent.md\":\"D0j34HGe\",\"runners_opencode.md\":\"DSvXW8Sv\",\"runners_overview.md\":\"CHK7UvIl\",\"runners_runner-troubleshooting.md\":\"CIWCfGkf\",\"troubleshooting_node-offline.md\":\"DQGjJ9k9\",\"troubleshooting_quick-diagnosis.md\":\"Bc2yAbfz\",\"troubleshooting_session-run.md\":\"Cny0YwSq\",\"troubleshooting_terminal.md\":\"DB0zc8sK\",\"troubleshooting_workspace-files.md\":\"BEFLZu54\",\"workbench_composer.md\":\"DesljRQE\",\"workbench_context-and-plan.md\":\"CzRACFjQ\",\"workbench_conversation.md\":\"H24F6OKx\",\"workbench_file-reference-and-attachment.md\":\"CkStAhL5\",\"workbench_files.md\":\"uJvMz4Fi\",\"workbench_git-changes.md\":\"BcvhH9LA\",\"workbench_git-history.md\":\"Ckvhp8Y3\",\"workbench_hosted-conversations.md\":\"BaEkkoGR\",\"workbench_mobile.md\":\"B6WydCWD\",\"workbench_navigation.md\":\"CXd25kxS\",\"workbench_remote-desktop.md\":\"BGRwzLZ9\",\"workbench_sessions.md\":\"D4B313AI\",\"workbench_skills.md\":\"BckmpyzF\",\"workbench_terminal.md\":\"YzgZvVcu\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"MyAgentRoam Documentation\",\"description\":\"MyAgentRoam 部署、配置与使用文档\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png?v=logo-20261011\",\"logoLink\":\"/\",\"siteTitle\":\"Documentation\",\"langMenuLabel\":\"切换语言\",\"outline\":{\"label\":\"本页内容\",\"level\":[2,3]},\"returnToTopLabel\":\"返回顶部\",\"sidebarMenuLabel\":\"文档目录\",\"darkModeSwitchLabel\":\"外观\",\"lightModeSwitchTitle\":\"切换至浅色模式\",\"darkModeSwitchTitle\":\"切换至深色模式\",\"docFooter\":{\"prev\":\"上一篇\",\"next\":\"下一篇\"},\"search\":{\"provider\":\"local\",\"options\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"}}}},\"sidebar\":{\"/en-US/\":[{\"text\":\"Getting Started\",\"items\":[{\"text\":\"What Is MyAgentRoam?\",\"link\":\"/en-US/getting-started/overview\"},{\"text\":\"npm Quick Start\",\"link\":\"/en-US/getting-started/npm-quick-start\"},{\"text\":\"Before You Deploy\",\"link\":\"/en-US/getting-started/prerequisites\"},{\"text\":\"Deploy Server and Web\",\"link\":\"/en-US/getting-started/server-installation\"},{\"text\":\"First Sign-in and Password Change\",\"link\":\"/en-US/getting-started/first-login\"},{\"text\":\"Connect Your First Node\",\"link\":\"/en-US/getting-started/connect-node\"},{\"text\":\"Register Your First Workspace\",\"link\":\"/en-US/getting-started/register-workspace\"},{\"text\":\"Start Your First Agent Session\",\"link\":\"/en-US/getting-started/first-agent-session\"},{\"text\":\"Next Steps\",\"link\":\"/en-US/getting-started/next-steps\"}]},{\"text\":\"Core Concepts\",\"items\":[{\"text\":\"Server, Node, Web, and Runner\",\"link\":\"/en-US/concepts/architecture\"},{\"text\":\"Nodes and Workspaces\",\"link\":\"/en-US/concepts/node-and-workspace\"},{\"text\":\"Sessions, Runs, and Message Queues\",\"link\":\"/en-US/concepts/session-run-turn\"},{\"text\":\"Runners and Session Control\",\"link\":\"/en-US/concepts/runner-control\"},{\"text\":\"Files, Git, and Terminals\",\"link\":\"/en-US/concepts/files-git-terminal\"},{\"text\":\"Users, Organizations, and Access\",\"link\":\"/en-US/concepts/permissions-and-sharing\"},{\"text\":\"Secrets and Injection Order\",\"link\":\"/en-US/concepts/secrets\"},{\"text\":\"Data, Credentials, and Security\",\"link\":\"/en-US/concepts/data-and-security\"}]},{\"text\":\"Work / Conversation Guide\",\"items\":[{\"text\":\"Work Mode, Nodes, and Workspaces\",\"link\":\"/en-US/workbench/navigation\"},{\"text\":\"Favorite and Install Skills\",\"link\":\"/en-US/workbench/skills\"},{\"text\":\"Create and Manage Sessions\",\"link\":\"/en-US/workbench/sessions\"},{\"text\":\"Messages and Composer\",\"link\":\"/en-US/workbench/composer\"},{\"text\":\"Context, Compact, and Plan\",\"link\":\"/en-US/workbench/context-and-plan\"},{\"text\":\"References, Folders, and Attachments\",\"link\":\"/en-US/workbench/file-reference-and-attachment\"},{\"text\":\"Conversations, Tools, and Notifications\",\"link\":\"/en-US/workbench/conversation\"},{\"text\":\"Start a Template Conversation in Conversation Mode\",\"link\":\"/en-US/workbench/hosted-conversations\"},{\"text\":\"Browse, Search, and Manage Files\",\"link\":\"/en-US/workbench/files\"},{\"text\":\"Git Changes and Diff\",\"link\":\"/en-US/workbench/git-changes\"},{\"text\":\"Git History\",\"link\":\"/en-US/workbench/git-history\"},{\"text\":\"Workspace Terminals\",\"link\":\"/en-US/workbench/terminal\"},{\"text\":\"Node Remote Desktop\",\"link\":\"/en-US/workbench/remote-desktop\"},{\"text\":\"Continue on Mobile\",\"link\":\"/en-US/workbench/mobile\"}]},{\"text\":\"Agent Guide\",\"items\":[{\"text\":\"Choose an Agent\",\"link\":\"/en-US/runners/overview\"},{\"text\":\"OpenCode\",\"link\":\"/en-US/runners/opencode\"},{\"text\":\"Codex\",\"link\":\"/en-US/runners/codex\"},{\"text\":\"Claude Code\",\"link\":\"/en-US/runners/claude-code\"},{\"text\":\"Built-in MAR Agent\",\"link\":\"/en-US/runners/mar-agent\"},{\"text\":\"Runner Troubleshooting\",\"link\":\"/en-US/runners/runner-troubleshooting\"}]},{\"text\":\"Deployment and Operations\",\"items\":[{\"text\":\"Production Deployment and Reverse Proxy\",\"link\":\"/en-US/deployment/production\"},{\"text\":\"Install and Register a Node\",\"link\":\"/en-US/deployment/node-installation\"},{\"text\":\"Linux Node and systemd\",\"link\":\"/en-US/deployment/node-linux\"},{\"text\":\"Windows Node and Task Scheduler\",\"link\":\"/en-US/deployment/node-windows\"},{\"text\":\"macOS Node and launchd\",\"link\":\"/en-US/deployment/node-macos\"},{\"text\":\"Upgrade MyAgentRoam\",\"link\":\"/en-US/deployment/upgrade\"},{\"text\":\"Backup and Restore\",\"link\":\"/en-US/deployment/backup-restore\"},{\"text\":\"Network, TLS, and WebSocket\",\"link\":\"/en-US/deployment/network\"},{\"text\":\"Production Security Checklist\",\"link\":\"/en-US/deployment/security-checklist\"}]},{\"text\":\"Node Operations Tools\",\"items\":[{\"text\":\"Manage Nodes with marctl\",\"link\":\"/en-US/operations/marctl\"}]},{\"text\":\"Administration Guide\",\"items\":[{\"text\":\"Account Security and Sign-in Sessions\",\"link\":\"/en-US/administration/account\"},{\"text\":\"Manage Nodes and Workspaces\",\"link\":\"/en-US/administration/nodes-workspaces\"},{\"text\":\"Manage Conversation Templates\",\"link\":\"/en-US/administration/conversation-templates\"},{\"text\":\"Maintain a Conversation Template Workspace\",\"link\":\"/en-US/administration/template-workspace-maintenance\"},{\"text\":\"Manage Secrets\",\"link\":\"/en-US/administration/secrets\"},{\"text\":\"Configure SMTP Email and Notification Templates\",\"link\":\"/en-US/administration/email-notifications\"},{\"text\":\"Manage Users, Organizations, and Roles\",\"link\":\"/en-US/administration/users-organizations\"},{\"text\":\"Configure OAuth 2.0 SSO\",\"link\":\"/en-US/administration/oauth\"},{\"text\":\"Audit Events and Export\",\"link\":\"/en-US/administration/audit\"},{\"text\":\"Personal and Enterprise Licenses\",\"link\":\"/en-US/administration/license\"}]},{\"text\":\"Troubleshooting and Reference\",\"items\":[{\"text\":\"Quick Diagnosis\",\"link\":\"/en-US/troubleshooting/quick-diagnosis\"},{\"text\":\"Node Registration or Offline Issues\",\"link\":\"/en-US/troubleshooting/node-offline\"},{\"text\":\"Workspace, File, or Git Issues\",\"link\":\"/en-US/troubleshooting/workspace-files\"},{\"text\":\"Session Stuck or Read-only\",\"link\":\"/en-US/troubleshooting/session-run\"},{\"text\":\"Terminal Connection Issues\",\"link\":\"/en-US/troubleshooting/terminal\"},{\"text\":\"Keyboard Shortcuts\",\"link\":\"/en-US/reference/keyboard-shortcuts\"},{\"text\":\"Statuses and Common Errors\",\"link\":\"/en-US/reference/status-and-errors\"},{\"text\":\"Configuration Reference\",\"link\":\"/en-US/reference/configuration\"},{\"text\":\"Ports, Paths, and Data\",\"link\":\"/en-US/reference/ports-paths-data\"},{\"text\":\"Versions, Capacity, and Limits\",\"link\":\"/en-US/reference/limits\"}]}],\"/\":[{\"text\":\"开始使用\",\"items\":[{\"text\":\"MyAgentRoam 是什么\",\"link\":\"/getting-started/overview\"},{\"text\":\"npm 快速开始\",\"link\":\"/getting-started/npm-quick-start\"},{\"text\":\"部署前准备\",\"link\":\"/getting-started/prerequisites\"},{\"text\":\"部署 Server 与 Web\",\"link\":\"/getting-started/server-installation\"},{\"text\":\"首次登录与修改密码\",\"link\":\"/getting-started/first-login\"},{\"text\":\"接入第一台 Node\",\"link\":\"/getting-started/connect-node\"},{\"text\":\"登记第一个 Workspace\",\"link\":\"/getting-started/register-workspace\"},{\"text\":\"开始第一次 Agent 对话\",\"link\":\"/getting-started/first-agent-session\"},{\"text\":\"接下来可以做什么\",\"link\":\"/getting-started/next-steps\"}]},{\"text\":\"核心概念\",\"items\":[{\"text\":\"Server、Node、Web 与 Runner\",\"link\":\"/concepts/architecture\"},{\"text\":\"Node 与 Workspace\",\"link\":\"/concepts/node-and-workspace\"},{\"text\":\"会话、运行与消息队列\",\"link\":\"/concepts/session-run-turn\"},{\"text\":\"Runner 与会话控制状态\",\"link\":\"/concepts/runner-control\"},{\"text\":\"文件、Git 与终端\",\"link\":\"/concepts/files-git-terminal\"},{\"text\":\"用户、组织与资源权限\",\"link\":\"/concepts/permissions-and-sharing\"},{\"text\":\"环境变量密钥与注入顺序\",\"link\":\"/concepts/secrets\"},{\"text\":\"数据归属、凭据与安全边界\",\"link\":\"/concepts/data-and-security\"}]},{\"text\":\"工作 / 对话使用指南\",\"items\":[{\"text\":\"工作模式、Node 与 Workspace\",\"link\":\"/workbench/navigation\"},{\"text\":\"收藏与安装 Skill\",\"link\":\"/workbench/skills\"},{\"text\":\"创建、查找与管理会话\",\"link\":\"/workbench/sessions\"},{\"text\":\"发送消息与使用 Composer\",\"link\":\"/workbench/composer\"},{\"text\":\"上下文用量、Compact 与 Plan\",\"link\":\"/workbench/context-and-plan\"},{\"text\":\"@ 引用、文件夹与附件\",\"link\":\"/workbench/file-reference-and-attachment\"},{\"text\":\"阅读对话、工具调用与通知\",\"link\":\"/workbench/conversation\"},{\"text\":\"在对话模式从模板新建对话\",\"link\":\"/workbench/hosted-conversations\"},{\"text\":\"浏览、搜索与管理文件\",\"link\":\"/workbench/files\"},{\"text\":\"查看 Git Changes 与 Diff\",\"link\":\"/workbench/git-changes\"},{\"text\":\"查看 Git 历史\",\"link\":\"/workbench/git-history\"},{\"text\":\"使用 Workspace 终端\",\"link\":\"/workbench/terminal\"},{\"text\":\"查看 Node 远程桌面\",\"link\":\"/workbench/remote-desktop\"},{\"text\":\"在移动端继续工作\",\"link\":\"/workbench/mobile\"}]},{\"text\":\"Agent 指南\",\"items\":[{\"text\":\"选择 Agent\",\"link\":\"/runners/overview\"},{\"text\":\"安装、配置和使用 OpenCode\",\"link\":\"/runners/opencode\"},{\"text\":\"安装、配置和使用 Codex\",\"link\":\"/runners/codex\"},{\"text\":\"安装、配置和使用 Claude Code\",\"link\":\"/runners/claude-code\"},{\"text\":\"配置和使用内置 MAR Agent\",\"link\":\"/runners/mar-agent\"},{\"text\":\"Agent 不可用或模型缺失\",\"link\":\"/runners/runner-troubleshooting\"}]},{\"text\":\"部署与运维\",\"items\":[{\"text\":\"生产部署与反向代理\",\"link\":\"/deployment/production\"},{\"text\":\"安装与注册 Node\",\"link\":\"/deployment/node-installation\"},{\"text\":\"Linux Node 与 systemd\",\"link\":\"/deployment/node-linux\"},{\"text\":\"Windows Node 与任务计划\",\"link\":\"/deployment/node-windows\"},{\"text\":\"macOS Node 与 launchd\",\"link\":\"/deployment/node-macos\"},{\"text\":\"升级 MyAgentRoam\",\"link\":\"/deployment/upgrade\"},{\"text\":\"备份与恢复\",\"link\":\"/deployment/backup-restore\"},{\"text\":\"网络、TLS 与 WebSocket\",\"link\":\"/deployment/network\"},{\"text\":\"上线安全检查清单\",\"link\":\"/deployment/security-checklist\"}]},{\"text\":\"节点运维工具\",\"items\":[{\"text\":\"使用 marctl 管理节点\",\"link\":\"/operations/marctl\"}]},{\"text\":\"管理指南\",\"items\":[{\"text\":\"账户安全与登录会话\",\"link\":\"/administration/account\"},{\"text\":\"管理 Node 与 Workspace\",\"link\":\"/administration/nodes-workspaces\"},{\"text\":\"管理对话模板\",\"link\":\"/administration/conversation-templates\"},{\"text\":\"维护对话模板 Workspace\",\"link\":\"/administration/template-workspace-maintenance\"},{\"text\":\"管理环境变量密钥\",\"link\":\"/administration/secrets\"},{\"text\":\"配置 SMTP 邮件与通知模板\",\"link\":\"/administration/email-notifications\"},{\"text\":\"管理用户、组织与角色\",\"link\":\"/administration/users-organizations\"},{\"text\":\"配置 OAuth 2.0 SSO\",\"link\":\"/administration/oauth\"},{\"text\":\"查询与导出操作审计\",\"link\":\"/administration/audit\"},{\"text\":\"社区版、企业 License 与冻结态\",\"link\":\"/administration/license\"}]},{\"text\":\"故障排查与参考\",\"items\":[{\"text\":\"从现象开始排查\",\"link\":\"/troubleshooting/quick-diagnosis\"},{\"text\":\"Node 注册失败或离线\",\"link\":\"/troubleshooting/node-offline\"},{\"text\":\"Workspace、文件或 Git 不可用\",\"link\":\"/troubleshooting/workspace-files\"},{\"text\":\"会话卡在 Working、Idle 或只读\",\"link\":\"/troubleshooting/session-run\"},{\"text\":\"终端无法打开或频繁断线\",\"link\":\"/troubleshooting/terminal\"},{\"text\":\"键盘快捷键\",\"link\":\"/reference/keyboard-shortcuts\"},{\"text\":\"状态、提示与常见错误\",\"link\":\"/reference/status-and-errors\"},{\"text\":\"配置项参考\",\"link\":\"/reference/configuration\"},{\"text\":\"端口、配置目录与数据位置\",\"link\":\"/reference/ports-paths-data\"},{\"text\":\"版本、容量与已知限制\",\"link\":\"/reference/limits\"}]}]}},\"locales\":{\"root\":{\"label\":\"简体中文\",\"lang\":\"zh-CN\"},\"en-US\":{\"label\":\"English\",\"lang\":\"en-US\",\"title\":\"MyAgentRoam Documentation\",\"description\":\"Deployment, configuration, and usage documentation for MyAgentRoam\",\"themeConfig\":{\"siteTitle\":\"Documentation\",\"langMenuLabel\":\"Switch language\",\"outline\":{\"label\":\"On This Page\",\"level\":[2,3]},\"returnToTopLabel\":\"Return to Top\",\"sidebarMenuLabel\":\"Menu\",\"darkModeSwitchLabel\":\"Appearance\",\"lightModeSwitchTitle\":\"Switch to Light Theme\",\"darkModeSwitchTitle\":\"Switch to Dark Theme\",\"docFooter\":{\"prev\":\"Previous\",\"next\":\"Next\"},\"search\":{\"provider\":\"local\",\"options\":{\"translations\":{\"button\":{\"buttonText\":\"Search Documentation\",\"buttonAriaLabel\":\"Search Documentation\"}}}}}}},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
|
|
19
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"administration_account.md\":\"BDxiZLcI\",\"administration_audit.md\":\"CPGsRZCt\",\"administration_conversation-templates.md\":\"CxgeJX_-\",\"administration_email-notifications.md\":\"D8YWt3Nt\",\"administration_license.md\":\"G7AoyB6E\",\"administration_nodes-workspaces.md\":\"CMGc1EC3\",\"administration_oauth.md\":\"BaN6u0dl\",\"administration_secrets.md\":\"BVsK96Ny\",\"administration_template-workspace-maintenance.md\":\"ic3SEbkM\",\"administration_users-organizations.md\":\"CInTvyvp\",\"concepts_architecture.md\":\"CWYNi_YX\",\"concepts_data-and-security.md\":\"DvabQ2zO\",\"concepts_files-git-terminal.md\":\"CmZ7lmE0\",\"concepts_node-and-workspace.md\":\"D4tWJ_5A\",\"concepts_permissions-and-sharing.md\":\"BGQlim_y\",\"concepts_runner-control.md\":\"Bkd1fXLk\",\"concepts_secrets.md\":\"DRt04t7A\",\"concepts_session-run-turn.md\":\"Crte1ZI0\",\"deployment_backup-restore.md\":\"fZtPK3bl\",\"deployment_network.md\":\"CUY7dFo4\",\"deployment_node-installation.md\":\"BKJ9WfPZ\",\"deployment_node-linux.md\":\"C_bd0qbR\",\"deployment_node-macos.md\":\"DRV9KDoO\",\"deployment_node-windows.md\":\"gpTo69VQ\",\"deployment_production.md\":\"p5Bvdh2i\",\"deployment_security-checklist.md\":\"BFBhySfV\",\"deployment_upgrade.md\":\"CG_VFxvG\",\"en-us_administration_account.md\":\"q4dfxq-Y\",\"en-us_administration_audit.md\":\"7tn6Eg6i\",\"en-us_administration_conversation-templates.md\":\"Agw0_8Pj\",\"en-us_administration_email-notifications.md\":\"CnuA18jF\",\"en-us_administration_license.md\":\"CXeqN7ZK\",\"en-us_administration_nodes-workspaces.md\":\"BOA5ixAC\",\"en-us_administration_oauth.md\":\"CWKPUoYo\",\"en-us_administration_secrets.md\":\"DOlPJy7O\",\"en-us_administration_template-workspace-maintenance.md\":\"B1Dys0Xw\",\"en-us_administration_users-organizations.md\":\"CkX2sOqa\",\"en-us_concepts_architecture.md\":\"DUoUKxu0\",\"en-us_concepts_data-and-security.md\":\"DpXrCSPO\",\"en-us_concepts_files-git-terminal.md\":\"f4ysYOxT\",\"en-us_concepts_node-and-workspace.md\":\"Bm7rEIAI\",\"en-us_concepts_permissions-and-sharing.md\":\"DiEopkbD\",\"en-us_concepts_runner-control.md\":\"CcrdYOTx\",\"en-us_concepts_secrets.md\":\"CPhBggXB\",\"en-us_concepts_session-run-turn.md\":\"CIfewRkn\",\"en-us_deployment_backup-restore.md\":\"DQUtQ5Yt\",\"en-us_deployment_network.md\":\"DAojtrWx\",\"en-us_deployment_node-installation.md\":\"D2dlZRai\",\"en-us_deployment_node-linux.md\":\"D4hS8vaT\",\"en-us_deployment_node-macos.md\":\"D26h7wJ1\",\"en-us_deployment_node-windows.md\":\"Bp-sytL8\",\"en-us_deployment_production.md\":\"CWU3jXWq\",\"en-us_deployment_security-checklist.md\":\"BjDsotNb\",\"en-us_deployment_upgrade.md\":\"DDevql7U\",\"en-us_getting-started_connect-node.md\":\"DTuAQmSv\",\"en-us_getting-started_first-agent-session.md\":\"CN2rWPq7\",\"en-us_getting-started_first-login.md\":\"DQnGKeN2\",\"en-us_getting-started_next-steps.md\":\"D2UXmW2q\",\"en-us_getting-started_npm-quick-start.md\":\"CbUkJ75v\",\"en-us_getting-started_overview.md\":\"BB0mpD5A\",\"en-us_getting-started_prerequisites.md\":\"Ci1ksxQc\",\"en-us_getting-started_register-workspace.md\":\"CKdln64A\",\"en-us_getting-started_server-installation.md\":\"B48Agncp\",\"en-us_operations_marctl.md\":\"0fc1netz\",\"en-us_reference_configuration.md\":\"DcRTID9N\",\"en-us_reference_keyboard-shortcuts.md\":\"BacNA7_i\",\"en-us_reference_limits.md\":\"BQahQvRI\",\"en-us_reference_ports-paths-data.md\":\"sE-YE-Kc\",\"en-us_reference_status-and-errors.md\":\"cq1A6JOM\",\"en-us_runners_claude-code.md\":\"BZp77nTJ\",\"en-us_runners_codex.md\":\"C8aQ3lj4\",\"en-us_runners_mar-agent.md\":\"ChnwtLmW\",\"en-us_runners_opencode.md\":\"DAnPpdjG\",\"en-us_runners_overview.md\":\"n8off-KX\",\"en-us_runners_runner-troubleshooting.md\":\"BVp1H8Ez\",\"en-us_troubleshooting_node-offline.md\":\"BU8o9Sh8\",\"en-us_troubleshooting_quick-diagnosis.md\":\"bMMBIm8Z\",\"en-us_troubleshooting_session-run.md\":\"o9ty9dWk\",\"en-us_troubleshooting_terminal.md\":\"Ce3H_Cq3\",\"en-us_troubleshooting_workspace-files.md\":\"I66m4D0K\",\"en-us_workbench_composer.md\":\"BPoak5Pz\",\"en-us_workbench_context-and-plan.md\":\"E9yFtLaR\",\"en-us_workbench_conversation.md\":\"BozaRlS1\",\"en-us_workbench_file-reference-and-attachment.md\":\"CO_ZfbB9\",\"en-us_workbench_files.md\":\"SBz-WYqX\",\"en-us_workbench_git-changes.md\":\"B4an7sJf\",\"en-us_workbench_git-history.md\":\"CcKXv4NB\",\"en-us_workbench_hosted-conversations.md\":\"CcO8A8zp\",\"en-us_workbench_mobile.md\":\"DDen0FQw\",\"en-us_workbench_navigation.md\":\"bwp_93yS\",\"en-us_workbench_remote-desktop.md\":\"BAxLTG99\",\"en-us_workbench_sessions.md\":\"Cmv6Data\",\"en-us_workbench_skills.md\":\"DfO6vZQq\",\"en-us_workbench_terminal.md\":\"B23OFnB3\",\"getting-started_connect-node.md\":\"BNawG401\",\"getting-started_first-agent-session.md\":\"D-uls92b\",\"getting-started_first-login.md\":\"DVWDKgMU\",\"getting-started_next-steps.md\":\"CjwJgSAt\",\"getting-started_npm-quick-start.md\":\"C3Kp50O9\",\"getting-started_overview.md\":\"Crab_e9M\",\"getting-started_prerequisites.md\":\"CIL_YyEa\",\"getting-started_register-workspace.md\":\"DZsk0FQ0\",\"getting-started_server-installation.md\":\"DOElmx7e\",\"operations_marctl.md\":\"DwcVvX1m\",\"reference_configuration.md\":\"eCXxpNYo\",\"reference_keyboard-shortcuts.md\":\"C2b7IJIt\",\"reference_limits.md\":\"17DNV05j\",\"reference_ports-paths-data.md\":\"BF8Pe61Y\",\"reference_status-and-errors.md\":\"BwpSR6nH\",\"runners_claude-code.md\":\"DSGRX72-\",\"runners_codex.md\":\"CDGNsFMp\",\"runners_mar-agent.md\":\"D0j34HGe\",\"runners_opencode.md\":\"DSvXW8Sv\",\"runners_overview.md\":\"CHK7UvIl\",\"runners_runner-troubleshooting.md\":\"x-gG5ZND\",\"troubleshooting_node-offline.md\":\"DQGjJ9k9\",\"troubleshooting_quick-diagnosis.md\":\"Bc2yAbfz\",\"troubleshooting_session-run.md\":\"Cny0YwSq\",\"troubleshooting_terminal.md\":\"DB0zc8sK\",\"troubleshooting_workspace-files.md\":\"BEFLZu54\",\"workbench_composer.md\":\"DesljRQE\",\"workbench_context-and-plan.md\":\"CzRACFjQ\",\"workbench_conversation.md\":\"H24F6OKx\",\"workbench_file-reference-and-attachment.md\":\"CkStAhL5\",\"workbench_files.md\":\"uJvMz4Fi\",\"workbench_git-changes.md\":\"BcvhH9LA\",\"workbench_git-history.md\":\"Ckvhp8Y3\",\"workbench_hosted-conversations.md\":\"BaEkkoGR\",\"workbench_mobile.md\":\"B6WydCWD\",\"workbench_navigation.md\":\"CXd25kxS\",\"workbench_remote-desktop.md\":\"BGRwzLZ9\",\"workbench_sessions.md\":\"D4B313AI\",\"workbench_skills.md\":\"BckmpyzF\",\"workbench_terminal.md\":\"YzgZvVcu\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"MyAgentRoam Documentation\",\"description\":\"MyAgentRoam 部署、配置与使用文档\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png?v=logo-20261011\",\"logoLink\":\"/\",\"siteTitle\":\"Documentation\",\"langMenuLabel\":\"切换语言\",\"outline\":{\"label\":\"本页内容\",\"level\":[2,3]},\"returnToTopLabel\":\"返回顶部\",\"sidebarMenuLabel\":\"文档目录\",\"darkModeSwitchLabel\":\"外观\",\"lightModeSwitchTitle\":\"切换至浅色模式\",\"darkModeSwitchTitle\":\"切换至深色模式\",\"docFooter\":{\"prev\":\"上一篇\",\"next\":\"下一篇\"},\"search\":{\"provider\":\"local\",\"options\":{\"translations\":{\"button\":{\"buttonText\":\"搜索文档\",\"buttonAriaLabel\":\"搜索文档\"}}}},\"sidebar\":{\"/en-US/\":[{\"text\":\"Getting Started\",\"items\":[{\"text\":\"What Is MyAgentRoam?\",\"link\":\"/en-US/getting-started/overview\"},{\"text\":\"npm Quick Start\",\"link\":\"/en-US/getting-started/npm-quick-start\"},{\"text\":\"Before You Deploy\",\"link\":\"/en-US/getting-started/prerequisites\"},{\"text\":\"Deploy Server and Web\",\"link\":\"/en-US/getting-started/server-installation\"},{\"text\":\"First Sign-in and Password Change\",\"link\":\"/en-US/getting-started/first-login\"},{\"text\":\"Connect Your First Node\",\"link\":\"/en-US/getting-started/connect-node\"},{\"text\":\"Register Your First Workspace\",\"link\":\"/en-US/getting-started/register-workspace\"},{\"text\":\"Start Your First Agent Session\",\"link\":\"/en-US/getting-started/first-agent-session\"},{\"text\":\"Next Steps\",\"link\":\"/en-US/getting-started/next-steps\"}]},{\"text\":\"Core Concepts\",\"items\":[{\"text\":\"Server, Node, Web, and Runner\",\"link\":\"/en-US/concepts/architecture\"},{\"text\":\"Nodes and Workspaces\",\"link\":\"/en-US/concepts/node-and-workspace\"},{\"text\":\"Sessions, Runs, and Message Queues\",\"link\":\"/en-US/concepts/session-run-turn\"},{\"text\":\"Runners and Session Control\",\"link\":\"/en-US/concepts/runner-control\"},{\"text\":\"Files, Git, and Terminals\",\"link\":\"/en-US/concepts/files-git-terminal\"},{\"text\":\"Users, Organizations, and Access\",\"link\":\"/en-US/concepts/permissions-and-sharing\"},{\"text\":\"Secrets and Injection Order\",\"link\":\"/en-US/concepts/secrets\"},{\"text\":\"Data, Credentials, and Security\",\"link\":\"/en-US/concepts/data-and-security\"}]},{\"text\":\"Work / Conversation Guide\",\"items\":[{\"text\":\"Work Mode, Nodes, and Workspaces\",\"link\":\"/en-US/workbench/navigation\"},{\"text\":\"Favorite and Install Skills\",\"link\":\"/en-US/workbench/skills\"},{\"text\":\"Create and Manage Sessions\",\"link\":\"/en-US/workbench/sessions\"},{\"text\":\"Messages and Composer\",\"link\":\"/en-US/workbench/composer\"},{\"text\":\"Context, Compact, and Plan\",\"link\":\"/en-US/workbench/context-and-plan\"},{\"text\":\"References, Folders, and Attachments\",\"link\":\"/en-US/workbench/file-reference-and-attachment\"},{\"text\":\"Conversations, Tools, and Notifications\",\"link\":\"/en-US/workbench/conversation\"},{\"text\":\"Start a Template Conversation in Conversation Mode\",\"link\":\"/en-US/workbench/hosted-conversations\"},{\"text\":\"Browse, Search, and Manage Files\",\"link\":\"/en-US/workbench/files\"},{\"text\":\"Git Changes and Diff\",\"link\":\"/en-US/workbench/git-changes\"},{\"text\":\"Git History\",\"link\":\"/en-US/workbench/git-history\"},{\"text\":\"Workspace Terminals\",\"link\":\"/en-US/workbench/terminal\"},{\"text\":\"Node Remote Desktop\",\"link\":\"/en-US/workbench/remote-desktop\"},{\"text\":\"Continue on Mobile\",\"link\":\"/en-US/workbench/mobile\"}]},{\"text\":\"Agent Guide\",\"items\":[{\"text\":\"Choose an Agent\",\"link\":\"/en-US/runners/overview\"},{\"text\":\"OpenCode\",\"link\":\"/en-US/runners/opencode\"},{\"text\":\"Codex\",\"link\":\"/en-US/runners/codex\"},{\"text\":\"Claude Code\",\"link\":\"/en-US/runners/claude-code\"},{\"text\":\"Built-in MAR Agent\",\"link\":\"/en-US/runners/mar-agent\"},{\"text\":\"Runner Troubleshooting\",\"link\":\"/en-US/runners/runner-troubleshooting\"}]},{\"text\":\"Deployment and Operations\",\"items\":[{\"text\":\"Production Deployment and Reverse Proxy\",\"link\":\"/en-US/deployment/production\"},{\"text\":\"Install and Register a Node\",\"link\":\"/en-US/deployment/node-installation\"},{\"text\":\"Linux Node and systemd\",\"link\":\"/en-US/deployment/node-linux\"},{\"text\":\"Windows Node and Task Scheduler\",\"link\":\"/en-US/deployment/node-windows\"},{\"text\":\"macOS Node and launchd\",\"link\":\"/en-US/deployment/node-macos\"},{\"text\":\"Upgrade MyAgentRoam\",\"link\":\"/en-US/deployment/upgrade\"},{\"text\":\"Backup and Restore\",\"link\":\"/en-US/deployment/backup-restore\"},{\"text\":\"Network, TLS, and WebSocket\",\"link\":\"/en-US/deployment/network\"},{\"text\":\"Production Security Checklist\",\"link\":\"/en-US/deployment/security-checklist\"}]},{\"text\":\"Node Operations Tools\",\"items\":[{\"text\":\"Manage Nodes with marctl\",\"link\":\"/en-US/operations/marctl\"}]},{\"text\":\"Administration Guide\",\"items\":[{\"text\":\"Account Security and Sign-in Sessions\",\"link\":\"/en-US/administration/account\"},{\"text\":\"Manage Nodes and Workspaces\",\"link\":\"/en-US/administration/nodes-workspaces\"},{\"text\":\"Manage Conversation Templates\",\"link\":\"/en-US/administration/conversation-templates\"},{\"text\":\"Maintain a Conversation Template Workspace\",\"link\":\"/en-US/administration/template-workspace-maintenance\"},{\"text\":\"Manage Secrets\",\"link\":\"/en-US/administration/secrets\"},{\"text\":\"Configure SMTP Email and Notification Templates\",\"link\":\"/en-US/administration/email-notifications\"},{\"text\":\"Manage Users, Organizations, and Roles\",\"link\":\"/en-US/administration/users-organizations\"},{\"text\":\"Configure OAuth 2.0 SSO\",\"link\":\"/en-US/administration/oauth\"},{\"text\":\"Audit Events and Export\",\"link\":\"/en-US/administration/audit\"},{\"text\":\"Personal and Enterprise Licenses\",\"link\":\"/en-US/administration/license\"}]},{\"text\":\"Troubleshooting and Reference\",\"items\":[{\"text\":\"Quick Diagnosis\",\"link\":\"/en-US/troubleshooting/quick-diagnosis\"},{\"text\":\"Node Registration or Offline Issues\",\"link\":\"/en-US/troubleshooting/node-offline\"},{\"text\":\"Workspace, File, or Git Issues\",\"link\":\"/en-US/troubleshooting/workspace-files\"},{\"text\":\"Session Stuck or Read-only\",\"link\":\"/en-US/troubleshooting/session-run\"},{\"text\":\"Terminal Connection Issues\",\"link\":\"/en-US/troubleshooting/terminal\"},{\"text\":\"Keyboard Shortcuts\",\"link\":\"/en-US/reference/keyboard-shortcuts\"},{\"text\":\"Statuses and Common Errors\",\"link\":\"/en-US/reference/status-and-errors\"},{\"text\":\"Configuration Reference\",\"link\":\"/en-US/reference/configuration\"},{\"text\":\"Ports, Paths, and Data\",\"link\":\"/en-US/reference/ports-paths-data\"},{\"text\":\"Versions, Capacity, and Limits\",\"link\":\"/en-US/reference/limits\"}]}],\"/\":[{\"text\":\"开始使用\",\"items\":[{\"text\":\"MyAgentRoam 是什么\",\"link\":\"/getting-started/overview\"},{\"text\":\"npm 快速开始\",\"link\":\"/getting-started/npm-quick-start\"},{\"text\":\"部署前准备\",\"link\":\"/getting-started/prerequisites\"},{\"text\":\"部署 Server 与 Web\",\"link\":\"/getting-started/server-installation\"},{\"text\":\"首次登录与修改密码\",\"link\":\"/getting-started/first-login\"},{\"text\":\"接入第一台 Node\",\"link\":\"/getting-started/connect-node\"},{\"text\":\"登记第一个 Workspace\",\"link\":\"/getting-started/register-workspace\"},{\"text\":\"开始第一次 Agent 对话\",\"link\":\"/getting-started/first-agent-session\"},{\"text\":\"接下来可以做什么\",\"link\":\"/getting-started/next-steps\"}]},{\"text\":\"核心概念\",\"items\":[{\"text\":\"Server、Node、Web 与 Runner\",\"link\":\"/concepts/architecture\"},{\"text\":\"Node 与 Workspace\",\"link\":\"/concepts/node-and-workspace\"},{\"text\":\"会话、运行与消息队列\",\"link\":\"/concepts/session-run-turn\"},{\"text\":\"Runner 与会话控制状态\",\"link\":\"/concepts/runner-control\"},{\"text\":\"文件、Git 与终端\",\"link\":\"/concepts/files-git-terminal\"},{\"text\":\"用户、组织与资源权限\",\"link\":\"/concepts/permissions-and-sharing\"},{\"text\":\"环境变量密钥与注入顺序\",\"link\":\"/concepts/secrets\"},{\"text\":\"数据归属、凭据与安全边界\",\"link\":\"/concepts/data-and-security\"}]},{\"text\":\"工作 / 对话使用指南\",\"items\":[{\"text\":\"工作模式、Node 与 Workspace\",\"link\":\"/workbench/navigation\"},{\"text\":\"收藏与安装 Skill\",\"link\":\"/workbench/skills\"},{\"text\":\"创建、查找与管理会话\",\"link\":\"/workbench/sessions\"},{\"text\":\"发送消息与使用 Composer\",\"link\":\"/workbench/composer\"},{\"text\":\"上下文用量、Compact 与 Plan\",\"link\":\"/workbench/context-and-plan\"},{\"text\":\"@ 引用、文件夹与附件\",\"link\":\"/workbench/file-reference-and-attachment\"},{\"text\":\"阅读对话、工具调用与通知\",\"link\":\"/workbench/conversation\"},{\"text\":\"在对话模式从模板新建对话\",\"link\":\"/workbench/hosted-conversations\"},{\"text\":\"浏览、搜索与管理文件\",\"link\":\"/workbench/files\"},{\"text\":\"查看 Git Changes 与 Diff\",\"link\":\"/workbench/git-changes\"},{\"text\":\"查看 Git 历史\",\"link\":\"/workbench/git-history\"},{\"text\":\"使用 Workspace 终端\",\"link\":\"/workbench/terminal\"},{\"text\":\"查看 Node 远程桌面\",\"link\":\"/workbench/remote-desktop\"},{\"text\":\"在移动端继续工作\",\"link\":\"/workbench/mobile\"}]},{\"text\":\"Agent 指南\",\"items\":[{\"text\":\"选择 Agent\",\"link\":\"/runners/overview\"},{\"text\":\"安装、配置和使用 OpenCode\",\"link\":\"/runners/opencode\"},{\"text\":\"安装、配置和使用 Codex\",\"link\":\"/runners/codex\"},{\"text\":\"安装、配置和使用 Claude Code\",\"link\":\"/runners/claude-code\"},{\"text\":\"配置和使用内置 MAR Agent\",\"link\":\"/runners/mar-agent\"},{\"text\":\"Agent 不可用或模型缺失\",\"link\":\"/runners/runner-troubleshooting\"}]},{\"text\":\"部署与运维\",\"items\":[{\"text\":\"生产部署与反向代理\",\"link\":\"/deployment/production\"},{\"text\":\"安装与注册 Node\",\"link\":\"/deployment/node-installation\"},{\"text\":\"Linux Node 与 systemd\",\"link\":\"/deployment/node-linux\"},{\"text\":\"Windows Node 与任务计划\",\"link\":\"/deployment/node-windows\"},{\"text\":\"macOS Node 与 launchd\",\"link\":\"/deployment/node-macos\"},{\"text\":\"升级 MyAgentRoam\",\"link\":\"/deployment/upgrade\"},{\"text\":\"备份与恢复\",\"link\":\"/deployment/backup-restore\"},{\"text\":\"网络、TLS 与 WebSocket\",\"link\":\"/deployment/network\"},{\"text\":\"上线安全检查清单\",\"link\":\"/deployment/security-checklist\"}]},{\"text\":\"节点运维工具\",\"items\":[{\"text\":\"使用 marctl 管理节点\",\"link\":\"/operations/marctl\"}]},{\"text\":\"管理指南\",\"items\":[{\"text\":\"账户安全与登录会话\",\"link\":\"/administration/account\"},{\"text\":\"管理 Node 与 Workspace\",\"link\":\"/administration/nodes-workspaces\"},{\"text\":\"管理对话模板\",\"link\":\"/administration/conversation-templates\"},{\"text\":\"维护对话模板 Workspace\",\"link\":\"/administration/template-workspace-maintenance\"},{\"text\":\"管理环境变量密钥\",\"link\":\"/administration/secrets\"},{\"text\":\"配置 SMTP 邮件与通知模板\",\"link\":\"/administration/email-notifications\"},{\"text\":\"管理用户、组织与角色\",\"link\":\"/administration/users-organizations\"},{\"text\":\"配置 OAuth 2.0 SSO\",\"link\":\"/administration/oauth\"},{\"text\":\"查询与导出操作审计\",\"link\":\"/administration/audit\"},{\"text\":\"社区版、企业 License 与冻结态\",\"link\":\"/administration/license\"}]},{\"text\":\"故障排查与参考\",\"items\":[{\"text\":\"从现象开始排查\",\"link\":\"/troubleshooting/quick-diagnosis\"},{\"text\":\"Node 注册失败或离线\",\"link\":\"/troubleshooting/node-offline\"},{\"text\":\"Workspace、文件或 Git 不可用\",\"link\":\"/troubleshooting/workspace-files\"},{\"text\":\"会话卡在 Working、Idle 或只读\",\"link\":\"/troubleshooting/session-run\"},{\"text\":\"终端无法打开或频繁断线\",\"link\":\"/troubleshooting/terminal\"},{\"text\":\"键盘快捷键\",\"link\":\"/reference/keyboard-shortcuts\"},{\"text\":\"状态、提示与常见错误\",\"link\":\"/reference/status-and-errors\"},{\"text\":\"配置项参考\",\"link\":\"/reference/configuration\"},{\"text\":\"端口、配置目录与数据位置\",\"link\":\"/reference/ports-paths-data\"},{\"text\":\"版本、容量与已知限制\",\"link\":\"/reference/limits\"}]}]}},\"locales\":{\"root\":{\"label\":\"简体中文\",\"lang\":\"zh-CN\"},\"en-US\":{\"label\":\"English\",\"lang\":\"en-US\",\"title\":\"MyAgentRoam Documentation\",\"description\":\"Deployment, configuration, and usage documentation for MyAgentRoam\",\"themeConfig\":{\"siteTitle\":\"Documentation\",\"langMenuLabel\":\"Switch language\",\"outline\":{\"label\":\"On This Page\",\"level\":[2,3]},\"returnToTopLabel\":\"Return to Top\",\"sidebarMenuLabel\":\"Menu\",\"darkModeSwitchLabel\":\"Appearance\",\"lightModeSwitchTitle\":\"Switch to Light Theme\",\"darkModeSwitchTitle\":\"Switch to Dark Theme\",\"docFooter\":{\"prev\":\"Previous\",\"next\":\"Next\"},\"search\":{\"provider\":\"local\",\"options\":{\"translations\":{\"button\":{\"buttonText\":\"Search Documentation\",\"buttonAriaLabel\":\"Search Documentation\"}}}}}}},\"scrollOffset\":134,\"cleanUrls\":true}");</script>
|
|
20
20
|
|
|
21
21
|
</body>
|
|
22
22
|
</html>
|