wednesdayai 0.6.1-dev.7 → 0.6.1-dev.8
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-BtUvImH3.js → agent-scope-CCWcV-mm.js} +1 -1
- package/dist/{agent-scope-Baake9Zw.js → agent-scope-CmMflllE.js} +18 -18
- package/dist/{agent-scope-mW_bIVxB.js → agent-scope-Km9kFpGZ.js} +2 -2
- package/dist/{agent-turn-execute-FvKDpI0k.js → agent-turn-execute-C5BrtQw7.js} +167 -167
- package/dist/{agent-turn-execute-DCEdgfn4.js → agent-turn-execute-PcF36_4h.js} +81 -81
- package/dist/{agent-turn-runner-DORCoPIV.js → agent-turn-runner-BOwPjmul.js} +6 -6
- package/dist/{agent-turn-runner-N0SoqZOW.js → agent-turn-runner-DgRUf3t9.js} +6 -6
- package/dist/{agent-turn-runner-CbKGcl3C.js → agent-turn-runner-DsDYOkS0.js} +6 -6
- package/dist/{api-key-rotation-BYKEqCjs.js → api-key-rotation-B1g36Ktj.js} +2 -2
- package/dist/{api-key-rotation-Kb5UlnWS.js → api-key-rotation-DMxY8dgp.js} +2 -2
- package/dist/{api-key-rotation-C-vN-cou.js → api-key-rotation-SXWmHJ82.js} +2 -2
- package/dist/{audio-preflight-DOQ4t3Lt.js → audio-preflight-B3evE7-u.js} +22 -22
- package/dist/{audio-preflight-DXhf9Jw5.js → audio-preflight-CmPLA0Gs.js} +25 -25
- package/dist/{audio-preflight-NAEHXArO.js → audio-preflight-K7IUKCcp.js} +24 -24
- package/dist/{audio-transcription-runner-DLjBrgIp.js → audio-transcription-runner-4DK2O-7Z.js} +11 -11
- package/dist/{audio-transcription-runner-C2MeTPEc.js → audio-transcription-runner-DzJ9M4zn.js} +25 -25
- package/dist/{audio-transcription-runner-BPWmR980.js → audio-transcription-runner-LWApHLBl.js} +12 -12
- package/dist/{auth-Bxe2cFXo.js → auth-D2zwtjEE.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +55 -55
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-journal/handler.js +55 -55
- package/dist/bundled/session-memory/handler.js +55 -55
- package/dist/{call-QP6Xkgk6.js → call-BjvHhPTp.js} +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-1PkEbyji.js → chat-content-C9lS70TS.js} +15 -15
- package/dist/{chat-content-BpQAsNXf.js → chat-content-CHw0gp7N.js} +17 -17
- package/dist/{chat-content-CUEBE5sP.js → chat-content-OjzGhCu9.js} +24 -24
- package/dist/{chrome-DZUpRqr5.js → chrome-D26iRuov.js} +6 -6
- package/dist/{plugin-sdk/chrome-CuqV33Tq.js → chrome-DwJAYQrd.js} +23 -23
- package/dist/{chrome-CrQJ7sJy.js → chrome-n-0LtZ5p.js} +6 -6
- package/dist/{chunk-BOyW8CWf.js → chunk-BO29WISL.js} +3 -3
- package/dist/{chunk-DxrJ3Gup.js → chunk-BY0qWMC0.js} +3 -3
- package/dist/{chunk-DYUW1MQP.js → chunk-C7MQgQ4g.js} +3 -3
- package/dist/{command-queue-CXz9DVsG.js → command-queue-B7ny6IpS.js} +1 -1
- package/dist/{command-queue-D1UQrdty.js → command-queue-CRSJ0P07.js} +1 -1
- package/dist/{command-queue-C-FGbDJz.js → command-queue-n-3dr-XL.js} +1 -1
- package/dist/{commands-registry-D9HZmIAd.js → commands-registry-CcEHn1XI.js} +2 -2
- package/dist/{commands-registry-CMmeEgz2.js → commands-registry-Dv-b9PiZ.js} +2 -2
- package/dist/{commands-registry-Bew0o0-N.js → commands-registry-Dx4q8Stu.js} +2 -2
- package/dist/{config-Bsj2p2wE.js → config-i54suDg0.js} +26 -26
- package/dist/config.js +3 -3
- package/dist/{credentials-AMTaKIti.js → credentials-BNtHxB_l.js} +1 -1
- package/dist/{credentials-CxCFIe6D.js → credentials-DQ7lFgET.js} +1 -1
- package/dist/{credentials-CQxVmyVQ.js → credentials-Fr_P7kXi.js} +1 -1
- package/dist/daemon-cli.js +12 -12
- package/dist/{deliver-DhTGNP5K.js → deliver-BRmy8mNE.js} +14 -14
- package/dist/{deliver-DyypynBz.js → deliver-BqbB01OT.js} +14 -14
- package/dist/{deliver-CIRdl5yq.js → deliver-CRQ5Q9MI.js} +15 -15
- package/dist/{diagnostic-C2R8JTrg.js → diagnostic-CtDjU2cL.js} +3 -3
- package/dist/{diagnostic-ZN_usXW9.js → diagnostic-DnoZn-KN.js} +3 -3
- package/dist/{diagnostic-Dd6LtH4a.js → diagnostic-VK1bXt80.js} +3 -3
- package/dist/{errors-D-W6b40A.js → errors-0RH1PUyI.js} +1 -1
- package/dist/{errors-CnHQSI9_.js → errors-DbYMrbC6.js} +1 -1
- package/dist/{plugin-sdk/errors-CLQ_1plf.js → errors-PebfxiNw.js} +1 -1
- package/dist/{fetch-BfxA2OXM.js → fetch-B_5TQsLI.js} +1 -1
- package/dist/{fetch-C9itXZkj.js → fetch-CucaLVum.js} +1 -1
- package/dist/{fetch-DAVlU8on.js → fetch-CvQ4rHkA.js} +7 -7
- package/dist/{fetch-CouuWqcW.js → fetch-DMx7kUDq.js} +1 -1
- package/dist/{fetch-CB56RYbf.js → fetch-IBrV5cpo.js} +7 -7
- package/dist/{fetch-guard-CijCZ_b-.js → fetch-guard-1wmQV-Tr.js} +2 -2
- package/dist/{fetch-guard-DKsHmX2W.js → fetch-guard-Bwaekd5B.js} +2 -2
- package/dist/{fetch-guard-DYg-drum.js → fetch-guard-Cpegp1jz.js} +2 -2
- package/dist/{fetch-BT2I7cbc.js → fetch-wRt70JUw.js} +7 -7
- package/dist/{frontmatter-C2il6iYY.js → frontmatter-7crf_wMo.js} +3 -3
- package/dist/{fs-safe-CE8lX7WJ.js → fs-safe-Bb8-IeGg.js} +3 -3
- package/dist/{fs-safe-BxszbGp8.js → fs-safe-g7C2VmjR.js} +25 -25
- package/dist/{fs-safe-BdoohhEQ.js → fs-safe-zTwRJV2P.js} +3 -3
- package/dist/{group-B8al5pPW.js → group-CJxrdnQi.js} +7 -7
- package/dist/{image-ops-BidmoZQ2.js → image-ops-BnBkL2cb.js} +1 -1
- package/dist/{plugin-sdk/image-ops-BBVBwRM0.js → image-ops-D9RolAaO.js} +12 -12
- package/dist/{image-ops-u0MGFcmO.js → image-ops-DONWlnn2.js} +1 -1
- package/dist/{ir-DXeLOldW.js → ir-BMz0_JTj.js} +8 -8
- package/dist/{ir-Bf5kMPAy.js → ir-qxGmbhX1.js} +5 -5
- package/dist/{ir-Dl3iTDmU.js → ir-rI6qQBSg.js} +5 -5
- package/dist/{json-files-GB7e9l0R.js → json-files-B1gYf6W9.js} +7 -7
- package/dist/{legacy-names-CRCLZarD.js → legacy-names-Bx5L8LWT.js} +1 -1
- package/dist/llm-slug-generator.js +55 -55
- package/dist/{manager-YDyRTQUV.js → manager-BuEOjzym.js} +14 -14
- package/dist/{manager-DXW24oV1.js → manager-DiZNgASh.js} +7 -7
- package/dist/{manager-Dszac2Ws.js → manager-IIVZBivo.js} +7 -7
- package/dist/{markdown-tables-DdEOvPAH.js → markdown-tables-BtpvPNub.js} +2 -2
- package/dist/{markdown-tables-tr_7Fmw-.js → markdown-tables-D8MSIea0.js} +2 -2
- package/dist/{markdown-tables-DIw8tw96.js → markdown-tables-Dv-Fn4ps.js} +2 -2
- package/dist/{model-selection-ZyZ8C9Sz.js → model-selection-CVZg4wf8.js} +9 -9
- package/dist/{models-config-BhUXT1hF.js → models-config-3lhn9o5Q.js} +7 -7
- package/dist/{models-config-DIom_9je.js → models-config-BIR5Jl6Y.js} +2 -2
- package/dist/{models-config-CQAh0oG4.js → models-config-D8yjYakk.js} +2 -2
- package/dist/{net-CgCDDLO-.js → net-Ih2dkbnA.js} +1 -1
- package/dist/{nudge-BCCAsfyx.js → nudge-AEmyX8R6.js} +7 -7
- package/dist/{nudge-C0QSQl-l.js → nudge-Df4BNfRM.js} +9 -9
- package/dist/{nudge-CbzF1JFW.js → nudge-OjthVWgf.js} +16 -16
- package/dist/{outbound-attachment-83kY4_pp.js → outbound-attachment-BaRQnyDU.js} +2 -2
- package/dist/{outbound-attachment-xWf54r8i.js → outbound-attachment-CmkxUxFF.js} +2 -2
- package/dist/{outbound-attachment-BfJ7wb_J.js → outbound-attachment-DJGxSTr2.js} +2 -2
- package/dist/{outbound-message-hooks-IolzEbMD.js → outbound-message-hooks-CWaDtoFU.js} +4 -4
- package/dist/{outbound-message-hooks-D02COH42.js → outbound-message-hooks-D6fdkHcA.js} +5 -5
- package/dist/{outbound-message-hooks-BQNruXlp.js → outbound-message-hooks-DuS8ZzCg.js} +4 -4
- package/dist/{path-alias-guards-DMuDQY7-.js → path-alias-guards-BR5wRjxa.js} +1 -1
- package/dist/{path-alias-guards-CpIKU1Cq.js → path-alias-guards-CGgM-kfP.js} +3 -3
- package/dist/{path-alias-guards-BO9B8Ujj.js → path-alias-guards-CIxtmZUH.js} +1 -1
- package/dist/{pi-embedded-AaZc-fd0.js → pi-embedded-f8k37-ji.js} +80 -80
- package/dist/{plugin-sdk/pi-embedded-utils-Bs8GJcVC.js → pi-embedded-utils-CFD8XCEm.js} +3 -3
- package/dist/{pi-embedded-utils-CwgRLftX.js → pi-embedded-utils-D6bb0L0C.js} +3 -3
- package/dist/{pi-embedded-utils-CxTJd3C4.js → pi-embedded-utils-avtPd7wj.js} +3 -3
- package/dist/{pi-model-discovery-mp9nTslh.js → pi-model-discovery-B0qOEKz1.js} +1 -1
- package/dist/{pi-model-discovery-CpPL43Dt.js → pi-model-discovery-CdFFtQGN.js} +1 -1
- package/dist/{pi-model-discovery-DwUyqoo1.js → pi-model-discovery-DtlKqZOH.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-B8qbKhhI.js → agent-scope-Be-jpj9v.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-Be8Qh2Bw.js +61 -0
- package/dist/plugin-sdk/{agent-turn-execute-yXQn2zCY.js → agent-turn-execute-D86ZmA4-.js} +65 -65
- package/dist/plugin-sdk/{agent-turn-runner-B-poPtP_.js → agent-turn-runner-C05hxUR0.js} +7 -7
- package/dist/plugin-sdk/{agent-turn-runner-CFEsvBCd.js → agent-turn-runner-CxEH_oDh.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Do8uKcvN.js → api-key-rotation-BSOYQ4qc.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-jl39nKbi.js → api-key-rotation-ChAeDYxy.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BFDNHENv.js → audio-preflight-CV1BDhSi.js} +15 -15
- package/dist/plugin-sdk/{audio-preflight-CvBQezNa.js → audio-preflight-CV8hn0ML.js} +22 -22
- package/dist/plugin-sdk/{audio-transcription-runner-DqBfb4fD.js → audio-transcription-runner-B5P3Ikr5.js} +7 -7
- package/dist/plugin-sdk/{audio-transcription-runner-Bx34SZcC.js → audio-transcription-runner-BskrbhXT.js} +11 -11
- package/dist/plugin-sdk/{auth-profiles-B9f3QHek.js → auth-profiles-Bjh8-BxW.js} +3 -3
- package/dist/plugin-sdk/{chat-content-CpC6DI0a.js → chat-content-Dv48ezjN.js} +15 -15
- package/dist/{chrome-BQRvL5_6.js → plugin-sdk/chrome-Ccd0oIRL.js} +8 -8
- package/dist/plugin-sdk/{chrome-BuRzWRZC.js → chrome-Djee-ZQ4.js} +6 -6
- package/dist/plugin-sdk/{chunk-B6pu3-QT.js → chunk-Ds0DViTU.js} +1 -1
- package/dist/plugin-sdk/{chunk-B5DJ9OSy.js → chunk-OLisVrnA.js} +4 -4
- package/dist/plugin-sdk/{command-queue-DNzxLFLp.js → command-queue-DKwo5KR5.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DQlTlZwD.js → commands-registry-B1nDgloc.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BLvUWjLN.js → commands-registry-CbFYKesr.js} +3 -3
- package/dist/plugin-sdk/{credentials-qipHomyX.js → credentials-A4Z3kXiD.js} +1 -1
- package/dist/plugin-sdk/{credentials-y9Sghbm7.js → credentials-BphVNHsl.js} +1 -1
- package/dist/plugin-sdk/{deliver-Qit0vLPJ.js → deliver-DHCz4Dtv.js} +11 -11
- package/dist/plugin-sdk/deliver-UCpJHA8E.js +34 -0
- package/dist/plugin-sdk/{deliver-Ce7dREwO.js → deliver-cnS8GuO-.js} +14 -14
- package/dist/plugin-sdk/{diagnostic-D3BaH5T-.js → diagnostic-CfzW0_dx.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-session-state-Ca-WhNi6.js → diagnostic-session-state-B0P3KV3G.js} +1 -1
- package/dist/{errors-CN5_QuWi.js → plugin-sdk/errors-BrdJv9v4.js} +1 -1
- package/dist/plugin-sdk/{fetch-CuWyAHvW.js → fetch-9sAWAc_2.js} +2 -2
- package/dist/plugin-sdk/{fetch-DZ--lOzI.js → fetch-DeK1fKwA.js} +7 -7
- package/dist/plugin-sdk/{fetch-BwuajxFn.js → fetch-DgyyeBob.js} +1 -1
- package/dist/plugin-sdk/fetch-DznZfJ5x.js +67 -0
- package/dist/plugin-sdk/{fetch-guard-BX6jBxKE.js → fetch-guard-D1A1wf4z.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Ce-ucfQG.js → fetch-guard-DHFG0AUk.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CMnlphkT.js → fs-safe-BKrwJmFe.js} +3 -3
- package/dist/{image-ops-D_DwGLwy.js → plugin-sdk/image-ops-CUdIP6Hb.js} +2 -2
- package/dist/plugin-sdk/{inbound-context-BoAwxQia.js → inbound-context-JGyGh_6z.js} +1 -1
- package/dist/plugin-sdk/{ir-D-C6OU_g.js → ir-CShw6HQ4.js} +2 -2
- package/dist/plugin-sdk/{ir-DnqOk2R4.js → ir-CiCv2-fU.js} +5 -5
- package/dist/plugin-sdk/{manager-DULQ8IMM.js → manager-C0hS53l8.js} +7 -7
- package/dist/plugin-sdk/manager-CCHSaXUr.js +14 -0
- package/dist/plugin-sdk/{manager-BUK83x9w.js → manager-b7rkl95-.js} +4 -4
- package/dist/plugin-sdk/{markdown-tables-esO0kIio.js → markdown-tables-BMmTOUny.js} +3 -3
- package/dist/plugin-sdk/{markdown-tables-xkafNP0w.js → markdown-tables-fifmBw3T.js} +1 -1
- package/dist/plugin-sdk/{model-auth-Dm_kGvag.js → model-auth-CNca-eBd.js} +1 -1
- package/dist/plugin-sdk/{models-config-BP6ahg1c.js → models-config-3uPMrOQa.js} +2 -2
- package/dist/plugin-sdk/{models-config-d973WFny.js → models-config-B6w8XG1d.js} +1 -1
- package/dist/plugin-sdk/{monitor-Bi5mp8ZL.js → monitor-BFvMt0jv.js} +86 -86
- package/dist/plugin-sdk/{nudge-D9yHrAg6.js → nudge-CwP_UxdK.js} +9 -9
- package/dist/plugin-sdk/{nudge-C31EKVuV.js → nudge-DHoaL0VV.js} +10 -10
- package/dist/plugin-sdk/{openai-compatible-video-CmBqUEsR.js → openai-compatible-video-Dpm_3S9N.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BIKJ2xZq.js → outbound-attachment-BmJGXjpk.js} +2 -2
- package/dist/plugin-sdk/{outbound-attachment-PUi9Lfwh.js → outbound-attachment-CSNvxAi5.js} +1 -1
- package/dist/plugin-sdk/{outbound-message-hooks-YVH4V7MO.js → outbound-message-hooks-BX0MYkzu.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-Dy5NeCrQ.js → path-alias-guards-C02bovRa.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-z5kapszH.js → pi-embedded-helpers-C7sEml4L.js} +9 -9
- package/dist/plugin-sdk/{pi-embedded-utils-BXj-Gcqv.js → pi-embedded-utils-DPvEgOcW.js} +1 -1
- package/dist/{pi-embedded-utils-Bj7yEtOX.js → plugin-sdk/pi-embedded-utils-gdDvWLUF.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-DawOoDa-.js → pi-model-discovery-3ImxVoN0.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-GsWHJJdG.js → pi-model-discovery-Bf07_wdY.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-HvZOc6pQ.js +61 -0
- package/dist/plugin-sdk/provider-media-understanding.js +12 -12
- package/dist/plugin-sdk/{proxy-env-BSt9Mpcu.js → proxy-env-CfbHPZsA.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-C25z96Gn.js → pw-ai-Beqk71S6.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-BsG21ZK4.js → pw-ai-DXxR9klb.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-B5fNIvSH.js → qmd-manager-C5StGWpa.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-CjRF-Or3.js → qmd-manager-D4W-fPSL.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-PjThGixm.js → qmd-scope-DaJOhdHL.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-YCr61JiI.js → query-expansion-CapDjXqr.js} +2 -2
- package/dist/plugin-sdk/{query-expansion-aeabmOoB.js → query-expansion-DTz7qRPP.js} +1 -1
- package/dist/plugin-sdk/{recorder-D11UEswC.js → recorder-DhKye4nA.js} +2 -2
- package/dist/plugin-sdk/{recorder-4g6Ys7WM.js → recorder-Vqz423Ad.js} +1 -1
- package/dist/{redact-D6Fnz9xQ.js → plugin-sdk/redact-DOs6fXcc.js} +1 -1
- package/dist/plugin-sdk/{registry-Blc7Ur1p.js → registry-ChehZpUt.js} +7 -7
- package/dist/plugin-sdk/{replies-BGF9ZYhP.js → replies-B3lla7iL.js} +4 -4
- package/dist/plugin-sdk/replies-n45TjLUD.js +25 -0
- package/dist/plugin-sdk/{replies-Ds6Gs9O1.js → replies-neHBbNGC.js} +5 -5
- package/dist/plugin-sdk/{reply-directives-CQkgAJUi.js → reply-directives-DA9871hC.js} +2 -2
- package/dist/plugin-sdk/{reply-directives-1f84jGQR.js → reply-directives-DJLXXoHQ.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DXcqNnob.js → reply-prefix-BAlYiGmw.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-CEsUM5vo.js → resolve-route-Dl4Ce3AZ.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-uv0U8tYS.js → resolve-route-Dwcy4JTh.js} +4 -4
- package/dist/plugin-sdk/runs-Bt2gm5Xp.js +27 -0
- package/dist/plugin-sdk/{runs-BcONJGaf.js → runs-Ck82_Wm4.js} +9 -9
- package/dist/plugin-sdk/{runs-S66fmAnC.js → runs-CqxFUuhe.js} +5 -5
- package/dist/plugin-sdk/{send-OGWsKnuO.js → send-1C-UfqZI.js} +6 -6
- package/dist/plugin-sdk/{send-BWmu8FzD.js → send-8EsC7X_g.js} +6 -6
- package/dist/plugin-sdk/{send-i0O-CKxf.js → send-BYSZ2uje.js} +5 -5
- package/dist/plugin-sdk/send-CH2Mx-nc.js +21 -0
- package/dist/plugin-sdk/{send-q6CWajeW.js → send-CH99jRUS.js} +6 -6
- package/dist/plugin-sdk/{send-DEhSsv9Q.js → send-CY8x9hwE.js} +17 -17
- package/dist/plugin-sdk/send-CwmftnXc.js +23 -0
- package/dist/plugin-sdk/{send-BdHHzRJj.js → send-D0OAjXXT.js} +8 -8
- package/dist/plugin-sdk/send-D9CQkoPN.js +22 -0
- package/dist/plugin-sdk/{send-C-KL7_yP.js → send-DZ7mYxPL.js} +4 -4
- package/dist/plugin-sdk/{send-DROrgiQz.js → send-DhWniZ-V.js} +7 -7
- package/dist/plugin-sdk/{send-B0P5TLxU.js → send-ilRdM1HR.js} +8 -8
- package/dist/plugin-sdk/{session-context-CoIaRMhC.js → session-context-thuPOPkM.js} +4 -4
- package/dist/plugin-sdk/{session-meta-8qAu69tz.js → session-meta-BwYRhW4t.js} +1 -1
- package/dist/plugin-sdk/{session-meta-BUQosPKS.js → session-meta-ByvJn7Kl.js} +2 -2
- package/dist/plugin-sdk/{sessions-D9E4cWJg.js → sessions-CgDj1ZTy.js} +1 -1
- package/dist/plugin-sdk/{sessions-tKTWoGEX.js → sessions-DtBcB_m8.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-P3hLZCNa.js → skill-commands-Be5cYRNH.js} +2 -2
- package/dist/plugin-sdk/{skill-commands-ID_uyMtr.js → skill-commands-CsHUFvTh.js} +5 -5
- package/dist/plugin-sdk/{skills-OofoxuSf.js → skills-BOWPxpRV.js} +1 -1
- package/dist/plugin-sdk/{skills-DzwqSw_l.js → skills-CvksRREn.js} +6 -6
- package/dist/plugin-sdk/{ssrf--z6niPq1.js → ssrf-CE6JboaJ.js} +1 -1
- package/dist/plugin-sdk/{store-8qnSslho.js → store-DgWeR64N.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-cUon6JW5.js +61 -0
- package/dist/plugin-sdk/{subsystem-DN6NBvi2.js → subsystem-D5N_K3VU.js} +4 -4
- package/dist/plugin-sdk/{tables-DLhtAl8Z.js → tables-BJrnW7Ji.js} +1 -1
- package/dist/plugin-sdk/{tables-BSg1_7xM.js → tables-ChcsUP-T.js} +1 -1
- package/dist/plugin-sdk/testing.js +53 -53
- package/dist/plugin-sdk/{tokens-DapRK87O.js → tokens-mqKTCfsk.js} +1 -1
- package/dist/{tool-loop-detection-nxXR6ZGf.js → plugin-sdk/tool-loop-detection-BemFvI2m.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-owC8f6ch.js → user-run-recording-ByPrMDAH.js} +3 -3
- package/dist/plugin-sdk/{user-run-recording-CA6k4GdI.js → user-run-recording-DOCUtYpE.js} +1 -1
- package/dist/plugin-sdk/{ws-PvXfVPuc.js → ws-BBwNh59J.js} +1 -1
- package/dist/plugin-sdk/{ws-OLAqwyxu.js → ws-DA5Ex9cq.js} +1 -1
- package/dist/{ports-BL2i8h5u.js → ports-Cm3dMy9r.js} +3 -3
- package/dist/{progress--ozQz5Eg.js → progress-B8VpRELC.js} +4 -4
- package/dist/{proxy-env-DdpqzP-l.js → proxy-env-B7QBeq1s.js} +1 -1
- package/dist/{proxy-env-D7bHQg8b.js → proxy-env-BHjp8Syz.js} +1 -1
- package/dist/{proxy-env-CJeQ_evL.js → proxy-env-CaYp3Tmy.js} +1 -1
- package/dist/{pw-ai-BkhhNN3w.js → pw-ai-B5inhxoy.js} +13 -13
- package/dist/{pw-ai-B2SByX7w.js → pw-ai-B8ja4Dql.js} +12 -12
- package/dist/{pw-ai-DEiZs8aM.js → pw-ai-BvZ8Bogr.js} +11 -11
- package/dist/{qmd-manager-Dp4uo_za.js → qmd-manager-CGW_u9NW.js} +10 -10
- package/dist/{qmd-manager-Cgmyvv9V.js → qmd-manager-Dbmi1ZgW.js} +8 -8
- package/dist/{qmd-manager-DKw1Rbr0.js → qmd-manager-ZTV3aWYR.js} +23 -23
- package/dist/{qmd-scope-CkSqCF4T.js → qmd-scope-8Jq9_xab.js} +1 -1
- package/dist/{qmd-scope-36e3ZqA5.js → qmd-scope-CYZoWcur.js} +1 -1
- package/dist/{qmd-scope-clNK4f03.js → qmd-scope-DjzSVgvF.js} +1 -1
- package/dist/{query-expansion-Bo6Nq4_Q.js → query-expansion-CEaQOg6W.js} +11 -11
- package/dist/{query-expansion-Dugjb4l7.js → query-expansion-CXDsQCKO.js} +2 -2
- package/dist/{query-expansion-DjdgqBNX.js → query-expansion-CYZYszMN.js} +2 -2
- package/dist/{recorder-N1dK-Cvg.js → recorder-BSty19u1.js} +2 -2
- package/dist/{recorder-CkRgWa0U.js → recorder-RGNqBtlw.js} +2 -2
- package/dist/{recorder-kj3bHJ67.js → recorder-jhTAww3T.js} +2 -2
- package/dist/{plugin-sdk/redact-DftAY2KL.js → redact-CoYHSFJI.js} +1 -1
- package/dist/{redact-BkE4uRXu.js → redact-Cp-v7ZNA.js} +1 -1
- package/dist/{redact-CUgFzobf.js → redact-Iu0CqZm1.js} +1 -1
- package/dist/{replies-Do4lDlRa.js → replies-CInXOOPX.js} +5 -5
- package/dist/{replies-j8824QFZ.js → replies-CurRxuDE.js} +5 -5
- package/dist/{replies-CuYbIr-y.js → replies-D9pr6ACc.js} +5 -5
- package/dist/{reply-directives-B3zz5cW7.js → reply-directives-BCjSa0AB.js} +2 -2
- package/dist/{reply-directives-C170Yb4-.js → reply-directives-DD05s-wb.js} +2 -2
- package/dist/{reply-directives-RLa2vaZi.js → reply-directives-ZtVs-j3A.js} +2 -2
- package/dist/{reply-prefix-BNVgeu7r.js → reply-prefix-B1C43_pb.js} +1 -1
- package/dist/{reply-prefix-DRy_GYH6.js → reply-prefix-Bc9Xxgh0.js} +1 -1
- package/dist/{reply-prefix-iNDFY95J.js → reply-prefix-CEDQ-mg9.js} +1 -1
- package/dist/{resolve-route-Dr7paibh.js → resolve-route-By5i3M-1.js} +3 -3
- package/dist/{resolve-route-Dw8kJVCQ.js → resolve-route-DYxy9AQV.js} +4 -4
- package/dist/{resolve-route-Cb-uluB3.js → resolve-route-DtRFnaEz.js} +3 -3
- package/dist/{runs-CTVu5e1l.js → runs-C5hqPjUn.js} +8 -8
- package/dist/{runs-C1VChB2N.js → runs-DTEVO_j3.js} +8 -8
- package/dist/{runs-Bz53XfRR.js → runs-WvxDbwXT.js} +8 -8
- package/dist/{send-C7Jir5X_.js → send-B8fG3QOF.js} +8 -8
- package/dist/{send-CrmrT9y3.js → send-BOjkedpl.js} +8 -8
- package/dist/{send-BUKHaBbX.js → send-BQtUtg0b.js} +8 -8
- package/dist/{send-C3NzAXnk.js → send-C76HubTD.js} +13 -13
- package/dist/{send-DN3d2hA9.js → send-CA5WfuIz.js} +6 -6
- package/dist/{send-CylIcBwW.js → send-CGdN-VPo.js} +7 -7
- package/dist/{send-BhF5ENhk.js → send-ChpeGx3e.js} +7 -7
- package/dist/{send-7QxBGDb6.js → send-DVAxl2sg.js} +8 -8
- package/dist/{send-CBKd1Tje.js → send-DWQN6n7O.js} +6 -6
- package/dist/{send-D6hE7Mbp.js → send-DjeU0NLm.js} +8 -8
- package/dist/{send-BrqnAR-x.js → send-LeMti0BS.js} +7 -7
- package/dist/{send-vkpb-Xkl.js → send-eXn1pSE6.js} +6 -6
- package/dist/{session-meta-CMeplFTy.js → session-meta-Btfsf4fe.js} +1 -1
- package/dist/{session-meta-DfqjhZ-q.js → session-meta-CbZBnut5.js} +1 -1
- package/dist/{session-meta-Cn_caqpV.js → session-meta-CodKE1pi.js} +1 -1
- package/dist/{sessions-DUqqSw4H.js → sessions-BrQFhhqN.js} +4 -4
- package/dist/{sessions-O7vI51ov.js → sessions-CFd8Ydiq.js} +4 -4
- package/dist/{sessions-Bg_OshuE.js → sessions-Cdx3HjRT.js} +4 -4
- package/dist/{skill-commands-14jegpcz.js → skill-commands-CNf71PIK.js} +4 -4
- package/dist/{skill-commands-CI1R5rmK.js → skill-commands-Clk1OxDK.js} +5 -5
- package/dist/{skill-commands-vLTDfdbS.js → skill-commands-VUGivt1_.js} +4 -4
- package/dist/{skills-DMHiOYO8.js → skills--Ui7bzMr.js} +4 -4
- package/dist/{skills-50IjplnQ.js → skills-D6DRAp_h.js} +6 -6
- package/dist/{skills-B-qk6VX5.js → skills-DrMz2n4d.js} +6 -6
- package/dist/{store-B5IVvyyw.js → store-BUy1ZbHu.js} +2 -2
- package/dist/{store-CyiSEypa.js → store-BkMCVm0M.js} +7 -7
- package/dist/{store-BBWgOw4t.js → store-DRaaTy6K.js} +2 -2
- package/dist/{subsystem-BCxHEOcF.js → subsystem-C30tnacl.js} +7 -7
- package/dist/{subsystem-BntNuBAj.js → subsystem-DY5Ww-lX.js} +4 -4
- package/dist/{subsystem-BOg9wqSC.js → subsystem-DoQFckDJ.js} +4 -4
- package/dist/{tables-BJM05Vww.js → tables-CV9YznLE.js} +1 -1
- package/dist/{tables-g6ObbHei.js → tables-CXnnw-yu.js} +1 -1
- package/dist/{tables-DlB8ZdGF.js → tables-DanZpP0m.js} +1 -1
- package/dist/{tokens-C-eSUgYi.js → tokens-BSTxLFq9.js} +1 -1
- package/dist/{tokens-Q7TMdIpT.js → tokens-C8E7C2l5.js} +1 -1
- package/dist/{tokens-BkeT4Aj7.js → tokens-DQ-CYBoK.js} +1 -1
- package/dist/{plugin-sdk/tool-loop-detection-c4qrG169.js → tool-loop-detection-4AIUOil2.js} +1 -1
- package/dist/{tool-loop-detection-CBkH6hsK.js → tool-loop-detection-B2ogHpfl.js} +1 -1
- package/dist/{tool-loop-detection-CurLYMEW.js → tool-loop-detection-CAaJBVkR.js} +1 -1
- package/dist/{user-run-recording-BpHCYVUd.js → user-run-recording-BbEaV78i.js} +2 -2
- package/dist/{user-run-recording-UT7JPaKB.js → user-run-recording-CG3WboP4.js} +2 -2
- package/dist/{user-run-recording-CV8Lr06M.js → user-run-recording-DYSEO3CI.js} +2 -2
- package/dist/{workspace-DldCsJtc.js → workspace-tcQXjttl.js} +1 -1
- package/dist/{ws-JG4Z9bZK.js → ws-CDG99mFW.js} +1 -1
- package/dist/{ws-Bmal4jqa.js → ws-DWkHsThw.js} +1 -1
- package/extensions/a2a/package.json +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/identity-oidc/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/agent-turn-execute-BtUQWiQP.js +0 -61
- package/dist/plugin-sdk/deliver-CD4ei5Br.js +0 -34
- package/dist/plugin-sdk/fetch-C5VHDsI9.js +0 -67
- package/dist/plugin-sdk/manager-QkzJVwqn.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-DCgZNlgL.js +0 -61
- package/dist/plugin-sdk/replies-BbTr5z6G.js +0 -25
- package/dist/plugin-sdk/runs-CtRu02zx.js +0 -27
- package/dist/plugin-sdk/send-D8GPq4yJ.js +0 -23
- package/dist/plugin-sdk/send-DI5IHS6G.js +0 -21
- package/dist/plugin-sdk/send-DYYxf2PO.js +0 -22
- package/dist/plugin-sdk/subagent-registry-B-w_tcYs.js +0 -61
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as resolveUserPath, F as shouldLogVerbose, M as logVerbose } from "./subsystem-
|
|
2
|
-
import { a as chunkText } from "./chunk-
|
|
3
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as hasAlphaChannel, c as detectMime, g as maxBytesForKind, l as extensionForMime, o as optimizeImageToPng, p as kindFromMime, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-
|
|
5
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
1
|
+
import { C as resolveUserPath, F as shouldLogVerbose, M as logVerbose } from "./subsystem-D5N_K3VU.js";
|
|
2
|
+
import { a as chunkText } from "./chunk-OLisVrnA.js";
|
|
3
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-BKrwJmFe.js";
|
|
4
|
+
import { a as hasAlphaChannel, c as detectMime, g as maxBytesForKind, l as extensionForMime, o as optimizeImageToPng, p as kindFromMime, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-CUdIP6Hb.js";
|
|
5
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-DeK1fKwA.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Na as isTruthyEnvValue, ba as normalizeOptionalSecretInput, dr as resolveApiKeyForProvider, fr as resolveEnvApiKey, gn as loadConfig, st as resolveSessionTranscriptsDirForAgent, tr as retryAsync, ur as requireApiKey, wa as normalizeResolvedSecretInputString } from "./registry-
|
|
1
|
+
import { Na as isTruthyEnvValue, ba as normalizeOptionalSecretInput, dr as resolveApiKeyForProvider, fr as resolveEnvApiKey, gn as loadConfig, st as resolveSessionTranscriptsDirForAgent, tr as retryAsync, ur as requireApiKey, wa as normalizeResolvedSecretInputString } from "./registry-ChehZpUt.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
3
|
-
import { C as resolveUserPath, h as clampNumber, k as truncateUtf16Safe, m as clampInt, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-
|
|
5
|
-
import { r as formatErrorMessage } from "./errors-
|
|
3
|
+
import { C as resolveUserPath, h as clampNumber, k as truncateUtf16Safe, m as clampInt, t as createSubsystemLogger } from "./subsystem-D5N_K3VU.js";
|
|
4
|
+
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-Be-jpj9v.js";
|
|
5
|
+
import { r as formatErrorMessage } from "./errors-BrdJv9v4.js";
|
|
6
6
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Bi2az-SQ.js";
|
|
7
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-DHFG0AUk.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-ClPXs9e9.js";
|
|
9
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
9
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BSOYQ4qc.js";
|
|
10
|
+
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-CapDjXqr.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "./proxy-env-CfbHPZsA.js";
|
|
2
|
+
import "./registry-ChehZpUt.js";
|
|
3
|
+
import "./paths-BIDPYPVC.js";
|
|
4
|
+
import "./subsystem-D5N_K3VU.js";
|
|
5
|
+
import "./agent-scope-Be-jpj9v.js";
|
|
6
|
+
import "./github-copilot-token-D97OGYfX.js";
|
|
7
|
+
import "./redact-DOs6fXcc.js";
|
|
8
|
+
import "./errors-BrdJv9v4.js";
|
|
9
|
+
import "./fetch-guard-DHFG0AUk.js";
|
|
10
|
+
import "./api-key-rotation-BSOYQ4qc.js";
|
|
11
|
+
import { t as MemoryIndexManager } from "./manager-C0hS53l8.js";
|
|
12
|
+
import "./query-expansion-CapDjXqr.js";
|
|
13
|
+
|
|
14
|
+
export { MemoryIndexManager };
|
|
@@ -2,14 +2,14 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-Btq0amiz.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-ByOJz2Td.js";
|
|
4
4
|
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-D4cTZ0Bo.js";
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { Ca as normalizeOptionalSecretInput, a as resolveEnvApiKey, fa as normalizeResolvedSecretInputString, h as loadConfig, i as resolveApiKeyForProvider, mn as resolveSessionTranscriptsDirForAgent, r as requireApiKey, ra as retryAsync, xa as isTruthyEnvValue } from "./model-auth-
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-D1A1wf4z.js";
|
|
6
|
+
import { Ca as normalizeOptionalSecretInput, a as resolveEnvApiKey, fa as normalizeResolvedSecretInputString, h as loadConfig, i as resolveApiKeyForProvider, mn as resolveSessionTranscriptsDirForAgent, r as requireApiKey, ra as retryAsync, xa as isTruthyEnvValue } from "./model-auth-CNca-eBd.js";
|
|
7
7
|
import { r as formatErrorMessage } from "./errors-BcCM5PTR.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CIKAlvUL.js";
|
|
9
9
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-UAKcGiUQ.js";
|
|
10
10
|
import { t as parseGeminiAuth } from "./gemini-auth-CgiHTxKY.js";
|
|
11
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
11
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-ChAeDYxy.js";
|
|
12
|
+
import { _ as runWithConcurrency, a as resolveSessionMemoryStores, c as chunkMarkdown, d as hashText, f as isMemoryPath, g as remapChunkLines, h as parseEmbedding, i as listSessionMemoryRows, l as cosineSimilarity, m as normalizeExtraMemoryPaths, n as requireNodeSqlite, o as sessionMemorySourceId, p as listMemoryFiles, r as buildSessionMemoryEntry, s as buildFileEntry, t as extractKeywords, u as ensureDir, v as isFileMissingError, y as statRegularFile } from "./query-expansion-DTz7qRPP.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import os from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as __exportAll } from "./proxy-env-
|
|
2
|
-
import { Yt as resolveAccountEntry, wt as normalizeChannelId } from "./registry-
|
|
3
|
-
import { ut as normalizeAccountId } from "./agent-scope-
|
|
1
|
+
import { f as __exportAll } from "./proxy-env-CfbHPZsA.js";
|
|
2
|
+
import { Yt as resolveAccountEntry, wt as normalizeChannelId } from "./registry-ChehZpUt.js";
|
|
3
|
+
import { ut as normalizeAccountId } from "./agent-scope-Be-jpj9v.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { rt as normalizeAccountId } from "./agent-scope-D4cTZ0Bo.js";
|
|
3
|
-
import { ir as resolveAccountEntry, jn as normalizeChannelId } from "./model-auth-
|
|
3
|
+
import { ir as resolveAccountEntry, jn as normalizeChannelId } from "./model-auth-CNca-eBd.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -15436,7 +15436,7 @@ function createPluginRegistry(registryParams) {
|
|
|
15436
15436
|
configurable: true,
|
|
15437
15437
|
value: {
|
|
15438
15438
|
...registryParams.runtime.signals,
|
|
15439
|
-
nudge: async (input) => (await import("./nudge-
|
|
15439
|
+
nudge: async (input) => (await import("./nudge-DHoaL0VV.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
15440
15440
|
kind: "plugin",
|
|
15441
15441
|
pluginId: record.id
|
|
15442
15442
|
}, input)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as resolveImplicitProviders, Qn as resolveImplicitCopilotProvider, Xn as normalizeProviders, Zn as resolveImplicitBedrockProvider, gn as loadConfig, ha as resolveOpenClawAgentDir } from "./registry-
|
|
2
|
-
import { dt as applyConfigEnvVars, y as isRecord } from "./subsystem-
|
|
1
|
+
import { $n as resolveImplicitProviders, Qn as resolveImplicitCopilotProvider, Xn as normalizeProviders, Zn as resolveImplicitBedrockProvider, gn as loadConfig, ha as resolveOpenClawAgentDir } from "./registry-ChehZpUt.js";
|
|
2
|
+
import { dt as applyConfigEnvVars, y as isRecord } from "./subsystem-D5N_K3VU.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-Btq0amiz.js";
|
|
2
|
-
import { $i as resolveImplicitBedrockProvider, Mi as resolveOpenClawAgentDir, Qi as normalizeProviders, ea as resolveImplicitCopilotProvider, h as loadConfig, ta as resolveImplicitProviders } from "./model-auth-
|
|
2
|
+
import { $i as resolveImplicitBedrockProvider, Mi as resolveOpenClawAgentDir, Qi as normalizeProviders, ea as resolveImplicitCopilotProvider, h as loadConfig, ta as resolveImplicitProviders } from "./model-auth-CNca-eBd.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
2
|
-
import { $a as listBufferedPluginTaskPasses, $i as requireActivePluginRegistry, $r as resolveCommandResolutionFromArgv, $t as normalizeDeliveryContext, A as triggerInternalHook, Aa as VERSION, Ai as docsSiteUrl, An as splitShellArgs, Ar as resolveCliName, At as normalizeStringEntriesLower, Bi as readManifestNamespace, Bn as modelKey, Bt as resolveWhatsAppAccount, Ca as hasConfiguredSecretInput, Ci as isSupportedLocalAvatarExtension, Cn as listWritableExplicitTrustedSafeBinDirs, Cr as resolveSecretRefValues, Ct as listChannelPlugins, Da as DEFAULT_CONTEXT_TOKENS, Di as loadPluginManifestRegistry, Dn as buildEnforcedShellCommand, Dr as parseDotPath, Dt as normalizeAtHashSlug, Ea as splitTrailingAuthProfile, Ei as validateJsonSchemaValue, En as analyzeShellCommand, Er as isRecord$1, Et as resolveAllowlistMatchByCandidates, F as requireSessionStorageRuntime, Fa as resolveOwnerDisplaySetting, Fi as resolveEffectiveEnableState, Fn as buildAllowedModelSet, Fr as getConfigValueAtPath, Ft as listEnabledSignalAccounts, G as refreshConfiguredSessionBindingEntry, Ga as channelTargetsSchema, Gi as normalizeAnyChannelId, Gn as resolveDefaultModelForAgent, Gr as normalizeScpRemoteHost, Gt as normalizeDiscordToken, H as closeReplacedConfiguredSessionStorageRuntime, Hi as CHAT_CHANNEL_ORDER, Hn as normalizeProviderId, Ht as createDiscordActionGate, I as recordSessionMetaFromInbound, Ia as advanceRuntimeConfigSnapshot, Ii as resolveMemorySlotDecision, In as buildConfiguredAllowlistKeys, Ir as parseConfigPath, It as resolveSignalAccount, J as readSessionUpdatedAt, Ja as applyTargetToParams, Ji as resolveChannelConfigId, Jn as resolveSubagentSpawnModelSelection, Jr as secretRefKey, Jt as resolveChannelGroupToolsPolicy, K as loadSessionStore, Ka as optionalStringEnum, Ki as normalizeChannelId$2, Kn as resolveModelRefFromString, Kr as parseNonNegativeByteSize, Kt as resolveChannelGroupPolicy, L as updateLastRoute, La as getRuntimeConfigSnapshot, Li as discoverOpenClawPlugins, Ln as buildModelAliasIndex, Lr as setConfigValueAtPath, Lt as isWhatsAppGroupJid, M as createConversationReadQuery, Ma as resolveShellEnvFallbackTimeoutMs, Mi as applyTestPluginDefaults, Mn as normalizeSafeBinProfileFixtures, Mr as resetConfigOverrides, Mt as resolveSlackReplyToMode, N as getConversationReadQuery, Na as isTruthyEnvValue, Ni as isBundledChannelEnabledByChannelConfig, Nn as resolveSafeBinProfiles, Nr as setConfigOverride, Nt as resolveSlackAppToken, O as normalizeProviderId$1, Oa as DEFAULT_MODEL, On as isWindowsPlatform, Or as runTasksWithConcurrency, Ot as normalizeHyphenSlug, Pa as parseBooleanValue$1, Pi as normalizePluginsConfig, Pn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Pr as unsetConfigOverride, Pt as resolveSlackBotToken, Qa as discardBufferedPluginTaskPasses, Qr as resolveAllowlistCandidatePath, Qt as mergeDeliveryContext, R as updateSessionStore, Ra as applyMergePatch, Ri as isPathInside, Rn as findNormalizedProviderValue, Rr as unsetConfigValueAtPath, Rt as normalizeWhatsAppTarget, Sa as coerceSecretRef, Si as isPathWithinRoot, Sn as isTrustedSafeBinPath, Sr as resolveApiKeyForProfile, St as getChannelPlugin, Ta as resolveSecretInputRef, Tn as validateSafeBinArgv, Tr as isNonEmptyString, Tt as formatAllowlistMatchMeta, U as commitPreparedConfiguredSessionStorageRuntimeActivation, Ui as getChatChannelMeta, Un as parseModelRef, Ur as resolveIMessageAttachmentRoots, Ut as listEnabledDiscordAccounts, V as closeConfiguredSessionStorageRuntime, Vn as normalizeModelRef$2, Vr as isInboundPathAllowed, Vt as resolveIMessageAccount, W as prepareConfiguredSessionStorageRuntimeActivation, Wa as channelTargetSchema, Wi as listChatChannels, Wn as resolveConfiguredModelRef, Wr as resolveIMessageRemoteAttachmentRoots, Wt as resolveDiscordAccount, Xa as actionRequiresTarget, Xi as getActivePluginRegistry, Xr as DEFAULT_SAFE_BINS, Xt as deliveryContextFromSession, Y as getConfiguredSessionStorageRuntime, Ya as actionHasTarget, Yi as getActiveGatewayPluginRegistry, Yn as resolveThinkingDefault, Yr as resolveExecPolicyPreset, Yt as resolveAccountEntry, Z as parseSessionIndexRecordKey, Zi as getActivePluginRegistryKey, Zr as matchAllowlist, Zt as deliveryContextKey, _ as isBuiltinTtsProvider, _a as isPidAlive, _n as readConfigFileSnapshot, _r as getSoonestCooldownExpiry, _t as resolveGroupSessionKey, aa as resolveSlackNativeStreaming, an as isMarkdownCapableMessageChannel, ar as buildAssistantMessageWithZeroUsage, at as resolveSessionFilePathOptions, bi as isAvatarDataUrl, bn as createConfigIO, br as markAuthProfileUsed, bt as listChannelDocks, c as clearPluginCommands, cn as resolveGatewayMessageChannel, cr as getApiKeyForModel, ct as resolveStorePath, d as listPluginCommands, da as markAuthProfileGood, dn as GATEWAY_CLIENT_MODES, ea as setActivePluginRegistry, ei as extractShellWrapperInlineCommand, en as normalizeSessionDeliveryFields, eo as replaceBufferedPluginTaskPasses, f as matchPluginCommand, fa as ensureAuthProfileStore, fn as GATEWAY_CLIENT_NAMES, fr as resolveEnvApiKey, ft as DEFAULT_RESET_TRIGGERS, g as getSpeechProvider, ga as withFileLock$1, gn as loadConfig, gt as deriveSessionMetaPatch, h as getRegisteredSpeechProviders, ha as resolveOpenClawAgentDir, ht as setSessionRuntimeModel, i as createPluginRegistry, ia as resolveDiscordPreviewStreamMode, ii as unwrapKnownShellMultiplexerInvocation, in as isInternalMessageChannel, ir as buildAssistantMessage, it as resolveSessionFilePath, j as StorageReadAccessError, ja as getShellPathFromLoginShell, ji as BUNDLED_ENABLED_BY_DEFAULT, jn as SAFE_BIN_PROFILES, jr as getConfigOverrides, jt as resolveSlackAccount, k as createInternalHookEvent, ka as DEFAULT_PROVIDER, ki as DOCS_SITE_URL, kn as splitCommandChain, kr as formatCliCommand, kt as normalizeStringEntries, la as dedupeProfileIds, ln as resolveMessageChannel, lr as getCustomProviderApiKey, lt as acquireSessionWriteLock, m as BUILTIN_TTS_PROVIDER_IDS, ma as resolveAuthStorePathForDisplay, mn as CtxProjectionCorruptionError, mr as resolveAuthProfileOrder, mt as resolveFreshSessionTotalTokens, n as clearRegisteredPluginApis, na as isSafeExecutableValue, ni as isShellWrapperExecutable, nn as isDeliverableMessageChannel, nr as OLLAMA_NATIVE_BASE_URL, nt as SESSION_RUN_STORE_FILE_NAME, o as normalizePluginHttpPath, oa as resolveSlackStreamingMode, oi as parseDurationMs, on as listDeliverableMessageChannels, or as buildStreamErrorAssistantMessage, ot as resolveSessionTranscriptPath, p as registerPluginCommand, pn as normalizeAccountId$1, pr as resolveModelAuthMode, pt as mergeSessionEntry, q as loadSessionStoreFromDisk, qa as stringEnum, qi as normalizeChatChannelId, qn as resolveReasoningDefault, qt as resolveChannelGroupRequireMention, ra as mapStreamingModeToSlackLegacyDraftStreamMode, ri as unwrapKnownDispatchWrapperInvocation, rn as isGatewayMessageChannel, rr as createOllamaStreamFn, s as buildPluginHealthReport, sn as normalizeMessageChannel, sr as buildUsageWithNoCost, t as addRegisteredPluginApi, ti as isDispatchWrapperExecutable, tn as INTERNAL_MESSAGE_CHANNEL, to as RecoveryAdmissionError, tr as retryAsync, tt as SAFE_SESSION_ID_RE, u as executePluginCommand, ua as listProfilesForProvider, un as GATEWAY_CLIENT_IDS, ur as requireApiKey, ut as resolveSessionLockMaxHoldFromTimeout, v as replaceSpeechProviders, va as readProcessElapsedSeconds, vn as readConfigFileSnapshotForWrite, vr as isProfileInCooldown, vt as resolveParentSessionGroupId, wa as normalizeResolvedSecretInputString, wi as buildChannelAccountBindings, wn as normalizeTrustedSafeBinDirs, wr as describeUnknownError$1, wt as normalizeChannelId$1, xa as normalizeSecretInput, xi as isAvatarHttpUrl, xn as getTrustedSafeBinDirs, xr as resolveProfilesUnavailableReason, xt as normalizeSignalMessagingTarget, ya as resolveAuthProfileDisplayLabel, yi as AVATAR_MAX_BYTES, yn as writeConfigFile, yr as markAuthProfileFailure, yt as getChannelDock, z as updateSessionStoreEntry, za as readTaskWorkStates, zi as safeStatSync, zn as isCliProvider, zr as validateConfigObjectWithPlugins, zt as hasAnyWhatsAppAuth } from "./registry-
|
|
1
|
+
import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-CfbHPZsA.js";
|
|
2
|
+
import { $a as listBufferedPluginTaskPasses, $i as requireActivePluginRegistry, $r as resolveCommandResolutionFromArgv, $t as normalizeDeliveryContext, A as triggerInternalHook, Aa as VERSION, Ai as docsSiteUrl, An as splitShellArgs, Ar as resolveCliName, At as normalizeStringEntriesLower, Bi as readManifestNamespace, Bn as modelKey, Bt as resolveWhatsAppAccount, Ca as hasConfiguredSecretInput, Ci as isSupportedLocalAvatarExtension, Cn as listWritableExplicitTrustedSafeBinDirs, Cr as resolveSecretRefValues, Ct as listChannelPlugins, Da as DEFAULT_CONTEXT_TOKENS, Di as loadPluginManifestRegistry, Dn as buildEnforcedShellCommand, Dr as parseDotPath, Dt as normalizeAtHashSlug, Ea as splitTrailingAuthProfile, Ei as validateJsonSchemaValue, En as analyzeShellCommand, Er as isRecord$1, Et as resolveAllowlistMatchByCandidates, F as requireSessionStorageRuntime, Fa as resolveOwnerDisplaySetting, Fi as resolveEffectiveEnableState, Fn as buildAllowedModelSet, Fr as getConfigValueAtPath, Ft as listEnabledSignalAccounts, G as refreshConfiguredSessionBindingEntry, Ga as channelTargetsSchema, Gi as normalizeAnyChannelId, Gn as resolveDefaultModelForAgent, Gr as normalizeScpRemoteHost, Gt as normalizeDiscordToken, H as closeReplacedConfiguredSessionStorageRuntime, Hi as CHAT_CHANNEL_ORDER, Hn as normalizeProviderId, Ht as createDiscordActionGate, I as recordSessionMetaFromInbound, Ia as advanceRuntimeConfigSnapshot, Ii as resolveMemorySlotDecision, In as buildConfiguredAllowlistKeys, Ir as parseConfigPath, It as resolveSignalAccount, J as readSessionUpdatedAt, Ja as applyTargetToParams, Ji as resolveChannelConfigId, Jn as resolveSubagentSpawnModelSelection, Jr as secretRefKey, Jt as resolveChannelGroupToolsPolicy, K as loadSessionStore, Ka as optionalStringEnum, Ki as normalizeChannelId$2, Kn as resolveModelRefFromString, Kr as parseNonNegativeByteSize, Kt as resolveChannelGroupPolicy, L as updateLastRoute, La as getRuntimeConfigSnapshot, Li as discoverOpenClawPlugins, Ln as buildModelAliasIndex, Lr as setConfigValueAtPath, Lt as isWhatsAppGroupJid, M as createConversationReadQuery, Ma as resolveShellEnvFallbackTimeoutMs, Mi as applyTestPluginDefaults, Mn as normalizeSafeBinProfileFixtures, Mr as resetConfigOverrides, Mt as resolveSlackReplyToMode, N as getConversationReadQuery, Na as isTruthyEnvValue, Ni as isBundledChannelEnabledByChannelConfig, Nn as resolveSafeBinProfiles, Nr as setConfigOverride, Nt as resolveSlackAppToken, O as normalizeProviderId$1, Oa as DEFAULT_MODEL, On as isWindowsPlatform, Or as runTasksWithConcurrency, Ot as normalizeHyphenSlug, Pa as parseBooleanValue$1, Pi as normalizePluginsConfig, Pn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Pr as unsetConfigOverride, Pt as resolveSlackBotToken, Qa as discardBufferedPluginTaskPasses, Qr as resolveAllowlistCandidatePath, Qt as mergeDeliveryContext, R as updateSessionStore, Ra as applyMergePatch, Ri as isPathInside, Rn as findNormalizedProviderValue, Rr as unsetConfigValueAtPath, Rt as normalizeWhatsAppTarget, Sa as coerceSecretRef, Si as isPathWithinRoot, Sn as isTrustedSafeBinPath, Sr as resolveApiKeyForProfile, St as getChannelPlugin, Ta as resolveSecretInputRef, Tn as validateSafeBinArgv, Tr as isNonEmptyString, Tt as formatAllowlistMatchMeta, U as commitPreparedConfiguredSessionStorageRuntimeActivation, Ui as getChatChannelMeta, Un as parseModelRef, Ur as resolveIMessageAttachmentRoots, Ut as listEnabledDiscordAccounts, V as closeConfiguredSessionStorageRuntime, Vn as normalizeModelRef$2, Vr as isInboundPathAllowed, Vt as resolveIMessageAccount, W as prepareConfiguredSessionStorageRuntimeActivation, Wa as channelTargetSchema, Wi as listChatChannels, Wn as resolveConfiguredModelRef, Wr as resolveIMessageRemoteAttachmentRoots, Wt as resolveDiscordAccount, Xa as actionRequiresTarget, Xi as getActivePluginRegistry, Xr as DEFAULT_SAFE_BINS, Xt as deliveryContextFromSession, Y as getConfiguredSessionStorageRuntime, Ya as actionHasTarget, Yi as getActiveGatewayPluginRegistry, Yn as resolveThinkingDefault, Yr as resolveExecPolicyPreset, Yt as resolveAccountEntry, Z as parseSessionIndexRecordKey, Zi as getActivePluginRegistryKey, Zr as matchAllowlist, Zt as deliveryContextKey, _ as isBuiltinTtsProvider, _a as isPidAlive, _n as readConfigFileSnapshot, _r as getSoonestCooldownExpiry, _t as resolveGroupSessionKey, aa as resolveSlackNativeStreaming, an as isMarkdownCapableMessageChannel, ar as buildAssistantMessageWithZeroUsage, at as resolveSessionFilePathOptions, bi as isAvatarDataUrl, bn as createConfigIO, br as markAuthProfileUsed, bt as listChannelDocks, c as clearPluginCommands, cn as resolveGatewayMessageChannel, cr as getApiKeyForModel, ct as resolveStorePath, d as listPluginCommands, da as markAuthProfileGood, dn as GATEWAY_CLIENT_MODES, ea as setActivePluginRegistry, ei as extractShellWrapperInlineCommand, en as normalizeSessionDeliveryFields, eo as replaceBufferedPluginTaskPasses, f as matchPluginCommand, fa as ensureAuthProfileStore, fn as GATEWAY_CLIENT_NAMES, fr as resolveEnvApiKey, ft as DEFAULT_RESET_TRIGGERS, g as getSpeechProvider, ga as withFileLock$1, gn as loadConfig, gt as deriveSessionMetaPatch, h as getRegisteredSpeechProviders, ha as resolveOpenClawAgentDir, ht as setSessionRuntimeModel, i as createPluginRegistry, ia as resolveDiscordPreviewStreamMode, ii as unwrapKnownShellMultiplexerInvocation, in as isInternalMessageChannel, ir as buildAssistantMessage, it as resolveSessionFilePath, j as StorageReadAccessError, ja as getShellPathFromLoginShell, ji as BUNDLED_ENABLED_BY_DEFAULT, jn as SAFE_BIN_PROFILES, jr as getConfigOverrides, jt as resolveSlackAccount, k as createInternalHookEvent, ka as DEFAULT_PROVIDER, ki as DOCS_SITE_URL, kn as splitCommandChain, kr as formatCliCommand, kt as normalizeStringEntries, la as dedupeProfileIds, ln as resolveMessageChannel, lr as getCustomProviderApiKey, lt as acquireSessionWriteLock, m as BUILTIN_TTS_PROVIDER_IDS, ma as resolveAuthStorePathForDisplay, mn as CtxProjectionCorruptionError, mr as resolveAuthProfileOrder, mt as resolveFreshSessionTotalTokens, n as clearRegisteredPluginApis, na as isSafeExecutableValue, ni as isShellWrapperExecutable, nn as isDeliverableMessageChannel, nr as OLLAMA_NATIVE_BASE_URL, nt as SESSION_RUN_STORE_FILE_NAME, o as normalizePluginHttpPath, oa as resolveSlackStreamingMode, oi as parseDurationMs, on as listDeliverableMessageChannels, or as buildStreamErrorAssistantMessage, ot as resolveSessionTranscriptPath, p as registerPluginCommand, pn as normalizeAccountId$1, pr as resolveModelAuthMode, pt as mergeSessionEntry, q as loadSessionStoreFromDisk, qa as stringEnum, qi as normalizeChatChannelId, qn as resolveReasoningDefault, qt as resolveChannelGroupRequireMention, ra as mapStreamingModeToSlackLegacyDraftStreamMode, ri as unwrapKnownDispatchWrapperInvocation, rn as isGatewayMessageChannel, rr as createOllamaStreamFn, s as buildPluginHealthReport, sn as normalizeMessageChannel, sr as buildUsageWithNoCost, t as addRegisteredPluginApi, ti as isDispatchWrapperExecutable, tn as INTERNAL_MESSAGE_CHANNEL, to as RecoveryAdmissionError, tr as retryAsync, tt as SAFE_SESSION_ID_RE, u as executePluginCommand, ua as listProfilesForProvider, un as GATEWAY_CLIENT_IDS, ur as requireApiKey, ut as resolveSessionLockMaxHoldFromTimeout, v as replaceSpeechProviders, va as readProcessElapsedSeconds, vn as readConfigFileSnapshotForWrite, vr as isProfileInCooldown, vt as resolveParentSessionGroupId, wa as normalizeResolvedSecretInputString, wi as buildChannelAccountBindings, wn as normalizeTrustedSafeBinDirs, wr as describeUnknownError$1, wt as normalizeChannelId$1, xa as normalizeSecretInput, xi as isAvatarHttpUrl, xn as getTrustedSafeBinDirs, xr as resolveProfilesUnavailableReason, xt as normalizeSignalMessagingTarget, ya as resolveAuthProfileDisplayLabel, yi as AVATAR_MAX_BYTES, yn as writeConfigFile, yr as markAuthProfileFailure, yt as getChannelDock, z as updateSessionStoreEntry, za as readTaskWorkStates, zi as safeStatSync, zn as isCliProvider, zr as validateConfigObjectWithPlugins, zt as hasAnyWhatsAppAuth } from "./registry-ChehZpUt.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
|
-
import { A as danger, B as getChildLogger, C as resolveUserPath, D as sleep$3, E as shortenHomePath, F as shouldLogVerbose, G as normalizeLogLevel, I as warn, J as INCLUDE_KEY, L as colorize, M as logVerbose, O as sliceUtf16Safe, P as setVerbose, R as isRich, T as shortenHomeInString, U as appendFileLog, Z as isBlockedObjectKey, _ as escapeRegExp, a as createNonExitingRuntime, b as normalizeE164, c as registerActiveProgressLine, et as openBoundaryFile, ft as isDangerousHostEnvVarName, k as truncateUtf16Safe, l as unregisterActiveProgressLine, m as clampInt, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as CONFIG_DIR, s as clearActiveProgressLine, t as createSubsystemLogger, tt as openBoundaryFileSync, ut as normalizeWindowsPathForComparison, v as formatTerminalLink, w as safeParseJson, y as isRecord$2, z as theme } from "./subsystem-
|
|
4
|
+
import { A as danger, B as getChildLogger, C as resolveUserPath, D as sleep$3, E as shortenHomePath, F as shouldLogVerbose, G as normalizeLogLevel, I as warn, J as INCLUDE_KEY, L as colorize, M as logVerbose, O as sliceUtf16Safe, P as setVerbose, R as isRich, T as shortenHomeInString, U as appendFileLog, Z as isBlockedObjectKey, _ as escapeRegExp, a as createNonExitingRuntime, b as normalizeE164, c as registerActiveProgressLine, et as openBoundaryFile, ft as isDangerousHostEnvVarName, k as truncateUtf16Safe, l as unregisterActiveProgressLine, m as clampInt, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as CONFIG_DIR, s as clearActiveProgressLine, t as createSubsystemLogger, tt as openBoundaryFileSync, ut as normalizeWindowsPathForComparison, v as formatTerminalLink, w as safeParseJson, y as isRecord$2, z as theme } from "./subsystem-D5N_K3VU.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { $ as normalizeAgentId, A as runCommandWithTimeout, B as toAgentModelListLike, D as loadWorkspaceBootstrapFiles, E as filterBootstrapFilesForSession, F as logInfo, G as buildAgentMainSessionKey, I as logWarn, M as spawnWithFallback, N as logDebug, O as resolveOpenClawPackageRoot, P as logError, Q as isValidAgentId, R as resolveAgentModelFallbackValues, St as stripAgentSessionKeyPrefix, T as ensureAgentWorkspace, U as DEVICE_SENDER_PREFIX, V as DEFAULT_AGENT_ID, Z as isKnownAgentMainSessionKey, _t as isCronSessionKey, at as resolveThreadSessionKeys, b as DEFAULT_HEARTBEAT_FILENAME, bt as parseAgentSessionKey, c as resolveAgentDir, ct as toAgentStoreSessionKey, d as resolveAgentWorkspaceDir, dt as normalizeOptionalAccountId, et as normalizeMainKey, f as resolveDefaultAgentId, g as resolveSessionAgentIds, gt as isAcpSessionKey, h as resolveSessionAgentId, ht as getSubagentDepth, i as isInternalAgentSessionKey, it as resolveConfiguredCanonicalIdentity, j as runExec, lt as DEFAULT_ACCOUNT_ID, m as resolveRunModelFallbacksOverride, mt as WAKE_GATE_SESSION_KEY_SEGMENT, n as hasConfiguredModelFallbacks, nt as resolveAgentIdFromSessionKey, o as listAgentIds, ot as sanitizeAgentId, p as resolveEffectiveModelFallbacks, q as classifySessionKeyShape, r as isAgentUserFacing, rt as resolveCanonicalIdentity, s as resolveAgentConfig, st as sessionKeyAgentMatches, t as acceptsInheritedIdentity, tt as normalizeToken, u as resolveAgentSkillsFilter, ut as normalizeAccountId$2, v as DEFAULT_AGENT_WORKSPACE_DIR, x as DEFAULT_IDENTITY_FILENAME, xt as resolveThreadParentSessionKey, y as DEFAULT_BOOTSTRAP_FILENAME, yt as isSubagentSessionKey, z as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
6
|
+
import { $ as normalizeAgentId, A as runCommandWithTimeout, B as toAgentModelListLike, D as loadWorkspaceBootstrapFiles, E as filterBootstrapFilesForSession, F as logInfo, G as buildAgentMainSessionKey, I as logWarn, M as spawnWithFallback, N as logDebug, O as resolveOpenClawPackageRoot, P as logError, Q as isValidAgentId, R as resolveAgentModelFallbackValues, St as stripAgentSessionKeyPrefix, T as ensureAgentWorkspace, U as DEVICE_SENDER_PREFIX, V as DEFAULT_AGENT_ID, Z as isKnownAgentMainSessionKey, _t as isCronSessionKey, at as resolveThreadSessionKeys, b as DEFAULT_HEARTBEAT_FILENAME, bt as parseAgentSessionKey, c as resolveAgentDir, ct as toAgentStoreSessionKey, d as resolveAgentWorkspaceDir, dt as normalizeOptionalAccountId, et as normalizeMainKey, f as resolveDefaultAgentId, g as resolveSessionAgentIds, gt as isAcpSessionKey, h as resolveSessionAgentId, ht as getSubagentDepth, i as isInternalAgentSessionKey, it as resolveConfiguredCanonicalIdentity, j as runExec, lt as DEFAULT_ACCOUNT_ID, m as resolveRunModelFallbacksOverride, mt as WAKE_GATE_SESSION_KEY_SEGMENT, n as hasConfiguredModelFallbacks, nt as resolveAgentIdFromSessionKey, o as listAgentIds, ot as sanitizeAgentId, p as resolveEffectiveModelFallbacks, q as classifySessionKeyShape, r as isAgentUserFacing, rt as resolveCanonicalIdentity, s as resolveAgentConfig, st as sessionKeyAgentMatches, t as acceptsInheritedIdentity, tt as normalizeToken, u as resolveAgentSkillsFilter, ut as normalizeAccountId$2, v as DEFAULT_AGENT_WORKSPACE_DIR, x as DEFAULT_IDENTITY_FILENAME, xt as resolveThreadParentSessionKey, y as DEFAULT_BOOTSTRAP_FILENAME, yt as isSubagentSessionKey, z as resolveAgentModelPrimaryValue } from "./agent-scope-Be-jpj9v.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-DhWniZ-V.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-D0OAjXXT.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-
|
|
14
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
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 { $n as makeZeroUsageSnapshot, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Bn as attachMessageIngress, Cr as isPrimarySessionTranscriptFileName, D as eventOrder, Dr as resolveProviderPromptCacheKey, E as DB_SESSION_HYDRATION_LIMIT, Er as buildPluginTurnIdentity, F as truncateToolResultToChars, Fn as mergePromptContributions, G as createSessionStorageRuntimeFromConfig, Gn as formatMessageStamp, Gt as CREATE_CTX_STORAGE_OWNER_SQL, H as isToolResultMessage, Hn as isRepresentableEpochMs, Ht as deriveLegacyActorIdentity, I as CHARS_PER_TOKEN_ESTIMATE$2, In as toJsonValue$1, Jn as resolveTimezone, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Ln as buildInboundMetaSystemPrompt, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Mn as sanitizeJsonb, N as TOOL_RESULT_TEXT_WEIGHT, Nn as sha256, O as pickLeaf, On as sanitizeAppendEntry, Or as resolveProviderRuntimeIdentity, P as truncateTextHeadTail, Pn as createCurrentUserPromptEnvelope, Qn as hasNonzeroUsage, R as createMessageCharEstimateCache, Rn as collectInboundUserContext, S as initializeGlobalHookRunner, Sr as resolveMainSessionKey, T as promptBuildResultToContribution, Tr as buildPluginRuntimeIdentity, U as parseInlineDirectives$1, Un as messageTime, V as getToolResultText$1, Vn as getMessageIngress, W as attachPgPoolErrorListeners, Wn as stripMessageCarriers, Xn as derivePromptTokens, Y as validateCtxStorage, Yn as resolveSenderLabel, Zn as deriveSessionTotalTokens, _r as resolveSessionResetType, a as resolveMirroredTranscriptText, ar as normalizeHttpWebhookUrl, b as getGlobalHookRunner, br as resolveAgentMainSessionKey, c as drainPendingPrimaryWrites, cr as parseAbsoluteTimeMs, d as repairToolUseResultPairing, er as normalizeUsage, et as buildEqualityProjection, f as sanitizeToolCallInputs, g as sanitizeToolCallIdsForCloudCodeAssist, gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, gr as resolveSessionResetPolicy, h as canonicalToolCallIdBase, hr as resolveChannelResetConfig, i as appendAssistantMessageToSessionTranscript, ir as inferLegacyName, j as sessionLikelyHasOversizedToolResults, jn as extractLegacyTranscriptEntryFields, k as capToolResultContent, l as guardSessionManager, m as stripToolResultDetails, mr as evaluateSessionFreshness, n as parseSessionThreadInfo, o as openDbSessionManager, or as normalizeCronStaggerMs, p as sanitizeToolUseResultPairing, pr as resolveSessionKey, qn as formatZonedTimestamp, r as resolveAndPersistSessionFile, s as runSerializedBySession, sr as resolveDefaultCronStaggerMs, t as extractDeliveryInfo, u as openRawToolResultStash, v as hasInterSessionUserProvenance, vr as resolveThreadFlag, w as hasHookForPlugin, wr as isSessionArchiveArtifactName, x as getGlobalPluginRegistry, xr as resolveExplicitAgentSessionKey, y as normalizeInputProvenance, yr as canonicalizeMainSessionAlias, z as estimateContextChars$1, zn as renderInboundUserContext } from "./sessions-
|
|
17
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
18
|
-
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
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-OLisVrnA.js";
|
|
14
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-mqKTCfsk.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-thuPOPkM.js";
|
|
16
|
+
import { $n as makeZeroUsageSnapshot, A as HARD_MAX_TOOL_RESULT_CHARS, B as estimateMessageCharsCached, Bn as attachMessageIngress, Cr as isPrimarySessionTranscriptFileName, D as eventOrder, Dr as resolveProviderPromptCacheKey, E as DB_SESSION_HYDRATION_LIMIT, Er as buildPluginTurnIdentity, F as truncateToolResultToChars, Fn as mergePromptContributions, G as createSessionStorageRuntimeFromConfig, Gn as formatMessageStamp, Gt as CREATE_CTX_STORAGE_OWNER_SQL, H as isToolResultMessage, Hn as isRepresentableEpochMs, Ht as deriveLegacyActorIdentity, I as CHARS_PER_TOKEN_ESTIMATE$2, In as toJsonValue$1, Jn as resolveTimezone, K as resolveSessionStorageConfig, L as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, Ln as buildInboundMetaSystemPrompt, M as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, Mn as sanitizeJsonb, N as TOOL_RESULT_TEXT_WEIGHT, Nn as sha256, O as pickLeaf, On as sanitizeAppendEntry, Or as resolveProviderRuntimeIdentity, P as truncateTextHeadTail, Pn as createCurrentUserPromptEnvelope, Qn as hasNonzeroUsage, R as createMessageCharEstimateCache, Rn as collectInboundUserContext, S as initializeGlobalHookRunner, Sr as resolveMainSessionKey, T as promptBuildResultToContribution, Tr as buildPluginRuntimeIdentity, U as parseInlineDirectives$1, Un as messageTime, V as getToolResultText$1, Vn as getMessageIngress, W as attachPgPoolErrorListeners, Wn as stripMessageCarriers, Xn as derivePromptTokens, Y as validateCtxStorage, Yn as resolveSenderLabel, Zn as deriveSessionTotalTokens, _r as resolveSessionResetType, a as resolveMirroredTranscriptText, ar as normalizeHttpWebhookUrl, b as getGlobalHookRunner, br as resolveAgentMainSessionKey, c as drainPendingPrimaryWrites, cr as parseAbsoluteTimeMs, d as repairToolUseResultPairing, er as normalizeUsage, et as buildEqualityProjection, f as sanitizeToolCallInputs, g as sanitizeToolCallIdsForCloudCodeAssist, gn as HIDDEN_HEARTBEAT_CUSTOM_TYPE, gr as resolveSessionResetPolicy, h as canonicalToolCallIdBase, hr as resolveChannelResetConfig, i as appendAssistantMessageToSessionTranscript, ir as inferLegacyName, j as sessionLikelyHasOversizedToolResults, jn as extractLegacyTranscriptEntryFields, k as capToolResultContent, l as guardSessionManager, m as stripToolResultDetails, mr as evaluateSessionFreshness, n as parseSessionThreadInfo, o as openDbSessionManager, or as normalizeCronStaggerMs, p as sanitizeToolUseResultPairing, pr as resolveSessionKey, qn as formatZonedTimestamp, r as resolveAndPersistSessionFile, s as runSerializedBySession, sr as resolveDefaultCronStaggerMs, t as extractDeliveryInfo, u as openRawToolResultStash, v as hasInterSessionUserProvenance, vr as resolveThreadFlag, w as hasHookForPlugin, wr as isSessionArchiveArtifactName, x as getGlobalPluginRegistry, xr as resolveExplicitAgentSessionKey, y as normalizeInputProvenance, yr as canonicalizeMainSessionAlias, z as estimateContextChars$1, zn as renderInboundUserContext } from "./sessions-DtBcB_m8.js";
|
|
17
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DOs6fXcc.js";
|
|
18
|
+
import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-BrdJv9v4.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 resolveTeamRoster, N as computeBackoff, O as normalizeTargetForProvider, P as sleepWithAbort, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as countToolResults, f as extractToolCallNames, g as stripLeadingInboundMetadata, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as resolveLedTeam, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, 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-
|
|
21
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
22
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
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-
|
|
24
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
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-
|
|
20
|
+
import { A as transcriptEntriesToMessages, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, M as resolveTeamRoster, N as computeBackoff, O as normalizeTargetForProvider, P as sleepWithAbort, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeReplyPayloadsForDelivery, b as filterMessagingToolMediaDuplicates, c as loadChannelOutboundAdapter, d as countToolResults, f as extractToolCallNames, g as stripLeadingInboundMetadata, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as resolveLedTeam, k as readFullTranscriptEntriesFromBackend, l as loadCombinedSessionStoreForGateway, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, 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-cnS8GuO-.js";
|
|
21
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-C02bovRa.js";
|
|
22
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BKrwJmFe.js";
|
|
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-CUdIP6Hb.js";
|
|
24
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DgWeR64N.js";
|
|
25
|
+
import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DHFG0AUk.js";
|
|
26
|
+
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DgyyeBob.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-ilRdM1HR.js";
|
|
29
|
+
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-BAlYiGmw.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-CbFYKesr.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-CfzW0_dx.js";
|
|
34
|
+
import { o as redactChannelCorrelation, r as getDiagnosticSessionState } from "./diagnostic-session-state-B0P3KV3G.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-DKwo5KR5.js";
|
|
37
|
+
import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-ByPrMDAH.js";
|
|
38
|
+
import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DhKye4nA.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-C05hxUR0.js";
|
|
40
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Bf07_wdY.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-Dv48ezjN.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-Djee-ZQ4.js";
|
|
43
|
+
import { r as isLoopbackHost } from "./ws-DA5Ex9cq.js";
|
|
44
|
+
import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-BphVNHsl.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-CvksRREn.js";
|
|
46
46
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-ClPXs9e9.js";
|
|
47
47
|
import { r as writeJsonAtomic } from "./json-files-Dt0in6lC.js";
|
|
48
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
49
|
-
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
50
|
-
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-
|
|
51
|
-
import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
52
|
-
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-
|
|
53
|
-
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-
|
|
54
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
55
|
-
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-
|
|
56
|
-
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-
|
|
57
|
-
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as endModelCall, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-
|
|
58
|
-
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-
|
|
59
|
-
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
60
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
61
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
62
|
-
import { t as recordInboundSessionMetaSafe } from "./session-meta-
|
|
63
|
-
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
65
|
-
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-
|
|
66
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
48
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-3uPMrOQa.js";
|
|
49
|
+
import { i as resolveLiveIdentityLinks, n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Dwcy4JTh.js";
|
|
50
|
+
import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as issueDeviceBootstrapToken, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveInternalSessionKey, a as buildAgentToAgentMessageContext, b as resolveVisibleSessionReference, c as isReplySkip, d as setActiveCoordinationDepth, f as createAgentToAgentPolicy, g as resolveDisplaySessionKey, h as resolveSandboxedSessionToolContext, i as buildAgentToAgentAnnounceContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as resolvePingPongTurns, m as resolveEffectiveSessionToolsVisibility, n as requestAuthorizedNudge, o as buildAgentToAgentReplyContext, p as createSessionVisibilityGuard, r as AuthorizationError, s as isAnnounceSkip, u as clearActiveCoordinationDepth, v as resolveMainSessionAlias, w as callGatewayLeastPrivilege, x as shouldResolveSessionIdInput, y as resolveSessionReference } from "./nudge-CwP_UxdK.js";
|
|
51
|
+
import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-BskrbhXT.js";
|
|
52
|
+
import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-gdDvWLUF.js";
|
|
53
|
+
import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-DeK1fKwA.js";
|
|
54
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BMmTOUny.js";
|
|
55
|
+
import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-CiCv2-fU.js";
|
|
56
|
+
import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-JGyGh_6z.js";
|
|
57
|
+
import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as endModelCall, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-Ck82_Wm4.js";
|
|
58
|
+
import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-DA9871hC.js";
|
|
59
|
+
import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-CsHUFvTh.js";
|
|
60
|
+
import { t as convertMarkdownTables } from "./tables-ChcsUP-T.js";
|
|
61
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-1C-UfqZI.js";
|
|
62
|
+
import { t as recordInboundSessionMetaSafe } from "./session-meta-ByvJn7Kl.js";
|
|
63
|
+
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-neHBbNGC.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-C0hS53l8.js";
|
|
65
|
+
import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-CapDjXqr.js";
|
|
66
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-DaJOhdHL.js";
|
|
67
67
|
import { createRequire } from "node:module";
|
|
68
68
|
import * as path$1 from "node:path";
|
|
69
69
|
import path, { basename, isAbsolute, join } from "node:path";
|
|
@@ -72,7 +72,7 @@ import { Type } from "@sinclair/typebox";
|
|
|
72
72
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
73
73
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
74
74
|
import os, { homedir } from "node:os";
|
|
75
|
-
import
|
|
75
|
+
import json5 from "json5";
|
|
76
76
|
import * as fs$2 from "node:fs/promises";
|
|
77
77
|
import fs$1, { open } from "node:fs/promises";
|
|
78
78
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
@@ -10038,7 +10038,7 @@ async function sendTranscriptEcho(params) {
|
|
|
10038
10038
|
}
|
|
10039
10039
|
const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
|
|
10040
10040
|
try {
|
|
10041
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
10041
|
+
const { deliverOutboundPayloads } = await import("./deliver-UCpJHA8E.js");
|
|
10042
10042
|
await deliverOutboundPayloads({
|
|
10043
10043
|
cfg,
|
|
10044
10044
|
channel: normalizedChannel,
|
|
@@ -19409,7 +19409,7 @@ async function routeReply(params) {
|
|
|
19409
19409
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
19410
19410
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
19411
19411
|
try {
|
|
19412
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
19412
|
+
const { deliverOutboundPayloads } = await import("./deliver-UCpJHA8E.js");
|
|
19413
19413
|
const outboundSession = buildOutboundSessionContext({
|
|
19414
19414
|
cfg,
|
|
19415
19415
|
agentId: resolvedAgentId,
|
|
@@ -23381,7 +23381,7 @@ const log$47 = createSubsystemLogger("acp/agent-turn-execute");
|
|
|
23381
23381
|
const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
|
|
23382
23382
|
async function ackAnnounceExecuted(payload) {
|
|
23383
23383
|
if (payload.kind !== "announce") return;
|
|
23384
|
-
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-
|
|
23384
|
+
const { markSubagentAnnounceExecuted } = await import("./subagent-registry-cUon6JW5.js");
|
|
23385
23385
|
for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
|
|
23386
23386
|
await markSubagentAnnounceExecuted(runId);
|
|
23387
23387
|
} catch {}
|
|
@@ -23903,7 +23903,7 @@ function normalizeSessionKey(value) {
|
|
|
23903
23903
|
function readSessionStore(storePath) {
|
|
23904
23904
|
try {
|
|
23905
23905
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
23906
|
-
const parsed =
|
|
23906
|
+
const parsed = json5.parse(raw);
|
|
23907
23907
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
23908
23908
|
} catch {}
|
|
23909
23909
|
return {};
|
|
@@ -23982,7 +23982,7 @@ const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
|
23982
23982
|
let subagentRegistryAccessPromise;
|
|
23983
23983
|
const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
|
|
23984
23984
|
function loadSubagentRegistryAccess() {
|
|
23985
|
-
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-
|
|
23985
|
+
if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-cUon6JW5.js").catch((err) => {
|
|
23986
23986
|
const message = err instanceof Error && err.message ? err.message : String(err);
|
|
23987
23987
|
defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
|
|
23988
23988
|
subagentRegistryAccessPromise = void 0;
|
|
@@ -38376,7 +38376,7 @@ async function createModelSelectionState(params) {
|
|
|
38376
38376
|
}
|
|
38377
38377
|
}
|
|
38378
38378
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
38379
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
38379
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-Bjh8-BxW.js");
|
|
38380
38380
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
38381
38381
|
const providerKey = normalizeProviderId(provider);
|
|
38382
38382
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -54648,7 +54648,7 @@ async function loadCronStore(storePath) {
|
|
|
54648
54648
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
54649
54649
|
let parsed;
|
|
54650
54650
|
try {
|
|
54651
|
-
parsed =
|
|
54651
|
+
parsed = json5.parse(raw);
|
|
54652
54652
|
} catch (err) {
|
|
54653
54653
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
54654
54654
|
}
|
|
@@ -56265,7 +56265,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
56265
56265
|
return;
|
|
56266
56266
|
}
|
|
56267
56267
|
try {
|
|
56268
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
56268
|
+
const { deliverOutboundPayloads } = await import("./deliver-UCpJHA8E.js");
|
|
56269
56269
|
const outboundSession = buildOutboundSessionContext({
|
|
56270
56270
|
cfg: params.cfg,
|
|
56271
56271
|
sessionKey: params.sessionKey
|
|
@@ -63043,7 +63043,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
63043
63043
|
let transcript;
|
|
63044
63044
|
let carry;
|
|
63045
63045
|
if (needsPreflightTranscription) try {
|
|
63046
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
63046
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CV8hn0ML.js");
|
|
63047
63047
|
const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
|
|
63048
63048
|
if (uploadable.length > 0) {
|
|
63049
63049
|
const preflight = await transcribeFirstAudio({
|
|
@@ -70315,19 +70315,19 @@ function createDefaultDeps() {
|
|
|
70315
70315
|
};
|
|
70316
70316
|
}),
|
|
70317
70317
|
sendMessageDiscord: async (...args) => {
|
|
70318
|
-
const { sendMessageDiscord } = await import("./send-
|
|
70318
|
+
const { sendMessageDiscord } = await import("./send-CY8x9hwE.js");
|
|
70319
70319
|
return await sendMessageDiscord(...args);
|
|
70320
70320
|
},
|
|
70321
70321
|
sendMessageSlack: async (...args) => {
|
|
70322
|
-
const { sendMessageSlack } = await import("./send-
|
|
70322
|
+
const { sendMessageSlack } = await import("./send-CH2Mx-nc.js");
|
|
70323
70323
|
return await sendMessageSlack(...args);
|
|
70324
70324
|
},
|
|
70325
70325
|
sendMessageSignal: async (...args) => {
|
|
70326
|
-
const { sendMessageSignal } = await import("./send-
|
|
70326
|
+
const { sendMessageSignal } = await import("./send-D9CQkoPN.js");
|
|
70327
70327
|
return await sendMessageSignal(...args);
|
|
70328
70328
|
},
|
|
70329
70329
|
sendMessageIMessage: async (...args) => {
|
|
70330
|
-
const { sendMessageIMessage } = await import("./send-
|
|
70330
|
+
const { sendMessageIMessage } = await import("./send-CwmftnXc.js");
|
|
70331
70331
|
return await sendMessageIMessage(...args);
|
|
70332
70332
|
}
|
|
70333
70333
|
};
|
|
@@ -81919,7 +81919,7 @@ function readSlackExternalArgMenuToken(raw) {
|
|
|
81919
81919
|
}
|
|
81920
81920
|
let commandsRegistry;
|
|
81921
81921
|
async function getCommandsRegistry() {
|
|
81922
|
-
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-
|
|
81922
|
+
if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CbFYKesr.js").then((n) => n.n);
|
|
81923
81923
|
return commandsRegistry;
|
|
81924
81924
|
}
|
|
81925
81925
|
function encodeSlackCommandArgValue(parts) {
|
|
@@ -82249,14 +82249,14 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
82249
82249
|
const channelName = channelInfo?.name;
|
|
82250
82250
|
const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
|
|
82251
82251
|
const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
|
|
82252
|
-
import("./resolve-route-
|
|
82253
|
-
import("./inbound-context-
|
|
82254
|
-
import("./provider-dispatcher-
|
|
82252
|
+
import("./resolve-route-Dwcy4JTh.js").then((n) => n.r),
|
|
82253
|
+
import("./inbound-context-JGyGh_6z.js").then((n) => n.n),
|
|
82254
|
+
import("./provider-dispatcher-HvZOc6pQ.js")
|
|
82255
82255
|
]);
|
|
82256
82256
|
const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
|
|
82257
82257
|
import("./conversation-label-a1YYj3eN.js"),
|
|
82258
|
-
import("./reply-prefix-
|
|
82259
|
-
import("./session-meta-
|
|
82258
|
+
import("./reply-prefix-BAlYiGmw.js").then((n) => n.n),
|
|
82259
|
+
import("./session-meta-ByvJn7Kl.js").then((n) => n.n)
|
|
82260
82260
|
]);
|
|
82261
82261
|
const route = resolveAgentRoute({
|
|
82262
82262
|
cfg,
|
|
@@ -82321,9 +82321,9 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
82321
82321
|
});
|
|
82322
82322
|
const deliverSlashPayloads = async (replies) => {
|
|
82323
82323
|
const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
|
|
82324
|
-
import("./replies-
|
|
82325
|
-
import("./chunk-
|
|
82326
|
-
import("./markdown-tables-
|
|
82324
|
+
import("./replies-n45TjLUD.js"),
|
|
82325
|
+
import("./chunk-OLisVrnA.js").then((n) => n.s),
|
|
82326
|
+
import("./markdown-tables-BMmTOUny.js").then((n) => n.t)
|
|
82327
82327
|
]);
|
|
82328
82328
|
await deliverSlackSlashReplies({
|
|
82329
82329
|
replies,
|
|
@@ -82377,7 +82377,7 @@ async function registerSlackMonitorSlashCommands(params) {
|
|
|
82377
82377
|
let nativeCommands = [];
|
|
82378
82378
|
if (nativeEnabled) {
|
|
82379
82379
|
reg = await getCommandsRegistry();
|
|
82380
|
-
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-
|
|
82380
|
+
const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CsHUFvTh.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
|
|
82381
82381
|
nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
|
|
82382
82382
|
skillCommands,
|
|
82383
82383
|
provider: "slack"
|
|
@@ -83321,7 +83321,7 @@ async function getMemorySearchManager(params) {
|
|
|
83321
83321
|
if (cached) return { manager: cached };
|
|
83322
83322
|
}
|
|
83323
83323
|
try {
|
|
83324
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
83324
|
+
const { QmdMemoryManager } = await import("./qmd-manager-D4W-fPSL.js");
|
|
83325
83325
|
const primary = await QmdMemoryManager.create({
|
|
83326
83326
|
cfg: params.cfg,
|
|
83327
83327
|
agentId: params.agentId,
|
|
@@ -83333,7 +83333,7 @@ async function getMemorySearchManager(params) {
|
|
|
83333
83333
|
const wrapper = new FallbackMemoryManager({
|
|
83334
83334
|
primary,
|
|
83335
83335
|
fallbackFactory: async () => {
|
|
83336
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
83336
|
+
const { MemoryIndexManager } = await import("./manager-CCHSaXUr.js");
|
|
83337
83337
|
return await MemoryIndexManager.get(params);
|
|
83338
83338
|
}
|
|
83339
83339
|
}, () => {
|
|
@@ -83348,7 +83348,7 @@ async function getMemorySearchManager(params) {
|
|
|
83348
83348
|
}
|
|
83349
83349
|
}
|
|
83350
83350
|
try {
|
|
83351
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
83351
|
+
const { MemoryIndexManager } = await import("./manager-CCHSaXUr.js");
|
|
83352
83352
|
return { manager: await MemoryIndexManager.get(params) };
|
|
83353
83353
|
} catch (err) {
|
|
83354
83354
|
return {
|
|
@@ -88551,7 +88551,7 @@ function createPluginRuntime(options = {}) {
|
|
|
88551
88551
|
workStates: readTaskWorkStates
|
|
88552
88552
|
},
|
|
88553
88553
|
resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
|
|
88554
|
-
sessions: { startUserRun: async (params) => (await import("./user-run-recording-
|
|
88554
|
+
sessions: { startUserRun: async (params) => (await import("./user-run-recording-ByPrMDAH.js").then((n) => n.n)).startUserSessionRun(params) }
|
|
88555
88555
|
};
|
|
88556
88556
|
Object.defineProperty(runtime, "analysis", {
|
|
88557
88557
|
enumerable: true,
|
|
@@ -90094,8 +90094,8 @@ function shouldEmitLoopWarning(state, warningKey, count) {
|
|
|
90094
90094
|
async function recordLoopOutcome(args) {
|
|
90095
90095
|
if (!args.ctx?.sessionKey) return;
|
|
90096
90096
|
try {
|
|
90097
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
90098
|
-
const { recordToolCallOutcome } = await import("./tool-loop-detection-
|
|
90097
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-B0P3KV3G.js").then((n) => n.n);
|
|
90098
|
+
const { recordToolCallOutcome } = await import("./tool-loop-detection-BemFvI2m.js");
|
|
90099
90099
|
recordToolCallOutcome(getDiagnosticSessionState({
|
|
90100
90100
|
sessionKey: args.ctx.sessionKey,
|
|
90101
90101
|
sessionId: args.ctx?.agentId
|
|
@@ -90121,9 +90121,9 @@ async function runBeforeToolCallHook(args) {
|
|
|
90121
90121
|
const toolName = normalizeToolName(args.toolName || "tool");
|
|
90122
90122
|
const params = args.params;
|
|
90123
90123
|
if (args.ctx?.sessionKey) {
|
|
90124
|
-
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-
|
|
90125
|
-
const { logToolLoopAction } = await import("./diagnostic-
|
|
90126
|
-
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-
|
|
90124
|
+
const { getDiagnosticSessionState } = await import("./diagnostic-session-state-B0P3KV3G.js").then((n) => n.n);
|
|
90125
|
+
const { logToolLoopAction } = await import("./diagnostic-CfzW0_dx.js").then((n) => n.n);
|
|
90126
|
+
const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BemFvI2m.js");
|
|
90127
90127
|
const sessionState = getDiagnosticSessionState({
|
|
90128
90128
|
sessionKey: args.ctx.sessionKey,
|
|
90129
90129
|
sessionId: args.ctx?.agentId
|