@myagentroam/server 0.15.47 → 0.15.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/dist/index.d.ts +180 -17
- package/node_modules/@myagentroam/protocol/dist/index.js +43 -16
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/image-generation-configuration-service.d.ts +2 -1
- package/node_modules/@myagentroam/server-core/dist/image-generation-configuration-service.js +94 -31
- package/node_modules/@myagentroam/server-core/dist/mar-agent-runtime-model-service.d.ts +1 -0
- package/node_modules/@myagentroam/server-core/dist/mar-agent-runtime-model-service.js +26 -6
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.d.ts +5 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.js +39 -0
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +1 -0
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +1 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-models.d.ts +1 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-models.js +2 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/codex-credential-scope-service.js +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/{AuditManagementPage-Dq2zzX2Q.js → AuditManagementPage-yNPC6c4G.js} +1 -1
- package/web/assets/AuthEntryPanel-C7gG69BK.js +48 -0
- package/web/assets/{AuthEntryPanel-BtstFCQi.css → AuthEntryPanel-ClOaJBqV.css} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-BsBN2mZN.js → ConversationTemplateManagementPage-Be9Mgnhh.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-D0yIQxqb.js → ConversationTemplateManagementPage-CWz8gxam.js} +1 -1
- package/web/assets/{DocxPreview-CQ1Tyq-Q.js → DocxPreview-D_dlxC_1.js} +3 -3
- package/web/assets/DocxPreview-DmbRGaCi.css +1 -0
- package/web/assets/{EnterpriseUserManagementPage-D3YMq6qX.js → EnterpriseUserManagementPage-C3dTlGxi.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-C1T__uYS.js → EnvironmentSecretManager-DlOnWCpE.js} +1 -1
- package/web/assets/FilePreviewState-6gegBnyc.js +7 -0
- package/web/assets/{FilePreviewState-C93BKQ_I.css → FilePreviewState-CVYMUZ-b.css} +1 -1
- package/web/assets/{ImagePreview-PcBSprK1.js → ImagePreview-8srdHNf-.js} +1 -1
- package/web/assets/{ImagePreviewViewport-KCQeD3Zz.js → ImagePreviewViewport-CCXnQOvR.js} +1 -1
- package/web/assets/ImagePreviewViewport-IYILcdOG.css +1 -0
- package/web/assets/{LicenseManagementPage-DNk-9eY2.js → LicenseManagementPage-CmlsAut_.js} +1 -1
- package/web/assets/{ManagementPagination-CoBA2L66.js → ManagementPagination-BCtTyj2G.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-D7uqubPT.css → MarAgentModelManagementPage-BgdmH54C.css} +1 -1
- package/web/assets/MarAgentModelManagementPage-CuTLYqwA.js +1 -0
- package/web/assets/{MarAgentModelManagementPage-BBQ4wPqT.js → MarAgentModelManagementPage-R8XqzG9Q.js} +1 -1
- package/web/assets/{MarAlert-D3XTx1fT.js → MarAlert-C8HTiJER.js} +1 -1
- package/web/assets/{MarCascader-BDJbYV2a.js → MarCascader-13fF8dSA.js} +1 -1
- package/web/assets/{MarCheckTag-CeRtEDsB.js → MarCheckTag-DN_FzP6p.js} +1 -1
- package/web/assets/{MarCheckboxGroup-9yEMRd4i.js → MarCheckboxGroup-CHY3xWra.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-CQaobFT1.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-B9HlsAhx.js} +1 -1
- package/web/assets/{MarDatePicker-DQ6bKWXk.js → MarDatePicker-BD1ewU1E.js} +1 -1
- package/web/assets/{MarDescriptionsItem-DUwvHY5G.js → MarDescriptionsItem-Cna656wo.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-pkYCkI_L.js → MarFormItem.vue_vue_type_script_setup_true_lang-Drg8dz9K.js} +1 -1
- package/web/assets/{MarInputNumber-Cw_Ly7ny.js → MarInputNumber-BW8Hegv-.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CQDP2QQ9.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CbbVwraI.js} +1 -1
- package/web/assets/{MarSwitch-BsIzMxOP.js → MarSwitch-oznku0Ui.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-BBHQAn1R.js → MarTableColumn.vue_vue_type_script_setup_true_lang-D7O33Gc1.js} +1 -1
- package/web/assets/{MarTabs-BJ9PrgTk.js → MarTabs-L1eOnvgw.js} +1 -1
- package/web/assets/{MarTag-pyti1i0k.js → MarTag-Dgc6LRe5.js} +1 -1
- package/web/assets/MarkdownFilePreview-D6pOkGk3.js +1 -0
- package/web/assets/{MarkdownFilePreview.vue_vue_type_script_setup_true_lang-Dxhc-fEZ.js → MarkdownFilePreview.vue_vue_type_script_setup_true_lang-aeYpcyw3.js} +1 -1
- package/web/assets/MarkdownPreview-D0rJrzK4.css +1 -0
- package/web/assets/MarkdownPreview-LxBkQWS-.js +2 -0
- package/web/assets/{McpDetailsDialog-CTLfokvl.js → McpDetailsDialog-9mIGBT5b.js} +1 -1
- package/web/assets/{McpSourceManagementPage-6o6rnLHi.js → McpSourceManagementPage-BIbrw7uP.js} +1 -1
- package/web/assets/{McpSourceManagementPage-CAfxYXDu.js → McpSourceManagementPage-COEn-XWV.js} +1 -1
- package/web/assets/MediaPreview-BBCaCjUB.css +1 -0
- package/web/assets/{MediaPreview-uvoZ9bzk.js → MediaPreview-BsfLMAs9.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-diORBgx-.js → NodeDetailsDialogs-D67R-i0j.js} +1 -1
- package/web/assets/NodeManagementPage-0DVETf2U.js +1 -0
- package/web/assets/NodeManagementPage-BRacvLcO.js +1 -0
- package/web/assets/{OAuthManagementPage-TAh-JqtI.js → OAuthManagementPage-rIYy5S_S.js} +1 -1
- package/web/assets/{OrganizationManagementPage-CrmQZthN.js → OrganizationManagementPage-BOCCBCi3.js} +1 -1
- package/web/assets/{PdfPreview-DfFbYhbD.css → PdfPreview-BhXdccll.css} +1 -1
- package/web/assets/{PdfPreview-C9BpyGSk.js → PdfPreview-Q5LDciOs.js} +1 -1
- package/web/assets/{PptxPreview-DoFiCcnf.css → PptxPreview-B1t8Gt_u.css} +1 -1
- package/web/assets/{PptxPreview-CNN05bDn.js → PptxPreview-Dk2viGcw.js} +1 -1
- package/web/assets/RemoteDesktopPage-BKxUqK-0.css +1 -0
- package/web/assets/RemoteDesktopPage-BpzrkwEx.js +1 -0
- package/web/assets/{ResourceManagementPanel-BVSa4FDT.js → ResourceManagementPanel-fDEH-yWD.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-CW33VTmO.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-Co2wQcXy.js} +1 -1
- package/web/assets/SecretManagementPage-BwPVFZcJ.js +1 -0
- package/web/assets/{SecretManagementPage-DdeQJ-oG.js → SecretManagementPage-D850hKMd.js} +1 -1
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-DZome26i.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-CYbVIKJU.js} +1 -1
- package/web/assets/SessionSharePage-Dns2zXCn.js +2 -0
- package/web/assets/SettingsContent-6luF4wSm.js +1 -0
- package/web/assets/SettingsContent-BIPOiqKD.js +1 -0
- package/web/assets/{SkillCenterPage-BKfS7-ng.js → SkillCenterPage-BHe0tnrW.js} +1 -1
- package/web/assets/SkillCenterPage-C58ENllp.js +1 -0
- package/web/assets/{SkillDetailsDialog-Yq7RDtkd.js → SkillDetailsDialog-_izOYnuG.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-C3w4jeuh.js → SkillSourceManagementPage-BmZGQglV.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-D2DKJ0KT.js → SkillSourceManagementPage-C-HjCFYt.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-CJ7s3G1L.js → StandaloneFilePreviewPage-O_8YFaE6.js} +1 -1
- package/web/assets/{SystemConfigurationPage-07bd_pz2.js → SystemConfigurationPage-BnmiDLNv.js} +1 -1
- package/web/assets/{SystemConfigurationPage-BRYTJg2I.js → SystemConfigurationPage-mbVHdWZE.js} +1 -1
- package/web/assets/{SystemInformationPage-BX575D2S.js → SystemInformationPage-Cp0G8Hg3.js} +1 -1
- package/web/assets/{TerminalTabView-DlaHU-IQ.js → TerminalTabView-CDMxce_c.js} +1 -1
- package/web/assets/{UTIF-DCuTMAcc.js → UTIF-DgqZ97zs.js} +1 -1
- package/web/assets/WorkbenchPage-Bo_YEh-b.css +1 -0
- package/web/assets/WorkbenchPage-Dr2LKtSy.js +18 -0
- package/web/assets/WorkspaceManagementPage-CbN2NXHr.js +1 -0
- package/web/assets/WorkspaceManagementPage-DsVNLTtV.js +1 -0
- package/web/assets/{XlsxPreview-D8QJaFyb.js → XlsxPreview-BrQXJqZm.js} +2 -2
- package/web/assets/XlsxPreview-XhXZXn8J.css +1 -0
- package/web/assets/abnfDiagram-VCTEODGH-Btho4aut.js +1 -0
- package/web/assets/architectureDiagram-5GKGNRK7-DG6XcHI6.js +36 -0
- package/web/assets/{blockDiagram-OSKFZWR5-CAepc5bn.js → blockDiagram-OSKFZWR5-Dl-sjBnv.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-BRMmojoa.js → c4Diagram-7LVT6UL2-CNp2JGwN.js} +1 -1
- package/web/assets/{catalog-ownership-service-BziZZGZj.js → catalog-ownership-service-DeWg8MQu.js} +1 -1
- package/web/assets/{catalog-page-service-BqNiaMvi.js → catalog-page-service-Dt19hShL.js} +1 -1
- package/web/assets/channel-Ci7RQ4vR.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-BvkHMMcu.js → chunk-2Q5K7J3B-9Y1M6Izg.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-CSDlHRTf.js → chunk-5VM5RSS4-CkqahGPd.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-sO2DYeVh.js → chunk-F27PBJKO-Ct056x7R.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-By8693ZH.js → chunk-HLEWEB6X-BjsjhBRm.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-Cb62aVS_.js → chunk-JWPE2WC7-CF9kxEm6.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-YgGSvHjr.js → chunk-POPQ4Y6H-D1bXcJXD.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-DV4Zu-mY.js → chunk-SVP7TREG-D6D2tVVb.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-rSumag3x.js → chunk-XXDRQBXY-a7LHz32T.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-B8wCrvxG.js → chunk-ZLD2IHE6-BFsY2DER.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-3hxx8_TL.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-3hxx8_TL.js +1 -0
- package/web/assets/{conversation-history-f0sAIJCV.js → conversation-history-DDL4Rbqc.js} +1 -1
- package/web/assets/cose-bilkent-JH36ORCC-DrpN3YIj.js +1 -0
- package/web/assets/{cynefin-OW5HDTMX-Cd0Nau8I.js → cynefin-OW5HDTMX-j6yb2w_9.js} +1 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-DNQNQYeu.js +62 -0
- package/web/assets/{dagre-OS7QT2EB-DxR1igKY.js → dagre-OS7QT2EB-DPSYGvT4.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-CtPPCeEQ.js → diagram-S7CK7UJ4-BxpDr6QC.js} +1 -1
- package/web/assets/diagram-UQ7AKVKN-BYvOSH_Q.js +41 -0
- package/web/assets/{diagram-VSXAHHWV-1FxAfKKC.js → diagram-VSXAHHWV-B2bEZmkG.js} +1 -1
- package/web/assets/diagram-VX7I27RA-D4HEYBIj.js +24 -0
- package/web/assets/diagram-Z3DM3KII-vFG1XpnF.js +24 -0
- package/web/assets/{docx-preview-D6lkl3bV.js → docx-preview-DQrEdzey.js} +1 -1
- package/web/assets/ebnfDiagram-PWID7BFC-Ct190SJT.js +1 -0
- package/web/assets/{CodeFileEditor-DloKdFp7.js → editor-CNgizKe4.js} +14 -14
- package/web/assets/{CodeFileEditor-hpOf3MxF.css → editor-w2W_wI0c.css} +1 -1
- package/web/assets/{enterprise-management-service-B2S3q65k.js → enterprise-management-service-BsFimNMh.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-CTkbjjOa.js → erDiagram-2YWLMYGG-BjGEk7LT.js} +1 -1
- package/web/assets/{error-presentation-D3HskCq6.js → error-presentation-xZhTSM_7.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-qhDJq5WE.js → flowDiagram-T62WH6J4-CoKcrgD7.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-K6IbwNm9.js → ganttDiagram-EL5Y4UJY-Bn2mdoIJ.js} +1 -1
- package/web/assets/gitGraphDiagram-WWUBYQGX-v_Hy9Uco.js +106 -0
- package/web/assets/{hosted-conversation-template-client-DZQjbpQi.js → hosted-conversation-template-client-Dz63Ftfv.js} +1 -1
- package/web/assets/{image-CLWg_HIg.js → image-B-TAsqUQ.js} +1 -1
- package/web/assets/index-7eiUwxNl.js +1 -0
- package/web/assets/index-Bm8Xa3N7.js +13 -0
- package/web/assets/index-Bvnx5L8m.js +3 -0
- package/web/assets/index-C-G6wQjO.js +1 -0
- package/web/assets/index-C15crPmU.js +1 -0
- package/web/assets/index-CFeXAv9y.js +7 -0
- package/web/assets/index-CHKdFEH1.js +1 -0
- package/web/assets/index-CSvdODMI.js +1 -0
- package/web/assets/index-CZZnQ_aB.js +1 -0
- package/web/assets/{index-C7uDXCM3.js → index-C_VSQfXK.js} +14 -14
- package/web/assets/index-CiZe7OO4.js +1 -0
- package/web/assets/index-CjgRq1MI.js +1 -0
- package/web/assets/index-DEYrUbYV.js +1 -0
- package/web/assets/index-DJJWynnR.js +1 -0
- package/web/assets/index-DP6eYKif.js +1 -0
- package/web/assets/index-DTR1aIB3.js +1 -0
- package/web/assets/index-DZiW7Q-W.js +1 -0
- package/web/assets/index-DnTEQl4Y.js +1 -0
- package/web/assets/index-DpcZ_Awf.js +1 -0
- package/web/assets/index-PhTGVz_g.js +1 -0
- package/web/assets/{index-BVmpnC9w.js → index-UBocWyhP.js} +1 -1
- package/web/assets/{index-DTWEQjH4.js → index-hThdXAhy.js} +1 -1
- package/web/assets/{index-CJ6P5Sfe.js → index-wC-sqF6S.js} +2 -2
- package/web/assets/index-wlswukEG.js +1 -0
- package/web/assets/infoDiagram-FKFFQAWI-BG9FutMB.js +2 -0
- package/web/assets/{ishikawaDiagram-5VMMS53U-PLtplyRI.js → ishikawaDiagram-5VMMS53U-BcCgcE-9.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-DxyDCCJx.js → journeyDiagram-EYS64GPL-6GHyikGd.js} +1 -1
- package/web/assets/{jszip.min-B7YrKGWd.js → jszip.min-BmX4C_F2.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-DK1PcYth.js → kanban-definition-UXKFOSKX-BuQrsQ7k.js} +1 -1
- package/web/assets/{layout-pqSwjK45.js → layout-CNyIRHCT.js} +1 -1
- package/web/assets/{management-url-service-D5XLgDTq.js → management-url-service-CHWp2dnj.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort--NUyu2c2.js → mar-agent-reasoning-effort-D6UAV48R.js} +1 -1
- package/web/assets/{index-FH4CICoS.js → markdown-renderer-fzOMcYBk.js} +8 -8
- package/web/assets/{mcp-center-service-BZoK5Jhw.js → mcp-center-service-CwpfMsS1.js} +1 -1
- package/web/assets/{mermaid.core-CVwZrvoF.js → mermaid.core-hNP4cY87.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-MWFdb0wb.js → mindmap-definition-THT77NOG-C2xDfXAm.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-DUhKrvI4.js → mobile-dialog-return-service-B53d1Dk0.js} +1 -1
- package/web/assets/{oauth-callback-WB6s22AO.js → oauth-callback-CMsSBDIC.js} +1 -1
- package/web/assets/{parser-DQOcbSiD.js → parser-B-q6MbCB.js} +1 -1
- package/web/assets/pegDiagram-XKGWAZYB-B9hT2V91.js +1 -0
- package/web/assets/{pieDiagram-E7YTZNPT-B95N4OnD.js → pieDiagram-E7YTZNPT-CMjHXUd_.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-CI_Oqcmt.js → quadrantDiagram-AXDQQJYC-D0Sl9YN4.js} +1 -1
- package/web/assets/railroadDiagram-O6MQD6OU-CkCVCC-x.js +1 -0
- package/web/assets/{requirementDiagram-IS5BZ75X-CRmK_4dc.js → requirementDiagram-IS5BZ75X-CCL0zAuk.js} +1 -1
- package/web/assets/{runner-presentation-CZdeqR0F.js → runner-presentation-T31nQ-Gh.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-BPgqCmNx.js → sankeyDiagram-P5KCCOFB-BS_VhWgK.js} +1 -1
- package/web/assets/{scoped-http-service-DndsZGnK.css → scoped-http-service-B_iB48Ff.css} +1 -1
- package/web/assets/{scoped-http-service-Dv2EEr8b.js → scoped-http-service-nRxp-JKL.js} +5 -5
- package/web/assets/{sequenceDiagram-WJ2MYXX4-Clnf-q1O.js → sequenceDiagram-WJ2MYXX4-FqAzpyHo.js} +1 -1
- package/web/assets/{session-share-client-service-Dte-cCZa.js → session-share-client-service-DOgnMSQA.js} +1 -1
- package/web/assets/sizeCapture-INFHLROL-yn8Ex35c.js +1 -0
- package/web/assets/{spreadsheet-DuBtzEDB.js → spreadsheet-q6Fo8qRv.js} +4 -4
- package/web/assets/stateDiagram-XQSTLZYL-Bov4r04J.js +1 -0
- package/web/assets/stateDiagram-v2-IH3M54BS-D8TUms8R.js +1 -0
- package/web/assets/swimlanes-V6O3JKXN-CslLydFC.js +1 -0
- package/web/assets/swimlanesDiagram-JKAHXJPX-CzpfNWfs.js +8 -0
- package/web/assets/{time-presentation-CpCjDvqb.js → time-presentation-BEStD6Qo.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-CTRJRRV6.js → timeline-definition-24CTP7MA-B52I-Rgx.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-Bo09i8Bi.js → vennDiagram-4TSXK5OY-BuNwXlC0.js} +1 -1
- package/web/assets/{rfb-ByKEQGJ8.js → vnc-client-BcA55F8T.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-BhPweqUA.js → wardleyDiagram-VM6X3IG4-CnJwDpgz.js} +1 -1
- package/web/assets/{workbench-live-service-VHhs2-iP.js → workbench-live-service-Dh-ixl5C.js} +1 -1
- package/web/assets/{workbench-presentation-B8ytmdcE.js → workbench-presentation-BApLV_Gy.js} +1 -1
- package/web/assets/{workspace-direct-transfer-service-C6TB9X-B.js → workspace-direct-transfer-service-C5-X5EWn.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-D1rr0hSD.js → xychartDiagram-S5SC5T6Z-LgwClSSt.js} +1 -1
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.CDJX9HLn.js → app.CCXOmLIO.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.B3khPmHe.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.yV-fYRDv.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.DSbCr7D6.js → VPLocalSearchBox.B8XOIiB7.js} +1 -1
- package/web/docs/assets/chunks/{theme.CLhQ5A3l.js → theme.DDqVWAjw.js} +2 -2
- package/web/docs/assets/{en-US_runners_mar-agent.md.CYtXl-Ph.js → en-US_runners_mar-agent.md.NZz5Ol0r.js} +3 -3
- package/web/docs/assets/{en-US_runners_mar-agent.md.CYtXl-Ph.lean.js → en-US_runners_mar-agent.md.NZz5Ol0r.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_composer.md.CV3cRw2g.js +1 -0
- package/web/docs/assets/{en-US_workbench_composer.md.wZsGqfxj.lean.js → en-US_workbench_composer.md.CV3cRw2g.lean.js} +1 -1
- package/web/docs/assets/{runners_mar-agent.md.B5alZwZc.js → runners_mar-agent.md.Cm0mXIQy.js} +3 -3
- package/web/docs/assets/{runners_mar-agent.md.B5alZwZc.lean.js → runners_mar-agent.md.Cm0mXIQy.lean.js} +1 -1
- package/web/docs/assets/workbench_composer.md.Ba-e1cFZ.js +1 -0
- package/web/docs/assets/{workbench_composer.md.CflrFCXw.lean.js → workbench_composer.md.Ba-e1cFZ.lean.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +6 -6
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/browser.html +3 -3
- package/web/docs/en-US/workbench/composer.html +5 -5
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +3 -3
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +3 -3
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +6 -6
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/browser.html +3 -3
- package/web/docs/workbench/composer.html +5 -5
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +3 -3
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +3 -3
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuthEntryPanel-XiKuilgF.js +0 -48
- package/web/assets/DocxPreview-ncIL_Pso.css +0 -1
- package/web/assets/FilePreviewState-BJ_i_Dqm.js +0 -7
- package/web/assets/ImagePreviewViewport-PRd-zxR4.css +0 -1
- package/web/assets/MarAgentModelManagementPage-eDBHaG0s.js +0 -1
- package/web/assets/MarkdownFilePreview-DesY_kxJ.js +0 -1
- package/web/assets/MarkdownPreview-Bz3hmWvP.js +0 -2
- package/web/assets/MarkdownPreview-Dl92la6C.css +0 -1
- package/web/assets/MediaPreview-CaAn8ccD.css +0 -1
- package/web/assets/NodeManagementPage-ClV3S_Qw.js +0 -1
- package/web/assets/NodeManagementPage-wgAqH1RE.js +0 -1
- package/web/assets/RemoteDesktopPage-BPblc5O_.js +0 -1
- package/web/assets/RemoteDesktopPage-DscgjiCN.css +0 -1
- package/web/assets/SecretManagementPage-C99phpLF.js +0 -1
- package/web/assets/SessionSharePage-DCUqzJr6.js +0 -2
- package/web/assets/SettingsContent-BOFIlXEg.js +0 -1
- package/web/assets/SettingsContent-D3BRUBlt.js +0 -1
- package/web/assets/SkillCenterPage-Cmb-trSD.js +0 -1
- package/web/assets/WorkbenchPage-B9uFzOAI.css +0 -1
- package/web/assets/WorkbenchPage-DYhDk2xt.js +0 -22
- package/web/assets/WorkspaceManagementPage-DZiB9f0x.js +0 -1
- package/web/assets/WorkspaceManagementPage-DtDDQELI.js +0 -1
- package/web/assets/XlsxPreview-CqIzgJ6j.css +0 -1
- package/web/assets/abnfDiagram-VCTEODGH-PhCJ75IZ.js +0 -1
- package/web/assets/architectureDiagram-5GKGNRK7-Cp991YnB.js +0 -36
- package/web/assets/channel-BtYnPVng.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-C1yBeX5k.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-C1yBeX5k.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-CUkb-yiZ.js +0 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-TxRicvX2.js +0 -62
- package/web/assets/diagram-UQ7AKVKN-CPBH7ccG.js +0 -41
- package/web/assets/diagram-VX7I27RA-Da__KWWQ.js +0 -24
- package/web/assets/diagram-Z3DM3KII-DC2OszFU.js +0 -24
- package/web/assets/ebnfDiagram-PWID7BFC-CAyQ9YiN.js +0 -1
- package/web/assets/gitGraphDiagram-WWUBYQGX-HxKIPUCP.js +0 -106
- package/web/assets/index-B4CeZxNT.js +0 -1
- package/web/assets/index-BBX2x7G8.js +0 -1
- package/web/assets/index-BHjfsCi-.js +0 -3
- package/web/assets/index-C4tqD9sj.js +0 -7
- package/web/assets/index-CWHd-K4z.js +0 -1
- package/web/assets/index-Ce4beYqw.js +0 -1
- package/web/assets/index-CfOzNd6W.js +0 -1
- package/web/assets/index-ChAA7LJD.js +0 -1
- package/web/assets/index-ChZqdVnT.js +0 -13
- package/web/assets/index-DA2s2WX-.js +0 -1
- package/web/assets/index-DHdwKSQM.js +0 -1
- package/web/assets/index-DLMPu2GN.js +0 -1
- package/web/assets/index-DTAiSddi.js +0 -1
- package/web/assets/index-DnhupmbK.js +0 -1
- package/web/assets/index-Dp75opYL.js +0 -1
- package/web/assets/index-Dy7TN0f_.js +0 -1
- package/web/assets/index-O_Ddqc30.js +0 -1
- package/web/assets/index-addJw8iJ.js +0 -1
- package/web/assets/index-gUvhLQdK.js +0 -1
- package/web/assets/index-oy6-gn8w.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-3JKVf_oK.js +0 -2
- package/web/assets/pegDiagram-XKGWAZYB-Ie8W7729.js +0 -1
- package/web/assets/railroadDiagram-O6MQD6OU-2MBp9FIx.js +0 -1
- package/web/assets/sizeCapture-INFHLROL-DhgwX6aV.js +0 -1
- package/web/assets/stateDiagram-XQSTLZYL-DIrjfsfH.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CtQz9mAt.js +0 -1
- package/web/assets/swimlanes-V6O3JKXN-ewoU2-UW.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-DYLBh3gl.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.DFqqOjHU.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.mUm64RNK.js +0 -1
- package/web/docs/assets/en-US_workbench_composer.md.wZsGqfxj.js +0 -1
- package/web/docs/assets/workbench_composer.md.CflrFCXw.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.CuVq8pOL.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),o={name:"en-US/runners/mar-agent.md"};function i(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 "Configure and Use MAR Agent""></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 "Configure models""></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>Choose <strong>Off</strong>, <strong>Automatic</strong>, or <strong>GC with thought</strong> in the model's <strong>Context GC</strong> field. New and catalog-imported models default to Off; existing models keep their settings. Off disables GC but not automatic Compact or the image request hard limit. With GC with thought, the model records findings and decisions using <code>thought</code> before triggering routine GC. The Workbench shows only a short title in your language in Reasoning, not the detailed notes or a tool call. In this mode, exceeding the image hard limit still triggers a GC check without <code>thought</code>, and eligible text can be reclaimed at the same time. Off and GC with thought both require a Node that supports all three modes. 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'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'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 5 attempts (the initial request plus up to 4 retries). 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 Workspace session segment heading and its <a href="./../workbench/conversation">Info details</a> show the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. TPS is an end-to-end estimate: the provider's final output token count divided by the elapsed time from starting the model request to receiving its completion. Positive durations under one second are counted as one second. The token count can include hidden reasoning and tool-call arguments. The elapsed time includes the wait for the first response, network time, and hosted tools run within the request, but excludes client tools run outside it. This is not the model's raw generation speed. If final usage or valid timing is missing, or the request is cancelled, no new TPS is published and the previous valid value stays within the same Run.</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. Model capability columns are for display only. 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 "Conversation and auxiliary models""></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'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'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 "Prompt Tab model""></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 Agents are supported. Node uses the MAR Agent SDK'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 "Dedicated Compact model""></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's model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model'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 "ChatGPT plan authorization""></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's page. A remote Node cannot receive this browser'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'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 "X subscription OAuth (experimental)""></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's localhost. The browser authorization page uses the browser'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 "Configure Codex credentials and the model catalog""></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 "Configure model access""></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'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'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's grant, moving the user outside the credential'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'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 "Sessions and permissions""></a></h2><p>For tool-based work beyond a quick lookup, MAR Agent is guided to briefly explain its approach before starting. During longer tasks, it shares progress, findings, changes of direction, or blockers when useful to you. These updates appear in the conversation, not after every command or at fixed intervals. To redirect ongoing work, see <a href="./../workbench/composer">sending and steering messages</a>.</p><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'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>The session tools <code>thought</code>, <code>todo</code>, <code>sleep</code>, <code>skill_load</code>, and <code>tool_search</code> do not show an Auto <code>permission</code> field to the model. MCP tools found by search still use the ordinary policy.</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 tool 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'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'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's name and purpose. The agent uses <code>skill_load</code> when it needs a Skill; users do not need to name it. The tool adds guidance to the model's context rather than printing it as tool output. Context GC keeps the latest loaded version of each Skill, while Compact clears loaded guidance so the agent can load it again if needed. Workspace Skills take precedence over same-named 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 "Command environment""></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's configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: "…", 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 "Advanced subagent control""></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 an <code>agentId</code> without waiting for completion. It creates a direct child by default. Use <code>relation: "peer"</code> for an independent Session that does not automatically report back; wait or send a message using its returned Agent ID. Peers can use an authorized, enabled conversation model; children also require Subagent support. Both follow the same automatic collaboration whiteboard-sharing rules. See <a href="./../operations/marctl">marctl</a> for the CLI equivalent.</p><p><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 <session-id></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'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'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'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 <id> -m <text></code> from other Agents. 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'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 native Agent session histories, 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.CuVq8pOL.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-12-01T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),o={name:"en-US/runners/mar-agent.md"};function i(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 "Configure and Use MAR Agent""></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 "Configure models""></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>Choose <strong>Off</strong>, <strong>Automatic</strong>, or <strong>GC with thought</strong> in the model's <strong>Context GC</strong> field. New and catalog-imported models default to Off; existing models keep their settings. Off disables GC but not automatic Compact or the image request hard limit. With GC with thought, the model records findings and decisions using <code>thought</code> before triggering routine GC. The Workbench shows only a short title in your language in Reasoning, not the detailed notes or a tool call. In this mode, exceeding the image hard limit still triggers a GC check without <code>thought</code>, and eligible text can be reclaimed at the same time. Off and GC with thought both require a Node that supports all three modes. 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'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'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 5 attempts (the initial request plus up to 4 retries). 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 Workspace session segment heading and its <a href="./../workbench/conversation">Info details</a> show the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. TPS is an end-to-end estimate: the provider's final output token count divided by the elapsed time from starting the model request to receiving its completion. Positive durations under one second are counted as one second. The token count can include hidden reasoning and tool-call arguments. The elapsed time includes the wait for the first response, network time, and hosted tools run within the request, but excludes client tools run outside it. This is not the model's raw generation speed. If final usage or valid timing is missing, or the request is cancelled, no new TPS is published and the previous valid value stays within the same Run.</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. Model capability columns are for display only. 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 "Conversation and auxiliary models""></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'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'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 "Prompt Tab model""></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 Agents are supported. Node uses the MAR Agent SDK'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 "Dedicated Compact model""></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's model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model'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 "ChatGPT plan authorization""></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's page. A remote Node cannot receive this browser'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'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 "X subscription OAuth (experimental)""></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's localhost. The browser authorization page uses the browser'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 "Configure Codex credentials and the model catalog""></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 "Configure model access""></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'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'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's grant, moving the user outside the credential'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'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 "Sessions and permissions""></a></h2><p>For tool-based work beyond a quick lookup, MAR Agent is guided to briefly explain its approach before starting. During longer tasks, it shares progress, findings, changes of direction, or blockers when useful to you. These updates appear in the conversation, not after every command or at fixed intervals. To redirect ongoing work, see <a href="./../workbench/composer">sending and steering messages</a>.</p><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'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>The session tools <code>thought</code>, <code>todo</code>, <code>sleep</code>, <code>skill_load</code>, and <code>tool_search</code> do not show an Auto <code>permission</code> field to the model. MCP tools found by search still use the ordinary policy.</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 tool 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'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'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's name and purpose. The agent uses <code>skill_load</code> when it needs a Skill; users do not need to name it. The tool adds guidance to the model's context rather than printing it as tool output. Context GC keeps the latest loaded version of each Skill, while Compact clears loaded guidance so the agent can load it again if needed. Workspace Skills take precedence over same-named 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 "Command environment""></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's configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: "…", 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 "Advanced subagent control""></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 an <code>agentId</code> without waiting for completion. It creates a direct child by default. Use <code>relation: "peer"</code> for an independent Session that does not automatically report back; wait or send a message using its returned Agent ID. Peers can use an authorized, enabled conversation model; children also require Subagent support. See <a href="./../operations/marctl">marctl</a> for the CLI equivalent.</p><p><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 <session-id></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'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'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'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 <id> -m <text></code> from other Agents. 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'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 native Agent session histories, 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;">'active'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, query: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'review'</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;">'a'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'b'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'c'</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;">'all'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
5
5
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> waitFor: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'completion'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
6
6
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> waitMs: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">300000</span></span>
|
|
7
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p><code>agentIds</code> must contain 1–8 distinct IDs. Use <code>agentIds: ['id']</code> for one target; <code>agentId</code> is no longer accepted. <code>mode: 'any'</code> (default) returns when any selected target satisfies the condition; <code>mode: 'all'</code> waits for every target. <code>waitFor: 'completion'</code> (default) waits for terminal states; <code>waitFor: 'message'</code> waits for each target's latest unread public message or terminal state, not ordinary tool activity. Failed, cancelled and interrupted turns are also terminal, not successful. An explicit group shares one timeout and returns <code>agents</code> in input order, an overall <code>waitOutcome</code>, and <code>pendingAgentIds</code> for unmet conditions; a timeout can include partial results. <code>waitMs=0</code> returns status snapshots without reading or consuming unread messages. A timeout or cancelled wait does not stop child tasks. Omitting targets still selects only from direct children and returns the selected target in <code>agents</code>; single-target marctl commands are unchanged.</p><p>Native collaboration tools use the same compact result for direct calls and Code Mode <code>data</code>: target identity, actual operation status, new messages or terminal conclusions obtained by waiting, and partial failures, unknown outcomes, and error codes remain available. Internal audit receipts, queue item IDs, and internal execution identifiers are omitted. The optional <code>goal</code> in <code>agent_start</code> and <code>agent_send</code> is a persistent objective across executions, separate from the current message. Omit it or pass <code>null</code> to leave it unchanged, use <code>objective</code> to set or replace it, or use <code>clear</code> to remove it without stopping the current execution.</p><h3 id="collaboration-whiteboard" tabindex="-1">Collaboration Whiteboard <a class="header-anchor" href="#collaboration-whiteboard" aria-label="Permalink to "Collaboration Whiteboard""></a></h3><p>Every Agent keeps its own collaboration whiteboard and can follow one other board. When an Agent brings someone into the work, the new participant keeps its own board and follows the board the initiating Agent follows, or the initiating Agent's own board if it follows none. A disconnected follow is inherited as-is but does not provide board content or allow edits until reconnected. This includes idle Agents brought in by a message. Messaging an active Agent does not change the board it follows.</p><p>The board identifier, <code>boardAgentId</code>, is the owning Agent's ID. Read a board in the same workspace by that ID, even when its owner is idle. Omit the ID to read your own board. Reads return the contents and up to ten recent change summaries without changing what you follow. <code>join</code> accepts an active board's <code>boardAgentId</code> and replaces only the board you follow. Use <code>whiteboard({ action: 'leave' })</code> to stop following another board without changing your own. Use <code>update</code> with the ID of your own board or the board you follow.</p><p>Your own board and the board you follow are provided automatically. Edits can wake sleeping subscribers but do not start idle sessions. When the owner finishes their run, the followed board stops updating automatically but remains readable by ID. This does not affect your own board. To resume following it, join again when the owner is active or ask the owner to send a message from a new run.</p><h3 id="web-search-and-fetch" tabindex="-1">Web search and fetch <a class="header-anchor" href="#web-search-and-fetch" aria-label="Permalink to "Web search and fetch""></a></h3><p>When Hosted Web Search is enabled, both Auto and Full access use the selected model service's native hosted search without a client permission declaration; self-hosted search is not exposed at the same time. Otherwise MAR Agent uses the SearXNG service bundled with Server Compose. Web Fetch connects directly from the Node, does not read model credentials, and never inherits the SOCKS5 proxy configured on a Codex credential. It can reach any HTTP/HTTPS IP address or domain available from the Node, including intranet resources. It accepts self-signed or otherwise untrusted HTTPS certificates by default; set <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code> in the Node service environment to enforce certificate verification.</p><p>Node injects Web tools for the current Execution; they are not built-in Agent SDK network capabilities. <code>web_search</code> returns bounded search snippets. <code>web_fetch</code> uses Chromium to open a URL, or reads and finds literal text in an existing page reference. HTML is converted to bounded Markdown reading windows, with references and continuation cursors visible in the tool result. References are limited to the current session; reopen the URL if a reference expires. Web content is untrusted external data. Each Node fetches at most four pages at a time; excess requests wait in first-come, first-served order instead of failing immediately with a busy error. Queueing, browser rotation, and fetching share a 30-second deadline; expiry returns a timeout error, and cancellation removes the waiting request. HTTP errors, network failures, timeouts, and unreadable pages are reported in that request’s result without cancelling independent reads; invalid input, permission errors, execution cancellation, and runtime setup errors still fail the tool call. Shared Chromium closes after 30 minutes idle or, after one hour of use, once active fetches finish; new requests also queue during rotation, and it starts again on demand. Each child agent receives the search directory for its selected model rather than inheriting the parent model’s choice. Browser reads do not share user login state or cookies, expose no click, login, arbitrary-script, or download API, and do not automatically fall back to another fetch backend. Hosted conversations with network policy <code>NONE</code> receive neither Web tool; web-enabled hosted reads always verify HTTPS certificates.</p><p>Node prepares Chromium during installation/upgrades, never during startup or fetching. If it cannot start, check the service account cache and Linux system libraries. See <a href="./../deployment/node-installation#web-fetch-browser-preparation">Install and Register a Node</a>.</p><h2 id="image-generation-configuration-and-use" tabindex="-1">Image generation configuration and use <a class="header-anchor" href="#image-generation-configuration-and-use" aria-label="Permalink to "Image generation configuration and use""></a></h2><h3 id="configure-image-models" tabindex="-1">Configure image models <a class="header-anchor" href="#configure-image-models" aria-label="Permalink to "Configure image models""></a></h3><p>In the separate <strong>Image generation</strong> tab, every user can add, edit, remove, and enable personal image models. Authorized administrators manage and grant organization image models.</p><p>Select <strong>Adjust order</strong>, drag the order handles, then select <strong>Save order</strong> to apply the priority. <strong>Cancel</strong> restores the original order; other configuration changes are disabled while sorting.</p><p>Codex uses a credential and model ID. Volcengine Ark uses an API key, model ID, and full image-generation endpoint URL shared by generation and editing. Model IDs and URLs have no defaults and must be entered explicitly. Use HTTPS without embedded credentials, query parameters, or fragments. Existing Ark entries require a URL before they can be used. Ark keys are write-only; leaving the key blank when editing the same entry preserves it.</p><h3 id="request-generation-or-editing" tabindex="-1">Request generation or editing <a class="header-anchor" href="#request-generation-or-editing" aria-label="Permalink to "Request generation or editing""></a></h3><p>Each Run selects only the first enabled image model available to the current user. Codex requires an in-scope credential that does not need sign-in again; Ark requires a configured key. Unavailable entries are skipped; text tasks still work when no image model is available. Changes apply to the next Run, and failed requests do not automatically switch providers. Regardless of the text model, including TEXT-only coding models, MAR Agent exposes only the selected provider’s <code>codex_image_gen</code> / <code>codex-imagegen</code> or <code>byted_ark_image_gen</code> / <code>byted_ark-imagegen</code> tool and Node-provided Skill. These tools are available to the root Agent, not Subagents. Both support text-to-image and reference-image editing. Ark produces a single 2K PNG and does not support image groups. Request image generation or editing directly; no Skill installation or explicit Skill name is needed. Agent instructions require loading the Skill before performing image work you requested or explicitly authorized, rather than adding unsolicited images. Only the name and purpose are initially included in context; complete guidance is loaded on demand without creating Skill files in HOME or the Workspace. It does not provide an additional Python CLI or API-key fallback.</p><p>Codex can request transparent backgrounds and simple looping GIFs: 2–16 frames at 20–2000 ms per frame, defaulting to 9 frames at 200 ms. Each call saves one PNG or GIF; actual support depends on the configured model. Describe transparency or animation directly in your request. GIF originals preserve animation; static thumbnails do not verify the full animation.</p><h2 id="code-mode-tool-orchestration" tabindex="-1">Code Mode tool orchestration <a class="header-anchor" href="#code-mode-tool-orchestration" aria-label="Permalink to "Code Mode tool orchestration""></a></h2><p>For JSON tool calls, <code>code_exec</code> takes JavaScript source in <code>code</code>, for example <code>{"code":"observe.text(1);"}</code>. <code>apply_patch</code> takes the complete Patch text in <code>input</code>, including in <code>tools.apply_patch({ input: patchText })</code>; <code>patch</code> is not a supported field for new calls. When either tool is exposed as freeform, send its text directly without a JSON wrapper. Missing-field and type errors identify the required field or the expected and actual types without echoing argument values. Existing completed tool calls retain their recorded arguments during history replay and are not executed again.</p><p>All six Agent collaboration tools support direct and programmatic calls. Code Mode Only exposes them through the cell without a separate dual-exposure setting. Child agents use the Code Mode setting of their selected model.</p><p>Code Mode is disabled by default. MAR Agent exposes a restricted JavaScript orchestration cell only when <strong>Code Mode</strong> is enabled for the selected model and the Host supports execution. The main Agent and Subagents use their respective model settings; protocol type does not imply support. A cell can compose permitted tool calls and emit only the results needed, reducing intermediate model round trips. Enabling the switch defaults to <strong>Code Mode Only</strong>: programmatic tools, including single-tool operations, use <code>code_exec</code> by default; direct-only tools and tools explicitly exposed in both places keep their direct entry points. Disabling it restores ordinary direct calls. Only controls tool exposure and model guidance, not additional permissions; dispatch still follows caller permissions, discovery state, and Host policy. Configuration changes apply to the next execution, not one already running.</p><p>With Code Mode enabled, the model can start a command with <code>exec</code> directly or <code>tools.exec</code> inside a cell. It can wait for the same process by <code>processId</code> with <code>exec_wait</code> directly or <code>tools.exec_wait</code> inside a cell. A new <code>poll</code> that starts waiting takes over live output from an older <code>poll</code> for the same process. The older call returns normally with <code>waitOutcome: interrupted</code> and <code>reason: superseded</code>, without consuming incremental output or stopping the process or cell. <code>code_exec_wait</code> uses a <code>cellId</code> to wait for or cancel the cell itself. <code>apply_patch</code> also supports both entry points.</p><p>Each cell uses a fresh QuickJS WASM runtime in a Host-managed worker process. Top-level <code>await</code> and <code>Promise.all</code> are supported; Node globals, module imports, native file/network APIs, and <code>console.*</code> are unavailable. Use <code>observe.result(result)</code> to register an unmodified complete tool result or caught tool error; use <code>observe.text(value)</code> for derived values and <code>observe.image(value)</code> for images. Observation selects evidence for the model; it does not prove the model read or inspected it. There is no <code>out</code> alias. Files, commands, and network access require explicit <code>programmatic</code> permission on <code>tools.NAME(input)</code>, retaining each tool's own authorization and safety checks. Results use a shared envelope: raw file text is in <code>result.data.results[0].text</code>, not the line-numbered <code>content</code> display.</p><p><code>code_exec</code>, <code>code_exec_wait</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default; explicitly direct-only tools remain direct. In Code Mode, use <code>tools.tool_search</code> to find deferred tools. The SDK supplies matching definitions separately without requiring an observation or changing the current cell. Discovered tools are available from the next model request. When Code Mode is off, use <code>tool_search</code> directly. Await every tool call. Language isolation does not replace Host file permissions, process controls, or OS sandbox policy, and does not make writable tools read-only. Input and text output are each limited to 1 MiB, with up to 128 tool calls per cell. Synchronous JavaScript execution has a 120-second budget; asynchronous tool waits do not consume it, and cells have no fixed wall-clock deadline. Cancellation, timeout, or output limits may follow completed operations; failure does not roll back changes.</p><p>After starting a background process, pass the returned <code>processId</code> to <code>exec_wait</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Waits inside a cell still follow individual tool timeouts and Host policy. <code>exec</code> no longer accepts the old <code>action</code> parameter. The initial wait defaults to 30 seconds and polling with <code>exec_wait</code> defaults to 60 seconds; both are capped at 300 seconds. Explicit <code>yieldMs</code> values below 10000 ms, including 0, use a 10-second window. The wait returns sooner if the process finishes. Cancelling a wait does not terminate the process, and wait windows do not extend the process timeout.</p><p>Background cells are Session warm resources. Both the initial <code>code_exec</code> wait and the follow-up <code>code_exec_wait</code> default to 30 seconds. Explicit wait values do not change nested tools' wait windows. <code>cell.yield_control()</code> ends only the current wait and flushes available output; JavaScript continues in the background. An optional first line <code>// @options: {"yieldMs":30000}</code> sets the initial wait window; the Runtime fixes the output budget. Use direct <code>code_exec_wait</code> with the returned <code>cellId</code> for incremental output or completion; <code>action</code> defaults to <code>poll</code>; <code>action: "cancel"</code> explicitly stops the cell. Ending or cancelling a model Execution does not stop a registered cell. A later Execution can take it over using retained-resource hints. Session resource cleanup, timeouts, and Host disposal stop cells; JavaScript execution is not restored after a process restart. Terminal results have a bounded cache, with repeat reads marked <code>cached: true</code>.</p><p>A later Execution can wait for a background cell and retrieve its results, but the cell does not inherit that Execution's collaboration identity. Once the original Execution ends or is cancelled, new <code>agent_*</code> calls, <code>whiteboard</code> calls, and tool approval requests from that cell are rejected.</p><p>Temporary resource handles have type prefixes: a <code>cellId</code> is <code>c_</code> followed by 12 lowercase hexadecimal characters, and a <code>processId</code> is <code>p_</code> followed by 12 lowercase hexadecimal characters. Copy the complete returned ID unchanged; do not shorten or interchange IDs. Use <code>code_exec_wait</code> for cells and <code>exec_wait</code> for processes. A wrong-type handle returns <code>MAR_AGENT_RESOURCE_HANDLE_TYPE_MISMATCH</code> with the appropriate tool hint; it never redirects the operation automatically. A prefix does not prove that a resource is still available or accessible. Existing Session ownership and cleanup rules remain unchanged.</p><p>Process waits aggregate stdout/stderr until output closes after termination or the wait window ends. New logs do not end the model's wait early. Web command cards can show bounded live previews without extra model requests or consuming the final tool output. Cancellation and user follow-up messages can still end a wait early while the process keeps running.</p><p>The Web conversation displays each <code>code_exec</code> call as a command card with its original JavaScript and call output, without expanding nested tools. Live logs from nested processes appear on the outer code card. After a cell returns running, an active wait card in the same execution continues showing its progress; the final tool result replaces that temporary preview. <code>code_exec_wait</code> also uses a command card for waiting or cancellation results. A returned command card does not mean a yielded background cell has finished.</p><h2 id="local-sdk-and-cli" tabindex="-1">Local SDK and CLI <a class="header-anchor" href="#local-sdk-and-cli" aria-label="Permalink to "Local SDK and CLI""></a></h2><p><code>@myagentroam/agent</code> is an embeddable TypeScript SDK and provides the single <code>maragent</code> command. The CLI uses MAR's own model catalog under the current user's HOME. It does not read Server model settings and does not automatically discover Claude, Codex, or OpenCode configuration. A model can use a static API key or the <code>CODEX_AUTH_FILE</code> credential source. The CLI reads a Codex ChatGPT OAuth file only when the user explicitly supplies <code>--codex-auth-file PATH</code> for the current command. The path and tokens are not written to the model catalog, Session, logs, or events, and the CLI never refreshes or rewrites the file. Run <code>maragent --help</code> for execution, resume, session, and model commands.</p><p>For standalone use, install the package, then use <code>maragent models list</code> to inspect the current account's local model catalog. Consult <code>maragent --help</code> for model registration and execution options. CLI commands and Agent tools run with the account's privileges: use a dedicated account and trusted workspace, not a production directory for experiments.</p><p>The standalone CLI generates titles for new sessions by default. Disable this with the global <code>--no-auto-title</code> option, or explicitly enable it with <code>--auto-title</code>; resumed sessions are not renamed. Title requests can incur additional usage. With <code>--format stream-json</code>, <code>model.usage</code> events provide native per-request usage snapshots, separating conversation, compact and title purposes. Keep only the latest revision for each recordId, do not add it to <code>usage.updated</code>, and leave missing usage unknown. On SIGTERM, the CLI cancels the execution and title request, disposes its own session resources, and exits with 143; SIGINT cancellation exits with 130.</p><p>The standalone CLI loads the Subagent extension by default. New models are enabled for conversation, but not automatically for child Sessions. Use <code>maragent models edit <id> --subagent-model</code> to enable child use, or <code>--no-subagent-model</code> to disable it. A child model must have both conversation and subagent enabled. Check these uses with <code>models list</code>; <code>models add/edit</code> also accepts <code>--conversation-model</code> and <code>--no-conversation-model</code>.</p><p>The standalone CLI model tools use <code>content</code> and optional <code>effort</code> for <code>agent_start</code>. <code>agent_wait</code> accepts only <code>agentIds</code>, including an array for one target, and always returns an <code>agents</code> array. Positive <code>waitMs</code> values are used as supplied, without a hidden minimum; <code>0</code> reads snapshots without consuming unread updates. <code>agent_stop</code> accepts only the target <code>agentId</code>; stopping does not mark undelivered reports as read. Native SDK interfaces retain their own <code>prompt</code>, <code>reasoningEffort</code>, and wait parameters. Standalone roles, model discovery, and append/replace delivery semantics are unchanged.</p><p>This minimal SDK example uses an OpenAI Responses-compatible endpoint. Set the URL, model ID, and token limits to the provider's actual capabilities, then set <code>MODEL_API_KEY</code>, <code>MODEL_BASE_URL</code>, <code>MODEL_ID</code>, <code>AGENT_HOME</code>, and <code>WORKSPACE</code>. <code>session.run</code> makes a real model request and may execute tools. Run it only in an authorized isolated environment; do not put credentials in source files or commits.</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</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;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { createAgent, SecretValue, </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> AgentModelConfiguration } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> '@myagentroam/agent'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
7
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p><code>agentIds</code> must contain 1–8 distinct IDs. Use <code>agentIds: ['id']</code> for one target; <code>agentId</code> is no longer accepted. <code>mode: 'any'</code> (default) returns when any selected target satisfies the condition; <code>mode: 'all'</code> waits for every target. <code>waitFor: 'completion'</code> (default) waits for terminal states; <code>waitFor: 'message'</code> waits for each target's latest unread public message or terminal state, not ordinary tool activity. Failed, cancelled and interrupted turns are also terminal, not successful. An explicit group shares one timeout and returns <code>agents</code> in input order, an overall <code>waitOutcome</code>, and <code>pendingAgentIds</code> for unmet conditions; a timeout can include partial results. <code>waitMs=0</code> returns status snapshots without reading or consuming unread messages. A timeout or cancelled wait does not stop child tasks. Omitting targets still selects only from direct children and returns the selected target in <code>agents</code>; single-target marctl commands are unchanged.</p><p>Native collaboration tools use the same compact result for direct calls and Code Mode <code>data</code>: target identity, actual operation status, new messages or terminal conclusions obtained by waiting, and partial failures, unknown outcomes, and error codes remain available. Internal audit receipts, queue item IDs, and internal execution identifiers are omitted. The optional <code>goal</code> in <code>agent_start</code> and <code>agent_send</code> is a persistent objective across executions, separate from the current message. Omit it or pass <code>null</code> to leave it unchanged, use <code>objective</code> to set or replace it, or use <code>clear</code> to remove it without stopping the current execution.</p><h3 id="collaboration-whiteboard" tabindex="-1">Collaboration Whiteboard <a class="header-anchor" href="#collaboration-whiteboard" aria-label="Permalink to "Collaboration Whiteboard""></a></h3><p>Every Agent keeps its own collaboration whiteboard and can explicitly follow one other board. Starting an Agent, setting a Goal, or sending a message does not create a new follow or switch an existing one.</p><p>The board identifier, <code>boardAgentId</code>, is the owning Agent's ID. Read a board in the same workspace by that ID, even when its owner is idle. Omit the ID to read your own board. Reads return the contents and up to ten recent change summaries without changing your follow or write access. Use <code>join</code> with an active board's <code>boardAgentId</code> to start or replace your follow. Use <code>whiteboard({ action: 'leave' })</code> to stop following without deleting content or affecting your own board. Use <code>update</code> with the ID of your own board or a board you actively follow.</p><p>Your own board and any board you actively follow are supplied automatically. Edits can wake sleeping subscribers but do not start idle sessions. When the board owner finishes their current work, followers stop receiving updates, but they can still read the board by ID. A follower still working in the same run can rejoin the active board or reconnect when a new message from a participant using that board takes effect. Followers do not carry old follows into a new run.</p><h3 id="web-search-and-fetch" tabindex="-1">Web search and fetch <a class="header-anchor" href="#web-search-and-fetch" aria-label="Permalink to "Web search and fetch""></a></h3><p>When Hosted Web Search is enabled, both Auto and Full access use the selected model service's native hosted search without a client permission declaration; self-hosted search is not exposed at the same time. Otherwise MAR Agent uses the SearXNG service bundled with Server Compose. Web Fetch connects directly from the Node, does not read model credentials, and never inherits the SOCKS5 proxy configured on a Codex credential. It can reach any HTTP/HTTPS IP address or domain available from the Node, including intranet resources. It accepts self-signed or otherwise untrusted HTTPS certificates by default; set <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code> in the Node service environment to enforce certificate verification.</p><p>Node injects Web tools for the current Execution; they are not built-in Agent SDK network capabilities. <code>web_search</code> returns bounded search snippets. <code>web_fetch</code> uses Chromium to open a URL, or reads and finds literal text in an existing page reference. HTML is converted to bounded Markdown reading windows, with references and continuation cursors visible in the tool result. References are limited to the current session; reopen the URL if a reference expires. Web content is untrusted external data. Each Node fetches at most four pages at a time; excess requests wait in first-come, first-served order instead of failing immediately with a busy error. Queueing, browser rotation, and fetching share a 30-second deadline; expiry returns a timeout error, and cancellation removes the waiting request. HTTP errors, network failures, timeouts, and unreadable pages are reported in that request’s result without cancelling independent reads; invalid input, permission errors, execution cancellation, and runtime setup errors still fail the tool call. Shared Chromium closes after 30 minutes idle or, after one hour of use, once active fetches finish; new requests also queue during rotation, and it starts again on demand. Each child agent receives the search directory for its selected model rather than inheriting the parent model’s choice. Browser reads do not share user login state or cookies, expose no click, login, arbitrary-script, or download API, and do not automatically fall back to another fetch backend. Hosted conversations with network policy <code>NONE</code> receive neither Web tool; web-enabled hosted reads always verify HTTPS certificates.</p><p>Node prepares Chromium during installation/upgrades, never during startup or fetching. If it cannot start, check the service account cache and Linux system libraries. See <a href="./../deployment/node-installation#web-fetch-browser-preparation">Install and Register a Node</a>.</p><h2 id="image-generation-configuration-and-use" tabindex="-1">Image generation configuration and use <a class="header-anchor" href="#image-generation-configuration-and-use" aria-label="Permalink to "Image generation configuration and use""></a></h2><h3 id="configure-image-models" tabindex="-1">Configure image models <a class="header-anchor" href="#configure-image-models" aria-label="Permalink to "Configure image models""></a></h3><p>In the separate <strong>Image generation</strong> tab, every user can add, edit, remove, and enable personal image models. Authorized administrators manage and grant organization image models.</p><p>Select <strong>Adjust order</strong>, drag the order handles, then select <strong>Save order</strong> to apply the priority. <strong>Cancel</strong> restores the original order; other configuration changes are disabled while sorting.</p><p><strong>OpenAI</strong> image models offer two authentication modes: choose <strong>Codex OAuth</strong> to use a Codex OAuth credential, or <strong>API Key</strong> to call the official OpenAI Images API. Both require a supported image model ID and are independent of the conversation’s text model. The API-key mode optionally accepts <code>socks5://[username:password@]host:port</code>. The executing Node must reach the proxy; failure never falls back to a direct connection. Saved keys and proxy URLs are not shown again. Leave either field blank to keep it, or select <strong>Remove saved proxy and connect directly</strong> before saving. Older Nodes skip API-key entries; Codex OAuth still works.</p><p><strong>Volcengine Ark</strong> requires an API key, model ID, and full image-generation endpoint URL shared by generation and editing. Enter the URL explicitly and use HTTPS without embedded credentials, a query, or a fragment. Saved keys are not shown again; leaving the key blank when editing preserves it.</p><h3 id="request-generation-or-editing" tabindex="-1">Request generation or editing <a class="header-anchor" href="#request-generation-or-editing" aria-label="Permalink to "Request generation or editing""></a></h3><p>Each Run selects the first enabled image model available to both the user and the Node. If none is available, text tasks still work. Changes apply to the next Run; failed requests do not switch providers. Both OpenAI modes use <code>openai_imagegen</code> / <code>openai-imagegen</code>; Ark uses <code>ark_imagegen</code> / <code>ark-imagegen</code>. Only the selected tool and Skill are available, and only to the root Agent. Request an image or edit directly: there is no Skill to install and no need to name a tool. The Agent loads the built-in guidance on demand and only acts when asked or explicitly authorized; it does not fall back to a separate CLI or credentials.</p><p>OpenAI can request a transparent background when the selected model supports it. API-key mode returns one PNG per call. Codex OAuth mode can also request a simple looping GIF, subject to model support and access. A GIF can have 2–16 frames at 20–2000 ms per frame, defaulting to 9 frames at 200 ms. A static thumbnail does not verify animation. Ark returns one 2K PNG and does not support image groups.</p><h2 id="code-mode-tool-orchestration" tabindex="-1">Code Mode tool orchestration <a class="header-anchor" href="#code-mode-tool-orchestration" aria-label="Permalink to "Code Mode tool orchestration""></a></h2><p>For JSON tool calls, <code>code_exec</code> takes JavaScript source in <code>code</code>, for example <code>{"code":"observe.text(1);"}</code>. <code>apply_patch</code> takes the complete Patch text in <code>input</code>, including in <code>tools.apply_patch({ input: patchText })</code>; <code>patch</code> is not a supported field for new calls. When either tool is exposed as freeform, send its text directly without a JSON wrapper. Missing-field and type errors identify the required field or the expected and actual types without echoing argument values. Existing completed tool calls retain their recorded arguments during history replay and are not executed again.</p><p>All six Agent collaboration tools support direct and programmatic calls. Code Mode Only exposes them through the cell without a separate dual-exposure setting. Child agents use the Code Mode setting of their selected model.</p><p>Code Mode is disabled by default. MAR Agent exposes a restricted JavaScript orchestration cell only when <strong>Code Mode</strong> is enabled for the selected model and the Host supports execution. The main Agent and Subagents use their respective model settings; protocol type does not imply support. A cell can compose permitted tool calls and emit only the results needed, reducing intermediate model round trips. Enabling the switch defaults to <strong>Code Mode Only</strong>: programmatic tools, including single-tool operations, use <code>code_exec</code> by default; direct-only tools and tools explicitly exposed in both places keep their direct entry points. Disabling it restores ordinary direct calls. Only controls tool exposure and model guidance, not additional permissions; dispatch still follows caller permissions, discovery state, and Host policy. Configuration changes apply to the next execution, not one already running.</p><p>With Code Mode enabled, the model can start a command with <code>exec</code> directly or <code>tools.exec</code> inside a cell. It can wait for the same process by <code>processId</code> with <code>exec_wait</code> directly or <code>tools.exec_wait</code> inside a cell. A new <code>poll</code> that starts waiting takes over live output from an older <code>poll</code> for the same process. The older call returns normally with <code>waitOutcome: interrupted</code> and <code>reason: superseded</code>, without consuming incremental output or stopping the process or cell. <code>code_exec_wait</code> uses a <code>cellId</code> to wait for or cancel the cell itself. <code>apply_patch</code> also supports both entry points.</p><p>Each cell uses a fresh QuickJS WASM runtime in a Host-managed worker process. Top-level <code>await</code> and <code>Promise.all</code> are supported; Node globals, module imports, native file/network APIs, and <code>console.*</code> are unavailable. Use <code>observe.result(result)</code> to register an unmodified complete tool result or caught tool error; use <code>observe.text(value)</code> for derived values and <code>observe.image(value)</code> for images. Observation selects evidence for the model; it does not prove the model read or inspected it. There is no <code>out</code> alias. Files, commands, and network access require explicit <code>programmatic</code> permission on <code>tools.NAME(input)</code>, retaining each tool's own authorization and safety checks. Results use a shared envelope: raw file text is in <code>result.data.results[0].text</code>, not the line-numbered <code>content</code> display.</p><p><code>code_exec</code>, <code>code_exec_wait</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default; explicitly direct-only tools remain direct. In Code Mode, use <code>tools.tool_search</code> to find deferred tools. The SDK supplies matching definitions separately without requiring an observation or changing the current cell. Discovered tools are available from the next model request. When Code Mode is off, use <code>tool_search</code> directly. Await every tool call. Language isolation does not replace Host file permissions, process controls, or OS sandbox policy, and does not make writable tools read-only. Input and text output are each limited to 1 MiB, with up to 128 tool calls per cell. Synchronous JavaScript execution has a 120-second budget; asynchronous tool waits do not consume it, and cells have no fixed wall-clock deadline. Cancellation, timeout, or output limits may follow completed operations; failure does not roll back changes.</p><p>After starting a background process, pass the returned <code>processId</code> to <code>exec_wait</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Waits inside a cell still follow individual tool timeouts and Host policy. <code>exec</code> no longer accepts the old <code>action</code> parameter. The initial wait defaults to 30 seconds and polling with <code>exec_wait</code> defaults to 60 seconds; both are capped at 300 seconds. Explicit <code>yieldMs</code> values below 10000 ms, including 0, use a 10-second window. The wait returns sooner if the process finishes. Cancelling a wait does not terminate the process, and wait windows do not extend the process timeout.</p><p>Background cells are Session warm resources. Both the initial <code>code_exec</code> wait and the follow-up <code>code_exec_wait</code> default to 30 seconds. Explicit wait values do not change nested tools' wait windows. <code>cell.yield_control()</code> ends only the current wait and flushes available output; JavaScript continues in the background. An optional first line <code>// @options: {"yieldMs":30000}</code> sets the initial wait window; the Runtime fixes the output budget. Use direct <code>code_exec_wait</code> with the returned <code>cellId</code> for incremental output or completion; <code>action</code> defaults to <code>poll</code>; <code>action: "cancel"</code> explicitly stops the cell. Ending or cancelling a model Execution does not stop a registered cell. A later Execution can take it over using retained-resource hints. Session resource cleanup, timeouts, and Host disposal stop cells; JavaScript execution is not restored after a process restart. Terminal results have a bounded cache, with repeat reads marked <code>cached: true</code>.</p><p>A later Execution can wait for a background cell and retrieve its results, but the cell does not inherit that Execution's collaboration identity. Once the original Execution ends or is cancelled, new <code>agent_*</code> calls, <code>whiteboard</code> calls, and tool approval requests from that cell are rejected.</p><p>Temporary resource handles have type prefixes: a <code>cellId</code> is <code>c_</code> followed by 12 lowercase hexadecimal characters, and a <code>processId</code> is <code>p_</code> followed by 12 lowercase hexadecimal characters. Copy the complete returned ID unchanged; do not shorten or interchange IDs. Use <code>code_exec_wait</code> for cells and <code>exec_wait</code> for processes. A wrong-type handle returns <code>MAR_AGENT_RESOURCE_HANDLE_TYPE_MISMATCH</code> with the appropriate tool hint; it never redirects the operation automatically. A prefix does not prove that a resource is still available or accessible. Existing Session ownership and cleanup rules remain unchanged.</p><p>Process waits aggregate stdout/stderr until output closes after termination or the wait window ends. New logs do not end the model's wait early. Web command cards can show bounded live previews without extra model requests or consuming the final tool output. Cancellation and user follow-up messages can still end a wait early while the process keeps running.</p><p>The Web conversation displays each <code>code_exec</code> call as a command card with its original JavaScript and call output, without expanding nested tools. Live logs from nested processes appear on the outer code card. After a cell returns running, an active wait card in the same execution continues showing its progress; the final tool result replaces that temporary preview. <code>code_exec_wait</code> also uses a command card for waiting or cancellation results. A returned command card does not mean a yielded background cell has finished.</p><h2 id="local-sdk-and-cli" tabindex="-1">Local SDK and CLI <a class="header-anchor" href="#local-sdk-and-cli" aria-label="Permalink to "Local SDK and CLI""></a></h2><p><code>@myagentroam/agent</code> is an embeddable TypeScript SDK and provides the single <code>maragent</code> command. The CLI uses MAR's own model catalog under the current user's HOME. It does not read Server model settings and does not automatically discover Claude, Codex, or OpenCode configuration. A model can use a static API key or the <code>CODEX_AUTH_FILE</code> credential source. The CLI reads a Codex ChatGPT OAuth file only when the user explicitly supplies <code>--codex-auth-file PATH</code> for the current command. The path and tokens are not written to the model catalog, Session, logs, or events, and the CLI never refreshes or rewrites the file. Run <code>maragent --help</code> for execution, resume, session, and model commands.</p><p>For standalone use, install the package, then use <code>maragent models list</code> to inspect the current account's local model catalog. Consult <code>maragent --help</code> for model registration and execution options. CLI commands and Agent tools run with the account's privileges: use a dedicated account and trusted workspace, not a production directory for experiments.</p><p>The standalone CLI generates titles for new sessions by default. Disable this with the global <code>--no-auto-title</code> option, or explicitly enable it with <code>--auto-title</code>; resumed sessions are not renamed. Title requests can incur additional usage. With <code>--format stream-json</code>, <code>model.usage</code> events provide native per-request usage snapshots, separating conversation, compact and title purposes. Keep only the latest revision for each recordId, do not add it to <code>usage.updated</code>, and leave missing usage unknown. On SIGTERM, the CLI cancels the execution and title request, disposes its own session resources, and exits with 143; SIGINT cancellation exits with 130.</p><p>The standalone CLI loads the Subagent extension by default. New models are enabled for conversation, but not automatically for child Sessions. Use <code>maragent models edit <id> --subagent-model</code> to enable child use, or <code>--no-subagent-model</code> to disable it. A child model must have both conversation and subagent enabled. Check these uses with <code>models list</code>; <code>models add/edit</code> also accepts <code>--conversation-model</code> and <code>--no-conversation-model</code>.</p><p>The standalone CLI model tools use <code>content</code> and optional <code>effort</code> for <code>agent_start</code>. <code>agent_wait</code> accepts only <code>agentIds</code>, including an array for one target, and always returns an <code>agents</code> array. Positive <code>waitMs</code> values are used as supplied, without a hidden minimum; <code>0</code> reads snapshots without consuming unread updates. <code>agent_stop</code> accepts only the target <code>agentId</code>; stopping does not mark undelivered reports as read. Native SDK interfaces retain their own <code>prompt</code>, <code>reasoningEffort</code>, and wait parameters. Standalone roles, model discovery, and append/replace delivery semantics are unchanged.</p><p>This minimal SDK example uses an OpenAI Responses-compatible endpoint. Set the URL, model ID, and token limits to the provider's actual capabilities, then set <code>MODEL_API_KEY</code>, <code>MODEL_BASE_URL</code>, <code>MODEL_ID</code>, <code>AGENT_HOME</code>, and <code>WORKSPACE</code>. <code>session.run</code> makes a real model request and may execute tools. Run it only in an authorized isolated environment; do not put credentials in source files or commits.</p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</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;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { createAgent, SecretValue, </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> AgentModelConfiguration } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> '@myagentroam/agent'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
8
8
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { LocalAgentHost } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> '@myagentroam/agent/host'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
9
9
|
<span class="line"></span>
|
|
10
10
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> required</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">name</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
@@ -43,4 +43,4 @@ import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.CuVq8pOL.js";const u
|
|
|
43
43
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> console.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">log</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(result.status, result.finalAnswer);</span></span>
|
|
44
44
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">finally</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
45
45
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> agent.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">dispose</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">();</span></span>
|
|
46
|
-
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>The example shows only the final result. For incremental events, iterate the execution handle returned by <code>session.run(...)</code> and await <code>result()</code> when finished. A custom Host is responsible for the capabilities and permission boundaries it declares; LocalAgentHost does not replace operating-system isolation.</p><p>Next: <a href="./runner-troubleshooting">Agent or Model Unavailable</a>.</p><p>Image generation and desktop tools are supplied by Node. The standalone SDK/CLI retains general tools and custom Skills but does not include these capabilities by default; other hosts must provide their own integrations.</p>`,
|
|
46
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>The example shows only the final result. For incremental events, iterate the execution handle returned by <code>session.run(...)</code> and await <code>result()</code> when finished. A custom Host is responsible for the capabilities and permission boundaries it declares; LocalAgentHost does not replace operating-system isolation.</p><p>Next: <a href="./runner-troubleshooting">Agent or Model Unavailable</a>.</p><p>Image generation and desktop tools are supplied by Node. The standalone SDK/CLI retains general tools and custom Skills but does not include these capabilities by default; other hosts must provide their own integrations.</p>`,124)])])}const g=t(o,[["render",i]]);export{u as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.CuVq8pOL.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-
|
|
1
|
+
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.CuVq8pOL.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-12-01T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),o={name:"en-US/runners/mar-agent.md"};function i(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",124)])])}const g=t(o,[["render",i]]);export{u as __pageData,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,o as n,c as o,a3 as s}from"./chunks/framework.CuVq8pOL.js";const p=JSON.parse('{"title":"Messages and Composer","description":"","frontmatter":{"title":"Messages and Composer","lastUpdated":"2026-12-01T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/composer.md","filePath":"en-US/workbench/composer.md"}'),a={name:"en-US/workbench/composer.md"};function r(i,e,d,c,l,h){return n(),o("div",null,[...e[0]||(e[0]=[s('<h1 id="messages-and-composer" tabindex="-1">Messages and Composer <a class="header-anchor" href="#messages-and-composer" aria-label="Permalink to "Messages and Composer""></a></h1><p>Composer combines the message editor, Agent configuration, attachments, context status, queue, and send/stop actions.</p><p>For a new Workspace session, choose the Agent in the welcome prompt. Choose the model, reasoning level, and permissions in Composer.</p><p>Press <code>Enter</code> to send and <code>Shift+Enter</code> for a newline on desktop. During a managed run, ordinary messages are queued. <code>Ctrl+Enter</code> adds information with priority. Node decides delivery from its actual state: when MAR Agent can accept a native addition, the message appears immediately and takes effect after the complete response and tool batch without interrupting generation. Managed waits may return early without stopping background tasks; other tools still finish normally. Other Agents or incompatible configuration changes keep the stop-then-send flow. The body is marked as information received while working; when idle it sends normally. The wrapper is hidden from messages, while attachments and references keep their existing behavior. On mobile, Enter always inserts a newline and the send button submits. When you switch models, the reasoning level changes to the target model's default; you can still select another level exposed by that model.</p><p>Type <code>/</code> to open commands supported by the current Agent and, under the skills group, the skills already loaded in the current workspace. Clicking a command, or pressing Enter while the menu cursor is on its match, runs it. Unknown <code>/xxx</code> input is sent as a regular message; supported slash commands can also accept arguments, such as <code>/goal <objective></code>. Selected skills appear as removable tags above the message body without being sent immediately. Click a tag's close control to remove it. When the message body is empty and the caret is at the start, Backspace removes selected skills from last to first. Sending supplies the selected skills as resource inputs in selection order, without displaying them in the sent message. Files and folders selected with <code>@</code> also appear as removable Composer tags and are hidden after sending; uploaded attachments still display a file list. Configuration controls are disabled when the active run requires a fixed mode. The first message to external history validates continuation automatically; a failed validation does not create a Run.</p><p>Create a phrase and prompt in <strong>Settings → Quick Prompts</strong>. Type <code>#</code> to see all suggestions in the same case-insensitive alphabetical order as the Settings list. Keep typing to filter by phrase. Exact matches come first, then prefix matches, then substring matches; ties stay alphabetical. The first result is selected by default; press Enter on desktop to insert it. Selecting one replaces only the matching <code>#phrase</code>; it does not send the message or remove the remaining draft or attachments.</p><p>In a session on your personal Node, press <code>Alt+↑/↓</code> (<code>Option+↑/↓</code> on macOS) in the message box to browse text you successfully sent from this browser. Recall replaces the text and deselects any Slash command you have not submitted. Current attachments, references, and Skills stay as they are. Recall does not send the message or restore the replaced draft. The browser keeps up to 30 entries per session; entries expire after 30 days without use. Signing out clears this local history.</p><p>Pasting regular text keeps plain text only and remains undoable as one native edit with <code>Ctrl/Command+Z</code>. Text reaching either 100 lines or 10,000 characters is converted to a TXT attachment before it enters the editor, preventing large logs or code blocks from freezing the page. Conversion preserves the existing draft, and a message body is still required before sending.</p><p>Uploaded attachments that have not been sent remain available for one hour. Add them again after they expire.</p><p>In ordinary workspaces, each Composer pane keeps its message draft and unsent attachments together. Switching sessions or opening a new session does not remove attachments or restart uploads. Main and Aside remain independent, as do different workspaces; returning to a workspace restores that pane's attachments. Attachments stay only in the current page's memory and must be added again after refreshing or leaving the page.</p><p>During the short sending window, the input stays visible but is temporarily read-only so the next message cannot mix with the previous one. Success clears the submitted content; failure or the five-second timeout restores editing. For ordinary workspace messages, a late success removes sent attachments while preserving subsequently edited text and newly added attachments, without switching sessions. Removing an attachment while a request is in flight only changes the next draft; it does not withdraw the message already sent.</p><p>In an existing ordinary session, a timeout or unknown network outcome preserves the draft. Sending the unchanged draft again reuses the original message identity. Within its bounded in-process retention window, Node returns the original acceptance result without executing again, even if that Run has ended. After a Node restart, record eviction, or explicit history clearing/session deletion, a manual retry can still execute twice; check the session history and actual outcome first. This guarantee does not cover the first request that creates a session and is not permanent deduplication.</p><p>An idle session starts a sent message immediately and displays it in the conversation. During a run, an ordinary message first appears in the queue above the editor and enters the conversation when execution begins. Selecting Stop enters the stopping state and pauses the session queue; confirm the outcome before resuming or changing the queue.</p><p>On desktop, use the handle to the left of a queued message to drag it into a new position. On mobile, press and hold a queue item, then choose Move up or Move down.</p><p>While editing a queued message, press <code>Esc</code> to discard unsaved changes and exit that editor without stopping the run.</p><p>When you select <strong>Steer</strong> for a queued message, Node rechecks its actual state: during active work it delivers the message with priority as gentle additional information (steer); when idle it sends normally. It uses the latest saved text without adding another wrapper to an existing steer. The page still shows only the body and resources. Automatic delivery in queue order does not become steer, and special inputs such as Goal activation and automatic Goal continuation retain their existing semantics.</p><p>If the MAR Agent execution is still starting, a steer waits for the original message to be recorded and then arrives as a separate message. Startup alone does not interrupt the task. The original text and attachments stay with the original message.</p><h2 id="prompt-tab" tabindex="-1">Prompt Tab <a class="header-anchor" href="#prompt-tab" aria-label="Permalink to "Prompt Tab""></a></h2><p>Prompt Tab triggers Composer Prediction: generating a complete prompt from the conversation and your draft intent. The status bar below the editor shows idle, Generating, or Prediction ready with the relevant shortcuts and action. Generation animates unless reduced motion is requested.</p><p>An administrator first configures a model and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>. The global capability is enabled by default, but an unconfigured model never triggers a request or falls back to the conversation model. Enable <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong>. The dropdown offers <strong>Off / On</strong>, defaults to on when no preference is saved, and applies only to Work mode. A saved Off choice remains off. Changes apply immediately and stay in this browser; this preference is not uploaded or synchronized across browsers.</p><p>With the editor focused and the browser in the foreground, press <code>Tab</code> twice quickly (within about 300ms), or select <strong>Generate</strong>. An empty editor shows the next-message suggestion in its placeholder. With a draft, ghost text previews a complete new prompt based on your intent without changing the original text. Press <code>Tab</code> or select <strong>Accept</strong> to replace the draft, then send it yourself. Native undo restores the original draft. Cursor position and selection do not affect generation; IME composition and open Composer menus prevent requests.</p><p>Press <code>Tab</code> once while generating to cancel. <code>Esc</code> cancels prediction without stopping the Agent. A ready suggestion has a separate <strong>Cancel</strong> button beside <strong>Accept</strong>. Editing the text or cancelling clears it; moving focus, switching windows, or returning to the page does not. Expiry, resource changes, and lost permissions still invalidate suggestions. The editor always consumes plain <code>Tab</code>, even when prediction is disabled or temporarily unavailable; <code>Shift+Tab</code> keeps its original behavior.</p><p>With an empty draft, a visible and focused browser page, and Node support, the current conversation uses these automatic triggers:</p><ul><li>Entering the current conversation: after about one second of staying, check without requiring editor focus, whether the Agent is running or finished. Switching away cancels the pending check. If history is still loading, check once it is ready without another full delay.</li><li>New public Agent reply: the editor must be focused when the reply arrives and still focused before generation. Replies received without editor focus are not replayed as new replies.</li><li>Current turn ending: editor focus is not required. Background pages do not request predictions; an ending already received can be processed on returning to the foreground.</li><li>Editor changes from unfocused to focused: check during execution or after the turn ends. Reuse a valid candidate or in-flight request covering the latest context.</li></ul><p>Overlapping signals are coalesced and rate-limited; continuous updates do not restart the conversation-entry delay. Each entry checks once, and a different conversation does not inherit the previous conversation's request cooldown. Eligible context changes during generation retain at most one follow-up refresh without interrupting or overlapping requests. Automatic refresh preserves a still-valid candidate until the new result is ready, without changing the draft or taking focus. Existing suggestions do not block new reply or ending events. History loading establishes a baseline rather than replaying old events; focusing before history is ready does not lose the entry check. Starting another turn discards the previous queued ending, but not the current conversation's entry or focus check. Manual generation, editing and cancellation clear the pending automatic batch; the Cancel button returning focus does not immediately retry. Later eligible events can still trigger prediction. The entry delay determines when generation starts, not when a suggestion is guaranteed to appear.</p><p>All four Work-mode Agents share this capability; hosted conversations do not support Prompt Tab. You can request it while the Agent is running. Requests send the draft, current conversation, a bounded execution snapshot, and authorized Workspace user-message references to the configured model. References are not filtered by author. Node maintains bounded in-memory caches; refreshing references does not call the model. Actual model usage belongs to the requesting user as prompt-prediction usage. Review suggestions before accepting; they are not evidence that work has finished.</p><p>Each Node stores local UTC daily analysis records under <code>prompt-completion/</code> in its data directory, including input drafts, bounded context, prediction output, status, and duration. Only the current day and previous six days are retained. Records are not uploaded to Server or added to conversation history. They can contain sensitive text and should be treated as private data.</p><p>Candidates are written as your message to the Agent: a request, question, or change of emphasis, rather than the Agent reporting its own plan. Manual Generate requests one nonempty candidate even with an empty draft or a completed task; when the next step is unclear, it favors a relevant read-only follow-up or clarification. Automatic prediction may still return no suggestion. Each prediction uses one generation call. The prompt guides the user perspective and task relevance; there is no separate model review or code-based semantic filter. Node checks output structure, completeness, and bounded length and characters. Invalid or incomplete manual output is reported as a generation failure; it is not replaced with a canned suggestion. Review the candidate before accepting it.</p><p>Each request generates a fresh prediction, rather than reusing the previous suggestion. Node caches loaded reference conversations and refreshes them on use when the refresh interval expires. Conversation messages, Goals, queue changes, and run-state updates do not interrupt generation; the next request uses the updated state.</p><p>Nodes supporting this context extension can use files and diffs viewed on this page within the last three minutes, plus known Goal, pending/waiting work, and queue state. Node rechecks file access and versions; unverifiable content is omitted, and diffs contribute browsing metadata only. Viewing a resource does not authorize changes. Running tasks favor intervention suggestions; completed tasks favor next steps. Unknown state is never treated as completed.</p><p>Automatic abstention or failure silently returns to the idle state without an empty-result notice, notification, or automatic retry. Manual generation retains explicit feedback; if a Node unexpectedly returns an empty result, “No suitable prediction right now” appears briefly.</p><p>If unavailable, check personal preferences, Node compatibility and capability, model/credential access, and resource permissions. See <a href="./../runners/mar-agent">MAR Agent</a> for configuration and access details.</p><h2 id="goals" tabindex="-1">Goals <a class="header-anchor" href="#goals" aria-label="Permalink to "Goals""></a></h2><h3 id="before-starting" tabindex="-1">Before starting <a class="header-anchor" href="#before-starting" aria-label="Permalink to "Before starting""></a></h3><p>MAR Agent, Codex, Claude Code, and OpenCode support Goals with no execution-count limit. Entering, updating, or leaving Goal mode preserves pending regular messages and their order. Switching state alone does not resume a paused queue; actual sends, stops, and resumes follow the regular delivery rules. <strong>MAR Agent retains its current Auto / Full access setting; other Agents switch to their confirmation-free permission, which does not revert when the Goal ends or is removed.</strong> Check the objective, directories, and permission boundaries first, and restore the desired permission manually in Composer afterward.</p><p><code>/goal</code> uses MAR compatibility semantics, managed by the Node for all four Agents; it is distinct from native Codex Goal. The bare command waits for an objective, <code>/goal <objective></code> sets or edits it, and <code>/goal --clear</code> removes it. Native Goal pause, resume, and budget controls are not provided; a native Goal created and completed within the current managed Codex execution also ends this Goal.</p><table tabindex="0"><thead><tr><th>Agent</th><th>Goal permission</th></tr></thead><tbody><tr><td>MAR Agent</td><td>Current setting</td></tr><tr><td>Codex</td><td>Full access</td></tr><tr><td>Claude Code</td><td>Bypass permissions</td></tr><tr><td>OpenCode</td><td>Automatic approval</td></tr></tbody></table><h3 id="start-and-inspect" tabindex="-1">Start and inspect <a class="header-anchor" href="#start-and-inspect" aria-label="Permalink to "Start and inspect""></a></h3><ol><li>Run <code>/goal</code> to show a pending Goal tag.</li><li>Send the next message as the objective. The tag disappears and the queue area shows a Goal heading and objective row. Running <code>/goal</code> again only reports that this mode is already active.</li><li>Hover or focus a shortened objective to read its tooltip, or select <strong>View</strong> for the full objective, execution count, and revision.</li></ol><p>The first execution, or a restart after editing the objective, shows <code>Goal Start</code> followed by the full objective on the next line. Automatic continuation shows only <code>Goal Continue</code>, without repeating the objective. Working time continues accumulating during handoffs and failed-run retry waits. A Goal's wall-clock time starts with its first objective and does not reset on edits; it includes waiting and retries, not just model or tool execution. When the Agent marks it completed or finally blocked, it receives the elapsed time through that status update and should summarize the work, verification, and remaining issues in the same turn. The subsequent summary and Run shutdown are not included in that measurement. Automatic blocking after Agent execution failures may leave no Agent available to summarize.</p><h3 id="steer-update-and-exit" tabindex="-1">Steer, update, and exit <a class="header-anchor" href="#steer-update-and-exit" aria-label="Permalink to "Steer, update, and exit""></a></h3><table tabindex="0"><thead><tr><th>Action</th><th>Effect</th></tr></thead><tbody><tr><td>Enter / Send</td><td>Queues the message to run in the order received after the Goal exits and the current turn finishes; it does not steer the active Goal</td></tr><tr><td>Ctrl+Enter</td><td>Stops the current execution and sends with priority, preserving other queued messages and the objective</td></tr><tr><td>Edit → Update</td><td>Changes the objective, stops the current execution, and immediately restarts with the revised objective; Cancel or <code>Esc</code> discards the edit</td></tr><tr><td>Remove</td><td>Exits Goal and stops automatic continuation, but <strong>does not stop the current execution</strong></td></tr><tr><td>Stop run</td><td>Interrupts the current run and removes the Goal; no separate Remove action is needed</td></tr></tbody></table><p>Regular queued messages do not run between Goal continuation turns, during continuation preparation, or during failed-execution retry waits. They run after the Goal completes, finally blocks, or is removed, once the current turn finishes. Stopping the run still pauses the queue. To intervene immediately, use <code>Ctrl+Enter</code> or a queue item's <strong>Execute now</strong> action; other regular queued messages keep waiting for the Goal to exit.</p><p>Completion, three consecutive successful turns without tool activity, or final blocking exits the mode. Automatic no-progress completion stops continuation but does not prove the objective was achieved; check the Agent's results. In regular Workspaces, MAR Agent Goals can resume through an <a href="./sessions#automatic-continuation-after-orderly-shutdown">orderly shutdown handoff</a>, preserving the objective, timing, and turn count. This does not cover other Agents, hosted conversations, or unexpected exits. Closing the page, removing an objective, or seeing an idle state after restart does not prove that the task completed. After a successful Remove or Stop run, the UI shows the Node-confirmed status, wall-clock time through the action, and number of turns started. Neither action starts another Agent to produce a summary. A pending Goal without an objective has no elapsed time to report.</p><h2 id="steer-on-mobile" tabindex="-1">Steer on mobile <a class="header-anchor" href="#steer-on-mobile" aria-label="Permalink to "Steer on mobile""></a></h2><p>Slide up from Send and release inside the Composer to submit. New and idle conversations send normally; while a run is active, the hint changes to <strong>Release to steer</strong> and releasing steers with the message. Only moving above the Composer switches to <strong>Release to cancel</strong>; move back inside to restore sending. The cancellation boundary follows the actual Composer height rather than a fixed swipe distance. Tapping, holding without sliding up, or returning to the starting position retains ordinary sending and queueing during a run. Nothing is submitted before release, and touching Send does not move focus away from the editor. Cancelling, switching Workspaces or sessions, or losing permission to send preserves the draft. Steering uses the same delivery intent as desktop <code>Ctrl+Enter</code> and does not guarantee interruption-free delivery for every Agent. You can also queue the message normally and use its <strong>Steer</strong> action in the queue.</p>',46)])])}const g=t(a,[["render",r]]);export{p as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,o as n,c as o,a3 as s}from"./chunks/framework.CuVq8pOL.js";const p=JSON.parse('{"title":"Messages and Composer","description":"","frontmatter":{"title":"Messages and Composer","lastUpdated":"2026-
|
|
1
|
+
import{_ as t,o as n,c as o,a3 as s}from"./chunks/framework.CuVq8pOL.js";const p=JSON.parse('{"title":"Messages and Composer","description":"","frontmatter":{"title":"Messages and Composer","lastUpdated":"2026-12-01T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/composer.md","filePath":"en-US/workbench/composer.md"}'),a={name:"en-US/workbench/composer.md"};function r(i,e,d,c,l,h){return n(),o("div",null,[...e[0]||(e[0]=[s("",46)])])}const g=t(a,[["render",r]]);export{p as __pageData,g as default};
|