wednesdayai 0.5.1-dev.21 → 0.5.1-dev.23
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/{acp-cli-BmhbACSZ.js → acp-cli-D7pT9Bao.js} +2 -2
- package/dist/{acp-cli-Dblp7m2Z.js → acp-cli-DFqeyWQJ.js} +2 -2
- package/dist/{agent-scope-CeLIuOpq.js → agent-scope-DCgndASv.js} +3 -3
- package/dist/{agent-turn-enqueue-IiwTs8II.js → agent-turn-enqueue-B30hT0x-.js} +5 -5
- package/dist/{agent-turn-enqueue-DK8QApSV.js → agent-turn-enqueue-CI-A0Cuo.js} +5 -5
- package/dist/{agent-turn-execute-3cc3W1hp.js → agent-turn-execute-CFwfJKy2.js} +39 -37
- package/dist/{agent-turn-recovery-adapter-BkoX8bcd.js → agent-turn-recovery-adapter-DWGzJ2s-.js} +1 -1
- package/dist/{agent-turn-recovery-adapter-B909sIMD.js → agent-turn-recovery-adapter-TKOtg3bA.js} +1 -1
- package/dist/{agent-turn-runner-DUKUxZcn.js → agent-turn-runner-12Exv9CB.js} +1 -1
- package/dist/{agent-turn-runner-C3Buntbu.js → agent-turn-runner-Btk5sBH0.js} +1 -1
- package/dist/{agent-turn-runner-BglHs_p0.js → agent-turn-runner-CpsTt9uv.js} +6 -6
- package/dist/{agent-turn-runner-BTBy1i8Z.js → agent-turn-runner-XPJ75h7l.js} +4 -4
- package/dist/{agents-DJ_ssbNO.js → agents-BcHFvOHE.js} +6 -6
- package/dist/{agents.config-D-yD07v8.js → agents.config-C_4HsmOy.js} +1 -1
- package/dist/{agents.config-BcBusEWj.js → agents.config-DwW88u5f.js} +1 -1
- package/dist/{api-key-rotation-DQY1fynd.js → api-key-rotation-dv2YbGr8.js} +2 -2
- package/dist/{audio-preflight-DMq3PMsW.js → audio-preflight-Cv1eSuSU.js} +6 -6
- package/dist/{audio-preflight-DZdCHEnu.js → audio-preflight-DGyrDCsN.js} +7 -7
- package/dist/{audio-preflight-C0VnQEEN.js → audio-preflight-DKR8c6Qw.js} +7 -7
- package/dist/{audio-preflight-BTQmKMCZ.js → audio-preflight-DnuyzcBj.js} +29 -29
- package/dist/{audio-transcription-runner-C_DRSo6Z.js → audio-transcription-runner-BnmmtXUh.js} +1 -1
- package/dist/{audio-transcription-runner-C9Ld3zXw.js → audio-transcription-runner-CRxHRlMX.js} +1 -1
- package/dist/{audio-transcription-runner-BeC-knyy.js → audio-transcription-runner-DZa96tEn.js} +26 -26
- package/dist/{audio-transcription-runner-9GXPmTBK.js → audio-transcription-runner-DsqwKJ49.js} +1 -1
- package/dist/{audit-CmZAI3_9.js → audit-Dk69ufby.js} +6 -6
- package/dist/{audit-CH1D3iBG.js → audit-DkY9yUsn.js} +6 -6
- package/dist/{auth-choice-dWGUA_8g.js → auth-choice-BkWEr-Pe.js} +2 -2
- package/dist/{auth-choice-CEOnAk7f.js → auth-choice-kkL-bZp9.js} +2 -2
- package/dist/{banner-DWHiEk1H.js → banner-DOesQn79.js} +1 -1
- package/dist/{browser-cli-CfoUYSxy.js → browser-cli-Cy6LJQhv.js} +3 -3
- package/dist/{browser-cli-P7SKIutx.js → browser-cli-Mbn8pYZZ.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +60 -60
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{call-xB0MOQUF.js → call-B1surxJJ.js} +3 -1
- package/dist/{call-CUY8VoHh.js → call-CsmPnXmY.js} +3 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-DoBHFita.js → channel-activity-Kn1_ykXE.js} +3 -3
- package/dist/{channel-options-DCKEbe7Z.js → channel-options-Am9ZvwKB.js} +1 -1
- package/dist/{channel-options-DfjYj7oi.js → channel-options-TBxP7o5K.js} +1 -1
- package/dist/{channels-cli-DrcS29Pk.js → channels-cli-3ihKjjtq.js} +33 -33
- package/dist/{channels-cli-DHvavLcJ.js → channels-cli-CGWblqhQ.js} +32 -32
- package/dist/{chat-content-hesA0q3j.js → chat-content-B_nVIplC.js} +4 -4
- package/dist/{chat-content-BZeW5ciD.js → chat-content-C7_U4hJq.js} +34 -34
- package/dist/{chrome-DZ6ejAmp.js → chrome-Bukcguhv.js} +23 -23
- package/dist/{chrome-C2xK35m5.js → chrome-DNh94Pjx.js} +8 -8
- package/dist/{chunk-DOckmOyp.js → chunk-CEygNI3g.js} +3 -3
- package/dist/{clawbot-cli-CLz6KuWz.js → clawbot-cli-BRicu1s1.js} +5 -5
- package/dist/{clawbot-cli-CzDwX-gU.js → clawbot-cli-Be313PY0.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-D2tBPn1z.js → cli-BFoMFw-E.js} +28 -28
- package/dist/{cli-DBqTAu56.js → cli-BcIWokUA.js} +29 -29
- package/dist/{client-CIDXfGgo.js → client-DA6hPHoC.js} +4 -1
- package/dist/{client-BCYzc-y7.js → client-MNdGt1bC.js} +4 -1
- package/dist/{client-profiles-BaJqyqVb.js → client-profiles-BkQpgWwd.js} +1 -1
- package/dist/{client-profiles-DGW7rrdk.js → client-profiles-CZqoxT_J.js} +1 -1
- package/dist/{command-queue-uNIrlK4C.js → command-queue-BiT79iw_.js} +1 -1
- package/dist/{command-queue-3hrr088f.js → command-queue-C4uOOl0Z.js} +1 -1
- package/dist/{command-queue-D360YW1L.js → command-queue-Cd0AajLX.js} +1 -1
- package/dist/{command-queue-D2t-RCzv.js → command-queue-DnPEEtOJ.js} +1 -1
- package/dist/{command-registry-DuGYq06B.js → command-registry-CKhdmVgi.js} +13 -13
- package/dist/{command-secret-targets-DAtwJ6C7.js → command-secret-targets-9z88Sdd9.js} +2 -2
- package/dist/{command-secret-targets-j8KBmpix.js → command-secret-targets-r25GrCux.js} +2 -2
- package/dist/{commands-registry-CZGO6Zk0.js → commands-registry-Cof4HjvY.js} +2 -2
- package/dist/{completion-cli-BmLGd23K.js → completion-cli-DCm06gIy.js} +2 -2
- package/dist/{completion-cli-DuJJOsOD.js → completion-cli-DPC7jSts.js} +1 -1
- package/dist/{config-cli-DmPS8dHv.js → config-cli-DSSYHC1h.js} +1 -1
- package/dist/{config-cli-D7Km0W0t.js → config-cli-DzKCSgly.js} +1 -1
- package/dist/{configure-Cv8WHggj.js → configure-c7eXMXPC.js} +6 -6
- package/dist/{configure-Dp_BDe0p.js → configure-ev80kp3h.js} +6 -6
- package/dist/contracts/gateway-protocol.schema.json +23 -0
- package/dist/control-ui/assets/{dreams-5cpOLdgU.js → dreams-CFX8_iO7.js} +2 -2
- package/dist/control-ui/assets/{dreams-5cpOLdgU.js.map → dreams-CFX8_iO7.js.map} +1 -1
- package/dist/control-ui/assets/{index-D6XwnS7I.js → index-CambJeDO.js} +4 -4
- package/dist/control-ui/assets/{index-D6XwnS7I.js.map → index-CambJeDO.js.map} +1 -1
- package/dist/control-ui/assets/{learning-BORaiTQ4.js → learning-XJj58fEK.js} +2 -2
- package/dist/control-ui/assets/{learning-BORaiTQ4.js.map → learning-XJj58fEK.js.map} +1 -1
- package/dist/control-ui/assets/{view-chat-ByDyhnLw.js → view-chat-DCakYJRB.js} +3 -3
- package/dist/control-ui/assets/{view-chat-ByDyhnLw.js.map → view-chat-DCakYJRB.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/dist/{cron-cli-DcatymNM.js → cron-cli-B7av_Qj-.js} +3 -3
- package/dist/{cron-cli-Bxd1ztzh.js → cron-cli-D-MXQLbx.js} +3 -3
- package/dist/{daemon-cli-P_665VBl.js → daemon-cli-C0X7BA3B.js} +2 -2
- package/dist/{daemon-cli-sdDY3Rkr.js → daemon-cli-D-zUFs16.js} +2 -2
- package/dist/daemon-cli.js +5 -0
- package/dist/{deliver-BGZedjpd.js → deliver-CD-qJ08p.js} +7 -5
- package/dist/{deliver-C0DKFL-c.js → deliver-CpY1AlyA.js} +29 -29
- package/dist/{deliver-Lga2gynK.js → deliver-Czj8jts5.js} +5 -5
- package/dist/{deliver-6pCupDgE.js → deliver-D3zKg0i3.js} +4 -4
- package/dist/{devices-cli-5NqagsuD.js → devices-cli-Bx1kF97H.js} +2 -2
- package/dist/{devices-cli-D6FG7yBy.js → devices-cli-D55ggw6F.js} +2 -2
- package/dist/{diagnostic-DBospa-B.js → diagnostic-Bu6Kxc66.js} +1 -1
- package/dist/{diagnostic-CdJb6i0b.js → diagnostic-BzGocbak.js} +1 -1
- package/dist/{diagnostic-uYRm3RAs.js → diagnostic-CKFgwhkU.js} +5 -5
- package/dist/{diagnostic-BP20aK6Y.js → diagnostic-CWdhJ9KR.js} +1 -1
- package/dist/{dm-policy-shared-C8iB_a-f.js → dm-policy-shared-JZebmiY8.js} +1 -1
- package/dist/{doctor-completion-BtJqYgVS.js → doctor-completion-Bx2Vu53y.js} +1 -1
- package/dist/{doctor-completion-Br2pHonN.js → doctor-completion-C1c_Fm0b.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-83K08uTq.js → errors-COs_vQr3.js} +1 -1
- package/dist/{exec-approvals-cli-DzJlH70p.js → exec-approvals-cli-RX2L6dhB.js} +4 -4
- package/dist/{exec-approvals-cli-D61d8hgT.js → exec-approvals-cli-U1avv2dD.js} +4 -4
- package/dist/extensionAPI.js +16 -16
- package/dist/{fetch-fObya4WR.js → fetch-B1ohBh6A.js} +8 -8
- package/dist/{fetch-guard-BucfWGi8.js → fetch-guard-BXzVwvnJ.js} +3 -3
- package/dist/{frontmatter-IfoWyoLV.js → frontmatter-Cw_6jMAR.js} +5 -5
- package/dist/{fs-safe-joAzTKB9.js → fs-safe-BK5ALzKD.js} +26 -26
- package/dist/{gateway-cli-BZFHtE2A.js → gateway-cli-CrFsVy3G.js} +53 -50
- package/dist/{gateway-cli-CzrTOBz5.js → gateway-cli-rJFjYA1c.js} +54 -51
- package/dist/{gateway-rpc-D36kXOsx.js → gateway-rpc-BArMTxJU.js} +1 -1
- package/dist/{gateway-rpc-hfUfa0T-.js → gateway-rpc-k1CUY-d7.js} +1 -1
- package/dist/github-copilot-token-DYYKoDuV.js +106 -0
- package/dist/{health-CVUuZRpQ.js → health-DjlQU_Tv.js} +4 -4
- package/dist/{health-K3ylOag4.js → health-jZPF8weC.js} +4 -4
- package/dist/{hooks-cli-CNlH_Ckf.js → hooks-cli-CVygK2yq.js} +30 -30
- package/dist/{hooks-cli-BTxvzxSG.js → hooks-cli-b4k2GboY.js} +29 -29
- package/dist/{image-ops-DlAa1zGf.js → image-ops-C-5VgbLB.js} +1 -1
- package/dist/index.js +32 -32
- package/dist/{ir-Cs9qeaeL.js → ir-DioI2VyB.js} +5 -5
- package/dist/{legacy-names-Dh4RlQMQ.js → legacy-names-CghFcfry.js} +1 -1
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{logger-vVASmiVr.js → logger-J4xjy-6D.js} +1 -1
- package/dist/{logs-cli-ZXfvpQn5.js → logs-cli-BeLB-Xck.js} +3 -3
- package/dist/{logs-cli-DwpuZXwp.js → logs-cli-CvF3EIE2.js} +3 -3
- package/dist/{manager-CTeCpzGz.js → manager-D728Thsn.js} +18 -18
- package/dist/{manager-CsTeZuhu.js → manager-DCXdygsq.js} +1 -1
- package/dist/{manager-d_jLZwIa.js → manager-gw84UdyQ.js} +1 -1
- package/dist/{markdown-tables-BQLg3bjX.js → markdown-tables-DfLMw9ti.js} +2 -2
- package/dist/{memory-cli-C6IsfNdf.js → memory-cli-BcjjHcwL.js} +2 -2
- package/dist/{memory-cli-Dm4vpHAU.js → memory-cli-H4nCh_8v.js} +2 -2
- package/dist/{model-selection-UX4A5pdj.js → model-selection-BHGpQSa9.js} +87 -87
- package/dist/{models-FSASF0m5.js → models-BBZ_Tvpf.js} +3 -3
- package/dist/{models-cli-CqhUy9E-.js → models-cli-7V9N158Z.js} +30 -30
- package/dist/{models-cli-BIWkA9C9.js → models-cli-BJK0d_IM.js} +28 -28
- package/dist/{models-config-CNw9rdH1.js → models-config-CJUMccZW.js} +2 -2
- package/dist/{node-cli-BsB2z4rN.js → node-cli-BUV9i73l.js} +4 -4
- package/dist/{node-cli-DFxjiUT-.js → node-cli-DEVZws2K.js} +4 -4
- package/dist/{node-command-policy-BG0trkgo.js → node-command-policy-C0OmboTh.js} +1 -1
- package/dist/{node-command-policy-CVGtgIFJ.js → node-command-policy-Dbm2r7IP.js} +1 -1
- package/dist/{nodes-cli-BbRJxfod.js → nodes-cli-CYpc3Yvq.js} +3 -3
- package/dist/{nodes-cli-Cos0b-Pr.js → nodes-cli-Chp9WqRe.js} +3 -3
- package/dist/{npm-resolution-CwoZ0zIw.js → npm-resolution-BNpY_aOs.js} +1 -1
- package/dist/{npm-resolution-BKhZg_qE.js → npm-resolution-DaXE7ULy.js} +1 -1
- package/dist/{onboard-Bhpqg04u.js → onboard-BOhVuXUR.js} +3 -3
- package/dist/{onboard-qzS9Ex3E.js → onboard-C-KqZZqX.js} +3 -3
- package/dist/{onboard-channels-CdETO6vp.js → onboard-channels-B89jrN2Y.js} +2 -2
- package/dist/{onboard-channels-DqqM-gZ4.js → onboard-channels-DmJGOEPI.js} +2 -2
- package/dist/{onboard-helpers-CyLVkn7p.js → onboard-helpers-BHTSdqFW.js} +1 -1
- package/dist/{onboard-helpers-BjlBFVLF.js → onboard-helpers-DFWV67fv.js} +1 -1
- package/dist/{onboard-remote-BoobabMS.js → onboard-remote-BL2_Vzie.js} +1 -1
- package/dist/{onboard-remote-CGfCa4Gn.js → onboard-remote-aFlQukcN.js} +1 -1
- package/dist/{onboard-skills-qXATWBbv.js → onboard-skills-DBsUD_Fs.js} +1 -1
- package/dist/{onboard-skills-CA3vVftf.js → onboard-skills-fb0X7sb5.js} +1 -1
- package/dist/{onboarding-9F7Zrfos.js → onboarding-C6Xs7G9Y.js} +7 -7
- package/dist/{onboarding-B0tWDl2D.js → onboarding-DjYLPv7p.js} +7 -7
- package/dist/{onboarding.finalize-D-GEVbwy.js → onboarding.finalize-BzPTRheS.js} +35 -35
- package/dist/{onboarding.finalize-DZaf33cl.js → onboarding.finalize-Sx0H879S.js} +33 -33
- package/dist/{onboarding.gateway-config-D2JKnTD-.js → onboarding.gateway-config-CkoaBZS4.js} +5 -5
- package/dist/{onboarding.gateway-config-BjNFm5qL.js → onboarding.gateway-config-DFk1lZ7k.js} +5 -5
- package/dist/{operator-commands-Cak1KHXQ.js → operator-commands-CMLC3NdV.js} +2 -2
- package/dist/{operator-commands-QumqWQQg.js → operator-commands-DWyDwJ5E.js} +2 -2
- package/dist/{outbound-attachment-CFHAAdf4.js → outbound-attachment-DtVXUXnX.js} +2 -2
- package/dist/{outbound-message-hooks-DD51nZnK.js → outbound-message-hooks-8LGAoYF_.js} +1 -1
- package/dist/{outbound-message-hooks-ZPwBUN_R.js → outbound-message-hooks-CsYq3_vL.js} +1 -1
- package/dist/{outbound-message-hooks-WWLXsRwc.js → outbound-message-hooks-DUHpZ2aL.js} +5 -5
- package/dist/{outbound-message-hooks-DC75UHT4.js → outbound-message-hooks-tjGZZOYq.js} +1 -1
- package/dist/{path-alias-guards-BzCkdlOk.js → path-alias-guards-E9ntDORB.js} +1 -1
- package/dist/paths-BIDPYPVC.js +233 -0
- package/dist/{pi-embedded-BSXEJok2.js → pi-embedded--18wTN8q.js} +279 -272
- package/dist/{pi-embedded-helpers-D7uD-CgK.js → pi-embedded-helpers-Brv2iTWi.js} +2 -2
- package/dist/{pi-embedded-helpers-StwgdB31.js → pi-embedded-helpers-ClJpdsSV.js} +2 -2
- package/dist/{pi-embedded-recovery-adapter-D7px7ESy.js → pi-embedded-recovery-adapter-BEKLsxLt.js} +10 -10
- package/dist/{pi-embedded-recovery-adapter-CfgLn9QF.js → pi-embedded-recovery-adapter-dQZ-gtY4.js} +10 -10
- package/dist/{pi-embedded-utils-DjVnTKKi.js → pi-embedded-utils-C-FQE63E.js} +1 -1
- package/dist/{pi-embedded-utils-BjqdCUkA.js → pi-embedded-utils-C7ErjdjF.js} +3 -3
- package/dist/{pi-embedded-utils-B8Raycd6.js → pi-embedded-utils-CKxA8dqZ.js} +1 -1
- package/dist/{pi-embedded-utils-CR3tST8r.js → pi-embedded-utils-D7vaAoE6.js} +1 -1
- package/dist/{pi-embedded-BhsFkp5Y.js → pi-embedded-vIZchQTO.js} +42 -35
- package/dist/{pi-model-discovery-CQdUMRm4.js → pi-model-discovery-BaH_6win.js} +7 -7
- package/dist/{pi-tools.policy-DXLQHQAj.js → pi-tools.policy-BSgFR5ag.js} +1 -1
- package/dist/{plugin-registry-DH7Hnw6l.js → plugin-registry-CDj1s2Qo.js} +1 -1
- package/dist/{plugin-registry-DgIkh9ii.js → plugin-registry-CmiGMpCp.js} +1 -1
- package/dist/plugin-sdk/{agent-turn-execute-CW7LtXMC.js → agent-turn-execute-DRGUpyj_.js} +15 -15
- package/dist/plugin-sdk/{agent-turn-execute-BxdAt_ht.js → agent-turn-execute-vNMPaEsb.js} +15 -15
- package/dist/plugin-sdk/{agent-turn-runner-orbrCxRO.js → agent-turn-runner-B48Ac2Mq.js} +5 -5
- package/dist/plugin-sdk/{agent-turn-runner-sOn9sAG9.js → agent-turn-runner-CJ061NAh.js} +4 -4
- package/dist/plugin-sdk/{agent-turn-runner-CRaNFFTm.js → agent-turn-runner-xP1KK6u-.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CBBGdhe1.js → audio-preflight-BDZ7cLko.js} +5 -5
- package/dist/plugin-sdk/{audio-preflight-BZXIHlnM.js → audio-preflight-COb5kXAH.js} +6 -6
- package/dist/plugin-sdk/{audio-preflight-CNU5kpWj.js → audio-preflight-DpIgQPUE.js} +1 -1
- package/dist/plugin-sdk/{audio-transcription-runner-D5dYI82C.js → audio-transcription-runner-DqbgqKuA.js} +1 -1
- package/dist/plugin-sdk/{audio-transcription-runner-D8y2D8k8.js → audio-transcription-runner-tMxFDdPy.js} +1 -1
- package/dist/plugin-sdk/{chat-content-DB5Wz2lG.js → chat-content-B4kExRGx.js} +1 -1
- package/dist/plugin-sdk/{chat-content-aOAkouil.js → chat-content-CmG6uniC.js} +1 -1
- package/dist/plugin-sdk/{command-detection-AlAuh3r9.js → command-detection-Cx5GspTs.js} +37 -30
- package/dist/plugin-sdk/{command-queue-JvIhb__x.js → command-queue-BrpT-5Sy.js} +1 -1
- package/dist/plugin-sdk/{command-queue-J8WWtdem.js → command-queue-mdn12mZN.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DMJXMFU-.js → command-queue-uRF0EuVO.js} +1 -1
- package/dist/plugin-sdk/{deliver-D77qfyGv.js → deliver-CckI3OJ8.js} +4 -4
- package/dist/plugin-sdk/{deliver-46BXvvk5.js → deliver-D3X61EfY.js} +4 -4
- package/dist/plugin-sdk/{deliver-tcGRRL8s.js → deliver-DOj7WTIw.js} +5 -5
- package/dist/plugin-sdk/{deliver-BOyf6UPp.js → deliver-qMYtKe1O.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-DVk1j05H.js → diagnostic-BQhPQdFK.js} +1 -1
- package/dist/plugin-sdk/{diagnostic-C-BgFx1S.js → diagnostic-CcNUspD1.js} +1 -1
- package/dist/plugin-sdk/{diagnostic-CLyicI69.js → diagnostic-I0XYqjlG.js} +1 -1
- package/dist/plugin-sdk/index.js +16 -16
- package/dist/plugin-sdk/{monitor-D9AzoNHs.js → monitor-CjGR673h.js} +36 -29
- package/dist/plugin-sdk/{pi-embedded-utils-Bj86frFf.js → pi-embedded-utils-BeDAZIRN.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-gWjx_FJu.js → pi-embedded-utils-CXRILg4X.js} +1 -1
- package/dist/plugin-sdk/{provider-dispatcher-BkgqrySb.js → provider-dispatcher-CaEeja4a.js} +15 -15
- package/dist/plugin-sdk/{provider-dispatcher-RG1EJhMg.js → provider-dispatcher-CwOOkcSh.js} +15 -15
- package/dist/plugin-sdk/{provider-image-CK8PByo3.js → provider-image-1--b__Rf.js} +1 -1
- package/dist/plugin-sdk/{provider-image-BRuhIUH4.js → provider-image-CWR1baFo.js} +4 -4
- package/dist/plugin-sdk/{provider-image-BsvAEUj7.js → provider-image-D3L7uRQL.js} +4 -4
- package/dist/plugin-sdk/{provider-image-BRiO1hJO.js → provider-image-DfMOZvCj.js} +1 -1
- package/dist/plugin-sdk/{replies-CNJcNn1X.js → replies-Bvgbr4Gl.js} +2 -2
- package/dist/plugin-sdk/{replies-CmfWsSdE.js → replies-DpAL4lju.js} +2 -2
- package/dist/plugin-sdk/{replies-Diq1jozB.js → replies-K0SP92k3.js} +3 -3
- package/dist/plugin-sdk/{replies-3-6UUC2y.js → replies-S7-hIwEu.js} +3 -3
- package/dist/plugin-sdk/{reply-directives-C_nV536z.js → reply-directives-3w5Sb0-K.js} +1 -1
- package/dist/plugin-sdk/{reply-directives--THCb2vc.js → reply-directives-CCmYO5TU.js} +1 -1
- package/dist/plugin-sdk/{runs-CmbFSwOD.js → runs-Bh-TSTul.js} +6 -6
- package/dist/plugin-sdk/{runs-nP6hONs2.js → runs-Ciq2OtzT.js} +5 -5
- package/dist/plugin-sdk/{runs-Cu-M6Lh7.js → runs-DgLRRHnl.js} +6 -6
- package/dist/plugin-sdk/{runs-BU1Eppml.js → runs-lzwgSAQQ.js} +5 -5
- package/dist/plugin-sdk/{send-LkmFhgsK.js → send-4L6l04nt.js} +2 -2
- package/dist/plugin-sdk/{send-D7UktRfh.js → send-DKVsq9M4.js} +1 -1
- package/dist/plugin-sdk/{send-C2QGhDII.js → send-RnIEnr9s.js} +2 -2
- package/dist/plugin-sdk/{send-aiyKj-5V.js → send-T7FFZ4GT.js} +1 -1
- package/dist/plugin-sdk/{session-context-DLi5r0L8.js → session-context-Ct8StxcQ.js} +1 -1
- package/dist/plugin-sdk/{session-context-D79uWb-f.js → session-context-DLVW1kjd.js} +1 -1
- package/dist/plugin-sdk/{session-meta-DwqjC-No.js → session-meta-CjpVFrUg.js} +1 -1
- package/dist/plugin-sdk/{sessions-D9WFZu21.js → sessions-55u1Rz4h.js} +1 -0
- package/dist/plugin-sdk/{sessions-CmLCbwdv.js → sessions-DgJUTr39.js} +1 -0
- package/dist/plugin-sdk/src/agents/tool-display-common.d.ts +10 -0
- package/dist/plugin-sdk/src/gateway/protocol/index.d.ts +3 -0
- package/dist/plugin-sdk/src/gateway/protocol/schema/protocol-schemas.d.ts +6 -0
- package/dist/plugin-sdk/src/gateway/protocol/schema/sessions.d.ts +6 -0
- package/dist/plugin-sdk/src/gateway/protocol/schema/types.d.ts +2 -0
- package/dist/plugin-sdk/src/gateway/session-utils.types.d.ts +2 -0
- package/dist/plugin-sdk/src/shared/session-visibility.d.ts +1 -1
- package/dist/plugin-sdk/src/tts/tts.d.ts +2 -0
- package/dist/plugin-sdk/{subagent-registry-D-9HI-_X.js → subagent-registry-CfMU3EOY.js} +15 -15
- package/dist/plugin-sdk/{subagent-registry-CuACJDRa.js → subagent-registry-n7onkQYC.js} +15 -15
- package/dist/plugin-sdk/testing.js +15 -15
- package/dist/{plugins-cli-D2epBFli.js → plugins-cli-BfVyfDVB.js} +30 -30
- package/dist/{plugins-cli-YMB3dwun.js → plugins-cli-RYPupoUU.js} +29 -29
- package/dist/{program-context-C0OAcdai.js → program-context-Bd6intne.js} +37 -37
- package/dist/{program-DhncJMbr.js → program-vHNIwjM_.js} +35 -35
- package/dist/{prompt-select-styled-pBLBu3w7.js → prompt-select-styled-BwIQiRks.js} +11 -11
- package/dist/{prompt-select-styled-B0HZWrVy.js → prompt-select-styled-CvmUNFDK.js} +11 -11
- package/dist/{provider-image-CApPjEsW.js → provider-image-BvBYtGGJ.js} +1 -1
- package/dist/{provider-image-D2FrDW-X.js → provider-image-DVTuOv92.js} +6 -6
- package/dist/{provider-image-CAWS0JMV.js → provider-image-KmAZWQje.js} +1 -1
- package/dist/{provider-image-B-KFl1me.js → provider-image-n0L8CIDm.js} +1 -1
- package/dist/{proxy-CPi-EHQf.js → proxy-CrSpy5Aw.js} +1 -1
- package/dist/{proxy-env-1eta-137.js → proxy-env-BxR4m86L.js} +1 -1
- package/dist/{proxy-fetch-SAeVJOzX.js → proxy-fetch-g109vqdt.js} +1 -1
- package/dist/{push-apns-BAZsfMOy.js → push-apns--0fj47Qj.js} +2 -2
- package/dist/{push-apns-PAONdNH4.js → push-apns-Cb0sjE90.js} +2 -2
- package/dist/{pw-ai-DtPiMDW2.js → pw-ai-BJiiE3V8.js} +1 -1
- package/dist/{pw-ai-Czj8Ud3z.js → pw-ai-CC8qsp4R.js} +1 -1
- package/dist/{pw-ai-D9Y__zb9.js → pw-ai-CNTt9O_x.js} +14 -14
- package/dist/{pw-ai-BZjpW2LJ.js → pw-ai-DMPGyJxJ.js} +1 -1
- package/dist/{qmd-manager-C0SNPJNQ.js → qmd-manager-CU9iEql0.js} +12 -12
- package/dist/{qr-cli-DAghVVtT.js → qr-cli-B1vszJrL.js} +3 -3
- package/dist/{qr-cli-C8WFS-12.js → qr-cli-BZy4AXuc.js} +3 -3
- package/dist/{query-expansion-lPFsJzxE.js → query-expansion-B_2rETEo.js} +13 -13
- package/dist/{recorder-Dtl7MFGH.js → recorder-Clg9Kbqu.js} +2 -2
- package/dist/{recovery-adapter-CZUNVpQO.js → recovery-adapter-D3YllPfB.js} +2 -2
- package/dist/{recovery-adapter-CRSPS8I2.js → recovery-adapter-Dyk72MfJ.js} +2 -2
- package/dist/{recovery-adapter-BSdwo2OS.js → recovery-adapter-Hdhf6HDW.js} +1 -1
- package/dist/{recovery-adapter-BpJ8BscF.js → recovery-adapter-y0rKMaw8.js} +1 -1
- package/dist/{redact-Da2jd8m8.js → redact-DpE5Tg36.js} +1 -1
- package/dist/{register.agent-FDTmtEUr.js → register.agent-CgPP5ADX.js} +31 -31
- package/dist/{register.agent-C4f6rhJo.js → register.agent-DfScK2hV.js} +33 -33
- package/dist/{register.configure-Dv5O2Xb5.js → register.configure-C8uYH0Yy.js} +35 -35
- package/dist/{register.configure-Hw_sXK-z.js → register.configure-dflFJ7N_.js} +34 -34
- package/dist/{register.maintenance-D8jjjhHB.js → register.maintenance-DYrx2td9.js} +35 -35
- package/dist/{register.maintenance-DK1PJ9oQ.js → register.maintenance-DplgYMC9.js} +37 -37
- package/dist/{register.message-D2APO70t.js → register.message-BBQ6Wdt9.js} +29 -29
- package/dist/{register.message-GNpuxvGM.js → register.message-jvrIPxVV.js} +30 -30
- package/dist/{register.onboard-0G3JduCW.js → register.onboard-eC1JSQFQ.js} +6 -6
- package/dist/{register.onboard-DONtll3f.js → register.onboard-mi8eEWxH.js} +6 -6
- package/dist/{register.setup-Ru94mK0C.js → register.setup-DZYxFj5L.js} +6 -6
- package/dist/{register.setup-BhN2hAJ-.js → register.setup-F0XMwrOq.js} +6 -6
- package/dist/{register.status-health-sessions-cUGfN2jZ.js → register.status-health-sessions-B-IdUdif.js} +33 -33
- package/dist/{register.status-health-sessions-BugOGdEq.js → register.status-health-sessions-DbjCFLPT.js} +35 -35
- package/dist/{register.subclis-BXGoL8Qv.js → register.subclis-Dobk1vvB.js} +25 -25
- package/dist/{replies-qljs_NZI.js → replies-B7XXdKjN.js} +2 -2
- package/dist/{replies-DS1VGy4W.js → replies-BKdOqGC9.js} +5 -5
- package/dist/{replies-CHagfAgN.js → replies-DrGGa5se.js} +2 -2
- package/dist/{replies-BuO733xx.js → replies-gGgLXY8D.js} +2 -2
- package/dist/{reply-CqYQeNjd.js → reply-BSMDupOw.js} +38 -36
- package/dist/{reply-directives-CJoSirgd.js → reply-directives-Bz18fvJe.js} +1 -1
- package/dist/{reply-directives-DBZR0dTg.js → reply-directives-CtSqkSzr.js} +2 -2
- package/dist/{reply-directives-B9hX-LBz.js → reply-directives-bPMJNW1Q.js} +1 -1
- package/dist/{reply-directives-GcBlocvi.js → reply-directives-tE0PyBK-.js} +1 -1
- package/dist/{reply-prefix-DfeMrD4g.js → reply-prefix-C-DjHvQK.js} +1 -1
- package/dist/{resolve-route-CAuL1p_4.js → resolve-route-DKZiteo6.js} +5 -5
- package/dist/{rpc-DJ9VPO9A.js → rpc-BZtZb4-6.js} +1 -1
- package/dist/{rpc-BoZa3Ve8.js → rpc-Ft_DUdSG.js} +1 -1
- package/dist/{run-main-08KWAl9e.js → run-main-BJFVebkS.js} +44 -44
- package/dist/{runs-DRxbDl12.js → runs-BIt97Q-K.js} +9 -9
- package/dist/{runs-CoWBHyeo.js → runs-BUywHXga.js} +4 -4
- package/dist/{runs-vCw_F2ZO.js → runs-TPOj4wqX.js} +4 -4
- package/dist/{runs-yIaQUPae.js → runs-wDxw0TX4.js} +5 -5
- package/dist/{sandbox-BijP-jd2.js → sandbox-389fAlDt.js} +2 -2
- package/dist/{sandbox-Cf0p0qcn.js → sandbox-CEDb7iCz.js} +2 -2
- package/dist/{sandbox-cli-DFLg4dmY.js → sandbox-cli-BJ4Z1CEE.js} +6 -6
- package/dist/{sandbox-cli-B0TGsg0B.js → sandbox-cli-kfxS44rH.js} +6 -6
- package/dist/{secrets-cli-BoYG9Zi_.js → secrets-cli-CgpBwEA_.js} +3 -3
- package/dist/{secrets-cli-CL3R38dk.js → secrets-cli-DFuIPeQ8.js} +3 -3
- package/dist/{security-cli-BuOut78W.js → security-cli-bxcpjEyc.js} +8 -8
- package/dist/{security-cli-DFTi9A0s.js → security-cli-zcQ5Hc8L.js} +8 -8
- package/dist/{send-Bmp8wi9T.js → send-Bf4geLyV.js} +8 -8
- package/dist/{send-DRJrureq.js → send-Ch1ruPj9.js} +1 -1
- package/dist/{send-DFasc8l1.js → send-CsDSBjFo.js} +6 -6
- package/dist/{send-CtSLexxo.js → send-DBqe2mPq.js} +30 -30
- package/dist/{send-DFAmNsWX.js → send-DQvfLvpJ.js} +6 -6
- package/dist/{send-DSRl6F0O.js → send-bwKTbNlJ.js} +7 -7
- package/dist/{send-DxkjyjYg.js → send-cRef_6f-.js} +1 -1
- package/dist/{send-7pf6IvCv.js → send-xXKNMsLi.js} +1 -1
- package/dist/{server-CRI0-vWV.js → server-CggrpKmd.js} +4 -4
- package/dist/{server-ks1TmG7W.js → server-D7EeBwPd.js} +4 -4
- package/dist/{server-context-DgKj77jj.js → server-context-CV1udh3Y.js} +2 -2
- package/dist/{server-context-BIoSfzI_.js → server-context-Dv15RG_H.js} +2 -2
- package/dist/{server-lifecycle-fJG-u89x.js → server-lifecycle-BIH58Hoe.js} +1 -1
- package/dist/{server-lifecycle-Cd0b010a.js → server-lifecycle-D8mfFIYf.js} +1 -1
- package/dist/{server-node-events-Ba1YD79n.js → server-node-events-C_xoK9Xb.js} +29 -29
- package/dist/{server-node-events-CqQhTT1T.js → server-node-events-mxzClNCx.js} +30 -30
- package/dist/{session-meta-BlSJMcbU.js → session-meta-5XI6vLtM.js} +1 -1
- package/dist/{session-storage-B-ES9i1k.js → session-storage-269JGGQ0.js} +1 -1
- package/dist/{session-storage-7x9X6Db3.js → session-storage-BbpL12Su.js} +1 -1
- package/dist/{session-storage-owner-DLQ3vsAz.js → session-storage-owner-ClZPCWep.js} +2 -2
- package/dist/{session-storage-owner-1-cQlOCZ.js → session-storage-owner-M7vbUIWw.js} +2 -2
- package/dist/{session-utils-BeYzkx__.js → session-utils-Be7zx7oZ.js} +4 -2
- package/dist/{sessions-BIgPumZV.js → sessions-BV1UJJsg.js} +37 -11
- package/dist/{sessions-rMRfoN3f.js → sessions-CIWeBs1M.js} +1 -0
- package/dist/{sessions-9SvxsXWP.js → sessions-CLcDtAGY.js} +1 -0
- package/dist/{sessions-bZHjdfaW.js → sessions-C_dBu7XC.js} +6 -5
- package/dist/{sessions-CLXwtR8F.js → sessions-CpqHo_Lm.js} +37 -11
- package/dist/{sessions-B03PIf-m.js → sessions-D4geZIf4.js} +1 -0
- package/dist/{sessions-DvCgCqqN.js → sessions-DR_ebiSs.js} +2 -2
- package/dist/{sessions-claims-status-DMdo7H9e.js → sessions-claims-status-CCWxZ_uS.js} +2 -2
- package/dist/{sessions-claims-status-CJ4Z16C-.js → sessions-claims-status-DcgKqzSM.js} +2 -2
- package/dist/{skill-commands-RBvFNztU.js → skill-commands-CAOvM2sb.js} +8 -8
- package/dist/{skills-Dj2sTIvh.js → skills-VN1CJK6W.js} +21 -21
- package/dist/{status-D_sJaQfK.js → status-B8Al6FzI.js} +18 -18
- package/dist/{status-Ccz-BtS_.js → status-Cuo3rz1n.js} +18 -18
- package/dist/{store-WpdMrmch.js → store-HgGweM4u.js} +7 -7
- package/dist/{subsystem-D_zHSy02.js → subsystem-BZy3aWdW.js} +71 -71
- package/dist/{system-cli-BGa0j96s.js → system-cli-Ba9jGCiM.js} +3 -3
- package/dist/{system-cli-CnsRY21W.js → system-cli-DcjUJVa8.js} +3 -3
- package/dist/{tables--lm0TIoo.js → tables-DkwNUhx1.js} +1 -1
- package/dist/{task-pipeline-boot-BMwRQ8Fe.js → task-pipeline-boot-C1v58b1_.js} +30 -30
- package/dist/{task-pipeline-boot-D5tuNVHj.js → task-pipeline-boot-Kxi1hpUn.js} +29 -29
- package/dist/{task-runlog-retention-D0XabfJk.js → task-runlog-retention-BdLkqRCi.js} +3 -3
- package/dist/{task-runlog-retention-vP8bhD14.js → task-runlog-retention-CJeUxN8v.js} +3 -3
- package/dist/{tasks-DEye0RYH.js → tasks-BIqKTj4l.js} +2 -2
- package/dist/{tasks-DIa6KmEw.js → tasks-nrh4KjHH.js} +2 -2
- package/dist/{tokens-B3OPeQh5.js → tokens-PMai9bNL.js} +1 -1
- package/dist/{tool-loop-detection-ST5jhih3.js → tool-loop-detection-BqyMjpvr.js} +2 -2
- package/dist/{tui-YpVnb92B.js → tui-DC-J_38B.js} +3 -3
- package/dist/{tui-DvN9w3dz.js → tui-DrLsIQv0.js} +3 -3
- package/dist/{tui-cli-B9yDRbjk.js → tui-cli-CAtLTzIA.js} +7 -7
- package/dist/{tui-cli-DoocDTJG.js → tui-cli-De9rMj3R.js} +7 -7
- package/dist/{update-cli-CUltMNat.js → update-cli-BEm9qrlV.js} +38 -38
- package/dist/{update-cli-DzokCnPQ.js → update-cli-CGSSTKTT.js} +36 -36
- package/dist/{update-runner-BOwq67Zr.js → update-runner-BMCWrif2.js} +1 -1
- package/dist/{update-runner-B2S-ijWA.js → update-runner-BUO6D2tP.js} +1 -1
- package/dist/{user-run-recording--_IhK-gN.js → user-run-recording-B1HujJiT.js} +2 -2
- package/dist/{validation-cli-C3tmcqKI.js → validation-cli-DHwddKWw.js} +29 -29
- package/dist/{validation-cli-BVO3QQdD.js → validation-cli-IGbMryvI.js} +30 -30
- package/dist/{with-timeout-BWtea6IA.js → with-timeout-BBKlU1es.js} +2 -2
- package/dist/{with-timeout-i0aj653V.js → with-timeout-CkVVKMZ5.js} +2 -2
- package/dist/{workspace-rViTESnr.js → workspace-Bj1Jegt-.js} +27 -27
- 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/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
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ot as truncateUtf16Safe, a as logVerbose } from "./globals-NHZhvbUb.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CnWdoPKw.js";
|
|
4
|
-
import { Dn as getConversationReadQuery, Fn as loadSessionStore, Io as resolveAllowedModelRef, Nn as getConfiguredSessionStorageRuntime, Sn as createInternalHookEvent, Tn as StorageReadAccessError, Un as updateSessionStore, Uo as resolveSubagentConfiguredModelSelection, c as loadConfig, hr as snapshotSessionOrigin, ki as GATEWAY_CLIENT_IDS, pr as resolveStorePath, wn as triggerInternalHook, zo as resolveDefaultModelForAgent } from "./config-CYZVnAj4.js";
|
|
5
|
-
import { B as isSubagentSessionKey, V as parseAgentSessionKey, p as normalizeAgentId } from "./session-key-CwCMr1YE.js";
|
|
4
|
+
import { Dn as getConversationReadQuery, Fn as loadSessionStore, Io as resolveAllowedModelRef, Nn as getConfiguredSessionStorageRuntime, Sn as createInternalHookEvent, Tn as StorageReadAccessError, Un as updateSessionStore, Uo as resolveSubagentConfiguredModelSelection, _i as INTERNAL_MESSAGE_CHANNEL, c as loadConfig, hr as snapshotSessionOrigin, ki as GATEWAY_CLIENT_IDS, pr as resolveStorePath, wn as triggerInternalHook, zo as resolveDefaultModelForAgent } from "./config-CYZVnAj4.js";
|
|
5
|
+
import { B as isSubagentSessionKey, D as toDeviceSenderId, V as parseAgentSessionKey, p as normalizeAgentId } from "./session-key-CwCMr1YE.js";
|
|
6
6
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, m as resolveSessionAgentId, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-CGUJ4BsZ.js";
|
|
7
|
-
import { Gn as stopSubagentsForRequester, Hn as normalizeSendPolicy, Nr as clearBootstrapSnapshot, Qt as parseVerboseOverride, Sn as incrementCompactionCount, Xt as applyModelOverrideToSessionEntry, Zt as applyVerboseOverride, bn as SessionExportCursorError, mn as normalizeGroupActivation, pn as unbindThreadBindingsBySessionKey, tr as clearSessionQueues, xn as buildSessionExportPageFromDb, y as compactEmbeddedPiSession } from "./agent-turn-execute-
|
|
7
|
+
import { Gn as stopSubagentsForRequester, Hn as normalizeSendPolicy, Nr as clearBootstrapSnapshot, Qt as parseVerboseOverride, Sn as incrementCompactionCount, Xt as applyModelOverrideToSessionEntry, Zt as applyVerboseOverride, bn as SessionExportCursorError, mn as normalizeGroupActivation, pn as unbindThreadBindingsBySessionKey, tr as clearSessionQueues, xn as buildSessionExportPageFromDb, y as compactEmbeddedPiSession } from "./agent-turn-execute-CFwfJKy2.js";
|
|
8
8
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-CTBWzSB8.js";
|
|
9
9
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-D5aje4G5.js";
|
|
10
10
|
import { Dt as hiddenHeartbeatRunsForEntries, Ot as isHiddenHeartbeatMessage } from "./storage-config-BnKikkky.js";
|
|
11
|
-
import { et as resolveMainSessionKey, v as getGlobalHookRunner } from "./sessions-
|
|
11
|
+
import { et as resolveMainSessionKey, v as getGlobalHookRunner } from "./sessions-CLcDtAGY.js";
|
|
12
12
|
import { n as isRecoverableSessionRunStatus } from "./session-run-types-g7AoS9m8.js";
|
|
13
13
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-CUU7cEHZ.js";
|
|
14
|
-
import { k as resolveStuckSessionWarnMs } from "./diagnostic-
|
|
14
|
+
import { k as resolveStuckSessionWarnMs } from "./diagnostic-CWdhJ9KR.js";
|
|
15
15
|
import { a as getAllAgentIds, i as getAgentP95ThresholdMs, r as findDiagnosticStateByRunKey, u as snapshotActiveRuns } from "./diagnostic-session-state-BWb5dYUV.js";
|
|
16
|
-
import { t as getAcpSessionManager } from "./manager-
|
|
17
|
-
import { Bt as
|
|
18
|
-
import { _ as hasNarrowSessionScope } from "./call-
|
|
19
|
-
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun } from "./runs-
|
|
20
|
-
import { a as loadAgentSessionStoreForGateway, c as pruneLegacyStoreKeys, g as jsonUtf8Bytes, i as listSessionsFromStore, l as resolveGatewaySessionStoreTarget, o as loadCombinedSessionStoreForGateway, p as readSessionPreviewItemsFromBackend, s as loadSessionEntry, u as resolveSessionModelRef } from "./session-utils-
|
|
16
|
+
import { t as getAcpSessionManager } from "./manager-gw84UdyQ.js";
|
|
17
|
+
import { At as validateSessionsListParams, Bt as validateSessionsRunsGetParams, Ct as validateSessionsCompactionListParams, Dt as validateSessionsDirectParams, Et as validateSessionsDescribeParams, Fn as ErrorCodes, Ft as validateSessionsResolveParams, Ht as validateSessionsRunsParams, In as errorShape, It as validateSessionsRunHistoryParams, Jt as validateSessionsThresholdsParams, Lt as validateSessionsRunsCancelParams, Mt as validateSessionsPatchParams, Nt as validateSessionsPreviewParams, Ot as validateSessionsExportParams, Pn as SESSIONS_CREATE_LABEL_MAX_LENGTH, Pt as validateSessionsResetParams, Rn as parseSessionLabel, Rt as validateSessionsRunsContinueParams, St as validateSessionsCompactParams, Tt as validateSessionsDeleteParams, Vt as validateSessionsRunsListParams, i as formatValidationErrors, kt as validateSessionsInterruptParams, wt as validateSessionsCreateParams, zt as validateSessionsRunsEventsParams } from "./client-MNdGt1bC.js";
|
|
18
|
+
import { _ as hasNarrowSessionScope } from "./call-B1surxJJ.js";
|
|
19
|
+
import { g as waitForEmbeddedPiRunEnd, s as isEmbeddedPiRunActive, t as abortEmbeddedPiRun } from "./runs-BUywHXga.js";
|
|
20
|
+
import { a as loadAgentSessionStoreForGateway, c as pruneLegacyStoreKeys, g as jsonUtf8Bytes, i as listSessionsFromStore, l as resolveGatewaySessionStoreTarget, o as loadCombinedSessionStoreForGateway, p as readSessionPreviewItemsFromBackend, r as listAgentsForGateway, s as loadSessionEntry, u as resolveSessionModelRef } from "./session-utils-Be7zx7oZ.js";
|
|
21
|
+
import { t as buildAgentSessionKey } from "./resolve-route-BCZZ9DsQ.js";
|
|
21
22
|
import { n as buildRecoveryPrompt, r as enqueueRecoveryTurn, t as SESSION_RUN_RECOVERY_TURN_STAGE_FAILED } from "./recovery-prompt-B1iMnJ0E.js";
|
|
22
23
|
import path from "node:path";
|
|
23
24
|
import { randomUUID } from "node:crypto";
|
|
@@ -2617,7 +2618,7 @@ const sessionsHandlers = {
|
|
|
2617
2618
|
}, void 0);
|
|
2618
2619
|
return;
|
|
2619
2620
|
}
|
|
2620
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
2621
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-12Exv9CB.js").then((n) => n.t);
|
|
2621
2622
|
respond(true, await handleSessionsRunsContinue({
|
|
2622
2623
|
params: p,
|
|
2623
2624
|
store,
|
|
@@ -2703,6 +2704,31 @@ const sessionsHandlers = {
|
|
|
2703
2704
|
previews
|
|
2704
2705
|
}, void 0);
|
|
2705
2706
|
},
|
|
2707
|
+
"sessions.direct": async ({ params, respond, client }) => {
|
|
2708
|
+
if (!assertValidParams(params, validateSessionsDirectParams, "sessions.direct", respond)) return;
|
|
2709
|
+
const cfg = loadConfig();
|
|
2710
|
+
const agentId = normalizeAgentId(params.agentId?.trim() || resolveDefaultAgentId(cfg));
|
|
2711
|
+
if (!listAgentsForGateway(cfg).agents.some((agent) => agent.id === agentId)) {
|
|
2712
|
+
respond(false, void 0, errorShape(ErrorCodes.INVALID_REQUEST, `unknown agent "${agentId}"`));
|
|
2713
|
+
return;
|
|
2714
|
+
}
|
|
2715
|
+
const deviceId = client?.connect?.device?.id?.trim();
|
|
2716
|
+
if (!deviceId) {
|
|
2717
|
+
respond(false, void 0, errorShape(ErrorCodes.INVALID_REQUEST, "sessions.direct requires a device-authenticated connection"));
|
|
2718
|
+
return;
|
|
2719
|
+
}
|
|
2720
|
+
respond(true, { key: buildAgentSessionKey({
|
|
2721
|
+
agentId,
|
|
2722
|
+
channel: INTERNAL_MESSAGE_CHANNEL,
|
|
2723
|
+
peer: {
|
|
2724
|
+
kind: "direct",
|
|
2725
|
+
id: toDeviceSenderId(deviceId)
|
|
2726
|
+
},
|
|
2727
|
+
dmScope: cfg.session?.dmScope ?? "main",
|
|
2728
|
+
identityLinks: cfg.session?.identityLinks,
|
|
2729
|
+
peerIdOrigin: "sender"
|
|
2730
|
+
}) }, void 0);
|
|
2731
|
+
},
|
|
2706
2732
|
"sessions.resolve": async ({ params, respond }) => {
|
|
2707
2733
|
if (!assertValidParams(params, validateSessionsResolveParams, "sessions.resolve", respond)) return;
|
|
2708
2734
|
const p = params;
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-NHZhvbUb.js";
|
|
3
3
|
import { Fn as loadSessionStore, Jn as resolveFreshSessionTotalTokens, On as SessionStorageUnavailableError, Ro as resolveConfiguredModelRef, c as loadConfig, el as DEFAULT_CONTEXT_TOKENS, nl as DEFAULT_PROVIDER, tl as DEFAULT_MODEL } from "./config-CYZVnAj4.js";
|
|
4
4
|
import { V as parseAgentSessionKey } from "./session-key-CwCMr1YE.js";
|
|
5
|
-
import { n as classifySessionKey, u as resolveSessionModelRef, x as lookupContextTokens } from "./session-utils-
|
|
5
|
+
import { n as classifySessionKey, u as resolveSessionModelRef, x as lookupContextTokens } from "./session-utils-Be7zx7oZ.js";
|
|
6
6
|
import { n as formatTimeAgo } from "./format-relative-CLDwoKCS.js";
|
|
7
|
-
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute } from "./session-storage-owner-
|
|
7
|
+
import { n as callSessionStorageGateway, r as resolveSessionStorageRoute } from "./session-storage-owner-M7vbUIWw.js";
|
|
8
8
|
import { r as resolveSessionStoreTargetsOrExit } from "./session-store-targets-uZ_u9cA2.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/sessions-table.ts
|
|
@@ -14,8 +14,8 @@ import "./retry-policy-FBwX2QEP.js";
|
|
|
14
14
|
import "./tailnet-CQ2rXtjH.js";
|
|
15
15
|
import "./ws-QU171jAr.js";
|
|
16
16
|
import "./task-run-types-W0cbz9Iv.js";
|
|
17
|
-
import "./client-
|
|
18
|
-
import { n as callGateway } from "./call-
|
|
17
|
+
import "./client-MNdGt1bC.js";
|
|
18
|
+
import { n as callGateway } from "./call-B1surxJJ.js";
|
|
19
19
|
import "./pairing-token-Cavm9UVj.js";
|
|
20
20
|
import { t as renderTable } from "./table-B-KRJqXx.js";
|
|
21
21
|
|
|
@@ -15,8 +15,8 @@ import "./retry-policy-FBwX2QEP.js";
|
|
|
15
15
|
import "./tailnet-B-txZJue.js";
|
|
16
16
|
import "./ws-4CDyA3Kv.js";
|
|
17
17
|
import "./task-run-types-EDIBPHtM.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { n as callGateway } from "./call-
|
|
18
|
+
import "./client-DA6hPHoC.js";
|
|
19
|
+
import { n as callGateway } from "./call-CsmPnXmY.js";
|
|
20
20
|
import "./pairing-token-WMwBEwOn.js";
|
|
21
21
|
import { t as renderTable } from "./table-BmLIXqwu.js";
|
|
22
22
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-
|
|
3
|
-
import { l as resolveStateDir } from "./paths-
|
|
4
|
-
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
2
|
+
import { c as resolveAgentWorkspaceDir, n as listAgentIds, s as resolveAgentSkillsFilter } from "./agent-scope-DCgndASv.js";
|
|
3
|
+
import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
|
|
4
|
+
import { Z as CONFIG_DIR, f as logVerbose, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
|
|
5
|
+
import { s as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-VN1CJK6W.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-DBtcstGX.js";
|
|
7
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { a as listChatCommands } from "./commands-registry-Cof4HjvY.js";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import chokidar from "chokidar";
|
|
@@ -248,13 +248,13 @@ function listSkillCommandsForAgents(params) {
|
|
|
248
248
|
const workspaceFilters = /* @__PURE__ */ new Map();
|
|
249
249
|
for (const agentId of agentIds) {
|
|
250
250
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
251
|
-
if (!
|
|
251
|
+
if (!fs.existsSync(workspaceDir)) {
|
|
252
252
|
logVerbose(`Skipping agent "${agentId}": workspace does not exist: ${workspaceDir}`);
|
|
253
253
|
continue;
|
|
254
254
|
}
|
|
255
255
|
let canonicalDir;
|
|
256
256
|
try {
|
|
257
|
-
canonicalDir =
|
|
257
|
+
canonicalDir = fs.realpathSync(workspaceDir);
|
|
258
258
|
} catch {
|
|
259
259
|
logVerbose(`Skipping agent "${agentId}": cannot resolve workspace: ${workspaceDir}`);
|
|
260
260
|
continue;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { m as normalizeSkillFilter } from "./agent-scope-
|
|
2
|
-
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { h as resolveOpenClawPackageRootSync } from "./workspace-
|
|
4
|
-
import { At as normalizePluginsConfig, Ea as normalizeResolvedSecretInputString, Et as loadPluginManifestRegistry, Mt as resolveMemorySlotDecision, jt as resolveEffectiveEnableState } from "./model-selection-
|
|
5
|
-
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-
|
|
6
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { m as normalizeSkillFilter } from "./agent-scope-DCgndASv.js";
|
|
2
|
+
import { H as isPathInside, K as isDangerousHostEnvVarName, N as isPathInsideWithRealpath, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, st as resolveUserPath, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
|
|
3
|
+
import { h as resolveOpenClawPackageRootSync } from "./workspace-Bj1Jegt-.js";
|
|
4
|
+
import { At as normalizePluginsConfig, Ea as normalizeResolvedSecretInputString, Et as loadPluginManifestRegistry, Mt as resolveMemorySlotDecision, jt as resolveEffectiveEnableState } from "./model-selection-BHGpQSa9.js";
|
|
5
|
+
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-Cw_6jMAR.js";
|
|
6
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-E9ntDORB.js";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
11
11
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -542,13 +542,13 @@ function shortPath(value) {
|
|
|
542
542
|
//#region src/agents/skills/bundled-dir.ts
|
|
543
543
|
function looksLikeSkillsDir(dir) {
|
|
544
544
|
try {
|
|
545
|
-
const entries =
|
|
545
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
546
546
|
for (const entry of entries) {
|
|
547
547
|
if (entry.name.startsWith(".")) continue;
|
|
548
548
|
const fullPath = path.join(dir, entry.name);
|
|
549
549
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
550
550
|
if (entry.isDirectory()) {
|
|
551
|
-
if (
|
|
551
|
+
if (fs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
} catch {
|
|
@@ -563,7 +563,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
563
563
|
const execPath = opts.execPath ?? process.execPath;
|
|
564
564
|
const execDir = path.dirname(execPath);
|
|
565
565
|
const sibling = path.join(execDir, "skills");
|
|
566
|
-
if (
|
|
566
|
+
if (fs.existsSync(sibling)) return sibling;
|
|
567
567
|
} catch {}
|
|
568
568
|
try {
|
|
569
569
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -626,7 +626,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
626
626
|
const trimmed = raw.trim();
|
|
627
627
|
if (!trimmed) continue;
|
|
628
628
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
629
|
-
if (!
|
|
629
|
+
if (!fs.existsSync(candidate)) {
|
|
630
630
|
log.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
631
631
|
continue;
|
|
632
632
|
}
|
|
@@ -657,7 +657,7 @@ async function serializeByKey(key, task) {
|
|
|
657
657
|
|
|
658
658
|
//#endregion
|
|
659
659
|
//#region src/agents/skills/workspace.ts
|
|
660
|
-
const fsp =
|
|
660
|
+
const fsp = fs.promises;
|
|
661
661
|
const skillsLogger = createSubsystemLogger("skills");
|
|
662
662
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
663
663
|
/**
|
|
@@ -734,7 +734,7 @@ function resolveSkillsLimits(config) {
|
|
|
734
734
|
}
|
|
735
735
|
function listChildDirectories(dir) {
|
|
736
736
|
try {
|
|
737
|
-
const entries =
|
|
737
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
738
738
|
const dirs = [];
|
|
739
739
|
for (const entry of entries) {
|
|
740
740
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -745,7 +745,7 @@ function listChildDirectories(dir) {
|
|
|
745
745
|
continue;
|
|
746
746
|
}
|
|
747
747
|
if (entry.isSymbolicLink()) try {
|
|
748
|
-
if (
|
|
748
|
+
if (fs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
749
749
|
} catch {}
|
|
750
750
|
}
|
|
751
751
|
return dirs;
|
|
@@ -756,7 +756,7 @@ function listChildDirectories(dir) {
|
|
|
756
756
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
757
757
|
const nested = path.join(dir, "skills");
|
|
758
758
|
try {
|
|
759
|
-
if (!
|
|
759
|
+
if (!fs.existsSync(nested) || !fs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
760
760
|
} catch {
|
|
761
761
|
return { baseDir: dir };
|
|
762
762
|
}
|
|
@@ -765,7 +765,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
765
765
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
766
766
|
for (const name of toScan) {
|
|
767
767
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
768
|
-
if (
|
|
768
|
+
if (fs.existsSync(skillMd)) return {
|
|
769
769
|
baseDir: nested,
|
|
770
770
|
note: `Detected nested skills root at ${nested}`
|
|
771
771
|
};
|
|
@@ -785,9 +785,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
785
785
|
const loadSkills = (params) => {
|
|
786
786
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
787
787
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
788
|
-
if (
|
|
788
|
+
if (fs.existsSync(rootSkillMd)) {
|
|
789
789
|
try {
|
|
790
|
-
const size =
|
|
790
|
+
const size = fs.statSync(rootSkillMd).size;
|
|
791
791
|
if (size > limits.maxSkillFileBytes) {
|
|
792
792
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
793
793
|
dir: baseDir,
|
|
@@ -826,9 +826,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
826
826
|
for (const name of limitedChildren) {
|
|
827
827
|
const skillDir = path.join(baseDir, name);
|
|
828
828
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
829
|
-
if (!
|
|
829
|
+
if (!fs.existsSync(skillMd)) continue;
|
|
830
830
|
try {
|
|
831
|
-
const size =
|
|
831
|
+
const size = fs.statSync(skillMd).size;
|
|
832
832
|
if (size > limits.maxSkillFileBytes) {
|
|
833
833
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
834
834
|
skill: name,
|
|
@@ -896,7 +896,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
896
896
|
return Array.from(merged.values()).map((skill) => {
|
|
897
897
|
let frontmatter = {};
|
|
898
898
|
try {
|
|
899
|
-
frontmatter = parseFrontmatter(
|
|
899
|
+
frontmatter = parseFrontmatter(fs.readFileSync(skill.filePath, "utf-8"));
|
|
900
900
|
} catch {}
|
|
901
901
|
return {
|
|
902
902
|
skill,
|
|
@@ -9,26 +9,26 @@ import { u as resolveAgentWorkspaceDir } from "./agent-scope-CGUJ4BsZ.js";
|
|
|
9
9
|
import { n as runExec } from "./exec-B6VJhiff.js";
|
|
10
10
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-CboPaWH8.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-CUvskdil.js";
|
|
12
|
-
import { At as readRestartSentinel, Dn as peekSystemEvents, at as buildChannelSummary, ct as resolveChannelAccountConfigured, gn as formatUsageReportLines, hn as loadProviderUsageSummary, i as resolveHeartbeatSummaryForAgent, jt as summarizeRestartSentinel, lt as resolveChannelAccountEnabled, ot as buildChannelAccountSnapshot, st as formatChannelAllowFrom } from "./agent-turn-execute-
|
|
12
|
+
import { At as readRestartSentinel, Dn as peekSystemEvents, at as buildChannelSummary, ct as resolveChannelAccountConfigured, gn as formatUsageReportLines, hn as loadProviderUsageSummary, i as resolveHeartbeatSummaryForAgent, jt as summarizeRestartSentinel, lt as resolveChannelAccountEnabled, ot as buildChannelAccountSnapshot, st as formatChannelAllowFrom } from "./agent-turn-execute-CFwfJKy2.js";
|
|
13
13
|
import { n as sha256HexPrefix } from "./redact-identifier-C-ydvJ0n.js";
|
|
14
|
-
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-
|
|
14
|
+
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-12Exv9CB.js";
|
|
15
15
|
import { a as resolveSessionRunStore } from "./recorder-Ch6dEacF.js";
|
|
16
16
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-D5aje4G5.js";
|
|
17
17
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-DFHS2SJQ.js";
|
|
18
18
|
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-5kth7DJc.js";
|
|
19
19
|
import { r as resolveSessionStorageConfig } from "./storage-config-BnKikkky.js";
|
|
20
|
-
import { et as resolveMainSessionKey } from "./sessions-
|
|
20
|
+
import { et as resolveMainSessionKey } from "./sessions-CLcDtAGY.js";
|
|
21
21
|
import { n as docsSiteUrl } from "./docs-site-Bx-VRaE-.js";
|
|
22
|
-
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-
|
|
23
|
-
import { s as isEmbeddedPiRunActive } from "./runs-
|
|
24
|
-
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-
|
|
22
|
+
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-B1surxJJ.js";
|
|
23
|
+
import { s as isEmbeddedPiRunActive } from "./runs-BUywHXga.js";
|
|
24
|
+
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-Be7zx7oZ.js";
|
|
25
25
|
import { n as formatTimeAgo } from "./format-relative-CLDwoKCS.js";
|
|
26
26
|
import { r as formatDurationPrecise } from "./format-duration-DeLiQNNv.js";
|
|
27
27
|
import { o as getRemoteSkillEligibility } from "./skill-commands-BLC36ByO.js";
|
|
28
|
-
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
29
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
30
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
31
|
-
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-
|
|
28
|
+
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-9z88Sdd9.js";
|
|
29
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-DFWV67fv.js";
|
|
30
|
+
import { r as getMemorySearchManager } from "./memory-cli-H4nCh_8v.js";
|
|
31
|
+
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-M7vbUIWw.js";
|
|
32
32
|
import { n as withProgress } from "./progress-uho16eSS.js";
|
|
33
33
|
import { a as recoveryIncidentKey } from "./incidents-ByeaFPvC.js";
|
|
34
34
|
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller-BketTB38.js";
|
|
@@ -40,8 +40,8 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
40
40
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DVFf2ePt.js";
|
|
41
41
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CEDbk97G.js";
|
|
42
42
|
import { t as renderTable } from "./table-B-KRJqXx.js";
|
|
43
|
-
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
44
|
-
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-
|
|
43
|
+
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-Dk69ufby.js";
|
|
44
|
+
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-jZPF8weC.js";
|
|
45
45
|
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-DotS3Kpf.js";
|
|
46
46
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-Be3GBPZv.js";
|
|
47
47
|
import { t as resolveNodeService } from "./node-service-sgaaUb7H.js";
|
|
@@ -625,10 +625,10 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
625
625
|
const { getConfiguredSessionStorageRuntime } = await import("./config-CYZVnAj4.js").then((n) => n.Vn);
|
|
626
626
|
const runtime = getConfiguredSessionStorageRuntime()?.runtime;
|
|
627
627
|
const gatewayInstanceId = getGatewayInstanceId();
|
|
628
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
628
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-12Exv9CB.js").then((n) => n.t);
|
|
629
629
|
const backbone = tryGetAgentTurnRuntime()?.backbone;
|
|
630
630
|
const { createOutboundDeliveryRecoveryAdapter } = await import("./delivery-recovery-adapter-Dwf8lScM.js");
|
|
631
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
631
|
+
const { deliverOutboundPayloads } = await import("./deliver-Czj8jts5.js").then((n) => n.n);
|
|
632
632
|
adapters.push(createOutboundDeliveryRecoveryAdapter({
|
|
633
633
|
cfg,
|
|
634
634
|
deliver: deliverOutboundPayloads,
|
|
@@ -642,7 +642,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
642
642
|
sessionRuns = void 0;
|
|
643
643
|
}
|
|
644
644
|
if (sessionRuns && wiring?.agentTurnStager) {
|
|
645
|
-
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-
|
|
645
|
+
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-y0rKMaw8.js").then((n) => n.i);
|
|
646
646
|
adapters.push(createSessionRunRecoveryAdapter({
|
|
647
647
|
store: sessionRuns,
|
|
648
648
|
cfg,
|
|
@@ -652,7 +652,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
652
652
|
}));
|
|
653
653
|
}
|
|
654
654
|
if (backbone && wiring?.agentTurnStager) {
|
|
655
|
-
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-
|
|
655
|
+
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-DWGzJ2s-.js");
|
|
656
656
|
adapters.push(createAgentTurnRecoveryAdapter({
|
|
657
657
|
backbone,
|
|
658
658
|
stager: wiring.agentTurnStager
|
|
@@ -675,7 +675,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
675
675
|
}));
|
|
676
676
|
}
|
|
677
677
|
if (sessionRuns) {
|
|
678
|
-
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-
|
|
678
|
+
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-BEKLsxLt.js");
|
|
679
679
|
adapters.push(createEmbeddedPiRecoveryAdapter({
|
|
680
680
|
sessionRuns,
|
|
681
681
|
cfg,
|
|
@@ -683,7 +683,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
683
683
|
stager: wiring?.agentTurnStager,
|
|
684
684
|
isRunActive: isEmbeddedPiRunActive
|
|
685
685
|
}));
|
|
686
|
-
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-
|
|
686
|
+
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-Dyk72MfJ.js");
|
|
687
687
|
adapters.push(createAcpRuntimeRecoveryAdapter({
|
|
688
688
|
sessionRuns,
|
|
689
689
|
gatewayInstanceId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir, u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
2
2
|
import { F as isRich, I as theme, T as info } from "./utils-RlDPCeiE.js";
|
|
3
|
-
import { D as resolveHeartbeatSummaryForAgent, Mt as formatUsageReportLines, a as buildChannelAccountSnapshot, c as resolveChannelAccountEnabled, i as buildChannelSummary, jt as loadProviderUsageSummary, lt as readRestartSentinel, o as formatChannelAllowFrom, pr as peekSystemEvents, s as resolveChannelAccountConfigured, ut as summarizeRestartSentinel } from "./reply-
|
|
3
|
+
import { D as resolveHeartbeatSummaryForAgent, Mt as formatUsageReportLines, a as buildChannelAccountSnapshot, c as resolveChannelAccountEnabled, i as buildChannelSummary, jt as loadProviderUsageSummary, lt as readRestartSentinel, o as formatChannelAllowFrom, pr as peekSystemEvents, s as resolveChannelAccountConfigured, ut as summarizeRestartSentinel } from "./reply-BSMDupOw.js";
|
|
4
4
|
import { u as resolveAgentWorkspaceDir } from "./agent-scope-BKt9T-GX.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
6
6
|
import { V as parseAgentSessionKey } from "./session-key-AbnCDH5g.js";
|
|
@@ -12,22 +12,22 @@ import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
|
12
12
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-C87iDP6E.js";
|
|
13
13
|
import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-CY3NQ50o.js";
|
|
14
14
|
import { r as resolveSessionStorageConfig } from "./storage-config-Bb2blXv4.js";
|
|
15
|
-
import { tt as resolveMainSessionKey } from "./sessions-
|
|
16
|
-
import { _ as resolveSessionModelRef, k as resolveContextTokensForModel, l as classifySessionKey, u as listAgentsForGateway } from "./deliver-
|
|
15
|
+
import { tt as resolveMainSessionKey } from "./sessions-D4geZIf4.js";
|
|
16
|
+
import { _ as resolveSessionModelRef, k as resolveContextTokensForModel, l as classifySessionKey, u as listAgentsForGateway } from "./deliver-CD-qJ08p.js";
|
|
17
17
|
import { n as sha256HexPrefix } from "./redact-identifier-S29WK2by.js";
|
|
18
18
|
import { a as resolveSessionRunStore } from "./recorder-BY6ZM_aZ.js";
|
|
19
19
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-Sk1z_oZM.js";
|
|
20
20
|
import { n as docsSiteUrl } from "./docs-site-DW9kzxTG.js";
|
|
21
|
-
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-
|
|
21
|
+
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-CsmPnXmY.js";
|
|
22
22
|
import { n as formatTimeAgo } from "./format-relative-DcQZUAYl.js";
|
|
23
23
|
import { r as formatDurationPrecise } from "./format-duration-CezeS0x4.js";
|
|
24
|
-
import { s as isEmbeddedPiRunActive } from "./runs-
|
|
24
|
+
import { s as isEmbeddedPiRunActive } from "./runs-TPOj4wqX.js";
|
|
25
25
|
import { o as getRemoteSkillEligibility } from "./skill-commands-B2FD6vwN.js";
|
|
26
|
-
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
27
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
28
|
-
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-
|
|
29
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
30
|
-
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-
|
|
26
|
+
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-r25GrCux.js";
|
|
27
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-BHTSdqFW.js";
|
|
28
|
+
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-Btk5sBH0.js";
|
|
29
|
+
import { r as getMemorySearchManager } from "./memory-cli-BcjjHcwL.js";
|
|
30
|
+
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-ClZPCWep.js";
|
|
31
31
|
import { n as withProgress } from "./progress-CSrWZhGt.js";
|
|
32
32
|
import { a as recoveryIncidentKey } from "./incidents-pAgS0Jja.js";
|
|
33
33
|
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller--xirmA28.js";
|
|
@@ -39,8 +39,8 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
39
39
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DKnpLP5Q.js";
|
|
40
40
|
import { t as readLastGatewayErrorLine } from "./diagnostics-Bl__dpJ_.js";
|
|
41
41
|
import { t as renderTable } from "./table-BmLIXqwu.js";
|
|
42
|
-
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
43
|
-
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-
|
|
42
|
+
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-DkY9yUsn.js";
|
|
43
|
+
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-DjlQU_Tv.js";
|
|
44
44
|
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-CitKikIA.js";
|
|
45
45
|
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-DKrd0PkQ.js";
|
|
46
46
|
import { t as resolveNodeService } from "./node-service-CZ8YogEx.js";
|
|
@@ -624,10 +624,10 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
624
624
|
const { getConfiguredSessionStorageRuntime } = await import("./model-selection-DcDzsVrL.js").then((n) => n.hi);
|
|
625
625
|
const runtime = getConfiguredSessionStorageRuntime()?.runtime;
|
|
626
626
|
const gatewayInstanceId = getGatewayInstanceId();
|
|
627
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
627
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-Btk5sBH0.js").then((n) => n.t);
|
|
628
628
|
const backbone = tryGetAgentTurnRuntime()?.backbone;
|
|
629
629
|
const { createOutboundDeliveryRecoveryAdapter } = await import("./delivery-recovery-adapter-BMGVhhBQ.js");
|
|
630
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
630
|
+
const { deliverOutboundPayloads } = await import("./deliver-CD-qJ08p.js").then((n) => n.n);
|
|
631
631
|
adapters.push(createOutboundDeliveryRecoveryAdapter({
|
|
632
632
|
cfg,
|
|
633
633
|
deliver: deliverOutboundPayloads,
|
|
@@ -641,7 +641,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
641
641
|
sessionRuns = void 0;
|
|
642
642
|
}
|
|
643
643
|
if (sessionRuns && wiring?.agentTurnStager) {
|
|
644
|
-
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-
|
|
644
|
+
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-Hdhf6HDW.js").then((n) => n.i);
|
|
645
645
|
adapters.push(createSessionRunRecoveryAdapter({
|
|
646
646
|
store: sessionRuns,
|
|
647
647
|
cfg,
|
|
@@ -651,7 +651,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
651
651
|
}));
|
|
652
652
|
}
|
|
653
653
|
if (backbone && wiring?.agentTurnStager) {
|
|
654
|
-
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-
|
|
654
|
+
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-TKOtg3bA.js");
|
|
655
655
|
adapters.push(createAgentTurnRecoveryAdapter({
|
|
656
656
|
backbone,
|
|
657
657
|
stager: wiring.agentTurnStager
|
|
@@ -674,7 +674,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
674
674
|
}));
|
|
675
675
|
}
|
|
676
676
|
if (sessionRuns) {
|
|
677
|
-
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-
|
|
677
|
+
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-dQZ-gtY4.js");
|
|
678
678
|
adapters.push(createEmbeddedPiRecoveryAdapter({
|
|
679
679
|
sessionRuns,
|
|
680
680
|
cfg,
|
|
@@ -682,7 +682,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
682
682
|
stager: wiring?.agentTurnStager,
|
|
683
683
|
isRunActive: isEmbeddedPiRunActive
|
|
684
684
|
}));
|
|
685
|
-
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-
|
|
685
|
+
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-D3YllPfB.js");
|
|
686
686
|
adapters.push(createAcpRuntimeRecoveryAdapter({
|
|
687
687
|
sessionRuns,
|
|
688
688
|
gatewayInstanceId
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ot as resolveConfigDir } from "./subsystem-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { ot as resolveConfigDir } from "./subsystem-BZy3aWdW.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-C-5VgbLB.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import fs from "node:fs/promises";
|
|
4
|
+
import fs$1 from "node:fs/promises";
|
|
5
5
|
import crypto from "node:crypto";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
14
14
|
async function setMediaFileMode(filePath) {
|
|
15
15
|
if (process.platform === "win32") return;
|
|
16
16
|
try {
|
|
17
|
-
await fs.chmod(filePath, MEDIA_FILE_MODE);
|
|
17
|
+
await fs$1.chmod(filePath, MEDIA_FILE_MODE);
|
|
18
18
|
} catch (err) {
|
|
19
19
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
20
20
|
if ([
|
|
@@ -41,7 +41,7 @@ function getMediaDir() {
|
|
|
41
41
|
}
|
|
42
42
|
async function ensureMediaDir() {
|
|
43
43
|
const mediaDir = resolveMediaDir();
|
|
44
|
-
await fs.mkdir(mediaDir, {
|
|
44
|
+
await fs$1.mkdir(mediaDir, {
|
|
45
45
|
recursive: true,
|
|
46
46
|
mode: 448
|
|
47
47
|
});
|
|
@@ -50,7 +50,7 @@ async function ensureMediaDir() {
|
|
|
50
50
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
51
51
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
52
52
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
53
|
-
await fs.mkdir(dir, {
|
|
53
|
+
await fs$1.mkdir(dir, {
|
|
54
54
|
recursive: true,
|
|
55
55
|
mode: 448
|
|
56
56
|
});
|
|
@@ -70,7 +70,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
70
70
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
71
71
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
72
72
|
const dest = path.join(dir, id);
|
|
73
|
-
await fs.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
73
|
+
await fs$1.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
74
74
|
await setMediaFileMode(dest);
|
|
75
75
|
return {
|
|
76
76
|
id,
|