@nikolasp98/minion 2026.6.16-dev.20260703022951 → 2026.7.2-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/{accounts-BuvRfQ9w.js → accounts-BXfCjq1s.js} +1 -1
- package/dist/{accounts-ZaxCwsI7.js → accounts-CgVj_ZvT.js} +1 -1
- package/dist/{accounts-BXGQwBCy.js → accounts-D0IauaHf.js} +1 -1
- package/dist/{accounts-D085lEm1.js → accounts-xwGx4GiG.js} +1 -1
- package/dist/{acp-cli-B33pR8aO.js → acp-cli-BofVv1S4.js} +3 -3
- package/dist/{acp-cli-B4TQ6ceB.js → acp-cli-KgewsPtq.js} +3 -3
- package/dist/{agent-ZEu8LatG.js → agent-h6HcO0Nb.js} +12 -12
- package/dist/{agent-step-GW1K3X_z.js → agent-step-CW6Vc9VA.js} +3 -3
- package/dist/{agent-step-CIwF1fe4.js → agent-step-DIqiZqN6.js} +3 -3
- package/dist/{agents-B-tnV6jT.js → agents-CRuMaUxh.js} +8 -8
- package/dist/{agents-list-tool-CpeEmvE6.js → agents-list-tool-DHrkIYwP.js} +3 -3
- package/dist/{agents-list-tool-C4DN0VKm.js → agents-list-tool-mV9-nOC8.js} +2 -2
- package/dist/{agents-list-tool-B1yRv0qo.js → agents-list-tool-qgS6iC-S.js} +3 -3
- package/dist/{agents.config-DU05dCcQ.js → agents.config-D6xx-kCm.js} +11 -11
- package/dist/{audit-Ck8w3i0g.js → audit-C4vWcnRT.js} +10 -10
- package/dist/{audit-BlADGCfR.js → audit-yMw0xC1H.js} +10 -10
- package/dist/{auth-choice-_HdhC1Ax.js → auth-choice-B3sdr0yr.js} +4 -4
- package/dist/{auth-choice-DXK-xwEZ.js → auth-choice-wAcjEzAw.js} +4 -4
- package/dist/{banner-DyN6sF2C.js → banner-XDf4LEG4.js} +1 -1
- package/dist/booking-cancel-tool-BQ4a7cOG.js +34 -0
- package/dist/booking-cancel-tool-D5WT2e71.js +34 -0
- package/dist/booking-cancel-tool-T0j0NEYJ.js +34 -0
- package/dist/booking-create-tool-B9OhlsCV.js +50 -0
- package/dist/booking-create-tool-C4mnxn4s.js +50 -0
- package/dist/booking-create-tool-DoK1URaw.js +50 -0
- package/dist/booking-reschedule-tool-BBRT8BeA.js +54 -0
- package/dist/booking-reschedule-tool-BbCUsgsS.js +54 -0
- package/dist/booking-reschedule-tool-szF6zAV5.js +54 -0
- package/dist/bookings-query-tool-BeUjMBd7.js +39 -0
- package/dist/bookings-query-tool-C82uomRU.js +39 -0
- package/dist/bookings-query-tool-CKBaEz6v.js +39 -0
- package/dist/brain-remember-tool-5GpyMh2L.js +54 -0
- package/dist/brain-remember-tool-C0NYC-xc.js +54 -0
- package/dist/brain-remember-tool-C6nzb0DB.js +54 -0
- package/dist/brain-search-tool-CISjpiVH.js +37 -0
- package/dist/brain-search-tool-CroWlajo.js +37 -0
- package/dist/brain-search-tool-D8benSIw.js +37 -0
- package/dist/brains-list-tool-CgKa84V3.js +27 -0
- package/dist/brains-list-tool-D6S8eSfu.js +27 -0
- package/dist/brains-list-tool-QygvDpW2.js +27 -0
- package/dist/{browser-cli-B61sRYcg.js → browser-cli-ChMgod93.js} +4 -4
- package/dist/{browser-cli-CmTcAyLB.js → browser-cli-DAsazj7c.js} +4 -4
- package/dist/{browser-tool-DcFsvT1U.js → browser-tool-CMPuFbvY.js} +6 -6
- package/dist/{browser-tool-BssHihtr.js → browser-tool-Ed0u_AOB.js} +7 -7
- package/dist/{browser-tool-BkX_TrBo.js → browser-tool-fWwWyaEp.js} +7 -7
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1566 -11
- package/dist/bundled/kg-message-sync/handler.js +1 -1
- package/dist/{call-ByUO9iKO.js → call-BEIi33qI.js} +1 -1
- package/dist/{call-DtlNtNVA.js → call-BPWvRjRm.js} +2 -2
- package/dist/{call-_kPuw-vU.js → call-BtA9WrCC.js} +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{canvas-tool-WyTrg2j9.js → canvas-tool-CRjzdRXW.js} +2 -2
- package/dist/{canvas-tool-DEtMG6i2.js → canvas-tool-Ctyu2how.js} +2 -2
- package/dist/{canvas-tool-CzpnmWAn.js → canvas-tool-ftxzYBaK.js} +2 -2
- package/dist/{channel-options-Cnz3IGd9.js → channel-options-CQYFDEhv.js} +2 -2
- package/dist/{channel-options-DopXFSyZ.js → channel-options-ax7LAM0A.js} +2 -2
- package/dist/{channel-selection-CYImJUQg.js → channel-selection-CEx__vtW.js} +1 -1
- package/dist/{channel-selection-iTEcjxYC.js → channel-selection-SE_1hB_M.js} +1 -1
- package/dist/{channel-web-C61ymAAy.js → channel-web-BBuKa6h3.js} +11 -11
- package/dist/{channels-cli-CG1PrWEi.js → channels-cli-B9G06Fmo.js} +13 -13
- package/dist/{channels-cli-B5AFLqYY.js → channels-cli-CMytcEwb.js} +13 -13
- package/dist/{channels-status-issues-CruUpZ5_.js → channels-status-issues-2UslYkyj.js} +1 -1
- package/dist/{channels-status-issues-DQudmpKi.js → channels-status-issues-D-Uign2B.js} +1 -1
- package/dist/{chrome-SXjxMlpf.js → chrome-8ypx9Y_Q.js} +2 -2
- package/dist/{chrome-BXvOfh_S.js → chrome-Bm0i3JJ5.js} +1 -1
- package/dist/{chrome-BiJw-KLb.js → chrome-CKpv4Nqu.js} +2 -2
- package/dist/{clawbot-cli-BqIjHYyO.js → clawbot-cli-B0dcEO3n.js} +1 -1
- package/dist/{clawbot-cli-DEFNc0eF.js → clawbot-cli-BhkD8jAi.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BOOG9rRa.js → cli-Bb8BwFKn.js} +3 -3
- package/dist/{cli-XfQlZlkf.js → cli-BkYzSkm4.js} +3 -3
- package/dist/{client-CS7cx9Im.js → client-CFTzdF7N.js} +4 -4
- package/dist/{client-BWtnXqf6.js → client-Ct-X1nzk.js} +4 -4
- package/dist/{client-0oQQSzns.js → client-DkJ5jqsl.js} +4 -4
- package/dist/{command-registry-JmDW6Nn6.js → command-registry-DYwO0GeY.js} +14 -14
- package/dist/{commands-registry-BAl7QGCh.js → commands-registry-CTh_zaQh.js} +2 -2
- package/dist/{commands-registry-apXzRQIt.js → commands-registry-eYNgWaeM.js} +2 -2
- package/dist/{completion-cli-CLXHz8g6.js → completion-cli-BR3ceW8A.js} +2 -2
- package/dist/{completion-cli-hYHXI1uh.js → completion-cli-DF_9tlQG.js} +1 -1
- package/dist/{config-D0cZAiW5.js → config-DKbC00-8.js} +1 -1
- package/dist/{config-C4ygZaLQ.js → config-GA90_ZLO.js} +1 -1
- package/dist/{config-cli-WVl6fLmt.js → config-cli-BFBb_KPM.js} +3 -3
- package/dist/{config-cli-a6kX0DWm.js → config-cli-DqrSBbB0.js} +3 -3
- package/dist/{config-guard-CLHcu3Wq.js → config-guard-CUaqhHD3.js} +3 -3
- package/dist/config-guard-CljBFSot.js +2 -0
- package/dist/{config-validation-uXqheWDj.js → config-validation-B7WbrARG.js} +2 -2
- package/dist/{config-validation-BUM-4lnJ.js → config-validation-BLe1mTWt.js} +2 -2
- package/dist/{config-UjWeYUCv.js → config-yRiIX18Z.js} +1 -1
- package/dist/{configure-DqZ20Fm1.js → configure-BVS7Uoe1.js} +16 -16
- package/dist/{configure-W7doYXjc.js → configure-Y4orl1oO.js} +16 -16
- package/dist/contact-tag-tool-B2IwH12w.js +43 -0
- package/dist/contact-tag-tool-BCTLI9AF.js +43 -0
- package/dist/contact-tag-tool-D-ow4Isv.js +43 -0
- package/dist/contact-update-tool-BUqDMu6g.js +48 -0
- package/dist/contact-update-tool-BtNz3sPT.js +48 -0
- package/dist/contact-update-tool-CuE27eki.js +48 -0
- package/dist/{cron-cli-D8dfzuy8.js → cron-cli-CMq19JHd.js} +3 -3
- package/dist/{cron-cli-abqQP_b7.js → cron-cli-DnZ4sbsM.js} +2 -2
- package/dist/{cron-tool-DT-Juzd0.js → cron-tool-BwIsBYaw.js} +5 -5
- package/dist/{cron-tool-CfZIJWk_.js → cron-tool-CsOKL3c2.js} +4 -4
- package/dist/{cron-tool-CvjJ7eWq.js → cron-tool-DyEs4iFg.js} +5 -5
- package/dist/{daemon-cli-LfpGMPoH.js → daemon-cli-CueUsD00.js} +9 -9
- package/dist/{daemon-cli-Dk4HnYpN.js → daemon-cli-of4aZf7x.js} +9 -9
- package/dist/daemon-cli.js +1 -1
- package/dist/daemon-install-helpers-BTrwyLn2.js +2 -0
- package/dist/daemon-install-helpers-DrlG4q0g.js +2 -0
- package/dist/{daemon-runtime-CWwiPJlC.js → daemon-runtime-Bc1wF1kV.js} +1 -1
- package/dist/{daemon-runtime-CYbnHdnj.js → daemon-runtime-DDr_cMqE.js} +1 -1
- package/dist/{deliver-BL-x0LSd.js → deliver-9LL4m3Lu.js} +6 -6
- package/dist/{deliver-W1AG1DOn.js → deliver-BQbh88Tj.js} +4 -4
- package/dist/{deliver-Cl_KmOId.js → deliver-UZw-uP-N.js} +5 -5
- package/dist/{deps-nXmpIQZI.js → deps-BDdvdX9C.js} +7 -7
- package/dist/{devices-cli-DnCpjN6g.js → devices-cli-C4beZBw0.js} +1 -1
- package/dist/{devices-cli-BRK10uvX.js → devices-cli-DLos0jsr.js} +1 -1
- package/dist/{diagnostic-BzRwZgem.js → diagnostic-VfvbQ5fw.js} +2 -2
- package/dist/{diagnostic-session-state-DxmmFAAh.js → diagnostic-session-state-CBHZ89g9.js} +1 -1
- package/dist/{directory-cli-C5N6RWl4.js → directory-cli-Bnn8FmVY.js} +4 -4
- package/dist/{directory-cli-BL_qihxU.js → directory-cli-DqwjijGj.js} +4 -4
- package/dist/{dispatcher-D1AyKtq_.js → dispatcher-D0-a_KPL.js} +7 -7
- package/dist/{dispatcher-zNWlur8g.js → dispatcher-DiHR8NYb.js} +7 -7
- package/dist/{dm-policy-shared-ClqzKx9w.js → dm-policy-shared-COFFISSw.js} +2 -2
- package/dist/{dm-policy-shared-C48I2hKE.js → dm-policy-shared-Db1R5Al0.js} +2 -2
- package/dist/{dns-cli-6CZeX7fy.js → dns-cli-BLIp6tn8.js} +2 -2
- package/dist/{dns-cli-C1Zhq42E.js → dns-cli-DU4VfG3C.js} +2 -2
- package/dist/{doctor-completion-Bpn4-Oq7.js → doctor-completion-8taj147x.js} +1 -1
- package/dist/doctor-completion-Bu80Av1s.js +2 -0
- package/dist/doctor-completion-BzTZPUY3.js +2 -0
- package/dist/{doctor-completion-DvFl76Xq.js → doctor-completion-lFqnioUo.js} +1 -1
- package/dist/{doctor-config-flow-CR7fJOuO.js → doctor-config-flow-3lyK6GXd.js} +5 -5
- package/dist/{doctor-config-flow-B_rg9smn.js → doctor-config-flow-DPD_mReb.js} +5 -5
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-CgGc4dVa.js → exec-approvals-cli-BfC19d1o.js} +2 -2
- package/dist/{exec-approvals-cli-BHbQggLt.js → exec-approvals-cli-CljRgEuO.js} +2 -2
- package/dist/extensionAPI.js +2 -2
- package/dist/finance-query-tool-7NGJzyjQ.js +43 -0
- package/dist/finance-query-tool-Bc-nST7-.js +43 -0
- package/dist/finance-query-tool-DEh-8uf3.js +43 -0
- package/dist/{gateway-CDqi7AYG.js → gateway-CrExAmqV.js} +2 -2
- package/dist/{gateway-DnQbLapC.js → gateway-DE7-sAMu.js} +3 -3
- package/dist/{gateway-BZ_rGbzx.js → gateway-Dt8tSFHA.js} +3 -3
- package/dist/{gateway-cli-DHMb1UuP.js → gateway-cli-BNdl5ETB.js} +40 -40
- package/dist/{gateway-cli-C5N07CtU.js → gateway-cli-avHq5s28.js} +44 -44
- package/dist/{gateway-rpc-BbkbWt3G.js → gateway-rpc-14Q1TtPH.js} +1 -1
- package/dist/{gateway-rpc-D4kSkkPS.js → gateway-rpc-l0Ix-6Kp.js} +1 -1
- package/dist/{gateway-tool-z8-vPF0-.js → gateway-tool-BWSVz3lE.js} +3 -3
- package/dist/{gateway-tool-koliixkR.js → gateway-tool-CX6hKwWR.js} +3 -3
- package/dist/{gateway-tool-D_6Uf9GQ.js → gateway-tool-CavUON8u.js} +3 -3
- package/dist/{github-copilot-auth-DXRIXhwE.js → github-copilot-auth-BVranXiA.js} +2 -2
- package/dist/{github-copilot-auth-vZIh62h7.js → github-copilot-auth-LevK6DQr.js} +2 -2
- package/dist/{gmail-C67NcH03.js → gmail-C1xWwBqt.js} +1 -1
- package/dist/{gmail-CKdlz_2l.js → gmail-rJdWhPq_.js} +1 -1
- package/dist/{health-B68NlCPU.js → health-CmEEKiew.js} +8 -8
- package/dist/{health-BH4SZIqw.js → health-DPusbWbK.js} +8 -8
- package/dist/{helpers-DX7IrTxf.js → helpers-DrKNVVVu.js} +1 -1
- package/dist/{helpers-DfUDP_7P.js → helpers-v9HeNa7s.js} +1 -1
- package/dist/{hooks-cli-fogVtYj5.js → hooks-cli-Di-nx8CI.js} +2 -2
- package/dist/{hooks-cli-C2Wx1UBL.js → hooks-cli-DqnwazMm.js} +2 -2
- package/dist/hub-common-BXMO3y1A.js +58 -0
- package/dist/hub-common-D7t3vbq1.js +58 -0
- package/dist/hub-pages-tool-CcT1qxV9.js +27 -0
- package/dist/hub-pages-tool-D-3FEFsZ.js +27 -0
- package/dist/hub-pages-tool-DoDvLDFh.js +27 -0
- package/dist/{image-tool-DrPrAhPE.js → image-tool-BjcTww_z.js} +2 -2
- package/dist/{image-tool-BjwEfIHS.js → image-tool-CZln47nw.js} +2 -2
- package/dist/{image-tool-t2URJv9Q.js → image-tool-CqG2fJgM.js} +2 -2
- package/dist/index.js +10 -10
- package/dist/{io-D6HAGfRj.js → io-CUOJNJs6.js} +1 -1
- package/dist/{io-e4Yx5ZqN.js → io-DsXKMvz3.js} +1 -1
- package/dist/{ir-CRQw8rC-.js → ir-B5YPvQFJ.js} +1 -1
- package/dist/{ir-Dw5why5w.js → ir-D89aqXPf.js} +4 -4
- package/dist/{ir-CXYhC_s0.js → ir-Dc6AWYIi.js} +1 -1
- package/dist/{knowledge-graph-DY3hX2id.js → knowledge-graph-MfRaP31I.js} +1 -1
- package/dist/{lifecycle-core-DodDF7fD.js → lifecycle-core-B5yxpQrN.js} +3 -3
- package/dist/{lifecycle-core-eActrcsn.js → lifecycle-core-BgBdMtfY.js} +3 -3
- package/dist/{logs-cli-BOKzwD3q.js → logs-cli-DCwto3gl.js} +2 -2
- package/dist/{logs-cli-Dogt71JB.js → logs-cli-DhL544qw.js} +2 -2
- package/dist/{manager-BEO63FwF.js → manager-DaF7qlnz.js} +1 -1
- package/dist/{memory-cli-DYHzddiH.js → memory-cli-BnAPYY9h.js} +2 -2
- package/dist/{memory-cli-QIIevuLL.js → memory-cli-DcenbgYg.js} +2 -2
- package/dist/{message-action-runner-BHH2obtO.js → message-action-runner-B_XqOBWe.js} +10 -10
- package/dist/{message-action-runner-BZPZrbfZ.js → message-action-runner-Dg2rHhif.js} +10 -10
- package/dist/{message-ledger-wjhcg6Ko.js → message-ledger-BeuUbcUn.js} +6 -6
- package/dist/{message-tool-Dx0lcq57.js → message-tool-BtCKP0ZG.js} +6 -6
- package/dist/{message-tool-BqzlpxAL.js → message-tool-CXE6QSaq.js} +8 -8
- package/dist/{message-tool-BdZMbP-_.js → message-tool-fWXuQrLW.js} +6 -6
- package/dist/{minion-tools-BCsEknBS.js → minion-tools-CExlnRRN.js} +438 -48
- package/dist/{model-catalog-BzwXHdrf.js → model-catalog-BUOrFywx.js} +3 -3
- package/dist/{model-catalog-C6s-YmOC.js → model-catalog-DAHly2DA.js} +3 -3
- package/dist/{model-fallback-CItMxzEx.js → model-fallback-BFGscvIF.js} +2 -2
- package/dist/{model-fallback-rLmQ9WJ2.js → model-fallback-Bu5IXWCs.js} +2 -2
- package/dist/{model-fallback-CSdDdf18.js → model-fallback-D7bL5w9a.js} +3 -3
- package/dist/{model-picker-Jl9cR9lZ.js → model-picker-BXHv9gwd.js} +2 -2
- package/dist/{model-picker-B-XiL2OH.js → model-picker-BlVeWarh.js} +2 -2
- package/dist/{models-CzO1PoHi.js → models-DrdU8zCR.js} +11 -11
- package/dist/{models-cli-DDqRod8M.js → models-cli-ClloOmLf.js} +11 -11
- package/dist/{models-cli-CJZPgBfF.js → models-cli-Cs1chbdr.js} +2 -2
- package/dist/{models-config-BNdF-IMY.js → models-config-CYz1Jl9f.js} +2 -2
- package/dist/{models-config-gGtRsN8J.js → models-config-DYWSuEYm.js} +2 -2
- package/dist/{node-cli-C07JlIhT.js → node-cli-DfNXXKfW.js} +7 -7
- package/dist/{node-cli-KTuDPtLV.js → node-cli-DuTW318s.js} +7 -7
- package/dist/{nodes-cli-D2NSRkr9.js → nodes-cli-C4DbIhxT.js} +4 -4
- package/dist/{nodes-cli-CtuZ7NoK.js → nodes-cli-dNo0GV28.js} +4 -4
- package/dist/{nodes-tool-DEEg33kl.js → nodes-tool-BMyerIV8.js} +3 -3
- package/dist/{nodes-tool-C64_5SUR.js → nodes-tool-CdRBRg3n.js} +2 -2
- package/dist/{nodes-tool-DytMlT0G.js → nodes-tool-xWih4JM4.js} +2 -2
- package/dist/{nodes-utils-CPn-ghlx.js → nodes-utils-CufLKNGe.js} +1 -1
- package/dist/{nodes-utils-BCfYRkSd.js → nodes-utils-DVWS0DJm.js} +1 -1
- package/dist/{nodes-utils-BTHUGnyH.js → nodes-utils-DsbuELKY.js} +1 -1
- package/dist/notify-user-tool-BQ9QLglp.js +41 -0
- package/dist/notify-user-tool-BuELqNes.js +41 -0
- package/dist/notify-user-tool-DLae7l_c.js +41 -0
- package/dist/{onboard-DUvfso4l.js → onboard-B-avLisX.js} +8 -8
- package/dist/{onboard-DofGeN8U.js → onboard-SJUelwfO.js} +8 -8
- package/dist/{onboard-channels-Bt9VQkRB.js → onboard-channels-2zt_gaYa.js} +3 -3
- package/dist/{onboard-channels-0yScPK4U.js → onboard-channels-B4YkPT_I.js} +1 -1
- package/dist/{onboard-channels-Vjny7vl1.js → onboard-channels-BfdH44jV.js} +1 -1
- package/dist/{onboard-channels-DaLKz8R4.js → onboard-channels-PE0DJeP3.js} +3 -3
- package/dist/{onboard-custom-rWmaWITc.js → onboard-custom-AFW2y9Fw.js} +2 -2
- package/dist/{onboard-custom-BDGt1kja.js → onboard-custom-DiGxyF1W.js} +2 -2
- package/dist/{onboard-custom-BysGgJiB.js → onboard-custom-sOaQBqZH.js} +1 -1
- package/dist/{onboard-custom-C3f0dVEB.js → onboard-custom-zDWUbUye.js} +1 -1
- package/dist/{onboard-helpers-BrndIk2N.js → onboard-helpers-0Ck3IoqE.js} +4 -4
- package/dist/{onboard-helpers-BAGJ5Lo1.js → onboard-helpers-Bat8F04f.js} +1 -1
- package/dist/{onboard-helpers-Dd4P1QbH.js → onboard-helpers-Bt6lH884.js} +4 -4
- package/dist/{onboard-helpers-DV9yuQ1d.js → onboard-helpers-CGpNOsa3.js} +1 -1
- package/dist/{onboard-remote-DRzZ9kQN.js → onboard-remote-CGoat8Ht.js} +1 -1
- package/dist/{onboard-remote-JIG7iYFa.js → onboard-remote-fxQZypsD.js} +1 -1
- package/dist/{onboard-skills-Ce5HO8VV.js → onboard-skills-CLrW7_vF.js} +1 -1
- package/dist/{onboard-skills-DMVLngVN.js → onboard-skills-GK6OUUuS.js} +1 -1
- package/dist/{onboarding-wYvukFyg.js → onboarding-C7aodLA2.js} +12 -12
- package/dist/{onboarding-CbhR0emG.js → onboarding-lIh5Eq03.js} +12 -12
- package/dist/{onboarding.finalize-DcDS7RiE.js → onboarding.finalize-Cpr_6eTb.js} +9 -9
- package/dist/{onboarding.finalize-nhs02n-T.js → onboarding.finalize-Wqrm-aWj.js} +9 -9
- package/dist/{onboarding.gateway-config-Bn1-Rp-H.js → onboarding.gateway-config-Bxm6nU1u.js} +2 -2
- package/dist/{onboarding.gateway-config-CtPOA3D5.js → onboarding.gateway-config-DKCE85Y-.js} +2 -2
- package/dist/order-update-status-tool-CMFqE714.js +43 -0
- package/dist/order-update-status-tool-CNX4uu2U.js +43 -0
- package/dist/order-update-status-tool-Dkv-jcX1.js +43 -0
- package/dist/orders-query-tool-Cox-HkmB.js +40 -0
- package/dist/orders-query-tool-CrWjRlWq.js +40 -0
- package/dist/orders-query-tool-DoTV3it7.js +40 -0
- package/dist/{outbound-send-deps-B6gAQhTt.js → outbound-send-deps-BaQy-H2c.js} +7 -7
- package/dist/{outbound-session-DRsIRtcz.js → outbound-session-CQu7MwtX.js} +6 -6
- package/dist/{outbound-session-Bw7QohlD.js → outbound-session-CX_XRDHU.js} +6 -6
- package/dist/{pairing-cli-Dgd0Wbso.js → pairing-cli-Y4cWvmqV.js} +4 -4
- package/dist/{pairing-cli-DNxLtDAs.js → pairing-cli-YKXsh9qq.js} +4 -4
- package/dist/{pairing-store-Dt3zHbxc.js → pairing-store-Cw5GsbNo.js} +2 -2
- package/dist/{pairing-store-BOjF78Ox.js → pairing-store-Da_7uUr_.js} +2 -2
- package/dist/{pi-embedded-helpers-CEkySDxp.js → pi-embedded-helpers-CDWmWyvU.js} +1 -1
- package/dist/{pi-embedded-helpers-DscGMv73.js → pi-embedded-helpers-CHtXwjlA.js} +27 -4
- package/dist/{pi-embedded-helpers-DL7FHGmT.js → pi-embedded-helpers-CwDskpRg.js} +1 -1
- package/dist/{pi-embedded-utils-kgdOppBK.js → pi-embedded-utils-BNN3Mb-q.js} +1 -1
- package/dist/{pi-embedded-utils-ByF51tTS.js → pi-embedded-utils-Cb_StxCN.js} +1 -1
- package/dist/{pi-embedded-utils-CbID52rD.js → pi-embedded-utils-MWdH9ypO.js} +1 -1
- package/dist/{pi-model-discovery-p8TFZjTo.js → pi-model-discovery-CKRiDFp0.js} +1 -1
- package/dist/{pi-tools.policy-BGMUkXoJ.js → pi-tools.policy-BJl7_IWm.js} +3 -3
- package/dist/{plugin-auto-enable-DDudeIWk.js → plugin-auto-enable-BuWdv2za.js} +1 -1
- package/dist/{plugin-auto-enable-3NRefTC0.js → plugin-auto-enable-DmQbCYAk.js} +1 -1
- package/dist/{plugin-registry-BsmJvnZM.js → plugin-registry-6dOOzi3y.js} +3 -3
- package/dist/{plugin-registry-5x3uvlGH.js → plugin-registry-CC5mfGuh.js} +3 -3
- package/dist/plugin-sdk/agents/tools/hub/booking-cancel-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/booking-create-tool.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/hub/booking-reschedule-tool.d.ts +12 -0
- package/dist/plugin-sdk/agents/tools/hub/bookings-query-tool.d.ts +9 -0
- package/dist/plugin-sdk/agents/tools/hub/brain-remember-tool.d.ts +14 -0
- package/dist/plugin-sdk/agents/tools/hub/brain-search-tool.d.ts +9 -0
- package/dist/plugin-sdk/agents/tools/hub/brains-list-tool.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/hub/contact-tag-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/contact-update-tool.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/hub/finance-query-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/hub/hub-common.d.ts +17 -0
- package/dist/plugin-sdk/agents/tools/hub/hub-pages-tool.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/hub/notify-user-tool.d.ts +11 -0
- package/dist/plugin-sdk/agents/tools/hub/order-update-status-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/orders-query-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/projects-query-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/stock-entry-create-tool.d.ts +10 -0
- package/dist/plugin-sdk/agents/tools/hub/stock-query-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/task-create-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/task-update-tool.d.ts +9 -0
- package/dist/plugin-sdk/agents/tools/hub/ticket-comment-tool.d.ts +9 -0
- package/dist/plugin-sdk/agents/tools/hub/ticket-create-tool.d.ts +8 -0
- package/dist/plugin-sdk/agents/tools/hub/ticket-update-tool.d.ts +9 -0
- package/dist/plugin-sdk/agents/tools/hub/tickets-query-tool.d.ts +8 -0
- package/dist/plugin-sdk/channels/discord.js +1566 -11
- package/dist/plugin-sdk/channels/imessage.js +1566 -11
- package/dist/plugin-sdk/channels/line.js +1566 -11
- package/dist/plugin-sdk/channels/signal.js +1566 -11
- package/dist/plugin-sdk/channels/slack.js +1566 -11
- package/dist/plugin-sdk/channels/telegram.js +1566 -11
- package/dist/plugin-sdk/channels/whatsapp.js +1566 -11
- package/dist/plugin-sdk/core.js +1 -1
- package/dist/plugin-sdk/index.js +1566 -11
- package/dist/{plugins-C3wcf7MF.js → plugins-C_QBgBKj.js} +1 -1
- package/dist/{plugins-B3EcsJ93.js → plugins-D6vuz-44.js} +1 -1
- package/dist/{plugins-BL_DwVqV.js → plugins-Dt-7Y5wv.js} +1 -1
- package/dist/{plugins-cli-BmazY7y6.js → plugins-cli-BYANyisq.js} +3 -3
- package/dist/{plugins-cli-CbT4Ivfy.js → plugins-cli-z-gXEkiv.js} +3 -3
- package/dist/{program-DbljxDPq.js → program-D_3DwSCA.js} +7 -7
- package/dist/{program-context-DiDgk5Zh.js → program-context-DRlcBXyK.js} +42 -42
- package/dist/projects-query-tool-BMFyd6JA.js +36 -0
- package/dist/projects-query-tool-BfpS0jf3.js +36 -0
- package/dist/projects-query-tool-DDIbxa_y.js +36 -0
- package/dist/{prompt-select-styled-CBtk-g6b.js → prompt-select-styled-2x3TaE5T.js} +18 -18
- package/dist/{prompt-select-styled-DQkPX023.js → prompt-select-styled-CkFtjmG1.js} +18 -18
- package/dist/{push-apns-BOeMCPZo.js → push-apns-BYXttBeJ.js} +1 -1
- package/dist/{push-apns-DpoIe7e2.js → push-apns-D879xbRP.js} +1 -1
- package/dist/{pw-ai-BJyHhYQF.js → pw-ai-BXS_o6SX.js} +2 -2
- package/dist/{pw-ai-BEWrwUFs.js → pw-ai-CfC7b26r.js} +2 -2
- package/dist/{pw-ai-HlMa6FG6.js → pw-ai-D9HAap-o.js} +2 -2
- package/dist/{pw-session-CWDEi5Nc.js → pw-session-ClplWKdd.js} +1 -1
- package/dist/{pw-session-CwWxQG1I.js → pw-session-FNaJjvLM.js} +1 -1
- package/dist/{pw-session-CGsc7KWi.js → pw-session-m7067XiE.js} +1 -1
- package/dist/{qr-cli-Dhlzz33G.js → qr-cli-CReHqOud.js} +2 -2
- package/dist/{qr-cli-Dldb8C1U.js → qr-cli-CdiCMQGN.js} +2 -2
- package/dist/{register.agent-_wkQQgzp.js → register.agent-BhnXw_dx.js} +8 -8
- package/dist/{register.agent-DnR7m134.js → register.agent-gVjDby1v.js} +12 -12
- package/dist/{register.channel-DtMJW1B2.js → register.channel-BWFep3ht.js} +2 -2
- package/dist/{register.channel-ByOxBY8q.js → register.channel-Cs5mrRZK.js} +2 -2
- package/dist/{register.configure-nrRrsu0C.js → register.configure-BeA7rzcV.js} +1 -1
- package/dist/{register.configure-BPniagxi.js → register.configure-CfW9D0gg.js} +1 -1
- package/dist/{register.drone-Cf5hsWJV.js → register.drone-C3ko3f4m.js} +1 -1
- package/dist/{register.drone-GMUhMhB4.js → register.drone-N_X5a2wS.js} +1 -1
- package/dist/{register.maintenance-BgfUvt-j.js → register.maintenance-BdJvIKSK.js} +5 -5
- package/dist/{register.maintenance-1tmxCGJO.js → register.maintenance-CEXQ4BMG.js} +5 -5
- package/dist/{register.message-sfK4pC7Q.js → register.message-CSdDkTF6.js} +9 -9
- package/dist/{register.message-o5rsaNxX.js → register.message-D4L-RQzY.js} +8 -8
- package/dist/{register.onboard-Dyb6qoBi.js → register.onboard-CYI56giZ.js} +1 -1
- package/dist/{register.onboard-Q56EmCd1.js → register.onboard-DEsoSYVM.js} +1 -1
- package/dist/{register.setup-LmUXe-fJ.js → register.setup-ChlFvsQj.js} +4 -4
- package/dist/{register.setup-DFN-ma50.js → register.setup-CpMcHooI.js} +4 -4
- package/dist/{register.status-health-sessions-ChRIvGGx.js → register.status-health-sessions-CESGadbE.js} +6 -6
- package/dist/{register.status-health-sessions-CH55XELQ.js → register.status-health-sessions-CIBXSHl0.js} +4 -4
- package/dist/{register.subclis-BV7bN9SK.js → register.subclis-BFXE6TvY.js} +29 -29
- package/dist/{reply-BvB01BRa.js → reply-Dy4Gl8EU.js} +436 -46
- package/dist/{reply-payloads-BxIDP7AE.js → reply-payloads-haUxLKio.js} +6 -6
- package/dist/{reply-prefix-Caipj1Jf.js → reply-prefix-BQo8iEBd.js} +1 -1
- package/dist/{reply-prefix-DY3LhS4c.js → reply-prefix-CUl0tQo3.js} +1 -1
- package/dist/{resolve-route-_uEmZcg2.js → resolve-route-CQNeFCbt.js} +4 -4
- package/dist/{resolve-route-DMoFSOUO.js → resolve-route-Cm40tM17.js} +2 -2
- package/dist/{routes-BsjQsdNd.js → routes-B3alP22i.js} +5 -5
- package/dist/{routes-BzfGuFnh.js → routes-DLBS9sHq.js} +5 -5
- package/dist/{rpc-gxwxRHlK.js → rpc-CtI1iVqG.js} +1 -1
- package/dist/{rpc-LOiW9xrJ.js → rpc-DZXtmnqh.js} +1 -1
- package/dist/{run-main-BiEp_qc-.js → run-main-De6Qk8Ng.js} +20 -20
- package/dist/{sandbox-0BpaF17S.js → sandbox-Co0HrQB2.js} +29 -6
- package/dist/{sandbox-opcHUJfc.js → sandbox-Dh_zn6nH.js} +29 -6
- package/dist/{sandbox-cli-Ca6I34Pd.js → sandbox-cli-DXUvqdbh.js} +4 -4
- package/dist/{sandbox-cli-B3hI0p9M.js → sandbox-cli-LZRCHMKQ.js} +4 -4
- package/dist/{security-cli-B1FLTWRz.js → security-cli-BlgNK6T8.js} +4 -4
- package/dist/{security-cli-wN-U3m9U.js → security-cli-COv-kz1U.js} +4 -4
- package/dist/{send-rKIFHSnf.js → send-B-l_LQjz.js} +6 -6
- package/dist/{send-ucLRBq08.js → send-BI100vN5.js} +4 -4
- package/dist/{send-BYUhkXPy.js → send-Bo3iRRV4.js} +5 -5
- package/dist/{send-CdgyDwpI.js → send-C1WQ3CSg.js} +5 -5
- package/dist/{send-mMi3QyjT.js → send-D3OXHEbY.js} +6 -6
- package/dist/{send-x8u-elit.js → send-DWGmd1lt.js} +5 -5
- package/dist/{send-DYI3wQww.js → send-Dnl8Mt0b.js} +5 -5
- package/dist/{send-B3692clO.js → send-nbmNq53I.js} +4 -4
- package/dist/{send-CGfg9v0J.js → send-oPMRcy46.js} +6 -6
- package/dist/{server-context-BQP316jT.js → server-context-BeBZl8zi.js} +7 -7
- package/dist/{server-context-BphUkFsU.js → server-context-DagQm3En.js} +22 -13
- package/dist/{server-context-B-cxcvtx.js → server-context-DecHp93O.js} +7 -7
- package/dist/{server-node-events-OgwlQNLw.js → server-node-events-Bo8YlLSF.js} +11 -11
- package/dist/{server-node-events-D5Xh_Y3M.js → server-node-events-uT9otrnW.js} +9 -9
- package/dist/{session-status-tool-BNOPtPyp.js → session-status-tool-CORFonZM.js} +6 -6
- package/dist/{session-status-tool-fkINR0b7.js → session-status-tool-DOqbETnH.js} +4 -4
- package/dist/{session-status-tool-Bsup3FG3.js → session-status-tool-DWSIlGFt.js} +7 -7
- package/dist/{session-utils-BhtdagqA.js → session-utils-Csw9JX2F.js} +4 -4
- package/dist/{sessions-Xhs8V4aT.js → sessions-BdTwFSod.js} +5 -5
- package/dist/{sessions-Cnxo_ndD.js → sessions-Bxcso1A4.js} +4 -4
- package/dist/{sessions-helpers-B5BjpGie.js → sessions-helpers-BpXiixPk.js} +3 -3
- package/dist/{sessions-helpers-BscA64r4.js → sessions-helpers-CmL5of8k.js} +3 -3
- package/dist/{sessions-helpers-C08Phzso.js → sessions-helpers-DcPYyi87.js} +3 -3
- package/dist/{sessions-history-tool-D3gAndpg.js → sessions-history-tool-BQOJ7xuQ.js} +5 -5
- package/dist/{sessions-history-tool-Br3I5NQV.js → sessions-history-tool-ClVtna5z.js} +4 -4
- package/dist/{sessions-history-tool-BS2CEMeV.js → sessions-history-tool-wBp39NZW.js} +5 -5
- package/dist/{sessions-list-tool-D9haQlmB.js → sessions-list-tool-C0O6mqWz.js} +5 -5
- package/dist/{sessions-list-tool-BqcU9vby.js → sessions-list-tool-CH113G82.js} +5 -5
- package/dist/{sessions-list-tool-D0ZSfep3.js → sessions-list-tool-DWfvM5MD.js} +4 -4
- package/dist/{sessions-F6cK8l_1.js → sessions-lzLAfYqN.js} +2 -2
- package/dist/{sessions-send-tool-BOQTRsUE.js → sessions-send-tool-BIN3x_Tj.js} +4 -4
- package/dist/{sessions-send-tool-Bfg4pkkA.js → sessions-send-tool-BIoLJtEy.js} +6 -6
- package/dist/{sessions-send-tool-endz3GxW.js → sessions-send-tool-dV7l6L-a.js} +6 -6
- package/dist/{sessions-spawn-tool-CzR5BUIZ.js → sessions-spawn-tool-BtjzxdZj.js} +1 -1
- package/dist/{sessions-spawn-tool-DaJfWSEQ.js → sessions-spawn-tool-C5XN2MAW.js} +1 -1
- package/dist/{sessions-spawn-tool-OkqKciwd.js → sessions-spawn-tool-DXkgQ1c1.js} +1 -1
- package/dist/{sessions-DQF8fZS5.js → sessions-wZjDzkQG.js} +5 -5
- package/dist/{shared-B1dSlQWp.js → shared-B6M3Crny.js} +2 -2
- package/dist/{shared-CTyE2G7t.js → shared-D-22sIu6.js} +2 -2
- package/dist/{skills-cli-DV341ngV.js → skills-cli-Bz3cwPj_.js} +2 -2
- package/dist/{skills-cli-Mxzv9u2e.js → skills-cli-CmaLyEtb.js} +2 -2
- package/dist/{status-BTlLe0ON.js → status-B4sO93X3.js} +13 -13
- package/dist/{status-DJTNPoQJ.js → status-CHylpoRy.js} +3 -3
- package/dist/{status-BJ4KXOo4.js → status-CjmAMIhE.js} +3 -3
- package/dist/{status-_f9Uj4h_.js → status-DowOkHsW.js} +14 -14
- package/dist/{status.update-C0dSEZaW.js → status.update-BvmD1bXY.js} +1 -1
- package/dist/{status.update-BLkpPZhg.js → status.update-D8oMtrQX.js} +1 -1
- package/dist/stock-entry-create-tool-DfNIrQzF.js +65 -0
- package/dist/stock-entry-create-tool-DkDA256U.js +65 -0
- package/dist/stock-entry-create-tool-JrqollnX.js +65 -0
- package/dist/stock-query-tool-3bjENU9A.js +40 -0
- package/dist/stock-query-tool-B2OY0tLg.js +40 -0
- package/dist/stock-query-tool-Bsr6eYmx.js +40 -0
- package/dist/{subagent-registry-Dctvgiur.js → subagent-registry-Ii11UQhV.js} +437 -47
- package/dist/{subagents-tool-MpxHOawd.js → subagents-tool-DTZpiDFG.js} +6 -6
- package/dist/{subagents-tool-ByM5O-ce.js → subagents-tool-DdprLwOY.js} +6 -6
- package/dist/{subagents-tool-BCrHvFRR.js → subagents-tool-QLFj9isA.js} +5 -5
- package/dist/{system-cli-COUy2PIL.js → system-cli-B6ybt64_.js} +1 -1
- package/dist/{system-cli-cLZOHCpV.js → system-cli-CMB9gLS1.js} +1 -1
- package/dist/{systemd-hints-BX82rgwJ.js → systemd-hints-BzOt_XFu.js} +1 -1
- package/dist/{systemd-hints-BmHO3vGm.js → systemd-hints-DmsFHA7q.js} +1 -1
- package/dist/{tables-BoNY2PMq.js → tables-CvGD4xT4.js} +1 -1
- package/dist/{tables-CnpzK-sx.js → tables-s_KxXF6r.js} +1 -1
- package/dist/{targets-vjobqKDT.js → targets-DbWZn0md.js} +1 -1
- package/dist/{targets-CJj3TAfL.js → targets-j9B_CT6R.js} +2 -2
- package/dist/{targets-CeBejFtg.js → targets-mUIc5_ub.js} +1 -1
- package/dist/task-create-tool-B-wyPaLW.js +57 -0
- package/dist/task-create-tool-CfhgqDpn.js +57 -0
- package/dist/task-create-tool-R0RYIlSC.js +57 -0
- package/dist/task-update-tool-B_ujDPoz.js +60 -0
- package/dist/task-update-tool-CyCYpo5t.js +60 -0
- package/dist/task-update-tool-DI5TYHQT.js +60 -0
- package/dist/ticket-comment-tool-BgSUbC6T.js +37 -0
- package/dist/ticket-comment-tool-BtjOiFwD.js +37 -0
- package/dist/ticket-comment-tool-DRqPzvJk.js +37 -0
- package/dist/ticket-create-tool-CPO6AKPb.js +47 -0
- package/dist/ticket-create-tool-DWQBJHsn.js +47 -0
- package/dist/ticket-create-tool-lWSiDlYL.js +47 -0
- package/dist/ticket-update-tool-BeD2z9ZY.js +58 -0
- package/dist/ticket-update-tool-CjpJcT7m.js +58 -0
- package/dist/ticket-update-tool-eCjmYW_F.js +58 -0
- package/dist/tickets-query-tool-6MsgLSkO.js +48 -0
- package/dist/tickets-query-tool-C3YCslkG.js +48 -0
- package/dist/tickets-query-tool-D0y1ebEc.js +48 -0
- package/dist/{tools-cli-Drw57lNT.js → tools-cli-BcqfTXH3.js} +3 -3
- package/dist/{tools-cli-Da3xpL2N.js → tools-cli-CsSY7v2U.js} +3 -3
- package/dist/trash-CAuria7l.js +30 -0
- package/dist/trash-MreuHnUR.js +30 -0
- package/dist/{tts-DOuWQCl0.js → tts-BID2aWnP.js} +1 -1
- package/dist/{tts-C8sci73b.js → tts-C3AwA748.js} +1 -1
- package/dist/{tts-DT16K-Mg.js → tts-DCwuFqIs.js} +1 -1
- package/dist/{tts-tool-D1xTgy6g.js → tts-tool-93YXtjYQ.js} +3 -3
- package/dist/{tts-tool-0BxHJ75w.js → tts-tool-Dp3bbxji.js} +3 -3
- package/dist/{tts-tool-D9A3NRZE.js → tts-tool-mOELbBEX.js} +2 -2
- package/dist/{tui-CICAogKo.js → tui-BblnJk5A.js} +5 -5
- package/dist/{tui-CW99vGjf.js → tui-Dqvb7RGr.js} +5 -5
- package/dist/{tui-cli-Bz_Y0kQF.js → tui-cli-DTuLv6YU.js} +1 -1
- package/dist/{tui-cli-Bde9FKc6.js → tui-cli-iijuUo1d.js} +1 -1
- package/dist/{update-cli-D6WNU0LC.js → update-cli-Bxtp7C-D.js} +8 -8
- package/dist/{update-cli-LVqEOX8z.js → update-cli-kEGnxFk2.js} +8 -8
- package/dist/{web-yADrkaRA.js → web-B95TAk7m.js} +12 -12
- package/dist/web-BAY_a6tU.js +2 -0
- package/dist/{web-search-B7JFlIV1.js → web-search-BR1c-hlF.js} +3 -3
- package/dist/{web-search-CcsH3zdM.js → web-search-CgNIDJss.js} +4 -4
- package/dist/{web-search-CotaJGI9.js → web-search-DKL6hJzo.js} +4 -4
- package/dist/{webhooks-cli-DEXYEmNX.js → webhooks-cli-Do-F-mnF.js} +3 -3
- package/dist/{webhooks-cli-BJgyjOoC.js → webhooks-cli-DqngLhaB.js} +3 -3
- package/dist/{workspace-dirs-0d7swJWd.js → workspace-dirs-CG9EsWKG.js} +3 -3
- package/package.json +1 -1
- package/dist/config-guard-B_1VhFji.js +0 -2
- package/dist/daemon-install-helpers-CHeRULJH.js +0 -2
- package/dist/daemon-install-helpers-CMbh4Lp7.js +0 -2
- package/dist/doctor-completion-FuFJd6IQ.js +0 -2
- package/dist/doctor-completion-KAdCjzsy.js +0 -2
- package/dist/trash-DPd6fFGH.js +0 -21
- package/dist/trash-DYakNGQh.js +0 -21
- package/dist/web-OUk9Is6v.js +0 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as wrapToolWithTracking } from "./tool-tracking-Crsmwdkj.js";
|
|
2
|
+
import { i as jsonResult, s as readStringParam } from "./common-CRD8HhuP.js";
|
|
3
|
+
import { a as hubToolsAvailable, n as ORG_ID_FIELD, r as hubGet } from "./hub-common-D7t3vbq1.js";
|
|
4
|
+
import { Type } from "typebox";
|
|
5
|
+
//#region src/agents/tools/hub/orders-query-tool.ts
|
|
6
|
+
const OrdersQuerySchema = Type.Object({
|
|
7
|
+
status: Type.Optional(Type.Union([
|
|
8
|
+
Type.Literal("open"),
|
|
9
|
+
Type.Literal("draft"),
|
|
10
|
+
Type.Literal("confirmed"),
|
|
11
|
+
Type.Literal("invoiced"),
|
|
12
|
+
Type.Literal("cancelled")
|
|
13
|
+
], { description: "'open' covers all non-terminal statuses (matches the human sales dashboard default)." })),
|
|
14
|
+
contactId: Type.Optional(Type.String({ description: "Filter to one CRM contact's orders." })),
|
|
15
|
+
orgId: ORG_ID_FIELD
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* Sales module read: orders by status/date range. Calls the hub's
|
|
19
|
+
* /api/gateway/query/orders with the session's personal agent id.
|
|
20
|
+
*/
|
|
21
|
+
function createOrdersQueryTool(options) {
|
|
22
|
+
const agentId = options.agentId;
|
|
23
|
+
if (!hubToolsAvailable(agentId)) return null;
|
|
24
|
+
return wrapToolWithTracking({
|
|
25
|
+
label: "Orders Query",
|
|
26
|
+
name: "orders_query",
|
|
27
|
+
description: "List sales orders, filterable by status or CRM contact (no date-range filter). Use for 'pending orders', 'open orders'. To change an order's status use order_update_status. Present results with a deep link like [order](/sales/{orderId}).",
|
|
28
|
+
parameters: OrdersQuerySchema,
|
|
29
|
+
execute: async (_toolCallId, args) => {
|
|
30
|
+
const params = args;
|
|
31
|
+
return jsonResult(await hubGet("query/orders", agentId, {
|
|
32
|
+
status: readStringParam(params, "status"),
|
|
33
|
+
contact: readStringParam(params, "contactId"),
|
|
34
|
+
orgId: readStringParam(params, "orgId")
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
}, "builtin:orders_query");
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { createOrdersQueryTool };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as wrapToolWithTracking } from "./tool-tracking-CtkaABAd.js";
|
|
2
|
+
import { i as jsonResult, s as readStringParam } from "./common-mPQVYX41.js";
|
|
3
|
+
import { a as hubToolsAvailable, n as ORG_ID_FIELD, r as hubGet } from "./hub-common-BXMO3y1A.js";
|
|
4
|
+
import { Type } from "typebox";
|
|
5
|
+
//#region src/agents/tools/hub/orders-query-tool.ts
|
|
6
|
+
const OrdersQuerySchema = Type.Object({
|
|
7
|
+
status: Type.Optional(Type.Union([
|
|
8
|
+
Type.Literal("open"),
|
|
9
|
+
Type.Literal("draft"),
|
|
10
|
+
Type.Literal("confirmed"),
|
|
11
|
+
Type.Literal("invoiced"),
|
|
12
|
+
Type.Literal("cancelled")
|
|
13
|
+
], { description: "'open' covers all non-terminal statuses (matches the human sales dashboard default)." })),
|
|
14
|
+
contactId: Type.Optional(Type.String({ description: "Filter to one CRM contact's orders." })),
|
|
15
|
+
orgId: ORG_ID_FIELD
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* Sales module read: orders by status/date range. Calls the hub's
|
|
19
|
+
* /api/gateway/query/orders with the session's personal agent id.
|
|
20
|
+
*/
|
|
21
|
+
function createOrdersQueryTool(options) {
|
|
22
|
+
const agentId = options.agentId;
|
|
23
|
+
if (!hubToolsAvailable(agentId)) return null;
|
|
24
|
+
return wrapToolWithTracking({
|
|
25
|
+
label: "Orders Query",
|
|
26
|
+
name: "orders_query",
|
|
27
|
+
description: "List sales orders, filterable by status or CRM contact (no date-range filter). Use for 'pending orders', 'open orders'. To change an order's status use order_update_status. Present results with a deep link like [order](/sales/{orderId}).",
|
|
28
|
+
parameters: OrdersQuerySchema,
|
|
29
|
+
execute: async (_toolCallId, args) => {
|
|
30
|
+
const params = args;
|
|
31
|
+
return jsonResult(await hubGet("query/orders", agentId, {
|
|
32
|
+
status: readStringParam(params, "status"),
|
|
33
|
+
contact: readStringParam(params, "contactId"),
|
|
34
|
+
orgId: readStringParam(params, "orgId")
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
}, "builtin:orders_query");
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { createOrdersQueryTool };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as wrapToolWithTracking } from "./tool-tracking-4XjaoCwP.js";
|
|
2
|
+
import { i as jsonResult, s as readStringParam } from "./common-BHzo6lXS.js";
|
|
3
|
+
import { a as hubToolsAvailable, n as ORG_ID_FIELD, r as hubGet } from "./hub-common-D7t3vbq1.js";
|
|
4
|
+
import { Type } from "typebox";
|
|
5
|
+
//#region src/agents/tools/hub/orders-query-tool.ts
|
|
6
|
+
const OrdersQuerySchema = Type.Object({
|
|
7
|
+
status: Type.Optional(Type.Union([
|
|
8
|
+
Type.Literal("open"),
|
|
9
|
+
Type.Literal("draft"),
|
|
10
|
+
Type.Literal("confirmed"),
|
|
11
|
+
Type.Literal("invoiced"),
|
|
12
|
+
Type.Literal("cancelled")
|
|
13
|
+
], { description: "'open' covers all non-terminal statuses (matches the human sales dashboard default)." })),
|
|
14
|
+
contactId: Type.Optional(Type.String({ description: "Filter to one CRM contact's orders." })),
|
|
15
|
+
orgId: ORG_ID_FIELD
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* Sales module read: orders by status/date range. Calls the hub's
|
|
19
|
+
* /api/gateway/query/orders with the session's personal agent id.
|
|
20
|
+
*/
|
|
21
|
+
function createOrdersQueryTool(options) {
|
|
22
|
+
const agentId = options.agentId;
|
|
23
|
+
if (!hubToolsAvailable(agentId)) return null;
|
|
24
|
+
return wrapToolWithTracking({
|
|
25
|
+
label: "Orders Query",
|
|
26
|
+
name: "orders_query",
|
|
27
|
+
description: "List sales orders, filterable by status or CRM contact (no date-range filter). Use for 'pending orders', 'open orders'. To change an order's status use order_update_status. Present results with a deep link like [order](/sales/{orderId}).",
|
|
28
|
+
parameters: OrdersQuerySchema,
|
|
29
|
+
execute: async (_toolCallId, args) => {
|
|
30
|
+
const params = args;
|
|
31
|
+
return jsonResult(await hubGet("query/orders", agentId, {
|
|
32
|
+
status: readStringParam(params, "status"),
|
|
33
|
+
contact: readStringParam(params, "contactId"),
|
|
34
|
+
orgId: readStringParam(params, "orgId")
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
}, "builtin:orders_query");
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { createOrdersQueryTool };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "./plugins-
|
|
1
|
+
import "./plugins-Dt-7Y5wv.js";
|
|
2
2
|
//#region src/cli/deps.ts
|
|
3
3
|
function createDefaultDeps() {
|
|
4
4
|
return {
|
|
5
5
|
sendMessageWhatsApp: async (...args) => {
|
|
6
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
6
|
+
const { sendMessageWhatsApp } = await import("./web-B95TAk7m.js");
|
|
7
7
|
return await sendMessageWhatsApp(...args);
|
|
8
8
|
},
|
|
9
9
|
sendMessageTelegram: async (...args) => {
|
|
10
|
-
const { sendMessageTelegram } = await import("./send-
|
|
10
|
+
const { sendMessageTelegram } = await import("./send-Bo3iRRV4.js");
|
|
11
11
|
return await sendMessageTelegram(...args);
|
|
12
12
|
},
|
|
13
13
|
sendMessageDiscord: async (...args) => {
|
|
14
|
-
const { sendMessageDiscord } = await import("./send-
|
|
14
|
+
const { sendMessageDiscord } = await import("./send-B-l_LQjz.js").then((n) => n.t);
|
|
15
15
|
return await sendMessageDiscord(...args);
|
|
16
16
|
},
|
|
17
17
|
sendMessageSlack: async (...args) => {
|
|
18
|
-
const { sendMessageSlack } = await import("./send-
|
|
18
|
+
const { sendMessageSlack } = await import("./send-DWGmd1lt.js");
|
|
19
19
|
return await sendMessageSlack(...args);
|
|
20
20
|
},
|
|
21
21
|
sendMessageSignal: async (...args) => {
|
|
22
|
-
const { sendMessageSignal } = await import("./deliver-
|
|
22
|
+
const { sendMessageSignal } = await import("./deliver-9LL4m3Lu.js").then((n) => n.l);
|
|
23
23
|
return await sendMessageSignal(...args);
|
|
24
24
|
},
|
|
25
25
|
sendMessageIMessage: async (...args) => {
|
|
26
|
-
const { sendMessageIMessage } = await import("./send-
|
|
26
|
+
const { sendMessageIMessage } = await import("./send-oPMRcy46.js");
|
|
27
27
|
return await sendMessageIMessage(...args);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { $ as normalizeE164, g as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { d as resolveThreadSessionKeys } from "./session-key-DK3D9dkE.js";
|
|
3
|
-
import { X as normalizeStringEntriesLower, s as recordSessionMetaFromInbound } from "./sessions-
|
|
4
|
-
import { a as isWhatsAppGroupJid, m as resolveSlackAccount, o as normalizeWhatsAppTarget, t as getChannelPlugin } from "./plugins-
|
|
3
|
+
import { X as normalizeStringEntriesLower, s as recordSessionMetaFromInbound } from "./sessions-wZjDzkQG.js";
|
|
4
|
+
import { a as isWhatsAppGroupJid, m as resolveSlackAccount, o as normalizeWhatsAppTarget, t as getChannelPlugin } from "./plugins-Dt-7Y5wv.js";
|
|
5
5
|
import { t as parseSlackTarget } from "./targets-BqSCKA2y.js";
|
|
6
6
|
import { c as resolveStorePath } from "./paths-D59m1grH.js";
|
|
7
7
|
import { n as resolveTelegramTargetChatType, t as parseTelegramTarget } from "./targets-CKr524qZ.js";
|
|
8
|
-
import { c as unknownTargetError, s as ambiguousTargetError, t as buildAgentSessionKey } from "./resolve-route-
|
|
9
|
-
import { b as normalizeTargetForProvider, v as buildTargetResolverSignature, y as normalizeChannelTargetInput } from "./message-ledger-
|
|
8
|
+
import { c as unknownTargetError, s as ambiguousTargetError, t as buildAgentSessionKey } from "./resolve-route-Cm40tM17.js";
|
|
9
|
+
import { b as normalizeTargetForProvider, v as buildTargetResolverSignature, y as normalizeChannelTargetInput } from "./message-ledger-BeuUbcUn.js";
|
|
10
10
|
import { t as createSlackWebClient } from "./client-B0alQSqy.js";
|
|
11
|
-
import { t as parseDiscordTarget } from "./targets-
|
|
11
|
+
import { t as parseDiscordTarget } from "./targets-DbWZn0md.js";
|
|
12
12
|
import { n as normalizeIMessageHandle, r as parseIMessageTarget } from "./targets-BKsVX1vk.js";
|
|
13
|
-
import { t as buildTelegramGroupPeerId } from "./helpers-
|
|
13
|
+
import { t as buildTelegramGroupPeerId } from "./helpers-v9HeNa7s.js";
|
|
14
14
|
//#region src/infra/outbound/directory-cache.ts
|
|
15
15
|
function buildDirectoryCacheKey(key) {
|
|
16
16
|
const signature = key.signature ?? "default";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { h as normalizeE164 } from "./utils-DsgtGH3c.js";
|
|
2
2
|
import { t as defaultRuntime } from "./runtime-Da615Z-K.js";
|
|
3
3
|
import { f as resolveThreadSessionKeys } from "./session-key-BcXqsG0l.js";
|
|
4
|
-
import { a as isWhatsAppGroupJid, o as normalizeWhatsAppTarget, t as getChannelPlugin, x as resolveSlackAccount } from "./plugins-
|
|
5
|
-
import { $ as normalizeStringEntriesLower, s as recordSessionMetaFromInbound } from "./sessions-
|
|
4
|
+
import { a as isWhatsAppGroupJid, o as normalizeWhatsAppTarget, t as getChannelPlugin, x as resolveSlackAccount } from "./plugins-C_QBgBKj.js";
|
|
5
|
+
import { $ as normalizeStringEntriesLower, s as recordSessionMetaFromInbound } from "./sessions-BdTwFSod.js";
|
|
6
6
|
import { t as parseSlackTarget } from "./targets-BqSCKA2y.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-Ds2czhyU.js";
|
|
8
8
|
import { n as resolveTelegramTargetChatType, t as parseTelegramTarget } from "./targets-CKr524qZ.js";
|
|
9
|
-
import { a as ambiguousTargetError, o as unknownTargetError, s as buildAgentSessionKey } from "./targets-
|
|
10
|
-
import { d as normalizeTargetForProvider, l as buildTargetResolverSignature, u as normalizeChannelTargetInput } from "./reply-payloads-
|
|
9
|
+
import { a as ambiguousTargetError, o as unknownTargetError, s as buildAgentSessionKey } from "./targets-j9B_CT6R.js";
|
|
10
|
+
import { d as normalizeTargetForProvider, l as buildTargetResolverSignature, u as normalizeChannelTargetInput } from "./reply-payloads-haUxLKio.js";
|
|
11
11
|
import { t as createSlackWebClient } from "./client-B0alQSqy.js";
|
|
12
|
-
import { t as parseDiscordTarget } from "./targets-
|
|
12
|
+
import { t as parseDiscordTarget } from "./targets-mUIc5_ub.js";
|
|
13
13
|
import { n as normalizeIMessageHandle, r as parseIMessageTarget } from "./targets-BFB7rAKb.js";
|
|
14
|
-
import { t as buildTelegramGroupPeerId } from "./helpers-
|
|
14
|
+
import { t as buildTelegramGroupPeerId } from "./helpers-DrKNVVVu.js";
|
|
15
15
|
//#region src/infra/outbound/directory-cache.ts
|
|
16
16
|
function buildDirectoryCacheKey(key) {
|
|
17
17
|
const signature = key.signature ?? "default";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as theme } from "./theme-CDbj88LB.js";
|
|
2
2
|
import { t as defaultRuntime } from "./runtime-Da615Z-K.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-slIqNG4J.js";
|
|
4
|
-
import { i as loadConfig } from "./io-
|
|
5
|
-
import "./config-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
+
import { i as loadConfig } from "./io-DsXKMvz3.js";
|
|
5
|
+
import "./config-DKbC00-8.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-C_QBgBKj.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-C1xb6h4b.js";
|
|
8
|
-
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-
|
|
8
|
+
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-Cw5GsbNo.js";
|
|
9
9
|
import { t as renderTable } from "./table-BhZjI4xa.js";
|
|
10
10
|
//#region src/pairing/pairing-labels.ts
|
|
11
11
|
function resolvePairingIdLabel(channel) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { St as theme, g as defaultRuntime } from "./entry.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-D86vQ65E.js";
|
|
3
|
-
import { i as loadConfig } from "./io-
|
|
4
|
-
import "./config-
|
|
5
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
6
|
-
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-
|
|
3
|
+
import { i as loadConfig } from "./io-CUOJNJs6.js";
|
|
4
|
+
import "./config-GA90_ZLO.js";
|
|
5
|
+
import { r as normalizeChannelId } from "./plugins-Dt-7Y5wv.js";
|
|
6
|
+
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests, s as getPairingAdapter } from "./pairing-store-Da_7uUr_.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-B03m-P2Z.js";
|
|
8
8
|
import { t as renderTable } from "./table-C83lTYaN.js";
|
|
9
9
|
//#region src/pairing/pairing-labels.ts
|
|
@@ -2,8 +2,8 @@ import { T as resolveRequiredHomeDir, g as resolveOAuthDir, v as resolveStateDir
|
|
|
2
2
|
import { x as safeParseJson } from "./utils-DsgtGH3c.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-Cnn1-kOi.js";
|
|
4
4
|
import { Kt as withFileLock$1 } from "./model-selection-CyA2hvMy.js";
|
|
5
|
-
import { i as loadConfig } from "./io-
|
|
6
|
-
import { L as resolveHubMetricsConfig, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
5
|
+
import { i as loadConfig } from "./io-DsXKMvz3.js";
|
|
6
|
+
import { L as resolveHubMetricsConfig, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-C_QBgBKj.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { T as resolveRequiredHomeDir, g as resolveOAuthDir, v as resolveStateDir } from "./paths-aEg9UgoF.js";
|
|
2
2
|
import { it as safeParseJson, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { L as withFileLock$1 } from "./auth-profiles-tlxr0i8q.js";
|
|
4
|
-
import { i as loadConfig } from "./io-
|
|
5
|
-
import { A as resolveHubMetricsConfig, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { i as loadConfig } from "./io-CUOJNJs6.js";
|
|
5
|
+
import { A as resolveHubMetricsConfig, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Dt-7Y5wv.js";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as createSubsystemLogger, ut as truncateUtf16Safe } from "./entry.js";
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Dh_zn6nH.js";
|
|
3
3
|
import { t as sanitizeContentBlocksImages } from "./tool-images-BeP6oYp4.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { N as resolveUserPath, n as defaultRuntime, o as CHANNEL_IDS, rt as STATE_DIR, t as createSubsystemLogger, z as truncateUtf16Safe } from "./subsystem-Bz8lTz2g.js";
|
|
2
2
|
import { C as ensureAgentWorkspace, I as normalizeAgentId, R as resolveAgentIdFromSessionKey, _ as DEFAULT_HEARTBEAT_FILENAME, b as DEFAULT_TOOLS_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, m as DEFAULT_AGENT_WORKSPACE_DIR, n as resolveAgentConfig, p as DEFAULT_AGENTS_FILENAME, u as resolveSessionAgentId, v as DEFAULT_IDENTITY_FILENAME, x as DEFAULT_USER_FILENAME, y as DEFAULT_SOUL_FILENAME } from "./agent-scope-G3FqXqqy.js";
|
|
3
3
|
import { V as ensureAuthProfileStore, Y as formatCliCommand } from "./model-selection-BkItvJJg.js";
|
|
4
|
-
import { S as SCOPE_PRESETS, n as loadConfig } from "./config-
|
|
4
|
+
import { S as SCOPE_PRESETS, n as loadConfig } from "./config-yRiIX18Z.js";
|
|
5
5
|
import { t as emitReliabilityEvent } from "./reliability-tVMIU0Dx.js";
|
|
6
6
|
import { t as sanitizeContentBlocksImages } from "./tool-images-CoAUa2z7.js";
|
|
7
|
-
import { A as canonicalizeMainSessionAlias, I as acquireSessionWriteLock, j as resolveAgentMainSessionKey } from "./sessions-
|
|
7
|
+
import { A as canonicalizeMainSessionAlias, I as acquireSessionWriteLock, j as resolveAgentMainSessionKey } from "./sessions-lzLAfYqN.js";
|
|
8
8
|
import { a as syncSkillsToWorkspace, c as resolveSkillKey, d as resolveSandboxInputPath, f as resolveSandboxPath, s as resolveSkillConfig } from "./workspace-1EekCi8N.js";
|
|
9
|
-
import { E as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, T as DEFAULT_OPENCLAW_BROWSER_COLOR } from "./chrome-
|
|
10
|
-
import { f as setBridgeAuthForPort, h as safeEqualSecret, i as resolveProfile, m as resolveBrowserControlAuth, n as registerBrowserRoutes, p as ensureBrowserControlAuth, t as createBrowserRouteContext, u as deleteBridgeAuthForPort } from "./server-context-
|
|
9
|
+
import { E as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, T as DEFAULT_OPENCLAW_BROWSER_COLOR } from "./chrome-Bm0i3JJ5.js";
|
|
10
|
+
import { f as setBridgeAuthForPort, h as safeEqualSecret, i as resolveProfile, m as resolveBrowserControlAuth, n as registerBrowserRoutes, p as ensureBrowserControlAuth, t as createBrowserRouteContext, u as deleteBridgeAuthForPort } from "./server-context-DagQm3En.js";
|
|
11
11
|
import { r as isLoopbackHost } from "./ws-ue1BYjxz.js";
|
|
12
12
|
import path, { posix } from "node:path";
|
|
13
13
|
import { existsSync, realpathSync } from "node:fs";
|
|
@@ -29,29 +29,52 @@ const GENERATED_TOOL_GROUPS = {
|
|
|
29
29
|
"group:minion": [
|
|
30
30
|
"agents_list",
|
|
31
31
|
"architect_pipeline",
|
|
32
|
+
"booking_cancel",
|
|
33
|
+
"booking_create",
|
|
34
|
+
"booking_reschedule",
|
|
35
|
+
"bookings_query",
|
|
36
|
+
"brain_remember",
|
|
37
|
+
"brain_search",
|
|
38
|
+
"brains_list",
|
|
32
39
|
"browser",
|
|
33
40
|
"canvas",
|
|
41
|
+
"contact_tag",
|
|
42
|
+
"contact_update",
|
|
34
43
|
"crm_insight",
|
|
35
44
|
"crm_query",
|
|
36
45
|
"crm_search",
|
|
37
46
|
"cron",
|
|
47
|
+
"finance_query",
|
|
38
48
|
"gateway",
|
|
39
49
|
"gws_auth_revoke",
|
|
40
50
|
"gws_auth_start",
|
|
41
51
|
"gws_auth_status",
|
|
42
52
|
"gws_exec",
|
|
53
|
+
"hub_pages",
|
|
43
54
|
"image",
|
|
44
55
|
"knowledge_graph",
|
|
45
56
|
"message",
|
|
46
57
|
"nodes",
|
|
58
|
+
"notify_user",
|
|
59
|
+
"order_update_status",
|
|
60
|
+
"orders_query",
|
|
61
|
+
"projects_query",
|
|
47
62
|
"session_status",
|
|
48
63
|
"sessions_history",
|
|
49
64
|
"sessions_list",
|
|
50
65
|
"sessions_send",
|
|
51
66
|
"sessions_spawn",
|
|
52
67
|
"skill_view",
|
|
68
|
+
"stock_entry_create",
|
|
69
|
+
"stock_query",
|
|
53
70
|
"subagents",
|
|
54
71
|
"summarize",
|
|
72
|
+
"task_create",
|
|
73
|
+
"task_update",
|
|
74
|
+
"ticket_comment",
|
|
75
|
+
"ticket_create",
|
|
76
|
+
"ticket_update",
|
|
77
|
+
"tickets_query",
|
|
55
78
|
"tts",
|
|
56
79
|
"update_behaviour",
|
|
57
80
|
"venture_studio",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as truncateUtf16Safe } from "./utils-DsgtGH3c.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Cnn1-kOi.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Co0HrQB2.js";
|
|
4
4
|
import { t as sanitizeContentBlocksImages } from "./tool-images-QJzlaPLn.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
1
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-CDWmWyvU.js";
|
|
2
2
|
import { t as stripReasoningTagsFromText } from "./reasoning-tags-DYznQbdm.js";
|
|
3
3
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-DQ7I53Xn.js";
|
|
4
4
|
//#region src/shared/chat-content.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
1
|
+
import { S as sanitizeUserFacingText } from "./pi-embedded-helpers-CwDskpRg.js";
|
|
2
2
|
import { t as stripReasoningTagsFromText } from "./reasoning-tags-DYznQbdm.js";
|
|
3
3
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-ByuoRPis.js";
|
|
4
4
|
//#region src/shared/chat-content.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as shortenHomeInString } from "./subsystem-Bz8lTz2g.js";
|
|
2
|
-
import { S as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
2
|
+
import { S as sanitizeUserFacingText } from "./pi-embedded-helpers-CHtXwjlA.js";
|
|
3
3
|
import { n as redactToolDetail } from "./redact-Bekggfw4.js";
|
|
4
4
|
import { t as stripReasoningTagsFromText } from "./reasoning-tags-DYznQbdm.js";
|
|
5
5
|
import "node:module";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as __exportAll } from "./pi-embedded-utils-
|
|
1
|
+
import { m as __exportAll } from "./pi-embedded-utils-MWdH9ypO.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { AuthStorage, AuthStorage as AuthStorage$1, ModelRegistry, ModelRegistry as ModelRegistry$1 } from "@earendil-works/pi-coding-agent";
|
|
4
4
|
//#region src/agents/models/pi-model-discovery.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { u as resolveAgentIdFromSessionKey, x as resolveThreadParentSessionKey } from "./session-key-DK3D9dkE.js";
|
|
2
2
|
import { l as resolveAgentWorkspaceDir, r as resolveAgentConfig, u as resolveDefaultAgentId } from "./agent-scope-BP7xXcTE.js";
|
|
3
|
-
import { E as ALL_SCOPES, T as AGENT_TYPE_SCOPES } from "./io-
|
|
3
|
+
import { E as ALL_SCOPES, T as AGENT_TYPE_SCOPES } from "./io-CUOJNJs6.js";
|
|
4
4
|
import { l as normalizeMessageChannel } from "./message-channel-C02KGm4w.js";
|
|
5
|
-
import { B as getChannelDock, W as resolveChannelGroupToolsPolicy } from "./sessions-
|
|
6
|
-
import { C as compileGlobPatterns, b as normalizeToolName, p as TOOL_GROUPS, v as expandToolGroups, w as matchesAnyGlobPattern } from "./sandbox-
|
|
5
|
+
import { B as getChannelDock, W as resolveChannelGroupToolsPolicy } from "./sessions-wZjDzkQG.js";
|
|
6
|
+
import { C as compileGlobPatterns, b as normalizeToolName, p as TOOL_GROUPS, v as expandToolGroups, w as matchesAnyGlobPattern } from "./sandbox-Dh_zn6nH.js";
|
|
7
7
|
//#region src/agents/identity/workspace-dirs.ts
|
|
8
8
|
function listAgentWorkspaceDirs(cfg) {
|
|
9
9
|
const dirs = /* @__PURE__ */ new Set();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as normalizeChatChannelId, D as listChatChannels, E as getChatChannelMeta, Q as isRecord } from "./entry.js";
|
|
2
2
|
import { J as normalizeProviderId } from "./auth-profiles-tlxr0i8q.js";
|
|
3
|
-
import { s as hasAnyWhatsAppAuth } from "./plugins-
|
|
3
|
+
import { s as hasAnyWhatsAppAuth } from "./plugins-Dt-7Y5wv.js";
|
|
4
4
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-DKtdSX5i.js";
|
|
5
5
|
import { t as ensurePluginAllowlisted } from "./plugins-allowlist-DNuAZt78.js";
|
|
6
6
|
//#region src/config/plugin-auto-enable.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as isRecord } from "./utils-DsgtGH3c.js";
|
|
2
2
|
import { _ as listChatChannels, b as normalizeChatChannelId, g as getChatChannelMeta } from "./subsystem-Cnn1-kOi.js";
|
|
3
3
|
import { l as normalizeProviderId } from "./model-selection-CyA2hvMy.js";
|
|
4
|
-
import { s as hasAnyWhatsAppAuth } from "./plugins-
|
|
4
|
+
import { s as hasAnyWhatsAppAuth } from "./plugins-C_QBgBKj.js";
|
|
5
5
|
import { n as getChannelPluginCatalogEntry, r as listChannelPluginCatalogEntries } from "./catalog-gQ7yZnqz.js";
|
|
6
6
|
import { t as ensurePluginAllowlisted } from "./plugins-allowlist-DNuAZt78.js";
|
|
7
7
|
//#region src/config/plugin-auto-enable.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-2rV9d50f.js";
|
|
2
|
-
import { ln as loadMinionPlugins } from "./reply-
|
|
2
|
+
import { ln as loadMinionPlugins } from "./reply-Dy4Gl8EU.js";
|
|
3
3
|
import { t as createSubsystemLogger, x as getActivePluginRegistry } from "./subsystem-Cnn1-kOi.js";
|
|
4
4
|
import { l as resolveAgentWorkspaceDir, u as resolveDefaultAgentId } from "./agent-scope-D_1ZJVsc.js";
|
|
5
|
-
import { i as loadConfig } from "./io-
|
|
6
|
-
import "./config-
|
|
5
|
+
import { i as loadConfig } from "./io-DsXKMvz3.js";
|
|
6
|
+
import "./config-DKbC00-8.js";
|
|
7
7
|
import "./logging-BlQyBIpf.js";
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-2rV9d50f.js";
|
|
2
2
|
import { j as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { l as resolveAgentWorkspaceDir, u as resolveDefaultAgentId } from "./agent-scope-BP7xXcTE.js";
|
|
4
|
-
import { i as loadConfig } from "./io-
|
|
5
|
-
import "./config-
|
|
6
|
-
import { A as loadMinionPlugins } from "./subagent-registry-
|
|
4
|
+
import { i as loadConfig } from "./io-CUOJNJs6.js";
|
|
5
|
+
import "./config-GA90_ZLO.js";
|
|
6
|
+
import { A as loadMinionPlugins } from "./subagent-registry-Ii11UQhV.js";
|
|
7
7
|
import "./logging-D43UWj1X.js";
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Cancel an existing booking. WRITE — confirm contract: confirm=false
|
|
4
|
+
* returns a preview, confirm=true only after the user explicitly agrees.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createBookingCancelTool(options: {
|
|
7
|
+
agentId?: string;
|
|
8
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Create a scheduling booking. WRITE — confirm contract: call with
|
|
4
|
+
* confirm=false first to get a preview of what would be created; only call
|
|
5
|
+
* with confirm=true after the user has explicitly agreed to the exact
|
|
6
|
+
* booking (attendee, time, service).
|
|
7
|
+
*/
|
|
8
|
+
export declare function createBookingCreateTool(options: {
|
|
9
|
+
agentId?: string;
|
|
10
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Reschedule an existing booking. The hub implements this as cancel-old +
|
|
4
|
+
* create-new (no atomic "move" service call exists), so this tool must send
|
|
5
|
+
* the FULL new-slot payload — same shape as booking_create — plus the
|
|
6
|
+
* bookingId being cancelled. WRITE — confirm contract: confirm=false returns
|
|
7
|
+
* a preview (cancels + new start), confirm=true only after the user
|
|
8
|
+
* explicitly agrees.
|
|
9
|
+
*/
|
|
10
|
+
export declare function createBookingRescheduleTool(options: {
|
|
11
|
+
agentId?: string;
|
|
12
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Scheduling module read: upcoming/past bookings, optionally filtered by
|
|
4
|
+
* contact or date range. Calls the hub's /api/gateway/query/bookings with
|
|
5
|
+
* the session's personal agent id (org + membership resolved server-side).
|
|
6
|
+
*/
|
|
7
|
+
export declare function createBookingsQueryTool(options: {
|
|
8
|
+
agentId?: string;
|
|
9
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Knowledge-brain module write: add a `note` document to a brain.
|
|
4
|
+
* WRITE — confirm contract: confirm=false returns a preview, confirm=true
|
|
5
|
+
* only after the user explicitly agrees.
|
|
6
|
+
*
|
|
7
|
+
* The hub's /api/gateway/brain-remember endpoint is a plain, idempotent-per-
|
|
8
|
+
* call write with no confirm/preview support of its own (by design — see the
|
|
9
|
+
* hub handler's docstring), so the preview gate is enforced here rather than
|
|
10
|
+
* forwarded like the other write tools.
|
|
11
|
+
*/
|
|
12
|
+
export declare function createBrainRememberTool(options: {
|
|
13
|
+
agentId?: string;
|
|
14
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Knowledge-brain module read: semantic search over one brain's chunks.
|
|
4
|
+
* Calls the hub's /api/gateway/brain-search with the session's personal
|
|
5
|
+
* agent id; per-brain access is enforced again on the hub (fail-closed).
|
|
6
|
+
*/
|
|
7
|
+
export declare function createBrainSearchTool(options: {
|
|
8
|
+
agentId?: string;
|
|
9
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Knowledge-brain module read: list the brains the calling agent's owner can
|
|
4
|
+
* access. Calls the hub's /api/gateway/brains with the session's personal
|
|
5
|
+
* agent id. Call this before brain_search/brain_remember whenever the target
|
|
6
|
+
* brainId isn't already known.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createBrainsListTool(options: {
|
|
9
|
+
agentId?: string;
|
|
10
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Add or remove a CRM contact tag. WRITE — confirm contract: confirm=false
|
|
4
|
+
* returns a preview, confirm=true only after the user explicitly agrees.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createContactTagTool(options: {
|
|
7
|
+
agentId?: string;
|
|
8
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Update a CRM contact's name/phone/email/funnel stage/notes. WRITE —
|
|
4
|
+
* confirm contract: confirm=false returns a preview, confirm=true only
|
|
5
|
+
* after the user explicitly agrees. Only whitelisted fields are accepted;
|
|
6
|
+
* use contact_tag for tags, not this tool.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createContactUpdateTool(options: {
|
|
9
|
+
agentId?: string;
|
|
10
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Finance module summary (invoices/payments) for a date range, optionally
|
|
4
|
+
* grouped by product or contact. Calls the hub's Bearer-authed
|
|
5
|
+
* /api/gateway/query/finance with the session's personal agent id; the hub
|
|
6
|
+
* derives the owning user, scopes to their org (membership-checked), and
|
|
7
|
+
* respects the same masking/owner rules the human finance dashboard uses.
|
|
8
|
+
*/
|
|
9
|
+
export declare function createFinanceQueryTool(options: {
|
|
10
|
+
agentId?: string;
|
|
11
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Type } from "typebox";
|
|
2
|
+
/**
|
|
3
|
+
* Shared plumbing for the hub module tool pack (finance/bookings/tickets/
|
|
4
|
+
* orders/projects/pages read tools + booking/ticket/order/task/contact/notify
|
|
5
|
+
* write tools). Mirrors crm_insight/crm_query's gate + fetch shape — do not
|
|
6
|
+
* invent a new one. Gated on (a) a resolved hub REST link and (b) a personal
|
|
7
|
+
* agent id: the hub derives the owning user (and org membership) from
|
|
8
|
+
* `personal-<uuid>`, so a non-personal agent can't use these.
|
|
9
|
+
*/
|
|
10
|
+
export declare function hubToolsAvailable(agentId?: string): agentId is string;
|
|
11
|
+
/** Required on every write tool. Tool description must restate the contract. */
|
|
12
|
+
export declare const CONFIRM_FIELD: Type.TBoolean;
|
|
13
|
+
export declare const ORG_ID_FIELD: Type.TOptional<Type.TString>;
|
|
14
|
+
/** GET a `/api/gateway/<path>` endpoint with the trusted agentId + optional orgId. */
|
|
15
|
+
export declare function hubGet(path: string, agentId: string, query?: Record<string, string | undefined>): Promise<unknown>;
|
|
16
|
+
/** POST to a `/api/gateway/<path>` endpoint with the trusted agentId + optional orgId. */
|
|
17
|
+
export declare function hubPost(path: string, agentId: string, body: Record<string, unknown>, orgId?: string): Promise<unknown>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Discovery tool: fetches the hub's route-hint map from
|
|
4
|
+
* /api/gateway/pages (route, title, what the page shows, accepted query
|
|
5
|
+
* params) so the agent can generate accurate, navigable deep links instead
|
|
6
|
+
* of guessing paths.
|
|
7
|
+
*/
|
|
8
|
+
export declare function createHubPagesTool(options: {
|
|
9
|
+
agentId?: string;
|
|
10
|
+
}): AnyAgentTool | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AnyAgentTool } from "../common.js";
|
|
2
|
+
/**
|
|
3
|
+
* Send a free-text email to an org member. WRITE — confirm contract:
|
|
4
|
+
* confirm=false returns a preview, confirm=true only after the user
|
|
5
|
+
* explicitly agrees. The hub verifies the target is an org member (and has
|
|
6
|
+
* an email on file) before sending; there is no template system and no
|
|
7
|
+
* internal messaging channel — this always sends via email.
|
|
8
|
+
*/
|
|
9
|
+
export declare function createNotifyUserTool(options: {
|
|
10
|
+
agentId?: string;
|
|
11
|
+
}): AnyAgentTool | null;
|