@bitseek/claw 1.2.2 → 1.2.6
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/{accounts-DKvlV3Tm.js → accounts-C3iwoWUS.js} +1 -1
- package/dist/{accounts-D5DQlttG.js → accounts-CCbfXe4Y.js} +7 -7
- package/dist/{accounts-jPPbCJns.js → accounts-ChjgDDok.js} +1 -1
- package/dist/{acp-cli-BZnPaFm3.js → acp-cli-DIikR-tj.js} +8 -8
- package/dist/{agent-scope-CiBV1K6b.js → agent-scope-DHMu2mab.js} +1 -1
- package/dist/{agents-BMaMDR6h.js → agents-BCJbDk2P.js} +4 -4
- package/dist/{agents.config-BSY7Z6IC.js → agents.config-BoNoGEQI.js} +2 -2
- package/dist/{agents.config-Bjwf3eo1.js → agents.config-DoxV5m9v.js} +1 -1
- package/dist/{api-key-rotation-j4O7qxMf.js → api-key-rotation-CuHjsofV.js} +1 -1
- package/dist/{audio-preflight-BkoTbTIH.js → audio-preflight-BClvbKMQ.js} +36 -36
- package/dist/{audio-preflight-Dd9DDvqB.js → audio-preflight-BWOdDA2n.js} +4 -4
- package/dist/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.js} +1 -1
- package/dist/{audio-transcription-runner-CF_UP4C7.js → audio-transcription-runner-Dv-MCA8E.js} +22 -22
- package/dist/{audit-1YVlVmk7.js → audit-BAGbgihO.js} +29 -29
- package/dist/{auth-Co2g3d8d.js → auth-B9WdgDjZ.js} +1 -1
- package/dist/{auth-choice-BYuegxlw.js → auth-choice-CP6K5htW.js} +1 -1
- package/dist/{auth-choice-BpOvsd_n.js → auth-choice-CTCXt7WB.js} +12 -12
- package/dist/{auth-choice-BamWYpsc.js → auth-choice-FFUrxk0-.js} +14 -14
- package/dist/{auth-choice.apply-helpers-CQLQ5Tuk.js → auth-choice.apply-helpers-Dz2x-3CK.js} +1 -1
- package/dist/{auth-token-BjVRLcvi.js → auth-token-BPWVp11S.js} +1 -1
- package/dist/{banner-EymX6IpH.js → banner-V_1v329B.js} +1 -1
- package/dist/{bindings-Ck6aotGf.js → bindings-C0k4wFy7.js} +1 -1
- package/dist/{bonjour-discovery-CtUQb94i.js → bonjour-discovery-DXvZeG8M.js} +1 -1
- package/dist/{browser-cli-CaBLM5A6.js → browser-cli-BwtSgIvC.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-BGZQEHL4.js → call-B9Vrcbed.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +6027 -1405
- package/dist/{channel-account-context-C6rIxLzo.js → channel-account-context-CeGx9Aq7.js} +5 -5
- package/dist/{channel-options-bD8Nb_XT.js → channel-options-DmEaPgkZ.js} +3 -3
- package/dist/{channel-options-BbugzQSv.js → channel-options-Dsjb-V1F.js} +1 -1
- package/dist/{channel-selection-TZJgoz5h.js → channel-selection-BDdjozhi.js} +1 -1
- package/dist/{channel-web-BzKDism5.js → channel-web-mFdbEE2o.js} +18 -18
- package/dist/{channel-web-C8R11QOm.js → channel-web-wuxrfEJh.js} +1 -1
- package/dist/{channels-cli-B6ICcQiX.js → channels-cli-CCTczoJM.js} +94 -94
- package/dist/{channels-cli-DLh8uOwf.js → channels-cli-OZeQkPMG.js} +6 -6
- package/dist/{channels-status-issues-DeT1Znlx.js → channels-status-issues-Dir7g-Pc.js} +1 -1
- package/dist/{chrome-DzGCPEQK.js → chrome-2gfHr1cU.js} +4 -4
- package/dist/{chrome-C6zMSR36.js → chrome-CjTE-vWv.js} +8 -8
- package/dist/{clawbot-cli-Comysjn9.js → clawbot-cli-BMGBnmny.js} +5 -5
- package/dist/{cli-dy2BdjPZ.js → cli-YeYpjq2c.js} +1 -1
- package/dist/{cli-BT1aLbEG.js → cli-zsP2OqB6.js} +75 -75
- package/dist/{client-B91adiXh.js → client-BoUhzGrS.js} +2 -2
- package/dist/{command-registry-oV1633Vs.js → command-registry-okzYatr9.js} +9 -9
- package/dist/{commands-C6OLhl3n.js → commands-npgZubp3.js} +1 -1
- package/dist/{commands-registry-CVzTBX51.js → commands-registry-B5jHbfUL.js} +3 -3
- package/dist/{completion-cli-C9i-Dicb.js → completion-cli-BFxGdqak.js} +2 -2
- package/dist/{completion-cli-5z7Fk2X-.js → completion-cli-Dm9dt8iw.js} +12 -12
- package/dist/{config-cli-CENkfh8B.js → config-cli-CJVYN-g-.js} +7 -7
- package/dist/{config-cli-CpsK8BqN.js → config-cli-hwawfBlS.js} +1 -1
- package/dist/{config-guard-9BjlFVZx.js → config-guard-1SsvFO9G.js} +17 -17
- package/dist/{config-validation-BcxAhhcj.js → config-validation-BJ6PNk8H.js} +3 -3
- package/dist/{configure-boTkhg01.js → configure-DMwHaNHJ.js} +17 -17
- package/dist/{configure-DcXrqefi.js → configure-l-lM74c1.js} +3 -3
- package/dist/control-ui/assets/{index-DmJK8e2M.js → index-CKSSOzJL.js} +116 -116
- package/dist/control-ui/assets/{index-DmJK8e2M.js.map → index-CKSSOzJL.js.map} +1 -1
- package/dist/control-ui/assets/index-Ck63PFX9.css +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{control-ui-assets-B_3g_YF0.js → control-ui-assets-DpInddpx.js} +1 -1
- package/dist/{cron-cli-C8kDGh6_.js → cron-cli-CyEcKgVG.js} +12 -12
- package/dist/{daemon-cli-RKWFtF-K.js → daemon-cli-CB9c5SXP.js} +15 -15
- package/dist/{daemon-install-DsJ0L8HP.js → daemon-install-Bqjc3wky.js} +4 -4
- package/dist/{daemon-install-helpers-CMWYg4_W.js → daemon-install-helpers-CGZBs-X3.js} +11 -11
- package/dist/{dashboard-BhAYjl6n.js → dashboard-8HFxt9IY.js} +2 -2
- package/dist/{deliver-Bn10XzRP.js → deliver-D4ugOkLr.js} +7 -7
- package/dist/{deliver-DXa06hfk.js → deliver-xY3h9X6N.js} +1 -1
- package/dist/{devices-cli-DoJBheGs.js → devices-cli-Bp8AMOPE.js} +8 -8
- package/dist/{diagnostic-DRPetA8l.js → diagnostic-phUWJbF_.js} +1 -1
- package/dist/{diagnostics-BHQgZbuI.js → diagnostics-D_AmByNE.js} +5 -5
- package/dist/{directory-cli-Brla3Idn.js → directory-cli-Bt3I30_e.js} +8 -8
- package/dist/{dns-cli-rEvE1LG9.js → dns-cli-DaTrsB61.js} +5 -5
- package/dist/{dock-BXksV3sC.js → dock-swzevZbj.js} +4 -4
- package/dist/{docs-cli-DtThi0Xf.js → docs-cli--2Qgcpvs.js} +4 -4
- package/dist/{doctor-completion-BwIgzkLP.js → doctor-completion-UEYo4_U6.js} +2 -2
- package/dist/{doctor-completion-BySkhMZY.js → doctor-completion-wHIBxn-7.js} +1 -1
- package/dist/{doctor-config-flow-18ijj3KB.js → doctor-config-flow-DKaeaH2u.js} +15 -15
- package/dist/{enable-CJ75JA5u.js → enable-xlkWJvIn.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CGVHz3PX.js → exec-approvals-allowlist-fG-NsL-O.js} +1 -1
- package/dist/{exec-approvals-cli-DfcUJ9Sm.js → exec-approvals-cli-r7jbe_Rj.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-D7olAQMf.js → exec-safe-bin-runtime-policy-B9kCrTY1.js} +2 -2
- package/dist/extensionAPI.js +1 -1
- package/dist/{fetch-guard-D6eclxeP.js → fetch-guard-N12H9lEe.js} +1 -1
- package/dist/{fs-safe-p5lyYI__.js → fs-safe-BGAE6eOQ.js} +24 -24
- package/dist/{gateway-cli-Dn-Yq6Tf.js → gateway-cli-BFo0WvJx.js} +70 -16
- package/dist/{gateway-cli-BVn-fVbw.js → gateway-cli-Bi6tzv7v.js} +222 -168
- package/dist/{gateway-rpc-CJVCek88.js → gateway-rpc-BHBGSN7Z.js} +1 -1
- package/dist/{health-Du4IbXAP.js → health-CDEXWvnu.js} +1 -1
- package/dist/{health-DmJq2Wph.js → health-DlFSsTw-.js} +14 -14
- package/dist/{hooks-cli-BhSZV-cM.js → hooks-cli-CMLpJr6I.js} +83 -83
- package/dist/{hooks-cli-BrT4aprv.js → hooks-cli-Deo01lF6.js} +2 -2
- package/dist/{hooks-status-ONaKEpUH.js → hooks-status-inMD7sD-.js} +1 -1
- package/dist/{image-B270IRGo.js → image-BzR2twGI.js} +5 -5
- package/dist/{image-Dd4lgi4H.js → image-DCyaYY2d.js} +1 -1
- package/dist/{plugin-sdk/image-ops-DulHE5Qc.js → image-ops-B6BeXmZU.js} +12 -12
- package/dist/index.js +85 -85
- package/dist/{inspect-C0e0Dmvg.js → inspect-BwbOLUun.js} +4 -4
- package/dist/{install-safe-path-CSqVUjL8.js → install-safe-path-DodF6oyk.js} +25 -25
- package/dist/{installs-BXOZ3DXs.js → installs-8bzJi35e.js} +9 -9
- package/dist/{ipv4-Bk-doiEE.js → ipv4-BY_PmkpX.js} +1 -1
- package/dist/{ir-BGgl4f9u.js → ir-vGBxQkIg.js} +6 -6
- package/dist/{issue-format-rk9Vpcxd.js → issue-format-B4oxePhU.js} +1 -1
- package/dist/{json-files-bJqSYqgg.js → json-files-C7p5SEie.js} +8 -8
- package/dist/{lifecycle-core-Bqse41aA.js → lifecycle-core-C5a4clqu.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-jW0nhxVT.js → local-roots-Dcc5UeD8.js} +3 -3
- package/dist/{login-B2B75WGK.js → login-BM9p9nig.js} +3 -3
- package/dist/{login-qr-YjUycQZT.js → login-qr-CB4JWkHM.js} +6 -6
- package/dist/{logs-cli-Dyid6hUQ.js → logs-cli-DGdXLEv-.js} +9 -9
- package/dist/{manager-C9rftBaE.js → manager-X8AF3rQJ.js} +14 -14
- package/dist/{manifest-registry-B_U2pKBU.js → manifest-registry-HNrtHxxI.js} +1 -1
- package/dist/{markdown-tables-B5l_33qL.js → markdown-tables-XmfG1bwr.js} +1 -1
- package/dist/{memory-cli-o3L9NN74.js → memory-cli-87nxADqy.js} +12 -12
- package/dist/{model-FnrgCVyS.js → model-CESXYutI.js} +2 -2
- package/dist/{model-catalog-CjA5pRJF.js → model-catalog-DUHxH2xb.js} +3 -3
- package/dist/{model-picker-CMgjcqV_.js → model-picker-D705WMPf.js} +4 -4
- package/dist/{model-selection-xdfZxwgB.js → model-selection-DCo8MhsE.js} +16 -16
- package/dist/{models-BEMBo-jJ.js → models-CgguB_MH.js} +2 -2
- package/dist/{models-cli-CJCNoVhQ.js → models-cli-9x2mp4Ac.js} +85 -85
- package/dist/{models-cli-Bj5d7qpe.js → models-cli-BEb0DHSP.js} +3 -3
- package/dist/{models-config-Do1Ur_ov.js → models-config-Bgpjcu8R.js} +6 -6
- package/dist/{node-cli-DYOdgLUu.js → node-cli-DJnihsNr.js} +33 -33
- package/dist/{node-command-policy-BKUs_pS2.js → node-command-policy-BiPTB8BK.js} +1 -1
- package/dist/{node-service-6W3vqgVv.js → node-service-CfKJ5oC1.js} +1 -1
- package/dist/{nodes-cli-CQzck2kc.js → nodes-cli-4kBrEEti.js} +16 -16
- package/dist/{nodes-screen-Dptoharj.js → nodes-screen-FWjD2j3v.js} +7 -7
- package/dist/{npm-pack-install-Byr0kgft.js → npm-pack-install-CXheGnb0.js} +18 -18
- package/dist/{npm-resolution-BHQDGwrV.js → npm-resolution-DIr_TibO.js} +5 -5
- package/dist/{npm-resolution-DyqMvaHn.js → npm-resolution-T8SphiP5.js} +1 -1
- package/dist/{onboard-CUFDJWvM.js → onboard-B_MoYnrn.js} +2 -2
- package/dist/{onboard-DpLm6YX6.js → onboard-DEFQu6dU.js} +6 -6
- package/dist/{onboard-channels-i1FFoaW7.js → onboard-channels-BLZ8FdVP.js} +1 -1
- package/dist/{onboard-channels-CrxnmwMd.js → onboard-channels-BuG5-e60.js} +20 -20
- package/dist/{onboard-custom-Bow6lZPm.js → onboard-custom-HI7NPx1u.js} +3 -3
- package/dist/{onboard-custom.shared-CBRRhb95.js → onboard-custom.shared-SWx67Er2.js} +2 -2
- package/dist/{onboard-helpers-B1AEo6oL.js → onboard-helpers-Jc1-4LBc.js} +11 -11
- package/dist/{onboard-hooks-CtxRk6l_.js → onboard-hooks-DFjIpeE_.js} +4 -4
- package/dist/{onboard-remote-DmHpLoWf.js → onboard-remote-BLAyUeAO.js} +3 -3
- package/dist/{onboard-skills-DwpZY5tZ.js → onboard-skills--XkA2Jj4.js} +4 -4
- package/dist/{onboarding-Wve1--YA.js → onboarding-BQ2WB7tp.js} +13 -13
- package/dist/{onboarding-ORzDCBo6.js → onboarding-CSnr51pR.js} +3 -3
- package/dist/{onboarding.finalize-DH8INVdN.js → onboarding.finalize-BlMlIFRW.js} +6 -6
- package/dist/{onboarding.finalize-BoXDIiNp.js → onboarding.finalize-DAbr5Ar8.js} +87 -87
- package/dist/{onboarding.gateway-config-wXH6gE7c.js → onboarding.gateway-config-CMKjEPRA.js} +18 -18
- package/dist/{openai-model-default-Q7Hmy0eQ.js → openai-model-default-BTNz1OzV.js} +2 -2
- package/dist/{outbound-DlVJWa4u.js → outbound-Bf7VAx0-.js} +4 -4
- package/dist/{outbound-attachment-CZh4VjhT.js → outbound-attachment-Df5o7JIG.js} +2 -2
- package/dist/{pairing-cli-DAMLvDcA.js → pairing-cli-CA7Dxs-g.js} +9 -9
- package/dist/{pairing-labels-Cl7ROILg.js → pairing-labels-BBti3jJg.js} +1 -1
- package/dist/{pairing-store-DdZ0xMD7.js → pairing-store-DY0yrkuM.js} +3 -3
- package/dist/{path-alias-guards-DWh6tSaP.js → path-alias-guards-BNzjbOwM.js} +3 -3
- package/dist/{path-safety-COhgvniC.js → path-safety-dmCI2tpN.js} +1 -1
- package/dist/{paths-AxolTUEH.js → paths-BZfURxkW.js} +9 -9
- package/dist/{pi-embedded-DnavjoU4.js → pi-embedded-Bacc2S0h.js} +50 -22
- package/dist/{pi-embedded-DDt-4VY9.js → pi-embedded-Claxav22.js} +30 -2
- package/dist/{pi-embedded-helpers-BErNo2oq.js → pi-embedded-helpers-CMTVhLjq.js} +3 -3
- package/dist/{pi-embedded-helpers-ZTn-T7tW.js → pi-embedded-helpers-D3nc5XJW.js} +6 -6
- package/dist/{pi-model-discovery-DVhDvAnA.js → pi-model-discovery-BSytrsu4.js} +1 -1
- package/dist/{pi-tools.policy-eyXj0EY5.js → pi-tools.policy-Dwsq-Yaf.js} +5 -5
- package/dist/{plugin-auto-enable-D1WySsnE.js → plugin-auto-enable-4zXn-eVS.js} +3 -3
- package/dist/{plugin-registry-eOikaO9b.js → plugin-registry-CxFikiLF.js} +1 -1
- package/dist/{plugin-registry-CFL5j9cN.js → plugin-registry-DsZTkNKu.js} +3 -3
- package/dist/plugin-sdk/{accounts-COLYAAOx.js → accounts-4WE2wtsW.js} +1 -1
- package/dist/plugin-sdk/{accounts-BZrkOo6-.js → accounts-AbI8uETR.js} +1 -1
- package/dist/plugin-sdk/{accounts-D_pT5EjF.js → accounts-BYcizTXn.js} +3 -3
- package/dist/plugin-sdk/{active-listener-DxBXcWm_.js → active-listener-pnqLAUOh.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DT5pxpJB.js → agent-scope-_j3fIYCK.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Dl6Ad7Nj.js → api-key-rotation-CYI51U_M.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CkPj4OVY.js → audio-preflight-BTRRjPew.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-BBn9jEMg.js → audio-transcription-runner-DFZS7uCO.js} +10 -10
- package/dist/plugin-sdk/{bindings-BSfhEjKN.js → bindings-CxxzC7gn.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DAEbma-o.js → channel-activity-B3yZ-f-m.js} +3 -3
- package/dist/plugin-sdk/{channel-web-MpDUG9SU.js → channel-web-D2q54sK-.js} +23 -23
- package/dist/plugin-sdk/{chrome-Dn0G4NoF.js → chrome-oPevdeh5.js} +7 -7
- package/dist/plugin-sdk/{chunk-cvtXztAT.js → chunk-BPyPeheZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-BOJz3y1v.js → command-format-DvyMEXQo.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-CZWv_JwZ.js → commands-registry-Dk8re8Lz.js} +5 -5
- package/dist/plugin-sdk/{config-DAwOhnVF.js → config-D7I2_X4P.js} +10 -10
- package/dist/plugin-sdk/{deliver-PdH-MCq8.js → deliver-NrIHn0__.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BZvj-qNu.js → diagnostic-DL3k_wRi.js} +2 -2
- package/dist/plugin-sdk/{dock-BdR3OYZn.js → dock-CjdkiLH7.js} +6 -6
- package/dist/plugin-sdk/{errors-jusxdu7M.js → errors-DFTN4h2I.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-Dary6WwJ.js → fetch-guard-BivEyA4v.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DMCE0ej9.js → fs-safe-B256n7Ff.js} +3 -3
- package/dist/plugin-sdk/{image-B3A2l2ep.js → image-CkPzr3XN.js} +6 -6
- package/dist/{image-ops-BAMcbVMS.js → plugin-sdk/image-ops-C9GXWF3o.js} +2 -2
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BFXiJrsN.js → ir-BIm-jvIK.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DssN60r6.js → local-roots-2AOXGUXW.js} +4 -4
- package/dist/plugin-sdk/{logger-Cr-x0vMf.js → logger-CNhs9eKJ.js} +1 -1
- package/dist/plugin-sdk/{login-D0ul3-6C.js → login-BcLiF9tC.js} +6 -6
- package/dist/plugin-sdk/{login-qr-XWKTFBuI.js → login-qr-GyPUodKJ.js} +9 -9
- package/dist/plugin-sdk/{manager-DGx_cF54.js → manager-DYLqNUb4.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-CsQpDNU5.js → markdown-tables-D9mmqMKi.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CvNq-esz.js → message-channel-_CEZcqxE.js} +1 -1
- package/dist/plugin-sdk/{outbound-D29FHlQl.js → outbound-DdTsUaXa.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DRHrZUOx.js → outbound-attachment--hkuIDR1.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DpKV1B5p.js → path-alias-guards-BqUCBfUg.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CKEUWckk.js → pi-embedded-helpers-CTfvZz83.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-BPeQq9XM.js → pi-model-discovery-CK3Ih_kq.js} +1 -1
- package/dist/plugin-sdk/{plugins-DF_dKXTR.js → plugins-BpHAMNJ1.js} +6 -6
- package/dist/plugin-sdk/{proxy-BfmEDoun.js → proxy-BJdRZOnJ.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BpHIgvBk.js → proxy-fetch-jmbopGcm.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-BmmXDjtm.js → pw-ai-D0Kx7w1D.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-3hQbqkm5.js → qmd-manager-BDcutPp9.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-BOGLUWB7.js → query-expansion-C_X8SyEA.js} +2 -2
- package/dist/plugin-sdk/{redact-BOuKZWXa.js → redact-DH8u23pF.js} +1 -1
- package/dist/plugin-sdk/{registry-Cv-oHUj1.js → registry-HF8_S7QO.js} +2 -2
- package/dist/plugin-sdk/{replies-CddwWBTJ.js → replies-DbjvV4gf.js} +3 -3
- package/dist/plugin-sdk/{reply-wHFXod4j.js → reply-Cs_Ks2Mr.js} +121 -93
- package/dist/plugin-sdk/{reply-prefix-DXthVxCx.js → reply-prefix-KODsMNJ-.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-D3Y4F2Le.js → resolve-outbound-target-BPT4aNiD.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DuwYYn4a.js → resolve-route-De2B5QY_.js} +4 -4
- package/dist/plugin-sdk/{retry-BMcrIz7L.js → retry-pZ8iKytf.js} +1 -1
- package/dist/plugin-sdk/{send-D0AaWnIj.js → send-1uW-uqPf.js} +7 -7
- package/dist/plugin-sdk/{send-C5USYGq7.js → send-BoNw1Bki.js} +8 -8
- package/dist/plugin-sdk/{send-B0ztz6QC.js → send-C-Rd2stz.js} +6 -6
- package/dist/plugin-sdk/{send-DJzwu8kk.js → send-CZIN8SDx.js} +15 -15
- package/dist/plugin-sdk/{send-DEyQJTzd.js → send-wCqsQs_s.js} +10 -10
- package/dist/plugin-sdk/{session-meta-ChWvKVWj.js → session-meta-7J-uHiM_.js} +1 -1
- package/dist/plugin-sdk/{session-BA7tVDpV.js → session-ooYcB82T.js} +5 -5
- package/dist/plugin-sdk/{sessions-BXps6YzJ.js → sessions-lAIo5l8W.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-B20uUsji.js → skill-commands-D1Q6hGS4.js} +5 -5
- package/dist/plugin-sdk/{skills-DXOTei42.js → skills-BWSDv2F_.js} +8 -8
- package/dist/plugin-sdk/{ssrf-Doxv9M7Q.js → ssrf-JKDwTi8i.js} +1 -1
- package/dist/plugin-sdk/{store-BZbE1V-C.js → store-BMeqzQAf.js} +2 -2
- package/dist/plugin-sdk/{subsystem-CM1s2lDT.js → subsystem-B0V8LFBA.js} +2 -2
- package/dist/plugin-sdk/{tables-BhH8EIqU.js → tables-DCSeBGBz.js} +1 -1
- package/dist/{target-errors-B1cYmIjq.js → plugin-sdk/target-errors-0u6pegQv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DIE-Bf72.js → tokens-DF2_VTJy.js} +1 -1
- package/dist/plugin-sdk/{tool-images-heXfaJdb.js → tool-images-BbsgbHMZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CygMSQUK.js → tool-loop-detection-JkCpGrfk.js} +2 -2
- package/dist/plugin-sdk/{utils-BcL6KGZf.js → utils-BfVxx6bk.js} +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CRean1yN.js → whatsapp-actions-tVcrGNQc.js} +25 -25
- package/dist/{plugins-CKWxMohB.js → plugins-Ce8ThYGQ.js} +2 -2
- package/dist/{plugins-cli-DrlRj_8V.js → plugins-cli-DxFh5OQi.js} +85 -85
- package/dist/{plugins-cli-Bg6sFJYH.js → plugins-cli-bHHZzKd-.js} +2 -2
- package/dist/{ports-DppAHKM-.js → ports-DXMCFRgn.js} +2 -2
- package/dist/{ports-BL-FP2jP.js → ports-wtEwdqsX.js} +1 -1
- package/dist/{program-BQ8WwHMi.js → program-DnjsZxiJ.js} +7 -7
- package/dist/{program-context-BWsBkMJn.js → program-context-36wFBslW.js} +43 -43
- package/dist/{prompt-select-styled-DbUQHcBh.js → prompt-select-styled-BkpL6eKQ.js} +4 -4
- package/dist/{prompt-select-styled-CLCyaJAG.js → prompt-select-styled-CJt-zhnt.js} +39 -39
- package/dist/{provider-auth-helpers-CKpEFImN.js → provider-auth-helpers-BFsLtU8g.js} +1 -1
- package/dist/{provider-auth-helpers-CdTLpxG1.js → provider-auth-helpers-DeJ105rb.js} +5 -5
- package/dist/{proxy-env-ClbXa7vn.js → proxy-env-DhFUQlwP.js} +1 -1
- package/dist/{push-apns-CVnc3jrx.js → push-apns-BSlKJa83.js} +1 -1
- package/dist/{push-apns-B_GGZO2Z.js → push-apns-SIM2es-Y.js} +5 -5
- package/dist/{pw-ai-D21rIJ2z.js → pw-ai-BOQE6s45.js} +15 -15
- package/dist/{pw-ai-pkfCxzhV.js → pw-ai-DGwA7iCM.js} +1 -1
- package/dist/{qmd-manager-BD6lfN35.js → qmd-manager-DVKj0i6T.js} +20 -20
- package/dist/{qr-cli-BQGJJ5hp.js → qr-cli-Z4_Y6bva.js} +1 -1
- package/dist/{query-expansion-Dl85zpSb.js → query-expansion-B9kneDbd.js} +12 -12
- package/dist/{redact-snapshot-DCGL0k2M.js → redact-snapshot-BI4Ryuhy.js} +1 -1
- package/dist/{register.agent-BxMqGoLQ.js → register.agent-C-OmdJMe.js} +7 -7
- package/dist/{register.agent-BwCayvbD.js → register.agent-Cd2LVcga.js} +100 -100
- package/dist/{register.configure-PCuADy_e.js → register.configure-CaSRlI6h.js} +7 -7
- package/dist/register.configure-DGIWBQvN.js +174 -0
- package/dist/{register.init-DWQDniBg.js → register.init-DpFUY5Ed.js} +15 -15
- package/dist/{register.maintenance-jHaU-XSR.js → register.maintenance-DAU-mVIz.js} +97 -97
- package/dist/{register.maintenance-CW5_urTq.js → register.maintenance-R4RCi4f3.js} +8 -8
- package/dist/{register.message-ByUxZi3s.js → register.message-5hKmcWaB.js} +2 -2
- package/dist/{register.message-DPlqIVvv.js → register.message-B0CI0Q4o.js} +76 -76
- package/dist/{register.onboard-BC4wpDdz.js → register.onboard-BGhXUfbX.js} +18 -18
- package/dist/{register.onboard-B-8WoYZr.js → register.onboard-Di7iClKl.js} +2 -2
- package/dist/{register.setup-CZ9a3M_O.js → register.setup-Dm_dHAB-.js} +2 -2
- package/dist/{register.setup-BQQX0yB6.js → register.setup-nlXy06aa.js} +21 -21
- package/dist/{register.start-BHASi8Um.js → register.start-Dzss99ZY.js} +17 -17
- package/dist/{register.status-health-sessions-BRJgE7jh.js → register.status-health-sessions-B4eNiGWS.js} +89 -89
- package/dist/{register.status-health-sessions-BKLWh2aq.js → register.status-health-sessions-lOM_lb6H.js} +3 -3
- package/dist/{register.subclis-DKG1KoTd.js → register.subclis-1MobNhis.js} +9 -9
- package/dist/{replies-B6SXcEs0.js → replies-k5K96_46.js} +1 -1
- package/dist/{reply-ezOUjaUp.js → reply-DQMWsIE2.js} +185 -156
- package/dist/{reply-prefix-BttpF8VB.js → reply-prefix-aBvAQX6L.js} +1 -1
- package/dist/{resolve-route-Ck23oGqS.js → resolve-route-R565qQgt.js} +2 -2
- package/dist/{rpc-9jE_1PW0.js → rpc-CMyUzpcT.js} +1 -1
- package/dist/{run-main-CGAXqlRX.js → run-main-CFGtfsPd.js} +14 -14
- package/dist/{runtime-Rd7ooKB0.js → runtime-D64ACWoX.js} +2 -2
- package/dist/{sandbox-BKa5RrBl.js → sandbox-DH9YtUfB.js} +18 -18
- package/dist/{sandbox-cli-BnpEc205.js → sandbox-cli-B1ThXy7C.js} +26 -26
- package/dist/{secrets-cli-CIxUNZyC.js → secrets-cli-BEjJ3GP-.js} +10 -10
- package/dist/{security-cli-BqOOeGxS.js → security-cli-Zma5k5BZ.js} +43 -43
- package/dist/{send-DuNBSJln.js → send-BQVNhO4Q.js} +5 -5
- package/dist/{send-SZBhACLn.js → send-CFUSH9C-.js} +8 -8
- package/dist/{send-Cua2kS5v.js → send-CabiU1-J.js} +6 -6
- package/dist/{send-ByUfPpKj.js → send-DmVTXBWW.js} +11 -11
- package/dist/{send-BntubUtK.js → send-NexNe2Wh.js} +6 -6
- package/dist/{server-Ct0J5VXf.js → server-DQ7D-B-v.js} +19 -19
- package/dist/{server-context-DWxmyV-0.js → server-context-Cr-Y4i6P.js} +12 -12
- package/dist/{server-lifecycle-B7aXKxY3.js → server-lifecycle-BVnXIEfI.js} +2 -2
- package/dist/{server-middleware-CO1brrgv.js → server-middleware-zyvA9rl9.js} +1 -1
- package/dist/{server-node-events-BHkXD38g.js → server-node-events-oa4mOmsp.js} +76 -76
- package/dist/{server-node-events-D_9Quh-1.js → server-node-events-yFZiE04b.js} +2 -2
- package/dist/{service-DqxfCr8y.js → service-BcFhE63y.js} +15 -15
- package/dist/{session-FOGqE7bj.js → session-Dl3x3d75.js} +1 -1
- package/dist/{session-meta-C-ox3bdI.js → session-meta-C6MooccR.js} +1 -1
- package/dist/{sessions-BpuJ64B0.js → sessions-sIaYsUyX.js} +15 -15
- package/dist/{shared-CgFPGTLU.js → shared-DNcLp2mA.js} +3 -3
- package/dist/{shared-BmSv3K8N.js → shared-sFrejcA4.js} +1 -1
- package/dist/{skill-commands-COl0HE54.js → skill-commands-C2_BOuyl.js} +5 -5
- package/dist/{skill-scanner-CsmM5F4F.js → skill-scanner-DYkQAh0l.js} +6 -6
- package/dist/{skills-BeFcXCoN.js → skills-BXLKd7i5.js} +3 -3
- package/dist/{skills-cli-D3ZteX5N.js → skills-cli-DrN4v5_m.js} +5 -5
- package/dist/{skills-install-B_Vda3dM.js → skills-install-CSfh8nRm.js} +6 -6
- package/dist/{skills-status-BEq0_fOn.js → skills-status-C7Q6Ezbv.js} +1 -1
- package/dist/{status-CwKeOASs.js → status-mS4bWnIW.js} +2 -2
- package/dist/{status-DjnNnvyr.js → status-rMgdZcE5.js} +25 -25
- package/dist/{status.update-HwSPC5ZX.js → status.update-D4GfnNDI.js} +2 -2
- package/dist/{store-B-nkOSsv.js → store-CRcBie8T.js} +5 -5
- package/dist/{subagent-registry-CfKMgII6.js → subagent-registry-CXBreqUP.js} +31 -2
- package/dist/{system-cli-IYwpBiC6.js → system-cli-Bscj57lL.js} +9 -9
- package/dist/{system-run-command-C3OIMtEu.js → system-run-command-Cn5yQ2rv.js} +1 -1
- package/dist/{systemd-DJ5Red-Q.js → systemd-BIfjzi-4.js} +9 -9
- package/dist/{systemd-hints-D40Qx3hg.js → systemd-hints-CgtHwBfD.js} +6 -6
- package/dist/{systemd-linger-BK6kig-o.js → systemd-linger-0Vho6LMt.js} +1 -1
- package/dist/{tables-C9_oCtRN.js → tables-C5n2nXbu.js} +1 -1
- package/dist/{tailnet-BYBKD8Kh.js → tailnet-C8NwaQEp.js} +1 -1
- package/dist/{plugin-sdk/target-errors-QZay02Cv.js → target-errors-cerGxvCB.js} +4 -4
- package/dist/{tool-images-QWbHWc0F.js → tool-images-CgSADinH.js} +1 -1
- package/dist/{tui-Dd6DhgjX.js → tui-DNT0WnU-.js} +6 -6
- package/dist/{tui-cli-C3PCazFC.js → tui-cli-DTFq2wGK.js} +33 -33
- package/dist/{update-B1Dhhu_3.js → update-Mb6BH0o9.js} +3 -3
- package/dist/{update-cli-BCH7o0oB.js → update-cli--qEz2_Eg.js} +109 -105
- package/dist/{update-cli-Dcvb1LZT.js → update-cli-Dbb1EPi2.js} +12 -8
- package/dist/{update-runner-l9K_q6Kz.js → update-runner-C9noXbfV.js} +10 -3
- package/dist/{update-runner-rrlmopJw.js → update-runner-Dj_CAfd4.js} +25 -18
- package/dist/{web-CsfqGSAa.js → web-BKrNiKsU.js} +2 -2
- package/dist/web-BQRkxG9u.js +126 -0
- package/dist/{web-BJ_nNwKp.js → web-CDHXvGxm.js} +6 -6
- package/dist/{web-C9QAX9EH.js → web-DJKitOpu.js} +1 -1
- package/dist/{webhooks-cli-BFdw7BAP.js → webhooks-cli-uXE9EOwT.js} +6 -6
- package/dist/{whatsapp-actions-CNoiLzRB.js → whatsapp-actions-DeX4x9sq.js} +19 -19
- package/dist/{with-timeout-tSH4Tex_.js → with-timeout-C-EETHnf.js} +3 -3
- package/dist/{workspace-dKMB109Q.js → workspace-1nc7aTpg.js} +1 -1
- package/dist/{workspace-CRdln__H.js → workspace-TersEUYu.js} +23 -23
- package/dist/{workspace-dirs-DcAUEsSG.js → workspace-dirs-DxTFH1r3.js} +1 -1
- package/dist/{ws-DKbBt0us.js → ws-E9v842O2.js} +2 -2
- package/dist/{wsl-yjQQ-PJd.js → wsl-Dg6XQcw5.js} +2 -2
- package/extensions/diagnostics-otel/node_modules/.bin/acorn +21 -0
- package/extensions/googlechat/node_modules/.bin/nlc +21 -0
- package/extensions/googlechat/node_modules/.bin/node-llama-cpp +21 -0
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/googlechat/node_modules/.bin/tsc +21 -0
- package/extensions/googlechat/node_modules/.bin/tsserver +21 -0
- package/extensions/memory-core/node_modules/.bin/nlc +21 -0
- package/extensions/memory-core/node_modules/.bin/node-llama-cpp +21 -0
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/node_modules/.bin/tsc +21 -0
- package/extensions/memory-core/node_modules/.bin/tsserver +21 -0
- package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +21 -0
- package/extensions/nostr/node_modules/.bin/tsc +21 -0
- package/extensions/nostr/node_modules/.bin/tsserver +21 -0
- package/package.json +2 -5
- package/dist/control-ui/assets/index-B5WC_0Be.css +0 -1
- package/dist/plugin-sdk/web-DbkpdVSZ.js +0 -72
- package/dist/register.configure-Bv4KP_MD.js +0 -174
- package/dist/web-CtrUXk94.js +0 -126
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-uLeGcRW1.js";
|
|
3
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
4
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { C as resolveDiscordAccount, w as normalizeDiscordToken } from "./plugins-
|
|
3
|
+
import { Wt as loadConfig } from "./model-selection-DCo8MhsE.js";
|
|
4
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-B6BeXmZU.js";
|
|
5
|
+
import { C as resolveDiscordAccount, w as normalizeDiscordToken } from "./plugins-Ce8ThYGQ.js";
|
|
6
6
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-DE4zoRx7.js";
|
|
7
7
|
import { t as resolveFetch } from "./fetch-Ca92M4MR.js";
|
|
8
8
|
import { n as retryAsync, t as resolveRetryConfig } from "./retry-AsJdJVsE.js";
|
|
9
9
|
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-mV8H66i-.js";
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-XmfG1bwr.js";
|
|
11
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-vGBxQkIg.js";
|
|
12
12
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-3Iuh9z3d.js";
|
|
13
13
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-D4kbhq3K.js";
|
|
14
14
|
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-C--BGtPd.js";
|
|
15
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-C5n2nXbu.js";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { promisify } from "node:util";
|
|
18
|
-
import
|
|
18
|
+
import fsPromises from "node:fs/promises";
|
|
19
19
|
import { execFile } from "node:child_process";
|
|
20
20
|
import crypto from "node:crypto";
|
|
21
21
|
import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";
|
|
@@ -1499,7 +1499,7 @@ async function searchMessagesDiscord(query, opts = {}) {
|
|
|
1499
1499
|
async function unlinkIfExists(filePath) {
|
|
1500
1500
|
if (!filePath) return;
|
|
1501
1501
|
try {
|
|
1502
|
-
await
|
|
1502
|
+
await fsPromises.unlink(filePath);
|
|
1503
1503
|
} catch {}
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
@@ -1616,7 +1616,7 @@ async function generateWaveformFromPcm(filePath) {
|
|
|
1616
1616
|
"8000",
|
|
1617
1617
|
tempPcm
|
|
1618
1618
|
]);
|
|
1619
|
-
const pcmData = await
|
|
1619
|
+
const pcmData = await fsPromises.readFile(tempPcm);
|
|
1620
1620
|
const samples = new Int16Array(pcmData.buffer, pcmData.byteOffset, pcmData.byteLength / 2);
|
|
1621
1621
|
const step = Math.max(1, Math.floor(samples.length / WAVEFORM_SAMPLES));
|
|
1622
1622
|
const waveform = [];
|
|
@@ -1967,7 +1967,7 @@ async function materializeVoiceMessageInput(mediaUrl) {
|
|
|
1967
1967
|
const ext = extFromName || extFromMime || ".bin";
|
|
1968
1968
|
const tempDir = resolvePreferredOpenClawTmpDir();
|
|
1969
1969
|
const filePath = path.join(tempDir, `voice-src-${crypto.randomUUID()}${ext}`);
|
|
1970
|
-
await
|
|
1970
|
+
await fsPromises.writeFile(filePath, media.buffer, { mode: 384 });
|
|
1971
1971
|
return { filePath };
|
|
1972
1972
|
}
|
|
1973
1973
|
/**
|
|
@@ -2003,7 +2003,7 @@ async function sendVoiceMessageDiscord(to, audioPath, opts = {}) {
|
|
|
2003
2003
|
oggPath = ogg.path;
|
|
2004
2004
|
oggCleanup = ogg.cleanup;
|
|
2005
2005
|
const metadata = await getVoiceMessageMetadata(oggPath);
|
|
2006
|
-
const audioBuffer = await
|
|
2006
|
+
const audioBuffer = await fsPromises.readFile(oggPath);
|
|
2007
2007
|
const result = await sendDiscordVoiceMessage(rest, channelId, audioBuffer, metadata, opts.replyTo, request, opts.silent);
|
|
2008
2008
|
recordChannelActivity({
|
|
2009
2009
|
channel: "discord",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeE164, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
3
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
4
|
-
import { m as kindFromMime } from "./image-ops-
|
|
5
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
3
|
+
import { Wt as loadConfig } from "./model-selection-DCo8MhsE.js";
|
|
4
|
+
import { m as kindFromMime } from "./image-ops-B6BeXmZU.js";
|
|
5
|
+
import { r as resolveIMessageAccount } from "./accounts-C3iwoWUS.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-XmfG1bwr.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Df5o7JIG.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-C5n2nXbu.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-DHMu2mab.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-TersEUYu.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
9
|
+
import { Wt as loadConfig } from "./model-selection-DCo8MhsE.js";
|
|
10
10
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
11
11
|
import "./boolean-BgXe2hyu.js";
|
|
12
12
|
import "./env-4r1Vlroz.js";
|
|
13
13
|
import "./host-env-security-BiAcoumI.js";
|
|
14
14
|
import "./env-vars-DM119fhK.js";
|
|
15
15
|
import "./registry-CUyWRciN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./chrome-
|
|
16
|
+
import "./manifest-registry-HNrtHxxI.js";
|
|
17
|
+
import "./chrome-2gfHr1cU.js";
|
|
18
18
|
import "./tailscale-OcOGSzmc.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
21
|
-
import "./auth-
|
|
22
|
-
import { c as resolveBrowserControlAuth, i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
23
|
-
import "./path-alias-guards-
|
|
24
|
-
import "./paths-
|
|
19
|
+
import "./tailnet-C8NwaQEp.js";
|
|
20
|
+
import "./ws-E9v842O2.js";
|
|
21
|
+
import "./auth-B9WdgDjZ.js";
|
|
22
|
+
import { c as resolveBrowserControlAuth, i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-Cr-Y4i6P.js";
|
|
23
|
+
import "./path-alias-guards-BNzjbOwM.js";
|
|
24
|
+
import "./paths-BZfURxkW.js";
|
|
25
25
|
import "./redact-Bf_pxORb.js";
|
|
26
26
|
import "./errors-D5pCqwf4.js";
|
|
27
|
-
import "./fs-safe-
|
|
28
|
-
import "./proxy-env-
|
|
29
|
-
import "./image-ops-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
27
|
+
import "./fs-safe-BGAE6eOQ.js";
|
|
28
|
+
import "./proxy-env-DhFUQlwP.js";
|
|
29
|
+
import "./image-ops-B6BeXmZU.js";
|
|
30
|
+
import "./store-CRcBie8T.js";
|
|
31
|
+
import "./ports-DXMCFRgn.js";
|
|
32
32
|
import "./trash-Cq4N8bvb.js";
|
|
33
|
-
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-
|
|
33
|
+
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-zyvA9rl9.js";
|
|
34
34
|
import { t as isPwAiLoaded } from "./diagnostic-session-state-BdsrlXSG.js";
|
|
35
|
-
import { n as stopKnownBrowserProfiles, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-
|
|
35
|
+
import { n as stopKnownBrowserProfiles, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-BVnXIEfI.js";
|
|
36
36
|
import express from "express";
|
|
37
37
|
|
|
38
38
|
//#region src/browser/server.ts
|
|
@@ -99,7 +99,7 @@ async function stopBrowserControlServer() {
|
|
|
99
99
|
});
|
|
100
100
|
state = null;
|
|
101
101
|
if (isPwAiLoaded()) try {
|
|
102
|
-
await (await import("./pw-ai-
|
|
102
|
+
await (await import("./pw-ai-BOQE6s45.js")).closePlaywrightBrowserConnection();
|
|
103
103
|
} catch {}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BYr-iJJ9.js";
|
|
2
|
-
import { Ut as createConfigIO, Wt as loadConfig, Xt as writeConfigFile } from "./model-selection-
|
|
2
|
+
import { Ut as createConfigIO, Wt as loadConfig, Xt as writeConfigFile } from "./model-selection-DCo8MhsE.js";
|
|
3
3
|
import { t as parseBooleanValue } from "./boolean-BgXe2hyu.js";
|
|
4
|
-
import { A as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, C as stopChromeExtensionRelayServer, D as resolveCdpReachabilityTimeouts, E as PROFILE_POST_RESTART_WS_TIMEOUT_MS, F as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, M as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_OPENCLAW_BROWSER_COLOR, S as ensureChromeExtensionRelayServer, T as PROFILE_ATTACH_RETRY_TIMEOUT_MS, _ as appendCdpPath, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, i as launchOpenClawChrome, j as DEFAULT_AI_SNAPSHOT_MAX_CHARS, k as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchJson, w as CDP_JSON_NEW_TIMEOUT_MS, y as fetchOk } from "./chrome-
|
|
5
|
-
import { i as isLoopbackHost } from "./ws-
|
|
6
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
7
|
-
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
4
|
+
import { A as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, C as stopChromeExtensionRelayServer, D as resolveCdpReachabilityTimeouts, E as PROFILE_POST_RESTART_WS_TIMEOUT_MS, F as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, M as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_OPENCLAW_BROWSER_COLOR, S as ensureChromeExtensionRelayServer, T as PROFILE_ATTACH_RETRY_TIMEOUT_MS, _ as appendCdpPath, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, i as launchOpenClawChrome, j as DEFAULT_AI_SNAPSHOT_MAX_CHARS, k as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchJson, w as CDP_JSON_NEW_TIMEOUT_MS, y as fetchOk } from "./chrome-2gfHr1cU.js";
|
|
5
|
+
import { i as isLoopbackHost } from "./ws-E9v842O2.js";
|
|
6
|
+
import { a as resolveGatewayAuth } from "./auth-B9WdgDjZ.js";
|
|
7
|
+
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-BZfURxkW.js";
|
|
8
8
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-D5pCqwf4.js";
|
|
9
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
10
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
11
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
9
|
+
import { n as SsrFBlockedError } from "./proxy-env-DhFUQlwP.js";
|
|
10
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-B6BeXmZU.js";
|
|
11
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-CRcBie8T.js";
|
|
12
12
|
import { t as movePathToTrash } from "./trash-Cq4N8bvb.js";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fsPromises from "node:fs/promises";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/gateway/startup-auth.ts
|
|
@@ -158,7 +158,7 @@ function isModuleNotFoundError(err) {
|
|
|
158
158
|
}
|
|
159
159
|
async function loadPwAiModule(mode) {
|
|
160
160
|
try {
|
|
161
|
-
return await import("./pw-ai-
|
|
161
|
+
return await import("./pw-ai-BOQE6s45.js");
|
|
162
162
|
} catch (err) {
|
|
163
163
|
if (mode === "soft") return null;
|
|
164
164
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -316,7 +316,7 @@ async function withPlaywrightRouteContext(params) {
|
|
|
316
316
|
//#endregion
|
|
317
317
|
//#region src/browser/routes/output-paths.ts
|
|
318
318
|
async function ensureOutputRootDir(rootDir) {
|
|
319
|
-
await
|
|
319
|
+
await fsPromises.mkdir(rootDir, { recursive: true });
|
|
320
320
|
}
|
|
321
321
|
async function resolveWritableOutputPathOrRespond(params) {
|
|
322
322
|
if (params.ensureRootDir) await ensureOutputRootDir(params.rootDir);
|
|
@@ -2507,7 +2507,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
2507
2507
|
//#region src/browser/server-context.reset.ts
|
|
2508
2508
|
async function closePlaywrightBrowserConnection() {
|
|
2509
2509
|
try {
|
|
2510
|
-
await (await import("./pw-ai-
|
|
2510
|
+
await (await import("./pw-ai-BOQE6s45.js")).closePlaywrightBrowserConnection();
|
|
2511
2511
|
} catch {}
|
|
2512
2512
|
}
|
|
2513
2513
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as ensureChromeExtensionRelayServer } from "./chrome-
|
|
2
|
-
import { a as resolveProfile, n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-
|
|
1
|
+
import { S as ensureChromeExtensionRelayServer } from "./chrome-2gfHr1cU.js";
|
|
2
|
+
import { a as resolveProfile, n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-Cr-Y4i6P.js";
|
|
3
3
|
|
|
4
4
|
//#region src/browser/server-lifecycle.ts
|
|
5
5
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -2,124 +2,124 @@ import "./paths-BYr-iJJ9.js";
|
|
|
2
2
|
import "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import { Ar as enqueueSystemEvent, D as pruneLegacyStoreKeys, E as loadSessionEntry, Ft as createOutboundSendDeps, Jn as buildOutboundSessionContext, O as resolveGatewaySessionStoreTarget, Pr as requestHeartbeatNow, jt as agentCommandFromIngress, kn as resolveOutboundTarget } from "./reply-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { Ar as enqueueSystemEvent, D as pruneLegacyStoreKeys, E as loadSessionEntry, Ft as createOutboundSendDeps, Jn as buildOutboundSessionContext, O as resolveGatewaySessionStoreTarget, Pr as requestHeartbeatNow, jt as agentCommandFromIngress, kn as resolveOutboundTarget } from "./reply-DQMWsIE2.js";
|
|
6
|
+
import "./agent-scope-DHMu2mab.js";
|
|
7
7
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
8
8
|
import { l as normalizeMainKey } from "./session-key-C9z4VQtw.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-TersEUYu.js";
|
|
10
10
|
import "./logger-D04dg4Ex.js";
|
|
11
11
|
import "./exec-BdDcFm8M.js";
|
|
12
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
12
|
+
import { Wt as loadConfig } from "./model-selection-DCo8MhsE.js";
|
|
13
13
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
14
14
|
import "./boolean-BgXe2hyu.js";
|
|
15
15
|
import "./env-4r1Vlroz.js";
|
|
16
16
|
import "./host-env-security-BiAcoumI.js";
|
|
17
17
|
import "./env-vars-DM119fhK.js";
|
|
18
18
|
import "./registry-CUyWRciN.js";
|
|
19
|
-
import "./manifest-registry-
|
|
20
|
-
import "./dock-
|
|
19
|
+
import "./manifest-registry-HNrtHxxI.js";
|
|
20
|
+
import "./dock-swzevZbj.js";
|
|
21
21
|
import "./message-channel-CKAn7Lf7.js";
|
|
22
|
-
import "./send-
|
|
23
|
-
import "./audio-transcription-runner-
|
|
24
|
-
import "./image-
|
|
25
|
-
import "./models-config-
|
|
26
|
-
import "./pi-model-discovery-
|
|
27
|
-
import "./pi-embedded-helpers-
|
|
28
|
-
import "./sandbox-
|
|
22
|
+
import "./send-DmVTXBWW.js";
|
|
23
|
+
import "./audio-transcription-runner-Dv-MCA8E.js";
|
|
24
|
+
import "./image-BzR2twGI.js";
|
|
25
|
+
import "./models-config-Bgpjcu8R.js";
|
|
26
|
+
import "./pi-model-discovery-BSytrsu4.js";
|
|
27
|
+
import "./pi-embedded-helpers-D3nc5XJW.js";
|
|
28
|
+
import "./sandbox-DH9YtUfB.js";
|
|
29
29
|
import "./tool-catalog-zFhF8IWN.js";
|
|
30
|
-
import "./chrome-
|
|
30
|
+
import "./chrome-2gfHr1cU.js";
|
|
31
31
|
import "./tailscale-OcOGSzmc.js";
|
|
32
|
-
import "./tailnet-
|
|
33
|
-
import "./ws-
|
|
34
|
-
import "./auth-
|
|
35
|
-
import "./server-context-
|
|
32
|
+
import "./tailnet-C8NwaQEp.js";
|
|
33
|
+
import "./ws-E9v842O2.js";
|
|
34
|
+
import "./auth-B9WdgDjZ.js";
|
|
35
|
+
import "./server-context-Cr-Y4i6P.js";
|
|
36
36
|
import "./frontmatter-f69paAeU.js";
|
|
37
|
-
import "./skills-
|
|
38
|
-
import "./path-alias-guards-
|
|
39
|
-
import "./paths-
|
|
37
|
+
import "./skills-BXLKd7i5.js";
|
|
38
|
+
import "./path-alias-guards-BNzjbOwM.js";
|
|
39
|
+
import "./paths-BZfURxkW.js";
|
|
40
40
|
import "./redact-Bf_pxORb.js";
|
|
41
41
|
import "./errors-D5pCqwf4.js";
|
|
42
|
-
import "./fs-safe-
|
|
43
|
-
import "./proxy-env-
|
|
44
|
-
import "./image-ops-
|
|
45
|
-
import "./store-
|
|
46
|
-
import "./ports-
|
|
42
|
+
import "./fs-safe-BGAE6eOQ.js";
|
|
43
|
+
import "./proxy-env-DhFUQlwP.js";
|
|
44
|
+
import "./image-ops-B6BeXmZU.js";
|
|
45
|
+
import "./store-CRcBie8T.js";
|
|
46
|
+
import "./ports-DXMCFRgn.js";
|
|
47
47
|
import "./trash-Cq4N8bvb.js";
|
|
48
|
-
import "./server-middleware-
|
|
49
|
-
import { d as updateSessionStore } from "./sessions-
|
|
50
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
51
|
-
import "./accounts-
|
|
52
|
-
import "./accounts-
|
|
48
|
+
import "./server-middleware-zyvA9rl9.js";
|
|
49
|
+
import { d as updateSessionStore } from "./sessions-sIaYsUyX.js";
|
|
50
|
+
import { r as normalizeChannelId } from "./plugins-Ce8ThYGQ.js";
|
|
51
|
+
import "./accounts-CCbfXe4Y.js";
|
|
52
|
+
import "./accounts-C3iwoWUS.js";
|
|
53
53
|
import "./logging-Dn5qdhsZ.js";
|
|
54
|
-
import "./accounts-
|
|
55
|
-
import "./bindings-
|
|
56
|
-
import "./send-
|
|
54
|
+
import "./accounts-ChjgDDok.js";
|
|
55
|
+
import "./bindings-C0k4wFy7.js";
|
|
56
|
+
import "./send-BQVNhO4Q.js";
|
|
57
57
|
import "./paths-BJLbJUqV.js";
|
|
58
58
|
import "./chat-envelope-D2ZROPtK.js";
|
|
59
|
-
import "./tool-images-
|
|
59
|
+
import "./tool-images-CgSADinH.js";
|
|
60
60
|
import "./tool-display-BnVcCWLz.js";
|
|
61
|
-
import "./fetch-guard-
|
|
62
|
-
import "./api-key-rotation-
|
|
63
|
-
import "./local-roots-
|
|
64
|
-
import "./model-catalog-
|
|
61
|
+
import "./fetch-guard-N12H9lEe.js";
|
|
62
|
+
import "./api-key-rotation-CuHjsofV.js";
|
|
63
|
+
import "./local-roots-Dcc5UeD8.js";
|
|
64
|
+
import "./model-catalog-DUHxH2xb.js";
|
|
65
65
|
import "./proxy-fetch-7LT9tml2.js";
|
|
66
66
|
import "./tokens-BK5VYCE_.js";
|
|
67
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
68
|
-
import "./commands-
|
|
69
|
-
import "./commands-registry-
|
|
70
|
-
import "./client-
|
|
71
|
-
import "./call-
|
|
67
|
+
import { t as deliverOutboundPayloads } from "./deliver-D4ugOkLr.js";
|
|
68
|
+
import "./commands-npgZubp3.js";
|
|
69
|
+
import "./commands-registry-B5jHbfUL.js";
|
|
70
|
+
import "./client-BoUhzGrS.js";
|
|
71
|
+
import "./call-B9Vrcbed.js";
|
|
72
72
|
import "./pairing-token-QppPqMJU.js";
|
|
73
73
|
import "./fetch-Ca92M4MR.js";
|
|
74
74
|
import "./retry-AsJdJVsE.js";
|
|
75
|
-
import "./pairing-store-
|
|
75
|
+
import "./pairing-store-DY0yrkuM.js";
|
|
76
76
|
import "./exec-approvals-C23wqMXV.js";
|
|
77
|
-
import "./exec-approvals-allowlist-
|
|
78
|
-
import "./exec-safe-bin-runtime-policy-
|
|
79
|
-
import "./nodes-screen-
|
|
80
|
-
import "./target-errors-
|
|
81
|
-
import "./system-run-command-
|
|
77
|
+
import "./exec-approvals-allowlist-fG-NsL-O.js";
|
|
78
|
+
import "./exec-safe-bin-runtime-policy-B9kCrTY1.js";
|
|
79
|
+
import "./nodes-screen-FWjD2j3v.js";
|
|
80
|
+
import "./target-errors-cerGxvCB.js";
|
|
81
|
+
import "./system-run-command-Cn5yQ2rv.js";
|
|
82
82
|
import "./diagnostic-session-state-DtDi2x-e.js";
|
|
83
|
-
import "./with-timeout-
|
|
84
|
-
import "./diagnostic-
|
|
85
|
-
import "./send-
|
|
86
|
-
import "./model-
|
|
87
|
-
import "./reply-prefix-
|
|
83
|
+
import "./with-timeout-C-EETHnf.js";
|
|
84
|
+
import "./diagnostic-phUWJbF_.js";
|
|
85
|
+
import "./send-CFUSH9C-.js";
|
|
86
|
+
import "./model-CESXYutI.js";
|
|
87
|
+
import "./reply-prefix-aBvAQX6L.js";
|
|
88
88
|
import "./chunk-mV8H66i-.js";
|
|
89
|
-
import "./markdown-tables-
|
|
90
|
-
import "./ir-
|
|
89
|
+
import "./markdown-tables-XmfG1bwr.js";
|
|
90
|
+
import "./ir-vGBxQkIg.js";
|
|
91
91
|
import "./render-C9RrMnL2.js";
|
|
92
|
-
import "./channel-selection-
|
|
93
|
-
import "./plugin-auto-enable-
|
|
94
|
-
import "./send-
|
|
95
|
-
import "./outbound-attachment-
|
|
92
|
+
import "./channel-selection-BDdjozhi.js";
|
|
93
|
+
import "./plugin-auto-enable-4zXn-eVS.js";
|
|
94
|
+
import "./send-CabiU1-J.js";
|
|
95
|
+
import "./outbound-attachment-Df5o7JIG.js";
|
|
96
96
|
import "./delivery-queue-EvfYzqtX.js";
|
|
97
|
-
import "./send-
|
|
98
|
-
import "./resolve-route-
|
|
99
|
-
import "./pi-tools.policy-
|
|
97
|
+
import "./send-NexNe2Wh.js";
|
|
98
|
+
import "./resolve-route-R565qQgt.js";
|
|
99
|
+
import "./pi-tools.policy-Dwsq-Yaf.js";
|
|
100
100
|
import "./channel-activity-C--BGtPd.js";
|
|
101
|
-
import "./tables-
|
|
101
|
+
import "./tables-C5n2nXbu.js";
|
|
102
102
|
import "./proxy-D8dYXgWo.js";
|
|
103
|
-
import "./replies-
|
|
104
|
-
import "./skill-commands-
|
|
105
|
-
import "./workspace-dirs-
|
|
103
|
+
import "./replies-k5K96_46.js";
|
|
104
|
+
import "./skill-commands-C2_BOuyl.js";
|
|
105
|
+
import "./workspace-dirs-DxTFH1r3.js";
|
|
106
106
|
import "./session-cost-usage-DbjE1AVb.js";
|
|
107
|
-
import "./onboard-helpers-
|
|
107
|
+
import "./onboard-helpers-Jc1-4LBc.js";
|
|
108
108
|
import "./prompt-style-sTNfJFX8.js";
|
|
109
|
-
import "./pairing-labels-
|
|
110
|
-
import "./session-meta-
|
|
111
|
-
import "./memory-cli-
|
|
112
|
-
import "./manager-
|
|
113
|
-
import "./query-expansion-
|
|
109
|
+
import "./pairing-labels-BBti3jJg.js";
|
|
110
|
+
import "./session-meta-C6MooccR.js";
|
|
111
|
+
import "./memory-cli-87nxADqy.js";
|
|
112
|
+
import "./manager-X8AF3rQJ.js";
|
|
113
|
+
import "./query-expansion-B9kneDbd.js";
|
|
114
114
|
import "./links-CM7pO4C5.js";
|
|
115
115
|
import "./cli-utils-BKqG4ZT-.js";
|
|
116
116
|
import "./help-format-DUJs-8Xi.js";
|
|
117
117
|
import "./progress-86COuAnG.js";
|
|
118
|
-
import "./server-lifecycle-
|
|
118
|
+
import "./server-lifecycle-BVnXIEfI.js";
|
|
119
119
|
import "./stagger-C-R8Eo-4.js";
|
|
120
120
|
import "./constants-BJiQF5Ae.js";
|
|
121
121
|
import "./context-window-guard-BNuaId5E.js";
|
|
122
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
122
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-SIM2es-Y.js";
|
|
123
123
|
import { randomUUID } from "node:crypto";
|
|
124
124
|
|
|
125
125
|
//#region src/gateway/server-node-events.ts
|
|
@@ -31,7 +31,7 @@ import "./accounts-DTfEeXyO.js";
|
|
|
31
31
|
import "./bindings-Hx6KNJeg.js";
|
|
32
32
|
import "./send-Cpaj_bKB.js";
|
|
33
33
|
import "./send-BpXRh0BM.js";
|
|
34
|
-
import { A as agentCommandFromIngress, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Rn as requestHeartbeatNow, bt as resolveOutboundTarget, ln as buildOutboundSessionContext } from "./subagent-registry-
|
|
34
|
+
import { A as agentCommandFromIngress, P as createOutboundSendDeps, Pn as enqueueSystemEvent, Rn as requestHeartbeatNow, bt as resolveOutboundTarget, ln as buildOutboundSessionContext } from "./subagent-registry-CXBreqUP.js";
|
|
35
35
|
import "./paths-CTtLmER4.js";
|
|
36
36
|
import "./chat-envelope-D3RSz140.js";
|
|
37
37
|
import "./client-BvL3EdiZ.js";
|
|
@@ -120,7 +120,7 @@ import "./help-format-B3bKmDqF.js";
|
|
|
120
120
|
import "./progress-CwQKn0ae.js";
|
|
121
121
|
import "./constants-SKxh9Cou.js";
|
|
122
122
|
import "./context-window-guard-ejUBbmnW.js";
|
|
123
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
123
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BSlKJa83.js";
|
|
124
124
|
import { randomUUID } from "node:crypto";
|
|
125
125
|
|
|
126
126
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as resolveGatewayServiceDescription, l as resolveGatewayLaunchAgentLabel, m as resolveLegacyGatewayLaunchAgentLabels, p as resolveGatewayWindowsTaskName, t as GATEWAY_LAUNCH_AGENT_LABEL } from "./constants-DywKPp3i.js";
|
|
2
|
-
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-
|
|
2
|
+
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-BIfjzi-4.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const LAUNCH_AGENT_THROTTLE_INTERVAL_SECONDS = 1;
|
|
@@ -16,7 +16,7 @@ const renderEnvDict = (env) => {
|
|
|
16
16
|
};
|
|
17
17
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
18
18
|
try {
|
|
19
|
-
const plist = await
|
|
19
|
+
const plist = await fsPromises.readFile(plistPath, "utf8");
|
|
20
20
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
21
21
|
if (!programMatch) return null;
|
|
22
22
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -130,7 +130,7 @@ async function isLaunchAgentListed(args) {
|
|
|
130
130
|
async function launchAgentPlistExists(env) {
|
|
131
131
|
try {
|
|
132
132
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
133
|
-
await
|
|
133
|
+
await fsPromises.access(plistPath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -190,7 +190,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
190
190
|
]);
|
|
191
191
|
await execLaunchctl(["unload", plistPath]);
|
|
192
192
|
try {
|
|
193
|
-
await
|
|
193
|
+
await fsPromises.access(plistPath);
|
|
194
194
|
} catch {
|
|
195
195
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
196
196
|
return;
|
|
@@ -199,8 +199,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
199
199
|
const trashDir = path.join(home, ".Trash");
|
|
200
200
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
201
201
|
try {
|
|
202
|
-
await
|
|
203
|
-
await
|
|
202
|
+
await fsPromises.mkdir(trashDir, { recursive: true });
|
|
203
|
+
await fsPromises.rename(plistPath, dest);
|
|
204
204
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
205
205
|
} catch {
|
|
206
206
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -244,7 +244,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
244
244
|
}
|
|
245
245
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
246
246
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
247
|
-
await
|
|
247
|
+
await fsPromises.mkdir(logDir, { recursive: true });
|
|
248
248
|
const domain = resolveGuiDomain();
|
|
249
249
|
const label = resolveLaunchAgentLabel({ env });
|
|
250
250
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.OPENCLAW_PROFILE)) {
|
|
@@ -256,11 +256,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
256
256
|
]);
|
|
257
257
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
258
258
|
try {
|
|
259
|
-
await
|
|
259
|
+
await fsPromises.unlink(legacyPlistPath);
|
|
260
260
|
} catch {}
|
|
261
261
|
}
|
|
262
262
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
263
|
-
await
|
|
263
|
+
await fsPromises.mkdir(path.dirname(plistPath), { recursive: true });
|
|
264
264
|
const plist = buildLaunchAgentPlist({
|
|
265
265
|
label,
|
|
266
266
|
comment: resolveGatewayServiceDescription({
|
|
@@ -274,7 +274,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
274
274
|
stderrPath,
|
|
275
275
|
environment
|
|
276
276
|
});
|
|
277
|
-
await
|
|
277
|
+
await fsPromises.writeFile(plistPath, plist, "utf8");
|
|
278
278
|
await execLaunchctl([
|
|
279
279
|
"bootout",
|
|
280
280
|
domain,
|
|
@@ -454,7 +454,7 @@ function resolveTaskUser(env) {
|
|
|
454
454
|
async function readScheduledTaskCommand(env) {
|
|
455
455
|
const scriptPath = resolveTaskScriptPath(env);
|
|
456
456
|
try {
|
|
457
|
-
const content = await
|
|
457
|
+
const content = await fsPromises.readFile(scriptPath, "utf8");
|
|
458
458
|
let workingDirectory = "";
|
|
459
459
|
let commandLine = "";
|
|
460
460
|
const environment = {};
|
|
@@ -544,7 +544,7 @@ async function assertSchtasksAvailable() {
|
|
|
544
544
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
545
545
|
await assertSchtasksAvailable();
|
|
546
546
|
const scriptPath = resolveTaskScriptPath(env);
|
|
547
|
-
await
|
|
547
|
+
await fsPromises.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
548
548
|
const script = buildTaskScript({
|
|
549
549
|
description: resolveGatewayServiceDescription({
|
|
550
550
|
env,
|
|
@@ -555,7 +555,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
555
555
|
workingDirectory,
|
|
556
556
|
environment
|
|
557
557
|
});
|
|
558
|
-
await
|
|
558
|
+
await fsPromises.writeFile(scriptPath, script, "utf8");
|
|
559
559
|
const taskName = resolveTaskName(env);
|
|
560
560
|
const baseArgs = [
|
|
561
561
|
"/Create",
|
|
@@ -607,7 +607,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
607
607
|
]);
|
|
608
608
|
const scriptPath = resolveTaskScriptPath(env);
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fsPromises.unlink(scriptPath);
|
|
611
611
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
612
612
|
} catch {
|
|
613
613
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -2,7 +2,7 @@ import { l as success, m as getChildLogger, t as danger, v as toPinoLikeLogger }
|
|
|
2
2
|
import { c as ensureDir, y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
4
4
|
import { r as VERSION } from "./env-vars-DM119fhK.js";
|
|
5
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
5
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-CCbfXe4Y.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as recordSessionMetaFromInbound } from "./sessions-
|
|
2
|
+
import { c as recordSessionMetaFromInbound } from "./sessions-sIaYsUyX.js";
|
|
3
3
|
import { c as resolveStorePath } from "./paths-BJLbJUqV.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/session-meta.ts
|