@myagentroam/server 0.15.3 → 0.15.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/node_modules/@myagentroam/protocol/dist/index.d.ts +135 -102
  2. package/node_modules/@myagentroam/protocol/dist/index.js +15 -7
  3. package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +1126 -0
  4. package/node_modules/@myagentroam/protocol/dist/scheduled-time.js +92 -0
  5. package/node_modules/@myagentroam/protocol/dist/workbench-notification.d.ts +391 -0
  6. package/node_modules/@myagentroam/protocol/dist/workbench-notification.js +43 -0
  7. package/node_modules/@myagentroam/protocol/package.json +1 -1
  8. package/node_modules/@myagentroam/server-core/dist/domain-errors.js +6 -0
  9. package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.d.ts +4 -0
  10. package/node_modules/@myagentroam/server-core/dist/i18n/workbench-notifications.js +4 -0
  11. package/node_modules/@myagentroam/server-core/dist/marctl-session-routes.js +41 -35
  12. package/node_modules/@myagentroam/server-core/dist/mysql-node-identity.js +2 -0
  13. package/node_modules/@myagentroam/server-core/dist/mysql-schema.d.ts +11 -0
  14. package/node_modules/@myagentroam/server-core/dist/mysql-schema.js +79 -9
  15. package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +3 -0
  16. package/node_modules/@myagentroam/server-core/dist/node-identity-control.js +3 -0
  17. package/node_modules/@myagentroam/server-core/dist/node-projection.d.ts +3 -0
  18. package/node_modules/@myagentroam/server-core/dist/node-projection.js +4 -2
  19. package/node_modules/@myagentroam/server-core/dist/node-request-channel.d.ts +6 -0
  20. package/node_modules/@myagentroam/server-core/dist/node-request-channel.js +9 -0
  21. package/node_modules/@myagentroam/server-core/dist/run-control-routes.js +7 -1
  22. package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.d.ts +139 -0
  23. package/node_modules/@myagentroam/server-core/dist/scheduled-task-index.js +304 -0
  24. package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.d.ts +18 -0
  25. package/node_modules/@myagentroam/server-core/dist/scheduled-task-pagination.js +37 -0
  26. package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.d.ts +45 -0
  27. package/node_modules/@myagentroam/server-core/dist/scheduled-task-routes.js +449 -0
  28. package/node_modules/@myagentroam/server-core/dist/session-run-routes.js +1 -125
  29. package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.d.ts +14 -0
  30. package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.js +101 -33
  31. package/node_modules/@myagentroam/server-core/package.json +12 -2
  32. package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +1 -1
  33. package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +75 -4
  34. package/node_modules/@myagentroam-enterprise/server-implementation/dist/mysql/server-database.js +3 -0
  35. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +9 -0
  36. package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +25 -2
  37. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.d.ts +1 -0
  38. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-access-service.js +6 -0
  39. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-management-directory.d.ts +3 -0
  40. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.d.ts +2 -2
  41. package/node_modules/@myagentroam-enterprise/server-implementation/dist/rbac/resource-mutation-service.js +6 -1
  42. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/background-execution-preparation-service.js +4 -5
  43. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.d.ts +5 -0
  44. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.js +17 -4
  45. package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-resource-scope-index.js +10 -8
  46. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  47. package/package.json +5 -5
  48. package/web/assets/AuditManagementPage-D8KkS-oV.js +1 -0
  49. package/web/assets/{AuthEntryPanel-Db_BWfJ0.js → AuthEntryPanel-BZr60V1Z.js} +2 -2
  50. package/web/assets/{CodeFileEditor-CihFm6fB.js → CodeFileEditor-D8VLnyG-.js} +3 -3
  51. package/web/assets/{ConversationTemplateManagementPage--MLDP2Yq.js → ConversationTemplateManagementPage-BhaalILc.js} +1 -1
  52. package/web/assets/{ConversationTemplateManagementPage-v6A9UnHo.js → ConversationTemplateManagementPage-DRuU-2mk.js} +1 -1
  53. package/web/assets/{EnterpriseUserManagementPage-DyFtLsCU.js → EnterpriseUserManagementPage-D3kBpmW_.js} +1 -1
  54. package/web/assets/{EnvironmentSecretManager-DMI-sdv1.js → EnvironmentSecretManager-BY6ibbTg.js} +1 -1
  55. package/web/assets/{FilePreviewLoading-D8OWX-sl.js → FilePreviewLoading-CW_-vYEv.js} +1 -1
  56. package/web/assets/{LicenseManagementPage-EO9mHum7.js → LicenseManagementPage-wjZ2x2aJ.js} +1 -1
  57. package/web/assets/{ManagementPagination-B6TS3Pk4.js → ManagementPagination-CSbL103K.js} +1 -1
  58. package/web/assets/{MarAgentModelManagementPage-CMT8p2qX.js → MarAgentModelManagementPage-BB0hk-GQ.js} +1 -1
  59. package/web/assets/{MarAgentModelManagementPage-DOPY6UOs.js → MarAgentModelManagementPage-BUaPEWQM.js} +1 -1
  60. package/web/assets/{MarAlert-C-dZd4T_.js → MarAlert-BIXqe6_J.js} +1 -1
  61. package/web/assets/{MarCascader-D3Vl-FFX.js → MarCascader-C2J5GjBw.js} +1 -1
  62. package/web/assets/{MarCheckTag-BwSYYsSE.js → MarCheckTag-01qHo807.js} +1 -1
  63. package/web/assets/{MarCheckboxGroup-Cb135wMq.js → MarCheckboxGroup-CMBj1w0E.js} +1 -1
  64. package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-BwTnPcE0.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DRaEaSWG.js} +1 -1
  65. package/web/assets/{MarDatePicker-tSQv6wvs.js → MarDatePicker-CG5Cw-gM.js} +1 -1
  66. package/web/assets/{MarDescriptionsItem-PNPmf934.js → MarDescriptionsItem-n0QciGpi.js} +1 -1
  67. package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-Dvh_fAz1.js → MarFormItem.vue_vue_type_script_setup_true_lang-CYXLZBn3.js} +1 -1
  68. package/web/assets/{MarInputNumber-OVs6j0FR.js → MarInputNumber-BcQXNSgW.js} +1 -1
  69. package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-Bsmm81si.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-wj3wqzBo.js} +1 -1
  70. package/web/assets/{MarSwitch-BGPjm8mm.js → MarSwitch-BWpgpElR.js} +1 -1
  71. package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-druOvKUy.js → MarTableColumn.vue_vue_type_script_setup_true_lang-B9QX8gr9.js} +1 -1
  72. package/web/assets/{MarTabs-DGJMl1q0.js → MarTabs-IcUSEY93.js} +1 -1
  73. package/web/assets/{MarTag-BoauUJly.js → MarTag-CxlYiX8t.js} +1 -1
  74. package/web/assets/{MarkdownFilePreview-Btw0b3eS.js → MarkdownFilePreview-CCxlGgom.js} +2 -2
  75. package/web/assets/{McpDetailsDialog-ZmNHpt5x.js → McpDetailsDialog-CvVbH242.js} +1 -1
  76. package/web/assets/{McpSourceManagementPage-Cl3ypbMi.js → McpSourceManagementPage-CU7iKF9i.js} +1 -1
  77. package/web/assets/{McpSourceManagementPage-DuyBN1_y.js → McpSourceManagementPage-LFJCWxYW.js} +1 -1
  78. package/web/assets/{NodeDetailsDialogs-B0LplIPv.js → NodeDetailsDialogs-CtM4oKNX.js} +1 -1
  79. package/web/assets/NodeManagementPage-BUjCQend.js +1 -0
  80. package/web/assets/NodeManagementPage-DScwQZqF.js +1 -0
  81. package/web/assets/{OAuthManagementPage-6YC9ASJ5.js → OAuthManagementPage-DJs1vapJ.js} +1 -1
  82. package/web/assets/{OrganizationManagementPage-BKD6rHXr.js → OrganizationManagementPage-BaoTVDUb.js} +1 -1
  83. package/web/assets/{RemoteDesktopPage-BbaFFjeW.js → RemoteDesktopPage-CE1LFfcC.js} +1 -1
  84. package/web/assets/{ResourceManagementPanel-ByySlr2x.js → ResourceManagementPanel-0NiKqBrv.js} +1 -1
  85. package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BmO8bTuI.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B9o0bbzQ.js} +1 -1
  86. package/web/assets/SecretManagementPage-LO_IW0_0.js +1 -0
  87. package/web/assets/{SecretManagementPage-D2W03gRh.js → SecretManagementPage-w5pcLap2.js} +1 -1
  88. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BBcFoXRw.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DCoElfcw.js} +1 -1
  89. package/web/assets/{SessionSharePage-BNgEp6w0.js → SessionSharePage-CdS0fDU6.js} +2 -2
  90. package/web/assets/SettingsContent-BmGmgXyf.css +1 -0
  91. package/web/assets/{SettingsContent-leYkMe7Y.js → SettingsContent-CMjCWCcz.js} +1 -1
  92. package/web/assets/SettingsContent-CrxJvZXU.js +1 -0
  93. package/web/assets/SkillCenterPage-CbRHlo_3.js +1 -0
  94. package/web/assets/{SkillCenterPage-kib4QG13.js → SkillCenterPage-D8fxeKqD.js} +1 -1
  95. package/web/assets/{SkillDetailsDialog-s5e4FvWZ.js → SkillDetailsDialog-CEsbW-2w.js} +1 -1
  96. package/web/assets/{SkillSourceManagementPage-D42HRqgP.js → SkillSourceManagementPage-Cpta95u0.js} +1 -1
  97. package/web/assets/{SkillSourceManagementPage-CAPfoRGd.js → SkillSourceManagementPage-CqoJOBY3.js} +1 -1
  98. package/web/assets/{StandaloneFilePreviewPage-BoYp4pLI.js → StandaloneFilePreviewPage-Bl-A3-A3.js} +1 -1
  99. package/web/assets/{SystemConfigurationPage-BImLLC7-.js → SystemConfigurationPage-DWFiYNz_.js} +1 -1
  100. package/web/assets/{SystemConfigurationPage-B033PZiP.js → SystemConfigurationPage-Dm_kWCl2.js} +1 -1
  101. package/web/assets/{SystemInformationPage-CfN_9y2Q.js → SystemInformationPage-QlZExx-c.js} +1 -1
  102. package/web/assets/{TerminalTabView-C0LlUwtD.js → TerminalTabView-BP57trNC.js} +1 -1
  103. package/web/assets/WorkbenchPage-CP05FQUe.css +1 -0
  104. package/web/assets/WorkbenchPage-uEm4WN8I.js +22 -0
  105. package/web/assets/WorkspaceManagementPage-C-5lVy-g.js +1 -0
  106. package/web/assets/WorkspaceManagementPage-Cc5vGTWN.js +1 -0
  107. package/web/assets/{abnfDiagram-VCTEODGH-B3B520U3.js → abnfDiagram-VCTEODGH-Du0MybKC.js} +1 -1
  108. package/web/assets/{arc-CzRIICEp.js → arc-B5y5KmDt.js} +1 -1
  109. package/web/assets/{architectureDiagram-5GKGNRK7-Cwii7Vqj.js → architectureDiagram-5GKGNRK7-DhG7rDLG.js} +1 -1
  110. package/web/assets/{blockDiagram-OSKFZWR5-DmXB7nEY.js → blockDiagram-OSKFZWR5-DCJ1wB-r.js} +1 -1
  111. package/web/assets/{c4Diagram-7LVT6UL2-DvFgqrKw.js → c4Diagram-7LVT6UL2-B1CP1sYt.js} +1 -1
  112. package/web/assets/{catalog-ownership-service-BxgleBKc.js → catalog-ownership-service-BUFIMbci.js} +1 -1
  113. package/web/assets/{catalog-page-service-OpYIbvUW.js → catalog-page-service-B_JepXTI.js} +1 -1
  114. package/web/assets/channel-D3rjMA5A.js +1 -0
  115. package/web/assets/{chunk-2Q5K7J3B-CRHWDv_q.js → chunk-2Q5K7J3B-DuRuX86Y.js} +1 -1
  116. package/web/assets/{chunk-5VM5RSS4-BWK_1AQI.js → chunk-5VM5RSS4-DBJ6aoTo.js} +1 -1
  117. package/web/assets/{chunk-F27PBJKO-8ThkQ-mU.js → chunk-F27PBJKO-2f9iSjYP.js} +1 -1
  118. package/web/assets/{chunk-HLEWEB6X-Ch5NYm1-.js → chunk-HLEWEB6X-CJOBbR1k.js} +1 -1
  119. package/web/assets/{chunk-JWPE2WC7-B3jfIta9.js → chunk-JWPE2WC7-Dr98A5pY.js} +1 -1
  120. package/web/assets/{chunk-POPQ4Y6H-C_gUZd26.js → chunk-POPQ4Y6H-wjDvq3BN.js} +1 -1
  121. package/web/assets/{chunk-SVP7TREG-CLYTuLPA.js → chunk-SVP7TREG-CClZQnxq.js} +1 -1
  122. package/web/assets/{chunk-XXDRQBXY-i9XwWX09.js → chunk-XXDRQBXY-DFtibmbb.js} +1 -1
  123. package/web/assets/{chunk-ZLD2IHE6-DXNNy-Je.js → chunk-ZLD2IHE6-C-lUW0FB.js} +1 -1
  124. package/web/assets/classDiagram-CYGNFDIV-Bcjd_47g.js +1 -0
  125. package/web/assets/classDiagram-v2-TLXNO2FR-Bcjd_47g.js +1 -0
  126. package/web/assets/{conversation-history-BHVBrFPF.js → conversation-history-CpANgf3A.js} +1 -1
  127. package/web/assets/{cose-bilkent-JH36ORCC-CbG82TkW.js → cose-bilkent-JH36ORCC-BKU7oQGN.js} +1 -1
  128. package/web/assets/{cynefin-OW5HDTMX-DXUJi6PL.js → cynefin-OW5HDTMX-DumaFVqy.js} +1 -1
  129. package/web/assets/{cynefinDiagram-5FMLGOSQ-BbpaJaJc.js → cynefinDiagram-5FMLGOSQ-CLP-sNpW.js} +1 -1
  130. package/web/assets/{dagre-OS7QT2EB-B6_YQGif.js → dagre-OS7QT2EB-Wi4imYgt.js} +1 -1
  131. package/web/assets/{diagram-S7CK7UJ4-BRzqASNb.js → diagram-S7CK7UJ4-D9BP3ZAo.js} +1 -1
  132. package/web/assets/{diagram-UQ7AKVKN-vsBp6Ji0.js → diagram-UQ7AKVKN-BJ1P4Mge.js} +1 -1
  133. package/web/assets/{diagram-VSXAHHWV-LePbDIih.js → diagram-VSXAHHWV-CdyIDgCH.js} +1 -1
  134. package/web/assets/{diagram-VX7I27RA-Cn9ukbx8.js → diagram-VX7I27RA-BXjFSNYv.js} +1 -1
  135. package/web/assets/{diagram-Z3DM3KII-CMl4dVbW.js → diagram-Z3DM3KII-CPtB7ZmG.js} +1 -1
  136. package/web/assets/{ebnfDiagram-PWID7BFC-CBwYQRJ8.js → ebnfDiagram-PWID7BFC-uA6gqyzY.js} +1 -1
  137. package/web/assets/{enterprise-management-service-DahI8TVf.js → enterprise-management-service-BX8NJuDk.js} +1 -1
  138. package/web/assets/{erDiagram-2YWLMYGG-CIIffxms.js → erDiagram-2YWLMYGG-23iIB5QW.js} +1 -1
  139. package/web/assets/{error-presentation-BxUofys_.js → error-presentation-XfbdSDGg.js} +1 -1
  140. package/web/assets/{flowDiagram-T62WH6J4-hWu2S6nd.js → flowDiagram-T62WH6J4-Mbk77o-A.js} +1 -1
  141. package/web/assets/{ganttDiagram-EL5Y4UJY-DQQyyM2R.js → ganttDiagram-EL5Y4UJY-BlU3FoGq.js} +1 -1
  142. package/web/assets/{gitGraphDiagram-WWUBYQGX-bod8pPxm.js → gitGraphDiagram-WWUBYQGX-D6Vo5lDX.js} +1 -1
  143. package/web/assets/{hosted-conversation-template-client-4N4KDMmd.js → hosted-conversation-template-client-CLYMEop0.js} +1 -1
  144. package/web/assets/{index-CqmyW_rC.js → index-0r8KZ1EM.js} +1 -1
  145. package/web/assets/{index-Bnw27ovL.css → index-B-bVIIi7.css} +1 -1
  146. package/web/assets/{index-ngCP4sKA.js → index-B4wYYpF_.js} +1 -1
  147. package/web/assets/{index-BV6jwloN.js → index-B7_0vFkh.js} +1 -1
  148. package/web/assets/{index-DvTPCgd0.js → index-BLwmotpi.js} +1 -1
  149. package/web/assets/{index-C_5eJUYf.js → index-BiXFIrDg.js} +1 -1
  150. package/web/assets/{index-Dp3eq1zd.js → index-Bv73Gkvs.js} +1 -1
  151. package/web/assets/{index-DpVjIrhP.js → index-C1M4rGeX.js} +1 -1
  152. package/web/assets/{index-DvzWB-jx.js → index-CFn4LQPs.js} +1 -1
  153. package/web/assets/{index-B4ZW-T6J.js → index-CGi3RTUf.js} +1 -1
  154. package/web/assets/{index-DtQPOl5N.js → index-CKz27wi-.js} +1 -1
  155. package/web/assets/{index-Dn7WvtF7.js → index-CSu7OC-_.js} +1 -1
  156. package/web/assets/{index-BGPZzJsA.js → index-CZwpEOKz.js} +1 -1
  157. package/web/assets/{index-CqTIvvh4.js → index-CqB6PBOi.js} +1 -1
  158. package/web/assets/{index-BBmXtRn-.js → index-Cze0CH7J.js} +1 -1
  159. package/web/assets/{index-0qO_3KE2.js → index-D1yWQZFs.js} +1 -1
  160. package/web/assets/{index-DmVV73u3.js → index-DSB2oKEj.js} +1 -1
  161. package/web/assets/{index-fTGjG74c.js → index-DeWQ2Yz0.js} +1 -1
  162. package/web/assets/{index-BcU4a2UI.js → index-DheoeiF1.js} +1 -1
  163. package/web/assets/index-DoV6LpJ_.js +24 -0
  164. package/web/assets/{index-6BWD9-7y.js → index-Du7hD8W0.js} +1 -1
  165. package/web/assets/{index-DkNKd-3B.js → index-Dztpg-wO.js} +1 -1
  166. package/web/assets/{index-B8VV5dHZ.js → index-GmHBAdlI.js} +1 -1
  167. package/web/assets/{index-DWkq2AGW.js → index-Gp4KbdeM.js} +1 -1
  168. package/web/assets/{index-B5klvT1H.js → index-TBUL-84O.js} +1 -1
  169. package/web/assets/{index-CqINCSE3.js → index-XhzHh3_N.js} +1 -1
  170. package/web/assets/{index-WrhXkAuv.js → index-lSgZTvIO.js} +1 -1
  171. package/web/assets/{index-CKsN5tnJ.js → index-qDTUZYRk.js} +1 -1
  172. package/web/assets/{infoDiagram-FKFFQAWI-CJqQEdwz.js → infoDiagram-FKFFQAWI-DO351l4z.js} +1 -1
  173. package/web/assets/{ishikawaDiagram-5VMMS53U-Cj6-Lh3W.js → ishikawaDiagram-5VMMS53U-D9YiRNGM.js} +1 -1
  174. package/web/assets/{journeyDiagram-EYS64GPL-BIL8wlwa.js → journeyDiagram-EYS64GPL-sea-Dbqn.js} +1 -1
  175. package/web/assets/{kanban-definition-UXKFOSKX-BZQdoskd.js → kanban-definition-UXKFOSKX-C2PU3Fae.js} +1 -1
  176. package/web/assets/{layout-C-meAuZp.js → layout-D_Z1apep.js} +1 -1
  177. package/web/assets/{linear-BXP8QFmo.js → linear-CalIYjBa.js} +1 -1
  178. package/web/assets/{management-url-service-CEi28VSK.js → management-url-service-DVA6GKpw.js} +1 -1
  179. package/web/assets/{mar-agent-reasoning-effort-B8Q9Jpu3.js → mar-agent-reasoning-effort-D4Vq-rFs.js} +1 -1
  180. package/web/assets/{mcp-center-service-CrXWIZ89.js → mcp-center-service-_QTumIMW.js} +1 -1
  181. package/web/assets/{mermaid.core-DEciRvw4.js → mermaid.core-d4RL5WfP.js} +5 -5
  182. package/web/assets/{mindmap-definition-THT77NOG-4232A9CN.js → mindmap-definition-THT77NOG-BxJy_OV4.js} +1 -1
  183. package/web/assets/{mobile-dialog-return-service-DRW4xZe4.js → mobile-dialog-return-service-DysKDrQN.js} +1 -1
  184. package/web/assets/{oauth-callback--0hD7dZ7.js → oauth-callback-CC4J0oeW.js} +1 -1
  185. package/web/assets/{pegDiagram-XKGWAZYB-z74k-wFd.js → pegDiagram-XKGWAZYB-DHubZ6bJ.js} +1 -1
  186. package/web/assets/{pieDiagram-E7YTZNPT-BxYWkM_Z.js → pieDiagram-E7YTZNPT-BMZyLzlV.js} +1 -1
  187. package/web/assets/{quadrantDiagram-AXDQQJYC-Cd6maoR6.js → quadrantDiagram-AXDQQJYC-ckqw-2qx.js} +1 -1
  188. package/web/assets/{railroadDiagram-O6MQD6OU-fsMvr3v8.js → railroadDiagram-O6MQD6OU-Cn0fDcDC.js} +1 -1
  189. package/web/assets/{requirementDiagram-IS5BZ75X--tU9WVRs.js → requirementDiagram-IS5BZ75X-QWv0_Ow2.js} +1 -1
  190. package/web/assets/runner-presentation-iiny0AkT.js +1 -0
  191. package/web/assets/{sankeyDiagram-P5KCCOFB-AUpbouE8.js → sankeyDiagram-P5KCCOFB-DimfOq-9.js} +1 -1
  192. package/web/assets/{scoped-http-service-BUd40otX.js → scoped-http-service-BFcq9Zvc.js} +3 -3
  193. package/web/assets/{sequenceDiagram-WJ2MYXX4-CjH5OTU4.js → sequenceDiagram-WJ2MYXX4-gX0SwEWC.js} +1 -1
  194. package/web/assets/{session-share-client-service-CxqkMHWQ.js → session-share-client-service-D3FBWzBr.js} +1 -1
  195. package/web/assets/{sizeCapture-INFHLROL-DYvFOlqy.js → sizeCapture-INFHLROL-BT5F5fTF.js} +1 -1
  196. package/web/assets/{stateDiagram-XQSTLZYL-MwLwNWOb.js → stateDiagram-XQSTLZYL-IroDqXZe.js} +1 -1
  197. package/web/assets/stateDiagram-v2-IH3M54BS-BXKYzszG.js +1 -0
  198. package/web/assets/{swimlanes-V6O3JKXN-tf4B06so.js → swimlanes-V6O3JKXN-2eJ2xc8d.js} +1 -1
  199. package/web/assets/swimlanesDiagram-JKAHXJPX-Dzg0lR2v.js +8 -0
  200. package/web/assets/{time-presentation-BLCYPkwu.js → time-presentation-C8cg5brJ.js} +1 -1
  201. package/web/assets/{timeline-definition-24CTP7MA-wJWW5Met.js → timeline-definition-24CTP7MA-Bj0QZw-p.js} +1 -1
  202. package/web/assets/{vennDiagram-4TSXK5OY-Y_95t6qh.js → vennDiagram-4TSXK5OY-hvkC6G6B.js} +1 -1
  203. package/web/assets/{wardleyDiagram-VM6X3IG4-BscSDOEa.js → wardleyDiagram-VM6X3IG4-BdIuIixT.js} +1 -1
  204. package/web/assets/{workbench-live-service-C2cXipPI.js → workbench-live-service-fxWoCh0C.js} +1 -1
  205. package/web/assets/{workbench-presentation-Cc9MAhUo.js → workbench-presentation-B_OBr1FF.js} +1 -1
  206. package/web/assets/{xychartDiagram-S5SC5T6Z-CZLvj4Rq.js → xychartDiagram-S5SC5T6Z-CW52lHg4.js} +1 -1
  207. package/web/docs/404.html +2 -2
  208. package/web/docs/administration/account.html +3 -3
  209. package/web/docs/administration/audit.html +3 -3
  210. package/web/docs/administration/conversation-templates.html +3 -3
  211. package/web/docs/administration/email-notifications.html +3 -3
  212. package/web/docs/administration/license.html +3 -3
  213. package/web/docs/administration/nodes-workspaces.html +3 -3
  214. package/web/docs/administration/oauth.html +3 -3
  215. package/web/docs/administration/secrets.html +3 -3
  216. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  217. package/web/docs/administration/users-organizations.html +3 -3
  218. package/web/docs/assets/{app.Ccx3H5CJ.js → app.wB-a6uw0.js} +1 -1
  219. package/web/docs/assets/chunks/@localSearchIndexen-US.DSjLYazS.js +1 -0
  220. package/web/docs/assets/chunks/@localSearchIndexroot.Dn2cxDJM.js +1 -0
  221. package/web/docs/assets/chunks/{VPLocalSearchBox.CWPLf9EK.js → VPLocalSearchBox.BLZg_5qy.js} +1 -1
  222. package/web/docs/assets/chunks/{theme.DybUwjKs.js → theme.iCsbu-7D.js} +2 -2
  223. package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.js → concepts_node-and-workspace.md.kMVoeyoQ.js} +1 -1
  224. package/web/docs/assets/{concepts_node-and-workspace.md.D4_8X2QZ.lean.js → concepts_node-and-workspace.md.kMVoeyoQ.lean.js} +1 -1
  225. package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.js → en-US_concepts_node-and-workspace.md.DXOEqvst.js} +1 -1
  226. package/web/docs/assets/{en-US_concepts_node-and-workspace.md.BLl1KHPj.lean.js → en-US_concepts_node-and-workspace.md.DXOEqvst.lean.js} +1 -1
  227. package/web/docs/assets/{en-US_operations_marctl.md.BwfEVzJW.js → en-US_operations_marctl.md.BFqJcU4O.js} +12 -7
  228. package/web/docs/assets/en-US_operations_marctl.md.BFqJcU4O.lean.js +1 -0
  229. package/web/docs/assets/en-US_workbench_navigation.md.BW-gfygd.js +1 -0
  230. package/web/docs/assets/{en-US_workbench_navigation.md.3W7bsQ4I.lean.js → en-US_workbench_navigation.md.BW-gfygd.lean.js} +1 -1
  231. package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.js → en-US_workbench_sessions.md.4DxY5XA7.js} +1 -1
  232. package/web/docs/assets/{en-US_workbench_sessions.md.M9QKVl4Z.lean.js → en-US_workbench_sessions.md.4DxY5XA7.lean.js} +1 -1
  233. package/web/docs/assets/operations_marctl.md.ZlO6mUvM.js +52 -0
  234. package/web/docs/assets/operations_marctl.md.ZlO6mUvM.lean.js +1 -0
  235. package/web/docs/assets/workbench_navigation.md.DUBx-MAk.js +1 -0
  236. package/web/docs/assets/{workbench_navigation.md.HvELxpD-.lean.js → workbench_navigation.md.DUBx-MAk.lean.js} +1 -1
  237. package/web/docs/assets/workbench_sessions.md.CeNjkWLp.js +1 -0
  238. package/web/docs/assets/workbench_sessions.md.CeNjkWLp.lean.js +1 -0
  239. package/web/docs/concepts/architecture.html +3 -3
  240. package/web/docs/concepts/data-and-security.html +3 -3
  241. package/web/docs/concepts/files-git-terminal.html +3 -3
  242. package/web/docs/concepts/node-and-workspace.html +5 -5
  243. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  244. package/web/docs/concepts/runner-control.html +3 -3
  245. package/web/docs/concepts/secrets.html +3 -3
  246. package/web/docs/concepts/session-run-turn.html +3 -3
  247. package/web/docs/deployment/backup-restore.html +3 -3
  248. package/web/docs/deployment/network.html +3 -3
  249. package/web/docs/deployment/node-installation.html +3 -3
  250. package/web/docs/deployment/node-linux.html +3 -3
  251. package/web/docs/deployment/node-macos.html +3 -3
  252. package/web/docs/deployment/node-windows.html +3 -3
  253. package/web/docs/deployment/production.html +3 -3
  254. package/web/docs/deployment/security-checklist.html +3 -3
  255. package/web/docs/deployment/upgrade.html +3 -3
  256. package/web/docs/en-US/administration/account.html +3 -3
  257. package/web/docs/en-US/administration/audit.html +3 -3
  258. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  259. package/web/docs/en-US/administration/email-notifications.html +3 -3
  260. package/web/docs/en-US/administration/license.html +3 -3
  261. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  262. package/web/docs/en-US/administration/oauth.html +3 -3
  263. package/web/docs/en-US/administration/secrets.html +3 -3
  264. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  265. package/web/docs/en-US/administration/users-organizations.html +3 -3
  266. package/web/docs/en-US/concepts/architecture.html +3 -3
  267. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  268. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  269. package/web/docs/en-US/concepts/node-and-workspace.html +5 -5
  270. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  271. package/web/docs/en-US/concepts/runner-control.html +3 -3
  272. package/web/docs/en-US/concepts/secrets.html +3 -3
  273. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  274. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  275. package/web/docs/en-US/deployment/network.html +3 -3
  276. package/web/docs/en-US/deployment/node-installation.html +3 -3
  277. package/web/docs/en-US/deployment/node-linux.html +3 -3
  278. package/web/docs/en-US/deployment/node-macos.html +3 -3
  279. package/web/docs/en-US/deployment/node-windows.html +3 -3
  280. package/web/docs/en-US/deployment/production.html +3 -3
  281. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  282. package/web/docs/en-US/deployment/upgrade.html +3 -3
  283. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  284. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  285. package/web/docs/en-US/getting-started/first-login.html +3 -3
  286. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  287. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  288. package/web/docs/en-US/getting-started/overview.html +3 -3
  289. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  290. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  291. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  292. package/web/docs/en-US/operations/marctl.html +15 -10
  293. package/web/docs/en-US/reference/configuration.html +3 -3
  294. package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
  295. package/web/docs/en-US/reference/limits.html +3 -3
  296. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  297. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  298. package/web/docs/en-US/runners/claude-code.html +3 -3
  299. package/web/docs/en-US/runners/codex.html +3 -3
  300. package/web/docs/en-US/runners/mar-agent.html +3 -3
  301. package/web/docs/en-US/runners/opencode.html +3 -3
  302. package/web/docs/en-US/runners/overview.html +3 -3
  303. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  304. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  305. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  306. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  307. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  308. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  309. package/web/docs/en-US/workbench/browser.html +3 -3
  310. package/web/docs/en-US/workbench/composer.html +3 -3
  311. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  312. package/web/docs/en-US/workbench/conversation.html +3 -3
  313. package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
  314. package/web/docs/en-US/workbench/files.html +3 -3
  315. package/web/docs/en-US/workbench/git-changes.html +3 -3
  316. package/web/docs/en-US/workbench/git-history.html +3 -3
  317. package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
  318. package/web/docs/en-US/workbench/mobile.html +3 -3
  319. package/web/docs/en-US/workbench/navigation.html +5 -5
  320. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  321. package/web/docs/en-US/workbench/sessions.html +5 -5
  322. package/web/docs/en-US/workbench/skills.html +3 -3
  323. package/web/docs/en-US/workbench/terminal.html +3 -3
  324. package/web/docs/getting-started/connect-node.html +3 -3
  325. package/web/docs/getting-started/first-agent-session.html +3 -3
  326. package/web/docs/getting-started/first-login.html +3 -3
  327. package/web/docs/getting-started/next-steps.html +3 -3
  328. package/web/docs/getting-started/npm-quick-start.html +3 -3
  329. package/web/docs/getting-started/overview.html +3 -3
  330. package/web/docs/getting-started/prerequisites.html +3 -3
  331. package/web/docs/getting-started/register-workspace.html +3 -3
  332. package/web/docs/getting-started/server-installation.html +3 -3
  333. package/web/docs/hashmap.json +1 -1
  334. package/web/docs/operations/marctl.html +15 -10
  335. package/web/docs/reference/configuration.html +3 -3
  336. package/web/docs/reference/keyboard-shortcuts.html +3 -3
  337. package/web/docs/reference/limits.html +3 -3
  338. package/web/docs/reference/ports-paths-data.html +3 -3
  339. package/web/docs/reference/status-and-errors.html +3 -3
  340. package/web/docs/runners/claude-code.html +3 -3
  341. package/web/docs/runners/codex.html +3 -3
  342. package/web/docs/runners/mar-agent.html +3 -3
  343. package/web/docs/runners/opencode.html +3 -3
  344. package/web/docs/runners/overview.html +3 -3
  345. package/web/docs/runners/runner-troubleshooting.html +3 -3
  346. package/web/docs/troubleshooting/node-offline.html +3 -3
  347. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  348. package/web/docs/troubleshooting/session-run.html +3 -3
  349. package/web/docs/troubleshooting/terminal.html +3 -3
  350. package/web/docs/troubleshooting/workspace-files.html +3 -3
  351. package/web/docs/workbench/browser.html +3 -3
  352. package/web/docs/workbench/composer.html +3 -3
  353. package/web/docs/workbench/context-and-plan.html +3 -3
  354. package/web/docs/workbench/conversation.html +3 -3
  355. package/web/docs/workbench/file-reference-and-attachment.html +3 -3
  356. package/web/docs/workbench/files.html +3 -3
  357. package/web/docs/workbench/git-changes.html +3 -3
  358. package/web/docs/workbench/git-history.html +3 -3
  359. package/web/docs/workbench/hosted-conversations.html +3 -3
  360. package/web/docs/workbench/mobile.html +3 -3
  361. package/web/docs/workbench/navigation.html +5 -5
  362. package/web/docs/workbench/remote-desktop.html +3 -3
  363. package/web/docs/workbench/sessions.html +5 -5
  364. package/web/docs/workbench/skills.html +3 -3
  365. package/web/docs/workbench/terminal.html +3 -3
  366. package/web/index.html +3 -3
  367. package/web/service-worker.js +1 -1
  368. package/web/web-version.json +1 -1
  369. package/web/assets/AuditManagementPage-CYoJq8Xa.js +0 -1
  370. package/web/assets/NodeManagementPage-2pXVBnT4.js +0 -1
  371. package/web/assets/NodeManagementPage-D4RMXsxU.js +0 -1
  372. package/web/assets/SecretManagementPage-CmacyjNp.js +0 -1
  373. package/web/assets/SettingsContent-DbQffb3M.js +0 -1
  374. package/web/assets/SettingsContent-tt-arviP.css +0 -1
  375. package/web/assets/SkillCenterPage-fGS7KJAs.js +0 -1
  376. package/web/assets/WorkbenchPage-CRijp6VW.css +0 -1
  377. package/web/assets/WorkbenchPage-DcKTz_2C.js +0 -21
  378. package/web/assets/WorkspaceManagementPage-8Ys5XP7n.js +0 -1
  379. package/web/assets/WorkspaceManagementPage-C_VJkfy7.js +0 -1
  380. package/web/assets/channel-nZqGfUVf.js +0 -1
  381. package/web/assets/classDiagram-CYGNFDIV-Bx88BLRs.js +0 -1
  382. package/web/assets/classDiagram-v2-TLXNO2FR-Bx88BLRs.js +0 -1
  383. package/web/assets/index-DX5iLtIS.js +0 -24
  384. package/web/assets/runner-presentation-CQEHD1-x.js +0 -1
  385. package/web/assets/stateDiagram-v2-IH3M54BS-pXCRAnFo.js +0 -1
  386. package/web/assets/swimlanesDiagram-JKAHXJPX-DnlQN3xG.js +0 -8
  387. package/web/docs/assets/chunks/@localSearchIndexen-US.CB1zBLop.js +0 -1
  388. package/web/docs/assets/chunks/@localSearchIndexroot.Dt1o2ZGd.js +0 -1
  389. package/web/docs/assets/en-US_operations_marctl.md.BwfEVzJW.lean.js +0 -1
  390. package/web/docs/assets/en-US_workbench_navigation.md.3W7bsQ4I.js +0 -1
  391. package/web/docs/assets/operations_marctl.md.DViLDEoR.js +0 -47
  392. package/web/docs/assets/operations_marctl.md.DViLDEoR.lean.js +0 -1
  393. package/web/docs/assets/workbench_navigation.md.HvELxpD-.js +0 -1
  394. package/web/docs/assets/workbench_sessions.md.CwztGf0o.js +0 -1
  395. package/web/docs/assets/workbench_sessions.md.CwztGf0o.lean.js +0 -1
