wednesdayai 0.5.1-dev.39 → 0.5.1-dev.40
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-FvVddEAm.js → acp-cli-aZDU1frr.js} +11 -11
- package/dist/{agent-scope-Daay3L1Q.js → agent-scope-m37qEcFM.js} +21 -21
- package/dist/{agent-turn-enqueue-BZJZetmF.js → agent-turn-enqueue-DICnRqYY.js} +6 -6
- package/dist/{agent-turn-execute-YF3BodXZ.js → agent-turn-execute-idltAVtu.js} +153 -153
- package/dist/{agent-turn-recovery-adapter-DpTeUI2V.js → agent-turn-recovery-adapter-fTCIh1kZ.js} +3 -3
- package/dist/{agent-turn-runner-IggLai-e.js → agent-turn-runner-C2jDvczc.js} +4 -4
- package/dist/{agent-turn-runner-BkWusthz.js → agent-turn-runner-y0WL6xuI.js} +3 -3
- package/dist/{agents-CM1pS2Gw.js → agents-CM1SDvAA.js} +21 -21
- package/dist/{agents.config-DPUNT-LY.js → agents.config-CNN6GFa9.js} +3 -3
- package/dist/{api-key-rotation-1GnreUfv.js → api-key-rotation-DAI1NT_a.js} +1 -1
- package/dist/{api-key-rotation-DBvdlVZw.js → api-key-rotation-JDh9X_oP.js} +1 -1
- package/dist/{audio-preflight-cWE_jPq7.js → audio-preflight-Bdn8EyXv.js} +14 -14
- package/dist/{audio-preflight-Dla8ErAP.js → audio-preflight-DcoXRAvR.js} +37 -37
- package/dist/{audio-transcription-runner-D-jGvvSi.js → audio-transcription-runner-BQbTpN83.js} +27 -27
- package/dist/{audio-transcription-runner-Bk1wu6OC.js → audio-transcription-runner-MJ65xlDX.js} +8 -8
- package/dist/{audit-B-WWadhu.js → audit-DsSNKdtK.js} +31 -31
- package/dist/{auth-BqrOQ_rt.js → auth-BCzU-mkD.js} +4 -4
- package/dist/{auth-choice-C7C2BFeF.js → auth-choice-BR3YA6Mc.js} +15 -15
- package/dist/{auth-choice-D4Z3C7W8.js → auth-choice-kNhTqhAF.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CtM1Z7Em.js → auth-choice.apply-helpers-BEawC8Rx.js} +1 -1
- package/dist/{auth-token-BmZQfp0T.js → auth-token-QyM5OJpI.js} +2 -2
- package/dist/{banner-CDY_Ds3F.js → banner-DmQcTDRN.js} +4 -4
- package/dist/{bonjour-discovery-C-DjmVp8.js → bonjour-discovery-DPLZj45w.js} +3 -3
- package/dist/{browser-cli-C_ysZk2K.js → browser-cli-D_sIwOM-.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/{call-BoiZy1oh.js → call-BltQb5p8.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-D16G9MZx.js → channel-account-context-DjoVP8k0.js} +7 -7
- package/dist/{channel-options-C8_k7q2k.js → channel-options-C9RuntH_.js} +3 -3
- package/dist/{channel-selection-CA6-fSME.js → channel-selection-BdOi2As8.js} +1 -1
- package/dist/{channels-cli-BgcxCCUW.js → channels-cli-B1ZhJIfE.js} +120 -120
- package/dist/{channels-status-issues-DaVFqfbT.js → channels-status-issues-CW2LsBxa.js} +1 -1
- package/dist/{chat-content-B7yKTLAY.js → chat-content-DtaSiJ_7.js} +9 -9
- package/dist/{chrome-DQ2kyZpc.js → chrome-BRVJGvQa.js} +11 -11
- package/dist/{chrome-CCOk3IVv.js → chrome-DJfXPpfx.js} +6 -6
- package/dist/{chunk-BBj2TedD.js → chunk-CGvXEMAJ.js} +1 -1
- package/dist/{chunk-5HmJ90W0.js → chunk-CIpxqo8a.js} +3 -3
- package/dist/{clack-prompter-DFrQWP5u.js → clack-prompter-6u8Btte5.js} +5 -5
- package/dist/{clawbot-cli-BTRGXKZN.js → clawbot-cli-DjesCpeb.js} +15 -15
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BNVYrkVg.js +166 -0
- package/dist/{client-D7BnGRYO.js → client-BMDbXMKo.js} +4 -4
- package/dist/{client-profiles-By5MHi9v.js → client-profiles-D9p55R2E.js} +4 -4
- package/dist/{clipboard-B_ObYCKi.js → clipboard-Dd6cdwPv.js} +1 -1
- package/dist/{command-queue-B7AMiRYq.js → command-queue-C17N9gab.js} +1 -1
- package/dist/{command-registry-CqEc_uI9.js → command-registry-xYf1aBOy.js} +14 -14
- package/dist/{command-secret-targets-a_Y_ddO2.js → command-secret-targets-BZ1SboqY.js} +4 -4
- package/dist/{commands-DntOebNQ.js → commands-SeKi2OWl.js} +1 -1
- package/dist/{commands-registry-b4F_78R4.js → commands-registry-BO2o7Un9.js} +1 -1
- package/dist/{commands-registry-9P9_RD2k.js → commands-registry-uKHucCpf.js} +3 -3
- package/dist/{completion-cli-7QKrFXPK.js → completion-cli-od6mAB_x.js} +16 -16
- package/dist/{config-cli-zzSy_DYX.js → config-cli-L7VXG9dV.js} +10 -10
- package/dist/{config-guard-I78sPe0z.js → config-guard-Bd7KfAne.js} +4 -4
- package/dist/{config-validation-B2xjdpzg.js → config-validation-cJ4tgFlH.js} +4 -4
- package/dist/{configure-BstDEG38.js → configure-BFB-zOMn.js} +25 -25
- package/dist/{control-ui-assets-BqcYXNl2.js → control-ui-assets-B9zlkA6l.js} +3 -3
- package/dist/{controller-Bgcz2hp7.js → controller--hEOQw7y.js} +1 -1
- package/dist/{credentials-CGW31DO4.js → credentials-DtepevRH.js} +1 -1
- package/dist/{credentials-U5jLZxJ-.js → credentials-GPboJeMC.js} +1 -1
- package/dist/{cron-cli-yj7QGj7J.js → cron-cli-DhhEvg8T.js} +14 -14
- package/dist/{daemon-cli-CFnbJrol.js → daemon-cli-BFqtJkJL.js} +19 -19
- package/dist/{daemon-install-BeS6QtA5.js → daemon-install-1kaH7Ifb.js} +10 -10
- package/dist/{daemon-install-helpers-CLiiJ-d1.js → daemon-install-helpers-B1yjUwDb.js} +13 -13
- package/dist/{delete-agent-sessions-LydtqnI4.js → delete-agent-sessions-aupo65L2.js} +1 -1
- package/dist/{deliver-3GS-gU8r.js → deliver-BPWNdSsP.js} +12 -12
- package/dist/{deliver-BQSIZZRd.js → deliver-x1MM90HA.js} +11 -11
- package/dist/{devices-cli-CZA7ZWS3.js → devices-cli-Bx2srMmX.js} +13 -13
- package/dist/{diagnostic-Dm2wAiB0.js → diagnostic-C0AOXO65.js} +4 -4
- package/dist/{diagnostics-CZjOjqpi.js → diagnostics-B5xln2o0.js} +5 -5
- package/dist/{directory-cli-DR0IqfE5.js → directory-cli-TI0sLZsH.js} +11 -11
- package/dist/{dm-policy-shared-C5ZRDHnc.js → dm-policy-shared-5u9bRZcn.js} +5 -5
- package/dist/{dns-cli-B5CpAvKH.js → dns-cli-BlPAMRTw.js} +10 -10
- package/dist/{docs-cli-B_D5SYd9.js → docs-cli-CoU4kznK.js} +9 -9
- package/dist/{doctor-completion-BMLEMc2J.js → doctor-completion-xR-LI2Kc.js} +3 -3
- package/dist/{doctor-config-flow-0PWt4HFH.js → doctor-config-flow-DKprHJgK.js} +17 -17
- package/dist/{enable-DckLGORZ.js → enable-WclAjZTI.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-DgfbhlVq.js → exec-BadOxgw_.js} +2 -2
- package/dist/{exec-approvals-allowlist-2Cys5vGY.js → exec-approvals-allowlist-B9t8qYRi.js} +1 -1
- package/dist/{exec-approvals-BauC8NzH.js → exec-approvals-bsuh4PHE.js} +2 -2
- package/dist/{exec-approvals-cli-DfFiniWb.js → exec-approvals-cli-BKUHTsDE.js} +22 -22
- package/dist/{exec-safe-bin-runtime-policy-SvaIPWXZ.js → exec-safe-bin-runtime-policy-DLnEvKn8.js} +2 -2
- package/dist/{extension-relay-auth-D_MKrcDE.js → extension-relay-auth-DPPoRrd5.js} +10 -10
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-JiVpsY-F.js → fetch-BzeUsif1.js} +2 -2
- package/dist/{fetch-DQjTi7nc.js → fetch-Cpgrvssj.js} +1 -1
- package/dist/{fetch-D-b-uXX7.js → fetch-KUu9BT-y.js} +5 -5
- package/dist/{fetch-guard-BbFS87gt.js → fetch-guard-Bn23GnZQ.js} +2 -2
- package/dist/{fetch-guard-Dn6Z6n6a.js → fetch-guard-D49piGJ5.js} +1 -1
- package/dist/{fs-safe-lC1ILeyM.js → fs-safe-BqogKG9V.js} +25 -25
- package/dist/{gateway-cli-BAEQ_NGs.js → gateway-cli-BRUhDHZW.js} +198 -198
- package/dist/{gateway-rpc-CQq2vr6O.js → gateway-rpc-C7kAjboF.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-SXyKBvLp.js → gmail-setup-utils-GO9rZVbj.js} +2 -2
- package/dist/{health-225PH5Li.js → health-C8v6lJQm.js} +11 -11
- package/dist/{health-format-BJNDw72X.js → health-format-CLs9zsB3.js} +1 -1
- package/dist/{heartbeat-tick-CA6ounlL.js → heartbeat-tick-Cn6Mm71L.js} +1 -1
- package/dist/{help-format-CYvwXoTF.js → help-format-DszGjSGq.js} +1 -1
- package/dist/{helpers-DGzbDtFa.js → helpers-BXVreVqM.js} +1 -1
- package/dist/{hooks-cli-x_66pIcE.js → hooks-cli-CVOiI_Gk.js} +108 -108
- package/dist/{hooks-status-B09UI8cu.js → hooks-status-DVlBWsZg.js} +2 -2
- package/dist/{plugin-sdk/image-ops-1WkFRYfC.js → image-ops-BiZX2JoM.js} +12 -12
- package/dist/{inspect-BYjJ-TxP.js → inspect-CQp_st3r.js} +4 -4
- package/dist/{install-safe-path-Bg4S4UtE.js → install-safe-path-CpaP5QP8.js} +25 -25
- package/dist/{installs-DauOPt1U.js → installs-iBWWAsyM.js} +10 -10
- package/dist/{ipv4-CDDNg0CB.js → ipv4-DVlWqpAi.js} +2 -2
- package/dist/{ir-YVBetd9e.js → ir-DBTx0EHu.js} +8 -8
- package/dist/{ir-Bra81NIe.js → ir-vVwcX8JG.js} +2 -2
- package/dist/{issue-format-DSEmDva0.js → issue-format-Dsb7vnfa.js} +1 -1
- package/dist/{jobs-B8LHXwxB.js → jobs-CHw5Ov3b.js} +3 -3
- package/dist/{json-files-XjEDt0Xv.js → json-files-oQZMk9pX.js} +7 -7
- package/dist/{lifecycle-core-DHrEntr4.js → lifecycle-core-CjLnS05H.js} +9 -9
- package/dist/{links-PUWFmh-v.js → links-CuEUTasJ.js} +1 -1
- package/dist/{log-tail-hSKJOSyz.js → log-tail-C_ThPK9g.js} +7 -7
- package/dist/{logging-B9NMVHxl.js → logging-D0Hd8mDh.js} +1 -1
- package/dist/{logs-cli-DUbebsRd.js → logs-cli-CEophOLi.js} +18 -18
- package/dist/{manager-DIIInXxQ.js → manager-DRfrqzWR.js} +4 -4
- package/dist/{manager-BfbMJ-zg.js → manager-D_fFKFjl.js} +14 -14
- package/dist/{manager-BVdZypmH.js → manager-LeFDfER8.js} +9 -9
- package/dist/{markdown-tables-C6xdzDiz.js → markdown-tables-BmOshwHx.js} +2 -2
- package/dist/{markdown-tables-7TebvIj0.js → markdown-tables-CzhZ9VCB.js} +1 -1
- package/dist/{memory-cli-BFmPf1vX.js → memory-cli-Di1UAOeP.js} +19 -19
- package/dist/{model-BdtGsU0w.js → model-LUi1O3vn.js} +2 -2
- package/dist/{model-catalog-BFpUFk9P.js → model-catalog-CILu9Z2R.js} +4 -4
- package/dist/{model-picker-DfPEPmyG.js → model-picker-DEtgkAeg.js} +4 -4
- package/dist/{model-selection-DFW5CGMj.js → model-selection-DkRYDpst.js} +1 -1
- package/dist/{models-BFA4HNWZ.js → models-DNB4wkv9.js} +22 -22
- package/dist/{models-cli-Dr6xsf9u.js → models-cli-3UYYFe4J.js} +108 -108
- package/dist/{models-config-tNRAxYqz.js → models-config-BaSANr-E.js} +1 -1
- package/dist/{models-config-DeFWUZZ4.js → models-config-CpqLFZ0C.js} +7 -7
- package/dist/{node-cli-CwZAQhJF.js → node-cli-C5EoWnG2.js} +43 -43
- package/dist/{node-command-policy-DI3ORiR8.js → node-command-policy-Du4mYUDU.js} +1 -1
- package/dist/{node-service-BzjqnGwX.js → node-service-1KIfvVTH.js} +1 -1
- package/dist/{nodes-cli-B8IwLLk_.js → nodes-cli-iZMsO1rK.js} +23 -23
- package/dist/{nodes-screen-_oGcI1Qk.js → nodes-screen-Bt0pPjvM.js} +8 -8
- package/dist/{note-Cx7zfzxq.js → note-D_lQmF8n.js} +2 -2
- package/dist/{npm-pack-install-DGHHbtvq.js → npm-pack-install-H0t8obmJ.js} +23 -23
- package/dist/{npm-resolution-Bs1-SlpJ.js → npm-resolution-BsmgpsD3.js} +5 -5
- package/dist/{nudge-BM2vjxIV.js → nudge-Ba6E2hnD.js} +9 -9
- package/dist/{nudge-DklIe0bB.js → nudge-Chvj0Rw2.js} +10 -10
- package/dist/{oauth-tls-preflight-XZUNc0t9.js → oauth-tls-preflight-Bz0HopcL.js} +1 -1
- package/dist/{onboard-DqzWdVBc.js → onboard-CYQVIEKp.js} +11 -11
- package/dist/{onboard-channels-BPG2HZnB.js → onboard-channels-8Z1BL5sc.js} +24 -24
- package/dist/{onboard-custom-C3M6Ycoy.js → onboard-custom-D8bIuPDq.js} +4 -4
- package/dist/{onboard-helpers-fXPeNVOY.js → onboard-helpers-BK8DRSuP.js} +13 -13
- package/dist/{onboard-hooks-BK716f_m.js → onboard-hooks-DEfvWRZ_.js} +6 -6
- package/dist/{onboard-remote-CHQaWjXK.js → onboard-remote-DUj7hiE1.js} +5 -5
- package/dist/{onboard-skills-UwDpxppX.js → onboard-skills-B3GstrRp.js} +4 -4
- package/dist/{onboarding-Bzi7Xv7r.js → onboarding-CDHMZKiy.js} +18 -18
- package/dist/{onboarding.finalize-SNascoiv.js → onboarding.finalize-D3hX9K5R.js} +116 -116
- package/dist/{onboarding.gateway-config-CAJLJZuY.js → onboarding.gateway-config-By-4hBj8.js} +21 -21
- package/dist/{onboarding.secret-input-BdYZJX40.js → onboarding.secret-input-CGZRLs69.js} +1 -1
- package/dist/{openai-model-default-CKLjgg0u.js → openai-model-default-CDCQe0bT.js} +2 -2
- package/dist/{openclaw-root-C3plUO0H.js → openclaw-root-Bh3xNyXD.js} +2 -2
- package/dist/{operator-commands-Dk778q2i.js → operator-commands-DdzvHG_L.js} +6 -6
- package/dist/{outbound-attachment-CPlIqfXt.js → outbound-attachment-CM00ZAId.js} +2 -2
- package/dist/{outbound-attachment-BeSAM8qU.js → outbound-attachment-DegoJUYB.js} +1 -1
- package/dist/{outbound-message-hooks-C1IptFSi.js → outbound-message-hooks-ClMNzy21.js} +5 -5
- package/dist/{outbound-message-hooks-CrrbzX7U.js → outbound-message-hooks-bMw-LLuz.js} +2 -2
- package/dist/{pairing-cli-44MnMOK-.js → pairing-cli-ZEOWHCym.js} +10 -10
- package/dist/{pairing-labels-BUXv00_M.js → pairing-labels-DGG9rR88.js} +1 -1
- package/dist/{pairing-store-Bt8dPEgN.js → pairing-store-3I6u3yrD.js} +4 -4
- package/dist/{path-alias-guards-DKZW3qVC.js → path-alias-guards-tEWiWfoS.js} +3 -3
- package/dist/{path-safety-CDLqkmsu.js → path-safety-DPn_Xy80.js} +1 -1
- package/dist/{pi-embedded-CL5jkXds.js → pi-embedded-BSVP6xD2.js} +64 -64
- package/dist/{pi-embedded-helpers-CsBOkBvA.js → pi-embedded-helpers-DJo9j-U6.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-DTp5q5z6.js → pi-embedded-recovery-adapter-lqZa1SR7.js} +37 -37
- package/dist/{pi-embedded-utils-D9zLeiKy.js → pi-embedded-utils-BF4B99Db.js} +1 -1
- package/dist/{pi-embedded-utils-D2xq0Dlg.js → pi-embedded-utils-BOUhZp06.js} +2 -2
- package/dist/{pi-model-discovery-DiGB5xAq.js → pi-model-discovery-B5oKc4R3.js} +1 -1
- package/dist/{pi-model-discovery-CmI-ZSqs.js → pi-model-discovery-CigFHOOz.js} +1 -1
- package/dist/{pid-alive-SdfUhiUL.js → pid-alive-dd2LsB9B.js} +1 -1
- package/dist/{plugin-auto-enable-Di22jxHz.js → plugin-auto-enable-DWc-XmZz.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter-CcRAG_7s.js → plugin-owned-work-recovery-adapter-DGWAcSir.js} +7 -7
- package/dist/{plugin-registry-m6okOYJK.js → plugin-registry-Cb2wBZSl.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-BnbrZIzh.js → agent-scope-Cy5bPtkD.js} +1 -1
- package/dist/plugin-sdk/{agent-turn-execute-Bj1_MqWi.js → agent-turn-execute-Cr_GYkDb.js} +79 -79
- package/dist/plugin-sdk/{agent-turn-runner-zbex5xar.js → agent-turn-runner-CBR6kAt-.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dpyf5O6z.js → api-key-rotation-BKcVxTy8.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DlNHpUpW.js → audio-preflight-BVKGoA22.js} +23 -23
- package/dist/plugin-sdk/{audio-transcription-runner-BNWmQAJ3.js → audio-transcription-runner-Cvfignlt.js} +10 -10
- package/dist/plugin-sdk/{chrome-DwoV5WFU.js → chrome-Djvom4Ij.js} +6 -6
- package/dist/plugin-sdk/{chunk-CBTJQenE.js → chunk-Bh4ffo9K.js} +3 -3
- package/dist/plugin-sdk/{command-queue-hSL_BIod.js → command-queue-DxcAKezg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-vhM5U22x.js → commands-registry-CCiWhIrU.js} +2 -2
- package/dist/plugin-sdk/{credentials-oF38Hm9r.js → credentials-BFdx8hCQ.js} +1 -1
- package/dist/plugin-sdk/{deliver-CkQB8s_s.js → deliver-Cf-VdZA7.js} +14 -14
- package/dist/plugin-sdk/{diagnostic-nUTVaBEe.js → diagnostic-BpXW-Rhw.js} +3 -3
- package/dist/plugin-sdk/{errors-BcCM5PTR.js → errors-BH3DYZVB.js} +1 -1
- package/dist/plugin-sdk/{fetch-DV_cKD5m.js → fetch-B9WuvLLv.js} +7 -7
- package/dist/plugin-sdk/{fetch-BNHoA66Z.js → fetch-BxGJD3sH.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dpd7hJ0h.js → fetch-guard-CJhIVznN.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CnAPtYPG.js → fs-safe-BQ8e0fFk.js} +3 -3
- package/dist/{image-ops-BKyJ_gQP.js → plugin-sdk/image-ops-CqatVl0e.js} +2 -2
- package/dist/plugin-sdk/{ir-BnNIPrDz.js → ir-C1cLQG0N.js} +5 -5
- package/dist/plugin-sdk/{manager-uIw894nB.js → manager-xGWNrW5i.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-D6Jl1s9s.js → markdown-tables-DnMUQn1V.js} +2 -2
- package/dist/plugin-sdk/{model-auth-Beiv1ujI.js → model-auth-pNsZhRxq.js} +7 -7
- package/dist/plugin-sdk/{models-config-DrzOHxl5.js → models-config-d-LFEKVs.js} +2 -2
- package/dist/plugin-sdk/{nudge-czM3OOTT.js → nudge-BvirROp6.js} +8 -8
- package/dist/plugin-sdk/{openai-compatible-video-Dy57wpNv.js → openai-compatible-video-BxPbkLMy.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BoSR20RK.js → outbound-attachment-DkIWM5yK.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-eUNVCJ0m.js → outbound-message-hooks-DsAvrOUy.js} +4 -4
- package/dist/plugin-sdk/{path-alias-guards-D1I2TIj4.js → path-alias-guards-CF0cvXKB.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BRSkUtFR.js → pi-embedded-helpers-Ctve63Vr.js} +15 -15
- package/dist/plugin-sdk/{pi-embedded-utils-DcsHTJ1m.js → pi-embedded-utils-cecBA96E.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-HVno_0HD.js → pi-model-discovery-CMOEq078.js} +1 -1
- package/dist/plugin-sdk/provider-media-understanding.js +20 -20
- package/dist/plugin-sdk/{pw-ai-B1OqkFDb.js → pw-ai-Bl2Z9GYg.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-Ip6QnhA7.js → qmd-manager-DY9c1S_2.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-DMNjwnEQ.js → qmd-scope-C3rw3Qjd.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-DV-ECmRb.js → query-expansion-BhXha2GI.js} +2 -2
- package/dist/plugin-sdk/{recorder-XQ8ZjG7j.js → recorder-DccHbgBz.js} +2 -2
- package/dist/plugin-sdk/{redact-C3T6IWmQ.js → redact-CXDVzhSq.js} +1 -1
- package/dist/{replies-BV9swQ1C.js → plugin-sdk/replies-CyyZdjYH.js} +5 -5
- package/dist/plugin-sdk/{reply-directives-Bn4oBJnk.js → reply-directives-CXKYiQC1.js} +2 -2
- package/dist/{reply-prefix-dFOjKRtQ.js → plugin-sdk/reply-prefix-DL3DiQEo.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-Djrs4IWv.js → resolve-route-CsiTWvoi.js} +3 -3
- package/dist/plugin-sdk/{runs-DN-UxJ44.js → runs-ByM3uA8B.js} +8 -8
- package/dist/plugin-sdk/{send-DnJb7LiP.js → send-BwuMsQ_p.js} +8 -8
- package/dist/plugin-sdk/{send-AstP-BDn.js → send-D0UAWWai.js} +8 -8
- package/dist/plugin-sdk/{send-D3hVSNy0.js → send-Dgf6n9kX.js} +6 -6
- package/dist/plugin-sdk/{send-D5C72eu6.js → send-qUR5w2lM.js} +7 -7
- package/dist/plugin-sdk/{session-meta-pKpwf1nQ.js → session-meta-B_alDqcD.js} +1 -1
- package/dist/plugin-sdk/{sessions-BfBjVuaP.js → sessions-CkJfRajZ.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Bk_STwKa.js → skill-commands-D5O0FXiW.js} +4 -4
- package/dist/plugin-sdk/{skills-BArFQgKX.js → skills-ByCpoIW7.js} +6 -6
- package/dist/plugin-sdk/{ssrf-B2UnPTf3.js → ssrf-aLKAjCHj.js} +1 -1
- package/dist/plugin-sdk/{store-D8eITlWs.js → store-KaVQ5gHj.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Btq0amiz.js → subsystem-DGPv0F8I.js} +4 -4
- package/dist/plugin-sdk/{tables-Bj_zeTwr.js → tables-CONj5xDV.js} +1 -1
- package/dist/plugin-sdk/{tokens-mfZMXas7.js → tokens-DUGBy1gM.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CnFqoQKh.js → tool-loop-detection-Cl4-Vsd_.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-DQBPNzif.js → user-run-recording--8aaZMPs.js} +2 -2
- package/dist/plugin-sdk/{ws-DN6RmfyQ.js → ws-C7BGsi5P.js} +1 -1
- package/dist/{plugins-cli-DbSExy8A.js → plugins-cli-DtiaGIyb.js} +111 -111
- package/dist/{plugins-hJwhsniN.js → plugins-jkI2QMUK.js} +32 -32
- package/dist/{ports-X8s27uv3.js → ports-B4L6rn9E.js} +2 -2
- package/dist/{ports-CTICGXug.js → ports-BtguoLP4.js} +3 -3
- package/dist/{program-CksGKwx_.js → program-CcLb8Psv.js} +107 -107
- package/dist/{progress-BjZYY1Uu.js → progress-FkWSD-ms.js} +2 -2
- package/dist/{prompt-select-styled-Ba2czW3-.js → prompt-select-styled-DUTH4ST5.js} +48 -48
- package/dist/{prompt-style-cCsJsI34.js → prompt-style-CKvOU02-.js} +1 -1
- package/dist/{provider-auth-helpers-Cco1DT9-.js → provider-auth-helpers-BIoESstO.js} +6 -6
- package/dist/{proxy-env-D1_K1XbP.js → proxy-env-BjF-dsmA.js} +1 -1
- package/dist/{proxy-env-RzbogHFe.js → proxy-env-C0UK-5dm.js} +1 -1
- package/dist/{push-apns-BgM09-fX.js → push-apns-BnRCjqCx.js} +10 -10
- package/dist/{pw-ai-D55f0Pr9.js → pw-ai-8QlHyDLL.js} +4 -4
- package/dist/{pw-ai-BRt2VuwS.js → pw-ai-loi9x_qC.js} +17 -17
- package/dist/{qmd-manager-C4rOtrQS.js → qmd-manager-B_ED_NmL.js} +2 -2
- package/dist/{qmd-manager-BE2jOEtY.js → qmd-manager-DE17I-GG.js} +25 -25
- package/dist/{qmd-scope-CCUmVM52.js → qmd-scope-C7RZSmjF.js} +1 -1
- package/dist/{qr-cli-DWJQyq6f.js → qr-cli-C21aeT7a.js} +9 -9
- package/dist/{query-expansion-Dm_RIg6M.js → query-expansion-BVj0lCGG.js} +1 -1
- package/dist/{query-expansion-DiS55fL8.js → query-expansion-Bt2T2t1J.js} +10 -10
- package/dist/{reconcile-bundled-CS-YCQMj.js → reconcile-bundled-C2O6l6xl.js} +3 -3
- package/dist/{recorder-DRV1SIKe.js → recorder-BowlGHGe.js} +1 -1
- package/dist/{recorder-sONRpmXO.js → recorder-MkhBoIQ8.js} +2 -2
- package/dist/{recovery-adapter-QihxBJX1.js → recovery-adapter-DFSy8tM2.js} +3 -3
- package/dist/{recovery-adapter-CE-CS8gT.js → recovery-adapter-DLmjnZui.js} +7 -7
- package/dist/{recovery-adapter-hQc2OlhS.js → recovery-adapter-LXEXe9qT.js} +2 -2
- package/dist/{recovery-prompt-DOrSuDNr.js → recovery-prompt-BZciroCj.js} +1 -1
- package/dist/{redact-snapshot-ZwtXuqkJ.js → redact-snapshot-DrvZI2y8.js} +2 -2
- package/dist/{register.agent-Ryj1Y3cF.js → register.agent-C9Q4TbJV.js} +122 -122
- package/dist/register.configure-BjZmfKDU.js +170 -0
- package/dist/{register.maintenance-ADp9HkB5.js → register.maintenance-CFd160fT.js} +130 -130
- package/dist/{register.message-CJJI5stq.js → register.message-3kx8P86J.js} +101 -101
- package/dist/{register.onboard-CgC5-Vgb.js → register.onboard-C-lkIY7d.js} +26 -26
- package/dist/{register.setup-DOXh2Bsp.js → register.setup-BAiTfEey.js} +29 -29
- package/dist/{register.status-health-sessions-Gb6bT4z7.js → register.status-health-sessions-DOrDm-yG.js} +120 -120
- package/dist/{register.subclis-B1TmGIjo.js → register.subclis-3YVvoBSB.js} +34 -34
- package/dist/{replies-BL7cHT2h.js → replies-7qxW8HcU.js} +4 -4
- package/dist/{plugin-sdk/replies-HCqRS_IF.js → replies-v8JTcIK3.js} +5 -5
- package/dist/{reply-directives-AfKRCqZx.js → reply-directives-BSDOTSgY.js} +2 -2
- package/dist/{reply-directives-D4Hftiqp.js → reply-directives-DarQZxqY.js} +1 -1
- package/dist/{plugin-sdk/reply-prefix-CCyygbH2.js → reply-prefix-CJ_JdsYa.js} +1 -1
- package/dist/{reset-DVYPRsdq.js → reset-Dnw4nNtL.js} +1 -1
- package/dist/{resolve-route-D96zWGGF.js → resolve-route-B15qdahX.js} +1 -1
- package/dist/{resolve-route-jsfvjnjM.js → resolve-route-ChrD30tC.js} +5 -5
- package/dist/{rpc-B-JqtZFU.js → rpc-CZkdcSAv.js} +3 -3
- package/dist/{run-main-BiXsCL7k.js → run-main-BBLzm5df.js} +120 -120
- package/dist/{runs-CAO_rrxJ.js → runs-5zWtWfx5.js} +5 -5
- package/dist/{runs-D3pvYlI5.js → runs-lJqVvQpF.js} +7 -7
- package/dist/{runtime-CX9Ouo4d.js → runtime-C6jPY8mC.js} +4 -4
- package/dist/{runtime-config-BlJKzsfR.js → runtime-config-C3elfZ8o.js} +1 -1
- package/dist/{runtime-config-collectors-L3B3v-vc.js → runtime-config-collectors-CpQCtgl-.js} +1 -1
- package/dist/{runtime-guard-BqXbX2C8.js → runtime-guard-9X-WolTn.js} +1 -1
- package/dist/{sandbox-pDe2U_mh.js → sandbox-B1zZvKcw.js} +21 -21
- package/dist/{sandbox-cli-30QRIK2J.js → sandbox-cli-DzmoYlMv.js} +33 -33
- package/dist/{secrets-cli-DqMBExeW.js → secrets-cli-DfVOcY7E.js} +16 -16
- package/dist/{security-cli-Bggbv_hS.js → security-cli-DEsAfTtt.js} +47 -47
- package/dist/{send-DHil3Tj6.js → send-C8YuqL0X.js} +6 -6
- package/dist/{send-Dv__vEQx.js → send-Cl-ugSMv.js} +5 -5
- package/dist/{send-Co8hK60n.js → send-D1F9bQCi.js} +13 -13
- package/dist/{send-FQrlCKRx.js → send-DJypuRge.js} +6 -6
- package/dist/{send-T9aTnSyS.js → send-DdyIJ_uy.js} +4 -4
- package/dist/{send-CS1yI0B4.js → send-Dy4zxtn3.js} +6 -6
- package/dist/{send-BCxn7V3E.js → send-THRoEbTj.js} +7 -7
- package/dist/{send-SCUE8Q1y.js → send-hay_ikCy.js} +6 -6
- package/dist/{server-NcbcM2wV.js → server-CyC0JY7y.js} +23 -23
- package/dist/{server-context-Dbo6G7sv.js → server-context-BHTq-BWT.js} +12 -12
- package/dist/{server-lifecycle-B_stkYoe.js → server-lifecycle-yrYTmjE-.js} +3 -3
- package/dist/{server-middleware-B_2l7R1r.js → server-middleware-ZUs-xzRz.js} +1 -1
- package/dist/{server-node-events-B6FtiNSg.js → server-node-events-CkTQV9Az.js} +101 -101
- package/dist/{service-Dqk7p14H.js → service-Zezrymwp.js} +15 -15
- package/dist/{session-consumer-agents-CvPuQmfS.js → session-consumer-agents-BRMrM2o-.js} +1 -1
- package/dist/{session-consumer-claim-sweep-DhVmxqQy.js → session-consumer-claim-sweep-_oL2rxfz.js} +9 -9
- package/dist/{session-key-DCnSJLJC.js → session-key-D0gYNgj1.js} +1 -1
- package/dist/{session-meta-dUXgzHbR.js → session-meta-DaUsOxk7.js} +1 -1
- package/dist/{session-meta-CyokAxEY.js → session-meta-DgpwY0ah.js} +1 -1
- package/dist/{session-storage-CjIKP2NZ.js → session-storage-BfU-kuLQ.js} +22 -22
- package/dist/{session-storage-owner-CO5jNlHE.js → session-storage-owner-D_Fi2Wk6.js} +53 -53
- package/dist/{session-store-targets-BGJ8yVsf.js → session-store-targets-hkH2SdUu.js} +3 -3
- package/dist/{session-utils-c3U4yjnJ.js → session-utils-Cdb2eB8x.js} +9 -9
- package/dist/{sessions-A1wDmvXO.js → sessions-B-dL4q0P.js} +1 -1
- package/dist/{sessions-BvaQTQmu.js → sessions-BM-Q49zJ.js} +5 -5
- package/dist/{sessions-BiELuq5_.js → sessions-C2ZQ1A-F.js} +17 -17
- package/dist/{sessions-DnaVJUbG.js → sessions-CvMRmh8w.js} +6 -6
- package/dist/{sessions-claims-status-qsIZrqkF.js → sessions-claims-status-Dfbt3tnB.js} +11 -11
- package/dist/{sessions-maintenance-core-DEdXmfR_.js → sessions-maintenance-core-BW8CjGZC.js} +8 -8
- package/dist/{setup-helpers-Diezeqg_.js → setup-helpers-pNb4G258.js} +1 -1
- package/dist/{shared-B3ocxh66.js → shared-BP-zD7jL.js} +4 -4
- package/dist/{shared-B6U3uuAo.js → shared-CAhli5Ov.js} +2 -2
- package/dist/{skill-commands-CZ8IAEbM.js → skill-commands-1Axnvvz6.js} +2 -2
- package/dist/{skill-commands-BETnQ4BY.js → skill-commands-BkpzU1Pe.js} +7 -7
- package/dist/{skill-scanner-DXsZ33dg.js → skill-scanner-CfYJtlhU.js} +7 -7
- package/dist/{skills-D7jLGkoP.js → skills-CMwL1GBr.js} +1 -1
- package/dist/{skills-B5z9ZsEq.js → skills-DL1ojgrn.js} +6 -6
- package/dist/{skills-cli-HYs8JFCk.js → skills-cli-CIpQS5R0.js} +9 -9
- package/dist/{skills-install-87RyWiU6.js → skills-install-CVPzCve4.js} +9 -9
- package/dist/{skills-status-VTzFS62-.js → skills-status-yGkSyL5Y.js} +3 -3
- package/dist/{status-6Pto7ZBs.js → status-5ghaY4vw.js} +49 -49
- package/dist/{status.update-8Y1m_3ee.js → status.update-CP6-2fA7.js} +2 -2
- package/dist/{storage-config-0A4GJ9dw.js → storage-config-Bnq9G52N.js} +4 -4
- package/dist/{store-fP8MzUS1.js → store-cV4bbDty.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-CCaYPH_3.js → supervisor-RSmYlWKn.js} +2 -2
- package/dist/{system-cli-DHhkZXhu.js → system-cli-Ba8Cksuh.js} +13 -13
- package/dist/{system-run-command-BOMgaFVw.js → system-run-command-B6oEb0S7.js} +2 -2
- package/dist/{systemd-z2RhFRaN.js → systemd-BVSb7hmO.js} +11 -11
- package/dist/{systemd-hints-BZZDCrDu.js → systemd-hints-QF9bOgxF.js} +9 -9
- package/dist/{systemd-linger-wlGX54dO.js → systemd-linger-C3vWGByc.js} +2 -2
- package/dist/{table-B9NKM7QS.js → table-BlAgr2Pf.js} +2 -2
- package/dist/{tables-DIX5n_bD.js → tables-BRQFx6QN.js} +1 -1
- package/dist/{tables-BFlTcF5k.js → tables-rCzAF-en.js} +1 -1
- package/dist/{tailnet-jp0meR1r.js → tailnet-BrtA9p9W.js} +1 -1
- package/dist/{tailscale-C8Mp_8WD.js → tailscale-N0qH8IeI.js} +2 -2
- package/dist/{task-pipeline-boot-BECY3KSk.js → task-pipeline-boot-Bhs2KtgV.js} +101 -101
- package/dist/{task-runlog-retention-PxLOGqDm.js → task-runlog-retention-BbfPrVTF.js} +5 -5
- package/dist/{tasks-CTVdDpmg.js → tasks-B4ZWGApJ.js} +11 -11
- package/dist/{tokens-DN7qBY5z.js → tokens-DB7GfarG.js} +1 -1
- package/dist/{tool-display-CiO2G0my.js → tool-display-geiQFcY0.js} +1 -1
- package/dist/{tool-loop-detection-DQjVlWYY.js → tool-loop-detection-FPHHn6dc.js} +2 -2
- package/dist/{trash-LrcyZ91F.js → trash-DdUKVsNs.js} +3 -3
- package/dist/{tui-xf8IgnqM.js → tui-BOtfvVU1.js} +9 -9
- package/dist/{tui-cli-DHuAZ4Tn.js → tui-cli-BimiaKdT.js} +35 -35
- package/dist/{update-D7SZ97V0.js → update-DtLchPKN.js} +3 -3
- package/dist/{update-cli-DCOpiuuc.js → update-cli-D4CRTu-Y.js} +140 -140
- package/dist/{update-runner-CAqinp0p.js → update-runner-RF2NcyRl.js} +18 -18
- package/dist/{user-run-recording-CTOXtrSm.js → user-run-recording-Bax2KSZY.js} +1 -1
- package/dist/{user-run-recording-Dyk-akZz.js → user-run-recording-D5nQiSUv.js} +2 -2
- package/dist/{validation-cli-BfqKMFuW.js → validation-cli-cKBnF9Ls.js} +100 -100
- package/dist/{web-cli-DjtxcVT4.js → web-cli-BZ0Zc6-w.js} +3 -3
- package/dist/{webhooks-cli-DyJgkjfJ.js → webhooks-cli-D4_kaUZ9.js} +10 -10
- package/dist/{widearea-dns-DVcwi8Gl.js → widearea-dns-yEJeCMxo.js} +1 -1
- package/dist/{with-timeout-FupCoEUw.js → with-timeout-DsMQOfWA.js} +6 -6
- package/dist/{workspace-CW_EbF1c.js → workspace-YBHCWOnL.js} +2 -2
- package/dist/{workspace-dirs-BBODHFtF.js → workspace-dirs-fmaX57pQ.js} +1 -1
- package/dist/{ws-CQigqc-W.js → ws-CWxX8WDm.js} +1 -1
- package/dist/{ws-XBuRX9zR.js → ws-DL02xZ7p.js} +2 -2
- package/dist/{wsl-BUAmcNIB.js → wsl-DCCrtVjw.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/kokoro/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/ui-surfaces/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 +1 -1
- package/dist/cli-BLM45Ywj.js +0 -166
- package/dist/register.configure-CTCrUI3p.js +0 -170
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dt as sliceUtf16Safe, Et as sleep$1, H as openBoundaryFileSync, L as isBlockedObjectKey, N as INCLUDE_KEY, O as normalizeLogLevel, Ot as truncateUtf16Safe, Q as normalizeWindowsPathForComparison, St as resolveUserPath, Tt as shortenHomePath, V as openBoundaryFile, _t as isRecord$1, a as logVerbose, c as shouldLogVerbose, ct as CONFIG_DIR, ht as escapeRegExp, kt as resolvePreferredOpenClawTmpDir, m as getChildLogger, p as theme, t as danger, tt as isDangerousHostEnvVarName, u as warn, ut as clampInt, vt as normalizeE164, wt as shortenHomeInString, x as appendFileLog } from "./globals-
|
|
2
|
+
import { Dt as sliceUtf16Safe, Et as sleep$1, H as openBoundaryFileSync, L as isBlockedObjectKey, N as INCLUDE_KEY, O as normalizeLogLevel, Ot as truncateUtf16Safe, Q as normalizeWindowsPathForComparison, St as resolveUserPath, Tt as shortenHomePath, V as openBoundaryFile, _t as isRecord$1, a as logVerbose, c as shouldLogVerbose, ct as CONFIG_DIR, ht as escapeRegExp, kt as resolvePreferredOpenClawTmpDir, m as getChildLogger, p as theme, t as danger, tt as isDangerousHostEnvVarName, u as warn, ut as clampInt, vt as normalizeE164, wt as shortenHomeInString, x as appendFileLog } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { _ as expandHomePrefix, g as resolveStateDir, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { m as defaultRuntime, p as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
+
import { m as defaultRuntime, p as createNonExitingRuntime, t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
6
6
|
import { t as parseBooleanValue$1 } from "./boolean-C71HJEcH.js";
|
|
7
7
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
8
|
-
import { f as mergeDelayedAgentTurn, h as WORKSPACE_LANE_DENIED_REASON, l as enqueueAgentTurn, m as setDelayedReleaseHold, p as peekDelayedAgentTurn, r as AGENT_TURN_TOPIC, s as clearDelayedReleaseHold, u as isClaimableAgentTurnWorkId } from "./agent-turn-enqueue-
|
|
9
|
-
import { $c as discardBufferedPluginTaskPasses, $i as getSoonestCooldownExpiry, $r as resolveDefaultModelForAgent, $s as resolveSlackStreamingMode, $t as resolveSlackReplyToMode, A as listPluginCommands, Aa as getConfigOverrides, Ai as OLLAMA_NATIVE_BASE_URL, At as resolveSessionFilePath, Bc as getShellPathFromLoginShell, Bn as GATEWAY_CLIENT_IDS, Br as findNormalizedProviderValue, Bt as resolveParentSessionGroupId, Cn as deliveryContextFromSession, Dn as normalizeSessionDeliveryFields, Ds as CHAT_CHANNEL_ORDER, E as buildPluginHealthReport, En as normalizeDeliveryContext, F as getSpeechProvider, Fa as parseConfigPath, Fc as splitTrailingAuthProfile, Fi as buildUsageWithNoCost, Fn as listDeliverableMessageChannels, Ft as resolveStorePath, G as createInternalHookEvent, Ga as resolveIMessageRemoteAttachmentRoots, Gc as readTaskWorkStates, Go as isAvatarHttpUrl, Gr as normalizeModelRef$2, Gt as normalizeSignalMessagingTarget, Ha as isInboundPathAllowed, Hi as resolveModelAuthMode, Hn as GATEWAY_CLIENT_NAMES, I as isBuiltinTtsProvider, Ia as setConfigValueAtPath, Ic as DEFAULT_CONTEXT_TOKENS, Ii as getApiKeyForModel, In as normalizeMessageChannel, It as deriveSessionMetaPatch, J as StorageReadAccessError, Jo as isSupportedLocalAvatarExtension, Jt as normalizeStringEntries, Ka as normalizeScpRemoteHost, Kn as normalizeAccountId$1, Kt as normalizeAtHashSlug, L as replaceSpeechProviders, La as unsetConfigValueAtPath, Lc as DEFAULT_MODEL, Li as getCustomProviderApiKey, Ln as resolveGatewayMessageChannel, Lr as buildAllowedModelSet, M as registerPluginCommand, Ma as setConfigOverride, Mc as normalizeResolvedSecretInputString, Mi as buildAssistantMessage, Mn as isInternalMessageChannel, Ms as normalizeAnyChannelId, Mt as resolveSessionTranscriptPath, N as BUILTIN_TTS_PROVIDER_IDS, Na as unsetConfigOverride, Ni as buildAssistantMessageWithZeroUsage, Nn as isMarkdownCapableMessageChannel, Nr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ns as normalizeChannelId$2, O as clearPluginCommands, On as INTERNAL_MESSAGE_CHANNEL, P as getRegisteredSpeechProviders, Pa as getConfigValueAtPath, Pi as buildStreamErrorAssistantMessage, Q as requireSessionStorageRuntime, Qi as resolveAuthProfileOrder, Qo as buildChannelAccountBindings, Qr as resolveConfiguredModelRef, Qs as resolveSlackNativeStreaming, Qt as resolveSlackAccount, Rc as DEFAULT_PROVIDER, Ri as requireApiKey, Rn as resolveMessageChannel, Rr as buildConfiguredAllowlistKeys, Si as retryAsync, Sn as resolveAccountEntry, Ss as safeStatSync, T as normalizePluginHttpPath, Tc as normalizeSecretInput, Tn as mergeDeliveryContext, To as parseDurationMs, Tr as applyMergePatch, U as normalizeProviderId, Uo as AVATAR_MAX_BYTES, Ur as isCliProvider, Ut as getChannelDock, Vc as resolveShellEnvFallbackTimeoutMs, Vi as resolveEnvApiKey, Vn as GATEWAY_CLIENT_MODES, Wa as resolveIMessageAttachmentRoots, Wc as resolveOwnerDisplaySetting, Wo as isAvatarDataUrl, Wr as modelKey, Wt as listChannelDocks, X as getConversationReadQuery, Xn as CtxProjectionCorruptionError, Xs as mapStreamingModeToSlackLegacyDraftStreamMode, Y as createConversationReadQuery, Yn as resolveSessionLockMaxHoldFromTimeout, Yr as parseModelRef, Yt as normalizeStringEntriesLower, Z as SessionStorageUnavailableError, Zs as resolveDiscordPreviewStreamMode, _ as clearRegisteredPluginApis, _c as resolveOpenClawAgentDir, _n as resolveDiscordAccount, _r as buildEnforcedShellCommand, _t as resolveFreshSessionTotalTokens, a as formatAllowlistMatchMeta, aa as resolveApiKeyForProfile, ai as resolveThinkingDefault, an as resolveSignalAccount, ar as readConfigFileSnapshot, bc as resolveAuthProfileDisplayLabel, bn as resolveChannelGroupRequireMention, bs as discoverOpenClawPlugins, c as getActivePluginRegistry, cs as BUNDLED_ENABLED_BY_DEFAULT, ct as recordSessionMetaFromInbound, dt as updateLastRoute, ea as isProfileInCooldown, en as resolveSlackAppToken, f as requireActivePluginRegistry, fn as resolveIMessageAccount, fs as normalizePluginsConfig, ft as updateSessionStore, g as addRegisteredPluginApi, gc as resolveAuthStorePathForDisplay, gt as mergeSessionEntry, hn as listEnabledDiscordAccounts, hs as resolveMemorySlotDecision, ht as DEFAULT_RESET_TRIGGERS, ia as resolveProfilesUnavailableReason, ic as markAuthProfileGood, ii as resolveSubagentSpawnModelSelection, is as loadPluginManifestRegistry, it as loadSessionStore, j as matchPluginCommand, ja as resetConfigOverrides, ji as createOllamaStreamFn, jn as isGatewayMessageChannel, jt as resolveSessionFilePathOptions, k as executePluginCommand, kn as isDeliverableMessageChannel, l as getActivePluginRegistryKey, lc as ensureAuthProfileStore, ln as resolveWhatsAppAccount, lr as writeConfigFile, ls as applyTestPluginDefaults, m as setActivePluginRegistry, n as listChannelPlugins, na as markAuthProfileUsed, nc as dedupeProfileIds, ni as resolveReasoningDefault, nn as listEnabledSignalAccounts, nt as getConfiguredSessionStorageRuntime, o as resolveAllowlistMatchByCandidates, ol as RecoveryAdmissionError, on as isWhatsAppGroupJid, or as readConfigFileSnapshotForWrite, pn as createDiscordActionGate, ps as resolveEffectiveEnableState, pt as updateSessionStoreEntry, q as triggerInternalHook, qa as parseNonNegativeByteSize, qn as acquireSessionWriteLock, qo as isPathWithinRoot, qr as normalizeProviderId$1, qt as normalizeHyphenSlug, r as normalizeChannelId$1, rc as listProfilesForProvider, rl as replaceBufferedPluginTaskPasses, ro as resolveExecPolicyPreset, rr as loadConfig, s as getActiveGatewayPluginRegistry, sn as normalizeWhatsAppTarget, st as readSessionUpdatedAt, t as getChannelPlugin, ta as markAuthProfileFailure, ti as resolveModelRefFromString, tl as listBufferedPluginTaskPasses, tn as resolveSlackBotToken, ts as validateJsonSchemaValue, us as isBundledChannelEnabledByChannelConfig, vn as normalizeDiscordToken, vt as setSessionRuntimeModel, wn as deliveryContextKey, xa as runTasksWithConcurrency, xs as isPathInside, y as createPluginRegistry, yc as withFileLock, yn as resolveChannelGroupPolicy, za as validateConfigObjectWithPlugins, zr as buildModelAliasIndex, zt as resolveGroupSessionKey } from "./plugins-
|
|
8
|
+
import { f as mergeDelayedAgentTurn, h as WORKSPACE_LANE_DENIED_REASON, l as enqueueAgentTurn, m as setDelayedReleaseHold, p as peekDelayedAgentTurn, r as AGENT_TURN_TOPIC, s as clearDelayedReleaseHold, u as isClaimableAgentTurnWorkId } from "./agent-turn-enqueue-DICnRqYY.js";
|
|
9
|
+
import { $c as discardBufferedPluginTaskPasses, $i as getSoonestCooldownExpiry, $r as resolveDefaultModelForAgent, $s as resolveSlackStreamingMode, $t as resolveSlackReplyToMode, A as listPluginCommands, Aa as getConfigOverrides, Ai as OLLAMA_NATIVE_BASE_URL, At as resolveSessionFilePath, Bc as getShellPathFromLoginShell, Bn as GATEWAY_CLIENT_IDS, Br as findNormalizedProviderValue, Bt as resolveParentSessionGroupId, Cn as deliveryContextFromSession, Dn as normalizeSessionDeliveryFields, Ds as CHAT_CHANNEL_ORDER, E as buildPluginHealthReport, En as normalizeDeliveryContext, F as getSpeechProvider, Fa as parseConfigPath, Fc as splitTrailingAuthProfile, Fi as buildUsageWithNoCost, Fn as listDeliverableMessageChannels, Ft as resolveStorePath, G as createInternalHookEvent, Ga as resolveIMessageRemoteAttachmentRoots, Gc as readTaskWorkStates, Go as isAvatarHttpUrl, Gr as normalizeModelRef$2, Gt as normalizeSignalMessagingTarget, Ha as isInboundPathAllowed, Hi as resolveModelAuthMode, Hn as GATEWAY_CLIENT_NAMES, I as isBuiltinTtsProvider, Ia as setConfigValueAtPath, Ic as DEFAULT_CONTEXT_TOKENS, Ii as getApiKeyForModel, In as normalizeMessageChannel, It as deriveSessionMetaPatch, J as StorageReadAccessError, Jo as isSupportedLocalAvatarExtension, Jt as normalizeStringEntries, Ka as normalizeScpRemoteHost, Kn as normalizeAccountId$1, Kt as normalizeAtHashSlug, L as replaceSpeechProviders, La as unsetConfigValueAtPath, Lc as DEFAULT_MODEL, Li as getCustomProviderApiKey, Ln as resolveGatewayMessageChannel, Lr as buildAllowedModelSet, M as registerPluginCommand, Ma as setConfigOverride, Mc as normalizeResolvedSecretInputString, Mi as buildAssistantMessage, Mn as isInternalMessageChannel, Ms as normalizeAnyChannelId, Mt as resolveSessionTranscriptPath, N as BUILTIN_TTS_PROVIDER_IDS, Na as unsetConfigOverride, Ni as buildAssistantMessageWithZeroUsage, Nn as isMarkdownCapableMessageChannel, Nr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Ns as normalizeChannelId$2, O as clearPluginCommands, On as INTERNAL_MESSAGE_CHANNEL, P as getRegisteredSpeechProviders, Pa as getConfigValueAtPath, Pi as buildStreamErrorAssistantMessage, Q as requireSessionStorageRuntime, Qi as resolveAuthProfileOrder, Qo as buildChannelAccountBindings, Qr as resolveConfiguredModelRef, Qs as resolveSlackNativeStreaming, Qt as resolveSlackAccount, Rc as DEFAULT_PROVIDER, Ri as requireApiKey, Rn as resolveMessageChannel, Rr as buildConfiguredAllowlistKeys, Si as retryAsync, Sn as resolveAccountEntry, Ss as safeStatSync, T as normalizePluginHttpPath, Tc as normalizeSecretInput, Tn as mergeDeliveryContext, To as parseDurationMs, Tr as applyMergePatch, U as normalizeProviderId, Uo as AVATAR_MAX_BYTES, Ur as isCliProvider, Ut as getChannelDock, Vc as resolveShellEnvFallbackTimeoutMs, Vi as resolveEnvApiKey, Vn as GATEWAY_CLIENT_MODES, Wa as resolveIMessageAttachmentRoots, Wc as resolveOwnerDisplaySetting, Wo as isAvatarDataUrl, Wr as modelKey, Wt as listChannelDocks, X as getConversationReadQuery, Xn as CtxProjectionCorruptionError, Xs as mapStreamingModeToSlackLegacyDraftStreamMode, Y as createConversationReadQuery, Yn as resolveSessionLockMaxHoldFromTimeout, Yr as parseModelRef, Yt as normalizeStringEntriesLower, Z as SessionStorageUnavailableError, Zs as resolveDiscordPreviewStreamMode, _ as clearRegisteredPluginApis, _c as resolveOpenClawAgentDir, _n as resolveDiscordAccount, _r as buildEnforcedShellCommand, _t as resolveFreshSessionTotalTokens, a as formatAllowlistMatchMeta, aa as resolveApiKeyForProfile, ai as resolveThinkingDefault, an as resolveSignalAccount, ar as readConfigFileSnapshot, bc as resolveAuthProfileDisplayLabel, bn as resolveChannelGroupRequireMention, bs as discoverOpenClawPlugins, c as getActivePluginRegistry, cs as BUNDLED_ENABLED_BY_DEFAULT, ct as recordSessionMetaFromInbound, dt as updateLastRoute, ea as isProfileInCooldown, en as resolveSlackAppToken, f as requireActivePluginRegistry, fn as resolveIMessageAccount, fs as normalizePluginsConfig, ft as updateSessionStore, g as addRegisteredPluginApi, gc as resolveAuthStorePathForDisplay, gt as mergeSessionEntry, hn as listEnabledDiscordAccounts, hs as resolveMemorySlotDecision, ht as DEFAULT_RESET_TRIGGERS, ia as resolveProfilesUnavailableReason, ic as markAuthProfileGood, ii as resolveSubagentSpawnModelSelection, is as loadPluginManifestRegistry, it as loadSessionStore, j as matchPluginCommand, ja as resetConfigOverrides, ji as createOllamaStreamFn, jn as isGatewayMessageChannel, jt as resolveSessionFilePathOptions, k as executePluginCommand, kn as isDeliverableMessageChannel, l as getActivePluginRegistryKey, lc as ensureAuthProfileStore, ln as resolveWhatsAppAccount, lr as writeConfigFile, ls as applyTestPluginDefaults, m as setActivePluginRegistry, n as listChannelPlugins, na as markAuthProfileUsed, nc as dedupeProfileIds, ni as resolveReasoningDefault, nn as listEnabledSignalAccounts, nt as getConfiguredSessionStorageRuntime, o as resolveAllowlistMatchByCandidates, ol as RecoveryAdmissionError, on as isWhatsAppGroupJid, or as readConfigFileSnapshotForWrite, pn as createDiscordActionGate, ps as resolveEffectiveEnableState, pt as updateSessionStoreEntry, q as triggerInternalHook, qa as parseNonNegativeByteSize, qn as acquireSessionWriteLock, qo as isPathWithinRoot, qr as normalizeProviderId$1, qt as normalizeHyphenSlug, r as normalizeChannelId$1, rc as listProfilesForProvider, rl as replaceBufferedPluginTaskPasses, ro as resolveExecPolicyPreset, rr as loadConfig, s as getActiveGatewayPluginRegistry, sn as normalizeWhatsAppTarget, st as readSessionUpdatedAt, t as getChannelPlugin, ta as markAuthProfileFailure, ti as resolveModelRefFromString, tl as listBufferedPluginTaskPasses, tn as resolveSlackBotToken, ts as validateJsonSchemaValue, us as isBundledChannelEnabledByChannelConfig, vn as normalizeDiscordToken, vt as setSessionRuntimeModel, wn as deliveryContextKey, xa as runTasksWithConcurrency, xs as isPathInside, y as createPluginRegistry, yc as withFileLock, yn as resolveChannelGroupPolicy, za as validateConfigObjectWithPlugins, zr as buildModelAliasIndex, zt as resolveGroupSessionKey } from "./plugins-jkI2QMUK.js";
|
|
10
10
|
import { c as optionalStringEnum, f as applyTargetToParams, l as stringEnum, m as actionRequiresTarget, o as channelTargetSchema, p as actionHasTarget, s as channelTargetsSchema } from "./retry-policy-By-oqFVH.js";
|
|
11
11
|
import { t as VERSION } from "./version-BdUvZ8Ep.js";
|
|
12
|
-
import { A as normalizeOptionalAccountId, B as isSubagentSessionKey, C as sanitizeAgentId, E as toAgentStoreSessionKey, F as isAcpSessionKey, H as resolveThreadParentSessionKey, L as isCronSessionKey, M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, O as DEFAULT_ACCOUNT_ID, P as getSubagentDepth, S as resolveThreadSessionKeys, V as parseAgentSessionKey, W as stripAgentSessionKeyPrefix, _ as resolveAgentIdFromSessionKey, a as buildAgentMainSessionKey, d as isKnownAgentMainSessionKey, f as isValidAgentId, j as BACKGROUND_SESSION_KEY_SEGMENT, k as normalizeAccountId$2, m as normalizeMainKey, p as normalizeAgentId, r as DEVICE_SENDER_PREFIX, s as classifySessionKeyShape, t as DEFAULT_AGENT_ID, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity, z as isHeartbeatChildOfSessionKey } from "./session-key-
|
|
13
|
-
import { D as filterBootstrapFilesForSession, E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, _ as DEFAULT_AGENT_WORKSPACE_DIR, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, f as resolveEffectiveModelFallbacks, h as resolveSessionAgentIds, i as resolveAgentConfig, k as loadWorkspaceBootstrapFiles, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, p as resolveRunModelFallbacksOverride, r as listAgentIds, t as hasConfiguredModelFallbacks, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-
|
|
14
|
-
import { a as logInfo, i as logError, n as runExec, o as logWarn, r as logDebug, t as runCommandWithTimeout } from "./exec-
|
|
15
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
12
|
+
import { A as normalizeOptionalAccountId, B as isSubagentSessionKey, C as sanitizeAgentId, E as toAgentStoreSessionKey, F as isAcpSessionKey, H as resolveThreadParentSessionKey, L as isCronSessionKey, M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, O as DEFAULT_ACCOUNT_ID, P as getSubagentDepth, S as resolveThreadSessionKeys, V as parseAgentSessionKey, W as stripAgentSessionKeyPrefix, _ as resolveAgentIdFromSessionKey, a as buildAgentMainSessionKey, d as isKnownAgentMainSessionKey, f as isValidAgentId, j as BACKGROUND_SESSION_KEY_SEGMENT, k as normalizeAccountId$2, m as normalizeMainKey, p as normalizeAgentId, r as DEVICE_SENDER_PREFIX, s as classifySessionKeyShape, t as DEFAULT_AGENT_ID, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity, z as isHeartbeatChildOfSessionKey } from "./session-key-D0gYNgj1.js";
|
|
13
|
+
import { D as filterBootstrapFilesForSession, E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, P as resolveAgentModelFallbackValues, _ as DEFAULT_AGENT_WORKSPACE_DIR, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, f as resolveEffectiveModelFallbacks, h as resolveSessionAgentIds, i as resolveAgentConfig, k as loadWorkspaceBootstrapFiles, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, p as resolveRunModelFallbacksOverride, r as listAgentIds, t as hasConfiguredModelFallbacks, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-m37qEcFM.js";
|
|
14
|
+
import { a as logInfo, i as logError, n as runExec, o as logWarn, r as logDebug, t as runCommandWithTimeout } from "./exec-BadOxgw_.js";
|
|
15
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
|
|
16
16
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-CmScvpk-.js";
|
|
17
17
|
import { t as formatCliCommand } from "./command-format-C8lewPDO.js";
|
|
18
18
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-1Bu22XX3.js";
|
|
19
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-
|
|
20
|
-
import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-
|
|
19
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-THRoEbTj.js";
|
|
20
|
+
import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-D1F9bQCi.js";
|
|
21
21
|
import { n as formatTimeAgo } from "./format-relative-LIK9RdME.js";
|
|
22
|
-
import { At as stripMessageCarriers, Cn as formatMessageStamp, Ct as buildInboundMetaSystemPrompt, Dt as getMessageIngress, Et as attachMessageIngress, Ot as isRepresentableEpochMs, Tn as resolveTimezone, Tt as renderInboundUserContext, _n as makeZeroUsageSnapshot, _t as sanitizeJsonb, an as HIDDEN_HEARTBEAT_CUSTOM_TYPE, bt as mergePromptContributions, gn as hasNonzeroUsage, hn as deriveSessionTotalTokens, jt as resolveSenderLabel, kt as messageTime, mn as derivePromptTokens, vn as normalizeUsage, vt as sha256, wn as formatZonedTimestamp, wt as collectInboundUserContext, xt as toJsonValue$1, yt as createCurrentUserPromptEnvelope } from "./storage-config-
|
|
23
|
-
import { C as clearActiveCoordinationDepth, S as shouldResolveSessionIdInput, _ as resolveDisplaySessionKey, b as resolveSessionReference, c as buildAgentToAgentMessageContext, d as isReplySkip, f as resolvePingPongTurns, g as resolveSandboxedSessionToolContext, h as resolveEffectiveSessionToolsVisibility, l as buildAgentToAgentReplyContext, m as createSessionVisibilityGuard, n as requestAuthorizedNudge, o as AuthorizationError, p as createAgentToAgentPolicy, r as requestNudge, s as buildAgentToAgentAnnounceContext, u as isAnnounceSkip, v as resolveInternalSessionKey, w as setActiveCoordinationDepth, x as resolveVisibleSessionReference, y as resolveMainSessionAlias } from "./nudge-
|
|
22
|
+
import { At as stripMessageCarriers, Cn as formatMessageStamp, Ct as buildInboundMetaSystemPrompt, Dt as getMessageIngress, Et as attachMessageIngress, Ot as isRepresentableEpochMs, Tn as resolveTimezone, Tt as renderInboundUserContext, _n as makeZeroUsageSnapshot, _t as sanitizeJsonb, an as HIDDEN_HEARTBEAT_CUSTOM_TYPE, bt as mergePromptContributions, gn as hasNonzeroUsage, hn as deriveSessionTotalTokens, jt as resolveSenderLabel, kt as messageTime, mn as derivePromptTokens, vn as normalizeUsage, vt as sha256, wn as formatZonedTimestamp, wt as collectInboundUserContext, xt as toJsonValue$1, yt as createCurrentUserPromptEnvelope } from "./storage-config-Bnq9G52N.js";
|
|
23
|
+
import { C as clearActiveCoordinationDepth, S as shouldResolveSessionIdInput, _ as resolveDisplaySessionKey, b as resolveSessionReference, c as buildAgentToAgentMessageContext, d as isReplySkip, f as resolvePingPongTurns, g as resolveSandboxedSessionToolContext, h as resolveEffectiveSessionToolsVisibility, l as buildAgentToAgentReplyContext, m as createSessionVisibilityGuard, n as requestAuthorizedNudge, o as AuthorizationError, p as createAgentToAgentPolicy, r as requestNudge, s as buildAgentToAgentAnnounceContext, u as isAnnounceSkip, v as resolveInternalSessionKey, w as setActiveCoordinationDepth, x as resolveVisibleSessionReference, y as resolveMainSessionAlias } from "./nudge-Ba6E2hnD.js";
|
|
24
24
|
import { t as redactIdentifier } from "./redact-identifier-BZPmEwN1.js";
|
|
25
25
|
import { t as KeyedAsyncQueue } from "./keyed-async-queue-C3QwnlR9.js";
|
|
26
26
|
import { t as CommandLane } from "./lanes-BlMUt9Yl.js";
|
|
27
27
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-Bar3Iz3R.js";
|
|
28
|
-
import { i as getAgentTurnRuntime, o as tryGetAgentTurnRuntime } from "./agent-turn-runner-
|
|
29
|
-
import { a as resolveSessionRunStore, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
30
|
-
import { A as isRateLimitAssistantError, B as resolveBootstrapTotalMaxChars, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, I as isAuthPermanentErrorMessage, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, R as buildBootstrapContextFiles, S as isAuthAssistantError, T as isCompactionFailureError, V as sanitizeGoogleTurnOrdering, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, d as canonicalizeBase64, f as estimateBase64DecodedBytes, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, o as normalizeTextForComparison, p as downgradeOpenAIFunctionCallReasoningPairs, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as resolveImageSanitizationLimits, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveBootstrapMaxChars } from "./pi-embedded-helpers-
|
|
31
|
-
import { C as resolveToolProfilePolicy, S as normalizeToolName, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as stripPluginOnlyAllowlist, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as expandToolGroups, y as mergeAlsoAllowPolicy } from "./sandbox-
|
|
28
|
+
import { i as getAgentTurnRuntime, o as tryGetAgentTurnRuntime } from "./agent-turn-runner-C2jDvczc.js";
|
|
29
|
+
import { a as resolveSessionRunStore, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-MkhBoIQ8.js";
|
|
30
|
+
import { A as isRateLimitAssistantError, B as resolveBootstrapTotalMaxChars, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, I as isAuthPermanentErrorMessage, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, R as buildBootstrapContextFiles, S as isAuthAssistantError, T as isCompactionFailureError, V as sanitizeGoogleTurnOrdering, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, d as canonicalizeBase64, f as estimateBase64DecodedBytes, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, o as normalizeTextForComparison, p as downgradeOpenAIFunctionCallReasoningPairs, r as pickFallbackThinkingLevel, s as sanitizeSessionMessagesImages, t as validateAnthropicTurns, u as resolveImageSanitizationLimits, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveBootstrapMaxChars } from "./pi-embedded-helpers-DJo9j-U6.js";
|
|
31
|
+
import { C as resolveToolProfilePolicy, S as normalizeToolName, T as matchesAnyGlobPattern, _ as collectExplicitAllowlist, a as ensureSandboxWorkspaceForSession, b as stripPluginOnlyAllowlist, c as resolveSandboxRuntimeStatus, d as getBridgeAuthForPort, f as resolveSandboxConfigForAgent, g as buildPluginToolGroups, h as applyOwnerOnlyToolPolicy, o as resolveSandboxContext, v as expandPolicyWithPluginGroups, w as compileGlobPatterns, x as expandToolGroups, y as mergeAlsoAllowPolicy } from "./sandbox-B1zZvKcw.js";
|
|
32
32
|
import { i as listCoreToolIds } from "./tool-catalog-CR5vGJFh.js";
|
|
33
|
-
import { c as resolveExistingPathsWithinRoot, g as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as DEFAULT_UPLOAD_DIR } from "./extension-relay-auth-
|
|
34
|
-
import { i as isLoopbackHost } from "./ws-
|
|
35
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
36
|
-
import { a as resolveBrowserControlAuth } from "./server-context-
|
|
37
|
-
import { a as resolveSkillsPromptForRun, d as assertSandboxPath, f as resolveSandboxInputPath, g as applySkillEnvOverridesFromSnapshot, h as applySkillEnvOverrides, i as loadWorkspaceSkillEntries, m as resolveSandboxedMediaSource, o as skillsSnapshotSourceDiffers, r as buildWorkspaceSkillSnapshot, u as assertMediaNotDataUrl } from "./skills-
|
|
38
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
33
|
+
import { c as resolveExistingPathsWithinRoot, g as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as DEFAULT_UPLOAD_DIR } from "./extension-relay-auth-DPPoRrd5.js";
|
|
34
|
+
import { i as isLoopbackHost } from "./ws-DL02xZ7p.js";
|
|
35
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-DtepevRH.js";
|
|
36
|
+
import { a as resolveBrowserControlAuth } from "./server-context-BHTq-BWT.js";
|
|
37
|
+
import { a as resolveSkillsPromptForRun, d as assertSandboxPath, f as resolveSandboxInputPath, g as applySkillEnvOverridesFromSnapshot, h as applySkillEnvOverrides, i as loadWorkspaceSkillEntries, m as resolveSandboxedMediaSource, o as skillsSnapshotSourceDiffers, r as buildWorkspaceSkillSnapshot, u as assertMediaNotDataUrl } from "./skills-DL1ojgrn.js";
|
|
38
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-tEWiWfoS.js";
|
|
39
39
|
import { a as testRegexWithBoundedInput, i as compileSafeRegex, n as redactSensitiveText } from "./redact-DuZtecUY.js";
|
|
40
40
|
import { c as readErrorName, i as formatErrorMessage, o as hasErrnoCode } from "./errors-DvKWUPmm.js";
|
|
41
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
42
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
43
|
-
import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-
|
|
44
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
45
|
-
import { r as resolveBrowserConfig } from "./trash-
|
|
46
|
-
import { i as resolveLsofCommandSync } from "./ports-
|
|
41
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BqogKG9V.js";
|
|
42
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-BjF-dsmA.js";
|
|
43
|
+
import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-BiZX2JoM.js";
|
|
44
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-cV4bbDty.js";
|
|
45
|
+
import { r as resolveBrowserConfig } from "./trash-DdUKVsNs.js";
|
|
46
|
+
import { i as resolveLsofCommandSync } from "./ports-BtguoLP4.js";
|
|
47
47
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DXdQgrgM.js";
|
|
48
48
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CRVHgtmO.js";
|
|
49
|
-
import { $ as resolveExplicitAgentSessionKey, A as DB_SESSION_HYDRATION_LIMIT, B as CHARS_PER_TOKEN_ESTIMATE$2, C as hasHookForPlugin, D as resolveProviderPromptCacheKey, E as buildPluginTurnIdentity, F as sessionLikelyHasOversizedToolResults, G as getToolResultText$1, H as createMessageCharEstimateCache, I as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, K as isToolResultMessage, L as TOOL_RESULT_TEXT_WEIGHT, M as pickLeaf, N as capToolResultContent, O as resolveProviderRuntimeIdentity, P as HARD_MAX_TOOL_RESULT_CHARS, Q as resolveAgentMainSessionKey, R as truncateTextHeadTail, T as buildPluginRuntimeIdentity, U as estimateContextChars$1, V as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, W as estimateMessageCharsCached, X as resolveSessionKey, Z as canonicalizeMainSessionAlias, _ as sanitizeToolCallIdsForCloudCodeAssist, a as resolveMirroredTranscriptText, b as initializeGlobalHookRunner, c as runSerializedBySession, d as openRawToolResultStash, et as resolveMainSessionKey, f as repairToolUseResultPairing, g as canonicalToolCallIdBase, h as stripToolResultDetails, i as appendAssistantMessageToSessionTranscript, j as eventOrder, l as drainPendingPrimaryWrites, m as sanitizeToolUseResultPairing, n as parseSessionThreadInfo, p as sanitizeToolCallInputs, q as parseInlineDirectives$1, r as resolveAndPersistSessionFile, s as openDbSessionManager, t as extractDeliveryInfo, u as guardSessionManager, v as getGlobalHookRunner, w as promptBuildResultToContribution, y as getGlobalPluginRegistry, z as truncateToolResultToChars } from "./sessions-
|
|
50
|
-
import { a as resolveSessionResetType, i as resolveSessionResetPolicy, o as resolveThreadFlag, r as resolveChannelResetConfig, t as evaluateSessionFreshness } from "./reset-
|
|
49
|
+
import { $ as resolveExplicitAgentSessionKey, A as DB_SESSION_HYDRATION_LIMIT, B as CHARS_PER_TOKEN_ESTIMATE$2, C as hasHookForPlugin, D as resolveProviderPromptCacheKey, E as buildPluginTurnIdentity, F as sessionLikelyHasOversizedToolResults, G as getToolResultText$1, H as createMessageCharEstimateCache, I as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, K as isToolResultMessage, L as TOOL_RESULT_TEXT_WEIGHT, M as pickLeaf, N as capToolResultContent, O as resolveProviderRuntimeIdentity, P as HARD_MAX_TOOL_RESULT_CHARS, Q as resolveAgentMainSessionKey, R as truncateTextHeadTail, T as buildPluginRuntimeIdentity, U as estimateContextChars$1, V as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, W as estimateMessageCharsCached, X as resolveSessionKey, Z as canonicalizeMainSessionAlias, _ as sanitizeToolCallIdsForCloudCodeAssist, a as resolveMirroredTranscriptText, b as initializeGlobalHookRunner, c as runSerializedBySession, d as openRawToolResultStash, et as resolveMainSessionKey, f as repairToolUseResultPairing, g as canonicalToolCallIdBase, h as stripToolResultDetails, i as appendAssistantMessageToSessionTranscript, j as eventOrder, l as drainPendingPrimaryWrites, m as sanitizeToolUseResultPairing, n as parseSessionThreadInfo, p as sanitizeToolCallInputs, q as parseInlineDirectives$1, r as resolveAndPersistSessionFile, s as openDbSessionManager, t as extractDeliveryInfo, u as guardSessionManager, v as getGlobalHookRunner, w as promptBuildResultToContribution, y as getGlobalPluginRegistry, z as truncateToolResultToChars } from "./sessions-BM-Q49zJ.js";
|
|
50
|
+
import { a as resolveSessionResetType, i as resolveSessionResetPolicy, o as resolveThreadFlag, r as resolveChannelResetConfig, t as evaluateSessionFreshness } from "./reset-Dnw4nNtL.js";
|
|
51
51
|
import { i as parseAbsoluteTimeMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-DeKW3Z4c.js";
|
|
52
|
-
import { g as normalizeHttpWebhookUrl, p as inferLegacyName } from "./jobs-
|
|
52
|
+
import { g as normalizeHttpWebhookUrl, p as inferLegacyName } from "./jobs-CHw5Ov3b.js";
|
|
53
53
|
import { i as normalizeInputProvenance, r as hasInterSessionUserProvenance } from "./input-provenance-Bj7EXxBY.js";
|
|
54
54
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-CQg2xO7E.js";
|
|
55
55
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-Ch1vg5Mi.js";
|
|
56
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
57
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
58
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout$4 } from "./with-timeout-
|
|
59
|
-
import { E as resetCommandPollCount, T as recordCommandPoll, _ as logToolExecutionStarted, c as logMessageQueued, f as logRunCompleted, g as logToolExecutionCompleted, h as logToolExecutionBlocked, m as logSessionStateChange, p as logRunStarted, s as logMessageProcessed, u as logModelCallError, v as recordSystemPromptHashComparison, w as boundDiagnosticContent, y as refreshRunProgress } from "./diagnostic-
|
|
56
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CJ_JdsYa.js";
|
|
57
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DB7GfarG.js";
|
|
58
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout$4 } from "./with-timeout-DsMQOfWA.js";
|
|
59
|
+
import { E as resetCommandPollCount, T as recordCommandPoll, _ as logToolExecutionStarted, c as logMessageQueued, f as logRunCompleted, g as logToolExecutionCompleted, h as logToolExecutionBlocked, m as logSessionStateChange, p as logRunStarted, s as logMessageProcessed, u as logModelCallError, v as recordSystemPromptHashComparison, w as boundDiagnosticContent, y as refreshRunProgress } from "./diagnostic-C0AOXO65.js";
|
|
60
60
|
import { d as redactChannelCorrelation, o as getDiagnosticSessionState } from "./diagnostic-session-state-BRKrDBj3.js";
|
|
61
|
-
import { c as getCommandLaneSnapshots, f as isQueuedCommandCancellation, i as clearCommandLane, l as getQueueSize, o as enqueueCommandInLane, t as CommandLaneAbortedError } from "./command-queue-
|
|
62
|
-
import { i as buildModelAliasLines, n as resolveModel } from "./model-
|
|
63
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
61
|
+
import { c as getCommandLaneSnapshots, f as isQueuedCommandCancellation, i as clearCommandLane, l as getQueueSize, o as enqueueCommandInLane, t as CommandLaneAbortedError } from "./command-queue-C17N9gab.js";
|
|
62
|
+
import { i as buildModelAliasLines, n as resolveModel } from "./model-LUi1O3vn.js";
|
|
63
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CigFHOOz.js";
|
|
64
64
|
import { n as docsSiteUrl, t as DOCS_SITE_URL } from "./docs-site-Bx-VRaE-.js";
|
|
65
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
66
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns } from "./exec-approvals-allowlist-
|
|
67
|
-
import { n as resolveExecSafeBinRuntimePolicy, r as resolveMergedSafeBinProfileFixtures } from "./exec-safe-bin-runtime-policy-
|
|
68
|
-
import { n as resolveLearningWorkspaceDir, t as resolveSessionConsumerAgentIds } from "./session-consumer-agents-
|
|
69
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
65
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-CpqLFZ0C.js";
|
|
66
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns } from "./exec-approvals-allowlist-B9t8qYRi.js";
|
|
67
|
+
import { n as resolveExecSafeBinRuntimePolicy, r as resolveMergedSafeBinProfileFixtures } from "./exec-safe-bin-runtime-policy-DLnEvKn8.js";
|
|
68
|
+
import { n as resolveLearningWorkspaceDir, t as resolveSessionConsumerAgentIds } from "./session-consumer-agents-BRMrM2o-.js";
|
|
69
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-CILu9Z2R.js";
|
|
70
70
|
import { t as extractTextFromChatContent } from "./chat-content-w_xCQKkh.js";
|
|
71
|
-
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as stripReasoningTagsFromText, l as stripDowngradedToolCallText, n as extractAssistantThinking, o as inferToolMetaFromArgs, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
72
|
-
import { n as formatToolSummary, r as resolveToolDisplay } from "./tool-display-
|
|
73
|
-
import { A as coerceImageAssistantText, C as stripCarriedTranscriptFromBody, D as registerUnhandledRejectionHandler, M as decodeDataUrl, N as resolveProviderVisionModelFromConfig, a as resolveMediaAttachmentLocalRoots, c as minimaxUnderstandImage, d as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, j as coerceImageModelConfig, k as resolveAttachmentKind, l as applyTemplate, m as normalizeMediaUnderstandingChatType, n as buildProviderRegistry, o as runCapability, p as resolveTimeoutMs$1, r as createMediaAttachmentCache, t as runAudioTranscription, w as buildRandomTempFilePath } from "./audio-transcription-runner-
|
|
74
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
71
|
+
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as stripReasoningTagsFromText, l as stripDowngradedToolCallText, n as extractAssistantThinking, o as inferToolMetaFromArgs, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-BOUhZp06.js";
|
|
72
|
+
import { n as formatToolSummary, r as resolveToolDisplay } from "./tool-display-geiQFcY0.js";
|
|
73
|
+
import { A as coerceImageAssistantText, C as stripCarriedTranscriptFromBody, D as registerUnhandledRejectionHandler, M as decodeDataUrl, N as resolveProviderVisionModelFromConfig, a as resolveMediaAttachmentLocalRoots, c as minimaxUnderstandImage, d as resolveConcurrency, g as CLI_OUTPUT_MAX_BUFFER, h as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, j as coerceImageModelConfig, k as resolveAttachmentKind, l as applyTemplate, m as normalizeMediaUnderstandingChatType, n as buildProviderRegistry, o as runCapability, p as resolveTimeoutMs$1, r as createMediaAttachmentCache, t as runAudioTranscription, w as buildRandomTempFilePath } from "./audio-transcription-runner-BQbTpN83.js";
|
|
74
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-KUu9BT-y.js";
|
|
75
75
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-COk7ObZ2.js";
|
|
76
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
76
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Bn23GnZQ.js";
|
|
77
77
|
import { i as resolveModelCostConfig, n as formatTokenCount$2, r as formatUsd, t as estimateUsageCost } from "./usage-format-zmv7sMbY.js";
|
|
78
78
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-BWwAAm21.js";
|
|
79
|
-
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-
|
|
80
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
81
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
82
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-
|
|
83
|
-
import { a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-
|
|
84
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
79
|
+
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-CIpxqo8a.js";
|
|
80
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BmOshwHx.js";
|
|
81
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-DBTx0EHu.js";
|
|
82
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled, n as isNativeCommandsExplicitlyDisabled, r as isRestartEnabled, t as isCommandFlagEnabled } from "./commands-SeKi2OWl.js";
|
|
83
|
+
import { a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs } from "./commands-registry-uKHucCpf.js";
|
|
84
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-D5nQiSUv.js";
|
|
85
85
|
import { t as withTimeout$5 } from "./with-timeout-DSF2eoCh.js";
|
|
86
|
-
import { _ as AcpRuntimeError, c as validateRuntimeCwdInput, d as validateRuntimePermissionProfileInput, f as isSessionIdentityPending, g as ACP_TURN_INTERRUPTED_MESSAGE, h as requireAcpRuntimeBackend, i as resolveSessionStorePathForAcp, l as validateRuntimeModeInput, m as getAcpRuntimeBackend, o as parseRuntimeTimeoutSecondsInput, p as resolveSessionIdentityFromMeta, r as readAcpSessionEntry, s as validateRuntimeConfigOptionInput, t as getAcpSessionManager, u as validateRuntimeModelInput, v as toAcpRuntimeError } from "./manager-
|
|
87
|
-
import { Ln as SESSION_LABEL_MAX_LENGTH, n as gatewayErrorReason, t as GatewayClient } from "./client-
|
|
88
|
-
import { b as resolveLeastPrivilegeOperatorScopesForMethod, i as callGatewayLeastPrivilege, n as callGateway, s as randomIdempotencyKey, t as buildGatewayConnectionDetails } from "./call-
|
|
89
|
-
import { C as endModelCall, D as onAgentEvent, O as registerAgentRunContext, S as createInlineCodeState, T as emitAgentEvent, _ as handleMessageEnd, b as emitEmbeddedAgentEvent, g as waitForEmbeddedPiRunEnd, h as setActiveEmbeddedRun, i as endInFlightEmbeddedAttempt, n as beginInFlightEmbeddedAttempt, p as queueEmbeddedPiMessage, r as clearActiveEmbeddedRun, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun, u as isEmbeddedPiRunStreaming, v as handleMessageStart, w as clearAgentRunContext, x as buildCodeSpanIndex, y as handleMessageUpdate } from "./runs-
|
|
90
|
-
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-
|
|
91
|
-
import { _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as throwIfAborted, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as loadChannelOutboundAdapter, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-
|
|
86
|
+
import { _ as AcpRuntimeError, c as validateRuntimeCwdInput, d as validateRuntimePermissionProfileInput, f as isSessionIdentityPending, g as ACP_TURN_INTERRUPTED_MESSAGE, h as requireAcpRuntimeBackend, i as resolveSessionStorePathForAcp, l as validateRuntimeModeInput, m as getAcpRuntimeBackend, o as parseRuntimeTimeoutSecondsInput, p as resolveSessionIdentityFromMeta, r as readAcpSessionEntry, s as validateRuntimeConfigOptionInput, t as getAcpSessionManager, u as validateRuntimeModelInput, v as toAcpRuntimeError } from "./manager-LeFDfER8.js";
|
|
87
|
+
import { Ln as SESSION_LABEL_MAX_LENGTH, n as gatewayErrorReason, t as GatewayClient } from "./client-BMDbXMKo.js";
|
|
88
|
+
import { b as resolveLeastPrivilegeOperatorScopesForMethod, i as callGatewayLeastPrivilege, n as callGateway, s as randomIdempotencyKey, t as buildGatewayConnectionDetails } from "./call-BltQb5p8.js";
|
|
89
|
+
import { C as endModelCall, D as onAgentEvent, O as registerAgentRunContext, S as createInlineCodeState, T as emitAgentEvent, _ as handleMessageEnd, b as emitEmbeddedAgentEvent, g as waitForEmbeddedPiRunEnd, h as setActiveEmbeddedRun, i as endInFlightEmbeddedAttempt, n as beginInFlightEmbeddedAttempt, p as queueEmbeddedPiMessage, r as clearActiveEmbeddedRun, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun, u as isEmbeddedPiRunStreaming, v as handleMessageStart, w as clearAgentRunContext, x as buildCodeSpanIndex, y as handleMessageUpdate } from "./runs-lJqVvQpF.js";
|
|
90
|
+
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-ClMNzy21.js";
|
|
91
|
+
import { _ as createReplyToModeFilterForChannel, a as normalizeOutboundPayloadsForJson, b as normalizeChannelTargetInput, c as throwIfAborted, d as applyReplyThreading, f as filterMessagingToolDuplicates, g as shouldSuppressReasoningPayload, h as shouldSuppressMessagingToolReplies, i as normalizeOutboundPayloads, l as loadChannelOutboundAdapter, m as isRenderablePayload, o as normalizeReplyPayloadsForDelivery, p as filterMessagingToolMediaDuplicates, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as applyReplyTagsToPayload, v as resolveReplyToMode, x as normalizeTargetForProvider, y as buildTargetResolverSignature } from "./deliver-BPWNdSsP.js";
|
|
92
92
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-CGDEkGt7.js";
|
|
93
|
-
import { C as computeBackoff, E as transcriptEntriesToMessages, S as resolveContextTokensForModel, T as readFullTranscriptEntriesFromBackend, _ as countToolResults, b as stripMessageIdHints, f as capArrayByJsonBytes, g as jsonUtf8Bytes, o as loadCombinedSessionStoreForGateway, s as loadSessionEntry, v as extractToolCallNames, w as sleepWithAbort, x as lookupContextTokens, y as stripEnvelope } from "./session-utils-
|
|
93
|
+
import { C as computeBackoff, E as transcriptEntriesToMessages, S as resolveContextTokensForModel, T as readFullTranscriptEntriesFromBackend, _ as countToolResults, b as stripMessageIdHints, f as capArrayByJsonBytes, g as jsonUtf8Bytes, o as loadCombinedSessionStoreForGateway, s as loadSessionEntry, v as extractToolCallNames, w as sleepWithAbort, x as lookupContextTokens, y as stripEnvelope } from "./session-utils-Cdb2eB8x.js";
|
|
94
94
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-oekNdlhl.js";
|
|
95
|
-
import { c as readJsonFileWithFallback, d as listPairingChannels, i as readChannelAllowFromStore, l as writeJsonFileAtomically, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-
|
|
96
|
-
import { a as maxAsk, d as requiresExecApproval, f as resolveExecApprovals, n as addAllowlistEntry, p as resolveExecApprovalsFromFile, s as minSecurity, u as recordAllowlistUse } from "./exec-approvals-
|
|
97
|
-
import { C as mergePathPrepend, S as findPathKey, a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, w as normalizePathPrepend, x as applyPathPrepend } from "./nodes-screen-
|
|
98
|
-
import { a as detectRuntimeShell, c as sanitizeBinaryOutput, o as getShellConfig, s as killProcessTree, t as getProcessSupervisor } from "./supervisor-
|
|
95
|
+
import { c as readJsonFileWithFallback, d as listPairingChannels, i as readChannelAllowFromStore, l as writeJsonFileAtomically, o as removeChannelAllowFromStoreEntry, s as upsertChannelPairingRequest, t as addChannelAllowFromStoreEntry } from "./pairing-store-3I6u3yrD.js";
|
|
96
|
+
import { a as maxAsk, d as requiresExecApproval, f as resolveExecApprovals, n as addAllowlistEntry, p as resolveExecApprovalsFromFile, s as minSecurity, u as recordAllowlistUse } from "./exec-approvals-bsuh4PHE.js";
|
|
97
|
+
import { C as mergePathPrepend, S as findPathKey, a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, w as normalizePathPrepend, x as applyPathPrepend } from "./nodes-screen-Bt0pPjvM.js";
|
|
98
|
+
import { a as detectRuntimeShell, c as sanitizeBinaryOutput, o as getShellConfig, s as killProcessTree, t as getProcessSupervisor } from "./supervisor-RSmYlWKn.js";
|
|
99
99
|
import { t as killProcessTree$1 } from "./kill-tree-XGfrXo_n.js";
|
|
100
|
-
import { n as formatExecCommand } from "./system-run-command-
|
|
100
|
+
import { n as formatExecCommand } from "./system-run-command-B6oEb0S7.js";
|
|
101
101
|
import { i as parsePairingList, n as resolveNodeIdFromNodeList, r as parseNodeList, t as resolveNodeFromNodeList } from "./node-resolve-DERhxKbH.js";
|
|
102
102
|
import { i as formatDurationSeconds, t as formatDurationCompact$1 } from "./format-duration-BynaIN4v.js";
|
|
103
|
-
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-
|
|
104
|
-
import { t as redactConfigObject } from "./redact-snapshot-
|
|
105
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
103
|
+
import { b as ensureSkillsWatcher, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, t as listReservedChatSlashCommandNames, x as getSkillsSnapshotVersion } from "./skill-commands-BkpzU1Pe.js";
|
|
104
|
+
import { t as redactConfigObject } from "./redact-snapshot-DrvZI2y8.js";
|
|
105
|
+
import { t as convertMarkdownTables } from "./tables-BRQFx6QN.js";
|
|
106
106
|
import { p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-DUAhnQFX.js";
|
|
107
107
|
import { n as stripLeadingInboundMetadata, t as stripInboundMetadata } from "./strip-inbound-meta-BxBcN1Ax.js";
|
|
108
|
-
import { a as resolvePinnedMainDmOwnerFromAllowlist, c as mergeDmAllowFromSources, d as filterToolsByPolicy, f as isToolAllowedByPolicies, h as resolveSubagentToolPolicy, i as resolveDmGroupAccessWithLists, l as resolveCommandAuthorizedFromAuthorizers, m as resolveGroupToolPolicy, n as readStoreAllowFromForDmPolicy, o as firstDefined$1, p as resolveEffectiveToolPolicy, s as isSenderIdAllowed, t as DM_GROUP_ACCESS_REASON, u as resolveControlCommandGate } from "./dm-policy-shared-
|
|
109
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
110
|
-
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-
|
|
111
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
112
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
113
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
114
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
108
|
+
import { a as resolvePinnedMainDmOwnerFromAllowlist, c as mergeDmAllowFromSources, d as filterToolsByPolicy, f as isToolAllowedByPolicies, h as resolveSubagentToolPolicy, i as resolveDmGroupAccessWithLists, l as resolveCommandAuthorizedFromAuthorizers, m as resolveGroupToolPolicy, n as readStoreAllowFromForDmPolicy, o as firstDefined$1, p as resolveEffectiveToolPolicy, s as isSenderIdAllowed, t as DM_GROUP_ACCESS_REASON, u as resolveControlCommandGate } from "./dm-policy-shared-5u9bRZcn.js";
|
|
109
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BSDOTSgY.js";
|
|
110
|
+
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-BdOi2As8.js";
|
|
111
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-DWc-XmZz.js";
|
|
112
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-C8YuqL0X.js";
|
|
113
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-hay_ikCy.js";
|
|
114
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-ChrD30tC.js";
|
|
115
115
|
import { t as parseTimeoutMs } from "./parse-timeout-FUO1ff14.js";
|
|
116
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
116
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-DaUsOxk7.js";
|
|
117
117
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-CU1g4rM3.js";
|
|
118
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
119
|
-
import { s as resolveCommandSecretRefsViaGateway, t as getAgentRuntimeCommandSecretTargetIds } from "./command-secret-targets-
|
|
120
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
121
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
122
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
123
|
-
import { r as resolveMemorySearchConfig } from "./manager-
|
|
118
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-v8JTcIK3.js";
|
|
119
|
+
import { s as resolveCommandSecretRefsViaGateway, t as getAgentRuntimeCommandSecretTargetIds } from "./command-secret-targets-BZ1SboqY.js";
|
|
120
|
+
import { r as detectBinary } from "./onboard-helpers-BK8DRSuP.js";
|
|
121
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-DGG9rR88.js";
|
|
122
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-Di1UAOeP.js";
|
|
123
|
+
import { r as resolveMemorySearchConfig } from "./manager-D_fFKFjl.js";
|
|
124
124
|
import { i as resolveContextWindowInfo, n as CONTEXT_WINDOW_WARN_BELOW_TOKENS, r as evaluateContextWindowGuard, t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-zMBgVaUv.js";
|
|
125
|
-
import { r as isPipelineHeartbeatInFlight } from "./heartbeat-tick-
|
|
125
|
+
import { r as isPipelineHeartbeatInFlight } from "./heartbeat-tick-Cn6Mm71L.js";
|
|
126
126
|
import { createRequire } from "node:module";
|
|
127
127
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
128
128
|
import { fileURLToPath } from "node:url";
|
|
@@ -130,7 +130,7 @@ import os, { homedir } from "node:os";
|
|
|
130
130
|
import path, { basename } from "node:path";
|
|
131
131
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
132
132
|
import JSON5 from "json5";
|
|
133
|
-
import
|
|
133
|
+
import fsPromises from "node:fs/promises";
|
|
134
134
|
import { inspect } from "node:util";
|
|
135
135
|
import crypto$1, { createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
|
|
136
136
|
import { Type } from "@sinclair/typebox";
|
|
@@ -1181,7 +1181,7 @@ function resolveWorkspaceLane(params) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
async function pathExists(targetPath) {
|
|
1183
1183
|
try {
|
|
1184
|
-
await
|
|
1184
|
+
await fsPromises.access(targetPath);
|
|
1185
1185
|
return true;
|
|
1186
1186
|
} catch {
|
|
1187
1187
|
return false;
|
|
@@ -1189,7 +1189,7 @@ async function pathExists(targetPath) {
|
|
|
1189
1189
|
}
|
|
1190
1190
|
async function getExistingPathState(targetPath) {
|
|
1191
1191
|
try {
|
|
1192
|
-
const stats = await
|
|
1192
|
+
const stats = await fsPromises.lstat(targetPath);
|
|
1193
1193
|
if (stats.isSymbolicLink()) return "other";
|
|
1194
1194
|
return stats.isDirectory() ? "directory" : "other";
|
|
1195
1195
|
} catch {
|
|
@@ -1198,7 +1198,7 @@ async function getExistingPathState(targetPath) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
async function pathLexicallyExists(targetPath) {
|
|
1200
1200
|
try {
|
|
1201
|
-
await
|
|
1201
|
+
await fsPromises.lstat(targetPath);
|
|
1202
1202
|
return true;
|
|
1203
1203
|
} catch {
|
|
1204
1204
|
return false;
|
|
@@ -1265,7 +1265,7 @@ async function resolveWorkspaceLaneForTurn(params) {
|
|
|
1265
1265
|
const config = resolveWorkspaceLaneConfig(params.cfg, resolution.agentId);
|
|
1266
1266
|
if ((config?.create ?? "on-first-message") !== "on-first-message") return resolution;
|
|
1267
1267
|
const existed = pathState === "directory";
|
|
1268
|
-
if (!existed) await
|
|
1268
|
+
if (!existed) await fsPromises.mkdir(resolution.effectiveWorkspaceDir, { recursive: true });
|
|
1269
1269
|
for (const file of config?.copiedOnCreate ?? DEFAULT_COPIED_ON_CREATE_FILES) {
|
|
1270
1270
|
const decision = await copyIfMissing({
|
|
1271
1271
|
sourceRoot: resolution.personaWorkspaceDir,
|
|
@@ -6078,7 +6078,7 @@ async function imageResult(params) {
|
|
|
6078
6078
|
}, params.label, params.imageSanitization);
|
|
6079
6079
|
}
|
|
6080
6080
|
async function imageResultFromFile(params) {
|
|
6081
|
-
const buf = await
|
|
6081
|
+
const buf = await fsPromises.readFile(params.path);
|
|
6082
6082
|
const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
|
|
6083
6083
|
return await imageResult({
|
|
6084
6084
|
label: params.label,
|
|
@@ -7090,7 +7090,7 @@ async function routeReply(params) {
|
|
|
7090
7090
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
7091
7091
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
7092
7092
|
try {
|
|
7093
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
7093
|
+
const { deliverOutboundPayloads } = await import("./deliver-BPWNdSsP.js").then((n) => n.n);
|
|
7094
7094
|
const outboundSession = buildOutboundSessionContext({
|
|
7095
7095
|
cfg,
|
|
7096
7096
|
agentId: resolvedAgentId,
|
|
@@ -11955,7 +11955,7 @@ async function sendTranscriptEcho(params) {
|
|
|
11955
11955
|
}
|
|
11956
11956
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
11957
11957
|
try {
|
|
11958
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
11958
|
+
const { deliverOutboundPayloads } = await import("./deliver-BPWNdSsP.js").then((n) => n.n);
|
|
11959
11959
|
await deliverOutboundPayloads({
|
|
11960
11960
|
cfg,
|
|
11961
11961
|
channel: normalizedChannel,
|
|
@@ -15879,7 +15879,7 @@ async function resolveSandboxWorkdir(params) {
|
|
|
15879
15879
|
cwd: process.cwd(),
|
|
15880
15880
|
root: params.sandbox.workspaceDir
|
|
15881
15881
|
});
|
|
15882
|
-
if (!(await
|
|
15882
|
+
if (!(await fsPromises.stat(resolved.resolved)).isDirectory()) throw new Error("workdir is not a directory");
|
|
15883
15883
|
const relative = resolved.relative ? resolved.relative.split(path.sep).join(path.posix.sep) : "";
|
|
15884
15884
|
const containerWorkdir = relative ? path.posix.join(params.sandbox.containerWorkdir, relative) : params.sandbox.containerWorkdir;
|
|
15885
15885
|
return {
|
|
@@ -17129,13 +17129,13 @@ async function validateScriptFileForShellBleed(params) {
|
|
|
17129
17129
|
cwd: params.workdir,
|
|
17130
17130
|
root: params.workdir
|
|
17131
17131
|
});
|
|
17132
|
-
stat = await
|
|
17132
|
+
stat = await fsPromises.stat(absPath);
|
|
17133
17133
|
} catch {
|
|
17134
17134
|
return;
|
|
17135
17135
|
}
|
|
17136
17136
|
if (!stat.isFile()) return;
|
|
17137
17137
|
if (stat.size > 512 * 1024) return;
|
|
17138
|
-
const content = await
|
|
17138
|
+
const content = await fsPromises.readFile(absPath, "utf-8");
|
|
17139
17139
|
const first = /\$[A-Z_][A-Z0-9_]{1,}/g.exec(content);
|
|
17140
17140
|
if (first) {
|
|
17141
17141
|
const idx = first.index;
|
|
@@ -28057,7 +28057,7 @@ async function createModelSelectionState(params) {
|
|
|
28057
28057
|
}
|
|
28058
28058
|
}
|
|
28059
28059
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
28060
|
-
const { ensureAuthProfileStore } = await import("./plugins-
|
|
28060
|
+
const { ensureAuthProfileStore } = await import("./plugins-jkI2QMUK.js").then((n) => n.Zi);
|
|
28061
28061
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
28062
28062
|
const providerKey = normalizeProviderId$1(provider);
|
|
28063
28063
|
if (!profile || normalizeProviderId$1(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -31589,7 +31589,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
31589
31589
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${resolved}`);
|
|
31590
31590
|
throw new Error("jsonlPath outside allowed roots");
|
|
31591
31591
|
}
|
|
31592
|
-
const canonical = await
|
|
31592
|
+
const canonical = await fsPromises.realpath(resolved).catch(() => resolved);
|
|
31593
31593
|
if (!isInboundPathAllowed({
|
|
31594
31594
|
filePath: canonical,
|
|
31595
31595
|
roots
|
|
@@ -31597,7 +31597,7 @@ async function readJsonlFromPath(jsonlPath) {
|
|
|
31597
31597
|
if (shouldLogVerbose()) logVerbose(`Blocked canvas jsonlPath outside allowed roots: ${canonical}`);
|
|
31598
31598
|
throw new Error("jsonlPath outside allowed roots");
|
|
31599
31599
|
}
|
|
31600
|
-
return await
|
|
31600
|
+
return await fsPromises.readFile(canonical, "utf8");
|
|
31601
31601
|
}
|
|
31602
31602
|
const CanvasToolSchema = Type.Object({
|
|
31603
31603
|
action: stringEnum(CANVAS_ACTIONS),
|
|
@@ -32448,27 +32448,27 @@ function resolveRestartSentinelPath(env = process.env) {
|
|
|
32448
32448
|
}
|
|
32449
32449
|
async function writeRestartSentinel(payload, env = process.env) {
|
|
32450
32450
|
const filePath = resolveRestartSentinelPath(env);
|
|
32451
|
-
await
|
|
32451
|
+
await fsPromises.mkdir(path.dirname(filePath), { recursive: true });
|
|
32452
32452
|
const data = {
|
|
32453
32453
|
version: 1,
|
|
32454
32454
|
payload
|
|
32455
32455
|
};
|
|
32456
|
-
await
|
|
32456
|
+
await fsPromises.writeFile(filePath, `${JSON.stringify(data, null, 2)}\n`, "utf-8");
|
|
32457
32457
|
return filePath;
|
|
32458
32458
|
}
|
|
32459
32459
|
async function readRestartSentinel(env = process.env) {
|
|
32460
32460
|
const filePath = resolveRestartSentinelPath(env);
|
|
32461
32461
|
try {
|
|
32462
|
-
const raw = await
|
|
32462
|
+
const raw = await fsPromises.readFile(filePath, "utf-8");
|
|
32463
32463
|
let parsed;
|
|
32464
32464
|
try {
|
|
32465
32465
|
parsed = JSON.parse(raw);
|
|
32466
32466
|
} catch {
|
|
32467
|
-
await
|
|
32467
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
32468
32468
|
return null;
|
|
32469
32469
|
}
|
|
32470
32470
|
if (!parsed || parsed.version !== 1 || !parsed.payload) {
|
|
32471
|
-
await
|
|
32471
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
32472
32472
|
return null;
|
|
32473
32473
|
}
|
|
32474
32474
|
return parsed;
|
|
@@ -32480,7 +32480,7 @@ async function consumeRestartSentinel(env = process.env) {
|
|
|
32480
32480
|
const filePath = resolveRestartSentinelPath(env);
|
|
32481
32481
|
const parsed = await readRestartSentinel(env);
|
|
32482
32482
|
if (!parsed) return null;
|
|
32483
|
-
await
|
|
32483
|
+
await fsPromises.unlink(filePath).catch(() => {});
|
|
32484
32484
|
return parsed;
|
|
32485
32485
|
}
|
|
32486
32486
|
function formatRestartSentinelMessage(payload) {
|
|
@@ -43054,18 +43054,18 @@ function appendImagePathsToPrompt(prompt, paths) {
|
|
|
43054
43054
|
return `${trimmed}${trimmed ? "\n\n" : ""}${paths.join("\n")}`;
|
|
43055
43055
|
}
|
|
43056
43056
|
async function writeCliImages(images) {
|
|
43057
|
-
const tempDir = await
|
|
43057
|
+
const tempDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-cli-images-"));
|
|
43058
43058
|
const paths = [];
|
|
43059
43059
|
for (let i = 0; i < images.length; i += 1) {
|
|
43060
43060
|
const image = images[i];
|
|
43061
43061
|
const ext = resolveImageExtension(image.mimeType);
|
|
43062
43062
|
const filePath = path.join(tempDir, `image-${i + 1}.${ext}`);
|
|
43063
43063
|
const buffer = Buffer.from(image.data, "base64");
|
|
43064
|
-
await
|
|
43064
|
+
await fsPromises.writeFile(filePath, buffer, { mode: 384 });
|
|
43065
43065
|
paths.push(filePath);
|
|
43066
43066
|
}
|
|
43067
43067
|
const cleanup = async () => {
|
|
43068
|
-
await
|
|
43068
|
+
await fsPromises.rm(tempDir, {
|
|
43069
43069
|
recursive: true,
|
|
43070
43070
|
force: true
|
|
43071
43071
|
});
|
|
@@ -46625,7 +46625,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
46625
46625
|
return;
|
|
46626
46626
|
}
|
|
46627
46627
|
try {
|
|
46628
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
46628
|
+
const { deliverOutboundPayloads } = await import("./deliver-BPWNdSsP.js").then((n) => n.n);
|
|
46629
46629
|
const outboundSession = buildOutboundSessionContext({
|
|
46630
46630
|
cfg: params.cfg,
|
|
46631
46631
|
sessionKey: params.sessionKey
|
|
@@ -47574,7 +47574,7 @@ async function stageSandboxMedia(params) {
|
|
|
47574
47574
|
const remoteMediaCacheDir = ctx.MediaRemoteHost ? path.join(workspaceDir, ".openclaw", "media", "remote-cache", sessionKey) : null;
|
|
47575
47575
|
const effectiveWorkspaceDir = sandbox?.workspaceDir ?? remoteMediaCacheDir;
|
|
47576
47576
|
if (!effectiveWorkspaceDir) return;
|
|
47577
|
-
await
|
|
47577
|
+
await fsPromises.mkdir(effectiveWorkspaceDir, { recursive: true });
|
|
47578
47578
|
const remoteAttachmentRoots = resolveIMessageRemoteAttachmentRoots({
|
|
47579
47579
|
cfg,
|
|
47580
47580
|
accountId: ctx.AccountId
|
|
@@ -47633,8 +47633,8 @@ async function stageLocalFileIntoRoot(params) {
|
|
|
47633
47633
|
}
|
|
47634
47634
|
async function stageRemoteFileIntoRoot(params) {
|
|
47635
47635
|
const tmpRoot = resolvePreferredOpenClawTmpDir();
|
|
47636
|
-
await
|
|
47637
|
-
const tmpDir = await
|
|
47636
|
+
await fsPromises.mkdir(tmpRoot, { recursive: true });
|
|
47637
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(tmpRoot, "stage-sandbox-media-"));
|
|
47638
47638
|
const tmpPath = path.join(tmpDir, "download");
|
|
47639
47639
|
try {
|
|
47640
47640
|
await scpFile(params.remoteHost, params.remotePath, tmpPath);
|
|
@@ -47645,7 +47645,7 @@ async function stageRemoteFileIntoRoot(params) {
|
|
|
47645
47645
|
maxBytes: params.maxBytes
|
|
47646
47646
|
});
|
|
47647
47647
|
} finally {
|
|
47648
|
-
await
|
|
47648
|
+
await fsPromises.rm(tmpDir, {
|
|
47649
47649
|
recursive: true,
|
|
47650
47650
|
force: true
|
|
47651
47651
|
}).catch(() => {});
|
|
@@ -53479,7 +53479,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
53479
53479
|
let transcript;
|
|
53480
53480
|
let carry;
|
|
53481
53481
|
if (needsPreflightTranscription) try {
|
|
53482
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
53482
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DcoXRAvR.js");
|
|
53483
53483
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
53484
53484
|
if (uploadable.length > 0) {
|
|
53485
53485
|
const preflight = await transcribeFirstAudio({
|
|
@@ -58201,19 +58201,19 @@ function createDefaultDeps() {
|
|
|
58201
58201
|
};
|
|
58202
58202
|
}),
|
|
58203
58203
|
sendMessageDiscord: async (...args) => {
|
|
58204
|
-
const { sendMessageDiscord } = await import("./send-
|
|
58204
|
+
const { sendMessageDiscord } = await import("./send-D1F9bQCi.js").then((n) => n.t);
|
|
58205
58205
|
return await sendMessageDiscord(...args);
|
|
58206
58206
|
},
|
|
58207
58207
|
sendMessageSlack: async (...args) => {
|
|
58208
|
-
const { sendMessageSlack } = await import("./send-
|
|
58208
|
+
const { sendMessageSlack } = await import("./send-THRoEbTj.js").then((n) => n.n);
|
|
58209
58209
|
return await sendMessageSlack(...args);
|
|
58210
58210
|
},
|
|
58211
58211
|
sendMessageSignal: async (...args) => {
|
|
58212
|
-
const { sendMessageSignal } = await import("./send-
|
|
58212
|
+
const { sendMessageSignal } = await import("./send-C8YuqL0X.js").then((n) => n.i);
|
|
58213
58213
|
return await sendMessageSignal(...args);
|
|
58214
58214
|
},
|
|
58215
58215
|
sendMessageIMessage: async (...args) => {
|
|
58216
|
-
const { sendMessageIMessage } = await import("./send-
|
|
58216
|
+
const { sendMessageIMessage } = await import("./send-hay_ikCy.js").then((n) => n.n);
|
|
58217
58217
|
return await sendMessageIMessage(...args);
|
|
58218
58218
|
}
|
|
58219
58219
|
};
|
|
@@ -59468,10 +59468,10 @@ function estimateDurationSeconds(pcm) {
|
|
|
59468
59468
|
return pcm.length / (bytesPerSample * SAMPLE_RATE);
|
|
59469
59469
|
}
|
|
59470
59470
|
async function writeWavFile(pcm) {
|
|
59471
|
-
const tempDir = await
|
|
59471
|
+
const tempDir = await fsPromises.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "discord-voice-"));
|
|
59472
59472
|
const filePath = path.join(tempDir, `segment-${randomUUID()}.wav`);
|
|
59473
59473
|
const wav = buildWavBuffer(pcm);
|
|
59474
|
-
await
|
|
59474
|
+
await fsPromises.writeFile(filePath, wav);
|
|
59475
59475
|
scheduleTempCleanup(tempDir);
|
|
59476
59476
|
return {
|
|
59477
59477
|
path: filePath,
|
|
@@ -59480,7 +59480,7 @@ async function writeWavFile(pcm) {
|
|
|
59480
59480
|
}
|
|
59481
59481
|
function scheduleTempCleanup(tempDir, delayMs = 1800 * 1e3) {
|
|
59482
59482
|
setTimeout(() => {
|
|
59483
|
-
|
|
59483
|
+
fsPromises.rm(tempDir, {
|
|
59484
59484
|
recursive: true,
|
|
59485
59485
|
force: true
|
|
59486
59486
|
}).catch((err) => {
|
|
@@ -63900,7 +63900,7 @@ function normalizeAllowList$1(list) {
|
|
|
63900
63900
|
async function detectRemoteHostFromCliPath(cliPath) {
|
|
63901
63901
|
try {
|
|
63902
63902
|
const expanded = cliPath.startsWith("~") ? cliPath.replace(/^~/, process.env.HOME ?? "") : cliPath;
|
|
63903
|
-
const content = await
|
|
63903
|
+
const content = await fsPromises.readFile(expanded, "utf8");
|
|
63904
63904
|
const userHostMatch = content.match(/\bssh\b[^\n]*?\s+([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+)/);
|
|
63905
63905
|
if (userHostMatch) return userHostMatch[1];
|
|
63906
63906
|
return content.match(/\bssh\b[^\n]*?\s+([a-zA-Z][a-zA-Z0-9._-]*)\s+\S*\bimsg\b/)?.[1];
|
|
@@ -70712,7 +70712,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
70712
70712
|
}
|
|
70713
70713
|
let commandsRegistry;
|
|
70714
70714
|
async function getCommandsRegistry() {
|
|
70715
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
70715
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-uKHucCpf.js").then((n) => n.n);
|
|
70716
70716
|
return commandsRegistry;
|
|
70717
70717
|
}
|
|
70718
70718
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -71042,14 +71042,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71042
71042
|
const channelName = channelInfo?.name;
|
|
71043
71043
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
71044
71044
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
71045
|
-
import("./resolve-route-
|
|
71045
|
+
import("./resolve-route-ChrD30tC.js").then((n) => n.r),
|
|
71046
71046
|
import("./inbound-context-CGDEkGt7.js").then((n) => n.n),
|
|
71047
71047
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
71048
71048
|
]);
|
|
71049
71049
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
71050
71050
|
import("./conversation-label-1Bu22XX3.js").then((n) => n.t),
|
|
71051
|
-
import("./reply-prefix-
|
|
71052
|
-
import("./session-meta-
|
|
71051
|
+
import("./reply-prefix-CJ_JdsYa.js").then((n) => n.n),
|
|
71052
|
+
import("./session-meta-DaUsOxk7.js").then((n) => n.n)
|
|
71053
71053
|
]);
|
|
71054
71054
|
const route = resolveAgentRoute({
|
|
71055
71055
|
cfg,
|
|
@@ -71114,9 +71114,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71114
71114
|
});
|
|
71115
71115
|
const deliverSlashPayloads = async (replies) => {
|
|
71116
71116
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
71117
|
-
import("./replies-
|
|
71118
|
-
import("./chunk-
|
|
71119
|
-
import("./markdown-tables-
|
|
71117
|
+
import("./replies-v8JTcIK3.js").then((n) => n.r),
|
|
71118
|
+
import("./chunk-CIpxqo8a.js").then((n) => n.s),
|
|
71119
|
+
import("./markdown-tables-BmOshwHx.js").then((n) => n.t)
|
|
71120
71120
|
]);
|
|
71121
71121
|
await deliverSlackSlashReplies({
|
|
71122
71122
|
replies,
|
|
@@ -71170,7 +71170,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
71170
71170
|
let nativeCommands = [];
|
|
71171
71171
|
if (nativeEnabled) {
|
|
71172
71172
|
reg = await getCommandsRegistry();
|
|
71173
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
71173
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BkpzU1Pe.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
71174
71174
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
71175
71175
|
skillCommands,
|
|
71176
71176
|
provider: "slack"
|
|
@@ -72145,7 +72145,7 @@ function createPluginRuntime(options = {}) {
|
|
|
72145
72145
|
workStates: readTaskWorkStates
|
|
72146
72146
|
},
|
|
72147
72147
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
72148
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
72148
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-D5nQiSUv.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
72149
72149
|
};
|
|
72150
72150
|
Object.defineProperty(runtime, "analysis", {
|
|
72151
72151
|
enumerable: true,
|
|
@@ -73068,7 +73068,7 @@ function resolvePluginWebSearchProviders(params) {
|
|
|
73068
73068
|
//#endregion
|
|
73069
73069
|
//#region src/agents/apply-patch-update.ts
|
|
73070
73070
|
async function defaultReadFile(filePath) {
|
|
73071
|
-
return
|
|
73071
|
+
return fsPromises.readFile(filePath, "utf8");
|
|
73072
73072
|
}
|
|
73073
73073
|
async function applyUpdateHunk(filePath, chunks, options) {
|
|
73074
73074
|
const originalLines = (await (options?.readFile ?? defaultReadFile)(filePath).catch((err) => {
|
|
@@ -73389,7 +73389,7 @@ function resolvePatchFileOps(options) {
|
|
|
73389
73389
|
const workspaceOnly = options.workspaceOnly !== false;
|
|
73390
73390
|
return {
|
|
73391
73391
|
readFile: async (filePath) => {
|
|
73392
|
-
if (!workspaceOnly) return await
|
|
73392
|
+
if (!workspaceOnly) return await fsPromises.readFile(filePath, "utf8");
|
|
73393
73393
|
const opened = await openBoundaryFile({
|
|
73394
73394
|
absolutePath: filePath,
|
|
73395
73395
|
rootPath: options.cwd,
|
|
@@ -73404,7 +73404,7 @@ function resolvePatchFileOps(options) {
|
|
|
73404
73404
|
},
|
|
73405
73405
|
writeFile: async (filePath, content) => {
|
|
73406
73406
|
if (!workspaceOnly) {
|
|
73407
|
-
await
|
|
73407
|
+
await fsPromises.writeFile(filePath, content, "utf8");
|
|
73408
73408
|
return;
|
|
73409
73409
|
}
|
|
73410
73410
|
const relative = toRelativeSandboxPath(options.cwd, filePath);
|
|
@@ -73415,8 +73415,8 @@ function resolvePatchFileOps(options) {
|
|
|
73415
73415
|
encoding: "utf8"
|
|
73416
73416
|
});
|
|
73417
73417
|
},
|
|
73418
|
-
remove: (filePath) =>
|
|
73419
|
-
mkdirp: (dir) =>
|
|
73418
|
+
remove: (filePath) => fsPromises.rm(filePath),
|
|
73419
|
+
mkdirp: (dir) => fsPromises.mkdir(dir, { recursive: true }).then(() => {})
|
|
73420
73420
|
};
|
|
73421
73421
|
}
|
|
73422
73422
|
async function ensureDir(filePath, ops) {
|
|
@@ -73695,7 +73695,7 @@ async function recordLoopOutcome(args) {
|
|
|
73695
73695
|
if (!args.ctx?.sessionKey) return;
|
|
73696
73696
|
try {
|
|
73697
73697
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BRKrDBj3.js").then((n) => n.n);
|
|
73698
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
73698
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-FPHHn6dc.js");
|
|
73699
73699
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
73700
73700
|
sessionKey: args.ctx.sessionKey,
|
|
73701
73701
|
sessionId: args.ctx?.agentId
|
|
@@ -73722,8 +73722,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
73722
73722
|
const params = args.params;
|
|
73723
73723
|
if (args.ctx?.sessionKey) {
|
|
73724
73724
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BRKrDBj3.js").then((n) => n.n);
|
|
73725
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
73726
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
73725
|
+
const { logToolLoopAction } = await import("./diagnostic-C0AOXO65.js").then((n) => n.r);
|
|
73726
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-FPHHn6dc.js");
|
|
73727
73727
|
const sessionState = getDiagnosticSessionState({
|
|
73728
73728
|
sessionKey: args.ctx.sessionKey,
|
|
73729
73729
|
sessionId: args.ctx?.agentId
|
|
@@ -73941,7 +73941,7 @@ function wrapHostEditToolWithPostWriteRecovery(base, root) {
|
|
|
73941
73941
|
if (!pathParam || !newText) throw err;
|
|
73942
73942
|
try {
|
|
73943
73943
|
const absolutePath = resolveHostEditPath(root, pathParam);
|
|
73944
|
-
const content = await
|
|
73944
|
+
const content = await fsPromises.readFile(absolutePath, "utf-8");
|
|
73945
73945
|
const hasNew = content.includes(newText);
|
|
73946
73946
|
const stillHasOld = oldText !== void 0 && oldText.length > 0 && content.includes(oldText);
|
|
73947
73947
|
if (hasNew && !stillHasOld) return {
|
|
@@ -74412,14 +74412,14 @@ function createSandboxEditOperations(params) {
|
|
|
74412
74412
|
}
|
|
74413
74413
|
async function writeHostFile(absolutePath, content) {
|
|
74414
74414
|
const resolved = path.resolve(absolutePath);
|
|
74415
|
-
await
|
|
74416
|
-
await
|
|
74415
|
+
await fsPromises.mkdir(path.dirname(resolved), { recursive: true });
|
|
74416
|
+
await fsPromises.writeFile(resolved, content, "utf-8");
|
|
74417
74417
|
}
|
|
74418
74418
|
function createHostWriteOperations(root, options) {
|
|
74419
74419
|
if (!(options?.workspaceOnly ?? false)) return {
|
|
74420
74420
|
mkdir: async (dir) => {
|
|
74421
74421
|
const resolved = path.resolve(dir);
|
|
74422
|
-
await
|
|
74422
|
+
await fsPromises.mkdir(resolved, { recursive: true });
|
|
74423
74423
|
},
|
|
74424
74424
|
writeFile: writeHostFile
|
|
74425
74425
|
};
|
|
@@ -74432,7 +74432,7 @@ function createHostWriteOperations(root, options) {
|
|
|
74432
74432
|
cwd: root,
|
|
74433
74433
|
root
|
|
74434
74434
|
});
|
|
74435
|
-
await
|
|
74435
|
+
await fsPromises.mkdir(resolved, { recursive: true });
|
|
74436
74436
|
},
|
|
74437
74437
|
writeFile: async (absolutePath, content) => {
|
|
74438
74438
|
await writeFileWithinRoot({
|
|
@@ -74448,12 +74448,12 @@ function createHostEditOperations(root, options) {
|
|
|
74448
74448
|
if (!(options?.workspaceOnly ?? false)) return {
|
|
74449
74449
|
readFile: async (absolutePath) => {
|
|
74450
74450
|
const resolved = path.resolve(absolutePath);
|
|
74451
|
-
return await
|
|
74451
|
+
return await fsPromises.readFile(resolved);
|
|
74452
74452
|
},
|
|
74453
74453
|
writeFile: writeHostFile,
|
|
74454
74454
|
access: async (absolutePath) => {
|
|
74455
74455
|
const resolved = path.resolve(absolutePath);
|
|
74456
|
-
await
|
|
74456
|
+
await fsPromises.access(resolved);
|
|
74457
74457
|
}
|
|
74458
74458
|
};
|
|
74459
74459
|
return {
|
|
@@ -77203,7 +77203,7 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
77203
77203
|
} catch (err) {
|
|
77204
77204
|
return fail(describeUnknownError(err));
|
|
77205
77205
|
}
|
|
77206
|
-
await
|
|
77206
|
+
await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
|
|
77207
77207
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
77208
77208
|
const sandbox = await resolveSandboxContext({
|
|
77209
77209
|
config: params.config,
|
|
@@ -77212,7 +77212,7 @@ async function compactEmbeddedPiSessionDirect(params) {
|
|
|
77212
77212
|
workspaceLane: params.workspaceLane
|
|
77213
77213
|
});
|
|
77214
77214
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
77215
|
-
await
|
|
77215
|
+
await fsPromises.mkdir(effectiveWorkspace, { recursive: true });
|
|
77216
77216
|
let restoreSkillEnv;
|
|
77217
77217
|
const releaseWorkspaceCwd = acquireWorkspaceCwd(effectiveWorkspace);
|
|
77218
77218
|
try {
|
|
@@ -83672,7 +83672,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
83672
83672
|
let embeddedAttemptBegun = false;
|
|
83673
83673
|
const runAbortController = new AbortController();
|
|
83674
83674
|
log$31.debug(`embedded run start: runId=${params.runId} sessionId=${params.sessionId} provider=${params.provider} model=${params.modelId} thinking=${params.thinkLevel} messageChannel=${params.messageChannel ?? params.messageProvider ?? "unknown"}`);
|
|
83675
|
-
await
|
|
83675
|
+
await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
|
|
83676
83676
|
const sandboxSessionKey = params.sessionKey?.trim() || params.sessionId;
|
|
83677
83677
|
const toolSessionKey = params.toolSessionKey?.trim() || sandboxSessionKey;
|
|
83678
83678
|
const sandbox = params.skipSandbox ? null : await resolveSandboxContext({
|
|
@@ -83682,7 +83682,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
83682
83682
|
workspaceLane: params.workspaceLane
|
|
83683
83683
|
});
|
|
83684
83684
|
const effectiveWorkspace = sandbox?.enabled ? sandbox.workspaceAccess === "rw" ? resolvedWorkspace : sandbox.workspaceDir : resolvedWorkspace;
|
|
83685
|
-
await
|
|
83685
|
+
await fsPromises.mkdir(effectiveWorkspace, { recursive: true });
|
|
83686
83686
|
let restoreSkillEnv;
|
|
83687
83687
|
const releaseWorkspaceCwd = params.skipCwdChange ? void 0 : acquireWorkspaceCwd(effectiveWorkspace);
|
|
83688
83688
|
const rawToolResultStash = openRawToolResultStash(params.sessionId);
|
|
@@ -85573,7 +85573,7 @@ async function runEmbeddedPiAgent(params) {
|
|
|
85573
85573
|
const copilotAuthRetry = authRetryPending;
|
|
85574
85574
|
authRetryPending = false;
|
|
85575
85575
|
attemptedThinking.add(thinkLevel);
|
|
85576
|
-
await
|
|
85576
|
+
await fsPromises.mkdir(resolvedWorkspace, { recursive: true });
|
|
85577
85577
|
const prompt = provider === "anthropic" ? scrubAnthropicRefusalMagic(params.prompt) : params.prompt;
|
|
85578
85578
|
const attempt = await runEmbeddedAttempt({
|
|
85579
85579
|
sessionId: params.sessionId,
|
|
@@ -86800,7 +86800,7 @@ async function runModelGate(spec, ctx) {
|
|
|
86800
86800
|
const isolatedSessionId = randomNonce;
|
|
86801
86801
|
const isolatedRunId = randomNonce;
|
|
86802
86802
|
const tmpBaseDir = resolvePreferredOpenClawTmpDir();
|
|
86803
|
-
tmpDir = await
|
|
86803
|
+
tmpDir = await fsPromises.mkdtemp(path.join(tmpBaseDir, "wake-gate-"));
|
|
86804
86804
|
const workspaceDir = tmpDir;
|
|
86805
86805
|
const prompt = spec.prompt ?? DEFAULT_MODEL_PROMPT;
|
|
86806
86806
|
const timeoutMs = spec.timeoutMs ?? DEFAULT_MODEL_TIMEOUT_MS;
|
|
@@ -86858,7 +86858,7 @@ async function runModelGate(spec, ctx) {
|
|
|
86858
86858
|
log$1.warn("model gate error", { error: err instanceof Error ? err.message : String(err) });
|
|
86859
86859
|
return { wake: false };
|
|
86860
86860
|
} finally {
|
|
86861
|
-
if (tmpDir) await
|
|
86861
|
+
if (tmpDir) await fsPromises.rm(tmpDir, {
|
|
86862
86862
|
recursive: true,
|
|
86863
86863
|
force: true
|
|
86864
86864
|
}).catch(() => void 0);
|
|
@@ -87256,7 +87256,7 @@ async function resolveHeartbeatPreflight(params) {
|
|
|
87256
87256
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, params.agentId);
|
|
87257
87257
|
const heartbeatFilePath = path.join(workspaceDir, DEFAULT_HEARTBEAT_FILENAME);
|
|
87258
87258
|
try {
|
|
87259
|
-
if (isHeartbeatContentEffectivelyEmpty(await
|
|
87259
|
+
if (isHeartbeatContentEffectivelyEmpty(await fsPromises.readFile(heartbeatFilePath, "utf-8"))) return {
|
|
87260
87260
|
...basePreflight,
|
|
87261
87261
|
skipReason: "empty-heartbeat-file"
|
|
87262
87262
|
};
|