@myagentroam/server 0.15.3 → 0.15.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/dist/index.d.ts +135 -102
- package/node_modules/@myagentroam/protocol/dist/index.js +15 -7
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +1126 -0
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.js +92 -0
- package/node_modules/@myagentroam/protocol/dist/workbench-notification.d.ts +391 -0
- package/node_modules/@myagentroam/protocol/dist/workbench-notification.js +43 -0
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/domain-errors.js +6 -0
- package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.d.ts +4 -0
- package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.js +4 -0
- package/node_modules/@myagentroam/server-core/dist/marctl-session-routes.js +41 -35
- package/node_modules/@myagentroam/server-core/dist/mysql-node-identity.js +2 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.d.ts +11 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.js +79 -9
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.js +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-projection.d.ts +3 -0
- package/node_modules/@myagentroam/server-core/dist/node-projection.js +4 -2
- package/node_modules/@myagentroam/server-core/dist/node-request-channel.d.ts +6 -0
- package/node_modules/@myagentroam/server-core/dist/node-request-channel.js +9 -0
- package/node_modules/@myagentroam/server-core/dist/run-control-routes.js +7 -1
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.d.ts +139 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.js +304 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.d.ts +18 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.js +37 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.d.ts +45 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.js +449 -0
- package/node_modules/@myagentroam/server-core/dist/session-run-routes.js +1 -125
- package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.d.ts +14 -0
- package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.js +101 -33
- package/node_modules/@myagentroam/server-core/package.json +12 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +75 -4
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/mysql/server-database.js +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +9 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +25 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.d.ts +1 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.js +6 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-management-directory.d.ts +3 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.d.ts +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.js +6 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/background-execution-preparation-service.js +4 -5
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.d.ts +5 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.js +17 -4
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-resource-scope-index.js +10 -8
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/AuditManagementPage-Dsnzc0PN.js +1 -0
- package/web/assets/{AuthEntryPanel-Db_BWfJ0.js → AuthEntryPanel-D9ebBoo0.js} +4 -4
- package/web/assets/{AuthEntryPanel-BHf4PyTn.css → AuthEntryPanel-WpiFKAsq.css} +1 -1
- package/web/assets/{CodeFileEditor-CihFm6fB.js → CodeFileEditor-H71h18Kz.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-v6A9UnHo.js → ConversationTemplateManagementPage-CbBgb5Un.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage--MLDP2Yq.js → ConversationTemplateManagementPage-DCJXWYdm.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-DyFtLsCU.js → EnterpriseUserManagementPage-DRpFPO36.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-DMI-sdv1.js → EnvironmentSecretManager-BYEu6pyC.js} +1 -1
- package/web/assets/{FilePreviewLoading-TmVJkujC.css → FilePreviewLoading-BCZE-xW1.css} +1 -1
- package/web/assets/{FilePreviewLoading-D8OWX-sl.js → FilePreviewLoading-LOmXglhH.js} +1 -1
- package/web/assets/{LicenseManagementPage-EO9mHum7.js → LicenseManagementPage-mhP8u0oZ.js} +1 -1
- package/web/assets/{ManagementPagination-B6TS3Pk4.js → ManagementPagination-DbiZ6CBx.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-CMT8p2qX.js → MarAgentModelManagementPage-BT44GgBh.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-DOPY6UOs.js → MarAgentModelManagementPage-CvvCbQCA.js} +1 -1
- package/web/assets/{MarAlert-C-dZd4T_.js → MarAlert-BIk_N-WC.js} +1 -1
- package/web/assets/{MarCascader-D3Vl-FFX.js → MarCascader-DvpPFe4o.js} +1 -1
- package/web/assets/{MarCheckTag-BwSYYsSE.js → MarCheckTag-BwvXnEnf.js} +1 -1
- package/web/assets/{MarCheckboxGroup-Cb135wMq.js → MarCheckboxGroup-5bVbf0lZ.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-BwTnPcE0.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DbEWuIHj.js} +1 -1
- package/web/assets/{MarDatePicker-tSQv6wvs.js → MarDatePicker-D0G2zEfT.js} +1 -1
- package/web/assets/{MarDescriptionsItem-PNPmf934.js → MarDescriptionsItem-CxLkpmQY.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-Dvh_fAz1.js → MarFormItem.vue_vue_type_script_setup_true_lang-CV1tzjdN.js} +1 -1
- package/web/assets/{MarInputNumber-OVs6j0FR.js → MarInputNumber-xVGdx2HY.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-Bsmm81si.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-b5JJikqe.js} +1 -1
- package/web/assets/{MarSwitch-BGPjm8mm.js → MarSwitch-6B_KcOhu.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-druOvKUy.js → MarTableColumn.vue_vue_type_script_setup_true_lang-BIKATpkO.js} +1 -1
- package/web/assets/{MarTabs-DGJMl1q0.js → MarTabs-BYc8P3EU.js} +1 -1
- package/web/assets/{MarTag-BoauUJly.js → MarTag-OPmx72Lz.js} +1 -1
- package/web/assets/{MarkdownFilePreview-Btw0b3eS.js → MarkdownFilePreview-B54_DszC.js} +2 -2
- package/web/assets/{McpDetailsDialog-ZmNHpt5x.js → McpDetailsDialog-BtMWSIeT.js} +1 -1
- package/web/assets/{McpSourceManagementPage-Cl3ypbMi.js → McpSourceManagementPage-B-126VRv.js} +1 -1
- package/web/assets/{McpSourceManagementPage-DuyBN1_y.js → McpSourceManagementPage-BWEFNm14.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-B0LplIPv.js → NodeDetailsDialogs-21_kVbsi.js} +1 -1
- package/web/assets/NodeManagementPage-BH3_NvTe.js +1 -0
- package/web/assets/NodeManagementPage-D85qnsz4.js +1 -0
- package/web/assets/{OAuthManagementPage-6YC9ASJ5.js → OAuthManagementPage-DaUxJnvD.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BKD6rHXr.js → OrganizationManagementPage-DOlN9TDa.js} +1 -1
- package/web/assets/{RemoteDesktopPage-BbaFFjeW.js → RemoteDesktopPage-BehdxoXV.js} +1 -1
- package/web/assets/{ResourceManagementPanel-ByySlr2x.js → ResourceManagementPanel-MXcleaI4.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BmO8bTuI.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B_Nm5nRe.js} +1 -1
- package/web/assets/{SecretManagementPage-D2W03gRh.js → SecretManagementPage-C8Cdzlae.js} +1 -1
- package/web/assets/SecretManagementPage-DqO4HEX4.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BBcFoXRw.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-ivOyaCL4.js} +1 -1
- package/web/assets/{SessionSharePage-BNgEp6w0.js → SessionSharePage-DSMxWgfS.js} +2 -2
- package/web/assets/SettingsContent-BLMdy5J4.css +1 -0
- package/web/assets/SettingsContent-BTiZ6U3Y.js +1 -0
- package/web/assets/{SettingsContent-leYkMe7Y.js → SettingsContent-CiDe4bJA.js} +1 -1
- package/web/assets/SkillCenterPage-BwE2Oimy.js +1 -0
- package/web/assets/{SkillCenterPage-kib4QG13.js → SkillCenterPage-DrSz-_cp.js} +1 -1
- package/web/assets/{SkillDetailsDialog-s5e4FvWZ.js → SkillDetailsDialog-ldoTDCcE.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-D42HRqgP.js → SkillSourceManagementPage-C0gMXRE5.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-CAPfoRGd.js → SkillSourceManagementPage-D7ipXJrA.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-BoYp4pLI.js → StandaloneFilePreviewPage-BwddvGmo.js} +1 -1
- package/web/assets/{SystemConfigurationPage-B033PZiP.js → SystemConfigurationPage-CpzVPeAF.js} +1 -1
- package/web/assets/{SystemConfigurationPage-BImLLC7-.js → SystemConfigurationPage-i2e3-zND.js} +1 -1
- package/web/assets/{SystemInformationPage-CfN_9y2Q.js → SystemInformationPage-Bz0yFToK.js} +1 -1
- package/web/assets/{TerminalTabView-C0LlUwtD.js → TerminalTabView-DPXB2bXI.js} +1 -1
- package/web/assets/WorkbenchPage-B1oGIxD-.css +1 -0
- package/web/assets/WorkbenchPage-Kzj6M6Cw.js +22 -0
- package/web/assets/WorkspaceManagementPage-BTlzIlKC.js +1 -0
- package/web/assets/WorkspaceManagementPage-Dq1qIAjx.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-B3B520U3.js → abnfDiagram-VCTEODGH-DRytCsEV.js} +1 -1
- package/web/assets/{arc-CzRIICEp.js → arc-XoZS_jKf.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-Cwii7Vqj.js → architectureDiagram-5GKGNRK7-CfhN6NAI.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-DmXB7nEY.js → blockDiagram-OSKFZWR5-RWVqTWt9.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-DvFgqrKw.js → c4Diagram-7LVT6UL2-CO5F469-.js} +1 -1
- package/web/assets/{catalog-ownership-service-BxgleBKc.js → catalog-ownership-service-BZrBbgWj.js} +1 -1
- package/web/assets/{catalog-page-service-OpYIbvUW.js → catalog-page-service-Dvs0ECW7.js} +1 -1
- package/web/assets/channel-GTSu6otp.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-CRHWDv_q.js → chunk-2Q5K7J3B-B4DzBMFI.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-BWK_1AQI.js → chunk-5VM5RSS4-pVfLmPBw.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-8ThkQ-mU.js → chunk-F27PBJKO-BXqCh_pk.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-Ch5NYm1-.js → chunk-HLEWEB6X-BmD09ogS.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-B3jfIta9.js → chunk-JWPE2WC7-91KMh7-N.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-C_gUZd26.js → chunk-POPQ4Y6H-DWmBRn5X.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-CLYTuLPA.js → chunk-SVP7TREG-MYRwScnq.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-i9XwWX09.js → chunk-XXDRQBXY-Xd4UEOJR.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-DXNNy-Je.js → chunk-ZLD2IHE6-bksufRBt.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-BbDKYvfr.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-BbDKYvfr.js +1 -0
- package/web/assets/{conversation-history-BHVBrFPF.js → conversation-history-BPoLP3ZL.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-CbG82TkW.js → cose-bilkent-JH36ORCC-DWx37r3_.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-DXUJi6PL.js → cynefin-OW5HDTMX-DXjQqeAs.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-BbpaJaJc.js → cynefinDiagram-5FMLGOSQ-C0UoTc_K.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-B6_YQGif.js → dagre-OS7QT2EB-BJCceu3J.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-BRzqASNb.js → diagram-S7CK7UJ4-CKBa2I6a.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-vsBp6Ji0.js → diagram-UQ7AKVKN-C3iKHs0N.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-LePbDIih.js → diagram-VSXAHHWV-C69ZMkoA.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-Cn9ukbx8.js → diagram-VX7I27RA-i6dM64lY.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-CMl4dVbW.js → diagram-Z3DM3KII-DjmFpXQp.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-CBwYQRJ8.js → ebnfDiagram-PWID7BFC-deleYYQ9.js} +1 -1
- package/web/assets/{enterprise-management-service-DahI8TVf.js → enterprise-management-service-C1xVQRhM.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-CIIffxms.js → erDiagram-2YWLMYGG-C9FSq7LS.js} +1 -1
- package/web/assets/{error-presentation-BxUofys_.js → error-presentation-CLToNQLS.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-hWu2S6nd.js → flowDiagram-T62WH6J4-DtljfCw3.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-DQQyyM2R.js → ganttDiagram-EL5Y4UJY-CSXnaMni.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-bod8pPxm.js → gitGraphDiagram-WWUBYQGX-Di0kI-1M.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-4N4KDMmd.js → hosted-conversation-template-client-DbIHvkrV.js} +1 -1
- package/web/assets/{index-BcU4a2UI.js → index-B5xNgQ1t.js} +1 -1
- package/web/assets/{index-fTGjG74c.js → index-BIm_Tk3o.js} +1 -1
- package/web/assets/{index-6BWD9-7y.js → index-BPzMXg_n.js} +1 -1
- package/web/assets/{index-DvTPCgd0.js → index-BRBLdEXg.js} +1 -1
- package/web/assets/{index-BV6jwloN.js → index-BSeoPuYp.js} +1 -1
- package/web/assets/{index-CqINCSE3.js → index-BZL0FA6c.js} +1 -1
- package/web/assets/{index-CKsN5tnJ.js → index-Blcdlvac.js} +1 -1
- package/web/assets/{index-WrhXkAuv.js → index-ByWLBx2B.js} +1 -1
- package/web/assets/{index-DtQPOl5N.js → index-BzSvld8B.js} +1 -1
- package/web/assets/{index-BGPZzJsA.js → index-C-VX-swt.js} +1 -1
- package/web/assets/{index-DkNKd-3B.js → index-C4DG-TeT.js} +1 -1
- package/web/assets/{index-BBmXtRn-.js → index-C5ytr62C.js} +1 -1
- package/web/assets/{index-DmVV73u3.js → index-CLqDl5dP.js} +1 -1
- package/web/assets/{index-CqmyW_rC.js → index-CMc6i3Wi.js} +1 -1
- package/web/assets/{index-B8VV5dHZ.js → index-CQoxyJVb.js} +1 -1
- package/web/assets/index-CVRqNx2a.js +24 -0
- package/web/assets/{index-C_5eJUYf.js → index-CnwTTmut.js} +1 -1
- package/web/assets/{index-DpVjIrhP.js → index-DJBpjVrN.js} +1 -1
- package/web/assets/{index-DvzWB-jx.js → index-DOHlV9Jh.js} +1 -1
- package/web/assets/{index-ngCP4sKA.js → index-DdQgI0Nw.js} +1 -1
- package/web/assets/{index-B4ZW-T6J.js → index-Dvd-FQwQ.js} +1 -1
- package/web/assets/{index-B5klvT1H.js → index-DyIDPBMW.js} +1 -1
- package/web/assets/index-Skcx40Vc.css +1 -0
- package/web/assets/{index-Dn7WvtF7.js → index-SpgzlIv_.js} +1 -1
- package/web/assets/{index-Dp3eq1zd.js → index-VJd0IGlY.js} +1 -1
- package/web/assets/{index-DWkq2AGW.js → index-boVb98GT.js} +1 -1
- package/web/assets/{index-CqTIvvh4.js → index-mX8fH4z4.js} +1 -1
- package/web/assets/{index-0qO_3KE2.js → index-tCTyx278.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-CJqQEdwz.js → infoDiagram-FKFFQAWI-CbNMrx7h.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-Cj6-Lh3W.js → ishikawaDiagram-5VMMS53U-VSjH4PnX.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-BIL8wlwa.js → journeyDiagram-EYS64GPL-BRwD3GeT.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-BZQdoskd.js → kanban-definition-UXKFOSKX-D6br_A0l.js} +1 -1
- package/web/assets/{layout-C-meAuZp.js → layout-Bixg1i-E.js} +1 -1
- package/web/assets/{linear-BXP8QFmo.js → linear-DWmw_Gwx.js} +1 -1
- package/web/assets/{management-url-service-CEi28VSK.js → management-url-service-CPy3MZs4.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-B8Q9Jpu3.js → mar-agent-reasoning-effort-1UkFSyMT.js} +1 -1
- package/web/assets/{mcp-center-service-CrXWIZ89.js → mcp-center-service-DmwSkGgg.js} +1 -1
- package/web/assets/{mermaid.core-DEciRvw4.js → mermaid.core-LS_zc-Bt.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-4232A9CN.js → mindmap-definition-THT77NOG-CrR0KKWF.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-DRW4xZe4.js → mobile-dialog-return-service-5WbCQ9BU.js} +1 -1
- package/web/assets/{oauth-callback--0hD7dZ7.js → oauth-callback-BQLNsVmp.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-z74k-wFd.js → pegDiagram-XKGWAZYB-CxNV4d55.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-BxYWkM_Z.js → pieDiagram-E7YTZNPT-bsXYPsk0.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-Cd6maoR6.js → quadrantDiagram-AXDQQJYC-VwOtLvwy.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-fsMvr3v8.js → railroadDiagram-O6MQD6OU-1aQGKT9S.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X--tU9WVRs.js → requirementDiagram-IS5BZ75X-D9J-rRym.js} +1 -1
- package/web/assets/runner-presentation-Dl-dyc4s.js +1 -0
- package/web/assets/{sankeyDiagram-P5KCCOFB-AUpbouE8.js → sankeyDiagram-P5KCCOFB-DfBuQS79.js} +1 -1
- package/web/assets/{scoped-http-service-BUd40otX.js → scoped-http-service-C6O8jAaD.js} +3 -3
- package/web/assets/{sequenceDiagram-WJ2MYXX4-CjH5OTU4.js → sequenceDiagram-WJ2MYXX4-hhdMaxJq.js} +1 -1
- package/web/assets/{session-share-client-service-CxqkMHWQ.js → session-share-client-service-Dko2LCk8.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-DYvFOlqy.js → sizeCapture-INFHLROL-CiUP98ob.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-MwLwNWOb.js → stateDiagram-XQSTLZYL-KiAeEylc.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-BBopNovN.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-tf4B06so.js → swimlanes-V6O3JKXN-CMPrwHZc.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-yX0pvbP7.js +8 -0
- package/web/assets/{time-presentation-BLCYPkwu.js → time-presentation-Cx8NlbuB.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-wJWW5Met.js → timeline-definition-24CTP7MA-Cs8K8PAJ.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-Y_95t6qh.js → vennDiagram-4TSXK5OY-DRf0wRQQ.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-BscSDOEa.js → wardleyDiagram-VM6X3IG4-COGWwQ5R.js} +1 -1
- package/web/assets/{workbench-live-service-C2cXipPI.js → workbench-live-service-DB0U8ENT.js} +1 -1
- package/web/assets/{workbench-presentation-Cc9MAhUo.js → workbench-presentation-DRVLXW9E.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-CZLvj4Rq.js → xychartDiagram-S5SC5T6Z-nXmwJHjx.js} +1 -1
- 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.Ccx3H5CJ.js → app.DLMPS2hL.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DFCTHYzr.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.Yfx6AKyP.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.CWPLf9EK.js → VPLocalSearchBox.6QoI_Fld.js} +1 -1
- package/web/docs/assets/chunks/{theme.DybUwjKs.js → theme.lQd303tB.js} +2 -2
- package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.js → concepts_node-and-workspace.md.kMVoeyoQ.js} +1 -1
- package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.lean.js → concepts_node-and-workspace.md.kMVoeyoQ.lean.js} +1 -1
- package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.js → en-US_concepts_node-and-workspace.md.DXOEqvst.js} +1 -1
- package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.lean.js → en-US_concepts_node-and-workspace.md.DXOEqvst.lean.js} +1 -1
- package/web/docs/assets/{en-US_operations_marctl.md.BwfEVzJW.js → en-US_operations_marctl.md.DRIQIZLV.js} +12 -7
- package/web/docs/assets/en-US_operations_marctl.md.DRIQIZLV.lean.js +1 -0
- package/web/docs/assets/en-US_workbench_composer.md.6M6RbR5_.js +1 -0
- package/web/docs/assets/{en-US_workbench_composer.md.DPuZWvfo.lean.js → en-US_workbench_composer.md.6M6RbR5_.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_hosted-conversations.md.KH0Jahs3.js +1 -0
- package/web/docs/assets/{en-US_workbench_hosted-conversations.md.CmeX1K43.lean.js → en-US_workbench_hosted-conversations.md.KH0Jahs3.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_navigation.md.jdb_CfyD.js +1 -0
- package/web/docs/assets/{en-US_workbench_navigation.md.3W7bsQ4I.lean.js → en-US_workbench_navigation.md.jdb_CfyD.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.js → en-US_workbench_sessions.md.4DxY5XA7.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.lean.js → en-US_workbench_sessions.md.4DxY5XA7.lean.js} +1 -1
- package/web/docs/assets/operations_marctl.md.CGib1rcj.js +52 -0
- package/web/docs/assets/operations_marctl.md.CGib1rcj.lean.js +1 -0
- package/web/docs/assets/workbench_composer.md.CifbL-g0.js +1 -0
- package/web/docs/assets/{workbench_composer.md.fdtRWBnu.lean.js → workbench_composer.md.CifbL-g0.lean.js} +1 -1
- package/web/docs/assets/workbench_hosted-conversations.md.DzPCHOEK.js +1 -0
- package/web/docs/assets/{workbench_hosted-conversations.md.CxN8gwK2.lean.js → workbench_hosted-conversations.md.DzPCHOEK.lean.js} +1 -1
- package/web/docs/assets/workbench_navigation.md.B68IQzEX.js +1 -0
- package/web/docs/assets/workbench_navigation.md.B68IQzEX.lean.js +1 -0
- package/web/docs/assets/workbench_sessions.md.CeNjkWLp.js +1 -0
- package/web/docs/assets/workbench_sessions.md.CeNjkWLp.lean.js +1 -0
- 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 +5 -5
- 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 +5 -5
- 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 +15 -10
- 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 +3 -3
- 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/browser.html +3 -3
- package/web/docs/en-US/workbench/composer.html +5 -5
- 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 +5 -5
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +5 -5
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +5 -5
- 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 +15 -10
- 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 +3 -3
- 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/browser.html +3 -3
- package/web/docs/workbench/composer.html +5 -5
- 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 +5 -5
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +5 -5
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +5 -5
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +9 -9
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuditManagementPage-CYoJq8Xa.js +0 -1
- package/web/assets/NodeManagementPage-2pXVBnT4.js +0 -1
- package/web/assets/NodeManagementPage-D4RMXsxU.js +0 -1
- package/web/assets/SecretManagementPage-CmacyjNp.js +0 -1
- package/web/assets/SettingsContent-DbQffb3M.js +0 -1
- package/web/assets/SettingsContent-tt-arviP.css +0 -1
- package/web/assets/SkillCenterPage-fGS7KJAs.js +0 -1
- package/web/assets/WorkbenchPage-CRijp6VW.css +0 -1
- package/web/assets/WorkbenchPage-DcKTz_2C.js +0 -21
- package/web/assets/WorkspaceManagementPage-8Ys5XP7n.js +0 -1
- package/web/assets/WorkspaceManagementPage-C_VJkfy7.js +0 -1
- package/web/assets/channel-nZqGfUVf.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-Bx88BLRs.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-Bx88BLRs.js +0 -1
- package/web/assets/index-Bnw27ovL.css +0 -1
- package/web/assets/index-DX5iLtIS.js +0 -24
- package/web/assets/runner-presentation-CQEHD1-x.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-pXCRAnFo.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-DnlQN3xG.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.CB1zBLop.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.Dt1o2ZGd.js +0 -1
- package/web/docs/assets/en-US_operations_marctl.md.BwfEVzJW.lean.js +0 -1
- package/web/docs/assets/en-US_workbench_composer.md.DPuZWvfo.js +0 -1
- package/web/docs/assets/en-US_workbench_hosted-conversations.md.CmeX1K43.js +0 -1
- package/web/docs/assets/en-US_workbench_navigation.md.3W7bsQ4I.js +0 -1
- package/web/docs/assets/operations_marctl.md.DViLDEoR.js +0 -47
- package/web/docs/assets/operations_marctl.md.DViLDEoR.lean.js +0 -1
- package/web/docs/assets/workbench_composer.md.fdtRWBnu.js +0 -1
- package/web/docs/assets/workbench_hosted-conversations.md.CxN8gwK2.js +0 -1
- package/web/docs/assets/workbench_navigation.md.HvELxpD-.js +0 -1
- package/web/docs/assets/workbench_navigation.md.HvELxpD-.lean.js +0 -1
- package/web/docs/assets/workbench_sessions.md.CwztGf0o.js +0 -1
- package/web/docs/assets/workbench_sessions.md.CwztGf0o.lean.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t,o as s,c as n,a3 as a}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"Manage Nodes with marctl","description":"","frontmatter":{"title":"Manage Nodes with marctl","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/operations/marctl.md","filePath":"en-US/operations/marctl.md"}'),o={name:"en-US/operations/marctl.md"};function i(r,e,c,d,l,p){return s(),n("div",null,[...e[0]||(e[0]=[a("",56)])])}const m=t(o,[["render",i]]);export{h as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t,o as n,c as o,a3 as a}from"./chunks/framework.BHjrhdiC.js";const p=JSON.parse('{"title":"Messages and Composer","description":"","frontmatter":{"title":"Messages and Composer","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/composer.md","filePath":"en-US/workbench/composer.md"}'),s={name:"en-US/workbench/composer.md"};function r(i,e,d,c,l,h){return n(),o("div",null,[...e[0]||(e[0]=[a('<h1 id="messages-and-composer" tabindex="-1">Messages and Composer <a class="header-anchor" href="#messages-and-composer" aria-label="Permalink to "Messages and Composer""></a></h1><p>Composer combines the message editor, Agent configuration, attachments, context status, queue, and send/stop actions.</p><p>For a new Workspace session, choose the Agent in the welcome prompt. Choose the model, reasoning level, and permissions in Composer.</p><p>Press <code>Enter</code> to send and <code>Shift+Enter</code> for a newline on desktop. During a managed run, ordinary messages are queued. <code>Ctrl+Enter</code> adds information with priority. Node decides delivery from its actual state: when MAR Agent can accept a native addition, the message appears immediately and takes effect after the complete response and tool batch without interrupting generation. Managed waits may return early without stopping background tasks; other tools still finish normally. Other Agents or incompatible configuration changes keep the stop-then-send flow. The body is marked as information received while working; when idle it sends normally. The wrapper is hidden from messages, while attachments and references keep their existing behavior. On mobile, Enter always inserts a newline and the send button submits. When you switch models, the reasoning level changes to the target model's default; you can still select another level exposed by that model.</p><p>Type <code>/</code> to open commands supported by the current Agent and, under the skills group, the skills already loaded in the current workspace. Clicking a command, or pressing Enter while the menu cursor is on its match, runs it. Unknown <code>/xxx</code> input is sent as a regular message; supported slash commands can also accept arguments, such as <code>/goal <objective></code>. Selected skills appear as removable tags above the message body without being sent immediately. Click a tag's close control to remove it. When the message body is empty and the caret is at the start, Backspace removes selected skills from last to first. Sending supplies the selected skills as resource inputs in selection order, without displaying them in the sent message. Files and folders selected with <code>@</code> also appear as removable Composer tags and are hidden after sending; uploaded attachments still display a file list. Configuration controls are disabled when the active run requires a fixed mode. The first message to external history validates continuation automatically; a failed validation does not create a Run.</p><p>Create a phrase and prompt in <strong>Settings → Quick Prompts</strong>. Type <code>#phrase</code> to filter and insert the prompt body. Matching is case-insensitive: exact matches come before prefix matches, followed by substring matches; ties keep their original order. The first result is selected by default; press Enter on desktop to insert it. Selecting one replaces only the matching <code>#phrase</code>; it does not send the message or remove the remaining draft or attachments.</p><p>Pasting regular text keeps plain text only and remains undoable as one native edit with <code>Ctrl/Command+Z</code>. Text reaching either 100 lines or 10,000 characters is converted to a TXT attachment before it enters the editor, preventing large logs or code blocks from freezing the page. Conversion preserves the existing draft, and a message body is still required before sending.</p><p>Uploaded attachments that have not been sent remain available for one hour. Add them again after they expire.</p><p>In ordinary workspaces, each Composer pane keeps its message draft and unsent attachments together. Switching sessions or opening a new session does not remove attachments or restart uploads. Main and Aside remain independent, as do different workspaces; returning to a workspace restores that pane's attachments. Attachments stay only in the current page's memory and must be added again after refreshing or leaving the page.</p><p>During the short sending window, the input stays visible but is temporarily read-only so the next message cannot mix with the previous one. Success clears the submitted content; failure or the five-second timeout restores editing. For ordinary workspace messages, a late success removes sent attachments while preserving subsequently edited text and newly added attachments, without switching sessions. Removing an attachment while a request is in flight only changes the next draft; it does not withdraw the message already sent.</p><p>In an existing ordinary session, a timeout or unknown network outcome preserves the draft. Sending the unchanged draft again reuses the original message identity. Within its bounded in-process retention window, Node returns the original acceptance result without executing again, even if that Run has ended. After a Node restart, record eviction, or explicit history clearing/session deletion, a manual retry can still execute twice; check the session history and actual outcome first. This guarantee does not cover the first request that creates a session and is not permanent deduplication.</p><p>An idle session starts a sent message immediately and displays it in the conversation. During a run, an ordinary message first appears in the queue above the editor and enters the conversation when execution begins. Selecting Stop enters the stopping state and pauses the session queue; confirm the outcome before resuming or changing the queue.</p><p>On desktop, drag a queued message to change its order. On mobile, press and hold a queue item, then choose Move up or Move down.</p><p>While editing a queued message, press <code>Esc</code> to discard unsaved changes and exit that editor without stopping the run.</p><p>When you select <strong>Steer</strong> for a queued message, Node rechecks its actual state: during active work it delivers the message with priority as gentle additional information (steer); when idle it sends normally. It uses the latest saved text without adding another wrapper to an existing steer. The page still shows only the body and resources. Automatic delivery in queue order does not become steer, and special inputs such as Goal activation and automatic Goal continuation retain their existing semantics.</p><h2 id="prompt-tab" tabindex="-1">Prompt Tab <a class="header-anchor" href="#prompt-tab" aria-label="Permalink to "Prompt Tab""></a></h2><p>Prompt Tab triggers Composer Prediction: generating a complete prompt from the conversation and your draft intent. The status bar below the editor shows idle, Generating, or Prediction ready with the relevant shortcuts and action. Generation animates unless reduced motion is requested.</p><p>An administrator first configures a model and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>. The global capability is enabled by default, but an unconfigured model never triggers a request or falls back to the conversation model. Enable <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong>. The dropdown offers <strong>Off / On</strong>, defaults to on when no preference is saved, and applies only to Work mode. A saved Off choice remains off. Changes apply immediately and stay in this browser; this preference is not uploaded or synchronized across browsers.</p><p>With the editor focused and the browser in the foreground, press <code>Tab</code> twice quickly (within about 300ms), or select <strong>Generate</strong>. An empty editor shows the next-message suggestion in its placeholder. With a draft, ghost text previews a complete new prompt based on your intent without changing the original text. Press <code>Tab</code> or select <strong>Accept</strong> to replace the draft, then send it yourself. Native undo restores the original draft. Cursor position and selection do not affect generation; IME composition and open Composer menus prevent requests.</p><p>Press <code>Tab</code> once while generating to cancel. <code>Esc</code> cancels prediction without stopping the Agent. A ready suggestion has a separate <strong>Cancel</strong> button beside <strong>Accept</strong>. Editing the text or cancelling clears it; moving focus, switching windows, or returning to the page does not. Expiry, resource changes, and lost permissions still invalidate suggestions. The editor always consumes plain <code>Tab</code>, even when prediction is disabled or temporarily unavailable; <code>Shift+Tab</code> keeps its original behavior.</p><p>With an empty draft, a visible and focused browser page, and Node support, the current conversation uses these automatic triggers:</p><ul><li>Entering the current conversation: after about one second of staying, check without requiring editor focus, whether the Agent is running or finished. Switching away cancels the pending check. If history is still loading, check once it is ready without another full delay.</li><li>New public Agent reply: the editor must be focused when the reply arrives and still focused before generation. Replies received without editor focus are not replayed as new replies.</li><li>Current turn ending: editor focus is not required. Background pages do not request predictions; an ending already received can be processed on returning to the foreground.</li><li>Editor changes from unfocused to focused: check during execution or after the turn ends. Reuse a valid candidate or in-flight request covering the latest context.</li></ul><p>Overlapping signals are coalesced and rate-limited; continuous updates do not restart the conversation-entry delay. Each entry checks once, and a different conversation does not inherit the previous conversation's request cooldown. Eligible context changes during generation retain at most one follow-up refresh without interrupting or overlapping requests. Automatic refresh preserves a still-valid candidate until the new result is ready, without changing the draft or taking focus. Existing suggestions do not block new reply or ending events. History loading establishes a baseline rather than replaying old events; focusing before history is ready does not lose the entry check. Starting another turn discards the previous queued ending, but not the current conversation's entry or focus check. Manual generation, editing and cancellation clear the pending automatic batch; the Cancel button returning focus does not immediately retry. Later eligible events can still trigger prediction. The entry delay determines when generation starts, not when a suggestion is guaranteed to appear.</p><p>All four Work-mode Agents share this capability; hosted conversations do not support Prompt Tab. You can request it while the Agent is running. Requests send the draft, current conversation, a bounded execution snapshot, and authorized Workspace user-message references to the configured model. References are not filtered by author. Node maintains bounded in-memory caches; refreshing references does not call the model. Actual model usage belongs to the requesting user as prompt-prediction usage. Review suggestions before accepting; they are not evidence that work has finished.</p><p>Each Node stores local UTC daily analysis records under <code>prompt-completion/</code> in its data directory, including input drafts, bounded context, prediction output, status, and duration. Only the current day and previous six days are retained. Records are not uploaded to Server or added to conversation history. They can contain sensitive text and should be treated as private data.</p><p>Candidates are written as your message to the Agent: a request, question, or change of emphasis, rather than the Agent reporting its own plan. Manual Generate requests one nonempty candidate even with an empty draft or a completed task; when the next step is unclear, it favors a relevant read-only follow-up or clarification. Automatic prediction may still return no suggestion. Each prediction uses one generation call. The prompt guides the user perspective and task relevance; there is no separate model review or code-based semantic filter. Node checks output structure, completeness, and bounded length and characters. Invalid or incomplete manual output is reported as a generation failure; it is not replaced with a canned suggestion. Review the candidate before accepting it.</p><p>Each request generates a fresh prediction, rather than reusing the previous suggestion. Node caches loaded reference conversations and refreshes them on use when the refresh interval expires. Conversation messages, Goals, queue changes, and run-state updates do not interrupt generation; the next request uses the updated state.</p><p>Nodes supporting this context extension can use files and diffs viewed on this page within the last three minutes, plus known Goal, pending/waiting work, and queue state. Node rechecks file access and versions; unverifiable content is omitted, and diffs contribute browsing metadata only. Viewing a resource does not authorize changes. Running tasks favor intervention suggestions; completed tasks favor next steps. Unknown state is never treated as completed.</p><p>Automatic abstention or failure silently returns to the idle state without an empty-result notice, notification, or automatic retry. Manual generation retains explicit feedback; if a Node unexpectedly returns an empty result, “No suitable prediction right now” appears briefly.</p><p>If unavailable, check personal preferences, Node compatibility and capability, model/credential access, and resource permissions. See <a href="./../runners/mar-agent">MAR Agent</a> for configuration and access details.</p><h2 id="goals" tabindex="-1">Goals <a class="header-anchor" href="#goals" aria-label="Permalink to "Goals""></a></h2><h3 id="before-starting" tabindex="-1">Before starting <a class="header-anchor" href="#before-starting" aria-label="Permalink to "Before starting""></a></h3><p>MAR Agent, Codex, Claude Code, and OpenCode support Goals with no execution-count limit. Entering, updating, or leaving Goal mode preserves pending regular messages and their order. Switching state alone does not resume a paused queue; actual sends, stops, and resumes follow the regular delivery rules. <strong>MAR Agent retains its current Auto / Full access setting; other Agents switch to their confirmation-free permission, which does not revert when the Goal ends or is removed.</strong> Check the objective, directories, and permission boundaries first, and restore the desired permission manually in Composer afterward.</p><p><code>/goal</code> uses MAR compatibility semantics, managed by the Node for all four Agents; it is distinct from native Codex Goal. The bare command waits for an objective, <code>/goal <objective></code> sets or edits it, and <code>/goal --clear</code> removes it. Native Goal pause, resume, and budget controls are not provided; a native Goal created and completed within the current managed Codex execution also ends this Goal.</p><table tabindex="0"><thead><tr><th>Agent</th><th>Goal permission</th></tr></thead><tbody><tr><td>MAR Agent</td><td>Current setting</td></tr><tr><td>Codex</td><td>Full access</td></tr><tr><td>Claude Code</td><td>Bypass permissions</td></tr><tr><td>OpenCode</td><td>Automatic approval</td></tr></tbody></table><h3 id="start-and-inspect" tabindex="-1">Start and inspect <a class="header-anchor" href="#start-and-inspect" aria-label="Permalink to "Start and inspect""></a></h3><ol><li>Run <code>/goal</code> to show a pending Goal tag.</li><li>Send the next message as the objective. The tag disappears and the queue area shows a Goal heading and objective row. Running <code>/goal</code> again only reports that this mode is already active.</li><li>Hover or focus a shortened objective to read its tooltip, or select <strong>View</strong> for the full objective, execution count, and revision.</li></ol><p>The first execution, or a restart after editing the objective, shows <code>Goal Start</code> followed by the full objective on the next line. Automatic continuation shows only <code>Goal Continue</code>, without repeating the objective. Working time continues accumulating during handoffs and failed-run retry waits. A Goal's wall-clock time starts with its first objective and does not reset on edits; it includes waiting and retries, not just model or tool execution. When the Agent marks it completed or finally blocked, it receives the elapsed time through that status update and should summarize the work, verification, and remaining issues in the same turn. The subsequent summary and Run shutdown are not included in that measurement. Automatic blocking after Agent execution failures may leave no Agent available to summarize.</p><h3 id="steer-update-and-exit" tabindex="-1">Steer, update, and exit <a class="header-anchor" href="#steer-update-and-exit" aria-label="Permalink to "Steer, update, and exit""></a></h3><table tabindex="0"><thead><tr><th>Action</th><th>Effect</th></tr></thead><tbody><tr><td>Enter / Send</td><td>Queues the message to run in the order received after the Goal exits and the current turn finishes; it does not steer the active Goal</td></tr><tr><td>Ctrl+Enter</td><td>Stops the current execution and sends with priority, preserving other queued messages and the objective</td></tr><tr><td>Edit → Update</td><td>Changes the objective, stops the current execution, and immediately restarts with the revised objective; Cancel or <code>Esc</code> discards the edit</td></tr><tr><td>Remove</td><td>Exits Goal and stops automatic continuation, but <strong>does not stop the current execution</strong></td></tr><tr><td>Stop run</td><td>Interrupts the current run and removes the Goal; no separate Remove action is needed</td></tr></tbody></table><p>Regular queued messages do not run between Goal continuation turns, during continuation preparation, or during failed-execution retry waits. They run after the Goal completes, finally blocks, or is removed, once the current turn finishes. Stopping the run still pauses the queue. To intervene immediately, use <code>Ctrl+Enter</code> or a queue item's <strong>Execute now</strong> action; other regular queued messages keep waiting for the Goal to exit.</p><p>Completion, three consecutive successful turns without tool activity, or final blocking exits the mode. Automatic no-progress completion stops continuation but does not prove the objective was achieved; check the Agent's results. In regular Workspaces, MAR Agent Goals can resume through an <a href="./sessions#automatic-continuation-after-orderly-shutdown">orderly shutdown handoff</a>, preserving the objective, timing, and turn count. This does not cover other Agents, hosted conversations, or unexpected exits. Closing the page, removing an objective, or seeing an idle state after restart does not prove that the task completed. After a successful Remove or Stop run, the UI shows the Node-confirmed status, wall-clock time through the action, and number of turns started. Neither action starts another Agent to produce a summary. A pending Goal without an objective has no elapsed time to report.</p><h2 id="steer-on-mobile" tabindex="-1">Steer on mobile <a class="header-anchor" href="#steer-on-mobile" aria-label="Permalink to "Steer on mobile""></a></h2><p>Slide up from Send and release inside the Composer to submit. New and idle conversations send normally; while a run is active, the hint changes to <strong>Release to steer</strong> and releasing steers with the message. Only moving above the Composer switches to <strong>Release to cancel</strong>; move back inside to restore sending. The cancellation boundary follows the actual Composer height rather than a fixed swipe distance. Tapping, holding without sliding up, or returning to the starting position retains ordinary sending and queueing during a run. Nothing is submitted before release, and touching Send does not move focus away from the editor. Cancelling, switching Workspaces or sessions, or losing permission to send preserves the draft. Steering uses the same delivery intent as desktop <code>Ctrl+Enter</code> and does not guarantee interruption-free delivery for every Agent. You can also queue the message normally and use its <strong>Steer</strong> action in the queue.</p>',44)])])}const g=t(s,[["render",r]]);export{p as __pageData,g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t,o as a,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Start a Conversation from a Template","description":"","frontmatter":{"title":"Start a Conversation from a Template","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/hosted-conversations.md","filePath":"en-US/workbench/hosted-conversations.md"}'),i={name:"en-US/workbench/hosted-conversations.md"};function s(r,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="start-a-conversation-from-a-template" tabindex="-1">Start a Conversation from a Template <a class="header-anchor" href="#start-a-conversation-from-a-template" aria-label="Permalink to "Start a Conversation from a Template""></a></h1><p><strong>Conversation</strong> mode creates and continues conversations from templates that an administrator published and granted to you. The target Linux Node hosts each conversation with separate persistent storage and a Bubblewrap isolation environment. Each run receives a temporary virtual HOME that contains no host or session-storage content. The template provides a complete read-only Workspace image and controls models, MCP servers, network mode, and quotas.</p><h2 id="create-a-conversation" tabindex="-1">Create a conversation <a class="header-anchor" href="#create-a-conversation" aria-label="Permalink to "Create a conversation""></a></h2><ol><li>Open <strong>Chat</strong> from the main menu to enter Conversation mode. The entry is always visible and does not require you to select or receive access to any Node or Workspace.</li><li>If an existing conversation is open, select <strong>New chat</strong> below the history search field to show the temporary Composer start area in the center. The page does not open a dialog.</li><li>Select a published template granted to your current organization or one of its ancestors from the Composer toolbar. A template grant is sufficient to create and continue your own hosted conversations; it does not also grant access to the hosting Node, source Workspace, files, or terminal. A grant to the root organization makes the template available to everyone in the enterprise. This browser remembers the most recently selected template and selects it by default while it remains in the current catalog.</li><li>If no remembered selection can be restored and only one template is available, the page may preselect that template but never creates a conversation automatically. Review the template name, then explicitly send a message or attachment. The page creates the conversation, uploads any draft attachments, and sends the first message in that order.</li><li>If the creation response is interrupted, retry directly. Unless you switch templates or reload the catalog, the retry remains part of the same creation intent and does not create a duplicate.</li></ol><p>Creation binds the template version available at that time. Later draft edits do not affect the conversation, and publishing a new version does not switch it immediately. Before each new Run, Node queries and fully validates the latest available version, then starts the Run with that candidate. The switch becomes atomic only after the Run starts successfully and the message is accepted. Disabling, archiving, or deleting a template does not rewrite the template-name snapshot or last active version of an existing conversation.</p><h2 id="switch-an-existing-conversation-s-template" tabindex="-1">Switch an existing conversation's template <a class="header-anchor" href="#switch-an-existing-conversation-s-template" aria-label="Permalink to "Switch an existing conversation's template""></a></h2><p>While the conversation is idle, select its template name in the Composer, choose another published template granted to you on the same Node, and confirm. The new template applies to the next run. History, uploads, outputs, and unsent drafts stay in the conversation, and the new template can read its existing content. Template files, instructions, MCP servers, and network settings change; paths to template files in older replies may no longer be valid.</p><p>The current model is retained when the target allows it; otherwise the target's allowed default is selected. Insufficient storage quota, no available model, or a definitive request failure leaves the original binding unchanged. Switching is unavailable during a run, sending, uploading, rollback, or another conflicting write. After saving, wait for realtime updates to become ready. If the response is interrupted, wait for the page to confirm the binding instead of submitting again.</p><p>Only templates on the same Node can be selected; the conversation is not moved to another host. Switching does not change the recent-template preference for new conversations. Automatic version upgrades within the same template still happen at new-run boundaries; choosing the current template does not force an upgrade.</p><h2 id="use-the-three-pane-workspace" tabindex="-1">Use the three-pane workspace <a class="header-anchor" href="#use-the-three-pane-workspace" aria-label="Permalink to "Use the three-pane workspace""></a></h2><p>Opening an existing conversation displays three areas:</p><ul><li><strong>Chat history:</strong> Does not require a Node selection. Server reads conversations owned by the current account from valid hosting Nodes; the hosting Node does not need to appear in your ordinary resource directory. Pinned conversations appear first; all remaining conversations are ordered by latest activity. Search matches titles only, and each entry contains its title and one last-interaction line. A status dot is green while the conversation is running, neutral while starting or stopping, and absent while idle. An unread marker appears when the conversation has unread terminal notifications, and opening it clears all of its unread notifications. Scrolling near the bottom automatically continues through the unified directory, with a small ring while a page is pending. A failure keeps the loaded conversations and pauses automatic loading; select <strong>Retry</strong> at the bottom to continue. Title filtering searches loaded conversations only and pauses automatic loading until cleared. No matches does not mean the entire directory has no matching conversations. Offline, capability-invalid, version-invalid, failed, or schema-invalid Nodes are skipped silently. If no Node returns a valid result, the page shows a normal empty directory instead of per-Node failures or partial results.</li><li><strong>Main conversation:</strong> Shows authoritative history and realtime messages from the Node. The composer always uses MAR Agent Full Access but does not display the fixed Agent or access value. It provides only model, attachments, send, and stop controls. Reasoning uses the model default. You cannot select an Agent, access mode, slash command, Skill, or Workspace file reference.</li><li><strong>Related files:</strong> Shows only Node-projected <code>inbox/</code> uploads and <code>output/</code> files. Ordinary paths or natural-language text in an Agent response never create file entries. An explicit Markdown file link opens only when it targets <code>/workspace/inbox</code>, <code>/workspace/output</code>, or uniquely matches a current related-file projection. Drop multiple files into the upload area or click it to choose files. Selecting a file row or valid message link opens the same unified read-only file preview used by the regular Workbench, including download. Text larger than 512 KiB shows only its first range; images, PDFs, audio/video, and supported Office files preview through a controlled content stream and use the same file's download endpoint.</li></ul><p>As in the regular Workbench, the Agent can display images inline in a reply using Markdown image syntax, for example <code></code>. Local images must be listed in the current conversation's Related files. Select a thumbnail to open a larger preview.</p><p>On desktop, conversation history uses the same left-side menu area as other pages. Select <strong>Fold</strong> to fold both the brand area and conversation history so the main conversation moves left; select <strong>Expand</strong> to restore conversation history. Related files remain on the right of the main conversation.</p><p>Before creation, <strong>Related files</strong> shows only an explanation and has no upload target without a conversation. Once the first send creates the conversation, the upload area and file list become available in place.</p><p>Mobile does not show the global <strong>Expand/Fold</strong> control or three tabs. Select <strong>Chat</strong> in the top navigation again to open the history drawer, and use the <strong>Files</strong> button at the top-right of the main conversation to open related files. Selecting a conversation or the scrim outside a drawer closes it.</p><h2 id="send-messages-and-attachments" tabindex="-1">Send messages and attachments <a class="header-anchor" href="#send-messages-and-attachments" aria-label="Permalink to "Send messages and attachments""></a></h2><ol><li>Enter a message in the main conversation. Press Enter to send or Shift+Enter for a new line.</li><li>Choose a concrete model configuration currently available to your account within the template's allowed upstream-model range. If the current configuration disappears, Node first falls back to an available configuration for the template default, then to the first available model in template order. The operation fails when no model intersects. If an update fails, the page keeps the configuration confirmed by the Node.</li><li>Use the paperclip to add attachments. A message can contain up to 32 attachments. Each file must finish uploading to the current conversation before it can be sent. Dropping local files into the main conversation input first asks you to confirm the upload; choosing files with the paperclip and pasting from the clipboard start uploading directly.</li><li>Retry or remove a failed attachment from its attachment row. A retry creates a new upload request instead of reusing a cancelled temporary upload. Files with the same name are saved with an incrementing suffix before the extension, for example <code>image.png</code> and <code>image (1).png</code>; the attachment row shows the final name assigned by the Node.</li><li>While a task is in progress, you can still edit the Composer and use <strong>Stop</strong>. With the Composer focused, press <code>Esc</code> to stop the current task; no second stop request is sent while it is stopping or a message is sending. On a host that supports it, <code>Ctrl+Enter</code> on desktop steers with the current message. When MAR Agent can accept it natively, the message appears immediately and takes effect after the complete response and tool batch without interrupting generation. Managed waits may return early without stopping background tasks; other tools still finish normally. If the target is not ready or you explicitly change settings such as the model, the original stop-then-send flow applies. Its body is marked as additional information received while working; when idle it sends normally. The wrapper is hidden from the conversation. Ordinary Enter does not queue a hosted-conversation message. On mobile, the <strong>Steer</strong> button appears beside <strong>Stop</strong> when the editor has content. Tap it to steer, or slide up and release inside the Composer. Move above its top edge to cancel, and move back inside to restore steering. Cancellation preserves the draft. Hosted conversations do not queue ordinary messages. While a task is stopping, wait for it to finish before sending. Direct uploads and deletion in <strong>Related files</strong> are not disabled as a group by an active task.</li></ol><p>New and idle conversations on mobile also support sliding up from <strong>Send</strong> and releasing inside the Composer to send normally. Only moving above its top edge cancels; move back inside to restore sending. Tapping or holding without sliding up keeps the existing button action. Nothing is submitted while holding. Cancellation preserves the draft, and touching the button does not move focus away from the editor.</p><p>After an explicit request error, correct the input and retry. If the network disconnects while the result is unknown, the page keeps the same send intent to avoid duplicate execution.</p><p>History loading, inline retry, and Run duration follow the <a href="./sessions">session reading behavior</a>. Sending appears beside the send controls without replacing an active Run's status. Connection hints use the page connection state; they do not mean the Agent failed or restarted.</p><h2 id="roll-back-conversation-history" tabindex="-1">Roll back conversation history <a class="header-anchor" href="#roll-back-conversation-history" aria-label="Permalink to "Roll back conversation history""></a></h2><p>A steer message added during a run has its own rollback boundary. Rolling it back preserves ordinary messages and execution records from before it was received, even when they belong to the same turn.</p><p>When the hosting Node supports hosted-conversation Rollback, a <strong>Rollback conversation</strong> action appears beside terminal user messages. Hosted conversations do not provide a Rewind branch action. After confirmation, the system permanently deletes that user message and all later history in the current conversation's original Session, then restores the message text to the composer so you can edit and send it again.</p><p>Rollback does not modify or delete <code>inbox/</code>, <code>output/</code>, or any item in <strong>Related files</strong>, and it does not create a new conversation or Session. Rollback is unavailable while a Run is starting, active, or settling. If the boundary changed or the request failed, the page keeps the existing history and draft and shows the actual error.</p><h2 id="manage-related-files" tabindex="-1">Manage related files <a class="header-anchor" href="#manage-related-files" aria-label="Permalink to "Manage related files""></a></h2><ol><li>Drop one or more files onto the upload area in <strong>Related files</strong>, or click the area and choose one or more files from the system file picker. Files upload sequentially to the current conversation's <code>inbox/</code>, and one failed file does not prevent later files from uploading.</li><li>Direct upload updates only the related-file list. It does not add files to the composer or attach them to the next message. Use the paperclip when a file must be sent with a message.</li><li>Select a file row, or an explicit Agent-message file link that resolves to the current authoritative file list, to view it in the unified preview, jump to a text line, download it, or close it. Unknown, ambiguous, and plain-text paths never trigger a file read.</li><li>Both user uploads in <code>inbox/</code> and Agent outputs in <code>output/</code> can be deleted manually from their file rows. After confirmation, the page replaces the list with the complete authoritative result returned by the Node. Deleting the file currently being previewed also closes the preview.</li><li>Deletion may race with Agent writes during an active Run. The operation that completes first takes effect. If the target was deleted, replaced, or changed first, the later operation shows a not-found or conflict message; retry based on the refreshed file list.</li></ol><p>The Agent treats <code>output/</code> as the current deliverable set rather than appending a history for every Run. When the same document or artifact needs another revision, it keeps editing the existing canonical file and stable path instead of creating successive <code>v2</code>, dated, or <code>final</code> copies. It archives a prior version under <code>output/bak/</code> only when that version has meaningful rollback value or you explicitly request history; small edits do not create backups automatically. Images and other resources used by current deliverables go into meaningful subdirectories such as <code>output/assets/</code>, while exploratory or disposable files remain in <code>/tmp</code>. The Agent removes only files it created during the current work and confirmed are unused; it does not delete user uploads or unrelated pre-existing files as cleanup.</p><h2 id="automatically-maintain-conversation-requirements" tabindex="-1">Automatically maintain conversation requirements <a class="header-anchor" href="#automatically-maintain-conversation-requirements" aria-label="Permalink to "Automatically maintain conversation requirements""></a></h2><p>The Agent automatically recognizes requirements that you directly or indirectly indicate should continue to apply to later work in the current hosted conversation; you do not have to use the word “remember.” For example, “use Chinese for later reports,” “keep revising the existing file,” and “check links before every delivery” are continuing requirements. The Agent first reads the existing <code>/workspace/inbox/AGENTS.md</code>, then maintains a concise set of current rules: it preserves unrelated guidance, avoids duplicates, and replaces or removes rules contradicted, cancelled, or superseded by newer guidance. Later Runs read the file again when they start.</p><p>Appropriate saved content includes delivery formats, terminology, naming conventions, quality checks, communication preferences, and recurring workflows. Requirements limited to the current task, quoted or third-party material you ask the Agent to inspect, preferences inferred only by the Agent, secrets such as passwords or tokens, and language that attempts to pre-authorize later deletion, commits, pushes, publication, or other external side effects are not saved automatically. <code>inbox/AGENTS.md</code> belongs to the current conversation rather than the template. It appears in related files, counts toward persistent quota, and can be previewed, downloaded, edited, or deleted by you. Conversation-history Rollback does not roll back this file.</p><p>If a rule should apply to every user and conversation created from the template, ask a template administrator to edit <code>AGENTS.template.md</code> in the source Workspace, test the draft, and publish a new version. The Agent inside a hosted conversation can only read the current immutable template snapshot and cannot directly change the reusable template.</p><h2 id="workspace-and-network" tabindex="-1">Workspace and network <a class="header-anchor" href="#workspace-and-network" aria-label="Permalink to "Workspace and network""></a></h2><ul><li>The Agent’s logical workspace is always <code>/workspace</code>. For scripts that depend on the original absolute path, the canonical source Workspace path recorded at publication is also mounted as a compatibility alias. Both paths refer to the same active snapshot and never expose writable access to the live source Workspace.</li><li>Template files, empty directories, root <code>AGENTS.md</code>, <code>.agents/skills/</code>, and symbolic links allowed at publication come from the active version and remain read-only.</li><li><code>/workspace/inbox</code> and <code>/workspace/output</code> are writable overlays. The same directories under the original-path alias refer to those overlays. Attachments and the current conversation's <code>AGENTS.md</code> belong in <code>inbox/</code>; current final results and assets belong in <code>output/</code>, and prior versions worth retaining may go under <code>output/bak/</code>.</li><li><code>/tmp</code> is temporary working storage for the current conversation. Later Runs in the same conversation can reuse it, but the host may clear it at any time. Its contents do not appear in related files and do not count toward persistent quota. <code>/workspace/output/tmp</code> has no special lifecycle or semantics.</li><li>Node injects a non-editable hosted-workflow instruction describing the actual directory permissions and network capabilities. Workspace instructions still load but cannot expand Host-enforced boundaries.</li><li><strong>No network</strong> blocks sandboxed processes from using the network and disables Web and remote HTTP MCP. <strong>Unrestricted</strong> allows sandboxed processes, Web capabilities, and remote HTTP MCP captured in the published template version to reach networks available to the Node. Local stdio MCP can start in either mode but cannot use the network in <strong>No network</strong> mode.</li></ul><h2 id="realtime-and-availability-states" tabindex="-1">Realtime and availability states <a class="header-anchor" href="#realtime-and-availability-states" aria-label="Permalink to "Realtime and availability states""></a></h2><p>The conversation page reuses the page's single Workbench WebSocket and subscribes only to the current conversation. Switching conversations, leaving the page, or replacing the browser connection releases the old subscription. After reconnecting, the page obtains a new authoritative Node snapshot instead of inferring a Run result from missing events.</p><p>If the first message creates a conversation but its connection is not ready, the draft and attachments remain available. Send again after recovery; the message is never retried automatically. Switching history during creation or upload does not cancel submitted operations or jump back to the old selection. Choose <strong>New conversation</strong> on the same page to continue the original draft. Leaving the entire page does not cancel submitted operations; when you return, the created conversation is available in history.</p><p>After a Run succeeds, fails, or ends because of an unexpected interruption, Notification Center retains a notification for that hosted conversation for 24 hours. Explicitly selecting <strong>Stop</strong>, or deleting the conversation while it is running, cancels the Run without creating a terminal notification. Selecting a notification switches to Conversation mode and opens the matching conversation. Hosted conversations do not appear in the <strong>Recent Sessions</strong> list.</p><p>The page shows an action message in these cases:</p><ul><li>The hosting service is temporarily unreachable or realtime subscription fails: loaded content remains visible. An established subscription retries recoverable failures a limited number of times, with a reload ring in the conversation and writes disabled until recovery. After an initial load fails or recovery stops, select <strong>Failed to load. Retry</strong> in the conversation. The same error does not also produce a popup; the retry control's supplementary hint retains the error code, details, and request identifiers.</li><li>Automatic template upgrade fails: the current send fails, but the old version, history, and writable state remain intact. The next send queries the latest available version at that time and attempts the upgrade again.</li><li>Related-file synchronization fails: message history remains available; reopen the conversation later and contact an administrator if the problem continues.</li></ul><h2 id="titles-pinning-and-deletion" tabindex="-1">Titles, pinning, and deletion <a class="header-anchor" href="#titles-pinning-and-deletion" aria-label="Permalink to "Titles, pinning, and deletion""></a></h2><p>The new-conversation panel and a newly created conversation initially show the current interface language's <strong>New conversation</strong> label instead of the template name; switching the interface language updates this default title immediately. After the first non-empty message is accepted, the page uses that message as a temporary title; an attachment-only first send keeps the default title. When MAR Agent completes its first automatic title, the history directory and top bar update. Automatic and manual titles remain in their original text instead of being translated with the interface. You can set a manual title from the <strong>More</strong> menu beside a history entry; a manual title takes priority and is not replaced by a late automatic title. Editing the title or changing pin state does not change the last-interaction time. Pinned entries always appear before regular entries.</p><p>When you select <strong>Delete</strong>, the confirmation states that the action cannot be undone. After confirmation, the Node stops any active Run or upload for that conversation and permanently deletes its history, related files, and hosted directory. Deleting the current conversation clears the selection and opens the new-conversation panel; deleting another history entry keeps the current conversation and realtime subscription unchanged. Both cases refresh the history directory. This is not template archiving, and there is no recovery window or restore action.</p><h2 id="availability" tabindex="-1">Availability <a class="header-anchor" href="#availability" aria-label="Permalink to "Availability""></a></h2><ul><li>At 95% filesystem usage, the Node blocks only new conversation creation. Existing conversations remain available for opening, runs, uploads, exports, and deletion.</li><li>A template disappears from your new-conversation catalog after it becomes unpublished, disabled, archived, deleted, or no longer granted to you.</li><li>A template grant does not add the hosting Node or source Workspace to <strong>Work</strong>. Ordinary Workspace, file, terminal, or Node operations still require a separate resource grant.</li><li>The page stores only the most recently selected template ID in this browser and safely ignores it when that template is no longer available. It never creates a conversation silently when opened, refreshed, or reduced to one template. <strong>New chat</strong> only opens the temporary center panel.</li></ul><p><strong>Success:</strong> the page shows the new conversation title and first message, and <strong>Related files</strong> is available.</p><p>If no template is selectable, ask an administrator to check template publishing and template access. If creation reports a hosting, version, isolation, or storage-capacity problem, an administrator should inspect the corresponding Node. Administrators can see <a href="./../administration/conversation-templates">Manage Conversation Templates</a>.</p>',47)])])}const m=t(i,[["render",s]]);export{u as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t,o,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Work Mode, Nodes, and Workspaces","description":"","frontmatter":{"title":"Work Mode, Nodes, and Workspaces","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/navigation.md","filePath":"en-US/workbench/navigation.md"}'),a={name:"en-US/workbench/navigation.md"};function r(i,e,d,c,l,p){return o(),n("div",null,[...e[0]||(e[0]=[s('<h1 id="work-mode-nodes-and-workspaces" tabindex="-1">Work Mode, Nodes, and Workspaces <a class="header-anchor" href="#work-mode-nodes-and-workspaces" aria-label="Permalink to "Work Mode, Nodes, and Workspaces""></a></h1><p>With focus in the Aside tab strip, content, or Composer, use <code>Ctrl+W</code> / <code>Alt+W</code> to close the active session or Browser without closing the Workspace, clearing the session draft, or stopping its running task. Fixed tools remain open. See <a href="./../reference/keyboard-shortcuts">Keyboard Shortcuts</a> for input boundaries and cross-origin preview limitations.</p><p>Console provides two parallel modes: <strong>Work</strong> and <strong>Conversation</strong>. Work is the new name for the former <strong>Nodes</strong> top-level entry and opens the same Node → Workspace resource tree. Node management, Workspace tabs, Agent sessions, files, Git, and terminals work exactly as before. Conversation mode starts and continues conversations from published templates.</p><p>In Work mode, expand a Node group in the left resource tree and open a registered Workspace. Node rows organize resources and expose host management; clicking a Node name only expands or collapses its group and never changes the active Workspace. There is no separately saved current Node.</p><p>Every Workspace uses the same activation path: its tab activates and restores cached content immediately, then refreshes in the background. An uncached target shows its own loading state without waiting for network responses before selection. A temporary network failure leaves the target selected so it can be retried. Confirmed missing or inaccessible Workspaces have their content cleared and follow tab removal and fallback rules. Newer selections take precedence over late responses.</p><p>After a browser reload, Work restores the last open tabs and active Workspace. If the Node list cannot be loaded, select <strong>Retry</strong> to continue; the failure does not close the saved tabs. Other modes remain available during restoration.</p><p>Clicking a Workspace tab, including the active tab, desktop overflow menu, or mobile strip, opens its first valid unread session, <a href="./sessions">reusing its existing pane</a> when already open, and selects the correct Main / Child group. A successful open marks only that session read; another click can open the next unread session. With no unread sessions, the tab restores its last selected session, or preserves the existing empty or draft behavior. Running indicators are informational and never select a running session. A failed open does not clear unread state. Background notifications and task changes do not switch sessions automatically. Tree navigation, shortcuts, and tab-close fallback keep their existing behavior.</p><p>Workspace registration uses an explicit host target in a dialog; closing it leaves the active Workspace unchanged. Open Workspaces appear as tabs and retain their order in the current browser.</p><p>Clicking a Workspace tab expands only its Node and group in the resource tree, collapses other Nodes and groups, and scrolls the selected Workspace into view without moving keyboard focus. Selecting an ungrouped Workspace collapses all groups. A closed sidebar or mobile drawer stays closed; the target is located when it next opens. Existing filters remain in place and continue to show matching branches. You can still expand or collapse branches manually; clicking a tab again restores only its target branch. This does not trigger additional session, file, or Git refreshes.</p><p>Aside keeps Workspace tools, including Files, Search, Git Changes, Git History, Terminal, and <a href="./browser">Browser</a>, on the left. Open sessions appear to their right with an × close button. The Workspace browser manages its own webpage tabs.</p><p>On desktop, drag the divider at the right edge of the Workspace tree or the left edge of Aside to resize it within its minimum, maximum, and available space. Aside keeps a compact width for tools such as Files and a separate content width for sessions, Terminal, and Browser. Each preference is saved in the current browser and restored after a refresh; first use or invalid values use the corresponding default. When desktop space is insufficient, the work areas stack vertically; mobile uses drawers. These layouts do not offer horizontal resizing or overwrite your desktop preferences.</p><p>Right-click a Workspace tab and choose <strong>Pin</strong> to move it to the end of the pinned section. Pinned tabs replace the close button with an always-visible pin icon; click it or choose <strong>Unpin</strong> to return the tab to the start of the normal section. Pinned tabs can be reordered among themselves. Dragging a pinned tab after a normal tab automatically unpins it; dragging a normal tab into the pinned section pins it automatically, while dropping it at the section boundary keeps it normal. Pin state and order survive a refresh. When desktop space permits, pinned tabs stay visible while normal tabs scroll. If too many pins leave insufficient space for a normal tab, or on mobile, the full strip scrolls; use the all-open-Workspaces menu on desktop or swipe horizontally on mobile to reach overflow tabs.</p><p><strong>Move left</strong> and <strong>Move right</strong> move a tab one position, with invalid moves disabled at the ends; crossing the section boundary also pins or unpins the tab automatically. Opening the menu, pinning, or reordering does not switch the active Workspace or change LRU activity times. Up to eight normal tabs are retained; opening more evicts the least recently used normal tab. Pinned tabs do not count toward this quota and are never evicted. If unpinning exceeds the quota, the newly unpinned tab remains and another least recently used normal tab is evicted.</p><p>Use <code>Ctrl+W</code> or <code>Alt+W</code> to close the active normal tab and <code>Ctrl+Shift+W</code> or <code>Alt+Shift+W</code> to close all normal tabs; on macOS, use <code>Option</code> instead of <code>Alt</code>. Pinned tabs remain open and their <strong>Close</strong> menu action is disabled. These close shortcuts also work in Composer; other inputs, editors, terminals, and dialogs retain their native behavior. Double <code>Esc</code> no longer closes Workspace tabs. Ctrl combinations work when the browser or PWA delivers the key event to the page; use Alt combinations if the browser intercepts them. Closing the active tab returns to the most recently used remaining tab, regardless of pin state or display order. If a target is permanently unavailable, the next recent tab is tried; if no valid tabs remain, no Workspace is selected. Temporary network failures do not switch back to the old tab. A newer user selection takes precedence over pending fallback results. Closing an inactive tab does not switch Workspaces. Closing a tab clears its cache and closes its terminals, but does not unregister the Workspace or stop running Agents. See <a href="./../reference/keyboard-shortcuts">Keyboard Shortcuts</a>.</p><p>An offline or disabled Node keeps its registered resources visible but blocks live operations. Existing tabs still activate immediately; reconnect or enable the host before using files, sessions, or terminals. Closing a Workspace tab changes only the browser layout; it does not unregister the Workspace or stop Node work.</p><p>A green dot next to a Node means it is available. In workspace tabs and session lists, a green dot means a task is running; the dot is neutral when tasks are only starting or stopping. A green dot on the session tree button means it has a running or sleeping descendant. In the open tree, amber marks sleeping sessions.</p><p>On mobile, use <strong>Work</strong> in the top bar to open the same resource tree. Selecting a Workspace closes the drawer and returns to the Agent conversation. Use <strong>Chat</strong> to enter Conversation mode; selecting it again while active opens the chat-history drawer. The top-level navigation contains Work, Chat, Admin, and Settings. Admin no longer has a separate Skill Center entry. Skill Configuration, Skill Sources, and Environment Secrets appear consecutively, while MCP Sources remains a separate Admin section; Skill Configuration switches between Skill and MCP in the page.</p><p>Settings contains Account Security, Appearance, System Notifications, Quick Prompts, Personal Instructions, Keyboard Shortcuts, and About. Personal Instructions provides additional guidance for later Agent runs by the current account and saves Common, MAR Agent, Codex, Claude Code, and OpenCode values separately; the MAR Agent label remains <code>MAR Agent</code> in every interface language; each run combines Common with the current Agent's instructions without modifying Node or Workspace <code>AGENTS.md</code> or <code>CLAUDE.md</code>. Appearance defaults to the dark color theme. Under <strong>Settings → Appearance → Icon theme</strong>, MAR File Icons is the only option. File icons are independent of interface colors, and appearance preferences stay in the current browser. About shows the current Web version, links to the documentation center, and groups major open-source components across Web, Server, Node/MAR Agent, bundled tools, icons, and the optional Computer Use Runtime. This is a selection, not a complete dependency inventory. "View Web third-party notices" covers Web only; consult the corresponding Server, Node, and optional runtime distributions for their license and notice files. The <code>@myagentroam/binaries</code> package used by Node contains tool materials under <code>vendor/ripgrep/</code> and <code>vendor/ctags/</code>. External Agents, SDKs, and separately installed tools remain subject to their own terms. Runtime status and License management remain under Admin > System Information.</p><p>The <strong>Sessions & notifications</strong> icon after Chat opens one panel with separate recent-session and notification tabs. The upper-right number counts unread notifications; the lower-right dot indicates active workspace sessions. There is no separate top-right bell. See <a href="./conversation">Reading conversations</a> for status colors, retention, and ordering.</p><p>Click or tap the icon, or press <code>Ctrl/Cmd+Shift+E</code>, to open the custom Recent Sessions / Notifications panel. Click or tap the icon again, use the same shortcut, click outside, or press <code>Esc</code> to close. Hovering does not open or close it on desktop or mobile, and moving away leaves it open. Each opening starts on Notifications when unread notifications exist, or Recent Sessions otherwise; tab selection then stays under your control. No extra text tooltip covers the panel.</p><p>On desktop, click the info icon at the bottom left to open or close this page’s Web performance diagnostics. Hovering does not open it. Click outside to dismiss it, or use the copy button in the panel to copy detailed diagnostics.</p><h2 id="themes" tabindex="-1">Themes <a class="header-anchor" href="#themes" aria-label="Permalink to "Themes""></a></h2><p>Themes stay only in this browser. They are not uploaded or synced with accounts or devices. Clearing browser data deletes custom themes; export JSON files for backup or manual transfer.</p><p>Set <code>--mar-text-primary</code> for headings, names, message text, and input values; set <code>--mar-text-secondary</code> for timestamps, descriptions, and placeholders. <code>--mar-text-disabled</code> is separate. To update an older palette, move any separate conversation or muted text colors you still want to use into these fields.</p><p>After updating, an old file icon choice falls back to MAR File Icons. Your interface colors and other preferences are unchanged.</p><ol><li>Open <strong>Settings → Themes</strong>. The theme picker shows color swatches for built-in light, default dark, and saved themes. Select a theme to inspect it without changing the active palette; use <strong>Apply theme</strong> to switch. Built-ins can be viewed, copied, and exported, but not overwritten or deleted.</li><li>Open a theme’s more-actions menu and choose <strong>Duplicate</strong> to start with its complete palette, or <strong>Import JSON</strong>. Import does not overwrite themes with the same name. Copies and imported drafts both need saving.</li><li>Edit JSON on the left. The compact preview uses static examples of lists, messages, code/diffs, status indicators, inputs, and buttons, not actual project content. Hover or use Tab to inspect control states. <strong>Enlarge preview</strong> opens the same sample at normal text size. On narrow screens, the preview appears below the editor. Editing does not change the active global theme.</li><li><strong>Save theme</strong>, then use <strong>Apply theme</strong> in the picker or select it under <strong>Settings → Appearance → Theme</strong>. Applying a saved theme does not replace the open draft. Saving changes to the active theme updates its colors immediately. Save drafts before leaving the page.</li><li>Copy JSON, format, or export it. <strong>Reset</strong> requires confirmation and restores the last saved JSON or the original imported/copied draft without deleting the theme. Delete from the theme’s more-actions menu, with confirmation; deleting the active custom theme restores the default dark theme.</li></ol><p>JSON uses <code>version: 1</code>, <code>name</code>, and <code>colors</code>, not <code>base</code>. The colors object maps tokens to values, for example <code>--mar-bg-panel</code> to <code>#ffffff</code>. Colors accept <code>#RGB</code>, <code>#RGBA</code>, <code>#RRGGBB</code>, and <code>#RRGGBBAA</code>. Missing or invalid colors always use the corresponding default dark colors; saving does not expand the original JSON. Use the question mark beside Theme JSON to open <strong>Theme color reference</strong>, with grouped swatches, short descriptions, search and variable-name copying. Light and dark themes share the same <code>--mar-*</code> variables; component-library variables are mapped internally. Only currently registered <code>--mar-*</code> color keys take effect. <code>--el-*</code> and removed keys are unknown and ignored when applied; legacy themes are not supported. Duplicating a theme materializes its complete effective palette without depending on the source theme.</p><p>Readable text has three levels: primary (<code>--mar-text-primary</code>), secondary (<code>--mar-text-secondary</code>), and muted (<code>--mar-text-muted</code>). For example, the resource tree, workspace session list, and hosted conversation list use primary for selected names, secondary for unselected names, and muted for timestamps and supporting notes. Disabled control text is configured separately.</p><p><code>--mar-conversation-activity-fg</code> sets the color of the current conversation phase ring and the status strip above the composer. <code>--mar-conversation-activity-fill</code> sets the solid background of the send button and unread notification count badges. The icon and count automatically use black or white for contrast. If a custom theme only sets the activity foreground, its color also supplies the solid fill. Regular primary buttons still use <code>--mar-control-primary-bg</code>, <code>--mar-control-primary-hover</code>, and <code>--mar-control-primary-active</code> with <code>--mar-control-primary-fg</code>. Keyboard focus uses <code>--mar-control-focus</code>.</p><p>Only <strong>invalid JSON syntax</strong> blocks saving or exporting. Missing names, unknown fields or tokens, invalid colors, and low contrast produce advisory warnings. Saved and exported JSON retains unknown and invalid content, but it is ignored when applied. An old <code>base</code> field is also retained with an unknown-field warning; it no longer changes the dark fallback rule. Arbitrary CSS, URLs, and scripts are not executed. Contrast checks cover only explicit opaque color pairs, not a complete accessibility audit.</p><p>Git History uses built-in category colors for branch lanes. Success and warning theme colors no longer recolor those lanes. The main lane remains customizable with <code>--mar-color-git-graph-main</code>, and file changes still use their corresponding status colors.</p><p>Themes do not change layout, fonts, file icon themes, the fixed terminal palette, or public help. The preview is a representative color sample: it does not perform real workbench actions or cover unaffected areas such as terminals.</p><h2 id="system-notifications" tabindex="-1">System notifications <a class="header-anchor" href="#system-notifications" aria-label="Permalink to "System notifications""></a></h2><p>Enable the capability offered under <strong>Settings → System notifications</strong>. Opt-in is off by default and applies only to this browser and account. Permission is requested only after an explicit action.</p><ul><li><strong>PC: focus-loss system notifications.</strong> While the workbench remains connected, switching tabs or applications, or minimizing the window, can trigger a reminder. Closing all workbench pages stops new notifications; PC does not register for offline Push.</li><li><strong>Mobile: offline Push.</strong> There are no realtime focus-loss notifications. Moving the app into the background normally disconnects it. Only new notifications created while every workbench connection for the account is offline are pushed to registered mobile clients. A connected PC suppresses mobile Push even when unfocused.</li><li><strong>In-app notifications:</strong> a foreground page previews notifications for other targets beside the Sessions & notifications entry (below the top bar on mobile), without replacing an open menu. The active target keeps its existing read behavior. Background pages do not expand cards, and reload, reconnect, or focus recovery does not replay history. External notification preferences and permissions do not disable the in-app center.</li></ul><p>Run, approval, plan, user-input, scheduled-task, and explicit Agent notifications retain their existing scope. Clicking a system notification focuses or opens Console, marks only that item read, and locates its target. Deleted, expired, or unauthorized items do not navigate. Uploads and Web updates remain in-app only; email requires an explicit request.</p><p>Mobile Push also requires the administrator to enable the default-off <strong>Web Push</strong> setting under <strong>Admin → System Configuration</strong> and configure a valid VAPID contact (<code>MAR_WEB_PUSH_SUBJECT</code>, accepting <code>mailto:</code> or HTTPS; HTTPS sites default to their public origin). Personal settings show preference, browser permission, and subscription readiness separately. Administrator-disabled and Server-unavailable states are not browser permission denials. Choose <strong>Enable / retry offline Push</strong> when action is required. Disabling one client does not disable others. Notifications skipped while online or disabled are not replayed.</p><p><strong>Re-enable after upgrading:</strong> old Push registrations are cleared once; notification history, read state, and other user data are preserved. Refresh or close all old workbench tabs in this browser, then explicitly enable Push from the updated mobile app. Retry failed preparation or subscription retirement before enabling; do not mix old and new pages. Old PC subscriptions are retired and are not registered again.</p><p>Windows, macOS, and Linux use browser notification interfaces; banners, sounds, and Do Not Disturb are controlled by the OS. Browsers generally require HTTPS or trusted localhost with Notifications API and a Service Worker; the project checks actual capabilities and permission rather than imposing an extra HTTP restriction. Mobile also requires Web Push; on supported iOS/iPadOS, launch the Home Screen web app and explicitly allow notifications. Ordinary iOS tabs, offline networks, power saving, fully closed browsers, and OS restrictions have no delivery guarantee. Standard HTTPS subscription endpoints are not restricted by provider; deployment policies isolate Server outbound access.</p><p>Logout or Session revocation invalidates the corresponding mobile binding. Late Push with an unconfirmed binding shows only a generic prompt opening Console. Already dispatched messages cannot reliably be recalled, and provider acceptance does not prove display. Check site permission, OS notification settings, and Do Not Disturb if no banner appears; failure does not lose in-app notifications.</p><h2 id="usage-statistics" tabindex="-1">Usage statistics <a class="header-anchor" href="#usage-statistics" aria-label="Permalink to "Usage statistics""></a></h2><p>Open <strong>Settings → Usage statistics</strong> to view Agent usage for the current account. The default Conversation category includes main agents and subagents. <strong>Conversation</strong>, <strong>Compact</strong>, and <strong>Composer Prediction</strong> are separate categories; title generation and other requests are also available. Compact and prediction are excluded from Conversation. Switching categories updates the rolling last 24 hours and last 7 days (168 hours), charts, and records together. Top summaries for the current category do not change with the filters below. Filter charts and records by time, Agent, model, and Work/Conversation mode. Times use the browser time zone shown on the page.</p><p>Hover over or tap a bar for its time period and exact input, cache, output, and total token counts. With a keyboard, Tab into the chart and use the left and right arrow keys to move between periods.</p><p>Custom date ranges can span up to 90 days and may include future dates, such as the rest of the current month, or lie entirely in the future. Statistics include only data recorded by the current refresh; future periods have no data.</p><p>Model rankings and filters distinguish Agent, provider, and configuration identity. MAR Agent lists personal, organization, and Fast configurations separately even when they share an upstream model ID; other agents use their native model IDs. Historical records without a configuration identity fall back to the recorded model without inferring configuration ownership. Usage from an organization configuration still belongs to the person who initiated it; this does not mean personal credentials were used.</p><p>The visible page refreshes every 60 seconds and pauses when hidden or closed. Failed refreshes keep the existing data and retry later. While paging, sorting, or expanding records, summaries keep updating but records remain in place; choose <strong>Update records</strong> or <strong>Refresh</strong> to return to the latest first page. Records load in batches of 20. On desktop, the standard management pager shows the actual filtered record count and page count and supports direct page jumps. On mobile, more records load automatically near the bottom; if loading fails, retry in place. Column sorting applies to the current desktop page or the already loaded mobile records. Changing filters or explicitly refreshing resets the loaded records. Custom date ranges stay fixed during automatic refreshes.</p><p>Input includes cache reads and writes; output includes identifiable reasoning tokens. Cache and reasoning details are not added to the total again. Main and subagent conversation requests, compaction, prediction, and title generation are recorded in their respective categories rather than mixed into Conversation. Failed or cancelled requests retain usage already reported by the provider. Missing token fields are recorded and displayed as 0. Total tokens are input plus output; later usage updates revise the same record.</p><p>Summaries, filtered totals, trends, breakdowns by agent or model, and records show cache-read tokens with the hit rate in parentheses (recorded cache-read tokens divided by recorded input tokens). Aggregate rates are token-weighted, not averages of per-request percentages. The cache-colored segment is part of input and does not increase the bar height or total. Tooltips and expanded records list cache-write tokens separately. Unreported cache counts display 0. Missing or zero input produces a 0% hit rate. Time buckets without requests also display zero. This recorded-usage convention does not mean the provider confirmed zero consumption.</p><p>Nodes queue usage and resend it after reconnecting, so historical charts may change. Previously received records remain available while a Node is offline. Server records are retained for 90 days; pending Node records are bounded by capacity and retained for up to 7 days. Collection starts when the feature is enabled; old sessions and external CLI history are not imported. External agents may not expose every request. These statistics are not a provider bill or remaining quota. Usage belongs to the person who initiated the input, not the credential or Node owner. You can view only your own records.</p>',49)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="使用-marctl-管理节点" tabindex="-1">使用 marctl 管理节点 <a class="header-anchor" href="#使用-marctl-管理节点" aria-label="Permalink to "使用 marctl 管理节点""></a></h1><p><code>marctl</code> 是社区版和企业版的节点命令行工具;Node 安装包自带 <code>marnodes</code>、<code>marssh</code>、<code>marscp</code> 入口,仅供 MAR 内部执行上下文使用。它通过 Server 授权列出节点、打开交互终端、执行一次命令或复制文件;不需要 Node 开放 SSH 端口。<code>ssh</code> 是方便记忆的子命令名,<strong>不是系统 SSH 协议</strong>。</p><p>在 Node 上由 MAR 打开的普通 Workbench 终端、Workspace Agent Run 及其本地 MCP 子进程中,这些命令会自动加入 <code>PATH</code>。脚本可用 <code>MAR_NODE_CONTEXT=1</code> 判断 MAR 启动上下文,用 <code>MAR_USERNAME</code> 识别当前 MAR 账号的用户名(不是昵称或系统账号);定时任务使用任务 owner 的用户名。没有可信执行身份时用户名为空,不继承 Node 服务进程的用户名。这些变量只提供上下文信息,不代表已获得节点权限,也不改变托管对话的独立沙箱边界。</p><h2 id="agent-按需加载指南" tabindex="-1">Agent 按需加载指南 <a class="header-anchor" href="#agent-按需加载指南" aria-label="Permalink to "Agent 按需加载指南""></a></h2><p>在具备 marctl 执行上下文的受管 Workspace 中,MAR Agent 使用内建 <code>marctl</code> Skill;Codex、Claude Code 和 OpenCode 使用内建 <code>mar_cli</code> MCP 的 <code>load_guide</code> 工具按需读取同一份指南。服务与工具描述提供简短提示,客户端是否展示服务描述取决于对应 Agent。</p><p>加载指南只返回说明,不执行命令;Agent 仍通过自己的 Shell 工具运行 marctl,必要时查询本地命令帮助。已经加载且仍在上下文中的指南可以直接复用。该入口不增加权限,也不改变协作消息来源或现有定时任务工具。</p><h2 id="查看命令帮助" tabindex="-1">查看命令帮助 <a class="header-anchor" href="#查看命令帮助" aria-label="Permalink to "查看命令帮助""></a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help</span></span>
|
|
2
|
-
<span class="line"><span>marctl help ssh</span></span>
|
|
3
|
-
<span class="line"><span>marctl ssh --help</span></span>
|
|
4
|
-
<span class="line"><span>marnodes --help</span></span>
|
|
5
|
-
<span class="line"><span>marssh --help</span></span>
|
|
6
|
-
<span class="line"><span>marscp --help</span></span></code></pre></div><p>这些入口也支持 <code>-h</code>,查看帮助无需配置、授权或连接 Server。<code>marctl help</code> 显示产品说明、统一用法、子命令、选项、示例与授权说明;子命令帮助按用法、参数、选项、示例和说明组织。各 alias 只显示自己的操作,并使用 <code>marnodes</code>、<code>marssh</code> 或 <code>marscp</code>,不会混入其他命令。<code>marssh <节点> tool --help</code> 中的帮助参数属于远端命令;<code>marscp --</code> 后的参数按字面路径处理。</p><h2 id="查看-cli-版本" tabindex="-1">查看 CLI 版本 <a class="header-anchor" href="#查看-cli-版本" aria-label="Permalink to "查看 CLI 版本""></a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl version</span></span>
|
|
7
|
-
<span class="line"><span>marctl --version</span></span>
|
|
8
|
-
<span class="line"><span>marnodes --version</span></span>
|
|
9
|
-
<span class="line"><span>marssh --version</span></span>
|
|
10
|
-
<span class="line"><span>marscp --version</span></span></code></pre></div><p>这些入口也支持 <code>-V</code>,以单行 <code>marctl <版本号></code> 输出到标准输出并以换行结束,不附加横幅、依赖版本或诊断信息;查询成功时退出码为 0。显示的是当前安装的 Node 包版本,不是 Server 版本;查看版本不需要配置或授权,也不会连接 Server。<code>marctl help version</code> 或 <code>marctl version --help</code> 查看版本命令说明。<code>marssh <节点> --version</code> 中的选项属于远端命令,不会改为显示本机 CLI 版本。</p><h2 id="执行上下文授权" tabindex="-1">执行上下文授权 <a class="header-anchor" href="#执行上下文授权" aria-label="Permalink to "执行上下文授权""></a></h2><p>CLI 仅供 MAR 内部执行上下文使用。在 Node 上由用户打开的 Workbench 终端或发起的 Workspace Agent Run 中,CLI 自动使用当前用户的节点权限;定时任务使用任务 owner 的权限。无需配置密钥、环境文件或手动设置授权变量。</p><p>Server 在每次请求中复核用户凭证、账号、登录 Session(适用时)和当前权限。凭据<strong>自签发起 24 小时到期</strong>,不滑动续期、不自动续签;到期后重新打开终端或提交新的受权输入。Goal 接续和工具调用不会续签。普通系统终端或其他外部脚本不能独立访问节点;不支持管理员密钥、主目录配置文件或 <code>--env-file</code>。不要复制、保存或外传执行上下文中的用户凭证。</p><p>凭据使用 Server 签名。普通 Server 重启不使仍有效的凭据失效,也不延长有效期;重连后仍复核当前权限。Server、Node 和随 Node 安装的 CLI 需配套更新;旧的内存凭据不能转换为签名凭据,首次切换后需重新打开终端或提交新的受权输入。</p><h2 id="协同工作区会话" tabindex="-1">协同工作区会话 <a class="header-anchor" href="#协同工作区会话" aria-label="Permalink to "协同工作区会话""></a></h2><p><code>show/config/history/graph/rename/prompt</code> 及 <code>schedule get/create/update</code> 可省略会话 ID,默认使用执行上下文中的当前会话;显式 ID 优先,没有当前会话时明确报错,不猜测最近会话。<code>send/goal/stop/wait/approval</code> 始终要求显式目标 ID;<code>list</code> 和 <code>schedule list</code> 仍查询当前 Workspace。</p><p>使用 <code>marctl agents rename [<session-id>] --title 'fixer#42 Updated title' --json</code> 修改标题,首尾空白会去除,标题须非空且最多 160 字符。不限制 parent 关系,沿用 Web 改名链路,不启动或打断执行。查询当前标题使用 <code>agents current --json</code>。</p><p>定时任务与内置 MCP 共用数据和修改规则:修改同一用户保存的任务直接生效,修改其他用户的任务返回 <code>PENDING</code> 提议,由原保存者确认,不转移执行身份。定时执行与手动执行使用相同的用户权限和任务修改规则。更新必须先读取当前 <code>revision</code>,再传 <code>--expected-revision</code>;冲突或写入结果不明时不自动重试。MAR Agent 的 marctl 内置技能可用时隐藏重复的定时 MCP;不可用及其他 Agent 保留原 MCP。</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl agents schedule list --limit 20 --json</span></span>
|
|
11
|
-
<span class="line"><span>marctl agents schedule get --json</span></span>
|
|
12
|
-
<span class="line"><span>marctl agents schedule create --cron '0 9 * * *' -m 'Check build results' --json</span></span>
|
|
13
|
-
<span class="line"><span>marctl agents schedule update --expected-revision 1 --message-file task.txt --json</span></span>
|
|
14
|
-
<span class="line"><span>marctl agents schedule get <session-id> --json</span></span></code></pre></div><p><code>schedule list</code> 分页查询 Node SQLite,返回 <code>tasks[]</code>(含 <code>sessionTitle</code>)和 <code>nextCursor</code>,不扫描 Agent 的原生会话历史。其他任务操作可显式指定目标会话;创建要求 cron 和正文,更新至少指定一项。正文沿用 <code>-m</code> / <code>--message-file</code>(支持 stdin),最多 20,000 字符;时区由 Node 确定。CLI 不提供任务启停、删除或提议审批操作。</p><p><code>view [<session-id>] --json</code> 只返回状态、当前 Goal 和有界最近活动,不附历史或接受历史分页参数。完整记录通过独立的 <code>history [<session-id>] --cursor <cursor> --limit <1..100> --json</code> 按需分页读取;首次读取可省略 cursor。<code>history --json</code> 在 <code>segments[].items[]</code> 中按 <code>kind === "assistant_message"</code> 筛选,文本在 <code>payload.text</code>;精简状态字段见下文。</p><p>已有会话可用 <code>marctl agents config <session-id> --model-id <id> --effort high --json</code> 切换模型和思考强度,两个选项也可单独使用;未指定字段和权限保持不变,<code>--effort ""</code> 使用 Agent 的原生默认值。配置只影响既有链路中的后续执行,不重启当前执行;<code>agents start</code> 也支持 <code>--effort</code>。</p><p><code>--model-id</code> 使用目标 Agent 配置中的 <code>models[].id</code>。MAR Agent 对应内部模型配置 ID,不是显示名或上游模型 ID。请求和会话摘要使用 <code>modelId</code>;旧 <code>--model</code> 选项及请求字段 <code>model</code> 均拒绝。</p><p>通过 <code>start</code>、<code>send</code> 或 <code>goal set</code> 派发的任务默认抑制自动通知,避免协作会话反复推送。该规则适用于后续任务轮次和 Goal 续作;运行状态和历史仍可正常查看。后续人工输入恢复普通通知规则。显式通知工具仍可按授权发送。</p><p><code>sessions</code> 由 MAR 授权绑定当前 Node 和 Workspace,不接受 <code>--node</code>、<code>--workspace</code> 或其他范围覆盖;已知其他范围的会话 ID 或 cursor 不代表获得访问权。Workspace 终端可能没有当前会话;缺少可信工作区上下文时明确报错。既有 <code>nodes</code>、<code>ssh</code>、<code>scp</code> 的跨 Node 行为不变。</p><p>会话列表、ID 定位及 <code>list --query <名称片段></code> 只查询当前 Node 已登记或缓存的会话,不主动扫描 Agent 的原生会话历史。MAR 创建的正式会话和成功发现的外部会话会登记;尚未发现的外部会话需先由工作台发现。查询不恢复执行。列表按所选范围排序并限量;超出的匹配通过 <code>truncated</code> 标记,不提供翻页。错填 ID 时,<code>SESSION_NOT_FOUND</code> 的 <code>details</code> 可返回同一 Workspace 内最多 3 个 <code><sessionId> <name></code> 近似候选,不会自动替换 ID 或重发操作。<code>wait</code> 失败时,JSON 错误保留目标会话、Run、失败阶段及可用的上游诊断。</p><p><code>list</code> 仅接受 <code>--scope tree|active</code>、<code>--query <标题片段></code>、<code>--limit <1..100></code>。有当前会话时默认返回所在协作树,包含空闲会话;独立终端默认 active,显式 tree 需要会话上下文。active 返回当前 Workspace 中运行或睡眠的会话,不按更新时间、Goal 或队列推断。query 在所选范围内按标题过滤,忽略首尾空白、大小写及全角字母等兼容差异,再应用 limit(默认 10、上限 100)。活跃会话优先,其后按最近活动时间倒序。结果仅含 <code>scope</code>、<code>currentAgentId</code>(无会话时为 null)、扁平 <code>sessions</code> 和 <code>truncated</code>;每项仅含 <code>id</code>、<code>parentSessionId</code>、<code>title</code>、<code>status</code>。无匹配返回空列表,超出 limit 标记截断,无 cursor 或翻页;已知 ID 直接复用。<code>show</code> 返回精简 <code>session</code>,保留相同身份与状态,另带 <code>modelId</code>、<code>effort</code>、<code>queuedCount</code>、<code>latestMessage</code> 、最多三条 <code>recentTools</code>,以及 <code>pendingApprovals</code> 和 <code>pendingApprovalsTruncated</code>,不再附完整 Run、队列、Goal、路径或控制配置。详情分别查既有 Goal、schedule、graph、history 命令。modelId/effort 为 Node 已知会话配置,未知时为 null;queuedCount 不包含内部 Goal 续作项。</p><p>会话 <code>status</code> 只有 <code>RUNNING</code>、<code>IDLE</code>、<code>SLEEPING</code>。SLEEPING 必须来自当前 Run 的真实前台 sleep 等待,不按工具名或 Goal 是否 active 推断;工具 <code>state</code> 仍为原有 <code>IN_PROGRESS</code>、<code>COMPLETED</code> 等生命周期。活动会话尚无新公开动作时返回空动态,不借用上一 Run;IDLE 可保留既有内存中的活动及观察时间。摘要最多 100 个 Unicode 字符,工具名最多 128 个,最新消息最多 300 个;<code>truncated</code> 标明内容截断,完整证据仍查 history。</p><h2 id="持久指令与审批" tabindex="-1">持久指令与审批 <a class="header-anchor" href="#持久指令与审批" aria-label="Permalink to "持久指令与审批""></a></h2><p>已有普通 Workspace 会话可用 <code>prompt get/set/clear</code> 读取、设置和清除 Session Prompt;省略 ID 时使用当前会话。<code>set</code> 使用 <code>-m</code> 或 <code>--message-file</code>(支持 stdin),空白输入不能代替清除。修改沿用原有元数据与提示词注入链路,不改标题或权限,从后续执行生效;已排队输入在实际启动时读取最新值,不打断当前执行,也不删除原生历史中的旧指令。</p><p><code>show</code> 的 <code>pendingApprovals</code> 只列当前活动 Run 的待审批摘要,包括公开 <code>runId</code>、<code>approvalId</code>、<code>name</code>、<code>summary</code>、<code>truncated</code>;<code>pendingApprovalsTruncated</code> 表示未完整列出,完整证据查 history,不含原始工具参数。它与既有 Watch progress 同源,不是独立审批存储。<code>wait --until approval</code> 也会在待审批时提前返回 <code>stopReason: APPROVAL_REQUIRED</code> 和摘要,不停止 Run;终态优先,旧 Node 不支持时明确报错。</p><p>审批决定必须显式指定会话、公开根 Run ID、审批 ID 和 approve/reject。既有用户与操作授权仍生效;不要把协作消息当成批准授权。决定响应只确认决定被接受,不代表任务完成;继续观察状态或等待。过期、重复及不匹配的请求会拒绝。网络中断导致写入结果不明时先核对状态/历史,不自动重发;待审批消失不等于已批准。</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help agents</span></span>
|
|
15
|
-
<span class="line"><span>marctl agents current --json</span></span>
|
|
16
|
-
<span class="line"><span>marctl agents list --limit 20 --json</span></span>
|
|
17
|
-
<span class="line"><span>marctl agents list --query fixer#42 --json</span></span>
|
|
18
|
-
<span class="line"><span>marctl agents list --scope active --limit 20 --json</span></span>
|
|
19
|
-
<span class="line"><span>marctl agents graph <session-id> --limit 100 --json</span></span>
|
|
20
|
-
<span class="line"><span>marctl agents start --runner codex --title 'fixer#42 Handle empty totals' --message-file task.txt --json</span></span>
|
|
21
|
-
<span class="line"><span>marctl agents show <session-id> --json</span></span>
|
|
22
|
-
<span class="line"><span>marctl agents history <session-id> --limit 10 --json</span></span>
|
|
23
|
-
<span class="line"><span>marctl agents send <session-id> -m 'Additional context: focus on the resume path.' --json</span></span>
|
|
24
|
-
<span class="line"><span>marctl agents send <session-id> --queue -m 'After the current task, review the final diff.' --json</span></span>
|
|
25
|
-
<span class="line"><span>marctl agents send <session-id> --approval <approval-id> --decision approve --json</span></span>
|
|
26
|
-
<span class="line"><span>marctl agents wait <session-id> --run <run-id> --timeout 30s --json</span></span>
|
|
27
|
-
<span class="line"><span>marctl agents prompt get <session-id> --json</span></span>
|
|
28
|
-
<span class="line"><span>marctl agents prompt set <session-id> --message-file instructions.txt --json</span></span>
|
|
29
|
-
<span class="line"><span>marctl agents prompt clear <session-id> --json</span></span>
|
|
30
|
-
<span class="line"><span>marctl agents wait <session-id> --run <run-id> --until approval --timeout 5m --json</span></span>
|
|
31
|
-
<span class="line"><span>marctl agents approval decide <session-id> --run <run-id> --approval <approval-id> --decision approve --json</span></span>
|
|
32
|
-
<span class="line"><span>marctl agents wait <session-id> --timeout 0ms --json</span></span>
|
|
33
|
-
<span class="line"><span>marctl agents stop <session-id> --json</span></span>
|
|
34
|
-
<span class="line"><span>marctl agents goal get <session-id> --json</span></span>
|
|
35
|
-
<span class="line"><span>marctl agents goal set <session-id> --message-file objective.txt --json</span></span>
|
|
36
|
-
<span class="line"><span>marctl agents goal set <session-id> -m 'Finish the review and verify the fix' --json</span></span>
|
|
37
|
-
<span class="line"><span>marctl agents goal clear <session-id> --json</span></span></code></pre></div><p><code>start</code>、<code>send</code> 和 <code>goal set</code> 可用 <code>-m</code> / <code>--message</code> 直接传文本,也可用 <code>--message-file</code> 读取 UTF-8 文件或 stdin,两种选项互斥。文本中的文件路径指向目标获授权可访问的资源,不会自动上传 CLI 主机上的文件。<code>goal set</code> 拒绝保留目标 <code>--clear</code>;清除目标请显式使用 <code>goal clear</code>。</p><p><code>start</code> 在工作区根目录创建会话并提交首条消息,支持 <code>mar-agent</code>、<code>codex</code>、<code>claude-code</code>、<code>opencode</code>,以各 Agent 实际支持的能力为准。Agent 内调用时,省略 <code>--runner</code> 则沿用调用方的 Agent 类型。从终端调用时,须指定 <code>--runner</code> 或 <code>--parent</code>;省略 <code>--runner</code> 时继承父会话的 Agent 类型。省略 <code>--model-id</code> 时使用目标 Agent 的配置,不继承 Coordinator 模型。创建会话不会覆盖 Web Composer 已保存的默认模型、思考强度或权限,无论是否来自父会话;指定的配置只影响新建会话。<code>--message-file -</code> 从 UTF-8 stdin 读取。保存返回的原生会话 ID,标题不是唯一寻址身份。</p><p>Agent 内执行 <code>start</code> 时,Node 根据可信 Execution 凭据核验创建来源;终端用户可用 <code>--parent</code> 指定合法父会话,Node 校验同一 Workspace 后保存正式 <code>parentSessionId</code>。没有父会话则为空,创建后不能修改。<code>list --scope tree</code> 返回当前会话所在协作树,<code>graph <session-id></code> 返回包含根的创建后代树。graph 默认最多 100 个节点,<code>--limit</code> 支持 1..100;结果包含 <code>rootSessionId</code>、<code>nodes</code> 和 <code>truncated</code>,只查询 Node 已知会话,不扫描 Agent 的原生会话历史。parent 只表示创建来源,不是权限、当前调度者或任务依赖;发送消息与接手不改变它。删除父会话会按 Node 的关系树删除后代;旧会话不从消息或标题推断关系。</p><p>按任务需要创建会话,标题用 <code>fixer#<任务编号> <描述></code>、<code>reviewer#<任务或变更编号> <描述></code>。没有固定人数、角色注册、会话池;角色、范围和验收条件可放入首条普通消息,持久指令通过 <code>prompt</code> 设置。各 Agent 按上文入口加载指南;目标会话不需要加载该指南才能接受协作消息。</p><p><code>send</code> 有正文时默认使用 <code>--steer</code>,与 <code>agent_send</code> 一致。STEER 可使受管等待提前返回,后台任务继续运行。若无法在当前执行内交付,Node 可能中断该执行以交付新输入。<code>--queue</code> 用于明确要求延后处理的输入:在当前工作及前面的队列项结束后才消费,有活动 Goal 时还需等到 Goal 退出;后来的显式停止仍有效。纯 Goal 更新或审批不涉及消息投递。冲突、重复或旧选项在读取输入或发送请求前本地拒绝。start/send 自动生成 <code>clientMessageId</code>,也可传入 <code>--client-message-id</code>。消息回执在 <code>message.status</code> 和 <code>message.result</code> 中报告接受及投递事实,接受不保证立即处理。消息被接受后,通常无需另外回复或索取收悉确认,也无需仅为确认收到而立即检查历史。投递结果未知时先查看历史再重试;排队消息可通过 <code>queueItemId</code>/<code>clientMessageId</code> 关联。</p><p><code>send --approval <approval-id> --decision approve|reject</code> 可单独决定审批,也可与正文或 Goal 一起提交;Node 仍核验审批有效性和目标归属。单独决定审批无需启动模型请求。</p><p>子 Agent 运行时,建议并行推进有意义且不重叠的工作,不重复委派内容。没有其他本地工作可做,且需要结果解除阻塞或收尾时,再考虑等待。通常简洁交付最终结果即可,无需例行汇报或重复发送完成消息;用户要求的更新、阻塞、范围冲突或待决策信息适合提前沟通。</p><p>Agent 会话中的 <code>start</code> 首条消息和 <code>send</code> 消息会在历史和队列中标注 <code>来自 {name}</code>,使用发送时的名称快照;悬停显示来源为会话及其 ID。网页分享访客消息使用相同的 <code>来自 {name}</code> 标题,悬停显示来源为网页分享;普通用户与分享页面原作者保留原有标题。终端用户直接输入不伪造会话来源。内部来源标记不会出现在消息正文中。</p><p>不带 <code>--run</code> 的 <code>wait</code> 与 <code>agent_wait</code> 一致:省略目标时选择直接子会话,默认等待终态 30 秒;显式指定目标时,即使只有一个,结果也通过 <code>agents</code> 数组返回。<code>--timeout 0ms</code> 读取快照,正数按传入时长等待。<code>stop <session-id></code> 停止目标当前执行并清除 Goal,无需执行 ID;空闲时如实返回 idle,并清除 Goal。<code>wait --run</code> 通过既有 Watch 等待指定 Run 或审批,退出时释放观察;超时错误可附最后收到的有界 <code>progress</code>,没有观察时省略。无论哪种等待,超时或取消等待都不停止任务。Run 成功仍需核验产物与测试;子会话终态不会自动唤醒父会话的 sleep,需主动等待或读取。</p><p><code>view</code> 返回状态、Goal 和有界最近活动,不公开 Run 或 Execution ID。</p><p>只有直接子会话的公开更新会被父会话自动收取。向其他会话 <code>send</code> 不建立订阅;显式 <code>wait</code> 只在本次调用期间监听,不会持续接收其后续更新。</p><p>会话共享文件和 Git 索引,不自动隔离 worktree 或创建 Git 工作流。提交、推送、PR、合并和外部消息仍需相应用户授权。变更结果未知时保留关联 ID,先查状态/历史再决定是否重试,不盲目重发;重启后不保证恢复内存回执或 Run。</p><p><code>--json</code> 只输出一个结果/错误对象,key 和 code 使用稳定英文。退出码:1 失败,2 参数错误,3 授权错误,4 能力不支持,5 超时,6 结果未知,130 取消等待。</p><h2 id="列出节点与执行命令" tabindex="-1">列出节点与执行命令 <a class="header-anchor" href="#列出节点与执行命令" aria-label="Permalink to "列出节点与执行命令""></a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl nodes</span></span>
|
|
38
|
-
<span class="line"><span>marnodes</span></span>
|
|
39
|
-
<span class="line"><span>marctl ssh <node-id></span></span>
|
|
40
|
-
<span class="line"><span>marctl ssh <node-name></span></span>
|
|
41
|
-
<span class="line"><span>marssh <node-id|node-name></span></span>
|
|
42
|
-
<span class="line"><span>marctl ssh <node-id> uname -a</span></span>
|
|
43
|
-
<span class="line"><span>marscp ./artifact.bin <node-id|node-name>:///absolute/path/artifact.bin</span></span>
|
|
44
|
-
<span class="line"><span>marscp ./artifact.bin <node-id|node-name>:///existing/directory/</span></span>
|
|
45
|
-
<span class="line"><span>marscp <node-id|node-name>:///absolute/path/artifact.bin ./</span></span>
|
|
46
|
-
<span class="line"><span>marscp <node-id|node-name>:///absolute/path/artifact.bin ./artifact.bin</span></span>
|
|
47
|
-
<span class="line"><span>marctl scp linux:///absolute/path/artifact.bin windows://C:\\absolute\\path\\artifact.bin</span></span></code></pre></div><p><code>nodes</code> 仅列出当前授权用户有终端使用权的 Node,首行是节点 ID、名称、在线状态、平台的列标题;<code>ssh</code> 可使用节点 ID,或使用在可访问节点中唯一的精确节点名称(包括离线节点在内进行重名检查)。同名时会拒绝连接并提示使用 ID;ID 与其他节点名称相同时优先匹配 ID。不带命令时打开交互 Shell。带命令时,CLI 按 SSH 的常见形式把节点后的参数传给远端 Shell,显示输出并返回真实退出码,便于 Agent 或脚本判断成功与否;拼接后的命令最多为 64 KiB UTF-8 字节,目标平台或 Shell 可能有更低限制。节点后以 <code>-</code> 开头的参数也是远端命令内容,无需额外的 <code>--</code>。不支持 <code>-t</code>、登录账号、端口、私钥等系统 SSH 选项,也不自动提权。不要在命令中传入密钥。</p><p>CLI 优先尝试既有 Node 直连,建连失败时回退 Server 中继;回退使用同一个终端,不重复创建或执行命令。两种传输方式都由 Server 授权,命令始终以 <strong>Node 服务账号</strong>运行。企业 ADMIN 可以操作自己的个人 Node 和全部组织 Node,但不能使用其他用户个人 Node 的终端。</p><p><code>scp</code> 支持当前机器与有权限的 Node 之间、两个有权限的 Node 之间复制单个普通文件。Node 端点使用 <code><节点ID|节点名称>://<绝对路径></code> 或 <code>节点:<绝对路径></code>,名称须在可访问 Node 中唯一,重名时使用节点 ID;没有节点前缀的路径是本机路径。与标准 <code>scp</code> 一样,已有普通目标文件默认覆盖,无需特殊开关,并保留原目标权限;<code>-p</code> 保留源文件权限及访问/修改时间,<code>-q</code> 不显示进度(默认已不显示)。其他 SCP 参数(包括 <code>-r</code> 和 SSH 专属连接选项)明确拒绝而非静默忽略。已有真实目标目录会自动追加源文件名,不必写完整目标文件名;以分隔符结尾的目录目标必须已存在,不会自动创建目录或误建同名文件。源目录、符号链接源或目标,以及目录内最终路径为目录或符号链接的情况均拒绝;源文件名在接收平台不合法时也会拒绝。完整校验后原子发布,传输失败不会替换原文件;强制终止进程时可能留下临时文件。传输复用授权的二进制 pipe 模式 Terminal 链路,<strong>不是</strong>系统 SCP 协议,也不新增文件 API。旧 Server 或 Node 不支持二进制 Terminal 时直接拒绝,不会通过 PTY 传输任意字节。文件访问遵循各 Node 服务账号的权限;路径含空格时需要按本机 Shell 语法加引号。Windows Node 路径可在 <code>://</code> 后使用 <code>C:\\absolute\\path</code>。</p><h2 id="长任务与断线" tabindex="-1">长任务与断线 <a class="header-anchor" href="#长任务与断线" aria-label="Permalink to "长任务与断线""></a></h2><p>Server 中继不设置固定传输速率上限。发送端逐帧异步写入,并让出事件循环处理其他操作;复制拥塞时暂停相应 pipe 或 CLI 输入,恢复后按顺序继续,不影响直连写者。普通终端持续读取以保留退出前的完整尾部;发送缓冲超限时明确终止对应中继,不静默丢帧或关闭其他终端的共享连接。退出状态不会越过输出,等待写入或确认时仍可中断;成功退出后的正常断线不会被误报为复制失败。无需新增命令参数;慢网络仍可能增加响应时间,这不是主机级带宽隔离。</p><p>连接建立有超时,但附着后的命令没有总运行时长或输出静默超时;保持连接即可等待长任务正常完成。CLI 退出或连接无法恢复时会关闭其创建的终端,不提供断线后的后台任务托管;Node 上已解除附着的终端最多保留 60 分钟。对于必须在断线后持续运行的作业,请另行使用受控的任务管理方式,不要依赖这个终端连接。</p>`,56)])])}const h=s(c,[["render",d]]);export{m as __pageData,h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n("",56)])])}const h=s(c,[["render",d]]);export{m as __pageData,h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as t,o,c as a,a3 as d}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"发送消息与使用 Composer","description":"","frontmatter":{"title":"发送消息与使用 Composer","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/composer.md","filePath":"workbench/composer.md"}'),r={name:"workbench/composer.md"};function l(n,e,c,p,i,s){return o(),a("div",null,[...e[0]||(e[0]=[d('<h1 id="发送消息与使用-composer" tabindex="-1">发送消息与使用 Composer <a class="header-anchor" href="#发送消息与使用-composer" aria-label="Permalink to "发送消息与使用 Composer""></a></h1><p>页面底部的消息输入区(Composer)用于选择 Agent 配置、输入消息、引用文件和管理队列。</p><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to "前置条件""></a></h2><p>已打开会话。对于由外部 Agent 发现的历史,首次发送会自动验证继续路径;若验证失败,不会创建 Run。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to "步骤""></a></h2><ol><li>新建工作区会话时,在欢迎提示中选择 Agent;在消息输入区选择模型、思考等级和权限。只会显示当前 Node 确认可用的选项。切换模型时,思考等级会自动切换为目标模型的默认等级,之后仍可手动选择该模型公开的其他等级。</li><li>输入消息。默认 Enter 发送;Shift/Alt+Enter 换行,具体快捷键见<a href="./../reference/keyboard-shortcuts">键盘快捷键</a>。</li><li>运行中按 Enter 发送的消息会进入队尾;按 <code>Ctrl+Enter</code> 可优先补充当前消息。Node 根据实际状态决定投递:MAR Agent 的当前执行可接收原生补充时,消息会立即回显,并在完整回复及工具批次结束后生效,不截断模型生成;受管等待可提前返回,后台任务继续,其他工具仍正常完成;其他 Agent 或配置不兼容时,仍沿停止后优先发送流程处理。补充正文会标识为工作期间收到的新增信息;空闲时与普通发送一致。包装说明不在消息中显示,附件和引用仍按原规则处理。</li><li>点击停止会立即进入停止中状态并暂停本会话队列;确认后再继续或调整队列。</li><li>输入 <code>/</code> 可选择当前 Agent 支持的命令,或在「技能」分组中选择当前工作区已加载的技能;点击命令或在菜单光标位于匹配命令时回车会执行命令。未知 <code>/xxx</code> 输入作为普通消息发送;已支持的 Slash 命令也可能接受参数,例如 <code>/goal <目标></code>。选中的技能显示为正文上方的标签,不会立即发送;点击标签关闭图标可以删除。正文已经为空且光标位于开头时,按 Backspace 会从后向前删除技能标签。正式发送时,所选技能按选择顺序作为资源输入传给 Agent,不在发送后的消息中回显。<code>@</code> 选中的文件与目录也采用可删除标签和相同的隐藏回显规则;实际上传附件仍显示文件列表。不支持的命令不会显示。</li><li>在“设置 → 快捷提示词”创建短语和提示词后,输入 <code>#短语</code> 可筛选并插入提示词正文。匹配忽略大小写,完全匹配排在前缀匹配和包含匹配之前;同级保持原顺序。默认选中首项,桌面端按 Enter 可插入。选择后只替换当前 <code>#短语</code>,不会自动发送,也不会移除其余输入或附件。</li></ol><p>粘贴普通文本时只保留纯文本格式,并可使用 <code>Ctrl/Command+Z</code> 整次撤销。达到 100 行或 10000 字符的长文本会在进入输入框前自动转换为 TXT 附件,以避免大段日志或代码导致页面卡顿;转换不会覆盖输入框原有内容,发送前仍需填写消息正文。</p><p>已上传但未发送的附件保留 1 小时;超过时间后需重新添加。</p><p>普通工作区内,同一侧 Composer 的正文与未发送附件会一起保留:切换会话或打开新建会话不会丢失附件,也不会重新上传。Main 与 Aside 各自独立,不同工作区也互不混用;切回原工作区可继续使用该侧的附件。附件仅保留在当前页面内存中,刷新或离开页面后需重新添加。</p><p>发送中的短暂提交窗口内,输入内容保留但暂时只读,避免下一条消息混入上一条;成功后清空已提交内容,失败或最长 5 秒超时后恢复编辑。普通工作区消息的迟到成功回包会移除已发送附件,保留之后编辑的文字和新添加的附件,无需切换会话。请求仍在途时移除附件只影响后续草稿,不撤销已发出的消息。</p><p>普通已有会话发送超时或网络结果未知时,页面保留草稿;不修改草稿再次发送会复用原消息身份。Node 在当前进程的有限保留窗口内返回原接收结果,即使该次运行已结束,也不会再次执行。Node 重启、记录淘汰或显式清空历史/删除会话后,人工重试仍可能重复执行;请先核对会话历史与实际结果。此保证不覆盖新建会话的首次请求,也不是永久去重保证。</p><p><strong>成功标志:</strong> 空闲时发送的消息立即开始并出现在对话中;运行中发送的普通消息先出现在输入区上方的队列,真正开始执行后才进入对话;<code>Working</code> 标签反映当前任务。</p><p>桌面可拖动队列项调整顺序;移动端长按队列项,在菜单中选择上移或下移。</p><p>编辑队列消息时,按 <code>Esc</code> 放弃未保存的修改并退出当前编辑,不停止运行。</p><p>点击队列项的“执行”(英文为 <strong>Steer</strong>)时,Node 重新判断实际运行状态:工作期间按温和的新增信息(steer)优先投递,空闲时普通发送。使用最新保存的正文,已有 steer 不重复包装;页面仍只显示正文和资源信息。自动按队列顺序执行不会因此变为 steer,目标激活和内部续作等特殊输入保留原语义。</p><p><a id="输入预测prompt-tab"></a></p><h2 id="输入预测-prompt-tab" tabindex="-1">输入预测 Prompt Tab <a class="header-anchor" href="#输入预测-prompt-tab" aria-label="Permalink to "输入预测 Prompt Tab""></a></h2><p>Prompt Tab 是手动触发操作,Composer Prediction(输入预测)用于根据当前会话和草稿意图生成完整指令,也支持空草稿下的自动预测。输入框下方状态条显示待触发、生成中或预测已就绪,并提供对应快捷键和操作;生成中显示动效,遵循系统减少动画设置。</p><p>管理员先在 <strong>管理 → MAR Agent 模型 → 高级 → Prompt Tab</strong> 配置模型和思考强度。全局能力默认开启,但未配置模型不会调用,也不会回退到会话主模型。在 <strong>设置 → 外观(Appearance)</strong> 开启“输入预测”;没有已保存偏好时默认开启,仅支持工作模式;已保存的关闭选择仍保持关闭。下拉框只有“关闭 / 开启”,选择立即生效并保存在当前浏览器;不上传或跨浏览器同步此偏好。</p><p>输入框获焦、浏览器处于前台时,快速按两次 <code>Tab</code>(约 300ms 内)请求,也可点击“生成”。空输入框在 placeholder 显示下一条消息建议;已有草稿时将草稿作为意图提示,灰字预览完整的新指令,采用前不修改原文。按 <code>Tab</code> 或点击“采用”整体替换草稿,之后仍需自行发送;可用原生撤销快捷键恢复原稿。选区和光标位置不影响生成;输入法组字和已打开的 Composer 菜单不触发预测。</p><p>生成中单按 <code>Tab</code> 即可取消;<code>Esc</code> 取消当前预测,不停止 Agent。已有候选旁有“取消”按钮;编辑正文或主动取消会清除候选,离开输入区域、窗口失焦或切回页面不会自动清空候选。候选到期、切换资源或权限失效时仍会清除。输入框始终拦截普通 <code>Tab</code>,即使未启用或暂不支持预测也不会丢失焦点,<code>Shift+Tab</code> 保持原行为。</p><p>草稿为空、浏览器页面可见且获焦、Node 支持自动预测时,当前会话按以下规则生成:</p><ul><li>进入当前会话:停留约 1 秒后自动检查,无需输入框聚焦,执行中和已结束均可。快速切走取消本次检查;历史仍在加载时,就绪后检查,不再额外等待完整的 1 秒。</li><li>新的 Agent 公开回复:收到回复时输入框已聚焦,发起前仍需聚焦;失焦收到的回复不会伪装成之后的新回复事件。</li><li>当前轮次结束:无需输入框聚焦。页面在后台时不请求,已收到的结束事件可在返回前台后处理。</li><li>输入框从失焦变为聚焦:执行中和已结束均检查;已有覆盖最新上下文的有效候选或在途请求时复用。</li></ul><p>重叠信号合并并限频,持续消息不重置进入会话的等待。每次进入只做一次检查,不同会话不继承上一会话的请求冷却。生成中遇到符合条件的新上下文,完成后至多补一次刷新,不并发打断;刷新期间保留仍有效的旧候选,新结果就绪后替换,不改动草稿或抢焦点。新回复或轮次结束不会因已有旧候选而跳过。历史加载只建立基线,不重放旧事件;先聚焦、后加载完成不会丢失进入检查。开始下一轮撤销上一轮尚未发出的结束事件,不取消当前会话的停留或聚焦检查。手动生成、编辑和取消清除本次待处理自动意图,取消按钮回焦不会立即重试;后续符合条件的新事件仍可触发。停留延迟指开始生成的时机,不保证届时已有候选。</p><p>工作模式的四种 Agent 共用此能力;托管对话不支持输入预测。Agent 执行中也可以手动请求,不必等待完成。请求会将草稿、当前对话、有界执行快照及获授权的工作区历史用户消息发送给配置的预测模型;历史参考不按作者筛选。Node 使用有界内存缓存,参考刷新不会调用模型;实际模型消耗计入发起用户的输入预测用量。请在采用前检查建议,不要把建议当成已完成工作的事实。</p><p>各 Node 在自身数据目录的 <code>prompt-completion/</code> 保存按 UTC 日期分片的本地分析记录,包含输入草稿、有界上下文、预测输出、状态及耗时;最多保留当天及前六天。不上传 Server,也不写入会话历史。这些文件可能包含敏感正文,请按私有数据管理。</p><p>候选以你向 Agent 发消息的角度表达请求、问题或调整重点,而不是 Agent 汇报自己的计划。手动“生成”会要求一条非空候选,空草稿或任务已完成也会生成;后续不明确时优先给出相关的只读核验或澄清问题。自动预测仍可不提供建议。每次预测只进行一次生成调用,用户视角与任务语义由提示词引导,不追加独立模型复审或代码语义过滤。Node 仅校验输出结构、完整性及有界长度和字符。手动输出不符合结果契约或不完整时会明确报生成失败,不用固定文案伪造候选。采用前仍需自行确认候选内容。</p><p>每次触发都会生成新的预测,不复用上一次候选。Node 缓存的是已加载的参考会话,刷新周期到期后在使用时更新,避免每次重新加载。生成期间,对话消息、Goal、队列或运行状态变化不会打断预测;下一次请求使用新状态。</p><p>支持该上下文能力的 Node 会参考本页最近三分钟查看的文件和 Diff,以及已有 Goal、待办/待答和队列状态。文件片段由 Node 复核权限及版本;无法确认的内容省略,Diff 仅作为浏览元数据。浏览不是修改授权。运行中侧重干预建议,完成后侧重下一步,未知状态不当作已完成。</p><p>自动预测无合适候选或请求失败时静默恢复待触发状态,不弹通知、不显示无候选提示,也不自动重试。手动生成保留明确反馈;Node 意外返回空结果时,“暂无合适的预测”仅短暂显示。</p><p>若入口不可用,检查个人开关、Node 兼容性和能力、模型/凭据及资源权限。配置位置和权限说明见 <a href="./../runners/mar-agent">MAR Agent</a>。</p><h2 id="目标" tabindex="-1">目标 <a class="header-anchor" href="#目标" aria-label="Permalink to "目标""></a></h2><h3 id="启动前须知" tabindex="-1">启动前须知 <a class="header-anchor" href="#启动前须知" aria-label="Permalink to "启动前须知""></a></h3><p>目标模式支持 MAR Agent、Codex、Claude Code 和 OpenCode 跨轮持续执行,自动续作不限制轮数。进入、更新或退出目标模式保留普通待发消息及其顺序;单纯切换状态不恢复暂停队列,实际发送、停止与恢复仍按普通投递规则处理。<strong>MAR Agent 保留当前 Auto / 完全访问档位;其他 Agent 切换到各自免确认权限,结束或移除目标后不会自动恢复。</strong> 请先确认目标、目录和权限边界,完成后在 Composer 手动改回需要的权限。</p><p><code>/goal</code> 采用 MAR 兼容语义,由 Node 为四种 Agent 统一管理,不等同于 Codex 原生 Goal。裸命令进入待输入状态,<code>/goal <目标></code> 设置或编辑目标,<code>/goal --clear</code> 移除目标,不提供原生 Goal 的暂停、恢复或预算控制;当前受管 Codex 执行中新建并完成的原生 Goal 也会结束此目标。</p><table tabindex="0"><thead><tr><th>Agent</th><th>目标模式使用的权限</th></tr></thead><tbody><tr><td>MAR Agent</td><td>保留当前档位</td></tr><tr><td>Codex</td><td>完全访问</td></tr><tr><td>Claude Code</td><td>跳过权限确认</td></tr><tr><td>OpenCode</td><td>自动批准</td></tr></tbody></table><h3 id="启动与查看" tabindex="-1">启动与查看 <a class="header-anchor" href="#启动与查看" aria-label="Permalink to "启动与查看""></a></h3><ol><li>执行 <code>/goal</code>,输入区出现待输入的“目标”标签。</li><li>发送下一条消息作为任务目标。启动后标签隐藏,队列区域显示“目标”标题和目标行;再次执行 <code>/goal</code> 只提示已处于该模式。</li><li>悬停或聚焦可查看过长目标的完整提示;选择“查看”打开完整目标、已执行轮次数和目标修订。</li></ol><p>首次执行或更新目标后的重新启动会在会话中显示 <code>Goal Start</code>,紧接下一行显示当次完整任务目标;自动续作仅显示 <code>Goal Continue</code>,不重复目标。续作或等待失败重试期间处理时长继续累计。 目标从首次启动起累计墙钟耗时,编辑目标不重新计时;该耗时包含等待和重试,不等于模型或工具的实际执行时间。Agent 主动完成或最终阻塞时会取得截至状态更新时的耗时,并应在当前轮总结工作结果、验证和遗留问题;后续总结回复和运行收尾不计入这次统计。Agent 执行失败、目标因此自动阻塞时可能无法继续生成总结。</p><h3 id="干预、更新与退出" tabindex="-1">干预、更新与退出 <a class="header-anchor" href="#干预、更新与退出" aria-label="Permalink to "干预、更新与退出""></a></h3><table tabindex="0"><thead><tr><th>操作</th><th>影响</th></tr></thead><tbody><tr><td>Enter/发送按钮</td><td>将消息加入队尾,目标结束且当前轮收尾后才按顺序执行,不提前修正目标</td></tr><tr><td>Ctrl+Enter</td><td>停止当前执行后优先发送,保留其他排队消息、不替换目标</td></tr><tr><td>编辑 → 更新</td><td>修改目标,停止当前轮次并立即按新目标开始;“取消”或 <code>Esc</code> 放弃编辑</td></tr><tr><td>移除</td><td>退出目标模式并停止自动续作,<strong>不会停止当前正在执行的轮次</strong></td></tr><tr><td>停止运行</td><td>中断当前运行并同时移除目标,无需再次执行“移除”</td></tr></tbody></table><p>普通排队消息不会插入目标的自动续作、续作准备或失败重试间隙。目标完成、最终阻塞或被移除后,等待当前轮收尾,再执行普通队列;主动停止仍会暂停队列。需要立即干预时,使用 <code>Ctrl+Enter</code> 或队列项的“立即执行”,其他普通排队消息继续等待目标结束。</p><p>目标完成、连续三轮正常结束但没有工具活动,或最终阻塞后会自动退出。连续空转按完成收口并停止续作,但这不保证目标已实际达成;请根据 Agent 的结果核实。普通 Workspace 中,MAR Agent 的目标可随<a href="./sessions#正常停止后的自动续作">正常停止交接</a>恢复,保留原目标、计时与轮次;其他 Agent、托管对话和异常退出不支持此恢复。不要将页面关闭、移除目标或重启后的空闲状态理解为目标已完成。 移除或停止运行成功时,界面根据 Node 返回的结果显示状态、截至操作确认时的累计耗时及已开始轮次;这些操作不会额外启动 Agent 来生成总结。尚未输入目标时没有可统计的耗时。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to "失败排查""></a></h2><ul><li>发送按钮禁用:检查是否处于只读外部会话、Node 离线或保存的模型配置已经不可用。</li><li>出现 <code>SESSION_INVALID</code>:刷新会话后重新选择当前有效模型/配置;若持续出现,参阅<a href="./../runners/runner-troubleshooting">Agent 排障</a>。</li></ul><p>下一步:<a href="./context-and-plan">上下文用量、Compact 与 Plan</a>。</p><h2 id="发送前检查" tabindex="-1">发送前检查 <a class="header-anchor" href="#发送前检查" aria-label="Permalink to "发送前检查""></a></h2><ul><li>确认模型、权限档位符合本次任务;权限越高不等于一定更适合。</li><li>检查 <code>@</code> 引用和附件是否只包含需要的材料。</li><li>长任务在运行中应使用队列或停止后优先发送,避免重复消息启动多个相同任务。</li></ul><h2 id="移动端插入消息" tabindex="-1">移动端插入消息 <a class="header-anchor" href="#移动端插入消息" aria-label="Permalink to "移动端插入消息""></a></h2><p>从发送按钮向上滑,在 Composer 内松手即可提交:新会话和空闲会话正常发送,运行中则显示“松手插入消息”并插入当前消息。只有滑过 Composer 顶部才显示“松手取消”,滑回输入区可恢复发送;取消距离随输入区实际高度变化,不是固定的滑动距离。轻点、按住未上滑或滑回按下位置后松手,仍沿用普通发送与运行中排队的行为。松手前不会发送,触摸按钮不会主动移走输入框焦点;取消、切换工作区或会话、发送条件失效时保留草稿。运行中插入消息复用桌面 <code>Ctrl+Enter</code> 的投递语义,不保证所有 Agent 都无中断执行。也可先普通发送到队列,再通过队列项的“执行”入口插入。</p>',50)])])}const m=t(r,[["render",l]]);export{g as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d('<h1 id="从模板新建对话" tabindex="-1">从模板新建对话 <a class="header-anchor" href="#从模板新建对话" aria-label="Permalink to "从模板新建对话""></a></h1><p>“对话”模式用于从管理员发布并授权给你的模板创建和继续对话。每个对话由目标 Linux Node 托管,使用独立持久存储和 Bubblewrap 隔离环境;每次运行会获得不含宿主或会话存储内容的临时虚拟 HOME。模板提供完整只读 Workspace 镜像,并决定模型、MCP、网络模式与容量上限。</p><h2 id="新建步骤" tabindex="-1">新建步骤 <a class="header-anchor" href="#新建步骤" aria-label="Permalink to "新建步骤""></a></h2><ol><li>打开主菜单“对话”,进入“对话”模式。该入口始终显示,不要求先选择或获得任何 Node/Workspace 使用权。</li><li>如果当前正在查看已有对话,选择历史栏搜索框下方的“新建对话”进入中间的临时启动区;页面不会打开弹窗。</li><li>在 Composer 底部工具栏选择已发布并授权给你当前组织或其祖先组织的模板。模板授权已经足够用于创建和继续你自己的托管对话,不会同时授予承载 Node、源 Workspace、文件或终端权限。管理员选择根组织授权时,该模板对企业内所有用户可用。当前浏览器会记住你最近一次选择的模板,并在它仍位于当前目录时默认选中。</li><li>没有可恢复的最近选择且只有一个模板时,页面可以预选该模板,但仍不会自动创建。核对模板名称后,输入消息或添加附件并明确发送,系统会先创建对话,再上传草稿附件并发送首条消息。</li><li>创建响应中断时可直接重试;只要没有切换模板或重新加载目录,系统会按同一次创建意图处理,避免重复创建。</li></ol><p>创建时会绑定当时可用的模板版本。管理员之后编辑草稿不会影响已有对话;发布新版本也不会立即切换。每次新 Run 开始前,Node 会查询并完整校验当时最新的可用版本,以该版本启动 Run;只有 Run 成功启动且消息被接受后才原子切换。停用、归档或删除模板不会改写已有对话的模板名称快照和最后已生效版本。</p><h2 id="切换已有对话的模板" tabindex="-1">切换已有对话的模板 <a class="header-anchor" href="#切换已有对话的模板" aria-label="Permalink to "切换已有对话的模板""></a></h2><p>对话空闲时,点击输入区的模板名称,选择同一个 Node 上其他已发布且授权给你的模板,并确认切换。新模板从下一轮运行生效;历史、上传、输出文件及未发送草稿保留,新模板可以继续读取原对话内容。模板自带的文件、指令、MCP 和网络配置会随之更换,旧回复引用的模板文件路径可能不再有效。</p><p>当前模型仍被新模板允许时继续使用,否则改用新模板允许的默认模型。模板容量不足、没有可用模型或请求明确失败时保留原绑定。运行、发送、上传、回退或其他互斥写入期间不能切换;确认成功后需等待实时状态重新就绪再继续操作。响应中断时不要重复提交,先等待页面刷新确认结果。</p><p>只能切换同 Node 模板,不迁移对话到其他主机;这不会修改新建对话的最近模板偏好。同一模板的版本更新仍遵循每次新 Run 的自动升级规则,重复选择当前模板不会强制升级。</p><h2 id="使用三栏工作面" tabindex="-1">使用三栏工作面 <a class="header-anchor" href="#使用三栏工作面" aria-label="Permalink to "使用三栏工作面""></a></h2><p>打开已有对话后,页面分为三个区域:</p><ul><li><strong>对话历史:</strong> 不需要选择 Node。Server 从支持托管的有效 Node 中读取当前账号自己拥有的对话;承载 Node 不需要出现在你的普通资源目录。置顶对话优先,其余对话按最后活动时间倒序。搜索只匹配标题,每条记录显示标题和一行最后互动时间。对话正在运行时显示绿色状态点,启动或停止中显示中性状态点,空闲时不显示。存在未读终态通知时显示未读标记,打开该对话会清除它的全部未读。滚动接近列表底部会沿统一目录自动追加,底部圆环表示正在读取;失败时保留已有对话并暂停自动追加,可在底部选择“重试”。标题搜索只筛选已加载的对话,输入筛选条件后暂停自动追加,清空筛选后继续;没有匹配项不表示整个目录都没有结果。离线、能力或版本无效、请求失败或返回格式无效的 Node 会被静默跳过;没有任何有效结果时显示普通空目录,页面不逐 Node 展示失败或部分结果。</li><li><strong>主对话:</strong> 展示 Node 返回的权威历史和实时消息。输入区固定使用 MAR Agent Full Access,但不显示不可修改的 Agent 或权限项;只提供模型、附件、发送和停止。思考强度使用模型默认,不支持选择 Agent、权限模式、Slash 命令、Skill 或工作区文件引用。</li><li><strong>相关文件:</strong> 只展示 Node 投影的 <code>inbox/</code> 上传和 <code>output/</code> 文件。Agent 回复中的普通路径或自然语言文本不会自动变成文件;显式 Markdown 文件链接只有在指向 <code>/workspace/inbox</code>、<code>/workspace/output</code>,或能唯一命中当前相关文件时才可打开。可把多个文件直接拖放到该区域,或点击上传区选择文件;点击文件行或有效消息链接会打开与普通 Workbench 相同的统一只读文件预览,并提供下载。文本超过 512 KiB 时只显示首段;图片、PDF、音视频和支持的 Office 文件通过受控内容流预览,并可使用同一文件的下载入口。</li></ul><p>与普通工作台一样,Agent 可在回复中用 Markdown 图片语法直接展示图片,例如 <code></code>。本地图片必须是当前对话的相关文件;点击缩略图可放大预览。</p><p>桌面端的对话历史使用与其他页面相同的左侧菜单区域。点击顶部“收起”会同时收起品牌区和对话历史,主对话自动向左补位;点击“展开”会恢复对话历史。相关文件栏始终位于主对话右侧。</p><p>创建前,相关文件栏只显示说明,不提供没有对话目标的上传入口;开始发送首条消息并完成创建后,上传区和文件列表会在原位置启用。</p><p>移动端不显示全局“展开/收起”控件和三段标签。再次点击顶部“对话”打开历史抽屉;主对话右上角的“文件”按钮打开相关文件抽屉。选择对话或点击抽屉外遮罩会关闭对应抽屉。</p><h2 id="发送消息与附件" tabindex="-1">发送消息与附件 <a class="header-anchor" href="#发送消息与附件" aria-label="Permalink to "发送消息与附件""></a></h2><ol><li>在主对话输入消息,可按 Enter 发送、Shift+Enter 换行。</li><li>根据模板允许的上游模型范围选择当前账号可用的具体模型配置。当前配置不可见时,Node 会优先回退到模板默认上游模型的可用配置,再回退到模板允许顺序中的首个可用配置;没有交集时本次操作失败。更新失败时页面保留 Node 已确认的原配置。</li><li>使用回形针添加附件。每条消息最多 32 个附件;文件先上传到当前对话,完成后才会随消息发送。将本地文件拖放到主对话输入区时,先在确认框中选择上传;回形针选择和剪贴板粘贴会直接开始上传。</li><li>上传失败时可在附件行重试或移除。重试会建立新的上传请求,不会继续复用已取消的临时上传。同名文件会自动按扩展名前的递增后缀保存,例如 <code>image.png</code>、<code>image (1).png</code>;附件行会显示 Node 最终分配的名称。</li><li>有任务正在进行时仍可编辑输入内容,并提供“停止”按钮。输入框获得焦点时,按 <code>Esc</code> 可停止当前任务;任务正在停止或消息发送中时不会重复发出停止请求。支持该能力的节点上,桌面端按 <code>Ctrl+Enter</code> 可插入当前输入消息:MAR Agent 可原生接收时,消息会立即回显,在完整回复及工具批次之后生效,不截断模型生成;受管等待可提前返回,后台任务继续,其他工具仍正常完成;目标尚未就绪或显式切换模型等配置时,仍按原流程停止后发送。补充正文会标识为工作期间收到的新增信息;空闲时按普通消息发送。包装说明不会显示在对话中。普通 Enter 不会把托管对话消息加入队列。移动端输入内容后会在“停止”旁显示“插入消息”按钮:轻点可插入,也可从按钮上滑,在 Composer 内松手插入;越过输入区顶部才取消,滑回恢复插入。取消保留草稿,托管对话不建立普通消息队列;任务正在停止时仍需等待结束后再发送。相关文件区域的直接上传和删除不因此整体禁用。</li></ol><p>移动端新建和空闲对话同样支持从“发送”按钮上滑,在 Composer 内松手正常发送;只有越过输入区顶部才取消,滑回可恢复发送。轻点或按住未上滑,仍沿用按钮原有发送行为。按住期间不会提交,取消保留草稿,按钮触摸不主动移走输入框焦点。</p><p>如果发送请求返回明确错误,可修正内容后重试;如果网络中断且结果未知,页面会保留同一次发送意图,避免重复执行。</p><p>消息顶部的历史加载、失败重试与运行耗时遵循<a href="./sessions#阅读与运行反馈">会话阅读说明</a>。发送中附加在发送操作旁,不替换正在进行的运行状态;连接提示复用页面连接状态,不代表 Agent 失败或重新执行。</p><h2 id="回滚对话历史" tabindex="-1">回滚对话历史 <a class="header-anchor" href="#回滚对话历史" aria-label="Permalink to "回滚对话历史""></a></h2><p>运行中补充的 steer 消息有独立的回滚位置:回滚该消息会保留它收到之前的普通消息和执行记录,不会因它们属于同一轮而一起删除。</p><p>承载 Node 支持托管对话 Rollback 时,终态用户消息旁会显示“回滚对话”按钮;托管对话不提供 Rewind 分支按钮。确认后,系统会在当前对话的原 Session 内永久删除该用户消息及其后的历史,并把该消息文本回填到输入框,便于修改后重新发送。</p><p>Rollback 不会修改或删除 <code>inbox/</code>、<code>output/</code> 和“相关文件”中的内容,也不会创建新对话或新 Session。运行正在启动、执行或结算时不能回滚;边界已经变化或请求失败时页面保持原历史和草稿并显示实际错误。</p><h2 id="管理相关文件" tabindex="-1">管理相关文件 <a class="header-anchor" href="#管理相关文件" aria-label="Permalink to "管理相关文件""></a></h2><ol><li>把一个或多个文件拖放到右侧“相关文件”上传区,或点击上传区后从系统文件选择器中选择一个或多个文件。文件会依次上传到当前对话的 <code>inbox/</code>,单个文件失败不会阻止后续文件继续上传。</li><li>这种直接上传只更新相关文件列表,不会把文件自动加入 Composer,也不会附加到下一条消息。需要随消息发送时,仍使用回形针选择附件。</li><li>点击文件行,或点击 Agent 消息中能够命中当前权威文件列表的显式文件链接,可在统一文件预览中查看、定位文本行、下载并关闭。未知路径、歧义路径和普通文本不会触发文件读取。</li><li><code>inbox/</code> 中的用户上传和 <code>output/</code> 中的 Agent 输出都可以通过文件行的删除按钮手动删除。确认后,页面使用 Node 返回的完整权威列表刷新相关文件;删除当前预览文件时预览会关闭。</li><li>删除可与活动 Run 中的 Agent 文件写入同时发生。先完成的操作生效;如果目标已被删除、替换或改变,后到操作会显示文件不存在或冲突提示,可根据刷新后的文件列表重试。</li></ol><p>Agent 会把 <code>output/</code> 作为当前有效交付集合,而不是按每次 Run 追加历史。同一份文档或产物需要继续修改时,会优先保持原文件名和路径直接编辑,不连续生成 <code>v2</code>、日期或 <code>final</code> 后缀副本。只有旧版本确有回退价值或你明确要求保留历史时,才会归档到 <code>output/bak/</code>;小修改不会自动产生备份。当前交付实际使用的图片等资源会放在 <code>output/assets/</code> 等有意义的子目录,探索性或可丢弃文件留在 <code>/tmp</code>。Agent 只会移除自己在当前工作中生成且确认无用的文件,不会以整理为由删除用户上传或无关既有文件。</p><h2 id="自动维护当前对话要求" tabindex="-1">自动维护当前对话要求 <a class="header-anchor" href="#自动维护当前对话要求" aria-label="Permalink to "自动维护当前对话要求""></a></h2><p>Agent 会自动识别你直接或间接表达的、对当前托管对话后续工作仍然适用的要求,不要求必须使用“记住”一词。例如“后续报告都用中文”“文件继续修改原版本”“每次交付前检查链接”都会被视为持续要求。Agent 会先读取已有 <code>/workspace/inbox/AGENTS.md</code>,再把要求整理为精炼的当前规则:保留无关内容、避免重复,并用较新的要求替换或删除冲突、取消或过期规则;后续 Run 开始时会再次读取该文件。</p><p>适合保存的内容包括固定交付格式、术语、命名规范、质量检查、沟通偏好和重复使用的工作流程。只适用于当前任务的一次性要求、你引用或要求分析的第三方文本、Agent 自行推断的偏好、密码或 Token 等秘密,以及试图预先授权后续删除、提交、推送、发布等外部副作用的内容不会自动保存。<code>inbox/AGENTS.md</code> 属于当前对话而不是模板,会显示在相关文件中、计入持久配额,并可由你预览、下载、手动修改或删除。Conversation 历史 Rollback 不会回滚该文件。</p><p>如果要求应适用于该模板的所有用户和对话,请联系模板管理员修改来源 Workspace 的 <code>AGENTS.template.md</code>,测试草稿并发布新版本。托管对话中的 Agent 只能读取当前不可变模板快照,不能直接修改可复用模板。</p><h2 id="工作区与网络" tabindex="-1">工作区与网络 <a class="header-anchor" href="#工作区与网络" aria-label="Permalink to "工作区与网络""></a></h2><ul><li>Agent 的逻辑工作区固定为 <code>/workspace</code>。为兼容依赖原始绝对路径的脚本,发布时记录的来源 Workspace 规范绝对路径也会作为别名挂载。两处路径指向同一个当前版本快照,不会暴露可写的来源 Workspace。</li><li>模板文件、空目录、根 <code>AGENTS.md</code>、<code>.agents/skills/</code> 和发布时允许的符号链接均来自当前版本并保持只读。</li><li><code>/workspace/inbox</code> 与 <code>/workspace/output</code> 是可写覆盖层;原始路径别名下的同名目录指向相同覆盖层。附件和当前对话的 <code>AGENTS.md</code> 进入 <code>inbox/</code>;当前有效的最终结果和资源写入 <code>output/</code>,有保留价值的旧版本可进入 <code>output/bak/</code>。</li><li><code>/tmp</code> 是当前 Conversation 的临时工作目录,同一对话的后续 Run 可以复用,但宿主系统可能随时清理。其内容不显示在相关文件中,也不计入持久配额;<code>/workspace/output/tmp</code> 没有特殊生命周期或特殊语义。</li><li>Node 会向 Agent 注入不可编辑的托管说明,明确真实目录权限和网络能力;模板中的 Workspace 指令仍会加载,但不能扩大 Host 强制边界。</li><li>“无网络”禁止沙箱进程联网、Web 和远程 HTTP MCP;“不受限”允许沙箱进程、Web 能力和模板版本中已发布的远程 HTTP MCP 访问 Node 可达网络。本地 stdio MCP 在两种模式下都可启动,但在“无网络”模式下不能联网。</li></ul><h2 id="实时状态与可用性提示" tabindex="-1">实时状态与可用性提示 <a class="header-anchor" href="#实时状态与可用性提示" aria-label="Permalink to "实时状态与可用性提示""></a></h2><p>对话页面复用当前页面唯一的 Workbench WebSocket,并且一次只订阅当前对话。切换对话、离开页面或浏览器连接重建时,旧订阅会释放;重新连接后从 Node 获取新的权威快照,不根据缺失事件猜测 Run 结果。</p><p>首条消息创建成功但连接尚未恢复时,草稿和附件会保留,恢复后需要你再次发送,不会自动重发。创建或上传期间切换历史不会撤销已经提交的操作,也不会跳回旧对话;在当前页面点击“新建对话”可继续原草稿。离开整个页面不等于取消已提交的操作,重新进入后可在历史中查看已创建的对话。</p><p>Run 成功、失败或发生非预期中断后,通知中心会保留该托管对话通知 24 小时。用户主动选择“停止”,或删除对话时由 Node 取消运行,不生成终态通知。点击通知会切换到“对话”模式并打开对应对话;托管对话不会出现在“最近会话”列表。</p><p>以下情况页面会给出行动提示:</p><ul><li>承载服务暂不可达或实时订阅失败:已加载内容仍可查看。已建立的订阅会对可恢复故障有限自动重试,正文显示重载圆环,恢复前禁止写入;初次加载失败或恢复停止后,在正文点击“加载失败,点击重试”。同一错误不再重复弹出消息,错误码、详情和请求标识可在重试入口的补充提示中查看。</li><li>模板自动升级失败:当前发送失败,但旧版本、历史和可写状态保持不变;下一次发送会重新查询当时最新的可用版本并再次尝试升级。</li><li>相关文件同步失败:消息历史仍可查看;稍后重新打开对话,持续发生时联系管理员。</li></ul><h2 id="标题、置顶与删除" tabindex="-1">标题、置顶与删除 <a class="header-anchor" href="#标题、置顶与删除" aria-label="Permalink to "标题、置顶与删除""></a></h2><p>新建面板和刚创建的对话最初都显示当前界面语言的“新建对话”,不会使用模板名称作为标题;切换界面语言时,这个默认标题会同步更新。首条非空消息被接受后,页面立即用该消息作为临时标题;如果首条发送只有附件,则继续显示默认标题。MAR Agent 完成首轮自动标题后会更新历史目录和顶栏。打开历史记录右侧的“…”菜单可以手动编辑标题;自动标题和手动标题保持原文,不随界面语言翻译,且手动标题优先,不会再被迟到的自动标题覆盖。编辑标题或切换置顶不会改变最后互动时间;置顶项始终显示在普通项之前。</p><p>选择“删除”时,确认框会明确说明该操作不可恢复。确认后 Node 会停止该对话仍在进行的运行和上传,永久删除历史、相关文件与托管目录。删除当前对话时,页面会清空选择并进入新建面板;删除其他历史记录时,当前对话和实时订阅保持不变。两种情况都会刷新历史目录。删除不是模板归档,也不存在恢复期或恢复入口。</p><h2 id="可用性说明" tabindex="-1">可用性说明 <a class="header-anchor" href="#可用性说明" aria-label="Permalink to "可用性说明""></a></h2><ul><li>承载 Node 文件系统使用率达到 95% 时,只禁止新建对话;已有对话仍可打开、运行、上传、导出或删除。</li><li>模板未发布、已停用、已归档、已删除或授权被撤销后,不会继续出现在你的新建目录中。</li><li>模板授权不会让承载 Node 或源 Workspace 出现在“工作”资源目录;如果还需要普通文件、终端或 Workspace 操作,必须由管理员另行授予对应资源权限。</li><li>页面只在当前浏览器保存最近选择的模板 ID,不保存模板详情;该模板不再可用时会安全忽略。打开页面、刷新或只剩一个模板时都不会静默创建;历史栏“新建对话”只打开中间临时新建面板。</li></ul><p><strong>成功标志:</strong> 页面显示新对话标题和首条消息,相关文件栏可以使用。</p><p>如果没有可选模板,请联系管理员检查模板发布和模板授权。创建时若提示承载服务、版本、隔离能力或存储容量不可用,请由管理员检查对应 Node。管理员可参阅<a href="./../administration/conversation-templates">管理对话模板</a>。</p>',47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o,o as r,c as a,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"工作模式、Node 与 Workspace","description":"","frontmatter":{"title":"工作模式、Node 与 Workspace","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/navigation.md","filePath":"workbench/navigation.md"}'),d={name:"workbench/navigation.md"};function c(n,e,i,p,s,l){return r(),a("div",null,[...e[0]||(e[0]=[t('<h1 id="工作模式、node-与-workspace" tabindex="-1">工作模式、Node 与 Workspace <a class="header-anchor" href="#工作模式、node-与-workspace" aria-label="Permalink to "工作模式、Node 与 Workspace""></a></h1><p>控制台提供并列的“工作”和“对话”两种模式。“工作”是原“节点”顶级菜单的新名称,仍打开同一棵 Node → Workspace 资源树;Node 管理、Workspace 标签、Agent 会话、文件、Git 和终端功能都没有变化。“对话”模式用于从已发布模板直接创建和继续对话。</p><p>本页说明如何在“工作”模式中切换工作目录,并且不影响运行中的会话。</p><p>主导航中“对话”后的“会话与通知”图标统一打开最近会话和通知:右上数字是未读通知数,右下状态点表示有普通会话任务处于活动状态。两者独立显示,不再保留右上角铃铛。配色、保留范围和排序见<a href="./conversation">会话阅读说明</a>。</p><p>点击图标或使用 <code>Ctrl/Cmd+Shift+E</code> 打开最近会话/通知自定义面板。再次点击图标、使用同一快捷键、点击外部或按 <code>Esc</code> 关闭。桌面和移动端均不响应悬停开合,移出图标或面板也不会自动关闭。每次打开时,有未读通知默认显示“通知”,否则显示“最近会话”;展开后由你选择页面,不叠加入口文字提示。</p><p>桌面端点击左下角的信息图标可查看或收起当前页面的 Web 性能诊断;悬停不会打开。点击面板外也可关闭,面板内可复制详细诊断信息。</p><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to "前置条件""></a></h2><p>已登录且至少有一个可见 Node。节点离线时仍可激活已打开的工作区标签,但文件、会话和终端等实时操作不可用。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to "步骤""></a></h2><ol><li>打开主菜单“工作”,在左侧资源树展开在线 Node,选择一个已登记 Workspace。</li><li>Workspace 在顶部以标签页打开;再次选择其他 Workspace 会创建或激活相应标签。</li><li>每个工作区标签都独立保留会话列表、文件树和阅读位置;所有工作区使用同一切换流程:立即激活目标标签并恢复缓存,再后台检查最新状态;没有缓存时显示目标加载态,不等待网络才切换。</li><li>使用刷新按钮只在需要重新发现会话或文件时刷新,避免打断阅读位置。</li></ol><p>刷新浏览器后,工作模式会先恢复上次打开的标签及活动工作区。若节点列表暂时无法加载,点击“重试”即可继续;已打开的标签不会因这次失败而关闭。恢复期间仍可切换到其他模式。</p><p>点击工作区标签(包括当前标签、桌面溢出菜单和移动端标签)时,有未读则打开该工作区第一个有效未读会话,优先<a href="./sessions">复用会话已打开的位置</a>;成功打开后只标记该会话已读,其他会话未读保留。没有未读就恢复上次会话,不因其他会话运行而跳转;无历史选择沿用原有空态或草稿。定位时同步主/子分类。打开失败不清除未读;后台状态变化不自动导航,运行点仅提示。资源树、快捷键与关闭标签后的回退行为不变。</p><p>Node 只用于资源树分组和主机管理。点击 Node 名称只展开或收起该组,不改变当前工作区,也不保存独立的“当前 Node”。登记新工作区时选择的是此次登记的目标主机,关闭登记弹窗不会切换现有工作区。</p><p>Aside 提供文件、搜索、Git 变更、Git 历史、终端及 <a href="./browser">Workspace 浏览器</a> 等工作区工具。打开的会话在工具右侧,可以通过标签上的 × 关闭。浏览器在内部管理网页标签。</p><p>聚焦 Aside 标签栏、内容或 Composer 后,也可用 <code>Ctrl+W</code> / <code>Alt+W</code> 关闭当前会话或浏览器,不影响工作区、会话草稿和运行任务;固定工具不会被关闭。按键边界与跨域预览限制见<a href="./../reference/keyboard-shortcuts">键盘快捷键</a>。</p><p>桌面可拖动工作区树右侧和 Aside 左侧的分隔线调整宽度,调整范围受最小、最大宽度及可用空间限制。Aside 的文件等工具使用紧凑宽度,会话、终端和浏览器使用独立的内容宽度;两种偏好分别保存在当前浏览器并在刷新后恢复。首次使用或保存值损坏时采用相应默认宽度。桌面空间不足时工作面上下排列,移动端使用抽屉;这些布局不提供横向调宽,也不会覆盖已保存的桌面偏好。</p><p>右键点击工作区标签,选择“固定”可将其放到固定区末尾。固定标签不显示关闭按钮,而显示固定图标,点击图标或右键选择“取消固定”后回到普通区。固定项之间可以拖动重排;把固定标签拖到普通标签之后会自动取消固定,把普通标签拖入固定区内部会自动固定,放在两区边界则仍为普通标签。固定状态和顺序会在刷新后恢复。桌面空间足够时固定区保持可见,只滚动普通标签;固定项过多、普通区空间不足或使用移动端时整体滚动;桌面可通过“全部已打开工作区”菜单访问溢出项,移动端使用横向滑动。</p><p>右键菜单的“前移”和“后移”每次移动一格,首尾会禁用无效操作,跨区前移或后移也会自动固定或取消固定。打开菜单、固定或调整顺序不会切换当前工作区,也不改变最近使用时间。最多保留 8 个普通标签,超过时按最近最少使用(LRU)淘汰;固定标签不占该配额,也不会被淘汰。取消固定导致超额时保留该标签并淘汰其他最久未使用的普通标签。</p><p><code>Ctrl+W</code> 或 <code>Alt+W</code> 关闭当前普通标签,<code>Ctrl+Shift+W</code> 或 <code>Alt+Shift+W</code> 关闭全部普通标签,macOS 的 Alt 使用 <code>Option</code>;固定标签不会关闭,右键“关闭”在固定状态禁用。关闭快捷键在 Composer 内也生效,其他输入框、编辑器、终端和弹窗仍保留原生行为;连按 <code>Esc</code> 不再关闭工作区。Ctrl 组合需浏览器/PWA 将按键交给页面,若被浏览器拦截请使用 Alt 组合。关闭当前标签后返回最近使用的剩余标签,不受固定状态或显示顺序影响;目标已经失效时继续尝试下一标签,无剩余有效标签时保持未选择工作区;临时网络失败不切回旧标签,用户的新选择不会被迟到响应覆盖。关闭其他标签不切换工作区。关闭标签会清理其缓存并关闭所属终端,但不会注销工作区或停止运行中的 Agent。详见<a href="./../reference/keyboard-shortcuts">快捷键</a>。</p><p><strong>成功标志:</strong> 面包屑、会话列表和右侧文件面板都对应当前标签的 Node 与 Workspace。</p><p>Node 旁的绿点表示可用;工作区标签或会话列表里的绿点表示有任务正在运行,仅在启动或停止时显示中性色状态点。会话树按钮上的绿点表示有运行或休眠的子会话;展开后,休眠项用琥珀色区分。切换 Workspace 不会停止正在运行的 Agent 或关闭终端。</p><p>移动端通过顶部菜单按“工作、对话、管理、设置”切换;“工作”打开 Node → Workspace 资源树,“对话”进入对话模式,再次点击已激活的“对话”可打开历史抽屉。其他面板也会以抽屉形式展开。管理菜单不再提供独立“技能中心”,“技能配置”“技能源管理”“环境密钥”连续排列,“MCP 源管理”仍作为独立管理分区;技能配置页面内可切换 Skill 与 MCP。设置菜单包含“账户安全”“外观”“系统通知”“快捷提示词”“个性化提示词”“快捷键”和“关于”;“个性化提示词”用于为当前账号的后续 Agent 执行提供额外指引,按公共、MAR Agent、Codex、Claude Code、OpenCode 分别保存;MAR Agent 标签在中英文界面中都固定显示为 <code>MAR Agent</code>。执行时自动使用公共内容与当前 Agent 的专属内容,不会修改 Node 或 Workspace 的 <code>AGENTS.md</code>、<code>CLAUDE.md</code>。“外观”默认使用深色配色。<strong>设置 → 外观 → 图标主题</strong> 目前只提供 MAR File Icons;文件图标与界面配色独立,外观偏好只保存在当前浏览器,终端始终保持固定深色配色。“关于”可查看当前 Web 版本、打开文档中心,并按类别查看 Web、Server、Node/MAR Agent、随包工具、图标与可选 Computer Use Runtime 的主要开源组件。这是精选展示,不是完整依赖清单。“查看 Web 第三方许可声明”只覆盖 Web;Server、Node 和可选运行时的许可与声明应查看对应发行包,Node 依赖的 <code>@myagentroam/binaries</code> 包内分别通过 <code>vendor/ripgrep/</code> 与 <code>vendor/ctags/</code> 提供工具材料。外部 Agent、SDK 和单独安装工具仍适用各自条款。系统运行状态和 License 管理位于管理员的“系统信息”。下一步:<a href="./sessions">创建、查找与管理会话</a>。</p><h2 id="常见失败" tabindex="-1">常见失败 <a class="header-anchor" href="#常见失败" aria-label="Permalink to "常见失败""></a></h2><ul><li><p>系统通知未弹出:先在“设置 → 系统通知”主动开启并允许浏览器权限,再检查浏览器的网站通知权限、操作系统通知开关及勿扰模式。HTTP 内网地址通常不可用,请使用 HTTPS。</p></li><li><p>标签打开后内容空白:确认所选 Node 在线,再关闭并重新打开当前 Workspace;不要因此删除 Workspace 登记。</p></li><li><p>标签已切换但加载失败:临时网络错误会留在目标工作区,可重试或切换其他标签;确认工作区不存在或失去访问权限后会清理其内容并按标签规则回退。若目标有缓存却未恢复,请记录工作区及发生时间用于排查,不要删除登记。</p></li><li><p>看不到 Workspace:检查它的归属/共享权限,或请资源管理员确认登记。</p></li></ul><h2 id="主题" tabindex="-1">主题 <a class="header-anchor" href="#主题" aria-label="Permalink to "主题""></a></h2><p>主题仅保存在当前浏览器,不上传、不随账号或设备同步;清理浏览器数据会删除自定义主题,可导出 JSON 文件备份或手动迁移。</p><p>标题、名称、消息正文和输入值使用 <code>--mar-text-primary</code>,时间、说明和占位提示使用 <code>--mar-text-secondary</code>,禁用文字单独使用 <code>--mar-text-disabled</code>。更新旧配色时,如需保留原先单独设置的对话或灰阶文字色,请将所需色值填入相应的新字段。</p><p>升级后,旧版文件图标选择会回退到 MAR File Icons,不影响界面配色或其他偏好。</p><ol><li>打开 <strong>设置 → 主题</strong>。主题选择器通过色块展示内置浅色、默认深色与已保存主题。点击主题仅查看配色,点击 <strong>应用主题</strong> 才切换;内置主题可查看、复制和导出,不可覆盖或删除。</li><li>打开任意主题的更多操作菜单,选择 <strong>复制副本</strong>,将完整配色复制到新草稿;也可 <strong>导入 JSON</strong>。导入不覆盖同名主题,副本和导入草稿均需保存。</li><li>左侧编辑 JSON,右侧通过静态样例紧凑预览列表、消息、代码/Diff、状态提示、输入框和按钮,不代表真实项目内容。可悬停或用 Tab 检查控件状态;点击 <strong>放大预览</strong> 以正常字号查看同一样本。窄屏下预览位于编辑器下方,编辑不改变当前全局主题。</li><li><strong>保存主题</strong>后,可在主题选择器中点击 <strong>应用主题</strong>,也可在 <strong>设置 → 外观 → 主题</strong> 选择启用。应用已保存主题不会替换当前草稿。修改正在使用的主题并保存会立即更新配色。离开页面前请保存草稿。</li><li>支持复制 JSON、格式化和导出。<strong>重置</strong>经确认恢复上次保存的 JSON,或导入/复制时的初始草稿,不会删除主题。从更多操作菜单删除自定义主题时需要确认,删除当前主题后回退默认深色。</li></ol><p>JSON 使用 <code>version: 1</code>、<code>name</code> 和 <code>colors</code>,不再使用 <code>base</code>。<code>colors</code> 是颜色变量到颜色值的映射,例如将 <code>--mar-bg-panel</code> 设为 <code>#ffffff</code>。支持 <code>#RGB</code>、<code>#RGBA</code>、<code>#RRGGBB</code>、<code>#RRGGBBAA</code>;缺少或无效颜色统一使用默认深色主题的对应颜色,保存的原文不强制补齐。点击 JSON 标题旁的问号打开“主题颜色说明”,按分组查看色块和简短用途,支持搜索及复制变量名。深浅主题使用同一套 <code>--mar-*</code> 变量;组件库变量由内部映射。仅当前注册的 <code>--mar-*</code> 颜色字段生效;<code>--el-*</code> 和已移除字段视为未知字段,应用时忽略,不提供旧主题兼容。复制副本会展开完整有效配色,不依赖原主题。</p><p>可读文字分为主文字 <code>--mar-text-primary</code>、次级文字 <code>--mar-text-secondary</code> 和辅助文字 <code>--mar-text-muted</code>。例如资源树、工作区会话和托管对话列表以主文字显示选中名称、以次级文字显示未选中名称,时间和辅助说明使用辅助文字。禁用控件的文字单独配置。</p><p><code>--mar-conversation-activity-fg</code> 设置对话当前阶段圆环和输入框上方状态条的颜色。<code>--mar-conversation-activity-fill</code> 设置发送按钮和通知未读数字角标的实心底色,图标和数字自动选择对比度更高的黑色或白色。如果自定义主题只设置了活动前景色,实心底色沿用该颜色。普通主按钮仍使用 <code>--mar-control-primary-bg</code>、<code>--mar-control-primary-hover</code>、<code>--mar-control-primary-active</code>,并搭配 <code>--mar-control-primary-fg</code>;键盘焦点使用 <code>--mar-control-focus</code>。</p><p>只有 <strong>JSON 语法错误</strong>阻止保存或导出。缺失名称、未知字段或变量、无效颜色及低对比度只提示警告。保存和导出保留未知与无效内容,但应用时忽略;旧 <code>base</code> 字段也仅保留并提示未知字段,不再改变缺色回退规则。不执行任意 CSS、URL 或脚本。对比度检查仅覆盖显式填写的不透明颜色组合,不代表完整的可访问性认证。</p><p>Git History 的分支轨道使用内置分类色,与成功、警告等主题颜色独立;这些设置不会再改变分支分类色。Git 主轨仍可用 <code>--mar-color-git-graph-main</code> 自定义。文件增删等状态继续使用对应的主题状态色。</p><p>主题不改变布局、字体、文件图标主题、终端固定配色或公开帮助。预览是代表性颜色样本,不执行真实工作台操作,也不覆盖终端等不受控区域。</p><h2 id="系统通知" tabindex="-1">系统通知 <a class="header-anchor" href="#系统通知" aria-label="Permalink to "系统通知""></a></h2><p>在“设置 → 系统通知”按本端能力开启,默认关闭,仅对当前浏览器与账号生效;只有主动操作才申请权限。</p><ul><li><strong>PC:失焦系统通知。</strong> 工作台保持连接时,切到其他标签页、终端、IDE 或最小化仍可提醒;关闭全部工作台页面后不接收新通知,PC 不提供离线 Push。</li><li><strong>移动端:离线推送。</strong> 不弹实时失焦系统通知。手机退后台通常会断开连接;只有同账号全部工作台连接离线后,新通知才向已登记移动端推送。PC 即使失焦,只要仍连接就会抑制手机 Push。</li><li><strong>站内通知:</strong> 前台查看其他目标时,在“会话与通知”入口旁显示预览(移动端在顶栏下方),不替换已展开的菜单;正在查看目标时沿既有规则标记已读。后台不展开卡片,刷新、重连和重新聚焦不补弹历史。外部通知开关和权限不影响站内记录。</li></ul><p>新的运行、审批、计划、待回答、定时任务及 Agent 显式消息保留原有适用范围。点击系统通知聚焦或打开控制台,只标记该条已读并定位目标;已删除、过期或无权通知不会导航。上传和 Web 更新仅站内展示,邮件仅按明确请求发送。</p><p>移动 Push 还需要管理员在“管理 → 系统配置”开启默认关闭的“Web Push 推送”,并配置有效 VAPID 联系地址(<code>MAR_WEB_PUSH_SUBJECT</code>,接受 <code>mailto:</code> 或 HTTPS;HTTPS 站点默认沿用公开 Origin)。个人页面分别显示偏好、浏览器权限及订阅状态;“管理员未开启”和“服务器尚未配置”不是浏览器拒绝权限。需要操作时点击“启用 / 重试离线推送”。单端关闭不影响其他端;不会补发在线或关闭期间的历史通知。</p><p><strong>升级后重新启用:</strong> 旧 Push 登记会一次性清理,通知记录、已读与其他用户数据保留。刷新或关闭当前浏览器的全部旧工作台标签页,再在移动端新页面主动启用;准备或取消旧订阅失败时先重试,不要混用旧页面。PC 旧订阅会退役且不再登记。</p><p>Windows、macOS 和 Linux 使用浏览器通知接口,横幅、声音和勿扰行为由系统决定。浏览器通常要求 HTTPS 或受信任 localhost,并提供 Notifications API 与 Service Worker;项目按实际能力和权限判断,不额外禁止 HTTP。移动端还需要可用 Web Push,iOS/iPadOS 请使用支持的主屏幕 Web App 并主动授权。普通 iOS 标签页、断网、省电、浏览器完全退出和系统限制下不承诺送达。实际订阅使用浏览器返回的标准 HTTPS endpoint,不按厂商限定;Server 出站网络隔离由部署策略负责。</p><p>退出或撤销 Session 后相应移动绑定失效;迟到、无法确认绑定的 Push 只显示通用提示,点击仅打开控制台。已出站消息不能保证撤回,厂商接受不等于系统展示。若无横幅,检查网站权限、系统通知设置和勿扰模式;失败不会丢失站内通知。</p><h2 id="用量统计" tabindex="-1">用量统计 <a class="header-anchor" href="#用量统计" aria-label="Permalink to "用量统计""></a></h2><p>打开“设置 → 用量统计”,查看当前账号的 Agent 用量,默认展示“对话请求”中主 Agent 与子 Agent 的 Token 和调用数。顶部“对话请求 / 上下文压缩 / 输入预测”分别为独立统计项,标题生成与其他调用也可单独查看;上下文压缩和输入预测不计入“对话请求”。切换统计项同时更新滚动 24 小时和滚动 7 天(168 小时)概览、图表和明细;顶部当前统计项概览不随下方筛选变化。图表和明细可按时间、Agent、模型、工作/对话模式筛选,时间使用页面标明的浏览器时区。</p><p>将鼠标悬停在趋势柱上,或在触屏上轻点趋势柱,即可查看该时段的起止时间和精确的输入、缓存、输出及总 Token 数。使用键盘时,按 Tab 进入图表,再用左右方向键切换时段。</p><p>自定义日期范围最多 90 天,可以包含未来时间(例如选择完整的当前月),也可以完全位于未来。统计只包含截至本次刷新时已入账的数据,未来部分没有数据。</p><p>模型排行和筛选按 Agent、Provider 和配置身份区分。MAR Agent 即使上游模型 ID 相同,个人、组织及 Fast 等不同配置也分别统计;其他 Agent 使用其原生模型 ID。历史记录缺少配置身份时按已记录的模型回退,不推断配置归属。使用组织配置产生的消耗仍计入发起人的个人用量,不表示使用了个人凭据。</p><p>页面可见时每 60 秒自动刷新,切到后台或离开后暂停;刷新失败会保留已有数据并稍后重试。翻页、排序或展开明细时,概览继续更新,明细保留当前浏览内容;选择“更新明细”或“刷新”可回到最新第一页。明细每次加载 20 条。桌面端使用统一管理分页控件显示真实总记录数和总页数,可直接跳页;移动端滚动接近底部时自动追加,加载失败可在原位重试。桌面列排序作用于当前页,移动端作用于已加载明细。筛选或主动刷新会重置已加载内容。自定义日期范围不会随自动刷新移动。</p><p>输入包含缓存读取和缓存写入部分,输出包含可识别的推理部分;缓存与推理明细不再重复加入总量。各统计项分别记录会话主/子 Agent、上下文压缩、输入预测、标题生成等已观测请求,不互相混算;失败或取消请求仍保留上游已返回的用量,缺失的 Token 字段按 0 记录和展示;总量为输入与输出之和,后续收到用量更新时修订原记录。</p><p>概览、筛选合计、趋势、Agent/模型分布及明细均显示缓存读取量,并在括号内显示命中率(已记录缓存读取 Token ÷ 已记录输入 Token),汇总按 Token 加权,不取各请求百分比的平均值。趋势中的缓存色块是输入的一部分,不额外增加柱高或总量;悬浮提示和展开明细另列缓存写入量。未上报的缓存量显示 0;输入缺失或为零时命中率显示 0%。无调用的时间段也统一显示零。这是已记录用量的统计口径,不代表上游已确认没有消耗。</p><p>Node 会暂存用量并在重连后补传,因此历史图表可能更新;Node 离线不影响查看已入账记录。明细保留最近 90 天,Node 待发送数据最多保留 7 天且受容量限制。统计从功能启用后开始,不导入旧会话或平台外 CLI 历史。外部 Agent 可能无法提供全部请求信息,这些数据不代表供应商账单或剩余额度。用量归属输入发起人而非凭据或 Node 所有人;页面只能查看本人记录。</p>',52)])])}const m=o(d,[["render",c]]);export{h as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as o,o as r,c as a,a3 as t}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"工作模式、Node 与 Workspace","description":"","frontmatter":{"title":"工作模式、Node 与 Workspace","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/navigation.md","filePath":"workbench/navigation.md"}'),d={name:"workbench/navigation.md"};function c(n,e,i,p,s,l){return r(),a("div",null,[...e[0]||(e[0]=[t("",52)])])}const m=o(d,[["render",c]]);export{h as __pageData,m as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as a,o,c as t,a3 as r}from"./chunks/framework.BHjrhdiC.js";const A=JSON.parse('{"title":"创建、查找与管理会话","description":"","frontmatter":{"title":"创建、查找与管理会话","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/sessions.md","filePath":"workbench/sessions.md"}'),n={name:"workbench/sessions.md"};function p(i,e,s,l,d,c){return o(),t("div",null,[...e[0]||(e[0]=[r('<h1 id="创建、查找与管理会话" tabindex="-1">创建、查找与管理会话 <a class="header-anchor" href="#创建、查找与管理会话" aria-label="Permalink to "创建、查找与管理会话""></a></h1><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to "前置条件""></a></h2><p>当前工作区已打开,Node 在线且至少一个 Agent 可用。会话列表只显示当前工作区中当前用户有权查看的 Agent 会话。</p><p>普通工作会话的执行目录必须是所选 Workspace 的有效根目录或其子目录;独立登记的 Git worktree 使用自己的 Workspace。目录被删除、根路径被替换或链接实际越界时,Node 会拒绝新执行,不会自动切换到其他目录。若排队消息因此暂停,先恢复有效目录,再使用队列的“继续”操作;消息与附件会保留,也可按原操作删除或清空队列。此检查不把工作模式变为宿主文件系统沙箱,也不改变托管对话的隔离目录。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to "步骤""></a></h2><p>声明分组能力的 Node 会在会话列表中显示“主会话 / 子会话”,默认打开主会话。有父会话关联的会话归入子会话,无父关联的会话归入主会话。搜索和翻页只作用于当前分类;切换不会关闭当前对话或中断任务。同一页面内会记住各工作区上次选择的分类,刷新后默认主会话;缺少分组能力时保留混合列表。</p><p>分类标签只显示名称和选中态,不显示运行数或未读角标,点击只切换列表、不打开会话;具体会话行继续显示运行和未读。从通知、最近会话列表项或工作区 Tab 打开目标时,会同步正确的主/子分类。</p><p>点击或点按对话标题可以分享、重命名,或查看当前会话的会话树、提示词和定时任务(按会话能力显示)。要选择打开位置、置顶、排序或删除,请使用会话列表的“更多”菜单。标题、列表和会话树节点菜单均可<strong>复制会话 ID</strong>;标题栏不直接显示 ID。点击标题栏右侧的会话树图标,或从标题、列表菜单打开树;悬停不会展开。点击树节点默认在 Aside 打开,也可通过节点菜单在主工作面打开。点击树外部、按 Esc 或使用移动端返回可关闭树。</p><p>树显示直接上级与递归下级,打开期间通过 Workspace 更新运行中、休眠中和空闲状态,同层会话优先显示活跃分支,再按最近活动时间倒序排列,未知时间排在最后。加载时只显示转圈,不遮暗背景。超过 100 个下级会话时,按此顺序选取并保留必要上级,仍最多显示 100 个并提示截断,活动汇总不受截断影响。</p><p>同一会话可以同时在主工作面和 Aside 打开;在一侧打开不会关闭另一侧,重复打开同一位置也不会刷新正文。每个工作区的 Main、Aside 各自保留独立的输入正文、技能标签和引用;同侧切换会话或新建会话不会替换输入,切换工作区后恢复该工作区对应侧的草稿。同一会话在两侧打开时也不共享输入,但仍防止同时重复提交;队列消息的编辑保持绑定原会话。关闭 Aside 会话标签只停止该位置的正文显示,不会结束 Agent 任务、删除会话或关闭主工作面。</p><p>普通工作模式下,关闭工作区仍会保留当前浏览器标签的草稿,以便重新打开时恢复。退出登录或登录身份失效会清除该标签保存的输入草稿与队列编辑内容,避免另一账号恢复它们;重要的未发送内容请先另行保存。这不会删除已经发送或已经排队的消息。</p><p>每个工作区的 Aside 最多保留一个会话标签。打开另一会话会替换原会话标签,保留 Aside 当前输入,不结束原会话任务;文件、终端等工具标签不受影响。</p><p>Agent 操作和来自其他会话的消息收在工作过程内的 <a href="./conversation">Agent 协作</a> 组。组内不提供会话快捷跳转。需要查看目标会话、发送消息或停止运行时,从会话列表或会话树打开,仍遵循普通会话权限。</p><p>Agent 向已结束或正在停止的父、祖父等祖先会话发送消息或设置 Goal 时,操作会返回 <code>AGENT_ANCESTOR_NOT_ACTIVE</code>,不会重新拉起祖先。祖先恢复运行后可以正常发送;用户手动继续会话不受影响。</p><p>展开执行记录可查看已有的命令或代码、输出、工作目录、退出码和状态。每次调用各有一条记录。“复制公开记录”复制该条记录已有的公开信息,内容可能被截断;旧版 Node 提供的详情可能较少。</p><ol><li>工作区没有可恢复的会话时,主区默认显示新建会话草稿,即使列表已有历史会话也不会自动打开第一条。你可以直接输入,或从列表选择已有会话;新会话在首条消息发送成功后才创建。支持分组时,点击“新建会话”或使用新建快捷键会切到主会话分类。之后手动切换分类不会改变 Composer 草稿。</li><li>初次最多加载 30 个会话;滚动接近列表底部时会自动追加最多 30 个历史会话,搜索结果也按此方式继续加载,不会把新会话放到隐藏页。底部圆环表示正在读取;失败会保留已有会话并暂停自动加载,在底部点击“加载失败,点击重试”后继续;重试中只显示圆环。</li><li>在支持该功能的 Node 上,可在会话栏搜索标题。搜索由 Node 重新查询当前 Workspace 的 Agent 原生会话,因此可以找到尚未加载到浏览器的会话;清空搜索恢复普通列表。</li><li>使用会话列表的“更多”菜单重命名、置顶或删除。正在运行的会话隐藏删除入口;确认删除期间若会话开始运行,操作不会提交。重命名和置顶仍可使用。</li><li>由 Agent CLI 或编辑器创建的历史会话被发现后也会出现在列表;首次发送时 Node 自动验证并激活安全的继续路径。</li><li>在会话“更多”菜单选择“定时任务”,填写任务提示词。尚无任务时显示“未配置”,启用开关默认关闭;重复周期和时间只是未保存的表单默认值。需要自动执行时,打开启用开关后保存。简单模式可用时间选择器设置每小时、每日或每周的执行时间;Cron 模式可填写标准五字段表达式,支持数字、范围、列表和步长。任务按 Node 时区执行,无需设置时区。弹窗以昵称或账户名显示通知人;保存后由最后保存的用户执行任务并接收通知。任务通知默认关闭;开启后接收运行完成、跳过和失败提醒,关闭后仅保留最近记录,不发送对应的站内通知、系统通知或离线推送。修改提议仍单独通知。启用任务会自动置顶会话,列表显示时钟。暂停或删除不会自动取消置顶;会话仍置顶时显示图钉,否则不显示标记。弹窗可查看下次执行、最近记录和待确认的修改提议;最近记录每页显示 10 条,可翻页查看,翻页不会覆盖未保存的任务内容。</li></ol><p>Node 重启后的首次会话加载等待 Agent 原生发现结果,各 Agent 的会话可能分批出现;较慢的 Agent 不影响已发现会话的展示。已有自定义标题会在对应会话被发现后保留,不会先把未发现的历史会话显示为“新建会话”。</p><p>仅修改任务提示词、通知设置或保存者,不会推迟已安排的下一次触发。修改时间规则或暂停后重新启用时,才从当前时间重新计算;暂停期间不会补跑。</p><p>会话列表、最近会话和快速打开默认在主工作面打开。点击通知列表里的通知、浏览器系统通知或<a href="./navigation">工作区标签未读</a>时,目标已在主工作面就留在那里;只在侧栏打开且侧栏可显示时,就切到侧栏,不替换主会话。桌面会短暂描边提示侧栏会话位置。目标尚未打开或侧栏无法显示时,在主工作面打开,不关闭已有侧栏标签。显式选择「在主工作面打开」或「在侧栏打开」仍按指定位置打开。</p><p>重复点击工作区树中的当前工作区,或跳转到已经打开的会话,不会主动刷新内容或重置阅读位置;正在加载时也不会重复请求。需要更新数据时请使用对应的刷新入口。</p><p><strong>成功标志:</strong> 所选会话在标题区显示名称和状态,刷新后仍能从对应 Agent 的历史中重新打开。</p><h2 id="阅读与运行反馈" tabindex="-1">阅读与运行反馈 <a class="header-anchor" href="#阅读与运行反馈" aria-label="Permalink to "阅读与运行反馈""></a></h2><p>首屏或更早历史加载失败时,不会自动反复请求;在正文点击“加载失败,点击重试”即可重新读取,加载与重试中只显示圆环。同一失败不重复弹出消息;重试入口的补充提示保留可用的错误码、详情和请求标识。已建立的实时订阅有有限恢复,页面连接恢复也会重建订阅;这些读取或订阅恢复不会重新执行 Agent 任务。</p><p>同一轮对话可以包含多个可折叠的“工作过程”。公开思考文本、工具和文件操作按实际顺序放在过程中;Agent 正文、审批和提问独立显示。当前过程默认展开,结束后自动收起,手动展开或收起的选择会保留。没有公开思考文本时不会生成空思考卡,思考内容也不代表执行状态。文件详情仍通过原有弹窗查看。</p><p>过程状态行上方与折叠的思考行会显示思考预览:使用对应范围内最新有效的公开思考记录(摘要或内容),取首个非空行,去除行首标题或加粗格式标记后提取首个分句;较早的摘要不会覆盖后续思考。长内容按可用宽度单行省略,展开思考可读取完整原文;思考预览不代表执行状态。</p><p>向上滚动到正文顶部会加载更早记录;新内容接在原内容上方,保留当前正在阅读的消息和视口位置,不自动跳到新页开头。继续上滚即可连续阅读更早记录。首屏加载完成后,如果顶部历史触发点仍在可视区,会自动补载一次并保持原阅读位置,不会连续拉取全部历史。正常状态不显示加载按钮,加载及重试中只显示圆环;失败后点击“加载失败,点击重试”,不会清空已读内容。历史全部加载后不再显示加载或起始提示。发送中只表示消息正在提交,不代表 Agent 已开始运行。运行状态来自 Node;没有可展示的具体动作时显示“运行中”,不凭空补写思考摘要。本轮耗时使用 Run 的起止时间,包含同轮等待和续作;缺少可靠时间时不显示,Node 重启后的新一轮重新计时。</p><h2 id="清理会话" tabindex="-1">清理会话 <a class="header-anchor" href="#清理会话" aria-label="Permalink to "清理会话""></a></h2><p>在当前工作区会话列表的“更多”菜单选择“清理会话”,输入 1–365 天(默认 30 天)后确认。活动时间早于所选天数的会话,以及没有有效活动时间、列表显示为 <code>—</code> 的会话,都会纳入清理;无时间会话不受天数限制。置顶、运行中、排队、正在重启恢复或正在查看的会话仍会保留。完整发现成功后,仅剩本地记录且所属 Agent 可用的条目直接清理本地记录,不再额外探测原生会话;不会因此删除未发现的原生内容。</p><p>清理会永久删除符合条件的原生会话,无法撤销,但不会删除工作区文件。完成后弹窗显示实际删除、跳过、失败数量及按 Agent 的删除数量。</p><p>子会话按自身活动时间独立参与清理,主会话长期使用不影响过期子会话的清理。符合条件的父会话会级联删除全部后代;后代近期活跃、置顶、排队或正在查看不会阻止级联。存在运行中或正在重启恢复的后代时,会保留其父会话。MAR Agent 的级联删除使用原生批量删除能力,统计包含实际删除的全部成员。</p><p>清理采用有时间预算的批次。达到预算时,弹窗显示“已完成部分清理”和已完成的实际数量,不把待处理条目计为失败;已知剩余数量时同时显示“待处理”。可再次发起清理处理剩余会话。已开始的删除会先结算,不会返回后继续启动删除;Node 离线或无法取得结果仍会报错。</p><h2 id="分享工作会话" tabindex="-1">分享工作会话 <a class="header-anchor" href="#分享工作会话" aria-label="Permalink to "分享工作会话""></a></h2><p>在普通工作会话的“更多”菜单选择“分享对话”。有效期可选,留空则永久;创建后展示包含链接和随机六位数字密码的分享文字,点击“复制”即可整段复制。弹窗下方列出已有分享,可以随时复制同样的完整分享文字、打开链接或删除记录。较早版本创建的记录若未保存可恢复密码,首次复制时需补录原密码;验证后不再需要补录,原链接和密码保持不变。</p><p>分享页顶部显示会话标题和工作区名称。访客输入密码后进入独立聊天页,不需要工作台账号。登录凭据、匿名标识及首次发送时设置的名称保存在当前浏览器;刷新或重新打开仍可恢复。右侧“参与者”首位显示分享者,其余显示同一会话所有分享链接的在线参与者。同一浏览器的匿名身份和名称跨链接复用。在自己的访客名称旁可编辑显示名称,其他已打开的分享页会同步更新;取消不会更改名称,也不会发送消息。访客名称与消息中的发言者名称一致,不因工作台登录状态合并或隐藏;未设置名称时也显示匿名访客。分享者固定显示账号昵称,无昵称时显示用户名;分享者的绿点仅在其打开分享页时显示,关闭最后一个页面后下线。昵称只用于显示,不用于授权。</p><p>分享访问原会话的全部历史与后续消息。访客以分享者身份使用原 Agent 和会话配置,可以发送消息、上传附件、引用文件或技能、排队、插入和打断;多人操作的状态和互斥与多个浏览器打开同一会话一致。分享页不显示模型、思考强度、访问模式、上下文用量及其提示,也没有输入预测或工作区管理区域,文件链接仍支持普通及独立窗口的只读预览,包括 Markdown 和 HTML 渲染。只读模式不会阻止 HTML 运行脚本。请仅预览信任的文件,参见 <a href="./files#步骤">HTML 预览风险</a>。</p><p><strong>只把链接和密码交给可信任的人。</strong> 分享者的退出登录不撤销分享;需要停止访问时删除该分享记录。删除或到期立即使对应聊天页失效并拒绝后续读取和发送,但不会停止已经接受的任务,也不收回已读内容;其他分享链接和原工作台不受影响。</p><h2 id="正常停止后的自动续作" tabindex="-1">正常停止后的自动续作 <a class="header-anchor" href="#正常停止后的自动续作" aria-label="Permalink to "正常停止后的自动续作""></a></h2><p>普通 Workspace 的 MAR Agent 支持 Node 收到 <code>SIGTERM</code> / <code>SIGINT</code>、完成正常退出后再启动时自动续作;正常停止后稍晚手动启动也适用。Node 重新连接 Server 后,会按当前用户权限和模型授权恢复同一原生会话的未完成任务、Goal 与消息队列;原本暂停的队列保持暂停。恢复期间,该会话暂不接受新消息或队列修改。</p><p>普通运行的历史会显示“系统重启续作”,不会冒充用户手动发言;活动 Goal 只创建一条目标续作,不叠加普通续作。恢复提示要求 Agent 因系统重启先检查现场,再继续未完成工作:不会恢复旧工具进程、终端、审批、问题或后台 cell,也不保证外部操作只发生一次。排队消息按原顺序重新准备,附件随输入恢复,但原附件预览地址不保证保留。</p><p>异常退出、强制杀进程、主机断电、退出交接失败、其他 Agent、托管对话及管理端受控升级不在范围内。用户失权、模型不可用或输入无法重建时,不会绕过检查强行执行;请检查 Node 诊断并手动接手。恢复清单只消费一次,不会在下次启动反复重试。</p><h2 id="会话提示词-session-prompt" tabindex="-1">会话提示词(Session Prompt) <a class="header-anchor" href="#会话提示词-session-prompt" aria-label="Permalink to "会话提示词(Session Prompt)""></a></h2><p>在支持的 Node 上,从已有会话的“更多”菜单选择“会话提示词”,输入多行指令并保存;留空保存可清除。最多 20000 字符,仅属于此会话,重新打开或 Node 重启后仍保留。它追加在当前发送者的通用个人提示词和 Agent 专属个人提示词之后,不替代账号设置,也不作为普通消息显示。</p><p>修改不打断当前执行,从下一次执行开始生效,包括排队消息、Goal 续作以及 marctl 向该会话发送的消息。也可用 <a href="./../operations/marctl#持久指令与审批">marctl 查看、设置或清除提示词</a>。清除只停止后续注入,不会删除 Agent 对话历史中已有的旧指令;若需完全隔离旧指令,请创建新会话。托管对话不提供此设置。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to "失败排查""></a></h2><ul><li>列表没有更新:先检查当前 Node 在线,再手动刷新当前 Workspace;不要用浏览器整页刷新代替 Node 故障排查。</li><li>会话无法继续:查看<a href="./../concepts/runner-control">Agent 与会话控制状态</a>。</li><li>删除失败:确认会话没有正在运行,并且当前账户拥有该工作区的使用权限。</li><li>定时未执行:在定时任务弹窗查看最近记录。Node 重启、会话忙碌、Server 离线或最后保存者失去权限时,本次跳过且不补跑;开启任务通知后,当前通知人会在通知中心收到跳过、失败及运行完成提醒;关闭后仍可在最近记录查看结果,但不会收到这些通知。</li></ul><p>下一步:<a href="./composer">发送消息与 Composer</a>。</p><h2 id="安全与影响" tabindex="-1">安全与影响 <a class="header-anchor" href="#安全与影响" aria-label="Permalink to "安全与影响""></a></h2><p>重命名和置顶只改变 MyAgentRoam 中的显示信息,不改写对话正文。删除会移除对应 Agent 会话,不能恢复;删除前确认不再需要其历史。</p><p>定时任务在原会话中以最后保存者身份自动运行,使用执行时的会话的 Agent、模型与权限配置。已开始的运行仍属于当次发起人,后续编辑不改变其最近任务归属。定时运行会自动批准工具权限请求,包括第三方 MCP;需要用户提供内容的提问仍需用户回答。普通 Workspace 会话均加载 MAR 定时任务 MCP,可在新对话中直接创建,也可在手动对话中修改当前会话任务的提示词或时间;其他用户通过 MCP 提交的修改须由最后保存者在弹窗确认。工作区会话列表的“已加载 MCP”会将它标记为“执行时注入”,它不是需要单独安装的 MCP。该 MCP 仅管理当前 MyAgentRoam 会话的 MAR 定时任务,不管理项目仓库中的 cron、CI 或其他项目的定时器。</p>',49)])])}const g=a(n,[["render",p]]);export{A as __pageData,g as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as a,o,c as t,a3 as r}from"./chunks/framework.BHjrhdiC.js";const A=JSON.parse('{"title":"创建、查找与管理会话","description":"","frontmatter":{"title":"创建、查找与管理会话","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"workbench/sessions.md","filePath":"workbench/sessions.md"}'),n={name:"workbench/sessions.md"};function p(i,e,s,l,d,c){return o(),t("div",null,[...e[0]||(e[0]=[r("",49)])])}const g=a(n,[["render",p]]);export{A as __pageData,g as default};
|