@bitseek/claw 1.3.10-beta.2 → 1.3.10
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-CuCtdH3C.js → accounts-C9SoQRlD.js} +1 -1
- package/dist/{accounts-Cz3RQNdH.js → accounts-MEuVJDoB.js} +1 -1
- package/dist/{accounts-CAdzApsy.js → accounts-UZBaDk40.js} +7 -7
- package/dist/{acp-cli-Cpn_hxPA.js → acp-cli-KBNX_uXy.js} +8 -8
- package/dist/{agent-scope-BSkZamWK.js → agent-scope-YUWhK3d-.js} +1 -1
- package/dist/{agents-CTTYn76G.js → agents-CSco3QCV.js} +15 -15
- package/dist/{agents.config-P4PAeT4_.js → agents.config-LYVTdqX3.js} +2 -2
- package/dist/{api-key-rotation-KLYtCoCN.js → api-key-rotation-D7ptHGeX.js} +1 -1
- package/dist/{audio-preflight-B1d3Otlb.js → audio-preflight-0cqr2ck2.js} +36 -36
- package/dist/{audio-transcription-runner-BEtb5Jme.js → audio-transcription-runner--RGWC8nR.js} +22 -22
- package/dist/{audit-DG0miQ3A.js → audit-l_hNB_7d.js} +29 -29
- package/dist/{auth-CVxYkRFJ.js → auth-DeS7F6Hd.js} +1 -1
- package/dist/{auth-choice-CV8rLyb8.js → auth-choice-DzsegmXk.js} +12 -12
- package/dist/{auth-choice-Cmq6GQD8.js → auth-choice-jr1JhZAd.js} +14 -14
- package/dist/{auth-choice.apply-helpers-CDB_05Fx.js → auth-choice.apply-helpers-Cjj-3bz6.js} +1 -1
- package/dist/{auth-profiles-DNfjfFON.js → auth-profiles-Dgxwr8Sa.js} +16 -16
- package/dist/{auth-token-CBowgXcm.js → auth-token-BYBDbosA.js} +1 -1
- package/dist/{banner-CzgAzM1q.js → banner-CZb1jHEj.js} +2 -2
- package/dist/{bindings-B8U0BrYk.js → bindings-BDScuSfd.js} +1 -1
- package/dist/{bonjour-discovery-CvAov_o2.js → bonjour-discovery-Cr9ghR-L.js} +1 -1
- package/dist/{browser-cli-CBBjI2Mu.js → browser-cli-DtLO_KqJ.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-Da49LtVk.js → call-BxxjyXST.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-8QkfoueX.js → channel-account-context-D__SZrX3.js} +5 -5
- package/dist/{channel-options-CiMiQ1Q5.js → channel-options-BpjOUwv4.js} +3 -3
- package/dist/{channel-selection-BuY5iEbg.js → channel-selection-ZJlD8RW_.js} +1 -1
- package/dist/{channel-web-DNpAAGVd.js → channel-web-Cv_ZFOZJ.js} +18 -18
- package/dist/{channels-cli-DxMc7DH5.js → channels-cli-C8u7RwGw.js} +95 -95
- package/dist/{channels-status-issues-C3zPqi31.js → channels-status-issues-Ccr7cxgt.js} +1 -1
- package/dist/{chrome-BosxOvwr.js → chrome-F8yPeLCk.js} +4 -4
- package/dist/{clawbot-cli-Cq5MLCVY.js → clawbot-cli-CFFhJyHO.js} +5 -5
- package/dist/{cli-BN9QyJ2t.js → cli-Bte8NFEF.js} +76 -76
- package/dist/{client-CbO7FTeL.js → client-Ct3INy6Q.js} +2 -2
- package/dist/{command-registry-CZeXdavX.js → command-registry-C7RGVIsP.js} +13 -13
- package/dist/{commands-pIMTT07J.js → commands-NkZDaV9a.js} +1 -1
- package/dist/{commands-registry-DsvOsTTF.js → commands-registry-BEOnewEO.js} +3 -3
- package/dist/{completion-cli-CtFPrLVk.js → completion-cli-D9Bs9sNg.js} +13 -13
- package/dist/{config-cli-CFOqOvdY.js → config-cli-BgT87I31.js} +7 -7
- package/dist/{config-guard-_F29cfDV.js → config-guard-B9fTWjXL.js} +3 -3
- package/dist/{config-validation-DJiuTGa9.js → config-validation-CA4J--dN.js} +3 -3
- package/dist/{configure-u6SJdWUT.js → configure-DIknS6D2.js} +17 -17
- package/dist/control-ui/assets/index-BX-BH831.js.map +1 -1
- package/dist/{control-ui-assets-CWYG-y7n.js → control-ui-assets-hAbiBedq.js} +1 -1
- package/dist/{cron-cli-9N0CgRKB.js → cron-cli-DXGeT8Mw.js} +12 -12
- package/dist/{daemon-cli-BMq2D7sp.js → daemon-cli-CYtFdzXW.js} +15 -15
- package/dist/{daemon-install-C570xWh0.js → daemon-install-BmfoXdXy.js} +4 -4
- package/dist/{daemon-install-helpers-BHTLKVCH.js → daemon-install-helpers-BsUgG6nU.js} +11 -11
- package/dist/{dashboard-ChRtpalJ.js → dashboard-BzxWDKE9.js} +2 -2
- package/dist/{deliver-BCX2HRzP.js → deliver-DkGKUNSW.js} +7 -7
- package/dist/{devices-cli-BRo35VQ8.js → devices-cli-BMNzYzfw.js} +8 -8
- package/dist/{diagnostic-CgNDbdut.js → diagnostic-BS_rmYNQ.js} +1 -1
- package/dist/{diagnostics-DFZTmuFB.js → diagnostics-DCUyr8cM.js} +5 -5
- package/dist/{directory-cli-BKfV5rcs.js → directory-cli-CRSmIysH.js} +8 -8
- package/dist/{dns-cli--O5ugFD3.js → dns-cli-CSAjz7bt.js} +5 -5
- package/dist/{dock-Cki7hMDN.js → dock-CslXtXH_.js} +4 -4
- package/dist/{docs-cli-o8TMQTn6.js → docs-cli-BRb3xAC4.js} +4 -4
- package/dist/{doctor-completion-DdOKH1q8.js → doctor-completion-59O1eGAD.js} +2 -2
- package/dist/{doctor-config-flow-C2SyrY1V.js → doctor-config-flow-BEveSr6U.js} +15 -15
- package/dist/{enable-mI_Pnmyk.js → enable-rsx0VIgO.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-Bdtmhwgj.js → exec-approvals-allowlist-Dgb12MXc.js} +1 -1
- package/dist/{exec-approvals-cli-U6R3GXsh.js → exec-approvals-cli-CoxiMlt5.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DfgvmbZG.js → exec-safe-bin-runtime-policy-BfybDm-q.js} +2 -2
- package/dist/{fetch-Dp9uG2qN.js → fetch-BZWXCGP2.js} +3 -3
- package/dist/{fetch-guard-ClzGpvFK.js → fetch-guard-BplMfPrm.js} +1 -1
- package/dist/{fs-safe-BtSQvuQn.js → fs-safe-nXGqHBF8.js} +24 -24
- package/dist/{gateway-cli-D6K1V3Bk.js → gateway-cli-DneVvyuB.js} +161 -161
- package/dist/{gateway-rpc-ByQgck-k.js → gateway-rpc-DSDDTb9T.js} +1 -1
- package/dist/{health-CgHjmUFQ.js → health-BPybWGw9.js} +14 -14
- package/dist/{hooks-cli-BqCZdnvb.js → hooks-cli-f7lcBr1x.js} +84 -84
- package/dist/{hooks-status-DLAFiQoD.js → hooks-status-DC5Ls265.js} +1 -1
- package/dist/{image-CrLgaJde.js → image-BsWoO0mu.js} +5 -5
- package/dist/{plugin-sdk/image-ops-DgyVTXxr.js → image-ops-_2-6WZ4r.js} +1 -1
- package/dist/{inspect-BB0gFSLo.js → inspect-DRNo1VIP.js} +4 -4
- package/dist/{install-safe-path-CSglDbi-.js → install-safe-path-DBJEsbCp.js} +25 -25
- package/dist/{installs-D6ND4ZY7.js → installs-B2Z4DyUY.js} +9 -9
- package/dist/{ipv4-Dw9v4ItT.js → ipv4-BMbKD3zl.js} +1 -1
- package/dist/{ir-Bov3hbIf.js → ir-DaZ8ITYK.js} +6 -6
- package/dist/{issue-format-Bnj64obT.js → issue-format-BK98Hpx-.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-_8xJF_9z.js → lifecycle-core-BrIHPmUB.js} +5 -5
- package/dist/{login-D-Js3AvX.js → login--V3ibRWJ.js} +3 -3
- package/dist/{login-qr-DzUhzJq4.js → login-qr-TavUzvgE.js} +6 -6
- package/dist/{logs-cli-DVtjPLN7.js → logs-cli-Dsmur7V7.js} +9 -9
- package/dist/{manager-ZjJ9M2x6.js → manager-B74jUC6O.js} +14 -14
- package/dist/{manifest-registry-InPIGvqe.js → manifest-registry-D1Y5hoq2.js} +1 -1
- package/dist/{markdown-tables-DoeNp6Yw.js → markdown-tables-BDe192Ai.js} +1 -1
- package/dist/{memory-cli-C0hNuh-t.js → memory-cli-BMul3CV1.js} +12 -12
- package/dist/{model-Cun06SAF.js → model-BUgU1YvD.js} +2 -2
- package/dist/{model-catalog-BoIN1v0Q.js → model-catalog-D4hoiCav.js} +3 -3
- package/dist/{model-picker-HEDcBXIB.js → model-picker-C52jOYls.js} +4 -4
- package/dist/{models-Xv17f3vZ.js → models-DpcOB3vj.js} +18 -18
- package/dist/{models-cli-BXyi6SWU.js → models-cli-Bi4rH3wA.js} +81 -81
- package/dist/{models-config-BjTFyv9Z.js → models-config-BUq1pLs3.js} +6 -6
- package/dist/{net-Dsab06Rf.js → net-B1yWST2Q.js} +2 -2
- package/dist/{node-cli-B15fr-qS.js → node-cli-CP6SmQRY.js} +33 -33
- package/dist/{node-command-policy-CtLbfZ7S.js → node-command-policy-DDNdYXwK.js} +1 -1
- package/dist/{node-service-Dc_k2bXh.js → node-service-BNRDY7GU.js} +1 -1
- package/dist/{nodes-cli-DxNXbAjA.js → nodes-cli-Bl9i1yqi.js} +16 -16
- package/dist/{nodes-screen-BfHQppAv.js → nodes-screen-9RT6NG41.js} +7 -7
- package/dist/{npm-pack-install-BAwUbntz.js → npm-pack-install-dRUKCY1x.js} +18 -18
- package/dist/{npm-resolution-BAviHHRA.js → npm-resolution-Dlw89aWh.js} +5 -5
- package/dist/{onboard-RamoqBQh.js → onboard-B45AuSWn.js} +6 -6
- package/dist/{onboard-channels-xMJXbWfp.js → onboard-channels-Dmrl0eA6.js} +20 -20
- package/dist/{onboard-custom-Bdm0AEOf.js → onboard-custom-CtmSA7Ih.js} +3 -3
- package/dist/{onboard-custom.shared-BJ1NdBPQ.js → onboard-custom.shared-DGA1AopE.js} +2 -2
- package/dist/{onboard-helpers-BS_bPZKe.js → onboard-helpers-D37MuS-y.js} +11 -11
- package/dist/{onboard-hooks-BKIWvalG.js → onboard-hooks-kJZEQTda.js} +4 -4
- package/dist/{onboard-remote-St2_FGbe.js → onboard-remote-C03eTxXO.js} +3 -3
- package/dist/{onboard-skills-m9oH0mp4.js → onboard-skills-VGug58zB.js} +4 -4
- package/dist/{onboarding-I5wAbpKA.js → onboarding-ZExAuMgK.js} +13 -13
- package/dist/{onboarding.finalize-Dvd8Uqat.js → onboarding.finalize-DyZzlCN9.js} +89 -89
- package/dist/{onboarding.gateway-config-BZkfmBr7.js → onboarding.gateway-config-33VygMXh.js} +18 -18
- package/dist/{openai-model-default-Dbn33YX3.js → openai-model-default-DYxdi5ZX.js} +2 -2
- package/dist/{outbound-SGcz-hQs.js → outbound-DhEQ9Uxy.js} +4 -4
- package/dist/{outbound-attachment-BLl9Vid0.js → outbound-attachment-Dhx3-Gcn.js} +2 -2
- package/dist/{pairing-cli-6-9woWGC.js → pairing-cli-CvCRXsUM.js} +9 -9
- package/dist/{pairing-labels-RbKVJQq5.js → pairing-labels-BUGAt7vg.js} +1 -1
- package/dist/{pairing-store-BBxShFYa.js → pairing-store-B27cuhBQ.js} +3 -3
- package/dist/{path-alias-guards-DCVgvjo3.js → path-alias-guards-BQRm9WIp.js} +3 -3
- package/dist/{path-safety-DmE3pKqe.js → path-safety-DDHmx5YW.js} +1 -1
- package/dist/{paths-ufuDrRZO.js → paths-B0fezTQW.js} +9 -9
- package/dist/{pi-embedded-helpers-YXFiUfat.js → pi-embedded-helpers-CrqtHYYD.js} +6 -6
- package/dist/{pi-model-discovery-BnW942uP.js → pi-model-discovery-P149vq2k.js} +1 -1
- package/dist/{pi-tools.policy-ClPMGEq4.js → pi-tools.policy-DwPGGCBG.js} +5 -5
- package/dist/{plugin-auto-enable-MtcFdE6T.js → plugin-auto-enable-C4EhTu_y.js} +3 -3
- package/dist/{plugin-registry-BlrQgW0D.js → plugin-registry-D8mx10Uh.js} +3 -3
- package/dist/plugin-sdk/{accounts-B0MGFQ0N.js → accounts-CK8a9UID.js} +1 -1
- package/dist/plugin-sdk/{accounts-CtdUkArQ.js → accounts-CS3X-w75.js} +1 -1
- package/dist/plugin-sdk/{accounts-C6gCLKxD.js → accounts-lwmUYGUE.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B4jWKHgp.js → active-listener-BWmkk9uJ.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-C86F9PtR.js → agent-scope-hbikmG29.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-Ckeuk7ma.js → api-key-rotation-CRkGVkaE.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-bn_-lI6T.js → audio-preflight-DbFTsm9v.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-B7Y82C4Z.js → audio-transcription-runner-BP6ArtIg.js} +10 -10
- package/dist/plugin-sdk/{bindings-ChmACL7A.js → bindings-nNuMY2YM.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-BmpQZg2e.js → channel-activity-Bqbt4eXH.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DWi8zvvE.js → channel-web-DugGqCi6.js} +23 -23
- package/dist/plugin-sdk/{chrome-DuBOBfOM.js → chrome-2cewsnu1.js} +7 -7
- package/dist/plugin-sdk/{chunk-C0X4iaGn.js → chunk-BYCmTLPZ.js} +1 -1
- package/dist/plugin-sdk/{command-format-CElfSn4A.js → command-format-BlehDg53.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B1R1u0Ef.js → commands-registry-BOYYhfZ3.js} +5 -5
- package/dist/plugin-sdk/{config-BIceFM4q.js → config-QlwvRinO.js} +10 -10
- package/dist/plugin-sdk/{deliver-B8tQybg3.js → deliver-DjyqqLGN.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BbwhaVH5.js → diagnostic-Qi8YtEBS.js} +2 -2
- package/dist/plugin-sdk/{dock-ofKZIPvX.js → dock-kzzjqc23.js} +6 -6
- package/dist/plugin-sdk/{errors-D1n_xg5Q.js → errors-DVIIAWgf.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-JfIUTAXW.js → fetch-guard-DBpNRDsE.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-C32W4lb9.js → fs-safe-m9IoJqSI.js} +3 -3
- package/dist/plugin-sdk/{image-C6HhIJq-.js → image-B73NNIZF.js} +6 -6
- package/dist/{image-ops-Cv4BHtyC.js → plugin-sdk/image-ops-DZf5e0hi.js} +11 -11
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-CUJX2XmF.js → ir-DqRMrArF.js} +6 -6
- package/dist/plugin-sdk/{local-roots-PQBdjF5V.js → local-roots-D45XofHa.js} +4 -4
- package/dist/plugin-sdk/{logger-BnDVA5Pn.js → logger-DfvFauG1.js} +1 -1
- package/dist/plugin-sdk/{login-fF45LyM7.js → login-jCR1wiz5.js} +6 -6
- package/dist/plugin-sdk/{login-qr-IMrHS0CU.js → login-qr-yj8Ns7nC.js} +9 -9
- package/dist/plugin-sdk/{manager-B0SAEWzU.js → manager-Cm_A6m9L.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BTRy5g54.js → markdown-tables-CBEW0AEz.js} +1 -1
- package/dist/plugin-sdk/{message-channel-BBGSgNfZ.js → message-channel-CettmQxR.js} +1 -1
- package/dist/plugin-sdk/{outbound-CsQhMb1t.js → outbound-Bciu0j21.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-PV4MNgO7.js → outbound-attachment-JlTOABiQ.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CtvHdXkF.js → path-alias-guards-DJzjOH6k.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BHnEYKw0.js → pi-embedded-helpers-Cb9NLnv7.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-CeMr9qlX.js → pi-model-discovery-D69omnZ4.js} +1 -1
- package/dist/plugin-sdk/{plugins-DoosFTlv.js → plugins-PXEjTi0a.js} +6 -6
- package/dist/plugin-sdk/{proxy-BC7TfAei.js → proxy-BJHqiC33.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-D7xNZwMz.js → proxy-fetch-nIK8JZcG.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-COCVSS3S.js → pw-ai-BYRY2b8b.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-Dy2i7Yk2.js → qmd-manager-BDZK_TQ2.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-Ce600EN-.js → query-expansion-BbG3wPsu.js} +2 -2
- package/dist/plugin-sdk/{redact-DR57Khnb.js → redact-CJpp3pJZ.js} +1 -1
- package/dist/plugin-sdk/{registry-CoOCMLwt.js → registry-DZtlIW2B.js} +2 -2
- package/dist/plugin-sdk/{replies-DrAmBEev.js → replies-EKccD3Vq.js} +3 -3
- package/dist/plugin-sdk/{reply-UD3RANYz.js → reply-BetOKhtK.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-S61xcDq5.js → reply-prefix-DSjz9ex2.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CHbuy5MW.js → resolve-outbound-target-BWnhQoZm.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-D17tpQod.js → resolve-route-f4hKLSdv.js} +4 -4
- package/dist/plugin-sdk/{retry-BCP_IcXF.js → retry-WkwmuOq5.js} +1 -1
- package/dist/plugin-sdk/{send-4oPoqu-k.js → send-By6LXMdT.js} +8 -8
- package/dist/plugin-sdk/{send-DXz49rIh.js → send-CLmu_bs1.js} +6 -6
- package/dist/plugin-sdk/{send-B-OjHj4t.js → send-D6q7DSEd.js} +7 -7
- package/dist/plugin-sdk/{send-DfA6vCVP.js → send-DVH_jqoJ.js} +15 -15
- package/dist/plugin-sdk/{send-BnUKf8wg.js → send-wah5ag3x.js} +10 -10
- package/dist/plugin-sdk/{session-B_TxDBeW.js → session-BfaJDj55.js} +5 -5
- package/dist/plugin-sdk/{session-meta-Cs9Hy3rA.js → session-meta-CtcszwHp.js} +1 -1
- package/dist/plugin-sdk/{sessions-D0O4NXJE.js → sessions-CCrnhL0f.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-Cq3lRmFA.js → skill-commands-BbZ5VC2j.js} +5 -5
- package/dist/plugin-sdk/{skills-CKk6dkB7.js → skills-DhjFSX9k.js} +8 -8
- package/dist/plugin-sdk/{ssrf-DWKS2l1Z.js → ssrf-yJVFBwP_.js} +1 -1
- package/dist/plugin-sdk/{store-D-KJbO1K.js → store-B49PVNHw.js} +2 -2
- package/dist/plugin-sdk/{subsystem-BOTkxxI1.js → subsystem-BSS_Lti_.js} +2 -2
- package/dist/plugin-sdk/{tables-iAM0v6UL.js → tables-B2ndgibI.js} +1 -1
- package/dist/plugin-sdk/{target-errors-Di5oh5b0.js → target-errors-3PJA_VbO.js} +2 -2
- package/dist/plugin-sdk/{tokens-DUELMaP-.js → tokens-CYf5ZhLm.js} +1 -1
- package/dist/plugin-sdk/{tool-images-4TDsVJHN.js → tool-images-DzNHghBZ.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BooG-g5v.js → tool-loop-detection-paUegJmP.js} +2 -2
- package/dist/plugin-sdk/{utils-B7zMI7Td.js → utils-DaD2HGTy.js} +1 -1
- package/dist/plugin-sdk/web-C_bWyLWF.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CntfyIDF.js → whatsapp-actions-fOVsMKWU.js} +25 -25
- package/dist/{plugins-B9LVNfXo.js → plugins-DPspmGax.js} +2 -2
- package/dist/{plugins-cli-Dowiu6KT.js → plugins-cli-CL2MrWZt.js} +86 -86
- package/dist/{ports-TfIbPY8z.js → ports-BNwHSlzK.js} +1 -1
- package/dist/{ports-BKC_uvax.js → ports-Do_Plo8C.js} +2 -2
- package/dist/{program-BA-5175y.js → program-DIvdihfF.js} +84 -84
- package/dist/{prompt-select-styled-BcZ8H5DI.js → prompt-select-styled-Do1qynXW.js} +39 -39
- package/dist/{provider-auth-helpers-Bu2aZSnq.js → provider-auth-helpers-59RRb092.js} +5 -5
- package/dist/{proxy-env-DQluNeAy.js → proxy-env-B9lqcBfU.js} +1 -1
- package/dist/{push-apns-8_4x3QDX.js → push-apns-BK4xHeAC.js} +5 -5
- package/dist/{pw-ai-CgRxvnyo.js → pw-ai-B4CY-RXZ.js} +15 -15
- package/dist/{qmd-manager-ZEPpjdm5.js → qmd-manager-CoaYK3NS.js} +20 -20
- package/dist/{qr-cli-UOH4AqoB.js → qr-cli-tns16Dij.js} +1 -1
- package/dist/{query-expansion-DmsmrMjB.js → query-expansion-BOhTMSRT.js} +12 -12
- package/dist/{redact-snapshot-BGusjTY9.js → redact-snapshot-Cx6qYiIY.js} +1 -1
- package/dist/{register.agent-CHE7Qalv.js → register.agent-K6fKhk-d.js} +97 -97
- package/dist/register.configure-CCQ90-H1.js +175 -0
- package/dist/{register.init-DY3iSz8Y.js → register.init-B2cwbe39.js} +16 -16
- package/dist/{register.maintenance-yrpKG5iB.js → register.maintenance-DT2aoHXy.js} +99 -99
- package/dist/{register.message-DH4rUSVi.js → register.message-BLhsi48W.js} +77 -77
- package/dist/{register.onboard-maBvm3Rf.js → register.onboard-pMGHuLqk.js} +18 -18
- package/dist/{register.setup-igARJvnk.js → register.setup-CP__vdzh.js} +21 -21
- package/dist/{register.start-nNZtIOVx.js → register.start-CZMSVRfr.js} +17 -17
- package/dist/{register.status-health-sessions-TaLuKSkg.js → register.status-health-sessions-Dr1-y3qs.js} +91 -91
- package/dist/{register.subclis-DscBnK86.js → register.subclis-B9f3-nRB.js} +31 -31
- package/dist/{replies-Cnwwqegi.js → replies-9B0e_W0H.js} +1 -1
- package/dist/{reply-prefix-BwXX5Jk8.js → reply-prefix-CqTNlEbX.js} +1 -1
- package/dist/{resolve-route-BAFZr0AD.js → resolve-route-rhGDrrKc.js} +2 -2
- package/dist/{rpc-CeTMYkun.js → rpc-CclOFzPV.js} +1 -1
- package/dist/{run-main-w6C2SiYG.js → run-main-B6QZLb6Z.js} +95 -95
- package/dist/{runtime-uZw9qW6d.js → runtime-vnX4kz3-.js} +2 -2
- package/dist/{sandbox-GZ80o0rN.js → sandbox-ClasEjRW.js} +18 -18
- package/dist/{sandbox-cli-BdzWh2X7.js → sandbox-cli-BxLxr8Ov.js} +26 -26
- package/dist/{secrets-cli-DroWvA-9.js → secrets-cli-CfmktxZw.js} +10 -10
- package/dist/{security-cli-VJf80mpc.js → security-cli-50tLKbQX.js} +43 -43
- package/dist/{send-ofq5TYCm.js → send-BLv3U-2N.js} +5 -5
- package/dist/{send-CUhKEB1L.js → send-BLyXZjPe.js} +8 -8
- package/dist/{send-B3N6ed5I.js → send-BUqXYyi5.js} +11 -11
- package/dist/{send-DyQvZx-9.js → send-CwHSY0pB.js} +6 -6
- package/dist/{send-D52tAxa7.js → send-DLfPZ3_F.js} +6 -6
- package/dist/{server-si15CkOB.js → server-BAuP980-.js} +19 -19
- package/dist/{server-context-BIKTw3k8.js → server-context-3YhieMNo.js} +12 -12
- package/dist/{server-lifecycle-N5bU8mjm.js → server-lifecycle-DE7bHlKs.js} +2 -2
- package/dist/{server-middleware-Q0-cjKBA.js → server-middleware-hZnQvs4T.js} +1 -1
- package/dist/{server-node-events-DgNEG1Jq.js → server-node-events-p6pocXHJ.js} +77 -77
- package/dist/{service-Bdwg8-MP.js → service-DdLDWk4F.js} +15 -15
- package/dist/{session-Cjlyc-CV.js → session-D8FUKdiW.js} +1 -1
- package/dist/{session-meta-Dofh28uR.js → session-meta-Cyjw6vgH.js} +1 -1
- package/dist/{session-utils-dcEiC-U5.js → session-utils-BSsFceEN.js} +6 -6
- package/dist/{sessions-DupNmVK4.js → sessions-D0PiwO3b.js} +4 -4
- package/dist/{sessions-BUvaIZVg.js → sessions-DugDYFTs.js} +15 -15
- package/dist/{shared-haEHGkpf.js → shared-D96SvIQZ.js} +3 -3
- package/dist/{shared-CDevUk3t.js → shared-fKlvovu7.js} +1 -1
- package/dist/{skill-commands-Do5yZvPn.js → skill-commands-KfP9rDJM.js} +5 -5
- package/dist/{skill-scanner-DiC9yuOY.js → skill-scanner-D7WuF5Sb.js} +6 -6
- package/dist/{skills-cQZqFYZM.js → skills-CDZAo2Sd.js} +3 -3
- package/dist/{skills-cli-BXNcPNTR.js → skills-cli-DaSd8Xc2.js} +5 -5
- package/dist/{skills-install-BASrKfvX.js → skills-install-Ba_1ws_H.js} +6 -6
- package/dist/{skills-status-DLQ7pr9r.js → skills-status-CV1r9Fs_.js} +1 -1
- package/dist/{status-EvQ73B8e.js → status-Bk0e2K3D.js} +26 -26
- package/dist/{status.update-DUDM6iUC.js → status.update-CbAiJIbB.js} +2 -2
- package/dist/{store-D1eSPAL7.js → store-GKlw8Qa-.js} +5 -5
- package/dist/{subagent-registry-DxueEkqw.js → subagent-registry-ChrhyhQ5.js} +157 -157
- package/dist/{system-cli-BXGiTYVZ.js → system-cli-BNHXiAuw.js} +9 -9
- package/dist/{system-run-command-BkdvGhnZ.js → system-run-command-Pd55ipfO.js} +1 -1
- package/dist/{systemd-CTamqs8u.js → systemd-DVgFh5bF.js} +9 -9
- package/dist/{systemd-hints-D4VSR4gB.js → systemd-hints-BC7wmmDb.js} +6 -6
- package/dist/{systemd-linger-BbxFU05t.js → systemd-linger-C0GrW0si.js} +1 -1
- package/dist/{tables-CTFvIcTQ.js → tables-B6wgQqYN.js} +1 -1
- package/dist/{tailnet-CQxQNgt6.js → tailnet-D67wyPIH.js} +1 -1
- package/dist/{target-errors-8-urss_s.js → target-errors-AeE93vdq.js} +4 -4
- package/dist/{tool-images-hL7SizLq.js → tool-images-rmLnTSxP.js} +1 -1
- package/dist/{tui-DExFltkR.js → tui-BqRCX-bp.js} +6 -6
- package/dist/{tui-cli-oM2kNbdj.js → tui-cli-Bo7syV8j.js} +33 -33
- package/dist/{update-Bifl3Vpi.js → update-BPBo5wB4.js} +3 -3
- package/dist/{update-cli-By-XQR0X.js → update-cli-Cwwll1Xd.js} +107 -107
- package/dist/{update-runner-D3Dqz9wz.js → update-runner-sLKFIJY-.js} +16 -16
- package/dist/web-Dyvr-ZYW.js +127 -0
- package/dist/{webhooks-cli-BsZ0IIku.js → webhooks-cli-Dov_rqUg.js} +6 -6
- package/dist/{whatsapp-actions-DZxeDPhI.js → whatsapp-actions-COrqjCys.js} +19 -19
- package/dist/{with-timeout-CojHmZpl.js → with-timeout-DUosdGNq.js} +3 -3
- package/dist/{workspace-BxNxoapu.js → workspace-CoIrgiMR.js} +1 -1
- package/dist/{workspace-CZCYGcgM.js → workspace-D3Bd1Wd-.js} +23 -23
- package/dist/{workspace-dirs-CksYiwHf.js → workspace-dirs-x94RXrLL.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-UMF3rhRY.js +0 -72
- package/dist/register.configure-CXDvAw-s.js +0 -175
- package/dist/web-yRXxasJ5.js +0 -127
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
2
|
-
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
2
|
+
import { b as resolveOpenClawPackageRootSync, y as resolveOpenClawPackageRoot } from "./workspace-D3Bd1Wd-.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BxfdQ5hH.js";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import path from "node:path";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-B
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import { f as sanitizeAgentId } from "./session-key-BLprDJYq.js";
|
|
8
8
|
import "./utils-Dwy0Sy1G.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
10
10
|
import "./logger-JNFFzTLe.js";
|
|
11
11
|
import "./exec-BxfdQ5hH.js";
|
|
12
12
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -14,22 +14,22 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-C4Fq5HtN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
18
18
|
import "./message-channel-DuRP9JPi.js";
|
|
19
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
20
|
-
import "./accounts-
|
|
19
|
+
import { n as listChannelPlugins } from "./plugins-DPspmGax.js";
|
|
20
|
+
import "./accounts-UZBaDk40.js";
|
|
21
21
|
import "./logging-CcxUDNcI.js";
|
|
22
|
-
import "./bindings-
|
|
23
|
-
import "./client-
|
|
24
|
-
import "./call-
|
|
22
|
+
import "./bindings-BDScuSfd.js";
|
|
23
|
+
import "./client-Ct3INy6Q.js";
|
|
24
|
+
import "./call-BxxjyXST.js";
|
|
25
25
|
import "./pairing-token-fCKTYUJ-.js";
|
|
26
|
-
import "./net-
|
|
27
|
-
import "./tailnet-
|
|
26
|
+
import "./net-B1yWST2Q.js";
|
|
27
|
+
import "./tailnet-D67wyPIH.js";
|
|
28
28
|
import { n as formatDurationHuman } from "./format-duration-BUg_QUd4.js";
|
|
29
29
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-Bi1uV655.js";
|
|
30
30
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
31
31
|
import "./progress-ctu3wJgA.js";
|
|
32
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
32
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DSDDTb9T.js";
|
|
33
33
|
import { n as parsePositiveIntOrUndefined } from "./helpers-CpIyUra4.js";
|
|
34
34
|
|
|
35
35
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -2,31 +2,31 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-BASCq52M.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-D4kNqSu9.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
5
|
-
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, j as createConfigIO } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig, P as readConfigFileSnapshot, R as writeConfigFile, j as createConfigIO } from "./auth-profiles-Dgxwr8Sa.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.js";
|
|
7
7
|
import { S as sleep, x as shortenHomePath } from "./utils-Dwy0Sy1G.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DuRP9JPi.js";
|
|
9
|
-
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-
|
|
10
|
-
import { u as resolveGatewayBindHost } from "./net-
|
|
11
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
12
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
13
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
9
|
+
import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-BxxjyXST.js";
|
|
10
|
+
import { u as resolveGatewayBindHost } from "./net-B1yWST2Q.js";
|
|
11
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-D67wyPIH.js";
|
|
12
|
+
import { a as resolveGatewayAuth } from "./auth-DeS7F6Hd.js";
|
|
13
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-Do_Plo8C.js";
|
|
14
14
|
import { t as killProcessTree } from "./kill-tree-B3qqul4J.js";
|
|
15
15
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel } from "./constants-CVdMnAs9.js";
|
|
16
|
-
import { r as isWSLEnv } from "./wsl-
|
|
17
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
16
|
+
import { r as isWSLEnv } from "./wsl-KDz114y6.js";
|
|
17
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-D37MuS-y.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
19
19
|
import { n as withProgress } from "./progress-ctu3wJgA.js";
|
|
20
20
|
import { n as inheritOptionFromParent } from "./command-options-DGYxc3D_.js";
|
|
21
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
22
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
21
|
+
import { t as formatConfigIssueLine } from "./issue-format-BK98Hpx-.js";
|
|
22
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-BsUgG6nU.js";
|
|
23
23
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
24
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
25
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
26
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
24
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DdLDWk4F.js";
|
|
25
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-BrIHPmUB.js";
|
|
26
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BC7wmmDb.js";
|
|
27
27
|
import { t as parsePort } from "./parse-port-Dq63ch6Y.js";
|
|
28
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
29
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
28
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DCUyr8cM.js";
|
|
29
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DRNo1VIP.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/daemon-cli/install.ts
|
|
32
32
|
async function runDaemonInstall(opts) {
|
|
@@ -8,12 +8,12 @@ import "./version-CGDNfh5C.js";
|
|
|
8
8
|
import "./env-vars-Dw0EwyGP.js";
|
|
9
9
|
import "./prompt-style-lCXEOxSK.js";
|
|
10
10
|
import "./note-fYPH2CN3.js";
|
|
11
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
11
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BsUgG6nU.js";
|
|
12
12
|
import "./runtime-guard-Bif49nR1.js";
|
|
13
13
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
14
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
15
|
-
import { t as resolveGatewayService } from "./service-
|
|
16
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
14
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-DVgFh5bF.js";
|
|
15
|
+
import { t as resolveGatewayService } from "./service-DdLDWk4F.js";
|
|
16
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-C0GrW0si.js";
|
|
17
17
|
|
|
18
18
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
19
19
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -8,7 +8,7 @@ import { execFile } from "node:child_process";
|
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/daemon/program-args.ts
|
|
14
14
|
async function resolveCliEntrypointPathForService() {
|
|
@@ -17,23 +17,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
17
17
|
const normalized = path.resolve(argv1);
|
|
18
18
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
19
19
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
20
|
-
await
|
|
20
|
+
await fs.access(resolvedPath);
|
|
21
21
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
22
|
-
await
|
|
22
|
+
await fs.access(normalized);
|
|
23
23
|
return normalized;
|
|
24
24
|
} catch {}
|
|
25
25
|
return resolvedPath;
|
|
26
26
|
}
|
|
27
27
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
28
28
|
for (const candidate of distCandidates) try {
|
|
29
|
-
await
|
|
29
|
+
await fs.access(candidate);
|
|
30
30
|
return candidate;
|
|
31
31
|
} catch {}
|
|
32
32
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
33
33
|
}
|
|
34
34
|
async function resolveRealpathSafe(inputPath) {
|
|
35
35
|
try {
|
|
36
|
-
return await
|
|
36
|
+
return await fs.realpath(inputPath);
|
|
37
37
|
} catch {
|
|
38
38
|
return inputPath;
|
|
39
39
|
}
|
|
@@ -93,7 +93,7 @@ async function resolveBinaryPath(binary) {
|
|
|
93
93
|
try {
|
|
94
94
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
95
95
|
if (!resolved) throw new Error("empty");
|
|
96
|
-
await
|
|
96
|
+
await fs.access(resolved);
|
|
97
97
|
return resolved;
|
|
98
98
|
} catch {
|
|
99
99
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -112,7 +112,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
112
112
|
if (params.dev) {
|
|
113
113
|
const repoRoot = resolveRepoRootForDev();
|
|
114
114
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
115
|
-
await
|
|
115
|
+
await fs.access(devCliPath);
|
|
116
116
|
return {
|
|
117
117
|
programArguments: [
|
|
118
118
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -140,7 +140,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
140
140
|
}
|
|
141
141
|
const repoRoot = resolveRepoRootForDev();
|
|
142
142
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
143
|
-
await
|
|
143
|
+
await fs.access(devCliPath);
|
|
144
144
|
if (isBunRuntime(execPath)) return {
|
|
145
145
|
programArguments: [
|
|
146
146
|
execPath,
|
|
@@ -207,13 +207,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
207
207
|
const formula = cellarMatch[2];
|
|
208
208
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
209
209
|
try {
|
|
210
|
-
await
|
|
210
|
+
await fs.access(optPath);
|
|
211
211
|
return optPath;
|
|
212
212
|
} catch {}
|
|
213
213
|
if (formula === "node") {
|
|
214
214
|
const binPath = `${prefix}/bin/node`;
|
|
215
215
|
try {
|
|
216
|
-
await
|
|
216
|
+
await fs.access(binPath);
|
|
217
217
|
return binPath;
|
|
218
218
|
} catch {}
|
|
219
219
|
}
|
|
@@ -282,7 +282,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
282
282
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
283
283
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
284
284
|
for (const candidate of candidates) try {
|
|
285
|
-
await
|
|
285
|
+
await fs.access(candidate);
|
|
286
286
|
return candidate;
|
|
287
287
|
} catch {}
|
|
288
288
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-D4kNqSu9.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
3
|
-
import { P as readConfigFileSnapshot } from "./auth-profiles-
|
|
4
|
-
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-
|
|
3
|
+
import { P as readConfigFileSnapshot } from "./auth-profiles-Dgxwr8Sa.js";
|
|
4
|
+
import { f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, o as formatControlUiSshHint } from "./onboard-helpers-D37MuS-y.js";
|
|
5
5
|
import { t as copyToClipboard } from "./clipboard-BzydORXy.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/dashboard.ts
|
|
@@ -3,15 +3,15 @@ import { a as logVerbose } from "./globals-BASCq52M.js";
|
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import { _ as normalizeOptionalAccountId, g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
5
5
|
import { E as triggerInternalHook, f as getActivePluginRegistryVersion, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-C4Fq5HtN.js";
|
|
6
|
-
import { t as getChannelDock } from "./dock-
|
|
7
|
-
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
6
|
+
import { t as getChannelDock } from "./dock-CslXtXH_.js";
|
|
7
|
+
import { F as parseInlineDirectives, i as resolveMirroredTranscriptText, r as appendAssistantMessageToSessionTranscript } from "./sessions-DugDYFTs.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DPspmGax.js";
|
|
9
9
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-COy2Fxku.js";
|
|
10
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
11
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
10
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CrqtHYYD.js";
|
|
11
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-BZWXCGP2.js";
|
|
12
12
|
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BNLlgymK.js";
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BDe192Ai.js";
|
|
14
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DLfPZ3_F.js";
|
|
15
15
|
import { i as failDelivery, r as enqueueDelivery, t as ackDelivery } from "./delivery-queue-igSkk02R.js";
|
|
16
16
|
|
|
17
17
|
//#region src/plugins/hooks.ts
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-BASCq52M.js";
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import "./utils-Dwy0Sy1G.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
9
9
|
import "./logger-JNFFzTLe.js";
|
|
10
10
|
import "./exec-BxfdQ5hH.js";
|
|
11
11
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -13,13 +13,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-C4Fq5HtN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
17
17
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DuRP9JPi.js";
|
|
18
|
-
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-
|
|
19
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import { Vt as approveDevicePairing, Wt as listDevicePairing, Xt as summarizeDeviceTokens } from "./client-Ct3INy6Q.js";
|
|
19
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BxxjyXST.js";
|
|
20
20
|
import "./pairing-token-fCKTYUJ-.js";
|
|
21
|
-
import { r as isLoopbackHost } from "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import { r as isLoopbackHost } from "./net-B1yWST2Q.js";
|
|
22
|
+
import "./tailnet-D67wyPIH.js";
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-DdvuDKIv.js";
|
|
24
24
|
import { n as withProgress } from "./progress-ctu3wJgA.js";
|
|
25
25
|
import { t as renderTable } from "./table-DHipKm5c.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
|
|
3
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { M as loadConfig } from "./auth-profiles-Dgxwr8Sa.js";
|
|
4
4
|
import { n as getDiagnosticSessionState, r as pruneDiagnosticSessionStates, t as diagnosticSessionStates } from "./diagnostic-session-state-B5Z0I32_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-DdLDWk4F.js";
|
|
2
|
+
import fs from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fs.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fs.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fs.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -2,10 +2,10 @@ import { p as theme, t as danger } from "./globals-BASCq52M.js";
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import "./utils-Dwy0Sy1G.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
9
9
|
import "./logger-JNFFzTLe.js";
|
|
10
10
|
import "./exec-BxfdQ5hH.js";
|
|
11
11
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -13,13 +13,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-C4Fq5HtN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
17
17
|
import "./message-channel-DuRP9JPi.js";
|
|
18
|
-
import { t as getChannelPlugin } from "./plugins-
|
|
19
|
-
import "./accounts-
|
|
18
|
+
import { t as getChannelPlugin } from "./plugins-DPspmGax.js";
|
|
19
|
+
import "./accounts-UZBaDk40.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import "./bindings-
|
|
22
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
21
|
+
import "./bindings-BDScuSfd.js";
|
|
22
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-ZJlD8RW_.js";
|
|
23
23
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
24
24
|
import { t as formatHelpExamples } from "./help-format-BGSdS7w4.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-BASCq52M.js";
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { M as loadConfig } from "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import "./utils-Dwy0Sy1G.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
9
9
|
import "./logger-JNFFzTLe.js";
|
|
10
10
|
import "./exec-BxfdQ5hH.js";
|
|
11
11
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -13,8 +13,8 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-C4Fq5HtN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
16
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
17
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-D67wyPIH.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
19
19
|
import { t as renderTable } from "./table-DHipKm5c.js";
|
|
20
20
|
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-CJpVMOp6.js";
|
|
@@ -2,10 +2,10 @@ import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
|
2
2
|
import { c as escapeRegExp, p as normalizeE164 } from "./utils-Dwy0Sy1G.js";
|
|
3
3
|
import { a as getChatChannelMeta, n as CHAT_CHANNEL_ORDER, p as requireActivePluginRegistry } from "./registry-C4Fq5HtN.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
5
|
-
import { C as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount, v as normalizeWhatsAppTarget } from "./plugins-
|
|
6
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
5
|
+
import { C as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount, v as normalizeWhatsAppTarget } from "./plugins-DPspmGax.js";
|
|
6
|
+
import { i as resolveWhatsAppAccount } from "./accounts-UZBaDk40.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-C9SoQRlD.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-MEuVJDoB.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|
|
@@ -4,15 +4,15 @@ import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.js";
|
|
6
6
|
import "./utils-Dwy0Sy1G.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
8
8
|
import "./logger-JNFFzTLe.js";
|
|
9
9
|
import { t as runCommandWithTimeout } from "./exec-BxfdQ5hH.js";
|
|
10
10
|
import "./host-env-security-CJMD0__Z.js";
|
|
11
11
|
import "./registry-C4Fq5HtN.js";
|
|
12
|
-
import "./manifest-registry-
|
|
12
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
13
13
|
import { d as hasBinary } from "./frontmatter-I4t5UjzX.js";
|
|
14
|
-
import "./skills-
|
|
15
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./skills-CDZAo2Sd.js";
|
|
15
|
+
import "./path-alias-guards-BQRm9WIp.js";
|
|
16
16
|
import "./redact-CYcs8rK6.js";
|
|
17
17
|
import "./errors-BMwPyScO.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as resolveCliName } from "./profile-utils-Byug_mYh.js";
|
|
2
|
-
import { y as resolveOpenClawPackageRoot } from "./workspace-
|
|
2
|
+
import { y as resolveOpenClawPackageRoot } from "./workspace-D3Bd1Wd-.js";
|
|
3
3
|
import { t as note } from "./note-fYPH2CN3.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D9Bs9sNg.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, s as resolveConfigPathCandidate, t as CONFIG_PATH } from "./paths-D4kNqSu9.js";
|
|
2
|
-
import { B as OpenClawSchema, Cn as formatSlackStreamModeMigrationMessage, Dn as resolveSlackNativeStreaming, En as resolveDiscordPreviewStreamMode, Ht as isTrustedSafeBinPath, On as resolveSlackStreamingMode, P as readConfigFileSnapshot, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, k as migrateLegacyConfig, kn as resolveTelegramPreviewStreamMode, tn as resolveCommandResolutionFromArgv, wn as formatSlackStreamingBooleanMigrationMessage } from "./auth-profiles-
|
|
2
|
+
import { B as OpenClawSchema, Cn as formatSlackStreamModeMigrationMessage, Dn as resolveSlackNativeStreaming, En as resolveDiscordPreviewStreamMode, Ht as isTrustedSafeBinPath, On as resolveSlackStreamingMode, P as readConfigFileSnapshot, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, k as migrateLegacyConfig, kn as resolveTelegramPreviewStreamMode, tn as resolveCommandResolutionFromArgv, wn as formatSlackStreamingBooleanMigrationMessage } from "./auth-profiles-Dgxwr8Sa.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.js";
|
|
4
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-YUWhK3d-.js";
|
|
5
5
|
import { c as normalizeAgentId, g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { g as resolveHomeDir, u as isRecord } from "./utils-Dwy0Sy1G.js";
|
|
7
7
|
import { l as normalizeChatChannelId } from "./registry-C4Fq5HtN.js";
|
|
8
|
-
import { f as parseToolsBySenderTypedKey } from "./dock-
|
|
9
|
-
import { Q as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-
|
|
10
|
-
import { l as resolveTelegramAccount, s as listTelegramAccountIds } from "./plugins-
|
|
11
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
12
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
13
|
-
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
8
|
+
import { f as parseToolsBySenderTypedKey } from "./dock-CslXtXH_.js";
|
|
9
|
+
import { Q as canonicalizeMainSessionAlias, l as saveSessionStore } from "./sessions-DugDYFTs.js";
|
|
10
|
+
import { l as resolveTelegramAccount, s as listTelegramAccountIds } from "./plugins-DPspmGax.js";
|
|
11
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-BfybDm-q.js";
|
|
12
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-B27cuhBQ.js";
|
|
13
|
+
import { t as applyPluginAutoEnable } from "./plugin-auto-enable-C4EhTu_y.js";
|
|
14
14
|
import { t as collectProviderDangerousNameMatchingScopes } from "./dangerous-name-matching-CAHqhE34.js";
|
|
15
15
|
import { r as shouldMoveSingleAccountChannelKey, t as fetchTelegramChatId } from "./api-gakS-kfC.js";
|
|
16
16
|
import { t as note } from "./note-fYPH2CN3.js";
|
|
17
|
-
import { t as isWithinDir } from "./path-safety-
|
|
18
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
17
|
+
import { t as isWithinDir } from "./path-safety-DDHmx5YW.js";
|
|
18
|
+
import { n as formatConfigIssueLines } from "./issue-format-BK98Hpx-.js";
|
|
19
19
|
import { a as isMattermostMutableAllowEntry, c as normalizeTelegramAllowFromEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DiZDtmlZ.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import os from "node:os";
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
|
-
import
|
|
24
|
+
import fs$1 from "node:fs/promises";
|
|
25
25
|
|
|
26
26
|
//#region src/commands/doctor-legacy-config.ts
|
|
27
27
|
function normalizeCompatibilityConfigValues(cfg) {
|
|
@@ -2109,7 +2109,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2109
2109
|
const targetPath = resolveConfigPathCandidate(process.env, () => home);
|
|
2110
2110
|
const targetDir = path.dirname(targetPath);
|
|
2111
2111
|
try {
|
|
2112
|
-
await
|
|
2112
|
+
await fs$1.access(targetPath);
|
|
2113
2113
|
return changes;
|
|
2114
2114
|
} catch {}
|
|
2115
2115
|
const legacyCandidates = [
|
|
@@ -2119,14 +2119,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2119
2119
|
];
|
|
2120
2120
|
let legacyPath = null;
|
|
2121
2121
|
for (const candidate of legacyCandidates) try {
|
|
2122
|
-
await
|
|
2122
|
+
await fs$1.access(candidate);
|
|
2123
2123
|
legacyPath = candidate;
|
|
2124
2124
|
break;
|
|
2125
2125
|
} catch {}
|
|
2126
2126
|
if (!legacyPath) return changes;
|
|
2127
|
-
await
|
|
2127
|
+
await fs$1.mkdir(targetDir, { recursive: true });
|
|
2128
2128
|
try {
|
|
2129
|
-
await
|
|
2129
|
+
await fs$1.copyFile(legacyPath, targetPath, fs$1.constants.COPYFILE_EXCL);
|
|
2130
2130
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
2131
2131
|
} catch {}
|
|
2132
2132
|
return changes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as normalizeChatChannelId } from "./registry-C4Fq5HtN.js";
|
|
2
|
-
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-
|
|
2
|
+
import { r as ensurePluginAllowlisted } from "./plugin-auto-enable-C4EhTu_y.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/toggle-config.ts
|
|
5
5
|
function setPluginEnabledInConfig(config, pluginId, enabled) {
|
package/dist/entry.js
CHANGED
|
@@ -383,7 +383,7 @@ if (!isMainModule({
|
|
|
383
383
|
}
|
|
384
384
|
function tryHandleRootHelpFastPath(argv) {
|
|
385
385
|
if (!isRootHelpInvocation(argv)) return false;
|
|
386
|
-
import("./program-
|
|
386
|
+
import("./program-DIvdihfF.js").then(({ buildProgram }) => {
|
|
387
387
|
buildProgram().outputHelp();
|
|
388
388
|
}).catch((error) => {
|
|
389
389
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -402,7 +402,7 @@ if (!isMainModule({
|
|
|
402
402
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
403
403
|
process$1.argv = parsed.argv;
|
|
404
404
|
}
|
|
405
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
405
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-B6QZLb6Z.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
406
406
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
407
407
|
process$1.exitCode = 1;
|
|
408
408
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as matchAllowlist, Gt as validateSafeBinArgv, Ht as isTrustedSafeBinPath, Qt as DEFAULT_SAFE_BINS, Yt as isWindowsPlatform, Zt as splitCommandChain, dn as unwrapKnownShellMultiplexerInvocation, en as resolveAllowlistCandidatePath, gn as SAFE_BIN_PROFILES, in as extractShellWrapperInlineCommand, on as isDispatchWrapperExecutable, qt as analyzeShellCommand, sn as isShellWrapperExecutable, tn as resolveCommandResolutionFromArgv, un as unwrapKnownDispatchWrapperInvocation } from "./auth-profiles-
|
|
1
|
+
import { $t as matchAllowlist, Gt as validateSafeBinArgv, Ht as isTrustedSafeBinPath, Qt as DEFAULT_SAFE_BINS, Yt as isWindowsPlatform, Zt as splitCommandChain, dn as unwrapKnownShellMultiplexerInvocation, en as resolveAllowlistCandidatePath, gn as SAFE_BIN_PROFILES, in as extractShellWrapperInlineCommand, on as isDispatchWrapperExecutable, qt as analyzeShellCommand, sn as isShellWrapperExecutable, tn as resolveCommandResolutionFromArgv, un as unwrapKnownDispatchWrapperInvocation } from "./auth-profiles-Dgxwr8Sa.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/exec-approvals-allowlist.ts
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-BASCq52M.js";
|
|
|
2
2
|
import "./paths-D4kNqSu9.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-Dgxwr8Sa.js";
|
|
6
|
+
import "./agent-scope-YUWhK3d-.js";
|
|
7
7
|
import "./utils-Dwy0Sy1G.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-D3Bd1Wd-.js";
|
|
9
9
|
import "./logger-JNFFzTLe.js";
|
|
10
10
|
import "./exec-BxfdQ5hH.js";
|
|
11
11
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -13,26 +13,26 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-C4Fq5HtN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-D1Y5hoq2.js";
|
|
17
17
|
import "./message-channel-DuRP9JPi.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import "./call-
|
|
18
|
+
import "./client-Ct3INy6Q.js";
|
|
19
|
+
import "./call-BxxjyXST.js";
|
|
20
20
|
import "./pairing-token-fCKTYUJ-.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
23
|
-
import "./exec-approvals-allowlist-
|
|
21
|
+
import "./net-B1yWST2Q.js";
|
|
22
|
+
import "./tailnet-D67wyPIH.js";
|
|
23
|
+
import "./exec-approvals-allowlist-Dgb12MXc.js";
|
|
24
24
|
import { n as formatTimeAgo } from "./format-relative-DdvuDKIv.js";
|
|
25
25
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-DW6bgoDc.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
27
27
|
import "./progress-ctu3wJgA.js";
|
|
28
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
29
|
-
import "./systemd-
|
|
30
|
-
import "./service-
|
|
28
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-DSDDTb9T.js";
|
|
29
|
+
import "./systemd-DVgFh5bF.js";
|
|
30
|
+
import "./service-DdLDWk4F.js";
|
|
31
31
|
import { t as renderTable } from "./table-DHipKm5c.js";
|
|
32
|
-
import { t as describeUnknownError } from "./shared-
|
|
33
|
-
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
32
|
+
import { t as describeUnknownError } from "./shared-fKlvovu7.js";
|
|
33
|
+
import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-CclOFzPV.js";
|
|
34
34
|
import JSON5 from "json5";
|
|
35
|
-
import
|
|
35
|
+
import fs from "node:fs/promises";
|
|
36
36
|
|
|
37
37
|
//#region src/cli/exec-approvals-cli.ts
|
|
38
38
|
async function readStdin() {
|
|
@@ -329,7 +329,7 @@ function registerExecApprovalsCli(program) {
|
|
|
329
329
|
if (!opts.file && !opts.stdin) exitWithError("Provide --file or --stdin.");
|
|
330
330
|
if (opts.file && opts.stdin) exitWithError("Use either --file or --stdin (not both).");
|
|
331
331
|
const { source, nodeId, targetLabel, baseHash } = await loadWritableSnapshotTarget(opts);
|
|
332
|
-
const raw = opts.stdin ? await readStdin() : await
|
|
332
|
+
const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
|
|
333
333
|
let file;
|
|
334
334
|
try {
|
|
335
335
|
file = JSON5.parse(raw);
|
package/dist/{exec-safe-bin-runtime-policy-DfgvmbZG.js → exec-safe-bin-runtime-policy-BfybDm-q.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ut as listWritableExplicitTrustedSafeBinDirs, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, _n as normalizeSafeBinProfileFixtures, vn as resolveSafeBinProfiles } from "./auth-profiles-
|
|
2
|
-
import { i as resolveSafeBins } from "./exec-approvals-allowlist-
|
|
1
|
+
import { Ut as listWritableExplicitTrustedSafeBinDirs, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, _n as normalizeSafeBinProfileFixtures, vn as resolveSafeBinProfiles } from "./auth-profiles-Dgxwr8Sa.js";
|
|
2
|
+
import { i as resolveSafeBins } from "./exec-approvals-allowlist-Dgb12MXc.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/exec-safe-bin-runtime-policy.ts
|
|
5
5
|
const INTERPRETER_LIKE_SAFE_BINS = new Set([
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-BASCq52M.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-D4kNqSu9.js";
|
|
3
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
3
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-YUWhK3d-.js";
|
|
4
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-_2-6WZ4r.js";
|
|
5
|
+
import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BplMfPrm.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/local-roots.ts
|