@nikolasp98/minion 2026.7.12-dev.20260715050311 → 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-DSGpsf-3.js → _registry.generated-B5zHyziR.js} +55 -19
- package/dist/{_registry.generated-CxoyMMzW.js → _registry.generated-C3zYJ6On.js} +55 -19
- package/dist/{_registry.generated-CVwb-DEK.js → _registry.generated-DKC2RDUo.js} +55 -19
- package/dist/{accounts-B38-HaFa.js → accounts-BwLt-V29.js} +1 -1
- package/dist/{accounts-DAwY_jw0.js → accounts-CJf7velm.js} +1 -1
- package/dist/{accounts-BeP1XvsQ.js → accounts-DZ-7pWtI.js} +1 -1
- package/dist/{accounts-m_AHpH3M.js → accounts-vA22MiLu.js} +1 -1
- package/dist/{acp-cli-B9vzabMN.js → acp-cli-DCCSn5NL.js} +4 -4
- package/dist/{acp-cli-BtvuNlvK.js → acp-cli-wKQfGJIA.js} +4 -4
- package/dist/{agent-Bmy03Olv.js → agent-BvFdXWhL.js} +12 -12
- package/dist/{agent-C63gAsUc.js → agent-DaBGbCfi.js} +11 -11
- package/dist/{agent-step-D1lEb2ij.js → agent-step-BCSCZOB-.js} +3 -3
- package/dist/{agent-step-C1DQllT9.js → agent-step-CgJNQPZ8.js} +3 -3
- package/dist/{agents-CEv4jAwQ.js → agents-CGJzMj2S.js} +8 -8
- package/dist/{agents-list-tool-CSkk9x2X.js → agents-list-tool-C93hCbLj.js} +3 -3
- package/dist/{agents-list-tool-XwBzypb1.js → agents-list-tool-Cd_Q7HuV.js} +3 -3
- package/dist/{agents-list-tool-DCUuG4eP.js → agents-list-tool-SNOunDVC.js} +3 -3
- package/dist/{audit-BZt5UM89.js → audit-CftXdiYP.js} +12 -12
- package/dist/{audit-CVY0TU24.js → audit-D9GAKieT.js} +12 -12
- package/dist/{auth-choice-iL2qGnTv.js → auth-choice-DKtOuFks.js} +4 -4
- package/dist/{auth-choice-DBUnkhkE.js → auth-choice-dbpaxkks.js} +4 -4
- package/dist/{banner-WiXEHrLb.js → banner-B-uaqlJ9.js} +1 -1
- package/dist/{browser-cli-DYoqKTbg.js → browser-cli-BhqYEW3P.js} +3 -3
- package/dist/{browser-cli-CHh8sv-b.js → browser-cli-DZrCLNaa.js} +3 -3
- package/dist/{browser-tool-BVMjabV0.js → browser-tool-BWAVW295.js} +7 -7
- package/dist/{browser-tool-DgFnz20P.js → browser-tool-DErZM1k2.js} +7 -7
- package/dist/{browser-tool-thBH48Eu.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-DrV6uU2c.js → call-BWSchIcf.js} +3 -3
- package/dist/{call-czcZr-uY.js → call-DHo0XdK6.js} +2 -11
- package/dist/{call-2tXHVKWh.js → call-DQ1ciEPz.js} +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{canvas-tool-BfzYJpwI.js → canvas-tool-BneFVxD8.js} +2 -2
- package/dist/{canvas-tool-CNBgnWbK.js → canvas-tool-DeJaejKM.js} +2 -2
- package/dist/{canvas-tool-S4W4mlij.js → canvas-tool-Ogd2OChc.js} +2 -2
- package/dist/{channel-options-zR7MDE5g.js → channel-options-D8AdMco0.js} +2 -2
- package/dist/{channel-options-Iwd9Pnr4.js → channel-options-DjEmC0qR.js} +2 -2
- package/dist/{channel-selection-Bpbhqgjb.js → channel-selection-1nQ35zxv.js} +1 -1
- package/dist/{channel-selection-D-JiWYSP.js → channel-selection-wHLAe5Et.js} +1 -1
- package/dist/{channel-web-Bp2feV7o.js → channel-web-DRfE9BO9.js} +12 -12
- package/dist/{channels-cli-wMxCVwap.js → channels-cli-B2WLqWbi.js} +13 -13
- package/dist/{channels-cli-BVzvH4T8.js → channels-cli-DWxvR4dU.js} +13 -13
- package/dist/{channels-status-issues-DAXpJEob.js → channels-status-issues-8gZwCTjP.js} +1 -1
- package/dist/{channels-status-issues-DXz-lrLc.js → channels-status-issues-CE1BlXu3.js} +1 -1
- package/dist/{chrome-COxoiWAN.js → chrome-BA0Rm2cQ.js} +2 -2
- package/dist/{chrome-C0h74dXQ.js → chrome-CQYa8Qpn.js} +2 -2
- package/dist/{chrome-BrrQFDI3.js → chrome-Cm9IFEur.js} +2 -2
- package/dist/{clawbot-cli-B5B0Z6hG.js → clawbot-cli-00xvHy61.js} +1 -1
- package/dist/{clawbot-cli-Dw1hTwmP.js → clawbot-cli-BBjE2ol-.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CPdR63BC.js → cli-CgVsnrl6.js} +3 -3
- package/dist/{cli-CcGaXhRW.js → cli-CtGu18f6.js} +3 -3
- package/dist/{client-C_-YvLLI.js → client-2fZQKc2l.js} +5 -5
- package/dist/{client-UbK7ubLT.js → client-4u1JH1Zk.js} +0 -9
- package/dist/{client-Jabmwobu.js → client-B8GOknl-.js} +5 -5
- package/dist/{client-cSd7bG5q.js → client-D-ZPTrtK.js} +5 -5
- package/dist/{client-BYzTMaoO.js → client-W3BYtITQ.js} +0 -9
- package/dist/{command-registry-BuDTBRe1.js → command-registry-B5mckc9m.js} +14 -14
- package/dist/{commands-registry-k-JBgSft.js → commands-registry-DJs-edcv.js} +2 -2
- package/dist/{commands-registry-R0_nDAub.js → commands-registry-qRRu3RMk.js} +2 -2
- package/dist/{completion-cli-BGEEtxjt.js → completion-cli-BXTewelZ.js} +2 -2
- package/dist/{completion-cli-DDyDbJf7.js → completion-cli-BcPY11gL.js} +1 -1
- package/dist/{config-Bdlgx0wn.js → config-BerwgOPM.js} +2 -2
- package/dist/{config-DBs_rRu7.js → config-BrDW75c2.js} +2 -2
- package/dist/{config-Y_m-kxh9.js → config-DPP0lwsZ.js} +1 -1
- package/dist/{config-cli-DvnaEuHX.js → config-cli-CDhIjQc_.js} +4 -4
- package/dist/{config-cli-CEFoclyO.js → config-cli-CS88lrpx.js} +4 -4
- package/dist/{config-guard-23Of7Z6T.js → config-guard-CdCd4lGu.js} +3 -3
- package/dist/{config-guard-DnN-rRov.js → config-guard-DeZ33UWP.js} +3 -3
- package/dist/{config-validation-C7FvneNE.js → config-validation-CL0L0Dyf.js} +2 -2
- package/dist/{config-validation-BFtYfcpf.js → config-validation-txBaIaqO.js} +2 -2
- package/dist/{configure-BA6T3Tkr.js → configure-Bg10bnTk.js} +16 -16
- package/dist/{configure-BQ1Lu7Bd.js → configure-D5oM27Go.js} +16 -16
- package/dist/{control-service-DF4h-8kw.js → control-service-C369Rxs0.js} +6 -6
- package/dist/{control-service-DzDPUacK.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-BSfEMY9R.js → cron-cli-CsVKtwB8.js} +2 -2
- package/dist/{cron-cli-DRJUdOM5.js → cron-cli-Dddt4cu1.js} +2 -2
- package/dist/{cron-tool-Bgr6XBq9.js → cron-tool-BWM-ykso.js} +5 -5
- package/dist/{cron-tool-DNLIuiZ3.js → cron-tool-CD3kXNpT.js} +5 -5
- package/dist/{cron-tool-B4-O1mOU.js → cron-tool-CaMrrFJF.js} +5 -5
- package/dist/{daemon-cli-B8kOSqee.js → daemon-cli-CAgHOWp8.js} +9 -9
- package/dist/{daemon-cli-CDWmL7nl.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-BmaW56O-.js → daemon-runtime-C0_5HhUZ.js} +1 -1
- package/dist/{daemon-runtime-DUAfG2aA.js → daemon-runtime-CZXX_eXt.js} +1 -1
- package/dist/{deliver-BBHWk2Fl.js → deliver-BUifEj0F.js} +4 -4
- package/dist/{deliver-DxzGSQ1s.js → deliver-DJHcrP_i.js} +5 -5
- package/dist/{deliver-B5mqRWvh.js → deliver-O2dLDnLg.js} +4 -4
- package/dist/{deps-dO6xHyfp.js → deps-i_B9izvk.js} +7 -7
- package/dist/{devices-cli-D-lvOKoA.js → devices-cli-B9OXRt0t.js} +1 -1
- package/dist/{devices-cli-BmwXfmaE.js → devices-cli-DAcSoXi5.js} +1 -1
- package/dist/{directory-cli-BYHaa8t2.js → directory-cli-kxPXkKog.js} +4 -4
- package/dist/{directory-cli-hnxS-rJY.js → directory-cli-t11V_DDe.js} +4 -4
- package/dist/{dispatcher-Cce5sJHy.js → dispatcher-CvddQmnF.js} +1 -1
- package/dist/{dispatcher-C5AKq3qz.js → dispatcher-Dt_9aSBz.js} +1 -1
- package/dist/{dm-policy-shared-BvIhvTAm.js → dm-policy-shared-Df7eGBuI.js} +2 -2
- package/dist/{dm-policy-shared-BSWTvM40.js → dm-policy-shared-DyFNKOIs.js} +2 -2
- package/dist/{dns-cli-YkSHkRgx.js → dns-cli-CuxJhzIr.js} +2 -2
- package/dist/{dns-cli-BrpQUGng.js → dns-cli-D-xNNWBy.js} +2 -2
- package/dist/doctor-completion-B-tgL_ut.js +2 -0
- package/dist/{doctor-completion-Bah1xxDZ.js → doctor-completion-D1cLVgnw.js} +1 -1
- package/dist/doctor-completion-DvEGPvIT.js +2 -0
- package/dist/{doctor-completion-DR3PMDm1.js → doctor-completion-rfyVqz7I.js} +1 -1
- package/dist/{doctor-config-flow-BvTU7P3a.js → doctor-config-flow-C2p3v-cC.js} +6 -6
- package/dist/{doctor-config-flow-CVXvnZ_P.js → doctor-config-flow-D6uaIY8F.js} +6 -6
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-2nMWHQ23.js → exec-approvals-cli-CYxKrRPS.js} +2 -2
- package/dist/{exec-approvals-cli-CPLWc9wh.js → exec-approvals-cli-CaGKwCkP.js} +2 -2
- package/dist/extensionAPI.d.ts +11 -0
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-DkZbWoSP.js → gateway-DpUea-L8.js} +3 -3
- package/dist/{gateway-DuPlq3Lo.js → gateway-DyaIYiPf.js} +3 -3
- package/dist/{gateway-CKw1B3G3.js → gateway-RMd15lxN.js} +3 -3
- package/dist/{gateway-cli-CCIa9dAH.js → gateway-cli-1dY-uNhm.js} +132 -77
- package/dist/{gateway-cli-DO7T73U7.js → gateway-cli-n18LFNeU.js} +131 -76
- package/dist/{gateway-rpc-Dor0Ne5G.js → gateway-rpc-BaD9gDWy.js} +1 -1
- package/dist/{gateway-rpc-bFDfI0jC.js → gateway-rpc-C3LLjyGe.js} +1 -1
- package/dist/{gateway-tool-CYNiLl9-.js → gateway-tool-BAdp6SH1.js} +3 -3
- package/dist/{gateway-tool-FiBzkiaT.js → gateway-tool-kRxmsmMz.js} +3 -3
- package/dist/{gateway-tool-DimDGfH7.js → gateway-tool-sHQ43WtK.js} +3 -3
- package/dist/{github-copilot-auth-bj7yKXqQ.js → github-copilot-auth-C6LhCOk3.js} +2 -2
- package/dist/{github-copilot-auth--CKRNoaw.js → github-copilot-auth-VK12SD5f.js} +2 -2
- package/dist/{gmail-OOodZN5v.js → gmail-89acEtXH.js} +1 -1
- package/dist/{gmail-De7lwq9k.js → gmail-tGz-kYHa.js} +1 -1
- package/dist/{health-CJLBn09L.js → health-8oE9qNSE.js} +10 -10
- package/dist/{health-BSVlkT5d.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-DaByRrQ3.js → helpers-CNcaAdSH.js} +1 -1
- package/dist/{helpers-If3mZUB3.js → helpers-bG_wfee1.js} +1 -1
- package/dist/{hooks-cli-CWm7BMDX.js → hooks-cli-CB_KzY16.js} +2 -2
- package/dist/{hooks-cli-S730exNl.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-Clda5wSc.js → image-tool-CEjIXfAz.js} +2 -2
- package/dist/{image-tool-CTzv5Fwx.js → image-tool-DA0ckrPq.js} +1 -1
- package/dist/{image-tool-CXUbSOFf.js → image-tool-OiDWYqmY.js} +2 -2
- package/dist/index.d.ts +11 -0
- package/dist/index.js +10 -10
- package/dist/{io-BJQ6wGt0.js → io-6cqme3no.js} +2 -2
- package/dist/{io-PqZ9xsqS.js → io-7MYBxUkU.js} +2 -2
- package/dist/{io-36IWgxWF.js → io-D8w0m4e7.js} +2 -1
- package/dist/{ir-Z79l6YFz.js → ir-BPZJ-sfR.js} +1 -1
- package/dist/{ir-CZirIzWM.js → ir-BhnJmnK_.js} +5 -5
- package/dist/{ir-BTHWocyU.js → ir-CdlSkzAy.js} +1 -1
- package/dist/{lifecycle-core-Cefw3jp5.js → lifecycle-core-Dmy-67JO.js} +3 -3
- package/dist/{lifecycle-core-CSfXVCf2.js → lifecycle-core-DwiJf6GO.js} +3 -3
- package/dist/llm-slug-generator.js +33 -0
- package/dist/{load-tools-tool-NnK5iEGW.js → load-tools-tool-CK9n4dpv.js} +3 -3
- package/dist/{load-tools-tool-1Ku7ZYQk.js → load-tools-tool-DVMiLHnV.js} +3 -3
- package/dist/{load-tools-tool-B822jbu8.js → load-tools-tool-jvr9ELiC.js} +3 -3
- package/dist/{logs-cli-CyXHS82U.js → logs-cli-DYkz_Y2b.js} +2 -2
- package/dist/{logs-cli-B2HN6T9s.js → logs-cli-y33n6Plb.js} +2 -2
- package/dist/{memory-cli-DN4HDjZF.js → memory-cli-CchSD5_M.js} +3 -3
- package/dist/{memory-cli-D2UybctY.js → memory-cli-DWeZSF4O.js} +3 -3
- package/dist/{message-action-runner-BC0NPAEt.js → message-action-runner-BJzBMfAN.js} +11 -11
- package/dist/{message-action-runner-CzYdWhZ6.js → message-action-runner-aRJaOp3h.js} +11 -11
- package/dist/{message-ledger-5_Cl_pN0.js → message-ledger-DmX8k7Eb.js} +6 -6
- package/dist/{message-tool-PZuRkGRx.js → message-tool-BT_lShXP.js} +6 -6
- package/dist/{message-tool-BBsJ718D.js → message-tool-CJ2k9G2X.js} +6 -6
- package/dist/{message-tool-FnCqoXl8.js → message-tool-DkxTGNJ_.js} +9 -9
- package/dist/{minion-tools-DogsL-y0.js → minion-tools-CEQNyDLo.js} +22 -20
- package/dist/{model-catalog-D9SMyqKP.js → model-catalog-Dun9rUwm.js} +3 -3
- package/dist/{model-catalog-DYHf-usN.js → model-catalog-RhTD2XJY.js} +3 -3
- package/dist/{model-fallback-FMG5anI7.js → model-fallback-Cm3Tv0In.js} +2 -2
- package/dist/{model-fallback-CT9cFbVP.js → model-fallback-CrSemKRh.js} +2 -2
- package/dist/{model-fallback-CDZmGk9D.js → model-fallback-uwtaor8f.js} +4 -4
- package/dist/{model-picker-3nhZqWgC.js → model-picker-C_UhEF-R.js} +2 -2
- package/dist/{model-picker-C20xG3X3.js → model-picker-D7OvwR5Y.js} +2 -2
- package/dist/{models-BT4YKBSD.js → models-DEvrTY5o.js} +12 -12
- package/dist/{models-cli-DF_0JCx_.js → models-cli-BBuPQES6.js} +2 -2
- package/dist/{models-cli-DY7Bm2ed.js → models-cli-DsDVKG2f.js} +12 -12
- package/dist/{models-config-B5fBKGD3.js → models-config-DTMIOONu.js} +2 -2
- package/dist/{models-config-DoGGIvM6.js → models-config-pB1nNFSi.js} +2 -2
- package/dist/{node-cli-BRInA-Sb.js → node-cli-Cdp1_fUq.js} +9 -9
- package/dist/{node-cli-D9Z-dPUZ.js → node-cli-DsU_QUTE.js} +9 -9
- package/dist/{nodes-cli-CxK2FUkv.js → nodes-cli-B4oX5uNL.js} +5 -5
- package/dist/{nodes-cli-BG9J4Imp.js → nodes-cli-CKkuvp7a.js} +5 -5
- package/dist/{nodes-tool-CMcjIuR_.js → nodes-tool-C9NV_GnB.js} +3 -3
- package/dist/{nodes-tool-DhF3ck1I.js → nodes-tool-CTpJ5fug.js} +3 -3
- package/dist/{nodes-tool-Qj3ygrgS.js → nodes-tool-sKJc-Yjj.js} +3 -3
- package/dist/{nodes-utils-BaYNmopA.js → nodes-utils-CFmLuU06.js} +1 -1
- package/dist/{nodes-utils-DOy5cjCc.js → nodes-utils-CkQsT0N0.js} +1 -1
- package/dist/{nodes-utils-DF3X9oyh.js → nodes-utils-DNMhzvVb.js} +1 -1
- package/dist/{onboard-BWYSXcHt.js → onboard-V7JyPJex.js} +9 -9
- package/dist/{onboard-channels-Bq-evr85.js → onboard-channels-BDfxpK7n.js} +1 -1
- package/dist/{onboard-channels-DWr0yHWj.js → onboard-channels-CmC3qBbq.js} +3 -3
- package/dist/{onboard-channels-DyWYFAg2.js → onboard-channels-CzKarfzC.js} +1 -1
- package/dist/{onboard-channels-BOSMG4S-.js → onboard-channels-yUQOZPgP.js} +3 -3
- package/dist/{onboard-custom-DU4LJYpt.js → onboard-custom-BDM5_y2p.js} +2 -2
- package/dist/{onboard-custom-B136z_xx.js → onboard-custom-BvfApkVd.js} +1 -1
- package/dist/{onboard-custom-BMJRDvs6.js → onboard-custom-CfZMfUJ3.js} +1 -1
- package/dist/{onboard-custom-iL7ssiup.js → onboard-custom-CmwY-IfM.js} +2 -2
- package/dist/{onboard-helpers-C32t-FLY.js → onboard-helpers-BE_18443.js} +1 -1
- package/dist/{onboard-helpers-r8VwltFD.js → onboard-helpers-CekhN2Dt.js} +5 -5
- package/dist/{onboard-helpers-CshtI1Zv.js → onboard-helpers-DfEvL7Eo.js} +1 -1
- package/dist/{onboard-helpers-COFCTrXY.js → onboard-helpers-gS7HQOeH.js} +5 -5
- package/dist/{onboard-remote-OGiBmmSH.js → onboard-remote-CEWlSso0.js} +1 -1
- package/dist/{onboard-remote-DaSf_iYp.js → onboard-remote-aQfExF92.js} +1 -1
- package/dist/{onboard-D47mKKfB.js → onboard-rqIA9EXQ.js} +9 -9
- package/dist/{onboard-skills-roS4qTou.js → onboard-skills-75JQVISV.js} +1 -1
- package/dist/{onboard-skills-CjBxLUyk.js → onboard-skills-BSGpQX_t.js} +1 -1
- package/dist/{onboarding-DEi30r7I.js → onboarding-BNfuRC7v.js} +12 -12
- package/dist/{onboarding-CsR--6vK.js → onboarding-IiILUaqA.js} +12 -12
- package/dist/{onboarding.finalize-D6pKr-ZJ.js → onboarding.finalize-D2iRalHn.js} +9 -9
- package/dist/{onboarding.finalize-truf0W9s.js → onboarding.finalize-T1iu9hW_.js} +9 -9
- package/dist/{onboarding.gateway-config-2oj2EqOS.js → onboarding.gateway-config-DPJvhCxG.js} +2 -2
- package/dist/{onboarding.gateway-config-Bh1viokL.js → onboarding.gateway-config-W1qUrMi_.js} +2 -2
- package/dist/{outbound-send-deps-kbmuQhN5.js → outbound-send-deps-_gwXpS3X.js} +7 -7
- package/dist/{pairing-cli-BaxW5NvY.js → pairing-cli-DOVP6x__.js} +4 -4
- package/dist/{pairing-cli-Dm2RjHsZ.js → pairing-cli-DZQ0VISz.js} +4 -4
- package/dist/{pairing-store-DHcO9a4v.js → pairing-store-BP5Qp69V.js} +2 -2
- package/dist/{pairing-store-D0QXnN8e.js → pairing-store-CNDIY_e9.js} +2 -2
- package/dist/{pi-embedded-helpers-B-iZquPe.js → pi-embedded-helpers-CAos7nyg.js} +6 -6
- package/dist/{pi-embedded-helpers-D7jObbmL.js → pi-embedded-helpers-CJQRe8VG.js} +1 -1
- package/dist/{pi-embedded-helpers-DU-bh5ri.js → pi-embedded-helpers-Dt84Vt0L.js} +1 -1
- package/dist/{pi-embedded-utils-M7dzzD38.js → pi-embedded-utils-BlYe4un1.js} +1 -1
- package/dist/{pi-embedded-utils-BDVxHN9w.js → pi-embedded-utils-C3czix2Z.js} +1 -1
- package/dist/{pi-embedded-utils-ClQmhsYi.js → pi-embedded-utils-CnKLZQZs.js} +1 -1
- package/dist/{pi-tools.policy-DftNw1JI.js → pi-tools.policy-DClWWLv0.js} +4 -4
- package/dist/{plugin-auto-enable-Cnu8IYow.js → plugin-auto-enable-2zVKrpSR.js} +1 -1
- package/dist/{plugin-auto-enable-CoUmbc3E.js → plugin-auto-enable-BFqsBeiO.js} +1 -1
- package/dist/{plugin-registry-CCtEK0P_.js → plugin-registry-B8Ol763b.js} +3 -3
- package/dist/{plugin-registry-CYiBIvvj.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-3ke-1_IL.js → plugins-BSX3IzSW.js} +1 -1
- package/dist/{plugins-Csm04VZy.js → plugins-BbE87x_i.js} +1 -1
- package/dist/{plugins-B4Zf_SkO.js → plugins-Db3l--Iv.js} +1 -1
- package/dist/{plugins-cli-SNQimFTq.js → plugins-cli-Do_2x-P9.js} +3 -3
- package/dist/{plugins-cli-CnKL7zRT.js → plugins-cli-sYIckkU6.js} +3 -3
- package/dist/{program-DMwCdKqC.js → program-DuPIc0CA.js} +7 -7
- package/dist/{program-context-CUgf-nFE.js → program-context-Butv-q95.js} +42 -42
- package/dist/{prompt-select-styled-XfmHgUSJ.js → prompt-select-styled-BExVeXb2.js} +18 -18
- package/dist/{prompt-select-styled-kv2v-J0x.js → prompt-select-styled-Cp4tJmDm.js} +18 -18
- package/dist/{push-apns-C7QqFlQ5.js → push-apns-Bxplfna8.js} +1 -31
- package/dist/{push-apns-B34to-or.js → push-apns-a42ldGL8.js} +1 -31
- package/dist/{pw-ai-DApwaGOU.js → pw-ai-CYHslBvW.js} +2 -2
- package/dist/{pw-ai-CsAABWsJ.js → pw-ai-CuhAAfak.js} +2 -2
- package/dist/{pw-ai-ZHl2zMES.js → pw-ai-DQg5o_dq.js} +2 -2
- package/dist/{pw-session-Cj5TD_Y4.js → pw-session-CE6GP8K2.js} +1 -1
- package/dist/{pw-session-BCUrAqCY.js → pw-session-DllHustd.js} +1 -1
- package/dist/{pw-session-CaO0Bkw4.js → pw-session-UBu8_Nno.js} +1 -1
- package/dist/{qr-cli-DYUIAbvh.js → qr-cli-BCZv2_hI.js} +2 -2
- package/dist/{qr-cli-az8v1Idc.js → qr-cli-DX6_VGoE.js} +2 -2
- package/dist/{register.agent-DZRauJcn.js → register.agent-BxjtbKDH.js} +7 -7
- package/dist/{register.agent-DbdSW2Ug.js → register.agent-DWJIWMVU.js} +12 -12
- package/dist/{register.channel-CPM1086Y.js → register.channel-BDuMmK1a.js} +2 -2
- package/dist/{register.channel-ZizsJ__5.js → register.channel-C_DXxr7c.js} +2 -2
- package/dist/{register.configure-BjDYUL20.js → register.configure-B_XY4Rl7.js} +1 -1
- package/dist/{register.configure-C-Q7AhcU.js → register.configure-kQKEsyRt.js} +1 -1
- package/dist/{register.drone-0mU5DIA_.js → register.drone-B2YlfnxU.js} +2 -2
- package/dist/{register.drone-BxcnHSWL.js → register.drone-BEaZQLpQ.js} +2 -2
- package/dist/{register.maintenance-DGoWogZZ.js → register.maintenance-BzbQEwcr.js} +5 -5
- package/dist/{register.maintenance-DHtTDNZm.js → register.maintenance-x4QqUEAs.js} +5 -5
- package/dist/{register.message-BON_gkri.js → register.message-C-HGH6ro.js} +7 -7
- package/dist/{register.message-gGAMAdiu.js → register.message-erSrrSy8.js} +7 -7
- package/dist/{register.onboard-Dlr48GBC.js → register.onboard-DtSasogy.js} +1 -1
- package/dist/{register.onboard-oW7iHTrT.js → register.onboard-RztK81fK.js} +1 -1
- package/dist/{register.setup-C-tBiZg9.js → register.setup-CNKwjRf3.js} +4 -4
- package/dist/{register.setup-CvwF93GX.js → register.setup-CU4oyWQN.js} +4 -4
- package/dist/{register.status-health-sessions-ChNAFUVq.js → register.status-health-sessions-C4MLusee.js} +6 -6
- package/dist/{register.status-health-sessions-UV0LR9im.js → register.status-health-sessions-CaPTa3NI.js} +3 -3
- package/dist/{register.subclis-BVSo499N.js → register.subclis-Q6q9ktLa.js} +29 -29
- package/dist/{reply-D1Xsn6eO.js → reply-pajA-Yl6.js} +33 -31
- package/dist/{reply-payloads-CHYk2cao.js → reply-payloads-BlZu5x6x.js} +6 -6
- package/dist/{reply-prefix-2P-kpLyA.js → reply-prefix-C2RVZSgb.js} +1 -1
- package/dist/{reply-prefix-CxJuc0hI.js → reply-prefix-g25aWRqJ.js} +1 -1
- package/dist/{resolve-route-BEVw9SKN.js → resolve-route-DQ7BIAU_.js} +2 -2
- package/dist/{resolve-route-AQSn8qfH.js → resolve-route-yooa1z42.js} +4 -4
- package/dist/{routes-yg37klM3.js → routes-C5NVLNYd.js} +4 -4
- package/dist/{routes-gNKwdTeZ.js → routes-C9bf1VtT.js} +4 -4
- package/dist/{rpc-qg2Z1rQN.js → rpc-BXk0xG0H.js} +1 -1
- package/dist/{rpc-DFTT-PZM.js → rpc-CRCwztMb.js} +1 -1
- package/dist/{run-main-CrNTVOYZ.js → run-main-BdLBIyiP.js} +19 -19
- package/dist/{sandbox-BoqQp8gb.js → sandbox-DLtSFsnF.js} +7 -7
- package/dist/{sandbox-vTPiRHpZ.js → sandbox-DQ8PqB1U.js} +7 -7
- package/dist/{sandbox-cli-CrKds6ek.js → sandbox-cli-BoxfOIvp.js} +4 -4
- package/dist/{sandbox-cli-CIGgwzST.js → sandbox-cli-CFJ9cLf1.js} +4 -4
- package/dist/{sdk-inspect-tool-DruE0gS7.js → sdk-inspect-tool--0YwiPqb.js} +2 -2
- package/dist/{sdk-inspect-tool-DKF5-MKP.js → sdk-inspect-tool-gngBv_e2.js} +2 -2
- package/dist/{sdk-inspect-tool-D8dw7W1x.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-ChBggqrC.js → search-tools-tool-BCV0uHLY.js} +2 -2
- package/dist/{search-tools-tool-BT533cw8.js → search-tools-tool-DIr1vVNX.js} +2 -2
- package/dist/{search-tools-tool-DP49FT4E.js → search-tools-tool-XuYT8kpL.js} +2 -2
- package/dist/{security-cli-kbxMiBXq.js → security-cli-Cx2puO6Q.js} +4 -4
- package/dist/{security-cli-B44T1rTx.js → security-cli-sqaoNzjc.js} +4 -4
- package/dist/{send-DmO9gGRo.js → send-BABrPQhp.js} +4 -4
- package/dist/{send-C8bGQBU0.js → send-BOAXOqlj.js} +5 -5
- package/dist/{send-CMQUySy2.js → send-BhHYA7fz.js} +4 -4
- package/dist/{send-DF1aASt7.js → send-C1R6SHFd.js} +4 -4
- package/dist/{send-jIPdhFyH.js → send-CQTnHf7j.js} +6 -6
- package/dist/{send-BVwKSS0K.js → send-CzX8rfQQ.js} +6 -6
- package/dist/{send-DDsNa_Ji.js → send-DIjmAwBt.js} +5 -5
- package/dist/{send-C8Qvbhfl.js → send-DfwkS1Cy.js} +5 -5
- package/dist/{send-aP9vUdZA.js → send-DmLvgXqi.js} +5 -5
- package/dist/{send-GitfZeLF.js → send-F3N3Vgcy.js} +4 -4
- package/dist/{server-context-vL7RpqKW.js → server-context-BYcLDvQc.js} +6 -6
- package/dist/{server-context-DwRkP6wl.js → server-context-CDmBokpm.js} +6 -6
- package/dist/{server-context-CpjjYoiy.js → server-context-DFdTmsBq.js} +6 -6
- package/dist/{server-methods-list-BkeL_f1I.js → server-methods-list-CUUd_Znm.js} +1 -1
- package/dist/{server-methods-list-L1PUHfXd.js → server-methods-list-ZEquDpTD.js} +1 -1
- package/dist/{server-node-events-BPsy0Lio.js → server-node-events-Dml6MIAW.js} +11 -11
- package/dist/{server-node-events-BpU_jSoz.js → server-node-events-DpkjSBLL.js} +9 -9
- package/dist/{session-status-tool-CGqrPDT_.js → session-status-tool-BHEQX4IM.js} +6 -6
- package/dist/{session-status-tool-CpvDhFZV.js → session-status-tool-CIAw4c-9.js} +5 -5
- package/dist/{session-status-tool-Ci9ZTcWd.js → session-status-tool-CJeMrNTI.js} +7 -7
- package/dist/{session-utils-BwdwB80N.js → session-utils-Ffl6ASbR.js} +4 -4
- package/dist/{sessions-6bGzFKwC.js → sessions-CiNGPwTK.js} +4 -4
- package/dist/{sessions-DaA0crcT.js → sessions-ClJAVE0p.js} +6 -6
- package/dist/{sessions-Dv0AsGXk.js → sessions-DcOCMszs.js} +3 -3
- package/dist/{sessions-Bmu1qNSi.js → sessions-bztP6lN1.js} +6 -6
- package/dist/{sessions-helpers-9A3GpP1C.js → sessions-helpers-Ctko7_ZU.js} +3 -3
- package/dist/{sessions-helpers-BHv8itwp.js → sessions-helpers-D6BayuvJ.js} +3 -3
- package/dist/{sessions-helpers-DKduybhL.js → sessions-helpers-DpKh-EgX.js} +3 -3
- package/dist/{sessions-history-tool-B4QAi02g.js → sessions-history-tool-BtLEW8Jq.js} +5 -5
- package/dist/{sessions-history-tool-Dp7-TyAD.js → sessions-history-tool-DlKTVhCD.js} +5 -5
- package/dist/{sessions-history-tool-CbDHBInr.js → sessions-history-tool-DnxZRMF3.js} +5 -5
- package/dist/{sessions-list-tool-Doz90bAO.js → sessions-list-tool-BGmjNjoA.js} +5 -5
- package/dist/{sessions-list-tool-DM7nEN-u.js → sessions-list-tool-DSB6_hFi.js} +5 -5
- package/dist/{sessions-list-tool-C2P-REih.js → sessions-list-tool-OP5IQOE0.js} +5 -5
- package/dist/{sessions-send-tool-D_SpTEzR.js → sessions-send-tool-BF8lKSLy.js} +6 -6
- package/dist/{sessions-send-tool-CsvXXZ6X.js → sessions-send-tool-C1WMGH6W.js} +6 -6
- package/dist/{sessions-send-tool-Sl05Rc1o.js → sessions-send-tool-CG8A-kW5.js} +5 -5
- package/dist/{sessions-spawn-tool-CtVdtdxy.js → sessions-spawn-tool-BD6XdQ4G.js} +1 -1
- package/dist/{sessions-spawn-tool-Cvd7gZzb.js → sessions-spawn-tool-BE94fv2r.js} +1 -1
- package/dist/{sessions-spawn-tool-rhrbdrHi.js → sessions-spawn-tool-DRxk6sWZ.js} +1 -1
- package/dist/{shared-DDwwQhyO.js → shared-3xuhqrQ5.js} +2 -2
- package/dist/{shared-7xAh_DUw.js → shared-CCaYvPXV.js} +2 -2
- package/dist/{skills-cli-Csm1MWLY.js → skills-cli-CQ8fYddY.js} +2 -2
- package/dist/{skills-cli-BYDuIUBN.js → skills-cli-D-V0vRgX.js} +2 -2
- package/dist/{status-DJ3pP2oq.js → status-BeasmhMH.js} +13 -13
- package/dist/{status-CUiB4K9g.js → status-D8c6C5Z0.js} +3 -3
- package/dist/{status-CsflFo5K.js → status-DHuWnwac.js} +3 -3
- package/dist/{status-C42P0GTx.js → status-DbOwDhDe.js} +14 -14
- package/dist/{status.update-Dzkf5M1l.js → status.update-otfuSKpG.js} +1 -1
- package/dist/{status.update-Oa1Q7aKY.js → status.update-ww09PQZI.js} +1 -1
- package/dist/{subagent-registry-DPNFbdCM.js → subagent-registry-BHdRG10Z.js} +34 -32
- package/dist/{subagents-tool-BHleIh5_.js → subagents-tool-CpBMVS4i.js} +6 -6
- package/dist/{subagents-tool-Bhv8IWCj.js → subagents-tool-DIxAhxWP.js} +6 -6
- package/dist/{subagents-tool-DTt0oCJj.js → subagents-tool-h2WCtDtU.js} +6 -6
- package/dist/{system-cli-qKT31zzS.js → system-cli-C7sjnpqK.js} +1 -1
- package/dist/{system-cli-CWLXAiEM.js → system-cli-DP_wysY-.js} +1 -1
- package/dist/{systemd-hints-DPqwVMdw.js → systemd-hints-BnL2sVfy.js} +1 -1
- package/dist/{systemd-hints-OqapG2rD.js → systemd-hints-DEXpKBnF.js} +1 -1
- package/dist/{tables-CFTMokfs.js → tables-Cu2OX2r-.js} +1 -1
- package/dist/{tables-KrPYa57V.js → tables-DMdQO81Y.js} +1 -1
- package/dist/{targets-D6ZbcM7a.js → targets-By4KtyZv.js} +1 -1
- package/dist/{targets-BZDxvcL1.js → targets-DypSB4K6.js} +2 -2
- package/dist/{targets-DZBGTWw3.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-DLtFAFDn.js → tools-cli-B13gsec8.js} +3 -3
- package/dist/{tools-cli-B9MDDYcf.js → tools-cli-BJ_zWgqf.js} +3 -3
- package/dist/{tts-CVpT5DDx.js → tts-CdyriGYN.js} +2 -2
- package/dist/{tts-DeWH-9iT.js → tts-DH1gVM5t.js} +34 -1
- package/dist/{tts-CYgPcpBG.js → tts-EAcO1Hwe.js} +2 -2
- package/dist/{tts-tool-Dk4NGcJh.js → tts-tool-BBIMu7X2.js} +3 -3
- package/dist/{tts-tool-CCnLadXB.js → tts-tool-DO_F3ZME.js} +3 -3
- package/dist/{tts-tool-BI70cNjf.js → tts-tool-oG4FOqod.js} +3 -3
- package/dist/{tui-AbgutQhU.js → tui-CvQjFLn2.js} +6 -13
- package/dist/{tui-C0meZtnL.js → tui-CyKvw7SL.js} +6 -13
- package/dist/{tui-cli-nGiXl6QC.js → tui-cli-DROBYt8G.js} +1 -1
- package/dist/{tui-cli-WzVsHu23.js → tui-cli-PQR9JVFA.js} +1 -1
- package/dist/{update-cli-zBj3N2GH.js → update-cli-DsNQjCBa.js} +8 -8
- package/dist/{update-cli-BFHuprZY.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-CBStYp_x.js → web-Bqx30F6C.js} +12 -12
- package/dist/web-DKofD48i.js +2 -0
- package/dist/{web-search-Ba6vR31X.js → web-search-BGzVmln0.js} +4 -4
- package/dist/{web-search-buicdjg7.js → web-search-BXe6QGYe.js} +4 -4
- package/dist/{web-search-ZWILjbUF.js → web-search-CGnEgHNH.js} +4 -4
- package/dist/{webhooks-cli-CbewtsqL.js → webhooks-cli-DMfQ_Sq0.js} +4 -4
- package/dist/{webhooks-cli-Dacy8QAQ.js → webhooks-cli-wUMz0eSs.js} +4 -4
- package/dist/{workspace-dirs-Bxd48BAf.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-C_vUbY3B.js +0 -2
- package/dist/daemon-install-helpers-DsVKYy7S.js +0 -2
- package/dist/doctor-completion-CrVVU5pA.js +0 -2
- package/dist/doctor-completion-DF48nvUw.js +0 -2
- package/dist/web-DftwF1B1.js +0 -2
|
@@ -14,54 +14,54 @@ import { n as getEventStore, r as initEventSystem, t as emitEvent } from "./emit
|
|
|
14
14
|
import { t as applySqlitePragmas } from "./sqlite-pragmas-C_o_lU6a.js";
|
|
15
15
|
import { t as requireNodeSqlite } from "./sqlite-C3xwcWJn.js";
|
|
16
16
|
import { d as setSentryContext, f as setSentryTag, n as getReliabilityUptimeStartMs, r as initReliability, t as emitReliabilityEvent } from "./reliability-B8aPy4cP.js";
|
|
17
|
-
import { $n as resetAllLanes, $t as requestNodePairing, A as loadMinionPlugins, An as extractImageContentFromSource, At as buildSystemPromptParams, B as resolveCronStyleNow, Bn as stopSubagentsForRequester, Bt as normalizeSendPolicy, C as readConsolidationState, Ct as getBuiltinSectionRegistry, D as buildDefaultToolPolicyPipelineSteps, Dn as DEFAULT_INPUT_IMAGE_MIMES, Dt as PromptSectionRegistry, E as applyToolPolicyPipeline, Et as buildToolSummaryMap, Fn as formatZonedTimestamp, G as debugSkipAll, Gt as refreshRemoteBinsForConnectedNodes, H as setCliSessionId, Ht as getRemoteSkillEligibility, J as setDebugStepBroadcaster, Jt as setSkillsRemoteRegistry, K as debugStepContinue, Kn as resolveAgentIdentity, Kt as refreshRemoteNodeBins, Lt as requestHeartbeatNow, M as dispatchInboundMessage, Mn as resolveInputFileLimits, N as createReplyDispatcher, O as getPluginToolMeta, Ot as PROSE_GLOBAL_ROOT, P as getTotalPendingReplies, Pn as transcribeOpenAiCompatibleAudio, Q as runToolScript, Qn as getTotalQueueSize, Qt as renamePairedNode, R as BARE_SESSION_RESET_PROMPT, Rn as resolveUserTimezone, S as openInFlightTurnsStore, St as assembleAgentSystemPromptWithSections, Tn as registerUnhandledRejectionHandler, Tt as buildSectionRenderContext, U as runCliAgent, Ut as primeRemoteSkillsCache, V as getCliSessionId, Vt as resolveSendPolicy, Wn as clearSessionQueues, Wt as recordRemoteNodeInfo, X as createMinionTools, Xn as getActiveTaskCount, Xt as listNodePairing, Y as setSteppedBuild, Yn as resolveBootstrapContextForRun, Yt as approveNodePairing, Z as clearCustomToolsCache, Zt as rejectNodePairing, _ as deleteRow, _n as applyModelOverrideToSessionEntry, _t as loadProviderUsageSummary, an as pruneExpiredPending, ar as getAgentRunContext, at as getTemplate, b as markInterrupted, bn as enqueueSystemEvent, cn as writeJsonAtomic, ct as getTemplateUsageStats, d as abortEmbeddedPiRun, dn as registerSkillsChangeListener, en as updatePairedNodeMetadata, er as setCommandLaneConcurrency, f as getActiveEmbeddedRunCount, g as closeInFlightTurnsStore, gt as normalizeGroupActivation, h as registerLifecycleHooks, hn as buildAuthHealthSummary, i as listDescendantRunsForRequester, in as verifyPairingToken, ir as emitAgentEvent, it as getLastReloadAt, j as loadOpenClawPlugins, jn as normalizeMimeList, jt as buildSystemPromptReport, kn as extractFileContentFromSource, kt as _clearProseCache, l as runSubagentAnnounceFlow, ln as createAsyncLock, lt as initTemplateLoader, m as waitForEmbeddedPiRunEnd, n as countActiveDescendantRuns, nn as generatePairingToken, nr as resolveAgentTimeoutMs, on as resolvePairingPaths, or as onAgentEvent, ot as getTemplateCache, p as queueEmbeddedPiMessage, q as isSteppedBuildEnabled, qt as removeRemoteNodeInfo, r as initSubagentRegistry, rn as hashToken$1, rr as clearAgentRunContext, rt as spawnSubagentDirect, s as markSubagentRunTerminated, sn as readJsonFile, sr as registerAgentRunContext, st as getTemplateLoadErrors, tn as verifyNodeToken, tr as waitForActiveTasks, u as runEmbeddedPiAgent, un as getSkillsSnapshotVersion, ut as stopTemplateWatcher, v as listForCurrentInstance, vn as applyVerboseOverride, w as createOpenClawCodingTools, x as markRecoveryAttempt, xn as isSystemEventContextChanged, y as listFromOtherInstances, yn as parseVerboseOverride, zn as isAbortTrigger } from "./subagent-registry-
|
|
17
|
+
import { $n as resetAllLanes, $t as requestNodePairing, A as loadMinionPlugins, An as extractImageContentFromSource, At as buildSystemPromptParams, B as resolveCronStyleNow, Bn as stopSubagentsForRequester, Bt as normalizeSendPolicy, C as readConsolidationState, Ct as getBuiltinSectionRegistry, D as buildDefaultToolPolicyPipelineSteps, Dn as DEFAULT_INPUT_IMAGE_MIMES, Dt as PromptSectionRegistry, E as applyToolPolicyPipeline, Et as buildToolSummaryMap, Fn as formatZonedTimestamp, G as debugSkipAll, Gt as refreshRemoteBinsForConnectedNodes, H as setCliSessionId, Ht as getRemoteSkillEligibility, J as setDebugStepBroadcaster, Jt as setSkillsRemoteRegistry, K as debugStepContinue, Kn as resolveAgentIdentity, Kt as refreshRemoteNodeBins, Lt as requestHeartbeatNow, M as dispatchInboundMessage, Mn as resolveInputFileLimits, N as createReplyDispatcher, O as getPluginToolMeta, Ot as PROSE_GLOBAL_ROOT, P as getTotalPendingReplies, Pn as transcribeOpenAiCompatibleAudio, Q as runToolScript, Qn as getTotalQueueSize, Qt as renamePairedNode, R as BARE_SESSION_RESET_PROMPT, Rn as resolveUserTimezone, S as openInFlightTurnsStore, St as assembleAgentSystemPromptWithSections, Tn as registerUnhandledRejectionHandler, Tt as buildSectionRenderContext, U as runCliAgent, Ut as primeRemoteSkillsCache, V as getCliSessionId, Vt as resolveSendPolicy, Wn as clearSessionQueues, Wt as recordRemoteNodeInfo, X as createMinionTools, Xn as getActiveTaskCount, Xt as listNodePairing, Y as setSteppedBuild, Yn as resolveBootstrapContextForRun, Yt as approveNodePairing, Z as clearCustomToolsCache, Zt as rejectNodePairing, _ as deleteRow, _n as applyModelOverrideToSessionEntry, _t as loadProviderUsageSummary, an as pruneExpiredPending, ar as getAgentRunContext, at as getTemplate, b as markInterrupted, bn as enqueueSystemEvent, cn as writeJsonAtomic, ct as getTemplateUsageStats, d as abortEmbeddedPiRun, dn as registerSkillsChangeListener, en as updatePairedNodeMetadata, er as setCommandLaneConcurrency, f as getActiveEmbeddedRunCount, g as closeInFlightTurnsStore, gt as normalizeGroupActivation, h as registerLifecycleHooks, hn as buildAuthHealthSummary, i as listDescendantRunsForRequester, in as verifyPairingToken, ir as emitAgentEvent, it as getLastReloadAt, j as loadOpenClawPlugins, jn as normalizeMimeList, jt as buildSystemPromptReport, kn as extractFileContentFromSource, kt as _clearProseCache, l as runSubagentAnnounceFlow, ln as createAsyncLock, lt as initTemplateLoader, m as waitForEmbeddedPiRunEnd, n as countActiveDescendantRuns, nn as generatePairingToken, nr as resolveAgentTimeoutMs, on as resolvePairingPaths, or as onAgentEvent, ot as getTemplateCache, p as queueEmbeddedPiMessage, q as isSteppedBuildEnabled, qt as removeRemoteNodeInfo, r as initSubagentRegistry, rn as hashToken$1, rr as clearAgentRunContext, rt as spawnSubagentDirect, s as markSubagentRunTerminated, sn as readJsonFile, sr as registerAgentRunContext, st as getTemplateLoadErrors, tn as verifyNodeToken, tr as waitForActiveTasks, u as runEmbeddedPiAgent, un as getSkillsSnapshotVersion, ut as stopTemplateWatcher, v as listForCurrentInstance, vn as applyVerboseOverride, w as createOpenClawCodingTools, x as markRecoveryAttempt, xn as isSystemEventContextChanged, y as listFromOtherInstances, yn as parseVerboseOverride, zn as isAbortTrigger } from "./subagent-registry-BHdRG10Z.js";
|
|
18
18
|
import { n as resolveModel } from "./model-D1Av16ad.js";
|
|
19
19
|
import { n as buildWorkspaceSkillSnapshot, r as loadWorkspaceSkillEntries } from "./workspace-mV3QF7Vc.js";
|
|
20
20
|
import "./skills-DT6jTHB3.js";
|
|
21
21
|
import { l as isTestDefaultMemorySlotDisabled, n as loadPluginManifestRegistry } from "./manifest-registry-ByjgBm6U.js";
|
|
22
22
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-Dmu5cEr7.js";
|
|
23
|
-
import { D as parseDurationMs, T as sensitive, c as applyLegacyMigrations, i as MinionSchema, n as validateConfigObjectWithPlugins, v as resolveAgentMaxConcurrent, y as resolveSubagentMaxConcurrent } from "./validation-
|
|
24
|
-
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-
|
|
25
|
-
import { n as migrateLegacyConfig } from "./config-
|
|
26
|
-
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-
|
|
23
|
+
import { D as parseDurationMs, T as sensitive, c as applyLegacyMigrations, i as MinionSchema, n as validateConfigObjectWithPlugins, v as resolveAgentMaxConcurrent, y as resolveSubagentMaxConcurrent } from "./validation-DAS7vvMM.js";
|
|
24
|
+
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-6cqme3no.js";
|
|
25
|
+
import { n as migrateLegacyConfig } from "./config-BerwgOPM.js";
|
|
26
|
+
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-W3BYtITQ.js";
|
|
27
27
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-C0DLwT7t.js";
|
|
28
|
-
import { n as callGateway, o as loadGatewayTlsRuntime$1 } from "./call-
|
|
28
|
+
import { n as callGateway, o as loadGatewayTlsRuntime$1 } from "./call-BWSchIcf.js";
|
|
29
29
|
import { f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-BKpbLfdK.js";
|
|
30
30
|
import { c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as resolveHostName, i as isTrustedProxyAddress, l as resolveGatewayBindHost, n as isLoopbackHost, o as normalizeHostHeader, p as rawDataToString, r as isPrivateOrLoopbackAddress, t as isLoopbackAddress, u as resolveGatewayClientIp } from "./net-C0W-QK7p.js";
|
|
31
31
|
import { i as normalizeInputProvenance } from "./input-provenance-ChJN5mZj.js";
|
|
32
|
-
import { B as snapshotSessionOrigin, D as evaluateSessionFreshness, F as resolveAgentMainSessionKey, I as resolveExplicitAgentSessionKey, L as resolveMainSessionKey, N as resolveFreshSessionTotalTokens, P as canonicalizeMainSessionAlias, Q as deliveryContextFromSession, R as resolveMainSessionKeyFromConfig, S as stripMessageIdHints, _ as readSessionMessages, a as loadSessionStore, b as resolveSessionTranscriptCandidates, et as mergeDeliveryContext, g as capArrayByJsonBytes, h as archiveSessionTranscripts, k as resolveSessionResetPolicy, m as archiveFileOnDisk, n as parseSessionThreadInfo, nt as normalizeSessionDeliveryFields, t as extractDeliveryInfo, u as updateSessionStore, v as readSessionPreviewItemsFromTranscript, w as cleanStaleLockFiles, x as stripEnvelope } from "./sessions-
|
|
32
|
+
import { B as snapshotSessionOrigin, D as evaluateSessionFreshness, F as resolveAgentMainSessionKey, I as resolveExplicitAgentSessionKey, L as resolveMainSessionKey, N as resolveFreshSessionTotalTokens, P as canonicalizeMainSessionAlias, Q as deliveryContextFromSession, R as resolveMainSessionKeyFromConfig, S as stripMessageIdHints, _ as readSessionMessages, a as loadSessionStore, b as resolveSessionTranscriptCandidates, et as mergeDeliveryContext, g as capArrayByJsonBytes, h as archiveSessionTranscripts, k as resolveSessionResetPolicy, m as archiveFileOnDisk, n as parseSessionThreadInfo, nt as normalizeSessionDeliveryFields, t as extractDeliveryInfo, u as updateSessionStore, v as readSessionPreviewItemsFromTranscript, w as cleanStaleLockFiles, x as stripEnvelope } from "./sessions-bztP6lN1.js";
|
|
33
33
|
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-CCCwddgc.js";
|
|
34
|
-
import { A as resolveHubMetricsConfig, C as getMirrorSnapshot, D as seedMirror, M as setMirrorAccountSource, O as setChannelRestartHandler, S as getMirrorEntry, b as applyChannelRestart, c as resolveWhatsAppAccount, d as buildChannelAccountBindings, k as startMirrorRefreshTick, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount, w as listMirrorAccountIds, x as channelConfigSource } from "./plugins-
|
|
34
|
+
import { A as resolveHubMetricsConfig, C as getMirrorSnapshot, D as seedMirror, M as setMirrorAccountSource, O as setChannelRestartHandler, S as getMirrorEntry, b as applyChannelRestart, c as resolveWhatsAppAccount, d as buildChannelAccountBindings, k as startMirrorRefreshTick, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, u as resolveTelegramAccount, w as listMirrorAccountIds, x as channelConfigSource } from "./plugins-BSX3IzSW.js";
|
|
35
35
|
import "./logging-CyBpyZLp.js";
|
|
36
36
|
import { r as resolveUserDir } from "./user-directory-D27je39W.js";
|
|
37
37
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-Dm5-em7b.js";
|
|
38
38
|
import { a as stripHeartbeatToken } from "./lanes-BEZu7L5R.js";
|
|
39
|
-
import { a as resolveOutboundTarget, o as resolveSessionDeliveryTarget } from "./resolve-route-
|
|
39
|
+
import { a as resolveOutboundTarget, o as resolveSessionDeliveryTarget } from "./resolve-route-DQ7BIAU_.js";
|
|
40
40
|
import { n as getMachineDisplayName } from "./with-timeout-BVhDEOTB.js";
|
|
41
41
|
import { n as isDiagnosticsEnabled } from "./diagnostic-events-BIoHynd0.js";
|
|
42
42
|
import { c as startDiagnosticHeartbeat, l as stopDiagnosticHeartbeat } from "./diagnostic-DYs0_0mX.js";
|
|
43
|
-
import { D as getGlobalHookRunner, a as markSynced, i as markFailed, j as isPluginEnabledForOrg, k as runGlobalGatewayStopSafely, l as deterministicClientId, n as closeMessageLedger, o as openMessageLedger, s as patchRouting, t as claimBatch } from "./message-ledger-
|
|
44
|
-
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-
|
|
43
|
+
import { D as getGlobalHookRunner, a as markSynced, i as markFailed, j as isPluginEnabledForOrg, k as runGlobalGatewayStopSafely, l as deterministicClientId, n as closeMessageLedger, o as openMessageLedger, s as patchRouting, t as claimBatch } from "./message-ledger-DmX8k7Eb.js";
|
|
44
|
+
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-EAcO1Hwe.js";
|
|
45
45
|
import { c as detectMime } from "./image-ops-C3SpAWwm.js";
|
|
46
|
-
import { i as runDrone, t as createGatewayDroneHost } from "./host-
|
|
47
|
-
import { B as resolveBootstrapMaxChars, V as resolveBootstrapTotalMaxChars, a as listThinkingLevels, c as normalizeThinkLevel, f as supportsXHighThinking, l as normalizeUsageDisplay, n as formatThinkingLevels, o as normalizeElevatedLevel, r as formatXHighModelHint, s as normalizeReasoningLevel, u as normalizeVerboseLevel } from "./pi-embedded-helpers-
|
|
48
|
-
import { c as resolveSandboxRuntimeStatus } from "./sandbox-
|
|
49
|
-
import { a as collectExplicitAllowlist, c as mergeAlsoAllowPolicy, n as TOOL_GROUPS, s as expandToolGroups, t as GROUP_DESCRIPTIONS, u as resolveToolProfilePolicy } from "./tool-policy-
|
|
46
|
+
import { i as runDrone, t as createGatewayDroneHost } from "./host-Ck1Iu5db.js";
|
|
47
|
+
import { B as resolveBootstrapMaxChars, V as resolveBootstrapTotalMaxChars, a as listThinkingLevels, c as normalizeThinkLevel, f as supportsXHighThinking, l as normalizeUsageDisplay, n as formatThinkingLevels, o as normalizeElevatedLevel, r as formatXHighModelHint, s as normalizeReasoningLevel, u as normalizeVerboseLevel } from "./pi-embedded-helpers-CJQRe8VG.js";
|
|
48
|
+
import { c as resolveSandboxRuntimeStatus } from "./sandbox-DQ8PqB1U.js";
|
|
49
|
+
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";
|
|
50
50
|
import { a as enableTailscaleServeFunnel, i as enableTailscaleServe, n as disableTailscaleServe, r as enableTailscaleFunnel, s as getTailnetHostname, t as disableTailscaleFunnel } from "./tailscale-DdVOGsI9.js";
|
|
51
51
|
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-DPXV6BW7.js";
|
|
52
|
-
import { h as mergeGatewayTailscaleConfig, m as ensureGatewayStartupAuth } from "./server-context-
|
|
52
|
+
import { h as mergeGatewayTailscaleConfig, m as ensureGatewayStartupAuth } from "./server-context-DFdTmsBq.js";
|
|
53
53
|
import { a as isErrno, n as formatErrorMessage } from "./errors-iV4-NKRR.js";
|
|
54
54
|
import { i as formatPortDiagnostics, n as inspectPortUsage, t as ensurePortAvailable } from "./ports-DHJ3IPPA.js";
|
|
55
55
|
import { t as movePathToTrash } from "./trash--L0YM4v3.js";
|
|
56
|
-
import { n as runWithModelFallback } from "./model-fallback-
|
|
56
|
+
import { n as runWithModelFallback } from "./model-fallback-CrSemKRh.js";
|
|
57
57
|
import { a as traceGatewayEvent, n as pruneOldTraceFiles } from "./chat-trace-DMQCLCi7.js";
|
|
58
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
58
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-CchSD5_M.js";
|
|
59
59
|
import { t as ToolInputError } from "./common-DaYU0QCr.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 fetchWithSsrFGuard } from "./fetch-guard-Cz8ylHLg.js";
|
|
62
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
63
|
-
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, d as orgScopeVisible, f as lookupContextTokens, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as normalizeOrgIds } from "./session-utils-
|
|
64
|
-
import { a as resolveSubagentToolPolicy, d as listAgentWorkspaceDirs, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-
|
|
62
|
+
import { n as loadModelCatalog } from "./model-catalog-Dun9rUwm.js";
|
|
63
|
+
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, d as orgScopeVisible, f as lookupContextTokens, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as normalizeOrgIds } from "./session-utils-Ffl6ASbR.js";
|
|
64
|
+
import { a as resolveSubagentToolPolicy, d as listAgentWorkspaceDirs, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-DClWWLv0.js";
|
|
65
65
|
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-BeHGjZzx.js";
|
|
66
66
|
import { c as hasNonzeroUsage, i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, s as deriveSessionTotalTokens, t as discoverAllSessions } from "./session-cost-usage-yBL75k4k.js";
|
|
67
67
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format--dK3YoXf.js";
|
|
@@ -69,32 +69,32 @@ import { a as markGatewaySigusr1RestartHandled, c as setPreRestartDeferralCheck,
|
|
|
69
69
|
import { r as recallMemories, t as configureMemorySink } from "./memory-sink-D19pkCCX.js";
|
|
70
70
|
import { t as KnowledgeGraphSession } from "./knowledge-graph-MDjNQD5L.js";
|
|
71
71
|
import { n as setHubRest, t as getHubRest } from "./hub-rest-registry-DQyDHHy2.js";
|
|
72
|
-
import { t as TOOL_REGISTRY } from "./_registry.generated-
|
|
72
|
+
import { t as TOOL_REGISTRY } from "./_registry.generated-B5zHyziR.js";
|
|
73
73
|
import { t as formatDocsLink } from "./links-snWstk4Z.js";
|
|
74
74
|
import { n as runCommandWithRuntime } from "./cli-utils-Cg2c3XDf.js";
|
|
75
75
|
import { t as formatHelpExamples } from "./help-format-D20I7z1G.js";
|
|
76
76
|
import { n as withProgress } from "./progress-Dai1njDG.js";
|
|
77
77
|
import { t as getChannelActivity } from "./channel-activity-mLVM0GeJ.js";
|
|
78
|
-
import { r as invalidateToolIndex } from "./tool-index-
|
|
78
|
+
import { r as invalidateToolIndex } from "./tool-index-BwKMLu1r.js";
|
|
79
79
|
import { i as gwsIsolatedEnv, r as gwsCredEnv } from "./gws-credentials-B0R6fpjJ.js";
|
|
80
80
|
import { n as setGoogleAdcClient, t as getGoogleAdcClient } from "./hub-credential-client-registry-Do4Y6KWZ.js";
|
|
81
81
|
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-DKnEHZR9.js";
|
|
82
82
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-BlvVswOf.js";
|
|
83
83
|
import { a as summarizeRestartSentinel, n as formatDoctorNonInteractiveHint, r as formatRestartSentinelMessage, s as writeRestartSentinel, t as consumeRestartSentinel } from "./restart-sentinel-f8KHn8x4.js";
|
|
84
|
-
import { n as listGatewayMethods, t as GATEWAY_EVENTS } from "./server-methods-list-
|
|
85
|
-
import { a as normalizePollInput, i as ensureOutboundSessionEntry, n as runMessageAction, r as resolveOutboundSessionRoute, s as resetDirectoryCache } from "./message-action-runner-
|
|
86
|
-
import { o as normalizeReplyPayloadsForDelivery, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads } from "./deliver-
|
|
87
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
88
|
-
import { c as resolveAnnounceTargetFromKey, t as readLatestAssistantReply } from "./agent-step-
|
|
84
|
+
import { n as listGatewayMethods, t as GATEWAY_EVENTS } from "./server-methods-list-CUUd_Znm.js";
|
|
85
|
+
import { a as normalizePollInput, i as ensureOutboundSessionEntry, n as runMessageAction, r as resolveOutboundSessionRoute, s as resetDirectoryCache } from "./message-action-runner-aRJaOp3h.js";
|
|
86
|
+
import { o as normalizeReplyPayloadsForDelivery, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads } from "./deliver-O2dLDnLg.js";
|
|
87
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-1nQ35zxv.js";
|
|
88
|
+
import { c as resolveAnnounceTargetFromKey, t as readLatestAssistantReply } from "./agent-step-CgJNQPZ8.js";
|
|
89
89
|
import { a as runAggregation, n as executeOrchestration, r as readStatusJson, t as executePipeline } from "./orchestration-pipeline-Bi3YT3Jf.js";
|
|
90
90
|
import { r as readManifest, t as completeManifest } from "./orchestration-manifest-DXWf2_x7.js";
|
|
91
|
-
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-
|
|
92
|
-
import { t as createBrowserRouteDispatcher } from "./dispatcher-
|
|
91
|
+
import { n as createBrowserControlContext, r as startBrowserControlServiceFromConfig } from "./control-service-DIbEfWbr.js";
|
|
92
|
+
import { t as createBrowserRouteDispatcher } from "./dispatcher-Dt_9aSBz.js";
|
|
93
93
|
import { n as persistBrowserProxyFiles, t as applyBrowserProxyPaths } from "./proxy-files-CndZU0gq.js";
|
|
94
94
|
import { r as cachedJson } from "./ttl-cache-UdlZ-zJd.js";
|
|
95
|
-
import { a as styleHealthChannelLine, c as runHeartbeatOnce, d as resolveHeartbeatVisibility, l as setHeartbeatsEnabled, n as formatHealthChannelLines, o as areHeartbeatsEnabled, r as getHealthSnapshot, u as startHeartbeatRunner } from "./health-
|
|
96
|
-
import { n as getLastHeartbeatEvent, r as onHeartbeatEvent } from "./heartbeat-events-
|
|
97
|
-
import { n as resolveChannelSenderIdentity, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
95
|
+
import { a as styleHealthChannelLine, c as runHeartbeatOnce, d as resolveHeartbeatVisibility, l as setHeartbeatsEnabled, n as formatHealthChannelLines, o as areHeartbeatsEnabled, r as getHealthSnapshot, u as startHeartbeatRunner } from "./health-CYE5q8Un.js";
|
|
96
|
+
import { n as getLastHeartbeatEvent, r as onHeartbeatEvent } from "./heartbeat-events-C2_9-jxQ.js";
|
|
97
|
+
import { n as resolveChannelSenderIdentity, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-C2RVZSgb.js";
|
|
98
98
|
import { n as handleHubAssignmentChanged, r as initUserSubsystem, t as getActiveUserSubsystem } from "./server-startup-users-B1IlQBSa.js";
|
|
99
99
|
import { t as mapRoleToScopes } from "./types-Utz3c3Qq.js";
|
|
100
100
|
import { t as ensureMinionCliOnPath } from "./path-env-DpsCNe2h.js";
|
|
@@ -103,10 +103,10 @@ import { n as inheritOptionFromParent } from "./command-options-Dhjl7AMa.js";
|
|
|
103
103
|
import { t as buildChannelUiCatalog } from "./catalog-DOKauHFd.js";
|
|
104
104
|
import { t as WizardCancelledError } from "./prompts-E0FayNjJ.js";
|
|
105
105
|
import { t as resolveChannelDefaultAccountId } from "./helpers-HNAIOJ_3.js";
|
|
106
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
106
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-2zVKrpSR.js";
|
|
107
107
|
import { t as buildChannelAccountSnapshot } from "./status-Dg720jp3.js";
|
|
108
|
-
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-
|
|
109
|
-
import "./onboard-helpers-
|
|
108
|
+
import { C as resolveAssistantAvatarUrl, S as normalizeControlUiBasePath, b as CONTROL_UI_AVATAR_PREFIX, c as handleReset, x as buildControlUiAvatarUrl } from "./onboard-helpers-CekhN2Dt.js";
|
|
109
|
+
import "./onboard-helpers-BE_18443.js";
|
|
110
110
|
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-CtaYBeW0.js";
|
|
111
111
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-gq3z8oCQ.js";
|
|
112
112
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-DJ67yyP8.js";
|
|
@@ -114,17 +114,17 @@ import { t as discoverGatewayBeacons } from "./bonjour-discovery-DzKslgdA.js";
|
|
|
114
114
|
import { t as installSkill } from "./skills-install-C0wxLKNQ.js";
|
|
115
115
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-DKaLYbe_.js";
|
|
116
116
|
import { a as isNewerVersionString, m as normalizeUpdateChannel, o as resolveNpmChannelTag, r as fetchNpmTagVersion, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-BsgxNmzL.js";
|
|
117
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
118
|
-
import { a as probeGateway, i as resolveNodeCommandAllowlist, r as isNodeCommandAllowed } from "./audit-
|
|
119
|
-
import { m as parsePort$1 } from "./lifecycle-core-
|
|
120
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
117
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-DbOwDhDe.js";
|
|
118
|
+
import { a as probeGateway, i as resolveNodeCommandAllowlist, r as isNodeCommandAllowed } from "./audit-D9GAKieT.js";
|
|
119
|
+
import { m as parsePort$1 } from "./lifecycle-core-DwiJf6GO.js";
|
|
120
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-yrlA9L0h.js";
|
|
121
121
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BjuB2JdU.js";
|
|
122
|
-
import { n as createDefaultDeps, r as createOutboundSendDeps$1, t as createOutboundSendDeps } from "./outbound-send-deps-
|
|
122
|
+
import { n as createDefaultDeps, r as createOutboundSendDeps$1, t as createOutboundSendDeps } from "./outbound-send-deps-_gwXpS3X.js";
|
|
123
123
|
import { i as initCrypto, n as ProbeRegistry, r as SecretsManager, t as SecretStore } from "./store-DR4Ip_0q.js";
|
|
124
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
125
|
-
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-
|
|
126
|
-
import { h as resolveGmailPullRuntimeConfigs } from "./gmail-
|
|
127
|
-
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-
|
|
124
|
+
import { t as runOnboardingWizard } from "./onboarding-IiILUaqA.js";
|
|
125
|
+
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-a42ldGL8.js";
|
|
126
|
+
import { h as resolveGmailPullRuntimeConfigs } from "./gmail-89acEtXH.js";
|
|
127
|
+
import { i as resolveAgentOutboundTarget, r as resolveAgentDeliveryPlan, t as agentCommand } from "./agent-BvFdXWhL.js";
|
|
128
128
|
import { n as validateSystemRunCommandConsistency, t as formatExecCommand } from "./system-run-command-BRxsVIll.js";
|
|
129
129
|
import { n as runGatewayUpdate, t as resolveAgentSessionDirs } from "./session-dirs-B4Jwvszu.js";
|
|
130
130
|
import { i as shellEscape, n as resolveSystemdUnit, r as runRestartScript } from "./restart-helper-BgOyezP2.js";
|
|
@@ -1955,7 +1955,7 @@ async function recordAvailableUpdate(input, cfg) {
|
|
|
1955
1955
|
notified: false,
|
|
1956
1956
|
reason: "not-newer"
|
|
1957
1957
|
};
|
|
1958
|
-
if (!isNewerVersionString("2026.7.
|
|
1958
|
+
if (!isNewerVersionString("2026.7.16-dev", input.version)) return {
|
|
1959
1959
|
notified: false,
|
|
1960
1960
|
reason: "not-newer"
|
|
1961
1961
|
};
|
|
@@ -1993,7 +1993,7 @@ async function getUpdateStatus() {
|
|
|
1993
1993
|
async function clearPendingIfCurrent() {
|
|
1994
1994
|
const pending = await readJson(pendingPath());
|
|
1995
1995
|
if (!pending) return;
|
|
1996
|
-
if (!isNewerVersionString("2026.7.
|
|
1996
|
+
if (!isNewerVersionString("2026.7.16-dev", pending.version)) await fs$1.rm(pendingPath(), { force: true });
|
|
1997
1997
|
}
|
|
1998
1998
|
/** Consume update-result.json if present. Returns false when no file existed. */
|
|
1999
1999
|
async function processUpdateResult(cfg) {
|
|
@@ -2084,7 +2084,7 @@ async function runGatewayUpdateCheck(params) {
|
|
|
2084
2084
|
await writeState(statePath, nextState);
|
|
2085
2085
|
return;
|
|
2086
2086
|
}
|
|
2087
|
-
if (isNewerVersionString("2026.7.
|
|
2087
|
+
if (isNewerVersionString("2026.7.16-dev", resolved.version)) {
|
|
2088
2088
|
if (state.lastNotifiedVersion !== resolved.version || state.lastNotifiedTag !== tag) {
|
|
2089
2089
|
params.log.info(`update available (${tag}): v${resolved.version} (current v${VERSION}). Run: ${formatCliCommand("minion update")}`);
|
|
2090
2090
|
nextState.lastNotifiedVersion = resolved.version;
|
|
@@ -2110,17 +2110,19 @@ function createGoogleAdcClient(opts) {
|
|
|
2110
2110
|
const base = opts.hubUrl.replace(/\/$/, "");
|
|
2111
2111
|
const cache = /* @__PURE__ */ new Map();
|
|
2112
2112
|
const feedCache = /* @__PURE__ */ new Map();
|
|
2113
|
-
async function fetchFeedForUser(userId) {
|
|
2114
|
-
const
|
|
2113
|
+
async function fetchFeedForUser(userId, orgId) {
|
|
2114
|
+
const cacheKey = `${userId}::${orgId ?? ""}`;
|
|
2115
|
+
const cached = feedCache.get(cacheKey);
|
|
2115
2116
|
if (cached && cached.expiresAt > now()) return cached.value;
|
|
2116
|
-
|
|
2117
|
+
let url = `${base}/api/gateway/google-identities?userId=${encodeURIComponent(userId)}`;
|
|
2118
|
+
if (orgId) url += `&orgId=${encodeURIComponent(orgId)}`;
|
|
2117
2119
|
const res = await doFetch(url, {
|
|
2118
2120
|
method: "GET",
|
|
2119
2121
|
headers: { Authorization: `Bearer ${opts.serverToken}` }
|
|
2120
2122
|
});
|
|
2121
2123
|
if (!res.ok) throw new Error(`hub google-identities fetch failed: ${res.status}`);
|
|
2122
2124
|
const value = (await res.json()).identities ?? [];
|
|
2123
|
-
feedCache.set(
|
|
2125
|
+
feedCache.set(cacheKey, {
|
|
2124
2126
|
value,
|
|
2125
2127
|
expiresAt: now() + ttlMs
|
|
2126
2128
|
});
|
|
@@ -2146,7 +2148,8 @@ function createGoogleAdcClient(opts) {
|
|
|
2146
2148
|
}
|
|
2147
2149
|
function invalidate(userId) {
|
|
2148
2150
|
cache.delete(userId);
|
|
2149
|
-
|
|
2151
|
+
const prefix = `${userId}::`;
|
|
2152
|
+
for (const key of feedCache.keys()) if (key.startsWith(prefix)) feedCache.delete(key);
|
|
2150
2153
|
}
|
|
2151
2154
|
return {
|
|
2152
2155
|
fetchForUser,
|
|
@@ -5671,7 +5674,7 @@ function createFreeTierApiHandler(db) {
|
|
|
5671
5674
|
*
|
|
5672
5675
|
* Records per-method handler latency at the request dispatch chokepoint and
|
|
5673
5676
|
* samples Node's event-loop delay, then emits a single aggregated
|
|
5674
|
-
* `gateway.perf_snapshot` event per window (default
|
|
5677
|
+
* `gateway.perf_snapshot` event per window (default 5min) into the unified
|
|
5675
5678
|
* event store — the same surface the hub reliability dashboard reads.
|
|
5676
5679
|
*
|
|
5677
5680
|
* Why this exists: the legacy `gateway.ws_slow_response` event fired per-call
|
|
@@ -5694,8 +5697,12 @@ function createFreeTierApiHandler(db) {
|
|
|
5694
5697
|
const log$24 = createSubsystemLogger("gateway/metrics");
|
|
5695
5698
|
/** Cap on retained latency samples per method (reservoir) to bound memory. */
|
|
5696
5699
|
const MAX_SAMPLES_PER_METHOD = 512;
|
|
5697
|
-
/**
|
|
5698
|
-
|
|
5700
|
+
/**
|
|
5701
|
+
* Default snapshot window. 5min (was 60s) — the payload is a percentile/throughput
|
|
5702
|
+
* aggregate carrying its own `windowMs`, so a wider window keeps stats valid while
|
|
5703
|
+
* cutting emitted rows 5×. Consumers must read `windowMs`, never assume 60s.
|
|
5704
|
+
*/
|
|
5705
|
+
const DEFAULT_INTERVAL_MS = 3e5;
|
|
5699
5706
|
const methodStats = /* @__PURE__ */ new Map();
|
|
5700
5707
|
let reporterTimer = null;
|
|
5701
5708
|
let eventLoopHist = null;
|
|
@@ -21054,7 +21061,7 @@ const nodeHandlers = {
|
|
|
21054
21061
|
const p = params;
|
|
21055
21062
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
21056
21063
|
await respondUnavailableOnThrow(respond, async () => {
|
|
21057
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
21064
|
+
const { handleNodeEvent } = await import("./server-node-events-Dml6MIAW.js");
|
|
21058
21065
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
21059
21066
|
const nodeConnId = client?.connId;
|
|
21060
21067
|
await handleNodeEvent({
|
|
@@ -23697,6 +23704,10 @@ const MODEL_PRICING = {
|
|
|
23697
23704
|
inputPerMillion: 15,
|
|
23698
23705
|
outputPerMillion: 75
|
|
23699
23706
|
},
|
|
23707
|
+
"claude-haiku-4": {
|
|
23708
|
+
inputPerMillion: 1,
|
|
23709
|
+
outputPerMillion: 5
|
|
23710
|
+
},
|
|
23700
23711
|
"claude-haiku-3.5": {
|
|
23701
23712
|
inputPerMillion: .8,
|
|
23702
23713
|
outputPerMillion: 4
|
|
@@ -23801,6 +23812,10 @@ const MODEL_PRICING = {
|
|
|
23801
23812
|
inputPerMillion: .14,
|
|
23802
23813
|
outputPerMillion: .28
|
|
23803
23814
|
},
|
|
23815
|
+
"deepseek-v3": {
|
|
23816
|
+
inputPerMillion: .14,
|
|
23817
|
+
outputPerMillion: .28
|
|
23818
|
+
},
|
|
23804
23819
|
"deepseek-coder": {
|
|
23805
23820
|
inputPerMillion: .14,
|
|
23806
23821
|
outputPerMillion: .28
|
|
@@ -23819,14 +23834,32 @@ const MODEL_PRICING = {
|
|
|
23819
23834
|
}
|
|
23820
23835
|
};
|
|
23821
23836
|
/**
|
|
23822
|
-
* Look up pricing for a model.
|
|
23823
|
-
*
|
|
23837
|
+
* Look up pricing for a model id. Strips any `provider/` prefix (OpenRouter et al.
|
|
23838
|
+
* namespace models as `deepseek/deepseek-chat-v3-0324`), then tries an exact match
|
|
23839
|
+
* followed by a LONGEST-prefix match (so `claude-opus-4-8` → `claude-opus-4`, and
|
|
23840
|
+
* the most specific key wins over a shorter one). Returns undefined for unknown or
|
|
23841
|
+
* local models (cost = 0).
|
|
23842
|
+
*
|
|
23843
|
+
* NOTE: this mirrors `minion_hub/src/lib/utils/model-pricing.ts:getModelPricing`.
|
|
23844
|
+
* The two copies must stay in sync — the hub falls back to its copy when the
|
|
23845
|
+
* gateway usage aggregate is unavailable. The previous server version did neither
|
|
23846
|
+
* the prefix-strip nor longest-match, so every OpenRouter-namespaced id (which is
|
|
23847
|
+
* what agents actually use) resolved to undefined → cost $0 despite real tokens.
|
|
23824
23848
|
*/
|
|
23825
23849
|
function getModelPricing(modelId) {
|
|
23826
|
-
|
|
23850
|
+
if (!modelId) return;
|
|
23851
|
+
let lower = modelId.toLowerCase();
|
|
23852
|
+
const slash = lower.lastIndexOf("/");
|
|
23853
|
+
if (slash >= 0) lower = lower.slice(slash + 1);
|
|
23827
23854
|
const exact = MODEL_PRICING[lower];
|
|
23828
23855
|
if (exact) return exact;
|
|
23829
|
-
|
|
23856
|
+
let best;
|
|
23857
|
+
let bestLen = 0;
|
|
23858
|
+
for (const [key, value] of Object.entries(MODEL_PRICING)) if (lower.startsWith(key) && key.length > bestLen) {
|
|
23859
|
+
best = value;
|
|
23860
|
+
bestLen = key.length;
|
|
23861
|
+
}
|
|
23862
|
+
return best;
|
|
23830
23863
|
}
|
|
23831
23864
|
//#endregion
|
|
23832
23865
|
//#region src/events/usage-aggregate.ts
|
|
@@ -25984,7 +26017,7 @@ const updateHandlers = {
|
|
|
25984
26017
|
const stagedPrev = result.mode === "staged" ? result.previousTarget : null;
|
|
25985
26018
|
const stagedLink = process.env.MINION_CURRENT_LINK?.trim();
|
|
25986
26019
|
const wd = await prepareUpdateWatchdogScript({
|
|
25987
|
-
fromVersion: result.before?.version ?? "2026.7.
|
|
26020
|
+
fromVersion: result.before?.version ?? "2026.7.16-dev",
|
|
25988
26021
|
toVersion: result.after?.version ?? "",
|
|
25989
26022
|
stateDir: resolveStateDir(),
|
|
25990
26023
|
restartDelayMs,
|
|
@@ -29201,7 +29234,7 @@ function normalizeAgentPayload(payload) {
|
|
|
29201
29234
|
async function startBrowserControlServerIfEnabled() {
|
|
29202
29235
|
if (isTruthyEnvValue(process.env.MINION_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
29203
29236
|
const override = process.env.MINION_BROWSER_CONTROL_MODULE?.trim();
|
|
29204
|
-
const mod = override ? await import(override) : await import("./control-service-
|
|
29237
|
+
const mod = override ? await import(override) : await import("./control-service-DIbEfWbr.js").then((n) => n.t);
|
|
29205
29238
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
29206
29239
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
29207
29240
|
if (!start) return null;
|
|
@@ -34006,6 +34039,13 @@ function createGatewayHttpServer(opts) {
|
|
|
34006
34039
|
const configSnapshot = loadConfig();
|
|
34007
34040
|
const trustedProxies = configSnapshot.gateway?.trustedProxies ?? [];
|
|
34008
34041
|
const requestPath = new URL(req.url ?? "/", "http://localhost").pathname;
|
|
34042
|
+
if (requestPath === "/health" && (req.method === "GET" || req.method === "HEAD")) {
|
|
34043
|
+
res.statusCode = 200;
|
|
34044
|
+
res.setHeader("Content-Type", "application/json; charset=utf-8");
|
|
34045
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
34046
|
+
res.end(req.method === "HEAD" ? void 0 : JSON.stringify({ ok: true }));
|
|
34047
|
+
return;
|
|
34048
|
+
}
|
|
34009
34049
|
if (requestPath.startsWith("/shell-access/") && handleShellAccessRequest) {
|
|
34010
34050
|
if (await handleShellAccessRequest(req, res)) return;
|
|
34011
34051
|
}
|
|
@@ -35243,7 +35283,7 @@ async function deliverFlowReply(sessionKey, reply) {
|
|
|
35243
35283
|
}
|
|
35244
35284
|
try {
|
|
35245
35285
|
const cfg = loadConfig();
|
|
35246
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
35286
|
+
const { deliverOutboundPayloads } = await import("./deliver-O2dLDnLg.js").then((n) => n.n);
|
|
35247
35287
|
await deliverOutboundPayloads({
|
|
35248
35288
|
cfg,
|
|
35249
35289
|
channel: target.channel,
|
|
@@ -38884,11 +38924,21 @@ function requireOperator(client, respond) {
|
|
|
38884
38924
|
}
|
|
38885
38925
|
return true;
|
|
38886
38926
|
}
|
|
38887
|
-
/**
|
|
38888
|
-
*
|
|
38927
|
+
/**
|
|
38928
|
+
* Return the caller's organization, derived ONLY from `client.orgId` —
|
|
38929
|
+
* the value the gateway itself established at connect time from a validated
|
|
38930
|
+
* JWT or service-account claim (see ws-jwt-auth.ts / message-handler.ts).
|
|
38931
|
+
*
|
|
38932
|
+
* Every hub dashboard session (browser and hub-server alike) presents the
|
|
38933
|
+
* same shared operator token and carries `operator.admin` scope, so
|
|
38934
|
+
* `operator.admin` is NOT a trust signal for org membership — treating it
|
|
38935
|
+
* as one previously let ANY hub session read/mutate every org's shells
|
|
38936
|
+
* (params.orgId / an "unscoped admin" fallback both trusted the caller's
|
|
38937
|
+
* own say-so). `params.orgId` must never be consulted here: a caller that
|
|
38938
|
+
* wants org scoping must actually hold connect-time identity for that org.
|
|
38939
|
+
*/
|
|
38889
38940
|
function requireOrgScope(client, respond) {
|
|
38890
38941
|
if (client?.orgId) return client.orgId;
|
|
38891
|
-
if (hasScope(client, ADMIN_SCOPE)) return;
|
|
38892
38942
|
respond(false, void 0, errorShape(ErrorCodes.FORBIDDEN, "organization context required"));
|
|
38893
38943
|
return null;
|
|
38894
38944
|
}
|
|
@@ -38955,11 +39005,12 @@ function createShellsHandlers({ shells }) {
|
|
|
38955
39005
|
},
|
|
38956
39006
|
[METHOD.provision]: ({ params, client, respond }) => {
|
|
38957
39007
|
if (!requireAdmin(client, respond)) return;
|
|
39008
|
+
const orgId = requireOrgScope(client, respond);
|
|
39009
|
+
if (orgId === null) return;
|
|
38958
39010
|
const m = ensureMgr(respond);
|
|
38959
39011
|
if (!m) return;
|
|
38960
39012
|
const displayName = asString(params?.displayName);
|
|
38961
39013
|
const harness = asString(params?.harness);
|
|
38962
|
-
const orgId = client?.orgId ?? asString(params?.orgId);
|
|
38963
39014
|
if (!displayName) {
|
|
38964
39015
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'displayName'");
|
|
38965
39016
|
return;
|
|
@@ -38968,10 +39019,6 @@ function createShellsHandlers({ shells }) {
|
|
|
38968
39019
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'harness'");
|
|
38969
39020
|
return;
|
|
38970
39021
|
}
|
|
38971
|
-
if (!orgId) {
|
|
38972
|
-
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing organization context");
|
|
38973
|
-
return;
|
|
38974
|
-
}
|
|
38975
39022
|
const runtimes = asStringArray(params?.runtimes);
|
|
38976
39023
|
if (params?.runtimes !== void 0 && !runtimes) {
|
|
38977
39024
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "'runtimes' must be a string array");
|
|
@@ -39050,6 +39097,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39050
39097
|
},
|
|
39051
39098
|
[METHOD.archive]: ({ params, client, respond }) => {
|
|
39052
39099
|
if (!requireAdmin(client, respond)) return;
|
|
39100
|
+
const orgId = requireOrgScope(client, respond);
|
|
39101
|
+
if (orgId === null) return;
|
|
39053
39102
|
const m = ensureMgr(respond);
|
|
39054
39103
|
if (!m) return;
|
|
39055
39104
|
const shellId = asString(params?.shellId);
|
|
@@ -39060,7 +39109,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39060
39109
|
tryRespond(respond, () => m.archive({
|
|
39061
39110
|
shellId,
|
|
39062
39111
|
skipBackup: Boolean(params?.skipBackup),
|
|
39063
|
-
orgId
|
|
39112
|
+
orgId
|
|
39064
39113
|
}));
|
|
39065
39114
|
},
|
|
39066
39115
|
[METHOD.wake]: ({ params, client, respond }) => {
|
|
@@ -39074,6 +39123,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39074
39123
|
},
|
|
39075
39124
|
[METHOD.restart]: ({ params, client, respond }) => {
|
|
39076
39125
|
if (!requireAdmin(client, respond)) return;
|
|
39126
|
+
const orgId = requireOrgScope(client, respond);
|
|
39127
|
+
if (orgId === null) return;
|
|
39077
39128
|
const m = ensureMgr(respond);
|
|
39078
39129
|
if (!m) return;
|
|
39079
39130
|
const shellId = asString(params?.shellId);
|
|
@@ -39081,10 +39132,12 @@ function createShellsHandlers({ shells }) {
|
|
|
39081
39132
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'shellId'");
|
|
39082
39133
|
return;
|
|
39083
39134
|
}
|
|
39084
|
-
tryRespond(respond, () => m.restart(shellId,
|
|
39135
|
+
tryRespond(respond, () => m.restart(shellId, orgId));
|
|
39085
39136
|
},
|
|
39086
39137
|
[METHOD.destroy]: ({ params, client, respond }) => {
|
|
39087
39138
|
if (!requireAdmin(client, respond)) return;
|
|
39139
|
+
const orgId = requireOrgScope(client, respond);
|
|
39140
|
+
if (orgId === null) return;
|
|
39088
39141
|
const m = ensureMgr(respond);
|
|
39089
39142
|
if (!m) return;
|
|
39090
39143
|
const shellId = asString(params?.shellId);
|
|
@@ -39095,11 +39148,13 @@ function createShellsHandlers({ shells }) {
|
|
|
39095
39148
|
tryRespond(respond, () => m.destroy({
|
|
39096
39149
|
shellId,
|
|
39097
39150
|
keepBackups: Boolean(params?.keepBackups),
|
|
39098
|
-
orgId
|
|
39151
|
+
orgId
|
|
39099
39152
|
}));
|
|
39100
39153
|
},
|
|
39101
39154
|
[METHOD.backupNow]: ({ params, client, respond }) => {
|
|
39102
39155
|
if (!requireAdmin(client, respond)) return;
|
|
39156
|
+
const orgId = requireOrgScope(client, respond);
|
|
39157
|
+
if (orgId === null) return;
|
|
39103
39158
|
const m = ensureMgr(respond);
|
|
39104
39159
|
if (!m) return;
|
|
39105
39160
|
const shellId = asString(params?.shellId);
|
|
@@ -39109,7 +39164,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39109
39164
|
}
|
|
39110
39165
|
tryRespond(respond, () => m.backupNow({
|
|
39111
39166
|
shellId,
|
|
39112
|
-
orgId
|
|
39167
|
+
orgId
|
|
39113
39168
|
}));
|
|
39114
39169
|
},
|
|
39115
39170
|
[METHOD.listBackups]: ({ params, client, respond }) => {
|
|
@@ -39652,7 +39707,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
39652
39707
|
}
|
|
39653
39708
|
if (!minimalTestGateway) (async () => {
|
|
39654
39709
|
const { recoverPendingDeliveries } = await import("./delivery-queue-4i2kXntr.js").then((n) => n.n);
|
|
39655
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39710
|
+
const { deliverOutboundPayloads } = await import("./deliver-O2dLDnLg.js").then((n) => n.n);
|
|
39656
39711
|
await recoverPendingDeliveries({
|
|
39657
39712
|
deliver: deliverOutboundPayloads,
|
|
39658
39713
|
log: log.child("delivery-recovery"),
|