@termix-it/cryptoclaw 1.0.6 → 1.0.8
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/README.md +119 -116
- package/dist/{accounts-Bod7973i.js → accounts-CucAhPu5.js} +7 -7
- package/dist/{accounts-BSIXwC37.js → accounts-DarjcXFz.js} +1 -1
- package/dist/{accounts-D3YOECeq.js → accounts-DjUjM_0M.js} +1 -1
- package/dist/{acp-cli-CGC73qiP.js → acp-cli-BKEdLWJH.js} +8 -8
- package/dist/{agent-scope-BGsA4zEf.js → agent-scope-C5bklqr1.js} +17 -17
- package/dist/{agents-SpePW-me.js → agents-C26D9541.js} +14 -14
- package/dist/{agents.config-g0LyahNR.js → agents.config-BSkzwDQZ.js} +2 -2
- package/dist/{api-key-rotation-BoN0bfDN.js → api-key-rotation-DUAhkuoF.js} +1 -1
- package/dist/{audio-preflight-CN6L8zsG.js → audio-preflight-DFpELnh5.js} +34 -34
- package/dist/{audio-transcription-runner-D6NSiBUN.js → audio-transcription-runner-C1T1UDgG.js} +23 -23
- package/dist/{audit-C3kgCKKq.js → audit-BJ5b9jj6.js} +29 -29
- package/dist/{auth-BQOIUcK5.js → auth-CgV_wGar.js} +1 -1
- package/dist/{auth-choice-ClGYfSky.js → auth-choice-DG-39eTP.js} +13 -13
- package/dist/{auth-choice-pU5ch2o1.js → auth-choice-tnRPpsDE.js} +11 -11
- package/dist/{auth-choice.apply-helpers-BF8uDNAl.js → auth-choice.apply-helpers-DAj6Co-H.js} +1 -1
- package/dist/{auth-profiles-yB_p54Kf.js → auth-profiles-CtYlKXxI.js} +16 -16
- package/dist/{auth-token-C_wfhGFh.js → auth-token-Ijqjdh1h.js} +1 -1
- package/dist/{banner-C01HhkYN.js → banner-CY1oW10M.js} +2 -2
- package/dist/{bonjour-discovery-DRbbMuPV.js → bonjour-discovery-ttcR8uJV.js} +1 -1
- package/dist/{browser-cli-t5Ko46IP.js → browser-cli-DosaTN2z.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-CeJbHmC5.js → call-BHrnZxI1.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CZg6xYM_.js → channel-account-context-BjsJwBrl.js} +5 -5
- package/dist/{channel-activity-CtUzm0zi.js → channel-activity-CudRDPXk.js} +1 -1
- package/dist/{channel-options-DKP2et7c.js → channel-options-DRQo8X5b.js} +3 -3
- package/dist/{channel-selection-BGFLNPuZ.js → channel-selection-D2KncGab.js} +1 -1
- package/dist/{channel-web-CjBStv9j.js → channel-web-BxqW0jAU.js} +17 -17
- package/dist/{channels-cli-B7QQDJC8.js → channels-cli-BgpYg0HG.js} +93 -93
- package/dist/{channels-status-issues-UpBSKB6j.js → channels-status-issues-JgPH8x7b.js} +1 -1
- package/dist/{chrome-NrlBIdcn.js → chrome-m5f8q2YK.js} +4 -4
- package/dist/{clawbot-cli-fmA08wJd.js → clawbot-cli-CrkYNKVe.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-DO7xcifm.js → cli-2paqSkPz.js} +73 -73
- package/dist/{client-Kkj2aHgb.js → client-BqLxmdBY.js} +2 -2
- package/dist/{command-registry-Ckb_NblW.js → command-registry-C3IdEOLg.js} +11 -11
- package/dist/{command-secret-targets-CVAt80vu.js → command-secret-targets-_FGz0zdz.js} +4 -4
- package/dist/{commands-BYuioJO3.js → commands-CP-eujrx.js} +1 -1
- package/dist/{commands-registry-DCOqmmUF.js → commands-registry-BxWE_gts.js} +3 -3
- package/dist/{completion-cli-3DXayCwj.js → completion-cli-D_Hp6T_X.js} +13 -13
- package/dist/{config-cli-DDe7yEGq.js → config-cli-DLVXpjXN.js} +7 -7
- package/dist/{config-guard-DpzGAFpd.js → config-guard-D9yUiM86.js} +3 -3
- package/dist/{config-validation-BS6k_44h.js → config-validation-C-plaBVT.js} +3 -3
- package/dist/{configure-M4LELgRU.js → configure-idrmyczj.js} +17 -17
- package/dist/{control-ui-assets-CYQNSPY0.js → control-ui-assets-1CYoFkJQ.js} +1 -1
- package/dist/{cron-cli-C0tDGxo5.js → cron-cli-CxAxkYel.js} +11 -11
- package/dist/{daemon-cli-D7rQUQZq.js → daemon-cli-Bntp6emS.js} +15 -15
- package/dist/{daemon-install-C_ygPena.js → daemon-install-LNixC8Pb.js} +4 -4
- package/dist/{daemon-install-helpers-so86sfkZ.js → daemon-install-helpers-CyjpUUrm.js} +11 -11
- package/dist/{deliver-Bh8OdZ9H.js → deliver-HkPDAwY2.js} +7 -7
- package/dist/deliver-runtime-B5yIMxQR.js +61 -0
- package/dist/deps-send-discord.runtime-sLYAyx_-.js +36 -0
- package/dist/deps-send-imessage.runtime-2cWGJS5r.js +35 -0
- package/dist/deps-send-signal.runtime-kNxDQhbE.js +34 -0
- package/dist/deps-send-slack.runtime-D3QFxyKO.js +32 -0
- package/dist/{deps-send-telegram.runtime-DhLKcoGf.js → deps-send-telegram.runtime-DUo2GPb7.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-CHgCReeR.js +119 -0
- package/dist/{devices-cli-DKERiq8E.js → devices-cli-DDu3iEJN.js} +8 -8
- package/dist/{diagnostic-Dp-KkeSq.js → diagnostic-3zN7XEY1.js} +1 -1
- package/dist/{diagnostics-Cuvdgf7E.js → diagnostics-Dys24A-s.js} +5 -5
- package/dist/{directory-cli-DFN_WTag.js → directory-cli-BgL_9wd5.js} +7 -7
- package/dist/{dns-cli-DO8cd5zZ.js → dns-cli-B0zPrZBi.js} +5 -5
- package/dist/{dock-DjC0vgOm.js → dock-BaM5oTqE.js} +4 -4
- package/dist/{docs-cli-GcB4tM-4.js → docs-cli-4R8XltvA.js} +4 -4
- package/dist/{doctor-completion-3P8WMHdK.js → doctor-completion-5TLzN3Se.js} +2 -2
- package/dist/{doctor-config-flow-WQpcISHd.js → doctor-config-flow-DWHPUDqY.js} +15 -15
- package/dist/{enable-Di6fjV84.js → enable-BP58hyxE.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-CSsG6lrG.js → exec-approvals-allowlist-CGQJSJfD.js} +1 -1
- package/dist/{exec-approvals-cli-BuZEm_3t.js → exec-approvals-cli-DmOSbNpe.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-ukabtnTn.js → exec-safe-bin-runtime-policy-nkIQWrRj.js} +2 -2
- package/dist/{fetch-guard-0V5i-cZz.js → fetch-guard-CS_3jTMA.js} +1 -1
- package/dist/{fetch-DmaNytop.js → fetch-qkXypRi6.js} +3 -3
- package/dist/{fs-safe-DTO6fZ7N.js → fs-safe-CYrszQI6.js} +24 -24
- package/dist/{gateway-cli-VJJtBtt2.js → gateway-cli-Ct4tgMMm.js} +153 -153
- package/dist/{gateway-rpc-BLIo1-nR.js → gateway-rpc-eEkc-oSq.js} +1 -1
- package/dist/{health-Ry4jLJFh.js → health-CWuNlSLA.js} +11 -11
- package/dist/{hooks-cli-CpYtmeh1.js → hooks-cli-DdEAtyWm.js} +81 -81
- package/dist/{hooks-status-C_u7irQ4.js → hooks-status-NIiTaX__.js} +1 -1
- package/dist/{image-5Dop2pwF.js → image-ktIANJRi.js} +5 -5
- package/dist/{image-ops-Ba5soKsa.js → image-ops-WJSAG5_7.js} +10 -10
- package/dist/image-runtime-C0VvqoAb.js +55 -0
- package/dist/{inspect-Bnp4NJm0.js → inspect-DWaajebj.js} +4 -4
- package/dist/{install-safe-path-DgGlNCpx.js → install-safe-path-BmAf3bF5.js} +25 -25
- package/dist/{installs-Bjh1q5wQ.js → installs-DMDJeMmr.js} +9 -9
- package/dist/{ipv4-BsIL6DPy.js → ipv4-DIovCoyM.js} +1 -1
- package/dist/{ir-SEi7gUP9.js → ir-xdB7409t.js} +8 -8
- package/dist/{issue-format-DEHEwGJB.js → issue-format-DaXc0Ssz.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{lifecycle-core-t2Q34Tiu.js → lifecycle-core-BinqEyma.js} +5 -5
- package/dist/{login-DKh_sv9q.js → login-62iNga_2.js} +3 -3
- package/dist/{login-qr-9Wvtlmqz.js → login-qr-DMWPhIpQ.js} +6 -6
- package/dist/{logs-cli-BQTvPOds.js → logs-cli-BN9aRZlE.js} +9 -9
- package/dist/{manager-DKcbmdLj.js → manager-DstlJwRR.js} +14 -14
- package/dist/{manager-runtime-CdY_4s56.js → manager-runtime-DktggQQ7.js} +9 -9
- package/dist/{manifest-registry-CzoQ4XAn.js → manifest-registry-DjbHJw7g.js} +1 -1
- package/dist/{memory-cli-CEZedlbs.js → memory-cli-B4tlY2Jz.js} +12 -12
- package/dist/{model-B2Sraf73.js → model-BLdajRK2.js} +2 -2
- package/dist/{model-catalog-B9Kd_iNy.js → model-catalog-DorZGOmy.js} +3 -3
- package/dist/{model-picker-DyLoTKdE.js → model-picker-Cn-yEB3e.js} +4 -4
- package/dist/{models-CZbq8HGI.js → models-B_vCWO9r.js} +17 -17
- package/dist/{models-cli-8aPPSLLl.js → models-cli-BBMBrNuk.js} +78 -78
- package/dist/{models-config-C7yYEUbY.js → models-config-VlzOga1W.js} +6 -6
- package/dist/{net-CfwQaj6f.js → net-DFijUFfS.js} +2 -2
- package/dist/{node-cli-BRIl5jr7.js → node-cli-BfSkX-wS.js} +33 -33
- package/dist/{node-command-policy-yJ_VpCHq.js → node-command-policy-BMgJ81FO.js} +1 -1
- package/dist/{node-service-9R10zILv.js → node-service-BeDB4avc.js} +1 -1
- package/dist/{nodes-cli-CARJm2ko.js → nodes-cli-D0etQIcH.js} +16 -16
- package/dist/{nodes-screen-DF7EBTLu.js → nodes-screen-DWVpmvMz.js} +7 -7
- package/dist/{npm-pack-install-DdqL1Mh1.js → npm-pack-install-BUyXXcPz.js} +18 -18
- package/dist/{npm-resolution-BaKXXkK7.js → npm-resolution-DSDaOY0G.js} +4 -4
- package/dist/{onboard-C7cwcgUt.js → onboard-BEv6XhMg.js} +6 -6
- package/dist/{onboard-channels-VhiLL846.js → onboard-channels-DAQmVNUf.js} +21 -21
- package/dist/{onboard-custom-2gc6FKvI.js → onboard-custom-BIY24QCh.js} +4 -4
- package/dist/{onboard-helpers-Mort99IL.js → onboard-helpers-CPO08jBg.js} +10 -10
- package/dist/{onboard-hooks-DPho1fkd.js → onboard-hooks-CK-gx645.js} +4 -4
- package/dist/{onboard-remote-BfScc2nM.js → onboard-remote-SQzkLmdW.js} +4 -4
- package/dist/{onboard-skills-CkZeXqxE.js → onboard-skills-B2UtgSDa.js} +4 -4
- package/dist/{onboarding-DyjqYKzZ.js → onboarding-CWdu0f2f.js} +14 -14
- package/dist/{onboarding.finalize-Rn8lrC90.js → onboarding.finalize-BD5_L4rw.js} +87 -87
- package/dist/{onboarding.gateway-config-D83188RW.js → onboarding.gateway-config-CBJgsZvM.js} +18 -18
- package/dist/{onboarding.secret-input-CG_ZOH5i.js → onboarding.secret-input-B_lhRVqi.js} +1 -1
- package/dist/{openai-model-default-D1kdZKT2.js → openai-model-default-OdIXYQox.js} +2 -2
- package/dist/{openclaw-root-BU3lu8pM.js → openclaw-root-BFfBQ6FD.js} +8 -8
- package/dist/{outbound-attachment-MWhTrPYa.js → outbound-attachment-BewsAqvJ.js} +2 -2
- package/dist/{outbound-BrhmfCk2.js → outbound-m-MM0HUr.js} +3 -3
- package/dist/{pairing-cli-BLxX0PoT.js → pairing-cli-CjrZxYPI.js} +8 -8
- package/dist/{pairing-labels-C1jblVNc.js → pairing-labels-BU1EH5qm.js} +1 -1
- package/dist/{pairing-store-B_UHGVGM.js → pairing-store-CrEzWjmd.js} +3 -3
- package/dist/{path-alias-guards-DhIwq92y.js → path-alias-guards-DbNvNQar.js} +3 -3
- package/dist/{path-safety-BjIM4N4t.js → path-safety-ClQO4BB6.js} +1 -1
- package/dist/{paths-CGf7Nrz-.js → paths-BaZIBy3U.js} +9 -9
- package/dist/{pi-embedded-helpers-D9bQLeoK.js → pi-embedded-helpers-CJZP0u_Y.js} +6 -6
- package/dist/{pi-model-discovery-BmqY0Fxk.js → pi-model-discovery-IzndsQh-.js} +1 -1
- package/dist/{pi-model-discovery-runtime-Ce9Tz7Qj.js → pi-model-discovery-runtime-Bc-2_ZlP.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-B3faxm6v.js → pi-tools.before-tool-call.runtime-D4tLWmkM.js} +5 -5
- package/dist/{pi-tools.policy-B1sTh_x1.js → pi-tools.policy-B72vqcZC.js} +5 -5
- package/dist/{plugin-auto-enable-DFhRs_Ha.js → plugin-auto-enable-BJfAN-kO.js} +3 -3
- package/dist/{plugin-registry-34ghMzQO.js → plugin-registry-Coex6Pjp.js} +3 -3
- package/dist/plugin-sdk/{accounts-UnMpt5N3.js → accounts-8MUKWeGv.js} +2 -2
- package/dist/plugin-sdk/{accounts-B9LsoWRN.js → accounts-C1nsQfAq.js} +3 -3
- package/dist/plugin-sdk/{accounts-raZ4ECkq.js → accounts-CPoohfrp.js} +2 -2
- package/dist/plugin-sdk/{active-listener-Eb16HTkk.js → active-listener-Degi0it3.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-CVee9nRS.js → api-key-rotation-CbsZTTUf.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-B82VQczF.js → audio-preflight-De3ToOLv.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-qZ6rKQHs.js → audio-transcription-runner-B99FfbzJ.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Re50ULXH.js → audit-membership-runtime-DS34hPU6.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-DhjaEnHr.js → channel-activity-DdXRr2be.js} +3 -3
- package/dist/plugin-sdk/{channel-web-Cd9ofl4F.js → channel-web-DyO5wH-M.js} +18 -18
- package/dist/plugin-sdk/{chrome-DkRruWw9.js → chrome-D9S09VjY.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-DCIdoQuk.js → commands-registry-7sKgV6b6.js} +4 -4
- package/dist/plugin-sdk/{config-Dq7-4cgI.js → config-hSLjGMqo.js} +7 -7
- package/dist/plugin-sdk/{deliver-BFO3PdBy.js → deliver-CmBonhhr.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-DzqXq4YW.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-BWZWUTzd.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-BbcpP4Hy.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-DnuZ-6OX.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-C-K73-e_.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-B47VZANU.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CbVoeht-.js +57 -0
- package/dist/plugin-sdk/{diagnostic-DiXA_NOk.js → diagnostic-XZ76ECg1.js} +2 -2
- package/dist/plugin-sdk/{errors-x0EvNKYN.js → errors-C-TFeu_U.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DHh-3Pq7.js → fetch-guard-BNChovQk.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-Obb1u_C-.js → fs-safe-B8jm0acc.js} +3 -3
- package/dist/plugin-sdk/{image-C2hwEt8m.js → image-BzikjBti.js} +6 -6
- package/dist/plugin-sdk/{image-ops-C7Kt1ryv.js → image-ops-DBR1x_FT.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BfyyxB88.js +25 -0
- package/dist/plugin-sdk/index.js +50 -50
- package/dist/plugin-sdk/{ir-DEyFvrC3.js → ir-CvW_AaoY.js} +7 -7
- package/dist/plugin-sdk/{local-roots-BS6aNMOU.js → local-roots-CW4yjHjO.js} +4 -4
- package/dist/plugin-sdk/{logger-COmHOvdm.js → logger-z1vqlUc1.js} +2 -2
- package/dist/plugin-sdk/{login-C0QJfY7H.js → login-BzaOlpPR.js} +4 -4
- package/dist/plugin-sdk/{login-qr-0qmwdPb0.js → login-qr-C0z_KRnC.js} +5 -5
- package/dist/plugin-sdk/{manager-8RgL4Sdy.js → manager-DTf6k6ib.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-PlVcxBdF.js +15 -0
- package/dist/plugin-sdk/{outbound-r2idzBjf.js → outbound-DmES81b6.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-D2rmCK5Q.js → outbound-attachment-BYR_GvCl.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DlbgzmZl.js → path-alias-guards-CMpHLrQn.js} +1 -1
- package/dist/plugin-sdk/{paths-B2ytnsaB.js → paths-NcyWgkDa.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-xCyAR479.js → pi-embedded-helpers-6BaZvTwA.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-C31bQ9NT.js → pi-model-discovery-DYyEobhW.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-CF3YRFcs.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-BPpgalFg.js → pi-tools.before-tool-call.runtime-ocH9ttx6.js} +4 -4
- package/dist/plugin-sdk/{plugins-CRPN1AUk.js → plugins-B_UiQZHB.js} +4 -4
- package/dist/plugin-sdk/{proxy-fetch-BZAtM2fT.js → proxy-fetch-DxlXp4Yi.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-kU3tw4ws.js → pw-ai-B-yFpAtd.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-5TI5OD4_.js → qmd-manager-uz9PCVkw.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-miz9J0WR.js → query-expansion-D8bZEHLi.js} +4 -4
- package/dist/plugin-sdk/{redact-DZTeCKgA.js → redact-DIGZ7dEc.js} +1 -1
- package/dist/plugin-sdk/{reply-2zncCurP.js → reply-DHKovUx3.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BZynpUy7.js → resolve-outbound-target-DAomg7DR.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BdEQVn3N.js → run-with-concurrency-qFOkp49n.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-D6QQrKEg.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-C9sD41-7.js +19 -0
- package/dist/plugin-sdk/{send-DXAc8sNQ.js → send-AAxixxac.js} +6 -6
- package/dist/plugin-sdk/{send-srOsTG5v.js → send-BikqI3_Q.js} +5 -5
- package/dist/plugin-sdk/{send-DDxJMLW5.js → send-D7LHac9D.js} +7 -7
- package/dist/plugin-sdk/{send-BraCxR1K.js → send-DHx11WPi.js} +13 -13
- package/dist/plugin-sdk/{send-DGJD5miT.js → send-iL8NdxQL.js} +8 -8
- package/dist/plugin-sdk/{session-DPtviLOH.js → session-B8SERluE.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-9Q1xjzBv.js → skill-commands-BBiGcASQ.js} +4 -4
- package/dist/plugin-sdk/{skills-DibmdNLb.js → skills-uVCpkzHJ.js} +6 -6
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/slash-commands.runtime-UF19zDim.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-CSdhHD27.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-B9xCsuLJ.js +16 -0
- package/dist/plugin-sdk/{ssrf-C6DhX4-H.js → ssrf-BvmhOmnD.js} +1 -1
- package/dist/plugin-sdk/{store-ZIdTTfE4.js → store-CDD0KdbU.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-C4cuhBu-.js +52 -0
- package/dist/plugin-sdk/{tables-BssKNJPW.js → tables-DnzlEbCE.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CXWbQSBp.js → target-errors-BInUjyyh.js} +2 -2
- package/dist/plugin-sdk/{thinking-DMfnE3HJ.js → thinking-CLc4CsZU.js} +7 -7
- package/dist/plugin-sdk/{tokens-XT-8y62w.js → tokens-DuRErjk3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DbDPeOjK.js → tool-images-h8wHgEL8.js} +2 -2
- package/dist/plugin-sdk/web-Btk9r9Ct.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-DKfas9MG.js → whatsapp-actions-BBLa4ciE.js} +17 -17
- package/dist/{plugins-DO_6iMZV.js → plugins-B4AetCpQ.js} +2 -2
- package/dist/{plugins-cli-CrVhFNFQ.js → plugins-cli-BC1OrfRZ.js} +83 -83
- package/dist/{ports-D7wHAklC.js → ports-BUQm2J6L.js} +1 -1
- package/dist/{ports-jknVhOJa.js → ports-BpZiRmiG.js} +2 -2
- package/dist/{program-DJShjgis.js → program-DP3cy7oT.js} +81 -81
- package/dist/{prompt-select-styled-BEQND6Pn.js → prompt-select-styled-doOKqwJk.js} +40 -40
- package/dist/{provider-auth-helpers-CHEChUx_.js → provider-auth-helpers-DcmZK4IP.js} +5 -5
- package/dist/{proxy-env-C61VbSzS.js → proxy-env-BEfRNPmW.js} +1 -1
- package/dist/{push-apns-BPEC7SVy.js → push-apns-Duv_LH_E.js} +5 -5
- package/dist/{pw-ai-BWsikzYD.js → pw-ai-Ds5f7Rvv.js} +18 -18
- package/dist/{qmd-manager-DefwbEao.js → qmd-manager-4HixPUdU.js} +20 -20
- package/dist/{qr-cli-CoXD6uPd.js → qr-cli-D4MiTFeD.js} +2 -2
- package/dist/{query-expansion-BlsKiJrV.js → query-expansion-DfWHFCTw.js} +12 -12
- package/dist/{redact-snapshot-M27Gs1s9.js → redact-snapshot-BE1hcZlN.js} +1 -1
- package/dist/{register.agent-t529UsnC.js → register.agent-DFd8-wLc.js} +94 -94
- package/dist/register.configure-Cu6y9WMa.js +165 -0
- package/dist/{register.maintenance-FmxcJgcW.js → register.maintenance-CouoMEPC.js} +95 -95
- package/dist/{register.message-BCoDh2cF.js → register.message-g4CdwiKD.js} +74 -74
- package/dist/{register.onboard-DZar0J8o.js → register.onboard-DlKw4xXK.js} +18 -18
- package/dist/{register.setup-D14CyWuc.js → register.setup-kxCLJtkA.js} +21 -21
- package/dist/{register.status-health-sessions-B6crPNF9.js → register.status-health-sessions-BakEjuIX.js} +88 -88
- package/dist/{register.subclis-BAATApi1.js → register.subclis-E3VXJcR8.js} +31 -31
- package/dist/{rpc-CA7yGckN.js → rpc-C9k7pLBW.js} +1 -1
- package/dist/{run-main-B19t_gLX.js → run-main-k4NWKRqz.js} +92 -92
- package/dist/{runtime-D_htBj_7.js → runtime-CagDsJFx.js} +3 -3
- package/dist/{runtime-config-collectors-mLMSoY2n.js → runtime-config-collectors-D0I8Qs4G.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-BtBGjvx6.js → runtime-whatsapp-login.runtime-BvfhsLJm.js} +7 -7
- package/dist/{runtime-whatsapp-outbound.runtime-D1d2rg_z.js → runtime-whatsapp-outbound.runtime-QL3Riu-B.js} +15 -15
- package/dist/{sandbox-C-8JxFW5.js → sandbox-CgTcwizP.js} +18 -18
- package/dist/{sandbox-cli-xIBSXLbp.js → sandbox-cli-56gCyo4f.js} +25 -25
- package/dist/{secrets-cli-DwpF8ldn.js → secrets-cli-BjzX5BIS.js} +11 -11
- package/dist/{security-cli-BjfOTh6K.js → security-cli-C8_7pezc.js} +42 -42
- package/dist/{send-NBLtGiEh.js → send-B1C9OCt2.js} +8 -8
- package/dist/{send-Cp2_MKSV.js → send-BCdpg1w2.js} +5 -5
- package/dist/{send-BzRMouwD.js → send-BhJJuiPi.js} +4 -4
- package/dist/{send-DrEo-BBc.js → send-CkFo9xha.js} +6 -6
- package/dist/{send-D2Kyg_GY.js → send-DDvvsvcJ.js} +11 -11
- package/dist/{server-Cz0R7Scf.js → server-EsF-rWXM.js} +20 -20
- package/dist/{server-context-vco06zxO.js → server-context-DAejIBKi.js} +12 -12
- package/dist/{server-lifecycle-BnUgXA5X.js → server-lifecycle-C0IxrwRk.js} +2 -2
- package/dist/{server-middleware-D5lrCTcL.js → server-middleware-B8_ZaIoM.js} +1 -1
- package/dist/{server-node-events-BTTa3-DI.js → server-node-events-1jnvsPrM.js} +74 -74
- package/dist/{service-B6Pm7AZA.js → service-T5lT7h-M.js} +15 -15
- package/dist/{session-CDSphrCx.js → session-XvQQBDSC.js} +1 -1
- package/dist/{session-utils-LerBXiBL.js → session-utils-CDs6jjz-.js} +6 -6
- package/dist/{sessions-UwbRBc7C.js → sessions-D4pBAOV-.js} +15 -15
- package/dist/{sessions-C7q1EhRK.js → sessions-JCqDw8Bf.js} +4 -4
- package/dist/{shared-BVq1q5D-.js → shared-BrmHcYtZ.js} +1 -1
- package/dist/{shared-sIizRbI9.js → shared-DaWK788E.js} +3 -3
- package/dist/{skill-commands-CeEZlRJj.js → skill-commands-DDRb6be1.js} +5 -5
- package/dist/{skill-scanner-DGx7tLvP.js → skill-scanner-BdA-XFky.js} +6 -6
- package/dist/{skills-B16i2mme.js → skills-Dde3dh7M.js} +3 -3
- package/dist/{skills-cli-COBPySVc.js → skills-cli-hPtKeBYo.js} +5 -5
- package/dist/{skills-install-CEgXF7D3.js → skills-install-BG5c8jOQ.js} +6 -6
- package/dist/{skills-status-BGvLXtop.js → skills-status-Cl0jR0kA.js} +1 -1
- package/dist/{slash-commands.runtime-BLl455Ha.js → slash-commands.runtime-WyW5W0r3.js} +11 -11
- package/dist/slash-dispatch.runtime-e_hnJMYz.js +114 -0
- package/dist/{slash-skill-commands.runtime-NP-EeAgb.js → slash-skill-commands.runtime-DCZQC-hJ.js} +15 -15
- package/dist/{status-4fmTPmZ8.js → status-KrF4yDJE.js} +27 -27
- package/dist/{status.update-BincwEhI.js → status.update-ovXdI8fy.js} +2 -2
- package/dist/{store-C4eyKOP_.js → store-OqcrqyHY.js} +5 -5
- package/dist/{subagent-registry-B29QoX6u.js → subagent-registry-CqQCPU35.js} +149 -149
- package/dist/subagent-registry-runtime-DZ2NcDAS.js +114 -0
- package/dist/{system-cli-DeCdNdxg.js → system-cli-C6XjjyMr.js} +9 -9
- package/dist/{system-run-command-DVel5yZQ.js → system-run-command-B1auaqvg.js} +1 -1
- package/dist/{systemd-BPu08aN2.js → systemd-CvSjUuUT.js} +9 -9
- package/dist/{systemd-hints-PEGoMeNi.js → systemd-hints-DPrvbOr-.js} +6 -6
- package/dist/{systemd-linger-ckxguBpS.js → systemd-linger-DWtUqeeE.js} +1 -1
- package/dist/{tables-CM4RCywz.js → tables-BSWzRw5b.js} +1 -1
- package/dist/{tailnet-D8ZmZFEq.js → tailnet-Bdvg29Ll.js} +1 -1
- package/dist/{target-errors-Dq-K3j_S.js → target-errors-D0aWoxbs.js} +4 -4
- package/dist/{tool-images-C96-GuZE.js → tool-images-J7V8AfTu.js} +1 -1
- package/dist/{tui-Cby-FNU6.js → tui-DlcwmY1x.js} +6 -6
- package/dist/{tui-cli-BpgQL5Pu.js → tui-cli-zm_Sa4E5.js} +32 -32
- package/dist/{update-DNmbn7VE.js → update-Gbhw9u0F.js} +3 -3
- package/dist/{update-cli-kVzXT8I-.js → update-cli-Co-CAt0w.js} +104 -104
- package/dist/{update-runner-C-d9Tjog.js → update-runner-kKiJKth8.js} +16 -16
- package/dist/web-Bx-fQR1C.js +118 -0
- package/dist/{webhooks-cli-BeC7vAYz.js → webhooks-cli-B-O0TVtX.js} +6 -6
- package/dist/{whatsapp-actions-oSO9PcWD.js → whatsapp-actions-DaNP01Yk.js} +17 -17
- package/dist/{with-timeout-YDfOtKvh.js → with-timeout-xp4bBUMy.js} +3 -3
- package/dist/{workspace-CZkOfauh.js → workspace-BXI1yRZ5.js} +1 -1
- package/dist/{workspace-dirs-BSD3q0pa.js → workspace-dirs-BY9k_sye.js} +1 -1
- package/dist/{wsl-CsGe5QCP.js → wsl-CvQfS6aU.js} +2 -2
- package/package.json +2 -2
- package/dist/deliver-runtime-DkDQPjmE.js +0 -61
- package/dist/deps-send-discord.runtime-DhhOEbEN.js +0 -36
- package/dist/deps-send-imessage.runtime-CeatZSyv.js +0 -35
- package/dist/deps-send-signal.runtime-xlqQXnR0.js +0 -34
- package/dist/deps-send-slack.runtime-m3yDRYug.js +0 -32
- package/dist/deps-send-whatsapp.runtime-DZR3Tix2.js +0 -119
- package/dist/image-runtime-vjBJe2FQ.js +0 -55
- package/dist/plugin-sdk/deliver-runtime-BWZ4MjCx.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DOOrRWmj.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-B5w4Zb7g.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-NUsgzgnc.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-30nkLxsY.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-D2BsaDBJ.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-DMtrDoHb.js +0 -57
- package/dist/plugin-sdk/image-runtime-Vtwamfai.js +0 -25
- package/dist/plugin-sdk/manager-runtime-B7jfPrQb.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-C5Suk1AS.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BhSqT2c_.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DrZrtcgL.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-z1q_nPnV.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-CR4I_6w5.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BzB0BO-7.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-UnNrLL2P.js +0 -52
- package/dist/plugin-sdk/web-D7S-5qkT.js +0 -56
- package/dist/register.configure-Dn11C-E_.js +0 -165
- package/dist/slash-dispatch.runtime-BtsEX-_Q.js +0 -114
- package/dist/subagent-registry-runtime-ChT29jt0.js +0 -114
- package/dist/web-CrLnsppN.js +0 -118
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-B45rafWZ.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-BmAf3bF5.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fs.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fs.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fs.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fs.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fs.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fs.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fs.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fs.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fs.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fs.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fs.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fs.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fs.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fs.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fs.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
4
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-CqQCPU35.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-BUyXXcPz.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-Cfn2Pryx.js";
|
|
3
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-CtYlKXxI.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
6
|
-
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-
|
|
6
|
+
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-CPO08jBg.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-CcxUeG62.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-DFO22ThU.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-CWdu0f2f.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-sqZaYWyX.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DjGs2ip7.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-C0UVcgCr.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-DG-39eTP.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-LNixC8Pb.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-CWuNlSLA.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
5
5
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-cwpAMi-t.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-B45rafWZ.js";
|
|
8
8
|
import { A as hasConfiguredSecretInput, i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-BrR1Dq5T.js";
|
|
9
|
-
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { dt as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { o as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-B4AetCpQ.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-CucAhPu5.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-DarjcXFz.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-DjUjM_0M.js";
|
|
13
|
+
import { dt as normalizeDiscordSlug } from "./send-DDvvsvcJ.js";
|
|
14
|
+
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-CqQCPU35.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BJfAN-kO.js";
|
|
16
|
+
import { o as normalizeIMessageHandle } from "./send-CkFo9xha.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-CPO08jBg.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BVDZVrXu.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-62iNga_2.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-Bmf75heG.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-D_ieZ9ip.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D7MilaX-.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
26
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-BP58hyxE.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-BmAf3bF5.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-DMDJeMmr.js";
|
|
26
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-DAj6Co-H.js";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import fs, { createWriteStream } from "node:fs";
|
|
30
|
-
import
|
|
30
|
+
import fs$1 from "node:fs/promises";
|
|
31
31
|
import { pipeline } from "node:stream/promises";
|
|
32
32
|
import { request } from "node:https";
|
|
33
33
|
|
|
@@ -1134,7 +1134,7 @@ async function findSignalCliBinary(root) {
|
|
|
1134
1134
|
const candidates = [];
|
|
1135
1135
|
const enqueue = async (dir, depth) => {
|
|
1136
1136
|
if (depth > 3) return;
|
|
1137
|
-
const entries = await
|
|
1137
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1138
1138
|
for (const entry of entries) {
|
|
1139
1139
|
const full = path.join(dir, entry.name);
|
|
1140
1140
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1155,7 +1155,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1155
1155
|
const prefix = result.stdout.trim();
|
|
1156
1156
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1157
1157
|
try {
|
|
1158
|
-
await
|
|
1158
|
+
await fs$1.access(candidate);
|
|
1159
1159
|
return candidate;
|
|
1160
1160
|
} catch {
|
|
1161
1161
|
return findSignalCliBinary(prefix);
|
|
@@ -1211,12 +1211,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1211
1211
|
ok: false,
|
|
1212
1212
|
error: "No compatible release asset found for this platform."
|
|
1213
1213
|
};
|
|
1214
|
-
const tmpDir = await
|
|
1214
|
+
const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1215
1215
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1216
1216
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1217
1217
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1218
1218
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1219
|
-
await
|
|
1219
|
+
await fs$1.mkdir(installRoot, { recursive: true });
|
|
1220
1220
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1221
1221
|
ok: false,
|
|
1222
1222
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1235,7 +1235,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1235
1235
|
ok: false,
|
|
1236
1236
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1237
1237
|
};
|
|
1238
|
-
await
|
|
1238
|
+
await fs$1.chmod(cliPath, 493).catch(() => {});
|
|
1239
1239
|
return {
|
|
1240
1240
|
ok: true,
|
|
1241
1241
|
cliPath,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ai as normalizeOptionalSecretInput, Li as DEFAULT_PROVIDER, ji as normalizeSecretInput, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
2
|
+
import { Ai as normalizeOptionalSecretInput, Li as DEFAULT_PROVIDER, ji as normalizeSecretInput, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-CtYlKXxI.js";
|
|
3
3
|
import { j as isSecretRef } from "./registry-BrR1Dq5T.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-Mawkd1Br.js";
|
|
5
5
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-EeoVR--t.js";
|
|
6
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
7
|
-
import { c as normalizeAlias } from "./shared-
|
|
8
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
6
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-DAj6Co-H.js";
|
|
7
|
+
import { c as normalizeAlias } from "./shared-DaWK788E.js";
|
|
8
|
+
import { r as applyPrimaryModel } from "./model-picker-Cn-yEB3e.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/onboard-custom.ts
|
|
11
11
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-
|
|
4
|
-
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
3
|
+
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-CtYlKXxI.js";
|
|
4
|
+
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-C5bklqr1.js";
|
|
5
5
|
import { S as sleep, b as shortenHomeInString, t as CONFIG_DIR, v as resolveUserPath, x as shortenHomePath } from "./utils-cwpAMi-t.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-B45rafWZ.js";
|
|
7
7
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CXgeX9no.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DvFmz0MB.js";
|
|
10
|
-
import { n as callGateway } from "./call-
|
|
11
|
-
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-
|
|
12
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
10
|
+
import { n as callGateway } from "./call-BHrnZxI1.js";
|
|
11
|
+
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-DFijUFfS.js";
|
|
12
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Bdvg29Ll.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-CvQfS6aU.js";
|
|
14
14
|
import { r as stylePromptTitle } from "./prompt-style-BfCTyCoH.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fs from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
20
20
|
|
|
@@ -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;
|
|
@@ -3,14 +3,14 @@ import "./paths-BMo6kTge.js";
|
|
|
3
3
|
import "./subsystem-Cfn2Pryx.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
7
7
|
import "./utils-cwpAMi-t.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
9
9
|
import "./logger-DB-PHqB2.js";
|
|
10
10
|
import "./exec-B45rafWZ.js";
|
|
11
11
|
import "./frontmatter-D2o8_Jfu.js";
|
|
12
|
-
import "./workspace-
|
|
13
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
12
|
+
import "./workspace-BXI1yRZ5.js";
|
|
13
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-NIiTaX__.js";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/onboard-hooks.ts
|
|
16
16
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSecureWebSocketUrl } from "./net-
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
4
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { i as isSecureWebSocketUrl } from "./net-DFijUFfS.js";
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-CPO08jBg.js";
|
|
4
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-DAj6Co-H.js";
|
|
5
5
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-CSYY8XGu.js";
|
|
6
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
6
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-ttcR8uJV.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-remote.ts
|
|
9
9
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ji as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
+
import { ji as normalizeSecretInput } from "./auth-profiles-CtYlKXxI.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-Cl0jR0kA.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-CPO08jBg.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-BG5c8jOQ.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
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-BMo6kTge.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-Cfn2Pryx.js";
|
|
3
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-CtYlKXxI.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
6
6
|
import { N as normalizeSecretInputString } from "./registry-BrR1Dq5T.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
8
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
8
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-B_lhRVqi.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-CPO08jBg.js").then((n) => n.d);
|
|
48
48
|
onboardHelpers.printWizardHeader(runtime);
|
|
49
49
|
await prompter.intro("OpenClaw onboarding");
|
|
50
50
|
await requireRiskAcknowledgement({
|
|
@@ -224,7 +224,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
224
224
|
}]
|
|
225
225
|
}));
|
|
226
226
|
if (mode === "remote") {
|
|
227
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
227
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-SQzkLmdW.js").then((n) => n.t);
|
|
228
228
|
const { logConfigUpdated } = await import("./logging-sqZaYWyX.js").then((n) => n.r);
|
|
229
229
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
230
230
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -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-C0UVcgCr.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
245
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CtYlKXxI.js").then((n) => n.t);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-4mupmvzh.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-BIY24QCh.js").then((n) => n.r);
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-tnRPpsDE.js").then((n) => n.t);
|
|
249
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-Cn-yEB3e.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-CBJgsZvM.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("./plugins-
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
302
|
+
const { listChannelPlugins } = await import("./plugins-B4AetCpQ.js").then((n) => n.i);
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-DAQmVNUf.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,
|
|
@@ -317,17 +317,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
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-B2UtgSDa.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-CK-gx645.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-BD5_L4rw.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|