wednesdayai 0.5.1-dev.40 → 0.5.1-dev.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-scope-BudmZlc1.js → agent-scope-CoIdVzmg.js} +3 -3
- package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
- package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-FwkD42Me.js} +6 -6
- package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
- package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-1bTDnvBU.js} +2 -2
- package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-CCjuApbs.js} +27 -27
- package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
- package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
- package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DgFYIaIw.js} +26 -26
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
- package/dist/{chat-content-CL44f6Ub.js → chat-content-BdADRLL0.js} +36 -36
- package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-DQ2kyZpc.js} +34 -34
- package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
- package/dist/{chunk-BHQuzJtJ.js → chunk-BAxcOCcV.js} +3 -3
- package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
- package/dist/{command-queue-CyJUnsMn.js → command-queue-CRm1AADE.js} +1 -1
- package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
- package/dist/{commands-registry-CNVoO37I.js → commands-registry-CtR9mXss.js} +2 -2
- package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
- package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
- package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
- package/dist/{credentials-DnIj4HtR.js → credentials-BhiiI_Nr.js} +1 -1
- package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
- package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
- package/dist/{deliver-DUUEMT-w.js → deliver-BufoibUD.js} +29 -29
- package/dist/{diagnostic-YRGuisNG.js → diagnostic-BSnQ1U_E.js} +3 -3
- package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
- package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DnS9ngr1.js → errors-BzL6hu4G.js} +1 -1
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
- package/dist/{fetch-ChtdmCYU.js → fetch-DUVm-Rj1.js} +8 -8
- package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DmpLwwor.js} +1 -1
- package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
- package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-BySb6coS.js} +2 -2
- package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
- package/dist/{frontmatter-CqznVm7P.js → frontmatter-NYeLKFIP.js} +3 -3
- package/dist/{fs-safe-D96d8swI.js → fs-safe-DOdeIkaS.js} +26 -26
- package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
- package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
- package/dist/{image-ops-BiBI-uAf.js → image-ops-DEUr_rAC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-Drj2D5Gr.js → ir-B0rUqFWs.js} +5 -5
- package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
- package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-D7ywm6_7.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{manager-C9H5Oflk.js → manager-3Exjl08V.js} +18 -18
- package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
- package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
- package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-lzV8Hoxc.js} +2 -2
- package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
- package/dist/{model-selection-2-pBJbaC.js → model-selection-_StPBPAp.js} +80 -80
- package/dist/{models-config-7yfOGOZY.js → models-config-D3M9er_C.js} +2 -2
- package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
- package/dist/{nudge-CcGwhSSL.js → nudge-B06CLLon.js} +35 -35
- package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
- package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
- package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
- package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
- package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
- package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
- package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
- package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
- package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CCQDMmDH.js} +2 -2
- package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
- package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
- package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
- package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-aXY57qPv.js} +1 -1
- package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
- package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-DGpkqagr.js} +251 -251
- package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
- package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
- package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-BTuzuVh1.js} +7 -7
- package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
- package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
- package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
- package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
- package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
- package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
- package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
- package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
- package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
- package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
- package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
- package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
- package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
- package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
- package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
- package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
- package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
- package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
- package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
- package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
- package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
- package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
- package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
- package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
- package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
- package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
- package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
- package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
- package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
- package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
- package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
- package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
- package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
- package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
- package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
- package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
- package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
- package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
- package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
- package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
- package/dist/plugin-sdk/testing.js +44 -44
- package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
- package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
- package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
- package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
- package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
- package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
- package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
- package/dist/{proxy-env-DdoaBr4H.js → proxy-env-dFmQfhFb.js} +1 -1
- package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-B2n3DHPt.js} +14 -14
- package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
- package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
- package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-jLSZ3VID.js} +12 -12
- package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-BN4oVeLu.js} +1 -1
- package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
- package/dist/{query-expansion-gzgHhq68.js → query-expansion-UPsVmvEm.js} +13 -13
- package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
- package/dist/{recorder-ciGDu2oO.js → recorder-DvYXNusz.js} +2 -2
- package/dist/{redact-Cp-v7ZNA.js → redact-CysJDryP.js} +1 -1
- package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
- package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
- package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
- package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
- package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
- package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
- package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
- package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
- package/dist/{replies-EZyamg1p.js → replies-DfoUf3N4.js} +5 -5
- package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
- package/dist/{reply-directives-DMPiBIx3.js → reply-directives-DsGD4aw1.js} +2 -2
- package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-gWrzAQtZ.js} +1 -1
- package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
- package/dist/{resolve-route-GBqD8iPk.js → resolve-route-RQpYXVl1.js} +4 -4
- package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
- package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
- package/dist/{runs-EvR8ugp4.js → runs-DGr28sFu.js} +9 -9
- package/dist/{send-BVfxa93K.js → send-C-m_74Nc.js} +8 -8
- package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
- package/dist/{send-B5XVAKWg.js → send-DFsyNWFI.js} +7 -7
- package/dist/{send-BCEsHNBh.js → send-DYRbKT7y.js} +6 -6
- package/dist/{send-12uxFQQR.js → send-DkJqx60r.js} +8 -8
- package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
- package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
- package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
- package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
- package/dist/{session-meta-C_fW_AWG.js → session-meta-DVKEsZNl.js} +1 -1
- package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
- package/dist/{sessions-DODCZ4JK.js → sessions-CzjW7wiR.js} +5 -5
- package/dist/{skill-commands-5VtV6o_q.js → skill-commands-BfK22Jmi.js} +7 -7
- package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
- package/dist/{skills-B3DYwqF5.js → skills-D6riKXOf.js} +21 -21
- package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
- package/dist/{store-DnvoAjAE.js → store-Bt16sey6.js} +7 -7
- package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
- package/dist/{tables-CuZTAY1e.js → tables-tChtQWdX.js} +1 -1
- package/dist/{tokens-C8E7C2l5.js → tokens-C2ll8wSq.js} +1 -1
- package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-D0CRFNOH.js} +2 -2
- package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
- package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
- package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
- package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DJedyUge.js} +2 -2
- package/dist/{workspace-DOy2M7yN.js → workspace-xnzx7wEV.js} +26 -26
- package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
- package/dist/{ws-D916JacH.js → ws-DLbfGWAn.js} +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/github-copilot-token-DrVydgnY.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
- package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
- package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
- package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
- package/dist/subsystem-DoQFckDJ.js +0 -2777
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { $ as resolveSessionFilePathOptions, $n as getCustomProviderApiKey, $t as GATEWAY_CLIENT_NAMES, Aa as stringEnum, Ai as getChatChannelMeta, An as modelKey, At as listEnabledDiscordAccounts, Bi as requireActivePluginRegistry, Br as DEFAULT_SAFE_BINS, Bt as normalizeDeliveryContext, Ci as resolveMemorySlotDecision, Cn as applyMergePatch, Cr as setConfigOverride, Ct as resolveSignalAccount, D as closeReplacedConfiguredSessionStorageRuntime, Da as channelTargetSchema, Di as readManifestNamespace, Dn as buildModelAliasIndex, Dr as setConfigValueAtPath, Dt as resolveWhatsAppAccount, E as closeConfiguredSessionStorageRuntime, Ei as safeStatSync, En as buildConfiguredAllowlistKeys, Er as parseConfigPath, Et as hasAnyWhatsAppAuth, F as recordSessionMetaFromInbound, Fa as discardBufferedPluginTaskPasses, Fi as resolveChannelConfigId, Fn as resolveDefaultModelForAgent, Fr as normalizeScpRemoteHost, Ft as resolveChannelGroupToolsPolicy, G as parseSessionIndexRecordKey, Gi as resolveSlackNativeStreaming, Gn as retryAsync, Gr as isDispatchWrapperExecutable, Gt as isInternalMessageChannel, H as mergeSessionEntry, Hi as isSafeExecutableValue, Hr as resolveAllowlistCandidatePath, Ht as INTERNAL_MESSAGE_CHANNEL, I as refreshConfiguredSessionBindingEntry, Ia as listBufferedPluginTaskPasses, Ii as getActiveGatewayPluginRegistry, In as resolveModelRefFromString, Ir as parseNonNegativeByteSize, It as resolveAccountEntry, Jn as buildAssistantMessage, Jr as unwrapKnownShellMultiplexerInvocation, Jt as normalizeMessageChannel, Ki as resolveSlackStreamingMode, Kn as OLLAMA_NATIVE_BASE_URL, Kr as isShellWrapperExecutable, Kt as isMarkdownCapableMessageChannel, L as updateLastRoute, La as replaceBufferedPluginTaskPasses, Li as getActivePluginRegistry, Ln as resolveReasoningDefault, Lt as deliveryContextFromSession, M as loadSessionStoreFromDisk, Ma as actionHasTarget, Mi as normalizeAnyChannelId, Mn as normalizeProviderId, Mt as normalizeDiscordToken, N as prepareConfiguredSessionStorageRuntimeActivation, Na as actionRequiresTarget, Ni as normalizeChannelId$2, Nn as parseModelRef, Nr as resolveIMessageAttachmentRoots, Nt as resolveChannelGroupPolicy, O as commitPreparedConfiguredSessionStorageRuntimeActivation, Oa as channelTargetsSchema, On as findNormalizedProviderValue, Or as unsetConfigValueAtPath, Ot as resolveIMessageAccount, P as readSessionUpdatedAt, Pi as normalizeChatChannelId, Pn as resolveConfiguredModelRef, Pr as resolveIMessageRemoteAttachmentRoots, Pt as resolveChannelGroupRequireMention, Q as resolveSessionFilePath, Qi as ensureAuthProfileStore, Qn as getApiKeyForModel, Qt as GATEWAY_CLIENT_MODES, R as updateSessionStore, Ra as RecoveryAdmissionError, Ri as getActivePluginRegistryKey, Rn as resolveSubagentSpawnModelSelection, Rr as secretRefKey, Rt as deliveryContextKey, S as getConversationReadQuery, Sa as readTaskWorkStates, Si as resolveEffectiveEnableState, Sn as resolveSafeBinProfiles, Sr as resetConfigOverrides, St as listEnabledSignalAccounts, Ti as isPathInside, Tn as buildAllowedModelSet, Tr as getConfigValueAtPath, Tt as normalizeWhatsAppTarget, U as resolveFreshSessionTotalTokens, Ui as mapStreamingModeToSlackLegacyDraftStreamMode, Ur as resolveCommandResolutionFromArgv, Ut as isDeliverableMessageChannel, V as DEFAULT_RESET_TRIGGERS, Vi as setActivePluginRegistry, Vr as matchAllowlist, Vt as normalizeSessionDeliveryFields, W as setSessionRuntimeModel, Wi as resolveDiscordPreviewStreamMode, Wr as extractShellWrapperInlineCommand, Wt as isGatewayMessageChannel, X as SESSION_RUN_STORE_FILE_NAME, Xi as listProfilesForProvider, Xn as buildStreamErrorAssistantMessage, Xr as parseDurationMs, Xt as resolveMessageChannel, Y as SAFE_SESSION_ID_RE, Yi as dedupeProfileIds, Yn as buildAssistantMessageWithZeroUsage, Yt as resolveGatewayMessageChannel, Zi as markAuthProfileGood, Zn as buildUsageWithNoCost, Zt as GATEWAY_CLIENT_IDS, _ as normalizeProviderId$1, _a as getShellPathFromLoginShell, _i as loadPluginManifestRegistry, _n as isWindowsPlatform, _r as parseDotPath, _t as normalizeStringEntriesLower, a as normalizePluginHttpPath, aa as resolveAuthProfileDisplayLabel, at as resolveParentSessionGroupId, b as StorageReadAccessError, ba as parseBooleanValue$1, bi as isBundledChannelEnabledByChannelConfig, bn as SAFE_BIN_PROFILES, br as resolveCliName, bt as resolveSlackAppToken, c as executePluginCommand, ca as coerceSecretRef, cn as readConfigFileSnapshotForWrite, cr as isProfileInCooldown, ct as normalizeSignalMessagingTarget, d as registerPluginCommand, da as resolveSecretInputRef, di as isAvatarHttpUrl, dn as isTrustedSafeBinPath, dr as resolveProfilesUnavailableReason, dt as normalizeChannelId$1, ea as resolveAuthStorePathForDisplay, en as normalizeAccountId$1, er as requireApiKey, et as resolveSessionTranscriptPath, f as BUILTIN_TTS_PROVIDER_IDS, fa as splitTrailingAuthProfile, fi as isPathWithinRoot, fn as listWritableExplicitTrustedSafeBinDirs, fr as resolveApiKeyForProfile, ft as formatAllowlistMatchMeta, g as replaceSpeechProviders, ga as VERSION, gi as validateJsonSchemaValue, gn as buildEnforcedShellCommand, gr as isRecord$1, gt as normalizeStringEntries, h as isBuiltinTtsProvider, ha as DEFAULT_PROVIDER, hn as analyzeShellCommand, hr as isNonEmptyString, ht as normalizeHyphenSlug, i as createPluginRegistry, ia as readProcessElapsedSeconds, ir as resolveAuthProfileOrder, it as resolveGroupSessionKey, j as loadSessionStore, ja as applyTargetToParams, ji as listChatChannels, jn as normalizeModelRef$2, jr as isInboundPathAllowed, jt as resolveDiscordAccount, k as getConfiguredSessionStorageRuntime, ka as optionalStringEnum, ki as CHAT_CHANNEL_ORDER, kn as isCliProvider, kr as validateConfigObjectWithPlugins, kt as createDiscordActionGate, l as listPluginCommands, la as hasConfiguredSecretInput, li as AVATAR_MAX_BYTES, ln as writeConfigFile, lr as markAuthProfileFailure, lt as getChannelPlugin, m as getSpeechProvider, ma as DEFAULT_MODEL, mi as buildChannelAccountBindings, mn as validateSafeBinArgv, mr as describeUnknownError$1, mt as normalizeAtHashSlug, n as clearRegisteredPluginApis, na as withFileLock$1, nn as resolveSessionLockMaxHoldFromTimeout, nr as resolveEnvApiKey, nt as resolveStorePath, o as buildPluginHealthReport, on as loadConfig, ot as getChannelDock, p as getRegisteredSpeechProviders, pa as DEFAULT_CONTEXT_TOKENS, pi as isSupportedLocalAvatarExtension, pn as normalizeTrustedSafeBinDirs, pr as resolveSecretRefValues, pt as resolveAllowlistMatchByCandidates, qn as createOllamaStreamFn, qr as unwrapKnownDispatchWrapperInvocation, qt as listDeliverableMessageChannels, ra as isPidAlive, rn as CtxProjectionCorruptionError, rr as resolveModelAuthMode, rt as deriveSessionMetaPatch, s as clearPluginCommands, sa as normalizeSecretInput, sn as readConfigFileSnapshot, sr as getSoonestCooldownExpiry, st as listChannelDocks, t as addRegisteredPluginApi, ta as resolveOpenClawAgentDir, tn as acquireSessionWriteLock, u as matchPluginCommand, ua as normalizeResolvedSecretInputString, ui as isAvatarDataUrl, un as getTrustedSafeBinDirs, ur as markAuthProfileUsed, ut as listChannelPlugins, v as createInternalHookEvent, va as resolveShellEnvFallbackTimeoutMs, vi as BUNDLED_ENABLED_BY_DEFAULT, vn as splitCommandChain, vr as runTasksWithConcurrency, vt as resolveSlackAccount, w as requireSessionStorageRuntime, wi as discoverOpenClawPlugins, wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, wr as unsetConfigOverride, wt as isWhatsAppGroupJid, x as createConversationReadQuery, xa as resolveOwnerDisplaySetting, xi as normalizePluginsConfig, xn as normalizeSafeBinProfileFixtures, xr as getConfigOverrides, xt as resolveSlackBotToken, y as triggerInternalHook, ya as isTruthyEnvValue, yi as applyTestPluginDefaults, yn as splitShellArgs, yr as formatCliCommand, yt as resolveSlackReplyToMode, z as updateSessionStoreEntry, zn as resolveThinkingDefault, zr as resolveExecPolicyPreset, zt as mergeDeliveryContext } from "./registry-
|
|
1
|
+
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-D9QKz5Mq.js";
|
|
2
|
+
import { $ as resolveSessionFilePathOptions, $n as getCustomProviderApiKey, $t as GATEWAY_CLIENT_NAMES, Aa as stringEnum, Ai as getChatChannelMeta, An as modelKey, At as listEnabledDiscordAccounts, Bi as requireActivePluginRegistry, Br as DEFAULT_SAFE_BINS, Bt as normalizeDeliveryContext, Ci as resolveMemorySlotDecision, Cn as applyMergePatch, Cr as setConfigOverride, Ct as resolveSignalAccount, D as closeReplacedConfiguredSessionStorageRuntime, Da as channelTargetSchema, Di as readManifestNamespace, Dn as buildModelAliasIndex, Dr as setConfigValueAtPath, Dt as resolveWhatsAppAccount, E as closeConfiguredSessionStorageRuntime, Ei as safeStatSync, En as buildConfiguredAllowlistKeys, Er as parseConfigPath, Et as hasAnyWhatsAppAuth, F as recordSessionMetaFromInbound, Fa as discardBufferedPluginTaskPasses, Fi as resolveChannelConfigId, Fn as resolveDefaultModelForAgent, Fr as normalizeScpRemoteHost, Ft as resolveChannelGroupToolsPolicy, G as parseSessionIndexRecordKey, Gi as resolveSlackNativeStreaming, Gn as retryAsync, Gr as isDispatchWrapperExecutable, Gt as isInternalMessageChannel, H as mergeSessionEntry, Hi as isSafeExecutableValue, Hr as resolveAllowlistCandidatePath, Ht as INTERNAL_MESSAGE_CHANNEL, I as refreshConfiguredSessionBindingEntry, Ia as listBufferedPluginTaskPasses, Ii as getActiveGatewayPluginRegistry, In as resolveModelRefFromString, Ir as parseNonNegativeByteSize, It as resolveAccountEntry, Jn as buildAssistantMessage, Jr as unwrapKnownShellMultiplexerInvocation, Jt as normalizeMessageChannel, Ki as resolveSlackStreamingMode, Kn as OLLAMA_NATIVE_BASE_URL, Kr as isShellWrapperExecutable, Kt as isMarkdownCapableMessageChannel, L as updateLastRoute, La as replaceBufferedPluginTaskPasses, Li as getActivePluginRegistry, Ln as resolveReasoningDefault, Lt as deliveryContextFromSession, M as loadSessionStoreFromDisk, Ma as actionHasTarget, Mi as normalizeAnyChannelId, Mn as normalizeProviderId, Mt as normalizeDiscordToken, N as prepareConfiguredSessionStorageRuntimeActivation, Na as actionRequiresTarget, Ni as normalizeChannelId$2, Nn as parseModelRef, Nr as resolveIMessageAttachmentRoots, Nt as resolveChannelGroupPolicy, O as commitPreparedConfiguredSessionStorageRuntimeActivation, Oa as channelTargetsSchema, On as findNormalizedProviderValue, Or as unsetConfigValueAtPath, Ot as resolveIMessageAccount, P as readSessionUpdatedAt, Pi as normalizeChatChannelId, Pn as resolveConfiguredModelRef, Pr as resolveIMessageRemoteAttachmentRoots, Pt as resolveChannelGroupRequireMention, Q as resolveSessionFilePath, Qi as ensureAuthProfileStore, Qn as getApiKeyForModel, Qt as GATEWAY_CLIENT_MODES, R as updateSessionStore, Ra as RecoveryAdmissionError, Ri as getActivePluginRegistryKey, Rn as resolveSubagentSpawnModelSelection, Rr as secretRefKey, Rt as deliveryContextKey, S as getConversationReadQuery, Sa as readTaskWorkStates, Si as resolveEffectiveEnableState, Sn as resolveSafeBinProfiles, Sr as resetConfigOverrides, St as listEnabledSignalAccounts, Ti as isPathInside, Tn as buildAllowedModelSet, Tr as getConfigValueAtPath, Tt as normalizeWhatsAppTarget, U as resolveFreshSessionTotalTokens, Ui as mapStreamingModeToSlackLegacyDraftStreamMode, Ur as resolveCommandResolutionFromArgv, Ut as isDeliverableMessageChannel, V as DEFAULT_RESET_TRIGGERS, Vi as setActivePluginRegistry, Vr as matchAllowlist, Vt as normalizeSessionDeliveryFields, W as setSessionRuntimeModel, Wi as resolveDiscordPreviewStreamMode, Wr as extractShellWrapperInlineCommand, Wt as isGatewayMessageChannel, X as SESSION_RUN_STORE_FILE_NAME, Xi as listProfilesForProvider, Xn as buildStreamErrorAssistantMessage, Xr as parseDurationMs, Xt as resolveMessageChannel, Y as SAFE_SESSION_ID_RE, Yi as dedupeProfileIds, Yn as buildAssistantMessageWithZeroUsage, Yt as resolveGatewayMessageChannel, Zi as markAuthProfileGood, Zn as buildUsageWithNoCost, Zt as GATEWAY_CLIENT_IDS, _ as normalizeProviderId$1, _a as getShellPathFromLoginShell, _i as loadPluginManifestRegistry, _n as isWindowsPlatform, _r as parseDotPath, _t as normalizeStringEntriesLower, a as normalizePluginHttpPath, aa as resolveAuthProfileDisplayLabel, at as resolveParentSessionGroupId, b as StorageReadAccessError, ba as parseBooleanValue$1, bi as isBundledChannelEnabledByChannelConfig, bn as SAFE_BIN_PROFILES, br as resolveCliName, bt as resolveSlackAppToken, c as executePluginCommand, ca as coerceSecretRef, cn as readConfigFileSnapshotForWrite, cr as isProfileInCooldown, ct as normalizeSignalMessagingTarget, d as registerPluginCommand, da as resolveSecretInputRef, di as isAvatarHttpUrl, dn as isTrustedSafeBinPath, dr as resolveProfilesUnavailableReason, dt as normalizeChannelId$1, ea as resolveAuthStorePathForDisplay, en as normalizeAccountId$1, er as requireApiKey, et as resolveSessionTranscriptPath, f as BUILTIN_TTS_PROVIDER_IDS, fa as splitTrailingAuthProfile, fi as isPathWithinRoot, fn as listWritableExplicitTrustedSafeBinDirs, fr as resolveApiKeyForProfile, ft as formatAllowlistMatchMeta, g as replaceSpeechProviders, ga as VERSION, gi as validateJsonSchemaValue, gn as buildEnforcedShellCommand, gr as isRecord$1, gt as normalizeStringEntries, h as isBuiltinTtsProvider, ha as DEFAULT_PROVIDER, hn as analyzeShellCommand, hr as isNonEmptyString, ht as normalizeHyphenSlug, i as createPluginRegistry, ia as readProcessElapsedSeconds, ir as resolveAuthProfileOrder, it as resolveGroupSessionKey, j as loadSessionStore, ja as applyTargetToParams, ji as listChatChannels, jn as normalizeModelRef$2, jr as isInboundPathAllowed, jt as resolveDiscordAccount, k as getConfiguredSessionStorageRuntime, ka as optionalStringEnum, ki as CHAT_CHANNEL_ORDER, kn as isCliProvider, kr as validateConfigObjectWithPlugins, kt as createDiscordActionGate, l as listPluginCommands, la as hasConfiguredSecretInput, li as AVATAR_MAX_BYTES, ln as writeConfigFile, lr as markAuthProfileFailure, lt as getChannelPlugin, m as getSpeechProvider, ma as DEFAULT_MODEL, mi as buildChannelAccountBindings, mn as validateSafeBinArgv, mr as describeUnknownError$1, mt as normalizeAtHashSlug, n as clearRegisteredPluginApis, na as withFileLock$1, nn as resolveSessionLockMaxHoldFromTimeout, nr as resolveEnvApiKey, nt as resolveStorePath, o as buildPluginHealthReport, on as loadConfig, ot as getChannelDock, p as getRegisteredSpeechProviders, pa as DEFAULT_CONTEXT_TOKENS, pi as isSupportedLocalAvatarExtension, pn as normalizeTrustedSafeBinDirs, pr as resolveSecretRefValues, pt as resolveAllowlistMatchByCandidates, qn as createOllamaStreamFn, qr as unwrapKnownDispatchWrapperInvocation, qt as listDeliverableMessageChannels, ra as isPidAlive, rn as CtxProjectionCorruptionError, rr as resolveModelAuthMode, rt as deriveSessionMetaPatch, s as clearPluginCommands, sa as normalizeSecretInput, sn as readConfigFileSnapshot, sr as getSoonestCooldownExpiry, st as listChannelDocks, t as addRegisteredPluginApi, ta as resolveOpenClawAgentDir, tn as acquireSessionWriteLock, u as matchPluginCommand, ua as normalizeResolvedSecretInputString, ui as isAvatarDataUrl, un as getTrustedSafeBinDirs, ur as markAuthProfileUsed, ut as listChannelPlugins, v as createInternalHookEvent, va as resolveShellEnvFallbackTimeoutMs, vi as BUNDLED_ENABLED_BY_DEFAULT, vn as splitCommandChain, vr as runTasksWithConcurrency, vt as resolveSlackAccount, w as requireSessionStorageRuntime, wi as discoverOpenClawPlugins, wn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, wr as unsetConfigOverride, wt as isWhatsAppGroupJid, x as createConversationReadQuery, xa as resolveOwnerDisplaySetting, xi as normalizePluginsConfig, xn as normalizeSafeBinProfileFixtures, xr as getConfigOverrides, xt as resolveSlackBotToken, y as triggerInternalHook, ya as isTruthyEnvValue, yi as applyTestPluginDefaults, yn as splitShellArgs, yr as formatCliCommand, yt as resolveSlackReplyToMode, z as updateSessionStoreEntry, zn as resolveThinkingDefault, zr as resolveExecPolicyPreset, zt as mergeDeliveryContext } from "./registry-D9-EsIYH.js";
|
|
3
3
|
import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-BIDPYPVC.js";
|
|
4
4
|
import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3, x as safeParseJson } from "./subsystem-BRH2eiRx.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
6
|
import { $ as resolveConfiguredCanonicalIdentity, A as logError, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, J as isValidAgentId, L as DEFAULT_AGENT_ID, M as logWarn, O as spawnWithFallback, P as resolveAgentModelFallbackValues, Q as resolveCanonicalIdentity, S as filterBootstrapFilesForSession, U as classifySessionKeyShape, V as buildAgentMainSessionKey, X as normalizeMainKey, Y as normalizeAgentId, Z as resolveAgentIdFromSessionKey, _ as DEFAULT_IDENTITY_FILENAME, _t as stripAgentSessionKeyPrefix, at as normalizeAccountId$2, c as resolveDefaultAgentId, d as resolveSessionAgentId, dt as isAcpSessionKey, et as resolveThreadSessionKeys, f as resolveSessionAgentIds, ft as isCronSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, gt as resolveThreadParentSessionKey, h as DEFAULT_BOOTSTRAP_FILENAME, ht as parseAgentSessionKey, i as resolveAgentDir, it as DEFAULT_ACCOUNT_ID, j as logInfo, k as logDebug, l as resolveEffectiveModelFallbacks, lt as WAKE_GATE_SESSION_KEY_SEGMENT, m as DEFAULT_AGENT_WORKSPACE_DIR, mt as isSubagentSessionKey, n as listAgentIds, nt as sessionKeyAgentMatches, o as resolveAgentSkillsFilter, ot as normalizeOptionalAccountId, q as isKnownAgentMainSessionKey, r as resolveAgentConfig, rt as toAgentStoreSessionKey, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, tt as sanitizeAgentId, u as resolveRunModelFallbacksOverride, ut as getSubagentDepth, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as DEVICE_SENDER_PREFIX } from "./agent-scope-Brtnf-qo.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-D97OGYfX.js";
|
|
8
8
|
import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-CpI_90Wf.js";
|
|
9
|
-
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
10
|
-
import { $ as stripUndefinedFields, A as searchMessagesDiscord, At as applyChannelMatchMeta, B as listGuildChannelsDiscord, C as deleteMessageDiscord, Ct as resolveGroupDmAllow, D as listThreadsDiscord, Dt as resolveDiscordSystemLocation, E as listPinsDiscord, Et as formatDiscordUserTag, F as fetchChannelInfoDiscord, G as uploadEmojiDiscord, H as removeRoleDiscord, I as fetchMemberInfoDiscord, J as deleteChannelDiscord, K as uploadStickerDiscord, L as fetchRoleInfoDiscord, M as addRoleDiscord, Mt as normalizeChannelSlug, N as banMemberDiscord, Nt as resolveChannelEntryMatchWithFallback, O as pinMessageDiscord, Ot as resolveTimestampMs, P as createScheduledEventDiscord, Q as setChannelPermissionDiscord, R as fetchVoiceStatusDiscord, S as createThreadDiscord, St as resolveDiscordShouldRequireMention, T as fetchMessageDiscord, Tt as formatDiscordReactionEmoji, U as timeoutMemberDiscord, V as listScheduledEventsDiscord, W as listGuildEmojisDiscord, X as moveChannelDiscord, Y as editChannelDiscord, Z as removeChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordChannelConfigWithFallback, a as sendDiscordComponentMessage, at as normalizePollInput, b as getChannelActivity, bt as resolveDiscordOwnerAccess, c as parseDiscordComponentCustomId, ct as createDiscordRetryRunner, d as parseDiscordModalCustomIdForCarbon, dt as listDiscordDirectoryGroupsLive, f as readDiscordComponentSpec, ft as listDiscordDirectoryPeersLive, g as sendPollDiscord, gt as resolveDiscordAllowListMatch, h as sendMessageDiscord, ht as normalizeDiscordSlug, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as unpinMessageDiscord, jt as buildChannelKeyCandidates, k as readMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as parseDiscordTarget, m as resolveDiscordModalEntry, mt as normalizeDiscordAllowList, n as reactMessageDiscord, o as createDiscordFormModal, ot as createDiscordClient, p as resolveDiscordComponentEntry, pt as isDiscordGroupAllowedByPolicy, q as createChannelDiscord, r as removeOwnReactionsDiscord, rt as hasAnyGuildPermissionDiscord, s as formatDiscordComponentEventText, st as createDiscordRestClient, t as fetchReactionsDiscord, tt as fetchChannelPermissionsDiscord, u as parseDiscordModalCustomId, ut as resolveDiscordChannelId, v as sendVoiceMessageDiscord, vt as resolveDiscordGuildEntry, w as editMessageDiscord, wt as shouldEmitDiscordReactionNotification, x as recordChannelActivity, xt as resolveDiscordOwnerAllowFrom, y as sendWebhookMessageDiscord, yt as resolveDiscordMemberAccessState, z as kickMemberDiscord } from "./send-
|
|
9
|
+
import { a as resolveSlackWebClientOptions, c as buildSlackBlocksFallbackText, i as createSlackWebClient, l as parseSlackTarget, o as parseSlackBlocksInput, r as normalizeSlackOutboundText, s as validateSlackBlocksArray, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-dNeIyZEN.js";
|
|
10
|
+
import { $ as stripUndefinedFields, A as searchMessagesDiscord, At as applyChannelMatchMeta, B as listGuildChannelsDiscord, C as deleteMessageDiscord, Ct as resolveGroupDmAllow, D as listThreadsDiscord, Dt as resolveDiscordSystemLocation, E as listPinsDiscord, Et as formatDiscordUserTag, F as fetchChannelInfoDiscord, G as uploadEmojiDiscord, H as removeRoleDiscord, I as fetchMemberInfoDiscord, J as deleteChannelDiscord, K as uploadStickerDiscord, L as fetchRoleInfoDiscord, M as addRoleDiscord, Mt as normalizeChannelSlug, N as banMemberDiscord, Nt as resolveChannelEntryMatchWithFallback, O as pinMessageDiscord, Ot as resolveTimestampMs, P as createScheduledEventDiscord, Q as setChannelPermissionDiscord, R as fetchVoiceStatusDiscord, S as createThreadDiscord, St as resolveDiscordShouldRequireMention, T as fetchMessageDiscord, Tt as formatDiscordReactionEmoji, U as timeoutMemberDiscord, V as listScheduledEventsDiscord, W as listGuildEmojisDiscord, X as moveChannelDiscord, Y as editChannelDiscord, Z as removeChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordChannelConfigWithFallback, a as sendDiscordComponentMessage, at as normalizePollInput, b as getChannelActivity, bt as resolveDiscordOwnerAccess, c as parseDiscordComponentCustomId, ct as createDiscordRetryRunner, d as parseDiscordModalCustomIdForCarbon, dt as listDiscordDirectoryGroupsLive, f as readDiscordComponentSpec, ft as listDiscordDirectoryPeersLive, g as sendPollDiscord, gt as resolveDiscordAllowListMatch, h as sendMessageDiscord, ht as normalizeDiscordSlug, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as unpinMessageDiscord, jt as buildChannelKeyCandidates, k as readMessagesDiscord, kt as fetchDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as parseDiscordTarget, m as resolveDiscordModalEntry, mt as normalizeDiscordAllowList, n as reactMessageDiscord, o as createDiscordFormModal, ot as createDiscordClient, p as resolveDiscordComponentEntry, pt as isDiscordGroupAllowedByPolicy, q as createChannelDiscord, r as removeOwnReactionsDiscord, rt as hasAnyGuildPermissionDiscord, s as formatDiscordComponentEventText, st as createDiscordRestClient, t as fetchReactionsDiscord, tt as fetchChannelPermissionsDiscord, u as parseDiscordModalCustomId, ut as resolveDiscordChannelId, v as sendVoiceMessageDiscord, vt as resolveDiscordGuildEntry, w as editMessageDiscord, wt as shouldEmitDiscordReactionNotification, x as recordChannelActivity, xt as resolveDiscordOwnerAllowFrom, y as sendWebhookMessageDiscord, yt as resolveDiscordMemberAccessState, z as kickMemberDiscord } from "./send-CyKQnkbd.js";
|
|
11
11
|
import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-C6NdYDq9.js";
|
|
12
12
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-8NfUbGWc.js";
|
|
13
|
-
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-
|
|
13
|
+
import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-C3M1IW7W.js";
|
|
14
14
|
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-g1-rZffS.js";
|
|
15
|
-
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-
|
|
16
|
-
import { $t as extractLegacyTranscriptEntryFields, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Cr as isSessionArchiveArtifactName, D as eventOrder, Dr as resolveProviderRuntimeIdentity, E as DB_SESSION_HYDRATION_LIMIT, Er as resolveProviderPromptCacheKey, F as truncateToolResultToChars, G as createSessionStorageRuntimeFromConfig, Gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, H as isToolResultMessage, I as CHARS_PER_TOKEN_ESTIMATE$2, Jn as normalizeHttpWebhookUrl, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, N as TOOL_RESULT_TEXT_WEIGHT, O as pickLeaf, P as truncateTextHeadTail, R as createMessageCharEstimateCache, S as initializeGlobalHookRunner, Sr as isPrimarySessionTranscriptFileName, T as promptBuildResultToContribution, Tr as buildPluginTurnIdentity, U as parseInlineDirectives$1, Ut as deriveLegacyActorIdentity, V as getToolResultText$1, W as attachPgPoolErrorListeners, Xn as resolveDefaultCronStaggerMs, Xt as sanitizeAppendEntry, Y as validateCtxStorage, Yn as normalizeCronStaggerMs, Zn as parseAbsoluteTimeMs, _n as resolveSenderLabel, _r as resolveThreadFlag, a as resolveMirroredTranscriptText, an as buildInboundMetaSystemPrompt, ar as deriveSessionTotalTokens, b as getGlobalHookRunner, bn as CREATE_CTX_STORAGE_OWNER_SQL, br as resolveExplicitAgentSessionKey, c as drainPendingPrimaryWrites, cn as attachMessageIngress, cr as normalizeUsage, d as repairToolUseResultPairing, dn as messageTime, en as sanitizeJsonb, f as sanitizeToolCallInputs, fn as stripMessageCarriers, fr as resolveSessionKey, g as sanitizeToolCallIdsForCloudCodeAssist, gn as resolveTimezone, gr as resolveSessionResetType, h as canonicalToolCallIdBase, hn as formatZonedTimestamp, hr as resolveSessionResetPolicy, i as appendAssistantMessageToSessionTranscript, in as toJsonValue$1, ir as derivePromptTokens, j as sessionLikelyHasOversizedToolResults, jt as buildEqualityProjection, k as capToolResultContent, l as guardSessionManager, ln as getMessageIngress, m as stripToolResultDetails, mr as resolveChannelResetConfig, n as parseSessionThreadInfo, nn as createCurrentUserPromptEnvelope, o as openDbSessionManager, on as collectInboundUserContext, or as hasNonzeroUsage, p as sanitizeToolUseResultPairing, pn as formatMessageStamp, pr as evaluateSessionFreshness, qn as inferLegacyName, r as resolveAndPersistSessionFile, rn as mergePromptContributions, s as runSerializedBySession, sn as renderInboundUserContext, sr as makeZeroUsageSnapshot, t as extractDeliveryInfo, tn as sha256, u as openRawToolResultStash, un as isRepresentableEpochMs, v as hasInterSessionUserProvenance, vr as canonicalizeMainSessionAlias, w as hasHookForPlugin, wr as buildPluginRuntimeIdentity, x as getGlobalPluginRegistry, xr as resolveMainSessionKey, y as normalizeInputProvenance, yr as resolveAgentMainSessionKey, z as estimateContextChars$1 } from "./sessions-
|
|
15
|
+
import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-4IeKkzGJ.js";
|
|
16
|
+
import { $t as extractLegacyTranscriptEntryFields, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Cr as isSessionArchiveArtifactName, D as eventOrder, Dr as resolveProviderRuntimeIdentity, E as DB_SESSION_HYDRATION_LIMIT, Er as resolveProviderPromptCacheKey, F as truncateToolResultToChars, G as createSessionStorageRuntimeFromConfig, Gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, H as isToolResultMessage, I as CHARS_PER_TOKEN_ESTIMATE$2, Jn as normalizeHttpWebhookUrl, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, N as TOOL_RESULT_TEXT_WEIGHT, O as pickLeaf, P as truncateTextHeadTail, R as createMessageCharEstimateCache, S as initializeGlobalHookRunner, Sr as isPrimarySessionTranscriptFileName, T as promptBuildResultToContribution, Tr as buildPluginTurnIdentity, U as parseInlineDirectives$1, Ut as deriveLegacyActorIdentity, V as getToolResultText$1, W as attachPgPoolErrorListeners, Xn as resolveDefaultCronStaggerMs, Xt as sanitizeAppendEntry, Y as validateCtxStorage, Yn as normalizeCronStaggerMs, Zn as parseAbsoluteTimeMs, _n as resolveSenderLabel, _r as resolveThreadFlag, a as resolveMirroredTranscriptText, an as buildInboundMetaSystemPrompt, ar as deriveSessionTotalTokens, b as getGlobalHookRunner, bn as CREATE_CTX_STORAGE_OWNER_SQL, br as resolveExplicitAgentSessionKey, c as drainPendingPrimaryWrites, cn as attachMessageIngress, cr as normalizeUsage, d as repairToolUseResultPairing, dn as messageTime, en as sanitizeJsonb, f as sanitizeToolCallInputs, fn as stripMessageCarriers, fr as resolveSessionKey, g as sanitizeToolCallIdsForCloudCodeAssist, gn as resolveTimezone, gr as resolveSessionResetType, h as canonicalToolCallIdBase, hn as formatZonedTimestamp, hr as resolveSessionResetPolicy, i as appendAssistantMessageToSessionTranscript, in as toJsonValue$1, ir as derivePromptTokens, j as sessionLikelyHasOversizedToolResults, jt as buildEqualityProjection, k as capToolResultContent, l as guardSessionManager, ln as getMessageIngress, m as stripToolResultDetails, mr as resolveChannelResetConfig, n as parseSessionThreadInfo, nn as createCurrentUserPromptEnvelope, o as openDbSessionManager, on as collectInboundUserContext, or as hasNonzeroUsage, p as sanitizeToolUseResultPairing, pn as formatMessageStamp, pr as evaluateSessionFreshness, qn as inferLegacyName, r as resolveAndPersistSessionFile, rn as mergePromptContributions, s as runSerializedBySession, sn as renderInboundUserContext, sr as makeZeroUsageSnapshot, t as extractDeliveryInfo, tn as sha256, u as openRawToolResultStash, un as isRepresentableEpochMs, v as hasInterSessionUserProvenance, vr as canonicalizeMainSessionAlias, w as hasHookForPlugin, wr as buildPluginRuntimeIdentity, x as getGlobalPluginRegistry, xr as resolveMainSessionKey, y as normalizeInputProvenance, yr as resolveAgentMainSessionKey, z as estimateContextChars$1 } from "./sessions-BUjbH5K1.js";
|
|
17
17
|
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-B9fPPmdF.js";
|
|
18
18
|
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-DUGujS2U.js";
|
|
19
19
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Bi2az-SQ.js";
|
|
20
|
-
import { A as transcriptEntriesToMessages, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, M as sleepWithAbort, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as stripLeadingInboundMetadata, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as computeBackoff, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as jsonUtf8Bytes, n as formatOutboundPayloadLog, o as throwIfAborted, p as extractToolCallNames, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as capArrayByJsonBytes, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-
|
|
20
|
+
import { A as transcriptEntriesToMessages, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, M as sleepWithAbort, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as stripLeadingInboundMetadata, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as computeBackoff, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as jsonUtf8Bytes, n as formatOutboundPayloadLog, o as throwIfAborted, p as extractToolCallNames, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as capArrayByJsonBytes, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-lkeqXp0v.js";
|
|
21
21
|
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-C1_MQbGi.js";
|
|
22
22
|
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DcS-vU0o.js";
|
|
23
23
|
import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-DVYGsTxh.js";
|
|
24
24
|
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-PqXav9ys.js";
|
|
25
|
-
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
26
|
-
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-
|
|
25
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CQIsGUgZ.js";
|
|
26
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BEOHdT2e.js";
|
|
27
27
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CruxVpoI.js";
|
|
28
|
-
import { c as streamSignalEvents, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-
|
|
29
|
-
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
30
|
-
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
28
|
+
import { c as streamSignalEvents, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-CVYVctJr.js";
|
|
29
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-BQ-rDIAU.js";
|
|
30
|
+
import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-DPCcTIwi.js";
|
|
31
31
|
import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BUbh2qQQ.js";
|
|
32
32
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
33
|
-
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-
|
|
34
|
-
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-
|
|
33
|
+
import { _ as recordSystemPromptHashComparison, b as recordCommandPoll, d as logRunCompleted, f as logRunStarted, g as logToolExecutionStarted, h as logToolExecutionCompleted, l as logModelCallError, m as logToolExecutionBlocked, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, v as refreshRunProgress, x as resetCommandPollCount, y as boundDiagnosticContent } from "./diagnostic-TucKQ5Fk.js";
|
|
34
|
+
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-C74O1QW2.js";
|
|
35
35
|
import { t as CommandLane } from "./lanes-ZjTPuJtM.js";
|
|
36
|
-
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-
|
|
37
|
-
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-
|
|
38
|
-
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-
|
|
39
|
-
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-
|
|
40
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
41
|
-
import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-
|
|
42
|
-
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-
|
|
43
|
-
import { r as isLoopbackHost } from "./ws-
|
|
44
|
-
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
45
|
-
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-
|
|
36
|
+
import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-DUuIiwvi.js";
|
|
37
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-CAAdiBWD.js";
|
|
38
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-C6OpZN3o.js";
|
|
39
|
+
import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-fV3h6ELM.js";
|
|
40
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CKGA60jT.js";
|
|
41
|
+
import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-CEMoDe5q.js";
|
|
42
|
+
import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-CobI3ImG.js";
|
|
43
|
+
import { r as isLoopbackHost } from "./ws-zaFiZiYP.js";
|
|
44
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-BgX_xjTe.js";
|
|
45
|
+
import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-W6RHTFue.js";
|
|
46
46
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-ClPXs9e9.js";
|
|
47
47
|
import { r as writeJsonAtomic } from "./json-files-Dt0in6lC.js";
|
|
48
|
-
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as DOCS_SITE_URL, N as docsSiteUrl, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-
|
|
49
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
50
|
-
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-
|
|
51
|
-
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-
|
|
52
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
53
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
54
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
55
|
-
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-
|
|
56
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
57
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
58
|
-
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
59
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
60
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
61
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
62
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
63
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
48
|
+
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as DOCS_SITE_URL, N as docsSiteUrl, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-Cp00v46W.js";
|
|
49
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DPG3UP6h.js";
|
|
50
|
+
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-DbjdWQRu.js";
|
|
51
|
+
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-JXHsJfhx.js";
|
|
52
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-D7rvWjfk.js";
|
|
53
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DczIA0hC.js";
|
|
54
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-D-nyt7yZ.js";
|
|
55
|
+
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BdGImnhD.js";
|
|
56
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-DK85oFoq.js";
|
|
57
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-C69Fd8zO.js";
|
|
58
|
+
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-J-ZcPvqF.js";
|
|
59
|
+
import { t as convertMarkdownTables } from "./tables-ohryoECJ.js";
|
|
60
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CciBIiE2.js";
|
|
61
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-N9oe4tGM.js";
|
|
62
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-BlMS0pts.js";
|
|
63
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-ClN-Aak4.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-3Bw8zhA3.js";
|
|
65
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-CECAX0Pe.js";
|
|
66
66
|
import { t as isQmdScopeAllowed } from "./qmd-scope-Btus-Hb9.js";
|
|
67
67
|
import { createRequire } from "node:module";
|
|
68
68
|
import * as path$1 from "node:path";
|
|
@@ -85,7 +85,7 @@ import { setTimeout as setTimeout$1 } from "node:timers/promises";
|
|
|
85
85
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
86
86
|
import { EdgeTTS } from "node-edge-tts";
|
|
87
87
|
import net from "node:net";
|
|
88
|
-
import WebSocket from "ws";
|
|
88
|
+
import WebSocket$1 from "ws";
|
|
89
89
|
import { createJiti } from "jiti";
|
|
90
90
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
91
91
|
import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
|
|
@@ -10383,7 +10383,7 @@ async function sendTranscriptEcho(params) {
|
|
|
10383
10383
|
}
|
|
10384
10384
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
10385
10385
|
try {
|
|
10386
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10386
|
+
const { deliverOutboundPayloads } = await import("./deliver-DTstMBfw.js");
|
|
10387
10387
|
await deliverOutboundPayloads({
|
|
10388
10388
|
cfg,
|
|
10389
10389
|
channel: normalizedChannel,
|
|
@@ -18958,7 +18958,7 @@ async function routeReply(params) {
|
|
|
18958
18958
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
18959
18959
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
18960
18960
|
try {
|
|
18961
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
18961
|
+
const { deliverOutboundPayloads } = await import("./deliver-DTstMBfw.js");
|
|
18962
18962
|
const outboundSession = buildOutboundSessionContext({
|
|
18963
18963
|
cfg,
|
|
18964
18964
|
agentId: resolvedAgentId,
|
|
@@ -22909,7 +22909,7 @@ async function handleHeartbeatError(params) {
|
|
|
22909
22909
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
22910
22910
|
async function ackAnnounceExecuted(payload) {
|
|
22911
22911
|
if (payload.kind !== "announce") return;
|
|
22912
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
22912
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-Bek3q0nu.js");
|
|
22913
22913
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
22914
22914
|
await markSubagentAnnounceExecuted(runId);
|
|
22915
22915
|
} catch {}
|
|
@@ -23333,7 +23333,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
|
23333
23333
|
let subagentRegistryAccessPromise;
|
|
23334
23334
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
23335
23335
|
function loadSubagentRegistryAccess() {
|
|
23336
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
23336
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-Bek3q0nu.js").catch((err) => {
|
|
23337
23337
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
23338
23338
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
23339
23339
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -37711,7 +37711,7 @@ async function createModelSelectionState(params) {
|
|
|
37711
37711
|
}
|
|
37712
37712
|
}
|
|
37713
37713
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
37714
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
37714
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-DPd1Ol-P.js");
|
|
37715
37715
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
37716
37716
|
const providerKey = normalizeProviderId(provider);
|
|
37717
37717
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -55608,7 +55608,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
55608
55608
|
return;
|
|
55609
55609
|
}
|
|
55610
55610
|
try {
|
|
55611
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
55611
|
+
const { deliverOutboundPayloads } = await import("./deliver-DTstMBfw.js");
|
|
55612
55612
|
const outboundSession = buildOutboundSessionContext({
|
|
55613
55613
|
cfg: params.cfg,
|
|
55614
55614
|
sessionKey: params.sessionKey
|
|
@@ -62386,7 +62386,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
62386
62386
|
let transcript;
|
|
62387
62387
|
let carry;
|
|
62388
62388
|
if (needsPreflightTranscription) try {
|
|
62389
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62389
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-DhIYyWh0.js");
|
|
62390
62390
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
62391
62391
|
if (uploadable.length > 0) {
|
|
62392
62392
|
const preflight = await transcribeFirstAudio({
|
|
@@ -69656,19 +69656,19 @@ function createDefaultDeps() {
|
|
|
69656
69656
|
};
|
|
69657
69657
|
}),
|
|
69658
69658
|
sendMessageDiscord: async (...args) => {
|
|
69659
|
-
const { sendMessageDiscord } = await import("./send-
|
|
69659
|
+
const { sendMessageDiscord } = await import("./send-C8OYq5CD.js");
|
|
69660
69660
|
return await sendMessageDiscord(...args);
|
|
69661
69661
|
},
|
|
69662
69662
|
sendMessageSlack: async (...args) => {
|
|
69663
|
-
const { sendMessageSlack } = await import("./send-
|
|
69663
|
+
const { sendMessageSlack } = await import("./send-CilPGWoe.js");
|
|
69664
69664
|
return await sendMessageSlack(...args);
|
|
69665
69665
|
},
|
|
69666
69666
|
sendMessageSignal: async (...args) => {
|
|
69667
|
-
const { sendMessageSignal } = await import("./send-
|
|
69667
|
+
const { sendMessageSignal } = await import("./send-DFpY65tA.js");
|
|
69668
69668
|
return await sendMessageSignal(...args);
|
|
69669
69669
|
},
|
|
69670
69670
|
sendMessageIMessage: async (...args) => {
|
|
69671
|
-
const { sendMessageIMessage } = await import("./send-
|
|
69671
|
+
const { sendMessageIMessage } = await import("./send-CMAU8Lg8.js");
|
|
69672
69672
|
return await sendMessageIMessage(...args);
|
|
69673
69673
|
}
|
|
69674
69674
|
};
|
|
@@ -73263,7 +73263,7 @@ var ResilientGatewayPlugin = class extends GatewayPlugin {
|
|
|
73263
73263
|
}
|
|
73264
73264
|
createWebSocket(url) {
|
|
73265
73265
|
if (!this.wsAgent) return super.createWebSocket(url);
|
|
73266
|
-
return new WebSocket(url, { agent: this.wsAgent });
|
|
73266
|
+
return new WebSocket$1(url, { agent: this.wsAgent });
|
|
73267
73267
|
}
|
|
73268
73268
|
};
|
|
73269
73269
|
function createDiscordGatewayPlugin(params) {
|
|
@@ -80990,7 +80990,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
80990
80990
|
}
|
|
80991
80991
|
let commandsRegistry;
|
|
80992
80992
|
async function getCommandsRegistry() {
|
|
80993
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
80993
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-DPCcTIwi.js").then((n) => n.n);
|
|
80994
80994
|
return commandsRegistry;
|
|
80995
80995
|
}
|
|
80996
80996
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -81320,14 +81320,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81320
81320
|
const channelName = channelInfo?.name;
|
|
81321
81321
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
81322
81322
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
81323
|
-
import("./resolve-route-
|
|
81324
|
-
import("./inbound-context-
|
|
81325
|
-
import("./provider-dispatcher-
|
|
81323
|
+
import("./resolve-route-N9oe4tGM.js").then((n) => n.r),
|
|
81324
|
+
import("./inbound-context-BdGImnhD.js").then((n) => n.n),
|
|
81325
|
+
import("./provider-dispatcher-Cq6Acy3h.js")
|
|
81326
81326
|
]);
|
|
81327
81327
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
81328
81328
|
import("./conversation-label-a1YYj3eN.js"),
|
|
81329
|
-
import("./reply-prefix-
|
|
81330
|
-
import("./session-meta-
|
|
81329
|
+
import("./reply-prefix-BQ-rDIAU.js").then((n) => n.n),
|
|
81330
|
+
import("./session-meta-BlMS0pts.js").then((n) => n.n)
|
|
81331
81331
|
]);
|
|
81332
81332
|
const route = resolveAgentRoute({
|
|
81333
81333
|
cfg,
|
|
@@ -81392,9 +81392,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81392
81392
|
});
|
|
81393
81393
|
const deliverSlashPayloads = async (replies) => {
|
|
81394
81394
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
81395
|
-
import("./replies-
|
|
81396
|
-
import("./chunk-
|
|
81397
|
-
import("./markdown-tables-
|
|
81395
|
+
import("./replies-BhuMuYfa.js"),
|
|
81396
|
+
import("./chunk-C3M1IW7W.js").then((n) => n.s),
|
|
81397
|
+
import("./markdown-tables-DczIA0hC.js").then((n) => n.t)
|
|
81398
81398
|
]);
|
|
81399
81399
|
await deliverSlackSlashReplies({
|
|
81400
81400
|
replies,
|
|
@@ -81448,7 +81448,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
81448
81448
|
let nativeCommands = [];
|
|
81449
81449
|
if (nativeEnabled) {
|
|
81450
81450
|
reg = await getCommandsRegistry();
|
|
81451
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
81451
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-J-ZcPvqF.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
81452
81452
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
81453
81453
|
skillCommands,
|
|
81454
81454
|
provider: "slack"
|
|
@@ -82392,7 +82392,7 @@ async function getMemorySearchManager(params) {
|
|
|
82392
82392
|
if (cached) return { manager: cached };
|
|
82393
82393
|
}
|
|
82394
82394
|
try {
|
|
82395
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
82395
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CIgxgs0D.js");
|
|
82396
82396
|
const primary = await QmdMemoryManager.create({
|
|
82397
82397
|
cfg: params.cfg,
|
|
82398
82398
|
agentId: params.agentId,
|
|
@@ -82404,7 +82404,7 @@ async function getMemorySearchManager(params) {
|
|
|
82404
82404
|
const wrapper = new FallbackMemoryManager({
|
|
82405
82405
|
primary,
|
|
82406
82406
|
fallbackFactory: async () => {
|
|
82407
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82407
|
+
const { MemoryIndexManager } = await import("./manager-BexdJt3o.js");
|
|
82408
82408
|
return await MemoryIndexManager.get(params);
|
|
82409
82409
|
}
|
|
82410
82410
|
}, () => {
|
|
@@ -82419,7 +82419,7 @@ async function getMemorySearchManager(params) {
|
|
|
82419
82419
|
}
|
|
82420
82420
|
}
|
|
82421
82421
|
try {
|
|
82422
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
82422
|
+
const { MemoryIndexManager } = await import("./manager-BexdJt3o.js");
|
|
82423
82423
|
return { manager: await MemoryIndexManager.get(params) };
|
|
82424
82424
|
} catch (err) {
|
|
82425
82425
|
return {
|
|
@@ -87584,7 +87584,7 @@ function createPluginRuntime(options = {}) {
|
|
|
87584
87584
|
workStates: readTaskWorkStates
|
|
87585
87585
|
},
|
|
87586
87586
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
87587
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
87587
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-CAAdiBWD.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
87588
87588
|
};
|
|
87589
87589
|
Object.defineProperty(runtime, "analysis", {
|
|
87590
87590
|
enumerable: true,
|
|
@@ -89127,7 +89127,7 @@ function shouldEmitLoopWarning(state, warningKey, count) {
|
|
|
89127
89127
|
async function recordLoopOutcome(args) {
|
|
89128
89128
|
if (!args.ctx?.sessionKey) return;
|
|
89129
89129
|
try {
|
|
89130
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
89130
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-C74O1QW2.js").then((n) => n.n);
|
|
89131
89131
|
const { recordToolCallOutcome } = await import("./tool-loop-detection-6zhykL8L.js");
|
|
89132
89132
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
89133
89133
|
sessionKey: args.ctx.sessionKey,
|
|
@@ -89154,8 +89154,8 @@ async function runBeforeToolCallHook(args) {
|
|
|
89154
89154
|
const toolName = normalizeToolName(args.toolName || "tool");
|
|
89155
89155
|
const params = args.params;
|
|
89156
89156
|
if (args.ctx?.sessionKey) {
|
|
89157
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
89158
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
89157
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-C74O1QW2.js").then((n) => n.n);
|
|
89158
|
+
const { logToolLoopAction } = await import("./diagnostic-TucKQ5Fk.js").then((n) => n.n);
|
|
89159
89159
|
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-6zhykL8L.js");
|
|
89160
89160
|
const sessionState = getDiagnosticSessionState({
|
|
89161
89161
|
sessionKey: args.ctx.sessionKey,
|
|
@@ -94089,7 +94089,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94089
94089
|
* Throws if the connection is not open.
|
|
94090
94090
|
*/
|
|
94091
94091
|
send(event) {
|
|
94092
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
|
|
94092
|
+
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"})`);
|
|
94093
94093
|
this.ws.send(JSON.stringify(event));
|
|
94094
94094
|
}
|
|
94095
94095
|
/**
|
|
@@ -94106,7 +94106,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94106
94106
|
* Returns true if the WebSocket is currently open and ready to send.
|
|
94107
94107
|
*/
|
|
94108
94108
|
isConnected() {
|
|
94109
|
-
return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
|
|
94109
|
+
return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
|
|
94110
94110
|
}
|
|
94111
94111
|
/**
|
|
94112
94112
|
* Permanently closes the WebSocket connection and disables auto-reconnect.
|
|
@@ -94116,7 +94116,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94116
94116
|
this._cancelRetryTimer();
|
|
94117
94117
|
if (this.ws) {
|
|
94118
94118
|
this.ws.removeAllListeners();
|
|
94119
|
-
if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
94119
|
+
if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
|
|
94120
94120
|
this.ws = null;
|
|
94121
94121
|
}
|
|
94122
94122
|
}
|
|
@@ -94126,7 +94126,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
|
|
|
94126
94126
|
reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
|
|
94127
94127
|
return;
|
|
94128
94128
|
}
|
|
94129
|
-
const socket = new WebSocket(this.wsUrl, { headers: {
|
|
94129
|
+
const socket = new WebSocket$1(this.wsUrl, { headers: {
|
|
94130
94130
|
Authorization: `Bearer ${this.apiKey}`,
|
|
94131
94131
|
"OpenAI-Beta": "responses-websocket=v1"
|
|
94132
94132
|
} });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { $t as GATEWAY_CLIENT_NAMES, Aa as stringEnum, Lr as ASSISTANT_IDENTITY_COLORS, Qt as GATEWAY_CLIENT_MODES, Rr as secretRefKey, Zt as GATEWAY_CLIENT_IDS, da as resolveSecretInputRef, ka as optionalStringEnum, la as hasConfiguredSecretInput, on as loadConfig, pr as resolveSecretRefValues } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-D9QKz5Mq.js";
|
|
2
|
+
import { $t as GATEWAY_CLIENT_NAMES, Aa as stringEnum, Lr as ASSISTANT_IDENTITY_COLORS, Qt as GATEWAY_CLIENT_MODES, Rr as secretRefKey, Zt as GATEWAY_CLIENT_IDS, da as resolveSecretInputRef, ka as optionalStringEnum, la as hasConfiguredSecretInput, on as loadConfig, pr as resolveSecretRefValues } from "./registry-D9-EsIYH.js";
|
|
3
3
|
import { l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath } from "./paths-BIDPYPVC.js";
|
|
4
4
|
import { S as shortenHomeInString, b as resolveUserPath, p as ensureDir$1, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-BRH2eiRx.js";
|
|
5
5
|
import { A as logError, X as normalizeMainKey, Y as normalizeAgentId, Z as resolveAgentIdFromSessionKey, c as resolveDefaultAgentId, dt as isAcpSessionKey, k as logDebug, mt as isSubagentSessionKey, n as listAgentIds, nt as sessionKeyAgentMatches } from "./agent-scope-Brtnf-qo.js";
|
|
6
6
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-C6NdYDq9.js";
|
|
7
|
-
import { Q as TASK_RUN_STATUSES, Z as TASK_RUN_MODES, _ as INPUT_PROVENANCE_KIND_VALUES, lr as SESSION_RUN_STATUSES, yr as resolveAgentMainSessionKey } from "./sessions-
|
|
7
|
+
import { Q as TASK_RUN_STATUSES, Z as TASK_RUN_MODES, _ as INPUT_PROVENANCE_KIND_VALUES, lr as SESSION_RUN_STATUSES, yr as resolveAgentMainSessionKey } from "./sessions-BUjbH5K1.js";
|
|
8
8
|
import { t as redactIdentifier } from "./redact-identifier-B3PwKCZi.js";
|
|
9
|
-
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-
|
|
10
|
-
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-
|
|
11
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
9
|
+
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-fV3h6ELM.js";
|
|
10
|
+
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-zaFiZiYP.js";
|
|
11
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BgX_xjTe.js";
|
|
12
12
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-Dt0in6lC.js";
|
|
13
13
|
import { n as resolvePairingPaths, t as pruneExpiredPending } from "./pairing-files-EvM-8IOn.js";
|
|
14
14
|
import path from "node:path";
|
|
@@ -18,7 +18,7 @@ import fs from "node:fs";
|
|
|
18
18
|
import { promisify } from "node:util";
|
|
19
19
|
import fs$1 from "node:fs/promises";
|
|
20
20
|
import { execFile } from "node:child_process";
|
|
21
|
-
import { WebSocket
|
|
21
|
+
import { WebSocket } from "ws";
|
|
22
22
|
import AjvPkg from "ajv";
|
|
23
23
|
|
|
24
24
|
//#region src/infra/docs-site.ts
|
|
@@ -2847,7 +2847,7 @@ var GatewayClient = class {
|
|
|
2847
2847
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
2848
2848
|
});
|
|
2849
2849
|
}
|
|
2850
|
-
this.ws = new WebSocket
|
|
2850
|
+
this.ws = new WebSocket(url, wsOptions);
|
|
2851
2851
|
this.ws.on("open", () => {
|
|
2852
2852
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
2853
2853
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -3043,7 +3043,7 @@ var GatewayClient = class {
|
|
|
3043
3043
|
const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
|
|
3044
3044
|
if (this.connectTimer) clearTimeout(this.connectTimer);
|
|
3045
3045
|
this.connectTimer = setTimeout(() => {
|
|
3046
|
-
if (this.connectSent || this.ws?.readyState !== WebSocket
|
|
3046
|
+
if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
|
|
3047
3047
|
this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
|
|
3048
3048
|
this.ws?.close(1008, "connect challenge timeout");
|
|
3049
3049
|
}, connectChallengeTimeoutMs);
|
|
@@ -3085,7 +3085,7 @@ var GatewayClient = class {
|
|
|
3085
3085
|
return null;
|
|
3086
3086
|
}
|
|
3087
3087
|
async request(method, params, opts) {
|
|
3088
|
-
if (!this.ws || this.ws.readyState !== WebSocket
|
|
3088
|
+
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
3089
3089
|
const id = randomUUID();
|
|
3090
3090
|
const frame = {
|
|
3091
3091
|
type: "req",
|
|
@@ -4431,7 +4431,7 @@ function indentUntrustedBody(body) {
|
|
|
4431
4431
|
}
|
|
4432
4432
|
function trackNudgeClaimChain(runner, id, sessionKey) {
|
|
4433
4433
|
const tracked = (async () => {
|
|
4434
|
-
const { runMainAgentTurn } = await import("./agent-turn-execute-
|
|
4434
|
+
const { runMainAgentTurn } = await import("./agent-turn-execute-D0szeKs8.js");
|
|
4435
4435
|
await runner.claimAndExecute({
|
|
4436
4436
|
workId: id,
|
|
4437
4437
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as saveMediaBuffer } from "./store-PqXav9ys.js";
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { a as loadWebMedia } from "./ir-D-nyt7yZ.js";
|
|
3
3
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdjlUaH0.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/outbound-attachment.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as shortenHomeInString } from "./subsystem-BRH2eiRx.js";
|
|
2
2
|
import { n as redactToolDetail } from "./redact-B9fPPmdF.js";
|
|
3
|
-
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-
|
|
3
|
+
import { I as sanitizeUserFacingText, t as extractTextFromChatContent } from "./chat-content-CEMoDe5q.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text/code-regions.ts
|
|
6
6
|
function findCodeRegions(text) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Mn as normalizeProviderId, Qi as ensureAuthProfileStore } from "./registry-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-D9QKz5Mq.js";
|
|
2
|
+
import { Mn as normalizeProviderId, Qi as ensureAuthProfileStore } from "./registry-D9-EsIYH.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-D9QKz5Mq.js";
|
|
2
|
+
import "./registry-D9-EsIYH.js";
|
|
3
|
+
import "./paths-BIDPYPVC.js";
|
|
4
|
+
import "./subsystem-BRH2eiRx.js";
|
|
5
|
+
import "./agent-scope-Brtnf-qo.js";
|
|
6
|
+
import "./github-copilot-token-D97OGYfX.js";
|
|
7
|
+
import "./send-dNeIyZEN.js";
|
|
8
|
+
import "./send-CyKQnkbd.js";
|
|
9
|
+
import "./diagnostic-events-C6NdYDq9.js";
|
|
10
|
+
import "./chunk-C3M1IW7W.js";
|
|
11
|
+
import { o as dispatchReplyWithBufferedBlockDispatcher, s as dispatchReplyWithDispatcher } from "./monitor-BQWiYAwC.js";
|
|
12
|
+
import "./tokens-g1-rZffS.js";
|
|
13
|
+
import "./session-context-4IeKkzGJ.js";
|
|
14
|
+
import "./sessions-BUjbH5K1.js";
|
|
15
|
+
import "./redact-B9fPPmdF.js";
|
|
16
|
+
import "./errors-DUGujS2U.js";
|
|
17
|
+
import "./deliver-lkeqXp0v.js";
|
|
18
|
+
import "./path-alias-guards-C1_MQbGi.js";
|
|
19
|
+
import "./fs-safe-DcS-vU0o.js";
|
|
20
|
+
import "./image-ops-DVYGsTxh.js";
|
|
21
|
+
import "./store-PqXav9ys.js";
|
|
22
|
+
import "./fetch-guard-CQIsGUgZ.js";
|
|
23
|
+
import "./fetch-BEOHdT2e.js";
|
|
24
|
+
import "./send-CVYVctJr.js";
|
|
25
|
+
import "./reply-prefix-BQ-rDIAU.js";
|
|
26
|
+
import "./commands-registry-DPCcTIwi.js";
|
|
27
|
+
import "./thinking-BUbh2qQQ.js";
|
|
28
|
+
import "./diagnostic-TucKQ5Fk.js";
|
|
29
|
+
import "./diagnostic-session-state-C74O1QW2.js";
|
|
30
|
+
import "./command-queue-DUuIiwvi.js";
|
|
31
|
+
import "./user-run-recording-CAAdiBWD.js";
|
|
32
|
+
import "./recorder-C6OpZN3o.js";
|
|
33
|
+
import "./agent-turn-runner-fV3h6ELM.js";
|
|
34
|
+
import "./pi-model-discovery-CKGA60jT.js";
|
|
35
|
+
import "./chat-content-CEMoDe5q.js";
|
|
36
|
+
import "./chrome-CobI3ImG.js";
|
|
37
|
+
import "./ws-zaFiZiYP.js";
|
|
38
|
+
import "./skills-W6RHTFue.js";
|
|
39
|
+
import "./nudge-Cp00v46W.js";
|
|
40
|
+
import "./models-config-DPG3UP6h.js";
|
|
41
|
+
import "./audio-transcription-runner-DbjdWQRu.js";
|
|
42
|
+
import "./pi-embedded-utils-JXHsJfhx.js";
|
|
43
|
+
import "./fetch-D7rvWjfk.js";
|
|
44
|
+
import "./api-key-rotation-DbJkvwYN.js";
|
|
45
|
+
import "./markdown-tables-DczIA0hC.js";
|
|
46
|
+
import "./ir-D-nyt7yZ.js";
|
|
47
|
+
import "./render-DXuDCig7.js";
|
|
48
|
+
import "./pairing-files-EvM-8IOn.js";
|
|
49
|
+
import "./runs-DK85oFoq.js";
|
|
50
|
+
import "./outbound-attachment-JHREBMfy.js";
|
|
51
|
+
import "./reply-directives-C69Fd8zO.js";
|
|
52
|
+
import "./skill-commands-J-ZcPvqF.js";
|
|
53
|
+
import "./tables-ohryoECJ.js";
|
|
54
|
+
import "./send-CciBIiE2.js";
|
|
55
|
+
import "./resolve-route-N9oe4tGM.js";
|
|
56
|
+
import "./session-meta-BlMS0pts.js";
|
|
57
|
+
import "./replies-ClN-Aak4.js";
|
|
58
|
+
import "./manager-3Bw8zhA3.js";
|
|
59
|
+
import "./query-expansion-CECAX0Pe.js";
|
|
60
|
+
|
|
61
|
+
export { dispatchReplyWithBufferedBlockDispatcher, dispatchReplyWithDispatcher };
|