@myagentroam/server 0.15.20 → 0.15.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/dist/browser-attachment.d.ts +9 -1
- package/node_modules/@myagentroam/protocol/dist/browser-attachment.js +1 -1
- package/node_modules/@myagentroam/protocol/dist/browser-files.d.ts +48 -79
- package/node_modules/@myagentroam/protocol/dist/browser-files.js +14 -27
- package/node_modules/@myagentroam/protocol/dist/browser-stream.d.ts +9 -0
- package/node_modules/@myagentroam/protocol/dist/browser-stream.js +79 -0
- package/node_modules/@myagentroam/protocol/dist/byte-frame.d.ts +1 -13
- package/node_modules/@myagentroam/protocol/dist/byte-frame.js +6 -44
- package/node_modules/@myagentroam/protocol/dist/direct-transfer.d.ts +97 -84
- package/node_modules/@myagentroam/protocol/dist/direct-transfer.js +10 -31
- package/node_modules/@myagentroam/protocol/dist/file-relay.d.ts +1 -1
- package/node_modules/@myagentroam/protocol/dist/file-relay.js +3 -20
- package/node_modules/@myagentroam/protocol/dist/file-upload-stream.d.ts +3 -0
- package/node_modules/@myagentroam/protocol/dist/file-upload-stream.js +29 -0
- package/node_modules/@myagentroam/protocol/dist/index.d.ts +118 -90
- package/node_modules/@myagentroam/protocol/dist/index.js +15 -16
- package/node_modules/@myagentroam/protocol/dist/node-connection.d.ts +27 -0
- package/node_modules/@myagentroam/protocol/dist/node-connection.js +108 -0
- package/node_modules/@myagentroam/protocol/dist/node-relay-path.d.ts +11 -0
- package/node_modules/@myagentroam/protocol/dist/node-relay-path.js +48 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-mux.d.ts +23 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-mux.js +123 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-path.d.ts +28 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-path.js +64 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-wire.d.ts +109 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream-wire.js +88 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream.d.ts +28 -0
- package/node_modules/@myagentroam/protocol/dist/node-stream.js +181 -0
- package/node_modules/@myagentroam/protocol/dist/scheduled-time.d.ts +2 -2
- package/node_modules/@myagentroam/protocol/dist/stream-record.d.ts +3 -0
- package/node_modules/@myagentroam/protocol/dist/stream-record.js +41 -0
- package/node_modules/@myagentroam/protocol/dist/terminal-direct.d.ts +0 -26
- package/node_modules/@myagentroam/protocol/dist/terminal-direct.js +0 -14
- package/node_modules/@myagentroam/protocol/dist/terminal-stream.d.ts +3 -0
- package/node_modules/@myagentroam/protocol/dist/terminal-stream.js +9 -0
- package/node_modules/@myagentroam/protocol/dist/workbench-notification.d.ts +6 -6
- package/node_modules/@myagentroam/protocol/package.json +46 -1
- package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.d.ts +6 -4
- package/node_modules/@myagentroam/server-core/dist/browser-attachment-coordinator.js +25 -16
- package/node_modules/@myagentroam/server-core/dist/direct-transfer-coordinator.js +4 -1
- package/node_modules/@myagentroam/server-core/dist/domain-errors.js +0 -2
- package/node_modules/@myagentroam/server-core/dist/file-content-stream.d.ts +1 -1
- package/node_modules/@myagentroam/server-core/dist/file-content-stream.js +5 -2
- package/node_modules/@myagentroam/server-core/dist/hosted-conversation-context.d.ts +5 -0
- package/node_modules/@myagentroam/server-core/dist/hosted-conversation-context.js +12 -5
- package/node_modules/@myagentroam/server-core/dist/hosted-conversation-routes.d.ts +21 -0
- package/node_modules/@myagentroam/server-core/dist/hosted-conversation-routes.js +89 -57
- package/node_modules/@myagentroam/server-core/dist/hosted-http-support.d.ts +2 -2
- package/node_modules/@myagentroam/server-core/dist/hosted-http-support.js +3 -3
- package/node_modules/@myagentroam/server-core/dist/marctl-routes.d.ts +0 -13
- package/node_modules/@myagentroam/server-core/dist/marctl-routes.js +1 -42
- package/node_modules/@myagentroam/server-core/dist/node-relay-channel.d.ts +32 -0
- package/node_modules/@myagentroam/server-core/dist/node-relay-channel.js +161 -0
- package/node_modules/@myagentroam/server-core/dist/node-stream-relay.d.ts +29 -0
- package/node_modules/@myagentroam/server-core/dist/node-stream-relay.js +179 -0
- package/node_modules/@myagentroam/server-core/dist/session-share-resource-routes.d.ts +6 -0
- package/node_modules/@myagentroam/server-core/dist/session-share-resource-routes.js +54 -51
- package/node_modules/@myagentroam/server-core/dist/session-share-routes.d.ts +5 -0
- package/node_modules/@myagentroam/server-core/dist/session-share-routes.js +1 -0
- package/node_modules/@myagentroam/server-core/dist/terminal-direct-coordinator.js +6 -1
- package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.d.ts +9 -57
- package/node_modules/@myagentroam/server-core/dist/terminal-relay-service.js +86 -741
- package/node_modules/@myagentroam/server-core/dist/workbench-notification-service.d.ts +1 -1
- package/node_modules/@myagentroam/server-core/dist/workspace-route-contracts.d.ts +1 -1
- package/node_modules/@myagentroam/server-core/dist/workspace-routes.js +19 -53
- package/node_modules/@myagentroam/server-core/package.json +7 -7
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/node-control-factory.js +0 -3
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-application.js +13 -6
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +35 -22
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.js +183 -48
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/browser-file-routes.d.ts +2 -3
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/browser-file-routes.js +64 -54
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/node-routes.js +32 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.d.ts +8 -10
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/realtime-routes.js +84 -34
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/route/resource-grant-routes.js +4 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.d.ts +46 -16
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/browser-workbench-service.js +125 -66
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.d.ts +28 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/file-stream-tickets.js +86 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.d.ts +2 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-request-broker.js +6 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/node-resource-scope-index.js +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.d.ts +22 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/service/workspace-file-stream-tickets.js +44 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/AuditManagementPage-Bjc6YoAT.js +1 -0
- package/web/assets/AuthEntryPanel-Deuw1Vwj.js +48 -0
- package/web/assets/{CodeFileEditor-CnjJpn8n.js → CodeFileEditor-BMaCv2dZ.js} +3 -3
- package/web/assets/ConversationTemplateManagementPage--3rA8SWL.js +1 -0
- package/web/assets/ConversationTemplateManagementPage-CQxZji_s.js +1 -0
- package/web/assets/EnterpriseUserManagementPage-cW64iBEr.js +1 -0
- package/web/assets/EnvironmentSecretManager-BxzkGD7u.js +1 -0
- package/web/assets/{FilePreviewLoading-OzdyIhrT.js → FilePreviewLoading-B8eBR7Vq.js} +20 -20
- package/web/assets/LicenseManagementPage-Do8Bi5kR.js +1 -0
- package/web/assets/{ManagementPagination-B0oPypEL.js → ManagementPagination-DpTtKqz9.js} +1 -1
- package/web/assets/MarAgentModelManagementPage-CmJxBJz7.js +1 -0
- package/web/assets/MarAgentModelManagementPage-r_qi0oYa.js +1 -0
- package/web/assets/MarAlert-BTQ-GRjV.js +1 -0
- package/web/assets/MarCascader-XcmvWnMx.js +1 -0
- package/web/assets/MarCheckTag-BlGNNU-m.js +1 -0
- package/web/assets/{MarCheckboxGroup-CE5NVWCc.js → MarCheckboxGroup-D8YUshxd.js} +1 -1
- package/web/assets/MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DW6tWeNt.js +1 -0
- package/web/assets/MarDatePicker-DKx_t0eK.js +1 -0
- package/web/assets/MarDescriptionsItem-DFrd_opL.js +1 -0
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-BeahYbi2.js → MarFormItem.vue_vue_type_script_setup_true_lang-Dj7aQp9R.js} +2 -2
- package/web/assets/MarInputNumber-CX2wQN1h.js +1 -0
- package/web/assets/MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CT4FTMrr.js +1 -0
- package/web/assets/MarSwitch-DbxZBrjJ.js +1 -0
- package/web/assets/MarTableColumn.vue_vue_type_script_setup_true_lang-B9yim_e7.js +1 -0
- package/web/assets/MarTabs-EbO0yPPq.js +1 -0
- package/web/assets/{MarTag-H7GRZ5pc.js → MarTag-JHdmr-g-.js} +1 -1
- package/web/assets/MarkdownFilePreview-Cn2ugv3b.js +2 -0
- package/web/assets/McpDetailsDialog-BGHHZqSz.js +1 -0
- package/web/assets/McpSourceManagementPage-CYbZyqEt.js +1 -0
- package/web/assets/{McpSourceManagementPage-DV-yOFvw.js → McpSourceManagementPage-y99BjkAa.js} +1 -1
- package/web/assets/NodeDetailsDialogs-DQpD-K80.js +1 -0
- package/web/assets/NodeManagementPage-BJQpnWUr.js +1 -0
- package/web/assets/NodeManagementPage-C4OC1oZu.js +1 -0
- package/web/assets/{OAuthManagementPage-BATLRDRY.js → OAuthManagementPage-DVj7F0_B.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BzT8wuPD.js → OrganizationManagementPage-Dck4xWJC.js} +1 -1
- package/web/assets/RemoteDesktopPage-DU4o3UQ7.js +1 -0
- package/web/assets/ResourceManagementPanel-BNia9ers.js +2 -0
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-1StFA2o7.js +1 -0
- package/web/assets/SecretManagementPage-2aIiLtIO.js +1 -0
- package/web/assets/SecretManagementPage-BoirQBul.js +1 -0
- package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-BqIsbRme.js +1 -0
- package/web/assets/SessionSharePage-BAgQMi9G.css +1 -0
- package/web/assets/SessionSharePage-DsF4k62i.js +2 -0
- package/web/assets/SettingsContent-B55r5G17.js +1 -0
- package/web/assets/SettingsContent-C5BfeS9C.js +1 -0
- package/web/assets/SkillCenterPage-Cq0-o2og.js +1 -0
- package/web/assets/SkillCenterPage-DmBQ4QNQ.js +1 -0
- package/web/assets/SkillDetailsDialog-CvJHh-rz.js +1 -0
- package/web/assets/SkillSourceManagementPage-BFuzyTTW.js +1 -0
- package/web/assets/{SkillSourceManagementPage-D7b0fJ3D.js → SkillSourceManagementPage-yhLkNs3f.js} +1 -1
- package/web/assets/StandaloneFilePreviewPage-B112MwNb.js +1 -0
- package/web/assets/{StandaloneFilePreviewPage-BasO-FBI.css → StandaloneFilePreviewPage-CWD99_uM.css} +1 -1
- package/web/assets/{SystemConfigurationPage-8Jjuk11W.js → SystemConfigurationPage-Cc1EKqiN.js} +1 -1
- package/web/assets/SystemConfigurationPage-DLtTB2q9.js +1 -0
- package/web/assets/SystemInformationPage-xn67kl1L.js +1 -0
- package/web/assets/{TerminalTabView-c7gutdQp.css → TerminalTabView-BtJOS9p6.css} +1 -1
- package/web/assets/TerminalTabView-DkABlrY-.js +23 -0
- package/web/assets/{WorkbenchPage-DObPaT6u.css → WorkbenchPage-BLqtJjyz.css} +1 -1
- package/web/assets/WorkbenchPage-lR7qzb51.js +22 -0
- package/web/assets/WorkspaceManagementPage-CAjG0pan.js +1 -0
- package/web/assets/WorkspaceManagementPage-ChMpGNO2.js +1 -0
- package/web/assets/abnfDiagram-VCTEODGH-C0Z3FwtB.js +1 -0
- package/web/assets/{arc-Dog_3KmJ.js → arc-Csy2UQwy.js} +1 -1
- package/web/assets/architectureDiagram-5GKGNRK7-Dnk_OhFF.js +36 -0
- package/web/assets/{blockDiagram-OSKFZWR5-ClnQ_K5W.js → blockDiagram-OSKFZWR5-Cm9uFwdh.js} +2 -2
- package/web/assets/{c4Diagram-7LVT6UL2-CBrw0euZ.js → c4Diagram-7LVT6UL2-CM7DpBBX.js} +2 -2
- package/web/assets/{catalog-ownership-service-BxADZxPd.js → catalog-ownership-service-CJWUwVuW.js} +1 -1
- package/web/assets/{catalog-page-service-BLRFbIDS.js → catalog-page-service-CMb0qOZu.js} +1 -1
- package/web/assets/channel-BYNe9FMi.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-Da8KTDzr.js → chunk-2Q5K7J3B-oZFG8ip7.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-D-wJHR6M.js → chunk-5VM5RSS4-Es4EV1bU.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-8NR-zAd5.js → chunk-F27PBJKO-DHopcSY7.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-D0iOGiad.js → chunk-HLEWEB6X-k6ucFqRC.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-fyvzeH_Y.js → chunk-JWPE2WC7-BKgwJr1w.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-B89-WsDI.js → chunk-POPQ4Y6H-3hBp_sqn.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-3alXvd3K.js → chunk-SVP7TREG-Ch8rSXZR.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-DothZC5b.js → chunk-XXDRQBXY-eDDRKJX1.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-BZnNnqEe.js → chunk-ZLD2IHE6-DxksvfsI.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-BJ0OYlzp.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-BJ0OYlzp.js +1 -0
- package/web/assets/{conversation-history-xvAWh8bC.js → conversation-history-BwLC3JIc.js} +3 -3
- package/web/assets/cose-bilkent-JH36ORCC-BUS4aa-w.js +1 -0
- package/web/assets/{cynefin-OW5HDTMX-TOvK2Jss.js → cynefin-OW5HDTMX-y03gf09k.js} +1 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-BU96Ng2a.js +62 -0
- package/web/assets/{dagre-OS7QT2EB-CPseMkJo.js → dagre-OS7QT2EB-D6XuRnML.js} +2 -2
- package/web/assets/{diagram-S7CK7UJ4-DW38J6C5.js → diagram-S7CK7UJ4-DqeKCQMP.js} +2 -2
- package/web/assets/diagram-UQ7AKVKN-DJuv2RGo.js +41 -0
- package/web/assets/{diagram-VSXAHHWV-HGsy_hiK.js → diagram-VSXAHHWV-B6KilbBk.js} +2 -2
- package/web/assets/diagram-VX7I27RA-CdNOgJbp.js +24 -0
- package/web/assets/diagram-Z3DM3KII-bqSRK9VK.js +24 -0
- package/web/assets/ebnfDiagram-PWID7BFC-BQ2nb3ll.js +1 -0
- package/web/assets/{enterprise-management-service-BMkDzN0o.js → enterprise-management-service-BVzoS0AM.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-BCo4UDVw.js → erDiagram-2YWLMYGG-BIDyX8D8.js} +2 -2
- package/web/assets/{error-presentation-DSjhXnWF.js → error-presentation-B277erBt.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-D-u6u1Ux.js → flowDiagram-T62WH6J4-H68a0Ny6.js} +1 -1
- package/web/assets/ganttDiagram-EL5Y4UJY-CBtpMCKw.js +292 -0
- package/web/assets/gitGraphDiagram-WWUBYQGX-C3y5sZDO.js +106 -0
- package/web/assets/{hosted-conversation-template-client-DhTXOvfW.js → hosted-conversation-template-client-DWWL_49C.js} +1 -1
- package/web/assets/index--mpMQ_lp.js +1 -0
- package/web/assets/{index-Bg3W984R.js → index-B-8kbxyW.js} +1 -1
- package/web/assets/index-BCq15IiW.js +1 -0
- package/web/assets/index-BEZsWm7m.js +13 -0
- package/web/assets/index-BFb9zFVO.js +1 -0
- package/web/assets/index-BL_oJ1VT.js +1 -0
- package/web/assets/index-BWqnRyxj.js +1 -0
- package/web/assets/index-BYcujL0J.js +1 -0
- package/web/assets/{index-BImqULw-.js → index-B_xEB3L3.js} +1 -1
- package/web/assets/index-BxlqTkVy.js +1 -0
- package/web/assets/index-CJnNdw1f.js +1 -0
- package/web/assets/index-CXdML0D-.js +1 -0
- package/web/assets/index-CsZYCyNk.js +1 -0
- package/web/assets/{index-CiNWWUYp.js → index-CxNkVDr0.js} +1 -1
- package/web/assets/index-D5m5l7UR.js +1 -0
- package/web/assets/{index-9sfxE_w1.js → index-D9S7HfMO.js} +2 -2
- package/web/assets/{index-CYFJ0B6M.js → index-DAVAGMPy.js} +17 -17
- package/web/assets/index-DE-kveYu.js +7 -0
- package/web/assets/{index-DyLYTvJ_.js → index-DQ2mj4DW.js} +2 -2
- package/web/assets/index-DanTYQ1w.js +3 -0
- package/web/assets/index-DjscVhrN.js +1 -0
- package/web/assets/index-Dsm2mM67.js +1 -0
- package/web/assets/{index-C8xomugm.js → index-W4F8OnWh.js} +1 -1
- package/web/assets/index-Xj9Uh-bZ.js +1 -0
- package/web/assets/index-gl3WI4B4.js +1 -0
- package/web/assets/index-jhzMdz77.js +1 -0
- package/web/assets/{index-B9tzhpWD.js → index-uUj8HJiN.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-8ioQN87p.js +2 -0
- package/web/assets/{ishikawaDiagram-5VMMS53U-BPtW8t36.js → ishikawaDiagram-5VMMS53U-DT5y3a3F.js} +6 -6
- package/web/assets/{journeyDiagram-EYS64GPL-CLQcm7jU.js → journeyDiagram-EYS64GPL-yU47LoTX.js} +2 -2
- package/web/assets/{kanban-definition-UXKFOSKX-ByHVysiZ.js → kanban-definition-UXKFOSKX-BX9mKpH8.js} +2 -2
- package/web/assets/{layout-7jEjCcst.js → layout-JjUOAUKM.js} +1 -1
- package/web/assets/{linear-BKPIMNCl.js → linear-BqqbJk60.js} +1 -1
- package/web/assets/{management-url-service-B7U4rtzW.js → management-url-service-DDqHMEhD.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-BHAr7gO8.js → mar-agent-reasoning-effort-CS7pHVC_.js} +1 -1
- package/web/assets/mcp-center-service-BNbf7Ect.js +1 -0
- package/web/assets/{mermaid.core-Ct-yf2jz.js → mermaid.core-B8e1fL5p.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-CBNPG1rn.js → mindmap-definition-THT77NOG-WsM6E2kp.js} +2 -2
- package/web/assets/{mobile-dialog-return-service-8H0QudXS.js → mobile-dialog-return-service-Bp_DVLxH.js} +1 -1
- package/web/assets/{oauth-callback-BgdzH3EO.js → oauth-callback-DkeO66oB.js} +1 -1
- package/web/assets/pegDiagram-XKGWAZYB-DQbefdlt.js +1 -0
- package/web/assets/{pieDiagram-E7YTZNPT-fThuOmLa.js → pieDiagram-E7YTZNPT-UZZI2SA3.js} +2 -2
- package/web/assets/{quadrantDiagram-AXDQQJYC-BPKj00AS.js → quadrantDiagram-AXDQQJYC-CpWvTo9m.js} +2 -2
- package/web/assets/railroadDiagram-O6MQD6OU-CAdKS6xY.js +1 -0
- package/web/assets/{requirementDiagram-IS5BZ75X-CEwZYUmW.js → requirementDiagram-IS5BZ75X-19XbLAjS.js} +2 -2
- package/web/assets/{runner-presentation-C8w-VY81.js → runner-presentation-DQXve2s1.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-CET0FAHM.js → sankeyDiagram-P5KCCOFB-Bw9fRahZ.js} +2 -2
- package/web/assets/scoped-http-service-D6aruAyi.js +8 -0
- package/web/assets/{sequenceDiagram-WJ2MYXX4-B2ILNZNM.js → sequenceDiagram-WJ2MYXX4-CdKAJNPQ.js} +2 -2
- package/web/assets/session-share-client-service-CX7oNUOi.js +1 -0
- package/web/assets/sizeCapture-INFHLROL-D9sbY6Ob.js +1 -0
- package/web/assets/stateDiagram-XQSTLZYL-BxN8QQqu.js +1 -0
- package/web/assets/stateDiagram-v2-IH3M54BS-B4wZRNT0.js +1 -0
- package/web/assets/swimlanes-V6O3JKXN-DJ5xArk5.js +1 -0
- package/web/assets/swimlanesDiagram-JKAHXJPX-xzE-QCiW.js +8 -0
- package/web/assets/{time-presentation-aDd1Sf-W.js → time-presentation-aL5loVOG.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-Cd_sf9rc.js → timeline-definition-24CTP7MA-BBJltrcu.js} +2 -2
- package/web/assets/{vennDiagram-4TSXK5OY-V_YYv6w4.js → vennDiagram-4TSXK5OY-DCZ1DJTd.js} +2 -2
- package/web/assets/{wardleyDiagram-VM6X3IG4-eUMkS72V.js → wardleyDiagram-VM6X3IG4-BKUcAqGh.js} +2 -2
- package/web/assets/workbench-live-service-BxJrOyt1.js +1 -0
- package/web/assets/workbench-presentation-CkpTHEQ3.js +1 -0
- package/web/assets/workspace-direct-transfer-service-BKOFlO3H.js +2 -0
- package/web/assets/{xychartDiagram-S5SC5T6Z-xV05mhI9.js → xychartDiagram-S5SC5T6Z-8GdWsW37.js} +2 -2
- 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.CtGVMnXL.js → app.LeCCQxS3.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.DHE7CFXR.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.CsnhQrCA.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.DLsrwuJh.js → VPLocalSearchBox.943egAU7.js} +1 -1
- package/web/docs/assets/chunks/{theme.JQAATJ0Z.js → theme.DYsEn1tY.js} +2 -2
- package/web/docs/assets/{en-US_runners_mar-agent.md.D_MTQUV1.js → en-US_runners_mar-agent.md.xWuHvNeY.js} +3 -3
- package/web/docs/assets/{en-US_runners_mar-agent.md.D_MTQUV1.lean.js → en-US_runners_mar-agent.md.xWuHvNeY.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_conversation.md.DMMozhK8.js +1 -0
- package/web/docs/assets/{en-US_workbench_conversation.md.DT3KAAzA.lean.js → en-US_workbench_conversation.md.DMMozhK8.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_sessions.md.8oarREp4.js +1 -0
- package/web/docs/assets/{runners_mar-agent.md.N-bXx1_t.js → runners_mar-agent.md.M6wXxi-P.js} +2 -2
- package/web/docs/assets/workbench_conversation.md.TxvHEEtP.js +1 -0
- package/web/docs/assets/{workbench_conversation.md.DUb0SYvh.lean.js → workbench_conversation.md.TxvHEEtP.lean.js} +1 -1
- package/web/docs/assets/workbench_sessions.md.CjZEXlJ9.js +1 -0
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +6 -6
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/browser.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +5 -5
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +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 +5 -5
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +6 -6
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/browser.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +5 -5
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +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 +5 -5
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/browser-relay-pair.d.ts +0 -19
- package/node_modules/@myagentroam/server-core/dist/browser-relay-pair.js +0 -70
- package/node_modules/@myagentroam/server-core/dist/browser-relay-service.d.ts +0 -15
- package/node_modules/@myagentroam/server-core/dist/browser-relay-service.js +0 -75
- package/node_modules/@myagentroam/server-core/dist/terminal-multiplex.d.ts +0 -30
- package/node_modules/@myagentroam/server-core/dist/terminal-multiplex.js +0 -106
- package/web/assets/AuditManagementPage-DyXbCJO0.js +0 -1
- package/web/assets/AuthEntryPanel-CnhXeIwH.js +0 -48
- package/web/assets/ConversationTemplateManagementPage-C_gRb-94.js +0 -1
- package/web/assets/ConversationTemplateManagementPage-bo4pKaHZ.js +0 -1
- package/web/assets/EnterpriseUserManagementPage-CIYJoqps.js +0 -1
- package/web/assets/EnvironmentSecretManager-BLohbSye.js +0 -1
- package/web/assets/LicenseManagementPage-CKx5VRUE.js +0 -1
- package/web/assets/MarAgentModelManagementPage-BN9LwTcb.js +0 -1
- package/web/assets/MarAgentModelManagementPage-CFzBAnqd.js +0 -1
- package/web/assets/MarAlert-D8nonXJU.js +0 -1
- package/web/assets/MarCascader-DvIUhYAX.js +0 -1
- package/web/assets/MarCheckTag-DTCVJY3_.js +0 -1
- package/web/assets/MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-Cdb6YhdI.js +0 -1
- package/web/assets/MarDatePicker-CxjagCPO.js +0 -1
- package/web/assets/MarDescriptionsItem-Bf1egRIu.js +0 -1
- package/web/assets/MarInputNumber-CLHV7k0c.js +0 -1
- package/web/assets/MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-PdkIQ45N.js +0 -1
- package/web/assets/MarSwitch-DAm51evi.js +0 -1
- package/web/assets/MarTableColumn.vue_vue_type_script_setup_true_lang-BMfoa0sk.js +0 -1
- package/web/assets/MarTabs-Cjikh7WP.js +0 -1
- package/web/assets/MarkdownFilePreview-79yks1yT.js +0 -2
- package/web/assets/McpDetailsDialog-D-DLMY8U.js +0 -1
- package/web/assets/McpSourceManagementPage-BpuWypAi.js +0 -1
- package/web/assets/NodeDetailsDialogs-DwOZBtXD.js +0 -1
- package/web/assets/NodeManagementPage-BxnfNZcP.js +0 -1
- package/web/assets/NodeManagementPage-D2HVYjQv.js +0 -1
- package/web/assets/RemoteDesktopPage-DUaiJnbG.js +0 -1
- package/web/assets/ResourceManagementPanel-Ck6KUhS6.js +0 -2
- package/web/assets/ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DSDDJ3Uk.js +0 -1
- package/web/assets/SecretManagementPage-B7RAiBrK.js +0 -1
- package/web/assets/SecretManagementPage-C3wyf725.js +0 -1
- package/web/assets/SecretManagementPage.vue_vue_type_script_setup_true_lang-CfSdHQ4E.js +0 -1
- package/web/assets/SessionSharePage-BX-nfMIN.css +0 -1
- package/web/assets/SessionSharePage-BfzRKWhm.js +0 -2
- package/web/assets/SettingsContent-D2NFnqqe.js +0 -1
- package/web/assets/SettingsContent-DesFINYe.js +0 -1
- package/web/assets/SkillCenterPage-CeW7UuQ6.js +0 -1
- package/web/assets/SkillCenterPage-wjUhkqcj.js +0 -1
- package/web/assets/SkillDetailsDialog-7DKa2ZnW.js +0 -1
- package/web/assets/SkillSourceManagementPage-BZchOevD.js +0 -1
- package/web/assets/StandaloneFilePreviewPage-BOb2NuM3.js +0 -1
- package/web/assets/SystemConfigurationPage-DTuEnywa.js +0 -1
- package/web/assets/SystemInformationPage-FHrrFOVp.js +0 -1
- package/web/assets/TerminalTabView-CUeuqDXK.js +0 -23
- package/web/assets/WorkbenchPage-B3IPG39P.js +0 -22
- package/web/assets/WorkspaceManagementPage-C2AnquRO.js +0 -1
- package/web/assets/WorkspaceManagementPage-CY6lUZy_.js +0 -1
- package/web/assets/abnfDiagram-VCTEODGH-P4zjaFVG.js +0 -1
- package/web/assets/architectureDiagram-5GKGNRK7-BnG88gsw.js +0 -36
- package/web/assets/channel-CWb6DdnJ.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-DUs1VMsY.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-DUs1VMsY.js +0 -1
- package/web/assets/cose-bilkent-JH36ORCC-DbV1M0D6.js +0 -1
- package/web/assets/cynefinDiagram-5FMLGOSQ-UfIuJmsK.js +0 -62
- package/web/assets/diagram-UQ7AKVKN-CPirF6ZK.js +0 -41
- package/web/assets/diagram-VX7I27RA-DE9ph2-C.js +0 -24
- package/web/assets/diagram-Z3DM3KII-B7QCaESW.js +0 -24
- package/web/assets/ebnfDiagram-PWID7BFC-cXnurzLV.js +0 -1
- package/web/assets/ganttDiagram-EL5Y4UJY-Bg8bfibk.js +0 -292
- package/web/assets/gitGraphDiagram-WWUBYQGX-BASWBIPb.js +0 -106
- package/web/assets/index-B2OJ0zbF.js +0 -1
- package/web/assets/index-B2q4VLK-.js +0 -7
- package/web/assets/index-B6LwCj7k.js +0 -1
- package/web/assets/index-BEPX7A1Z.js +0 -3
- package/web/assets/index-BGPj5_em.js +0 -1
- package/web/assets/index-BK-P_D32.js +0 -1
- package/web/assets/index-BWAhXTa1.js +0 -1
- package/web/assets/index-Ba4yQKgC.js +0 -1
- package/web/assets/index-BgoK274z.js +0 -1
- package/web/assets/index-C5XKFzfg.js +0 -13
- package/web/assets/index-CQQ8nImj.js +0 -1
- package/web/assets/index-CUdFR_LS.js +0 -1
- package/web/assets/index-Cabs9Jbc.js +0 -1
- package/web/assets/index-Cvc5t5wN.js +0 -1
- package/web/assets/index-DCxSq4SG.js +0 -1
- package/web/assets/index-DQNQfI7v.js +0 -1
- package/web/assets/index-DWPuFYww.js +0 -1
- package/web/assets/index-DpHSLPnk.js +0 -1
- package/web/assets/index-YWxcl4aQ.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-bmh-h8tH.js +0 -2
- package/web/assets/mcp-center-service-D7TQgFfB.js +0 -1
- package/web/assets/pegDiagram-XKGWAZYB-Dy09XWS4.js +0 -1
- package/web/assets/railroadDiagram-O6MQD6OU-BaExkX80.js +0 -1
- package/web/assets/scoped-http-service-DMQqBd8a.js +0 -8
- package/web/assets/session-share-client-service-CkXfF1s6.js +0 -1
- package/web/assets/sizeCapture-INFHLROL-FljghWkt.js +0 -1
- package/web/assets/stateDiagram-XQSTLZYL-Dt-zEFD6.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-Dl4tHWGV.js +0 -1
- package/web/assets/swimlanes-V6O3JKXN-o8bRNP5Y.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-JjGvFdcr.js +0 -8
- package/web/assets/workbench-live-service-DP1sBGtA.js +0 -1
- package/web/assets/workbench-presentation-BN6qUa4J.js +0 -1
- package/web/assets/workspace-direct-transfer-service-BnGIUGfJ.js +0 -2
- package/web/docs/assets/chunks/@localSearchIndexen-US.Ca3WIokz.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.Bh9-6TxD.js +0 -1
- package/web/docs/assets/en-US_workbench_conversation.md.DT3KAAzA.js +0 -1
- package/web/docs/assets/en-US_workbench_sessions.md.BBixLc38.js +0 -1
- package/web/docs/assets/workbench_conversation.md.DUb0SYvh.js +0 -1
- package/web/docs/assets/workbench_sessions.md.CucNalue.js +0 -1
- /package/web/docs/assets/{en-US_workbench_sessions.md.BBixLc38.lean.js → en-US_workbench_sessions.md.8oarREp4.lean.js} +0 -0
- /package/web/docs/assets/{runners_mar-agent.md.N-bXx1_t.lean.js → runners_mar-agent.md.M6wXxi-P.lean.js} +0 -0
- /package/web/docs/assets/{workbench_sessions.md.CucNalue.lean.js → workbench_sessions.md.CjZEXlJ9.lean.js} +0 -0
|
@@ -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-27T00: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>Choose <strong>Off</strong>, <strong>Automatic</strong>, or <strong>GC with thought</strong> in the model's <strong>Context GC</strong> field. New and catalog-imported models default to Off; existing models keep their settings. Off disables GC but not automatic Compact or the image request hard limit. With GC with thought, the model records findings and decisions using <code>thought</code> before triggering routine GC. The Workbench shows only a short title in your language in Reasoning, not the detailed notes or a tool call. In this mode, exceeding the image hard limit still triggers a GC check without <code>thought</code>, and eligible text can be reclaimed at the same time. Off and GC with thought both require a Node that supports all three modes. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential's live model catalog. Changing credentials preserves the entered model ID; the display name remains editable. The live catalog is loaded only when you explicitly choose <strong>Load model catalog</strong> for bulk import. Codex uses its fixed service endpoint. OpenAI Responses and Anthropic Messages use an explicit Base URL and inline API key. A new model starts with <code>256000</code> context tokens and <code>32000</code> maximum output tokens; switching connection types preserves compatible fields, including the model ID, token limits, capabilities, reasoning efforts, and model purposes. Switching between OpenAI Responses and Anthropic Messages keeps the inline API key and custom Base URL; only default addresses change with the protocol. A temporary switch to OAuth and back also preserves the entered key and custom address. OAuth uses fixed endpoints, and an incompatible OAuth type requires selecting another credential. Editing retains saved values; existing keys are not returned to the browser, and leaving the key blank keeps the saved key. Catalog imports preserve limits explicitly supplied upstream. A missing context limit is prefilled with <code>256000</code> and can be edited before import; a missing maximum output limit defaults to <code>32000</code> (reduced to stay strictly below smaller context windows). Image input, session title generation, Code Mode, Hosted Web Search, Responses continuation, selectable reasoning efforts, and the default reasoning effort are maintained on the model form; transport selection is available for every Responses connection type. When a regular Workspace session or hosted conversation needs a generated title, MAR Agent uses the first enabled available model with <strong>Session title generation</strong> selected, following model order; if none is selected, it falls back to the conversation's current model. The default reasoning effort is always required. Even when no reasoning choices are exposed to users, MAR Agent uses that default internally. For Grok models without configured reasoning choices, unsupported reasoning parameters are omitted on the wire.</p><p>Select <strong>Duplicate</strong> in a manageable model’s actions to open a prefilled creation form with a copy suffix in its default name. You can change configuration, credentials, and ownership before selecting <strong>Save</strong>; cancelling creates nothing. Unless replaced, the inline key or compatible OAuth reference is reused securely by the Server without returning secrets to the browser. The new model has an independent configuration ID and is appended to the list; access grants and test results are not copied. Duplication requires management permission on the source, and the new ownership and credential scope are checked again when saving.</p><p>Responses models, including inline API keys, can select WebSocket, HTTP/2, or HTTP/1.1 (X subscription supports WebSocket and HTTP/1.1). A failed selected transport does not silently switch protocols. HTTP and WebSocket both allow server-side continuation; switching transport preserves the checkbox. Only HTTP requests with continuation enabled send <code>store:true</code>. HTTP with continuation disabled and all WebSocket requests send <code>store:false</code>; there is no separate storage setting. With HTTP continuation enabled, the initial request and full-history replays after an invalid reference also ask the upstream to retain responses; consult its retention policy. Enable continuation only when the upstream supports it. A missing or expired response reference triggers one full-history replay within the request attempt budget, provided no semantic output has been committed; authentication, rate limits and unrelated errors are not treated as expired references. Adapter restarts and changed core prompts also replay full history. HTTP continuation requires a Node advertising the corresponding capability. Anthropic Messages prompt caching is managed automatically without this setting.</p><p>New model creation and OAuth catalog import both offer <strong>Personal / Organization</strong> ownership to enterprise administrators. Ownership is independent of credential scope: choosing an enterprise credential does not automatically share the model. Create an organization-owned model and then use its authorization action to share it with users, organizations, or the enterprise. Personal models have no authorization action. Editing an existing model shows its ownership without changing it; recreate or import it with organization ownership when sharing is needed. The model list shows the complete manageable set without pagination. Editing, testing, refreshing, and deleting reload the complete current result.</p><p>MAR Agent performs bounded retries for eligible transient connection, service-overload, or model-stream failures. The initial request and retries share a maximum of 5 attempts (the initial request plus up to 4 retries). Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The Workspace session segment heading and its <a href="./../workbench/conversation">Info details</a> show the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. TPS is an end-to-end estimate: the provider's final output token count divided by the elapsed time from starting the model request to receiving its completion. Positive durations under one second are counted as one second. The token count can include hidden reasoning and tool-call arguments. The elapsed time includes the wait for the first response, network time, and hosted tools run within the request, but excludes client tools run outside it. This is not the model's raw generation speed. If final usage or valid timing is missing, or the request is cancelled, no new TPS is published and the previous valid value stays within the same Run.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to "Conversation and auxiliary models""></a></h2><p><strong>Conversation model</strong> is checked by default in the model form. Only enabled models with this option checked appear in work-mode and hosted-conversation Composers, Subagent choices, and template main-model choices. Uncheck it to reserve a model for dedicated Compact, session title generation, and prompt prediction. Configure each auxiliary use separately; model and credential permissions still apply. Conversation models can also serve these auxiliary uses. The enabled and session-title switches remain independent.</p><p>Models for MAR Agent child sessions must also have <strong>Subagent support</strong> enabled. A child session's model selector shows only currently available models enabled for both uses; the list is empty when none qualify. This switch does not restrict the main session's model choices.</p><p>Existing models retain conversation use, and new or catalog-imported models enable it by default. Changes do not interrupt executions already in progress. Later sends, continuations, or explicit selections using a model that no longer permits conversation use are rejected; select an available conversation model to continue. Conversation history is preserved.</p><h2 id="prompt-tab-model" tabindex="-1">Prompt Tab model <a class="header-anchor" href="#prompt-tab-model" aria-label="Permalink to "Prompt Tab model""></a></h2><p>Under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>, save the global switch, model, and reasoning effort independently of Compact. The capability defaults to enabled without a preselected model. Users still need model and credential access and can control <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong> (on by default without a saved preference; an existing Off choice is preserved; Work mode only, saved immediately in the current browser). All four Work-mode Agents are supported. Node uses the MAR Agent SDK's standalone model interface with a result-tool schema to receive prediction data, without creating an Agent session or executing tools. See <a href="./../workbench/composer#prompt-tab">Prompt Tab</a> for interaction and data scope.</p><h2 id="dedicated-compact-model" tabindex="-1">Dedicated Compact model <a class="header-anchor" href="#dedicated-compact-model" aria-label="Permalink to "Dedicated Compact model""></a></h2><p>System administrators configure the enable switch, an existing model, and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Compact</strong>. The setting applies system-wide; it is not on the System Configuration page. Enterprise selection prioritizes root-organization models. It is disabled by default, leaving the current conversation model responsible for compaction. Saved changes apply to subsequent runs, not an active execution.</p><p>Also enable <strong>Unified Compact</strong> in the current execution model’s form to use the system-wide dedicated model. This option defaults off: new, imported, and existing models without the setting keep their original model compaction. Child sessions use their own execution model’s option, not the parent’s. The dedicated summary model itself does not need this option enabled. Changes apply to subsequent executions. Older Nodes without support conservatively keep original model compaction.</p><p>The Node extension always uses a high-density Textual Continuation IR prompt; there is no standalone CLI flag. IR headings and keys use English, while natural-language values may follow the task language. Default compaction and fallback use the Core structured handoff prompt. The dedicated model generates an internal continuation summary without tools or changing the main conversation model. Both Workspace sessions and hosted conversations still require the execution user's model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model's window, the first request trims it to 90% of that window, potentially omitting older or lengthy evidence. An unavailable model, remaining context overflow, or failed generation falls back to default compaction with the current model. There is no second capacity-trimming retry of the dedicated model. Cancellation or the total compaction deadline does not trigger fallback. The summary is used for continuation, not displayed as public chat text.</p><p>MAR Agent schedules automatic compaction from the latest same-model context-input usage: at 85%, it generates a candidate in the background while the current task and tools continue; at 90%, it waits for that same compaction before the next model request. The conversation timeline updates one item through background generation, waiting, completion, failure, or cancellation. Background compaction does not end the active task or expose its private handoff summary. Messages and tool results produced after the snapshot remain after the compacted prefix. After a successful compaction, if a tail was retained, the Context indicator stays unknown until a foreground model request reports authoritative usage; with no retained tail, the existing <code>0 / window</code> reset baseline remains. Background Compact usage still counts toward costs but never replaces foreground context usage, Latency, or average output TPS.</p><p>Smart Compact is a separate system-wide switch in the same <strong>Admin → MAR Agent Models → Advanced → Compact</strong> panel, and is off by default. It does not require enabling or selecting the dedicated Compact model. When enabled, with a valid same-model input watermark of at least 60% and below 90%, the runtime allows the main model to consider whether prior detailed context has low continuation value and request the same background compaction earlier. It does not trigger for every topic change or one-off question, and it is not a guarantee that all history will fit without loss. Missing or invalidated usage skips this optional opportunity. Turning Smart Compact off disables only this optional early compaction; it does not affect manual Compact or the fixed 85%/90% automatic capacity safeguards. No Enterprise license is required, and the SDK and CLI use the same mechanism. Existing manual Compact controls and status displays are unchanged. Older Nodes without the <code>smartCompactControl</code> capability retain their existing behavior while the switch is on; with the switch off, they cannot guarantee that behavior is disabled and reject conversational and actual Plan executions with <code>CAPABILITY_VERSION_UNSUPPORTED</code>. Upgrade the Node to use the off setting. Manual Compact and commands that only toggle Plan state remain available.</p><h2 id="chatgpt-plan-authorization" tabindex="-1">ChatGPT plan authorization <a class="header-anchor" href="#chatgpt-plan-authorization" aria-label="Permalink to "ChatGPT plan authorization""></a></h2><p>The <strong>OAuth credentials</strong> tab lists <strong>Codex (legacy)</strong>, <strong>ChatGPT plan authorization</strong>, and <strong>X subscription</strong> in one table. To add a ChatGPT credential, select <strong>ChatGPT plan authorization</strong> and an online Node on the computer running your browser. The Node must support local sign-in. Open its local sign-in link and complete authorization on OpenAI's page. A remote Node cannot receive this browser's loopback callback; cancel and select the local Node instead.</p><p>The local Node is only a temporary sign-in provider. Server stores the credential and owns token refresh. Other authorized remote Nodes can share it without signing in themselves. Personal, organization, and enterprise scopes use the same management and model-use permissions as Codex credentials. Reauthorization also needs a local Node and reuses the issued client ID. Cancellation or failure leaves the existing credential intact.</p><p>Models use the fixed public OpenAI Responses endpoint, not the legacy Codex backend. HTTP/1.1, HTTP/2, and WebSocket are supported. HTTP and WebSocket can use <code>previous_response_id</code> for incremental user and tool turns; WebSocket additionally requires one healthy connection. Reconnects or adapter rebuilds replay the necessary full history. Image generation with this credential is not supported. An optional SOCKS5 proxy applies to Node sign-in, Server refresh and catalog requests, and inference on execution Nodes.</p><p>A successful identity sign-in without plan-use permission is retained as <strong>Unauthorized</strong>. It cannot load models or run inference: sign in again and grant plan usage. This is not token expiry and never switches automatically to API-key billing. Legacy Codex private usage queries are unavailable for the new type. Its account identifier comes from verified identity; provide missing context-window limits when importing models. Tokens are never returned to the management page.</p><p>Select <strong>Manage usage</strong> in a ChatGPT credential's <strong>Details</strong> to open <a href="https://chatgpt.com/settings/usage" target="_blank" rel="noreferrer">ChatGPT Settings → Usage</a> in a new tab, review plan or app limits, and adjust available settings. Make sure ChatGPT is signed in to the account associated with that credential. For <code>subscription_sharing_usage_limit_exceeded</code>, the chat error message explains the usage limit and asks you to open <code>https://chatgpt.com/settings/usage</code> in plain text, without an additional button or interactive link. Other HTTP 429 errors are not treated as exhausted plan usage.</p><h2 id="x-subscription-oauth-experimental" tabindex="-1">X subscription OAuth (experimental) <a class="header-anchor" href="#x-subscription-oauth-experimental" aria-label="Permalink to "X subscription OAuth (experimental)""></a></h2><p>Under <strong>OAuth credentials</strong>, choose <strong>Add OAuth credential</strong>, select <strong>X subscription OAuth (experimental)</strong>, and enter a name, ownership, and optional SOCKS5 URL. Open the displayed xAI authorization page and enter the device code; no local Node is required. Check the authorization page and selected account before approving. The shared public OAuth client may appear as Grok Build. Inference access depends on upstream account and subscription eligibility; neither a payment amount nor a successful sign-in guarantees model access.</p><p>Use <code>socks5://[username:password@]host:port</code>, URL-encoding special characters. The same proxy applies to Server device authorization, token exchange, identity, refresh, catalog, usage and revocation requests, and to model requests from the execution Node. Proxy failures never fall back to a direct connection. Both Server and the execution Node must reach the proxy; <code>127.0.0.1</code> on a remote Node is not the Server's localhost. The browser authorization page uses the browser's own network, not this proxy. You can edit or clear the proxy later and inspect its full URL in credential details; do not share screenshots containing proxy passwords.</p><p>After signing in, load and import the catalog, or create a Grok model, select the credential and enter a model ID. Inference uses <code>https://cli-chat-proxy.grok.com/v1</code> with a choice of WebSocket or HTTP/1.1 SSE; new models and catalog imports default to HTTP/1.1 SSE. Responses continuation is off by default, so both transports send full history. You can manually enable <code>previous_response_id</code> with either transport. Support depends on the upstream and account; enabling the setting is not a compatibility guarantee. Transport and continuation support on the subscription proxy are not guaranteed. A missing reference falls back once to full history; other failures retain diagnostic details. Speed tiers, HTTP/2 and image generation are unavailable for this connection. Models still use the X subscription OAuth credential, not a developer API key; catalog, identity and usage queries remain on the subscription proxy. Upgrading Server moves subscription models mistakenly configured with the developer API URL back to the subscription proxy while preserving other settings and clearing old model test results. Hosted Web Search can be toggled on the model form; new models and catalog imports enable it by default. Existing models keep their saved value; edit, enable the checkbox and save to turn it on. Re-importing creates independent models rather than modifying existing ones. The execution Node must advertise support for the new Responses parameter capabilities; otherwise upgrade Node.</p><p>Choose <strong>Query usage</strong> in credential details to manually load the current used/remaining percentage, weekly/monthly period, reset and query times, and the separate additional USD balance. Missing values display as a dash, not zero or unlimited. MAR does not estimate remaining tokens or display nonexistent token totals. A failed usage query does not imply inference is unavailable. Usage is not polled automatically and is cleared when details close. Upstream accounts may have additional paid balances; MAR does not top up or change billing settings and does not guarantee that subscription calls never incur extra charges.</p><p>Server stores and refreshes tokens; the execution Node receives only short-lived access credentials. Sign in again when authorization expires. Deleting an unreferenced credential attempts to revoke its upstream refresh token and reports revocation failure. This integration depends on a changeable subscription proxy protocol and is not recommended for production tasks requiring a stable SLA.</p><h2 id="configure-codex-credentials-and-the-model-catalog" tabindex="-1">Configure Codex credentials and the model catalog <a class="header-anchor" href="#configure-codex-credentials-and-the-model-catalog" aria-label="Permalink to "Configure Codex credentials and the model catalog""></a></h2><p>Every user can open <strong>Admin → MAR Agent Models</strong> for <strong>My model order</strong> and the Codex credentials they may manage; only system administrators see the <strong>Models</strong> tab used to configure models. A regular member can create only a personal credential. An organization administrator can also select an organization in their managed subtree, and a system administrator can select an organization or the entire enterprise. A personal credential is visible only to its owner, an organization credential is visible only to system administrators and organization administrators whose managed subtree covers it, and an enterprise credential is visible only to system administrators. Select <strong>Add OAuth credential</strong> and choose <strong>Codex (legacy)</strong>, enter a name, scope, and optional SOCKS5 proxy, then start device sign-in. This proxy applies only to Codex OAuth requests, model-catalog requests, and Codex model requests that reference this credential. The system polls automatically at the Server-provided interval, and you can select <strong>Refresh sign-in status</strong> while waiting to query immediately. A credential is stored only after sign-in, token exchange, and account validation all succeed. Cancelled, failed, or expired attempts create no credential.</p><p>The credential list and Details show the current access token expiry and the earliest refresh time supplied by ChatGPT. An unknown earliest refresh time appears as a dash; neither timestamp is the refresh token expiry. While refresh authorization remains valid, Server renews near-expiry tokens automatically. Nodes also renew access tokens and runtime tickets during long tasks without waiting for another model call, with bounded retries after temporary failures or unchanged near-expiry tokens. Persistent disconnection or invalid credentials still require recovery or sign-in. Manual refresh can request renewal before that time; the upstream response decides whether renewal succeeds. Automatic renewal still respects the earliest refresh time. Actual renewal immediately updates the list and open Details with the new expiry, earliest refresh and last-refresh time. The action column provides <strong>Details</strong>, <strong>Edit</strong>, <strong>Test</strong>, and <strong>Remove</strong>. <strong>Edit</strong> can change the name, scope, and SOCKS5 proxy. Narrowing a credential scope is rejected while an existing model grant remains outside the proposed scope; narrow those model grants first. Details fetches that credential separately, displays the complete SOCKS5 URL verbatim, and provides refresh, sign-in-again, query-usage, and model-catalog actions. <strong>Query usage</strong> displays lifetime tokens, usage on the previous Los Angeles day, the total for seven consecutive calendar days, the current used percentage and reset time for each quota window, and the query time. The previous day’s date and UTC offset appear in smaller text below its usage value. If no bucket exists for yesterday, that date still appears while usage shows a dash; an older bucket is never substituted. A bucket for the current Los Angeles day remains excluded from the seven-day total. Statistical days roll over in <code>America/Los_Angeles</code>: <code>UTC-07:00</code> during daylight saving time (15:00 in UTC+8) and <code>UTC-08:00</code> during standard time (16:00 in UTC+8). The system does not poll usage automatically, and closing Details discards both the complete proxy string and the usage result. A credential referenced by a model cannot be removed until that reference is changed or removed. The page never displays custom metadata, imported-model counts, access tokens, refresh tokens, ID tokens, the raw upstream usage response, or a FedRAMP flag.</p><p>Select <strong>Load model catalog</strong> to read the live Codex catalog visible to that credential. Each row shows the reasoning efforts supported by this system, including <code>ultra</code>, the catalog-provided or normalized default effort, and any genuinely unknown upstream efforts. Select the models to import and provide a context window only when the catalog omits it; a missing maximum-output value does not create an input field. The catalog has no availability switch, and imported models are enabled with the catalog default. Configure transport and Responses continuation later in the model view. Every Codex or ChatGPT catalog import creates a new independent model, even for the same credential, upstream model ID, display name, and ownership. Existing models and grants remain unchanged; new models use the import defaults and do not inherit existing settings or grants. If the live catalog changes, the page asks you to review the refreshed catalog before retrying.</p><h2 id="configure-model-access" tabindex="-1">Configure model access <a class="header-anchor" href="#configure-model-access" aria-label="Permalink to "Configure model access""></a></h2><p>New models are <strong>Restricted</strong> by default. Models that existed before this access feature are migrated as <strong>Public</strong>. The <strong>Access</strong> column shows the current state:</p><ul><li>Granting access to the <strong>Entire enterprise</strong> makes the model public.</li><li>Without an entire-enterprise grant, access can be granted separately to users or organizations and the model remains restricted.</li><li>System administrators can always manage every model regardless of model-grant records, but actual use still requires the user to be inside the bound credential scope.</li></ul><p>Select <strong>Grant</strong> on a model row to view, add, or revoke grants. A model's grant range must be fully contained by the bound credential scope; for example, a credential owned by an organization cannot be granted to a user or organization outside that subtree or to the entire enterprise. A regular user's new-session model catalog contains only redacted models that are enabled, granted to that user, and backed by a credential whose scope contains that user. The main Agent and its subagents receive the same authorized model set.</p><p>Disabling a model rejects subsequent new sessions, messages, and session commands. Revoking a user's grant, moving the user outside the credential's organization scope, rebinding or unbinding the model credential, or making the credential unavailable also causes every subsequent runtime credential resolution to be rejected. Work already accepted by Node and no longer requiring credential resolution is not forcibly terminated. When an existing MAR Agent conversation is opened and its saved model is no longer in the current catalog, Web automatically saves the first available model and switches the reasoning effort to that model's default. If the catalog is empty, Web does not switch to another Agent. A model can be deleted directly without disabling it or waiting for active tasks. Executions that already obtained the configuration can continue, while later model resolution fails as not found.</p><h2 id="sessions-and-permissions" tabindex="-1">Sessions and permissions <a class="header-anchor" href="#sessions-and-permissions" aria-label="Permalink to "Sessions and permissions""></a></h2><p>For tool-based work beyond a quick lookup, MAR Agent is guided to briefly explain its approach before starting. During longer tasks, it shares progress, findings, changes of direction, or blockers when useful to you. These updates appear in the conversation, not after every command or at fixed intervals. To redirect ongoing work, see <a href="./../workbench/composer">sending and steering messages</a>.</p><p>Nodes offer <strong>Auto</strong> and <strong>Full access</strong>. New ordinary work sessions default to Auto; existing sessions retain their saved setting. Entering a Goal never upgrades MAR Auto to Full access. The standalone SDK/CLI still defaults to Full access, and hosted conversations keep their existing isolation and permission policy.</p><p>Auto uses the current model's judgment: routine engineering and explicitly authorized work continue automatically; material risk or unclear authorization produces ask. Deny is reserved for an effective explicit prohibition, higher-priority/Host prohibition, or known extreme danger whose impact cannot reasonably be bounded. Authorization is reused within the same task, target and impact, across tools, retries, turns and subagents; material expansion or withdrawal requires reassessment.</p><p>The session tools <code>thought</code>, <code>todo</code>, <code>sleep</code>, <code>skill_load</code>, and <code>tool_search</code> do not show an Auto <code>permission</code> field to the model. MCP tools found by search still use the ordinary policy.</p><p>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the tool approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account's actual permissions. Use a dedicated low-privilege account and appropriate Workspace and host permissions.</p><p>Native session records are stored under <code>~/.mar/agent/sessions/</code> for the Node service account; Server does not store conversation bodies. MAR Agent supports Plan, Compact, question, MCP, images, and subagents. The model can use the <code>todo</code> tool with <code>action: read | write</code> to read or replace the current session checklist; an empty list clears it. Todo updates appear as checklists, and existing session checklists and history remain compatible. Each subagent is an independent persistent child session with its own history and parent relationship, while the default session list shows only user root sessions. Agent Network supports three levels: root, child, and grandchild; a fourth level is not supported. Continuous tasks use Node's shared Goal workflow and are not reimplemented inside the Agent SDK.</p><p>MAR Agent scans standard Skill directories under HOME and the Workspace and initially gives the model only each Skill's name and purpose. The agent uses <code>skill_load</code> when it needs a Skill; users do not need to name it. The tool adds guidance to the model's context rather than printing it as tool output. Context GC keeps the latest loaded version of each Skill, while Compact clears loaded guidance so the agent can load it again if needed. Workspace Skills take precedence over same-named user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to "Command environment""></a></h3><p><code>exec</code> enables login initialization by default. Bash reads the first readable file in its native order: <code>~/.bash_profile</code>, <code>~/.bash_login</code>, then <code>~/.profile</code>. It also loads a readable <code>~/.bashrc</code> when <code>BASH_ENV</code> is unset or empty. PowerShell loads its native startup configuration by default. These files belong to the Node service account, not the browser user. Configuration is read on every command start; hosted conversations read only files visible inside their isolated environment, never the host account's configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: "…", login: false })</code>. A login Shell is still noninteractive. If a toolchain PATH appears after a noninteractive <code>return</code> in <code>.bashrc</code>, put that shared environment configuration in a login profile or before the early return. MAR does not bypass that guard, and an <code>export</code> in one command does not update Node or subsequent independent commands.</p><h3 id="advanced-subagent-control" tabindex="-1">Advanced subagent control <a class="header-anchor" href="#advanced-subagent-control" aria-label="Permalink to "Advanced subagent control""></a></h3><p>Node Agent Network does not impose the old 16-child creation or concurrency limits. The independent SDK Subagent extension retains its own admission policy.</p><p>The collaboration tools are <code>agent_start</code>, <code>agent_send</code>, <code>agent_wait</code>, <code>agent_stop</code>, <code>agent_list</code>, and <code>agent_view</code>. <code>agent_start</code> takes a text task and a nonblank title and returns an <code>agentId</code> without waiting for completion. It creates a direct child by default. Use <code>relation: "peer"</code> for an independent Session that does not automatically report back; wait or send a message using its returned Agent ID. Peers can use an authorized, enabled conversation model; children also require Subagent support. Both follow the same automatic whiteboard-sharing rules. See <a href="./../operations/marctl">marctl</a> for the CLI equivalent.</p><p><code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history <session-id></code> command for paginated records when needed. <code>marctl agents view</code> follows the same state-query boundary.</p><p>If the target is idle and has no current or retained execution, <code>agent_wait</code> reports <code>AGENT_IDLE</code> with “Agent is idle; there is no execution to wait for.” This does not mean the session is missing or the task failed. An idle session with a retained terminal execution still returns that execution's result. An untargeted wait with no children reports <code>AGENT_WAIT_NO_TARGETS</code>; a missing explicit target reports <code>SESSION_NOT_FOUND</code>. Waiting does not start an idle session.</p><p>Within the same authorized Node and Workspace, messaging, explicit waits, Goals, stopping, approvals, and marctl session settings are not restricted by parent-child relationships. Target Run and queue ownership, model access, and resource authorization still apply. Sending does not establish automatic subscriptions to unrelated sessions.</p><p>Unread public child messages and new terminal results are delivered automatically before the parent's next normal model request, including direct children created through the native Extension API. The parent need not repeatedly use message waits to check progress. Delivery does not wake an idle parent or postpone a normal final answer: join results required for delivery before finishing, and use <code>agent_wait</code> when genuinely blocked. Automatic delivery and model waits share their observation position, so subsequent waits do not repeat already delivered message bodies or terminal evidence. Child content is context to verify, not new user instructions or authorization.</p><p>Node retains the latest 10 unread updates per parent-child observation relationship across executions. Overflow removes the oldest records, and <code>omittedUpdates</code> reports omissions since the last confirmed observation. This count belongs to the relationship, not to a particular execution. Confirmation clears the delivered notice; full public history remains available on demand. The window does not retain unlimited unread content.</p><p>Node's native <code>agent_send</code> accepts a <code>delivery</code> parameter of <code>STEER</code> or <code>QUEUE</code>. Messages with text default to <code>STEER</code>, including <code>marctl agents send <id> -m <text></code> from other Agents. Goal-only updates and approval decisions do not involve message delivery. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session's containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan native Agent session histories, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
|
|
1
|
+
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),o={name:"en-US/runners/mar-agent.md"};function i(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n(`<h1 id="configure-and-use-mar-agent" tabindex="-1">Configure and Use MAR Agent <a class="header-anchor" href="#configure-and-use-mar-agent" aria-label="Permalink to "Configure and Use MAR Agent""></a></h1><p>MAR Agent is built into Node and does not require an external Agent CLI. Every user can add and manage personal models under <strong>Admin → MAR Agent Models</strong>; authorized administrators manage and grant organization models. Users who satisfy both model access and the bound credential scope can select <strong>MAR Agent</strong> for a new session.</p><p>See <a href="./../deployment/upgrade">Upgrade MyAgentRoam</a> for coordinated version changes and older Node upgrade restrictions.</p><h2 id="configure-models" tabindex="-1">Configure models <a class="header-anchor" href="#configure-models" aria-label="Permalink to "Configure models""></a></h2><p>API-key models using OpenAI Responses or Anthropic Messages can configure an independent <strong>SOCKS5 proxy</strong> using <code>socks5://[username:password@]host:port</code>. URL-encode special characters in credentials. Editing fetches the saved proxy on demand; leaving it unchanged preserves it, clearing and saving selects a direct connection, and duplicated models inherit an editable copy. The execution Node connects to the proxy: <code>localhost</code> means that Node, not your browser or Server. Proxy failures never fall back to a direct connection. This setting applies to Responses HTTP/1.1, HTTP/2 and WebSocket, and to Anthropic requests. The Node must advertise model SOCKS5 support; upgrade it otherwise. Subscription models always use their OAuth credential’s proxy, without a model-level override. The complete URL is fetched only for authorized editing and never enters model lists, logs or session records; do not share screenshots containing proxy passwords. Auxiliary tasks use the proxy of their selected model. Tools such as Web Fetch do not inherit model proxies.</p><p>Choose <strong>Off</strong>, <strong>Automatic</strong>, or <strong>GC with thought</strong> in the model's <strong>Context GC</strong> field. New and catalog-imported models default to Off; existing models keep their settings. Off disables GC but not automatic Compact or the image request hard limit. With GC with thought, the model records findings and decisions using <code>thought</code> before triggering routine GC. The Workbench shows only a short title in your language in Reasoning, not the detailed notes or a tool call. In this mode, exceeding the image hard limit still triggers a GC check without <code>thought</code>, and eligible text can be reclaimed at the same time. Off and GC with thought both require a Node that supports all three modes. Changes apply to subsequent executions.</p><p><strong>Use resource URLs</strong> requires both the global setting and the model option: the global setting defaults on and each model defaults off. Changes apply to the next execution. This currently applies to images. When enabled, images use fixed signed URLs valid for 24 hours without renewal and are not subject to image-watermark GC. Otherwise, recent attachments and tool images stay visible across requests in a bounded inline window. Inline images and text share GC checkpoints. Historical encoded image payload above 7 MiB triggers oldest-first reclamation down to at most 5 MiB, protecting the latest two successful model rollouts. Text GC can also reclaim mature images above 5 MiB. A request can contain at most 12 MiB of encoded image payload; meeting this limit can override historical-image protection but never discards fresh images. Eviction does not delete attachment or image files. Image attachments remain files with usable paths; the model can reopen an image by attachment path or a <code>resourceId</code> owned by the current session. Release notices retain the corresponding resource ID. The tool always reports image dimensions and returns at most 3 MiB per image. Larger images can be explicitly resized with <code>resize</code> or inspected locally with <code>region</code>; transformation source files can be up to 20 MiB. The image budget excludes text and tool definitions, so it is not a limit on the whole request body. Both modes share independent resource storage, and disabling URLs does not disable vision. Older image-history formats are no longer restored as visual input; their text and attachment files remain. The Node must advertise resource-input support.</p><p>Each model is an independent connection. The form offers <strong>Codex</strong>, <strong>ChatGPT plan authorization</strong>, <strong>X subscription OAuth (experimental)</strong>, <strong>OpenAI Responses</strong>, and <strong>Anthropic Messages</strong> as connection types. For Codex, select an existing Codex credential. Enter or edit the model ID directly: there is no catalog picker, and the ID need not appear in the credential's live model catalog. Changing credentials preserves the entered model ID; the display name remains editable. The live catalog is loaded only when you explicitly choose <strong>Load model catalog</strong> for bulk import. Codex uses its fixed service endpoint. OpenAI Responses and Anthropic Messages use an explicit Base URL and inline API key. A new model starts with <code>256000</code> context tokens and <code>32000</code> maximum output tokens; switching connection types preserves compatible fields, including the model ID, token limits, capabilities, reasoning efforts, and model purposes. Switching between OpenAI Responses and Anthropic Messages keeps the inline API key and custom Base URL; only default addresses change with the protocol. A temporary switch to OAuth and back also preserves the entered key and custom address. OAuth uses fixed endpoints, and an incompatible OAuth type requires selecting another credential. Editing retains saved values; existing keys are not returned to the browser, and leaving the key blank keeps the saved key. Catalog imports preserve limits explicitly supplied upstream. A missing context limit is prefilled with <code>256000</code> and can be edited before import; a missing maximum output limit defaults to <code>32000</code> (reduced to stay strictly below smaller context windows). Image input, session title generation, Code Mode, Hosted Web Search, Responses continuation, selectable reasoning efforts, and the default reasoning effort are maintained on the model form; transport selection is available for every Responses connection type. When a regular Workspace session or hosted conversation needs a generated title, MAR Agent uses the first enabled available model with <strong>Session title generation</strong> selected, following model order; if none is selected, it falls back to the conversation's current model. The default reasoning effort is always required. Even when no reasoning choices are exposed to users, MAR Agent uses that default internally. For Grok models without configured reasoning choices, unsupported reasoning parameters are omitted on the wire.</p><p>Select <strong>Duplicate</strong> in a manageable model’s actions to open a prefilled creation form with a copy suffix in its default name. You can change configuration, credentials, and ownership before selecting <strong>Save</strong>; cancelling creates nothing. Unless replaced, the inline key or compatible OAuth reference is reused securely by the Server without returning secrets to the browser. The new model has an independent configuration ID and is appended to the list; access grants and test results are not copied. Duplication requires management permission on the source, and the new ownership and credential scope are checked again when saving.</p><p>Responses models, including inline API keys, can select WebSocket, HTTP/2, or HTTP/1.1 (X subscription supports WebSocket and HTTP/1.1). A failed selected transport does not silently switch protocols. HTTP and WebSocket both allow server-side continuation; switching transport preserves the checkbox. Only HTTP requests with continuation enabled send <code>store:true</code>. HTTP with continuation disabled and all WebSocket requests send <code>store:false</code>; there is no separate storage setting. With HTTP continuation enabled, the initial request and full-history replays after an invalid reference also ask the upstream to retain responses; consult its retention policy. Enable continuation only when the upstream supports it. A missing or expired response reference triggers one full-history replay within the request attempt budget, provided no semantic output has been committed; authentication, rate limits and unrelated errors are not treated as expired references. Adapter restarts and changed core prompts also replay full history. HTTP continuation requires a Node advertising the corresponding capability. Anthropic Messages prompt caching is managed automatically without this setting.</p><p>New model creation and OAuth catalog import both offer <strong>Personal / Organization</strong> ownership to enterprise administrators. Ownership is independent of credential scope: choosing an enterprise credential does not automatically share the model. Create an organization-owned model and then use its authorization action to share it with users, organizations, or the enterprise. Personal models have no authorization action. Editing an existing model shows its ownership without changing it; recreate or import it with organization ownership when sharing is needed. The model list shows the complete manageable set without pagination. Editing, testing, refreshing, and deleting reload the complete current result.</p><p>MAR Agent performs bounded retries for eligible transient connection, service-overload, or model-stream failures. The initial request and retries share a maximum of 5 attempts (the initial request plus up to 4 retries). Recovery after output preserves completed context without resetting that count. After 3 minutes without generation progress, the current model request is cancelled and enters the same recovery flow; heartbeats and metadata do not extend this deadline. The timer excludes client-tool execution and human waits. Requests that keep making generation progress have no overall hard time limit.</p><p>Responses retries start a fresh model-service request using the current full context, without the old routing or server-side continuation state. WebSocket retries open a new connection but do not create a new user session or run. Normal tool follow-ups keep their current routing and continuation state. If a model request exhausts its retry budget, the conversation error shows the total attempts and retries while preserving the final cause. A tool follow-up round or later user-initiated run starts again at attempt 1; failure recovery itself does not reset the count.</p><p>MAR Agent does not impose a cumulative token budget or model-round limit on a run, or force finalization based on cumulative usage. Long tasks can continue after Context GC or Compact; context-window checks, cancellation and model-request timeouts still apply. Provider plan, account and request limits are unaffected.</p><p>The Workspace session segment heading and its <a href="./../workbench/conversation">Info details</a> show the latest available Latency and average output TPS. Latency updates after the first valid semantic model response. TPS is an end-to-end estimate: the provider's final output token count divided by the elapsed time from starting the model request to receiving its completion. Positive durations under one second are counted as one second. The token count can include hidden reasoning and tool-call arguments. The elapsed time includes the wait for the first response, network time, and hosted tools run within the request, but excludes client tools run outside it. This is not the model's raw generation speed. If final usage or valid timing is missing, or the request is cancelled, no new TPS is published and the previous valid value stays within the same Run.</p><p>Every user can use the <strong>My model order</strong> tab to arrange their authorized models in the model picker. This does not affect other users, the administrator-defined default order, session title generation, or template candidates. Newly available models that the user has not arranged remain after the saved personal order in the administrator-defined default order. System administrators manage that global default in the <strong>Models</strong> tab, which lists a model’s name, connection type, model ID, availability, access, and test status. The list omits credentials and Responses transport; Codex transport remains available in the model editor. Removing a model does not require disabling it first and is not blocked because the model is currently in use. A model request that has already started may finish naturally, while later attempts to use the removed model fail because it no longer exists. Select <strong>Adjust order</strong>, drag the handle at the start of each row, then select <strong>Save order</strong> to persist the complete order and leave sorting mode. <strong>Cancel</strong> restores the order from before editing.</p><p>After saving, select <strong>Test</strong> and choose an online Node whose version, runtime-credential capability, and transport support match the model. The Node performs a real minimal request without creating a Workspace Session or Run. The test dialog stays open after success or failure and shows the result, code, HTTP status, message, Server request ID, and—when the Node provides upstream details—the upstream request ID, content type, <code>Retry-After</code>, and response body as selectable plain text. The bounded body may include a truncation notice; HTML is never rendered. Starting another test or changing the model or Node clears the previous result. A failed test still shows the normal error notification, while the diagnostic details remain in the dialog. Lists and test results never reveal API keys or OAuth tokens. Leaving an existing inline key or Codex credential selection blank while editing preserves it. Models remain system-administrator managed, while Codex credentials are managed by the users or administrators allowed by each credential scope.</p><p>For Codex (legacy) and ChatGPT models, <strong>Speed</strong> offers <strong>Default / Fast / Ultrafast</strong>. The standard Responses <code>service_tier</code> parameter is saved with the model and applies to HTTP and WebSocket requests. Existing Fast settings become Fast; other existing models and new imports start with Default. Availability and usage or charges depend on the upstream model and account; unsupported options are not silently downgraded. The standalone CLI retains <code>--fast-mode</code> and <code>--no-fast-mode</code> as compatibility options.</p><h2 id="conversation-and-auxiliary-models" tabindex="-1">Conversation and auxiliary models <a class="header-anchor" href="#conversation-and-auxiliary-models" aria-label="Permalink to "Conversation and auxiliary models""></a></h2><p><strong>Conversation model</strong> is checked by default in the model form. Only enabled models with this option checked appear in work-mode and hosted-conversation Composers, Subagent choices, and template main-model choices. Uncheck it to reserve a model for dedicated Compact, session title generation, and prompt prediction. Configure each auxiliary use separately; model and credential permissions still apply. Conversation models can also serve these auxiliary uses. The enabled and session-title switches remain independent.</p><p>Models for MAR Agent child sessions must also have <strong>Subagent support</strong> enabled. A child session's model selector shows only currently available models enabled for both uses; the list is empty when none qualify. This switch does not restrict the main session's model choices.</p><p>Existing models retain conversation use, and new or catalog-imported models enable it by default. Changes do not interrupt executions already in progress. Later sends, continuations, or explicit selections using a model that no longer permits conversation use are rejected; select an available conversation model to continue. Conversation history is preserved.</p><h2 id="prompt-tab-model" tabindex="-1">Prompt Tab model <a class="header-anchor" href="#prompt-tab-model" aria-label="Permalink to "Prompt Tab model""></a></h2><p>Under <strong>Admin → MAR Agent Models → Advanced → Prompt Tab</strong>, save the global switch, model, and reasoning effort independently of Compact. The capability defaults to enabled without a preselected model. Users still need model and credential access and can control <strong>Composer Prediction</strong> under <strong>Settings → Appearance</strong> (on by default without a saved preference; an existing Off choice is preserved; Work mode only, saved immediately in the current browser). All four Work-mode Agents are supported. Node uses the MAR Agent SDK's standalone model interface with a result-tool schema to receive prediction data, without creating an Agent session or executing tools. See <a href="./../workbench/composer#prompt-tab">Prompt Tab</a> for interaction and data scope.</p><h2 id="dedicated-compact-model" tabindex="-1">Dedicated Compact model <a class="header-anchor" href="#dedicated-compact-model" aria-label="Permalink to "Dedicated Compact model""></a></h2><p>System administrators configure the enable switch, an existing model, and reasoning effort under <strong>Admin → MAR Agent Models → Advanced → Compact</strong>. The setting applies system-wide; it is not on the System Configuration page. Enterprise selection prioritizes root-organization models. It is disabled by default, leaving the current conversation model responsible for compaction. Saved changes apply to subsequent runs, not an active execution.</p><p>Also enable <strong>Unified Compact</strong> in the current execution model’s form to use the system-wide dedicated model. This option defaults off: new, imported, and existing models without the setting keep their original model compaction. Child sessions use their own execution model’s option, not the parent’s. The dedicated summary model itself does not need this option enabled. Changes apply to subsequent executions. Older Nodes without support conservatively keep original model compaction.</p><p>The Node extension always uses a high-density Textual Continuation IR prompt; there is no standalone CLI flag. IR headings and keys use English, while natural-language values may follow the task language. Default compaction and fallback use the Core structured handoff prompt. The dedicated model generates an internal continuation summary without tools or changing the main conversation model. Both Workspace sessions and hosted conversations still require the execution user's model access and credential scope; enabling this setting grants neither. If the estimated input exceeds the dedicated model's window, the first request trims it to 90% of that window, potentially omitting older or lengthy evidence. An unavailable model, remaining context overflow, or failed generation falls back to default compaction with the current model. There is no second capacity-trimming retry of the dedicated model. Cancellation or the total compaction deadline does not trigger fallback. The summary is used for continuation, not displayed as public chat text.</p><p>MAR Agent schedules automatic compaction from the latest same-model context-input usage: at 85%, it generates a candidate in the background while the current task and tools continue; at 90%, it waits for that same compaction before the next model request. The conversation timeline updates one item through background generation, waiting, completion, failure, or cancellation. Background compaction does not end the active task or expose its private handoff summary. Messages and tool results produced after the snapshot remain after the compacted prefix. After a successful compaction, if a tail was retained, the Context indicator stays unknown until a foreground model request reports authoritative usage; with no retained tail, the existing <code>0 / window</code> reset baseline remains. Background Compact usage still counts toward costs but never replaces foreground context usage, Latency, or average output TPS.</p><p>Smart Compact is a separate system-wide switch in the same <strong>Admin → MAR Agent Models → Advanced → Compact</strong> panel, and is off by default. It does not require enabling or selecting the dedicated Compact model. When enabled, with a valid same-model input watermark of at least 60% and below 90%, the runtime allows the main model to consider whether prior detailed context has low continuation value and request the same background compaction earlier. It does not trigger for every topic change or one-off question, and it is not a guarantee that all history will fit without loss. Missing or invalidated usage skips this optional opportunity. Turning Smart Compact off disables only this optional early compaction; it does not affect manual Compact or the fixed 85%/90% automatic capacity safeguards. No Enterprise license is required, and the SDK and CLI use the same mechanism. Existing manual Compact controls and status displays are unchanged. Older Nodes without the <code>smartCompactControl</code> capability retain their existing behavior while the switch is on; with the switch off, they cannot guarantee that behavior is disabled and reject conversational and actual Plan executions with <code>CAPABILITY_VERSION_UNSUPPORTED</code>. Upgrade the Node to use the off setting. Manual Compact and commands that only toggle Plan state remain available.</p><h2 id="chatgpt-plan-authorization" tabindex="-1">ChatGPT plan authorization <a class="header-anchor" href="#chatgpt-plan-authorization" aria-label="Permalink to "ChatGPT plan authorization""></a></h2><p>The <strong>OAuth credentials</strong> tab lists <strong>Codex (legacy)</strong>, <strong>ChatGPT plan authorization</strong>, and <strong>X subscription</strong> in one table. To add a ChatGPT credential, select <strong>ChatGPT plan authorization</strong> and an online Node on the computer running your browser. The Node must support local sign-in. Open its local sign-in link and complete authorization on OpenAI's page. A remote Node cannot receive this browser's loopback callback; cancel and select the local Node instead.</p><p>The local Node is only a temporary sign-in provider. Server stores the credential and owns token refresh. Other authorized remote Nodes can share it without signing in themselves. Personal, organization, and enterprise scopes use the same management and model-use permissions as Codex credentials. Reauthorization also needs a local Node and reuses the issued client ID. Cancellation or failure leaves the existing credential intact.</p><p>Models use the fixed public OpenAI Responses endpoint, not the legacy Codex backend. HTTP/1.1, HTTP/2, and WebSocket are supported. HTTP and WebSocket can use <code>previous_response_id</code> for incremental user and tool turns; WebSocket additionally requires one healthy connection. Reconnects or adapter rebuilds replay the necessary full history. Image generation with this credential is not supported. An optional SOCKS5 proxy applies to Node sign-in, Server refresh and catalog requests, and inference on execution Nodes.</p><p>A successful identity sign-in without plan-use permission is retained as <strong>Unauthorized</strong>. It cannot load models or run inference: sign in again and grant plan usage. This is not token expiry and never switches automatically to API-key billing. Legacy Codex private usage queries are unavailable for the new type. Its account identifier comes from verified identity; provide missing context-window limits when importing models. Tokens are never returned to the management page.</p><p>Select <strong>Manage usage</strong> in a ChatGPT credential's <strong>Details</strong> to open <a href="https://chatgpt.com/settings/usage" target="_blank" rel="noreferrer">ChatGPT Settings → Usage</a> in a new tab, review plan or app limits, and adjust available settings. Make sure ChatGPT is signed in to the account associated with that credential. For <code>subscription_sharing_usage_limit_exceeded</code>, the chat error message explains the usage limit and asks you to open <code>https://chatgpt.com/settings/usage</code> in plain text, without an additional button or interactive link. Other HTTP 429 errors are not treated as exhausted plan usage.</p><h2 id="x-subscription-oauth-experimental" tabindex="-1">X subscription OAuth (experimental) <a class="header-anchor" href="#x-subscription-oauth-experimental" aria-label="Permalink to "X subscription OAuth (experimental)""></a></h2><p>Under <strong>OAuth credentials</strong>, choose <strong>Add OAuth credential</strong>, select <strong>X subscription OAuth (experimental)</strong>, and enter a name, ownership, and optional SOCKS5 URL. Open the displayed xAI authorization page and enter the device code; no local Node is required. Check the authorization page and selected account before approving. The shared public OAuth client may appear as Grok Build. Inference access depends on upstream account and subscription eligibility; neither a payment amount nor a successful sign-in guarantees model access.</p><p>Use <code>socks5://[username:password@]host:port</code>, URL-encoding special characters. The same proxy applies to Server device authorization, token exchange, identity, refresh, catalog, usage and revocation requests, and to model requests from the execution Node. Proxy failures never fall back to a direct connection. Both Server and the execution Node must reach the proxy; <code>127.0.0.1</code> on a remote Node is not the Server's localhost. The browser authorization page uses the browser's own network, not this proxy. You can edit or clear the proxy later and inspect its full URL in credential details; do not share screenshots containing proxy passwords.</p><p>After signing in, load and import the catalog, or create a Grok model, select the credential and enter a model ID. Inference uses <code>https://cli-chat-proxy.grok.com/v1</code> with a choice of WebSocket or HTTP/1.1 SSE; new models and catalog imports default to HTTP/1.1 SSE. Responses continuation is off by default, so both transports send full history. You can manually enable <code>previous_response_id</code> with either transport. Support depends on the upstream and account; enabling the setting is not a compatibility guarantee. Transport and continuation support on the subscription proxy are not guaranteed. A missing reference falls back once to full history; other failures retain diagnostic details. Speed tiers, HTTP/2 and image generation are unavailable for this connection. Models still use the X subscription OAuth credential, not a developer API key; catalog, identity and usage queries remain on the subscription proxy. Upgrading Server moves subscription models mistakenly configured with the developer API URL back to the subscription proxy while preserving other settings and clearing old model test results. Hosted Web Search can be toggled on the model form; new models and catalog imports enable it by default. Existing models keep their saved value; edit, enable the checkbox and save to turn it on. Re-importing creates independent models rather than modifying existing ones. The execution Node must advertise support for the new Responses parameter capabilities; otherwise upgrade Node.</p><p>Choose <strong>Query usage</strong> in credential details to manually load the current used/remaining percentage, weekly/monthly period, reset and query times, and the separate additional USD balance. Missing values display as a dash, not zero or unlimited. MAR does not estimate remaining tokens or display nonexistent token totals. A failed usage query does not imply inference is unavailable. Usage is not polled automatically and is cleared when details close. Upstream accounts may have additional paid balances; MAR does not top up or change billing settings and does not guarantee that subscription calls never incur extra charges.</p><p>Server stores and refreshes tokens; the execution Node receives only short-lived access credentials. Sign in again when authorization expires. Deleting an unreferenced credential attempts to revoke its upstream refresh token and reports revocation failure. This integration depends on a changeable subscription proxy protocol and is not recommended for production tasks requiring a stable SLA.</p><h2 id="configure-codex-credentials-and-the-model-catalog" tabindex="-1">Configure Codex credentials and the model catalog <a class="header-anchor" href="#configure-codex-credentials-and-the-model-catalog" aria-label="Permalink to "Configure Codex credentials and the model catalog""></a></h2><p>Every user can open <strong>Admin → MAR Agent Models</strong> for <strong>My model order</strong> and the Codex credentials they may manage; only system administrators see the <strong>Models</strong> tab used to configure models. A regular member can create only a personal credential. An organization administrator can also select an organization in their managed subtree, and a system administrator can select an organization or the entire enterprise. A personal credential is visible only to its owner, an organization credential is visible only to system administrators and organization administrators whose managed subtree covers it, and an enterprise credential is visible only to system administrators. Select <strong>Add OAuth credential</strong> and choose <strong>Codex (legacy)</strong>, enter a name, scope, and optional SOCKS5 proxy, then start device sign-in. This proxy applies only to Codex OAuth requests, model-catalog requests, and Codex model requests that reference this credential. The system polls automatically at the Server-provided interval, and you can select <strong>Refresh sign-in status</strong> while waiting to query immediately. A credential is stored only after sign-in, token exchange, and account validation all succeed. Cancelled, failed, or expired attempts create no credential.</p><p>The credential list and Details show the current access token expiry and the earliest refresh time supplied by ChatGPT. An unknown earliest refresh time appears as a dash; neither timestamp is the refresh token expiry. While refresh authorization remains valid, Server renews near-expiry tokens automatically. Nodes also renew access tokens and runtime tickets during long tasks without waiting for another model call, with bounded retries after temporary failures or unchanged near-expiry tokens. Persistent disconnection or invalid credentials still require recovery or sign-in. Manual refresh can request renewal before that time; the upstream response decides whether renewal succeeds. Automatic renewal still respects the earliest refresh time. Actual renewal immediately updates the list and open Details with the new expiry, earliest refresh and last-refresh time. The action column provides <strong>Details</strong>, <strong>Edit</strong>, <strong>Test</strong>, and <strong>Remove</strong>. <strong>Edit</strong> can change the name, scope, and SOCKS5 proxy. Narrowing a credential scope is rejected while an existing model grant remains outside the proposed scope; narrow those model grants first. Details fetches that credential separately, displays the complete SOCKS5 URL verbatim, and provides refresh, sign-in-again, query-usage, and model-catalog actions. <strong>Query usage</strong> displays lifetime tokens, usage on the previous Los Angeles day, the total for seven consecutive calendar days, the current used percentage and reset time for each quota window, and the query time. The previous day’s date and UTC offset appear in smaller text below its usage value. If no bucket exists for yesterday, that date still appears while usage shows a dash; an older bucket is never substituted. A bucket for the current Los Angeles day remains excluded from the seven-day total. Statistical days roll over in <code>America/Los_Angeles</code>: <code>UTC-07:00</code> during daylight saving time (15:00 in UTC+8) and <code>UTC-08:00</code> during standard time (16:00 in UTC+8). The system does not poll usage automatically, and closing Details discards both the complete proxy string and the usage result. A credential referenced by a model cannot be removed until that reference is changed or removed. The page never displays custom metadata, imported-model counts, access tokens, refresh tokens, ID tokens, the raw upstream usage response, or a FedRAMP flag.</p><p>Select <strong>Load model catalog</strong> to read the live Codex catalog visible to that credential. Each row shows the reasoning efforts supported by this system, including <code>ultra</code>, the catalog-provided or normalized default effort, and any genuinely unknown upstream efforts. Select the models to import and provide a context window only when the catalog omits it; a missing maximum-output value does not create an input field. The catalog has no availability switch, and imported models are enabled with the catalog default. Configure transport and Responses continuation later in the model view. Every Codex or ChatGPT catalog import creates a new independent model, even for the same credential, upstream model ID, display name, and ownership. Existing models and grants remain unchanged; new models use the import defaults and do not inherit existing settings or grants. If the live catalog changes, the page asks you to review the refreshed catalog before retrying.</p><h2 id="configure-model-access" tabindex="-1">Configure model access <a class="header-anchor" href="#configure-model-access" aria-label="Permalink to "Configure model access""></a></h2><p>New models are <strong>Restricted</strong> by default. Models that existed before this access feature are migrated as <strong>Public</strong>. The <strong>Access</strong> column shows the current state:</p><ul><li>Granting access to the <strong>Entire enterprise</strong> makes the model public.</li><li>Without an entire-enterprise grant, access can be granted separately to users or organizations and the model remains restricted.</li><li>System administrators can always manage every model regardless of model-grant records, but actual use still requires the user to be inside the bound credential scope.</li></ul><p>Select <strong>Grant</strong> on a model row to view, add, or revoke grants. A model's grant range must be fully contained by the bound credential scope; for example, a credential owned by an organization cannot be granted to a user or organization outside that subtree or to the entire enterprise. A regular user's new-session model catalog contains only redacted models that are enabled, granted to that user, and backed by a credential whose scope contains that user. The main Agent and its subagents receive the same authorized model set.</p><p>Disabling a model rejects subsequent new sessions, messages, and session commands. Revoking a user's grant, moving the user outside the credential's organization scope, rebinding or unbinding the model credential, or making the credential unavailable also causes every subsequent runtime credential resolution to be rejected. Work already accepted by Node and no longer requiring credential resolution is not forcibly terminated. When an existing MAR Agent conversation is opened and its saved model is no longer in the current catalog, Web automatically saves the first available model and switches the reasoning effort to that model's default. If the catalog is empty, Web does not switch to another Agent. A model can be deleted directly without disabling it or waiting for active tasks. Executions that already obtained the configuration can continue, while later model resolution fails as not found.</p><h2 id="sessions-and-permissions" tabindex="-1">Sessions and permissions <a class="header-anchor" href="#sessions-and-permissions" aria-label="Permalink to "Sessions and permissions""></a></h2><p>For tool-based work beyond a quick lookup, MAR Agent is guided to briefly explain its approach before starting. During longer tasks, it shares progress, findings, changes of direction, or blockers when useful to you. These updates appear in the conversation, not after every command or at fixed intervals. To redirect ongoing work, see <a href="./../workbench/composer">sending and steering messages</a>.</p><p>Nodes offer <strong>Auto</strong> and <strong>Full access</strong>. New ordinary work sessions default to Auto; existing sessions retain their saved setting. Entering a Goal never upgrades MAR Auto to Full access. The standalone SDK/CLI still defaults to Full access, and hosted conversations keep their existing isolation and permission policy.</p><p>Auto uses the current model's judgment: routine engineering and explicitly authorized work continue automatically; material risk or unclear authorization produces ask. Deny is reserved for an effective explicit prohibition, higher-priority/Host prohibition, or known extreme danger whose impact cannot reasonably be bounded. Authorization is reused within the same task, target and impact, across tools, retries, turns and subagents; material expansion or withdrawal requires reassessment.</p><p>The session tools <code>thought</code>, <code>todo</code>, <code>sleep</code>, <code>skill_load</code>, and <code>tool_search</code> do not show an Auto <code>permission</code> field to the model. MCP tools found by search still use the ordinary policy.</p><p>For Code Mode, the model is guided to declare ask/deny for the whole outer <code>code_exec</code> call. A nested deny skips only that tool and returns <code>error: MAR_AGENT_PERMISSION_DENIED</code> with a short <code>message</code> in the result data. It does not throw a JavaScript exception or end the cell; check the result before dependent steps. The denied tool is still recorded as failed. Other errors keep their existing behavior.</p><p>Ask waits online through the tool approval card, showing the public reason, command/arguments/code, working directory and expiry. Allow executes the captured original call; concurrent requests are decided separately. After 10 minutes without a decision, the request expires without executing and is not treated as a user rejection. Rejection, expiry and model-declared deny fail only that call; the model can continue within remaining authorization or stop naturally, but must not retry or route around a user refusal. Cancelled, decided or expired cards cannot execute. Goals and schedules retain existing Node policies. Standalone SDK/CLI hosts without an online channel stop on ask; later instructions do not replay the old call.</p><p><strong>Auto is neither an operating-system sandbox nor an independent safety reviewer.</strong> Full access omits Auto self-assessment. Both retain Host path/resource validation and use the Node service account's actual permissions. Use a dedicated low-privilege account and appropriate Workspace and host permissions.</p><p>Native session records are stored under <code>~/.mar/agent/sessions/</code> for the Node service account; Server does not store conversation bodies. MAR Agent supports Plan, Compact, question, MCP, images, and subagents. The model can use the <code>todo</code> tool with <code>action: read | write</code> to read or replace the current session checklist; an empty list clears it. Todo updates appear as checklists, and existing session checklists and history remain compatible. Each subagent is an independent persistent child session with its own history and parent relationship, while the default session list shows only user root sessions. Agent Network supports three levels: root, child, and grandchild; a fourth level is not supported. Continuous tasks use Node's shared Goal workflow and are not reimplemented inside the Agent SDK.</p><p>MAR Agent scans standard Skill directories under HOME and the Workspace and initially gives the model only each Skill's name and purpose. The agent uses <code>skill_load</code> when it needs a Skill; users do not need to name it. The tool adds guidance to the model's context rather than printing it as tool output. Context GC keeps the latest loaded version of each Skill, while Compact clears loaded guidance so the agent can load it again if needed. Workspace Skills take precedence over same-named user Skills, followed by SDK built-ins. Project guidance cannot change tool parameters or host permissions.</p><h3 id="command-environment" tabindex="-1">Command environment <a class="header-anchor" href="#command-environment" aria-label="Permalink to "Command environment""></a></h3><p><code>exec</code> enables login initialization by default. Bash reads the first readable file in its native order: <code>~/.bash_profile</code>, <code>~/.bash_login</code>, then <code>~/.profile</code>. It also loads a readable <code>~/.bashrc</code> when <code>BASH_ENV</code> is unset or empty. PowerShell loads its native startup configuration by default. These files belong to the Node service account, not the browser user. Configuration is read on every command start; hosted conversations read only files visible inside their isolated environment, never the host account's configuration.</p><p>To skip login initialization, ask the Agent to use <code>exec({ command: "…", login: false })</code>. A login Shell is still noninteractive. If a toolchain PATH appears after a noninteractive <code>return</code> in <code>.bashrc</code>, put that shared environment configuration in a login profile or before the early return. MAR does not bypass that guard, and an <code>export</code> in one command does not update Node or subsequent independent commands.</p><h3 id="advanced-subagent-control" tabindex="-1">Advanced subagent control <a class="header-anchor" href="#advanced-subagent-control" aria-label="Permalink to "Advanced subagent control""></a></h3><p>Node Agent Network does not impose the old 16-child creation or concurrency limits. The independent SDK Subagent extension retains its own admission policy.</p><p>The collaboration tools are <code>agent_start</code>, <code>agent_send</code>, <code>agent_wait</code>, <code>agent_stop</code>, <code>agent_list</code>, and <code>agent_view</code>. <code>agent_start</code> takes a text task and a nonblank title and returns an <code>agentId</code> without waiting for completion. It creates a direct child by default. Use <code>relation: "peer"</code> for an independent Session that does not automatically report back; wait or send a message using its returned Agent ID. Peers can use an authorized, enabled conversation model; children also require Subagent support. Both follow the same automatic collaboration whiteboard-sharing rules. See <a href="./../operations/marctl">marctl</a> for the CLI equivalent.</p><p><code>agent_send</code> can deliver a text message, update a Goal, or decide an approval for an authorized session; its delivery intent can replace the current execution. <code>agent_wait</code> defaults to waiting 30 seconds for direct children to finish; <code>waitMs=0</code> reads a snapshot and positive values use the requested duration. <code>agent_stop</code> takes only the session ID, stops its current execution, and clears its Goal; list and view discover authorized sessions and their status.</p><p><code>agent_view</code> accepts only <code>agentId</code> and returns state, the current Goal, and bounded recent activity without Run or Execution IDs and without reading session history. Use the separate <code>marctl agents history <session-id></code> command for paginated records when needed. <code>marctl agents view</code> follows the same state-query boundary.</p><p>If the target is idle and has no current or retained execution, <code>agent_wait</code> reports <code>AGENT_IDLE</code> with “Agent is idle; there is no execution to wait for.” This does not mean the session is missing or the task failed. An idle session with a retained terminal execution still returns that execution's result. An untargeted wait with no children reports <code>AGENT_WAIT_NO_TARGETS</code>; a missing explicit target reports <code>SESSION_NOT_FOUND</code>. Waiting does not start an idle session.</p><p>Within the same authorized Node and Workspace, messaging, explicit waits, Goals, stopping, approvals, and marctl session settings are not restricted by parent-child relationships. Target Run and queue ownership, model access, and resource authorization still apply. Sending does not establish automatic subscriptions to unrelated sessions.</p><p>Unread public child messages and new terminal results are delivered automatically before the parent's next normal model request, including direct children created through the native Extension API. The parent need not repeatedly use message waits to check progress. Delivery does not wake an idle parent or postpone a normal final answer: join results required for delivery before finishing, and use <code>agent_wait</code> when genuinely blocked. Automatic delivery and model waits share their observation position, so subsequent waits do not repeat already delivered message bodies or terminal evidence. Child content is context to verify, not new user instructions or authorization.</p><p>Node retains the latest 10 unread updates per parent-child observation relationship across executions. Overflow removes the oldest records, and <code>omittedUpdates</code> reports omissions since the last confirmed observation. This count belongs to the relationship, not to a particular execution. Confirmation clears the delivered notice; full public history remains available on demand. The window does not retain unlimited unread content.</p><p>Node's native <code>agent_send</code> accepts a <code>delivery</code> parameter of <code>STEER</code> or <code>QUEUE</code>. Messages with text default to <code>STEER</code>, including <code>marctl agents send <id> -m <text></code> from other Agents. Goal-only updates and approval decisions do not involve message delivery. Prefer STEER for timely communication; reserve QUEUE for deferred input explicitly requested by the user or recipient. It is consumed after current work and earlier queued inputs finish, and with an active Goal it is not consumed until that Goal exits. Acceptance does not guarantee immediate processing.</p><p>An accepted message normally needs no separate receipt acknowledgment, request for one, or immediate Session view just to confirm receipt. Parent and child Agents should preferably advance meaningful, non-overlapping work in parallel; waiting is generally useful once no other local task work remains and a required result is needed to unblock or finish. Necessary results, clarification, blockers, conflicts, and decisions still belong in the collaboration.</p><p>Native <code>agent_list</code> accepts only <code>scope</code>, an optional title fragment <code>query</code>, and <code>limit</code>. Omit <code>scope</code> or choose <code>tree</code> to list the current session's containing collaboration tree, including registered, authorized roots, ancestors, peers, and descendants; idle sessions and sessions with completed executions remain visible. Choose <code>active</code> for running or sleeping sessions in the current Workspace. Recent conversations, enabled Goals, and nonempty queues do not imply activity. Reuse known session IDs directly; titles do not automatically select or route to a target.</p><p><code>query</code> filters titles within the selected scope, ignoring surrounding whitespace and case and normalizing compatibility characters such as full-width letters. <code>limit</code> defaults to 10 and cannot exceed 100. Results contain <code>scope</code>, <code>currentAgentId</code>, flat <code>sessions</code>, and <code>truncated</code>; each entry contains only <code>id</code>, <code>parentSessionId</code>, <code>title</code>, and <code>status</code> (<code>RUNNING</code>, <code>SLEEPING</code>, or <code>IDLE</code>). Both scopes put active Sessions first, then sort by recent activity descending; parentSessionId preserves tree relationships. A parent may be absent because of filtering or authorization. No matches produce an empty list; results exceeding limit are marked truncated, without a cursor or pagination. Narrow the scope with query when needed. Listing does not scan native Agent session histories, resume executions, or establish subscriptions. <code>marctl agents list</code> uses the same arguments and result fields. Without a current Session, a standalone terminal defaults to active with currentAgentId null; explicit tree requires Session context.</p><div class="language-js vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">await</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> tools.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">agent_list</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({});</span></span>
|
|
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="shared-whiteboard" tabindex="-1">Shared whiteboard <a class="header-anchor" href="#shared-whiteboard" aria-label="Permalink to "Shared whiteboard""></a></h3><p>Every Agent keeps its own whiteboard and can follow one other board. When an Agent brings someone into the work, the new participant keeps its own board and follows the board the initiating Agent follows, or the initiating Agent's own board if it follows none. A disconnected follow is inherited as-is but does not provide board content or allow edits until reconnected. This includes idle Agents brought in by a message. Messaging an active Agent does not change the board it follows.</p><p>The board identifier, <code>boardAgentId</code>, is the owning Agent's ID. Read a board in the same workspace by that ID, even when its owner is idle. Omit the ID to read your own board. Reads return the contents and up to ten recent change summaries without changing what you follow. <code>join</code> accepts an active board's <code>boardAgentId</code> and replaces only the board you follow. Use <code>whiteboard({ action: 'leave' })</code> to stop following another board without changing your own. Use <code>update</code> with the ID of your own board or the board you follow.</p><p>Your own board and the board you follow are provided automatically. Edits can wake sleeping subscribers but do not start idle sessions. When the owner finishes their run, the followed board stops updating automatically but remains readable by ID. This does not affect your own board. To resume following it, join again when the owner is active or ask the owner to send a message from a new run.</p><h3 id="web-search-and-fetch" tabindex="-1">Web search and fetch <a class="header-anchor" href="#web-search-and-fetch" aria-label="Permalink to "Web search and fetch""></a></h3><p>When Hosted Web Search is enabled, both Auto and Full access use the selected model service's native hosted search without a client permission declaration; self-hosted search is not exposed at the same time. Otherwise MAR Agent uses the SearXNG service bundled with Server Compose. Web Fetch connects directly from the Node, does not read model credentials, and never inherits the SOCKS5 proxy configured on a Codex credential. It can reach any HTTP/HTTPS IP address or domain available from the Node, including intranet resources. It accepts self-signed or otherwise untrusted HTTPS certificates by default; set <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code> in the Node service environment to enforce certificate verification.</p><p>Node injects Web tools for the current Execution; they are not built-in Agent SDK network capabilities. <code>web_search</code> returns bounded search snippets. <code>web_fetch</code> uses Chromium to open a URL, or reads and finds literal text in an existing page reference. HTML is converted to bounded Markdown reading windows, with references and continuation cursors visible in the tool result. References are limited to the current session; reopen the URL if a reference expires. Web content is untrusted external data. Each Node fetches at most four pages at a time; excess requests wait in first-come, first-served order instead of failing immediately with a busy error. Queueing, browser rotation, and fetching share a 30-second deadline; expiry returns a timeout error, and cancellation removes the waiting request. HTTP errors, network failures, timeouts, and unreadable pages are reported in that request’s result without cancelling independent reads; invalid input, permission errors, execution cancellation, and runtime setup errors still fail the tool call. Shared Chromium closes after 30 minutes idle or, after one hour of use, once active fetches finish; new requests also queue during rotation, and it starts again on demand. Each child agent receives the search directory for its selected model rather than inheriting the parent model’s choice. Browser reads do not share user login state or cookies, expose no click, login, arbitrary-script, or download API, and do not automatically fall back to another fetch backend. Hosted conversations with network policy <code>NONE</code> receive neither Web tool; web-enabled hosted reads always verify HTTPS certificates.</p><p>Node prepares Chromium during installation/upgrades, never during startup or fetching. If it cannot start, check the service account cache and Linux system libraries. See <a href="./../deployment/node-installation#web-fetch-browser-preparation">Install and Register a Node</a>.</p><h2 id="image-generation-configuration-and-use" tabindex="-1">Image generation configuration and use <a class="header-anchor" href="#image-generation-configuration-and-use" aria-label="Permalink to "Image generation configuration and use""></a></h2><h3 id="configure-image-models" tabindex="-1">Configure image models <a class="header-anchor" href="#configure-image-models" aria-label="Permalink to "Configure image models""></a></h3><p>In the separate <strong>Image generation</strong> tab, every user can add, edit, remove, and enable personal image models. Authorized administrators manage and grant organization image models.</p><p>Select <strong>Adjust order</strong>, drag the order handles, then select <strong>Save order</strong> to apply the priority. <strong>Cancel</strong> restores the original order; other configuration changes are disabled while sorting.</p><p>Codex uses a credential and model ID. Volcengine Ark uses an API key, model ID, and full image-generation endpoint URL shared by generation and editing. Model IDs and URLs have no defaults and must be entered explicitly. Use HTTPS without embedded credentials, query parameters, or fragments. Existing Ark entries require a URL before they can be used. Ark keys are write-only; leaving the key blank when editing the same entry preserves it.</p><h3 id="request-generation-or-editing" tabindex="-1">Request generation or editing <a class="header-anchor" href="#request-generation-or-editing" aria-label="Permalink to "Request generation or editing""></a></h3><p>Each Run selects only the first enabled image model available to the current user. Codex requires an in-scope credential that does not need sign-in again; Ark requires a configured key. Unavailable entries are skipped; text tasks still work when no image model is available. Changes apply to the next Run, and failed requests do not automatically switch providers. Regardless of the text model, including TEXT-only coding models, MAR Agent exposes only the selected provider’s <code>codex_image_gen</code> / <code>codex-imagegen</code> or <code>byted_ark_image_gen</code> / <code>byted_ark-imagegen</code> tool and Node-provided Skill. These tools are available to the root Agent, not Subagents. Both support text-to-image and reference-image editing. Ark produces a single 2K PNG and does not support image groups. Request image generation or editing directly; no Skill installation or explicit Skill name is needed. Agent instructions require loading the Skill before performing image work you requested or explicitly authorized, rather than adding unsolicited images. Only the name and purpose are initially included in context; complete guidance is loaded on demand without creating Skill files in HOME or the Workspace. It does not provide an additional Python CLI or API-key fallback.</p><p>Codex can request transparent backgrounds and simple looping GIFs: 2–16 frames at 20–2000 ms per frame, defaulting to 9 frames at 200 ms. Each call saves one PNG or GIF; actual support depends on the configured model. Describe transparency or animation directly in your request. GIF originals preserve animation; static thumbnails do not verify the full animation.</p><h2 id="code-mode-tool-orchestration" tabindex="-1">Code Mode tool orchestration <a class="header-anchor" href="#code-mode-tool-orchestration" aria-label="Permalink to "Code Mode tool orchestration""></a></h2><p>For JSON tool calls, <code>code_exec</code> takes JavaScript source in <code>code</code>, for example <code>{"code":"observe.text(1);"}</code>. <code>apply_patch</code> takes the complete Patch text in <code>input</code>, including in <code>tools.apply_patch({ input: patchText })</code>; <code>patch</code> is not a supported field for new calls. When either tool is exposed as freeform, send its text directly without a JSON wrapper. Missing-field and type errors identify the required field or the expected and actual types without echoing argument values. Existing completed tool calls retain their recorded arguments during history replay and are not executed again.</p><p>All six Agent collaboration tools support direct and programmatic calls. Code Mode Only exposes them through the cell without a separate dual-exposure setting. Child agents use the Code Mode setting of their selected model.</p><p>Code Mode is disabled by default. MAR Agent exposes a restricted JavaScript orchestration cell only when <strong>Code Mode</strong> is enabled for the selected model and the Host supports execution. The main Agent and Subagents use their respective model settings; protocol type does not imply support. A cell can compose permitted tool calls and emit only the results needed, reducing intermediate model round trips. Enabling the switch defaults to <strong>Code Mode Only</strong>: programmatic tools, including single-tool operations, use <code>code_exec</code> by default; direct-only tools and tools explicitly exposed in both places keep their direct entry points. Disabling it restores ordinary direct calls. Only controls tool exposure and model guidance, not additional permissions; dispatch still follows caller permissions, discovery state, and Host policy. Configuration changes apply to the next execution, not one already running.</p><p>With Code Mode enabled, the model can start a command with <code>exec</code> directly or <code>tools.exec</code> inside a cell. It can wait for the same process by <code>processId</code> with <code>exec_wait</code> directly or <code>tools.exec_wait</code> inside a cell. A new <code>poll</code> that starts waiting takes over live output from an older <code>poll</code> for the same process. The older call returns normally with <code>waitOutcome: interrupted</code> and <code>reason: superseded</code>, without consuming incremental output or stopping the process or cell. <code>code_exec_wait</code> uses a <code>cellId</code> to wait for or cancel the cell itself. <code>apply_patch</code> also supports both entry points.</p><p>Each cell uses a fresh QuickJS WASM runtime in a Host-managed worker process. Top-level <code>await</code> and <code>Promise.all</code> are supported; Node globals, module imports, native file/network APIs, and <code>console.*</code> are unavailable. Use <code>observe.result(result)</code> to register an unmodified complete tool result or caught tool error; use <code>observe.text(value)</code> for derived values and <code>observe.image(value)</code> for images. Observation selects evidence for the model; it does not prove the model read or inspected it. There is no <code>out</code> alias. Files, commands, and network access require explicit <code>programmatic</code> permission on <code>tools.NAME(input)</code>, retaining each tool's own authorization and safety checks. Results use a shared envelope: raw file text is in <code>result.data.results[0].text</code>, not the line-numbered <code>content</code> display.</p><p><code>code_exec</code>, <code>code_exec_wait</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default; explicitly direct-only tools remain direct. In Code Mode, use <code>tools.tool_search</code> to find deferred tools. The SDK supplies matching definitions separately without requiring an observation or changing the current cell. Discovered tools are available from the next model request. When Code Mode is off, use <code>tool_search</code> directly. Await every tool call. Language isolation does not replace Host file permissions, process controls, or OS sandbox policy, and does not make writable tools read-only. Input and text output are each limited to 1 MiB, with up to 128 tool calls per cell. Synchronous JavaScript execution has a 120-second budget; asynchronous tool waits do not consume it, and cells have no fixed wall-clock deadline. Cancellation, timeout, or output limits may follow completed operations; failure does not roll back changes.</p><p>After starting a background process, pass the returned <code>processId</code> to <code>exec_wait</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Waits inside a cell still follow individual tool timeouts and Host policy. <code>exec</code> no longer accepts the old <code>action</code> parameter. The initial wait defaults to 10 seconds and polling with <code>exec_wait</code> defaults to 60 seconds; both are capped at 300 seconds. Explicit <code>yieldMs</code> values below 10000 ms, including 0, use a 10-second window. The wait returns sooner if the process finishes. Cancelling a wait does not terminate the process, and wait windows do not extend the process timeout.</p><p>Background cells are Session warm resources. 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>
|
|
7
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><p><code>agentIds</code> must contain 1–8 distinct IDs. Use <code>agentIds: ['id']</code> for one target; <code>agentId</code> is no longer accepted. <code>mode: 'any'</code> (default) returns when any selected target satisfies the condition; <code>mode: 'all'</code> waits for every target. <code>waitFor: 'completion'</code> (default) waits for terminal states; <code>waitFor: 'message'</code> waits for each target's latest unread public message or terminal state, not ordinary tool activity. Failed, cancelled and interrupted turns are also terminal, not successful. An explicit group shares one timeout and returns <code>agents</code> in input order, an overall <code>waitOutcome</code>, and <code>pendingAgentIds</code> for unmet conditions; a timeout can include partial results. <code>waitMs=0</code> returns status snapshots without reading or consuming unread messages. A timeout or cancelled wait does not stop child tasks. Omitting targets still selects only from direct children and returns the selected target in <code>agents</code>; single-target marctl commands are unchanged.</p><p>Native collaboration tools use the same compact result for direct calls and Code Mode <code>data</code>: target identity, actual operation status, new messages or terminal conclusions obtained by waiting, and partial failures, unknown outcomes, and error codes remain available. Internal audit receipts, queue item IDs, and internal execution identifiers are omitted. The optional <code>goal</code> in <code>agent_start</code> and <code>agent_send</code> is a persistent objective across executions, separate from the current message. Omit it or pass <code>null</code> to leave it unchanged, use <code>objective</code> to set or replace it, or use <code>clear</code> to remove it without stopping the current execution.</p><h3 id="collaboration-whiteboard" tabindex="-1">Collaboration Whiteboard <a class="header-anchor" href="#collaboration-whiteboard" aria-label="Permalink to "Collaboration Whiteboard""></a></h3><p>Every Agent keeps its own collaboration whiteboard and can follow one other board. When an Agent brings someone into the work, the new participant keeps its own board and follows the board the initiating Agent follows, or the initiating Agent's own board if it follows none. A disconnected follow is inherited as-is but does not provide board content or allow edits until reconnected. This includes idle Agents brought in by a message. Messaging an active Agent does not change the board it follows.</p><p>The board identifier, <code>boardAgentId</code>, is the owning Agent's ID. Read a board in the same workspace by that ID, even when its owner is idle. Omit the ID to read your own board. Reads return the contents and up to ten recent change summaries without changing what you follow. <code>join</code> accepts an active board's <code>boardAgentId</code> and replaces only the board you follow. Use <code>whiteboard({ action: 'leave' })</code> to stop following another board without changing your own. Use <code>update</code> with the ID of your own board or the board you follow.</p><p>Your own board and the board you follow are provided automatically. Edits can wake sleeping subscribers but do not start idle sessions. When the owner finishes their run, the followed board stops updating automatically but remains readable by ID. This does not affect your own board. To resume following it, join again when the owner is active or ask the owner to send a message from a new run.</p><h3 id="web-search-and-fetch" tabindex="-1">Web search and fetch <a class="header-anchor" href="#web-search-and-fetch" aria-label="Permalink to "Web search and fetch""></a></h3><p>When Hosted Web Search is enabled, both Auto and Full access use the selected model service's native hosted search without a client permission declaration; self-hosted search is not exposed at the same time. Otherwise MAR Agent uses the SearXNG service bundled with Server Compose. Web Fetch connects directly from the Node, does not read model credentials, and never inherits the SOCKS5 proxy configured on a Codex credential. It can reach any HTTP/HTTPS IP address or domain available from the Node, including intranet resources. It accepts self-signed or otherwise untrusted HTTPS certificates by default; set <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code> in the Node service environment to enforce certificate verification.</p><p>Node injects Web tools for the current Execution; they are not built-in Agent SDK network capabilities. <code>web_search</code> returns bounded search snippets. <code>web_fetch</code> uses Chromium to open a URL, or reads and finds literal text in an existing page reference. HTML is converted to bounded Markdown reading windows, with references and continuation cursors visible in the tool result. References are limited to the current session; reopen the URL if a reference expires. Web content is untrusted external data. Each Node fetches at most four pages at a time; excess requests wait in first-come, first-served order instead of failing immediately with a busy error. Queueing, browser rotation, and fetching share a 30-second deadline; expiry returns a timeout error, and cancellation removes the waiting request. HTTP errors, network failures, timeouts, and unreadable pages are reported in that request’s result without cancelling independent reads; invalid input, permission errors, execution cancellation, and runtime setup errors still fail the tool call. Shared Chromium closes after 30 minutes idle or, after one hour of use, once active fetches finish; new requests also queue during rotation, and it starts again on demand. Each child agent receives the search directory for its selected model rather than inheriting the parent model’s choice. Browser reads do not share user login state or cookies, expose no click, login, arbitrary-script, or download API, and do not automatically fall back to another fetch backend. Hosted conversations with network policy <code>NONE</code> receive neither Web tool; web-enabled hosted reads always verify HTTPS certificates.</p><p>Node prepares Chromium during installation/upgrades, never during startup or fetching. If it cannot start, check the service account cache and Linux system libraries. See <a href="./../deployment/node-installation#web-fetch-browser-preparation">Install and Register a Node</a>.</p><h2 id="image-generation-configuration-and-use" tabindex="-1">Image generation configuration and use <a class="header-anchor" href="#image-generation-configuration-and-use" aria-label="Permalink to "Image generation configuration and use""></a></h2><h3 id="configure-image-models" tabindex="-1">Configure image models <a class="header-anchor" href="#configure-image-models" aria-label="Permalink to "Configure image models""></a></h3><p>In the separate <strong>Image generation</strong> tab, every user can add, edit, remove, and enable personal image models. Authorized administrators manage and grant organization image models.</p><p>Select <strong>Adjust order</strong>, drag the order handles, then select <strong>Save order</strong> to apply the priority. <strong>Cancel</strong> restores the original order; other configuration changes are disabled while sorting.</p><p>Codex uses a credential and model ID. Volcengine Ark uses an API key, model ID, and full image-generation endpoint URL shared by generation and editing. Model IDs and URLs have no defaults and must be entered explicitly. Use HTTPS without embedded credentials, query parameters, or fragments. Existing Ark entries require a URL before they can be used. Ark keys are write-only; leaving the key blank when editing the same entry preserves it.</p><h3 id="request-generation-or-editing" tabindex="-1">Request generation or editing <a class="header-anchor" href="#request-generation-or-editing" aria-label="Permalink to "Request generation or editing""></a></h3><p>Each Run selects only the first enabled image model available to the current user. Codex requires an in-scope credential that does not need sign-in again; Ark requires a configured key. Unavailable entries are skipped; text tasks still work when no image model is available. Changes apply to the next Run, and failed requests do not automatically switch providers. Regardless of the text model, including TEXT-only coding models, MAR Agent exposes only the selected provider’s <code>codex_image_gen</code> / <code>codex-imagegen</code> or <code>byted_ark_image_gen</code> / <code>byted_ark-imagegen</code> tool and Node-provided Skill. These tools are available to the root Agent, not Subagents. Both support text-to-image and reference-image editing. Ark produces a single 2K PNG and does not support image groups. Request image generation or editing directly; no Skill installation or explicit Skill name is needed. Agent instructions require loading the Skill before performing image work you requested or explicitly authorized, rather than adding unsolicited images. Only the name and purpose are initially included in context; complete guidance is loaded on demand without creating Skill files in HOME or the Workspace. It does not provide an additional Python CLI or API-key fallback.</p><p>Codex can request transparent backgrounds and simple looping GIFs: 2–16 frames at 20–2000 ms per frame, defaulting to 9 frames at 200 ms. Each call saves one PNG or GIF; actual support depends on the configured model. Describe transparency or animation directly in your request. GIF originals preserve animation; static thumbnails do not verify the full animation.</p><h2 id="code-mode-tool-orchestration" tabindex="-1">Code Mode tool orchestration <a class="header-anchor" href="#code-mode-tool-orchestration" aria-label="Permalink to "Code Mode tool orchestration""></a></h2><p>For JSON tool calls, <code>code_exec</code> takes JavaScript source in <code>code</code>, for example <code>{"code":"observe.text(1);"}</code>. <code>apply_patch</code> takes the complete Patch text in <code>input</code>, including in <code>tools.apply_patch({ input: patchText })</code>; <code>patch</code> is not a supported field for new calls. When either tool is exposed as freeform, send its text directly without a JSON wrapper. Missing-field and type errors identify the required field or the expected and actual types without echoing argument values. Existing completed tool calls retain their recorded arguments during history replay and are not executed again.</p><p>All six Agent collaboration tools support direct and programmatic calls. Code Mode Only exposes them through the cell without a separate dual-exposure setting. Child agents use the Code Mode setting of their selected model.</p><p>Code Mode is disabled by default. MAR Agent exposes a restricted JavaScript orchestration cell only when <strong>Code Mode</strong> is enabled for the selected model and the Host supports execution. The main Agent and Subagents use their respective model settings; protocol type does not imply support. A cell can compose permitted tool calls and emit only the results needed, reducing intermediate model round trips. Enabling the switch defaults to <strong>Code Mode Only</strong>: programmatic tools, including single-tool operations, use <code>code_exec</code> by default; direct-only tools and tools explicitly exposed in both places keep their direct entry points. Disabling it restores ordinary direct calls. Only controls tool exposure and model guidance, not additional permissions; dispatch still follows caller permissions, discovery state, and Host policy. Configuration changes apply to the next execution, not one already running.</p><p>With Code Mode enabled, the model can start a command with <code>exec</code> directly or <code>tools.exec</code> inside a cell. It can wait for the same process by <code>processId</code> with <code>exec_wait</code> directly or <code>tools.exec_wait</code> inside a cell. A new <code>poll</code> that starts waiting takes over live output from an older <code>poll</code> for the same process. The older call returns normally with <code>waitOutcome: interrupted</code> and <code>reason: superseded</code>, without consuming incremental output or stopping the process or cell. <code>code_exec_wait</code> uses a <code>cellId</code> to wait for or cancel the cell itself. <code>apply_patch</code> also supports both entry points.</p><p>Each cell uses a fresh QuickJS WASM runtime in a Host-managed worker process. Top-level <code>await</code> and <code>Promise.all</code> are supported; Node globals, module imports, native file/network APIs, and <code>console.*</code> are unavailable. Use <code>observe.result(result)</code> to register an unmodified complete tool result or caught tool error; use <code>observe.text(value)</code> for derived values and <code>observe.image(value)</code> for images. Observation selects evidence for the model; it does not prove the model read or inspected it. There is no <code>out</code> alias. Files, commands, and network access require explicit <code>programmatic</code> permission on <code>tools.NAME(input)</code>, retaining each tool's own authorization and safety checks. Results use a shared envelope: raw file text is in <code>result.data.results[0].text</code>, not the line-numbered <code>content</code> display.</p><p><code>code_exec</code>, <code>code_exec_wait</code>, <code>question</code>, and direct-only tools cannot run inside a cell. Ordinary external MCP tools have programmatic permission by default; explicitly direct-only tools remain direct. In Code Mode, use <code>tools.tool_search</code> to find deferred tools. The SDK supplies matching definitions separately without requiring an observation or changing the current cell. Discovered tools are available from the next model request. When Code Mode is off, use <code>tool_search</code> directly. Await every tool call. Language isolation does not replace Host file permissions, process controls, or OS sandbox policy, and does not make writable tools read-only. Input and text output are each limited to 1 MiB, with up to 128 tool calls per cell. Synchronous JavaScript execution has a 120-second budget; asynchronous tool waits do not consume it, and cells have no fixed wall-clock deadline. Cancellation, timeout, or output limits may follow completed operations; failure does not roll back changes.</p><p>After starting a background process, pass the returned <code>processId</code> to <code>exec_wait</code>. It defaults to waiting and also supports <code>action: "write"</code> and <code>action: "cancel"</code>. Waits inside a cell still follow individual tool timeouts and Host policy. <code>exec</code> no longer accepts the old <code>action</code> parameter. The initial wait defaults to 10 seconds and polling with <code>exec_wait</code> defaults to 60 seconds; both are capped at 300 seconds. Explicit <code>yieldMs</code> values below 10000 ms, including 0, use a 10-second window. The wait returns sooner if the process finishes. Cancelling a wait does not terminate the process, and wait windows do not extend the process timeout.</p><p>Background cells are Session warm resources. 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>`,122)])])}const g=t(
|
|
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>`,122)])])}const g=t(o,[["render",i]]);export{u as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,o as s,c as a,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Configure and Use MAR Agent","description":"","frontmatter":{"title":"Configure and Use MAR Agent","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),
|
|
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-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/runners/mar-agent.md","filePath":"en-US/runners/mar-agent.md"}'),o={name:"en-US/runners/mar-agent.md"};function i(r,e,d,l,c,h){return s(),a("div",null,[...e[0]||(e[0]=[n("",122)])])}const g=t(o,[["render",i]]);export{u as __pageData,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,o as s,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Conversations, Tools, and Notifications","description":"","frontmatter":{"title":"Conversations, Tools, and Notifications","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/conversation.md","filePath":"en-US/workbench/conversation.md"}'),a={name:"en-US/workbench/conversation.md"};function r(i,e,d,l,c,h){return s(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="conversations-tools-and-notifications" tabindex="-1">Conversations, Tools, and Notifications <a class="header-anchor" href="#conversations-tools-and-notifications" aria-label="Permalink to "Conversations, Tools, and Notifications""></a></h1><p>In regular Workspace sessions, website links and authorized HTML/HTM file links follow your <a href="./browser">browser opening preferences</a>. HTML opens in the Workspace browser by default; Ctrl/Cmd-click inverts the destination. See <a href="./files">file preview and security</a>.</p><p><strong>Recent Sessions</strong> also provides <strong>Main Sessions / Child Sessions</strong>, defaulting to Main Sessions and following the <a href="./sessions">session list rules</a>. Tabs have no running or unread badges and only switch the list, without opening a session. The <strong>Active tasks</strong> count includes tasks that are starting, running, or stopping. Opening a notification, recent-session item, or Workspace tab synchronizes the target session's group in Chats; individual session indicators stay unchanged.</p><p>Conversation groups your messages, Agent replies, reasoning summaries, plans, commands, tools, file changes, approvals, and questions in execution order. Expand supporting cards when details are needed; Agent Markdown is sanitized before display.</p><p>Expand a file-read entry to see the actual line range and corresponding content when supplied by the source. Older records and Agents without per-file associations retain the overall call result. Skills, commands, web calls, and other tools show details supported by their available facts; image-view tools show metadata when no preview is available. Results can be truncated by the source or display limits. The copy button copies the call's public record without rereading a file or webpage.</p><p>Web search details show the available query, source titles, links, and summaries without repeating raw Output. The copy button still includes the original public result. Missing structured sources are neither extracted from raw results nor treated as no results. Web content details continue to show the returned body; errors and actual truncation notices remain visible.</p><p>Tall detail areas initially use a limited-height preview. Select <strong>Show more</strong> to reveal the rest of the returned content, or <strong>Show less</strong> to restore the preview. This does not reread the source or affect copying. <code>[Truncated]</code> means the returned content itself is incomplete, not that the interface preview is collapsed.</p><p>Cross-session message headings distinguish parent, child, descendant, and other sessions using the saved sender name. Hover to see the source session ID. Older messages without a saved relationship retain their original source label.</p><p>Images in the conversation load as thumbnails. Click one to open a preview, shown only after loading and decoding finish. Detail previews normally fit within 2560×2560 without enlarging small images. If a preview was resized, <strong>View original</strong> appears below it and loads the original image, fitted to the dialog. GIFs from a workspace, hosted conversation, or shared session loop both inline and in the preview. GIFs larger than 5 MiB do not play in the conversation. Use the file entry to download the original. Long screenshots also fit as a whole at first, so their text may appear small. Failed loads can be retried. This does not change uploaded files or images sent to the model.</p><p>On desktop, scroll the wheel over the image area to zoom, then hold the primary mouse button and drag to pan. On mobile, pinch with two fingers to zoom and drag with one finger to pan after zooming in. The centered controls below the image offer zoom, fit, and a four-way pan button. When available, <strong>View original</strong> appears in the same group.</p><p>Within the same conversation segment and aggregation phase, reasoning, ordinary tools, commands, and file changes each share a card positioned at that type's last item. Adding another item of the same type moves the whole group to that item's position, while members retain their original order. Streaming content or status updates to existing items do not move cards. Groups never span segments or user turns, and new activity after an Agent reply does not merge into cards before that reply. Image generation, plans, approvals, and questions remain separate.</p><p>Context compaction appears separately and marks a work-process boundary, including background compaction. Subsequent reasoning and tools start a new process instead of merging with earlier records. Compaction status updates do not repeatedly split the process or mean that the current task has ended.</p><p>A message from another session that starts a new turn, such as the initial task for a child Agent, appears directly in the conversation with its full source. Rewind and Rollback follow the same availability rules as for other messages in the main conversation.</p><p>Each work process can contain one collapsed <strong>Agent collaboration</strong> group for its Agent operations, collaboration whiteboard operations, and follow-up messages from other sessions within the current turn. Expand it to see the records in their original order. Collaboration whiteboard operations show the call status and available result details without opening or rereading the board. Grouped messages start collapsed with a one-line preview and a short source label, such as <code>child session</code>. Expand a message to read it in full, see the full source and time when available, or copy it. Rewind and Rollback are not available on grouped messages. Messages from other people in a shared conversation still appear in the main conversation.</p><p>Details present facts supplied by the source: start and send focus on the task name and current message. Queue/steer describes the sending mode, not confirmed delivery or processing. Wait and view show the status, message, or result returned by that call; list shows session names and statuses; stop displays the public result as-is. Use the copy button at the top right for the original input, result, and other available public fields. The record is bounded and does not fetch additional target-session data. Older records without structured facts retain generic details, where model metadata appears only when supplied by the source. A returned call does not mean the target task has finished, and a wait timeout does not mean it failed; error information is retained. The target session's internal execution stream is not embedded, and cards do not provide session shortcuts. Use the session list or session tree to open a target session.</p><p>When an Agent request or model call finally fails, the error card shows the HTTP status when available and the returned error message. In an ordinary session, a terminal failure returns the session to Idle and pauses any remaining queued messages until you resume the queue or send a new ordinary message after reviewing the error. MAR Agent may retry eligible transient model failures before its first semantic output; an active Goal may also retry failed executions through bounded automatic continuation before blocking.</p><p>Task lists start expanded; click the heading to collapse or reopen them. Each work process shows its latest task snapshot with the original item statuses and content. File changes, plans, and image-generation text keep their existing actions; image thumbnails retain their separate preview.</p><p>Task lists and Agent queries provide a top-right button to copy the current public record. File-change lists do not provide a copy button.</p><h2 id="inspect-this-file-change" tabindex="-1">Inspect this file change <a class="header-anchor" href="#inspect-this-file-change" aria-label="Permalink to "Inspect this file change""></a></h2><p>When the latest round ends, an additional temporary card shows its loaded file changes after the final Agent reply, without opening the execution process. Original file-change cards in each segment stay unchanged. Starting the next round removes only the extra card; it does not move or restore historical cards. The list contains loaded change records, not a complete execution-wide or final net diff, and does not automatically load the entire history.</p><p>Supporting MAR Agent Nodes save a read-only Diff for each <code>apply_patch</code> operation, in both Direct and Code Mode. Expand a file-change card to see trusted green <code>+N</code> and red <code>-N</code> counts at the end of each entry. Click a file to open <strong>This change</strong>, with single-column added and removed lines for additions, deletions, edits, and both paths of a move. Overwriting an existing file is shown as a modification. Added or deleted empty files still show their path change with <code>+0/-0</code>, without inventing an added line.</p><p>This is that operation's historical change, not the task's cumulative change or the current <a href="./git-changes">Git changes</a>. Separate edits to the same path open independently. Later edits or deletion of the current file do not alter a saved Diff. The shared <strong>Open source file</strong> button and <code>Ctrl+E</code> (<code>Command+E</code> on macOS) open the current source file through the normal file-opening flow, not the raw Diff text. The saved change remains read-only and separate from the current source file. If that file is missing or inaccessible, opening it reports an error without replacing the saved Diff. Failed reads can be retried and never silently fall back to the current Git Diff.</p><p>Other Agents, older history, and Nodes without resource-reading support retain their previous file-opening behavior. Unknown counts are not replaced with zero. Non-text files, size limits, and storage failures show an explicit unavailable-details notice. Arbitrary writes by shells, scripts, or formatters are not captured. Clearing, truncating, or deleting session history removes its unreferenced Diffs; Rewind branches retain Diffs referenced by their copied history.</p><h2 id="create-a-non-destructive-branch-from-a-message" tabindex="-1">Create a non-destructive branch from a message <a class="header-anchor" href="#create-a-non-destructive-branch-from-a-message" aria-label="Permalink to "Create a non-destructive branch from a message""></a></h2><p>For MAR Agent, Codex, Claude Code, and OpenCode, completed user and Agent messages show Rewind beside Copy when the history contains a usable boundary. After confirmation, Rewind creates a new session branch. Rewinding a user message branches before that turn and restores the original text to Composer; rewinding an Agent reply retains the complete turn and leaves Composer empty.</p><p>Rewind does not modify the original session or roll back Workspace files. While Working, submitting a message, or changing a session, the UI hides Rewind and Rollback, locks model, reasoning effort, access and manual context compaction controls, and hides commands that require an idle session. Copy, queueing, stopping and state commands that support execution while working remain available. If the session starts working or the selection changes during confirmation, the operation is not submitted. Rewind is not restricted by Session capability or App Server probing. If the current Agent rejects branching (for example, because its version does not support it), or another client holds a session lock that blocks the operation, the current session and draft remain unchanged and the actual error returned by Node is shown.</p><p>The Server waits up to 60 seconds. If Rewind times out, the Node may still be creating the branch. Check the session list before retrying to avoid creating a duplicate. If OpenCode rejects a stale branch boundary, refresh the session history and select the message again.</p><p>Completed user messages also show Rollback after Rewind when the session declares native history-truncation support. MAR Agent supports it; Codex supports it only for native <code>paginated</code> sessions, not legacy history. Claude Code and the currently integrated OpenCode history API do not provide a compatible history-only truncation operation. After confirmation, Rollback does not create a branch: it permanently removes the selected user message and all later history from the current session. It never rolls back Workspace files. In regular Workspace sessions, Rollback preserves the current Composer draft instead of restoring the removed message. Unexecuted queue items also retain their content, order, and paused state; rollback does not resume them automatically. The session must be idle, but its queue need not be empty. A failed request shows the actual error without optimistically changing the displayed history or draft.</p><p>Rolling back a steer message added during a MAR Agent run preserves ordinary messages and execution records from before that input was received, whether or not it had taken effect before stopping.</p><h2 id="live-performance" tabindex="-1">Live performance <a class="header-anchor" href="#live-performance" aria-label="Permalink to "Live performance""></a></h2><p>A session segment heading shows available <strong>Latency</strong> and <strong>TPS</strong> after its duration. Hover, focus, or tap the trailing <strong>Info</strong> icon for details; there is no separate bottom-right entry or message-card Info. Labels remain English in both interface languages, separated by <code>·</code>: the first line contains <code>Latency</code> and <code>TPS</code>; the second contains <code>Input</code>, <code>Output</code>, and <code>Cache Hit Rate</code>. All four Agents report usage for one model request, not a turn or session total. Input includes cached tokens. Cache Hit Rate is that request’s cache-read tokens divided by total input, shown to one decimal place. The second line appears when usage arrives. Unknown fields show <code>—</code>, not confirmed zero; known zero input shows a 0.0% hit rate.</p><p>Latency measures input or the most recent batch of Tool Results to the first valid model response, excluding observed client-tool execution and approval waits. MAR Agent measures it at the SDK model-request boundary. Claude Code, Codex, and OpenCode observations include Agent runtime, IPC, and network overhead. TPS uses final output tokens from that request. <a href="./../runners/mar-agent">MAR Agent</a> uses end-to-end model request time, counting positive durations under one second as one second. The other three use their observed generation intervals. None estimate from text length or an entire tool chain, or claim pure server-side inference speed.</p><p>Latency, TPS, and the Input/Output/Cache Hit Rate group update independently within the same Run. New requests, segments, and continued executions in that Run do not clear the other groups. The first valid performance update from a new Run replaces the previous Run’s metrics; groups not yet reported are not shown. New usage replaces the whole usage group without mixing requests. Timing and usage may come from different requests, but always belong to the same Run. The final segment can retain the last observations on the current page. Metrics are not conversation history. Switching sessions, Workspaces, Nodes, or modes clears them. Returning to an active session or refreshing restores observations received by its current Run through the existing Watch. Re-entering after the Run ends or after a Node restart does not restore them.</p><h2 id="clear-a-mar-agent-session-history" tabindex="-1">Clear a MAR Agent session history <a class="header-anchor" href="#clear-a-mar-agent-session-history" aria-label="Permalink to "Clear a MAR Agent session history""></a></h2><p>In the Composer for the current MAR Agent session, enter <code>/clear</code> and select the command. After confirmation, it permanently clears all history and session images while retaining the same session, title, Workspace, and current configuration. It does not delete the session or roll back Workspace files. The operation is rejected while the session is running, has queued messages, or is already changing history; the existing history and draft remain unchanged.</p><h2 id="clean-up-workspace-sessions" tabindex="-1">Clean up Workspace sessions <a class="header-anchor" href="#clean-up-workspace-sessions" aria-label="Permalink to "Clean up Workspace sessions""></a></h2><p>On supported Nodes, choose <strong>Clean up sessions</strong> from the More menu at the upper right of the current Workspace's <strong>Sessions</strong> pane to permanently delete matching sessions. Cleanup refreshes the session list and shows the results. See <a href="./sessions#clean-up-sessions">Clean up sessions</a> for what gets deleted, what is kept, and what to do if cleanup does not finish.</p><p>Approval cards require an explicit allow or reject action. Question cards require every answer before submission. File-change cards open the related diff when possible.</p><p>The notification center reports completed or failed runs, approvals, questions, plans, and uploads. When the target regular session or hosted conversation is active in the current browser, its notification is marked as read without opening a preview; other signed-in browsers synchronize the resulting state. Explicitly interrupting a regular session, or stopping or deleting a hosted conversation, does not create a terminal notification. Run, approval, question, and plan notifications remain on Server for 24 hours and are reloaded after a refresh or live reconnection without replaying their popup. Hosted conversations create notifications only when a Run succeeds, fails, or ends because of an unexpected interruption; they do not create approval, question, or plan notifications. File upload and stop notices remain local to the current browser. File upload notifications are read immediately and do not increase the unread count, but still show a brief preview. Selecting a regular notification opens its Node, Workspace, and session when they remain accessible; selecting a hosted notification switches to Conversation mode and opens its conversation.</p><p><strong>Sessions & notifications</strong> is one main-navigation entry after <strong>Chat</strong>, with no separate top-right bell. Its upper-right number counts unread notifications (<code>99+</code> above 99); its lower-right dot is green whenever at least one regular session task is active, including while stopping. With no active tasks, the dot is hidden. Opening the panel selects <strong>Notifications</strong> when unread items exist, otherwise <strong>Recent Sessions</strong>. New notifications and marking all read do not change the selected tab while the panel stays open. Opening alone does not mark items read. Notifications retains uploads and regular or hosted-conversation notifications. Recent Sessions retains active regular Workspace sessions and up to 100 finished tasks from the last 12 hours; hosted conversations are excluded. Active tasks appear first, ordered by start time from newest to oldest. Finished tasks follow in completion-time order, falling back to their last update time. Selecting an item opens its Node, Workspace, and session. Desktop panels and previews open beside the left entry; mobile uses the auxiliary menu below the top bar. Tabs and actions stay fixed while lists scroll. Previews do not replace an open menu or steal focus. Deleting a notification does not remove a recent session. A user stop explicitly identified by the Node is labeled <strong>Canceled</strong>; other interruptions and older records without a stop reason remain <strong>Interrupted</strong>.</p><p>After reconnecting, returning from the background, or regaining window focus, a visible and focused page checks and marks unread notifications for the same active regular session or hosted conversation. You do not need to switch sessions. Returning to a selected work session or hosted conversation through the top navigation also marks that target as read. Other conversations keep their unread state. Clicking a notification in the center or a system notification marks only that item as read, not other notifications for the same target. Badges update only after Server confirmation; a failed read request does not clear the count locally and is retried on the next connection or focus recovery.</p><p>Use <code>Ctrl+Shift+E</code> (<code>Command+Shift+E</code> on macOS) to quickly open or close the combined panel.</p>',42)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t,o as s,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Conversations, Tools, and Notifications","description":"","frontmatter":{"title":"Conversations, Tools, and Notifications","lastUpdated":"2026-11-
|
|
1
|
+
import{_ as t,o as s,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Conversations, Tools, and Notifications","description":"","frontmatter":{"title":"Conversations, Tools, and Notifications","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/conversation.md","filePath":"en-US/workbench/conversation.md"}'),a={name:"en-US/workbench/conversation.md"};function r(i,e,d,l,c,h){return s(),o("div",null,[...e[0]||(e[0]=[n("",42)])])}const g=t(a,[["render",r]]);export{u as __pageData,g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as s,o as t,c as n,a3 as o}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Create and Manage Sessions","description":"","frontmatter":{"title":"Create and Manage Sessions","lastUpdated":"2026-11-27T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/sessions.md","filePath":"en-US/workbench/sessions.md"}'),a={name:"en-US/workbench/sessions.md"};function i(r,e,d,l,h,c){return t(),n("div",null,[...e[0]||(e[0]=[o('<h1 id="create-and-manage-sessions" tabindex="-1">Create and Manage Sessions <a class="header-anchor" href="#create-and-manage-sessions" aria-label="Permalink to "Create and Manage Sessions""></a></h1><p>On Nodes that advertise grouping, <strong>Main Sessions / Child Sessions</strong> separates the session list and defaults to Main Sessions. Sessions with a parent relationship appear under Child Sessions; sessions without one appear under Main Sessions. Search and pagination stay within the selected group. Switching groups does not close the conversation or interrupt work. Each Workspace remembers its group for the current page only; reloading defaults to Main Sessions. A Node without grouping capability retains the mixed list.</p><p>Group tabs show only their names and selected state, without running counts or unread badges. Clicking a tab only switches the list; it does not open a session. Individual session rows retain their running and unread indicators. Notifications, recent-session items, and Workspace tabs synchronize Main / Child Sessions when they open a target session.</p><p>Click or tap the conversation title to share or rename the session, view its collaboration network, or manage its prompt and scheduled task where supported. Use the session list's More menu to pin, reorder, or delete it. <strong>Copy session ID</strong> is available from the title and list menus; the ID is not shown in the header.</p><p>Open the <strong>Collaboration Network</strong> dialog from the icon beside the title, the title menu, or the list menu. Open it from any level in Main or Aside to see that session’s ancestors, siblings, and other connected branches. The session you open the dialog from keeps its blue Current session outline even when you view another collaboration whiteboard. Large networks show a notice if the display limit is reached. Solid arrows point from parent sessions to their children; dashed lines indicate a currently shared collaboration whiteboard. Collaboration whiteboards are not nodes. The graph automatically scales and centers the current session. Use the mouse wheel or zoom buttons to zoom from 10% to 100%, and drag to pan. On a phone, drag with one finger or pinch with two fingers to zoom. The right panel starts with the current session’s collaboration whiteboard. Select a node to see its own board, or select a dashed line to highlight the relationship and see its shared board. Select a node again to return to that session’s own board. Board entries and recent changes are shown directly and cannot be edited. Use a session node’s <strong>More</strong> (···) button or right-click the node to open that session in Main or Aside. Closing the dialog leaves the current session unchanged. Older Nodes without network support continue to open the session tree from the same entry points.</p><p>A session can be open in both the main work area and Aside. Opening either side does not close the other, and reopening the same location does not refresh its conversation. Each Workspace keeps independent Main and Aside drafts for message text, skill tags, and references. Switching sessions or starting a new session on one side preserves its input; switching Workspaces restores that Workspace's draft for each side. Even the same session has independent input on both sides, while concurrent duplicate submissions are still prevented. Queued-message edits remain bound to their original session. Closing an Aside session tab stops displaying the conversation there; it does not end the Agent's task, delete the session, or close the main work area.</p><p>In work mode, closing a Workspace preserves its drafts in the current browser tab for reopening. Signing out or losing authentication clears that tab’s saved input drafts and queued-message edits so another account cannot restore them. Save important unsent content elsewhere first. This does not delete messages already sent or queued.</p><p>Aside keeps at most one session tab per Workspace. Opening another session replaces the previous session tab while preserving Aside's current input and leaving the previous session's task running. Tool tabs such as Files and Terminal are unaffected.</p><p>Agent operations and messages from other sessions appear in the <a href="./conversation">Agent collaboration</a> group inside the work process. The group does not provide session shortcuts. To view a target session, send a message, or stop its run, open it from the session list or collaboration network. Normal session permissions still apply.</p><p>When an Agent sends a message or sets a Goal on an ancestor session that has ended or is stopping, the operation returns <code>AGENT_ANCESTOR_NOT_ACTIVE</code> without restarting it. Sending works again once the ancestor is running. Users can still resume sessions manually.</p><p>Expand an execution record to inspect the available command or code, output, working directory, exit code, and status. Each call has its own record. <strong>Copy public record</strong> copies that record's available public information, which can be truncated; older Nodes may provide fewer details.</p><p>A regular work session must execute in the selected Workspace's valid root or a subdirectory. An independently registered Git worktree uses its own Workspace. Node rejects new execution if the directory disappears, the registered root is replaced, or a link escapes the Workspace; it does not silently switch directories. If queued messages are paused for this reason, restore a valid directory and use <strong>Resume</strong> in the queue. Messages and attachments are retained and can still be removed through the existing queue controls. This check does not make work mode a host filesystem sandbox or change hosted-conversation isolation.</p><p>When there is no session to restore, the main work area shows a new session draft, even if the list contains previous sessions. Start typing or select an existing session from the list. A new session is created only when its first message is accepted. On supported Nodes, selecting <strong>New Session</strong> or using its shortcut switches the list to Main Sessions. Manually switching groups afterward does not change the Composer draft.</p><p>The session list initially loads up to 30 sessions. Scrolling near the bottom automatically loads up to 30 more; search results continue in the same way. New sessions remain visible in the current list. A small ring marks the pending page. A failure preserves the loaded sessions and pauses automatic loading; select <strong>Failed to load. Retry</strong> at the bottom to continue. Retrying shows only the ring.</p><p>An initial or earlier-history load failure does not trigger repeated automatic requests. Select <strong>Failed to load. Retry</strong> in the conversation to read again; loading and retrying show only a ring. The same failure does not also produce a popup. The retry control's supplementary hint retains available error codes, details, and request identifiers. Established realtime subscriptions have bounded recovery, and reconnecting the page rebuilds subscriptions. These read or subscription recoveries never rerun an Agent task.</p><p>A conversation turn can contain several collapsible <strong>Work processes</strong>. Public reasoning text, tool calls, and file operations appear in their actual order; Agent replies, approvals, and questions remain outside these groups. The active process opens by default and collapses when finished; your manual expansion or collapse takes precedence. Missing public reasoning does not create an empty card, and reasoning text is not an execution status. File details still open in the existing dialog.</p><p>A reasoning preview appears above each process status row and in collapsed reasoning rows. It uses the latest valid public reasoning record within the corresponding scope, whether a summary or visible content, and extracts the first clause of its first non-empty line after removing leading heading or bold formatting. An older summary does not override later reasoning. Long previews use a single-line ellipsis according to the available width. Expand reasoning to read the full original text; a preview does not indicate execution status.</p><p>Scroll upward to the top of the conversation to load earlier messages. Earlier content is inserted above the existing messages while preserving your current message and its position in the viewport, without jumping to the start of the new page. Continue scrolling upward to read the earlier messages. If the top history marker remains in the viewport after the initial load, one additional page loads automatically while preserving your reading position; this does not continue through the entire history. No load button appears while idle, and loading or retrying shows only a small ring. After a failure, select <strong>Failed to load. Retry</strong> without clearing the messages already loaded. Once all history is loaded, no loading control or beginning-of-conversation message appears. <strong>Sending</strong> means the message is being submitted, not that the Agent has started. Activity comes from Node; when no specific action is available, the display says <strong>Running</strong> without inventing a reasoning summary. Run duration uses its start and completion times, including waits and continuation within that Run. Missing reliable timestamps hide the duration; a new Run after a Node restart starts a new clock.</p><p>Use the session list to reopen, rename, pin, reorder, or delete sessions. On supported Nodes, title search can find sessions in the current Workspace even if they have not been loaded into the list. Clear the search to restore the normal list. Search and pagination stay within the selected Workspace. Deleting a session also permanently deletes all of its child sessions at every level. This cannot be undone, but it does not delete Workspace files.</p><p>Working sessions hide Delete. If a session starts working during deletion confirmation, the operation is not submitted. Rename and Pin remain available.</p><p>On supported Nodes, choose <strong>Session Prompt</strong> from an existing session's More menu to save multiline instructions of up to 20,000 characters. Leave it blank and save to clear it. The setting belongs only to that session and survives reopening or a Node restart. It is appended after the sender's shared and Agent-specific personal instructions, without replacing account settings or appearing as an ordinary message.</p><p>Changes do not interrupt the current execution. They apply from the next execution, including queued messages, Goal continuation, and messages sent to that session through marctl. You can also <a href="./../operations/marctl#persistent-instructions-and-approvals">read, set, or clear the prompt with marctl</a>. Clearing stops future injection; it does not remove old instructions already in the Agent's conversation history. Start a new session if you need to isolate old instructions completely. Hosted conversations do not offer this setting.</p><p>Sessions discovered from an external Agent appear normally. Their first message automatically validates and activates a safe continuation path; if validation fails, no Run is created.</p><p>After a Node restarts, sessions may appear in batches. A slower Agent does not delay sessions already found. Sessions keep their custom titles when they reappear in the list.</p><h2 id="clean-up-sessions" tabindex="-1">Clean up sessions <a class="header-anchor" href="#clean-up-sessions" aria-label="Permalink to "Clean up sessions""></a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list's More menu, enter 1–365 days (30 by default), and confirm. Sessions whose activity predates the selected cutoff and sessions whose activity time is shown as <code>—</code> are included. When evaluated individually, pinned, running, queued, recovering after a restart, or currently viewed sessions are kept. If the scan finishes and the Agent is available but a session is not found, cleanup may remove its list entry regardless of its age. This removes only the list entry, not the contents of the session that was not found.</p><p>Child sessions are evaluated by their own activity times. Deleting a parent also deletes all of its child sessions at every level, even if a child is recent, pinned, queued, or currently viewed. If any child is running or recovering after a restart, the parent is kept. Deleted child sessions are included in the totals.</p><p>Cleanup permanently deletes matching sessions and cannot be undone. It does not delete Workspace files. The dialog shows the actual deleted, skipped, and failed counts, including deletions by Agent.</p><p>If cleanup stops early with sessions left to process, the dialog shows <strong>Cleanup partially complete</strong>. Unprocessed sessions do not count as failures. <strong>Not processed</strong> shows the remaining count when known. Cleanup does not continue in the background; you can run it again. An offline Node or unavailable result still produces an error.</p><h2 id="share-a-work-session" tabindex="-1">Share a work session <a class="header-anchor" href="#share-a-work-session" aria-label="Permalink to "Share a work session""></a></h2><p>Choose <strong>Share conversation</strong> from a regular work session's More menu. Expiration is optional; leaving it blank creates a permanent link. Creation shows share text containing the link and a random six-digit password. Choose <strong>Copy</strong> to copy the entire text. Existing records appear below; you can copy the same complete share text at any time, open their links, or delete them. For older records without a recoverable password, enter the original password once when copying. After verification, future copies work directly; the original link and password remain unchanged.</p><p>The header shows the session title and Workspace name. Visitors enter the password to open a standalone chat without a Console account. Access credentials, the anonymous visitor identity, and the name requested before the first message are saved in that browser and restored after refresh or reopening. The Participants panel lists the sharer first, followed by participants viewing any share link for the same session. Anonymous identity and name are shared across links in the same browser. Use the edit button beside your own visitor name to change it across open share pages. Canceling leaves the name unchanged and does not send a message. Visitor names match message authors and are never merged or hidden by Console sign-in; unnamed visitors appear anonymously. The fixed sharer entry shows the account nickname, falling back to the username. The sharer’s green dot appears only while they have a share page open and disappears when their last page closes. Display names do not grant authorization.</p><p>Visitors see the original session's entire history and future messages. They use its Agent and settings as the sharer, including messages, attachments, file and skill references, queuing, insertion, and interruption. Concurrent control uses the same shared state and mutual exclusion as opening the session in multiple browsers. The share page hides the model, reasoning effort, access mode, and context usage and its tooltip. There is no input prediction or Workspace management area. File links still open read-only previews, including separate file windows and Markdown or HTML rendering. Read-only mode does not prevent HTML scripts from running. Only preview trusted files; see <a href="./files#steps">HTML preview risks</a>.</p><p><strong>Give the link and password only to people you trust.</strong> Signing out as the sharer does not revoke a link; delete its record to stop access. Deletion or expiration immediately disables that link's chat pages and rejects further reads and messages, without stopping already accepted tasks or retracting content visitors have read. Other links and the original Console remain available.</p><h2 id="automatic-continuation-after-orderly-shutdown" tabindex="-1">Automatic continuation after orderly shutdown <a class="header-anchor" href="#automatic-continuation-after-orderly-shutdown" aria-label="Permalink to "Automatic continuation after orderly shutdown""></a></h2><p>In regular Workspaces, MAR Agent can continue after Node receives <code>SIGTERM</code> or <code>SIGINT</code>, finishes an orderly shutdown, and starts again. A later manual start after a normal stop also qualifies. After reconnecting to Server, Node rechecks current user and model authorization before restoring unfinished work, Goals, and the message queue in the same session. A previously paused queue stays paused. New messages and queue changes are temporarily blocked for that session during recovery.</p><p>Ordinary runs show a “System restart continuation” history entry, not a message attributed to manual user input. An active Goal gets one Goal continuation without an additional ordinary continuation. The prompt asks the Agent to inspect the current state after a system restart before continuing. Old tool processes, terminals, approvals, questions, and background cells are not restored, and external actions are not guaranteed to happen exactly once. Queued inputs are prepared again in their original order, including their attachments; old attachment preview URLs are not guaranteed to remain valid.</p><p>Unexpected exits, forced kills, power loss, failed handoffs, other Agents, hosted conversations, and administrator-controlled upgrades are excluded. Lost access, unavailable models, or inputs that cannot be rebuilt never bypass validation; check Node diagnostics and take over manually. A handoff is consumed once, not retried on every startup.</p><h2 id="navigation" tabindex="-1">Navigation <a class="header-anchor" href="#navigation" aria-label="Permalink to "Navigation""></a></h2><p>The session list, Recent Sessions, and Quick Open open sessions in Main. Clicking a notification in the panel, a browser system notification, or an <a href="./navigation">unread Workspace tab</a> keeps an already selected Main session in place. If the session is open only in Aside and Aside can be shown, the jump activates it there without replacing your Main session. On desktop, a brief outline shows where it opened. If the session is not open or Aside cannot be shown, it opens in Main without closing any existing Aside tab. Explicit <strong>Open in Main</strong> and <strong>Open in Aside</strong> actions still use the pane you choose.</p><p>Clicking the selected Workspace tree entry or jumping to an already open session does not explicitly refresh content or reset your reading position. Repeated selections also leave an in-progress load alone. Use the corresponding refresh action when you need updated data.</p><h2 id="scheduled-tasks" tabindex="-1">Scheduled tasks <a class="header-anchor" href="#scheduled-tasks" aria-label="Permalink to "Scheduled tasks""></a></h2><p>Open the calendar-with-check icon beside <strong>Work</strong> to see <strong>Scheduled tasks</strong>, or open it from an existing session's menu to filter the same page to that session. <strong>My schedules</strong> shows tasks you currently own and can still access. <strong>All schedules</strong> includes other tasks you can see. Both pages can be filtered by Workspace; the node name distinguishes Workspaces with the same name. Task cards load 20 at a time. Select a page on desktop, or scroll to the bottom on mobile to load more automatically. Each task card shows its next run. Offline nodes may show only their last synced task summaries; editing and viewing execution records require an online node.</p><p><strong>Session schedules</strong> shows the current session name even if it has no tasks. Select <strong>Back to all schedules</strong> to return to the global list. New schedules created here are locked to this node, Workspace, and session. Opening a conversation notification leaves the schedules page and shows the target conversation.</p><ol><li>Select <strong>New schedule</strong>, then choose an online node, a Workspace, and a run target. Reuse an existing session or choose <strong>Create a session each time</strong> and select an Agent and a fixed model. Selecting a model sets its default reasoning effort, which you can change if the model supports it. Existing sessions use their settings at trigger time. Hosted conversations do not support scheduling.</li><li>Enter a name and a task prompt. In <strong>Run times</strong>, add one row for each clock time. Set it to <strong>Once</strong>, <strong>Daily</strong>, <strong>Weekly</strong>, or <strong>Monthly</strong>. For <strong>Once</strong>, the node suggests the next date for that time; you can change it. Weekly and monthly schedules can select multiple weekdays or days of the month. If a month has no day 31, that date is skipped. Overlapping times within one task trigger only once. Create separate tasks if different times need different prompts.</li><li>Check the upcoming triggers in the displayed Node time zone and save. The task runs as its current owner. Saving an edit or accepting a proposal on the web makes you the owner. Opening, cancelling, or rejecting a proposal does not. Run notifications are off by default. Enable them if you want alerts; turning them off keeps the execution records and does not suppress change-proposal notifications.</li></ol><p>Only one-time schedules can catch up after a missed time, within the wait limit you set. Catch-up is off by default. After upgrading from the old scheduling format, existing tasks are paused until you set new run times. The tasks and execution records are kept.</p><p>On supported nodes, <strong>Run times</strong> also offers <strong>Hourly</strong>. Select minutes instead of a clock time. The default is <code>00</code> (on the hour); selecting <code>15</code> and <code>45</code> runs the task at :15 and :45 past each hour. You can combine it with other rules; matching rules trigger only once in the same minute.</p><p>If you have access to operate the Workspace, click an online task card to edit it, even if someone else created it. Workspace members with access can also delete tasks and resolve proposals. Offline tasks cannot be edited or deleted. If a saved fixed model is no longer selectable, you can keep that target and edit other settings. The model must still be available at execution time. Use the linked session control on an online card to open that session. <strong>Execution records</strong> on a card opens that task’s records without leaving the list. The <strong>Execution records</strong> section in the navigation shows all authorized tasks and can be filtered by Workspace. On desktop, switch pages below the table. On mobile, scroll to the end of the table to load more records. Open a record to see the prompt at trigger time and any recorded start and end times. When you have access to the original run, the details also show its ID and status and let you open the session where it ran. Renaming a task or changing only its prompt does not reschedule it; changing the run times or re-enabling a task recalculates upcoming triggers. <strong>Schedule finished</strong> means there are no more dates, not that every run succeeded.</p><p>A session with an enabled task that still has upcoming triggers is pinned and shows the schedule icon. Pausing, finishing, or deleting a task does not automatically unpin the session. Pausing keeps the execution records; deleting the task removes them. If a trigger is still being processed, pause the task and wait for that trigger to settle before deleting. Deleting the target session pauses its tasks and marks them for rebinding rather than switching them to create new sessions.</p><p>If a task did not run, inspect its execution record. A busy session or an unavailable service can cause a recurring trigger to be skipped without a bulk catch-up. A trigger matching a specific date can wait within the configured limit (0–60 minutes; new tasks default to 0, meaning no waiting). The owner must still have permission at execution time; waiting does not bypass that check. <strong>Outcome unknown</strong> does not prove the task did not run, so verify the run or external result before repeating it manually.</p><p>Scheduled runs automatically approve tool permission requests, including third-party MCP tools; Agent sandboxes and host restrictions still apply, and questions still need user input. In a regular Workspace, MAR Agent uses the built-in <code>marctl</code> skill when available. Without it, or with another supported Agent, the built-in <code>mar_schedule</code> MCP can list, read, create, and update the current session's tasks and read their trigger records. No installation is needed. An update requires the task and its current revision; edits to another user's task become proposals that authorized Workspace members can resolve on the web. For cross-session task management in the authorized Workspace, see <a href="./../operations/marctl#scheduled-tasks">Scheduled tasks with marctl</a>. These tools do not manage system schedulers or CI.</p>',51)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
|