wednesdayai 0.5.1-dev.49 → 0.5.1-dev.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-CSDr9rFY.js → acp-cli-B4dS4wV-.js} +11 -11
- package/dist/{agent-scope-Daay3L1Q.js → agent-scope-m37qEcFM.js} +21 -21
- package/dist/{agent-turn-enqueue-Ca29Rbkz.js → agent-turn-enqueue-ArRzUyAk.js} +6 -6
- package/dist/{agent-turn-execute-B4iUpIbf.js → agent-turn-execute-CM4O0yRh.js} +155 -155
- package/dist/{agent-turn-recovery-adapter-CN7R7ZpE.js → agent-turn-recovery-adapter-CV9hCfhV.js} +3 -3
- package/dist/{agent-turn-runner-y6DgnCcB.js → agent-turn-runner-DoUxdVA8.js} +4 -4
- package/dist/{agents-BR_k8DOr.js → agents-8IrzkYKe.js} +21 -21
- package/dist/{agents.config-ClrzdK7g.js → agents.config-B22brY93.js} +3 -3
- package/dist/{api-key-rotation-ZuntHnbE.js → api-key-rotation-D42o6Zng.js} +1 -1
- package/dist/{audio-preflight-BIOdIaYS.js → audio-preflight-C3hxTGYi.js} +37 -37
- package/dist/{audio-transcription-runner-Cn0jB-li.js → audio-transcription-runner-BCsXP8-1.js} +27 -27
- package/dist/{audit-TBCP_6jm.js → audit-BvrCpsTe.js} +31 -31
- package/dist/{auth-nD5DAjKr.js → auth-B4_HVLhd.js} +4 -4
- package/dist/{auth-choice-35J0xM6Z.js → auth-choice-DPnina-M.js} +15 -15
- package/dist/{auth-choice-Bq8CC1lU.js → auth-choice-kM9PIJr4.js} +13 -13
- package/dist/{auth-choice.apply-helpers-YNiPajEk.js → auth-choice.apply-helpers-DVZh64eB.js} +1 -1
- package/dist/{auth-token-BzoQdUL6.js → auth-token-CrC72-Fb.js} +2 -2
- package/dist/{banner-MupqYLcq.js → banner-CP6z-7_Z.js} +4 -4
- package/dist/{bonjour-discovery-CVCaA_iW.js → bonjour-discovery-CXRsUe5D.js} +3 -3
- package/dist/{browser-cli-UBdCgnrs.js → browser-cli-B_4FyxW8.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/{call-xzY_YjPJ.js → call-DiXPYDxn.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Cgiem_zz.js → channel-account-context-Df3_ZrlO.js} +7 -7
- package/dist/{channel-options-ceRWPyZu.js → channel-options-DqiC37-O.js} +3 -3
- package/dist/{channel-selection-CTSiOhj4.js → channel-selection-CggPBiFX.js} +1 -1
- package/dist/{channels-cli-BwgQPXDo.js → channels-cli-DL63TJdS.js} +122 -122
- package/dist/{channels-status-issues-CnBn-qEt.js → channels-status-issues-CdXaTFd3.js} +1 -1
- package/dist/{chrome-DJwFDuoy.js → chrome-o2uZSWIt.js} +6 -6
- package/dist/{chunk-Cac92Mfe.js → chunk-CWJj0yTC.js} +3 -3
- package/dist/{clack-prompter-Cjs9OUc5.js → clack-prompter-BKD0RJgm.js} +5 -5
- package/dist/clawbot-cli-sFSfxALD.js +33 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-DZ1p-qqR.js +168 -0
- package/dist/{client-BHIM--Lw.js → client-B3-vuVAE.js} +4 -4
- package/dist/{client-profiles-C576THk-.js → client-profiles-Bc3sF7Zy.js} +2 -2
- package/dist/{clipboard-BNyun_kb.js → clipboard-DbPKCnXY.js} +1 -1
- package/dist/{command-queue-QaMaW8lR.js → command-queue-D8Y7Hgzy.js} +1 -1
- package/dist/{command-registry-DupEgpR0.js → command-registry-CjWadaVi.js} +14 -14
- package/dist/{command-secret-targets-DSyP6TXo.js → command-secret-targets-DfQv7jnw.js} +4 -4
- package/dist/{commands-W2-5cDc4.js → commands-CVdmhZKr.js} +1 -1
- package/dist/{commands-registry-D7RtFxju.js → commands-registry-B4aR17xV.js} +3 -3
- package/dist/{completion-cli-FCJfJebn.js → completion-cli-CNuhIsey.js} +16 -16
- package/dist/{config-cli-VIY_NYNB.js → config-cli-BUhVl5pE.js} +10 -10
- package/dist/{config-guard-Bmr1IhWb.js → config-guard-buy7Cjbp.js} +4 -4
- package/dist/{config-validation-D51v90j4.js → config-validation-Bv5bbuxd.js} +4 -4
- package/dist/{configure-DY9M7xe9.js → configure-D2cKTH1K.js} +25 -25
- package/dist/{control-ui-assets-Dm1xGH5K.js → control-ui-assets-CTBYi2MG.js} +3 -3
- package/dist/{controller-_1HRMACq.js → controller-CEWtbHG6.js} +1 -1
- package/dist/{credentials-BeQIuOVH.js → credentials-Db9gEJyX.js} +1 -1
- package/dist/{cron-cli-Df48V_il.js → cron-cli-iv9AjWjS.js} +14 -14
- package/dist/{daemon-cli-BaePnoF7.js → daemon-cli-P_RNqlTz.js} +19 -19
- package/dist/{daemon-install-DWcz5r6O.js → daemon-install-D-kvx3V5.js} +10 -10
- package/dist/{daemon-install-helpers-Dhf36TZZ.js → daemon-install-helpers-9DICPTya.js} +13 -13
- package/dist/{delete-agent-sessions-uGdBmFVU.js → delete-agent-sessions-BfuIBVng.js} +1 -1
- package/dist/{deliver-CsBM7Sux.js → deliver-vnUlcBpf.js} +12 -12
- package/dist/{devices-cli-DJfaFSmn.js → devices-cli-a6nbvYoE.js} +13 -13
- package/dist/{diagnostic-DAPS8u-k.js → diagnostic-DJz53yyc.js} +4 -4
- package/dist/{diagnostics-nXbz9WIN.js → diagnostics-CCJvDjHM.js} +5 -5
- package/dist/{directory-cli-BLhDYrKO.js → directory-cli-DZt6_oyq.js} +11 -11
- package/dist/{dm-policy-shared-BruH8gYz.js → dm-policy-shared-B2rRMZjX.js} +5 -5
- package/dist/{dns-cli-B5kFZNM_.js → dns-cli-Cr7olDhH.js} +10 -10
- package/dist/{docs-cli-CA-BUSdK.js → docs-cli-D0IbS-w_.js} +9 -9
- package/dist/{doctor-completion-DPfr7dYc.js → doctor-completion-CTN0KnCG.js} +3 -3
- package/dist/{doctor-config-flow-CwSjXDoe.js → doctor-config-flow-BcbZEvhN.js} +17 -17
- package/dist/{enable-DiygfPTs.js → enable-FeowesRW.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-DgfbhlVq.js → exec-BadOxgw_.js} +2 -2
- package/dist/{exec-approvals-allowlist-BQNCcnrB.js → exec-approvals-allowlist-CvMIZ3Av.js} +1 -1
- package/dist/{exec-approvals-cli-Cwg4-I6U.js → exec-approvals-cli-TIjMcgyZ.js} +22 -22
- package/dist/{exec-approvals-ClDOrgGo.js → exec-approvals-iao6P-Sv.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-B_c-JxLa.js → exec-safe-bin-runtime-policy-18lfJBlE.js} +2 -2
- package/dist/{extension-relay-auth-zGWI5gYg.js → extension-relay-auth-DaJK0rd5.js} +10 -10
- package/dist/{fetch---jlJUEM.js → fetch-COhcdJbk.js} +5 -5
- package/dist/{fetch-guard-iae-zVNj.js → fetch-guard-ChaY1JfD.js} +2 -2
- package/dist/{fs-safe-9jT9nWzE.js → fs-safe-CJ7BaYqw.js} +25 -25
- package/dist/{gateway-cli-B5anPDYc.js → gateway-cli-BrOSHlSK.js} +200 -200
- package/dist/{gateway-rpc-CJhrbhwy.js → gateway-rpc-qeYBKW7U.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-BjW3d-63.js → gmail-setup-utils-CobB8zXB.js} +2 -2
- package/dist/{health-DR2dYPoD.js → health-Dff2iJXm.js} +11 -11
- package/dist/{health-format-fI8G4Mpf.js → health-format-CiSn_s8O.js} +1 -1
- package/dist/{heartbeat-tick-btylKJi7.js → heartbeat-tick-DsC4du2J.js} +1 -1
- package/dist/{help-format-CoaYSXD2.js → help-format-vSbRPQ2Y.js} +1 -1
- package/dist/{helpers-BSIlmKX7.js → helpers-CmFDbO4C.js} +1 -1
- package/dist/{hooks-cli-DRa-pNVn.js → hooks-cli-Cg_LIDvE.js} +110 -110
- package/dist/{hooks-status-CHpefcMx.js → hooks-status-Cz3FinlP.js} +2 -2
- package/dist/{identity-cli-CNcWNIW-.js → identity-cli-Cvp7fIZM.js} +20 -20
- package/dist/{identity-links-avuUsTN6.js → identity-links-DP7R0NPE.js} +4 -4
- package/dist/{identity-links-live-BL__Ecwf.js → identity-links-live-Bi60qFYK.js} +1 -1
- package/dist/{image-ops-CaP-qXCU.js → image-ops-fsbohlx7.js} +11 -11
- package/dist/{inspect-CoNYULj4.js → inspect-dN8Sghor.js} +4 -4
- package/dist/{install-safe-path-D9kvfVs4.js → install-safe-path-D8uZKU9M.js} +25 -25
- package/dist/{installs-Bs4nGu6t.js → installs-Di1c2v3h.js} +10 -10
- package/dist/{ipv4-ClJ3jo3P.js → ipv4-2ElrM9Sz.js} +2 -2
- package/dist/{ir-3e4BsvCp.js → ir-G6mp02Um.js} +8 -8
- package/dist/{issue-format-CcyrT_ll.js → issue-format-CEhsl7Wj.js} +1 -1
- package/dist/{jobs-Dh5LHEXG.js → jobs-BXFDvC34.js} +3 -3
- package/dist/{json-files--SPKjIRq.js → json-files-DQ0SWA8I.js} +7 -7
- package/dist/{lifecycle-core-CC9SYYk6.js → lifecycle-core-m816LTRQ.js} +9 -9
- package/dist/{links-DhEAHyJK.js → links-CdYxxGpz.js} +1 -1
- package/dist/{log-tail-BKVxlVAs.js → log-tail-BGUoZ3uj.js} +7 -7
- package/dist/{logging-CbulhL7o.js → logging-BcooikJ6.js} +1 -1
- package/dist/{logs-cli-6mdXA28U.js → logs-cli-DBMjDhb-.js} +18 -18
- package/dist/{manager-zP9NLy9y.js → manager-NberoPlo.js} +14 -14
- package/dist/{manager-ByvI6Ro3.js → manager-kfVhbDC5.js} +9 -9
- package/dist/{markdown-tables-DXuYgzLS.js → markdown-tables-CIDos_m6.js} +2 -2
- package/dist/{memory-cli-BuY1OqI1.js → memory-cli-CTBlq72D.js} +19 -19
- package/dist/{model-Cnbe29aL.js → model-DLnu2ZHK.js} +2 -2
- package/dist/{model-catalog-qSGqRSeB.js → model-catalog-DShV9nqu.js} +4 -4
- package/dist/{model-picker-Esi1b_6D.js → model-picker-DWhiEZI7.js} +4 -4
- package/dist/{models-ZMCaSPw_.js → models-Cz5Kterd.js} +22 -22
- package/dist/{models-cli-CAMmJjvq.js → models-cli-BoDMHZu8.js} +110 -110
- package/dist/{models-config-CzWBExZR.js → models-config-MT7bTyDD.js} +7 -7
- package/dist/{node-cli-CwcTuNzE.js → node-cli-C_4LoQOV.js} +43 -43
- package/dist/{node-command-policy-E6RVVTJQ.js → node-command-policy-BBvAh8Rh.js} +1 -1
- package/dist/{node-service-Dvf6aAZJ.js → node-service-DCKAYWfS.js} +1 -1
- package/dist/{nodes-cli-BuQlqtRW.js → nodes-cli-DGvDAyok.js} +23 -23
- package/dist/{nodes-screen-DLNLgCSg.js → nodes-screen-4mQTqYUN.js} +8 -8
- package/dist/{note-CVlhiP2P.js → note-IQhv9g1L.js} +2 -2
- package/dist/{npm-pack-install-D_Sj0nv2.js → npm-pack-install-D4CH04qy.js} +23 -23
- package/dist/{npm-resolution-zax_R0pB.js → npm-resolution-DaMWVeZe.js} +5 -5
- package/dist/{nudge-D9rNDPko.js → nudge-DAMdAd6o.js} +9 -9
- package/dist/{oauth-tls-preflight-DLH5IYXS.js → oauth-tls-preflight-CkoqXyrR.js} +1 -1
- package/dist/{onboard-DD3dH3k9.js → onboard-DD49foBa.js} +11 -11
- package/dist/{onboard-channels-BBE-Agqp.js → onboard-channels-CpiuyfFX.js} +24 -24
- package/dist/{onboard-custom-CEY7uEmj.js → onboard-custom-Dk2A4Q3G.js} +4 -4
- package/dist/{onboard-helpers-BMVut_hd.js → onboard-helpers-CyIeOf0n.js} +13 -13
- package/dist/{onboard-hooks-CG-FJnI-.js → onboard-hooks-o9_Jnoi3.js} +6 -6
- package/dist/{onboard-remote-DEpMgQbz.js → onboard-remote-lRnElN1u.js} +5 -5
- package/dist/{onboard-skills-Bg7_D4v3.js → onboard-skills-DG2pTqSo.js} +4 -4
- package/dist/{onboarding-DAr0y1xl.js → onboarding-DSJ6YXNm.js} +18 -18
- package/dist/{onboarding.finalize-CAdOP28d.js → onboarding.finalize-D8gRbG5W.js} +118 -118
- package/dist/{onboarding.gateway-config-CFZaPfh1.js → onboarding.gateway-config-DylTeRCh.js} +21 -21
- package/dist/{onboarding.secret-input-W2xyIofP.js → onboarding.secret-input-Dj09etVn.js} +1 -1
- package/dist/{openai-model-default-CfAtGL15.js → openai-model-default-DqnRWGwj.js} +2 -2
- package/dist/{openclaw-root-C3plUO0H.js → openclaw-root-Bh3xNyXD.js} +2 -2
- package/dist/{operator-commands-B1hJ80gq.js → operator-commands-BDQn-b94.js} +6 -6
- package/dist/{outbound-attachment-B1pU8jDT.js → outbound-attachment-BeP7tvsZ.js} +2 -2
- package/dist/{outbound-message-hooks-DUjjvy1L.js → outbound-message-hooks-D7aalpVP.js} +5 -5
- package/dist/{pairing-cli-Beyds7bN.js → pairing-cli-C1W78CCz.js} +19 -19
- package/dist/{pairing-labels-CF503Gm6.js → pairing-labels-BgUdVYgJ.js} +1 -1
- package/dist/{pairing-store-CyVCFIGE.js → pairing-store-BIeHwICv.js} +4 -4
- package/dist/{path-alias-guards-PMiJhZq7.js → path-alias-guards-BL542Mqz.js} +3 -3
- package/dist/{path-safety-BspQHYKd.js → path-safety-tfrNWosi.js} +1 -1
- package/dist/{pi-embedded-helpers-CPciDfKU.js → pi-embedded-helpers-mGzreJbk.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-Dih7eQN6.js → pi-embedded-recovery-adapter-5ipqXFw0.js} +37 -37
- package/dist/{pi-embedded-utils-CuKpG3OL.js → pi-embedded-utils-DC8eBUz9.js} +2 -2
- package/dist/{pi-model-discovery-BGjjAfS_.js → pi-model-discovery-Cv0FIBjp.js} +1 -1
- package/dist/{pid-alive-SdfUhiUL.js → pid-alive-dd2LsB9B.js} +1 -1
- package/dist/{plugin-auto-enable-CkSukyUJ.js → plugin-auto-enable-Clq5aaN8.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter--0U5isrX.js → plugin-owned-work-recovery-adapter-tahoDsQP.js} +7 -7
- package/dist/{plugin-registry-Bj2UEGYL.js → plugin-registry-Co2I2dee.js} +4 -4
- package/dist/{plugins-cli-DxRN4ecF.js → plugins-cli-BbCRBZ8E.js} +113 -113
- package/dist/{plugins-U6rjKH4S.js → plugins-s69ApVox.js} +32 -32
- package/dist/{ports-C39ULrzN.js → ports-CbVKJEbZ.js} +2 -2
- package/dist/{ports-Bou4KIns.js → ports-D3N8WNv7.js} +3 -3
- package/dist/{program-15ahbGoV.js → program-DZV-02XU.js} +109 -109
- package/dist/{progress-CNFYgWmi.js → progress-CSthTuLH.js} +2 -2
- package/dist/{prompt-select-styled-UplxBFKi.js → prompt-select-styled-GsqEjvHR.js} +48 -48
- package/dist/{prompt-style-BDFZg96K.js → prompt-style-C6yO0kan.js} +1 -1
- package/dist/{provider-auth-helpers-BVUg3rt9.js → provider-auth-helpers-DL--wYUD.js} +6 -6
- package/dist/{proxy-env-DlwU1FI0.js → proxy-env-BwHmf2xr.js} +1 -1
- package/dist/{push-apns-Brgo5FF_.js → push-apns-DDrvx1KA.js} +10 -10
- package/dist/{pw-ai-BuxU6NcI.js → pw-ai-9MdWRxeB.js} +17 -17
- package/dist/{qmd-manager-Co6bGTb-.js → qmd-manager-D6HnLpUI.js} +25 -25
- package/dist/{qmd-scope-C73b3Bad.js → qmd-scope-B3hEskxa.js} +1 -1
- package/dist/{qr-cli-BatJFHjG.js → qr-cli-3HQW1ysr.js} +10 -10
- package/dist/{query-expansion-Db-cwB6N.js → query-expansion-Ba0qHd1X.js} +10 -10
- package/dist/{reconcile-bundled-pSk1Enkt.js → reconcile-bundled-ETwvh8Lp.js} +3 -3
- package/dist/{recorder-Co7XfeXs.js → recorder-DWp7wJN5.js} +2 -2
- package/dist/{recovery-adapter-D4N2DA4U.js → recovery-adapter-D7ZF1aEL.js} +3 -3
- package/dist/{recovery-adapter-Bd5Lx0lD.js → recovery-adapter-Keltudpw.js} +2 -2
- package/dist/{recovery-adapter-Ce8bGqr6.js → recovery-adapter-ke4F4Py1.js} +7 -7
- package/dist/{recovery-prompt-BNuvIRHh.js → recovery-prompt-BDu5Z1ac.js} +1 -1
- package/dist/{redact-snapshot-CWZRUrKd.js → redact-snapshot-CIe93cqM.js} +2 -2
- package/dist/{register.agent-qsvG5d6b.js → register.agent-BPzxR5eF.js} +124 -124
- package/dist/register.configure-B3_fTtgY.js +172 -0
- package/dist/{register.maintenance-FoAdPMFW.js → register.maintenance-BMcTylyl.js} +132 -132
- package/dist/{register.message-jqWymiCX.js → register.message-C5pBU08J.js} +103 -103
- package/dist/{register.onboard-KhVcvpjS.js → register.onboard-Czx8Kmyg.js} +26 -26
- package/dist/{register.setup-6Dis4a-c.js → register.setup-CTInxp0P.js} +29 -29
- package/dist/{register.status-health-sessions-DRwbJpYv.js → register.status-health-sessions-B5Rv4Dsf.js} +122 -122
- package/dist/{register.subclis-9qtDZp7M.js → register.subclis-DZL7ZFwa.js} +35 -35
- package/dist/{replies-NOlwewVf.js → replies-CrZI5K0e.js} +5 -5
- package/dist/{reply-directives-BN2i_45e.js → reply-directives-CF6_EhVh.js} +2 -2
- package/dist/{reply-prefix-w4MwKPHk.js → reply-prefix-CeZ9Uz8z.js} +1 -1
- package/dist/{reset-9GUBHVgp.js → reset-D-mCgUpD.js} +1 -1
- package/dist/{resolve-route-CrsHJxmf.js → resolve-route-yDs92eUQ.js} +6 -6
- package/dist/{rpc-hQ8QyZfR.js → rpc-Do5rvfno.js} +3 -3
- package/dist/{run-main-D8aWBZut.js → run-main-BYRPATOb.js} +122 -122
- package/dist/{runs-CIwQKryx.js → runs-C1AHoTDq.js} +7 -7
- package/dist/{runtime-config-dhfqY0Av.js → runtime-config-DYgOR0MD.js} +1 -1
- package/dist/{runtime-config-collectors-DvDpcifN.js → runtime-config-collectors-BLVuIB75.js} +1 -1
- package/dist/{runtime-guard-SZPrkFGc.js → runtime-guard-BmktwqCK.js} +1 -1
- package/dist/{runtime-DcEApmUI.js → runtime-iNm_LniP.js} +4 -4
- package/dist/{sandbox-DUHQEePj.js → sandbox-Da_kzIjf.js} +21 -21
- package/dist/{sandbox-cli-DlQR1_hY.js → sandbox-cli-DuSmbDES.js} +33 -33
- package/dist/{secrets-cli-DbI7GN_9.js → secrets-cli-CTwKCtw5.js} +16 -16
- package/dist/{security-cli-BiKOgX17.js → security-cli-N9bUi8Q4.js} +47 -47
- package/dist/{send-T7B6Djpm.js → send-B2OFN92Q.js} +7 -7
- package/dist/{send-CCpmsTaF.js → send-BrIw5gc4.js} +6 -6
- package/dist/{send-D1_IMV2p.js → send-DDirI-zY.js} +13 -13
- package/dist/{send-BgoXf_pU.js → send-DUG-oCDA.js} +6 -6
- package/dist/{server-aWUVSCfe.js → server-CTE0rQkl.js} +23 -23
- package/dist/{server-context-6JE_fAZa.js → server-context-BFf0C9iy.js} +12 -12
- package/dist/{server-lifecycle-DrkkrkLG.js → server-lifecycle-HSz4A7oj.js} +3 -3
- package/dist/{server-middleware-C4sFNt38.js → server-middleware-BfsPD7V5.js} +1 -1
- package/dist/{server-node-events-M-He8yAD.js → server-node-events-Dfykgqkj.js} +103 -103
- package/dist/{service-D7MwyeF6.js → service-BvpFqVNe.js} +15 -15
- package/dist/{session-consumer-agents-CvPuQmfS.js → session-consumer-agents-BRMrM2o-.js} +1 -1
- package/dist/{session-consumer-claim-sweep-BwHCvVar.js → session-consumer-claim-sweep-C-w92Ik5.js} +9 -9
- package/dist/{session-key-DCnSJLJC.js → session-key-D0gYNgj1.js} +1 -1
- package/dist/{session-meta-AHw8bwC2.js → session-meta-B_9mMU72.js} +1 -1
- package/dist/{session-storage-2RXtwc2B.js → session-storage-BDHA7onc.js} +22 -22
- package/dist/{session-storage-owner-C2S5c5Ct.js → session-storage-owner-CE7dPxVq.js} +53 -53
- package/dist/{session-store-targets-Dfi0lJu6.js → session-store-targets-DSlE2YTH.js} +3 -3
- package/dist/{session-utils-N1E2Os2e.js → session-utils-Qu1Mxoz3.js} +9 -9
- package/dist/{sessions-ByIiYDOv.js → sessions-BJTO-2xk.js} +17 -17
- package/dist/{sessions-CiGjB89K.js → sessions-CbISkp7n.js} +5 -5
- package/dist/{sessions-CDZSxsqg.js → sessions-DcU-v_tQ.js} +6 -6
- package/dist/{sessions-claims-status-Due9OmHi.js → sessions-claims-status-BVw2gdh3.js} +11 -11
- package/dist/{sessions-maintenance-core-mGWdB4w9.js → sessions-maintenance-core-BhBRIGU4.js} +8 -8
- package/dist/{setup-helpers-Db5Eiwfz.js → setup-helpers-llVNLaGg.js} +1 -1
- package/dist/{shared-BD85Vehr.js → shared-DWSJKo_J.js} +4 -4
- package/dist/{shared-Dj_9K6TV.js → shared-DiKdnJLT.js} +2 -2
- package/dist/{skill-commands-RbKycCIr.js → skill-commands-ByQ7_wSo.js} +7 -7
- package/dist/{skill-scanner-_B-P9k6R.js → skill-scanner-BF0g0j0b.js} +7 -7
- package/dist/{skills-DQXl0zPN.js → skills-B_8rpYgx.js} +6 -6
- package/dist/{skills-cli-CoFk-jGI.js → skills-cli-DPCY-cBo.js} +9 -9
- package/dist/{skills-install-CbZM96Md.js → skills-install-7wyldk9K.js} +9 -9
- package/dist/{skills-status-BzrUtJEQ.js → skills-status-B6eaKM8l.js} +3 -3
- package/dist/{status-1Hex6Hbe.js → status-BEBudOEO.js} +49 -49
- package/dist/{status.update-BfbrrxHR.js → status.update-DFxOh1ri.js} +2 -2
- package/dist/{storage-config-Dz2pNq3V.js → storage-config-JrkJ-0mD.js} +4 -4
- package/dist/{store-DNFja7Ml.js → store-BbFKZJKS.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-BTx-mYVb.js → supervisor-SBLvQOVa.js} +2 -2
- package/dist/{system-cli-CCnFtRmN.js → system-cli-D1NTf4-m.js} +13 -13
- package/dist/{system-run-command-Dn4pjv1t.js → system-run-command-D5kMl0NY.js} +2 -2
- package/dist/{systemd-dCivcEEh.js → systemd-BT6dJ-0G.js} +11 -11
- package/dist/{systemd-hints-DKKIvtLc.js → systemd-hints-e6hBRMDf.js} +9 -9
- package/dist/{systemd-linger-OHTcLrbQ.js → systemd-linger-BSyMrbbt.js} +2 -2
- package/dist/{table-C7H5Lwhe.js → table-BVq_qQUE.js} +2 -2
- package/dist/{tables-BcvyK02n.js → tables-CfbMQJYc.js} +1 -1
- package/dist/{tailnet-CImZKZJW.js → tailnet-QfxqR4vE.js} +1 -1
- package/dist/{tailscale-B18BMO5n.js → tailscale-D0OOOayz.js} +2 -2
- package/dist/{task-pipeline-boot-MOBuVbRZ.js → task-pipeline-boot-DHHiFfrN.js} +103 -103
- package/dist/{task-runlog-retention-BSWFe7it.js → task-runlog-retention-COTIMum4.js} +5 -5
- package/dist/{tasks-DSspLa-k.js → tasks-DX3vGbQp.js} +11 -11
- package/dist/{tokens-CifyLNEm.js → tokens-BLTw7hkA.js} +1 -1
- package/dist/{tool-display-C8fJRy0v.js → tool-display-DgVBn6pw.js} +1 -1
- package/dist/{tool-loop-detection-DNtwIsX0.js → tool-loop-detection-DWOtmjfd.js} +2 -2
- package/dist/{trash-DeXdzEHp.js → trash-DFORyVVD.js} +3 -3
- package/dist/{tui-DiBWn1ps.js → tui-Y47OkCY6.js} +9 -9
- package/dist/{tui-cli-0XkkeQf6.js → tui-cli-BK9oKFut.js} +35 -35
- package/dist/{update-cli-vPcjjv5_.js → update-cli-sh07vJot.js} +142 -142
- package/dist/{update-DRgOzhPi.js → update-fBTm6-oX.js} +3 -3
- package/dist/{update-runner-Dcaoqle4.js → update-runner-u1A5zaMd.js} +18 -18
- package/dist/{user-run-recording-B9LdfyWT.js → user-run-recording-CxBc2Jon.js} +2 -2
- package/dist/{validation-cli-DHqNm53i.js → validation-cli-DHucU5a8.js} +102 -102
- package/dist/{web-cli-BtHivcdm.js → web-cli-4yA2eTYI.js} +3 -3
- package/dist/{webhooks-cli-C695mkPl.js → webhooks-cli-B4XnYSad.js} +10 -10
- package/dist/{widearea-dns-cOQiZHOu.js → widearea-dns-D_Hocera.js} +1 -1
- package/dist/{with-timeout-TcIyDCxH.js → with-timeout-Ckdjpoqb.js} +6 -6
- package/dist/{workspace-DDuzC-ch.js → workspace-UYxvaf5A.js} +2 -2
- package/dist/{workspace-dirs-D56GdN_R.js → workspace-dirs-CqcsAdcV.js} +1 -1
- package/dist/{ws-CQqP1z5x.js → ws-B_HpEvRE.js} +2 -2
- package/dist/{wsl-DBdhRAWE.js → wsl-Be9W0qZW.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/identity-oidc/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/clawbot-cli-DkKjzk5H.js +0 -33
- package/dist/cli-BmswsRzN.js +0 -168
- package/dist/register.configure-CYUHzWqX.js +0 -172
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
1
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
3
3
|
import { m as resolveGatewayWindowsTaskName, p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-0vZLJnYn.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-BvpFqVNe.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { St as resolveUserPath, a as logVerbose, ct as CONFIG_DIR } from "./globals-
|
|
2
|
+
import { St as resolveUserPath, a as logVerbose, ct as CONFIG_DIR } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as resolvePluginSkillDirs, i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
5
|
+
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
6
|
+
import { c as resolvePluginSkillDirs, i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs } from "./skills-B_8rpYgx.js";
|
|
7
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DQ0SWA8I.js";
|
|
8
8
|
import { a as resolvePairingPaths, i as pruneExpiredPending, n as verifyPairingToken, o as upsertPendingPairingRequest, r as rejectPendingPairingRequest, t as generatePairingToken } from "./pairing-token-BA4694nz.js";
|
|
9
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
10
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
9
|
+
import { a as listChatCommands } from "./commands-registry-B4aR17xV.js";
|
|
10
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-CqcsAdcV.js";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z as isPathInside } from "./globals-
|
|
1
|
+
import { z as isPathInside } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { o as hasErrnoCode } from "./errors-DRGEw4PB.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -195,7 +195,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
195
195
|
async function readDirEntriesWithCache(dirPath) {
|
|
196
196
|
let st = null;
|
|
197
197
|
try {
|
|
198
|
-
st = await
|
|
198
|
+
st = await fsPromises.stat(dirPath);
|
|
199
199
|
} catch (err) {
|
|
200
200
|
if (hasErrnoCode(err, "ENOENT")) return [];
|
|
201
201
|
throw err;
|
|
@@ -203,7 +203,7 @@ async function readDirEntriesWithCache(dirPath) {
|
|
|
203
203
|
if (!st?.isDirectory()) return [];
|
|
204
204
|
const cached = DIR_ENTRY_CACHE.get(dirPath);
|
|
205
205
|
if (cached && cached.mtimeMs === st.mtimeMs) return cached.entries;
|
|
206
|
-
const dirents = await
|
|
206
|
+
const dirents = await fsPromises.readdir(dirPath, { withFileTypes: true });
|
|
207
207
|
const entries = [];
|
|
208
208
|
for (const entry of dirents) if (entry.isDirectory()) entries.push({
|
|
209
209
|
name: entry.name,
|
|
@@ -230,7 +230,7 @@ async function resolveForcedFiles(params) {
|
|
|
230
230
|
if (seen.has(includePath)) continue;
|
|
231
231
|
let st = null;
|
|
232
232
|
try {
|
|
233
|
-
st = await
|
|
233
|
+
st = await fsPromises.stat(includePath);
|
|
234
234
|
} catch (err) {
|
|
235
235
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
236
236
|
throw err;
|
|
@@ -263,7 +263,7 @@ async function scanFileWithCache(params) {
|
|
|
263
263
|
const { filePath, maxFileBytes } = params;
|
|
264
264
|
let st = null;
|
|
265
265
|
try {
|
|
266
|
-
st = await
|
|
266
|
+
st = await fsPromises.stat(filePath);
|
|
267
267
|
} catch (err) {
|
|
268
268
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
269
269
|
scanned: false,
|
|
@@ -300,7 +300,7 @@ async function scanFileWithCache(params) {
|
|
|
300
300
|
}
|
|
301
301
|
let source;
|
|
302
302
|
try {
|
|
303
|
-
source = await
|
|
303
|
+
source = await fsPromises.readFile(filePath, "utf-8");
|
|
304
304
|
} catch (err) {
|
|
305
305
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
306
306
|
scanned: false,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as isPathInsideWithRealpath, St as resolveUserPath, X as isPathInside, ct as CONFIG_DIR, kt as resolvePreferredOpenClawTmpDir, tt as isDangerousHostEnvVarName } from "./globals-
|
|
1
|
+
import { B as isPathInsideWithRealpath, St as resolveUserPath, X as isPathInside, ct as CONFIG_DIR, kt as resolvePreferredOpenClawTmpDir, tt as isDangerousHostEnvVarName } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Nc as normalizeResolvedSecretInputString, gs as resolveMemorySlotDecision, is as loadPluginManifestRegistry, ms as resolveEffectiveEnableState, ps as normalizePluginsConfig } from "./plugins-
|
|
5
|
-
import { N as normalizeSkillFilter } from "./agent-scope-
|
|
6
|
-
import { r as resolveOpenClawPackageRootSync } from "./openclaw-root-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
|
+
import { Nc as normalizeResolvedSecretInputString, gs as resolveMemorySlotDecision, is as loadPluginManifestRegistry, ms as resolveEffectiveEnableState, ps as normalizePluginsConfig } from "./plugins-s69ApVox.js";
|
|
5
|
+
import { N as normalizeSkillFilter } from "./agent-scope-m37qEcFM.js";
|
|
6
|
+
import { r as resolveOpenClawPackageRootSync } from "./openclaw-root-Bh3xNyXD.js";
|
|
7
7
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-u7tN1aai.js";
|
|
8
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
8
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BL542Mqz.js";
|
|
9
9
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Tt as shortenHomePath, p as theme } from "./globals-
|
|
1
|
+
import { Tt as shortenHomePath, p as theme } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { rr as loadConfig } from "./plugins-
|
|
5
|
+
import { rr as loadConfig } from "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
9
|
-
import "./exec-
|
|
8
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import "./exec-BadOxgw_.js";
|
|
10
10
|
import "./github-copilot-token-CmScvpk-.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
12
12
|
import "./static-app-y2aJYHKZ.js";
|
|
13
13
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
15
|
-
import { t as renderTable } from "./table-
|
|
14
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
15
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/skills-cli.format.ts
|
|
18
18
|
function appendClawHubHint(output, json) {
|
|
@@ -230,7 +230,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
230
230
|
async function loadSkillsStatusReport() {
|
|
231
231
|
const config = loadConfig();
|
|
232
232
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
233
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
233
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-B6eaKM8l.js").then((n) => n.n);
|
|
234
234
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
235
235
|
}
|
|
236
236
|
async function runSkillsAction(render) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { St as resolveUserPath, bt as resolveConfigDir, mt as ensureDir } from "./globals-
|
|
2
|
-
import { rr as loadConfig } from "./plugins-
|
|
3
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { St as resolveUserPath, bt as resolveConfigDir, mt as ensureDir } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { rr as loadConfig } from "./plugins-s69ApVox.js";
|
|
3
|
+
import { t as runCommandWithTimeout } from "./exec-BadOxgw_.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-u7tN1aai.js";
|
|
5
|
-
import { S as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-
|
|
6
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
5
|
+
import { S as resolveSkillKey, i as loadWorkspaceSkillEntries, t as resolveSkillsInstallPreferences } from "./skills-B_8rpYgx.js";
|
|
6
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-CJ7BaYqw.js";
|
|
7
7
|
import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-DtCWpKko.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-ChaY1JfD.js";
|
|
9
9
|
import { t as resolveBrewExecutable } from "./brew-CAHUe0YM.js";
|
|
10
|
-
import { t as isWithinDir } from "./path-safety-
|
|
11
|
-
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-
|
|
12
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
10
|
+
import { t as isWithinDir } from "./path-safety-tfrNWosi.js";
|
|
11
|
+
import { f as isWindowsDrivePath, i as safePathSegmentHashed, o as createTarEntrySafetyChecker, s as extractArchive$1, t as assertCanonicalPathWithinBase } from "./install-safe-path-D8uZKU9M.js";
|
|
12
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-BF0g0j0b.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ct as CONFIG_DIR } from "./globals-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { ct as CONFIG_DIR } from "./globals-3lUHnZas.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import { d as hasBinary } from "./frontmatter-u7tN1aai.js";
|
|
5
|
-
import { b as resolveBundledAllowlist, i as loadWorkspaceSkillEntries, l as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, v as isBundledSkillAllowed, x as resolveSkillConfig, y as isConfigPathTruthy } from "./skills-
|
|
5
|
+
import { b as resolveBundledAllowlist, i as loadWorkspaceSkillEntries, l as resolveBundledSkillsDir, t as resolveSkillsInstallPreferences, v as isBundledSkillAllowed, x as resolveSkillConfig, y as isConfigPathTruthy } from "./skills-B_8rpYgx.js";
|
|
6
6
|
import { t as evaluateEntryRequirementsForCurrentPlatform } from "./entry-status-1mBGxump.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as isRich, n as info, p as theme } from "./globals-
|
|
2
|
+
import { f as isRich, n as info, p as theme } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { g as resolveStateDir, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { Fr as formatChannelAllowFrom, Ir as resolveChannelAccountConfigured, Lr as resolveChannelAccountEnabled, Mr as peekSystemEvents, Nr as buildChannelSummary, Ot as readRestartSentinel, Pr as buildChannelAccountSnapshot, i as resolveHeartbeatSummaryForAgent, kt as summarizeRestartSentinel, mn as formatUsageReportLines, pn as loadProviderUsageSummary } from "./agent-turn-execute-
|
|
6
|
-
import { Ft as resolveStorePath, Lc as DEFAULT_CONTEXT_TOKENS, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, Ws as resolveGatewayConsoleBasePath, Z as SessionStorageUnavailableError, _t as resolveFreshSessionTotalTokens, ar as readConfigFileSnapshot, it as loadSessionStore, ll as createRootWorkAdmission, n as listChannelPlugins, rr as loadConfig, sl as RecoveryAdmissionError, x as listRestartRecoveryAdapters, zc as DEFAULT_PROVIDER } from "./plugins-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
5
|
+
import { Fr as formatChannelAllowFrom, Ir as resolveChannelAccountConfigured, Lr as resolveChannelAccountEnabled, Mr as peekSystemEvents, Nr as buildChannelSummary, Ot as readRestartSentinel, Pr as buildChannelAccountSnapshot, i as resolveHeartbeatSummaryForAgent, kt as summarizeRestartSentinel, mn as formatUsageReportLines, pn as loadProviderUsageSummary } from "./agent-turn-execute-CM4O0yRh.js";
|
|
6
|
+
import { Ft as resolveStorePath, Lc as DEFAULT_CONTEXT_TOKENS, Qr as resolveConfiguredModelRef, Rc as DEFAULT_MODEL, Ws as resolveGatewayConsoleBasePath, Z as SessionStorageUnavailableError, _t as resolveFreshSessionTotalTokens, ar as readConfigFileSnapshot, it as loadSessionStore, ll as createRootWorkAdmission, n as listChannelPlugins, rr as loadConfig, sl as RecoveryAdmissionError, x as listRestartRecoveryAdapters, zc as DEFAULT_PROVIDER } from "./plugins-s69ApVox.js";
|
|
7
7
|
import { t as VERSION } from "./version-BdUvZ8Ep.js";
|
|
8
|
-
import { V as parseAgentSessionKey } from "./session-key-
|
|
9
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
10
|
-
import { n as runExec } from "./exec-
|
|
11
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
8
|
+
import { V as parseAgentSessionKey } from "./session-key-D0gYNgj1.js";
|
|
9
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-m37qEcFM.js";
|
|
10
|
+
import { n as runExec } from "./exec-BadOxgw_.js";
|
|
11
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
|
|
12
12
|
import { n as docsSiteUrl } from "./docs-site-OVFfji6N.js";
|
|
13
13
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
14
14
|
import { n as formatTimeAgo } from "./format-relative-8ufJCb1A.js";
|
|
15
|
-
import { r as resolveSessionStorageConfig } from "./storage-config-
|
|
15
|
+
import { r as resolveSessionStorageConfig } from "./storage-config-JrkJ-0mD.js";
|
|
16
16
|
import { n as sha256HexPrefix } from "./redact-identifier-BcqQpFrh.js";
|
|
17
|
-
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-
|
|
18
|
-
import { a as resolveSessionRunStore } from "./recorder-
|
|
17
|
+
import { b as getGatewayRestartRecoveryRuntime, x as installGatewayRestartRecoveryRuntime, y as clearGatewayRestartRecoveryRuntimeIf } from "./agent-turn-runner-DoUxdVA8.js";
|
|
18
|
+
import { a as resolveSessionRunStore } from "./recorder-DWp7wJN5.js";
|
|
19
19
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-BQasPXvd.js";
|
|
20
|
-
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-
|
|
21
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
22
|
-
import { et as resolveMainSessionKey } from "./sessions-
|
|
23
|
-
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-
|
|
24
|
-
import { s as isEmbeddedPiRunActive } from "./runs-
|
|
25
|
-
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-
|
|
20
|
+
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-D0OOOayz.js";
|
|
21
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-D3N8WNv7.js";
|
|
22
|
+
import { et as resolveMainSessionKey } from "./sessions-CbISkp7n.js";
|
|
23
|
+
import { n as callGateway, r as callGatewayCli, t as buildGatewayConnectionDetails } from "./call-DiXPYDxn.js";
|
|
24
|
+
import { s as isEmbeddedPiRunActive } from "./runs-C1AHoTDq.js";
|
|
25
|
+
import { S as resolveContextTokensForModel, n as classifySessionKey, r as listAgentsForGateway, u as resolveSessionModelRef } from "./session-utils-Qu1Mxoz3.js";
|
|
26
26
|
import { r as formatDurationPrecise } from "./format-duration-DeLiQNNv.js";
|
|
27
|
-
import { o as getRemoteSkillEligibility } from "./skill-commands-
|
|
28
|
-
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
29
|
-
import { g as resolveControlUiLinks } from "./onboard-helpers-
|
|
30
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
31
|
-
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-
|
|
32
|
-
import { n as withProgress } from "./progress-
|
|
27
|
+
import { o as getRemoteSkillEligibility } from "./skill-commands-ByQ7_wSo.js";
|
|
28
|
+
import { o as getStatusCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DfQv7jnw.js";
|
|
29
|
+
import { g as resolveControlUiLinks } from "./onboard-helpers-CyIeOf0n.js";
|
|
30
|
+
import { r as getMemorySearchManager } from "./memory-cli-CTBlq72D.js";
|
|
31
|
+
import { c as openSessionStorage, n as callSessionStorageGateway, r as resolveSessionStorageRoute, s as acquireSessionStorageOwnership } from "./session-storage-owner-CE7dPxVq.js";
|
|
32
|
+
import { n as withProgress } from "./progress-CSthTuLH.js";
|
|
33
33
|
import { a as recoveryIncidentKey } from "./incidents-BYhlk-GT.js";
|
|
34
|
-
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller-
|
|
35
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
36
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
37
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
38
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
39
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
34
|
+
import { c as OwnerLockHeldError, d as createOwnerIdentity, f as RecoveryJournalError, i as REASON_PRIOR_OWNER_UNPROVEN, l as PriorOwnerLiveError, n as REASON_JOURNAL_UNWRITABLE, o as createRestartRecoveryController, p as openRecoveryJournal, r as REASON_OWNER_LOCK_HELD, s as OwnerFenceLostError, t as REASON_JOURNAL_CORRUPT, u as acquireOwnerFence } from "./controller-CEWtbHG6.js";
|
|
35
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-B6eaKM8l.js";
|
|
36
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-CmFDbO4C.js";
|
|
37
|
+
import { t as formatConfigIssueLine } from "./issue-format-CEhsl7Wj.js";
|
|
38
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-CdXaTFd3.js";
|
|
39
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BvpFqVNe.js";
|
|
40
40
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DKnpLP5Q.js";
|
|
41
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
42
|
-
import { t as renderTable } from "./table-
|
|
43
|
-
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
44
|
-
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-
|
|
45
|
-
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-
|
|
46
|
-
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
47
|
-
import { t as resolveNodeService } from "./node-service-
|
|
41
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-CCJvDjHM.js";
|
|
42
|
+
import { t as renderTable } from "./table-BVq_qQUE.js";
|
|
43
|
+
import { a as probeGateway, i as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-BvrCpsTe.js";
|
|
44
|
+
import { a as formatRecoveryOverviewValue, l as toRecoveryStatusV1, s as mergeGatewayRecoveryStatus, t as formatHealthChannelLines, u as formatHealthHeartbeatLines } from "./health-Dff2iJXm.js";
|
|
45
|
+
import { t as CRON_HEARTBEAT_ADAPTER_ID } from "./recovery-adapter-Keltudpw.js";
|
|
46
|
+
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-Df3_ZrlO.js";
|
|
47
|
+
import { t as resolveNodeService } from "./node-service-DCKAYWfS.js";
|
|
48
48
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-CLjTypC5.js";
|
|
49
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
49
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-DFxOh1ri.js";
|
|
50
50
|
import { t as shortenText } from "./text-format-pGGJZ9MA.js";
|
|
51
51
|
import { spawnSync } from "node:child_process";
|
|
52
52
|
import os from "node:os";
|
|
53
53
|
import path from "node:path";
|
|
54
54
|
import fs, { mkdirSync } from "node:fs";
|
|
55
|
-
import
|
|
55
|
+
import fsPromises from "node:fs/promises";
|
|
56
56
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "node:crypto";
|
|
57
57
|
|
|
58
58
|
//#region src/commands/gateway-presence.ts
|
|
@@ -622,13 +622,13 @@ async function resolveGatewayRecoveryAdapters(cfg, opts) {
|
|
|
622
622
|
async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
623
623
|
const adapters = [];
|
|
624
624
|
const stateDir = resolveStateDir();
|
|
625
|
-
const { getConfiguredSessionStorageRuntime } = await import("./plugins-
|
|
625
|
+
const { getConfiguredSessionStorageRuntime } = await import("./plugins-s69ApVox.js").then((n) => n.ut);
|
|
626
626
|
const runtime = getConfiguredSessionStorageRuntime()?.runtime;
|
|
627
627
|
const gatewayInstanceId = getGatewayInstanceId();
|
|
628
|
-
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-
|
|
628
|
+
const { tryGetAgentTurnRuntime } = await import("./agent-turn-runner-DoUxdVA8.js").then((n) => n.t);
|
|
629
629
|
const backbone = tryGetAgentTurnRuntime()?.backbone;
|
|
630
630
|
const { createOutboundDeliveryRecoveryAdapter } = await import("./delivery-recovery-adapter-ChILLrn2.js");
|
|
631
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
631
|
+
const { deliverOutboundPayloads } = await import("./deliver-vnUlcBpf.js").then((n) => n.n);
|
|
632
632
|
adapters.push(createOutboundDeliveryRecoveryAdapter({
|
|
633
633
|
cfg,
|
|
634
634
|
deliver: deliverOutboundPayloads,
|
|
@@ -642,7 +642,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
642
642
|
sessionRuns = void 0;
|
|
643
643
|
}
|
|
644
644
|
if (sessionRuns && wiring?.agentTurnStager) {
|
|
645
|
-
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-
|
|
645
|
+
const { createSessionRunRecoveryAdapter } = await import("./recovery-adapter-D7ZF1aEL.js").then((n) => n.i);
|
|
646
646
|
adapters.push(createSessionRunRecoveryAdapter({
|
|
647
647
|
store: sessionRuns,
|
|
648
648
|
cfg,
|
|
@@ -652,7 +652,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
652
652
|
}));
|
|
653
653
|
}
|
|
654
654
|
if (backbone && wiring?.agentTurnStager) {
|
|
655
|
-
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-
|
|
655
|
+
const { createAgentTurnRecoveryAdapter } = await import("./agent-turn-recovery-adapter-CV9hCfhV.js");
|
|
656
656
|
adapters.push(createAgentTurnRecoveryAdapter({
|
|
657
657
|
backbone,
|
|
658
658
|
stager: wiring.agentTurnStager
|
|
@@ -666,7 +666,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
666
666
|
}));
|
|
667
667
|
}
|
|
668
668
|
if (runtime?.cronJobs && runtime.taskRuns && sessionRuns) {
|
|
669
|
-
const { createCronHeartbeatRecoveryAdapter } = await import("./recovery-adapter-
|
|
669
|
+
const { createCronHeartbeatRecoveryAdapter } = await import("./recovery-adapter-Keltudpw.js").then((n) => n.n);
|
|
670
670
|
adapters.push(createCronHeartbeatRecoveryAdapter({
|
|
671
671
|
cronJobs: runtime.cronJobs,
|
|
672
672
|
taskRuns: runtime.taskRuns,
|
|
@@ -675,7 +675,7 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
675
675
|
}));
|
|
676
676
|
}
|
|
677
677
|
if (sessionRuns) {
|
|
678
|
-
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-
|
|
678
|
+
const { createEmbeddedPiRecoveryAdapter } = await import("./pi-embedded-recovery-adapter-5ipqXFw0.js");
|
|
679
679
|
adapters.push(createEmbeddedPiRecoveryAdapter({
|
|
680
680
|
sessionRuns,
|
|
681
681
|
cfg,
|
|
@@ -683,14 +683,14 @@ async function assembleFirstPartyAdapters(cfg, wiring) {
|
|
|
683
683
|
stager: wiring?.agentTurnStager,
|
|
684
684
|
isRunActive: isEmbeddedPiRunActive
|
|
685
685
|
}));
|
|
686
|
-
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-
|
|
686
|
+
const { createAcpRuntimeRecoveryAdapter } = await import("./recovery-adapter-ke4F4Py1.js");
|
|
687
687
|
adapters.push(createAcpRuntimeRecoveryAdapter({
|
|
688
688
|
sessionRuns,
|
|
689
689
|
gatewayInstanceId
|
|
690
690
|
}));
|
|
691
691
|
}
|
|
692
692
|
if (backbone) {
|
|
693
|
-
const { createPluginOwnedWorkRecoveryAdapter } = await import("./plugin-owned-work-recovery-adapter
|
|
693
|
+
const { createPluginOwnedWorkRecoveryAdapter } = await import("./plugin-owned-work-recovery-adapter-tahoDsQP.js");
|
|
694
694
|
adapters.push(createPluginOwnedWorkRecoveryAdapter({ backbone }));
|
|
695
695
|
}
|
|
696
696
|
return adapters;
|
|
@@ -1275,7 +1275,7 @@ async function getStatusSummary(options = {}) {
|
|
|
1275
1275
|
//#region src/commands/status.agent-local.ts
|
|
1276
1276
|
async function fileExists(p) {
|
|
1277
1277
|
try {
|
|
1278
|
-
await
|
|
1278
|
+
await fsPromises.access(p);
|
|
1279
1279
|
return true;
|
|
1280
1280
|
} catch {
|
|
1281
1281
|
return false;
|
|
@@ -1701,7 +1701,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
1701
1701
|
//#endregion
|
|
1702
1702
|
//#region src/commands/status-all/gateway.ts
|
|
1703
1703
|
async function readFileTailLines(filePath, maxLines) {
|
|
1704
|
-
const raw = await
|
|
1704
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
1705
1705
|
if (!raw.trim()) return [];
|
|
1706
1706
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
1707
1707
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as VERSION } from "./version-BdUvZ8Ep.js";
|
|
2
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
2
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DZa6U7Yk.js";
|
|
4
|
-
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-Df3_ZrlO.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Et as resolveUpdatedAfterPageSize, Ot as SESSION_RUN_STORE_FILE_NAME, Xn as CtxProjectionCorruptionError, wt as serializeSessionIndexRecordKey } from "./plugins-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
3
|
+
import { Et as resolveUpdatedAfterPageSize, Ot as SESSION_RUN_STORE_FILE_NAME, Xn as CtxProjectionCorruptionError, wt as serializeSessionIndexRecordKey } from "./plugins-s69ApVox.js";
|
|
4
4
|
import { a as serializeRetryPolicy, i as parseRetryPolicy, n as computeNextAvailableAtMs, r as isRetryExhausted } from "./retry-policy-By-oqFVH.js";
|
|
5
|
-
import { M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, R as isCronTriggerSessionKey, c as computeIdentityLinkMatchKeys, i as RAW_PEER_KEY_PREFIX, j as BACKGROUND_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity } from "./session-key-
|
|
5
|
+
import { M as HEARTBEAT_SESSION_KEY_SEGMENT, N as WAKE_GATE_SESSION_KEY_SEGMENT, R as isCronTriggerSessionKey, c as computeIdentityLinkMatchKeys, i as RAW_PEER_KEY_PREFIX, j as BACKGROUND_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, v as resolveCanonicalIdentity, y as resolveConfiguredCanonicalIdentity } from "./session-key-D0gYNgj1.js";
|
|
6
6
|
import { r as normalizeChatType } from "./conversation-label-BO6vpkmD.js";
|
|
7
7
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-D2ujPUHb.js";
|
|
8
8
|
import { a as guardVerificationStoreInputs, i as clientResumeRecordArtifactId, n as VERIFICATION_STORE_ERROR_CODES, r as VerificationStoreError, t as CLIENT_RESUME_RECORD_KIND } from "./verification-store-B7uvH8bi.js";
|
|
9
9
|
import { r as formatErrorChainMessage } from "./errors-DRGEw4PB.js";
|
|
10
|
-
import { n as computeJobNextRunAtMs } from "./jobs-
|
|
10
|
+
import { n as computeJobNextRunAtMs } from "./jobs-BXFDvC34.js";
|
|
11
11
|
import { n as toTaskRunTimeIso, t as parseTaskRunTimeMs } from "./task-run-time-Dgf17j1h.js";
|
|
12
12
|
import { t as TASK_RUN_IN_FLIGHT_STATUSES } from "./task-run-types-B6K2PtcI.js";
|
|
13
13
|
import { createRequire } from "node:module";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { bt as resolveConfigDir } from "./globals-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { bt as resolveConfigDir } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-fsbohlx7.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createWriteStream } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import { request } from "node:https";
|
|
@@ -16,7 +16,7 @@ const MEDIA_FILE_MODE = 420;
|
|
|
16
16
|
async function setMediaFileMode(filePath) {
|
|
17
17
|
if (process.platform === "win32") return;
|
|
18
18
|
try {
|
|
19
|
-
await
|
|
19
|
+
await fsPromises.chmod(filePath, MEDIA_FILE_MODE);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
const code = err && typeof err === "object" && "code" in err ? String(err.code) : "";
|
|
22
22
|
if ([
|
|
@@ -43,7 +43,7 @@ function getMediaDir() {
|
|
|
43
43
|
}
|
|
44
44
|
async function ensureMediaDir() {
|
|
45
45
|
const mediaDir = resolveMediaDir();
|
|
46
|
-
await
|
|
46
|
+
await fsPromises.mkdir(mediaDir, {
|
|
47
47
|
recursive: true,
|
|
48
48
|
mode: 448
|
|
49
49
|
});
|
|
@@ -52,7 +52,7 @@ async function ensureMediaDir() {
|
|
|
52
52
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
53
53
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
54
54
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
55
|
-
await
|
|
55
|
+
await fsPromises.mkdir(dir, {
|
|
56
56
|
recursive: true,
|
|
57
57
|
mode: 448
|
|
58
58
|
});
|
|
@@ -72,7 +72,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
72
72
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
73
73
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
74
74
|
const dest = path.join(dir, id);
|
|
75
|
-
await
|
|
75
|
+
await fsPromises.writeFile(dest, buffer, { mode: MEDIA_FILE_MODE });
|
|
76
76
|
await setMediaFileMode(dest);
|
|
77
77
|
return {
|
|
78
78
|
id,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as readLoggingConfig, D as levelToMinLevel, O as normalizeLogLevel, T as loggingState, _ as isFileLogLevelEnabled, h as getLogger, m as getChildLogger, r as isVerbose, v as formatLocalIsoWithOffset, w as resolveEnvLogLevelOverride } from "./globals-
|
|
1
|
+
import { A as readLoggingConfig, D as levelToMinLevel, O as normalizeLogLevel, T as loggingState, _ as isFileLogLevelEnabled, h as getLogger, m as getChildLogger, r as isVerbose, v as formatLocalIsoWithOffset, w as resolveEnvLogLevelOverride } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { t as resolveNodeRequireFromMeta } from "./node-require-CBkkgmCn.js";
|
|
3
3
|
import { Chalk } from "chalk";
|
|
4
4
|
import util from "node:util";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import { n as spawnWithFallback } from "./spawn-utils-Dl4MNby6.js";
|
|
5
|
-
import { r as readProcessElapsedSeconds } from "./pid-alive-
|
|
5
|
+
import { r as readProcessElapsedSeconds } from "./pid-alive-dd2LsB9B.js";
|
|
6
6
|
import { t as getGatewayInstanceId } from "./gateway-instance-id-BQasPXvd.js";
|
|
7
7
|
import { t as killProcessTree$1 } from "./kill-tree-BleBZVN1.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { p as theme, t as danger } from "./globals-
|
|
1
|
+
import { p as theme, t as danger } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import "./plugins-
|
|
5
|
+
import "./plugins-s69ApVox.js";
|
|
6
6
|
import "./retry-policy-By-oqFVH.js";
|
|
7
7
|
import "./version-BdUvZ8Ep.js";
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./exec-
|
|
8
|
+
import "./agent-scope-m37qEcFM.js";
|
|
9
|
+
import "./exec-BadOxgw_.js";
|
|
10
10
|
import "./github-copilot-token-CmScvpk-.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-dd2LsB9B.js";
|
|
12
12
|
import "./static-app-y2aJYHKZ.js";
|
|
13
|
-
import "./tailnet-
|
|
14
|
-
import "./ws-
|
|
13
|
+
import "./tailnet-QfxqR4vE.js";
|
|
14
|
+
import "./ws-B_HpEvRE.js";
|
|
15
15
|
import "./task-run-types-B6K2PtcI.js";
|
|
16
|
-
import "./client-
|
|
16
|
+
import "./client-B3-vuVAE.js";
|
|
17
17
|
import "./pairing-token-BA4694nz.js";
|
|
18
|
-
import "./call-
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import "./progress-
|
|
21
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
18
|
+
import "./call-DiXPYDxn.js";
|
|
19
|
+
import { t as formatDocsLink } from "./links-CdYxxGpz.js";
|
|
20
|
+
import "./progress-CSthTuLH.js";
|
|
21
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-qeYBKW7U.js";
|
|
22
22
|
|
|
23
23
|
//#region src/cli/system-cli.ts
|
|
24
24
|
const normalizeWakeMode = (raw) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { bo as POWERSHELL_INLINE_COMMAND_FLAGS, fo as hasEnvManipulationBeforeShellWrapper, go as unwrapDispatchWrappersForResolution, ho as normalizeExecutableToken, uo as extractShellWrapperCommand, vo as unwrapKnownShellMultiplexerInvocation, xo as resolveInlineCommandMatch, yo as POSIX_INLINE_COMMAND_FLAGS } from "./plugins-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
2
|
+
import { bo as POWERSHELL_INLINE_COMMAND_FLAGS, fo as hasEnvManipulationBeforeShellWrapper, go as unwrapDispatchWrappersForResolution, ho as normalizeExecutableToken, uo as extractShellWrapperCommand, vo as unwrapKnownShellMultiplexerInvocation, xo as resolveInlineCommandMatch, yo as POSIX_INLINE_COMMAND_FLAGS } from "./plugins-s69ApVox.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/system-run-command.ts
|
|
5
5
|
const log = createSubsystemLogger("infra/system-run-command");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as colorize, f as isRich, p as theme } from "./globals-
|
|
2
|
-
import { n as runExec, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { d as colorize, f as isRich, p as theme } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { n as runExec, t as runCommandWithTimeout } from "./exec-BadOxgw_.js";
|
|
3
3
|
import { d as resolveGatewayProfileSuffix, f as resolveGatewayServiceDescription, i as LEGACY_GATEWAY_SYSTEMD_SERVICE_NAMES, p as resolveGatewaySystemdServiceName } from "./constants-0vZLJnYn.js";
|
|
4
4
|
import { t as execFileUtf8 } from "./exec-file-PcQWWSnH.js";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/output.ts
|
|
10
10
|
const toPosixPath = (value) => value.replace(/\\/g, "/");
|
|
@@ -263,7 +263,7 @@ function resolveSystemdUserUnitPath(env) {
|
|
|
263
263
|
async function readSystemdServiceExecStart(env) {
|
|
264
264
|
const unitPath = resolveSystemdUnitPath(env);
|
|
265
265
|
try {
|
|
266
|
-
const content = await
|
|
266
|
+
const content = await fsPromises.readFile(unitPath, "utf8");
|
|
267
267
|
let execStart = "";
|
|
268
268
|
let workingDirectory = "";
|
|
269
269
|
const environment = {};
|
|
@@ -347,12 +347,12 @@ async function assertSystemdAvailable() {
|
|
|
347
347
|
async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
348
348
|
await assertSystemdAvailable();
|
|
349
349
|
const unitPath = resolveSystemdUnitPath(env);
|
|
350
|
-
await
|
|
350
|
+
await fsPromises.mkdir(path.dirname(unitPath), { recursive: true });
|
|
351
351
|
let backedUp = false;
|
|
352
352
|
try {
|
|
353
|
-
await
|
|
353
|
+
await fsPromises.access(unitPath);
|
|
354
354
|
const backupPath = `${unitPath}.bak`;
|
|
355
|
-
await
|
|
355
|
+
await fsPromises.copyFile(unitPath, backupPath);
|
|
356
356
|
backedUp = true;
|
|
357
357
|
} catch {}
|
|
358
358
|
const unit = buildSystemdUnit({
|
|
@@ -365,7 +365,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
|
|
|
365
365
|
workingDirectory,
|
|
366
366
|
environment
|
|
367
367
|
});
|
|
368
|
-
await
|
|
368
|
+
await fsPromises.writeFile(unitPath, unit, "utf8");
|
|
369
369
|
const unitName = `${resolveSystemdServiceName(env)}.service`;
|
|
370
370
|
const reload = await execSystemctl(["--user", "daemon-reload"]);
|
|
371
371
|
if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
|
|
@@ -400,7 +400,7 @@ async function uninstallSystemdService({ env, stdout }) {
|
|
|
400
400
|
]);
|
|
401
401
|
const unitPath = resolveSystemdUnitPath(env);
|
|
402
402
|
try {
|
|
403
|
-
await
|
|
403
|
+
await fsPromises.unlink(unitPath);
|
|
404
404
|
stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
|
|
405
405
|
} catch {
|
|
406
406
|
stdout.write(`Systemd service not found at ${unitPath}\n`);
|
|
@@ -493,7 +493,7 @@ async function findLegacySystemdUnits(env) {
|
|
|
493
493
|
const unitPath = resolveSystemdUnitPathForName(env, name);
|
|
494
494
|
let exists = false;
|
|
495
495
|
try {
|
|
496
|
-
await
|
|
496
|
+
await fsPromises.access(unitPath);
|
|
497
497
|
exists = true;
|
|
498
498
|
} catch {}
|
|
499
499
|
let enabled = false;
|
|
@@ -524,7 +524,7 @@ async function uninstallLegacySystemdUnits({ env, stdout }) {
|
|
|
524
524
|
]);
|
|
525
525
|
else stdout.write(`systemctl unavailable; removed legacy unit file only: ${unit.name}.service\n`);
|
|
526
526
|
try {
|
|
527
|
-
await
|
|
527
|
+
await fsPromises.unlink(unit.unitPath);
|
|
528
528
|
stdout.write(`${formatLine("Removed legacy systemd service", unit.unitPath)}\n`);
|
|
529
529
|
} catch {
|
|
530
530
|
stdout.write(`Legacy systemd unit not found at ${unit.unitPath}\n`);
|