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,17 +1,17 @@
|
|
|
1
|
-
import "./config-
|
|
1
|
+
import "./config-CPcuaNsB.js";
|
|
2
2
|
import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-BJFJ0deZ.js";
|
|
5
5
|
import "./github-copilot-token-Dk0djIhM.js";
|
|
6
|
-
import "./path-alias-guards-
|
|
7
|
-
import "./redact-
|
|
8
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
6
|
+
import "./path-alias-guards-B9AcbQl6.js";
|
|
7
|
+
import "./redact-D--orJnz.js";
|
|
8
|
+
import { c as writeFileWithinRoot } from "./fs-safe-C3qJHn62.js";
|
|
9
9
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-BD9EiDok.js";
|
|
10
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
11
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
10
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-BDAO12Ha.js";
|
|
11
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-BOfwIKTy.js";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
14
|
+
import fs from "node:fs/promises";
|
|
15
15
|
import { spawn } from "node:child_process";
|
|
16
16
|
import readline from "node:readline";
|
|
17
17
|
|
|
@@ -219,10 +219,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
219
219
|
async initialize(mode) {
|
|
220
220
|
this.bootstrapCollections();
|
|
221
221
|
if (mode === "status") return;
|
|
222
|
-
await
|
|
223
|
-
await
|
|
224
|
-
await
|
|
225
|
-
if (this.sessionExporter) await
|
|
222
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
223
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
224
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
225
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
226
226
|
await this.symlinkSharedModels();
|
|
227
227
|
await this.ensureCollections();
|
|
228
228
|
if (this.qmd.update.onBoot) {
|
|
@@ -315,7 +315,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
315
315
|
}
|
|
316
316
|
async ensureCollectionPath(collection) {
|
|
317
317
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
318
|
-
await
|
|
318
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
319
319
|
}
|
|
320
320
|
isDirectoryGlobPattern(pattern) {
|
|
321
321
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -763,19 +763,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
763
763
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
764
764
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
765
765
|
try {
|
|
766
|
-
if (!(await
|
|
766
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
767
767
|
if (err.code === "ENOENT") return null;
|
|
768
768
|
throw err;
|
|
769
769
|
}))?.isDirectory()) return;
|
|
770
770
|
try {
|
|
771
|
-
await
|
|
771
|
+
await fs.lstat(targetModelsDir);
|
|
772
772
|
return;
|
|
773
773
|
} catch {}
|
|
774
774
|
try {
|
|
775
|
-
await
|
|
775
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
776
776
|
} catch (symlinkErr) {
|
|
777
777
|
const code = symlinkErr.code;
|
|
778
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
778
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
779
779
|
else throw symlinkErr;
|
|
780
780
|
}
|
|
781
781
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -951,7 +951,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
951
951
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
952
952
|
let handle;
|
|
953
953
|
try {
|
|
954
|
-
handle = await
|
|
954
|
+
handle = await fs.open(absPath);
|
|
955
955
|
} catch (err) {
|
|
956
956
|
if (isFileMissingError(err)) return { missing: true };
|
|
957
957
|
throw err;
|
|
@@ -983,7 +983,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
983
983
|
try {
|
|
984
984
|
return {
|
|
985
985
|
missing: false,
|
|
986
|
-
text: await
|
|
986
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
987
987
|
};
|
|
988
988
|
} catch (err) {
|
|
989
989
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1000,7 +1000,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1000
1000
|
async exportSessions() {
|
|
1001
1001
|
if (!this.sessionExporter) return;
|
|
1002
1002
|
const exportDir = this.sessionExporter.dir;
|
|
1003
|
-
await
|
|
1003
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
1004
1004
|
const stores = resolveSessionMemoryStores();
|
|
1005
1005
|
if (!stores) {
|
|
1006
1006
|
log.debug("qmd session export: no active session runtime; keeping exported sessions");
|
|
@@ -1030,11 +1030,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1030
1030
|
});
|
|
1031
1031
|
keep.add(target);
|
|
1032
1032
|
}
|
|
1033
|
-
const exported = await
|
|
1033
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
1034
1034
|
for (const name of exported) {
|
|
1035
1035
|
if (!name.endsWith(".md")) continue;
|
|
1036
1036
|
const full = path.join(exportDir, name);
|
|
1037
|
-
if (!keep.has(full)) await
|
|
1037
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
1038
1038
|
}
|
|
1039
1039
|
for (const [sourceId, state] of this.exportedSessionState) if (!tracked.has(sourceId) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sourceId);
|
|
1040
1040
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as resolveAgentWorkspaceDir } from "./agent-scope-Js3kUihf.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import "./model-selection-
|
|
4
|
+
import "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import "./github-copilot-token-BJeEWDJb.js";
|
|
6
6
|
import "./redact-DsVjtfGq.js";
|
|
7
7
|
import "./path-alias-guards-nWrE5acE.js";
|
|
8
8
|
import { c as writeFileWithinRoot } from "./fs-safe-CFEZK0gv.js";
|
|
9
9
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Dxm0ejq_.js";
|
|
10
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
10
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-Dm_RIg6M.js";
|
|
11
11
|
import { t as isQmdScopeAllowed } from "./qmd-scope-BRP7NXq1.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-CoIdVzmg.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./model-selection-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import "./workspace-xnzx7wEV.js";
|
|
5
|
+
import "./model-selection-_StPBPAp.js";
|
|
6
6
|
import "./github-copilot-token-BJeEWDJb.js";
|
|
7
|
-
import "./legacy-names-
|
|
8
|
-
import "./redact-
|
|
9
|
-
import "./path-alias-guards-
|
|
10
|
-
import { c as writeFileWithinRoot } from "./fs-safe-
|
|
7
|
+
import "./legacy-names-D7ywm6_7.js";
|
|
8
|
+
import "./redact-CysJDryP.js";
|
|
9
|
+
import "./path-alias-guards-aXY57qPv.js";
|
|
10
|
+
import { c as writeFileWithinRoot } from "./fs-safe-DOdeIkaS.js";
|
|
11
11
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Dbx8t3Tf.js";
|
|
12
|
-
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-
|
|
13
|
-
import { t as isQmdScopeAllowed } from "./qmd-scope-
|
|
12
|
+
import { a as resolveSessionMemoryStores, i as listSessionMemoryRows, n as requireNodeSqlite, o as sessionMemorySourceId, r as buildSessionMemoryEntry, t as extractKeywords, v as isFileMissingError, y as statRegularFile } from "./query-expansion-UPsVmvEm.js";
|
|
13
|
+
import { t as isQmdScopeAllowed } from "./qmd-scope-BN4oVeLu.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { et as isSubagentSessionKey, rt as stripAgentSessionKeyPrefix } from "./workspace-
|
|
1
|
+
import { et as isSubagentSessionKey, rt as stripAgentSessionKeyPrefix } from "./workspace-xnzx7wEV.js";
|
|
2
2
|
|
|
3
3
|
//#region src/memory/qmd-scope.ts
|
|
4
4
|
function isQmdScopeAllowed(scope, sessionKey, identity) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as stripAgentSessionKeyPrefix, mt as isSubagentSessionKey } from "./agent-scope-
|
|
1
|
+
import { _t as stripAgentSessionKeyPrefix, mt as isSubagentSessionKey } from "./agent-scope-BJFJ0deZ.js";
|
|
2
2
|
|
|
3
3
|
//#region src/memory/qmd-scope.ts
|
|
4
4
|
function isQmdScopeAllowed(scope, sessionKey, identity) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { fn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, qt as getConfiguredSessionStorageRuntime, ya as runTasksWithConcurrency } from "./config-
|
|
2
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { fn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, qt as getConfiguredSessionStorageRuntime, ya as runTasksWithConcurrency } from "./config-CPcuaNsB.js";
|
|
2
|
+
import { t as redactSensitiveText } from "./redact-D--orJnz.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/memory/fs-utils.ts
|
|
10
10
|
function isFileMissingError(err) {
|
|
@@ -13,7 +13,7 @@ function isFileMissingError(err) {
|
|
|
13
13
|
async function statRegularFile(absPath) {
|
|
14
14
|
let stat;
|
|
15
15
|
try {
|
|
16
|
-
stat = await
|
|
16
|
+
stat = await fs$1.lstat(absPath);
|
|
17
17
|
} catch (err) {
|
|
18
18
|
if (isFileMissingError(err)) return { missing: true };
|
|
19
19
|
throw err;
|
|
@@ -48,7 +48,7 @@ function isMemoryPath(relPath) {
|
|
|
48
48
|
return normalized.startsWith("memory/");
|
|
49
49
|
}
|
|
50
50
|
async function walkDir(dir, files) {
|
|
51
|
-
const entries = await
|
|
51
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
52
52
|
for (const entry of entries) {
|
|
53
53
|
const full = path.join(dir, entry.name);
|
|
54
54
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -68,7 +68,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
68
68
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
69
69
|
const addMarkdownFile = async (absPath) => {
|
|
70
70
|
try {
|
|
71
|
-
const stat = await
|
|
71
|
+
const stat = await fs$1.lstat(absPath);
|
|
72
72
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
73
73
|
if (!absPath.endsWith(".md")) return;
|
|
74
74
|
result.push(absPath);
|
|
@@ -77,12 +77,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
77
77
|
await addMarkdownFile(memoryFile);
|
|
78
78
|
await addMarkdownFile(altMemoryFile);
|
|
79
79
|
try {
|
|
80
|
-
const dirStat = await
|
|
80
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
81
81
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
82
82
|
} catch {}
|
|
83
83
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
84
84
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
85
|
-
const stat = await
|
|
85
|
+
const stat = await fs$1.lstat(inputPath);
|
|
86
86
|
if (stat.isSymbolicLink()) continue;
|
|
87
87
|
if (stat.isDirectory()) {
|
|
88
88
|
await walkDir(inputPath, result);
|
|
@@ -96,7 +96,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
96
96
|
for (const entry of result) {
|
|
97
97
|
let key = entry;
|
|
98
98
|
try {
|
|
99
|
-
key = await
|
|
99
|
+
key = await fs$1.realpath(entry);
|
|
100
100
|
} catch {}
|
|
101
101
|
if (seen.has(key)) continue;
|
|
102
102
|
seen.add(key);
|
|
@@ -110,14 +110,14 @@ function hashText(value) {
|
|
|
110
110
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
111
111
|
let stat;
|
|
112
112
|
try {
|
|
113
|
-
stat = await
|
|
113
|
+
stat = await fs$1.stat(absPath);
|
|
114
114
|
} catch (err) {
|
|
115
115
|
if (isFileMissingError(err)) return null;
|
|
116
116
|
throw err;
|
|
117
117
|
}
|
|
118
118
|
let content;
|
|
119
119
|
try {
|
|
120
|
-
content = await
|
|
120
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
121
121
|
} catch (err) {
|
|
122
122
|
if (isFileMissingError(err)) return null;
|
|
123
123
|
throw err;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Vn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, aa as runTasksWithConcurrency, xn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
1
|
+
import { Vn as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, aa as runTasksWithConcurrency, xn as getConfiguredSessionStorageRuntime } from "./model-selection-DFW5CGMj.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-DsVjtfGq.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ln as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, ta as runTasksWithConcurrency, vn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
2
|
-
import { t as redactSensitiveText } from "./redact-
|
|
1
|
+
import { Ln as DEFAULT_SESSION_UPDATED_AFTER_PAGE_SIZE, ta as runTasksWithConcurrency, vn as getConfiguredSessionStorageRuntime } from "./model-selection-_StPBPAp.js";
|
|
2
|
+
import { t as redactSensitiveText } from "./redact-CysJDryP.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import syncFs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as SessionStorageUnavailableError, qt as getConfiguredSessionStorageRuntime } from "./config-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { Ht as SessionStorageUnavailableError, qt as getConfiguredSessionStorageRuntime } from "./config-CPcuaNsB.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
2
|
-
import { gn as SessionStorageUnavailableError, xn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
2
|
+
import { gn as SessionStorageUnavailableError, xn as getConfiguredSessionStorageRuntime } from "./model-selection-DFW5CGMj.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-DMwgeRgr.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { pn as SessionStorageUnavailableError, vn as getConfiguredSessionStorageRuntime } from "./model-selection-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
2
|
+
import { pn as SessionStorageUnavailableError, vn as getConfiguredSessionStorageRuntime } from "./model-selection-_StPBPAp.js";
|
|
3
3
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-Dv__vEQx.js";
|
|
3
3
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
4
|
-
import { Nt as getGlobalHookRunner } from "./sessions-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
4
|
+
import { Nt as getGlobalHookRunner } from "./sessions-A1wDmvXO.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BBj2TedD.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CrrbzX7U.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { b as getGlobalHookRunner } from "./sessions-
|
|
4
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-CNMPyQyQ.js";
|
|
3
|
+
import { b as getGlobalHookRunner } from "./sessions-IqyeyMXp.js";
|
|
4
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-qfLiLlNv.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BEuk6eCG.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-C9zh-qk0.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
4
|
-
import { Nt as getGlobalHookRunner } from "./sessions-
|
|
5
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-DFsyNWFI.js";
|
|
3
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
4
|
+
import { Nt as getGlobalHookRunner } from "./sessions-CzjW7wiR.js";
|
|
5
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BAxcOCcV.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bn5_bObR.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
9
9
|
function createReplyReferencePlanner(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as parseInlineDirectives } from "./sessions-
|
|
2
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
1
|
+
import { K as parseInlineDirectives } from "./sessions-IqyeyMXp.js";
|
|
2
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-qfLiLlNv.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-CBLPPBpH.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
2
|
-
import { o as parseInlineDirectives } from "./sessions-
|
|
2
|
+
import { o as parseInlineDirectives } from "./sessions-A1wDmvXO.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-C9CqDW38.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
-
import { o as parseInlineDirectives } from "./sessions-
|
|
1
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
2
|
+
import { o as parseInlineDirectives } from "./sessions-CzjW7wiR.js";
|
|
3
3
|
import { r as parseFenceSpans } from "./fences-B64kVeCJ.js";
|
|
4
4
|
|
|
5
5
|
//#region src/media/audio-tags.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-BJFJ0deZ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { r as resolveAgentConfig } from "./agent-scope-CoIdVzmg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { J as listBindings } from "./config-
|
|
3
|
-
import { M as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { H as buildAgentPeerSessionKey, L as DEFAULT_AGENT_ID, Q as resolveCanonicalIdentity, R as DEFAULT_MAIN_KEY, V as buildAgentMainSessionKey, Y as normalizeAgentId, at as normalizeAccountId, c as resolveDefaultAgentId, it as DEFAULT_ACCOUNT_ID, k as logDebug, tt as sanitizeAgentId } from "./agent-scope-
|
|
2
|
+
import { J as listBindings } from "./config-CPcuaNsB.js";
|
|
3
|
+
import { M as shouldLogVerbose } from "./subsystem-BTMrlJ-R.js";
|
|
4
|
+
import { H as buildAgentPeerSessionKey, L as DEFAULT_AGENT_ID, Q as resolveCanonicalIdentity, R as DEFAULT_MAIN_KEY, V as buildAgentMainSessionKey, Y as normalizeAgentId, at as normalizeAccountId, c as resolveDefaultAgentId, it as DEFAULT_ACCOUNT_ID, k as logDebug, tt as sanitizeAgentId } from "./agent-scope-BJFJ0deZ.js";
|
|
5
5
|
import { r as normalizeChatType } from "./conversation-label-BkRfLUVO.js";
|
|
6
6
|
|
|
7
7
|
//#region src/routing/resolve-route.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as DEFAULT_MAIN_KEY, K as normalizeAgentId, P as DEFAULT_AGENT_ID, Q as sanitizeAgentId, R as buildAgentMainSessionKey, Y as resolveCanonicalIdentity, c as resolveDefaultAgentId, k as logDebug, nt as normalizeAccountId, tt as DEFAULT_ACCOUNT_ID, z as buildAgentPeerSessionKey } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { h as shouldLogVerbose } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { St as listBindings } from "./model-selection-
|
|
4
|
+
import { St as listBindings } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
|
|
6
6
|
|
|
7
7
|
//#region src/routing/resolve-route.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { h as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, F as normalizeAgentId, G as normalizeAccountId, O as buildAgentPeerSessionKey, R as resolveCanonicalIdentity, V as sanitizeAgentId, W as DEFAULT_ACCOUNT_ID, w as DEFAULT_MAIN_KEY, y as logDebug } from "./workspace-
|
|
5
|
-
import { St as listBindings } from "./model-selection-
|
|
2
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
|
|
3
|
+
import { h as shouldLogVerbose } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import { C as DEFAULT_AGENT_ID, D as buildAgentMainSessionKey, F as normalizeAgentId, G as normalizeAccountId, O as buildAgentPeerSessionKey, R as resolveCanonicalIdentity, V as sanitizeAgentId, W as DEFAULT_ACCOUNT_ID, w as DEFAULT_MAIN_KEY, y as logDebug } from "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { St as listBindings } from "./model-selection-_StPBPAp.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-Ckfze_uK.js";
|
|
7
7
|
|
|
8
8
|
//#region src/routing/resolve-route.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Xa as isTruthyEnvValue } from "./config-
|
|
2
|
+
import { Xa as isTruthyEnvValue } from "./config-CPcuaNsB.js";
|
|
3
3
|
import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
|
|
4
|
-
import { B as appendFileLog } from "./subsystem-
|
|
5
|
-
import { Ot as normalizeUsage } from "./sessions-
|
|
6
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
7
|
-
import { n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
8
|
-
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic
|
|
4
|
+
import { B as appendFileLog } from "./subsystem-BTMrlJ-R.js";
|
|
5
|
+
import { Ot as normalizeUsage } from "./sessions-IqyeyMXp.js";
|
|
6
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-BgW4rG28.js";
|
|
7
|
+
import { n as SILENT_REPLY_TOKEN } from "./tokens-qfLiLlNv.js";
|
|
8
|
+
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic--vAGyKdB.js";
|
|
9
9
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-B2VnYC0m.js";
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-CQ3KPjMe.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-CBLPPBpH.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-B_wfvntf.js";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
3
|
import { C as appendFileLog } from "./subsystem-DynBFcQj.js";
|
|
4
|
-
import { ua as isTruthyEnvValue } from "./model-selection-
|
|
4
|
+
import { ua as isTruthyEnvValue } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-D81t1pbF.js";
|
|
6
|
-
import { E as normalizeUsage } from "./sessions-
|
|
6
|
+
import { E as normalizeUsage } from "./sessions-A1wDmvXO.js";
|
|
7
7
|
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-XckGznW_.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CkpWUesj.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-B7yKTLAY.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-D9zLeiKy.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-C9CqDW38.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-D4Hftiqp.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
3
|
-
import { C as appendFileLog } from "./subsystem-
|
|
4
|
-
import { oa as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
6
|
-
import { E as normalizeUsage } from "./sessions-
|
|
7
|
-
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-
|
|
3
|
+
import { C as appendFileLog } from "./subsystem-DynBFcQj.js";
|
|
4
|
+
import { oa as isTruthyEnvValue } from "./model-selection-_StPBPAp.js";
|
|
5
|
+
import { n as SILENT_REPLY_TOKEN } from "./tokens-C2ll8wSq.js";
|
|
6
|
+
import { E as normalizeUsage } from "./sessions-CzjW7wiR.js";
|
|
7
|
+
import { c as logModelCallCompleted, p as logSessionStateChange, s as logMessageQueued, t as diag, u as logModelCallStarted, v as refreshRunProgress } from "./diagnostic-BSnQ1U_E.js";
|
|
8
8
|
import { r as getDiagnosticSessionState } from "./diagnostic-session-state-DJQj3Ka7.js";
|
|
9
|
-
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-
|
|
10
|
-
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-
|
|
9
|
+
import { o as isMessagingToolDuplicateNormalized, s as normalizeTextForComparison } from "./chat-content-BdADRLL0.js";
|
|
10
|
+
import { a as formatReasoningMessage, c as promoteThinkingTagsToBlocks, i as extractThinkingFromTaggedText, n as extractAssistantThinking, r as extractThinkingFromTaggedStream, t as extractAssistantText } from "./pi-embedded-utils-DD7HmeWR.js";
|
|
11
11
|
import { r as parseFenceSpans } from "./fences-B64kVeCJ.js";
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-DsGD4aw1.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gi as resolveRetryConfig, Ki as retryAsync, Xn as resolveDiscordAccount, Zn as normalizeDiscordToken, c as loadConfig } from "./config-
|
|
3
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { Gi as resolveRetryConfig, Ki as retryAsync, Xn as resolveDiscordAccount, Zn as normalizeDiscordToken, c as loadConfig } from "./config-CPcuaNsB.js";
|
|
3
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-BpoIaiTK.js";
|
|
5
|
-
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
5
|
+
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-BTgGxcIG.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BEuk6eCG.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Crj_Y0Qx.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-IKFrcD2H.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DJPbv7La.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-HhYz4kBT.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-BTIafSNy.js";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { promisify } from "node:util";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs/promises";
|
|
16
16
|
import { execFile } from "node:child_process";
|
|
17
17
|
import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
18
18
|
import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RateLimitError, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";
|
|
@@ -1591,7 +1591,7 @@ function getChannelActivity(params) {
|
|
|
1591
1591
|
async function unlinkIfExists(filePath) {
|
|
1592
1592
|
if (!filePath) return;
|
|
1593
1593
|
try {
|
|
1594
|
-
await
|
|
1594
|
+
await fs.unlink(filePath);
|
|
1595
1595
|
} catch {}
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
@@ -1708,7 +1708,7 @@ async function generateWaveformFromPcm(filePath) {
|
|
|
1708
1708
|
"8000",
|
|
1709
1709
|
tempPcm
|
|
1710
1710
|
]);
|
|
1711
|
-
const pcmData = await
|
|
1711
|
+
const pcmData = await fs.readFile(tempPcm);
|
|
1712
1712
|
const samples = new Int16Array(pcmData.buffer, pcmData.byteOffset, pcmData.byteLength / 2);
|
|
1713
1713
|
const step = Math.max(1, Math.floor(samples.length / WAVEFORM_SAMPLES));
|
|
1714
1714
|
const waveform = [];
|
|
@@ -2063,7 +2063,7 @@ async function materializeVoiceMessageInput(mediaUrl) {
|
|
|
2063
2063
|
const ext = extFromName || extFromMime || ".bin";
|
|
2064
2064
|
const tempDir = resolvePreferredOpenClawTmpDir();
|
|
2065
2065
|
const filePath = path.join(tempDir, `voice-src-${crypto.randomUUID()}${ext}`);
|
|
2066
|
-
await
|
|
2066
|
+
await fs.writeFile(filePath, media.buffer, { mode: 384 });
|
|
2067
2067
|
return { filePath };
|
|
2068
2068
|
}
|
|
2069
2069
|
/**
|
|
@@ -2099,7 +2099,7 @@ async function sendVoiceMessageDiscord(to, audioPath, opts = {}) {
|
|
|
2099
2099
|
oggPath = ogg.path;
|
|
2100
2100
|
oggCleanup = ogg.cleanup;
|
|
2101
2101
|
const metadata = await getVoiceMessageMetadata(oggPath);
|
|
2102
|
-
const audioBuffer = await
|
|
2102
|
+
const audioBuffer = await fs.readFile(oggPath);
|
|
2103
2103
|
const result = await sendDiscordVoiceMessage(rest, channelId, audioBuffer, metadata, opts.replyTo, request, opts.silent);
|
|
2104
2104
|
recordChannelActivity({
|
|
2105
2105
|
channel: "discord",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Cr as resolveDiscordAccount, U as loadConfig, b as resolveRetryConfig, wr as normalizeDiscordToken, x as retryAsync } from "./model-selection-
|
|
2
|
+
import { mt as resolvePreferredOpenClawTmpDir, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
|
+
import { Cr as resolveDiscordAccount, U as loadConfig, b as resolveRetryConfig, wr as normalizeDiscordToken, x as retryAsync } from "./model-selection-_StPBPAp.js";
|
|
4
4
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CaO0zksh.js";
|
|
5
|
-
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
-
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
9
|
-
import { t as resolveFetch } from "./fetch-
|
|
5
|
+
import { g as maxBytesForKind, l as extensionForMime } from "./image-ops-DEUr_rAC.js";
|
|
6
|
+
import { i as chunkMarkdownTextWithMode, l as resolveChunkMode, u as resolveChunkNewlinePacking } from "./chunk-BAxcOCcV.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
8
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-B0rUqFWs.js";
|
|
9
|
+
import { t as resolveFetch } from "./fetch-DmpLwwor.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-CdjlUaH0.js";
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-tChtQWdX.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import { promisify } from "node:util";
|