@myagentroam/server 0.13.40 → 0.13.42

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 (372) hide show
  1. package/node_modules/@myagentroam/protocol/package.json +1 -1
  2. package/node_modules/@myagentroam/server-core/package.json +2 -2
  3. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  4. package/package.json +5 -5
  5. package/web/assets/{AuditManagementPage-D1EB0Rmy.js → AuditManagementPage-BYzw06Au.js} +1 -1
  6. package/web/assets/{BusyIndicator-C6r16yaq.js → BusyIndicator-BSxmme_C.js} +1 -1
  7. package/web/assets/{CodeFileEditor-ClSv4bXD.js → CodeFileEditor-BzlBgLRK.js} +3 -3
  8. package/web/assets/ConversationTemplateManagementPage-C4qZYrfD.js +1 -0
  9. package/web/assets/ConversationTemplateManagementPage-Ciyf9SKk.js +1 -0
  10. package/web/assets/EnterpriseUserManagementPage-B1gTL_k7.css +1 -0
  11. package/web/assets/{EnterpriseUserManagementPage-U0x4u4uu.js → EnterpriseUserManagementPage-D6HfDFlW.js} +1 -1
  12. package/web/assets/{EnvironmentSecretManager-Gj1X-Z7C.js → EnvironmentSecretManager-D0RSuzOg.js} +1 -1
  13. package/web/assets/{FilePreviewLoading-BjTq_2_N.js → FilePreviewLoading-CkXYZr2D.js} +1 -1
  14. package/web/assets/{HtmlPreviewFrame-mY307Dbd.js → HtmlPreviewFrame-Odxfdit6.js} +5 -5
  15. package/web/assets/LicenseManagementPage-GawhNvtK.js +1 -0
  16. package/web/assets/{ManagementPagination-Drcpb4iN.js → ManagementPagination-BVSV9Ych.js} +1 -1
  17. package/web/assets/MarAgentModelManagementPage-BK8JhVIo.js +1 -0
  18. package/web/assets/MarAgentModelManagementPage-_bv36Cld.js +1 -0
  19. package/web/assets/{MarIcon-Dd8tXkD_.js → MarIcon-CzWeIUMs.js} +1 -1
  20. package/web/assets/{MarkdownFilePreview-UegajMzF.js → MarkdownFilePreview-CTOXs-y9.js} +2 -2
  21. package/web/assets/{McpDetailsDialog-BI3Tikag.js → McpDetailsDialog-7htYvchv.js} +1 -1
  22. package/web/assets/{McpSourceManagementPage-kasbWxqO.js → McpSourceManagementPage-DhXwVG3s.js} +1 -1
  23. package/web/assets/{McpSourceManagementPage-D8ZFY9e3.js → McpSourceManagementPage-VO0nKThP.js} +1 -1
  24. package/web/assets/{NodeDetailsDialogs-BKKAFZNh.js → NodeDetailsDialogs-BXTPUZF3.js} +2 -2
  25. package/web/assets/NodeManagementPage-CG9wifft.js +1 -0
  26. package/web/assets/NodeManagementPage-FtX60Aco.js +1 -0
  27. package/web/assets/OAuthManagementPage-D6HY7up7.js +2 -0
  28. package/web/assets/OrganizationManagementPage-B6AeYvnZ.css +1 -0
  29. package/web/assets/OrganizationManagementPage-Dfch7gnp.js +1 -0
  30. package/web/assets/{RemoteDesktopPage-CrygdCyB.js → RemoteDesktopPage-DS1jc-WC.js} +1 -1
  31. package/web/assets/{ResourceManagementPanel-DBTCb58R.js → ResourceManagementPanel-H2IGfzmS.js} +1 -1
  32. package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-CGTNiqbg.js +1 -0
  33. package/web/assets/SecretManagementPage-Cze4kbLP.js +1 -0
  34. package/web/assets/SecretManagementPage-DK80RNK2.js +1 -0
  35. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-CNm9jYMh.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-DdhSA1gx.js} +1 -1
  36. package/web/assets/SessionSharePage-BgQOqH2g.js +2 -0
  37. package/web/assets/{SettingsContent-CjOXsTRB.js → SettingsContent-Bv9587ZN.js} +1 -1
  38. package/web/assets/SettingsContent-ChScVOYi.js +1 -0
  39. package/web/assets/SkillCenterPage-DTcPaK20.js +1 -0
  40. package/web/assets/{SkillCenterPage-I_3XIkPr.js → SkillCenterPage-KOVm_sCY.js} +1 -1
  41. package/web/assets/{SkillDetailsDialog-e8dpZ8Uu.js → SkillDetailsDialog-Dkwhe8V1.js} +1 -1
  42. package/web/assets/{SkillSourceManagementPage-Mt5BFTqb.js → SkillSourceManagementPage-CyhHH6IF.js} +1 -1
  43. package/web/assets/{SkillSourceManagementPage-Ca9z5lBL.js → SkillSourceManagementPage-DyOvjIxl.js} +1 -1
  44. package/web/assets/{StandaloneFilePreviewPage-Bb1ci44U.js → StandaloneFilePreviewPage-DS11w8tw.js} +1 -1
  45. package/web/assets/SystemConfigurationPage-94kJT211.js +1 -0
  46. package/web/assets/SystemConfigurationPage-DajswjDJ.js +1 -0
  47. package/web/assets/{SystemInformationPage-S1_3IJ57.js → SystemInformationPage-oWmPiMCK.js} +1 -1
  48. package/web/assets/{TerminalTabView-DXI_297G.js → TerminalTabView-BvlZoeHm.js} +10 -10
  49. package/web/assets/{WorkbenchPage-C83XJx9F.js → WorkbenchPage-BKpxRHUd.js} +4 -4
  50. package/web/assets/WorkbenchPage-d5tfAd4c.css +1 -0
  51. package/web/assets/WorkspaceManagementPage-DieHQi7e.js +1 -0
  52. package/web/assets/WorkspaceManagementPage-ycvE-bSi.js +1 -0
  53. package/web/assets/{_baseIteratee-BaZQhZyx.js → _baseIteratee-D8zr5J8j.js} +1 -1
  54. package/web/assets/{abnfDiagram-VCTEODGH-DAWIlk5u.js → abnfDiagram-VCTEODGH-DYU0oVkk.js} +1 -1
  55. package/web/assets/{advancedFormat-aUniOYgq.js → advancedFormat-BKm3qsIp.js} +1 -1
  56. package/web/assets/{arc-DHJj1sqj.js → arc-DOZIY8aD.js} +1 -1
  57. package/web/assets/{architectureDiagram-5GKGNRK7-DPvVfGnW.js → architectureDiagram-5GKGNRK7-rbIVTI1a.js} +1 -1
  58. package/web/assets/{blockDiagram-OSKFZWR5-CmNEdp4-.js → blockDiagram-OSKFZWR5-DKVJ52Oc.js} +1 -1
  59. package/web/assets/{c4Diagram-7LVT6UL2-CLabCirw.js → c4Diagram-7LVT6UL2-D3DQpa2R.js} +1 -1
  60. package/web/assets/{catalog-ownership-service-I7711sU9.js → catalog-ownership-service-2PFHr7cy.js} +1 -1
  61. package/web/assets/{catalog-page-service-CrvIMHp_.js → catalog-page-service-i8hATwsi.js} +1 -1
  62. package/web/assets/channel-C2ah8GX3.js +1 -0
  63. package/web/assets/{chunk-2Q5K7J3B-Cs609t5Y.js → chunk-2Q5K7J3B-C9c91ukP.js} +1 -1
  64. package/web/assets/{chunk-5VM5RSS4-vFgwj9i4.js → chunk-5VM5RSS4-DxuTco1j.js} +1 -1
  65. package/web/assets/{chunk-F27PBJKO-DdpjR4bI.js → chunk-F27PBJKO-Bx7gFAXD.js} +1 -1
  66. package/web/assets/{chunk-HLEWEB6X-y_FtjlUY.js → chunk-HLEWEB6X-DZz7LUnw.js} +1 -1
  67. package/web/assets/{chunk-JWPE2WC7-D6JK8d29.js → chunk-JWPE2WC7-CpoI4ivS.js} +1 -1
  68. package/web/assets/{chunk-POPQ4Y6H-DSG6wM4A.js → chunk-POPQ4Y6H-CXr6_kt3.js} +1 -1
  69. package/web/assets/{chunk-SVP7TREG-CZWdUR8q.js → chunk-SVP7TREG-UWmsNxKy.js} +1 -1
  70. package/web/assets/{chunk-XXDRQBXY-DNIPT1e5.js → chunk-XXDRQBXY-CKEYCNET.js} +1 -1
  71. package/web/assets/{chunk-ZLD2IHE6-dLjcOoC2.js → chunk-ZLD2IHE6-BMy13ymU.js} +1 -1
  72. package/web/assets/classDiagram-CYGNFDIV-aJDqHns3.js +1 -0
  73. package/web/assets/classDiagram-v2-TLXNO2FR-aJDqHns3.js +1 -0
  74. package/web/assets/{conversation-history-Dw0OeuDj.js → conversation-history-BRCu6PtW.js} +1 -1
  75. package/web/assets/{cose-bilkent-JH36ORCC-Co_wYq4t.js → cose-bilkent-JH36ORCC-BtgVLwpt.js} +1 -1
  76. package/web/assets/{cynefin-OW5HDTMX-ALxsvR4U.js → cynefin-OW5HDTMX-CfEWO-Nn.js} +1 -1
  77. package/web/assets/{cynefinDiagram-5FMLGOSQ-BCOxWiYn.js → cynefinDiagram-5FMLGOSQ-Bv0DzRZp.js} +1 -1
  78. package/web/assets/{dagre-OS7QT2EB-BqvD6n75.js → dagre-OS7QT2EB-CAkiO0or.js} +1 -1
  79. package/web/assets/{diagram-S7CK7UJ4-BlymX99t.js → diagram-S7CK7UJ4-DKuP0ZcM.js} +1 -1
  80. package/web/assets/{diagram-UQ7AKVKN-o2Zn3lmh.js → diagram-UQ7AKVKN-B7PXTtZW.js} +1 -1
  81. package/web/assets/{diagram-VSXAHHWV-LvxlSJ3y.js → diagram-VSXAHHWV-BnR0S5It.js} +1 -1
  82. package/web/assets/{diagram-VX7I27RA-5OzgskFN.js → diagram-VX7I27RA-1ns4b_Ly.js} +1 -1
  83. package/web/assets/{diagram-Z3DM3KII-DJfYlTyb.js → diagram-Z3DM3KII-b6dkT3D7.js} +1 -1
  84. package/web/assets/{ebnfDiagram-PWID7BFC-CaDW9bPH.js → ebnfDiagram-PWID7BFC-D6A8AQlZ.js} +1 -1
  85. package/web/assets/{el-alert-DmchhQax.js → el-alert-CxrwoFMm.js} +1 -1
  86. package/web/assets/{el-cascader-H-Yeolyv.js → el-cascader-CUsS5sQC.js} +1 -1
  87. package/web/assets/{el-checkbox-C4UiMIuI.js → el-checkbox-BEuU-IAG.js} +1 -1
  88. package/web/assets/{el-date-picker-B7VBZfx-.js → el-date-picker-C2lmvLfz.js} +1 -1
  89. package/web/assets/{el-descriptions-Bpv9MSpN.js → el-descriptions-DqEkudu8.js} +1 -1
  90. package/web/assets/{el-form-item-AGycjXtk.js → el-form-item-BhdvtBoj.js} +2 -2
  91. package/web/assets/{el-input-mQZYBrBd.js → el-input-D2mXGScU.js} +2 -2
  92. package/web/assets/{el-input-number-Dpw9CJQ1.js → el-input-number-BHe_RF5E.js} +1 -1
  93. package/web/assets/{el-radio-DNKBZo6a.js → el-radio-CCg-CVNI.js} +1 -1
  94. package/web/assets/{el-scrollbar-8NwBVSDB.js → el-scrollbar-DEuLh689.js} +1 -1
  95. package/web/assets/{el-select-DmxIIQ48.js → el-select-DpvzF6za.js} +1 -1
  96. package/web/assets/{el-switch-DULOibHs.js → el-switch-CG3fA43f.js} +1 -1
  97. package/web/assets/{el-tab-pane-B4VHARjC.js → el-tab-pane-Da_Qe98x.js} +1 -1
  98. package/web/assets/el-table-column-BuHeqmjf.js +1 -0
  99. package/web/assets/{enterprise-management-service-ByETEgFZ.js → enterprise-management-service-Dq8hjOQO.js} +1 -1
  100. package/web/assets/{erDiagram-2YWLMYGG-2zMqmYv0.js → erDiagram-2YWLMYGG-BhUFTXg1.js} +1 -1
  101. package/web/assets/{error-presentation-p-88bGPc.js → error-presentation-DcEn2OhQ.js} +1 -1
  102. package/web/assets/{flowDiagram-T62WH6J4-wa-_dpiY.js → flowDiagram-T62WH6J4-apNT2Grp.js} +1 -1
  103. package/web/assets/{ganttDiagram-EL5Y4UJY-D612DnDq.js → ganttDiagram-EL5Y4UJY-B9GXN1na.js} +1 -1
  104. package/web/assets/{gitGraphDiagram-WWUBYQGX-CbcV1o-A.js → gitGraphDiagram-WWUBYQGX-wSTPdk0P.js} +1 -1
  105. package/web/assets/{hosted-conversation-template-client-DUAL5oy-.js → hosted-conversation-template-client-zjTbBHeH.js} +1 -1
  106. package/web/assets/{index-BRLJFcfW.js → index-1NvwgnKS.js} +1 -1
  107. package/web/assets/{index-CNUoaheD.js → index-B-X5u8cI.js} +1 -1
  108. package/web/assets/{index-BDKTJRz4.js → index-B-XXHvKc.js} +1 -1
  109. package/web/assets/{index-Cuq6wm_m.js → index-BDq_pbKu.js} +1 -1
  110. package/web/assets/{index-nTDMEpry.js → index-BGmp6-3j.js} +18 -18
  111. package/web/assets/{index-CdIw03RW.js → index-BMheCXoB.js} +1 -1
  112. package/web/assets/{index-ChUf_mKd.js → index-BOvaB0C-.js} +1 -1
  113. package/web/assets/{index-DKhpC_1Q.js → index-Ba6iK4d8.js} +1 -1
  114. package/web/assets/{index-DVVq_7vA.js → index-BdNxGQUO.js} +1 -1
  115. package/web/assets/{index-BUChenZd.js → index-BmWtKtLc.js} +1 -1
  116. package/web/assets/{index-DQA2hZJP.js → index-C1nRANxM.js} +1 -1
  117. package/web/assets/{index-iLLnA8-L.js → index-CANfEI7O.js} +1 -1
  118. package/web/assets/{index-B0vCt07Z.js → index-CNjxcC1r.js} +1 -1
  119. package/web/assets/{index-09mouiQJ.js → index-CPhahzD2.js} +1 -1
  120. package/web/assets/{index-Hobh03AC.js → index-CQeS2za-.js} +1 -1
  121. package/web/assets/{index-C7gKD9JU.js → index-CsGvE9BH.js} +1 -1
  122. package/web/assets/{index-GcEKdw8F.js → index-D0SA9962.js} +1 -1
  123. package/web/assets/{index-DHPeeVhE.js → index-D63MCAbl.js} +1 -1
  124. package/web/assets/{index-B-7zlHeM.js → index-D6fig5_R.js} +1 -1
  125. package/web/assets/{index-s2Ha-GnI.css → index-D7cXOUkF.css} +1 -1
  126. package/web/assets/{index-BkUiRx3-.js → index-DQVv2C1C.js} +1 -1
  127. package/web/assets/{index-CsSCLcpK.js → index-DnXI5HAq.js} +1 -1
  128. package/web/assets/{index-CWqXCSc7.js → index-DzsrXSGW.js} +1 -1
  129. package/web/assets/{index-D7beQ3QT.js → index-Uo6Tsm01.js} +1 -1
  130. package/web/assets/{index-dF4etShk.js → index-_7mAA2sQ.js} +1 -1
  131. package/web/assets/{index-kuB4dmyI.js → index-_AwytY44.js} +1 -1
  132. package/web/assets/{index-CHFvlPXy.js → index-c2dfB1bI.js} +1 -1
  133. package/web/assets/{index-Cs5IUlii.js → index-dFtUFiQL.js} +1 -1
  134. package/web/assets/{index-DyI9r3Bt.js → index-pmVe4zB-.js} +1 -1
  135. package/web/assets/{index-Dvj-p2eB.js → index-u9HkIAxq.js} +1 -1
  136. package/web/assets/infoDiagram-FKFFQAWI-BCHQ3DDu.js +2 -0
  137. package/web/assets/{isArrayLikeObject-B10d2_nL.js → isArrayLikeObject-CXncc20u.js} +1 -1
  138. package/web/assets/{ishikawaDiagram-5VMMS53U-BLh4brI3.js → ishikawaDiagram-5VMMS53U-z8pIpqd8.js} +1 -1
  139. package/web/assets/{journeyDiagram-EYS64GPL-CtR4U2Ow.js → journeyDiagram-EYS64GPL-CMVTVfyi.js} +1 -1
  140. package/web/assets/{kanban-definition-UXKFOSKX-D_X1w7OD.js → kanban-definition-UXKFOSKX-Q677mqlK.js} +1 -1
  141. package/web/assets/{layout-cG64wF2A.js → layout-XEvgbYbU.js} +1 -1
  142. package/web/assets/{linear-CW7Ty6z1.js → linear-CLp5kAj1.js} +1 -1
  143. package/web/assets/{management-url-service-Cj3pOACA.js → management-url-service-DXxizFTs.js} +1 -1
  144. package/web/assets/{mcp-center-service-HXeiDVQu.js → mcp-center-service-LqlQKtfu.js} +1 -1
  145. package/web/assets/{merge-KnF4FXAE.js → merge-R2FU6J9H.js} +1 -1
  146. package/web/assets/{mermaid.core-CIwpUIkX.js → mermaid.core-CZhNX8Zt.js} +5 -5
  147. package/web/assets/{message-box-service-C8q7blg8.js → message-box-service-jajIaNSh.js} +1 -1
  148. package/web/assets/{mindmap-definition-THT77NOG-BMfbIM-R.js → mindmap-definition-THT77NOG--j8u9wCj.js} +1 -1
  149. package/web/assets/mobile-dialog-return-service-C1r4xnjj.js +1 -0
  150. package/web/assets/{oauth-callback-C9RxE_FL.js → oauth-callback-CGryxaWm.js} +1 -1
  151. package/web/assets/{pegDiagram-XKGWAZYB-7Oshee2x.js → pegDiagram-XKGWAZYB--yOZBFXv.js} +1 -1
  152. package/web/assets/{pieDiagram-E7YTZNPT-CMH6Y3NW.js → pieDiagram-E7YTZNPT-FFY5btUN.js} +1 -1
  153. package/web/assets/{quadrantDiagram-AXDQQJYC-Dj_KiLbP.js → quadrantDiagram-AXDQQJYC-DyVGryxX.js} +1 -1
  154. package/web/assets/{railroadDiagram-O6MQD6OU-DTqXQtJL.js → railroadDiagram-O6MQD6OU-B1PGTNY0.js} +1 -1
  155. package/web/assets/{requirementDiagram-IS5BZ75X-CkFQh0p2.js → requirementDiagram-IS5BZ75X-CNwUXsGi.js} +1 -1
  156. package/web/assets/{runner-presentation-B_WL-hOq.js → runner-presentation-2CguWXC3.js} +1 -1
  157. package/web/assets/{sankeyDiagram-P5KCCOFB-CoLlYYtV.js → sankeyDiagram-P5KCCOFB-C6tk5X0R.js} +1 -1
  158. package/web/assets/{sequenceDiagram-WJ2MYXX4-DQozvzEw.js → sequenceDiagram-WJ2MYXX4-ByeyRijR.js} +1 -1
  159. package/web/assets/{session-share-client-service-F20nFnhi.js → session-share-client-service-4fewpE0b.js} +1 -1
  160. package/web/assets/{sizeCapture-INFHLROL-DQOWxNEY.js → sizeCapture-INFHLROL-C7mc8LN4.js} +1 -1
  161. package/web/assets/{stateDiagram-XQSTLZYL-BW487v8g.js → stateDiagram-XQSTLZYL-BKAuWGmK.js} +1 -1
  162. package/web/assets/stateDiagram-v2-IH3M54BS-Cy3e8MsO.js +1 -0
  163. package/web/assets/{swimlanes-V6O3JKXN-Cp1wtlcP.js → swimlanes-V6O3JKXN-BTi_Dsij.js} +1 -1
  164. package/web/assets/swimlanesDiagram-JKAHXJPX-D9R8ihoa.js +8 -0
  165. package/web/assets/{time-presentation-BTxYwtG_.js → time-presentation-DzhQEVDq.js} +1 -1
  166. package/web/assets/{timeline-definition-24CTP7MA-BpZvP7ey.js → timeline-definition-24CTP7MA-CaiTysV3.js} +1 -1
  167. package/web/assets/{union-BA_h4K9S.js → union-Ba2wuAOp.js} +1 -1
  168. package/web/assets/{use-form-common-props-14CxDqe1.js → use-form-common-props-CBVJDsZ-.js} +1 -1
  169. package/web/assets/{use-wheel-CRHoSHkq.js → use-wheel-BU33IvZU.js} +1 -1
  170. package/web/assets/{vennDiagram-4TSXK5OY-CKNNRSuq.js → vennDiagram-4TSXK5OY-IRRNFBfM.js} +1 -1
  171. package/web/assets/{vnode-OkN1IbUg.js → vnode-CmxSxPMu.js} +1 -1
  172. package/web/assets/{wardleyDiagram-VM6X3IG4-CvPPZTh0.js → wardleyDiagram-VM6X3IG4-kEp9N5Z3.js} +1 -1
  173. package/web/assets/{workbench-composer-interaction-controller-CN4P4zHb.js → workbench-composer-interaction-controller-BHX6zPoh.js} +16 -16
  174. package/web/assets/{workbench-composer-interaction-controller-CctFAbhU.css → workbench-composer-interaction-controller-ST0YI3Nr.css} +1 -1
  175. package/web/assets/{workbench-live-service-CRqfYcR6.js → workbench-live-service-Ceu3yprJ.js} +1 -1
  176. package/web/assets/{workbench-presentation-DugF7jav.js → workbench-presentation-DPIhtkeQ.js} +1 -1
  177. package/web/assets/{xychartDiagram-S5SC5T6Z-CQQMaWXP.js → xychartDiagram-S5SC5T6Z-CniVZj2V.js} +1 -1
  178. package/web/docs/404.html +2 -2
  179. package/web/docs/administration/account.html +3 -3
  180. package/web/docs/administration/audit.html +3 -3
  181. package/web/docs/administration/conversation-templates.html +3 -3
  182. package/web/docs/administration/email-notifications.html +3 -3
  183. package/web/docs/administration/license.html +3 -3
  184. package/web/docs/administration/nodes-workspaces.html +3 -3
  185. package/web/docs/administration/oauth.html +3 -3
  186. package/web/docs/administration/secrets.html +3 -3
  187. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  188. package/web/docs/administration/users-organizations.html +3 -3
  189. package/web/docs/assets/{app.DV9BTjvB.js → app.B993MtJ_.js} +1 -1
  190. package/web/docs/assets/chunks/@localSearchIndexen-US.BIiFcGep.js +1 -0
  191. package/web/docs/assets/chunks/@localSearchIndexroot.DQmKT7cZ.js +1 -0
  192. package/web/docs/assets/chunks/{VPLocalSearchBox.dJOIKrxL.js → VPLocalSearchBox.Gazpu9OX.js} +1 -1
  193. package/web/docs/assets/chunks/{theme.BX3DGCJT.js → theme.Cw6gE-RS.js} +2 -2
  194. package/web/docs/assets/{en-US_operations_marctl.md.CJYpPahB.js → en-US_operations_marctl.md.0fc1netz.js} +3 -3
  195. package/web/docs/assets/{en-US_operations_marctl.md.CJYpPahB.lean.js → en-US_operations_marctl.md.0fc1netz.lean.js} +1 -1
  196. package/web/docs/assets/{en-US_runners_mar-agent.md.D4jOCeFL.js → en-US_runners_mar-agent.md.D-nVfPw4.js} +1 -1
  197. package/web/docs/assets/{en-US_runners_mar-agent.md.D4jOCeFL.lean.js → en-US_runners_mar-agent.md.D-nVfPw4.lean.js} +1 -1
  198. package/web/docs/assets/en-US_workbench_files.md.7jYrw-kM.js +1 -0
  199. package/web/docs/assets/{en-US_workbench_files.md.W16dZr3K.lean.js → en-US_workbench_files.md.7jYrw-kM.lean.js} +1 -1
  200. package/web/docs/assets/{en-US_workbench_sessions.md.M_gNLK0R.js → en-US_workbench_sessions.md.ClMZVU5U.js} +1 -1
  201. package/web/docs/assets/{en-US_workbench_sessions.md.M_gNLK0R.lean.js → en-US_workbench_sessions.md.ClMZVU5U.lean.js} +1 -1
  202. package/web/docs/assets/{operations_marctl.md.BW9barpn.js → operations_marctl.md.DwcVvX1m.js} +3 -3
  203. package/web/docs/assets/{operations_marctl.md.BW9barpn.lean.js → operations_marctl.md.DwcVvX1m.lean.js} +1 -1
  204. package/web/docs/assets/{runners_mar-agent.md.BaHcT8hP.js → runners_mar-agent.md.GA2OkpzP.js} +2 -2
  205. package/web/docs/assets/{runners_mar-agent.md.BaHcT8hP.lean.js → runners_mar-agent.md.GA2OkpzP.lean.js} +1 -1
  206. package/web/docs/assets/workbench_files.md.BuEwqy3G.js +1 -0
  207. package/web/docs/assets/{workbench_files.md.D3yBwkKe.lean.js → workbench_files.md.BuEwqy3G.lean.js} +1 -1
  208. package/web/docs/assets/workbench_sessions.md.B3m2ZZwE.js +1 -0
  209. package/web/docs/assets/{workbench_sessions.md.Dv8BGwLN.lean.js → workbench_sessions.md.B3m2ZZwE.lean.js} +1 -1
  210. package/web/docs/concepts/architecture.html +3 -3
  211. package/web/docs/concepts/data-and-security.html +3 -3
  212. package/web/docs/concepts/files-git-terminal.html +3 -3
  213. package/web/docs/concepts/node-and-workspace.html +3 -3
  214. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  215. package/web/docs/concepts/runner-control.html +3 -3
  216. package/web/docs/concepts/secrets.html +3 -3
  217. package/web/docs/concepts/session-run-turn.html +3 -3
  218. package/web/docs/deployment/backup-restore.html +3 -3
  219. package/web/docs/deployment/network.html +3 -3
  220. package/web/docs/deployment/node-installation.html +3 -3
  221. package/web/docs/deployment/node-linux.html +3 -3
  222. package/web/docs/deployment/node-macos.html +3 -3
  223. package/web/docs/deployment/node-windows.html +3 -3
  224. package/web/docs/deployment/production.html +3 -3
  225. package/web/docs/deployment/security-checklist.html +3 -3
  226. package/web/docs/deployment/upgrade.html +3 -3
  227. package/web/docs/en-US/administration/account.html +3 -3
  228. package/web/docs/en-US/administration/audit.html +3 -3
  229. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  230. package/web/docs/en-US/administration/email-notifications.html +3 -3
  231. package/web/docs/en-US/administration/license.html +3 -3
  232. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  233. package/web/docs/en-US/administration/oauth.html +3 -3
  234. package/web/docs/en-US/administration/secrets.html +3 -3
  235. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  236. package/web/docs/en-US/administration/users-organizations.html +3 -3
  237. package/web/docs/en-US/concepts/architecture.html +3 -3
  238. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  239. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  240. package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
  241. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  242. package/web/docs/en-US/concepts/runner-control.html +3 -3
  243. package/web/docs/en-US/concepts/secrets.html +3 -3
  244. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  245. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  246. package/web/docs/en-US/deployment/network.html +3 -3
  247. package/web/docs/en-US/deployment/node-installation.html +3 -3
  248. package/web/docs/en-US/deployment/node-linux.html +3 -3
  249. package/web/docs/en-US/deployment/node-macos.html +3 -3
  250. package/web/docs/en-US/deployment/node-windows.html +3 -3
  251. package/web/docs/en-US/deployment/production.html +3 -3
  252. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  253. package/web/docs/en-US/deployment/upgrade.html +3 -3
  254. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  255. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  256. package/web/docs/en-US/getting-started/first-login.html +3 -3
  257. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  258. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  259. package/web/docs/en-US/getting-started/overview.html +3 -3
  260. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  261. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  262. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  263. package/web/docs/en-US/operations/marctl.html +7 -7
  264. package/web/docs/en-US/reference/configuration.html +3 -3
  265. package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
  266. package/web/docs/en-US/reference/limits.html +3 -3
  267. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  268. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  269. package/web/docs/en-US/runners/claude-code.html +3 -3
  270. package/web/docs/en-US/runners/codex.html +3 -3
  271. package/web/docs/en-US/runners/mar-agent.html +5 -5
  272. package/web/docs/en-US/runners/opencode.html +3 -3
  273. package/web/docs/en-US/runners/overview.html +3 -3
  274. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  275. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  276. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  277. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  278. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  279. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  280. package/web/docs/en-US/workbench/composer.html +3 -3
  281. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  282. package/web/docs/en-US/workbench/conversation.html +3 -3
  283. package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
  284. package/web/docs/en-US/workbench/files.html +5 -5
  285. package/web/docs/en-US/workbench/git-changes.html +3 -3
  286. package/web/docs/en-US/workbench/git-history.html +3 -3
  287. package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
  288. package/web/docs/en-US/workbench/mobile.html +3 -3
  289. package/web/docs/en-US/workbench/navigation.html +3 -3
  290. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  291. package/web/docs/en-US/workbench/sessions.html +5 -5
  292. package/web/docs/en-US/workbench/skills.html +3 -3
  293. package/web/docs/en-US/workbench/terminal.html +3 -3
  294. package/web/docs/getting-started/connect-node.html +3 -3
  295. package/web/docs/getting-started/first-agent-session.html +3 -3
  296. package/web/docs/getting-started/first-login.html +3 -3
  297. package/web/docs/getting-started/next-steps.html +3 -3
  298. package/web/docs/getting-started/npm-quick-start.html +3 -3
  299. package/web/docs/getting-started/overview.html +3 -3
  300. package/web/docs/getting-started/prerequisites.html +3 -3
  301. package/web/docs/getting-started/register-workspace.html +3 -3
  302. package/web/docs/getting-started/server-installation.html +3 -3
  303. package/web/docs/hashmap.json +1 -1
  304. package/web/docs/operations/marctl.html +7 -7
  305. package/web/docs/reference/configuration.html +3 -3
  306. package/web/docs/reference/keyboard-shortcuts.html +3 -3
  307. package/web/docs/reference/limits.html +3 -3
  308. package/web/docs/reference/ports-paths-data.html +3 -3
  309. package/web/docs/reference/status-and-errors.html +3 -3
  310. package/web/docs/runners/claude-code.html +3 -3
  311. package/web/docs/runners/codex.html +3 -3
  312. package/web/docs/runners/mar-agent.html +5 -5
  313. package/web/docs/runners/opencode.html +3 -3
  314. package/web/docs/runners/overview.html +3 -3
  315. package/web/docs/runners/runner-troubleshooting.html +3 -3
  316. package/web/docs/troubleshooting/node-offline.html +3 -3
  317. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  318. package/web/docs/troubleshooting/session-run.html +3 -3
  319. package/web/docs/troubleshooting/terminal.html +3 -3
  320. package/web/docs/troubleshooting/workspace-files.html +3 -3
  321. package/web/docs/workbench/composer.html +3 -3
  322. package/web/docs/workbench/context-and-plan.html +3 -3
  323. package/web/docs/workbench/conversation.html +3 -3
  324. package/web/docs/workbench/file-reference-and-attachment.html +3 -3
  325. package/web/docs/workbench/files.html +5 -5
  326. package/web/docs/workbench/git-changes.html +3 -3
  327. package/web/docs/workbench/git-history.html +3 -3
  328. package/web/docs/workbench/hosted-conversations.html +3 -3
  329. package/web/docs/workbench/mobile.html +3 -3
  330. package/web/docs/workbench/navigation.html +3 -3
  331. package/web/docs/workbench/remote-desktop.html +3 -3
  332. package/web/docs/workbench/sessions.html +5 -5
  333. package/web/docs/workbench/skills.html +3 -3
  334. package/web/docs/workbench/terminal.html +3 -3
  335. package/web/index.html +37 -15
  336. package/web/service-worker.js +1 -1
  337. package/web/web-version.json +1 -1
  338. package/web/assets/ConversationTemplateManagementPage-DjXCJxxB.js +0 -1
  339. package/web/assets/ConversationTemplateManagementPage-kPy9Q7Nj.js +0 -1
  340. package/web/assets/EnterpriseUserManagementPage-Dy-PXUlJ.css +0 -1
  341. package/web/assets/LicenseManagementPage-CIFp7Uxi.js +0 -1
  342. package/web/assets/MarAgentModelManagementPage-C6ZoxfPe.js +0 -1
  343. package/web/assets/MarAgentModelManagementPage-UOVM-cEq.js +0 -1
  344. package/web/assets/NodeManagementPage-BKjDf-CP.js +0 -1
  345. package/web/assets/NodeManagementPage-DZ2NcHXE.js +0 -1
  346. package/web/assets/OAuthManagementPage-BjHnQFf-.js +0 -2
  347. package/web/assets/OrganizationManagementPage-C4v6OZS-.css +0 -1
  348. package/web/assets/OrganizationManagementPage-D6SLoYmV.js +0 -1
  349. package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BK8M6PtK.js +0 -1
  350. package/web/assets/SecretManagementPage-CG5ibrEn.js +0 -1
  351. package/web/assets/SecretManagementPage-iUtOmPR8.js +0 -1
  352. package/web/assets/SessionSharePage-cLgZ7qfj.js +0 -2
  353. package/web/assets/SettingsContent-UcWcY6Ru.js +0 -1
  354. package/web/assets/SkillCenterPage-C41CWqy3.js +0 -1
  355. package/web/assets/SystemConfigurationPage-CxPxATcD.js +0 -1
  356. package/web/assets/SystemConfigurationPage-DE3cgB4E.js +0 -1
  357. package/web/assets/WorkbenchPage-C2FVnrpe.css +0 -1
  358. package/web/assets/WorkspaceManagementPage-CMhmQWb1.js +0 -1
  359. package/web/assets/WorkspaceManagementPage-DuOI27su.js +0 -1
  360. package/web/assets/channel-DZUE-8ay.js +0 -1
  361. package/web/assets/classDiagram-CYGNFDIV-aTCwqJOH.js +0 -1
  362. package/web/assets/classDiagram-v2-TLXNO2FR-aTCwqJOH.js +0 -1
  363. package/web/assets/el-table-column-BaC9TraJ.js +0 -1
  364. package/web/assets/infoDiagram-FKFFQAWI-J7R5xPFr.js +0 -2
  365. package/web/assets/mobile-dialog-return-service-CIBrJ7zu.js +0 -1
  366. package/web/assets/stateDiagram-v2-IH3M54BS-BacWQbgB.js +0 -1
  367. package/web/assets/swimlanesDiagram-JKAHXJPX-CUQ_78ZY.js +0 -8
  368. package/web/docs/assets/chunks/@localSearchIndexen-US.DgRWIc_v.js +0 -1
  369. package/web/docs/assets/chunks/@localSearchIndexroot.CevKLJdQ.js +0 -1
  370. package/web/docs/assets/en-US_workbench_files.md.W16dZr3K.js +0 -1
  371. package/web/docs/assets/workbench_files.md.D3yBwkKe.js +0 -1
  372. package/web/docs/assets/workbench_sessions.md.Dv8BGwLN.js +0 -1
