@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
|
@@ -3,12 +3,12 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
|
|
|
3
3
|
import { a as setConsoleSubsystemFilter, d as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-BkPzfTiu.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { i as logAcceptedEnvOption, r as isTruthyEnvValue } from "./entry.js";
|
|
6
|
-
import { Ai as DEFAULT_MODEL, B as OpenClawSchema, Er as resolveThinkingDefault, F as readConfigFileSnapshotForWrite, Fn as resolveSubagentMaxConcurrent, I as resolveConfigSnapshotHash, Jn as loadAuthProfileStoreForRuntime, M as loadConfig, Mn as buildTalkConfigResponse, N as parseConfigJson5, P as readConfigFileSnapshot, Pn as resolveAgentMaxConcurrent, R as writeConfigFile, Si as normalizeSecretInput, St as AVATAR_MAX_BYTES, Tt as isAvatarImageDataUrl, Un as upsertAuthProfile, _r as resolveAllowedModelRef, ai as resolveApiKeyForProvider, ar as buildAllowedModelSet, at as parseDurationMs, bn as applyLegacyMigrations, br as resolveDefaultModelForAgent, dr as isCliProvider, ir as isPidAlive, j as createConfigIO, ji as DEFAULT_PROVIDER, k as migrateLegacyConfig, ki as DEFAULT_CONTEXT_TOKENS, kt as looksLikeAvatarPath, l as resolveApiKeyForProfile, lr as getModelRefStatus, mr as normalizeModelSelection, ot as parseByteSize, wr as resolveSubagentConfiguredModelSelection, wt as isAvatarHttpUrl, xi as normalizeOptionalSecretInput, xn as ensureControlUiAllowedOriginsForNonLoopbackBind, xr as resolveHooksGmailModel, yn as applyMergePatch, yr as resolveConfiguredModelRef, z as validateConfigObjectWithPlugins } from "./auth-profiles-
|
|
6
|
+
import { Ai as DEFAULT_MODEL, B as OpenClawSchema, Er as resolveThinkingDefault, F as readConfigFileSnapshotForWrite, Fn as resolveSubagentMaxConcurrent, I as resolveConfigSnapshotHash, Jn as loadAuthProfileStoreForRuntime, M as loadConfig, Mn as buildTalkConfigResponse, N as parseConfigJson5, P as readConfigFileSnapshot, Pn as resolveAgentMaxConcurrent, R as writeConfigFile, Si as normalizeSecretInput, St as AVATAR_MAX_BYTES, Tt as isAvatarImageDataUrl, Un as upsertAuthProfile, _r as resolveAllowedModelRef, ai as resolveApiKeyForProvider, ar as buildAllowedModelSet, at as parseDurationMs, bn as applyLegacyMigrations, br as resolveDefaultModelForAgent, dr as isCliProvider, ir as isPidAlive, j as createConfigIO, ji as DEFAULT_PROVIDER, k as migrateLegacyConfig, ki as DEFAULT_CONTEXT_TOKENS, kt as looksLikeAvatarPath, l as resolveApiKeyForProfile, lr as getModelRefStatus, mr as normalizeModelSelection, ot as parseByteSize, wr as resolveSubagentConfiguredModelSelection, wt as isAvatarHttpUrl, xi as normalizeOptionalSecretInput, xn as ensureControlUiAllowedOriginsForNonLoopbackBind, xr as resolveHooksGmailModel, yn as applyMergePatch, yr as resolveConfiguredModelRef, z as validateConfigObjectWithPlugins } from "./auth-profiles-Dgxwr8Sa.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-Bu77oTl0.js";
|
|
8
|
-
import { a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
+
import { a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-YUWhK3d-.js";
|
|
9
9
|
import { S as isCronRunSessionKey, T as parseAgentSessionKey, c as normalizeAgentId, g as normalizeAccountId$1, h as DEFAULT_ACCOUNT_ID, l as normalizeMainKey, m as toAgentStoreSessionKey, o as classifySessionKeyShape, p as toAgentRequestSessionKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isSubagentSessionKey } from "./session-key-BLprDJYq.js";
|
|
10
10
|
import { E as isPlainObject, T as truncateUtf16Safe, n as clamp, s as ensureDir, v as resolveUserPath, x as shortenHomePath } from "./utils-Dwy0Sy1G.js";
|
|
11
|
-
import { A as isNotFoundPathError, C as openBoundaryFileSync, P as matchesSkillFilter, S as openBoundaryFile, T as sameFileIdentity, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_SOUL_FILENAME, d as ensureAgentWorkspace, h as resolveDefaultAgentWorkspaceDir, i as DEFAULT_HEARTBEAT_FILENAME, l as DEFAULT_TOOLS_FILENAME, o as DEFAULT_MEMORY_ALT_FILENAME, p as isWorkspaceOnboardingCompleted, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_MEMORY_FILENAME, t as DEFAULT_AGENTS_FILENAME, u as DEFAULT_USER_FILENAME, v as resolveWorkspaceTemplateDir, w as openVerifiedFileSync, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
11
|
+
import { A as isNotFoundPathError, C as openBoundaryFileSync, P as matchesSkillFilter, S as openBoundaryFile, T as sameFileIdentity, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_SOUL_FILENAME, d as ensureAgentWorkspace, h as resolveDefaultAgentWorkspaceDir, i as DEFAULT_HEARTBEAT_FILENAME, l as DEFAULT_TOOLS_FILENAME, o as DEFAULT_MEMORY_ALT_FILENAME, p as isWorkspaceOnboardingCompleted, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_MEMORY_FILENAME, t as DEFAULT_AGENTS_FILENAME, u as DEFAULT_USER_FILENAME, v as resolveWorkspaceTemplateDir, w as openVerifiedFileSync, y as resolveOpenClawPackageRoot } from "./workspace-D3Bd1Wd-.js";
|
|
12
12
|
import { i as logWarn, t as logDebug } from "./logger-JNFFzTLe.js";
|
|
13
13
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-BxfdQ5hH.js";
|
|
14
14
|
import "./github-copilot-token-BqbY2oVI.js";
|
|
@@ -16,112 +16,112 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
16
16
|
import { n as resolveRuntimeServiceVersion, t as VERSION } from "./version-CGDNfh5C.js";
|
|
17
17
|
import "./env-vars-Dw0EwyGP.js";
|
|
18
18
|
import { C as clearInternalHooks, E as triggerInternalHook, T as registerInternalHook, h as createEmptyPluginRegistry, t as CHANNEL_IDS, u as getActivePluginRegistry, w as createInternalHookEvent } from "./registry-C4Fq5HtN.js";
|
|
19
|
-
import { u as isTestDefaultMemorySlotDisabled } from "./manifest-registry-
|
|
20
|
-
import "./dock-
|
|
21
|
-
import "./model-
|
|
22
|
-
import "./pi-model-discovery-
|
|
19
|
+
import { u as isTestDefaultMemorySlotDisabled } from "./manifest-registry-D1Y5hoq2.js";
|
|
20
|
+
import "./dock-CslXtXH_.js";
|
|
21
|
+
import "./model-BUgU1YvD.js";
|
|
22
|
+
import "./pi-model-discovery-P149vq2k.js";
|
|
23
23
|
import { d as hasBinary } from "./frontmatter-I4t5UjzX.js";
|
|
24
|
-
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot } from "./skills-
|
|
25
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
26
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
24
|
+
import { c as resolveBundledSkillsDir, i as loadWorkspaceSkillEntries, r as buildWorkspaceSkillSnapshot } from "./skills-CDZAo2Sd.js";
|
|
25
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BQRm9WIp.js";
|
|
26
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CV1r9Fs_.js";
|
|
27
27
|
import { _ as normalizeGatewayClientMode, f as GATEWAY_CLIENT_CAPS, g as hasGatewayClientCap, h as GATEWAY_CLIENT_NAMES, i as isGatewayMessageChannel, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DuRP9JPi.js";
|
|
28
|
-
import { $ as resolveAgentMainSessionKey, A as readSessionPreviewItemsFromTranscript, B as cleanStaleLockFiles, C as normalizeSessionDeliveryFields, D as capArrayByJsonBytes, E as archiveSessionTranscripts, G as resolveSessionResetPolicy, I as stripInlineDirectiveTagsForDisplay, L as stripInlineDirectiveTagsFromMessageForDisplay, M as resolveSessionTranscriptCandidates, N as stripEnvelopeFromMessage, O as cleanupArchivedSessionTranscripts, P as stripEnvelopeFromMessages, Q as canonicalizeMainSessionAlias, R as jsonUtf8Bytes, T as archiveFileOnDisk, U as evaluateSessionFreshness, Y as mergeSessionEntry, Z as setSessionRuntimeModel, d as updateSessionStore, et as resolveExplicitAgentSessionKey, it as snapshotSessionOrigin, k as readSessionMessages, n as parseSessionThreadInfo, nt as resolveMainSessionKeyFromConfig, o as loadSessionStore, t as extractDeliveryInfo, tt as resolveMainSessionKey, x as mergeDeliveryContext, y as deliveryContextFromSession } from "./sessions-
|
|
29
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as normalizeWhatsAppTarget } from "./plugins-
|
|
30
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
31
|
-
import "./accounts-
|
|
28
|
+
import { $ as resolveAgentMainSessionKey, A as readSessionPreviewItemsFromTranscript, B as cleanStaleLockFiles, C as normalizeSessionDeliveryFields, D as capArrayByJsonBytes, E as archiveSessionTranscripts, G as resolveSessionResetPolicy, I as stripInlineDirectiveTagsForDisplay, L as stripInlineDirectiveTagsFromMessageForDisplay, M as resolveSessionTranscriptCandidates, N as stripEnvelopeFromMessage, O as cleanupArchivedSessionTranscripts, P as stripEnvelopeFromMessages, Q as canonicalizeMainSessionAlias, R as jsonUtf8Bytes, T as archiveFileOnDisk, U as evaluateSessionFreshness, Y as mergeSessionEntry, Z as setSessionRuntimeModel, d as updateSessionStore, et as resolveExplicitAgentSessionKey, it as snapshotSessionOrigin, k as readSessionMessages, n as parseSessionThreadInfo, nt as resolveMainSessionKeyFromConfig, o as loadSessionStore, t as extractDeliveryInfo, tt as resolveMainSessionKey, x as mergeDeliveryContext, y as deliveryContextFromSession } from "./sessions-DugDYFTs.js";
|
|
29
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as normalizeWhatsAppTarget } from "./plugins-DPspmGax.js";
|
|
30
|
+
import { i as resolveWhatsAppAccount } from "./accounts-UZBaDk40.js";
|
|
31
|
+
import "./accounts-C9SoQRlD.js";
|
|
32
32
|
import "./logging-CcxUDNcI.js";
|
|
33
|
-
import "./accounts-
|
|
34
|
-
import { t as buildChannelAccountBindings } from "./bindings-
|
|
35
|
-
import "./send-
|
|
36
|
-
import "./send-
|
|
37
|
-
import { $n as resolveAgentTimeoutMs, $t as getHookType, A as agentCommandFromIngress, Ar as setCommandLaneConcurrency, At as formatDoctorNonInteractiveHint, Br as getAgentRunContext, Bt as normalizeOptionalAgentId, C as readJsonBodyWithLimit, Cn as loadProviderUsageSummary, Cr as OPENAI_TTS_MODELS, D as sleepWithAbort, Dr as getTotalQueueSize, E as computeBackoff, Et as runWithModelFallback, F as createDefaultDeps, Fn as enqueueSystemEvent, Ft as writeRestartSentinel, Gn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Gt as migrateLegacyCronPayload, Hr as registerAgentRunContext, Ht as normalizeOptionalText, I as createOutboundSendDeps$1, In as isSystemEventContextChanged, It as normalizeHttpWebhookUrl, Jn as DEFAULT_INPUT_TIMEOUT_MS, Jt as stripLegacyDeliveryFields, Kn as DEFAULT_INPUT_IMAGE_MIMES, Kt as buildDeliveryFromLegacyPayload, L as resolveAgentAvatar, Lr as stripHeartbeatToken, Lt as normalizeCronJobCreate, M as resolveAgentDeliveryPlan, Mr as CommandLane, N as resolveAgentOutboundTarget, Nr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Nt as summarizeRestartSentinel, On as formatZonedTimestamp, Or as markGatewayDraining, Ot as isFailoverError, P as createOutboundSendDeps, Qn as resolveInputFileLimits, Qt as detectSuspiciousPatterns, Rr as clearAgentRunContext, Rt as normalizeCronJobPatch, S as handleSlackHttpRequest, Sr as textToSpeech, St as resolveOutboundChannelPlugin, Tr as getActiveTaskCount, Ut as normalizePayloadToSystemText, Vr as onAgentEvent, Vt as normalizeOptionalSessionKey, W as buildHistoryContextFromEntries, Wn as ACP_SESSION_IDENTITY_RENDERER_VERSION, Wt as normalizeRequiredName, Xn as extractImageContentFromSource, Yn as extractFileContentFromSource, Zn as normalizeMimeList, Zt as buildSafeExternalPrompt, _ as loadOpenClawPlugins, _n as setGatewaySigusr1RestartPolicy, _r as resolveTtsConfig, _t as resolveOutboundSessionRoute, a as runSubagentAnnounceFlow, ar as stopSubagentsForRequester, b as resolveAgentOutboundIdentity, bn as unbindThreadBindingsBySessionKey, br as setTtsEnabled, bt as resolveOutboundTarget, c as abortEmbeddedPiRun, cn as applyVerboseOverride, cr as getAcpSessionManager, ct as resolveCronStyleNow, d as applyToolPolicyPipeline, dn as consumeGatewaySigusr1RestartAuthorization, dr as clearBootstrapSnapshot, dt as runCliAgent, en as isExternalHookSession, er as normalizeSendPolicy, f as buildDefaultToolPolicyPipelineSteps, fn as deferGatewayRestartUntilIdle, fr as getTtsProvider, ft as createOpenClawTools, gn as scheduleGatewaySigusr1Restart, gr as resolveTtsAutoMode, gt as ensureOutboundSessionEntry, h as resolvePluginTools, hn as markGatewaySigusr1RestartHandled, hr as resolveTtsApiKey, ir as isAbortRequestText, jr as waitForActiveTasks, jt as formatRestartSentinelMessage, kr as resetAllLanes, kt as consumeRestartSentinel, l as getActiveEmbeddedRunCount, ln as parseVerboseOverride, lr as resolveAgentSessionDirs, lt as getCliSessionId, m as getPluginToolMeta, mn as isGatewaySigusr1RestartExternallyAllowed, mr as isTtsProviderConfigured, mt as resolveAnnounceTargetFromKey, n as initSubagentRegistry, nn as persistBrowserProxyFiles, nt as createReplyDispatcher, o as clearSessionQueues, ot as BARE_SESSION_RESET_PROMPT, pn as emitGatewayRestart, pr as isTtsEnabled, pt as readLatestAssistantReply, qn as DEFAULT_INPUT_MAX_REDIRECTS, qt as hasLegacyDeliveryHints, r as listDescendantRunsForRequester, rn as resolveSessionAuthProfileOverride, rt as getTotalPendingReplies, s as runEmbeddedPiAgent, sn as applyModelOverrideToSessionEntry, t as countActiveDescendantRuns, tn as applyBrowserProxyPaths, tr as resolveSendPolicy, tt as dispatchInboundMessage, u as waitForEmbeddedPiRunEnd, un as buildOutboundSessionContext, ur as resolveUserTimezone, ut as setCliSessionId, v as createPluginRuntime, vn as setPreRestartDeferralCheck, vr as resolveTtsPrefsPath, w as requestBodyErrorToText, wr as OPENAI_TTS_VOICES, wt as resetDirectoryCache, xn as normalizeGroupActivation, xr as setTtsProvider, xt as resolveSessionDeliveryTarget, yn as triggerOpenClawRestart, yr as resolveTtsProviderOrder, zn as requestHeartbeatNow, zr as emitAgentEvent, zt as inferLegacyName } from "./subagent-registry-
|
|
33
|
+
import "./accounts-MEuVJDoB.js";
|
|
34
|
+
import { t as buildChannelAccountBindings } from "./bindings-BDScuSfd.js";
|
|
35
|
+
import "./send-BLv3U-2N.js";
|
|
36
|
+
import "./send-BUqXYyi5.js";
|
|
37
|
+
import { $n as resolveAgentTimeoutMs, $t as getHookType, A as agentCommandFromIngress, Ar as setCommandLaneConcurrency, At as formatDoctorNonInteractiveHint, Br as getAgentRunContext, Bt as normalizeOptionalAgentId, C as readJsonBodyWithLimit, Cn as loadProviderUsageSummary, Cr as OPENAI_TTS_MODELS, D as sleepWithAbort, Dr as getTotalQueueSize, E as computeBackoff, Et as runWithModelFallback, F as createDefaultDeps, Fn as enqueueSystemEvent, Ft as writeRestartSentinel, Gn as DEFAULT_INPUT_IMAGE_MAX_BYTES, Gt as migrateLegacyCronPayload, Hr as registerAgentRunContext, Ht as normalizeOptionalText, I as createOutboundSendDeps$1, In as isSystemEventContextChanged, It as normalizeHttpWebhookUrl, Jn as DEFAULT_INPUT_TIMEOUT_MS, Jt as stripLegacyDeliveryFields, Kn as DEFAULT_INPUT_IMAGE_MIMES, Kt as buildDeliveryFromLegacyPayload, L as resolveAgentAvatar, Lr as stripHeartbeatToken, Lt as normalizeCronJobCreate, M as resolveAgentDeliveryPlan, Mr as CommandLane, N as resolveAgentOutboundTarget, Nr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Nt as summarizeRestartSentinel, On as formatZonedTimestamp, Or as markGatewayDraining, Ot as isFailoverError, P as createOutboundSendDeps, Qn as resolveInputFileLimits, Qt as detectSuspiciousPatterns, Rr as clearAgentRunContext, Rt as normalizeCronJobPatch, S as handleSlackHttpRequest, Sr as textToSpeech, St as resolveOutboundChannelPlugin, Tr as getActiveTaskCount, Ut as normalizePayloadToSystemText, Vr as onAgentEvent, Vt as normalizeOptionalSessionKey, W as buildHistoryContextFromEntries, Wn as ACP_SESSION_IDENTITY_RENDERER_VERSION, Wt as normalizeRequiredName, Xn as extractImageContentFromSource, Yn as extractFileContentFromSource, Zn as normalizeMimeList, Zt as buildSafeExternalPrompt, _ as loadOpenClawPlugins, _n as setGatewaySigusr1RestartPolicy, _r as resolveTtsConfig, _t as resolveOutboundSessionRoute, a as runSubagentAnnounceFlow, ar as stopSubagentsForRequester, b as resolveAgentOutboundIdentity, bn as unbindThreadBindingsBySessionKey, br as setTtsEnabled, bt as resolveOutboundTarget, c as abortEmbeddedPiRun, cn as applyVerboseOverride, cr as getAcpSessionManager, ct as resolveCronStyleNow, d as applyToolPolicyPipeline, dn as consumeGatewaySigusr1RestartAuthorization, dr as clearBootstrapSnapshot, dt as runCliAgent, en as isExternalHookSession, er as normalizeSendPolicy, f as buildDefaultToolPolicyPipelineSteps, fn as deferGatewayRestartUntilIdle, fr as getTtsProvider, ft as createOpenClawTools, gn as scheduleGatewaySigusr1Restart, gr as resolveTtsAutoMode, gt as ensureOutboundSessionEntry, h as resolvePluginTools, hn as markGatewaySigusr1RestartHandled, hr as resolveTtsApiKey, ir as isAbortRequestText, jr as waitForActiveTasks, jt as formatRestartSentinelMessage, kr as resetAllLanes, kt as consumeRestartSentinel, l as getActiveEmbeddedRunCount, ln as parseVerboseOverride, lr as resolveAgentSessionDirs, lt as getCliSessionId, m as getPluginToolMeta, mn as isGatewaySigusr1RestartExternallyAllowed, mr as isTtsProviderConfigured, mt as resolveAnnounceTargetFromKey, n as initSubagentRegistry, nn as persistBrowserProxyFiles, nt as createReplyDispatcher, o as clearSessionQueues, ot as BARE_SESSION_RESET_PROMPT, pn as emitGatewayRestart, pr as isTtsEnabled, pt as readLatestAssistantReply, qn as DEFAULT_INPUT_MAX_REDIRECTS, qt as hasLegacyDeliveryHints, r as listDescendantRunsForRequester, rn as resolveSessionAuthProfileOverride, rt as getTotalPendingReplies, s as runEmbeddedPiAgent, sn as applyModelOverrideToSessionEntry, t as countActiveDescendantRuns, tn as applyBrowserProxyPaths, tr as resolveSendPolicy, tt as dispatchInboundMessage, u as waitForEmbeddedPiRunEnd, un as buildOutboundSessionContext, ur as resolveUserTimezone, ut as setCliSessionId, v as createPluginRuntime, vn as setPreRestartDeferralCheck, vr as resolveTtsPrefsPath, w as requestBodyErrorToText, wr as OPENAI_TTS_VOICES, wt as resetDirectoryCache, xn as normalizeGroupActivation, xr as setTtsProvider, xt as resolveSessionDeliveryTarget, yn as triggerOpenClawRestart, yr as resolveTtsProviderOrder, zn as requestHeartbeatNow, zr as emitAgentEvent, zt as inferLegacyName } from "./subagent-registry-ChrhyhQ5.js";
|
|
38
38
|
import { c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-oIurw4YQ.js";
|
|
39
39
|
import { i as normalizeInputProvenance } from "./input-provenance-BDYpbBeC.js";
|
|
40
40
|
import "./chat-envelope-AUuZAcrC.js";
|
|
41
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
42
|
-
import { $ as validateNodePairApproveParams, $t as roleScopesAllow, A as validateCronStatusParams, At as validateWizardStartParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateToolsCatalogParams, D as validateCronRemoveParams, Dt as validateWebLoginWaitParams, E as validateCronListParams, Et as validateWebLoginStartParams, F as validateDevicePairRemoveParams, G as validateModelsAuthSetParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, Ht as ensureDeviceToken, I as validateDeviceTokenRevokeParams, It as parseSessionLabel, J as validateNodeDescribeParams, Jt as revokeDeviceToken, K as validateModelsListParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as buildDeviceAuthPayload, M as validateDevicePairApproveParams, Mt as PROTOCOL_VERSION, N as validateDevicePairListParams, Nt as ErrorCodes, O as validateCronRunParams, Ot as validateWizardCancelParams, P as validateDevicePairRejectParams, Pt as errorShape, Q as validateNodeListParams, Qt as verifyDeviceToken, R as validateExecApprovalRequestParams, Rt as buildDeviceAuthPayloadV3, S as validateConfigSchemaParams, St as validateTalkModeParams, T as validateCronAddParams, Tt as validateWakeParams, U as validateExecApprovalsSetParams, Ut as getPairedDevice, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeInvokeParams, Xt as summarizeDeviceTokens, Y as validateNodeEventParams, Yt as rotateDeviceToken, Z as validateNodeInvokeResultParams, Zt as updatePairedDeviceMetadata, _ as validateChatInjectParams, _t as validateSkillsBinsParams, a as validateAgentWaitParams, at as validatePollParams, b as validateConfigGetParams, bt as validateSkillsUpdateParams, c as validateAgentsFilesGetParams, ct as validateSendParams, d as validateAgentsListParams, dt as validateSessionsListParams, et as validateNodePairListParams, f as validateAgentsUpdateParams, ft as validateSessionsPatchParams, g as validateChatHistoryParams, gt as validateSessionsUsageParams, h as validateChatAbortParams, ht as validateSessionsResolveParams, i as validateAgentParams, in as verifyDeviceSignature, it as validateNodeRenameParams, j as validateCronUpdateParams, jt as validateWizardStatusParams, k as validateCronRunsParams, kt as validateWizardNextParams, l as validateAgentsFilesListParams, lt as validateSessionsCompactParams, m as validateChannelsStatusParams, mt as validateSessionsResetParams, n as formatValidationErrors, nt as validateNodePairRequestParams, o as validateAgentsCreateParams, ot as validatePushTestParams, p as validateChannelsLogoutParams, pt as validateSessionsPreviewParams, q as validateModelsVerifyParams, qt as requestDevicePairing, r as validateAgentIdentityParams, rn as normalizeDevicePublicKeyBase64Url, rt as validateNodePairVerifyParams, s as validateAgentsDeleteParams, st as validateRequestFrame, tn as deriveDeviceIdFromPublicKey, tt as validateNodePairRejectParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSkillsInstallParams, w as validateConnectParams, wt as validateUpdateRunParams, x as validateConfigPatchParams, xt as validateTalkConfigParams, y as validateConfigApplyParams, yt as validateSkillsStatusParams, z as validateExecApprovalResolveParams, zt as normalizeDeviceMetadataForAuth } from "./client-
|
|
43
|
-
import { f as loadGatewayTlsRuntime$1, l as authorizeOperatorScopesForMethod, n as callGateway, s as ADMIN_SCOPE$3, u as isNodeRoleMethod } from "./call-
|
|
41
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DrZ4qfxw.js";
|
|
42
|
+
import { $ as validateNodePairApproveParams, $t as roleScopesAllow, A as validateCronStatusParams, At as validateWizardStartParams, B as validateExecApprovalsGetParams, C as validateConfigSetParams, Ct as validateToolsCatalogParams, D as validateCronRemoveParams, Dt as validateWebLoginWaitParams, E as validateCronListParams, Et as validateWebLoginStartParams, F as validateDevicePairRemoveParams, G as validateModelsAuthSetParams, Gt as rejectDevicePairing, H as validateExecApprovalsNodeSetParams, Ht as ensureDeviceToken, I as validateDeviceTokenRevokeParams, It as parseSessionLabel, J as validateNodeDescribeParams, Jt as revokeDeviceToken, K as validateModelsListParams, Kt as removePairedDevice, L as validateDeviceTokenRotateParams, Lt as buildDeviceAuthPayload, M as validateDevicePairApproveParams, Mt as PROTOCOL_VERSION, N as validateDevicePairListParams, Nt as ErrorCodes, O as validateCronRunParams, Ot as validateWizardCancelParams, P as validateDevicePairRejectParams, Pt as errorShape, Q as validateNodeListParams, Qt as verifyDeviceToken, R as validateExecApprovalRequestParams, Rt as buildDeviceAuthPayloadV3, S as validateConfigSchemaParams, St as validateTalkModeParams, T as validateCronAddParams, Tt as validateWakeParams, U as validateExecApprovalsSetParams, Ut as getPairedDevice, V as validateExecApprovalsNodeGetParams, Vt as approveDevicePairing, W as validateLogsTailParams, Wt as listDevicePairing, X as validateNodeInvokeParams, Xt as summarizeDeviceTokens, Y as validateNodeEventParams, Yt as rotateDeviceToken, Z as validateNodeInvokeResultParams, Zt as updatePairedDeviceMetadata, _ as validateChatInjectParams, _t as validateSkillsBinsParams, a as validateAgentWaitParams, at as validatePollParams, b as validateConfigGetParams, bt as validateSkillsUpdateParams, c as validateAgentsFilesGetParams, ct as validateSendParams, d as validateAgentsListParams, dt as validateSessionsListParams, et as validateNodePairListParams, f as validateAgentsUpdateParams, ft as validateSessionsPatchParams, g as validateChatHistoryParams, gt as validateSessionsUsageParams, h as validateChatAbortParams, ht as validateSessionsResolveParams, i as validateAgentParams, in as verifyDeviceSignature, it as validateNodeRenameParams, j as validateCronUpdateParams, jt as validateWizardStatusParams, k as validateCronRunsParams, kt as validateWizardNextParams, l as validateAgentsFilesListParams, lt as validateSessionsCompactParams, m as validateChannelsStatusParams, mt as validateSessionsResetParams, n as formatValidationErrors, nt as validateNodePairRequestParams, o as validateAgentsCreateParams, ot as validatePushTestParams, p as validateChannelsLogoutParams, pt as validateSessionsPreviewParams, q as validateModelsVerifyParams, qt as requestDevicePairing, r as validateAgentIdentityParams, rn as normalizeDevicePublicKeyBase64Url, rt as validateNodePairVerifyParams, s as validateAgentsDeleteParams, st as validateRequestFrame, tn as deriveDeviceIdFromPublicKey, tt as validateNodePairRejectParams, u as validateAgentsFilesSetParams, ut as validateSessionsDeleteParams, v as validateChatSendParams, vt as validateSkillsInstallParams, w as validateConnectParams, wt as validateUpdateRunParams, x as validateConfigPatchParams, xt as validateTalkConfigParams, y as validateConfigApplyParams, yt as validateSkillsStatusParams, z as validateExecApprovalResolveParams, zt as normalizeDeviceMetadataForAuth } from "./client-Ct3INy6Q.js";
|
|
43
|
+
import { f as loadGatewayTlsRuntime$1, l as authorizeOperatorScopesForMethod, n as callGateway, s as ADMIN_SCOPE$3, u as isNodeRoleMethod } from "./call-BxxjyXST.js";
|
|
44
44
|
import "./pairing-token-fCKTYUJ-.js";
|
|
45
45
|
import { t as safeEqualSecret } from "./secret-equal-CzmdvIUc.js";
|
|
46
|
-
import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as rawDataToString, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as isLocalishHost, u as resolveGatewayBindHost } from "./net-
|
|
47
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
46
|
+
import { a as isTrustedProxyAddress, c as pickPrimaryLanIPv4, d as resolveGatewayListenHosts, f as rawDataToString, l as resolveClientIp, n as isLoopbackAddress, o as isValidIPv4, r as isLoopbackHost, s as normalizeHostHeader, t as isLocalishHost, u as resolveGatewayBindHost } from "./net-B1yWST2Q.js";
|
|
47
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-D67wyPIH.js";
|
|
48
48
|
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-COy2Fxku.js";
|
|
49
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-
|
|
50
|
-
import { j as runGlobalGatewayStopSafely, k as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-
|
|
51
|
-
import { d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, m as isDiagnosticsEnabled } from "./diagnostic-
|
|
49
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext } from "./with-timeout-DUosdGNq.js";
|
|
50
|
+
import { j as runGlobalGatewayStopSafely, k as getGlobalHookRunner, o as normalizeReplyPayloadsForDelivery, t as deliverOutboundPayloads } from "./deliver-DkGKUNSW.js";
|
|
51
|
+
import { d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, m as isDiagnosticsEnabled } from "./diagnostic-BS_rmYNQ.js";
|
|
52
52
|
import "./diagnostic-session-state-B5Z0I32_.js";
|
|
53
|
-
import { S as saveCronStore, b as loadCronStore, x as resolveCronStorePath } from "./send-
|
|
54
|
-
import { c as detectMime } from "./image-ops-
|
|
55
|
-
import { F as resolveChatUiHintForError } from "./pi-embedded-helpers-
|
|
56
|
-
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-
|
|
53
|
+
import { S as saveCronStore, b as loadCronStore, x as resolveCronStorePath } from "./send-BLyXZjPe.js";
|
|
54
|
+
import { c as detectMime } from "./image-ops-_2-6WZ4r.js";
|
|
55
|
+
import { F as resolveChatUiHintForError } from "./pi-embedded-helpers-CrqtHYYD.js";
|
|
56
|
+
import { C as resolveToolProfilePolicy, _ as collectExplicitAllowlist, y as mergeAlsoAllowPolicy } from "./sandbox-ClasEjRW.js";
|
|
57
57
|
import { i as listCoreToolSections, n as PROFILE_OPTIONS, o as resolveCoreToolProfiles } from "./tool-catalog-CDe8aNjS.js";
|
|
58
|
-
import "./chrome-
|
|
58
|
+
import "./chrome-F8yPeLCk.js";
|
|
59
59
|
import { i as enableTailscaleServe, n as disableTailscaleServe, o as getTailnetHostname, r as enableTailscaleFunnel, t as disableTailscaleFunnel } from "./tailscale-DwvUI5Bb.js";
|
|
60
|
-
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-
|
|
61
|
-
import { l as ensureGatewayStartupAuth, u as mergeGatewayTailscaleConfig } from "./server-context-
|
|
62
|
-
import "./paths-
|
|
60
|
+
import { a as resolveGatewayAuth, c as AUTH_RATE_LIMIT_SCOPE_SHARED_SECRET, i as isLocalDirectRequest, l as createAuthRateLimiter, n as authorizeHttpGatewayConnect, o as AUTH_RATE_LIMIT_SCOPE_DEVICE_TOKEN, r as authorizeWsControlUiGatewayConnect, s as AUTH_RATE_LIMIT_SCOPE_HOOK_AUTH, t as assertGatewayAuthConfigured, u as normalizeRateLimitClientIp } from "./auth-DeS7F6Hd.js";
|
|
61
|
+
import { l as ensureGatewayStartupAuth, u as mergeGatewayTailscaleConfig } from "./server-context-3YhieMNo.js";
|
|
62
|
+
import "./paths-B0fezTQW.js";
|
|
63
63
|
import { a as testRegexWithBoundedInput, i as compileSafeRegex } from "./redact-CYcs8rK6.js";
|
|
64
64
|
import { o as isErrno, r as formatErrorMessage } from "./errors-BMwPyScO.js";
|
|
65
|
-
import { i as openFileWithinRoot, l as writeFileWithinRoot, s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
66
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
67
|
-
import "./store-
|
|
68
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics, t as ensurePortAvailable } from "./ports-
|
|
65
|
+
import { i as openFileWithinRoot, l as writeFileWithinRoot, s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-nXGqHBF8.js";
|
|
66
|
+
import { n as SsrFBlockedError } from "./proxy-env-B9lqcBfU.js";
|
|
67
|
+
import "./store-GKlw8Qa-.js";
|
|
68
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics, t as ensurePortAvailable } from "./ports-Do_Plo8C.js";
|
|
69
69
|
import { t as movePathToTrash } from "./trash-Dlgx3ady.js";
|
|
70
|
-
import "./server-middleware-
|
|
71
|
-
import "./tool-images-
|
|
70
|
+
import "./server-middleware-hZnQvs4T.js";
|
|
71
|
+
import "./tool-images-rmLnTSxP.js";
|
|
72
72
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-BxCyPtl0.js";
|
|
73
|
-
import "./models-config-
|
|
74
|
-
import "./exec-approvals-allowlist-
|
|
75
|
-
import "./exec-safe-bin-runtime-policy-
|
|
76
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
77
|
-
import "./fetch-
|
|
78
|
-
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner
|
|
79
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
80
|
-
import { x as extractTextFromChatContent } from "./image-
|
|
73
|
+
import "./models-config-BUq1pLs3.js";
|
|
74
|
+
import "./exec-approvals-allowlist-Dgb12MXc.js";
|
|
75
|
+
import "./exec-safe-bin-runtime-policy-BfybDm-q.js";
|
|
76
|
+
import { n as loadModelCatalog } from "./model-catalog-D4hoiCav.js";
|
|
77
|
+
import "./fetch-BZWXCGP2.js";
|
|
78
|
+
import { g as registerUnhandledRejectionHandler } from "./audio-transcription-runner--RGWC8nR.js";
|
|
79
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-BplMfPrm.js";
|
|
80
|
+
import { x as extractTextFromChatContent } from "./image-BsWoO0mu.js";
|
|
81
81
|
import "./tool-display-sVaWRESD.js";
|
|
82
|
-
import "./api-key-rotation-
|
|
82
|
+
import "./api-key-rotation-D7ptHGeX.js";
|
|
83
83
|
import "./proxy-fetch-ReVzadXq.js";
|
|
84
|
-
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
84
|
+
import { a as resolveAgentIdentity, t as createReplyPrefixOptions } from "./reply-prefix-CqTNlEbX.js";
|
|
85
85
|
import "./chunk-BNLlgymK.js";
|
|
86
|
-
import "./markdown-tables-
|
|
87
|
-
import "./ir-
|
|
86
|
+
import "./markdown-tables-BDe192Ai.js";
|
|
87
|
+
import "./ir-DaZ8ITYK.js";
|
|
88
88
|
import "./render-Bwu_WxwA.js";
|
|
89
|
-
import { a as ToolInputError } from "./target-errors-
|
|
90
|
-
import { r as isRestartEnabled } from "./commands-
|
|
91
|
-
import "./commands-registry-
|
|
89
|
+
import { a as ToolInputError } from "./target-errors-AeE93vdq.js";
|
|
90
|
+
import { r as isRestartEnabled } from "./commands-NkZDaV9a.js";
|
|
91
|
+
import "./commands-registry-BEOnewEO.js";
|
|
92
92
|
import "./fetch-BAIuE19S.js";
|
|
93
93
|
import "./retry-BB6FMQn9.js";
|
|
94
|
-
import { a as readChannelAllowFromStoreSync } from "./pairing-store-
|
|
94
|
+
import { a as readChannelAllowFromStoreSync } from "./pairing-store-B27cuhBQ.js";
|
|
95
95
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-DW6bgoDc.js";
|
|
96
|
-
import { _ as matchSystemRunApprovalBinding, g as buildSystemRunApprovalBinding, h as resolveSystemRunApprovalRuntimeContext, m as resolveSystemRunApprovalRequestContext, v as missingSystemRunApprovalBinding, y as toSystemRunApprovalMismatchError } from "./nodes-screen-
|
|
97
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
98
|
-
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as lookupContextTokens } from "./session-utils-
|
|
96
|
+
import { _ as matchSystemRunApprovalBinding, g as buildSystemRunApprovalBinding, h as resolveSystemRunApprovalRuntimeContext, m as resolveSystemRunApprovalRequestContext, v as missingSystemRunApprovalBinding, y as toSystemRunApprovalMismatchError } from "./nodes-screen-9RT6NG41.js";
|
|
97
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-Pd55ipfO.js";
|
|
98
|
+
import { a as loadCombinedSessionStoreForGateway, c as resolveGatewaySessionStoreTarget, i as listSessionsFromStore, l as resolveSessionModelRef, o as loadSessionEntry, r as listAgentsForGateway, s as pruneLegacyStoreKeys, t as canonicalizeSpawnedByForAgent, u as lookupContextTokens } from "./session-utils-BSsFceEN.js";
|
|
99
99
|
import { c as hasNonzeroUsage, i as loadSessionUsageTimeSeries, n as loadCostUsageSummary, r as loadSessionCostSummary, s as deriveSessionTotalTokens, t as discoverAllSessions } from "./session-cost-usage-BsxmoBNj.js";
|
|
100
100
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-BzVVjHV2.js";
|
|
101
|
-
import { S as registerSkillsChangeListener, _ as requestNodePairing, c as recordRemoteNodeInfo, d as removeRemoteNodeInfo, f as setSkillsRemoteRegistry, g as renamePairedNode, h as rejectNodePairing, l as refreshRemoteBinsForConnectedNodes, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, s as primeRemoteSkillsCache, u as refreshRemoteNodeBins, v as updatePairedNodeMetadata, x as getSkillsSnapshotVersion, y as verifyNodeToken } from "./skill-commands-
|
|
102
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
101
|
+
import { S as registerSkillsChangeListener, _ as requestNodePairing, c as recordRemoteNodeInfo, d as removeRemoteNodeInfo, f as setSkillsRemoteRegistry, g as renamePairedNode, h as rejectNodePairing, l as refreshRemoteBinsForConnectedNodes, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, s as primeRemoteSkillsCache, u as refreshRemoteNodeBins, v as updatePairedNodeMetadata, x as getSkillsSnapshotVersion, y as verifyNodeToken } from "./skill-commands-KfP9rDJM.js";
|
|
102
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-x94RXrLL.js";
|
|
103
103
|
import { t as getChannelActivity } from "./channel-activity-SjFx-6OM.js";
|
|
104
104
|
import { n as normalizePollInput } from "./polls-DXeUmcgz.js";
|
|
105
|
-
import "./tables-
|
|
106
|
-
import "./server-lifecycle-
|
|
105
|
+
import "./tables-B6wgQqYN.js";
|
|
106
|
+
import "./server-lifecycle-DE7bHlKs.js";
|
|
107
107
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs, r as resolveDefaultCronStaggerMs, t as normalizeCronStaggerMs } from "./stagger-Bi1uV655.js";
|
|
108
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
109
|
-
import { i as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-
|
|
110
|
-
import "./send-
|
|
111
|
-
import "./outbound-attachment-
|
|
108
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-ZJlD8RW_.js";
|
|
109
|
+
import { i as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-C4EhTu_y.js";
|
|
110
|
+
import "./send-DLfPZ3_F.js";
|
|
111
|
+
import "./outbound-attachment-Dhx3-Gcn.js";
|
|
112
112
|
import "./delivery-queue-igSkk02R.js";
|
|
113
|
-
import "./send-
|
|
114
|
-
import "./resolve-route-
|
|
115
|
-
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-
|
|
113
|
+
import "./send-CwHSY0pB.js";
|
|
114
|
+
import "./resolve-route-rhGDrrKc.js";
|
|
115
|
+
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-DwPGGCBG.js";
|
|
116
116
|
import "./proxy-BmxJF3Z2.js";
|
|
117
|
-
import "./replies-
|
|
118
|
-
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-
|
|
117
|
+
import "./replies-9B0e_W0H.js";
|
|
118
|
+
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-D37MuS-y.js";
|
|
119
119
|
import "./prompt-style-lCXEOxSK.js";
|
|
120
|
-
import "./pairing-labels-
|
|
121
|
-
import "./session-meta-
|
|
122
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
123
|
-
import { r as resolveMemorySearchConfig } from "./manager-
|
|
124
|
-
import "./query-expansion-
|
|
120
|
+
import "./pairing-labels-BUGAt7vg.js";
|
|
121
|
+
import "./session-meta-Cyjw6vgH.js";
|
|
122
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-BMul3CV1.js";
|
|
123
|
+
import { r as resolveMemorySearchConfig } from "./manager-B74jUC6O.js";
|
|
124
|
+
import "./query-expansion-BOhTMSRT.js";
|
|
125
125
|
import { t as formatDocsLink } from "./links-EkBvdQLJ.js";
|
|
126
126
|
import { n as runCommandWithRuntime } from "./cli-utils-aSBNHQae.js";
|
|
127
127
|
import { t as formatHelpExamples } from "./help-format-BGSdS7w4.js";
|
|
@@ -134,45 +134,45 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-lwpZk6nY.
|
|
|
134
134
|
import { n as inheritOptionFromParent } from "./command-options-DGYxc3D_.js";
|
|
135
135
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
136
136
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
137
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
138
|
-
import { t as isWithinDir } from "./path-safety-
|
|
139
|
-
import { t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
140
|
-
import "./skill-scanner-
|
|
141
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
137
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-LYVTdqX3.js";
|
|
138
|
+
import { t as isWithinDir } from "./path-safety-DDHmx5YW.js";
|
|
139
|
+
import { t as assertCanonicalPathWithinBase } from "./install-safe-path-DBJEsbCp.js";
|
|
140
|
+
import "./skill-scanner-D7WuF5Sb.js";
|
|
141
|
+
import { n as formatConfigIssueLines } from "./issue-format-BK98Hpx-.js";
|
|
142
142
|
import { t as buildChannelAccountSnapshot } from "./status-BIupzBh9.js";
|
|
143
|
-
import "./channels-status-issues-
|
|
144
|
-
import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapshot, o as mapSensitivePaths, r as restoreRedactedValues, s as applyDerivedTags, t as redactConfigObject } from "./redact-snapshot-
|
|
145
|
-
import "./daemon-install-helpers-
|
|
143
|
+
import "./channels-status-issues-Ccr7cxgt.js";
|
|
144
|
+
import { a as buildBaseHints, i as applySensitiveHints, n as redactConfigSnapshot, o as mapSensitivePaths, r as restoreRedactedValues, s as applyDerivedTags, t as redactConfigObject } from "./redact-snapshot-Cx6qYiIY.js";
|
|
145
|
+
import "./daemon-install-helpers-BsUgG6nU.js";
|
|
146
146
|
import "./runtime-guard-Bif49nR1.js";
|
|
147
|
-
import "./systemd-
|
|
148
|
-
import "./service-
|
|
149
|
-
import "./lifecycle-core-
|
|
150
|
-
import "./systemd-hints-
|
|
147
|
+
import "./systemd-DVgFh5bF.js";
|
|
148
|
+
import "./service-DdLDWk4F.js";
|
|
149
|
+
import "./lifecycle-core-BrIHPmUB.js";
|
|
150
|
+
import "./systemd-hints-BC7wmmDb.js";
|
|
151
151
|
import { t as parsePort$1 } from "./parse-port-Dq63ch6Y.js";
|
|
152
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
153
|
-
import "./diagnostics-
|
|
152
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-CYtFdzXW.js";
|
|
153
|
+
import "./diagnostics-DCUyr8cM.js";
|
|
154
154
|
import "./table-DHipKm5c.js";
|
|
155
155
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-CJpVMOp6.js";
|
|
156
|
-
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-
|
|
157
|
-
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-
|
|
158
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
159
|
-
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-
|
|
160
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-
|
|
161
|
-
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-
|
|
162
|
-
import { o as isBitseekBuild } from "./status.update-
|
|
163
|
-
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-
|
|
164
|
-
import { i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-
|
|
165
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
166
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
156
|
+
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-fKlvovu7.js";
|
|
157
|
+
import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-l_hNB_7d.js";
|
|
158
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-Cr9ghR-L.js";
|
|
159
|
+
import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Bk0e2K3D.js";
|
|
160
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-BPybWGw9.js";
|
|
161
|
+
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-hAbiBedq.js";
|
|
162
|
+
import { o as isBitseekBuild } from "./status.update-CbAiJIbB.js";
|
|
163
|
+
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-D__SZrX3.js";
|
|
164
|
+
import { i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-vnX4kz3-.js";
|
|
165
|
+
import { t as runOnboardingWizard } from "./onboarding-ZExAuMgK.js";
|
|
166
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-BK4xHeAC.js";
|
|
167
167
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Bk2GBbEH.js";
|
|
168
|
-
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-
|
|
169
|
-
import "./node-service-
|
|
170
|
-
import "./shared-
|
|
171
|
-
import { d as verifyOpenAiCompatibleModel } from "./onboard-custom.shared-
|
|
172
|
-
import { n as formatInstallFailureMessage, t as installSkill } from "./skills-install-
|
|
173
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
174
|
-
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-
|
|
175
|
-
import { n as forceFreePortAndWait } from "./ports-
|
|
168
|
+
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-DDNdYXwK.js";
|
|
169
|
+
import "./node-service-BNRDY7GU.js";
|
|
170
|
+
import "./shared-D96SvIQZ.js";
|
|
171
|
+
import { d as verifyOpenAiCompatibleModel } from "./onboard-custom.shared-DGA1AopE.js";
|
|
172
|
+
import { n as formatInstallFailureMessage, t as installSkill } from "./skills-install-Ba_1ws_H.js";
|
|
173
|
+
import { t as runGatewayUpdate } from "./update-runner-sLKFIJY-.js";
|
|
174
|
+
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-CoIrgiMR.js";
|
|
175
|
+
import { n as forceFreePortAndWait } from "./ports-BNwHSlzK.js";
|
|
176
176
|
import { spawn, spawnSync } from "node:child_process";
|
|
177
177
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
178
178
|
import path from "node:path";
|
|
@@ -181,7 +181,7 @@ import * as fsSync from "node:fs";
|
|
|
181
181
|
import fs from "node:fs";
|
|
182
182
|
import chalk from "chalk";
|
|
183
183
|
import { isDeepStrictEqual } from "node:util";
|
|
184
|
-
import
|
|
184
|
+
import fs$1 from "node:fs/promises";
|
|
185
185
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
186
186
|
import { z } from "zod";
|
|
187
187
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
@@ -1251,7 +1251,7 @@ function resolveCheckIntervalMs(cfg) {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
async function readState(statePath) {
|
|
1253
1253
|
try {
|
|
1254
|
-
const raw = await
|
|
1254
|
+
const raw = await fs$1.readFile(statePath, "utf-8");
|
|
1255
1255
|
const parsed = JSON.parse(raw);
|
|
1256
1256
|
return parsed && typeof parsed === "object" ? parsed : {};
|
|
1257
1257
|
} catch {
|
|
@@ -1332,7 +1332,7 @@ async function runAutoUpdateCommand(params) {
|
|
|
1332
1332
|
path.join(params.root, "dist", "index.mjs")
|
|
1333
1333
|
];
|
|
1334
1334
|
for (const candidate of candidates) try {
|
|
1335
|
-
await
|
|
1335
|
+
await fs$1.access(candidate);
|
|
1336
1336
|
argv.push(execPath, candidate, ...baseArgs);
|
|
1337
1337
|
break;
|
|
1338
1338
|
} catch {}
|
|
@@ -4408,20 +4408,20 @@ async function drainPendingWrite(filePath) {
|
|
|
4408
4408
|
if (pending) await pending.catch(() => void 0);
|
|
4409
4409
|
}
|
|
4410
4410
|
async function pruneIfNeeded(filePath, opts) {
|
|
4411
|
-
const stat = await
|
|
4411
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
4412
4412
|
if (!stat || stat.size <= opts.maxBytes) return;
|
|
4413
|
-
const lines = (await
|
|
4413
|
+
const lines = (await fs$1.readFile(filePath, "utf-8").catch(() => "")).split("\n").map((l) => l.trim()).filter(Boolean);
|
|
4414
4414
|
const kept = lines.slice(Math.max(0, lines.length - opts.keepLines));
|
|
4415
4415
|
const { randomBytes } = await import("node:crypto");
|
|
4416
4416
|
const tmp = `${filePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
4417
|
-
await
|
|
4418
|
-
await
|
|
4417
|
+
await fs$1.writeFile(tmp, `${kept.join("\n")}\n`, "utf-8");
|
|
4418
|
+
await fs$1.rename(tmp, filePath);
|
|
4419
4419
|
}
|
|
4420
4420
|
async function appendCronRunLog(filePath, entry, opts) {
|
|
4421
4421
|
const resolved = path.resolve(filePath);
|
|
4422
4422
|
const next = (writesByPath.get(resolved) ?? Promise.resolve()).catch(() => void 0).then(async () => {
|
|
4423
|
-
await
|
|
4424
|
-
await
|
|
4423
|
+
await fs$1.mkdir(path.dirname(resolved), { recursive: true });
|
|
4424
|
+
await fs$1.appendFile(resolved, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
4425
4425
|
await pruneIfNeeded(resolved, {
|
|
4426
4426
|
maxBytes: opts?.maxBytes ?? DEFAULT_CRON_RUN_LOG_MAX_BYTES,
|
|
4427
4427
|
keepLines: opts?.keepLines ?? DEFAULT_CRON_RUN_LOG_KEEP_LINES
|
|
@@ -4515,7 +4515,7 @@ function filterRunLogEntries(entries, opts) {
|
|
|
4515
4515
|
async function readCronRunLogEntriesPage(filePath, opts) {
|
|
4516
4516
|
await drainPendingWrite(filePath);
|
|
4517
4517
|
const limit = Math.max(1, Math.min(200, Math.floor(opts?.limit ?? 50)));
|
|
4518
|
-
const raw = await
|
|
4518
|
+
const raw = await fs$1.readFile(path.resolve(filePath), "utf-8").catch(() => "");
|
|
4519
4519
|
const statuses = normalizeRunStatuses(opts);
|
|
4520
4520
|
const deliveryStatuses = normalizeDeliveryStatuses(opts);
|
|
4521
4521
|
const query = opts?.query?.trim().toLowerCase() ?? "";
|
|
@@ -4551,7 +4551,7 @@ async function readCronRunLogEntriesPageAll(opts) {
|
|
|
4551
4551
|
const query = opts.query?.trim().toLowerCase() ?? "";
|
|
4552
4552
|
const sortDir = opts.sortDir === "asc" ? "asc" : "desc";
|
|
4553
4553
|
const runsDir = path.resolve(path.dirname(path.resolve(opts.storePath)), "runs");
|
|
4554
|
-
const jsonlFiles = (await
|
|
4554
|
+
const jsonlFiles = (await fs$1.readdir(runsDir, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).map((entry) => path.join(runsDir, entry.name));
|
|
4555
4555
|
if (jsonlFiles.length === 0) return {
|
|
4556
4556
|
entries: [],
|
|
4557
4557
|
total: 0,
|
|
@@ -4562,7 +4562,7 @@ async function readCronRunLogEntriesPageAll(opts) {
|
|
|
4562
4562
|
};
|
|
4563
4563
|
await Promise.all(jsonlFiles.map((f) => drainPendingWrite(f)));
|
|
4564
4564
|
const filtered = filterRunLogEntries((await Promise.all(jsonlFiles.map(async (filePath) => {
|
|
4565
|
-
return parseAllRunLogEntries(await
|
|
4565
|
+
return parseAllRunLogEntries(await fs$1.readFile(filePath, "utf-8").catch(() => ""));
|
|
4566
4566
|
}))).flat(), {
|
|
4567
4567
|
statuses,
|
|
4568
4568
|
deliveryStatuses,
|
|
@@ -9770,7 +9770,7 @@ function resolveAgentWorkspaceFileOrRespondError(params, respond) {
|
|
|
9770
9770
|
}
|
|
9771
9771
|
async function resolveWorkspaceRealPath(workspaceDir) {
|
|
9772
9772
|
try {
|
|
9773
|
-
return await
|
|
9773
|
+
return await fs$1.realpath(workspaceDir);
|
|
9774
9774
|
} catch {
|
|
9775
9775
|
return path.resolve(workspaceDir);
|
|
9776
9776
|
}
|
|
@@ -9794,7 +9794,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9794
9794
|
}
|
|
9795
9795
|
let candidateLstat;
|
|
9796
9796
|
try {
|
|
9797
|
-
candidateLstat = await
|
|
9797
|
+
candidateLstat = await fs$1.lstat(candidatePath);
|
|
9798
9798
|
} catch (err) {
|
|
9799
9799
|
if (isNotFoundPathError(err)) {
|
|
9800
9800
|
if (params.allowMissing) return {
|
|
@@ -9814,7 +9814,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9814
9814
|
if (candidateLstat.isSymbolicLink()) {
|
|
9815
9815
|
let targetReal;
|
|
9816
9816
|
try {
|
|
9817
|
-
targetReal = await
|
|
9817
|
+
targetReal = await fs$1.realpath(candidatePath);
|
|
9818
9818
|
} catch (err) {
|
|
9819
9819
|
if (isNotFoundPathError(err)) {
|
|
9820
9820
|
if (params.allowMissing) return {
|
|
@@ -9833,7 +9833,7 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9833
9833
|
}
|
|
9834
9834
|
let targetStat;
|
|
9835
9835
|
try {
|
|
9836
|
-
targetStat = await
|
|
9836
|
+
targetStat = await fs$1.stat(targetReal);
|
|
9837
9837
|
} catch (err) {
|
|
9838
9838
|
if (isNotFoundPathError(err)) {
|
|
9839
9839
|
if (params.allowMissing) return {
|
|
@@ -9880,13 +9880,13 @@ async function resolveAgentWorkspaceFilePath(params) {
|
|
|
9880
9880
|
return {
|
|
9881
9881
|
kind: "ready",
|
|
9882
9882
|
requestPath,
|
|
9883
|
-
ioPath: await
|
|
9883
|
+
ioPath: await fs$1.realpath(candidatePath).catch(() => candidatePath),
|
|
9884
9884
|
workspaceReal
|
|
9885
9885
|
};
|
|
9886
9886
|
}
|
|
9887
9887
|
async function statFileSafely(filePath) {
|
|
9888
9888
|
try {
|
|
9889
|
-
const [stat, lstat] = await Promise.all([
|
|
9889
|
+
const [stat, lstat] = await Promise.all([fs$1.stat(filePath), fs$1.lstat(filePath)]);
|
|
9890
9890
|
if (lstat.isSymbolicLink() || !stat.isFile()) return null;
|
|
9891
9891
|
if (stat.nlink > 1) return null;
|
|
9892
9892
|
if (!sameFileIdentity(stat, lstat)) return null;
|
|
@@ -9971,7 +9971,7 @@ function resolveOptionalStringParam(value) {
|
|
|
9971
9971
|
async function moveToTrashBestEffort(pathname) {
|
|
9972
9972
|
if (!pathname) return;
|
|
9973
9973
|
try {
|
|
9974
|
-
await
|
|
9974
|
+
await fs$1.access(pathname);
|
|
9975
9975
|
} catch {
|
|
9976
9976
|
return;
|
|
9977
9977
|
}
|
|
@@ -10047,7 +10047,7 @@ const agentsHandlers = {
|
|
|
10047
10047
|
dir: workspaceDir,
|
|
10048
10048
|
ensureBootstrapFiles: !Boolean(nextConfig.agents?.defaults?.skipBootstrap)
|
|
10049
10049
|
});
|
|
10050
|
-
await
|
|
10050
|
+
await fs$1.mkdir(resolveSessionTranscriptsDirForAgent(agentId), { recursive: true });
|
|
10051
10051
|
await writeConfigFile(nextConfig);
|
|
10052
10052
|
const safeName = sanitizeIdentityLine(rawName);
|
|
10053
10053
|
const emoji = resolveOptionalStringParam(params.emoji);
|
|
@@ -10060,7 +10060,7 @@ const agentsHandlers = {
|
|
|
10060
10060
|
...avatar ? [`- Avatar: ${sanitizeIdentityLine(avatar)}`] : [],
|
|
10061
10061
|
""
|
|
10062
10062
|
];
|
|
10063
|
-
await
|
|
10063
|
+
await fs$1.appendFile(identityPath, lines.join("\n"), "utf-8");
|
|
10064
10064
|
respond(true, {
|
|
10065
10065
|
ok: true,
|
|
10066
10066
|
agentId,
|
|
@@ -10095,9 +10095,9 @@ const agentsHandlers = {
|
|
|
10095
10095
|
});
|
|
10096
10096
|
if (avatar) {
|
|
10097
10097
|
const workspace = workspaceDir ?? resolveAgentWorkspaceDir(nextConfig, agentId);
|
|
10098
|
-
await
|
|
10098
|
+
await fs$1.mkdir(workspace, { recursive: true });
|
|
10099
10099
|
const identityPath = path.join(workspace, DEFAULT_IDENTITY_FILENAME);
|
|
10100
|
-
await
|
|
10100
|
+
await fs$1.appendFile(identityPath, `\n- Avatar: ${sanitizeIdentityLine(avatar)}\n`, "utf-8");
|
|
10101
10101
|
}
|
|
10102
10102
|
respond(true, {
|
|
10103
10103
|
ok: true,
|
|
@@ -10221,7 +10221,7 @@ const agentsHandlers = {
|
|
|
10221
10221
|
const resolved = resolveAgentWorkspaceFileOrRespondError(params, respond);
|
|
10222
10222
|
if (!resolved) return;
|
|
10223
10223
|
const { agentId, workspaceDir, name } = resolved;
|
|
10224
|
-
await
|
|
10224
|
+
await fs$1.mkdir(workspaceDir, { recursive: true });
|
|
10225
10225
|
const filePath = path.join(workspaceDir, name);
|
|
10226
10226
|
const resolvedPath = await resolveWorkspaceFilePathOrRespond({
|
|
10227
10227
|
respond,
|
|
@@ -12521,14 +12521,14 @@ function isRollingLogFile(file) {
|
|
|
12521
12521
|
return ROLLING_LOG_RE.test(path.basename(file));
|
|
12522
12522
|
}
|
|
12523
12523
|
async function resolveLogFile(file) {
|
|
12524
|
-
if (await
|
|
12524
|
+
if (await fs$1.stat(file).catch(() => null)) return file;
|
|
12525
12525
|
if (!isRollingLogFile(file)) return file;
|
|
12526
12526
|
const dir = path.dirname(file);
|
|
12527
|
-
const entries = await
|
|
12527
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => null);
|
|
12528
12528
|
if (!entries) return file;
|
|
12529
12529
|
return (await Promise.all(entries.filter((entry) => entry.isFile() && ROLLING_LOG_RE.test(entry.name)).map(async (entry) => {
|
|
12530
12530
|
const fullPath = path.join(dir, entry.name);
|
|
12531
|
-
const fileStat = await
|
|
12531
|
+
const fileStat = await fs$1.stat(fullPath).catch(() => null);
|
|
12532
12532
|
return fileStat ? {
|
|
12533
12533
|
path: fullPath,
|
|
12534
12534
|
mtimeMs: fileStat.mtimeMs
|
|
@@ -12536,7 +12536,7 @@ async function resolveLogFile(file) {
|
|
|
12536
12536
|
}))).filter((entry) => Boolean(entry)).toSorted((a, b) => b.mtimeMs - a.mtimeMs)[0]?.path ?? file;
|
|
12537
12537
|
}
|
|
12538
12538
|
async function readLogSlice(params) {
|
|
12539
|
-
const stat = await
|
|
12539
|
+
const stat = await fs$1.stat(params.file).catch(() => null);
|
|
12540
12540
|
if (!stat) return {
|
|
12541
12541
|
cursor: 0,
|
|
12542
12542
|
size: 0,
|
|
@@ -12574,7 +12574,7 @@ async function readLogSlice(params) {
|
|
|
12574
12574
|
truncated,
|
|
12575
12575
|
reset
|
|
12576
12576
|
};
|
|
12577
|
-
const handle = await
|
|
12577
|
+
const handle = await fs$1.open(params.file, "r");
|
|
12578
12578
|
try {
|
|
12579
12579
|
let prefix = "";
|
|
12580
12580
|
if (start > 0) {
|
|
@@ -13621,7 +13621,7 @@ const nodeHandlers = {
|
|
|
13621
13621
|
const p = params;
|
|
13622
13622
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
13623
13623
|
await respondUnavailableOnThrow(respond, async () => {
|
|
13624
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
13624
|
+
const { handleNodeEvent } = await import("./server-node-events-p6pocXHJ.js");
|
|
13625
13625
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
13626
13626
|
await handleNodeEvent({
|
|
13627
13627
|
deps: context.deps,
|
|
@@ -14367,11 +14367,11 @@ async function installLocalMarketSkill(params) {
|
|
|
14367
14367
|
candidatePath: sourceDir,
|
|
14368
14368
|
boundaryLabel: "market templates directory"
|
|
14369
14369
|
});
|
|
14370
|
-
if (!(await
|
|
14370
|
+
if (!(await fs$1.stat(sourceDir)).isDirectory()) return {
|
|
14371
14371
|
ok: false,
|
|
14372
14372
|
message: `Local template "${templateDir}" is not a directory.`
|
|
14373
14373
|
};
|
|
14374
|
-
if (!(await
|
|
14374
|
+
if (!(await fs$1.stat(sourceSkillPath)).isFile()) return {
|
|
14375
14375
|
ok: false,
|
|
14376
14376
|
message: `Local template "${templateDir}" is missing SKILL.md.`
|
|
14377
14377
|
};
|
|
@@ -14385,13 +14385,13 @@ async function installLocalMarketSkill(params) {
|
|
|
14385
14385
|
const workspaceSkillsDir = path.join(workspaceDir, "skills");
|
|
14386
14386
|
const targetDir = path.join(workspaceSkillsDir, templateDir);
|
|
14387
14387
|
try {
|
|
14388
|
-
await
|
|
14388
|
+
await fs$1.mkdir(workspaceSkillsDir, { recursive: true });
|
|
14389
14389
|
await assertCanonicalPathWithinBase({
|
|
14390
14390
|
baseDir: workspaceSkillsDir,
|
|
14391
14391
|
candidatePath: targetDir,
|
|
14392
14392
|
boundaryLabel: "workspace skills directory"
|
|
14393
14393
|
});
|
|
14394
|
-
await
|
|
14394
|
+
await fs$1.cp(sourceDir, targetDir, {
|
|
14395
14395
|
recursive: true,
|
|
14396
14396
|
force: true
|
|
14397
14397
|
});
|
|
@@ -17235,7 +17235,7 @@ function normalizeAgentPayload(payload) {
|
|
|
17235
17235
|
async function startBrowserControlServerIfEnabled() {
|
|
17236
17236
|
if (isTruthyEnvValue(process.env.OPENCLAW_SKIP_BROWSER_CONTROL_SERVER)) return null;
|
|
17237
17237
|
const override = process.env.OPENCLAW_BROWSER_CONTROL_MODULE?.trim();
|
|
17238
|
-
const mod = override ? await import(override) : await import("./server-
|
|
17238
|
+
const mod = override ? await import(override) : await import("./server-BAuP980-.js");
|
|
17239
17239
|
const start = typeof mod.startBrowserControlServiceFromConfig === "function" ? mod.startBrowserControlServiceFromConfig : mod.startBrowserControlServerFromConfig;
|
|
17240
17240
|
const stop = typeof mod.stopBrowserControlService === "function" ? mod.stopBrowserControlService : mod.stopBrowserControlServer;
|
|
17241
17241
|
if (!start) return null;
|
|
@@ -17463,7 +17463,7 @@ async function resolveFileWithinRoot(rootReal, urlPath) {
|
|
|
17463
17463
|
if (normalized.endsWith("/")) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
17464
17464
|
const candidate = path.join(rootReal, rel);
|
|
17465
17465
|
try {
|
|
17466
|
-
const st = await
|
|
17466
|
+
const st = await fs$1.lstat(candidate);
|
|
17467
17467
|
if (st.isSymbolicLink()) return null;
|
|
17468
17468
|
if (st.isDirectory()) return await tryOpen(path.posix.join(rel, "index.html"));
|
|
17469
17469
|
} catch {}
|
|
@@ -17500,8 +17500,8 @@ async function resolveA2uiRoot() {
|
|
|
17500
17500
|
for (const dir of candidates) try {
|
|
17501
17501
|
const indexPath = path.join(dir, "index.html");
|
|
17502
17502
|
const bundlePath = path.join(dir, "a2ui.bundle.js");
|
|
17503
|
-
await
|
|
17504
|
-
await
|
|
17503
|
+
await fs$1.stat(indexPath);
|
|
17504
|
+
await fs$1.stat(bundlePath);
|
|
17505
17505
|
return dir;
|
|
17506
17506
|
} catch {}
|
|
17507
17507
|
return null;
|
|
@@ -17510,7 +17510,7 @@ async function resolveA2uiRootReal() {
|
|
|
17510
17510
|
if (cachedA2uiRootReal !== void 0 && (cachedA2uiRootReal !== null || Date.now() - cachedA2uiResolvedAtMs < A2UI_ROOT_RETRY_NULL_AFTER_MS)) return cachedA2uiRootReal;
|
|
17511
17511
|
if (!resolvingA2uiRoot) resolvingA2uiRoot = (async () => {
|
|
17512
17512
|
const root = await resolveA2uiRoot();
|
|
17513
|
-
cachedA2uiRootReal = root ? await
|
|
17513
|
+
cachedA2uiRootReal = root ? await fs$1.realpath(root) : null;
|
|
17514
17514
|
cachedA2uiResolvedAtMs = Date.now();
|
|
17515
17515
|
resolvingA2uiRoot = null;
|
|
17516
17516
|
return cachedA2uiRootReal;
|
|
@@ -17731,13 +17731,13 @@ function normalizeBasePath(rawPath) {
|
|
|
17731
17731
|
}
|
|
17732
17732
|
async function prepareCanvasRoot(rootDir) {
|
|
17733
17733
|
await ensureDir(rootDir);
|
|
17734
|
-
const rootReal = await
|
|
17734
|
+
const rootReal = await fs$1.realpath(rootDir);
|
|
17735
17735
|
try {
|
|
17736
17736
|
const indexPath = path.join(rootReal, "index.html");
|
|
17737
|
-
await
|
|
17737
|
+
await fs$1.stat(indexPath);
|
|
17738
17738
|
} catch {
|
|
17739
17739
|
try {
|
|
17740
|
-
await
|
|
17740
|
+
await fs$1.writeFile(path.join(rootReal, "index.html"), defaultIndexHTML(), "utf8");
|
|
17741
17741
|
} catch {}
|
|
17742
17742
|
}
|
|
17743
17743
|
return rootReal;
|
|
@@ -20744,7 +20744,7 @@ async function resolveGatewayOwnerStatus(pid, payload, platform, port) {
|
|
|
20744
20744
|
}
|
|
20745
20745
|
async function readLockPayload(lockPath) {
|
|
20746
20746
|
try {
|
|
20747
|
-
const raw = await
|
|
20747
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
20748
20748
|
const parsed = JSON.parse(raw);
|
|
20749
20749
|
if (typeof parsed.pid !== "number") return null;
|
|
20750
20750
|
if (typeof parsed.createdAt !== "string") return null;
|
|
@@ -20779,11 +20779,11 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20779
20779
|
const platform = opts.platform ?? process.platform;
|
|
20780
20780
|
const port = opts.port;
|
|
20781
20781
|
const { lockPath, configPath } = resolveGatewayLockPath(env);
|
|
20782
|
-
await
|
|
20782
|
+
await fs$1.mkdir(path.dirname(lockPath), { recursive: true });
|
|
20783
20783
|
const startedAt = Date.now();
|
|
20784
20784
|
let lastPayload = null;
|
|
20785
20785
|
while (Date.now() - startedAt < timeoutMs) try {
|
|
20786
|
-
const handle = await
|
|
20786
|
+
const handle = await fs$1.open(lockPath, "wx");
|
|
20787
20787
|
const startTime = platform === "linux" ? readLinuxStartTime(process.pid) : null;
|
|
20788
20788
|
const payload = {
|
|
20789
20789
|
pid: process.pid,
|
|
@@ -20797,7 +20797,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20797
20797
|
configPath,
|
|
20798
20798
|
release: async () => {
|
|
20799
20799
|
await handle.close().catch(() => void 0);
|
|
20800
|
-
await
|
|
20800
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20801
20801
|
}
|
|
20802
20802
|
};
|
|
20803
20803
|
} catch (err) {
|
|
@@ -20806,7 +20806,7 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20806
20806
|
const ownerPid = lastPayload?.pid;
|
|
20807
20807
|
const ownerStatus = ownerPid ? await resolveGatewayOwnerStatus(ownerPid, lastPayload, platform, port) : "unknown";
|
|
20808
20808
|
if (ownerStatus === "dead" && ownerPid) {
|
|
20809
|
-
await
|
|
20809
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20810
20810
|
continue;
|
|
20811
20811
|
}
|
|
20812
20812
|
if (ownerStatus !== "alive") {
|
|
@@ -20816,13 +20816,13 @@ async function acquireGatewayLock(opts = {}) {
|
|
|
20816
20816
|
stale = Number.isFinite(createdAt) ? Date.now() - createdAt > staleMs : false;
|
|
20817
20817
|
}
|
|
20818
20818
|
if (!stale) try {
|
|
20819
|
-
const st = await
|
|
20819
|
+
const st = await fs$1.stat(lockPath);
|
|
20820
20820
|
stale = Date.now() - st.mtimeMs > staleMs;
|
|
20821
20821
|
} catch {
|
|
20822
20822
|
stale = false;
|
|
20823
20823
|
}
|
|
20824
20824
|
if (stale) {
|
|
20825
|
-
await
|
|
20825
|
+
await fs$1.rm(lockPath, { force: true });
|
|
20826
20826
|
continue;
|
|
20827
20827
|
}
|
|
20828
20828
|
}
|
|
@@ -23132,7 +23132,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
23132
23132
|
if (!minimalTestGateway) cron.start().catch((err) => logCron.error(`failed to start: ${String(err)}`));
|
|
23133
23133
|
if (!minimalTestGateway) (async () => {
|
|
23134
23134
|
const { recoverPendingDeliveries } = await import("./delivery-queue-igSkk02R.js").then((n) => n.n);
|
|
23135
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
23135
|
+
const { deliverOutboundPayloads } = await import("./deliver-DkGKUNSW.js").then((n) => n.n);
|
|
23136
23136
|
await recoverPendingDeliveries({
|
|
23137
23137
|
deliver: deliverOutboundPayloads,
|
|
23138
23138
|
log: log.child("delivery-recovery"),
|