@bitseek/claw 1.2.6 → 1.2.7
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-CCbfXe4Y.js → accounts-D5DQlttG.js} +7 -7
- package/dist/{accounts-C3iwoWUS.js → accounts-DKvlV3Tm.js} +1 -1
- package/dist/{accounts-ChjgDDok.js → accounts-jPPbCJns.js} +1 -1
- package/dist/{acp-cli-DIikR-tj.js → acp-cli-BZnPaFm3.js} +8 -8
- package/dist/{agent-scope-DHMu2mab.js → agent-scope-CiBV1K6b.js} +1 -1
- package/dist/{agents.config-BoNoGEQI.js → agents.config-DQBEXhzA.js} +2 -2
- package/dist/{api-key-rotation-CuHjsofV.js → api-key-rotation-j4O7qxMf.js} +1 -1
- package/dist/{audio-preflight-BClvbKMQ.js → audio-preflight-BkoTbTIH.js} +36 -36
- package/dist/{audio-preflight-BWOdDA2n.js → audio-preflight-Dd9DDvqB.js} +4 -4
- package/dist/{audio-transcription-runner-DaoqvWoi.js → audio-transcription-runner-Bx53bUS2.js} +1 -1
- package/dist/{audio-transcription-runner-Dv-MCA8E.js → audio-transcription-runner-CF_UP4C7.js} +22 -22
- package/dist/{audit-BAGbgihO.js → audit-1YVlVmk7.js} +29 -29
- package/dist/{auth-B9WdgDjZ.js → auth-Co2g3d8d.js} +1 -1
- package/dist/{auth-choice-FFUrxk0-.js → auth-choice-BamWYpsc.js} +14 -14
- package/dist/{auth-choice-CTCXt7WB.js → auth-choice-CdsMUqKA.js} +12 -12
- package/dist/{auth-choice.apply-helpers-Dz2x-3CK.js → auth-choice.apply-helpers-CQLQ5Tuk.js} +1 -1
- package/dist/{auth-token-BPWVp11S.js → auth-token-BjVRLcvi.js} +1 -1
- package/dist/{bindings-C0k4wFy7.js → bindings-Ck6aotGf.js} +1 -1
- package/dist/{bonjour-discovery-DXvZeG8M.js → bonjour-discovery-CtUQb94i.js} +1 -1
- package/dist/{browser-cli-BwtSgIvC.js → browser-cli-CaBLM5A6.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-B9Vrcbed.js → call-BGZQEHL4.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CeGx9Aq7.js → channel-account-context-C6rIxLzo.js} +5 -5
- package/dist/{channel-options-DmEaPgkZ.js → channel-options-Bnnem_wD.js} +3 -3
- package/dist/{channel-selection-BDdjozhi.js → channel-selection-TZJgoz5h.js} +1 -1
- package/dist/{channel-web-mFdbEE2o.js → channel-web-KY6EP9HT.js} +18 -18
- package/dist/{channels-cli-CCTczoJM.js → channels-cli-tJkvzsqO.js} +94 -94
- package/dist/{channels-status-issues-Dir7g-Pc.js → channels-status-issues-DeT1Znlx.js} +1 -1
- package/dist/{chrome-CjTE-vWv.js → chrome-C6zMSR36.js} +8 -8
- package/dist/{chrome-2gfHr1cU.js → chrome-DzGCPEQK.js} +4 -4
- package/dist/{clawbot-cli-BMGBnmny.js → clawbot-cli-Comysjn9.js} +5 -5
- package/dist/{cli-zsP2OqB6.js → cli-DOS1lPNs.js} +75 -75
- package/dist/{client-BoUhzGrS.js → client-B91adiXh.js} +2 -2
- package/dist/{command-registry-okzYatr9.js → command-registry-Ce2f2xlT.js} +5 -5
- package/dist/{commands-npgZubp3.js → commands-C6OLhl3n.js} +1 -1
- package/dist/{commands-registry-B5jHbfUL.js → commands-registry-CVzTBX51.js} +3 -3
- package/dist/{completion-cli-Dm9dt8iw.js → completion-cli-9Y73fGUi.js} +12 -12
- package/dist/{completion-cli-BFxGdqak.js → completion-cli-BmyLEw45.js} +2 -2
- package/dist/{config-cli-CJVYN-g-.js → config-cli-DZpbwWvz.js} +7 -7
- package/dist/{config-guard-1SsvFO9G.js → config-guard-9BjlFVZx.js} +17 -17
- package/dist/{config-validation-BJ6PNk8H.js → config-validation-BcxAhhcj.js} +3 -3
- package/dist/{configure-DMwHaNHJ.js → configure-CLMtWGiL.js} +17 -17
- package/dist/{control-ui-assets-DpInddpx.js → control-ui-assets-B_3g_YF0.js} +1 -1
- package/dist/{cron-cli-CyEcKgVG.js → cron-cli-C8kDGh6_.js} +12 -12
- package/dist/{daemon-cli-CB9c5SXP.js → daemon-cli-RKWFtF-K.js} +15 -15
- package/dist/{daemon-install-Bqjc3wky.js → daemon-install-DsJ0L8HP.js} +4 -4
- package/dist/{daemon-install-helpers-CGZBs-X3.js → daemon-install-helpers-CMWYg4_W.js} +11 -11
- package/dist/{dashboard-8HFxt9IY.js → dashboard-BhAYjl6n.js} +2 -2
- package/dist/{deliver-D4ugOkLr.js → deliver-Bn10XzRP.js} +7 -7
- package/dist/{deliver-xY3h9X6N.js → deliver-DXa06hfk.js} +1 -1
- package/dist/{devices-cli-Bp8AMOPE.js → devices-cli-DoJBheGs.js} +8 -8
- package/dist/{diagnostic-phUWJbF_.js → diagnostic-DRPetA8l.js} +1 -1
- package/dist/{diagnostics-D_AmByNE.js → diagnostics-BHQgZbuI.js} +5 -5
- package/dist/{directory-cli-Bt3I30_e.js → directory-cli-Brla3Idn.js} +8 -8
- package/dist/{dns-cli-DaTrsB61.js → dns-cli-rEvE1LG9.js} +5 -5
- package/dist/{dock-swzevZbj.js → dock-BXksV3sC.js} +4 -4
- package/dist/{docs-cli--2Qgcpvs.js → docs-cli-DtThi0Xf.js} +4 -4
- package/dist/{doctor-completion-UEYo4_U6.js → doctor-completion-CWm9ZwKY.js} +2 -2
- package/dist/{doctor-completion-wHIBxn-7.js → doctor-completion-_GRkzsCa.js} +1 -1
- package/dist/{doctor-config-flow-DKaeaH2u.js → doctor-config-flow-18ijj3KB.js} +15 -15
- package/dist/{enable-xlkWJvIn.js → enable-CJ75JA5u.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-fG-NsL-O.js → exec-approvals-allowlist-CGVHz3PX.js} +1 -1
- package/dist/{exec-approvals-cli-r7jbe_Rj.js → exec-approvals-cli-DfcUJ9Sm.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-B9kCrTY1.js → exec-safe-bin-runtime-policy-D7olAQMf.js} +2 -2
- package/dist/{fetch-guard-N12H9lEe.js → fetch-guard-D6eclxeP.js} +1 -1
- package/dist/{fs-safe-BGAE6eOQ.js → fs-safe-p5lyYI__.js} +24 -24
- package/dist/{gateway-cli-BFo0WvJx.js → gateway-cli-CSL5V3uF.js} +1 -1
- package/dist/{gateway-cli-Bi6tzv7v.js → gateway-cli-DRM2vzxA.js} +160 -160
- package/dist/{gateway-rpc-BHBGSN7Z.js → gateway-rpc-CJVCek88.js} +1 -1
- package/dist/{health-DlFSsTw-.js → health-Du8dO3vn.js} +14 -14
- package/dist/{hooks-cli-CMLpJr6I.js → hooks-cli-DUIQuGjr.js} +83 -83
- package/dist/{hooks-status-inMD7sD-.js → hooks-status-ONaKEpUH.js} +1 -1
- package/dist/{image-BzR2twGI.js → image-B270IRGo.js} +5 -5
- package/dist/{image-DCyaYY2d.js → image-Dd4lgi4H.js} +1 -1
- package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-BAMcbVMS.js} +2 -2
- package/dist/index.js +85 -85
- package/dist/{inspect-BwbOLUun.js → inspect-C0e0Dmvg.js} +4 -4
- package/dist/{install-safe-path-DodF6oyk.js → install-safe-path-CSqVUjL8.js} +25 -25
- package/dist/{installs-8bzJi35e.js → installs-BXOZ3DXs.js} +9 -9
- package/dist/{ipv4-BY_PmkpX.js → ipv4-Bk-doiEE.js} +1 -1
- package/dist/{ir-vGBxQkIg.js → ir-BGgl4f9u.js} +6 -6
- package/dist/{issue-format-B4oxePhU.js → issue-format-rk9Vpcxd.js} +1 -1
- package/dist/{json-files-C7p5SEie.js → json-files-bJqSYqgg.js} +8 -8
- package/dist/{lifecycle-core-C5a4clqu.js → lifecycle-core-Bqse41aA.js} +5 -5
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{local-roots-Dcc5UeD8.js → local-roots-jW0nhxVT.js} +3 -3
- package/dist/{login-BM9p9nig.js → login-B2B75WGK.js} +3 -3
- package/dist/{login-qr-CB4JWkHM.js → login-qr-YjUycQZT.js} +6 -6
- package/dist/{logs-cli-DGdXLEv-.js → logs-cli-Dyid6hUQ.js} +9 -9
- package/dist/{manager-X8AF3rQJ.js → manager-C9rftBaE.js} +14 -14
- package/dist/{manifest-registry-HNrtHxxI.js → manifest-registry-B_U2pKBU.js} +1 -1
- package/dist/{markdown-tables-XmfG1bwr.js → markdown-tables-B5l_33qL.js} +1 -1
- package/dist/{memory-cli-87nxADqy.js → memory-cli-o3L9NN74.js} +12 -12
- package/dist/{model-CESXYutI.js → model-FnrgCVyS.js} +2 -2
- package/dist/{model-catalog-DUHxH2xb.js → model-catalog-CjA5pRJF.js} +3 -3
- package/dist/{model-picker-D705WMPf.js → model-picker-CMgjcqV_.js} +4 -4
- package/dist/{model-selection-DCo8MhsE.js → model-selection-xdfZxwgB.js} +16 -16
- package/dist/{models-cli-9x2mp4Ac.js → models-cli-CHUbcM_y.js} +85 -85
- package/dist/{models-config-Bgpjcu8R.js → models-config-Do1Ur_ov.js} +6 -6
- package/dist/{node-cli-DJnihsNr.js → node-cli-DYOdgLUu.js} +33 -33
- package/dist/{node-command-policy-BiPTB8BK.js → node-command-policy-BKUs_pS2.js} +1 -1
- package/dist/{node-service-CfKJ5oC1.js → node-service-6W3vqgVv.js} +1 -1
- package/dist/{nodes-cli-4kBrEEti.js → nodes-cli-CQzck2kc.js} +16 -16
- package/dist/{nodes-screen-FWjD2j3v.js → nodes-screen-Dptoharj.js} +7 -7
- package/dist/{npm-pack-install-CXheGnb0.js → npm-pack-install-Byr0kgft.js} +18 -18
- package/dist/{npm-resolution-DIr_TibO.js → npm-resolution-Dv7nYiaP.js} +5 -5
- package/dist/{onboard-DEFQu6dU.js → onboard-ATkjPZXm.js} +6 -6
- package/dist/{onboard-B_MoYnrn.js → onboard-BuGv9f2N.js} +1 -1
- package/dist/{onboard-channels-BuG5-e60.js → onboard-channels-CRpmgX82.js} +20 -20
- package/dist/{onboard-custom-HI7NPx1u.js → onboard-custom-Bow6lZPm.js} +3 -3
- package/dist/{onboard-custom.shared-SWx67Er2.js → onboard-custom.shared-CBRRhb95.js} +2 -2
- package/dist/{onboard-helpers-Jc1-4LBc.js → onboard-helpers-B1AEo6oL.js} +11 -11
- package/dist/{onboard-hooks-DFjIpeE_.js → onboard-hooks-CtxRk6l_.js} +4 -4
- package/dist/{onboard-remote-BLAyUeAO.js → onboard-remote-DmHpLoWf.js} +3 -3
- package/dist/{onboard-skills--XkA2Jj4.js → onboard-skills-DwpZY5tZ.js} +4 -4
- package/dist/{onboarding-CSnr51pR.js → onboarding-BAaREMfO.js} +1 -1
- package/dist/{onboarding-BQ2WB7tp.js → onboarding-BvdtFAPe.js} +13 -13
- package/dist/{onboarding.finalize-BlMlIFRW.js → onboarding.finalize-CV7n10lP.js} +4 -4
- package/dist/{onboarding.finalize-DAbr5Ar8.js → onboarding.finalize-dkwktLJD.js} +87 -87
- package/dist/{onboarding.gateway-config-CMKjEPRA.js → onboarding.gateway-config-wXH6gE7c.js} +18 -18
- package/dist/{openai-model-default-BTNz1OzV.js → openai-model-default-Q7Hmy0eQ.js} +2 -2
- package/dist/{outbound-Bf7VAx0-.js → outbound-DlVJWa4u.js} +4 -4
- package/dist/{outbound-attachment-Df5o7JIG.js → outbound-attachment-CZh4VjhT.js} +2 -2
- package/dist/{pairing-cli-CA7Dxs-g.js → pairing-cli-DAMLvDcA.js} +9 -9
- package/dist/{pairing-labels-BBti3jJg.js → pairing-labels-Cl7ROILg.js} +1 -1
- package/dist/{pairing-store-DY0yrkuM.js → pairing-store-DdZ0xMD7.js} +3 -3
- package/dist/{path-alias-guards-BNzjbOwM.js → path-alias-guards-DWh6tSaP.js} +3 -3
- package/dist/{path-safety-dmCI2tpN.js → path-safety-COhgvniC.js} +1 -1
- package/dist/{paths-BZfURxkW.js → paths-AxolTUEH.js} +9 -9
- package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-DKX65Hec.js} +22 -22
- package/dist/{pi-embedded-helpers-CMTVhLjq.js → pi-embedded-helpers-BErNo2oq.js} +3 -3
- package/dist/{pi-embedded-helpers-D3nc5XJW.js → pi-embedded-helpers-ZTn-T7tW.js} +6 -6
- package/dist/{pi-model-discovery-BSytrsu4.js → pi-model-discovery-DVhDvAnA.js} +1 -1
- package/dist/{pi-tools.policy-Dwsq-Yaf.js → pi-tools.policy-eyXj0EY5.js} +5 -5
- package/dist/{plugin-auto-enable-4zXn-eVS.js → plugin-auto-enable-D1WySsnE.js} +3 -3
- package/dist/{plugin-registry-DsZTkNKu.js → plugin-registry-TOEmbMc4.js} +3 -3
- package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
- package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
- package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
- package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-O79O_ah6.js} +23 -23
- package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
- package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
- package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
- package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
- package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
- package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
- package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
- package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
- package/dist/{image-ops-B6BeXmZU.js → plugin-sdk/image-ops-DulHE5Qc.js} +12 -12
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
- package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
- package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
- package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
- package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
- package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
- package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
- package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
- package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
- package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
- package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
- package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
- package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-YZQvouuF.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
- package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
- package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
- package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
- package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
- package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
- package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
- package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
- package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
- package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
- package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
- package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
- package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
- package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
- package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
- package/dist/plugin-sdk/{target-errors-0u6pegQv.js → target-errors-QZay02Cv.js} +2 -2
- package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
- package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
- package/dist/plugin-sdk/web-jmxdxo0H.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
- package/dist/{plugins-Ce8ThYGQ.js → plugins-CKWxMohB.js} +2 -2
- package/dist/{plugins-cli-DxFh5OQi.js → plugins-cli-Clo_uyvq.js} +85 -85
- package/dist/{ports-wtEwdqsX.js → ports-BL-FP2jP.js} +1 -1
- package/dist/{ports-DXMCFRgn.js → ports-DppAHKM-.js} +2 -2
- package/dist/{program-DnjsZxiJ.js → program-Br-upXE-.js} +2 -2
- package/dist/{program-context-36wFBslW.js → program-context-B7eOpdoF.js} +43 -43
- package/dist/{prompt-select-styled-BkpL6eKQ.js → prompt-select-styled-BpKwjfWa.js} +1 -1
- package/dist/{prompt-select-styled-CJt-zhnt.js → prompt-select-styled-CPPwmToI.js} +39 -39
- package/dist/{provider-auth-helpers-DeJ105rb.js → provider-auth-helpers-D_akOb8A.js} +5 -5
- package/dist/{proxy-env-DhFUQlwP.js → proxy-env-ClbXa7vn.js} +1 -1
- package/dist/{push-apns-SIM2es-Y.js → push-apns-DvNRo3EQ.js} +5 -5
- package/dist/{pw-ai-BOQE6s45.js → pw-ai-D21rIJ2z.js} +15 -15
- package/dist/{pw-ai-DGwA7iCM.js → pw-ai-pkfCxzhV.js} +1 -1
- package/dist/{qmd-manager-DVKj0i6T.js → qmd-manager-BD6lfN35.js} +20 -20
- package/dist/{qr-cli-Z4_Y6bva.js → qr-cli-BQGJJ5hp.js} +1 -1
- package/dist/{query-expansion-B9kneDbd.js → query-expansion-Dl85zpSb.js} +12 -12
- package/dist/{redact-snapshot-BI4Ryuhy.js → redact-snapshot-DCGL0k2M.js} +1 -1
- package/dist/{register.agent-Cd2LVcga.js → register.agent-DowGjvNc.js} +100 -100
- package/dist/register.configure-BZLa_c3k.js +174 -0
- package/dist/{register.init-BiLKNwSu.js → register.init-B1pIa3ys.js} +5 -88
- package/dist/{register.init-DpFUY5Ed.js → register.init-BrturXsS.js} +20 -103
- package/dist/{register.maintenance-R4RCi4f3.js → register.maintenance-D3hGsmW7.js} +5 -5
- package/dist/{register.maintenance-DAU-mVIz.js → register.maintenance-DlVX7oGZ.js} +97 -97
- package/dist/{register.message-B0CI0Q4o.js → register.message-DE-eKss6.js} +76 -76
- package/dist/{register.onboard-Di7iClKl.js → register.onboard-BLl4Er9V.js} +2 -2
- package/dist/{register.onboard-BGhXUfbX.js → register.onboard-BSOSCu5a.js} +18 -18
- package/dist/{register.setup-nlXy06aa.js → register.setup-CvAXGVEU.js} +21 -21
- package/dist/{register.setup-Dm_dHAB-.js → register.setup-NLg11E_9.js} +2 -2
- package/dist/{register.start-Dzss99ZY.js → register.start-BHASi8Um.js} +17 -17
- package/dist/{register.status-health-sessions-B4eNiGWS.js → register.status-health-sessions-Cbva8fTK.js} +89 -89
- package/dist/{register.subclis-1MobNhis.js → register.subclis-Zhshg_9Y.js} +3 -3
- package/dist/{replies-k5K96_46.js → replies-B6SXcEs0.js} +1 -1
- package/dist/{reply-DQMWsIE2.js → reply-D8Yu6-Ie.js} +156 -156
- package/dist/{reply-prefix-aBvAQX6L.js → reply-prefix-BttpF8VB.js} +1 -1
- package/dist/{resolve-route-R565qQgt.js → resolve-route-Ck23oGqS.js} +2 -2
- package/dist/{rpc-CMyUzpcT.js → rpc-9jE_1PW0.js} +1 -1
- package/dist/{run-main-CFGtfsPd.js → run-main-CiC7Az8U.js} +3 -3
- package/dist/{runtime-D64ACWoX.js → runtime-Rd7ooKB0.js} +2 -2
- package/dist/{sandbox-DH9YtUfB.js → sandbox-BKa5RrBl.js} +18 -18
- package/dist/{sandbox-cli-B1ThXy7C.js → sandbox-cli-BnpEc205.js} +26 -26
- package/dist/{secrets-cli-BEjJ3GP-.js → secrets-cli-CIxUNZyC.js} +10 -10
- package/dist/{security-cli-Zma5k5BZ.js → security-cli-BqOOeGxS.js} +43 -43
- package/dist/{send-NexNe2Wh.js → send-BntubUtK.js} +6 -6
- package/dist/{send-DmVTXBWW.js → send-ByUfPpKj.js} +11 -11
- package/dist/{send-CabiU1-J.js → send-Cua2kS5v.js} +6 -6
- package/dist/{send-BQVNhO4Q.js → send-DuNBSJln.js} +5 -5
- package/dist/{send-CFUSH9C-.js → send-SZBhACLn.js} +8 -8
- package/dist/{server-DQ7D-B-v.js → server-Ct0J5VXf.js} +19 -19
- package/dist/{server-context-Cr-Y4i6P.js → server-context-DWxmyV-0.js} +12 -12
- package/dist/{server-lifecycle-BVnXIEfI.js → server-lifecycle-B7aXKxY3.js} +2 -2
- package/dist/{server-middleware-zyvA9rl9.js → server-middleware-CO1brrgv.js} +1 -1
- package/dist/{server-node-events-oa4mOmsp.js → server-node-events-nakjzVDn.js} +76 -76
- package/dist/{service-BcFhE63y.js → service-DqxfCr8y.js} +15 -15
- package/dist/{session-Dl3x3d75.js → session-FOGqE7bj.js} +1 -1
- package/dist/{session-meta-C6MooccR.js → session-meta-C-ox3bdI.js} +1 -1
- package/dist/{sessions-sIaYsUyX.js → sessions-BpuJ64B0.js} +15 -15
- package/dist/{shared-sFrejcA4.js → shared-BmSv3K8N.js} +1 -1
- package/dist/{shared-DNcLp2mA.js → shared-CgFPGTLU.js} +3 -3
- package/dist/{skill-commands-C2_BOuyl.js → skill-commands-COl0HE54.js} +5 -5
- package/dist/{skill-scanner-DYkQAh0l.js → skill-scanner-CsmM5F4F.js} +6 -6
- package/dist/{skills-BXLKd7i5.js → skills-BeFcXCoN.js} +3 -3
- package/dist/{skills-cli-DrN4v5_m.js → skills-cli-D3ZteX5N.js} +5 -5
- package/dist/{skills-install-CSfh8nRm.js → skills-install-B_Vda3dM.js} +6 -6
- package/dist/{skills-status-C7Q6Ezbv.js → skills-status-BEq0_fOn.js} +1 -1
- package/dist/{status-rMgdZcE5.js → status-CQYA6EJN.js} +25 -25
- package/dist/{status.update-D4GfnNDI.js → status.update-HwSPC5ZX.js} +2 -2
- package/dist/{store-CRcBie8T.js → store-B-nkOSsv.js} +5 -5
- package/dist/{system-cli-Bscj57lL.js → system-cli-IYwpBiC6.js} +9 -9
- package/dist/{system-run-command-Cn5yQ2rv.js → system-run-command-C3OIMtEu.js} +1 -1
- package/dist/{systemd-BIfjzi-4.js → systemd-DJ5Red-Q.js} +9 -9
- package/dist/{systemd-hints-CgtHwBfD.js → systemd-hints-D40Qx3hg.js} +6 -6
- package/dist/{systemd-linger-0Vho6LMt.js → systemd-linger-BK6kig-o.js} +1 -1
- package/dist/{tables-C5n2nXbu.js → tables-C9_oCtRN.js} +1 -1
- package/dist/{tailnet-C8NwaQEp.js → tailnet-BYBKD8Kh.js} +1 -1
- package/dist/{target-errors-cerGxvCB.js → target-errors-B1cYmIjq.js} +4 -4
- package/dist/{tool-images-CgSADinH.js → tool-images-QWbHWc0F.js} +1 -1
- package/dist/{tui-DNT0WnU-.js → tui-Dd6DhgjX.js} +6 -6
- package/dist/{tui-cli-DTFq2wGK.js → tui-cli-C3PCazFC.js} +33 -33
- package/dist/{update-Mb6BH0o9.js → update-B1Dhhu_3.js} +3 -3
- package/dist/{update-cli-Dbb1EPi2.js → update-cli-B9F4MIMw.js} +5 -5
- package/dist/{update-cli--qEz2_Eg.js → update-cli-mCVWiI6K.js} +105 -105
- package/dist/{update-runner-Dj_CAfd4.js → update-runner-DO6RodZW.js} +16 -16
- package/dist/web-DbdjX4Hg.js +126 -0
- package/dist/{web-CDHXvGxm.js → web-V1uGLepo.js} +6 -6
- package/dist/{webhooks-cli-uXE9EOwT.js → webhooks-cli-BFdw7BAP.js} +6 -6
- package/dist/{whatsapp-actions-DeX4x9sq.js → whatsapp-actions-CNoiLzRB.js} +19 -19
- package/dist/{with-timeout-C-EETHnf.js → with-timeout-tSH4Tex_.js} +3 -3
- package/dist/{workspace-TersEUYu.js → workspace-CRdln__H.js} +23 -23
- package/dist/{workspace-1nc7aTpg.js → workspace-dKMB109Q.js} +1 -1
- package/dist/{workspace-dirs-DxTFH1r3.js → workspace-dirs-DcAUEsSG.js} +1 -1
- package/dist/{ws-E9v842O2.js → ws-DKbBt0us.js} +2 -2
- package/dist/{wsl-Dg6XQcw5.js → wsl-yjQQ-PJd.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
- package/dist/register.configure-DGIWBQvN.js +0 -174
- package/dist/web-BQRkxG9u.js +0 -126
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { d as colorize, p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import "./utils-CP51tiAi.js";
|
|
4
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
4
|
+
import { i as resolveAgentConfig } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import { T as sameFileIdentity } from "./workspace-
|
|
6
|
+
import { T as sameFileIdentity } from "./workspace-CRdln__H.js";
|
|
7
7
|
import { i as logWarn } from "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import { Wt as loadConfig, cr as resolvePlannedSegmentArgv, ir as analyzeArgvCommand, mr as resolveExecutableFromPathEnv, pr as resolveCommandResolutionFromArgv } from "./model-selection-
|
|
9
|
+
import { Wt as loadConfig, cr as resolvePlannedSegmentArgv, ir as analyzeArgvCommand, mr as resolveExecutableFromPathEnv, pr as resolveCommandResolutionFromArgv } from "./model-selection-xdfZxwgB.js";
|
|
10
10
|
import "./github-copilot-token-CVsUoC9m.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
12
12
|
import "./boolean-BgXe2hyu.js";
|
|
@@ -14,51 +14,51 @@ import "./env-4r1Vlroz.js";
|
|
|
14
14
|
import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./host-env-security-BiAcoumI.js";
|
|
15
15
|
import { r as VERSION } from "./env-vars-DM119fhK.js";
|
|
16
16
|
import "./registry-CUyWRciN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
18
18
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CKAn7Lf7.js";
|
|
19
|
-
import "./chrome-
|
|
19
|
+
import "./chrome-DzGCPEQK.js";
|
|
20
20
|
import "./tailscale-OcOGSzmc.js";
|
|
21
|
-
import "./tailnet-
|
|
22
|
-
import "./ws-
|
|
23
|
-
import "./auth-
|
|
24
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
25
|
-
import "./path-alias-guards-
|
|
26
|
-
import "./paths-
|
|
21
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
22
|
+
import "./ws-DKbBt0us.js";
|
|
23
|
+
import "./auth-Co2g3d8d.js";
|
|
24
|
+
import { i as resolveBrowserConfig } from "./server-context-DWxmyV-0.js";
|
|
25
|
+
import "./path-alias-guards-DWh6tSaP.js";
|
|
26
|
+
import "./paths-AxolTUEH.js";
|
|
27
27
|
import "./redact-Bf_pxORb.js";
|
|
28
28
|
import "./errors-D5pCqwf4.js";
|
|
29
|
-
import "./fs-safe-
|
|
30
|
-
import "./proxy-env-
|
|
31
|
-
import { c as detectMime } from "./image-ops-
|
|
32
|
-
import "./store-
|
|
33
|
-
import "./ports-
|
|
29
|
+
import "./fs-safe-p5lyYI__.js";
|
|
30
|
+
import "./proxy-env-ClbXa7vn.js";
|
|
31
|
+
import { c as detectMime } from "./image-ops-BAMcbVMS.js";
|
|
32
|
+
import "./store-B-nkOSsv.js";
|
|
33
|
+
import "./ports-DppAHKM-.js";
|
|
34
34
|
import "./trash-Cq4N8bvb.js";
|
|
35
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
35
|
+
import { r as writeJsonAtomic } from "./json-files-bJqSYqgg.js";
|
|
36
36
|
import "./logging-Dn5qdhsZ.js";
|
|
37
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
37
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-B91adiXh.js";
|
|
38
38
|
import "./pairing-token-QppPqMJU.js";
|
|
39
39
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-C23wqMXV.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
42
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CGVHz3PX.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-D7olAQMf.js";
|
|
42
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-C3OIMtEu.js";
|
|
43
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-tSH4Tex_.js";
|
|
44
44
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
45
45
|
import { t as formatHelpExamples } from "./help-format-DUJs-8Xi.js";
|
|
46
|
-
import "./server-lifecycle-
|
|
46
|
+
import "./server-lifecycle-B7aXKxY3.js";
|
|
47
47
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-DywKPp3i.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-DzEqwLCq.js";
|
|
49
49
|
import "./runtime-guard-p6l4jDOj.js";
|
|
50
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
50
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CMWYg4_W.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-DJ5Red-Q.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-DqxfCr8y.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-Bqse41aA.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-D40Qx3hg.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-DEJJlpU0.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-CGOhd32j.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-6W3vqgVv.js";
|
|
59
59
|
import fs from "node:fs";
|
|
60
60
|
import path from "node:path";
|
|
61
|
-
import
|
|
61
|
+
import fs$1 from "node:fs/promises";
|
|
62
62
|
import { spawn, spawnSync } from "node:child_process";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fs$1.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-B91adiXh.js";
|
|
2
2
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-CGOhd32j.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-DywKPp3i.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-DqxfCr8y.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { f as isRich, p as theme } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { S as shortenHomePath, x as shortenHomeInString } from "./utils-CP51tiAi.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BT74-yyS.js";
|
|
6
|
-
import "./workspace-
|
|
6
|
+
import "./workspace-CRdln__H.js";
|
|
7
7
|
import "./logger-D04dg4Ex.js";
|
|
8
8
|
import "./exec-BdDcFm8M.js";
|
|
9
|
-
import { Wt as loadConfig, _n as parseDurationMs } from "./model-selection-
|
|
9
|
+
import { Wt as loadConfig, _n as parseDurationMs } from "./model-selection-xdfZxwgB.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-
|
|
16
|
+
import "./manifest-registry-B_U2pKBU.js";
|
|
17
17
|
import "./message-channel-CKAn7Lf7.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import "./ws-
|
|
18
|
+
import "./tailnet-BYBKD8Kh.js";
|
|
19
|
+
import "./ws-DKbBt0us.js";
|
|
20
20
|
import "./redact-Bf_pxORb.js";
|
|
21
21
|
import "./errors-D5pCqwf4.js";
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./fetch-guard-
|
|
24
|
-
import "./client-
|
|
25
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
22
|
+
import "./proxy-env-ClbXa7vn.js";
|
|
23
|
+
import "./fetch-guard-D6eclxeP.js";
|
|
24
|
+
import "./client-B91adiXh.js";
|
|
25
|
+
import { a as randomIdempotencyKey } from "./call-BGZQEHL4.js";
|
|
26
26
|
import "./pairing-token-QppPqMJU.js";
|
|
27
27
|
import { n as formatTimeAgo } from "./format-relative-BjGzUS9-.js";
|
|
28
28
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-C23wqMXV.js";
|
|
29
|
-
import "./exec-approvals-allowlist-
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
29
|
+
import "./exec-approvals-allowlist-CGVHz3PX.js";
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-Dptoharj.js";
|
|
31
|
+
import "./system-run-command-C3OIMtEu.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-CXl-eFVM.js";
|
|
33
33
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
34
34
|
import { n as runCommandWithRuntime } from "./cli-utils-BKqG4ZT-.js";
|
|
@@ -36,8 +36,8 @@ import { t as formatHelpExamples } from "./help-format-DUJs-8Xi.js";
|
|
|
36
36
|
import "./progress-86COuAnG.js";
|
|
37
37
|
import { t as parseTimeoutMs } from "./parse-timeout-CUbpb4wv.js";
|
|
38
38
|
import { t as renderTable } from "./table-DZBPnHSy.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-9jE_1PW0.js";
|
|
40
|
+
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { S as resolveCliName } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-uLeGcRW1.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-BiAcoumI.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-ClbXa7vn.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-D6eclxeP.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-C3OIMtEu.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import * as path$1 from "node:path";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-CSqVUjL8.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fs.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fs.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fs.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fs.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-
|
|
2
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-D8Yu6-Ie.js";
|
|
2
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { Wt as loadConfig } from "./model-selection-
|
|
6
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-CRdln__H.js";
|
|
5
|
+
import { Wt as loadConfig } from "./model-selection-xdfZxwgB.js";
|
|
6
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-Byr0kgft.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/status.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BYr-iJJ9.js";
|
|
2
2
|
import { y as resolveUserPath } from "./utils-CP51tiAi.js";
|
|
3
3
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-BT74-yyS.js";
|
|
4
|
-
import { Kt as readConfigFileSnapshot, Xt as writeConfigFile } from "./model-selection-
|
|
4
|
+
import { Kt as readConfigFileSnapshot, Xt as writeConfigFile } from "./model-selection-xdfZxwgB.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-B1AEo6oL.js";
|
|
7
7
|
import { t as assertSupportedRuntime } from "./runtime-guard-p6l4jDOj.js";
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-CgCD3NZ8.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D8xmnSd2.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-BvdtFAPe.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-yFV4aFrN.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Dqir0v9m.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-3n3w_Lvm.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-BamWYpsc.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-DsJ0L8HP.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-Du8dO3vn.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -8,7 +8,7 @@ import { t as WizardCancelledError } from "./prompts-CbZZ91V9.js";
|
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-B2lC_BWr.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-lQH3Hjre.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BPrEIqYI.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-BAaREMfO.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-DsLC1iR-.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-AoFLWxQT.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D6N2g-IY.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CP51tiAi.js";
|
|
3
|
-
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-D8Yu6-Ie.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
|
|
6
6
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-C9z4VQtw.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-BdDcFm8M.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DBmYTAza.js";
|
|
9
9
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-CUyWRciN.js";
|
|
10
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
11
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-
|
|
12
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
13
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
14
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
10
|
+
import { ut as normalizeDiscordSlug } from "./send-ByUfPpKj.js";
|
|
11
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-CKWxMohB.js";
|
|
12
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-D5DQlttG.js";
|
|
13
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-DKvlV3Tm.js";
|
|
14
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-jPPbCJns.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-D1WySsnE.js";
|
|
16
|
+
import { s as normalizeIMessageHandle } from "./send-BntubUtK.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-B1AEo6oL.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-CM7pO4C5.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-B2B75WGK.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-Bqn8t5g9.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-CRdLvaOQ.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D0Q6sarx.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-CJ75JA5u.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-CSqVUjL8.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-BXOZ3DXs.js";
|
|
26
26
|
import fs, { createWriteStream } from "node:fs";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import path from "node:path";
|
|
29
|
-
import
|
|
29
|
+
import fs$1 from "node:fs/promises";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
import { request } from "node:https";
|
|
32
32
|
|
|
@@ -1051,7 +1051,7 @@ async function findSignalCliBinary(root) {
|
|
|
1051
1051
|
const candidates = [];
|
|
1052
1052
|
const enqueue = async (dir, depth) => {
|
|
1053
1053
|
if (depth > 3) return;
|
|
1054
|
-
const entries = await
|
|
1054
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1055
1055
|
for (const entry of entries) {
|
|
1056
1056
|
const full = path.join(dir, entry.name);
|
|
1057
1057
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1072,7 +1072,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1072
1072
|
const prefix = result.stdout.trim();
|
|
1073
1073
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1074
1074
|
try {
|
|
1075
|
-
await
|
|
1075
|
+
await fs$1.access(candidate);
|
|
1076
1076
|
return candidate;
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return findSignalCliBinary(prefix);
|
|
@@ -1128,12 +1128,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1128
1128
|
ok: false,
|
|
1129
1129
|
error: "No compatible release asset found for this platform."
|
|
1130
1130
|
};
|
|
1131
|
-
const tmpDir = await
|
|
1131
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1132
1132
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1133
1133
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1134
1134
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1135
1135
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1136
|
-
await
|
|
1136
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1137
1137
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1138
1138
|
ok: false,
|
|
1139
1139
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1152,7 +1152,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1152
1152
|
ok: false,
|
|
1153
1153
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1154
1154
|
};
|
|
1155
|
-
await
|
|
1155
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1156
1156
|
return {
|
|
1157
1157
|
ok: true,
|
|
1158
1158
|
cliPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ti as normalizeSecretInput, c as modelKey } from "./model-selection-
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
4
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { Ti as normalizeSecretInput, c as modelKey } from "./model-selection-xdfZxwgB.js";
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-CBRRhb95.js";
|
|
4
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-CQLQ5Tuk.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
7
7
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ai as isSecretRef, Pi as DEFAULT_PROVIDER, c as modelKey, r as buildModelAliasIndex, wi as normalizeOptionalSecretInput } from "./model-selection-
|
|
1
|
+
import { Ai as isSecretRef, Pi as DEFAULT_PROVIDER, c as modelKey, r as buildModelAliasIndex, wi as normalizeOptionalSecretInput } from "./model-selection-xdfZxwgB.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-DkT3EnRA.js";
|
|
3
3
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-BNuaId5E.js";
|
|
4
|
-
import { c as normalizeAlias } from "./shared-
|
|
4
|
+
import { c as normalizeAlias } from "./shared-CgFPGTLU.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|
|
7
7
|
const DEFAULT_CONTEXT_WINDOW = CONTEXT_WINDOW_HARD_MIN_TOKENS;
|