@myagentroam/server 0.15.32 → 0.15.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/node_modules/@myagentroam/protocol/dist/index.d.ts +193 -56
  2. package/node_modules/@myagentroam/protocol/dist/index.js +23 -0
  3. package/node_modules/@myagentroam/protocol/package.json +1 -1
  4. package/node_modules/@myagentroam/server-core/package.json +2 -2
  5. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  6. package/package.json +5 -5
  7. package/web/assets/{AuditManagementPage-CJM9aHQa.js → AuditManagementPage-Bf_6g-Yh.js} +1 -1
  8. package/web/assets/{AuthEntryPanel-BCWAha9R.js → AuthEntryPanel-BGQ2nJ8v.js} +1 -1
  9. package/web/assets/{CodeFileEditor-Bszb3Vfn.js → CodeFileEditor-DYOurvPt.js} +3 -3
  10. package/web/assets/{ConversationTemplateManagementPage-Dk4U37eN.js → ConversationTemplateManagementPage-C0PPN_ax.js} +1 -1
  11. package/web/assets/{ConversationTemplateManagementPage-BMqUdyBj.js → ConversationTemplateManagementPage-KzhPo5RB.js} +1 -1
  12. package/web/assets/{EnterpriseUserManagementPage-B3LScIRe.js → EnterpriseUserManagementPage-W5jz4sZP.js} +1 -1
  13. package/web/assets/{EnvironmentSecretManager-DAJq6Gno.js → EnvironmentSecretManager-C40W4Naf.js} +1 -1
  14. package/web/assets/{FilePreviewState-DDlyKHHD.js → FilePreviewState-vudzJPTz.js} +1 -1
  15. package/web/assets/{LicenseManagementPage-DbJcc1uk.js → LicenseManagementPage-CrBFSVGB.js} +1 -1
  16. package/web/assets/{ManagementPagination-CbVgXqCf.js → ManagementPagination-BD68k1XJ.js} +1 -1
  17. package/web/assets/{MarAgentModelManagementPage-QEtENZYE.js → MarAgentModelManagementPage-B1fuzTqO.js} +1 -1
  18. package/web/assets/{MarAgentModelManagementPage-BREJ10Ve.js → MarAgentModelManagementPage-BO3rkW-j.js} +1 -1
  19. package/web/assets/{MarAlert-CYjh79VA.js → MarAlert-BiXUHzvI.js} +1 -1
  20. package/web/assets/{MarCascader-BFqQ0FZz.js → MarCascader-CapFoybP.js} +1 -1
  21. package/web/assets/{MarCheckTag-kUnvlGhu.js → MarCheckTag-DeCAiLYk.js} +1 -1
  22. package/web/assets/{MarCheckboxGroup-CW1hfPYc.js → MarCheckboxGroup-BxbA3Faj.js} +1 -1
  23. package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-C8x6DGdK.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-BVS0SWJg.js} +1 -1
  24. package/web/assets/{MarDatePicker-Bv3rksHX.js → MarDatePicker-DRUORjjA.js} +1 -1
  25. package/web/assets/{MarDescriptionsItem-rrLksR4W.js → MarDescriptionsItem-CxgXL9Qp.js} +1 -1
  26. package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-DAuub4QW.js → MarFormItem.vue_vue_type_script_setup_true_lang-z8gktJiH.js} +1 -1
  27. package/web/assets/{MarInputNumber-CHlvqKcF.js → MarInputNumber-DuWaOL_g.js} +1 -1
  28. package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CMXmC9Ds.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-Cu7VvOco.js} +1 -1
  29. package/web/assets/{MarSwitch-DnK77Dxp.js → MarSwitch-C1Q_alGA.js} +1 -1
  30. package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-CydhqJQq.js → MarTableColumn.vue_vue_type_script_setup_true_lang-B4WXn5-9.js} +1 -1
  31. package/web/assets/{MarTabs-Bxs9ZPOZ.js → MarTabs-BxHKF0K-.js} +1 -1
  32. package/web/assets/{MarTag-DBo79BqN.js → MarTag-CfmDMWic.js} +1 -1
  33. package/web/assets/{MarkdownFilePreview-DXy74Phz.js → MarkdownFilePreview-C1c4rkBH.js} +2 -2
  34. package/web/assets/{McpDetailsDialog-DOyX28II.js → McpDetailsDialog-BDE7WhKY.js} +1 -1
  35. package/web/assets/{McpSourceManagementPage-B4wzW7iP.js → McpSourceManagementPage-BXa8GnPQ.js} +1 -1
  36. package/web/assets/{McpSourceManagementPage-BvhQzgIP.js → McpSourceManagementPage-D_f-bA3H.js} +1 -1
  37. package/web/assets/{NodeDetailsDialogs-ewlBP8gq.js → NodeDetailsDialogs-TtPXQVlz.js} +1 -1
  38. package/web/assets/NodeManagementPage-DAoCaASM.js +1 -0
  39. package/web/assets/NodeManagementPage-DmzXb7Y0.js +1 -0
  40. package/web/assets/{OAuthManagementPage-DTg_sppK.js → OAuthManagementPage-DglqIVAT.js} +1 -1
  41. package/web/assets/{OrganizationManagementPage-CJtFHFUy.js → OrganizationManagementPage-C-wZZA4-.js} +1 -1
  42. package/web/assets/{RemoteDesktopPage-CHwpyOgd.js → RemoteDesktopPage-B3VdjFPz.js} +1 -1
  43. package/web/assets/{ResourceManagementPanel-Ct_sKBli.js → ResourceManagementPanel-BEA6BkNu.js} +1 -1
  44. package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-JAYH7HXA.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BPu3V5xR.js} +1 -1
  45. package/web/assets/SecretManagementPage-BddFNtTU.js +1 -0
  46. package/web/assets/{SecretManagementPage-qDBXdrZE.js → SecretManagementPage-DmQJ_Uhy.js} +1 -1
  47. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BpLKtEnv.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-CH_1-A9q.js} +1 -1
  48. package/web/assets/{SessionSharePage-CHlvD7Kh.js → SessionSharePage-BI5eKd2-.js} +2 -2
  49. package/web/assets/{SettingsContent-DWqjcEtY.js → SettingsContent-sQCheXx2.js} +1 -1
  50. package/web/assets/{SettingsContent-CnOzCXps.js → SettingsContent-uksaTH_1.js} +1 -1
  51. package/web/assets/{SkillCenterPage-Cc2Jb6L4.js → SkillCenterPage-BNpbrIVz.js} +1 -1
  52. package/web/assets/SkillCenterPage-DWrZaRMP.js +1 -0
  53. package/web/assets/{SkillDetailsDialog-BiJKwJUc.js → SkillDetailsDialog-1kYK-b5m.js} +1 -1
  54. package/web/assets/{SkillSourceManagementPage-BUtNoLsc.js → SkillSourceManagementPage-Ba-QQnCv.js} +1 -1
  55. package/web/assets/{SkillSourceManagementPage-DMwc4UNb.js → SkillSourceManagementPage-SGLrGGhc.js} +1 -1
  56. package/web/assets/{StandaloneFilePreviewPage-Bm9GDa8Q.js → StandaloneFilePreviewPage-DAgmzpFW.js} +1 -1
  57. package/web/assets/{SystemConfigurationPage-DgeeQAd6.js → SystemConfigurationPage-CAd0Rmok.js} +1 -1
  58. package/web/assets/{SystemConfigurationPage-D1E2E-tU.js → SystemConfigurationPage-DcAM7ODi.js} +1 -1
  59. package/web/assets/{SystemInformationPage-BwvH51P5.js → SystemInformationPage-CMhA4USM.js} +1 -1
  60. package/web/assets/{TerminalTabView-Dqf0tgPf.js → TerminalTabView-BjMBd4BH.js} +1 -1
  61. package/web/assets/{WorkbenchPage-CnfQ9__a.css → WorkbenchPage-D7PW24fF.css} +1 -1
  62. package/web/assets/WorkbenchPage-DZ6y3QOF.js +22 -0
  63. package/web/assets/WorkspaceManagementPage-BwKHv17w.js +1 -0
  64. package/web/assets/WorkspaceManagementPage-DgeiZoj-.js +1 -0
  65. package/web/assets/{abnfDiagram-VCTEODGH-DIhgNEqo.js → abnfDiagram-VCTEODGH-DETs1r1x.js} +1 -1
  66. package/web/assets/{arc-DtJCAy28.js → arc-D4XwBrBa.js} +1 -1
  67. package/web/assets/{architectureDiagram-5GKGNRK7-khsLylWu.js → architectureDiagram-5GKGNRK7-Csm-j19m.js} +1 -1
  68. package/web/assets/{blockDiagram-OSKFZWR5-BxzRXU03.js → blockDiagram-OSKFZWR5-B4hymc0v.js} +1 -1
  69. package/web/assets/{c4Diagram-7LVT6UL2-D22wDryo.js → c4Diagram-7LVT6UL2-CyOafrzL.js} +1 -1
  70. package/web/assets/{catalog-ownership-service-BhxJ6t1i.js → catalog-ownership-service-BBzumTAE.js} +1 -1
  71. package/web/assets/{catalog-page-service-CGQGaLI6.js → catalog-page-service-BNJELmn-.js} +1 -1
  72. package/web/assets/channel-DY5n36Of.js +1 -0
  73. package/web/assets/{chunk-2Q5K7J3B-CRE7soOa.js → chunk-2Q5K7J3B-yQ0h5t0j.js} +1 -1
  74. package/web/assets/{chunk-5VM5RSS4-Dk8c4sBq.js → chunk-5VM5RSS4-CdenY_1x.js} +1 -1
  75. package/web/assets/{chunk-F27PBJKO-DB_ZD6pT.js → chunk-F27PBJKO-BnHRy-oO.js} +1 -1
  76. package/web/assets/{chunk-HLEWEB6X-fbJhToU2.js → chunk-HLEWEB6X-CS5hldpQ.js} +1 -1
  77. package/web/assets/{chunk-JWPE2WC7-DyC01URL.js → chunk-JWPE2WC7-CglwBEY1.js} +1 -1
  78. package/web/assets/{chunk-POPQ4Y6H-B1abzjuE.js → chunk-POPQ4Y6H-BPx4lRWQ.js} +1 -1
  79. package/web/assets/{chunk-SVP7TREG-BTv1VBm_.js → chunk-SVP7TREG-VITgybHX.js} +1 -1
  80. package/web/assets/{chunk-XXDRQBXY-C__IpJSJ.js → chunk-XXDRQBXY-CxM34cZ-.js} +1 -1
  81. package/web/assets/{chunk-ZLD2IHE6-DcoOhZjz.js → chunk-ZLD2IHE6-1vUVUy6z.js} +1 -1
  82. package/web/assets/classDiagram-CYGNFDIV-Cstn5Q8t.js +1 -0
  83. package/web/assets/classDiagram-v2-TLXNO2FR-Cstn5Q8t.js +1 -0
  84. package/web/assets/{conversation-history-BzX8agPr.js → conversation-history-CFM2pIcO.js} +1 -1
  85. package/web/assets/{cose-bilkent-JH36ORCC-DcsWyXfY.js → cose-bilkent-JH36ORCC-BJGmfe2V.js} +1 -1
  86. package/web/assets/{cynefin-OW5HDTMX-BXV4vJ0e.js → cynefin-OW5HDTMX-DVtRM58D.js} +1 -1
  87. package/web/assets/{cynefinDiagram-5FMLGOSQ-ErZjiDXk.js → cynefinDiagram-5FMLGOSQ-CvUWIGWc.js} +1 -1
  88. package/web/assets/{dagre-OS7QT2EB-CWi5d79O.js → dagre-OS7QT2EB-CcJHd7Is.js} +1 -1
  89. package/web/assets/{diagram-S7CK7UJ4-41j4yeeW.js → diagram-S7CK7UJ4-B1EynjNo.js} +1 -1
  90. package/web/assets/{diagram-UQ7AKVKN-CvpH838x.js → diagram-UQ7AKVKN-CmrbhXMB.js} +1 -1
  91. package/web/assets/{diagram-VSXAHHWV-D8fzjDXm.js → diagram-VSXAHHWV-CXMA52gh.js} +1 -1
  92. package/web/assets/{diagram-VX7I27RA-VZLU1uWm.js → diagram-VX7I27RA-2ShTqJxo.js} +1 -1
  93. package/web/assets/{diagram-Z3DM3KII-DHwTE1q6.js → diagram-Z3DM3KII-BFZacYXC.js} +1 -1
  94. package/web/assets/{ebnfDiagram-PWID7BFC-CsOZD5Sd.js → ebnfDiagram-PWID7BFC-WhOuU-Ad.js} +1 -1
  95. package/web/assets/{enterprise-management-service-ZNHOqJP9.js → enterprise-management-service-CHXmbTzA.js} +1 -1
  96. package/web/assets/{erDiagram-2YWLMYGG-RKa2Jz0Q.js → erDiagram-2YWLMYGG-BnuQ9pt2.js} +1 -1
  97. package/web/assets/{error-presentation-CmOquBv8.js → error-presentation-iaZHbFRP.js} +1 -1
  98. package/web/assets/{flowDiagram-T62WH6J4-6kHfKGml.js → flowDiagram-T62WH6J4-BfZG911B.js} +1 -1
  99. package/web/assets/{ganttDiagram-EL5Y4UJY-C0msYLfi.js → ganttDiagram-EL5Y4UJY--TirRm2Z.js} +1 -1
  100. package/web/assets/{gitGraphDiagram-WWUBYQGX-u5ulAFx-.js → gitGraphDiagram-WWUBYQGX-_5lyVBLs.js} +1 -1
  101. package/web/assets/{hosted-conversation-template-client-CJlQZ2pK.js → hosted-conversation-template-client-BM4G3Ssu.js} +1 -1
  102. package/web/assets/{index-yMbXD379.js → index-2La6WmVT.js} +1 -1
  103. package/web/assets/{index-B3eItfA6.js → index-2Vazmeds.js} +1 -1
  104. package/web/assets/{index-B-_UQ1qM.js → index-45VRaw47.js} +1 -1
  105. package/web/assets/{index-s2nj8P2x.js → index-62VbURjR.js} +1 -1
  106. package/web/assets/{index-C1xuVFTa.js → index-AETWL4kN.js} +1 -1
  107. package/web/assets/{index-XDkfzyTH.js → index-BCmV48_V.js} +1 -1
  108. package/web/assets/{index-CIVH5P6P.js → index-BOHBkG1i.js} +1 -1
  109. package/web/assets/{index-DoXQj2xu.js → index-BRr9tg29.js} +1 -1
  110. package/web/assets/{index-ClEhJQzn.js → index-BVN9-Yx8.js} +1 -1
  111. package/web/assets/{index-4i7G0kx4.js → index-C-_I6Ttm.js} +1 -1
  112. package/web/assets/{index-DiohJgt6.js → index-C5hjte-K.js} +10 -10
  113. package/web/assets/{index-D43jQvEy.js → index-C61KdlPm.js} +1 -1
  114. package/web/assets/{index-r_ycAokH.js → index-CWBmTr6U.js} +1 -1
  115. package/web/assets/{index-CzxHCirR.js → index-Cuk_RMFd.js} +1 -1
  116. package/web/assets/{index-BD9JG8xv.js → index-D-L7v4XR.js} +1 -1
  117. package/web/assets/{index-OTp2u8Dv.js → index-D8Dx3T3C.js} +1 -1
  118. package/web/assets/{index-DEtCbHI9.js → index-DA2mtYte.js} +1 -1
  119. package/web/assets/{index-bV1IMIbN.js → index-DFVfGtI3.js} +1 -1
  120. package/web/assets/{index-DvmsDNQ5.js → index-DS8mmmxD.js} +1 -1
  121. package/web/assets/{index-eyHasLU6.js → index-DUDcQXJe.js} +1 -1
  122. package/web/assets/{index-Df8opksx.js → index-DW-4wu9d.js} +1 -1
  123. package/web/assets/{index-BCJqGIU0.js → index-Df15-tKY.js} +1 -1
  124. package/web/assets/{index-Rkh_zaEv.js → index-DgsyWuQd.js} +1 -1
  125. package/web/assets/{index-DnzIMP-F.js → index-DuoPGkgH.js} +1 -1
  126. package/web/assets/{index-DOaLip7_.js → index-DymqMoJL.js} +1 -1
  127. package/web/assets/{index-BUcwmys5.js → index-DzQP4V0m.js} +1 -1
  128. package/web/assets/{index-D1Sc_FnB.js → index-taC6a-zd.js} +1 -1
  129. package/web/assets/{infoDiagram-FKFFQAWI-CVBU9ko7.js → infoDiagram-FKFFQAWI-Cyfkp4gM.js} +1 -1
  130. package/web/assets/{ishikawaDiagram-5VMMS53U-sk7I58Wh.js → ishikawaDiagram-5VMMS53U-BNA_HeQk.js} +1 -1
  131. package/web/assets/{journeyDiagram-EYS64GPL-CI8rwe3r.js → journeyDiagram-EYS64GPL-R7MvRlp7.js} +1 -1
  132. package/web/assets/{kanban-definition-UXKFOSKX-CmLE4kHJ.js → kanban-definition-UXKFOSKX-DMpe-JOa.js} +1 -1
  133. package/web/assets/{layout-D6Blu-Wz.js → layout-b_OkJ88z.js} +1 -1
  134. package/web/assets/{linear-Clh9V1YA.js → linear-Cb4ySgpx.js} +1 -1
  135. package/web/assets/{management-url-service-CXPLC_jc.js → management-url-service-DQR0bS2y.js} +1 -1
  136. package/web/assets/{mar-agent-reasoning-effort-bYWpxzg6.js → mar-agent-reasoning-effort-B63q9hrV.js} +1 -1
  137. package/web/assets/{mcp-center-service-CZyC0pmG.js → mcp-center-service-C_6vBnW9.js} +1 -1
  138. package/web/assets/{mermaid.core-ByY80ubZ.js → mermaid.core-B5d8GeW_.js} +5 -5
  139. package/web/assets/{mindmap-definition-THT77NOG-BW3ouOnr.js → mindmap-definition-THT77NOG-BxoIwAcm.js} +1 -1
  140. package/web/assets/{mobile-dialog-return-service-CtVkn8-k.js → mobile-dialog-return-service-DKFVEUZ9.js} +1 -1
  141. package/web/assets/{oauth-callback-CRZyOOW4.js → oauth-callback-CQ0yMOTl.js} +1 -1
  142. package/web/assets/{pegDiagram-XKGWAZYB-C9xn7bKy.js → pegDiagram-XKGWAZYB-CXMBxC4O.js} +1 -1
  143. package/web/assets/{pieDiagram-E7YTZNPT-BRUCt6xV.js → pieDiagram-E7YTZNPT-BbjeHQml.js} +1 -1
  144. package/web/assets/{quadrantDiagram-AXDQQJYC-Dong839L.js → quadrantDiagram-AXDQQJYC-CdVEDBwH.js} +1 -1
  145. package/web/assets/{railroadDiagram-O6MQD6OU-DU855Gd7.js → railroadDiagram-O6MQD6OU-B7otpyID.js} +1 -1
  146. package/web/assets/{requirementDiagram-IS5BZ75X-DVP9xyCc.js → requirementDiagram-IS5BZ75X-BL6fuvPa.js} +1 -1
  147. package/web/assets/{runner-presentation-CLHLrQZM.js → runner-presentation-Dioncgcf.js} +1 -1
  148. package/web/assets/{sankeyDiagram-P5KCCOFB-DgJ5pis7.js → sankeyDiagram-P5KCCOFB-5MEQz61y.js} +1 -1
  149. package/web/assets/{scoped-http-service-CNAP4C-t.js → scoped-http-service-GnBp2WTk.js} +3 -3
  150. package/web/assets/{sequenceDiagram-WJ2MYXX4-PsDc1p4L.js → sequenceDiagram-WJ2MYXX4-BitR3kTF.js} +1 -1
  151. package/web/assets/{session-share-client-service-DBea8Np9.js → session-share-client-service-CbHjHVda.js} +1 -1
  152. package/web/assets/{sizeCapture-INFHLROL-C3_fdwRy.js → sizeCapture-INFHLROL-DmVnoPzf.js} +1 -1
  153. package/web/assets/{stateDiagram-XQSTLZYL-DRruDtZ0.js → stateDiagram-XQSTLZYL-CdVnYFMw.js} +1 -1
  154. package/web/assets/stateDiagram-v2-IH3M54BS-DmWZJzUp.js +1 -0
  155. package/web/assets/{swimlanes-V6O3JKXN-ypZ_Ye7g.js → swimlanes-V6O3JKXN-CWeAB3Qg.js} +1 -1
  156. package/web/assets/swimlanesDiagram-JKAHXJPX-C72Kkpyu.js +8 -0
  157. package/web/assets/{time-presentation-DZtsYucH.js → time-presentation-CWV4F3RI.js} +1 -1
  158. package/web/assets/{timeline-definition-24CTP7MA-SaWJzDHz.js → timeline-definition-24CTP7MA-B62gAf4w.js} +1 -1
  159. package/web/assets/{vennDiagram-4TSXK5OY-Cfgz2ctK.js → vennDiagram-4TSXK5OY-DEmPtriP.js} +1 -1
  160. package/web/assets/{wardleyDiagram-VM6X3IG4-DV-3a9AW.js → wardleyDiagram-VM6X3IG4-V9R3RfMn.js} +1 -1
  161. package/web/assets/{workbench-live-service-BgUAmoO9.js → workbench-live-service-BkLnlGNI.js} +1 -1
  162. package/web/assets/{workbench-presentation-sdP9BNyb.js → workbench-presentation-HfTuPWS7.js} +1 -1
  163. package/web/assets/{workspace-direct-transfer-service-B6vbR67L.js → workspace-direct-transfer-service-Y9DwSpQZ.js} +1 -1
  164. package/web/assets/{xychartDiagram-S5SC5T6Z-DitrwVr9.js → xychartDiagram-S5SC5T6Z-DyGEQ9i_.js} +1 -1
  165. package/web/docs/404.html +2 -2
  166. package/web/docs/administration/account.html +3 -3
  167. package/web/docs/administration/audit.html +3 -3
  168. package/web/docs/administration/conversation-templates.html +3 -3
  169. package/web/docs/administration/email-notifications.html +3 -3
  170. package/web/docs/administration/license.html +3 -3
  171. package/web/docs/administration/nodes-workspaces.html +3 -3
  172. package/web/docs/administration/oauth.html +3 -3
  173. package/web/docs/administration/secrets.html +3 -3
  174. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  175. package/web/docs/administration/users-organizations.html +3 -3
  176. package/web/docs/assets/{app.-yAbdf-J.js → app.D98KsXUh.js} +1 -1
  177. package/web/docs/assets/chunks/@localSearchIndexen-US.BpJsKvjY.js +1 -0
  178. package/web/docs/assets/chunks/@localSearchIndexroot.C-0Osl1z.js +1 -0
  179. package/web/docs/assets/chunks/{VPLocalSearchBox.PbjGZO6Y.js → VPLocalSearchBox.BTiDkDol.js} +1 -1
  180. package/web/docs/assets/chunks/{theme.q6No0U1e.js → theme.Dj0vNHc5.js} +2 -2
  181. package/web/docs/assets/{en-US_runners_mar-agent.md.CGQR-wNH.js → en-US_runners_mar-agent.md._2vFgGa8.js} +1 -1
  182. package/web/docs/assets/{en-US_workbench_hosted-conversations.md.ByvHBoxp.js → en-US_workbench_hosted-conversations.md.BaEzlIkZ.js} +1 -1
  183. package/web/docs/assets/{en-US_workbench_hosted-conversations.md.ByvHBoxp.lean.js → en-US_workbench_hosted-conversations.md.BaEzlIkZ.lean.js} +1 -1
  184. package/web/docs/assets/en-US_workbench_sessions.md.gSysvlY4.js +1 -0
  185. package/web/docs/assets/{en-US_workbench_sessions.md.CiyGaTmm.lean.js → en-US_workbench_sessions.md.gSysvlY4.lean.js} +1 -1
  186. package/web/docs/assets/{runners_mar-agent.md.DArhfseg.js → runners_mar-agent.md.Cwn_s2Yl.js} +1 -1
  187. package/web/docs/assets/{workbench_hosted-conversations.md.DcVCON_r.js → workbench_hosted-conversations.md.DrCZoIEk.js} +1 -1
  188. package/web/docs/assets/{workbench_hosted-conversations.md.DcVCON_r.lean.js → workbench_hosted-conversations.md.DrCZoIEk.lean.js} +1 -1
  189. package/web/docs/assets/workbench_sessions.md.BteqAzd5.js +1 -0
  190. package/web/docs/assets/{workbench_sessions.md.iO2-fwaW.lean.js → workbench_sessions.md.BteqAzd5.lean.js} +1 -1
  191. package/web/docs/concepts/architecture.html +3 -3
  192. package/web/docs/concepts/data-and-security.html +3 -3
  193. package/web/docs/concepts/files-git-terminal.html +3 -3
  194. package/web/docs/concepts/node-and-workspace.html +3 -3
  195. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  196. package/web/docs/concepts/runner-control.html +3 -3
  197. package/web/docs/concepts/secrets.html +3 -3
  198. package/web/docs/concepts/session-run-turn.html +3 -3
  199. package/web/docs/deployment/backup-restore.html +3 -3
  200. package/web/docs/deployment/network.html +3 -3
  201. package/web/docs/deployment/node-installation.html +3 -3
  202. package/web/docs/deployment/node-linux.html +3 -3
  203. package/web/docs/deployment/node-macos.html +3 -3
  204. package/web/docs/deployment/node-windows.html +3 -3
  205. package/web/docs/deployment/production.html +3 -3
  206. package/web/docs/deployment/security-checklist.html +3 -3
  207. package/web/docs/deployment/upgrade.html +3 -3
  208. package/web/docs/en-US/administration/account.html +3 -3
  209. package/web/docs/en-US/administration/audit.html +3 -3
  210. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  211. package/web/docs/en-US/administration/email-notifications.html +3 -3
  212. package/web/docs/en-US/administration/license.html +3 -3
  213. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  214. package/web/docs/en-US/administration/oauth.html +3 -3
  215. package/web/docs/en-US/administration/secrets.html +3 -3
  216. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  217. package/web/docs/en-US/administration/users-organizations.html +3 -3
  218. package/web/docs/en-US/concepts/architecture.html +3 -3
  219. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  220. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  221. package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
  222. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  223. package/web/docs/en-US/concepts/runner-control.html +3 -3
  224. package/web/docs/en-US/concepts/secrets.html +3 -3
  225. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  226. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  227. package/web/docs/en-US/deployment/network.html +3 -3
  228. package/web/docs/en-US/deployment/node-installation.html +3 -3
  229. package/web/docs/en-US/deployment/node-linux.html +3 -3
  230. package/web/docs/en-US/deployment/node-macos.html +3 -3
  231. package/web/docs/en-US/deployment/node-windows.html +3 -3
  232. package/web/docs/en-US/deployment/production.html +3 -3
  233. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  234. package/web/docs/en-US/deployment/upgrade.html +3 -3
  235. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  236. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  237. package/web/docs/en-US/getting-started/first-login.html +3 -3
  238. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  239. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  240. package/web/docs/en-US/getting-started/overview.html +3 -3
  241. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  242. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  243. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  244. package/web/docs/en-US/operations/marctl.html +3 -3
  245. package/web/docs/en-US/reference/configuration.html +3 -3
  246. package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
  247. package/web/docs/en-US/reference/limits.html +3 -3
  248. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  249. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  250. package/web/docs/en-US/runners/claude-code.html +3 -3
  251. package/web/docs/en-US/runners/codex.html +3 -3
  252. package/web/docs/en-US/runners/mar-agent.html +5 -5
  253. package/web/docs/en-US/runners/opencode.html +3 -3
  254. package/web/docs/en-US/runners/overview.html +3 -3
  255. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  256. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  257. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  258. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  259. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  260. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  261. package/web/docs/en-US/workbench/browser.html +3 -3
  262. package/web/docs/en-US/workbench/composer.html +3 -3
  263. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  264. package/web/docs/en-US/workbench/conversation.html +3 -3
  265. package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
  266. package/web/docs/en-US/workbench/files.html +3 -3
  267. package/web/docs/en-US/workbench/git-changes.html +3 -3
  268. package/web/docs/en-US/workbench/git-history.html +3 -3
  269. package/web/docs/en-US/workbench/hosted-conversations.html +5 -5
  270. package/web/docs/en-US/workbench/mobile.html +3 -3
  271. package/web/docs/en-US/workbench/navigation.html +3 -3
  272. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  273. package/web/docs/en-US/workbench/sessions.html +5 -5
  274. package/web/docs/en-US/workbench/skills.html +3 -3
  275. package/web/docs/en-US/workbench/terminal.html +3 -3
  276. package/web/docs/getting-started/connect-node.html +3 -3
  277. package/web/docs/getting-started/first-agent-session.html +3 -3
  278. package/web/docs/getting-started/first-login.html +3 -3
  279. package/web/docs/getting-started/next-steps.html +3 -3
  280. package/web/docs/getting-started/npm-quick-start.html +3 -3
  281. package/web/docs/getting-started/overview.html +3 -3
  282. package/web/docs/getting-started/prerequisites.html +3 -3
  283. package/web/docs/getting-started/register-workspace.html +3 -3
  284. package/web/docs/getting-started/server-installation.html +3 -3
  285. package/web/docs/hashmap.json +1 -1
  286. package/web/docs/operations/marctl.html +3 -3
  287. package/web/docs/reference/configuration.html +3 -3
  288. package/web/docs/reference/keyboard-shortcuts.html +3 -3
  289. package/web/docs/reference/limits.html +3 -3
  290. package/web/docs/reference/ports-paths-data.html +3 -3
  291. package/web/docs/reference/status-and-errors.html +3 -3
  292. package/web/docs/runners/claude-code.html +3 -3
  293. package/web/docs/runners/codex.html +3 -3
  294. package/web/docs/runners/mar-agent.html +5 -5
  295. package/web/docs/runners/opencode.html +3 -3
  296. package/web/docs/runners/overview.html +3 -3
  297. package/web/docs/runners/runner-troubleshooting.html +3 -3
  298. package/web/docs/troubleshooting/node-offline.html +3 -3
  299. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  300. package/web/docs/troubleshooting/session-run.html +3 -3
  301. package/web/docs/troubleshooting/terminal.html +3 -3
  302. package/web/docs/troubleshooting/workspace-files.html +3 -3
  303. package/web/docs/workbench/browser.html +3 -3
  304. package/web/docs/workbench/composer.html +3 -3
  305. package/web/docs/workbench/context-and-plan.html +3 -3
  306. package/web/docs/workbench/conversation.html +3 -3
  307. package/web/docs/workbench/file-reference-and-attachment.html +3 -3
  308. package/web/docs/workbench/files.html +3 -3
  309. package/web/docs/workbench/git-changes.html +3 -3
  310. package/web/docs/workbench/git-history.html +3 -3
  311. package/web/docs/workbench/hosted-conversations.html +5 -5
  312. package/web/docs/workbench/mobile.html +3 -3
  313. package/web/docs/workbench/navigation.html +3 -3
  314. package/web/docs/workbench/remote-desktop.html +3 -3
  315. package/web/docs/workbench/sessions.html +5 -5
  316. package/web/docs/workbench/skills.html +3 -3
  317. package/web/docs/workbench/terminal.html +3 -3
  318. package/web/index.html +2 -2
  319. package/web/service-worker.js +1 -1
  320. package/web/web-version.json +1 -1
  321. package/web/assets/NodeManagementPage-AbQ08_x0.js +0 -1
  322. package/web/assets/NodeManagementPage-MtrEEO0H.js +0 -1
  323. package/web/assets/SecretManagementPage-DlxCDc6Z.js +0 -1
  324. package/web/assets/SkillCenterPage-BwUXBLXh.js +0 -1
  325. package/web/assets/WorkbenchPage-CiJpKVE1.js +0 -22
  326. package/web/assets/WorkspaceManagementPage-BDQ3LZod.js +0 -1
  327. package/web/assets/WorkspaceManagementPage-CUJHmrVa.js +0 -1
  328. package/web/assets/channel-DNrslwiD.js +0 -1
  329. package/web/assets/classDiagram-CYGNFDIV-aI8Ktb1p.js +0 -1
  330. package/web/assets/classDiagram-v2-TLXNO2FR-aI8Ktb1p.js +0 -1
  331. package/web/assets/stateDiagram-v2-IH3M54BS-LbdbbpNs.js +0 -1
  332. package/web/assets/swimlanesDiagram-JKAHXJPX-Ck3s4-B2.js +0 -8
  333. package/web/docs/assets/chunks/@localSearchIndexen-US.BGC8hBiS.js +0 -1
  334. package/web/docs/assets/chunks/@localSearchIndexroot.l_zJqVF3.js +0 -1
  335. package/web/docs/assets/en-US_workbench_sessions.md.CiyGaTmm.js +0 -1
  336. package/web/docs/assets/workbench_sessions.md.iO2-fwaW.js +0 -1
  337. /package/web/docs/assets/{en-US_runners_mar-agent.md.CGQR-wNH.lean.js → en-US_runners_mar-agent.md._2vFgGa8.lean.js} +0 -0
  338. /package/web/docs/assets/{runners_mar-agent.md.DArhfseg.lean.js → runners_mar-agent.md.Cwn_s2Yl.lean.js} +0 -0