@@ -1,4 +1,4 @@
1
- import{_ as t,o as s,c as n,a3 as a}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"Manage Nodes with marctl","description":"","frontmatter":{"title":"Manage Nodes with marctl","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/operations/marctl.md","filePath":"en-US/operations/marctl.md"}'),o={name:"en-US/operations/marctl.md"};function i(r,e,c,d,l,p){return s(),n("div",null,[...e[0]||(e[0]=[a(`<h1 id="manage-nodes-with-marctl" tabindex="-1">Manage Nodes with marctl <a class="header-anchor" href="#manage-nodes-with-marctl" aria-label="Permalink to &quot;Manage Nodes with marctl&quot;">​</a></h1><p><code>marctl</code> is a Node CLI for the personal and enterprise editions; the Node package includes <code>marnodes</code>, <code>marssh</code>, and <code>marscp</code> entrypoints, for use only in MAR-managed execution contexts. It uses Server authorization to list usable Nodes, open an interactive terminal, run a one-off command, or copy a file. Nodes do not need to expose an SSH port. The <code>ssh</code> subcommand is a familiar name, <strong>not the system SSH protocol</strong>.</p><p>Ordinary MAR-launched Workbench terminals, Workspace Agent Runs, and their local MCP subprocesses automatically include these commands in <code>PATH</code>. Scripts can check <code>MAR_NODE_CONTEXT=1</code> for the MAR execution context and <code>MAR_USERNAME</code> for the current MAR account username, not a nickname or OS account. Scheduled runs use the task owner&#39;s username. Without a trusted execution identity, the username is empty rather than inherited from the Node service process. These variables provide context only: they do not grant permissions or change hosted conversations&#39; separate sandbox boundary.</p><h2 id="load-agent-guidance-on-demand" tabindex="-1">Load Agent guidance on demand <a class="header-anchor" href="#load-agent-guidance-on-demand" aria-label="Permalink to &quot;Load Agent guidance on demand&quot;">​</a></h2><p>In managed Workspaces with a marctl execution context, MAR Agent uses its built-in <code>marctl</code> Skill. Codex, Claude Code, and OpenCode load the same guide through the built-in <code>mar_cli</code> MCP tool <code>load_guide</code>. Server instructions and the tool description provide short discovery hints; whether the client exposes server instructions depends on the Agent.</p><p>Loading the guide only returns instructions, not command results. The Agent still runs marctl through its own shell tool and consults local command help when needed. Guidance already loaded and still in context can be reused. This entrypoint does not grant permissions or change collaboration message origins or existing schedule tools.</p><h2 id="check-command-help" tabindex="-1">Check command help <a class="header-anchor" href="#check-command-help" aria-label="Permalink to &quot;Check command help&quot;">​</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>
1
+ import{_ as s,o as t,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Manage Nodes with marctl","description":"","frontmatter":{"title":"Manage Nodes with marctl","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"en-US/operations/marctl.md","filePath":"en-US/operations/marctl.md"}'),i={name:"en-US/operations/marctl.md"};function o(r,e,d,c,l,p){return t(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="manage-nodes-with-marctl" tabindex="-1">Manage Nodes with marctl <a class="header-anchor" href="#manage-nodes-with-marctl" aria-label="Permalink to &quot;Manage Nodes with marctl&quot;">​</a></h1><p><code>marctl</code> is a Node CLI for the personal and enterprise editions; the Node package includes <code>marnodes</code>, <code>marssh</code>, and <code>marscp</code> entrypoints, for use only in MAR-managed execution contexts. It uses Server authorization to list usable Nodes, open an interactive terminal, run a one-off command, or copy a file. Nodes do not need to expose an SSH port. The <code>ssh</code> subcommand is a familiar name, <strong>not the system SSH protocol</strong>.</p><p>Ordinary MAR-launched Workbench terminals, Workspace Agent Runs, and their local MCP subprocesses automatically include these commands in <code>PATH</code>. Scripts can check <code>MAR_NODE_CONTEXT=1</code> for the MAR execution context and <code>MAR_USERNAME</code> for the current MAR account username, not a nickname or OS account. Scheduled runs use the task owner&#39;s username. Without a trusted execution identity, the username is empty rather than inherited from the Node service process. These variables provide context only: they do not grant permissions or change hosted conversations&#39; separate sandbox boundary.</p><h2 id="load-agent-guidance-on-demand" tabindex="-1">Load Agent guidance on demand <a class="header-anchor" href="#load-agent-guidance-on-demand" aria-label="Permalink to &quot;Load Agent guidance on demand&quot;">​</a></h2><p>In managed Workspaces with a marctl execution context, MAR Agent uses its built-in <code>marctl</code> Skill. Codex, Claude Code, and OpenCode load the same guide through the built-in <code>mar_cli</code> MCP tool <code>load_guide</code>. Server instructions and the tool description provide short discovery hints; whether the client exposes server instructions depends on the Agent.</p><p>Loading the guide only returns instructions, not command results. The Agent still runs marctl through its own shell tool and consults local command help when needed. Guidance already loaded and still in context can be reused. This entrypoint does not grant permissions or change collaboration message origins or existing schedule tools.</p><h2 id="check-command-help" tabindex="-1">Check command help <a class="header-anchor" href="#check-command-help" aria-label="Permalink to &quot;Check command help&quot;">​</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,11 +7,16 @@ import{_ as t,o as s,c as n,a3 as a}from"./chunks/framework.BHjrhdiC.js";const h
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>Each entrypoint also supports <code>-V</code> and writes one line, <code>marctl &lt;version&gt;</code>, to standard output, followed by a newline. No banner, dependency versions, or diagnostics are appended; successful queries exit with code 0. This is the installed Node package version, not the Server version. No configuration, authorization, or Server connection is required. Use <code>marctl help version</code> or <code>marctl version --help</code> for version-command help. In <code>marssh &lt;node&gt; --version</code>, the option remains part of the remote command rather than showing the local CLI version.</p><h2 id="execution-context-authorization" tabindex="-1">Execution-context authorization <a class="header-anchor" href="#execution-context-authorization" aria-label="Permalink to &quot;Execution-context authorization&quot;">​</a></h2><p>The CLI is only for MAR-managed execution contexts. In a Workbench terminal or Workspace Agent Run started by a user on a Node, it automatically uses the current user&#39;s Node permissions; scheduled runs use the task owner. No key, environment file, or manually configured authorization variables are needed.</p><p>The Server checks the user credential, account, login session (when applicable), and current permissions on every request. Credentials expire <strong>24 hours after issue</strong>, without sliding or automatic renewal. After expiry, open a new terminal or submit a new authorized input. Goal continuation and tool calls do not renew credentials. Ordinary OS terminals and other external scripts cannot access Nodes independently. Administrator keys, home-directory configuration files, and <code>--env-file</code> are not supported. Do not copy, persist, or share execution-context user credentials.</p><p>Credentials are signed by the Server. An ordinary Server restart neither invalidates an otherwise valid credential nor extends its lifetime; current permissions are still checked after reconnection. Update the Server, Node, and bundled CLI together. Old in-memory credentials cannot be converted to signed credentials, so open a new terminal or submit a new authorized input when first switching formats.</p><h2 id="coordinate-workspace-sessions" tabindex="-1">Coordinate Workspace Sessions <a class="header-anchor" href="#coordinate-workspace-sessions" aria-label="Permalink to &quot;Coordinate Workspace Sessions&quot;">​</a></h2><p>For <code>show/config/history/graph/rename/prompt</code> and <code>schedule get/create/update</code>, omit the Session ID to use the current execution-context Session. An explicit ID takes precedence. Without a current Session, the command fails rather than guessing a recent one. <code>send/goal/stop/wait/approval</code> always require an explicit target ID; <code>list</code> and <code>schedule list</code> still query the current Workspace.</p><p>Use <code>marctl agents rename [&lt;session-id&gt;] --title &#39;fixer#42 Updated title&#39; --json</code> to rename a Session. The trimmed title must be nonempty and at most 160 characters. There is no parent-tree restriction. Renaming uses the Web title-update flow without starting or interrupting execution. Use <code>agents current --json</code> to read the current title.</p><p>Scheduled tasks share data and agent editing rules with the built-in MCP: edits by the saving user apply directly; another user&#39;s edits return a <code>PENDING</code> proposal for the saving user to confirm, without changing execution identity. Scheduled and manual executions use the same user permissions and task editing rules. Read the current <code>revision</code> before passing <code>--expected-revision</code>; conflicts and uncertain writes are not retried automatically. MAR Agent hides the duplicate schedule MCP when its built-in marctl skill is available. Other Agents, or executions without that skill, retain the MCP.</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl agents schedule list --limit 20 --json</span></span>
11
- <span class="line"><span>marctl agents schedule get --json</span></span>
12
- <span class="line"><span>marctl agents schedule create --cron &#39;0 9 * * *&#39; -m &#39;Check build results&#39; --json</span></span>
13
- <span class="line"><span>marctl agents schedule update --expected-revision 1 --message-file task.txt --json</span></span>
14
- <span class="line"><span>marctl agents schedule get &lt;session-id&gt; --json</span></span></code></pre></div><p><code>schedule list</code> pages through Node SQLite and returns <code>tasks[]</code> (including <code>sessionTitle</code>) and <code>nextCursor</code>, without scanning native Agent session histories. Other schedule operations accept an explicit target Session. Creation requires cron and text; updates require at least one. Text uses <code>-m</code> / <code>--message-file</code> (including stdin), up to 20,000 characters. The Node chooses the time zone. The CLI does not provide task enable/disable, deletion, or proposal approval commands.</p><p><code>view [&lt;session-id&gt;] --json</code> returns only state, the current Goal, and bounded recent activity, without history or history pagination options. Read records on demand with the separate <code>history [&lt;session-id&gt;] --cursor &lt;cursor&gt; --limit &lt;1..100&gt; --json</code> command; omit the cursor for the first page. For <code>history --json</code>, select <code>kind === &quot;assistant_message&quot;</code> in <code>segments[].items[]</code> and read <code>payload.text</code>; compact state fields are described below.</p><p>Use <code>marctl agents config &lt;session-id&gt; --model-id &lt;id&gt; --effort high --json</code> to switch an existing Session&#39;s model and reasoning effort. Either option can be set alone; omitted fields and permissions stay unchanged. Use <code>--effort &quot;&quot;</code> for the Agent&#39;s native default. Configuration applies through the existing subsequent execution flow without restarting active execution. <code>agents start</code> also accepts <code>--effort</code>.</p><p>Both <code>agents start</code> and <code>agents config</code> select a model with <code>--model-id &lt;id&gt;</code>, using an ID from the target Agent configuration&#39;s <code>models[].id</code>. For MAR Agent this is the internal configuration ID, not the display name or upstream model ID. Requests and Session summaries use <code>modelId</code>; the old <code>--model</code> option and request field <code>model</code> are rejected.</p><p>Tasks dispatched with <code>start</code>, <code>send</code>, or <code>goal set</code> suppress automatic notifications to avoid repeated pushes from collaborating Sessions. This applies to subsequent task turns and Goal continuation; status and history remain available. Later manual input restores normal notification rules. Explicit notification tools can still send authorized notifications.</p><p><code>sessions</code> is bound to the current Node and Workspace by MAR authorization. It does not accept <code>--node</code>, <code>--workspace</code>, or another scope override; knowing a foreign Session ID or cursor does not grant access. A Workspace terminal may have no current Session. Missing trusted Workspace context is an explicit error. Existing <code>nodes</code>, <code>ssh</code>, and <code>scp</code> retain their cross-Node behavior.</p><p>Session listing, ID lookup, and <code>list --query &lt;title-fragment&gt;</code> read only Sessions registered or cached on the current Node, without actively scanning native Agent session histories. MAR-created Sessions are registered once their native identity is established; external Sessions are registered after successful Workbench discovery. Reads do not resume execution. List ordering follows the selected scope and results are bounded; excess matches set <code>truncated</code>, without pagination. For a mistyped ID, <code>SESSION_NOT_FOUND</code> details may suggest up to three nearby <code>&lt;sessionId&gt; &lt;name&gt;</code> entries from the same Workspace, without replacing the ID or replaying an operation. Failed waits retain the target Session, Run, failure stage, and available upstream diagnostics in JSON errors.</p><p><code>list</code> accepts only <code>--scope tree|active</code>, <code>--query &lt;title-fragment&gt;</code>, and <code>--limit &lt;1..100&gt;</code>. With a current Session it defaults to the containing collaboration tree, including idle Sessions; a standalone terminal defaults to active, and explicit tree requires Session context. Active includes running or sleeping Sessions in the current Workspace, not inferred from timestamps, Goals, or queues. Query filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters, before applying limit (default 10, maximum 100). Active Sessions come first, then recent activity descending. Results contain only <code>scope</code>, <code>currentAgentId</code> (null without a Session), flat <code>sessions</code>, and <code>truncated</code>; entries contain only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code>. No matches produce an empty list; excess matches set truncated, without a cursor or pagination. Reuse known IDs directly. <code>show</code> returns a compact <code>session</code> with the same identity and status, plus <code>modelId</code>, <code>effort</code>, <code>queuedCount</code>, <code>latestMessage</code>, up to three <code>recentTools</code>, plus <code>pendingApprovals</code> and <code>pendingApprovalsTruncated</code>; it does not include full Runs, queues, Goals, paths, or control settings. Use the existing Goal, schedule, graph, and history commands for their respective details. Model ID/effort are Node-known Session settings, or null when unknown; <code>queuedCount</code> excludes internal Goal continuation.</p><p>Session <code>status</code> is <code>RUNNING</code>, <code>IDLE</code>, or <code>SLEEPING</code>. Sleeping requires a confirmed foreground sleep in the current Run, not a tool name or an active Goal. Tool <code>state</code> remains its original lifecycle, such as <code>IN_PROGRESS</code> or <code>COMPLETED</code>. A running Session with no new public action has empty activity rather than borrowing a previous Run. Idle Sessions may show earlier in-memory activity with its observation time. Summaries are limited to 100 Unicode characters, tool names to 128, and the latest message to 300; <code>truncated</code> indicates shortened content. Full evidence remains in history.</p><h2 id="persistent-instructions-and-approvals" tabindex="-1">Persistent instructions and approvals <a class="header-anchor" href="#persistent-instructions-and-approvals" aria-label="Permalink to &quot;Persistent instructions and approvals&quot;">​</a></h2><p>Use <code>prompt get/set/clear</code> on an existing ordinary Workspace Session to read, set or clear its Session Prompt; omit the ID to use the current Session. Set accepts <code>-m</code> or <code>--message-file</code> (including stdin); blank text is not a substitute for clear. Changes use existing metadata and prompt injection without changing titles or permissions. They apply to future executions; queued work reads the latest value when it starts. Active execution is not interrupted and old native history is not erased.</p><p>The <code>show</code> field <code>pendingApprovals</code> summarizes pending requests for the active Run with public <code>runId</code>, <code>approvalId</code>, <code>name</code>, <code>summary</code>, and <code>truncated</code>. <code>pendingApprovalsTruncated</code> marks an incomplete list; use history for full evidence. Raw tool inputs are excluded. The view shares the existing Watch progress source, not a separate approval store. <code>wait --until approval</code> also returns early with <code>stopReason: APPROVAL_REQUIRED</code> and the summaries, without stopping the Run. Terminal state takes precedence; unsupported older Nodes fail explicitly.</p><p>A decision requires explicit Session, public root Run and approval IDs, plus approve/reject. Existing user and operation authorization still applies; collaboration messages do not grant approval authority. A decision receipt confirms acceptance, not task completion; keep observing or wait again. Expired, duplicate and mismatched requests are rejected. Reconcile state/history before retrying an uncertain write; a missing pending request does not mean it was approved.</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>
10
+ <span class="line"><span>marscp --version</span></span></code></pre></div><p>Each entrypoint also supports <code>-V</code> and writes one line, <code>marctl &lt;version&gt;</code>, to standard output, followed by a newline. No banner, dependency versions, or diagnostics are appended; successful queries exit with code 0. This is the installed Node package version, not the Server version. No configuration, authorization, or Server connection is required. Use <code>marctl help version</code> or <code>marctl version --help</code> for version-command help. In <code>marssh &lt;node&gt; --version</code>, the option remains part of the remote command rather than showing the local CLI version.</p><h2 id="execution-context-authorization" tabindex="-1">Execution-context authorization <a class="header-anchor" href="#execution-context-authorization" aria-label="Permalink to &quot;Execution-context authorization&quot;">​</a></h2><p>The CLI is only for MAR-managed execution contexts. In a Workbench terminal or Workspace Agent Run started by a user on a Node, it automatically uses the current user&#39;s Node permissions; scheduled runs use the task owner. No key, environment file, or manually configured authorization variables are needed.</p><p>The Server checks the user credential, account, login session (when applicable), and current permissions on every request. Credentials expire <strong>24 hours after issue</strong>, without sliding or automatic renewal. After expiry, open a new terminal or submit a new authorized input. Goal continuation and tool calls do not renew credentials. Ordinary OS terminals and other external scripts cannot access Nodes independently. Administrator keys, home-directory configuration files, and <code>--env-file</code> are not supported. Do not copy, persist, or share execution-context user credentials.</p><p>Credentials are signed by the Server. An ordinary Server restart neither invalidates an otherwise valid credential nor extends its lifetime; current permissions are still checked after reconnection. Update the Server, Node, and bundled CLI together. Old in-memory credentials cannot be converted to signed credentials, so open a new terminal or submit a new authorized input when first switching formats.</p><h2 id="coordinate-workspace-sessions" tabindex="-1">Coordinate Workspace Sessions <a class="header-anchor" href="#coordinate-workspace-sessions" aria-label="Permalink to &quot;Coordinate Workspace Sessions&quot;">​</a></h2><p>For <code>show/config/history/graph/rename/prompt</code>, omit the Session ID to use the current execution-context Session. An explicit ID takes precedence. Without a current Session, the command fails rather than guessing a recent one. <code>send/goal/stop/wait/approval</code> always require an explicit target ID; <code>list</code> queries the current Workspace.</p><p>Use <code>marctl agents rename [&lt;session-id&gt;] --title &#39;fixer#42 Updated title&#39; --json</code> to rename a Session. The trimmed title must be nonempty and at most 160 characters. There is no parent-tree restriction. Renaming uses the Web title-update flow without starting or interrupting execution. Use <code>agents current --json</code> to read the current title.</p><p><code>view [&lt;session-id&gt;] --json</code> returns only state, the current Goal, and bounded recent activity, without history or history pagination options. Read records on demand with the separate <code>history [&lt;session-id&gt;] --cursor &lt;cursor&gt; --limit &lt;1..100&gt; --json</code> command; omit the cursor for the first page. For <code>history --json</code>, select <code>kind === &quot;assistant_message&quot;</code> in <code>segments[].items[]</code> and read <code>payload.text</code>; compact state fields are described below.</p><p>Use <code>marctl agents config &lt;session-id&gt; --model-id &lt;id&gt; --effort high --json</code> to switch an existing Session&#39;s model and reasoning effort. Either option can be set alone; omitted fields and permissions stay unchanged. Use <code>--effort &quot;&quot;</code> for the Agent&#39;s native default. Configuration applies through the existing subsequent execution flow without restarting active execution. <code>agents start</code> also accepts <code>--effort</code>.</p><p>Both <code>agents start</code> and <code>agents config</code> select a model with <code>--model-id &lt;id&gt;</code>, using an ID from the target Agent configuration&#39;s <code>models[].id</code>. For MAR Agent this is the internal configuration ID, not the display name or upstream model ID. Requests and Session summaries use <code>modelId</code>; the old <code>--model</code> option and request field <code>model</code> are rejected.</p><p>Tasks dispatched with <code>start</code>, <code>send</code>, or <code>goal set</code> suppress automatic notifications to avoid repeated pushes from collaborating Sessions. This applies to subsequent task turns and Goal continuation; status and history remain available. Later manual input restores normal notification rules. Explicit notification tools can still send authorized notifications.</p><p><code>sessions</code> is bound to the current Node and Workspace by MAR authorization. It does not accept <code>--node</code>, <code>--workspace</code>, or another scope override; knowing a foreign Session ID or cursor does not grant access. A Workspace terminal may have no current Session. Missing trusted Workspace context is an explicit error. Existing <code>nodes</code>, <code>ssh</code>, and <code>scp</code> retain their cross-Node behavior.</p><p>Session listing, ID lookup, and <code>list --query &lt;title-fragment&gt;</code> read only Sessions registered or cached on the current Node, without actively scanning native Agent session histories. MAR-created Sessions are registered once their native identity is established; external Sessions are registered after successful Workbench discovery. Reads do not resume execution. List ordering follows the selected scope and results are bounded; excess matches set <code>truncated</code>, without pagination. For a mistyped ID, <code>SESSION_NOT_FOUND</code> details may suggest up to three nearby <code>&lt;sessionId&gt; &lt;name&gt;</code> entries from the same Workspace, without replacing the ID or replaying an operation. Failed waits retain the target Session, Run, failure stage, and available upstream diagnostics in JSON errors.</p><p><code>list</code> accepts only <code>--scope tree|active</code>, <code>--query &lt;title-fragment&gt;</code>, and <code>--limit &lt;1..100&gt;</code>. With a current Session it defaults to the containing collaboration tree, including idle Sessions; a standalone terminal defaults to active, and explicit tree requires Session context. Active includes running or sleeping Sessions in the current Workspace, not inferred from timestamps, Goals, or queues. Query filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters, before applying limit (default 10, maximum 100). Active Sessions come first, then recent activity descending. Results contain only <code>scope</code>, <code>currentAgentId</code> (null without a Session), flat <code>sessions</code>, and <code>truncated</code>; entries contain only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code>. No matches produce an empty list; excess matches set truncated, without a cursor or pagination. Reuse known IDs directly. <code>show</code> returns a compact <code>session</code> with the same identity and status, plus <code>modelId</code>, <code>effort</code>, <code>queuedCount</code>, <code>latestMessage</code>, up to three <code>recentTools</code>, plus <code>pendingApprovals</code> and <code>pendingApprovalsTruncated</code>; it does not include full Runs, queues, Goals, paths, or control settings. Use the existing Goal, schedule, graph, and history commands for their respective details. Model ID/effort are Node-known Session settings, or null when unknown; <code>queuedCount</code> excludes internal Goal continuation.</p><p>Session <code>status</code> is <code>RUNNING</code>, <code>IDLE</code>, or <code>SLEEPING</code>. Sleeping requires a confirmed foreground sleep in the current Run, not a tool name or an active Goal. Tool <code>state</code> remains its original lifecycle, such as <code>IN_PROGRESS</code> or <code>COMPLETED</code>. A running Session with no new public action has empty activity rather than borrowing a previous Run. Idle Sessions may show earlier in-memory activity with its observation time. Summaries are limited to 100 Unicode characters, tool names to 128, and the latest message to 300; <code>truncated</code> indicates shortened content. Full evidence remains in history.</p><h2 id="scheduled-tasks" tabindex="-1">Scheduled tasks <a class="header-anchor" href="#scheduled-tasks" aria-label="Permalink to &quot;Scheduled tasks&quot;">​</a></h2><p><code>marctl agents schedule</code> works in the current authorized regular Workspace. <code>list</code> returns compact <code>tasks[]</code> and <code>nextCursor</code>. Use <code>--session &lt;session-id&gt;</code> to filter by the bound session and <code>--cursor</code> for the next page. <code>get</code>, <code>update</code>, and <code>runs</code> require <code>--task &lt;task-id&gt;</code>, not a session ID. <code>runs</code> uses <code>--page</code>, defaults to page one, and returns trigger times, outcomes, and any available run references without the task prompt.</p><p><code>create</code> always creates a separate task; it never overwrites an existing one. It targets the current session by default. Use <code>--session &lt;session-id&gt;</code> to select a session in the same Workspace. To create a new session on each trigger instead, use <code>--new-session --runner &lt;runner&gt;</code> with either <code>--model-id &lt;id&gt;</code> or <code>--default-model</code> and optionally <code>--effort &lt;value&gt;</code>. If there is no current session, specify a target explicitly.</p><p>Use the <code>taskId</code> from the creation receipt or list as <code>TASK_ID</code>, and the current <code>revision</code> from the task detail as <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;"> --limit</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 20</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &#39;Build review&#39;</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;"> &#39;Check build results&#39;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --expected-revision</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$REVISION</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</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> reads a UTF-8 JSON array, not a Cron expression. Each entry has one <code>HH:mm</code> time. New tasks use the Node time zone; updates retain the task&#39;s saved time zone. A <code>once</code> trigger requires an explicit future date; the CLI does not suggest one. This <code>triggers.json</code> demonstrates the one-time, daily, weekly, and monthly forms:</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
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;once&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;date&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;2030-03-21&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;14:30&quot;</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;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;daily&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;10:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
17
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;weekly&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;09:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;weekdays&quot;</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
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;monthly&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;09:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;monthDays&quot;</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> uses 0 (Sunday) through 6 (Saturday); <code>monthly.monthDays</code> uses 1 through 31. Invalid dates in shorter months do not trigger. Supplying <code>--triggers-file</code> on update replaces the entire trigger list; omit it to retain the current schedule. Pass the task prompt with <code>-m</code> or <code>--message-file</code>, up to 20,000 characters. Either <code>--triggers-file</code> or <code>--message-file</code> can read stdin using <code>-</code>, but not both in the same command.</p><p>An update must specify a name, triggers, or a task prompt. Updating your own task applies directly. Updating someone else&#39;s returns <code>proposalId</code> and <code>baseRevision</code> for the creator to resolve without transferring execution identity. Re-read after a revision conflict. If a write result is unknown, check the task before retrying. Use the <a href="./../workbench/sessions#scheduled-tasks">Scheduled tasks page</a> to pause, resume, delete, or resolve proposals; these actions are not available in the CLI.</p><h2 id="persistent-instructions-and-approvals" tabindex="-1">Persistent instructions and approvals <a class="header-anchor" href="#persistent-instructions-and-approvals" aria-label="Permalink to &quot;Persistent instructions and approvals&quot;">​</a></h2><p>Use <code>prompt get/set/clear</code> on an existing ordinary Workspace Session to read, set or clear its Session Prompt; omit the ID to use the current Session. Set accepts <code>-m</code> or <code>--message-file</code> (including stdin); blank text is not a substitute for clear. Changes use existing metadata and prompt injection without changing titles or permissions. They apply to future executions; queued work reads the latest value when it starts. Active execution is not interrupted and old native history is not erased.</p><p>The <code>show</code> field <code>pendingApprovals</code> summarizes pending requests for the active Run with public <code>runId</code>, <code>approvalId</code>, <code>name</code>, <code>summary</code>, and <code>truncated</code>. <code>pendingApprovalsTruncated</code> marks an incomplete list; use history for full evidence. Raw tool inputs are excluded. The view shares the existing Watch progress source, not a separate approval store. <code>wait --until approval</code> also returns early with <code>stopReason: APPROVAL_REQUIRED</code> and the summaries, without stopping the Run. Terminal state takes precedence; unsupported older Nodes fail explicitly.</p><p>A decision requires explicit Session, public root Run and approval IDs, plus approve/reject. Existing user and operation authorization still applies; collaboration messages do not grant approval authority. A decision receipt confirms acceptance, not task completion; keep observing or wait again. Expired, duplicate and mismatched requests are rejected. Reconcile state/history before retrying an uncertain write; a missing pending request does not mean it was approved.</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help agents</span></span>
15
20
  <span class="line"><span>marctl agents current --json</span></span>
