wednesdayai 0.4.12-dev.729 → 0.4.12-dev.730
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-I7YUgqCR.js → acp-cli-BP69XOSe.js} +13 -13
- package/dist/{agent-scope-Ppgyx_kd.js → agent-scope-CxydHZjT.js} +21 -21
- package/dist/{agent-turn-enqueue-CW_401rj.js → agent-turn-enqueue-D-72TPFG.js} +5 -5
- package/dist/{agent-turn-enqueue-DoWWsxog.js → agent-turn-enqueue-DKRQcdxb.js} +6 -6
- package/dist/{agent-turn-execute-A0TURQhp.js → agent-turn-execute-Bh97uBaG.js} +194 -194
- package/dist/{agent-turn-recovery-adapter-BNI0O8Mj.js → agent-turn-recovery-adapter-DZsBJig8.js} +3 -3
- package/dist/{agent-turn-recovery-adapter-CJ4g6khf.js → agent-turn-recovery-adapter-TZIfB8s6.js} +1 -1
- package/dist/{agent-turn-runner-BVBnEVO0.js → agent-turn-runner-Bv9LuLHR.js} +2 -2
- package/dist/{agent-turn-runner-B10CqZVv.js → agent-turn-runner-Cea0N8hZ.js} +5 -5
- package/dist/{agent-turn-runner-CM3MQTJU.js → agent-turn-runner-DtRDx5nj.js} +1 -1
- package/dist/{agent-turn-runner-DzGi5c4M.js → agent-turn-runner-rlaI8UZh.js} +2 -2
- package/dist/{agents-CqGOYUmk.js → agents-CcRZaVIM.js} +20 -20
- package/dist/{agents.config-CfQTsYDc.js → agents.config-BIAN7yD0.js} +3 -3
- package/dist/{agents.config-iuJI5Qb7.js → agents.config-BR-2_pQX.js} +1 -1
- package/dist/{api-uxkyeSmH.js → api-CoJEjegK.js} +1 -1
- package/dist/{api-key-rotation-CtZSwE0N.js → api-key-rotation-BfX7mRma.js} +1 -1
- package/dist/{artifacts-BjWykx-p.js → artifacts-mmiw3Aqi.js} +1 -1
- package/dist/{audio-preflight-BYkASiuL.js → audio-preflight-BeM0QH9O.js} +38 -38
- package/dist/{audio-preflight-CLEofd1a.js → audio-preflight-CPGaMcl9.js} +6 -6
- package/dist/{audio-transcription-runner-C6aQCxFd.js → audio-transcription-runner-1caiMqoM.js} +1 -1
- package/dist/{audio-transcription-runner-0S6456vW.js → audio-transcription-runner-BQ-xozUJ.js} +26 -26
- package/dist/{audit-DdxXEcHv.js → audit-DEW5Bp17.js} +33 -33
- package/dist/{audit-D7HwuhC3.js → audit-vLZ-GPkj.js} +3 -3
- package/dist/{auth-CZ7-R3rC.js → auth-CzqOUm43.js} +4 -4
- package/dist/{auth-choice-rhHVvoEZ.js → auth-choice-BgRokiZf.js} +17 -17
- package/dist/{auth-choice-_Ngg8dJn.js → auth-choice-DG23ZlyE.js} +13 -13
- package/dist/{auth-choice-DzVb3c4S.js → auth-choice-DIu_6W5c.js} +1 -1
- package/dist/{auth-choice.apply-helpers-BMrtYUQo.js → auth-choice.apply-helpers-BuqGJPas.js} +1 -1
- package/dist/{auth-token-DFBrANaQ.js → auth-token-Die78Dee.js} +2 -2
- package/dist/{banner-BqEUBSwB.js → banner-CpVH8pYW.js} +4 -4
- package/dist/{bonjour-discovery-CojQUMEO.js → bonjour-discovery-DsPDdJ75.js} +3 -3
- package/dist/{browser-cli-BOoKWbUB.js → browser-cli-Cfne-bZg.js} +21 -21
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-BGJB7J3q.js → call-5i352x9j.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-B0BYG0hd.js → channel-account-context-BRw1RtQ_.js} +7 -7
- package/dist/{channel-activity-CUFBYpfH.js → channel-activity-C08pUdDN.js} +2 -2
- package/dist/{channel-options-C3u2Sg1X.js → channel-options-BAPGXbiT.js} +3 -3
- package/dist/{channel-options-C1IIAhgv.js → channel-options-Cz9kTenL.js} +1 -1
- package/dist/{channel-selection-A64KNpWH.js → channel-selection-EeyjFzad.js} +1 -1
- package/dist/{channels-cli-YNVo_J7T.js → channels-cli-BidTgEPd.js} +123 -123
- package/dist/{channels-cli-Dz1fY7Ks.js → channels-cli-DRrzM0ls.js} +22 -22
- package/dist/{channels-status-issues-BLHnC4d_.js → channels-status-issues-Cab9ixM6.js} +1 -1
- package/dist/{chrome-93M6AryA.js → chrome-BLqsc9fh.js} +6 -6
- package/dist/{chunk-BIErRWoV.js → chunk-CyVpre5Y.js} +3 -3
- package/dist/{clack-prompter-shjXV_CK.js → clack-prompter-ThJZQZ7f.js} +5 -5
- package/dist/{clawbot-cli-Cts0cOiE.js → clawbot-cli-wZlRKczI.js} +17 -17
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BdacdmTo.js +166 -0
- package/dist/{cli-DKuWVT_o.js → cli-CmSRQF8z.js} +18 -18
- package/dist/{client-CcJEvW7d.js → client-EEggbMMG.js} +3 -3
- package/dist/{client-profiles-CDNULV1v.js → client-profiles-L4VajtTA.js} +2 -2
- package/dist/{clipboard-ueGeqjzM.js → clipboard-DHS-_ANO.js} +1 -1
- package/dist/{command-queue-g1tNC8Vs.js → command-queue-C9EZpC0r.js} +1 -1
- package/dist/{command-queue-BXX9dOOY.js → command-queue-Df8m2C14.js} +1 -1
- package/dist/{command-registry-D7a2MHeF.js → command-registry-DJ2RcG6i.js} +14 -14
- package/dist/{command-secret-targets-BX0CPQr-.js → command-secret-targets-BLUddYry.js} +4 -4
- package/dist/{commands-B4ce9Pyw.js → commands-DcCuNsWv.js} +1 -1
- package/dist/{commands-registry-CcbNhUWz.js → commands-registry-Dh2bmHYX.js} +3 -3
- package/dist/{completion-cli-Bw457ikU.js → completion-cli-CF1KcRLT.js} +16 -16
- package/dist/{completion-cli-BDOVwJNU.js → completion-cli-CSlJsSsc.js} +1 -1
- package/dist/{config-B_l7dU75.js → config-Wy1wQZjq.js} +58 -58
- package/dist/{config-cli-DdgtqEUK.js → config-cli-CeTT4CIX.js} +1 -1
- package/dist/{config-cli-BS_Dn2U3.js → config-cli-DzLfLd1l.js} +15 -15
- package/dist/{config-guard-D8pceOYu.js → config-guard-CxJY7cYj.js} +4 -4
- package/dist/{config-validation-bWS01yvf.js → config-validation-tSgClPKz.js} +4 -4
- package/dist/{configure-DyjgsBKI.js → configure-BvTYT92W.js} +3 -3
- package/dist/{configure-B3bu-lE9.js → configure-DY6FxXGJ.js} +25 -25
- package/dist/{control-ui-assets-Dz1n0dDI.js → control-ui-assets-CUNJ-wZT.js} +3 -3
- package/dist/{controller-CqvurxyG.js → controller-BSfjG3lf.js} +1 -1
- package/dist/{credentials-DcWx5UdN.js → credentials-CZpBSFEO.js} +1 -1
- package/dist/{cron-cli-stdpJx8z.js → cron-cli-CaLjTgrD.js} +16 -16
- package/dist/{daemon-cli-C2KlymGb.js → daemon-cli-kHqIPg4E.js} +19 -19
- package/dist/{daemon-install-Bb0jLWtP.js → daemon-install-D6QY6h-a.js} +11 -11
- package/dist/{daemon-install-helpers-D9sQQxjq.js → daemon-install-helpers-BpCzt6Hc.js} +13 -13
- package/dist/{deliver-DUBuu2uJ.js → deliver-CKHf6BfA.js} +11 -11
- package/dist/{deliver-C2Wz9PWj.js → deliver-iL5dyQ_w.js} +1 -1
- package/dist/{devices-cli-BhvJltFw.js → devices-cli-ysWdBZx4.js} +14 -14
- package/dist/{diagnostic-DuMnWlrO.js → diagnostic-CsiKdkkn.js} +4 -4
- package/dist/{diagnostic-C5wYymNQ.js → diagnostic-DBsNslQA.js} +1 -1
- package/dist/{diagnostics-brY1xU9j.js → diagnostics-DXe05OkI.js} +5 -5
- package/dist/{directory-cli-Brg7vqSd.js → directory-cli-Cnuwint-.js} +13 -13
- package/dist/{dm-policy-shared-yJEiBvgY.js → dm-policy-shared-BFynL_iX.js} +5 -5
- package/dist/{dns-cli-LuV21OdM.js → dns-cli-NCsBWdX6.js} +12 -12
- package/dist/{docs-cli-DjorWzOU.js → docs-cli-N_pc80nZ.js} +12 -12
- package/dist/{doctor-completion-C3mNG21F.js → doctor-completion-B1eLtCOM.js} +3 -3
- package/dist/{doctor-completion-BJHSi6k4.js → doctor-completion-B1qmR3tQ.js} +1 -1
- package/dist/{doctor-config-flow-CTSGH57H.js → doctor-config-flow-DDN0ovwf.js} +19 -19
- package/dist/{enable-Cg6VGOzr.js → enable-B1kzYvA6.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-B6VJhiff.js → exec-DtX60IXR.js} +2 -2
- package/dist/{exec-approvals-BsebcahG.js → exec-approvals-C4CZ1V0m.js} +2 -2
- package/dist/{exec-approvals-allowlist-BJCk_TPq.js → exec-approvals-allowlist-DlF01Fkm.js} +1 -1
- package/dist/{exec-approvals-cli-CpZFCJhK.js → exec-approvals-cli-DDsgcVGo.js} +26 -26
- package/dist/{exec-safe-bin-runtime-policy-DNVd_94E.js → exec-safe-bin-runtime-policy-BH45jyJz.js} +2 -2
- package/dist/{extension-relay-auth-Dicdw7Xi.js → extension-relay-auth-DeehlFvz.js} +10 -10
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-B6tx3m8j.js → fetch-COk8GnL3.js} +5 -5
- package/dist/{fetch-guard-D9Baq9VL.js → fetch-guard-BpcmLYcl.js} +3 -3
- package/dist/{frontmatter-DTtFYkCc.js → frontmatter-pi3glMFx.js} +2 -2
- package/dist/{fs-safe-DDz2ygyq.js → fs-safe-DSWE-pxQ.js} +25 -25
- package/dist/{gateway-cli-DNzVSEgi.js → gateway-cli-BeaoqfXG.js} +41 -41
- package/dist/{gateway-cli-DCEGccnP.js → gateway-cli-yWMVCCLt.js} +222 -222
- package/dist/{gateway-rpc-c8XzfYDl.js → gateway-rpc-C2PqTIDi.js} +3 -3
- package/dist/{globals-NHZhvbUb.js → globals-DzEfsMsj.js} +11 -11
- package/dist/{gmail-setup-utils-D4Dn4Vqi.js → gmail-setup-utils-uAAzkjJP.js} +3 -3
- package/dist/{health-CohIvGFu.js → health-DDFoa_vd.js} +11 -11
- package/dist/{health-B9kSP1yr.js → health-DFxVZQP8.js} +2 -2
- package/dist/{health-format-BS-M5J8K.js → health-format-B1ElAx-F.js} +1 -1
- package/dist/{heartbeat-tick-CNXKuUx8.js → heartbeat-tick-CVUubxop.js} +2 -2
- package/dist/{help-format-Bsgr8mqL.js → help-format-aPNS9ayu.js} +1 -1
- package/dist/{helpers-BYFW2nSK.js → helpers-BNMarGmo.js} +1 -1
- package/dist/{hooks-cli-BC7PXwrl.js → hooks-cli-Il6c46Hj.js} +111 -111
- package/dist/{hooks-cli-UgeEAR7U.js → hooks-cli-WT_iEJLp.js} +19 -19
- package/dist/{hooks-status-n4KWKh1Y.js → hooks-status-xDCStRjI.js} +3 -3
- package/dist/{image-ops-BXRKcOTd.js → image-ops-CAEEQmlt.js} +11 -11
- package/dist/{incident-install-DRZu7hrx.js → incident-install-K_JM0Dou.js} +13 -13
- package/dist/index.js +22 -22
- package/dist/{inspect-C2g9LrbN.js → inspect-DNbhm85u.js} +4 -4
- package/dist/{install-safe-path-BqxzjzC-.js → install-safe-path-D7s18Vq0.js} +25 -25
- package/dist/{installs-yixcXYPn.js → installs-ttC39JR4.js} +10 -10
- package/dist/{ipv4-BcWFaVPH.js → ipv4-vPs-MXPy.js} +2 -2
- package/dist/{ir-CnD8edWb.js → ir-DkcivUQx.js} +8 -8
- package/dist/{issue-format-YjkCmJ-x.js → issue-format-C5dvpWCs.js} +1 -1
- package/dist/{lifecycle-core-BH4dnQtI.js → lifecycle-core-D4FpkyNE.js} +9 -9
- package/dist/{links-DtN6Zip4.js → links-DMJmXnBC.js} +1 -1
- package/dist/{live-repair-CbBURFc-.js → live-repair-Bz_jXKsv.js} +12 -12
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{log-tail-DSgUyVuy.js → log-tail-3lDge34F.js} +7 -7
- package/dist/{logger-TMWfboh4.js → logger-BH0Ng0XL.js} +2 -2
- package/dist/{logging-DXugoHqu.js → logging-CSynrPc7.js} +1 -1
- package/dist/{logs-cli-BhvP6zOH.js → logs-cli-BpRiX5pm.js} +20 -20
- package/dist/{manager-DeJU6IQ3.js → manager-B9U2B9ZD.js} +17 -17
- package/dist/{manager-B2ZPvPP9.js → manager-CJIpzjld.js} +10 -10
- package/dist/{manager-Bw3BvR19.js → manager-DPzBUqR_.js} +1 -1
- package/dist/{markdown-tables-Cvm3FY0g.js → markdown-tables-DDn13kBS.js} +2 -2
- package/dist/{memory-cli-DWRwQYct.js → memory-cli-DhTo1Zod.js} +19 -19
- package/dist/{model-iLCMc1K1.js → model-DK1--R8G.js} +2 -2
- package/dist/{model-catalog-IZAm7vxT.js → model-catalog-Bo-Fyihc.js} +4 -4
- package/dist/{model-picker-TEQP1kqG.js → model-picker-yfyn372D.js} +4 -4
- package/dist/{models-C8nsMRLQ.js → models-DQ8P8kP3.js} +24 -24
- package/dist/{models-cli-C_tHirnw.js → models-cli-BgcR4Exx.js} +18 -18
- package/dist/{models-cli-B4xLIOFc.js → models-cli-DYWhxPkO.js} +111 -111
- package/dist/{models-config-COyV_5JN.js → models-config-DJTO7ngW.js} +7 -7
- package/dist/{node-cli-1r7DXmyR.js → node-cli-DWicnGBi.js} +3 -3
- package/dist/{node-cli-CcOYQNYG.js → node-cli-TVPaLcV6.js} +43 -43
- package/dist/{node-command-policy-DQ3xpsxF.js → node-command-policy-DXW0gACZ.js} +1 -1
- package/dist/{node-service-D4loK5LL.js → node-service-B2PMocVE.js} +1 -1
- package/dist/{nodes-cli-duW7tvW5.js → nodes-cli-D7zwQnbg.js} +26 -26
- package/dist/{nodes-screen-Cj7gGqy5.js → nodes-screen-BNh2me3N.js} +8 -8
- package/dist/{note-CzdXZOFH.js → note-CIEfvmda.js} +2 -2
- package/dist/{npm-pack-install-DC954ztS.js → npm-pack-install-DcfhfmQD.js} +23 -23
- package/dist/{npm-resolution-DjNRsPrE.js → npm-resolution-CfUBQFfN.js} +1 -1
- package/dist/{npm-resolution-7CvMNako.js → npm-resolution-D4Qm28gZ.js} +5 -5
- package/dist/{oauth-tls-preflight-D5qAcith.js → oauth-tls-preflight-S1P1M9Ik.js} +1 -1
- package/dist/{onboard-BRwdSaEZ.js → onboard-BvD9jey6.js} +2 -2
- package/dist/{onboard-DOq-9xkW.js → onboard-CBNCu0qo.js} +11 -11
- package/dist/{onboard-channels-DtFBZO3K.js → onboard-channels-Cfm1xNhD.js} +1 -1
- package/dist/{onboard-channels-RKPslaou.js → onboard-channels-F6-jE9Q4.js} +24 -24
- package/dist/{onboard-custom-B_IbBJHN.js → onboard-custom-DOGTl-wh.js} +4 -4
- package/dist/{onboard-helpers-CV2_sx_X.js → onboard-helpers-CrNbGK-_.js} +14 -14
- package/dist/{onboard-hooks-PDzAZcds.js → onboard-hooks-HF8fUNGq.js} +8 -8
- package/dist/{onboard-remote-Cc7ortQZ.js → onboard-remote-C3wAKiOr.js} +5 -5
- package/dist/{onboard-skills-D2WP55Qf.js → onboard-skills-_Y4g6XMV.js} +4 -4
- package/dist/{onboarding-CZB-jEDP.js → onboarding-D7zNU656.js} +18 -18
- package/dist/{onboarding-CUNJUHYe.js → onboarding-DAAosO4y.js} +3 -3
- package/dist/{onboarding.finalize-tQDsF0Ht.js → onboarding.finalize-DRyZQ35t.js} +23 -23
- package/dist/{onboarding.finalize-zo8Tr42K.js → onboarding.finalize-DswgDFUV.js} +119 -119
- package/dist/{onboarding.gateway-config-CcAYavIB.js → onboarding.gateway-config-B966E_Je.js} +18 -18
- package/dist/{onboarding.secret-input-hdMynEhM.js → onboarding.secret-input-rEXj_hwb.js} +1 -1
- package/dist/{openai-model-default-DgwEDHMc.js → openai-model-default-C7JSp9AY.js} +2 -2
- package/dist/{openclaw-root-CboPaWH8.js → openclaw-root-COWNwQGN.js} +2 -2
- package/dist/{operator-commands-DPTwKc1Q.js → operator-commands-Bt-GMvlt.js} +7 -7
- package/dist/{operator-commands-5zFJBNls.js → operator-commands-WclkbpNn.js} +2 -2
- package/dist/{outbound-attachment-eSRdTa0O.js → outbound-attachment-BqLrqvUz.js} +2 -2
- package/dist/{outbound-message-hooks-DCmApMZ7.js → outbound-message-hooks-BaL31mgo.js} +5 -5
- package/dist/{pairing-cli-BwAqmcbZ.js → pairing-cli--mX6NBbQ.js} +12 -12
- package/dist/{pairing-labels-Cmy5jzFo.js → pairing-labels-Cga04_F-.js} +1 -1
- package/dist/{pairing-store-C_emmXE4.js → pairing-store-baQ6verU.js} +3 -3
- package/dist/{path-alias-guards-Dn6kxDaO.js → path-alias-guards-CwFH4u4Y.js} +3 -3
- package/dist/{path-safety-BevSBibF.js → path-safety-bfKwXs6i.js} +1 -1
- package/dist/{pi-embedded-BXlLe43L.js → pi-embedded-C9hhorcY.js} +4 -4
- package/dist/{pi-embedded-w8WHdwfz.js → pi-embedded-DnsjQY9z.js} +4 -4
- package/dist/{pi-embedded-helpers-DIrkDh67.js → pi-embedded-helpers-BN8Yurrq.js} +8 -8
- package/dist/{pi-embedded-helpers-CGmQ4q3V.js → pi-embedded-helpers-CTXJgU8t.js} +1 -1
- package/dist/{pi-embedded-recovery-adapter-C-NuyPbb.js → pi-embedded-recovery-adapter-DZGloafF.js} +7 -7
- package/dist/{pi-embedded-recovery-adapter-B2XOvHxn.js → pi-embedded-recovery-adapter-bRl54qXI.js} +35 -35
- package/dist/{pi-embedded-utils-BdxZbV9G.js → pi-embedded-utils-CKNzzRk4.js} +1 -1
- package/dist/{pi-embedded-utils-CPX6p6Wq.js → pi-embedded-utils-DbCTbP_M.js} +2 -2
- package/dist/{pi-model-discovery-xwVo_Za1.js → pi-model-discovery-YsMuufO6.js} +1 -1
- package/dist/{pi-tools.policy-CeC8xqRL.js → pi-tools.policy-D4DT9S9M.js} +1 -1
- package/dist/{pid-alive-C13jc975.js → pid-alive-BkVX-P5U.js} +1 -1
- package/dist/{plugin-owned-work-recovery-adapter-CTpAqPxI.js → plugin-owned-work-recovery-adapter-qw7iAOXJ.js} +9 -9
- package/dist/{plugin-registry-B2PFGUgH.js → plugin-registry-Bb5cRSlw.js} +1 -1
- package/dist/{plugin-registry-B9UcnywB.js → plugin-registry-CctiIjXS.js} +4 -4
- package/dist/plugin-sdk/{agent-turn-execute-CvcGPIWd.js → agent-turn-execute-DLOD3wIK.js} +12 -12
- package/dist/plugin-sdk/{agent-turn-execute-Du5-PizP.js → agent-turn-execute-DiYinYcI.js} +2 -2
- package/dist/plugin-sdk/{agent-turn-runner-Dy2l1QuN.js → agent-turn-runner-BB3xBOkd.js} +3 -3
- package/dist/plugin-sdk/{agent-turn-runner-L6nWVyBs.js → agent-turn-runner-CP3CvHV_.js} +4 -4
- package/dist/plugin-sdk/{agent-turn-runner-BeIHlu2z.js → agent-turn-runner-Dz8mhXhJ.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CVnT3CVi.js → audio-preflight-CdnIoP9g.js} +5 -5
- package/dist/plugin-sdk/{audio-transcription-runner-ff3d2MOe.js → audio-transcription-runner-ErPyMiHI.js} +1 -1
- package/dist/plugin-sdk/{chrome-D_wgFXHF.js → chrome-2r09CGaD.js} +8 -8
- package/dist/plugin-sdk/{command-detection-BRxqdaeL.js → command-detection-BHkl3aqL.js} +8 -8
- package/dist/plugin-sdk/{command-queue-CoRZcHy1.js → command-queue-BBOur699.js} +1 -1
- package/dist/plugin-sdk/{deliver-Cysu3ebt.js → deliver-0l2lZQiz.js} +3 -3
- package/dist/plugin-sdk/{deliver-BPg9MhVY.js → deliver-oSzFg9Zh.js} +1 -1
- package/dist/plugin-sdk/{diagnostic-CxHjTbyN.js → diagnostic-DQU_mY9i.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{pi-embedded-helpers-3gQz4b-b.js → pi-embedded-helpers-CNresdUf.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-utils-B49ia5m9.js → pi-embedded-utils-BEsRXBxc.js} +1 -1
- package/dist/plugin-sdk/{provider-dispatcher-B6b1Tdf0.js → provider-dispatcher-B8jJvLuR.js} +12 -12
- package/dist/plugin-sdk/{provider-dispatcher-B_iAXu2L.js → provider-dispatcher-hEp4znDa.js} +2 -2
- package/dist/plugin-sdk/{provider-image-VB9UOYSc.js → provider-image-CLWV4QQx.js} +4 -4
- package/dist/plugin-sdk/{provider-image-BKK0zQaJ.js → provider-image-WXG9I5WJ.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-Zbmk8kti.js → pw-ai-kQB2ywnc.js} +1 -1
- package/dist/plugin-sdk/{runs-BmnkOAK5.js → runs-BcvvvV1J.js} +5 -5
- package/dist/plugin-sdk/{runs-Cr3XjmfA.js → runs-DE0G2LLI.js} +3 -3
- package/dist/plugin-sdk/{send-BrY7hRBo.js → send-CAiazzHI.js} +1 -1
- package/dist/plugin-sdk/{send-BcjKhfe8.js → send-Cn7YLM0P.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-BKwSNawW.js → subagent-registry-DD2djKv0.js} +2 -2
- package/dist/plugin-sdk/{subagent-registry-CIa1HABo.js → subagent-registry-UCbHoVJ2.js} +12 -12
- package/dist/plugin-sdk/testing.js +12 -12
- package/dist/plugin-sdk/{tools-DaFWYu0p.js → tools-yY7tjcsw.js} +35 -35
- package/dist/{plugins-cli-1_-Vf-1l.js → plugins-cli-6xqfmKxn.js} +114 -114
- package/dist/{plugins-cli-DksAX0ZH.js → plugins-cli-BhFLmnOz.js} +19 -19
- package/dist/{polling-timeout-CkFkpq_s.js → polling-timeout-x98FlzJG.js} +3 -3
- package/dist/{ports-dAGF3BJj.js → ports-B3y3yrTs.js} +2 -2
- package/dist/{ports-CLSVg-y-.js → ports-BzAUXaPL.js} +3 -3
- package/dist/{program-CBA0lcpg.js → program-C9Qgghl2.js} +110 -110
- package/dist/{program-context-DT5nb3SH.js → program-context-1o3YvOVB.js} +22 -22
- package/dist/{progress-C9R_51fN.js → progress-B5oGktxz.js} +2 -2
- package/dist/{prompt-select-styled-6JwLDntm.js → prompt-select-styled-BQSHxNZN.js} +50 -50
- package/dist/{prompt-select-styled-NPt5vMpO.js → prompt-select-styled-Nu1AAYTo.js} +7 -7
- package/dist/{prompt-style-B28wDUyJ.js → prompt-style-0wL61aMk.js} +1 -1
- package/dist/{provider-auth-helpers-CEgvqik4.js → provider-auth-helpers-SxWqAhy1.js} +6 -6
- package/dist/{provider-image-g7zj1qnV.js → provider-image-BNv43756.js} +1 -1
- package/dist/{provider-image-aaxt6RAc.js → provider-image-GRI3ijiz.js} +6 -6
- package/dist/{proxy-CkTukFRT.js → proxy-ZTZCSX-m.js} +1 -1
- package/dist/{proxy-env-C4AxlnMs.js → proxy-env-CCYLPZqe.js} +1 -1
- package/dist/{proxy-fetch-1FMAlfeR.js → proxy-fetch-CZr5_YhZ.js} +1 -1
- package/dist/{push-apns-CFg1Pls0.js → push-apns-BBk7vMkD.js} +2 -2
- package/dist/{push-apns-CzI1yOz3.js → push-apns-CQyCSGes.js} +10 -10
- package/dist/{pw-ai-CdFOuZvs.js → pw-ai-DbW_Bkcx.js} +1 -1
- package/dist/{pw-ai-Dt33khMR.js → pw-ai-ge-z9mqK.js} +20 -20
- package/dist/{qmd-manager-BhetUUi5.js → qmd-manager-CUcr1mRz.js} +25 -25
- package/dist/{qr-cli-B_Pgraov.js → qr-cli-DGwCKU0G.js} +8 -8
- package/dist/{query-expansion-DMbjUCTJ.js → query-expansion-B4NP6yYt.js} +14 -14
- package/dist/{reconcile-bundled-BoVqHall.js → reconcile-bundled-4XBos81c.js} +3 -3
- package/dist/{recorder-BvsmIV06.js → recorder-B0k_MKgq.js} +4 -4
- package/dist/{recovery-adapter-B4vChz-g.js → recovery-adapter-BIlkWPdE.js} +3 -3
- package/dist/{recovery-adapter-CKVSN97E.js → recovery-adapter-Bo68TZ6b.js} +2 -2
- package/dist/{recovery-adapter-CceBubi1.js → recovery-adapter-Ch6Lpdvn.js} +3 -3
- package/dist/{recovery-adapter-mRcci7h2.js → recovery-adapter-DwNfvaLJ.js} +1 -1
- package/dist/{recovery-adapter-AyGJinhV.js → recovery-adapter-oenmjmOn.js} +7 -7
- package/dist/{recovery-prompt-DqlKavmj.js → recovery-prompt-TDeXDlMW.js} +1 -1
- package/dist/{redact-snapshot-DN2rZBNX.js → redact-snapshot-A7NLIiwR.js} +5 -5
- package/dist/{register.agent-DutRzrDw.js → register.agent-B9Hg0vf2.js} +21 -21
- package/dist/{register.agent-Bn9JYMpq.js → register.agent-D3_1aKeG.js} +124 -124
- package/dist/register.configure-4XbHAmwj.js +170 -0
- package/dist/{register.configure-xWvz_EH_.js → register.configure-DAnWVJBA.js} +22 -22
- package/dist/{register.maintenance-C-WBHuPN.js → register.maintenance-CC3S9JmF.js} +131 -131
- package/dist/{register.maintenance-CVWnFB5G.js → register.maintenance-Chb5KnZ1.js} +24 -24
- package/dist/{register.message-DeS_ZYNe.js → register.message-Bq38RXah.js} +104 -104
- package/dist/{register.message-CAfIrnM2.js → register.message-DLtovAgJ.js} +19 -19
- package/dist/{register.onboard-C0OyLZD3.js → register.onboard-4vT5Xjc4.js} +2 -2
- package/dist/{register.onboard-DD2wOgqE.js → register.onboard-BMXxAu95.js} +23 -23
- package/dist/{register.setup-BbohcO_k.js → register.setup-D2bCcb0v.js} +2 -2
- package/dist/{register.setup-CBDKdAuo.js → register.setup-fpmCv1_b.js} +28 -28
- package/dist/{register.status-health-sessions-B6c4a4og.js → register.status-health-sessions-Ds4IsnQw.js} +121 -121
- package/dist/{register.status-health-sessions-8pYJLyOn.js → register.status-health-sessions-RCBhd23C.js} +21 -21
- package/dist/{register.subclis-Cl9g9lxA.js → register.subclis-BkKWZGVK.js} +34 -34
- package/dist/{replay-DTUqQwQf.js → replay-SxJXbQMf.js} +1 -1
- package/dist/{replies-zxrU3Tlk.js → replies-CI-WAhGv.js} +4 -4
- package/dist/{reply-CBqjA8n7.js → reply-Ct_Nttkg.js} +27 -27
- package/dist/{reply-directives-C7J_kRAY.js → reply-directives-DjJmEA55.js} +2 -2
- package/dist/{reply-prefix-DQs4kcQX.js → reply-prefix-EVut-MnZ.js} +1 -1
- package/dist/{resolve-route-c5P6_dQM.js → resolve-route-B5nwCVT3.js} +5 -5
- package/dist/{rpc-DzvZPivH.js → rpc-Dg7Qb-TD.js} +3 -3
- package/dist/{run-main-D4QMp_dA.js → run-main-DFrkQ_9h.js} +123 -123
- package/dist/{runs-aQfLgwCB.js → runs-DD81n7Ms.js} +3 -3
- package/dist/{runs-DSFjMpng.js → runs-fddM4kFw.js} +7 -7
- package/dist/{runtime-Cr79MQoI.js → runtime-B9bvj6Qk.js} +4 -4
- package/dist/{runtime-config-collectors-do8FUpaL.js → runtime-config-collectors-0bUIcOaI.js} +1 -1
- package/dist/{runtime-guard-B1qwuALe.js → runtime-guard-D9TCGAy5.js} +1 -1
- package/dist/{sandbox-BWNy2kKu.js → sandbox-CTl9v7Zl.js} +19 -19
- package/dist/{sandbox-Cwa9IoDE.js → sandbox-DOTsK9wx.js} +1 -1
- package/dist/{sandbox-cli-OzJuP-NO.js → sandbox-cli-Dbco2fmj.js} +29 -29
- package/dist/{sandbox-cli-D7bBMoyk.js → sandbox-cli-Dni8o7vC.js} +2 -2
- package/dist/{secrets-cli-CuDyP904.js → secrets-cli-DF_Gm1ne.js} +18 -18
- package/dist/{security-cli-DG2tPUA1.js → security-cli-Csr_oecn.js} +4 -4
- package/dist/{security-cli-CuUjDnHc.js → security-cli-PByAeZXI.js} +46 -46
- package/dist/{send-DnUxCZe9.js → send-BgWc92i5.js} +7 -7
- package/dist/{send-2z5d8MNL.js → send-Byoa_3gu.js} +1 -1
- package/dist/{send-CCM9Q6bQ.js → send-CrP3wO_5.js} +15 -15
- package/dist/{send-D7jSVo_g.js → send-DLkrlosm.js} +6 -6
- package/dist/{send-B7qZuE28.js → send-DiY7W1su.js} +14 -14
- package/dist/{send-D20u05DD.js → send-wFJCwq2b.js} +6 -6
- package/dist/{server-DwmiIbpy.js → server-BL9VNWdw.js} +26 -26
- package/dist/{server-C7fLuSa8.js → server-CDY9yWOl.js} +4 -4
- package/dist/{server-context-DynQOaQg.js → server-context-9rNFuDom.js} +12 -12
- package/dist/{server-context-8stiwx24.js → server-context-Bj1ur5Oz.js} +2 -2
- package/dist/{server-lifecycle-BIVcQYRv.js → server-lifecycle-Bp3jx730.js} +1 -1
- package/dist/{server-lifecycle-D6K5clGz.js → server-lifecycle-DSO272t7.js} +3 -3
- package/dist/{server-middleware-v9W3NbYv.js → server-middleware-DYNp96xm.js} +1 -1
- package/dist/{server-node-events-BMt_M17o.js → server-node-events-BwK321yc.js} +104 -104
- package/dist/{server-node-events-BSBNXNIr.js → server-node-events-DgxhwOwJ.js} +19 -19
- package/dist/{service-sEfdnvlL.js → service-Bgu5Jb1v.js} +15 -15
- package/dist/{session-consumer-agents-UmHVjny8.js → session-consumer-agents-DAH-kXNx.js} +1 -1
- package/dist/{session-consumer-claim-sweep-Cj9dsF9C.js → session-consumer-claim-sweep-BSXd3X9B.js} +9 -9
- package/dist/{session-cost-usage-LPAN7gwx.js → session-cost-usage-EMOsv4X6.js} +3 -3
- package/dist/{session-key-DOZk0n1g.js → session-key-DUkQn_1S.js} +1 -1
- package/dist/{session-key-resolution-hIMY6OcY.js → session-key-resolution-CJwcMEFa.js} +5 -5
- package/dist/{session-meta-BDUMkHJb.js → session-meta-fp99Ucj0.js} +2 -2
- package/dist/{session-storage-Q7_7zqHG.js → session-storage-Cv--6bmD.js} +8 -8
- package/dist/{session-utils-DgeX06NV.js → session-utils-CqNuZUiP.js} +8 -8
- package/dist/{session-visibility-nhFy_Gw1.js → session-visibility-DDVDfSgP.js} +1 -1
- package/dist/{sessions-BxMxYroM.js → sessions-07wpEhac.js} +6 -6
- package/dist/{sessions-DZ8P5diO.js → sessions-BZDMSv9h.js} +18 -18
- package/dist/{sessions-C_jFLMEh.js → sessions-BwZJJVht.js} +6 -6
- package/dist/{sessions-claims-status-t1wpfQOP.js → sessions-claims-status-oxEV_8dP.js} +13 -13
- package/dist/{shared-CJ6JfVC4.js → shared-CMnRp0WD.js} +4 -4
- package/dist/{shared-obDhggWf.js → shared-D-BmVOFv.js} +2 -2
- package/dist/{skill-commands-B7CuemwQ.js → skill-commands-D8oby-tg.js} +7 -7
- package/dist/{skill-scanner-BxTzIAOh.js → skill-scanner-CZtMQPss.js} +7 -7
- package/dist/{skills-cli-BbHYlMC7.js → skills-cli-n5H-N1cq.js} +11 -11
- package/dist/{skills-install-DVhyMvdI.js → skills-install--byu1k9q.js} +10 -10
- package/dist/{skills-DeS5IuN9.js → skills-is3ptAyK.js} +7 -7
- package/dist/{skills-status-C7Zpodqv.js → skills-status-W21GYLbg.js} +4 -4
- package/dist/{status-B_6KFA2c.js → status-BfyTowAG.js} +38 -38
- package/dist/{status-KfElvy9J.js → status-D4HIujTf.js} +5 -5
- package/dist/{status.update-BMspb099.js → status.update-B1eq7pdk.js} +2 -2
- package/dist/{store-DJzisOaQ.js → store-DhI4pUSq.js} +7 -7
- package/dist/{subsystem-CnWdoPKw.js → subsystem-hb8IlZoK.js} +1 -1
- package/dist/{supervisor-BQDbdMGN.js → supervisor-Zyuzbqyy.js} +2 -2
- package/dist/{supervisor-recovery-adapter-N6EUk8-8.js → supervisor-recovery-adapter-DTYM-NtU.js} +9 -9
- package/dist/{system-cli-B0-oIiYA.js → system-cli-_hIBzh2q.js} +15 -15
- package/dist/{system-run-command-CM2z0iTS.js → system-run-command-s2Tv4J5i.js} +2 -2
- package/dist/{systemd-5fQ38YAS.js → systemd-T59ZX7hx.js} +11 -11
- package/dist/{systemd-hints-Bg_lvqW1.js → systemd-hints-CvSycleX.js} +9 -9
- package/dist/{systemd-linger-C20mA76T.js → systemd-linger-DO8CH_6c.js} +2 -2
- package/dist/{table-Dh1-mIyu.js → table-D3ffCcko.js} +2 -2
- package/dist/{tables-DR5pT4X-.js → tables-B4TgPkaN.js} +1 -1
- package/dist/{tailnet-CzWmlGVj.js → tailnet-WoH6OAwd.js} +1 -1
- package/dist/{tailscale-CvPUJvZS.js → tailscale-CZstSM_6.js} +2 -2
- package/dist/{task-pipeline-boot-Ce3PbnWC.js → task-pipeline-boot-KeVASmJb.js} +19 -19
- package/dist/{task-pipeline-boot-BrIBh2as.js → task-pipeline-boot-fQcIficV.js} +103 -103
- package/dist/{task-runlog-retention-Ccy6500r.js → task-runlog-retention-BL9X61tX.js} +2 -2
- package/dist/{task-runlog-retention-CKaDA84s.js → task-runlog-retention-_NAHcblu.js} +5 -5
- package/dist/{tasks-Bb8K1o9w.js → tasks-COKlHjUw.js} +13 -13
- package/dist/{tokens-ZXYKMPyD.js → tokens-Cv29oi2m.js} +1 -1
- package/dist/{tool-display-DorcgRYO.js → tool-display-C4RBYVSp.js} +1 -1
- package/dist/{tool-loop-detection-I5BtAA42.js → tool-loop-detection-HY9HSq9r.js} +2 -2
- package/dist/{trash-n9DbVlPq.js → trash-C7Ej284e.js} +3 -3
- package/dist/{tui-ryPvmZxo.js → tui-cfhCpw02.js} +9 -9
- package/dist/{tui-cli-CUysqEul.js → tui-cli-B2wBAyhp.js} +4 -4
- package/dist/{tui-cli-DWng-d8I.js → tui-cli-BWFTsmKk.js} +34 -34
- package/dist/{tui-AmM0FZrJ.js → tui-kMJhhJ7-.js} +1 -1
- package/dist/{update-DHDJZALz.js → update-DuRR-bjT.js} +3 -3
- package/dist/{update-cli-BiiWrX-b.js → update-cli-BVU7mNge.js} +141 -141
- package/dist/{update-cli-BoBS_5AA.js → update-cli-DcR4OrvV.js} +24 -24
- package/dist/{update-runner-tH30mnIz.js → update-runner-BChTTDr6.js} +18 -18
- package/dist/{update-runner-W_Tfzgw5.js → update-runner-Bv7o_DkR.js} +1 -1
- package/dist/{user-run-recording-8SPArkeP.js → user-run-recording-CXcaMyeC.js} +2 -2
- package/dist/{validation-cli-DHYbbZSf.js → validation-cli-BtMLqpQV.js} +103 -103
- package/dist/{validation-cli-lq97iRX5.js → validation-cli-DWr4aaEj.js} +19 -19
- package/dist/{web-cli-DI1nu_Wf.js → web-cli-BaKAD5an.js} +3 -3
- package/dist/{web-client-assets-OrZLUEre.js → web-client-assets-QQcA7AGj.js} +1 -1
- package/dist/{webhooks-cli-hHB0C7Z_.js → webhooks-cli-DskNYYRT.js} +13 -13
- package/dist/{widearea-dns-C8y2THbl.js → widearea-dns-B-wnhlHs.js} +1 -1
- package/dist/{with-timeout-DaYVHGfP.js → with-timeout-CQ_KubTO.js} +2 -2
- package/dist/{with-timeout-CJixlkca.js → with-timeout-CumbEUij.js} +6 -6
- package/dist/{workspace-sbrDBGDT.js → workspace-CbjGomBJ.js} +3 -3
- package/dist/{workspace-dirs-BHMnsvJx.js → workspace-dirs-DTAkF1kC.js} +1 -1
- package/dist/{ws-DIjS49am.js → ws-Bq_zwewv.js} +2 -2
- package/dist/{wsl-BJW8nTyL.js → wsl-CgXDjE09.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/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/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/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/cli-Bao_Zkv0.js +0 -166
- package/dist/register.configure-CE9sH5t0.js +0 -170
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-
|
|
1
|
+
import { d as colorize, f as isRich, p as theme, t as danger } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime, t as createSubsystemLogger } from "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { za as listChannelPlugins } from "./config-
|
|
5
|
+
import { za as listChannelPlugins } from "./config-Wy1wQZjq.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import { b as sanitizeAgentId } from "./session-key-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./logger-
|
|
10
|
-
import "./exec-
|
|
7
|
+
import { b as sanitizeAgentId } from "./session-key-DUkQn_1S.js";
|
|
8
|
+
import "./agent-scope-CxydHZjT.js";
|
|
9
|
+
import "./logger-BH0Ng0XL.js";
|
|
10
|
+
import "./exec-DtX60IXR.js";
|
|
11
11
|
import "./github-copilot-token-DS1iTsaA.js";
|
|
12
|
-
import "./pid-alive-
|
|
13
|
-
import "./artifacts-
|
|
12
|
+
import "./pid-alive-BkVX-P5U.js";
|
|
13
|
+
import "./artifacts-mmiw3Aqi.js";
|
|
14
14
|
import "./retry-policy-FBwX2QEP.js";
|
|
15
15
|
import "./task-run-types-B6n0W8Rb.js";
|
|
16
16
|
import "./redact-dcExQ0l1.js";
|
|
17
17
|
import "./errors-DZFFjLFB.js";
|
|
18
18
|
import "./static-server-CSKym6UB.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
21
|
-
import "./client-
|
|
22
|
-
import "./call-
|
|
19
|
+
import "./tailnet-WoH6OAwd.js";
|
|
20
|
+
import "./ws-Bq_zwewv.js";
|
|
21
|
+
import "./client-EEggbMMG.js";
|
|
22
|
+
import "./call-5i352x9j.js";
|
|
23
23
|
import "./pairing-token-Wpl-xgyI.js";
|
|
24
24
|
import { n as formatDurationHuman } from "./format-duration-CWi4kD_x.js";
|
|
25
25
|
import { i as parseAbsoluteTimeMs, n as resolveCronStaggerMs } from "./stagger-DveW7KGA.js";
|
|
26
|
-
import { t as formatDocsLink } from "./links-
|
|
27
|
-
import "./progress-
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
26
|
+
import { t as formatDocsLink } from "./links-DMJmXnBC.js";
|
|
27
|
+
import "./progress-B5oGktxz.js";
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-C2PqTIDi.js";
|
|
29
29
|
import { n as parsePositiveIntOrUndefined } from "./helpers-B7ilMWgy.js";
|
|
30
30
|
|
|
31
31
|
//#region src/cli/cron-cli/shared.ts
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Et as sleep, Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-
|
|
2
|
+
import { Et as sleep, Tt as shortenHomePath, d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-DzEfsMsj.js";
|
|
3
3
|
import { d as resolveIsNixMode, g as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { Uo as GATEWAY_CLIENT_MODES, Wo as GATEWAY_CLIENT_NAMES, a as createConfigIO, c as readConfigFileSnapshot, ed as normalizeSecretInputString, f as writeConfigFile, iu as resolveSecretRefValues, mu as secretRefKey, o as loadConfig, td as resolveSecretInputRef } from "./config-
|
|
4
|
+
import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
|
|
5
|
+
import { Uo as GATEWAY_CLIENT_MODES, Wo as GATEWAY_CLIENT_NAMES, a as createConfigIO, c as readConfigFileSnapshot, ed as normalizeSecretInputString, f as writeConfigFile, iu as resolveSecretRefValues, mu as secretRefKey, o as loadConfig, td as resolveSecretInputRef } from "./config-Wy1wQZjq.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CUvskdil.js";
|
|
7
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
8
|
-
import { d as resolveGatewayBindHost } from "./ws-
|
|
9
|
-
import { s as resolveGatewayAuth } from "./auth-
|
|
10
|
-
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
7
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-WoH6OAwd.js";
|
|
8
|
+
import { d as resolveGatewayBindHost } from "./ws-Bq_zwewv.js";
|
|
9
|
+
import { s as resolveGatewayAuth } from "./auth-CzqOUm43.js";
|
|
10
|
+
import { a as classifyPortListener, n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-BzAUXaPL.js";
|
|
11
11
|
import { n as docsSiteUrl } from "./docs-site-CaMj3dUw.js";
|
|
12
|
-
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-
|
|
12
|
+
import { n as callGateway, x as loadGatewayTlsRuntime } from "./call-5i352x9j.js";
|
|
13
13
|
import { t as killProcessTree } from "./kill-tree-BzYPMyPM.js";
|
|
14
14
|
import { p as resolveGatewaySystemdServiceName, u as resolveGatewayLaunchAgentLabel } from "./constants-DfoluqrP.js";
|
|
15
|
-
import { r as isWSLEnv } from "./wsl-
|
|
16
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
17
|
-
import { t as formatDocsLink } from "./links-
|
|
18
|
-
import { n as withProgress } from "./progress-
|
|
15
|
+
import { r as isWSLEnv } from "./wsl-CgXDjE09.js";
|
|
16
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-CrNbGK-_.js";
|
|
17
|
+
import { t as formatDocsLink } from "./links-DMJmXnBC.js";
|
|
18
|
+
import { n as withProgress } from "./progress-B5oGktxz.js";
|
|
19
19
|
import { n as inheritOptionFromParent } from "./command-options-WQ1wfC_v.js";
|
|
20
|
-
import { t as formatConfigIssueLine } from "./issue-format-
|
|
21
|
-
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
20
|
+
import { t as formatConfigIssueLine } from "./issue-format-C5dvpWCs.js";
|
|
21
|
+
import { t as buildGatewayInstallPlan } from "./daemon-install-helpers-BpCzt6Hc.js";
|
|
22
22
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-aQhinwSL.js";
|
|
23
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
24
|
-
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-
|
|
25
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
23
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-Bgu5Jb1v.js";
|
|
24
|
+
import { a as createCliStatusTextStyles, c as parsePortFromArgs, d as renderRuntimeHints, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, l as pickProbeHostForBind, m as buildDaemonServiceSnapshot, n as runServiceStart, o as filterDaemonEnv, p as safeDaemonEnv, r as runServiceStop, s as normalizeListenerAddress, t as runServiceRestart, u as renderGatewayServiceStartHints } from "./lifecycle-core-D4FpkyNE.js";
|
|
25
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-CvSycleX.js";
|
|
26
26
|
import { t as parsePort } from "./parse-port-DSX0K_8q.js";
|
|
27
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
28
|
-
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
27
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DXe05OkI.js";
|
|
28
|
+
import { n as renderDetectedServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DNbhm85u.js";
|
|
29
29
|
|
|
30
30
|
//#region src/cli/daemon-cli/install.ts
|
|
31
31
|
async function runDaemonInstall(opts) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./globals-
|
|
1
|
+
import "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import "./subsystem-
|
|
3
|
+
import "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./version-D_9__Xw6.js";
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
7
|
-
import "./prompt-style-
|
|
8
|
-
import "./note-
|
|
9
|
-
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
10
|
-
import "./runtime-guard-
|
|
5
|
+
import "./logger-BH0Ng0XL.js";
|
|
6
|
+
import "./exec-DtX60IXR.js";
|
|
7
|
+
import "./prompt-style-0wL61aMk.js";
|
|
8
|
+
import "./note-CIEfvmda.js";
|
|
9
|
+
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BpCzt6Hc.js";
|
|
10
|
+
import "./runtime-guard-D9TCGAy5.js";
|
|
11
11
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-aQhinwSL.js";
|
|
12
|
-
import { t as resolveGatewayService } from "./service-
|
|
13
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
14
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
12
|
+
import { t as resolveGatewayService } from "./service-Bgu5Jb1v.js";
|
|
13
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-T59ZX7hx.js";
|
|
14
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-DO8CH_6c.js";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/onboard-non-interactive/local/daemon-install.ts
|
|
17
17
|
async function installGatewayDaemonNonInteractive(params) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Gt as isBunRuntime, Kt as isNodeRuntime, et as collectConfigServiceEnvVars } from "./globals-
|
|
1
|
+
import { Gt as isBunRuntime, Kt as isNodeRuntime, et as collectConfigServiceEnvVars } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import { t as VERSION } from "./version-D_9__Xw6.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CUvskdil.js";
|
|
4
4
|
import { _ as resolveNodeSystemdServiceName, a as NODE_SERVICE_KIND, g as resolveNodeLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, o as NODE_SERVICE_MARKER, p as resolveGatewaySystemdServiceName, r as GATEWAY_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME, u as resolveGatewayLaunchAgentLabel, v as resolveNodeWindowsTaskName } from "./constants-DfoluqrP.js";
|
|
5
|
-
import { n as isSupportedNodeVersion } from "./runtime-guard-
|
|
5
|
+
import { n as isSupportedNodeVersion } from "./runtime-guard-D9TCGAy5.js";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
import { promisify } from "node:util";
|
|
11
11
|
|
|
12
12
|
//#region src/daemon/program-args.ts
|
|
@@ -16,23 +16,23 @@ async function resolveCliEntrypointPathForService() {
|
|
|
16
16
|
const normalized = path.resolve(argv1);
|
|
17
17
|
const resolvedPath = await resolveRealpathSafe(normalized);
|
|
18
18
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(resolvedPath)) {
|
|
19
|
-
await
|
|
19
|
+
await fsPromises.access(resolvedPath);
|
|
20
20
|
if (/[/\\]dist[/\\].+\.(cjs|js|mjs)$/.test(normalized) && normalized !== resolvedPath) try {
|
|
21
|
-
await
|
|
21
|
+
await fsPromises.access(normalized);
|
|
22
22
|
return normalized;
|
|
23
23
|
} catch {}
|
|
24
24
|
return resolvedPath;
|
|
25
25
|
}
|
|
26
26
|
const distCandidates = buildDistCandidates(resolvedPath, normalized);
|
|
27
27
|
for (const candidate of distCandidates) try {
|
|
28
|
-
await
|
|
28
|
+
await fsPromises.access(candidate);
|
|
29
29
|
return candidate;
|
|
30
30
|
} catch {}
|
|
31
31
|
throw new Error(`Cannot find built CLI at ${distCandidates.join(" or ")}. Run "pnpm build" first, or use dev mode.`);
|
|
32
32
|
}
|
|
33
33
|
async function resolveRealpathSafe(inputPath) {
|
|
34
34
|
try {
|
|
35
|
-
return await
|
|
35
|
+
return await fsPromises.realpath(inputPath);
|
|
36
36
|
} catch {
|
|
37
37
|
return inputPath;
|
|
38
38
|
}
|
|
@@ -92,7 +92,7 @@ async function resolveBinaryPath(binary) {
|
|
|
92
92
|
try {
|
|
93
93
|
const resolved = execFileSync(cmd, [binary], { encoding: "utf8" }).trim().split(/\r?\n/)[0]?.trim();
|
|
94
94
|
if (!resolved) throw new Error("empty");
|
|
95
|
-
await
|
|
95
|
+
await fsPromises.access(resolved);
|
|
96
96
|
return resolved;
|
|
97
97
|
} catch {
|
|
98
98
|
if (binary === "bun") throw new Error("Bun not found in PATH. Install bun: https://bun.sh");
|
|
@@ -111,7 +111,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
111
111
|
if (params.dev) {
|
|
112
112
|
const repoRoot = resolveRepoRootForDev();
|
|
113
113
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
114
|
-
await
|
|
114
|
+
await fsPromises.access(devCliPath);
|
|
115
115
|
return {
|
|
116
116
|
programArguments: [
|
|
117
117
|
isBunRuntime(execPath) ? execPath : await resolveBunPath(),
|
|
@@ -139,7 +139,7 @@ async function resolveCliProgramArguments(params) {
|
|
|
139
139
|
}
|
|
140
140
|
const repoRoot = resolveRepoRootForDev();
|
|
141
141
|
const devCliPath = path.join(repoRoot, "src", "index.ts");
|
|
142
|
-
await
|
|
142
|
+
await fsPromises.access(devCliPath);
|
|
143
143
|
if (isBunRuntime(execPath)) return {
|
|
144
144
|
programArguments: [
|
|
145
145
|
execPath,
|
|
@@ -206,13 +206,13 @@ async function resolveStableNodePath(nodePath) {
|
|
|
206
206
|
const formula = cellarMatch[2];
|
|
207
207
|
const optPath = `${prefix}/opt/${formula}/bin/node`;
|
|
208
208
|
try {
|
|
209
|
-
await
|
|
209
|
+
await fsPromises.access(optPath);
|
|
210
210
|
return optPath;
|
|
211
211
|
} catch {}
|
|
212
212
|
if (formula === "node") {
|
|
213
213
|
const binPath = `${prefix}/bin/node`;
|
|
214
214
|
try {
|
|
215
|
-
await
|
|
215
|
+
await fsPromises.access(binPath);
|
|
216
216
|
return binPath;
|
|
217
217
|
} catch {}
|
|
218
218
|
}
|
|
@@ -281,7 +281,7 @@ function isSystemNodePath(nodePath, env = process.env, platform = process.platfo
|
|
|
281
281
|
async function resolveSystemNodePath(env = process.env, platform = process.platform) {
|
|
282
282
|
const candidates = buildSystemNodeCandidates(env, platform);
|
|
283
283
|
for (const candidate of candidates) try {
|
|
284
|
-
await
|
|
284
|
+
await fsPromises.access(candidate);
|
|
285
285
|
return candidate;
|
|
286
286
|
} catch {}
|
|
287
287
|
return null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { Ar as parseInlineDirectives, Ba as normalizeChannelId, Ha as getChannelDock, Ht as getActivePluginRegistry, Ra as getChannelPlugin, Wt as getActivePluginRegistryVersion, gi as resolveMirroredTranscriptText, mi as appendAssistantMessageToSessionTranscript, qn as updateSessionStoreEntry } from "./config-
|
|
4
|
-
import { E as normalizeOptionalAccountId, T as normalizeAccountId } from "./session-key-
|
|
5
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
6
|
-
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-hb8IlZoK.js";
|
|
3
|
+
import { Ar as parseInlineDirectives, Ba as normalizeChannelId, Ha as getChannelDock, Ht as getActivePluginRegistry, Ra as getChannelPlugin, Wt as getActivePluginRegistryVersion, gi as resolveMirroredTranscriptText, mi as appendAssistantMessageToSessionTranscript, qn as updateSessionStoreEntry } from "./config-Wy1wQZjq.js";
|
|
4
|
+
import { E as normalizeOptionalAccountId, T as normalizeAccountId } from "./session-key-DUkQn_1S.js";
|
|
5
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BN8Yurrq.js";
|
|
6
|
+
import { d as resolveOutboundSessionId, f as getGlobalHookRunner, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-BaL31mgo.js";
|
|
7
7
|
import { t as extractTextFromChatContent } from "./chat-content-D2V5ppab.js";
|
|
8
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
9
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { o as loadSessionEntry } from "./session-utils-
|
|
12
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
13
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
8
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-COk8GnL3.js";
|
|
9
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-CyVpre5Y.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DDn13kBS.js";
|
|
11
|
+
import { o as loadSessionEntry } from "./session-utils-CqNuZUiP.js";
|
|
12
|
+
import { t as parseReplyDirectives } from "./reply-directives-DjJmEA55.js";
|
|
13
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-wFJCwq2b.js";
|
|
14
14
|
import { i as failDelivery, o as markDeliveryCommitted, r as enqueueDelivery, s as markDeliveryDispatching, t as ackDelivery } from "./delivery-queue-D-P7CDkE.js";
|
|
15
15
|
|
|
16
16
|
//#region src/infra/outbound/target-normalization.ts
|
|
@@ -6,7 +6,7 @@ import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
|
6
6
|
import { E as normalizeOptionalAccountId, I as parseAgentSessionKey, N as isCronRunSessionKey, T as normalizeAccountId, m as normalizeMainKey, p as normalizeAgentId } from "./session-key-BxmJDkEI.js";
|
|
7
7
|
import { An as isWorkspaceRelativeAvatarPath, Di as normalizeSessionDeliveryFields, En as isAvatarHttpUrl, Fi as readFirstUserMessageFromBackend, Gu as resolveOpenClawAgentDir, Ii as readFirstUserMessageFromTranscript, Li as readLastMessagePreviewFromBackend, Mn as resolveAvatarMime, Nt as loadConfig, On as isPathWithinRoot, Ri as readLastMessagePreviewFromTranscript, Tn as isAvatarDataUrl, Ua as resolveMirroredTranscriptText, Va as appendAssistantMessageToSessionTranscript, _ as resolveDefaultModelForAgent, _r as getActivePluginRegistryVersion, as as canonicalizeMainSessionAlias, bi as updateSessionStoreEntry, cs as resolveMainSessionKey, dd as DEFAULT_MODEL, fd as DEFAULT_PROVIDER, fs as getChannelPlugin, g as resolveConfiguredModelRef, gs as getChannelDock, hr as getActivePluginRegistry, ms as normalizeChannelId, nc as buildGroupDisplayName, o as inferUniqueProviderFromConfiguredModels, os as resolveAgentMainSessionKey, p as parseModelRef, qa as isJsonlSessionBackend, ra as parseInlineDirectives, rs as resolveFreshSessionTotalTokens, si as loadSessionStore, ud as DEFAULT_CONTEXT_TOKENS, wn as AVATAR_MAX_BYTES } from "./model-selection-kV2JXnSw.js";
|
|
8
8
|
import { m as resolveStorePath } from "./artifacts-CSUzSsVF.js";
|
|
9
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
9
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-CTXJgU8t.js";
|
|
10
10
|
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ByB0R-Qf.js";
|
|
11
11
|
import { t as ensureOpenClawModelsJson } from "./models-config-DjkL5qRx.js";
|
|
12
12
|
import { t as extractTextFromChatContent } from "./chat-content-_IbUtUxr.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { p as theme } from "./globals-
|
|
1
|
+
import { p as theme } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { Uo as GATEWAY_CLIENT_MODES, Wo as GATEWAY_CLIENT_NAMES } from "./config-
|
|
5
|
+
import { Uo as GATEWAY_CLIENT_MODES, Wo as GATEWAY_CLIENT_NAMES } from "./config-Wy1wQZjq.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./logger-
|
|
9
|
-
import "./exec-
|
|
7
|
+
import "./agent-scope-CxydHZjT.js";
|
|
8
|
+
import "./logger-BH0Ng0XL.js";
|
|
9
|
+
import "./exec-DtX60IXR.js";
|
|
10
10
|
import "./github-copilot-token-DS1iTsaA.js";
|
|
11
|
-
import "./pid-alive-
|
|
12
|
-
import "./artifacts-
|
|
11
|
+
import "./pid-alive-BkVX-P5U.js";
|
|
12
|
+
import "./artifacts-mmiw3Aqi.js";
|
|
13
13
|
import "./retry-policy-FBwX2QEP.js";
|
|
14
14
|
import "./task-run-types-B6n0W8Rb.js";
|
|
15
15
|
import "./redact-dcExQ0l1.js";
|
|
16
16
|
import "./errors-DZFFjLFB.js";
|
|
17
17
|
import "./static-server-CSKym6UB.js";
|
|
18
|
-
import "./tailnet-
|
|
19
|
-
import { i as isLoopbackHost } from "./ws-
|
|
20
|
-
import { Dn as approveDevicePairing, Mn as listDevicePairing, Rn as summarizeDeviceTokens } from "./client-
|
|
21
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
+
import "./tailnet-WoH6OAwd.js";
|
|
19
|
+
import { i as isLoopbackHost } from "./ws-Bq_zwewv.js";
|
|
20
|
+
import { Dn as approveDevicePairing, Mn as listDevicePairing, Rn as summarizeDeviceTokens } from "./client-EEggbMMG.js";
|
|
21
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-5i352x9j.js";
|
|
22
22
|
import "./pairing-token-Wpl-xgyI.js";
|
|
23
23
|
import { n as formatTimeAgo } from "./format-relative-BXoxEQVN.js";
|
|
24
|
-
import { n as withProgress } from "./progress-
|
|
25
|
-
import { t as renderTable } from "./table-
|
|
24
|
+
import { n as withProgress } from "./progress-B5oGktxz.js";
|
|
25
|
+
import { t as renderTable } from "./table-D3ffCcko.js";
|
|
26
26
|
|
|
27
27
|
//#region src/cli/devices-cli.ts
|
|
28
28
|
const FALLBACK_NOTICE = "Direct scope access failed; using local fallback.";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { o as loadConfig } from "./config-
|
|
4
|
-
import { h as resolveAgentIdFromSessionKey } from "./session-key-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-hb8IlZoK.js";
|
|
3
|
+
import { o as loadConfig } from "./config-Wy1wQZjq.js";
|
|
4
|
+
import { h as resolveAgentIdFromSessionKey } from "./session-key-DUkQn_1S.js";
|
|
5
5
|
import { s as emitDiagnosticEvent } from "./task-run-types-B6n0W8Rb.js";
|
|
6
6
|
import { n as redactSensitiveText } from "./redact-dcExQ0l1.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-PPop_uPK.js";
|
|
@@ -846,7 +846,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
846
846
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
847
847
|
state.abortDispatched = true;
|
|
848
848
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
849
|
-
import("./runs-
|
|
849
|
+
import("./runs-fddM4kFw.js").then((n) => n.m).then(({ abortEmbeddedPiRun }) => {
|
|
850
850
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
851
851
|
}).catch((err) => {
|
|
852
852
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|
|
@@ -846,7 +846,7 @@ function startDiagnosticHeartbeat(config) {
|
|
|
846
846
|
if (ageMs > stuckSessionAbortMs && state.queueDepth > 0 && !state.capturedEnd && !state.abortDispatched && state.sessionId) {
|
|
847
847
|
state.abortDispatched = true;
|
|
848
848
|
diag.warn(`stuck-session abort: sessionId=${state.sessionId} progressAge=${Math.round(ageMs / 1e3)}s threshold=${Math.round(stuckSessionAbortMs / 1e3)}s queueDepth=${state.queueDepth}`);
|
|
849
|
-
import("./runs-
|
|
849
|
+
import("./runs-DD81n7Ms.js").then((n) => n.m).then(({ abortEmbeddedPiRun }) => {
|
|
850
850
|
if (state.sessionId && state.abortDispatched) abortEmbeddedPiRun(state.sessionId);
|
|
851
851
|
}).catch((err) => {
|
|
852
852
|
diag.warn(`stuck-session abort import failed: ${String(err)}`);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
2
|
-
import
|
|
1
|
+
import { s as resolveGatewayLogPaths } from "./service-Bgu5Jb1v.js";
|
|
2
|
+
import fsPromises from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/diagnostics.ts
|
|
5
5
|
const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
@@ -11,7 +11,7 @@ const GATEWAY_LOG_ERROR_PATTERNS = [
|
|
|
11
11
|
];
|
|
12
12
|
async function readLastLogLine(filePath) {
|
|
13
13
|
try {
|
|
14
|
-
const lines = (await
|
|
14
|
+
const lines = (await fsPromises.readFile(filePath, "utf8")).split(/\r?\n/).map((line) => line.trim());
|
|
15
15
|
for (let i = lines.length - 1; i >= 0; i -= 1) if (lines[i]) return lines[i];
|
|
16
16
|
return null;
|
|
17
17
|
} catch {
|
|
@@ -20,8 +20,8 @@ async function readLastLogLine(filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
async function readLastGatewayErrorLine(env) {
|
|
22
22
|
const { stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
23
|
-
const stderrRaw = await
|
|
24
|
-
const stdoutRaw = await
|
|
23
|
+
const stderrRaw = await fsPromises.readFile(stderrPath, "utf8").catch(() => "");
|
|
24
|
+
const stdoutRaw = await fsPromises.readFile(stdoutPath, "utf8").catch(() => "");
|
|
25
25
|
const lines = [...stderrRaw.split(/\r?\n/), ...stdoutRaw.split(/\r?\n/)].map((line) => line.trim());
|
|
26
26
|
for (let i = lines.length - 1; i >= 0; i -= 1) {
|
|
27
27
|
const line = lines[i];
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { p as theme, t as danger } from "./globals-
|
|
1
|
+
import { p as theme, t as danger } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { Ra as getChannelPlugin, o as loadConfig } from "./config-
|
|
5
|
+
import { Ra as getChannelPlugin, o as loadConfig } from "./config-Wy1wQZjq.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./logger-
|
|
9
|
-
import "./exec-
|
|
7
|
+
import "./agent-scope-CxydHZjT.js";
|
|
8
|
+
import "./logger-BH0Ng0XL.js";
|
|
9
|
+
import "./exec-DtX60IXR.js";
|
|
10
10
|
import "./github-copilot-token-DS1iTsaA.js";
|
|
11
|
-
import "./pid-alive-
|
|
12
|
-
import "./artifacts-
|
|
11
|
+
import "./pid-alive-BkVX-P5U.js";
|
|
12
|
+
import "./artifacts-mmiw3Aqi.js";
|
|
13
13
|
import "./retry-policy-FBwX2QEP.js";
|
|
14
14
|
import "./task-run-types-B6n0W8Rb.js";
|
|
15
15
|
import "./redact-dcExQ0l1.js";
|
|
16
16
|
import "./errors-DZFFjLFB.js";
|
|
17
17
|
import "./static-server-CSKym6UB.js";
|
|
18
|
-
import { n as resolveMessageChannelSelection } from "./channel-selection-
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
21
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
22
|
-
import { t as renderTable } from "./table-
|
|
18
|
+
import { n as resolveMessageChannelSelection } from "./channel-selection-EeyjFzad.js";
|
|
19
|
+
import { t as formatDocsLink } from "./links-DMJmXnBC.js";
|
|
20
|
+
import { t as formatHelpExamples } from "./help-format-aPNS9ayu.js";
|
|
21
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-BNMarGmo.js";
|
|
22
|
+
import { t as renderTable } from "./table-D3ffCcko.js";
|
|
23
23
|
|
|
24
24
|
//#region src/cli/directory-cli.ts
|
|
25
25
|
function parseLimit(value) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ha as getChannelDock, Ro as normalizeMessageChannel, To as resolveChannelGroupToolsPolicy, Xo as normalizeStringEntries, wc as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-
|
|
2
|
-
import { L as resolveThreadParentSessionKey, h as resolveAgentIdFromSessionKey, p as normalizeAgentId } from "./session-key-
|
|
3
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
4
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
5
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
1
|
+
import { Ha as getChannelDock, Ro as normalizeMessageChannel, To as resolveChannelGroupToolsPolicy, Xo as normalizeStringEntries, wc as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./config-Wy1wQZjq.js";
|
|
2
|
+
import { L as resolveThreadParentSessionKey, h as resolveAgentIdFromSessionKey, p as normalizeAgentId } from "./session-key-DUkQn_1S.js";
|
|
3
|
+
import { i as resolveAgentConfig } from "./agent-scope-CxydHZjT.js";
|
|
4
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-CTl9v7Zl.js";
|
|
5
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-baQ6verU.js";
|
|
6
6
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-BCcgW-r3.js";
|
|
7
7
|
|
|
8
8
|
//#region src/agents/sandbox-tool-policy.ts
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { p as theme } from "./globals-
|
|
1
|
+
import { p as theme } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { o as loadConfig } from "./config-
|
|
5
|
+
import { o as loadConfig } from "./config-Wy1wQZjq.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./logger-
|
|
9
|
-
import "./exec-
|
|
7
|
+
import "./agent-scope-CxydHZjT.js";
|
|
8
|
+
import "./logger-BH0Ng0XL.js";
|
|
9
|
+
import "./exec-DtX60IXR.js";
|
|
10
10
|
import "./github-copilot-token-DS1iTsaA.js";
|
|
11
|
-
import "./pid-alive-
|
|
12
|
-
import "./artifacts-
|
|
11
|
+
import "./pid-alive-BkVX-P5U.js";
|
|
12
|
+
import "./artifacts-mmiw3Aqi.js";
|
|
13
13
|
import "./retry-policy-FBwX2QEP.js";
|
|
14
14
|
import "./task-run-types-B6n0W8Rb.js";
|
|
15
15
|
import "./redact-dcExQ0l1.js";
|
|
16
16
|
import "./errors-DZFFjLFB.js";
|
|
17
17
|
import "./static-server-CSKym6UB.js";
|
|
18
|
-
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-
|
|
19
|
-
import { t as formatDocsLink } from "./links-
|
|
20
|
-
import { t as renderTable } from "./table-
|
|
21
|
-
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-
|
|
18
|
+
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-WoH6OAwd.js";
|
|
19
|
+
import { t as formatDocsLink } from "./links-DMJmXnBC.js";
|
|
20
|
+
import { t as renderTable } from "./table-D3ffCcko.js";
|
|
21
|
+
import { n as resolveWideAreaDiscoveryDomain, t as getWideAreaZonePath } from "./widearea-dns-B-wnhlHs.js";
|
|
22
22
|
import { spawnSync } from "node:child_process";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs from "node:fs";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { f as isRich, p as theme } from "./globals-
|
|
1
|
+
import { f as isRich, p as theme } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import "./config-
|
|
5
|
+
import "./config-Wy1wQZjq.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import "./agent-scope-
|
|
8
|
-
import "./logger-
|
|
9
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
7
|
+
import "./agent-scope-CxydHZjT.js";
|
|
8
|
+
import "./logger-BH0Ng0XL.js";
|
|
9
|
+
import { t as runCommandWithTimeout } from "./exec-DtX60IXR.js";
|
|
10
10
|
import "./github-copilot-token-DS1iTsaA.js";
|
|
11
|
-
import "./pid-alive-
|
|
11
|
+
import "./pid-alive-BkVX-P5U.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-CUvskdil.js";
|
|
13
|
-
import "./artifacts-
|
|
13
|
+
import "./artifacts-mmiw3Aqi.js";
|
|
14
14
|
import "./retry-policy-FBwX2QEP.js";
|
|
15
15
|
import "./task-run-types-B6n0W8Rb.js";
|
|
16
16
|
import "./redact-dcExQ0l1.js";
|
|
17
17
|
import "./errors-DZFFjLFB.js";
|
|
18
18
|
import "./static-server-CSKym6UB.js";
|
|
19
|
-
import { d as hasBinary } from "./frontmatter-
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
19
|
+
import { d as hasBinary } from "./frontmatter-pi3glMFx.js";
|
|
20
|
+
import "./skills-is3ptAyK.js";
|
|
21
|
+
import "./path-alias-guards-CwFH4u4Y.js";
|
|
22
22
|
import { n as docsSiteUrl } from "./docs-site-CaMj3dUw.js";
|
|
23
|
-
import { t as formatDocsLink } from "./links-
|
|
23
|
+
import { t as formatDocsLink } from "./links-DMJmXnBC.js";
|
|
24
24
|
import { n as runCommandWithRuntime } from "./cli-utils-Co68pUjz.js";
|
|
25
25
|
import MarkdownIt from "markdown-it";
|
|
26
26
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
1
|
+
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-COWNwQGN.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CUvskdil.js";
|
|
3
|
-
import { t as note } from "./note-
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
3
|
+
import { t as note } from "./note-CIEfvmda.js";
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CF1KcRLT.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-BGUYWYDG.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CGUNQYjt.js";
|
|
3
3
|
import { t as note } from "./note-DNloJfK7.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CSlJsSsc.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { _t as isRecord, xt as resolveHomeDir } from "./globals-
|
|
1
|
+
import { _t as isRecord, xt as resolveHomeDir } from "./globals-DzEfsMsj.js";
|
|
2
2
|
import { f as resolveLegacyStateDirs, g as resolveStateDir, m as resolveOAuthDir, p as resolveNewStateDir, t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { As as normalizeTrustedSafeBinDirs, Ds as getTrustedSafeBinDirs, Eo as parseToolsBySenderTypedKey, Os as isTrustedSafeBinPath, Vn as saveSessionStore, Vs as resolveCommandResolutionFromArgv, Ya as resolveTelegramAccount, _t as normalizePluginsConfig, c as readConfigFileSnapshot, dc as formatSlackStreamingBooleanMigrationMessage, gc as resolveTelegramPreviewStreamMode, hc as resolveSlackStreamingMode, ja as canonicalizeMainSessionAlias, m as OpenClawSchema, mc as resolveSlackNativeStreaming, n as migrateLegacyConfig, pc as resolveDiscordPreviewStreamMode, qa as listTelegramAccountIds, uc as formatSlackStreamModeMigrationMessage, yt as resolveEnableState, zt as normalizeChatChannelId } from "./config-
|
|
4
|
-
import { T as normalizeAccountId, a as buildAgentMainSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAgentId, w as DEFAULT_ACCOUNT_ID } from "./session-key-
|
|
5
|
-
import { d as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
+
import { As as normalizeTrustedSafeBinDirs, Ds as getTrustedSafeBinDirs, Eo as parseToolsBySenderTypedKey, Os as isTrustedSafeBinPath, Vn as saveSessionStore, Vs as resolveCommandResolutionFromArgv, Ya as resolveTelegramAccount, _t as normalizePluginsConfig, c as readConfigFileSnapshot, dc as formatSlackStreamingBooleanMigrationMessage, gc as resolveTelegramPreviewStreamMode, hc as resolveSlackStreamingMode, ja as canonicalizeMainSessionAlias, m as OpenClawSchema, mc as resolveSlackNativeStreaming, n as migrateLegacyConfig, pc as resolveDiscordPreviewStreamMode, qa as listTelegramAccountIds, uc as formatSlackStreamModeMigrationMessage, yt as resolveEnableState, zt as normalizeChatChannelId } from "./config-Wy1wQZjq.js";
|
|
4
|
+
import { T as normalizeAccountId, a as buildAgentMainSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAgentId, w as DEFAULT_ACCOUNT_ID } from "./session-key-DUkQn_1S.js";
|
|
5
|
+
import { d as resolveDefaultAgentId } from "./agent-scope-CxydHZjT.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CUvskdil.js";
|
|
7
|
-
import { n as isPrimarySessionTranscriptFileName } from "./artifacts-
|
|
8
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
9
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
10
|
-
import { i as applyPluginAutoEnable, n as collectUnsafeTelegramPollingTimeouts, t as applyTelegramPollingTimeoutRepair } from "./polling-timeout-
|
|
7
|
+
import { n as isPrimarySessionTranscriptFileName } from "./artifacts-mmiw3Aqi.js";
|
|
8
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-BH45jyJz.js";
|
|
9
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-baQ6verU.js";
|
|
10
|
+
import { i as applyPluginAutoEnable, n as collectUnsafeTelegramPollingTimeouts, t as applyTelegramPollingTimeoutRepair } from "./polling-timeout-x98FlzJG.js";
|
|
11
11
|
import { t as collectProviderDangerousNameMatchingScopes } from "./dangerous-name-matching-Dk-YDcqh.js";
|
|
12
|
-
import { r as shouldMoveSingleAccountChannelKey, t as fetchTelegramChatId } from "./api-
|
|
13
|
-
import { t as note } from "./note-
|
|
14
|
-
import { t as isWithinDir } from "./path-safety-
|
|
15
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
12
|
+
import { r as shouldMoveSingleAccountChannelKey, t as fetchTelegramChatId } from "./api-CoJEjegK.js";
|
|
13
|
+
import { t as note } from "./note-CIEfvmda.js";
|
|
14
|
+
import { t as isWithinDir } from "./path-safety-bfKwXs6i.js";
|
|
15
|
+
import { n as formatConfigIssueLines } from "./issue-format-C5dvpWCs.js";
|
|
16
16
|
import { a as isMattermostMutableAllowEntry, c as normalizeTelegramAllowFromEntry, i as isMSTeamsMutableAllowEntry, n as isGoogleChatMutableAllowEntry, o as isSlackMutableAllowEntry, r as isIrcMutableAllowEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-C7fvoibT.js";
|
|
17
17
|
import os from "node:os";
|
|
18
18
|
import path from "node:path";
|
|
19
19
|
import fs from "node:fs";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import json5 from "json5";
|
|
21
|
+
import fsPromises from "node:fs/promises";
|
|
22
22
|
|
|
23
23
|
//#region src/commands/doctor-legacy-config.ts
|
|
24
24
|
function normalizeCompatibilityConfigValues(cfg) {
|
|
@@ -513,7 +513,7 @@ function isLegacyWhatsAppAuthFile(name) {
|
|
|
513
513
|
function readSessionStoreJson5(storePath) {
|
|
514
514
|
try {
|
|
515
515
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
516
|
-
const parsed =
|
|
516
|
+
const parsed = json5.parse(raw);
|
|
517
517
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return {
|
|
518
518
|
store: parsed,
|
|
519
519
|
ok: true
|
|
@@ -2259,7 +2259,7 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2259
2259
|
const targetDir = path.join(home, ".openclaw");
|
|
2260
2260
|
const targetPath = path.join(targetDir, "openclaw.json");
|
|
2261
2261
|
try {
|
|
2262
|
-
await
|
|
2262
|
+
await fsPromises.access(targetPath);
|
|
2263
2263
|
return changes;
|
|
2264
2264
|
} catch {}
|
|
2265
2265
|
const legacyCandidates = [
|
|
@@ -2269,14 +2269,14 @@ async function maybeMigrateLegacyConfig() {
|
|
|
2269
2269
|
];
|
|
2270
2270
|
let legacyPath = null;
|
|
2271
2271
|
for (const candidate of legacyCandidates) try {
|
|
2272
|
-
await
|
|
2272
|
+
await fsPromises.access(candidate);
|
|
2273
2273
|
legacyPath = candidate;
|
|
2274
2274
|
break;
|
|
2275
2275
|
} catch {}
|
|
2276
2276
|
if (!legacyPath) return changes;
|
|
2277
|
-
await
|
|
2277
|
+
await fsPromises.mkdir(targetDir, { recursive: true });
|
|
2278
2278
|
try {
|
|
2279
|
-
await
|
|
2279
|
+
await fsPromises.copyFile(legacyPath, targetPath, fsPromises.constants.COPYFILE_EXCL);
|
|
2280
2280
|
changes.push(`Migrated legacy config: ${legacyPath} -> ${targetPath}`);
|
|
2281
2281
|
} catch {}
|
|
2282
2282
|
return changes;
|