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,7 +1,7 @@
|
|
|
1
|
-
import { j as runExec } from "./agent-scope-
|
|
2
|
-
import path from "node:path";
|
|
1
|
+
import { j as runExec } from "./agent-scope-CmMflllE.js";
|
|
3
2
|
import os from "node:os";
|
|
4
|
-
import
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import fsp from "node:fs/promises";
|
|
5
5
|
import { fileTypeFromBuffer } from "file-type";
|
|
6
6
|
|
|
7
7
|
//#region src/media/constants.ts
|
|
@@ -233,11 +233,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
233
233
|
return null;
|
|
234
234
|
}
|
|
235
235
|
async function withTempDir(fn) {
|
|
236
|
-
const dir = await
|
|
236
|
+
const dir = await fsp.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
237
237
|
try {
|
|
238
238
|
return await fn(dir);
|
|
239
239
|
} finally {
|
|
240
|
-
await
|
|
240
|
+
await fsp.rm(dir, {
|
|
241
241
|
recursive: true,
|
|
242
242
|
force: true
|
|
243
243
|
}).catch(() => {});
|
|
@@ -246,7 +246,7 @@ async function withTempDir(fn) {
|
|
|
246
246
|
async function sipsMetadataFromBuffer(buffer) {
|
|
247
247
|
return await withTempDir(async (dir) => {
|
|
248
248
|
const input = path.join(dir, "in.img");
|
|
249
|
-
await
|
|
249
|
+
await fsp.writeFile(input, buffer);
|
|
250
250
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
251
251
|
"-g",
|
|
252
252
|
"pixelWidth",
|
|
@@ -274,7 +274,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
274
274
|
return await withTempDir(async (dir) => {
|
|
275
275
|
const input = path.join(dir, "in.img");
|
|
276
276
|
const output = path.join(dir, "out.jpg");
|
|
277
|
-
await
|
|
277
|
+
await fsp.writeFile(input, params.buffer);
|
|
278
278
|
await runExec("/usr/bin/sips", [
|
|
279
279
|
"-Z",
|
|
280
280
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -291,14 +291,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
291
291
|
timeoutMs: 2e4,
|
|
292
292
|
maxBuffer: 1024 * 1024
|
|
293
293
|
});
|
|
294
|
-
return await
|
|
294
|
+
return await fsp.readFile(output);
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
async function sipsConvertToJpeg(buffer) {
|
|
298
298
|
return await withTempDir(async (dir) => {
|
|
299
299
|
const input = path.join(dir, "in.heic");
|
|
300
300
|
const output = path.join(dir, "out.jpg");
|
|
301
|
-
await
|
|
301
|
+
await fsp.writeFile(input, buffer);
|
|
302
302
|
await runExec("/usr/bin/sips", [
|
|
303
303
|
"-s",
|
|
304
304
|
"format",
|
|
@@ -310,7 +310,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
310
310
|
timeoutMs: 2e4,
|
|
311
311
|
maxBuffer: 1024 * 1024
|
|
312
312
|
});
|
|
313
|
-
return await
|
|
313
|
+
return await fsp.readFile(output);
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
async function getImageMetadata(buffer) {
|
|
@@ -361,7 +361,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
361
361
|
return await withTempDir(async (dir) => {
|
|
362
362
|
const input = path.join(dir, "in.jpg");
|
|
363
363
|
const output = path.join(dir, "out.jpg");
|
|
364
|
-
await
|
|
364
|
+
await fsp.writeFile(input, buffer);
|
|
365
365
|
await runExec("/usr/bin/sips", [
|
|
366
366
|
...ops,
|
|
367
367
|
input,
|
|
@@ -371,7 +371,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
371
371
|
timeoutMs: 2e4,
|
|
372
372
|
maxBuffer: 1024 * 1024
|
|
373
373
|
});
|
|
374
|
-
return await
|
|
374
|
+
return await fsp.readFile(output);
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
async function resizeToJpeg(params) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as resolveUserPath, F as shouldLogVerbose, M as logVerbose } from "./subsystem-
|
|
2
|
-
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-
|
|
3
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { C as resolveUserPath, F as shouldLogVerbose, M as logVerbose } from "./subsystem-C30tnacl.js";
|
|
2
|
+
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-D9RolAaO.js";
|
|
3
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-g7C2VmjR.js";
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-CvQ4rHkA.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BO29WISL.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsp from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
9
9
|
import MarkdownIt from "markdown-it";
|
|
10
10
|
|
|
@@ -36,7 +36,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
36
36
|
const roots = localRoots ?? getDefaultLocalRoots();
|
|
37
37
|
let resolved;
|
|
38
38
|
try {
|
|
39
|
-
resolved = await
|
|
39
|
+
resolved = await fsp.realpath(mediaPath);
|
|
40
40
|
} catch {
|
|
41
41
|
resolved = path.resolve(mediaPath);
|
|
42
42
|
}
|
|
@@ -53,7 +53,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
53
53
|
for (const root of roots) {
|
|
54
54
|
let resolvedRoot;
|
|
55
55
|
try {
|
|
56
|
-
resolvedRoot = await
|
|
56
|
+
resolvedRoot = await fsp.realpath(root);
|
|
57
57
|
} catch {
|
|
58
58
|
resolvedRoot = path.resolve(root);
|
|
59
59
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as shouldLogVerbose, b as resolveUserPath, k as logVerbose } from "./subsystem-
|
|
2
|
-
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-
|
|
3
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { M as shouldLogVerbose, b as resolveUserPath, k as logVerbose } from "./subsystem-DY5Ww-lX.js";
|
|
2
|
+
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-BnBkL2cb.js";
|
|
3
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-Bb8-IeGg.js";
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-wRt70JUw.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BY0qWMC0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as logVerbose, h as shouldLogVerbose, st as resolveUserPath } from "./subsystem-
|
|
2
|
-
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-
|
|
3
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { f as logVerbose, h as shouldLogVerbose, st as resolveUserPath } from "./subsystem-DoQFckDJ.js";
|
|
2
|
+
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-DONWlnn2.js";
|
|
3
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-zTwRJV2P.js";
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-IBrV5cpo.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-C7MQgQ4g.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
|
-
import
|
|
2
|
+
import fsp from "node:fs/promises";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/json-files.ts
|
|
6
6
|
async function readJsonFile(filePath) {
|
|
7
7
|
try {
|
|
8
|
-
const raw = await
|
|
8
|
+
const raw = await fsp.readFile(filePath, "utf8");
|
|
9
9
|
return JSON.parse(raw);
|
|
10
10
|
} catch {
|
|
11
11
|
return null;
|
|
@@ -20,7 +20,7 @@ async function writeJsonAtomic(filePath, value, options) {
|
|
|
20
20
|
}
|
|
21
21
|
async function chmodIfSupported(filePath, mode) {
|
|
22
22
|
try {
|
|
23
|
-
await
|
|
23
|
+
await fsp.chmod(filePath, mode);
|
|
24
24
|
} catch (err) {
|
|
25
25
|
if (process.platform === "win32") return;
|
|
26
26
|
throw err;
|
|
@@ -31,18 +31,18 @@ async function writeTextAtomic(filePath, content, options) {
|
|
|
31
31
|
const payload = options?.appendTrailingNewline && !content.endsWith("\n") ? `${content}\n` : content;
|
|
32
32
|
const mkdirOptions = { recursive: true };
|
|
33
33
|
if (typeof options?.ensureDirMode === "number") mkdirOptions.mode = options.ensureDirMode;
|
|
34
|
-
await
|
|
34
|
+
await fsp.mkdir(path.dirname(filePath), mkdirOptions);
|
|
35
35
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
36
36
|
try {
|
|
37
|
-
await
|
|
37
|
+
await fsp.writeFile(tmp, payload, {
|
|
38
38
|
encoding: "utf8",
|
|
39
39
|
mode
|
|
40
40
|
});
|
|
41
41
|
await chmodIfSupported(tmp, mode);
|
|
42
|
-
await
|
|
42
|
+
await fsp.rename(tmp, filePath);
|
|
43
43
|
await chmodIfSupported(filePath, mode);
|
|
44
44
|
} finally {
|
|
45
|
-
await
|
|
45
|
+
await fsp.rm(tmp, { force: true }).catch(() => void 0);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
function createAsyncLock() {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { c as resolveAgentDir, f as resolveAgentWorkspaceDir, l as resolveAgentEffectiveModelPrimary, p as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { c as resolveAgentDir, f as resolveAgentWorkspaceDir, l as resolveAgentEffectiveModelPrimary, p as resolveDefaultAgentId } from "./agent-scope-Km9kFpGZ.js";
|
|
2
2
|
import "./paths-BIDPYPVC.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { Aa as DEFAULT_MODEL, ja as DEFAULT_PROVIDER, l as parseModelRef } from "./model-selection-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
4
|
+
import "./workspace-tcQXjttl.js";
|
|
5
|
+
import { Aa as DEFAULT_MODEL, ja as DEFAULT_PROVIDER, l as parseModelRef } from "./model-selection-CVZg4wf8.js";
|
|
6
6
|
import "./github-copilot-token-DrVydgnY.js";
|
|
7
|
-
import "./legacy-names-
|
|
8
|
-
import "./send-
|
|
9
|
-
import "./send-
|
|
10
|
-
import "./tokens-
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
7
|
+
import "./legacy-names-Bx5L8LWT.js";
|
|
8
|
+
import "./send-CGdN-VPo.js";
|
|
9
|
+
import "./send-DjeU0NLm.js";
|
|
10
|
+
import "./tokens-C8E7C2l5.js";
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-f8k37-ji.js";
|
|
12
12
|
import "./diagnostic-events-DMwgeRgr.js";
|
|
13
|
-
import "./sessions-
|
|
14
|
-
import "./diagnostic-
|
|
13
|
+
import "./sessions-BrQFhhqN.js";
|
|
14
|
+
import "./diagnostic-DnoZn-KN.js";
|
|
15
15
|
import "./diagnostic-session-state-DJQj3Ka7.js";
|
|
16
|
-
import "./redact-
|
|
17
|
-
import "./command-queue-
|
|
18
|
-
import "./image-ops-
|
|
19
|
-
import "./pi-model-discovery-
|
|
20
|
-
import "./deliver-
|
|
21
|
-
import "./chat-content-
|
|
22
|
-
import "./chrome-
|
|
23
|
-
import "./ws-
|
|
24
|
-
import "./frontmatter-
|
|
25
|
-
import "./skills-
|
|
26
|
-
import "./path-alias-guards-
|
|
27
|
-
import "./errors-
|
|
28
|
-
import "./fs-safe-
|
|
29
|
-
import "./proxy-env-
|
|
30
|
-
import "./store-
|
|
16
|
+
import "./redact-Cp-v7ZNA.js";
|
|
17
|
+
import "./command-queue-n-3dr-XL.js";
|
|
18
|
+
import "./image-ops-DONWlnn2.js";
|
|
19
|
+
import "./pi-model-discovery-B0qOEKz1.js";
|
|
20
|
+
import "./deliver-CRQ5Q9MI.js";
|
|
21
|
+
import "./chat-content-CHw0gp7N.js";
|
|
22
|
+
import "./chrome-n-0LtZ5p.js";
|
|
23
|
+
import "./ws-DWkHsThw.js";
|
|
24
|
+
import "./frontmatter-7crf_wMo.js";
|
|
25
|
+
import "./skills-D6DRAp_h.js";
|
|
26
|
+
import "./path-alias-guards-BR5wRjxa.js";
|
|
27
|
+
import "./errors-PebfxiNw.js";
|
|
28
|
+
import "./fs-safe-zTwRJV2P.js";
|
|
29
|
+
import "./proxy-env-CaYp3Tmy.js";
|
|
30
|
+
import "./store-DRaaTy6K.js";
|
|
31
31
|
import "./thinking-DCaYRMt5.js";
|
|
32
|
-
import "./models-config-
|
|
33
|
-
import "./resolve-route-
|
|
34
|
-
import "./nudge-
|
|
32
|
+
import "./models-config-BIR5Jl6Y.js";
|
|
33
|
+
import "./resolve-route-DYxy9AQV.js";
|
|
34
|
+
import "./nudge-Df4BNfRM.js";
|
|
35
35
|
import "./pairing-files-DkZ1lVQ9.js";
|
|
36
|
-
import "./audio-transcription-runner-
|
|
37
|
-
import "./pi-embedded-utils-
|
|
38
|
-
import "./fetch-
|
|
39
|
-
import "./fetch-guard-
|
|
40
|
-
import "./api-key-rotation-
|
|
41
|
-
import "./reply-prefix-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./markdown-tables-
|
|
44
|
-
import "./ir-
|
|
36
|
+
import "./audio-transcription-runner-LWApHLBl.js";
|
|
37
|
+
import "./pi-embedded-utils-D6bb0L0C.js";
|
|
38
|
+
import "./fetch-IBrV5cpo.js";
|
|
39
|
+
import "./fetch-guard-Cpegp1jz.js";
|
|
40
|
+
import "./api-key-rotation-SXWmHJ82.js";
|
|
41
|
+
import "./reply-prefix-B1C43_pb.js";
|
|
42
|
+
import "./chunk-C7MQgQ4g.js";
|
|
43
|
+
import "./markdown-tables-D8MSIea0.js";
|
|
44
|
+
import "./ir-rI6qQBSg.js";
|
|
45
45
|
import "./render-4xrev36Z.js";
|
|
46
|
-
import "./commands-registry-
|
|
47
|
-
import "./user-run-recording-
|
|
48
|
-
import "./recorder-
|
|
49
|
-
import "./agent-turn-runner-
|
|
50
|
-
import "./runs-
|
|
51
|
-
import "./outbound-message-hooks-
|
|
52
|
-
import "./fetch-
|
|
53
|
-
import "./skill-commands-
|
|
54
|
-
import "./tables-
|
|
55
|
-
import "./reply-directives-
|
|
56
|
-
import "./send-
|
|
57
|
-
import "./outbound-attachment-
|
|
58
|
-
import "./send-
|
|
59
|
-
import "./session-meta-
|
|
60
|
-
import "./replies-
|
|
61
|
-
import "./manager-
|
|
62
|
-
import "./query-expansion-
|
|
46
|
+
import "./commands-registry-Dv-b9PiZ.js";
|
|
47
|
+
import "./user-run-recording-CG3WboP4.js";
|
|
48
|
+
import "./recorder-jhTAww3T.js";
|
|
49
|
+
import "./agent-turn-runner-DsDYOkS0.js";
|
|
50
|
+
import "./runs-C5hqPjUn.js";
|
|
51
|
+
import "./outbound-message-hooks-D6fdkHcA.js";
|
|
52
|
+
import "./fetch-CucaLVum.js";
|
|
53
|
+
import "./skill-commands-CNf71PIK.js";
|
|
54
|
+
import "./tables-DanZpP0m.js";
|
|
55
|
+
import "./reply-directives-BCjSa0AB.js";
|
|
56
|
+
import "./send-BQtUtg0b.js";
|
|
57
|
+
import "./outbound-attachment-CmkxUxFF.js";
|
|
58
|
+
import "./send-DWQN6n7O.js";
|
|
59
|
+
import "./session-meta-CodKE1pi.js";
|
|
60
|
+
import "./replies-D9pr6ACc.js";
|
|
61
|
+
import "./manager-DiZNgASh.js";
|
|
62
|
+
import "./query-expansion-CXDsQCKO.js";
|
|
63
63
|
|
|
64
64
|
//#region src/hooks/llm-slug-generator.ts
|
|
65
65
|
/**
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as resolveStateDir } from "./paths-BZCDWJ55.js";
|
|
3
|
-
import { C as resolveUserPath, h as clampNumber, k as truncateUtf16Safe, m as clampInt, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Da as normalizeOptionalSecretInput, Ga as isTruthyEnvValue, Pa as normalizeResolvedSecretInputString, Qi as resolveEnvApiKey, Vi as retryAsync, Xi as requireApiKey, Zi as resolveApiKeyForProvider, n as loadConfig, yn as resolveSessionTranscriptsDirForAgent } from "./config-
|
|
5
|
-
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-
|
|
3
|
+
import { C as resolveUserPath, h as clampNumber, k as truncateUtf16Safe, m as clampInt, t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
4
|
+
import { Da as normalizeOptionalSecretInput, Ga as isTruthyEnvValue, Pa as normalizeResolvedSecretInputString, Qi as resolveEnvApiKey, Vi as retryAsync, Xi as requireApiKey, Zi as resolveApiKeyForProvider, n as loadConfig, yn as resolveSessionTranscriptsDirForAgent } from "./config-i54suDg0.js";
|
|
5
|
+
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-CmMflllE.js";
|
|
6
6
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
7
|
-
import { r as formatErrorMessage } from "./errors-
|
|
7
|
+
import { r as formatErrorMessage } from "./errors-DbYMrbC6.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Csgn7s_1.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
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 { t as fetchWithSsrFGuard } from "./fetch-guard-1wmQV-Tr.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DMxY8dgp.js";
|
|
11
|
+
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-CEaQOg6W.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fsp from "node:fs/promises";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import chokidar from "chokidar";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
@@ -1076,7 +1076,7 @@ async function extractTimestamp(params) {
|
|
|
1076
1076
|
if (!params.workspaceDir) return null;
|
|
1077
1077
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
1078
1078
|
try {
|
|
1079
|
-
const stat = await
|
|
1079
|
+
const stat = await fsp.stat(absolutePath);
|
|
1080
1080
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
1081
1081
|
return new Date(stat.mtimeMs);
|
|
1082
1082
|
} catch {
|
|
@@ -2247,7 +2247,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2247
2247
|
const source = `${sourceBase}${suffix}`;
|
|
2248
2248
|
const target = `${targetBase}${suffix}`;
|
|
2249
2249
|
try {
|
|
2250
|
-
await
|
|
2250
|
+
await fsp.rename(source, target);
|
|
2251
2251
|
} catch (err) {
|
|
2252
2252
|
if (err.code !== "ENOENT") throw err;
|
|
2253
2253
|
}
|
|
@@ -2258,7 +2258,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2258
2258
|
"",
|
|
2259
2259
|
"-wal",
|
|
2260
2260
|
"-shm"
|
|
2261
|
-
].map((suffix) =>
|
|
2261
|
+
].map((suffix) => fsp.rm(`${basePath}${suffix}`, { force: true })));
|
|
2262
2262
|
}
|
|
2263
2263
|
ensureSchema() {
|
|
2264
2264
|
const result = ensureMemoryIndexSchema({
|
|
@@ -3305,7 +3305,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3305
3305
|
});
|
|
3306
3306
|
return;
|
|
3307
3307
|
}
|
|
3308
|
-
const content = options.content ?? ("absPath" in entry ? await
|
|
3308
|
+
const content = options.content ?? ("absPath" in entry ? await fsp.readFile(entry.absPath, "utf-8") : void 0);
|
|
3309
3309
|
if (content === void 0) throw new Error(`memory index: session source ${entry.path} produced no content`);
|
|
3310
3310
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
|
|
3311
3311
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
@@ -3745,7 +3745,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3745
3745
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3746
3746
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3747
3747
|
for (const additionalPath of additionalPaths) try {
|
|
3748
|
-
const stat = await
|
|
3748
|
+
const stat = await fsp.lstat(additionalPath);
|
|
3749
3749
|
if (stat.isSymbolicLink()) continue;
|
|
3750
3750
|
if (stat.isDirectory()) {
|
|
3751
3751
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3770,7 +3770,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3770
3770
|
};
|
|
3771
3771
|
let content;
|
|
3772
3772
|
try {
|
|
3773
|
-
content = await
|
|
3773
|
+
content = await fsp.readFile(absPath, "utf-8");
|
|
3774
3774
|
} catch (err) {
|
|
3775
3775
|
if (isFileMissingError(err)) return {
|
|
3776
3776
|
text: "",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentDir, f as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { c as resolveAgentDir, f as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-Km9kFpGZ.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
4
|
-
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { A as requireApiKey, Ea as normalizeResolvedSecretInputString, H as loadConfig, M as resolveEnvApiKey, Sa as normalizeOptionalSecretInput, Xn as resolveSessionTranscriptsDirForAgent, j as resolveApiKeyForProvider, sa as isTruthyEnvValue, x as retryAsync } from "./model-selection-
|
|
4
|
+
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
5
|
+
import { A as requireApiKey, Ea as normalizeResolvedSecretInputString, H as loadConfig, M as resolveEnvApiKey, Sa as normalizeOptionalSecretInput, Xn as resolveSessionTranscriptsDirForAgent, j as resolveApiKeyForProvider, sa as isTruthyEnvValue, x as retryAsync } from "./model-selection-CVZg4wf8.js";
|
|
6
6
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
7
|
-
import { r as formatErrorMessage } from "./errors-
|
|
7
|
+
import { r as formatErrorMessage } from "./errors-PebfxiNw.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-UcDfA7EK.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
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 { t as fetchWithSsrFGuard } from "./fetch-guard-Cpegp1jz.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-SXWmHJ82.js";
|
|
11
|
+
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-CXDsQCKO.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $i as normalizeResolvedSecretInputString, St as resolveSessionTranscriptsDirForAgent, Yi as normalizeOptionalSecretInput, Zn as retryAsync, ca as isTruthyEnvValue, cr as resolveEnvApiKey, fn as loadConfig, or as requireApiKey, sr as resolveApiKeyForProvider } from "./group-
|
|
2
|
+
import { $i as normalizeResolvedSecretInputString, St as resolveSessionTranscriptsDirForAgent, Yi as normalizeOptionalSecretInput, Zn as retryAsync, ca as isTruthyEnvValue, cr as resolveEnvApiKey, fn as loadConfig, or as requireApiKey, sr as resolveApiKeyForProvider } from "./group-CJxrdnQi.js";
|
|
3
3
|
import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
4
|
-
import { E as truncateUtf16Safe, b as resolveUserPath, d as clampInt, f as clampNumber, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { r as formatErrorMessage } from "./errors-
|
|
4
|
+
import { E as truncateUtf16Safe, b as resolveUserPath, d as clampInt, f as clampNumber, t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
|
|
5
|
+
import { c as resolveAgentDir, d as resolveAgentWorkspaceDir, s as resolveAgentConfig } from "./agent-scope-CCWcV-mm.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-0RH1PUyI.js";
|
|
7
7
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-C2lcxc6-.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-YQdzBeXW.js";
|
|
9
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
-
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
-
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 { t as fetchWithSsrFGuard } from "./fetch-guard-Bwaekd5B.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-B1g36Ktj.js";
|
|
11
|
+
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-CYZYszMN.js";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os from "node:os";
|
|
14
14
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Lt as normalizeChannelId, in as resolveAccountEntry } from "./group-
|
|
3
|
-
import { rt as normalizeAccountId } from "./agent-scope-
|
|
2
|
+
import { Lt as normalizeChannelId, in as resolveAccountEntry } from "./group-CJxrdnQi.js";
|
|
3
|
+
import { rt as normalizeAccountId } from "./agent-scope-CCWcV-mm.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
|
-
import { K as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { Br as resolveAccountEntry, pr as normalizeChannelId } from "./model-selection-
|
|
2
|
+
import { K as normalizeAccountId } from "./workspace-tcQXjttl.js";
|
|
3
|
+
import { Br as resolveAccountEntry, pr as normalizeChannelId } from "./model-selection-CVZg4wf8.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
|
-
import { In as normalizeChannelId, lr as resolveAccountEntry } from "./config-
|
|
3
|
-
import { ut as normalizeAccountId } from "./agent-scope-
|
|
2
|
+
import { In as normalizeChannelId, lr as resolveAccountEntry } from "./config-i54suDg0.js";
|
|
3
|
+
import { ut as normalizeAccountId } from "./agent-scope-CmMflllE.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { b as resolveAgentModelPrimaryValue, f as resolveAgentWorkspaceDir, l as resolveAgentEffectiveModelPrimary, o as listAgentIds, p as resolveDefaultAgentId, s as resolveAgentConfig, x as toAgentModelListLike } from "./agent-scope-
|
|
2
|
+
import { b as resolveAgentModelPrimaryValue, f as resolveAgentWorkspaceDir, l as resolveAgentEffectiveModelPrimary, o as listAgentIds, p as resolveDefaultAgentId, s as resolveAgentConfig, x as toAgentModelListLike } from "./agent-scope-Km9kFpGZ.js";
|
|
3
3
|
import { c as resolveOAuthPath, f as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as resolveStateDir, r as resolveConfigPath, s as resolveOAuthDir, t as DEFAULT_GATEWAY_PORT, u as expandHomePrefix } from "./paths-BIDPYPVC.js";
|
|
4
|
-
import { A as resolveConfigIncludes, D as ConfigIncludeError, E as normalizeConfigPaths, F as openBoundaryFileSync, G as applyConfigEnvVars, H as isPathInside$2, J as MissingEnvVarError, M as isPathInside$1, O as INCLUDE_KEY, X as resolveConfigEnvVars, Y as containsEnvVarReference, b as getChildLogger, dt as sleep, f as logVerbose, it as normalizeE164, j as isBlockedObjectKey, k as readConfigIncludeFileWithGuards, n as stripAnsi, ot as resolveConfigDir, q as sanitizeHostExecEnv, rt as isRecord$3, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, w as createFileLogWriter } from "./subsystem-
|
|
4
|
+
import { A as resolveConfigIncludes, D as ConfigIncludeError, E as normalizeConfigPaths, F as openBoundaryFileSync, G as applyConfigEnvVars, H as isPathInside$2, J as MissingEnvVarError, M as isPathInside$1, O as INCLUDE_KEY, X as resolveConfigEnvVars, Y as containsEnvVarReference, b as getChildLogger, dt as sleep, f as logVerbose, it as normalizeE164, j as isBlockedObjectKey, k as readConfigIncludeFileWithGuards, n as stripAnsi, ot as resolveConfigDir, q as sanitizeHostExecEnv, rt as isRecord$3, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, w as createFileLogWriter } from "./subsystem-DoQFckDJ.js";
|
|
5
5
|
import { n as resolveProcessScopedMap, t as isPlainObject$2 } from "./plain-object-Doc_YkH1.js";
|
|
6
|
-
import { C as DEFAULT_AGENT_ID, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, G as DEFAULT_ACCOUNT_ID, K as normalizeAccountId$1, M as expandIdentityLinksToMatchKeys, _ as runExec, it as stripAgentSessionKeyPrefix, nt as parseAgentSessionKey, q as normalizeOptionalAccountId } from "./workspace-
|
|
6
|
+
import { C as DEFAULT_AGENT_ID, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, G as DEFAULT_ACCOUNT_ID, K as normalizeAccountId$1, M as expandIdentityLinksToMatchKeys, _ as runExec, it as stripAgentSessionKeyPrefix, nt as parseAgentSessionKey, q as normalizeOptionalAccountId } from "./workspace-tcQXjttl.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DrVydgnY.js";
|
|
8
|
-
import { a as registerInternalHook, s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-
|
|
8
|
+
import { a as registerInternalHook, s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-Bx5L8LWT.js";
|
|
9
9
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
13
13
|
import os, { userInfo } from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import JSON5 from "json5";
|
|
15
15
|
import fs$1 from "node:fs/promises";
|
|
16
16
|
import { isDeepStrictEqual } from "node:util";
|
|
17
17
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -3681,7 +3681,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
3681
3681
|
function normalizeDeps(overrides = {}) {
|
|
3682
3682
|
return {
|
|
3683
3683
|
fs: overrides.fs ?? fs,
|
|
3684
|
-
json5: overrides.json5 ??
|
|
3684
|
+
json5: overrides.json5 ?? JSON5,
|
|
3685
3685
|
env: overrides.env ?? process.env,
|
|
3686
3686
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
3687
3687
|
configPath: overrides.configPath ?? "",
|
|
@@ -12338,7 +12338,7 @@ function createPluginRegistry(registryParams) {
|
|
|
12338
12338
|
configurable: true,
|
|
12339
12339
|
value: {
|
|
12340
12340
|
...registryParams.runtime.signals,
|
|
12341
|
-
nudge: async (input) => (await import("./nudge-
|
|
12341
|
+
nudge: async (input) => (await import("./nudge-Df4BNfRM.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
12342
12342
|
kind: "plugin",
|
|
12343
12343
|
pluginId: record.id
|
|
12344
12344
|
}, input)
|
|
@@ -19643,11 +19643,11 @@ function warnIfConfigFromFuture(params) {
|
|
|
19643
19643
|
logger.warn(`Config was last written by a newer WednesdayAI (${touched}); current version is ${VERSION}.`);
|
|
19644
19644
|
}
|
|
19645
19645
|
}
|
|
19646
|
-
function parseConfigJson5(raw, json5
|
|
19646
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
19647
19647
|
try {
|
|
19648
19648
|
return {
|
|
19649
19649
|
ok: true,
|
|
19650
|
-
parsed: json5
|
|
19650
|
+
parsed: json5.parse(raw)
|
|
19651
19651
|
};
|
|
19652
19652
|
} catch (err) {
|
|
19653
19653
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { dt as applyConfigEnvVars, y as isRecord } from "./subsystem-
|
|
2
|
-
import { Ii as normalizeProviders, Li as resolveImplicitBedrockProvider, Ri as resolveImplicitCopilotProvider, Sa as resolveOpenClawAgentDir, n as loadConfig, zi as resolveImplicitProviders } from "./config-
|
|
1
|
+
import { dt as applyConfigEnvVars, y as isRecord } from "./subsystem-C30tnacl.js";
|
|
2
|
+
import { Ii as normalizeProviders, Li as resolveImplicitBedrockProvider, Ri as resolveImplicitCopilotProvider, Sa as resolveOpenClawAgentDir, n as loadConfig, zi as resolveImplicitProviders } from "./config-i54suDg0.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsp from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/models-config.ts
|
|
7
7
|
const DEFAULT_MODE = "merge";
|
|
@@ -60,7 +60,7 @@ function mergeProviders(params) {
|
|
|
60
60
|
}
|
|
61
61
|
async function readJson(pathname) {
|
|
62
62
|
try {
|
|
63
|
-
const raw = await
|
|
63
|
+
const raw = await fsp.readFile(pathname, "utf8");
|
|
64
64
|
return JSON.parse(raw);
|
|
65
65
|
} catch {
|
|
66
66
|
return null;
|
|
@@ -120,7 +120,7 @@ async function resolveProvidersForMode(params) {
|
|
|
120
120
|
}
|
|
121
121
|
async function readRawFile(pathname) {
|
|
122
122
|
try {
|
|
123
|
-
return await
|
|
123
|
+
return await fsp.readFile(pathname, "utf8");
|
|
124
124
|
} catch {
|
|
125
125
|
return "";
|
|
126
126
|
}
|
|
@@ -152,11 +152,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
152
152
|
agentDir,
|
|
153
153
|
wrote: false
|
|
154
154
|
};
|
|
155
|
-
await
|
|
155
|
+
await fsp.mkdir(agentDir, {
|
|
156
156
|
recursive: true,
|
|
157
157
|
mode: 448
|
|
158
158
|
});
|
|
159
|
-
await
|
|
159
|
+
await fsp.writeFile(targetPath, next, { mode: 384 });
|
|
160
160
|
return {
|
|
161
161
|
agentDir,
|
|
162
162
|
wrote: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-
|
|
2
|
-
import { H as loadConfig, _ as resolveImplicitBedrockProvider, _a as resolveOpenClawAgentDir, g as normalizeProviders, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-
|
|
1
|
+
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-DoQFckDJ.js";
|
|
2
|
+
import { H as loadConfig, _ as resolveImplicitBedrockProvider, _a as resolveOpenClawAgentDir, g as normalizeProviders, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-CVZg4wf8.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Jn as resolveImplicitCopilotProvider, Kn as normalizeProviders, Wi as resolveOpenClawAgentDir, Yn as resolveImplicitProviders, fn as loadConfig, qn as resolveImplicitBedrockProvider } from "./group-
|
|
2
|
-
import { g as isRecord, lt as applyConfigEnvVars } from "./subsystem-
|
|
1
|
+
import { Jn as resolveImplicitCopilotProvider, Kn as normalizeProviders, Wi as resolveOpenClawAgentDir, Yn as resolveImplicitProviders, fn as loadConfig, qn as resolveImplicitBedrockProvider } from "./group-CJxrdnQi.js";
|
|
2
|
+
import { g as isRecord, lt as applyConfigEnvVars } from "./subsystem-DY5Ww-lX.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as isIpInCidr, ci as isLoopbackIpAddress, ii as isCanonicalDottedDecimalIPv4, li as isPrivateOrLoopbackIpAddress, ui as normalizeIpAddress } from "./group-
|
|
1
|
+
import { ai as isIpInCidr, ci as isLoopbackIpAddress, ii as isCanonicalDottedDecimalIPv4, li as isPrivateOrLoopbackIpAddress, ui as normalizeIpAddress } from "./group-CJxrdnQi.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import { Buffer } from "node:buffer";
|
|
4
4
|
import net from "node:net";
|