16
21
  <span class="line"><span>marctl agents list --limit 20 --json</span></span>
17
22
  <span class="line"><span>marctl agents list --query fixer#42 --json</span></span>
@@ -44,4 +49,4 @@ import{_ as t,o as s,c as n,a3 as a}from"./chunks/framework.BHjrhdiC.js";const h
44
49
  <span class="line"><span>marscp ./artifact.bin &lt;node-id|node-name&gt;:///existing/directory/</span></span>
45
50
  <span class="line"><span>marscp &lt;node-id|node-name&gt;:///absolute/path/artifact.bin ./</span></span>
46
51
  <span class="line"><span>marscp &lt;node-id|node-name&gt;:///absolute/path/artifact.bin ./artifact.bin</span></span>
47
- <span class="line"><span>marctl scp linux:///absolute/path/artifact.bin windows://C:\\absolute\\path\\artifact.bin</span></span></code></pre></div><p><code>nodes</code> lists only Nodes the current authorized user may use for terminals. Its first line labels the ID, name, online status, and platform columns. <code>ssh</code> accepts a Node ID or an exact display name that is unique among accessible Nodes (including offline Nodes for duplicate checks). Duplicate names are rejected with a prompt to use the ID; an exact ID takes precedence over another Node&#39;s display name. Without a command, <code>ssh</code> opens an interactive shell. With a command, the CLI passes arguments after the Node to the remote shell in the usual SSH-like form, streams output, and returns the actual exit code for Agents or scripts. The joined command may contain at most 64 KiB of UTF-8 data; the target platform or shell may impose a lower practical limit. An argument starting with <code>-</code> after the Node is part of the remote command; no extra <code>--</code> is required. SSH options including <code>-t</code>, login, port, and identity are not supported, and no privilege escalation occurs. Do not pass secrets in commands.</p><p>The CLI tries the existing direct Node transport first and falls back to the Server relay if setup fails. Fallback reuses the same terminal rather than creating or running the command twice. The Server authorizes either transport, and commands always run as the <strong>Node service account</strong>. An enterprise ADMIN can operate their own personal Nodes and every organization Node, but cannot use another user&#39;s personal Node terminal.</p><p><code>scp</code> transfers a single regular file between this machine and an accessible Node, or between two accessible Nodes. A Node endpoint uses <code>&lt;node-id|node-name&gt;://&lt;absolute-path&gt;</code> or <code>node:&lt;absolute-path&gt;</code>; names must be unique among accessible Nodes, so use an ID if names collide. A path without a Node prefix is local. Like standard <code>scp</code>, an existing regular destination file is overwritten by default without a special flag; its permissions are retained. <code>-p</code> preserves the source&#39;s mode and access/modify times; <code>-q</code> keeps progress output quiet (already the default). Other SCP options, including <code>-r</code> and SSH connection options, are rejected, not silently ignored. An existing real destination directory receives the source filename automatically; you do not need to specify the full destination filename. A directory target ending in a separator must already exist: no directory or same-named file is created. Directory sources, symlink sources or targets, and a final path inside the destination directory that is itself a directory or symlink are refused. Source filenames invalid on the receiving platform are also rejected. A verified copy is published atomically; transfer failure does not replace the original, though forced termination can leave a temporary file. The transfer reuses authorized Terminal connections in binary pipe mode, <strong>not</strong> the system SCP protocol or a separate file API. Both Server and Node must support binary Terminal mode; older versions are rejected rather than interpreting binary data through a PTY. File access uses each Node&#39;s service account permissions. Quote paths containing spaces for your local shell; Windows Node paths can use <code>C:\\absolute\\path</code> after <code>://</code>.</p><h2 id="long-running-tasks-and-disconnects" tabindex="-1">Long-running tasks and disconnects <a class="header-anchor" href="#long-running-tasks-and-disconnects" aria-label="Permalink to &quot;Long-running tasks and disconnects&quot;">​</a></h2><p>The Server relay has no fixed transfer-rate limit. Frames are written asynchronously, yielding the event loop to other operations. A congested copy pauses its pipe or CLI input and resumes in order without affecting a direct writer. Ordinary terminals keep reading to preserve output before exit; exceeding the send-buffer limit explicitly ends only that relay, without silently dropping frames or closing the shared connection for other terminals. Exit status never overtakes output, waiting writes or acknowledgements remain interruptible, and a normal disconnect after a successful exit is not reported as a copy failure. No new command option is required. Slow networks can still increase response times; this is not host-wide bandwidth isolation.</p><p>Connection setup has a timeout, but an attached command has no total runtime or output-idle timeout; keep the connection open to wait for a long-running task. Exiting the CLI or losing the connection irrecoverably closes the terminal it created. The CLI does not manage persistent background tasks; Node retains a detached terminal for at most 60 minutes. Use a separately managed task for work that must continue after a disconnect.</p>`,56)])])}const m=t(o,[["render",i]]);export{h as __pageData,m as default};
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> lists only Nodes the current authorized user may use for terminals. Its first line labels the ID, name, online status, and platform columns. <code>ssh</code> accepts a Node ID or an exact display name that is unique among accessible Nodes (including offline Nodes for duplicate checks). Duplicate names are rejected with a prompt to use the ID; an exact ID takes precedence over another Node&#39;s display name. Without a command, <code>ssh</code> opens an interactive shell. With a command, the CLI passes arguments after the Node to the remote shell in the usual SSH-like form, streams output, and returns the actual exit code for Agents or scripts. The joined command may contain at most 64 KiB of UTF-8 data; the target platform or shell may impose a lower practical limit. An argument starting with <code>-</code> after the Node is part of the remote command; no extra <code>--</code> is required. SSH options including <code>-t</code>, login, port, and identity are not supported, and no privilege escalation occurs. Do not pass secrets in commands.</p><p>The CLI tries the existing direct Node transport first and falls back to the Server relay if setup fails. Fallback reuses the same terminal rather than creating or running the command twice. The Server authorizes either transport, and commands always run as the <strong>Node service account</strong>. An enterprise ADMIN can operate their own personal Nodes and every organization Node, but cannot use another user&#39;s personal Node terminal.</p><p><code>scp</code> transfers a single regular file between this machine and an accessible Node, or between two accessible Nodes. A Node endpoint uses <code>&lt;node-id|node-name&gt;://&lt;absolute-path&gt;</code> or <code>node:&lt;absolute-path&gt;</code>; names must be unique among accessible Nodes, so use an ID if names collide. A path without a Node prefix is local. Like standard <code>scp</code>, an existing regular destination file is overwritten by default without a special flag; its permissions are retained. <code>-p</code> preserves the source&#39;s mode and access/modify times; <code>-q</code> keeps progress output quiet (already the default). Other SCP options, including <code>-r</code> and SSH connection options, are rejected, not silently ignored. An existing real destination directory receives the source filename automatically; you do not need to specify the full destination filename. A directory target ending in a separator must already exist: no directory or same-named file is created. Directory sources, symlink sources or targets, and a final path inside the destination directory that is itself a directory or symlink are refused. Source filenames invalid on the receiving platform are also rejected. A verified copy is published atomically; transfer failure does not replace the original, though forced termination can leave a temporary file. The transfer reuses authorized Terminal connections in binary pipe mode, <strong>not</strong> the system SCP protocol or a separate file API. Both Server and Node must support binary Terminal mode; older versions are rejected rather than interpreting binary data through a PTY. File access uses each Node&#39;s service account permissions. Quote paths containing spaces for your local shell; Windows Node paths can use <code>C:\\absolute\\path</code> after <code>://</code>.</p><h2 id="long-running-tasks-and-disconnects" tabindex="-1">Long-running tasks and disconnects <a class="header-anchor" href="#long-running-tasks-and-disconnects" aria-label="Permalink to &quot;Long-running tasks and disconnects&quot;">​</a></h2><p>The Server relay has no fixed transfer-rate limit. Frames are written asynchronously, yielding the event loop to other operations. A congested copy pauses its pipe or CLI input and resumes in order without affecting a direct writer. Ordinary terminals keep reading to preserve output before exit; exceeding the send-buffer limit explicitly ends only that relay, without silently dropping frames or closing the shared connection for other terminals. Exit status never overtakes output, waiting writes or acknowledgements remain interruptible, and a normal disconnect after a successful exit is not reported as a copy failure. No new command option is required. Slow networks can still increase response times; this is not host-wide bandwidth isolation.</p><p>Connection setup has a timeout, but an attached command has no total runtime or output-idle timeout; keep the connection open to wait for a long-running task. Exiting the CLI or losing the connection irrecoverably closes the terminal it created. The CLI does not manage persistent background tasks; Node retains a detached terminal for at most 60 minutes. Use a separately managed task for work that must continue after a disconnect.</p>`,62)])])}const g=s(i,[["render",o]]);export{u as __pageData,g as default};
@@ -0,0 +1 @@
1
+ import{_ as s,o as t,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Manage Nodes with marctl","description":"","frontmatter":{"title":"Manage Nodes with marctl","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"en-US/operations/marctl.md","filePath":"en-US/operations/marctl.md"}'),i={name:"en-US/operations/marctl.md"};function o(r,e,d,c,l,p){return t(),a("div",null,[...e[0]||(e[0]=[n("",62)])])}const g=s(i,[["render",o]]);export{u as __pageData,g as default};
@@ -0,0 +1 @@
1
+ import{_ as t,o,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Work Mode, Nodes, and Workspaces","description":"","frontmatter":{"title":"Work Mode, Nodes, and Workspaces","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/navigation.md","filePath":"en-US/workbench/navigation.md"}'),a={name:"en-US/workbench/navigation.md"};function r(i,e,d,c,l,p){return o(),n("div",null,[...e[0]||(e[0]=[s('<h1 id="work-mode-nodes-and-workspaces" tabindex="-1">Work Mode, Nodes, and Workspaces <a class="header-anchor" href="#work-mode-nodes-and-workspaces" aria-label="Permalink to &quot;Work Mode, Nodes, and Workspaces&quot;">​</a></h1><p>With focus in the Aside tab strip, content, or Composer, use <code>Ctrl+W</code> / <code>Alt+W</code> to close the active session or Browser without closing the Workspace, clearing the session draft, or stopping its running task. Fixed tools remain open. See <a href="./../reference/keyboard-shortcuts">Keyboard Shortcuts</a> for input boundaries and cross-origin preview limitations.</p><p>Console provides two parallel modes: <strong>Work</strong> and <strong>Conversation</strong>. Work is the new name for the former <strong>Nodes</strong> top-level entry and opens the same Node → Workspace resource tree. Node management, Workspace tabs, Agent sessions, files, Git, and terminals work exactly as before. Conversation mode starts and continues conversations from published templates.</p><p>Open the calendar icon beside <strong>Work</strong> to view <a href="./sessions#scheduled-tasks">Scheduled tasks</a>. Use the secondary menu to switch among <strong>My schedules</strong>, <strong>All schedules</strong>, and <strong>Execution records</strong>. On mobile, tap the icon to enter <strong>My schedules</strong>, then tap it again to open the menu. Switching between Work, Chat, and Scheduled tasks does not open a drawer. When creating a schedule, choose its run target explicitly; the active Workspace is not assumed.</p><p>In Work mode, expand a Node group in the left resource tree and open a registered Workspace. Node rows organize resources and expose host management; clicking a Node name only expands or collapses its group and never changes the active Workspace. There is no separately saved current Node.</p><p>Every Workspace uses the same activation path: its tab activates and restores cached content immediately, then refreshes in the background. An uncached target shows its own loading state without waiting for network responses before selection. A temporary network failure leaves the target selected so it can be retried. Confirmed missing or inaccessible Workspaces have their content cleared and follow tab removal and fallback rules. Newer selections take precedence over late responses.</p><p>After a browser reload, Work restores the last open tabs and active Workspace. If the Node list cannot be loaded, select <strong>Retry</strong> to continue; the failure does not close the saved tabs. Other modes remain available during restoration.</p><p>Clicking a Workspace tab, including the active tab, desktop overflow menu, or mobile strip, opens its first valid unread session, <a href="./sessions">reusing its existing pane</a> when already open, and selects the correct Main / Child group. A successful open marks only that session read; another click can open the next unread session. With no unread sessions, the tab restores its last selected session, or preserves the existing empty or draft behavior. Running indicators are informational and never select a running session. A failed open does not clear unread state. Background notifications and task changes do not switch sessions automatically. Tree navigation, shortcuts, and tab-close fallback keep their existing behavior.</p><p>Workspace registration uses an explicit host target in a dialog; closing it leaves the active Workspace unchanged. Open Workspaces appear as tabs and retain their order in the current browser.</p><p>Clicking a Workspace tab expands only its Node and group in the resource tree, collapses other Nodes and groups, and scrolls the selected Workspace into view without moving keyboard focus. Selecting an ungrouped Workspace collapses all groups. A closed sidebar or mobile drawer stays closed; the target is located when it next opens. Existing filters remain in place and continue to show matching branches. You can still expand or collapse branches manually; clicking a tab again restores only its target branch. This does not trigger additional session, file, or Git refreshes.</p><p>Aside keeps Workspace tools, including Files, Search, Git Changes, Git History, Terminal, and <a href="./browser">Browser</a>, on the left. Open sessions appear to their right with an × close button. The Workspace browser manages its own webpage tabs.</p><p>On desktop, drag the divider at the right edge of the Workspace tree or the left edge of Aside to resize it within its minimum, maximum, and available space. Aside keeps a compact width for tools such as Files and a separate content width for sessions, Terminal, and Browser. Each preference is saved in the current browser and restored after a refresh; first use or invalid values use the corresponding default. When desktop space is insufficient, the work areas stack vertically; mobile uses drawers. These layouts do not offer horizontal resizing or overwrite your desktop preferences.</p><p>Right-click a Workspace tab and choose <strong>Pin</strong> to move it to the end of the pinned section. Pinned tabs replace the close button with an always-visible pin icon; click it or choose <strong>Unpin</strong> to return the tab to the start of the normal section. Pinned tabs can be reordered among themselves. Dragging a pinned tab after a normal tab automatically unpins it; dragging a normal tab into the pinned section pins it automatically, while dropping it at the section boundary keeps it normal. Pin state and order survive a refresh. When desktop space permits, pinned tabs stay visible while normal tabs scroll. If too many pins leave insufficient space for a normal tab, or on mobile, the full strip scrolls; use the all-open-Workspaces menu on desktop or swipe horizontally on mobile to reach overflow tabs.</p><p><strong>Move left</strong> and <strong>Move right</strong> move a tab one position, with invalid moves disabled at the ends; crossing the section boundary also pins or unpins the tab automatically. Opening the menu, pinning, or reordering does not switch the active Workspace or change LRU activity times. Up to eight normal tabs are retained; opening more evicts the least recently used normal tab. Pinned tabs do not count toward this quota and are never evicted. If unpinning exceeds the quota, the newly unpinned tab remains and another least recently used normal tab is evicted.</p><p>Use <code>Ctrl+W</code> or <code>Alt+W</code> to close the active normal tab and <code>Ctrl+Shift+W</code> or <code>Alt+Shift+W</code> to close all normal tabs; on macOS, use <code>Option</code> instead of <code>Alt</code>. Pinned tabs remain open and their <strong>Close</strong> menu action is disabled. These close shortcuts also work in Composer; other inputs, editors, terminals, and dialogs retain their native behavior. Double <code>Esc</code> no longer closes Workspace tabs. Ctrl combinations work when the browser or PWA delivers the key event to the page; use Alt combinations if the browser intercepts them. Closing the active tab returns to the most recently used remaining tab, regardless of pin state or display order. If a target is permanently unavailable, the next recent tab is tried; if no valid tabs remain, no Workspace is selected. Temporary network failures do not switch back to the old tab. A newer user selection takes precedence over pending fallback results. Closing an inactive tab does not switch Workspaces. Closing a tab clears its cache and closes its terminals, but does not unregister the Workspace or stop running Agents. See <a href="./../reference/keyboard-shortcuts">Keyboard Shortcuts</a>.</p><p>An offline or disabled Node keeps its registered resources visible but blocks live operations. Existing tabs still activate immediately; reconnect or enable the host before using files, sessions, or terminals. Closing a Workspace tab changes only the browser layout; it does not unregister the Workspace or stop Node work.</p><p>A green dot next to a Node means it is available. In workspace tabs and session lists, a green dot means a task is running; the dot is neutral when tasks are only starting or stopping. A green dot on the session tree button means it has a running or sleeping descendant. In the open tree, amber marks sleeping sessions.</p><p>On mobile, tap the active <strong>Work</strong> icon in the top bar to open the resource tree. Selecting a Workspace closes the drawer and returns to the Agent conversation. Tap the active <strong>Chat</strong> icon to open the chat-history drawer. Admin no longer has a separate Skill Center entry. Skill Configuration, Skill Sources, and Environment Secrets appear consecutively, while MCP Sources remains a separate Admin section; Skill Configuration switches between Skill and MCP in the page.</p><p>Settings contains Account Security, Appearance, System Notifications, Quick Prompts, Personal Instructions, Keyboard Shortcuts, and About. Personal Instructions provides additional guidance for later Agent runs by the current account and saves Common, MAR Agent, Codex, Claude Code, and OpenCode values separately; the MAR Agent label remains <code>MAR Agent</code> in every interface language; each run combines Common with the current Agent&#39;s instructions without modifying Node or Workspace <code>AGENTS.md</code> or <code>CLAUDE.md</code>. Appearance defaults to the dark color theme. Under <strong>Settings → Appearance → Icon theme</strong>, MAR File Icons is the only option. File icons are independent of interface colors, and appearance preferences stay in the current browser. About shows the current Web version, links to the documentation center, and groups major open-source components across Web, Server, Node/MAR Agent, bundled tools, icons, and the optional Computer Use Runtime. This is a selection, not a complete dependency inventory. &quot;View Web third-party notices&quot; covers Web only; consult the corresponding Server, Node, and optional runtime distributions for their license and notice files. The <code>@myagentroam/binaries</code> package used by Node contains tool materials under <code>vendor/ripgrep/</code> and <code>vendor/ctags/</code>. External Agents, SDKs, and separately installed tools remain subject to their own terms. Runtime status and License management remain under Admin &gt; System Information.</p><p>The <strong>Sessions &amp; notifications</strong> icon after Chat opens one panel with separate recent-session and notification tabs. The upper-right number counts unread notifications; the lower-right dot indicates active workspace sessions. There is no separate top-right bell. See <a href="./conversation">Reading conversations</a> for status colors, retention, and ordering.</p><p>Click or tap the icon, or press <code>Ctrl/Cmd+Shift+E</code>, to open the custom Recent Sessions / Notifications panel. Click or tap the icon again, use the same shortcut, click outside, or press <code>Esc</code> to close. Hovering does not open or close it on desktop or mobile, and moving away leaves it open. Each opening starts on Notifications when unread notifications exist, or Recent Sessions otherwise; tab selection then stays under your control. No extra text tooltip covers the panel.</p><p>On desktop, click the info icon at the bottom left to open or close this page’s Web performance diagnostics. Hovering does not open it. Click outside to dismiss it, or use the copy button in the panel to copy detailed diagnostics.</p><p>On mobile, tap the MyAgentRoam logo in the upper-left corner to see the current Web version, open performance diagnostics, or access the help docs when available. The help docs open in a new tab.</p><h2 id="themes" tabindex="-1">Themes <a class="header-anchor" href="#themes" aria-label="Permalink to &quot;Themes&quot;">​</a></h2><p>Themes stay only in this browser. They are not uploaded or synced with accounts or devices. Clearing browser data deletes custom themes; export JSON files for backup or manual transfer.</p><p>Set <code>--mar-text-primary</code> for headings, names, message text, and input values; set <code>--mar-text-secondary</code> for timestamps, descriptions, and placeholders. <code>--mar-text-disabled</code> is separate. To update an older palette, move any separate conversation or muted text colors you still want to use into these fields.</p><p>After updating, an old file icon choice falls back to MAR File Icons. Your interface colors and other preferences are unchanged.</p><ol><li>Open <strong>Settings → Themes</strong>. The theme picker shows color swatches for built-in light, default dark, and saved themes. Select a theme to inspect it without changing the active palette; use <strong>Apply theme</strong> to switch. Built-ins can be viewed, copied, and exported, but not overwritten or deleted.</li><li>Open a theme’s more-actions menu and choose <strong>Duplicate</strong> to start with its complete palette, or <strong>Import JSON</strong>. Import does not overwrite themes with the same name. Copies and imported drafts both need saving.</li><li>Edit JSON on the left. The compact preview uses static examples of lists, messages, code/diffs, status indicators, inputs, and buttons, not actual project content. Hover or use Tab to inspect control states. <strong>Enlarge preview</strong> opens the same sample at normal text size. On narrow screens, the preview appears below the editor. Editing does not change the active global theme.</li><li><strong>Save theme</strong>, then use <strong>Apply theme</strong> in the picker or select it under <strong>Settings → Appearance → Theme</strong>. Applying a saved theme does not replace the open draft. Saving changes to the active theme updates its colors immediately. Save drafts before leaving the page.</li><li>Copy JSON, format, or export it. <strong>Reset</strong> requires confirmation and restores the last saved JSON or the original imported/copied draft without deleting the theme. Delete from the theme’s more-actions menu, with confirmation; deleting the active custom theme restores the default dark theme.</li></ol><p>JSON uses <code>version: 1</code>, <code>name</code>, and <code>colors</code>, not <code>base</code>. The colors object maps tokens to values, for example <code>--mar-bg-panel</code> to <code>#ffffff</code>. Colors accept <code>#RGB</code>, <code>#RGBA</code>, <code>#RRGGBB</code>, and <code>#RRGGBBAA</code>. Missing or invalid colors always use the corresponding default dark colors; saving does not expand the original JSON. Use the question mark beside Theme JSON to open <strong>Theme color reference</strong>, with grouped swatches, short descriptions, search and variable-name copying. Light and dark themes share the same <code>--mar-*</code> variables; component-library variables are mapped internally. Only currently registered <code>--mar-*</code> color keys take effect. <code>--el-*</code> and removed keys are unknown and ignored when applied; legacy themes are not supported. Duplicating a theme materializes its complete effective palette without depending on the source theme.</p><p>Readable text has three levels: primary (<code>--mar-text-primary</code>), secondary (<code>--mar-text-secondary</code>), and muted (<code>--mar-text-muted</code>). For example, the resource tree, workspace session list, and hosted conversation list use primary for selected names, secondary for unselected names, and muted for timestamps and supporting notes. Disabled control text is configured separately.</p><p><code>--mar-conversation-activity-fg</code> sets the color of the current conversation phase ring and the status strip above the composer. <code>--mar-conversation-activity-fill</code> sets the solid background of the send button and unread notification count badges. The icon and count automatically use black or white for contrast. If a custom theme only sets the activity foreground, its color also supplies the solid fill. Regular primary buttons still use <code>--mar-control-primary-bg</code>, <code>--mar-control-primary-hover</code>, and <code>--mar-control-primary-active</code> with <code>--mar-control-primary-fg</code>. Keyboard focus uses <code>--mar-control-focus</code>.</p><p>Only <strong>invalid JSON syntax</strong> blocks saving or exporting. Missing names, unknown fields or tokens, invalid colors, and low contrast produce advisory warnings. Saved and exported JSON retains unknown and invalid content, but it is ignored when applied. An old <code>base</code> field is also retained with an unknown-field warning; it no longer changes the dark fallback rule. Arbitrary CSS, URLs, and scripts are not executed. Contrast checks cover only explicit opaque color pairs, not a complete accessibility audit.</p><p>Git History uses built-in category colors for branch lanes. Success and warning theme colors no longer recolor those lanes. The main lane remains customizable with <code>--mar-color-git-graph-main</code>, and file changes still use their corresponding status colors.</p><p>Themes do not change layout, fonts, file icon themes, the fixed terminal palette, or public help. The preview is a representative color sample: it does not perform real workbench actions or cover unaffected areas such as terminals.</p><h2 id="system-notifications" tabindex="-1">System notifications <a class="header-anchor" href="#system-notifications" aria-label="Permalink to &quot;System notifications&quot;">​</a></h2><p>Enable the capability offered under <strong>Settings → System notifications</strong>. Opt-in is off by default and applies only to this browser and account. Permission is requested only after an explicit action.</p><ul><li><strong>PC: focus-loss system notifications.</strong> While the workbench remains connected, switching tabs or applications, or minimizing the window, can trigger a reminder. Closing all workbench pages stops new notifications; PC does not register for offline Push.</li><li><strong>Mobile: offline Push.</strong> There are no realtime focus-loss notifications. Moving the app into the background normally disconnects it. Only new notifications created while every workbench connection for the account is offline are pushed to registered mobile clients. A connected PC suppresses mobile Push even when unfocused.</li><li><strong>In-app notifications:</strong> a foreground page previews notifications for other targets beside the Sessions &amp; notifications entry (below the top bar on mobile), without replacing an open menu. The active target keeps its existing read behavior. Background pages do not expand cards, and reload, reconnect, or focus recovery does not replay history. External notification preferences and permissions do not disable the in-app center.</li></ul><p>Run, approval, plan, user-input, scheduled-task, and explicit Agent notifications retain their existing scope. Clicking a system notification focuses or opens Console, marks only that item read, and locates its target. Deleted, expired, or unauthorized items do not navigate. Uploads and Web updates remain in-app only; email requires an explicit request.</p><p>Mobile Push also requires the administrator to enable the default-off <strong>Web Push</strong> setting under <strong>Admin → System Configuration</strong> and configure a valid VAPID contact (<code>MAR_WEB_PUSH_SUBJECT</code>, accepting <code>mailto:</code> or HTTPS; HTTPS sites default to their public origin). Personal settings show preference, browser permission, and subscription readiness separately. Administrator-disabled and Server-unavailable states are not browser permission denials. Choose <strong>Enable / retry offline Push</strong> when action is required. Disabling one client does not disable others. Notifications skipped while online or disabled are not replayed.</p><p><strong>Re-enable after upgrading:</strong> old Push registrations are cleared once; notification history, read state, and other user data are preserved. Refresh or close all old workbench tabs in this browser, then explicitly enable Push from the updated mobile app. Retry failed preparation or subscription retirement before enabling; do not mix old and new pages. Old PC subscriptions are retired and are not registered again.</p><p>Windows, macOS, and Linux use browser notification interfaces; banners, sounds, and Do Not Disturb are controlled by the OS. Browsers generally require HTTPS or trusted localhost with Notifications API and a Service Worker; the project checks actual capabilities and permission rather than imposing an extra HTTP restriction. Mobile also requires Web Push; on supported iOS/iPadOS, launch the Home Screen web app and explicitly allow notifications. Ordinary iOS tabs, offline networks, power saving, fully closed browsers, and OS restrictions have no delivery guarantee. Standard HTTPS subscription endpoints are not restricted by provider; deployment policies isolate Server outbound access.</p><p>Logout or Session revocation invalidates the corresponding mobile binding. Late Push with an unconfirmed binding shows only a generic prompt opening Console. Already dispatched messages cannot reliably be recalled, and provider acceptance does not prove display. Check site permission, OS notification settings, and Do Not Disturb if no banner appears; failure does not lose in-app notifications.</p><h2 id="usage-statistics" tabindex="-1">Usage statistics <a class="header-anchor" href="#usage-statistics" aria-label="Permalink to &quot;Usage statistics&quot;">​</a></h2><p>Open <strong>Settings → Usage statistics</strong> to view Agent usage for the current account. The default Conversation category includes main agents and subagents. <strong>Conversation</strong>, <strong>Compact</strong>, and <strong>Composer Prediction</strong> are separate categories; title generation and other requests are also available. Compact and prediction are excluded from Conversation. Switching categories updates the rolling last 24 hours and last 7 days (168 hours), charts, and records together. Top summaries for the current category do not change with the filters below. Filter charts and records by time, Agent, model, and Work/Conversation mode. Times use the browser time zone shown on the page.</p><p>Hover over or tap a bar for its time period and exact input, cache, output, and total token counts. With a keyboard, Tab into the chart and use the left and right arrow keys to move between periods.</p><p>Custom date ranges can span up to 90 days and may include future dates, such as the rest of the current month, or lie entirely in the future. Statistics include only data recorded by the current refresh; future periods have no data.</p><p>Model rankings and filters distinguish Agent, provider, and configuration identity. MAR Agent lists personal, organization, and Fast configurations separately even when they share an upstream model ID; other agents use their native model IDs. Historical records without a configuration identity fall back to the recorded model without inferring configuration ownership. Usage from an organization configuration still belongs to the person who initiated it; this does not mean personal credentials were used.</p><p>The visible page refreshes every 60 seconds and pauses when hidden or closed. Failed refreshes keep the existing data and retry later. While paging, sorting, or expanding records, summaries keep updating but records remain in place; choose <strong>Update records</strong> or <strong>Refresh</strong> to return to the latest first page. Records load in batches of 20. On desktop, the standard management pager shows the actual filtered record count and page count and supports direct page jumps. On mobile, more records load automatically near the bottom; if loading fails, retry in place. Column sorting applies to the current desktop page or the already loaded mobile records. Changing filters or explicitly refreshing resets the loaded records. Custom date ranges stay fixed during automatic refreshes.</p><p>Input includes cache reads and writes; output includes identifiable reasoning tokens. Cache and reasoning details are not added to the total again. Main and subagent conversation requests, compaction, prediction, and title generation are recorded in their respective categories rather than mixed into Conversation. Failed or cancelled requests retain usage already reported by the provider. Missing token fields are recorded and displayed as 0. Total tokens are input plus output; later usage updates revise the same record.</p><p>Summaries, filtered totals, trends, breakdowns by agent or model, and records show cache-read tokens with the hit rate in parentheses (recorded cache-read tokens divided by recorded input tokens). Aggregate rates are token-weighted, not averages of per-request percentages. The cache-colored segment is part of input and does not increase the bar height or total. Tooltips and expanded records list cache-write tokens separately. Unreported cache counts display 0. Missing or zero input produces a 0% hit rate. Time buckets without requests also display zero. This recorded-usage convention does not mean the provider confirmed zero consumption.</p><p>Nodes queue usage and resend it after reconnecting, so historical charts may change. Previously received records remain available while a Node is offline. Server records are retained for 90 days; pending Node records are bounded by capacity and retained for up to 7 days. Collection starts when the feature is enabled; old sessions and external CLI history are not imported. External agents may not expose every request. These statistics are not a provider bill or remaining quota. Usage belongs to the person who initiated the input, not the credential or Node owner. You can view only your own records.</p>',51)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
@@ -1 +1 @@
1
- import{_ as t,o,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Work Mode, Nodes, and Workspaces","description":"","frontmatter":{"title":"Work Mode, Nodes, and Workspaces","lastUpdated":"2026-11-24T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/navigation.md","filePath":"en-US/workbench/navigation.md"}'),a={name:"en-US/workbench/navigation.md"};function r(i,e,d,c,l,p){return o(),n("div",null,[...e[0]||(e[0]=[s("",49)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
1
+ import{_ as t,o,c as n,a3 as s}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Work Mode, Nodes, and Workspaces","description":"","frontmatter":{"title":"Work Mode, Nodes, and Workspaces","lastUpdated":"2026-11-25T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/navigation.md","filePath":"en-US/workbench/navigation.md"}'),a={name:"en-US/workbench/navigation.md"};function r(i,e,d,c,l,p){return o(),n("div",null,[...e[0]||(e[0]=[s("",51)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
@@ -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-24T00: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 &quot;Create and Manage Sessions&quot;">​</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&#39;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&#39;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&#39;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&#39;s current input and leaving the previous session&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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 &quot;Clean up sessions&quot;">​</a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list&#39;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 &quot;Share a work session&quot;">​</a></h2><p>Choose <strong>Share conversation</strong> from a regular work session&#39;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&#39;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&#39;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 &quot;Automatic continuation after orderly shutdown&quot;">​</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-and-scheduled-tasks" tabindex="-1">Navigation and scheduled tasks <a class="header-anchor" href="#navigation-and-scheduled-tasks" aria-label="Permalink to &quot;Navigation and scheduled tasks&quot;">​</a></h2><p>Changing only the task prompt, notification settings, or saving user does not postpone the next scheduled occurrence. Changing the schedule or re-enabling a paused task recalculates the next run from the current time; missed occurrences during a pause are not replayed.</p><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><p>Choose <strong>Scheduled task</strong> from a session&#39;s More menu and enter a task prompt. If no task exists, the dialog shows <strong>Not configured</strong> with the enable switch off; repeat and time values are only unsaved form defaults. Enable the task and save to allow automatic execution. Simple mode uses a time picker for hourly, daily, or weekly schedules; Cron mode accepts a standard five-field expression with numbers, ranges, lists, and steps. The task runs in the Node time zone; no time zone setting is needed. The dialog shows the notification recipient by nickname or account name. Saving a task makes you both its execution identity and notification recipient. Task notifications are off by default. Enable them for run completion, skips, and failures. When disabled, results remain in recent runs without in-app notifications, system notifications, or offline Push. Proposed task changes still notify separately. Enabling a task pins the session and shows a clock in the list. Pausing or deleting the task does not unpin the session; the list shows a pushpin if it is still pinned and no marker otherwise. The dialog shows the next run, recent results, and proposed changes. Recent results are shown in pages of 10; changing pages preserves unsaved task edits.</p><p>Node starts scheduled runs in the same session as the last user to save the task, using the session&#39;s current Agent, model, and permission settings. A busy session, Node restart, unavailable Server, or lost access for that user skips the occurrence without a catch-up run. When task notifications are enabled, the current recipient receives run completion, skip, and failure notifications without duplicate failure alerts. When disabled, these results remain in recent runs without notifications. Recent runs remain visible to their initiating user, subject to access, even if someone edits the task later. Scheduled runs automatically approve tool permission requests, including third-party MCP tools; questions requiring user input still need an answer. Every regular Workspace conversation loads the MAR scheduled task MCP, so a new conversation can create its own task and manual chats can change that task&#39;s prompt or time. Other users&#39; MCP changes require the last editor&#39;s confirmation in the dialog. The Workspace session list labels it “Injected during execution” under “Loaded MCP”; it is not an MCP you need to install. This MCP manages only the current MyAgentRoam session&#39;s MAR scheduled task; it does not manage repository cron jobs, CI schedules, or other projects&#39; schedulers.</p>',44)])])}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 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 &quot;Create and Manage Sessions&quot;">​</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&#39;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&#39;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&#39;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&#39;s current input and leaving the previous session&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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&#39;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 &quot;Clean up sessions&quot;">​</a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list&#39;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 &quot;Share a work session&quot;">​</a></h2><p>Choose <strong>Share conversation</strong> from a regular work session&#39;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&#39;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&#39;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 &quot;Automatic continuation after orderly shutdown&quot;">​</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 &quot;Navigation&quot;">​</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 &quot;Scheduled tasks&quot;">​</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&#39;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&#39;s tasks and read their trigger records. No installation is needed. An update requires the task and its current revision; edits to another user&#39;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 +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-24T00: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("",44)])])}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 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("",50)])])}const g=s(o,[["render",i]]);export{u as __pageData,g as default};
@@ -0,0 +1,52 @@
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-25T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),t={name:"operations/marctl.md"};function o(d,s,p,c,l,r){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 &quot;使用 marctl 管理节点&quot;">​</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 &quot;Agent 按需加载指南&quot;">​</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 &quot;查看命令帮助&quot;">​</a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl help</span></span>
2
+ <span class="line"><span>marctl help ssh</span></span>
3
+ <span class="line"><span>marctl ssh --help</span></span>
4
+ <span class="line"><span>marnodes --help</span></span>
5
+ <span class="line"><span>marssh --help</span></span>
6
+ <span class="line"><span>marscp --help</span></span></code></pre></div><p>这些入口也支持 <code>-h</code>,查看帮助无需配置、授权或连接 Server。<code>marctl help</code> 显示产品说明、统一用法、子命令、选项、示例与授权说明;子命令帮助按用法、参数、选项、示例和说明组织。各 alias 只显示自己的操作,并使用 <code>marnodes</code>、<code>marssh</code> 或 <code>marscp</code>,不会混入其他命令。<code>marssh &lt;节点&gt; tool --help</code> 中的帮助参数属于远端命令;<code>marscp --</code> 后的参数按字面路径处理。</p><h2 id="查看-cli-版本" tabindex="-1">查看 CLI 版本 <a class="header-anchor" href="#查看-cli-版本" aria-label="Permalink to &quot;查看 CLI 版本&quot;">​</a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl version</span></span>
7
+ <span class="line"><span>marctl --version</span></span>
8
+ <span class="line"><span>marnodes --version</span></span>
9
+ <span class="line"><span>marssh --version</span></span>
10
+ <span class="line"><span>marscp --version</span></span></code></pre></div><p>这些入口也支持 <code>-V</code>,以单行 <code>marctl &lt;版本号&gt;</code> 输出到标准输出并以换行结束,不附加横幅、依赖版本或诊断信息;查询成功时退出码为 0。显示的是当前安装的 Node 包版本,不是 Server 版本;查看版本不需要配置或授权,也不会连接 Server。<code>marctl help version</code> 或 <code>marctl version --help</code> 查看版本命令说明。<code>marssh &lt;节点&gt; --version</code> 中的选项属于远端命令,不会改为显示本机 CLI 版本。</p><h2 id="执行上下文授权" tabindex="-1">执行上下文授权 <a class="header-anchor" href="#执行上下文授权" aria-label="Permalink to &quot;执行上下文授权&quot;">​</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 &quot;协同工作区会话&quot;">​</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 [&lt;session-id&gt;] --title &#39;fixer#42 Updated title&#39; --json</code> 修改标题,首尾空白会去除,标题须非空且最多 160 字符。不限制 parent 关系,沿用 Web 改名链路,不启动或打断执行。查询当前标题使用 <code>agents current --json</code>。</p><p><code>view [&lt;session-id&gt;] --json</code> 只返回状态、当前 Goal 和有界最近活动,不附历史或接受历史分页参数。完整记录通过独立的 <code>history [&lt;session-id&gt;] --cursor &lt;cursor&gt; --limit &lt;1..100&gt; --json</code> 按需分页读取;首次读取可省略 cursor。<code>history --json</code> 在 <code>segments[].items[]</code> 中按 <code>kind === &quot;assistant_message&quot;</code> 筛选,文本在 <code>payload.text</code>;精简状态字段见下文。</p><p>已有会话可用 <code>marctl agents config &lt;session-id&gt; --model-id &lt;id&gt; --effort high --json</code> 切换模型和思考强度,两个选项也可单独使用;未指定字段和权限保持不变,<code>--effort &quot;&quot;</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 &lt;名称片段&gt;</code> 只查询当前 Node 已登记或缓存的会话,不主动扫描 Agent 的原生会话历史。MAR 创建的正式会话和成功发现的外部会话会登记;尚未发现的外部会话需先由工作台发现。查询不恢复执行。列表按所选范围排序并限量;超出的匹配通过 <code>truncated</code> 标记,不提供翻页。错填 ID 时,<code>SESSION_NOT_FOUND</code> 的 <code>details</code> 可返回同一 Workspace 内最多 3 个 <code>&lt;sessionId&gt; &lt;name&gt;</code> 近似候选,不会自动替换 ID 或重发操作。<code>wait</code> 失败时,JSON 错误保留目标会话、Run、失败阶段及可用的上游诊断。</p><p><code>list</code> 仅接受 <code>--scope tree|active</code>、<code>--query &lt;标题片段&gt;</code>、<code>--limit &lt;1..100&gt;</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 &quot;定时任务&quot;">​</a></h2><p><code>marctl agents schedule</code> 在当前授权的普通 Workspace 中操作。<code>list</code> 返回精简的 <code>tasks[]</code> 和 <code>nextCursor</code>,可用 <code>--session &lt;session-id&gt;</code> 筛选绑定会话,并用 <code>--cursor</code> 继续分页。<code>get</code>、<code>update</code> 和 <code>runs</code> 必须传入 <code>--task &lt;task-id&gt;</code>,不能用会话 ID 代替。<code>runs</code> 以 <code>--page</code> 翻页,默认第一页,返回触发时间、结果及可用的运行引用,不返回提示词正文。</p><p><code>create</code> 每次新建一项独立任务,不覆盖原有任务。默认绑定当前会话;可用 <code>--session &lt;session-id&gt;</code> 指定同一 Workspace 的会话。如果希望每次触发都新建会话,改用 <code>--new-session --runner &lt;runner&gt;</code>,并在 <code>--model-id &lt;id&gt;</code> 与 <code>--default-model</code> 中二选一,可选 <code>--effort &lt;value&gt;</code>。没有当前会话时须明确选择目标。</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;"> --limit</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 20</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &#39;Build review&#39;</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;"> &#39;Check build results&#39;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --json</span></span>
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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> --expected-revision</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$REVISION</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</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;"> &quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">$TASK_ID</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;</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>HH:mm</code> 时刻。新任务使用 Node 时区,更新沿用任务已保存的时区。<code>once</code> 必须填写明确的未来日期;CLI 不代为建议日期。以下 <code>triggers.json</code> 展示仅一次、每天、每周和每月四种形式:</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
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;once&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;date&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;2030-03-21&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;14:30&quot;</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;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;daily&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;10:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
17
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;weekly&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;09:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;weekdays&quot;</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
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;kind&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;monthly&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;time&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;09:00&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">&quot;monthDays&quot;</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>更新至少指定名称、触发时间或正文之一。更新自己创建的任务直接生效;更新他人任务返回 <code>proposalId</code> 和 <code>baseRevision</code>,由创建者确认,不会转移执行身份。版本冲突时重新读取;写入结果未知时先核对任务,不要盲目重试。CLI 不提供启停、删除或提议审批;请在<a href="./../workbench/sessions#定时任务">定时任务页面</a>操作。</p><h2 id="持久指令与审批" tabindex="-1">持久指令与审批 <a class="header-anchor" href="#持久指令与审批" aria-label="Permalink to &quot;持久指令与审批&quot;">​</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
+ <span class="line"><span>marctl agents current --json</span></span>
21
+ <span class="line"><span>marctl agents list --limit 20 --json</span></span>
22
+ <span class="line"><span>marctl agents list --query fixer#42 --json</span></span>
23
+ <span class="line"><span>marctl agents list --scope active --limit 20 --json</span></span>
24
+ <span class="line"><span>marctl agents graph &lt;session-id&gt; --limit 100 --json</span></span>
25
+ <span class="line"><span>marctl agents start --runner codex --title &#39;fixer#42 Handle empty totals&#39; --message-file task.txt --json</span></span>
26
+ <span class="line"><span>marctl agents show &lt;session-id&gt; --json</span></span>
27
+ <span class="line"><span>marctl agents history &lt;session-id&gt; --limit 10 --json</span></span>
28
+ <span class="line"><span>marctl agents send &lt;session-id&gt; -m &#39;Additional context: focus on the resume path.&#39; --json</span></span>
29
+ <span class="line"><span>marctl agents send &lt;session-id&gt; --queue -m &#39;After the current task, review the final diff.&#39; --json</span></span>
30
+ <span class="line"><span>marctl agents send &lt;session-id&gt; --approval &lt;approval-id&gt; --decision approve --json</span></span>
31
+ <span class="line"><span>marctl agents wait &lt;session-id&gt; --run &lt;run-id&gt; --timeout 30s --json</span></span>
32
+ <span class="line"><span>marctl agents prompt get &lt;session-id&gt; --json</span></span>
33
+ <span class="line"><span>marctl agents prompt set &lt;session-id&gt; --message-file instructions.txt --json</span></span>
34
+ <span class="line"><span>marctl agents prompt clear &lt;session-id&gt; --json</span></span>
35
+ <span class="line"><span>marctl agents wait &lt;session-id&gt; --run &lt;run-id&gt; --until approval --timeout 5m --json</span></span>
36
+ <span class="line"><span>marctl agents approval decide &lt;session-id&gt; --run &lt;run-id&gt; --approval &lt;approval-id&gt; --decision approve --json</span></span>
37
+ <span class="line"><span>marctl agents wait &lt;session-id&gt; --timeout 0ms --json</span></span>
38
+ <span class="line"><span>marctl agents stop &lt;session-id&gt; --json</span></span>
39
+ <span class="line"><span>marctl agents goal get &lt;session-id&gt; --json</span></span>
40
+ <span class="line"><span>marctl agents goal set &lt;session-id&gt; --message-file objective.txt --json</span></span>
41
+ <span class="line"><span>marctl agents goal set &lt;session-id&gt; -m &#39;Finish the review and verify the fix&#39; --json</span></span>
42
+ <span class="line"><span>marctl agents goal clear &lt;session-id&gt; --json</span></span></code></pre></div><p><code>start</code>、<code>send</code> 和 <code>goal set</code> 可用 <code>-m</code> / <code>--message</code> 直接传文本,也可用 <code>--message-file</code> 读取 UTF-8 文件或 stdin,两种选项互斥。文本中的文件路径指向目标获授权可访问的资源,不会自动上传 CLI 主机上的文件。<code>goal set</code> 拒绝保留目标 <code>--clear</code>;清除目标请显式使用 <code>goal clear</code>。</p><p><code>start</code> 在工作区根目录创建会话并提交首条消息,支持 <code>mar-agent</code>、<code>codex</code>、<code>claude-code</code>、<code>opencode</code>,以各 Agent 实际支持的能力为准。Agent 内调用时,省略 <code>--runner</code> 则沿用调用方的 Agent 类型。从终端调用时,须指定 <code>--runner</code> 或 <code>--parent</code>;省略 <code>--runner</code> 时继承父会话的 Agent 类型。省略 <code>--model-id</code> 时使用目标 Agent 的配置,不继承 Coordinator 模型。创建会话不会覆盖 Web Composer 已保存的默认模型、思考强度或权限,无论是否来自父会话;指定的配置只影响新建会话。<code>--message-file -</code> 从 UTF-8 stdin 读取。保存返回的原生会话 ID,标题不是唯一寻址身份。</p><p>Agent 内执行 <code>start</code> 时,Node 根据可信 Execution 凭据核验创建来源;终端用户可用 <code>--parent</code> 指定合法父会话,Node 校验同一 Workspace 后保存正式 <code>parentSessionId</code>。没有父会话则为空,创建后不能修改。<code>list --scope tree</code> 返回当前会话所在协作树,<code>graph &lt;session-id&gt;</code> 返回包含根的创建后代树。graph 默认最多 100 个节点,<code>--limit</code> 支持 1..100;结果包含 <code>rootSessionId</code>、<code>nodes</code> 和 <code>truncated</code>,只查询 Node 已知会话,不扫描 Agent 的原生会话历史。parent 只表示创建来源,不是权限、当前调度者或任务依赖;发送消息与接手不改变它。删除父会话会按 Node 的关系树删除后代;旧会话不从消息或标题推断关系。</p><p>按任务需要创建会话,标题用 <code>fixer#&lt;任务编号&gt; &lt;描述&gt;</code>、<code>reviewer#&lt;任务或变更编号&gt; &lt;描述&gt;</code>。没有固定人数、角色注册、会话池;角色、范围和验收条件可放入首条普通消息,持久指令通过 <code>prompt</code> 设置。各 Agent 按上文入口加载指南;目标会话不需要加载该指南才能接受协作消息。</p><p><code>send</code> 有正文时默认使用 <code>--steer</code>,与 <code>agent_send</code> 一致。STEER 可使受管等待提前返回,后台任务继续运行。若无法在当前执行内交付,Node 可能中断该执行以交付新输入。<code>--queue</code> 用于明确要求延后处理的输入:在当前工作及前面的队列项结束后才消费,有活动 Goal 时还需等到 Goal 退出;后来的显式停止仍有效。纯 Goal 更新或审批不涉及消息投递。冲突、重复或旧选项在读取输入或发送请求前本地拒绝。start/send 自动生成 <code>clientMessageId</code>,也可传入 <code>--client-message-id</code>。消息回执在 <code>message.status</code> 和 <code>message.result</code> 中报告接受及投递事实,接受不保证立即处理。消息被接受后,通常无需另外回复或索取收悉确认,也无需仅为确认收到而立即检查历史。投递结果未知时先查看历史再重试;排队消息可通过 <code>queueItemId</code>/<code>clientMessageId</code> 关联。</p><p><code>send --approval &lt;approval-id&gt; --decision approve|reject</code> 可单独决定审批,也可与正文或 Goal 一起提交;Node 仍核验审批有效性和目标归属。单独决定审批无需启动模型请求。</p><p>子 Agent 运行时,建议并行推进有意义且不重叠的工作,不重复委派内容。没有其他本地工作可做,且需要结果解除阻塞或收尾时,再考虑等待。通常简洁交付最终结果即可,无需例行汇报或重复发送完成消息;用户要求的更新、阻塞、范围冲突或待决策信息适合提前沟通。</p><p>Agent 会话中的 <code>start</code> 首条消息和 <code>send</code> 消息会在历史和队列中标注 <code>来自 {name}</code>,使用发送时的名称快照;悬停显示来源为会话及其 ID。网页分享访客消息使用相同的 <code>来自 {name}</code> 标题,悬停显示来源为网页分享;普通用户与分享页面原作者保留原有标题。终端用户直接输入不伪造会话来源。内部来源标记不会出现在消息正文中。</p><p>不带 <code>--run</code> 的 <code>wait</code> 与 <code>agent_wait</code> 一致:省略目标时选择直接子会话,默认等待终态 30 秒;显式指定目标时,即使只有一个,结果也通过 <code>agents</code> 数组返回。<code>--timeout 0ms</code> 读取快照,正数按传入时长等待。<code>stop &lt;session-id&gt;</code> 停止目标当前执行并清除 Goal,无需执行 ID;空闲时如实返回 idle,并清除 Goal。<code>wait --run</code> 通过既有 Watch 等待指定 Run 或审批,退出时释放观察;超时错误可附最后收到的有界 <code>progress</code>,没有观察时省略。无论哪种等待,超时或取消等待都不停止任务。Run 成功仍需核验产物与测试;子会话终态不会自动唤醒父会话的 sleep,需主动等待或读取。</p><p><code>view</code> 返回状态、Goal 和有界最近活动,不公开 Run 或 Execution ID。</p><p>只有直接子会话的公开更新会被父会话自动收取。向其他会话 <code>send</code> 不建立订阅;显式 <code>wait</code> 只在本次调用期间监听,不会持续接收其后续更新。</p><p>会话共享文件和 Git 索引,不自动隔离 worktree 或创建 Git 工作流。提交、推送、PR、合并和外部消息仍需相应用户授权。变更结果未知时保留关联 ID,先查状态/历史再决定是否重试,不盲目重发;重启后不保证恢复内存回执或 Run。</p><p><code>--json</code> 只输出一个结果/错误对象,key 和 code 使用稳定英文。退出码:1 失败,2 参数错误,3 授权错误,4 能力不支持,5 超时,6 结果未知,130 取消等待。</p><h2 id="列出节点与执行命令" tabindex="-1">列出节点与执行命令 <a class="header-anchor" href="#列出节点与执行命令" aria-label="Permalink to &quot;列出节点与执行命令&quot;">​</a></h2><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>marctl nodes</span></span>
43
+ <span class="line"><span>marnodes</span></span>
44
+ <span class="line"><span>marctl ssh &lt;node-id&gt;</span></span>
45
+ <span class="line"><span>marctl ssh &lt;node-name&gt;</span></span>
46
+ <span class="line"><span>marssh &lt;node-id|node-name&gt;</span></span>
47
+ <span class="line"><span>marctl ssh &lt;node-id&gt; uname -a</span></span>
48
+ <span class="line"><span>marscp ./artifact.bin &lt;node-id|node-name&gt;:///absolute/path/artifact.bin</span></span>
49
+ <span class="line"><span>marscp ./artifact.bin &lt;node-id|node-name&gt;:///existing/directory/</span></span>
50
+ <span class="line"><span>marscp &lt;node-id|node-name&gt;:///absolute/path/artifact.bin ./</span></span>
51
+ <span class="line"><span>marscp &lt;node-id|node-name&gt;:///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>&lt;节点ID|节点名称&gt;://&lt;绝对路径&gt;</code> 或 <code>节点:&lt;绝对路径&gt;</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 &quot;长任务与断线&quot;">​</a></h2><p>Server 中继不设置固定传输速率上限。发送端逐帧异步写入,并让出事件循环处理其他操作;复制拥塞时暂停相应 pipe 或 CLI 输入,恢复后按顺序继续,不影响直连写者。普通终端持续读取以保留退出前的完整尾部;发送缓冲超限时明确终止对应中继,不静默丢帧或关闭其他终端的共享连接。退出状态不会越过输出,等待写入或确认时仍可中断;成功退出后的正常断线不会被误报为复制失败。无需新增命令参数;慢网络仍可能增加响应时间,这不是主机级带宽隔离。</p><p>连接建立有超时,但附着后的命令没有总运行时长或输出静默超时;保持连接即可等待长任务正常完成。CLI 退出或连接无法恢复时会关闭其创建的终端,不提供断线后的后台任务托管;Node 上已解除附着的终端最多保留 60 分钟。对于必须在断线后持续运行的作业,请另行使用受控的任务管理方式,不要依赖这个终端连接。</p>`,62)])])}const g=e(t,[["render",o]]);export{k as __pageData,g as default};
@@ -0,0 +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-25T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),t={name:"operations/marctl.md"};function o(d,s,p,c,l,r){return a(),i("div",null,[...s[0]||(s[0]=[n("",62)])])}const g=e(t,[["render",o]]);export{k as __pageData,g as default};