@myagentroam/server 0.14.34 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/dist/browser-attachment.d.ts +45 -6
- package/node_modules/@myagentroam/protocol/dist/browser-attachment.js +15 -2
- package/node_modules/@myagentroam/protocol/dist/browser-frame.d.ts +1 -3
- package/node_modules/@myagentroam/protocol/dist/browser-frame.js +3 -4
- package/node_modules/@myagentroam/protocol/dist/index.d.ts +104 -92
- package/node_modules/@myagentroam/protocol/dist/index.js +4 -2
- package/node_modules/@myagentroam/protocol/dist/model-usage.d.ts +6 -6
- package/node_modules/@myagentroam/protocol/dist/remote-desktop.d.ts +8 -8
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/mar-agent-model-service.js +6 -4
- package/node_modules/@myagentroam/server-core/dist/mar-agent-runtime-model-service.js +13 -5
- package/node_modules/@myagentroam/server-core/dist/model-settings-migration.d.ts +7 -0
- package/node_modules/@myagentroam/server-core/dist/model-settings-migration.js +41 -0
- package/node_modules/@myagentroam/server-core/dist/model-settings.d.ts +2 -2
- package/node_modules/@myagentroam/server-core/dist/model-settings.js +8 -8
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.d.ts +5 -0
- package/node_modules/@myagentroam/server-core/dist/mysql-schema.js +3 -2
- package/node_modules/@myagentroam/server-core/dist/node-identity-control.d.ts +1 -0
- package/node_modules/@myagentroam/server-core/dist/run-model-payload.js +7 -4
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/node-control.d.ts +1 -0
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/{AuditManagementPage-5yHez_Xb.js → AuditManagementPage-D3BOaNah.js} +1 -1
- package/web/assets/{AuthEntryPanel-BOPwu03Y.js → AuthEntryPanel-RLUNGcqK.js} +1 -1
- package/web/assets/{CodeFileEditor-Cp0EAaZK.js → CodeFileEditor-BIyYIsOR.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-CrQLVY7d.js → ConversationTemplateManagementPage-CPpz2BUE.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-BZafbTrp.js → ConversationTemplateManagementPage-Dc4VtQoO.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-DZ4ULhTr.js → EnterpriseUserManagementPage-aWwnBkwG.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-CZu_ao23.js → EnvironmentSecretManager-CDg3Prcy.js} +1 -1
- package/web/assets/{FilePreviewLoading-CeFlBQmK.js → FilePreviewLoading-BDImHda5.js} +1 -1
- package/web/assets/{LicenseManagementPage-BAIy9st_.js → LicenseManagementPage-CG7jKcnx.js} +1 -1
- package/web/assets/{ManagementPagination-iVeIaavI.js → ManagementPagination-Cj5nNg9Z.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-CnPxWBWt.css → MarAgentModelManagementPage-BjuIBG0z.css} +1 -1
- package/web/assets/MarAgentModelManagementPage-DjYpHbYa.js +1 -0
- package/web/assets/{MarAgentModelManagementPage-BLBGEE86.js → MarAgentModelManagementPage-DsBwKbMk.js} +1 -1
- package/web/assets/{MarAlert-DMK3K-dx.js → MarAlert-DP2gBQbM.js} +1 -1
- package/web/assets/{MarCascader-vzJfVMo9.js → MarCascader-D2REz-xc.js} +1 -1
- package/web/assets/{MarCheckTag-nta2cNMO.js → MarCheckTag-uE3qfRTj.js} +1 -1
- package/web/assets/{MarCheckboxGroup-C5CAgo47.js → MarCheckboxGroup-DuKnWTg_.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-COtf9kLk.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-w_OJ7SE3.js} +1 -1
- package/web/assets/{MarDatePicker-gFNdQA1-.js → MarDatePicker-ST8nE2rR.js} +1 -1
- package/web/assets/{MarDescriptionsItem-DBrtgIZT.js → MarDescriptionsItem-B9A8xJvX.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-odb4ExPN.js → MarFormItem.vue_vue_type_script_setup_true_lang-BoZON81R.js} +1 -1
- package/web/assets/{MarInputNumber-BKeZW3f-.js → MarInputNumber-iCN2AZlL.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-CF7nuWAZ.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-C3VPGpGy.js} +1 -1
- package/web/assets/{MarSwitch-BIElS0pY.js → MarSwitch-Dlnspzrb.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-Czr94RZd.js → MarTableColumn.vue_vue_type_script_setup_true_lang-BtvbjEmw.js} +1 -1
- package/web/assets/{MarTabs-DAD0tpKq.js → MarTabs-CS_kZZj0.js} +1 -1
- package/web/assets/{MarTag-hmN6iM7o.js → MarTag-bu555sSi.js} +1 -1
- package/web/assets/{MarkdownFilePreview-Kyj4jHem.js → MarkdownFilePreview-D4gqefwz.js} +2 -2
- package/web/assets/{McpDetailsDialog-xvbmOgwG.js → McpDetailsDialog-CzHLlllq.js} +1 -1
- package/web/assets/{McpSourceManagementPage-BDznEefZ.js → McpSourceManagementPage-CIC0soXQ.js} +1 -1
- package/web/assets/{McpSourceManagementPage-DOqx9cUu.js → McpSourceManagementPage-CQNxoCxs.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-DsQvFavB.js → NodeDetailsDialogs-Bh9OgfWD.js} +1 -1
- package/web/assets/NodeManagementPage-BrGfAsRS.js +1 -0
- package/web/assets/NodeManagementPage-pEcf9sCb.js +1 -0
- package/web/assets/{OAuthManagementPage-DSAVWXuj.js → OAuthManagementPage-D3xh7OPo.js} +1 -1
- package/web/assets/{OrganizationManagementPage-Bm5DMcNr.js → OrganizationManagementPage-B6qq4NpD.js} +1 -1
- package/web/assets/RemoteDesktopPage-C17erH5j.js +1 -0
- package/web/assets/{ResourceManagementPanel-BCwrytYS.js → ResourceManagementPanel-d-fzoNn2.js} +2 -2
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DMiayNds.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-ro2Oqf3q.js} +1 -1
- package/web/assets/SecretManagementPage-BOZ_yEvA.js +1 -0
- package/web/assets/{SecretManagementPage-BP3C4b7b.js → SecretManagementPage-lKviulCD.js} +1 -1
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BWKw4Wuv.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-TO5sEzCH.js} +1 -1
- package/web/assets/{SessionSharePage-BQs9cn1Z.js → SessionSharePage-bKEjUTVp.js} +2 -2
- package/web/assets/SettingsContent-DPf-9yGZ.js +1 -0
- package/web/assets/SettingsContent-DT2C3SmU.js +1 -0
- package/web/assets/{SkillCenterPage-j5ifX1R7.js → SkillCenterPage-DvY_MM8J.js} +1 -1
- package/web/assets/SkillCenterPage-ibxSlfJF.js +1 -0
- package/web/assets/{SkillDetailsDialog-DeyCCsFb.js → SkillDetailsDialog-BDEubvnK.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-562trimM.js → SkillSourceManagementPage-1JmW6Yg4.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-D04XC4Ob.js → SkillSourceManagementPage-qjKOTERW.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-Ck8zTEey.js → StandaloneFilePreviewPage-CypTMvv5.js} +1 -1
- package/web/assets/{SystemConfigurationPage-Bb_1QaPw.js → SystemConfigurationPage-BCVpNTxZ.js} +1 -1
- package/web/assets/{SystemConfigurationPage-DuuxNFFy.js → SystemConfigurationPage-BCndgAZm.js} +1 -1
- package/web/assets/{SystemInformationPage-BviqN5X7.js → SystemInformationPage-mrYepz8f.js} +1 -1
- package/web/assets/{TerminalTabView-DnM_BmLM.js → TerminalTabView-D8LZ2sc4.js} +2 -2
- package/web/assets/{WorkbenchPage-CE2lwfEm.css → WorkbenchPage-D2_axRL-.css} +1 -1
- package/web/assets/WorkbenchPage-DJU8RiQb.js +21 -0
- package/web/assets/WorkspaceManagementPage-1_O4fA7N.js +1 -0
- package/web/assets/WorkspaceManagementPage-tJIr3t4z.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-B33L-igF.js → abnfDiagram-VCTEODGH-CUFnjdCu.js} +1 -1
- package/web/assets/{arc-CbwEG_p1.js → arc-DgE0axYw.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-DaAcLrPy.js → architectureDiagram-5GKGNRK7-B1Y1y-4N.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-Cph_xUn9.js → blockDiagram-OSKFZWR5-CR3GkLel.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-BPiLlrYu.js → c4Diagram-7LVT6UL2-Cv78v9V5.js} +1 -1
- package/web/assets/{catalog-ownership-service-B40XMBvX.js → catalog-ownership-service-CDOtjmq5.js} +1 -1
- package/web/assets/{catalog-page-service-C7WyrTM5.js → catalog-page-service-Bmoc4ACs.js} +1 -1
- package/web/assets/channel-DC_j9vJj.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-1Mjsddt6.js → chunk-2Q5K7J3B-t4_flB34.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-BzIoIXKM.js → chunk-5VM5RSS4-CjzAh_gd.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-B__SCowt.js → chunk-F27PBJKO-CBgkbXxh.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-hsNBpvQp.js → chunk-HLEWEB6X-dYYQlytQ.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-BtHLFwGo.js → chunk-JWPE2WC7-D1pNfE_5.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-C4efg_H_.js → chunk-POPQ4Y6H-CakoFkjd.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-m_DWNrjU.js → chunk-SVP7TREG-cTLQPAiC.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-BRkfov7D.js → chunk-XXDRQBXY-YKo0qjRP.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-DPD5ZsNz.js → chunk-ZLD2IHE6-UIMKlKDS.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-BeaL43E2.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-BeaL43E2.js +1 -0
- package/web/assets/{conversation-history-CQWR-YgT.js → conversation-history-dtdO_3Df.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-CDv37y76.js → cose-bilkent-JH36ORCC-BAg6aj5W.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-CaHjZbqD.js → cynefin-OW5HDTMX-BmKXkZVU.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-CTkZY_hY.js → cynefinDiagram-5FMLGOSQ-DsQSPcoM.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-X4QGC4hA.js → dagre-OS7QT2EB-BGQknI8b.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-V6XWxUnr.js → diagram-S7CK7UJ4-CANP7rf0.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-CQaCPwVH.js → diagram-UQ7AKVKN-CclkTrZ3.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-D7ouRcHB.js → diagram-VSXAHHWV-CeZP1_0Y.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-DZg7ugtn.js → diagram-VX7I27RA-CiShCYii.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII--bLV_CE_.js → diagram-Z3DM3KII-OZqhIeVf.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-CEd4UCef.js → ebnfDiagram-PWID7BFC-DOnIDO61.js} +1 -1
- package/web/assets/{enterprise-management-service-D02eJ6g_.js → enterprise-management-service-dfnBeBvl.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-yqJJurwj.js → erDiagram-2YWLMYGG-C2wA_Y7Q.js} +1 -1
- package/web/assets/{error-presentation-ChSSdpVD.js → error-presentation-iMDy7lT0.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-DbBKBGit.js → flowDiagram-T62WH6J4-DVYZMVPt.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-C_2zStIm.js → ganttDiagram-EL5Y4UJY-C3CaJUAv.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-QPqZ4V-f.js → gitGraphDiagram-WWUBYQGX-Ddhb7jgc.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-BMNV1H03.js → hosted-conversation-template-client-DE7bfZ36.js} +1 -1
- package/web/assets/{index-4f4IHgAB.js → index-3FzmaUTQ.js} +14 -14
- package/web/assets/{index-CDV9kEnY.js → index-3N6_nqBr.js} +1 -1
- package/web/assets/{index-f4gEQs5q.js → index-3cz7e2I0.js} +1 -1
- package/web/assets/{index-DrkNxmhK.js → index-BFafbIPn.js} +1 -1
- package/web/assets/{index-2bPsCbhx.js → index-BFlO_at-.js} +1 -1
- package/web/assets/{index-DhcfC-s_.js → index-BGj6TsGU.js} +1 -1
- package/web/assets/{index-DudgcdTN.js → index-BZ5Xf8Bm.js} +1 -1
- package/web/assets/{index-CzOzH7-M.js → index-C4tx9ILY.js} +1 -1
- package/web/assets/{index-DTTAUdyN.js → index-C5WOEWvO.js} +1 -1
- package/web/assets/{index-ZzXhMqlZ.js → index-CcSzJWKM.js} +1 -1
- package/web/assets/{index-D052kNoO.js → index-ClVNxDTA.js} +1 -1
- package/web/assets/{index-DBRDdX9u.js → index-Cq8IalXe.js} +1 -1
- package/web/assets/{index-YIpuG9GX.js → index-DIhDlWRk.js} +1 -1
- package/web/assets/{index-Dj7xYbcr.js → index-DIzCJX1j.js} +1 -1
- package/web/assets/{index-CLDuDNuT.js → index-DX00rsiP.js} +1 -1
- package/web/assets/{index-DTrQW0SW.js → index-DddC7ilj.js} +1 -1
- package/web/assets/{index-2IS0CsUz.js → index-DeLoiRVZ.js} +1 -1
- package/web/assets/{index-Wo3EHlIV.js → index-DiVoPS4F.js} +1 -1
- package/web/assets/{index-BNvijv78.js → index-DoBro3IG.js} +1 -1
- package/web/assets/{index-BZg-_bo3.js → index-JPzX7qpd.js} +1 -1
- package/web/assets/{index-DrVV-7ku.js → index-ORigwggH.js} +1 -1
- package/web/assets/{index-cLl4NBi_.js → index-SFHvhVNA.js} +1 -1
- package/web/assets/{index-_3CV0cBV.js → index-UEvbSfwG.js} +1 -1
- package/web/assets/{index-Dg9hpb2H.js → index-UeaUK-Kg.js} +1 -1
- package/web/assets/{index-Bj7eBfOc.js → index-Y--18vqZ.js} +1 -1
- package/web/assets/{index-dR6PNY5Z.js → index-uJnFeBvJ.js} +1 -1
- package/web/assets/{index-CjTbAt_D.js → index-vmTG4Y0U.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-BBgeb-xG.js → infoDiagram-FKFFQAWI-CQNO9_5v.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-CpmlZq2l.js → ishikawaDiagram-5VMMS53U-DPu56b7-.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-BUMWYoxh.js → journeyDiagram-EYS64GPL-LFZ6N5QO.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-Boo_QNAc.js → kanban-definition-UXKFOSKX-D0SMUp52.js} +1 -1
- package/web/assets/{layout-LUBlgnzZ.js → layout-8Fp1mRaa.js} +1 -1
- package/web/assets/{linear-Dr470Kcg.js → linear-Be_kl9_0.js} +1 -1
- package/web/assets/{management-url-service-I3H5ZN4D.js → management-url-service-Cv43dIMm.js} +1 -1
- package/web/assets/{mar-agent-reasoning-effort-Dm49nGb_.js → mar-agent-reasoning-effort-BU4EF-we.js} +1 -1
- package/web/assets/{mcp-center-service-KBifkNSj.js → mcp-center-service-0H1B7Nyh.js} +1 -1
- package/web/assets/{mermaid.core-CIQRbi8a.js → mermaid.core-ayS2xqqK.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-Vbq9r5kZ.js → mindmap-definition-THT77NOG-CVhoBXKN.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-wfuNDL4n.js → mobile-dialog-return-service-DCwfppXa.js} +1 -1
- package/web/assets/{oauth-callback-Bq9Xk9iG.js → oauth-callback-C_m7O6f0.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-DYG2bQmX.js → pegDiagram-XKGWAZYB-DaoYhimH.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-DC6dkwQ_.js → pieDiagram-E7YTZNPT-DCfL6Wh9.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-CbHmiXnx.js → quadrantDiagram-AXDQQJYC-BLR9jPHi.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-Djf0TK1Z.js → railroadDiagram-O6MQD6OU-D7PKsORH.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-Cgq-e62m.js → requirementDiagram-IS5BZ75X-cbdRyXPC.js} +1 -1
- package/web/assets/rfb-ByKEQGJ8.js +5 -0
- package/web/assets/{runner-presentation-BHNt7221.js → runner-presentation-Bxye_6Gb.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-DD6sNNvb.js → sankeyDiagram-P5KCCOFB-OfAnfS5V.js} +1 -1
- package/web/assets/{scoped-http-service-Bn1MHltZ.js → scoped-http-service-DlSGLdXE.js} +3 -3
- package/web/assets/{sequenceDiagram-WJ2MYXX4-CG-HIOPI.js → sequenceDiagram-WJ2MYXX4-BczFgG2a.js} +1 -1
- package/web/assets/{session-share-client-service-Dnctb08y.js → session-share-client-service-pXMCIyZx.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-DGINIz6Q.js → sizeCapture-INFHLROL-DE5ip5Be.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-Dmk2ISQ6.js → stateDiagram-XQSTLZYL-_UDiTYwA.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CVq-Y-n_.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-BldeSKlC.js → swimlanes-V6O3JKXN-DxzvU41N.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-m_m0zncw.js +8 -0
- package/web/assets/{time-presentation-K7Nwr6_s.js → time-presentation-cTdfu6DA.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-DwZ49RGe.js → timeline-definition-24CTP7MA-CJC8Igb_.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-CDov4_cR.js → vennDiagram-4TSXK5OY-DLIvz0qt.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-DneerqLW.js → wardleyDiagram-VM6X3IG4-s0ondYTF.js} +1 -1
- package/web/assets/{workbench-live-service-ibN0jWPS.js → workbench-live-service-BNRcaV-T.js} +1 -1
- package/web/assets/{workbench-presentation-BHuCqMfM.js → workbench-presentation-C36PrNXK.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-pe06PFwe.js → xychartDiagram-S5SC5T6Z-CSghDCXE.js} +1 -1
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.u06yuY1b.js → app.B_TkUbWj.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.-cyO5yWw.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.Cwkjl1Gp.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.CIVic1FS.js → VPLocalSearchBox.a6OmzyTM.js} +1 -1
- package/web/docs/assets/chunks/{theme.COaKKprM.js → theme.c_zEKiyr.js} +2 -2
- package/web/docs/assets/en-US_runners_mar-agent.md.CXUOsem5.js +46 -0
- package/web/docs/assets/{en-US_runners_mar-agent.md.Dn6DOips.lean.js → en-US_runners_mar-agent.md.CXUOsem5.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_browser.md.BO6S522n.js +1 -0
- package/web/docs/assets/{en-US_workbench_browser.md.B3T9bVsg.lean.js → en-US_workbench_browser.md.BO6S522n.lean.js} +1 -1
- package/web/docs/assets/runners_mar-agent.md.CJetnIxB.js +46 -0
- package/web/docs/assets/{runners_mar-agent.md.lv46Uck9.lean.js → runners_mar-agent.md.CJetnIxB.lean.js} +1 -1
- package/web/docs/assets/workbench_browser.md.itP26Yaa.js +1 -0
- package/web/docs/assets/{workbench_browser.md.CcUavMNh.lean.js → workbench_browser.md.itP26Yaa.lean.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +5 -5
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/browser.html +5 -5
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +3 -3
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +3 -3
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +5 -5
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/browser.html +5 -5
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +3 -3
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +3 -3
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/MarAgentModelManagementPage-qpXF6NxK.js +0 -1
- package/web/assets/NodeManagementPage-CjKX0D6L.js +0 -1
- package/web/assets/NodeManagementPage-DNbM88nA.js +0 -1
- package/web/assets/RemoteDesktopPage-DhIzy2h8.js +0 -5
- package/web/assets/SecretManagementPage-DUFcICs5.js +0 -1
- package/web/assets/SettingsContent-C3tJF1rj.js +0 -1
- package/web/assets/SettingsContent-D_DMNGVz.js +0 -1
- package/web/assets/SkillCenterPage-CAicDaPA.js +0 -1
- package/web/assets/WorkbenchPage-BIPvlVjU.js +0 -21
- package/web/assets/WorkspaceManagementPage-C0VFLVCo.js +0 -1
- package/web/assets/WorkspaceManagementPage-C78-7nHb.js +0 -1
- package/web/assets/channel-BWZ7RR-y.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-BHju0Fs9.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-BHju0Fs9.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-5vVCKtFw.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-BANoAihL.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.B045TcGH.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.Bt7YwSVx.js +0 -1
- package/web/docs/assets/en-US_runners_mar-agent.md.Dn6DOips.js +0 -46
- package/web/docs/assets/en-US_workbench_browser.md.B3T9bVsg.js +0 -1
- package/web/docs/assets/runners_mar-agent.md.lv46Uck9.js +0 -46
- package/web/docs/assets/workbench_browser.md.CcUavMNh.js +0 -1
|
@@ -71,6 +71,7 @@ export const marAgentRuntimeCredentialCapabilitySchema = z
|
|
|
71
71
|
responsesOptionalParameters: z.boolean().optional(),
|
|
72
72
|
responsesHttpContinuation: z.boolean().optional(),
|
|
73
73
|
contextGcControl: z.boolean().optional(),
|
|
74
|
+
contextGcWithThought: z.boolean().optional(),
|
|
74
75
|
modelSocks5Proxy: z.boolean().optional(),
|
|
75
76
|
unifiedCompactControl: z.boolean().optional(),
|
|
76
77
|
smartCompactControl: z.boolean().optional(),
|
|
@@ -790,6 +791,7 @@ export const imageGenerationCatalogSchema = z
|
|
|
790
791
|
if (new Set(models.map((model) => model.id)).size !== models.length)
|
|
791
792
|
context.addIssue({ code: 'custom', message: 'Image model IDs must be unique.' });
|
|
792
793
|
});
|
|
794
|
+
export const marAgentContextGcModeSchema = z.enum(['off', 'auto', 'with_thought']);
|
|
793
795
|
const marAgentModelShape = {
|
|
794
796
|
metadata: z
|
|
795
797
|
.object({ useResourceUrl: z.boolean().default(false) })
|
|
@@ -810,7 +812,7 @@ const marAgentModelShape = {
|
|
|
810
812
|
unifiedCompact: z.boolean().default(false),
|
|
811
813
|
titleGeneration: z.boolean().default(false),
|
|
812
814
|
codeMode: z.boolean().default(false),
|
|
813
|
-
|
|
815
|
+
contextGcMode: marAgentContextGcModeSchema.optional(),
|
|
814
816
|
serviceTier: marAgentResponsesServiceTierSchema.optional(),
|
|
815
817
|
hostedWebSearch: z.boolean(),
|
|
816
818
|
responsesTransport: marAgentResponsesTransportSchema.optional(),
|
|
@@ -1768,7 +1770,7 @@ export const nodeWorkbenchCapabilitiesSchema = z.object({
|
|
|
1768
1770
|
terminalDirect: terminalDirectCapabilitySchema.optional(),
|
|
1769
1771
|
browser: browserCapabilitySchema.optional(),
|
|
1770
1772
|
browserViewportResize: z.literal(true).optional(),
|
|
1771
|
-
|
|
1773
|
+
browserVnc: z.literal(true).optional(),
|
|
1772
1774
|
browserTabIcons: z.literal(true).optional(),
|
|
1773
1775
|
browserAgentActivity: z.literal(true).optional(),
|
|
1774
1776
|
browserForegroundPresence: z.literal(true).optional(),
|
|
@@ -26,18 +26,18 @@ export declare const modelUsageGrantClaimsSchema: z.ZodObject<{
|
|
|
26
26
|
}, "strict", z.ZodTypeAny, {
|
|
27
27
|
userId: number;
|
|
28
28
|
expiresAt: number;
|
|
29
|
+
mode: "conversation" | "work";
|
|
29
30
|
nodeId: string;
|
|
30
31
|
audience: "model-usage-v1";
|
|
31
32
|
scopeId: string;
|
|
32
|
-
mode: "conversation" | "work";
|
|
33
33
|
issuedAt: number;
|
|
34
34
|
}, {
|
|
35
35
|
userId: number;
|
|
36
36
|
expiresAt: number;
|
|
37
|
+
mode: "conversation" | "work";
|
|
37
38
|
nodeId: string;
|
|
38
39
|
audience: "model-usage-v1";
|
|
39
40
|
scopeId: string;
|
|
40
|
-
mode: "conversation" | "work";
|
|
41
41
|
issuedAt: number;
|
|
42
42
|
}>;
|
|
43
43
|
export declare const modelUsageGrantSchema: z.ZodObject<{
|
|
@@ -513,32 +513,32 @@ export declare const personalUsageQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
513
513
|
from: number;
|
|
514
514
|
to: number;
|
|
515
515
|
timeZone: string;
|
|
516
|
-
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
517
516
|
mode?: "conversation" | "work" | undefined;
|
|
517
|
+
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
518
518
|
runner?: "mar-agent" | "codex" | "claude-code" | "opencode" | undefined;
|
|
519
519
|
model?: string | undefined;
|
|
520
520
|
}, {
|
|
521
521
|
from: number;
|
|
522
522
|
to: number;
|
|
523
523
|
timeZone: string;
|
|
524
|
-
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
525
524
|
mode?: "conversation" | "work" | undefined;
|
|
525
|
+
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
526
526
|
runner?: "mar-agent" | "codex" | "claude-code" | "opencode" | undefined;
|
|
527
527
|
model?: string | undefined;
|
|
528
528
|
}>, {
|
|
529
529
|
from: number;
|
|
530
530
|
to: number;
|
|
531
531
|
timeZone: string;
|
|
532
|
-
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
533
532
|
mode?: "conversation" | "work" | undefined;
|
|
533
|
+
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
534
534
|
runner?: "mar-agent" | "codex" | "claude-code" | "opencode" | undefined;
|
|
535
535
|
model?: string | undefined;
|
|
536
536
|
}, {
|
|
537
537
|
from: number;
|
|
538
538
|
to: number;
|
|
539
539
|
timeZone: string;
|
|
540
|
-
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
541
540
|
mode?: "conversation" | "work" | undefined;
|
|
541
|
+
purpose?: "title" | "other" | "conversation" | "compact" | "prompt_completion" | undefined;
|
|
542
542
|
runner?: "mar-agent" | "codex" | "claude-code" | "opencode" | undefined;
|
|
543
543
|
model?: string | undefined;
|
|
544
544
|
}>;
|
|
@@ -300,19 +300,19 @@ export declare const remoteDesktopDirectBrowserMessageSchema: z.ZodDiscriminated
|
|
|
300
300
|
}, "strict", z.ZodTypeAny, {
|
|
301
301
|
type: "desktop.direct.prepare";
|
|
302
302
|
nodeGeneration: string;
|
|
303
|
+
mode: "VIEW" | "CONTROL";
|
|
303
304
|
requestId: string;
|
|
304
305
|
nodeId: string;
|
|
305
306
|
transportSessionId: string;
|
|
306
|
-
mode: "VIEW" | "CONTROL";
|
|
307
307
|
desktopGeneration: string;
|
|
308
308
|
topologyRevision: number;
|
|
309
309
|
}, {
|
|
310
310
|
type: "desktop.direct.prepare";
|
|
311
311
|
nodeGeneration: string;
|
|
312
|
+
mode: "VIEW" | "CONTROL";
|
|
312
313
|
requestId: string;
|
|
313
314
|
nodeId: string;
|
|
314
315
|
transportSessionId: string;
|
|
315
|
-
mode: "VIEW" | "CONTROL";
|
|
316
316
|
desktopGeneration: string;
|
|
317
317
|
topologyRevision: number;
|
|
318
318
|
}>, z.ZodObject<{
|
|
@@ -444,12 +444,12 @@ export declare const remoteDesktopDirectNodeCommandSchema: z.ZodDiscriminatedUni
|
|
|
444
444
|
nodeGeneration: string;
|
|
445
445
|
expiresAt: number;
|
|
446
446
|
grant: string;
|
|
447
|
+
mode: "VIEW" | "CONTROL";
|
|
447
448
|
transportSessionId: string;
|
|
448
449
|
openExpiresAt: number;
|
|
449
450
|
workbenchConnectionId: string;
|
|
450
451
|
browserFingerprint: string;
|
|
451
452
|
nodeFingerprint: string;
|
|
452
|
-
mode: "VIEW" | "CONTROL";
|
|
453
453
|
desktopGeneration: string;
|
|
454
454
|
topologyRevision: number;
|
|
455
455
|
}, {
|
|
@@ -458,12 +458,12 @@ export declare const remoteDesktopDirectNodeCommandSchema: z.ZodDiscriminatedUni
|
|
|
458
458
|
nodeGeneration: string;
|
|
459
459
|
expiresAt: number;
|
|
460
460
|
grant: string;
|
|
461
|
+
mode: "VIEW" | "CONTROL";
|
|
461
462
|
transportSessionId: string;
|
|
462
463
|
openExpiresAt: number;
|
|
463
464
|
workbenchConnectionId: string;
|
|
464
465
|
browserFingerprint: string;
|
|
465
466
|
nodeFingerprint: string;
|
|
466
|
-
mode: "VIEW" | "CONTROL";
|
|
467
467
|
desktopGeneration: string;
|
|
468
468
|
topologyRevision: number;
|
|
469
469
|
}>, z.ZodObject<{
|
|
@@ -545,17 +545,17 @@ export declare const remoteDesktopRelayBrowserMessageSchema: z.ZodDiscriminatedU
|
|
|
545
545
|
}, "strict", z.ZodTypeAny, {
|
|
546
546
|
type: "desktop.relay.prepare";
|
|
547
547
|
nodeGeneration: string;
|
|
548
|
+
mode: "VIEW" | "CONTROL";
|
|
548
549
|
requestId: string;
|
|
549
550
|
nodeId: string;
|
|
550
|
-
mode: "VIEW" | "CONTROL";
|
|
551
551
|
desktopGeneration: string;
|
|
552
552
|
topologyRevision: number;
|
|
553
553
|
}, {
|
|
554
554
|
type: "desktop.relay.prepare";
|
|
555
555
|
nodeGeneration: string;
|
|
556
|
+
mode: "VIEW" | "CONTROL";
|
|
556
557
|
requestId: string;
|
|
557
558
|
nodeId: string;
|
|
558
|
-
mode: "VIEW" | "CONTROL";
|
|
559
559
|
desktopGeneration: string;
|
|
560
560
|
topologyRevision: number;
|
|
561
561
|
}>, z.ZodObject<{
|
|
@@ -689,9 +689,9 @@ export declare const remoteDesktopRelayNodeCommandSchema: z.ZodDiscriminatedUnio
|
|
|
689
689
|
ticket: string;
|
|
690
690
|
expiresAt: number;
|
|
691
691
|
grant: string;
|
|
692
|
+
mode: "VIEW" | "CONTROL";
|
|
692
693
|
openExpiresAt: number;
|
|
693
694
|
workbenchConnectionId: string;
|
|
694
|
-
mode: "VIEW" | "CONTROL";
|
|
695
695
|
desktopGeneration: string;
|
|
696
696
|
topologyRevision: number;
|
|
697
697
|
}, {
|
|
@@ -701,9 +701,9 @@ export declare const remoteDesktopRelayNodeCommandSchema: z.ZodDiscriminatedUnio
|
|
|
701
701
|
ticket: string;
|
|
702
702
|
expiresAt: number;
|
|
703
703
|
grant: string;
|
|
704
|
+
mode: "VIEW" | "CONTROL";
|
|
704
705
|
openExpiresAt: number;
|
|
705
706
|
workbenchConnectionId: string;
|
|
706
|
-
mode: "VIEW" | "CONTROL";
|
|
707
707
|
desktopGeneration: string;
|
|
708
708
|
topologyRevision: number;
|
|
709
709
|
}>, z.ZodObject<{
|
|
@@ -201,6 +201,7 @@ export class MarAgentModelService {
|
|
|
201
201
|
: source.credential);
|
|
202
202
|
return this.create(userId, {
|
|
203
203
|
...record,
|
|
204
|
+
contextGcMode: record.contextGcMode === undefined ? source.contextGcMode : record.contextGcMode,
|
|
204
205
|
socks5Url: record.socks5Url !== undefined
|
|
205
206
|
? record.socks5Url
|
|
206
207
|
: credential.type === 'INLINE_API_KEY'
|
|
@@ -533,6 +534,7 @@ export class MarAgentModelService {
|
|
|
533
534
|
]);
|
|
534
535
|
await this.modelSettings.write(model.modelId, 'OPENAI_RESPONSES', modelSettingsFromInput({
|
|
535
536
|
protocol: 'OPENAI_RESPONSES',
|
|
537
|
+
contextGcMode: 'off',
|
|
536
538
|
serviceTier: model.serviceTier ?? 'default',
|
|
537
539
|
hostedWebSearch: model.hostedWebSearch,
|
|
538
540
|
responsesTransport: model.responsesTransport,
|
|
@@ -666,7 +668,7 @@ function parseInput(raw, requireKey) {
|
|
|
666
668
|
subagentModel: record.subagentModel ?? false,
|
|
667
669
|
titleGeneration: record.titleGeneration ?? false,
|
|
668
670
|
codeMode: record.codeMode ?? false,
|
|
669
|
-
|
|
671
|
+
contextGcMode: record.contextGcMode === undefined ? 'off' : record.contextGcMode,
|
|
670
672
|
unifiedCompact: record.unifiedCompact ?? false,
|
|
671
673
|
metadata: record.metadata,
|
|
672
674
|
serviceTier: record.serviceTier,
|
|
@@ -736,7 +738,7 @@ function runtimeConfiguration(value, resourceUrlsEnabled) {
|
|
|
736
738
|
subagentModel: value.subagentModel,
|
|
737
739
|
titleGeneration: value.titleGeneration,
|
|
738
740
|
codeMode: value.codeMode,
|
|
739
|
-
|
|
741
|
+
contextGcMode: value.contextGcMode ?? 'off',
|
|
740
742
|
unifiedCompact: value.unifiedCompact ?? false,
|
|
741
743
|
...(value.serviceTier === undefined ? {} : { serviceTier: value.serviceTier }),
|
|
742
744
|
hostedWebSearch: value.hostedWebSearch,
|
|
@@ -771,7 +773,7 @@ function storedConfiguration(row, settings) {
|
|
|
771
773
|
subagentModel: value.subagentModel,
|
|
772
774
|
titleGeneration: value.titleGeneration,
|
|
773
775
|
codeMode: value.codeMode,
|
|
774
|
-
|
|
776
|
+
contextGcMode: value.contextGcMode ?? 'off',
|
|
775
777
|
unifiedCompact: value.unifiedCompact ?? false,
|
|
776
778
|
...(value.serviceTier === undefined ? {} : { serviceTier: value.serviceTier }),
|
|
777
779
|
hostedWebSearch: value.hostedWebSearch,
|
|
@@ -858,7 +860,7 @@ function summary(row, settings) {
|
|
|
858
860
|
subagentModel: row.subagent_model === undefined ? false : Boolean(row.subagent_model),
|
|
859
861
|
titleGeneration: Boolean(row.title_generation),
|
|
860
862
|
codeMode: Boolean(row.code_mode),
|
|
861
|
-
|
|
863
|
+
contextGcMode: settings.contextGcMode ?? 'off',
|
|
862
864
|
unifiedCompact: settings.unifiedCompact ?? false,
|
|
863
865
|
...(serviceTier === undefined ? {} : { serviceTier }),
|
|
864
866
|
hostedWebSearch: responses?.hostedWebSearch ?? false,
|
|
@@ -41,8 +41,8 @@ export class MarAgentRuntimeModelService {
|
|
|
41
41
|
throw Object.assign(new Error('CAPABILITY_VERSION_UNSUPPORTED'), {
|
|
42
42
|
publicMessage: 'Upgrade this Node to apply the Smart Compact setting to MAR Agent executions.'
|
|
43
43
|
});
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
for (const model of stored)
|
|
45
|
+
assertContextGcCapability(model, capability);
|
|
46
46
|
if (stored.some((model) => model.conversationModel === false) &&
|
|
47
47
|
capability?.conversationModels !== true)
|
|
48
48
|
throw Object.assign(new Error('CAPABILITY_VERSION_UNSUPPORTED'), {
|
|
@@ -214,11 +214,19 @@ function assertTransportAvailable(model, capability) {
|
|
|
214
214
|
? 'MAR_AGENT_MODEL_HTTP2_UNAVAILABLE'
|
|
215
215
|
: 'MAR_AGENT_MODEL_HTTP1_UNAVAILABLE');
|
|
216
216
|
}
|
|
217
|
+
function assertContextGcCapability(model, capability) {
|
|
218
|
+
const mode = model.contextGcMode ?? 'off';
|
|
219
|
+
if (mode !== 'auto' && capability?.contextGcWithThought !== true)
|
|
220
|
+
throw Object.assign(new Error('CAPABILITY_VERSION_UNSUPPORTED'), {
|
|
221
|
+
publicMessage: mode === 'with_thought'
|
|
222
|
+
? 'Upgrade this Node to use GC with thought.'
|
|
223
|
+
: 'Upgrade this Node to turn off Context GC.'
|
|
224
|
+
});
|
|
225
|
+
}
|
|
217
226
|
function runtimeModel(model, ticket, imageGeneration, capability, resourceUrlsEnabled = true, smartCompactEnabled = false) {
|
|
218
227
|
if (model.socks5Url !== undefined && capability?.modelSocks5Proxy !== true)
|
|
219
228
|
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
220
|
-
|
|
221
|
-
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
229
|
+
assertContextGcCapability(model, capability);
|
|
222
230
|
if (model.inputCapabilities.includes('IMAGE') && capability?.resourceInput !== true)
|
|
223
231
|
throw new Error('MAR_AGENT_MODEL_RESOURCE_INPUT_UNAVAILABLE');
|
|
224
232
|
const responses = model.protocol === 'OPENAI_RESPONSES';
|
|
@@ -265,7 +273,7 @@ function runtimeModel(model, ticket, imageGeneration, capability, resourceUrlsEn
|
|
|
265
273
|
subagentModel: model.subagentModel ?? false,
|
|
266
274
|
titleGeneration: model.titleGeneration,
|
|
267
275
|
codeMode: model.codeMode,
|
|
268
|
-
|
|
276
|
+
contextGcMode: model.contextGcMode ?? 'off',
|
|
269
277
|
smartCompactEnabled,
|
|
270
278
|
unifiedCompact: model.unifiedCompact ?? false,
|
|
271
279
|
...(supportsTier ? { serviceTier } : {}),
|
|
@@ -7,6 +7,13 @@ export declare function normalizeLegacyModelTier(input: {
|
|
|
7
7
|
readonly serviceTier: MarAgentModelSummary['serviceTier'] | null;
|
|
8
8
|
readonly baseUrl: string;
|
|
9
9
|
}): MarAgentModelSummary['serviceTier'];
|
|
10
|
+
/** Preserve existing GC behavior without keeping the old flag in the runtime decoder. */
|
|
11
|
+
export declare const MODEL_CONTEXT_GC_MODE_MIGRATION: {
|
|
12
|
+
version: number;
|
|
13
|
+
name: string;
|
|
14
|
+
checksum: string;
|
|
15
|
+
up(connection: MysqlMigrationConnection): Promise<void>;
|
|
16
|
+
};
|
|
10
17
|
/** Recoverable backfill: all documents are validated and committed before the first model DDL. */
|
|
11
18
|
export declare const MODEL_SETTINGS_MIGRATION: {
|
|
12
19
|
version: number;
|
|
@@ -43,6 +43,47 @@ function json(value) {
|
|
|
43
43
|
return JSON.parse(value.toString('utf8'));
|
|
44
44
|
return typeof value === 'string' ? JSON.parse(value) : value;
|
|
45
45
|
}
|
|
46
|
+
const GC_MODE_SPEC = 'model-setting: explicit mode wins; legacy false=off; otherwise auto; remove gcEnabled';
|
|
47
|
+
/** Preserve existing GC behavior without keeping the old flag in the runtime decoder. */
|
|
48
|
+
export const MODEL_CONTEXT_GC_MODE_MIGRATION = {
|
|
49
|
+
version: 40,
|
|
50
|
+
name: 'model_context_gc_mode',
|
|
51
|
+
checksum: createHash('sha256').update(GC_MODE_SPEC).digest('hex'),
|
|
52
|
+
async up(connection) {
|
|
53
|
+
await connection.query('START TRANSACTION');
|
|
54
|
+
try {
|
|
55
|
+
const [rows] = (await connection.execute(`SELECT settings.setting_key,settings.setting_value FROM system_settings settings
|
|
56
|
+
JOIN mar_agent_models model ON settings.setting_key=CONCAT('mar_agent_model_config:',model.id)
|
|
57
|
+
WHERE JSON_CONTAINS_PATH(settings.setting_value,'one','$.gcEnabled')
|
|
58
|
+
OR NOT JSON_CONTAINS_PATH(settings.setting_value,'one','$.contextGcMode')
|
|
59
|
+
FOR UPDATE`));
|
|
60
|
+
for (const row of rows) {
|
|
61
|
+
const raw = json(row['setting_value']);
|
|
62
|
+
if (raw === null || typeof raw !== 'object' || Array.isArray(raw))
|
|
63
|
+
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
64
|
+
const { gcEnabled, contextGcMode, ...settings } = raw;
|
|
65
|
+
if ((gcEnabled !== undefined && typeof gcEnabled !== 'boolean') ||
|
|
66
|
+
(contextGcMode !== undefined &&
|
|
67
|
+
contextGcMode !== 'off' &&
|
|
68
|
+
contextGcMode !== 'auto' &&
|
|
69
|
+
contextGcMode !== 'with_thought'))
|
|
70
|
+
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
71
|
+
await connection.execute('UPDATE system_settings SET setting_value=? WHERE setting_key=?', [
|
|
72
|
+
JSON.stringify({
|
|
73
|
+
...settings,
|
|
74
|
+
contextGcMode: contextGcMode ?? (gcEnabled === false ? 'off' : 'auto')
|
|
75
|
+
}),
|
|
76
|
+
String(row['setting_key'])
|
|
77
|
+
]);
|
|
78
|
+
}
|
|
79
|
+
await connection.query('COMMIT');
|
|
80
|
+
}
|
|
81
|
+
catch (error) {
|
|
82
|
+
await connection.query('ROLLBACK');
|
|
83
|
+
throw error;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
46
87
|
function flag(value) {
|
|
47
88
|
if (value !== 0 && value !== 1 && value !== false && value !== true)
|
|
48
89
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
@@ -75,7 +75,7 @@ declare const anthropic: z.ZodObject<{
|
|
|
75
75
|
}>;
|
|
76
76
|
type ModelSettingsV1 = z.infer<typeof responses> | z.infer<typeof anthropic>;
|
|
77
77
|
export type ModelSettings = ModelSettingsV1 & {
|
|
78
|
-
|
|
78
|
+
contextGcMode?: MarAgentModelSummary['contextGcMode'];
|
|
79
79
|
unifiedCompact?: boolean;
|
|
80
80
|
socks5Url?: string;
|
|
81
81
|
};
|
|
@@ -101,7 +101,7 @@ export declare function modelSettingsFromInput(model: {
|
|
|
101
101
|
serviceTier?: MarAgentModelSummary['serviceTier'] | undefined;
|
|
102
102
|
responsesTransport?: MarAgentModelSummary['responsesTransport'] | undefined;
|
|
103
103
|
responsesPreviousResponseId?: boolean | undefined;
|
|
104
|
-
|
|
104
|
+
contextGcMode?: MarAgentModelSummary['contextGcMode'];
|
|
105
105
|
unifiedCompact?: boolean | undefined;
|
|
106
106
|
socks5Url?: string | undefined;
|
|
107
107
|
}): ModelSettings;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { modelSocks5UrlSchema } from '@myagentroam/protocol';
|
|
2
|
+
import { marAgentContextGcModeSchema, modelSocks5UrlSchema } from '@myagentroam/protocol';
|
|
3
3
|
// These schemas are part of the released v34 conversion, not the evolving wire schema.
|
|
4
4
|
export const modelSettingsV1TierSchema = z.enum([
|
|
5
5
|
'auto',
|
|
@@ -70,17 +70,16 @@ export function parseStoredModelSettings(protocol, raw) {
|
|
|
70
70
|
export function parseModelSettings(protocol, value) {
|
|
71
71
|
if (value === null || typeof value !== 'object' || Array.isArray(value))
|
|
72
72
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
73
|
-
const {
|
|
74
|
-
if (gcEnabled !== undefined && typeof gcEnabled !== 'boolean')
|
|
75
|
-
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
73
|
+
const { contextGcMode, unifiedCompact, socks5Url, ...legacy } = value;
|
|
76
74
|
if (unifiedCompact !== undefined && typeof unifiedCompact !== 'boolean')
|
|
77
75
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
78
76
|
const proxy = modelSocks5UrlSchema.optional().safeParse(socks5Url);
|
|
79
|
-
|
|
77
|
+
const mode = marAgentContextGcModeSchema.optional().safeParse(contextGcMode);
|
|
78
|
+
if (!proxy.success || !mode.success)
|
|
80
79
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
81
80
|
return {
|
|
82
81
|
...parseModelSettingsV1(protocol, legacy),
|
|
83
|
-
...(
|
|
82
|
+
...(mode.data === undefined ? {} : { contextGcMode: mode.data }),
|
|
84
83
|
...(unifiedCompact === undefined ? {} : { unifiedCompact }),
|
|
85
84
|
...(proxy.data === undefined ? {} : { socks5Url: proxy.data })
|
|
86
85
|
};
|
|
@@ -99,6 +98,7 @@ export function parseModelSettingsV1(protocol, value) {
|
|
|
99
98
|
}
|
|
100
99
|
/** Construct a document from the validated model input without copying the protocol fact. */
|
|
101
100
|
export function modelSettingsFromInput(model) {
|
|
101
|
+
const contextGcMode = model.contextGcMode ?? 'off';
|
|
102
102
|
if (model.protocol === 'ANTHROPIC_MESSAGES') {
|
|
103
103
|
if (model.hostedWebSearch ||
|
|
104
104
|
model.serviceTier !== undefined ||
|
|
@@ -108,14 +108,14 @@ export function modelSettingsFromInput(model) {
|
|
|
108
108
|
return parseModelSettings(model.protocol, {
|
|
109
109
|
version: 1,
|
|
110
110
|
...(model.socks5Url === undefined ? {} : { socks5Url: model.socks5Url }),
|
|
111
|
-
|
|
111
|
+
contextGcMode,
|
|
112
112
|
unifiedCompact: model.unifiedCompact ?? false
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
return parseModelSettings(model.protocol, {
|
|
116
116
|
version: 1,
|
|
117
117
|
...(model.socks5Url === undefined ? {} : { socks5Url: model.socks5Url }),
|
|
118
|
-
|
|
118
|
+
contextGcMode,
|
|
119
119
|
unifiedCompact: model.unifiedCompact ?? false,
|
|
120
120
|
hostedWebSearch: model.hostedWebSearch,
|
|
121
121
|
...(model.serviceTier === undefined ? {} : { serviceTier: model.serviceTier }),
|
|
@@ -152,4 +152,9 @@ export declare const CORE_MYSQL_MIGRATIONS: readonly [import("./mysql-migration-
|
|
|
152
152
|
readonly name: "user_browser_settings";
|
|
153
153
|
readonly checksum: string;
|
|
154
154
|
readonly up: (connection: MysqlMigrationConnection) => Promise<void>;
|
|
155
|
+
}, {
|
|
156
|
+
version: number;
|
|
157
|
+
name: string;
|
|
158
|
+
checksum: string;
|
|
159
|
+
up(connection: MysqlMigrationConnection): Promise<void>;
|
|
155
160
|
}];
|
|
@@ -17,7 +17,7 @@ import { projectCredentialDocument } from './credential-document.js';
|
|
|
17
17
|
import { validateMysqlSchema, mysqlSchemaWithoutForeignKeys, removeMysqlForeignKeys, validateMysqlReferences, assertMysqlNoForeignKeys } from './mysql-schema-support.js';
|
|
18
18
|
import { mailTemplatesZhCN } from './i18n/mail-templates.zh-CN.js';
|
|
19
19
|
import { mailTemplatesEnUS } from './i18n/mail-templates.en-US.js';
|
|
20
|
-
import { MODEL_SETTINGS_MIGRATION } from './model-settings-migration.js';
|
|
20
|
+
import { MODEL_CONTEXT_GC_MODE_MIGRATION, MODEL_SETTINGS_MIGRATION } from './model-settings-migration.js';
|
|
21
21
|
// Core v9 freezes the complete common installation schema. New changes must use Core v10+.
|
|
22
22
|
export const CORE_MYSQL_BASELINE_VERSION = 9;
|
|
23
23
|
export const CORE_MYSQL_SCHEMA_V9 = {
|
|
@@ -547,5 +547,6 @@ export const CORE_MYSQL_MIGRATIONS = [
|
|
|
547
547
|
rows[0]?.COLUMN_DEFAULT !== null)
|
|
548
548
|
throw new Error('SERVER_DATABASE_SCHEMA_INVALID');
|
|
549
549
|
}
|
|
550
|
-
}
|
|
550
|
+
},
|
|
551
|
+
MODEL_CONTEXT_GC_MODE_MIGRATION
|
|
551
552
|
];
|
|
@@ -102,6 +102,7 @@ export declare class NodeIdentityControl {
|
|
|
102
102
|
responsesOptionalParameters?: boolean | undefined;
|
|
103
103
|
responsesHttpContinuation?: boolean | undefined;
|
|
104
104
|
contextGcControl?: boolean | undefined;
|
|
105
|
+
contextGcWithThought?: boolean | undefined;
|
|
105
106
|
modelSocks5Proxy?: boolean | undefined;
|
|
106
107
|
unifiedCompactControl?: boolean | undefined;
|
|
107
108
|
smartCompactControl?: boolean | undefined;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/** Legacy delivery cannot relay model options that require explicit Node capability evidence. */
|
|
2
2
|
export function assertLegacyModelCompatibility(models) {
|
|
3
|
-
if (models.some((model) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
if (models.some((model) => {
|
|
4
|
+
if (model === null || typeof model !== 'object')
|
|
5
|
+
return false;
|
|
6
|
+
if ('socks5Url' in model && model.socks5Url !== undefined)
|
|
7
|
+
return true;
|
|
8
|
+
return !('contextGcMode' in model) || model.contextGcMode !== 'auto';
|
|
9
|
+
}))
|
|
7
10
|
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
8
11
|
}
|
|
9
12
|
export async function runtimeModelPayload(input) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/server-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -668,7 +668,7 @@
|
|
|
668
668
|
},
|
|
669
669
|
"dependencies": {
|
|
670
670
|
"@fastify/websocket": "^11.3.0",
|
|
671
|
-
"@myagentroam/protocol": "0.
|
|
671
|
+
"@myagentroam/protocol": "0.15.1",
|
|
672
672
|
"fastify": "^5.1.0",
|
|
673
673
|
"js-yaml": "4.3.2",
|
|
674
674
|
"mysql2": "^3.23.4",
|
|
@@ -106,6 +106,7 @@ export declare class NodeControl extends NodeIdentityControl {
|
|
|
106
106
|
responsesOptionalParameters?: boolean | undefined;
|
|
107
107
|
responsesHttpContinuation?: boolean | undefined;
|
|
108
108
|
contextGcControl?: boolean | undefined;
|
|
109
|
+
contextGcWithThought?: boolean | undefined;
|
|
109
110
|
modelSocks5Proxy?: boolean | undefined;
|
|
110
111
|
unifiedCompactControl?: boolean | undefined;
|
|
111
112
|
smartCompactControl?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam-enterprise/server-implementation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@fastify/websocket": "^11.3.0",
|
|
18
|
-
"@myagentroam/protocol": "0.
|
|
18
|
+
"@myagentroam/protocol": "0.15.1",
|
|
19
19
|
"fastify": "^5.1.0",
|
|
20
20
|
"mysql2": "^3.23.4",
|
|
21
21
|
"undici": "7.29.0",
|
|
22
22
|
"ws": "^8.21.3",
|
|
23
23
|
"zod": "^3.24.1",
|
|
24
|
-
"@myagentroam/server-core": "0.
|
|
24
|
+
"@myagentroam/server-core": "0.15.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/ws": "^8.18.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/myagentroam/mar.git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "tsx --conditions=development src/license.ts"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@myagentroam/node": "0.
|
|
30
|
+
"@myagentroam/node": "0.15.1",
|
|
31
31
|
"@fastify/ajv-compiler": "4.0.6",
|
|
32
32
|
"@fastify/error": "4.2.0",
|
|
33
33
|
"@fastify/fast-json-stringify-compiler": "5.1.0",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"@fastify/merge-json-schemas": "0.2.1",
|
|
36
36
|
"@fastify/proxy-addr": "5.1.0",
|
|
37
37
|
"@fastify/websocket": "11.3.0",
|
|
38
|
-
"@myagentroam/protocol": "0.
|
|
39
|
-
"@myagentroam/server-core": "0.
|
|
40
|
-
"@myagentroam-enterprise/server-implementation": "0.
|
|
38
|
+
"@myagentroam/protocol": "0.15.1",
|
|
39
|
+
"@myagentroam/server-core": "0.15.1",
|
|
40
|
+
"@myagentroam-enterprise/server-implementation": "0.15.1",
|
|
41
41
|
"@pinojs/redact": "0.4.0",
|
|
42
42
|
"@types/node": "24.13.3",
|
|
43
43
|
"abstract-logging": "2.0.1",
|