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,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ct as resolveStorePath, E as getActivePluginRegistryVersion, Ft as getChannelPlugin, Lt as normalizeChannelId, Mt as getChannelDock, Wi as resolveOpenClawAgentDir, Y as getConversationReadQuery, dt as listConfiguredSessionStorageAgentIds, fn as loadConfig, q as StorageReadAccessError, st as loadSessionStore, tt as updateSessionStoreEntry, w as getActivePluginRegistry } from "./group-
|
|
2
|
+
import { Ct as resolveStorePath, E as getActivePluginRegistryVersion, Ft as getChannelPlugin, Lt as normalizeChannelId, Mt as getChannelDock, Wi as resolveOpenClawAgentDir, Y as getConversationReadQuery, dt as listConfiguredSessionStorageAgentIds, fn as loadConfig, q as StorageReadAccessError, st as loadSessionStore, tt as updateSessionStoreEntry, w as getActivePluginRegistry } from "./group-CJxrdnQi.js";
|
|
3
3
|
import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { K as normalizeAgentId, a as listAgentEntries, f as resolveDefaultAgentId, it as normalizeOptionalAccountId, pt as parseAgentSessionKey, q as normalizeMainKey, r as isAgentUserFacing, rt as normalizeAccountId } from "./agent-scope-
|
|
6
|
-
import { A as eventOrder, Ht as resolveMainSessionKey, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as canonicalizeMainSessionAlias } from "./sessions-
|
|
7
|
-
import { i as hasErrnoCode } from "./errors-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
|
|
5
|
+
import { K as normalizeAgentId, a as listAgentEntries, f as resolveDefaultAgentId, it as normalizeOptionalAccountId, pt as parseAgentSessionKey, q as normalizeMainKey, r as isAgentUserFacing, rt as normalizeAccountId } from "./agent-scope-CCWcV-mm.js";
|
|
6
|
+
import { A as eventOrder, Ht as resolveMainSessionKey, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as canonicalizeMainSessionAlias } from "./sessions-Cdx3HjRT.js";
|
|
7
|
+
import { i as hasErrnoCode } from "./errors-0RH1PUyI.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-CruxVpoI.js";
|
|
9
|
-
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-
|
|
10
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
11
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
12
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
15
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
16
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-C9lS70TS.js";
|
|
10
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-D8yjYakk.js";
|
|
11
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-wRt70JUw.js";
|
|
12
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BY0qWMC0.js";
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BtpvPNub.js";
|
|
14
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-DuS8ZzCg.js";
|
|
15
|
+
import { t as parseReplyDirectives } from "./reply-directives-DD05s-wb.js";
|
|
16
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-B8fG3QOF.js";
|
|
17
17
|
import fs from "node:fs";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
@@ -462,7 +462,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
462
462
|
await ensureOpenClawModelsJson(cfg);
|
|
463
463
|
} catch {}
|
|
464
464
|
try {
|
|
465
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
465
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CdFFtQGN.js").then((n) => n.r);
|
|
466
466
|
const agentDir = resolveOpenClawAgentDir();
|
|
467
467
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
468
468
|
applyDiscoveredContextWindows({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as listAgentEntries, p as resolveDefaultAgentId, r as isAgentUserFacing } from "./agent-scope-
|
|
2
|
+
import { a as listAgentEntries, p as resolveDefaultAgentId, r as isAgentUserFacing } from "./agent-scope-Km9kFpGZ.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { F as normalizeAgentId, I as normalizeMainKey, K as normalizeAccountId, nt as parseAgentSessionKey, q as normalizeOptionalAccountId } from "./workspace-
|
|
6
|
-
import { $t as getActivePluginRegistry, H as loadConfig, On as updateSessionStoreEntry, Pn as loadSessionStore, Sn as getConversationReadQuery, Zn as resolveStorePath, _a as resolveOpenClawAgentDir, bn as StorageReadAccessError, cr as getChannelDock, dr as getChannelPlugin, pr as normalizeChannelId, tn as getActivePluginRegistryVersion, zn as listConfiguredSessionStorageAgentIds } from "./model-selection-
|
|
7
|
-
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
5
|
+
import { F as normalizeAgentId, I as normalizeMainKey, K as normalizeAccountId, nt as parseAgentSessionKey, q as normalizeOptionalAccountId } from "./workspace-tcQXjttl.js";
|
|
6
|
+
import { $t as getActivePluginRegistry, H as loadConfig, On as updateSessionStoreEntry, Pn as loadSessionStore, Sn as getConversationReadQuery, Zn as resolveStorePath, _a as resolveOpenClawAgentDir, bn as StorageReadAccessError, cr as getChannelDock, dr as getChannelPlugin, pr as normalizeChannelId, tn as getActivePluginRegistryVersion, zn as listConfiguredSessionStorageAgentIds } from "./model-selection-CVZg4wf8.js";
|
|
7
|
+
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-BrQFhhqN.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
|
|
9
|
-
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-
|
|
10
|
-
import { i as hasErrnoCode } from "./errors-
|
|
11
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
12
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
13
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
14
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
15
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
16
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
17
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-CHw0gp7N.js";
|
|
10
|
+
import { i as hasErrnoCode } from "./errors-PebfxiNw.js";
|
|
11
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-BIR5Jl6Y.js";
|
|
12
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-IBrV5cpo.js";
|
|
13
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-C7MQgQ4g.js";
|
|
14
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-D8MSIea0.js";
|
|
15
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-D6fdkHcA.js";
|
|
16
|
+
import { t as parseReplyDirectives } from "./reply-directives-BCjSa0AB.js";
|
|
17
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BQtUtg0b.js";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
20
20
|
import { createHash } from "node:crypto";
|
|
@@ -483,7 +483,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
483
483
|
await ensureOpenClawModelsJson(cfg);
|
|
484
484
|
} catch {}
|
|
485
485
|
try {
|
|
486
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
486
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-B0qOEKz1.js").then((n) => n.r);
|
|
487
487
|
const agentDir = resolveOpenClawAgentDir();
|
|
488
488
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
489
489
|
applyDiscoveredContextWindows({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { Y as resolveAgentIdFromSessionKey } from "./agent-scope-
|
|
4
|
+
import { Y as resolveAgentIdFromSessionKey } from "./agent-scope-CCWcV-mm.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-e4_YKO7d.js";
|
|
6
|
-
import { t as redactSensitiveText } from "./redact-
|
|
6
|
+
import { t as redactSensitiveText } from "./redact-CoYHSFJI.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-B5hZuHMq.js";
|
|
8
8
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-oU_Su1hs.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { R as resolveAgentIdFromSessionKey } from "./workspace-
|
|
4
|
+
import { R as resolveAgentIdFromSessionKey } from "./workspace-tcQXjttl.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DMwgeRgr.js";
|
|
6
6
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DJQj3Ka7.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-C_VCQ34e.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-Cp-v7ZNA.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/command-poll-backoff.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C30tnacl.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-CjGF4kza.js";
|
|
4
|
-
import { nt as resolveAgentIdFromSessionKey } from "./agent-scope-
|
|
4
|
+
import { nt as resolveAgentIdFromSessionKey } from "./agent-scope-CmMflllE.js";
|
|
5
5
|
import { t as redactIdentifier } from "./redact-identifier-bNChjxxW.js";
|
|
6
6
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
|
|
7
7
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DuIsmy5s.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-Iu0CqZm1.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/command-poll-backoff.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as resolveStateDir } from "./paths-BZCDWJ55.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-C30tnacl.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-CjGF4kza.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { d as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { t as redactSensitiveText } from "./redact-
|
|
7
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
8
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
4
|
+
import { n as loadConfig } from "./config-i54suDg0.js";
|
|
5
|
+
import { d as resolveAgentWorkspaceDir } from "./agent-scope-CmMflllE.js";
|
|
6
|
+
import { t as redactSensitiveText } from "./redact-Iu0CqZm1.js";
|
|
7
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-D9RolAaO.js";
|
|
8
|
+
import { n as formatErrorChainMessage } from "./errors-DbYMrbC6.js";
|
|
9
9
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Csgn7s_1.js";
|
|
10
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-1wmQV-Tr.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|
|
13
13
|
//#region src/media/local-roots.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { f as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { f as resolveAgentWorkspaceDir } from "./agent-scope-Km9kFpGZ.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
3
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-DoQFckDJ.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { H as loadConfig } from "./model-selection-
|
|
6
|
-
import { t as redactSensitiveText } from "./redact-
|
|
7
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
8
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
5
|
+
import { H as loadConfig } from "./model-selection-CVZg4wf8.js";
|
|
6
|
+
import { t as redactSensitiveText } from "./redact-Cp-v7ZNA.js";
|
|
7
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DONWlnn2.js";
|
|
8
|
+
import { n as formatErrorChainMessage } from "./errors-PebfxiNw.js";
|
|
9
9
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-UcDfA7EK.js";
|
|
10
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Cpegp1jz.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|
|
13
13
|
//#region src/media/local-roots.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as logInfo, I as logWarn } from "./agent-scope-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { F as logInfo, I as logWarn } from "./agent-scope-CmMflllE.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-B7QBeq1s.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as logWarn, xt as logInfo } from "./agent-scope-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { St as logWarn, xt as logInfo } from "./agent-scope-CCWcV-mm.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-BHjp8Syz.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as logWarn, x as logInfo } from "./workspace-
|
|
2
|
-
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { S as logWarn, x as logInfo } from "./workspace-tcQXjttl.js";
|
|
2
|
+
import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-CaYp3Tmy.js";
|
|
3
3
|
import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
|
|
4
4
|
|
|
5
5
|
//#region src/utils/fetch-timeout.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { fn as loadConfig } from "./group-
|
|
1
|
+
import { fn as loadConfig } from "./group-CJxrdnQi.js";
|
|
2
2
|
import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
3
|
-
import { gt as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
3
|
+
import { gt as resolvePreferredOpenClawTmpDir } from "./subsystem-DY5Ww-lX.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { d as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { t as redactSensitiveText } from "./redact-
|
|
7
|
-
import { n as formatErrorChainMessage } from "./errors-
|
|
8
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
5
|
+
import { d as resolveAgentWorkspaceDir } from "./agent-scope-CCWcV-mm.js";
|
|
6
|
+
import { t as redactSensitiveText } from "./redact-CoYHSFJI.js";
|
|
7
|
+
import { n as formatErrorChainMessage } from "./errors-0RH1PUyI.js";
|
|
8
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BnBkL2cb.js";
|
|
9
9
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-YQdzBeXW.js";
|
|
10
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
10
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Bwaekd5B.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
|
|
13
13
|
//#region src/media/local-roots.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-
|
|
1
|
+
import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-Bx5L8LWT.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
|
-
import
|
|
4
|
+
import JSON5 from "json5";
|
|
5
5
|
import YAML from "yaml";
|
|
6
6
|
|
|
7
7
|
//#region src/shared/config-eval.ts
|
|
@@ -258,7 +258,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
258
258
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
259
259
|
if (!raw) return;
|
|
260
260
|
try {
|
|
261
|
-
const parsed =
|
|
261
|
+
const parsed = JSON5.parse(raw);
|
|
262
262
|
if (!parsed || typeof parsed !== "object") return;
|
|
263
263
|
return readManifestNamespace(parsed);
|
|
264
264
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as expandHomePrefix } from "./paths-2qlGWRjc.js";
|
|
2
|
-
import { at as isNotFoundPathError, et as sameFileIdentity, it as hasNodeErrorCode, ot as isPathInside, st as isSymlinkOpenError } from "./subsystem-
|
|
3
|
-
import { St as logWarn } from "./agent-scope-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { at as isNotFoundPathError, et as sameFileIdentity, it as hasNodeErrorCode, ot as isPathInside, st as isSymlinkOpenError } from "./subsystem-DY5Ww-lX.js";
|
|
3
|
+
import { St as logWarn } from "./agent-scope-CCWcV-mm.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CIxtmZUH.js";
|
|
5
5
|
import { constants } from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { v as expandHomePrefix } from "./paths-BZCDWJ55.js";
|
|
2
|
-
import { ct as isPathInside, lt as isSymlinkOpenError, nt as sameFileIdentity, ot as hasNodeErrorCode, st as isNotFoundPathError } from "./subsystem-
|
|
3
|
-
import { I as logWarn } from "./agent-scope-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { ct as isPathInside, lt as isSymlinkOpenError, nt as sameFileIdentity, ot as hasNodeErrorCode, st as isNotFoundPathError } from "./subsystem-C30tnacl.js";
|
|
3
|
+
import { I as logWarn } from "./agent-scope-CmMflllE.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CGgM-kfP.js";
|
|
5
5
|
import { constants } from "node:fs";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fsp from "node:fs/promises";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
import { pipeline } from "node:stream/promises";
|
|
11
11
|
|
|
@@ -25,19 +25,19 @@ const ensureTrailingSep = (value) => value.endsWith(path.sep) ? value : value +
|
|
|
25
25
|
async function expandRelativePathWithHome(relativePath) {
|
|
26
26
|
let home = process.env.HOME || process.env.USERPROFILE || os.homedir();
|
|
27
27
|
try {
|
|
28
|
-
home = await
|
|
28
|
+
home = await fsp.realpath(home);
|
|
29
29
|
} catch {}
|
|
30
30
|
return expandHomePrefix(relativePath, { home });
|
|
31
31
|
}
|
|
32
32
|
async function openVerifiedLocalFile(filePath, options) {
|
|
33
33
|
try {
|
|
34
|
-
if ((await
|
|
34
|
+
if ((await fsp.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
|
|
35
35
|
} catch (err) {
|
|
36
36
|
if (err instanceof SafeOpenError) throw err;
|
|
37
37
|
}
|
|
38
38
|
let handle;
|
|
39
39
|
try {
|
|
40
|
-
handle = await
|
|
40
|
+
handle = await fsp.open(filePath, OPEN_READ_FLAGS);
|
|
41
41
|
} catch (err) {
|
|
42
42
|
if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "file not found");
|
|
43
43
|
if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
|
|
@@ -45,13 +45,13 @@ async function openVerifiedLocalFile(filePath, options) {
|
|
|
45
45
|
throw err;
|
|
46
46
|
}
|
|
47
47
|
try {
|
|
48
|
-
const [stat, lstat] = await Promise.all([handle.stat(),
|
|
48
|
+
const [stat, lstat] = await Promise.all([handle.stat(), fsp.lstat(filePath)]);
|
|
49
49
|
if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
|
|
50
50
|
if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
|
|
51
51
|
if (options?.rejectHardlinks && stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
52
52
|
if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during read");
|
|
53
|
-
const realPath = await
|
|
54
|
-
const realStat = await
|
|
53
|
+
const realPath = await fsp.realpath(filePath);
|
|
54
|
+
const realStat = await fsp.stat(realPath);
|
|
55
55
|
if (options?.rejectHardlinks && realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
56
56
|
if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
57
57
|
return {
|
|
@@ -69,7 +69,7 @@ async function openVerifiedLocalFile(filePath, options) {
|
|
|
69
69
|
async function resolvePathWithinRoot(params) {
|
|
70
70
|
let rootReal;
|
|
71
71
|
try {
|
|
72
|
-
rootReal = await
|
|
72
|
+
rootReal = await fsp.realpath(params.rootDir);
|
|
73
73
|
} catch (err) {
|
|
74
74
|
if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "root dir not found");
|
|
75
75
|
throw err;
|
|
@@ -170,7 +170,7 @@ function buildAtomicWriteTempPath(targetPath) {
|
|
|
170
170
|
return path.join(dir, `.${base}.${process.pid}.${randomUUID()}.tmp`);
|
|
171
171
|
}
|
|
172
172
|
async function writeTempFileForAtomicReplace(params) {
|
|
173
|
-
const tempHandle = await
|
|
173
|
+
const tempHandle = await fsp.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
|
|
174
174
|
try {
|
|
175
175
|
if (typeof params.data === "string") await tempHandle.writeFile(params.data, params.encoding ?? "utf8");
|
|
176
176
|
else await tempHandle.writeFile(params.data);
|
|
@@ -180,7 +180,7 @@ async function writeTempFileForAtomicReplace(params) {
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
async function verifyAtomicWriteResult(params) {
|
|
183
|
-
const rootWithSep = ensureTrailingSep(await
|
|
183
|
+
const rootWithSep = ensureTrailingSep(await fsp.realpath(params.rootDir));
|
|
184
184
|
const opened = await openVerifiedLocalFile(params.targetPath, { rejectHardlinks: true });
|
|
185
185
|
try {
|
|
186
186
|
if (!sameFileIdentity(opened.stat, params.expectedStat)) throw new SafeOpenError("path-mismatch", "path changed during write");
|
|
@@ -191,13 +191,13 @@ async function verifyAtomicWriteResult(params) {
|
|
|
191
191
|
}
|
|
192
192
|
async function resolveOpenedFileRealPathForHandle(handle, ioPath) {
|
|
193
193
|
try {
|
|
194
|
-
return await
|
|
194
|
+
return await fsp.realpath(ioPath);
|
|
195
195
|
} catch (err) {
|
|
196
196
|
if (!isNotFoundPathError(err)) throw err;
|
|
197
197
|
}
|
|
198
198
|
const fdCandidates = process.platform === "linux" ? [`/proc/self/fd/${handle.fd}`, `/dev/fd/${handle.fd}`] : process.platform === "win32" ? [] : [`/dev/fd/${handle.fd}`];
|
|
199
199
|
for (const fdPath of fdCandidates) try {
|
|
200
|
-
return await
|
|
200
|
+
return await fsp.realpath(fdPath);
|
|
201
201
|
} catch {}
|
|
202
202
|
throw new SafeOpenError("path-mismatch", "unable to resolve opened file path");
|
|
203
203
|
}
|
|
@@ -212,10 +212,10 @@ async function openWritableFileWithinRoot(params) {
|
|
|
212
212
|
} catch (err) {
|
|
213
213
|
throw new SafeOpenError("invalid-path", "path alias escape blocked", { cause: err });
|
|
214
214
|
}
|
|
215
|
-
if (params.mkdir !== false) await
|
|
215
|
+
if (params.mkdir !== false) await fsp.mkdir(path.dirname(resolved), { recursive: true });
|
|
216
216
|
let ioPath = resolved;
|
|
217
217
|
try {
|
|
218
|
-
const resolvedRealPath = await
|
|
218
|
+
const resolvedRealPath = await fsp.realpath(resolved);
|
|
219
219
|
if (!isPathInside(rootWithSep, resolvedRealPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
|
|
220
220
|
ioPath = resolvedRealPath;
|
|
221
221
|
} catch (err) {
|
|
@@ -227,10 +227,10 @@ async function openWritableFileWithinRoot(params) {
|
|
|
227
227
|
let createdForWrite = false;
|
|
228
228
|
try {
|
|
229
229
|
try {
|
|
230
|
-
handle = await
|
|
230
|
+
handle = await fsp.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
|
|
231
231
|
} catch (err) {
|
|
232
232
|
if (!isNotFoundPathError(err)) throw err;
|
|
233
|
-
handle = await
|
|
233
|
+
handle = await fsp.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
|
|
234
234
|
createdForWrite = true;
|
|
235
235
|
}
|
|
236
236
|
} catch (err) {
|
|
@@ -244,7 +244,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
244
244
|
if (!stat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
|
|
245
245
|
if (stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
246
246
|
try {
|
|
247
|
-
const lstat = await
|
|
247
|
+
const lstat = await fsp.lstat(ioPath);
|
|
248
248
|
if (lstat.isSymbolicLink() || !lstat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
|
|
249
249
|
if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during write");
|
|
250
250
|
} catch (err) {
|
|
@@ -252,7 +252,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
252
252
|
}
|
|
253
253
|
const realPath = await resolveOpenedFileRealPathForHandle(handle, ioPath);
|
|
254
254
|
openedRealPath = realPath;
|
|
255
|
-
const realStat = await
|
|
255
|
+
const realStat = await fsp.stat(realPath);
|
|
256
256
|
if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
|
|
257
257
|
if (realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
|
|
258
258
|
if (!isPathInside(rootWithSep, realPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
|
|
@@ -267,7 +267,7 @@ async function openWritableFileWithinRoot(params) {
|
|
|
267
267
|
const cleanupCreatedPath = createdForWrite && err instanceof SafeOpenError;
|
|
268
268
|
const cleanupPath = openedRealPath ?? ioPath;
|
|
269
269
|
await handle.close().catch(() => {});
|
|
270
|
-
if (cleanupCreatedPath) await
|
|
270
|
+
if (cleanupCreatedPath) await fsp.rm(cleanupPath, { force: true }).catch(() => {});
|
|
271
271
|
throw err;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -290,7 +290,7 @@ async function writeFileWithinRoot(params) {
|
|
|
290
290
|
encoding: params.encoding,
|
|
291
291
|
mode: targetMode || 384
|
|
292
292
|
});
|
|
293
|
-
await
|
|
293
|
+
await fsp.rename(tempPath, destinationPath);
|
|
294
294
|
tempPath = null;
|
|
295
295
|
try {
|
|
296
296
|
await verifyAtomicWriteResult({
|
|
@@ -303,7 +303,7 @@ async function writeFileWithinRoot(params) {
|
|
|
303
303
|
throw err;
|
|
304
304
|
}
|
|
305
305
|
} finally {
|
|
306
|
-
if (tempPath) await
|
|
306
|
+
if (tempPath) await fsp.rm(tempPath, { force: true }).catch(() => {});
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
async function copyFileWithinRoot(params) {
|
|
@@ -331,7 +331,7 @@ async function copyFileWithinRoot(params) {
|
|
|
331
331
|
});
|
|
332
332
|
await pipeline(sourceStream, targetStream);
|
|
333
333
|
} catch (err) {
|
|
334
|
-
if (target?.createdForWrite) await
|
|
334
|
+
if (target?.createdForWrite) await fsp.rm(target.openedRealPath, { force: true }).catch(() => {});
|
|
335
335
|
throw err;
|
|
336
336
|
} finally {
|
|
337
337
|
if (!sourceClosedByStream) await source.handle.close().catch(() => {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as expandHomePrefix } from "./paths-BIDPYPVC.js";
|
|
2
|
-
import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-
|
|
3
|
-
import { S as logWarn } from "./workspace-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
2
|
+
import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-DoQFckDJ.js";
|
|
3
|
+
import { S as logWarn } from "./workspace-tcQXjttl.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BR5wRjxa.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { constants } from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as resolveOAuthDir, d as expandHomePrefix, i as resolveDefaultConfigCandidates, l as resolveOAuthPath, p as resolveRequiredHomeDir, r as resolveConfigPath, t as DEFAULT_GATEWAY_PORT, u as resolveStateDir } from "./paths-2qlGWRjc.js";
|
|
3
|
-
import { $ as openBoundaryFileSync, G as ConfigIncludeError, H as createFileLogWriter, J as resolveConfigIncludes, K as INCLUDE_KEY, L as getChildLogger, W as normalizeConfigPaths, X as isPathInside$2, Y as isBlockedObjectKey, _ as normalizeE164, b as resolveUserPath, ft as sanitizeHostExecEnv, g as isRecord$3, ht as resolveConfigEnvVars, k as logVerbose, lt as applyConfigEnvVars, m as escapeRegExp, mt as containsEnvVarReference, n as stripAnsi, ot as isPathInside$1, pt as MissingEnvVarError, q as readConfigIncludeFileWithGuards, t as createSubsystemLogger, w as sleep, y as resolveConfigDir } from "./subsystem-
|
|
3
|
+
import { $ as openBoundaryFileSync, G as ConfigIncludeError, H as createFileLogWriter, J as resolveConfigIncludes, K as INCLUDE_KEY, L as getChildLogger, W as normalizeConfigPaths, X as isPathInside$2, Y as isBlockedObjectKey, _ as normalizeE164, b as resolveUserPath, ft as sanitizeHostExecEnv, g as isRecord$3, ht as resolveConfigEnvVars, k as logVerbose, lt as applyConfigEnvVars, m as escapeRegExp, mt as containsEnvVarReference, n as stripAnsi, ot as isPathInside$1, pt as MissingEnvVarError, q as readConfigIncludeFileWithGuards, t as createSubsystemLogger, w as sleep, y as resolveConfigDir } from "./subsystem-DY5Ww-lX.js";
|
|
4
4
|
import { n as resolveProcessScopedMap, t as isPlainObject$2 } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { K as normalizeAgentId, L as RAW_PEER_KEY_PREFIX, P as DEFAULT_AGENT_ID, U as expandIdentityLinksToMatchKeys, _t as runExec, b as toAgentModelListLike, d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId, ht as stripAgentSessionKeyPrefix, it as normalizeOptionalAccountId, l as resolveAgentEffectiveModelPrimary, nt as DEFAULT_ACCOUNT_ID, o as listAgentIds, pt as parseAgentSessionKey, rt as normalizeAccountId$1, s as resolveAgentConfig, y as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
5
|
+
import { K as normalizeAgentId, L as RAW_PEER_KEY_PREFIX, P as DEFAULT_AGENT_ID, U as expandIdentityLinksToMatchKeys, _t as runExec, b as toAgentModelListLike, d as resolveAgentWorkspaceDir, f as resolveDefaultAgentId, ht as stripAgentSessionKeyPrefix, it as normalizeOptionalAccountId, l as resolveAgentEffectiveModelPrimary, nt as DEFAULT_ACCOUNT_ID, o as listAgentIds, pt as parseAgentSessionKey, rt as normalizeAccountId$1, s as resolveAgentConfig, y as resolveAgentModelPrimaryValue } from "./agent-scope-CCWcV-mm.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DpUzVZGF.js";
|
|
7
7
|
import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os, { userInfo } from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import JSON5 from "json5";
|
|
13
13
|
import fs$1 from "node:fs/promises";
|
|
14
14
|
import { isDeepStrictEqual } from "node:util";
|
|
15
15
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -17336,7 +17336,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
17336
17336
|
function normalizeDeps(overrides = {}) {
|
|
17337
17337
|
return {
|
|
17338
17338
|
fs: overrides.fs ?? fs,
|
|
17339
|
-
json5: overrides.json5 ??
|
|
17339
|
+
json5: overrides.json5 ?? JSON5,
|
|
17340
17340
|
env: overrides.env ?? process.env,
|
|
17341
17341
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
17342
17342
|
configPath: overrides.configPath ?? "",
|
|
@@ -18515,11 +18515,11 @@ function warnIfConfigFromFuture(params) {
|
|
|
18515
18515
|
logger.warn(`Config was last written by a newer WednesdayAI (${touched}); current version is ${VERSION}.`);
|
|
18516
18516
|
}
|
|
18517
18517
|
}
|
|
18518
|
-
function parseConfigJson5(raw, json5
|
|
18518
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
18519
18519
|
try {
|
|
18520
18520
|
return {
|
|
18521
18521
|
ok: true,
|
|
18522
|
-
parsed: json5
|
|
18522
|
+
parsed: json5.parse(raw)
|
|
18523
18523
|
};
|
|
18524
18524
|
} catch (err) {
|
|
18525
18525
|
return {
|
|
@@ -23873,7 +23873,7 @@ function createPluginRegistry(registryParams) {
|
|
|
23873
23873
|
configurable: true,
|
|
23874
23874
|
value: {
|
|
23875
23875
|
...registryParams.runtime.signals,
|
|
23876
|
-
nudge: async (input) => (await import("./nudge-
|
|
23876
|
+
nudge: async (input) => (await import("./nudge-AEmyX8R6.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
23877
23877
|
kind: "plugin",
|
|
23878
23878
|
pluginId: record.id
|
|
23879
23879
|
}, input)
|