@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,12 +1,12 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
2
|
-
import { sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
2
|
+
import { sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
3
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-VlzOga1W.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
const log = createSubsystemLogger("model-catalog");
|
|
7
7
|
let modelCatalogPromise = null;
|
|
8
8
|
let hasLoggedModelCatalogError = false;
|
|
9
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
9
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-IzndsQh-.js").then((n) => n.r);
|
|
10
10
|
let importPiSdk = defaultImportPiSdk;
|
|
11
11
|
const CODEX_PROVIDER = "openai-codex";
|
|
12
12
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-
|
|
4
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
5
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Qn as upsertAuthProfileWithLock, Sr as normalizeProviderId, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, fr as buildAllowedModelSet, gi as resolveEnvApiKey, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-CtYlKXxI.js";
|
|
3
|
+
import { N as resolveAgentModelPrimaryValue } from "./agent-scope-C5bklqr1.js";
|
|
4
|
+
import { n as loadModelCatalog } from "./model-catalog-DorZGOmy.js";
|
|
5
|
+
import { i as formatTokenK } from "./shared-DaWK788E.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/openai-codex-model-default.ts
|
|
8
8
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as colorize, f as isRich$1, p as theme } from "./globals-d3aR1MYC.js";
|
|
3
3
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Ri as resolveAuthProfileDisplayLabel, Sr as normalizeProviderId, Xn as setAuthProfileOrder, Zn as upsertAuthProfile, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, gi as resolveEnvApiKey, hi as resolveAwsSdkEnvVarName, hr as findNormalizedProviderValue, kr as resolveModelRefFromString, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider, mr as buildModelAliasIndex, n as resolveAuthProfileEligibility, or as resolveAuthStorePathForDisplay, pt as parseDurationMs, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir, vi as getShellEnvAppliedKeys, xi as shouldEnableShellEnvFallback, y as resolveSecretRefString, yr as modelKey, z as loadConfig } from "./auth-profiles-
|
|
4
|
+
import { Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Ii as DEFAULT_MODEL, Jn as listProfilesForProvider, Li as DEFAULT_PROVIDER, Ri as resolveAuthProfileDisplayLabel, Sr as normalizeProviderId, Xn as setAuthProfileOrder, Zn as upsertAuthProfile, er as ensureAuthProfileStore, fi as getCustomProviderApiKey, gi as resolveEnvApiKey, hi as resolveAwsSdkEnvVarName, hr as findNormalizedProviderValue, kr as resolveModelRefFromString, l as resolveProfileUnusableUntilForDisplay, mi as resolveApiKeyForProvider, mr as buildModelAliasIndex, n as resolveAuthProfileEligibility, or as resolveAuthStorePathForDisplay, pt as parseDurationMs, r as resolveAuthProfileOrder, sr as resolveOpenClawAgentDir, vi as getShellEnvAppliedKeys, xi as shouldEnableShellEnvFallback, y as resolveSecretRefString, yr as modelKey, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
6
|
-
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
7
7
|
import { x as shortenHomePath } from "./utils-cwpAMi-t.js";
|
|
8
8
|
import { N as normalizeSecretInputString, k as coerceSecretRef } from "./registry-BrR1Dq5T.js";
|
|
9
|
-
import { r as resolveForwardCompatModel } from "./model-
|
|
10
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
11
|
-
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-
|
|
9
|
+
import { r as resolveForwardCompatModel } from "./model-BLdajRK2.js";
|
|
10
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-IzndsQh-.js";
|
|
11
|
+
import { Mn as resolveUsageProviderId, Nt as describeFailoverError, dn as buildAuthHealthSummary, fn as formatRemainingShort, jn as formatUsageWindowSummary, kn as loadProviderUsageSummary, ln as maskApiKey, u as runEmbeddedPiAgent, un as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-CqQCPU35.js";
|
|
12
12
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DvFmz0MB.js";
|
|
13
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
14
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
15
|
-
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-
|
|
16
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
13
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-VlzOga1W.js";
|
|
14
|
+
import { n as loadModelCatalog } from "./model-catalog-DorZGOmy.js";
|
|
15
|
+
import { i as getModelsCommandSecretTargetIds, s as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-_FGz0zdz.js";
|
|
16
|
+
import { f as openUrl } from "./onboard-helpers-CPO08jBg.js";
|
|
17
17
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BfCTyCoH.js";
|
|
18
18
|
import { r as withProgressTotals } from "./progress-BCOseYmX.js";
|
|
19
19
|
import { t as createClackPrompter } from "./clack-prompter-CcxUeG62.js";
|
|
20
20
|
import { t as renderTable } from "./table-BR-agoRi.js";
|
|
21
21
|
import { t as inferParamBFromIdOrName } from "./model-param-b-scvX_s5g.js";
|
|
22
22
|
import { n as redactSecrets } from "./format-B4BvVfHq.js";
|
|
23
|
-
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-
|
|
24
|
-
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-
|
|
23
|
+
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DaWK788E.js";
|
|
24
|
+
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Ijqjdh1h.js";
|
|
25
25
|
import { n as logConfigUpdated } from "./logging-sqZaYWyX.js";
|
|
26
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
26
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DcmZK4IP.js";
|
|
27
27
|
import path from "node:path";
|
|
28
|
-
import
|
|
28
|
+
import fs from "node:fs/promises";
|
|
29
29
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
30
30
|
import crypto from "node:crypto";
|
|
31
31
|
import { Type } from "@sinclair/typebox";
|
|
@@ -854,7 +854,7 @@ function printModelTable(rows, runtime, opts = {}) {
|
|
|
854
854
|
//#region src/commands/models/list.list-command.ts
|
|
855
855
|
async function modelsListCommand(opts, runtime) {
|
|
856
856
|
ensureFlagCompatibility(opts);
|
|
857
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
857
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-CtYlKXxI.js").then((n) => n.t);
|
|
858
858
|
const cfg = await loadModelsConfig({
|
|
859
859
|
commandName: "models list",
|
|
860
860
|
runtime
|
|
@@ -917,7 +917,7 @@ async function modelsListCommand(opts, runtime) {
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
if (!model) {
|
|
920
|
-
const { resolveModel } = await import("./model-
|
|
920
|
+
const { resolveModel } = await import("./model-BLdajRK2.js").then((n) => n.t);
|
|
921
921
|
model = resolveModel(entry.ref.provider, entry.ref.model, void 0, cfg).model;
|
|
922
922
|
}
|
|
923
923
|
if (opts.local && model && !isLocalBaseUrl(model.baseUrl)) continue;
|
|
@@ -1271,7 +1271,7 @@ async function probeTarget(params) {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
|
|
1273
1273
|
const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
|
|
1274
|
-
await
|
|
1274
|
+
await fs.mkdir(sessionDir, { recursive: true });
|
|
1275
1275
|
const start = Date.now();
|
|
1276
1276
|
try {
|
|
1277
1277
|
await runEmbeddedPiAgent({
|
|
@@ -1326,7 +1326,7 @@ async function runTargetsWithConcurrency(params) {
|
|
|
1326
1326
|
const agentDir = resolveOpenClawAgentDir();
|
|
1327
1327
|
const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
|
|
1328
1328
|
const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
1329
|
-
await
|
|
1329
|
+
await fs.mkdir(workspaceDir, { recursive: true });
|
|
1330
1330
|
let completed = 0;
|
|
1331
1331
|
const results = Array.from({ length: targets.length });
|
|
1332
1332
|
let cursor = 0;
|
|
@@ -2,10 +2,10 @@ import { p as theme } from "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Cfn2Pryx.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-CtYlKXxI.js";
|
|
6
|
+
import "./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 "./registry-BrR1Dq5T.js";
|
|
@@ -13,112 +13,112 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-DdJhsIqk.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./model-
|
|
19
|
-
import "./pi-model-discovery-
|
|
20
|
-
import "./diagnostic-
|
|
16
|
+
import "./manifest-registry-DjbHJw7g.js";
|
|
17
|
+
import "./dock-BaM5oTqE.js";
|
|
18
|
+
import "./model-BLdajRK2.js";
|
|
19
|
+
import "./pi-model-discovery-IzndsQh-.js";
|
|
20
|
+
import "./diagnostic-3zN7XEY1.js";
|
|
21
21
|
import "./frontmatter-D2o8_Jfu.js";
|
|
22
|
-
import "./skills-
|
|
23
|
-
import "./path-alias-guards-
|
|
22
|
+
import "./skills-Dde3dh7M.js";
|
|
23
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
24
24
|
import "./message-channel-CXgeX9no.js";
|
|
25
|
-
import "./sessions-
|
|
26
|
-
import "./plugins-
|
|
27
|
-
import "./accounts-
|
|
28
|
-
import "./accounts-
|
|
25
|
+
import "./sessions-D4pBAOV-.js";
|
|
26
|
+
import "./plugins-B4AetCpQ.js";
|
|
27
|
+
import "./accounts-CucAhPu5.js";
|
|
28
|
+
import "./accounts-DarjcXFz.js";
|
|
29
29
|
import "./logging-CcxUDNcI.js";
|
|
30
|
-
import "./accounts-
|
|
31
|
-
import "./send-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./subagent-registry-
|
|
30
|
+
import "./accounts-DjUjM_0M.js";
|
|
31
|
+
import "./send-BhJJuiPi.js";
|
|
32
|
+
import "./send-DDvvsvcJ.js";
|
|
33
|
+
import "./subagent-registry-CqQCPU35.js";
|
|
34
34
|
import "./paths-DvFmz0MB.js";
|
|
35
35
|
import "./chat-envelope-D3RSz140.js";
|
|
36
|
-
import "./client-
|
|
37
|
-
import "./call-
|
|
36
|
+
import "./client-BqLxmdBY.js";
|
|
37
|
+
import "./call-BHrnZxI1.js";
|
|
38
38
|
import "./pairing-token-BXrId5bQ.js";
|
|
39
|
-
import "./net-
|
|
40
|
-
import "./tailnet-
|
|
39
|
+
import "./net-DFijUFfS.js";
|
|
40
|
+
import "./tailnet-Bdvg29Ll.js";
|
|
41
41
|
import "./tokens-BaNa8Czl.js";
|
|
42
|
-
import "./with-timeout-
|
|
43
|
-
import "./deliver-
|
|
44
|
-
import "./image-ops-
|
|
45
|
-
import "./send-
|
|
46
|
-
import "./pi-embedded-helpers-
|
|
47
|
-
import "./sandbox-
|
|
42
|
+
import "./with-timeout-xp4bBUMy.js";
|
|
43
|
+
import "./deliver-HkPDAwY2.js";
|
|
44
|
+
import "./image-ops-WJSAG5_7.js";
|
|
45
|
+
import "./send-B1C9OCt2.js";
|
|
46
|
+
import "./pi-embedded-helpers-CJZP0u_Y.js";
|
|
47
|
+
import "./sandbox-CgTcwizP.js";
|
|
48
48
|
import "./tool-catalog-C04U7H3F.js";
|
|
49
|
-
import "./chrome-
|
|
49
|
+
import "./chrome-m5f8q2YK.js";
|
|
50
50
|
import "./tailscale-D4zNU-0Q.js";
|
|
51
|
-
import "./auth-
|
|
52
|
-
import "./server-context-
|
|
53
|
-
import "./paths-
|
|
51
|
+
import "./auth-CgV_wGar.js";
|
|
52
|
+
import "./server-context-DAejIBKi.js";
|
|
53
|
+
import "./paths-BaZIBy3U.js";
|
|
54
54
|
import "./redact-DwuqxSL3.js";
|
|
55
55
|
import "./errors-CIvF1JsC.js";
|
|
56
|
-
import "./fs-safe-
|
|
57
|
-
import "./proxy-env-
|
|
58
|
-
import "./store-
|
|
59
|
-
import "./ports-
|
|
56
|
+
import "./fs-safe-CYrszQI6.js";
|
|
57
|
+
import "./proxy-env-BEfRNPmW.js";
|
|
58
|
+
import "./store-OqcrqyHY.js";
|
|
59
|
+
import "./ports-BpZiRmiG.js";
|
|
60
60
|
import "./trash-Dq9t9uID.js";
|
|
61
|
-
import "./server-middleware-
|
|
62
|
-
import "./tool-images-
|
|
61
|
+
import "./server-middleware-B8_ZaIoM.js";
|
|
62
|
+
import "./tool-images-J7V8AfTu.js";
|
|
63
63
|
import "./thinking-CrcT589P.js";
|
|
64
|
-
import "./models-config-
|
|
65
|
-
import "./exec-approvals-allowlist-
|
|
66
|
-
import "./exec-safe-bin-runtime-policy-
|
|
67
|
-
import "./model-catalog-
|
|
68
|
-
import "./fetch-
|
|
69
|
-
import "./audio-transcription-runner-
|
|
70
|
-
import "./fetch-guard-
|
|
71
|
-
import "./image-
|
|
64
|
+
import "./models-config-VlzOga1W.js";
|
|
65
|
+
import "./exec-approvals-allowlist-CGQJSJfD.js";
|
|
66
|
+
import "./exec-safe-bin-runtime-policy-nkIQWrRj.js";
|
|
67
|
+
import "./model-catalog-DorZGOmy.js";
|
|
68
|
+
import "./fetch-qkXypRi6.js";
|
|
69
|
+
import "./audio-transcription-runner-C1T1UDgG.js";
|
|
70
|
+
import "./fetch-guard-CS_3jTMA.js";
|
|
71
|
+
import "./image-ktIANJRi.js";
|
|
72
72
|
import "./tool-display-DJA6wQza.js";
|
|
73
|
-
import "./api-key-rotation-
|
|
73
|
+
import "./api-key-rotation-DUAhkuoF.js";
|
|
74
74
|
import "./proxy-fetch-BSCpx7Yz.js";
|
|
75
|
-
import "./ir-
|
|
75
|
+
import "./ir-xdB7409t.js";
|
|
76
76
|
import "./render-CCLsW6Lz.js";
|
|
77
|
-
import "./target-errors-
|
|
78
|
-
import "./commands-
|
|
79
|
-
import "./commands-registry-
|
|
77
|
+
import "./target-errors-D0aWoxbs.js";
|
|
78
|
+
import "./commands-CP-eujrx.js";
|
|
79
|
+
import "./commands-registry-BxWE_gts.js";
|
|
80
80
|
import "./fetch-Cep8cXb2.js";
|
|
81
|
-
import "./pairing-store-
|
|
81
|
+
import "./pairing-store-CrEzWjmd.js";
|
|
82
82
|
import "./exec-approvals-BXpO0clf.js";
|
|
83
|
-
import "./nodes-screen-
|
|
84
|
-
import "./system-run-command-
|
|
85
|
-
import "./session-utils-
|
|
83
|
+
import "./nodes-screen-DWVpmvMz.js";
|
|
84
|
+
import "./system-run-command-B1auaqvg.js";
|
|
85
|
+
import "./session-utils-CDs6jjz-.js";
|
|
86
86
|
import "./session-cost-usage-TIBv8Nm4.js";
|
|
87
|
-
import "./skill-commands-
|
|
88
|
-
import "./workspace-dirs-
|
|
89
|
-
import "./channel-activity-
|
|
90
|
-
import "./tables-
|
|
91
|
-
import "./server-lifecycle-
|
|
87
|
+
import "./skill-commands-DDRb6be1.js";
|
|
88
|
+
import "./workspace-dirs-BY9k_sye.js";
|
|
89
|
+
import "./channel-activity-CudRDPXk.js";
|
|
90
|
+
import "./tables-BSWzRw5b.js";
|
|
91
|
+
import "./server-lifecycle-C0IxrwRk.js";
|
|
92
92
|
import "./stagger-C4U8O7GM.js";
|
|
93
|
-
import "./channel-selection-
|
|
94
|
-
import "./plugin-auto-enable-
|
|
95
|
-
import "./send-
|
|
96
|
-
import "./outbound-attachment-
|
|
93
|
+
import "./channel-selection-D2KncGab.js";
|
|
94
|
+
import "./plugin-auto-enable-BJfAN-kO.js";
|
|
95
|
+
import "./send-BCdpg1w2.js";
|
|
96
|
+
import "./outbound-attachment-BewsAqvJ.js";
|
|
97
97
|
import "./delivery-queue-Bl-IGZt-.js";
|
|
98
|
-
import "./send-
|
|
99
|
-
import "./pi-tools.policy-
|
|
98
|
+
import "./send-CkFo9xha.js";
|
|
99
|
+
import "./pi-tools.policy-B72vqcZC.js";
|
|
100
100
|
import "./proxy-Dgwoliym.js";
|
|
101
|
-
import "./runtime-config-collectors-
|
|
102
|
-
import "./command-secret-targets-
|
|
103
|
-
import "./onboard-helpers-
|
|
101
|
+
import "./runtime-config-collectors-D0I8Qs4G.js";
|
|
102
|
+
import "./command-secret-targets-_FGz0zdz.js";
|
|
103
|
+
import "./onboard-helpers-CPO08jBg.js";
|
|
104
104
|
import "./prompt-style-BfCTyCoH.js";
|
|
105
|
-
import "./pairing-labels-
|
|
106
|
-
import "./memory-cli-
|
|
107
|
-
import "./manager-
|
|
108
|
-
import "./query-expansion-
|
|
105
|
+
import "./pairing-labels-BU1EH5qm.js";
|
|
106
|
+
import "./memory-cli-B4tlY2Jz.js";
|
|
107
|
+
import "./manager-DstlJwRR.js";
|
|
108
|
+
import "./query-expansion-DfWHFCTw.js";
|
|
109
109
|
import { t as formatDocsLink } from "./links-BVDZVrXu.js";
|
|
110
110
|
import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-BKqG4ZT-.js";
|
|
111
111
|
import "./help-format-CMlnk7BV.js";
|
|
112
112
|
import "./progress-BCOseYmX.js";
|
|
113
113
|
import "./note-nDlrTKjH.js";
|
|
114
114
|
import "./clack-prompter-CcxUeG62.js";
|
|
115
|
-
import "./issue-format-
|
|
115
|
+
import "./issue-format-DaXc0Ssz.js";
|
|
116
116
|
import "./table-BR-agoRi.js";
|
|
117
|
-
import "./shared-
|
|
118
|
-
import "./auth-token-
|
|
117
|
+
import "./shared-DaWK788E.js";
|
|
118
|
+
import "./auth-token-Ijqjdh1h.js";
|
|
119
119
|
import "./logging-sqZaYWyX.js";
|
|
120
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
121
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
120
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-DcmZK4IP.js";
|
|
121
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-B_vCWO9r.js";
|
|
122
122
|
|
|
123
123
|
//#region src/cli/models-cli.ts
|
|
124
124
|
function runModelsCommand(action) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Gr as resolveImplicitProviders, Hr as normalizeProviders, Ur as resolveImplicitBedrockProvider, Wr as resolveImplicitCopilotProvider, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
1
|
+
import { Gr as resolveImplicitProviders, Hr as normalizeProviders, Ur as resolveImplicitBedrockProvider, Wr as resolveImplicitCopilotProvider, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
2
2
|
import { u as isRecord } from "./utils-cwpAMi-t.js";
|
|
3
3
|
import { t as applyConfigEnvVars } from "./env-vars-mSSOl7Rv.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/models-config.ts
|
|
8
8
|
const DEFAULT_MODE = "merge";
|
|
@@ -61,7 +61,7 @@ function mergeProviders(params) {
|
|
|
61
61
|
}
|
|
62
62
|
async function readJson(pathname) {
|
|
63
63
|
try {
|
|
64
|
-
const raw = await
|
|
64
|
+
const raw = await fs.readFile(pathname, "utf8");
|
|
65
65
|
return JSON.parse(raw);
|
|
66
66
|
} catch {
|
|
67
67
|
return null;
|
|
@@ -121,7 +121,7 @@ async function resolveProvidersForMode(params) {
|
|
|
121
121
|
}
|
|
122
122
|
async function readRawFile(pathname) {
|
|
123
123
|
try {
|
|
124
|
-
return await
|
|
124
|
+
return await fs.readFile(pathname, "utf8");
|
|
125
125
|
} catch {
|
|
126
126
|
return "";
|
|
127
127
|
}
|
|
@@ -153,11 +153,11 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
|
|
|
153
153
|
agentDir,
|
|
154
154
|
wrote: false
|
|
155
155
|
};
|
|
156
|
-
await
|
|
156
|
+
await fs.mkdir(agentDir, {
|
|
157
157
|
recursive: true,
|
|
158
158
|
mode: 448
|
|
159
159
|
});
|
|
160
|
-
await
|
|
160
|
+
await fs.writeFile(targetPath, next, { mode: 384 });
|
|
161
161
|
return {
|
|
162
162
|
agentDir,
|
|
163
163
|
wrote: true
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dt as normalizeIpAddress, Tt as isPrivateOrLoopbackIpAddress, bt as isIpInCidr, vt as isCanonicalDottedDecimalIPv4, wt as isLoopbackIpAddress } from "./auth-profiles-
|
|
2
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
1
|
+
import { Dt as normalizeIpAddress, Tt as isPrivateOrLoopbackIpAddress, bt as isIpInCidr, vt as isCanonicalDottedDecimalIPv4, wt as isLoopbackIpAddress } from "./auth-profiles-CtYlKXxI.js";
|
|
2
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Bdvg29Ll.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import { Buffer } from "node:buffer";
|
|
5
5
|
import net from "node:net";
|
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Cfn2Pryx.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { en as analyzeArgvCommand, in as resolvePlannedSegmentArgv, ln as resolveCommandResolutionFromArgv, lt as secretRefKey, un as resolveExecutableFromPathEnv, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { en as analyzeArgvCommand, in as resolvePlannedSegmentArgv, ln as resolveCommandResolutionFromArgv, lt as secretRefKey, un as resolveExecutableFromPathEnv, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-C5bklqr1.js";
|
|
8
8
|
import "./utils-cwpAMi-t.js";
|
|
9
|
-
import { s as sameFileIdentity } from "./openclaw-root-
|
|
9
|
+
import { s as sameFileIdentity } from "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import { i as logWarn } from "./logger-DB-PHqB2.js";
|
|
11
11
|
import "./exec-B45rafWZ.js";
|
|
12
12
|
import { F as resolveSecretInputRef, N as normalizeSecretInputString } from "./registry-BrR1Dq5T.js";
|
|
@@ -14,52 +14,52 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-DjbHJw7g.js";
|
|
18
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CXgeX9no.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-CuJjdF_0.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-BqLxmdBY.js";
|
|
23
23
|
import "./pairing-token-BXrId5bQ.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-DFijUFfS.js";
|
|
25
|
+
import "./tailnet-Bdvg29Ll.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-xp4bBUMy.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-WJSAG5_7.js";
|
|
28
|
+
import "./chrome-m5f8q2YK.js";
|
|
29
29
|
import "./tailscale-D4zNU-0Q.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-CgV_wGar.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-DAejIBKi.js";
|
|
32
|
+
import "./paths-BaZIBy3U.js";
|
|
33
33
|
import "./redact-DwuqxSL3.js";
|
|
34
34
|
import "./errors-CIvF1JsC.js";
|
|
35
|
-
import "./fs-safe-
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-CYrszQI6.js";
|
|
36
|
+
import "./proxy-env-BEfRNPmW.js";
|
|
37
|
+
import "./store-OqcrqyHY.js";
|
|
38
|
+
import "./ports-BpZiRmiG.js";
|
|
39
39
|
import "./trash-Dq9t9uID.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CGQJSJfD.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-nkIQWrRj.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-BXpO0clf.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-B1auaqvg.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-C8Mfdyag.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-C0IxrwRk.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-BVDZVrXu.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-CMlnk7BV.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-CXgXiZuy.js";
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-CyjpUUrm.js";
|
|
50
50
|
import "./runtime-guard-DFO22ThU.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-CvSjUuUT.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-T5lT7h-M.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-BinqEyma.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-DPrvbOr-.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-CboE2EQm.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D80C29Tj.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-BeDB4avc.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fs$1 from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fs$1.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fs$1.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fs$1.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-BqLxmdBY.js";
|
|
2
2
|
import { i as NODE_SYSTEM_RUN_COMMANDS, r as NODE_SYSTEM_NOTIFY_COMMAND, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D80C29Tj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-C8Mfdyag.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-T5lT7h-M.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-d3aR1MYC.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-Cfn2Pryx.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { pt as parseDurationMs, z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { pt as parseDurationMs, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-C5bklqr1.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./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 "./registry-BrR1Dq5T.js";
|
|
@@ -13,22 +13,22 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-DdJhsIqk.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-DjbHJw7g.js";
|
|
17
17
|
import "./message-channel-CXgeX9no.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-BqLxmdBY.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-BHrnZxI1.js";
|
|
20
20
|
import "./pairing-token-BXrId5bQ.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-DFijUFfS.js";
|
|
22
|
+
import "./tailnet-Bdvg29Ll.js";
|
|
23
23
|
import "./redact-DwuqxSL3.js";
|
|
24
24
|
import "./errors-CIvF1JsC.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-BEfRNPmW.js";
|
|
26
|
+
import "./exec-approvals-allowlist-CGQJSJfD.js";
|
|
27
|
+
import "./fetch-guard-CS_3jTMA.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-Czf5fUjn.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-BXpO0clf.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-DWVpmvMz.js";
|
|
31
|
+
import "./system-run-command-B1auaqvg.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-DO_ibeH6.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-DUdeaMqF.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-BVDZVrXu.js";
|
|
@@ -36,8 +36,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-BKqG4ZT-.js";
|
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-CMlnk7BV.js";
|
|
37
37
|
import "./progress-BCOseYmX.js";
|
|
38
38
|
import { t as renderTable } from "./table-BR-agoRi.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-C9k7pLBW.js";
|
|
40
|
+
import fs from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fs.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-CLEQe4bk.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-lcjXF83D.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-BEfRNPmW.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CS_3jTMA.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-B1auaqvg.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$2 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$2.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$2.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$2.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|