@myagentroam/server 0.13.21 → 0.13.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/dist/index.d.ts +60 -2
- package/node_modules/@myagentroam/protocol/dist/index.js +23 -3
- package/node_modules/@myagentroam/protocol/dist/model-connection.d.ts +10 -0
- package/node_modules/@myagentroam/protocol/dist/model-connection.js +31 -0
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/git-skill-repository.d.ts +1 -3
- package/node_modules/@myagentroam/server-core/dist/git-skill-repository.js +7 -15
- package/node_modules/@myagentroam/server-core/dist/hosted-conversation-context.js +2 -2
- package/node_modules/@myagentroam/server-core/dist/mar-agent-model-routes.js +14 -0
- package/node_modules/@myagentroam/server-core/dist/mar-agent-model-service.d.ts +4 -0
- package/node_modules/@myagentroam/server-core/dist/mar-agent-model-service.js +25 -4
- package/node_modules/@myagentroam/server-core/dist/mar-agent-runtime-model-service.js +3 -0
- package/node_modules/@myagentroam/server-core/dist/model-settings.d.ts +3 -1
- package/node_modules/@myagentroam/server-core/dist/model-settings.js +12 -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.d.ts +2 -2
- package/node_modules/@myagentroam/server-core/dist/run-model-payload.js +5 -5
- package/node_modules/@myagentroam/server-core/dist/skill-bundle.js +11 -8
- package/node_modules/@myagentroam/server-core/dist/skill-favorite-service.js +9 -3
- package/node_modules/@myagentroam/server-core/package.json +4 -7
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-catalog.js +1 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-http.js +4 -0
- 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/node_modules/argparse/LICENSE +254 -0
- package/node_modules/argparse/README.md +84 -0
- package/node_modules/argparse/argparse.js +3707 -0
- package/node_modules/argparse/lib/sub.js +67 -0
- package/node_modules/argparse/lib/textwrap.js +440 -0
- package/node_modules/argparse/package.json +31 -0
- package/node_modules/js-yaml/LICENSE +21 -0
- package/node_modules/js-yaml/README.md +233 -0
- package/node_modules/js-yaml/bin/js-yaml.js +117 -0
- package/node_modules/js-yaml/dist/js-yaml.js +3022 -0
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs +3082 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -0
- package/node_modules/js-yaml/index.js +44 -0
- package/node_modules/js-yaml/lib/common.js +50 -0
- package/node_modules/js-yaml/lib/dumper.js +937 -0
- package/node_modules/js-yaml/lib/exception.js +51 -0
- package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +37 -0
- package/node_modules/js-yaml/lib/loader.js +1803 -0
- package/node_modules/js-yaml/lib/schema/core.js +9 -0
- package/node_modules/js-yaml/lib/schema/default.js +20 -0
- package/node_modules/js-yaml/lib/schema/failsafe.js +14 -0
- package/node_modules/js-yaml/lib/schema/json.js +17 -0
- package/node_modules/js-yaml/lib/schema.js +109 -0
- package/node_modules/js-yaml/lib/snippet.js +96 -0
- package/node_modules/js-yaml/lib/type/binary.js +122 -0
- package/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/node_modules/js-yaml/lib/type/float.js +99 -0
- package/node_modules/js-yaml/lib/type/int.js +142 -0
- package/node_modules/js-yaml/lib/type/map.js +8 -0
- package/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/node_modules/js-yaml/lib/type/null.js +35 -0
- package/node_modules/js-yaml/lib/type/omap.js +45 -0
- package/node_modules/js-yaml/lib/type/pairs.js +50 -0
- package/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/node_modules/js-yaml/lib/type/set.js +29 -0
- package/node_modules/js-yaml/lib/type/str.js +8 -0
- package/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/node_modules/js-yaml/lib/type.js +66 -0
- package/node_modules/js-yaml/package.json +83 -0
- package/package.json +10 -6
- package/web/assets/{AuditManagementPage-CQjdHoKj.js → AuditManagementPage-Bw2qCPJE.js} +1 -1
- package/web/assets/{BusyIndicator-DWs9rVuU.js → BusyIndicator-1kY9qfWN.js} +1 -1
- package/web/assets/{CodeFileEditor-CB0w7_Xo.js → CodeFileEditor-CTjcQ3tS.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-BxtdYFvJ.js → ConversationTemplateManagementPage-DLTbR6Yx.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-IhHqdvxX.js → ConversationTemplateManagementPage-Dwj-d6Nn.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-z2l7-iV7.js → EnterpriseUserManagementPage-QcovmjTy.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-BL9CtNeg.js → EnvironmentSecretManager-pWG9Ta0i.js} +1 -1
- package/web/assets/{FilePreviewLoading-BQuELp4B.js → FilePreviewLoading-DQICPNpH.js} +1 -1
- package/web/assets/{HtmlPreviewFrame-CIE8ew5m.js → HtmlPreviewFrame-M-5_Zs5R.js} +3 -3
- package/web/assets/{LicenseManagementPage-DfmYfSd2.js → LicenseManagementPage-D48IVDDN.js} +1 -1
- package/web/assets/{ManagementPagination-DbDc_aVj.js → ManagementPagination-Bz8x8Cc3.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-BOH1i2mm.js → MarAgentModelManagementPage-BI5YdxJ-.js} +1 -1
- package/web/assets/MarAgentModelManagementPage-BS80Nbaq.js +1 -0
- package/web/assets/{MarAgentModelManagementPage-DOfx5Yxv.css → MarAgentModelManagementPage-CE7LKVJJ.css} +1 -1
- package/web/assets/{MarIcon-CmyZmJYk.js → MarIcon-D-R_Iqgk.js} +1 -1
- package/web/assets/{MarkdownFilePreview-Dfm3Ar0_.js → MarkdownFilePreview-BqgPZaJH.js} +2 -2
- package/web/assets/{McpDetailsDialog-DfKdFx1F.js → McpDetailsDialog-CEV2RaAd.js} +1 -1
- package/web/assets/{McpSourceManagementPage-1lofzIlQ.js → McpSourceManagementPage-B-DunK-k.js} +1 -1
- package/web/assets/{McpSourceManagementPage-DO339k8a.js → McpSourceManagementPage-UAHr6Ok2.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-j0gbiAPd.js → NodeDetailsDialogs-CqijTLuv.js} +1 -1
- package/web/assets/NodeManagementPage-BYaR6I4C.js +1 -0
- package/web/assets/NodeManagementPage-C03fC50W.js +1 -0
- package/web/assets/{OAuthManagementPage-BN71XE8-.js → OAuthManagementPage-0NLfuZER.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BXGGLWrS.js → OrganizationManagementPage-CdMnKAYX.js} +1 -1
- package/web/assets/{RemoteDesktopPage-Bfb8abwZ.js → RemoteDesktopPage-9ca_pT3U.js} +1 -1
- package/web/assets/{ResourceManagementPanel-DKL5U50B.js → ResourceManagementPanel-DeUjzXb3.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-WBjha-Tc.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-BFIdrnhO.js} +1 -1
- package/web/assets/{SecretManagementPage-CnHIaMtx.js → SecretManagementPage-B0fRviba.js} +1 -1
- package/web/assets/SecretManagementPage-wS5xi8d3.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-BhozPpou.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-CfKC1c5_.js} +1 -1
- package/web/assets/SessionSharePage-BHuLnFb7.js +2 -0
- package/web/assets/{SettingsContent-DBxyAPeh.js → SettingsContent-BggGrmlo.js} +1 -1
- package/web/assets/{SettingsContent-YtT-5NpY.js → SettingsContent-D4kVDroA.js} +1 -1
- package/web/assets/{SkillCenterPage-BGhfLABx.js → SkillCenterPage-Bdp4bpcM.js} +1 -1
- package/web/assets/SkillCenterPage-CYuxNkS5.js +1 -0
- package/web/assets/{SkillDetailsDialog-DE9JWBnK.js → SkillDetailsDialog-pW-gzST7.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-C-LDA8J_.js → SkillSourceManagementPage-DNBsZ6O-.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-CW9k3_3A.js → SkillSourceManagementPage-DrkNyd-t.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-DJ6Y0MyI.js → StandaloneFilePreviewPage-_M9U5uhK.js} +1 -1
- package/web/assets/SystemConfigurationPage-C58GrNm7.js +1 -0
- package/web/assets/{SystemConfigurationPage-PV5wtvaT.js → SystemConfigurationPage-CNi1usck.js} +1 -1
- package/web/assets/{SystemInformationPage-S4lYwwoL.js → SystemInformationPage-AcLnM3_e.js} +1 -1
- package/web/assets/{TerminalTabView-Cge3UroH.js → TerminalTabView-BSt5L7Cx.js} +1 -1
- package/web/assets/{WorkbenchPage-_n_7hxCc.css → WorkbenchPage-CJyFEHjS.css} +1 -1
- package/web/assets/WorkbenchPage-CN2-OtCY.js +22 -0
- package/web/assets/WorkspaceManagementPage-D9su8n88.js +1 -0
- package/web/assets/WorkspaceManagementPage-POBkggih.js +1 -0
- package/web/assets/{_baseIteratee-DJhNCJNw.js → _baseIteratee-BvR4fgYp.js} +1 -1
- package/web/assets/{abnfDiagram-VCTEODGH-xfmnxCmN.js → abnfDiagram-VCTEODGH-XqHHyu1S.js} +1 -1
- package/web/assets/{advancedFormat-CJJz2sTJ.js → advancedFormat-5pJd8w41.js} +1 -1
- package/web/assets/{arc-DEZzeIBO.js → arc-DSvlVvZi.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-BNi0dwgT.js → architectureDiagram-5GKGNRK7-BrNH8-Zv.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-B2GsTv-3.js → blockDiagram-OSKFZWR5-S5Tm192_.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-O_2lQqz5.js → c4Diagram-7LVT6UL2-C3rFyPvl.js} +1 -1
- package/web/assets/{catalog-ownership-service-rlWhvKNA.js → catalog-ownership-service-r8rMesAo.js} +1 -1
- package/web/assets/{catalog-page-service-CkqDIxEg.js → catalog-page-service-ImDTaYk9.js} +1 -1
- package/web/assets/channel-bKuk0yLE.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-DZXE1fhC.js → chunk-2Q5K7J3B-DyNrqSQN.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-cFrUkUGU.js → chunk-5VM5RSS4-hmlRCeNP.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-D1cN3vZu.js → chunk-F27PBJKO-oXaQTdFU.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-WaRVUFBO.js → chunk-HLEWEB6X-CkDhM82l.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-DRF7pCW6.js → chunk-JWPE2WC7-BYVjCscS.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-Zb6ti5FG.js → chunk-POPQ4Y6H-DV1Qeoce.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-Ds12Di6a.js → chunk-SVP7TREG-BaDWc9Z6.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-CcoQ0qW9.js → chunk-XXDRQBXY-5VHfjh5_.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-Dw0cWR1G.js → chunk-ZLD2IHE6-CM_Qm9It.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-B3_fkURU.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-B3_fkURU.js +1 -0
- package/web/assets/{conversation-history-D6nBCIqC.js → conversation-history-B1iric-r.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-CTtE359q.js → cose-bilkent-JH36ORCC-yzV8qpJT.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-CsclVsWI.js → cynefin-OW5HDTMX-vJHwwFfl.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-DywBdZC1.js → cynefinDiagram-5FMLGOSQ-E3dVCmUP.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-CZ-1PVmC.js → dagre-OS7QT2EB-C9kNlv7S.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-Di5c-Alk.js → diagram-S7CK7UJ4-jiGI6C03.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-EcElqajR.js → diagram-UQ7AKVKN-C0K-i8ED.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-BOCkXBMO.js → diagram-VSXAHHWV-C2Rly2XM.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-qTAqPqVL.js → diagram-VX7I27RA-BuALvzqD.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-DwukLyul.js → diagram-Z3DM3KII-DS9jZbJb.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-Dyq-1U-b.js → ebnfDiagram-PWID7BFC-BJV1kfbb.js} +1 -1
- package/web/assets/{el-alert-qBz7nOrd.js → el-alert-DJpbWNhh.js} +1 -1
- package/web/assets/{el-cascader-CFG3yuh8.js → el-cascader-B5jhThMw.js} +1 -1
- package/web/assets/{el-checkbox-CSKqJHq8.js → el-checkbox-DImL2zoF.js} +1 -1
- package/web/assets/{el-date-picker-EkKtqBDU.js → el-date-picker-Dh20yzhd.js} +1 -1
- package/web/assets/{el-descriptions-R-pu0u83.js → el-descriptions-CdIUAmD2.js} +1 -1
- package/web/assets/{el-form-item-D1OYqLv-.js → el-form-item-DMdcLs15.js} +1 -1
- package/web/assets/{el-input-DjLPUsCB.js → el-input-B1Cujpyw.js} +2 -2
- package/web/assets/{el-input-number-DxAn4ugC.js → el-input-number-CroGg_6h.js} +1 -1
- package/web/assets/{el-radio-CgNcvYh_.js → el-radio-D1bF4tIj.js} +1 -1
- package/web/assets/{el-scrollbar-D90RhKaB.js → el-scrollbar-TQDjLC61.js} +1 -1
- package/web/assets/{el-select-QGxr1DpB.js → el-select-CZpYtkGN.js} +1 -1
- package/web/assets/{el-switch-DsdfnSGx.js → el-switch-6mmUesF6.js} +1 -1
- package/web/assets/{el-tab-pane-Dd-ZlxaR.js → el-tab-pane-CW9ZPWiP.js} +1 -1
- package/web/assets/{el-table-column-C3KqEEMR.js → el-table-column-CXO8el0X.js} +1 -1
- package/web/assets/{enterprise-management-service-CfH593_7.js → enterprise-management-service-D7KHJAwI.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-D6BDWpzl.js → erDiagram-2YWLMYGG-DdtykCQu.js} +1 -1
- package/web/assets/{error-presentation-CHq0FiSM.js → error-presentation-CHEcvm0D.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-BFmG8-tW.js → flowDiagram-T62WH6J4-B2nfZ2X1.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-Ccl8YKX8.js → ganttDiagram-EL5Y4UJY-EDu-G9mJ.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-CVxBa6Qr.js → gitGraphDiagram-WWUBYQGX-DrnS_dnl.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-DWAbYDNz.js → hosted-conversation-template-client-C0TwaEFs.js} +1 -1
- package/web/assets/{index-CKi7WQsj.js → index-5DADhXzG.js} +1 -1
- package/web/assets/{index-BD55NjPb.js → index-B0EMFtj6.js} +17 -17
- package/web/assets/{index-uj3eeq77.js → index-BJzym8xR.js} +1 -1
- package/web/assets/{index-_wclnKCo.js → index-BL_EJCN_.js} +1 -1
- package/web/assets/{index-B-l8DUyR.js → index-BVxjBNMr.js} +1 -1
- package/web/assets/{index-DRpwEN-6.js → index-Bar4zFnf.js} +1 -1
- package/web/assets/{index-BK8VrCVI.js → index-BhBDnC2V.js} +1 -1
- package/web/assets/{index-DWKMcbhX.js → index-BhCRSlnB.js} +1 -1
- package/web/assets/{index-W1juQ705.js → index-BibVMcOB.js} +1 -1
- package/web/assets/{index-BJmkhguc.js → index-Biy6YKtl.js} +1 -1
- package/web/assets/{index-DPYpmmUM.js → index-Bnq-G9SI.js} +1 -1
- package/web/assets/{index-oL2dL9NA.js → index-BuTaL5rV.js} +1 -1
- package/web/assets/{index-RDOAU4DT.js → index-CJMJumBr.js} +1 -1
- package/web/assets/{index-DY553-om.css → index-CKDzNVgx.css} +1 -1
- package/web/assets/{index-D0k6bN2d.js → index-CQA8XN5a.js} +1 -1
- package/web/assets/{index-s6BAYZLI.js → index-CS4IfVd8.js} +1 -1
- package/web/assets/{index-2zaAnxEX.js → index-CWeAg1XK.js} +1 -1
- package/web/assets/{index-DcyZ4Z6m.js → index-CWxNrk2U.js} +1 -1
- package/web/assets/{index-BM_4csee.js → index-C_Rb4VPp.js} +1 -1
- package/web/assets/{index-D4p_ZOi4.js → index-CmW6NQRF.js} +1 -1
- package/web/assets/{index-vzkRGTBT.js → index-CzN5WCes.js} +1 -1
- package/web/assets/{index-EWUXyXD6.js → index-D65eF4Ld.js} +1 -1
- package/web/assets/{index-BZrUmPf_.js → index-DVpfA-KI.js} +1 -1
- package/web/assets/{index-DkH9CClo.js → index-DjPrII7n.js} +1 -1
- package/web/assets/{index-DoMi7bhN.js → index-DwONyBPF.js} +1 -1
- package/web/assets/{index-v4Wl2cR-.js → index-cSdmWR8Z.js} +1 -1
- package/web/assets/{index-BhysFmh7.js → index-evmMbq8o.js} +1 -1
- package/web/assets/{index-sKcqyHUZ.js → index-nEGAXqRy.js} +1 -1
- package/web/assets/{index-HKE4ZMXA.js → index-nkUFy56h.js} +1 -1
- package/web/assets/{index-CpY0hCkv.js → index-p5nkDOWg.js} +1 -1
- package/web/assets/infoDiagram-FKFFQAWI-CJ78Ud_D.js +2 -0
- package/web/assets/{isArrayLikeObject-4M-EdFpC.js → isArrayLikeObject-HOg3E4xZ.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-DBaJskek.js → ishikawaDiagram-5VMMS53U-C7qAaQXo.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-XyJz9EYd.js → journeyDiagram-EYS64GPL-BIuH36wR.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-CTIxMwUp.js → kanban-definition-UXKFOSKX-DkaAko5P.js} +1 -1
- package/web/assets/{layout-gb52RHDP.js → layout-BLmr0DDa.js} +1 -1
- package/web/assets/{linear-B967ihvj.js → linear-DoIJFyl_.js} +1 -1
- package/web/assets/{management-url-service-CZEFkrOf.js → management-url-service-BkJjl7jL.js} +1 -1
- package/web/assets/{mcp-center-service-D0lkKdXh.js → mcp-center-service-BHTIs3L_.js} +1 -1
- package/web/assets/{merge-BcXqBXNs.js → merge-B30mfTGJ.js} +1 -1
- package/web/assets/{mermaid.core-kj9Zu4Wa.js → mermaid.core-CjiOH2Fd.js} +5 -5
- package/web/assets/{message-box-service-B1l5FX0d.js → message-box-service-VVXUq9x5.js} +1 -1
- package/web/assets/{mindmap-definition-THT77NOG-CnTSc4Ow.js → mindmap-definition-THT77NOG-BCKD4jTm.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-DV5cYJKd.js → mobile-dialog-return-service-Dpx2MnbK.js} +1 -1
- package/web/assets/{oauth-callback-YTKNwigK.js → oauth-callback-C7WK0urg.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-DW7o8E9Y.js → pegDiagram-XKGWAZYB-BNUB3jKS.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-CLJOld9k.js → pieDiagram-E7YTZNPT-f3egJBhO.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-3coJH-VU.js → quadrantDiagram-AXDQQJYC-DcgB--9n.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-bSvjT3e2.js → railroadDiagram-O6MQD6OU-M-js8LMT.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-wQCBNwpe.js → requirementDiagram-IS5BZ75X-DKjrGqz9.js} +1 -1
- package/web/assets/{runner-presentation-CyZD-gD_.js → runner-presentation-CVp1ISRD.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-B5Y5bjEa.js → sankeyDiagram-P5KCCOFB-E1boJLEj.js} +1 -1
- package/web/assets/{sequenceDiagram-WJ2MYXX4-B1OZPpPM.js → sequenceDiagram-WJ2MYXX4-jZ3VER2y.js} +1 -1
- package/web/assets/{session-share-client-service-BS5e9O3l.js → session-share-client-service-BpJblTIb.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-t3xPnKVl.js → sizeCapture-INFHLROL-Bvp3b0LN.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-DpzJqPKK.js → stateDiagram-XQSTLZYL-NqANU09Z.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-DIa3smzQ.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-Ce9NDh7B.js → swimlanes-V6O3JKXN-UYN0TjJe.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-BxezIPn7.js +8 -0
- package/web/assets/{time-presentation-C74YSn2E.js → time-presentation-Bb0DA3CW.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-B16PtIaQ.js → timeline-definition-24CTP7MA-CIBPeIK6.js} +1 -1
- package/web/assets/{union-C0JPKUmQ.js → union-KFqNyw3w.js} +1 -1
- package/web/assets/{use-form-common-props-COUgIXli.js → use-form-common-props-DXtRQ91k.js} +1 -1
- package/web/assets/{use-wheel-DMoU9HOf.js → use-wheel-Cj6EBCMg.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-lSbaNlZM.js → vennDiagram-4TSXK5OY-DFZU0mdG.js} +1 -1
- package/web/assets/{vnode-DFtYdcg5.js → vnode-D4l2IAQa.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-DZ6LTEDd.js → wardleyDiagram-VM6X3IG4-Dv6iPeuM.js} +1 -1
- package/web/assets/{workbench-composer-interaction-controller-D_9I5214.js → workbench-composer-interaction-controller-BfD_4a09.js} +25 -25
- package/web/assets/{workbench-live-service-B0sTX5kF.js → workbench-live-service-DBtv0ElZ.js} +1 -1
- package/web/assets/{workbench-presentation-BHlN4PWq.js → workbench-presentation-CDymUAef.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-CMcLtEUN.js → xychartDiagram-S5SC5T6Z-BgBcmbqm.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.B-GWxcAs.js → app.B7OFA5b9.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.CiAV9Q96.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.D8V_euQE.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.DXcW9c8v.js → VPLocalSearchBox.o5NpnJAz.js} +1 -1
- package/web/docs/assets/chunks/{theme.bVUnI0Sb.js → theme.IQfepYG6.js} +2 -2
- package/web/docs/assets/{deployment_node-installation.md.BsEv-c-b.js → deployment_node-installation.md.BKJ9WfPZ.js} +2 -2
- package/web/docs/assets/{deployment_node-installation.md.BsEv-c-b.lean.js → deployment_node-installation.md.BKJ9WfPZ.lean.js} +1 -1
- package/web/docs/assets/{deployment_node-linux.md.ayZjBc-g.js → deployment_node-linux.md.C_bd0qbR.js} +5 -5
- package/web/docs/assets/{deployment_node-linux.md.ayZjBc-g.lean.js → deployment_node-linux.md.C_bd0qbR.lean.js} +1 -1
- package/web/docs/assets/{en-US_deployment_node-installation.md.PhSP3mbe.js → en-US_deployment_node-installation.md.D2dlZRai.js} +2 -2
- package/web/docs/assets/{en-US_deployment_node-installation.md.PhSP3mbe.lean.js → en-US_deployment_node-installation.md.D2dlZRai.lean.js} +1 -1
- package/web/docs/assets/{en-US_deployment_node-linux.md.BXhYZ6de.js → en-US_deployment_node-linux.md.D4hS8vaT.js} +2 -2
- package/web/docs/assets/{en-US_deployment_node-linux.md.BXhYZ6de.lean.js → en-US_deployment_node-linux.md.D4hS8vaT.lean.js} +1 -1
- package/web/docs/assets/en-US_runners_mar-agent.md.Dh4w9QD8.js +46 -0
- package/web/docs/assets/{en-US_runners_mar-agent.md.CT-4xHpX.lean.js → en-US_runners_mar-agent.md.Dh4w9QD8.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_git-changes.md.B4an7sJf.js +1 -0
- package/web/docs/assets/{en-US_workbench_git-changes.md.BBhwCZ4S.lean.js → en-US_workbench_git-changes.md.B4an7sJf.lean.js} +1 -1
- package/web/docs/assets/en-US_workbench_skills.md.DfO6vZQq.js +1 -0
- package/web/docs/assets/{en-US_workbench_skills.md.DeM1SEZi.lean.js → en-US_workbench_skills.md.DfO6vZQq.lean.js} +1 -1
- package/web/docs/assets/runners_mar-agent.md.2Y9-Rczt.js +46 -0
- package/web/docs/assets/{runners_mar-agent.md.OYmc9gDQ.lean.js → runners_mar-agent.md.2Y9-Rczt.lean.js} +1 -1
- package/web/docs/assets/workbench_git-changes.md.BcvhH9LA.js +1 -0
- package/web/docs/assets/{workbench_git-changes.md.DZuHkFio.lean.js → workbench_git-changes.md.BcvhH9LA.lean.js} +1 -1
- package/web/docs/assets/workbench_skills.md.BckmpyzF.js +1 -0
- package/web/docs/assets/{workbench_skills.md.59ITBuQR.lean.js → workbench_skills.md.BckmpyzF.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 +6 -6
- package/web/docs/deployment/node-linux.html +8 -8
- 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 +6 -6
- package/web/docs/en-US/deployment/node-linux.html +6 -6
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +6 -6
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +5 -5
- 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 +5 -5
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +6 -6
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +5 -5
- 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 +5 -5
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/node_modules/@myagentroam/server-core/dist/github-skill-provider.d.ts +0 -1
- package/node_modules/@myagentroam/server-core/dist/github-skill-provider.js +0 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/skill/github-skill-provider.d.ts +0 -1
- package/node_modules/@myagentroam-enterprise/server-implementation/dist/skill/github-skill-provider.js +0 -1
- package/web/assets/MarAgentModelManagementPage-Cg0s_u3M.js +0 -1
- package/web/assets/NodeManagementPage-BiREVP3X.js +0 -1
- package/web/assets/NodeManagementPage-II1stYMJ.js +0 -1
- package/web/assets/SecretManagementPage-C237n_-o.js +0 -1
- package/web/assets/SessionSharePage-BG6gXTMW.js +0 -2
- package/web/assets/SkillCenterPage-D0QMzoID.js +0 -1
- package/web/assets/SystemConfigurationPage-zkMa1F-u.js +0 -1
- package/web/assets/WorkbenchPage-D26nojHw.js +0 -22
- package/web/assets/WorkspaceManagementPage-D_vb2MD7.js +0 -1
- package/web/assets/WorkspaceManagementPage-Dx4Lw_MT.js +0 -1
- package/web/assets/channel-CgXL_T09.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-BQSnYKBV.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-BQSnYKBV.js +0 -1
- package/web/assets/infoDiagram-FKFFQAWI-DK_xu129.js +0 -2
- package/web/assets/stateDiagram-v2-IH3M54BS-DrpmGnX2.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-B8JkSQB3.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.DLGMXMFS.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.PGNhxN0I.js +0 -1
- package/web/docs/assets/en-US_runners_mar-agent.md.CT-4xHpX.js +0 -46
- package/web/docs/assets/en-US_workbench_git-changes.md.BBhwCZ4S.js +0 -1
- package/web/docs/assets/en-US_workbench_skills.md.DeM1SEZi.js +0 -1
- package/web/docs/assets/runners_mar-agent.md.OYmc9gDQ.js +0 -46
- package/web/docs/assets/workbench_git-changes.md.DZuHkFio.js +0 -1
- package/web/docs/assets/workbench_skills.md.59ITBuQR.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { hostedConversationIdInputSchema, hostedConversationSnapshotSchema } from '@myagentroam/protocol';
|
|
2
|
-
import {
|
|
2
|
+
import { assertLegacyModelCompatibility } from './run-model-payload.js';
|
|
3
3
|
import { requestHostedConversationNode } from './hosted-http-support.js';
|
|
4
4
|
export async function authorizeExistingConversation(input, actor, identifiers) {
|
|
5
5
|
const conversation = hostedConversationIdInputSchema.parse({
|
|
@@ -107,7 +107,7 @@ export async function hostedRuntimeModels(input) {
|
|
|
107
107
|
const model = input.selectedModelId === undefined
|
|
108
108
|
? undefined
|
|
109
109
|
: await input.models.runtimeForUser(input.userId, input.selectedModelId);
|
|
110
|
-
|
|
110
|
+
assertLegacyModelCompatibility([...modelCatalog, model]);
|
|
111
111
|
return {
|
|
112
112
|
...(input.searchBackendAvailable === undefined
|
|
113
113
|
? {}
|
|
@@ -60,6 +60,20 @@ export function registerMarAgentModelRoutes(input) {
|
|
|
60
60
|
return databaseError(reply, error);
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
+
app.get('/api/admin/mar-agent/models/:modelId/connection', async (request, reply) => {
|
|
64
|
+
const actor = protectedAdmin(database, request, reply);
|
|
65
|
+
if (!actor)
|
|
66
|
+
return;
|
|
67
|
+
reply.header('Cache-Control', 'private, no-store');
|
|
68
|
+
try {
|
|
69
|
+
return reply.send({
|
|
70
|
+
details: await models.connectionDetails(actor.userId, request.params.modelId)
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
catch (error) {
|
|
74
|
+
return databaseError(reply, error);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
63
77
|
app.get('/api/mar-agent/models', async (request, reply) => {
|
|
64
78
|
const actor = protectedAdmin(database, request, reply);
|
|
65
79
|
if (!actor)
|
|
@@ -43,6 +43,10 @@ export declare class MarAgentModelService {
|
|
|
43
43
|
/** Keeps every authorized configuration; callers own any presentation-only name deduplication. */
|
|
44
44
|
protected listAuthorizedConversationModels(userId: number): Promise<readonly MarAgentModelSummary[]>;
|
|
45
45
|
listTemplateOptionsForNode(nodeId: string): Promise<readonly ConversationTemplateModelReference[]>;
|
|
46
|
+
/** Read sensitive connection data only after the model management check. */
|
|
47
|
+
connectionDetails(userId: number, modelId: string): Promise<{
|
|
48
|
+
socks5Url: string | null;
|
|
49
|
+
}>;
|
|
46
50
|
create(userId: number, raw: unknown): Promise<MarAgentModelSummary>;
|
|
47
51
|
duplicate(userId: number, sourceId: string, raw: unknown): Promise<MarAgentModelSummary>;
|
|
48
52
|
update(actorUserId: number, modelId: string, raw: unknown): Promise<MarAgentModelSummary>;
|
|
@@ -138,6 +138,12 @@ export class MarAgentModelService {
|
|
|
138
138
|
throw new Error('NODE_NOT_FOUND');
|
|
139
139
|
return this.access.listTemplateOptionsForNode(nodeId);
|
|
140
140
|
}
|
|
141
|
+
/** Read sensitive connection data only after the model management check. */
|
|
142
|
+
async connectionDetails(userId, modelId) {
|
|
143
|
+
await this.#assertManage(userId, modelId);
|
|
144
|
+
const model = await this.stored(modelId);
|
|
145
|
+
return { socks5Url: model.socks5Url ?? null };
|
|
146
|
+
}
|
|
141
147
|
async create(userId, raw) {
|
|
142
148
|
const parsed = parseInput(raw, true);
|
|
143
149
|
const ownership = await this.#ownership(userId, raw);
|
|
@@ -189,13 +195,19 @@ export class MarAgentModelService {
|
|
|
189
195
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
190
196
|
const source = await this.stored(sourceId);
|
|
191
197
|
const record = raw;
|
|
198
|
+
const credential = record.credential ??
|
|
199
|
+
(typeof record.apiKey === 'string' && record.apiKey.length > 0
|
|
200
|
+
? { type: 'INLINE_API_KEY', value: record.apiKey }
|
|
201
|
+
: source.credential);
|
|
192
202
|
return this.create(userId, {
|
|
193
203
|
...record,
|
|
204
|
+
socks5Url: record.socks5Url !== undefined
|
|
205
|
+
? record.socks5Url
|
|
206
|
+
: credential.type === 'INLINE_API_KEY'
|
|
207
|
+
? source.socks5Url
|
|
208
|
+
: undefined,
|
|
194
209
|
metadata: record.metadata ?? source.metadata,
|
|
195
|
-
credential
|
|
196
|
-
(typeof record.apiKey === 'string' && record.apiKey.length > 0
|
|
197
|
-
? { type: 'INLINE_API_KEY', value: record.apiKey }
|
|
198
|
-
: source.credential)
|
|
210
|
+
credential
|
|
199
211
|
});
|
|
200
212
|
}
|
|
201
213
|
async update(actorUserId, modelId, raw) {
|
|
@@ -216,6 +228,11 @@ export class MarAgentModelService {
|
|
|
216
228
|
...existing,
|
|
217
229
|
...record,
|
|
218
230
|
credential,
|
|
231
|
+
socks5Url: record.socks5Url !== undefined
|
|
232
|
+
? record.socks5Url
|
|
233
|
+
: credential.type === 'INLINE_API_KEY'
|
|
234
|
+
? existing.socks5Url
|
|
235
|
+
: undefined,
|
|
219
236
|
serviceTier: Object.hasOwn(record, 'serviceTier')
|
|
220
237
|
? record.serviceTier
|
|
221
238
|
: record.protocol !== undefined && record.protocol !== 'OPENAI_RESPONSES'
|
|
@@ -633,6 +650,7 @@ function parseInput(raw, requireKey) {
|
|
|
633
650
|
protocol: record.protocol,
|
|
634
651
|
baseUrl: typeof record.baseUrl === 'string' ? record.baseUrl.trim() : record.baseUrl,
|
|
635
652
|
credential,
|
|
653
|
+
socks5Url: record.socks5Url === null ? undefined : record.socks5Url,
|
|
636
654
|
modelId: record.modelId,
|
|
637
655
|
contextWindowTokens: record.contextWindowTokens,
|
|
638
656
|
maxOutputTokens: record.maxOutputTokens,
|
|
@@ -702,6 +720,7 @@ function runtimeConfiguration(value, resourceUrlsEnabled) {
|
|
|
702
720
|
protocol: value.protocol,
|
|
703
721
|
baseUrl: value.baseUrl,
|
|
704
722
|
credential: value.credential,
|
|
723
|
+
...(value.socks5Url === undefined ? {} : { socks5Url: value.socks5Url }),
|
|
705
724
|
modelId: value.modelId,
|
|
706
725
|
contextWindowTokens: value.contextWindowTokens,
|
|
707
726
|
maxOutputTokens: value.maxOutputTokens,
|
|
@@ -736,6 +755,7 @@ function storedConfiguration(row, settings) {
|
|
|
736
755
|
protocol: value.protocol,
|
|
737
756
|
baseUrl,
|
|
738
757
|
credential,
|
|
758
|
+
...(settings.socks5Url === undefined ? {} : { socks5Url: settings.socks5Url }),
|
|
739
759
|
modelId: value.modelId,
|
|
740
760
|
contextWindowTokens: value.contextWindowTokens,
|
|
741
761
|
maxOutputTokens: value.maxOutputTokens,
|
|
@@ -845,6 +865,7 @@ function summary(row, settings) {
|
|
|
845
865
|
access: row.public_access ? 'PUBLIC' : 'RESTRICTED',
|
|
846
866
|
credentialType: credential.type,
|
|
847
867
|
credentialConfigured: credential.configured,
|
|
868
|
+
...(settings.socks5Url === undefined ? {} : { proxyConfigured: true }),
|
|
848
869
|
lastTestedAt: row.last_tested_at === null ? null : Number(row.last_tested_at),
|
|
849
870
|
lastTestStatus: row.last_test_status === null
|
|
850
871
|
? null
|
|
@@ -200,6 +200,8 @@ function assertTransportAvailable(model, capability) {
|
|
|
200
200
|
: 'MAR_AGENT_MODEL_HTTP1_UNAVAILABLE');
|
|
201
201
|
}
|
|
202
202
|
function runtimeModel(model, ticket, imageGeneration, capability, resourceUrlsEnabled = true) {
|
|
203
|
+
if (model.socks5Url !== undefined && capability?.modelSocks5Proxy !== true)
|
|
204
|
+
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
203
205
|
if (model.gcEnabled === false && capability?.contextGcControl !== true)
|
|
204
206
|
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
205
207
|
if (model.inputCapabilities.includes('IMAGE') && capability?.resourceInput !== true)
|
|
@@ -227,6 +229,7 @@ function runtimeModel(model, ticket, imageGeneration, capability, resourceUrlsEn
|
|
|
227
229
|
name: model.name,
|
|
228
230
|
protocol: model.protocol,
|
|
229
231
|
baseUrl: model.baseUrl,
|
|
232
|
+
...(model.socks5Url === undefined ? {} : { socks5Url: model.socks5Url }),
|
|
230
233
|
...(model.credential.type === 'INLINE_API_KEY'
|
|
231
234
|
? { credential: { type: 'INLINE_API_KEY', value: model.credential.value } }
|
|
232
235
|
: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { Pool, PoolConnection } from 'mysql2/promise';
|
|
3
|
-
import type
|
|
3
|
+
import { type MarAgentModelSummary } from '@myagentroam/protocol';
|
|
4
4
|
export declare const modelSettingsV1TierSchema: z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>;
|
|
5
5
|
export declare const modelSettingsV1CredentialSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6
6
|
type: z.ZodLiteral<"INLINE_API_KEY">;
|
|
@@ -77,6 +77,7 @@ type ModelSettingsV1 = z.infer<typeof responses> | z.infer<typeof anthropic>;
|
|
|
77
77
|
export type ModelSettings = ModelSettingsV1 & {
|
|
78
78
|
gcEnabled?: boolean;
|
|
79
79
|
unifiedCompact?: boolean;
|
|
80
|
+
socks5Url?: string;
|
|
80
81
|
};
|
|
81
82
|
export declare const modelSettingsKey: (id: string) => string;
|
|
82
83
|
type Executor = Pick<Pool | PoolConnection, 'execute'>;
|
|
@@ -102,6 +103,7 @@ export declare function modelSettingsFromInput(model: {
|
|
|
102
103
|
responsesPreviousResponseId?: boolean | undefined;
|
|
103
104
|
gcEnabled?: boolean | undefined;
|
|
104
105
|
unifiedCompact?: boolean | undefined;
|
|
106
|
+
socks5Url?: string | undefined;
|
|
105
107
|
}): ModelSettings;
|
|
106
108
|
/** Check credential and endpoint constraints at a model persistence boundary. */
|
|
107
109
|
export declare function validateModelSettingsTarget(protocol: MarAgentModelSummary['protocol'], baseUrl: string, credential: unknown, settings: ModelSettings): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { modelSocks5UrlSchema } from '@myagentroam/protocol';
|
|
2
3
|
// These schemas are part of the released v34 conversion, not the evolving wire schema.
|
|
3
4
|
export const modelSettingsV1TierSchema = z.enum([
|
|
4
5
|
'auto',
|
|
@@ -69,15 +70,19 @@ export function parseStoredModelSettings(protocol, raw) {
|
|
|
69
70
|
export function parseModelSettings(protocol, value) {
|
|
70
71
|
if (value === null || typeof value !== 'object' || Array.isArray(value))
|
|
71
72
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
72
|
-
const { gcEnabled, unifiedCompact, ...legacy } = value;
|
|
73
|
+
const { gcEnabled, unifiedCompact, socks5Url, ...legacy } = value;
|
|
73
74
|
if (gcEnabled !== undefined && typeof gcEnabled !== 'boolean')
|
|
74
75
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
75
76
|
if (unifiedCompact !== undefined && typeof unifiedCompact !== 'boolean')
|
|
76
77
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
78
|
+
const proxy = modelSocks5UrlSchema.optional().safeParse(socks5Url);
|
|
79
|
+
if (!proxy.success)
|
|
80
|
+
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
77
81
|
return {
|
|
78
82
|
...parseModelSettingsV1(protocol, legacy),
|
|
79
83
|
...(gcEnabled === undefined ? {} : { gcEnabled }),
|
|
80
|
-
...(unifiedCompact === undefined ? {} : { unifiedCompact })
|
|
84
|
+
...(unifiedCompact === undefined ? {} : { unifiedCompact }),
|
|
85
|
+
...(proxy.data === undefined ? {} : { socks5Url: proxy.data })
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
88
|
/** Immutable v1 decoder shared with the v34 historical migration. */
|
|
@@ -102,12 +107,14 @@ export function modelSettingsFromInput(model) {
|
|
|
102
107
|
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
103
108
|
return parseModelSettings(model.protocol, {
|
|
104
109
|
version: 1,
|
|
110
|
+
...(model.socks5Url === undefined ? {} : { socks5Url: model.socks5Url }),
|
|
105
111
|
gcEnabled: model.gcEnabled ?? true,
|
|
106
112
|
unifiedCompact: model.unifiedCompact ?? false
|
|
107
113
|
});
|
|
108
114
|
}
|
|
109
115
|
return parseModelSettings(model.protocol, {
|
|
110
116
|
version: 1,
|
|
117
|
+
...(model.socks5Url === undefined ? {} : { socks5Url: model.socks5Url }),
|
|
111
118
|
gcEnabled: model.gcEnabled ?? true,
|
|
112
119
|
unifiedCompact: model.unifiedCompact ?? false,
|
|
113
120
|
hostedWebSearch: model.hostedWebSearch,
|
|
@@ -121,6 +128,9 @@ export function modelSettingsFromInput(model) {
|
|
|
121
128
|
/** Check credential and endpoint constraints at a model persistence boundary. */
|
|
122
129
|
export function validateModelSettingsTarget(protocol, baseUrl, credential, settings) {
|
|
123
130
|
validateModelSettingsTargetV1(protocol, baseUrl, credential, settings);
|
|
131
|
+
if (settings.socks5Url !== undefined &&
|
|
132
|
+
modelSettingsV1CredentialSchema.parse(credential).type !== 'INLINE_API_KEY')
|
|
133
|
+
throw new Error('MAR_AGENT_MODEL_CONFIG_INVALID');
|
|
124
134
|
}
|
|
125
135
|
/** Immutable v1 credential/target rules used by the v34 migration. */
|
|
126
136
|
export function validateModelSettingsTargetV1(protocol, baseUrl, credential, settings) {
|
|
@@ -102,6 +102,7 @@ export declare class NodeIdentityControl {
|
|
|
102
102
|
responsesOptionalParameters?: boolean | undefined;
|
|
103
103
|
responsesHttpContinuation?: boolean | undefined;
|
|
104
104
|
contextGcControl?: boolean | undefined;
|
|
105
|
+
modelSocks5Proxy?: boolean | undefined;
|
|
105
106
|
unifiedCompactControl?: boolean | undefined;
|
|
106
107
|
conversationModels?: boolean | undefined;
|
|
107
108
|
resourceInput?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MarAgentModelService, MarAgentRuntimeModelService } from './session-run-contracts.js';
|
|
2
|
-
/**
|
|
3
|
-
export declare function
|
|
2
|
+
/** Legacy delivery cannot relay model options that require explicit Node capability evidence. */
|
|
3
|
+
export declare function assertLegacyModelCompatibility(models: readonly unknown[]): void;
|
|
4
4
|
export declare function runtimeModelPayload(input: {
|
|
5
5
|
readonly userId: number;
|
|
6
6
|
readonly nodeId: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export function
|
|
1
|
+
/** Legacy delivery cannot relay model options that require explicit Node capability evidence. */
|
|
2
|
+
export function assertLegacyModelCompatibility(models) {
|
|
3
3
|
if (models.some((model) => model !== null &&
|
|
4
4
|
typeof model === 'object' &&
|
|
5
|
-
'gcEnabled' in model &&
|
|
6
|
-
|
|
5
|
+
(('gcEnabled' in model && model.gcEnabled === false) ||
|
|
6
|
+
('socks5Url' in model && model.socks5Url !== undefined))))
|
|
7
7
|
throw new Error('CAPABILITY_VERSION_UNSUPPORTED');
|
|
8
8
|
}
|
|
9
9
|
export async function runtimeModelPayload(input) {
|
|
@@ -26,7 +26,7 @@ export async function runtimeModelPayload(input) {
|
|
|
26
26
|
return {};
|
|
27
27
|
const model = await input.marAgentModels.runtimeForUser(input.userId, input.selectedModelId);
|
|
28
28
|
const models = await input.marAgentModels.runtimeConfigurationsForUser(input.userId);
|
|
29
|
-
|
|
29
|
+
assertLegacyModelCompatibility([model, ...(Array.isArray(models) ? models : [])]);
|
|
30
30
|
return {
|
|
31
31
|
marAgentModel: model,
|
|
32
32
|
marAgentModels: models
|
|
@@ -4,6 +4,7 @@ import { mkdtemp, open, rm } from 'node:fs/promises';
|
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
5
5
|
import path from 'node:path';
|
|
6
6
|
import { StringDecoder } from 'node:string_decoder';
|
|
7
|
+
import { CORE_SCHEMA, load } from 'js-yaml';
|
|
7
8
|
/** Builds a disk-backed immutable archive; its consumer owns disposal after use. */
|
|
8
9
|
export async function finalizeSkillBundle(input) {
|
|
9
10
|
const files = [...input.files].sort((left, right) => left.path.localeCompare(right.path));
|
|
@@ -101,15 +102,17 @@ export function parseSkillFrontmatter(content) {
|
|
|
101
102
|
const match = /^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/u.exec(content);
|
|
102
103
|
if (match === null)
|
|
103
104
|
throw new Error('SKILL_CONTENT_INVALID');
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
let metadata;
|
|
106
|
+
try {
|
|
107
|
+
metadata = load(`${match[1]}\n`, { schema: CORE_SCHEMA });
|
|
108
|
+
}
|
|
109
|
+
catch {
|
|
110
|
+
throw new Error('SKILL_CONTENT_INVALID');
|
|
109
111
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
112
|
+
if (metadata === null || typeof metadata !== 'object' || Array.isArray(metadata))
|
|
113
|
+
throw new Error('SKILL_CONTENT_INVALID');
|
|
114
|
+
const { name, description } = metadata;
|
|
115
|
+
if (typeof name !== 'string' || typeof description !== 'string' || description.length > 4096)
|
|
113
116
|
throw new Error('SKILL_CONTENT_INVALID');
|
|
114
117
|
return { name, description };
|
|
115
118
|
}
|
|
@@ -162,12 +162,15 @@ export class SkillFavoriteService {
|
|
|
162
162
|
try {
|
|
163
163
|
if (bundle.name !== String(row['normalized_name']))
|
|
164
164
|
throw new Error('SKILL_NAME_CONFLICT');
|
|
165
|
-
const [versions] = await this.database.raw.execute('SELECT commit_sha FROM skill_versions WHERE id=?', [String(row['current_version_id'])]);
|
|
165
|
+
const [versions] = await this.database.raw.execute('SELECT commit_sha,metadata FROM skill_versions WHERE id=?', [String(row['current_version_id'])]);
|
|
166
166
|
const currentCommitSha = versions[0]?.['commit_sha'];
|
|
167
167
|
if (typeof currentCommitSha !== 'string')
|
|
168
168
|
throw new Error('SKILL_VERSION_NOT_FOUND');
|
|
169
|
+
const metadata = skillMetadata(versions[0]?.['metadata'] ?? '{}');
|
|
169
170
|
return {
|
|
170
|
-
updateAvailable: bundle.commitSha !== currentCommitSha
|
|
171
|
+
updateAvailable: bundle.commitSha !== currentCommitSha ||
|
|
172
|
+
metadata['name'] !== bundle.name ||
|
|
173
|
+
metadata['description'] !== bundle.description,
|
|
171
174
|
latestCommitSha: bundle.commitSha
|
|
172
175
|
};
|
|
173
176
|
}
|
|
@@ -224,7 +227,10 @@ export class SkillFavoriteService {
|
|
|
224
227
|
timestamp
|
|
225
228
|
]);
|
|
226
229
|
else
|
|
227
|
-
await connection.execute("UPDATE skill_versions SET cache_state='READY',unreferenced_at=NULL WHERE id=?", [
|
|
230
|
+
await connection.execute("UPDATE skill_versions SET metadata=?,cache_state='READY',unreferenced_at=NULL WHERE id=?", [
|
|
231
|
+
JSON.stringify({ name: bundle.name, description: bundle.description }),
|
|
232
|
+
effectiveVersionId
|
|
233
|
+
]);
|
|
228
234
|
await connection.execute('UPDATE skill_favorites SET current_version_id=?,updated_at=? WHERE id=?', [effectiveVersionId, timestamp, favoriteId]);
|
|
229
235
|
const previousKey = parents[0]?.['cache_key'];
|
|
230
236
|
if (typeof previousKey === 'string' && previousKey !== bundle.contentHash)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam/server-core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.23",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -500,11 +500,6 @@
|
|
|
500
500
|
"types": "./dist/mcp-service.d.ts",
|
|
501
501
|
"import": "./dist/mcp-service.js"
|
|
502
502
|
},
|
|
503
|
-
"./github-skill-provider": {
|
|
504
|
-
"development": "./src/github-skill-provider.ts",
|
|
505
|
-
"types": "./dist/github-skill-provider.d.ts",
|
|
506
|
-
"import": "./dist/github-skill-provider.js"
|
|
507
|
-
},
|
|
508
503
|
"./git-skill-repository": {
|
|
509
504
|
"development": "./src/git-skill-repository.ts",
|
|
510
505
|
"types": "./dist/git-skill-repository.d.ts",
|
|
@@ -663,8 +658,9 @@
|
|
|
663
658
|
},
|
|
664
659
|
"dependencies": {
|
|
665
660
|
"@fastify/websocket": "^11.3.0",
|
|
666
|
-
"@myagentroam/protocol": "0.13.
|
|
661
|
+
"@myagentroam/protocol": "0.13.23",
|
|
667
662
|
"fastify": "^5.1.0",
|
|
663
|
+
"js-yaml": "4.3.2",
|
|
668
664
|
"mysql2": "^3.23.4",
|
|
669
665
|
"nodemailer": "^10.0.11",
|
|
670
666
|
"undici": "7.29.0",
|
|
@@ -673,6 +669,7 @@
|
|
|
673
669
|
"zod": "^3.24.1"
|
|
674
670
|
},
|
|
675
671
|
"devDependencies": {
|
|
672
|
+
"@types/js-yaml": "^4.0.9",
|
|
676
673
|
"@types/nodemailer": "^8.0.2",
|
|
677
674
|
"@types/web-push": "^3.6.4",
|
|
678
675
|
"@types/ws": "^8.18.1"
|
|
@@ -13,7 +13,7 @@ export function composeServerCatalog(input) {
|
|
|
13
13
|
const { database, authorization, now, cacheDirectory } = input;
|
|
14
14
|
const skillSources = new SkillSourceService(database, authorization, now);
|
|
15
15
|
const skillNetwork = new SkillNetworkPolicy(database);
|
|
16
|
-
const skillRepository = new GitSkillRepository(
|
|
16
|
+
const skillRepository = new GitSkillRepository();
|
|
17
17
|
const skillDiscovery = new SkillDiscoveryService(skillNetwork.fetch, skillRepository);
|
|
18
18
|
const skillFavorites = new SkillFavoriteService(database, authorization, skillSources, skillRepository, cacheDirectory, now, input.cacheMaxBytes, input.warnCacheUsage);
|
|
19
19
|
const skillArtifacts = new SkillArtifactService(cacheDirectory, now);
|
package/node_modules/@myagentroam-enterprise/server-implementation/dist/composition/server-http.js
CHANGED
|
@@ -5,10 +5,14 @@ import { registerWebStaticRoutes } from '@myagentroam/server-core/web-static-rou
|
|
|
5
5
|
import { RotatingLogStream } from '../rotating-log-stream.js';
|
|
6
6
|
import { databaseError, logCorrelation, safePublicError, sendError } from '../util/http-request.js';
|
|
7
7
|
import { ServerTrafficMetrics } from '../service/server-traffic-metrics.js';
|
|
8
|
+
/** Fresh schema migration runs during startup and can exceed Fastify's 10s default. */
|
|
9
|
+
const SERVER_STARTUP_TIMEOUT_MS = 180_000;
|
|
8
10
|
/** Own the HTTP boundary and request instrumentation, independent of product storage. */
|
|
9
11
|
export function createServerHttp(options) {
|
|
10
12
|
const { dataDirectory } = options;
|
|
11
13
|
const app = Fastify({
|
|
14
|
+
// A fresh schema migration runs in onReady and can exceed Fastify's 10s default.
|
|
15
|
+
pluginTimeout: SERVER_STARTUP_TIMEOUT_MS,
|
|
12
16
|
genReqId: () => `req-${randomUUID()}`,
|
|
13
17
|
logController: new LogController({ disableRequestLogging: true }),
|
|
14
18
|
logger: options.logger === true
|
|
@@ -98,6 +98,7 @@ export declare class NodeControl extends NodeIdentityControl {
|
|
|
98
98
|
responsesOptionalParameters?: boolean | undefined;
|
|
99
99
|
responsesHttpContinuation?: boolean | undefined;
|
|
100
100
|
contextGcControl?: boolean | undefined;
|
|
101
|
+
modelSocks5Proxy?: boolean | undefined;
|
|
101
102
|
unifiedCompactControl?: boolean | undefined;
|
|
102
103
|
conversationModels?: boolean | undefined;
|
|
103
104
|
resourceInput?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myagentroam-enterprise/server-implementation",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.23",
|
|
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.13.
|
|
18
|
+
"@myagentroam/protocol": "0.13.23",
|
|
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.13.
|
|
24
|
+
"@myagentroam/server-core": "0.13.23"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/ws": "^8.18.1"
|