@myagentroam/server 0.15.3 → 0.15.4
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-D8KkS-oV.js +1 -0
- package/web/assets/{AuthEntryPanel-Db_BWfJ0.js → AuthEntryPanel-BZr60V1Z.js} +2 -2
- package/web/assets/{CodeFileEditor-CihFm6fB.js → CodeFileEditor-D8VLnyG-.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage--MLDP2Yq.js → ConversationTemplateManagementPage-BhaalILc.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-v6A9UnHo.js → ConversationTemplateManagementPage-DRuU-2mk.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-DyFtLsCU.js → EnterpriseUserManagementPage-D3kBpmW_.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-DMI-sdv1.js → EnvironmentSecretManager-BY6ibbTg.js} +1 -1
- package/web/assets/{FilePreviewLoading-D8OWX-sl.js → FilePreviewLoading-CW_-vYEv.js} +1 -1
- package/web/assets/{LicenseManagementPage-EO9mHum7.js → LicenseManagementPage-wjZ2x2aJ.js} +1 -1
- package/web/assets/{ManagementPagination-B6TS3Pk4.js → ManagementPagination-CSbL103K.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-CMT8p2qX.js → MarAgentModelManagementPage-BB0hk-GQ.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-DOPY6UOs.js → MarAgentModelManagementPage-BUaPEWQM.js} +1 -1
- package/web/assets/{MarAlert-C-dZd4T_.js → MarAlert-BIXqe6_J.js} +1 -1
- package/web/assets/{MarCascader-D3Vl-FFX.js → MarCascader-C2J5GjBw.js} +1 -1
- package/web/assets/{MarCheckTag-BwSYYsSE.js → MarCheckTag-01qHo807.js} +1 -1
- package/web/assets/{MarCheckboxGroup-Cb135wMq.js → MarCheckboxGroup-CMBj1w0E.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-DRaEaSWG.js} +1 -1
- package/web/assets/{MarDatePicker-tSQv6wvs.js → MarDatePicker-CG5Cw-gM.js} +1 -1
- package/web/assets/{MarDescriptionsItem-PNPmf934.js → MarDescriptionsItem-n0QciGpi.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-CYXLZBn3.js} +1 -1
- package/web/assets/{MarInputNumber-OVs6j0FR.js → MarInputNumber-BcQXNSgW.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-wj3wqzBo.js} +1 -1
- package/web/assets/{MarSwitch-BGPjm8mm.js → MarSwitch-BWpgpElR.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-druOvKUy.js → MarTableColumn.vue_vue_type_script_setup_true_lang-B9QX8gr9.js} +1 -1
- package/web/assets/{MarTabs-DGJMl1q0.js → MarTabs-IcUSEY93.js} +1 -1
- package/web/assets/{MarTag-BoauUJly.js → MarTag-CxlYiX8t.js} +1 -1
- package/web/assets/{MarkdownFilePreview-Btw0b3eS.js → MarkdownFilePreview-CCxlGgom.js} +2 -2
- package/web/assets/{McpDetailsDialog-ZmNHpt5x.js → McpDetailsDialog-CvVbH242.js} +1 -1
- package/web/assets/{McpSourceManagementPage-Cl3ypbMi.js → McpSourceManagementPage-CU7iKF9i.js} +1 -1
- package/web/assets/{McpSourceManagementPage-DuyBN1_y.js → McpSourceManagementPage-LFJCWxYW.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-B0LplIPv.js → NodeDetailsDialogs-CtM4oKNX.js} +1 -1
- package/web/assets/NodeManagementPage-BUjCQend.js +1 -0
- package/web/assets/NodeManagementPage-DScwQZqF.js +1 -0
- package/web/assets/{OAuthManagementPage-6YC9ASJ5.js → OAuthManagementPage-DJs1vapJ.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BKD6rHXr.js → OrganizationManagementPage-BaoTVDUb.js} +1 -1
- package/web/assets/{RemoteDesktopPage-BbaFFjeW.js → RemoteDesktopPage-CE1LFfcC.js} +1 -1
- package/web/assets/{ResourceManagementPanel-ByySlr2x.js → ResourceManagementPanel-0NiKqBrv.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BmO8bTuI.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B9o0bbzQ.js} +1 -1
- package/web/assets/SecretManagementPage-LO_IW0_0.js +1 -0
- package/web/assets/{SecretManagementPage-D2W03gRh.js → SecretManagementPage-w5pcLap2.js} +1 -1
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BBcFoXRw.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DCoElfcw.js} +1 -1
- package/web/assets/{SessionSharePage-BNgEp6w0.js → SessionSharePage-CdS0fDU6.js} +2 -2
- package/web/assets/SettingsContent-BmGmgXyf.css +1 -0
- package/web/assets/{SettingsContent-leYkMe7Y.js → SettingsContent-CMjCWCcz.js} +1 -1
- package/web/assets/SettingsContent-CrxJvZXU.js +1 -0
- package/web/assets/SkillCenterPage-CbRHlo_3.js +1 -0
- package/web/assets/{SkillCenterPage-kib4QG13.js → SkillCenterPage-D8fxeKqD.js} +1 -1
- package/web/assets/{SkillDetailsDialog-s5e4FvWZ.js → SkillDetailsDialog-CEsbW-2w.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-D42HRqgP.js → SkillSourceManagementPage-Cpta95u0.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-CAPfoRGd.js → SkillSourceManagementPage-CqoJOBY3.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-BoYp4pLI.js → StandaloneFilePreviewPage-Bl-A3-A3.js} +1 -1
- package/web/assets/{SystemConfigurationPage-BImLLC7-.js → SystemConfigurationPage-DWFiYNz_.js} +1 -1
- package/web/assets/{SystemConfigurationPage-B033PZiP.js → SystemConfigurationPage-Dm_kWCl2.js} +1 -1
- package/web/assets/{SystemInformationPage-CfN_9y2Q.js → SystemInformationPage-QlZExx-c.js} +1 -1
- package/web/assets/{TerminalTabView-C0LlUwtD.js → TerminalTabView-BP57trNC.js} +1 -1
- package/web/assets/WorkbenchPage-CP05FQUe.css +1 -0
- package/web/assets/WorkbenchPage-uEm4WN8I.js +22 -0
- package/web/assets/WorkspaceManagementPage-C-5lVy-g.js +1 -0
- package/web/assets/WorkspaceManagementPage-Cc5vGTWN.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-B3B520U3.js → abnfDiagram-VCTEODGH-Du0MybKC.js} +1 -1
- package/web/assets/{arc-CzRIICEp.js → arc-B5y5KmDt.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-Cwii7Vqj.js → architectureDiagram-5GKGNRK7-DhG7rDLG.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-DmXB7nEY.js → blockDiagram-OSKFZWR5-DCJ1wB-r.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-DvFgqrKw.js → c4Diagram-7LVT6UL2-B1CP1sYt.js} +1 -1
- package/web/assets/{catalog-ownership-service-BxgleBKc.js → catalog-ownership-service-BUFIMbci.js} +1 -1
- package/web/assets/{catalog-page-service-OpYIbvUW.js → catalog-page-service-B_JepXTI.js} +1 -1
- package/web/assets/channel-D3rjMA5A.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-CRHWDv_q.js → chunk-2Q5K7J3B-DuRuX86Y.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-BWK_1AQI.js → chunk-5VM5RSS4-DBJ6aoTo.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-8ThkQ-mU.js → chunk-F27PBJKO-2f9iSjYP.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-Ch5NYm1-.js → chunk-HLEWEB6X-CJOBbR1k.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-B3jfIta9.js → chunk-JWPE2WC7-Dr98A5pY.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-C_gUZd26.js → chunk-POPQ4Y6H-wjDvq3BN.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-CLYTuLPA.js → chunk-SVP7TREG-CClZQnxq.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-i9XwWX09.js → chunk-XXDRQBXY-DFtibmbb.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-DXNNy-Je.js → chunk-ZLD2IHE6-C-lUW0FB.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-Bcjd_47g.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-Bcjd_47g.js +1 -0
- package/web/assets/{conversation-history-BHVBrFPF.js → conversation-history-CpANgf3A.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-CbG82TkW.js → cose-bilkent-JH36ORCC-BKU7oQGN.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-DXUJi6PL.js → cynefin-OW5HDTMX-DumaFVqy.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-BbpaJaJc.js → cynefinDiagram-5FMLGOSQ-CLP-sNpW.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-B6_YQGif.js → dagre-OS7QT2EB-Wi4imYgt.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-BRzqASNb.js → diagram-S7CK7UJ4-D9BP3ZAo.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-vsBp6Ji0.js → diagram-UQ7AKVKN-BJ1P4Mge.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-LePbDIih.js → diagram-VSXAHHWV-CdyIDgCH.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-Cn9ukbx8.js → diagram-VX7I27RA-BXjFSNYv.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-CMl4dVbW.js → diagram-Z3DM3KII-CPtB7ZmG.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-CBwYQRJ8.js → ebnfDiagram-PWID7BFC-uA6gqyzY.js} +1 -1
- package/web/assets/{enterprise-management-service-DahI8TVf.js → enterprise-management-service-BX8NJuDk.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-CIIffxms.js → erDiagram-2YWLMYGG-23iIB5QW.js} +1 -1
- package/web/assets/{error-presentation-BxUofys_.js → error-presentation-XfbdSDGg.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-hWu2S6nd.js → flowDiagram-T62WH6J4-Mbk77o-A.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-DQQyyM2R.js → ganttDiagram-EL5Y4UJY-BlU3FoGq.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-bod8pPxm.js → gitGraphDiagram-WWUBYQGX-D6Vo5lDX.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-4N4KDMmd.js → hosted-conversation-template-client-CLYMEop0.js} +1 -1
- package/web/assets/{index-CqmyW_rC.js → index-0r8KZ1EM.js} +1 -1
- package/web/assets/{index-Bnw27ovL.css → index-B-bVIIi7.css} +1 -1
- package/web/assets/{index-ngCP4sKA.js → index-B4wYYpF_.js} +1 -1
- package/web/assets/{index-BV6jwloN.js → index-B7_0vFkh.js} +1 -1
- package/web/assets/{index-DvTPCgd0.js → index-BLwmotpi.js} +1 -1
- package/web/assets/{index-C_5eJUYf.js → index-BiXFIrDg.js} +1 -1
- package/web/assets/{index-Dp3eq1zd.js → index-Bv73Gkvs.js} +1 -1
- package/web/assets/{index-DpVjIrhP.js → index-C1M4rGeX.js} +1 -1
- package/web/assets/{index-DvzWB-jx.js → index-CFn4LQPs.js} +1 -1
- package/web/assets/{index-B4ZW-T6J.js → index-CGi3RTUf.js} +1 -1
- package/web/assets/{index-DtQPOl5N.js → index-CKz27wi-.js} +1 -1
- package/web/assets/{index-Dn7WvtF7.js → index-CSu7OC-_.js} +1 -1
- package/web/assets/{index-BGPZzJsA.js → index-CZwpEOKz.js} +1 -1
- package/web/assets/{index-CqTIvvh4.js → index-CqB6PBOi.js} +1 -1
- package/web/assets/{index-BBmXtRn-.js → index-Cze0CH7J.js} +1 -1
- package/web/assets/{index-0qO_3KE2.js → index-D1yWQZFs.js} +1 -1
- package/web/assets/{index-DmVV73u3.js → index-DSB2oKEj.js} +1 -1
- package/web/assets/{index-fTGjG74c.js → index-DeWQ2Yz0.js} +1 -1
- package/web/assets/{index-BcU4a2UI.js → index-DheoeiF1.js} +1 -1
- package/web/assets/index-DoV6LpJ_.js +24 -0
- package/web/assets/{index-6BWD9-7y.js → index-Du7hD8W0.js} +1 -1
- package/web/assets/{index-DkNKd-3B.js → index-Dztpg-wO.js} +1 -1
- package/web/assets/{index-B8VV5dHZ.js → index-GmHBAdlI.js} +1 -1
- package/web/assets/{index-DWkq2AGW.js → index-Gp4KbdeM.js} +1 -1
- package/web/assets/{index-B5klvT1H.js → index-TBUL-84O.js} +1 -1
- package/web/assets/{index-CqINCSE3.js → index-XhzHh3_N.js} +1 -1
- package/web/assets/{index-WrhXkAuv.js → index-lSgZTvIO.js} +1 -1
- package/web/assets/{index-CKsN5tnJ.js → index-qDTUZYRk.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-CJqQEdwz.js → infoDiagram-FKFFQAWI-DO351l4z.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-Cj6-Lh3W.js → ishikawaDiagram-5VMMS53U-D9YiRNGM.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-BIL8wlwa.js → journeyDiagram-EYS64GPL-sea-Dbqn.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-BZQdoskd.js → kanban-definition-UXKFOSKX-C2PU3Fae.js} +1 -1
- package/web/assets/{layout-C-meAuZp.js → layout-D_Z1apep.js} +1 -1
- package/web/assets/{linear-BXP8QFmo.js → linear-CalIYjBa.js} +1 -1
- package/web/assets/{management-url-service-CEi28VSK.js → management-url-service-DVA6GKpw.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-B8Q9Jpu3.js → mar-agent-reasoning-effort-D4Vq-rFs.js} +1 -1
- package/web/assets/{mcp-center-service-CrXWIZ89.js → mcp-center-service-_QTumIMW.js} +1 -1
- package/web/assets/{mermaid.core-DEciRvw4.js → mermaid.core-d4RL5WfP.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-4232A9CN.js → mindmap-definition-THT77NOG-BxJy_OV4.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-DRW4xZe4.js → mobile-dialog-return-service-DysKDrQN.js} +1 -1
- package/web/assets/{oauth-callback--0hD7dZ7.js → oauth-callback-CC4J0oeW.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-z74k-wFd.js → pegDiagram-XKGWAZYB-DHubZ6bJ.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-BxYWkM_Z.js → pieDiagram-E7YTZNPT-BMZyLzlV.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-Cd6maoR6.js → quadrantDiagram-AXDQQJYC-ckqw-2qx.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-fsMvr3v8.js → railroadDiagram-O6MQD6OU-Cn0fDcDC.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X--tU9WVRs.js → requirementDiagram-IS5BZ75X-QWv0_Ow2.js} +1 -1
- package/web/assets/runner-presentation-iiny0AkT.js +1 -0
- package/web/assets/{sankeyDiagram-P5KCCOFB-AUpbouE8.js → sankeyDiagram-P5KCCOFB-DimfOq-9.js} +1 -1
- package/web/assets/{scoped-http-service-BUd40otX.js → scoped-http-service-BFcq9Zvc.js} +3 -3
- package/web/assets/{sequenceDiagram-WJ2MYXX4-CjH5OTU4.js → sequenceDiagram-WJ2MYXX4-gX0SwEWC.js} +1 -1
- package/web/assets/{session-share-client-service-CxqkMHWQ.js → session-share-client-service-D3FBWzBr.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-DYvFOlqy.js → sizeCapture-INFHLROL-BT5F5fTF.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-MwLwNWOb.js → stateDiagram-XQSTLZYL-IroDqXZe.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-BXKYzszG.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-tf4B06so.js → swimlanes-V6O3JKXN-2eJ2xc8d.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-Dzg0lR2v.js +8 -0
- package/web/assets/{time-presentation-BLCYPkwu.js → time-presentation-C8cg5brJ.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-wJWW5Met.js → timeline-definition-24CTP7MA-Bj0QZw-p.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-Y_95t6qh.js → vennDiagram-4TSXK5OY-hvkC6G6B.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-BscSDOEa.js → wardleyDiagram-VM6X3IG4-BdIuIixT.js} +1 -1
- package/web/assets/{workbench-live-service-C2cXipPI.js → workbench-live-service-fxWoCh0C.js} +1 -1
- package/web/assets/{workbench-presentation-Cc9MAhUo.js → workbench-presentation-B_OBr1FF.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-CZLvj4Rq.js → xychartDiagram-S5SC5T6Z-CW52lHg4.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.wB-a6uw0.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DSjLYazS.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.Dn2cxDJM.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.CWPLf9EK.js → VPLocalSearchBox.BLZg_5qy.js} +1 -1
- package/web/docs/assets/chunks/{theme.DybUwjKs.js → theme.iCsbu-7D.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.BFqJcU4O.js} +12 -7
- package/web/docs/assets/en-US_operations_marctl.md.BFqJcU4O.lean.js +1 -0
- package/web/docs/assets/en-US_workbench_navigation.md.BW-gfygd.js +1 -0
- package/web/docs/assets/{en-US_workbench_navigation.md.3W7bsQ4I.lean.js → en-US_workbench_navigation.md.BW-gfygd.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.ZlO6mUvM.js +52 -0
- package/web/docs/assets/operations_marctl.md.ZlO6mUvM.lean.js +1 -0
- package/web/docs/assets/workbench_navigation.md.DUBx-MAk.js +1 -0
- package/web/docs/assets/{workbench_navigation.md.HvELxpD-.lean.js → workbench_navigation.md.DUBx-MAk.lean.js} +1 -1
- 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 +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +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 +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +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 +3 -3
- 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-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_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_navigation.md.HvELxpD-.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,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 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 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};
|