@nikolasp98/minion 2026.7.12-dev.20260717012629 → 2026.7.16-dev
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/dist/{_registry.generated-CsDwKqbj.js → _registry.generated-B5zHyziR.js} +55 -19
- package/dist/{_registry.generated-Bf3ymIWb.js → _registry.generated-C3zYJ6On.js} +55 -19
- package/dist/{_registry.generated-CNf4nYSA.js → _registry.generated-DKC2RDUo.js} +55 -19
- package/dist/{accounts-B7ml53Ys.js → accounts-BwLt-V29.js} +1 -1
- package/dist/{accounts-D4dBjkdJ.js → accounts-CJf7velm.js} +1 -1
- package/dist/{accounts-CDifKOa5.js → accounts-DZ-7pWtI.js} +1 -1
- package/dist/{accounts-CJ54_EYq.js → accounts-vA22MiLu.js} +1 -1
- package/dist/{acp-cli-DG6f4Jao.js → acp-cli-DCCSn5NL.js} +4 -4
- package/dist/{acp-cli-DMIGuEja.js → acp-cli-wKQfGJIA.js} +4 -4
- package/dist/{agent-BzAtsKoj.js → agent-BvFdXWhL.js} +12 -12
- package/dist/{agent-vOBNNEUm.js → agent-DaBGbCfi.js} +11 -11
- package/dist/{agent-step-BzczgcBW.js → agent-step-BCSCZOB-.js} +3 -3
- package/dist/{agent-step-DAXo3AND.js → agent-step-CgJNQPZ8.js} +3 -3
- package/dist/{agents-CkHaALu1.js → agents-CGJzMj2S.js} +8 -8
- package/dist/{agents-list-tool-h0YontT9.js → agents-list-tool-C93hCbLj.js} +3 -3
- package/dist/{agents-list-tool-DZYlXoEu.js → agents-list-tool-Cd_Q7HuV.js} +3 -3
- package/dist/{agents-list-tool-C8z1M3vP.js → agents-list-tool-SNOunDVC.js} +3 -3
- package/dist/{audit-DFazpU7u.js → audit-CftXdiYP.js} +12 -12
- package/dist/{audit-DAd-GODJ.js → audit-D9GAKieT.js} +12 -12
- package/dist/{auth-choice-BWy0ncH4.js → auth-choice-DKtOuFks.js} +4 -4
- package/dist/{auth-choice-BqTjvTu_.js → auth-choice-dbpaxkks.js} +4 -4
- package/dist/{banner-fb9sKyTG.js → banner-B-uaqlJ9.js} +1 -1
- package/dist/{browser-cli-Dgym9Pss.js → browser-cli-BhqYEW3P.js} +3 -3
- package/dist/{browser-cli-NlqZe4Ya.js → browser-cli-DZrCLNaa.js} +3 -3
- package/dist/{browser-tool-9WO6zBb1.js → browser-tool-BWAVW295.js} +7 -7
- package/dist/{browser-tool-B8mfIisN.js → browser-tool-DErZM1k2.js} +7 -7
- package/dist/{browser-tool-B9ovj5p-.js → browser-tool-DjCmhgOb.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +153 -10
- package/dist/bundled/kg-message-sync/handler.js +2 -1
- package/dist/bundled/session-memory/handler.js +33 -0
- package/dist/{call-ZqMa-gJE.js → call-BWSchIcf.js} +3 -3
- package/dist/{call-Bak9BEaV.js → call-DHo0XdK6.js} +2 -11
- package/dist/{call-HrC4j982.js → call-DQ1ciEPz.js} +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{canvas-tool-DfHPvEBP.js → canvas-tool-BneFVxD8.js} +2 -2
- package/dist/{canvas-tool-DBXhD6tC.js → canvas-tool-DeJaejKM.js} +2 -2
- package/dist/{canvas-tool-BuPplKr1.js → canvas-tool-Ogd2OChc.js} +2 -2
- package/dist/{channel-options-BlbC4hoP.js → channel-options-D8AdMco0.js} +2 -2
- package/dist/{channel-options-Djd8KDTO.js → channel-options-DjEmC0qR.js} +2 -2
- package/dist/{channel-selection-rfZAntR5.js → channel-selection-1nQ35zxv.js} +1 -1
- package/dist/{channel-selection-DFlpx-HQ.js → channel-selection-wHLAe5Et.js} +1 -1
- package/dist/{channel-web-DOEUixG-.js → channel-web-DRfE9BO9.js} +12 -12
- package/dist/{channels-cli-BJXid8X2.js → channels-cli-B2WLqWbi.js} +13 -13
- package/dist/{channels-cli-URtGha3o.js → channels-cli-DWxvR4dU.js} +13 -13
- package/dist/{channels-status-issues-C0kIpkF7.js → channels-status-issues-8gZwCTjP.js} +1 -1
- package/dist/{channels-status-issues-DaiYEqAS.js → channels-status-issues-CE1BlXu3.js} +1 -1
- package/dist/{chrome-D_76HZyF.js → chrome-BA0Rm2cQ.js} +2 -2
- package/dist/{chrome-DuRehNFS.js → chrome-CQYa8Qpn.js} +2 -2
- package/dist/{chrome-BRzE-LJY.js → chrome-Cm9IFEur.js} +2 -2
- package/dist/{clawbot-cli-66rOShMF.js → clawbot-cli-00xvHy61.js} +1 -1
- package/dist/{clawbot-cli-hq1Rw3L6.js → clawbot-cli-BBjE2ol-.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BkuiwObq.js → cli-CgVsnrl6.js} +3 -3
- package/dist/{cli-BHAgh8CB.js → cli-CtGu18f6.js} +3 -3
- package/dist/{client-B0-4D6WF.js → client-2fZQKc2l.js} +5 -5
- package/dist/{client-UbK7ubLT.js → client-4u1JH1Zk.js} +0 -9
- package/dist/{client-D1WALv-l.js → client-B8GOknl-.js} +5 -5
- package/dist/{client-BytZEJbm.js → client-D-ZPTrtK.js} +5 -5
- package/dist/{client-BYzTMaoO.js → client-W3BYtITQ.js} +0 -9
- package/dist/{command-registry-CfWB1hdH.js → command-registry-B5mckc9m.js} +14 -14
- package/dist/{commands-registry-BlyGFCSk.js → commands-registry-DJs-edcv.js} +2 -2
- package/dist/{commands-registry-C2WcVGlB.js → commands-registry-qRRu3RMk.js} +2 -2
- package/dist/{completion-cli-tqqS0a94.js → completion-cli-BXTewelZ.js} +2 -2
- package/dist/{completion-cli-Df0qaL-8.js → completion-cli-BcPY11gL.js} +1 -1
- package/dist/{config-Cv9wgnm3.js → config-BerwgOPM.js} +2 -2
- package/dist/{config-Cl99ZT5K.js → config-BrDW75c2.js} +2 -2
- package/dist/{config-jWZyRZCZ.js → config-DPP0lwsZ.js} +1 -1
- package/dist/{config-cli-CYLtsJxS.js → config-cli-CDhIjQc_.js} +4 -4
- package/dist/{config-cli-B5jOL0sJ.js → config-cli-CS88lrpx.js} +4 -4
- package/dist/{config-guard-CmMZyP8A.js → config-guard-CdCd4lGu.js} +3 -3
- package/dist/{config-guard-l4pi5ua5.js → config-guard-DeZ33UWP.js} +3 -3
- package/dist/{config-validation-Den1ytQw.js → config-validation-CL0L0Dyf.js} +2 -2
- package/dist/{config-validation-CLa17eM9.js → config-validation-txBaIaqO.js} +2 -2
- package/dist/{configure-Iq4PQCTT.js → configure-Bg10bnTk.js} +16 -16
- package/dist/{configure-DSS4L9Mq.js → configure-D5oM27Go.js} +16 -16
- package/dist/{control-service-yE-yJe9a.js → control-service-C369Rxs0.js} +6 -6
- package/dist/{control-service-C7eTLrXZ.js → control-service-DIbEfWbr.js} +6 -6
- package/dist/crm-conversation-themes-tool-47-Pcl5J.js +37 -0
- package/dist/crm-conversation-themes-tool-COuQB3TU.js +37 -0
- package/dist/crm-conversation-themes-tool-DB8zQpU1.js +37 -0
- package/dist/{cron-cli-D6wEIJaf.js → cron-cli-CsVKtwB8.js} +2 -2
- package/dist/{cron-cli-CQ94l2uK.js → cron-cli-Dddt4cu1.js} +2 -2
- package/dist/{cron-tool-UCuWE7ej.js → cron-tool-BWM-ykso.js} +5 -5
- package/dist/{cron-tool-NSfa1aQw.js → cron-tool-CD3kXNpT.js} +5 -5
- package/dist/{cron-tool-DbqPDo0E.js → cron-tool-CaMrrFJF.js} +5 -5
- package/dist/{daemon-cli-8SASjlXZ.js → daemon-cli-CAgHOWp8.js} +9 -9
- package/dist/{daemon-cli-RcyTg_dK.js → daemon-cli-yrlA9L0h.js} +9 -9
- package/dist/daemon-cli.js +2 -10
- package/dist/daemon-install-helpers-Dwlr417c.js +2 -0
- package/dist/daemon-install-helpers-Khda5myS.js +2 -0
- package/dist/{daemon-runtime-BhDDZrXa.js → daemon-runtime-C0_5HhUZ.js} +1 -1
- package/dist/{daemon-runtime-CAiL2S2s.js → daemon-runtime-CZXX_eXt.js} +1 -1
- package/dist/{deliver-B1Y0N_1y.js → deliver-BUifEj0F.js} +4 -4
- package/dist/{deliver-CSoS2hSJ.js → deliver-DJHcrP_i.js} +5 -5
- package/dist/{deliver-CUJiWM35.js → deliver-O2dLDnLg.js} +4 -4
- package/dist/{deps-D9Ntzz9k.js → deps-i_B9izvk.js} +7 -7
- package/dist/{devices-cli-Bipcftov.js → devices-cli-B9OXRt0t.js} +1 -1
- package/dist/{devices-cli-BRJy3IY1.js → devices-cli-DAcSoXi5.js} +1 -1
- package/dist/{directory-cli-8BQHC04L.js → directory-cli-kxPXkKog.js} +4 -4
- package/dist/{directory-cli-_WM5bP6W.js → directory-cli-t11V_DDe.js} +4 -4
- package/dist/{dispatcher-CtHTDVaN.js → dispatcher-CvddQmnF.js} +1 -1
- package/dist/{dispatcher-988hS7Ae.js → dispatcher-Dt_9aSBz.js} +1 -1
- package/dist/{dm-policy-shared-CfyAqELR.js → dm-policy-shared-Df7eGBuI.js} +2 -2
- package/dist/{dm-policy-shared-CppG0CX8.js → dm-policy-shared-DyFNKOIs.js} +2 -2
- package/dist/{dns-cli-DCgy52JG.js → dns-cli-CuxJhzIr.js} +2 -2
- package/dist/{dns-cli-DbqXCKNP.js → dns-cli-D-xNNWBy.js} +2 -2
- package/dist/doctor-completion-B-tgL_ut.js +2 -0
- package/dist/{doctor-completion-BPELnU8c.js → doctor-completion-D1cLVgnw.js} +1 -1
- package/dist/doctor-completion-DvEGPvIT.js +2 -0
- package/dist/{doctor-completion-DWJ2fJLm.js → doctor-completion-rfyVqz7I.js} +1 -1
- package/dist/{doctor-config-flow-Duw53q8X.js → doctor-config-flow-C2p3v-cC.js} +6 -6
- package/dist/{doctor-config-flow-9obFC4B6.js → doctor-config-flow-D6uaIY8F.js} +6 -6
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-DnEDMEl_.js → exec-approvals-cli-CYxKrRPS.js} +2 -2
- package/dist/{exec-approvals-cli-bG-2V8IK.js → exec-approvals-cli-CaGKwCkP.js} +2 -2
- package/dist/extensionAPI.d.ts +11 -0
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-CsUP-93u.js → gateway-DpUea-L8.js} +3 -3
- package/dist/{gateway-CHEg4jKw.js → gateway-DyaIYiPf.js} +3 -3
- package/dist/{gateway-CcEXool4.js → gateway-RMd15lxN.js} +3 -3
- package/dist/{gateway-cli-CLUd67zt.js → gateway-cli-1dY-uNhm.js} +125 -77
- package/dist/{gateway-cli-BaxymLId.js → gateway-cli-n18LFNeU.js} +124 -76
- package/dist/{gateway-rpc-COQ8FqPA.js → gateway-rpc-BaD9gDWy.js} +1 -1
- package/dist/{gateway-rpc-BqUEmI86.js → gateway-rpc-C3LLjyGe.js} +1 -1
- package/dist/{gateway-tool-CLJLs_eO.js → gateway-tool-BAdp6SH1.js} +3 -3
- package/dist/{gateway-tool-DIlC2Nw9.js → gateway-tool-kRxmsmMz.js} +3 -3
- package/dist/{gateway-tool-CMZ7JFSi.js → gateway-tool-sHQ43WtK.js} +3 -3
- package/dist/{github-copilot-auth-DSN2t-MD.js → github-copilot-auth-C6LhCOk3.js} +2 -2
- package/dist/{github-copilot-auth-DEKfsNig.js → github-copilot-auth-VK12SD5f.js} +2 -2
- package/dist/{gmail-C0H3lnho.js → gmail-89acEtXH.js} +1 -1
- package/dist/{gmail-BWzWyuEC.js → gmail-tGz-kYHa.js} +1 -1
- package/dist/{health-BOLotDVI.js → health-8oE9qNSE.js} +10 -10
- package/dist/{health-n09fR4uF.js → health-CYE5q8Un.js} +10 -10
- package/dist/{heartbeat-events-DLgkBgdw.js → heartbeat-events-C2_9-jxQ.js} +2 -1
- package/dist/{heartbeat-events-CNb7CXLY.js → heartbeat-events-D-wmX2Vg.js} +2 -1
- package/dist/{helpers-u2p1CEdY.js → helpers-CNcaAdSH.js} +1 -1
- package/dist/{helpers-wYqnVV1l.js → helpers-bG_wfee1.js} +1 -1
- package/dist/{hooks-cli-BChX0GfN.js → hooks-cli-CB_KzY16.js} +2 -2
- package/dist/{hooks-cli-BsiKHy2j.js → hooks-cli-CEnzt4Dn.js} +2 -2
- package/dist/{host-D_jlsIB_.js → host-Ck1Iu5db.js} +33 -0
- package/dist/{host-w2pX4Cmj.js → host-FOFn61kz.js} +33 -0
- package/dist/{image-tool-DPs5GOo0.js → image-tool-CEjIXfAz.js} +2 -2
- package/dist/{image-tool-KquG28S1.js → image-tool-DA0ckrPq.js} +1 -1
- package/dist/{image-tool-B64cWBbG.js → image-tool-OiDWYqmY.js} +2 -2
- package/dist/index.d.ts +11 -0
- package/dist/index.js +10 -10
- package/dist/{io-_W2ysx6z.js → io-6cqme3no.js} +2 -2
- package/dist/{io-DL2AoOm6.js → io-7MYBxUkU.js} +2 -2
- package/dist/{io-CHxJ2IV9.js → io-D8w0m4e7.js} +2 -1
- package/dist/{ir-C_pqBx9f.js → ir-BPZJ-sfR.js} +1 -1
- package/dist/{ir-CQ_IDLBh.js → ir-BhnJmnK_.js} +5 -5
- package/dist/{ir-De8voDFg.js → ir-CdlSkzAy.js} +1 -1
- package/dist/{lifecycle-core-D-4LcacU.js → lifecycle-core-Dmy-67JO.js} +3 -3
- package/dist/{lifecycle-core-Dv7iETEh.js → lifecycle-core-DwiJf6GO.js} +3 -3
- package/dist/llm-slug-generator.js +33 -0
- package/dist/{load-tools-tool-ty4HlT93.js → load-tools-tool-CK9n4dpv.js} +3 -3
- package/dist/{load-tools-tool-BYrsmdJA.js → load-tools-tool-DVMiLHnV.js} +3 -3
- package/dist/{load-tools-tool-D-t6Uyow.js → load-tools-tool-jvr9ELiC.js} +3 -3
- package/dist/{logs-cli-D0f9ClNf.js → logs-cli-DYkz_Y2b.js} +2 -2
- package/dist/{logs-cli-DQcLuVDk.js → logs-cli-y33n6Plb.js} +2 -2
- package/dist/{memory-cli-DJz45LiT.js → memory-cli-CchSD5_M.js} +3 -3
- package/dist/{memory-cli-B-kgMpE9.js → memory-cli-DWeZSF4O.js} +3 -3
- package/dist/{message-action-runner-WAH6Nx_E.js → message-action-runner-BJzBMfAN.js} +11 -11
- package/dist/{message-action-runner-CrnI7zJF.js → message-action-runner-aRJaOp3h.js} +11 -11
- package/dist/{message-ledger-DGMqKFzT.js → message-ledger-DmX8k7Eb.js} +6 -6
- package/dist/{message-tool-BP7sus2D.js → message-tool-BT_lShXP.js} +6 -6
- package/dist/{message-tool-DJ4XAozg.js → message-tool-CJ2k9G2X.js} +6 -6
- package/dist/{message-tool-C4ivxq_1.js → message-tool-DkxTGNJ_.js} +9 -9
- package/dist/{minion-tools-DR8Fp8tP.js → minion-tools-CEQNyDLo.js} +22 -20
- package/dist/{model-catalog-DU-4NufX.js → model-catalog-Dun9rUwm.js} +3 -3
- package/dist/{model-catalog-DmPKIRh-.js → model-catalog-RhTD2XJY.js} +3 -3
- package/dist/{model-fallback-D6SvylPa.js → model-fallback-Cm3Tv0In.js} +2 -2
- package/dist/{model-fallback-DjjhedHX.js → model-fallback-CrSemKRh.js} +2 -2
- package/dist/{model-fallback-BIWcF5BS.js → model-fallback-uwtaor8f.js} +4 -4
- package/dist/{model-picker-CdMq6Dy8.js → model-picker-C_UhEF-R.js} +2 -2
- package/dist/{model-picker-CUVKlLlc.js → model-picker-D7OvwR5Y.js} +2 -2
- package/dist/{models-CDsotXJU.js → models-DEvrTY5o.js} +12 -12
- package/dist/{models-cli-DgOgLS1i.js → models-cli-BBuPQES6.js} +2 -2
- package/dist/{models-cli-BVnIdzK_.js → models-cli-DsDVKG2f.js} +12 -12
- package/dist/{models-config-8eBWJPY6.js → models-config-DTMIOONu.js} +2 -2
- package/dist/{models-config-Ca7_3EVB.js → models-config-pB1nNFSi.js} +2 -2
- package/dist/{node-cli-BVFcL7al.js → node-cli-Cdp1_fUq.js} +9 -9
- package/dist/{node-cli-DuEWn_K5.js → node-cli-DsU_QUTE.js} +9 -9
- package/dist/{nodes-cli-BB-4JVQ9.js → nodes-cli-B4oX5uNL.js} +5 -5
- package/dist/{nodes-cli-BV5htTim.js → nodes-cli-CKkuvp7a.js} +5 -5
- package/dist/{nodes-tool-DNk_iGvq.js → nodes-tool-C9NV_GnB.js} +3 -3
- package/dist/{nodes-tool-D9D8rWHz.js → nodes-tool-CTpJ5fug.js} +3 -3
- package/dist/{nodes-tool-VT3uXXFG.js → nodes-tool-sKJc-Yjj.js} +3 -3
- package/dist/{nodes-utils-Bwt9VQrQ.js → nodes-utils-CFmLuU06.js} +1 -1
- package/dist/{nodes-utils-hu5DJ-kd.js → nodes-utils-CkQsT0N0.js} +1 -1
- package/dist/{nodes-utils-DGkb5nAT.js → nodes-utils-DNMhzvVb.js} +1 -1
- package/dist/{onboard-2ztWbC9y.js → onboard-V7JyPJex.js} +9 -9
- package/dist/{onboard-channels-BQPYIAjI.js → onboard-channels-BDfxpK7n.js} +1 -1
- package/dist/{onboard-channels-DVkwLCVk.js → onboard-channels-CmC3qBbq.js} +3 -3
- package/dist/{onboard-channels-CiCrqf3j.js → onboard-channels-CzKarfzC.js} +1 -1
- package/dist/{onboard-channels-DrLduhDq.js → onboard-channels-yUQOZPgP.js} +3 -3
- package/dist/{onboard-custom-Bg1Gr0Lb.js → onboard-custom-BDM5_y2p.js} +2 -2
- package/dist/{onboard-custom-Dj7SknXG.js → onboard-custom-BvfApkVd.js} +1 -1
- package/dist/{onboard-custom-L6PmxwEN.js → onboard-custom-CfZMfUJ3.js} +1 -1
- package/dist/{onboard-custom-C3VrRkQU.js → onboard-custom-CmwY-IfM.js} +2 -2
- package/dist/{onboard-helpers-98Ab25-x.js → onboard-helpers-BE_18443.js} +1 -1
- package/dist/{onboard-helpers-Ckl5HK9L.js → onboard-helpers-CekhN2Dt.js} +5 -5
- package/dist/{onboard-helpers-Dx0nCBj-.js → onboard-helpers-DfEvL7Eo.js} +1 -1
- package/dist/{onboard-helpers-CWZOB3ci.js → onboard-helpers-gS7HQOeH.js} +5 -5
- package/dist/{onboard-remote-ngZhsiae.js → onboard-remote-CEWlSso0.js} +1 -1
- package/dist/{onboard-remote-Cl8bKHYI.js → onboard-remote-aQfExF92.js} +1 -1
- package/dist/{onboard-BM4TgJ6r.js → onboard-rqIA9EXQ.js} +9 -9
- package/dist/{onboard-skills-fAHH7Gyd.js → onboard-skills-75JQVISV.js} +1 -1
- package/dist/{onboard-skills-Qg53Hbwm.js → onboard-skills-BSGpQX_t.js} +1 -1
- package/dist/{onboarding-C5nm_X1A.js → onboarding-BNfuRC7v.js} +12 -12
- package/dist/{onboarding-D8RZyRch.js → onboarding-IiILUaqA.js} +12 -12
- package/dist/{onboarding.finalize-Bd8kpm5F.js → onboarding.finalize-D2iRalHn.js} +9 -9
- package/dist/{onboarding.finalize-BVBgWbsD.js → onboarding.finalize-T1iu9hW_.js} +9 -9
- package/dist/{onboarding.gateway-config-Bdb5Z5Aw.js → onboarding.gateway-config-DPJvhCxG.js} +2 -2
- package/dist/{onboarding.gateway-config-CQIiKPZZ.js → onboarding.gateway-config-W1qUrMi_.js} +2 -2
- package/dist/{outbound-send-deps-DrcbV6tD.js → outbound-send-deps-_gwXpS3X.js} +7 -7
- package/dist/{pairing-cli-CcnxCBHt.js → pairing-cli-DOVP6x__.js} +4 -4
- package/dist/{pairing-cli-st8U6EcM.js → pairing-cli-DZQ0VISz.js} +4 -4
- package/dist/{pairing-store-BZ_JYBuQ.js → pairing-store-BP5Qp69V.js} +2 -2
- package/dist/{pairing-store-B79S_0_e.js → pairing-store-CNDIY_e9.js} +2 -2
- package/dist/{pi-embedded-helpers-DomoDW6C.js → pi-embedded-helpers-CAos7nyg.js} +6 -6
- package/dist/{pi-embedded-helpers-Crzl9Ptt.js → pi-embedded-helpers-CJQRe8VG.js} +1 -1
- package/dist/{pi-embedded-helpers-Dy2o4GJU.js → pi-embedded-helpers-Dt84Vt0L.js} +1 -1
- package/dist/{pi-embedded-utils-W20xojsQ.js → pi-embedded-utils-BlYe4un1.js} +1 -1
- package/dist/{pi-embedded-utils-Dov_1wrm.js → pi-embedded-utils-C3czix2Z.js} +1 -1
- package/dist/{pi-embedded-utils-C9Ig6x5H.js → pi-embedded-utils-CnKLZQZs.js} +1 -1
- package/dist/{pi-tools.policy-ZOYo3MOw.js → pi-tools.policy-DClWWLv0.js} +4 -4
- package/dist/{plugin-auto-enable-DJVuPnPD.js → plugin-auto-enable-2zVKrpSR.js} +1 -1
- package/dist/{plugin-auto-enable-pxHX0maS.js → plugin-auto-enable-BFqsBeiO.js} +1 -1
- package/dist/{plugin-registry-BdA8bkkg.js → plugin-registry-B8Ol763b.js} +3 -3
- package/dist/{plugin-registry-BcUcYmaR.js → plugin-registry-DqZ7qJuj.js} +3 -3
- package/dist/plugin-sdk/agents/tools/hub/crm-conversation-themes-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/hub/search-crm-conversations-tool.d.ts +11 -0
- package/dist/plugin-sdk/channels/discord.js +153 -10
- package/dist/plugin-sdk/channels/imessage.js +153 -10
- package/dist/plugin-sdk/channels/line.js +153 -10
- package/dist/plugin-sdk/channels/signal.js +153 -10
- package/dist/plugin-sdk/channels/slack.js +153 -10
- package/dist/plugin-sdk/channels/telegram.js +153 -10
- package/dist/plugin-sdk/channels/whatsapp.js +153 -10
- package/dist/plugin-sdk/config/types.channels.d.ts +11 -0
- package/dist/plugin-sdk/config/zod-schema.d.ts +2 -0
- package/dist/plugin-sdk/config/zod-schema.providers.d.ts +1 -0
- package/dist/plugin-sdk/core.js +2 -1
- package/dist/plugin-sdk/gateway/client.d.ts +0 -5
- package/dist/plugin-sdk/index.js +153 -10
- package/dist/plugin-sdk/personal-agent/credential-client.d.ts +6 -3
- package/dist/{plugins-aBgm3_eG.js → plugins-BSX3IzSW.js} +1 -1
- package/dist/{plugins-ILaNu51h.js → plugins-BbE87x_i.js} +1 -1
- package/dist/{plugins-DIMPP-zl.js → plugins-Db3l--Iv.js} +1 -1
- package/dist/{plugins-cli-z0673Z22.js → plugins-cli-Do_2x-P9.js} +3 -3
- package/dist/{plugins-cli-DMXOjGN9.js → plugins-cli-sYIckkU6.js} +3 -3
- package/dist/{program-CYyifeuZ.js → program-DuPIc0CA.js} +7 -7
- package/dist/{program-context-DzIbU0bj.js → program-context-Butv-q95.js} +42 -42
- package/dist/{prompt-select-styled-DE_9eTX0.js → prompt-select-styled-BExVeXb2.js} +18 -18
- package/dist/{prompt-select-styled-BI5heXfT.js → prompt-select-styled-Cp4tJmDm.js} +18 -18
- package/dist/{push-apns-CEfyUVQq.js → push-apns-Bxplfna8.js} +1 -31
- package/dist/{push-apns-D-ADx4p9.js → push-apns-a42ldGL8.js} +1 -31
- package/dist/{pw-ai-BkVKdYxH.js → pw-ai-CYHslBvW.js} +2 -2
- package/dist/{pw-ai-B6aEpQIL.js → pw-ai-CuhAAfak.js} +2 -2
- package/dist/{pw-ai-1AjpMjvn.js → pw-ai-DQg5o_dq.js} +2 -2
- package/dist/{pw-session-CwDrqroL.js → pw-session-CE6GP8K2.js} +1 -1
- package/dist/{pw-session-BTG9qS_z.js → pw-session-DllHustd.js} +1 -1
- package/dist/{pw-session-DOTM4Sle.js → pw-session-UBu8_Nno.js} +1 -1
- package/dist/{qr-cli-FqFw51_J.js → qr-cli-BCZv2_hI.js} +2 -2
- package/dist/{qr-cli-D38LRTOG.js → qr-cli-DX6_VGoE.js} +2 -2
- package/dist/{register.agent-CD9wHycm.js → register.agent-BxjtbKDH.js} +7 -7
- package/dist/{register.agent-BYrXMCEF.js → register.agent-DWJIWMVU.js} +12 -12
- package/dist/{register.channel-B9Mw_26i.js → register.channel-BDuMmK1a.js} +2 -2
- package/dist/{register.channel-fZE2JOS9.js → register.channel-C_DXxr7c.js} +2 -2
- package/dist/{register.configure-Dqmb6Fqp.js → register.configure-B_XY4Rl7.js} +1 -1
- package/dist/{register.configure-C8kMa4VY.js → register.configure-kQKEsyRt.js} +1 -1
- package/dist/{register.drone-DX5m_SKw.js → register.drone-B2YlfnxU.js} +2 -2
- package/dist/{register.drone-DyOcUxfl.js → register.drone-BEaZQLpQ.js} +2 -2
- package/dist/{register.maintenance-3MNrjbFd.js → register.maintenance-BzbQEwcr.js} +5 -5
- package/dist/{register.maintenance-CuxgtPmA.js → register.maintenance-x4QqUEAs.js} +5 -5
- package/dist/{register.message-BaCQuwDe.js → register.message-C-HGH6ro.js} +7 -7
- package/dist/{register.message-D0inC6JU.js → register.message-erSrrSy8.js} +7 -7
- package/dist/{register.onboard-CtZogYsE.js → register.onboard-DtSasogy.js} +1 -1
- package/dist/{register.onboard-CkI-ZPxt.js → register.onboard-RztK81fK.js} +1 -1
- package/dist/{register.setup-BCAqb9nl.js → register.setup-CNKwjRf3.js} +4 -4
- package/dist/{register.setup-CvTBTBJL.js → register.setup-CU4oyWQN.js} +4 -4
- package/dist/{register.status-health-sessions-BCca16t9.js → register.status-health-sessions-C4MLusee.js} +6 -6
- package/dist/{register.status-health-sessions-CGSIqPsZ.js → register.status-health-sessions-CaPTa3NI.js} +3 -3
- package/dist/{register.subclis-avuYre6I.js → register.subclis-Q6q9ktLa.js} +29 -29
- package/dist/{reply-CMo5_5nQ.js → reply-pajA-Yl6.js} +33 -31
- package/dist/{reply-payloads-C5viTd5m.js → reply-payloads-BlZu5x6x.js} +6 -6
- package/dist/{reply-prefix-BqPoLwgX.js → reply-prefix-C2RVZSgb.js} +1 -1
- package/dist/{reply-prefix-C_4_2_tQ.js → reply-prefix-g25aWRqJ.js} +1 -1
- package/dist/{resolve-route-B8qAtRTs.js → resolve-route-DQ7BIAU_.js} +2 -2
- package/dist/{resolve-route-Dr04XQXF.js → resolve-route-yooa1z42.js} +4 -4
- package/dist/{routes-CSewHf9L.js → routes-C5NVLNYd.js} +4 -4
- package/dist/{routes-COyjqFSx.js → routes-C9bf1VtT.js} +4 -4
- package/dist/{rpc-Bps1MdYe.js → rpc-BXk0xG0H.js} +1 -1
- package/dist/{rpc-U0uJ0I1k.js → rpc-CRCwztMb.js} +1 -1
- package/dist/{run-main-CeWSzBJg.js → run-main-BdLBIyiP.js} +19 -19
- package/dist/{sandbox-DVJQM86_.js → sandbox-DLtSFsnF.js} +7 -7
- package/dist/{sandbox-CITm9v8F.js → sandbox-DQ8PqB1U.js} +7 -7
- package/dist/{sandbox-cli-DGeuI0Wo.js → sandbox-cli-BoxfOIvp.js} +4 -4
- package/dist/{sandbox-cli-B95ZMCXB.js → sandbox-cli-CFJ9cLf1.js} +4 -4
- package/dist/{sdk-inspect-tool-CZuz_PqC.js → sdk-inspect-tool--0YwiPqb.js} +2 -2
- package/dist/{sdk-inspect-tool-pAJTD-ha.js → sdk-inspect-tool-gngBv_e2.js} +2 -2
- package/dist/{sdk-inspect-tool-D42KFyHW.js → sdk-inspect-tool-lWmixb2O.js} +2 -2
- package/dist/search-crm-conversations-tool-CXlTimAj.js +37 -0
- package/dist/search-crm-conversations-tool-CsAUIlEu.js +37 -0
- package/dist/search-crm-conversations-tool-CxEqcbxC.js +37 -0
- package/dist/{search-tools-tool-C-IdNFYI.js → search-tools-tool-BCV0uHLY.js} +2 -2
- package/dist/{search-tools-tool-RZGm2Xcj.js → search-tools-tool-DIr1vVNX.js} +2 -2
- package/dist/{search-tools-tool-DHcesN1E.js → search-tools-tool-XuYT8kpL.js} +2 -2
- package/dist/{security-cli-CVhHPapS.js → security-cli-Cx2puO6Q.js} +4 -4
- package/dist/{security-cli-vf7gqh0K.js → security-cli-sqaoNzjc.js} +4 -4
- package/dist/{send-B4YbtmkF.js → send-BABrPQhp.js} +4 -4
- package/dist/{send-CjkML4L8.js → send-BOAXOqlj.js} +5 -5
- package/dist/{send-D2OpIavo.js → send-BhHYA7fz.js} +4 -4
- package/dist/{send-DK8EFs7N.js → send-C1R6SHFd.js} +4 -4
- package/dist/{send-B0lgkcly.js → send-CQTnHf7j.js} +6 -6
- package/dist/{send-CFbW7252.js → send-CzX8rfQQ.js} +6 -6
- package/dist/{send-DKFYAGz-.js → send-DIjmAwBt.js} +5 -5
- package/dist/{send-Cy07SRYV.js → send-DfwkS1Cy.js} +5 -5
- package/dist/{send-5NXIO0Hz.js → send-DmLvgXqi.js} +5 -5
- package/dist/{send-CDxvcffu.js → send-F3N3Vgcy.js} +4 -4
- package/dist/{server-context-BzJmaGcJ.js → server-context-BYcLDvQc.js} +6 -6
- package/dist/{server-context-tH7qykHx.js → server-context-CDmBokpm.js} +6 -6
- package/dist/{server-context-DjgDk76D.js → server-context-DFdTmsBq.js} +6 -6
- package/dist/{server-methods-list-DCASvqMj.js → server-methods-list-CUUd_Znm.js} +1 -1
- package/dist/{server-methods-list-DDeo_-Mr.js → server-methods-list-ZEquDpTD.js} +1 -1
- package/dist/{server-node-events-FM-1CCYG.js → server-node-events-Dml6MIAW.js} +11 -11
- package/dist/{server-node-events-FvS3PKPQ.js → server-node-events-DpkjSBLL.js} +9 -9
- package/dist/{session-status-tool-DP2Q1LTf.js → session-status-tool-BHEQX4IM.js} +6 -6
- package/dist/{session-status-tool-Bzg63rF-.js → session-status-tool-CIAw4c-9.js} +5 -5
- package/dist/{session-status-tool-Cm0CqYIk.js → session-status-tool-CJeMrNTI.js} +7 -7
- package/dist/{session-utils-DJlQmR6P.js → session-utils-Ffl6ASbR.js} +4 -4
- package/dist/{sessions-D0Infjpa.js → sessions-CiNGPwTK.js} +4 -4
- package/dist/{sessions-utf2q0f9.js → sessions-ClJAVE0p.js} +6 -6
- package/dist/{sessions-BCDks_XV.js → sessions-DcOCMszs.js} +3 -3
- package/dist/{sessions-CNmLoXhd.js → sessions-bztP6lN1.js} +6 -6
- package/dist/{sessions-helpers-xCR-AaFX.js → sessions-helpers-Ctko7_ZU.js} +3 -3
- package/dist/{sessions-helpers-zap6ivKN.js → sessions-helpers-D6BayuvJ.js} +3 -3
- package/dist/{sessions-helpers-ghfg2LfY.js → sessions-helpers-DpKh-EgX.js} +3 -3
- package/dist/{sessions-history-tool-CxIG0JPX.js → sessions-history-tool-BtLEW8Jq.js} +5 -5
- package/dist/{sessions-history-tool-BF5ChD6B.js → sessions-history-tool-DlKTVhCD.js} +5 -5
- package/dist/{sessions-history-tool-D3Dn_uha.js → sessions-history-tool-DnxZRMF3.js} +5 -5
- package/dist/{sessions-list-tool-B6UDiCME.js → sessions-list-tool-BGmjNjoA.js} +5 -5
- package/dist/{sessions-list-tool-BT6CtOqD.js → sessions-list-tool-DSB6_hFi.js} +5 -5
- package/dist/{sessions-list-tool-CCPfOMIk.js → sessions-list-tool-OP5IQOE0.js} +5 -5
- package/dist/{sessions-send-tool-DSiDvTip.js → sessions-send-tool-BF8lKSLy.js} +6 -6
- package/dist/{sessions-send-tool-CIkyHnqX.js → sessions-send-tool-C1WMGH6W.js} +6 -6
- package/dist/{sessions-send-tool-3Xy11nb5.js → sessions-send-tool-CG8A-kW5.js} +5 -5
- package/dist/{sessions-spawn-tool-P_cgC56H.js → sessions-spawn-tool-BD6XdQ4G.js} +1 -1
- package/dist/{sessions-spawn-tool-DNo3suCr.js → sessions-spawn-tool-BE94fv2r.js} +1 -1
- package/dist/{sessions-spawn-tool-BOUcfO2z.js → sessions-spawn-tool-DRxk6sWZ.js} +1 -1
- package/dist/{shared-DZI5Tw3G.js → shared-3xuhqrQ5.js} +2 -2
- package/dist/{shared-Cs4h-DrN.js → shared-CCaYvPXV.js} +2 -2
- package/dist/{skills-cli-Czq_tuYG.js → skills-cli-CQ8fYddY.js} +2 -2
- package/dist/{skills-cli-_aZXg-M2.js → skills-cli-D-V0vRgX.js} +2 -2
- package/dist/{status-B8ctdi4H.js → status-BeasmhMH.js} +13 -13
- package/dist/{status-qdsXcKy3.js → status-D8c6C5Z0.js} +3 -3
- package/dist/{status-DAl0ewcT.js → status-DHuWnwac.js} +3 -3
- package/dist/{status-DAWcKhN8.js → status-DbOwDhDe.js} +14 -14
- package/dist/{status.update-BBvsvukV.js → status.update-otfuSKpG.js} +1 -1
- package/dist/{status.update-GAs1fuEC.js → status.update-ww09PQZI.js} +1 -1
- package/dist/{subagent-registry-ByD-v8W6.js → subagent-registry-BHdRG10Z.js} +34 -32
- package/dist/{subagents-tool-DW6VxAbS.js → subagents-tool-CpBMVS4i.js} +6 -6
- package/dist/{subagents-tool-DY3qkUDA.js → subagents-tool-DIxAhxWP.js} +6 -6
- package/dist/{subagents-tool-DzdXPWJG.js → subagents-tool-h2WCtDtU.js} +6 -6
- package/dist/{system-cli-BfEvMnOR.js → system-cli-C7sjnpqK.js} +1 -1
- package/dist/{system-cli-DGKQvMgv.js → system-cli-DP_wysY-.js} +1 -1
- package/dist/{systemd-hints-BuFrkz3c.js → systemd-hints-BnL2sVfy.js} +1 -1
- package/dist/{systemd-hints-CknVLhp1.js → systemd-hints-DEXpKBnF.js} +1 -1
- package/dist/{tables-7hvx4NLL.js → tables-Cu2OX2r-.js} +1 -1
- package/dist/{tables-CaW_VQVO.js → tables-DMdQO81Y.js} +1 -1
- package/dist/{targets-BLzENb7Y.js → targets-By4KtyZv.js} +1 -1
- package/dist/{targets-q-IdZXy8.js → targets-DypSB4K6.js} +2 -2
- package/dist/{targets-dnyaBFnI.js → targets-UmV1VAkB.js} +1 -1
- package/dist/{tool-index-jbcu4uIg.js → tool-index-BtpJk78_.js} +1 -1
- package/dist/{tool-index-CSvXEUhV.js → tool-index-BwKMLu1r.js} +1 -1
- package/dist/{tool-index-DT6m2Vqq.js → tool-index-CEYMGFrO.js} +1 -1
- package/dist/{tool-policy-Cn0_ZqFk.js → tool-policy-CGuZzs9F.js} +2 -0
- package/dist/{tools-cli-NmnXQw8E.js → tools-cli-B13gsec8.js} +3 -3
- package/dist/{tools-cli-C8t6Y2DR.js → tools-cli-BJ_zWgqf.js} +3 -3
- package/dist/{tts-DT0JbNew.js → tts-CdyriGYN.js} +2 -2
- package/dist/{tts-CkvaGeSt.js → tts-DH1gVM5t.js} +34 -1
- package/dist/{tts-BKfdvnUw.js → tts-EAcO1Hwe.js} +2 -2
- package/dist/{tts-tool-Bt02Ilnt.js → tts-tool-BBIMu7X2.js} +3 -3
- package/dist/{tts-tool-B4hynytG.js → tts-tool-DO_F3ZME.js} +3 -3
- package/dist/{tts-tool-DeKe9DRz.js → tts-tool-oG4FOqod.js} +3 -3
- package/dist/{tui-Djk1B2Va.js → tui-CvQjFLn2.js} +6 -13
- package/dist/{tui-BlYxWZKF.js → tui-CyKvw7SL.js} +6 -13
- package/dist/{tui-cli-B8fz3Gfm.js → tui-cli-DROBYt8G.js} +1 -1
- package/dist/{tui-cli-BGoP1l4m.js → tui-cli-PQR9JVFA.js} +1 -1
- package/dist/{update-cli--Kai2Xfo.js → update-cli-DsNQjCBa.js} +8 -8
- package/dist/{update-cli-B4x9hkNP.js → update-cli-GDRvdoj2.js} +8 -8
- package/dist/{validation-Tg8YP6Zn.js → validation-DAS7vvMM.js} +1 -0
- package/dist/{validation-Crc6Dwkp.js → validation-DoqW0cF4.js} +1 -0
- package/dist/{web-BNlwEmMT.js → web-Bqx30F6C.js} +12 -12
- package/dist/web-DKofD48i.js +2 -0
- package/dist/{web-search-Q8h69tgX.js → web-search-BGzVmln0.js} +4 -4
- package/dist/{web-search-CG0Jah4V.js → web-search-BXe6QGYe.js} +4 -4
- package/dist/{web-search-8KE8nizc.js → web-search-CGnEgHNH.js} +4 -4
- package/dist/{webhooks-cli-loBRONyV.js → webhooks-cli-DMfQ_Sq0.js} +4 -4
- package/dist/{webhooks-cli-Dtt7wEbR.js → webhooks-cli-wUMz0eSs.js} +4 -4
- package/dist/{workspace-dirs-DCRQB551.js → workspace-dirs-Duw92DA5.js} +4 -4
- package/extensions/alert-watcher/index.js +33 -0
- package/extensions/bluebubbles/index.js +1 -0
- package/extensions/feishu/index.js +1 -0
- package/extensions/flows/index.js +34 -0
- package/extensions/gmail-calendar/index.js +201 -100
- package/extensions/gmail-calendar/index.ts +4 -0
- package/extensions/gmail-calendar/src/pulse-tools.test.ts +14 -0
- package/extensions/gmail-calendar/src/pulse-tools.ts +63 -0
- package/extensions/googlechat/index.js +1 -0
- package/extensions/irc/index.js +1 -0
- package/extensions/llm-task/index.js +33 -0
- package/extensions/matrix/{credentials-BiYGX26F.mjs → credentials-B_Avjvsy.mjs} +1 -0
- package/extensions/matrix/index.js +3 -3
- package/extensions/matrix/{matrix-Dqf7qlT1.mjs → matrix-Dy31zmus.mjs} +2 -2
- package/extensions/matrix/{resolve-targets-BPyBSXgs.mjs → resolve-targets-Bv0B2AJv.mjs} +2 -2
- package/extensions/mattermost/index.js +1 -0
- package/extensions/meta-graph/index.js +43 -3
- package/extensions/meta-graph/minion.manifest.ts +3 -0
- package/extensions/meta-graph/minion.plugin.json +7 -1
- package/extensions/meta-graph/src/channels/messaging-platform.ts +66 -1
- package/extensions/meta-graph/src/channels/shared.ts +21 -0
- package/extensions/nextcloud-talk/index.js +1 -0
- package/extensions/tlon/index.js +33 -0
- package/extensions/wati/index.js +1 -0
- package/extensions/weixin/index.js +1 -0
- package/extensions/zalo/index.js +1 -0
- package/extensions/zalouser/index.js +1 -0
- package/package.json +1 -1
- package/dist/daemon-install-helpers-7XKlSxjN.js +0 -2
- package/dist/daemon-install-helpers-BItV2t5d.js +0 -2
- package/dist/doctor-completion-8gqw3zRt.js +0 -2
- package/dist/doctor-completion-uY7s1Gdv.js +0 -2
- package/dist/web-BfUZ3tIc.js +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { C as expandHomePrefix, c as resolveConfigPath, d as resolveGatewayLockDir, f as resolveGatewayPort, n as STATE_DIR, r as isNixMode, t as CONFIG_PATH, v as resolveStateDir } from "./paths-CoM-oAkW.js";
|
|
2
2
|
import { C as shortenHomePath, D as truncateUtf16Safe, L as getChildLogger, P as setVerbose, R as getLogger, _ as resolveConfigDir, b as resolveUserPath, c as ensureDir, d as isPlainObject, r as clamp, t as CONFIG_DIR, w as sleep, z as getResolvedLoggerSettings } from "./utils-FhRSYjMj.js";
|
|
3
3
|
import { n as isRich, r as theme, t as colorize } from "./theme-CDbj88LB.js";
|
|
4
|
-
import { A as resolveBootstrapTotalMaxChars, B as normalizeVerboseLevel, F as listThinkingLevels, H as supportsXHighThinking, I as normalizeElevatedLevel, L as normalizeReasoningLevel, M as formatThinkingLevels, N as formatXHighModelHint, R as normalizeThinkLevel, k as resolveBootstrapMaxChars, z as normalizeUsageDisplay } from "./pi-embedded-helpers-
|
|
5
|
-
import { $ as renamePairedNode, Ar as registerUnhandledRejectionHandler, At as abortEmbeddedPiRun, Bt as markRecoveryAttempt, C as initTemplateLoader, Ct as loadCombinedSessionStoreForGateway, Dt as resolveSessionModelRef, Et as resolveGatewaySessionStoreTarget, Fr as extractImageContentFromSource, Ft as closeInFlightTurnsStore, G as recordRemoteNodeInfo, Gt as getBuiltinSectionRegistry, H as resolveSendPolicy, Hn as markSubagentRunTerminated, Hr as resolveAgentTimeoutMs, Ir as normalizeMimeList, It as deleteRow, J as removeRemoteNodeInfo, Jn as getAgentRunContext, Jt as buildToolSummaryMap, K as refreshRemoteBinsForConnectedNodes, Kn as clearAgentRunContext, Ln as countActiveDescendantRuns, Lr as resolveInputFileLimits, Lt as listForCurrentInstance, Mn as stopSubagentsForRequester, Mr as DEFAULT_INPUT_IMAGE_MIMES, Mt as queueEmbeddedPiMessage, Nt as waitForEmbeddedPiRunEnd, On as resolveUserTimezone, Ot as normalizeOrgIds, Pr as extractFileContentFromSource, Pt as registerLifecycleHooks, Q as rejectNodePairing, Qn as resolveAgentIdentity, Qt as createOpenClawCodingTools, Rn as initSubagentRegistry, Rt as listFromOtherInstances, S as getTemplateUsageStats, St as listSessionsFromStore, Tn as formatZonedTimestamp, Tt as pruneLegacyStoreKeys, U as getRemoteSkillEligibility, Ut as readConsolidationState, V as normalizeSendPolicy, Vt as openInFlightTurnsStore, W as primeRemoteSkillsCache, Wn as runSubagentAnnounceFlow, Wt as assembleAgentSystemPromptWithSections, X as approveNodePairing, Xn as registerAgentRunContext, Xt as PROSE_GLOBAL_ROOT, Y as setSkillsRemoteRegistry, Yn as onAgentEvent, Yt as PromptSectionRegistry, Z as listNodePairing, Zt as _clearProseCache, _ as spawnSubagentDirect, _n as getTotalPendingReplies, _r as applyVerboseOverride, _t as buildSystemPromptReport, a as getCliSessionId, an as requestHeartbeatNow, at as verifyPairingToken, b as getTemplateCache, br as isSystemEventContextChanged, c as debugSkipAll, cn as getPluginToolMeta, cr as setCommandLaneConcurrency, ct as readJsonFile, d as setDebugStepBroadcaster, dn as loadOpenClawPlugins, dt as getSkillsSnapshotVersion, en as applyToolPolicyPipeline, et as requestNodePairing, f as setSteppedBuild, ft as registerSkillsChangeListener, gn as createReplyDispatcher, gr as applyModelOverrideToSessionEntry, gt as runEmbeddedPiAgent, hn as dispatchInboundMessage, ht as clearSessionQueues, i as resolveCronStyleNow, in as runToolScript, ir as getActiveTaskCount, it as hashToken$1, j as loadProviderUsageSummary, jn as isAbortTrigger, jt as getActiveEmbeddedRunCount, k as normalizeGroupActivation, kt as orgScopeVisible, l as debugStepContinue, lr as waitForActiveTasks, lt as writeJsonAtomic, mr as buildAuthHealthSummary, n as BARE_SESSION_RESET_PROMPT, nn as createMinionTools, nt as verifyNodeToken, o as setCliSessionId, or as getTotalQueueSize, ot as pruneExpiredPending, q as refreshRemoteNodeBins, qn as emitAgentEvent, qt as buildSectionRenderContext, rn as clearCustomToolsCache, rr as resolveBootstrapContextForRun, rt as generatePairingToken, s as runCliAgent, sr as resetAllLanes, st as resolvePairingPaths, tn as buildDefaultToolPolicyPipelineSteps, tt as updatePairedNodeMetadata, u as isSteppedBuildEnabled, un as loadMinionPlugins, ur as lookupContextTokens, ut as createAsyncLock, v as getLastReloadAt, vr as parseVerboseOverride, vt as buildSystemPromptParams, w as stopTemplateWatcher, wt as loadSessionEntry, x as getTemplateLoadErrors, xt as listAgentsForGateway, y as getTemplate, yr as enqueueSystemEvent, yt as canonicalizeSpawnedByForAgent, zn as listDescendantRunsForRequester, zr as transcribeOpenAiCompatibleAudio, zt as markInterrupted } from "./reply-
|
|
4
|
+
import { A as resolveBootstrapTotalMaxChars, B as normalizeVerboseLevel, F as listThinkingLevels, H as supportsXHighThinking, I as normalizeElevatedLevel, L as normalizeReasoningLevel, M as formatThinkingLevels, N as formatXHighModelHint, R as normalizeThinkLevel, k as resolveBootstrapMaxChars, z as normalizeUsageDisplay } from "./pi-embedded-helpers-Dt84Vt0L.js";
|
|
5
|
+
import { $ as renamePairedNode, Ar as registerUnhandledRejectionHandler, At as abortEmbeddedPiRun, Bt as markRecoveryAttempt, C as initTemplateLoader, Ct as loadCombinedSessionStoreForGateway, Dt as resolveSessionModelRef, Et as resolveGatewaySessionStoreTarget, Fr as extractImageContentFromSource, Ft as closeInFlightTurnsStore, G as recordRemoteNodeInfo, Gt as getBuiltinSectionRegistry, H as resolveSendPolicy, Hn as markSubagentRunTerminated, Hr as resolveAgentTimeoutMs, Ir as normalizeMimeList, It as deleteRow, J as removeRemoteNodeInfo, Jn as getAgentRunContext, Jt as buildToolSummaryMap, K as refreshRemoteBinsForConnectedNodes, Kn as clearAgentRunContext, Ln as countActiveDescendantRuns, Lr as resolveInputFileLimits, Lt as listForCurrentInstance, Mn as stopSubagentsForRequester, Mr as DEFAULT_INPUT_IMAGE_MIMES, Mt as queueEmbeddedPiMessage, Nt as waitForEmbeddedPiRunEnd, On as resolveUserTimezone, Ot as normalizeOrgIds, Pr as extractFileContentFromSource, Pt as registerLifecycleHooks, Q as rejectNodePairing, Qn as resolveAgentIdentity, Qt as createOpenClawCodingTools, Rn as initSubagentRegistry, Rt as listFromOtherInstances, S as getTemplateUsageStats, St as listSessionsFromStore, Tn as formatZonedTimestamp, Tt as pruneLegacyStoreKeys, U as getRemoteSkillEligibility, Ut as readConsolidationState, V as normalizeSendPolicy, Vt as openInFlightTurnsStore, W as primeRemoteSkillsCache, Wn as runSubagentAnnounceFlow, Wt as assembleAgentSystemPromptWithSections, X as approveNodePairing, Xn as registerAgentRunContext, Xt as PROSE_GLOBAL_ROOT, Y as setSkillsRemoteRegistry, Yn as onAgentEvent, Yt as PromptSectionRegistry, Z as listNodePairing, Zt as _clearProseCache, _ as spawnSubagentDirect, _n as getTotalPendingReplies, _r as applyVerboseOverride, _t as buildSystemPromptReport, a as getCliSessionId, an as requestHeartbeatNow, at as verifyPairingToken, b as getTemplateCache, br as isSystemEventContextChanged, c as debugSkipAll, cn as getPluginToolMeta, cr as setCommandLaneConcurrency, ct as readJsonFile, d as setDebugStepBroadcaster, dn as loadOpenClawPlugins, dt as getSkillsSnapshotVersion, en as applyToolPolicyPipeline, et as requestNodePairing, f as setSteppedBuild, ft as registerSkillsChangeListener, gn as createReplyDispatcher, gr as applyModelOverrideToSessionEntry, gt as runEmbeddedPiAgent, hn as dispatchInboundMessage, ht as clearSessionQueues, i as resolveCronStyleNow, in as runToolScript, ir as getActiveTaskCount, it as hashToken$1, j as loadProviderUsageSummary, jn as isAbortTrigger, jt as getActiveEmbeddedRunCount, k as normalizeGroupActivation, kt as orgScopeVisible, l as debugStepContinue, lr as waitForActiveTasks, lt as writeJsonAtomic, mr as buildAuthHealthSummary, n as BARE_SESSION_RESET_PROMPT, nn as createMinionTools, nt as verifyNodeToken, o as setCliSessionId, or as getTotalQueueSize, ot as pruneExpiredPending, q as refreshRemoteNodeBins, qn as emitAgentEvent, qt as buildSectionRenderContext, rn as clearCustomToolsCache, rr as resolveBootstrapContextForRun, rt as generatePairingToken, s as runCliAgent, sr as resetAllLanes, st as resolvePairingPaths, tn as buildDefaultToolPolicyPipelineSteps, tt as updatePairedNodeMetadata, u as isSteppedBuildEnabled, un as loadMinionPlugins, ur as lookupContextTokens, ut as createAsyncLock, v as getLastReloadAt, vr as parseVerboseOverride, vt as buildSystemPromptParams, w as stopTemplateWatcher, wt as loadSessionEntry, x as getTemplateLoadErrors, xt as listAgentsForGateway, y as getTemplate, yr as enqueueSystemEvent, yt as canonicalizeSpawnedByForAgent, zn as listDescendantRunsForRequester, zr as transcribeOpenAiCompatibleAudio, zt as markInterrupted } from "./reply-pajA-Yl6.js";
|
|
6
6
|
import { B as listMcpTools, E as createEmptyPluginRegistry, F as triggerInternalHook, H as registerMcpTool, I as addMcpSseSubscriber, L as getMcpDispatcher, M as clearInternalHooks, N as createInternalHookEvent, P as registerInternalHook, R as getMcpIdentityResolver, U as setMcpDispatcher, V as reconcileMcpPluginTools, W as setMcpIdentityResolver, a as setConsoleSubsystemFilter, d as CHANNEL_IDS, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger, w as setActivePluginRegistryConfig, x as getActivePluginRegistry, z as getMcpToolMethod } from "./subsystem-Dor46CEN.js";
|
|
7
7
|
import { t as defaultRuntime } from "./runtime-Da615Z-K.js";
|
|
8
8
|
import { b as isSubagentSessionKey, d as resolveAgentIdFromSessionKey, h as toAgentStoreSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as toAgentRequestSessionKey, n as DEFAULT_AGENT_ID, s as classifySessionKeyShape, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-BcXqsG0l.js";
|
|
@@ -16,20 +16,20 @@ import { t as applySqlitePragmas } from "./sqlite-pragmas-C_o_lU6a.js";
|
|
|
16
16
|
import { t as requireNodeSqlite } from "./sqlite-TEJFfaDd.js";
|
|
17
17
|
import { d as setSentryContext, f as setSentryTag, n as getReliabilityUptimeStartMs, r as initReliability, t as emitReliabilityEvent } from "./reliability-D5odTVhl.js";
|
|
18
18
|
import { n as logAcceptedEnvOption, t as isTruthyEnvValue } from "./env-IZo5oHSI.js";
|
|
19
|
-
import { D as parseDurationMs, T as sensitive, c as applyLegacyMigrations, i as MinionSchema, n as validateConfigObjectWithPlugins, v as resolveAgentMaxConcurrent, y as resolveSubagentMaxConcurrent } from "./validation-
|
|
20
|
-
import { C as resolveRuntimeServiceVersion, S as VERSION, a as parseConfigJson5, c as resolveConfigSnapshotHash, i as loadConfig, l as writeConfigFile, n as clearConfigCache, o as readConfigFileSnapshot, r as createConfigIO, s as readConfigFileSnapshotForWrite, t as applySnapshotDefaults, y as applyMergePatch } from "./io-
|
|
19
|
+
import { D as parseDurationMs, T as sensitive, c as applyLegacyMigrations, i as MinionSchema, n as validateConfigObjectWithPlugins, v as resolveAgentMaxConcurrent, y as resolveSubagentMaxConcurrent } from "./validation-DoqW0cF4.js";
|
|
20
|
+
import { C as resolveRuntimeServiceVersion, S as VERSION, a as parseConfigJson5, c as resolveConfigSnapshotHash, i as loadConfig, l as writeConfigFile, n as clearConfigCache, o as readConfigFileSnapshot, r as createConfigIO, s as readConfigFileSnapshotForWrite, t as applySnapshotDefaults, y as applyMergePatch } from "./io-7MYBxUkU.js";
|
|
21
21
|
import { l as isTestDefaultMemorySlotDisabled, n as loadPluginManifestRegistry } from "./manifest-registry-BhQtdshS.js";
|
|
22
|
-
import { n as migrateLegacyConfig } from "./config-
|
|
23
|
-
import { A as getMirrorSnapshot, D as applyChannelRestart, F as setChannelRestartHandler, I as startMirrorRefreshTick, L as resolveHubMetricsConfig, O as channelConfigSource, P as seedMirror, _ as resolveTelegramAccount, c as resolveWhatsAppAccount, j as listMirrorAccountIds, k as getMirrorEntry, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as buildChannelAccountBindings, z as setMirrorAccountSource } from "./plugins-
|
|
24
|
-
import { B as resolveExplicitAgentSessionKey, C as readSessionMessages, D as stripEnvelope, E as resolveSessionTranscriptCandidates, H as resolveMainSessionKeyFromConfig, L as resolveFreshSessionTotalTokens, N as resolveSessionResetPolicy, O as stripMessageIdHints, R as canonicalizeMainSessionAlias, S as capArrayByJsonBytes, V as resolveMainSessionKey, W as snapshotSessionOrigin, a as loadSessionStore, b as archiveFileOnDisk, g as mergeDeliveryContext, j as evaluateSessionFreshness, m as deliveryContextFromSession, n as parseSessionThreadInfo, nt as cleanStaleLockFiles, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as readSessionPreviewItemsFromTranscript, x as archiveSessionTranscripts, z as resolveAgentMainSessionKey } from "./sessions-
|
|
25
|
-
import { n as runWithModelFallback } from "./model-fallback-
|
|
26
|
-
import { c as resolveSandboxRuntimeStatus } from "./sandbox-
|
|
27
|
-
import { a as collectExplicitAllowlist, c as mergeAlsoAllowPolicy, n as TOOL_GROUPS, s as expandToolGroups, t as GROUP_DESCRIPTIONS, u as resolveToolProfilePolicy } from "./tool-policy-
|
|
22
|
+
import { n as migrateLegacyConfig } from "./config-BrDW75c2.js";
|
|
23
|
+
import { A as getMirrorSnapshot, D as applyChannelRestart, F as setChannelRestartHandler, I as startMirrorRefreshTick, L as resolveHubMetricsConfig, O as channelConfigSource, P as seedMirror, _ as resolveTelegramAccount, c as resolveWhatsAppAccount, j as listMirrorAccountIds, k as getMirrorEntry, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as buildChannelAccountBindings, z as setMirrorAccountSource } from "./plugins-Db3l--Iv.js";
|
|
24
|
+
import { B as resolveExplicitAgentSessionKey, C as readSessionMessages, D as stripEnvelope, E as resolveSessionTranscriptCandidates, H as resolveMainSessionKeyFromConfig, L as resolveFreshSessionTotalTokens, N as resolveSessionResetPolicy, O as stripMessageIdHints, R as canonicalizeMainSessionAlias, S as capArrayByJsonBytes, V as resolveMainSessionKey, W as snapshotSessionOrigin, a as loadSessionStore, b as archiveFileOnDisk, g as mergeDeliveryContext, j as evaluateSessionFreshness, m as deliveryContextFromSession, n as parseSessionThreadInfo, nt as cleanStaleLockFiles, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as readSessionPreviewItemsFromTranscript, x as archiveSessionTranscripts, z as resolveAgentMainSessionKey } from "./sessions-ClJAVE0p.js";
|
|
25
|
+
import { n as runWithModelFallback } from "./model-fallback-Cm3Tv0In.js";
|
|
26
|
+
import { c as resolveSandboxRuntimeStatus } from "./sandbox-DLtSFsnF.js";
|
|
27
|
+
import { a as collectExplicitAllowlist, c as mergeAlsoAllowPolicy, n as TOOL_GROUPS, s as expandToolGroups, t as GROUP_DESCRIPTIONS, u as resolveToolProfilePolicy } from "./tool-policy-CGuZzs9F.js";
|
|
28
28
|
import { a as enableTailscaleServeFunnel, i as enableTailscaleServe, n as disableTailscaleServe, r as enableTailscaleFunnel, s as getTailnetHostname, t as disableTailscaleFunnel } from "./tailscale-ElLAPnGH.js";
|
|
29
29
|
import { a as resolveRequestClientIp, c as createAuthRateLimiter, i as resolveGatewayAuth, l as safeEqualSecret, n as authorizeGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as isLocalDirectRequest, s as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, t as assertGatewayAuthConfigured } from "./auth-OWSujIee.js";
|
|
30
30
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-C0DLwT7t.js";
|
|
31
31
|
import { a as isTrustedProxyAddress, d as resolveGatewayClientIp, f as resolveGatewayListenHosts, i as isPrivateOrLoopbackAddress, l as pickPrimaryLanIPv4, n as isLoopbackAddress, p as resolveHostName, r as isLoopbackHost, s as normalizeHostHeader, t as rawDataToString, u as resolveGatewayBindHost } from "./ws-D1BO6u3O.js";
|
|
32
|
-
import { h as mergeGatewayTailscaleConfig, m as ensureGatewayStartupAuth } from "./server-context-
|
|
32
|
+
import { h as mergeGatewayTailscaleConfig, m as ensureGatewayStartupAuth } from "./server-context-CDmBokpm.js";
|
|
33
33
|
import { n as buildWorkspaceSkillSnapshot, r as loadWorkspaceSkillEntries } from "./workspace-BN1xTeSB.js";
|
|
34
34
|
import "./skills-BDk_UtGi.js";
|
|
35
35
|
import { a as isErrno, n as formatErrorMessage } from "./errors-iV4-NKRR.js";
|
|
@@ -41,22 +41,22 @@ import "./logging-_oKeHe0e.js";
|
|
|
41
41
|
import { r as resolveUserDir } from "./user-directory-D27je39W.js";
|
|
42
42
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-CIx6mrsE.js";
|
|
43
43
|
import { i as normalizeInputProvenance } from "./input-provenance-ChJN5mZj.js";
|
|
44
|
-
import { D as runGlobalGatewayStopSafely, S as patchRouting, T as getGlobalHookRunner, _ as closeMessageLedger, b as markSynced, g as claimBatch, k as isPluginEnabledForOrg, w as deterministicClientId, x as openMessageLedger, y as markFailed } from "./reply-payloads-
|
|
44
|
+
import { D as runGlobalGatewayStopSafely, S as patchRouting, T as getGlobalHookRunner, _ as closeMessageLedger, b as markSynced, g as claimBatch, k as isPluginEnabledForOrg, w as deterministicClientId, x as openMessageLedger, y as markFailed } from "./reply-payloads-BlZu5x6x.js";
|
|
45
45
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-v1JmmyzF.js";
|
|
46
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
46
|
+
import { n as loadModelCatalog } from "./model-catalog-RhTD2XJY.js";
|
|
47
47
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-DyoUYpcY.js";
|
|
48
48
|
import { a as stripHeartbeatToken } from "./lanes-lpI3esC4.js";
|
|
49
|
-
import { i as resolveSessionDeliveryTarget, r as resolveOutboundTarget } from "./targets-
|
|
49
|
+
import { i as resolveSessionDeliveryTarget, r as resolveOutboundTarget } from "./targets-DypSB4K6.js";
|
|
50
50
|
import { n as getMachineDisplayName } from "./with-timeout-B2r_vm3n.js";
|
|
51
51
|
import { n as isDiagnosticsEnabled } from "./diagnostic-events-BIoHynd0.js";
|
|
52
52
|
import { c as startDiagnosticHeartbeat, l as stopDiagnosticHeartbeat } from "./diagnostic-BAEmirZd.js";
|
|
53
|
-
import { C as OPENAI_TTS_MODELS, T as defineDrone, _ as setTtsEnabled, d as resolveTtsAutoMode, f as resolveTtsConfig, i as getTtsProvider, m as resolveTtsProviderOrder, o as isTtsEnabled, p as resolveTtsPrefsPath, s as isTtsProviderConfigured, t as buildTtsSystemPromptHint, u as resolveTtsApiKey, w as OPENAI_TTS_VOICES, x as textToSpeech, y as setTtsProvider } from "./tts-
|
|
54
|
-
import { i as runDrone, t as createGatewayDroneHost } from "./host-
|
|
53
|
+
import { C as OPENAI_TTS_MODELS, T as defineDrone, _ as setTtsEnabled, d as resolveTtsAutoMode, f as resolveTtsConfig, i as getTtsProvider, m as resolveTtsProviderOrder, o as isTtsEnabled, p as resolveTtsPrefsPath, s as isTtsProviderConfigured, t as buildTtsSystemPromptHint, u as resolveTtsApiKey, w as OPENAI_TTS_VOICES, x as textToSpeech, y as setTtsProvider } from "./tts-CdyriGYN.js";
|
|
54
|
+
import { i as runDrone, t as createGatewayDroneHost } from "./host-FOFn61kz.js";
|
|
55
55
|
import { a as traceGatewayEvent, n as pruneOldTraceFiles } from "./chat-trace-DK2HjAH4.js";
|
|
56
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
56
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-DWeZSF4O.js";
|
|
57
57
|
import { t as ToolInputError } from "./common-DSuaFkdO.js";
|
|
58
|
-
import { $ as validateMeshRetryParams, $t as normalizeDevicePublicKeyBase64Url, A as validateCronRunsParams, At as validateSkillsUpdateParams, B as validateDronesCancelParams, Bt as validateWakeParams, C as validateConfigSchemaParams, Ct as validateSessionsPreviewParams, D as validateCronListParams, Dt as validateSkillsBinsParams, E as validateCronAddParams, Et as validateSessionsUsageParams, F as validateDevicePairRejectParams, Ft as validateToolsStatusParams, G as validateExecApprovalResolveParams, Gt as validateWizardStartParams, H as validateDronesExecuteParams, Ht as validateWebLoginWaitParams, I as validateDevicePairRemoveParams, It as validateToolsUpdateParams, J as validateExecApprovalsNodeSetParams, Jt as buildDeviceAuthPayload, K as validateExecApprovalsGetParams, Kt as validateWizardStatusParams, L as validateDeviceTokenRevokeParams, Lt as validateUpdateCheckParams, M as validateCronUpdateParams, Mt as validateTalkModeParams, N as validateDevicePairApproveParams, Nt as validateTelegramValidateTokenParams, O as validateCronRemoveParams, Ot as validateSkillsInstallParams, P as validateDevicePairListParams, Pt as validateToolsOverridesSetParams, Q as validateMeshPlanParams, R as validateDeviceTokenRotateParams, Rt as validateUpdateRunParams, S as validateConfigPatchParams, St as validateSessionsPatchParams, T as validateConnectParams, Tt as validateSessionsResolveParams, U as validateDronesProbeParams, Ut as validateWizardCancelParams, V as validateDronesCapabilitiesParams, Vt as validateWebLoginStartParams, W as validateExecApprovalRequestParams, Wt as validateWizardNextParams, X as validateLogsTailParams, Y as validateExecApprovalsSetParams, Yt as normalizeDeviceAuthScopes, Z as validateMeshPlanAutoParams, Zt as deriveDeviceIdFromPublicKey, _ as validateChatHistoryParams, _t as validateRequestFrame, a as validateAgentWaitParams, at as validateNodeEventParams, b as validateConfigApplyParams, bt as validateSessionsDeleteParams, c as validateAgentsFilesGetParams, ct as validateNodeListParams, d as validateAgentsListParams, dt as validateNodePairRejectParams, en as verifyDeviceSignature, et as validateMeshRunParams, f as validateAgentsSkillsSetParams, ft as validateNodePairRequestParams, g as validateChatAbortParams, gt as validatePollParams, h as validateChannelsStatusParams, ht as validatePlaygroundCompleteParams, i as validateAgentParams, it as validateNodeDescribeParams, j as validateCronStatusParams, jt as validateTalkConfigParams, k as validateCronRunParams, kt as validateSkillsStatusParams, l as validateAgentsFilesListParams, lt as validateNodePairApproveParams, m as validateChannelsLogoutParams, mt as validateNodeRenameParams, n as formatValidationErrors, nt as validateModelsListParams, o as validateAgentsCreateParams, ot as validateNodeInvokeParams, p as validateAgentsUpdateParams, pt as validateNodePairVerifyParams, q as validateExecApprovalsNodeGetParams, qt as parseSessionLabel, r as validateAgentIdentityParams, rt as validateModelsSetEnabledParams, s as validateAgentsDeleteParams, st as validateNodeInvokeResultParams, tt as validateMeshStatusParams, u as validateAgentsFilesSetParams, ut as validateNodePairListParams, v as validateChatInjectParams, vt as validateSendParams, w as validateConfigSetParams, wt as validateSessionsResetParams, x as validateConfigGetParams, xt as validateSessionsListParams, y as validateChatSendParams, yt as validateSessionsCompactParams, z as validateDiscordValidateTokenParams, zt as validateUpdateStatusParams } from "./client-
|
|
59
|
-
import { n as callGateway, o as loadGatewayTlsRuntime$1 } from "./call-
|
|
58
|
+
import { $ as validateMeshRetryParams, $t as normalizeDevicePublicKeyBase64Url, A as validateCronRunsParams, At as validateSkillsUpdateParams, B as validateDronesCancelParams, Bt as validateWakeParams, C as validateConfigSchemaParams, Ct as validateSessionsPreviewParams, D as validateCronListParams, Dt as validateSkillsBinsParams, E as validateCronAddParams, Et as validateSessionsUsageParams, F as validateDevicePairRejectParams, Ft as validateToolsStatusParams, G as validateExecApprovalResolveParams, Gt as validateWizardStartParams, H as validateDronesExecuteParams, Ht as validateWebLoginWaitParams, I as validateDevicePairRemoveParams, It as validateToolsUpdateParams, J as validateExecApprovalsNodeSetParams, Jt as buildDeviceAuthPayload, K as validateExecApprovalsGetParams, Kt as validateWizardStatusParams, L as validateDeviceTokenRevokeParams, Lt as validateUpdateCheckParams, M as validateCronUpdateParams, Mt as validateTalkModeParams, N as validateDevicePairApproveParams, Nt as validateTelegramValidateTokenParams, O as validateCronRemoveParams, Ot as validateSkillsInstallParams, P as validateDevicePairListParams, Pt as validateToolsOverridesSetParams, Q as validateMeshPlanParams, R as validateDeviceTokenRotateParams, Rt as validateUpdateRunParams, S as validateConfigPatchParams, St as validateSessionsPatchParams, T as validateConnectParams, Tt as validateSessionsResolveParams, U as validateDronesProbeParams, Ut as validateWizardCancelParams, V as validateDronesCapabilitiesParams, Vt as validateWebLoginStartParams, W as validateExecApprovalRequestParams, Wt as validateWizardNextParams, X as validateLogsTailParams, Y as validateExecApprovalsSetParams, Yt as normalizeDeviceAuthScopes, Z as validateMeshPlanAutoParams, Zt as deriveDeviceIdFromPublicKey, _ as validateChatHistoryParams, _t as validateRequestFrame, a as validateAgentWaitParams, at as validateNodeEventParams, b as validateConfigApplyParams, bt as validateSessionsDeleteParams, c as validateAgentsFilesGetParams, ct as validateNodeListParams, d as validateAgentsListParams, dt as validateNodePairRejectParams, en as verifyDeviceSignature, et as validateMeshRunParams, f as validateAgentsSkillsSetParams, ft as validateNodePairRequestParams, g as validateChatAbortParams, gt as validatePollParams, h as validateChannelsStatusParams, ht as validatePlaygroundCompleteParams, i as validateAgentParams, it as validateNodeDescribeParams, j as validateCronStatusParams, jt as validateTalkConfigParams, k as validateCronRunParams, kt as validateSkillsStatusParams, l as validateAgentsFilesListParams, lt as validateNodePairApproveParams, m as validateChannelsLogoutParams, mt as validateNodeRenameParams, n as formatValidationErrors, nt as validateModelsListParams, o as validateAgentsCreateParams, ot as validateNodeInvokeParams, p as validateAgentsUpdateParams, pt as validateNodePairVerifyParams, q as validateExecApprovalsNodeGetParams, qt as parseSessionLabel, r as validateAgentIdentityParams, rt as validateModelsSetEnabledParams, s as validateAgentsDeleteParams, st as validateNodeInvokeResultParams, tt as validateMeshStatusParams, u as validateAgentsFilesSetParams, ut as validateNodePairListParams, v as validateChatInjectParams, vt as validateSendParams, w as validateConfigSetParams, wt as validateSessionsResetParams, x as validateConfigGetParams, xt as validateSessionsListParams, y as validateChatSendParams, yt as validateSessionsCompactParams, z as validateDiscordValidateTokenParams, zt as validateUpdateStatusParams } from "./client-4u1JH1Zk.js";
|
|
59
|
+
import { n as callGateway, o as loadGatewayTlsRuntime$1 } from "./call-DQ1ciEPz.js";
|
|
60
60
|
import { i as isExternalHookSession, n as detectSuspiciousPatterns, r as getHookType, t as buildSafeExternalPrompt } from "./external-content-Css-cJoz.js";
|
|
61
61
|
import { t as formatDocsLink } from "./links-XaZTa0pi.js";
|
|
62
62
|
import { n as runCommandWithRuntime } from "./cli-utils-Cg2c3XDf.js";
|
|
@@ -64,23 +64,23 @@ import { t as formatHelpExamples } from "./help-format-D20I7z1G.js";
|
|
|
64
64
|
import { n as withProgress } from "./progress-Dai1njDG.js";
|
|
65
65
|
import { t as getChannelActivity } from "./channel-activity-mLVM0GeJ.js";
|
|
66
66
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-DkFd6DjM.js";
|
|
67
|
-
import { t as TOOL_REGISTRY } from "./_registry.generated-
|
|
68
|
-
import { a as resolveGroupToolPolicy, i as resolveEffectiveToolPolicy, o as resolveSubagentToolPolicy, t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
67
|
+
import { t as TOOL_REGISTRY } from "./_registry.generated-DKC2RDUo.js";
|
|
68
|
+
import { a as resolveGroupToolPolicy, i as resolveEffectiveToolPolicy, o as resolveSubagentToolPolicy, t as listAgentWorkspaceDirs } from "./workspace-dirs-Duw92DA5.js";
|
|
69
69
|
import { r as recallMemories, t as configureMemorySink } from "./memory-sink-D19pkCCX.js";
|
|
70
70
|
import { t as KnowledgeGraphSession } from "./knowledge-graph-pXjPijn6.js";
|
|
71
71
|
import { n as setHubRest, t as getHubRest } from "./hub-rest-registry-DQyDHHy2.js";
|
|
72
72
|
import { n as resolveModel } from "./model-CS8MRSpT.js";
|
|
73
73
|
import { c as hasNonzeroUsage, i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, s as deriveSessionTotalTokens, t as discoverAllSessions } from "./session-cost-usage-D-vzOkTS.js";
|
|
74
|
-
import { r as invalidateToolIndex } from "./tool-index-
|
|
74
|
+
import { r as invalidateToolIndex } from "./tool-index-CEYMGFrO.js";
|
|
75
75
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format--dK3YoXf.js";
|
|
76
76
|
import { a as markGatewaySigusr1RestartHandled, c as setPreRestartDeferralCheck, i as isGatewaySigusr1RestartExternallyAllowed, n as deferGatewayRestartUntilIdle, o as scheduleGatewaySigusr1Restart, r as emitGatewayRestart, s as setGatewaySigusr1RestartPolicy, t as consumeGatewaySigusr1RestartAuthorization } from "./restart-CrIJvqAZ.js";
|
|
77
|
-
import { a as areHeartbeatsEnabled, c as setHeartbeatsEnabled, i as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as resolveHeartbeatVisibility } from "./health-
|
|
78
|
-
import { n as getLastHeartbeatEvent, r as onHeartbeatEvent } from "./heartbeat-events-
|
|
79
|
-
import { f as normalizePollInput, i as ensureOutboundSessionEntry, n as runMessageAction, o as resetDirectoryCache, r as resolveOutboundSessionRoute } from "./message-action-runner-
|
|
80
|
-
import { a as computeBackoff, n as resolveChannelSenderIdentity, o as sleepWithAbort, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
77
|
+
import { a as areHeartbeatsEnabled, c as setHeartbeatsEnabled, i as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as resolveHeartbeatVisibility } from "./health-8oE9qNSE.js";
|
|
78
|
+
import { n as getLastHeartbeatEvent, r as onHeartbeatEvent } from "./heartbeat-events-D-wmX2Vg.js";
|
|
79
|
+
import { f as normalizePollInput, i as ensureOutboundSessionEntry, n as runMessageAction, o as resetDirectoryCache, r as resolveOutboundSessionRoute } from "./message-action-runner-BJzBMfAN.js";
|
|
80
|
+
import { a as computeBackoff, n as resolveChannelSenderIdentity, o as sleepWithAbort, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-g25aWRqJ.js";
|
|
81
81
|
import { n as handleHubAssignmentChanged, r as initUserSubsystem, t as getActiveUserSubsystem } from "./server-startup-users-BPNhajYB.js";
|
|
82
82
|
import { t as mapRoleToScopes } from "./types-Utz3c3Qq.js";
|
|
83
|
-
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-
|
|
83
|
+
import { n as createOutboundSendDeps, t as createDefaultDeps } from "./deps-i_B9izvk.js";
|
|
84
84
|
import { t as ensureMinionCliOnPath } from "./path-env-q2qzs5In.js";
|
|
85
85
|
import { t as forceFreePortAndWait } from "./ports-CRi_UQIX.js";
|
|
86
86
|
import { t as buildChannelUiCatalog } from "./catalog-Pmvum_mS.js";
|
|
@@ -90,42 +90,42 @@ import { n as setGoogleAdcClient, t as getGoogleAdcClient } from "./hub-credenti
|
|
|
90
90
|
import { a as normalizeOptionalAgentId, c as normalizePayloadToSystemText, d as buildDeliveryFromLegacyPayload, f as hasLegacyDeliveryHints, i as inferLegacyName, l as normalizeRequiredName, n as normalizeCronJobCreate, o as normalizeOptionalSessionKey, p as stripLegacyDeliveryFields, r as normalizeCronJobPatch, s as normalizeOptionalText, t as normalizeHttpWebhookUrl, u as migrateLegacyCronPayload } from "./webhook-url-ZyRlcF75.js";
|
|
91
91
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-BlvVswOf.js";
|
|
92
92
|
import { a as summarizeRestartSentinel, n as formatDoctorNonInteractiveHint, r as formatRestartSentinelMessage, s as writeRestartSentinel, t as consumeRestartSentinel } from "./restart-sentinel-fbAWH01I.js";
|
|
93
|
-
import { n as listGatewayMethods, t as GATEWAY_EVENTS } from "./server-methods-list-
|
|
94
|
-
import { o as normalizeReplyPayloadsForDelivery, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads } from "./deliver-
|
|
95
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
96
|
-
import { c as resolveAnnounceTargetFromKey, t as readLatestAssistantReply } from "./agent-step-
|
|
93
|
+
import { n as listGatewayMethods, t as GATEWAY_EVENTS } from "./server-methods-list-ZEquDpTD.js";
|
|
94
|
+
import { o as normalizeReplyPayloadsForDelivery, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads } from "./deliver-BUifEj0F.js";
|
|
95
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-wHLAe5Et.js";
|
|
96
|
+
import { c as resolveAnnounceTargetFromKey, t as readLatestAssistantReply } from "./agent-step-BCSCZOB-.js";
|
|
97
97
|
import { a as runAggregation, n as executeOrchestration, r as readStatusJson, t as executePipeline } from "./orchestration-pipeline-BBscBgru.js";
|
|
98
98
|
import { r as readManifest, t as completeManifest } from "./orchestration-manifest-ByxGsjSI.js";
|
|
99
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
100
|
-
import { t as createBrowserRouteDispatcher } from "./dispatcher-
|
|
99
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-C369Rxs0.js";
|
|
100
|
+
import { t as createBrowserRouteDispatcher } from "./dispatcher-CvddQmnF.js";
|
|
101
101
|
import { n as persistBrowserProxyFiles, t as applyBrowserProxyPaths } from "./proxy-files-CGzbQD6b.js";
|
|
102
102
|
import { r as cachedJson } from "./ttl-cache-C8H9R9LT.js";
|
|
103
103
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-C1Fg_5xy.js";
|
|
104
104
|
import { n as inheritOptionFromParent } from "./command-options-Dhjl7AMa.js";
|
|
105
105
|
import { t as WizardCancelledError } from "./prompts-E0FayNjJ.js";
|
|
106
106
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BcEbnHmz.js";
|
|
107
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
107
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-BFqsBeiO.js";
|
|
108
108
|
import { t as buildChannelAccountSnapshot } from "./status-Dg720jp3.js";
|
|
109
|
-
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-
|
|
110
|
-
import "./onboard-helpers-
|
|
109
|
+
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-gS7HQOeH.js";
|
|
110
|
+
import "./onboard-helpers-DfEvL7Eo.js";
|
|
111
111
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-XKS1L_j5.js";
|
|
112
112
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BwC8GE-s.js";
|
|
113
113
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-NB0c0sCF.js";
|
|
114
114
|
import { t as installSkill } from "./skills-install-C3il4PTO.js";
|
|
115
115
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-C2cJYDtd.js";
|
|
116
|
-
import { m as parsePort$1 } from "./lifecycle-core-
|
|
117
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
116
|
+
import { m as parsePort$1 } from "./lifecycle-core-Dmy-67JO.js";
|
|
117
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-CAgHOWp8.js";
|
|
118
118
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-CwLlNhTt.js";
|
|
119
|
-
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-
|
|
120
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
119
|
+
import { a as resolveNodeCommandAllowlist, i as isNodeCommandAllowed, o as probeGateway } from "./audit-CftXdiYP.js";
|
|
120
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-BeasmhMH.js";
|
|
121
121
|
import { a as isNewerVersionString, l as channelToNpmTag, o as resolveNpmChannelTag, p as normalizeUpdateChannel, r as fetchNpmTagVersion, t as checkUpdateStatus } from "./update-check-DyLwYZgC.js";
|
|
122
122
|
import { i as initCrypto, n as ProbeRegistry, r as SecretsManager, t as SecretStore } from "./store-J0lVAVgk.js";
|
|
123
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
124
|
-
import { a as normalizeRpcAttachmentsToChatAttachments, c as logWs, d as setGatewayWsLogStyle, i as sendApnsBackgroundWake, l as shouldLogWs, o as parseMessageWithAttachments, r as resolveApnsAuthConfigFromEnv, s as formatForLog, t as loadApnsRegistration, u as summarizeAgentEventForWsLog } from "./push-apns-
|
|
125
|
-
import { h as resolveGmailPullRuntimeConfigs } from "./gmail-
|
|
123
|
+
import { t as runOnboardingWizard } from "./onboarding-BNfuRC7v.js";
|
|
124
|
+
import { a as normalizeRpcAttachmentsToChatAttachments, c as logWs, d as setGatewayWsLogStyle, i as sendApnsBackgroundWake, l as shouldLogWs, o as parseMessageWithAttachments, r as resolveApnsAuthConfigFromEnv, s as formatForLog, t as loadApnsRegistration, u as summarizeAgentEventForWsLog } from "./push-apns-Bxplfna8.js";
|
|
125
|
+
import { h as resolveGmailPullRuntimeConfigs } from "./gmail-tGz-kYHa.js";
|
|
126
126
|
import { t as createOutboundSendDeps$1 } from "./outbound-send-deps-BF7Fp5DR.js";
|
|
127
127
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-CpPHpV3L.js";
|
|
128
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
128
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-DaBGbCfi.js";
|
|
129
129
|
import { n as validateSystemRunCommandConsistency, t as formatExecCommand } from "./system-run-command-BRxsVIll.js";
|
|
130
130
|
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-BJTc667L.js";
|
|
131
131
|
import { i as shellEscape, n as resolveSystemdUnit, r as runRestartScript } from "./restart-helper-BCZgXDv5.js";
|
|
@@ -1938,7 +1938,7 @@ async function recordAvailableUpdate(input, cfg) {
|
|
|
1938
1938
|
notified: false,
|
|
1939
1939
|
reason: "not-newer"
|
|
1940
1940
|
};
|
|
1941
|
-
if (!isNewerVersionString("2026.7.
|
|
1941
|
+
if (!isNewerVersionString("2026.7.16-dev", input.version)) return {
|
|
1942
1942
|
notified: false,
|
|
1943
1943
|
reason: "not-newer"
|
|
1944
1944
|
};
|
|
@@ -1976,7 +1976,7 @@ async function getUpdateStatus() {
|
|
|
1976
1976
|
async function clearPendingIfCurrent() {
|
|
1977
1977
|
const pending = await readJson(pendingPath());
|
|
1978
1978
|
if (!pending) return;
|
|
1979
|
-
if (!isNewerVersionString("2026.7.
|
|
1979
|
+
if (!isNewerVersionString("2026.7.16-dev", pending.version)) await fs$1.rm(pendingPath(), { force: true });
|
|
1980
1980
|
}
|
|
1981
1981
|
/** Consume update-result.json if present. Returns false when no file existed. */
|
|
1982
1982
|
async function processUpdateResult(cfg) {
|
|
@@ -2067,7 +2067,7 @@ async function runGatewayUpdateCheck(params) {
|
|
|
2067
2067
|
await writeState(statePath, nextState);
|
|
2068
2068
|
return;
|
|
2069
2069
|
}
|
|
2070
|
-
if (isNewerVersionString("2026.7.
|
|
2070
|
+
if (isNewerVersionString("2026.7.16-dev", resolved.version)) {
|
|
2071
2071
|
if (state.lastNotifiedVersion !== resolved.version || state.lastNotifiedTag !== tag) {
|
|
2072
2072
|
params.log.info(`update available (${tag}): v${resolved.version} (current v${VERSION}). Run: ${formatCliCommand("minion update")}`);
|
|
2073
2073
|
nextState.lastNotifiedVersion = resolved.version;
|
|
@@ -2093,17 +2093,19 @@ function createGoogleAdcClient(opts) {
|
|
|
2093
2093
|
const base = opts.hubUrl.replace(/\/$/, "");
|
|
2094
2094
|
const cache = /* @__PURE__ */ new Map();
|
|
2095
2095
|
const feedCache = /* @__PURE__ */ new Map();
|
|
2096
|
-
async function fetchFeedForUser(userId) {
|
|
2097
|
-
const
|
|
2096
|
+
async function fetchFeedForUser(userId, orgId) {
|
|
2097
|
+
const cacheKey = `${userId}::${orgId ?? ""}`;
|
|
2098
|
+
const cached = feedCache.get(cacheKey);
|
|
2098
2099
|
if (cached && cached.expiresAt > now()) return cached.value;
|
|
2099
|
-
|
|
2100
|
+
let url = `${base}/api/gateway/google-identities?userId=${encodeURIComponent(userId)}`;
|
|
2101
|
+
if (orgId) url += `&orgId=${encodeURIComponent(orgId)}`;
|
|
2100
2102
|
const res = await doFetch(url, {
|
|
2101
2103
|
method: "GET",
|
|
2102
2104
|
headers: { Authorization: `Bearer ${opts.serverToken}` }
|
|
2103
2105
|
});
|
|
2104
2106
|
if (!res.ok) throw new Error(`hub google-identities fetch failed: ${res.status}`);
|
|
2105
2107
|
const value = (await res.json()).identities ?? [];
|
|
2106
|
-
feedCache.set(
|
|
2108
|
+
feedCache.set(cacheKey, {
|
|
2107
2109
|
value,
|
|
2108
2110
|
expiresAt: now() + ttlMs
|
|
2109
2111
|
});
|
|
@@ -2129,7 +2131,8 @@ function createGoogleAdcClient(opts) {
|
|
|
2129
2131
|
}
|
|
2130
2132
|
function invalidate(userId) {
|
|
2131
2133
|
cache.delete(userId);
|
|
2132
|
-
|
|
2134
|
+
const prefix = `${userId}::`;
|
|
2135
|
+
for (const key of feedCache.keys()) if (key.startsWith(prefix)) feedCache.delete(key);
|
|
2133
2136
|
}
|
|
2134
2137
|
return {
|
|
2135
2138
|
fetchForUser,
|
|
@@ -5654,7 +5657,7 @@ function createFreeTierApiHandler(db) {
|
|
|
5654
5657
|
*
|
|
5655
5658
|
* Records per-method handler latency at the request dispatch chokepoint and
|
|
5656
5659
|
* samples Node's event-loop delay, then emits a single aggregated
|
|
5657
|
-
* `gateway.perf_snapshot` event per window (default
|
|
5660
|
+
* `gateway.perf_snapshot` event per window (default 5min) into the unified
|
|
5658
5661
|
* event store — the same surface the hub reliability dashboard reads.
|
|
5659
5662
|
*
|
|
5660
5663
|
* Why this exists: the legacy `gateway.ws_slow_response` event fired per-call
|
|
@@ -5677,8 +5680,12 @@ function createFreeTierApiHandler(db) {
|
|
|
5677
5680
|
const log$24 = createSubsystemLogger("gateway/metrics");
|
|
5678
5681
|
/** Cap on retained latency samples per method (reservoir) to bound memory. */
|
|
5679
5682
|
const MAX_SAMPLES_PER_METHOD = 512;
|
|
5680
|
-
/**
|
|
5681
|
-
|
|
5683
|
+
/**
|
|
5684
|
+
* Default snapshot window. 5min (was 60s) — the payload is a percentile/throughput
|
|
5685
|
+
* aggregate carrying its own `windowMs`, so a wider window keeps stats valid while
|
|
5686
|
+
* cutting emitted rows 5×. Consumers must read `windowMs`, never assume 60s.
|
|
5687
|
+
*/
|
|
5688
|
+
const DEFAULT_INTERVAL_MS = 3e5;
|
|
5682
5689
|
const methodStats = /* @__PURE__ */ new Map();
|
|
5683
5690
|
let reporterTimer = null;
|
|
5684
5691
|
let eventLoopHist = null;
|
|
@@ -21037,7 +21044,7 @@ const nodeHandlers = {
|
|
|
21037
21044
|
const p = params;
|
|
21038
21045
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
21039
21046
|
await respondUnavailableOnThrow(respond, async () => {
|
|
21040
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
21047
|
+
const { handleNodeEvent } = await import("./server-node-events-DpkjSBLL.js");
|
|
21041
21048
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
21042
21049
|
const nodeConnId = client?.connId;
|
|
21043
21050
|
await handleNodeEvent({
|
|
@@ -23680,6 +23687,10 @@ const MODEL_PRICING = {
|
|
|
23680
23687
|
inputPerMillion: 15,
|
|
23681
23688
|
outputPerMillion: 75
|
|
23682
23689
|
},
|
|
23690
|
+
"claude-haiku-4": {
|
|
23691
|
+
inputPerMillion: 1,
|
|
23692
|
+
outputPerMillion: 5
|
|
23693
|
+
},
|
|
23683
23694
|
"claude-haiku-3.5": {
|
|
23684
23695
|
inputPerMillion: .8,
|
|
23685
23696
|
outputPerMillion: 4
|
|
@@ -23784,6 +23795,10 @@ const MODEL_PRICING = {
|
|
|
23784
23795
|
inputPerMillion: .14,
|
|
23785
23796
|
outputPerMillion: .28
|
|
23786
23797
|
},
|
|
23798
|
+
"deepseek-v3": {
|
|
23799
|
+
inputPerMillion: .14,
|
|
23800
|
+
outputPerMillion: .28
|
|
23801
|
+
},
|
|
23787
23802
|
"deepseek-coder": {
|
|
23788
23803
|
inputPerMillion: .14,
|
|
23789
23804
|
outputPerMillion: .28
|
|
@@ -23802,14 +23817,32 @@ const MODEL_PRICING = {
|
|
|
23802
23817
|
}
|
|
23803
23818
|
};
|
|
23804
23819
|
/**
|
|
23805
|
-
* Look up pricing for a model.
|
|
23806
|
-
*
|
|
23820
|
+
* Look up pricing for a model id. Strips any `provider/` prefix (OpenRouter et al.
|
|
23821
|
+
* namespace models as `deepseek/deepseek-chat-v3-0324`), then tries an exact match
|
|
23822
|
+
* followed by a LONGEST-prefix match (so `claude-opus-4-8` → `claude-opus-4`, and
|
|
23823
|
+
* the most specific key wins over a shorter one). Returns undefined for unknown or
|
|
23824
|
+
* local models (cost = 0).
|
|
23825
|
+
*
|
|
23826
|
+
* NOTE: this mirrors `minion_hub/src/lib/utils/model-pricing.ts:getModelPricing`.
|
|
23827
|
+
* The two copies must stay in sync — the hub falls back to its copy when the
|
|
23828
|
+
* gateway usage aggregate is unavailable. The previous server version did neither
|
|
23829
|
+
* the prefix-strip nor longest-match, so every OpenRouter-namespaced id (which is
|
|
23830
|
+
* what agents actually use) resolved to undefined → cost $0 despite real tokens.
|
|
23807
23831
|
*/
|
|
23808
23832
|
function getModelPricing(modelId) {
|
|
23809
|
-
|
|
23833
|
+
if (!modelId) return;
|
|
23834
|
+
let lower = modelId.toLowerCase();
|
|
23835
|
+
const slash = lower.lastIndexOf("/");
|
|
23836
|
+
if (slash >= 0) lower = lower.slice(slash + 1);
|
|
23810
23837
|
const exact = MODEL_PRICING[lower];
|
|
23811
23838
|
if (exact) return exact;
|
|
23812
|
-
|
|
23839
|
+
let best;
|
|
23840
|
+
let bestLen = 0;
|
|
23841
|
+
for (const [key, value] of Object.entries(MODEL_PRICING)) if (lower.startsWith(key) && key.length > bestLen) {
|
|
23842
|
+
best = value;
|
|
23843
|
+
bestLen = key.length;
|
|
23844
|
+
}
|
|
23845
|
+
return best;
|
|
23813
23846
|
}
|
|
23814
23847
|
//#endregion
|
|
23815
23848
|
//#region src/events/usage-aggregate.ts
|
|
@@ -25967,7 +26000,7 @@ const updateHandlers = {
|
|
|
25967
26000
|
const stagedPrev = result.mode === "staged" ? result.previousTarget : null;
|
|
25968
26001
|
const stagedLink = process.env.MINION_CURRENT_LINK?.trim();
|
|
25969
26002
|
const wd = await prepareUpdateWatchdogScript({
|
|
25970
|
-
fromVersion: result.before?.version ?? "2026.7.
|
|
26003
|
+
fromVersion: result.before?.version ?? "2026.7.16-dev",
|
|
25971
26004
|
toVersion: result.after?.version ?? "",
|
|
25972
26005
|
stateDir: resolveStateDir(),
|
|
25973
26006
|
restartDelayMs,
|
|
@@ -29184,7 +29217,7 @@ function normalizeAgentPayload(payload) {
|
|
|
29184
29217
|
async function startBrowserControlServerIfEnabled() {
|
|
29185
29218
|
if (isTruthyEnvValue(process.env.MINION_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
29186
29219
|
const override = process.env.MINION_BROWSER_CONTROL_MODULE?.trim();
|
|
29187
|
-
const mod = override ? await import(override) : await import("./control-service-
|
|
29220
|
+
const mod = override ? await import(override) : await import("./control-service-C369Rxs0.js").then((n) => n.t);
|
|
29188
29221
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
29189
29222
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
29190
29223
|
if (!start) return null;
|
|
@@ -35233,7 +35266,7 @@ async function deliverFlowReply(sessionKey, reply) {
|
|
|
35233
35266
|
}
|
|
35234
35267
|
try {
|
|
35235
35268
|
const cfg = loadConfig();
|
|
35236
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
35269
|
+
const { deliverOutboundPayloads } = await import("./deliver-BUifEj0F.js").then((n) => n.n);
|
|
35237
35270
|
await deliverOutboundPayloads({
|
|
35238
35271
|
cfg,
|
|
35239
35272
|
channel: target.channel,
|
|
@@ -38874,11 +38907,21 @@ function requireOperator(client, respond) {
|
|
|
38874
38907
|
}
|
|
38875
38908
|
return true;
|
|
38876
38909
|
}
|
|
38877
|
-
/**
|
|
38878
|
-
*
|
|
38910
|
+
/**
|
|
38911
|
+
* Return the caller's organization, derived ONLY from `client.orgId` —
|
|
38912
|
+
* the value the gateway itself established at connect time from a validated
|
|
38913
|
+
* JWT or service-account claim (see ws-jwt-auth.ts / message-handler.ts).
|
|
38914
|
+
*
|
|
38915
|
+
* Every hub dashboard session (browser and hub-server alike) presents the
|
|
38916
|
+
* same shared operator token and carries `operator.admin` scope, so
|
|
38917
|
+
* `operator.admin` is NOT a trust signal for org membership — treating it
|
|
38918
|
+
* as one previously let ANY hub session read/mutate every org's shells
|
|
38919
|
+
* (params.orgId / an "unscoped admin" fallback both trusted the caller's
|
|
38920
|
+
* own say-so). `params.orgId` must never be consulted here: a caller that
|
|
38921
|
+
* wants org scoping must actually hold connect-time identity for that org.
|
|
38922
|
+
*/
|
|
38879
38923
|
function requireOrgScope(client, respond) {
|
|
38880
38924
|
if (client?.orgId) return client.orgId;
|
|
38881
|
-
if (hasScope(client, ADMIN_SCOPE)) return;
|
|
38882
38925
|
respond(false, void 0, errorShape(ErrorCodes.FORBIDDEN, "organization context required"));
|
|
38883
38926
|
return null;
|
|
38884
38927
|
}
|
|
@@ -38945,11 +38988,12 @@ function createShellsHandlers({ shells }) {
|
|
|
38945
38988
|
},
|
|
38946
38989
|
[METHOD.provision]: ({ params, client, respond }) => {
|
|
38947
38990
|
if (!requireAdmin(client, respond)) return;
|
|
38991
|
+
const orgId = requireOrgScope(client, respond);
|
|
38992
|
+
if (orgId === null) return;
|
|
38948
38993
|
const m = ensureMgr(respond);
|
|
38949
38994
|
if (!m) return;
|
|
38950
38995
|
const displayName = asString(params?.displayName);
|
|
38951
38996
|
const harness = asString(params?.harness);
|
|
38952
|
-
const orgId = client?.orgId ?? asString(params?.orgId);
|
|
38953
38997
|
if (!displayName) {
|
|
38954
38998
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'displayName'");
|
|
38955
38999
|
return;
|
|
@@ -38958,10 +39002,6 @@ function createShellsHandlers({ shells }) {
|
|
|
38958
39002
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'harness'");
|
|
38959
39003
|
return;
|
|
38960
39004
|
}
|
|
38961
|
-
if (!orgId) {
|
|
38962
|
-
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing organization context");
|
|
38963
|
-
return;
|
|
38964
|
-
}
|
|
38965
39005
|
const runtimes = asStringArray(params?.runtimes);
|
|
38966
39006
|
if (params?.runtimes !== void 0 && !runtimes) {
|
|
38967
39007
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "'runtimes' must be a string array");
|
|
@@ -39040,6 +39080,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39040
39080
|
},
|
|
39041
39081
|
[METHOD.archive]: ({ params, client, respond }) => {
|
|
39042
39082
|
if (!requireAdmin(client, respond)) return;
|
|
39083
|
+
const orgId = requireOrgScope(client, respond);
|
|
39084
|
+
if (orgId === null) return;
|
|
39043
39085
|
const m = ensureMgr(respond);
|
|
39044
39086
|
if (!m) return;
|
|
39045
39087
|
const shellId = asString(params?.shellId);
|
|
@@ -39050,7 +39092,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39050
39092
|
tryRespond(respond, () => m.archive({
|
|
39051
39093
|
shellId,
|
|
39052
39094
|
skipBackup: Boolean(params?.skipBackup),
|
|
39053
|
-
orgId
|
|
39095
|
+
orgId
|
|
39054
39096
|
}));
|
|
39055
39097
|
},
|
|
39056
39098
|
[METHOD.wake]: ({ params, client, respond }) => {
|
|
@@ -39064,6 +39106,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39064
39106
|
},
|
|
39065
39107
|
[METHOD.restart]: ({ params, client, respond }) => {
|
|
39066
39108
|
if (!requireAdmin(client, respond)) return;
|
|
39109
|
+
const orgId = requireOrgScope(client, respond);
|
|
39110
|
+
if (orgId === null) return;
|
|
39067
39111
|
const m = ensureMgr(respond);
|
|
39068
39112
|
if (!m) return;
|
|
39069
39113
|
const shellId = asString(params?.shellId);
|
|
@@ -39071,10 +39115,12 @@ function createShellsHandlers({ shells }) {
|
|
|
39071
39115
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'shellId'");
|
|
39072
39116
|
return;
|
|
39073
39117
|
}
|
|
39074
|
-
tryRespond(respond, () => m.restart(shellId,
|
|
39118
|
+
tryRespond(respond, () => m.restart(shellId, orgId));
|
|
39075
39119
|
},
|
|
39076
39120
|
[METHOD.destroy]: ({ params, client, respond }) => {
|
|
39077
39121
|
if (!requireAdmin(client, respond)) return;
|
|
39122
|
+
const orgId = requireOrgScope(client, respond);
|
|
39123
|
+
if (orgId === null) return;
|
|
39078
39124
|
const m = ensureMgr(respond);
|
|
39079
39125
|
if (!m) return;
|
|
39080
39126
|
const shellId = asString(params?.shellId);
|
|
@@ -39085,11 +39131,13 @@ function createShellsHandlers({ shells }) {
|
|
|
39085
39131
|
tryRespond(respond, () => m.destroy({
|
|
39086
39132
|
shellId,
|
|
39087
39133
|
keepBackups: Boolean(params?.keepBackups),
|
|
39088
|
-
orgId
|
|
39134
|
+
orgId
|
|
39089
39135
|
}));
|
|
39090
39136
|
},
|
|
39091
39137
|
[METHOD.backupNow]: ({ params, client, respond }) => {
|
|
39092
39138
|
if (!requireAdmin(client, respond)) return;
|
|
39139
|
+
const orgId = requireOrgScope(client, respond);
|
|
39140
|
+
if (orgId === null) return;
|
|
39093
39141
|
const m = ensureMgr(respond);
|
|
39094
39142
|
if (!m) return;
|
|
39095
39143
|
const shellId = asString(params?.shellId);
|
|
@@ -39099,7 +39147,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39099
39147
|
}
|
|
39100
39148
|
tryRespond(respond, () => m.backupNow({
|
|
39101
39149
|
shellId,
|
|
39102
|
-
orgId
|
|
39150
|
+
orgId
|
|
39103
39151
|
}));
|
|
39104
39152
|
},
|
|
39105
39153
|
[METHOD.listBackups]: ({ params, client, respond }) => {
|
|
@@ -39642,7 +39690,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
39642
39690
|
}
|
|
39643
39691
|
if (!minimalTestGateway) (async () => {
|
|
39644
39692
|
const { recoverPendingDeliveries } = await import("./delivery-queue-BTPlqn4c.js").then((n) => n.n);
|
|
39645
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39693
|
+
const { deliverOutboundPayloads } = await import("./deliver-BUifEj0F.js").then((n) => n.n);
|
|
39646
39694
|
await recoverPendingDeliveries({
|
|
39647
39695
|
deliver: deliverOutboundPayloads,
|
|
39648
39696
|
log: log.child("delivery-recovery"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as callGateway } from "./call-
|
|
1
|
+
import { n as callGateway } from "./call-BWSchIcf.js";
|
|
2
2
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BKpbLfdK.js";
|
|
3
3
|
import { n as withProgress } from "./progress-Dai1njDG.js";
|
|
4
4
|
//#region src/cli/gateway-rpc.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-xBRW9igp.js";
|
|
2
|
-
import { n as callGateway } from "./call-
|
|
2
|
+
import { n as callGateway } from "./call-DQ1ciEPz.js";
|
|
3
3
|
import { n as withProgress } from "./progress-Dai1njDG.js";
|
|
4
4
|
//#region src/cli/gateway-rpc.ts
|
|
5
5
|
function addGatewayClientOptions(cmd) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Dor46CEN.js";
|
|
2
|
-
import { c as resolveConfigSnapshotHash } from "./io-
|
|
3
|
-
import { t as extractDeliveryInfo } from "./sessions-
|
|
2
|
+
import { c as resolveConfigSnapshotHash } from "./io-7MYBxUkU.js";
|
|
3
|
+
import { t as extractDeliveryInfo } from "./sessions-ClJAVE0p.js";
|
|
4
4
|
import { i as jsonResult, s as readStringParam } from "./common-DSuaFkdO.js";
|
|
5
|
-
import { t as callGatewayTool } from "./gateway-
|
|
5
|
+
import { t as callGatewayTool } from "./gateway-DyaIYiPf.js";
|
|
6
6
|
import { o as scheduleGatewaySigusr1Restart } from "./restart-CrIJvqAZ.js";
|
|
7
7
|
import { i as stringEnum } from "./typebox-BbVstVJp.js";
|
|
8
8
|
import { n as formatDoctorNonInteractiveHint, s as writeRestartSentinel } from "./restart-sentinel-fbAWH01I.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-dDe36eMH.js";
|
|
2
|
-
import { c as resolveConfigSnapshotHash } from "./io-
|
|
3
|
-
import { t as extractDeliveryInfo } from "./sessions-
|
|
2
|
+
import { c as resolveConfigSnapshotHash } from "./io-6cqme3no.js";
|
|
3
|
+
import { t as extractDeliveryInfo } from "./sessions-bztP6lN1.js";
|
|
4
4
|
import { i as jsonResult, s as readStringParam } from "./common-DaYU0QCr.js";
|
|
5
|
-
import { t as callGatewayTool } from "./gateway-
|
|
5
|
+
import { t as callGatewayTool } from "./gateway-RMd15lxN.js";
|
|
6
6
|
import { o as scheduleGatewaySigusr1Restart } from "./restart-CrIJvqAZ.js";
|
|
7
7
|
import { i as stringEnum } from "./typebox-BbVstVJp.js";
|
|
8
8
|
import { n as formatDoctorNonInteractiveHint, s as writeRestartSentinel } from "./restart-sentinel-f8KHn8x4.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { dt as resolveStateDir, t as createSubsystemLogger } from "./subsystem-DRI1a_Xn.js";
|
|
2
2
|
import { G as formatCliCommand } from "./model-selection-DwJwoDl4.js";
|
|
3
|
-
import { i as resolveConfigSnapshotHash } from "./io-
|
|
3
|
+
import { i as resolveConfigSnapshotHash } from "./io-D8w0m4e7.js";
|
|
4
4
|
import { i as jsonResult, s as readStringParam } from "./common-DcXFOnHs.js";
|
|
5
|
-
import { t as extractDeliveryInfo } from "./sessions-
|
|
6
|
-
import { t as callGatewayTool } from "./gateway-
|
|
5
|
+
import { t as extractDeliveryInfo } from "./sessions-DcOCMszs.js";
|
|
6
|
+
import { t as callGatewayTool } from "./gateway-DpUea-L8.js";
|
|
7
7
|
import { t as scheduleGatewaySigusr1Restart } from "./restart-DTw1wkyF.js";
|
|
8
8
|
import { i as stringEnum } from "./typebox-AaaT2Z0h.js";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { dn as loadOpenClawPlugins, ln as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { dn as loadOpenClawPlugins, ln as createPluginLoaderLogger } from "./reply-pajA-Yl6.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Dor46CEN.js";
|
|
3
3
|
import { jt as ensureAuthProfileStore, kt as upsertAuthProfile, l as normalizeProviderId } from "./model-selection-D61Vkp-Q.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-DRUklDCU.js";
|
|
5
5
|
import { l as applyAuthProfileConfig } from "./onboard-auth-GZ_rm5pe.js";
|
|
6
6
|
import { n as isWSLEnv } from "./wsl-ClveESZ1.js";
|
|
7
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
+
import { f as updateConfig } from "./shared-CCaYvPXV.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-D7Qj9noS.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
//#region src/plugins/providers.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-dDe36eMH.js";
|
|
2
2
|
import { J as normalizeProviderId, S as ensureAuthProfileStore, b as upsertAuthProfile } from "./auth-profiles-D0AOw2T4.js";
|
|
3
|
-
import { j as loadOpenClawPlugins, k as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { j as loadOpenClawPlugins, k as createPluginLoaderLogger } from "./subagent-registry-BHdRG10Z.js";
|
|
4
4
|
import { r as stylePromptTitle } from "./prompt-style-DRUklDCU.js";
|
|
5
5
|
import { n as logConfigUpdated } from "./logging-Bfx6vaGc.js";
|
|
6
6
|
import { l as applyAuthProfileConfig } from "./onboard-auth-D6zepJ3I.js";
|
|
7
7
|
import { n as isWSLEnv } from "./wsl-ClveESZ1.js";
|
|
8
|
-
import { f as updateConfig } from "./shared-
|
|
8
|
+
import { f as updateConfig } from "./shared-3xuhqrQ5.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
//#region src/plugins/providers.ts
|
|
11
11
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DEFAULT_GATEWAY_PORT, f as resolveGatewayPort } from "./paths-OcEPpXQE.js";
|
|
2
|
-
import "./config-
|
|
2
|
+
import "./config-BerwgOPM.js";
|
|
3
3
|
import { randomBytes } from "node:crypto";
|
|
4
4
|
//#region src/hooks/gmail.ts
|
|
5
5
|
const DEFAULT_GMAIL_LABEL = "INBOX";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as DEFAULT_GATEWAY_PORT, f as resolveGatewayPort } from "./paths-CoM-oAkW.js";
|
|
2
|
-
import "./config-
|
|
2
|
+
import "./config-BrDW75c2.js";
|
|
3
3
|
import { randomBytes } from "node:crypto";
|
|
4
4
|
//#region src/hooks/gmail.ts
|
|
5
5
|
const DEFAULT_GMAIL_LABEL = "INBOX";
|