@bitseek/claw 1.3.8-beta.4 → 1.3.8
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-YtMo-RPC.js → accounts-B4wV9IFm.js} +1 -1
- package/dist/{accounts-CzfKkJDx.js → accounts-CTKra7aS.js} +7 -7
- package/dist/{accounts-CQrvvU8V.js → accounts-DtaSiAum.js} +1 -1
- package/dist/{acp-cli-C0Oz6RFa.js → acp-cli-CSRDFixR.js} +8 -8
- package/dist/{agent-scope-qYbUVCHn.js → agent-scope-BrbgAMci.js} +1 -1
- package/dist/{agents-Co_-XzRP.js → agents-B3roVbYI.js} +15 -15
- package/dist/{agents.config-EnxTBynI.js → agents.config-BLKDc8io.js} +2 -2
- package/dist/{api-key-rotation-XTdz_cvI.js → api-key-rotation-BdoPDM3X.js} +1 -1
- package/dist/{audio-preflight-DWC4cRxQ.js → audio-preflight-D-sfV0QK.js} +4 -4
- package/dist/{audio-preflight-B6Jw9LUM.js → audio-preflight-Pdv9uiw6.js} +36 -36
- package/dist/{audio-transcription-runner-BC2TeD8r.js → audio-transcription-runner-BVp79Ioa.js} +1 -1
- package/dist/{audio-transcription-runner-CF3DjqKy.js → audio-transcription-runner-DBPatTZv.js} +22 -22
- package/dist/{audit-pIY_GfjC.js → audit-p4lBCTPz.js} +29 -29
- package/dist/{auth-DhaM6Od5.js → auth-DuCrQ5K9.js} +1 -1
- package/dist/{auth-choice-CfoGAmJm.js → auth-choice-BogBxPQ0.js} +14 -14
- package/dist/{auth-choice-r5CXFvMV.js → auth-choice-CWhbVAmr.js} +12 -12
- package/dist/{auth-choice.apply-helpers-DI1qnxc_.js → auth-choice.apply-helpers-CtAelPdF.js} +1 -1
- package/dist/{auth-profiles-CDN1QqUB.js → auth-profiles-k09E8RLJ.js} +16 -16
- package/dist/{auth-token-BtyMfDQt.js → auth-token-CWb4NQTJ.js} +1 -1
- package/dist/{banner-CDZD_rv-.js → banner-DyZFjt3Q.js} +2 -2
- package/dist/{bindings-D9ZiGe2K.js → bindings-C9vpkXej.js} +1 -1
- package/dist/{bonjour-discovery-CBcz-0Ts.js → bonjour-discovery-DyLRXLw1.js} +1 -1
- package/dist/{browser-cli-CTcWXrJp.js → browser-cli-CDsv9Dvw.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-BSBuLNiX.js → call-CBH5yDff.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Cc-TbAKt.js → channel-account-context-C3TU0o4T.js} +5 -5
- package/dist/{channel-options-BfDmqXBz.js → channel-options-9r0jhaF7.js} +3 -3
- package/dist/{channel-selection-BKyzCX35.js → channel-selection-DZrPYytY.js} +1 -1
- package/dist/{channel-web-DJtTLglg.js → channel-web-Df9c4iPg.js} +18 -18
- package/dist/{channels-cli-BdbCWhq7.js → channels-cli-Bi5IcGws.js} +95 -95
- package/dist/{channels-status-issues-Cn340Vbe.js → channels-status-issues-Bb3ugkRr.js} +1 -1
- package/dist/{chrome-zP7qr3zd.js → chrome-BVlYi4nu.js} +4 -4
- package/dist/{chrome-CGMBwBlZ.js → chrome-D8KosHAE.js} +8 -8
- package/dist/{clawbot-cli-Nk_oXaxe.js → clawbot-cli-CkZGXd20.js} +5 -5
- package/dist/{cli-BAFODF--.js → cli-2CbkQG_y.js} +76 -76
- package/dist/{client-Swf30UOh.js → client-CIji7FpE.js} +2 -2
- package/dist/{command-registry-RTq7TBkJ.js → command-registry-C96NPlx4.js} +13 -13
- package/dist/{commands-B8w5Izi1.js → commands-B7V-vN3N.js} +1 -1
- package/dist/{commands-registry-Ctux_Nq3.js → commands-registry-B6LbRm3U.js} +3 -3
- package/dist/{completion-cli-JABAzgO6.js → completion-cli-Die9PKu8.js} +1 -1
- package/dist/{completion-cli-Cp4gleu_.js → completion-cli-DujZccrD.js} +13 -13
- package/dist/{config-cli-BNaHtYNZ.js → config-cli-DgKjaGSi.js} +7 -7
- package/dist/{config-guard-CSxpqsBG.js → config-guard-D5XZLbXA.js} +3 -3
- package/dist/{config-validation-Tf6YL4jH.js → config-validation-DT8qQYoa.js} +3 -3
- package/dist/{configure-Dwelp0U_.js → configure-D51Hau9O.js} +17 -17
- package/dist/{control-ui-assets-BxJ3OmP_.js → control-ui-assets-Bn4e_1By.js} +1 -1
- package/dist/{cron-cli-BrpTLnwT.js → cron-cli-D6OHJFdO.js} +12 -12
- package/dist/{daemon-cli-S2o4Kcwu.js → daemon-cli-BxFuWNM-.js} +15 -15
- package/dist/{daemon-install-C0YHpEQQ.js → daemon-install-BjgH7Ld5.js} +4 -4
- package/dist/{daemon-install-helpers-DLIsWH31.js → daemon-install-helpers-Crntu4pF.js} +11 -11
- package/dist/{dashboard-B_7Hjxc6.js → dashboard-B0FYUw0G.js} +2 -2
- package/dist/{deliver-CPCEIyDG.js → deliver-3f8JxB_A.js} +1 -1
- package/dist/{deliver-CQmmhMaR.js → deliver-Bm4UojU1.js} +7 -7
- package/dist/{devices-cli-CXtMoEZv.js → devices-cli-D2qzgS6n.js} +8 -8
- package/dist/{diagnostic-C5Por-ID.js → diagnostic-DOls91uN.js} +1 -1
- package/dist/{diagnostics-0PFoNolS.js → diagnostics-D4xhje-h.js} +5 -5
- package/dist/{directory-cli-NpBfkxfT.js → directory-cli-BDxc1M2a.js} +8 -8
- package/dist/{dns-cli-CNYoy9mq.js → dns-cli-DImurxu6.js} +5 -5
- package/dist/{dock-CHDx-TGb.js → dock-CcEfMX5D.js} +4 -4
- package/dist/{docs-cli-CLZqiB15.js → docs-cli-Cp25W8Hv.js} +4 -4
- package/dist/{doctor-completion-CpA-KQ0h.js → doctor-completion-DvD6Gxce.js} +2 -2
- package/dist/{doctor-completion-BEtcv-8P.js → doctor-completion-lIcN0oMj.js} +1 -1
- package/dist/{doctor-config-flow-m-m_m5Ot.js → doctor-config-flow-DtaIUiEk.js} +15 -15
- package/dist/{enable-yaF2vNOj.js → enable-Dfmg2SV3.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-Cw4xMxbI.js → exec-approvals-allowlist-IOB4HV3z.js} +1 -1
- package/dist/{exec-approvals-cli-BffaLELS.js → exec-approvals-cli-B6X8jOx7.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-Bu0TwxE1.js → exec-safe-bin-runtime-policy-CEdwujzY.js} +2 -2
- package/dist/{fetch-lTdl-0IY.js → fetch-BAv7yBBS.js} +3 -3
- package/dist/{fetch-guard-CQZ5FOwI.js → fetch-guard-oYuVfv1t.js} +1 -1
- package/dist/{fs-safe-BQS_SZ0h.js → fs-safe--YXsniNZ.js} +24 -24
- package/dist/{gateway-cli-C44pKHoa.js → gateway-cli-DY5myR89.js} +162 -162
- package/dist/{gateway-cli-D1e4MuAA.js → gateway-cli-DdxZ9xQz.js} +2 -2
- package/dist/{gateway-rpc-qWYRLZ-Z.js → gateway-rpc-C6F7QPVq.js} +1 -1
- package/dist/{health-DIS2FlPd.js → health-DOIxOlnm.js} +14 -14
- package/dist/{hooks-cli-C4Wqknt2.js → hooks-cli-B3VUhq72.js} +84 -84
- package/dist/{hooks-status-BE0dSQIW.js → hooks-status-qBCorl-z.js} +1 -1
- package/dist/{image-BgCM5v5-.js → image-BOSsTjNj.js} +5 -5
- package/dist/{image-RroCfqy3.js → image-XbGdWslx.js} +1 -1
- package/dist/{plugin-sdk/image-ops-DhVTERkS.js → image-ops-B2K36FLD.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{inspect-DY_qpyux.js → inspect-DkrsY9Gy.js} +4 -4
- package/dist/{install-safe-path-K9dhxxcy.js → install-safe-path-DXP_88Em.js} +25 -25
- package/dist/{installs-BYz0q4kc.js → installs-DgI58LlC.js} +9 -9
- package/dist/{ipv4-Bj71-jpu.js → ipv4-BuO7nxQZ.js} +1 -1
- package/dist/{ir-C_-vG6Lv.js → ir-BCl0dA3G.js} +6 -6
- package/dist/{issue-format-1i6b6tFd.js → issue-format-Cat2txpr.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-BZVbJEGI.js → lifecycle-core-CliTbXyj.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{login-KG5TFHFb.js → login-_s-srXtA.js} +3 -3
- package/dist/{login-qr-D4L1NDeu.js → login-qr-BNBXsYor.js} +6 -6
- package/dist/{logs-cli-D2lMkM4P.js → logs-cli-B4Nwp099.js} +9 -9
- package/dist/{manager-C0nx9SKi.js → manager-rK3J4Po3.js} +14 -14
- package/dist/{manifest-registry-Co__Fy6F.js → manifest-registry-hRB5Jb3F.js} +1 -1
- package/dist/{markdown-tables-D47ZANhY.js → markdown-tables-Mk_tnsfY.js} +1 -1
- package/dist/{memory-cli-BwxTb296.js → memory-cli-BbEwsmor.js} +12 -12
- package/dist/{model-C30BtXEI.js → model-Cd4C4aY1.js} +2 -2
- package/dist/{model-catalog-C0pv85X0.js → model-catalog-Chb7lzRo.js} +3 -3
- package/dist/{model-picker-Dediiqpo.js → model-picker-CdgwJ2MU.js} +4 -4
- package/dist/{models-Dy35lY8K.js → models-CL1jaXSC.js} +18 -18
- package/dist/{models-cli-DBsERrAX.js → models-cli-BeARCGBj.js} +81 -81
- package/dist/{models-config-NbV2Gu7N.js → models-config-CkOKPbk9.js} +6 -6
- package/dist/{net-DrfP4uzJ.js → net-Bxr80JTs.js} +2 -2
- package/dist/{node-cli-CnKN38mM.js → node-cli-DelBH0Tb.js} +33 -33
- package/dist/{node-command-policy-xyqdwsT9.js → node-command-policy-DKPye8Fx.js} +1 -1
- package/dist/{node-service-DEfPXKwF.js → node-service-Cei5AkFg.js} +1 -1
- package/dist/{nodes-cli-CFaqvZCM.js → nodes-cli-CLNRURvx.js} +16 -16
- package/dist/{nodes-screen-DNzr75bx.js → nodes-screen-NjyoMja_.js} +7 -7
- package/dist/{npm-pack-install-U_Bbmdqc.js → npm-pack-install-B5tn-EtA.js} +18 -18
- package/dist/{npm-resolution-BzCW7TCH.js → npm-resolution-Brdkv6mO.js} +5 -5
- package/dist/{onboard-F7n3_iVh.js → onboard-Bh-I_8wZ.js} +6 -6
- package/dist/{onboard-Ch8Y1L6r.js → onboard-HvQow36S.js} +1 -1
- package/dist/{onboard-channels-CXnqSbh7.js → onboard-channels-gTeBkpnk.js} +20 -20
- package/dist/{onboard-custom-xXrb_3q4.js → onboard-custom-DhEI_A-m.js} +3 -3
- package/dist/{onboard-custom.shared-fTdY9R_i.js → onboard-custom.shared-DoXUpHZV.js} +2 -2
- package/dist/{onboard-helpers-DX8Hw_zc.js → onboard-helpers-ngPRx_6_.js} +11 -11
- package/dist/{onboard-hooks-DCPdhrCK.js → onboard-hooks-CJvqjkid.js} +4 -4
- package/dist/{onboard-remote-aF3GW6mE.js → onboard-remote-DRt29Vs4.js} +3 -3
- package/dist/{onboard-skills-CzFxXcom.js → onboard-skills-CoWAaHHg.js} +4 -4
- package/dist/{onboarding-BM2AMtOF.js → onboarding-COYDqpHi.js} +1 -1
- package/dist/{onboarding-C3pHfO7a.js → onboarding-DeqWu7mq.js} +13 -13
- package/dist/{onboarding.finalize-8dcfbjPv.js → onboarding.finalize-BAWi9byG.js} +3 -3
- package/dist/{onboarding.finalize-Ca_Zcpts.js → onboarding.finalize-DsXoykZY.js} +89 -89
- package/dist/{onboarding.gateway-config-B5jnM62F.js → onboarding.gateway-config-B1orRdI7.js} +18 -18
- package/dist/{openai-model-default-eaULYpD0.js → openai-model-default-DRYz3m4d.js} +2 -2
- package/dist/{outbound-CF1Hd23W.js → outbound-BGJh4s6Y.js} +4 -4
- package/dist/{outbound-attachment-BMlPpVOn.js → outbound-attachment-Baso-yal.js} +2 -2
- package/dist/{pairing-cli-DkVLCjGa.js → pairing-cli-DgUIYETM.js} +9 -9
- package/dist/{pairing-labels-CesrJlbr.js → pairing-labels-BPTURWrI.js} +1 -1
- package/dist/{pairing-store-BcJH8WDh.js → pairing-store-WGGwqFJB.js} +3 -3
- package/dist/{path-alias-guards-C_j0uB0Y.js → path-alias-guards-DdR4BKPM.js} +3 -3
- package/dist/{path-safety-BHBxNYfO.js → path-safety-DiJhMaUA.js} +1 -1
- package/dist/{paths-Bj8pNglF.js → paths-BPXmr3Zn.js} +9 -9
- package/dist/{pi-embedded-DbU5C8eR.js → pi-embedded-BJ2D2U7f.js} +22 -22
- package/dist/{pi-embedded-helpers-DAITpRHR.js → pi-embedded-helpers-BL7vjkKS.js} +3 -3
- package/dist/{pi-embedded-helpers-Cc4tC0fE.js → pi-embedded-helpers-ET1kDdN1.js} +6 -6
- package/dist/{pi-model-discovery-ItDCP5Ab.js → pi-model-discovery-COnY_kTM.js} +1 -1
- package/dist/{pi-tools.policy-BbLCMNCc.js → pi-tools.policy-Cp3wptYh.js} +5 -5
- package/dist/{plugin-auto-enable-BxiIEIvc.js → plugin-auto-enable-Bm8hMcPA.js} +3 -3
- package/dist/{plugin-registry-DT2OvA5Z.js → plugin-registry-DWd-znRA.js} +3 -3
- package/dist/plugin-sdk/{accounts-DFIfXHdI.js → accounts-B_Sil4df.js} +3 -3
- package/dist/plugin-sdk/{accounts-BME088co.js → accounts-CqgyHS8h.js} +1 -1
- package/dist/plugin-sdk/{accounts-CxgIc7BC.js → accounts-kIersDAH.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Dx4YdW0B.js → active-listener-B1c6rQRy.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BL5NPpGJ.js → agent-scope-DS0HILk_.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-DZ1mvKN0.js → api-key-rotation-C2Z5xB6w.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B8r8qUhZ.js → audio-preflight-Byc0yvPV.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-B8gQ16hV.js → audio-transcription-runner-DHcTy4Wb.js} +10 -10
- package/dist/plugin-sdk/{bindings-YKerL1Tc.js → bindings-D8UvbNti.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-Dzyx86FD.js → channel-activity-CMtaqeTg.js} +3 -3
- package/dist/plugin-sdk/{channel-web-dQSyVWDp.js → channel-web-D3N-Ttls.js} +23 -23
- package/dist/plugin-sdk/{chrome-Hte84S6l.js → chrome-DoDlUT7F.js} +7 -7
- package/dist/plugin-sdk/{chunk-4pLJcTE-.js → chunk-BuHZrtLn.js} +1 -1
- package/dist/plugin-sdk/{command-format-TmcJI6nP.js → command-format-9ttCUvaP.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-D1UwEKAH.js → commands-registry-ydkoxruZ.js} +5 -5
- package/dist/plugin-sdk/{config-kqUrcUGI.js → config-BkeO1N4t.js} +10 -10
- package/dist/plugin-sdk/{deliver-DymnzypV.js → deliver-BcAT1l6Y.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-1MgpiorV.js → diagnostic-BefhWusS.js} +2 -2
- package/dist/plugin-sdk/{dock-Csf-65jq.js → dock-yYEdNzbx.js} +6 -6
- package/dist/plugin-sdk/{errors-BRahpZsP.js → errors-D2KyTKs6.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-cD2GBmNp.js → fetch-guard-BC92RxgN.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DgdRzasF.js → fs-safe-CC4mG_Hc.js} +3 -3
- package/dist/plugin-sdk/{image-m9sEMr_K.js → image-Cjm_y1ht.js} +6 -6
- package/dist/{image-ops-HxQLrFqd.js → plugin-sdk/image-ops-CfQjZch5.js} +11 -11
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-DyMWDxUp.js → ir-CLKvSg7X.js} +6 -6
- package/dist/plugin-sdk/{local-roots-ChmGReXd.js → local-roots-DYmtEf6P.js} +4 -4
- package/dist/plugin-sdk/{logger-BwzMchOl.js → logger-Dqmpx59X.js} +1 -1
- package/dist/plugin-sdk/{login-DIgrxuIQ.js → login-DYEbRdfH.js} +6 -6
- package/dist/plugin-sdk/{login-qr-DeAbaqfx.js → login-qr-0YUEfC35.js} +9 -9
- package/dist/plugin-sdk/{manager-Bic1h3Nu.js → manager-J_9hr0Yu.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BEWLluuz.js → markdown-tables-BA_MdGIq.js} +1 -1
- package/dist/plugin-sdk/{message-channel-Be6xIObc.js → message-channel-CeYrurhu.js} +1 -1
- package/dist/plugin-sdk/{outbound-D7OdBk5M.js → outbound-B386FQiU.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-Y-wO2Csk.js → outbound-attachment-DgC7KgEZ.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CsekuFRi.js → path-alias-guards-KB1li1UU.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BWFPgWTA.js → pi-embedded-helpers-CbevdnHV.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-DRomJojM.js → pi-model-discovery-Blr1NdM4.js} +1 -1
- package/dist/plugin-sdk/{plugins-DKZ5hSLA.js → plugins-Dupyelyu.js} +6 -6
- package/dist/plugin-sdk/{proxy-DIYzaAvh.js → proxy-CnPaiSZ0.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-X6Ja_eZx.js → proxy-fetch-BY4mmpys.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-MuLgIL01.js → pw-ai-C1rLCgeF.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-D3p7PB5n.js → qmd-manager-BtfjLkaZ.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C90Jc5uo.js → query-expansion-DgHoeKXG.js} +2 -2
- package/dist/plugin-sdk/{redact-DEfi9F2o.js → redact-Civ2olvH.js} +1 -1
- package/dist/plugin-sdk/{registry-BfD4IdFK.js → registry-Cq-TQPU8.js} +2 -2
- package/dist/plugin-sdk/{replies-GRjUBMUL.js → replies-a2WeMkU6.js} +3 -3
- package/dist/plugin-sdk/{reply-BlPlf4OC.js → reply-C2XVty9G.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-CobEDhG_.js → reply-prefix-BRomwQau.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DkNri48r.js → resolve-outbound-target-B_xKgqWe.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-fu19EHnm.js → resolve-route-yLtq9xkG.js} +4 -4
- package/dist/plugin-sdk/{retry-Agt7ZiSn.js → retry-D9aKv766.js} +1 -1
- package/dist/plugin-sdk/{send-BUpepCol.js → send-Bs-YbYdN.js} +6 -6
- package/dist/plugin-sdk/{send-BB06ROuk.js → send-Ct2mLh8U.js} +15 -15
- package/dist/plugin-sdk/{send-C5ymrC3h.js → send-WwwzoTNW.js} +7 -7
- package/dist/plugin-sdk/{send-DwXcBQYC.js → send-_MTxUi5p.js} +8 -8
- package/dist/plugin-sdk/{send-CvC0d45Z.js → send-kJXSgFcu.js} +10 -10
- package/dist/plugin-sdk/{session-D8BNggg2.js → session-Bfpm71Tg.js} +5 -5
- package/dist/plugin-sdk/{session-meta-DYb6KCvG.js → session-meta-CM4K7B00.js} +1 -1
- package/dist/plugin-sdk/{sessions-BtJmhzev.js → sessions-DFx8MKSO.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-C3OZ4W61.js → skill-commands-CakvOluN.js} +5 -5
- package/dist/plugin-sdk/{skills-CIvz2coj.js → skills-CZFBOkwT.js} +8 -8
- package/dist/plugin-sdk/{ssrf-EGzUkeVq.js → ssrf-BjVCUeM7.js} +1 -1
- package/dist/plugin-sdk/{store-Dij_2k2X.js → store-DALs5PIC.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C84uWxqx.js → subsystem-DQdKZm8Z.js} +2 -2
- package/dist/plugin-sdk/{tables-CTWsNiUf.js → tables-BQwHnOX0.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Bgd_Uo0g.js → target-errors-DqlHqAmV.js} +2 -2
- package/dist/plugin-sdk/{tokens-B9E-mnf_.js → tokens-C_Ieeb03.js} +1 -1
- package/dist/plugin-sdk/{tool-images-0gnewwTL.js → tool-images-RhD8geto.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-Bsh07kcw.js → tool-loop-detection-CKnmaEeR.js} +2 -2
- package/dist/plugin-sdk/{utils-BA7Xm0uM.js → utils-hxOwZduA.js} +1 -1
- package/dist/plugin-sdk/web-DLrSMEN4.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-BLoPRR5B.js → whatsapp-actions-CudQXAzF.js} +25 -25
- package/dist/{plugins--_65-dc5.js → plugins-CO6qDFdk.js} +2 -2
- package/dist/{plugins-cli-BmJ7h0-l.js → plugins-cli-B90nR_VK.js} +86 -86
- package/dist/{ports-Cw4Nwv2D.js → ports-CUjMnvTs.js} +1 -1
- package/dist/{ports-DgCQT1oY.js → ports-Dczj_PV_.js} +2 -2
- package/dist/{program-CStT3Tdz.js → program-CoUWrOuU.js} +84 -84
- package/dist/{program-context-uwFKpk8g.js → program-context-BW36TXnn.js} +7 -7
- package/dist/{prompt-select-styled-ByCoxIUa.js → prompt-select-styled-BY0UebAF.js} +1 -1
- package/dist/{prompt-select-styled-BOM_B36f.js → prompt-select-styled-CCeKGXxa.js} +39 -39
- package/dist/{provider-auth-helpers-BubJ5s-y.js → provider-auth-helpers-Btf9aI1h.js} +5 -5
- package/dist/{proxy-env-DHBs_DSq.js → proxy-env-DQGTNk9X.js} +1 -1
- package/dist/{push-apns-Ck9shhvZ.js → push-apns-CzIypSJf.js} +5 -5
- package/dist/{pw-ai-BlcIl51R.js → pw-ai-B5Q17lfW.js} +1 -1
- package/dist/{pw-ai-DYEHR6w8.js → pw-ai-D1Ry3gcn.js} +15 -15
- package/dist/{qmd-manager-BHSD3_rI.js → qmd-manager-BNFUTVvk.js} +20 -20
- package/dist/{qr-cli-CKOGSVK_.js → qr-cli-BTrl8Tw4.js} +1 -1
- package/dist/{query-expansion-BkWbp0bs.js → query-expansion-CP4BjmxS.js} +12 -12
- package/dist/{redact-snapshot-BzZpHz-O.js → redact-snapshot-QpVJSBBX.js} +1 -1
- package/dist/{register.agent-DT71MEX9.js → register.agent-BksD8xqL.js} +97 -97
- package/dist/register.configure-CJVJLDtX.js +175 -0
- package/dist/{register.init-CIS-LY0i.js → register.init-ChyHcEAX.js} +24 -34
- package/dist/{register.init-BzRts3RZ.js → register.init-EOlDrQTS.js} +9 -19
- package/dist/{register.maintenance-BTwdTZnP.js → register.maintenance-BiWaNm96.js} +4 -4
- package/dist/{register.maintenance-DWo73fOE.js → register.maintenance-C0zxZg0K.js} +99 -99
- package/dist/{register.message-6kMQG_ny.js → register.message-DW2G2t5n.js} +77 -77
- package/dist/{register.onboard-ps-7r0Bx.js → register.onboard-CBbSomv2.js} +2 -2
- package/dist/{register.onboard-Cu-xLkmj.js → register.onboard-DeZ6BYWf.js} +18 -18
- package/dist/{register.setup-DFniVrQp.js → register.setup-DFYvGlPy.js} +2 -2
- package/dist/{register.setup-DOgl3Biv.js → register.setup-DWdi6O74.js} +21 -21
- package/dist/{register.start-D0pe3Bgs.js → register.start-CbfmMKWY.js} +17 -17
- package/dist/{register.status-health-sessions-tMSX9Z5o.js → register.status-health-sessions-CMZuvcON.js} +91 -91
- package/dist/{register.subclis-BMjHVUZN.js → register.subclis-CS79-xpm.js} +31 -31
- package/dist/{replies-uQ56Hw52.js → replies-Dx5zA8IX.js} +1 -1
- package/dist/{reply-prefix-XmrGZdy_.js → reply-prefix-CS57j6KU.js} +1 -1
- package/dist/{resolve-route-Ukn_7wVk.js → resolve-route-Bxji0kZW.js} +2 -2
- package/dist/{rpc-3QEhCMY4.js → rpc-cRmU1tSk.js} +1 -1
- package/dist/{run-main-DoPcdD6j.js → run-main-BH5kmZli.js} +95 -95
- package/dist/{runtime-B4lkRQQD.js → runtime-COI_IE2j.js} +2 -2
- package/dist/{sandbox-CEIoYXZN.js → sandbox-BNSLjYyu.js} +18 -18
- package/dist/{sandbox-cli-BrTy3weD.js → sandbox-cli-C1OPjNfD.js} +26 -26
- package/dist/{secrets-cli-DeFPoA0b.js → secrets-cli-7Md_QcpC.js} +10 -10
- package/dist/{security-cli-CpDjK_Rg.js → security-cli-D68NIF3V.js} +43 -43
- package/dist/{send-CtAy9-2u.js → send-BpYBrb6S.js} +5 -5
- package/dist/{send-6U8MorA7.js → send-C8xKNHVm.js} +6 -6
- package/dist/{send-CVDGeH7A.js → send-CUvJIfFz.js} +11 -11
- package/dist/{send-BY8NE-y9.js → send-DX2I6KZU.js} +8 -8
- package/dist/{send-BdKdRPi6.js → send-DikEpk7w.js} +6 -6
- package/dist/{server-C9XFPL3c.js → server-D_wuOlkf.js} +19 -19
- package/dist/{server-context-DtOlWY9P.js → server-context-Dl8XC4vq.js} +12 -12
- package/dist/{server-lifecycle-CXzU2NM3.js → server-lifecycle-BIuR7Tj0.js} +2 -2
- package/dist/{server-middleware-Bp3DeSvQ.js → server-middleware-C_4mR9wU.js} +1 -1
- package/dist/{server-node-events-BcOJ7KmG.js → server-node-events-B-IAFJfU.js} +77 -77
- package/dist/{service-DPP3q6R4.js → service-BcyKtT1n.js} +15 -15
- package/dist/{session-6uNAHyWp.js → session-DyGs2JIG.js} +1 -1
- package/dist/{session-meta-DGKTOhxQ.js → session-meta-C7WybT5h.js} +1 -1
- package/dist/{session-utils-hbZzVDyj.js → session-utils-CYaFN47T.js} +6 -6
- package/dist/{sessions-CbWqJtkx.js → sessions-Cd7cVPC-.js} +4 -4
- package/dist/{sessions-DB4MRK6L.js → sessions-i5lEEEca.js} +15 -15
- package/dist/{shared-yo9kxQZW.js → shared-BKC5qsuY.js} +3 -3
- package/dist/{shared-D6mi8wP1.js → shared-CL0m0H8G.js} +1 -1
- package/dist/{skill-commands-Duha9iIC.js → skill-commands-Cl6M7kpE.js} +5 -5
- package/dist/{skill-scanner-Di-O2Hg-.js → skill-scanner-WUtERLdW.js} +6 -6
- package/dist/{skills-dNa7QxCF.js → skills-B18XPCNc.js} +3 -3
- package/dist/{skills-cli-Dkjzn2SU.js → skills-cli-C0gXv9PH.js} +5 -5
- package/dist/{skills-install-ARBA7lP0.js → skills-install-DYR6yH15.js} +6 -6
- package/dist/{skills-status-B4yuFDEj.js → skills-status-D9Rnj4xI.js} +1 -1
- package/dist/{status-CfL923KW.js → status-Dwe_iuCP.js} +26 -26
- package/dist/{status.update-aARe-MF6.js → status.update-C0psHodW.js} +2 -2
- package/dist/{store-BpvlJ70I.js → store-D-c26kSk.js} +5 -5
- package/dist/{subagent-registry-DEFti4F9.js → subagent-registry-eE5PhOhY.js} +157 -157
- package/dist/{system-cli-CYspMbRb.js → system-cli-kpN0Gb37.js} +9 -9
- package/dist/{system-run-command-BJQ7Q63p.js → system-run-command-DFxer2oq.js} +1 -1
- package/dist/{systemd-BtVy3Rbo.js → systemd-ebIdQGFn.js} +9 -9
- package/dist/{systemd-hints-BetNJuAX.js → systemd-hints-tCX_kug7.js} +6 -6
- package/dist/{systemd-linger-CWPZsER4.js → systemd-linger-IFrOwkb9.js} +1 -1
- package/dist/{tables-Bv2Hq-F0.js → tables-FZbGazqi.js} +1 -1
- package/dist/{tailnet-Dynp_Pgs.js → tailnet-BKoOcmOa.js} +1 -1
- package/dist/{target-errors-Bwi1jTIf.js → target-errors-CL097N6P.js} +4 -4
- package/dist/{tool-images-D7dXfsZW.js → tool-images-CXfdtMwT.js} +1 -1
- package/dist/{tui-CYj3VX-Y.js → tui-D3HyXPhF.js} +6 -6
- package/dist/{tui-cli-g7SERHtf.js → tui-cli-BYXDIVRr.js} +33 -33
- package/dist/{update-DbGfT3_u.js → update-D372fHKr.js} +3 -3
- package/dist/{update-cli-CO3mOkqg.js → update-cli-D2hEVao1.js} +4 -4
- package/dist/{update-cli-ny6m1bJQ.js → update-cli-DZeEWYpT.js} +107 -107
- package/dist/{update-runner-BjX-ARIw.js → update-runner-j5RoheCK.js} +16 -16
- package/dist/{web-DoyNp6wO.js → web-DcyT3FlY.js} +6 -6
- package/dist/web-Kse4dEsw.js +127 -0
- package/dist/{webhooks-cli-CoxuOMZ6.js → webhooks-cli-DgLGWDer.js} +6 -6
- package/dist/{whatsapp-actions-0CZKI1og.js → whatsapp-actions-BC00XF83.js} +19 -19
- package/dist/{with-timeout-cpgy0l-9.js → with-timeout-DvPUrPuK.js} +3 -3
- package/dist/{workspace-DYiAh9n2.js → workspace-Cuq5sS-4.js} +1 -1
- package/dist/{workspace-DtFDeYRa.js → workspace-DkRZH7vl.js} +23 -23
- package/dist/{workspace-dirs-BAyX7JI2.js → workspace-dirs-DBhaJ0y_.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-D48I7g5u.js +0 -72
- package/dist/register.configure-BWunAqlW.js +0 -175
- package/dist/web-CqfFsaTH.js +0 -127
|
@@ -24,17 +24,17 @@ import { t as buildChannelAccountBindings } from "./bindings-CE2f0JYJ.js";
|
|
|
24
24
|
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-GspgS2Uv.js";
|
|
25
25
|
import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-BfGLjZZE.js";
|
|
26
26
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
27
|
-
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
27
|
+
import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-3f8JxB_A.js";
|
|
28
28
|
import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-CV9nsw1v.js";
|
|
29
29
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DBPrVBk3.js";
|
|
30
30
|
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DfC3W-lD.js";
|
|
31
31
|
import { $ as readChannelAllowFromStore, A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as mergeDmAllowFromSources, K as firstDefined$1, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, Q as addChannelAllowFromStoreEntry, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveGroupAllowFromSources, Z as toLocationContext, _ as resolveTelegramFetch, a as reactMessageTelegram, at as listPairingChannels, b as loadCronStore, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as wasSentByBot, et as removeChannelAllowFromStoreEntry, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, it as getPairingAdapter, j as expandTextLinks, k as buildTypingThreadParams, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as readJsonFileWithFallback, o as sendMessageTelegram, ot as isVoiceCompatibleAudio, p as markdownToTelegramChunks, q as isSenderIdAllowed, r as deleteMessageTelegram, rt as writeJsonFileAtomically, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as upsertChannelPairingRequest, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildSenderName, x as resolveCronStorePath, y as withTelegramApiErrorLogging, z as resolveTelegramReplyId } from "./send-BZdvWSrh.js";
|
|
32
32
|
import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-C78lEG57.js";
|
|
33
|
-
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-
|
|
33
|
+
import { _ as resolveAttachmentKind, a as resolveAutoImageModel, b as modelSupportsVision, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, h as registerUnhandledRejectionHandler, i as normalizeMediaAttachments, l as resolveConcurrency, m as buildRandomTempFilePath, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, v as findModelInCatalog, x as resolveAliasedOpenAiCompatibleModelId, y as loadModelCatalog } from "./audio-transcription-runner-BVp79Ioa.js";
|
|
34
34
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CvWs_pjz.js";
|
|
35
35
|
import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DIKDbAh8.js";
|
|
36
|
-
import { $ as mergeAlsoAllowPolicy, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as resolveSandboxConfigForAgent, K as resolveGatewayCredentialsFromConfig, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as compileGlobPatterns, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapTotalMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, q as trimToUndefined$1, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as sanitizeGoogleTurnOrdering, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-
|
|
37
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
36
|
+
import { $ as mergeAlsoAllowPolicy, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as resolveSandboxConfigForAgent, K as resolveGatewayCredentialsFromConfig, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as compileGlobPatterns, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveBootstrapTotalMaxChars, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, q as trimToUndefined$1, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as sanitizeGoogleTurnOrdering, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-BL7vjkKS.js";
|
|
37
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-D8KosHAE.js";
|
|
38
38
|
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-LAE5JMgW.js";
|
|
39
39
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-PnQzwnfs.js";
|
|
40
40
|
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Bj_QBHtk.js";
|
|
@@ -50,7 +50,7 @@ import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as re
|
|
|
50
50
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-ByYgonIF.js";
|
|
51
51
|
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-tUCksNOQ.js";
|
|
52
52
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BcOnJa2q.js";
|
|
53
|
-
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-
|
|
53
|
+
import { C as extractTextFromChatContent, S as isInsideCode, T as ensureOpenClawModelsJson, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as formatToolSummary, w as minimaxUnderstandImage, x as findCodeRegions, y as resolveToolDisplay } from "./image-XbGdWslx.js";
|
|
54
54
|
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-CDvWMekK.js";
|
|
55
55
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CYFFedEH.js";
|
|
56
56
|
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DcHAb4_d.js";
|
|
@@ -95,7 +95,7 @@ import { CURRENT_SESSION_VERSION, DefaultResourceLoader, SessionManager, Setting
|
|
|
95
95
|
import { EdgeTTS } from "node-edge-tts";
|
|
96
96
|
import { createServer } from "node:http";
|
|
97
97
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
98
|
-
import WebSocket, { WebSocket
|
|
98
|
+
import WebSocket$1, { WebSocket } from "ws";
|
|
99
99
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
100
100
|
import { createJiti } from "jiti";
|
|
101
101
|
import AjvPkg from "ajv";
|
|
@@ -8197,7 +8197,7 @@ var GatewayClient = class {
|
|
|
8197
8197
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
8198
8198
|
});
|
|
8199
8199
|
}
|
|
8200
|
-
this.ws = new WebSocket
|
|
8200
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
8201
8201
|
this.ws.on("open", () => {
|
|
8202
8202
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
8203
8203
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -8393,7 +8393,7 @@ var GatewayClient = class {
|
|
|
8393
8393
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
8394
8394
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
8395
8395
|
this.connectTimer = setTimeout(() => {
|
|
8396
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
8396
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
8397
8397
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
8398
8398
|
this.ws?.close(1008, "connect challenge timeout");
|
|
8399
8399
|
}, connectChallengeTimeoutMs);
|
|
@@ -8435,7 +8435,7 @@ var GatewayClient = class {
|
|
|
8435
8435
|
return null;
|
|
8436
8436
|
}
|
|
8437
8437
|
async request(method, params, opts) {
|
|
8438
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
8438
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
8439
8439
|
const id = randomUUID();
|
|
8440
8440
|
const frame = {
|
|
8441
8441
|
type: "req",
|
|
@@ -9715,7 +9715,7 @@ async function routeReply(params) {
|
|
|
9715
9715
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9716
9716
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9717
9717
|
try {
|
|
9718
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9718
|
+
const { deliverOutboundPayloads } = await import("./deliver-3f8JxB_A.js").then((n) => n.n);
|
|
9719
9719
|
const outboundSession = buildOutboundSessionContext({
|
|
9720
9720
|
cfg,
|
|
9721
9721
|
agentId: resolvedAgentId,
|
|
@@ -14273,7 +14273,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14273
14273
|
}
|
|
14274
14274
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14275
14275
|
try {
|
|
14276
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14276
|
+
const { deliverOutboundPayloads } = await import("./deliver-3f8JxB_A.js").then((n) => n.n);
|
|
14277
14277
|
await deliverOutboundPayloads({
|
|
14278
14278
|
cfg,
|
|
14279
14279
|
channel: normalizedChannel,
|
|
@@ -49773,7 +49773,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
49773
49773
|
return;
|
|
49774
49774
|
}
|
|
49775
49775
|
try {
|
|
49776
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
49776
|
+
const { deliverOutboundPayloads } = await import("./deliver-3f8JxB_A.js").then((n) => n.n);
|
|
49777
49777
|
const outboundSession = buildOutboundSessionContext({
|
|
49778
49778
|
cfg: params.cfg,
|
|
49779
49779
|
sessionKey: params.sessionKey
|
|
@@ -54715,7 +54715,7 @@ async function describeStickerImage(params) {
|
|
|
54715
54715
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
54716
54716
|
try {
|
|
54717
54717
|
const buffer = await fs.readFile(imagePath);
|
|
54718
|
-
const { describeImageWithModel } = await import("./image-
|
|
54718
|
+
const { describeImageWithModel } = await import("./image-XbGdWslx.js").then((n) => n.n);
|
|
54719
54719
|
return (await describeImageWithModel({
|
|
54720
54720
|
buffer,
|
|
54721
54721
|
fileName: "sticker.webp",
|
|
@@ -56469,7 +56469,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
56469
56469
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
56470
56470
|
let transcript;
|
|
56471
56471
|
if (needsPreflightTranscription) try {
|
|
56472
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
56472
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-D-sfV0QK.js");
|
|
56473
56473
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
56474
56474
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
56475
56475
|
ctx: {
|
|
@@ -61011,7 +61011,7 @@ function createOutboundSendDepsFromCliSource(deps) {
|
|
|
61011
61011
|
function createDefaultDeps() {
|
|
61012
61012
|
return {
|
|
61013
61013
|
sendMessageWhatsApp: async (...args) => {
|
|
61014
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
61014
|
+
const { sendMessageWhatsApp } = await import("./web-DcyT3FlY.js");
|
|
61015
61015
|
return await sendMessageWhatsApp(...args);
|
|
61016
61016
|
},
|
|
61017
61017
|
sendMessageTelegram: async (...args) => {
|
|
@@ -64459,7 +64459,7 @@ function createDiscordGatewayPlugin(params) {
|
|
|
64459
64459
|
return super.registerClient(client);
|
|
64460
64460
|
}
|
|
64461
64461
|
createWebSocket(url) {
|
|
64462
|
-
return new WebSocket(url, { agent: wsAgent });
|
|
64462
|
+
return new WebSocket$1(url, { agent: wsAgent });
|
|
64463
64463
|
}
|
|
64464
64464
|
}
|
|
64465
64465
|
return new ProxyGatewayPlugin();
|
|
@@ -76490,7 +76490,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
76490
76490
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
76491
76491
|
let preflightTranscript;
|
|
76492
76492
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
76493
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
76493
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-D-sfV0QK.js");
|
|
76494
76494
|
preflightTranscript = await transcribeFirstAudio({
|
|
76495
76495
|
ctx: {
|
|
76496
76496
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -79275,7 +79275,7 @@ function loadWebLoginQr() {
|
|
|
79275
79275
|
return webLoginQrPromise;
|
|
79276
79276
|
}
|
|
79277
79277
|
function loadWebChannel() {
|
|
79278
|
-
webChannelPromise ??= import("./web-
|
|
79278
|
+
webChannelPromise ??= import("./web-DcyT3FlY.js");
|
|
79279
79279
|
return webChannelPromise;
|
|
79280
79280
|
}
|
|
79281
79281
|
function loadWhatsAppActions() {
|
|
@@ -87180,7 +87180,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87180
87180
|
* Throws if the connection is not open.
|
|
87181
87181
|
*/
|
|
87182
87182
|
send(event) {
|
|
87183
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
87183
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
87184
87184
|
this.ws.send(JSON.stringify(event));
|
|
87185
87185
|
}
|
|
87186
87186
|
/**
|
|
@@ -87197,7 +87197,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87197
87197
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
87198
87198
|
*/
|
|
87199
87199
|
isConnected() {
|
|
87200
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
87200
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
87201
87201
|
}
|
|
87202
87202
|
/**
|
|
87203
87203
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -87207,7 +87207,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87207
87207
|
this._cancelRetryTimer();
|
|
87208
87208
|
if (this.ws) {
|
|
87209
87209
|
this.ws.removeAllListeners();
|
|
87210
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
87210
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
87211
87211
|
this.ws = null;
|
|
87212
87212
|
}
|
|
87213
87213
|
}
|
|
@@ -87217,7 +87217,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
87217
87217
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
87218
87218
|
return;
|
|
87219
87219
|
}
|
|
87220
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
87220
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
87221
87221
|
Authorization: `Bearer ${this.apiKey}`,
|
|
87222
87222
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
87223
87223
|
} });
|
|
@@ -10,7 +10,7 @@ import { t as parseBooleanValue } from "./boolean-mcn6kL0s.js";
|
|
|
10
10
|
import { t as CHANNEL_IDS } from "./registry-Bs6V63pB.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-CY3Mg7Dp.js";
|
|
12
12
|
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C78lEG57.js";
|
|
13
|
-
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-
|
|
13
|
+
import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-D8KosHAE.js";
|
|
14
14
|
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-LAE5JMgW.js";
|
|
15
15
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-PnQzwnfs.js";
|
|
16
16
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-CtpsLbgG.js";
|
|
@@ -1192,7 +1192,7 @@ function isModuleNotFoundError(err) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
async function loadPwAiModule(mode) {
|
|
1194
1194
|
try {
|
|
1195
|
-
return await import("./pw-ai-
|
|
1195
|
+
return await import("./pw-ai-B5Q17lfW.js");
|
|
1196
1196
|
} catch (err) {
|
|
1197
1197
|
if (mode === "soft") return null;
|
|
1198
1198
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -3558,7 +3558,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
3558
3558
|
//#region src/browser/server-context.reset.ts
|
|
3559
3559
|
async function closePlaywrightBrowserConnection() {
|
|
3560
3560
|
try {
|
|
3561
|
-
await (await import("./pw-ai-
|
|
3561
|
+
await (await import("./pw-ai-B5Q17lfW.js")).closePlaywrightBrowserConnection();
|
|
3562
3562
|
} catch {}
|
|
3563
3563
|
}
|
|
3564
3564
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
2
2
|
import { T as truncateUtf16Safe } from "./utils-BHAtQ0dM.js";
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
4
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-BNSLjYyu.js";
|
|
4
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CXfdtMwT.js";
|
|
5
5
|
import { s as normalizeThinkLevel } from "./thinking-BxCyPtl0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -102,10 +102,10 @@ function clampToBudget(content, budget) {
|
|
|
102
102
|
async function ensureSessionHeader(params) {
|
|
103
103
|
const file = params.sessionFile;
|
|
104
104
|
try {
|
|
105
|
-
await
|
|
105
|
+
await fs.stat(file);
|
|
106
106
|
return;
|
|
107
107
|
} catch {}
|
|
108
|
-
await
|
|
108
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
109
109
|
const entry = {
|
|
110
110
|
type: "session",
|
|
111
111
|
version: 2,
|
|
@@ -113,7 +113,7 @@ async function ensureSessionHeader(params) {
|
|
|
113
113
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
114
|
cwd: params.cwd
|
|
115
115
|
};
|
|
116
|
-
await
|
|
116
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
117
117
|
}
|
|
118
118
|
function buildBootstrapContextFiles(files, opts) {
|
|
119
119
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Kn as ensureAuthProfileStore, hr as normalizeProviderId } from "./auth-profiles-
|
|
2
|
+
import { Kn as ensureAuthProfileStore, hr as normalizeProviderId } from "./auth-profiles-k09E8RLJ.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-
|
|
2
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-k09E8RLJ.js";
|
|
2
|
+
import { i as resolveAgentConfig } from "./agent-scope-BrbgAMci.js";
|
|
3
3
|
import { E as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-BLprDJYq.js";
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-CcEfMX5D.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-bQJz_2wn.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-BNSLjYyu.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-WGGwqFJB.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-Dw5EiUPa.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { hr as normalizeProviderId } from "./auth-profiles-
|
|
1
|
+
import { hr as normalizeProviderId } from "./auth-profiles-k09E8RLJ.js";
|
|
2
2
|
import { t as CONFIG_DIR, u as isRecord, v as resolveUserPath } from "./utils-BHAtQ0dM.js";
|
|
3
3
|
import { n as MANIFEST_KEY } from "./legacy-names-D3aIn6ij.js";
|
|
4
4
|
import { a as getChatChannelMeta, l as normalizeChatChannelId, o as listChatChannels } from "./registry-eN0IzwTo.js";
|
|
5
|
-
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-
|
|
6
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
5
|
+
import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-hRB5Jb3F.js";
|
|
6
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-CTKra7aS.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
3
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { M as loadConfig } from "./auth-profiles-k09E8RLJ.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrbgAMci.js";
|
|
5
5
|
import { u as getActivePluginRegistry } from "./registry-eN0IzwTo.js";
|
|
6
|
-
import { _ as loadOpenClawPlugins } from "./subagent-registry-
|
|
6
|
+
import { _ as loadOpenClawPlugins } from "./subagent-registry-eE5PhOhY.js";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/plugin-registry.ts
|
|
9
9
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { o as resolveOAuthDir } from "./paths-STHPF-Vp.js";
|
|
3
|
-
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
4
|
-
import { h as resolveUserPath, u as jidToE164 } from "./utils-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-DQdKZm8Z.js";
|
|
4
|
+
import { h as resolveUserPath, u as jidToE164 } from "./utils-hxOwZduA.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-9ttCUvaP.js";
|
|
6
6
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-B_Sil4df.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers } from "./accounts-B_Sil4df.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-9ttCUvaP.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as parseAgentSessionKey, b as isCronSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, x as isSubagentSessionKey } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-STHPF-Vp.js";
|
|
3
|
-
import { c as danger, p as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { f as pathExists$1, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { n as logError, t as logDebug } from "./logger-
|
|
3
|
+
import { c as danger, p as shouldLogVerbose, t as createSubsystemLogger } from "./subsystem-DQdKZm8Z.js";
|
|
4
|
+
import { f as pathExists$1, h as resolveUserPath } from "./utils-hxOwZduA.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-Dqmpx59X.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ln as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { ln as normalizeProviderId } from "./config-BkeO1N4t.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-D2KyTKs6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-B_Sil4df.js";
|
|
2
2
|
import "./paths-STHPF-Vp.js";
|
|
3
3
|
import "./github-copilot-token-OlEJk9vh.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
6
|
-
import "./utils-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./logger-
|
|
10
|
-
import "./registry-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./message-channel-
|
|
13
|
-
import "./sessions-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./accounts-
|
|
17
|
-
import "./bindings-
|
|
4
|
+
import "./config-BkeO1N4t.js";
|
|
5
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-DQdKZm8Z.js";
|
|
6
|
+
import "./utils-hxOwZduA.js";
|
|
7
|
+
import "./command-format-9ttCUvaP.js";
|
|
8
|
+
import "./agent-scope-DS0HILk_.js";
|
|
9
|
+
import "./logger-Dqmpx59X.js";
|
|
10
|
+
import "./registry-Cq-TQPU8.js";
|
|
11
|
+
import "./dock-yYEdNzbx.js";
|
|
12
|
+
import "./message-channel-CeYrurhu.js";
|
|
13
|
+
import "./sessions-DFx8MKSO.js";
|
|
14
|
+
import "./plugins-Dupyelyu.js";
|
|
15
|
+
import "./accounts-kIersDAH.js";
|
|
16
|
+
import "./accounts-CqgyHS8h.js";
|
|
17
|
+
import "./bindings-D8UvbNti.js";
|
|
18
18
|
import "./paths-B3rYtuY3.js";
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import "./fs-safe-
|
|
23
|
-
import "./image-ops-
|
|
24
|
-
import "./ssrf-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./local-roots-
|
|
27
|
-
import "./tool-images-
|
|
28
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./chrome-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./pi-embedded-helpers-
|
|
19
|
+
import "./redact-Civ2olvH.js";
|
|
20
|
+
import "./errors-D2KyTKs6.js";
|
|
21
|
+
import "./path-alias-guards-KB1li1UU.js";
|
|
22
|
+
import "./fs-safe-CC4mG_Hc.js";
|
|
23
|
+
import "./image-ops-CfQjZch5.js";
|
|
24
|
+
import "./ssrf-BjVCUeM7.js";
|
|
25
|
+
import "./fetch-guard-BC92RxgN.js";
|
|
26
|
+
import "./local-roots-DYmtEf6P.js";
|
|
27
|
+
import "./tool-images-RhD8geto.js";
|
|
28
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-DHcTy4Wb.js";
|
|
29
|
+
import "./skills-CZFBOkwT.js";
|
|
30
|
+
import "./chrome-DoDlUT7F.js";
|
|
31
|
+
import "./store-DALs5PIC.js";
|
|
32
|
+
import "./pi-embedded-helpers-CbevdnHV.js";
|
|
33
33
|
import "./thinking-DGaZRXAR.js";
|
|
34
|
-
import "./image-
|
|
35
|
-
import "./pi-model-discovery-
|
|
36
|
-
import "./api-key-rotation-
|
|
37
|
-
import "./proxy-fetch-
|
|
34
|
+
import "./image-Cjm_y1ht.js";
|
|
35
|
+
import "./pi-model-discovery-Blr1NdM4.js";
|
|
36
|
+
import "./api-key-rotation-C2Z5xB6w.js";
|
|
37
|
+
import "./proxy-fetch-BY4mmpys.js";
|
|
38
38
|
|
|
39
39
|
//#region src/media-understanding/audio-preflight.ts
|
|
40
40
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { An as resolveApiKeyForProvider, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, gn as normalizeGoogleModelId, kn as requireApiKey, ln as normalizeProviderId, n as loadConfig, qn as resolveOpenClawAgentDir, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
3
|
-
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues, k as runExec } from "./agent-scope-
|
|
1
|
+
import { An as resolveApiKeyForProvider, S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, gn as normalizeGoogleModelId, kn as requireApiKey, ln as normalizeProviderId, n as loadConfig, qn as resolveOpenClawAgentDir, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-BkeO1N4t.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-DQdKZm8Z.js";
|
|
3
|
+
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues, k as runExec } from "./agent-scope-DS0HILk_.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-C-qHqfzG.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
9
|
-
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CfQjZch5.js";
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BC92RxgN.js";
|
|
8
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-DYmtEf6P.js";
|
|
9
|
+
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-Cjm_y1ht.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-C2Z5xB6w.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-BY4mmpys.js";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1027,7 +1027,7 @@ function resolveAliasedOpenAiCompatibleModelId(modelId) {
|
|
|
1027
1027
|
const log = createSubsystemLogger("model-catalog");
|
|
1028
1028
|
let modelCatalogPromise = null;
|
|
1029
1029
|
let hasLoggedModelCatalogError = false;
|
|
1030
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
1030
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-Blr1NdM4.js").then((n) => n.r);
|
|
1031
1031
|
let importPiSdk = defaultImportPiSdk;
|
|
1032
1032
|
const CODEX_PROVIDER = "openai-codex";
|
|
1033
1033
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as normalizeAgentId, m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
2
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-DS0HILk_.js";
|
|
3
|
+
import { s as normalizeChatChannelId } from "./registry-Cq-TQPU8.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DQdKZm8Z.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-D9aKv766.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-D2KyTKs6.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, c as normalizeAgentId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
3
|
-
import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-
|
|
6
|
-
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
9
|
-
import { N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention } from "./dock-
|
|
10
|
-
import { c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, q as resolveGroupSessionKey } from "./sessions-
|
|
2
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-B_Sil4df.js";
|
|
3
|
+
import { At as resolveDefaultGroupPolicy, C as formatDurationPrecise, Ct as resolveDmGroupAccessWithLists, J as DEFAULT_GROUP_HISTORY_LIMIT, Nt as warnMissingProviderGroupPolicyFallbackOnce, St as resolveDmGroupAccessWithCommandGate, Tt as resolvePinnedMainDmOwnerFromAllowlist, U as shouldAckReactionForWhatsApp, W as resolveMentionGating, Y as buildHistoryContextFromEntries, _t as buildPairingReply, ct as formatInboundEnvelope, d as dispatchReplyWithBufferedBlockDispatcher, g as shouldComputeCommandAuthorized, h as hasControlCommand, i as resolveInboundSessionEnvelopeContext, it as createDedupeCache, jt as resolveOpenProviderRuntimeGroupPolicy, l as computeBackoff, m as resolveInboundDebounceMs, n as normalizeGroupActivation, nt as buildMentionRegexes, p as createInboundDebouncer, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as sleepWithAbort, w as enqueueSystemEvent, yt as readStoreAllowFromForDmPolicy } from "./reply-C2XVty9G.js";
|
|
4
|
+
import { n as loadConfig } from "./config-BkeO1N4t.js";
|
|
5
|
+
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-DQdKZm8Z.js";
|
|
6
|
+
import { d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-hxOwZduA.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-9ttCUvaP.js";
|
|
8
|
+
import { s as normalizeChatChannelId } from "./registry-Cq-TQPU8.js";
|
|
9
|
+
import { N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention } from "./dock-yYEdNzbx.js";
|
|
10
|
+
import { c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, q as resolveGroupSessionKey } from "./sessions-DFx8MKSO.js";
|
|
11
11
|
import { s as resolveStorePath } from "./paths-B3rYtuY3.js";
|
|
12
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
13
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
14
|
-
import { a as loadWebMedia } from "./ir-
|
|
15
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
17
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
18
|
-
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-
|
|
19
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
20
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
21
|
-
import { a as saveMediaBuffer } from "./store-
|
|
12
|
+
import { n as recordChannelActivity } from "./channel-activity-CMtaqeTg.js";
|
|
13
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-DYmtEf6P.js";
|
|
14
|
+
import { a as loadWebMedia } from "./ir-CLKvSg7X.js";
|
|
15
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-BuHZrtLn.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BA_MdGIq.js";
|
|
17
|
+
import { t as convertMarkdownTables } from "./tables-BQwHnOX0.js";
|
|
18
|
+
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-Ct2mLh8U.js";
|
|
19
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-DHcTy4Wb.js";
|
|
20
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BRomwQau.js";
|
|
21
|
+
import { a as saveMediaBuffer } from "./store-DALs5PIC.js";
|
|
22
22
|
import { t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
|
|
23
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
24
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
25
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
26
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
23
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-yLtq9xkG.js";
|
|
24
|
+
import { r as setActiveWebListener } from "./active-listener-B1c6rQRy.js";
|
|
25
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-B386FQiU.js";
|
|
26
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Bfpm71Tg.js";
|
|
27
27
|
import { randomUUID } from "node:crypto";
|
|
28
28
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
29
29
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { X as isPrivateOrLoopbackIpAddress, Y as isLoopbackIpAddress, Z as normalizeIpAddress, n as loadConfig } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { B as isPathInside, z as isNotFoundPathError } from "./agent-scope-
|
|
5
|
-
import { a as isErrno } from "./errors-
|
|
6
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
7
|
-
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-
|
|
1
|
+
import { X as isPrivateOrLoopbackIpAddress, Y as isLoopbackIpAddress, Z as normalizeIpAddress, n as loadConfig } from "./config-BkeO1N4t.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DQdKZm8Z.js";
|
|
3
|
+
import { t as CONFIG_DIR } from "./utils-hxOwZduA.js";
|
|
4
|
+
import { B as isPathInside, z as isNotFoundPathError } from "./agent-scope-DS0HILk_.js";
|
|
5
|
+
import { a as isErrno } from "./errors-D2KyTKs6.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CC4mG_Hc.js";
|
|
7
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-BjVCUeM7.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|