@myagentroam/server 0.13.33 → 0.13.35
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/package.json +1 -1
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/{AuditManagementPage-DIeyzTxZ.js → AuditManagementPage-BJexrBB7.js} +1 -1
- package/web/assets/{BusyIndicator-Bp-k5YyU.js → BusyIndicator-DEeQy3LB.js} +1 -1
- package/web/assets/{CodeFileEditor-Cvs5REgr.js → CodeFileEditor-DMQ5ZaGW.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-CwMgvPj6.js → ConversationTemplateManagementPage-BTnbs6Rq.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-BmVj6dyf.js → ConversationTemplateManagementPage-CZkN76CT.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-DKg6KA87.js → EnterpriseUserManagementPage-Cb4n4qdB.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-DNa4Ib-4.js → EnvironmentSecretManager-B9nPEPhI.js} +1 -1
- package/web/assets/{FilePreviewLoading-CCpBXquv.js → FilePreviewLoading-DIx3Colx.js} +1 -1
- package/web/assets/{HtmlPreviewFrame-D9oHT2WA.js → HtmlPreviewFrame-DtT2Xofc.js} +3 -3
- package/web/assets/{LicenseManagementPage-rYcbNto5.js → LicenseManagementPage-DOXJUGDU.js} +1 -1
- package/web/assets/{ManagementPagination-CjN5C2Lf.js → ManagementPagination-KGapNw9l.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-feLHHbVM.js → MarAgentModelManagementPage-6321HP3i.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-BrXkNNMW.js → MarAgentModelManagementPage-Brszx2rj.js} +1 -1
- package/web/assets/{MarIcon-B1MdvfHk.js → MarIcon-BABmlPga.js} +1 -1
- package/web/assets/{MarkdownFilePreview-J25_oqV8.js → MarkdownFilePreview-Dn9RCa_P.js} +2 -2
- package/web/assets/{McpDetailsDialog-BHIxXek6.js → McpDetailsDialog-B1mF9Dku.js} +1 -1
- package/web/assets/{McpSourceManagementPage-Br_eebaj.js → McpSourceManagementPage-4YfU5euQ.js} +1 -1
- package/web/assets/{McpSourceManagementPage-BXnmoF7F.js → McpSourceManagementPage-B-gquUB2.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-DAu2p6-Y.js → NodeDetailsDialogs-GobLKkN9.js} +1 -1
- package/web/assets/NodeManagementPage-BUs6NtSU.js +1 -0
- package/web/assets/NodeManagementPage-CA8Os9lg.js +1 -0
- package/web/assets/{OAuthManagementPage-_J7pPOhT.js → OAuthManagementPage-DcGxHhI7.js} +1 -1
- package/web/assets/{OrganizationManagementPage-D2DJbht7.js → OrganizationManagementPage-BovEG5VB.js} +1 -1
- package/web/assets/{RemoteDesktopPage-snWztW9r.js → RemoteDesktopPage-B05bJQb-.js} +1 -1
- package/web/assets/{ResourceManagementPanel-fTyOTFna.js → ResourceManagementPanel-CGRNPLi3.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-PVnihGLZ.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-Di-Ap76U.js} +1 -1
- package/web/assets/{SecretManagementPage-DJDyG9Em.js → SecretManagementPage-KjwYUzWJ.js} +1 -1
- package/web/assets/SecretManagementPage-U4rA2uK7.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-DLJNmU0C.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-Dc9_pRhd.js} +1 -1
- package/web/assets/{SessionSharePage-XRESY7bN.js → SessionSharePage-BZzY1CJ_.js} +2 -2
- package/web/assets/{SettingsContent-CBhhJen7.js → SettingsContent-B4pONQG4.js} +1 -1
- package/web/assets/{SettingsContent-CPXGDwJE.js → SettingsContent-COvy8ug_.js} +1 -1
- package/web/assets/SkillCenterPage-BlZhWGvt.js +1 -0
- package/web/assets/{SkillCenterPage-C9ekLEm2.js → SkillCenterPage-CMPUiKhO.js} +1 -1
- package/web/assets/{SkillDetailsDialog-CI2caBNQ.js → SkillDetailsDialog-fl1THqUe.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-FhtIMc8A.js → SkillSourceManagementPage-BM_iymYP.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-BZ8R7Uz8.js → SkillSourceManagementPage-DyPWS0H2.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-PCVBBd-D.js → StandaloneFilePreviewPage-DrbheV4H.js} +1 -1
- package/web/assets/SystemConfigurationPage-BfnDoYy9.js +1 -0
- package/web/assets/{SystemConfigurationPage-BMc3LfdK.js → SystemConfigurationPage-lE5mnAs7.js} +1 -1
- package/web/assets/{SystemInformationPage-BSRwapNd.js → SystemInformationPage-Bb0MMYcq.js} +1 -1
- package/web/assets/{TerminalTabView-CBbzdc1k.js → TerminalTabView-CSqYSn-0.js} +1 -1
- package/web/assets/{WorkbenchPage-Buu6X51Q.js → WorkbenchPage-CLbULFFI.js} +4 -4
- package/web/assets/WorkspaceManagementPage-BdhTcBpk.js +1 -0
- package/web/assets/WorkspaceManagementPage-oCtV6iu0.js +1 -0
- package/web/assets/{_baseIteratee-CYl3ypkU.js → _baseIteratee-C_-viEp6.js} +1 -1
- package/web/assets/{abnfDiagram-VCTEODGH-BnM1fHx8.js → abnfDiagram-VCTEODGH-B29ohOrU.js} +1 -1
- package/web/assets/{advancedFormat-uSs8cu5U.js → advancedFormat-DnMomRTo.js} +1 -1
- package/web/assets/{arc-CzKdVmJ9.js → arc-BbNvXCIz.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-C5j93wTN.js → architectureDiagram-5GKGNRK7-BVdwYjEP.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-BgBQqeQm.js → blockDiagram-OSKFZWR5--udN8LT9.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-BmpMY2h4.js → c4Diagram-7LVT6UL2-D7K1mXwW.js} +1 -1
- package/web/assets/{catalog-ownership-service-DMtQHfH8.js → catalog-ownership-service-BpN_OdsQ.js} +1 -1
- package/web/assets/{catalog-page-service-Bmw1UL-o.js → catalog-page-service-C9JH4GkB.js} +1 -1
- package/web/assets/channel-DlgugLCi.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-BcATVc5j.js → chunk-2Q5K7J3B-DwwMdmyh.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-C7kKPM_c.js → chunk-5VM5RSS4-DLGJxPRp.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-DJw5zhYF.js → chunk-F27PBJKO-BMAnOghK.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-Btv_V9u_.js → chunk-HLEWEB6X-DW9jYn-i.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-B8Tf2gEp.js → chunk-JWPE2WC7-CfSM9esF.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-neNSDW2v.js → chunk-POPQ4Y6H-BSAShgVC.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-Qgr4_8GN.js → chunk-SVP7TREG-4fhBrCef.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DSPiFr_L.js → chunk-XXDRQBXY-D_Dy9jDV.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-Bp2Cj4MM.js → chunk-ZLD2IHE6-BW7a4WaH.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-BlDxPlGn.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-BlDxPlGn.js +1 -0
- package/web/assets/{conversation-history-DJNJxP0X.js → conversation-history-CwKfFMoN.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-XCux7Fr_.js → cose-bilkent-JH36ORCC-CDiL8bEp.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-CHchAm1E.js → cynefin-OW5HDTMX-Barl82Tm.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-Crx6de17.js → cynefinDiagram-5FMLGOSQ-DxxEYd2R.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-DYDnYRjF.js → dagre-OS7QT2EB-CYiyCoY7.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-CYsG7r9y.js → diagram-S7CK7UJ4-DqMRQrof.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-BKKwN1tz.js → diagram-UQ7AKVKN-C5q4sFBg.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-K-GBppiN.js → diagram-VSXAHHWV-CEHcFP38.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-CNtuI1qD.js → diagram-VX7I27RA-BpG7d8MY.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-DJkmEICL.js → diagram-Z3DM3KII-CiKhEnvk.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-8h4isA1G.js → ebnfDiagram-PWID7BFC-DwiZAMVl.js} +1 -1
- package/web/assets/{el-alert-CrzK1CXW.js → el-alert-B8jZHXU-.js} +1 -1
- package/web/assets/{el-cascader-CRplktUB.js → el-cascader-H--FQmqC.js} +1 -1
- package/web/assets/{el-checkbox-C_u2qFcE.js → el-checkbox-Y537iajg.js} +1 -1
- package/web/assets/{el-date-picker-BCdkHmpG.js → el-date-picker-Drf8A_km.js} +1 -1
- package/web/assets/{el-descriptions-CIZFc5TM.js → el-descriptions-B0QbdKyA.js} +1 -1
- package/web/assets/{el-form-item-DxnQriew.js → el-form-item-X8c5j-2S.js} +1 -1
- package/web/assets/{el-input-DvEMfJ_F.js → el-input-DJfORM47.js} +1 -1
- package/web/assets/{el-input-number-pef3FtaS.js → el-input-number-DDphsv7w.js} +1 -1
- package/web/assets/{el-radio-CCPkZN89.js → el-radio-CZVCeJ2d.js} +1 -1
- package/web/assets/{el-scrollbar-zeeqRZ--.js → el-scrollbar-CVPsC1FC.js} +1 -1
- package/web/assets/{el-select-y8ok3hlS.js → el-select-GGP8X-sA.js} +1 -1
- package/web/assets/{el-switch-C8HDIUls.js → el-switch-BL0YhRTy.js} +1 -1
- package/web/assets/{el-tab-pane-Bmj70Q7q.js → el-tab-pane-Dufieh_g.js} +1 -1
- package/web/assets/{el-table-column-DVpIY0xB.js → el-table-column-B6R3vS9p.js} +1 -1
- package/web/assets/{enterprise-management-service-hoAMc5ON.js → enterprise-management-service-Drh8cRQO.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-KMc4M5Ww.js → erDiagram-2YWLMYGG-DfAxpehW.js} +1 -1
- package/web/assets/{error-presentation-BmkVM4Nd.js → error-presentation-CbYzmQdG.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-BTT2o3kT.js → flowDiagram-T62WH6J4-DaOMjKL9.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-D6xrum90.js → ganttDiagram-EL5Y4UJY-CJNmlgR2.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-BL4TSaI4.js → gitGraphDiagram-WWUBYQGX-DzSp_79X.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-D1YgLxhg.js → hosted-conversation-template-client-DptWy826.js} +1 -1
- package/web/assets/{index-CsL1dN22.js → index-37ToOHSL.js} +1 -1
- package/web/assets/{index-CA0Ld9oD.js → index-9K-wpd2o.js} +1 -1
- package/web/assets/{index-BBWooNJG.js → index-B5Z7-P-f.js} +1 -1
- package/web/assets/{index-CIZUjoit.js → index-B92NmvlM.js} +1 -1
- package/web/assets/{index-Bvtmzmtk.js → index-BFTAOeP_.js} +1 -1
- package/web/assets/{index-ChlKzVPM.js → index-BG53SBNU.js} +1 -1
- package/web/assets/{index--_6MU4yt.js → index-BLVkwvuO.js} +1 -1
- package/web/assets/{index-Cr2aROTA.js → index-BYHpIGw6.js} +1 -1
- package/web/assets/{index-Dv6eOgsW.js → index-BZ3R4UgP.js} +1 -1
- package/web/assets/{index-Zi2gxxGg.js → index-Bda-a6F9.js} +1 -1
- package/web/assets/{index-BOn5Dw4h.js → index-BjeVn4ms.js} +1 -1
- package/web/assets/{index-BQT1fHIk.js → index-C08-mGqA.js} +1 -1
- package/web/assets/{index-BAHrsRm3.js → index-C7U-wiKp.js} +4 -4
- package/web/assets/{index-CxsyFgp7.js → index-C7U9x3qF.js} +1 -1
- package/web/assets/{index-CzCQ5sar.js → index-CDcLXWOM.js} +1 -1
- package/web/assets/{index-C00c0HBR.js → index-CEXT39X5.js} +1 -1
- package/web/assets/{index-BoZvPdM5.js → index-Cc-dYBPU.js} +1 -1
- package/web/assets/{index-DOoLqQZK.js → index-CnwejW60.js} +1 -1
- package/web/assets/{index-DNR77Sms.js → index-DL4LBw2H.js} +1 -1
- package/web/assets/{index-hCNaI7NU.js → index-DPJCsmno.js} +1 -1
- package/web/assets/{index-DsR1ntGA.js → index-DYNOIyXv.js} +1 -1
- package/web/assets/{index-daork83g.js → index-DdvXPxQl.js} +1 -1
- package/web/assets/{index-DQ_aYaP2.js → index-DjYIme5o.js} +1 -1
- package/web/assets/{index-DnNpBtLs.js → index-DnYVvUG-.js} +1 -1
- package/web/assets/{index-ZCRUQjJ5.js → index-DoCVglbD.js} +1 -1
- package/web/assets/{index-lCxTsCku.js → index-DpC9cGgT.js} +1 -1
- package/web/assets/{index-CLZIjHmX.js → index-LUV7ARVD.js} +1 -1
- package/web/assets/{index-Bqn79xj3.js → index-QdxVLeop.js} +1 -1
- package/web/assets/{index-DNGy5ww6.js → index-_9m8ry_F.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-CbPQT4HO.js +2 -0
- package/web/assets/{isArrayLikeObject-DE68DHK1.js → isArrayLikeObject-CkXYT6J2.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-Vs78og6P.js → ishikawaDiagram-5VMMS53U-DFgHSnHC.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-DYljk3mR.js → journeyDiagram-EYS64GPL-BAGcI0yR.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-Cm6kEKi7.js → kanban-definition-UXKFOSKX-DPYUNTfo.js} +1 -1
- package/web/assets/{layout-CeXPeegU.js → layout-DAz6Nx8U.js} +1 -1
- package/web/assets/{linear-B_U7_508.js → linear-ClDailes.js} +1 -1
- package/web/assets/{management-url-service-Bd3ZJo6p.js → management-url-service-C4KUSGJx.js} +1 -1
- package/web/assets/{mcp-center-service-BFeMan8Z.js → mcp-center-service-Dt-VTaf8.js} +1 -1
- package/web/assets/{merge-irVpDGBQ.js → merge-DVBpAH-e.js} +1 -1
- package/web/assets/{mermaid.core-B5F077fh.js → mermaid.core-BHjzOD7N.js} +5 -5
- package/web/assets/{message-box-service-D4ywiKbU.js → message-box-service-dQJ-mahI.js} +1 -1
- package/web/assets/{mindmap-definition-THT77NOG-VWIYXPh9.js → mindmap-definition-THT77NOG-D-p7GwkI.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-wK-nT9dC.js → mobile-dialog-return-service-bHOBsNqZ.js} +1 -1
- package/web/assets/{oauth-callback-B1Sfcb28.js → oauth-callback--HBBRnNi.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-B2cClnhQ.js → pegDiagram-XKGWAZYB-uYTgg3yj.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-D_llbUqI.js → pieDiagram-E7YTZNPT-BzU28Smb.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-TRMw-3gb.js → quadrantDiagram-AXDQQJYC-BIGjKCea.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-_j4lHuoi.js → railroadDiagram-O6MQD6OU-Dn9rHCZO.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-CPVdFZa5.js → requirementDiagram-IS5BZ75X-FqBY69VR.js} +1 -1
- package/web/assets/{runner-presentation-CFi2C7Uh.js → runner-presentation-Bv96bheL.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-Bzg6CZ2g.js → sankeyDiagram-P5KCCOFB-DQ3ycNwd.js} +1 -1
- package/web/assets/{sequenceDiagram-WJ2MYXX4-D3Lj6xDo.js → sequenceDiagram-WJ2MYXX4-CJGIVk4y.js} +1 -1
- package/web/assets/{session-share-client-service-CpPpMedk.js → session-share-client-service-DxJCbv68.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-CkiTPGnD.js → sizeCapture-INFHLROL-CA__RaUF.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-DQp7gaeR.js → stateDiagram-XQSTLZYL-BQiXe7zF.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CyjNdvdl.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-DQGlOq4_.js → swimlanes-V6O3JKXN-DrpOBUo8.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-DOVJPNQ7.js +8 -0
- package/web/assets/{time-presentation-DFPXvZHN.js → time-presentation-Bul34f1n.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-LGBDSvAL.js → timeline-definition-24CTP7MA-usuT5Qzm.js} +1 -1
- package/web/assets/{union-CHZYljBD.js → union-el_uYf6g.js} +1 -1
- package/web/assets/{use-form-common-props-BLAFMPmA.js → use-form-common-props-45MlZgk5.js} +1 -1
- package/web/assets/{use-wheel-D816DWxq.js → use-wheel-CYEKut4s.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-BhzTLc6r.js → vennDiagram-4TSXK5OY-IfiYnlMt.js} +1 -1
- package/web/assets/{vnode-CA_wRCSH.js → vnode-CvGlIY4D.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-E6JCHTcB.js → wardleyDiagram-VM6X3IG4-CNKriWn7.js} +1 -1
- package/web/assets/workbench-composer-interaction-controller-CEdVgWRJ.css +1 -0
- package/web/assets/{workbench-composer-interaction-controller-CN9TGYHf.js → workbench-composer-interaction-controller-LBM0_Y8c.js} +3 -3
- package/web/assets/{workbench-live-service-DC_pZ-CK.js → workbench-live-service-CmLm2zud.js} +1 -1
- package/web/assets/{workbench-presentation-1Jj4yfU0.js → workbench-presentation-BZvSIhEf.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-DmDlk_Vw.js → xychartDiagram-S5SC5T6Z-DpJQ5FH3.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.4Dc0h3Z_.js → app.SxE1mEU4.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DLue-Eht.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.btyWXBff.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.rcxnp4E2.js → VPLocalSearchBox.DqfuigSD.js} +1 -1
- package/web/docs/assets/chunks/{theme.dAGtYy8D.js → theme.CWxstke9.js} +2 -2
- package/web/docs/assets/{en-US_runners_mar-agent.md.BgeOE7Dl.js → en-US_runners_mar-agent.md.D4jOCeFL.js} +3 -3
- package/web/docs/assets/{en-US_runners_mar-agent.md.BgeOE7Dl.lean.js → en-US_runners_mar-agent.md.D4jOCeFL.lean.js} +1 -1
- package/web/docs/assets/{runners_mar-agent.md.C-uDL3Rn.js → runners_mar-agent.md.BaHcT8hP.js} +3 -3
- package/web/docs/assets/{runners_mar-agent.md.C-uDL3Rn.lean.js → runners_mar-agent.md.BaHcT8hP.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/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +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/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +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 +1 -1
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/NodeManagementPage-CE6-nP4M.js +0 -1
- package/web/assets/NodeManagementPage-Dit25udO.js +0 -1
- package/web/assets/SecretManagementPage-t2bqq4en.js +0 -1
- package/web/assets/SkillCenterPage-VlJMbvfQ.js +0 -1
- package/web/assets/SystemConfigurationPage-BIDhtGWw.js +0 -1
- package/web/assets/WorkspaceManagementPage-BE_TqmAq.js +0 -1
- package/web/assets/WorkspaceManagementPage-BwLUznlc.js +0 -1
- package/web/assets/channel-C3b44Wtf.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-dpn5tGDQ.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-dpn5tGDQ.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-DR4ZADOa.js +0 -2
- package/web/assets/stateDiagram-v2-IH3M54BS-D3tx847B.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-DJtcBVAP.js +0 -8
- package/web/assets/workbench-composer-interaction-controller--zLK3h8M.css +0 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.BB5TROSN.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.CaQPJdRD.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="configure-and-use-mar-agent" tabindex="-1">Configure and Use MAR Agent <a class="header-anchor" href="#configure-and-use-mar-agent" aria-label="Permalink to "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><strong>Context GC</strong> is enabled by default and can be turned off per model. When off, neither text nor image GC runs; automatic Compact and the image request hard limit still apply, and requests exceeding that limit are rejected. Disabling GC requires a Node that advertises support for the switch; older Nodes do not silently ignore it. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential'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 8 attempts. Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The information icon at the lower-right of a Workspace session shows the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. Average output TPS updates only after the request ends, the provider reports authoritative output tokens, and the summed observed generation duration is at least one second. Shorter windows do not publish a new TPS value; Latency and token usage still update, and the previous valid TPS remains within the same Run. TPS uses client-observed generation intervals, excluding client-tool execution and explicit Hosted Tool execution pauses. Output tokens may include reasoning and tool calls, and network or upstream buffering may affect the observed duration, so TPS is not pure server-side inference speed.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to "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 Runners 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>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>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the Runner approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account'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. When a request clearly matches a Skill, MAR Agent loads that Skill's complete workflow and resource directory; users do not need to name it. For duplicate names, Workspace Skills take precedence over user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to "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 after registering the child session and its first execution, without waiting for completion; a manual marctl creation may omit the title. Use the returned <code>agentId</code> to address the child. <code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history <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's native <code>agent_send</code> accepts a <code>delivery</code> parameter of <code>STEER</code> or <code>QUEUE</code>. For messages with text, omitting it defaults to <code>STEER</code>; Goal-only updates and approval decisions are unaffected, and public message API and CLI defaults remain unchanged. Other Runners use <code>marctl agents send <id> --steer -m <text></code>. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session's containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan Runners, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
|
|
1
|
+
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="configure-and-use-mar-agent" tabindex="-1">Configure and Use MAR Agent <a class="header-anchor" href="#configure-and-use-mar-agent" aria-label="Permalink to "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><strong>Context GC</strong> is enabled by default and can be turned off per model. When off, neither text nor image GC runs; automatic Compact and the image request hard limit still apply, and requests exceeding that limit are rejected. Disabling GC requires a Node that advertises support for the switch; older Nodes do not silently ignore it. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential'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 8 attempts. Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The information icon at the lower-right of a Workspace session shows the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. Average output TPS updates only after the request ends, the provider reports authoritative output tokens, and the summed observed generation duration is at least one second. Shorter windows do not publish a new TPS value; Latency and token usage still update, and the previous valid TPS remains within the same Run. TPS uses client-observed generation intervals, excluding client-tool execution and explicit Hosted Tool execution pauses. Output tokens may include reasoning and tool calls, and network or upstream buffering may affect the observed duration, so TPS is not pure server-side inference speed.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to "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 Runners 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>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>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the Runner approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account'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. When a request clearly matches a Skill, MAR Agent loads that Skill's complete workflow and resource directory; users do not need to name it. For duplicate names, Workspace Skills take precedence over user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to "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 after registering the child session and its first execution, without waiting for completion; a manual marctl creation may omit the title. Use the returned <code>agentId</code> to address the child. <code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history <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>. For messages with text, omitting it defaults to <code>STEER</code>; Goal-only updates and approval decisions are unaffected, and public message API and CLI defaults remain unchanged. Other Runners use <code>marctl agents send <id> --steer -m <text></code>. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session's containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan Runners, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
|
|
2
2
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({ scope: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'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="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, <code>apply_patch</code>, <code>exec</code>, and <code>exec_wait</code> remain available both directly and programmatically. The model chooses either entry point for <code>apply_patch</code> and <code>exec</code>; for a single process wait, prefer direct <code>exec_wait</code>, while concurrent waits or composed processing can use <code>tools.exec_wait</code>. Do not wait for the same process through both entry points at once. Default exposure for other tools and existing caller permissions remain unchanged.</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>tool_search</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default and run through Code Mode in Only mode; explicitly direct-only tools remain direct. Discover deferred tools with a direct <code>tool_search</code> call. Search results carry names, descriptions, and input definitions without growing the Code Mode description; discovered programmatic tools become callable in a cell from the next model response. 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. Start background processes with a direct <code>exec({ command, ... })</code> call or <code>tools.exec({ command, ... })</code> inside a cell, then use direct <code>exec_wait</code> or <code>tools.exec_wait</code> inside a cell with the returned <code>processId</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Both process tools support direct and programmatic calls and keep both entry points in Only mode. 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 10 seconds, capped at 30 seconds; <code>exec_wait</code> defaults to 60 seconds, capped at 300 seconds. Explicit <code>yieldMs: 0</code> returns immediately. 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. The initial <code>code_exec</code> wait defaults to 30 seconds; <code>code_exec_wait</code> defaults to 10 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>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>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="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, <code>apply_patch</code>, <code>exec</code>, and <code>exec_wait</code> remain available both directly and programmatically. The model chooses either entry point for <code>apply_patch</code> and <code>exec</code>; for a single process wait, prefer direct <code>exec_wait</code>, while concurrent waits or composed processing can use <code>tools.exec_wait</code>. Do not wait for the same process through both entry points at once. Default exposure for other tools and existing caller permissions remain unchanged.</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>tool_search</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default and run through Code Mode in Only mode; explicitly direct-only tools remain direct. Discover deferred tools with a direct <code>tool_search</code> call. Search results carry names, descriptions, and input definitions without growing the Code Mode description; discovered programmatic tools become callable in a cell from the next model response. 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. Start background processes with a direct <code>exec({ command, ... })</code> call or <code>tools.exec({ command, ... })</code> inside a cell, then use direct <code>exec_wait</code> or <code>tools.exec_wait</code> inside a cell with the returned <code>processId</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Both process tools support direct and programmatic calls and keep both entry points in Only mode. 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 10 seconds, capped at 30 seconds; <code>exec_wait</code> defaults to 60 seconds, capped at 300 seconds. Explicit <code>yieldMs: 0</code> returns immediately. 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. The initial <code>code_exec</code> wait defaults to 30 seconds; <code>code_exec_wait</code> defaults to 10 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>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.BHjrhdiC.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>`,114)])])}const g=t(i,[["render",o]]);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.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",
|
|
1
|
+
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-17T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),i={name:"en-US/runners/mar-agent.md"};function o(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",114)])])}const g=t(i,[["render",o]]);export{u as __pageData,g as default};
|