wednesdayai 0.5.1-dev.44 → 0.5.1-dev.48
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-DULvzWts.js → agent-scope-XhXeu6xb.js} +18 -18
- package/dist/{agent-scope-CcfVK6UD.js → agent-scope-ZEYA-60U.js} +1 -1
- package/dist/{agent-turn-execute-D748vb-X.js → agent-turn-execute-C1y3kP_5.js} +81 -81
- package/dist/{agent-turn-execute-BKklRf4d.js → agent-turn-execute-C5ZDAVVQ.js} +168 -168
- package/dist/{agent-turn-runner-C7-mljbB.js → agent-turn-runner-D37xtlm6.js} +3 -3
- package/dist/{agent-turn-runner-Bwwm8Ptv.js → agent-turn-runner-DB93UP1b.js} +6 -6
- package/dist/{agent-turn-runner-DAC1vCsq.js → agent-turn-runner-IwG5iqHK.js} +6 -6
- package/dist/{api-key-rotation-7TopVjgj.js → api-key-rotation-BlMQXNFs.js} +2 -2
- package/dist/{api-key-rotation-DKsa-hU0.js → api-key-rotation-BwBPY9De.js} +1 -1
- package/dist/{api-key-rotation-BIY1IIqH.js → api-key-rotation-Cp30sEHb.js} +2 -2
- package/dist/{audio-preflight-DpH4ergs.js → audio-preflight-ARaM1d7_.js} +22 -22
- package/dist/{audio-preflight-D29ZWbr9.js → audio-preflight-B4mXS_qz.js} +24 -24
- package/dist/{audio-preflight-C2VkX_iV.js → audio-preflight-Ckc8iNFE.js} +14 -14
- package/dist/{audio-transcription-runner-BVFt-QWW.js → audio-transcription-runner-B65tBuzm.js} +8 -8
- package/dist/{audio-transcription-runner-B7oqNjtj.js → audio-transcription-runner-BsZZfTYv.js} +25 -25
- package/dist/{audio-transcription-runner-3NLGLd-v.js → audio-transcription-runner-_IywwZdc.js} +11 -11
- package/dist/{auth-BJQIeDr2.js → auth-BSkwykDB.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +40 -40
- package/dist/bundled/session-journal/handler.js +40 -40
- package/dist/bundled/session-memory/handler.js +40 -40
- package/dist/{call-vUArkeDj.js → call-BfsHUEL9.js} +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-B8sw5RV2.js → chat-content-C8SBxzVB.js} +24 -24
- package/dist/{chat-content-BoGoXWb0.js → chat-content-CssgdJTS.js} +15 -15
- package/dist/{chat-content-_y_6NRek.js → chat-content-DAFI7DwH.js} +9 -9
- package/dist/{chrome-BN8wz1Ia.js → chrome-BGcyqaN9.js} +6 -6
- package/dist/{chrome-EA2x-v7M.js → chrome-D1_Km2Py.js} +15 -15
- package/dist/{plugin-sdk/chrome-DL2eNcB9.js → chrome-DSOGaSkI.js} +8 -8
- package/dist/{chunk-Co2BBq6m.js → chunk-Bl3bFkc1.js} +3 -3
- package/dist/{chunk-D0gjlEAC.js → chunk-D8Ei1sgE.js} +3 -3
- package/dist/{chunk-CS6BGepz.js → chunk-Mk3BzTo4.js} +1 -1
- package/dist/{command-queue-BsREX8I6.js → command-queue-CYHqLAaZ.js} +1 -1
- package/dist/{command-queue-DPL0uYBf.js → command-queue-cMQsA9-X.js} +1 -1
- package/dist/{commands-registry-CnvFRavS.js → commands-registry-BiL5Vu_j.js} +1 -1
- package/dist/{commands-registry-Bpbkdz9y.js → commands-registry-CeEIPUd4.js} +2 -2
- package/dist/{commands-registry-BOqP8POi.js → commands-registry-md12jvN2.js} +2 -2
- package/dist/{config-D7E345XX.js → config-C8St6mAq.js} +26 -26
- package/dist/config.js +3 -3
- package/dist/{credentials-CNT2aFON.js → credentials-BbfhXEsJ.js} +1 -1
- package/dist/{credentials-ChM0kvEr.js → credentials-Du4NIj4y.js} +1 -1
- package/dist/{credentials-C5_Kcyy4.js → credentials-rHg5DomK.js} +1 -1
- package/dist/daemon-cli.js +12 -12
- package/dist/{deliver-DwhRsvIU.js → deliver-C2FYVz2h.js} +11 -11
- package/dist/{deliver-Dko24cC6.js → deliver-D8bfwcET.js} +14 -14
- package/dist/{deliver-DZqeAImU.js → deliver-aIctLOEP.js} +14 -14
- package/dist/{diagnostic-BNSZzhBp.js → diagnostic-CHel1NLR.js} +3 -3
- package/dist/{diagnostic-D4aQ4rt0.js → diagnostic-O1TZk8ZJ.js} +3 -3
- package/dist/{errors-DnOtx_vg.js → errors-0RH1PUyI.js} +1 -1
- package/dist/{errors-CN5_QuWi.js → errors-D8k7j4A4.js} +1 -1
- package/dist/{fetch-D7UiV_9w.js → fetch-B5m0TTRD.js} +7 -7
- package/dist/{fetch-Bd3gVJGS.js → fetch-B6JVlGQz.js} +7 -7
- package/dist/{fetch-BaRM29vD.js → fetch-BHAXnEtr.js} +1 -1
- package/dist/{fetch-DN73GB88.js → fetch-BjRFaOH-.js} +1 -1
- package/dist/{fetch-ABzu5_d4.js → fetch-CSjV0WJZ.js} +1 -1
- package/dist/{fetch-DL6b-Ers.js → fetch-DxfQJ1J0.js} +2 -2
- package/dist/{fetch-guard-CRXpWx9K.js → fetch-guard-BultwSpi.js} +2 -2
- package/dist/{fetch-guard-CWcg0pAh.js → fetch-guard-C8cHPMKd.js} +1 -1
- package/dist/{fetch-guard-DbhtcUTr.js → fetch-guard-pMUIU0GM.js} +2 -2
- package/dist/{fs-safe-Dud5ltCr.js → fs-safe-Bcqf6cqh.js} +3 -3
- package/dist/{fs-safe-blSJPepq.js → fs-safe-qCaN71tM.js} +25 -25
- package/dist/{group-c3Qh65PA.js → group-D1ystD_T.js} +7 -7
- package/dist/{image-ops-Df6VUynz.js → image-ops-BsxkG0xi.js} +11 -11
- package/dist/{image-ops-BYGvGwxN.js → image-ops-WTO9fxZR.js} +1 -1
- package/dist/{ir-BsScbUxk.js → ir-Bk7X_LKF.js} +2 -2
- package/dist/{ir-4wPQhvNz.js → ir-DURlc744.js} +8 -8
- package/dist/{ir-DU47VU35.js → ir-Xj0lako6.js} +5 -5
- package/dist/{json-files-DNv3G6Vg.js → json-files-C3L53Qrl.js} +7 -7
- package/dist/llm-slug-generator.js +40 -40
- package/dist/{manager-DoZ5_BeO.js → manager-BgcW7tpv.js} +14 -14
- package/dist/{manager-B_j6KDo2.js → manager-DBM4-TfE.js} +7 -7
- package/dist/{manager-CVHOsYvw.js → manager-LsGIUhxa.js} +4 -4
- package/dist/{markdown-tables-CRv466QZ.js → markdown-tables-BD3LxqeL.js} +2 -2
- package/dist/{markdown-tables-Dc909okk.js → markdown-tables-BxOFKkhW.js} +2 -2
- package/dist/{markdown-tables-BGgtMbbO.js → markdown-tables-DzCbga76.js} +1 -1
- package/dist/{model-selection-D8yGm_Ti.js → model-selection-C2tyJWrx.js} +1 -1
- package/dist/{models-config-BeE1WLnh.js → models-config-BwzDnc-Q.js} +7 -7
- package/dist/{models-config-BuKVDvIh.js → models-config-C6XX7gtS.js} +1 -1
- package/dist/{models-config-dpGU0cJa.js → models-config-m8SCbEAc.js} +2 -2
- package/dist/{net-0_F4C9BZ.js → net-Dy6CRuy7.js} +1 -1
- package/dist/{nudge-DZadiso_.js → nudge-BmokWas4.js} +7 -7
- package/dist/{nudge-BqkP8YTx.js → nudge-CnaEXWAF.js} +16 -16
- package/dist/{nudge-bi3nIppc.js → nudge-DtecrQw2.js} +10 -10
- package/dist/{outbound-attachment-C5ekhZcx.js → outbound-attachment-BS7qjOL4.js} +2 -2
- package/dist/{outbound-attachment-BnUYvMev.js → outbound-attachment-DsxhMGOu.js} +2 -2
- package/dist/{outbound-attachment-9QVYM11r.js → outbound-attachment-IZjJVZqu.js} +1 -1
- package/dist/{outbound-message-hooks-CbDkJuWL.js → outbound-message-hooks-Bme6KjMG.js} +2 -2
- package/dist/{outbound-message-hooks-DkLpJOdR.js → outbound-message-hooks-Cmbc19Oi.js} +4 -4
- package/dist/{outbound-message-hooks-D0h7Pa-R.js → outbound-message-hooks-G0rUejkg.js} +4 -4
- package/dist/{path-alias-guards-B9AcbQl6.js → path-alias-guards-CGcezGX3.js} +3 -3
- package/dist/{path-alias-guards-DDpV2Sxj.js → path-alias-guards-DC13Y2Rm.js} +1 -1
- package/dist/{pi-embedded-CvGEKHow.js → pi-embedded-BJ49IY-x.js} +64 -64
- package/dist/{pi-embedded-utils-tIZRG85-.js → pi-embedded-utils-B-YXzLOX.js} +3 -3
- package/dist/{pi-embedded-utils-BXjWA82e.js → pi-embedded-utils-CYtnFZHj.js} +3 -3
- package/dist/{pi-embedded-utils-BEQIdrgX.js → pi-embedded-utils-DsC7KqbM.js} +1 -1
- package/dist/{pi-model-discovery-B8gN8a3d.js → pi-model-discovery-5nUBc878.js} +1 -1
- package/dist/{pi-model-discovery-BxM5uNK4.js → pi-model-discovery-CIRCjjeW.js} +1 -1
- package/dist/{pi-model-discovery-FspRgCaT.js → pi-model-discovery-CLxFRX8Q.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-rxqy1IJ0.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-BgYryOLd.js → agent-turn-runner-D6v10W4M.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-BKFqVhLv.js → api-key-rotation-BFEqLexA.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CYWCkE99.js → audio-preflight-C0ub7Fjl.js} +14 -14
- package/dist/plugin-sdk/{audio-transcription-runner-CdFuLf8N.js → audio-transcription-runner-CjGXglxV.js} +8 -8
- package/dist/plugin-sdk/{auth-profiles-9_o8AApc.js → auth-profiles-B-4RVXfZ.js} +1 -1
- package/dist/plugin-sdk/{chat-content-CwXjjIMY.js → chat-content-BNX7Pzy0.js} +9 -9
- package/dist/{chrome-C-EhmyOo.js → plugin-sdk/chrome-Cg0gQBOQ.js} +8 -8
- package/dist/plugin-sdk/{chunk-D5OO0PA5.js → chunk-BnICCl2r.js} +2 -2
- package/dist/plugin-sdk/{command-queue-CjaBVFfL.js → command-queue-CDOrtY8K.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DeutyKFc.js → commands-registry-DCE_R4y0.js} +2 -2
- package/dist/plugin-sdk/{credentials-B7CJlMpK.js → credentials-CuwcSHGC.js} +1 -1
- package/dist/plugin-sdk/{deliver-DIpYSIPc.js → deliver-Ch9aZhwU.js} +11 -11
- package/dist/plugin-sdk/deliver-D9msQObz.js +34 -0
- package/dist/plugin-sdk/{diagnostic-CHfH2DLZ.js → diagnostic-DoL_a5Ag.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-session-state-BB7PPwvz.js → diagnostic-session-state-xa_X3i6x.js} +1 -1
- package/dist/plugin-sdk/{fetch-BY5NV-xE.js → fetch-DwumgIiv.js} +1 -1
- package/dist/plugin-sdk/{fetch-BeWeSiGq.js → fetch-bCLlcizq.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-DzrMY5xA.js → fetch-guard-B89VGo5J.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-W8c7TVhP.js → inbound-context-BpGAzUP-.js} +1 -1
- package/dist/plugin-sdk/{ir-BBs2mkTs.js → ir-DUBVCsOu.js} +2 -2
- package/dist/plugin-sdk/manager-D53hBP42.js +14 -0
- package/dist/plugin-sdk/{manager-Cf6lxna-.js → manager-D5SJyg1z.js} +4 -4
- package/dist/plugin-sdk/{markdown-tables-B3bAe979.js → markdown-tables-B9z3RUEA.js} +2 -2
- package/dist/plugin-sdk/{models-config-CwkY2p9D.js → models-config-DmXIbizG.js} +1 -1
- package/dist/plugin-sdk/{monitor-BklUJEzI.js → monitor-CP1gk3Bm.js} +77 -77
- package/dist/plugin-sdk/{nudge-DoDBSfD0.js → nudge-CHKavKrI.js} +11 -11
- package/dist/plugin-sdk/{outbound-attachment-CdtUPMuk.js → outbound-attachment-DBKtqTUS.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-xqolwHfy.js → pi-embedded-utils-BhhGeJmU.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-DoXQCzDO.js → pi-model-discovery-DAdG8kKZ.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-CfTRbczQ.js +61 -0
- package/dist/plugin-sdk/{proxy-env-B4sQKFcV.js → proxy-env-4W8_E7-5.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DDEuLQxa.js → pw-ai-BxiGh4_M.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-DJ56bAZL.js → qmd-manager-C0ftlkJ0.js} +2 -2
- package/dist/plugin-sdk/{query-expansion-BuDv-utU.js → query-expansion-_or1gqjm.js} +1 -1
- package/dist/plugin-sdk/{recorder-uiRf0m6K.js → recorder-_7KHCw0F.js} +1 -1
- package/dist/plugin-sdk/{registry-CjtACjoW.js → registry-B2fZdv3f.js} +1 -1
- package/dist/plugin-sdk/{replies-BhlAIoj0.js → replies-3qoFL0Ik.js} +4 -4
- package/dist/plugin-sdk/{replies-oEhTgdcr.js → replies-Bm97_zq-.js} +11 -11
- package/dist/plugin-sdk/{reply-directives-BuoXx89o.js → reply-directives-BxvUWxD5.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DPnEN5dY.js → reply-prefix-BL_8TUpo.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-3cSvtBX8.js → resolve-route-B2cnsn76.js} +2 -2
- package/dist/plugin-sdk/{runs-tFyEFKrC.js → runs-1U4vJkOV.js} +7 -7
- package/dist/plugin-sdk/{runs-CNgqvBS5.js → runs-D7V4bk1U.js} +12 -12
- package/dist/plugin-sdk/{send-BKTR2FyD.js → send--lqcW4uz.js} +4 -4
- package/dist/plugin-sdk/send-B9QAaMSh.js +23 -0
- package/dist/plugin-sdk/{send-BiE4BNeo.js → send-BCuBSBMx.js} +8 -8
- package/dist/plugin-sdk/{send-_6hIsJuy.js → send-BTTeLdxm.js} +6 -6
- package/dist/plugin-sdk/{send-NPfoV448.js → send-BdBXInWs.js} +10 -10
- package/dist/plugin-sdk/{send-Ci5wXhUs.js → send-C2H4l79q.js} +5 -5
- package/dist/plugin-sdk/{send-BNPTKRCl.js → send-Da_Bzzfq.js} +6 -6
- package/dist/plugin-sdk/{send-BCPBumfz.js → send-EvSbTa2T.js} +10 -10
- package/dist/plugin-sdk/{session-context-BaQ-vf9x.js → session-context-CLpe5Ba3.js} +2 -2
- package/dist/plugin-sdk/{session-meta-CEtPeCAW.js → session-meta-CDgl3Kkm.js} +2 -2
- package/dist/plugin-sdk/{sessions-Cq3mSm_S.js → sessions-DK6oCQOK.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-CcTESJIj.js → skill-commands-DiGdKkfQ.js} +3 -3
- package/dist/plugin-sdk/{skills-CIGf4PR8.js → skills-Coq6gsYM.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-BH39-wLb.js → subagent-registry-6vhRKS_0.js} +44 -44
- package/dist/plugin-sdk/{tables-DTWhxpIg.js → tables-BwH0lnK4.js} +1 -1
- package/dist/plugin-sdk/testing.js +44 -44
- package/dist/plugin-sdk/{user-run-recording-CiolYtdZ.js → user-run-recording-x05eYKmS.js} +2 -2
- package/dist/plugin-sdk/{ws-JuHkwIMV.js → ws-Y4yq5bFP.js} +1 -1
- package/dist/{ports-Clmws_Hh.js → ports-C3fQHCab.js} +3 -3
- package/dist/{progress-CPxNhc04.js → progress-CGdAe0WN.js} +4 -4
- package/dist/{proxy-env-dRqrG-ln.js → proxy-env-B01lar7S.js} +1 -1
- package/dist/{proxy-env-Cj0Bgsg8.js → proxy-env-CpBOG1SR.js} +1 -1
- package/dist/{proxy-env-CcZo5Rvj.js → proxy-env-KBZp3sxK.js} +1 -1
- package/dist/{pw-ai-D5CyYslZ.js → pw-ai-C_QmGlLz.js} +4 -4
- package/dist/{pw-ai-Dem1TRO_.js → pw-ai-DXRkqyiz.js} +13 -13
- package/dist/{pw-ai-txZGlq1F.js → pw-ai-fMejPoQC.js} +11 -11
- package/dist/{qmd-manager-BxEMIDAD.js → qmd-manager-CzsGwBi2.js} +8 -8
- package/dist/{qmd-manager-CfwCcQAr.js → qmd-manager-DeSEoaIW.js} +23 -23
- package/dist/{qmd-manager-Bsr0upeE.js → qmd-manager-JcDm4TaV.js} +2 -2
- package/dist/{qmd-scope-BdurOZ05.js → qmd-scope-DPmZMzMU.js} +1 -1
- package/dist/{qmd-scope-Bo_hGwTh.js → qmd-scope-Da_43AK-.js} +1 -1
- package/dist/{query-expansion-DI7jGqRX.js → query-expansion-BBqbrwrA.js} +2 -2
- package/dist/{query-expansion-CvnC7tCW.js → query-expansion-DMqvaBet.js} +11 -11
- package/dist/{query-expansion-CY-11Ng4.js → query-expansion-DSK6kOZ1.js} +1 -1
- package/dist/{recorder-Bgh3e0Bb.js → recorder-Bm6iLbpO.js} +2 -2
- package/dist/{recorder-DarAZV54.js → recorder-C9HG73v5.js} +2 -2
- package/dist/{recorder-B4t2pNxf.js → recorder-DiZXBqX_.js} +1 -1
- package/dist/{redact-D--orJnz.js → redact-C8xjZT-F.js} +1 -1
- package/dist/{redact-CUgFzobf.js → redact-CoYHSFJI.js} +1 -1
- package/dist/{replies-4Irpbrrq.js → replies-5d6WEMkn.js} +4 -4
- package/dist/{replies-Dc6GVOqb.js → replies-Bqqi0vbE.js} +5 -5
- package/dist/{replies-CLt6uO_Y.js → replies-DGG3QzgX.js} +5 -5
- package/dist/{reply-directives-BZ9K9aOt.js → reply-directives-BpRcHRoT.js} +2 -2
- package/dist/{reply-directives-CeWgDasK.js → reply-directives-CKYXOssf.js} +1 -1
- package/dist/{reply-directives-MabnZ9XP.js → reply-directives-CiYi8fBw.js} +2 -2
- package/dist/{reply-prefix-CkxIPVPM.js → reply-prefix-98PG1Ki7.js} +1 -1
- package/dist/{reply-prefix-W4rq5-Rh.js → reply-prefix-BEcGW2XG.js} +1 -1
- package/dist/{resolve-route-D8QTP0Ba.js → resolve-route-DNyOPck0.js} +1 -1
- package/dist/{resolve-route-D4KpKWjY.js → resolve-route-D__NSsIF.js} +3 -3
- package/dist/{resolve-route-D2gpKzx7.js → resolve-route-kCeK1PnG.js} +3 -3
- package/dist/{runs-B1ZuRBez.js → runs-C0iRQc_F.js} +8 -8
- package/dist/{runs-IXbWQiaF.js → runs-DbFWkqrM.js} +5 -5
- package/dist/{runs-BA7oqhbL.js → runs-Z4pls7FK.js} +8 -8
- package/dist/{send-B19GFd-Z.js → send--M5kRasW.js} +6 -6
- package/dist/{send-CUSwRN-T.js → send-B-mkV3_w.js} +13 -13
- package/dist/{send-Iyeo_Hcl.js → send-BHcO0Aru.js} +6 -6
- package/dist/{send-CpTYjiqO.js → send-BsfmKipN.js} +6 -6
- package/dist/{send-CKsA3C8Q.js → send-DbtWZ2No.js} +8 -8
- package/dist/{send-DzCL2yP6.js → send-Dd4wRWhq.js} +7 -7
- package/dist/{send-HztE1dsh.js → send-HRB_J7pa.js} +4 -4
- package/dist/{send-tqPugX47.js → send-TRtDN-Da.js} +6 -6
- package/dist/{send-c9iMxTda.js → send-bV48rJeA.js} +8 -8
- package/dist/{send-Bw-KLTGk.js → send-nW_0TzgZ.js} +7 -7
- package/dist/{send-DHpP56-Y.js → send-nXTQsLrv.js} +8 -8
- package/dist/{send-CgNLbhmB.js → send-wcJqiYt_.js} +5 -5
- package/dist/{session-meta--JsYAyya.js → session-meta-D9pWrAgN.js} +1 -1
- package/dist/{session-meta-4unJpfHa.js → session-meta-Dek_4XcX.js} +1 -1
- package/dist/{session-meta-1ufiCO9g.js → session-meta-DlRRpvJp.js} +1 -1
- package/dist/{sessions-Cs4D1U17.js → sessions-Bl0b35sU.js} +4 -4
- package/dist/{sessions-DZTUsPsP.js → sessions-CzUTvoXK.js} +1 -1
- package/dist/{sessions-CzSCMD0M.js → sessions-DgF-TKoR.js} +4 -4
- package/dist/{skill-commands-B_Tcfb-O.js → skill-commands-BQcYbtPM.js} +5 -5
- package/dist/{skill-commands-CaTXs4fT.js → skill-commands-Bc0uYZN4.js} +2 -2
- package/dist/{skill-commands-CF3aUDWn.js → skill-commands-DctQTJw4.js} +4 -4
- package/dist/{skills-BDZw1iZ3.js → skills-BXe5JEVp.js} +6 -6
- package/dist/{skills-BnRaKZVE.js → skills-DSEJ9TJa.js} +4 -4
- package/dist/{skills-CVDxAodZ.js → skills-DsmuWAV9.js} +1 -1
- package/dist/{store-Cj8CEQfL.js → store-D337G2RQ.js} +3 -3
- package/dist/{store-BFVWJvSJ.js → store-TSGh1Q6I.js} +8 -8
- package/dist/{subsystem-BTMrlJ-R.js → subsystem-B9soUuXQ.js} +7 -7
- package/dist/{subsystem-BntNuBAj.js → subsystem-DY5Ww-lX.js} +4 -4
- package/dist/{tables-DkRD4akB.js → tables-B8mkmRMC.js} +1 -1
- package/dist/{tables-Dy6doVa0.js → tables-CR0_AJTg.js} +1 -1
- package/dist/{tables-BX-76dIl.js → tables-DHLC9Fdd.js} +1 -1
- package/dist/{tokens-qfLiLlNv.js → tokens-1cA46jIW.js} +1 -1
- package/dist/{tokens-Bsyd1rxM.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-CurLYMEW.js → tool-loop-detection-CAaJBVkR.js} +1 -1
- package/dist/{user-run-recording-BTjOSPH8.js → user-run-recording-DZAbAydi.js} +2 -2
- package/dist/{user-run-recording-D8MTR5yF.js → user-run-recording-_gs8p2DT.js} +1 -1
- package/dist/{user-run-recording-B6PqDezg.js → user-run-recording-adYvWzsA.js} +2 -2
- package/dist/{ws-BdQ780jI.js → ws-CHokDDk3.js} +1 -1
- package/dist/{ws-DD3MWZdU.js → ws-DySeXwmc.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/identity-oidc/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 +2 -2
- package/dist/plugin-sdk/agent-turn-execute-CNLde0aj.js +0 -61
- package/dist/plugin-sdk/deliver-B8wKBFHD.js +0 -34
- package/dist/plugin-sdk/manager-B8tH1WcK.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-rB-g7cTm.js +0 -61
- package/dist/plugin-sdk/send-DFnkY5LR.js +0 -23
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { $ as mergeSessionEntry, $a as listBufferedPluginTaskPasses, $i as getActivePluginRegistry, $r as DEFAULT_SAFE_BINS, $t as INTERNAL_MESSAGE_CHANNEL, A as triggerInternalHook, Aa as DEFAULT_CONTEXT_TOKENS, Ai as loadPluginManifestRegistry, An as isWindowsPlatform, Ar as parseDotPath, At as resolveSlackReplyToMode, B as getConfiguredSessionStorageRuntime, Bi as discoverOpenClawPlugins, Bn as buildModelAliasIndex, Br as setConfigValueAtPath, Bt as createDiscordActionGate, Ci as isAvatarDataUrl, Cn as getTrustedSafeBinDirs, Cr as markAuthProfileUsed, Ct as formatAllowlistMatchMeta, Da as normalizeResolvedSecretInputString, Di as buildChannelAccountBindings, Dn as validateSafeBinArgv, Dr as describeUnknownError$1, Dt as normalizeStringEntries, Ea as hasConfiguredSecretInput, Ei as isSupportedLocalAvatarExtension, En as normalizeTrustedSafeBinDirs, Er as resolveSecretRefValues, Et as normalizeHyphenSlug, F as requireSessionStorageRuntime, Fa as resolveShellEnvFallbackTimeoutMs, Fi as applyTestPluginDefaults, Fn as resolveSafeBinProfiles, Fr as resetConfigOverrides, Ft as isWhatsAppGroupJid, G as readSessionUpdatedAt, Ga as channelTargetsSchema, Gi as CHAT_CHANNEL_ORDER, Gn as normalizeProviderId, Gt as resolveChannelGroupRequireMention, H as loadSessionStore, Hi as safeStatSync, Hn as isCliProvider, Hr as validateConfigObjectWithPlugins, Ht as resolveDiscordAccount, Ia as isTruthyEnvValue, Ii as isBundledChannelEnabledByChannelConfig, In as applyMergePatch, Ir as setConfigOverride, It as normalizeWhatsAppTarget, J as updateLastRoute, Ja as applyTargetToParams, Ji as normalizeAnyChannelId, Jn as resolveDefaultModelForAgent, Jr as normalizeScpRemoteHost, Jt as deliveryContextFromSession, K as recordSessionMetaFromInbound, Ka as optionalStringEnum, Ki as getChatChannelMeta, Kn as parseModelRef, Kr as resolveIMessageAttachmentRoots, Kt as resolveChannelGroupToolsPolicy, L as closeConfiguredSessionStorageRuntime, La as parseBooleanValue$1, Li as normalizePluginsConfig, Ln as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Lr as unsetConfigOverride, Lt as hasAnyWhatsAppAuth, M as createConversationReadQuery, Ma as DEFAULT_PROVIDER, Mi as DOCS_SITE_URL, Mn as splitShellArgs, Mr as formatCliCommand, Mt as resolveSlackBotToken, N as getConversationReadQuery, Na as VERSION, Ni as docsSiteUrl, Nn as SAFE_BIN_PROFILES, Nr as resolveCliName, Nt as listEnabledSignalAccounts, O as normalizeProviderId$1, Oa as resolveSecretInputRef, On as analyzeShellCommand, Or as isNonEmptyString, Ot as normalizeStringEntriesLower, Pa as getShellPathFromLoginShell, Pi as BUNDLED_ENABLED_BY_DEFAULT, Pn as normalizeSafeBinProfileFixtures, Pr as getConfigOverrides, Pt as resolveSignalAccount, Q as DEFAULT_RESET_TRIGGERS, Qa as discardBufferedPluginTaskPasses, Qi as getActiveGatewayPluginRegistry, Qn as resolveThinkingDefault, Qr as resolveExecPolicyPreset, Qt as normalizeSessionDeliveryFields, R as closeReplacedConfiguredSessionStorageRuntime, Ra as resolveOwnerDisplaySetting, Ri as resolveEffectiveEnableState, Rn as buildAllowedModelSet, Rr as getConfigValueAtPath, Rt as resolveWhatsAppAccount, Sa as resolveAuthProfileDisplayLabel, Si as AVATAR_MAX_BYTES, Sn as writeConfigFile, Sr as markAuthProfileFailure, St as normalizeChannelId$1, Ta as coerceSecretRef, Ti as isPathWithinRoot, Tn as listWritableExplicitTrustedSafeBinDirs, Tr as resolveApiKeyForProfile, Tt as normalizeAtHashSlug, U as loadSessionStoreFromDisk, Ui as readManifestNamespace, Un as modelKey, Ut as normalizeDiscordToken, Vi as isPathInside, Vn as findNormalizedProviderValue, Vr as unsetConfigValueAtPath, Vt as listEnabledDiscordAccounts, W as prepareConfiguredSessionStorageRuntimeActivation, Wa as channelTargetSchema, Wn as normalizeModelRef$2, Wr as isInboundPathAllowed, Wt as resolveChannelGroupPolicy, X as updateSessionStoreEntry, Xa as actionRequiresTarget, Xi as normalizeChatChannelId, Xn as resolveReasoningDefault, Xt as mergeDeliveryContext, Y as updateSessionStore, Ya as actionHasTarget, Yi as normalizeChannelId$2, Yn as resolveModelRefFromString, Yr as parseNonNegativeByteSize, Yt as deliveryContextKey, Zi as resolveChannelConfigId, Zn as resolveSubagentSpawnModelSelection, Zr as secretRefKey, Zt as normalizeDeliveryContext, _ as isBuiltinTtsProvider, _a as resolveAuthStorePathForDisplay, _n as createConfigIO, _r as resolveAuthProfileOrder, _t as getChannelDock, aa as isSafeExecutableValue, ai as isShellWrapperExecutable, an as normalizeMessageChannel, ar as OLLAMA_NATIVE_BASE_URL, ba as isPidAlive, bn as readConfigFileSnapshot, br as getSoonestCooldownExpiry, bt as getChannelPlugin, c as clearPluginCommands, ca as resolveSlackNativeStreaming, cn as GATEWAY_CLIENT_IDS, cr as buildAssistantMessageWithZeroUsage, d as listPluginCommands, dn as normalizeAccountId$1, dr as getApiKeyForModel, dt as resolveSessionTranscriptPath, ea as getActivePluginRegistryKey, ei as matchAllowlist, en as isDeliverableMessageChannel, eo as replaceBufferedPluginTaskPasses, et as resolveFreshSessionTotalTokens, f as matchPluginCommand, fa as dedupeProfileIds, fn as acquireSessionWriteLock, fr as getCustomProviderApiKey, g as getSpeechProvider, gn as advanceRuntimeConfigSnapshot, gr as resolveModelAuthMode, gt as resolveParentSessionGroupId, h as getRegisteredSpeechProviders, ha as ensureAuthProfileStore, hr as resolveEnvApiKey, ht as resolveGroupSessionKey, i as createPluginRegistry, ii as isDispatchWrapperExecutable, in as listDeliverableMessageChannels, ir as retryAsync, j as StorageReadAccessError, ja as DEFAULT_MODEL, jn as splitCommandChain, jr as runTasksWithConcurrency, jt as resolveSlackAppToken, k as createInternalHookEvent, ka as splitTrailingAuthProfile, ki as validateJsonSchemaValue, kn as buildEnforcedShellCommand, kr as isRecord$1, kt as resolveSlackAccount, la as resolveSlackStreamingMode, li as parseDurationMs, ln as GATEWAY_CLIENT_MODES, lr as buildStreamErrorAssistantMessage, lt as resolveSessionFilePath, m as BUILTIN_TTS_PROVIDER_IDS, ma as markAuthProfileGood, mn as CtxProjectionCorruptionError, mt as deriveSessionMetaPatch, n as clearRegisteredPluginApis, na as requireActivePluginRegistry, ni as resolveCommandResolutionFromArgv, nn as isInternalMessageChannel, nt as parseSessionIndexRecordKey, o as normalizePluginHttpPath, oa as mapStreamingModeToSlackLegacyDraftStreamMode, oi as unwrapKnownDispatchWrapperInvocation, on as resolveGatewayMessageChannel, or as createOllamaStreamFn, ot as SAFE_SESSION_ID_RE, p as registerPluginCommand, pa as listProfilesForProvider, pn as resolveSessionLockMaxHoldFromTimeout, pr as requireApiKey, pt as resolveStorePath, q as refreshConfiguredSessionBindingEntry, qa as stringEnum, qi as listChatChannels, qn as resolveConfiguredModelRef, qr as resolveIMessageRemoteAttachmentRoots, qt as resolveAccountEntry, ra as setActivePluginRegistry, ri as extractShellWrapperInlineCommand, rn as isMarkdownCapableMessageChannel, s as buildPluginHealthReport, sa as resolveDiscordPreviewStreamMode, si as unwrapKnownShellMultiplexerInvocation, sn as resolveMessageChannel, sr as buildAssistantMessage, st as SESSION_RUN_STORE_FILE_NAME, t as addRegisteredPluginApi, ti as resolveAllowlistCandidatePath, tn as isGatewayMessageChannel, to as RecoveryAdmissionError, tt as setSessionRuntimeModel, u as executePluginCommand, un as GATEWAY_CLIENT_NAMES, ur as buildUsageWithNoCost, ut as resolveSessionFilePathOptions, v as replaceSpeechProviders, va as resolveOpenClawAgentDir, vn as getRuntimeConfigSnapshot, vt as listChannelDocks, wa as normalizeSecretInput, wi as isAvatarHttpUrl, wn as isTrustedSafeBinPath, wr as resolveProfilesUnavailableReason, wt as resolveAllowlistMatchByCandidates, xa as readProcessElapsedSeconds, xn as readConfigFileSnapshotForWrite, xr as isProfileInCooldown, xt as listChannelPlugins, ya as withFileLock$1, yn as loadConfig, yt as normalizeSignalMessagingTarget, z as commitPreparedConfiguredSessionStorageRuntimeActivation, za as readTaskWorkStates, zi as resolveMemorySlotDecision, zn as buildConfiguredAllowlistKeys, zr as parseConfigPath, zt as resolveIMessageAccount } from "./registry-
|
|
1
|
+
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import { $ as mergeSessionEntry, $a as listBufferedPluginTaskPasses, $i as getActivePluginRegistry, $r as DEFAULT_SAFE_BINS, $t as INTERNAL_MESSAGE_CHANNEL, A as triggerInternalHook, Aa as DEFAULT_CONTEXT_TOKENS, Ai as loadPluginManifestRegistry, An as isWindowsPlatform, Ar as parseDotPath, At as resolveSlackReplyToMode, B as getConfiguredSessionStorageRuntime, Bi as discoverOpenClawPlugins, Bn as buildModelAliasIndex, Br as setConfigValueAtPath, Bt as createDiscordActionGate, Ci as isAvatarDataUrl, Cn as getTrustedSafeBinDirs, Cr as markAuthProfileUsed, Ct as formatAllowlistMatchMeta, Da as normalizeResolvedSecretInputString, Di as buildChannelAccountBindings, Dn as validateSafeBinArgv, Dr as describeUnknownError$1, Dt as normalizeStringEntries, Ea as hasConfiguredSecretInput, Ei as isSupportedLocalAvatarExtension, En as normalizeTrustedSafeBinDirs, Er as resolveSecretRefValues, Et as normalizeHyphenSlug, F as requireSessionStorageRuntime, Fa as resolveShellEnvFallbackTimeoutMs, Fi as applyTestPluginDefaults, Fn as resolveSafeBinProfiles, Fr as resetConfigOverrides, Ft as isWhatsAppGroupJid, G as readSessionUpdatedAt, Ga as channelTargetsSchema, Gi as CHAT_CHANNEL_ORDER, Gn as normalizeProviderId, Gt as resolveChannelGroupRequireMention, H as loadSessionStore, Hi as safeStatSync, Hn as isCliProvider, Hr as validateConfigObjectWithPlugins, Ht as resolveDiscordAccount, Ia as isTruthyEnvValue, Ii as isBundledChannelEnabledByChannelConfig, In as applyMergePatch, Ir as setConfigOverride, It as normalizeWhatsAppTarget, J as updateLastRoute, Ja as applyTargetToParams, Ji as normalizeAnyChannelId, Jn as resolveDefaultModelForAgent, Jr as normalizeScpRemoteHost, Jt as deliveryContextFromSession, K as recordSessionMetaFromInbound, Ka as optionalStringEnum, Ki as getChatChannelMeta, Kn as parseModelRef, Kr as resolveIMessageAttachmentRoots, Kt as resolveChannelGroupToolsPolicy, L as closeConfiguredSessionStorageRuntime, La as parseBooleanValue$1, Li as normalizePluginsConfig, Ln as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Lr as unsetConfigOverride, Lt as hasAnyWhatsAppAuth, M as createConversationReadQuery, Ma as DEFAULT_PROVIDER, Mi as DOCS_SITE_URL, Mn as splitShellArgs, Mr as formatCliCommand, Mt as resolveSlackBotToken, N as getConversationReadQuery, Na as VERSION, Ni as docsSiteUrl, Nn as SAFE_BIN_PROFILES, Nr as resolveCliName, Nt as listEnabledSignalAccounts, O as normalizeProviderId$1, Oa as resolveSecretInputRef, On as analyzeShellCommand, Or as isNonEmptyString, Ot as normalizeStringEntriesLower, Pa as getShellPathFromLoginShell, Pi as BUNDLED_ENABLED_BY_DEFAULT, Pn as normalizeSafeBinProfileFixtures, Pr as getConfigOverrides, Pt as resolveSignalAccount, Q as DEFAULT_RESET_TRIGGERS, Qa as discardBufferedPluginTaskPasses, Qi as getActiveGatewayPluginRegistry, Qn as resolveThinkingDefault, Qr as resolveExecPolicyPreset, Qt as normalizeSessionDeliveryFields, R as closeReplacedConfiguredSessionStorageRuntime, Ra as resolveOwnerDisplaySetting, Ri as resolveEffectiveEnableState, Rn as buildAllowedModelSet, Rr as getConfigValueAtPath, Rt as resolveWhatsAppAccount, Sa as resolveAuthProfileDisplayLabel, Si as AVATAR_MAX_BYTES, Sn as writeConfigFile, Sr as markAuthProfileFailure, St as normalizeChannelId$1, Ta as coerceSecretRef, Ti as isPathWithinRoot, Tn as listWritableExplicitTrustedSafeBinDirs, Tr as resolveApiKeyForProfile, Tt as normalizeAtHashSlug, U as loadSessionStoreFromDisk, Ui as readManifestNamespace, Un as modelKey, Ut as normalizeDiscordToken, Vi as isPathInside, Vn as findNormalizedProviderValue, Vr as unsetConfigValueAtPath, Vt as listEnabledDiscordAccounts, W as prepareConfiguredSessionStorageRuntimeActivation, Wa as channelTargetSchema, Wn as normalizeModelRef$2, Wr as isInboundPathAllowed, Wt as resolveChannelGroupPolicy, X as updateSessionStoreEntry, Xa as actionRequiresTarget, Xi as normalizeChatChannelId, Xn as resolveReasoningDefault, Xt as mergeDeliveryContext, Y as updateSessionStore, Ya as actionHasTarget, Yi as normalizeChannelId$2, Yn as resolveModelRefFromString, Yr as parseNonNegativeByteSize, Yt as deliveryContextKey, Zi as resolveChannelConfigId, Zn as resolveSubagentSpawnModelSelection, Zr as secretRefKey, Zt as normalizeDeliveryContext, _ as isBuiltinTtsProvider, _a as resolveAuthStorePathForDisplay, _n as createConfigIO, _r as resolveAuthProfileOrder, _t as getChannelDock, aa as isSafeExecutableValue, ai as isShellWrapperExecutable, an as normalizeMessageChannel, ar as OLLAMA_NATIVE_BASE_URL, ba as isPidAlive, bn as readConfigFileSnapshot, br as getSoonestCooldownExpiry, bt as getChannelPlugin, c as clearPluginCommands, ca as resolveSlackNativeStreaming, cn as GATEWAY_CLIENT_IDS, cr as buildAssistantMessageWithZeroUsage, d as listPluginCommands, dn as normalizeAccountId$1, dr as getApiKeyForModel, dt as resolveSessionTranscriptPath, ea as getActivePluginRegistryKey, ei as matchAllowlist, en as isDeliverableMessageChannel, eo as replaceBufferedPluginTaskPasses, et as resolveFreshSessionTotalTokens, f as matchPluginCommand, fa as dedupeProfileIds, fn as acquireSessionWriteLock, fr as getCustomProviderApiKey, g as getSpeechProvider, gn as advanceRuntimeConfigSnapshot, gr as resolveModelAuthMode, gt as resolveParentSessionGroupId, h as getRegisteredSpeechProviders, ha as ensureAuthProfileStore, hr as resolveEnvApiKey, ht as resolveGroupSessionKey, i as createPluginRegistry, ii as isDispatchWrapperExecutable, in as listDeliverableMessageChannels, ir as retryAsync, j as StorageReadAccessError, ja as DEFAULT_MODEL, jn as splitCommandChain, jr as runTasksWithConcurrency, jt as resolveSlackAppToken, k as createInternalHookEvent, ka as splitTrailingAuthProfile, ki as validateJsonSchemaValue, kn as buildEnforcedShellCommand, kr as isRecord$1, kt as resolveSlackAccount, la as resolveSlackStreamingMode, li as parseDurationMs, ln as GATEWAY_CLIENT_MODES, lr as buildStreamErrorAssistantMessage, lt as resolveSessionFilePath, m as BUILTIN_TTS_PROVIDER_IDS, ma as markAuthProfileGood, mn as CtxProjectionCorruptionError, mt as deriveSessionMetaPatch, n as clearRegisteredPluginApis, na as requireActivePluginRegistry, ni as resolveCommandResolutionFromArgv, nn as isInternalMessageChannel, nt as parseSessionIndexRecordKey, o as normalizePluginHttpPath, oa as mapStreamingModeToSlackLegacyDraftStreamMode, oi as unwrapKnownDispatchWrapperInvocation, on as resolveGatewayMessageChannel, or as createOllamaStreamFn, ot as SAFE_SESSION_ID_RE, p as registerPluginCommand, pa as listProfilesForProvider, pn as resolveSessionLockMaxHoldFromTimeout, pr as requireApiKey, pt as resolveStorePath, q as refreshConfiguredSessionBindingEntry, qa as stringEnum, qi as listChatChannels, qn as resolveConfiguredModelRef, qr as resolveIMessageRemoteAttachmentRoots, qt as resolveAccountEntry, ra as setActivePluginRegistry, ri as extractShellWrapperInlineCommand, rn as isMarkdownCapableMessageChannel, s as buildPluginHealthReport, sa as resolveDiscordPreviewStreamMode, si as unwrapKnownShellMultiplexerInvocation, sn as resolveMessageChannel, sr as buildAssistantMessage, st as SESSION_RUN_STORE_FILE_NAME, t as addRegisteredPluginApi, ti as resolveAllowlistCandidatePath, tn as isGatewayMessageChannel, to as RecoveryAdmissionError, tt as setSessionRuntimeModel, u as executePluginCommand, un as GATEWAY_CLIENT_NAMES, ur as buildUsageWithNoCost, ut as resolveSessionFilePathOptions, v as replaceSpeechProviders, va as resolveOpenClawAgentDir, vn as getRuntimeConfigSnapshot, vt as listChannelDocks, wa as normalizeSecretInput, wi as isAvatarHttpUrl, wn as isTrustedSafeBinPath, wr as resolveProfilesUnavailableReason, wt as resolveAllowlistMatchByCandidates, xa as readProcessElapsedSeconds, xn as readConfigFileSnapshotForWrite, xr as isProfileInCooldown, xt as listChannelPlugins, ya as withFileLock$1, yn as loadConfig, yt as normalizeSignalMessagingTarget, z as commitPreparedConfiguredSessionStorageRuntimeActivation, za as readTaskWorkStates, zi as resolveMemorySlotDecision, zn as buildConfiguredAllowlistKeys, zr as parseConfigPath, zt as resolveIMessageAccount } from "./registry-B2fZdv3f.js";
|
|
3
3
|
import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-BIDPYPVC.js";
|
|
4
4
|
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3, x as safeParseJson } from "./subsystem-BRH2eiRx.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
6
|
import { $ as resolveCanonicalIdentity, A as logError, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, J as isValidAgentId, L as DEFAULT_AGENT_ID, M as logWarn, O as spawnWithFallback, P as resolveAgentModelFallbackValues, Q as resolveAgentIdFromSessionKey, S as filterBootstrapFilesForSession, U as classifySessionKeyShape, V as buildAgentMainSessionKey, X as normalizeMainKey, Y as normalizeAgentId, Z as normalizeToken, _ as DEFAULT_IDENTITY_FILENAME, _t as resolveThreadParentSessionKey, at as DEFAULT_ACCOUNT_ID, c as resolveDefaultAgentId, d as resolveSessionAgentId, dt as getSubagentDepth, et as resolveConfiguredCanonicalIdentity, f as resolveSessionAgentIds, ft as isAcpSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, gt as parseAgentSessionKey, h as DEFAULT_BOOTSTRAP_FILENAME, ht as isSubagentSessionKey, i as resolveAgentDir, it as toAgentStoreSessionKey, j as logInfo, k as logDebug, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as sanitizeAgentId, o as resolveAgentSkillsFilter, ot as normalizeAccountId$2, pt as isCronSessionKey, q as isKnownAgentMainSessionKey, r as resolveAgentConfig, rt as sessionKeyAgentMatches, s as resolveAgentWorkspaceDir, st as normalizeOptionalAccountId, t as hasConfiguredModelFallbacks, tt as resolveThreadSessionKeys, u as resolveRunModelFallbacksOverride, ut as WAKE_GATE_SESSION_KEY_SEGMENT, vt as stripAgentSessionKeyPrefix, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as DEVICE_SENDER_PREFIX } from "./agent-scope-pXqlu2sM.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-D97OGYfX.js";
|
|
8
8
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-CpI_90Wf.js";
|
|
9
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
10
|
-
import { $ as stripUndefinedFields, A as searchMessagesDiscord, At as applyChannelMatchMeta, B as listGuildChannelsDiscord, C as deleteMessageDiscord, Ct as resolveGroupDmAllow, D as listThreadsDiscord, Dt as resolveDiscordSystemLocation, E as listPinsDiscord, Et as formatDiscordUserTag, F as fetchChannelInfoDiscord, G as uploadEmojiDiscord, H as removeRoleDiscord, I as fetchMemberInfoDiscord, J as deleteChannelDiscord, K as uploadStickerDiscord, L as fetchRoleInfoDiscord, M as addRoleDiscord, Mt as normalizeChannelSlug, N as banMemberDiscord, Nt as resolveChannelEntryMatchWithFallback, O as pinMessageDiscord, Ot as resolveTimestampMs, P as createScheduledEventDiscord, Q as setChannelPermissionDiscord, R as fetchVoiceStatusDiscord, S as createThreadDiscord, St as resolveDiscordShouldRequireMention, T as fetchMessageDiscord, Tt as formatDiscordReactionEmoji, U as timeoutMemberDiscord, V as listScheduledEventsDiscord, W as listGuildEmojisDiscord, X as moveChannelDiscord, Y as editChannelDiscord, Z as removeChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordChannelConfigWithFallback, a as sendDiscordComponentMessage, at as normalizePollInput, b as getChannelActivity, bt as resolveDiscordOwnerAccess, c as parseDiscordComponentCustomId, ct as createDiscordRetryRunner, d as parseDiscordModalCustomIdForCarbon, dt as listDiscordDirectoryGroupsLive, f as readDiscordComponentSpec, ft as listDiscordDirectoryPeersLive, g as sendPollDiscord, gt as resolveDiscordAllowListMatch, h as sendMessageDiscord, ht as normalizeDiscordSlug, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as unpinMessageDiscord, jt as buildChannelKeyCandidates, k as readMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as parseDiscordTarget, m as resolveDiscordModalEntry, mt as normalizeDiscordAllowList, n as reactMessageDiscord, o as createDiscordFormModal, ot as createDiscordClient, p as resolveDiscordComponentEntry, pt as isDiscordGroupAllowedByPolicy, q as createChannelDiscord, r as removeOwnReactionsDiscord, rt as hasAnyGuildPermissionDiscord, s as formatDiscordComponentEventText, st as createDiscordRestClient, t as fetchReactionsDiscord, tt as fetchChannelPermissionsDiscord, u as parseDiscordModalCustomId, ut as resolveDiscordChannelId, v as sendVoiceMessageDiscord, vt as resolveDiscordGuildEntry, w as editMessageDiscord, wt as shouldEmitDiscordReactionNotification, x as recordChannelActivity, xt as resolveDiscordOwnerAllowFrom, y as sendWebhookMessageDiscord, yt as resolveDiscordMemberAccessState, z as kickMemberDiscord } from "./send-
|
|
9
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-C2H4l79q.js";
|
|
10
|
+
import { $ as stripUndefinedFields, A as searchMessagesDiscord, At as applyChannelMatchMeta, B as listGuildChannelsDiscord, C as deleteMessageDiscord, Ct as resolveGroupDmAllow, D as listThreadsDiscord, Dt as resolveDiscordSystemLocation, E as listPinsDiscord, Et as formatDiscordUserTag, F as fetchChannelInfoDiscord, G as uploadEmojiDiscord, H as removeRoleDiscord, I as fetchMemberInfoDiscord, J as deleteChannelDiscord, K as uploadStickerDiscord, L as fetchRoleInfoDiscord, M as addRoleDiscord, Mt as normalizeChannelSlug, N as banMemberDiscord, Nt as resolveChannelEntryMatchWithFallback, O as pinMessageDiscord, Ot as resolveTimestampMs, P as createScheduledEventDiscord, Q as setChannelPermissionDiscord, R as fetchVoiceStatusDiscord, S as createThreadDiscord, St as resolveDiscordShouldRequireMention, T as fetchMessageDiscord, Tt as formatDiscordReactionEmoji, U as timeoutMemberDiscord, V as listScheduledEventsDiscord, W as listGuildEmojisDiscord, X as moveChannelDiscord, Y as editChannelDiscord, Z as removeChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordChannelConfigWithFallback, a as sendDiscordComponentMessage, at as normalizePollInput, b as getChannelActivity, bt as resolveDiscordOwnerAccess, c as parseDiscordComponentCustomId, ct as createDiscordRetryRunner, d as parseDiscordModalCustomIdForCarbon, dt as listDiscordDirectoryGroupsLive, f as readDiscordComponentSpec, ft as listDiscordDirectoryPeersLive, g as sendPollDiscord, gt as resolveDiscordAllowListMatch, h as sendMessageDiscord, ht as normalizeDiscordSlug, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as unpinMessageDiscord, jt as buildChannelKeyCandidates, k as readMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as parseDiscordTarget, m as resolveDiscordModalEntry, mt as normalizeDiscordAllowList, n as reactMessageDiscord, o as createDiscordFormModal, ot as createDiscordClient, p as resolveDiscordComponentEntry, pt as isDiscordGroupAllowedByPolicy, q as createChannelDiscord, r as removeOwnReactionsDiscord, rt as hasAnyGuildPermissionDiscord, s as formatDiscordComponentEventText, st as createDiscordRestClient, t as fetchReactionsDiscord, tt as fetchChannelPermissionsDiscord, u as parseDiscordModalCustomId, ut as resolveDiscordChannelId, v as sendVoiceMessageDiscord, vt as resolveDiscordGuildEntry, w as editMessageDiscord, wt as shouldEmitDiscordReactionNotification, x as recordChannelActivity, xt as resolveDiscordOwnerAllowFrom, y as sendWebhookMessageDiscord, yt as resolveDiscordMemberAccessState, z as kickMemberDiscord } from "./send-BTTeLdxm.js";
|
|
11
11
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-C6NdYDq9.js";
|
|
12
12
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-8NfUbGWc.js";
|
|
13
|
-
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-
|
|
13
|
+
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-BnICCl2r.js";
|
|
14
14
|
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-g1-rZffS.js";
|
|
15
|
-
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-
|
|
16
|
-
import { $t as extractLegacyTranscriptEntryFields, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Cr as isSessionArchiveArtifactName, D as eventOrder, Dr as resolveProviderRuntimeIdentity, E as DB_SESSION_HYDRATION_LIMIT, Er as resolveProviderPromptCacheKey, F as truncateToolResultToChars, G as createSessionStorageRuntimeFromConfig, Gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, H as isToolResultMessage, I as CHARS_PER_TOKEN_ESTIMATE$2, Jn as normalizeHttpWebhookUrl, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, N as TOOL_RESULT_TEXT_WEIGHT, O as pickLeaf, P as truncateTextHeadTail, R as createMessageCharEstimateCache, S as initializeGlobalHookRunner, Sr as isPrimarySessionTranscriptFileName, T as promptBuildResultToContribution, Tr as buildPluginTurnIdentity, U as parseInlineDirectives$1, Ut as deriveLegacyActorIdentity, V as getToolResultText$1, W as attachPgPoolErrorListeners, Xn as resolveDefaultCronStaggerMs, Xt as sanitizeAppendEntry, Y as validateCtxStorage, Yn as normalizeCronStaggerMs, Zn as parseAbsoluteTimeMs, _n as resolveSenderLabel, _r as resolveThreadFlag, a as resolveMirroredTranscriptText, an as buildInboundMetaSystemPrompt, ar as deriveSessionTotalTokens, b as getGlobalHookRunner, bn as CREATE_CTX_STORAGE_OWNER_SQL, br as resolveExplicitAgentSessionKey, c as drainPendingPrimaryWrites, cn as attachMessageIngress, cr as normalizeUsage, d as repairToolUseResultPairing, dn as messageTime, en as sanitizeJsonb, f as sanitizeToolCallInputs, fn as stripMessageCarriers, fr as resolveSessionKey, g as sanitizeToolCallIdsForCloudCodeAssist, gn as resolveTimezone, gr as resolveSessionResetType, h as canonicalToolCallIdBase, hn as formatZonedTimestamp, hr as resolveSessionResetPolicy, i as appendAssistantMessageToSessionTranscript, in as toJsonValue$1, ir as derivePromptTokens, j as sessionLikelyHasOversizedToolResults, jt as buildEqualityProjection, k as capToolResultContent, l as guardSessionManager, ln as getMessageIngress, m as stripToolResultDetails, mr as resolveChannelResetConfig, n as parseSessionThreadInfo, nn as createCurrentUserPromptEnvelope, o as openDbSessionManager, on as collectInboundUserContext, or as hasNonzeroUsage, p as sanitizeToolUseResultPairing, pn as formatMessageStamp, pr as evaluateSessionFreshness, qn as inferLegacyName, r as resolveAndPersistSessionFile, rn as mergePromptContributions, s as runSerializedBySession, sn as renderInboundUserContext, sr as makeZeroUsageSnapshot, t as extractDeliveryInfo, tn as sha256, u as openRawToolResultStash, un as isRepresentableEpochMs, v as hasInterSessionUserProvenance, vr as canonicalizeMainSessionAlias, w as hasHookForPlugin, wr as buildPluginRuntimeIdentity, x as getGlobalPluginRegistry, xr as resolveMainSessionKey, y as normalizeInputProvenance, yr as resolveAgentMainSessionKey, z as estimateContextChars$1 } from "./sessions-
|
|
15
|
+
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-CLpe5Ba3.js";
|
|
16
|
+
import { $t as extractLegacyTranscriptEntryFields, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Cr as isSessionArchiveArtifactName, D as eventOrder, Dr as resolveProviderRuntimeIdentity, E as DB_SESSION_HYDRATION_LIMIT, Er as resolveProviderPromptCacheKey, F as truncateToolResultToChars, G as createSessionStorageRuntimeFromConfig, Gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, H as isToolResultMessage, I as CHARS_PER_TOKEN_ESTIMATE$2, Jn as normalizeHttpWebhookUrl, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, N as TOOL_RESULT_TEXT_WEIGHT, O as pickLeaf, P as truncateTextHeadTail, R as createMessageCharEstimateCache, S as initializeGlobalHookRunner, Sr as isPrimarySessionTranscriptFileName, T as promptBuildResultToContribution, Tr as buildPluginTurnIdentity, U as parseInlineDirectives$1, Ut as deriveLegacyActorIdentity, V as getToolResultText$1, W as attachPgPoolErrorListeners, Xn as resolveDefaultCronStaggerMs, Xt as sanitizeAppendEntry, Y as validateCtxStorage, Yn as normalizeCronStaggerMs, Zn as parseAbsoluteTimeMs, _n as resolveSenderLabel, _r as resolveThreadFlag, a as resolveMirroredTranscriptText, an as buildInboundMetaSystemPrompt, ar as deriveSessionTotalTokens, b as getGlobalHookRunner, bn as CREATE_CTX_STORAGE_OWNER_SQL, br as resolveExplicitAgentSessionKey, c as drainPendingPrimaryWrites, cn as attachMessageIngress, cr as normalizeUsage, d as repairToolUseResultPairing, dn as messageTime, en as sanitizeJsonb, f as sanitizeToolCallInputs, fn as stripMessageCarriers, fr as resolveSessionKey, g as sanitizeToolCallIdsForCloudCodeAssist, gn as resolveTimezone, gr as resolveSessionResetType, h as canonicalToolCallIdBase, hn as formatZonedTimestamp, hr as resolveSessionResetPolicy, i as appendAssistantMessageToSessionTranscript, in as toJsonValue$1, ir as derivePromptTokens, j as sessionLikelyHasOversizedToolResults, jt as buildEqualityProjection, k as capToolResultContent, l as guardSessionManager, ln as getMessageIngress, m as stripToolResultDetails, mr as resolveChannelResetConfig, n as parseSessionThreadInfo, nn as createCurrentUserPromptEnvelope, o as openDbSessionManager, on as collectInboundUserContext, or as hasNonzeroUsage, p as sanitizeToolUseResultPairing, pn as formatMessageStamp, pr as evaluateSessionFreshness, qn as inferLegacyName, r as resolveAndPersistSessionFile, rn as mergePromptContributions, s as runSerializedBySession, sn as renderInboundUserContext, sr as makeZeroUsageSnapshot, t as extractDeliveryInfo, tn as sha256, u as openRawToolResultStash, un as isRepresentableEpochMs, v as hasInterSessionUserProvenance, vr as canonicalizeMainSessionAlias, w as hasHookForPlugin, wr as buildPluginRuntimeIdentity, x as getGlobalPluginRegistry, xr as resolveMainSessionKey, y as normalizeInputProvenance, yr as resolveAgentMainSessionKey, z as estimateContextChars$1 } from "./sessions-DK6oCQOK.js";
|
|
17
17
|
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-B9fPPmdF.js";
|
|
18
18
|
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-DUGujS2U.js";
|
|
19
19
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Bi2az-SQ.js";
|
|
20
|
-
import { A as transcriptEntriesToMessages, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, M as sleepWithAbort, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as stripLeadingInboundMetadata, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as computeBackoff, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as jsonUtf8Bytes, n as formatOutboundPayloadLog, o as throwIfAborted, p as extractToolCallNames, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as capArrayByJsonBytes, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
20
|
+
import { A as transcriptEntriesToMessages, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, M as sleepWithAbort, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as stripLeadingInboundMetadata, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as computeBackoff, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as jsonUtf8Bytes, n as formatOutboundPayloadLog, o as throwIfAborted, p as extractToolCallNames, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as capArrayByJsonBytes, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-Ch9aZhwU.js";
|
|
21
21
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-C1_MQbGi.js";
|
|
22
22
|
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-ClDI8hSK.js";
|
|
23
23
|
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-iIqxjj75.js";
|
|
24
24
|
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DCWgnDzF.js";
|
|
25
|
-
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
26
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
25
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B89VGo5J.js";
|
|
26
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DwumgIiv.js";
|
|
27
27
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CruxVpoI.js";
|
|
28
|
-
import { c as streamSignalEvents, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
29
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
30
|
-
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-
|
|
28
|
+
import { c as streamSignalEvents, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-Da_Bzzfq.js";
|
|
29
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-BL_8TUpo.js";
|
|
30
|
+
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-DCE_R4y0.js";
|
|
31
31
|
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";
|
|
32
32
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
33
|
-
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-
|
|
34
|
-
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-
|
|
33
|
+
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-DoL_a5Ag.js";
|
|
34
|
+
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-xa_X3i6x.js";
|
|
35
35
|
import { t as CommandLane } from "./lanes-ZjTPuJtM.js";
|
|
36
|
-
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-
|
|
37
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
38
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
39
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
40
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
41
|
-
import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-
|
|
42
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
43
|
-
import { r as isLoopbackHost } from "./ws-
|
|
44
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
45
|
-
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-
|
|
36
|
+
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-CDOrtY8K.js";
|
|
37
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-x05eYKmS.js";
|
|
38
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-_7KHCw0F.js";
|
|
39
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-D6v10W4M.js";
|
|
40
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DAdG8kKZ.js";
|
|
41
|
+
import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-BNX7Pzy0.js";
|
|
42
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-Cg0gQBOQ.js";
|
|
43
|
+
import { r as isLoopbackHost } from "./ws-Y4yq5bFP.js";
|
|
44
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-CuwcSHGC.js";
|
|
45
|
+
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-Coq6gsYM.js";
|
|
46
46
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-ClPXs9e9.js";
|
|
47
47
|
import { r as writeJsonAtomic } from "./json-files-Dt0in6lC.js";
|
|
48
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
49
|
-
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
50
|
-
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-
|
|
51
|
-
import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
52
|
-
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-
|
|
53
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
54
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
55
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
56
|
-
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-
|
|
57
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
58
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
59
|
-
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-
|
|
60
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
61
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send
|
|
62
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
63
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
48
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DmXIbizG.js";
|
|
49
|
+
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B2cnsn76.js";
|
|
50
|
+
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-CHKavKrI.js";
|
|
51
|
+
import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CjGXglxV.js";
|
|
52
|
+
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-BhhGeJmU.js";
|
|
53
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-bCLlcizq.js";
|
|
54
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-B9z3RUEA.js";
|
|
55
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-DUBVCsOu.js";
|
|
56
|
+
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BpGAzUP-.js";
|
|
57
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-1U4vJkOV.js";
|
|
58
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BxvUWxD5.js";
|
|
59
|
+
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-DiGdKkfQ.js";
|
|
60
|
+
import { t as convertMarkdownTables } from "./tables-BwH0lnK4.js";
|
|
61
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send--lqcW4uz.js";
|
|
62
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-CDgl3Kkm.js";
|
|
63
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-3qoFL0Ik.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-D5SJyg1z.js";
|
|
65
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-_or1gqjm.js";
|
|
66
66
|
import { t as isQmdScopeAllowed } from "./qmd-scope-Bh_PgVpK.js";
|
|
67
67
|
import { createRequire } from "node:module";
|
|
68
68
|
import * as path$1 from "node:path";
|
|
@@ -85,7 +85,7 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
|
85
85
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
86
86
|
import { EdgeTTS } from "node-edge-tts";
|
|
87
87
|
import net from "node:net";
|
|
88
|
-
import WebSocket
|
|
88
|
+
import WebSocket from "ws";
|
|
89
89
|
import { createJiti } from "jiti";
|
|
90
90
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
91
91
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
@@ -10567,7 +10567,7 @@ async function sendTranscriptEcho(params) {
|
|
|
10567
10567
|
}
|
|
10568
10568
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
10569
10569
|
try {
|
|
10570
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10570
|
+
const { deliverOutboundPayloads } = await import("./deliver-D9msQObz.js");
|
|
10571
10571
|
await deliverOutboundPayloads({
|
|
10572
10572
|
cfg,
|
|
10573
10573
|
channel: normalizedChannel,
|
|
@@ -19142,7 +19142,7 @@ async function routeReply(params) {
|
|
|
19142
19142
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
19143
19143
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
19144
19144
|
try {
|
|
19145
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
19145
|
+
const { deliverOutboundPayloads } = await import("./deliver-D9msQObz.js");
|
|
19146
19146
|
const outboundSession = buildOutboundSessionContext({
|
|
19147
19147
|
cfg,
|
|
19148
19148
|
agentId: resolvedAgentId,
|
|
@@ -23093,7 +23093,7 @@ async function handleHeartbeatError(params) {
|
|
|
23093
23093
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
23094
23094
|
async function ackAnnounceExecuted(payload) {
|
|
23095
23095
|
if (payload.kind !== "announce") return;
|
|
23096
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
23096
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-6vhRKS_0.js");
|
|
23097
23097
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
23098
23098
|
await markSubagentAnnounceExecuted(runId);
|
|
23099
23099
|
} catch {}
|
|
@@ -23517,7 +23517,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
23517
23517
|
let subagentRegistryAccessPromise;
|
|
23518
23518
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
23519
23519
|
function loadSubagentRegistryAccess() {
|
|
23520
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
23520
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-6vhRKS_0.js").catch((err) => {
|
|
23521
23521
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
23522
23522
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
23523
23523
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -37953,7 +37953,7 @@ async function createModelSelectionState(params) {
|
|
|
37953
37953
|
}
|
|
37954
37954
|
}
|
|
37955
37955
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
37956
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
37956
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-B-4RVXfZ.js");
|
|
37957
37957
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
37958
37958
|
const providerKey = normalizeProviderId(provider);
|
|
37959
37959
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -55850,7 +55850,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
55850
55850
|
return;
|
|
55851
55851
|
}
|
|
55852
55852
|
try {
|
|
55853
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
55853
|
+
const { deliverOutboundPayloads } = await import("./deliver-D9msQObz.js");
|
|
55854
55854
|
const outboundSession = buildOutboundSessionContext({
|
|
55855
55855
|
cfg: params.cfg,
|
|
55856
55856
|
sessionKey: params.sessionKey
|
|
@@ -62628,7 +62628,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
62628
62628
|
let transcript;
|
|
62629
62629
|
let carry;
|
|
62630
62630
|
if (needsPreflightTranscription) try {
|
|
62631
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62631
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-C0ub7Fjl.js");
|
|
62632
62632
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
62633
62633
|
if (uploadable.length > 0) {
|
|
62634
62634
|
const preflight = await transcribeFirstAudio({
|
|
@@ -69898,19 +69898,19 @@ function createDefaultDeps() {
|
|
|
69898
69898
|
};
|
|
69899
69899
|
}),
|
|
69900
69900
|
sendMessageDiscord: async (...args) => {
|
|
69901
|
-
const { sendMessageDiscord } = await import("./send-
|
|
69901
|
+
const { sendMessageDiscord } = await import("./send-BdBXInWs.js");
|
|
69902
69902
|
return await sendMessageDiscord(...args);
|
|
69903
69903
|
},
|
|
69904
69904
|
sendMessageSlack: async (...args) => {
|
|
69905
|
-
const { sendMessageSlack } = await import("./send-
|
|
69905
|
+
const { sendMessageSlack } = await import("./send-BCuBSBMx.js");
|
|
69906
69906
|
return await sendMessageSlack(...args);
|
|
69907
69907
|
},
|
|
69908
69908
|
sendMessageSignal: async (...args) => {
|
|
69909
|
-
const { sendMessageSignal } = await import("./send-
|
|
69909
|
+
const { sendMessageSignal } = await import("./send-EvSbTa2T.js");
|
|
69910
69910
|
return await sendMessageSignal(...args);
|
|
69911
69911
|
},
|
|
69912
69912
|
sendMessageIMessage: async (...args) => {
|
|
69913
|
-
const { sendMessageIMessage } = await import("./send-
|
|
69913
|
+
const { sendMessageIMessage } = await import("./send-B9QAaMSh.js");
|
|
69914
69914
|
return await sendMessageIMessage(...args);
|
|
69915
69915
|
}
|
|
69916
69916
|
};
|
|
@@ -73505,7 +73505,7 @@ var ResilientGatewayPlugin = class extends GatewayPlugin {
|
|
|
73505
73505
|
}
|
|
73506
73506
|
createWebSocket(url) {
|
|
73507
73507
|
if (!this.wsAgent) return super.createWebSocket(url);
|
|
73508
|
-
return new WebSocket
|
|
73508
|
+
return new WebSocket(url, { agent: this.wsAgent });
|
|
73509
73509
|
}
|
|
73510
73510
|
};
|
|
73511
73511
|
function createDiscordGatewayPlugin(params) {
|
|
@@ -81232,7 +81232,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
81232
81232
|
}
|
|
81233
81233
|
let commandsRegistry;
|
|
81234
81234
|
async function getCommandsRegistry() {
|
|
81235
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
81235
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-DCE_R4y0.js").then((n) => n.n);
|
|
81236
81236
|
return commandsRegistry;
|
|
81237
81237
|
}
|
|
81238
81238
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -81562,14 +81562,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81562
81562
|
const channelName = channelInfo?.name;
|
|
81563
81563
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
81564
81564
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
81565
|
-
import("./resolve-route-
|
|
81566
|
-
import("./inbound-context-
|
|
81567
|
-
import("./provider-dispatcher-
|
|
81565
|
+
import("./resolve-route-B2cnsn76.js").then((n) => n.r),
|
|
81566
|
+
import("./inbound-context-BpGAzUP-.js").then((n) => n.n),
|
|
81567
|
+
import("./provider-dispatcher-CfTRbczQ.js")
|
|
81568
81568
|
]);
|
|
81569
81569
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
81570
81570
|
import("./conversation-label-a1YYj3eN.js"),
|
|
81571
|
-
import("./reply-prefix-
|
|
81572
|
-
import("./session-meta-
|
|
81571
|
+
import("./reply-prefix-BL_8TUpo.js").then((n) => n.n),
|
|
81572
|
+
import("./session-meta-CDgl3Kkm.js").then((n) => n.n)
|
|
81573
81573
|
]);
|
|
81574
81574
|
const route = resolveAgentRoute({
|
|
81575
81575
|
cfg,
|
|
@@ -81634,9 +81634,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81634
81634
|
});
|
|
81635
81635
|
const deliverSlashPayloads = async (replies) => {
|
|
81636
81636
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
81637
|
-
import("./replies-
|
|
81638
|
-
import("./chunk-
|
|
81639
|
-
import("./markdown-tables-
|
|
81637
|
+
import("./replies-Bm97_zq-.js"),
|
|
81638
|
+
import("./chunk-BnICCl2r.js").then((n) => n.s),
|
|
81639
|
+
import("./markdown-tables-B9z3RUEA.js").then((n) => n.t)
|
|
81640
81640
|
]);
|
|
81641
81641
|
await deliverSlackSlashReplies({
|
|
81642
81642
|
replies,
|
|
@@ -81690,7 +81690,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81690
81690
|
let nativeCommands = [];
|
|
81691
81691
|
if (nativeEnabled) {
|
|
81692
81692
|
reg = await getCommandsRegistry();
|
|
81693
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
81693
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DiGdKkfQ.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
81694
81694
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
81695
81695
|
skillCommands,
|
|
81696
81696
|
provider: "slack"
|
|
@@ -82634,7 +82634,7 @@ async function getMemorySearchManager(params) {
|
|
|
82634
82634
|
if (cached) return { manager: cached };
|
|
82635
82635
|
}
|
|
82636
82636
|
try {
|
|
82637
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
82637
|
+
const { QmdMemoryManager } = await import("./qmd-manager-C0ftlkJ0.js");
|
|
82638
82638
|
const primary = await QmdMemoryManager.create({
|
|
82639
82639
|
cfg: params.cfg,
|
|
82640
82640
|
agentId: params.agentId,
|
|
@@ -82646,7 +82646,7 @@ async function getMemorySearchManager(params) {
|
|
|
82646
82646
|
const wrapper = new FallbackMemoryManager({
|
|
82647
82647
|
primary,
|
|
82648
82648
|
fallbackFactory: async () => {
|
|
82649
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82649
|
+
const { MemoryIndexManager } = await import("./manager-D53hBP42.js");
|
|
82650
82650
|
return await MemoryIndexManager.get(params);
|
|
82651
82651
|
}
|
|
82652
82652
|
}, () => {
|
|
@@ -82661,7 +82661,7 @@ async function getMemorySearchManager(params) {
|
|
|
82661
82661
|
}
|
|
82662
82662
|
}
|
|
82663
82663
|
try {
|
|
82664
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82664
|
+
const { MemoryIndexManager } = await import("./manager-D53hBP42.js");
|
|
82665
82665
|
return { manager: await MemoryIndexManager.get(params) };
|
|
82666
82666
|
} catch (err) {
|
|
82667
82667
|
return {
|
|
@@ -87864,7 +87864,7 @@ function createPluginRuntime(options = {}) {
|
|
|
87864
87864
|
workStates: readTaskWorkStates
|
|
87865
87865
|
},
|
|
87866
87866
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
87867
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
87867
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-x05eYKmS.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
87868
87868
|
};
|
|
87869
87869
|
Object.defineProperty(runtime, "analysis", {
|
|
87870
87870
|
enumerable: true,
|
|
@@ -89407,7 +89407,7 @@ function shouldEmitLoopWarning(state, warningKey, count) {
|
|
|
89407
89407
|
async function recordLoopOutcome(args) {
|
|
89408
89408
|
if (!args.ctx?.sessionKey) return;
|
|
89409
89409
|
try {
|
|
89410
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
89410
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-xa_X3i6x.js").then((n) => n.n);
|
|
89411
89411
|
const { recordToolCallOutcome } = await import("./tool-loop-detection-6zhykL8L.js");
|
|
89412
89412
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
89413
89413
|
sessionKey: args.ctx.sessionKey,
|
|
@@ -89434,8 +89434,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
89434
89434
|
const toolName = normalizeToolName(args.toolName || "tool");
|
|
89435
89435
|
const params = args.params;
|
|
89436
89436
|
if (args.ctx?.sessionKey) {
|
|
89437
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
89438
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
89437
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-xa_X3i6x.js").then((n) => n.n);
|
|
89438
|
+
const { logToolLoopAction } = await import("./diagnostic-DoL_a5Ag.js").then((n) => n.n);
|
|
89439
89439
|
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-6zhykL8L.js");
|
|
89440
89440
|
const sessionState = getDiagnosticSessionState({
|
|
89441
89441
|
sessionKey: args.ctx.sessionKey,
|
|
@@ -94369,7 +94369,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94369
94369
|
* Throws if the connection is not open.
|
|
94370
94370
|
*/
|
|
94371
94371
|
send(event) {
|
|
94372
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
94372
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
94373
94373
|
this.ws.send(JSON.stringify(event));
|
|
94374
94374
|
}
|
|
94375
94375
|
/**
|
|
@@ -94386,7 +94386,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94386
94386
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
94387
94387
|
*/
|
|
94388
94388
|
isConnected() {
|
|
94389
|
-
return this.ws !== null && this.ws.readyState === WebSocket
|
|
94389
|
+
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
94390
94390
|
}
|
|
94391
94391
|
/**
|
|
94392
94392
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -94396,7 +94396,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94396
94396
|
this._cancelRetryTimer();
|
|
94397
94397
|
if (this.ws) {
|
|
94398
94398
|
this.ws.removeAllListeners();
|
|
94399
|
-
if (this.ws.readyState === WebSocket
|
|
94399
|
+
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
94400
94400
|
this.ws = null;
|
|
94401
94401
|
}
|
|
94402
94402
|
}
|
|
@@ -94406,7 +94406,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94406
94406
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
94407
94407
|
return;
|
|
94408
94408
|
}
|
|
94409
|
-
const socket = new WebSocket
|
|
94409
|
+
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
94410
94410
|
Authorization: `Bearer ${this.apiKey}`,
|
|
94411
94411
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
94412
94412
|
} });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Ea as hasConfiguredSecretInput, Er as resolveSecretRefValues, Ka as optionalStringEnum, Ni as docsSiteUrl, Oa as resolveSecretInputRef, Xr as ASSISTANT_IDENTITY_COLORS, Zr as secretRefKey, cn as GATEWAY_CLIENT_IDS, ln as GATEWAY_CLIENT_MODES, qa as stringEnum, un as GATEWAY_CLIENT_NAMES, yn as loadConfig } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import { Ea as hasConfiguredSecretInput, Er as resolveSecretRefValues, Ka as optionalStringEnum, Ni as docsSiteUrl, Oa as resolveSecretInputRef, Xr as ASSISTANT_IDENTITY_COLORS, Zr as secretRefKey, cn as GATEWAY_CLIENT_IDS, ln as GATEWAY_CLIENT_MODES, qa as stringEnum, un as GATEWAY_CLIENT_NAMES, yn as loadConfig } from "./registry-B2fZdv3f.js";
|
|
3
3
|
import { l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath } from "./paths-BIDPYPVC.js";
|
|
4
4
|
import { S as shortenHomeInString, b as resolveUserPath, p as ensureDir$1, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-BRH2eiRx.js";
|
|
5
5
|
import { A as logError, Q as resolveAgentIdFromSessionKey, X as normalizeMainKey, Y as normalizeAgentId, c as resolveDefaultAgentId, ft as isAcpSessionKey, ht as isSubagentSessionKey, k as logDebug, n as listAgentIds, rt as sessionKeyAgentMatches } from "./agent-scope-pXqlu2sM.js";
|
|
6
6
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-C6NdYDq9.js";
|
|
7
|
-
import { Q as TASK_RUN_STATUSES, Z as TASK_RUN_MODES, _ as INPUT_PROVENANCE_KIND_VALUES, lr as SESSION_RUN_STATUSES, yr as resolveAgentMainSessionKey } from "./sessions-
|
|
7
|
+
import { Q as TASK_RUN_STATUSES, Z as TASK_RUN_MODES, _ as INPUT_PROVENANCE_KIND_VALUES, lr as SESSION_RUN_STATUSES, yr as resolveAgentMainSessionKey } from "./sessions-DK6oCQOK.js";
|
|
8
8
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
9
|
-
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-
|
|
10
|
-
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-
|
|
11
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
9
|
+
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-D6v10W4M.js";
|
|
10
|
+
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-Y4yq5bFP.js";
|
|
11
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-CuwcSHGC.js";
|
|
12
12
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-Dt0in6lC.js";
|
|
13
13
|
import { n as resolvePairingPaths, t as pruneExpiredPending } from "./pairing-files-DBeg7vuB.js";
|
|
14
14
|
import path from "node:path";
|
|
@@ -18,7 +18,7 @@ import fs from "node:fs";
|
|
|
18
18
|
import { promisify } from "node:util";
|
|
19
19
|
import fs$1 from "node:fs/promises";
|
|
20
20
|
import { execFile } from "node:child_process";
|
|
21
|
-
import { WebSocket } from "ws";
|
|
21
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
22
22
|
import AjvPkg from "ajv";
|
|
23
23
|
|
|
24
24
|
//#region src/shared/device-auth.ts
|
|
@@ -2938,7 +2938,7 @@ var GatewayClient = class {
|
|
|
2938
2938
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
2939
2939
|
});
|
|
2940
2940
|
}
|
|
2941
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
2941
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
2942
2942
|
this.ws.on("open", () => {
|
|
2943
2943
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
2944
2944
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -3134,7 +3134,7 @@ var GatewayClient = class {
|
|
|
3134
3134
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
3135
3135
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
3136
3136
|
this.connectTimer = setTimeout(() => {
|
|
3137
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
3137
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
|
|
3138
3138
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
3139
3139
|
this.ws?.close(1008, "connect challenge timeout");
|
|
3140
3140
|
}, connectChallengeTimeoutMs);
|
|
@@ -3176,7 +3176,7 @@ var GatewayClient = class {
|
|
|
3176
3176
|
return null;
|
|
3177
3177
|
}
|
|
3178
3178
|
async request(method, params, opts) {
|
|
3179
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
3179
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
3180
3180
|
const id = randomUUID();
|
|
3181
3181
|
const frame = {
|
|
3182
3182
|
type: "req",
|
|
@@ -4532,7 +4532,7 @@ function indentUntrustedBody(body) {
|
|
|
4532
4532
|
}
|
|
4533
4533
|
function trackNudgeClaimChain(runner, id, sessionKey) {
|
|
4534
4534
|
const tracked = (async () => {
|
|
4535
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
4535
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-rxqy1IJ0.js");
|
|
4536
4536
|
await runner.claimAndExecute({
|
|
4537
4537
|
workId: id,
|
|
4538
4538
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as saveMediaBuffer } from "./store-DCWgnDzF.js";
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { a as loadWebMedia } from "./ir-DUBVCsOu.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-DfR_n8MT.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as shortenHomeInString } from "./subsystem-BRH2eiRx.js";
|
|
2
2
|
import { n as redactToolDetail } from "./redact-B9fPPmdF.js";
|
|
3
|
-
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-
|
|
3
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-BNX7Pzy0.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Gn as normalizeProviderId, ha as ensureAuthProfileStore } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import { Gn as normalizeProviderId, ha as ensureAuthProfileStore } from "./registry-B2fZdv3f.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import "./registry-B2fZdv3f.js";
|
|
3
|
+
import "./paths-BIDPYPVC.js";
|
|
4
|
+
import "./subsystem-BRH2eiRx.js";
|
|
5
|
+
import "./agent-scope-pXqlu2sM.js";
|
|
6
|
+
import "./github-copilot-token-D97OGYfX.js";
|
|
7
|
+
import "./send-C2H4l79q.js";
|
|
8
|
+
import "./send-BTTeLdxm.js";
|
|
9
|
+
import "./diagnostic-events-C6NdYDq9.js";
|
|
10
|
+
import "./chunk-BnICCl2r.js";
|
|
11
|
+
import { o as dispatchReplyWithBufferedBlockDispatcher, s as dispatchReplyWithDispatcher } from "./monitor-CP1gk3Bm.js";
|
|
12
|
+
import "./tokens-g1-rZffS.js";
|
|
13
|
+
import "./session-context-CLpe5Ba3.js";
|
|
14
|
+
import "./sessions-DK6oCQOK.js";
|
|
15
|
+
import "./redact-B9fPPmdF.js";
|
|
16
|
+
import "./errors-DUGujS2U.js";
|
|
17
|
+
import "./deliver-Ch9aZhwU.js";
|
|
18
|
+
import "./path-alias-guards-C1_MQbGi.js";
|
|
19
|
+
import "./fs-safe-ClDI8hSK.js";
|
|
20
|
+
import "./image-ops-iIqxjj75.js";
|
|
21
|
+
import "./store-DCWgnDzF.js";
|
|
22
|
+
import "./fetch-guard-B89VGo5J.js";
|
|
23
|
+
import "./fetch-DwumgIiv.js";
|
|
24
|
+
import "./send-Da_Bzzfq.js";
|
|
25
|
+
import "./reply-prefix-BL_8TUpo.js";
|
|
26
|
+
import "./commands-registry-DCE_R4y0.js";
|
|
27
|
+
import "./thinking-BUbh2qQQ.js";
|
|
28
|
+
import "./diagnostic-DoL_a5Ag.js";
|
|
29
|
+
import "./diagnostic-session-state-xa_X3i6x.js";
|
|
30
|
+
import "./command-queue-CDOrtY8K.js";
|
|
31
|
+
import "./user-run-recording-x05eYKmS.js";
|
|
32
|
+
import "./recorder-_7KHCw0F.js";
|
|
33
|
+
import "./agent-turn-runner-D6v10W4M.js";
|
|
34
|
+
import "./pi-model-discovery-DAdG8kKZ.js";
|
|
35
|
+
import "./chat-content-BNX7Pzy0.js";
|
|
36
|
+
import "./chrome-Cg0gQBOQ.js";
|
|
37
|
+
import "./ws-Y4yq5bFP.js";
|
|
38
|
+
import "./skills-Coq6gsYM.js";
|
|
39
|
+
import "./models-config-DmXIbizG.js";
|
|
40
|
+
import "./resolve-route-B2cnsn76.js";
|
|
41
|
+
import "./nudge-CHKavKrI.js";
|
|
42
|
+
import "./pairing-files-DBeg7vuB.js";
|
|
43
|
+
import "./audio-transcription-runner-CjGXglxV.js";
|
|
44
|
+
import "./pi-embedded-utils-BhhGeJmU.js";
|
|
45
|
+
import "./fetch-bCLlcizq.js";
|
|
46
|
+
import "./api-key-rotation-BFEqLexA.js";
|
|
47
|
+
import "./markdown-tables-B9z3RUEA.js";
|
|
48
|
+
import "./ir-DUBVCsOu.js";
|
|
49
|
+
import "./render-qcqmrHse.js";
|
|
50
|
+
import "./runs-1U4vJkOV.js";
|
|
51
|
+
import "./outbound-attachment-DBKtqTUS.js";
|
|
52
|
+
import "./reply-directives-BxvUWxD5.js";
|
|
53
|
+
import "./skill-commands-DiGdKkfQ.js";
|
|
54
|
+
import "./tables-BwH0lnK4.js";
|
|
55
|
+
import "./send--lqcW4uz.js";
|
|
56
|
+
import "./session-meta-CDgl3Kkm.js";
|
|
57
|
+
import "./replies-3qoFL0Ik.js";
|
|
58
|
+
import "./manager-D5SJyg1z.js";
|
|
59
|
+
import "./query-expansion-_or1gqjm.js";
|
|
60
|
+
|
|
61
|
+
export { dispatchReplyWithBufferedBlockDispatcher, dispatchReplyWithDispatcher };
|