wednesdayai 0.4.12-dev.733 → 0.4.12-dev.734
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-Ciw9I0uZ.js → acp-cli-u6BEMShe.js} +15 -15
- package/dist/{agent-scope-CVpiV9_p.js → agent-scope-B5BtLhIC.js} +2 -2
- package/dist/{agent-scope-Isfe_TTc.js → agent-scope-C7A_L0Z6.js} +21 -21
- package/dist/{agent-turn-enqueue-Dm0JENbl.js → agent-turn-enqueue-oYjYy4W3.js} +6 -6
- package/dist/{agent-turn-recovery-adapter-OfuCod26.js → agent-turn-recovery-adapter-Ba_u8tsH.js} +3 -3
- package/dist/{agent-turn-runner-D9oWYU1F.js → agent-turn-runner-DJaul1fs.js} +5 -5
- package/dist/{agent-turn-runner-CHoOKwsD.js → agent-turn-runner-DN-XHX0T.js} +4 -4
- package/dist/{agent-turn-runner-BV_PeLdX.js → agent-turn-runner-iiGV_xDS.js} +6 -6
- package/dist/{agents.config-DDNucPjd.js → agents.config-YgM6ypSW.js} +3 -3
- package/dist/{api-B8kTLa-V.js → api-DTIIemyw.js} +1 -1
- package/dist/{api-key-rotation-C-jZ2g9h.js → api-key-rotation-DLl0JScq.js} +1 -1
- package/dist/{api-key-rotation-BhNw79Bu.js → api-key-rotation-Vhef3tyV.js} +1 -1
- package/dist/{artifacts-D7xTEspu.js → artifacts-CSUzSsVF.js} +1 -1
- package/dist/{audio-preflight-Cj5N8Fbp.js → audio-preflight-BWqiB-Gv.js} +38 -38
- package/dist/{audio-preflight-B0-wpy5i.js → audio-preflight-BfVCaStC.js} +5 -5
- package/dist/{audio-preflight-zbZPSZeC.js → audio-preflight-DmuNG6iD.js} +25 -25
- package/dist/{audio-transcription-runner-BTMTo0Oh.js → audio-transcription-runner-BddwFNQF.js} +26 -26
- package/dist/{audio-transcription-runner-DU-4s9T-.js → audio-transcription-runner-DV97sIzf.js} +1 -1
- package/dist/{audio-transcription-runner-DQOhmZXw.js → audio-transcription-runner-DskeI69N.js} +12 -12
- package/dist/{audit-Ch0W6MYl.js → audit-BdvUbSJW.js} +31 -31
- package/dist/{auth-RqerQcVN.js → auth-Bpsbop7P.js} +4 -4
- package/dist/{auth-choice-DwMUQqPs.js → auth-choice-C-PuOQwZ.js} +13 -13
- package/dist/{auth-choice-BYuFP7T_.js → auth-choice-Ci58poKa.js} +18 -18
- package/dist/{auth-choice.apply-helpers-BMb44QwW.js → auth-choice.apply-helpers-DOUrHdHL.js} +1 -1
- package/dist/{auth-token-D_jEtete.js → auth-token-CNieP0C6.js} +2 -2
- package/dist/{bonjour-discovery-g2GjlMwG.js → bonjour-discovery-DcI9gUqF.js} +3 -3
- package/dist/{browser-cli-Bz6AxM_A.js → browser-cli-B38yP_6r.js} +22 -22
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +56 -56
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-journal/handler.js +56 -56
- package/dist/bundled/session-memory/handler.js +56 -56
- package/dist/{call-CCfms07q.js → call-DcUNQRRs.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DNIQLMZJ.js → channel-account-context-BLrrF35q.js} +7 -7
- package/dist/{channel-activity-sPbGjc5e.js → channel-activity-D6C30I8U.js} +2 -2
- package/dist/{channel-activity-CYX6jkoL.js → channel-activity-umvXZN1Q.js} +2 -2
- package/dist/{channel-options-BveWV11S.js → channel-options-GalVDUUs.js} +4 -4
- package/dist/{channel-selection-BRkNQi3I.js → channel-selection-BhS12YOf.js} +1 -1
- package/dist/{channels-cli-DAGiS54d.js → channels-cli-DG8Z_thL.js} +122 -122
- package/dist/{channels-status-issues-1yAXMoby.js → channels-status-issues-C3WZ-FHq.js} +1 -1
- package/dist/{chat-content-C9leVKVS.js → chat-content-CpbqvcYj.js} +13 -13
- package/dist/{chat-content-CBi2BuMN.js → chat-content-DTi4qPWl.js} +3 -3
- package/dist/{chrome-C6EL_Azx.js → chrome-3_0KrCjl.js} +8 -8
- package/dist/{chrome-K_3gICG0.js → chrome-BmOe128y.js} +6 -6
- package/dist/{chrome-B1W66RLB.js → chrome-QHHEijm4.js} +12 -12
- package/dist/{chunk-v83cSD3K.js → chunk-Cft1Qryu.js} +3 -3
- package/dist/{chunk-DsOlQSkR.js → chunk-DjzPpjFE.js} +3 -3
- package/dist/{clack-prompter-E1c9la4n.js → clack-prompter-5Rt5HC77.js} +5 -5
- package/dist/clawbot-cli-B_eFyFig.js +36 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-Dgi81MlW.js +166 -0
- package/dist/{client-VFkIaJUE.js → client-CfK_daL3.js} +3 -3
- package/dist/{client-profiles-CofHU2-i.js → client-profiles-DXMSQ3LL.js} +2 -2
- package/dist/{clipboard-BFomxx0G.js → clipboard-CXNhYcRG.js} +1 -1
- package/dist/{command-queue-9omEZYIX.js → command-queue--qG4Wxve.js} +1 -1
- package/dist/{command-queue-Cz-yW8Fn.js → command-queue-BeqPo1FP.js} +1 -1
- package/dist/{command-queue-C6BVo5I0.js → command-queue-Bwh4Cjht.js} +1 -1
- package/dist/{command-secret-targets-DCV5FIY6.js → command-secret-targets-Gl-QK3RO.js} +4 -4
- package/dist/{commands-CTxKrS5w.js → commands-DpelJzCu.js} +1 -1
- package/dist/{commands-registry-DGtDGKmr.js → commands-registry-Ccpns1_9.js} +2 -2
- package/dist/{commands-registry-DISO8Rbf.js → commands-registry-DQp53oMc.js} +3 -3
- package/dist/{completion-cli-DFNOXLps.js → completion-cli-CdiynSEq.js} +15 -15
- package/dist/{config-cli-p03mh4YX.js → config-cli-p-8y2wLT.js} +13 -13
- package/dist/{config-guard-Dzau_M6-.js → config-guard-B07Pi5M4.js} +17 -17
- package/dist/{config-validation-xc_nQppc.js → config-validation-DWz89icD.js} +4 -4
- package/dist/{configure-DmydR0wt.js → configure-C103cYIE.js} +25 -25
- package/dist/{control-ui-assets-CX17hVrY.js → control-ui-assets-3-KmlKzl.js} +3 -3
- package/dist/{controller-Cf_Sh5y1.js → controller-CwG8Zp_n.js} +1 -1
- package/dist/{credentials-CpbaIISJ.js → credentials-gpmh64hA.js} +1 -1
- package/dist/{cron-cli-BvII3wJp.js → cron-cli-y-JG-HVt.js} +17 -17
- package/dist/{daemon-cli-BS4lzrlG.js → daemon-cli-ChjPuLhH.js} +19 -19
- package/dist/{daemon-install-BAolTW-k.js → daemon-install-Cs7LQnph.js} +11 -11
- package/dist/{daemon-install-helpers-BXatJyxv.js → daemon-install-helpers-6Xe4iL6g.js} +13 -13
- package/dist/{deliver-CtrRdP0I.js → deliver-Bm3KCC7N.js} +14 -14
- package/dist/{deliver-BilN6eHm.js → deliver-BmkcRFC9.js} +1 -1
- package/dist/{deliver-BeUjHsuQ.js → deliver-QPSbsYeP.js} +15 -15
- package/dist/{devices-cli-CtaHqDZx.js → devices-cli-ByoED8_c.js} +15 -15
- package/dist/{diagnostic-C3MkA2d5.js → diagnostic-CCR8brX6.js} +1 -1
- package/dist/{diagnostic-INswCh23.js → diagnostic-CGl139nm.js} +5 -5
- package/dist/{diagnostic-CkzxbMOl.js → diagnostic-Chf-opgf.js} +4 -4
- package/dist/{diagnostics-BL7MaHFG.js → diagnostics-feLr7_11.js} +5 -5
- package/dist/{directory-cli-DvgdYM7w.js → directory-cli-Dm6bdo-K.js} +14 -14
- package/dist/{dns-cli-D0Jjy9ct.js → dns-cli-BV3f81WF.js} +13 -13
- package/dist/{docs-cli-CFi2HDrN.js → docs-cli-CtYEOTf5.js} +12 -12
- package/dist/{doctor-completion-B1SsMlh-.js → doctor-completion-Bx6uvkY3.js} +3 -3
- package/dist/{doctor-config-flow-DU0u9ath.js → doctor-config-flow-CHpbeQ8M.js} +17 -17
- package/dist/{enable-BRot9Tbi.js → enable-CODu9xqV.js} +2 -2
- package/dist/{env-DwhxSLZz.js → env-uQrKrEGz.js} +1 -1
- package/dist/{exec-approvals-allowlist-CVeFyVcd.js → exec-approvals-allowlist-BxG5LK_B.js} +1 -1
- package/dist/{exec-approvals-cli-Bwc8M8YG.js → exec-approvals-cli-Cnn9uvon.js} +25 -25
- package/dist/{exec-approvals-BS3OjF4g.js → exec-approvals-sC6Vto0t.js} +2 -2
- package/dist/{exec-BNayx9Nm.js → exec-g-Nx0X6p.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-OSqMfz70.js → exec-safe-bin-runtime-policy-Bd1hExM6.js} +2 -2
- package/dist/{extension-relay-auth-Dcu8wthB.js → extension-relay-auth-NxDK9Fke.js} +10 -10
- package/dist/extensionAPI.js +12 -12
- package/dist/{fetch-cEFmY5z9.js → fetch-fy8exuqj.js} +6 -6
- package/dist/{fetch-guard-EajwxXjX.js → fetch-guard-CfI8OeSj.js} +3 -3
- package/dist/{fetch-guard-CBYchbZq.js → fetch-guard-tWQjMK2l.js} +3 -3
- package/dist/{frontmatter-BxEA3xXS.js → frontmatter-AubDiZG0.js} +3 -3
- package/dist/{fs-safe-B7Enj5xC.js → fs-safe-Ckd0hSqX.js} +3 -3
- package/dist/{fs-safe-B3ZR2kik.js → fs-safe-LwswEc9h.js} +25 -25
- package/dist/{gateway-cli-D_-cQdWs.js → gateway-cli-D37cHpSz.js} +222 -222
- package/dist/{gateway-rpc-CQYm-HLi.js → gateway-rpc-CiALr93w.js} +3 -3
- package/dist/{gmail-setup-utils-hfaqpEZm.js → gmail-setup-utils-XnNYe7e4.js} +2 -2
- package/dist/{health-jv7pcI79.js → health-BovdETb-.js} +12 -12
- package/dist/{health-format-CT7biLM5.js → health-format-UGHgSjMo.js} +1 -1
- package/dist/{heartbeat-tick-CrLpacK5.js → heartbeat-tick-gDighXQe.js} +2 -2
- package/dist/{help-format-CLct84oR.js → help-format-RRPzsWkf.js} +1 -1
- package/dist/{helpers-DPLyPWvP.js → helpers-DGWfGS2H.js} +1 -1
- package/dist/{hooks-cli-B-xZu7If.js → hooks-cli-3CvgoXOf.js} +110 -110
- package/dist/{hooks-status-uQ6F_qa5.js → hooks-status-Bk4EXCkN.js} +2 -2
- package/dist/{image-ops-CbGvIbf3.js → image-ops-BM9FiJs0.js} +1 -1
- package/dist/{image-ops-CHN4z44F.js → image-ops-C0lTPxIN.js} +11 -11
- package/dist/{incident-install-Cfpzkmd6.js → incident-install-BU8QyJJi.js} +14 -14
- package/dist/index.js +109 -109
- package/dist/{inspect-BHcKD0Mh.js → inspect-CEi0vY67.js} +4 -4
- package/dist/{install-safe-path-C_UxxVRx.js → install-safe-path-Cv53fge9.js} +25 -25
- package/dist/{installs-DfXrCFr4.js → installs-BZ7QGLTH.js} +10 -10
- package/dist/{ipv4-pualJW3L.js → ipv4-6tmOAqee.js} +2 -2
- package/dist/{ir-BZC8jqmM.js → ir-BcCmcdpx.js} +8 -8
- package/dist/{ir-rvMyPCLn.js → ir-YDUZgbxp.js} +5 -5
- package/dist/{issue-format-CKVc879T.js → issue-format-CMvPuN7V.js} +1 -1
- package/dist/{legacy-names-CLlrMq8r.js → legacy-names-DnKoTzf4.js} +1 -1
- package/dist/{lifecycle-core-nH5DqDS2.js → lifecycle-core-hNAWQhZw.js} +9 -9
- package/dist/{links-DtYJaVFO.js → links-DA_gi3gE.js} +1 -1
- package/dist/{live-repair-CajZtMx4.js → live-repair-BvevhX8_.js} +13 -13
- package/dist/llm-slug-generator.js +56 -56
- package/dist/{local-roots-C0gTK4Bz.js → local-roots-7K5PLW70.js} +5 -5
- package/dist/{log-tail--H82JYgg.js → log-tail-FFb_BPrV.js} +7 -7
- package/dist/{logger-Bd6qOjzT.js → logger-BSEmTtz1.js} +2 -2
- package/dist/{logger-DNehzD_s.js → logger-uA4S-xj7.js} +1 -1
- package/dist/{logging-CoqZ22Bj.js → logging-2kovqtbn.js} +1 -1
- package/dist/{logs-cli-Cgvd5nIw.js → logs-cli-BT3Btt4i.js} +21 -21
- package/dist/{manager-yZu-7wGz.js → manager-CAhprKqm.js} +7 -7
- package/dist/{manager-DOXQa7gV.js → manager-CVY-YEjj.js} +18 -18
- package/dist/{manager-fEgy3Cc5.js → manager-CuWMoixZ.js} +10 -10
- package/dist/{markdown-tables-CxNf_QKN.js → markdown-tables-BIUAAmJj.js} +2 -2
- package/dist/{markdown-tables-Dr-mscCB.js → markdown-tables-BhZ9rtSx.js} +2 -2
- package/dist/{memory-cli-DactP3dr.js → memory-cli-Dw2sfKV7.js} +19 -19
- package/dist/{model-STLFfNgZ.js → model-DXt9qubu.js} +2 -2
- package/dist/{model-catalog-CJO7nU3v.js → model-catalog-DjGr6SKN.js} +4 -4
- package/dist/{model-picker-Qj1lwU0B.js → model-picker-CxN0ohVn.js} +4 -4
- package/dist/{model-selection-DeMoFayq.js → model-selection-RcRokpsG.js} +9 -9
- package/dist/{model-selection-D74qlS0C.js → model-selection-Xe4QEYsC.js} +55 -55
- package/dist/{models-cli-BKsNo3af.js → models-cli-BipY6LjO.js} +114 -114
- package/dist/{models-config-Dj7fr0nB.js → models-config-CZHJduVo.js} +7 -7
- package/dist/{models-config-DtvN5oDH.js → models-config-xlk6m7OT.js} +2 -2
- package/dist/{node-cli-CUBwMhvB.js → node-cli-O46I0NdJ.js} +45 -45
- package/dist/{node-command-policy-2ZSrWLtG.js → node-command-policy-xF0dwumy.js} +1 -1
- package/dist/{node-service-CsTzpewy.js → node-service-D4squ4p0.js} +1 -1
- package/dist/{nodes-cli-CGX5t4Yt.js → nodes-cli-59j_7aot.js} +27 -27
- package/dist/{nodes-screen-CBDClxW8.js → nodes-screen-CBvwtWTJ.js} +8 -8
- package/dist/{note-0__etBQU.js → note-DNloJfK7.js} +2 -2
- package/dist/{npm-pack-install-DJFWFkSH.js → npm-pack-install-BbOwlaHm.js} +23 -23
- package/dist/{npm-resolution-BcTXjcVL.js → npm-resolution-DMiDvLdW.js} +5 -5
- package/dist/{oauth-tls-preflight-DXqH3JiS.js → oauth-tls-preflight-DXcfBi5s.js} +1 -1
- package/dist/{onboard-D8c-kpMi.js → onboard-BqfhNjlR.js} +11 -11
- package/dist/{onboard-channels-BlEe4jeB.js → onboard-channels-C7p_IgYg.js} +24 -24
- package/dist/{onboard-custom-BtI1nikv.js → onboard-custom-Cxcj391N.js} +4 -4
- package/dist/{onboard-helpers-CHJgaSLe.js → onboard-helpers-BHshJeiH.js} +14 -14
- package/dist/{onboard-hooks--LATkv_I.js → onboard-hooks-Cu6T2rFj.js} +7 -7
- package/dist/{onboard-remote-BomxZvc8.js → onboard-remote-CvI5wlAJ.js} +5 -5
- package/dist/{onboard-skills-u_E2_0PO.js → onboard-skills-C65mTllM.js} +4 -4
- package/dist/{onboarding-NS4yZFU0.js → onboarding-Cu0Vnxce.js} +18 -18
- package/dist/{onboarding.finalize-B38zvHLn.js → onboarding.finalize-DaXgygU1.js} +117 -117
- package/dist/{onboarding.gateway-config-BFwfGimv.js → onboarding.gateway-config-V_rpPuAI.js} +19 -19
- package/dist/{onboarding.secret-input-CfTAY72X.js → onboarding.secret-input-DwOMM1C_.js} +1 -1
- package/dist/{openai-model-default-Baj13Ct-.js → openai-model-default-D_zYYe_9.js} +2 -2
- package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
- package/dist/{operator-commands-8955-2ij.js → operator-commands-C1JSSS9_.js} +7 -7
- package/dist/{outbound-attachment-DXOLYhTE.js → outbound-attachment-DV8nfM5h.js} +2 -2
- package/dist/{outbound-attachment-CLvbW9Xc.js → outbound-attachment-papyIJq7.js} +2 -2
- package/dist/{outbound-message-hooks-B3d6x2bV.js → outbound-message-hooks-C4OaIRmC.js} +5 -5
- package/dist/{outbound-message-hooks-Cqp1e1kN.js → outbound-message-hooks-DJIHczZE.js} +5 -5
- package/dist/{pairing-cli-HlVxPH4p.js → pairing-cli-B3kETJVT.js} +13 -13
- package/dist/{pairing-labels-CzfCTcWR.js → pairing-labels-DwJGNsPY.js} +1 -1
- package/dist/{pairing-store-ClC923Wz.js → pairing-store-Deylvw9t.js} +3 -3
- package/dist/{path-alias-guards-Bj0l9f26.js → path-alias-guards-CM0vBH_Z.js} +1 -1
- package/dist/{path-alias-guards-BWeHJfpx.js → path-alias-guards-CgeH2aSH.js} +3 -3
- package/dist/{path-env-BBelmr45.js → path-env-BpMauqkY.js} +1 -1
- package/dist/{path-safety-DMAi6_-A.js → path-safety-BTAa9g_F.js} +1 -1
- package/dist/{pi-embedded-BMxexBYS.js → pi-embedded-MxBrZ5X7.js} +28 -28
- package/dist/{pi-embedded-wTLTzzic.js → pi-embedded-OmBDo0DF.js} +91 -91
- package/dist/{pi-embedded-helpers-58qqCaMi.js → pi-embedded-helpers-CjMOJlwL.js} +8 -8
- package/dist/{pi-embedded-recovery-adapter-JHx8Xn5G.js → pi-embedded-recovery-adapter-Ded_keBv.js} +35 -35
- package/dist/{pi-embedded-utils-BHzcjLyI.js → pi-embedded-utils-BI0V7Kv6.js} +2 -2
- package/dist/{pi-embedded-utils-fl8kob5O.js → pi-embedded-utils-BRaMXyni.js} +3 -3
- package/dist/{pi-embedded-utils-BxBSc2aN.js → pi-embedded-utils-D6Ee9Uyb.js} +1 -1
- package/dist/{pi-model-discovery-D-MvwJ9N.js → pi-model-discovery-BnKlqzf2.js} +1 -1
- package/dist/{pi-model-discovery-BEinSrd8.js → pi-model-discovery-RM-t2m70.js} +1 -1
- package/dist/{pi-tools.policy-CQBCu2m0.js → pi-tools.policy-CNWwkqR2.js} +5 -5
- package/dist/{pid-alive-CQpmBPPl.js → pid-alive-C3qbS2SA.js} +1 -1
- package/dist/{plugin-owned-work-recovery-adapter-Bn-F7Hfx.js → plugin-owned-work-recovery-adapter-tgBosC-H.js} +10 -10
- package/dist/{plugin-registry-D0fdIYR7.js → plugin-registry-ecUtEnu8.js} +4 -4
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/{plugins-cli--o_AZsyD.js → plugins-cli-D1q-BD8n.js} +113 -113
- package/dist/{polling-timeout-BfQqGdT2.js → polling-timeout-HyiW4Q3a.js} +3 -3
- package/dist/{ports-CcN3W_2z.js → ports-CmfLs9tb.js} +2 -2
- package/dist/{ports-Cp281kk8.js → ports-DJ_M8scl.js} +6 -6
- package/dist/{program-context-Bvfo3zMR.js → program-context-BCw1Yuns.js} +47 -47
- package/dist/{progress-D7S5GoOi.js → progress-Cbn-oYkW.js} +2 -2
- package/dist/{prompt-select-styled-C4VXJH2H.js → prompt-select-styled-CSDZSzXV.js} +51 -51
- package/dist/{prompt-style-o9ooijd1.js → prompt-style-B2xUetmj.js} +1 -1
- package/dist/{provider-auth-helpers-BiqgXxJP.js → provider-auth-helpers-DhziUI1g.js} +6 -6
- package/dist/{provider-image-C5-IlVG0.js → provider-image-BXyzJKFR.js} +1 -1
- package/dist/{provider-image-BbsxRTqB.js → provider-image-DpILAK4L.js} +6 -6
- package/dist/{provider-image-mZ4mWjfm.js → provider-image-RrciW1DD.js} +6 -6
- package/dist/{proxy-DIf6ZG9s.js → proxy-BaYXOmCA.js} +1 -1
- package/dist/{proxy-FZnR0j7S.js → proxy-CXiTHFXk.js} +1 -1
- package/dist/{proxy-env-DMj9RqDZ.js → proxy-env-B_4G-Zvx.js} +1 -1
- package/dist/{proxy-fetch-BSYUeKDC.js → proxy-fetch-BdB5Hb7r.js} +1 -1
- package/dist/{proxy-fetch-CeK1ZBeq.js → proxy-fetch-DxABZ-6S.js} +1 -1
- package/dist/{push-apns-BAZ2gS1A.js → push-apns-C_8RshML.js} +10 -10
- package/dist/{pw-ai-C1CsyDRn.js → pw-ai-B9xme0Pq.js} +1 -1
- package/dist/{pw-ai-DV1vh3L9.js → pw-ai-BJm46rii.js} +11 -11
- package/dist/{pw-ai-CVNyf8Ps.js → pw-ai-cXnI0RSD.js} +21 -21
- package/dist/{qmd-manager-ZfBaKzRa.js → qmd-manager-5DFozdW5.js} +8 -8
- package/dist/{qmd-manager-DiABKT7O.js → qmd-manager-BQrWBuxv.js} +25 -25
- package/dist/{qr-cli-DGTUy-aw.js → qr-cli-BCEk7nPF.js} +8 -8
- package/dist/{query-expansion-BcXh1Hyc.js → query-expansion-96au1v0j.js} +14 -14
- package/dist/{query-expansion-BHpPid-F.js → query-expansion-AnpCkyvK.js} +2 -2
- package/dist/{reconcile-bundled-B64Cy2I8.js → reconcile-bundled-BN_64UUh.js} +3 -3
- package/dist/{recorder-BiGPFc4h.js → recorder-BdRGbnWA.js} +4 -4
- package/dist/{recorder-wcIhZTuf.js → recorder-CQ4TEexc.js} +4 -4
- package/dist/{recovery-adapter-DXIa6Q_V.js → recovery-adapter-B2XqKqkY.js} +7 -7
- package/dist/{recovery-adapter-CLaKhchi.js → recovery-adapter-G2cG0rVa.js} +3 -3
- package/dist/{recovery-adapter-DdG68ESY.js → recovery-adapter-T9ng5nO9.js} +3 -3
- package/dist/{recovery-prompt-ksHwpSU2.js → recovery-prompt-9MKTTZMu.js} +1 -1
- package/dist/{redact-CNUi9G7H.js → redact-CFlw_DPT.js} +2 -2
- package/dist/{redact-snapshot-Blr7A6nM.js → redact-snapshot-Dea1X-KK.js} +2 -2
- package/dist/{register.agent-BftkCSzq.js → register.agent-70W8aMjZ.js} +128 -128
- package/dist/register.configure-Dw8LtvvS.js +170 -0
- package/dist/{register.maintenance-DLvVIgj7.js → register.maintenance-BUn0KquU.js} +129 -129
- package/dist/{register.message-BkfkSHmX.js → register.message-B90VvAa9.js} +103 -103
- package/dist/{register.onboard-CoQl5Y0I.js → register.onboard-CvtqqARL.js} +24 -24
- package/dist/{register.setup-DLKvWced.js → register.setup-NvomFGXG.js} +27 -27
- package/dist/{register.status-health-sessions-BXjWk0Rf.js → register.status-health-sessions-raLVwOhK.js} +120 -120
- package/dist/{replay-DEbuRxsV.js → replay-BNSm4qb0.js} +1 -1
- package/dist/{replies-BaVRDgoi.js → replies-CX9Xycso.js} +4 -4
- package/dist/{replies-sGMpONzr.js → replies-CyFLfpjN.js} +4 -4
- package/dist/{reply-B_ZnZCbr.js → reply-BBWUbEms.js} +189 -189
- package/dist/{reply-directives-VihT5tNP.js → reply-directives-Ba6CeI2G.js} +2 -2
- package/dist/{reply-directives-DAFMLUk3.js → reply-directives-MYQDM4s1.js} +2 -2
- package/dist/{reply-prefix-C9ItOkY0.js → reply-prefix-DIYk1Bw7.js} +1 -1
- package/dist/{reply-prefix-C_GmvupX.js → reply-prefix-JMlWztfO.js} +1 -1
- package/dist/{resolve-route-ESAi6vf5.js → resolve-route-CgDtn6OF.js} +5 -5
- package/dist/{resolve-route-DItBlJTa.js → resolve-route-D59i7uq2.js} +5 -5
- package/dist/{rpc-C7PAon6G.js → rpc-Bb2CwMXM.js} +3 -3
- package/dist/{runs-BAWrhAPG.js → runs-D22rrc2J.js} +8 -8
- package/dist/{runs-DAxZxrkH.js → runs-PqmTA3bR.js} +7 -7
- package/dist/{runs-kMwrTbuD.js → runs-s2c7mYPm.js} +3 -3
- package/dist/{runtime-C2XMT9jZ.js → runtime-9MDCiTo5.js} +4 -4
- package/dist/{runtime-config-collectors-D8giqZX1.js → runtime-config-collectors-DsDVTJ9L.js} +1 -1
- package/dist/{runtime-guard-Ce3hA73q.js → runtime-guard-aqfwJvKU.js} +1 -1
- package/dist/{sandbox-CaDaMuIS.js → sandbox-72tGhoFB.js} +19 -19
- package/dist/{sandbox-cli-D09-_MhG.js → sandbox-cli-P_SvHFh0.js} +29 -29
- package/dist/{secrets-cli-D1rwgI_i.js → secrets-cli-BfWs6PM7.js} +19 -19
- package/dist/{security-cli-DQbLcpvg.js → security-cli-bCnaX9U1.js} +46 -46
- package/dist/{send-st-VqnD1.js → send-BetYjLRt.js} +6 -6
- package/dist/{send-9_nNhllu.js → send-CgOqje6b.js} +14 -14
- package/dist/{send-CSeSlBgP.js → send-D3ylt51d.js} +13 -13
- package/dist/{send-BYpMIfkf.js → send-DFDs0YVo.js} +8 -8
- package/dist/{send-xSaCPdp5.js → send-DIo9GaAd.js} +6 -6
- package/dist/{send-n4HUnjJL.js → send-DQKTiyZo.js} +14 -14
- package/dist/{send-Dlz0xalZ.js → send-DQsInb-M.js} +6 -6
- package/dist/{send-BHuAEQE3.js → send-DoMFLnPv.js} +1 -1
- package/dist/{send-DbTOnKy8.js → send-EUMoqR5x.js} +6 -6
- package/dist/{send-CvwC56PP.js → send-NC1Swsc7.js} +7 -7
- package/dist/{send-CUUoNRjN.js → send-isYw7gNy.js} +7 -7
- package/dist/{server-DNrc5ufA.js → server-COf8596I.js} +27 -27
- package/dist/{server-context-hLmBApV6.js → server-context-DPXHpsDT.js} +12 -12
- package/dist/{server-lifecycle-CuLYk0SE.js → server-lifecycle-BiT2RK1-.js} +3 -3
- package/dist/{server-middleware-DGHNQp4r.js → server-middleware-CJid88Uz.js} +1 -1
- package/dist/{server-node-events-32NLKlcp.js → server-node-events-DmNKXZqH.js} +103 -103
- package/dist/{service-CjlQTRXS.js → service-BYi3UODF.js} +15 -15
- package/dist/{session-consumer-agents-Tp24W-mn.js → session-consumer-agents-BNkbq0X0.js} +1 -1
- package/dist/{session-consumer-claim-sweep-DTdZIrGU.js → session-consumer-claim-sweep-qTcERA_U.js} +10 -10
- package/dist/{session-cost-usage-C8x0Ma2X.js → session-cost-usage-BuaT9Epp.js} +3 -3
- package/dist/{session-key-DeVMAKRZ.js → session-key-BxmJDkEI.js} +1 -1
- package/dist/{session-key-resolution-bGrvOHtd.js → session-key-resolution-4d3BG0mA.js} +5 -5
- package/dist/{session-meta-B70hyZ6H.js → session-meta-B2VOXhYi.js} +2 -2
- package/dist/{session-meta-Dhf9REA2.js → session-meta-qJ09DaOQ.js} +2 -2
- package/dist/{session-storage-BKoYylot.js → session-storage-v3yHC3M6.js} +9 -9
- package/dist/{sessions-oXRiWY1z.js → sessions-D_Z9ewVp.js} +18 -18
- package/dist/{sessions-claims-status-COBv4-9y.js → sessions-claims-status-BlZz_25A.js} +14 -14
- package/dist/{shared-CdvXdH5h.js → shared-BxpBpS9X.js} +2 -2
- package/dist/{shared-BzyqCGAR.js → shared-C8TVt9Tv.js} +4 -4
- package/dist/{skill-commands-DFbO0Pwj.js → skill-commands-BjOR0izt.js} +5 -5
- package/dist/{skill-commands-CcC4TPnA.js → skill-commands-D3U8ty_X.js} +7 -7
- package/dist/{skill-scanner-CtZuUDBn.js → skill-scanner-XMBq6JrQ.js} +7 -7
- package/dist/{skills-DX80qJzU.js → skills-BJ7s0Wfe.js} +6 -6
- package/dist/{skills-CD8SFzX0.js → skills-DueobKPc.js} +6 -6
- package/dist/{skills-cli-7_VZ_au1.js → skills-cli-Dt-g2aoD.js} +12 -12
- package/dist/{skills-install-O8JPmNxm.js → skills-install-CQfmtCLR.js} +9 -9
- package/dist/{skills-status-BE_oa3Dd.js → skills-status-Du76K8bv.js} +3 -3
- package/dist/{ssrf-DjjqWxdp.js → ssrf-CUBo6TIZ.js} +1 -1
- package/dist/{status--Lvi3tz9.js → status-C3eqPaNb.js} +38 -38
- package/dist/{status.update-CWMFCByv.js → status.update-BlFaGKuA.js} +2 -2
- package/dist/{store-CGnsRznR.js → store-DS83zC6I.js} +7 -7
- package/dist/{store-DIKyCinG.js → store-DwfBHQl9.js} +2 -2
- package/dist/{subsystem-BCjklMkJ.js → subsystem-CnnjiGCl.js} +4 -4
- package/dist/{subsystem-DU1uzmTH.js → subsystem-Cwzs7yN0.js} +1 -1
- package/dist/{supervisor-8TdOYzAn.js → supervisor-BkHwVnJ0.js} +2 -2
- package/dist/{supervisor-recovery-adapter-DvR4we0D.js → supervisor-recovery-adapter-Cmw-7toT.js} +10 -10
- package/dist/{system-cli-BJG4flcz.js → system-cli-DZo_Xeus.js} +16 -16
- package/dist/{system-run-command-B9eoNN_E.js → system-run-command-BCygkYAm.js} +2 -2
- package/dist/{systemd-BuE-CYAD.js → systemd-BD_TMCHG.js} +11 -11
- package/dist/{systemd-hints-_4BTlat8.js → systemd-hints-hI4IEn0G.js} +9 -9
- package/dist/{systemd-linger-BCLLdRLW.js → systemd-linger-CzdYcYLi.js} +2 -2
- package/dist/{table-BZCTLfip.js → table-WoBQBfIP.js} +2 -2
- package/dist/{tables-BvxLmMF8.js → tables-CwG3ab8g.js} +1 -1
- package/dist/{tables-D07R1ft9.js → tables-Dzfx8UwI.js} +1 -1
- package/dist/{tailnet-DZu3euUT.js → tailnet-CQ7A44gN.js} +1 -1
- package/dist/{tailscale--cedl8k7.js → tailscale-DfhEC7E3.js} +3 -3
- package/dist/{task-pipeline-boot-vMI_gNlk.js → task-pipeline-boot-h8Guy4BE.js} +102 -102
- package/dist/{task-runlog-retention-BE0zP95z.js → task-runlog-retention-AeS4_zJ9.js} +5 -5
- package/dist/{tasks-BWHXch35.js → tasks-CA7n154j.js} +14 -14
- package/dist/{tokens-9Mla_HDp.js → tokens-CtSIDTuO.js} +1 -1
- package/dist/{tokens-BkGFSf77.js → tokens-D0Wagzn5.js} +1 -1
- package/dist/{tool-display-D2nTy2g3.js → tool-display-B_gL6TP4.js} +1 -1
- package/dist/{tool-loop-detection-dvzbYw_Z.js → tool-loop-detection-B_KXzW0J.js} +2 -2
- package/dist/{tool-loop-detection-8uvf8mSd.js → tool-loop-detection-CAixnaA2.js} +1 -1
- package/dist/{trash-DWehd5bk.js → trash-B2rgeHwV.js} +3 -3
- package/dist/{tui-BA_R7cVj.js → tui-BkUR35kr.js} +9 -9
- package/dist/{tui-cli-DhmKosuh.js → tui-cli-Dx8Rq2LS.js} +34 -34
- package/dist/{update-FpPZoisy.js → update-BD9vD-O3.js} +3 -3
- package/dist/{update-cli-DPr6FZQx.js → update-cli-CtGdmnAx.js} +139 -139
- package/dist/{update-runner-CP_x4nIG.js → update-runner-CRgsunyU.js} +18 -18
- package/dist/{user-run-recording-CB_RnvEh.js → user-run-recording-CboLnb8e.js} +2 -2
- package/dist/{user-run-recording-Bw40Tyil.js → user-run-recording-Cx6DoQwH.js} +2 -2
- package/dist/{utils-CfKD3xTt.js → utils-RlDPCeiE.js} +7 -7
- package/dist/{validation-cli-BLYVzQJW.js → validation-cli-CP7Wtoi4.js} +102 -102
- package/dist/{web-cli-DmXJYuSq.js → web-cli-Cqrw6g5k.js} +3 -3
- package/dist/{web-client-assets-CISlpYd9.js → web-client-assets-BC6Q9ril.js} +1 -1
- package/dist/{webhooks-cli-GjZJ14FF.js → webhooks-cli-DO81W6GV.js} +13 -13
- package/dist/{widearea-dns-FDkEBJ9c.js → widearea-dns-BfsfK5rQ.js} +1 -1
- package/dist/{with-timeout-D2Gp5kcM.js → with-timeout-Cpd_eIHB.js} +6 -6
- package/dist/{workspace-pXJaZvDa.js → workspace-Btbae6MM.js} +2 -2
- package/dist/{workspace-DwaGPsZ8.js → workspace-DpuyoXQY.js} +2 -2
- package/dist/{workspace-dirs-DWQAyUTc.js → workspace-dirs-De3z5PEp.js} +1 -1
- package/dist/{ws-BkTpOVYX.js → ws-1r6e9Dys.js} +2 -2
- package/dist/{wsl-ypAd8C-g.js → wsl-D6pCsktY.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/clawbot-cli-WGBrdTF4.js +0 -36
- package/dist/cli-NNNYfyG4.js +0 -166
- package/dist/register.configure-Dt0U1PJD.js +0 -170
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { g as resolveUserPath } from "./utils-
|
|
2
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
3
|
-
import { Ku as acquireFileLock } from "./model-selection-
|
|
1
|
+
import { g as resolveUserPath } from "./utils-RlDPCeiE.js";
|
|
2
|
+
import { t as runCommandWithTimeout } from "./exec-g-Nx0X6p.js";
|
|
3
|
+
import { Ku as acquireFileLock } from "./model-selection-Xe4QEYsC.js";
|
|
4
4
|
import { t as KeyedAsyncQueue } from "./keyed-async-queue-C8wMGzFN.js";
|
|
5
5
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
6
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
6
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-Cv53fge9.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/infra/install-source-utils.ts
|
|
12
12
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -20,11 +20,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
async function withTempDir(prefix, fn) {
|
|
23
|
-
const tmpDir = await
|
|
23
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
24
24
|
try {
|
|
25
25
|
return await fn(tmpDir);
|
|
26
26
|
} finally {
|
|
27
|
-
await
|
|
27
|
+
await fs.rm(tmpDir, {
|
|
28
28
|
recursive: true,
|
|
29
29
|
force: true
|
|
30
30
|
}).catch(() => void 0);
|
|
@@ -143,12 +143,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
async function findPackedArchiveInDir(cwd) {
|
|
146
|
-
const archives = (await
|
|
146
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
147
147
|
if (archives.length === 0) return;
|
|
148
148
|
if (archives.length === 1) return archives[0]?.name;
|
|
149
149
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
150
150
|
name: entry.name,
|
|
151
|
-
mtimeMs: (await
|
|
151
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
152
152
|
})));
|
|
153
153
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
154
154
|
return sortedByMtime[0]?.name;
|
|
@@ -222,13 +222,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
222
222
|
return {
|
|
223
223
|
ok: true,
|
|
224
224
|
resolvedPath,
|
|
225
|
-
stat: await
|
|
225
|
+
stat: await fs.stat(resolvedPath)
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
async function withExtractedArchiveRoot(params) {
|
|
229
229
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
230
230
|
const extractDir = path.join(tmpDir, "extract");
|
|
231
|
-
await
|
|
231
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
232
232
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
233
233
|
try {
|
|
234
234
|
await extractArchive({
|
|
@@ -294,7 +294,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
294
294
|
const manifestPath = path.join(targetDir, "package.json");
|
|
295
295
|
let manifestRaw = "";
|
|
296
296
|
try {
|
|
297
|
-
manifestRaw = await
|
|
297
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
298
298
|
} catch {
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
@@ -314,7 +314,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
314
314
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
315
315
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
316
316
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
317
|
-
await
|
|
317
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
318
318
|
}
|
|
319
319
|
async function assertInstallBoundaryPaths(params) {
|
|
320
320
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -375,7 +375,7 @@ async function installPackageDir(params) {
|
|
|
375
375
|
async function installPackageDirLocked(params) {
|
|
376
376
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
377
377
|
const installBaseDir = path.dirname(params.targetDir);
|
|
378
|
-
await
|
|
378
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
379
379
|
await assertInstallBoundaryPaths({
|
|
380
380
|
installBaseDir,
|
|
381
381
|
candidatePaths: [params.targetDir]
|
|
@@ -384,23 +384,23 @@ async function installPackageDirLocked(params) {
|
|
|
384
384
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
385
385
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
386
386
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
387
|
-
await
|
|
387
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
388
388
|
await assertInstallBoundaryPaths({
|
|
389
389
|
installBaseDir,
|
|
390
390
|
candidatePaths: [backupDir]
|
|
391
391
|
});
|
|
392
|
-
await
|
|
392
|
+
await fs.rename(params.targetDir, backupDir);
|
|
393
393
|
}
|
|
394
394
|
try {
|
|
395
395
|
await assertInstallBoundaryPaths({
|
|
396
396
|
installBaseDir,
|
|
397
397
|
candidatePaths: [params.targetDir]
|
|
398
398
|
});
|
|
399
|
-
await
|
|
399
|
+
await fs.mkdir(params.targetDir);
|
|
400
400
|
} catch (err) {
|
|
401
401
|
if (err?.code !== "EEXIST") {
|
|
402
402
|
let restoreError;
|
|
403
|
-
if (backupDir) restoreError = await
|
|
403
|
+
if (backupDir) restoreError = await fs.rename(backupDir, params.targetDir).then(() => void 0).catch((restoreErr) => restoreErr instanceof Error ? restoreErr : new Error(String(restoreErr)));
|
|
404
404
|
if (restoreError) return {
|
|
405
405
|
ok: false,
|
|
406
406
|
error: `${params.copyErrorPrefix}: ${String(err)}; restoring the previous install failed (${restoreError.message}) and it is preserved at ${backupDir}`
|
|
@@ -431,7 +431,7 @@ async function installPackageDirLocked(params) {
|
|
|
431
431
|
}
|
|
432
432
|
const problems = [];
|
|
433
433
|
try {
|
|
434
|
-
await
|
|
434
|
+
await fs.rm(params.targetDir, {
|
|
435
435
|
recursive: true,
|
|
436
436
|
force: true
|
|
437
437
|
});
|
|
@@ -439,7 +439,7 @@ async function installPackageDirLocked(params) {
|
|
|
439
439
|
problems.push(`failed to remove ${params.targetDir}: ${String(err)}`);
|
|
440
440
|
}
|
|
441
441
|
if (backupDir) try {
|
|
442
|
-
await
|
|
442
|
+
await fs.rename(backupDir, params.targetDir);
|
|
443
443
|
} catch (err) {
|
|
444
444
|
problems.push(`failed to restore ${backupDir} to ${params.targetDir}: ${String(err)}`);
|
|
445
445
|
}
|
|
@@ -447,7 +447,7 @@ async function installPackageDirLocked(params) {
|
|
|
447
447
|
};
|
|
448
448
|
const withRollback = (error, rollbackError) => rollbackError ? `${error} (rollback also failed: ${rollbackError})` : error;
|
|
449
449
|
try {
|
|
450
|
-
await
|
|
450
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
451
451
|
} catch (err) {
|
|
452
452
|
const rollbackError = await rollback();
|
|
453
453
|
return {
|
|
@@ -486,7 +486,7 @@ async function installPackageDirLocked(params) {
|
|
|
486
486
|
error: withRollback(`npm install failed: ${String(err)}`, rollbackError)
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
if (backupDir) await
|
|
489
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
490
490
|
recursive: true,
|
|
491
491
|
force: true
|
|
492
492
|
}).catch(() => void 0);
|
|
@@ -502,7 +502,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region src/infra/install-target.ts
|
|
504
504
|
async function resolveCanonicalInstallTarget(params) {
|
|
505
|
-
await
|
|
505
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
506
506
|
const targetDirResult = resolveSafeInstallDir({
|
|
507
507
|
baseDir: params.baseDir,
|
|
508
508
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { bt as loadOpenClawPlugins, kn as createPluginLoaderLogger } from "./reply-
|
|
2
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { Nt as loadConfig } from "./model-selection-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
1
|
+
import { bt as loadOpenClawPlugins, kn as createPluginLoaderLogger } from "./reply-BBWUbEms.js";
|
|
2
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
4
|
+
import { Nt as loadConfig } from "./model-selection-Xe4QEYsC.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-BbOwlaHm.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { g as resolveUserPath } from "./utils-
|
|
3
|
-
import { h as restoreTerminalState, m as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-
|
|
2
|
+
import { g as resolveUserPath } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import { h as restoreTerminalState, m as defaultRuntime } from "./subsystem-Cwzs7yN0.js";
|
|
4
|
+
import { Ft as readConfigFileSnapshot, zt as writeConfigFile } from "./model-selection-Xe4QEYsC.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
6
6
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
7
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
8
|
-
import { t as assertSupportedRuntime } from "./runtime-guard-
|
|
7
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-BHshJeiH.js";
|
|
8
|
+
import { t as assertSupportedRuntime } from "./runtime-guard-aqfwJvKU.js";
|
|
9
9
|
import { t as WizardCancelledError } from "./prompts-1Bda-OqX.js";
|
|
10
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
10
|
+
import { t as createClackPrompter } from "./clack-prompter-5Rt5HC77.js";
|
|
11
11
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-mYDSc4SR.js";
|
|
12
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
13
|
-
import { n as logConfigUpdated } from "./logging-
|
|
12
|
+
import { t as runOnboardingWizard } from "./onboarding-Cu0Vnxce.js";
|
|
13
|
+
import { n as logConfigUpdated } from "./logging-2kovqtbn.js";
|
|
14
14
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-Ik4J_TQi.js";
|
|
15
15
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-CywG6ak0.js";
|
|
16
16
|
|
|
@@ -220,7 +220,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
220
220
|
}
|
|
221
221
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
222
222
|
if (authChoice !== "skip") {
|
|
223
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
223
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-Ci58poKa.js");
|
|
224
224
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
225
225
|
nextConfig,
|
|
226
226
|
authChoice,
|
|
@@ -253,7 +253,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
253
253
|
logConfigUpdated(runtime);
|
|
254
254
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
255
255
|
if (opts.installDaemon) {
|
|
256
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
256
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-Cs7LQnph.js");
|
|
257
257
|
await installGatewayDaemonNonInteractive({
|
|
258
258
|
nextConfig,
|
|
259
259
|
opts,
|
|
@@ -264,7 +264,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
264
264
|
}
|
|
265
265
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
266
266
|
if (!opts.skipHealth) {
|
|
267
|
-
const { healthCommand } = await import("./health-
|
|
267
|
+
const { healthCommand } = await import("./health-BovdETb-.js").then((n) => n.i);
|
|
268
268
|
await waitForGatewayReachable({
|
|
269
269
|
url: resolveControlUiLinks({
|
|
270
270
|
bind: gatewayResult.bind,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { f as normalizeE164, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { It as resolveDiscordChannelAllowlist, Mt as resolveSlackChannelAllowlist, bt as loadOpenClawPlugins, kn as createPluginLoaderLogger, or as resolveSlackUserAllowlist, sr as resolveDiscordUserAllowlist } from "./reply-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { T as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./session-key-
|
|
7
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
8
|
-
import { As as resolveSlackAccount, Cs as resolveTelegramAccount, Fs as listSignalAccountIds, Hs as listIMessageAccountIds, Is as resolveDefaultSignalAccountId, Js as resolveDefaultDiscordAccountId, Ks as listDiscordAccountIds, Ls as resolveSignalAccount, Os as listSlackAccountIds, Ss as resolveDefaultTelegramAccountId, Us as resolveDefaultIMessageAccountId, Ws as resolveIMessageAccount, Ys as resolveDiscordAccount, fs as getChannelPlugin, id as hasConfiguredSecretInput, ks as resolveDefaultSlackAccountId, lr as listChatChannels, mr as getActiveGatewayPluginRegistry, or as formatChannelPrimerLine, ps as listChannelPlugins, sr as formatChannelSelectionLine, vr as markActivePluginRegistryChanged, xs as listTelegramAccountIds } from "./model-selection-
|
|
2
|
+
import { f as normalizeE164, t as CONFIG_DIR } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import { It as resolveDiscordChannelAllowlist, Mt as resolveSlackChannelAllowlist, bt as loadOpenClawPlugins, kn as createPluginLoaderLogger, or as resolveSlackUserAllowlist, sr as resolveDiscordUserAllowlist } from "./reply-BBWUbEms.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-Cwzs7yN0.js";
|
|
6
|
+
import { T as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./session-key-BxmJDkEI.js";
|
|
7
|
+
import { t as runCommandWithTimeout } from "./exec-g-Nx0X6p.js";
|
|
8
|
+
import { As as resolveSlackAccount, Cs as resolveTelegramAccount, Fs as listSignalAccountIds, Hs as listIMessageAccountIds, Is as resolveDefaultSignalAccountId, Js as resolveDefaultDiscordAccountId, Ks as listDiscordAccountIds, Ls as resolveSignalAccount, Os as listSlackAccountIds, Ss as resolveDefaultTelegramAccountId, Us as resolveDefaultIMessageAccountId, Ws as resolveIMessageAccount, Ys as resolveDiscordAccount, fs as getChannelPlugin, id as hasConfiguredSecretInput, ks as resolveDefaultSlackAccountId, lr as listChatChannels, mr as getActiveGatewayPluginRegistry, or as formatChannelPrimerLine, ps as listChannelPlugins, sr as formatChannelSelectionLine, vr as markActivePluginRegistryChanged, xs as listTelegramAccountIds } from "./model-selection-Xe4QEYsC.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
10
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
11
|
-
import { a as isChannelConfigured, c as listChannelPluginCatalogEntries } from "./polling-timeout-
|
|
12
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
13
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
10
|
+
import { ut as normalizeDiscordSlug } from "./send-CgOqje6b.js";
|
|
11
|
+
import { a as isChannelConfigured, c as listChannelPluginCatalogEntries } from "./polling-timeout-HyiW4Q3a.js";
|
|
12
|
+
import { s as normalizeIMessageHandle } from "./send-DQsInb-M.js";
|
|
13
|
+
import { r as detectBinary } from "./onboard-helpers-BHshJeiH.js";
|
|
14
|
+
import { t as formatDocsLink } from "./links-DA_gi3gE.js";
|
|
15
15
|
import { t as resolveBrewExecutable } from "./brew-C8W7jAC6.js";
|
|
16
|
-
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-
|
|
17
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
18
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
19
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
20
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
21
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
16
|
+
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-DTIIemyw.js";
|
|
17
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-DGWfGS2H.js";
|
|
18
|
+
import { t as enablePluginInConfig } from "./enable-CODu9xqV.js";
|
|
19
|
+
import { s as extractArchive } from "./install-safe-path-Cv53fge9.js";
|
|
20
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-BZ7QGLTH.js";
|
|
21
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-DOUrHdHL.js";
|
|
22
22
|
import fs, { createWriteStream } from "node:fs";
|
|
23
23
|
import os from "node:os";
|
|
24
24
|
import path from "node:path";
|
|
25
|
-
import
|
|
25
|
+
import fs$1 from "node:fs/promises";
|
|
26
26
|
import { pipeline } from "node:stream/promises";
|
|
27
27
|
import { request } from "node:https";
|
|
28
28
|
|
|
@@ -1137,7 +1137,7 @@ async function findSignalCliBinary(root) {
|
|
|
1137
1137
|
const candidates = [];
|
|
1138
1138
|
const enqueue = async (dir, depth) => {
|
|
1139
1139
|
if (depth > 3) return;
|
|
1140
|
-
const entries = await
|
|
1140
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1141
1141
|
for (const entry of entries) {
|
|
1142
1142
|
const full = path.join(dir, entry.name);
|
|
1143
1143
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1158,7 +1158,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1158
1158
|
const prefix = result.stdout.trim();
|
|
1159
1159
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1160
1160
|
try {
|
|
1161
|
-
await
|
|
1161
|
+
await fs$1.access(candidate);
|
|
1162
1162
|
return candidate;
|
|
1163
1163
|
} catch {
|
|
1164
1164
|
return findSignalCliBinary(prefix);
|
|
@@ -1214,12 +1214,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1214
1214
|
ok: false,
|
|
1215
1215
|
error: "No compatible release asset found for this platform."
|
|
1216
1216
|
};
|
|
1217
|
-
const tmpDir = await
|
|
1217
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1218
1218
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1219
1219
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1220
1220
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1221
1221
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1222
|
-
await
|
|
1222
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1223
1223
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1224
1224
|
ok: false,
|
|
1225
1225
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1238,7 +1238,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1238
1238
|
ok: false,
|
|
1239
1239
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1240
1240
|
};
|
|
1241
|
-
await
|
|
1241
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1242
1242
|
return {
|
|
1243
1243
|
ok: true,
|
|
1244
1244
|
cliPath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $u as normalizeSecretInput, Qu as normalizeOptionalSecretInput, ad as isSecretRef, c as modelKey, fd as DEFAULT_PROVIDER, r as buildModelAliasIndex } from "./model-selection-
|
|
2
|
+
import { $u as normalizeSecretInput, Qu as normalizeOptionalSecretInput, ad as isSecretRef, c as modelKey, fd as DEFAULT_PROVIDER, r as buildModelAliasIndex } from "./model-selection-Xe4QEYsC.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-7nA25fTc.js";
|
|
4
4
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-CLxA7ymv.js";
|
|
5
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { c as normalizeAlias } from "./shared-
|
|
7
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
5
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-DOUrHdHL.js";
|
|
6
|
+
import { c as normalizeAlias } from "./shared-C8TVt9Tv.js";
|
|
7
|
+
import { r as applyPrimaryModel } from "./model-picker-CxN0ohVn.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-custom.ts
|
|
10
10
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { o as resolveConfigPath } from "./paths-BBP4yd-2.js";
|
|
3
|
-
import { b as sleep, g as resolveUserPath, t as CONFIG_DIR, v as shortenHomeInString, y as shortenHomePath } from "./utils-
|
|
4
|
-
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
5
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
6
|
-
import { Dn as isAvatarImageDataUrl, En as isAvatarHttpUrl, Ll as isSafeExecutableValue, _c as GATEWAY_CLIENT_MODES, jn as looksLikeAvatarPath, vc as GATEWAY_CLIENT_NAMES } from "./model-selection-
|
|
3
|
+
import { b as sleep, g as resolveUserPath, t as CONFIG_DIR, v as shortenHomeInString, y as shortenHomePath } from "./utils-RlDPCeiE.js";
|
|
4
|
+
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-C7A_L0Z6.js";
|
|
5
|
+
import { t as runCommandWithTimeout } from "./exec-g-Nx0X6p.js";
|
|
6
|
+
import { Dn as isAvatarImageDataUrl, En as isAvatarHttpUrl, Ll as isSafeExecutableValue, _c as GATEWAY_CLIENT_MODES, jn as looksLikeAvatarPath, vc as GATEWAY_CLIENT_NAMES } from "./model-selection-Xe4QEYsC.js";
|
|
7
7
|
import { t as VERSION } from "./version-C459_ZQ5.js";
|
|
8
|
-
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-
|
|
9
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
10
|
-
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-
|
|
8
|
+
import { p as resolveSessionTranscriptsDirForAgent } from "./artifacts-CSUzSsVF.js";
|
|
9
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-CQ7A44gN.js";
|
|
10
|
+
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-1r6e9Dys.js";
|
|
11
11
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
12
|
-
import { n as callGateway } from "./call-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
14
|
-
import { r as stylePromptTitle } from "./prompt-style-
|
|
12
|
+
import { n as callGateway } from "./call-DcUNQRRs.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-D6pCsktY.js";
|
|
14
|
+
import { r as stylePromptTitle } from "./prompt-style-B2xUetmj.js";
|
|
15
15
|
import path from "node:path";
|
|
16
|
-
import
|
|
16
|
+
import fs from "node:fs/promises";
|
|
17
17
|
import { inspect } from "node:util";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
@@ -244,7 +244,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
244
244
|
});
|
|
245
245
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
246
246
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
247
|
-
await
|
|
247
|
+
await fs.mkdir(sessionsDir, { recursive: true });
|
|
248
248
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
249
249
|
}
|
|
250
250
|
function resolveNodeManagerOptions() {
|
|
@@ -266,7 +266,7 @@ function resolveNodeManagerOptions() {
|
|
|
266
266
|
async function moveToTrash(pathname, runtime) {
|
|
267
267
|
if (!pathname) return;
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fs.access(pathname);
|
|
270
270
|
} catch {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
@@ -289,7 +289,7 @@ async function detectBinary(name) {
|
|
|
289
289
|
if (!isSafeExecutableValue(name)) return false;
|
|
290
290
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
291
291
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
292
|
-
await
|
|
292
|
+
await fs.access(resolved);
|
|
293
293
|
return true;
|
|
294
294
|
} catch {
|
|
295
295
|
return false;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
|
-
import "./utils-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./exec-
|
|
2
|
+
import "./utils-RlDPCeiE.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C7A_L0Z6.js";
|
|
4
|
+
import "./subsystem-Cwzs7yN0.js";
|
|
5
|
+
import "./logger-BSEmTtz1.js";
|
|
6
|
+
import "./exec-g-Nx0X6p.js";
|
|
7
7
|
import "./boolean-C6Pbt2Ue.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
9
9
|
import "./frontmatter-DMHQ51Yr.js";
|
|
10
10
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
11
|
-
import "./workspace-
|
|
12
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
11
|
+
import "./workspace-Btbae6MM.js";
|
|
12
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-Bk4EXCkN.js";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/onboard-hooks.ts
|
|
15
15
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as isSecureWebSocketUrl } from "./ws-
|
|
2
|
+
import { a as isSecureWebSocketUrl } from "./ws-1r6e9Dys.js";
|
|
3
3
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
4
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
5
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-
|
|
7
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
4
|
+
import { r as detectBinary } from "./onboard-helpers-BHshJeiH.js";
|
|
5
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-DOUrHdHL.js";
|
|
6
|
+
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-BfsfK5rQ.js";
|
|
7
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-DcI9gUqF.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-remote.ts
|
|
10
10
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $u as normalizeSecretInput } from "./model-selection-
|
|
2
|
+
import { $u as normalizeSecretInput } from "./model-selection-Xe4QEYsC.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
4
4
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
7
|
-
import { t as installSkill } from "./skills-install-
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-BHshJeiH.js";
|
|
6
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Du76K8bv.js";
|
|
7
|
+
import { t as installSkill } from "./skills-install-CQfmtCLR.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-skills.ts
|
|
10
10
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BBP4yd-2.js";
|
|
2
|
-
import { g as resolveUserPath } from "./utils-
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { Ft as readConfigFileSnapshot, sd as normalizeSecretInputString, zt as writeConfigFile } from "./model-selection-
|
|
2
|
+
import { g as resolveUserPath } from "./utils-RlDPCeiE.js";
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-Cwzs7yN0.js";
|
|
4
|
+
import { Ft as readConfigFileSnapshot, sd as normalizeSecretInputString, zt as writeConfigFile } from "./model-selection-Xe4QEYsC.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CGUNQYjt.js";
|
|
6
6
|
import { n as docsSiteUrl } from "./docs-site-B2E7X0vG.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-1Bda-OqX.js";
|
|
8
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
8
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-DwOMM1C_.js";
|
|
9
9
|
|
|
10
10
|
//#region src/wizard/onboarding.ts
|
|
11
11
|
async function requireRiskAcknowledgement(params) {
|
|
@@ -44,7 +44,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
44
44
|
})) throw new WizardCancelledError("risk not accepted");
|
|
45
45
|
}
|
|
46
46
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
47
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
47
|
+
const onboardHelpers = await import("./onboard-helpers-BHshJeiH.js").then((n) => n.d);
|
|
48
48
|
onboardHelpers.printWizardHeader(runtime);
|
|
49
49
|
await prompter.intro("OpenClaw onboarding");
|
|
50
50
|
await requireRiskAcknowledgement({
|
|
@@ -224,8 +224,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
224
224
|
}]
|
|
225
225
|
}));
|
|
226
226
|
if (mode === "remote") {
|
|
227
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
228
|
-
const { logConfigUpdated } = await import("./logging-
|
|
227
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-CvI5wlAJ.js").then((n) => n.t);
|
|
228
|
+
const { logConfigUpdated } = await import("./logging-2kovqtbn.js").then((n) => n.r);
|
|
229
229
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
230
230
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
231
231
|
command: "onboard",
|
|
@@ -242,11 +242,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
242
242
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
243
243
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-CywG6ak0.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
|
-
const { ensureAuthProfileStore } = await import("./model-selection-
|
|
245
|
+
const { ensureAuthProfileStore } = await import("./model-selection-Xe4QEYsC.js").then((n) => n.ht);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DChcYKRD.js").then((n) => n.t);
|
|
247
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
248
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
249
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
247
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-Cxcj391N.js").then((n) => n.r);
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-C-PuOQwZ.js").then((n) => n.t);
|
|
249
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CxN0ohVn.js").then((n) => n.i);
|
|
250
250
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
251
251
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
252
252
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
285
285
|
}
|
|
286
286
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
287
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
287
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-V_rpPuAI.js");
|
|
288
288
|
const gateway = await configureGatewayForOnboarding({
|
|
289
289
|
flow,
|
|
290
290
|
baseConfig,
|
|
@@ -299,8 +299,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
299
299
|
const settings = gateway.settings;
|
|
300
300
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
301
301
|
else {
|
|
302
|
-
const { listChannelPlugins } = await import("./model-selection-
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
302
|
+
const { listChannelPlugins } = await import("./model-selection-Xe4QEYsC.js").then((n) => n.hs);
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-C7p_IgYg.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
305
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
306
|
allowSignalInstall: true,
|
|
@@ -312,22 +312,22 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
314
|
await writeConfigFile(nextConfig);
|
|
315
|
-
const { logConfigUpdated } = await import("./logging-
|
|
315
|
+
const { logConfigUpdated } = await import("./logging-2kovqtbn.js").then((n) => n.r);
|
|
316
316
|
logConfigUpdated(runtime);
|
|
317
317
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
318
318
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
319
319
|
else {
|
|
320
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
320
|
+
const { setupSkills } = await import("./onboard-skills-C65mTllM.js").then((n) => n.t);
|
|
321
321
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
322
322
|
}
|
|
323
|
-
const { setupInternalHooks } = await import("./onboard-hooks
|
|
323
|
+
const { setupInternalHooks } = await import("./onboard-hooks-Cu6T2rFj.js");
|
|
324
324
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
325
325
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
326
326
|
command: "onboard",
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DaXgygU1.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|