@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
|
@@ -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;
|
|
@@ -33989,6 +34022,13 @@ function createGatewayHttpServer(opts) {
|
|
|
33989
34022
|
const configSnapshot = loadConfig();
|
|
33990
34023
|
const trustedProxies = configSnapshot.gateway?.trustedProxies ?? [];
|
|
33991
34024
|
const requestPath = new URL(req.url ?? "/", "http://localhost").pathname;
|
|
34025
|
+
if (requestPath === "/health" && (req.method === "GET" || req.method === "HEAD")) {
|
|
34026
|
+
res.statusCode = 200;
|
|
34027
|
+
res.setHeader("Content-Type", "application/json; charset=utf-8");
|
|
34028
|
+
res.setHeader("Cache-Control", "no-cache");
|
|
34029
|
+
res.end(req.method === "HEAD" ? void 0 : JSON.stringify({ ok: true }));
|
|
34030
|
+
return;
|
|
34031
|
+
}
|
|
33992
34032
|
if (requestPath.startsWith("/shell-access/") && handleShellAccessRequest) {
|
|
33993
34033
|
if (await handleShellAccessRequest(req, res)) return;
|
|
33994
34034
|
}
|
|
@@ -35226,7 +35266,7 @@ async function deliverFlowReply(sessionKey, reply) {
|
|
|
35226
35266
|
}
|
|
35227
35267
|
try {
|
|
35228
35268
|
const cfg = loadConfig();
|
|
35229
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
35269
|
+
const { deliverOutboundPayloads } = await import("./deliver-BUifEj0F.js").then((n) => n.n);
|
|
35230
35270
|
await deliverOutboundPayloads({
|
|
35231
35271
|
cfg,
|
|
35232
35272
|
channel: target.channel,
|
|
@@ -38867,11 +38907,21 @@ function requireOperator(client, respond) {
|
|
|
38867
38907
|
}
|
|
38868
38908
|
return true;
|
|
38869
38909
|
}
|
|
38870
|
-
/**
|
|
38871
|
-
*
|
|
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
|
+
*/
|
|
38872
38923
|
function requireOrgScope(client, respond) {
|
|
38873
38924
|
if (client?.orgId) return client.orgId;
|
|
38874
|
-
if (hasScope(client, ADMIN_SCOPE)) return;
|
|
38875
38925
|
respond(false, void 0, errorShape(ErrorCodes.FORBIDDEN, "organization context required"));
|
|
38876
38926
|
return null;
|
|
38877
38927
|
}
|
|
@@ -38938,11 +38988,12 @@ function createShellsHandlers({ shells }) {
|
|
|
38938
38988
|
},
|
|
38939
38989
|
[METHOD.provision]: ({ params, client, respond }) => {
|
|
38940
38990
|
if (!requireAdmin(client, respond)) return;
|
|
38991
|
+
const orgId = requireOrgScope(client, respond);
|
|
38992
|
+
if (orgId === null) return;
|
|
38941
38993
|
const m = ensureMgr(respond);
|
|
38942
38994
|
if (!m) return;
|
|
38943
38995
|
const displayName = asString(params?.displayName);
|
|
38944
38996
|
const harness = asString(params?.harness);
|
|
38945
|
-
const orgId = client?.orgId ?? asString(params?.orgId);
|
|
38946
38997
|
if (!displayName) {
|
|
38947
38998
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'displayName'");
|
|
38948
38999
|
return;
|
|
@@ -38951,10 +39002,6 @@ function createShellsHandlers({ shells }) {
|
|
|
38951
39002
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'harness'");
|
|
38952
39003
|
return;
|
|
38953
39004
|
}
|
|
38954
|
-
if (!orgId) {
|
|
38955
|
-
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing organization context");
|
|
38956
|
-
return;
|
|
38957
|
-
}
|
|
38958
39005
|
const runtimes = asStringArray(params?.runtimes);
|
|
38959
39006
|
if (params?.runtimes !== void 0 && !runtimes) {
|
|
38960
39007
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "'runtimes' must be a string array");
|
|
@@ -39033,6 +39080,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39033
39080
|
},
|
|
39034
39081
|
[METHOD.archive]: ({ params, client, respond }) => {
|
|
39035
39082
|
if (!requireAdmin(client, respond)) return;
|
|
39083
|
+
const orgId = requireOrgScope(client, respond);
|
|
39084
|
+
if (orgId === null) return;
|
|
39036
39085
|
const m = ensureMgr(respond);
|
|
39037
39086
|
if (!m) return;
|
|
39038
39087
|
const shellId = asString(params?.shellId);
|
|
@@ -39043,7 +39092,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39043
39092
|
tryRespond(respond, () => m.archive({
|
|
39044
39093
|
shellId,
|
|
39045
39094
|
skipBackup: Boolean(params?.skipBackup),
|
|
39046
|
-
orgId
|
|
39095
|
+
orgId
|
|
39047
39096
|
}));
|
|
39048
39097
|
},
|
|
39049
39098
|
[METHOD.wake]: ({ params, client, respond }) => {
|
|
@@ -39057,6 +39106,8 @@ function createShellsHandlers({ shells }) {
|
|
|
39057
39106
|
},
|
|
39058
39107
|
[METHOD.restart]: ({ params, client, respond }) => {
|
|
39059
39108
|
if (!requireAdmin(client, respond)) return;
|
|
39109
|
+
const orgId = requireOrgScope(client, respond);
|
|
39110
|
+
if (orgId === null) return;
|
|
39060
39111
|
const m = ensureMgr(respond);
|
|
39061
39112
|
if (!m) return;
|
|
39062
39113
|
const shellId = asString(params?.shellId);
|
|
@@ -39064,10 +39115,12 @@ function createShellsHandlers({ shells }) {
|
|
|
39064
39115
|
respondError(respond, ErrorCodes.INVALID_REQUEST, "missing 'shellId'");
|
|
39065
39116
|
return;
|
|
39066
39117
|
}
|
|
39067
|
-
tryRespond(respond, () => m.restart(shellId,
|
|
39118
|
+
tryRespond(respond, () => m.restart(shellId, orgId));
|
|
39068
39119
|
},
|
|
39069
39120
|
[METHOD.destroy]: ({ params, client, respond }) => {
|
|
39070
39121
|
if (!requireAdmin(client, respond)) return;
|
|
39122
|
+
const orgId = requireOrgScope(client, respond);
|
|
39123
|
+
if (orgId === null) return;
|
|
39071
39124
|
const m = ensureMgr(respond);
|
|
39072
39125
|
if (!m) return;
|
|
39073
39126
|
const shellId = asString(params?.shellId);
|
|
@@ -39078,11 +39131,13 @@ function createShellsHandlers({ shells }) {
|
|
|
39078
39131
|
tryRespond(respond, () => m.destroy({
|
|
39079
39132
|
shellId,
|
|
39080
39133
|
keepBackups: Boolean(params?.keepBackups),
|
|
39081
|
-
orgId
|
|
39134
|
+
orgId
|
|
39082
39135
|
}));
|
|
39083
39136
|
},
|
|
39084
39137
|
[METHOD.backupNow]: ({ params, client, respond }) => {
|
|
39085
39138
|
if (!requireAdmin(client, respond)) return;
|
|
39139
|
+
const orgId = requireOrgScope(client, respond);
|
|
39140
|
+
if (orgId === null) return;
|
|
39086
39141
|
const m = ensureMgr(respond);
|
|
39087
39142
|
if (!m) return;
|
|
39088
39143
|
const shellId = asString(params?.shellId);
|
|
@@ -39092,7 +39147,7 @@ function createShellsHandlers({ shells }) {
|
|
|
39092
39147
|
}
|
|
39093
39148
|
tryRespond(respond, () => m.backupNow({
|
|
39094
39149
|
shellId,
|
|
39095
|
-
orgId
|
|
39150
|
+
orgId
|
|
39096
39151
|
}));
|
|
39097
39152
|
},
|
|
39098
39153
|
[METHOD.listBackups]: ({ params, client, respond }) => {
|
|
@@ -39635,7 +39690,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
39635
39690
|
}
|
|
39636
39691
|
if (!minimalTestGateway) (async () => {
|
|
39637
39692
|
const { recoverPendingDeliveries } = await import("./delivery-queue-BTPlqn4c.js").then((n) => n.n);
|
|
39638
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39693
|
+
const { deliverOutboundPayloads } = await import("./deliver-BUifEj0F.js").then((n) => n.n);
|
|
39639
39694
|
await recoverPendingDeliveries({
|
|
39640
39695
|
deliver: deliverOutboundPayloads,
|
|
39641
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";
|