@myagentroam/server 0.15.4 → 0.15.6
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 +131 -126
- package/node_modules/@myagentroam/protocol/dist/index.js +2 -7
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +144 -0
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.js +2 -1
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/marctl-session-routes.js +2 -2
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +1 -0
- package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.d.ts +1 -0
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +2 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/{AuditManagementPage-D8KkS-oV.js → AuditManagementPage-h2Ayf8Dm.js} +1 -1
- package/web/assets/{AuthEntryPanel-BHf4PyTn.css → AuthEntryPanel-BtAxgnRu.css} +1 -1
- package/web/assets/{AuthEntryPanel-BZr60V1Z.js → AuthEntryPanel-DFEeKET1.js} +19 -19
- package/web/assets/{CodeFileEditor-D8VLnyG-.js → CodeFileEditor-Bxmp29vU.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-DRuU-2mk.js → ConversationTemplateManagementPage-B3TlVwkp.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-BhaalILc.js → ConversationTemplateManagementPage-DfBL_hTU.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-D3kBpmW_.js → EnterpriseUserManagementPage-DaW0vboW.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-BY6ibbTg.js → EnvironmentSecretManager-15PsWdT-.js} +1 -1
- package/web/assets/{FilePreviewLoading-TmVJkujC.css → FilePreviewLoading-BCZE-xW1.css} +1 -1
- package/web/assets/{FilePreviewLoading-CW_-vYEv.js → FilePreviewLoading-svLYVRxY.js} +1 -1
- package/web/assets/{LicenseManagementPage-wjZ2x2aJ.js → LicenseManagementPage-Cb1RI4CY.js} +1 -1
- package/web/assets/{ManagementPagination-CSbL103K.js → ManagementPagination-DppUATUf.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-BB0hk-GQ.js → MarAgentModelManagementPage-1V-QNUIa.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-BUaPEWQM.js → MarAgentModelManagementPage-BOcngUR9.js} +1 -1
- package/web/assets/{MarAlert-BIXqe6_J.js → MarAlert-D87az_bI.js} +1 -1
- package/web/assets/{MarCascader-C2J5GjBw.js → MarCascader-DxMzGZSx.js} +1 -1
- package/web/assets/{MarCheckTag-01qHo807.js → MarCheckTag-CH-CGzMx.js} +1 -1
- package/web/assets/{MarCheckboxGroup-CMBj1w0E.js → MarCheckboxGroup-BQ3cDZQ_.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DRaEaSWG.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-D2lGTHrx.js} +1 -1
- package/web/assets/MarDatePicker-DQqerNz0.js +1 -0
- package/web/assets/MarDatePicker-ixcvHqsn.css +1 -0
- package/web/assets/{MarDescriptionsItem-n0QciGpi.js → MarDescriptionsItem-EWl7_l3B.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-CYXLZBn3.js → MarFormItem.vue_vue_type_script_setup_true_lang-DRikICWy.js} +1 -1
- package/web/assets/{MarInputNumber-BcQXNSgW.js → MarInputNumber-C7xOGzaH.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-wj3wqzBo.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-DFHeuV2S.js} +1 -1
- package/web/assets/{MarSwitch-BWpgpElR.js → MarSwitch-DVEqjbBI.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-B9QX8gr9.js → MarTableColumn.vue_vue_type_script_setup_true_lang-thWzyXp3.js} +1 -1
- package/web/assets/{MarTabs-IcUSEY93.js → MarTabs-ylZRd-y5.js} +1 -1
- package/web/assets/{MarTag-CxlYiX8t.js → MarTag-822O9VD_.js} +1 -1
- package/web/assets/{MarkdownFilePreview-CCxlGgom.js → MarkdownFilePreview-rpMCP5wo.js} +2 -2
- package/web/assets/{McpDetailsDialog-CvVbH242.js → McpDetailsDialog-Dfcjd2NG.js} +1 -1
- package/web/assets/{McpSourceManagementPage-CU7iKF9i.js → McpSourceManagementPage-B8qEwpN-.js} +1 -1
- package/web/assets/{McpSourceManagementPage-LFJCWxYW.js → McpSourceManagementPage-BM2MjCUT.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-CtM4oKNX.js → NodeDetailsDialogs-BW0Imm5c.js} +1 -1
- package/web/assets/NodeManagementPage-CAf2fAO8.js +1 -0
- package/web/assets/NodeManagementPage-s8lfMP9p.js +1 -0
- package/web/assets/{OAuthManagementPage-DJs1vapJ.js → OAuthManagementPage-J_iiJQJA.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BaoTVDUb.js → OrganizationManagementPage-BmLIhI6B.js} +1 -1
- package/web/assets/{RemoteDesktopPage-CE1LFfcC.js → RemoteDesktopPage-DO01BwNf.js} +1 -1
- package/web/assets/{ResourceManagementPanel-0NiKqBrv.js → ResourceManagementPanel-DnWbCOJq.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B9o0bbzQ.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-oSjgvsqT.js} +1 -1
- package/web/assets/{SecretManagementPage-w5pcLap2.js → SecretManagementPage-CQqTHhsL.js} +1 -1
- package/web/assets/SecretManagementPage-jUHyBoLc.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-DCoElfcw.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DZlBlwfE.js} +1 -1
- package/web/assets/SessionSharePage-DagCD0j7.js +2 -0
- package/web/assets/SettingsContent-BLMdy5J4.css +1 -0
- package/web/assets/{SettingsContent-CMjCWCcz.js → SettingsContent-BZcmNUpE.js} +1 -1
- package/web/assets/SettingsContent-ShZog4ut.js +1 -0
- package/web/assets/SkillCenterPage-CQsmgz4Y.js +1 -0
- package/web/assets/{SkillCenterPage-D8fxeKqD.js → SkillCenterPage-Dr4Uu_re.js} +1 -1
- package/web/assets/{SkillDetailsDialog-CEsbW-2w.js → SkillDetailsDialog-DXJURrEU.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-CqoJOBY3.js → SkillSourceManagementPage-BKWBJCdC.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-Cpta95u0.js → SkillSourceManagementPage-BRYy3doH.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-Bl-A3-A3.js → StandaloneFilePreviewPage-DmT7QEk3.js} +1 -1
- package/web/assets/{SystemConfigurationPage-Dm_kWCl2.js → SystemConfigurationPage-BfTyAsEe.js} +1 -1
- package/web/assets/{SystemConfigurationPage-DWFiYNz_.js → SystemConfigurationPage-GdwCPfrP.js} +1 -1
- package/web/assets/{SystemInformationPage-QlZExx-c.js → SystemInformationPage-Sdo4RG2A.js} +1 -1
- package/web/assets/{TerminalTabView-BP57trNC.js → TerminalTabView-CwxqFEMJ.js} +1 -1
- package/web/assets/WorkbenchPage-Dav6Adit.js +22 -0
- package/web/assets/WorkbenchPage-Dy5c5TB3.css +1 -0
- package/web/assets/WorkspaceManagementPage-BW10z2m5.js +1 -0
- package/web/assets/WorkspaceManagementPage-CNMLr8ED.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-Du0MybKC.js → abnfDiagram-VCTEODGH-BT3fRYcQ.js} +1 -1
- package/web/assets/{arc-B5y5KmDt.js → arc-BiLoHLGl.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-DhG7rDLG.js → architectureDiagram-5GKGNRK7-D_tVvEQO.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-DCJ1wB-r.js → blockDiagram-OSKFZWR5-M0eUSzCh.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-B1CP1sYt.js → c4Diagram-7LVT6UL2-DnrtFee8.js} +1 -1
- package/web/assets/{catalog-ownership-service-BUFIMbci.js → catalog-ownership-service-gRaOYknR.js} +1 -1
- package/web/assets/{catalog-page-service-B_JepXTI.js → catalog-page-service-CqXcdGDa.js} +1 -1
- package/web/assets/channel-CzURILbu.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-DuRuX86Y.js → chunk-2Q5K7J3B-FB33-Q7E.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-DBJ6aoTo.js → chunk-5VM5RSS4-CYVHOD21.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-2f9iSjYP.js → chunk-F27PBJKO-PJUGV8ZH.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-CJOBbR1k.js → chunk-HLEWEB6X-D8Ah_DoD.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-Dr98A5pY.js → chunk-JWPE2WC7-B-S6sxcD.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-wjDvq3BN.js → chunk-POPQ4Y6H-BkFkj91Q.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-CClZQnxq.js → chunk-SVP7TREG-BubD_1fH.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DFtibmbb.js → chunk-XXDRQBXY-DKn9Kkgt.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-C-lUW0FB.js → chunk-ZLD2IHE6-BwgbK2Ly.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-CLyyjijs.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-CLyyjijs.js +1 -0
- package/web/assets/{conversation-history-CpANgf3A.js → conversation-history-xyQxztDg.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-BKU7oQGN.js → cose-bilkent-JH36ORCC-km9UqP9j.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-DumaFVqy.js → cynefin-OW5HDTMX-DztXKNEY.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-CLP-sNpW.js → cynefinDiagram-5FMLGOSQ-DQYaVOEH.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-Wi4imYgt.js → dagre-OS7QT2EB-DgvDR147.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-D9BP3ZAo.js → diagram-S7CK7UJ4-E8mS0Nvw.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-BJ1P4Mge.js → diagram-UQ7AKVKN-xp5xcbin.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-CdyIDgCH.js → diagram-VSXAHHWV-Ew9nAbZO.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-BXjFSNYv.js → diagram-VX7I27RA-BvQQz3Pv.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-CPtB7ZmG.js → diagram-Z3DM3KII-BJmxZd0h.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-uA6gqyzY.js → ebnfDiagram-PWID7BFC-BNbULEvE.js} +1 -1
- package/web/assets/{enterprise-management-service-BX8NJuDk.js → enterprise-management-service-BkYsRmwj.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-23iIB5QW.js → erDiagram-2YWLMYGG-yAnCS3el.js} +1 -1
- package/web/assets/{error-presentation-XfbdSDGg.js → error-presentation-Db7jjO6p.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-Mbk77o-A.js → flowDiagram-T62WH6J4-tgO082GB.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-BlU3FoGq.js → ganttDiagram-EL5Y4UJY-BzmJAx8H.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-D6Vo5lDX.js → gitGraphDiagram-WWUBYQGX-DITCO4Oq.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-CLYMEop0.js → hosted-conversation-template-client-BEvB-eIc.js} +1 -1
- package/web/assets/{index-0r8KZ1EM.js → index-B-5iJmDv.js} +1 -1
- package/web/assets/{index-CKz27wi-.js → index-B-i1-v32.js} +1 -1
- package/web/assets/index-B0nwvzeT.css +1 -0
- package/web/assets/{index-CZwpEOKz.js → index-B7HV2ljB.js} +1 -1
- package/web/assets/{index-D1yWQZFs.js → index-BcAv4o11.js} +1 -1
- package/web/assets/{index-Dztpg-wO.js → index-C3N-t7Kw.js} +1 -1
- package/web/assets/{index-B7_0vFkh.js → index-CNYuPDQS.js} +1 -1
- package/web/assets/{index-Cze0CH7J.js → index-CjVkzP8b.js} +1 -1
- package/web/assets/{index-CFn4LQPs.js → index-CvPUYLkg.js} +1 -1
- package/web/assets/{index-DeWQ2Yz0.js → index-CwGWOHr2.js} +1 -1
- package/web/assets/{index-GmHBAdlI.js → index-D-F_itO7.js} +1 -1
- package/web/assets/{index-DheoeiF1.js → index-D1TbJu-Q.js} +1 -1
- package/web/assets/{index-BLwmotpi.js → index-DAIcY99N.js} +1 -1
- package/web/assets/{index-Bv73Gkvs.js → index-Db1HfOWU.js} +1 -1
- package/web/assets/{index-Du7hD8W0.js → index-DbrgukP5.js} +1 -1
- package/web/assets/{index-TBUL-84O.js → index-DdUy8cY6.js} +1 -1
- package/web/assets/{index-qDTUZYRk.js → index-DhoXNs0J.js} +1 -1
- package/web/assets/{index-CSu7OC-_.js → index-DkOO-cK7.js} +1 -1
- package/web/assets/{index-C1M4rGeX.js → index-Ds_9jDGg.js} +1 -1
- package/web/assets/{index-BiXFIrDg.js → index-Dsi1f-DN.js} +1 -1
- package/web/assets/{index-Gp4KbdeM.js → index-FxIz5jwS.js} +1 -1
- package/web/assets/{index-B4wYYpF_.js → index-N07AEy6h.js} +1 -1
- package/web/assets/{index-lSgZTvIO.js → index-QZO2fupB.js} +1 -1
- package/web/assets/{index-DSB2oKEj.js → index-R1g0LLuH.js} +1 -1
- package/web/assets/{index-XhzHh3_N.js → index-YuW3rntW.js} +1 -1
- package/web/assets/{index-CGi3RTUf.js → index-c7ArMUjQ.js} +1 -1
- package/web/assets/{index-CqB6PBOi.js → index-oCWDCxPs.js} +1 -1
- package/web/assets/index-tNbLLcFr.js +24 -0
- package/web/assets/{infoDiagram-FKFFQAWI-DO351l4z.js → infoDiagram-FKFFQAWI-BuN2YxMq.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-D9YiRNGM.js → ishikawaDiagram-5VMMS53U-174XKzHR.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-sea-Dbqn.js → journeyDiagram-EYS64GPL-flNh3Ab4.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-C2PU3Fae.js → kanban-definition-UXKFOSKX-CXVSM8Wo.js} +1 -1
- package/web/assets/{layout-D_Z1apep.js → layout-DeEG5g5K.js} +1 -1
- package/web/assets/{linear-CalIYjBa.js → linear-Cwcu1i0I.js} +1 -1
- package/web/assets/{management-url-service-DVA6GKpw.js → management-url-service-85rfmgTY.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-D4Vq-rFs.js → mar-agent-reasoning-effort-B-FUNyL5.js} +1 -1
- package/web/assets/mcp-center-service-DBiyWYq4.js +1 -0
- package/web/assets/mcp-center-service-DfkIiMEU.css +1 -0
- package/web/assets/{mermaid.core-d4RL5WfP.js → mermaid.core-OQfpn8ZO.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-BxJy_OV4.js → mindmap-definition-THT77NOG-DqAhbj1s.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-DysKDrQN.js → mobile-dialog-return-service-prP_9wp8.js} +1 -1
- package/web/assets/{oauth-callback-CC4J0oeW.js → oauth-callback-BpwAiZxi.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-DHubZ6bJ.js → pegDiagram-XKGWAZYB-Bc7RGw0_.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-BMZyLzlV.js → pieDiagram-E7YTZNPT-CLbLgGtX.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-ckqw-2qx.js → quadrantDiagram-AXDQQJYC-D9s2n0Qn.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-Cn0fDcDC.js → railroadDiagram-O6MQD6OU-CkuujejY.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-QWv0_Ow2.js → requirementDiagram-IS5BZ75X-CIUqXQc2.js} +1 -1
- package/web/assets/{runner-presentation-iiny0AkT.js → runner-presentation-CZJxVlDH.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-DimfOq-9.js → sankeyDiagram-P5KCCOFB-g_nHNFAo.js} +1 -1
- package/web/assets/{scoped-http-service-BFcq9Zvc.js → scoped-http-service-BeskbaIX.js} +3 -3
- package/web/assets/{sequenceDiagram-WJ2MYXX4-gX0SwEWC.js → sequenceDiagram-WJ2MYXX4-DpGHHte_.js} +1 -1
- package/web/assets/{session-share-client-service-D3FBWzBr.js → session-share-client-service-CB_fcVh8.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-BT5F5fTF.js → sizeCapture-INFHLROL-CkUeOvtc.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-IroDqXZe.js → stateDiagram-XQSTLZYL-DGjLEx0A.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-C1MkZ7dL.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-2eJ2xc8d.js → swimlanes-V6O3JKXN-CYP7UqAG.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-BYPfeFaL.js +8 -0
- package/web/assets/{time-presentation-C8cg5brJ.js → time-presentation-BXMTEJJ8.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-Bj0QZw-p.js → timeline-definition-24CTP7MA-xZgy6lg8.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-hvkC6G6B.js → vennDiagram-4TSXK5OY-B1-YkzXL.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-BdIuIixT.js → wardleyDiagram-VM6X3IG4-COENz6fp.js} +1 -1
- package/web/assets/{workbench-live-service-fxWoCh0C.js → workbench-live-service-nzkfMKfC.js} +1 -1
- package/web/assets/{workbench-presentation-B_OBr1FF.js → workbench-presentation-D39nHtDW.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-CW52lHg4.js → xychartDiagram-S5SC5T6Z-DeeHopzy.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.wB-a6uw0.js → app.D0Gq1XSU.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DXGPzhzw.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.B16iH7ZA.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.BLZg_5qy.js → VPLocalSearchBox.B-noerIJ.js} +1 -1
- package/web/docs/assets/chunks/{theme.iCsbu-7D.js → theme.BWnGb93n.js} +2 -2
- package/web/docs/assets/{concepts_node-and-workspace.md.kMVoeyoQ.js → concepts_node-and-workspace.md.BoOWWPZB.js} +1 -1
- package/web/docs/assets/{en-US_concepts_node-and-workspace.md.DXOEqvst.js → en-US_concepts_node-and-workspace.md.Bn1XgTYZ.js} +1 -1
- package/web/docs/assets/{en-US_operations_marctl.md.BFqJcU4O.js → en-US_operations_marctl.md.CsebMI1i.js} +6 -5
- package/web/docs/assets/{en-US_operations_marctl.md.BFqJcU4O.lean.js → en-US_operations_marctl.md.CsebMI1i.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_composer.md.6M6RbR5_.js +1 -0
- package/web/docs/assets/{en-US_workbench_composer.md.DPuZWvfo.lean.js → en-US_workbench_composer.md.6M6RbR5_.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_conversation.md.Cn9W37Fc.js → en-US_workbench_conversation.md.ae0OMzr7.js} +1 -1
- package/web/docs/assets/{en-US_workbench_conversation.md.Cn9W37Fc.lean.js → en-US_workbench_conversation.md.ae0OMzr7.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_hosted-conversations.md.B0FVwI6d.js +1 -0
- package/web/docs/assets/{en-US_workbench_hosted-conversations.md.CmeX1K43.lean.js → en-US_workbench_hosted-conversations.md.B0FVwI6d.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_navigation.md.Ce3mPWXm.js +1 -0
- package/web/docs/assets/{en-US_workbench_navigation.md.BW-gfygd.lean.js → en-US_workbench_navigation.md.Ce3mPWXm.lean.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.4DxY5XA7.js → en-US_workbench_sessions.md.BHLKClcv.js} +1 -1
- package/web/docs/assets/{en-US_workbench_sessions.md.4DxY5XA7.lean.js → en-US_workbench_sessions.md.BHLKClcv.lean.js} +1 -1
- package/web/docs/assets/{operations_marctl.md.ZlO6mUvM.js → operations_marctl.md.C23I-1aM.js} +6 -5
- package/web/docs/assets/{operations_marctl.md.ZlO6mUvM.lean.js → operations_marctl.md.C23I-1aM.lean.js} +1 -1
- package/web/docs/assets/workbench_composer.md.CifbL-g0.js +1 -0
- package/web/docs/assets/{workbench_composer.md.fdtRWBnu.lean.js → workbench_composer.md.CifbL-g0.lean.js} +1 -1
- package/web/docs/assets/{workbench_conversation.md.BPTEaLGW.js → workbench_conversation.md.BQB5lUgg.js} +1 -1
- package/web/docs/assets/{workbench_conversation.md.BPTEaLGW.lean.js → workbench_conversation.md.BQB5lUgg.lean.js} +1 -1
- package/web/docs/assets/workbench_hosted-conversations.md.CglISwWu.js +1 -0
- package/web/docs/assets/{workbench_hosted-conversations.md.CxN8gwK2.lean.js → workbench_hosted-conversations.md.CglISwWu.lean.js} +1 -1
- package/web/docs/assets/workbench_navigation.md.Br7IvniD.js +1 -0
- package/web/docs/assets/workbench_navigation.md.Br7IvniD.lean.js +1 -0
- package/web/docs/assets/{workbench_sessions.md.CeNjkWLp.js → workbench_sessions.md.78LaKDeg.js} +1 -1
- package/web/docs/assets/{workbench_sessions.md.CeNjkWLp.lean.js → workbench_sessions.md.78LaKDeg.lean.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +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 +9 -8
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +3 -3
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/browser.html +3 -3
- package/web/docs/en-US/workbench/composer.html +5 -5
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +5 -5
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +5 -5
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +5 -5
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +5 -5
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +9 -8
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +3 -3
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/browser.html +3 -3
- package/web/docs/workbench/composer.html +5 -5
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +5 -5
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +5 -5
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +5 -5
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +5 -5
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +9 -9
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/MarDatePicker-C6RHbHdV.css +0 -1
- package/web/assets/MarDatePicker-CG5Cw-gM.js +0 -1
- package/web/assets/NodeManagementPage-BUjCQend.js +0 -1
- package/web/assets/NodeManagementPage-DScwQZqF.js +0 -1
- package/web/assets/SecretManagementPage-LO_IW0_0.js +0 -1
- package/web/assets/SessionSharePage-CdS0fDU6.js +0 -2
- package/web/assets/SettingsContent-BmGmgXyf.css +0 -1
- package/web/assets/SettingsContent-CrxJvZXU.js +0 -1
- package/web/assets/SkillCenterPage-CbRHlo_3.js +0 -1
- package/web/assets/WorkbenchPage-CP05FQUe.css +0 -1
- package/web/assets/WorkbenchPage-uEm4WN8I.js +0 -22
- package/web/assets/WorkspaceManagementPage-C-5lVy-g.js +0 -1
- package/web/assets/WorkspaceManagementPage-Cc5vGTWN.js +0 -1
- package/web/assets/channel-D3rjMA5A.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-Bcjd_47g.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-Bcjd_47g.js +0 -1
- package/web/assets/index-B-bVIIi7.css +0 -1
- package/web/assets/index-DoV6LpJ_.js +0 -24
- package/web/assets/mcp-center-service-IfJgpL-R.css +0 -1
- package/web/assets/mcp-center-service-_QTumIMW.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-BXKYzszG.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-Dzg0lR2v.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.DSjLYazS.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.Dn2cxDJM.js +0 -1
- package/web/docs/assets/en-US_workbench_composer.md.DPuZWvfo.js +0 -1
- package/web/docs/assets/en-US_workbench_hosted-conversations.md.CmeX1K43.js +0 -1
- package/web/docs/assets/en-US_workbench_navigation.md.BW-gfygd.js +0 -1
- package/web/docs/assets/workbench_composer.md.fdtRWBnu.js +0 -1
- package/web/docs/assets/workbench_hosted-conversations.md.CxN8gwK2.js +0 -1
- package/web/docs/assets/workbench_navigation.md.DUBx-MAk.js +0 -1
- package/web/docs/assets/workbench_navigation.md.DUBx-MAk.lean.js +0 -1
- /package/web/docs/assets/{concepts_node-and-workspace.md.kMVoeyoQ.lean.js → concepts_node-and-workspace.md.BoOWWPZB.lean.js} +0 -0
- /package/web/docs/assets/{en-US_concepts_node-and-workspace.md.DXOEqvst.lean.js → en-US_concepts_node-and-workspace.md.Bn1XgTYZ.lean.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s,o as t,c as n,a3 as a}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Create and Manage Sessions","description":"","frontmatter":{"title":"Create and Manage Sessions","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/sessions.md","filePath":"en-US/workbench/sessions.md"}'),o={name:"en-US/workbench/sessions.md"};function i(r,e,d,l,c,h){return t(),n("div",null,[...e[0]||(e[0]=[a('<h1 id="create-and-manage-sessions" tabindex="-1">Create and Manage Sessions <a class="header-anchor" href="#create-and-manage-sessions" aria-label="Permalink to "Create and Manage Sessions""></a></h1><p>On Nodes that advertise grouping, <strong>Main Sessions / Child Sessions</strong> separates the session list and defaults to Main Sessions. Sessions with a parent relationship appear under Child Sessions; sessions without one appear under Main Sessions. Search and pagination stay within the selected group. Switching groups does not close the conversation or interrupt work. Each Workspace remembers its group for the current page only; reloading defaults to Main Sessions. A Node without grouping capability retains the mixed list.</p><p>Group tabs show only their names and selected state, without running counts or unread badges. Clicking a tab only switches the list; it does not open a session. Individual session rows retain their running and unread indicators. Notifications, recent-session items, and Workspace tabs synchronize Main / Child Sessions when they open a target session.</p><p>Click or tap the conversation title to share or rename the session, view its tree, or manage its prompt and scheduled task where supported. To choose where a session opens, pin it, reorder it, or delete it, use the session list's More menu. <strong>Copy session ID</strong> is available from the title, list, and tree-node menus; the ID is not shown in the header. Open the tree with its icon on the right of the title bar or from the title or list menu. Hovering does not open it. Selecting a tree node opens it in Aside by default; its menu can open it in the main work area instead. Click outside, press Escape, or use mobile Back to dismiss the tree.</p><p>The tree shows the direct parent and recursive descendants, and updates running, sleeping, and idle states from the Workspace while open. Sibling sessions are ordered by active branches first, then by most recent activity, with unknown times last. Loading shows only a spinner without darkening the background. When there are more than 100 descendants, this order is applied before selecting up to 100 sessions, including the ancestors needed to connect them. Truncation is indicated, and activity summaries still cover all descendants.</p><p>A session can be open in both the main work area and Aside. Opening either side does not close the other, and reopening the same location does not refresh its conversation. Each Workspace keeps independent Main and Aside drafts for message text, skill tags, and references. Switching sessions or starting a new session on one side preserves its input; switching Workspaces restores that Workspace's draft for each side. Even the same session has independent input on both sides, while concurrent duplicate submissions are still prevented. Queued-message edits remain bound to their original session. Closing an Aside session tab stops displaying the conversation there; it does not end the Agent's task, delete the session, or close the main work area.</p><p>In work mode, closing a Workspace preserves its drafts in the current browser tab for reopening. Signing out or losing authentication clears that tab’s saved input drafts and queued-message edits so another account cannot restore them. Save important unsent content elsewhere first. This does not delete messages already sent or queued.</p><p>Aside keeps at most one session tab per Workspace. Opening another session replaces the previous session tab while preserving Aside's current input and leaving the previous session's task running. Tool tabs such as Files and Terminal are unaffected.</p><p>Agent operations and messages from other sessions appear in the <a href="./conversation">Agent collaboration</a> group inside the work process. The group does not provide session shortcuts. To view a target session, send a message, or stop its run, open it from the session list or session tree. Normal session permissions still apply.</p><p>When an Agent sends a message or sets a Goal on an ancestor session that has ended or is stopping, the operation returns <code>AGENT_ANCESTOR_NOT_ACTIVE</code> without restarting it. Sending works again once the ancestor is running. Users can still resume sessions manually.</p><p>Expand an execution record to inspect the available command or code, output, working directory, exit code, and status. Each call has its own record. <strong>Copy public record</strong> copies that record's available public information, which can be truncated; older Nodes may provide fewer details.</p><p>A regular work session must execute in the selected Workspace's valid root or a subdirectory. An independently registered Git worktree uses its own Workspace. Node rejects new execution if the directory disappears, the registered root is replaced, or a link escapes the Workspace; it does not silently switch directories. If queued messages are paused for this reason, restore a valid directory and use <strong>Resume</strong> in the queue. Messages and attachments are retained and can still be removed through the existing queue controls. This check does not make work mode a host filesystem sandbox or change hosted-conversation isolation.</p><p>When there is no session to restore, the main work area shows a new session draft, even if the list contains previous sessions. Start typing or select an existing session from the list. A new session is created only when its first message is accepted. On supported Nodes, selecting <strong>New Session</strong> or using its shortcut switches the list to Main Sessions. Manually switching groups afterward does not change the Composer draft.</p><p>The session list initially loads up to 30 sessions. Scrolling near the bottom automatically loads up to 30 more; search results continue in the same way. New sessions remain visible in the current list. A small ring marks the pending page. A failure preserves the loaded sessions and pauses automatic loading; select <strong>Failed to load. Retry</strong> at the bottom to continue. Retrying shows only the ring.</p><p>An initial or earlier-history load failure does not trigger repeated automatic requests. Select <strong>Failed to load. Retry</strong> in the conversation to read again; loading and retrying show only a ring. The same failure does not also produce a popup. The retry control's supplementary hint retains available error codes, details, and request identifiers. Established realtime subscriptions have bounded recovery, and reconnecting the page rebuilds subscriptions. These read or subscription recoveries never rerun an Agent task.</p><p>A conversation turn can contain several collapsible <strong>Work processes</strong>. Public reasoning text, tool calls, and file operations appear in their actual order; Agent replies, approvals, and questions remain outside these groups. The active process opens by default and collapses when finished; your manual expansion or collapse takes precedence. Missing public reasoning does not create an empty card, and reasoning text is not an execution status. File details still open in the existing dialog.</p><p>A reasoning preview appears above each process status row and in collapsed reasoning rows. It uses the latest valid public reasoning record within the corresponding scope, whether a summary or visible content, and extracts the first clause of its first non-empty line after removing leading heading or bold formatting. An older summary does not override later reasoning. Long previews use a single-line ellipsis according to the available width. Expand reasoning to read the full original text; a preview does not indicate execution status.</p><p>Scroll upward to the top of the conversation to load earlier messages. Earlier content is inserted above the existing messages while preserving your current message and its position in the viewport, without jumping to the start of the new page. Continue scrolling upward to read the earlier messages. If the top history marker remains in the viewport after the initial load, one additional page loads automatically while preserving your reading position; this does not continue through the entire history. No load button appears while idle, and loading or retrying shows only a small ring. After a failure, select <strong>Failed to load. Retry</strong> without clearing the messages already loaded. Once all history is loaded, no loading control or beginning-of-conversation message appears. <strong>Sending</strong> means the message is being submitted, not that the Agent has started. Activity comes from Node; when no specific action is available, the display says <strong>Running</strong> without inventing a reasoning summary. Run duration uses its start and completion times, including waits and continuation within that Run. Missing reliable timestamps hide the duration; a new Run after a Node restart starts a new clock.</p><p>Use the session list to reopen, rename, pin, reorder, or delete sessions. On supported Nodes, title search is executed by Node against the selected Workspace's native Agent sessions, so it can find sessions that have not been loaded into the browser. Clear the search to restore the normal list. Search and pagination stay within the selected Workspace. Deleting removes the native Agent session record and cannot be undone; it does not delete Workspace files.</p><p>Working sessions hide Delete. If a session starts working during deletion confirmation, the operation is not submitted. Rename and Pin remain available.</p><p>On supported Nodes, choose <strong>Session Prompt</strong> from an existing session's More menu to save multiline instructions of up to 20,000 characters. Leave it blank and save to clear it. The setting belongs only to that session and survives reopening or a Node restart. It is appended after the sender's shared and Agent-specific personal instructions, without replacing account settings or appearing as an ordinary message.</p><p>Changes do not interrupt the current execution. They apply from the next execution, including queued messages, Goal continuation, and messages sent to that session through marctl. You can also <a href="./../operations/marctl#persistent-instructions-and-approvals">read, set, or clear the prompt with marctl</a>. Clearing stops future injection; it does not remove old instructions already in the Agent's conversation history. Start a new session if you need to isolate old instructions completely. Hosted conversations do not offer this setting.</p><p>Sessions discovered from an external Agent appear normally. Their first message automatically validates and activates a safe continuation path; if validation fails, no Run is created.</p><p>The first session load after a Node restart waits for native Agent discovery. Sessions can appear in separate batches as each Agent finishes; a slower Agent does not delay sessions already discovered. Custom titles are preserved when the corresponding session is found, rather than showing undiscovered historical sessions as new sessions first.</p><h2 id="clean-up-sessions" tabindex="-1">Clean up sessions <a class="header-anchor" href="#clean-up-sessions" aria-label="Permalink to "Clean up sessions""></a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list's More menu, enter 1–365 days (30 by default), and confirm. Sessions whose activity predates the selected cutoff and sessions with unknown activity times, shown as <code>—</code>, are included. Unknown activity times are included regardless of the number of days. Pinned, running, queued, restarting, or currently viewed sessions are kept. After complete discovery succeeds, local-only records belonging to an available Agent are removed directly, without extra native-presence probes. This does not delete undiscovered native content.</p><p>Child sessions are evaluated by their own activity times, so a long-lived parent does not prevent expired children from being cleaned up. An eligible parent is deleted with all its descendants, even if a descendant is recent, pinned, queued, or currently viewed. A running or restarting descendant protects its ancestors from deletion. MAR Agent uses native batch deletion for the cascade, and counts include all members actually deleted.</p><p>Cleanup permanently deletes matching native sessions and cannot be undone; it does not delete Workspace files. The dialog shows the actual deleted, skipped, and failed counts, including deletions by Agent.</p><p>Cleanup runs within a time budget. When the budget is reached, the dialog shows <strong>Cleanup partially complete</strong> and actual settled counts, not a failure. Unprocessed records are not counted as failed; <strong>Not processed</strong> shows the remaining count when known. Run cleanup again to process the remainder. An admitted deletion settles before the response, and no new deletions start afterward. An offline Node or unavailable result still produces an error.</p><h2 id="share-a-work-session" tabindex="-1">Share a work session <a class="header-anchor" href="#share-a-work-session" aria-label="Permalink to "Share a work session""></a></h2><p>Choose <strong>Share conversation</strong> from a regular work session's More menu. Expiration is optional; leaving it blank creates a permanent link. Creation shows share text containing the link and a random six-digit password. Choose <strong>Copy</strong> to copy the entire text. Existing records appear below; you can copy the same complete share text at any time, open their links, or delete them. For older records without a recoverable password, enter the original password once when copying. After verification, future copies work directly; the original link and password remain unchanged.</p><p>The header shows the session title and Workspace name. Visitors enter the password to open a standalone chat without a Console account. Access credentials, the anonymous visitor identity, and the name requested before the first message are saved in that browser and restored after refresh or reopening. The Participants panel lists the sharer first, followed by participants viewing any share link for the same session. Anonymous identity and name are shared across links in the same browser. Use the edit button beside your own visitor name to change it across open share pages. Canceling leaves the name unchanged and does not send a message. Visitor names match message authors and are never merged or hidden by Console sign-in; unnamed visitors appear anonymously. The fixed sharer entry shows the account nickname, falling back to the username. The sharer’s green dot appears only while they have a share page open and disappears when their last page closes. Display names do not grant authorization.</p><p>Visitors see the original session's entire history and future messages. They use its Agent and settings as the sharer, including messages, attachments, file and skill references, queuing, insertion, and interruption. Concurrent control uses the same shared state and mutual exclusion as opening the session in multiple browsers. The share page hides the model, reasoning effort, access mode, and context usage and its tooltip. There is no input prediction or Workspace management area. File links still open read-only previews, including separate file windows and Markdown or HTML rendering. Read-only mode does not prevent HTML scripts from running. Only preview trusted files; see <a href="./files#steps">HTML preview risks</a>.</p><p><strong>Give the link and password only to people you trust.</strong> Signing out as the sharer does not revoke a link; delete its record to stop access. Deletion or expiration immediately disables that link's chat pages and rejects further reads and messages, without stopping already accepted tasks or retracting content visitors have read. Other links and the original Console remain available.</p><h2 id="automatic-continuation-after-orderly-shutdown" tabindex="-1">Automatic continuation after orderly shutdown <a class="header-anchor" href="#automatic-continuation-after-orderly-shutdown" aria-label="Permalink to "Automatic continuation after orderly shutdown""></a></h2><p>In regular Workspaces, MAR Agent can continue after Node receives <code>SIGTERM</code> or <code>SIGINT</code>, finishes an orderly shutdown, and starts again. A later manual start after a normal stop also qualifies. After reconnecting to Server, Node rechecks current user and model authorization before restoring unfinished work, Goals, and the message queue in the same native session. A previously paused queue stays paused. New messages and queue changes are temporarily blocked for that session during recovery.</p><p>Ordinary runs show a “System restart continuation” history entry, not a message attributed to manual user input. An active Goal gets one Goal continuation without an additional ordinary continuation. The prompt asks the Agent to inspect the current state after a system restart before continuing. Old tool processes, terminals, approvals, questions, and background cells are not restored, and external actions are not guaranteed to happen exactly once. Queued inputs are prepared again in their original order, including their attachments; old attachment preview URLs are not guaranteed to remain valid.</p><p>Unexpected exits, forced kills, power loss, failed handoffs, other Agents, hosted conversations, and administrator-controlled upgrades are excluded. Lost access, unavailable models, or inputs that cannot be rebuilt never bypass validation; check Node diagnostics and take over manually. A handoff is consumed once, not retried on every startup.</p><h2 id="navigation" tabindex="-1">Navigation <a class="header-anchor" href="#navigation" aria-label="Permalink to "Navigation""></a></h2><p>The session list, Recent Sessions, and Quick Open open sessions in Main. Clicking a notification in the panel, a browser system notification, or an <a href="./navigation">unread Workspace tab</a> keeps an already selected Main session in place. If the session is open only in Aside and Aside can be shown, the jump activates it there without replacing your Main session. On desktop, a brief outline shows where it opened. If the session is not open or Aside cannot be shown, it opens in Main without closing any existing Aside tab. Explicit <strong>Open in Main</strong> and <strong>Open in Aside</strong> actions still use the pane you choose.</p><p>Clicking the selected Workspace tree entry or jumping to an already open session does not explicitly refresh content or reset your reading position. Repeated selections also leave an in-progress load alone. Use the corresponding refresh action when you need updated data.</p><h2 id="scheduled-tasks" tabindex="-1">Scheduled tasks <a class="header-anchor" href="#scheduled-tasks" aria-label="Permalink to "Scheduled tasks""></a></h2><p>Open the calendar-with-check icon beside <strong>Work</strong> to see <strong>Scheduled tasks</strong>, or open it from an existing session's menu to filter the same page to that session. <strong>My schedules</strong> shows tasks you created and can still access. <strong>All schedules</strong> includes other tasks you can see. Both pages can be filtered by Workspace; the node name distinguishes Workspaces with the same name. Task cards load 20 at a time. Select a page on desktop, or scroll to the bottom on mobile to load more automatically. Each task card shows its next run. Offline nodes may show only their last synced task summaries; editing and viewing execution records require an online node.</p><p><strong>Session schedules</strong> shows the current session name even if it has no tasks. Select <strong>Back to all schedules</strong> to return to the global list. New schedules created here are locked to this node, Workspace, and session. Opening a conversation notification leaves the schedules page and shows the target conversation.</p><ol><li>Select <strong>New schedule</strong>, then choose an online node, a Workspace, and a run target. Reuse an existing session or choose <strong>Create a session each time</strong> and select an Agent and a fixed model. Selecting a model sets its default reasoning effort, which you can change if the model supports it. Existing sessions use their settings at trigger time. Hosted conversations do not support scheduling.</li><li>Enter a name and a task prompt. In <strong>Run times</strong>, add one row for each clock time. Set it to <strong>Once</strong>, <strong>Daily</strong>, <strong>Weekly</strong>, or <strong>Monthly</strong>. For <strong>Once</strong>, the node suggests the next date for that time; you can change it. Weekly and monthly schedules can select multiple weekdays or days of the month. If a month has no day 31, that date is skipped. Overlapping times within one task trigger only once. Create separate tasks if different times need different prompts.</li><li>Check the upcoming triggers in the displayed Node time zone and save. The task runs as its creator; editing does not change that account. Run notifications are off by default. Enable them if you want alerts; turning them off keeps the execution records and does not suppress change-proposal notifications.</li></ol><p>Only one-time schedules can catch up after a missed time, within the wait limit you set. Catch-up is off by default. After upgrading from the old scheduling format, existing tasks are paused until you set new run times. The tasks and execution records are kept.</p><p>Click an online task card to view its details without leaving the list. Click the linked session name to open that session. Offline cards show only a summary. Use <strong>Edit</strong> to change a task you created. <strong>Execution records</strong> on a card opens that task’s records without leaving the list. The <strong>Execution records</strong> section in the navigation shows all authorized tasks and can be filtered by Workspace. On desktop, switch pages below the table. On mobile, scroll to the end of the table to load more records. Open a record to see the prompt at trigger time and any recorded start and end times. When you have access to the original run, the details also show its ID and status and let you open the session where it ran. Renaming a task or changing only its prompt does not reschedule it; changing the run times or re-enabling a task recalculates upcoming triggers. <strong>Schedule finished</strong> means there are no more dates, not that every run succeeded.</p><p>A session with an enabled task that still has upcoming triggers is pinned and shows the schedule icon. Pausing, finishing, or deleting a task does not automatically unpin the session. Pausing keeps the execution records; deleting the task removes them. If a trigger is still being processed, pause the task and wait for that trigger to settle before deleting. Deleting the target session pauses its tasks and marks them for rebinding rather than switching them to create new sessions.</p><p>If a task did not run, inspect its execution record. A busy session or an unavailable service can cause a recurring trigger to be skipped without a bulk catch-up. A trigger matching a specific date can wait within the configured limit (0–60 minutes; new tasks default to 0, meaning no waiting). The creator must still have permission at execution time; waiting does not bypass that check. <strong>Outcome unknown</strong> does not prove the task did not run, so verify the run or external result before repeating it manually.</p><p>Scheduled runs automatically approve tool permission requests, including third-party MCP tools; Agent sandboxes and host restrictions still apply, and questions still need user input. In a regular Workspace, MAR Agent uses the built-in <code>marctl</code> skill when available. Without it, or with another supported Agent, the built-in <code>mar_schedule</code> MCP can list, read, create, and update the current session's tasks and read their trigger records. No installation is needed. An update requires the task and its current revision; edits to another user's task become proposals for its creator to resolve. For cross-session task management in the authorized Workspace, see <a href="./../operations/marctl#scheduled-tasks">Scheduled tasks with marctl</a>. These tools do not manage system schedulers or CI.</p>',50)])])}const g=s(o,[["render",i]]);export{u as __pageData,g as default};
|
|
1
|
+
import{_ as s,o as t,c as n,a3 as o}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Create and Manage Sessions","description":"","frontmatter":{"title":"Create and Manage Sessions","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/sessions.md","filePath":"en-US/workbench/sessions.md"}'),a={name:"en-US/workbench/sessions.md"};function i(r,e,d,l,c,h){return t(),n("div",null,[...e[0]||(e[0]=[o('<h1 id="create-and-manage-sessions" tabindex="-1">Create and Manage Sessions <a class="header-anchor" href="#create-and-manage-sessions" aria-label="Permalink to "Create and Manage Sessions""></a></h1><p>On Nodes that advertise grouping, <strong>Main Sessions / Child Sessions</strong> separates the session list and defaults to Main Sessions. Sessions with a parent relationship appear under Child Sessions; sessions without one appear under Main Sessions. Search and pagination stay within the selected group. Switching groups does not close the conversation or interrupt work. Each Workspace remembers its group for the current page only; reloading defaults to Main Sessions. A Node without grouping capability retains the mixed list.</p><p>Group tabs show only their names and selected state, without running counts or unread badges. Clicking a tab only switches the list; it does not open a session. Individual session rows retain their running and unread indicators. Notifications, recent-session items, and Workspace tabs synchronize Main / Child Sessions when they open a target session.</p><p>Click or tap the conversation title to share or rename the session, view its tree, or manage its prompt and scheduled task where supported. To choose where a session opens, pin it, reorder it, or delete it, use the session list's More menu. <strong>Copy session ID</strong> is available from the title, list, and tree-node menus; the ID is not shown in the header. Open the tree with its icon on the right of the title bar or from the title or list menu. Hovering does not open it. Selecting a tree node opens it in Aside by default; its menu can open it in the main work area instead. Click outside, press Escape, or use mobile Back to dismiss the tree.</p><p>The tree shows the direct parent and recursive descendants, and updates running, sleeping, and idle states from the Workspace while open. Sibling sessions are ordered by active branches first, then by most recent activity, with unknown times last. Loading shows only a spinner without darkening the background. When there are more than 100 descendants, this order is applied before selecting up to 100 sessions, including the ancestors needed to connect them. Truncation is indicated, and activity summaries still cover all descendants.</p><p>A session can be open in both the main work area and Aside. Opening either side does not close the other, and reopening the same location does not refresh its conversation. Each Workspace keeps independent Main and Aside drafts for message text, skill tags, and references. Switching sessions or starting a new session on one side preserves its input; switching Workspaces restores that Workspace's draft for each side. Even the same session has independent input on both sides, while concurrent duplicate submissions are still prevented. Queued-message edits remain bound to their original session. Closing an Aside session tab stops displaying the conversation there; it does not end the Agent's task, delete the session, or close the main work area.</p><p>In work mode, closing a Workspace preserves its drafts in the current browser tab for reopening. Signing out or losing authentication clears that tab’s saved input drafts and queued-message edits so another account cannot restore them. Save important unsent content elsewhere first. This does not delete messages already sent or queued.</p><p>Aside keeps at most one session tab per Workspace. Opening another session replaces the previous session tab while preserving Aside's current input and leaving the previous session's task running. Tool tabs such as Files and Terminal are unaffected.</p><p>Agent operations and messages from other sessions appear in the <a href="./conversation">Agent collaboration</a> group inside the work process. The group does not provide session shortcuts. To view a target session, send a message, or stop its run, open it from the session list or session tree. Normal session permissions still apply.</p><p>When an Agent sends a message or sets a Goal on an ancestor session that has ended or is stopping, the operation returns <code>AGENT_ANCESTOR_NOT_ACTIVE</code> without restarting it. Sending works again once the ancestor is running. Users can still resume sessions manually.</p><p>Expand an execution record to inspect the available command or code, output, working directory, exit code, and status. Each call has its own record. <strong>Copy public record</strong> copies that record's available public information, which can be truncated; older Nodes may provide fewer details.</p><p>A regular work session must execute in the selected Workspace's valid root or a subdirectory. An independently registered Git worktree uses its own Workspace. Node rejects new execution if the directory disappears, the registered root is replaced, or a link escapes the Workspace; it does not silently switch directories. If queued messages are paused for this reason, restore a valid directory and use <strong>Resume</strong> in the queue. Messages and attachments are retained and can still be removed through the existing queue controls. This check does not make work mode a host filesystem sandbox or change hosted-conversation isolation.</p><p>When there is no session to restore, the main work area shows a new session draft, even if the list contains previous sessions. Start typing or select an existing session from the list. A new session is created only when its first message is accepted. On supported Nodes, selecting <strong>New Session</strong> or using its shortcut switches the list to Main Sessions. Manually switching groups afterward does not change the Composer draft.</p><p>The session list initially loads up to 30 sessions. Scrolling near the bottom automatically loads up to 30 more; search results continue in the same way. New sessions remain visible in the current list. A small ring marks the pending page. A failure preserves the loaded sessions and pauses automatic loading; select <strong>Failed to load. Retry</strong> at the bottom to continue. Retrying shows only the ring.</p><p>An initial or earlier-history load failure does not trigger repeated automatic requests. Select <strong>Failed to load. Retry</strong> in the conversation to read again; loading and retrying show only a ring. The same failure does not also produce a popup. The retry control's supplementary hint retains available error codes, details, and request identifiers. Established realtime subscriptions have bounded recovery, and reconnecting the page rebuilds subscriptions. These read or subscription recoveries never rerun an Agent task.</p><p>A conversation turn can contain several collapsible <strong>Work processes</strong>. Public reasoning text, tool calls, and file operations appear in their actual order; Agent replies, approvals, and questions remain outside these groups. The active process opens by default and collapses when finished; your manual expansion or collapse takes precedence. Missing public reasoning does not create an empty card, and reasoning text is not an execution status. File details still open in the existing dialog.</p><p>A reasoning preview appears above each process status row and in collapsed reasoning rows. It uses the latest valid public reasoning record within the corresponding scope, whether a summary or visible content, and extracts the first clause of its first non-empty line after removing leading heading or bold formatting. An older summary does not override later reasoning. Long previews use a single-line ellipsis according to the available width. Expand reasoning to read the full original text; a preview does not indicate execution status.</p><p>Scroll upward to the top of the conversation to load earlier messages. Earlier content is inserted above the existing messages while preserving your current message and its position in the viewport, without jumping to the start of the new page. Continue scrolling upward to read the earlier messages. If the top history marker remains in the viewport after the initial load, one additional page loads automatically while preserving your reading position; this does not continue through the entire history. No load button appears while idle, and loading or retrying shows only a small ring. After a failure, select <strong>Failed to load. Retry</strong> without clearing the messages already loaded. Once all history is loaded, no loading control or beginning-of-conversation message appears. <strong>Sending</strong> means the message is being submitted, not that the Agent has started. Activity comes from Node; when no specific action is available, the display says <strong>Running</strong> without inventing a reasoning summary. Run duration uses its start and completion times, including waits and continuation within that Run. Missing reliable timestamps hide the duration; a new Run after a Node restart starts a new clock.</p><p>Use the session list to reopen, rename, pin, reorder, or delete sessions. On supported Nodes, title search is executed by Node against the selected Workspace's native Agent sessions, so it can find sessions that have not been loaded into the browser. Clear the search to restore the normal list. Search and pagination stay within the selected Workspace. Deleting removes the native Agent session record and cannot be undone; it does not delete Workspace files.</p><p>Working sessions hide Delete. If a session starts working during deletion confirmation, the operation is not submitted. Rename and Pin remain available.</p><p>On supported Nodes, choose <strong>Session Prompt</strong> from an existing session's More menu to save multiline instructions of up to 20,000 characters. Leave it blank and save to clear it. The setting belongs only to that session and survives reopening or a Node restart. It is appended after the sender's shared and Agent-specific personal instructions, without replacing account settings or appearing as an ordinary message.</p><p>Changes do not interrupt the current execution. They apply from the next execution, including queued messages, Goal continuation, and messages sent to that session through marctl. You can also <a href="./../operations/marctl#persistent-instructions-and-approvals">read, set, or clear the prompt with marctl</a>. Clearing stops future injection; it does not remove old instructions already in the Agent's conversation history. Start a new session if you need to isolate old instructions completely. Hosted conversations do not offer this setting.</p><p>Sessions discovered from an external Agent appear normally. Their first message automatically validates and activates a safe continuation path; if validation fails, no Run is created.</p><p>The first session load after a Node restart waits for native Agent discovery. Sessions can appear in separate batches as each Agent finishes; a slower Agent does not delay sessions already discovered. Custom titles are preserved when the corresponding session is found, rather than showing undiscovered historical sessions as new sessions first.</p><h2 id="clean-up-sessions" tabindex="-1">Clean up sessions <a class="header-anchor" href="#clean-up-sessions" aria-label="Permalink to "Clean up sessions""></a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list's More menu, enter 1–365 days (30 by default), and confirm. Sessions whose activity predates the selected cutoff and sessions with unknown activity times, shown as <code>—</code>, are included. Unknown activity times are included regardless of the number of days. Pinned, running, queued, restarting, or currently viewed sessions are kept. After complete discovery succeeds, local-only records belonging to an available Agent are removed directly, without extra native-presence probes. This does not delete undiscovered native content.</p><p>Child sessions are evaluated by their own activity times, so a long-lived parent does not prevent expired children from being cleaned up. An eligible parent is deleted with all its descendants, even if a descendant is recent, pinned, queued, or currently viewed. A running or restarting descendant protects its ancestors from deletion. MAR Agent uses native batch deletion for the cascade, and counts include all members actually deleted.</p><p>Cleanup permanently deletes matching native sessions and cannot be undone; it does not delete Workspace files. The dialog shows the actual deleted, skipped, and failed counts, including deletions by Agent.</p><p>Cleanup runs within a time budget. When the budget is reached, the dialog shows <strong>Cleanup partially complete</strong> and actual settled counts, not a failure. Unprocessed records are not counted as failed; <strong>Not processed</strong> shows the remaining count when known. Run cleanup again to process the remainder. An admitted deletion settles before the response, and no new deletions start afterward. An offline Node or unavailable result still produces an error.</p><h2 id="share-a-work-session" tabindex="-1">Share a work session <a class="header-anchor" href="#share-a-work-session" aria-label="Permalink to "Share a work session""></a></h2><p>Choose <strong>Share conversation</strong> from a regular work session's More menu. Expiration is optional; leaving it blank creates a permanent link. Creation shows share text containing the link and a random six-digit password. Choose <strong>Copy</strong> to copy the entire text. Existing records appear below; you can copy the same complete share text at any time, open their links, or delete them. For older records without a recoverable password, enter the original password once when copying. After verification, future copies work directly; the original link and password remain unchanged.</p><p>The header shows the session title and Workspace name. Visitors enter the password to open a standalone chat without a Console account. Access credentials, the anonymous visitor identity, and the name requested before the first message are saved in that browser and restored after refresh or reopening. The Participants panel lists the sharer first, followed by participants viewing any share link for the same session. Anonymous identity and name are shared across links in the same browser. Use the edit button beside your own visitor name to change it across open share pages. Canceling leaves the name unchanged and does not send a message. Visitor names match message authors and are never merged or hidden by Console sign-in; unnamed visitors appear anonymously. The fixed sharer entry shows the account nickname, falling back to the username. The sharer’s green dot appears only while they have a share page open and disappears when their last page closes. Display names do not grant authorization.</p><p>Visitors see the original session's entire history and future messages. They use its Agent and settings as the sharer, including messages, attachments, file and skill references, queuing, insertion, and interruption. Concurrent control uses the same shared state and mutual exclusion as opening the session in multiple browsers. The share page hides the model, reasoning effort, access mode, and context usage and its tooltip. There is no input prediction or Workspace management area. File links still open read-only previews, including separate file windows and Markdown or HTML rendering. Read-only mode does not prevent HTML scripts from running. Only preview trusted files; see <a href="./files#steps">HTML preview risks</a>.</p><p><strong>Give the link and password only to people you trust.</strong> Signing out as the sharer does not revoke a link; delete its record to stop access. Deletion or expiration immediately disables that link's chat pages and rejects further reads and messages, without stopping already accepted tasks or retracting content visitors have read. Other links and the original Console remain available.</p><h2 id="automatic-continuation-after-orderly-shutdown" tabindex="-1">Automatic continuation after orderly shutdown <a class="header-anchor" href="#automatic-continuation-after-orderly-shutdown" aria-label="Permalink to "Automatic continuation after orderly shutdown""></a></h2><p>In regular Workspaces, MAR Agent can continue after Node receives <code>SIGTERM</code> or <code>SIGINT</code>, finishes an orderly shutdown, and starts again. A later manual start after a normal stop also qualifies. After reconnecting to Server, Node rechecks current user and model authorization before restoring unfinished work, Goals, and the message queue in the same native session. A previously paused queue stays paused. New messages and queue changes are temporarily blocked for that session during recovery.</p><p>Ordinary runs show a “System restart continuation” history entry, not a message attributed to manual user input. An active Goal gets one Goal continuation without an additional ordinary continuation. The prompt asks the Agent to inspect the current state after a system restart before continuing. Old tool processes, terminals, approvals, questions, and background cells are not restored, and external actions are not guaranteed to happen exactly once. Queued inputs are prepared again in their original order, including their attachments; old attachment preview URLs are not guaranteed to remain valid.</p><p>Unexpected exits, forced kills, power loss, failed handoffs, other Agents, hosted conversations, and administrator-controlled upgrades are excluded. Lost access, unavailable models, or inputs that cannot be rebuilt never bypass validation; check Node diagnostics and take over manually. A handoff is consumed once, not retried on every startup.</p><h2 id="navigation" tabindex="-1">Navigation <a class="header-anchor" href="#navigation" aria-label="Permalink to "Navigation""></a></h2><p>The session list, Recent Sessions, and Quick Open open sessions in Main. Clicking a notification in the panel, a browser system notification, or an <a href="./navigation">unread Workspace tab</a> keeps an already selected Main session in place. If the session is open only in Aside and Aside can be shown, the jump activates it there without replacing your Main session. On desktop, a brief outline shows where it opened. If the session is not open or Aside cannot be shown, it opens in Main without closing any existing Aside tab. Explicit <strong>Open in Main</strong> and <strong>Open in Aside</strong> actions still use the pane you choose.</p><p>Clicking the selected Workspace tree entry or jumping to an already open session does not explicitly refresh content or reset your reading position. Repeated selections also leave an in-progress load alone. Use the corresponding refresh action when you need updated data.</p><h2 id="scheduled-tasks" tabindex="-1">Scheduled tasks <a class="header-anchor" href="#scheduled-tasks" aria-label="Permalink to "Scheduled tasks""></a></h2><p>Open the calendar-with-check icon beside <strong>Work</strong> to see <strong>Scheduled tasks</strong>, or open it from an existing session's menu to filter the same page to that session. <strong>My schedules</strong> shows tasks you currently own and can still access. <strong>All schedules</strong> includes other tasks you can see. Both pages can be filtered by Workspace; the node name distinguishes Workspaces with the same name. Task cards load 20 at a time. Select a page on desktop, or scroll to the bottom on mobile to load more automatically. Each task card shows its next run. Offline nodes may show only their last synced task summaries; editing and viewing execution records require an online node.</p><p><strong>Session schedules</strong> shows the current session name even if it has no tasks. Select <strong>Back to all schedules</strong> to return to the global list. New schedules created here are locked to this node, Workspace, and session. Opening a conversation notification leaves the schedules page and shows the target conversation.</p><ol><li>Select <strong>New schedule</strong>, then choose an online node, a Workspace, and a run target. Reuse an existing session or choose <strong>Create a session each time</strong> and select an Agent and a fixed model. Selecting a model sets its default reasoning effort, which you can change if the model supports it. Existing sessions use their settings at trigger time. Hosted conversations do not support scheduling.</li><li>Enter a name and a task prompt. In <strong>Run times</strong>, add one row for each clock time. Set it to <strong>Once</strong>, <strong>Daily</strong>, <strong>Weekly</strong>, or <strong>Monthly</strong>. For <strong>Once</strong>, the node suggests the next date for that time; you can change it. Weekly and monthly schedules can select multiple weekdays or days of the month. If a month has no day 31, that date is skipped. Overlapping times within one task trigger only once. Create separate tasks if different times need different prompts.</li><li>Check the upcoming triggers in the displayed Node time zone and save. The task runs as its current owner. Saving an edit or accepting a proposal on the web makes you the owner. Opening, cancelling, or rejecting a proposal does not. Run notifications are off by default. Enable them if you want alerts; turning them off keeps the execution records and does not suppress change-proposal notifications.</li></ol><p>Only one-time schedules can catch up after a missed time, within the wait limit you set. Catch-up is off by default. After upgrading from the old scheduling format, existing tasks are paused until you set new run times. The tasks and execution records are kept.</p><p>On supported nodes, <strong>Run times</strong> also offers <strong>Hourly</strong>. Select minutes instead of a clock time. The default is <code>00</code> (on the hour); selecting <code>15</code> and <code>45</code> runs the task at :15 and :45 past each hour. You can combine it with other rules; matching rules trigger only once in the same minute.</p><p>If you have access to operate the Workspace, click an online task card to edit it, even if someone else created it. Workspace members with access can also delete tasks and resolve proposals. Offline tasks cannot be edited or deleted. If a saved fixed model is no longer selectable, you can keep that target and edit other settings. The model must still be available at execution time. Use the linked session control on an online card to open that session. <strong>Execution records</strong> on a card opens that task’s records without leaving the list. The <strong>Execution records</strong> section in the navigation shows all authorized tasks and can be filtered by Workspace. On desktop, switch pages below the table. On mobile, scroll to the end of the table to load more records. Open a record to see the prompt at trigger time and any recorded start and end times. When you have access to the original run, the details also show its ID and status and let you open the session where it ran. Renaming a task or changing only its prompt does not reschedule it; changing the run times or re-enabling a task recalculates upcoming triggers. <strong>Schedule finished</strong> means there are no more dates, not that every run succeeded.</p><p>A session with an enabled task that still has upcoming triggers is pinned and shows the schedule icon. Pausing, finishing, or deleting a task does not automatically unpin the session. Pausing keeps the execution records; deleting the task removes them. If a trigger is still being processed, pause the task and wait for that trigger to settle before deleting. Deleting the target session pauses its tasks and marks them for rebinding rather than switching them to create new sessions.</p><p>If a task did not run, inspect its execution record. A busy session or an unavailable service can cause a recurring trigger to be skipped without a bulk catch-up. A trigger matching a specific date can wait within the configured limit (0–60 minutes; new tasks default to 0, meaning no waiting). The owner must still have permission at execution time; waiting does not bypass that check. <strong>Outcome unknown</strong> does not prove the task did not run, so verify the run or external result before repeating it manually.</p><p>Scheduled runs automatically approve tool permission requests, including third-party MCP tools; Agent sandboxes and host restrictions still apply, and questions still need user input. In a regular Workspace, MAR Agent uses the built-in <code>marctl</code> skill when available. Without it, or with another supported Agent, the built-in <code>mar_schedule</code> MCP can list, read, create, and update the current session's tasks and read their trigger records. No installation is needed. An update requires the task and its current revision; edits to another user's task become proposals that authorized Workspace members can resolve on the web. For cross-session task management in the authorized Workspace, see <a href="./../operations/marctl#scheduled-tasks">Scheduled tasks with marctl</a>. These tools do not manage system schedulers or CI.</p>',51)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s,o as t,c as n,a3 as
|
|
1
|
+
import{_ as s,o as t,c as n,a3 as o}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Create and Manage Sessions","description":"","frontmatter":{"title":"Create and Manage Sessions","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/sessions.md","filePath":"en-US/workbench/sessions.md"}'),a={name:"en-US/workbench/sessions.md"};function i(r,e,d,l,c,h){return t(),n("div",null,[...e[0]||(e[0]=[o("",51)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
|
package/web/docs/assets/{operations_marctl.md.ZlO6mUvM.js → operations_marctl.md.C23I-1aM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),t={name:"operations/marctl.md"};function o(d,s,p,l,c,h){return a(),i("div",null,[...s[0]||(s[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
2
|
<span class="line"><span>marctl help ssh</span></span>
|
|
3
3
|
<span class="line"><span>marctl ssh --help</span></span>
|
|
4
4
|
<span class="line"><span>marnodes --help</span></span>
|
|
@@ -7,16 +7,17 @@ import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k
|
|
|
7
7
|
<span class="line"><span>marctl --version</span></span>
|
|
8
8
|
<span class="line"><span>marnodes --version</span></span>
|
|
9
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> 可省略会话 ID,默认使用执行上下文中的当前会话;显式 ID 优先,没有当前会话时明确报错,不猜测最近会话。<code>send/goal/stop/wait/approval</code> 始终要求显式目标 ID;<code>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><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><code>marctl agents schedule</code> 在当前授权的普通 Workspace 中操作。<code>list</code>
|
|
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> 可省略会话 ID,默认使用执行上下文中的当前会话;显式 ID 优先,没有当前会话时明确报错,不猜测最近会话。<code>send/goal/stop/wait/approval</code> 始终要求显式目标 ID;<code>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><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><code>marctl agents schedule</code> 在当前授权的普通 Workspace 中操作。<code>list</code> 默认查整个工作区,返回精简的 <code>tasks[]</code> 和 <code>nextCursor</code>。用 <code>--current</code> 只列当前会话的任务,或用 <code>--session <session-id></code> 筛选指定会话,两者不能混用;没有当前会话时 <code>--current</code> 会报错。用 <code>--cursor</code> 继续分页时保留原筛选条件。<code>get</code>、<code>update</code> 和 <code>runs</code> 必须传入 <code>--task <task-id></code>,不能用会话 ID 代替。<code>runs</code> 以 <code>--page</code> 翻页,默认第一页,返回触发时间、结果及可用的运行引用,不返回提示词正文。</p><p><code>create</code> 每次新建一项独立任务,不覆盖原有任务。默认绑定当前会话;可用 <code>--session <session-id></code> 指定同一 Workspace 的会话。如果希望每次触发都新建会话,改用 <code>--new-session --runner <runner></code>,并在 <code>--model-id <id></code> 与 <code>--default-model</code> 中二选一,可选 <code>--effort <value></code>。没有当前会话时须明确选择目标。</p><p>直接对 Agent 说「18 点检查构建」新建任务时,未要求重复则按单次处理。Node 时区已知且没有其他日期含义时,取下一次到达 18 点的日期;日期或时区不明确时,Agent 只确认缺失的信息。创建成功后可直接从回执看到下次触发时间和时区。只修改已有任务的某个执行时刻时,Agent 保留未要求修改的时刻和周期。</p><p>将创建回执或列表中的 <code>taskId</code> 用作 <code>TASK_ID</code>,并将详情中的当前 <code>revision</code> 用作 <code>REVISION</code>:</p><div class="language-sh vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">sh</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> list</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --current</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --limit</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 20</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
|
|
11
11
|
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> create</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --name</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'Build review'</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --triggers-file</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> triggers.json</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -m</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'Check build results'</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
|
|
12
12
|
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> get</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --task</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
|
|
13
13
|
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> update</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --task</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --expected-revision</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$REVISION</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --message-file</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> task.txt</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
|
|
14
|
-
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> runs</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --task</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --page</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 1</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span></code></pre></div><p><code>--triggers-file</code> 读取 UTF-8 JSON 数组,不接收 Cron
|
|
14
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">marctl</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> agents</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> schedule</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> runs</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --task</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --page</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 1</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span></code></pre></div><p><code>--triggers-file</code> 读取 UTF-8 JSON 数组,不接收 Cron 表达式。每小时规则 <code>hourly</code> 使用非空的 <code>minutes</code> 数组(整数 0–59),不填 <code>time</code>;其他规则各填一个 <code>HH:mm</code> 时刻。新任务使用 Node 时区,更新沿用任务已保存的时区。<code>once</code> 必须填写明确的未来日期;CLI 不代为建议日期。以下 <code>triggers.json</code> 中的每小时规则在每小时的第 15 和 45 分钟触发:</p><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[</span></span>
|
|
15
15
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"kind"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"once"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"date"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"2030-03-21"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"time"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"14:30"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
|
|
16
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"kind"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"hourly"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"minutes"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">15</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">45</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">] },</span></span>
|
|
16
17
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"kind"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"daily"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"time"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"10:00"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
|
|
17
18
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"kind"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"weekly"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"time"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"09:00"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"weekdays"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">3</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">4</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">5</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">] },</span></span>
|
|
18
19
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"kind"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"monthly"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"time"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"09:00"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">"monthDays"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">15</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">] }</span></span>
|
|
19
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span></span></code></pre></div><p><code>weekly.weekdays</code> 使用 0(周日)至 6(周六),<code>monthly.monthDays</code> 使用 1 至 31;不存在的月日不会触发。更新时传入 <code>--triggers-file</code> 会整体替换所有触发时间,省略它则保留现有时间。用 <code>-m</code> 或 <code>--message-file</code> 提供任务正文,最多 20,000 字符。<code>--triggers-file</code> 与 <code>--message-file</code> 都支持 <code>-</code> 读 stdin,但同一命令只能有一个读取 stdin。</p><p
|
|
20
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span></span></code></pre></div><p><code>weekly.weekdays</code> 使用 0(周日)至 6(周六),<code>monthly.monthDays</code> 使用 1 至 31;不存在的月日不会触发。更新时传入 <code>--triggers-file</code> 会整体替换所有触发时间,省略它则保留现有时间。用 <code>-m</code> 或 <code>--message-file</code> 提供任务正文,最多 20,000 字符。<code>--triggers-file</code> 与 <code>--message-file</code> 都支持 <code>-</code> 读 stdin,但同一命令只能有一个读取 stdin。</p><p>更新至少指定名称、触发时间或正文之一。更新自己持有的任务直接生效;更新他人任务返回 <code>proposalId</code> 和 <code>baseRevision</code>。有工作区权限的成员可在 Web 中处理提议;接受后任务归接受者,后续按其身份执行。版本冲突时重新读取;写入结果未知时先核对任务,不要盲目重试。CLI 不提供启停、删除或提议审批;请在<a href="./../workbench/sessions#定时任务">定时任务页面</a>操作。</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>
|
|
20
21
|
<span class="line"><span>marctl agents current --json</span></span>
|
|
21
22
|
<span class="line"><span>marctl agents list --limit 20 --json</span></span>
|
|
22
23
|
<span class="line"><span>marctl agents list --query fixer#42 --json</span></span>
|
|
@@ -49,4 +50,4 @@ import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k
|
|
|
49
50
|
<span class="line"><span>marscp ./artifact.bin <node-id|node-name>:///existing/directory/</span></span>
|
|
50
51
|
<span class="line"><span>marscp <node-id|node-name>:///absolute/path/artifact.bin ./</span></span>
|
|
51
52
|
<span class="line"><span>marscp <node-id|node-name>:///absolute/path/artifact.bin ./artifact.bin</span></span>
|
|
52
|
-
<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>`,
|
|
53
|
+
<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>`,63)])])}const g=e(t,[["render",o]]);export{k as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as e,o as a,c as i,a3 as n}from"./chunks/framework.BHjrhdiC.js";const k=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-26T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),t={name:"operations/marctl.md"};function o(d,s,p,l,c,h){return a(),i("div",null,[...s[0]||(s[0]=[n("",63)])])}const g=e(t,[["render",o]]);export{k as __pageData,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,o,c as a,a3 as d}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"发送消息与使用 Composer","description":"","frontmatter":{"title":"发送消息与使用 Composer","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/composer.md","filePath":"workbench/composer.md"}'),r={name:"workbench/composer.md"};function l(n,e,c,p,i,s){return o(),a("div",null,[...e[0]||(e[0]=[d('<h1 id="发送消息与使用-composer" tabindex="-1">发送消息与使用 Composer <a class="header-anchor" href="#发送消息与使用-composer" aria-label="Permalink to "发送消息与使用 Composer""></a></h1><p>页面底部的消息输入区(Composer)用于选择 Agent 配置、输入消息、引用文件和管理队列。</p><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to "前置条件""></a></h2><p>已打开会话。对于由外部 Agent 发现的历史,首次发送会自动验证继续路径;若验证失败,不会创建 Run。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to "步骤""></a></h2><ol><li>新建工作区会话时,在欢迎提示中选择 Agent;在消息输入区选择模型、思考等级和权限。只会显示当前 Node 确认可用的选项。切换模型时,思考等级会自动切换为目标模型的默认等级,之后仍可手动选择该模型公开的其他等级。</li><li>输入消息。默认 Enter 发送;Shift/Alt+Enter 换行,具体快捷键见<a href="./../reference/keyboard-shortcuts">键盘快捷键</a>。</li><li>运行中按 Enter 发送的消息会进入队尾;按 <code>Ctrl+Enter</code> 可优先补充当前消息。Node 根据实际状态决定投递:MAR Agent 的当前执行可接收原生补充时,消息会立即回显,并在完整回复及工具批次结束后生效,不截断模型生成;受管等待可提前返回,后台任务继续,其他工具仍正常完成;其他 Agent 或配置不兼容时,仍沿停止后优先发送流程处理。补充正文会标识为工作期间收到的新增信息;空闲时与普通发送一致。包装说明不在消息中显示,附件和引用仍按原规则处理。</li><li>点击停止会立即进入停止中状态并暂停本会话队列;确认后再继续或调整队列。</li><li>输入 <code>/</code> 可选择当前 Agent 支持的命令,或在「技能」分组中选择当前工作区已加载的技能;点击命令或在菜单光标位于匹配命令时回车会执行命令。未知 <code>/xxx</code> 输入作为普通消息发送;已支持的 Slash 命令也可能接受参数,例如 <code>/goal <目标></code>。选中的技能显示为正文上方的标签,不会立即发送;点击标签关闭图标可以删除。正文已经为空且光标位于开头时,按 Backspace 会从后向前删除技能标签。正式发送时,所选技能按选择顺序作为资源输入传给 Agent,不在发送后的消息中回显。<code>@</code> 选中的文件与目录也采用可删除标签和相同的隐藏回显规则;实际上传附件仍显示文件列表。不支持的命令不会显示。</li><li>在“设置 → 快捷提示词”创建短语和提示词后,输入 <code>#短语</code> 可筛选并插入提示词正文。匹配忽略大小写,完全匹配排在前缀匹配和包含匹配之前;同级保持原顺序。默认选中首项,桌面端按 Enter 可插入。选择后只替换当前 <code>#短语</code>,不会自动发送,也不会移除其余输入或附件。</li></ol><p>粘贴普通文本时只保留纯文本格式,并可使用 <code>Ctrl/Command+Z</code> 整次撤销。达到 100 行或 10000 字符的长文本会在进入输入框前自动转换为 TXT 附件,以避免大段日志或代码导致页面卡顿;转换不会覆盖输入框原有内容,发送前仍需填写消息正文。</p><p>已上传但未发送的附件保留 1 小时;超过时间后需重新添加。</p><p>普通工作区内,同一侧 Composer 的正文与未发送附件会一起保留:切换会话或打开新建会话不会丢失附件,也不会重新上传。Main 与 Aside 各自独立,不同工作区也互不混用;切回原工作区可继续使用该侧的附件。附件仅保留在当前页面内存中,刷新或离开页面后需重新添加。</p><p>发送中的短暂提交窗口内,输入内容保留但暂时只读,避免下一条消息混入上一条;成功后清空已提交内容,失败或最长 5 秒超时后恢复编辑。普通工作区消息的迟到成功回包会移除已发送附件,保留之后编辑的文字和新添加的附件,无需切换会话。请求仍在途时移除附件只影响后续草稿,不撤销已发出的消息。</p><p>普通已有会话发送超时或网络结果未知时,页面保留草稿;不修改草稿再次发送会复用原消息身份。Node 在当前进程的有限保留窗口内返回原接收结果,即使该次运行已结束,也不会再次执行。Node 重启、记录淘汰或显式清空历史/删除会话后,人工重试仍可能重复执行;请先核对会话历史与实际结果。此保证不覆盖新建会话的首次请求,也不是永久去重保证。</p><p><strong>成功标志:</strong> 空闲时发送的消息立即开始并出现在对话中;运行中发送的普通消息先出现在输入区上方的队列,真正开始执行后才进入对话;<code>Working</code> 标签反映当前任务。</p><p>桌面可拖动队列项调整顺序;移动端长按队列项,在菜单中选择上移或下移。</p><p>编辑队列消息时,按 <code>Esc</code> 放弃未保存的修改并退出当前编辑,不停止运行。</p><p>点击队列项的“执行”(英文为 <strong>Steer</strong>)时,Node 重新判断实际运行状态:工作期间按温和的新增信息(steer)优先投递,空闲时普通发送。使用最新保存的正文,已有 steer 不重复包装;页面仍只显示正文和资源信息。自动按队列顺序执行不会因此变为 steer,目标激活和内部续作等特殊输入保留原语义。</p><p>MAR Agent 启动时收到的插入消息会等原消息写入后,再作为独立消息投递;不会因为还在启动就停止当前任务。原消息的正文和附件仍属于原消息。</p><p><a id="输入预测prompt-tab"></a></p><h2 id="输入预测-prompt-tab" tabindex="-1">输入预测 Prompt Tab <a class="header-anchor" href="#输入预测-prompt-tab" aria-label="Permalink to "输入预测 Prompt Tab""></a></h2><p>Prompt Tab 是手动触发操作,Composer Prediction(输入预测)用于根据当前会话和草稿意图生成完整指令,也支持空草稿下的自动预测。输入框下方状态条显示待触发、生成中或预测已就绪,并提供对应快捷键和操作;生成中显示动效,遵循系统减少动画设置。</p><p>管理员先在 <strong>管理 → MAR Agent 模型 → 高级 → Prompt Tab</strong> 配置模型和思考强度。全局能力默认开启,但未配置模型不会调用,也不会回退到会话主模型。在 <strong>设置 → 外观(Appearance)</strong> 开启“输入预测”;没有已保存偏好时默认开启,仅支持工作模式;已保存的关闭选择仍保持关闭。下拉框只有“关闭 / 开启”,选择立即生效并保存在当前浏览器;不上传或跨浏览器同步此偏好。</p><p>输入框获焦、浏览器处于前台时,快速按两次 <code>Tab</code>(约 300ms 内)请求,也可点击“生成”。空输入框在 placeholder 显示下一条消息建议;已有草稿时将草稿作为意图提示,灰字预览完整的新指令,采用前不修改原文。按 <code>Tab</code> 或点击“采用”整体替换草稿,之后仍需自行发送;可用原生撤销快捷键恢复原稿。选区和光标位置不影响生成;输入法组字和已打开的 Composer 菜单不触发预测。</p><p>生成中单按 <code>Tab</code> 即可取消;<code>Esc</code> 取消当前预测,不停止 Agent。已有候选旁有“取消”按钮;编辑正文或主动取消会清除候选,离开输入区域、窗口失焦或切回页面不会自动清空候选。候选到期、切换资源或权限失效时仍会清除。输入框始终拦截普通 <code>Tab</code>,即使未启用或暂不支持预测也不会丢失焦点,<code>Shift+Tab</code> 保持原行为。</p><p>草稿为空、浏览器页面可见且获焦、Node 支持自动预测时,当前会话按以下规则生成:</p><ul><li>进入当前会话:停留约 1 秒后自动检查,无需输入框聚焦,执行中和已结束均可。快速切走取消本次检查;历史仍在加载时,就绪后检查,不再额外等待完整的 1 秒。</li><li>新的 Agent 公开回复:收到回复时输入框已聚焦,发起前仍需聚焦;失焦收到的回复不会伪装成之后的新回复事件。</li><li>当前轮次结束:无需输入框聚焦。页面在后台时不请求,已收到的结束事件可在返回前台后处理。</li><li>输入框从失焦变为聚焦:执行中和已结束均检查;已有覆盖最新上下文的有效候选或在途请求时复用。</li></ul><p>重叠信号合并并限频,持续消息不重置进入会话的等待。每次进入只做一次检查,不同会话不继承上一会话的请求冷却。生成中遇到符合条件的新上下文,完成后至多补一次刷新,不并发打断;刷新期间保留仍有效的旧候选,新结果就绪后替换,不改动草稿或抢焦点。新回复或轮次结束不会因已有旧候选而跳过。历史加载只建立基线,不重放旧事件;先聚焦、后加载完成不会丢失进入检查。开始下一轮撤销上一轮尚未发出的结束事件,不取消当前会话的停留或聚焦检查。手动生成、编辑和取消清除本次待处理自动意图,取消按钮回焦不会立即重试;后续符合条件的新事件仍可触发。停留延迟指开始生成的时机,不保证届时已有候选。</p><p>工作模式的四种 Agent 共用此能力;托管对话不支持输入预测。Agent 执行中也可以手动请求,不必等待完成。请求会将草稿、当前对话、有界执行快照及获授权的工作区历史用户消息发送给配置的预测模型;历史参考不按作者筛选。Node 使用有界内存缓存,参考刷新不会调用模型;实际模型消耗计入发起用户的输入预测用量。请在采用前检查建议,不要把建议当成已完成工作的事实。</p><p>各 Node 在自身数据目录的 <code>prompt-completion/</code> 保存按 UTC 日期分片的本地分析记录,包含输入草稿、有界上下文、预测输出、状态及耗时;最多保留当天及前六天。不上传 Server,也不写入会话历史。这些文件可能包含敏感正文,请按私有数据管理。</p><p>候选以你向 Agent 发消息的角度表达请求、问题或调整重点,而不是 Agent 汇报自己的计划。手动“生成”会要求一条非空候选,空草稿或任务已完成也会生成;后续不明确时优先给出相关的只读核验或澄清问题。自动预测仍可不提供建议。每次预测只进行一次生成调用,用户视角与任务语义由提示词引导,不追加独立模型复审或代码语义过滤。Node 仅校验输出结构、完整性及有界长度和字符。手动输出不符合结果契约或不完整时会明确报生成失败,不用固定文案伪造候选。采用前仍需自行确认候选内容。</p><p>每次触发都会生成新的预测,不复用上一次候选。Node 缓存的是已加载的参考会话,刷新周期到期后在使用时更新,避免每次重新加载。生成期间,对话消息、Goal、队列或运行状态变化不会打断预测;下一次请求使用新状态。</p><p>支持该上下文能力的 Node 会参考本页最近三分钟查看的文件和 Diff,以及已有 Goal、待办/待答和队列状态。文件片段由 Node 复核权限及版本;无法确认的内容省略,Diff 仅作为浏览元数据。浏览不是修改授权。运行中侧重干预建议,完成后侧重下一步,未知状态不当作已完成。</p><p>自动预测无合适候选或请求失败时静默恢复待触发状态,不弹通知、不显示无候选提示,也不自动重试。手动生成保留明确反馈;Node 意外返回空结果时,“暂无合适的预测”仅短暂显示。</p><p>若入口不可用,检查个人开关、Node 兼容性和能力、模型/凭据及资源权限。配置位置和权限说明见 <a href="./../runners/mar-agent">MAR Agent</a>。</p><h2 id="目标" tabindex="-1">目标 <a class="header-anchor" href="#目标" aria-label="Permalink to "目标""></a></h2><h3 id="启动前须知" tabindex="-1">启动前须知 <a class="header-anchor" href="#启动前须知" aria-label="Permalink to "启动前须知""></a></h3><p>目标模式支持 MAR Agent、Codex、Claude Code 和 OpenCode 跨轮持续执行,自动续作不限制轮数。进入、更新或退出目标模式保留普通待发消息及其顺序;单纯切换状态不恢复暂停队列,实际发送、停止与恢复仍按普通投递规则处理。<strong>MAR Agent 保留当前 Auto / 完全访问档位;其他 Agent 切换到各自免确认权限,结束或移除目标后不会自动恢复。</strong> 请先确认目标、目录和权限边界,完成后在 Composer 手动改回需要的权限。</p><p><code>/goal</code> 采用 MAR 兼容语义,由 Node 为四种 Agent 统一管理,不等同于 Codex 原生 Goal。裸命令进入待输入状态,<code>/goal <目标></code> 设置或编辑目标,<code>/goal --clear</code> 移除目标,不提供原生 Goal 的暂停、恢复或预算控制;当前受管 Codex 执行中新建并完成的原生 Goal 也会结束此目标。</p><table tabindex="0"><thead><tr><th>Agent</th><th>目标模式使用的权限</th></tr></thead><tbody><tr><td>MAR Agent</td><td>保留当前档位</td></tr><tr><td>Codex</td><td>完全访问</td></tr><tr><td>Claude Code</td><td>跳过权限确认</td></tr><tr><td>OpenCode</td><td>自动批准</td></tr></tbody></table><h3 id="启动与查看" tabindex="-1">启动与查看 <a class="header-anchor" href="#启动与查看" aria-label="Permalink to "启动与查看""></a></h3><ol><li>执行 <code>/goal</code>,输入区出现待输入的“目标”标签。</li><li>发送下一条消息作为任务目标。启动后标签隐藏,队列区域显示“目标”标题和目标行;再次执行 <code>/goal</code> 只提示已处于该模式。</li><li>悬停或聚焦可查看过长目标的完整提示;选择“查看”打开完整目标、已执行轮次数和目标修订。</li></ol><p>首次执行或更新目标后的重新启动会在会话中显示 <code>Goal Start</code>,紧接下一行显示当次完整任务目标;自动续作仅显示 <code>Goal Continue</code>,不重复目标。续作或等待失败重试期间处理时长继续累计。 目标从首次启动起累计墙钟耗时,编辑目标不重新计时;该耗时包含等待和重试,不等于模型或工具的实际执行时间。Agent 主动完成或最终阻塞时会取得截至状态更新时的耗时,并应在当前轮总结工作结果、验证和遗留问题;后续总结回复和运行收尾不计入这次统计。Agent 执行失败、目标因此自动阻塞时可能无法继续生成总结。</p><h3 id="干预、更新与退出" tabindex="-1">干预、更新与退出 <a class="header-anchor" href="#干预、更新与退出" aria-label="Permalink to "干预、更新与退出""></a></h3><table tabindex="0"><thead><tr><th>操作</th><th>影响</th></tr></thead><tbody><tr><td>Enter/发送按钮</td><td>将消息加入队尾,目标结束且当前轮收尾后才按顺序执行,不提前修正目标</td></tr><tr><td>Ctrl+Enter</td><td>停止当前执行后优先发送,保留其他排队消息、不替换目标</td></tr><tr><td>编辑 → 更新</td><td>修改目标,停止当前轮次并立即按新目标开始;“取消”或 <code>Esc</code> 放弃编辑</td></tr><tr><td>移除</td><td>退出目标模式并停止自动续作,<strong>不会停止当前正在执行的轮次</strong></td></tr><tr><td>停止运行</td><td>中断当前运行并同时移除目标,无需再次执行“移除”</td></tr></tbody></table><p>普通排队消息不会插入目标的自动续作、续作准备或失败重试间隙。目标完成、最终阻塞或被移除后,等待当前轮收尾,再执行普通队列;主动停止仍会暂停队列。需要立即干预时,使用 <code>Ctrl+Enter</code> 或队列项的“立即执行”,其他普通排队消息继续等待目标结束。</p><p>目标完成、连续三轮正常结束但没有工具活动,或最终阻塞后会自动退出。连续空转按完成收口并停止续作,但这不保证目标已实际达成;请根据 Agent 的结果核实。普通 Workspace 中,MAR Agent 的目标可随<a href="./sessions#正常停止后的自动续作">正常停止交接</a>恢复,保留原目标、计时与轮次;其他 Agent、托管对话和异常退出不支持此恢复。不要将页面关闭、移除目标或重启后的空闲状态理解为目标已完成。 移除或停止运行成功时,界面根据 Node 返回的结果显示状态、截至操作确认时的累计耗时及已开始轮次;这些操作不会额外启动 Agent 来生成总结。尚未输入目标时没有可统计的耗时。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to "失败排查""></a></h2><ul><li>发送按钮禁用:检查是否处于只读外部会话、Node 离线或保存的模型配置已经不可用。</li><li>出现 <code>SESSION_INVALID</code>:刷新会话后重新选择当前有效模型/配置;若持续出现,参阅<a href="./../runners/runner-troubleshooting">Agent 排障</a>。</li></ul><p>下一步:<a href="./context-and-plan">上下文用量、Compact 与 Plan</a>。</p><h2 id="发送前检查" tabindex="-1">发送前检查 <a class="header-anchor" href="#发送前检查" aria-label="Permalink to "发送前检查""></a></h2><ul><li>确认模型、权限档位符合本次任务;权限越高不等于一定更适合。</li><li>检查 <code>@</code> 引用和附件是否只包含需要的材料。</li><li>长任务在运行中应使用队列或停止后优先发送,避免重复消息启动多个相同任务。</li></ul><h2 id="移动端插入消息" tabindex="-1">移动端插入消息 <a class="header-anchor" href="#移动端插入消息" aria-label="Permalink to "移动端插入消息""></a></h2><p>从发送按钮向上滑,在 Composer 内松手即可提交:新会话和空闲会话正常发送,运行中则显示“松手插入消息”并插入当前消息。只有滑过 Composer 顶部才显示“松手取消”,滑回输入区可恢复发送;取消距离随输入区实际高度变化,不是固定的滑动距离。轻点、按住未上滑或滑回按下位置后松手,仍沿用普通发送与运行中排队的行为。松手前不会发送,触摸按钮不会主动移走输入框焦点;取消、切换工作区或会话、发送条件失效时保留草稿。运行中插入消息复用桌面 <code>Ctrl+Enter</code> 的投递语义,不保证所有 Agent 都无中断执行。也可先普通发送到队列,再通过队列项的“执行”入口插入。</p>',51)])])}const m=t(r,[["render",l]]);export{g as __pageData,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,o,c as a,a3 as d}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"发送消息与使用 Composer","description":"","frontmatter":{"title":"发送消息与使用 Composer","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as t,o,c as a,a3 as d}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"发送消息与使用 Composer","description":"","frontmatter":{"title":"发送消息与使用 Composer","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/composer.md","filePath":"workbench/composer.md"}'),r={name:"workbench/composer.md"};function l(n,e,c,p,i,s){return o(),a("div",null,[...e[0]||(e[0]=[d("",51)])])}const m=t(r,[["render",l]]);export{g as __pageData,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o,o as a,c as t,a3 as n}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"阅读对话、工具调用与通知","description":"","frontmatter":{"title":"阅读对话、工具调用与通知","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as o,o as a,c as t,a3 as n}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"阅读对话、工具调用与通知","description":"","frontmatter":{"title":"阅读对话、工具调用与通知","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/conversation.md","filePath":"workbench/conversation.md"}'),p={name:"workbench/conversation.md"};function r(d,e,c,i,l,s){return a(),t("div",null,[...e[0]||(e[0]=[n('<h1 id="阅读对话、工具调用与通知" tabindex="-1">阅读对话、工具调用与通知 <a class="header-anchor" href="#阅读对话、工具调用与通知" aria-label="Permalink to "阅读对话、工具调用与通知""></a></h1><p>普通工作区会话中的网址及受控 HTML/HTM 文件链接根据<a href="./browser">浏览器打开位置偏好</a>跳转。HTML 默认在 Workspace 浏览器打开,Ctrl/Cmd 点击反转去向;参见<a href="./files">文件预览与安全说明</a>。</p><p>对话按用户轮次展示 Agent 文本、思考摘要、工具、命令、文件更改、计划、审批和错误。展开工具卡可查看有界的输入和结果;图片可在仍受 Node 缓存保护时预览。</p><p>展开读取文件条目可查看来源提供的实际行范围及对应正文;旧记录或未提供文件关联的 Agent 保留整次调用结果。技能、命令、网页和其他工具按可用事实展示详情;图片查看工具没有可用预览时显示元数据。结果可能因来源或显示限额而截断,复制按钮复制该次调用的公开记录,不重新读取文件或网页。</p><p>网页搜索详情显示已有查询、来源标题、链接和摘要,不再重复显示原始 Output;原始公开结果仍可通过复制按钮获取。缺少结构化来源不会从原始结果中提取链接,也不会被当成“无结果”。网页内容详情仍显示已返回的正文,错误与真实截断提示保留。</p><p>较高的详情内容会先显示有限高度的预览,点击“展开更多”可查看当前已返回的其余内容,点击“收起”恢复预览。此操作不重新读取来源,也不影响复制;<code>[Truncated]</code> 表示返回内容本身已截断,与界面收起不同。</p><p>跨会话消息的来源标题会区分父会话、子会话、更深层的后代会话和其他会话,并保留发送时的名称;悬停可查看来源会话 ID。旧消息未保存关系时仍显示原来源标签。</p><p>对话中的图片先加载缩略图,点击后打开等比详情预览;加载和解码完成后才整体显示。详情最大为 2560×2560,不放大小图;确实缩小的图片会在图片下方显示“查看原图”。选择后加载原始图片并重新适配弹窗。长截图也会先完整显示,文字可能较小。加载失败可重试。此处理不改变上传原文件或模型收到的图片。</p><p>桌面上将光标移到图片区域,滚动滚轮缩放,放大后按住鼠标左键拖动。移动端用双指捏合或张开缩放,放大后用单指拖动。图片下方居中的操作区提供放大、缩小、恢复适配和四方向平移按钮;有“查看原图”时,它也在同一组内。</p><p>同一对话分段、同一聚合阶段内的思考、普通工具、命令和文件更改会分别合并为一张卡,放在该类型最后一项的位置。新增同类项目时,整组随最新项目移动,组内仍保留原始顺序;已有项目的流式内容或状态更新不会改变卡片位置。聚合不会跨越分段或用户轮次,Agent 正文之后的新活动也不会合并到正文之前的卡片。图片生成、计划、审批和问题保持独立。</p><p>上下文整理(Compact)单独显示,并在其位置分隔工作过程,包括后台整理。整理后的思考和工具进入新过程,不与整理前的记录合并;整理状态更新不会反复重新分段,也不表示当前任务已经结束。</p><p>如果来自其他会话的消息开启了新一轮,例如子 Agent 收到初始任务,这条消息会带着完整来源直接显示在对话流中。符合条件时,可像其他外层消息一样执行 Rewind 或 Rollback。</p><p>每个工作过程内最多有一个默认收起的 <strong>Agent 协作</strong> 组,包含该过程的 Agent 操作和插入当前轮的跨会话补充消息。展开后可以按原顺序查看记录。组内消息默认显示单行正文预览和简短的来源关系,例如「子会话」。逐条展开即可阅读全文、查看可用的完整来源与时间或复制,不提供 Rewind 或 Rollback。共享对话中其他真人的发言仍正常显示。</p><p>详情按来源提供的事实展示内容:启动和发送以任务名称、本次消息为主;queue/steer 仅说明发送方式,不表示已送达或已处理。等待和查看显示本次公开的状态、消息或结果,查询显示会话名称与状态列表,停止原样显示公开结果。原始输入、结果及其他已有公开字段可通过右上角复制按钮获取;记录有界,不会额外读取目标会话。缺少结构化事实的旧记录继续使用通用详情,模型信息也仅在来源明确提供的通用详情中显示。操作返回不代表目标任务结束,等待超时不代表目标任务失败;失败信息仍会保留。不嵌入目标会话的内部执行流,也不提供会话快捷跳转;需要打开目标会话时,使用会话列表或会话树。</p><p>Agent 请求或模型调用最终失败时,错误卡会显示可用的 HTTP 状态码和错误消息。普通会话中的终态失败会使会话回到 Idle,并暂停尚未执行的排队消息;确认错误原因后可恢复队列或发送新的普通消息继续。MAR Agent 在首次语义输出前可对符合条件的瞬时模型故障有限重试;活动目标也可能对失败的执行进行有限自动续作,超过边界后才阻断。</p><p>任务清单默认展开,可点击标题收起或重新展开;同一工作过程内显示最新清单快照,逐项状态和内容不变。文件变更、Plan 和图片生成文字详情沿用各自操作;图片缩略图仍可单独预览。</p><p>任务清单和会话查询详情可通过右上角按钮复制当前公开记录;文件变更列表不提供复制按钮。</p><h2 id="查看本次文件修改" tabindex="-1">查看本次文件修改 <a class="header-anchor" href="#查看本次文件修改" aria-label="Permalink to "查看本次文件修改""></a></h2><p>最新一轮结束后,最后一条 Agent 回复之后会额外显示当前已加载文件变更的临时结果卡,无需展开执行过程。各分段原有的文件变更卡保持不变。下一轮开始后,只移除这个额外结果卡,不搬迁或恢复历史卡片。列表只包含已加载的修改记录,不代表整次执行的完整或最终净变更;不会为补齐列表自动加载全部历史。</p><p>支持此能力的 MAR Agent 节点会为 <code>apply_patch</code> 保存每次修改的只读 Diff,Direct 和 Code Mode 均支持。展开文件更改卡后,文件条目末尾显示可信的绿色 <code>+N</code> 和红色 <code>-N</code>;点击文件打开“本次修改”,以单栏加减行展示新增、删除、修改以及移动前后路径的实际效果。覆盖已有文件按修改展示;空文件的新增或删除仍显示路径变化及 <code>+0/-0</code>,不会凭空增加一行。</p><p>这是该次工具操作的历史记录,不是整个任务的净变更或当前 <a href="./git-changes">Git 变更</a>。同一路径的不同修改可分别打开;后续改写或删除当前文件不会改变已保存的 Diff。与标准 Diff 共用“打开源文件”按钮和 <code>Ctrl+E</code>(macOS 为 <code>Command+E</code>):按正常文件打开流程打开当前源文件,而不是 Diff 原文。本次 Diff 始终只读,与当前源文件分开;源文件已删除或不可访问时提示打开失败,不替换已保存的 Diff。读取失败可重试,不会静默替换为当前 Git Diff。</p><p>其他 Agent、旧历史或不支持读取的节点保留原有文件打开行为;未知统计不伪造为零。非文本、超限或保存失败会明确提示无修改明细。Shell、脚本与格式化器的任意写入不在此能力范围内。清空、截断或删除会话历史时,其不再引用的 Diff 也会清理;Rewind 分支保留分支历史内的 Diff。</p><h2 id="从消息创建非破坏性分支" tabindex="-1">从消息创建非破坏性分支 <a class="header-anchor" href="#从消息创建非破坏性分支" aria-label="Permalink to "从消息创建非破坏性分支""></a></h2><p>MAR Agent、Codex、Claude Code 和 OpenCode 的终态用户消息与 Agent 回复在存在可用历史边界时,会在复制按钮旁显示 Rewind。点击后确认创建新会话分支:从用户消息操作会回到该轮之前并把原消息回填到 Composer,从 Agent 回复操作会保留该轮完整结果且 Composer 为空。</p><p>Rewind 不修改原会话,也不回滚 Workspace 文件。Working、消息提交或会话变更期间,页面隐藏 Rewind 和 Rollback;模型、推理强度、权限和手动整理上下文也不可修改,需要空闲的命令不会出现在命令列表中。复制、排队、停止和允许运行中执行的状态命令不受影响。确认弹窗后若会话开始运行或选择发生变化,不会提交操作。页面不按 Session capability 或 App Server 探测结果限制 Rewind;如果当前 Agent 拒绝创建分支(例如版本不支持),或其他客户端持有的会话锁阻止了操作,当前会话和草稿保持不变,并显示 Node 返回的实际错误。</p><p>Server 最多等待 60 秒。若提示超时,Node 仍可能在创建分支;重试前请先查看会话列表,以免创建重复分支。若 OpenCode 提示分支边界已失效,请刷新会话历史后重新选择消息。</p><p>声明原生历史截断能力的会话,会在终态用户消息的 Rewind 后显示 Rollback。MAR Agent 支持;Codex 仅支持原生 <code>paginated</code> 会话,不支持旧式 legacy 历史;Claude Code 和当前接入的 OpenCode 历史 API 没有兼容的仅历史截断操作。Rollback 不创建分支,而是在确认后永久删除所选用户消息及其后的当前会话历史;它不会回滚 Workspace 文件。普通工作区会话的 Rollback 保留当前 Composer 草稿,不回填被删除的消息;尚未执行的队列也保留原有内容、顺序和暂停状态,不会因回滚自动恢复执行。会话必须空闲,但不要求清空队列;请求失败时显示实际错误,不乐观改写当前展示的历史或草稿。</p><p>对 MAR Agent 运行中补充的 steer 消息回滚时,会保留该消息收到之前的普通消息与执行记录;停止前是否已经生效不改变这一边界。</p><h2 id="实时性能" tabindex="-1">实时性能 <a class="header-anchor" href="#实时性能" aria-label="Permalink to "实时性能""></a></h2><p>会话分段标题在耗时后显示可用的 <strong>Latency</strong> 与 <strong>TPS</strong>,末尾的 <strong>Info</strong> 图标可悬停、聚焦或触屏点按读取详情;右下角不再提供另一处入口,消息卡片也不显示性能 Info。第一行为 <code>Latency</code>、<code>TPS</code>,第二行为 <code>Input</code>、<code>Output</code>、<code>Cache Hit Rate</code>,英文字段名与 <code>·</code> 分隔在两种界面语言下保持一致。四种 Agent 的用量均来自单次模型请求,不是本轮或会话累计;Input 包含缓存,命中率为同请求缓存读取量除以总输入量,保留一位小数。未取得用量时不显示第二行;已取得用量中的未知字段显示 <code>—</code>,未知缓存读取量不冒充零,已知输入为零时命中率为 0.0%。</p><p>Latency 是输入或最近一批 Tool Result 到首个有效模型响应的等待时间,不包含已观察到的客户端工具执行与审批等待。MAR Agent 在 SDK 模型请求边界观测;Claude Code、Codex 和 OpenCode 的观测包含 Agent 运行时、IPC 与网络开销。四种 Agent 仅在取得同请求权威输出 Token 和有效生成区间时提供平均输出 TPS,不从正文长度或整个工具链耗时估算,也不代表纯模型服务端推理速度。</p><p>Latency、TPS、Input/Output/Cache Hit Rate 三组在同一 Run 内独立覆盖。新请求、分段或同一 Run 续作时的 Latency 不清空该 Run 最近的 TPS 与用量;新 Run 的首个有效性能事件替换旧 Run 的整份指标,尚未取得的组不显示。新用量整组替换,不混入其他请求的缺失字段。计时与用量可能来自不同请求,但必须属于同一 Run。最后分段结束后当前页面可保留最终值,指标不写入会话历史。切换会话、工作区、Node 或模式后清除;切回仍在运行的会话或刷新页面,由原有 Watch 恢复当前 Run 已收到的指标。Node 重启或 Run 结束后重新进入不恢复。</p><h2 id="清空-mar-agent-会话历史" tabindex="-1">清空 MAR Agent 会话历史 <a class="header-anchor" href="#清空-mar-agent-会话历史" aria-label="Permalink to "清空 MAR Agent 会话历史""></a></h2><p>在 MAR Agent 当前会话的 Composer 中输入 <code>/clear</code> 并选择该命令。确认弹窗后,系统会永久清空该会话的全部历史和会话图片,但保留同一会话、标题、工作区及当前配置;不会删除会话或回滚工作区文件。会话正在运行、存在排队消息或历史正在变更时,清空会被拒绝,原历史和草稿保持不变。</p><h2 id="清理工作区会话" tabindex="-1">清理工作区会话 <a class="header-anchor" href="#清理工作区会话" aria-label="Permalink to "清理工作区会话""></a></h2><p>在支持该功能的节点上,可从当前工作区“会话”栏右上方的工作区级“更多”菜单选择“清理会话”。输入要清理多少天前的会话,默认是 30 天。操作会按各 Agent 自己支持的删除方式永久删除符合条件的原生会话;没有有效活动时间的会话固定纳入清理;置顶、活动、排队或正在查看的会话会保留。完成后页面显示实际删除、跳过和失败数量,以及各 Agent 实际删除的会话数量,并刷新当前工作区会话列表。完整发现后仅剩本地记录且所属 Agent 可用的条目直接清理本地记录,不额外探测原生存在性,不受天数限制;置顶、活动、排队和正在查看的记录仍保留。达到时间预算时显示已完成的部分统计,可再次发起清理;未处理项不计为失败,具体规则见<a href="./sessions#清理会话">清理会话</a>。</p><h2 id="阅读步骤" tabindex="-1">阅读步骤 <a class="header-anchor" href="#阅读步骤" aria-label="Permalink to "阅读步骤""></a></h2><p>“最近会话”页也提供“主会话 / 子会话”分类,默认主会话,规则与<a href="./sessions#步骤">会话列表</a>一致。分类不显示运行或未读徽标,点击只切换列表,不打开会话;页内的“活动任务”计数包括正在启动、运行或停止的任务。打开记录时,工作区会话列表同步到该会话的实际分类。</p><ol><li>先查看用户消息及后续 Agent 文本,再按需要展开工具、命令和文件更改卡。</li><li>对计划、审批或问题卡,只使用界面提供的按钮/输入,不要从普通工具文本猜测可回传操作。</li><li>长对话滚离底部后使用“回到最新”;需要核对改动时从文件更改卡打开 Diff。</li></ol><p>滚离底部时会出现“回到最新”,避免流式内容强制抢走阅读位置。当前浏览器正在查看目标普通会话或托管对话时,通知会自动标记为已读且不弹出;其他浏览器仍能同步看到通知状态。普通会话的主动中断,以及托管对话的主动停止或删除,不会产生终态通知。运行、审批、问题和计划通知在 Server 保留 24 小时,刷新页面或实时连接恢复后会重新出现在通知中心,但不会重复弹出;托管对话只生成 Run 成功、失败或非预期中断通知,不生成审批、问题或计划通知。文件上传和停止提示只属于当前浏览器;文件上传通知出现时直接为已读,不增加未读数,但仍会短暂预览。</p><p>“会话与通知”位于主导航“对话”后,PC 和移动端共用一个入口。右上角数字表示未读通知数(超过 99 显示 99+),有活动的普通会话任务(包括停止中的任务)时,右下显示绿点;没有活动任务时不显示。打开时有未读默认“通知”,否则默认“最近会话”;面板打开后不因新通知或全部已读而自动切页,也不因打开就标记已读。“通知”页保留上传任务及普通/托管通知和全部已读操作。桌面面板在左侧入口旁向右展开,移动端沿用顶栏下方辅助菜单;列表可滚动,通知预览靠近入口且不抢占已打开的菜单。最近会话保留普通工作区非终态任务与最近 12 小时内最多 100 条终态任务,不包含托管对话;运行中按启动时间、已结束按完成时间(缺少时最后更新时间)倒序。点击定位原 Node、Workspace 和会话。删除通知不删除最近会话。Node 明确标记的主动停止显示“已取消”,其他中断及无原因的旧记录仍显示“已中断”。</p><p>断线重连、从后台切回或窗口重新获得焦点后,如果页面可见且获得焦点,并仍在查看同一个普通会话或托管对话,会重新确认该目标的未读通知并补标已读,无需切换会话。通过顶部导航返回已选中的工作会话或托管对话时,也会补标该目标的未读;其他会话的未读仍保留。点击通知中心或系统通知只标记该条已读,不批量清除同一目标的其他通知。角标以 Server 确认结果更新,已读请求失败时不会直接清空计数,下一次连接或焦点恢复会再次补做。</p><p>可使用 <code>Ctrl+Shift+E</code>(macOS 为 <code>Command+Shift+E</code>)快速打开或关闭会话与通知聚合面板。</p><p><strong>成功标志:</strong> 回复生成时文本在原位置更新,完成后成为一轮完整对话;刷新页面后仍能按原顺序阅读历史。</p><p>若出现重复项目或持续不更新,先刷新当前会话;若仍存在,参阅<a href="./../troubleshooting/session-run">会话运行排障</a>。</p><p>历史中的审批和问题卡只用于回看,刷新后不能再次回答已经结束的旧请求。图片缓存过期或 Node 重启后会显示不可预览提示,而不会继续显示失效图片。</p>',46)])])}const f=o(p,[["render",r]]);export{g as __pageData,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o,o as a,c as t,a3 as n}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"阅读对话、工具调用与通知","description":"","frontmatter":{"title":"阅读对话、工具调用与通知","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as o,o as a,c as t,a3 as n}from"./chunks/framework.BHjrhdiC.js";const g=JSON.parse('{"title":"阅读对话、工具调用与通知","description":"","frontmatter":{"title":"阅读对话、工具调用与通知","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/conversation.md","filePath":"workbench/conversation.md"}'),p={name:"workbench/conversation.md"};function r(d,e,c,i,l,s){return a(),t("div",null,[...e[0]||(e[0]=[n("",46)])])}const f=o(p,[["render",r]]);export{g as __pageData,f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d('<h1 id="从模板新建对话" tabindex="-1">从模板新建对话 <a class="header-anchor" href="#从模板新建对话" aria-label="Permalink to "从模板新建对话""></a></h1><p>“对话”模式用于从管理员发布并授权给你的模板创建和继续对话。每个对话由目标 Linux Node 托管,使用独立持久存储和 Bubblewrap 隔离环境;每次运行会获得不含宿主或会话存储内容的临时虚拟 HOME。模板提供完整只读 Workspace 镜像,并决定模型、MCP、网络模式与容量上限。</p><h2 id="新建步骤" tabindex="-1">新建步骤 <a class="header-anchor" href="#新建步骤" aria-label="Permalink to "新建步骤""></a></h2><ol><li>打开主菜单“对话”,进入“对话”模式。该入口始终显示,不要求先选择或获得任何 Node/Workspace 使用权。</li><li>如果当前正在查看已有对话,选择历史栏搜索框下方的“新建对话”进入中间的临时启动区;页面不会打开弹窗。</li><li>在 Composer 底部工具栏选择已发布并授权给你当前组织或其祖先组织的模板。模板授权已经足够用于创建和继续你自己的托管对话,不会同时授予承载 Node、源 Workspace、文件或终端权限。管理员选择根组织授权时,该模板对企业内所有用户可用。当前浏览器会记住你最近一次选择的模板,并在它仍位于当前目录时默认选中。</li><li>没有可恢复的最近选择且只有一个模板时,页面可以预选该模板,但仍不会自动创建。核对模板名称后,输入消息或添加附件并明确发送,系统会先创建对话,再上传草稿附件并发送首条消息。</li><li>创建响应中断时可直接重试;只要没有切换模板或重新加载目录,系统会按同一次创建意图处理,避免重复创建。</li></ol><p>创建时会绑定当时可用的模板版本。管理员之后编辑草稿不会影响已有对话;发布新版本也不会立即切换。每次新 Run 开始前,Node 会查询并完整校验当时最新的可用版本,以该版本启动 Run;只有 Run 成功启动且消息被接受后才原子切换。停用、归档或删除模板不会改写已有对话的模板名称快照和最后已生效版本。</p><h2 id="切换已有对话的模板" tabindex="-1">切换已有对话的模板 <a class="header-anchor" href="#切换已有对话的模板" aria-label="Permalink to "切换已有对话的模板""></a></h2><p>对话空闲时,点击输入区的模板名称,选择同一个 Node 上其他已发布且授权给你的模板,并确认切换。新模板从下一轮运行生效;历史、上传、输出文件及未发送草稿保留,新模板可以继续读取原对话内容。模板自带的文件、指令、MCP 和网络配置会随之更换,旧回复引用的模板文件路径可能不再有效。</p><p>当前模型仍被新模板允许时继续使用,否则改用新模板允许的默认模型。模板容量不足、没有可用模型或请求明确失败时保留原绑定。运行、发送、上传、回退或其他互斥写入期间不能切换;确认成功后需等待实时状态重新就绪再继续操作。响应中断时不要重复提交,先等待页面刷新确认结果。</p><p>只能切换同 Node 模板,不迁移对话到其他主机;这不会修改新建对话的最近模板偏好。同一模板的版本更新仍遵循每次新 Run 的自动升级规则,重复选择当前模板不会强制升级。</p><h2 id="使用三栏工作面" tabindex="-1">使用三栏工作面 <a class="header-anchor" href="#使用三栏工作面" aria-label="Permalink to "使用三栏工作面""></a></h2><p>打开已有对话后,页面分为三个区域:</p><ul><li><strong>对话历史:</strong> 不需要选择 Node。Server 从支持托管的有效 Node 中读取当前账号自己拥有的对话;承载 Node 不需要出现在你的普通资源目录。置顶对话优先,其余对话按最后活动时间倒序。搜索只匹配标题,每条记录显示标题和一行最后互动时间。对话运行或停止中显示绿点,空闲时不显示。存在未读终态通知时显示未读标记,打开该对话会清除它的全部未读。滚动接近列表底部会沿统一目录自动追加,底部圆环表示正在读取;失败时保留已有对话并暂停自动追加,可在底部选择“重试”。标题搜索只筛选已加载的对话,输入筛选条件后暂停自动追加,清空筛选后继续;没有匹配项不表示整个目录都没有结果。离线、能力或版本无效、请求失败或返回格式无效的 Node 会被静默跳过;没有任何有效结果时显示普通空目录,页面不逐 Node 展示失败或部分结果。</li><li><strong>主对话:</strong> 展示 Node 返回的权威历史和实时消息。输入区固定使用 MAR Agent Full Access,但不显示不可修改的 Agent 或权限项;只提供模型、附件、发送和停止。思考强度使用模型默认,不支持选择 Agent、权限模式、Slash 命令、Skill 或工作区文件引用。</li><li><strong>相关文件:</strong> 只展示 Node 投影的 <code>inbox/</code> 上传和 <code>output/</code> 文件。Agent 回复中的普通路径或自然语言文本不会自动变成文件;显式 Markdown 文件链接只有在指向 <code>/workspace/inbox</code>、<code>/workspace/output</code>,或能唯一命中当前相关文件时才可打开。可把多个文件直接拖放到该区域,或点击上传区选择文件;点击文件行或有效消息链接会打开与普通 Workbench 相同的统一只读文件预览,并提供下载。文本超过 512 KiB 时只显示首段;图片、PDF、音视频和支持的 Office 文件通过受控内容流预览,并可使用同一文件的下载入口。</li></ul><p>与普通工作台一样,Agent 可在回复中用 Markdown 图片语法直接展示图片,例如 <code></code>。本地图片必须是当前对话的相关文件;点击缩略图可放大预览。</p><p>桌面端的对话历史使用与其他页面相同的左侧菜单区域。点击顶部“收起”会同时收起品牌区和对话历史,主对话自动向左补位;点击“展开”会恢复对话历史。相关文件栏始终位于主对话右侧。</p><p>创建前,相关文件栏只显示说明,不提供没有对话目标的上传入口;开始发送首条消息并完成创建后,上传区和文件列表会在原位置启用。</p><p>移动端不显示全局“展开/收起”控件和三段标签。再次点击顶部“对话”打开历史抽屉;主对话右上角的“文件”按钮打开相关文件抽屉。选择对话或点击抽屉外遮罩会关闭对应抽屉。</p><h2 id="发送消息与附件" tabindex="-1">发送消息与附件 <a class="header-anchor" href="#发送消息与附件" aria-label="Permalink to "发送消息与附件""></a></h2><ol><li>在主对话输入消息,可按 Enter 发送、Shift+Enter 换行。</li><li>根据模板允许的上游模型范围选择当前账号可用的具体模型配置。当前配置不可见时,Node 会优先回退到模板默认上游模型的可用配置,再回退到模板允许顺序中的首个可用配置;没有交集时本次操作失败。更新失败时页面保留 Node 已确认的原配置。</li><li>使用回形针添加附件。每条消息最多 32 个附件;文件先上传到当前对话,完成后才会随消息发送。将本地文件拖放到主对话输入区时,先在确认框中选择上传;回形针选择和剪贴板粘贴会直接开始上传。</li><li>上传失败时可在附件行重试或移除。重试会建立新的上传请求,不会继续复用已取消的临时上传。同名文件会自动按扩展名前的递增后缀保存,例如 <code>image.png</code>、<code>image (1).png</code>;附件行会显示 Node 最终分配的名称。</li><li>有任务正在进行时仍可编辑输入内容,并提供“停止”按钮。输入框获得焦点时,按 <code>Esc</code> 可停止当前任务;任务正在停止或消息发送中时不会重复发出停止请求。支持该能力的节点上,桌面端按 <code>Ctrl+Enter</code> 可插入当前输入消息:如果 MAR Agent 仍在启动,插入消息会等待原消息写入,不中断启动。原生接收后,补充作为独立消息回显;它可进入首个模型请求,或在当前完整回复及工具批次之后生效,不截断模型生成。受管等待可提前返回,后台任务继续,其他工具仍正常完成;确实无法原生接收或显式切换模型等配置时,仍按原流程停止后发送。补充正文会标识为工作期间收到的新增信息;空闲时按普通消息发送。包装说明不会显示在对话中。普通 Enter 不会把托管对话消息加入队列。移动端输入内容后会在“停止”旁显示“插入消息”按钮:轻点可插入,也可从按钮上滑,在 Composer 内松手插入;越过输入区顶部才取消,滑回恢复插入。取消保留草稿,托管对话不建立普通消息队列;任务正在停止时仍需等待结束后再发送。相关文件区域的直接上传和删除不因此整体禁用。</li></ol><p>移动端新建和空闲对话同样支持从“发送”按钮上滑,在 Composer 内松手正常发送;只有越过输入区顶部才取消,滑回可恢复发送。轻点或按住未上滑,仍沿用按钮原有发送行为。按住期间不会提交,取消保留草稿,按钮触摸不主动移走输入框焦点。</p><p>如果发送请求返回明确错误,可修正内容后重试;如果网络中断且结果未知,页面会保留同一次发送意图,避免重复执行。</p><p>消息顶部的历史加载、失败重试与运行耗时遵循<a href="./sessions#阅读与运行反馈">会话阅读说明</a>。发送中附加在发送操作旁,不替换正在进行的运行状态;连接提示复用页面连接状态,不代表 Agent 失败或重新执行。</p><h2 id="回滚对话历史" tabindex="-1">回滚对话历史 <a class="header-anchor" href="#回滚对话历史" aria-label="Permalink to "回滚对话历史""></a></h2><p>运行中补充的 steer 消息有独立的回滚位置:回滚该消息会保留它收到之前的普通消息和执行记录,不会因它们属于同一轮而一起删除。</p><p>承载 Node 支持托管对话 Rollback 时,终态用户消息旁会显示“回滚对话”按钮;托管对话不提供 Rewind 分支按钮。确认后,系统会在当前对话的原 Session 内永久删除该用户消息及其后的历史,并把该消息文本回填到输入框,便于修改后重新发送。</p><p>Rollback 不会修改或删除 <code>inbox/</code>、<code>output/</code> 和“相关文件”中的内容,也不会创建新对话或新 Session。运行正在启动、执行或结算时不能回滚;边界已经变化或请求失败时页面保持原历史和草稿并显示实际错误。</p><h2 id="管理相关文件" tabindex="-1">管理相关文件 <a class="header-anchor" href="#管理相关文件" aria-label="Permalink to "管理相关文件""></a></h2><ol><li>把一个或多个文件拖放到右侧“相关文件”上传区,或点击上传区后从系统文件选择器中选择一个或多个文件。文件会依次上传到当前对话的 <code>inbox/</code>,单个文件失败不会阻止后续文件继续上传。</li><li>这种直接上传只更新相关文件列表,不会把文件自动加入 Composer,也不会附加到下一条消息。需要随消息发送时,仍使用回形针选择附件。</li><li>点击文件行,或点击 Agent 消息中能够命中当前权威文件列表的显式文件链接,可在统一文件预览中查看、定位文本行、下载并关闭。未知路径、歧义路径和普通文本不会触发文件读取。</li><li><code>inbox/</code> 中的用户上传和 <code>output/</code> 中的 Agent 输出都可以通过文件行的删除按钮手动删除。确认后,页面使用 Node 返回的完整权威列表刷新相关文件;删除当前预览文件时预览会关闭。</li><li>删除可与活动 Run 中的 Agent 文件写入同时发生。先完成的操作生效;如果目标已被删除、替换或改变,后到操作会显示文件不存在或冲突提示,可根据刷新后的文件列表重试。</li></ol><p>Agent 会把 <code>output/</code> 作为当前有效交付集合,而不是按每次 Run 追加历史。同一份文档或产物需要继续修改时,会优先保持原文件名和路径直接编辑,不连续生成 <code>v2</code>、日期或 <code>final</code> 后缀副本。只有旧版本确有回退价值或你明确要求保留历史时,才会归档到 <code>output/bak/</code>;小修改不会自动产生备份。当前交付实际使用的图片等资源会放在 <code>output/assets/</code> 等有意义的子目录,探索性或可丢弃文件留在 <code>/tmp</code>。Agent 只会移除自己在当前工作中生成且确认无用的文件,不会以整理为由删除用户上传或无关既有文件。</p><h2 id="自动维护当前对话要求" tabindex="-1">自动维护当前对话要求 <a class="header-anchor" href="#自动维护当前对话要求" aria-label="Permalink to "自动维护当前对话要求""></a></h2><p>Agent 会自动识别你直接或间接表达的、对当前托管对话后续工作仍然适用的要求,不要求必须使用“记住”一词。例如“后续报告都用中文”“文件继续修改原版本”“每次交付前检查链接”都会被视为持续要求。Agent 会先读取已有 <code>/workspace/inbox/AGENTS.md</code>,再把要求整理为精炼的当前规则:保留无关内容、避免重复,并用较新的要求替换或删除冲突、取消或过期规则;后续 Run 开始时会再次读取该文件。</p><p>适合保存的内容包括固定交付格式、术语、命名规范、质量检查、沟通偏好和重复使用的工作流程。只适用于当前任务的一次性要求、你引用或要求分析的第三方文本、Agent 自行推断的偏好、密码或 Token 等秘密,以及试图预先授权后续删除、提交、推送、发布等外部副作用的内容不会自动保存。<code>inbox/AGENTS.md</code> 属于当前对话而不是模板,会显示在相关文件中、计入持久配额,并可由你预览、下载、手动修改或删除。Conversation 历史 Rollback 不会回滚该文件。</p><p>如果要求应适用于该模板的所有用户和对话,请联系模板管理员修改来源 Workspace 的 <code>AGENTS.template.md</code>,测试草稿并发布新版本。托管对话中的 Agent 只能读取当前不可变模板快照,不能直接修改可复用模板。</p><h2 id="工作区与网络" tabindex="-1">工作区与网络 <a class="header-anchor" href="#工作区与网络" aria-label="Permalink to "工作区与网络""></a></h2><ul><li>Agent 的逻辑工作区固定为 <code>/workspace</code>。为兼容依赖原始绝对路径的脚本,发布时记录的来源 Workspace 规范绝对路径也会作为别名挂载。两处路径指向同一个当前版本快照,不会暴露可写的来源 Workspace。</li><li>模板文件、空目录、根 <code>AGENTS.md</code>、<code>.agents/skills/</code> 和发布时允许的符号链接均来自当前版本并保持只读。</li><li><code>/workspace/inbox</code> 与 <code>/workspace/output</code> 是可写覆盖层;原始路径别名下的同名目录指向相同覆盖层。附件和当前对话的 <code>AGENTS.md</code> 进入 <code>inbox/</code>;当前有效的最终结果和资源写入 <code>output/</code>,有保留价值的旧版本可进入 <code>output/bak/</code>。</li><li><code>/tmp</code> 是当前 Conversation 的临时工作目录,同一对话的后续 Run 可以复用,但宿主系统可能随时清理。其内容不显示在相关文件中,也不计入持久配额;<code>/workspace/output/tmp</code> 没有特殊生命周期或特殊语义。</li><li>Node 会向 Agent 注入不可编辑的托管说明,明确真实目录权限和网络能力;模板中的 Workspace 指令仍会加载,但不能扩大 Host 强制边界。</li><li>“无网络”禁止沙箱进程联网、Web 和远程 HTTP MCP;“不受限”允许沙箱进程、Web 能力和模板版本中已发布的远程 HTTP MCP 访问 Node 可达网络。本地 stdio MCP 在两种模式下都可启动,但在“无网络”模式下不能联网。</li></ul><h2 id="实时状态与可用性提示" tabindex="-1">实时状态与可用性提示 <a class="header-anchor" href="#实时状态与可用性提示" aria-label="Permalink to "实时状态与可用性提示""></a></h2><p>对话页面复用当前页面唯一的 Workbench WebSocket,并且一次只订阅当前对话。切换对话、离开页面或浏览器连接重建时,旧订阅会释放;重新连接后从 Node 获取新的权威快照,不根据缺失事件猜测 Run 结果。</p><p>首条消息创建成功但连接尚未恢复时,草稿和附件会保留,恢复后需要你再次发送,不会自动重发。创建或上传期间切换历史不会撤销已经提交的操作,也不会跳回旧对话;在当前页面点击“新建对话”可继续原草稿。离开整个页面不等于取消已提交的操作,重新进入后可在历史中查看已创建的对话。</p><p>Run 成功、失败或发生非预期中断后,通知中心会保留该托管对话通知 24 小时。用户主动选择“停止”,或删除对话时由 Node 取消运行,不生成终态通知。点击通知会切换到“对话”模式并打开对应对话;托管对话不会出现在“最近会话”列表。</p><p>以下情况页面会给出行动提示:</p><ul><li>承载服务暂不可达或实时订阅失败:已加载内容仍可查看。已建立的订阅会对可恢复故障有限自动重试,正文显示重载圆环,恢复前禁止写入;初次加载失败或恢复停止后,在正文点击“加载失败,点击重试”。同一错误不再重复弹出消息,错误码、详情和请求标识可在重试入口的补充提示中查看。</li><li>模板自动升级失败:当前发送失败,但旧版本、历史和可写状态保持不变;下一次发送会重新查询当时最新的可用版本并再次尝试升级。</li><li>相关文件同步失败:消息历史仍可查看;稍后重新打开对话,持续发生时联系管理员。</li></ul><h2 id="标题、置顶与删除" tabindex="-1">标题、置顶与删除 <a class="header-anchor" href="#标题、置顶与删除" aria-label="Permalink to "标题、置顶与删除""></a></h2><p>新建面板和刚创建的对话最初都显示当前界面语言的“新建对话”,不会使用模板名称作为标题;切换界面语言时,这个默认标题会同步更新。首条非空消息被接受后,页面立即用该消息作为临时标题;如果首条发送只有附件,则继续显示默认标题。MAR Agent 完成首轮自动标题后会更新历史目录和顶栏。打开历史记录右侧的“…”菜单可以手动编辑标题;自动标题和手动标题保持原文,不随界面语言翻译,且手动标题优先,不会再被迟到的自动标题覆盖。编辑标题或切换置顶不会改变最后互动时间;置顶项始终显示在普通项之前。</p><p>选择“删除”时,确认框会明确说明该操作不可恢复。确认后 Node 会停止该对话仍在进行的运行和上传,永久删除历史、相关文件与托管目录。删除当前对话时,页面会清空选择并进入新建面板;删除其他历史记录时,当前对话和实时订阅保持不变。两种情况都会刷新历史目录。删除不是模板归档,也不存在恢复期或恢复入口。</p><h2 id="可用性说明" tabindex="-1">可用性说明 <a class="header-anchor" href="#可用性说明" aria-label="Permalink to "可用性说明""></a></h2><ul><li>承载 Node 文件系统使用率达到 95% 时,只禁止新建对话;已有对话仍可打开、运行、上传、导出或删除。</li><li>模板未发布、已停用、已归档、已删除或授权被撤销后,不会继续出现在你的新建目录中。</li><li>模板授权不会让承载 Node 或源 Workspace 出现在“工作”资源目录;如果还需要普通文件、终端或 Workspace 操作,必须由管理员另行授予对应资源权限。</li><li>页面只在当前浏览器保存最近选择的模板 ID,不保存模板详情;该模板不再可用时会安全忽略。打开页面、刷新或只剩一个模板时都不会静默创建;历史栏“新建对话”只打开中间临时新建面板。</li></ul><p><strong>成功标志:</strong> 页面显示新对话标题和首条消息,相关文件栏可以使用。</p><p>如果没有可选模板,请联系管理员检查模板发布和模板授权。创建时若提示承载服务、版本、隔离能力或存储容量不可用,请由管理员检查对应 Node。管理员可参阅<a href="./../administration/conversation-templates">管理对话模板</a>。</p>',47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d("",47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
|