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
|
@@ -4,14 +4,14 @@ import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveSt
|
|
|
4
4
|
import { C as appendFileLog, F as openBoundaryFileSync, K as isDangerousHostEnvVarName, O as INCLUDE_KEY, P as openBoundaryFile, Q as clampInt, T as normalizeLogLevel, W as normalizeWindowsPathForComparison, Z as CONFIG_DIR, _ as colorize, a as createNonExitingRuntime, b as getChildLogger, c as registerActiveProgressLine, ct as safeParseJson, dt as sleep$3, f as logVerbose, ft as sliceUtf16Safe, g as warn, h as shouldLogVerbose, it as normalizeE164, j as isBlockedObjectKey, l as unregisterActiveProgressLine, lt as shortenHomeInString, m as setVerbose, mt as resolvePreferredOpenClawTmpDir, nt as formatTerminalLink, o as defaultRuntime, pt as truncateUtf16Safe, rt as isRecord$1, s as clearActiveProgressLine, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, u as danger, ut as shortenHomePath, v as isRich, y as theme } from "./subsystem-DoQFckDJ.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
6
|
import { $ as isCronSessionKey, B as resolveConfiguredCanonicalIdentity, C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, F as normalizeAgentId, G as DEFAULT_ACCOUNT_ID, H as sanitizeAgentId, I as normalizeMainKey, K as normalizeAccountId$1, L as normalizeToken, N as isKnownAgentMainSessionKey, P as isValidAgentId, Q as isAcpSessionKey, R as resolveAgentIdFromSessionKey, S as logWarn, T as DEVICE_SENDER_PREFIX, U as sessionKeyAgentMatches, V as resolveThreadSessionKeys, W as toAgentStoreSessionKey, X as WAKE_GATE_SESSION_KEY_SEGMENT, Z as getSubagentDepth, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as logError, f as loadWorkspaceBootstrapFiles, g as runCommandWithTimeout, i as DEFAULT_HEARTBEAT_FILENAME, it as stripAgentSessionKeyPrefix, k as classifySessionKeyShape, l as ensureAgentWorkspace, m as resolveOpenClawPackageRoot, n as DEFAULT_AGENT_WORKSPACE_DIR, nt as parseAgentSessionKey, q as normalizeOptionalAccountId, r as DEFAULT_BOOTSTRAP_FILENAME, rt as resolveThreadParentSessionKey, tt as isSubagentSessionKey, u as filterBootstrapFilesForSession, v as spawnWithFallback, x as logInfo, y as logDebug, z as resolveCanonicalIdentity } from "./workspace-tcQXjttl.js";
|
|
7
|
-
import { $ as resolveIMessageAttachmentRoots, $i as resolveSecretRefValues, $n as resolveParentSessionGroupId, $r as CtxProjectionCorruptionError, $t as clearRegisteredPluginApis, A as requireApiKey, Aa as DEFAULT_MODEL, Ai as analyzeShellCommand, An as updateLastRoute, Ar as resolveChannelGroupRequireMention, At as applyTestPluginDefaults, B as resolveProfilesUnavailableReason, Bi as isShellWrapperExecutable, Br as isGatewayMessageChannel, Bt as getChatChannelMeta, C as createOllamaStreamFn, Ca as normalizeSecretInput, Ci as setConfigValueAtPath, Cr as resolveCliName, Ct as buildChannelAccountBindings, D as buildUsageWithNoCost, Da as resolveSecretInputRef, Di as listWritableExplicitTrustedSafeBinDirs, Dn as readSessionUpdatedAt, Dr as resolveDiscordAccount, Dt as DOCS_SITE_URL, E as buildStreamErrorAssistantMessage, Ea as normalizeResolvedSecretInputString, Ei as isTrustedSafeBinPath, En as prepareConfiguredSessionStorageRuntimeActivation, Er as listEnabledDiscordAccounts, Et as loadPluginManifestRegistry, F as resolveAuthProfileOrder, Fi as matchAllowlist, Fn as mergeSessionEntry, Fr as mergeDeliveryContext, Ft as discoverOpenClawPlugins, G as loadConfig, Gi as normalizeSafeBinProfileFixtures, Gr as resolveGatewayMessageChannel, Gt as resolveChannelConfigId, H as advanceRuntimeConfigSnapshot, Hi as unwrapKnownShellMultiplexerInvocation, Hr as isMarkdownCapableMessageChannel, Ht as normalizeAnyChannelId, I as getSoonestCooldownExpiry, Ii as resolveAllowlistCandidatePath, In as resolveFreshSessionTotalTokens, Ir as normalizeDeliveryContext, It as isPathInside, J as writeConfigFile, Ji as isSafeExecutableValue, Jn as resolveSessionTranscriptPath, Jr as GATEWAY_CLIENT_MODES, Jt as getActivePluginRegistryKey, K as readConfigFileSnapshot, Ki as resolveSafeBinProfiles, Kn as resolveSessionFilePath, Kr as resolveMessageChannel, Kt as getActiveGatewayPluginRegistry, L as isProfileInCooldown, Li as resolveCommandResolutionFromArgv, Ln as setSessionRuntimeModel, Lr as normalizeSessionDeliveryFields, Lt as safeStatSync, M as resolveEnvApiKey, Mi as isWindowsPlatform, Mn as updateSessionStoreEntry, Mr as resolveAccountEntry, Mt as normalizePluginsConfig, N as resolveModelAuthMode, Ni as splitCommandChain, Nr as deliveryContextFromSession, Nt as resolveEffectiveEnableState, O as getApiKeyForModel, Oa as splitTrailingAuthProfile, Oi as normalizeTrustedSafeBinDirs, On as recordSessionMetaFromInbound, Or as normalizeDiscordToken, Ot as docsSiteUrl, Pi as DEFAULT_SAFE_BINS, Pn as DEFAULT_RESET_TRIGGERS, Pr as deliveryContextKey, Pt as resolveMemorySlotDecision, Qi as resolveSlackStreamingMode, Qn as resolveGroupSessionKey, Qr as resolveSessionLockMaxHoldFromTimeout, Qt as addRegisteredPluginApi, R as markAuthProfileFailure, Ri as extractShellWrapperInlineCommand, Rn as parseDurationMs, Rr as INTERNAL_MESSAGE_CHANNEL, S as OLLAMA_NATIVE_BASE_URL, Si as parseConfigPath, Sn as getConfiguredSessionStorageRuntime, Sr as formatCliCommand, St as isSupportedLocalAvatarExtension, T as buildAssistantMessageWithZeroUsage, Ta as hasConfiguredSecretInput, Ti as getTrustedSafeBinDirs, Tn as loadSessionStoreFromDisk, Tr as createDiscordActionGate, Tt as validateJsonSchemaValue, U as createConfigIO, Ui as splitShellArgs, Un as SAFE_SESSION_ID_RE, Ur as listDeliverableMessageChannels, Ut as normalizeChannelId$2, V as resolveApiKeyForProfile, Vi as unwrapKnownDispatchWrapperInvocation, Vr as isInternalMessageChannel, Vt as listChatChannels, W as getRuntimeConfigSnapshot, Wi as SAFE_BIN_PROFILES, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Wt as normalizeChatChannelId, Xi as resolveDiscordPreviewStreamMode, Xn as resolveStorePath, Xr as normalizeAccountId$2, Xt as requireActivePluginRegistry, Y as validateConfigObjectWithPlugins, Yi as mapStreamingModeToSlackLegacyDraftStreamMode, Yr as GATEWAY_CLIENT_NAMES, Z as isInboundPathAllowed, Zi as resolveSlackNativeStreaming, Zn as deriveSessionMetaPatch, Zr as acquireSessionWriteLock, Zt as setActivePluginRegistry, _a as resolveOpenClawAgentDir, _i as getConfigOverrides, _r as resolveSignalAccount, a as isCliProvider, aa as runTasksWithConcurrency, ai as channelTargetSchema, an as listPluginCommands, ar as normalizeChannelId$1, ba as readProcessElapsedSeconds, bi as unsetConfigOverride, bn as closeReplacedConfiguredSessionStorageRuntime, br as hasAnyWhatsAppAuth, bt as isAvatarHttpUrl, c as normalizeProviderId, ca as getShellPathFromLoginShell, ci as stringEnum, cn as BUILTIN_TTS_PROVIDER_IDS, cr as normalizeAtHashSlug, d as resolveDefaultModelForAgent, da as resolveOwnerDisplaySetting, di as actionRequiresTarget, dn as isBuiltinTtsProvider, dr as normalizeStringEntriesLower, ea as describeUnknownError$1, ei as readTaskWorkStates, en as createPluginRegistry, er as getChannelDock, et as resolveIMessageRemoteAttachmentRoots, f as resolveModelRefFromString, fa as dedupeProfileIds, fn as replaceSpeechProviders, fr as resolveSlackAccount, ga as resolveAuthStorePathForDisplay, gi as RecoveryAdmissionError, gn as getConversationReadQuery, gr as listEnabledSignalAccounts, h as resolveThinkingDefault, ha as ensureAuthProfileStore, hi as replaceBufferedPluginTaskPasses, hn as createConversationReadQuery, hr as resolveSlackBotToken, i as findNormalizedProviderValue, ia as secretRefKey, in as executePluginCommand, ir as listChannelPlugins, it as resolveExecPolicyPreset, ja as DEFAULT_PROVIDER, ji as buildEnforcedShellCommand, jn as updateSessionStore, jr as resolveChannelGroupToolsPolicy, jt as isBundledChannelEnabledByChannelConfig, k as getCustomProviderApiKey, ka as DEFAULT_CONTEXT_TOKENS, ki as validateSafeBinArgv, kn as refreshConfiguredSessionBindingEntry, kr as resolveChannelGroupPolicy, kt as BUNDLED_ENABLED_BY_DEFAULT, l as parseModelRef, la as resolveShellEnvFallbackTimeoutMs, li as applyTargetToParams, ln as getRegisteredSpeechProviders, lr as normalizeHyphenSlug, m as resolveSubagentSpawnModelSelection, ma as markAuthProfileGood, mi as listBufferedPluginTaskPasses, mn as StorageReadAccessError, mr as resolveSlackAppToken, n as buildConfiguredAllowlistKeys, na as isRecord$2, nn as buildPluginHealthReport, nr as normalizeSignalMessagingTarget, nt as parseNonNegativeByteSize, o as modelKey, oa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, oi as channelTargetsSchema, on as matchPluginCommand, or as formatAllowlistMatchMeta, p as resolveReasoningDefault, pa as listProfilesForProvider, pi as discardBufferedPluginTaskPasses, pn as normalizeProviderId$1, pr as resolveSlackReplyToMode, q as readConfigFileSnapshotForWrite, qi as applyMergePatch, qn as resolveSessionFilePathOptions, qr as GATEWAY_CLIENT_IDS, qt as getActivePluginRegistry, r as buildModelAliasIndex, ra as parseDotPath, rn as clearPluginCommands, rr as getChannelPlugin, s as normalizeModelRef$2, sa as VERSION, si as optionalStringEnum, sn as registerPluginCommand, sr as resolveAllowlistMatchByCandidates, t as buildAllowedModelSet, ta as isNonEmptyString, tn as normalizePluginHttpPath, tr as listChannelDocks, tt as normalizeScpRemoteHost, u as resolveConfiguredModelRef, ua as isTruthyEnvValue, ui as actionHasTarget, un as getSpeechProvider, ur as normalizeStringEntries, va as withFileLock$1, vi as resetConfigOverrides, vn as requireSessionStorageRuntime, vr as isWhatsAppGroupJid, vt as AVATAR_MAX_BYTES, w as buildAssistantMessage, wa as coerceSecretRef, wi as unsetConfigValueAtPath, wn as loadSessionStore, wr as resolveIMessageAccount, x as retryAsync, xa as resolveAuthProfileDisplayLabel, xi as getConfigValueAtPath, xn as commitPreparedConfiguredSessionStorageRuntimeActivation, xr as resolveWhatsAppAccount, xt as isPathWithinRoot, ya as isPidAlive, yi as setConfigOverride, yn as closeConfiguredSessionStorageRuntime, yr as normalizeWhatsAppTarget, yt as isAvatarDataUrl, z as markAuthProfileUsed, zi as isDispatchWrapperExecutable, zn as parseSessionIndexRecordKey, zr as isDeliverableMessageChannel, zt as CHAT_CHANNEL_ORDER } from "./model-selection-
|
|
7
|
+
import { $ as resolveIMessageAttachmentRoots, $i as resolveSecretRefValues, $n as resolveParentSessionGroupId, $r as CtxProjectionCorruptionError, $t as clearRegisteredPluginApis, A as requireApiKey, Aa as DEFAULT_MODEL, Ai as analyzeShellCommand, An as updateLastRoute, Ar as resolveChannelGroupRequireMention, At as applyTestPluginDefaults, B as resolveProfilesUnavailableReason, Bi as isShellWrapperExecutable, Br as isGatewayMessageChannel, Bt as getChatChannelMeta, C as createOllamaStreamFn, Ca as normalizeSecretInput, Ci as setConfigValueAtPath, Cr as resolveCliName, Ct as buildChannelAccountBindings, D as buildUsageWithNoCost, Da as resolveSecretInputRef, Di as listWritableExplicitTrustedSafeBinDirs, Dn as readSessionUpdatedAt, Dr as resolveDiscordAccount, Dt as DOCS_SITE_URL, E as buildStreamErrorAssistantMessage, Ea as normalizeResolvedSecretInputString, Ei as isTrustedSafeBinPath, En as prepareConfiguredSessionStorageRuntimeActivation, Er as listEnabledDiscordAccounts, Et as loadPluginManifestRegistry, F as resolveAuthProfileOrder, Fi as matchAllowlist, Fn as mergeSessionEntry, Fr as mergeDeliveryContext, Ft as discoverOpenClawPlugins, G as loadConfig, Gi as normalizeSafeBinProfileFixtures, Gr as resolveGatewayMessageChannel, Gt as resolveChannelConfigId, H as advanceRuntimeConfigSnapshot, Hi as unwrapKnownShellMultiplexerInvocation, Hr as isMarkdownCapableMessageChannel, Ht as normalizeAnyChannelId, I as getSoonestCooldownExpiry, Ii as resolveAllowlistCandidatePath, In as resolveFreshSessionTotalTokens, Ir as normalizeDeliveryContext, It as isPathInside, J as writeConfigFile, Ji as isSafeExecutableValue, Jn as resolveSessionTranscriptPath, Jr as GATEWAY_CLIENT_MODES, Jt as getActivePluginRegistryKey, K as readConfigFileSnapshot, Ki as resolveSafeBinProfiles, Kn as resolveSessionFilePath, Kr as resolveMessageChannel, Kt as getActiveGatewayPluginRegistry, L as isProfileInCooldown, Li as resolveCommandResolutionFromArgv, Ln as setSessionRuntimeModel, Lr as normalizeSessionDeliveryFields, Lt as safeStatSync, M as resolveEnvApiKey, Mi as isWindowsPlatform, Mn as updateSessionStoreEntry, Mr as resolveAccountEntry, Mt as normalizePluginsConfig, N as resolveModelAuthMode, Ni as splitCommandChain, Nr as deliveryContextFromSession, Nt as resolveEffectiveEnableState, O as getApiKeyForModel, Oa as splitTrailingAuthProfile, Oi as normalizeTrustedSafeBinDirs, On as recordSessionMetaFromInbound, Or as normalizeDiscordToken, Ot as docsSiteUrl, Pi as DEFAULT_SAFE_BINS, Pn as DEFAULT_RESET_TRIGGERS, Pr as deliveryContextKey, Pt as resolveMemorySlotDecision, Qi as resolveSlackStreamingMode, Qn as resolveGroupSessionKey, Qr as resolveSessionLockMaxHoldFromTimeout, Qt as addRegisteredPluginApi, R as markAuthProfileFailure, Ri as extractShellWrapperInlineCommand, Rn as parseDurationMs, Rr as INTERNAL_MESSAGE_CHANNEL, S as OLLAMA_NATIVE_BASE_URL, Si as parseConfigPath, Sn as getConfiguredSessionStorageRuntime, Sr as formatCliCommand, St as isSupportedLocalAvatarExtension, T as buildAssistantMessageWithZeroUsage, Ta as hasConfiguredSecretInput, Ti as getTrustedSafeBinDirs, Tn as loadSessionStoreFromDisk, Tr as createDiscordActionGate, Tt as validateJsonSchemaValue, U as createConfigIO, Ui as splitShellArgs, Un as SAFE_SESSION_ID_RE, Ur as listDeliverableMessageChannels, Ut as normalizeChannelId$2, V as resolveApiKeyForProfile, Vi as unwrapKnownDispatchWrapperInvocation, Vr as isInternalMessageChannel, Vt as listChatChannels, W as getRuntimeConfigSnapshot, Wi as SAFE_BIN_PROFILES, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Wt as normalizeChatChannelId, Xi as resolveDiscordPreviewStreamMode, Xn as resolveStorePath, Xr as normalizeAccountId$2, Xt as requireActivePluginRegistry, Y as validateConfigObjectWithPlugins, Yi as mapStreamingModeToSlackLegacyDraftStreamMode, Yr as GATEWAY_CLIENT_NAMES, Z as isInboundPathAllowed, Zi as resolveSlackNativeStreaming, Zn as deriveSessionMetaPatch, Zr as acquireSessionWriteLock, Zt as setActivePluginRegistry, _a as resolveOpenClawAgentDir, _i as getConfigOverrides, _r as resolveSignalAccount, a as isCliProvider, aa as runTasksWithConcurrency, ai as channelTargetSchema, an as listPluginCommands, ar as normalizeChannelId$1, ba as readProcessElapsedSeconds, bi as unsetConfigOverride, bn as closeReplacedConfiguredSessionStorageRuntime, br as hasAnyWhatsAppAuth, bt as isAvatarHttpUrl, c as normalizeProviderId, ca as getShellPathFromLoginShell, ci as stringEnum, cn as BUILTIN_TTS_PROVIDER_IDS, cr as normalizeAtHashSlug, d as resolveDefaultModelForAgent, da as resolveOwnerDisplaySetting, di as actionRequiresTarget, dn as isBuiltinTtsProvider, dr as normalizeStringEntriesLower, ea as describeUnknownError$1, ei as readTaskWorkStates, en as createPluginRegistry, er as getChannelDock, et as resolveIMessageRemoteAttachmentRoots, f as resolveModelRefFromString, fa as dedupeProfileIds, fn as replaceSpeechProviders, fr as resolveSlackAccount, ga as resolveAuthStorePathForDisplay, gi as RecoveryAdmissionError, gn as getConversationReadQuery, gr as listEnabledSignalAccounts, h as resolveThinkingDefault, ha as ensureAuthProfileStore, hi as replaceBufferedPluginTaskPasses, hn as createConversationReadQuery, hr as resolveSlackBotToken, i as findNormalizedProviderValue, ia as secretRefKey, in as executePluginCommand, ir as listChannelPlugins, it as resolveExecPolicyPreset, ja as DEFAULT_PROVIDER, ji as buildEnforcedShellCommand, jn as updateSessionStore, jr as resolveChannelGroupToolsPolicy, jt as isBundledChannelEnabledByChannelConfig, k as getCustomProviderApiKey, ka as DEFAULT_CONTEXT_TOKENS, ki as validateSafeBinArgv, kn as refreshConfiguredSessionBindingEntry, kr as resolveChannelGroupPolicy, kt as BUNDLED_ENABLED_BY_DEFAULT, l as parseModelRef, la as resolveShellEnvFallbackTimeoutMs, li as applyTargetToParams, ln as getRegisteredSpeechProviders, lr as normalizeHyphenSlug, m as resolveSubagentSpawnModelSelection, ma as markAuthProfileGood, mi as listBufferedPluginTaskPasses, mn as StorageReadAccessError, mr as resolveSlackAppToken, n as buildConfiguredAllowlistKeys, na as isRecord$2, nn as buildPluginHealthReport, nr as normalizeSignalMessagingTarget, nt as parseNonNegativeByteSize, o as modelKey, oa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, oi as channelTargetsSchema, on as matchPluginCommand, or as formatAllowlistMatchMeta, p as resolveReasoningDefault, pa as listProfilesForProvider, pi as discardBufferedPluginTaskPasses, pn as normalizeProviderId$1, pr as resolveSlackReplyToMode, q as readConfigFileSnapshotForWrite, qi as applyMergePatch, qn as resolveSessionFilePathOptions, qr as GATEWAY_CLIENT_IDS, qt as getActivePluginRegistry, r as buildModelAliasIndex, ra as parseDotPath, rn as clearPluginCommands, rr as getChannelPlugin, s as normalizeModelRef$2, sa as VERSION, si as optionalStringEnum, sn as registerPluginCommand, sr as resolveAllowlistMatchByCandidates, t as buildAllowedModelSet, ta as isNonEmptyString, tn as normalizePluginHttpPath, tr as listChannelDocks, tt as normalizeScpRemoteHost, u as resolveConfiguredModelRef, ua as isTruthyEnvValue, ui as actionHasTarget, un as getSpeechProvider, ur as normalizeStringEntries, va as withFileLock$1, vi as resetConfigOverrides, vn as requireSessionStorageRuntime, vr as isWhatsAppGroupJid, vt as AVATAR_MAX_BYTES, w as buildAssistantMessage, wa as coerceSecretRef, wi as unsetConfigValueAtPath, wn as loadSessionStore, wr as resolveIMessageAccount, x as retryAsync, xa as resolveAuthProfileDisplayLabel, xi as getConfigValueAtPath, xn as commitPreparedConfiguredSessionStorageRuntimeActivation, xr as resolveWhatsAppAccount, xt as isPathWithinRoot, ya as isPidAlive, yi as setConfigOverride, yn as closeConfiguredSessionStorageRuntime, yr as normalizeWhatsAppTarget, yt as isAvatarDataUrl, z as markAuthProfileUsed, zi as isDispatchWrapperExecutable, zn as parseSessionIndexRecordKey, zr as isDeliverableMessageChannel, zt as CHAT_CHANNEL_ORDER } from "./model-selection-C2tyJWrx.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-DrVydgnY.js";
|
|
9
9
|
import { n as createInternalHookEvent, o as triggerInternalHook, s as parseBooleanValue$1, t as readManifestNamespace } from "./legacy-names-Bx5L8LWT.js";
|
|
10
10
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
11
|
-
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-
|
|
12
|
-
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
|
|
11
|
+
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-wcJqiYt_.js";
|
|
12
|
+
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--M5kRasW.js";
|
|
13
13
|
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-C8E7C2l5.js";
|
|
14
|
-
import { $ as stripMessageCarriers, A as resolveChannelResetConfig, B as openDbSessionManager, Bt as resolveProviderPromptCacheKey, C as deriveSessionTotalTokens, Ct as openRawToolResultStash, Dt as stripToolResultDetails, E as normalizeUsage, Et as sanitizeToolUseResultPairing, F as resolveAgentMainSessionKey, Ft as initializeGlobalHookRunner, G as sha256, H as drainPendingPrimaryWrites, Ht as createCurrentUserPromptEnvelope, I as resolveExplicitAgentSessionKey, It as hasHookForPlugin, J as renderInboundUserContext, K as buildInboundMetaSystemPrompt, L as resolveMainSessionKey, Lt as promptBuildResultToContribution, M as resolveSessionResetType, Mt as normalizeInputProvenance, N as resolveThreadFlag, Nt as getGlobalHookRunner, O as resolveSessionKey, Ot as canonicalToolCallIdBase, P as canonicalizeMainSessionAlias, Pt as getGlobalPluginRegistry, Q as messageTime, R as isPrimarySessionTranscriptFileName, Rt as buildPluginRuntimeIdentity, S as derivePromptTokens, St as guardSessionManager, T as makeZeroUsageSnapshot, Tt as sanitizeToolCallInputs, U as extractLegacyTranscriptEntryFields, Ut as mergePromptContributions, V as runSerializedBySession, Vt as resolveProviderRuntimeIdentity, W as sanitizeJsonb, Wt as toJsonValue$1, X as getMessageIngress, Y as attachMessageIngress, Z as isRepresentableEpochMs, _ as inferLegacyName, _t as createMessageCharEstimateCache, a as resolveMirroredTranscriptText, at as eventOrder, b as resolveDefaultCronStaggerMs, bt as getToolResultText$1, c as createSessionStorageRuntimeFromConfig, ct as capToolResultContent, dt as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, et as formatMessageStamp, ft as TOOL_RESULT_TEXT_WEIGHT, g as CREATE_CTX_STORAGE_OWNER_SQL, gt as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, h as sanitizeAppendEntry, ht as CHARS_PER_TOKEN_ESTIMATE$2, i as appendAssistantMessageToSessionTranscript, it as DB_SESSION_HYDRATION_LIMIT, j as resolveSessionResetPolicy, jt as hasInterSessionUserProvenance, k as evaluateSessionFreshness, kt as sanitizeToolCallIdsForCloudCodeAssist, l as resolveSessionStorageConfig, lt as HARD_MAX_TOOL_RESULT_CHARS, m as deriveLegacyActorIdentity, mt as truncateToolResultToChars, n as parseSessionThreadInfo, nt as resolveTimezone, o as parseInlineDirectives$1, ot as pickLeaf, p as buildEqualityProjection, pt as truncateTextHeadTail, q as collectInboundUserContext, r as resolveAndPersistSessionFile, rt as resolveSenderLabel, s as attachPgPoolErrorListeners, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tt as formatZonedTimestamp, u as validateCtxStorage, ut as sessionLikelyHasOversizedToolResults, v as normalizeHttpWebhookUrl, vt as estimateContextChars$1, w as hasNonzeroUsage, wt as repairToolUseResultPairing, x as parseAbsoluteTimeMs, xt as isToolResultMessage, y as normalizeCronStaggerMs, yt as estimateMessageCharsCached, z as isSessionArchiveArtifactName, zt as buildPluginTurnIdentity } from "./sessions-
|
|
14
|
+
import { $ as stripMessageCarriers, A as resolveChannelResetConfig, B as openDbSessionManager, Bt as resolveProviderPromptCacheKey, C as deriveSessionTotalTokens, Ct as openRawToolResultStash, Dt as stripToolResultDetails, E as normalizeUsage, Et as sanitizeToolUseResultPairing, F as resolveAgentMainSessionKey, Ft as initializeGlobalHookRunner, G as sha256, H as drainPendingPrimaryWrites, Ht as createCurrentUserPromptEnvelope, I as resolveExplicitAgentSessionKey, It as hasHookForPlugin, J as renderInboundUserContext, K as buildInboundMetaSystemPrompt, L as resolveMainSessionKey, Lt as promptBuildResultToContribution, M as resolveSessionResetType, Mt as normalizeInputProvenance, N as resolveThreadFlag, Nt as getGlobalHookRunner, O as resolveSessionKey, Ot as canonicalToolCallIdBase, P as canonicalizeMainSessionAlias, Pt as getGlobalPluginRegistry, Q as messageTime, R as isPrimarySessionTranscriptFileName, Rt as buildPluginRuntimeIdentity, S as derivePromptTokens, St as guardSessionManager, T as makeZeroUsageSnapshot, Tt as sanitizeToolCallInputs, U as extractLegacyTranscriptEntryFields, Ut as mergePromptContributions, V as runSerializedBySession, Vt as resolveProviderRuntimeIdentity, W as sanitizeJsonb, Wt as toJsonValue$1, X as getMessageIngress, Y as attachMessageIngress, Z as isRepresentableEpochMs, _ as inferLegacyName, _t as createMessageCharEstimateCache, a as resolveMirroredTranscriptText, at as eventOrder, b as resolveDefaultCronStaggerMs, bt as getToolResultText$1, c as createSessionStorageRuntimeFromConfig, ct as capToolResultContent, dt as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, et as formatMessageStamp, ft as TOOL_RESULT_TEXT_WEIGHT, g as CREATE_CTX_STORAGE_OWNER_SQL, gt as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, h as sanitizeAppendEntry, ht as CHARS_PER_TOKEN_ESTIMATE$2, i as appendAssistantMessageToSessionTranscript, it as DB_SESSION_HYDRATION_LIMIT, j as resolveSessionResetPolicy, jt as hasInterSessionUserProvenance, k as evaluateSessionFreshness, kt as sanitizeToolCallIdsForCloudCodeAssist, l as resolveSessionStorageConfig, lt as HARD_MAX_TOOL_RESULT_CHARS, m as deriveLegacyActorIdentity, mt as truncateToolResultToChars, n as parseSessionThreadInfo, nt as resolveTimezone, o as parseInlineDirectives$1, ot as pickLeaf, p as buildEqualityProjection, pt as truncateTextHeadTail, q as collectInboundUserContext, r as resolveAndPersistSessionFile, rt as resolveSenderLabel, s as attachPgPoolErrorListeners, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tt as formatZonedTimestamp, u as validateCtxStorage, ut as sessionLikelyHasOversizedToolResults, v as normalizeHttpWebhookUrl, vt as estimateContextChars$1, w as hasNonzeroUsage, wt as repairToolUseResultPairing, x as parseAbsoluteTimeMs, xt as isToolResultMessage, y as normalizeCronStaggerMs, yt as estimateMessageCharsCached, z as isSessionArchiveArtifactName, zt as buildPluginTurnIdentity } from "./sessions-CzUTvoXK.js";
|
|
15
15
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
|
|
16
16
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
17
17
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BDA1WAvZ.js";
|
|
@@ -22,50 +22,50 @@ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensi
|
|
|
22
22
|
import { t as CommandLane } from "./lanes-DBBnME5O.js";
|
|
23
23
|
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-OuglAWJb.js";
|
|
24
24
|
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-DONWlnn2.js";
|
|
25
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
26
|
-
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-
|
|
27
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
28
|
-
import { r as isLoopbackHost } from "./ws-
|
|
29
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
30
|
-
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-
|
|
25
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CLxFRX8Q.js";
|
|
26
|
+
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-DAFI7DwH.js";
|
|
27
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-DSOGaSkI.js";
|
|
28
|
+
import { r as isLoopbackHost } from "./ws-CHokDDk3.js";
|
|
29
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-Du4NIj4y.js";
|
|
30
|
+
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-DsmuWAV9.js";
|
|
31
31
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BXXI1YTn.js";
|
|
32
32
|
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-DnS9ngr1.js";
|
|
33
33
|
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DU_cJ64Q.js";
|
|
34
|
-
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
34
|
+
import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-KBZp3sxK.js";
|
|
35
35
|
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-CtzUTrM2.js";
|
|
36
36
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Cj-XaaTu.js";
|
|
37
37
|
import { r as writeJsonAtomic } from "./json-files-DBtcstGX.js";
|
|
38
38
|
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";
|
|
39
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
40
|
-
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
41
|
-
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveSessionReference, a as buildAgentToAgentReplyContext, b as clearActiveCoordinationDepth, c as resolvePingPongTurns, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentMessageContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as AuthorizationError, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as isAnnounceSkip, p as resolveSandboxedSessionToolContext, r as buildAgentToAgentAnnounceContext, s as isReplySkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as callGatewayLeastPrivilege, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-
|
|
42
|
-
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-
|
|
43
|
-
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-
|
|
44
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
45
|
-
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
39
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-C6XX7gtS.js";
|
|
40
|
+
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DNyOPck0.js";
|
|
41
|
+
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveSessionReference, a as buildAgentToAgentReplyContext, b as clearActiveCoordinationDepth, c as resolvePingPongTurns, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentMessageContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as AuthorizationError, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as isAnnounceSkip, p as resolveSandboxedSessionToolContext, r as buildAgentToAgentAnnounceContext, s as isReplySkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as callGatewayLeastPrivilege, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-DtecrQw2.js";
|
|
42
|
+
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-B65tBuzm.js";
|
|
43
|
+
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-DsC7KqbM.js";
|
|
44
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-DxfQJ1J0.js";
|
|
45
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-C8cHPMKd.js";
|
|
46
46
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-6ywrGTVv.js";
|
|
47
47
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-RrqZTgHp.js";
|
|
48
|
-
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-
|
|
49
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
50
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
51
|
-
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
52
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
53
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
54
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
55
|
-
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-
|
|
56
|
-
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-
|
|
57
|
-
import { A as createReplyToModeFilterForChannel, C as applyReplyTagsToPayload, D as isRenderablePayload, E as filterMessagingToolMediaDuplicates, M as buildTargetResolverSignature, N as normalizeChannelTargetInput, O as shouldSuppressMessagingToolReplies, P as normalizeTargetForProvider, S as transcriptEntriesToMessages, T as filterMessagingToolDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as resolveReplyToMode, k as shouldSuppressReasoningPayload, 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 applyReplyThreading, x as readFullTranscriptEntriesFromBackend, y as sleepWithAbort } from "./deliver-
|
|
48
|
+
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-Mk3BzTo4.js";
|
|
49
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DzCbga76.js";
|
|
50
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-Bk7X_LKF.js";
|
|
51
|
+
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-BiL5Vu_j.js";
|
|
52
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-_gs8p2DT.js";
|
|
53
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DiZXBqX_.js";
|
|
54
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-D37xtlm6.js";
|
|
55
|
+
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-DbFWkqrM.js";
|
|
56
|
+
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-Bme6KjMG.js";
|
|
57
|
+
import { A as createReplyToModeFilterForChannel, C as applyReplyTagsToPayload, D as isRenderablePayload, E as filterMessagingToolMediaDuplicates, M as buildTargetResolverSignature, N as normalizeChannelTargetInput, O as shouldSuppressMessagingToolReplies, P as normalizeTargetForProvider, S as transcriptEntriesToMessages, T as filterMessagingToolDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as resolveReplyToMode, k as shouldSuppressReasoningPayload, 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 applyReplyThreading, x as readFullTranscriptEntriesFromBackend, y as sleepWithAbort } from "./deliver-C2FYVz2h.js";
|
|
58
58
|
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-B4Y06kEi.js";
|
|
59
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
60
|
-
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-
|
|
61
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
62
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
63
|
-
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
64
|
-
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-
|
|
65
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
66
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
67
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
68
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
59
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-CSjV0WJZ.js";
|
|
60
|
+
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-Bc0uYZN4.js";
|
|
61
|
+
import { t as convertMarkdownTables } from "./tables-DHLC9Fdd.js";
|
|
62
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-CKYXOssf.js";
|
|
63
|
+
import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-BsfmKipN.js";
|
|
64
|
+
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-HRB_J7pa.js";
|
|
65
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-Dek_4XcX.js";
|
|
66
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-5d6WEMkn.js";
|
|
67
|
+
import { n as resolveMemorySearchConfig } from "./manager-LsGIUhxa.js";
|
|
68
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-DSK6kOZ1.js";
|
|
69
69
|
import { t as isQmdScopeAllowed } from "./qmd-scope-DjzSVgvF.js";
|
|
70
70
|
import { createRequire } from "node:module";
|
|
71
71
|
import * as path$1 from "node:path";
|
|
@@ -86,7 +86,7 @@ import { DefaultResourceLoader, SessionManager, SettingsManager, convertToLlm, c
|
|
|
86
86
|
import { EdgeTTS } from "node-edge-tts";
|
|
87
87
|
import net from "node:net";
|
|
88
88
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
89
|
-
import WebSocket from "ws";
|
|
89
|
+
import WebSocket$1 from "ws";
|
|
90
90
|
import { Worker } from "node:worker_threads";
|
|
91
91
|
import { createJiti } from "jiti";
|
|
92
92
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -9809,7 +9809,7 @@ async function routeReply(params) {
|
|
|
9809
9809
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
9810
9810
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
9811
9811
|
try {
|
|
9812
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
9812
|
+
const { deliverOutboundPayloads } = await import("./deliver-C2FYVz2h.js").then((n) => n.n);
|
|
9813
9813
|
const outboundSession = buildOutboundSessionContext({
|
|
9814
9814
|
cfg,
|
|
9815
9815
|
agentId: resolvedAgentId,
|
|
@@ -11806,7 +11806,7 @@ async function sendTranscriptEcho(params) {
|
|
|
11806
11806
|
}
|
|
11807
11807
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
11808
11808
|
try {
|
|
11809
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
11809
|
+
const { deliverOutboundPayloads } = await import("./deliver-C2FYVz2h.js").then((n) => n.n);
|
|
11810
11810
|
await deliverOutboundPayloads({
|
|
11811
11811
|
cfg,
|
|
11812
11812
|
channel: normalizedChannel,
|
|
@@ -32195,7 +32195,7 @@ async function createModelSelectionState(params) {
|
|
|
32195
32195
|
}
|
|
32196
32196
|
}
|
|
32197
32197
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
32198
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
32198
|
+
const { ensureAuthProfileStore } = await import("./model-selection-C2tyJWrx.js").then((n) => n.P);
|
|
32199
32199
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
32200
32200
|
const providerKey = normalizeProviderId(provider);
|
|
32201
32201
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -51768,7 +51768,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
51768
51768
|
return;
|
|
51769
51769
|
}
|
|
51770
51770
|
try {
|
|
51771
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
51771
|
+
const { deliverOutboundPayloads } = await import("./deliver-C2FYVz2h.js").then((n) => n.n);
|
|
51772
51772
|
const outboundSession = buildOutboundSessionContext({
|
|
51773
51773
|
cfg: params.cfg,
|
|
51774
51774
|
sessionKey: params.sessionKey
|
|
@@ -62810,7 +62810,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
62810
62810
|
let transcript;
|
|
62811
62811
|
let carry;
|
|
62812
62812
|
if (needsPreflightTranscription) try {
|
|
62813
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62813
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-Ckc8iNFE.js");
|
|
62814
62814
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
62815
62815
|
if (uploadable.length > 0) {
|
|
62816
62816
|
const preflight = await transcribeFirstAudio({
|
|
@@ -70080,19 +70080,19 @@ function createDefaultDeps() {
|
|
|
70080
70080
|
};
|
|
70081
70081
|
}),
|
|
70082
70082
|
sendMessageDiscord: async (...args) => {
|
|
70083
|
-
const { sendMessageDiscord } = await import("./send
|
|
70083
|
+
const { sendMessageDiscord } = await import("./send--M5kRasW.js").then((n) => n.t);
|
|
70084
70084
|
return await sendMessageDiscord(...args);
|
|
70085
70085
|
},
|
|
70086
70086
|
sendMessageSlack: async (...args) => {
|
|
70087
|
-
const { sendMessageSlack } = await import("./send-
|
|
70087
|
+
const { sendMessageSlack } = await import("./send-wcJqiYt_.js").then((n) => n.n);
|
|
70088
70088
|
return await sendMessageSlack(...args);
|
|
70089
70089
|
},
|
|
70090
70090
|
sendMessageSignal: async (...args) => {
|
|
70091
|
-
const { sendMessageSignal } = await import("./send-
|
|
70091
|
+
const { sendMessageSignal } = await import("./send-BsfmKipN.js").then((n) => n.i);
|
|
70092
70092
|
return await sendMessageSignal(...args);
|
|
70093
70093
|
},
|
|
70094
70094
|
sendMessageIMessage: async (...args) => {
|
|
70095
|
-
const { sendMessageIMessage } = await import("./send-
|
|
70095
|
+
const { sendMessageIMessage } = await import("./send-HRB_J7pa.js").then((n) => n.n);
|
|
70096
70096
|
return await sendMessageIMessage(...args);
|
|
70097
70097
|
}
|
|
70098
70098
|
};
|
|
@@ -73693,7 +73693,7 @@ var ResilientGatewayPlugin = class extends GatewayPlugin {
|
|
|
73693
73693
|
}
|
|
73694
73694
|
createWebSocket(url) {
|
|
73695
73695
|
if (!this.wsAgent) return super.createWebSocket(url);
|
|
73696
|
-
return new WebSocket(url, { agent: this.wsAgent });
|
|
73696
|
+
return new WebSocket$1(url, { agent: this.wsAgent });
|
|
73697
73697
|
}
|
|
73698
73698
|
};
|
|
73699
73699
|
function createDiscordGatewayPlugin(params) {
|
|
@@ -82577,7 +82577,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
82577
82577
|
}
|
|
82578
82578
|
let commandsRegistry;
|
|
82579
82579
|
async function getCommandsRegistry() {
|
|
82580
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
82580
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BiL5Vu_j.js").then((n) => n.n);
|
|
82581
82581
|
return commandsRegistry;
|
|
82582
82582
|
}
|
|
82583
82583
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -82907,14 +82907,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
82907
82907
|
const channelName = channelInfo?.name;
|
|
82908
82908
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
82909
82909
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
82910
|
-
import("./resolve-route-
|
|
82910
|
+
import("./resolve-route-DNyOPck0.js").then((n) => n.r),
|
|
82911
82911
|
import("./inbound-context-B4Y06kEi.js").then((n) => n.n),
|
|
82912
82912
|
Promise.resolve().then(() => provider_dispatcher_exports)
|
|
82913
82913
|
]);
|
|
82914
82914
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
82915
82915
|
import("./conversation-label-Ckfze_uK.js").then((n) => n.t),
|
|
82916
82916
|
import("./reply-prefix-6ywrGTVv.js").then((n) => n.n),
|
|
82917
|
-
import("./session-meta-
|
|
82917
|
+
import("./session-meta-Dek_4XcX.js").then((n) => n.n)
|
|
82918
82918
|
]);
|
|
82919
82919
|
const route = resolveAgentRoute({
|
|
82920
82920
|
cfg,
|
|
@@ -82979,9 +82979,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
82979
82979
|
});
|
|
82980
82980
|
const deliverSlashPayloads = async (replies) => {
|
|
82981
82981
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
82982
|
-
import("./replies-
|
|
82983
|
-
import("./chunk-
|
|
82984
|
-
import("./markdown-tables-
|
|
82982
|
+
import("./replies-5d6WEMkn.js").then((n) => n.r),
|
|
82983
|
+
import("./chunk-Mk3BzTo4.js").then((n) => n.s),
|
|
82984
|
+
import("./markdown-tables-DzCbga76.js").then((n) => n.t)
|
|
82985
82985
|
]);
|
|
82986
82986
|
await deliverSlackSlashReplies({
|
|
82987
82987
|
replies,
|
|
@@ -83035,7 +83035,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
83035
83035
|
let nativeCommands = [];
|
|
83036
83036
|
if (nativeEnabled) {
|
|
83037
83037
|
reg = await getCommandsRegistry();
|
|
83038
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
83038
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-Bc0uYZN4.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
83039
83039
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
83040
83040
|
skillCommands,
|
|
83041
83041
|
provider: "slack"
|
|
@@ -83979,7 +83979,7 @@ async function getMemorySearchManager(params) {
|
|
|
83979
83979
|
if (cached) return { manager: cached };
|
|
83980
83980
|
}
|
|
83981
83981
|
try {
|
|
83982
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
83982
|
+
const { QmdMemoryManager } = await import("./qmd-manager-JcDm4TaV.js");
|
|
83983
83983
|
const primary = await QmdMemoryManager.create({
|
|
83984
83984
|
cfg: params.cfg,
|
|
83985
83985
|
agentId: params.agentId,
|
|
@@ -83991,7 +83991,7 @@ async function getMemorySearchManager(params) {
|
|
|
83991
83991
|
const wrapper = new FallbackMemoryManager({
|
|
83992
83992
|
primary,
|
|
83993
83993
|
fallbackFactory: async () => {
|
|
83994
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
83994
|
+
const { MemoryIndexManager } = await import("./manager-LsGIUhxa.js").then((n) => n.t);
|
|
83995
83995
|
return await MemoryIndexManager.get(params);
|
|
83996
83996
|
}
|
|
83997
83997
|
}, () => {
|
|
@@ -84006,7 +84006,7 @@ async function getMemorySearchManager(params) {
|
|
|
84006
84006
|
}
|
|
84007
84007
|
}
|
|
84008
84008
|
try {
|
|
84009
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
84009
|
+
const { MemoryIndexManager } = await import("./manager-LsGIUhxa.js").then((n) => n.t);
|
|
84010
84010
|
return { manager: await MemoryIndexManager.get(params) };
|
|
84011
84011
|
} catch (err) {
|
|
84012
84012
|
return {
|
|
@@ -89209,7 +89209,7 @@ function createPluginRuntime(options = {}) {
|
|
|
89209
89209
|
workStates: readTaskWorkStates
|
|
89210
89210
|
},
|
|
89211
89211
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
89212
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
89212
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-_gs8p2DT.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
89213
89213
|
};
|
|
89214
89214
|
Object.defineProperty(runtime, "analysis", {
|
|
89215
89215
|
enumerable: true,
|
|
@@ -95714,7 +95714,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
95714
95714
|
* Throws if the connection is not open.
|
|
95715
95715
|
*/
|
|
95716
95716
|
send(event) {
|
|
95717
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
95717
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
95718
95718
|
this.ws.send(JSON.stringify(event));
|
|
95719
95719
|
}
|
|
95720
95720
|
/**
|
|
@@ -95731,7 +95731,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
95731
95731
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
95732
95732
|
*/
|
|
95733
95733
|
isConnected() {
|
|
95734
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
95734
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
95735
95735
|
}
|
|
95736
95736
|
/**
|
|
95737
95737
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -95741,7 +95741,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
95741
95741
|
this._cancelRetryTimer();
|
|
95742
95742
|
if (this.ws) {
|
|
95743
95743
|
this.ws.removeAllListeners();
|
|
95744
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
95744
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
95745
95745
|
this.ws = null;
|
|
95746
95746
|
}
|
|
95747
95747
|
}
|
|
@@ -95751,7 +95751,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
95751
95751
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
95752
95752
|
return;
|
|
95753
95753
|
}
|
|
95754
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
95754
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
95755
95755
|
Authorization: `Bearer ${this.apiKey}`,
|
|
95756
95756
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
95757
95757
|
} });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as shortenHomeInString } from "./subsystem-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { S as shortenHomeInString } from "./subsystem-B9soUuXQ.js";
|
|
2
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-C8SBxzVB.js";
|
|
3
|
+
import { n as redactToolDetail } from "./redact-C8xjZT-F.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as shortenHomeInString } from "./subsystem-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { S as shortenHomeInString } from "./subsystem-DY5Ww-lX.js";
|
|
2
|
+
import { n as redactToolDetail } from "./redact-CoYHSFJI.js";
|
|
3
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-CssgdJTS.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { lt as shortenHomeInString } from "./subsystem-DoQFckDJ.js";
|
|
2
2
|
import { n as redactToolDetail } from "./redact-Cp-v7ZNA.js";
|
|
3
|
-
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-
|
|
3
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-DAFI7DwH.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Da as ensureAuthProfileStore, Fi as normalizeProviderId } from "./config-
|
|
2
|
+
import { Da as ensureAuthProfileStore, Fi as normalizeProviderId } from "./config-C8St6mAq.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gi as ensureAuthProfileStore, Vn as normalizeProviderId } from "./group-
|
|
2
|
+
import { Gi as ensureAuthProfileStore, Vn as normalizeProviderId } from "./group-D1ystD_T.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, ha as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, ha as ensureAuthProfileStore } from "./model-selection-C2tyJWrx.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import "./registry-B2fZdv3f.js";
|
|
3
|
+
import "./paths-BIDPYPVC.js";
|
|
4
|
+
import "./subsystem-BRH2eiRx.js";
|
|
5
|
+
import "./agent-scope-pXqlu2sM.js";
|
|
6
|
+
import "./github-copilot-token-D97OGYfX.js";
|
|
7
|
+
import "./send-C2H4l79q.js";
|
|
8
|
+
import "./send-BTTeLdxm.js";
|
|
9
|
+
import "./diagnostic-events-C6NdYDq9.js";
|
|
10
|
+
import "./chunk-BnICCl2r.js";
|
|
11
|
+
import { k as runMainAgentTurn } from "./monitor-CP1gk3Bm.js";
|
|
12
|
+
import "./tokens-g1-rZffS.js";
|
|
13
|
+
import "./session-context-CLpe5Ba3.js";
|
|
14
|
+
import "./sessions-DK6oCQOK.js";
|
|
15
|
+
import "./redact-B9fPPmdF.js";
|
|
16
|
+
import "./errors-DUGujS2U.js";
|
|
17
|
+
import "./deliver-Ch9aZhwU.js";
|
|
18
|
+
import "./path-alias-guards-C1_MQbGi.js";
|
|
19
|
+
import "./fs-safe-ClDI8hSK.js";
|
|
20
|
+
import "./image-ops-iIqxjj75.js";
|
|
21
|
+
import "./store-DCWgnDzF.js";
|
|
22
|
+
import "./fetch-guard-B89VGo5J.js";
|
|
23
|
+
import "./fetch-DwumgIiv.js";
|
|
24
|
+
import "./send-Da_Bzzfq.js";
|
|
25
|
+
import "./reply-prefix-BL_8TUpo.js";
|
|
26
|
+
import "./commands-registry-DCE_R4y0.js";
|
|
27
|
+
import "./thinking-BUbh2qQQ.js";
|
|
28
|
+
import "./diagnostic-DoL_a5Ag.js";
|
|
29
|
+
import "./diagnostic-session-state-xa_X3i6x.js";
|
|
30
|
+
import "./command-queue-CDOrtY8K.js";
|
|
31
|
+
import "./user-run-recording-x05eYKmS.js";
|
|
32
|
+
import "./recorder-_7KHCw0F.js";
|
|
33
|
+
import "./agent-turn-runner-D6v10W4M.js";
|
|
34
|
+
import "./pi-model-discovery-DAdG8kKZ.js";
|
|
35
|
+
import "./chat-content-BNX7Pzy0.js";
|
|
36
|
+
import "./chrome-Cg0gQBOQ.js";
|
|
37
|
+
import "./ws-Y4yq5bFP.js";
|
|
38
|
+
import "./skills-Coq6gsYM.js";
|
|
39
|
+
import "./models-config-DmXIbizG.js";
|
|
40
|
+
import "./resolve-route-B2cnsn76.js";
|
|
41
|
+
import "./nudge-CHKavKrI.js";
|
|
42
|
+
import "./pairing-files-DBeg7vuB.js";
|
|
43
|
+
import "./audio-transcription-runner-CjGXglxV.js";
|
|
44
|
+
import "./pi-embedded-utils-BhhGeJmU.js";
|
|
45
|
+
import "./fetch-bCLlcizq.js";
|
|
46
|
+
import "./api-key-rotation-BFEqLexA.js";
|
|
47
|
+
import "./markdown-tables-B9z3RUEA.js";
|
|
48
|
+
import "./ir-DUBVCsOu.js";
|
|
49
|
+
import "./render-qcqmrHse.js";
|
|
50
|
+
import "./runs-1U4vJkOV.js";
|
|
51
|
+
import "./outbound-attachment-DBKtqTUS.js";
|
|
52
|
+
import "./reply-directives-BxvUWxD5.js";
|
|
53
|
+
import "./skill-commands-DiGdKkfQ.js";
|
|
54
|
+
import "./tables-BwH0lnK4.js";
|
|
55
|
+
import "./send--lqcW4uz.js";
|
|
56
|
+
import "./session-meta-CDgl3Kkm.js";
|
|
57
|
+
import "./replies-3qoFL0Ik.js";
|
|
58
|
+
import "./manager-D5SJyg1z.js";
|
|
59
|
+
import "./query-expansion-_or1gqjm.js";
|
|
60
|
+
|
|
61
|
+
export { runMainAgentTurn };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Za as createWork } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-4W8_E7-5.js";
|
|
2
|
+
import { Za as createWork } from "./registry-B2fZdv3f.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BRH2eiRx.js";
|
|
4
4
|
import { t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-5z6UfRxk.js";
|
|
5
5
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
@@ -187,7 +187,7 @@ function mergeDelayedAgentTurn(sessionKey, matches, merge) {
|
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
189
|
async function defaultExecute(claim) {
|
|
190
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
190
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-rxqy1IJ0.js");
|
|
191
191
|
return runMainAgentTurn(claim.message.payload);
|
|
192
192
|
}
|
|
193
193
|
async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
@@ -199,7 +199,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
199
199
|
startedAt: opts?.startedAt ?? Date.now()
|
|
200
200
|
};
|
|
201
201
|
waiters.set(sessionKey, handle);
|
|
202
|
-
const { getQueueSize } = await import("./command-queue-
|
|
202
|
+
const { getQueueSize } = await import("./command-queue-CDOrtY8K.js").then((n) => n.r);
|
|
203
203
|
if (handle.cancelled || closing) return;
|
|
204
204
|
const release = (force = false) => {
|
|
205
205
|
releaseDelayedAgentTurns(backboneBySession.get(sessionKey) ?? backbone, sessionKey, force ? { force: true } : void 0);
|
|
@@ -221,7 +221,7 @@ async function armIdleWaiter(sessionKey, backbone, opts) {
|
|
|
221
221
|
}
|
|
222
222
|
async function enqueueAgentTurn(backbone, payload, opts) {
|
|
223
223
|
if (!payload.jobId.trim() || !payload.runId.trim()) throw new Error("agent-turn enqueue requires jobId and runId");
|
|
224
|
-
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-
|
|
224
|
+
const isBusy = opts?.isSessionBusy ? opts.isSessionBusy() : (await import("./command-queue-CDOrtY8K.js").then((n) => n.r)).getQueueSize(CommandLane.Main) > 0;
|
|
225
225
|
const policy = payload.busy ?? "skip";
|
|
226
226
|
const id = agentTurnIdempotencyKey(payload);
|
|
227
227
|
if (isBusy && policy === "skip") return `${id}:skipped`;
|
|
@@ -284,7 +284,7 @@ async function releaseDelayedAgentTurnsInternal(backbone, sessionKey, opts) {
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
if (payload.kind === "announce" && outcome.ok && outcome.delivery?.reason === WORKSPACE_LANE_DENIED_REASON) {
|
|
287
|
-
const { markSubagentAnnounceDenied } = await import("./subagent-registry-
|
|
287
|
+
const { markSubagentAnnounceDenied } = await import("./subagent-registry-6vhRKS_0.js");
|
|
288
288
|
await markSubagentAnnounceDenied(payload.runId, payload.mergedRunIds);
|
|
289
289
|
}
|
|
290
290
|
releaseSucceeded = outcome.ok;
|