wednesdayai 0.4.12-dev.711 → 0.4.12-dev.715
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/{acp-cli-DrXF9X9v.js → acp-cli-BYoOiK6T.js} +13 -13
- package/dist/{agent-scope-BAXIXdUR.js → agent-scope-CWTkr4pS.js} +20 -20
- package/dist/{agent-turn-enqueue-BQ4JOmUN.js → agent-turn-enqueue-Dwz_R_DW.js} +5 -5
- package/dist/{agent-turn-recovery-adapter-BRVxIXJY.js → agent-turn-recovery-adapter-DF3vdyE5.js} +3 -3
- package/dist/{agent-turn-runner-BGmkN_A8.js → agent-turn-runner-DFZxbjaC.js} +4 -4
- package/dist/{agents.config-BnEJCj-p.js → agents.config-C-pTu-0T.js} +2 -2
- package/dist/{api-key-rotation-BEJklVjh.js → api-key-rotation-BEt1ZchD.js} +1 -1
- package/dist/{audio-preflight-C3XXSW_q.js → audio-preflight-nrbQcAOS.js} +36 -36
- package/dist/{audio-transcription-runner-DbLu4y_x.js → audio-transcription-runner-D-d42kdt.js} +26 -26
- package/dist/{audit-DIH0DO00.js → audit-C_g-UVNn.js} +29 -29
- package/dist/{auth-CO4L12L5.js → auth-DeLQvx-N.js} +4 -4
- package/dist/{auth-choice-DvG3v5sy.js → auth-choice-Be8iuCdY.js} +16 -16
- package/dist/{auth-choice-pem6VE1T.js → auth-choice-ZsDU-57A.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CLYswf6f.js → auth-choice.apply-helpers-CMHfbKNY.js} +1 -1
- package/dist/{auth-token-C4PqndxM.js → auth-token-DK8X73K5.js} +2 -2
- package/dist/{bonjour-discovery-BBOJN88F.js → bonjour-discovery-C517Q6gA.js} +3 -3
- package/dist/{browser-cli-BI1mfCKP.js → browser-cli-DvjIut0z.js} +20 -20
- package/dist/build-info.json +3 -3
- package/dist/{call-CMjUSitZ.js → call-Cl6Q0T5z.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Dc7AMtZ7.js → channel-account-context-C9otZxLF.js} +6 -6
- package/dist/{channel-activity-etjAZzDh.js → channel-activity-CE3dhlxR.js} +2 -2
- package/dist/{channel-options-BrBZqoUe.js → channel-options-CdXOmeJN.js} +4 -4
- package/dist/{channel-selection-WlHA0Mjg.js → channel-selection-zg0Iqza4.js} +1 -1
- package/dist/{channels-cli-DldYF6sZ.js → channels-cli-CBBGSlVe.js} +114 -114
- package/dist/{channels-status-issues-CyJj51t4.js → channels-status-issues-C6LrjLpF.js} +1 -1
- package/dist/{chrome-CBrgxie9.js → chrome-DXHMnxHS.js} +6 -6
- package/dist/{chunk-BTTi6And.js → chunk-BDQQgsxn.js} +2 -2
- package/dist/{clack-prompter-CbMy5Zvz.js → clack-prompter-CcVX4jId.js} +5 -5
- package/dist/{clawbot-cli-B-d0ta-h.js → clawbot-cli-C-wEI2Wc.js} +16 -16
- package/dist/cli-BtY_juql.js +164 -0
- package/dist/{client-MNVuOIDb.js → client-BbpMX08n.js} +3 -3
- package/dist/{client-profiles-BAQWDfq6.js → client-profiles-BNQu4_Z_.js} +2 -2
- package/dist/{clipboard-q7q26OPS.js → clipboard-DcxpnFIc.js} +1 -1
- package/dist/{command-queue-Banup9vQ.js → command-queue-B1RxJ6bM.js} +1 -1
- package/dist/{command-secret-targets-84-Vq1Kn.js → command-secret-targets-DtDJB3vv.js} +4 -4
- package/dist/{commands-registry-DY2vMgw6.js → commands-registry-BMswme6t.js} +3 -3
- package/dist/{commands-CpMRpWle.js → commands-tFdLuF5k.js} +1 -1
- package/dist/{completion-cli-C0m7BZi2.js → completion-cli-Dbszfn8D.js} +15 -15
- package/dist/{config-cli-CLZB8EiO.js → config-cli-3a-9iNyI.js} +11 -11
- package/dist/{config-guard-a0CqCfhq.js → config-guard-BwLGp24P.js} +15 -15
- package/dist/{config-validation-D1W4dKAT.js → config-validation-DDtU1EJP.js} +2 -2
- package/dist/{configure-BoJEz3Lg.js → configure-Dld8IaT8.js} +25 -25
- package/dist/{control-ui-assets-D-_OfiOV.js → control-ui-assets-DonecnKL.js} +3 -3
- package/dist/{controller-Z7o2nxni.js → controller-0fS4uYcF.js} +1 -1
- package/dist/{credentials-DgZP7kxk.js → credentials-Hn2dA0oB.js} +1 -1
- package/dist/{cron-cli-BA4vsm3K.js → cron-cli-BuO3qskK.js} +14 -14
- package/dist/{daemon-cli-UPL01HBu.js → daemon-cli-C5cAb15Z.js} +19 -19
- package/dist/{daemon-install-btuIR9OH.js → daemon-install-CBIxgo4p.js} +11 -11
- package/dist/{daemon-install-helpers-CG4IZ_7L.js → daemon-install-helpers-C8mJ0UpL.js} +13 -13
- package/dist/{deliver-BpzzrBKl.js → deliver-Bhlx9VG9.js} +9 -9
- package/dist/{devices-cli-gtCGUgQz.js → devices-cli-HXNfviPB.js} +13 -13
- package/dist/{diagnostic-BRYj59Hw.js → diagnostic-BTSirPP0.js} +3 -3
- package/dist/{diagnostics-BTeays6z.js → diagnostics-FIcvxigK.js} +5 -5
- package/dist/{directory-cli-DtgQeMLi.js → directory-cli-A6e49xZw.js} +11 -11
- package/dist/{dns-cli-QXa894v2.js → dns-cli-BZvwwprO.js} +11 -11
- package/dist/{docs-cli-C5Q8gAsv.js → docs-cli-BQ8oTRz4.js} +10 -10
- package/dist/{doctor-completion-B19G-I8Y.js → doctor-completion-Ca_SREXp.js} +3 -3
- package/dist/{doctor-config-flow-BTbRx17L.js → doctor-config-flow-BSKd49U6.js} +14 -14
- package/dist/{enable-BF67ibhx.js → enable-BIAeEt0I.js} +2 -2
- package/dist/{env-DtoMyFfk.js → env-ESh4ZX9l.js} +1 -1
- package/dist/{exec-Cg_eKCg0.js → exec-CHq-p5L0.js} +2 -2
- package/dist/{exec-approvals-C-_jrhwb.js → exec-approvals-D8Tqfo34.js} +1 -1
- package/dist/{exec-approvals-allowlist-B2foVOBU.js → exec-approvals-allowlist-0xON2SZW.js} +1 -1
- package/dist/{exec-approvals-cli-CwwxNa7v.js → exec-approvals-cli-DsXabPF_.js} +23 -23
- package/dist/{exec-safe-bin-runtime-policy-CfsF46fx.js → exec-safe-bin-runtime-policy-KSPaR73B.js} +2 -2
- package/dist/{extension-relay-auth-IPIDjhZx.js → extension-relay-auth-C-1c9CZk.js} +10 -10
- package/dist/{fetch-guard-BCFGxdCb.js → fetch-guard-CjyGDRXN.js} +3 -3
- package/dist/{fs-safe-D3vN4fQ5.js → fs-safe-DD7KXuvI.js} +25 -25
- package/dist/{gateway-cli-BtV-wVjj.js → gateway-cli-BTuK5wC4.js} +210 -210
- package/dist/{gateway-rpc-CgAHXoCu.js → gateway-rpc-DNsG0xAN.js} +3 -3
- package/dist/{gmail-setup-utils-DWxTEPL5.js → gmail-setup-utils-CRvbl5q3.js} +2 -2
- package/dist/{health-CDGk5xDG.js → health-DFWpyp9O.js} +9 -9
- package/dist/{health-format-B9nTs2HW.js → health-format-_VGfj3fm.js} +1 -1
- package/dist/{heartbeat-tick-RHab8Aje.js → heartbeat-tick-CsyeD75h.js} +1 -1
- package/dist/{help-format-BC4GRIFN.js → help-format-DqpZruAs.js} +1 -1
- package/dist/{hooks-cli-BT0kyUWU.js → hooks-cli-DKZeKlmX.js} +105 -105
- package/dist/{hooks-status-Dv9XGWQ9.js → hooks-status-D20U_9R-.js} +2 -2
- package/dist/{plugin-sdk/image-ops-DY_SZfXk.js → image-ops-DcqCZEUY.js} +2 -2
- package/dist/{incident-install-BdXMiCuu.js → incident-install-cGBLZhud.js} +12 -12
- package/dist/index.js +104 -104
- package/dist/{inspect-CdQNUkBH.js → inspect-DVHAPbcZ.js} +4 -4
- package/dist/{install-safe-path-67wN9WdC.js → install-safe-path-DjFYmzeb.js} +25 -25
- package/dist/{installs-BlKgbSFc.js → installs-CnAcm0ba.js} +10 -10
- package/dist/{ipv4-m0FxF_em.js → ipv4-PE-rqUZG.js} +2 -2
- package/dist/{ir-D--2OWCl.js → ir-DDAVSgbQ.js} +8 -8
- package/dist/{issue-format-B1dmuNNd.js → issue-format-D0G927lb.js} +1 -1
- package/dist/{lifecycle-core-DfYD23X_.js → lifecycle-core-B3-ezmTx.js} +9 -9
- package/dist/{links-DZMDihQ-.js → links-BhLGjTwm.js} +1 -1
- package/dist/{live-repair-BGbr6jGR.js → live-repair-RXzcIxWc.js} +11 -11
- package/dist/{local-roots-DrpBY-AE.js → local-roots-_qt4-Ma5.js} +5 -5
- package/dist/{log-tail-COb9xmHL.js → log-tail-BAg8b5Wq.js} +7 -7
- package/dist/{logger-BCqJpXqF.js → logger-0VqfDbvM.js} +2 -2
- package/dist/{logging-CuKoRd0b.js → logging-DcZLtf7P.js} +1 -1
- package/dist/{logs-cli-BTCW2CK0.js → logs-cli-BdR6-Q3U.js} +19 -19
- package/dist/{manager-LX1QQ8aK.js → manager-DehDxi2A.js} +17 -17
- package/dist/{markdown-tables-pIjKFnaZ.js → markdown-tables-BEZ0s08w.js} +1 -1
- package/dist/{memory-cli-CFyBR_Pp.js → memory-cli-DZyEfnsr.js} +18 -18
- package/dist/{model-CR-oCFb_.js → model-BI6n6kVo.js} +2 -2
- package/dist/{model-catalog-C300CH2M.js → model-catalog-C7itJJDM.js} +4 -4
- package/dist/{model-picker-CFbPs-vi.js → model-picker-Bt7fcUKH.js} +4 -4
- package/dist/{model-selection-C8GCtGby.js → model-selection-k68XU4oS.js} +52 -52
- package/dist/{models-cli-D0T4sJZO.js → models-cli-C7bSvLGL.js} +109 -109
- package/dist/{models-config-CcPjsQTv.js → models-config-Burwt3mB.js} +7 -7
- package/dist/{node-cli-BAmgr8kO.js → node-cli-CPo0jR3t.js} +43 -43
- package/dist/{node-command-policy-CggBPF1a.js → node-command-policy-B9A0wAU6.js} +1 -1
- package/dist/{node-service-yxlqFzdT.js → node-service-BnwLXY5x.js} +1 -1
- package/dist/{nodes-cli-Tth7cV2w.js → nodes-cli-D9vz6Yaa.js} +25 -25
- package/dist/{nodes-screen-Bu5K5Iky.js → nodes-screen-BRZLdw3g.js} +8 -8
- package/dist/{note-xK3tzN__.js → note-DCbCarQS.js} +2 -2
- package/dist/{npm-pack-install-Cbcm8AtO.js → npm-pack-install-CFiN84Qw.js} +24 -24
- package/dist/{npm-resolution-CD79ResX.js → npm-resolution-B7regLLc.js} +5 -5
- package/dist/{oauth-tls-preflight-Ow3-5CVf.js → oauth-tls-preflight-B5akdNNh.js} +1 -1
- package/dist/{onboard-DUd7yo33.js → onboard-B_6H9HpS.js} +11 -11
- package/dist/{onboard-channels-CEercm9o.js → onboard-channels-CxiuviBR.js} +21 -21
- package/dist/{onboard-custom-Cu_HKMT1.js → onboard-custom-x_zbf7qu.js} +4 -4
- package/dist/{onboard-helpers-Dxgs6IKs.js → onboard-helpers-ziqfw3UR.js} +13 -13
- package/dist/{onboard-hooks-iOe4YWKj.js → onboard-hooks-BaZe-xl6.js} +7 -7
- package/dist/{onboard-remote-DEBKk92p.js → onboard-remote-BsnRgDQj.js} +5 -5
- package/dist/{onboard-skills-rEFqAB8T.js → onboard-skills-DwbAJ4nt.js} +4 -4
- package/dist/{onboarding-Bd05RKZ7.js → onboarding-D9VO9_5U.js} +18 -18
- package/dist/{onboarding.finalize-DPQPP-Aj.js → onboarding.finalize-DeJ35Prz.js} +112 -112
- package/dist/{onboarding.gateway-config-CgdJWu5V.js → onboarding.gateway-config-DOvEzkIo.js} +17 -17
- package/dist/{onboarding.secret-input-BOKPA83p.js → onboarding.secret-input-BCxy1JxD.js} +1 -1
- package/dist/{openai-model-default-C4QfTJob.js → openai-model-default-CpqJmHpI.js} +2 -2
- package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
- package/dist/{operator-commands-B0t7kxcZ.js → operator-commands-BRKxpjt9.js} +5 -5
- package/dist/{outbound-attachment-BqIKnptw.js → outbound-attachment-Bg7WvYcG.js} +2 -2
- package/dist/{outbound-message-hooks-DOSD8zCU.js → outbound-message-hooks-t1DDjQX_.js} +4 -4
- package/dist/{pairing-cli-D9NWToyR.js → pairing-cli-Cmlyczsc.js} +11 -11
- package/dist/{pairing-labels-BCnxr7Pt.js → pairing-labels-CGUWaZ3f.js} +1 -1
- package/dist/{pairing-store-CL-UFd1J.js → pairing-store-CQ7fjFFo.js} +2 -2
- package/dist/{path-alias-guards-DaLVcmyn.js → path-alias-guards-BSmwo1rT.js} +3 -3
- package/dist/{path-env-CQ3HfD18.js → path-env-IcDKkMPr.js} +1 -1
- package/dist/{path-safety-DSl6BwW9.js → path-safety-DAKUyD-v.js} +1 -1
- package/dist/{pi-embedded-helpers-DxQslB8x.js → pi-embedded-helpers-DEHXX7Dr.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-DRzWCwVb.js → pi-embedded-recovery-adapter-MaU4SQ3X.js} +3 -3
- package/dist/pi-embedded-recovery-adapter-ZV9u5snz.js +61 -0
- package/dist/{pi-embedded-utils-39kuXd-l.js → pi-embedded-utils-BhOMYPQU.js} +2 -2
- package/dist/{pi-model-discovery-B9wn9y4o.js → pi-model-discovery-CfUi22Es.js} +1 -1
- package/dist/{pi-tools.policy-BViSZbge.js → pi-tools.policy-4GqIom7_.js} +4 -4
- package/dist/{plugin-owned-work-recovery-adapter-CnQZf19o.js → plugin-owned-work-recovery-adapter-DHYQi-Bq.js} +8 -8
- package/dist/{plugin-registry-DBsuekLm.js → plugin-registry-alYBvHFE.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-BYp_CjdU.js → agent-scope-BLF4nZUv.js} +2 -2
- package/dist/plugin-sdk/agent-turn-execute-C4MQxaT2.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-CeC9JbVM.js → agent-turn-runner-YBWX_qXk.js} +6 -6
- package/dist/plugin-sdk/agent-turn-runner-e_lJzDgA.js +11 -0
- package/dist/plugin-sdk/{api-key-rotation-CDNf_4cI.js → api-key-rotation-XDUKz2gd.js} +2 -2
- package/dist/plugin-sdk/{artifacts-BMLMg3MG.js → artifacts-HAYpGlG1.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BmKL6FNP.js → audio-preflight-BS29OWk3.js} +2 -2
- package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +28 -0
- package/dist/plugin-sdk/{audio-transcription-runner-TBjJv_mZ.js → audio-transcription-runner-BNafitZj.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-DHZjW8Vk.js → auth-profiles-CCJQoedi.js} +5 -5
- package/dist/plugin-sdk/{channel-activity-Dr4PYej7.js → channel-activity-BKwRzYJb.js} +3 -3
- package/dist/plugin-sdk/{chrome-BDy1zYAr.js → chrome-D0eLSqkP.js} +4 -4
- package/dist/plugin-sdk/{chunk-DGQdf0JN.js → chunk-CDvvv9SU.js} +3 -3
- package/dist/plugin-sdk/{chunk-BTSnO1wn.js → chunk-DI-5pBck.js} +6 -6
- package/dist/plugin-sdk/{command-detection-w_6bwXGh.js → command-detection-B3xgM_Na.js} +85 -85
- package/dist/plugin-sdk/{command-queue-CeaLVs8O.js → command-queue-BnJsJc_w.js} +8 -8
- package/dist/plugin-sdk/{command-queue-DFSOdqCK.js → command-queue-CHiQj9Ji.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-8sy0wsK_.js → commands-registry-Do_g2It_.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-N6f_lsxF.js → commands-registry-DpLk11E7.js} +2 -2
- package/dist/plugin-sdk/{config-Biusjzx-.js → config-CQNfmIC8.js} +7 -7
- package/dist/plugin-sdk/deliver-D4fWK65M.js +32 -0
- package/dist/plugin-sdk/{deliver-BgHA8c9F.js → deliver-L6eu6zyG.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-D6hSjxiv.js → diagnostic-C7lPoqyv.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-Bni_8VyY.js → diagnostic-DfxuMWHd.js} +7 -7
- package/dist/plugin-sdk/{fetch-guard-C1a1KfEb.js → fetch-guard-CZT8FU1i.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-CbZ6uRVv.js → fs-safe-B0JgGdXa.js} +3 -3
- package/dist/plugin-sdk/{hook-runner-global-BvxlnAyu.js → hook-runner-global-WRI53ibi.js} +3 -3
- package/dist/{image-ops-D-__yDh-.js → plugin-sdk/image-ops-kuILYHZv.js} +12 -12
- package/dist/plugin-sdk/index.js +54 -54
- package/dist/plugin-sdk/{ir-BNohi6ZW.js → ir-Bm7oqkwT.js} +5 -5
- package/dist/plugin-sdk/{local-roots-Bm7nDW20.js → local-roots-D-CHzVr1.js} +7 -7
- package/dist/plugin-sdk/{logger-D6KsqbNW.js → logger-BSK-0Yjx.js} +1 -1
- package/dist/plugin-sdk/manager-BlYRVNJI.js +16 -0
- package/dist/plugin-sdk/{manager-B_vK9MbM.js → manager-D2jffdjH.js} +8 -8
- package/dist/plugin-sdk/{markdown-tables-G4vK24xc.js → markdown-tables-DIWQQ2W1.js} +2 -2
- package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +10 -0
- package/dist/plugin-sdk/{outbound-attachment-Cw7T2Mrt.js → outbound-attachment-CtKKNyms.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CVybi_GQ.js → path-alias-guards-CHfCMaeX.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B_jgacW8.js → pi-embedded-helpers-BRymkO_1.js} +11 -11
- package/dist/plugin-sdk/{pi-embedded-utils-DOXEm_H8.js → pi-embedded-utils-BHmc3RVS.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DWw1ReX-.js → pi-model-discovery-4X7_2_nP.js} +6 -6
- package/dist/plugin-sdk/{pi-model-discovery-DWUrLRLg.js → pi-model-discovery-6BBajZds.js} +1 -1
- package/dist/plugin-sdk/provider-dispatcher-D7bchiJq.js +61 -0
- package/dist/plugin-sdk/provider-image-CNlYbRab.js +22 -0
- package/dist/plugin-sdk/{provider-image-CEQrHWYz.js → provider-image-DBye3Ln5.js} +5 -5
- package/dist/plugin-sdk/proxy-D2uiu68M.js +7 -0
- package/dist/plugin-sdk/{proxy-BWc9guJs.js → proxy-DJ2nskkh.js} +1 -1
- package/dist/{proxy-fetch-k-wYHddO.js → plugin-sdk/proxy-fetch-CuQpjpkI.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DQv6Xhce.js → pw-ai-BJrhPMHJ.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-CpV0SFnY.js → qmd-manager-DhW_frb3.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-CwmHvvV_.js → query-expansion-NpBeKA8F.js} +3 -3
- package/dist/plugin-sdk/{recorder-BXZMRSjO.js → recorder-DdbAQ2HO.js} +4 -4
- package/dist/plugin-sdk/{redact-C88Ryyfs.js → redact-CUjmZn2Y.js} +1 -1
- package/dist/plugin-sdk/{replies-l2hZAzbt.js → replies-Dw3jvqpR.js} +4 -4
- package/dist/plugin-sdk/replies-XUkqz_7S.js +25 -0
- package/dist/plugin-sdk/{reply-directives-BwxzQXmX.js → reply-directives-BS8Ge06Z.js} +2 -2
- package/dist/plugin-sdk/{reply-prefix-qLQRxqrf.js → reply-prefix-Dt1hESHJ.js} +1 -1
- package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +7 -0
- package/dist/plugin-sdk/{resolve-route-50KoArP9.js → resolve-route-BpLuk-wC.js} +4 -4
- package/dist/plugin-sdk/{resolve-route-6v1HVvWk.js → resolve-route-DiQTL1qI.js} +6 -6
- package/dist/plugin-sdk/{runs-CiohhBb8.js → runs-D6fAvItC.js} +7 -7
- package/dist/plugin-sdk/runs-R28wdt7j.js +25 -0
- package/dist/plugin-sdk/{send-Cv2CGnsK.js → send-BDwTyH6I.js} +8 -8
- package/dist/plugin-sdk/{send-DM6RpDCL.js → send-CE_6VOiQ.js} +7 -7
- package/dist/plugin-sdk/{send-Cx6gHjnA.js → send-Ce2XBaKF.js} +6 -6
- package/dist/plugin-sdk/send-Cg2VXcO0.js +27 -0
- package/dist/plugin-sdk/{send-BMSqETcU.js → send-CpXGZgrS.js} +6 -6
- package/dist/plugin-sdk/send-DAs6FmWB.js +23 -0
- package/dist/plugin-sdk/{send-DO0C4Uva.js → send-GMYUhBtJ.js} +19 -19
- package/dist/plugin-sdk/{send-DG4MQPPm.js → send-R0HB1-l-.js} +13 -13
- package/dist/plugin-sdk/send-UIQH_kN6.js +25 -0
- package/dist/plugin-sdk/send-tASIQF-Q.js +24 -0
- package/dist/plugin-sdk/{session-meta-CiqJP0pO.js → session-meta-BU2WXD0N.js} +2 -2
- package/dist/plugin-sdk/session-meta-Dd1ZONel.js +10 -0
- package/dist/plugin-sdk/{skill-commands-CE_SkRQk.js → skill-commands-BYfWIPfV.js} +5 -5
- package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +14 -0
- package/dist/plugin-sdk/{skills-CjW6uGTa.js → skills-BuJjEYto.js} +6 -6
- package/dist/plugin-sdk/{ssrf-BUCEDxp5.js → ssrf-DiAz1Z_z.js} +2 -2
- package/dist/plugin-sdk/{store-yBNTHg3N.js → store-Bl3Yjf_w.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-2P8D5Trx.js +61 -0
- package/dist/plugin-sdk/{subsystem-CUUKL6Fr.js → subsystem-B2x33s9h.js} +4 -4
- package/dist/plugin-sdk/{tables-DKYi6grj.js → tables-CTmQQyfU.js} +1 -1
- package/dist/plugin-sdk/{tokens-ysZUkYZZ.js → tokens-DxJSOoJn.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-LsvZ1dIY.js → tool-loop-detection-Buouaxew.js} +1 -1
- package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +11 -0
- package/dist/plugin-sdk/{user-run-recording-BMaK7jNR.js → user-run-recording-juCW_uQ-.js} +2 -2
- package/dist/{plugins-cli-Dr8MUuiG.js → plugins-cli-DnMc_Sn3.js} +108 -108
- package/dist/{polling-timeout-DQakFlgy.js → polling-timeout-lNYd7owP.js} +2 -2
- package/dist/{ports-D_uxJ7Lw.js → ports-BTxrPqTm.js} +2 -2
- package/dist/{ports-CmgxsJei.js → ports-CX4cOSom.js} +6 -6
- package/dist/{program-context-Bl-xFa6k.js → program-context-CJuzphrY.js} +47 -47
- package/dist/{progress-DVj1IfDI.js → progress-DRMfDm7h.js} +2 -2
- package/dist/{prompt-select-styled-BpNRj_0c.js → prompt-select-styled-C-FwsHQX.js} +48 -48
- package/dist/{prompt-style-DdJb0dOL.js → prompt-style-D0wRuIYC.js} +1 -1
- package/dist/{provider-auth-helpers-DUu-jv0m.js → provider-auth-helpers-DsfkAslg.js} +6 -6
- package/dist/{provider-image-GVjHOAmk.js → provider-image-RxbXQIow.js} +6 -6
- package/dist/{proxy-XUweXx3b.js → proxy-Df2WAHRA.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-BYkGxQnh.js → proxy-fetch-Czv8kxaL.js} +1 -1
- package/dist/{push-apns--BFmn4qT.js → push-apns-Mp5OOpUH.js} +8 -8
- package/dist/{pw-ai-DcOIsodu.js → pw-ai-DmE1ofBV.js} +19 -19
- package/dist/{qmd-manager-Cl4D1wtV.js → qmd-manager-DvoTSplw.js} +23 -23
- package/dist/{qr-cli-DDaJ5f3a.js → qr-cli-BCIfpQUF.js} +8 -8
- package/dist/{query-expansion-DNw0oY0W.js → query-expansion-BD3CL_NZ.js} +13 -13
- package/dist/{reconcile-bundled-CoL_d96f.js → reconcile-bundled-BMWDZl32.js} +3 -3
- package/dist/{recorder-B9RfsO1r.js → recorder-BntUAL0_.js} +2 -2
- package/dist/{recovery-adapter-Bokfvz7s.js → recovery-adapter-BF5ESanQ.js} +2 -2
- package/dist/{recovery-adapter-B6QLivR9.js → recovery-adapter-BMqm3Nm4.js} +35 -35
- package/dist/{recovery-adapter-CMFB03AL.js → recovery-adapter-NtvPZ47M.js} +4 -4
- package/dist/{recovery-prompt-B1_BcmiM.js → recovery-prompt-SkkJ8aCp.js} +1 -1
- package/dist/{redact-snapshot-BtpCwP1X.js → redact-snapshot-Cm6wsMRx.js} +2 -2
- package/dist/{register.agent-Bv1bLbKG.js → register.agent-B5_L0CjL.js} +121 -121
- package/dist/register.configure-BbDac1C1.js +168 -0
- package/dist/{register.maintenance-C8FDl5FT.js → register.maintenance-Co2DeyQ1.js} +124 -124
- package/dist/{register.message-CAfCYwJP.js → register.message-BWeca9Pc.js} +98 -98
- package/dist/{register.onboard-cFRLSpET.js → register.onboard-4mSx6LtC.js} +22 -22
- package/dist/{register.setup-Bzi-36J6.js → register.setup-DCRrXbdT.js} +25 -25
- package/dist/{register.status-health-sessions-DV7xRpuM.js → register.status-health-sessions-DK12_BeX.js} +114 -114
- package/dist/{replay-DzQXXHrC.js → replay-BHfUVVHN.js} +1 -1
- package/dist/{replies-Bg8KJkdJ.js → replies-DoejQAqN.js} +4 -4
- package/dist/{reply-BsDGtY7Y.js → reply-BIZ2zaUq.js} +186 -186
- package/dist/{reply-directives-HkwESo_w.js → reply-directives-D5wW1el3.js} +2 -2
- package/dist/{reply-prefix-Cur1savb.js → reply-prefix-D0xrt6Z-.js} +1 -1
- package/dist/{resolve-route-C7CVSjFi.js → resolve-route-DnhX9nWr.js} +4 -4
- package/dist/{rpc-C1SlEDeI.js → rpc-B2GRFhpM.js} +3 -3
- package/dist/{runs-B3mLUDEo.js → runs-Yajg-SST.js} +7 -7
- package/dist/{runtime-Dp2vE941.js → runtime-Ch9itsH4.js} +4 -4
- package/dist/{runtime-config-collectors-CwBbdMqb.js → runtime-config-collectors-B4N79pBu.js} +1 -1
- package/dist/{runtime-guard-kynCEcXy.js → runtime-guard-DYUXYZIl.js} +1 -1
- package/dist/{sandbox-BnwxiNjx.js → sandbox-Ft7cM-PQ.js} +18 -18
- package/dist/{sandbox-cli-0Umoh6lR.js → sandbox-cli-DvMqiG0-.js} +26 -26
- package/dist/{secrets-cli-uctHYxxr.js → secrets-cli-mfGtyiPb.js} +16 -16
- package/dist/{security-cli-DgE-l1dY.js → security-cli-p_5UwabW.js} +43 -43
- package/dist/{send-BXSNB2Gu.js → send-26KAC8EW.js} +6 -6
- package/dist/{send-DkVvmrg9.js → send-9toI8d1j.js} +6 -6
- package/dist/{send-ZT3Ekuty.js → send-BA9PXvuC.js} +7 -7
- package/dist/{send-DweRAIgI.js → send-Cy2xiH02.js} +13 -13
- package/dist/{send-CgTUSkhw.js → send-DQQFc4N0.js} +14 -14
- package/dist/{server-context-qqDarnk8.js → server-context-Dezs5R_M.js} +12 -12
- package/dist/{server-BiyBJMEv.js → server-l9oy68N_.js} +25 -25
- package/dist/{server-lifecycle-E2HPe1NZ.js → server-lifecycle-DcVZS1ln.js} +3 -3
- package/dist/{server-middleware-CHvpqowx.js → server-middleware-BND1EkTO.js} +1 -1
- package/dist/{server-node-events-uGHyBXqP.js → server-node-events-BaFY8QcO.js} +97 -97
- package/dist/{service-CH9BWwSD.js → service-Hy5BSgmp.js} +15 -15
- package/dist/{session-consumer-agents-D_hiCJHw.js → session-consumer-agents-DWh7Mygv.js} +1 -1
- package/dist/{session-consumer-claim-sweep-aKULSjxA.js → session-consumer-claim-sweep-Bc4Qq0rB.js} +8 -8
- package/dist/{session-key-resolution-BlwVEVt_.js → session-key-resolution-DDJD1XYy.js} +4 -4
- package/dist/{session-meta-CXWLeYOC.js → session-meta-DzjDKcgW.js} +1 -1
- package/dist/{session-storage-DYSvotxA.js → session-storage-D3bntc9N.js} +7 -7
- package/dist/{sessions-C6bPQgaD.js → sessions-BQYQBpX0.js} +15 -15
- package/dist/{sessions-claims-status-DSufSy2u.js → sessions-claims-status-Bt9unG8h.js} +12 -12
- package/dist/{shared-CRF96lZH.js → shared-Bc-7t0_-.js} +2 -2
- package/dist/{shared-BFbMaMtM.js → shared-DyT9yMRI.js} +3 -3
- package/dist/{skill-commands-D0sJs3ds.js → skill-commands-Be2Bqqsm.js} +7 -7
- package/dist/{skill-scanner-D7Edx-Uz.js → skill-scanner-BA3h34y0.js} +7 -7
- package/dist/{skills-DT7dF3Z_.js → skills-Buc1RWDY.js} +6 -6
- package/dist/{skills-cli-CINDQ2Qe.js → skills-cli-DHvoBCEx.js} +10 -10
- package/dist/{skills-install-BUqzygk8.js → skills-install-DqCRPwE1.js} +9 -9
- package/dist/{skills-status-K-JYoR_J.js → skills-status-Dufi5_o3.js} +3 -3
- package/dist/{ssrf-BsWmJWfu.js → ssrf-B85AIIOO.js} +1 -1
- package/dist/{status-CYumLEox.js → status-BYesh62t.js} +34 -34
- package/dist/{status.update-CDd1OP3p.js → status.update-BOB92yBQ.js} +2 -2
- package/dist/{store-BKJfMltr.js → store-DoqX9VsZ.js} +7 -7
- package/dist/{subsystem-DRdkfGsB.js → subsystem-DDZBycwS.js} +1 -1
- package/dist/{supervisor-recovery-adapter-BxLO7wjD.js → supervisor-recovery-adapter-CTaDRl_d.js} +8 -8
- package/dist/{system-cli-DJd5Vz-h.js → system-cli-B-THY8xp.js} +14 -14
- package/dist/{system-run-command-uuNBjw5D.js → system-run-command-AF8TLlEl.js} +2 -2
- package/dist/{systemd-LaMffSwB.js → systemd-DsBMxUv1.js} +11 -11
- package/dist/{systemd-hints-Cq7MC9oh.js → systemd-hints-WHzM5Tf8.js} +7 -7
- package/dist/{systemd-linger-Cv1mTB1q.js → systemd-linger-EvpJ4ZxF.js} +2 -2
- package/dist/{table-BntrQEtu.js → table-DoIju7rh.js} +2 -2
- package/dist/{tables-CI3gYRvQ.js → tables-CzW-cMQN.js} +1 -1
- package/dist/{tailnet-CA8Lq90p.js → tailnet-G5phL2pY.js} +1 -1
- package/dist/{tailscale-C-_dOj1h.js → tailscale-DbsrfsUT.js} +3 -3
- package/dist/{task-pipeline-boot-nWDIjt5K.js → task-pipeline-boot-CaVeITev.js} +97 -97
- package/dist/{task-runlog-retention-BlMTtOsA.js → task-runlog-retention-BZrnJGL1.js} +3 -3
- package/dist/{tasks-NzeWQU_K.js → tasks-DXPXCFmn.js} +12 -12
- package/dist/{tokens-C6a47LiJ.js → tokens-BvecxQYg.js} +1 -1
- package/dist/{tool-display-CwPZlMoS.js → tool-display-D63I3y22.js} +1 -1
- package/dist/{tool-loop-detection-BUuXGw31.js → tool-loop-detection-3zBgQ3Bx.js} +2 -2
- package/dist/{trash-CYaie1Ci.js → trash-BcRk_NVC.js} +3 -3
- package/dist/{tui-CPb7mIZu.js → tui-Bo4LZvgz.js} +8 -8
- package/dist/{tui-cli-Csu-daF-.js → tui-cli-hVvCHoLU.js} +32 -32
- package/dist/{update-BqKLo08q.js → update-CXf5cJ0D.js} +3 -3
- package/dist/{update-cli-DjE99d_9.js → update-cli-BB7ybH-w.js} +134 -134
- package/dist/{update-runner-CrNSgmGV.js → update-runner-BYv_ec3N.js} +18 -18
- package/dist/{user-run-recording-DjkX5Mx3.js → user-run-recording-CTVI96gC.js} +2 -2
- package/dist/{utils-CmAaKeiM.js → utils-CMEUUHmM.js} +7 -7
- package/dist/{validation-cli-BRxfq9qy.js → validation-cli-CGimO4ZJ.js} +97 -97
- package/dist/{web-cli-DINMU0iQ.js → web-cli-KjTxS3h8.js} +3 -3
- package/dist/{web-client-assets-O1Zun47I.js → web-client-assets-CJyKwFRS.js} +1 -1
- package/dist/{webhooks-cli-YjIqpt4M.js → webhooks-cli-DJhGZcBz.js} +11 -11
- package/dist/{widearea-dns-DZj5625G.js → widearea-dns-DgeeMUtJ.js} +1 -1
- package/dist/{with-timeout-6n6HxT65.js → with-timeout-NhJMC1fC.js} +6 -6
- package/dist/{workspace-CgJWyvaY.js → workspace-CcKQx_l1.js} +2 -2
- package/dist/{workspace-dirs-B9yugPA_.js → workspace-dirs-_vJAsBIN.js} +1 -1
- package/dist/{ws-E-wJFDgg.js → ws-BuVK_u9S.js} +2 -2
- package/dist/{wsl-CMayUQxI.js → wsl-Baz9nyoY.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +3 -2
- package/dist/cli-BLPnNVZp.js +0 -164
- package/dist/pi-embedded-recovery-adapter-CB8bcT6A.js +0 -61
- package/dist/plugin-sdk/agent-turn-execute-DYtSZF3l.js +0 -61
- package/dist/plugin-sdk/agent-turn-runner-P-MKFb_i.js +0 -11
- package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +0 -28
- package/dist/plugin-sdk/deliver-DBCz1GqU.js +0 -32
- package/dist/plugin-sdk/manager-ByaW_O4Y.js +0 -16
- package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +0 -10
- package/dist/plugin-sdk/provider-dispatcher-Co_hyl4q.js +0 -61
- package/dist/plugin-sdk/provider-image-B_dJDOl5.js +0 -22
- package/dist/plugin-sdk/proxy-DwbYzxBy.js +0 -7
- package/dist/plugin-sdk/replies-B9uDLFOE.js +0 -25
- package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +0 -7
- package/dist/plugin-sdk/runs-BQhYekhr.js +0 -25
- package/dist/plugin-sdk/send-CeWqZTK0.js +0 -23
- package/dist/plugin-sdk/send-CzcKgBBf.js +0 -25
- package/dist/plugin-sdk/send-Dvna5ey-.js +0 -27
- package/dist/plugin-sdk/send-xPV0QIjh.js +0 -24
- package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +0 -10
- package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +0 -14
- package/dist/plugin-sdk/subagent-registry-jIsL_HVh.js +0 -61
- package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +0 -11
- package/dist/register.configure-nGWw6mGM.js +0 -168
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-KIDAzMH-.js";
|
|
2
|
-
import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$1, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-
|
|
2
|
+
import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$1, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-B2x33s9h.js";
|
|
3
3
|
import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
|
|
4
|
-
import { $ as normalizeOptionalAccountId, A as resolveAgentModelFallbackValues, B as isKnownAgentMainSessionKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveCanonicalIdentity, H as normalizeAgentId, J as resolveThreadSessionKeys, K as resolveConfiguredCanonicalIdentity, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as normalizeAccountId$3, R as classifySessionKeyShape, S as filterBootstrapFilesForSession, U as normalizeMainKey, V as isValidAgentId, W as resolveAgentIdFromSessionKey, X as toAgentStoreSessionKey, Y as sanitizeAgentId, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, at as isSubagentSessionKey, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as WAKE_GATE_SESSION_KEY_SEGMENT, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as isCronSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as getSubagentDepth, o as resolveAgentSkillsFilter, ot as parseAgentSessionKey, q as resolveLinkedPeerIdForChannel, r as resolveAgentConfig, rt as isAcpSessionKey, s as resolveAgentWorkspaceDir, st as resolveThreadParentSessionKey, t as hasConfiguredModelFallbacks, tt as deriveSessionChatType, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { $a as listBufferedPluginTaskPasses, $o as resolveReasoningDefault, $s as resolveAuthProfileDisplayLabel, Aa as resolveGatewayMessageChannel, Ai as listTelegramAccountIds, An as normalizeInputProvenance, Ao as normalizeSafeBinProfileFixtures, Ar as SESSION_RUN_STATUSES, As as resolveSecretRefValues, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveSessionLockMaxHoldFromTimeout, Bn as resolveAndPersistSessionFile, Bo as resolveAgentMaxConcurrent, Br as setSessionRuntimeModel, Bs as resolveCliName, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as INTERNAL_MESSAGE_CHANNEL, Cn as capArrayByJsonBytes, Co as extractShellWrapperInlineCommand, Cs as getSoonestCooldownExpiry, Ct as normalizeAnyChannelId, Da as isMarkdownCapableMessageChannel, Dn as INPUT_PROVENANCE_KIND_VALUES, Do as unwrapKnownShellMultiplexerInvocation, Dr as makeZeroUsageSnapshot, Ds as resolveProfilesUnavailableReason, Dt as getActiveGatewayPluginRegistry, Ea as isInternalMessageChannel, En as parseInlineDirectives$1, Eo as unwrapKnownDispatchWrapperInvocation, Er as hasNonzeroUsage, Es as markAuthProfileUsed, Et as resolveChannelConfigId, Fa as normalizeAtHashSlug, Fn as parseDurationMs, Fo as resolveDiscordPreviewStreamMode, Fr as resolveSessionResetType, Ft as createPluginRegistry, Ga as stringEnum, Gi as resolveSlackBotToken, Gn as DB_SESSION_HYDRATION_LIMIT, Go as isCliProvider, Gr as deriveSessionMetaPatch, Gs as markAuthProfileGood, Ha as channelTargetSchema, Hi as resolveSlackAccount, Hn as isJsonlSessionBackend, Ho as buildConfiguredAllowlistKeys, Hr as resolveAgentMainSessionKey, Ht as matchPluginCommand, Ia as normalizeHyphenSlug, In as extractDeliveryInfo, Io as resolveSlackNativeStreaming, Ir as resolveThreadFlag, It as normalizePluginHttpPath, Ja as actionRequiresTarget, Jn as onSessionTranscriptUpdate, Jo as normalizeProviderId, Jr as normalizeChannelId$1, Js as resolveAuthStorePathForDisplay, Ka as applyTargetToParams, Ki as listEnabledSignalAccounts, Kn as hydrateSessionManagerFromDb, Ko as modelKey, Kr as getChannelPlugin, Ks as ensureAuthProfileStore, La as normalizeStringEntries, Ln as parseSessionThreadInfo, Lo as resolveSlackStreamingMode, Lr as DEFAULT_RESET_TRIGGERS, Ls as secretRefKey, Lt as buildPluginHealthReport, Ma as GATEWAY_CLIENT_IDS, Mi as resolveTelegramAccount, Mn as createAsyncLock, Mo as applyMergePatch, Mr as evaluateSessionFreshness, Ms as isNonEmptyString, Mt as setActivePluginRegistry, Na as GATEWAY_CLIENT_MODES, Ni as resolveTelegramToken, Nn as readJsonFile, No as isSafeExecutableValue, Nr as resolveChannelResetConfig, Ns as isRecord$2, Nt as addRegisteredPluginApi, Oa as listDeliverableMessageChannels, Oi as createTelegramActionGate, On as applyInputProvenanceToUserMessage, Oo as splitShellArgs, Or as normalizeUsage, Os as resolveApiKeyForProfile, Ot as getActivePluginRegistry, Pa as GATEWAY_CLIENT_NAMES, Pi as buildChannelAccountBindings, Pn as writeJsonAtomic, Po as mapStreamingModeToSlackLegacyDraftStreamMode, Pr as resolveSessionResetPolicy, Ps as parseDotPath, Pt as clearRegisteredPluginApis, Qa as discardBufferedPluginTaskPasses, Qn as TASK_RUN_STATUSES, Qo as resolveModelRefFromString, Ra as normalizeStringEntriesLower, Rn as appendAssistantMessageToSessionTranscript, Rr as mergeSessionEntry, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as resolveGroupSessionKey, Sn as archiveSessionTranscripts, So as resolveCommandResolutionFromArgv, St as listChatChannels, Ta as isGatewayMessageChannel, Tn as extractToolCallNames, To as isShellWrapperExecutable, Tr as deriveSessionTotalTokens, Ts as markAuthProfileFailure, Tt as normalizeChatChannelId, Ua as channelTargetsSchema, Ui as resolveSlackReplyToMode, Un as createPrimaryWriteInterceptor, Uo as buildModelAliasIndex, Ur as resolveExplicitAgentSessionKey, Us as dedupeProfileIds, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as readTaskWorkStates, Vn as withPreservationWriterPermit, Vo as buildAllowedModelSet, Vr as canonicalizeMainSessionAlias, Vt as listPluginCommands, Wa as optionalStringEnum, Wi as resolveSlackAppToken, Wn as drainPendingPrimaryWrites, Wo as findNormalizedProviderValue, Wr as resolveMainSessionKey, Ws as listProfilesForProvider, Xo as resolveConfiguredModelRef, Yi as resolveSignalAccount, Yo as parseModelRef, Ys as resolveOpenClawAgentDir, Zn as TASK_RUN_MODES, Zo as resolveDefaultModelForAgent, Zs as withFileLock, _ as resolveTelegramCustomCommands, _a as resolveChannelGroupPolicy, _c as parseBooleanValue$1, _n as deliveryContextKey, _o as isWindowsPlatform, _s as resolveApiKeyForProvider, _t as safeStatSync, a as writeConfigFile, ai as parseSlackTarget, an as getConfiguredSessionStorageRuntime, ao as unsetConfigOverride, ar as createCurrentUserPromptEnvelope, at as isPathWithinRoot, bn as normalizeSessionDeliveryFields, bo as matchAllowlist, br as emitDiagnosticEvent, bs as resolveAuthProfileOrder, bt as CHAT_CHANNEL_ORDER, cc as resolveSecretInputRef, cn as readSessionUpdatedAt, co as setConfigValueAtPath, cr as mergePromptContributions, cs as OLLAMA_NATIVE_BASE_URL, ct as loadPluginManifestRegistry, da as createDiscordActionGate, dc as DEFAULT_MODEL, di as listChannelDocks, dn as updateLastRoute, do as isTrustedSafeBinPath, dr as buildInboundMetaSystemPrompt, ds as buildAssistantMessageWithZeroUsage, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as replaceBufferedPluginTaskPasses, es as resolveSubagentSpawnModelSelection, fc as DEFAULT_PROVIDER, fn as updateSessionStore, fo as listWritableExplicitTrustedSafeBinDirs, fr as buildInboundUserContextPrefix, fs as buildStreamErrorAssistantMessage, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as normalizeDiscordToken, gc as isTruthyEnvValue, gn as deliveryContextFromSession, go as buildEnforcedShellCommand, gr as resolveSenderLabel, gs as requireApiKey, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as resolveDiscordAccount, hc as resolveShellEnvFallbackTimeoutMs, hn as resolveCacheTtlMs$1, ho as analyzeShellCommand, hr as resolveTimezone, hs as getCustomProviderApiKey, ht as discoverOpenClawPlugins, ia as hasAnyWhatsAppAuth, ic as hasConfiguredSecretInput, in as getActivePreservationLease, io as setConfigOverride, ir as sha256, it as isAvatarHttpUrl, ja as resolveMessageChannel, jn as jsonUtf8Bytes, jo as resolveSafeBinProfiles, jr as resolveSessionKey, js as describeUnknownError$1, jt as requireActivePluginRegistry, ka as normalizeMessageChannel, ki as listEnabledTelegramAccounts, kn as hasInterSessionUserProvenance, ko as SAFE_BIN_PROFILES, kt as getActivePluginRegistryKey, lc as splitTrailingAuthProfile, ln as recordSessionMetaFromInbound, lo as unsetConfigValueAtPath, lr as toJsonValue$1, ls as createOllamaStreamFn, lt as BUNDLED_ENABLED_BY_DEFAULT, mc as getShellPathFromLoginShell, mn as isCacheEnabled, mo as validateSafeBinArgv, mr as formatZonedTimestamp, ms as getApiKeyForModel, mt as resolveMemorySlotDecision, n as loadConfig, na as isWhatsAppGroupJid, no as getConfigOverrides, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oc as normalizeResolvedSecretInputString, oi as resolveSlackChannelId, on as isPreservationArmed, oo as getConfigValueAtPath, ot as isSupportedLocalAvatarExtension, pa as listEnabledDiscordAccounts, pc as VERSION, pi as normalizeSignalMessagingTarget, pn as updateSessionStoreEntry, po as normalizeTrustedSafeBinDirs, pr as formatUtcTimestamp, ps as buildUsageWithNoCost, pt as resolveEffectiveEnableState, qa as actionHasTarget, qn as emitSessionTranscriptUpdate, qo as normalizeModelRef$2, qr as listChannelPlugins, r as readConfigFileSnapshot, ra as normalizeWhatsAppTarget, rc as coerceSecretRef, ro as resetConfigOverrides, rr as sanitizeJsonb, rt as isAvatarDataUrl, sa as resolveWhatsAppAccount, sn as loadSessionStore, so as parseConfigPath, ss as retryAsync, st as validateJsonSchemaValue, tc as normalizeSecretInput, tn as triggerInternalHook, to as RecoveryAdmissionError, ts as resolveThinkingDefault, ua as resolveIMessageAccount, uc as DEFAULT_CONTEXT_TOKENS, ui as getChannelDock, un as syncConfiguredSessionTranscriptToRuntime, uo as getTrustedSafeBinDirs, us as buildAssistantMessage, ut as applyTestPluginDefaults, va as resolveChannelGroupRequireMention, vc as resolveOwnerDisplaySetting, vn as mergeDeliveryContext, vo as splitCommandChain, vs as resolveEnvApiKey, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as isDeliverableMessageChannel, wn as countToolResults, wo as isDispatchWrapperExecutable, wr as derivePromptTokens, ws as isProfileInCooldown, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as resolveAccountEntry, xn as normalizeAccountId$4, xo as resolveAllowlistCandidatePath, xr as isDiagnosticsEnabled, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as resolveChannelGroupToolsPolicy, yn as normalizeDeliveryContext, yo as DEFAULT_SAFE_BINS, ys as resolveModelAuthMode, za as acquireSessionWriteLock, zo as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, zr as resolveFreshSessionTotalTokens, zs as formatCliCommand, zt as executePluginCommand } from "./config-
|
|
4
|
+
import { $ as normalizeOptionalAccountId, A as resolveAgentModelFallbackValues, B as isKnownAgentMainSessionKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as buildAgentMainSessionKey, G as resolveCanonicalIdentity, H as normalizeAgentId, J as resolveThreadSessionKeys, K as resolveConfiguredCanonicalIdentity, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as normalizeAccountId$3, R as classifySessionKeyShape, S as filterBootstrapFilesForSession, U as normalizeMainKey, V as isValidAgentId, W as resolveAgentIdFromSessionKey, X as toAgentStoreSessionKey, Y as sanitizeAgentId, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, at as isSubagentSessionKey, c as resolveDefaultAgentId, d as resolveSessionAgentId, et as WAKE_GATE_SESSION_KEY_SEGMENT, f as resolveSessionAgentIds, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, it as isCronSessionKey, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as getSubagentDepth, o as resolveAgentSkillsFilter, ot as parseAgentSessionKey, q as resolveLinkedPeerIdForChannel, r as resolveAgentConfig, rt as isAcpSessionKey, s as resolveAgentWorkspaceDir, st as resolveThreadParentSessionKey, t as hasConfiguredModelFallbacks, tt as deriveSessionChatType, u as resolveRunModelFallbacksOverride, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-BLF4nZUv.js";
|
|
5
|
+
import { $a as listBufferedPluginTaskPasses, $o as resolveReasoningDefault, $s as resolveAuthProfileDisplayLabel, Aa as resolveGatewayMessageChannel, Ai as listTelegramAccountIds, An as normalizeInputProvenance, Ao as normalizeSafeBinProfileFixtures, Ar as SESSION_RUN_STATUSES, As as resolveSecretRefValues, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveSessionLockMaxHoldFromTimeout, Bn as resolveAndPersistSessionFile, Bo as resolveAgentMaxConcurrent, Br as setSessionRuntimeModel, Bs as resolveCliName, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as INTERNAL_MESSAGE_CHANNEL, Cn as capArrayByJsonBytes, Co as extractShellWrapperInlineCommand, Cs as getSoonestCooldownExpiry, Ct as normalizeAnyChannelId, Da as isMarkdownCapableMessageChannel, Dn as INPUT_PROVENANCE_KIND_VALUES, Do as unwrapKnownShellMultiplexerInvocation, Dr as makeZeroUsageSnapshot, Ds as resolveProfilesUnavailableReason, Dt as getActiveGatewayPluginRegistry, Ea as isInternalMessageChannel, En as parseInlineDirectives$1, Eo as unwrapKnownDispatchWrapperInvocation, Er as hasNonzeroUsage, Es as markAuthProfileUsed, Et as resolveChannelConfigId, Fa as normalizeAtHashSlug, Fn as parseDurationMs, Fo as resolveDiscordPreviewStreamMode, Fr as resolveSessionResetType, Ft as createPluginRegistry, Ga as stringEnum, Gi as resolveSlackBotToken, Gn as DB_SESSION_HYDRATION_LIMIT, Go as isCliProvider, Gr as deriveSessionMetaPatch, Gs as markAuthProfileGood, Ha as channelTargetSchema, Hi as resolveSlackAccount, Hn as isJsonlSessionBackend, Ho as buildConfiguredAllowlistKeys, Hr as resolveAgentMainSessionKey, Ht as matchPluginCommand, Ia as normalizeHyphenSlug, In as extractDeliveryInfo, Io as resolveSlackNativeStreaming, Ir as resolveThreadFlag, It as normalizePluginHttpPath, Ja as actionRequiresTarget, Jn as onSessionTranscriptUpdate, Jo as normalizeProviderId, Jr as normalizeChannelId$1, Js as resolveAuthStorePathForDisplay, Ka as applyTargetToParams, Ki as listEnabledSignalAccounts, Kn as hydrateSessionManagerFromDb, Ko as modelKey, Kr as getChannelPlugin, Ks as ensureAuthProfileStore, La as normalizeStringEntries, Ln as parseSessionThreadInfo, Lo as resolveSlackStreamingMode, Lr as DEFAULT_RESET_TRIGGERS, Ls as secretRefKey, Lt as buildPluginHealthReport, Ma as GATEWAY_CLIENT_IDS, Mi as resolveTelegramAccount, Mn as createAsyncLock, Mo as applyMergePatch, Mr as evaluateSessionFreshness, Ms as isNonEmptyString, Mt as setActivePluginRegistry, Na as GATEWAY_CLIENT_MODES, Ni as resolveTelegramToken, Nn as readJsonFile, No as isSafeExecutableValue, Nr as resolveChannelResetConfig, Ns as isRecord$2, Nt as addRegisteredPluginApi, Oa as listDeliverableMessageChannels, Oi as createTelegramActionGate, On as applyInputProvenanceToUserMessage, Oo as splitShellArgs, Or as normalizeUsage, Os as resolveApiKeyForProfile, Ot as getActivePluginRegistry, Pa as GATEWAY_CLIENT_NAMES, Pi as buildChannelAccountBindings, Pn as writeJsonAtomic, Po as mapStreamingModeToSlackLegacyDraftStreamMode, Pr as resolveSessionResetPolicy, Ps as parseDotPath, Pt as clearRegisteredPluginApis, Qa as discardBufferedPluginTaskPasses, Qn as TASK_RUN_STATUSES, Qo as resolveModelRefFromString, Ra as normalizeStringEntriesLower, Rn as appendAssistantMessageToSessionTranscript, Rr as mergeSessionEntry, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as resolveGroupSessionKey, Sn as archiveSessionTranscripts, So as resolveCommandResolutionFromArgv, St as listChatChannels, Ta as isGatewayMessageChannel, Tn as extractToolCallNames, To as isShellWrapperExecutable, Tr as deriveSessionTotalTokens, Ts as markAuthProfileFailure, Tt as normalizeChatChannelId, Ua as channelTargetsSchema, Ui as resolveSlackReplyToMode, Un as createPrimaryWriteInterceptor, Uo as buildModelAliasIndex, Ur as resolveExplicitAgentSessionKey, Us as dedupeProfileIds, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as readTaskWorkStates, Vn as withPreservationWriterPermit, Vo as buildAllowedModelSet, Vr as canonicalizeMainSessionAlias, Vt as listPluginCommands, Wa as optionalStringEnum, Wi as resolveSlackAppToken, Wn as drainPendingPrimaryWrites, Wo as findNormalizedProviderValue, Wr as resolveMainSessionKey, Ws as listProfilesForProvider, Xo as resolveConfiguredModelRef, Yi as resolveSignalAccount, Yo as parseModelRef, Ys as resolveOpenClawAgentDir, Zn as TASK_RUN_MODES, Zo as resolveDefaultModelForAgent, Zs as withFileLock, _ as resolveTelegramCustomCommands, _a as resolveChannelGroupPolicy, _c as parseBooleanValue$1, _n as deliveryContextKey, _o as isWindowsPlatform, _s as resolveApiKeyForProvider, _t as safeStatSync, a as writeConfigFile, ai as parseSlackTarget, an as getConfiguredSessionStorageRuntime, ao as unsetConfigOverride, ar as createCurrentUserPromptEnvelope, at as isPathWithinRoot, bn as normalizeSessionDeliveryFields, bo as matchAllowlist, br as emitDiagnosticEvent, bs as resolveAuthProfileOrder, bt as CHAT_CHANNEL_ORDER, cc as resolveSecretInputRef, cn as readSessionUpdatedAt, co as setConfigValueAtPath, cr as mergePromptContributions, cs as OLLAMA_NATIVE_BASE_URL, ct as loadPluginManifestRegistry, da as createDiscordActionGate, dc as DEFAULT_MODEL, di as listChannelDocks, dn as updateLastRoute, do as isTrustedSafeBinPath, dr as buildInboundMetaSystemPrompt, ds as buildAssistantMessageWithZeroUsage, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as replaceBufferedPluginTaskPasses, es as resolveSubagentSpawnModelSelection, fc as DEFAULT_PROVIDER, fn as updateSessionStore, fo as listWritableExplicitTrustedSafeBinDirs, fr as buildInboundUserContextPrefix, fs as buildStreamErrorAssistantMessage, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as normalizeDiscordToken, gc as isTruthyEnvValue, gn as deliveryContextFromSession, go as buildEnforcedShellCommand, gr as resolveSenderLabel, gs as requireApiKey, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as resolveDiscordAccount, hc as resolveShellEnvFallbackTimeoutMs, hn as resolveCacheTtlMs$1, ho as analyzeShellCommand, hr as resolveTimezone, hs as getCustomProviderApiKey, ht as discoverOpenClawPlugins, ia as hasAnyWhatsAppAuth, ic as hasConfiguredSecretInput, in as getActivePreservationLease, io as setConfigOverride, ir as sha256, it as isAvatarHttpUrl, ja as resolveMessageChannel, jn as jsonUtf8Bytes, jo as resolveSafeBinProfiles, jr as resolveSessionKey, js as describeUnknownError$1, jt as requireActivePluginRegistry, ka as normalizeMessageChannel, ki as listEnabledTelegramAccounts, kn as hasInterSessionUserProvenance, ko as SAFE_BIN_PROFILES, kt as getActivePluginRegistryKey, lc as splitTrailingAuthProfile, ln as recordSessionMetaFromInbound, lo as unsetConfigValueAtPath, lr as toJsonValue$1, ls as createOllamaStreamFn, lt as BUNDLED_ENABLED_BY_DEFAULT, mc as getShellPathFromLoginShell, mn as isCacheEnabled, mo as validateSafeBinArgv, mr as formatZonedTimestamp, ms as getApiKeyForModel, mt as resolveMemorySlotDecision, n as loadConfig, na as isWhatsAppGroupJid, no as getConfigOverrides, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oc as normalizeResolvedSecretInputString, oi as resolveSlackChannelId, on as isPreservationArmed, oo as getConfigValueAtPath, ot as isSupportedLocalAvatarExtension, pa as listEnabledDiscordAccounts, pc as VERSION, pi as normalizeSignalMessagingTarget, pn as updateSessionStoreEntry, po as normalizeTrustedSafeBinDirs, pr as formatUtcTimestamp, ps as buildUsageWithNoCost, pt as resolveEffectiveEnableState, qa as actionHasTarget, qn as emitSessionTranscriptUpdate, qo as normalizeModelRef$2, qr as listChannelPlugins, r as readConfigFileSnapshot, ra as normalizeWhatsAppTarget, rc as coerceSecretRef, ro as resetConfigOverrides, rr as sanitizeJsonb, rt as isAvatarDataUrl, sa as resolveWhatsAppAccount, sn as loadSessionStore, so as parseConfigPath, ss as retryAsync, st as validateJsonSchemaValue, tc as normalizeSecretInput, tn as triggerInternalHook, to as RecoveryAdmissionError, ts as resolveThinkingDefault, ua as resolveIMessageAccount, uc as DEFAULT_CONTEXT_TOKENS, ui as getChannelDock, un as syncConfiguredSessionTranscriptToRuntime, uo as getTrustedSafeBinDirs, us as buildAssistantMessage, ut as applyTestPluginDefaults, va as resolveChannelGroupRequireMention, vc as resolveOwnerDisplaySetting, vn as mergeDeliveryContext, vo as splitCommandChain, vs as resolveEnvApiKey, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as isDeliverableMessageChannel, wn as countToolResults, wo as isDispatchWrapperExecutable, wr as derivePromptTokens, ws as isProfileInCooldown, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as resolveAccountEntry, xn as normalizeAccountId$4, xo as resolveAllowlistCandidatePath, xr as isDiagnosticsEnabled, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as resolveChannelGroupToolsPolicy, yn as normalizeDeliveryContext, yo as DEFAULT_SAFE_BINS, ys as resolveModelAuthMode, za as acquireSessionWriteLock, zo as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, zr as resolveFreshSessionTotalTokens, zs as formatCliCommand, zt as executePluginCommand } from "./config-CQNfmIC8.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BzpcrxaW.js";
|
|
7
|
-
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-
|
|
8
|
-
import { c as resolveSessionFilePathOptions, d as resolveSessionTranscriptsDirForAgent, f as resolveStorePath, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, s as resolveSessionFilePath } from "./artifacts-
|
|
7
|
+
import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-BSK-0Yjx.js";
|
|
8
|
+
import { c as resolveSessionFilePathOptions, d as resolveSessionTranscriptsDirForAgent, f as resolveStorePath, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, s as resolveSessionFilePath } from "./artifacts-HAYpGlG1.js";
|
|
9
9
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
10
|
-
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-
|
|
11
|
-
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, f as KeyedAsyncQueue, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime } from "./agent-turn-runner-
|
|
10
|
+
import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-BDwTyH6I.js";
|
|
11
|
+
import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, f as KeyedAsyncQueue, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime } from "./agent-turn-runner-YBWX_qXk.js";
|
|
12
12
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BVVZ4csV.js";
|
|
13
13
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CiGIllmg.js";
|
|
14
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
15
|
-
import { a as isBlockedHostnameOrIp, d as collectErrorGraphCandidates, g as hasErrnoCode, h as formatUncaughtError, l as normalizeHostname, m as formatErrorMessage, p as formatErrorChainMessage, t as SsrFBlockedError, v as readErrorName } from "./ssrf-
|
|
16
|
-
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-
|
|
14
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-CUjmZn2Y.js";
|
|
15
|
+
import { a as isBlockedHostnameOrIp, d as collectErrorGraphCandidates, g as hasErrnoCode, h as formatUncaughtError, l as normalizeHostname, m as formatErrorMessage, p as formatErrorChainMessage, t as SsrFBlockedError, v as readErrorName } from "./ssrf-DiAz1Z_z.js";
|
|
16
|
+
import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-BKwRzYJb.js";
|
|
17
17
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-Cs7e44no.js";
|
|
18
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
19
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
20
|
-
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-
|
|
21
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
22
|
-
import { r as makeProxyFetch } from "./proxy-fetch-
|
|
18
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-CHfCMaeX.js";
|
|
19
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-B0JgGdXa.js";
|
|
20
|
+
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-kuILYHZv.js";
|
|
21
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CZT8FU1i.js";
|
|
22
|
+
import { r as makeProxyFetch } from "./proxy-fetch-CuQpjpkI.js";
|
|
23
23
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-BQnigH8P.js";
|
|
24
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
25
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
24
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-D-CHzVr1.js";
|
|
25
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-Bm7oqkwT.js";
|
|
26
26
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-DQqVJhbI.js";
|
|
27
|
-
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
28
|
-
import { t as resolveMarkdownTableMode } from "./markdown-tables-
|
|
29
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
30
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
31
|
-
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, Ct as isSenderIdAllowed, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, St as firstDefined$1, T as recordUpdate, Tt as resolveGroupAllowFromSources, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as upsertChannelPairingRequest, a as reactMessageTelegram, b as wrapFileReferencesInHtml, bt as getPairingAdapter, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, gt as removeChannelAllowFromStoreEntry, h as isTelegramClientRejection, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readChannelAllowFromStore, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as parseTelegramTarget, p as isRecoverableTelegramNetworkError, pt as addChannelAllowFromStoreEntry, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveTelegramTargetChatType, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, v as markdownToTelegramHtml, vt as readJsonFileWithFallback, w as recordState, wt as mergeDmAllowFromSources, x as fingerprintTelegramToken, xt as listPairingChannels, y as renderTelegramHtmlText, yt as writeJsonFileAtomically, z as buildTelegramParentPeer } from "./send-
|
|
32
|
-
import { $ as expandToolGroups, A as isTransientHttpError, B as registerBrowserRoutes, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as isTimeoutErrorMessage, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRateLimitAssistantError, P as isAuthPermanentErrorMessage, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeImageBlocks, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, ft as sanitizeToolResultImages, g as formatAssistantErrorText, h as classifyFailoverReason, ht as estimateBase64DecodedBytes, it as buildBootstrapContextFiles, j as parseImageDimensionError, k as isRawApiErrorPayload, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, mt as canonicalizeBase64, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, pt as resolveImageSanitizationLimits, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isContextOverflowError, x as isBillingAssistantError, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-
|
|
33
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-
|
|
34
|
-
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, 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, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-
|
|
35
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-
|
|
36
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
37
|
-
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-
|
|
38
|
-
import { c as resolveSandboxInputPath, d as applySkillEnvOverrides, f as applySkillEnvOverridesFromSnapshot, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, o as assertMediaNotDataUrl, r as loadWorkspaceSkillEntries, s as assertSandboxPath, u as resolveSandboxedMediaSource } from "./skills-
|
|
39
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-
|
|
40
|
-
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-
|
|
41
|
-
import { _ as buildPluginTurnIdentity, b as fireAndForgetHook, c as applyMessageSendingHook, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as buildPluginRuntimeIdentity, h as toPluginMessageReceivedEvent, l as createMessageSentEmitter, m as toPluginMessageContext, n as initializeGlobalHookRunner, o as buildOutboundSessionContext, p as toInternalMessageTranscribedContext, r as promptBuildResultToContribution, s as resolveOutboundSessionId, t as getGlobalHookRunner, u as deriveInboundMessageHookContext, v as resolveProviderPromptCacheKey, y as resolveProviderRuntimeIdentity } from "./hook-runner-global-
|
|
42
|
-
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
43
|
-
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-
|
|
27
|
+
import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-CDvvv9SU.js";
|
|
28
|
+
import { t as resolveMarkdownTableMode } from "./markdown-tables-DIWQQ2W1.js";
|
|
29
|
+
import { t as convertMarkdownTables } from "./tables-CTmQQyfU.js";
|
|
30
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CpXGZgrS.js";
|
|
31
|
+
import { $ as resolveTelegramThreadSpec, A as splitTelegramCaption, B as buildTelegramThreadParams, C as recordApiRequest, Ct as isSenderIdAllowed, D as registerAccount, E as recordWebhook, F as buildSenderLabel, G as hasBotMention, H as describeReplyTarget, I as buildSenderName, J as resolveTelegramForumThreadId, K as normalizeForwardedContext, L as buildTelegramGroupFrom, M as loadCronStore, N as resolveCronStorePath, O as releaseAccountOwner, P as buildGroupLabel, Q as resolveTelegramStreamMode, R as buildTelegramGroupPeerId, S as getTelegramFleetSupervisor, St as firstDefined$1, T as recordUpdate, Tt as resolveGroupAllowFromSources, U as expandTextLinks, V as buildTypingThreadParams, W as extractTelegramLocation, X as resolveTelegramMediaPlaceholder, Y as resolveTelegramGroupAllowFromContext, Z as resolveTelegramReplyId, _ as markdownToTelegramChunks, _t as upsertChannelPairingRequest, a as reactMessageTelegram, b as wrapFileReferencesInHtml, bt as getPairingAdapter, c as sendStickerTelegram, ct as formatLocationText, d as extractTelegramErrorText, et as isSenderAllowed$1, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, gt as removeChannelAllowFromStoreEntry, h as isTelegramClientRejection, i as editMessageTelegram, it as isVoiceCompatibleAudio, j as withTelegramApiErrorLogging, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as toLocationContext, m as isSafeToRetrySendError, mt as readChannelAllowFromStore, n as createForumTopicTelegram, nt as normalizeDmAllowFromWithStore$1, o as sendMessageTelegram, ot as parseTelegramTarget, p as isRecoverableTelegramNetworkError, pt as addChannelAllowFromStoreEntry, q as resolveTelegramDirectPeerId, r as deleteMessageTelegram, rt as resolveSenderAllowMatch$1, s as sendPollTelegram, st as resolveTelegramTargetChatType, t as buildInlineKeyboard, tt as normalizeAllowFrom$2, u as wasSentByBot, v as markdownToTelegramHtml, vt as readJsonFileWithFallback, w as recordState, wt as mergeDmAllowFromSources, x as fingerprintTelegramToken, xt as listPairingChannels, y as renderTelegramHtmlText, yt as writeJsonFileAtomically, z as buildTelegramParentPeer } from "./send-R0HB1-l-.js";
|
|
32
|
+
import { $ as expandToolGroups, A as isTransientHttpError, B as registerBrowserRoutes, C as isCompactionFailureError, D as isLikelyContextOverflowError, E as isFailoverErrorMessage, F as isTimeoutErrorMessage, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as parseImageSizeError, N as sanitizeUserFacingText, O as isRateLimitAssistantError, P as isAuthPermanentErrorMessage, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isCloudCodeAssistFormatError, T as isFailoverAssistantError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeImageBlocks, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, ft as sanitizeToolResultImages, g as formatAssistantErrorText, h as classifyFailoverReason, ht as estimateBase64DecodedBytes, it as buildBootstrapContextFiles, j as parseImageDimensionError, k as isRawApiErrorPayload, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, mt as canonicalizeBase64, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, pt as resolveImageSanitizationLimits, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isContextOverflowError, x as isBillingAssistantError, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-BRymkO_1.js";
|
|
33
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-CE_6VOiQ.js";
|
|
34
|
+
import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, 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, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-BNafitZj.js";
|
|
35
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-Dt1hESHJ.js";
|
|
36
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DxJSOoJn.js";
|
|
37
|
+
import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-BYfWIPfV.js";
|
|
38
|
+
import { c as resolveSandboxInputPath, d as applySkillEnvOverrides, f as applySkillEnvOverridesFromSnapshot, i as resolveSkillsPromptForRun, n as buildWorkspaceSkillSnapshot, o as assertMediaNotDataUrl, r as loadWorkspaceSkillEntries, s as assertSandboxPath, u as resolveSandboxedMediaSource } from "./skills-BuJjEYto.js";
|
|
39
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-D0eLSqkP.js";
|
|
40
|
+
import { _ as buildTargetResolverSignature, a as normalizeReplyPayloadsForDelivery, c as applyReplyTagsToPayload, d as filterMessagingToolMediaDuplicates, f as isRenderablePayload, g as resolveReplyToMode, h as createReplyToModeFilterForChannel, i as normalizeOutboundPayloadsForJson, l as applyReplyThreading, m as shouldSuppressReasoningPayload, n as formatOutboundPayloadLog, o as throwIfAborted, p as shouldSuppressMessagingToolReplies, r as normalizeOutboundPayloads, s as loadChannelOutboundAdapter, t as deliverOutboundPayloads, u as filterMessagingToolDuplicates, v as normalizeChannelTargetInput, y as normalizeTargetForProvider } from "./deliver-L6eu6zyG.js";
|
|
41
|
+
import { _ as buildPluginTurnIdentity, b as fireAndForgetHook, c as applyMessageSendingHook, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as buildPluginRuntimeIdentity, h as toPluginMessageReceivedEvent, l as createMessageSentEmitter, m as toPluginMessageContext, n as initializeGlobalHookRunner, o as buildOutboundSessionContext, p as toInternalMessageTranscribedContext, r as promptBuildResultToContribution, s as resolveOutboundSessionId, t as getGlobalHookRunner, u as deriveInboundMessageHookContext, v as resolveProviderPromptCacheKey, y as resolveProviderRuntimeIdentity } from "./hook-runner-global-WRI53ibi.js";
|
|
42
|
+
import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-Bl3Yjf_w.js";
|
|
43
|
+
import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-DpLk11E7.js";
|
|
44
44
|
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-FnAYAFD8.js";
|
|
45
45
|
import { t as redactIdentifier } from "./redact-identifier-COJGJSys.js";
|
|
46
46
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-DwyIZ8dH.js";
|
|
47
|
-
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-
|
|
47
|
+
import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-C7lPoqyv.js";
|
|
48
48
|
import { n as getDiagnosticSessionState, o as redactChannelCorrelation } from "./diagnostic-session-state-BJKtT9MA.js";
|
|
49
49
|
import { t as CommandLane } from "./lanes-CIgsHd2u.js";
|
|
50
|
-
import { a as enqueueCommandInLane, i as clearCommandLane, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
51
|
-
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-
|
|
52
|
-
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-
|
|
53
|
-
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
50
|
+
import { a as enqueueCommandInLane, i as clearCommandLane, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-CHiQj9Ji.js";
|
|
51
|
+
import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-6BBajZds.js";
|
|
52
|
+
import { a as resolveProviderVisionModelFromConfig, i as decodeDataUrl, n as coerceImageAssistantText, o as minimaxUnderstandImage, r as coerceImageModelConfig, s as ensureOpenClawModelsJson } from "./provider-image-DBye3Ln5.js";
|
|
53
|
+
import { _ as extractTextFromChatContent, a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-BHmc3RVS.js";
|
|
54
54
|
import { n as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CcqKLbvR.js";
|
|
55
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
56
|
-
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
57
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
58
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
59
|
-
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-
|
|
60
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
61
|
-
import { t as createTelegramPollingTransport } from "./proxy-
|
|
62
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
63
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
55
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-D6fAvItC.js";
|
|
56
|
+
import { a as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DdbAQ2HO.js";
|
|
57
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-Ce2XBaKF.js";
|
|
58
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BS8Ge06Z.js";
|
|
59
|
+
import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-juCW_uQ-.js";
|
|
60
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BpLuk-wC.js";
|
|
61
|
+
import { t as createTelegramPollingTransport } from "./proxy-DJ2nskkh.js";
|
|
62
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-Dw3jvqpR.js";
|
|
63
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-BU2WXD0N.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-D2jffdjH.js";
|
|
65
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-NpBeKA8F.js";
|
|
66
66
|
import { createRequire } from "node:module";
|
|
67
67
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
68
68
|
import * as path$1 from "node:path";
|
|
69
69
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
70
70
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
71
|
-
import
|
|
71
|
+
import json5 from "json5";
|
|
72
72
|
import os, { homedir } from "node:os";
|
|
73
73
|
import * as fs$2 from "node:fs/promises";
|
|
74
74
|
import fs$1, { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -17055,7 +17055,7 @@ async function sendTranscriptEcho(params) {
|
|
|
17055
17055
|
}
|
|
17056
17056
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
17057
17057
|
try {
|
|
17058
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
17058
|
+
const { deliverOutboundPayloads } = await import("./deliver-D4fWK65M.js");
|
|
17059
17059
|
await deliverOutboundPayloads({
|
|
17060
17060
|
cfg,
|
|
17061
17061
|
channel: normalizedChannel,
|
|
@@ -24667,7 +24667,7 @@ async function routeReply(params) {
|
|
|
24667
24667
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
24668
24668
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
24669
24669
|
try {
|
|
24670
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
24670
|
+
const { deliverOutboundPayloads } = await import("./deliver-D4fWK65M.js");
|
|
24671
24671
|
const outboundSession = buildOutboundSessionContext({
|
|
24672
24672
|
cfg,
|
|
24673
24673
|
agentId: resolvedAgentId,
|
|
@@ -26985,7 +26985,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
|
|
|
26985
26985
|
const { backbone, runner } = getAgentTurnRuntime();
|
|
26986
26986
|
const id = await enqueueAgentTurn(backbone, payload);
|
|
26987
26987
|
if (!isClaimableAgentTurnWorkId(id)) return;
|
|
26988
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
26988
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-C4MQxaT2.js");
|
|
26989
26989
|
await runner.claimAndExecute({
|
|
26990
26990
|
workId: id,
|
|
26991
26991
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -28268,7 +28268,7 @@ async function handleHeartbeatError(params) {
|
|
|
28268
28268
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
28269
28269
|
async function ackAnnounceExecuted(payload) {
|
|
28270
28270
|
if (payload.kind !== "announce") return;
|
|
28271
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
28271
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-2P8D5Trx.js");
|
|
28272
28272
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
28273
28273
|
await markSubagentAnnounceExecuted(runId);
|
|
28274
28274
|
} catch {}
|
|
@@ -28515,7 +28515,7 @@ function normalizeSessionKey(value) {
|
|
|
28515
28515
|
function readSessionStore(storePath) {
|
|
28516
28516
|
try {
|
|
28517
28517
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
28518
|
-
const parsed =
|
|
28518
|
+
const parsed = json5.parse(raw);
|
|
28519
28519
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
28520
28520
|
} catch {}
|
|
28521
28521
|
return {};
|
|
@@ -28744,7 +28744,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
28744
28744
|
let subagentRegistryAccessPromise;
|
|
28745
28745
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
28746
28746
|
function loadSubagentRegistryAccess() {
|
|
28747
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
28747
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-2P8D5Trx.js").catch((err) => {
|
|
28748
28748
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
28749
28749
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
28750
28750
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -31599,7 +31599,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
31599
31599
|
await ensureOpenClawModelsJson(cfg);
|
|
31600
31600
|
} catch {}
|
|
31601
31601
|
try {
|
|
31602
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
31602
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-4X7_2_nP.js");
|
|
31603
31603
|
const agentDir = resolveOpenClawAgentDir();
|
|
31604
31604
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
31605
31605
|
applyDiscoveredContextWindows({
|
|
@@ -42013,7 +42013,7 @@ async function createModelSelectionState(params) {
|
|
|
42013
42013
|
}
|
|
42014
42014
|
}
|
|
42015
42015
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
42016
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
42016
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CCJQoedi.js");
|
|
42017
42017
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
42018
42018
|
const providerKey = normalizeProviderId(provider);
|
|
42019
42019
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -60454,7 +60454,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
60454
60454
|
return;
|
|
60455
60455
|
}
|
|
60456
60456
|
try {
|
|
60457
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
60457
|
+
const { deliverOutboundPayloads } = await import("./deliver-D4fWK65M.js");
|
|
60458
60458
|
const outboundSession = buildOutboundSessionContext({
|
|
60459
60459
|
cfg: params.cfg,
|
|
60460
60460
|
sessionKey: params.sessionKey
|
|
@@ -65275,7 +65275,7 @@ async function describeStickerImage(params) {
|
|
|
65275
65275
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
65276
65276
|
try {
|
|
65277
65277
|
const buffer = await fs$1.readFile(imagePath);
|
|
65278
|
-
const { describeImageWithModel } = await import("./provider-image-
|
|
65278
|
+
const { describeImageWithModel } = await import("./provider-image-CNlYbRab.js");
|
|
65279
65279
|
return (await describeImageWithModel({
|
|
65280
65280
|
buffer,
|
|
65281
65281
|
fileName: "sticker.webp",
|
|
@@ -66543,7 +66543,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
66543
66543
|
let transcript;
|
|
66544
66544
|
let carry;
|
|
66545
66545
|
if (needsPreflightTranscription) try {
|
|
66546
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
66546
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DE04bi4M.js");
|
|
66547
66547
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
66548
66548
|
if (uploadable.length > 0) {
|
|
66549
66549
|
const preflight = await transcribeFirstAudio({
|
|
@@ -73680,23 +73680,23 @@ function createDefaultDeps() {
|
|
|
73680
73680
|
};
|
|
73681
73681
|
},
|
|
73682
73682
|
sendMessageTelegram: async (...args) => {
|
|
73683
|
-
const { sendMessageTelegram } = await import("./send-
|
|
73683
|
+
const { sendMessageTelegram } = await import("./send-Cg2VXcO0.js");
|
|
73684
73684
|
return await sendMessageTelegram(...args);
|
|
73685
73685
|
},
|
|
73686
73686
|
sendMessageDiscord: async (...args) => {
|
|
73687
|
-
const { sendMessageDiscord } = await import("./send-
|
|
73687
|
+
const { sendMessageDiscord } = await import("./send-GMYUhBtJ.js");
|
|
73688
73688
|
return await sendMessageDiscord(...args);
|
|
73689
73689
|
},
|
|
73690
73690
|
sendMessageSlack: async (...args) => {
|
|
73691
|
-
const { sendMessageSlack } = await import("./send-
|
|
73691
|
+
const { sendMessageSlack } = await import("./send-DAs6FmWB.js");
|
|
73692
73692
|
return await sendMessageSlack(...args);
|
|
73693
73693
|
},
|
|
73694
73694
|
sendMessageSignal: async (...args) => {
|
|
73695
|
-
const { sendMessageSignal } = await import("./send-
|
|
73695
|
+
const { sendMessageSignal } = await import("./send-tASIQF-Q.js");
|
|
73696
73696
|
return await sendMessageSignal(...args);
|
|
73697
73697
|
},
|
|
73698
73698
|
sendMessageIMessage: async (...args) => {
|
|
73699
|
-
const { sendMessageIMessage } = await import("./send-
|
|
73699
|
+
const { sendMessageIMessage } = await import("./send-UIQH_kN6.js");
|
|
73700
73700
|
return await sendMessageIMessage(...args);
|
|
73701
73701
|
}
|
|
73702
73702
|
};
|
|
@@ -85163,7 +85163,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
85163
85163
|
}
|
|
85164
85164
|
let commandsRegistry;
|
|
85165
85165
|
async function getCommandsRegistry() {
|
|
85166
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
85166
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Do_g2It_.js");
|
|
85167
85167
|
return commandsRegistry;
|
|
85168
85168
|
}
|
|
85169
85169
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -85493,14 +85493,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
85493
85493
|
const channelName = channelInfo?.name;
|
|
85494
85494
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
85495
85495
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
85496
|
-
import("./resolve-route-
|
|
85496
|
+
import("./resolve-route-DiQTL1qI.js"),
|
|
85497
85497
|
import("./inbound-context-BmQfexVy.js"),
|
|
85498
|
-
import("./provider-dispatcher-
|
|
85498
|
+
import("./provider-dispatcher-D7bchiJq.js")
|
|
85499
85499
|
]);
|
|
85500
85500
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
85501
85501
|
import("./conversation-label-TAXJpeGu.js"),
|
|
85502
|
-
import("./reply-prefix-
|
|
85503
|
-
import("./session-meta-
|
|
85502
|
+
import("./reply-prefix-MU3uY52y.js"),
|
|
85503
|
+
import("./session-meta-Dd1ZONel.js")
|
|
85504
85504
|
]);
|
|
85505
85505
|
const route = resolveAgentRoute({
|
|
85506
85506
|
cfg,
|
|
@@ -85565,9 +85565,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
85565
85565
|
});
|
|
85566
85566
|
const deliverSlashPayloads = async (replies) => {
|
|
85567
85567
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
85568
|
-
import("./replies-
|
|
85569
|
-
import("./chunk-
|
|
85570
|
-
import("./markdown-tables-
|
|
85568
|
+
import("./replies-XUkqz_7S.js"),
|
|
85569
|
+
import("./chunk-DI-5pBck.js"),
|
|
85570
|
+
import("./markdown-tables-cZSKCBuW.js")
|
|
85571
85571
|
]);
|
|
85572
85572
|
await deliverSlackSlashReplies({
|
|
85573
85573
|
replies,
|
|
@@ -85621,7 +85621,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
85621
85621
|
let nativeCommands = [];
|
|
85622
85622
|
if (nativeEnabled) {
|
|
85623
85623
|
reg = await getCommandsRegistry();
|
|
85624
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
85624
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-C7ZE3rKj.js")).listSkillCommandsForAgents({ cfg }) : [];
|
|
85625
85625
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
85626
85626
|
skillCommands,
|
|
85627
85627
|
provider: "slack"
|
|
@@ -86140,7 +86140,7 @@ async function auditTelegramGroupMembership(params) {
|
|
|
86140
86140
|
groups: [],
|
|
86141
86141
|
elapsedMs: Date.now() - started
|
|
86142
86142
|
};
|
|
86143
|
-
const fetcher = params.proxyUrl ? (await import("./proxy-
|
|
86143
|
+
const fetcher = params.proxyUrl ? (await import("./proxy-D2uiu68M.js")).makeProxyFetch(params.proxyUrl) : fetch;
|
|
86144
86144
|
const { fetchWithTimeout } = await import("./fetch-timeout-DyPq8Phs.js");
|
|
86145
86145
|
const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
|
|
86146
86146
|
const groups = [];
|
|
@@ -88674,7 +88674,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
88674
88674
|
let audioPreflightCarry;
|
|
88675
88675
|
const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
|
|
88676
88676
|
if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
|
|
88677
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
88677
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DE04bi4M.js");
|
|
88678
88678
|
const preflight = await transcribeFirstAudio({
|
|
88679
88679
|
ctx: {
|
|
88680
88680
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -93076,7 +93076,7 @@ async function getMemorySearchManager(params) {
|
|
|
93076
93076
|
if (cached) return { manager: cached };
|
|
93077
93077
|
}
|
|
93078
93078
|
try {
|
|
93079
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
93079
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DhW_frb3.js");
|
|
93080
93080
|
const primary = await QmdMemoryManager.create({
|
|
93081
93081
|
cfg: params.cfg,
|
|
93082
93082
|
agentId: params.agentId,
|
|
@@ -93088,7 +93088,7 @@ async function getMemorySearchManager(params) {
|
|
|
93088
93088
|
const wrapper = new FallbackMemoryManager({
|
|
93089
93089
|
primary,
|
|
93090
93090
|
fallbackFactory: async () => {
|
|
93091
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
93091
|
+
const { MemoryIndexManager } = await import("./manager-BlYRVNJI.js");
|
|
93092
93092
|
return await MemoryIndexManager.get(params);
|
|
93093
93093
|
}
|
|
93094
93094
|
}, () => {
|
|
@@ -93103,7 +93103,7 @@ async function getMemorySearchManager(params) {
|
|
|
93103
93103
|
}
|
|
93104
93104
|
}
|
|
93105
93105
|
try {
|
|
93106
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
93106
|
+
const { MemoryIndexManager } = await import("./manager-BlYRVNJI.js");
|
|
93107
93107
|
return { manager: await MemoryIndexManager.get(params) };
|
|
93108
93108
|
} catch (err) {
|
|
93109
93109
|
return {
|
|
@@ -94150,7 +94150,7 @@ function createPluginRuntime(options = {}) {
|
|
|
94150
94150
|
workStates: readTaskWorkStates
|
|
94151
94151
|
},
|
|
94152
94152
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
94153
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
94153
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-BMikDBXR.js")).startUserSessionRun(params) }
|
|
94154
94154
|
};
|
|
94155
94155
|
Object.defineProperty(runtime, "analysis", {
|
|
94156
94156
|
enumerable: true,
|
|
@@ -95656,7 +95656,7 @@ async function recordLoopOutcome(args) {
|
|
|
95656
95656
|
if (!args.ctx?.sessionKey) return;
|
|
95657
95657
|
try {
|
|
95658
95658
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuiQDC7d.js");
|
|
95659
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
95659
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-Buouaxew.js");
|
|
95660
95660
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
95661
95661
|
sessionKey: args.ctx.sessionKey,
|
|
95662
95662
|
sessionId: args.ctx?.agentId
|
|
@@ -95683,8 +95683,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
95683
95683
|
const params = args.params;
|
|
95684
95684
|
if (args.ctx?.sessionKey) {
|
|
95685
95685
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-CuiQDC7d.js");
|
|
95686
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
95687
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
95686
|
+
const { logToolLoopAction } = await import("./diagnostic-DfxuMWHd.js");
|
|
95687
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Buouaxew.js");
|
|
95688
95688
|
const sessionState = getDiagnosticSessionState({
|
|
95689
95689
|
sessionKey: args.ctx.sessionKey,
|
|
95690
95690
|
sessionId: args.ctx?.agentId
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./paths-KIDAzMH-.js";
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./config-
|
|
2
|
+
import "./subsystem-B2x33s9h.js";
|
|
3
|
+
import "./agent-scope-BLF4nZUv.js";
|
|
4
|
+
import "./config-CQNfmIC8.js";
|
|
5
5
|
import "./github-copilot-token-BzpcrxaW.js";
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./artifacts-
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./diagnostic-
|
|
6
|
+
import "./logger-BSK-0Yjx.js";
|
|
7
|
+
import "./artifacts-HAYpGlG1.js";
|
|
8
|
+
import "./redact-CUjmZn2Y.js";
|
|
9
|
+
import "./diagnostic-C7lPoqyv.js";
|
|
10
10
|
import "./diagnostic-session-state-BJKtT9MA.js";
|
|
11
|
-
import { a as enqueueCommandInLane, i as clearCommandLane, n as CommandLaneClearedError, o as getCommandLaneSnapshots, r as GatewayDrainingError, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-
|
|
11
|
+
import { a as enqueueCommandInLane, i as clearCommandLane, n as CommandLaneClearedError, o as getCommandLaneSnapshots, r as GatewayDrainingError, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-CHiQj9Ji.js";
|
|
12
12
|
|
|
13
13
|
export { getQueueSize };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as logLaneTaskCompleted, n as logLaneDequeue, r as logLaneEnqueue, t as diag } from "./diagnostic-
|
|
1
|
+
import { i as logLaneTaskCompleted, n as logLaneDequeue, r as logLaneEnqueue, t as diag } from "./diagnostic-C7lPoqyv.js";
|
|
2
2
|
import { t as CommandLane } from "./lanes-CIgsHd2u.js";
|
|
3
3
|
|
|
4
4
|
//#region src/process/command-queue.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./paths-KIDAzMH-.js";
|
|
2
|
-
import "./subsystem-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./config-
|
|
2
|
+
import "./subsystem-B2x33s9h.js";
|
|
3
|
+
import "./agent-scope-BLF4nZUv.js";
|
|
4
|
+
import "./config-CQNfmIC8.js";
|
|
5
5
|
import "./github-copilot-token-BzpcrxaW.js";
|
|
6
|
-
import "./logger-
|
|
7
|
-
import "./artifacts-
|
|
8
|
-
import { _ as resolveTextCommand, a as isCommandEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, i as getCommandDetection, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, o as isCommandMessage, p as normalizeCommandBody, r as findCommandByNativeName, s as isNativeCommandSurface, t as buildCommandText, u as listNativeCommandSpecs, v as serializeCommandArgs, y as shouldHandleTextCommands } from "./commands-registry-
|
|
6
|
+
import "./logger-BSK-0Yjx.js";
|
|
7
|
+
import "./artifacts-HAYpGlG1.js";
|
|
8
|
+
import { _ as resolveTextCommand, a as isCommandEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, i as getCommandDetection, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, o as isCommandMessage, p as normalizeCommandBody, r as findCommandByNativeName, s as isNativeCommandSurface, t as buildCommandText, u as listNativeCommandSpecs, v as serializeCommandArgs, y as shouldHandleTextCommands } from "./commands-registry-DpLk11E7.js";
|
|
9
9
|
import "./thinking-FnAYAFD8.js";
|
|
10
10
|
|
|
11
11
|
export { buildCommandText, buildCommandTextFromArgs, findCommandByNativeName, getCommandDetection, isCommandEnabled, isCommandMessage, isNativeCommandSurface, listChatCommands, listChatCommandsForConfig, listNativeCommandSpecs, listNativeCommandSpecsForConfig, maybeResolveTextAlias, normalizeCommandBody, parseCommandArgs, resolveCommandArgChoices, resolveCommandArgMenu, resolveTextCommand, serializeCommandArgs, shouldHandleTextCommands };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { W as escapeRegExp } from "./subsystem-
|
|
1
|
+
import { W as escapeRegExp } from "./subsystem-B2x33s9h.js";
|
|
2
2
|
import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
|
|
3
|
-
import { Jr as normalizeChannelId, Ot as getActivePluginRegistry, Xo as resolveConfiguredModelRef, dc as DEFAULT_MODEL, di as listChannelDocks, fc as DEFAULT_PROVIDER } from "./config-
|
|
3
|
+
import { Jr as normalizeChannelId, Ot as getActivePluginRegistry, Xo as resolveConfiguredModelRef, dc as DEFAULT_MODEL, di as listChannelDocks, fc as DEFAULT_PROVIDER } from "./config-CQNfmIC8.js";
|
|
4
4
|
import { r as listThinkingLevels } from "./thinking-FnAYAFD8.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, o as resolveOAuthDir, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-KIDAzMH-.js";
|
|
2
|
-
import { $ as resolveUserPath, A as isPathInside$2, F as sanitizeHostExecEnv, I as MissingEnvVarError, K as isRecord$3, L as containsEnvVarReference, N as applyConfigEnvVars, R as resolveConfigEnvVars, S as openBoundaryFileSync, Y as normalizeE164, Z as resolveConfigDir, _ as resolveConfigIncludes, d as createFileLogWriter, g as readConfigIncludeFileWithGuards, h as INCLUDE_KEY, lt as logVerbose, m as ConfigIncludeError, n as stripAnsi, p as normalizeConfigPaths, rt as sleep, t as createSubsystemLogger, v as isBlockedObjectKey, vt as getChildLogger, y as isPathInside$1 } from "./subsystem-
|
|
2
|
+
import { $ as resolveUserPath, A as isPathInside$2, F as sanitizeHostExecEnv, I as MissingEnvVarError, K as isRecord$3, L as containsEnvVarReference, N as applyConfigEnvVars, R as resolveConfigEnvVars, S as openBoundaryFileSync, Y as normalizeE164, Z as resolveConfigDir, _ as resolveConfigIncludes, d as createFileLogWriter, g as readConfigIncludeFileWithGuards, h as INCLUDE_KEY, lt as logVerbose, m as ConfigIncludeError, n as stripAnsi, p as normalizeConfigPaths, rt as sleep, t as createSubsystemLogger, v as isBlockedObjectKey, vt as getChildLogger, y as isPathInside$1 } from "./subsystem-B2x33s9h.js";
|
|
3
3
|
import { t as isPlainObject$2 } from "./plain-object-BTbonVRI.js";
|
|
4
|
-
import { $ as normalizeOptionalAccountId, D as runExec, F as buildAgentMainSessionKey, H as normalizeAgentId, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, Q as normalizeAccountId$1, U as normalizeMainKey, Z as DEFAULT_ACCOUNT_ID, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as resolveAgentModelPrimaryValue, ot as parseAgentSessionKey, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, z as expandIdentityLinksToMatchKeys } from "./agent-scope-
|
|
4
|
+
import { $ as normalizeOptionalAccountId, D as runExec, F as buildAgentMainSessionKey, H as normalizeAgentId, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, Q as normalizeAccountId$1, U as normalizeMainKey, Z as DEFAULT_ACCOUNT_ID, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, j as resolveAgentModelPrimaryValue, ot as parseAgentSessionKey, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, z as expandIdentityLinksToMatchKeys } from "./agent-scope-BLF4nZUv.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BzpcrxaW.js";
|
|
6
|
-
import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-
|
|
6
|
+
import { f as resolveStorePath, i as parseSessionArchiveTimestamp, l as resolveSessionTranscriptPath, n as isPrimarySessionTranscriptFileName, o as resolveDefaultSessionStorePath, p as runTasksWithConcurrency, r as isSessionArchiveArtifactName, s as resolveSessionFilePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPathInDir } from "./artifacts-HAYpGlG1.js";
|
|
7
7
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-Byxk5Gak.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path, { join } from "node:path";
|
|
11
11
|
import util, { isDeepStrictEqual } from "node:util";
|
|
12
|
-
import
|
|
12
|
+
import json5 from "json5";
|
|
13
13
|
import os, { userInfo } from "node:os";
|
|
14
14
|
import fs$1, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
|
|
15
15
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -26895,7 +26895,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
26895
26895
|
function normalizeDeps(overrides = {}) {
|
|
26896
26896
|
return {
|
|
26897
26897
|
fs: overrides.fs ?? fs,
|
|
26898
|
-
json5: overrides.json5 ??
|
|
26898
|
+
json5: overrides.json5 ?? json5,
|
|
26899
26899
|
env: overrides.env ?? process.env,
|
|
26900
26900
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
26901
26901
|
configPath: overrides.configPath ?? "",
|
|
@@ -26906,11 +26906,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
26906
26906
|
if (env !== process.env) return;
|
|
26907
26907
|
loadDotEnv({ quiet: true });
|
|
26908
26908
|
}
|
|
26909
|
-
function parseConfigJson5(raw, json5 =
|
|
26909
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
26910
26910
|
try {
|
|
26911
26911
|
return {
|
|
26912
26912
|
ok: true,
|
|
26913
|
-
parsed: json5.parse(raw)
|
|
26913
|
+
parsed: json5$1.parse(raw)
|
|
26914
26914
|
};
|
|
26915
26915
|
} catch (err) {
|
|
26916
26916
|
return {
|