wednesdayai 0.5.1-dev.39 → 0.5.1-dev.40
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-FvVddEAm.js → acp-cli-aZDU1frr.js} +11 -11
- package/dist/{agent-scope-Daay3L1Q.js → agent-scope-m37qEcFM.js} +21 -21
- package/dist/{agent-turn-enqueue-BZJZetmF.js → agent-turn-enqueue-DICnRqYY.js} +6 -6
- package/dist/{agent-turn-execute-YF3BodXZ.js → agent-turn-execute-idltAVtu.js} +153 -153
- package/dist/{agent-turn-recovery-adapter-DpTeUI2V.js → agent-turn-recovery-adapter-fTCIh1kZ.js} +3 -3
- package/dist/{agent-turn-runner-IggLai-e.js → agent-turn-runner-C2jDvczc.js} +4 -4
- package/dist/{agent-turn-runner-BkWusthz.js → agent-turn-runner-y0WL6xuI.js} +3 -3
- package/dist/{agents-CM1pS2Gw.js → agents-CM1SDvAA.js} +21 -21
- package/dist/{agents.config-DPUNT-LY.js → agents.config-CNN6GFa9.js} +3 -3
- package/dist/{api-key-rotation-1GnreUfv.js → api-key-rotation-DAI1NT_a.js} +1 -1
- package/dist/{api-key-rotation-DBvdlVZw.js → api-key-rotation-JDh9X_oP.js} +1 -1
- package/dist/{audio-preflight-cWE_jPq7.js → audio-preflight-Bdn8EyXv.js} +14 -14
- package/dist/{audio-preflight-Dla8ErAP.js → audio-preflight-DcoXRAvR.js} +37 -37
- package/dist/{audio-transcription-runner-D-jGvvSi.js → audio-transcription-runner-BQbTpN83.js} +27 -27
- package/dist/{audio-transcription-runner-Bk1wu6OC.js → audio-transcription-runner-MJ65xlDX.js} +8 -8
- package/dist/{audit-B-WWadhu.js → audit-DsSNKdtK.js} +31 -31
- package/dist/{auth-BqrOQ_rt.js → auth-BCzU-mkD.js} +4 -4
- package/dist/{auth-choice-C7C2BFeF.js → auth-choice-BR3YA6Mc.js} +15 -15
- package/dist/{auth-choice-D4Z3C7W8.js → auth-choice-kNhTqhAF.js} +13 -13
- package/dist/{auth-choice.apply-helpers-CtM1Z7Em.js → auth-choice.apply-helpers-BEawC8Rx.js} +1 -1
- package/dist/{auth-token-BmZQfp0T.js → auth-token-QyM5OJpI.js} +2 -2
- package/dist/{banner-CDY_Ds3F.js → banner-DmQcTDRN.js} +4 -4
- package/dist/{bonjour-discovery-C-DjmVp8.js → bonjour-discovery-DPLZj45w.js} +3 -3
- package/dist/{browser-cli-C_ysZk2K.js → browser-cli-D_sIwOM-.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/{call-BoiZy1oh.js → call-BltQb5p8.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-D16G9MZx.js → channel-account-context-DjoVP8k0.js} +7 -7
- package/dist/{channel-options-C8_k7q2k.js → channel-options-C9RuntH_.js} +3 -3
- package/dist/{channel-selection-CA6-fSME.js → channel-selection-BdOi2As8.js} +1 -1
- package/dist/{channels-cli-BgcxCCUW.js → channels-cli-B1ZhJIfE.js} +120 -120
- package/dist/{channels-status-issues-DaVFqfbT.js → channels-status-issues-CW2LsBxa.js} +1 -1
- package/dist/{chat-content-B7yKTLAY.js → chat-content-DtaSiJ_7.js} +9 -9
- package/dist/{chrome-DQ2kyZpc.js → chrome-BRVJGvQa.js} +11 -11
- package/dist/{chrome-CCOk3IVv.js → chrome-DJfXPpfx.js} +6 -6
- package/dist/{chunk-BBj2TedD.js → chunk-CGvXEMAJ.js} +1 -1
- package/dist/{chunk-5HmJ90W0.js → chunk-CIpxqo8a.js} +3 -3
- package/dist/{clack-prompter-DFrQWP5u.js → clack-prompter-6u8Btte5.js} +5 -5
- package/dist/{clawbot-cli-BTRGXKZN.js → clawbot-cli-DjesCpeb.js} +15 -15
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BNVYrkVg.js +166 -0
- package/dist/{client-D7BnGRYO.js → client-BMDbXMKo.js} +4 -4
- package/dist/{client-profiles-By5MHi9v.js → client-profiles-D9p55R2E.js} +4 -4
- package/dist/{clipboard-B_ObYCKi.js → clipboard-Dd6cdwPv.js} +1 -1
- package/dist/{command-queue-B7AMiRYq.js → command-queue-C17N9gab.js} +1 -1
- package/dist/{command-registry-CqEc_uI9.js → command-registry-xYf1aBOy.js} +14 -14
- package/dist/{command-secret-targets-a_Y_ddO2.js → command-secret-targets-BZ1SboqY.js} +4 -4
- package/dist/{commands-DntOebNQ.js → commands-SeKi2OWl.js} +1 -1
- package/dist/{commands-registry-b4F_78R4.js → commands-registry-BO2o7Un9.js} +1 -1
- package/dist/{commands-registry-9P9_RD2k.js → commands-registry-uKHucCpf.js} +3 -3
- package/dist/{completion-cli-7QKrFXPK.js → completion-cli-od6mAB_x.js} +16 -16
- package/dist/{config-cli-zzSy_DYX.js → config-cli-L7VXG9dV.js} +10 -10
- package/dist/{config-guard-I78sPe0z.js → config-guard-Bd7KfAne.js} +4 -4
- package/dist/{config-validation-B2xjdpzg.js → config-validation-cJ4tgFlH.js} +4 -4
- package/dist/{configure-BstDEG38.js → configure-BFB-zOMn.js} +25 -25
- package/dist/{control-ui-assets-BqcYXNl2.js → control-ui-assets-B9zlkA6l.js} +3 -3
- package/dist/{controller-Bgcz2hp7.js → controller--hEOQw7y.js} +1 -1
- package/dist/{credentials-CGW31DO4.js → credentials-DtepevRH.js} +1 -1
- package/dist/{credentials-U5jLZxJ-.js → credentials-GPboJeMC.js} +1 -1
- package/dist/{cron-cli-yj7QGj7J.js → cron-cli-DhhEvg8T.js} +14 -14
- package/dist/{daemon-cli-CFnbJrol.js → daemon-cli-BFqtJkJL.js} +19 -19
- package/dist/{daemon-install-BeS6QtA5.js → daemon-install-1kaH7Ifb.js} +10 -10
- package/dist/{daemon-install-helpers-CLiiJ-d1.js → daemon-install-helpers-B1yjUwDb.js} +13 -13
- package/dist/{delete-agent-sessions-LydtqnI4.js → delete-agent-sessions-aupo65L2.js} +1 -1
- package/dist/{deliver-3GS-gU8r.js → deliver-BPWNdSsP.js} +12 -12
- package/dist/{deliver-BQSIZZRd.js → deliver-x1MM90HA.js} +11 -11
- package/dist/{devices-cli-CZA7ZWS3.js → devices-cli-Bx2srMmX.js} +13 -13
- package/dist/{diagnostic-Dm2wAiB0.js → diagnostic-C0AOXO65.js} +4 -4
- package/dist/{diagnostics-CZjOjqpi.js → diagnostics-B5xln2o0.js} +5 -5
- package/dist/{directory-cli-DR0IqfE5.js → directory-cli-TI0sLZsH.js} +11 -11
- package/dist/{dm-policy-shared-C5ZRDHnc.js → dm-policy-shared-5u9bRZcn.js} +5 -5
- package/dist/{dns-cli-B5CpAvKH.js → dns-cli-BlPAMRTw.js} +10 -10
- package/dist/{docs-cli-B_D5SYd9.js → docs-cli-CoU4kznK.js} +9 -9
- package/dist/{doctor-completion-BMLEMc2J.js → doctor-completion-xR-LI2Kc.js} +3 -3
- package/dist/{doctor-config-flow-0PWt4HFH.js → doctor-config-flow-DKprHJgK.js} +17 -17
- package/dist/{enable-DckLGORZ.js → enable-WclAjZTI.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-DgfbhlVq.js → exec-BadOxgw_.js} +2 -2
- package/dist/{exec-approvals-allowlist-2Cys5vGY.js → exec-approvals-allowlist-B9t8qYRi.js} +1 -1
- package/dist/{exec-approvals-BauC8NzH.js → exec-approvals-bsuh4PHE.js} +2 -2
- package/dist/{exec-approvals-cli-DfFiniWb.js → exec-approvals-cli-BKUHTsDE.js} +22 -22
- package/dist/{exec-safe-bin-runtime-policy-SvaIPWXZ.js → exec-safe-bin-runtime-policy-DLnEvKn8.js} +2 -2
- package/dist/{extension-relay-auth-D_MKrcDE.js → extension-relay-auth-DPPoRrd5.js} +10 -10
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-JiVpsY-F.js → fetch-BzeUsif1.js} +2 -2
- package/dist/{fetch-DQjTi7nc.js → fetch-Cpgrvssj.js} +1 -1
- package/dist/{fetch-D-b-uXX7.js → fetch-KUu9BT-y.js} +5 -5
- package/dist/{fetch-guard-BbFS87gt.js → fetch-guard-Bn23GnZQ.js} +2 -2
- package/dist/{fetch-guard-Dn6Z6n6a.js → fetch-guard-D49piGJ5.js} +1 -1
- package/dist/{fs-safe-lC1ILeyM.js → fs-safe-BqogKG9V.js} +25 -25
- package/dist/{gateway-cli-BAEQ_NGs.js → gateway-cli-BRUhDHZW.js} +198 -198
- package/dist/{gateway-rpc-CQq2vr6O.js → gateway-rpc-C7kAjboF.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-SXyKBvLp.js → gmail-setup-utils-GO9rZVbj.js} +2 -2
- package/dist/{health-225PH5Li.js → health-C8v6lJQm.js} +11 -11
- package/dist/{health-format-BJNDw72X.js → health-format-CLs9zsB3.js} +1 -1
- package/dist/{heartbeat-tick-CA6ounlL.js → heartbeat-tick-Cn6Mm71L.js} +1 -1
- package/dist/{help-format-CYvwXoTF.js → help-format-DszGjSGq.js} +1 -1
- package/dist/{helpers-DGzbDtFa.js → helpers-BXVreVqM.js} +1 -1
- package/dist/{hooks-cli-x_66pIcE.js → hooks-cli-CVOiI_Gk.js} +108 -108
- package/dist/{hooks-status-B09UI8cu.js → hooks-status-DVlBWsZg.js} +2 -2
- package/dist/{plugin-sdk/image-ops-1WkFRYfC.js → image-ops-BiZX2JoM.js} +12 -12
- package/dist/{inspect-BYjJ-TxP.js → inspect-CQp_st3r.js} +4 -4
- package/dist/{install-safe-path-Bg4S4UtE.js → install-safe-path-CpaP5QP8.js} +25 -25
- package/dist/{installs-DauOPt1U.js → installs-iBWWAsyM.js} +10 -10
- package/dist/{ipv4-CDDNg0CB.js → ipv4-DVlWqpAi.js} +2 -2
- package/dist/{ir-YVBetd9e.js → ir-DBTx0EHu.js} +8 -8
- package/dist/{ir-Bra81NIe.js → ir-vVwcX8JG.js} +2 -2
- package/dist/{issue-format-DSEmDva0.js → issue-format-Dsb7vnfa.js} +1 -1
- package/dist/{jobs-B8LHXwxB.js → jobs-CHw5Ov3b.js} +3 -3
- package/dist/{json-files-XjEDt0Xv.js → json-files-oQZMk9pX.js} +7 -7
- package/dist/{lifecycle-core-DHrEntr4.js → lifecycle-core-CjLnS05H.js} +9 -9
- package/dist/{links-PUWFmh-v.js → links-CuEUTasJ.js} +1 -1
- package/dist/{log-tail-hSKJOSyz.js → log-tail-C_ThPK9g.js} +7 -7
- package/dist/{logging-B9NMVHxl.js → logging-D0Hd8mDh.js} +1 -1
- package/dist/{logs-cli-DUbebsRd.js → logs-cli-CEophOLi.js} +18 -18
- package/dist/{manager-DIIInXxQ.js → manager-DRfrqzWR.js} +4 -4
- package/dist/{manager-BfbMJ-zg.js → manager-D_fFKFjl.js} +14 -14
- package/dist/{manager-BVdZypmH.js → manager-LeFDfER8.js} +9 -9
- package/dist/{markdown-tables-C6xdzDiz.js → markdown-tables-BmOshwHx.js} +2 -2
- package/dist/{markdown-tables-7TebvIj0.js → markdown-tables-CzhZ9VCB.js} +1 -1
- package/dist/{memory-cli-BFmPf1vX.js → memory-cli-Di1UAOeP.js} +19 -19
- package/dist/{model-BdtGsU0w.js → model-LUi1O3vn.js} +2 -2
- package/dist/{model-catalog-BFpUFk9P.js → model-catalog-CILu9Z2R.js} +4 -4
- package/dist/{model-picker-DfPEPmyG.js → model-picker-DEtgkAeg.js} +4 -4
- package/dist/{model-selection-DFW5CGMj.js → model-selection-DkRYDpst.js} +1 -1
- package/dist/{models-BFA4HNWZ.js → models-DNB4wkv9.js} +22 -22
- package/dist/{models-cli-Dr6xsf9u.js → models-cli-3UYYFe4J.js} +108 -108
- package/dist/{models-config-tNRAxYqz.js → models-config-BaSANr-E.js} +1 -1
- package/dist/{models-config-DeFWUZZ4.js → models-config-CpqLFZ0C.js} +7 -7
- package/dist/{node-cli-CwZAQhJF.js → node-cli-C5EoWnG2.js} +43 -43
- package/dist/{node-command-policy-DI3ORiR8.js → node-command-policy-Du4mYUDU.js} +1 -1
- package/dist/{node-service-BzjqnGwX.js → node-service-1KIfvVTH.js} +1 -1
- package/dist/{nodes-cli-B8IwLLk_.js → nodes-cli-iZMsO1rK.js} +23 -23
- package/dist/{nodes-screen-_oGcI1Qk.js → nodes-screen-Bt0pPjvM.js} +8 -8
- package/dist/{note-Cx7zfzxq.js → note-D_lQmF8n.js} +2 -2
- package/dist/{npm-pack-install-DGHHbtvq.js → npm-pack-install-H0t8obmJ.js} +23 -23
- package/dist/{npm-resolution-Bs1-SlpJ.js → npm-resolution-BsmgpsD3.js} +5 -5
- package/dist/{nudge-BM2vjxIV.js → nudge-Ba6E2hnD.js} +9 -9
- package/dist/{nudge-DklIe0bB.js → nudge-Chvj0Rw2.js} +10 -10
- package/dist/{oauth-tls-preflight-XZUNc0t9.js → oauth-tls-preflight-Bz0HopcL.js} +1 -1
- package/dist/{onboard-DqzWdVBc.js → onboard-CYQVIEKp.js} +11 -11
- package/dist/{onboard-channels-BPG2HZnB.js → onboard-channels-8Z1BL5sc.js} +24 -24
- package/dist/{onboard-custom-C3M6Ycoy.js → onboard-custom-D8bIuPDq.js} +4 -4
- package/dist/{onboard-helpers-fXPeNVOY.js → onboard-helpers-BK8DRSuP.js} +13 -13
- package/dist/{onboard-hooks-BK716f_m.js → onboard-hooks-DEfvWRZ_.js} +6 -6
- package/dist/{onboard-remote-CHQaWjXK.js → onboard-remote-DUj7hiE1.js} +5 -5
- package/dist/{onboard-skills-UwDpxppX.js → onboard-skills-B3GstrRp.js} +4 -4
- package/dist/{onboarding-Bzi7Xv7r.js → onboarding-CDHMZKiy.js} +18 -18
- package/dist/{onboarding.finalize-SNascoiv.js → onboarding.finalize-D3hX9K5R.js} +116 -116
- package/dist/{onboarding.gateway-config-CAJLJZuY.js → onboarding.gateway-config-By-4hBj8.js} +21 -21
- package/dist/{onboarding.secret-input-BdYZJX40.js → onboarding.secret-input-CGZRLs69.js} +1 -1
- package/dist/{openai-model-default-CKLjgg0u.js → openai-model-default-CDCQe0bT.js} +2 -2
- package/dist/{openclaw-root-C3plUO0H.js → openclaw-root-Bh3xNyXD.js} +2 -2
- package/dist/{operator-commands-Dk778q2i.js → operator-commands-DdzvHG_L.js} +6 -6
- package/dist/{outbound-attachment-CPlIqfXt.js → outbound-attachment-CM00ZAId.js} +2 -2
- package/dist/{outbound-attachment-BeSAM8qU.js → outbound-attachment-DegoJUYB.js} +1 -1
- package/dist/{outbound-message-hooks-C1IptFSi.js → outbound-message-hooks-ClMNzy21.js} +5 -5
- package/dist/{outbound-message-hooks-CrrbzX7U.js → outbound-message-hooks-bMw-LLuz.js} +2 -2
- package/dist/{pairing-cli-44MnMOK-.js → pairing-cli-ZEOWHCym.js} +10 -10
- package/dist/{pairing-labels-BUXv00_M.js → pairing-labels-DGG9rR88.js} +1 -1
- package/dist/{pairing-store-Bt8dPEgN.js → pairing-store-3I6u3yrD.js} +4 -4
- package/dist/{path-alias-guards-DKZW3qVC.js → path-alias-guards-tEWiWfoS.js} +3 -3
- package/dist/{path-safety-CDLqkmsu.js → path-safety-DPn_Xy80.js} +1 -1
- package/dist/{pi-embedded-CL5jkXds.js → pi-embedded-BSVP6xD2.js} +64 -64
- package/dist/{pi-embedded-helpers-CsBOkBvA.js → pi-embedded-helpers-DJo9j-U6.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-DTp5q5z6.js → pi-embedded-recovery-adapter-lqZa1SR7.js} +37 -37
- package/dist/{pi-embedded-utils-D9zLeiKy.js → pi-embedded-utils-BF4B99Db.js} +1 -1
- package/dist/{pi-embedded-utils-D2xq0Dlg.js → pi-embedded-utils-BOUhZp06.js} +2 -2
- package/dist/{pi-model-discovery-DiGB5xAq.js → pi-model-discovery-B5oKc4R3.js} +1 -1
- package/dist/{pi-model-discovery-CmI-ZSqs.js → pi-model-discovery-CigFHOOz.js} +1 -1
- package/dist/{pid-alive-SdfUhiUL.js → pid-alive-dd2LsB9B.js} +1 -1
- package/dist/{plugin-auto-enable-Di22jxHz.js → plugin-auto-enable-DWc-XmZz.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter-CcRAG_7s.js → plugin-owned-work-recovery-adapter-DGWAcSir.js} +7 -7
- package/dist/{plugin-registry-m6okOYJK.js → plugin-registry-Cb2wBZSl.js} +4 -4
- 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/plugin-sdk/{errors-BcCM5PTR.js → 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-BKyJ_gQP.js → plugin-sdk/image-ops-CqatVl0e.js} +2 -2
- package/dist/plugin-sdk/{ir-BnNIPrDz.js → 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/plugin-sdk/{path-alias-guards-D1I2TIj4.js → 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/{replies-BV9swQ1C.js → plugin-sdk/replies-CyyZdjYH.js} +5 -5
- package/dist/plugin-sdk/{reply-directives-Bn4oBJnk.js → reply-directives-CXKYiQC1.js} +2 -2
- package/dist/{reply-prefix-dFOjKRtQ.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/{plugins-cli-DbSExy8A.js → plugins-cli-DtiaGIyb.js} +111 -111
- package/dist/{plugins-hJwhsniN.js → plugins-jkI2QMUK.js} +32 -32
- package/dist/{ports-X8s27uv3.js → ports-B4L6rn9E.js} +2 -2
- package/dist/{ports-CTICGXug.js → ports-BtguoLP4.js} +3 -3
- package/dist/{program-CksGKwx_.js → program-CcLb8Psv.js} +107 -107
- package/dist/{progress-BjZYY1Uu.js → progress-FkWSD-ms.js} +2 -2
- package/dist/{prompt-select-styled-Ba2czW3-.js → prompt-select-styled-DUTH4ST5.js} +48 -48
- package/dist/{prompt-style-cCsJsI34.js → prompt-style-CKvOU02-.js} +1 -1
- package/dist/{provider-auth-helpers-Cco1DT9-.js → provider-auth-helpers-BIoESstO.js} +6 -6
- package/dist/{proxy-env-D1_K1XbP.js → proxy-env-BjF-dsmA.js} +1 -1
- package/dist/{proxy-env-RzbogHFe.js → proxy-env-C0UK-5dm.js} +1 -1
- package/dist/{push-apns-BgM09-fX.js → push-apns-BnRCjqCx.js} +10 -10
- package/dist/{pw-ai-D55f0Pr9.js → pw-ai-8QlHyDLL.js} +4 -4
- package/dist/{pw-ai-BRt2VuwS.js → pw-ai-loi9x_qC.js} +17 -17
- package/dist/{qmd-manager-C4rOtrQS.js → qmd-manager-B_ED_NmL.js} +2 -2
- package/dist/{qmd-manager-BE2jOEtY.js → qmd-manager-DE17I-GG.js} +25 -25
- package/dist/{qmd-scope-CCUmVM52.js → qmd-scope-C7RZSmjF.js} +1 -1
- package/dist/{qr-cli-DWJQyq6f.js → qr-cli-C21aeT7a.js} +9 -9
- package/dist/{query-expansion-Dm_RIg6M.js → query-expansion-BVj0lCGG.js} +1 -1
- package/dist/{query-expansion-DiS55fL8.js → query-expansion-Bt2T2t1J.js} +10 -10
- package/dist/{reconcile-bundled-CS-YCQMj.js → reconcile-bundled-C2O6l6xl.js} +3 -3
- package/dist/{recorder-DRV1SIKe.js → recorder-BowlGHGe.js} +1 -1
- package/dist/{recorder-sONRpmXO.js → recorder-MkhBoIQ8.js} +2 -2
- package/dist/{recovery-adapter-QihxBJX1.js → recovery-adapter-DFSy8tM2.js} +3 -3
- package/dist/{recovery-adapter-CE-CS8gT.js → recovery-adapter-DLmjnZui.js} +7 -7
- package/dist/{recovery-adapter-hQc2OlhS.js → recovery-adapter-LXEXe9qT.js} +2 -2
- package/dist/{recovery-prompt-DOrSuDNr.js → recovery-prompt-BZciroCj.js} +1 -1
- package/dist/{redact-snapshot-ZwtXuqkJ.js → redact-snapshot-DrvZI2y8.js} +2 -2
- package/dist/{register.agent-Ryj1Y3cF.js → register.agent-C9Q4TbJV.js} +122 -122
- package/dist/register.configure-BjZmfKDU.js +170 -0
- package/dist/{register.maintenance-ADp9HkB5.js → register.maintenance-CFd160fT.js} +130 -130
- package/dist/{register.message-CJJI5stq.js → register.message-3kx8P86J.js} +101 -101
- package/dist/{register.onboard-CgC5-Vgb.js → register.onboard-C-lkIY7d.js} +26 -26
- package/dist/{register.setup-DOXh2Bsp.js → register.setup-BAiTfEey.js} +29 -29
- package/dist/{register.status-health-sessions-Gb6bT4z7.js → register.status-health-sessions-DOrDm-yG.js} +120 -120
- package/dist/{register.subclis-B1TmGIjo.js → register.subclis-3YVvoBSB.js} +34 -34
- package/dist/{replies-BL7cHT2h.js → replies-7qxW8HcU.js} +4 -4
- package/dist/{plugin-sdk/replies-HCqRS_IF.js → replies-v8JTcIK3.js} +5 -5
- package/dist/{reply-directives-AfKRCqZx.js → reply-directives-BSDOTSgY.js} +2 -2
- package/dist/{reply-directives-D4Hftiqp.js → reply-directives-DarQZxqY.js} +1 -1
- package/dist/{plugin-sdk/reply-prefix-CCyygbH2.js → reply-prefix-CJ_JdsYa.js} +1 -1
- package/dist/{reset-DVYPRsdq.js → reset-Dnw4nNtL.js} +1 -1
- package/dist/{resolve-route-D96zWGGF.js → resolve-route-B15qdahX.js} +1 -1
- package/dist/{resolve-route-jsfvjnjM.js → resolve-route-ChrD30tC.js} +5 -5
- package/dist/{rpc-B-JqtZFU.js → rpc-CZkdcSAv.js} +3 -3
- package/dist/{run-main-BiXsCL7k.js → run-main-BBLzm5df.js} +120 -120
- package/dist/{runs-CAO_rrxJ.js → runs-5zWtWfx5.js} +5 -5
- package/dist/{runs-D3pvYlI5.js → runs-lJqVvQpF.js} +7 -7
- package/dist/{runtime-CX9Ouo4d.js → runtime-C6jPY8mC.js} +4 -4
- package/dist/{runtime-config-BlJKzsfR.js → runtime-config-C3elfZ8o.js} +1 -1
- package/dist/{runtime-config-collectors-L3B3v-vc.js → runtime-config-collectors-CpQCtgl-.js} +1 -1
- package/dist/{runtime-guard-BqXbX2C8.js → runtime-guard-9X-WolTn.js} +1 -1
- package/dist/{sandbox-pDe2U_mh.js → sandbox-B1zZvKcw.js} +21 -21
- package/dist/{sandbox-cli-30QRIK2J.js → sandbox-cli-DzmoYlMv.js} +33 -33
- package/dist/{secrets-cli-DqMBExeW.js → secrets-cli-DfVOcY7E.js} +16 -16
- package/dist/{security-cli-Bggbv_hS.js → security-cli-DEsAfTtt.js} +47 -47
- package/dist/{send-DHil3Tj6.js → send-C8YuqL0X.js} +6 -6
- package/dist/{send-Dv__vEQx.js → send-Cl-ugSMv.js} +5 -5
- package/dist/{send-Co8hK60n.js → send-D1F9bQCi.js} +13 -13
- package/dist/{send-FQrlCKRx.js → send-DJypuRge.js} +6 -6
- package/dist/{send-T9aTnSyS.js → send-DdyIJ_uy.js} +4 -4
- package/dist/{send-CS1yI0B4.js → send-Dy4zxtn3.js} +6 -6
- package/dist/{send-BCxn7V3E.js → send-THRoEbTj.js} +7 -7
- package/dist/{send-SCUE8Q1y.js → send-hay_ikCy.js} +6 -6
- package/dist/{server-NcbcM2wV.js → server-CyC0JY7y.js} +23 -23
- package/dist/{server-context-Dbo6G7sv.js → server-context-BHTq-BWT.js} +12 -12
- package/dist/{server-lifecycle-B_stkYoe.js → server-lifecycle-yrYTmjE-.js} +3 -3
- package/dist/{server-middleware-B_2l7R1r.js → server-middleware-ZUs-xzRz.js} +1 -1
- package/dist/{server-node-events-B6FtiNSg.js → server-node-events-CkTQV9Az.js} +101 -101
- package/dist/{service-Dqk7p14H.js → service-Zezrymwp.js} +15 -15
- package/dist/{session-consumer-agents-CvPuQmfS.js → session-consumer-agents-BRMrM2o-.js} +1 -1
- package/dist/{session-consumer-claim-sweep-DhVmxqQy.js → session-consumer-claim-sweep-_oL2rxfz.js} +9 -9
- package/dist/{session-key-DCnSJLJC.js → session-key-D0gYNgj1.js} +1 -1
- package/dist/{session-meta-dUXgzHbR.js → session-meta-DaUsOxk7.js} +1 -1
- package/dist/{session-meta-CyokAxEY.js → session-meta-DgpwY0ah.js} +1 -1
- package/dist/{session-storage-CjIKP2NZ.js → session-storage-BfU-kuLQ.js} +22 -22
- package/dist/{session-storage-owner-CO5jNlHE.js → session-storage-owner-D_Fi2Wk6.js} +53 -53
- package/dist/{session-store-targets-BGJ8yVsf.js → session-store-targets-hkH2SdUu.js} +3 -3
- package/dist/{session-utils-c3U4yjnJ.js → session-utils-Cdb2eB8x.js} +9 -9
- package/dist/{sessions-A1wDmvXO.js → sessions-B-dL4q0P.js} +1 -1
- package/dist/{sessions-BvaQTQmu.js → sessions-BM-Q49zJ.js} +5 -5
- package/dist/{sessions-BiELuq5_.js → sessions-C2ZQ1A-F.js} +17 -17
- package/dist/{sessions-DnaVJUbG.js → sessions-CvMRmh8w.js} +6 -6
- package/dist/{sessions-claims-status-qsIZrqkF.js → sessions-claims-status-Dfbt3tnB.js} +11 -11
- package/dist/{sessions-maintenance-core-DEdXmfR_.js → sessions-maintenance-core-BW8CjGZC.js} +8 -8
- package/dist/{setup-helpers-Diezeqg_.js → setup-helpers-pNb4G258.js} +1 -1
- package/dist/{shared-B3ocxh66.js → shared-BP-zD7jL.js} +4 -4
- package/dist/{shared-B6U3uuAo.js → shared-CAhli5Ov.js} +2 -2
- package/dist/{skill-commands-CZ8IAEbM.js → skill-commands-1Axnvvz6.js} +2 -2
- package/dist/{skill-commands-BETnQ4BY.js → skill-commands-BkpzU1Pe.js} +7 -7
- package/dist/{skill-scanner-DXsZ33dg.js → skill-scanner-CfYJtlhU.js} +7 -7
- package/dist/{skills-D7jLGkoP.js → skills-CMwL1GBr.js} +1 -1
- package/dist/{skills-B5z9ZsEq.js → skills-DL1ojgrn.js} +6 -6
- package/dist/{skills-cli-HYs8JFCk.js → skills-cli-CIpQS5R0.js} +9 -9
- package/dist/{skills-install-87RyWiU6.js → skills-install-CVPzCve4.js} +9 -9
- package/dist/{skills-status-VTzFS62-.js → skills-status-yGkSyL5Y.js} +3 -3
- package/dist/{status-6Pto7ZBs.js → status-5ghaY4vw.js} +49 -49
- package/dist/{status.update-8Y1m_3ee.js → status.update-CP6-2fA7.js} +2 -2
- package/dist/{storage-config-0A4GJ9dw.js → storage-config-Bnq9G52N.js} +4 -4
- package/dist/{store-fP8MzUS1.js → store-cV4bbDty.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-CCaYPH_3.js → supervisor-RSmYlWKn.js} +2 -2
- package/dist/{system-cli-DHhkZXhu.js → system-cli-Ba8Cksuh.js} +13 -13
- package/dist/{system-run-command-BOMgaFVw.js → system-run-command-B6oEb0S7.js} +2 -2
- package/dist/{systemd-z2RhFRaN.js → systemd-BVSb7hmO.js} +11 -11
- package/dist/{systemd-hints-BZZDCrDu.js → systemd-hints-QF9bOgxF.js} +9 -9
- package/dist/{systemd-linger-wlGX54dO.js → systemd-linger-C3vWGByc.js} +2 -2
- package/dist/{table-B9NKM7QS.js → table-BlAgr2Pf.js} +2 -2
- package/dist/{tables-DIX5n_bD.js → tables-BRQFx6QN.js} +1 -1
- package/dist/{tables-BFlTcF5k.js → tables-rCzAF-en.js} +1 -1
- package/dist/{tailnet-jp0meR1r.js → tailnet-BrtA9p9W.js} +1 -1
- package/dist/{tailscale-C8Mp_8WD.js → tailscale-N0qH8IeI.js} +2 -2
- package/dist/{task-pipeline-boot-BECY3KSk.js → task-pipeline-boot-Bhs2KtgV.js} +101 -101
- package/dist/{task-runlog-retention-PxLOGqDm.js → task-runlog-retention-BbfPrVTF.js} +5 -5
- package/dist/{tasks-CTVdDpmg.js → tasks-B4ZWGApJ.js} +11 -11
- package/dist/{tokens-DN7qBY5z.js → tokens-DB7GfarG.js} +1 -1
- package/dist/{tool-display-CiO2G0my.js → tool-display-geiQFcY0.js} +1 -1
- package/dist/{tool-loop-detection-DQjVlWYY.js → tool-loop-detection-FPHHn6dc.js} +2 -2
- package/dist/{trash-LrcyZ91F.js → trash-DdUKVsNs.js} +3 -3
- package/dist/{tui-xf8IgnqM.js → tui-BOtfvVU1.js} +9 -9
- package/dist/{tui-cli-DHuAZ4Tn.js → tui-cli-BimiaKdT.js} +35 -35
- package/dist/{update-D7SZ97V0.js → update-DtLchPKN.js} +3 -3
- package/dist/{update-cli-DCOpiuuc.js → update-cli-D4CRTu-Y.js} +140 -140
- package/dist/{update-runner-CAqinp0p.js → update-runner-RF2NcyRl.js} +18 -18
- package/dist/{user-run-recording-CTOXtrSm.js → user-run-recording-Bax2KSZY.js} +1 -1
- package/dist/{user-run-recording-Dyk-akZz.js → user-run-recording-D5nQiSUv.js} +2 -2
- package/dist/{validation-cli-BfqKMFuW.js → validation-cli-cKBnF9Ls.js} +100 -100
- package/dist/{web-cli-DjtxcVT4.js → web-cli-BZ0Zc6-w.js} +3 -3
- package/dist/{webhooks-cli-DyJgkjfJ.js → webhooks-cli-D4_kaUZ9.js} +10 -10
- package/dist/{widearea-dns-DVcwi8Gl.js → widearea-dns-yEJeCMxo.js} +1 -1
- package/dist/{with-timeout-FupCoEUw.js → with-timeout-DsMQOfWA.js} +6 -6
- package/dist/{workspace-CW_EbF1c.js → workspace-YBHCWOnL.js} +2 -2
- package/dist/{workspace-dirs-BBODHFtF.js → workspace-dirs-fmaX57pQ.js} +1 -1
- package/dist/{ws-CQigqc-W.js → ws-CWxX8WDm.js} +1 -1
- package/dist/{ws-XBuRX9zR.js → ws-DL02xZ7p.js} +2 -2
- package/dist/{wsl-BUAmcNIB.js → wsl-DCCrtVjw.js} +2 -2
- 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/cli-BLM45Ywj.js +0 -166
- package/dist/register.configure-CTCrUI3p.js +0 -170
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Hn as GATEWAY_CLIENT_NAMES, Vn as GATEWAY_CLIENT_MODES } from "./plugins-
|
|
2
|
-
import { n as callGateway, o as openGatewayCliSession } from "./call-
|
|
3
|
-
import { n as withProgress } from "./progress-
|
|
1
|
+
import { Hn as GATEWAY_CLIENT_NAMES, Vn as GATEWAY_CLIENT_MODES } from "./plugins-jkI2QMUK.js";
|
|
2
|
+
import { n as callGateway, o as openGatewayCliSession } from "./call-BltQb5p8.js";
|
|
3
|
+
import { n as withProgress } from "./progress-FkWSD-ms.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/gateway-rpc.ts
|
|
6
6
|
function addGatewayClientOptions(cmd) {
|
|
@@ -7,7 +7,7 @@ import fs from "node:fs";
|
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
import { Logger } from "tslog";
|
|
9
9
|
import JSON5 from "json5";
|
|
10
|
-
import
|
|
10
|
+
import fsPromises from "node:fs/promises";
|
|
11
11
|
import { promisify } from "node:util";
|
|
12
12
|
import zlib from "node:zlib";
|
|
13
13
|
|
|
@@ -1020,7 +1020,7 @@ async function resolveBoundaryPathLexicalAsync(params) {
|
|
|
1020
1020
|
const stat = await readLexicalStat({
|
|
1021
1021
|
...sharedStepParams,
|
|
1022
1022
|
missingFromIndex: idx,
|
|
1023
|
-
read: (cursor) =>
|
|
1023
|
+
read: (cursor) => fsPromises.lstat(cursor)
|
|
1024
1024
|
});
|
|
1025
1025
|
if (!stat) break;
|
|
1026
1026
|
const disposition = handleLexicalStatDisposition({
|
|
@@ -1192,7 +1192,7 @@ async function resolvePathViaExistingAncestor(targetPath) {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
if (!await pathExists(cursor)) return normalized;
|
|
1194
1194
|
try {
|
|
1195
|
-
const resolvedAncestor = path.resolve(await
|
|
1195
|
+
const resolvedAncestor = path.resolve(await fsPromises.realpath(cursor));
|
|
1196
1196
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
1197
1197
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
1198
1198
|
} catch {
|
|
@@ -1222,7 +1222,7 @@ async function getPathKind(absolutePath, preserveFinalSymlink) {
|
|
|
1222
1222
|
try {
|
|
1223
1223
|
return {
|
|
1224
1224
|
exists: true,
|
|
1225
|
-
kind: toResolvedKind(preserveFinalSymlink ? await
|
|
1225
|
+
kind: toResolvedKind(preserveFinalSymlink ? await fsPromises.lstat(absolutePath) : await fsPromises.stat(absolutePath))
|
|
1226
1226
|
};
|
|
1227
1227
|
} catch (error) {
|
|
1228
1228
|
if (isNotFoundPathError(error)) return {
|
|
@@ -1278,7 +1278,7 @@ function isFilesystemRoot(candidate) {
|
|
|
1278
1278
|
}
|
|
1279
1279
|
async function pathExists(targetPath) {
|
|
1280
1280
|
try {
|
|
1281
|
-
await
|
|
1281
|
+
await fsPromises.lstat(targetPath);
|
|
1282
1282
|
return true;
|
|
1283
1283
|
} catch (error) {
|
|
1284
1284
|
if (isNotFoundPathError(error)) return false;
|
|
@@ -1287,10 +1287,10 @@ async function pathExists(targetPath) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
async function resolveSymlinkHopPath(symlinkPath) {
|
|
1289
1289
|
try {
|
|
1290
|
-
return path.resolve(await
|
|
1290
|
+
return path.resolve(await fsPromises.realpath(symlinkPath));
|
|
1291
1291
|
} catch (error) {
|
|
1292
1292
|
if (!isNotFoundPathError(error)) throw error;
|
|
1293
|
-
const linkTarget = await
|
|
1293
|
+
const linkTarget = await fsPromises.readlink(symlinkPath);
|
|
1294
1294
|
return resolvePathViaExistingAncestor(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { St as resolveUserPath } from "./globals-
|
|
1
|
+
import { St as resolveUserPath } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
3
|
+
import { t as runCommandWithTimeout } from "./exec-BadOxgw_.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-Bhm7sp53.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as isRich, n as info, p as theme } from "./globals-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { f as isRich, n as info, p as theme } from "./globals-3lUHnZas.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
5
|
-
import { i as resolveHeartbeatSummaryForAgent } from "./agent-turn-execute-
|
|
6
|
-
import { Ft as resolveStorePath, Qo as buildChannelAccountBindings, Z as SessionStorageUnavailableError, es as resolvePreferredAccountId, it as loadSessionStore, n as listChannelPlugins, rr as loadConfig, t as getChannelPlugin } from "./plugins-
|
|
7
|
-
import { p as normalizeAgentId } from "./session-key-
|
|
8
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
9
|
-
import { b as getGatewayRestartRecoveryRuntime } from "./agent-turn-runner-
|
|
5
|
+
import { i as resolveHeartbeatSummaryForAgent } from "./agent-turn-execute-idltAVtu.js";
|
|
6
|
+
import { Ft as resolveStorePath, Qo as buildChannelAccountBindings, Z as SessionStorageUnavailableError, es as resolvePreferredAccountId, it as loadSessionStore, n as listChannelPlugins, rr as loadConfig, t as getChannelPlugin } from "./plugins-jkI2QMUK.js";
|
|
7
|
+
import { p as normalizeAgentId } from "./session-key-D0gYNgj1.js";
|
|
8
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import { b as getGatewayRestartRecoveryRuntime } from "./agent-turn-runner-C2jDvczc.js";
|
|
10
10
|
import { i as formatErrorMessage } from "./errors-DvKWUPmm.js";
|
|
11
|
-
import { r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-BltQb5p8.js";
|
|
12
12
|
import { t as formatDurationCompact } from "./format-duration-BynaIN4v.js";
|
|
13
|
-
import { r as resolveSessionStorageRoute } from "./session-storage-owner-
|
|
14
|
-
import { n as withProgress } from "./progress-
|
|
15
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
13
|
+
import { r as resolveSessionStorageRoute } from "./session-storage-owner-D_Fi2Wk6.js";
|
|
14
|
+
import { n as withProgress } from "./progress-FkWSD-ms.js";
|
|
15
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-BXVreVqM.js";
|
|
16
16
|
|
|
17
17
|
//#region src/terminal/health-style.ts
|
|
18
18
|
function styleHealthChannelLine(line, rich) {
|
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
import { B as isPathInsideWithRealpath, St as resolveUserPath, Tt as shortenHomePath, ct as CONFIG_DIR, p as theme, z as isPathInside } from "./globals-
|
|
1
|
+
import { B as isPathInsideWithRealpath, St as resolveUserPath, Tt as shortenHomePath, ct as CONFIG_DIR, p as theme, z as isPathInside } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import "./agent-turn-enqueue-
|
|
6
|
-
import "./agent-turn-execute-
|
|
7
|
-
import { lr as writeConfigFile, rr as loadConfig } from "./plugins-
|
|
5
|
+
import "./agent-turn-enqueue-DICnRqYY.js";
|
|
6
|
+
import "./agent-turn-execute-idltAVtu.js";
|
|
7
|
+
import { lr as writeConfigFile, rr as loadConfig } from "./plugins-jkI2QMUK.js";
|
|
8
8
|
import "./retry-policy-By-oqFVH.js";
|
|
9
9
|
import "./version-BdUvZ8Ep.js";
|
|
10
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
11
|
-
import "./exec-
|
|
10
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
11
|
+
import "./exec-BadOxgw_.js";
|
|
12
12
|
import "./github-copilot-token-CmScvpk-.js";
|
|
13
|
-
import "./pid-alive-
|
|
13
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
14
14
|
import "./static-app-y2aJYHKZ.js";
|
|
15
15
|
import { t as readManifestNamespace } from "./legacy-names-BLK1h6gZ.js";
|
|
16
16
|
import { t as formatCliCommand } from "./command-format-C8lewPDO.js";
|
|
17
|
-
import "./send-
|
|
18
|
-
import "./send-
|
|
19
|
-
import "./storage-config-
|
|
20
|
-
import "./nudge-
|
|
17
|
+
import "./send-THRoEbTj.js";
|
|
18
|
+
import "./send-D1F9bQCi.js";
|
|
19
|
+
import "./storage-config-Bnq9G52N.js";
|
|
20
|
+
import "./nudge-Ba6E2hnD.js";
|
|
21
21
|
import "./diagnostic-events-Bar3Iz3R.js";
|
|
22
|
-
import "./agent-turn-runner-
|
|
23
|
-
import "./recorder-
|
|
22
|
+
import "./agent-turn-runner-C2jDvczc.js";
|
|
23
|
+
import "./recorder-MkhBoIQ8.js";
|
|
24
24
|
import "./gateway-instance-id-DpYVNTSN.js";
|
|
25
|
-
import "./pi-embedded-helpers-
|
|
26
|
-
import "./sandbox-
|
|
25
|
+
import "./pi-embedded-helpers-DJo9j-U6.js";
|
|
26
|
+
import "./sandbox-B1zZvKcw.js";
|
|
27
27
|
import "./tool-catalog-CR5vGJFh.js";
|
|
28
|
-
import "./extension-relay-auth-
|
|
29
|
-
import { l as promptYesNo } from "./tailscale-
|
|
30
|
-
import "./tailnet-
|
|
31
|
-
import "./ws-
|
|
32
|
-
import "./auth-
|
|
33
|
-
import "./server-context-
|
|
28
|
+
import "./extension-relay-auth-DPPoRrd5.js";
|
|
29
|
+
import { l as promptYesNo } from "./tailscale-N0qH8IeI.js";
|
|
30
|
+
import "./tailnet-BrtA9p9W.js";
|
|
31
|
+
import "./ws-DL02xZ7p.js";
|
|
32
|
+
import "./auth-BCzU-mkD.js";
|
|
33
|
+
import "./server-context-BHTq-BWT.js";
|
|
34
34
|
import "./frontmatter-Bhm7sp53.js";
|
|
35
|
-
import { C as validateRegistryNpmSpec } from "./skills-
|
|
36
|
-
import "./path-alias-guards-
|
|
35
|
+
import { C as validateRegistryNpmSpec } from "./skills-DL1ojgrn.js";
|
|
36
|
+
import "./path-alias-guards-tEWiWfoS.js";
|
|
37
37
|
import "./redact-DuZtecUY.js";
|
|
38
38
|
import "./errors-DvKWUPmm.js";
|
|
39
|
-
import "./fs-safe-
|
|
40
|
-
import "./proxy-env-
|
|
41
|
-
import "./image-ops-
|
|
42
|
-
import "./store-
|
|
43
|
-
import "./chrome-
|
|
44
|
-
import "./trash-
|
|
45
|
-
import "./ports-
|
|
46
|
-
import "./server-middleware-
|
|
47
|
-
import "./sessions-
|
|
48
|
-
import "./reset-
|
|
39
|
+
import "./fs-safe-BqogKG9V.js";
|
|
40
|
+
import "./proxy-env-BjF-dsmA.js";
|
|
41
|
+
import "./image-ops-BiZX2JoM.js";
|
|
42
|
+
import "./store-cV4bbDty.js";
|
|
43
|
+
import "./chrome-DJfXPpfx.js";
|
|
44
|
+
import "./trash-DdUKVsNs.js";
|
|
45
|
+
import "./ports-BtguoLP4.js";
|
|
46
|
+
import "./server-middleware-ZUs-xzRz.js";
|
|
47
|
+
import "./sessions-BM-Q49zJ.js";
|
|
48
|
+
import "./reset-Dnw4nNtL.js";
|
|
49
49
|
import "./stagger-DeKW3Z4c.js";
|
|
50
|
-
import "./jobs-
|
|
50
|
+
import "./jobs-CHw5Ov3b.js";
|
|
51
51
|
import "./task-run-types-Bt-7ZJU6.js";
|
|
52
52
|
import "./thinking-Ch1vg5Mi.js";
|
|
53
|
-
import "./reply-prefix-
|
|
54
|
-
import "./tokens-
|
|
55
|
-
import "./with-timeout-
|
|
56
|
-
import "./diagnostic-
|
|
53
|
+
import "./reply-prefix-CJ_JdsYa.js";
|
|
54
|
+
import "./tokens-DB7GfarG.js";
|
|
55
|
+
import "./with-timeout-DsMQOfWA.js";
|
|
56
|
+
import "./diagnostic-C0AOXO65.js";
|
|
57
57
|
import "./diagnostic-session-state-BRKrDBj3.js";
|
|
58
|
-
import "./command-queue-
|
|
59
|
-
import "./model-
|
|
60
|
-
import "./pi-model-discovery-
|
|
61
|
-
import "./models-config-
|
|
62
|
-
import "./exec-approvals-allowlist-
|
|
63
|
-
import "./exec-safe-bin-runtime-policy-
|
|
64
|
-
import "./session-consumer-agents-
|
|
65
|
-
import "./model-catalog-
|
|
66
|
-
import "./pi-embedded-utils-
|
|
67
|
-
import "./tool-display-
|
|
68
|
-
import "./audio-transcription-runner-
|
|
69
|
-
import "./fetch-
|
|
70
|
-
import "./fetch-guard-
|
|
71
|
-
import "./api-key-rotation-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./markdown-tables-
|
|
74
|
-
import "./ir-
|
|
58
|
+
import "./command-queue-C17N9gab.js";
|
|
59
|
+
import "./model-LUi1O3vn.js";
|
|
60
|
+
import "./pi-model-discovery-CigFHOOz.js";
|
|
61
|
+
import "./models-config-CpqLFZ0C.js";
|
|
62
|
+
import "./exec-approvals-allowlist-B9t8qYRi.js";
|
|
63
|
+
import "./exec-safe-bin-runtime-policy-DLnEvKn8.js";
|
|
64
|
+
import "./session-consumer-agents-BRMrM2o-.js";
|
|
65
|
+
import "./model-catalog-CILu9Z2R.js";
|
|
66
|
+
import "./pi-embedded-utils-BOUhZp06.js";
|
|
67
|
+
import "./tool-display-geiQFcY0.js";
|
|
68
|
+
import "./audio-transcription-runner-BQbTpN83.js";
|
|
69
|
+
import "./fetch-KUu9BT-y.js";
|
|
70
|
+
import "./fetch-guard-Bn23GnZQ.js";
|
|
71
|
+
import "./api-key-rotation-JDh9X_oP.js";
|
|
72
|
+
import "./chunk-CIpxqo8a.js";
|
|
73
|
+
import "./markdown-tables-BmOshwHx.js";
|
|
74
|
+
import "./ir-DBTx0EHu.js";
|
|
75
75
|
import "./render-K7NwXvVu.js";
|
|
76
|
-
import "./commands-
|
|
77
|
-
import "./commands-registry-
|
|
78
|
-
import "./user-run-recording-
|
|
79
|
-
import "./manager-
|
|
80
|
-
import "./client-
|
|
81
|
-
import "./call-
|
|
76
|
+
import "./commands-SeKi2OWl.js";
|
|
77
|
+
import "./commands-registry-uKHucCpf.js";
|
|
78
|
+
import "./user-run-recording-D5nQiSUv.js";
|
|
79
|
+
import "./manager-LeFDfER8.js";
|
|
80
|
+
import "./client-BMDbXMKo.js";
|
|
81
|
+
import "./call-BltQb5p8.js";
|
|
82
82
|
import "./pairing-token-C8aCkuns.js";
|
|
83
|
-
import "./runs-
|
|
84
|
-
import "./outbound-message-hooks-
|
|
85
|
-
import "./deliver-
|
|
86
|
-
import "./session-utils-
|
|
83
|
+
import "./runs-lJqVvQpF.js";
|
|
84
|
+
import "./outbound-message-hooks-ClMNzy21.js";
|
|
85
|
+
import "./deliver-BPWNdSsP.js";
|
|
86
|
+
import "./session-utils-Cdb2eB8x.js";
|
|
87
87
|
import "./fetch-oekNdlhl.js";
|
|
88
|
-
import "./pairing-store-
|
|
89
|
-
import "./exec-approvals-
|
|
90
|
-
import "./nodes-screen-
|
|
91
|
-
import "./supervisor-
|
|
92
|
-
import "./system-run-command-
|
|
93
|
-
import "./skill-commands-
|
|
94
|
-
import "./workspace-dirs-
|
|
95
|
-
import "./redact-snapshot-
|
|
96
|
-
import "./tables-
|
|
88
|
+
import "./pairing-store-3I6u3yrD.js";
|
|
89
|
+
import "./exec-approvals-bsuh4PHE.js";
|
|
90
|
+
import "./nodes-screen-Bt0pPjvM.js";
|
|
91
|
+
import "./supervisor-RSmYlWKn.js";
|
|
92
|
+
import "./system-run-command-B6oEb0S7.js";
|
|
93
|
+
import "./skill-commands-BkpzU1Pe.js";
|
|
94
|
+
import "./workspace-dirs-fmaX57pQ.js";
|
|
95
|
+
import "./redact-snapshot-DrvZI2y8.js";
|
|
96
|
+
import "./tables-BRQFx6QN.js";
|
|
97
97
|
import "./strip-inbound-meta-BxBcN1Ax.js";
|
|
98
|
-
import "./server-lifecycle-
|
|
99
|
-
import "./dm-policy-shared-
|
|
100
|
-
import "./reply-directives-
|
|
101
|
-
import "./channel-selection-
|
|
102
|
-
import "./plugin-auto-enable-
|
|
103
|
-
import "./send-
|
|
104
|
-
import "./outbound-attachment-
|
|
98
|
+
import "./server-lifecycle-yrYTmjE-.js";
|
|
99
|
+
import "./dm-policy-shared-5u9bRZcn.js";
|
|
100
|
+
import "./reply-directives-BSDOTSgY.js";
|
|
101
|
+
import "./channel-selection-BdOi2As8.js";
|
|
102
|
+
import "./plugin-auto-enable-DWc-XmZz.js";
|
|
103
|
+
import "./send-C8YuqL0X.js";
|
|
104
|
+
import "./outbound-attachment-CM00ZAId.js";
|
|
105
105
|
import "./delivery-queue-URnBtvf5.js";
|
|
106
|
-
import "./send-
|
|
107
|
-
import "./resolve-route-
|
|
108
|
-
import "./session-meta-
|
|
109
|
-
import "./replies-
|
|
110
|
-
import "./runtime-config-collectors-
|
|
111
|
-
import "./command-secret-targets-
|
|
112
|
-
import "./onboard-helpers-
|
|
113
|
-
import "./wsl-
|
|
114
|
-
import "./prompt-style-
|
|
115
|
-
import "./pairing-labels-
|
|
116
|
-
import "./memory-cli-
|
|
117
|
-
import "./manager-
|
|
118
|
-
import "./query-expansion-
|
|
119
|
-
import "./session-storage-owner-
|
|
120
|
-
import { t as formatDocsLink } from "./links-
|
|
106
|
+
import "./send-hay_ikCy.js";
|
|
107
|
+
import "./resolve-route-ChrD30tC.js";
|
|
108
|
+
import "./session-meta-DaUsOxk7.js";
|
|
109
|
+
import "./replies-v8JTcIK3.js";
|
|
110
|
+
import "./runtime-config-collectors-CpQCtgl-.js";
|
|
111
|
+
import "./command-secret-targets-BZ1SboqY.js";
|
|
112
|
+
import "./onboard-helpers-BK8DRSuP.js";
|
|
113
|
+
import "./wsl-DCCrtVjw.js";
|
|
114
|
+
import "./prompt-style-CKvOU02-.js";
|
|
115
|
+
import "./pairing-labels-DGG9rR88.js";
|
|
116
|
+
import "./memory-cli-Di1UAOeP.js";
|
|
117
|
+
import "./manager-D_fFKFjl.js";
|
|
118
|
+
import "./query-expansion-Bt2T2t1J.js";
|
|
119
|
+
import "./session-storage-owner-D_Fi2Wk6.js";
|
|
120
|
+
import { t as formatDocsLink } from "./links-CuEUTasJ.js";
|
|
121
121
|
import "./cli-utils-DyGKoc5l.js";
|
|
122
|
-
import "./help-format-
|
|
123
|
-
import "./progress-
|
|
124
|
-
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, u as resolveArchiveKind } from "./install-safe-path-
|
|
125
|
-
import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, o as installPackageDirWithManifestDeps, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-
|
|
126
|
-
import { t as renderTable } from "./table-
|
|
127
|
-
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-
|
|
128
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
129
|
-
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
122
|
+
import "./help-format-DszGjSGq.js";
|
|
123
|
+
import "./progress-FkWSD-ms.js";
|
|
124
|
+
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, u as resolveArchiveKind } from "./install-safe-path-CpaP5QP8.js";
|
|
125
|
+
import { a as installPackageDir, c as resolveTimedInstallModeOptions, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, o as installPackageDirWithManifestDeps, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-H0t8obmJ.js";
|
|
126
|
+
import { t as renderTable } from "./table-BlAgr2Pf.js";
|
|
127
|
+
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-YBHCWOnL.js";
|
|
128
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-DVlBWsZg.js";
|
|
129
|
+
import { i as buildPluginStatusReport, n as resolvePinnedNpmInstallRecordForCli, r as looksLikeLocalInstallSpec, t as buildNpmInstallRecordFields } from "./npm-resolution-BsmgpsD3.js";
|
|
130
130
|
import path from "node:path";
|
|
131
131
|
import fs from "node:fs";
|
|
132
|
-
import
|
|
132
|
+
import fsPromises from "node:fs/promises";
|
|
133
133
|
|
|
134
134
|
//#region src/infra/install-from-npm-spec.ts
|
|
135
135
|
async function installFromValidatedNpmSpecArchive(params) {
|
|
@@ -234,7 +234,7 @@ async function installFromResolvedHookDir(resolvedDir, params) {
|
|
|
234
234
|
async function resolveHookNameFromDir(hookDir) {
|
|
235
235
|
const hookMdPath = path.join(hookDir, "HOOK.md");
|
|
236
236
|
if (!await fileExists(hookMdPath)) throw new Error(`HOOK.md missing in ${hookDir}`);
|
|
237
|
-
return parseFrontmatter(await
|
|
237
|
+
return parseFrontmatter(await fsPromises.readFile(hookMdPath, "utf-8")).name || path.basename(hookDir);
|
|
238
238
|
}
|
|
239
239
|
async function validateHookDir(hookDir) {
|
|
240
240
|
if (!await fileExists(path.join(hookDir, "HOOK.md"))) throw new Error(`HOOK.md missing in ${hookDir}`);
|
|
@@ -563,7 +563,7 @@ function logIntegrityDriftWarning(hookId, drift) {
|
|
|
563
563
|
}
|
|
564
564
|
async function readInstalledPackageVersion(dir) {
|
|
565
565
|
try {
|
|
566
|
-
const raw = await
|
|
566
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
567
567
|
const parsed = JSON.parse(raw);
|
|
568
568
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
569
569
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ct as CONFIG_DIR } from "./globals-
|
|
1
|
+
import { ct as CONFIG_DIR } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { d as hasBinary } from "./frontmatter-Bhm7sp53.js";
|
|
3
3
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-BCj0JOsI.js";
|
|
4
|
-
import { n as isConfigPathTruthy, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-
|
|
4
|
+
import { n as isConfigPathTruthy, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-YBHCWOnL.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
|
|
7
7
|
//#region src/hooks/hooks-status.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import path from "node:path";
|
|
1
|
+
import { n as runExec } from "./exec-BadOxgw_.js";
|
|
3
2
|
import os from "node:os";
|
|
4
|
-
import
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
import { fileTypeFromBuffer } from "file-type";
|
|
6
6
|
|
|
7
7
|
//#region src/media/constants.ts
|
|
@@ -233,11 +233,11 @@ function readJpegExifOrientation(buffer) {
|
|
|
233
233
|
return null;
|
|
234
234
|
}
|
|
235
235
|
async function withTempDir(fn) {
|
|
236
|
-
const dir = await
|
|
236
|
+
const dir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-img-"));
|
|
237
237
|
try {
|
|
238
238
|
return await fn(dir);
|
|
239
239
|
} finally {
|
|
240
|
-
await
|
|
240
|
+
await fsPromises.rm(dir, {
|
|
241
241
|
recursive: true,
|
|
242
242
|
force: true
|
|
243
243
|
}).catch(() => {});
|
|
@@ -246,7 +246,7 @@ async function withTempDir(fn) {
|
|
|
246
246
|
async function sipsMetadataFromBuffer(buffer) {
|
|
247
247
|
return await withTempDir(async (dir) => {
|
|
248
248
|
const input = path.join(dir, "in.img");
|
|
249
|
-
await
|
|
249
|
+
await fsPromises.writeFile(input, buffer);
|
|
250
250
|
const { stdout } = await runExec("/usr/bin/sips", [
|
|
251
251
|
"-g",
|
|
252
252
|
"pixelWidth",
|
|
@@ -274,7 +274,7 @@ async function sipsResizeToJpeg(params) {
|
|
|
274
274
|
return await withTempDir(async (dir) => {
|
|
275
275
|
const input = path.join(dir, "in.img");
|
|
276
276
|
const output = path.join(dir, "out.jpg");
|
|
277
|
-
await
|
|
277
|
+
await fsPromises.writeFile(input, params.buffer);
|
|
278
278
|
await runExec("/usr/bin/sips", [
|
|
279
279
|
"-Z",
|
|
280
280
|
String(Math.max(1, Math.round(params.maxSide))),
|
|
@@ -291,14 +291,14 @@ async function sipsResizeToJpeg(params) {
|
|
|
291
291
|
timeoutMs: 2e4,
|
|
292
292
|
maxBuffer: 1024 * 1024
|
|
293
293
|
});
|
|
294
|
-
return await
|
|
294
|
+
return await fsPromises.readFile(output);
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
async function sipsConvertToJpeg(buffer) {
|
|
298
298
|
return await withTempDir(async (dir) => {
|
|
299
299
|
const input = path.join(dir, "in.heic");
|
|
300
300
|
const output = path.join(dir, "out.jpg");
|
|
301
|
-
await
|
|
301
|
+
await fsPromises.writeFile(input, buffer);
|
|
302
302
|
await runExec("/usr/bin/sips", [
|
|
303
303
|
"-s",
|
|
304
304
|
"format",
|
|
@@ -310,7 +310,7 @@ async function sipsConvertToJpeg(buffer) {
|
|
|
310
310
|
timeoutMs: 2e4,
|
|
311
311
|
maxBuffer: 1024 * 1024
|
|
312
312
|
});
|
|
313
|
-
return await
|
|
313
|
+
return await fsPromises.readFile(output);
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
async function getImageMetadata(buffer) {
|
|
@@ -361,7 +361,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
361
361
|
return await withTempDir(async (dir) => {
|
|
362
362
|
const input = path.join(dir, "in.jpg");
|
|
363
363
|
const output = path.join(dir, "out.jpg");
|
|
364
|
-
await
|
|
364
|
+
await fsPromises.writeFile(input, buffer);
|
|
365
365
|
await runExec("/usr/bin/sips", [
|
|
366
366
|
...ops,
|
|
367
367
|
input,
|
|
@@ -371,7 +371,7 @@ async function sipsApplyOrientation(buffer, orientation) {
|
|
|
371
371
|
timeoutMs: 2e4,
|
|
372
372
|
maxBuffer: 1024 * 1024
|
|
373
373
|
});
|
|
374
|
-
return await
|
|
374
|
+
return await fsPromises.readFile(output);
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
async function resizeToJpeg(params) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as normalizeGatewayProfile, m as resolveGatewayWindowsTaskName, n as GATEWAY_SERVICE_KIND, p as resolveGatewaySystemdServiceName, r as GATEWAY_SERVICE_MARKER, u as resolveGatewayLaunchAgentLabel } from "./constants-DUAhnQFX.js";
|
|
2
2
|
import { t as execFileUtf8 } from "./exec-file-DmHQIRHt.js";
|
|
3
|
-
import { n as execSchtasks } from "./service-
|
|
3
|
+
import { n as execSchtasks } from "./service-Zezrymwp.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/daemon/inspect.ts
|
|
8
8
|
function renderDetectedServiceCleanupHints(svc) {
|
|
@@ -92,14 +92,14 @@ function tryExtractPlistLabel(contents) {
|
|
|
92
92
|
}
|
|
93
93
|
async function readDirEntries(dir) {
|
|
94
94
|
try {
|
|
95
|
-
return await
|
|
95
|
+
return await fsPromises.readdir(dir);
|
|
96
96
|
} catch {
|
|
97
97
|
return [];
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
async function readUtf8File(filePath) {
|
|
101
101
|
try {
|
|
102
|
-
return await
|
|
102
|
+
return await fsPromises.readFile(filePath, "utf8");
|
|
103
103
|
} catch {
|
|
104
104
|
return null;
|
|
105
105
|
}
|