@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
|
@@ -2,11 +2,11 @@ import "./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 { z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
6
|
+
import "./agent-scope-C5bklqr1.js";
|
|
7
7
|
import { l as normalizeMainKey, p as scopedHeartbeatWakeOptions } from "./session-key-k6urs9r-.js";
|
|
8
8
|
import "./utils-cwpAMi-t.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import "./logger-DB-PHqB2.js";
|
|
11
11
|
import "./exec-B45rafWZ.js";
|
|
12
12
|
import "./registry-BrR1Dq5T.js";
|
|
@@ -14,104 +14,104 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
19
|
-
import "./model-
|
|
20
|
-
import "./pi-model-discovery-
|
|
21
|
-
import "./diagnostic-
|
|
17
|
+
import "./manifest-registry-DjbHJw7g.js";
|
|
18
|
+
import "./dock-BaM5oTqE.js";
|
|
19
|
+
import "./model-BLdajRK2.js";
|
|
20
|
+
import "./pi-model-discovery-IzndsQh-.js";
|
|
21
|
+
import "./diagnostic-3zN7XEY1.js";
|
|
22
22
|
import "./frontmatter-D2o8_Jfu.js";
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./path-alias-guards-
|
|
23
|
+
import "./skills-Dde3dh7M.js";
|
|
24
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
25
25
|
import "./message-channel-CXgeX9no.js";
|
|
26
|
-
import { d as updateSessionStore } from "./sessions-
|
|
27
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./accounts-
|
|
26
|
+
import { d as updateSessionStore } from "./sessions-D4pBAOV-.js";
|
|
27
|
+
import { r as normalizeChannelId } from "./plugins-B4AetCpQ.js";
|
|
28
|
+
import "./accounts-CucAhPu5.js";
|
|
29
|
+
import "./accounts-DarjcXFz.js";
|
|
30
30
|
import "./logging-CcxUDNcI.js";
|
|
31
|
-
import "./accounts-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./send-
|
|
34
|
-
import { Et as resolveOutboundTarget, L as createOutboundSendDeps, N as agentCommandFromIngress, Un as enqueueSystemEvent, gn as buildOutboundSessionContext, qn as requestHeartbeatNow } from "./subagent-registry-
|
|
31
|
+
import "./accounts-DjUjM_0M.js";
|
|
32
|
+
import "./send-BhJJuiPi.js";
|
|
33
|
+
import "./send-DDvvsvcJ.js";
|
|
34
|
+
import { Et as resolveOutboundTarget, L as createOutboundSendDeps, N as agentCommandFromIngress, Un as enqueueSystemEvent, gn as buildOutboundSessionContext, qn as requestHeartbeatNow } from "./subagent-registry-CqQCPU35.js";
|
|
35
35
|
import "./paths-DvFmz0MB.js";
|
|
36
36
|
import "./chat-envelope-D3RSz140.js";
|
|
37
|
-
import "./client-
|
|
38
|
-
import "./call-
|
|
37
|
+
import "./client-BqLxmdBY.js";
|
|
38
|
+
import "./call-BHrnZxI1.js";
|
|
39
39
|
import "./pairing-token-BXrId5bQ.js";
|
|
40
|
-
import "./net-
|
|
41
|
-
import "./tailnet-
|
|
40
|
+
import "./net-DFijUFfS.js";
|
|
41
|
+
import "./tailnet-Bdvg29Ll.js";
|
|
42
42
|
import "./tokens-BaNa8Czl.js";
|
|
43
|
-
import "./with-timeout-
|
|
44
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
45
|
-
import "./image-ops-
|
|
46
|
-
import "./send-
|
|
47
|
-
import "./pi-embedded-helpers-
|
|
48
|
-
import "./sandbox-
|
|
43
|
+
import "./with-timeout-xp4bBUMy.js";
|
|
44
|
+
import { t as deliverOutboundPayloads } from "./deliver-HkPDAwY2.js";
|
|
45
|
+
import "./image-ops-WJSAG5_7.js";
|
|
46
|
+
import "./send-B1C9OCt2.js";
|
|
47
|
+
import "./pi-embedded-helpers-CJZP0u_Y.js";
|
|
48
|
+
import "./sandbox-CgTcwizP.js";
|
|
49
49
|
import "./tool-catalog-C04U7H3F.js";
|
|
50
|
-
import "./chrome-
|
|
50
|
+
import "./chrome-m5f8q2YK.js";
|
|
51
51
|
import "./tailscale-D4zNU-0Q.js";
|
|
52
|
-
import "./auth-
|
|
53
|
-
import "./server-context-
|
|
54
|
-
import "./paths-
|
|
52
|
+
import "./auth-CgV_wGar.js";
|
|
53
|
+
import "./server-context-DAejIBKi.js";
|
|
54
|
+
import "./paths-BaZIBy3U.js";
|
|
55
55
|
import "./redact-DwuqxSL3.js";
|
|
56
56
|
import "./errors-CIvF1JsC.js";
|
|
57
|
-
import "./fs-safe-
|
|
58
|
-
import "./proxy-env-
|
|
59
|
-
import "./store-
|
|
60
|
-
import "./ports-
|
|
57
|
+
import "./fs-safe-CYrszQI6.js";
|
|
58
|
+
import "./proxy-env-BEfRNPmW.js";
|
|
59
|
+
import "./store-OqcrqyHY.js";
|
|
60
|
+
import "./ports-BpZiRmiG.js";
|
|
61
61
|
import "./trash-Dq9t9uID.js";
|
|
62
|
-
import "./server-middleware-
|
|
63
|
-
import "./tool-images-
|
|
62
|
+
import "./server-middleware-B8_ZaIoM.js";
|
|
63
|
+
import "./tool-images-J7V8AfTu.js";
|
|
64
64
|
import "./thinking-CrcT589P.js";
|
|
65
|
-
import "./models-config-
|
|
66
|
-
import "./exec-approvals-allowlist-
|
|
67
|
-
import "./exec-safe-bin-runtime-policy-
|
|
68
|
-
import "./model-catalog-
|
|
69
|
-
import "./fetch-
|
|
70
|
-
import "./audio-transcription-runner-
|
|
71
|
-
import "./fetch-guard-
|
|
72
|
-
import "./image-
|
|
65
|
+
import "./models-config-VlzOga1W.js";
|
|
66
|
+
import "./exec-approvals-allowlist-CGQJSJfD.js";
|
|
67
|
+
import "./exec-safe-bin-runtime-policy-nkIQWrRj.js";
|
|
68
|
+
import "./model-catalog-DorZGOmy.js";
|
|
69
|
+
import "./fetch-qkXypRi6.js";
|
|
70
|
+
import "./audio-transcription-runner-C1T1UDgG.js";
|
|
71
|
+
import "./fetch-guard-CS_3jTMA.js";
|
|
72
|
+
import "./image-ktIANJRi.js";
|
|
73
73
|
import "./tool-display-DJA6wQza.js";
|
|
74
|
-
import "./api-key-rotation-
|
|
74
|
+
import "./api-key-rotation-DUAhkuoF.js";
|
|
75
75
|
import "./proxy-fetch-BSCpx7Yz.js";
|
|
76
|
-
import "./ir-
|
|
76
|
+
import "./ir-xdB7409t.js";
|
|
77
77
|
import "./render-CCLsW6Lz.js";
|
|
78
|
-
import "./target-errors-
|
|
79
|
-
import "./commands-
|
|
80
|
-
import "./commands-registry-
|
|
78
|
+
import "./target-errors-D0aWoxbs.js";
|
|
79
|
+
import "./commands-CP-eujrx.js";
|
|
80
|
+
import "./commands-registry-BxWE_gts.js";
|
|
81
81
|
import "./fetch-Cep8cXb2.js";
|
|
82
|
-
import "./pairing-store-
|
|
82
|
+
import "./pairing-store-CrEzWjmd.js";
|
|
83
83
|
import "./exec-approvals-BXpO0clf.js";
|
|
84
|
-
import "./nodes-screen-
|
|
85
|
-
import "./system-run-command-
|
|
86
|
-
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
84
|
+
import "./nodes-screen-DWVpmvMz.js";
|
|
85
|
+
import "./system-run-command-B1auaqvg.js";
|
|
86
|
+
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-CDs6jjz-.js";
|
|
87
87
|
import "./session-cost-usage-TIBv8Nm4.js";
|
|
88
|
-
import "./skill-commands-
|
|
89
|
-
import "./workspace-dirs-
|
|
90
|
-
import "./channel-activity-
|
|
91
|
-
import "./tables-
|
|
92
|
-
import "./server-lifecycle-
|
|
88
|
+
import "./skill-commands-DDRb6be1.js";
|
|
89
|
+
import "./workspace-dirs-BY9k_sye.js";
|
|
90
|
+
import "./channel-activity-CudRDPXk.js";
|
|
91
|
+
import "./tables-BSWzRw5b.js";
|
|
92
|
+
import "./server-lifecycle-C0IxrwRk.js";
|
|
93
93
|
import "./stagger-C4U8O7GM.js";
|
|
94
|
-
import "./channel-selection-
|
|
95
|
-
import "./plugin-auto-enable-
|
|
96
|
-
import "./send-
|
|
97
|
-
import "./outbound-attachment-
|
|
94
|
+
import "./channel-selection-D2KncGab.js";
|
|
95
|
+
import "./plugin-auto-enable-BJfAN-kO.js";
|
|
96
|
+
import "./send-BCdpg1w2.js";
|
|
97
|
+
import "./outbound-attachment-BewsAqvJ.js";
|
|
98
98
|
import "./delivery-queue-Bl-IGZt-.js";
|
|
99
|
-
import "./send-
|
|
100
|
-
import "./pi-tools.policy-
|
|
99
|
+
import "./send-CkFo9xha.js";
|
|
100
|
+
import "./pi-tools.policy-B72vqcZC.js";
|
|
101
101
|
import "./proxy-Dgwoliym.js";
|
|
102
|
-
import "./runtime-config-collectors-
|
|
103
|
-
import "./command-secret-targets-
|
|
104
|
-
import "./onboard-helpers-
|
|
102
|
+
import "./runtime-config-collectors-D0I8Qs4G.js";
|
|
103
|
+
import "./command-secret-targets-_FGz0zdz.js";
|
|
104
|
+
import "./onboard-helpers-CPO08jBg.js";
|
|
105
105
|
import "./prompt-style-BfCTyCoH.js";
|
|
106
|
-
import "./pairing-labels-
|
|
107
|
-
import "./memory-cli-
|
|
108
|
-
import "./manager-
|
|
109
|
-
import "./query-expansion-
|
|
106
|
+
import "./pairing-labels-BU1EH5qm.js";
|
|
107
|
+
import "./memory-cli-B4tlY2Jz.js";
|
|
108
|
+
import "./manager-DstlJwRR.js";
|
|
109
|
+
import "./query-expansion-DfWHFCTw.js";
|
|
110
110
|
import "./links-BVDZVrXu.js";
|
|
111
111
|
import "./cli-utils-BKqG4ZT-.js";
|
|
112
112
|
import "./help-format-CMlnk7BV.js";
|
|
113
113
|
import "./progress-BCOseYmX.js";
|
|
114
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
114
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Duv_LH_E.js";
|
|
115
115
|
import { randomUUID } from "node:crypto";
|
|
116
116
|
|
|
117
117
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as resolveGatewayServiceDescription, l as resolveGatewayLaunchAgentLabel, m as resolveLegacyGatewayLaunchAgentLabels, p as resolveGatewayWindowsTaskName, t as GATEWAY_LAUNCH_AGENT_LABEL } from "./constants-C8Mfdyag.js";
|
|
2
|
-
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-
|
|
2
|
+
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-CvSjUuUT.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const LAUNCH_AGENT_THROTTLE_INTERVAL_SECONDS = 1;
|
|
@@ -16,7 +16,7 @@ const renderEnvDict = (env) => {
|
|
|
16
16
|
};
|
|
17
17
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
18
18
|
try {
|
|
19
|
-
const plist = await
|
|
19
|
+
const plist = await fs.readFile(plistPath, "utf8");
|
|
20
20
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
21
21
|
if (!programMatch) return null;
|
|
22
22
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -130,7 +130,7 @@ async function isLaunchAgentListed(args) {
|
|
|
130
130
|
async function launchAgentPlistExists(env) {
|
|
131
131
|
try {
|
|
132
132
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
133
|
-
await
|
|
133
|
+
await fs.access(plistPath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -190,7 +190,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
190
190
|
]);
|
|
191
191
|
await execLaunchctl(["unload", plistPath]);
|
|
192
192
|
try {
|
|
193
|
-
await
|
|
193
|
+
await fs.access(plistPath);
|
|
194
194
|
} catch {
|
|
195
195
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
196
196
|
return;
|
|
@@ -199,8 +199,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
199
199
|
const trashDir = path.join(home, ".Trash");
|
|
200
200
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
201
201
|
try {
|
|
202
|
-
await
|
|
203
|
-
await
|
|
202
|
+
await fs.mkdir(trashDir, { recursive: true });
|
|
203
|
+
await fs.rename(plistPath, dest);
|
|
204
204
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
205
205
|
} catch {
|
|
206
206
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -244,7 +244,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
244
244
|
}
|
|
245
245
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
246
246
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
247
|
-
await
|
|
247
|
+
await fs.mkdir(logDir, { recursive: true });
|
|
248
248
|
const domain = resolveGuiDomain();
|
|
249
249
|
const label = resolveLaunchAgentLabel({ env });
|
|
250
250
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.OPENCLAW_PROFILE)) {
|
|
@@ -256,11 +256,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
256
256
|
]);
|
|
257
257
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
258
258
|
try {
|
|
259
|
-
await
|
|
259
|
+
await fs.unlink(legacyPlistPath);
|
|
260
260
|
} catch {}
|
|
261
261
|
}
|
|
262
262
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
263
|
-
await
|
|
263
|
+
await fs.mkdir(path.dirname(plistPath), { recursive: true });
|
|
264
264
|
const plist = buildLaunchAgentPlist({
|
|
265
265
|
label,
|
|
266
266
|
comment: resolveGatewayServiceDescription({
|
|
@@ -274,7 +274,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
274
274
|
stderrPath,
|
|
275
275
|
environment
|
|
276
276
|
});
|
|
277
|
-
await
|
|
277
|
+
await fs.writeFile(plistPath, plist, "utf8");
|
|
278
278
|
await execLaunchctl([
|
|
279
279
|
"bootout",
|
|
280
280
|
domain,
|
|
@@ -454,7 +454,7 @@ function resolveTaskUser(env) {
|
|
|
454
454
|
async function readScheduledTaskCommand(env) {
|
|
455
455
|
const scriptPath = resolveTaskScriptPath(env);
|
|
456
456
|
try {
|
|
457
|
-
const content = await
|
|
457
|
+
const content = await fs.readFile(scriptPath, "utf8");
|
|
458
458
|
let workingDirectory = "";
|
|
459
459
|
let commandLine = "";
|
|
460
460
|
const environment = {};
|
|
@@ -544,7 +544,7 @@ async function assertSchtasksAvailable() {
|
|
|
544
544
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
545
545
|
await assertSchtasksAvailable();
|
|
546
546
|
const scriptPath = resolveTaskScriptPath(env);
|
|
547
|
-
await
|
|
547
|
+
await fs.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
548
548
|
const script = buildTaskScript({
|
|
549
549
|
description: resolveGatewayServiceDescription({
|
|
550
550
|
env,
|
|
@@ -555,7 +555,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
555
555
|
workingDirectory,
|
|
556
556
|
environment
|
|
557
557
|
});
|
|
558
|
-
await
|
|
558
|
+
await fs.writeFile(scriptPath, script, "utf8");
|
|
559
559
|
const taskName = resolveTaskName(env);
|
|
560
560
|
const baseArgs = [
|
|
561
561
|
"/Create",
|
|
@@ -607,7 +607,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
607
607
|
]);
|
|
608
608
|
const scriptPath = resolveTaskScriptPath(env);
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fs.unlink(scriptPath);
|
|
611
611
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
612
612
|
} catch {
|
|
613
613
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -2,7 +2,7 @@ import { l as success, m as getChildLogger, t as danger, v as toPinoLikeLogger }
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
3
3
|
import { s as ensureDir, v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
4
4
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
5
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
5
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-CucAhPu5.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { U as FLAG_TERMINATOR, W as consumeRootOptionToken } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { At as AVATAR_MAX_BYTES, Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, It as isWorkspaceRelativeAvatarPath, Li as DEFAULT_PROVIDER, Mt as isAvatarHttpUrl, Pt as isPathWithinRoot, Rt as resolveAvatarMime, _r as inferUniqueProviderFromConfiguredModels, jt as isAvatarDataUrl, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { At as AVATAR_MAX_BYTES, Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, It as isWorkspaceRelativeAvatarPath, Li as DEFAULT_PROVIDER, Mt as isAvatarHttpUrl, Pt as isPathWithinRoot, Rt as resolveAvatarMime, _r as inferUniqueProviderFromConfiguredModels, jt as isAvatarDataUrl, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
5
5
|
import { C as isCronRunSessionKey, E as parseAgentSessionKey, c as normalizeAgentId, l as normalizeMainKey } from "./session-key-k6urs9r-.js";
|
|
6
|
-
import { a as openBoundaryFileSync } from "./openclaw-root-
|
|
7
|
-
import { $ as resolveAgentMainSessionKey, C as normalizeSessionDeliveryFields, Q as canonicalizeMainSessionAlias, X as resolveFreshSessionTotalTokens, ct as buildGroupDisplayName, j as readSessionTitleFieldsFromTranscript, o as loadSessionStore, tt as resolveMainSessionKey } from "./sessions-
|
|
6
|
+
import { a as openBoundaryFileSync } from "./openclaw-root-BFfBQ6FD.js";
|
|
7
|
+
import { $ as resolveAgentMainSessionKey, C as normalizeSessionDeliveryFields, Q as canonicalizeMainSessionAlias, X as resolveFreshSessionTotalTokens, ct as buildGroupDisplayName, j as readSessionTitleFieldsFromTranscript, o as loadSessionStore, tt as resolveMainSessionKey } from "./sessions-D4pBAOV-.js";
|
|
8
8
|
import { c as resolveStorePath } from "./paths-DvFmz0MB.js";
|
|
9
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
9
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-VlzOga1W.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -114,7 +114,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
114
114
|
await ensureOpenClawModelsJson(cfg);
|
|
115
115
|
} catch {}
|
|
116
116
|
try {
|
|
117
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
117
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-IzndsQh-.js").then((n) => n.r);
|
|
118
118
|
const agentDir = resolveOpenClawAgentDir();
|
|
119
119
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
120
120
|
applyDiscoveredContextWindows({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
3
|
-
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
4
4
|
import { c as normalizeAgentId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, v as normalizeOptionalAccountId } from "./session-key-k6urs9r-.js";
|
|
5
5
|
import { p as normalizeE164 } from "./utils-cwpAMi-t.js";
|
|
6
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
6
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-BaM5oTqE.js";
|
|
7
7
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-CXgeX9no.js";
|
|
8
|
-
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
8
|
+
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-B4AetCpQ.js";
|
|
9
9
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-DvFmz0MB.js";
|
|
10
10
|
import { r as hasInterSessionUserProvenance } from "./input-provenance-C8z9KgIz.js";
|
|
11
11
|
import { n as stripMessageIdHints, o as extractToolCallNames, r as stripInboundMetadata, s as hasToolCall, t as stripEnvelope } from "./chat-envelope-D3RSz140.js";
|
|
12
|
-
import { i as writeTextAtomic } from "./json-files-
|
|
12
|
+
import { i as writeTextAtomic } from "./json-files-CuJjdF_0.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
20
20
|
|
|
@@ -519,7 +519,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
519
519
|
await held.handle.close();
|
|
520
520
|
} catch {}
|
|
521
521
|
try {
|
|
522
|
-
await
|
|
522
|
+
await fs$1.rm(held.lockPath, { force: true });
|
|
523
523
|
} catch {}
|
|
524
524
|
})();
|
|
525
525
|
try {
|
|
@@ -598,7 +598,7 @@ function registerCleanupHandlers() {
|
|
|
598
598
|
}
|
|
599
599
|
async function readLockPayload(lockPath) {
|
|
600
600
|
try {
|
|
601
|
-
const raw = await
|
|
601
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
602
602
|
const parsed = JSON.parse(raw);
|
|
603
603
|
const payload = {};
|
|
604
604
|
if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
|
|
@@ -642,7 +642,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
|
|
|
642
642
|
if (!details.stale) return false;
|
|
643
643
|
if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
|
|
644
644
|
try {
|
|
645
|
-
const stat = await
|
|
645
|
+
const stat = await fs$1.stat(lockPath);
|
|
646
646
|
return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
|
|
647
647
|
} catch (error) {
|
|
648
648
|
return error?.code !== "ENOENT";
|
|
@@ -660,7 +660,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
660
660
|
const nowMs = params.nowMs ?? Date.now();
|
|
661
661
|
let entries = [];
|
|
662
662
|
try {
|
|
663
|
-
entries = await
|
|
663
|
+
entries = await fs$1.readdir(sessionsDir, { withFileTypes: true });
|
|
664
664
|
} catch (err) {
|
|
665
665
|
if (err.code === "ENOENT") return {
|
|
666
666
|
locks: [],
|
|
@@ -679,7 +679,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
679
679
|
removed: false
|
|
680
680
|
};
|
|
681
681
|
if (lockInfo.stale && removeStale) {
|
|
682
|
-
await
|
|
682
|
+
await fs$1.rm(lockPath, { force: true });
|
|
683
683
|
lockInfo.removed = true;
|
|
684
684
|
cleaned.push(lockInfo);
|
|
685
685
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -698,10 +698,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
698
698
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
699
699
|
const sessionFile = path.resolve(params.sessionFile);
|
|
700
700
|
const sessionDir = path.dirname(sessionFile);
|
|
701
|
-
await
|
|
701
|
+
await fs$1.mkdir(sessionDir, { recursive: true });
|
|
702
702
|
let normalizedDir = sessionDir;
|
|
703
703
|
try {
|
|
704
|
-
normalizedDir = await
|
|
704
|
+
normalizedDir = await fs$1.realpath(sessionDir);
|
|
705
705
|
} catch {}
|
|
706
706
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
707
707
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -719,7 +719,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
719
719
|
attempt += 1;
|
|
720
720
|
let handle = null;
|
|
721
721
|
try {
|
|
722
|
-
handle = await
|
|
722
|
+
handle = await fs$1.open(lockPath, "wx");
|
|
723
723
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
724
724
|
const starttime = getProcessStartTime(process.pid);
|
|
725
725
|
const lockPayload = {
|
|
@@ -745,7 +745,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
745
745
|
await handle.close();
|
|
746
746
|
} catch {}
|
|
747
747
|
try {
|
|
748
|
-
await
|
|
748
|
+
await fs$1.rm(lockPath, { force: true });
|
|
749
749
|
} catch {}
|
|
750
750
|
}
|
|
751
751
|
if (err.code !== "EEXIST") throw err;
|
|
@@ -760,7 +760,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
760
760
|
stale: true,
|
|
761
761
|
staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
|
|
762
762
|
} : inspected, staleMs, nowMs)) {
|
|
763
|
-
await
|
|
763
|
+
await fs$1.rm(lockPath, { force: true });
|
|
764
764
|
continue;
|
|
765
765
|
}
|
|
766
766
|
const delay = Math.min(1e3, 50 * attempt);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { f as isRich, n as info, p as theme } from "./globals-d3aR1MYC.js";
|
|
3
|
-
import { Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, Li as DEFAULT_PROVIDER, z as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, r as listAgentIds } from "./agent-scope-
|
|
3
|
+
import { Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, Li as DEFAULT_PROVIDER, z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, r as listAgentIds } from "./agent-scope-C5bklqr1.js";
|
|
5
5
|
import { E as parseAgentSessionKey, c as normalizeAgentId } from "./session-key-k6urs9r-.js";
|
|
6
|
-
import { X as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-
|
|
6
|
+
import { X as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-D4pBAOV-.js";
|
|
7
7
|
import { c as resolveStorePath } from "./paths-DvFmz0MB.js";
|
|
8
8
|
import { n as formatTimeAgo } from "./format-relative-Czf5fUjn.js";
|
|
9
|
-
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-
|
|
9
|
+
import { l as resolveSessionModelRef, n as classifySessionKey, u as lookupContextTokens } from "./session-utils-CDs6jjz-.js";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/session-store-targets.ts
|
|
12
12
|
function dedupeTargetsByStorePath(targets) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as defaultRuntime } from "./subsystem-Cfn2Pryx.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
3
3
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-C8Mfdyag.js";
|
|
4
|
-
import { t as resolveGatewayService } from "./service-
|
|
4
|
+
import { t as resolveGatewayService } from "./service-T5lT7h-M.js";
|
|
5
5
|
|
|
6
6
|
//#region src/cli/gateway-cli/shared.ts
|
|
7
7
|
const toOptionString = (value) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as writeConfigFile, Li as DEFAULT_PROVIDER, V as readConfigFileSnapshot, kr as resolveModelRefFromString, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
1
|
+
import { G as writeConfigFile, Li as DEFAULT_PROVIDER, V as readConfigFileSnapshot, kr as resolveModelRefFromString, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-CtYlKXxI.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
3
|
-
import { P as toAgentModelListLike, r as listAgentIds } from "./agent-scope-
|
|
3
|
+
import { P as toAgentModelListLike, r as listAgentIds } from "./agent-scope-C5bklqr1.js";
|
|
4
4
|
import { c as normalizeAgentId } from "./session-key-k6urs9r-.js";
|
|
5
|
-
import { n as formatConfigIssueLines } from "./issue-format-
|
|
5
|
+
import { n as formatConfigIssueLines } from "./issue-format-DaXc0Ssz.js";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/models/shared.ts
|
|
8
8
|
const ensureFlagCompatibility = (opts) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as logVerbose } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
3
|
-
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { l as resolveAgentSkillsFilter, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
4
4
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
5
|
-
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { i as loadWorkspaceSkillEntries, n as buildWorkspaceSkillCommandSpecs, s as resolvePluginSkillDirs } from "./skills-Dde3dh7M.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-CuJjdF_0.js";
|
|
7
7
|
import { a as resolvePairingPaths, i as pruneExpiredPending, n as verifyPairingToken, o as upsertPendingPairingRequest, r as rejectPendingPairingRequest, t as generatePairingToken } from "./pairing-token-BXrId5bQ.js";
|
|
8
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
9
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
8
|
+
import { i as listChatCommands } from "./commands-registry-BxWE_gts.js";
|
|
9
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-BY9k_sye.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isPathInside } from "./legacy-names-DswREgBV.js";
|
|
2
2
|
import { a as hasErrnoCode } from "./errors-CIvF1JsC.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/security/skill-scanner.ts
|
|
7
7
|
const SCANNABLE_EXTENSIONS = new Set([
|
|
@@ -195,7 +195,7 @@ async function walkDirWithLimit(dirPath, maxFiles) {
|
|
|
195
195
|
async function readDirEntriesWithCache(dirPath) {
|
|
196
196
|
let st = null;
|
|
197
197
|
try {
|
|
198
|
-
st = await
|
|
198
|
+
st = await fs.stat(dirPath);
|
|
199
199
|
} catch (err) {
|
|
200
200
|
if (hasErrnoCode(err, "ENOENT")) return [];
|
|
201
201
|
throw err;
|
|
@@ -203,7 +203,7 @@ async function readDirEntriesWithCache(dirPath) {
|
|
|
203
203
|
if (!st?.isDirectory()) return [];
|
|
204
204
|
const cached = DIR_ENTRY_CACHE.get(dirPath);
|
|
205
205
|
if (cached && cached.mtimeMs === st.mtimeMs) return cached.entries;
|
|
206
|
-
const dirents = await
|
|
206
|
+
const dirents = await fs.readdir(dirPath, { withFileTypes: true });
|
|
207
207
|
const entries = [];
|
|
208
208
|
for (const entry of dirents) if (entry.isDirectory()) entries.push({
|
|
209
209
|
name: entry.name,
|
|
@@ -230,7 +230,7 @@ async function resolveForcedFiles(params) {
|
|
|
230
230
|
if (seen.has(includePath)) continue;
|
|
231
231
|
let st = null;
|
|
232
232
|
try {
|
|
233
|
-
st = await
|
|
233
|
+
st = await fs.stat(includePath);
|
|
234
234
|
} catch (err) {
|
|
235
235
|
if (hasErrnoCode(err, "ENOENT")) continue;
|
|
236
236
|
throw err;
|
|
@@ -263,7 +263,7 @@ async function scanFileWithCache(params) {
|
|
|
263
263
|
const { filePath, maxFileBytes } = params;
|
|
264
264
|
let st = null;
|
|
265
265
|
try {
|
|
266
|
-
st = await
|
|
266
|
+
st = await fs.stat(filePath);
|
|
267
267
|
} catch (err) {
|
|
268
268
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
269
269
|
scanned: false,
|
|
@@ -300,7 +300,7 @@ async function scanFileWithCache(params) {
|
|
|
300
300
|
}
|
|
301
301
|
let source;
|
|
302
302
|
try {
|
|
303
|
-
source = await
|
|
303
|
+
source = await fs.readFile(filePath, "utf-8");
|
|
304
304
|
} catch (err) {
|
|
305
305
|
if (hasErrnoCode(err, "ENOENT")) return {
|
|
306
306
|
scanned: false,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-Cfn2Pryx.js";
|
|
3
3
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-cwpAMi-t.js";
|
|
4
|
-
import { _ as normalizeSkillFilter, n as resolveOpenClawPackageRootSync, p as isPathInside } from "./openclaw-root-
|
|
4
|
+
import { _ as normalizeSkillFilter, n as resolveOpenClawPackageRootSync, p as isPathInside } from "./openclaw-root-BFfBQ6FD.js";
|
|
5
5
|
import { M as normalizeResolvedSecretInputString } from "./registry-BrR1Dq5T.js";
|
|
6
6
|
import { n as isDangerousHostEnvVarName } from "./host-env-security-lcjXF83D.js";
|
|
7
7
|
import { a as isPathInsideWithRealpath } from "./legacy-names-DswREgBV.js";
|
|
8
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
8
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-DjbHJw7g.js";
|
|
9
9
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-D2o8_Jfu.js";
|
|
10
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
10
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-DbNvNQar.js";
|
|
11
11
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -2,11 +2,11 @@ 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 { z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { z as loadConfig } from "./auth-profiles-CtYlKXxI.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-C5bklqr1.js";
|
|
8
8
|
import { x as shortenHomePath } from "./utils-cwpAMi-t.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import "./logger-DB-PHqB2.js";
|
|
11
11
|
import "./exec-B45rafWZ.js";
|
|
12
12
|
import "./registry-BrR1Dq5T.js";
|
|
@@ -14,7 +14,7 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
17
|
+
import "./manifest-registry-DjbHJw7g.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-BVDZVrXu.js";
|
|
19
19
|
import { t as renderTable } from "./table-BR-agoRi.js";
|
|
20
20
|
|
|
@@ -234,7 +234,7 @@ function formatSkillsCheck(report, opts) {
|
|
|
234
234
|
async function loadSkillsStatusReport() {
|
|
235
235
|
const config = loadConfig();
|
|
236
236
|
const workspaceDir = resolveAgentWorkspaceDir(config, resolveDefaultAgentId(config));
|
|
237
|
-
const { buildWorkspaceSkillStatus } = await import("./skills-status-
|
|
237
|
+
const { buildWorkspaceSkillStatus } = await import("./skills-status-Cl0jR0kA.js").then((n) => n.n);
|
|
238
238
|
return buildWorkspaceSkillStatus(workspaceDir, { config });
|
|
239
239
|
}
|
|
240
240
|
async function runSkillsAction(render) {
|