@bitseek/claw 1.3.8-beta.2 → 1.3.8-beta.3
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-B6Jw9LUM.js → audio-preflight-Pdv9uiw6.js} +36 -36
- 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/{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/{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-B9MybN-E.js → command-registry-Ciq2wbUi.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-DDcNIc1r.js → completion-cli-BtWS51xD.js} +13 -13
- package/dist/{completion-cli-6l712NPl.js → completion-cli-JABAzgO6.js} +1 -1
- 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-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-B19Hs3xo.js → doctor-completion-BEtcv-8P.js} +1 -1
- package/dist/{doctor-completion-B6jYyC1T.js → doctor-completion-YtQqTVcr.js} +2 -2
- 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-Cqe5_9XJ.js → gateway-cli-D1e4MuAA.js} +1 -1
- package/dist/{gateway-cli-D4xVKSbv.js → gateway-cli-hP7_aftQ.js} +161 -161
- 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/{plugin-sdk/image-ops-CfQjZch5.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/{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-BhUYz4pd.js → onboard-Ch8Y1L6r.js} +1 -1
- package/dist/{onboard-CHHfB91Q.js → onboard-CqSuI-jq.js} +6 -6
- 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-BFylLQTs.js → onboarding-BM2AMtOF.js} +1 -1
- package/dist/{onboarding-Byioq4gT.js → onboarding-Dp4X7ISI.js} +13 -13
- package/dist/{onboarding.finalize-CWPqHkqC.js → onboarding.finalize-8dcfbjPv.js} +3 -3
- package/dist/{onboarding.finalize-CnVCE1gR.js → onboarding.finalize-DyQnfLTz.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-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-CqgyHS8h.js → accounts-BME088co.js} +1 -1
- package/dist/plugin-sdk/{accounts-kIersDAH.js → accounts-CxgIc7BC.js} +1 -1
- package/dist/plugin-sdk/{accounts-B_Sil4df.js → accounts-DFIfXHdI.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B1c6rQRy.js → active-listener-Dx4YdW0B.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DS0HILk_.js → agent-scope-BL5NPpGJ.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-C2Z5xB6w.js → api-key-rotation-DZ1mvKN0.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-Byc0yvPV.js → audio-preflight-B8r8qUhZ.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DHcTy4Wb.js → audio-transcription-runner-B8gQ16hV.js} +10 -10
- package/dist/plugin-sdk/{bindings-D8UvbNti.js → bindings-YKerL1Tc.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CMtaqeTg.js → channel-activity-Dzyx86FD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D3N-Ttls.js → channel-web-dQSyVWDp.js} +23 -23
- package/dist/plugin-sdk/{chrome-DoDlUT7F.js → chrome-Hte84S6l.js} +7 -7
- package/dist/plugin-sdk/{chunk-BuHZrtLn.js → chunk-4pLJcTE-.js} +1 -1
- package/dist/plugin-sdk/{command-format-9ttCUvaP.js → command-format-TmcJI6nP.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-ydkoxruZ.js → commands-registry-D1UwEKAH.js} +5 -5
- package/dist/plugin-sdk/{config-BkeO1N4t.js → config-kqUrcUGI.js} +10 -10
- package/dist/plugin-sdk/{deliver-BcAT1l6Y.js → deliver-DymnzypV.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BefhWusS.js → diagnostic-1MgpiorV.js} +2 -2
- package/dist/plugin-sdk/{dock-yYEdNzbx.js → dock-Csf-65jq.js} +6 -6
- package/dist/plugin-sdk/{errors-D2KyTKs6.js → errors-BRahpZsP.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BC92RxgN.js → fetch-guard-cD2GBmNp.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CC4mG_Hc.js → fs-safe-DgdRzasF.js} +3 -3
- package/dist/plugin-sdk/{image-Cjm_y1ht.js → image-m9sEMr_K.js} +6 -6
- package/dist/{image-ops-HxQLrFqd.js → plugin-sdk/image-ops-DhVTERkS.js} +11 -11
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-CLKvSg7X.js → ir-DyMWDxUp.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DYmtEf6P.js → local-roots-ChmGReXd.js} +4 -4
- package/dist/plugin-sdk/{logger-Dqmpx59X.js → logger-BwzMchOl.js} +1 -1
- package/dist/plugin-sdk/{login-DYEbRdfH.js → login-DIgrxuIQ.js} +6 -6
- package/dist/plugin-sdk/{login-qr-0YUEfC35.js → login-qr-DeAbaqfx.js} +9 -9
- package/dist/plugin-sdk/{manager-J_9hr0Yu.js → manager-Bic1h3Nu.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BA_MdGIq.js → markdown-tables-BEWLluuz.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CeYrurhu.js → message-channel-Be6xIObc.js} +1 -1
- package/dist/plugin-sdk/{outbound-B386FQiU.js → outbound-D7OdBk5M.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DgC7KgEZ.js → outbound-attachment-Y-wO2Csk.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-KB1li1UU.js → path-alias-guards-CsekuFRi.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CbevdnHV.js → pi-embedded-helpers-BWFPgWTA.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-Blr1NdM4.js → pi-model-discovery-DRomJojM.js} +1 -1
- package/dist/plugin-sdk/{plugins-Dupyelyu.js → plugins-DKZ5hSLA.js} +6 -6
- package/dist/plugin-sdk/{proxy-CnPaiSZ0.js → proxy-DIYzaAvh.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BY4mmpys.js → proxy-fetch-X6Ja_eZx.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-C1rLCgeF.js → pw-ai-MuLgIL01.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BtfjLkaZ.js → qmd-manager-D3p7PB5n.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-DgHoeKXG.js → query-expansion-C90Jc5uo.js} +2 -2
- package/dist/plugin-sdk/{redact-Civ2olvH.js → redact-DEfi9F2o.js} +1 -1
- package/dist/plugin-sdk/{registry-Cq-TQPU8.js → registry-BfD4IdFK.js} +2 -2
- package/dist/plugin-sdk/{replies-a2WeMkU6.js → replies-GRjUBMUL.js} +3 -3
- package/dist/plugin-sdk/{reply-C2XVty9G.js → reply-BlPlf4OC.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-BRomwQau.js → reply-prefix-CobEDhG_.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-B_xKgqWe.js → resolve-outbound-target-DkNri48r.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-yLtq9xkG.js → resolve-route-fu19EHnm.js} +4 -4
- package/dist/plugin-sdk/{retry-D9aKv766.js → retry-Agt7ZiSn.js} +1 -1
- package/dist/plugin-sdk/{send-Ct2mLh8U.js → send-BB06ROuk.js} +15 -15
- package/dist/plugin-sdk/{send-Bs-YbYdN.js → send-BUpepCol.js} +6 -6
- package/dist/plugin-sdk/{send-WwwzoTNW.js → send-C5ymrC3h.js} +7 -7
- package/dist/plugin-sdk/{send-kJXSgFcu.js → send-CvC0d45Z.js} +10 -10
- package/dist/plugin-sdk/{send-_MTxUi5p.js → send-DwXcBQYC.js} +8 -8
- package/dist/plugin-sdk/{session-Bfpm71Tg.js → session-D8BNggg2.js} +5 -5
- package/dist/plugin-sdk/{session-meta-CM4K7B00.js → session-meta-DYb6KCvG.js} +1 -1
- package/dist/plugin-sdk/{sessions-DFx8MKSO.js → sessions-BtJmhzev.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-CakvOluN.js → skill-commands-C3OZ4W61.js} +5 -5
- package/dist/plugin-sdk/{skills-CZFBOkwT.js → skills-CIvz2coj.js} +8 -8
- package/dist/plugin-sdk/{ssrf-BjVCUeM7.js → ssrf-EGzUkeVq.js} +1 -1
- package/dist/plugin-sdk/{store-DALs5PIC.js → store-Dij_2k2X.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DQdKZm8Z.js → subsystem-C84uWxqx.js} +2 -2
- package/dist/plugin-sdk/{tables-BQwHnOX0.js → tables-CTWsNiUf.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DqlHqAmV.js → target-errors-Bgd_Uo0g.js} +2 -2
- package/dist/plugin-sdk/{tokens-C_Ieeb03.js → tokens-B9E-mnf_.js} +1 -1
- package/dist/plugin-sdk/{tool-images-RhD8geto.js → tool-images-0gnewwTL.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CKnmaEeR.js → tool-loop-detection-Bsh07kcw.js} +2 -2
- package/dist/plugin-sdk/{utils-hxOwZduA.js → utils-BA7Xm0uM.js} +1 -1
- package/dist/plugin-sdk/web-D48I7g5u.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CudQXAzF.js → whatsapp-actions-BLoPRR5B.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-Be2ymElx.js → program-5vm1a5f-.js} +84 -84
- package/dist/{program-context-VmNKrCEz.js → program-context-uwFKpk8g.js} +7 -7
- package/dist/{prompt-select-styled-y3MS0Ion.js → prompt-select-styled-ByCoxIUa.js} +1 -1
- package/dist/{prompt-select-styled-VDz-k6PU.js → prompt-select-styled-D5N-DZSk.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-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-BG8FagAY.js → register.init-B26Ry-q0.js} +29 -20
- package/dist/{register.init-kK0U4c1X.js → register.init-BzRts3RZ.js} +14 -5
- package/dist/{register.maintenance-DXzqBj6G.js → register.maintenance-BTwdTZnP.js} +4 -4
- package/dist/{register.maintenance-JgN7l-Nt.js → register.maintenance-DZZc7WGW.js} +99 -99
- package/dist/{register.message-6kMQG_ny.js → register.message-DW2G2t5n.js} +77 -77
- package/dist/{register.onboard-8ktAun-c.js → register.onboard-kzLJdF35.js} +18 -18
- package/dist/{register.onboard-Cx_a7wmX.js → register.onboard-ps-7r0Bx.js} +2 -2
- package/dist/{register.setup-ByRV6Cja.js → register.setup-C5qExQuD.js} +21 -21
- package/dist/{register.setup-DwSY2woO.js → register.setup-DFniVrQp.js} +2 -2
- 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-BL5uM8m-.js → register.subclis-o8k-y9CC.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-CTvTsMR8.js → run-main-CEEV_P4Y.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-DzGTmqj1.js → update-cli-CO3mOkqg.js} +4 -4
- package/dist/{update-cli-D11Y1iYl.js → update-cli-D2pd7IJi.js} +107 -107
- package/dist/{update-runner-BjX-ARIw.js → update-runner-j5RoheCK.js} +16 -16
- 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-DLrSMEN4.js +0 -72
- package/dist/register.configure-BWunAqlW.js +0 -175
- package/dist/web-CqfFsaTH.js +0 -127
|
@@ -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-C84uWxqx.js";
|
|
4
|
+
import { f as pathExists$1, h as resolveUserPath } from "./utils-BA7Xm0uM.js";
|
|
5
|
+
import { n as logError, t as logDebug } from "./logger-BwzMchOl.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-kqUrcUGI.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-BRahpZsP.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-DFIfXHdI.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-kqUrcUGI.js";
|
|
5
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
6
|
+
import "./utils-BA7Xm0uM.js";
|
|
7
|
+
import "./command-format-TmcJI6nP.js";
|
|
8
|
+
import "./agent-scope-BL5NPpGJ.js";
|
|
9
|
+
import "./logger-BwzMchOl.js";
|
|
10
|
+
import "./registry-BfD4IdFK.js";
|
|
11
|
+
import "./dock-Csf-65jq.js";
|
|
12
|
+
import "./message-channel-Be6xIObc.js";
|
|
13
|
+
import "./sessions-BtJmhzev.js";
|
|
14
|
+
import "./plugins-DKZ5hSLA.js";
|
|
15
|
+
import "./accounts-CxgIc7BC.js";
|
|
16
|
+
import "./accounts-BME088co.js";
|
|
17
|
+
import "./bindings-YKerL1Tc.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-DEfi9F2o.js";
|
|
20
|
+
import "./errors-BRahpZsP.js";
|
|
21
|
+
import "./path-alias-guards-CsekuFRi.js";
|
|
22
|
+
import "./fs-safe-DgdRzasF.js";
|
|
23
|
+
import "./image-ops-DhVTERkS.js";
|
|
24
|
+
import "./ssrf-EGzUkeVq.js";
|
|
25
|
+
import "./fetch-guard-cD2GBmNp.js";
|
|
26
|
+
import "./local-roots-ChmGReXd.js";
|
|
27
|
+
import "./tool-images-0gnewwTL.js";
|
|
28
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-B8gQ16hV.js";
|
|
29
|
+
import "./skills-CIvz2coj.js";
|
|
30
|
+
import "./chrome-Hte84S6l.js";
|
|
31
|
+
import "./store-Dij_2k2X.js";
|
|
32
|
+
import "./pi-embedded-helpers-BWFPgWTA.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-m9sEMr_K.js";
|
|
35
|
+
import "./pi-model-discovery-DRomJojM.js";
|
|
36
|
+
import "./api-key-rotation-DZ1mvKN0.js";
|
|
37
|
+
import "./proxy-fetch-X6Ja_eZx.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-kqUrcUGI.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
3
|
+
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues, k as runExec } from "./agent-scope-BL5NPpGJ.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-DhVTERkS.js";
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-cD2GBmNp.js";
|
|
8
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-ChmGReXd.js";
|
|
9
|
+
import { t as describeImageWithModel, w as ensureOpenClawModelsJson } from "./image-m9sEMr_K.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DZ1mvKN0.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-X6Ja_eZx.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-DRomJojM.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-BL5NPpGJ.js";
|
|
3
|
+
import { s as normalizeChatChannelId } from "./registry-BfD4IdFK.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-C84uWxqx.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Agt7ZiSn.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-BRahpZsP.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-DFIfXHdI.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-BlPlf4OC.js";
|
|
4
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
5
|
+
import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-C84uWxqx.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-BA7Xm0uM.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-TmcJI6nP.js";
|
|
8
|
+
import { s as normalizeChatChannelId } from "./registry-BfD4IdFK.js";
|
|
9
|
+
import { N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention } from "./dock-Csf-65jq.js";
|
|
10
|
+
import { c as recordSessionMetaFromInbound, l as updateLastRoute, o as loadSessionStore, q as resolveGroupSessionKey } from "./sessions-BtJmhzev.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-Dzyx86FD.js";
|
|
13
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ChmGReXd.js";
|
|
14
|
+
import { a as loadWebMedia } from "./ir-DyMWDxUp.js";
|
|
15
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-4pLJcTE-.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
17
|
+
import { t as convertMarkdownTables } from "./tables-CTWsNiUf.js";
|
|
18
|
+
import { X as formatLocationText, Z as toLocationContext, at as upsertChannelPairingRequest, rt as readChannelAllowFromStoreSync } from "./send-BB06ROuk.js";
|
|
19
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-B8gQ16hV.js";
|
|
20
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-CobEDhG_.js";
|
|
21
|
+
import { a as saveMediaBuffer } from "./store-Dij_2k2X.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-fu19EHnm.js";
|
|
24
|
+
import { r as setActiveWebListener } from "./active-listener-Dx4YdW0B.js";
|
|
25
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-D7OdBk5M.js";
|
|
26
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-D8BNggg2.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-kqUrcUGI.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
3
|
+
import { t as CONFIG_DIR } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { B as isPathInside, z as isNotFoundPathError } from "./agent-scope-BL5NPpGJ.js";
|
|
5
|
+
import { a as isErrno } from "./errors-BRahpZsP.js";
|
|
6
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DgdRzasF.js";
|
|
7
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, u as hasProxyEnvConfigured } from "./ssrf-EGzUkeVq.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-Be6xIObc.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as replaceCliName, p as resolveCliName } from "./paths-STHPF-Vp.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/boolean.ts
|
|
5
5
|
const DEFAULT_TRUTHY = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ar as DEFAULT_PROVIDER, ir as DEFAULT_MODEL, un as resolveConfiguredModelRef } from "./config-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { c as getActivePluginRegistry } from "./registry-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { ar as DEFAULT_PROVIDER, ir as DEFAULT_MODEL, un as resolveConfiguredModelRef } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { c as getActivePluginRegistry } from "./registry-BfD4IdFK.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-Csf-65jq.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-DKZ5hSLA.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-DGaZRXAR.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { c as normalizeAgentId, g as isBlockedObjectKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-STHPF-Vp.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-OlEJk9vh.js";
|
|
5
|
-
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-
|
|
7
|
-
import { n as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { B as isPathInside$2, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as openBoundaryFileSync, T as resolveWorkspaceExtensionsDir, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as canUseBoundaryFileOpen, k as runExec, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
6
|
+
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-BA7Xm0uM.js";
|
|
7
|
+
import { n as isTruthyEnvValue, t as formatCliCommand } from "./command-format-TmcJI6nP.js";
|
|
8
|
+
import { B as isPathInside$2, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as openBoundaryFileSync, T as resolveWorkspaceExtensionsDir, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as canUseBoundaryFileOpen, k as runExec, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-BL5NPpGJ.js";
|
|
9
9
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
|
|
10
|
-
import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
10
|
+
import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-BfD4IdFK.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import path from "node:path";
|
|
@@ -15,7 +15,7 @@ import os from "node:os";
|
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
16
16
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
17
17
|
import { isDeepStrictEqual } from "node:util";
|
|
18
|
-
import
|
|
18
|
+
import json5 from "json5";
|
|
19
19
|
import dotenv from "dotenv";
|
|
20
20
|
import { execFileSync, spawn } from "node:child_process";
|
|
21
21
|
import { fileURLToPath } from "node:url";
|
|
@@ -6828,7 +6828,7 @@ const defaultResolver = {
|
|
|
6828
6828
|
resolvedPath,
|
|
6829
6829
|
rootRealDir
|
|
6830
6830
|
}),
|
|
6831
|
-
parseJson: (raw) =>
|
|
6831
|
+
parseJson: (raw) => json5.parse(raw)
|
|
6832
6832
|
};
|
|
6833
6833
|
/**
|
|
6834
6834
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -15875,7 +15875,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
15875
15875
|
function normalizeDeps(overrides = {}) {
|
|
15876
15876
|
return {
|
|
15877
15877
|
fs: overrides.fs ?? fs,
|
|
15878
|
-
json5: overrides.json5 ??
|
|
15878
|
+
json5: overrides.json5 ?? json5,
|
|
15879
15879
|
env: overrides.env ?? process.env,
|
|
15880
15880
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
15881
15881
|
configPath: overrides.configPath ?? "",
|
|
@@ -15886,11 +15886,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
15886
15886
|
if (env !== process.env) return;
|
|
15887
15887
|
loadDotEnv({ quiet: true });
|
|
15888
15888
|
}
|
|
15889
|
-
function parseConfigJson5(raw, json5 =
|
|
15889
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
15890
15890
|
try {
|
|
15891
15891
|
return {
|
|
15892
15892
|
ok: true,
|
|
15893
|
-
parsed: json5.parse(raw)
|
|
15893
|
+
parsed: json5$1.parse(raw)
|
|
15894
15894
|
};
|
|
15895
15895
|
} catch (err) {
|
|
15896
15896
|
return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as normalizeOptionalAccountId, m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir } from "./paths-STHPF-Vp.js";
|
|
4
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
5
|
-
import { b as createInternalHookEvent, c as getActivePluginRegistry, u as getActivePluginRegistryVersion, x as triggerInternalHook } from "./registry-
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
13
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
4
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
5
|
+
import { b as createInternalHookEvent, c as getActivePluginRegistry, u as getActivePluginRegistryVersion, x as triggerInternalHook } from "./registry-BfD4IdFK.js";
|
|
6
|
+
import { t as getChannelDock } from "./dock-Csf-65jq.js";
|
|
7
|
+
import { i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript, w as parseInlineDirectives } from "./sessions-BtJmhzev.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DKZ5hSLA.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ChmGReXd.js";
|
|
10
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-4pLJcTE-.js";
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
12
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-B9E-mnf_.js";
|
|
13
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BWFPgWTA.js";
|
|
14
14
|
import { n as generateSecureUuid } from "./secure-random-C5PtFEje.js";
|
|
15
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
15
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BUpepCol.js";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
4
4
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Wd5tNeQG.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { m as normalizeAccountId } from "./session-key-CVIXEtLx.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, r as getChatChannelMeta } from "./registry-
|
|
2
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DFIfXHdI.js";
|
|
3
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { d as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER, r as getChatChannelMeta } from "./registry-BfD4IdFK.js";
|
|
5
5
|
import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
|
|
6
|
-
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, j as resolveSlackReplyToMode } from "./plugins-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
6
|
+
import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, j as resolveSlackReplyToMode } from "./plugins-DKZ5hSLA.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-CxgIc7BC.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-BME088co.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as logWarn } from "./logger-
|
|
1
|
+
import { i as logWarn } from "./logger-BwzMchOl.js";
|
|
2
2
|
import { t as bindAbortRelay } from "./fetch-timeout-C-qHqfzG.js";
|
|
3
|
-
import { c as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError, u as hasProxyEnvConfigured } from "./ssrf-
|
|
3
|
+
import { c as resolvePinnedHostnameWithPolicy, n as closeDispatcher, r as createPinnedDispatcher, t as SsrFBlockedError, u as hasProxyEnvConfigured } from "./ssrf-EGzUkeVq.js";
|
|
4
4
|
import { EnvHttpProxyAgent } from "undici";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/net/fetch-guard.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as expandHomePrefix } from "./paths-STHPF-Vp.js";
|
|
2
|
-
import { B as isPathInside, P as sameFileIdentity, R as hasNodeErrorCode, V as isSymlinkOpenError, z as isNotFoundPathError } from "./agent-scope-
|
|
3
|
-
import { i as logWarn } from "./logger-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { B as isPathInside, P as sameFileIdentity, R as hasNodeErrorCode, V as isSymlinkOpenError, z as isNotFoundPathError } from "./agent-scope-BL5NPpGJ.js";
|
|
3
|
+
import { i as logWarn } from "./logger-BwzMchOl.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CsekuFRi.js";
|
|
5
5
|
import { constants } from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $t as applyConfigEnvVars, Dn as getApiKeyForModel, _n as normalizeProviders, bn as resolveImplicitProviders, kn as requireApiKey, n as loadConfig, qn as resolveOpenClawAgentDir, tr as normalizeSecretInput, vn as resolveImplicitBedrockProvider, yn as resolveImplicitCopilotProvider } from "./config-
|
|
3
|
-
import { _ as shortenHomeInString, c as isRecord } from "./utils-
|
|
4
|
-
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
5
|
-
import { n as redactToolDetail } from "./redact-
|
|
6
|
-
import { F as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
7
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
2
|
+
import { $t as applyConfigEnvVars, Dn as getApiKeyForModel, _n as normalizeProviders, bn as resolveImplicitProviders, kn as requireApiKey, n as loadConfig, qn as resolveOpenClawAgentDir, tr as normalizeSecretInput, vn as resolveImplicitBedrockProvider, yn as resolveImplicitCopilotProvider } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { _ as shortenHomeInString, c as isRecord } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { G as resolveAgentModelPrimaryValue, W as resolveAgentModelFallbackValues } from "./agent-scope-BL5NPpGJ.js";
|
|
5
|
+
import { n as redactToolDetail } from "./redact-DEfi9F2o.js";
|
|
6
|
+
import { F as sanitizeUserFacingText } from "./pi-embedded-helpers-BWFPgWTA.js";
|
|
7
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DRomJojM.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import { complete } from "@mariozechner/pi-ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as runExec } from "./agent-scope-BL5NPpGJ.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import os from "node:os";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import { fileTypeFromBuffer } from "file-type";
|
|
6
6
|
|
|
7
7
|
//#region src/media/constants.ts
|
|
@@ -235,11 +235,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
235
235
|
return null;
|
|
236
236
|
}
|
|
237
237
|
async function withTempDir(fn) {
|
|
238
|
-
const dir = await
|
|
238
|
+
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
239
239
|
try {
|
|
240
240
|
return await fn(dir);
|
|
241
241
|
} finally {
|
|
242
|
-
await
|
|
242
|
+
await fs.rm(dir, {
|
|
243
243
|
recursive: true,
|
|
244
244
|
force: true
|
|
245
245
|
}).catch(() => {});
|
|
@@ -248,7 +248,7 @@ async function withTempDir(fn) {
|
|
|
248
248
|
async function sipsMetadataFromBuffer(buffer) {
|
|
249
249
|
return await withTempDir(async (dir) => {
|
|
250
250
|
const input = path.join(dir, "in.img");
|
|
251
|
-
await
|
|
251
|
+
await fs.writeFile(input, buffer);
|
|
252
252
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
253
253
|
"-g",
|
|
254
254
|
"pixelWidth",
|
|
@@ -276,7 +276,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
276
276
|
return await withTempDir(async (dir) => {
|
|
277
277
|
const input = path.join(dir, "in.img");
|
|
278
278
|
const output = path.join(dir, "out.jpg");
|
|
279
|
-
await
|
|
279
|
+
await fs.writeFile(input, params.buffer);
|
|
280
280
|
await runExec("/usr/bin/sips", [
|
|
281
281
|
"-Z",
|
|
282
282
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -293,14 +293,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
293
293
|
timeoutMs: 2e4,
|
|
294
294
|
maxBuffer: 1024 * 1024
|
|
295
295
|
});
|
|
296
|
-
return await
|
|
296
|
+
return await fs.readFile(output);
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
async function sipsConvertToJpeg(buffer) {
|
|
300
300
|
return await withTempDir(async (dir) => {
|
|
301
301
|
const input = path.join(dir, "in.heic");
|
|
302
302
|
const output = path.join(dir, "out.jpg");
|
|
303
|
-
await
|
|
303
|
+
await fs.writeFile(input, buffer);
|
|
304
304
|
await runExec("/usr/bin/sips", [
|
|
305
305
|
"-s",
|
|
306
306
|
"format",
|
|
@@ -312,7 +312,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
312
312
|
timeoutMs: 2e4,
|
|
313
313
|
maxBuffer: 1024 * 1024
|
|
314
314
|
});
|
|
315
|
-
return await
|
|
315
|
+
return await fs.readFile(output);
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
async function getImageMetadata(buffer) {
|
|
@@ -363,7 +363,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
363
363
|
return await withTempDir(async (dir) => {
|
|
364
364
|
const input = path.join(dir, "in.jpg");
|
|
365
365
|
const output = path.join(dir, "out.jpg");
|
|
366
|
-
await
|
|
366
|
+
await fs.writeFile(input, buffer);
|
|
367
367
|
await runExec("/usr/bin/sips", [
|
|
368
368
|
...ops,
|
|
369
369
|
input,
|
|
@@ -373,7 +373,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
373
373
|
timeoutMs: 2e4,
|
|
374
374
|
maxBuffer: 1024 * 1024
|
|
375
375
|
});
|
|
376
|
-
return await
|
|
376
|
+
return await fs.readFile(output);
|
|
377
377
|
});
|
|
378
378
|
}
|
|
379
379
|
async function resizeToJpeg(params) {
|