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,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Bi as resolveRetryConfig, Vi as retryAsync, n as loadConfig, nr as resolveDiscordAccount, rr as normalizeDiscordToken } from "./config-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
3
|
+
import { Bi as resolveRetryConfig, Vi as retryAsync, n as loadConfig, nr as resolveDiscordAccount, rr as normalizeDiscordToken } from "./config-i54suDg0.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-BpoIaiTK.js";
|
|
5
|
-
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
5
|
+
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-D9RolAaO.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BO29WISL.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dv-Fn4ps.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-BMz0_JTj.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DMx7kUDq.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdxAUEZi.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-CXnnw-yu.js";
|
|
12
12
|
import { promisify } from "node:util";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
14
|
+
import fsp from "node:fs/promises";
|
|
15
15
|
import crypto from "node:crypto";
|
|
16
16
|
import { execFile } from "node:child_process";
|
|
17
17
|
import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
@@ -1591,7 +1591,7 @@ function getChannelActivity(params) {
|
|
|
1591
1591
|
async function unlinkIfExists(filePath) {
|
|
1592
1592
|
if (!filePath) return;
|
|
1593
1593
|
try {
|
|
1594
|
-
await
|
|
1594
|
+
await fsp.unlink(filePath);
|
|
1595
1595
|
} catch {}
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
@@ -1708,7 +1708,7 @@ async function generateWaveformFromPcm(filePath) {
|
|
|
1708
1708
|
"8000",
|
|
1709
1709
|
tempPcm
|
|
1710
1710
|
]);
|
|
1711
|
-
const pcmData = await
|
|
1711
|
+
const pcmData = await fsp.readFile(tempPcm);
|
|
1712
1712
|
const samples = new Int16Array(pcmData.buffer, pcmData.byteOffset, pcmData.byteLength / 2);
|
|
1713
1713
|
const step = Math.max(1, Math.floor(samples.length / WAVEFORM_SAMPLES));
|
|
1714
1714
|
const waveform = [];
|
|
@@ -2063,7 +2063,7 @@ async function materializeVoiceMessageInput(mediaUrl) {
|
|
|
2063
2063
|
const ext = extFromName || extFromMime || ".bin";
|
|
2064
2064
|
const tempDir = resolvePreferredOpenClawTmpDir();
|
|
2065
2065
|
const filePath = path.join(tempDir, `voice-src-${crypto.randomUUID()}${ext}`);
|
|
2066
|
-
await
|
|
2066
|
+
await fsp.writeFile(filePath, media.buffer, { mode: 384 });
|
|
2067
2067
|
return { filePath };
|
|
2068
2068
|
}
|
|
2069
2069
|
/**
|
|
@@ -2099,7 +2099,7 @@ async function sendVoiceMessageDiscord(to, audioPath, opts = {}) {
|
|
|
2099
2099
|
oggPath = ogg.path;
|
|
2100
2100
|
oggCleanup = ogg.cleanup;
|
|
2101
2101
|
const metadata = await getVoiceMessageMetadata(oggPath);
|
|
2102
|
-
const audioBuffer = await
|
|
2102
|
+
const audioBuffer = await fsp.readFile(oggPath);
|
|
2103
2103
|
const result = await sendDiscordVoiceMessage(rest, channelId, audioBuffer, metadata, opts.replyTo, request, opts.silent);
|
|
2104
2104
|
recordChannelActivity({
|
|
2105
2105
|
channel: "discord",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Xt as resolveIMessageAccount, fn as loadConfig } from "./group-
|
|
3
|
-
import { _ as normalizeE164, b as resolveUserPath } from "./subsystem-
|
|
4
|
-
import { p as kindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { Xt as resolveIMessageAccount, fn as loadConfig } from "./group-CJxrdnQi.js";
|
|
3
|
+
import { _ as normalizeE164, b as resolveUserPath } from "./subsystem-DY5Ww-lX.js";
|
|
4
|
+
import { p as kindFromMime } from "./image-ops-BnBkL2cb.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BtpvPNub.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-CV9YznLE.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BaRQnyDU.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as logVerbose } from "./subsystem-
|
|
3
|
-
import { Cr as resolveSlackBotToken, H as loadConfig, br as resolveSlackAccount } from "./model-selection-
|
|
2
|
+
import { f as logVerbose } from "./subsystem-DoQFckDJ.js";
|
|
3
|
+
import { Cr as resolveSlackBotToken, H as loadConfig, br as resolveSlackAccount } from "./model-selection-CVZg4wf8.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CaO0zksh.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-C8E7C2l5.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Cpegp1jz.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-C7MQgQ4g.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D8MSIea0.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-rI6qQBSg.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-4xrev36Z.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bt as resolveSlackAccount, Ut as resolveSlackBotToken, fn as loadConfig } from "./group-
|
|
3
|
-
import { k as logVerbose } from "./subsystem-
|
|
2
|
+
import { Bt as resolveSlackAccount, Ut as resolveSlackBotToken, fn as loadConfig } from "./group-CJxrdnQi.js";
|
|
3
|
+
import { k as logVerbose } from "./subsystem-DY5Ww-lX.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-DQ-CYBoK.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Bwaekd5B.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BY0qWMC0.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BtpvPNub.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-qxGmbhX1.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-DIvHuHqk.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-
|
|
3
|
-
import { Jn as resolveSignalAccount, n as loadConfig } from "./config-
|
|
2
|
+
import { r as avoidTrailingHighSurrogateBreak } from "./subsystem-C30tnacl.js";
|
|
3
|
+
import { Jn as resolveSignalAccount, n as loadConfig } from "./config-i54suDg0.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-faWesvBQ.js";
|
|
5
|
-
import { p as kindFromMime } from "./image-ops-
|
|
6
|
-
import { o as fetchWithTimeout } from "./fetch-guard-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
5
|
+
import { p as kindFromMime } from "./image-ops-D9RolAaO.js";
|
|
6
|
+
import { o as fetchWithTimeout } from "./fetch-guard-1wmQV-Tr.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dv-Fn4ps.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-BMz0_JTj.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DMx7kUDq.js";
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DJGxSTr2.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { it as normalizeE164, st as resolveUserPath } from "./subsystem-
|
|
3
|
-
import { H as loadConfig, Mr as resolveIMessageAccount } from "./model-selection-
|
|
4
|
-
import { p as kindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { it as normalizeE164, st as resolveUserPath } from "./subsystem-DoQFckDJ.js";
|
|
3
|
+
import { H as loadConfig, Mr as resolveIMessageAccount } from "./model-selection-CVZg4wf8.js";
|
|
4
|
+
import { p as kindFromMime } from "./image-ops-DONWlnn2.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D8MSIea0.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-DanZpP0m.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CmkxUxFF.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Fr as resolveDiscordAccount, H as loadConfig, Ir as normalizeDiscordToken, b as resolveRetryConfig, x as retryAsync } from "./model-selection-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
3
|
+
import { Fr as resolveDiscordAccount, H as loadConfig, Ir as normalizeDiscordToken, b as resolveRetryConfig, x as retryAsync } from "./model-selection-CVZg4wf8.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CaO0zksh.js";
|
|
5
|
-
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
5
|
+
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-DONWlnn2.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-C7MQgQ4g.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D8MSIea0.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-rI6qQBSg.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-CucaLVum.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-DfR_n8MT.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-DanZpP0m.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import { promisify } from "node:util";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { M as logVerbose } from "./subsystem-
|
|
3
|
-
import { Kn as resolveSlackBotToken, Un as resolveSlackAccount, n as loadConfig } from "./config-
|
|
2
|
+
import { M as logVerbose } from "./subsystem-C30tnacl.js";
|
|
3
|
+
import { Kn as resolveSlackBotToken, Un as resolveSlackAccount, n as loadConfig } from "./config-i54suDg0.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-BpoIaiTK.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-BSTxLFq9.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-1wmQV-Tr.js";
|
|
7
|
+
import { d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BO29WISL.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dv-Fn4ps.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BMz0_JTj.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-2Ztmr_V0.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { C as resolveUserPath, b as normalizeE164 } from "./subsystem-
|
|
3
|
-
import { $n as resolveIMessageAccount, n as loadConfig } from "./config-
|
|
4
|
-
import { p as kindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { C as resolveUserPath, b as normalizeE164 } from "./subsystem-C30tnacl.js";
|
|
3
|
+
import { $n as resolveIMessageAccount, n as loadConfig } from "./config-i54suDg0.js";
|
|
4
|
+
import { p as kindFromMime } from "./image-ops-D9RolAaO.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Dv-Fn4ps.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-CXnnw-yu.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DJGxSTr2.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as resolveStorePath, Q as recordSessionMetaFromInbound } from "./group-
|
|
2
|
+
import { Ct as resolveStorePath, Q as recordSessionMetaFromInbound } from "./group-CJxrdnQi.js";
|
|
3
3
|
|
|
4
4
|
//#region src/channels/session-meta.ts
|
|
5
5
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Jt as recordSessionMetaFromInbound, bn as resolveStorePath } from "./config-
|
|
2
|
+
import { Jt as recordSessionMetaFromInbound, bn as resolveStorePath } from "./config-i54suDg0.js";
|
|
3
3
|
|
|
4
4
|
//#region src/channels/session-meta.ts
|
|
5
5
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Tn as recordSessionMetaFromInbound, Zn as resolveStorePath } from "./model-selection-
|
|
2
|
+
import { Tn as recordSessionMetaFromInbound, Zn as resolveStorePath } from "./model-selection-CVZg4wf8.js";
|
|
3
3
|
|
|
4
4
|
//#region src/channels/session-meta.ts
|
|
5
5
|
var session_meta_exports = /* @__PURE__ */ __exportAll({ recordInboundSessionMetaSafe: () => recordInboundSessionMetaSafe });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
2
|
-
import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { ft as sliceUtf16Safe, it as normalizeE164, pt as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { A as computeIdentityLinkMatchKeys, B as resolveConfiguredCanonicalIdentity, C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, I as normalizeMainKey, J as BACKGROUND_SESSION_KEY_SEGMENT, X as WAKE_GATE_SESSION_KEY_SEGMENT, Y as HEARTBEAT_SESSION_KEY_SEGMENT, et as isCronTriggerSessionKey, j as computeIdentityLinkScopedMatchKey, nt as parseAgentSessionKey, z as resolveCanonicalIdentity } from "./workspace-
|
|
5
|
-
import { Dn as updateSessionStore, Gn as SESSION_RUN_STORE_FILE_NAME, H as loadConfig, Kn as resolveDefaultSessionStorePath, Pn as loadSessionStore, Qr as normalizeMessageChannel, Rn as getConfiguredSessionStorageRuntime, Sn as getConversationReadQuery, Un as resolveUpdatedAfterPageSize, Vn as serializeSessionIndexRecordKey, Zn as resolveStorePath, ai as CtxProjectionCorruptionError, ci as isRetryExhausted, er as DEFAULT_IDLE_MINUTES, li as parseRetryPolicy, or as resolveGroupSessionKey, qn as resolveSessionFilePath, si as computeNextAvailableAtMs, ui as serializeRetryPolicy, wn as requireSessionStorageRuntime } from "./model-selection-
|
|
4
|
+
import { A as computeIdentityLinkMatchKeys, B as resolveConfiguredCanonicalIdentity, C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, I as normalizeMainKey, J as BACKGROUND_SESSION_KEY_SEGMENT, X as WAKE_GATE_SESSION_KEY_SEGMENT, Y as HEARTBEAT_SESSION_KEY_SEGMENT, et as isCronTriggerSessionKey, j as computeIdentityLinkScopedMatchKey, nt as parseAgentSessionKey, z as resolveCanonicalIdentity } from "./workspace-tcQXjttl.js";
|
|
5
|
+
import { Dn as updateSessionStore, Gn as SESSION_RUN_STORE_FILE_NAME, H as loadConfig, Kn as resolveDefaultSessionStorePath, Pn as loadSessionStore, Qr as normalizeMessageChannel, Rn as getConfiguredSessionStorageRuntime, Sn as getConversationReadQuery, Un as resolveUpdatedAfterPageSize, Vn as serializeSessionIndexRecordKey, Zn as resolveStorePath, ai as CtxProjectionCorruptionError, ci as isRetryExhausted, er as DEFAULT_IDLE_MINUTES, li as parseRetryPolicy, or as resolveGroupSessionKey, qn as resolveSessionFilePath, si as computeNextAvailableAtMs, ui as serializeRetryPolicy, wn as requireSessionStorageRuntime } from "./model-selection-CVZg4wf8.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DMwgeRgr.js";
|
|
8
8
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
9
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
9
|
+
import { n as formatErrorChainMessage } from "./errors-PebfxiNw.js";
|
|
10
10
|
import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-BeE0N7lz.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import path, { join } from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as resolveStateDir } from "./paths-BZCDWJ55.js";
|
|
2
|
-
import { O as sliceUtf16Safe, b as normalizeE164, k as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { O as sliceUtf16Safe, b as normalizeE164, k as truncateUtf16Safe, t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-CjGF4kza.js";
|
|
4
|
-
import { Ar as computeNextAvailableAtMs, Cn as DEFAULT_IDLE_MINUTES, Gt as getConversationReadQuery, Mr as parseRetryPolicy, Nr as serializeRetryPolicy, Or as CtxProjectionCorruptionError, Xt as updateSessionStore, bn as resolveStorePath, fn as resolveUpdatedAfterPageSize, gn as resolveSessionFilePath, hn as resolveDefaultSessionStorePath, jr as isRetryExhausted, kn as resolveGroupSessionKey, mn as SESSION_RUN_STORE_FILE_NAME, n as loadConfig, qt as requireSessionStorageRuntime, rn as loadSessionStore, sn as getConfiguredSessionStorageRuntime, un as serializeSessionIndexRecordKey, xr as normalizeMessageChannel } from "./config-
|
|
5
|
-
import { $ as normalizeAgentId, G as buildAgentMainSessionKey, J as computeIdentityLinkMatchKeys, V as DEFAULT_AGENT_ID, W as RAW_PEER_KEY_PREFIX, Y as computeIdentityLinkScopedMatchKey, bt as parseAgentSessionKey, et as normalizeMainKey, ft as BACKGROUND_SESSION_KEY_SEGMENT, it as resolveConfiguredCanonicalIdentity, mt as WAKE_GATE_SESSION_KEY_SEGMENT, pt as HEARTBEAT_SESSION_KEY_SEGMENT, rt as resolveCanonicalIdentity, vt as isCronTriggerSessionKey } from "./agent-scope-
|
|
4
|
+
import { Ar as computeNextAvailableAtMs, Cn as DEFAULT_IDLE_MINUTES, Gt as getConversationReadQuery, Mr as parseRetryPolicy, Nr as serializeRetryPolicy, Or as CtxProjectionCorruptionError, Xt as updateSessionStore, bn as resolveStorePath, fn as resolveUpdatedAfterPageSize, gn as resolveSessionFilePath, hn as resolveDefaultSessionStorePath, jr as isRetryExhausted, kn as resolveGroupSessionKey, mn as SESSION_RUN_STORE_FILE_NAME, n as loadConfig, qt as requireSessionStorageRuntime, rn as loadSessionStore, sn as getConfiguredSessionStorageRuntime, un as serializeSessionIndexRecordKey, xr as normalizeMessageChannel } from "./config-i54suDg0.js";
|
|
5
|
+
import { $ as normalizeAgentId, G as buildAgentMainSessionKey, J as computeIdentityLinkMatchKeys, V as DEFAULT_AGENT_ID, W as RAW_PEER_KEY_PREFIX, Y as computeIdentityLinkScopedMatchKey, bt as parseAgentSessionKey, et as normalizeMainKey, ft as BACKGROUND_SESSION_KEY_SEGMENT, it as resolveConfiguredCanonicalIdentity, mt as WAKE_GATE_SESSION_KEY_SEGMENT, pt as HEARTBEAT_SESSION_KEY_SEGMENT, rt as resolveCanonicalIdentity, vt as isCronTriggerSessionKey } from "./agent-scope-CmMflllE.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BkRfLUVO.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
|
|
8
8
|
import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-B5z7H1TR.js";
|
|
9
9
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
10
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
10
|
+
import { n as formatErrorChainMessage } from "./errors-DbYMrbC6.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import path, { join } from "node:path";
|
|
13
13
|
import crypto, { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Ct as resolveStorePath, Et as DEFAULT_IDLE_MINUTES, Y as getConversationReadQuery, Z as requireSessionStorageRuntime, _a as parseRetryPolicy, _t as SESSION_RUN_STORE_FILE_NAME, dn as CtxProjectionCorruptionError, et as updateSessionStore, fn as loadConfig, ga as isRetryExhausted, ha as computeNextAvailableAtMs, ht as resolveUpdatedAfterPageSize, l as normalizeMessageChannel, pt as serializeSessionIndexRecordKey, st as loadSessionStore, t as resolveGroupSessionKey, ut as getConfiguredSessionStorageRuntime, va as serializeRetryPolicy, vt as resolveDefaultSessionStorePath, yt as resolveSessionFilePath } from "./group-
|
|
1
|
+
import { Ct as resolveStorePath, Et as DEFAULT_IDLE_MINUTES, Y as getConversationReadQuery, Z as requireSessionStorageRuntime, _a as parseRetryPolicy, _t as SESSION_RUN_STORE_FILE_NAME, dn as CtxProjectionCorruptionError, et as updateSessionStore, fn as loadConfig, ga as isRetryExhausted, ha as computeNextAvailableAtMs, ht as resolveUpdatedAfterPageSize, l as normalizeMessageChannel, pt as serializeSessionIndexRecordKey, st as loadSessionStore, t as resolveGroupSessionKey, ut as getConfiguredSessionStorageRuntime, va as serializeRetryPolicy, vt as resolveDefaultSessionStorePath, yt as resolveSessionFilePath } from "./group-CJxrdnQi.js";
|
|
2
2
|
import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
3
|
-
import { E as truncateUtf16Safe, T as sliceUtf16Safe, _ as normalizeE164, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { E as truncateUtf16Safe, T as sliceUtf16Safe, _ as normalizeE164, t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { H as computeIdentityLinkScopedMatchKey, K as normalizeAgentId, L as RAW_PEER_KEY_PREFIX, P as DEFAULT_AGENT_ID, R as buildAgentMainSessionKey, V as computeIdentityLinkMatchKeys, X as resolveCanonicalIdentity, Z as resolveConfiguredCanonicalIdentity, at as BACKGROUND_SESSION_KEY_SEGMENT, dt as isCronTriggerSessionKey, ot as HEARTBEAT_SESSION_KEY_SEGMENT, pt as parseAgentSessionKey, q as normalizeMainKey, st as WAKE_GATE_SESSION_KEY_SEGMENT } from "./agent-scope-
|
|
5
|
+
import { H as computeIdentityLinkScopedMatchKey, K as normalizeAgentId, L as RAW_PEER_KEY_PREFIX, P as DEFAULT_AGENT_ID, R as buildAgentMainSessionKey, V as computeIdentityLinkMatchKeys, X as resolveCanonicalIdentity, Z as resolveConfiguredCanonicalIdentity, at as BACKGROUND_SESSION_KEY_SEGMENT, dt as isCronTriggerSessionKey, ot as HEARTBEAT_SESSION_KEY_SEGMENT, pt as parseAgentSessionKey, q as normalizeMainKey, st as WAKE_GATE_SESSION_KEY_SEGMENT } from "./agent-scope-CCWcV-mm.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
7
7
|
import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-SYG8mKtw.js";
|
|
8
8
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-e4_YKO7d.js";
|
|
9
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
9
|
+
import { n as formatErrorChainMessage } from "./errors-0RH1PUyI.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
11
11
|
import { createRequire } from "node:module";
|
|
12
12
|
import path, { join } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as resolveAgentSkillsFilter, f as resolveAgentWorkspaceDir, o as listAgentIds } from "./agent-scope-
|
|
3
|
-
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { d as resolveAgentSkillsFilter, f as resolveAgentWorkspaceDir, o as listAgentIds } from "./agent-scope-Km9kFpGZ.js";
|
|
3
|
+
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
5
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-D6DRAp_h.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-BvB06wAF.js";
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-Dv-b9PiZ.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { C as resolveUserPath, M as logVerbose, p as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { C as resolveUserPath, M as logVerbose, p as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-CjGF4kza.js";
|
|
4
|
-
import { d as resolveAgentWorkspaceDir, o as listAgentIds, u as resolveAgentSkillsFilter } from "./agent-scope-
|
|
5
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills
|
|
6
|
-
import { t as createAsyncLock } from "./json-files-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
4
|
+
import { d as resolveAgentWorkspaceDir, o as listAgentIds, u as resolveAgentSkillsFilter } from "./agent-scope-CmMflllE.js";
|
|
5
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills--Ui7bzMr.js";
|
|
6
|
+
import { t as createAsyncLock } from "./json-files-B1gYf6W9.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-CcEHn1XI.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { b as resolveUserPath, k as logVerbose, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
2
|
+
import { b as resolveUserPath, k as logVerbose, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-DY5Ww-lX.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { d as resolveAgentWorkspaceDir, o as listAgentIds, u as resolveAgentSkillsFilter } from "./agent-scope-
|
|
4
|
+
import { d as resolveAgentWorkspaceDir, o as listAgentIds, u as resolveAgentSkillsFilter } from "./agent-scope-CCWcV-mm.js";
|
|
5
5
|
import { t as createAsyncLock } from "./json-files-DVOyv0n6.js";
|
|
6
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
6
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-DrMz2n4d.js";
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-Dx4q8Stu.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as isPathInsideWithRealpath, C as resolveUserPath, ct as isPathInside, ft as isDangerousHostEnvVarName, mt as resolvePreferredOpenClawTmpDir, p as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { $ as isPathInsideWithRealpath, C as resolveUserPath, ct as isPathInside, ft as isDangerousHostEnvVarName, mt as resolvePreferredOpenClawTmpDir, p as CONFIG_DIR, t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
2
2
|
import { n as resolveProcessScopedMap } from "./plain-object-CjGF4kza.js";
|
|
3
|
-
import { Ka as parseBooleanValue, Pa as normalizeResolvedSecretInputString, Q as loadPluginManifestRegistry, at as resolveEffectiveEnableState, it as normalizePluginsConfig, ot as resolveMemorySlotDecision, ut as readManifestNamespace } from "./config-
|
|
4
|
-
import { L as normalizeSkillFilter, k as resolveOpenClawPackageRootSync } from "./agent-scope-
|
|
5
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
3
|
+
import { Ka as parseBooleanValue, Pa as normalizeResolvedSecretInputString, Q as loadPluginManifestRegistry, at as resolveEffectiveEnableState, it as normalizePluginsConfig, ot as resolveMemorySlotDecision, ut as readManifestNamespace } from "./config-i54suDg0.js";
|
|
4
|
+
import { L as normalizeSkillFilter, k as resolveOpenClawPackageRootSync } from "./agent-scope-CmMflllE.js";
|
|
5
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CGgM-kfP.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { v as normalizeSkillFilter } from "./agent-scope-
|
|
2
|
-
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { v as normalizeSkillFilter } from "./agent-scope-Km9kFpGZ.js";
|
|
2
|
+
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { h as resolveOpenClawPackageRootSync } from "./workspace-
|
|
5
|
-
import { Bt as resolveMemorySlotDecision, Ea as normalizeResolvedSecretInputString, Mt as loadPluginManifestRegistry, Rt as normalizePluginsConfig, zt as resolveEffectiveEnableState } from "./model-selection-
|
|
6
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
7
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
4
|
+
import { h as resolveOpenClawPackageRootSync } from "./workspace-tcQXjttl.js";
|
|
5
|
+
import { Bt as resolveMemorySlotDecision, Ea as normalizeResolvedSecretInputString, Mt as loadPluginManifestRegistry, Rt as normalizePluginsConfig, zt as resolveEffectiveEnableState } from "./model-selection-CVZg4wf8.js";
|
|
6
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-7crf_wMo.js";
|
|
7
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BR5wRjxa.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $i as normalizeResolvedSecretInputString, Di as resolveEffectiveEnableState, Ei as normalizePluginsConfig, Mi as readManifestNamespace, Oi as resolveMemorySlotDecision, Si as loadPluginManifestRegistry, la as parseBooleanValue } from "./group-
|
|
2
|
-
import { Z as isPathInsideWithRealpath, b as resolveUserPath, dt as isDangerousHostEnvVarName, gt as resolvePreferredOpenClawTmpDir, ot as isPathInside, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-
|
|
1
|
+
import { $i as normalizeResolvedSecretInputString, Di as resolveEffectiveEnableState, Ei as normalizePluginsConfig, Mi as readManifestNamespace, Oi as resolveMemorySlotDecision, Si as loadPluginManifestRegistry, la as parseBooleanValue } from "./group-CJxrdnQi.js";
|
|
2
|
+
import { Z as isPathInsideWithRealpath, b as resolveUserPath, dt as isDangerousHostEnvVarName, gt as resolvePreferredOpenClawTmpDir, ot as isPathInside, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-DY5Ww-lX.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { N as resolveOpenClawPackageRootSync, _ as normalizeSkillFilter } from "./agent-scope-
|
|
5
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
4
|
+
import { N as resolveOpenClawPackageRootSync, _ as normalizeSkillFilter } from "./agent-scope-CCWcV-mm.js";
|
|
5
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CIxtmZUH.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
11
11
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
12
12
|
import YAML from "yaml";
|
|
@@ -286,7 +286,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
286
286
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
287
287
|
if (!raw) return;
|
|
288
288
|
try {
|
|
289
|
-
const parsed =
|
|
289
|
+
const parsed = JSON5.parse(raw);
|
|
290
290
|
if (!parsed || typeof parsed !== "object") return;
|
|
291
291
|
return readManifestNamespace(parsed);
|
|
292
292
|
} catch {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { y as resolveConfigDir } from "./subsystem-DY5Ww-lX.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BnBkL2cb.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { S as resolveConfigDir } from "./subsystem-C30tnacl.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-D9RolAaO.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsp from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
14
14
|
async function setMediaFileMode(filePath) {
|
|
15
15
|
if (process.platform === "win32") return;
|
|
16
16
|
try {
|
|
17
|
-
await
|
|
17
|
+
await fsp.chmod(filePath, MEDIA_FILE_MODE);
|
|
18
18
|
} catch (err) {
|
|
19
19
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
20
20
|
if ([
|
|
@@ -41,7 +41,7 @@ function getMediaDir() {
|
|
|
41
41
|
}
|
|
42
42
|
async function ensureMediaDir() {
|
|
43
43
|
const mediaDir = resolveMediaDir();
|
|
44
|
-
await
|
|
44
|
+
await fsp.mkdir(mediaDir, {
|
|
45
45
|
recursive: true,
|
|
46
46
|
mode: 448
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ async function ensureMediaDir() {
|
|
|
50
50
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
51
51
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
52
52
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
53
|
-
await
|
|
53
|
+
await fsp.mkdir(dir, {
|
|
54
54
|
recursive: true,
|
|
55
55
|
mode: 448
|
|
56
56
|
});
|
|
@@ -70,7 +70,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
70
70
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
71
71
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
72
72
|
const dest = path.join(dir, id);
|
|
73
|
-
await
|
|
73
|
+
await fsp.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
74
74
|
await setMediaFileMode(dest);
|
|
75
75
|
return {
|
|
76
76
|
id,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { ot as resolveConfigDir } from "./subsystem-DoQFckDJ.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DONWlnn2.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -6,7 +6,7 @@ import os from "node:os";
|
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
8
|
import JSON5 from "json5";
|
|
9
|
-
import
|
|
9
|
+
import fsp from "node:fs/promises";
|
|
10
10
|
import zlib from "node:zlib";
|
|
11
11
|
import chalk, { Chalk } from "chalk";
|
|
12
12
|
|
|
@@ -548,7 +548,7 @@ async function resolveBoundaryPathLexicalAsync(params) {
|
|
|
548
548
|
const stat = await readLexicalStat({
|
|
549
549
|
...sharedStepParams,
|
|
550
550
|
missingFromIndex: idx,
|
|
551
|
-
read: (cursor) =>
|
|
551
|
+
read: (cursor) => fsp.lstat(cursor)
|
|
552
552
|
});
|
|
553
553
|
if (!stat) break;
|
|
554
554
|
const disposition = handleLexicalStatDisposition({
|
|
@@ -720,7 +720,7 @@ async function resolvePathViaExistingAncestor(targetPath) {
|
|
|
720
720
|
}
|
|
721
721
|
if (!await pathExists$1(cursor)) return normalized;
|
|
722
722
|
try {
|
|
723
|
-
const resolvedAncestor = path.resolve(await
|
|
723
|
+
const resolvedAncestor = path.resolve(await fsp.realpath(cursor));
|
|
724
724
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
725
725
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
726
726
|
} catch {
|
|
@@ -750,7 +750,7 @@ async function getPathKind(absolutePath, preserveFinalSymlink) {
|
|
|
750
750
|
try {
|
|
751
751
|
return {
|
|
752
752
|
exists: true,
|
|
753
|
-
kind: toResolvedKind(preserveFinalSymlink ? await
|
|
753
|
+
kind: toResolvedKind(preserveFinalSymlink ? await fsp.lstat(absolutePath) : await fsp.stat(absolutePath))
|
|
754
754
|
};
|
|
755
755
|
} catch (error) {
|
|
756
756
|
if (isNotFoundPathError(error)) return {
|
|
@@ -806,7 +806,7 @@ function isFilesystemRoot(candidate) {
|
|
|
806
806
|
}
|
|
807
807
|
async function pathExists$1(targetPath) {
|
|
808
808
|
try {
|
|
809
|
-
await
|
|
809
|
+
await fsp.lstat(targetPath);
|
|
810
810
|
return true;
|
|
811
811
|
} catch (error) {
|
|
812
812
|
if (isNotFoundPathError(error)) return false;
|
|
@@ -815,10 +815,10 @@ async function pathExists$1(targetPath) {
|
|
|
815
815
|
}
|
|
816
816
|
async function resolveSymlinkHopPath(symlinkPath) {
|
|
817
817
|
try {
|
|
818
|
-
return path.resolve(await
|
|
818
|
+
return path.resolve(await fsp.realpath(symlinkPath));
|
|
819
819
|
} catch (error) {
|
|
820
820
|
if (!isNotFoundPathError(error)) throw error;
|
|
821
|
-
const linkTarget = await
|
|
821
|
+
const linkTarget = await fsp.readlink(symlinkPath);
|
|
822
822
|
return resolvePathViaExistingAncestor(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
823
823
|
}
|
|
824
824
|
}
|
|
@@ -4,7 +4,7 @@ import fs from "node:fs";
|
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
|
-
import
|
|
7
|
+
import JSON5 from "json5";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
10
|
import zlib from "node:zlib";
|
|
@@ -1377,7 +1377,7 @@ const defaultResolver = {
|
|
|
1377
1377
|
resolvedPath,
|
|
1378
1378
|
rootRealDir
|
|
1379
1379
|
}),
|
|
1380
|
-
parseJson: (raw) =>
|
|
1380
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
1381
1381
|
};
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -1434,14 +1434,14 @@ function readLoggingConfig() {
|
|
|
1434
1434
|
try {
|
|
1435
1435
|
if (!fs.existsSync(configPath)) return;
|
|
1436
1436
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
1437
|
-
const resolvedIncludes = resolveConfigIncludes(
|
|
1437
|
+
const resolvedIncludes = resolveConfigIncludes(JSON5.parse(raw), configPath, {
|
|
1438
1438
|
readFile: (candidate) => fs.readFileSync(candidate, "utf-8"),
|
|
1439
1439
|
readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
|
|
1440
1440
|
includePath,
|
|
1441
1441
|
resolvedPath,
|
|
1442
1442
|
rootRealDir
|
|
1443
1443
|
}),
|
|
1444
|
-
parseJson: (includeRaw) =>
|
|
1444
|
+
parseJson: (includeRaw) => JSON5.parse(includeRaw)
|
|
1445
1445
|
});
|
|
1446
1446
|
if (resolvedIncludes && typeof resolvedIncludes === "object" && "env" in resolvedIncludes) applyConfigEnvVars(resolvedIncludes);
|
|
1447
1447
|
const resolvedConfig = resolveConfigEnvVars(resolvedIncludes);
|