wednesdayai 0.5.1-dev.41 → 0.5.1-dev.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-scope-DUbhjnHb.js → agent-scope-BJFJ0deZ.js} +18 -18
- package/dist/{agent-scope-CXfIHPTl.js → agent-scope-CoIdVzmg.js} +2 -2
- package/dist/{agent-turn-execute-8DU-jztX.js → agent-turn-execute-CIlMMXNu.js} +168 -168
- package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
- package/dist/{agent-turn-runner-BJqs23F_.js → agent-turn-runner-FwkD42Me.js} +6 -6
- package/dist/{agent-turn-runner-DHc4lH66.js → agent-turn-runner-SxjOzPCD.js} +6 -6
- package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
- package/dist/{api-key-rotation-PK29aYV9.js → api-key-rotation-1bTDnvBU.js} +2 -2
- package/dist/{api-key-rotation-B8RAiYZ_.js → api-key-rotation-BWj1Itf-.js} +2 -2
- package/dist/{audio-preflight-DaYu-alJ.js → audio-preflight-CCjuApbs.js} +25 -25
- package/dist/{audio-preflight-Cio-wP6C.js → audio-preflight-CKxOmHZL.js} +22 -22
- package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
- package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
- package/dist/{audio-transcription-runner-DW04B1B-.js → audio-transcription-runner-DgFYIaIw.js} +12 -12
- package/dist/{audio-transcription-runner-D_-_mf4m.js → audio-transcription-runner-DrIyj8a5.js} +25 -25
- 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/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
- package/dist/{chat-content-DIjp-kW-.js → chat-content-BdADRLL0.js} +17 -17
- package/dist/{chat-content-tQ21BnhN.js → chat-content-BgW4rG28.js} +24 -24
- package/dist/{chrome-DxiDoVpi.js → chrome-DNTX4D1k.js} +13 -13
- package/dist/{chrome-C9TkYQeh.js → chrome-DQ2kyZpc.js} +14 -14
- package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
- package/dist/{chunk-DCCRrNDr.js → chunk-BAxcOCcV.js} +3 -3
- package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
- package/dist/{chunk-50mU2Avf.js → chunk-BEuk6eCG.js} +3 -3
- package/dist/{command-queue-De2GI8TP.js → command-queue-CRm1AADE.js} +1 -1
- package/dist/{command-queue-yDJ733aN.js → command-queue-D_saM8MV.js} +1 -1
- package/dist/{commands-registry-CzTzqbi9.js → commands-registry-C-BDBl_b.js} +2 -2
- package/dist/{commands-registry-C3LKhQLY.js → commands-registry-CtR9mXss.js} +2 -2
- package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
- package/dist/{config-D5tWLhng.js → config-CPcuaNsB.js} +26 -26
- package/dist/config.js +3 -3
- package/dist/{credentials-DdZjLLBj.js → credentials-2Kd9Ahu7.js} +1 -1
- package/dist/{credentials-BAWD9O8L.js → credentials-BhiiI_Nr.js} +1 -1
- package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
- package/dist/{deliver-Cqo4_R0v.js → deliver-Ap_fWjsf.js} +14 -14
- package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
- package/dist/{deliver-DeMElZFE.js → deliver-BufoibUD.js} +15 -15
- package/dist/{diagnostic-Nq6B3DZr.js → diagnostic--vAGyKdB.js} +3 -3
- package/dist/{diagnostic-BqFtliY1.js → diagnostic-BSnQ1U_E.js} +3 -3
- package/dist/{plugin-sdk/errors-BcCM5PTR.js → errors-BzL6hu4G.js} +1 -1
- package/dist/{errors-D8k7j4A4.js → errors-DnOtx_vg.js} +1 -1
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-TzOudNO4.js → fetch-BJ9kDOw8.js} +7 -7
- package/dist/{fetch-CLvElPgY.js → fetch-DJPbv7La.js} +1 -1
- package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
- package/dist/{fetch-CHncmQms.js → fetch-DUVm-Rj1.js} +7 -7
- package/dist/{fetch-DG4n5iR6.js → fetch-DmpLwwor.js} +1 -1
- package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
- package/dist/{fetch-guard-kz-XQlCx.js → fetch-guard-BySb6coS.js} +2 -2
- package/dist/{fetch-guard-BZlxmZcA.js → fetch-guard-CRERUrFK.js} +2 -2
- package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
- package/dist/{frontmatter-BDLxOane.js → frontmatter-NYeLKFIP.js} +3 -3
- package/dist/{fs-safe-BH37Yhl8.js → fs-safe-C3qJHn62.js} +25 -25
- package/dist/{fs-safe-BjrptUz1.js → fs-safe-DOdeIkaS.js} +3 -3
- package/dist/{plugin-sdk/image-ops-1WkFRYfC.js → image-ops-BTgGxcIG.js} +2 -2
- package/dist/{image-ops-BWgZn39_.js → image-ops-DEUr_rAC.js} +1 -1
- package/dist/{plugin-sdk/ir-BnNIPrDz.js → ir-B0rUqFWs.js} +5 -5
- package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
- package/dist/{ir-Btci3Wse.js → ir-IKFrcD2H.js} +8 -8
- package/dist/{json-files-C3L53Qrl.js → json-files-DNv3G6Vg.js} +7 -7
- package/dist/{legacy-names-BKv-k5-D.js → legacy-names-D7ywm6_7.js} +1 -1
- package/dist/llm-slug-generator.js +55 -55
- package/dist/{manager-Nw8a10KA.js → manager-3Exjl08V.js} +7 -7
- package/dist/{manager-BPk0HUHz.js → manager-Cb_Lde6Q.js} +14 -14
- package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
- package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
- package/dist/{markdown-tables-BJqhUgli.js → markdown-tables-Crj_Y0Qx.js} +2 -2
- package/dist/{markdown-tables-By4yQcHS.js → markdown-tables-lzV8Hoxc.js} +2 -2
- package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
- package/dist/{model-selection-JA-6f5ss.js → model-selection-_StPBPAp.js} +9 -9
- package/dist/{models-config-Cbzv_acs.js → models-config-D3M9er_C.js} +2 -2
- package/dist/{models-config-TH00YNHC.js → models-config-DkEpc_7A.js} +7 -7
- package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
- package/dist/{nudge-Da1ePscI.js → nudge-B06CLLon.js} +9 -9
- package/dist/{nudge-DVGzMWUi.js → nudge-BR_K1LnT.js} +16 -16
- package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
- package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
- package/dist/{outbound-attachment-CZwlqfbE.js → outbound-attachment-CCQDMmDH.js} +2 -2
- package/dist/{outbound-attachment-DAUmCye_.js → outbound-attachment-DFIzmC4e.js} +2 -2
- package/dist/{outbound-message-hooks-CIrC0qAA.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
- package/dist/{outbound-message-hooks-Bqu2fu_R.js → outbound-message-hooks-C9zh-qk0.js} +4 -4
- package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
- package/dist/{path-alias-guards-CGcezGX3.js → path-alias-guards-B9AcbQl6.js} +3 -3
- package/dist/{plugin-sdk/path-alias-guards-D1I2TIj4.js → path-alias-guards-aXY57qPv.js} +1 -1
- package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
- package/dist/{pi-embedded-W4tWwQw6.js → pi-embedded-DGpkqagr.js} +80 -80
- package/dist/{pi-embedded-utils-DF7kfQx2.js → pi-embedded-utils-CQ3KPjMe.js} +3 -3
- package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
- package/dist/{pi-embedded-utils-B6eeyw2H.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
- package/dist/{pi-model-discovery-ym24jTFO.js → pi-model-discovery-BTuzuVh1.js} +1 -1
- package/dist/{pi-model-discovery-VTZCKDCd.js → pi-model-discovery-C4WE3mR2.js} +1 -1
- package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BnbrZIzh.js → agent-scope-Cy5bPtkD.js} +1 -1
- package/dist/plugin-sdk/{agent-turn-execute-Bj1_MqWi.js → agent-turn-execute-Cr_GYkDb.js} +79 -79
- package/dist/plugin-sdk/{agent-turn-runner-zbex5xar.js → agent-turn-runner-CBR6kAt-.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dpyf5O6z.js → api-key-rotation-BKcVxTy8.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-DlNHpUpW.js → audio-preflight-BVKGoA22.js} +23 -23
- package/dist/plugin-sdk/{audio-transcription-runner-BNWmQAJ3.js → audio-transcription-runner-Cvfignlt.js} +10 -10
- package/dist/plugin-sdk/{chrome-DwoV5WFU.js → chrome-Djvom4Ij.js} +6 -6
- package/dist/plugin-sdk/{chunk-CBTJQenE.js → chunk-Bh4ffo9K.js} +3 -3
- package/dist/plugin-sdk/{command-queue-hSL_BIod.js → command-queue-DxcAKezg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-vhM5U22x.js → commands-registry-CCiWhIrU.js} +2 -2
- package/dist/plugin-sdk/{credentials-oF38Hm9r.js → credentials-BFdx8hCQ.js} +1 -1
- package/dist/plugin-sdk/{deliver-CkQB8s_s.js → deliver-Cf-VdZA7.js} +14 -14
- package/dist/plugin-sdk/{diagnostic-nUTVaBEe.js → diagnostic-BpXW-Rhw.js} +3 -3
- package/dist/{errors-BWpk4nzX.js → plugin-sdk/errors-BH3DYZVB.js} +1 -1
- package/dist/plugin-sdk/{fetch-DV_cKD5m.js → fetch-B9WuvLLv.js} +7 -7
- package/dist/plugin-sdk/{fetch-BNHoA66Z.js → fetch-BxGJD3sH.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dpd7hJ0h.js → fetch-guard-CJhIVznN.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CnAPtYPG.js → fs-safe-BQ8e0fFk.js} +3 -3
- package/dist/{image-ops-C54shfkj.js → plugin-sdk/image-ops-CqatVl0e.js} +12 -12
- package/dist/{ir-SWdqg35s.js → plugin-sdk/ir-C1cLQG0N.js} +5 -5
- package/dist/plugin-sdk/{manager-uIw894nB.js → manager-xGWNrW5i.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-D6Jl1s9s.js → markdown-tables-DnMUQn1V.js} +2 -2
- package/dist/plugin-sdk/{model-auth-Beiv1ujI.js → model-auth-pNsZhRxq.js} +7 -7
- package/dist/plugin-sdk/{models-config-DrzOHxl5.js → models-config-d-LFEKVs.js} +2 -2
- package/dist/plugin-sdk/{nudge-czM3OOTT.js → nudge-BvirROp6.js} +8 -8
- package/dist/plugin-sdk/{openai-compatible-video-Dy57wpNv.js → openai-compatible-video-BxPbkLMy.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-BoSR20RK.js → outbound-attachment-DkIWM5yK.js} +2 -2
- package/dist/plugin-sdk/{outbound-message-hooks-eUNVCJ0m.js → outbound-message-hooks-DsAvrOUy.js} +4 -4
- package/dist/{path-alias-guards-CgO2FpVx.js → plugin-sdk/path-alias-guards-CF0cvXKB.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BRSkUtFR.js → pi-embedded-helpers-Ctve63Vr.js} +15 -15
- package/dist/plugin-sdk/{pi-embedded-utils-DcsHTJ1m.js → pi-embedded-utils-cecBA96E.js} +3 -3
- package/dist/plugin-sdk/{pi-model-discovery-HVno_0HD.js → pi-model-discovery-CMOEq078.js} +1 -1
- package/dist/plugin-sdk/provider-media-understanding.js +20 -20
- package/dist/plugin-sdk/{pw-ai-B1OqkFDb.js → pw-ai-Bl2Z9GYg.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-Ip6QnhA7.js → qmd-manager-DY9c1S_2.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-DMNjwnEQ.js → qmd-scope-C3rw3Qjd.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-DV-ECmRb.js → query-expansion-BhXha2GI.js} +2 -2
- package/dist/plugin-sdk/{recorder-XQ8ZjG7j.js → recorder-DccHbgBz.js} +2 -2
- package/dist/plugin-sdk/{redact-C3T6IWmQ.js → redact-CXDVzhSq.js} +1 -1
- package/dist/plugin-sdk/{replies-HCqRS_IF.js → replies-CyyZdjYH.js} +5 -5
- package/dist/plugin-sdk/{reply-directives-Bn4oBJnk.js → reply-directives-CXKYiQC1.js} +2 -2
- package/dist/{reply-prefix-BTUna5vE.js → plugin-sdk/reply-prefix-DL3DiQEo.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-Djrs4IWv.js → resolve-route-CsiTWvoi.js} +3 -3
- package/dist/plugin-sdk/{runs-DN-UxJ44.js → runs-ByM3uA8B.js} +8 -8
- package/dist/plugin-sdk/{send-DnJb7LiP.js → send-BwuMsQ_p.js} +8 -8
- package/dist/plugin-sdk/{send-AstP-BDn.js → send-D0UAWWai.js} +8 -8
- package/dist/plugin-sdk/{send-D3hVSNy0.js → send-Dgf6n9kX.js} +6 -6
- package/dist/plugin-sdk/{send-D5C72eu6.js → send-qUR5w2lM.js} +7 -7
- package/dist/plugin-sdk/{session-meta-pKpwf1nQ.js → session-meta-B_alDqcD.js} +1 -1
- package/dist/plugin-sdk/{sessions-BfBjVuaP.js → sessions-CkJfRajZ.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Bk_STwKa.js → skill-commands-D5O0FXiW.js} +4 -4
- package/dist/plugin-sdk/{skills-BArFQgKX.js → skills-ByCpoIW7.js} +6 -6
- package/dist/plugin-sdk/{ssrf-B2UnPTf3.js → ssrf-aLKAjCHj.js} +1 -1
- package/dist/plugin-sdk/{store-D8eITlWs.js → store-KaVQ5gHj.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Btq0amiz.js → subsystem-DGPv0F8I.js} +4 -4
- package/dist/plugin-sdk/{tables-Bj_zeTwr.js → tables-CONj5xDV.js} +1 -1
- package/dist/plugin-sdk/{tokens-mfZMXas7.js → tokens-DUGBy1gM.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CnFqoQKh.js → tool-loop-detection-Cl4-Vsd_.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-DQBPNzif.js → user-run-recording--8aaZMPs.js} +2 -2
- package/dist/plugin-sdk/{ws-DN6RmfyQ.js → ws-C7BGsi5P.js} +1 -1
- package/dist/{proxy-env-DKs0W5v1.js → proxy-env-Bw8nAERJ.js} +1 -1
- package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
- package/dist/{proxy-env-DtzLr6mZ.js → proxy-env-dFmQfhFb.js} +1 -1
- package/dist/{pw-ai-KPNOiYzf.js → pw-ai-B2n3DHPt.js} +12 -12
- package/dist/{pw-ai-CEk9Jaqd.js → pw-ai-C6ZFN6As.js} +13 -13
- package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
- package/dist/{qmd-manager-BmiJlIMN.js → qmd-manager-BZSlXT1A.js} +23 -23
- package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
- package/dist/{qmd-manager-BFUaPUn-.js → qmd-manager-jLSZ3VID.js} +10 -10
- package/dist/{qmd-scope-DLLTbQwp.js → qmd-scope-BN4oVeLu.js} +1 -1
- package/dist/{qmd-scope-CUCeRWxr.js → qmd-scope-BOfwIKTy.js} +1 -1
- package/dist/{query-expansion-DLN1Vjgr.js → query-expansion-BDAO12Ha.js} +11 -11
- package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
- package/dist/{query-expansion-CbOJZTFH.js → query-expansion-UPsVmvEm.js} +2 -2
- package/dist/{recorder-jnBdoV4s.js → recorder-Bp_onP2d.js} +2 -2
- package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
- package/dist/{recorder-CndF3Klo.js → recorder-DvYXNusz.js} +2 -2
- package/dist/{redact-C8xjZT-F.js → redact-CysJDryP.js} +1 -1
- package/dist/{redact-B6sHOW29.js → redact-D--orJnz.js} +1 -1
- package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
- package/dist/{replies-CoEfccKv.js → replies-DAavcLc9.js} +5 -5
- package/dist/{replies-lKn2Mrkb.js → replies-DfoUf3N4.js} +5 -5
- package/dist/{reply-directives-BclP76MA.js → reply-directives-B_wfvntf.js} +2 -2
- package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
- package/dist/{reply-directives-Djre3xI1.js → reply-directives-DsGD4aw1.js} +2 -2
- package/dist/{plugin-sdk/reply-prefix-CCyygbH2.js → reply-prefix-C08CPcgE.js} +1 -1
- package/dist/{reply-prefix-DiyN1oc7.js → reply-prefix-gWrzAQtZ.js} +1 -1
- package/dist/{resolve-route-ClI5pltd.js → resolve-route-BP1OpZqn.js} +3 -3
- package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
- package/dist/{resolve-route-BmA3wi9D.js → resolve-route-RQpYXVl1.js} +4 -4
- package/dist/{runs-efmPtrdw.js → runs-Bf_VVVBE.js} +8 -8
- package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
- package/dist/{runs-DffCseDM.js → runs-DGr28sFu.js} +8 -8
- package/dist/{send-TVImOmCV.js → send-BOm8dqOB.js} +13 -13
- package/dist/{send-ChgWfhHL.js → send-C-m_74Nc.js} +8 -8
- package/dist/{send-B3c56zXa.js → send-C0kXNcyD.js} +8 -8
- package/dist/{send-CLnmNoGF.js → send-CNMPyQyQ.js} +7 -7
- package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
- package/dist/{send-BZrEBJKt.js → send-DFsyNWFI.js} +7 -7
- package/dist/{send-NLqVlKnJ.js → send-DYRbKT7y.js} +6 -6
- package/dist/{send-Co-6tb50.js → send-DkJqx60r.js} +8 -8
- package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
- package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
- package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
- package/dist/{send-DkHxW8Pg.js → send-oHqfck_E.js} +6 -6
- package/dist/{session-meta-CE9Oi0tA.js → session-meta-BCY_pfg7.js} +1 -1
- package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
- package/dist/{session-meta-DDeeNkQv.js → session-meta-DVKEsZNl.js} +1 -1
- package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
- package/dist/{sessions-DkSPJ2k9.js → sessions-CzjW7wiR.js} +4 -4
- package/dist/{sessions-BgTvNzNv.js → sessions-IqyeyMXp.js} +4 -4
- package/dist/{skill-commands-K9_D6a_V.js → skill-commands-BfK22Jmi.js} +4 -4
- package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
- package/dist/{skill-commands-BOG-33Ja.js → skill-commands-DYJDIogS.js} +5 -5
- package/dist/{skills-CrNvxe8D.js → skills-D6riKXOf.js} +6 -6
- package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
- package/dist/{skills-Ci9t7Gax.js → skills-jb4bSwT6.js} +4 -4
- package/dist/{store-DJPbhmBq.js → store-Bt16sey6.js} +2 -2
- package/dist/{store-B6wZFu_5.js → store-CsI6l-8d.js} +7 -7
- package/dist/{subsystem-B9soUuXQ.js → subsystem-BTMrlJ-R.js} +7 -7
- package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
- package/dist/{tables-CYp9eWuv.js → tables-BTIafSNy.js} +1 -1
- package/dist/{tables-BaYGY_Hk.js → tables-tChtQWdX.js} +1 -1
- package/dist/{tokens-DwuYAzrE.js → tokens-C2ll8wSq.js} +1 -1
- package/dist/{tokens-KbWGDYPC.js → tokens-qfLiLlNv.js} +1 -1
- package/dist/{tool-loop-detection-B2G2F3vq.js → tool-loop-detection-CiexABx1.js} +1 -1
- package/dist/{tool-loop-detection-BwJFCGqI.js → tool-loop-detection-D0CRFNOH.js} +1 -1
- package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
- package/dist/{user-run-recording-B_-S5l8q.js → user-run-recording-D-7cPbdf.js} +2 -2
- package/dist/{user-run-recording-DIqKTo0U.js → user-run-recording-DJedyUge.js} +2 -2
- package/dist/{workspace-D5PKyvm-.js → workspace-xnzx7wEV.js} +1 -1
- package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
- package/dist/{ws-CSU92Z2r.js → ws-D51UDdBH.js} +1 -1
- package/dist/{ws-CmKUpGwq.js → ws-DLbfGWAn.js} +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/subsystem-cFv2jJm-.js +0 -2777
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as logVerbose, h as shouldLogVerbose, st as resolveUserPath } from "./subsystem-
|
|
2
|
-
import { o as
|
|
3
|
-
import {
|
|
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-DynBFcQj.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-DEUr_rAC.js";
|
|
3
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-DOdeIkaS.js";
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-DUVm-Rj1.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BAxcOCcV.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
1
|
import { f as logVerbose, h as shouldLogVerbose, st as resolveUserPath } from "./subsystem-DynBFcQj.js";
|
|
2
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-Dk3eDp_u.js";
|
|
3
3
|
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CFEZK0gv.js";
|
|
4
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
5
|
-
import { a as chunkText } from "./chunk-
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-JiVpsY-F.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BBj2TedD.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { M as shouldLogVerbose, b as resolveUserPath, k as logVerbose } from "./subsystem-
|
|
2
|
-
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
3
|
-
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-
|
|
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-BTMrlJ-R.js";
|
|
2
|
+
import { o as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-C3qJHn62.js";
|
|
3
|
+
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-BTgGxcIG.js";
|
|
4
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-BJ9kDOw8.js";
|
|
5
|
+
import { a as chunkText } from "./chunk-BEuk6eCG.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs 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 fs.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 fs.realpath(root);
|
|
57
57
|
} catch {
|
|
58
58
|
resolvedRoot = path.resolve(root);
|
|
59
59
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { randomUUID } from "node:crypto";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fs from "node:fs/promises";
|
|
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 fs.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 fs.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 fs.mkdir(path.dirname(filePath), mkdirOptions);
|
|
35
35
|
const tmp = `${filePath}.${randomUUID()}.tmp`;
|
|
36
36
|
try {
|
|
37
|
-
await
|
|
37
|
+
await fs.writeFile(tmp, payload, {
|
|
38
38
|
encoding: "utf8",
|
|
39
39
|
mode
|
|
40
40
|
});
|
|
41
41
|
await chmodIfSupported(tmp, mode);
|
|
42
|
-
await
|
|
42
|
+
await fs.rename(tmp, filePath);
|
|
43
43
|
await chmodIfSupported(filePath, mode);
|
|
44
44
|
} finally {
|
|
45
|
-
await
|
|
45
|
+
await fs.rm(tmp, { force: true }).catch(() => void 0);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
function createAsyncLock() {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, i as resolveAgentDir, l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
|
|
2
2
|
import "./paths-B_gs59ga.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, l as parseModelRef } from "./model-selection-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, l as parseModelRef } from "./model-selection-_StPBPAp.js";
|
|
6
6
|
import "./github-copilot-token-BJeEWDJb.js";
|
|
7
|
-
import "./legacy-names-
|
|
8
|
-
import "./send-
|
|
9
|
-
import "./send-
|
|
10
|
-
import "./tokens-
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
12
|
-
import "./sessions-
|
|
7
|
+
import "./legacy-names-D7ywm6_7.js";
|
|
8
|
+
import "./send-DFsyNWFI.js";
|
|
9
|
+
import "./send-C-m_74Nc.js";
|
|
10
|
+
import "./tokens-C2ll8wSq.js";
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-DGpkqagr.js";
|
|
12
|
+
import "./sessions-CzjW7wiR.js";
|
|
13
13
|
import "./diagnostic-events-BTSwhIfk.js";
|
|
14
|
-
import "./diagnostic-
|
|
14
|
+
import "./diagnostic-BSnQ1U_E.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 "./chat-content-
|
|
21
|
-
import "./chrome-
|
|
22
|
-
import "./ws-
|
|
23
|
-
import "./frontmatter-
|
|
24
|
-
import "./skills-
|
|
25
|
-
import "./path-alias-guards-
|
|
26
|
-
import "./errors-
|
|
27
|
-
import "./fs-safe-
|
|
28
|
-
import "./proxy-env-
|
|
29
|
-
import "./store-
|
|
16
|
+
import "./redact-CysJDryP.js";
|
|
17
|
+
import "./command-queue-CRm1AADE.js";
|
|
18
|
+
import "./image-ops-DEUr_rAC.js";
|
|
19
|
+
import "./pi-model-discovery-BTuzuVh1.js";
|
|
20
|
+
import "./chat-content-BdADRLL0.js";
|
|
21
|
+
import "./chrome-W4kkryVf.js";
|
|
22
|
+
import "./ws-DLbfGWAn.js";
|
|
23
|
+
import "./frontmatter-NYeLKFIP.js";
|
|
24
|
+
import "./skills-D6riKXOf.js";
|
|
25
|
+
import "./path-alias-guards-aXY57qPv.js";
|
|
26
|
+
import "./errors-BzL6hu4G.js";
|
|
27
|
+
import "./fs-safe-DOdeIkaS.js";
|
|
28
|
+
import "./proxy-env-dFmQfhFb.js";
|
|
29
|
+
import "./store-Bt16sey6.js";
|
|
30
30
|
import "./thinking-CcoiS9V4.js";
|
|
31
|
-
import "./nudge-
|
|
32
|
-
import "./models-config-
|
|
33
|
-
import "./audio-transcription-runner-
|
|
34
|
-
import "./pi-embedded-utils-
|
|
35
|
-
import "./fetch-
|
|
36
|
-
import "./fetch-guard-
|
|
37
|
-
import "./api-key-rotation-
|
|
38
|
-
import "./reply-prefix-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./markdown-tables-
|
|
41
|
-
import "./ir-
|
|
31
|
+
import "./nudge-B06CLLon.js";
|
|
32
|
+
import "./models-config-D3M9er_C.js";
|
|
33
|
+
import "./audio-transcription-runner-DgFYIaIw.js";
|
|
34
|
+
import "./pi-embedded-utils-DD7HmeWR.js";
|
|
35
|
+
import "./fetch-DUVm-Rj1.js";
|
|
36
|
+
import "./fetch-guard-BySb6coS.js";
|
|
37
|
+
import "./api-key-rotation-1bTDnvBU.js";
|
|
38
|
+
import "./reply-prefix-gWrzAQtZ.js";
|
|
39
|
+
import "./chunk-BAxcOCcV.js";
|
|
40
|
+
import "./markdown-tables-lzV8Hoxc.js";
|
|
41
|
+
import "./ir-B0rUqFWs.js";
|
|
42
42
|
import "./render-latcSJiL.js";
|
|
43
|
-
import "./commands-registry-
|
|
44
|
-
import "./user-run-recording-
|
|
45
|
-
import "./recorder-
|
|
46
|
-
import "./agent-turn-runner-
|
|
43
|
+
import "./commands-registry-CtR9mXss.js";
|
|
44
|
+
import "./user-run-recording-DJedyUge.js";
|
|
45
|
+
import "./recorder-DvYXNusz.js";
|
|
46
|
+
import "./agent-turn-runner-FwkD42Me.js";
|
|
47
47
|
import "./pairing-files-B1ukutA_.js";
|
|
48
|
-
import "./runs-
|
|
49
|
-
import "./outbound-message-hooks-
|
|
50
|
-
import "./deliver-
|
|
51
|
-
import "./fetch-
|
|
52
|
-
import "./skill-commands-
|
|
53
|
-
import "./tables-
|
|
54
|
-
import "./reply-directives-
|
|
55
|
-
import "./send-
|
|
56
|
-
import "./outbound-attachment-
|
|
57
|
-
import "./send-
|
|
58
|
-
import "./resolve-route-
|
|
59
|
-
import "./session-meta-
|
|
60
|
-
import "./replies-
|
|
61
|
-
import "./manager-
|
|
62
|
-
import "./query-expansion-
|
|
48
|
+
import "./runs-DGr28sFu.js";
|
|
49
|
+
import "./outbound-message-hooks-Bn5_bObR.js";
|
|
50
|
+
import "./deliver-BufoibUD.js";
|
|
51
|
+
import "./fetch-DmpLwwor.js";
|
|
52
|
+
import "./skill-commands-BfK22Jmi.js";
|
|
53
|
+
import "./tables-tChtQWdX.js";
|
|
54
|
+
import "./reply-directives-DsGD4aw1.js";
|
|
55
|
+
import "./send-DkJqx60r.js";
|
|
56
|
+
import "./outbound-attachment-CCQDMmDH.js";
|
|
57
|
+
import "./send-DYRbKT7y.js";
|
|
58
|
+
import "./resolve-route-RQpYXVl1.js";
|
|
59
|
+
import "./session-meta-DVKEsZNl.js";
|
|
60
|
+
import "./replies-DfoUf3N4.js";
|
|
61
|
+
import "./manager-3Exjl08V.js";
|
|
62
|
+
import "./query-expansion-UPsVmvEm.js";
|
|
63
63
|
|
|
64
64
|
//#region src/hooks/llm-slug-generator.ts
|
|
65
65
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-CoIdVzmg.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
|
-
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { A as requireApiKey, Gn as resolveSessionTranscriptsDirForAgent, M as resolveEnvApiKey, Sa as normalizeResolvedSecretInputString, U as loadConfig, j as resolveApiKeyForProvider, oa as isTruthyEnvValue, va as normalizeOptionalSecretInput, x as retryAsync } from "./model-selection-
|
|
4
|
+
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
+
import { A as requireApiKey, Gn as resolveSessionTranscriptsDirForAgent, M as resolveEnvApiKey, Sa as normalizeResolvedSecretInputString, U as loadConfig, j as resolveApiKeyForProvider, oa as isTruthyEnvValue, va as normalizeOptionalSecretInput, x as retryAsync } from "./model-selection-_StPBPAp.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-BzL6hu4G.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Cj-XaaTu.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-BySb6coS.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-1bTDnvBU.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-UPsVmvEm.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import syncFs from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ki as retryAsync, Ma as normalizeOptionalSecretInput, Xa as isTruthyEnvValue, bn as resolveSessionTranscriptsDirForAgent, c as loadConfig, na as resolveApiKeyForProvider, ra as resolveEnvApiKey, ta as requireApiKey, za as normalizeResolvedSecretInputString } from "./config-
|
|
2
|
+
import { Ki as retryAsync, Ma as normalizeOptionalSecretInput, Xa as isTruthyEnvValue, bn as resolveSessionTranscriptsDirForAgent, c as loadConfig, na as resolveApiKeyForProvider, ra as resolveEnvApiKey, ta as requireApiKey, za as normalizeResolvedSecretInputString } from "./config-CPcuaNsB.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
|
|
4
|
-
import { E as truncateUtf16Safe, b as resolveUserPath, d as clampInt, f as clampNumber, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } 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-BTMrlJ-R.js";
|
|
5
|
+
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-BJFJ0deZ.js";
|
|
6
|
+
import { r as formatErrorMessage } from "./errors-DnOtx_vg.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-D91c_y3Q.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DjrvdtGQ.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-CRERUrFK.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BWj1Itf-.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-BDAO12Ha.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import fs$1 from "node:fs/promises";
|
|
17
17
|
import chokidar from "chokidar";
|
|
18
18
|
import { createInterface } from "node:readline";
|
|
19
19
|
import { Readable } from "node:stream";
|
|
@@ -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 fs$1.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 fs$1.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) => fs$1.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 fs$1.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 fs$1.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 fs$1.readFile(absPath, "utf-8");
|
|
3774
3774
|
} catch (err) {
|
|
3775
3775
|
if (isFileMissingError(err)) return {
|
|
3776
3776
|
text: "",
|
|
@@ -2,13 +2,13 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
4
|
import { $ as clampNumber, Q as clampInt, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
-
import { A as requireApiKey, Ca as normalizeOptionalSecretInput, Da as normalizeResolvedSecretInputString, M as resolveEnvApiKey, U as loadConfig, Yn as resolveSessionTranscriptsDirForAgent, j as resolveApiKeyForProvider, ua as isTruthyEnvValue, x as retryAsync } from "./model-selection-
|
|
5
|
+
import { A as requireApiKey, Ca as normalizeOptionalSecretInput, Da as normalizeResolvedSecretInputString, M as resolveEnvApiKey, U as loadConfig, Yn as resolveSessionTranscriptsDirForAgent, j as resolveApiKeyForProvider, ua as isTruthyEnvValue, x as retryAsync } from "./model-selection-DFW5CGMj.js";
|
|
6
6
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Cg5s4YcQ.js";
|
|
7
7
|
import { r as formatErrorMessage } from "./errors-B_bbUZmd.js";
|
|
8
8
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CWMxbvLB.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-Dn6Z6n6a.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, t as collectProviderApiKeysForExecution } from "./api-key-rotation-1GnreUfv.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-Dm_RIg6M.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import syncFs from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { nt as normalizeAccountId } from "./agent-scope-Js3kUihf.js";
|
|
3
|
-
import { Mr as resolveAccountEntry, ar as normalizeChannelId } from "./model-selection-
|
|
3
|
+
import { Mr as resolveAccountEntry, ar as normalizeChannelId } from "./model-selection-DFW5CGMj.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 { An as normalizeChannelId, rr as resolveAccountEntry } from "./config-
|
|
3
|
-
import { at as normalizeAccountId } from "./agent-scope-
|
|
2
|
+
import { An as normalizeChannelId, rr as resolveAccountEntry } from "./config-CPcuaNsB.js";
|
|
3
|
+
import { at as normalizeAccountId } from "./agent-scope-BJFJ0deZ.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 { G as normalizeAccountId } from "./workspace-
|
|
3
|
-
import { Or as resolveAccountEntry, tr as normalizeChannelId } from "./model-selection-
|
|
2
|
+
import { G as normalizeAccountId } from "./workspace-xnzx7wEV.js";
|
|
3
|
+
import { Or as resolveAccountEntry, tr as normalizeChannelId } from "./model-selection-_StPBPAp.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -12342,7 +12342,7 @@ function createPluginRegistry(registryParams) {
|
|
|
12342
12342
|
configurable: true,
|
|
12343
12343
|
value: {
|
|
12344
12344
|
...registryParams.runtime.signals,
|
|
12345
|
-
nudge: async (input) => (await import("./nudge-
|
|
12345
|
+
nudge: async (input) => (await import("./nudge-DklIe0bB.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
12346
12346
|
kind: "plugin",
|
|
12347
12347
|
pluginId: record.id
|
|
12348
12348
|
}, input)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _ as toAgentModelListLike, a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { _ as toAgentModelListLike, a as resolveAgentEffectiveModelPrimary, c as resolveAgentWorkspaceDir, g as resolveAgentModelPrimaryValue, l as resolveDefaultAgentId, n as listAgentIds, r as resolveAgentConfig } from "./agent-scope-CoIdVzmg.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-B_gs59ga.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-DynBFcQj.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 normalizeAccountId$1, K as normalizeOptionalAccountId, M as expandIdentityLinksToMatchKeys, W as DEFAULT_ACCOUNT_ID, _ as runExec, rt as stripAgentSessionKeyPrefix, tt as parseAgentSessionKey } from "./workspace-
|
|
6
|
+
import { C as DEFAULT_AGENT_ID, E as RAW_PEER_KEY_PREFIX, F as normalizeAgentId, G as normalizeAccountId$1, K as normalizeOptionalAccountId, M as expandIdentityLinksToMatchKeys, W as DEFAULT_ACCOUNT_ID, _ as runExec, rt as stripAgentSessionKeyPrefix, tt as parseAgentSessionKey } from "./workspace-xnzx7wEV.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BJeEWDJb.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-D7ywm6_7.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 syncFs from "node:fs";
|
|
13
13
|
import os, { userInfo } from "node:os";
|
|
14
|
-
import
|
|
14
|
+
import JSON5 from "json5";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import { isDeepStrictEqual } from "node:util";
|
|
17
17
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -12229,7 +12229,7 @@ function createPluginRegistry(registryParams) {
|
|
|
12229
12229
|
configurable: true,
|
|
12230
12230
|
value: {
|
|
12231
12231
|
...registryParams.runtime.signals,
|
|
12232
|
-
nudge: async (input) => (await import("./nudge-
|
|
12232
|
+
nudge: async (input) => (await import("./nudge-B06CLLon.js").then((n) => n.t)).requestAuthorizedNudge({
|
|
12233
12233
|
kind: "plugin",
|
|
12234
12234
|
pluginId: record.id
|
|
12235
12235
|
}, input)
|
|
@@ -19625,7 +19625,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
19625
19625
|
function normalizeDeps(overrides = {}) {
|
|
19626
19626
|
return {
|
|
19627
19627
|
fs: overrides.fs ?? syncFs,
|
|
19628
|
-
json5: overrides.json5 ??
|
|
19628
|
+
json5: overrides.json5 ?? JSON5,
|
|
19629
19629
|
env: overrides.env ?? process.env,
|
|
19630
19630
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
19631
19631
|
configPath: overrides.configPath ?? "",
|
|
@@ -19636,11 +19636,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
19636
19636
|
if (env !== process.env) return;
|
|
19637
19637
|
loadDotEnv({ quiet: true });
|
|
19638
19638
|
}
|
|
19639
|
-
function parseConfigJson5(raw, json5
|
|
19639
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
19640
19640
|
try {
|
|
19641
19641
|
return {
|
|
19642
19642
|
ok: true,
|
|
19643
|
-
parsed: json5
|
|
19643
|
+
parsed: json5.parse(raw)
|
|
19644
19644
|
};
|
|
19645
19645
|
} catch (err) {
|
|
19646
19646
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-
|
|
2
|
-
import { U as loadConfig, _ as resolveImplicitBedrockProvider, g as normalizeProviders, pa as resolveOpenClawAgentDir, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-
|
|
1
|
+
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-DynBFcQj.js";
|
|
2
|
+
import { U as loadConfig, _ as resolveImplicitBedrockProvider, g as normalizeProviders, pa as resolveOpenClawAgentDir, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-_StPBPAp.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Da as resolveOpenClawAgentDir, Hi as resolveImplicitBedrockProvider, Ui as resolveImplicitCopilotProvider, Vi as normalizeProviders, Wi as resolveImplicitProviders, c as loadConfig } from "./config-
|
|
2
|
-
import { ct as applyConfigEnvVars, g as isRecord } from "./subsystem-
|
|
1
|
+
import { Da as resolveOpenClawAgentDir, Hi as resolveImplicitBedrockProvider, Ui as resolveImplicitCopilotProvider, Vi as normalizeProviders, Wi as resolveImplicitProviders, c as loadConfig } from "./config-CPcuaNsB.js";
|
|
2
|
+
import { ct as applyConfigEnvVars, g as isRecord } from "./subsystem-BTMrlJ-R.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs 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 fs.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 fs.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 fs.mkdir(agentDir, {
|
|
156
156
|
recursive: true,
|
|
157
157
|
mode: 448
|
|
158
158
|
});
|
|
159
|
-
await
|
|
159
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
160
160
|
return {
|
|
161
161
|
agentDir,
|
|
162
162
|
wrote: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as applyConfigEnvVars, rt as isRecord } from "./subsystem-DynBFcQj.js";
|
|
2
|
-
import { U as loadConfig, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, va as resolveOpenClawAgentDir, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { U as loadConfig, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, va as resolveOpenClawAgentDir, y as resolveImplicitProviders } from "./model-selection-DFW5CGMj.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveDefaultAgentId, n as listAgentIds } from "./agent-scope-
|
|
2
|
+
import { l as resolveDefaultAgentId, n as listAgentIds } from "./agent-scope-CoIdVzmg.js";
|
|
3
3
|
import { l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath } from "./paths-B_gs59ga.js";
|
|
4
|
-
import { Z as CONFIG_DIR, et as ensureDir$1, lt as shortenHomeInString, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { F as normalizeAgentId, H as sessionKeyAgentMatches, I as normalizeMainKey, L as resolveAgentIdFromSessionKey, Z as isAcpSessionKey, b as logError, et as isSubagentSessionKey, y as logDebug } from "./workspace-
|
|
6
|
-
import { Ca as resolveSecretInputRef, Gr as GATEWAY_CLIENT_NAMES, U as loadConfig, Ur as GATEWAY_CLIENT_IDS, Wr as GATEWAY_CLIENT_MODES, Yi as resolveSecretRefValues, ea as secretRefKey, ii as stringEnum, ri as optionalStringEnum, tt as ASSISTANT_IDENTITY_COLORS, xa as hasConfiguredSecretInput } from "./model-selection-
|
|
7
|
-
import { At as INPUT_PROVENANCE_KIND_VALUES, D as SESSION_RUN_STATUSES, F as resolveAgentMainSessionKey, d as TASK_RUN_MODES, f as TASK_RUN_STATUSES } from "./sessions-
|
|
4
|
+
import { Z as CONFIG_DIR, et as ensureDir$1, lt as shortenHomeInString, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
+
import { F as normalizeAgentId, H as sessionKeyAgentMatches, I as normalizeMainKey, L as resolveAgentIdFromSessionKey, Z as isAcpSessionKey, b as logError, et as isSubagentSessionKey, y as logDebug } from "./workspace-xnzx7wEV.js";
|
|
6
|
+
import { Ca as resolveSecretInputRef, Gr as GATEWAY_CLIENT_NAMES, U as loadConfig, Ur as GATEWAY_CLIENT_IDS, Wr as GATEWAY_CLIENT_MODES, Yi as resolveSecretRefValues, ea as secretRefKey, ii as stringEnum, ri as optionalStringEnum, tt as ASSISTANT_IDENTITY_COLORS, xa as hasConfiguredSecretInput } from "./model-selection-_StPBPAp.js";
|
|
7
|
+
import { At as INPUT_PROVENANCE_KIND_VALUES, D as SESSION_RUN_STATUSES, F as resolveAgentMainSessionKey, d as TASK_RUN_MODES, f as TASK_RUN_STATUSES } from "./sessions-CzjW7wiR.js";
|
|
8
8
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
|
|
9
9
|
import { t as redactIdentifier } from "./redact-identifier-C_VCQ34e.js";
|
|
10
|
-
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-
|
|
11
|
-
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-
|
|
10
|
+
import { i as isSecureWebSocketUrl, t as rawDataToString } from "./ws-DLbfGWAn.js";
|
|
11
|
+
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BhiiI_Nr.js";
|
|
12
12
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DBtcstGX.js";
|
|
13
|
-
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-
|
|
13
|
+
import { a as agentTurnIdempotencyKey, c as enqueueAgentTurn, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, n as getAgentTurnRuntime, o as buildAgentTurnWork } from "./agent-turn-runner-FwkD42Me.js";
|
|
14
14
|
import { n as resolvePairingPaths, t as pruneExpiredPending } from "./pairing-files-B1ukutA_.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import syncFs from "node:fs";
|
|
@@ -4432,7 +4432,7 @@ function indentUntrustedBody(body) {
|
|
|
4432
4432
|
}
|
|
4433
4433
|
function trackNudgeClaimChain(runner, id, sessionKey) {
|
|
4434
4434
|
const tracked = (async () => {
|
|
4435
|
-
const { runMainAgentTurn } = await import("./pi-embedded-
|
|
4435
|
+
const { runMainAgentTurn } = await import("./pi-embedded-DGpkqagr.js").then((n) => n.o);
|
|
4436
4436
|
await runner.claimAndExecute({
|
|
4437
4437
|
workId: id,
|
|
4438
4438
|
execute: (claim) => runMainAgentTurn(claim.message.payload)
|