@@ -1,4 +1,4 @@
1
- import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="configure-and-use-mar-agent" tabindex="-1">Configure and Use MAR Agent <a class="header-anchor" href="#configure-and-use-mar-agent" aria-label="Permalink to &quot;Configure and Use MAR Agent&quot;">​</a></h1><p>MAR Agent is built into Node and does not require an external Agent CLI. Every user can add and manage personal models under <strong>Admin → MAR Agent Models</strong>; authorized administrators manage and grant organization models. Users who satisfy both model access and the bound credential scope can select <strong>MAR Agent</strong> for a new session.</p><p>See <a href="./../deployment/upgrade">Upgrade MyAgentRoam</a> for coordinated version changes and older Node upgrade restrictions.</p><h2 id="configure-models" tabindex="-1">Configure models <a class="header-anchor" href="#configure-models" aria-label="Permalink to &quot;Configure models&quot;">​</a></h2><p>API-key models using OpenAI Responses or Anthropic Messages can configure an independent <strong>SOCKS5 proxy</strong> using <code>socks5://[username:password@]host:port</code>. URL-encode special characters in credentials. Editing fetches the saved proxy on demand; leaving it unchanged preserves it, clearing and saving selects a direct connection, and duplicated models inherit an editable copy. The execution Node connects to the proxy: <code>localhost</code> means that Node, not your browser or Server. Proxy failures never fall back to a direct connection. This setting applies to Responses HTTP/1.1, HTTP/2 and WebSocket, and to Anthropic requests. The Node must advertise model SOCKS5 support; upgrade it otherwise. Subscription models always use their OAuth credential’s proxy, without a model-level override. The complete URL is fetched only for authorized editing and never enters model lists, logs or session records; do not share screenshots containing proxy passwords. Auxiliary tasks use the proxy of their selected model. Tools such as Web Fetch do not inherit model proxies.</p><p><strong>Context GC</strong> is enabled by default and can be turned off per model. When off, neither text nor image GC runs; automatic Compact and the image request hard limit still apply, and requests exceeding that limit are rejected. Disabling GC requires a Node that advertises support for the switch; older Nodes do not silently ignore it. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential&#39;s live model catalog. Changing credentials preserves the entered model ID; the display name remains editable. The live catalog is loaded only when you explicitly choose <strong>Load model catalog</strong> for bulk import. Codex uses its fixed service endpoint. OpenAI Responses and Anthropic Messages use an explicit Base URL and inline API key. A new model starts with <code>256000</code> context tokens and <code>32000</code> maximum output tokens; switching connection types preserves compatible fields, including the model ID, token limits, capabilities, reasoning efforts, and model purposes. Switching between OpenAI Responses and Anthropic Messages keeps the inline API key and custom Base URL; only default addresses change with the protocol. A temporary switch to OAuth and back also preserves the entered key and custom address. OAuth uses fixed endpoints, and an incompatible OAuth type requires selecting another credential. Editing retains saved values; existing keys are not returned to the browser, and leaving the key blank keeps the saved key. Catalog imports preserve limits explicitly supplied upstream. A missing context limit is prefilled with <code>256000</code> and can be edited before import; a missing maximum output limit defaults to <code>32000</code> (reduced to stay strictly below smaller context windows). Image input, session title generation, Code Mode, Hosted Web Search, Responses continuation, selectable reasoning efforts, and the default reasoning effort are maintained on the model form; transport selection is available for every Responses connection type. When a regular Workspace session or hosted conversation needs a generated title, MAR Agent uses the first enabled available model with <strong>Session title generation</strong> selected, following model order; if none is selected, it falls back to the conversation&#39;s current model. The default reasoning effort is always required. Even when no reasoning choices are exposed to users, MAR Agent uses that default internally. For Grok models without configured reasoning choices, unsupported reasoning parameters are omitted on the wire.</p><p>Select <strong>Duplicate</strong> in a manageable model’s actions to open a prefilled creation form with a copy suffix in its default name. You can change configuration, credentials, and ownership before selecting <strong>Save</strong>; cancelling creates nothing. Unless replaced, the inline key or compatible OAuth reference is reused securely by the Server without returning secrets to the browser. The new model has an independent configuration ID and is appended to the list; access grants and test results are not copied. Duplication requires management permission on the source, and the new ownership and credential scope are checked again when saving.</p><p>Responses models, including inline API keys, can select WebSocket, HTTP/2, or HTTP/1.1 (X subscription supports WebSocket and HTTP/1.1). A failed selected transport does not silently switch protocols. HTTP and WebSocket both allow server-side continuation; switching transport preserves the checkbox. Only HTTP requests with continuation enabled send <code>store:true</code>. HTTP with continuation disabled and all WebSocket requests send <code>store:false</code>; there is no separate storage setting. With HTTP continuation enabled, the initial request and full-history replays after an invalid reference also ask the upstream to retain responses; consult its retention policy. Enable continuation only when the upstream supports it. A missing or expired response reference triggers one full-history replay within the request attempt budget, provided no semantic output has been committed; authentication, rate limits and unrelated errors are not treated as expired references. Adapter restarts and changed core prompts also replay full history. HTTP continuation requires a Node advertising the corresponding capability. Anthropic Messages prompt caching is managed automatically without this setting.</p><p>New model creation and OAuth catalog import both offer <strong>Personal / Organization</strong> ownership to enterprise administrators. Ownership is independent of credential scope: choosing an enterprise credential does not automatically share the model. Create an organization-owned model and then use its authorization action to share it with users, organizations, or the enterprise. Personal models have no authorization action. Editing an existing model shows its ownership without changing it; recreate or import it with organization ownership when sharing is needed. The model list shows the complete manageable set without pagination. Editing, testing, refreshing, and deleting reload the complete current result.</p><p>MAR Agent performs bounded retries for eligible transient connection, service-overload, or model-stream failures. The initial request and retries share a maximum of 8 attempts. Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The information icon at the lower-right of a Workspace session shows the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. Average output TPS updates only after the request ends, the provider reports authoritative output tokens, and the summed observed generation duration is at least one second. Shorter windows do not publish a new TPS value; Latency and token usage still update, and the previous valid TPS remains within the same Run. TPS uses client-observed generation intervals, excluding client-tool execution and explicit Hosted Tool execution pauses. Output tokens may include reasoning and tool calls, and network or upstream buffering may affect the observed duration, so TPS is not pure server-side inference speed.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to &quot;Conversation and auxiliary models&quot;">​</a></h2><p><strong>Conversation model</strong> is checked by default in the model form. Only enabled models with this option checked appear in work-mode and hosted-conversation Composers, Subagent choices, and template main-model choices. Uncheck it to reserve a model for dedicated Compact, session title generation, and prompt prediction. Configure each auxiliary use separately; model and credential permissions still apply. Conversation models can also serve these auxiliary uses. The enabled and session-title switches remain independent.</p><p>Models for MAR Agent child sessions must also have <strong>Subagent support</strong> enabled. A child session&#39;s model selector shows only currently available models enabled for both uses; the list is empty when none qualify. This switch does not restrict the main session&#39;s model choices.</p><p>Existing models retain conversation use, and new or catalog-imported models enable it by default. Changes do not interrupt executions already in progress. Later sends, continuations, or explicit selections using a model that no longer permits conversation use are rejected; select an available conversation model to continue. Conversation history is preserved.</p><h2 id="prompt-tab-model" tabindex="-1">Prompt Tab model <a class="header-anchor" href="#prompt-tab-model" aria-label="Permalink to &quot;Prompt Tab model&quot;">​</a></h2><p>Under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>, save the global switch, model, and reasoning effort independently of Compact. The capability defaults to enabled without a preselected model. Users still need model and credential access and can control <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong> (on by default without a saved preference; an existing Off choice is preserved; Work mode only, saved immediately in the current browser). All four Work-mode Runners are supported. Node uses the MAR Agent SDK&#39;s standalone model interface with a result-tool schema to receive prediction data, without creating an Agent session or executing tools. See <a href="./../workbench/composer#prompt-tab">Prompt Tab</a> for interaction and data scope.</p><h2 id="dedicated-compact-model" tabindex="-1">Dedicated Compact model <a class="header-anchor" href="#dedicated-compact-model" aria-label="Permalink to &quot;Dedicated Compact model&quot;">​</a></h2><p>System administrators configure the enable switch, an existing model, and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Compact</strong>. The setting applies system-wide; it is not on the System Configuration page. Enterprise selection prioritizes root-organization models. It is disabled by default, leaving the current conversation model responsible for compaction. Saved changes apply to subsequent runs, not an active execution.</p><p>Also enable <strong>Unified Compact</strong> in the current execution model’s form to use the system-wide dedicated model. This option defaults off: new, imported, and existing models without the setting keep their original model compaction. Child sessions use their own execution model’s option, not the parent’s. The dedicated summary model itself does not need this option enabled. Changes apply to subsequent executions. Older Nodes without support conservatively keep original model compaction.</p><p>The Node extension always uses a high-density Textual Continuation IR prompt; there is no standalone CLI flag. IR headings and keys use English, while natural-language values may follow the task language. Default compaction and fallback use the Core structured handoff prompt. The dedicated model generates an internal continuation summary without tools or changing the main conversation model. Both Workspace sessions and hosted conversations still require the execution user&#39;s model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model&#39;s window, the first request trims it to 90% of that window, potentially omitting older or lengthy evidence. An unavailable model, remaining context overflow, or failed generation falls back to default compaction with the current model. There is no second capacity-trimming retry of the dedicated model. Cancellation or the total compaction deadline does not trigger fallback. The summary is used for continuation, not displayed as public chat text.</p><p>MAR Agent schedules automatic compaction from the latest same-model context-input usage: at 85%, it generates a candidate in the background while the current task and tools continue; at 90%, it waits for that same compaction before the next model request. The conversation timeline updates one item through background generation, waiting, completion, failure, or cancellation. Background compaction does not end the active task or expose its private handoff summary. Messages and tool results produced after the snapshot remain after the compacted prefix. After a successful compaction, if a tail was retained, the Context indicator stays unknown until a foreground model request reports authoritative usage; with no retained tail, the existing <code>0 / window</code> reset baseline remains. Background Compact usage still counts toward costs but never replaces foreground context usage, Latency, or average output TPS.</p><p>Smart Compact is a separate system-wide switch in the same <strong>Admin → MAR Agent Models → Advanced → Compact</strong> panel, and is off by default. It does not require enabling or selecting the dedicated Compact model. When enabled, with a valid same-model input watermark of at least 60% and below 90%, the runtime allows the main model to consider whether prior detailed context has low continuation value and request the same background compaction earlier. It does not trigger for every topic change or one-off question, and it is not a guarantee that all history will fit without loss. Missing or invalidated usage skips this optional opportunity. Turning Smart Compact off disables only this optional early compaction; it does not affect manual Compact or the fixed 85%/90% automatic capacity safeguards. No Enterprise license is required, and the SDK and CLI use the same mechanism. Existing manual Compact controls and status displays are unchanged. Older Nodes without the <code>smartCompactControl</code> capability retain their existing behavior while the switch is on; with the switch off, they cannot guarantee that behavior is disabled and reject conversational and actual Plan executions with <code>CAPABILITY_VERSION_UNSUPPORTED</code>. Upgrade the Node to use the off setting. Manual Compact and commands that only toggle Plan state remain available.</p><h2 id="chatgpt-plan-authorization" tabindex="-1">ChatGPT plan authorization <a class="header-anchor" href="#chatgpt-plan-authorization" aria-label="Permalink to &quot;ChatGPT plan authorization&quot;">​</a></h2><p>The <strong>OAuth credentials</strong> tab lists <strong>Codex (legacy)</strong>, <strong>ChatGPT plan authorization</strong>, and <strong>X subscription</strong> in one table. To add a ChatGPT credential, select <strong>ChatGPT plan authorization</strong> and an online Node on the computer running your browser. The Node must support local sign-in. Open its local sign-in link and complete authorization on OpenAI&#39;s page. A remote Node cannot receive this browser&#39;s loopback callback; cancel and select the local Node instead.</p><p>The local Node is only a temporary sign-in provider. Server stores the credential and owns token refresh. Other authorized remote Nodes can share it without signing in themselves. Personal, organization, and enterprise scopes use the same management and model-use permissions as Codex credentials. Reauthorization also needs a local Node and reuses the issued client ID. Cancellation or failure leaves the existing credential intact.</p><p>Models use the fixed public OpenAI Responses endpoint, not the legacy Codex backend. HTTP/1.1, HTTP/2, and WebSocket are supported. HTTP and WebSocket can use <code>previous_response_id</code> for incremental user and tool turns; WebSocket additionally requires one healthy connection. Reconnects or adapter rebuilds replay the necessary full history. Image generation with this credential is not supported. An optional SOCKS5 proxy applies to Node sign-in, Server refresh and catalog requests, and inference on execution Nodes.</p><p>A successful identity sign-in without plan-use permission is retained as <strong>Unauthorized</strong>. It cannot load models or run inference: sign in again and grant plan usage. This is not token expiry and never switches automatically to API-key billing. Legacy Codex private usage queries are unavailable for the new type. Its account identifier comes from verified identity; provide missing context-window limits when importing models. Tokens are never returned to the management page.</p><p>Select <strong>Manage usage</strong> in a ChatGPT credential&#39;s <strong>Details</strong> to open <a href="https://chatgpt.com/settings/usage" target="_blank" rel="noreferrer">ChatGPT Settings → Usage</a> in a new tab, review plan or app limits, and adjust available settings. Make sure ChatGPT is signed in to the account associated with that credential. For <code>subscription_sharing_usage_limit_exceeded</code>, the chat error message explains the usage limit and asks you to open <code>https://chatgpt.com/settings/usage</code> in plain text, without an additional button or interactive link. Other HTTP 429 errors are not treated as exhausted plan usage.</p><h2 id="x-subscription-oauth-experimental" tabindex="-1">X subscription OAuth (experimental) <a class="header-anchor" href="#x-subscription-oauth-experimental" aria-label="Permalink to &quot;X subscription OAuth (experimental)&quot;">​</a></h2><p>Under <strong>OAuth credentials</strong>, choose <strong>Add OAuth credential</strong>, select <strong>X subscription OAuth (experimental)</strong>, and enter a name, ownership, and optional SOCKS5 URL. Open the displayed xAI authorization page and enter the device code; no local Node is required. Check the authorization page and selected account before approving. The shared public OAuth client may appear as Grok Build. Inference access depends on upstream account and subscription eligibility; neither a payment amount nor a successful sign-in guarantees model access.</p><p>Use <code>socks5://[username:password@]host:port</code>, URL-encoding special characters. The same proxy applies to Server device authorization, token exchange, identity, refresh, catalog, usage and revocation requests, and to model requests from the execution Node. Proxy failures never fall back to a direct connection. Both Server and the execution Node must reach the proxy; <code>127.0.0.1</code> on a remote Node is not the Server&#39;s localhost. The browser authorization page uses the browser&#39;s own network, not this proxy. You can edit or clear the proxy later and inspect its full URL in credential details; do not share screenshots containing proxy passwords.</p><p>After signing in, load and import the catalog, or create a Grok model, select the credential and enter a model ID. Inference uses <code>https://cli-chat-proxy.grok.com/v1</code> with a choice of WebSocket or HTTP/1.1 SSE; new models and catalog imports default to HTTP/1.1 SSE. Responses continuation is off by default, so both transports send full history. You can manually enable <code>previous_response_id</code> with either transport. Support depends on the upstream and account; enabling the setting is not a compatibility guarantee. Transport and continuation support on the subscription proxy are not guaranteed. A missing reference falls back once to full history; other failures retain diagnostic details. Speed tiers, HTTP/2 and image generation are unavailable for this connection. Models still use the X subscription OAuth credential, not a developer API key; catalog, identity and usage queries remain on the subscription proxy. Upgrading Server moves subscription models mistakenly configured with the developer API URL back to the subscription proxy while preserving other settings and clearing old model test results. Hosted Web Search can be toggled on the model form; new models and catalog imports enable it by default. Existing models keep their saved value; edit, enable the checkbox and save to turn it on. Re-importing creates independent models rather than modifying existing ones. The execution Node must advertise support for the new Responses parameter capabilities; otherwise upgrade Node.</p><p>Choose <strong>Query usage</strong> in credential details to manually load the current used/remaining percentage, weekly/monthly period, reset and query times, and the separate additional USD balance. Missing values display as a dash, not zero or unlimited. MAR does not estimate remaining tokens or display nonexistent token totals. A failed usage query does not imply inference is unavailable. Usage is not polled automatically and is cleared when details close. Upstream accounts may have additional paid balances; MAR does not top up or change billing settings and does not guarantee that subscription calls never incur extra charges.</p><p>Server stores and refreshes tokens; the execution Node receives only short-lived access credentials. Sign in again when authorization expires. Deleting an unreferenced credential attempts to revoke its upstream refresh token and reports revocation failure. This integration depends on a changeable subscription proxy protocol and is not recommended for production tasks requiring a stable SLA.</p><h2 id="configure-codex-credentials-and-the-model-catalog" tabindex="-1">Configure Codex credentials and the model catalog <a class="header-anchor" href="#configure-codex-credentials-and-the-model-catalog" aria-label="Permalink to &quot;Configure Codex credentials and the model catalog&quot;">​</a></h2><p>Every user can open <strong>Admin → MAR Agent Models</strong> for <strong>My model order</strong> and the Codex credentials they may manage; only system administrators see the <strong>Models</strong> tab used to configure models. A regular member can create only a personal credential. An organization administrator can also select an organization in their managed subtree, and a system administrator can select an organization or the entire enterprise. A personal credential is visible only to its owner, an organization credential is visible only to system administrators and organization administrators whose managed subtree covers it, and an enterprise credential is visible only to system administrators. Select <strong>Add OAuth credential</strong> and choose <strong>Codex (legacy)</strong>, enter a name, scope, and optional SOCKS5 proxy, then start device sign-in. This proxy applies only to Codex OAuth requests, model-catalog requests, and Codex model requests that reference this credential. The system polls automatically at the Server-provided interval, and you can select <strong>Refresh sign-in status</strong> while waiting to query immediately. A credential is stored only after sign-in, token exchange, and account validation all succeed. Cancelled, failed, or expired attempts create no credential.</p><p>The credential list and Details show the current access token expiry and the earliest refresh time supplied by ChatGPT. An unknown earliest refresh time appears as a dash; neither timestamp is the refresh token expiry. While refresh authorization remains valid, Server renews near-expiry tokens automatically. Nodes also renew access tokens and runtime tickets during long tasks without waiting for another model call, with bounded retries after temporary failures or unchanged near-expiry tokens. Persistent disconnection or invalid credentials still require recovery or sign-in. Manual refresh can request renewal before that time; the upstream response decides whether renewal succeeds. Automatic renewal still respects the earliest refresh time. Actual renewal immediately updates the list and open Details with the new expiry, earliest refresh and last-refresh time. The action column provides <strong>Details</strong>, <strong>Edit</strong>, <strong>Test</strong>, and <strong>Remove</strong>. <strong>Edit</strong> can change the name, scope, and SOCKS5 proxy. Narrowing a credential scope is rejected while an existing model grant remains outside the proposed scope; narrow those model grants first. Details fetches that credential separately, displays the complete SOCKS5 URL verbatim, and provides refresh, sign-in-again, query-usage, and model-catalog actions. <strong>Query usage</strong> displays lifetime tokens, usage on the previous Los Angeles day, the total for seven consecutive calendar days, the current used percentage and reset time for each quota window, and the query time. The previous day’s date and UTC offset appear in smaller text below its usage value. If no bucket exists for yesterday, that date still appears while usage shows a dash; an older bucket is never substituted. A bucket for the current Los Angeles day remains excluded from the seven-day total. Statistical days roll over in <code>America/Los_Angeles</code>: <code>UTC-07:00</code> during daylight saving time (15:00 in UTC+8) and <code>UTC-08:00</code> during standard time (16:00 in UTC+8). The system does not poll usage automatically, and closing Details discards both the complete proxy string and the usage result. A credential referenced by a model cannot be removed until that reference is changed or removed. The page never displays custom metadata, imported-model counts, access tokens, refresh tokens, ID tokens, the raw upstream usage response, or a FedRAMP flag.</p><p>Select <strong>Load model catalog</strong> to read the live Codex catalog visible to that credential. Each row shows the reasoning efforts supported by this system, including <code>ultra</code>, the catalog-provided or normalized default effort, and any genuinely unknown upstream efforts. Select the models to import and provide a context window only when the catalog omits it; a missing maximum-output value does not create an input field. The catalog has no availability switch, and imported models are enabled with the catalog default. Configure transport and Responses continuation later in the model view. Every Codex or ChatGPT catalog import creates a new independent model, even for the same credential, upstream model ID, display name, and ownership. Existing models and grants remain unchanged; new models use the import defaults and do not inherit existing settings or grants. If the live catalog changes, the page asks you to review the refreshed catalog before retrying.</p><h2 id="configure-model-access" tabindex="-1">Configure model access <a class="header-anchor" href="#configure-model-access" aria-label="Permalink to &quot;Configure model access&quot;">​</a></h2><p>New models are <strong>Restricted</strong> by default. Models that existed before this access feature are migrated as <strong>Public</strong>. The <strong>Access</strong> column shows the current state:</p><ul><li>Granting access to the <strong>Entire enterprise</strong> makes the model public.</li><li>Without an entire-enterprise grant, access can be granted separately to users or organizations and the model remains restricted.</li><li>System administrators can always manage every model regardless of model-grant records, but actual use still requires the user to be inside the bound credential scope.</li></ul><p>Select <strong>Grant</strong> on a model row to view, add, or revoke grants. A model&#39;s grant range must be fully contained by the bound credential scope; for example, a credential owned by an organization cannot be granted to a user or organization outside that subtree or to the entire enterprise. A regular user&#39;s new-session model catalog contains only redacted models that are enabled, granted to that user, and backed by a credential whose scope contains that user. The main Agent and its subagents receive the same authorized model set.</p><p>Disabling a model rejects subsequent new sessions, messages, and session commands. Revoking a user&#39;s grant, moving the user outside the credential&#39;s organization scope, rebinding or unbinding the model credential, or making the credential unavailable also causes every subsequent runtime credential resolution to be rejected. Work already accepted by Node and no longer requiring credential resolution is not forcibly terminated. When an existing MAR Agent conversation is opened and its saved model is no longer in the current catalog, Web automatically saves the first available model and switches the reasoning effort to that model&#39;s default. If the catalog is empty, Web does not switch to another Agent. A model can be deleted directly without disabling it or waiting for active tasks. Executions that already obtained the configuration can continue, while later model resolution fails as not found.</p><h2 id="sessions-and-permissions" tabindex="-1">Sessions and permissions <a class="header-anchor" href="#sessions-and-permissions" aria-label="Permalink to &quot;Sessions and permissions&quot;">​</a></h2><p>Nodes offer <strong>Auto</strong> and <strong>Full access</strong>. New ordinary work sessions default to Auto; existing sessions retain their saved setting. Entering a Goal never upgrades MAR Auto to Full access. The standalone SDK/CLI still defaults to Full access, and hosted conversations keep their existing isolation and permission policy.</p><p>Auto uses the current model&#39;s judgment: routine engineering and explicitly authorized work continue automatically; material risk or unclear authorization produces ask. Deny is reserved for an effective explicit prohibition, higher-priority/Host prohibition, or known extreme danger whose impact cannot reasonably be bounded. Authorization is reused within the same task, target and impact, across tools, retries, turns and subagents; material expansion or withdrawal requires reassessment.</p><p>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the Runner approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account&#39;s actual permissions. Use a dedicated low-privilege account and appropriate Workspace and host permissions.</p><p>Native session records are stored under <code>~/.mar/agent/sessions/</code> for the Node service account; Server does not store conversation bodies. MAR Agent supports Plan, Compact, question, MCP, images, and subagents. The model can use the <code>todo</code> tool with <code>action: read | write</code> to read or replace the current session checklist; an empty list clears it. Todo updates appear as checklists, and existing session checklists and history remain compatible. Each subagent is an independent persistent child session with its own history and parent relationship, while the default session list shows only user root sessions. Agent Network supports three levels: root, child, and grandchild; a fourth level is not supported. Continuous tasks use Node&#39;s shared Goal workflow and are not reimplemented inside the Agent SDK.</p><p>MAR Agent scans standard Skill directories under HOME and the Workspace and initially gives the model only each Skill&#39;s name and purpose. When a request clearly matches a Skill, MAR Agent loads that Skill&#39;s complete workflow and resource directory; users do not need to name it. For duplicate names, Workspace Skills take precedence over user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to &quot;Command environment&quot;">​</a></h3><p><code>exec</code> enables login initialization by default. Bash reads the first readable file in its native order: <code>~/.bash_profile</code>, <code>~/.bash_login</code>, then <code>~/.profile</code>. It also loads a readable <code>~/.bashrc</code> when <code>BASH_ENV</code> is unset or empty. PowerShell loads its native startup configuration by default. These files belong to the Node service account, not the browser user. Configuration is read on every command start; hosted conversations read only files visible inside their isolated environment, never the host account&#39;s configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: &quot;…&quot;, login: false })</code>. A login Shell is still noninteractive. If a toolchain PATH appears after a noninteractive <code>return</code> in <code>.bashrc</code>, put that shared environment configuration in a login profile or before the early return. MAR does not bypass that guard, and an <code>export</code> in one command does not update Node or subsequent independent commands.</p><h3 id="advanced-subagent-control" tabindex="-1">Advanced subagent control <a class="header-anchor" href="#advanced-subagent-control" aria-label="Permalink to &quot;Advanced subagent control&quot;">​</a></h3><p>Node Agent Network does not impose the old 16-child creation or concurrency limits. The independent SDK Subagent extension retains its own admission policy.</p><p>The collaboration tools are <code>agent_start</code>, <code>agent_send</code>, <code>agent_wait</code>, <code>agent_stop</code>, <code>agent_list</code>, and <code>agent_view</code>. <code>agent_start</code> takes a text task and a nonblank title and returns after registering the child session and its first execution, without waiting for completion; a manual marctl creation may omit the title. Use the returned <code>agentId</code> to address the child. <code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history &lt;session-id&gt;</code> command for paginated records when needed. <code>marctl agents view</code> follows the same state-query boundary.</p><p>If the target is idle and has no current or retained execution, <code>agent_wait</code> reports <code>AGENT_IDLE</code> with “Agent is idle; there is no execution to wait for.” This does not mean the session is missing or the task failed. An idle session with a retained terminal execution still returns that execution&#39;s result. An untargeted wait with no children reports <code>AGENT_WAIT_NO_TARGETS</code>; a missing explicit target reports <code>SESSION_NOT_FOUND</code>. Waiting does not start an idle session.</p><p>Within the same authorized Node and Workspace, messaging, explicit waits, Goals, stopping, approvals, and marctl session settings are not restricted by parent-child relationships. Target Run and queue ownership, model access, and resource authorization still apply. Sending does not establish automatic subscriptions to unrelated sessions.</p><p>Unread public child messages and new terminal results are delivered automatically before the parent&#39;s next normal model request, including direct children created through the native Extension API. The parent need not repeatedly use message waits to check progress. Delivery does not wake an idle parent or postpone a normal final answer: join results required for delivery before finishing, and use <code>agent_wait</code> when genuinely blocked. Automatic delivery and model waits share their observation position, so subsequent waits do not repeat already delivered message bodies or terminal evidence. Child content is context to verify, not new user instructions or authorization.</p><p>Node retains the latest 10 unread updates per parent-child observation relationship across executions. Overflow removes the oldest records, and <code>omittedUpdates</code> reports omissions since the last confirmed observation. This count belongs to the relationship, not to a particular execution. Confirmation clears the delivered notice; full public history remains available on demand. The window does not retain unlimited unread content.</p><p>Node&#39;s native <code>agent_send</code> accepts a <code>delivery</code> parameter of <code>STEER</code> or <code>QUEUE</code>. For messages with text, omitting it defaults to <code>STEER</code>; Goal-only updates and approval decisions are unaffected, and public message API and CLI defaults remain unchanged. Other Runners use <code>marctl agents send &lt;id&gt; --steer -m &lt;text&gt;</code>. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session&#39;s containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan Runners, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
1
+ import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="configure-and-use-mar-agent" tabindex="-1">Configure and Use MAR Agent <a class="header-anchor" href="#configure-and-use-mar-agent" aria-label="Permalink to &quot;Configure and Use MAR Agent&quot;">​</a></h1><p>MAR Agent is built into Node and does not require an external Agent CLI. Every user can add and manage personal models under <strong>Admin → MAR Agent Models</strong>; authorized administrators manage and grant organization models. Users who satisfy both model access and the bound credential scope can select <strong>MAR Agent</strong> for a new session.</p><p>See <a href="./../deployment/upgrade">Upgrade MyAgentRoam</a> for coordinated version changes and older Node upgrade restrictions.</p><h2 id="configure-models" tabindex="-1">Configure models <a class="header-anchor" href="#configure-models" aria-label="Permalink to &quot;Configure models&quot;">​</a></h2><p>API-key models using OpenAI Responses or Anthropic Messages can configure an independent <strong>SOCKS5 proxy</strong> using <code>socks5://[username:password@]host:port</code>. URL-encode special characters in credentials. Editing fetches the saved proxy on demand; leaving it unchanged preserves it, clearing and saving selects a direct connection, and duplicated models inherit an editable copy. The execution Node connects to the proxy: <code>localhost</code> means that Node, not your browser or Server. Proxy failures never fall back to a direct connection. This setting applies to Responses HTTP/1.1, HTTP/2 and WebSocket, and to Anthropic requests. The Node must advertise model SOCKS5 support; upgrade it otherwise. Subscription models always use their OAuth credential’s proxy, without a model-level override. The complete URL is fetched only for authorized editing and never enters model lists, logs or session records; do not share screenshots containing proxy passwords. Auxiliary tasks use the proxy of their selected model. Tools such as Web Fetch do not inherit model proxies.</p><p><strong>Context GC</strong> is enabled by default and can be turned off per model. When off, neither text nor image GC runs; automatic Compact and the image request hard limit still apply, and requests exceeding that limit are rejected. Disabling GC requires a Node that advertises support for the switch; older Nodes do not silently ignore it. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential&#39;s live model catalog. Changing credentials preserves the entered model ID; the display name remains editable. The live catalog is loaded only when you explicitly choose <strong>Load model catalog</strong> for bulk import. Codex uses its fixed service endpoint. OpenAI Responses and Anthropic Messages use an explicit Base URL and inline API key. A new model starts with <code>256000</code> context tokens and <code>32000</code> maximum output tokens; switching connection types preserves compatible fields, including the model ID, token limits, capabilities, reasoning efforts, and model purposes. Switching between OpenAI Responses and Anthropic Messages keeps the inline API key and custom Base URL; only default addresses change with the protocol. A temporary switch to OAuth and back also preserves the entered key and custom address. OAuth uses fixed endpoints, and an incompatible OAuth type requires selecting another credential. Editing retains saved values; existing keys are not returned to the browser, and leaving the key blank keeps the saved key. Catalog imports preserve limits explicitly supplied upstream. A missing context limit is prefilled with <code>256000</code> and can be edited before import; a missing maximum output limit defaults to <code>32000</code> (reduced to stay strictly below smaller context windows). Image input, session title generation, Code Mode, Hosted Web Search, Responses continuation, selectable reasoning efforts, and the default reasoning effort are maintained on the model form; transport selection is available for every Responses connection type. When a regular Workspace session or hosted conversation needs a generated title, MAR Agent uses the first enabled available model with <strong>Session title generation</strong> selected, following model order; if none is selected, it falls back to the conversation&#39;s current model. The default reasoning effort is always required. Even when no reasoning choices are exposed to users, MAR Agent uses that default internally. For Grok models without configured reasoning choices, unsupported reasoning parameters are omitted on the wire.</p><p>Select <strong>Duplicate</strong> in a manageable model’s actions to open a prefilled creation form with a copy suffix in its default name. You can change configuration, credentials, and ownership before selecting <strong>Save</strong>; cancelling creates nothing. Unless replaced, the inline key or compatible OAuth reference is reused securely by the Server without returning secrets to the browser. The new model has an independent configuration ID and is appended to the list; access grants and test results are not copied. Duplication requires management permission on the source, and the new ownership and credential scope are checked again when saving.</p><p>Responses models, including inline API keys, can select WebSocket, HTTP/2, or HTTP/1.1 (X subscription supports WebSocket and HTTP/1.1). A failed selected transport does not silently switch protocols. HTTP and WebSocket both allow server-side continuation; switching transport preserves the checkbox. Only HTTP requests with continuation enabled send <code>store:true</code>. HTTP with continuation disabled and all WebSocket requests send <code>store:false</code>; there is no separate storage setting. With HTTP continuation enabled, the initial request and full-history replays after an invalid reference also ask the upstream to retain responses; consult its retention policy. Enable continuation only when the upstream supports it. A missing or expired response reference triggers one full-history replay within the request attempt budget, provided no semantic output has been committed; authentication, rate limits and unrelated errors are not treated as expired references. Adapter restarts and changed core prompts also replay full history. HTTP continuation requires a Node advertising the corresponding capability. Anthropic Messages prompt caching is managed automatically without this setting.</p><p>New model creation and OAuth catalog import both offer <strong>Personal / Organization</strong> ownership to enterprise administrators. Ownership is independent of credential scope: choosing an enterprise credential does not automatically share the model. Create an organization-owned model and then use its authorization action to share it with users, organizations, or the enterprise. Personal models have no authorization action. Editing an existing model shows its ownership without changing it; recreate or import it with organization ownership when sharing is needed. The model list shows the complete manageable set without pagination. Editing, testing, refreshing, and deleting reload the complete current result.</p><p>MAR Agent performs bounded retries for eligible transient connection, service-overload, or model-stream failures. The initial request and retries share a maximum of 8 attempts. Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The information icon at the lower-right of a Workspace session shows the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. Average output TPS updates only after the request ends, the provider reports authoritative output tokens, and the summed observed generation duration is at least one second. Shorter windows do not publish a new TPS value; Latency and token usage still update, and the previous valid TPS remains within the same Run. TPS uses client-observed generation intervals, excluding client-tool execution and explicit Hosted Tool execution pauses. Output tokens may include reasoning and tool calls, and network or upstream buffering may affect the observed duration, so TPS is not pure server-side inference speed.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to &quot;Conversation and auxiliary models&quot;">​</a></h2><p><strong>Conversation model</strong> is checked by default in the model form. Only enabled models with this option checked appear in work-mode and hosted-conversation Composers, Subagent choices, and template main-model choices. Uncheck it to reserve a model for dedicated Compact, session title generation, and prompt prediction. Configure each auxiliary use separately; model and credential permissions still apply. Conversation models can also serve these auxiliary uses. The enabled and session-title switches remain independent.</p><p>Models for MAR Agent child sessions must also have <strong>Subagent support</strong> enabled. A child session&#39;s model selector shows only currently available models enabled for both uses; the list is empty when none qualify. This switch does not restrict the main session&#39;s model choices.</p><p>Existing models retain conversation use, and new or catalog-imported models enable it by default. Changes do not interrupt executions already in progress. Later sends, continuations, or explicit selections using a model that no longer permits conversation use are rejected; select an available conversation model to continue. Conversation history is preserved.</p><h2 id="prompt-tab-model" tabindex="-1">Prompt Tab model <a class="header-anchor" href="#prompt-tab-model" aria-label="Permalink to &quot;Prompt Tab model&quot;">​</a></h2><p>Under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>, save the global switch, model, and reasoning effort independently of Compact. The capability defaults to enabled without a preselected model. Users still need model and credential access and can control <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong> (on by default without a saved preference; an existing Off choice is preserved; Work mode only, saved immediately in the current browser). All four Work-mode Runners are supported. Node uses the MAR Agent SDK&#39;s standalone model interface with a result-tool schema to receive prediction data, without creating an Agent session or executing tools. See <a href="./../workbench/composer#prompt-tab">Prompt Tab</a> for interaction and data scope.</p><h2 id="dedicated-compact-model" tabindex="-1">Dedicated Compact model <a class="header-anchor" href="#dedicated-compact-model" aria-label="Permalink to &quot;Dedicated Compact model&quot;">​</a></h2><p>System administrators configure the enable switch, an existing model, and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Compact</strong>. The setting applies system-wide; it is not on the System Configuration page. Enterprise selection prioritizes root-organization models. It is disabled by default, leaving the current conversation model responsible for compaction. Saved changes apply to subsequent runs, not an active execution.</p><p>Also enable <strong>Unified Compact</strong> in the current execution model’s form to use the system-wide dedicated model. This option defaults off: new, imported, and existing models without the setting keep their original model compaction. Child sessions use their own execution model’s option, not the parent’s. The dedicated summary model itself does not need this option enabled. Changes apply to subsequent executions. Older Nodes without support conservatively keep original model compaction.</p><p>The Node extension always uses a high-density Textual Continuation IR prompt; there is no standalone CLI flag. IR headings and keys use English, while natural-language values may follow the task language. Default compaction and fallback use the Core structured handoff prompt. The dedicated model generates an internal continuation summary without tools or changing the main conversation model. Both Workspace sessions and hosted conversations still require the execution user&#39;s model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model&#39;s window, the first request trims it to 90% of that window, potentially omitting older or lengthy evidence. An unavailable model, remaining context overflow, or failed generation falls back to default compaction with the current model. There is no second capacity-trimming retry of the dedicated model. Cancellation or the total compaction deadline does not trigger fallback. The summary is used for continuation, not displayed as public chat text.</p><p>MAR Agent schedules automatic compaction from the latest same-model context-input usage: at 85%, it generates a candidate in the background while the current task and tools continue; at 90%, it waits for that same compaction before the next model request. The conversation timeline updates one item through background generation, waiting, completion, failure, or cancellation. Background compaction does not end the active task or expose its private handoff summary. Messages and tool results produced after the snapshot remain after the compacted prefix. After a successful compaction, if a tail was retained, the Context indicator stays unknown until a foreground model request reports authoritative usage; with no retained tail, the existing <code>0 / window</code> reset baseline remains. Background Compact usage still counts toward costs but never replaces foreground context usage, Latency, or average output TPS.</p><p>Smart Compact is a separate system-wide switch in the same <strong>Admin → MAR Agent Models → Advanced → Compact</strong> panel, and is off by default. It does not require enabling or selecting the dedicated Compact model. When enabled, with a valid same-model input watermark of at least 60% and below 90%, the runtime allows the main model to consider whether prior detailed context has low continuation value and request the same background compaction earlier. It does not trigger for every topic change or one-off question, and it is not a guarantee that all history will fit without loss. Missing or invalidated usage skips this optional opportunity. Turning Smart Compact off disables only this optional early compaction; it does not affect manual Compact or the fixed 85%/90% automatic capacity safeguards. No Enterprise license is required, and the SDK and CLI use the same mechanism. Existing manual Compact controls and status displays are unchanged. Older Nodes without the <code>smartCompactControl</code> capability retain their existing behavior while the switch is on; with the switch off, they cannot guarantee that behavior is disabled and reject conversational and actual Plan executions with <code>CAPABILITY_VERSION_UNSUPPORTED</code>. Upgrade the Node to use the off setting. Manual Compact and commands that only toggle Plan state remain available.</p><h2 id="chatgpt-plan-authorization" tabindex="-1">ChatGPT plan authorization <a class="header-anchor" href="#chatgpt-plan-authorization" aria-label="Permalink to &quot;ChatGPT plan authorization&quot;">​</a></h2><p>The <strong>OAuth credentials</strong> tab lists <strong>Codex (legacy)</strong>, <strong>ChatGPT plan authorization</strong>, and <strong>X subscription</strong> in one table. To add a ChatGPT credential, select <strong>ChatGPT plan authorization</strong> and an online Node on the computer running your browser. The Node must support local sign-in. Open its local sign-in link and complete authorization on OpenAI&#39;s page. A remote Node cannot receive this browser&#39;s loopback callback; cancel and select the local Node instead.</p><p>The local Node is only a temporary sign-in provider. Server stores the credential and owns token refresh. Other authorized remote Nodes can share it without signing in themselves. Personal, organization, and enterprise scopes use the same management and model-use permissions as Codex credentials. Reauthorization also needs a local Node and reuses the issued client ID. Cancellation or failure leaves the existing credential intact.</p><p>Models use the fixed public OpenAI Responses endpoint, not the legacy Codex backend. HTTP/1.1, HTTP/2, and WebSocket are supported. HTTP and WebSocket can use <code>previous_response_id</code> for incremental user and tool turns; WebSocket additionally requires one healthy connection. Reconnects or adapter rebuilds replay the necessary full history. Image generation with this credential is not supported. An optional SOCKS5 proxy applies to Node sign-in, Server refresh and catalog requests, and inference on execution Nodes.</p><p>A successful identity sign-in without plan-use permission is retained as <strong>Unauthorized</strong>. It cannot load models or run inference: sign in again and grant plan usage. This is not token expiry and never switches automatically to API-key billing. Legacy Codex private usage queries are unavailable for the new type. Its account identifier comes from verified identity; provide missing context-window limits when importing models. Tokens are never returned to the management page.</p><p>Select <strong>Manage usage</strong> in a ChatGPT credential&#39;s <strong>Details</strong> to open <a href="https://chatgpt.com/settings/usage" target="_blank" rel="noreferrer">ChatGPT Settings → Usage</a> in a new tab, review plan or app limits, and adjust available settings. Make sure ChatGPT is signed in to the account associated with that credential. For <code>subscription_sharing_usage_limit_exceeded</code>, the chat error message explains the usage limit and asks you to open <code>https://chatgpt.com/settings/usage</code> in plain text, without an additional button or interactive link. Other HTTP 429 errors are not treated as exhausted plan usage.</p><h2 id="x-subscription-oauth-experimental" tabindex="-1">X subscription OAuth (experimental) <a class="header-anchor" href="#x-subscription-oauth-experimental" aria-label="Permalink to &quot;X subscription OAuth (experimental)&quot;">​</a></h2><p>Under <strong>OAuth credentials</strong>, choose <strong>Add OAuth credential</strong>, select <strong>X subscription OAuth (experimental)</strong>, and enter a name, ownership, and optional SOCKS5 URL. Open the displayed xAI authorization page and enter the device code; no local Node is required. Check the authorization page and selected account before approving. The shared public OAuth client may appear as Grok Build. Inference access depends on upstream account and subscription eligibility; neither a payment amount nor a successful sign-in guarantees model access.</p><p>Use <code>socks5://[username:password@]host:port</code>, URL-encoding special characters. The same proxy applies to Server device authorization, token exchange, identity, refresh, catalog, usage and revocation requests, and to model requests from the execution Node. Proxy failures never fall back to a direct connection. Both Server and the execution Node must reach the proxy; <code>127.0.0.1</code> on a remote Node is not the Server&#39;s localhost. The browser authorization page uses the browser&#39;s own network, not this proxy. You can edit or clear the proxy later and inspect its full URL in credential details; do not share screenshots containing proxy passwords.</p><p>After signing in, load and import the catalog, or create a Grok model, select the credential and enter a model ID. Inference uses <code>https://cli-chat-proxy.grok.com/v1</code> with a choice of WebSocket or HTTP/1.1 SSE; new models and catalog imports default to HTTP/1.1 SSE. Responses continuation is off by default, so both transports send full history. You can manually enable <code>previous_response_id</code> with either transport. Support depends on the upstream and account; enabling the setting is not a compatibility guarantee. Transport and continuation support on the subscription proxy are not guaranteed. A missing reference falls back once to full history; other failures retain diagnostic details. Speed tiers, HTTP/2 and image generation are unavailable for this connection. Models still use the X subscription OAuth credential, not a developer API key; catalog, identity and usage queries remain on the subscription proxy. Upgrading Server moves subscription models mistakenly configured with the developer API URL back to the subscription proxy while preserving other settings and clearing old model test results. Hosted Web Search can be toggled on the model form; new models and catalog imports enable it by default. Existing models keep their saved value; edit, enable the checkbox and save to turn it on. Re-importing creates independent models rather than modifying existing ones. The execution Node must advertise support for the new Responses parameter capabilities; otherwise upgrade Node.</p><p>Choose <strong>Query usage</strong> in credential details to manually load the current used/remaining percentage, weekly/monthly period, reset and query times, and the separate additional USD balance. Missing values display as a dash, not zero or unlimited. MAR does not estimate remaining tokens or display nonexistent token totals. A failed usage query does not imply inference is unavailable. Usage is not polled automatically and is cleared when details close. Upstream accounts may have additional paid balances; MAR does not top up or change billing settings and does not guarantee that subscription calls never incur extra charges.</p><p>Server stores and refreshes tokens; the execution Node receives only short-lived access credentials. Sign in again when authorization expires. Deleting an unreferenced credential attempts to revoke its upstream refresh token and reports revocation failure. This integration depends on a changeable subscription proxy protocol and is not recommended for production tasks requiring a stable SLA.</p><h2 id="configure-codex-credentials-and-the-model-catalog" tabindex="-1">Configure Codex credentials and the model catalog <a class="header-anchor" href="#configure-codex-credentials-and-the-model-catalog" aria-label="Permalink to &quot;Configure Codex credentials and the model catalog&quot;">​</a></h2><p>Every user can open <strong>Admin → MAR Agent Models</strong> for <strong>My model order</strong> and the Codex credentials they may manage; only system administrators see the <strong>Models</strong> tab used to configure models. A regular member can create only a personal credential. An organization administrator can also select an organization in their managed subtree, and a system administrator can select an organization or the entire enterprise. A personal credential is visible only to its owner, an organization credential is visible only to system administrators and organization administrators whose managed subtree covers it, and an enterprise credential is visible only to system administrators. Select <strong>Add OAuth credential</strong> and choose <strong>Codex (legacy)</strong>, enter a name, scope, and optional SOCKS5 proxy, then start device sign-in. This proxy applies only to Codex OAuth requests, model-catalog requests, and Codex model requests that reference this credential. The system polls automatically at the Server-provided interval, and you can select <strong>Refresh sign-in status</strong> while waiting to query immediately. A credential is stored only after sign-in, token exchange, and account validation all succeed. Cancelled, failed, or expired attempts create no credential.</p><p>The credential list and Details show the current access token expiry and the earliest refresh time supplied by ChatGPT. An unknown earliest refresh time appears as a dash; neither timestamp is the refresh token expiry. While refresh authorization remains valid, Server renews near-expiry tokens automatically. Nodes also renew access tokens and runtime tickets during long tasks without waiting for another model call, with bounded retries after temporary failures or unchanged near-expiry tokens. Persistent disconnection or invalid credentials still require recovery or sign-in. Manual refresh can request renewal before that time; the upstream response decides whether renewal succeeds. Automatic renewal still respects the earliest refresh time. Actual renewal immediately updates the list and open Details with the new expiry, earliest refresh and last-refresh time. The action column provides <strong>Details</strong>, <strong>Edit</strong>, <strong>Test</strong>, and <strong>Remove</strong>. <strong>Edit</strong> can change the name, scope, and SOCKS5 proxy. Narrowing a credential scope is rejected while an existing model grant remains outside the proposed scope; narrow those model grants first. Details fetches that credential separately, displays the complete SOCKS5 URL verbatim, and provides refresh, sign-in-again, query-usage, and model-catalog actions. <strong>Query usage</strong> displays lifetime tokens, usage on the previous Los Angeles day, the total for seven consecutive calendar days, the current used percentage and reset time for each quota window, and the query time. The previous day’s date and UTC offset appear in smaller text below its usage value. If no bucket exists for yesterday, that date still appears while usage shows a dash; an older bucket is never substituted. A bucket for the current Los Angeles day remains excluded from the seven-day total. Statistical days roll over in <code>America/Los_Angeles</code>: <code>UTC-07:00</code> during daylight saving time (15:00 in UTC+8) and <code>UTC-08:00</code> during standard time (16:00 in UTC+8). The system does not poll usage automatically, and closing Details discards both the complete proxy string and the usage result. A credential referenced by a model cannot be removed until that reference is changed or removed. The page never displays custom metadata, imported-model counts, access tokens, refresh tokens, ID tokens, the raw upstream usage response, or a FedRAMP flag.</p><p>Select <strong>Load model catalog</strong> to read the live Codex catalog visible to that credential. Each row shows the reasoning efforts supported by this system, including <code>ultra</code>, the catalog-provided or normalized default effort, and any genuinely unknown upstream efforts. Select the models to import and provide a context window only when the catalog omits it; a missing maximum-output value does not create an input field. The catalog has no availability switch, and imported models are enabled with the catalog default. Configure transport and Responses continuation later in the model view. Every Codex or ChatGPT catalog import creates a new independent model, even for the same credential, upstream model ID, display name, and ownership. Existing models and grants remain unchanged; new models use the import defaults and do not inherit existing settings or grants. If the live catalog changes, the page asks you to review the refreshed catalog before retrying.</p><h2 id="configure-model-access" tabindex="-1">Configure model access <a class="header-anchor" href="#configure-model-access" aria-label="Permalink to &quot;Configure model access&quot;">​</a></h2><p>New models are <strong>Restricted</strong> by default. Models that existed before this access feature are migrated as <strong>Public</strong>. The <strong>Access</strong> column shows the current state:</p><ul><li>Granting access to the <strong>Entire enterprise</strong> makes the model public.</li><li>Without an entire-enterprise grant, access can be granted separately to users or organizations and the model remains restricted.</li><li>System administrators can always manage every model regardless of model-grant records, but actual use still requires the user to be inside the bound credential scope.</li></ul><p>Select <strong>Grant</strong> on a model row to view, add, or revoke grants. A model&#39;s grant range must be fully contained by the bound credential scope; for example, a credential owned by an organization cannot be granted to a user or organization outside that subtree or to the entire enterprise. A regular user&#39;s new-session model catalog contains only redacted models that are enabled, granted to that user, and backed by a credential whose scope contains that user. The main Agent and its subagents receive the same authorized model set.</p><p>Disabling a model rejects subsequent new sessions, messages, and session commands. Revoking a user&#39;s grant, moving the user outside the credential&#39;s organization scope, rebinding or unbinding the model credential, or making the credential unavailable also causes every subsequent runtime credential resolution to be rejected. Work already accepted by Node and no longer requiring credential resolution is not forcibly terminated. When an existing MAR Agent conversation is opened and its saved model is no longer in the current catalog, Web automatically saves the first available model and switches the reasoning effort to that model&#39;s default. If the catalog is empty, Web does not switch to another Agent. A model can be deleted directly without disabling it or waiting for active tasks. Executions that already obtained the configuration can continue, while later model resolution fails as not found.</p><h2 id="sessions-and-permissions" tabindex="-1">Sessions and permissions <a class="header-anchor" href="#sessions-and-permissions" aria-label="Permalink to &quot;Sessions and permissions&quot;">​</a></h2><p>Nodes offer <strong>Auto</strong> and <strong>Full access</strong>. New ordinary work sessions default to Auto; existing sessions retain their saved setting. Entering a Goal never upgrades MAR Auto to Full access. The standalone SDK/CLI still defaults to Full access, and hosted conversations keep their existing isolation and permission policy.</p><p>Auto uses the current model&#39;s judgment: routine engineering and explicitly authorized work continue automatically; material risk or unclear authorization produces ask. Deny is reserved for an effective explicit prohibition, higher-priority/Host prohibition, or known extreme danger whose impact cannot reasonably be bounded. Authorization is reused within the same task, target and impact, across tools, retries, turns and subagents; material expansion or withdrawal requires reassessment.</p><p>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the Runner approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account&#39;s actual permissions. Use a dedicated low-privilege account and appropriate Workspace and host permissions.</p><p>Native session records are stored under <code>~/.mar/agent/sessions/</code> for the Node service account; Server does not store conversation bodies. MAR Agent supports Plan, Compact, question, MCP, images, and subagents. The model can use the <code>todo</code> tool with <code>action: read | write</code> to read or replace the current session checklist; an empty list clears it. Todo updates appear as checklists, and existing session checklists and history remain compatible. Each subagent is an independent persistent child session with its own history and parent relationship, while the default session list shows only user root sessions. Agent Network supports three levels: root, child, and grandchild; a fourth level is not supported. Continuous tasks use Node&#39;s shared Goal workflow and are not reimplemented inside the Agent SDK.</p><p>MAR Agent scans standard Skill directories under HOME and the Workspace and initially gives the model only each Skill&#39;s name and purpose. When a request clearly matches a Skill, MAR Agent loads that Skill&#39;s complete workflow and resource directory; users do not need to name it. For duplicate names, Workspace Skills take precedence over user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to &quot;Command environment&quot;">​</a></h3><p><code>exec</code> enables login initialization by default. Bash reads the first readable file in its native order: <code>~/.bash_profile</code>, <code>~/.bash_login</code>, then <code>~/.profile</code>. It also loads a readable <code>~/.bashrc</code> when <code>BASH_ENV</code> is unset or empty. PowerShell loads its native startup configuration by default. These files belong to the Node service account, not the browser user. Configuration is read on every command start; hosted conversations read only files visible inside their isolated environment, never the host account&#39;s configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: &quot;…&quot;, login: false })</code>. A login Shell is still noninteractive. If a toolchain PATH appears after a noninteractive <code>return</code> in <code>.bashrc</code>, put that shared environment configuration in a login profile or before the early return. MAR does not bypass that guard, and an <code>export</code> in one command does not update Node or subsequent independent commands.</p><h3 id="advanced-subagent-control" tabindex="-1">Advanced subagent control <a class="header-anchor" href="#advanced-subagent-control" aria-label="Permalink to &quot;Advanced subagent control&quot;">​</a></h3><p>Node Agent Network does not impose the old 16-child creation or concurrency limits. The independent SDK Subagent extension retains its own admission policy.</p><p>The collaboration tools are <code>agent_start</code>, <code>agent_send</code>, <code>agent_wait</code>, <code>agent_stop</code>, <code>agent_list</code>, and <code>agent_view</code>. <code>agent_start</code> takes a text task and a nonblank title and returns after registering the child session and its first execution, without waiting for completion; a manual marctl creation may omit the title. Use the returned <code>agentId</code> to address the child. <code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history &lt;session-id&gt;</code> command for paginated records when needed. <code>marctl agents view</code> follows the same state-query boundary.</p><p>If the target is idle and has no current or retained execution, <code>agent_wait</code> reports <code>AGENT_IDLE</code> with “Agent is idle; there is no execution to wait for.” This does not mean the session is missing or the task failed. An idle session with a retained terminal execution still returns that execution&#39;s result. An untargeted wait with no children reports <code>AGENT_WAIT_NO_TARGETS</code>; a missing explicit target reports <code>SESSION_NOT_FOUND</code>. Waiting does not start an idle session.</p><p>Within the same authorized Node and Workspace, messaging, explicit waits, Goals, stopping, approvals, and marctl session settings are not restricted by parent-child relationships. Target Run and queue ownership, model access, and resource authorization still apply. Sending does not establish automatic subscriptions to unrelated sessions.</p><p>Unread public child messages and new terminal results are delivered automatically before the parent&#39;s next normal model request, including direct children created through the native Extension API. The parent need not repeatedly use message waits to check progress. Delivery does not wake an idle parent or postpone a normal final answer: join results required for delivery before finishing, and use <code>agent_wait</code> when genuinely blocked. Automatic delivery and model waits share their observation position, so subsequent waits do not repeat already delivered message bodies or terminal evidence. Child content is context to verify, not new user instructions or authorization.</p><p>Node retains the latest 10 unread updates per parent-child observation relationship across executions. Overflow removes the oldest records, and <code>omittedUpdates</code> reports omissions since the last confirmed observation. This count belongs to the relationship, not to a particular execution. Confirmation clears the delivered notice; full public history remains available on demand. The window does not retain unlimited unread content.</p><p>Node&#39;s native <code>agent_send</code> accepts a <code>delivery</code> parameter of <code>STEER</code> or <code>QUEUE</code>. Messages with text default to <code>STEER</code>, including <code>marctl agents send &lt;id&gt; -m &lt;text&gt;</code> from other Runners. Goal-only updates and approval decisions do not involve message delivery. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session&#39;s containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan Runners, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
2
2
  <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({ scope: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;active&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, query: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;review&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, limit: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">20</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> });</span></span></code></pre></div><p><code>sleep({ durationMs })</code> provides a bounded delay of 1 to 1800000 integer milliseconds (up to 30 minutes). Accepted user input or an unread public subagent message ends the wait early; messages are then automatically injected and marked read through the normal path, without repeated wake-ups. It does not monitor external conditions or wake on process or cell completion; use the corresponding wait for an existing resource. The model always calls <code>sleep</code> directly, never inside a Code Mode cell.</p><p><code>agent_wait</code> selects authorized targets through an <code>agentIds</code> array, including a single target:</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</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;">agent_wait</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({</span></span>
3
3
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> agentIds: [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;a&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;b&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;c&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">], </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// Replace with IDs returned by agent_start.</span></span>
4
4
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> mode: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;all&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
@@ -1 +1 @@
1
- import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",114)])])}const g=t(i,[["render",o]]);export{u as __pageData,g as default};
1
+ import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",114)])])}const g=t(i,[["render",o]]);export{u as __pageData,g as default};
@@ -0,0 +1 @@
1
+ import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i('<h1 id="browse-search-and-manage-files" tabindex="-1">Browse, Search, and Manage Files <a class="header-anchor" href="#browse-search-and-manage-files" aria-label="Permalink to &quot;Browse, Search, and Manage Files&quot;">​</a></h1><p>Files shows the selected Workspace as a lazily loaded tree. Files and folders are clickable, and more actions appear when you hover over a row.</p><h2 id="prerequisites" tabindex="-1">Prerequisites <a class="header-anchor" href="#prerequisites" aria-label="Permalink to &quot;Prerequisites&quot;">​</a></h2><p>The Workspace must be online and readable. Creating, renaming, moving, or deleting also requires file-system permission for the Node service account and run access to the resource.</p><h2 id="steps" tabindex="-1">Steps <a class="header-anchor" href="#steps" aria-label="Permalink to &quot;Steps&quot;">​</a></h2><ol><li>Select <strong>Files</strong>, expand a folder, and select a file. Text, Diff, images, PDF, Office, video, and audio open in one file-tab strip; every tab shows its file name with a full-path tooltip, while its content page keeps independent state. The × in a tab closes that file only. <strong>Close file window</strong> in the upper-right corner closes all file tabs and returns to the workbench, or closes the browser window in a companion file window. Unsaved edits require confirmation first; canceling any confirmation keeps all tabs open. <code>Ctrl+W</code> / <code>Alt+W</code> closes the active file tab; <code>Esc</code> / <code>Ctrl+Shift+W</code> / <code>Alt+Shift+W</code> closes the whole file window. Esc first dismisses the topmost find panel, menu, or settings dialog. Mobile browser Back also closes the whole window; canceling an unsaved-change confirmation keeps it open. Companion file pages and tab-free rendered previews use the same behavior. Ctrl combinations require the browser to deliver the key event; use Alt as an alternative. Additional entries load automatically near the bottom of an expanded directory; retry in place if loading fails. Use <strong>Filter displayed items</strong> to filter currently loaded files and folders by name or relative path; clear it to restore the tree. Filtering does not read folders that have not been expanded.</li><li>In Quick Open, filter by result type using <strong>All</strong>, <strong>Workspace</strong>, <strong>Session</strong>, <strong>File</strong>, or <strong>Symbol</strong>. Workspaces match display names only, not paths or Node names; Sessions match the titles of loaded sessions in the current Workspace. All results are ranked by match strength first, with ties ordered as Workspace, Session, File, then Symbol; definitions precede references when Symbol scores tie. Enter a complete name to find a symbol: definitions can appear before references finish loading. Selecting a Session opens it in the current Workspace. Selecting a symbol or file immediately opens its preview without switching the Aside tool. The file tree expands its ancestors and selects the target in the background, then reveals it when Files is shown. Selecting a Workspace switches to or opens its tab. For duplicate file names, add space-separated terms to match the relative path, such as <code>app src</code> for <code>src/app.ts</code>; term order does not matter. You can enter <code>foo.ts:12</code> for a root-level file to jump to a line. The current Workspace&#39;s path index is built on demand; the first use may show “Preparing the index”. Each result type shows its own progress, failure, or timeout. If results are incomplete, refine the query; failure details and Retry are available. <strong>Search</strong> finds file contents and can open the matching line. It searches plain text by default; select <strong>Use Regular Expression</strong> above the search box before running a pattern search. Invalid patterns show an error.</li><li>Long file and folder names are abbreviated in the tree. Hover a row to see its complete relative path. The open file remains selected in the tree.</li><li>Hover over a row and select <code>…</code>. A file can be downloaded, copied as a relative or absolute path, renamed, or deleted. A folder also supports creating files or folders and uploading files. <strong>Copy absolute path</strong> copies the full path on the Node host; for the root, it copies the actual Workspace root path. This action is unavailable until the root path is known. When an authenticated loopback direct connection confirms that the browser and current Node are on the same device, <strong>Open in local file manager</strong> also appears. Windows opens a folder or selects a file, macOS opens a folder or reveals a file in Finder, and Linux opens the containing folder for a file. The Node must run in a session with access to the user&#39;s desktop; an unavailable desktop or file manager produces an error.</li><li>Drag a file or folder onto another folder to move it. Existing destinations cannot be overwritten, and a folder cannot be moved into itself.</li><li>A capable Node opens a complete UTF-8 text file in edit mode by default. Change the default to read-only under <strong>Settings &gt; Appearance</strong>, or switch the current preview from its title bar. Use <code>Ctrl/Cmd+S</code> or Save to write, <code>Ctrl/Cmd+F</code> to find, <code>Ctrl/Cmd+H</code> to find and replace in the same panel, and <code>Alt+M</code> to open symbols and jump to a class, function, or heading. Completion uses only the current document and basic language syntax; it is not a project language service. Text larger than 1 MiB remains editable and saveable, but uses plain-text mode without syntax parsing, symbols, or completion to keep browser memory bounded.</li><li>On a Node with code navigation, hold <code>Ctrl/Cmd</code> over a code symbol to identify a jump target. Candidates list definitions before references. Selecting a target opens a new tab at the top of the file preview, focuses and selects the target line. Within the file preview, use <code>Alt+Left</code> / <code>Alt+Right</code> to go back and forward through code jumps and manual file-tab switches, restoring the cursor position; closed tabs are removed from navigation history. The first source preview builds a local index in the background, and a jump waits for that same build if it is still running. TypeScript/JavaScript, Python, Java/Kotlin, Go, Rust, C/C++, and C# are formally supported; other Ctags parsers are best effort. If the symbol index reaches its size limit or code-navigation resources are unavailable on the Node, the navigation area shows a local notice instead of a global error or a misleading no-match result. File browsing, editing, and saving remain available.</li><li>Ctrl/Cmd-click a file to open it in one reusable companion Console window while keeping the conversation visible. The window automatically selects the target Workspace and uses the same full-screen file tabs, editing, saving, find, and code-navigation capabilities as the main window. Later opens accumulate or activate files in that Console without reloading it or creating more windows; <code>Ctrl+R</code> keeps it in file-window mode and opens the most recently opened file. Right-click text or Git Diff content for Copy, Paste, Select all, Quote, and Reload; Paste is unavailable for read-only content, and reloading unsaved edits requires confirmation. Rendered Markdown uses a separate page without file tabs, while ordinary Markdown opens as source text first.</li><li>For a Markdown file, use the preview icon in its title bar to open a rendered page. The independent page always uses a light appearance, regardless of the console theme, with a print-friendly A4 body; refresh the browser to update its content. Preview settings can enable a browser-wide text watermark; its enabled state and text are stored only in this browser. There is no theme selector. Mermaid diagrams are supported; relative links and images remain limited to the current Workspace, while <code>http</code>/<code>https</code> images load directly in the browser.</li><li>HTML/HTM files still open as source by default. Use <strong>Preview</strong> in the file menu, the source preview button, or <code>Ctrl/Cmd+Shift+V</code> to show the saved version in the Aside browser; this does not save drafts. The source window is temporarily hidden while its tabs and drafts remain available via <strong>Open source</strong>. Wait for any save to finish before previewing. A Workspace HTML link in a conversation opens in the browser; Ctrl/Cmd-click opens a rendered page in a new window. Ctrl/Cmd-click in Files still opens the source window. The first preview opens a closable Browser tab alongside sessions to the right of the fixed tools; no Browser tab appears before that. It shows one file at a time, replacing the previous page. The header keeps the file name, with icons to reload, open source, or open in an external browser. Close the tab with × without discarding source drafts; reopen the source from Files. Preview from a companion source window remains a separate page. HTML can run scripts, load resources in its directory and descendants, and send files externally. Preview trusted files only. An administrator can configure a separate HTTP or HTTPS preview origin; otherwise the Console origin is used and <strong>HTML runs with your signed-in permissions, without isolation from the workbench</strong>. A separate origin requires DNS, TLS when using HTTPS, and a reverse proxy to the Server preview route. Cross-origin content cannot deliver keyboard events to the Console; focus the preview header before using close shortcuts.</li></ol><p>Standalone rendered Markdown/HTML pages retain the browser&#39;s native context menu instead of the custom menu used by ordinary file pages.</p><p>File and Diff read failures show a short reason and <strong>Retry</strong> inside their content area, keeping the file title and close action without a duplicate global error message. Retry reads the same target without adding a file tab. Files and Git list failures likewise stay in their own lists with a retry action. Unsupported or failed previews offer download instead; a binary Diff or a Diff without displayable text can open the file preview when available.</p><p>The unified preview supports code and text, common images, PDF, DOCX, XLSX, PPTX, common video, and audio. The workbench renders PDF pages itself and does not depend on the browser&#39;s built-in PDF viewer. PDF and media are read on demand. Modern Office files are parsed locally in the browser and are not sent to an external preview service. PPTX previews are constrained by both available width and height, preserving the complete slide ratio in very wide or short windows. Legacy DOC, XLS, and PPT files and other unsupported formats keep a download action. A damaged or oversized Office file may also fall back to download.</p><p>Legacy text previews recognize BOM-marked UTF-16 and automatically try GB18030 for known text files when UTF-8 decoding fails. Damaged text can fall back to UTF-8 with replacement characters. The preview identifies fallback decoding and always remains read-only; it does not convert or overwrite the source file. Unknown binary formats still fall back to download. Git Diff displays the patch returned by Git rather than recomputing differences from decoded previews; a non-UTF-8 worktree does not suppress a text patch, but Git-reported binary differences remain unsupported for text comparison.</p><p>In ordinary Work mode, chat file and image links support absolute paths readable by the Node service account, including session image directories outside the Workspace. Relative paths still resolve within the current Workspace. Absolute paths are for read-only preview and download; they do not expand the file tree, search, or write scope and do not apply to hosted conversations. <strong>Users with Workspace access can read other host files available to the Node service account by their absolute paths; Workspaces and allowed roots are not file confidentiality boundaries.</strong> When sharing a Node, isolate sensitive data through the service account and operating-system file permissions.</p><p><strong>Success:</strong> The preview title matches the selected tree path, and refreshing the tree shows the real file-system state.</p><h2 id="troubleshooting" tabindex="-1">Troubleshooting <a class="header-anchor" href="#troubleshooting" aria-label="Permalink to &quot;Troubleshooting&quot;">​</a></h2><ul><li>If canceling or removing a task reports that temporary upload cleanup could not be confirmed, the task stays visible instead of silently disappearing. Retry or ask an administrator to check the Node&#39;s temporary uploads. Refreshing the page does not confirm cleanup.</li><li>Workspace direct uploads verify the complete file&#39;s SHA-256; a mismatch leaves the target unchanged. An interruption after upload starts reports an error, without automatic retry, reauthorization, or a new upload through the Server. Click Retry yourself; after refreshing the page, select the same unchanged source file with the same name and size. Fresh authorization then resumes from the continuous offset confirmed by the Node. Expired temporary uploads and Node restarts require a new upload. Server upload fallback remains available before direct upload starts; existing download and preview fallback behavior is unchanged.</li><li>Operation denied: check the Node service account permissions, Workspace boundary, and resource authorization.</li><li>Regular-expression search unavailable: regular-expression mode requires the Node-bundled <code>rg</code> resource. Reinstall or upgrade that Node, then try again; plain-text search can still fall back when the resource is missing.</li><li>Long file name: hover the tree row to confirm its full relative path before moving or deleting it.</li><li>Read-only preview: write-incompatible Nodes, truncated text, Diff, and Git History content remain read-only. Nodes below the business baseline must first be <a href="./../deployment/upgrade">upgraded</a>.</li><li>Save conflict: an Agent, terminal, or another window changed the file. Discard the local edit, reopen the file, review the latest content, and edit again; the workbench does not force an overwrite.</li><li>A Diff opens instead of a file: chat file changes and Git text changes open Diff by default. Supported images, audio, video, PDF, and Office formats in Git Changes / Git History open directly in a preview of the corresponding worktree or selected commit. Unknown binary files and unsupported formats retain fallback actions.</li><li>Office preview fails: verify that the file is DOCX, XLSX, or PPTX rather than a legacy file with a renamed extension, then use Download if needed.</li><li>Dragging has no effect: refresh the tree and confirm the destination is writable and inside the Workspace.</li><li>A new tab is blocked: allow pop-ups for MyAgentRoam. Executable HTML on the Console origin may use the current account&#39;s existing permissions.</li></ul><p>File operations act on the real Node directory. There is no hidden recycle bin. Check Git Changes or create a backup before renaming, moving, overwriting, or deleting. Next: <a href="./git-changes">Git Changes and Diff</a>.</p><p>After selecting file or Diff text, use that menu to <a href="./file-reference-and-attachment#quote-a-selected-excerpt">add a quote</a>. Select all covers only the currently loaded document; it does not quote automatically or read other files. The mobile bottom toolbar provides direct actions without a More button; text selection and content context menus are unchanged.</p>',16)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-13T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i("",16)])])}const u=t(r,[["render",n]]);export{f as __pageData,u as default};
1
+ import{_ as t,o as a,c as o,a3 as i}from"./chunks/framework.BHjrhdiC.js";const f=JSON.parse('{"title":"Browse, Search, and Manage Files","description":"","frontmatter":{"title":"Browse, Search, and Manage Files","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/files.md","filePath":"en-US/workbench/files.md"}'),r={name:"en-US/workbench/files.md"};function n(s,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[i("",16)])])}const u=t(r,[["render",n]]);export{f as __pageData,u 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-13T00: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. Open the session tree from a session&#39;s More menu or title shortcut by clicking or tapping; hover does not open it. The tree shows the direct parent and recursive descendants, updates running, sleeping, and idle states from the Workspace while open, and puts active branches first. 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. Selecting a node opens it in Aside by default; its menu can open it in the main work area instead. Use the close button, an outside click, Esc, or mobile Back to close the tree.</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 follow the <a href="./conversation">conversation work-process grouping rules</a>, without splitting by target, operation, or target count. Records show actual calls, their targets, and results without 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>Select <strong>New Session</strong> to prepare an Agent, model, reasoning level, and permission mode before the first message. On supported Nodes, the button and new-session shortcut switch the list to Main Sessions before opening Composer, so the main session created by the first message can be reopened there. Manually switching groups afterward does not change the Composer draft. A session is created only when that message is accepted.</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 readonly previews, including separate file windows and Markdown or HTML rendering. Readonly viewing does not change executable HTML behavior or its existing warnings.</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>Workspace tabs <a href="./navigation">open an unread session, or restore the last session when none is unread</a>; an already open target keeps its reading position. Clicking the selected Workspace tree entry, or selecting the current session again from the session list or Quick Open, does not refresh content or change 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 leaves the pin in place. 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 Runner, 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>',41)])])}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-18T00: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. Open the session tree from a session&#39;s More menu or title shortcut by clicking or tapping; hover does not open it. The tree shows the direct parent and recursive descendants, updates running, sleeping, and idle states from the Workspace while open, and puts active branches first. 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. Selecting a node opens it in Aside by default; its menu can open it in the main work area instead. Use the close button, an outside click, Esc, or mobile Back to close the tree.</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 follow the <a href="./conversation">conversation work-process grouping rules</a>, without splitting by target, operation, or target count. Records show actual calls, their targets, and results without 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>Select <strong>New Session</strong> to prepare an Agent, model, reasoning level, and permission mode before the first message. On supported Nodes, the button and new-session shortcut switch the list to Main Sessions before opening Composer, so the main session created by the first message can be reopened there. Manually switching groups afterward does not change the Composer draft. A session is created only when that message is accepted.</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 readonly previews, including separate file windows and Markdown or HTML rendering. Readonly viewing does not change executable HTML behavior or its existing warnings.</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>Workspace tabs <a href="./navigation">open an unread session, or restore the last session when none is unread</a>; an already open target keeps its reading position. Clicking the selected Workspace tree entry, or selecting the current session again from the session list or Quick Open, does not refresh content or change 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 Runner, 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>',41)])])}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-13T00: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("",41)])])}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-18T00: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("",41)])])}const g=s(o,[["render",i]]);export{u as __pageData,g as default};
@@ -1,4 +1,4 @@
1
- import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-05T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="使用-marctl-管理节点" tabindex="-1">使用 marctl 管理节点 <a class="header-anchor" href="#使用-marctl-管理节点" aria-label="Permalink to &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> 工具按需读取同一份指南。服务与工具描述提供简短提示,客户端是否展示服务描述取决于对应 Runner。</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>
1
+ import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="使用-marctl-管理节点" tabindex="-1">使用 marctl 管理节点 <a class="header-anchor" href="#使用-marctl-管理节点" aria-label="Permalink to &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> 工具按需读取同一份指南。服务与工具描述提供简短提示,客户端是否展示服务描述取决于对应 Runner。</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
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>
@@ -20,7 +20,7 @@ import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON
20
20
  <span class="line"><span>marctl agents start --runner codex --title &#39;fixer#42 Handle empty totals&#39; --message-file task.txt --json</span></span>
21
21
  <span class="line"><span>marctl agents show &lt;session-id&gt; --json</span></span>
22
22
  <span class="line"><span>marctl agents history &lt;session-id&gt; --limit 10 --json</span></span>
23
- <span class="line"><span>marctl agents send &lt;session-id&gt; --steer -m &#39;Additional context: focus on the resume path.&#39; --json</span></span>
23
+ <span class="line"><span>marctl agents send &lt;session-id&gt; -m &#39;Additional context: focus on the resume path.&#39; --json</span></span>
24
24
  <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>
25
25
  <span class="line"><span>marctl agents send &lt;session-id&gt; --approval &lt;approval-id&gt; --decision approve --json</span></span>
26
26
  <span class="line"><span>marctl agents wait &lt;session-id&gt; --run &lt;run-id&gt; --timeout 30s --json</span></span>
@@ -34,7 +34,7 @@ import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON
34
34
  <span class="line"><span>marctl agents goal get &lt;session-id&gt; --json</span></span>
35
35
  <span class="line"><span>marctl agents goal set &lt;session-id&gt; --message-file objective.txt --json</span></span>
36
36
  <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>
37
- <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>,以实际 Runner 能力为准。省略 <code>--model-id</code> 时使用目标 Runner 的配置,不继承 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 已知会话,不扫描 Runner。parent 只表示创建来源,不是权限、当前调度者或任务依赖;发送消息与接手不改变它。删除父会话会按 Node 的关系树删除后代;旧会话不从消息或标题推断关系。</p><p>按任务需要创建会话,标题用 <code>fixer#&lt;任务编号&gt; &lt;描述&gt;</code>、<code>reviewer#&lt;任务或变更编号&gt; &lt;描述&gt;</code>。没有固定人数、角色注册、会话池;角色、范围和验收条件可放入首条普通消息,持久指令通过 <code>prompt</code> 设置。各 Runner 按上文入口加载指南;目标会话不需要加载该指南才能接受协作消息。</p><p><code>send</code> 默认按普通发送处理,也可显式选择互斥的 <code>--steer</code> 或 <code>--queue</code>;冲突、重复或旧选项在读取输入或发送请求前本地拒绝。<code>--steer</code> 优先补充新信息,受管等待可提前返回,后台任务继续;其他情况可能切换当前执行,Node 按实际状态裁决。及时协作建议优先使用 <code>--steer</code>;<code>--queue</code> 建议保留给用户或接收方明确要求延后处理的输入。队列消息在当前工作及前面的队列项结束后才消费,有活动 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> 默认等待直接子会话终态 30 秒,<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>
37
+ <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>,以实际 Runner 能力为准。省略 <code>--model-id</code> 时使用目标 Runner 的配置,不继承 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 已知会话,不扫描 Runner。parent 只表示创建来源,不是权限、当前调度者或任务依赖;发送消息与接手不改变它。删除父会话会按 Node 的关系树删除后代;旧会话不从消息或标题推断关系。</p><p>按任务需要创建会话,标题用 <code>fixer#&lt;任务编号&gt; &lt;描述&gt;</code>、<code>reviewer#&lt;任务或变更编号&gt; &lt;描述&gt;</code>。没有固定人数、角色注册、会话池;角色、范围和验收条件可放入首条普通消息,持久指令通过 <code>prompt</code> 设置。各 Runner 按上文入口加载指南;目标会话不需要加载该指南才能接受协作消息。</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>
38
38
  <span class="line"><span>marnodes</span></span>
39
39
  <span class="line"><span>marctl ssh &lt;node-id&gt;</span></span>
40
40
  <span class="line"><span>marctl ssh &lt;node-name&gt;</span></span>
@@ -1 +1 @@
1
- import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-05T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n("",56)])])}const u=s(c,[["render",d]]);export{m as __pageData,u as default};
1
+ import{_ as s,o,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const m=JSON.parse('{"title":"使用 marctl 管理节点","description":"","frontmatter":{"title":"使用 marctl 管理节点","lastUpdated":"2026-11-18T00:00:00.000Z"},"headers":[],"relativePath":"operations/marctl.md","filePath":"operations/marctl.md"}'),c={name:"operations/marctl.md"};function d(t,e,p,l,i,r){return o(),a("div",null,[...e[0]||(e[0]=[n("",56)])])}const u=s(c,[["render",d]]);export{m as __pageData,u as default};