wednesdayai 0.5.1-dev.40 → 0.5.1-dev.41
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/{agent-scope-BudmZlc1.js → agent-scope-CXfIHPTl.js} +3 -3
- package/dist/{agent-scope-BJFJ0deZ.js → agent-scope-DUbhjnHb.js} +18 -18
- package/dist/{agent-turn-execute-CIlMMXNu.js → agent-turn-execute-8DU-jztX.js} +168 -168
- package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-BJqs23F_.js} +6 -6
- package/dist/{agent-turn-runner-SxjOzPCD.js → agent-turn-runner-DHc4lH66.js} +6 -6
- package/dist/{api-key-rotation-BWj1Itf-.js → api-key-rotation-B8RAiYZ_.js} +2 -2
- package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-PK29aYV9.js} +2 -2
- package/dist/{audio-preflight-CKxOmHZL.js → audio-preflight-Cio-wP6C.js} +22 -22
- package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-DaYu-alJ.js} +27 -27
- package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DW04B1B-.js} +26 -26
- package/dist/{audio-transcription-runner-DrIyj8a5.js → audio-transcription-runner-D_-_mf4m.js} +25 -25
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-CL44f6Ub.js → chat-content-DIjp-kW-.js} +36 -36
- package/dist/{chat-content-BgW4rG28.js → chat-content-tQ21BnhN.js} +24 -24
- package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-C9TkYQeh.js} +26 -26
- package/dist/{chrome-DNTX4D1k.js → chrome-DxiDoVpi.js} +13 -13
- package/dist/{chunk-BEuk6eCG.js → chunk-50mU2Avf.js} +3 -3
- package/dist/{chunk-BHQuzJtJ.js → chunk-DCCRrNDr.js} +3 -3
- package/dist/{command-queue-CyJUnsMn.js → command-queue-De2GI8TP.js} +1 -1
- package/dist/{command-queue-D_saM8MV.js → command-queue-yDJ733aN.js} +1 -1
- package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
- package/dist/{commands-registry-CNVoO37I.js → commands-registry-C3LKhQLY.js} +2 -2
- package/dist/{commands-registry-C-BDBl_b.js → commands-registry-CzTzqbi9.js} +2 -2
- package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
- package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
- package/dist/{config-CPcuaNsB.js → config-D5tWLhng.js} +26 -26
- package/dist/config.js +3 -3
- package/dist/{credentials-DnIj4HtR.js → credentials-BAWD9O8L.js} +1 -1
- package/dist/{credentials-2Kd9Ahu7.js → credentials-DdZjLLBj.js} +1 -1
- package/dist/{deliver-Ap_fWjsf.js → deliver-Cqo4_R0v.js} +14 -14
- package/dist/{deliver-DUUEMT-w.js → deliver-DeMElZFE.js} +29 -29
- package/dist/{diagnostic-YRGuisNG.js → diagnostic-BqFtliY1.js} +3 -3
- package/dist/{diagnostic--vAGyKdB.js → diagnostic-Nq6B3DZr.js} +3 -3
- package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
- package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-BH3DYZVB.js → errors-BWpk4nzX.js} +1 -1
- package/dist/{errors-DnOtx_vg.js → errors-D8k7j4A4.js} +1 -1
- package/dist/{fetch-ChtdmCYU.js → fetch-CHncmQms.js} +8 -8
- package/dist/{plugin-sdk/fetch-BxGJD3sH.js → fetch-CLvElPgY.js} +1 -1
- package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DG4n5iR6.js} +1 -1
- package/dist/{fetch-BJ9kDOw8.js → fetch-TzOudNO4.js} +7 -7
- package/dist/{fetch-guard-CRERUrFK.js → fetch-guard-BZlxmZcA.js} +2 -2
- package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-kz-XQlCx.js} +2 -2
- package/dist/{frontmatter-CqznVm7P.js → frontmatter-BDLxOane.js} +5 -5
- package/dist/{fs-safe-C3qJHn62.js → fs-safe-BH37Yhl8.js} +25 -25
- package/dist/{fs-safe-D96d8swI.js → fs-safe-BjrptUz1.js} +26 -26
- package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
- package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
- package/dist/{image-ops-BiBI-uAf.js → image-ops-BWgZn39_.js} +1 -1
- package/dist/{image-ops-BTgGxcIG.js → image-ops-C54shfkj.js} +11 -11
- package/dist/index.js +1 -1
- package/dist/{ir-IKFrcD2H.js → ir-Btci3Wse.js} +8 -8
- package/dist/{ir-Drj2D5Gr.js → ir-SWdqg35s.js} +5 -5
- package/dist/{json-files-DNv3G6Vg.js → json-files-C3L53Qrl.js} +7 -7
- package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-BKv-k5-D.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{manager-Cb_Lde6Q.js → manager-BPk0HUHz.js} +14 -14
- package/dist/{manager-C9H5Oflk.js → manager-Nw8a10KA.js} +18 -18
- package/dist/{markdown-tables-Crj_Y0Qx.js → markdown-tables-BJqhUgli.js} +2 -2
- package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-By4yQcHS.js} +2 -2
- package/dist/{model-selection-2-pBJbaC.js → model-selection-JA-6f5ss.js} +84 -84
- package/dist/{models-config-7yfOGOZY.js → models-config-Cbzv_acs.js} +2 -2
- package/dist/{models-config-DkEpc_7A.js → models-config-TH00YNHC.js} +7 -7
- package/dist/{nudge-BR_K1LnT.js → nudge-DVGzMWUi.js} +16 -16
- package/dist/{nudge-CcGwhSSL.js → nudge-Da1ePscI.js} +35 -35
- package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
- package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
- package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
- package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
- package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
- package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
- package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CZwlqfbE.js} +2 -2
- package/dist/{outbound-attachment-DFIzmC4e.js → outbound-attachment-DAUmCye_.js} +2 -2
- package/dist/{outbound-message-hooks-C9zh-qk0.js → outbound-message-hooks-Bqu2fu_R.js} +4 -4
- package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-CIrC0qAA.js} +5 -5
- package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
- package/dist/{path-alias-guards-B9AcbQl6.js → path-alias-guards-CGcezGX3.js} +3 -3
- package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-CgO2FpVx.js} +1 -1
- package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-W4tWwQw6.js} +254 -254
- package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-B6eeyw2H.js} +3 -3
- package/dist/{pi-embedded-utils-CQ3KPjMe.js → pi-embedded-utils-DF7kfQx2.js} +3 -3
- package/dist/{pi-model-discovery-C4WE3mR2.js → pi-model-discovery-VTZCKDCd.js} +1 -1
- package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-ym24jTFO.js} +7 -7
- package/dist/plugin-sdk/{agent-scope-Cy5bPtkD.js → agent-scope-BnbrZIzh.js} +1 -1
- package/dist/plugin-sdk/{agent-turn-execute-Cr_GYkDb.js → agent-turn-execute-Bj1_MqWi.js} +79 -79
- package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
- package/dist/plugin-sdk/{agent-turn-runner-CBR6kAt-.js → agent-turn-runner-zbex5xar.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
- package/dist/plugin-sdk/{api-key-rotation-BKcVxTy8.js → api-key-rotation-Dpyf5O6z.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
- package/dist/plugin-sdk/{audio-preflight-BVKGoA22.js → audio-preflight-DlNHpUpW.js} +23 -23
- package/dist/plugin-sdk/{audio-transcription-runner-Cvfignlt.js → audio-transcription-runner-BNWmQAJ3.js} +10 -10
- package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
- package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
- package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
- package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
- package/dist/plugin-sdk/{chrome-Djvom4Ij.js → chrome-DwoV5WFU.js} +6 -6
- package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
- package/dist/plugin-sdk/{chunk-Bh4ffo9K.js → chunk-CBTJQenE.js} +3 -3
- package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DxcAKezg.js → command-queue-hSL_BIod.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-CCiWhIrU.js → commands-registry-vhM5U22x.js} +2 -2
- package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
- package/dist/plugin-sdk/{credentials-BFdx8hCQ.js → credentials-oF38Hm9r.js} +1 -1
- package/dist/plugin-sdk/{deliver-Cf-VdZA7.js → deliver-CkQB8s_s.js} +14 -14
- package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
- package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-BpXW-Rhw.js → diagnostic-nUTVaBEe.js} +3 -3
- package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
- package/dist/{errors-DnS9ngr1.js → plugin-sdk/errors-BcCM5PTR.js} +1 -1
- package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
- package/dist/{fetch-DJPbv7La.js → plugin-sdk/fetch-BNHoA66Z.js} +1 -1
- package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
- package/dist/plugin-sdk/{fetch-B9WuvLLv.js → fetch-DV_cKD5m.js} +7 -7
- package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CJhIVznN.js → fetch-guard-Dpd7hJ0h.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-BQ8e0fFk.js → fs-safe-CnAPtYPG.js} +3 -3
- package/dist/plugin-sdk/{image-ops-CqatVl0e.js → image-ops-1WkFRYfC.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
- package/dist/plugin-sdk/{ir-C1cLQG0N.js → ir-BnNIPrDz.js} +5 -5
- package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
- package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
- package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
- package/dist/plugin-sdk/{manager-xGWNrW5i.js → manager-uIw894nB.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-DnMUQn1V.js → markdown-tables-D6Jl1s9s.js} +2 -2
- package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
- package/dist/plugin-sdk/{model-auth-pNsZhRxq.js → model-auth-Beiv1ujI.js} +7 -7
- package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
- package/dist/plugin-sdk/{models-config-d-LFEKVs.js → models-config-DrzOHxl5.js} +2 -2
- package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
- package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
- package/dist/plugin-sdk/{nudge-BvirROp6.js → nudge-czM3OOTT.js} +8 -8
- package/dist/plugin-sdk/{openai-compatible-video-BxPbkLMy.js → openai-compatible-video-Dy57wpNv.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DkIWM5yK.js → outbound-attachment-BoSR20RK.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
- package/dist/plugin-sdk/{outbound-message-hooks-DsAvrOUy.js → outbound-message-hooks-eUNVCJ0m.js} +4 -4
- package/dist/plugin-sdk/{path-alias-guards-CF0cvXKB.js → path-alias-guards-D1I2TIj4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-Ctve63Vr.js → pi-embedded-helpers-BRSkUtFR.js} +15 -15
- package/dist/plugin-sdk/{pi-embedded-utils-cecBA96E.js → pi-embedded-utils-DcsHTJ1m.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-CMOEq078.js → pi-model-discovery-HVno_0HD.js} +1 -1
- package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
- package/dist/plugin-sdk/provider-media-understanding.js +20 -20
- package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-Bl2Z9GYg.js → pw-ai-B1OqkFDb.js} +10 -10
- package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-DY9c1S_2.js → qmd-manager-Ip6QnhA7.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-C3rw3Qjd.js → qmd-scope-DMNjwnEQ.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-BhXha2GI.js → query-expansion-DV-ECmRb.js} +2 -2
- package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
- package/dist/plugin-sdk/{recorder-DccHbgBz.js → recorder-XQ8ZjG7j.js} +2 -2
- package/dist/plugin-sdk/{redact-CXDVzhSq.js → redact-C3T6IWmQ.js} +1 -1
- package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
- package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
- package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
- package/dist/{replies-DAavcLc9.js → plugin-sdk/replies-HCqRS_IF.js} +5 -5
- package/dist/plugin-sdk/{reply-directives-CXKYiQC1.js → reply-directives-Bn4oBJnk.js} +2 -2
- package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
- package/dist/{reply-prefix-C08CPcgE.js → plugin-sdk/reply-prefix-CCyygbH2.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-CsiTWvoi.js → resolve-route-Djrs4IWv.js} +3 -3
- package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
- package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
- package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
- package/dist/plugin-sdk/{runs-ByM3uA8B.js → runs-DN-UxJ44.js} +8 -8
- package/dist/plugin-sdk/{send-D0UAWWai.js → send-AstP-BDn.js} +8 -8
- package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
- package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
- package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
- package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
- package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
- package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
- package/dist/plugin-sdk/{send-Dgf6n9kX.js → send-D3hVSNy0.js} +6 -6
- package/dist/plugin-sdk/{send-qUR5w2lM.js → send-D5C72eu6.js} +7 -7
- package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
- package/dist/plugin-sdk/{send-BwuMsQ_p.js → send-DnJb7LiP.js} +8 -8
- package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
- package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
- package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
- package/dist/plugin-sdk/{session-meta-B_alDqcD.js → session-meta-pKpwf1nQ.js} +1 -1
- package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
- package/dist/plugin-sdk/{sessions-CkJfRajZ.js → sessions-BfBjVuaP.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-D5O0FXiW.js → skill-commands-Bk_STwKa.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
- package/dist/plugin-sdk/{skills-ByCpoIW7.js → skills-BArFQgKX.js} +6 -6
- package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
- package/dist/plugin-sdk/{ssrf-aLKAjCHj.js → ssrf-B2UnPTf3.js} +1 -1
- package/dist/plugin-sdk/{store-KaVQ5gHj.js → store-D8eITlWs.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
- package/dist/plugin-sdk/{subsystem-DGPv0F8I.js → subsystem-Btq0amiz.js} +4 -4
- package/dist/plugin-sdk/{tables-CONj5xDV.js → tables-Bj_zeTwr.js} +1 -1
- package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
- package/dist/plugin-sdk/testing.js +44 -44
- package/dist/plugin-sdk/{tokens-DUGBy1gM.js → tokens-mfZMXas7.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-Cl4-Vsd_.js → tool-loop-detection-CnFqoQKh.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
- package/dist/plugin-sdk/{user-run-recording--8aaZMPs.js → user-run-recording-DQBPNzif.js} +2 -2
- package/dist/plugin-sdk/{ws-C7BGsi5P.js → ws-DN6RmfyQ.js} +1 -1
- package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
- package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
- package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
- package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
- package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
- package/dist/{proxy-env-Bw8nAERJ.js → proxy-env-DKs0W5v1.js} +1 -1
- package/dist/{proxy-env-DdoaBr4H.js → proxy-env-DtzLr6mZ.js} +1 -1
- package/dist/{pw-ai-C6ZFN6As.js → pw-ai-CEk9Jaqd.js} +13 -13
- package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-KPNOiYzf.js} +14 -14
- package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-BFUaPUn-.js} +12 -12
- package/dist/{qmd-manager-BZSlXT1A.js → qmd-manager-BmiJlIMN.js} +23 -23
- package/dist/{qmd-scope-BOfwIKTy.js → qmd-scope-CUCeRWxr.js} +1 -1
- package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-DLLTbQwp.js} +1 -1
- package/dist/{query-expansion-gzgHhq68.js → query-expansion-CbOJZTFH.js} +13 -13
- package/dist/{query-expansion-BDAO12Ha.js → query-expansion-DLN1Vjgr.js} +11 -11
- package/dist/{recorder-ciGDu2oO.js → recorder-CndF3Klo.js} +2 -2
- package/dist/{recorder-Bp_onP2d.js → recorder-jnBdoV4s.js} +2 -2
- package/dist/{redact-Cp-v7ZNA.js → redact-B6sHOW29.js} +1 -1
- package/dist/{redact-D--orJnz.js → redact-C8xjZT-F.js} +1 -1
- package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
- package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
- package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
- package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
- package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
- package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
- package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
- package/dist/{plugin-sdk/replies-CyyZdjYH.js → replies-CoEfccKv.js} +5 -5
- package/dist/{replies-EZyamg1p.js → replies-lKn2Mrkb.js} +5 -5
- package/dist/{reply-directives-B_wfvntf.js → reply-directives-BclP76MA.js} +2 -2
- package/dist/{reply-directives-DMPiBIx3.js → reply-directives-Djre3xI1.js} +2 -2
- package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-BTUna5vE.js} +1 -1
- package/dist/{plugin-sdk/reply-prefix-DL3DiQEo.js → reply-prefix-DiyN1oc7.js} +1 -1
- package/dist/{resolve-route-GBqD8iPk.js → resolve-route-BmA3wi9D.js} +4 -4
- package/dist/{resolve-route-BP1OpZqn.js → resolve-route-ClI5pltd.js} +3 -3
- package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
- package/dist/{runs-EvR8ugp4.js → runs-DffCseDM.js} +9 -9
- package/dist/{runs-Bf_VVVBE.js → runs-efmPtrdw.js} +8 -8
- package/dist/{send-C0kXNcyD.js → send-B3c56zXa.js} +8 -8
- package/dist/{send-B5XVAKWg.js → send-BZrEBJKt.js} +7 -7
- package/dist/{send-CNMPyQyQ.js → send-CLnmNoGF.js} +7 -7
- package/dist/{send-BVfxa93K.js → send-ChgWfhHL.js} +8 -8
- package/dist/{send-12uxFQQR.js → send-Co-6tb50.js} +8 -8
- package/dist/{send-oHqfck_E.js → send-DkHxW8Pg.js} +6 -6
- package/dist/{send-BCEsHNBh.js → send-NLqVlKnJ.js} +6 -6
- package/dist/{send-BOm8dqOB.js → send-TVImOmCV.js} +13 -13
- package/dist/{session-meta-BCY_pfg7.js → session-meta-CE9Oi0tA.js} +1 -1
- package/dist/{session-meta-C_fW_AWG.js → session-meta-DDeeNkQv.js} +1 -1
- package/dist/{sessions-IqyeyMXp.js → sessions-BgTvNzNv.js} +4 -4
- package/dist/{sessions-DODCZ4JK.js → sessions-DkSPJ2k9.js} +5 -5
- package/dist/{skill-commands-DYJDIogS.js → skill-commands-BOG-33Ja.js} +5 -5
- package/dist/{skill-commands-5VtV6o_q.js → skill-commands-K9_D6a_V.js} +7 -7
- package/dist/{skills-jb4bSwT6.js → skills-Ci9t7Gax.js} +4 -4
- package/dist/{skills-B3DYwqF5.js → skills-CrNvxe8D.js} +21 -21
- package/dist/{store-CsI6l-8d.js → store-B6wZFu_5.js} +7 -7
- package/dist/{store-DnvoAjAE.js → store-DJPbhmBq.js} +7 -7
- package/dist/{subsystem-BTMrlJ-R.js → subsystem-B9soUuXQ.js} +7 -7
- package/dist/{subsystem-DoQFckDJ.js → subsystem-cFv2jJm-.js} +71 -71
- package/dist/{tables-CuZTAY1e.js → tables-BaYGY_Hk.js} +1 -1
- package/dist/{tables-BTIafSNy.js → tables-CYp9eWuv.js} +1 -1
- package/dist/{tokens-C8E7C2l5.js → tokens-DwuYAzrE.js} +1 -1
- package/dist/{tokens-qfLiLlNv.js → tokens-KbWGDYPC.js} +1 -1
- package/dist/{tool-loop-detection-CiexABx1.js → tool-loop-detection-B2G2F3vq.js} +1 -1
- package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-BwJFCGqI.js} +2 -2
- package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
- package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
- package/dist/{user-run-recording-D-7cPbdf.js → user-run-recording-B_-S5l8q.js} +2 -2
- package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DIqKTo0U.js} +2 -2
- package/dist/{workspace-DOy2M7yN.js → workspace-D5PKyvm-.js} +26 -26
- package/dist/{ws-D51UDdBH.js → ws-CSU92Z2r.js} +1 -1
- package/dist/{ws-D916JacH.js → ws-CmKUpGwq.js} +1 -1
- 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/github-copilot-token-DrVydgnY.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
- package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
- package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
- package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { lt as shortenHomeInString } from "./subsystem-
|
|
2
|
-
import { n as redactToolDetail } from "./redact-
|
|
3
|
-
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-
|
|
1
|
+
import { lt as shortenHomeInString } from "./subsystem-cFv2jJm-.js";
|
|
2
|
+
import { n as redactToolDetail } from "./redact-B6sHOW29.js";
|
|
3
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-DIjp-kW-.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as shortenHomeInString } from "./subsystem-
|
|
2
|
-
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-
|
|
3
|
-
import { n as redactToolDetail } from "./redact-
|
|
1
|
+
import { S as shortenHomeInString } from "./subsystem-B9soUuXQ.js";
|
|
2
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-tQ21BnhN.js";
|
|
3
|
+
import { n as redactToolDetail } from "./redact-C8xjZT-F.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ni as normalizeProviderId, Ta as ensureAuthProfileStore } from "./config-
|
|
2
|
+
import { Ni as normalizeProviderId, Ta as ensureAuthProfileStore } from "./config-D5tWLhng.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, da as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, da as ensureAuthProfileStore } from "./model-selection-JA-6f5ss.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as openBoundaryFile, at as pathExists, d as info, g as warn, h as shouldLogVerbose, j as isBlockedObjectKey, o as defaultRuntime, p as logVerboseConsole, st as resolveUserPath, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-
|
|
1
|
+
import { P as openBoundaryFile, at as pathExists, d as info, g as warn, h as shouldLogVerbose, j as isBlockedObjectKey, o as defaultRuntime, p as logVerboseConsole, st as resolveUserPath, t as createSubsystemLogger, u as danger, x as getLogger } from "./subsystem-Btq0amiz.js";
|
|
2
2
|
import { n as resolveProcessScopedMap } from "./plain-object-DaEZdY2a.js";
|
|
3
3
|
import { f as resolveRequiredHomeDir, l as resolveStateDir } from "./paths-ByOJz2Td.js";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { C as appendFileLog, F as openBoundaryFileSync, K as isDangerousHostEnvVarName, O as INCLUDE_KEY, P as openBoundaryFile, Q as clampInt, T as normalizeLogLevel, W as normalizeWindowsPathForComparison, Z as CONFIG_DIR, _ as colorize, a as createNonExitingRuntime, b as getChildLogger, c as registerActiveProgressLine, ct as safeParseJson, dt as sleep$3, f as logVerbose, ft as sliceUtf16Safe, g as warn, h as shouldLogVerbose, it as normalizeE164, j as isBlockedObjectKey, l as unregisterActiveProgressLine, lt as shortenHomeInString, m as setVerbose, mt as resolvePreferredOpenClawTmpDir, nt as formatTerminalLink, o as defaultRuntime, pt as truncateUtf16Safe, rt as isRecord$1, s as clearActiveProgressLine, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, u as danger, ut as shortenHomePath, v as isRich, y as theme } from "./subsystem-
|
|
2
|
+
import { C as appendFileLog, F as openBoundaryFileSync, K as isDangerousHostEnvVarName, O as INCLUDE_KEY, P as openBoundaryFile, Q as clampInt, T as normalizeLogLevel, W as normalizeWindowsPathForComparison, Z as CONFIG_DIR, _ as colorize, a as createNonExitingRuntime, b as getChildLogger, c as registerActiveProgressLine, ct as safeParseJson, dt as sleep$3, f as logVerbose, ft as sliceUtf16Safe, g as warn, h as shouldLogVerbose, it as normalizeE164, j as isBlockedObjectKey, l as unregisterActiveProgressLine, lt as shortenHomeInString, m as setVerbose, mt as resolvePreferredOpenClawTmpDir, nt as formatTerminalLink, o as defaultRuntime, pt as truncateUtf16Safe, rt as isRecord$1, s as clearActiveProgressLine, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, u as danger, ut as shortenHomePath, v as isRich, y as theme } from "./subsystem-Btq0amiz.js";
|
|
3
3
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-DaEZdY2a.js";
|
|
4
4
|
import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-ByOJz2Td.js";
|
|
5
|
-
import { $ as normalizeOptionalAccountId, A as DEFAULT_AGENT_ID, B as isKnownAgentMainSessionKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, G as resolveCanonicalIdentity, H as normalizeAgentId, I as classifySessionKeyShape, J as sanitizeAgentId, K as resolveConfiguredCanonicalIdentity, M as DEVICE_SENDER_PREFIX, O as spawnWithFallback, P as buildAgentMainSessionKey, Q as normalizeAccountId$1, S as filterBootstrapFilesForSession, U as normalizeMainKey, V as isValidAgentId, W as resolveAgentIdFromSessionKey, X as toAgentStoreSessionKey, Y as sessionKeyAgentMatches, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, _t as logWarn, at as isCronSessionKey, c as resolveDefaultAgentId, ct as parseAgentSessionKey, d as resolveSessionAgentId, dt as resolveAgentModelFallbackValues, f as resolveSessionAgentIds, ft as resolveAgentModelPrimaryValue, g as DEFAULT_HEARTBEAT_FILENAME, gt as logInfo, h as DEFAULT_BOOTSTRAP_FILENAME, ht as logError, i as resolveAgentDir, it as isAcpSessionKey, l as resolveEffectiveModelFallbacks, lt as resolveThreadParentSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, mt as logDebug, n as listAgentIds, nt as WAKE_GATE_SESSION_KEY_SEGMENT, o as resolveAgentSkillsFilter, pt as toAgentModelListLike, q as resolveThreadSessionKeys, r as resolveAgentConfig, rt as getSubagentDepth, s as resolveAgentWorkspaceDir, st as isSubagentSessionKey, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, ut as stripAgentSessionKeyPrefix, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-
|
|
6
|
-
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { c as normalizeHostname, i as isBlockedHostnameOrIp, t as SsrFBlockedError } from "./ssrf-
|
|
8
|
-
import { $ as listChatChannels, $i as retryAsync, $n as isDeliverableMessageChannel, $r as isDispatchWrapperExecutable, $t as parseSessionIndexRecordKey, Ai as isPidAlive, An as listEnabledSignalAccounts, Ar as RecoveryAdmissionError, At as getConversationReadQuery, B as BUNDLED_ENABLED_BY_DEFAULT, Bi as parseModelRef, Bn as listEnabledDiscordAccounts, Br as isTrustedSafeBinPath, Bt as prepareConfiguredSessionStorageRuntimeActivation, Ci as dedupeProfileIds, Cn as normalizeHyphenSlug, Cr as applyTargetToParams, Ct as isBuiltinTtsProvider, D as parseNonNegativeByteSize, Di as resolveAuthStorePathForDisplay, Dn as resolveSlackReplyToMode, Dr as discardBufferedPluginTaskPasses, Dt as triggerInternalHook, E as normalizeScpRemoteHost, Ei as ensureAuthProfileStore, En as resolveSlackAccount, Et as createInternalHookEvent, F as isSupportedLocalAvatarExtension, Fi as findNormalizedProviderValue, Fn as resolveWhatsAppAccount, Fr as getConfigValueAtPath, Ft as commitPreparedConfiguredSessionStorageRuntimeActivation, G as resolveMemorySlotDecision, Gi as resolveSubagentSpawnModelSelection, Gn as resolveChannelGroupToolsPolicy, Gr as buildEnforcedShellCommand, Gt as updateSessionStore, H as isBundledChannelEnabledByChannelConfig, Hi as resolveDefaultModelForAgent, Hn as normalizeDiscordToken, Hr as normalizeTrustedSafeBinDirs, Ht as recordSessionMetaFromInbound, I as buildChannelAccountBindings, Ii as isCliProvider, In as formatCliCommand, Ir as parseConfigPath, It as getConfiguredSessionStorageRuntime, J as safeStatSync, Jn as deliveryContextKey, Jr as DEFAULT_SAFE_BINS, Jt as DEFAULT_RESET_TRIGGERS, K as discoverOpenClawPlugins, Ki as resolveThinkingDefault, Kn as resolveAccountEntry, Kr as isWindowsPlatform, Kt as updateSessionStoreEntry, Li as modelKey, Ln as resolveCliName, Lr as setConfigValueAtPath, M as isAvatarDataUrl, Mi as buildAllowedModelSet, Mn as isWhatsAppGroupJid, Mr as resetConfigOverrides, Mt as requireSessionStorageRuntime, N as isAvatarHttpUrl, Ni as buildConfiguredAllowlistKeys, Nn as normalizeWhatsAppTarget, Nr as setConfigOverride, Nt as closeConfiguredSessionStorageRuntime, Oi as resolveOpenClawAgentDir, On as resolveSlackAppToken, Or as listBufferedPluginTaskPasses, Ot as StorageReadAccessError, P as isPathWithinRoot, Pi as buildModelAliasIndex, Pn as hasAnyWhatsAppAuth, Pr as unsetConfigOverride, Pt as closeReplacedConfiguredSessionStorageRuntime, Q as getChatChannelMeta, Qn as INTERNAL_MESSAGE_CHANNEL, Qr as extractShellWrapperInlineCommand, Qt as parseDurationMs, R as validateJsonSchemaValue, Ri as normalizeModelRef$2, Rn as resolveIMessageAccount, Rr as unsetConfigValueAtPath, Rt as loadSessionStore, S as isInboundPathAllowed, Si as resolveOwnerDisplaySetting, Sn as normalizeAtHashSlug, Sr as stringEnum, St as getSpeechProvider, T as resolveIMessageRemoteAttachmentRoots, Ti as markAuthProfileGood, Tn as normalizeStringEntriesLower, Tr as actionRequiresTarget, Tt as normalizeProviderId$1, U as normalizePluginsConfig, Ui as resolveModelRefFromString, Un as resolveChannelGroupPolicy, Ur as validateSafeBinArgv, Ut as refreshConfiguredSessionBindingEntry, V as applyTestPluginDefaults, Vi as resolveConfiguredModelRef, Vn as resolveDiscordAccount, Vr as listWritableExplicitTrustedSafeBinDirs, Vt as readSessionUpdatedAt, W as resolveEffectiveEnableState, Wi as resolveReasoningDefault, Wn as resolveChannelGroupRequireMention, Wr as analyzeShellCommand, Wt as updateLastRoute, Xn as normalizeDeliveryContext, Xr as resolveAllowlistCandidatePath, Xt as resolveFreshSessionTotalTokens, Y as readManifestNamespace, Yn as mergeDeliveryContext, Yr as matchAllowlist, Yt as mergeSessionEntry, Z as CHAT_CHANNEL_ORDER, Zn as normalizeSessionDeliveryFields, Zr as resolveCommandResolutionFromArgv, Zt as setSessionRuntimeModel, _ as readConfigFileSnapshot, _a as isTruthyEnvValue, _i as parseDotPath, _n as getChannelPlugin, _t as listPluginCommands, a as resolveEnvApiKey, aa as buildUsageWithNoCost, ai as normalizeSafeBinProfileFixtures, ar as resolveGatewayMessageChannel, at as getActivePluginRegistry, b as validateConfigObjectWithPlugins, ba as normalizeSecretInput, bi as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, bn as formatAllowlistMatchMeta, br as channelTargetsSchema, bt as BUILTIN_TTS_PROVIDER_IDS, c as resolveAuthProfileOrder, ca as normalizeResolvedSecretInputString, ci as isSafeExecutableValue, cn as resolveSessionTranscriptPath, cr as GATEWAY_CLIENT_MODES, ct as requireActivePluginRegistry, d as markAuthProfileFailure, da as DEFAULT_CONTEXT_TOKENS, di as resolveSlackNativeStreaming, dn as deriveSessionMetaPatch, dr as acquireSessionWriteLock, dt as clearRegisteredPluginApis, ea as OLLAMA_NATIVE_BASE_URL, ei as isShellWrapperExecutable, er as isGatewayMessageChannel, et as normalizeAnyChannelId, f as markAuthProfileUsed, fa as DEFAULT_MODEL, fi as resolveSlackStreamingMode, fn as resolveGroupSessionKey, fr as resolveSessionLockMaxHoldFromTimeout, ft as createPluginRegistry, g as loadConfig, ga as resolveShellEnvFallbackTimeoutMs, gi as isRecord$2, gn as normalizeSignalMessagingTarget, gt as executePluginCommand, ha as getShellPathFromLoginShell, hi as isNonEmptyString, hn as listChannelDocks, ht as clearPluginCommands, ia as buildStreamErrorAssistantMessage, ii as SAFE_BIN_PROFILES, in as SESSION_RUN_STORE_FILE_NAME, ir as normalizeMessageChannel, it as getActiveGatewayPluginRegistry, j as AVATAR_MAX_BYTES, ji as readProcessElapsedSeconds, jn as resolveSignalAccount, jr as getConfigOverrides, k as resolveExecPolicyPreset, ki as withFileLock$1, kn as resolveSlackBotToken, kr as replaceBufferedPluginTaskPasses, kt as createConversationReadQuery, l as getSoonestCooldownExpiry, la as resolveSecretInputRef, li as mapStreamingModeToSlackLegacyDraftStreamMode, lr as GATEWAY_CLIENT_NAMES, lt as setActivePluginRegistry, m as resolveApiKeyForProfile, ma as resolveAuthProfileDisplayLabel, mi as describeUnknownError$1, mn as getChannelDock, mr as readTaskWorkStates, mt as buildPluginHealthReport, n as getCustomProviderApiKey, na as buildAssistantMessage, ni as unwrapKnownShellMultiplexerInvocation, nr as isMarkdownCapableMessageChannel, nt as normalizeChatChannelId, o as resolveModelAuthMode, oa as coerceSecretRef, oi as resolveSafeBinProfiles, on as resolveSessionFilePath, or as resolveMessageChannel, ot as getActivePluginRegistryKey, p as resolveProfilesUnavailableReason, pa as DEFAULT_PROVIDER, pi as resolveSecretRefValues, pn as resolveParentSessionGroupId, pr as CtxProjectionCorruptionError, pt as normalizePluginHttpPath, q as isPathInside, qn as deliveryContextFromSession, qr as splitCommandChain, r as requireApiKey, ra as buildAssistantMessageWithZeroUsage, ri as splitShellArgs, rn as SAFE_SESSION_ID_RE, rr as listDeliverableMessageChannels, rt as resolveChannelConfigId, sa as hasConfiguredSecretInput, si as applyMergePatch, sn as resolveSessionFilePathOptions, sr as GATEWAY_CLIENT_IDS, t as getApiKeyForModel, ta as createOllamaStreamFn, ti as unwrapKnownDispatchWrapperInvocation, tr as isInternalMessageChannel, tt as normalizeChannelId$2, u as isProfileInCooldown, ua as splitTrailingAuthProfile, ui as resolveDiscordPreviewStreamMode, un as resolveStorePath, ur as normalizeAccountId$2, ut as addRegisteredPluginApi, v as readConfigFileSnapshotForWrite, va as parseBooleanValue$1, vi as secretRefKey, vn as listChannelPlugins, vt as matchPluginCommand, w as resolveIMessageAttachmentRoots, wi as listProfilesForProvider, wn as normalizeStringEntries, wr as actionHasTarget, wt as replaceSpeechProviders, xi as VERSION, xn as resolveAllowlistMatchByCandidates, xr as optionalStringEnum, xt as getRegisteredSpeechProviders, y as writeConfigFile, yi as runTasksWithConcurrency, yn as normalizeChannelId$1, yr as channelTargetSchema, yt as registerPluginCommand, z as loadPluginManifestRegistry, zi as normalizeProviderId, zn as createDiscordActionGate, zr as getTrustedSafeBinDirs, zt as loadSessionStoreFromDisk } from "./model-auth-
|
|
9
|
-
import { a as coerceImageModelConfig, c as minimaxUnderstandImage, i as coerceImageAssistantText, o as decodeDataUrl, s as resolveProviderVisionModelFromConfig } from "./openai-compatible-video-
|
|
5
|
+
import { $ as normalizeOptionalAccountId, A as DEFAULT_AGENT_ID, B as isKnownAgentMainSessionKey, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, G as resolveCanonicalIdentity, H as normalizeAgentId, I as classifySessionKeyShape, J as sanitizeAgentId, K as resolveConfiguredCanonicalIdentity, M as DEVICE_SENDER_PREFIX, O as spawnWithFallback, P as buildAgentMainSessionKey, Q as normalizeAccountId$1, S as filterBootstrapFilesForSession, U as normalizeMainKey, V as isValidAgentId, W as resolveAgentIdFromSessionKey, X as toAgentStoreSessionKey, Y as sessionKeyAgentMatches, Z as DEFAULT_ACCOUNT_ID, _ as DEFAULT_IDENTITY_FILENAME, _t as logWarn, at as isCronSessionKey, c as resolveDefaultAgentId, ct as parseAgentSessionKey, d as resolveSessionAgentId, dt as resolveAgentModelFallbackValues, f as resolveSessionAgentIds, ft as resolveAgentModelPrimaryValue, g as DEFAULT_HEARTBEAT_FILENAME, gt as logInfo, h as DEFAULT_BOOTSTRAP_FILENAME, ht as logError, i as resolveAgentDir, it as isAcpSessionKey, l as resolveEffectiveModelFallbacks, lt as resolveThreadParentSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, mt as logDebug, n as listAgentIds, nt as WAKE_GATE_SESSION_KEY_SEGMENT, o as resolveAgentSkillsFilter, pt as toAgentModelListLike, q as resolveThreadSessionKeys, r as resolveAgentConfig, rt as getSubagentDepth, s as resolveAgentWorkspaceDir, st as isSubagentSessionKey, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, ut as stripAgentSessionKeyPrefix, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-BnbrZIzh.js";
|
|
6
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dpd7hJ0h.js";
|
|
7
|
+
import { c as normalizeHostname, i as isBlockedHostnameOrIp, t as SsrFBlockedError } from "./ssrf-B2UnPTf3.js";
|
|
8
|
+
import { $ as listChatChannels, $i as retryAsync, $n as isDeliverableMessageChannel, $r as isDispatchWrapperExecutable, $t as parseSessionIndexRecordKey, Ai as isPidAlive, An as listEnabledSignalAccounts, Ar as RecoveryAdmissionError, At as getConversationReadQuery, B as BUNDLED_ENABLED_BY_DEFAULT, Bi as parseModelRef, Bn as listEnabledDiscordAccounts, Br as isTrustedSafeBinPath, Bt as prepareConfiguredSessionStorageRuntimeActivation, Ci as dedupeProfileIds, Cn as normalizeHyphenSlug, Cr as applyTargetToParams, Ct as isBuiltinTtsProvider, D as parseNonNegativeByteSize, Di as resolveAuthStorePathForDisplay, Dn as resolveSlackReplyToMode, Dr as discardBufferedPluginTaskPasses, Dt as triggerInternalHook, E as normalizeScpRemoteHost, Ei as ensureAuthProfileStore, En as resolveSlackAccount, Et as createInternalHookEvent, F as isSupportedLocalAvatarExtension, Fi as findNormalizedProviderValue, Fn as resolveWhatsAppAccount, Fr as getConfigValueAtPath, Ft as commitPreparedConfiguredSessionStorageRuntimeActivation, G as resolveMemorySlotDecision, Gi as resolveSubagentSpawnModelSelection, Gn as resolveChannelGroupToolsPolicy, Gr as buildEnforcedShellCommand, Gt as updateSessionStore, H as isBundledChannelEnabledByChannelConfig, Hi as resolveDefaultModelForAgent, Hn as normalizeDiscordToken, Hr as normalizeTrustedSafeBinDirs, Ht as recordSessionMetaFromInbound, I as buildChannelAccountBindings, Ii as isCliProvider, In as formatCliCommand, Ir as parseConfigPath, It as getConfiguredSessionStorageRuntime, J as safeStatSync, Jn as deliveryContextKey, Jr as DEFAULT_SAFE_BINS, Jt as DEFAULT_RESET_TRIGGERS, K as discoverOpenClawPlugins, Ki as resolveThinkingDefault, Kn as resolveAccountEntry, Kr as isWindowsPlatform, Kt as updateSessionStoreEntry, Li as modelKey, Ln as resolveCliName, Lr as setConfigValueAtPath, M as isAvatarDataUrl, Mi as buildAllowedModelSet, Mn as isWhatsAppGroupJid, Mr as resetConfigOverrides, Mt as requireSessionStorageRuntime, N as isAvatarHttpUrl, Ni as buildConfiguredAllowlistKeys, Nn as normalizeWhatsAppTarget, Nr as setConfigOverride, Nt as closeConfiguredSessionStorageRuntime, Oi as resolveOpenClawAgentDir, On as resolveSlackAppToken, Or as listBufferedPluginTaskPasses, Ot as StorageReadAccessError, P as isPathWithinRoot, Pi as buildModelAliasIndex, Pn as hasAnyWhatsAppAuth, Pr as unsetConfigOverride, Pt as closeReplacedConfiguredSessionStorageRuntime, Q as getChatChannelMeta, Qn as INTERNAL_MESSAGE_CHANNEL, Qr as extractShellWrapperInlineCommand, Qt as parseDurationMs, R as validateJsonSchemaValue, Ri as normalizeModelRef$2, Rn as resolveIMessageAccount, Rr as unsetConfigValueAtPath, Rt as loadSessionStore, S as isInboundPathAllowed, Si as resolveOwnerDisplaySetting, Sn as normalizeAtHashSlug, Sr as stringEnum, St as getSpeechProvider, T as resolveIMessageRemoteAttachmentRoots, Ti as markAuthProfileGood, Tn as normalizeStringEntriesLower, Tr as actionRequiresTarget, Tt as normalizeProviderId$1, U as normalizePluginsConfig, Ui as resolveModelRefFromString, Un as resolveChannelGroupPolicy, Ur as validateSafeBinArgv, Ut as refreshConfiguredSessionBindingEntry, V as applyTestPluginDefaults, Vi as resolveConfiguredModelRef, Vn as resolveDiscordAccount, Vr as listWritableExplicitTrustedSafeBinDirs, Vt as readSessionUpdatedAt, W as resolveEffectiveEnableState, Wi as resolveReasoningDefault, Wn as resolveChannelGroupRequireMention, Wr as analyzeShellCommand, Wt as updateLastRoute, Xn as normalizeDeliveryContext, Xr as resolveAllowlistCandidatePath, Xt as resolveFreshSessionTotalTokens, Y as readManifestNamespace, Yn as mergeDeliveryContext, Yr as matchAllowlist, Yt as mergeSessionEntry, Z as CHAT_CHANNEL_ORDER, Zn as normalizeSessionDeliveryFields, Zr as resolveCommandResolutionFromArgv, Zt as setSessionRuntimeModel, _ as readConfigFileSnapshot, _a as isTruthyEnvValue, _i as parseDotPath, _n as getChannelPlugin, _t as listPluginCommands, a as resolveEnvApiKey, aa as buildUsageWithNoCost, ai as normalizeSafeBinProfileFixtures, ar as resolveGatewayMessageChannel, at as getActivePluginRegistry, b as validateConfigObjectWithPlugins, ba as normalizeSecretInput, bi as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, bn as formatAllowlistMatchMeta, br as channelTargetsSchema, bt as BUILTIN_TTS_PROVIDER_IDS, c as resolveAuthProfileOrder, ca as normalizeResolvedSecretInputString, ci as isSafeExecutableValue, cn as resolveSessionTranscriptPath, cr as GATEWAY_CLIENT_MODES, ct as requireActivePluginRegistry, d as markAuthProfileFailure, da as DEFAULT_CONTEXT_TOKENS, di as resolveSlackNativeStreaming, dn as deriveSessionMetaPatch, dr as acquireSessionWriteLock, dt as clearRegisteredPluginApis, ea as OLLAMA_NATIVE_BASE_URL, ei as isShellWrapperExecutable, er as isGatewayMessageChannel, et as normalizeAnyChannelId, f as markAuthProfileUsed, fa as DEFAULT_MODEL, fi as resolveSlackStreamingMode, fn as resolveGroupSessionKey, fr as resolveSessionLockMaxHoldFromTimeout, ft as createPluginRegistry, g as loadConfig, ga as resolveShellEnvFallbackTimeoutMs, gi as isRecord$2, gn as normalizeSignalMessagingTarget, gt as executePluginCommand, ha as getShellPathFromLoginShell, hi as isNonEmptyString, hn as listChannelDocks, ht as clearPluginCommands, ia as buildStreamErrorAssistantMessage, ii as SAFE_BIN_PROFILES, in as SESSION_RUN_STORE_FILE_NAME, ir as normalizeMessageChannel, it as getActiveGatewayPluginRegistry, j as AVATAR_MAX_BYTES, ji as readProcessElapsedSeconds, jn as resolveSignalAccount, jr as getConfigOverrides, k as resolveExecPolicyPreset, ki as withFileLock$1, kn as resolveSlackBotToken, kr as replaceBufferedPluginTaskPasses, kt as createConversationReadQuery, l as getSoonestCooldownExpiry, la as resolveSecretInputRef, li as mapStreamingModeToSlackLegacyDraftStreamMode, lr as GATEWAY_CLIENT_NAMES, lt as setActivePluginRegistry, m as resolveApiKeyForProfile, ma as resolveAuthProfileDisplayLabel, mi as describeUnknownError$1, mn as getChannelDock, mr as readTaskWorkStates, mt as buildPluginHealthReport, n as getCustomProviderApiKey, na as buildAssistantMessage, ni as unwrapKnownShellMultiplexerInvocation, nr as isMarkdownCapableMessageChannel, nt as normalizeChatChannelId, o as resolveModelAuthMode, oa as coerceSecretRef, oi as resolveSafeBinProfiles, on as resolveSessionFilePath, or as resolveMessageChannel, ot as getActivePluginRegistryKey, p as resolveProfilesUnavailableReason, pa as DEFAULT_PROVIDER, pi as resolveSecretRefValues, pn as resolveParentSessionGroupId, pr as CtxProjectionCorruptionError, pt as normalizePluginHttpPath, q as isPathInside, qn as deliveryContextFromSession, qr as splitCommandChain, r as requireApiKey, ra as buildAssistantMessageWithZeroUsage, ri as splitShellArgs, rn as SAFE_SESSION_ID_RE, rr as listDeliverableMessageChannels, rt as resolveChannelConfigId, sa as hasConfiguredSecretInput, si as applyMergePatch, sn as resolveSessionFilePathOptions, sr as GATEWAY_CLIENT_IDS, t as getApiKeyForModel, ta as createOllamaStreamFn, ti as unwrapKnownDispatchWrapperInvocation, tr as isInternalMessageChannel, tt as normalizeChannelId$2, u as isProfileInCooldown, ua as splitTrailingAuthProfile, ui as resolveDiscordPreviewStreamMode, un as resolveStorePath, ur as normalizeAccountId$2, ut as addRegisteredPluginApi, v as readConfigFileSnapshotForWrite, va as parseBooleanValue$1, vi as secretRefKey, vn as listChannelPlugins, vt as matchPluginCommand, w as resolveIMessageAttachmentRoots, wi as listProfilesForProvider, wn as normalizeStringEntries, wr as actionHasTarget, wt as replaceSpeechProviders, xi as VERSION, xn as resolveAllowlistMatchByCandidates, xr as optionalStringEnum, xt as getRegisteredSpeechProviders, y as writeConfigFile, yi as runTasksWithConcurrency, yn as normalizeChannelId$1, yr as channelTargetSchema, yt as registerPluginCommand, z as loadPluginManifestRegistry, zi as normalizeProviderId, zn as createDiscordActionGate, zr as getTrustedSafeBinDirs, zt as loadSessionStoreFromDisk } from "./model-auth-Beiv1ujI.js";
|
|
9
|
+
import { a as coerceImageModelConfig, c as minimaxUnderstandImage, i as coerceImageAssistantText, o as decodeDataUrl, s as resolveProviderVisionModelFromConfig } from "./openai-compatible-video-Dy57wpNv.js";
|
|
10
10
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BqVZPfz0.js";
|
|
11
11
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-CrORLc0j.js";
|
|
12
|
-
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-
|
|
13
|
-
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-
|
|
14
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
15
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
16
|
-
import { $ as mergeAlsoAllowPolicy, A as isRateLimitAssistantError, B as resolveSandboxRuntimeStatus, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, G as getBridgeAuthForPort, H as registerBrowserRoutes, I as isAuthPermanentErrorMessage, J as resolveSandboxConfigForAgent, K as ensureBrowserControlAuth, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as ensureSandboxWorkspaceForSession, S as isAuthAssistantError, T as isCompactionFailureError, U as resolveBrowserConfig, V as createBrowserRouteContext, W as resolveProfile, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, at as compileGlobPatterns, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, ct as resolveBootstrapMaxChars, d as canonicalizeBase64, dt as extractTextFromChatContent, et as stripPluginOnlyAllowlist, f as estimateBase64DecodedBytes, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, it as listCoreToolIds, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, lt as resolveBootstrapTotalMaxChars, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as matchesAnyGlobPattern, p as downgradeOpenAIFunctionCallReasoningPairs, q as resolveBrowserControlAuth, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as buildBootstrapContextFiles, t as validateAnthropicTurns, tt as expandToolGroups, u as resolveImageSanitizationLimits, ut as sanitizeGoogleTurnOrdering, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveSandboxContext } from "./pi-embedded-helpers-
|
|
17
|
-
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
18
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
19
|
-
import { r as isLoopbackHost } from "./ws-
|
|
20
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
21
|
-
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-
|
|
22
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
23
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
24
|
-
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
25
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
26
|
-
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-
|
|
27
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
12
|
+
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-D5C72eu6.js";
|
|
13
|
+
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-AstP-BDn.js";
|
|
14
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DrzOHxl5.js";
|
|
15
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-HVno_0HD.js";
|
|
16
|
+
import { $ as mergeAlsoAllowPolicy, A as isRateLimitAssistantError, B as resolveSandboxRuntimeStatus, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, G as getBridgeAuthForPort, H as registerBrowserRoutes, I as isAuthPermanentErrorMessage, J as resolveSandboxConfigForAgent, K as ensureBrowserControlAuth, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, Q as expandPolicyWithPluginGroups, R as ensureSandboxWorkspaceForSession, S as isAuthAssistantError, T as isCompactionFailureError, U as resolveBrowserConfig, V as createBrowserRouteContext, W as resolveProfile, X as buildPluginToolGroups, Y as applyOwnerOnlyToolPolicy, Z as collectExplicitAllowlist, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, at as compileGlobPatterns, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, ct as resolveBootstrapMaxChars, d as canonicalizeBase64, dt as extractTextFromChatContent, et as stripPluginOnlyAllowlist, f as estimateBase64DecodedBytes, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, it as listCoreToolIds, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, lt as resolveBootstrapTotalMaxChars, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, nt as normalizeToolName, o as normalizeTextForComparison, ot as matchesAnyGlobPattern, p as downgradeOpenAIFunctionCallReasoningPairs, q as resolveBrowserControlAuth, r as pickFallbackThinkingLevel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as buildBootstrapContextFiles, t as validateAnthropicTurns, tt as expandToolGroups, u as resolveImageSanitizationLimits, ut as sanitizeGoogleTurnOrdering, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveSandboxContext } from "./pi-embedded-helpers-BRSkUtFR.js";
|
|
17
|
+
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-DcsHTJ1m.js";
|
|
18
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-DwoV5WFU.js";
|
|
19
|
+
import { r as isLoopbackHost } from "./ws-DN6RmfyQ.js";
|
|
20
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-oF38Hm9r.js";
|
|
21
|
+
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-BArFQgKX.js";
|
|
22
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-D1I2TIj4.js";
|
|
23
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-C3T6IWmQ.js";
|
|
24
|
+
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-BcCM5PTR.js";
|
|
25
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CnAPtYPG.js";
|
|
26
|
+
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-1WkFRYfC.js";
|
|
27
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-D8eITlWs.js";
|
|
28
28
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CIKAlvUL.js";
|
|
29
29
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BvP4jdcV.js";
|
|
30
30
|
import { r as writeJsonAtomic } from "./json-files-Dv1amfKB.js";
|
|
31
|
-
import { $ as buildEqualityProjection, A as eventOrder, At as makeZeroUsageSnapshot, B as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Bt as resolveAgentMainSessionKey, C as hasHookForPlugin, Ct as normalizeHttpWebhookUrl, D as resolveProviderPromptCacheKey, Dt as derivePromptTokens, E as buildPluginTurnIdentity, Et as parseAbsoluteTimeMs, F as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Ft as resolveChannelResetConfig, G as isToolResultMessage, H as estimateContextChars$1, Ht as resolveMainSessionKey, I as TOOL_RESULT_TEXT_WEIGHT, It as resolveSessionResetPolicy, J as createSessionStorageRuntimeFromConfig, K as parseInlineDirectives$1, L as truncateTextHeadTail, Lt as resolveSessionResetType, M as capToolResultContent, N as HARD_MAX_TOOL_RESULT_CHARS, Nt as resolveSessionKey, O as resolveProviderRuntimeIdentity, Ot as deriveSessionTotalTokens, P as sessionLikelyHasOversizedToolResults, Pt as evaluateSessionFreshness, R as truncateToolResultToChars, Rt as resolveThreadFlag, S as initializeGlobalHookRunner, St as inferLegacyName, T as buildPluginRuntimeIdentity, Tt as resolveDefaultCronStaggerMs, U as estimateMessageCharsCached, Ut as isPrimarySessionTranscriptFileName, V as createMessageCharEstimateCache, Vt as resolveExplicitAgentSessionKey, W as getToolResultText$1, Wt as isSessionArchiveArtifactName, X as validateCtxStorage, Y as resolveSessionStorageConfig, _t as formatZonedTimestamp, a as resolveMirroredTranscriptText, at as createCurrentUserPromptEnvelope, b as getGlobalHookRunner, bt as CREATE_CTX_STORAGE_OWNER_SQL, c as drainPendingPrimaryWrites, ct as buildInboundMetaSystemPrompt, d as repairToolUseResultPairing, dt as attachMessageIngress, et as deriveLegacyActorIdentity, f as sanitizeToolCallInputs, ft as getMessageIngress, g as sanitizeToolCallIdsForCloudCodeAssist, gt as formatMessageStamp, h as canonicalToolCallIdBase, ht as stripMessageCarriers, i as appendAssistantMessageToSessionTranscript, it as sha256, j as pickLeaf, jt as normalizeUsage, k as DB_SESSION_HYDRATION_LIMIT, kt as hasNonzeroUsage, l as guardSessionManager, lt as collectInboundUserContext, m as stripToolResultDetails, mt as messageTime, n as parseSessionThreadInfo, nt as extractLegacyTranscriptEntryFields, o as openDbSessionManager, ot as mergePromptContributions, p as sanitizeToolUseResultPairing, pt as isRepresentableEpochMs, q as attachPgPoolErrorListeners, r as resolveAndPersistSessionFile, rt as sanitizeJsonb, s as runSerializedBySession, st as toJsonValue$1, t as extractDeliveryInfo, tt as sanitizeAppendEntry, u as openRawToolResultStash, ut as renderInboundUserContext, v as hasInterSessionUserProvenance, vt as resolveTimezone, w as promptBuildResultToContribution, wt as normalizeCronStaggerMs, x as getGlobalPluginRegistry, xt as HIDDEN_HEARTBEAT_CUSTOM_TYPE, y as normalizeInputProvenance, yt as resolveSenderLabel, z as CHARS_PER_TOKEN_ESTIMATE$2, zt as canonicalizeMainSessionAlias } from "./sessions-
|
|
31
|
+
import { $ as buildEqualityProjection, A as eventOrder, At as makeZeroUsageSnapshot, B as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Bt as resolveAgentMainSessionKey, C as hasHookForPlugin, Ct as normalizeHttpWebhookUrl, D as resolveProviderPromptCacheKey, Dt as derivePromptTokens, E as buildPluginTurnIdentity, Et as parseAbsoluteTimeMs, F as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Ft as resolveChannelResetConfig, G as isToolResultMessage, H as estimateContextChars$1, Ht as resolveMainSessionKey, I as TOOL_RESULT_TEXT_WEIGHT, It as resolveSessionResetPolicy, J as createSessionStorageRuntimeFromConfig, K as parseInlineDirectives$1, L as truncateTextHeadTail, Lt as resolveSessionResetType, M as capToolResultContent, N as HARD_MAX_TOOL_RESULT_CHARS, Nt as resolveSessionKey, O as resolveProviderRuntimeIdentity, Ot as deriveSessionTotalTokens, P as sessionLikelyHasOversizedToolResults, Pt as evaluateSessionFreshness, R as truncateToolResultToChars, Rt as resolveThreadFlag, S as initializeGlobalHookRunner, St as inferLegacyName, T as buildPluginRuntimeIdentity, Tt as resolveDefaultCronStaggerMs, U as estimateMessageCharsCached, Ut as isPrimarySessionTranscriptFileName, V as createMessageCharEstimateCache, Vt as resolveExplicitAgentSessionKey, W as getToolResultText$1, Wt as isSessionArchiveArtifactName, X as validateCtxStorage, Y as resolveSessionStorageConfig, _t as formatZonedTimestamp, a as resolveMirroredTranscriptText, at as createCurrentUserPromptEnvelope, b as getGlobalHookRunner, bt as CREATE_CTX_STORAGE_OWNER_SQL, c as drainPendingPrimaryWrites, ct as buildInboundMetaSystemPrompt, d as repairToolUseResultPairing, dt as attachMessageIngress, et as deriveLegacyActorIdentity, f as sanitizeToolCallInputs, ft as getMessageIngress, g as sanitizeToolCallIdsForCloudCodeAssist, gt as formatMessageStamp, h as canonicalToolCallIdBase, ht as stripMessageCarriers, i as appendAssistantMessageToSessionTranscript, it as sha256, j as pickLeaf, jt as normalizeUsage, k as DB_SESSION_HYDRATION_LIMIT, kt as hasNonzeroUsage, l as guardSessionManager, lt as collectInboundUserContext, m as stripToolResultDetails, mt as messageTime, n as parseSessionThreadInfo, nt as extractLegacyTranscriptEntryFields, o as openDbSessionManager, ot as mergePromptContributions, p as sanitizeToolUseResultPairing, pt as isRepresentableEpochMs, q as attachPgPoolErrorListeners, r as resolveAndPersistSessionFile, rt as sanitizeJsonb, s as runSerializedBySession, st as toJsonValue$1, t as extractDeliveryInfo, tt as sanitizeAppendEntry, u as openRawToolResultStash, ut as renderInboundUserContext, v as hasInterSessionUserProvenance, vt as resolveTimezone, w as promptBuildResultToContribution, wt as normalizeCronStaggerMs, x as getGlobalPluginRegistry, xt as HIDDEN_HEARTBEAT_CUSTOM_TYPE, y as normalizeInputProvenance, yt as resolveSenderLabel, z as CHARS_PER_TOKEN_ESTIMATE$2, zt as canonicalizeMainSessionAlias } from "./sessions-BfBjVuaP.js";
|
|
32
32
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-vl4-JuDp.js";
|
|
33
33
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-UAKcGiUQ.js";
|
|
34
34
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BUbh2qQQ.js";
|
|
35
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
36
|
-
import { A as DOCS_SITE_URL, C as randomIdempotencyKey, D as gatewayErrorShapeOf, E as gatewayErrorReason, M as clearActiveCoordinationDepth, N as setActiveCoordinationDepth, O as validateSecretsResolveResult, S as callGatewayLeastPrivilege, T as GatewayClient, _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as buildGatewayConnectionDetails, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, j as docsSiteUrl, k as SESSION_LABEL_MAX_LENGTH, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as resolveLeastPrivilegeOperatorScopesForMethod, x as callGateway, y as shouldResolveSessionIdInput } from "./nudge-
|
|
35
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-zbex5xar.js";
|
|
36
|
+
import { A as DOCS_SITE_URL, C as randomIdempotencyKey, D as gatewayErrorShapeOf, E as gatewayErrorReason, M as clearActiveCoordinationDepth, N as setActiveCoordinationDepth, O as validateSecretsResolveResult, S as callGatewayLeastPrivilege, T as GatewayClient, _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as buildGatewayConnectionDetails, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, j as docsSiteUrl, k as SESSION_LABEL_MAX_LENGTH, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as resolveLeastPrivilegeOperatorScopesForMethod, x as callGateway, y as shouldResolveSessionIdInput } from "./nudge-czM3OOTT.js";
|
|
37
37
|
import { t as redactIdentifier } from "./redact-identifier-BeEaSiCx.js";
|
|
38
38
|
import { t as CommandLane } from "./lanes-BCd-EH76.js";
|
|
39
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
40
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
41
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
42
|
-
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-
|
|
39
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-XQ8ZjG7j.js";
|
|
40
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CCyygbH2.js";
|
|
41
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-mfZMXas7.js";
|
|
42
|
+
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-nUTVaBEe.js";
|
|
43
43
|
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-BFtDd7RG.js";
|
|
44
|
-
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-
|
|
45
|
-
import { C as modelSupportsVision, S as loadModelCatalog, _ as buildRandomTempFilePath, a as resolveMediaAttachmentLocalRoots, b as resolveAttachmentKind, c as resolveConcurrency, d as resolveMediaUnderstandingScope, f as CLI_OUTPUT_MAX_BUFFER, g as stripCarriedTranscriptFromBody, i as normalizeMediaAttachments, l as resolveTimeoutMs$2, n as buildProviderRegistry, o as runCapability, r as createMediaAttachmentCache, s as applyTemplate, t as runAudioTranscription, u as normalizeMediaUnderstandingChatType, v as registerUnhandledRejectionHandler, x as findModelInCatalog } from "./audio-transcription-runner-
|
|
46
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
44
|
+
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-hSL_BIod.js";
|
|
45
|
+
import { C as modelSupportsVision, S as loadModelCatalog, _ as buildRandomTempFilePath, a as resolveMediaAttachmentLocalRoots, b as resolveAttachmentKind, c as resolveConcurrency, d as resolveMediaUnderstandingScope, f as CLI_OUTPUT_MAX_BUFFER, g as stripCarriedTranscriptFromBody, i as normalizeMediaAttachments, l as resolveTimeoutMs$2, n as buildProviderRegistry, o as runCapability, r as createMediaAttachmentCache, s as applyTemplate, t as runAudioTranscription, u as normalizeMediaUnderstandingChatType, v as registerUnhandledRejectionHandler, x as findModelInCatalog } from "./audio-transcription-runner-BNWmQAJ3.js";
|
|
46
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-DV_cKD5m.js";
|
|
47
47
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-Dsu9RZ4d.js";
|
|
48
|
-
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-
|
|
49
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
50
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
51
|
-
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, 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, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
52
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording
|
|
53
|
-
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
54
|
-
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-
|
|
55
|
-
import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-
|
|
48
|
+
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-CBTJQenE.js";
|
|
49
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D6Jl1s9s.js";
|
|
50
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BnNIPrDz.js";
|
|
51
|
+
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, 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, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-vhM5U22x.js";
|
|
52
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-DQBPNzif.js";
|
|
53
|
+
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-DN-UxJ44.js";
|
|
54
|
+
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-eUNVCJ0m.js";
|
|
55
|
+
import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-CkQB8s_s.js";
|
|
56
56
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DchJQNR7.js";
|
|
57
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
58
|
-
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
59
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
60
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
61
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
62
|
-
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-
|
|
63
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
64
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
65
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
66
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
67
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
68
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
57
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BNHoA66Z.js";
|
|
58
|
+
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-Bk_STwKa.js";
|
|
59
|
+
import { t as convertMarkdownTables } from "./tables-Bj_zeTwr.js";
|
|
60
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-Bn4oBJnk.js";
|
|
61
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-DnJb7LiP.js";
|
|
62
|
+
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-D3hVSNy0.js";
|
|
63
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Djrs4IWv.js";
|
|
64
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-pKpwf1nQ.js";
|
|
65
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-HCqRS_IF.js";
|
|
66
|
+
import { n as resolveMemorySearchConfig } from "./manager-uIw894nB.js";
|
|
67
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-DV-ECmRb.js";
|
|
68
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-DMNjwnEQ.js";
|
|
69
69
|
import { createRequire } from "node:module";
|
|
70
70
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
71
71
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
72
72
|
import * as path$1 from "node:path";
|
|
73
73
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
74
74
|
import os, { homedir } from "node:os";
|
|
75
|
-
import
|
|
75
|
+
import json5 from "json5";
|
|
76
76
|
import * as fs$2 from "node:fs/promises";
|
|
77
77
|
import fs$1, { open } from "node:fs/promises";
|
|
78
78
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
@@ -9966,7 +9966,7 @@ async function routeReply(params) {
|
|
|
9966
9966
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9967
9967
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9968
9968
|
try {
|
|
9969
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9969
|
+
const { deliverOutboundPayloads } = await import("./deliver-CkQB8s_s.js").then((n) => n.n);
|
|
9970
9970
|
const outboundSession = buildOutboundSessionContext({
|
|
9971
9971
|
cfg,
|
|
9972
9972
|
agentId: resolvedAgentId,
|
|
@@ -11015,7 +11015,7 @@ function normalizeSessionKey(value) {
|
|
|
11015
11015
|
function readSessionStore(storePath) {
|
|
11016
11016
|
try {
|
|
11017
11017
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
11018
|
-
const parsed =
|
|
11018
|
+
const parsed = json5.parse(raw);
|
|
11019
11019
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
11020
11020
|
} catch {}
|
|
11021
11021
|
return {};
|
|
@@ -14764,7 +14764,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14764
14764
|
}
|
|
14765
14765
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14766
14766
|
try {
|
|
14767
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14767
|
+
const { deliverOutboundPayloads } = await import("./deliver-CkQB8s_s.js").then((n) => n.n);
|
|
14768
14768
|
await deliverOutboundPayloads({
|
|
14769
14769
|
cfg,
|
|
14770
14770
|
channel: normalizedChannel,
|
|
@@ -34510,7 +34510,7 @@ async function createModelSelectionState(params) {
|
|
|
34510
34510
|
}
|
|
34511
34511
|
}
|
|
34512
34512
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
34513
|
-
const { ensureAuthProfileStore } = await import("./model-auth-
|
|
34513
|
+
const { ensureAuthProfileStore } = await import("./model-auth-Beiv1ujI.js").then((n) => n.s);
|
|
34514
34514
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
34515
34515
|
const providerKey = normalizeProviderId(provider);
|
|
34516
34516
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -52413,7 +52413,7 @@ async function loadCronStore(storePath) {
|
|
|
52413
52413
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
52414
52414
|
let parsed;
|
|
52415
52415
|
try {
|
|
52416
|
-
parsed =
|
|
52416
|
+
parsed = json5.parse(raw);
|
|
52417
52417
|
} catch (err) {
|
|
52418
52418
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
52419
52419
|
}
|
|
@@ -54027,7 +54027,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
54027
54027
|
return;
|
|
54028
54028
|
}
|
|
54029
54029
|
try {
|
|
54030
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
54030
|
+
const { deliverOutboundPayloads } = await import("./deliver-CkQB8s_s.js").then((n) => n.n);
|
|
54031
54031
|
const outboundSession = buildOutboundSessionContext({
|
|
54032
54032
|
cfg: params.cfg,
|
|
54033
54033
|
sessionKey: params.sessionKey
|
|
@@ -60951,7 +60951,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
60951
60951
|
let transcript;
|
|
60952
60952
|
let carry;
|
|
60953
60953
|
if (needsPreflightTranscription) try {
|
|
60954
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
60954
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DlNHpUpW.js");
|
|
60955
60955
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
60956
60956
|
if (uploadable.length > 0) {
|
|
60957
60957
|
const preflight = await transcribeFirstAudio({
|
|
@@ -68221,19 +68221,19 @@ function createDefaultDeps() {
|
|
|
68221
68221
|
};
|
|
68222
68222
|
}),
|
|
68223
68223
|
sendMessageDiscord: async (...args) => {
|
|
68224
|
-
const { sendMessageDiscord } = await import("./send-
|
|
68224
|
+
const { sendMessageDiscord } = await import("./send-AstP-BDn.js").then((n) => n.t);
|
|
68225
68225
|
return await sendMessageDiscord(...args);
|
|
68226
68226
|
},
|
|
68227
68227
|
sendMessageSlack: async (...args) => {
|
|
68228
|
-
const { sendMessageSlack } = await import("./send-
|
|
68228
|
+
const { sendMessageSlack } = await import("./send-D5C72eu6.js").then((n) => n.n);
|
|
68229
68229
|
return await sendMessageSlack(...args);
|
|
68230
68230
|
},
|
|
68231
68231
|
sendMessageSignal: async (...args) => {
|
|
68232
|
-
const { sendMessageSignal } = await import("./send-
|
|
68232
|
+
const { sendMessageSignal } = await import("./send-DnJb7LiP.js").then((n) => n.i);
|
|
68233
68233
|
return await sendMessageSignal(...args);
|
|
68234
68234
|
},
|
|
68235
68235
|
sendMessageIMessage: async (...args) => {
|
|
68236
|
-
const { sendMessageIMessage } = await import("./send-
|
|
68236
|
+
const { sendMessageIMessage } = await import("./send-D3hVSNy0.js").then((n) => n.n);
|
|
68237
68237
|
return await sendMessageIMessage(...args);
|
|
68238
68238
|
}
|
|
68239
68239
|
};
|
|
@@ -80712,7 +80712,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
80712
80712
|
}
|
|
80713
80713
|
let commandsRegistry;
|
|
80714
80714
|
async function getCommandsRegistry() {
|
|
80715
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
80715
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-vhM5U22x.js").then((n) => n.n);
|
|
80716
80716
|
return commandsRegistry;
|
|
80717
80717
|
}
|
|
80718
80718
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -81042,14 +81042,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81042
81042
|
const channelName = channelInfo?.name;
|
|
81043
81043
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
81044
81044
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
81045
|
-
import("./resolve-route-
|
|
81045
|
+
import("./resolve-route-Djrs4IWv.js").then((n) => n.r),
|
|
81046
81046
|
import("./inbound-context-DchJQNR7.js").then((n) => n.n),
|
|
81047
81047
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
81048
81048
|
]);
|
|
81049
81049
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
81050
81050
|
import("./conversation-label-CrORLc0j.js").then((n) => n.t),
|
|
81051
|
-
import("./reply-prefix-
|
|
81052
|
-
import("./session-meta-
|
|
81051
|
+
import("./reply-prefix-CCyygbH2.js").then((n) => n.n),
|
|
81052
|
+
import("./session-meta-pKpwf1nQ.js").then((n) => n.n)
|
|
81053
81053
|
]);
|
|
81054
81054
|
const route = resolveAgentRoute({
|
|
81055
81055
|
cfg,
|
|
@@ -81114,9 +81114,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81114
81114
|
});
|
|
81115
81115
|
const deliverSlashPayloads = async (replies) => {
|
|
81116
81116
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
81117
|
-
import("./replies-
|
|
81118
|
-
import("./chunk-
|
|
81119
|
-
import("./markdown-tables-
|
|
81117
|
+
import("./replies-HCqRS_IF.js").then((n) => n.r),
|
|
81118
|
+
import("./chunk-CBTJQenE.js").then((n) => n.s),
|
|
81119
|
+
import("./markdown-tables-D6Jl1s9s.js").then((n) => n.t)
|
|
81120
81120
|
]);
|
|
81121
81121
|
await deliverSlackSlashReplies({
|
|
81122
81122
|
replies,
|
|
@@ -81170,7 +81170,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81170
81170
|
let nativeCommands = [];
|
|
81171
81171
|
if (nativeEnabled) {
|
|
81172
81172
|
reg = await getCommandsRegistry();
|
|
81173
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
81173
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-Bk_STwKa.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
81174
81174
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
81175
81175
|
skillCommands,
|
|
81176
81176
|
provider: "slack"
|
|
@@ -82114,7 +82114,7 @@ async function getMemorySearchManager(params) {
|
|
|
82114
82114
|
if (cached) return { manager: cached };
|
|
82115
82115
|
}
|
|
82116
82116
|
try {
|
|
82117
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
82117
|
+
const { QmdMemoryManager } = await import("./qmd-manager-Ip6QnhA7.js");
|
|
82118
82118
|
const primary = await QmdMemoryManager.create({
|
|
82119
82119
|
cfg: params.cfg,
|
|
82120
82120
|
agentId: params.agentId,
|
|
@@ -82126,7 +82126,7 @@ async function getMemorySearchManager(params) {
|
|
|
82126
82126
|
const wrapper = new FallbackMemoryManager({
|
|
82127
82127
|
primary,
|
|
82128
82128
|
fallbackFactory: async () => {
|
|
82129
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82129
|
+
const { MemoryIndexManager } = await import("./manager-uIw894nB.js").then((n) => n.t);
|
|
82130
82130
|
return await MemoryIndexManager.get(params);
|
|
82131
82131
|
}
|
|
82132
82132
|
}, () => {
|
|
@@ -82141,7 +82141,7 @@ async function getMemorySearchManager(params) {
|
|
|
82141
82141
|
}
|
|
82142
82142
|
}
|
|
82143
82143
|
try {
|
|
82144
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82144
|
+
const { MemoryIndexManager } = await import("./manager-uIw894nB.js").then((n) => n.t);
|
|
82145
82145
|
return { manager: await MemoryIndexManager.get(params) };
|
|
82146
82146
|
} catch (err) {
|
|
82147
82147
|
return {
|
|
@@ -87306,7 +87306,7 @@ function createPluginRuntime(options = {}) {
|
|
|
87306
87306
|
workStates: readTaskWorkStates
|
|
87307
87307
|
},
|
|
87308
87308
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
87309
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording
|
|
87309
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-DQBPNzif.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
87310
87310
|
};
|
|
87311
87311
|
Object.defineProperty(runtime, "analysis", {
|
|
87312
87312
|
enumerable: true,
|
|
@@ -88850,7 +88850,7 @@ async function recordLoopOutcome(args) {
|
|
|
88850
88850
|
if (!args.ctx?.sessionKey) return;
|
|
88851
88851
|
try {
|
|
88852
88852
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BFtDd7RG.js").then((n) => n.n);
|
|
88853
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
88853
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-CnFqoQKh.js");
|
|
88854
88854
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
88855
88855
|
sessionKey: args.ctx.sessionKey,
|
|
88856
88856
|
sessionId: args.ctx?.agentId
|
|
@@ -88877,8 +88877,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
88877
88877
|
const params = args.params;
|
|
88878
88878
|
if (args.ctx?.sessionKey) {
|
|
88879
88879
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-BFtDd7RG.js").then((n) => n.n);
|
|
88880
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
88881
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
88880
|
+
const { logToolLoopAction } = await import("./diagnostic-nUTVaBEe.js").then((n) => n.n);
|
|
88881
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CnFqoQKh.js");
|
|
88882
88882
|
const sessionState = getDiagnosticSessionState({
|
|
88883
88883
|
sessionKey: args.ctx.sessionKey,
|
|
88884
88884
|
sessionId: args.ctx?.agentId
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./proxy-env-D9QKz5Mq.js";
|
|
2
|
+
import "./registry-D9-EsIYH.js";
|
|
3
|
+
import "./paths-BIDPYPVC.js";
|
|
4
|
+
import "./subsystem-BRH2eiRx.js";
|
|
5
|
+
import "./agent-scope-Brtnf-qo.js";
|
|
6
|
+
import "./github-copilot-token-D97OGYfX.js";
|
|
7
|
+
import "./send-dNeIyZEN.js";
|
|
8
|
+
import "./send-CyKQnkbd.js";
|
|
9
|
+
import "./diagnostic-events-C6NdYDq9.js";
|
|
10
|
+
import "./chunk-C3M1IW7W.js";
|
|
11
|
+
import { k as runMainAgentTurn } from "./monitor-BQWiYAwC.js";
|
|
12
|
+
import "./tokens-g1-rZffS.js";
|
|
13
|
+
import "./session-context-4IeKkzGJ.js";
|
|
14
|
+
import "./sessions-BUjbH5K1.js";
|
|
15
|
+
import "./redact-B9fPPmdF.js";
|
|
16
|
+
import "./errors-DUGujS2U.js";
|
|
17
|
+
import "./deliver-lkeqXp0v.js";
|
|
18
|
+
import "./path-alias-guards-C1_MQbGi.js";
|
|
19
|
+
import "./fs-safe-DcS-vU0o.js";
|
|
20
|
+
import "./image-ops-DVYGsTxh.js";
|
|
21
|
+
import "./store-PqXav9ys.js";
|
|
22
|
+
import "./fetch-guard-CQIsGUgZ.js";
|
|
23
|
+
import "./fetch-BEOHdT2e.js";
|
|
24
|
+
import "./send-CVYVctJr.js";
|
|
25
|
+
import "./reply-prefix-BQ-rDIAU.js";
|
|
26
|
+
import "./commands-registry-DPCcTIwi.js";
|
|
27
|
+
import "./thinking-BUbh2qQQ.js";
|
|
28
|
+
import "./diagnostic-TucKQ5Fk.js";
|
|
29
|
+
import "./diagnostic-session-state-C74O1QW2.js";
|
|
30
|
+
import "./command-queue-DUuIiwvi.js";
|
|
31
|
+
import "./user-run-recording-CAAdiBWD.js";
|
|
32
|
+
import "./recorder-C6OpZN3o.js";
|
|
33
|
+
import "./agent-turn-runner-fV3h6ELM.js";
|
|
34
|
+
import "./pi-model-discovery-CKGA60jT.js";
|
|
35
|
+
import "./chat-content-CEMoDe5q.js";
|
|
36
|
+
import "./chrome-CobI3ImG.js";
|
|
37
|
+
import "./ws-zaFiZiYP.js";
|
|
38
|
+
import "./skills-W6RHTFue.js";
|
|
39
|
+
import "./nudge-Cp00v46W.js";
|
|
40
|
+
import "./models-config-DPG3UP6h.js";
|
|
41
|
+
import "./audio-transcription-runner-DbjdWQRu.js";
|
|
42
|
+
import "./pi-embedded-utils-JXHsJfhx.js";
|
|
43
|
+
import "./fetch-D7rvWjfk.js";
|
|
44
|
+
import "./api-key-rotation-DbJkvwYN.js";
|
|
45
|
+
import "./markdown-tables-DczIA0hC.js";
|
|
46
|
+
import "./ir-D-nyt7yZ.js";
|
|
47
|
+
import "./render-DXuDCig7.js";
|
|
48
|
+
import "./pairing-files-EvM-8IOn.js";
|
|
49
|
+
import "./runs-DK85oFoq.js";
|
|
50
|
+
import "./outbound-attachment-JHREBMfy.js";
|
|
51
|
+
import "./reply-directives-C69Fd8zO.js";
|
|
52
|
+
import "./skill-commands-J-ZcPvqF.js";
|
|
53
|
+
import "./tables-ohryoECJ.js";
|
|
54
|
+
import "./send-CciBIiE2.js";
|
|
55
|
+
import "./resolve-route-N9oe4tGM.js";
|
|
56
|
+
import "./session-meta-BlMS0pts.js";
|
|
57
|
+
import "./replies-ClN-Aak4.js";
|
|
58
|
+
import "./manager-3Bw8zhA3.js";
|
|
59
|
+
import "./query-expansion-CECAX0Pe.js";
|
|
60
|
+
|
|
61
|
+
export { runMainAgentTurn };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Pa as createWork } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-D9QKz5Mq.js";
|
|
2
|
+
import { Pa as createWork } from "./registry-D9-EsIYH.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BRH2eiRx.js";
|
|
4
4
|
import { t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-5z6UfRxk.js";
|
|
5
5
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
@@ -187,7 +187,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
189
|
async function defaultExecute(claim) {
|
|
190
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
190
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-D0szeKs8.js");
|
|
191
191
|
return runMainAgentTurn(claim.message.payload);
|
|
192
192
|
}
|
|
193
193
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -199,7 +199,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
199
199
|
startedAt: opts?.startedAt ?? Date.now()
|
|
200
200
|
};
|
|
201
201
|
waiters.set(sessionKey, handle);
|
|
202
|
-
const { getQueueSize } = await import("./command-queue-
|
|
202
|
+
const { getQueueSize } = await import("./command-queue-DUuIiwvi.js").then((n) => n.r);
|
|
203
203
|
if (handle.cancelled || closing) return;
|
|
204
204
|
const release = (force = false) => {
|
|
205
205
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -221,7 +221,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
221
221
|
}
|
|
222
222
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
223
223
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
224
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
224
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-DUuIiwvi.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
225
225
|
const policy = payload.busy ?? "skip";
|
|
226
226
|
const id = agentTurnIdempotencyKey(payload);
|
|
227
227
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -284,7 +284,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
if (payload.kind === "announce" && outcome.ok && outcome.delivery?.reason === WORKSPACE_LANE_DENIED_REASON) {
|
|
287
|
-
const { markSubagentAnnounceDenied } = await import("./subagent-registry-
|
|
287
|
+
const { markSubagentAnnounceDenied } = await import("./subagent-registry-Bek3q0nu.js");
|
|
288
288
|
await markSubagentAnnounceDenied(payload.runId, payload.mergedRunIds);
|
|
289
289
|
}
|
|
290
290
|
releaseSucceeded = outcome.ok;
|