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,11 +1,11 @@
|
|
|
1
1
|
import { _ as resolveStateDir, b as resolveRequiredHomeDir } from "./paths-C7aURmuZ.js";
|
|
2
|
-
import { A as logVerboseConsole, D as danger, J as isBlockedObjectKey, M as shouldLogVerbose, N as warn, O as info, R as getLogger, Z as openBoundaryFile, b as resolveUserPath, o as defaultRuntime, t as createSubsystemLogger, v as pathExists } from "./subsystem-
|
|
2
|
+
import { A as logVerboseConsole, D as danger, J as isBlockedObjectKey, M as shouldLogVerbose, N as warn, O as info, R as getLogger, Z as openBoundaryFile, b as resolveUserPath, o as defaultRuntime, t as createSubsystemLogger, v as pathExists } from "./subsystem-B9soUuXQ.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { promisify } from "node:util";
|
|
8
|
-
import
|
|
8
|
+
import fsp from "node:fs/promises";
|
|
9
9
|
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
import process$1 from "node:process";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|
|
@@ -736,7 +736,7 @@ function isCorePackageName(name) {
|
|
|
736
736
|
}
|
|
737
737
|
async function readPackageName(dir) {
|
|
738
738
|
try {
|
|
739
|
-
const raw = await
|
|
739
|
+
const raw = await fsp.readFile(path.join(dir, "package.json"), "utf-8");
|
|
740
740
|
const parsed = JSON.parse(raw);
|
|
741
741
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
742
742
|
} catch {
|
|
@@ -949,7 +949,7 @@ async function loadTemplate(name) {
|
|
|
949
949
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
950
950
|
const templatePath = path.join(templateDir, name);
|
|
951
951
|
try {
|
|
952
|
-
return stripFrontMatter(await
|
|
952
|
+
return stripFrontMatter(await fsp.readFile(templatePath, "utf-8"));
|
|
953
953
|
} catch {
|
|
954
954
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
955
955
|
}
|
|
@@ -977,7 +977,7 @@ const DEFAULT_LANE_BOOTSTRAP_FILES = [
|
|
|
977
977
|
];
|
|
978
978
|
async function writeFileIfMissing(filePath, content) {
|
|
979
979
|
try {
|
|
980
|
-
await
|
|
980
|
+
await fsp.writeFile(filePath, content, {
|
|
981
981
|
encoding: "utf-8",
|
|
982
982
|
flag: "wx"
|
|
983
983
|
});
|
|
@@ -989,7 +989,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
989
989
|
}
|
|
990
990
|
async function fileExists(filePath) {
|
|
991
991
|
try {
|
|
992
|
-
await
|
|
992
|
+
await fsp.access(filePath);
|
|
993
993
|
return true;
|
|
994
994
|
} catch {
|
|
995
995
|
return false;
|
|
@@ -1013,27 +1013,27 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
async function readWorkspaceOnboardingState(statePath) {
|
|
1015
1015
|
try {
|
|
1016
|
-
return parseWorkspaceOnboardingState(await
|
|
1016
|
+
return parseWorkspaceOnboardingState(await fsp.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
1017
1017
|
} catch (err) {
|
|
1018
1018
|
if (err.code !== "ENOENT") throw err;
|
|
1019
1019
|
return { version: WORKSPACE_STATE_VERSION };
|
|
1020
1020
|
}
|
|
1021
1021
|
}
|
|
1022
1022
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
1023
|
-
await
|
|
1023
|
+
await fsp.mkdir(path.dirname(statePath), { recursive: true });
|
|
1024
1024
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
1025
1025
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
1026
1026
|
try {
|
|
1027
|
-
await
|
|
1028
|
-
await
|
|
1027
|
+
await fsp.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
1028
|
+
await fsp.rename(tmpPath, statePath);
|
|
1029
1029
|
} catch (err) {
|
|
1030
|
-
await
|
|
1030
|
+
await fsp.unlink(tmpPath).catch(() => {});
|
|
1031
1031
|
throw err;
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
async function hasGitRepo(dir) {
|
|
1035
1035
|
try {
|
|
1036
|
-
await
|
|
1036
|
+
await fsp.stat(path.join(dir, ".git"));
|
|
1037
1037
|
return true;
|
|
1038
1038
|
} catch {
|
|
1039
1039
|
return false;
|
|
@@ -1063,7 +1063,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
async function ensureAgentWorkspace(params) {
|
|
1065
1065
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
1066
|
-
await
|
|
1066
|
+
await fsp.mkdir(dir, { recursive: true });
|
|
1067
1067
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
1068
1068
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
1069
1069
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -1090,7 +1090,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1090
1090
|
const paths = [...templatePaths, ...userContentPaths];
|
|
1091
1091
|
return (await Promise.all(paths.map(async (p) => {
|
|
1092
1092
|
try {
|
|
1093
|
-
await
|
|
1093
|
+
await fsp.access(p);
|
|
1094
1094
|
return true;
|
|
1095
1095
|
} catch {
|
|
1096
1096
|
return false;
|
|
@@ -1123,7 +1123,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1123
1123
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
1124
1124
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
1125
1125
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
1126
|
-
const [identityContent, userContent] = await Promise.all([
|
|
1126
|
+
const [identityContent, userContent] = await Promise.all([fsp.readFile(identityPath, "utf-8"), fsp.readFile(userPath, "utf-8")]);
|
|
1127
1127
|
const hasUserContent = await (async () => {
|
|
1128
1128
|
const indicators = [
|
|
1129
1129
|
path.join(dir, "memory"),
|
|
@@ -1131,7 +1131,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
1131
1131
|
path.join(dir, ".git")
|
|
1132
1132
|
];
|
|
1133
1133
|
for (const indicator of indicators) try {
|
|
1134
|
-
await
|
|
1134
|
+
await fsp.access(indicator);
|
|
1135
1135
|
return true;
|
|
1136
1136
|
} catch {}
|
|
1137
1137
|
return false;
|
|
@@ -1162,7 +1162,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1162
1162
|
for (const name of candidates) {
|
|
1163
1163
|
const filePath = path.join(resolvedDir, name);
|
|
1164
1164
|
try {
|
|
1165
|
-
await
|
|
1165
|
+
await fsp.access(filePath);
|
|
1166
1166
|
entries.push({
|
|
1167
1167
|
name,
|
|
1168
1168
|
filePath
|
|
@@ -1175,7 +1175,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
1175
1175
|
for (const entry of entries) {
|
|
1176
1176
|
let key = entry.filePath;
|
|
1177
1177
|
try {
|
|
1178
|
-
key = await
|
|
1178
|
+
key = await fsp.realpath(entry.filePath);
|
|
1179
1179
|
} catch {}
|
|
1180
1180
|
if (seen.has(key)) continue;
|
|
1181
1181
|
seen.add(key);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as resolveRequiredHomeDir, u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
2
|
-
import { A as logVerboseConsole, D as danger, M as shouldLogVerbose, N as warn, O as info, Q as openBoundaryFile, R as getLogger, Y as isBlockedObjectKey, b as resolveUserPath, o as defaultRuntime, t as createSubsystemLogger, v as pathExists } from "./subsystem-
|
|
2
|
+
import { A as logVerboseConsole, D as danger, M as shouldLogVerbose, N as warn, O as info, Q as openBoundaryFile, R as getLogger, Y as isBlockedObjectKey, b as resolveUserPath, o as defaultRuntime, t as createSubsystemLogger, v as pathExists } from "./subsystem-DY5Ww-lX.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as closeReplacedConfiguredSessionStorageRuntime, $i as normalizeSecretInput, $r as unwrapKnownDispatchWrapperInvocation, $t as resolveChannelGroupPolicy, A as clearRegisteredPluginApis, Aa as RecoveryAdmissionError, Ai as resolveEffectiveEnableState, An as normalizeSafeBinProfileFixtures, Ar as unsetConfigOverride, At as getChannelDock, B as getRegisteredSpeechProviders, Bi as resolveSlackNativeStreaming, Bn as normalizeModelRef$2, Br as resolveIMessageRemoteAttachmentRoots, Bt as resolveSlackAppToken, C as getActiveGatewayPluginRegistry, Ca as applyTargetToParams, Ci as validateJsonSchemaValue, Cn as validateSafeBinArgv, Cr as isNonEmptyString, D as requireActivePluginRegistry, Da as discardBufferedPluginTaskPasses, Di as applyTestPluginDefaults, Dn as splitCommandChain, Dr as getConfigOverrides, Ei as BUNDLED_ENABLED_BY_DEFAULT, En as isWindowsPlatform, Er as runTasksWithConcurrency, Et as resolveSessionTranscriptPath, F as executePluginCommand, Fa as VERSION, Fi as readManifestNamespace, Fn as buildConfiguredAllowlistKeys, Fr as validateConfigObjectWithPlugins, Ft as normalizeChannelId$1, G as createInternalHookEvent, Gi as ensureAuthProfileStore, Gn as resolveModelRefFromString, Gr as resolveExecPolicyPreset, Gt as normalizeWhatsAppTarget, H as isBuiltinTtsProvider, Hi as dedupeProfileIds, Hn as parseModelRef, Hr as parseNonNegativeByteSize, Ht as listEnabledSignalAccounts, I as listPluginCommands, Ia as formatCliCommand, In as buildModelAliasIndex, It as formatAllowlistMatchMeta, J as createConversationReadQuery, Ji as withFileLock$1, Jn as resolveThinkingDefault, Jr as resolveAllowlistCandidatePath, Jt as resolveIMessageAccount, K as triggerInternalHook, Ki as resolveAuthStorePathForDisplay, Kn as resolveReasoningDefault, Kr as DEFAULT_SAFE_BINS, Kt as hasAnyWhatsAppAuth, L as matchPluginCommand, La as resolveCliName, Ln as findNormalizedProviderValue, Lr as isInboundPathAllowed, Lt as resolveAllowlistMatchByCandidates, M as normalizePluginHttpPath, Ma as normalizeHyphenSlug, Mi as discoverOpenClawPlugins, Mn as applyMergePatch, Mr as parseConfigPath, Mt as normalizeSignalMessagingTarget, N as buildPluginHealthReport, Na as normalizeStringEntries, Ni as isPathInside, Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Nr as setConfigValueAtPath, Nt as getChannelPlugin, O as setActivePluginRegistry, Oa as listBufferedPluginTaskPasses, Oi as isBundledChannelEnabledByChannelConfig, On as splitShellArgs, Or as resetConfigOverrides, Ot as resolveStorePath, P as clearPluginCommands, Pa as normalizeStringEntriesLower, Pi as safeStatSync, Pn as buildAllowedModelSet, Pr as unsetConfigValueAtPath, Pt as listChannelPlugins, Q as closeConfiguredSessionStorageRuntime, Qr as isShellWrapperExecutable, Qt as normalizeDiscordToken, R as registerPluginCommand, Ra as DOCS_SITE_URL, Ri as mapStreamingModeToSlackLegacyDraftStreamMode, Rn as isCliProvider, Rt as resolveSlackAccount, S as resolveChannelConfigId, Sa as stringEnum, Sn as normalizeTrustedSafeBinDirs, Sr as describeUnknownError$1, St as SESSION_RUN_STORE_FILE_NAME, T as getActivePluginRegistryKey, Ta as actionRequiresTarget, Ti as loadPluginManifestRegistry, Tn as buildEnforcedShellCommand, Tr as parseDotPath, Tt as resolveSessionFilePathOptions, U as replaceSpeechProviders, Ui as listProfilesForProvider, Un as resolveConfiguredModelRef, Ut as resolveSignalAccount, V as getSpeechProvider, Vi as resolveSlackStreamingMode, Vn as normalizeProviderId, Vr as normalizeScpRemoteHost, Vt as resolveSlackBotToken, W as normalizeProviderId$1, Wi as markAuthProfileGood, Wn as resolveDefaultModelForAgent, Wr as secretRefKey, Wt as isWhatsAppGroupJid, Xi as readProcessElapsedSeconds, Xr as extractShellWrapperInlineCommand, Xt as listEnabledDiscordAccounts, Y as getConversationReadQuery, Yi as isPidAlive, Yr as resolveCommandResolutionFromArgv, Yt as createDiscordActionGate, Z as requireSessionStorageRuntime, Zi as resolveAuthProfileDisplayLabel, Zr as isDispatchWrapperExecutable, Zt as resolveDiscordAccount, _ as getChatChannelMeta, _i as isAvatarDataUrl, _n as readConfigFileSnapshotForWrite, _r as markAuthProfileFailure, _t as parseSessionIndexRecordKey, a as isGatewayMessageChannel, aa as splitTrailingAuthProfile, an as mergeDeliveryContext, ar as buildStreamErrorAssistantMessage, at as prepareConfiguredSessionStorageRuntimeActivation, b as normalizeChannelId$2, ba as channelTargetsSchema, bi as isSupportedLocalAvatarExtension, bn as isTrustedSafeBinPath, br as resolveApiKeyForProfile, c as listDeliverableMessageChannels, ca as DEFAULT_PROVIDER, cn as normalizeAccountId$1, cr as getCustomProviderApiKey, ct as refreshConfiguredSessionBindingEntry, d as resolveMessageChannel, da as isTruthyEnvValue, dn as CtxProjectionCorruptionError, dr as resolveEnvApiKey, dt as updateSessionStoreEntry, ea as coerceSecretRef, ei as unwrapKnownShellMultiplexerInvocation, en as resolveChannelGroupRequireMention, er as retryAsync, et as commitPreparedConfiguredSessionStorageRuntimeActivation, f as GATEWAY_CLIENT_IDS, fa as parseBooleanValue$1, fn as advanceRuntimeConfigSnapshot, fr as resolveModelAuthMode, g as CHAT_CHANNEL_ORDER, gi as AVATAR_MAX_BYTES, gn as readConfigFileSnapshot, gr as isProfileInCooldown, gt as setSessionRuntimeModel, hn as loadConfig, hr as getSoonestCooldownExpiry, ht as resolveFreshSessionTotalTokens, i as isDeliverableMessageChannel, ia as resolveSecretInputRef, in as deliveryContextKey, ir as buildAssistantMessageWithZeroUsage, it as loadSessionStoreFromDisk, j as createPluginRegistry, ja as normalizeAtHashSlug, ji as resolveMemorySlotDecision, jn as resolveSafeBinProfiles, jr as getConfigValueAtPath, jt as listChannelDocks, k as addRegisteredPluginApi, ka as replaceBufferedPluginTaskPasses, ki as normalizePluginsConfig, kn as SAFE_BIN_PROFILES, kr as setConfigOverride, kt as deriveSessionMetaPatch, l as normalizeMessageChannel, la as getShellPathFromLoginShell, ln as acquireSessionWriteLock, lr as requireApiKey, lt as updateLastRoute, m as GATEWAY_CLIENT_NAMES, ma as readTaskWorkStates, mn as getRuntimeConfigSnapshot, mr as resolveAuthProfileOrder, mt as mergeSessionEntry, n as resolveParentSessionGroupId, na as normalizeResolvedSecretInputString, ni as parseDurationMs, nn as resolveAccountEntry, nr as createOllamaStreamFn, o as isInternalMessageChannel, oa as DEFAULT_CONTEXT_TOKENS, on as normalizeDeliveryContext, or as buildUsageWithNoCost, ot as readSessionUpdatedAt, p as GATEWAY_CLIENT_MODES, pa as resolveOwnerDisplaySetting, pn as createConfigIO, pt as DEFAULT_RESET_TRIGGERS, q as StorageReadAccessError, qi as resolveOpenClawAgentDir, qn as resolveSubagentSpawnModelSelection, qr as matchAllowlist, qt as resolveWhatsAppAccount, r as INTERNAL_MESSAGE_CHANNEL, rn as deliveryContextFromSession, rr as buildAssistantMessage, rt as loadSessionStore, s as isMarkdownCapableMessageChannel, sa as DEFAULT_MODEL, sn as normalizeSessionDeliveryFields, sr as getApiKeyForModel, st as recordSessionMetaFromInbound, t as resolveGroupSessionKey, ta as hasConfiguredSecretInput, tn as resolveChannelGroupToolsPolicy, tr as OLLAMA_NATIVE_BASE_URL, tt as getConfiguredSessionStorageRuntime, u as resolveGatewayMessageChannel, ua as resolveShellEnvFallbackTimeoutMs, un as resolveSessionLockMaxHoldFromTimeout, ut as updateSessionStore, v as listChatChannels, vi as isAvatarHttpUrl, vn as writeConfigFile, vr as markAuthProfileUsed, w as getActivePluginRegistry, wa as actionHasTarget, wn as analyzeShellCommand, wr as isRecord$1, wt as resolveSessionFilePath, x as normalizeChatChannelId, xa as optionalStringEnum, xi as buildChannelAccountBindings, xn as listWritableExplicitTrustedSafeBinDirs, xr as resolveSecretRefValues, xt as SAFE_SESSION_ID_RE, y as normalizeAnyChannelId, ya as channelTargetSchema, yi as isPathWithinRoot, yn as getTrustedSafeBinDirs, yr as resolveProfilesUnavailableReason, z as BUILTIN_TTS_PROVIDER_IDS, za as docsSiteUrl, zi as resolveDiscordPreviewStreamMode, zn as modelKey, zr as resolveIMessageAttachmentRoots, zt as resolveSlackReplyToMode } from "./group-
|
|
2
|
+
import { $ as closeReplacedConfiguredSessionStorageRuntime, $i as normalizeSecretInput, $r as unwrapKnownDispatchWrapperInvocation, $t as resolveChannelGroupPolicy, A as clearRegisteredPluginApis, Aa as RecoveryAdmissionError, Ai as resolveEffectiveEnableState, An as normalizeSafeBinProfileFixtures, Ar as unsetConfigOverride, At as getChannelDock, B as getRegisteredSpeechProviders, Bi as resolveSlackNativeStreaming, Bn as normalizeModelRef$2, Br as resolveIMessageRemoteAttachmentRoots, Bt as resolveSlackAppToken, C as getActiveGatewayPluginRegistry, Ca as applyTargetToParams, Ci as validateJsonSchemaValue, Cn as validateSafeBinArgv, Cr as isNonEmptyString, D as requireActivePluginRegistry, Da as discardBufferedPluginTaskPasses, Di as applyTestPluginDefaults, Dn as splitCommandChain, Dr as getConfigOverrides, Ei as BUNDLED_ENABLED_BY_DEFAULT, En as isWindowsPlatform, Er as runTasksWithConcurrency, Et as resolveSessionTranscriptPath, F as executePluginCommand, Fa as VERSION, Fi as readManifestNamespace, Fn as buildConfiguredAllowlistKeys, Fr as validateConfigObjectWithPlugins, Ft as normalizeChannelId$1, G as createInternalHookEvent, Gi as ensureAuthProfileStore, Gn as resolveModelRefFromString, Gr as resolveExecPolicyPreset, Gt as normalizeWhatsAppTarget, H as isBuiltinTtsProvider, Hi as dedupeProfileIds, Hn as parseModelRef, Hr as parseNonNegativeByteSize, Ht as listEnabledSignalAccounts, I as listPluginCommands, Ia as formatCliCommand, In as buildModelAliasIndex, It as formatAllowlistMatchMeta, J as createConversationReadQuery, Ji as withFileLock$1, Jn as resolveThinkingDefault, Jr as resolveAllowlistCandidatePath, Jt as resolveIMessageAccount, K as triggerInternalHook, Ki as resolveAuthStorePathForDisplay, Kn as resolveReasoningDefault, Kr as DEFAULT_SAFE_BINS, Kt as hasAnyWhatsAppAuth, L as matchPluginCommand, La as resolveCliName, Ln as findNormalizedProviderValue, Lr as isInboundPathAllowed, Lt as resolveAllowlistMatchByCandidates, M as normalizePluginHttpPath, Ma as normalizeHyphenSlug, Mi as discoverOpenClawPlugins, Mn as applyMergePatch, Mr as parseConfigPath, Mt as normalizeSignalMessagingTarget, N as buildPluginHealthReport, Na as normalizeStringEntries, Ni as isPathInside, Nn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Nr as setConfigValueAtPath, Nt as getChannelPlugin, O as setActivePluginRegistry, Oa as listBufferedPluginTaskPasses, Oi as isBundledChannelEnabledByChannelConfig, On as splitShellArgs, Or as resetConfigOverrides, Ot as resolveStorePath, P as clearPluginCommands, Pa as normalizeStringEntriesLower, Pi as safeStatSync, Pn as buildAllowedModelSet, Pr as unsetConfigValueAtPath, Pt as listChannelPlugins, Q as closeConfiguredSessionStorageRuntime, Qr as isShellWrapperExecutable, Qt as normalizeDiscordToken, R as registerPluginCommand, Ra as DOCS_SITE_URL, Ri as mapStreamingModeToSlackLegacyDraftStreamMode, Rn as isCliProvider, Rt as resolveSlackAccount, S as resolveChannelConfigId, Sa as stringEnum, Sn as normalizeTrustedSafeBinDirs, Sr as describeUnknownError$1, St as SESSION_RUN_STORE_FILE_NAME, T as getActivePluginRegistryKey, Ta as actionRequiresTarget, Ti as loadPluginManifestRegistry, Tn as buildEnforcedShellCommand, Tr as parseDotPath, Tt as resolveSessionFilePathOptions, U as replaceSpeechProviders, Ui as listProfilesForProvider, Un as resolveConfiguredModelRef, Ut as resolveSignalAccount, V as getSpeechProvider, Vi as resolveSlackStreamingMode, Vn as normalizeProviderId, Vr as normalizeScpRemoteHost, Vt as resolveSlackBotToken, W as normalizeProviderId$1, Wi as markAuthProfileGood, Wn as resolveDefaultModelForAgent, Wr as secretRefKey, Wt as isWhatsAppGroupJid, Xi as readProcessElapsedSeconds, Xr as extractShellWrapperInlineCommand, Xt as listEnabledDiscordAccounts, Y as getConversationReadQuery, Yi as isPidAlive, Yr as resolveCommandResolutionFromArgv, Yt as createDiscordActionGate, Z as requireSessionStorageRuntime, Zi as resolveAuthProfileDisplayLabel, Zr as isDispatchWrapperExecutable, Zt as resolveDiscordAccount, _ as getChatChannelMeta, _i as isAvatarDataUrl, _n as readConfigFileSnapshotForWrite, _r as markAuthProfileFailure, _t as parseSessionIndexRecordKey, a as isGatewayMessageChannel, aa as splitTrailingAuthProfile, an as mergeDeliveryContext, ar as buildStreamErrorAssistantMessage, at as prepareConfiguredSessionStorageRuntimeActivation, b as normalizeChannelId$2, ba as channelTargetsSchema, bi as isSupportedLocalAvatarExtension, bn as isTrustedSafeBinPath, br as resolveApiKeyForProfile, c as listDeliverableMessageChannels, ca as DEFAULT_PROVIDER, cn as normalizeAccountId$1, cr as getCustomProviderApiKey, ct as refreshConfiguredSessionBindingEntry, d as resolveMessageChannel, da as isTruthyEnvValue, dn as CtxProjectionCorruptionError, dr as resolveEnvApiKey, dt as updateSessionStoreEntry, ea as coerceSecretRef, ei as unwrapKnownShellMultiplexerInvocation, en as resolveChannelGroupRequireMention, er as retryAsync, et as commitPreparedConfiguredSessionStorageRuntimeActivation, f as GATEWAY_CLIENT_IDS, fa as parseBooleanValue$1, fn as advanceRuntimeConfigSnapshot, fr as resolveModelAuthMode, g as CHAT_CHANNEL_ORDER, gi as AVATAR_MAX_BYTES, gn as readConfigFileSnapshot, gr as isProfileInCooldown, gt as setSessionRuntimeModel, hn as loadConfig, hr as getSoonestCooldownExpiry, ht as resolveFreshSessionTotalTokens, i as isDeliverableMessageChannel, ia as resolveSecretInputRef, in as deliveryContextKey, ir as buildAssistantMessageWithZeroUsage, it as loadSessionStoreFromDisk, j as createPluginRegistry, ja as normalizeAtHashSlug, ji as resolveMemorySlotDecision, jn as resolveSafeBinProfiles, jr as getConfigValueAtPath, jt as listChannelDocks, k as addRegisteredPluginApi, ka as replaceBufferedPluginTaskPasses, ki as normalizePluginsConfig, kn as SAFE_BIN_PROFILES, kr as setConfigOverride, kt as deriveSessionMetaPatch, l as normalizeMessageChannel, la as getShellPathFromLoginShell, ln as acquireSessionWriteLock, lr as requireApiKey, lt as updateLastRoute, m as GATEWAY_CLIENT_NAMES, ma as readTaskWorkStates, mn as getRuntimeConfigSnapshot, mr as resolveAuthProfileOrder, mt as mergeSessionEntry, n as resolveParentSessionGroupId, na as normalizeResolvedSecretInputString, ni as parseDurationMs, nn as resolveAccountEntry, nr as createOllamaStreamFn, o as isInternalMessageChannel, oa as DEFAULT_CONTEXT_TOKENS, on as normalizeDeliveryContext, or as buildUsageWithNoCost, ot as readSessionUpdatedAt, p as GATEWAY_CLIENT_MODES, pa as resolveOwnerDisplaySetting, pn as createConfigIO, pt as DEFAULT_RESET_TRIGGERS, q as StorageReadAccessError, qi as resolveOpenClawAgentDir, qn as resolveSubagentSpawnModelSelection, qr as matchAllowlist, qt as resolveWhatsAppAccount, r as INTERNAL_MESSAGE_CHANNEL, rn as deliveryContextFromSession, rr as buildAssistantMessage, rt as loadSessionStore, s as isMarkdownCapableMessageChannel, sa as DEFAULT_MODEL, sn as normalizeSessionDeliveryFields, sr as getApiKeyForModel, st as recordSessionMetaFromInbound, t as resolveGroupSessionKey, ta as hasConfiguredSecretInput, tn as resolveChannelGroupToolsPolicy, tr as OLLAMA_NATIVE_BASE_URL, tt as getConfiguredSessionStorageRuntime, u as resolveGatewayMessageChannel, ua as resolveShellEnvFallbackTimeoutMs, un as resolveSessionLockMaxHoldFromTimeout, ut as updateSessionStore, v as listChatChannels, vi as isAvatarHttpUrl, vn as writeConfigFile, vr as markAuthProfileUsed, w as getActivePluginRegistry, wa as actionHasTarget, wn as analyzeShellCommand, wr as isRecord$1, wt as resolveSessionFilePath, x as normalizeChatChannelId, xa as optionalStringEnum, xi as buildChannelAccountBindings, xn as listWritableExplicitTrustedSafeBinDirs, xr as resolveSecretRefValues, xt as SAFE_SESSION_ID_RE, y as normalizeAnyChannelId, ya as channelTargetSchema, yi as isPathWithinRoot, yn as getTrustedSafeBinDirs, yr as resolveProfilesUnavailableReason, z as BUILTIN_TTS_PROVIDER_IDS, za as docsSiteUrl, zi as resolveDiscordPreviewStreamMode, zn as modelKey, zr as resolveIMessageAttachmentRoots, zt as resolveSlackReplyToMode } from "./group-D1ystD_T.js";
|
|
3
3
|
import { a as resolveGatewayLockDir, c as resolveOAuthDir, d as expandHomePrefix, o as resolveGatewayPort, p as resolveRequiredHomeDir, r as resolveConfigPath, u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
4
|
-
import { $ as openBoundaryFileSync, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, I as theme, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFile, S as shortenHomeInString, T as sliceUtf16Safe, U as normalizeLogLevel, V as appendFileLog, Y as isBlockedObjectKey, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, ct as normalizeWindowsPathForComparison, d as clampInt, dt as isDangerousHostEnvVarName, g as isRecord$2, gt as resolvePreferredOpenClawTmpDir, j as setVerbose, k as logVerbose, m as escapeRegExp, o as defaultRuntime, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3, x as safeParseJson } from "./subsystem-
|
|
4
|
+
import { $ as openBoundaryFileSync, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, I as theme, K as INCLUDE_KEY, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFile, S as shortenHomeInString, T as sliceUtf16Safe, U as normalizeLogLevel, V as appendFileLog, Y as isBlockedObjectKey, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, ct as normalizeWindowsPathForComparison, d as clampInt, dt as isDangerousHostEnvVarName, g as isRecord$2, gt as resolvePreferredOpenClawTmpDir, j as setVerbose, k as logVerbose, m as escapeRegExp, o as defaultRuntime, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3, x as safeParseJson } from "./subsystem-DY5Ww-lX.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { g as resolveGatewaySystemdServiceName, i as detectBinary, n as withProgressTotals, p as resolveGatewayLaunchAgentLabel, r as killProcessTree$1, t as withProgress, y as formatDocsLink } from "./progress-
|
|
7
|
-
import { $ as normalizeAccountId$2, A as DEFAULT_AGENT_ID, B as isKnownAgentMainSessionKey, D as loadWorkspaceBootstrapFiles, E as filterBootstrapFilesForSession, G as resolveAgentIdFromSessionKey, H as normalizeAgentId, I as classifySessionKeyShape, J as resolveThreadSessionKeys, K as resolveCanonicalIdentity, M as DEVICE_SENDER_PREFIX, O as resolveOpenClawPackageRoot, P as buildAgentMainSessionKey, Q as DEFAULT_ACCOUNT_ID, T as ensureAgentWorkspace, U as normalizeMainKey, V as isValidAgentId, W as normalizeToken, X as sessionKeyAgentMatches, Y as sanitizeAgentId, Z as toAgentStoreSessionKey, _t as logInfo, at as isAcpSessionKey, b as DEFAULT_HEARTBEAT_FILENAME, c as resolveDefaultAgentId, ct as isSubagentSessionKey, d as resolveSessionAgentId, dt as stripAgentSessionKeyPrefix, et as normalizeOptionalAccountId, f as resolveSessionAgentIds, ft as runCommandWithTimeout, g as toAgentModelListLike, gt as logError, h as resolveAgentModelPrimaryValue, ht as logDebug, i as resolveAgentDir, it as getSubagentDepth, l as resolveEffectiveModelFallbacks, lt as parseAgentSessionKey, m as resolveAgentModelFallbackValues, mt as spawnWithFallback, n as listAgentIds, o as resolveAgentSkillsFilter, ot as isCronSessionKey, pt as runExec, q as resolveConfiguredCanonicalIdentity, r as resolveAgentConfig, rt as WAKE_GATE_SESSION_KEY_SEGMENT, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, ut as resolveThreadParentSessionKey, v as DEFAULT_AGENT_WORKSPACE_DIR, vt as logWarn, x as DEFAULT_IDENTITY_FILENAME, y as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-
|
|
6
|
+
import { g as resolveGatewaySystemdServiceName, i as detectBinary, n as withProgressTotals, p as resolveGatewayLaunchAgentLabel, r as killProcessTree$1, t as withProgress, y as formatDocsLink } from "./progress-CGdAe0WN.js";
|
|
7
|
+
import { $ as normalizeAccountId$2, A as DEFAULT_AGENT_ID, B as isKnownAgentMainSessionKey, D as loadWorkspaceBootstrapFiles, E as filterBootstrapFilesForSession, G as resolveAgentIdFromSessionKey, H as normalizeAgentId, I as classifySessionKeyShape, J as resolveThreadSessionKeys, K as resolveCanonicalIdentity, M as DEVICE_SENDER_PREFIX, O as resolveOpenClawPackageRoot, P as buildAgentMainSessionKey, Q as DEFAULT_ACCOUNT_ID, T as ensureAgentWorkspace, U as normalizeMainKey, V as isValidAgentId, W as normalizeToken, X as sessionKeyAgentMatches, Y as sanitizeAgentId, Z as toAgentStoreSessionKey, _t as logInfo, at as isAcpSessionKey, b as DEFAULT_HEARTBEAT_FILENAME, c as resolveDefaultAgentId, ct as isSubagentSessionKey, d as resolveSessionAgentId, dt as stripAgentSessionKeyPrefix, et as normalizeOptionalAccountId, f as resolveSessionAgentIds, ft as runCommandWithTimeout, g as toAgentModelListLike, gt as logError, h as resolveAgentModelPrimaryValue, ht as logDebug, i as resolveAgentDir, it as getSubagentDepth, l as resolveEffectiveModelFallbacks, lt as parseAgentSessionKey, m as resolveAgentModelFallbackValues, mt as spawnWithFallback, n as listAgentIds, o as resolveAgentSkillsFilter, ot as isCronSessionKey, pt as runExec, q as resolveConfiguredCanonicalIdentity, r as resolveAgentConfig, rt as WAKE_GATE_SESSION_KEY_SEGMENT, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, ut as resolveThreadParentSessionKey, v as DEFAULT_AGENT_WORKSPACE_DIR, vt as logWarn, x as DEFAULT_IDENTITY_FILENAME, y as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-ZEYA-60U.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-DpUzVZGF.js";
|
|
9
9
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
10
|
-
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-
|
|
11
|
-
import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-
|
|
12
|
-
import { $ as buildEqualityProjection, A as eventOrder, At as makeZeroUsageSnapshot, B as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Bt as resolveAgentMainSessionKey, C as hasHookForPlugin, Ct as normalizeHttpWebhookUrl, D as resolveProviderPromptCacheKey, Dt as derivePromptTokens, E as buildPluginTurnIdentity, Et as parseAbsoluteTimeMs, F as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Ft as resolveChannelResetConfig, G as isToolResultMessage, H as estimateContextChars$1, Ht as resolveMainSessionKey, I as TOOL_RESULT_TEXT_WEIGHT, It as resolveSessionResetPolicy, J as createSessionStorageRuntimeFromConfig, K as parseInlineDirectives$1, L as truncateTextHeadTail, Lt as resolveSessionResetType, M as capToolResultContent, N as HARD_MAX_TOOL_RESULT_CHARS, Nt as resolveSessionKey, O as resolveProviderRuntimeIdentity, Ot as deriveSessionTotalTokens, P as sessionLikelyHasOversizedToolResults, Pt as evaluateSessionFreshness, R as truncateToolResultToChars, Rt as resolveThreadFlag, S as initializeGlobalHookRunner, St as inferLegacyName, T as buildPluginRuntimeIdentity, Tt as resolveDefaultCronStaggerMs, U as estimateMessageCharsCached, Ut as isPrimarySessionTranscriptFileName, V as createMessageCharEstimateCache, Vt as resolveExplicitAgentSessionKey, W as getToolResultText$1, Wt as isSessionArchiveArtifactName, X as validateCtxStorage, Y as resolveSessionStorageConfig, _t as formatZonedTimestamp, a as resolveMirroredTranscriptText, at as createCurrentUserPromptEnvelope, b as getGlobalHookRunner, bt as CREATE_CTX_STORAGE_OWNER_SQL, c as drainPendingPrimaryWrites, ct as buildInboundMetaSystemPrompt, d as repairToolUseResultPairing, dt as attachMessageIngress, et as deriveLegacyActorIdentity, f as sanitizeToolCallInputs, ft as getMessageIngress, g as sanitizeToolCallIdsForCloudCodeAssist, gt as formatMessageStamp, h as canonicalToolCallIdBase, ht as stripMessageCarriers, i as appendAssistantMessageToSessionTranscript, it as sha256, j as pickLeaf, jt as normalizeUsage, k as DB_SESSION_HYDRATION_LIMIT, kt as hasNonzeroUsage, l as guardSessionManager, lt as collectInboundUserContext, m as stripToolResultDetails, mt as messageTime, n as parseSessionThreadInfo, nt as extractLegacyTranscriptEntryFields, o as openDbSessionManager, ot as mergePromptContributions, p as sanitizeToolUseResultPairing, pt as isRepresentableEpochMs, q as attachPgPoolErrorListeners, r as resolveAndPersistSessionFile, rt as sanitizeJsonb, s as runSerializedBySession, st as toJsonValue$1, t as extractDeliveryInfo, tt as sanitizeAppendEntry, u as openRawToolResultStash, ut as renderInboundUserContext, v as hasInterSessionUserProvenance, vt as resolveTimezone, w as promptBuildResultToContribution, wt as normalizeCronStaggerMs, x as getGlobalPluginRegistry, xt as HIDDEN_HEARTBEAT_CUSTOM_TYPE, y as normalizeInputProvenance, yt as resolveSenderLabel, z as CHARS_PER_TOKEN_ESTIMATE$2, zt as canonicalizeMainSessionAlias } from "./sessions-
|
|
10
|
+
import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-nW_0TzgZ.js";
|
|
11
|
+
import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-bV48rJeA.js";
|
|
12
|
+
import { $ as buildEqualityProjection, A as eventOrder, At as makeZeroUsageSnapshot, B as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Bt as resolveAgentMainSessionKey, C as hasHookForPlugin, Ct as normalizeHttpWebhookUrl, D as resolveProviderPromptCacheKey, Dt as derivePromptTokens, E as buildPluginTurnIdentity, Et as parseAbsoluteTimeMs, F as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Ft as resolveChannelResetConfig, G as isToolResultMessage, H as estimateContextChars$1, Ht as resolveMainSessionKey, I as TOOL_RESULT_TEXT_WEIGHT, It as resolveSessionResetPolicy, J as createSessionStorageRuntimeFromConfig, K as parseInlineDirectives$1, L as truncateTextHeadTail, Lt as resolveSessionResetType, M as capToolResultContent, N as HARD_MAX_TOOL_RESULT_CHARS, Nt as resolveSessionKey, O as resolveProviderRuntimeIdentity, Ot as deriveSessionTotalTokens, P as sessionLikelyHasOversizedToolResults, Pt as evaluateSessionFreshness, R as truncateToolResultToChars, Rt as resolveThreadFlag, S as initializeGlobalHookRunner, St as inferLegacyName, T as buildPluginRuntimeIdentity, Tt as resolveDefaultCronStaggerMs, U as estimateMessageCharsCached, Ut as isPrimarySessionTranscriptFileName, V as createMessageCharEstimateCache, Vt as resolveExplicitAgentSessionKey, W as getToolResultText$1, Wt as isSessionArchiveArtifactName, X as validateCtxStorage, Y as resolveSessionStorageConfig, _t as formatZonedTimestamp, a as resolveMirroredTranscriptText, at as createCurrentUserPromptEnvelope, b as getGlobalHookRunner, bt as CREATE_CTX_STORAGE_OWNER_SQL, c as drainPendingPrimaryWrites, ct as buildInboundMetaSystemPrompt, d as repairToolUseResultPairing, dt as attachMessageIngress, et as deriveLegacyActorIdentity, f as sanitizeToolCallInputs, ft as getMessageIngress, g as sanitizeToolCallIdsForCloudCodeAssist, gt as formatMessageStamp, h as canonicalToolCallIdBase, ht as stripMessageCarriers, i as appendAssistantMessageToSessionTranscript, it as sha256, j as pickLeaf, jt as normalizeUsage, k as DB_SESSION_HYDRATION_LIMIT, kt as hasNonzeroUsage, l as guardSessionManager, lt as collectInboundUserContext, m as stripToolResultDetails, mt as messageTime, n as parseSessionThreadInfo, nt as extractLegacyTranscriptEntryFields, o as openDbSessionManager, ot as mergePromptContributions, p as sanitizeToolUseResultPairing, pt as isRepresentableEpochMs, q as attachPgPoolErrorListeners, r as resolveAndPersistSessionFile, rt as sanitizeJsonb, s as runSerializedBySession, st as toJsonValue$1, t as extractDeliveryInfo, tt as sanitizeAppendEntry, u as openRawToolResultStash, ut as renderInboundUserContext, v as hasInterSessionUserProvenance, vt as resolveTimezone, w as promptBuildResultToContribution, wt as normalizeCronStaggerMs, x as getGlobalPluginRegistry, xt as HIDDEN_HEARTBEAT_CUSTOM_TYPE, y as normalizeInputProvenance, yt as resolveSenderLabel, z as CHARS_PER_TOKEN_ESTIMATE$2, zt as canonicalizeMainSessionAlias } from "./sessions-DgF-TKoR.js";
|
|
13
13
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-BOgEuLwf.js";
|
|
14
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
15
|
-
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
14
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-CoYHSFJI.js";
|
|
15
|
+
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-0RH1PUyI.js";
|
|
16
16
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
17
|
-
import { a as resolveLeastPrivilegeOperatorScopesForMethod, c as gatewayErrorShapeOf, d as issueDeviceBootstrapToken, i as randomIdempotencyKey, l as validateSecretsResolveResult, n as callGateway, o as GatewayClient, r as callGatewayLeastPrivilege, s as gatewayErrorReason, t as buildGatewayConnectionDetails, u as SESSION_LABEL_MAX_LENGTH } from "./call-
|
|
17
|
+
import { a as resolveLeastPrivilegeOperatorScopesForMethod, c as gatewayErrorShapeOf, d as issueDeviceBootstrapToken, i as randomIdempotencyKey, l as validateSecretsResolveResult, n as callGateway, o as GatewayClient, r as callGatewayLeastPrivilege, s as gatewayErrorReason, t as buildGatewayConnectionDetails, u as SESSION_LABEL_MAX_LENGTH } from "./call-BfsHUEL9.js";
|
|
18
18
|
import { r as writeJsonAtomic } from "./json-files-DVOyv0n6.js";
|
|
19
|
-
import { n as isLoopbackHost } from "./net-
|
|
20
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
21
|
-
import { r as resolveLsofCommandSync } from "./ports-
|
|
22
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
23
|
-
import { _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as clearActiveCoordinationDepth, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-
|
|
19
|
+
import { n as isLoopbackHost } from "./net-Dy6CRuy7.js";
|
|
20
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-BbfhXEsJ.js";
|
|
21
|
+
import { r as resolveLsofCommandSync } from "./ports-C3fQHCab.js";
|
|
22
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as WORKSPACE_LANE_DENIED_REASON, p as KeyedAsyncQueue, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-DB93UP1b.js";
|
|
23
|
+
import { _ as resolveSessionReference, a as buildAgentToAgentMessageContext, b as clearActiveCoordinationDepth, c as isReplySkip, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentAnnounceContext, l as resolvePingPongTurns, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as resolveSandboxedSessionToolContext, r as AuthorizationError, s as isAnnounceSkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-BmokWas4.js";
|
|
24
24
|
import { t as redactIdentifier } from "./redact-identifier-B5hZuHMq.js";
|
|
25
25
|
import { t as CommandLane } from "./lanes-CF2oNM6v.js";
|
|
26
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
27
|
-
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-
|
|
28
|
-
import { M as resolveExistingPathsWithinRoot, S as ensureChromeExtensionRelayServer, j as DEFAULT_UPLOAD_DIR, z as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-
|
|
29
|
-
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-
|
|
30
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
31
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
32
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
33
|
-
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-
|
|
34
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
26
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-Bm6iLbpO.js";
|
|
27
|
+
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-CssgdJTS.js";
|
|
28
|
+
import { M as resolveExistingPathsWithinRoot, S as ensureChromeExtensionRelayServer, j as DEFAULT_UPLOAD_DIR, z as DEFAULT_AI_SNAPSHOT_MAX_CHARS } from "./chrome-BGcyqaN9.js";
|
|
29
|
+
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-BXe5JEVp.js";
|
|
30
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DC13Y2Rm.js";
|
|
31
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-Bcqf6cqh.js";
|
|
32
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-B01lar7S.js";
|
|
33
|
+
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-WTO9fxZR.js";
|
|
34
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-D337G2RQ.js";
|
|
35
35
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-UcDfA7EK.js";
|
|
36
36
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CjVlXP5J.js";
|
|
37
37
|
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-CcoiS9V4.js";
|
|
38
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
39
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
40
|
-
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-
|
|
38
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-BEcGW2XG.js";
|
|
39
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-1cA46jIW.js";
|
|
40
|
+
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-CHel1NLR.js";
|
|
41
41
|
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-PRs1Ba21.js";
|
|
42
|
-
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-
|
|
43
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
44
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
45
|
-
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
46
|
-
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-
|
|
47
|
-
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-
|
|
48
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
49
|
-
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
42
|
+
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-CYHqLAaZ.js";
|
|
43
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CIRCjjeW.js";
|
|
44
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-m8SCbEAc.js";
|
|
45
|
+
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D__NSsIF.js";
|
|
46
|
+
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-_IywwZdc.js";
|
|
47
|
+
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-CYtnFZHj.js";
|
|
48
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-B5m0TTRD.js";
|
|
49
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-pMUIU0GM.js";
|
|
50
50
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-DUQkcSIv.js";
|
|
51
|
-
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-
|
|
52
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
53
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
54
|
-
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-
|
|
55
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
56
|
-
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-
|
|
57
|
-
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-
|
|
58
|
-
import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-
|
|
51
|
+
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-Bl3bFkc1.js";
|
|
52
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BxOFKkhW.js";
|
|
53
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-Xj0lako6.js";
|
|
54
|
+
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-CeEIPUd4.js";
|
|
55
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-adYvWzsA.js";
|
|
56
|
+
import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-C0iRQc_F.js";
|
|
57
|
+
import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-Cmbc19Oi.js";
|
|
58
|
+
import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-D8bfwcET.js";
|
|
59
59
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BUuVa86F.js";
|
|
60
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
61
|
-
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-
|
|
62
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
63
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
64
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
65
|
-
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-
|
|
66
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
67
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
68
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
69
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
70
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
60
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BHAXnEtr.js";
|
|
61
|
+
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-DctQTJw4.js";
|
|
62
|
+
import { t as convertMarkdownTables } from "./tables-B8mkmRMC.js";
|
|
63
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BpRcHRoT.js";
|
|
64
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-DbtWZ2No.js";
|
|
65
|
+
import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-TRtDN-Da.js";
|
|
66
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-DlRRpvJp.js";
|
|
67
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-DGG3QzgX.js";
|
|
68
|
+
import { n as resolveMemorySearchConfig } from "./manager-DBM4-TfE.js";
|
|
69
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-BBqbrwrA.js";
|
|
70
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-DPmZMzMU.js";
|
|
71
71
|
import { createRequire } from "node:module";
|
|
72
72
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
73
73
|
import os, { homedir } from "node:os";
|
|
74
74
|
import * as path$1 from "node:path";
|
|
75
75
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
76
|
-
import
|
|
76
|
+
import JSON5 from "json5";
|
|
77
77
|
import * as fs$2 from "node:fs/promises";
|
|
78
78
|
import fs$1, { open } from "node:fs/promises";
|
|
79
79
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
@@ -10150,7 +10150,7 @@ async function routeReply(params) {
|
|
|
10150
10150
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
10151
10151
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
10152
10152
|
try {
|
|
10153
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10153
|
+
const { deliverOutboundPayloads } = await import("./deliver-D8bfwcET.js").then((n) => n.n);
|
|
10154
10154
|
const outboundSession = buildOutboundSessionContext({
|
|
10155
10155
|
cfg,
|
|
10156
10156
|
agentId: resolvedAgentId,
|
|
@@ -11199,7 +11199,7 @@ function normalizeSessionKey(value) {
|
|
|
11199
11199
|
function readSessionStore(storePath) {
|
|
11200
11200
|
try {
|
|
11201
11201
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
11202
|
-
const parsed =
|
|
11202
|
+
const parsed = JSON5.parse(raw);
|
|
11203
11203
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
11204
11204
|
} catch {}
|
|
11205
11205
|
return {};
|
|
@@ -14948,7 +14948,7 @@ async function sendTranscriptEcho(params) {
|
|
|
14948
14948
|
}
|
|
14949
14949
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
14950
14950
|
try {
|
|
14951
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
14951
|
+
const { deliverOutboundPayloads } = await import("./deliver-D8bfwcET.js").then((n) => n.n);
|
|
14952
14952
|
await deliverOutboundPayloads({
|
|
14953
14953
|
cfg,
|
|
14954
14954
|
channel: normalizedChannel,
|
|
@@ -34648,7 +34648,7 @@ async function createModelSelectionState(params) {
|
|
|
34648
34648
|
}
|
|
34649
34649
|
}
|
|
34650
34650
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
34651
|
-
const { ensureAuthProfileStore } = await import("./group-
|
|
34651
|
+
const { ensureAuthProfileStore } = await import("./group-D1ystD_T.js").then((n) => n.pr);
|
|
34652
34652
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
34653
34653
|
const providerKey = normalizeProviderId(provider);
|
|
34654
34654
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -52551,7 +52551,7 @@ async function loadCronStore(storePath) {
|
|
|
52551
52551
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
52552
52552
|
let parsed;
|
|
52553
52553
|
try {
|
|
52554
|
-
parsed =
|
|
52554
|
+
parsed = JSON5.parse(raw);
|
|
52555
52555
|
} catch (err) {
|
|
52556
52556
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
52557
52557
|
}
|
|
@@ -54165,7 +54165,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
54165
54165
|
return;
|
|
54166
54166
|
}
|
|
54167
54167
|
try {
|
|
54168
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
54168
|
+
const { deliverOutboundPayloads } = await import("./deliver-D8bfwcET.js").then((n) => n.n);
|
|
54169
54169
|
const outboundSession = buildOutboundSessionContext({
|
|
54170
54170
|
cfg: params.cfg,
|
|
54171
54171
|
sessionKey: params.sessionKey
|
|
@@ -61089,7 +61089,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
61089
61089
|
let transcript;
|
|
61090
61090
|
let carry;
|
|
61091
61091
|
if (needsPreflightTranscription) try {
|
|
61092
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
61092
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-B4mXS_qz.js");
|
|
61093
61093
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
61094
61094
|
if (uploadable.length > 0) {
|
|
61095
61095
|
const preflight = await transcribeFirstAudio({
|
|
@@ -68359,19 +68359,19 @@ function createDefaultDeps() {
|
|
|
68359
68359
|
};
|
|
68360
68360
|
}),
|
|
68361
68361
|
sendMessageDiscord: async (...args) => {
|
|
68362
|
-
const { sendMessageDiscord } = await import("./send-
|
|
68362
|
+
const { sendMessageDiscord } = await import("./send-bV48rJeA.js").then((n) => n.t);
|
|
68363
68363
|
return await sendMessageDiscord(...args);
|
|
68364
68364
|
},
|
|
68365
68365
|
sendMessageSlack: async (...args) => {
|
|
68366
|
-
const { sendMessageSlack } = await import("./send-
|
|
68366
|
+
const { sendMessageSlack } = await import("./send-nW_0TzgZ.js").then((n) => n.n);
|
|
68367
68367
|
return await sendMessageSlack(...args);
|
|
68368
68368
|
},
|
|
68369
68369
|
sendMessageSignal: async (...args) => {
|
|
68370
|
-
const { sendMessageSignal } = await import("./send-
|
|
68370
|
+
const { sendMessageSignal } = await import("./send-DbtWZ2No.js").then((n) => n.i);
|
|
68371
68371
|
return await sendMessageSignal(...args);
|
|
68372
68372
|
},
|
|
68373
68373
|
sendMessageIMessage: async (...args) => {
|
|
68374
|
-
const { sendMessageIMessage } = await import("./send-
|
|
68374
|
+
const { sendMessageIMessage } = await import("./send-TRtDN-Da.js").then((n) => n.n);
|
|
68375
68375
|
return await sendMessageIMessage(...args);
|
|
68376
68376
|
}
|
|
68377
68377
|
};
|
|
@@ -80821,7 +80821,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
80821
80821
|
}
|
|
80822
80822
|
let commandsRegistry;
|
|
80823
80823
|
async function getCommandsRegistry() {
|
|
80824
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
80824
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CeEIPUd4.js").then((n) => n.n);
|
|
80825
80825
|
return commandsRegistry;
|
|
80826
80826
|
}
|
|
80827
80827
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -81151,14 +81151,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81151
81151
|
const channelName = channelInfo?.name;
|
|
81152
81152
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
81153
81153
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
81154
|
-
import("./resolve-route-
|
|
81154
|
+
import("./resolve-route-D__NSsIF.js").then((n) => n.r),
|
|
81155
81155
|
import("./inbound-context-BUuVa86F.js").then((n) => n.n),
|
|
81156
81156
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
81157
81157
|
]);
|
|
81158
81158
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
81159
81159
|
import("./conversation-label-BYREw_Ba.js").then((n) => n.t),
|
|
81160
|
-
import("./reply-prefix-
|
|
81161
|
-
import("./session-meta-
|
|
81160
|
+
import("./reply-prefix-BEcGW2XG.js").then((n) => n.n),
|
|
81161
|
+
import("./session-meta-DlRRpvJp.js").then((n) => n.n)
|
|
81162
81162
|
]);
|
|
81163
81163
|
const route = resolveAgentRoute({
|
|
81164
81164
|
cfg,
|
|
@@ -81223,9 +81223,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81223
81223
|
});
|
|
81224
81224
|
const deliverSlashPayloads = async (replies) => {
|
|
81225
81225
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
81226
|
-
import("./replies-
|
|
81227
|
-
import("./chunk-
|
|
81228
|
-
import("./markdown-tables-
|
|
81226
|
+
import("./replies-DGG3QzgX.js").then((n) => n.r),
|
|
81227
|
+
import("./chunk-Bl3bFkc1.js").then((n) => n.s),
|
|
81228
|
+
import("./markdown-tables-BxOFKkhW.js").then((n) => n.t)
|
|
81229
81229
|
]);
|
|
81230
81230
|
await deliverSlackSlashReplies({
|
|
81231
81231
|
replies,
|
|
@@ -81279,7 +81279,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81279
81279
|
let nativeCommands = [];
|
|
81280
81280
|
if (nativeEnabled) {
|
|
81281
81281
|
reg = await getCommandsRegistry();
|
|
81282
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
81282
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-DctQTJw4.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
81283
81283
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
81284
81284
|
skillCommands,
|
|
81285
81285
|
provider: "slack"
|
|
@@ -82223,7 +82223,7 @@ async function getMemorySearchManager(params) {
|
|
|
82223
82223
|
if (cached) return { manager: cached };
|
|
82224
82224
|
}
|
|
82225
82225
|
try {
|
|
82226
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
82226
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CzsGwBi2.js");
|
|
82227
82227
|
const primary = await QmdMemoryManager.create({
|
|
82228
82228
|
cfg: params.cfg,
|
|
82229
82229
|
agentId: params.agentId,
|
|
@@ -82235,7 +82235,7 @@ async function getMemorySearchManager(params) {
|
|
|
82235
82235
|
const wrapper = new FallbackMemoryManager({
|
|
82236
82236
|
primary,
|
|
82237
82237
|
fallbackFactory: async () => {
|
|
82238
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82238
|
+
const { MemoryIndexManager } = await import("./manager-DBM4-TfE.js").then((n) => n.t);
|
|
82239
82239
|
return await MemoryIndexManager.get(params);
|
|
82240
82240
|
}
|
|
82241
82241
|
}, () => {
|
|
@@ -82250,7 +82250,7 @@ async function getMemorySearchManager(params) {
|
|
|
82250
82250
|
}
|
|
82251
82251
|
}
|
|
82252
82252
|
try {
|
|
82253
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82253
|
+
const { MemoryIndexManager } = await import("./manager-DBM4-TfE.js").then((n) => n.t);
|
|
82254
82254
|
return { manager: await MemoryIndexManager.get(params) };
|
|
82255
82255
|
} catch (err) {
|
|
82256
82256
|
return {
|
|
@@ -87314,7 +87314,7 @@ function createPluginRuntime(options = {}) {
|
|
|
87314
87314
|
workStates: readTaskWorkStates
|
|
87315
87315
|
},
|
|
87316
87316
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
87317
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
87317
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-adYvWzsA.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
87318
87318
|
};
|
|
87319
87319
|
Object.defineProperty(runtime, "analysis", {
|
|
87320
87320
|
enumerable: true,
|
|
@@ -88858,7 +88858,7 @@ async function recordLoopOutcome(args) {
|
|
|
88858
88858
|
if (!args.ctx?.sessionKey) return;
|
|
88859
88859
|
try {
|
|
88860
88860
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-PRs1Ba21.js").then((n) => n.n);
|
|
88861
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
88861
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-CAaJBVkR.js");
|
|
88862
88862
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
88863
88863
|
sessionKey: args.ctx.sessionKey,
|
|
88864
88864
|
sessionId: args.ctx?.agentId
|
|
@@ -88885,8 +88885,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
88885
88885
|
const params = args.params;
|
|
88886
88886
|
if (args.ctx?.sessionKey) {
|
|
88887
88887
|
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-PRs1Ba21.js").then((n) => n.n);
|
|
88888
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
88889
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
88888
|
+
const { logToolLoopAction } = await import("./diagnostic-CHel1NLR.js").then((n) => n.n);
|
|
88889
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CAaJBVkR.js");
|
|
88890
88890
|
const sessionState = getDiagnosticSessionState({
|
|
88891
88891
|
sessionKey: args.ctx.sessionKey,
|
|
88892
88892
|
sessionId: args.ctx?.agentId
|