@@ -1 +1 @@
1
- import{_ as t,o as a,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Start a Conversation from a Template","description":"","frontmatter":{"title":"Start a Conversation from a Template","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/hosted-conversations.md","filePath":"en-US/workbench/hosted-conversations.md"}'),i={name:"en-US/workbench/hosted-conversations.md"};function s(r,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="start-a-conversation-from-a-template" tabindex="-1">Start a Conversation from a Template <a class="header-anchor" href="#start-a-conversation-from-a-template" aria-label="Permalink to &quot;Start a Conversation from a Template&quot;">​</a></h1><p><strong>Conversation</strong> mode creates and continues conversations from templates that an administrator published and granted to you. The target Linux Node hosts each conversation with separate persistent storage and a Bubblewrap isolation environment. Each run receives a temporary virtual HOME that contains no host or session-storage content. The template provides a complete read-only Workspace image and controls models, MCP servers, network mode, and quotas.</p><h2 id="create-a-conversation" tabindex="-1">Create a conversation <a class="header-anchor" href="#create-a-conversation" aria-label="Permalink to &quot;Create a conversation&quot;">​</a></h2><ol><li>Open <strong>Chat</strong> from the main menu to enter Conversation mode. The entry is always visible and does not require you to select or receive access to any Node or Workspace.</li><li>If an existing conversation is open, select <strong>New chat</strong> below the history search field to show the temporary Composer start area in the center. The page does not open a dialog.</li><li>Select a published template granted to your current organization or one of its ancestors from the Composer toolbar. A template grant is sufficient to create and continue your own hosted conversations; it does not also grant access to the hosting Node, source Workspace, files, or terminal. A grant to the root organization makes the template available to everyone in the enterprise. This browser remembers the most recently selected template and selects it by default while it remains in the current catalog.</li><li>If no remembered selection can be restored and only one template is available, the page may preselect that template but never creates a conversation automatically. Review the template name, then explicitly send a message or attachment. The page creates the conversation, uploads any draft attachments, and sends the first message in that order.</li><li>If the creation response is interrupted, retry directly. Unless you switch templates or reload the catalog, the retry remains part of the same creation intent and does not create a duplicate.</li></ol><p>Creation binds the template version available at that time. Later draft edits do not affect the conversation, and publishing a new version does not switch it immediately. Before each new Run, Node queries and fully validates the latest available version, then starts the Run with that candidate. The switch becomes atomic only after the Run starts successfully and the message is accepted. Disabling, archiving, or deleting a template does not rewrite the template-name snapshot or last active version of an existing conversation.</p><h2 id="switch-an-existing-conversation-s-template" tabindex="-1">Switch an existing conversation&#39;s template <a class="header-anchor" href="#switch-an-existing-conversation-s-template" aria-label="Permalink to &quot;Switch an existing conversation&#39;s template&quot;">​</a></h2><p>While the conversation is idle, select its template name in the Composer, choose another published template granted to you on the same Node, and confirm. The new template applies to the next run. History, uploads, outputs, and unsent drafts stay in the conversation, and the new template can read its existing content. Template files, instructions, MCP servers, and network settings change; paths to template files in older replies may no longer be valid.</p><p>The current model is retained when the target allows it; otherwise the target&#39;s allowed default is selected. Insufficient storage quota, no available model, or a definitive request failure leaves the original binding unchanged. Switching is unavailable during a run, sending, uploading, rollback, or another conflicting write. After saving, wait for realtime updates to become ready. If the response is interrupted, wait for the page to confirm the binding instead of submitting again.</p><p>Only templates on the same Node can be selected; the conversation is not moved to another host. Switching does not change the recent-template preference for new conversations. Automatic version upgrades within the same template still happen at new-run boundaries; choosing the current template does not force an upgrade.</p><h2 id="use-the-three-pane-workspace" tabindex="-1">Use the three-pane workspace <a class="header-anchor" href="#use-the-three-pane-workspace" aria-label="Permalink to &quot;Use the three-pane workspace&quot;">​</a></h2><p>Opening an existing conversation displays three areas:</p><ul><li><strong>Chat history:</strong> Does not require a Node selection. Server reads conversations owned by the current account from valid hosting Nodes; the hosting Node does not need to appear in your ordinary resource directory. Pinned conversations appear first; all remaining conversations are ordered by latest activity. Search matches titles only, and each entry contains its title and one last-interaction line. A green status dot appears while the conversation is running or stopping and is hidden while idle. An unread marker appears when the conversation has unread terminal notifications, and opening it clears all of its unread notifications. Scrolling near the bottom automatically continues through the unified directory, with a small ring while a page is pending. A failure keeps the loaded conversations and pauses automatic loading; select <strong>Retry</strong> at the bottom to continue. Title filtering searches loaded conversations only and pauses automatic loading until cleared. No matches does not mean the entire directory has no matching conversations. Offline, capability-invalid, version-invalid, failed, or schema-invalid Nodes are skipped silently. If no Node returns a valid result, the page shows a normal empty directory instead of per-Node failures or partial results.</li><li><strong>Main conversation:</strong> Shows authoritative history and realtime messages from the Node. The composer always uses MAR Agent Full Access but does not display the fixed Agent or access value. It provides only model, attachments, send, and stop controls. Reasoning uses the model default. You cannot select an Agent, access mode, slash command, Skill, or Workspace file reference.</li><li><strong>Related files:</strong> Shows only Node-projected <code>inbox/</code> uploads and <code>output/</code> files. Ordinary paths or natural-language text in an Agent response never create file entries. An explicit Markdown file link opens only when it targets <code>/workspace/inbox</code>, <code>/workspace/output</code>, or uniquely matches a current related-file projection. Drop multiple files into the upload area or click it to choose files. Selecting a file row or valid message link opens the same unified read-only file preview used by the regular Workbench, including download. Text larger than 512 KiB shows only its first range; images, PDFs, audio/video, and supported Office files preview through a controlled content stream and use the same file&#39;s download endpoint.</li></ul><p>As in the regular Workbench, the Agent can display images inline in a reply using Markdown image syntax, for example <code>![Chart](/workspace/output/chart.png)</code>. Local images must be listed in the current conversation&#39;s Related files. Select a thumbnail to open a larger preview.</p><p>On desktop, conversation history uses the same left-side menu area as other pages. Select <strong>Fold</strong> to fold both the brand area and conversation history so the main conversation moves left; select <strong>Expand</strong> to restore conversation history. Related files remain on the right of the main conversation.</p><p>Before creation, <strong>Related files</strong> shows only an explanation and has no upload target without a conversation. Once the first send creates the conversation, the upload area and file list become available in place.</p><p>Mobile does not show the global <strong>Expand/Fold</strong> control or three tabs. Select <strong>Chat</strong> in the top navigation again to open the history drawer, and use the <strong>Files</strong> button at the top-right of the main conversation to open related files. Selecting a conversation or the scrim outside a drawer closes it.</p><h2 id="send-messages-and-attachments" tabindex="-1">Send messages and attachments <a class="header-anchor" href="#send-messages-and-attachments" aria-label="Permalink to &quot;Send messages and attachments&quot;">​</a></h2><ol><li>Enter a message in the main conversation. Press Enter to send or Shift+Enter for a new line.</li><li>Choose a concrete model configuration currently available to your account within the template&#39;s allowed upstream-model range. If the current configuration disappears, Node first falls back to an available configuration for the template default, then to the first available model in template order. The operation fails when no model intersects. If an update fails, the page keeps the configuration confirmed by the Node.</li><li>Use the paperclip to add attachments. A message can contain up to 32 attachments. Each file must finish uploading to the current conversation before it can be sent. Dropping local files into the main conversation input first asks you to confirm the upload; choosing files with the paperclip and pasting from the clipboard start uploading directly.</li><li>Retry or remove a failed attachment from its attachment row. A retry creates a new upload request instead of reusing a cancelled temporary upload. Files with the same name are saved with an incrementing suffix before the extension, for example <code>image.png</code> and <code>image (1).png</code>; the attachment row shows the final name assigned by the Node.</li><li>While a task is in progress, you can still edit the Composer and use <strong>Stop</strong>. With the Composer focused, you can also press <code>Esc</code> to stop. Once the host begins preparing the task, you can stop it even before the send request returns. If the message has not been accepted, the draft is kept. Stop requests are not duplicated while one is pending or the task is stopping. On a host that supports it, <code>Ctrl+Enter</code> on desktop steers with the current message. If MAR Agent is still starting, the steer waits for the original message to be recorded without interrupting startup. Once accepted natively, it appears as a separate message. It can take effect in the first model request or after the current response and tool batch, without cutting off generation. Managed waits may return early without stopping background tasks; other tools still finish normally. If native delivery is unavailable or you explicitly change settings such as the model, the original stop-then-send flow applies. Its body is marked as additional information received while working; when idle it sends normally. The wrapper is hidden from the conversation. Ordinary Enter does not queue a hosted-conversation message. On mobile, the <strong>Steer</strong> button appears beside <strong>Stop</strong> when the editor has content. Tap it to steer, or slide up and release inside the Composer. Move above its top edge to cancel, and move back inside to restore steering. Cancellation preserves the draft. Hosted conversations do not queue ordinary messages. While a task is stopping, wait for it to finish before sending. Direct uploads and deletion in <strong>Related files</strong> are not disabled as a group by an active task.</li></ol><p>New and idle conversations on mobile also support sliding up from <strong>Send</strong> and releasing inside the Composer to send normally. Only moving above its top edge cancels; move back inside to restore sending. Tapping or holding without sliding up keeps the existing button action. Nothing is submitted while holding. Cancellation preserves the draft, and touching the button does not move focus away from the editor.</p><p>After an explicit request error, correct the input and retry. If the network disconnects while the result is unknown, the page keeps the same send intent to avoid duplicate execution.</p><p>History loading, inline retry, and Run duration follow the <a href="./sessions">session reading behavior</a>. Sending appears beside the send controls without replacing an active Run&#39;s status. Connection hints use the page connection state; they do not mean the Agent failed or restarted.</p><h2 id="roll-back-conversation-history" tabindex="-1">Roll back conversation history <a class="header-anchor" href="#roll-back-conversation-history" aria-label="Permalink to &quot;Roll back conversation history&quot;">​</a></h2><p>A steer message added during a run has its own rollback boundary. Rolling it back preserves ordinary messages and execution records from before it was received, even when they belong to the same turn.</p><p>When the hosting Node supports hosted-conversation Rollback, a <strong>Rollback conversation</strong> action appears beside terminal user messages. Hosted conversations do not provide a Rewind branch action. After confirmation, the system permanently deletes that user message and all later history in the current conversation&#39;s original Session, then restores the message text to the composer so you can edit and send it again.</p><p>Rollback does not modify or delete <code>inbox/</code>, <code>output/</code>, or any item in <strong>Related files</strong>, and it does not create a new conversation or Session. Rollback is unavailable while a Run is starting, active, or settling. If the boundary changed or the request failed, the page keeps the existing history and draft and shows the actual error.</p><h2 id="manage-related-files" tabindex="-1">Manage related files <a class="header-anchor" href="#manage-related-files" aria-label="Permalink to &quot;Manage related files&quot;">​</a></h2><ol><li>Drop one or more files onto the upload area in <strong>Related files</strong>, or click the area and choose one or more files from the system file picker. Files upload sequentially to the current conversation&#39;s <code>inbox/</code>, and one failed file does not prevent later files from uploading.</li><li>Direct upload updates only the related-file list. It does not add files to the composer or attach them to the next message. Use the paperclip when a file must be sent with a message.</li><li>Select a file row, or an explicit Agent-message file link that resolves to the current authoritative file list, to view it in the unified preview, jump to a text line, download it, or close it. Unknown, ambiguous, and plain-text paths never trigger a file read.</li><li>Both user uploads in <code>inbox/</code> and Agent outputs in <code>output/</code> can be deleted manually from their file rows. After confirmation, the page replaces the list with the complete authoritative result returned by the Node. Deleting the file currently being previewed also closes the preview.</li><li>Deletion may race with Agent writes during an active Run. The operation that completes first takes effect. If the target was deleted, replaced, or changed first, the later operation shows a not-found or conflict message; retry based on the refreshed file list.</li></ol><p>The Agent treats <code>output/</code> as the current deliverable set rather than appending a history for every Run. When the same document or artifact needs another revision, it keeps editing the existing canonical file and stable path instead of creating successive <code>v2</code>, dated, or <code>final</code> copies. It archives a prior version under <code>output/bak/</code> only when that version has meaningful rollback value or you explicitly request history; small edits do not create backups automatically. Images and other resources used by current deliverables go into meaningful subdirectories such as <code>output/assets/</code>, while exploratory or disposable files remain in <code>/tmp</code>. The Agent removes only files it created during the current work and confirmed are unused; it does not delete user uploads or unrelated pre-existing files as cleanup.</p><h2 id="automatically-maintain-conversation-requirements" tabindex="-1">Automatically maintain conversation requirements <a class="header-anchor" href="#automatically-maintain-conversation-requirements" aria-label="Permalink to &quot;Automatically maintain conversation requirements&quot;">​</a></h2><p>The Agent automatically recognizes requirements that you directly or indirectly indicate should continue to apply to later work in the current hosted conversation; you do not have to use the word “remember.” For example, “use Chinese for later reports,” “keep revising the existing file,” and “check links before every delivery” are continuing requirements. The Agent first reads the existing <code>/workspace/inbox/AGENTS.md</code>, then maintains a concise set of current rules: it preserves unrelated guidance, avoids duplicates, and replaces or removes rules contradicted, cancelled, or superseded by newer guidance. Later Runs read the file again when they start.</p><p>Appropriate saved content includes delivery formats, terminology, naming conventions, quality checks, communication preferences, and recurring workflows. Requirements limited to the current task, quoted or third-party material you ask the Agent to inspect, preferences inferred only by the Agent, secrets such as passwords or tokens, and language that attempts to pre-authorize later deletion, commits, pushes, publication, or other external side effects are not saved automatically. <code>inbox/AGENTS.md</code> belongs to the current conversation rather than the template. It appears in related files, counts toward persistent quota, and can be previewed, downloaded, edited, or deleted by you. Conversation-history Rollback does not roll back this file.</p><p>If a rule should apply to every user and conversation created from the template, ask a template administrator to edit <code>AGENTS.template.md</code> in the source Workspace, test the draft, and publish a new version. The Agent inside a hosted conversation can only read the current immutable template snapshot and cannot directly change the reusable template.</p><h2 id="workspace-and-network" tabindex="-1">Workspace and network <a class="header-anchor" href="#workspace-and-network" aria-label="Permalink to &quot;Workspace and network&quot;">​</a></h2><ul><li>The Agent’s logical workspace is always <code>/workspace</code>. For scripts that depend on the original absolute path, the canonical source Workspace path recorded at publication is also mounted as a compatibility alias. Both paths refer to the same active snapshot and never expose writable access to the live source Workspace.</li><li>Template files, empty directories, root <code>AGENTS.md</code>, <code>.agents/skills/</code>, and symbolic links allowed at publication come from the active version and remain read-only.</li><li><code>/workspace/inbox</code> and <code>/workspace/output</code> are writable overlays. The same directories under the original-path alias refer to those overlays. Attachments and the current conversation&#39;s <code>AGENTS.md</code> belong in <code>inbox/</code>; current final results and assets belong in <code>output/</code>, and prior versions worth retaining may go under <code>output/bak/</code>.</li><li><code>/tmp</code> is temporary working storage for the current conversation. Later Runs in the same conversation can reuse it, but the host may clear it at any time. Its contents do not appear in related files and do not count toward persistent quota. <code>/workspace/output/tmp</code> has no special lifecycle or semantics.</li><li>Node injects a non-editable hosted-workflow instruction describing the actual directory permissions and network capabilities. Workspace instructions still load but cannot expand Host-enforced boundaries.</li><li><strong>No network</strong> blocks sandboxed processes from using the network and disables Web and remote HTTP MCP. <strong>Unrestricted</strong> allows sandboxed processes, Web capabilities, and remote HTTP MCP captured in the published template version to reach networks available to the Node. Local stdio MCP can start in either mode but cannot use the network in <strong>No network</strong> mode.</li></ul><h2 id="realtime-and-availability-states" tabindex="-1">Realtime and availability states <a class="header-anchor" href="#realtime-and-availability-states" aria-label="Permalink to &quot;Realtime and availability states&quot;">​</a></h2><p>The conversation page reuses the page&#39;s single Workbench WebSocket and subscribes only to the current conversation. Switching conversations, leaving the page, or replacing the browser connection releases the old subscription. After reconnecting, the page obtains a new authoritative Node snapshot instead of inferring a Run result from missing events.</p><p>If the first message creates a conversation but its connection is not ready, the draft and attachments remain available. Send again after recovery; the message is never retried automatically. Switching history during creation or upload does not cancel submitted operations or jump back to the old selection. Choose <strong>New conversation</strong> on the same page to continue the original draft. Leaving the entire page does not cancel submitted operations; when you return, the created conversation is available in history.</p><p>After a Run succeeds, fails, or ends because of an unexpected interruption, Notification Center retains a notification for that hosted conversation for 24 hours. Explicitly selecting <strong>Stop</strong>, or deleting the conversation while it is running, cancels the Run without creating a terminal notification. Selecting a notification switches to Conversation mode and opens the matching conversation. Hosted conversations do not appear in the <strong>Recent Sessions</strong> list.</p><p>The page shows an action message in these cases:</p><ul><li>The hosting service is temporarily unreachable or realtime subscription fails: loaded content remains visible. An established subscription retries recoverable failures a limited number of times, with a reload ring in the conversation and writes disabled until recovery. After an initial load fails or recovery stops, select <strong>Failed to load. Retry</strong> in the conversation. The same error does not also produce a popup; the retry control&#39;s supplementary hint retains the error code, details, and request identifiers.</li><li>Automatic template upgrade fails: the current send fails, but the old version, history, and writable state remain intact. The next send queries the latest available version at that time and attempts the upgrade again.</li><li>Related-file synchronization fails: message history remains available; reopen the conversation later and contact an administrator if the problem continues.</li></ul><h2 id="titles-pinning-and-deletion" tabindex="-1">Titles, pinning, and deletion <a class="header-anchor" href="#titles-pinning-and-deletion" aria-label="Permalink to &quot;Titles, pinning, and deletion&quot;">​</a></h2><p>The new-conversation panel and a newly created conversation initially show the current interface language&#39;s <strong>New conversation</strong> label instead of the template name; switching the interface language updates this default title immediately. After the first non-empty message is accepted, the page uses that message as a temporary title; an attachment-only first send keeps the default title. When MAR Agent completes its first automatic title, the history directory and top bar update. Automatic and manual titles remain in their original text instead of being translated with the interface. You can set a manual title from the <strong>More</strong> menu beside a history entry; a manual title takes priority and is not replaced by a late automatic title. Editing the title or changing pin state does not change the last-interaction time. Pinned entries always appear before regular entries.</p><p>When you select <strong>Delete</strong>, the confirmation states that the action cannot be undone. After confirmation, the Node stops any active Run or upload for that conversation and permanently deletes its history, related files, and hosted directory. Deleting the current conversation clears the selection and opens the new-conversation panel; deleting another history entry keeps the current conversation and realtime subscription unchanged. Both cases refresh the history directory. This is not template archiving, and there is no recovery window or restore action.</p><h2 id="availability" tabindex="-1">Availability <a class="header-anchor" href="#availability" aria-label="Permalink to &quot;Availability&quot;">​</a></h2><ul><li>At 95% filesystem usage, the Node blocks only new conversation creation. Existing conversations remain available for opening, runs, uploads, exports, and deletion.</li><li>A template disappears from your new-conversation catalog after it becomes unpublished, disabled, archived, deleted, or no longer granted to you.</li><li>A template grant does not add the hosting Node or source Workspace to <strong>Work</strong>. Ordinary Workspace, file, terminal, or Node operations still require a separate resource grant.</li><li>The page stores only the most recently selected template ID in this browser and safely ignores it when that template is no longer available. It never creates a conversation silently when opened, refreshed, or reduced to one template. <strong>New chat</strong> only opens the temporary center panel.</li></ul><p><strong>Success:</strong> the page shows the new conversation title and first message, and <strong>Related files</strong> is available.</p><p>If no template is selectable, ask an administrator to check template publishing and template access. If creation reports a hosting, version, isolation, or storage-capacity problem, an administrator should inspect the corresponding Node. Administrators can see <a href="./../administration/conversation-templates">Manage Conversation Templates</a>.</p>',47)])])}const m=t(i,[["render",s]]);export{u as __pageData,m as default};
1
+ import{_ as t,o as a,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Start a Conversation from a Template","description":"","frontmatter":{"title":"Start a Conversation from a Template","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/hosted-conversations.md","filePath":"en-US/workbench/hosted-conversations.md"}'),i={name:"en-US/workbench/hosted-conversations.md"};function s(r,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[n('<h1 id="start-a-conversation-from-a-template" tabindex="-1">Start a Conversation from a Template <a class="header-anchor" href="#start-a-conversation-from-a-template" aria-label="Permalink to &quot;Start a Conversation from a Template&quot;">​</a></h1><p><strong>Conversation</strong> mode creates and continues conversations from templates that an administrator published and granted to you. The target Linux Node hosts each conversation with separate persistent storage and a Bubblewrap isolation environment. Each run receives a temporary virtual HOME that contains no host or session-storage content. The template provides a complete read-only Workspace image and controls models, MCP servers, network mode, and quotas.</p><h2 id="create-a-conversation" tabindex="-1">Create a conversation <a class="header-anchor" href="#create-a-conversation" aria-label="Permalink to &quot;Create a conversation&quot;">​</a></h2><ol><li>Open <strong>Chat</strong> from the main menu to enter Conversation mode. The entry is always visible and does not require you to select or receive access to any Node or Workspace.</li><li>If an existing conversation is open, select <strong>New chat</strong> below the history search field to show the temporary Composer start area in the center. The page does not open a dialog.</li><li>Select a published template granted to your current organization or one of its ancestors from the Composer toolbar. A template grant is sufficient to create and continue your own hosted conversations; it does not also grant access to the hosting Node, source Workspace, files, or terminal. A grant to the root organization makes the template available to everyone in the enterprise. This browser remembers the most recently selected template and selects it by default while it remains in the current catalog.</li><li>If no remembered selection can be restored and only one template is available, the page may preselect that template but never creates a conversation automatically. Review the template name, then explicitly send a message or attachment. The page creates the conversation, uploads any draft attachments, and sends the first message in that order.</li><li>If the creation response is interrupted, retry directly. Unless you switch templates or reload the catalog, the retry remains part of the same creation intent and does not create a duplicate.</li></ol><p>Creation binds the template version available at that time. Later draft edits do not affect the conversation, and publishing a new version does not switch it immediately. Before each new Run, Node queries and fully validates the latest available version, then starts the Run with that candidate. The switch becomes atomic only after the Run starts successfully and the message is accepted. Disabling, archiving, or deleting a template does not rewrite the template-name snapshot or last active version of an existing conversation.</p><h2 id="switch-an-existing-conversation-s-template" tabindex="-1">Switch an existing conversation&#39;s template <a class="header-anchor" href="#switch-an-existing-conversation-s-template" aria-label="Permalink to &quot;Switch an existing conversation&#39;s template&quot;">​</a></h2><p>While the conversation is idle, select its template name in the Composer, choose another published template granted to you on the same Node, and confirm. The new template applies to the next run. History, uploads, outputs, and unsent drafts stay in the conversation, and the new template can read its existing content. Template files, instructions, MCP servers, and network settings change; paths to template files in older replies may no longer be valid.</p><p>The current model is retained when the target allows it; otherwise the target&#39;s allowed default is selected. Insufficient storage quota, no available model, or a definitive request failure leaves the original binding unchanged. Switching is unavailable during a run, sending, uploading, rollback, or another conflicting write. After saving, wait for realtime updates to become ready. If the response is interrupted, wait for the page to confirm the binding instead of submitting again.</p><p>Only templates on the same Node can be selected; the conversation is not moved to another host. Switching does not change the recent-template preference for new conversations. Automatic version upgrades within the same template still happen at new-run boundaries; choosing the current template does not force an upgrade.</p><h2 id="use-the-three-pane-workspace" tabindex="-1">Use the three-pane workspace <a class="header-anchor" href="#use-the-three-pane-workspace" aria-label="Permalink to &quot;Use the three-pane workspace&quot;">​</a></h2><p>Opening an existing conversation displays three areas:</p><ul><li><strong>Chat history:</strong> Does not require a Node selection. Server reads conversations owned by the current account from valid hosting Nodes; the hosting Node does not need to appear in your ordinary resource directory. Pinned conversations appear first; all remaining conversations are ordered by latest activity. Search matches titles only, and each entry contains its title and one last-interaction line. A green status dot appears while the conversation is running or stopping and is hidden while idle. An unread marker appears when the conversation has unread terminal notifications, and opening it clears all of its unread notifications. Scrolling near the bottom automatically continues through the unified directory, with a small ring while a page is pending. A failure keeps the loaded conversations and pauses automatic loading; select <strong>Retry</strong> at the bottom to continue. Title filtering searches loaded conversations only and pauses automatic loading until cleared. No matches does not mean the entire directory has no matching conversations. Offline, capability-invalid, version-invalid, failed, or schema-invalid Nodes are skipped silently. If no Node returns a valid result, the page shows a normal empty directory instead of per-Node failures or partial results.</li><li><strong>Main conversation:</strong> Shows authoritative history and realtime messages from the Node. The composer always uses MAR Agent Full Access but does not display the fixed Agent or access value. It provides only model, attachments, send, and stop controls. Reasoning uses the model default. You cannot select an Agent, access mode, slash command, Skill, or Workspace file reference.</li><li><strong>Related files:</strong> Shows only Node-projected <code>inbox/</code> uploads and <code>output/</code> files. Ordinary paths or natural-language text in an Agent response never create file entries. An explicit Markdown file link opens only when it targets <code>/workspace/inbox</code>, <code>/workspace/output</code>, or uniquely matches a current related-file projection. Drop multiple files into the upload area or click it to choose files. Selecting a file row or valid message link opens the same unified read-only file preview used by the regular Workbench, including download. Text larger than 512 KiB shows only its first range; images, PDFs, audio/video, and supported Office files preview through a controlled content stream and use the same file&#39;s download endpoint.</li></ul><p>As in the regular Workbench, the Agent can display images inline in a reply using Markdown image syntax, for example <code>![Chart](/workspace/output/chart.png)</code>. Local images must be listed in the current conversation&#39;s Related files. Select a thumbnail to open a larger preview.</p><p>On desktop, conversation history uses the same left-side menu area as other pages. Select <strong>Fold</strong> to fold both the brand area and conversation history so the main conversation moves left; select <strong>Expand</strong> to restore conversation history. Related files remain on the right of the main conversation.</p><p>Before creation, <strong>Related files</strong> shows only an explanation and has no upload target without a conversation. Once the first send creates the conversation, the upload area and file list become available in place.</p><p>Mobile does not show the global <strong>Expand/Fold</strong> control or three tabs. Select <strong>Chat</strong> in the top navigation again to open the history drawer, and use the <strong>Files</strong> button at the top-right of the main conversation to open related files. Selecting a conversation or the scrim outside a drawer closes it.</p><h2 id="send-messages-and-attachments" tabindex="-1">Send messages and attachments <a class="header-anchor" href="#send-messages-and-attachments" aria-label="Permalink to &quot;Send messages and attachments&quot;">​</a></h2><ol><li>Enter a message in the main conversation. Press Enter to send or Shift+Enter for a new line.</li><li>Choose a concrete model configuration currently available to your account within the template&#39;s allowed upstream-model range. If the current configuration disappears, Node first falls back to an available configuration for the template default, then to the first available model in template order. The operation fails when no model intersects. If an update fails, the page keeps the configuration confirmed by the Node.</li><li>Use the paperclip to add attachments. A message can contain up to 32 attachments. Each file must finish uploading to the current conversation before it can be sent. Dropping local files into the main conversation input first asks you to confirm the upload; choosing files with the paperclip and pasting from the clipboard start uploading directly.</li><li>Retry or remove a failed attachment from its attachment row. A retry creates a new upload request instead of reusing a cancelled temporary upload. Files with the same name are saved with an incrementing suffix before the extension, for example <code>image.png</code> and <code>image (1).png</code>; the attachment row shows the final name assigned by the Node.</li><li>While a task is in progress, you can still edit the Composer and use <strong>Stop</strong>. With the Composer focused, you can also press <code>Esc</code> to stop. Once the host begins preparing the task, you can stop it even before the send request returns. If the message has not been accepted, the draft is kept. Stop requests are not duplicated while one is pending or the task is stopping. On a host that supports it, <code>Ctrl+Enter</code> on desktop steers with the current message. If MAR Agent is still starting, the steer waits for the original message to be recorded without interrupting startup. Once accepted natively, it appears as a separate message. It can take effect in the first model request or after the current response and tool batch, without cutting off generation. Managed waits may return early without stopping background tasks; other tools still finish normally. If native delivery is unavailable or you explicitly change settings such as the model, the original stop-then-send flow applies. Its body is marked as additional information received while working; when idle it sends normally. The wrapper is hidden from the conversation. Ordinary Enter does not queue a hosted-conversation message. On mobile, the <strong>Steer</strong> button appears beside <strong>Stop</strong> when the editor has content. Tap it to steer, or slide up and release inside the Composer. Move above its top edge to cancel, and move back inside to restore steering. Cancellation preserves the draft. Hosted conversations do not queue ordinary messages. While a task is stopping, wait for it to finish before sending. Direct uploads and deletion in <strong>Related files</strong> are not disabled as a group by an active task.</li></ol><p>New and idle conversations on mobile also support sliding up from <strong>Send</strong> and releasing inside the Composer to send normally. Only moving above its top edge cancels; move back inside to restore sending. Tapping or holding without sliding up keeps the existing button action. Nothing is submitted while holding. Cancellation preserves the draft, and touching the button does not move focus away from the editor.</p><p>After an explicit request error, correct the input and retry. If the network disconnects while the result is unknown, the page keeps the same send intent to avoid duplicate execution.</p><p>History loading, inline retry, and Run duration follow the <a href="./sessions">session reading behavior</a>. Sending appears beside the send controls without replacing an active Run&#39;s status. Connection hints use the page connection state; they do not mean the Agent failed or restarted.</p><h2 id="roll-back-conversation-history" tabindex="-1">Roll back conversation history <a class="header-anchor" href="#roll-back-conversation-history" aria-label="Permalink to &quot;Roll back conversation history&quot;">​</a></h2><p>A steer message added during a run has its own rollback boundary. Rolling it back preserves ordinary messages and execution records from before it was received, even when they belong to the same turn.</p><p>When the hosting Node supports hosted-conversation Rollback, a <strong>Rollback conversation</strong> action appears beside terminal user messages. Hosted conversations do not provide a Rewind branch action. After confirmation, the system permanently deletes that user message and all later history in the current conversation&#39;s original Session, then restores the message text to the composer so you can edit and send it again.</p><p>Rollback does not modify or delete <code>inbox/</code>, <code>output/</code>, or any item in <strong>Related files</strong>, and it does not create a new conversation or Session. Rollback is unavailable while a Run is starting, active, or settling. If the boundary changed or the request failed, the page keeps the existing history and draft and shows the actual error.</p><h2 id="manage-related-files" tabindex="-1">Manage related files <a class="header-anchor" href="#manage-related-files" aria-label="Permalink to &quot;Manage related files&quot;">​</a></h2><ol><li>Drop one or more files onto the upload area in <strong>Related files</strong>, or click the area and choose one or more files from the system file picker. Files upload sequentially to the current conversation&#39;s <code>inbox/</code>, and one failed file does not prevent later files from uploading.</li><li>Direct upload updates only the related-file list. It does not add files to the composer or attach them to the next message. Use the paperclip when a file must be sent with a message.</li><li>Select a file row, or an explicit Agent-message file link that resolves to the current authoritative file list, to view it in the unified preview, jump to a text line, download it, or close it. Unknown, ambiguous, and plain-text paths never trigger a file read.</li><li>Both user uploads in <code>inbox/</code> and Agent outputs in <code>output/</code> can be deleted manually from their file rows. After confirmation, the page replaces the list with the complete authoritative result returned by the Node. Deleting the file currently being previewed also closes the preview.</li><li>Deletion may race with Agent writes during an active Run. The operation that completes first takes effect. If the target was deleted, replaced, or changed first, the later operation shows a not-found or conflict message; retry based on the refreshed file list.</li></ol><p>The Agent treats <code>output/</code> as the current deliverable set rather than appending a history for every Run. When the same document or artifact needs another revision, it keeps editing the existing canonical file and stable path instead of creating successive <code>v2</code>, dated, or <code>final</code> copies. It archives a prior version under <code>output/bak/</code> only when that version has meaningful rollback value or you explicitly request history; small edits do not create backups automatically. Images and other resources used by current deliverables go into meaningful subdirectories such as <code>output/assets/</code>, while exploratory or disposable files remain in <code>/tmp</code>. The Agent removes only files it created during the current work and confirmed are unused; it does not delete user uploads or unrelated pre-existing files as cleanup.</p><h2 id="automatically-maintain-conversation-requirements" tabindex="-1">Automatically maintain conversation requirements <a class="header-anchor" href="#automatically-maintain-conversation-requirements" aria-label="Permalink to &quot;Automatically maintain conversation requirements&quot;">​</a></h2><p>The Agent automatically recognizes requirements that you directly or indirectly indicate should continue to apply to later work in the current hosted conversation; you do not have to use the word “remember.” For example, “use Chinese for later reports,” “keep revising the existing file,” and “check links before every delivery” are continuing requirements. The Agent first reads the existing <code>/workspace/inbox/AGENTS.md</code>, then maintains a concise set of current rules: it preserves unrelated guidance, avoids duplicates, and replaces or removes rules contradicted, cancelled, or superseded by newer guidance. Later Runs read the file again when they start.</p><p>Appropriate saved content includes delivery formats, terminology, naming conventions, quality checks, communication preferences, and recurring workflows. Requirements limited to the current task, quoted or third-party material you ask the Agent to inspect, preferences inferred only by the Agent, secrets such as passwords or tokens, and language that attempts to pre-authorize later deletion, commits, pushes, publication, or other external side effects are not saved automatically. <code>inbox/AGENTS.md</code> belongs to the current conversation rather than the template. It appears in related files, counts toward persistent quota, and can be previewed, downloaded, edited, or deleted by you. Conversation-history Rollback does not roll back this file.</p><p>If a rule should apply to every user and conversation created from the template, ask a template administrator to edit <code>AGENTS.template.md</code> in the source Workspace, test the draft, and publish a new version. The Agent inside a hosted conversation can only read the current immutable template snapshot and cannot directly change the reusable template.</p><h2 id="workspace-and-network" tabindex="-1">Workspace and network <a class="header-anchor" href="#workspace-and-network" aria-label="Permalink to &quot;Workspace and network&quot;">​</a></h2><ul><li>The Agent’s logical workspace is always <code>/workspace</code>. For scripts that depend on the original absolute path, the canonical source Workspace path recorded at publication is also mounted as a compatibility alias. Both paths refer to the same active snapshot and never expose writable access to the live source Workspace.</li><li>Template files, empty directories, root <code>AGENTS.md</code>, <code>.agents/skills/</code>, and symbolic links allowed at publication come from the active version and remain read-only.</li><li><code>/workspace/inbox</code> and <code>/workspace/output</code> are writable overlays. The same directories under the original-path alias refer to those overlays. Attachments and the current conversation&#39;s <code>AGENTS.md</code> belong in <code>inbox/</code>; current final results and assets belong in <code>output/</code>, and prior versions worth retaining may go under <code>output/bak/</code>.</li><li><code>/tmp</code> is temporary working storage for the current conversation. Later Runs in the same conversation can reuse it, but the host may clear it at any time. Its contents do not appear in related files and do not count toward persistent quota. <code>/workspace/output/tmp</code> has no special lifecycle or semantics.</li><li>Node injects a non-editable hosted-workflow instruction describing the actual directory permissions and network capabilities. Workspace instructions still load but cannot expand Host-enforced boundaries.</li><li><strong>No network</strong> blocks sandboxed processes from using the network and disables Web and remote HTTP MCP. <strong>Unrestricted</strong> allows sandboxed processes, Web capabilities, and remote HTTP MCP captured in the published template version to reach networks available to the Node. Local stdio MCP can start in either mode but cannot use the network in <strong>No network</strong> mode.</li></ul><h2 id="realtime-and-availability-states" tabindex="-1">Realtime and availability states <a class="header-anchor" href="#realtime-and-availability-states" aria-label="Permalink to &quot;Realtime and availability states&quot;">​</a></h2><p>The conversation page reuses the page&#39;s single Workbench WebSocket and subscribes only to the current conversation. Switching conversations, leaving the page, or replacing the browser connection releases the old subscription. After reconnecting, the page obtains a new authoritative Node snapshot instead of inferring a Run result from missing events.</p><p>If the first message creates a conversation but its connection is not ready, the draft and attachments remain available. Send again after recovery; the message is never retried automatically. Switching history during creation or upload does not cancel submitted operations or jump back to the old selection. Choose <strong>New conversation</strong> on the same page to continue the original draft. Leaving the entire page does not cancel submitted operations; when you return, the created conversation is available in history.</p><p>After a Run succeeds, fails, or ends because of an unexpected interruption, Notification Center retains a notification for that hosted conversation for 24 hours. Explicitly selecting <strong>Stop</strong>, or deleting the conversation while it is running, cancels the Run without creating a terminal notification. Selecting a notification switches to Conversation mode and opens the matching conversation. Hosted conversations do not appear in the <strong>Recent Sessions</strong> list.</p><p>The page shows an action message in these cases:</p><ul><li>The hosting service is temporarily unreachable or realtime subscription fails: loaded content remains visible. An established subscription retries recoverable failures a limited number of times, with a reload ring in the conversation and writes disabled until recovery. After an initial load fails or recovery stops, select <strong>Failed to load. Retry</strong> in the conversation. The same error does not also produce a popup; the retry control&#39;s supplementary hint retains the error code, details, and request identifiers.</li><li>Automatic template upgrade fails: the current send fails, but the old version, history, and writable state remain intact. The next send queries the latest available version at that time and attempts the upgrade again.</li><li>Related-file synchronization fails: message history remains available; reopen the conversation later and contact an administrator if the problem continues.</li></ul><h2 id="titles-pinning-and-deletion" tabindex="-1">Titles, pinning, and deletion <a class="header-anchor" href="#titles-pinning-and-deletion" aria-label="Permalink to &quot;Titles, pinning, and deletion&quot;">​</a></h2><p>The new-conversation panel and a newly created conversation initially show the current interface language&#39;s <strong>New conversation</strong> label instead of the template name; switching the interface language updates this default title immediately. After the first non-empty message is accepted, the page uses that message as a temporary title; an attachment-only first send keeps the default title. The history list and top bar update as soon as MAR Agent&#39;s automatic title is ready, without waiting for the first run to finish. Automatic and manual titles remain in their original text instead of being translated with the interface. You can set a manual title from the <strong>More</strong> menu beside a history entry; a manual title takes priority and is not replaced by a late automatic title. Editing the title or changing pin state does not change the last-interaction time. Pinned entries always appear before regular entries.</p><p>When you select <strong>Delete</strong>, the confirmation states that the action cannot be undone. After confirmation, the Node stops any active Run or upload for that conversation and permanently deletes its history, related files, and hosted directory. Deleting the current conversation clears the selection and opens the new-conversation panel; deleting another history entry keeps the current conversation and realtime subscription unchanged. Both cases refresh the history directory. This is not template archiving, and there is no recovery window or restore action.</p><h2 id="availability" tabindex="-1">Availability <a class="header-anchor" href="#availability" aria-label="Permalink to &quot;Availability&quot;">​</a></h2><ul><li>At 95% filesystem usage, the Node blocks only new conversation creation. Existing conversations remain available for opening, runs, uploads, exports, and deletion.</li><li>A template disappears from your new-conversation catalog after it becomes unpublished, disabled, archived, deleted, or no longer granted to you.</li><li>A template grant does not add the hosting Node or source Workspace to <strong>Work</strong>. Ordinary Workspace, file, terminal, or Node operations still require a separate resource grant.</li><li>The page stores only the most recently selected template ID in this browser and safely ignores it when that template is no longer available. It never creates a conversation silently when opened, refreshed, or reduced to one template. <strong>New chat</strong> only opens the temporary center panel.</li></ul><p><strong>Success:</strong> the page shows the new conversation title and first message, and <strong>Related files</strong> is available.</p><p>If no template is selectable, ask an administrator to check template publishing and template access. If creation reports a hosting, version, isolation, or storage-capacity problem, an administrator should inspect the corresponding Node. Administrators can see <a href="./../administration/conversation-templates">Manage Conversation Templates</a>.</p>',47)])])}const m=t(i,[["render",s]]);export{u as __pageData,m as default};
@@ -1 +1 @@
1
- import{_ as t,o as a,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Start a Conversation from a Template","description":"","frontmatter":{"title":"Start a Conversation from a Template","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/hosted-conversations.md","filePath":"en-US/workbench/hosted-conversations.md"}'),i={name:"en-US/workbench/hosted-conversations.md"};function s(r,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[n("",47)])])}const m=t(i,[["render",s]]);export{u as __pageData,m as default};
1
+ import{_ as t,o as a,c as o,a3 as n}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"Start a Conversation from a Template","description":"","frontmatter":{"title":"Start a Conversation from a Template","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"en-US/workbench/hosted-conversations.md","filePath":"en-US/workbench/hosted-conversations.md"}'),i={name:"en-US/workbench/hosted-conversations.md"};function s(r,e,l,d,c,h){return a(),o("div",null,[...e[0]||(e[0]=[n("",47)])])}const m=t(i,[["render",s]]);export{u as __pageData,m 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-29T00: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 &quot;Create and Manage Sessions&quot;">​</a></h1><p>On Nodes that advertise grouping, <strong>Main Sessions / Child Sessions</strong> separates the session list and defaults to Main Sessions. Sessions with a parent relationship appear under Child Sessions; sessions without one appear under Main Sessions. Search and pagination stay within the selected group. Switching groups does not close the conversation or interrupt work. Each Workspace remembers its group for the current page only; reloading defaults to Main Sessions. A Node without grouping capability retains the mixed list.</p><p>Group tabs show only their names and selected state, without running counts or unread badges. Clicking a tab only switches the list; it does not open a session. Individual session rows retain their running and unread indicators. Notifications, recent-session items, and Workspace tabs synchronize Main / Child Sessions when they open a target session.</p><p>Click or tap the conversation title to share or rename the session, view its collaboration network, or manage its prompt and scheduled task where supported. Use the session list&#39;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. A green dot on a session means it is running. A green dot on the network button means another session in that network is running, even if it is not shown in the graph. 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 shows the board the selected session follows, or its own board if it follows none. Use the swap icon in the panel’s top-right corner to switch between these two boards without changing what the session follows. Select a dashed line to highlight the relationship and see its shared board directly. Board entries and recent operations are read-only; older changes may show only a summary. 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&#39;s draft for each side. Even the same session has independent input on both sides, while concurrent duplicate submissions are still prevented. Queued-message edits remain bound to their original session. Closing an Aside session tab stops displaying the conversation there; it does not end the Agent&#39;s task, delete the session, or close the main work area.</p><p>In work mode, closing a Workspace preserves its drafts in the current browser tab for reopening. Signing out or losing authentication clears that tab’s saved input drafts and queued-message edits so another account cannot restore them. Save important unsent content elsewhere first. This does not delete messages already sent or queued.</p><p>Aside keeps at most one session tab per Workspace. Opening another session replaces the previous session tab while preserving Aside&#39;s current input and leaving the previous session&#39;s task running. Tool tabs such as Files and Terminal are unaffected.</p><p>Agent operations and messages from other sessions appear in the <a href="./conversation">Agent collaboration</a> group inside the work process. The group does not provide session shortcuts. To view a target session, send a message, or stop its run, open it from the session list or 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&#39;s available public information, which can be truncated; older Nodes may provide fewer details.</p><p>A regular work session must execute in the selected Workspace&#39;s valid root or a subdirectory. An independently registered Git worktree uses its own Workspace. Node rejects new execution if the directory disappears, the registered root is replaced, or a link escapes the Workspace; it does not silently switch directories. If queued messages are paused for this reason, restore a valid directory and use <strong>Resume</strong> in the queue. Messages and attachments are retained and can still be removed through the existing queue controls. This check does not make work mode a host filesystem sandbox or change hosted-conversation isolation.</p><p>When there is no session to restore, the main work area shows a new session draft, even if the list contains previous sessions. Start typing or select an existing session from the list. A new session is created only when its first message is accepted. On supported Nodes, selecting <strong>New Session</strong> or using its shortcut switches the list to Main Sessions. Manually switching groups afterward does not change the Composer draft.</p><p>The session list initially loads up to 30 sessions. Scrolling near the bottom automatically loads up to 30 more; search results continue in the same way. New sessions remain visible in the current list. A small ring marks the pending page. A failure preserves the loaded sessions and pauses automatic loading; select <strong>Failed to load. Retry</strong> at the bottom to continue. Retrying shows only the ring.</p><p>An initial or earlier-history load failure does not trigger repeated automatic requests. Select <strong>Failed to load. Retry</strong> in the conversation to read again; loading and retrying show only a ring. The same failure does not also produce a popup. The retry control&#39;s supplementary hint retains available error codes, details, and request identifiers. Established realtime subscriptions have bounded recovery, and reconnecting the page rebuilds subscriptions. These read or subscription recoveries never rerun an Agent task.</p><p>A conversation turn can contain several collapsible <strong>Work processes</strong>. Public reasoning text, tool calls, and file operations appear in their actual order; Agent replies, approvals, and questions remain outside these groups. The active process opens by default and collapses when finished; your manual expansion or collapse takes precedence. Missing public reasoning does not create an empty card, and reasoning text is not an execution status. File details still open in the existing dialog.</p><p>A reasoning preview appears above each process status row and in collapsed reasoning rows. It uses the latest valid public reasoning record within the corresponding scope, whether a summary or visible content, and extracts the first clause of its first non-empty line after removing leading heading or bold formatting. An older summary does not override later reasoning. Long previews use a single-line ellipsis according to the available width. Expand reasoning to read the full original text; a preview does not indicate execution status.</p><p>Scroll upward to the top of the conversation to load earlier messages. Earlier content is inserted above the existing messages while preserving your current message and its position in the viewport, without jumping to the start of the new page. Continue scrolling upward to read the earlier messages. If the top history marker remains in the viewport after the initial load, one additional page loads automatically while preserving your reading position; this does not continue through the entire history. No load button appears while idle, and loading or retrying shows only a small ring. After a failure, select <strong>Failed to load. Retry</strong> without clearing the messages already loaded. Once all history is loaded, no loading control or beginning-of-conversation message appears. <strong>Sending</strong> means the message is being submitted, not that the Agent has started. Activity comes from Node; when no specific action is available, the display says <strong>Running</strong> without inventing a reasoning summary. Run duration uses its start and completion times, including waits and continuation within that Run. Missing reliable timestamps hide the duration; a new Run after a Node restart starts a new clock.</p><p>Use the session list to reopen, rename, pin, reorder, or delete sessions. On supported Nodes, title search 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&#39;s More menu to save multiline instructions of up to 20,000 characters. Leave it blank and save to clear it. The setting belongs only to that session and survives reopening or a Node restart. It is appended after the sender&#39;s shared and Agent-specific personal instructions, without replacing account settings or appearing as an ordinary message.</p><p>Changes do not interrupt the current execution. They apply from the next execution, including queued messages, Goal continuation, and messages sent to that session through marctl. You can also <a href="./../operations/marctl#persistent-instructions-and-approvals">read, set, or clear the prompt with marctl</a>. Clearing stops future injection; it does not remove old instructions already in the Agent&#39;s conversation history. Start a new session if you need to isolate old instructions completely. Hosted conversations do not offer this setting.</p><p>Sessions discovered from an external Agent appear normally. Their first message automatically validates and activates a safe continuation path; if validation fails, no Run is created.</p><p>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><p>A new MAR Agent session uses the first message as a temporary title. The session list and header update as soon as the automatic title is ready, even while the task is still running. A manual title is never overwritten by an automatic title.</p><h2 id="clean-up-sessions" tabindex="-1">Clean up sessions <a class="header-anchor" href="#clean-up-sessions" aria-label="Permalink to &quot;Clean up sessions&quot;">​</a></h2><p>Choose <strong>Clean up sessions</strong> from the current Workspace session list&#39;s More menu, enter 1–365 days (30 by default), and confirm. Sessions whose activity predates the selected cutoff and sessions 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 &quot;Share a work session&quot;">​</a></h2><p>Choose <strong>Share conversation</strong> from a regular work session&#39;s More menu. Expiration is optional; leaving it blank creates a permanent link. Creation shows share text containing the link and a random six-digit password. Choose <strong>Copy</strong> to copy the entire text. Existing records appear below, newest first; you can copy the same complete share text at any time, open their links, or delete them. For older records without a recoverable password, enter the original password once when copying. After verification, future copies work directly; the original link and password remain unchanged.</p><p>The header shows the session title and Workspace name. Visitors enter the password to open a standalone chat without a Console account. Access credentials, the anonymous visitor identity, and the name requested before the first message are saved in that browser and restored after refresh or reopening. The Participants panel lists the sharer first, followed by participants viewing any share link for the same session. Anonymous identity and name are shared across links in the same browser. Use the edit button beside your own visitor name to change it across open share pages. Canceling leaves the name unchanged and does not send a message. Visitor names match message authors and are never merged or hidden by Console sign-in; unnamed visitors appear anonymously. The fixed sharer entry shows the account nickname, falling back to the username. The sharer’s green dot appears only while they have a share page open and disappears when their last page closes. Display names do not grant authorization.</p><p>Visitors see the original session&#39;s entire history and future messages. They use its Agent and settings as the sharer, including messages, attachments, file and skill references, queuing, insertion, and interruption. Concurrent control uses the same shared state and mutual exclusion as opening the session in multiple browsers. The share page hides the model, reasoning effort, access mode, and context usage and its tooltip. There is no input prediction or Workspace management area. File links still open read-only previews, including separate file windows and Markdown or HTML rendering. Read-only mode does not prevent HTML scripts from running. Only preview trusted files; see <a href="./files#steps">HTML preview risks</a>.</p><p><strong>Give the link and password only to people you trust.</strong> Signing out as the sharer does not revoke a link; delete its record to stop access. Deletion or expiration immediately disables that link&#39;s chat pages and rejects further reads and messages, without stopping already accepted tasks or retracting content visitors have read. Other links and the original Console remain available.</p><h2 id="automatic-continuation-after-orderly-shutdown" tabindex="-1">Automatic continuation after orderly shutdown <a class="header-anchor" href="#automatic-continuation-after-orderly-shutdown" aria-label="Permalink to &quot;Automatic continuation after orderly shutdown&quot;">​</a></h2><p>In regular Workspaces, MAR Agent can continue after Node receives <code>SIGTERM</code> or <code>SIGINT</code>, finishes an orderly shutdown, and starts again. A later manual start after a normal stop also qualifies. After reconnecting to Server, Node rechecks current user and model authorization before restoring unfinished work, Goals, and the message queue in the same session. A previously paused queue stays paused. New messages and queue changes are temporarily blocked for that session during recovery.</p><p>Ordinary runs show a “System restart continuation” history entry, not a message attributed to manual user input. An active Goal gets one Goal continuation without an additional ordinary continuation. The prompt asks the Agent to inspect the current state after a system restart before continuing. Old tool processes, terminals, approvals, questions, and background cells are not restored, and external actions are not guaranteed to happen exactly once. Queued inputs are prepared again in their original order, including their attachments; old attachment preview URLs are not guaranteed to remain valid.</p><p>Unexpected exits, forced kills, power loss, failed handoffs, other Agents, hosted conversations, and administrator-controlled upgrades are excluded. Lost access, unavailable models, or inputs that cannot be rebuilt never bypass validation; check Node diagnostics and take over manually. A handoff is consumed once, not retried on every startup.</p><h2 id="navigation" tabindex="-1">Navigation <a class="header-anchor" href="#navigation" aria-label="Permalink to &quot;Navigation&quot;">​</a></h2><p>The session list, Recent Sessions, and Quick Open open sessions in Main. Clicking a notification in the panel, a browser system notification, or an <a href="./navigation">unread Workspace tab</a> keeps an already selected Main session in place. If the session is open only in Aside and Aside can be shown, the jump activates it there without replacing your Main session. On desktop, a brief outline shows where it opened. If the session is not open or Aside cannot be shown, it opens in Main without closing any existing Aside tab. Explicit <strong>Open in Main</strong> and <strong>Open in Aside</strong> actions still use the pane you choose.</p><p>Clicking the selected Workspace tree entry or jumping to an already open session does not explicitly refresh content or reset your reading position. Repeated selections also leave an in-progress load alone. Use the corresponding refresh action when you need updated data.</p><h2 id="scheduled-tasks" tabindex="-1">Scheduled tasks <a class="header-anchor" href="#scheduled-tasks" aria-label="Permalink to &quot;Scheduled tasks&quot;">​</a></h2><p>Open the calendar-with-check icon beside <strong>Work</strong> to see <strong>Scheduled tasks</strong>, or open it from an existing session&#39;s menu to filter the same page to that session. <strong>My schedules</strong> shows tasks you 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&#39;s tasks and read their trigger records. No installation is needed. An update requires the task and its current revision; edits to another user&#39;s task become proposals 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>',52)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
@@ -1 +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-28T00: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("",51)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
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-29T00: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("",52)])])}const g=s(a,[["render",i]]);export{u as __pageData,g as default};
@@ -4,7 +4,7 @@ import{_ as s,o as a,c as i,a3 as o}from"./chunks/framework.BHjrhdiC.js";const k
4
4
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> mode: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;all&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
5
5
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> waitFor: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;completion&#39;</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> 必须包含 1 至 8 个不同 ID,单目标使用 <code>agentIds: [&#39;id&#39;]</code>,不再接受 <code>agentId</code>。<code>mode: &#39;any&#39;</code>(默认)等待任意一个满足条件,<code>mode: &#39;all&#39;</code> 等待全部;<code>waitFor: &#39;completion&#39;</code>(默认)等待终态,<code>waitFor: &#39;message&#39;</code> 等待每个目标的最新未读公开消息或终态,普通工具活动不会唤醒。失败、取消和中断也属于终态,不代表任务成功。显式集合共用一次超时,返回按输入顺序排列的 <code>agents</code>、集合 <code>waitOutcome</code> 和尚未满足条件的 <code>pendingAgentIds</code>;超时可以返回部分结果。<code>waitMs=0</code> 只返回状态快照,不读取或消费未读消息。超时或取消等待不会停止子任务。省略目标仍只从直接子会话中选择,返回的目标也放在 <code>agents</code> 数组中;marctl 的单目标命令不变。</p><p>原生协作工具的直接返回与 Code Mode <code>data</code> 使用相同的精简结果:保留目标身份、实际操作状态、等待取得的新消息或终态结论,以及部分失败、未知结果和错误码,不提供内部审计回执、队列项 ID 或内部执行关联 ID。<code>agent_start</code>、<code>agent_send</code> 的 <code>goal</code> 是跨执行持续推进的目标,区别于本次消息;省略或 <code>null</code> 保持现状,<code>objective</code> 设置或替换目标,<code>clear</code> 清除目标但不停止当前执行。</p><h3 id="协作白板" tabindex="-1">协作白板 <a class="header-anchor" href="#协作白板" aria-label="Permalink to &quot;协作白板&quot;">​</a></h3><p>每个 Agent 始终保留自己的协作白板,并可额外关注一块。Agent 拉起其他 Agent 时,新成员保留自有板,并沿用发起方关注的板;若发起方未关注其他板,则传递发起方的自有板。已脱钩的关注也会传递,但恢复前不会提供内容或允许写入。收到消息后开始工作的空闲 Agent 也适用。给正在工作的 Agent 发消息不会切换它关注的板。</p><p><code>boardAgentId</code> 就是板主的 Agent ID。<code>read</code> 可按该 ID 读取同一工作区的协作白板,即使板主空闲也能查看;省略 ID 则读取自有板。读取返回内容和最近最多十条变更摘要,不改变关注。<code>join</code> 用活动协作白板的 <code>boardAgentId</code> 替换额外关注;用 <code>whiteboard({ action: &#39;leave&#39; })</code> 取消额外关注,不影响自有板。<code>update</code> 可指定自有板或正在关注的板。</p><p>自有板和关注的板都会自动提供。编辑可唤醒休眠中的订阅者,不会启动空闲会话。关注的板在板主本轮工作结束后停止自动更新,但仍可按 ID 读取,不影响自有板。板主再次活动时,可以重新加入,或请板主从新一轮工作发消息恢复关注。</p><h3 id="web-搜索与抓取" tabindex="-1">Web 搜索与抓取 <a class="header-anchor" href="#web-搜索与抓取" aria-label="Permalink to &quot;Web 搜索与抓取&quot;">​</a></h3><p>开启 Hosted Web Search 时,Auto 与 Full access 均使用所选模型服务的原生托管搜索,不需要客户端 permission 声明,也不同时提供自托管搜索;关闭时使用 Server Compose 内置 SearXNG。Web Fetch 由 Node 本地直连执行,不读取模型凭据,也不会继承 Codex 凭据配置的 SOCKS5 代理;它可访问 Node 网络可达的任意 HTTP/HTTPS IP 或域名(包括内网),并默认接受自签名或其他不受信任的 HTTPS 证书。如需严格校验证书,在 Node 服务环境设置 <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code>。</p><p>Web 工具由 Node 宿主按本次执行注入,不是 Agent SDK 的内置网络能力。<code>web_search</code> 返回有界的搜索片段;<code>web_fetch</code> 通过 Chromium 打开 URL,或使用页面引用继续阅读、按字面文本查找。HTML 转换为有界 Markdown 阅读窗口,引用和续读游标显示在工具结果中;引用仅在当前会话可用,失效后需重新打开 URL。网页内容是不可信的外部数据。每个 Node 最多同时抓取 4 个页面;容量满时按先来先服务排队,不立即报繁忙。排队、浏览器轮换和抓取共享 30 秒总超时,超时后才返回超时错误;取消会移除对应等待请求。HTTP 错误、网络失败、超时或不可读页面只在该次请求结果中报告,不因一个网址失败取消其他独立请求;参数、权限、执行取消和运行环境异常仍按调用错误处理。共享 Chromium 空闲 30 分钟后关闭,运行满一小时后等待现有抓取结束并关闭;轮换期间的新请求也排队,之后按需重新启动。子 Agent 的搜索目录按其实际选择的模型投影,不沿用父模型的选择。浏览器不共享用户登录态或 Cookie,不提供点击、登录、任意脚本和下载接口,也不自动回退到其他抓取后端。托管对话的 <code>NONE</code> 网络策略不提供两种 Web 工具;允许联网的托管对话始终严格校验 HTTPS 证书。</p><p>Node 安装/升级时自动准备 Chromium,启动和抓取时不下载。浏览器不可用时检查服务账号的缓存与 Linux 系统库,详见<a href="./../deployment/node-installation#web-fetch-浏览器准备">安装与注册 Node</a>。</p><h2 id="图片生成配置与使用" tabindex="-1">图片生成配置与使用 <a class="header-anchor" href="#图片生成配置与使用" aria-label="Permalink to &quot;图片生成配置与使用&quot;">​</a></h2><h3 id="配置图片模型" tabindex="-1">配置图片模型 <a class="header-anchor" href="#配置图片模型" aria-label="Permalink to &quot;配置图片模型&quot;">​</a></h3><p>每个用户都可在独立的“图片生成”Tab 添加、启停、编辑或删除自己的个人图片模型;组织图片模型由有权管理员维护和授权。</p><p>选择“调整排序”后拖动排序手柄改变优先级,点击“保存排序”后生效;“取消”会恢复原顺序,排序期间不编辑其他配置。</p><p>Codex 配置凭据和模型 ID;火山方舟配置 API Key、模型 ID 和完整的图片生成接口 URL(文生图和图生图共用)。模型 ID 和 URL 不提供默认值,须手动填写;URL 使用 HTTPS,不包含认证信息、查询参数或 fragment。已有 Ark 配置需补齐 URL 后才能使用。Ark Key 保存后不回显,编辑同一项时留空保留。</p><h3 id="请求生成或编辑图片" tabindex="-1">请求生成或编辑图片 <a class="header-anchor" href="#请求生成或编辑图片" aria-label="Permalink to &quot;请求生成或编辑图片&quot;">​</a></h3><p>系统管理员保存图片模型目录后,每个 Run 按顺序只选择首个已启用且当前用户可用的图片模型:Codex 要求用户位于凭据作用域且凭据无需重新登录,Ark 要求已配置 Key。不可用项会跳过;全部不可用时仍可进行文本任务。配置变化从下一 Run 生效,请求失败不会自动切换供应商。无论当前使用 Codex、OpenAI Responses、Anthropic Messages 或纯文本 coding 模型,只提供所选 Provider 对应的 <code>codex_image_gen</code> / <code>codex-imagegen</code> 或 <code>byted_ark_image_gen</code> / <code>byted_ark-imagegen</code> 工具与 Node 提供的 Skill,不并列启用两套,仅根 Agent 可用,Subagent 不获得这些工具。两者支持文生图和参考图编辑;Ark 固定单图、2K、PNG,不支持组图。你可以直接请求生成或编辑图片,无需安装 Skill 或指定其名称。Agent 的提示要求先加载该 Skill,再进行你请求或明确授权的图片操作;不应仅因任务可以配图就主动增加生图工作。Skill 最初只以名称和用途摘要进入上下文,完整指导按需加载,不会在 HOME 或 Workspace 创建技能文件,也不提供额外的 Python CLI 或 API Key 备用流程。</p><p>Codex 可请求透明背景和简单循环 GIF:GIF 为 2–16 帧,每帧 20–2000 毫秒,默认 9 帧、200 毫秒;单次保存一个 PNG 或 GIF,实际支持取决于所配置的模型。你可以在请求中直接说明透明背景或动画需求。GIF 原件保留动画;静态缩略图不能用于判断完整动画。</p><h2 id="code-mode-工具编排" tabindex="-1">Code Mode 工具编排 <a class="header-anchor" href="#code-mode-工具编排" aria-label="Permalink to &quot;Code Mode 工具编排&quot;">​</a></h2><p>JSON 工具调用中,<code>code_exec</code> 使用 <code>code</code> 传入 JavaScript 源码,例如 <code>{&quot;code&quot;:&quot;observe.text(1);&quot;}</code>;<code>apply_patch</code> 使用 <code>input</code> 传入完整 Patch 文本,<code>tools.apply_patch({ input: patchText })</code> 也采用同一字段,新调用不再接受 <code>patch</code> 字段。工具以 freeform 形式提供时,直接发送正文,不添加 JSON 包装。字段缺失或类型错误会指出缺失字段或预期与实际类型,不回显参数值。历史回放保留已完成工具调用的原始参数,不会再次执行这些调用。</p><p>六个 Agent 协作工具均支持直接调用和 Code Mode 内的 programmatic 调用。启用 Code Mode Only 后,它们通过 cell 使用,不额外保留双入口展示;子 Agent 自身按所选模型的配置使用 Code Mode。</p><p>Code Mode 默认关闭。只有在模型配置中开启 <strong>Code Mode</strong> 且 Host 提供执行能力时,MAR Agent 才向模型提供受限 JavaScript 编排入口;主 Agent 和选择其他模型的 Subagent 分别使用各自模型的开关。协议类型不会自动决定支持情况。模型可在一段代码中组合多个允许的工具调用并只返回需要的结果,以减少中间模型往返。 开启后默认采用 <strong>Code Mode Only</strong>:支持编排的工具(包括单工具操作)默认经 <code>code_exec</code> 调用,direct-only 工具及明确支持双边展示的工具保留直接入口;关闭时恢复普通直接调用。Only 控制模型可见入口和调用引导,不新增权限限制;运行时仍按工具调用权限、发现状态和 Host 策略处理。修改配置从下一次执行生效,不改变正在运行的执行。</p><p>开启 Code Mode 时,模型可直接调用 <code>exec</code> 或在 cell 内调用 <code>tools.exec</code> 启动命令;可按 <code>processId</code> 直接调用 <code>exec_wait</code> 或在 cell 内调用 <code>tools.exec_wait</code> 等待同一进程。同一进程上实际开始的新 <code>poll</code> 接管旧 <code>poll</code> 的实时输出。旧调用正常返回 <code>waitOutcome: interrupted</code>、<code>reason: superseded</code>,不读取输出增量,也不终止进程或 cell。<code>code_exec_wait</code> 仍按 <code>cellId</code> 等待或取消 cell 本身。<code>apply_patch</code> 也保留双入口。</p><p>每个 cell 使用全新的 QuickJS WASM Runtime,由 Host 管理独立工作进程。支持顶层 <code>await</code> 和 <code>Promise.all</code>,不提供 Node 全局对象、模块导入、原生文件/网络 API 或 <code>console.*</code>。使用 <code>observe.result(result)</code> 登记未经修改的完整工具结果或捕获的工具错误;对派生值使用 <code>observe.text(value)</code>,对图片使用 <code>observe.image(value)</code>。观察只选择传给模型的证据,不代表已经读取或检查;没有 <code>out</code> 别名。文件、命令、网络等操作只能经显式允许 <code>programmatic</code> 的 <code>tools.NAME(input)</code> 调用,并保留工具自身的权限和安全检查。工具结果是统一 envelope,原始文件文本取 <code>result.data.results[0].text</code>,而不是带行号展示的 <code>content</code>。</p><p><code>code_exec</code>、<code>code_exec_wait</code>、<code>question</code> 和仅限直调的工具不能在 cell 内调用。普通外部 MCP 默认支持程序化调用,明确限定直调的工具仍走直调。开启 Code Mode 时用 <code>tools.tool_search</code> 搜索延迟加载的工具;SDK 单独提供匹配定义,无需观察结果,也不会改变当前 cell 的工具列表。发现的工具从下一轮模型请求起可用。关闭 Code Mode 时直接调用 <code>tool_search</code>。所有工具调用必须等待完成。语言隔离不替代 Host 的文件权限、进程与操作系统沙箱策略,也不使有写入权限的工具变为只读。输入和文本输出各限 1 MiB,每 cell 最多 128 次工具调用;同步 JavaScript 执行预算为 120 秒,异步工具等待不消耗该预算,cell 不设固定墙钟总时限。取消、超时或结果超限可能发生在部分操作完成之后;失败不会回滚已完成修改。</p><p>启动后台进程后,使用返回的 <code>processId</code> 调用 <code>exec_wait</code>,默认等待,也支持 <code>action: &quot;write&quot;</code> 与 <code>action: &quot;cancel&quot;</code>。cell 内等待仍遵守工具自身超时及 Host 策略。<code>exec</code> 不接受旧的 <code>action</code> 参数。首次等待默认 10 秒,<code>exec_wait</code> 的等待默认 60 秒;两者最多等待 300 秒。显式传入低于 10000 ms 的 <code>yieldMs</code>(包括 0)按 10 秒等待窗口处理,进程提前结束则提前返回。取消等待不会终止进程,等待窗口也不会延长执行总超时。</p><p>后台 cell 属于 Session 温资源。<code>code_exec</code> 首次默认等待 30 秒,<code>code_exec_wait</code> 默认等待 10 秒;显式等待值不改变内部工具的等待窗口。<code>cell.yield_control()</code> 只结束当前等待并返回已有输出,JS 继续后台执行;也可通过首行 <code>// @options: {&quot;yieldMs&quot;:30000}</code> 设置首次等待窗口;输出预算由 Runtime 固定控制。返回 <code>cellId</code> 后直接调用 <code>code_exec_wait</code> 获取增量或终态,<code>action</code> 默认 <code>poll</code> 等待,传 <code>action: &quot;cancel&quot;</code> 才显式终止。当前 Execution 结束或取消不会终止已登记的 cell;后续 Execution 可从保留资源提示接管。Session 资源回收、超时或 Host 退出会终止 cell,进程重启不恢复 JS 执行状态。终态结果仅有界缓存,重复领取带 <code>cached: true</code>。</p><p>后续 Execution 可以等待后台 cell 并收取结果,但不会把自己的协作身份授予该 cell。原 Execution 结束或取消后,旧 cell 发起的新 <code>agent_*</code>、<code>whiteboard</code> 调用和新的工具审批请求会被拒绝。</p><p>临时资源句柄带类型前缀:<code>cellId</code> 为 <code>c_</code> 加 12 位小写十六进制字符,<code>processId</code> 为 <code>p_</code> 加 12 位小写十六进制字符。请完整原样使用工具返回的 ID,不要截断或互换。cell 仅通过 <code>code_exec_wait</code> 接管,进程仅通过 <code>exec_wait</code> 控制;传错类型会返回 <code>MAR_AGENT_RESOURCE_HANDLE_TYPE_MISMATCH</code> 和对应工具提示,不会自动转调。前缀不代表资源仍存活或有权访问,原有 Session 归属和清理规则不变。</p><p>进程等待会在窗口内聚合 stdout/stderr,直到进程完成输出收尾或等待到期;新日志不会提前结束模型等待。Web 命令卡可实时显示有界日志预览,不增加模型往返,也不消费最终工具输出。取消与用户补充仍可提前结束等待,进程继续运行。</p><p>Web 会话将整次 <code>code_exec</code> 展示为命令卡,保留原始 JavaScript 和本次调用输出,不拆解内部工具;内部进程的实时日志在外层代码卡上显示,cell 返回 running 后由同次执行的活动等待卡接续显示,最终以本次正式工具结果为准。<code>code_exec_wait</code> 同样以命令卡显示等待或取消结果;命令卡返回不表示 yield 后的后台 cell 已结束。</p><h2 id="本地-sdk-与-cli" tabindex="-1">本地 SDK 与 CLI <a class="header-anchor" href="#本地-sdk-与-cli" aria-label="Permalink to &quot;本地 SDK 与 CLI&quot;">​</a></h2><p><code>@myagentroam/agent</code> 可作为 TypeScript SDK 直接嵌入,也提供唯一命令 <code>maragent</code>。CLI 使用当前用户 HOME 下的 MAR 自有模型目录,不读取 Server 模型配置,也不会自动发现 Claude、Codex 或 OpenCode 配置。模型可配置为静态 API Key 或 <code>CODEX_AUTH_FILE</code> 凭据来源;仅当用户为当前命令显式传入 <code>--codex-auth-file PATH</code> 时,CLI 才只读加载该 Codex ChatGPT OAuth 文件。文件路径和 Token 不会写入模型目录、Session、日志或事件,CLI 也不会刷新或回写该文件。使用 <code>maragent --help</code> 查看运行、恢复、会话和模型管理命令。</p><p>独立使用时先安装包,再用 <code>maragent models list</code> 检查当前账号的本地模型目录;模型登记与运行选项以 <code>maragent models --help</code> 和 <code>maragent --help</code> 为准。CLI 的命令和 Agent 工具以运行账号权限执行,先选用专用账号和可信工作目录,不要在生产目录试运行。</p><p>独立 CLI 默认自动生成新会话标题,可用全局选项 <code>--no-auto-title</code> 关闭,或用 <code>--auto-title</code> 显式开启;恢复已有会话不重新生成。标题请求可能产生额外用量。<code>--format stream-json</code> 的 <code>model.usage</code> 事件提供按请求的原生用量快照,区分 conversation、compact 和 title;同一 recordId 只取最新 revision,不与 <code>usage.updated</code> 重复相加,缺失用量仍为未知。收到 SIGTERM 时,CLI 取消当前执行和标题请求并释放自己的会话资源,以 143 退出;SIGINT 取消以 130 退出。</p><p>独立 CLI 默认加载 Subagent 扩展。新模型默认可用于对话,但不自动用于子会话;使用 <code>maragent models edit &lt;id&gt; --subagent-model</code> 显式启用,<code>--no-subagent-model</code> 关闭。子会话模型必须同时启用 conversation 和 subagent,用途可通过 <code>models list</code> 查看,也可在 <code>models add/edit</code> 中使用 <code>--conversation-model</code> 或 <code>--no-conversation-model</code> 设置。</p><p>独立 CLI 的模型工具 <code>agent_start</code> 使用 <code>content</code> 与可选 <code>effort</code>;<code>agent_wait</code> 仅使用 <code>agentIds</code>,单目标也传数组,并统一返回 <code>agents</code> 数组。正数 <code>waitMs</code> 按实际传入值等待,没有隐含下限;<code>0</code> 只读取快照、不消费未读。<code>agent_stop</code> 只接受目标 <code>agentId</code>,停止不会将尚未交付的报告标为已读。SDK 原生接口仍使用自身的 <code>prompt</code>、<code>reasoningEffort</code> 与等待参数;独立扩展的角色、模型发现及 append/replace 投递语义保持不变。</p><p>SDK 最小示例使用一个兼容 OpenAI Responses 的端点。先按供应商的真实模型能力调整 URL、模型 ID 和 token 限制;设置 <code>MODEL_API_KEY</code>、<code>MODEL_BASE_URL</code>、<code>MODEL_ID</code>、<code>AGENT_HOME</code> 与 <code>WORKSPACE</code> 后运行。<code>session.run</code> 会发起真实模型请求,也可能执行工具;仅在有权限的隔离环境使用,密钥不要写入源文件或提交。</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;"> &#39;@myagentroam/agent&#39;</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> 必须包含 1 至 8 个不同 ID,单目标使用 <code>agentIds: [&#39;id&#39;]</code>,不再接受 <code>agentId</code>。<code>mode: &#39;any&#39;</code>(默认)等待任意一个满足条件,<code>mode: &#39;all&#39;</code> 等待全部;<code>waitFor: &#39;completion&#39;</code>(默认)等待终态,<code>waitFor: &#39;message&#39;</code> 等待每个目标的最新未读公开消息或终态,普通工具活动不会唤醒。失败、取消和中断也属于终态,不代表任务成功。显式集合共用一次超时,返回按输入顺序排列的 <code>agents</code>、集合 <code>waitOutcome</code> 和尚未满足条件的 <code>pendingAgentIds</code>;超时可以返回部分结果。<code>waitMs=0</code> 只返回状态快照,不读取或消费未读消息。超时或取消等待不会停止子任务。省略目标仍只从直接子会话中选择,返回的目标也放在 <code>agents</code> 数组中;marctl 的单目标命令不变。</p><p>原生协作工具的直接返回与 Code Mode <code>data</code> 使用相同的精简结果:保留目标身份、实际操作状态、等待取得的新消息或终态结论,以及部分失败、未知结果和错误码,不提供内部审计回执、队列项 ID 或内部执行关联 ID。<code>agent_start</code>、<code>agent_send</code> 的 <code>goal</code> 是跨执行持续推进的目标,区别于本次消息;省略或 <code>null</code> 保持现状,<code>objective</code> 设置或替换目标,<code>clear</code> 清除目标但不停止当前执行。</p><h3 id="协作白板" tabindex="-1">协作白板 <a class="header-anchor" href="#协作白板" aria-label="Permalink to &quot;协作白板&quot;">​</a></h3><p>每个 Agent 始终保留自己的协作白板,并可额外关注一块。Agent 拉起其他 Agent 时,新成员保留自有板,并沿用发起方关注的板;若发起方未关注其他板,则传递发起方的自有板。已脱钩的关注也会传递,但恢复前不会提供内容或允许写入。收到消息后开始工作的空闲 Agent 也适用。给正在工作的 Agent 发消息不会切换它关注的板。</p><p><code>boardAgentId</code> 就是板主的 Agent ID。<code>read</code> 可按该 ID 读取同一工作区的协作白板,即使板主空闲也能查看;省略 ID 则读取自有板。读取返回内容和最近最多十条变更摘要,不改变关注。<code>join</code> 用活动协作白板的 <code>boardAgentId</code> 替换额外关注;用 <code>whiteboard({ action: &#39;leave&#39; })</code> 取消额外关注,不影响自有板。<code>update</code> 可指定自有板或正在关注的板。</p><p>自有板和关注的板都会自动提供。编辑可唤醒休眠中的订阅者,不会启动空闲会话。关注的板在板主本轮工作结束后停止自动更新,但仍可按 ID 读取,不影响自有板。板主再次活动时,可以重新加入,或请板主从新一轮工作发消息恢复关注。</p><h3 id="web-搜索与抓取" tabindex="-1">Web 搜索与抓取 <a class="header-anchor" href="#web-搜索与抓取" aria-label="Permalink to &quot;Web 搜索与抓取&quot;">​</a></h3><p>开启 Hosted Web Search 时,Auto 与 Full access 均使用所选模型服务的原生托管搜索,不需要客户端 permission 声明,也不同时提供自托管搜索;关闭时使用 Server Compose 内置 SearXNG。Web Fetch 由 Node 本地直连执行,不读取模型凭据,也不会继承 Codex 凭据配置的 SOCKS5 代理;它可访问 Node 网络可达的任意 HTTP/HTTPS IP 或域名(包括内网),并默认接受自签名或其他不受信任的 HTTPS 证书。如需严格校验证书,在 Node 服务环境设置 <code>MAR_AGENT_WEB_FETCH_ALLOW_UNTRUSTED_TLS=0</code>。</p><p>Web 工具由 Node 宿主按本次执行注入,不是 Agent SDK 的内置网络能力。<code>web_search</code> 返回有界的搜索片段;<code>web_fetch</code> 通过 Chromium 打开 URL,或使用页面引用继续阅读、按字面文本查找。HTML 转换为有界 Markdown 阅读窗口,引用和续读游标显示在工具结果中;引用仅在当前会话可用,失效后需重新打开 URL。网页内容是不可信的外部数据。每个 Node 最多同时抓取 4 个页面;容量满时按先来先服务排队,不立即报繁忙。排队、浏览器轮换和抓取共享 30 秒总超时,超时后才返回超时错误;取消会移除对应等待请求。HTTP 错误、网络失败、超时或不可读页面只在该次请求结果中报告,不因一个网址失败取消其他独立请求;参数、权限、执行取消和运行环境异常仍按调用错误处理。共享 Chromium 空闲 30 分钟后关闭,运行满一小时后等待现有抓取结束并关闭;轮换期间的新请求也排队,之后按需重新启动。子 Agent 的搜索目录按其实际选择的模型投影,不沿用父模型的选择。浏览器不共享用户登录态或 Cookie,不提供点击、登录、任意脚本和下载接口,也不自动回退到其他抓取后端。托管对话的 <code>NONE</code> 网络策略不提供两种 Web 工具;允许联网的托管对话始终严格校验 HTTPS 证书。</p><p>Node 安装/升级时自动准备 Chromium,启动和抓取时不下载。浏览器不可用时检查服务账号的缓存与 Linux 系统库,详见<a href="./../deployment/node-installation#web-fetch-浏览器准备">安装与注册 Node</a>。</p><h2 id="图片生成配置与使用" tabindex="-1">图片生成配置与使用 <a class="header-anchor" href="#图片生成配置与使用" aria-label="Permalink to &quot;图片生成配置与使用&quot;">​</a></h2><h3 id="配置图片模型" tabindex="-1">配置图片模型 <a class="header-anchor" href="#配置图片模型" aria-label="Permalink to &quot;配置图片模型&quot;">​</a></h3><p>每个用户都可在独立的“图片生成”Tab 添加、启停、编辑或删除自己的个人图片模型;组织图片模型由有权管理员维护和授权。</p><p>选择“调整排序”后拖动排序手柄改变优先级,点击“保存排序”后生效;“取消”会恢复原顺序,排序期间不编辑其他配置。</p><p>Codex 配置凭据和模型 ID;火山方舟配置 API Key、模型 ID 和完整的图片生成接口 URL(文生图和图生图共用)。模型 ID 和 URL 不提供默认值,须手动填写;URL 使用 HTTPS,不包含认证信息、查询参数或 fragment。已有 Ark 配置需补齐 URL 后才能使用。Ark Key 保存后不回显,编辑同一项时留空保留。</p><h3 id="请求生成或编辑图片" tabindex="-1">请求生成或编辑图片 <a class="header-anchor" href="#请求生成或编辑图片" aria-label="Permalink to &quot;请求生成或编辑图片&quot;">​</a></h3><p>系统管理员保存图片模型目录后,每个 Run 按顺序只选择首个已启用且当前用户可用的图片模型:Codex 要求用户位于凭据作用域且凭据无需重新登录,Ark 要求已配置 Key。不可用项会跳过;全部不可用时仍可进行文本任务。配置变化从下一 Run 生效,请求失败不会自动切换供应商。无论当前使用 Codex、OpenAI Responses、Anthropic Messages 或纯文本 coding 模型,只提供所选 Provider 对应的 <code>codex_image_gen</code> / <code>codex-imagegen</code> 或 <code>byted_ark_image_gen</code> / <code>byted_ark-imagegen</code> 工具与 Node 提供的 Skill,不并列启用两套,仅根 Agent 可用,Subagent 不获得这些工具。两者支持文生图和参考图编辑;Ark 固定单图、2K、PNG,不支持组图。你可以直接请求生成或编辑图片,无需安装 Skill 或指定其名称。Agent 的提示要求先加载该 Skill,再进行你请求或明确授权的图片操作;不应仅因任务可以配图就主动增加生图工作。Skill 最初只以名称和用途摘要进入上下文,完整指导按需加载,不会在 HOME 或 Workspace 创建技能文件,也不提供额外的 Python CLI 或 API Key 备用流程。</p><p>Codex 可请求透明背景和简单循环 GIF:GIF 为 2–16 帧,每帧 20–2000 毫秒,默认 9 帧、200 毫秒;单次保存一个 PNG 或 GIF,实际支持取决于所配置的模型。你可以在请求中直接说明透明背景或动画需求。GIF 原件保留动画;静态缩略图不能用于判断完整动画。</p><h2 id="code-mode-工具编排" tabindex="-1">Code Mode 工具编排 <a class="header-anchor" href="#code-mode-工具编排" aria-label="Permalink to &quot;Code Mode 工具编排&quot;">​</a></h2><p>JSON 工具调用中,<code>code_exec</code> 使用 <code>code</code> 传入 JavaScript 源码,例如 <code>{&quot;code&quot;:&quot;observe.text(1);&quot;}</code>;<code>apply_patch</code> 使用 <code>input</code> 传入完整 Patch 文本,<code>tools.apply_patch({ input: patchText })</code> 也采用同一字段,新调用不再接受 <code>patch</code> 字段。工具以 freeform 形式提供时,直接发送正文,不添加 JSON 包装。字段缺失或类型错误会指出缺失字段或预期与实际类型,不回显参数值。历史回放保留已完成工具调用的原始参数,不会再次执行这些调用。</p><p>六个 Agent 协作工具均支持直接调用和 Code Mode 内的 programmatic 调用。启用 Code Mode Only 后,它们通过 cell 使用,不额外保留双入口展示;子 Agent 自身按所选模型的配置使用 Code Mode。</p><p>Code Mode 默认关闭。只有在模型配置中开启 <strong>Code Mode</strong> 且 Host 提供执行能力时,MAR Agent 才向模型提供受限 JavaScript 编排入口;主 Agent 和选择其他模型的 Subagent 分别使用各自模型的开关。协议类型不会自动决定支持情况。模型可在一段代码中组合多个允许的工具调用并只返回需要的结果,以减少中间模型往返。 开启后默认采用 <strong>Code Mode Only</strong>:支持编排的工具(包括单工具操作)默认经 <code>code_exec</code> 调用,direct-only 工具及明确支持双边展示的工具保留直接入口;关闭时恢复普通直接调用。Only 控制模型可见入口和调用引导,不新增权限限制;运行时仍按工具调用权限、发现状态和 Host 策略处理。修改配置从下一次执行生效,不改变正在运行的执行。</p><p>开启 Code Mode 时,模型可直接调用 <code>exec</code> 或在 cell 内调用 <code>tools.exec</code> 启动命令;可按 <code>processId</code> 直接调用 <code>exec_wait</code> 或在 cell 内调用 <code>tools.exec_wait</code> 等待同一进程。同一进程上实际开始的新 <code>poll</code> 接管旧 <code>poll</code> 的实时输出。旧调用正常返回 <code>waitOutcome: interrupted</code>、<code>reason: superseded</code>,不读取输出增量,也不终止进程或 cell。<code>code_exec_wait</code> 仍按 <code>cellId</code> 等待或取消 cell 本身。<code>apply_patch</code> 也保留双入口。</p><p>每个 cell 使用全新的 QuickJS WASM Runtime,由 Host 管理独立工作进程。支持顶层 <code>await</code> 和 <code>Promise.all</code>,不提供 Node 全局对象、模块导入、原生文件/网络 API 或 <code>console.*</code>。使用 <code>observe.result(result)</code> 登记未经修改的完整工具结果或捕获的工具错误;对派生值使用 <code>observe.text(value)</code>,对图片使用 <code>observe.image(value)</code>。观察只选择传给模型的证据,不代表已经读取或检查;没有 <code>out</code> 别名。文件、命令、网络等操作只能经显式允许 <code>programmatic</code> 的 <code>tools.NAME(input)</code> 调用,并保留工具自身的权限和安全检查。工具结果是统一 envelope,原始文件文本取 <code>result.data.results[0].text</code>,而不是带行号展示的 <code>content</code>。</p><p><code>code_exec</code>、<code>code_exec_wait</code>、<code>question</code> 和仅限直调的工具不能在 cell 内调用。普通外部 MCP 默认支持程序化调用,明确限定直调的工具仍走直调。开启 Code Mode 时用 <code>tools.tool_search</code> 搜索延迟加载的工具;SDK 单独提供匹配定义,无需观察结果,也不会改变当前 cell 的工具列表。发现的工具从下一轮模型请求起可用。关闭 Code Mode 时直接调用 <code>tool_search</code>。所有工具调用必须等待完成。语言隔离不替代 Host 的文件权限、进程与操作系统沙箱策略,也不使有写入权限的工具变为只读。输入和文本输出各限 1 MiB,每 cell 最多 128 次工具调用;同步 JavaScript 执行预算为 120 秒,异步工具等待不消耗该预算,cell 不设固定墙钟总时限。取消、超时或结果超限可能发生在部分操作完成之后;失败不会回滚已完成修改。</p><p>启动后台进程后,使用返回的 <code>processId</code> 调用 <code>exec_wait</code>,默认等待,也支持 <code>action: &quot;write&quot;</code> 与 <code>action: &quot;cancel&quot;</code>。cell 内等待仍遵守工具自身超时及 Host 策略。<code>exec</code> 不接受旧的 <code>action</code> 参数。首次等待默认 30 秒,<code>exec_wait</code> 的等待默认 60 秒;两者最多等待 300 秒。显式传入低于 10000 ms 的 <code>yieldMs</code>(包括 0)按 10 秒等待窗口处理,进程提前结束则提前返回。取消等待不会终止进程,等待窗口也不会延长执行总超时。</p><p>后台 cell 属于 Session 温资源。<code>code_exec</code> 首次默认等待 30 秒,<code>code_exec_wait</code> 也默认等待 30 秒;显式等待值不改变内部工具的等待窗口。<code>cell.yield_control()</code> 只结束当前等待并返回已有输出,JS 继续后台执行;也可通过首行 <code>// @options: {&quot;yieldMs&quot;:30000}</code> 设置首次等待窗口;输出预算由 Runtime 固定控制。返回 <code>cellId</code> 后直接调用 <code>code_exec_wait</code> 获取增量或终态,<code>action</code> 默认 <code>poll</code> 等待,传 <code>action: &quot;cancel&quot;</code> 才显式终止。当前 Execution 结束或取消不会终止已登记的 cell;后续 Execution 可从保留资源提示接管。Session 资源回收、超时或 Host 退出会终止 cell,进程重启不恢复 JS 执行状态。终态结果仅有界缓存,重复领取带 <code>cached: true</code>。</p><p>后续 Execution 可以等待后台 cell 并收取结果,但不会把自己的协作身份授予该 cell。原 Execution 结束或取消后,旧 cell 发起的新 <code>agent_*</code>、<code>whiteboard</code> 调用和新的工具审批请求会被拒绝。</p><p>临时资源句柄带类型前缀:<code>cellId</code> 为 <code>c_</code> 加 12 位小写十六进制字符,<code>processId</code> 为 <code>p_</code> 加 12 位小写十六进制字符。请完整原样使用工具返回的 ID,不要截断或互换。cell 仅通过 <code>code_exec_wait</code> 接管,进程仅通过 <code>exec_wait</code> 控制;传错类型会返回 <code>MAR_AGENT_RESOURCE_HANDLE_TYPE_MISMATCH</code> 和对应工具提示,不会自动转调。前缀不代表资源仍存活或有权访问,原有 Session 归属和清理规则不变。</p><p>进程等待会在窗口内聚合 stdout/stderr,直到进程完成输出收尾或等待到期;新日志不会提前结束模型等待。Web 命令卡可实时显示有界日志预览,不增加模型往返,也不消费最终工具输出。取消与用户补充仍可提前结束等待,进程继续运行。</p><p>Web 会话将整次 <code>code_exec</code> 展示为命令卡,保留原始 JavaScript 和本次调用输出,不拆解内部工具;内部进程的实时日志在外层代码卡上显示,cell 返回 running 后由同次执行的活动等待卡接续显示,最终以本次正式工具结果为准。<code>code_exec_wait</code> 同样以命令卡显示等待或取消结果;命令卡返回不表示 yield 后的后台 cell 已结束。</p><h2 id="本地-sdk-与-cli" tabindex="-1">本地 SDK 与 CLI <a class="header-anchor" href="#本地-sdk-与-cli" aria-label="Permalink to &quot;本地 SDK 与 CLI&quot;">​</a></h2><p><code>@myagentroam/agent</code> 可作为 TypeScript SDK 直接嵌入,也提供唯一命令 <code>maragent</code>。CLI 使用当前用户 HOME 下的 MAR 自有模型目录,不读取 Server 模型配置,也不会自动发现 Claude、Codex 或 OpenCode 配置。模型可配置为静态 API Key 或 <code>CODEX_AUTH_FILE</code> 凭据来源;仅当用户为当前命令显式传入 <code>--codex-auth-file PATH</code> 时,CLI 才只读加载该 Codex ChatGPT OAuth 文件。文件路径和 Token 不会写入模型目录、Session、日志或事件,CLI 也不会刷新或回写该文件。使用 <code>maragent --help</code> 查看运行、恢复、会话和模型管理命令。</p><p>独立使用时先安装包,再用 <code>maragent models list</code> 检查当前账号的本地模型目录;模型登记与运行选项以 <code>maragent models --help</code> 和 <code>maragent --help</code> 为准。CLI 的命令和 Agent 工具以运行账号权限执行,先选用专用账号和可信工作目录,不要在生产目录试运行。</p><p>独立 CLI 默认自动生成新会话标题,可用全局选项 <code>--no-auto-title</code> 关闭,或用 <code>--auto-title</code> 显式开启;恢复已有会话不重新生成。标题请求可能产生额外用量。<code>--format stream-json</code> 的 <code>model.usage</code> 事件提供按请求的原生用量快照,区分 conversation、compact 和 title;同一 recordId 只取最新 revision,不与 <code>usage.updated</code> 重复相加,缺失用量仍为未知。收到 SIGTERM 时,CLI 取消当前执行和标题请求并释放自己的会话资源,以 143 退出;SIGINT 取消以 130 退出。</p><p>独立 CLI 默认加载 Subagent 扩展。新模型默认可用于对话,但不自动用于子会话;使用 <code>maragent models edit &lt;id&gt; --subagent-model</code> 显式启用,<code>--no-subagent-model</code> 关闭。子会话模型必须同时启用 conversation 和 subagent,用途可通过 <code>models list</code> 查看,也可在 <code>models add/edit</code> 中使用 <code>--conversation-model</code> 或 <code>--no-conversation-model</code> 设置。</p><p>独立 CLI 的模型工具 <code>agent_start</code> 使用 <code>content</code> 与可选 <code>effort</code>;<code>agent_wait</code> 仅使用 <code>agentIds</code>,单目标也传数组,并统一返回 <code>agents</code> 数组。正数 <code>waitMs</code> 按实际传入值等待,没有隐含下限;<code>0</code> 只读取快照、不消费未读。<code>agent_stop</code> 只接受目标 <code>agentId</code>,停止不会将尚未交付的报告标为已读。SDK 原生接口仍使用自身的 <code>prompt</code>、<code>reasoningEffort</code> 与等待参数;独立扩展的角色、模型发现及 append/replace 投递语义保持不变。</p><p>SDK 最小示例使用一个兼容 OpenAI Responses 的端点。先按供应商的真实模型能力调整 URL、模型 ID 和 token 限制;设置 <code>MODEL_API_KEY</code>、<code>MODEL_BASE_URL</code>、<code>MODEL_ID</code>、<code>AGENT_HOME</code> 与 <code>WORKSPACE</code> 后运行。<code>session.run</code> 会发起真实模型请求,也可能执行工具;仅在有权限的隔离环境使用,密钥不要写入源文件或提交。</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;"> &#39;@myagentroam/agent&#39;</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;"> &#39;@myagentroam/agent/host&#39;</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>
@@ -1 +1 @@
1
- import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d('<h1 id="从模板新建对话" tabindex="-1">从模板新建对话 <a class="header-anchor" href="#从模板新建对话" aria-label="Permalink to &quot;从模板新建对话&quot;">​</a></h1><p>“对话”模式用于从管理员发布并授权给你的模板创建和继续对话。每个对话由目标 Linux Node 托管,使用独立持久存储和 Bubblewrap 隔离环境;每次运行会获得不含宿主或会话存储内容的临时虚拟 HOME。模板提供完整只读 Workspace 镜像,并决定模型、MCP、网络模式与容量上限。</p><h2 id="新建步骤" tabindex="-1">新建步骤 <a class="header-anchor" href="#新建步骤" aria-label="Permalink to &quot;新建步骤&quot;">​</a></h2><ol><li>打开主菜单“对话”,进入“对话”模式。该入口始终显示,不要求先选择或获得任何 Node/Workspace 使用权。</li><li>如果当前正在查看已有对话,选择历史栏搜索框下方的“新建对话”进入中间的临时启动区;页面不会打开弹窗。</li><li>在 Composer 底部工具栏选择已发布并授权给你当前组织或其祖先组织的模板。模板授权已经足够用于创建和继续你自己的托管对话,不会同时授予承载 Node、源 Workspace、文件或终端权限。管理员选择根组织授权时,该模板对企业内所有用户可用。当前浏览器会记住你最近一次选择的模板,并在它仍位于当前目录时默认选中。</li><li>没有可恢复的最近选择且只有一个模板时,页面可以预选该模板,但仍不会自动创建。核对模板名称后,输入消息或添加附件并明确发送,系统会先创建对话,再上传草稿附件并发送首条消息。</li><li>创建响应中断时可直接重试;只要没有切换模板或重新加载目录,系统会按同一次创建意图处理,避免重复创建。</li></ol><p>创建时会绑定当时可用的模板版本。管理员之后编辑草稿不会影响已有对话;发布新版本也不会立即切换。每次新 Run 开始前,Node 会查询并完整校验当时最新的可用版本,以该版本启动 Run;只有 Run 成功启动且消息被接受后才原子切换。停用、归档或删除模板不会改写已有对话的模板名称快照和最后已生效版本。</p><h2 id="切换已有对话的模板" tabindex="-1">切换已有对话的模板 <a class="header-anchor" href="#切换已有对话的模板" aria-label="Permalink to &quot;切换已有对话的模板&quot;">​</a></h2><p>对话空闲时,点击输入区的模板名称,选择同一个 Node 上其他已发布且授权给你的模板,并确认切换。新模板从下一轮运行生效;历史、上传、输出文件及未发送草稿保留,新模板可以继续读取原对话内容。模板自带的文件、指令、MCP 和网络配置会随之更换,旧回复引用的模板文件路径可能不再有效。</p><p>当前模型仍被新模板允许时继续使用,否则改用新模板允许的默认模型。模板容量不足、没有可用模型或请求明确失败时保留原绑定。运行、发送、上传、回退或其他互斥写入期间不能切换;确认成功后需等待实时状态重新就绪再继续操作。响应中断时不要重复提交,先等待页面刷新确认结果。</p><p>只能切换同 Node 模板,不迁移对话到其他主机;这不会修改新建对话的最近模板偏好。同一模板的版本更新仍遵循每次新 Run 的自动升级规则,重复选择当前模板不会强制升级。</p><h2 id="使用三栏工作面" tabindex="-1">使用三栏工作面 <a class="header-anchor" href="#使用三栏工作面" aria-label="Permalink to &quot;使用三栏工作面&quot;">​</a></h2><p>打开已有对话后,页面分为三个区域:</p><ul><li><strong>对话历史:</strong> 不需要选择 Node。Server 从支持托管的有效 Node 中读取当前账号自己拥有的对话;承载 Node 不需要出现在你的普通资源目录。置顶对话优先,其余对话按最后活动时间倒序。搜索只匹配标题,每条记录显示标题和一行最后互动时间。对话运行或停止中显示绿点,空闲时不显示。存在未读终态通知时显示未读标记,打开该对话会清除它的全部未读。滚动接近列表底部会沿统一目录自动追加,底部圆环表示正在读取;失败时保留已有对话并暂停自动追加,可在底部选择“重试”。标题搜索只筛选已加载的对话,输入筛选条件后暂停自动追加,清空筛选后继续;没有匹配项不表示整个目录都没有结果。离线、能力或版本无效、请求失败或返回格式无效的 Node 会被静默跳过;没有任何有效结果时显示普通空目录,页面不逐 Node 展示失败或部分结果。</li><li><strong>主对话:</strong> 展示 Node 返回的权威历史和实时消息。输入区固定使用 MAR Agent Full Access,但不显示不可修改的 Agent 或权限项;只提供模型、附件、发送和停止。思考强度使用模型默认,不支持选择 Agent、权限模式、Slash 命令、Skill 或工作区文件引用。</li><li><strong>相关文件:</strong> 只展示 Node 投影的 <code>inbox/</code> 上传和 <code>output/</code> 文件。Agent 回复中的普通路径或自然语言文本不会自动变成文件;显式 Markdown 文件链接只有在指向 <code>/workspace/inbox</code>、<code>/workspace/output</code>,或能唯一命中当前相关文件时才可打开。可把多个文件直接拖放到该区域,或点击上传区选择文件;点击文件行或有效消息链接会打开与普通 Workbench 相同的统一只读文件预览,并提供下载。文本超过 512 KiB 时只显示首段;图片、PDF、音视频和支持的 Office 文件通过受控内容流预览,并可使用同一文件的下载入口。</li></ul><p>与普通工作台一样,Agent 可在回复中用 Markdown 图片语法直接展示图片,例如 <code>![图表](/workspace/output/chart.png)</code>。本地图片必须是当前对话的相关文件;点击缩略图可放大预览。</p><p>桌面端的对话历史使用与其他页面相同的左侧菜单区域。点击顶部“收起”会同时收起品牌区和对话历史,主对话自动向左补位;点击“展开”会恢复对话历史。相关文件栏始终位于主对话右侧。</p><p>创建前,相关文件栏只显示说明,不提供没有对话目标的上传入口;开始发送首条消息并完成创建后,上传区和文件列表会在原位置启用。</p><p>移动端不显示全局“展开/收起”控件和三段标签。再次点击顶部“对话”打开历史抽屉;主对话右上角的“文件”按钮打开相关文件抽屉。选择对话或点击抽屉外遮罩会关闭对应抽屉。</p><h2 id="发送消息与附件" tabindex="-1">发送消息与附件 <a class="header-anchor" href="#发送消息与附件" aria-label="Permalink to &quot;发送消息与附件&quot;">​</a></h2><ol><li>在主对话输入消息,可按 Enter 发送、Shift+Enter 换行。</li><li>根据模板允许的上游模型范围选择当前账号可用的具体模型配置。当前配置不可见时,Node 会优先回退到模板默认上游模型的可用配置,再回退到模板允许顺序中的首个可用配置;没有交集时本次操作失败。更新失败时页面保留 Node 已确认的原配置。</li><li>使用回形针添加附件。每条消息最多 32 个附件;文件先上传到当前对话,完成后才会随消息发送。将本地文件拖放到主对话输入区时,先在确认框中选择上传;回形针选择和剪贴板粘贴会直接开始上传。</li><li>上传失败时可在附件行重试或移除。重试会建立新的上传请求,不会继续复用已取消的临时上传。同名文件会自动按扩展名前的递增后缀保存,例如 <code>image.png</code>、<code>image (1).png</code>;附件行会显示 Node 最终分配的名称。</li><li>有任务正在进行时仍可编辑输入内容,并提供“停止”按钮。输入框获得焦点时,按 <code>Esc</code> 也可停止。托管服务开始准备任务后,即使发送请求尚未返回,也可以停止;如果消息尚未被接收,草稿会保留。发出停止请求后不会重复请求。支持该能力的节点上,桌面端按 <code>Ctrl+Enter</code> 可插入当前输入消息:如果 MAR Agent 仍在启动,插入消息会等待原消息写入,不中断启动。原生接收后,补充作为独立消息回显;它可进入首个模型请求,或在当前完整回复及工具批次之后生效,不截断模型生成。受管等待可提前返回,后台任务继续,其他工具仍正常完成;确实无法原生接收或显式切换模型等配置时,仍按原流程停止后发送。补充正文会标识为工作期间收到的新增信息;空闲时按普通消息发送。包装说明不会显示在对话中。普通 Enter 不会把托管对话消息加入队列。移动端输入内容后会在“停止”旁显示“插入消息”按钮:轻点可插入,也可从按钮上滑,在 Composer 内松手插入;越过输入区顶部才取消,滑回恢复插入。取消保留草稿,托管对话不建立普通消息队列;任务正在停止时仍需等待结束后再发送。相关文件区域的直接上传和删除不因此整体禁用。</li></ol><p>移动端新建和空闲对话同样支持从“发送”按钮上滑,在 Composer 内松手正常发送;只有越过输入区顶部才取消,滑回可恢复发送。轻点或按住未上滑,仍沿用按钮原有发送行为。按住期间不会提交,取消保留草稿,按钮触摸不主动移走输入框焦点。</p><p>如果发送请求返回明确错误,可修正内容后重试;如果网络中断且结果未知,页面会保留同一次发送意图,避免重复执行。</p><p>消息顶部的历史加载、失败重试与运行耗时遵循<a href="./sessions#阅读与运行反馈">会话阅读说明</a>。发送中附加在发送操作旁,不替换正在进行的运行状态;连接提示复用页面连接状态,不代表 Agent 失败或重新执行。</p><h2 id="回滚对话历史" tabindex="-1">回滚对话历史 <a class="header-anchor" href="#回滚对话历史" aria-label="Permalink to &quot;回滚对话历史&quot;">​</a></h2><p>运行中补充的 steer 消息有独立的回滚位置:回滚该消息会保留它收到之前的普通消息和执行记录,不会因它们属于同一轮而一起删除。</p><p>承载 Node 支持托管对话 Rollback 时,终态用户消息旁会显示“回滚对话”按钮;托管对话不提供 Rewind 分支按钮。确认后,系统会在当前对话的原 Session 内永久删除该用户消息及其后的历史,并把该消息文本回填到输入框,便于修改后重新发送。</p><p>Rollback 不会修改或删除 <code>inbox/</code>、<code>output/</code> 和“相关文件”中的内容,也不会创建新对话或新 Session。运行正在启动、执行或结算时不能回滚;边界已经变化或请求失败时页面保持原历史和草稿并显示实际错误。</p><h2 id="管理相关文件" tabindex="-1">管理相关文件 <a class="header-anchor" href="#管理相关文件" aria-label="Permalink to &quot;管理相关文件&quot;">​</a></h2><ol><li>把一个或多个文件拖放到右侧“相关文件”上传区,或点击上传区后从系统文件选择器中选择一个或多个文件。文件会依次上传到当前对话的 <code>inbox/</code>,单个文件失败不会阻止后续文件继续上传。</li><li>这种直接上传只更新相关文件列表,不会把文件自动加入 Composer,也不会附加到下一条消息。需要随消息发送时,仍使用回形针选择附件。</li><li>点击文件行,或点击 Agent 消息中能够命中当前权威文件列表的显式文件链接,可在统一文件预览中查看、定位文本行、下载并关闭。未知路径、歧义路径和普通文本不会触发文件读取。</li><li><code>inbox/</code> 中的用户上传和 <code>output/</code> 中的 Agent 输出都可以通过文件行的删除按钮手动删除。确认后,页面使用 Node 返回的完整权威列表刷新相关文件;删除当前预览文件时预览会关闭。</li><li>删除可与活动 Run 中的 Agent 文件写入同时发生。先完成的操作生效;如果目标已被删除、替换或改变,后到操作会显示文件不存在或冲突提示,可根据刷新后的文件列表重试。</li></ol><p>Agent 会把 <code>output/</code> 作为当前有效交付集合,而不是按每次 Run 追加历史。同一份文档或产物需要继续修改时,会优先保持原文件名和路径直接编辑,不连续生成 <code>v2</code>、日期或 <code>final</code> 后缀副本。只有旧版本确有回退价值或你明确要求保留历史时,才会归档到 <code>output/bak/</code>;小修改不会自动产生备份。当前交付实际使用的图片等资源会放在 <code>output/assets/</code> 等有意义的子目录,探索性或可丢弃文件留在 <code>/tmp</code>。Agent 只会移除自己在当前工作中生成且确认无用的文件,不会以整理为由删除用户上传或无关既有文件。</p><h2 id="自动维护当前对话要求" tabindex="-1">自动维护当前对话要求 <a class="header-anchor" href="#自动维护当前对话要求" aria-label="Permalink to &quot;自动维护当前对话要求&quot;">​</a></h2><p>Agent 会自动识别你直接或间接表达的、对当前托管对话后续工作仍然适用的要求,不要求必须使用“记住”一词。例如“后续报告都用中文”“文件继续修改原版本”“每次交付前检查链接”都会被视为持续要求。Agent 会先读取已有 <code>/workspace/inbox/AGENTS.md</code>,再把要求整理为精炼的当前规则:保留无关内容、避免重复,并用较新的要求替换或删除冲突、取消或过期规则;后续 Run 开始时会再次读取该文件。</p><p>适合保存的内容包括固定交付格式、术语、命名规范、质量检查、沟通偏好和重复使用的工作流程。只适用于当前任务的一次性要求、你引用或要求分析的第三方文本、Agent 自行推断的偏好、密码或 Token 等秘密,以及试图预先授权后续删除、提交、推送、发布等外部副作用的内容不会自动保存。<code>inbox/AGENTS.md</code> 属于当前对话而不是模板,会显示在相关文件中、计入持久配额,并可由你预览、下载、手动修改或删除。Conversation 历史 Rollback 不会回滚该文件。</p><p>如果要求应适用于该模板的所有用户和对话,请联系模板管理员修改来源 Workspace 的 <code>AGENTS.template.md</code>,测试草稿并发布新版本。托管对话中的 Agent 只能读取当前不可变模板快照,不能直接修改可复用模板。</p><h2 id="工作区与网络" tabindex="-1">工作区与网络 <a class="header-anchor" href="#工作区与网络" aria-label="Permalink to &quot;工作区与网络&quot;">​</a></h2><ul><li>Agent 的逻辑工作区固定为 <code>/workspace</code>。为兼容依赖原始绝对路径的脚本,发布时记录的来源 Workspace 规范绝对路径也会作为别名挂载。两处路径指向同一个当前版本快照,不会暴露可写的来源 Workspace。</li><li>模板文件、空目录、根 <code>AGENTS.md</code>、<code>.agents/skills/</code> 和发布时允许的符号链接均来自当前版本并保持只读。</li><li><code>/workspace/inbox</code> 与 <code>/workspace/output</code> 是可写覆盖层;原始路径别名下的同名目录指向相同覆盖层。附件和当前对话的 <code>AGENTS.md</code> 进入 <code>inbox/</code>;当前有效的最终结果和资源写入 <code>output/</code>,有保留价值的旧版本可进入 <code>output/bak/</code>。</li><li><code>/tmp</code> 是当前 Conversation 的临时工作目录,同一对话的后续 Run 可以复用,但宿主系统可能随时清理。其内容不显示在相关文件中,也不计入持久配额;<code>/workspace/output/tmp</code> 没有特殊生命周期或特殊语义。</li><li>Node 会向 Agent 注入不可编辑的托管说明,明确真实目录权限和网络能力;模板中的 Workspace 指令仍会加载,但不能扩大 Host 强制边界。</li><li>“无网络”禁止沙箱进程联网、Web 和远程 HTTP MCP;“不受限”允许沙箱进程、Web 能力和模板版本中已发布的远程 HTTP MCP 访问 Node 可达网络。本地 stdio MCP 在两种模式下都可启动,但在“无网络”模式下不能联网。</li></ul><h2 id="实时状态与可用性提示" tabindex="-1">实时状态与可用性提示 <a class="header-anchor" href="#实时状态与可用性提示" aria-label="Permalink to &quot;实时状态与可用性提示&quot;">​</a></h2><p>对话页面复用当前页面唯一的 Workbench WebSocket,并且一次只订阅当前对话。切换对话、离开页面或浏览器连接重建时,旧订阅会释放;重新连接后从 Node 获取新的权威快照,不根据缺失事件猜测 Run 结果。</p><p>首条消息创建成功但连接尚未恢复时,草稿和附件会保留,恢复后需要你再次发送,不会自动重发。创建或上传期间切换历史不会撤销已经提交的操作,也不会跳回旧对话;在当前页面点击“新建对话”可继续原草稿。离开整个页面不等于取消已提交的操作,重新进入后可在历史中查看已创建的对话。</p><p>Run 成功、失败或发生非预期中断后,通知中心会保留该托管对话通知 24 小时。用户主动选择“停止”,或删除对话时由 Node 取消运行,不生成终态通知。点击通知会切换到“对话”模式并打开对应对话;托管对话不会出现在“最近会话”列表。</p><p>以下情况页面会给出行动提示:</p><ul><li>承载服务暂不可达或实时订阅失败:已加载内容仍可查看。已建立的订阅会对可恢复故障有限自动重试,正文显示重载圆环,恢复前禁止写入;初次加载失败或恢复停止后,在正文点击“加载失败,点击重试”。同一错误不再重复弹出消息,错误码、详情和请求标识可在重试入口的补充提示中查看。</li><li>模板自动升级失败:当前发送失败,但旧版本、历史和可写状态保持不变;下一次发送会重新查询当时最新的可用版本并再次尝试升级。</li><li>相关文件同步失败:消息历史仍可查看;稍后重新打开对话,持续发生时联系管理员。</li></ul><h2 id="标题、置顶与删除" tabindex="-1">标题、置顶与删除 <a class="header-anchor" href="#标题、置顶与删除" aria-label="Permalink to &quot;标题、置顶与删除&quot;">​</a></h2><p>新建面板和刚创建的对话最初都显示当前界面语言的“新建对话”,不会使用模板名称作为标题;切换界面语言时,这个默认标题会同步更新。首条非空消息被接受后,页面立即用该消息作为临时标题;如果首条发送只有附件,则继续显示默认标题。MAR Agent 完成首轮自动标题后会更新历史目录和顶栏。打开历史记录右侧的“…”菜单可以手动编辑标题;自动标题和手动标题保持原文,不随界面语言翻译,且手动标题优先,不会再被迟到的自动标题覆盖。编辑标题或切换置顶不会改变最后互动时间;置顶项始终显示在普通项之前。</p><p>选择“删除”时,确认框会明确说明该操作不可恢复。确认后 Node 会停止该对话仍在进行的运行和上传,永久删除历史、相关文件与托管目录。删除当前对话时,页面会清空选择并进入新建面板;删除其他历史记录时,当前对话和实时订阅保持不变。两种情况都会刷新历史目录。删除不是模板归档,也不存在恢复期或恢复入口。</p><h2 id="可用性说明" tabindex="-1">可用性说明 <a class="header-anchor" href="#可用性说明" aria-label="Permalink to &quot;可用性说明&quot;">​</a></h2><ul><li>承载 Node 文件系统使用率达到 95% 时,只禁止新建对话;已有对话仍可打开、运行、上传、导出或删除。</li><li>模板未发布、已停用、已归档、已删除或授权被撤销后,不会继续出现在你的新建目录中。</li><li>模板授权不会让承载 Node 或源 Workspace 出现在“工作”资源目录;如果还需要普通文件、终端或 Workspace 操作,必须由管理员另行授予对应资源权限。</li><li>页面只在当前浏览器保存最近选择的模板 ID,不保存模板详情;该模板不再可用时会安全忽略。打开页面、刷新或只剩一个模板时都不会静默创建;历史栏“新建对话”只打开中间临时新建面板。</li></ul><p><strong>成功标志:</strong> 页面显示新对话标题和首条消息,相关文件栏可以使用。</p><p>如果没有可选模板,请联系管理员检查模板发布和模板授权。创建时若提示承载服务、版本、隔离能力或存储容量不可用,请由管理员检查对应 Node。管理员可参阅<a href="./../administration/conversation-templates">管理对话模板</a>。</p>',47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
1
+ import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d('<h1 id="从模板新建对话" tabindex="-1">从模板新建对话 <a class="header-anchor" href="#从模板新建对话" aria-label="Permalink to &quot;从模板新建对话&quot;">​</a></h1><p>“对话”模式用于从管理员发布并授权给你的模板创建和继续对话。每个对话由目标 Linux Node 托管,使用独立持久存储和 Bubblewrap 隔离环境;每次运行会获得不含宿主或会话存储内容的临时虚拟 HOME。模板提供完整只读 Workspace 镜像,并决定模型、MCP、网络模式与容量上限。</p><h2 id="新建步骤" tabindex="-1">新建步骤 <a class="header-anchor" href="#新建步骤" aria-label="Permalink to &quot;新建步骤&quot;">​</a></h2><ol><li>打开主菜单“对话”,进入“对话”模式。该入口始终显示,不要求先选择或获得任何 Node/Workspace 使用权。</li><li>如果当前正在查看已有对话,选择历史栏搜索框下方的“新建对话”进入中间的临时启动区;页面不会打开弹窗。</li><li>在 Composer 底部工具栏选择已发布并授权给你当前组织或其祖先组织的模板。模板授权已经足够用于创建和继续你自己的托管对话,不会同时授予承载 Node、源 Workspace、文件或终端权限。管理员选择根组织授权时,该模板对企业内所有用户可用。当前浏览器会记住你最近一次选择的模板,并在它仍位于当前目录时默认选中。</li><li>没有可恢复的最近选择且只有一个模板时,页面可以预选该模板,但仍不会自动创建。核对模板名称后,输入消息或添加附件并明确发送,系统会先创建对话,再上传草稿附件并发送首条消息。</li><li>创建响应中断时可直接重试;只要没有切换模板或重新加载目录,系统会按同一次创建意图处理,避免重复创建。</li></ol><p>创建时会绑定当时可用的模板版本。管理员之后编辑草稿不会影响已有对话;发布新版本也不会立即切换。每次新 Run 开始前,Node 会查询并完整校验当时最新的可用版本,以该版本启动 Run;只有 Run 成功启动且消息被接受后才原子切换。停用、归档或删除模板不会改写已有对话的模板名称快照和最后已生效版本。</p><h2 id="切换已有对话的模板" tabindex="-1">切换已有对话的模板 <a class="header-anchor" href="#切换已有对话的模板" aria-label="Permalink to &quot;切换已有对话的模板&quot;">​</a></h2><p>对话空闲时,点击输入区的模板名称,选择同一个 Node 上其他已发布且授权给你的模板,并确认切换。新模板从下一轮运行生效;历史、上传、输出文件及未发送草稿保留,新模板可以继续读取原对话内容。模板自带的文件、指令、MCP 和网络配置会随之更换,旧回复引用的模板文件路径可能不再有效。</p><p>当前模型仍被新模板允许时继续使用,否则改用新模板允许的默认模型。模板容量不足、没有可用模型或请求明确失败时保留原绑定。运行、发送、上传、回退或其他互斥写入期间不能切换;确认成功后需等待实时状态重新就绪再继续操作。响应中断时不要重复提交,先等待页面刷新确认结果。</p><p>只能切换同 Node 模板,不迁移对话到其他主机;这不会修改新建对话的最近模板偏好。同一模板的版本更新仍遵循每次新 Run 的自动升级规则,重复选择当前模板不会强制升级。</p><h2 id="使用三栏工作面" tabindex="-1">使用三栏工作面 <a class="header-anchor" href="#使用三栏工作面" aria-label="Permalink to &quot;使用三栏工作面&quot;">​</a></h2><p>打开已有对话后,页面分为三个区域:</p><ul><li><strong>对话历史:</strong> 不需要选择 Node。Server 从支持托管的有效 Node 中读取当前账号自己拥有的对话;承载 Node 不需要出现在你的普通资源目录。置顶对话优先,其余对话按最后活动时间倒序。搜索只匹配标题,每条记录显示标题和一行最后互动时间。对话运行或停止中显示绿点,空闲时不显示。存在未读终态通知时显示未读标记,打开该对话会清除它的全部未读。滚动接近列表底部会沿统一目录自动追加,底部圆环表示正在读取;失败时保留已有对话并暂停自动追加,可在底部选择“重试”。标题搜索只筛选已加载的对话,输入筛选条件后暂停自动追加,清空筛选后继续;没有匹配项不表示整个目录都没有结果。离线、能力或版本无效、请求失败或返回格式无效的 Node 会被静默跳过;没有任何有效结果时显示普通空目录,页面不逐 Node 展示失败或部分结果。</li><li><strong>主对话:</strong> 展示 Node 返回的权威历史和实时消息。输入区固定使用 MAR Agent Full Access,但不显示不可修改的 Agent 或权限项;只提供模型、附件、发送和停止。思考强度使用模型默认,不支持选择 Agent、权限模式、Slash 命令、Skill 或工作区文件引用。</li><li><strong>相关文件:</strong> 只展示 Node 投影的 <code>inbox/</code> 上传和 <code>output/</code> 文件。Agent 回复中的普通路径或自然语言文本不会自动变成文件;显式 Markdown 文件链接只有在指向 <code>/workspace/inbox</code>、<code>/workspace/output</code>,或能唯一命中当前相关文件时才可打开。可把多个文件直接拖放到该区域,或点击上传区选择文件;点击文件行或有效消息链接会打开与普通 Workbench 相同的统一只读文件预览,并提供下载。文本超过 512 KiB 时只显示首段;图片、PDF、音视频和支持的 Office 文件通过受控内容流预览,并可使用同一文件的下载入口。</li></ul><p>与普通工作台一样,Agent 可在回复中用 Markdown 图片语法直接展示图片,例如 <code>![图表](/workspace/output/chart.png)</code>。本地图片必须是当前对话的相关文件;点击缩略图可放大预览。</p><p>桌面端的对话历史使用与其他页面相同的左侧菜单区域。点击顶部“收起”会同时收起品牌区和对话历史,主对话自动向左补位;点击“展开”会恢复对话历史。相关文件栏始终位于主对话右侧。</p><p>创建前,相关文件栏只显示说明,不提供没有对话目标的上传入口;开始发送首条消息并完成创建后,上传区和文件列表会在原位置启用。</p><p>移动端不显示全局“展开/收起”控件和三段标签。再次点击顶部“对话”打开历史抽屉;主对话右上角的“文件”按钮打开相关文件抽屉。选择对话或点击抽屉外遮罩会关闭对应抽屉。</p><h2 id="发送消息与附件" tabindex="-1">发送消息与附件 <a class="header-anchor" href="#发送消息与附件" aria-label="Permalink to &quot;发送消息与附件&quot;">​</a></h2><ol><li>在主对话输入消息,可按 Enter 发送、Shift+Enter 换行。</li><li>根据模板允许的上游模型范围选择当前账号可用的具体模型配置。当前配置不可见时,Node 会优先回退到模板默认上游模型的可用配置,再回退到模板允许顺序中的首个可用配置;没有交集时本次操作失败。更新失败时页面保留 Node 已确认的原配置。</li><li>使用回形针添加附件。每条消息最多 32 个附件;文件先上传到当前对话,完成后才会随消息发送。将本地文件拖放到主对话输入区时,先在确认框中选择上传;回形针选择和剪贴板粘贴会直接开始上传。</li><li>上传失败时可在附件行重试或移除。重试会建立新的上传请求,不会继续复用已取消的临时上传。同名文件会自动按扩展名前的递增后缀保存,例如 <code>image.png</code>、<code>image (1).png</code>;附件行会显示 Node 最终分配的名称。</li><li>有任务正在进行时仍可编辑输入内容,并提供“停止”按钮。输入框获得焦点时,按 <code>Esc</code> 也可停止。托管服务开始准备任务后,即使发送请求尚未返回,也可以停止;如果消息尚未被接收,草稿会保留。发出停止请求后不会重复请求。支持该能力的节点上,桌面端按 <code>Ctrl+Enter</code> 可插入当前输入消息:如果 MAR Agent 仍在启动,插入消息会等待原消息写入,不中断启动。原生接收后,补充作为独立消息回显;它可进入首个模型请求,或在当前完整回复及工具批次之后生效,不截断模型生成。受管等待可提前返回,后台任务继续,其他工具仍正常完成;确实无法原生接收或显式切换模型等配置时,仍按原流程停止后发送。补充正文会标识为工作期间收到的新增信息;空闲时按普通消息发送。包装说明不会显示在对话中。普通 Enter 不会把托管对话消息加入队列。移动端输入内容后会在“停止”旁显示“插入消息”按钮:轻点可插入,也可从按钮上滑,在 Composer 内松手插入;越过输入区顶部才取消,滑回恢复插入。取消保留草稿,托管对话不建立普通消息队列;任务正在停止时仍需等待结束后再发送。相关文件区域的直接上传和删除不因此整体禁用。</li></ol><p>移动端新建和空闲对话同样支持从“发送”按钮上滑,在 Composer 内松手正常发送;只有越过输入区顶部才取消,滑回可恢复发送。轻点或按住未上滑,仍沿用按钮原有发送行为。按住期间不会提交,取消保留草稿,按钮触摸不主动移走输入框焦点。</p><p>如果发送请求返回明确错误,可修正内容后重试;如果网络中断且结果未知,页面会保留同一次发送意图,避免重复执行。</p><p>消息顶部的历史加载、失败重试与运行耗时遵循<a href="./sessions#阅读与运行反馈">会话阅读说明</a>。发送中附加在发送操作旁,不替换正在进行的运行状态;连接提示复用页面连接状态,不代表 Agent 失败或重新执行。</p><h2 id="回滚对话历史" tabindex="-1">回滚对话历史 <a class="header-anchor" href="#回滚对话历史" aria-label="Permalink to &quot;回滚对话历史&quot;">​</a></h2><p>运行中补充的 steer 消息有独立的回滚位置:回滚该消息会保留它收到之前的普通消息和执行记录,不会因它们属于同一轮而一起删除。</p><p>承载 Node 支持托管对话 Rollback 时,终态用户消息旁会显示“回滚对话”按钮;托管对话不提供 Rewind 分支按钮。确认后,系统会在当前对话的原 Session 内永久删除该用户消息及其后的历史,并把该消息文本回填到输入框,便于修改后重新发送。</p><p>Rollback 不会修改或删除 <code>inbox/</code>、<code>output/</code> 和“相关文件”中的内容,也不会创建新对话或新 Session。运行正在启动、执行或结算时不能回滚;边界已经变化或请求失败时页面保持原历史和草稿并显示实际错误。</p><h2 id="管理相关文件" tabindex="-1">管理相关文件 <a class="header-anchor" href="#管理相关文件" aria-label="Permalink to &quot;管理相关文件&quot;">​</a></h2><ol><li>把一个或多个文件拖放到右侧“相关文件”上传区,或点击上传区后从系统文件选择器中选择一个或多个文件。文件会依次上传到当前对话的 <code>inbox/</code>,单个文件失败不会阻止后续文件继续上传。</li><li>这种直接上传只更新相关文件列表,不会把文件自动加入 Composer,也不会附加到下一条消息。需要随消息发送时,仍使用回形针选择附件。</li><li>点击文件行,或点击 Agent 消息中能够命中当前权威文件列表的显式文件链接,可在统一文件预览中查看、定位文本行、下载并关闭。未知路径、歧义路径和普通文本不会触发文件读取。</li><li><code>inbox/</code> 中的用户上传和 <code>output/</code> 中的 Agent 输出都可以通过文件行的删除按钮手动删除。确认后,页面使用 Node 返回的完整权威列表刷新相关文件;删除当前预览文件时预览会关闭。</li><li>删除可与活动 Run 中的 Agent 文件写入同时发生。先完成的操作生效;如果目标已被删除、替换或改变,后到操作会显示文件不存在或冲突提示,可根据刷新后的文件列表重试。</li></ol><p>Agent 会把 <code>output/</code> 作为当前有效交付集合,而不是按每次 Run 追加历史。同一份文档或产物需要继续修改时,会优先保持原文件名和路径直接编辑,不连续生成 <code>v2</code>、日期或 <code>final</code> 后缀副本。只有旧版本确有回退价值或你明确要求保留历史时,才会归档到 <code>output/bak/</code>;小修改不会自动产生备份。当前交付实际使用的图片等资源会放在 <code>output/assets/</code> 等有意义的子目录,探索性或可丢弃文件留在 <code>/tmp</code>。Agent 只会移除自己在当前工作中生成且确认无用的文件,不会以整理为由删除用户上传或无关既有文件。</p><h2 id="自动维护当前对话要求" tabindex="-1">自动维护当前对话要求 <a class="header-anchor" href="#自动维护当前对话要求" aria-label="Permalink to &quot;自动维护当前对话要求&quot;">​</a></h2><p>Agent 会自动识别你直接或间接表达的、对当前托管对话后续工作仍然适用的要求,不要求必须使用“记住”一词。例如“后续报告都用中文”“文件继续修改原版本”“每次交付前检查链接”都会被视为持续要求。Agent 会先读取已有 <code>/workspace/inbox/AGENTS.md</code>,再把要求整理为精炼的当前规则:保留无关内容、避免重复,并用较新的要求替换或删除冲突、取消或过期规则;后续 Run 开始时会再次读取该文件。</p><p>适合保存的内容包括固定交付格式、术语、命名规范、质量检查、沟通偏好和重复使用的工作流程。只适用于当前任务的一次性要求、你引用或要求分析的第三方文本、Agent 自行推断的偏好、密码或 Token 等秘密,以及试图预先授权后续删除、提交、推送、发布等外部副作用的内容不会自动保存。<code>inbox/AGENTS.md</code> 属于当前对话而不是模板,会显示在相关文件中、计入持久配额,并可由你预览、下载、手动修改或删除。Conversation 历史 Rollback 不会回滚该文件。</p><p>如果要求应适用于该模板的所有用户和对话,请联系模板管理员修改来源 Workspace 的 <code>AGENTS.template.md</code>,测试草稿并发布新版本。托管对话中的 Agent 只能读取当前不可变模板快照,不能直接修改可复用模板。</p><h2 id="工作区与网络" tabindex="-1">工作区与网络 <a class="header-anchor" href="#工作区与网络" aria-label="Permalink to &quot;工作区与网络&quot;">​</a></h2><ul><li>Agent 的逻辑工作区固定为 <code>/workspace</code>。为兼容依赖原始绝对路径的脚本,发布时记录的来源 Workspace 规范绝对路径也会作为别名挂载。两处路径指向同一个当前版本快照,不会暴露可写的来源 Workspace。</li><li>模板文件、空目录、根 <code>AGENTS.md</code>、<code>.agents/skills/</code> 和发布时允许的符号链接均来自当前版本并保持只读。</li><li><code>/workspace/inbox</code> 与 <code>/workspace/output</code> 是可写覆盖层;原始路径别名下的同名目录指向相同覆盖层。附件和当前对话的 <code>AGENTS.md</code> 进入 <code>inbox/</code>;当前有效的最终结果和资源写入 <code>output/</code>,有保留价值的旧版本可进入 <code>output/bak/</code>。</li><li><code>/tmp</code> 是当前 Conversation 的临时工作目录,同一对话的后续 Run 可以复用,但宿主系统可能随时清理。其内容不显示在相关文件中,也不计入持久配额;<code>/workspace/output/tmp</code> 没有特殊生命周期或特殊语义。</li><li>Node 会向 Agent 注入不可编辑的托管说明,明确真实目录权限和网络能力;模板中的 Workspace 指令仍会加载,但不能扩大 Host 强制边界。</li><li>“无网络”禁止沙箱进程联网、Web 和远程 HTTP MCP;“不受限”允许沙箱进程、Web 能力和模板版本中已发布的远程 HTTP MCP 访问 Node 可达网络。本地 stdio MCP 在两种模式下都可启动,但在“无网络”模式下不能联网。</li></ul><h2 id="实时状态与可用性提示" tabindex="-1">实时状态与可用性提示 <a class="header-anchor" href="#实时状态与可用性提示" aria-label="Permalink to &quot;实时状态与可用性提示&quot;">​</a></h2><p>对话页面复用当前页面唯一的 Workbench WebSocket,并且一次只订阅当前对话。切换对话、离开页面或浏览器连接重建时,旧订阅会释放;重新连接后从 Node 获取新的权威快照,不根据缺失事件猜测 Run 结果。</p><p>首条消息创建成功但连接尚未恢复时,草稿和附件会保留,恢复后需要你再次发送,不会自动重发。创建或上传期间切换历史不会撤销已经提交的操作,也不会跳回旧对话;在当前页面点击“新建对话”可继续原草稿。离开整个页面不等于取消已提交的操作,重新进入后可在历史中查看已创建的对话。</p><p>Run 成功、失败或发生非预期中断后,通知中心会保留该托管对话通知 24 小时。用户主动选择“停止”,或删除对话时由 Node 取消运行,不生成终态通知。点击通知会切换到“对话”模式并打开对应对话;托管对话不会出现在“最近会话”列表。</p><p>以下情况页面会给出行动提示:</p><ul><li>承载服务暂不可达或实时订阅失败:已加载内容仍可查看。已建立的订阅会对可恢复故障有限自动重试,正文显示重载圆环,恢复前禁止写入;初次加载失败或恢复停止后,在正文点击“加载失败,点击重试”。同一错误不再重复弹出消息,错误码、详情和请求标识可在重试入口的补充提示中查看。</li><li>模板自动升级失败:当前发送失败,但旧版本、历史和可写状态保持不变;下一次发送会重新查询当时最新的可用版本并再次尝试升级。</li><li>相关文件同步失败:消息历史仍可查看;稍后重新打开对话,持续发生时联系管理员。</li></ul><h2 id="标题、置顶与删除" tabindex="-1">标题、置顶与删除 <a class="header-anchor" href="#标题、置顶与删除" aria-label="Permalink to &quot;标题、置顶与删除&quot;">​</a></h2><p>新建面板和刚创建的对话最初都显示当前界面语言的“新建对话”,不会使用模板名称作为标题;切换界面语言时,这个默认标题会同步更新。首条非空消息被接受后,页面立即用该消息作为临时标题;如果首条发送只有附件,则继续显示默认标题。MAR Agent 的自动标题一生成就会同步到历史目录和顶栏,不必等首轮运行结束。打开历史记录右侧的“…”菜单可以手动编辑标题;自动标题和手动标题保持原文,不随界面语言翻译,且手动标题优先,不会再被迟到的自动标题覆盖。编辑标题或切换置顶不会改变最后互动时间;置顶项始终显示在普通项之前。</p><p>选择“删除”时,确认框会明确说明该操作不可恢复。确认后 Node 会停止该对话仍在进行的运行和上传,永久删除历史、相关文件与托管目录。删除当前对话时,页面会清空选择并进入新建面板;删除其他历史记录时,当前对话和实时订阅保持不变。两种情况都会刷新历史目录。删除不是模板归档,也不存在恢复期或恢复入口。</p><h2 id="可用性说明" tabindex="-1">可用性说明 <a class="header-anchor" href="#可用性说明" aria-label="Permalink to &quot;可用性说明&quot;">​</a></h2><ul><li>承载 Node 文件系统使用率达到 95% 时,只禁止新建对话;已有对话仍可打开、运行、上传、导出或删除。</li><li>模板未发布、已停用、已归档、已删除或授权被撤销后,不会继续出现在你的新建目录中。</li><li>模板授权不会让承载 Node 或源 Workspace 出现在“工作”资源目录;如果还需要普通文件、终端或 Workspace 操作,必须由管理员另行授予对应资源权限。</li><li>页面只在当前浏览器保存最近选择的模板 ID,不保存模板详情;该模板不再可用时会安全忽略。打开页面、刷新或只剩一个模板时都不会静默创建;历史栏“新建对话”只打开中间临时新建面板。</li></ul><p><strong>成功标志:</strong> 页面显示新对话标题和首条消息,相关文件栏可以使用。</p><p>如果没有可选模板,请联系管理员检查模板发布和模板授权。创建时若提示承载服务、版本、隔离能力或存储容量不可用,请由管理员检查对应 Node。管理员可参阅<a href="./../administration/conversation-templates">管理对话模板</a>。</p>',47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
@@ -1 +1 @@
1
- import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d("",47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
1
+ import{_ as o,o as a,c as t,a3 as d}from"./chunks/framework.BHjrhdiC.js";const u=JSON.parse('{"title":"从模板新建对话","description":"","frontmatter":{"title":"从模板新建对话","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"workbench/hosted-conversations.md","filePath":"workbench/hosted-conversations.md"}'),i={name:"workbench/hosted-conversations.md"};function l(c,e,n,r,p,s){return a(),t("div",null,[...e[0]||(e[0]=[d("",47)])])}const b=o(i,[["render",l]]);export{u as __pageData,b as default};
@@ -0,0 +1 @@
1
+ import{_ as o,o as a,c as t,a3 as r}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"创建、查找与管理会话","description":"","frontmatter":{"title":"创建、查找与管理会话","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"workbench/sessions.md","filePath":"workbench/sessions.md"}'),n={name:"workbench/sessions.md"};function s(p,e,i,l,d,c){return a(),t("div",null,[...e[0]||(e[0]=[r('<h1 id="创建、查找与管理会话" tabindex="-1">创建、查找与管理会话 <a class="header-anchor" href="#创建、查找与管理会话" aria-label="Permalink to &quot;创建、查找与管理会话&quot;">​</a></h1><h2 id="前置条件" tabindex="-1">前置条件 <a class="header-anchor" href="#前置条件" aria-label="Permalink to &quot;前置条件&quot;">​</a></h2><p>当前工作区已打开,Node 在线且至少一个 Agent 可用。会话列表只显示当前工作区中当前用户有权查看的 Agent 会话。</p><p>普通工作会话的执行目录必须是所选 Workspace 的有效根目录或其子目录;独立登记的 Git worktree 使用自己的 Workspace。目录被删除、根路径被替换或链接实际越界时,Node 会拒绝新执行,不会自动切换到其他目录。若排队消息因此暂停,先恢复有效目录,再使用队列的“继续”操作;消息与附件会保留,也可按原操作删除或清空队列。此检查不把工作模式变为宿主文件系统沙箱,也不改变托管对话的隔离目录。</p><h2 id="步骤" tabindex="-1">步骤 <a class="header-anchor" href="#步骤" aria-label="Permalink to &quot;步骤&quot;">​</a></h2><p>声明分组能力的 Node 会在会话列表中显示“主会话 / 子会话”,默认打开主会话。有父会话关联的会话归入子会话,无父关联的会话归入主会话。搜索和翻页只作用于当前分类;切换不会关闭当前对话或中断任务。同一页面内会记住各工作区上次选择的分类,刷新后默认主会话;缺少分组能力时保留混合列表。</p><p>分类标签只显示名称和选中态,不显示运行数或未读角标,点击只切换列表、不打开会话;具体会话行继续显示运行和未读。从通知、最近会话列表项或工作区 Tab 打开目标时,会同步正确的主/子分类。</p><p>点击或点按对话标题可以分享、重命名,或查看协作网络、会话提示词和定时任务(按会话能力显示)。要置顶、排序或删除,请使用会话列表的“更多”菜单。标题和列表菜单可<strong>复制会话 ID</strong>;标题栏不直接显示 ID。</p><p>从标题右侧图标、标题菜单或列表菜单打开<strong>协作网络</strong>弹窗。从主工作面或侧栏里的任意层级会话打开,都能看到它所在网络的上级、同级和其他相连分支;打开弹窗的会话以蓝色描边标为「当前会话」;查看其他协作白板时,该标记仍保留。大型网络超过显示上限时会提示。图中的绿点表示该会话正在运行;协作网络入口有绿点,则表示同一网络有其他会话正在运行,即使它没有显示在图中。实线箭头从父会话指向子会话,虚线表示当前共享协作白板;协作白板不占节点。打开时自动缩放并定位当前会话。可用滚轮或按钮在 10%–100% 之间缩放,也可拖动画布;手机上用单指拖动、双指捏合缩放。右侧默认显示所选会话当前关注的白板,未关注时显示自有白板。用右栏右上角的切换图标,可在关注的白板和自有白板之间切换,不改变关注关系。点虚线可直接查看对应的共享白板并高亮这条线。白板和最近操作记录仅供查看;旧记录只有摘要时,不显示条目详情。点会话节点的「更多」(···)或右键节点,可将该会话打开到主工作面或侧栏。关闭弹窗不会切换当前会话。旧版 Node 没有协作网络能力时,原入口仍打开会话树。</p><p>同一会话可以同时在主工作面和 Aside 打开;在一侧打开不会关闭另一侧,重复打开同一位置也不会刷新正文。每个工作区的 Main、Aside 各自保留独立的输入正文、技能标签和引用;同侧切换会话或新建会话不会替换输入,切换工作区后恢复该工作区对应侧的草稿。同一会话在两侧打开时也不共享输入,但仍防止同时重复提交;队列消息的编辑保持绑定原会话。关闭 Aside 会话标签只停止该位置的正文显示,不会结束 Agent 任务、删除会话或关闭主工作面。</p><p>普通工作模式下,关闭工作区仍会保留当前浏览器标签的草稿,以便重新打开时恢复。退出登录或登录身份失效会清除该标签保存的输入草稿与队列编辑内容,避免另一账号恢复它们;重要的未发送内容请先另行保存。这不会删除已经发送或已经排队的消息。</p><p>每个工作区的 Aside 最多保留一个会话标签。打开另一会话会替换原会话标签,保留 Aside 当前输入,不结束原会话任务;文件、终端等工具标签不受影响。</p><p>Agent 操作和来自其他会话的消息收在工作过程内的 <a href="./conversation">Agent 协作</a> 组。组内不提供会话快捷跳转。需要查看目标会话、发送消息或停止运行时,从会话列表或协作网络打开,仍遵循普通会话权限。</p><p>Agent 向已结束或正在停止的父、祖父等祖先会话发送消息或设置 Goal 时,操作会返回 <code>AGENT_ANCESTOR_NOT_ACTIVE</code>,不会重新拉起祖先。祖先恢复运行后可以正常发送;用户手动继续会话不受影响。</p><p>展开执行记录可查看已有的命令或代码、输出、工作目录、退出码和状态。每次调用各有一条记录。“复制公开记录”复制该条记录已有的公开信息,内容可能被截断;旧版 Node 提供的详情可能较少。</p><ol><li>工作区没有可恢复的会话时,主区默认显示新建会话草稿,即使列表已有历史会话也不会自动打开第一条。你可以直接输入,或从列表选择已有会话;新会话在首条消息发送成功后才创建。支持分组时,点击“新建会话”或使用新建快捷键会切到主会话分类。之后手动切换分类不会改变 Composer 草稿。</li><li>初次最多加载 30 个会话;滚动接近列表底部时会自动追加最多 30 个历史会话,搜索结果也按此方式继续加载,不会把新会话放到隐藏页。底部圆环表示正在读取;失败会保留已有会话并暂停自动加载,在底部点击“加载失败,点击重试”后继续;重试中只显示圆环。</li><li>在支持该功能的节点上,可按标题搜索当前工作区的会话,包括尚未加载到列表的会话。清空搜索后恢复普通列表。</li><li>使用会话列表的“更多”菜单重命名、置顶或删除。删除会话时会一并永久删除它的所有子会话(含更深层级),无法撤销,但不会删除工作区文件。正在运行的会话隐藏删除入口;确认删除期间若会话开始运行,操作不会提交。重命名和置顶仍可使用。</li><li>由 Agent CLI 或编辑器创建的历史会话被发现后也会出现在列表;首次发送时 Node 自动验证并激活安全的继续路径。</li></ol><p>节点重启后,各 Agent 的会话可能分批出现;加载较慢的 Agent 不会阻碍已找到的会话显示。会话重新出现在列表时会保留自定义标题。</p><p>新的 MAR Agent 会话先使用首条消息作为临时标题。自动标题一生成就会同步到会话列表和顶栏,即使任务仍在运行。手动设置的标题不会被自动标题覆盖。</p><p>会话列表、最近会话和快速打开默认在主工作面打开。点击通知列表里的通知、浏览器系统通知或<a href="./navigation">工作区标签未读</a>时,目标已在主工作面就留在那里;只在侧栏打开且侧栏可显示时,就切到侧栏,不替换主会话。桌面会短暂描边提示侧栏会话位置。目标尚未打开或侧栏无法显示时,在主工作面打开,不关闭已有侧栏标签。显式选择「在主工作面打开」或「在侧栏打开」仍按指定位置打开。</p><p>重复点击工作区树中的当前工作区,或跳转到已经打开的会话,不会主动刷新内容或重置阅读位置;正在加载时也不会重复请求。需要更新数据时请使用对应的刷新入口。</p><p><strong>成功标志:</strong> 所选会话在标题区显示名称和状态,刷新后仍能从对应 Agent 的历史中重新打开。</p><h2 id="阅读与运行反馈" tabindex="-1">阅读与运行反馈 <a class="header-anchor" href="#阅读与运行反馈" aria-label="Permalink to &quot;阅读与运行反馈&quot;">​</a></h2><p>首屏或更早历史加载失败时,不会自动反复请求;在正文点击“加载失败,点击重试”即可重新读取,加载与重试中只显示圆环。同一失败不重复弹出消息;重试入口的补充提示保留可用的错误码、详情和请求标识。已建立的实时订阅有有限恢复,页面连接恢复也会重建订阅;这些读取或订阅恢复不会重新执行 Agent 任务。</p><p>同一轮对话可以包含多个可折叠的“工作过程”。公开思考文本、工具和文件操作按实际顺序放在过程中;Agent 正文、审批和提问独立显示。当前过程默认展开,结束后自动收起,手动展开或收起的选择会保留。没有公开思考文本时不会生成空思考卡,思考内容也不代表执行状态。文件详情仍通过原有弹窗查看。</p><p>过程状态行上方与折叠的思考行会显示思考预览:使用对应范围内最新有效的公开思考记录(摘要或内容),取首个非空行,去除行首标题或加粗格式标记后提取首个分句;较早的摘要不会覆盖后续思考。长内容按可用宽度单行省略,展开思考可读取完整原文;思考预览不代表执行状态。</p><p>向上滚动到正文顶部会加载更早记录;新内容接在原内容上方,保留当前正在阅读的消息和视口位置,不自动跳到新页开头。继续上滚即可连续阅读更早记录。首屏加载完成后,如果顶部历史触发点仍在可视区,会自动补载一次并保持原阅读位置,不会连续拉取全部历史。正常状态不显示加载按钮,加载及重试中只显示圆环;失败后点击“加载失败,点击重试”,不会清空已读内容。历史全部加载后不再显示加载或起始提示。发送中只表示消息正在提交,不代表 Agent 已开始运行。运行状态来自 Node;没有可展示的具体动作时显示“运行中”,不凭空补写思考摘要。本轮耗时使用 Run 的起止时间,包含同轮等待和续作;缺少可靠时间时不显示,Node 重启后的新一轮重新计时。</p><h2 id="清理会话" tabindex="-1">清理会话 <a class="header-anchor" href="#清理会话" aria-label="Permalink to &quot;清理会话&quot;">​</a></h2><p>在当前工作区会话列表的“更多”菜单选择“清理会话”,输入 1–365 天(默认 30 天)后确认。活动时间早于所选天数的会话,以及活动时间显示为 <code>—</code> 的会话,都会纳入清理。单独清理时会保留置顶、运行中、排队、正在重启恢复或正在查看的会话。如果清理扫描已完成、所属 Agent 可用,但仍未找到某个会话,清理也可能移除其列表记录,不受天数限制。这只会移除列表记录,不会删除未找到的会话内容。</p><p>清理会永久删除符合条件的会话,无法撤销,但不会删除工作区文件。完成后弹窗显示实际删除、跳过、失败数量及按 Agent 的删除数量。</p><p>子会话按自己的活动时间单独参与清理。清理父会话时,也会删除它的所有子会话(含更深层级),即使子会话近期活跃、置顶、排队或正在查看。如果其中有会话正在运行或从重启中恢复,则保留其父会话。实际删除的子会话也计入统计。</p><p>如果清理提前结束、还有会话未处理,弹窗会显示“已完成部分清理”。未处理的会话不计为失败,已知剩余数量时会显示“待处理”。清理不会在后台继续;可以再次发起清理。节点离线或无法取得结果时仍会报错。</p><h2 id="分享工作会话" tabindex="-1">分享工作会话 <a class="header-anchor" href="#分享工作会话" aria-label="Permalink to &quot;分享工作会话&quot;">​</a></h2><p>在普通工作会话的“更多”菜单选择“分享对话”。有效期可选,留空则永久;创建后展示包含链接和随机六位数字密码的分享文字,点击“复制”即可整段复制。弹窗下方按创建时间从新到旧列出已有分享,可以随时复制同样的完整分享文字、打开链接或删除记录。较早版本创建的记录若未保存可恢复密码,首次复制时需补录原密码;验证后不再需要补录,原链接和密码保持不变。</p><p>分享页顶部显示会话标题和工作区名称。访客输入密码后进入独立聊天页,不需要工作台账号。登录凭据、匿名标识及首次发送时设置的名称保存在当前浏览器;刷新或重新打开仍可恢复。右侧“参与者”首位显示分享者,其余显示同一会话所有分享链接的在线参与者。同一浏览器的匿名身份和名称跨链接复用。在自己的访客名称旁可编辑显示名称,其他已打开的分享页会同步更新;取消不会更改名称,也不会发送消息。访客名称与消息中的发言者名称一致,不因工作台登录状态合并或隐藏;未设置名称时也显示匿名访客。分享者固定显示账号昵称,无昵称时显示用户名;分享者的绿点仅在其打开分享页时显示,关闭最后一个页面后下线。昵称只用于显示,不用于授权。</p><p>分享访问原会话的全部历史与后续消息。访客以分享者身份使用原 Agent 和会话配置,可以发送消息、上传附件、引用文件或技能、排队、插入和打断;多人操作的状态和互斥与多个浏览器打开同一会话一致。分享页不显示模型、思考强度、访问模式、上下文用量及其提示,也没有输入预测或工作区管理区域,文件链接仍支持普通及独立窗口的只读预览,包括 Markdown 和 HTML 渲染。只读模式不会阻止 HTML 运行脚本。请仅预览信任的文件,参见 <a href="./files#步骤">HTML 预览风险</a>。</p><p><strong>只把链接和密码交给可信任的人。</strong> 分享者的退出登录不撤销分享;需要停止访问时删除该分享记录。删除或到期立即使对应聊天页失效并拒绝后续读取和发送,但不会停止已经接受的任务,也不收回已读内容;其他分享链接和原工作台不受影响。</p><h2 id="正常停止后的自动续作" tabindex="-1">正常停止后的自动续作 <a class="header-anchor" href="#正常停止后的自动续作" aria-label="Permalink to &quot;正常停止后的自动续作&quot;">​</a></h2><p>普通 Workspace 的 MAR Agent 支持 Node 收到 <code>SIGTERM</code> / <code>SIGINT</code>、完成正常退出后再启动时自动续作;正常停止后稍晚手动启动也适用。Node 重新连接 Server 后,会按当前用户权限和模型授权恢复同一会话中的未完成任务、目标与消息队列;原本暂停的队列保持暂停。恢复期间,该会话暂不接受新消息或队列修改。</p><p>普通运行的历史会显示“系统重启续作”,不会冒充用户手动发言;活动 Goal 只创建一条目标续作,不叠加普通续作。恢复提示要求 Agent 因系统重启先检查现场,再继续未完成工作:不会恢复旧工具进程、终端、审批、问题或后台 cell,也不保证外部操作只发生一次。排队消息按原顺序重新准备,附件随输入恢复,但原附件预览地址不保证保留。</p><p>异常退出、强制杀进程、主机断电、退出交接失败、其他 Agent、托管对话及管理端受控升级不在范围内。用户失权、模型不可用或输入无法重建时,不会绕过检查强行执行;请检查 Node 诊断并手动接手。恢复清单只消费一次,不会在下次启动反复重试。</p><h2 id="会话提示词-session-prompt" tabindex="-1">会话提示词(Session Prompt) <a class="header-anchor" href="#会话提示词-session-prompt" aria-label="Permalink to &quot;会话提示词(Session Prompt)&quot;">​</a></h2><p>在支持的 Node 上,从已有会话的“更多”菜单选择“会话提示词”,输入多行指令并保存;留空保存可清除。最多 20000 字符,仅属于此会话,重新打开或 Node 重启后仍保留。它追加在当前发送者的通用个人提示词和 Agent 专属个人提示词之后,不替代账号设置,也不作为普通消息显示。</p><p>修改不打断当前执行,从下一次执行开始生效,包括排队消息、Goal 续作以及 marctl 向该会话发送的消息。也可用 <a href="./../operations/marctl#持久指令与审批">marctl 查看、设置或清除提示词</a>。清除只停止后续注入,不会删除 Agent 对话历史中已有的旧指令;若需完全隔离旧指令,请创建新会话。托管对话不提供此设置。</p><h2 id="失败排查" tabindex="-1">失败排查 <a class="header-anchor" href="#失败排查" aria-label="Permalink to &quot;失败排查&quot;">​</a></h2><ul><li>列表没有更新:先检查当前 Node 在线,再手动刷新当前 Workspace;不要用浏览器整页刷新代替 Node 故障排查。</li><li>会话无法继续:查看<a href="./../concepts/runner-control">Agent 与会话控制状态</a>。</li><li>删除失败:确认会话没有正在运行,并且当前账户拥有该工作区的使用权限。</li><li>定时未执行:在<a href="#定时任务">定时任务</a>中查看该次执行记录。</li></ul><p>下一步:<a href="./composer">发送消息与 Composer</a>。</p><h2 id="安全与影响" tabindex="-1">安全与影响 <a class="header-anchor" href="#安全与影响" aria-label="Permalink to &quot;安全与影响&quot;">​</a></h2><p>重命名和置顶只改变 MyAgentRoam 中的显示信息,不改写对话正文。删除会移除对应 Agent 会话,不能恢复;删除前确认不再需要其历史。</p><h2 id="定时任务" tabindex="-1">定时任务 <a class="header-anchor" href="#定时任务" aria-label="Permalink to &quot;定时任务&quot;">​</a></h2><p>点击“工作”旁带勾的日历图标打开<strong>定时任务</strong>,或从已有会话的菜单进入同一页面并筛选该会话。<strong>我的定时</strong>只显示你当前拥有且仍有权访问的任务;<strong>全部定时</strong>也显示有权查看的其他任务。两页都可以按工作区筛选,列表在同名工作区旁显示节点。任务卡片每页显示 20 条:桌面端可点击页码切换,移动端滚动到底部会自动加载下一页。每张任务卡片显示该任务的下次执行时间。离线节点可能只显示上次同步的任务摘要;编辑和查看执行记录需要节点在线。</p><p><strong>会话定时任务</strong>即使为空也显示当前会话名称。点击<strong>返回全部定时</strong>回到全局列表;从会话范围新建时,执行节点、工作区和运行会话不可更改。在定时页点击指向会话的通知,会直接退出定时页并显示该会话。</p><ol><li>点击<strong>新建定时</strong>,依次选择在线节点、工作区和运行目标。可以复用已有会话,也可以选择<strong>每次新建会话</strong>,并指定 Agent 和固定模型。选择模型后会带入该模型的默认推理强度,可在模型支持时调整。已有会话使用触发时的会话配置。定时不适用于托管对话。</li><li>填写任务名称和提示词。在<strong>执行时间</strong>中,每个时刻单独添加一行,选择<strong>仅一次</strong>、<strong>每天</strong>、<strong>每周</strong>或<strong>每月</strong>。选仅一次时,节点会建议最近可执行的日期,你可以修改。每周可多选星期,每月可多选几号;没有 31 日的月份会跳过。多行时间命中同一分钟也只执行一次。不同时间需要不同提示词时,请新建独立任务。</li><li>按界面显示的 Node 时区检查接下来几次触发并保存。任务按当前所有者身份执行。通过 Web 保存编辑或接受修改提议后,任务转归保存者或接受者;只打开、取消或拒绝提议不会变更归属。需要时开启运行结果通知;默认关闭,关闭后仍保留执行记录,修改提议仍单独发送通知。</li></ol><p>仅一次的时间可以开启补跑,并设置最多等待多少分钟;新任务默认关闭补跑。从旧版时间设置升级时,原任务会暂停,需重新设置执行时间;任务和执行记录仍保留。</p><p>支持的节点在<strong>执行时间</strong>中也可选<strong>每小时</strong>,不填时刻,只选每小时的第几分钟(可多选)。默认 <code>00</code>(整点);选 <code>15</code>、<code>45</code> 会在每小时的第 15 和 45 分钟各执行一次。它可和其他规则并用,同一分钟命中时只执行一次。</p><p>有权操作该工作区时,点击在线任务卡片即可编辑,不限于自己创建的任务。有工作区权限的成员也可删除任务和处理修改提议;离线任务不能编辑或删除。如果已保存的固定模型不再可选,仍可保留原目标并编辑其他设置;该模型在执行时仍须可用。点击在线卡片的绑定会话入口,可打开对应会话。点击卡片上的<strong>执行记录</strong>,打开该任务的记录弹窗,不离开任务列表。二级菜单中的<strong>执行记录</strong>则汇总所有有权访问的任务,可按工作区筛选。桌面端在表格右下角切页,移动端滚动到表格末尾自动加载更多。展开单条记录可查看触发时的提示词与已记录的实际起止时间。若有权限读取原始运行,详情还会显示对应 Run 的 ID 和状态,并可打开运行所在会话。仅编辑名称或提示词不会重新排期;修改时间或恢复启用才会重新计算。指定日期用完时显示<strong>排期已结束</strong>,不代表每次运行都成功。</p><p>已有会话有启用且仍有后续触发的任务时会置顶并显示定时图标。暂停、排期结束或删除任务不会自动取消置顶。暂停保留执行记录,删除任务会一并删除记录;若还有正在处理的触发,可先暂停任务,再等该次触发结算。删除目标会话会暂停关联任务并标记需要重新绑定,不会自动改为每次新建会话。</p><p>定时没有执行时,先查看该次记录。周期触发遇到会话忙碌或服务不可用可跳过,不批量补跑;指定日期的触发可在设置的时限内等待(0–60 分钟,新任务默认 0,即不等待)。任务仍按所有者当前权限执行,失权不能通过等待绕过。“结果未知”不表示一定未执行;检查运行和外部结果后再决定是否手动重做。</p><p>定时运行会自动批准工具权限请求,包括第三方 MCP,Agent 沙箱和主机限制仍生效;需要输入的问题仍需用户回答。普通 Workspace 内,MAR Agent 优先使用内建 <code>marctl</code> 技能;未提供该技能时或使用其他支持的 Agent,可用内建 <code>mar_schedule</code> MCP 列出、读取、创建、修改当前会话的定时任务和查询触发记录,无需额外安装。更新必须指定任务及其当前版本;修改其他人的任务会生成提议,由有该工作区权限的成员在 Web 中处理。要在当前授权 Workspace 中跨会话管理任务,参见 <a href="./../operations/marctl#定时任务">用 marctl 管理定时任务</a>。这些工具不管理系统定时器或 CI。</p>',58)])])}const A=o(n,[["render",s]]);export{h as __pageData,A as default};
@@ -1 +1 @@
1
- import{_ as o,o as a,c as t,a3 as r}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"创建、查找与管理会话","description":"","frontmatter":{"title":"创建、查找与管理会话","lastUpdated":"2026-11-28T00:00:00.000Z"},"headers":[],"relativePath":"workbench/sessions.md","filePath":"workbench/sessions.md"}'),n={name:"workbench/sessions.md"};function s(p,e,i,l,d,c){return a(),t("div",null,[...e[0]||(e[0]=[r("",57)])])}const A=o(n,[["render",s]]);export{h as __pageData,A as default};
1
+ import{_ as o,o as a,c as t,a3 as r}from"./chunks/framework.BHjrhdiC.js";const h=JSON.parse('{"title":"创建、查找与管理会话","description":"","frontmatter":{"title":"创建、查找与管理会话","lastUpdated":"2026-11-29T00:00:00.000Z"},"headers":[],"relativePath":"workbench/sessions.md","filePath":"workbench/sessions.md"}'),n={name:"workbench/sessions.md"};function s(p,e,i,l,d,c){return a(),t("div",null,[...e[0]||(e[0]=[r("",58)])])}const A=o(n,[["render",s]]);export{h as __pageData,A as default};