wednesdayai 0.5.1-dev.37 → 0.5.1-dev.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-cli-BCtWMJDr.js → acp-cli-DHAxJufY.js} +11 -11
- package/dist/{agent-scope-BXqrHhZ0.js → agent-scope-BZ0wFh-U.js} +21 -21
- package/dist/{agent-turn-enqueue-TStC2eAo.js → agent-turn-enqueue-DZ607FR0.js} +6 -6
- package/dist/{agent-turn-execute-B8YL98Ei.js → agent-turn-execute-CGTvDxUE.js} +152 -152
- package/dist/{agent-turn-recovery-adapter-DMCiX5id.js → agent-turn-recovery-adapter-bACrcJAQ.js} +3 -3
- package/dist/{agent-turn-runner-DKwd_tAc.js → agent-turn-runner-C3LuaN7w.js} +2 -2
- package/dist/{agent-turn-runner-Dqbqrgbg.js → agent-turn-runner-qSzYP-xO.js} +4 -4
- package/dist/{agents-DecMea6v.js → agents-C8johSLq.js} +21 -21
- package/dist/{agents.config-C9y5L4K8.js → agents.config-BjA0noNV.js} +3 -3
- package/dist/{api-key-rotation-muerimbF.js → api-key-rotation-D4lnO3Ok.js} +1 -1
- package/dist/{audio-preflight-BV83ctbI.js → audio-preflight-Djb8Ia-c.js} +3 -3
- package/dist/{audio-preflight-CP5CtdsH.js → audio-preflight-oL1-kPAm.js} +37 -37
- package/dist/{audio-transcription-runner-Bs4pG29e.js → audio-transcription-runner-BXSN8eBn.js} +27 -27
- package/dist/{audio-transcription-runner-DRUTJgZh.js → audio-transcription-runner-DhoPP3LM.js} +1 -1
- package/dist/{audit-CEciibi6.js → audit-CKbyr9j7.js} +31 -31
- package/dist/{auth-C4aicgu0.js → auth--kj7eWiw.js} +4 -4
- package/dist/{auth-choice-CzqQjA2v.js → auth-choice-BOcw0TMX.js} +15 -15
- package/dist/{auth-choice-CAZCvJj_.js → auth-choice-RfKE6K30.js} +13 -13
- package/dist/{auth-choice.apply-helpers-DWNqsu7M.js → auth-choice.apply-helpers-NHz-APrm.js} +1 -1
- package/dist/{auth-token-DEhILWtz.js → auth-token-BdrfJ6LM.js} +2 -2
- package/dist/{banner-CI86ZCI2.js → banner-BF4fYjB7.js} +4 -4
- package/dist/{bonjour-discovery-24oEkWjB.js → bonjour-discovery-BthO3c3w.js} +3 -3
- package/dist/{browser-cli-DhjLTPwH.js → browser-cli-sLIHnZHe.js} +19 -19
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-journal/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-C4ArH9Si.js → call-BY-wbSIJ.js} +12 -12
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-CndjAqFL.js → channel-account-context-DIx7V4k-.js} +7 -7
- package/dist/{channel-options-OJHp5c5p.js → channel-options-B10KsMrg.js} +3 -3
- package/dist/{channel-selection-JkSKVHJp.js → channel-selection-BxBw-nya.js} +1 -1
- package/dist/{channels-cli-Z1jMieGO.js → channels-cli-C4-OqjW1.js} +119 -119
- package/dist/{channels-status-issues-KrOAESoD.js → channels-status-issues-DYdDrl6F.js} +1 -1
- package/dist/{chat-content-B2kNxQ3a.js → chat-content-Cp63XvqY.js} +3 -3
- package/dist/{chrome-CBtFbbNQ.js → chrome-CMvVElGc.js} +6 -6
- package/dist/{chrome-DgDNUC2A.js → chrome-DW9-DzcL.js} +8 -8
- package/dist/{chunk-TNziyyRO.js → chunk-DAmLsltN.js} +3 -3
- package/dist/{clack-prompter-BGz_-0Jy.js → clack-prompter-gj894fSZ.js} +5 -5
- package/dist/clawbot-cli-Uwda-gwl.js +31 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-9kY6bXto.js +165 -0
- package/dist/{client-x4GnolXm.js → client-DsaKKPz1.js} +4 -4
- package/dist/{client-profiles-DeaEz84_.js → client-profiles-HTQt5I_7.js} +4 -4
- package/dist/{clipboard-CpnmAh1M.js → clipboard-Dwm1nI9r.js} +1 -1
- package/dist/{command-queue-DqvFUE_T.js → command-queue-D7PleaNJ.js} +1 -1
- package/dist/{command-registry-DZhaDT6k.js → command-registry-mp4MxXzC.js} +14 -14
- package/dist/{command-secret-targets-CX4FWTx8.js → command-secret-targets-MpNVd6gM.js} +4 -4
- package/dist/{commands-DYSm3eNj.js → commands-BSuDoyqC.js} +1 -1
- package/dist/{commands-registry-BbHkcgn_.js → commands-registry-CWGturUV.js} +3 -3
- package/dist/{completion-cli-KeHhpylY.js → completion-cli-D1oQvlFE.js} +16 -16
- package/dist/{config-2hPOvE4Z.js → config-D--rwfpd.js} +31 -31
- package/dist/{config-cli-D-H6Kr9B.js → config-cli-BXmt8okw.js} +10 -10
- package/dist/{config-guard-BvNFubkG.js → config-guard-Cw6VZZIa.js} +4 -4
- package/dist/{config-validation-CoY1swln.js → config-validation-ak7uy8sQ.js} +4 -4
- package/dist/{configure-DvBl6V3D.js → configure-Jq_Nd0lw.js} +25 -25
- package/dist/{control-ui-assets-DvutqvBd.js → control-ui-assets-D7LC9ugV.js} +3 -3
- package/dist/{controller-Cph9HEXR.js → controller-C5VfLHxD.js} +1 -1
- package/dist/{credentials-DLluMUaA.js → credentials-D2RfV9B5.js} +1 -1
- package/dist/{cron-cli-Bx35RD7d.js → cron-cli-BgEowQB-.js} +14 -14
- package/dist/{daemon-cli-DlS7PDJU.js → daemon-cli-BVlct7Qh.js} +19 -19
- package/dist/{daemon-install-P8cLD1fo.js → daemon-install-BXgUCwNe.js} +10 -10
- package/dist/{daemon-install-helpers-YbryCWUm.js → daemon-install-helpers-DN9p53IN.js} +13 -13
- package/dist/{delete-agent-sessions-C60hkBQ-.js → delete-agent-sessions-B4HnloYv.js} +1 -1
- package/dist/{deliver-BoOCdGXY.js → deliver-CiY0WQtq.js} +1 -1
- package/dist/{deliver-gllA2ft3.js → deliver-CjuGs2ZT.js} +12 -12
- package/dist/{devices-cli-Dc_tu4bW.js → devices-cli-BCEiHurA.js} +13 -13
- package/dist/{diagnostic-C2zSaTPq.js → diagnostic-jFNdnXCb.js} +4 -4
- package/dist/{diagnostics-CSh5FcKM.js → diagnostics-CbXyRsTN.js} +5 -5
- package/dist/{directory-cli-CcMw7ktc.js → directory-cli-CEQEXtQ_.js} +11 -11
- package/dist/{dm-policy-shared-DyPD8y1v.js → dm-policy-shared-BHHuPFZr.js} +5 -5
- package/dist/{dns-cli-Cxw9US4K.js → dns-cli-CfEIvluV.js} +10 -10
- package/dist/{docs-cli-BnnuPnNf.js → docs-cli-BvqOi7vO.js} +9 -9
- package/dist/{doctor-completion-B4D14F1Y.js → doctor-completion-Cbb3ZrZO.js} +3 -3
- package/dist/{doctor-config-flow-CY4BZ2VP.js → doctor-config-flow-zfYUW8HP.js} +17 -17
- package/dist/{enable-PpktglSI.js → enable-B7CD1rL9.js} +2 -2
- package/dist/entry.js +4 -4
- package/dist/{exec-EGo-G7vR.js → exec-DWOKM6EC.js} +2 -2
- package/dist/{exec-approvals-CImDpHtY.js → exec-approvals-CavJfWPl.js} +2 -2
- package/dist/{exec-approvals-allowlist-B3_jgDyG.js → exec-approvals-allowlist-CfzuCK0Q.js} +1 -1
- package/dist/{exec-approvals-cli-C6AHbPh4.js → exec-approvals-cli-uvLKhEsP.js} +22 -22
- package/dist/{exec-safe-bin-runtime-policy-h4hE5cjd.js → exec-safe-bin-runtime-policy-CY75nr5s.js} +2 -2
- package/dist/{extension-relay-auth-D49uIEqs.js → extension-relay-auth-CEkGLele.js} +10 -10
- package/dist/{fetch-BZPOzq9L.js → fetch-CLk1nKmU.js} +5 -5
- package/dist/{fetch-guard-laNnWRKl.js → fetch-guard-TJQinE0a.js} +2 -2
- package/dist/{fs-safe-db4fkk2l.js → fs-safe-sWugzmbo.js} +25 -25
- package/dist/{gateway-cli-Y92yCSUC.js → gateway-cli-C4Xm8OKF.js} +197 -197
- package/dist/{gateway-rpc-DogQQ77j.js → gateway-rpc-CIkWW5n2.js} +3 -3
- package/dist/{globals-BRyHSrWD.js → globals-3lUHnZas.js} +7 -7
- package/dist/{gmail-setup-utils-CahF-fra.js → gmail-setup-utils-CBsUX2F0.js} +2 -2
- package/dist/{health-CKyXEs4C.js → health-CkjZqvKv.js} +11 -11
- package/dist/{health-format-81amZFDs.js → health-format-CCvWwiB3.js} +1 -1
- package/dist/{heartbeat-tick-SbqJkBFN.js → heartbeat-tick-BVllHRaT.js} +1 -1
- package/dist/{help-format-CUXi0c_1.js → help-format-BQ0UHPHt.js} +1 -1
- package/dist/{helpers-CmoGqLct.js → helpers-DpVn76ht.js} +1 -1
- package/dist/{hooks-cli-BQlL_eiX.js → hooks-cli-Ced8bfd_.js} +107 -107
- package/dist/{hooks-status-BcYtOqKY.js → hooks-status-CxaWMb-v.js} +2 -2
- package/dist/{image-ops-BFv9Aw5H.js → image-ops-C0np5f9V.js} +11 -11
- package/dist/{inspect-DmQmgYu2.js → inspect-GlutPeaP.js} +4 -4
- package/dist/{install-safe-path-BZ4b1O0D.js → install-safe-path-2eEPQsHT.js} +25 -25
- package/dist/{installs-D16nEuyM.js → installs-DSwIaqJH.js} +10 -10
- package/dist/{ipv4-DV6XbKGD.js → ipv4-BexgmRwg.js} +2 -2
- package/dist/{ir-BbGjFYnq.js → ir-BoNkouUO.js} +8 -8
- package/dist/{issue-format-OFCh_2sH.js → issue-format-DhAa1_iS.js} +1 -1
- package/dist/{jobs-Pj6_tyn5.js → jobs-D8gtzx-n.js} +3 -3
- package/dist/{json-files-G3m05NRY.js → json-files-DNNBEygD.js} +7 -7
- package/dist/{lifecycle-core-BI6xkw0D.js → lifecycle-core-BP96hEWA.js} +9 -9
- package/dist/{links-BRY-h8H0.js → links-CPIBVJ0k.js} +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{log-tail-DeaaUA7g.js → log-tail-DoAwmIXn.js} +7 -7
- package/dist/{logging-C7kf6mNZ.js → logging-CjgQOisq.js} +1 -1
- package/dist/{logs-cli-DQhMoYgT.js → logs-cli-CIeDTp3g.js} +18 -18
- package/dist/{manager-Be7W1lBp.js → manager-B5VtBnfA.js} +14 -14
- package/dist/{manager-C5AVBxrT.js → manager-vjvTALqw.js} +9 -9
- package/dist/{markdown-tables-i_PaXF56.js → markdown-tables-BwQlrMEW.js} +2 -2
- package/dist/{memory-cli-vUKqKvFg.js → memory-cli-DajAbkdp.js} +19 -19
- package/dist/{model-UbsJmYeh.js → model-A1TZLzNB.js} +2 -2
- package/dist/{model-catalog-D1B81cpq.js → model-catalog-BcJh6M8w.js} +4 -4
- package/dist/{model-picker-D7AGuTS7.js → model-picker-BYGP4JvH.js} +4 -4
- package/dist/{models-wwUL9ZYa.js → models-CaKTiIIq.js} +22 -22
- package/dist/{models-cli-DYk-Xwo5.js → models-cli-BA6zwth-.js} +107 -107
- package/dist/{models-config-CC5yFmpv.js → models-config-CBX2i56k.js} +7 -7
- package/dist/{node-cli-B7Zt1yCl.js → node-cli-BF1J4vkA.js} +43 -43
- package/dist/{node-command-policy-C-htkgT_.js → node-command-policy-S97zDTm2.js} +1 -1
- package/dist/{node-service-Ch4eBsUZ.js → node-service-Drxz78wf.js} +1 -1
- package/dist/{nodes-cli-CEm6ENzh.js → nodes-cli-BzNwotgj.js} +23 -23
- package/dist/{nodes-screen-DO6BNCQ6.js → nodes-screen-Brwiveoh.js} +8 -8
- package/dist/{note-Dq9MhE7Z.js → note-D-rFqUUL.js} +2 -2
- package/dist/{npm-pack-install-B__b0nDK.js → npm-pack-install-BwupN_XV.js} +23 -23
- package/dist/{npm-resolution-2lzpgd44.js → npm-resolution-DoQ0TbSm.js} +5 -5
- package/dist/{oauth-tls-preflight-CzOK4dkk.js → oauth-tls-preflight-CU1ceznS.js} +1 -1
- package/dist/{onboard-channels-CDVGqsGH.js → onboard-channels-aStIhqMG.js} +24 -24
- package/dist/{onboard-custom-BJe8lC0m.js → onboard-custom-CF-Qyb3Y.js} +4 -4
- package/dist/{onboard-helpers-ByS2aPrW.js → onboard-helpers-Bz91Pf6D.js} +13 -13
- package/dist/{onboard-hooks-ColglUdK.js → onboard-hooks-CP5ICg3d.js} +6 -6
- package/dist/{onboard-remote-CATwWYLS.js → onboard-remote-DkBLTgQh.js} +5 -5
- package/dist/{onboard-skills-CmLqdEyd.js → onboard-skills-BdbiUQFJ.js} +4 -4
- package/dist/{onboard-_LkcuZt4.js → onboard-uXr7A8A7.js} +11 -11
- package/dist/{onboarding-Z7sHNPIN.js → onboarding-CHVuwQW-.js} +18 -18
- package/dist/{onboarding.finalize-B2oQRJVj.js → onboarding.finalize-D4_usXNq.js} +115 -115
- package/dist/{onboarding.gateway-config-isEZPjpx.js → onboarding.gateway-config-DKqp9L2Q.js} +21 -21
- package/dist/{onboarding.secret-input--lcWBs-r.js → onboarding.secret-input-Bly8kI9z.js} +1 -1
- package/dist/{openai-model-default-BHLjGfhz.js → openai-model-default-hQ_Lz4xl.js} +2 -2
- package/dist/{openclaw-root-B6Tk0FH8.js → openclaw-root-CvJ5CJns.js} +2 -2
- package/dist/{operator-commands-WFKXbJHh.js → operator-commands-1PttwYpR.js} +6 -6
- package/dist/{outbound-attachment-BbJWA7EA.js → outbound-attachment-DK190u8V.js} +2 -2
- package/dist/{outbound-message-hooks-_I696mNI.js → outbound-message-hooks-BvKzCtP_.js} +5 -5
- package/dist/{pairing-cli-dhBxo6Vw.js → pairing-cli-CjvOW_Qy.js} +10 -10
- package/dist/{pairing-labels-BDuNTDsa.js → pairing-labels-BSl8PmyI.js} +1 -1
- package/dist/{pairing-store-ZXK7b5SG.js → pairing-store-BbBjVYYR.js} +4 -4
- package/dist/{path-alias-guards-L34PKmdW.js → path-alias-guards-DhwCAYKX.js} +3 -3
- package/dist/{path-safety-DHLkivTI.js → path-safety-Dibh-nnA.js} +1 -1
- package/dist/{pi-embedded-_YhHvi3M.js → pi-embedded-1pY41iFz.js} +18 -18
- package/dist/{pi-embedded-helpers--xcGBKr8.js → pi-embedded-helpers-BbOp_MHS.js} +6 -6
- package/dist/{pi-embedded-recovery-adapter-Cct1moq2.js → pi-embedded-recovery-adapter-mI-4XOPi.js} +37 -37
- package/dist/{pi-embedded-utils-Bqo7G8Hn.js → pi-embedded-utils-Df8_gFa-.js} +2 -2
- package/dist/{pi-model-discovery-Rjo2hv2p.js → pi-model-discovery-BWXqga5N.js} +1 -1
- package/dist/{pid-alive-TVJ4mVal.js → pid-alive-DIe5jzmE.js} +1 -1
- package/dist/{plugin-auto-enable-CbW6trDK.js → plugin-auto-enable-BtVVoq7k.js} +2 -2
- package/dist/{plugin-owned-work-recovery-adapter-CStAW3lt.js → plugin-owned-work-recovery-adapter-Civ7pCIM.js} +7 -7
- package/dist/{plugin-registry-BPGjlX1-.js → plugin-registry-B9Gdebb5.js} +4 -4
- package/dist/plugin-sdk/{agent-scope-Brtnf-qo.js → agent-scope-DsdTj4Lw.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-B7OZd3j0.js +53 -0
- package/dist/plugin-sdk/{agent-turn-runner-BoyCp6a7.js → agent-turn-runner-DFx8RFgs.js} +7 -7
- package/dist/plugin-sdk/{api-key-rotation-rNPxdoXy.js → api-key-rotation-DLFDIQvI.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-7GBWBtz1.js → audio-preflight-BuvLfTSs.js} +18 -18
- package/dist/plugin-sdk/{audio-transcription-runner-Dh6ZjtWU.js → audio-transcription-runner-DVeHis5y.js} +10 -10
- package/dist/plugin-sdk/{auth-profiles-C9WuWuhF.js → auth-profiles-DWv_drRN.js} +3 -3
- package/dist/plugin-sdk/{chat-content-CLCeI_Qk.js → chat-content-CpswkXNb.js} +14 -14
- package/dist/plugin-sdk/{chrome-DT2r85gp.js → chrome-3OYkv183.js} +13 -13
- package/dist/plugin-sdk/{chunk-cBcZnYwM.js → chunk-BzqRmzIt.js} +4 -4
- package/dist/plugin-sdk/{command-queue-7UljN6ld.js → command-queue-CN4gqnUj.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-D2pMVn_S.js → commands-registry-Bdwwpat-.js} +3 -3
- package/dist/plugin-sdk/deliver-B5KEZCZc.js +30 -0
- package/dist/plugin-sdk/{deliver-Bg_r4acr.js → deliver-hk3L8q2Q.js} +13 -13
- package/dist/plugin-sdk/{diagnostic-Cr-CoLa3.js → diagnostic-CEwjaZ_7.js} +5 -5
- package/dist/plugin-sdk/{diagnostic-session-state-DX8FyVQw.js → diagnostic-session-state-BzWdoxLm.js} +1 -1
- package/dist/plugin-sdk/{errors-D358LwuI.js → errors-CsbG_v7K.js} +1 -1
- package/dist/plugin-sdk/{fetch-Be4fqzal.js → fetch-DBno66KN.js} +1 -1
- package/dist/plugin-sdk/{fetch-ZGQKpqWb.js → fetch-WGWEe3le.js} +6 -6
- package/dist/plugin-sdk/{fetch-guard-BKTJU-gg.js → fetch-guard-A8GwiDhx.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-B3AzvZ4l.js → fs-safe-1aioFv3e.js} +3 -3
- package/dist/plugin-sdk/{inbound-context-BtSlo1sB.js → inbound-context-Bxf_1vgP.js} +1 -1
- package/dist/plugin-sdk/{ir-B4yx0AL3.js → ir-D_W-MQYl.js} +4 -4
- package/dist/plugin-sdk/{json-files-B__As2nb.js → json-files-BnqU_vp9.js} +6 -6
- package/dist/plugin-sdk/manager-B_wRtuCz.js +14 -0
- package/dist/plugin-sdk/{manager-BINTVC6-.js → manager-UVkpOLce.js} +7 -7
- package/dist/plugin-sdk/{markdown-tables-DFUNbiGy.js → markdown-tables-DN5kZ7HX.js} +3 -3
- package/dist/plugin-sdk/{monitor-Cv-Hb6Vg.js → monitor-1WWBQbrJ.js} +88 -88
- package/dist/plugin-sdk/{outbound-attachment-DRUsY_P3.js → outbound-attachment-D2FAxmw-.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-CRi90QdZ.js → path-alias-guards-BaV88b3G.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-DpiYKs_-.js → pi-model-discovery-eQO5jtHE.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-CIuwPWhR.js +53 -0
- package/dist/plugin-sdk/provider-media-understanding.js +7 -7
- package/dist/plugin-sdk/{proxy-env-CAAaD_vE.js → proxy-env-iizeE-yn.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DF_oDAcU.js → pw-ai-RkUVP2CG.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-DxXmjvMl.js → qmd-manager-DtWRq-3E.js} +8 -8
- package/dist/plugin-sdk/{qmd-scope-mVSXoI81.js → qmd-scope-hKKHM7ur.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-Bu7AUpJ5.js → query-expansion-BF9IjXa5.js} +2 -2
- package/dist/plugin-sdk/{recorder-BsamU-hC.js → recorder-EjxEn6z5.js} +2 -2
- package/dist/plugin-sdk/{redact-Lv3jVFd_.js → redact-CuefNlXl.js} +1 -1
- package/dist/plugin-sdk/{registry-CSJhdmW7.js → registry-B-PTnKXn.js} +6 -6
- package/dist/plugin-sdk/replies-BWD2mqj4.js +24 -0
- package/dist/plugin-sdk/{replies-CFNkUmLR.js → replies-CgjY5QeJ.js} +5 -5
- package/dist/plugin-sdk/{reply-prefix-DNyziUbc.js → reply-prefix-B_4F5prZ.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-CBCLd9yp.js → resolve-route-BHhFfPZt.js} +4 -4
- package/dist/plugin-sdk/{send-b1bp0W-q.js → send-BCEdvryY.js} +8 -8
- package/dist/plugin-sdk/{send-kEZiGg40.js → send-BJGiPB1S.js} +8 -8
- package/dist/plugin-sdk/send-C6pt4yW6.js +21 -0
- package/dist/plugin-sdk/{send-DCt-5Eqo.js → send-CFy9VJtY.js} +6 -6
- package/dist/plugin-sdk/{send-Dx8aO_vF.js → send-CIwbHo3j.js} +16 -16
- package/dist/plugin-sdk/{send-1zs5bgjT.js → send-Ct68W7Yb.js} +7 -7
- package/dist/plugin-sdk/send-MGm8Xvbs.js +22 -0
- package/dist/plugin-sdk/send-WNRxCcA_.js +20 -0
- package/dist/plugin-sdk/{session-context-B4geQCsj.js → session-context-CMK0kc4L.js} +4 -4
- package/dist/plugin-sdk/{session-meta-cugffpHm.js → session-meta-CnQldSIv.js} +2 -2
- package/dist/plugin-sdk/{sessions-Dx1DxBM0.js → sessions-Bi3Stvmk.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-BIbJBws5.js → skill-commands-B-RjcEg8.js} +5 -5
- package/dist/plugin-sdk/{store-CP7sxsrB.js → store-BS62UMsC.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-CWWUdAWI.js +53 -0
- package/dist/plugin-sdk/{subsystem-BRH2eiRx.js → subsystem-DbM6sYsb.js} +4 -4
- package/dist/plugin-sdk/{tables-C-7zslmS.js → tables-rlu-3LoD.js} +1 -1
- package/dist/plugin-sdk/testing.js +46 -46
- package/dist/plugin-sdk/{tokens-DEiV8tMG.js → tokens-DnxgKy4h.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-DnYfACQq.js → tool-loop-detection-CvzazEft.js} +1 -1
- package/dist/plugin-sdk/{user-run-recording-Cx-DPR7Y.js → user-run-recording-CuHcEoPI.js} +3 -3
- package/dist/{plugins-cli-B3yDmnzB.js → plugins-cli-xEbYlD1N.js} +110 -110
- package/dist/{ports-CbxaZ4JR.js → ports-DkQ0JgDq.js} +2 -2
- package/dist/{ports-CbjXbpjb.js → ports-R8I-Rd2p.js} +3 -3
- package/dist/{program-CiwRqh1J.js → program-Rzncx3aZ.js} +106 -106
- package/dist/{progress-80iGSJGv.js → progress-DGJz2cvq.js} +2 -2
- package/dist/{prompt-select-styled-Ds_J2iyU.js → prompt-select-styled-BeWIYKDx.js} +48 -48
- package/dist/{prompt-style-DUK2H9pQ.js → prompt-style-CevZQqqE.js} +1 -1
- package/dist/{provider-auth-helpers-C20ZUFM2.js → provider-auth-helpers-CLBGTBnJ.js} +6 -6
- package/dist/{proxy-env-BcMrDxNo.js → proxy-env-t-re7bCo.js} +1 -1
- package/dist/{push-apns-DspwiDEu.js → push-apns-CcZhsDRS.js} +10 -10
- package/dist/{pw-ai-BKN66RLi.js → pw-ai-6cOpjyxA.js} +1 -1
- package/dist/{pw-ai-BH-VHtsR.js → pw-ai-h0Uxwko3.js} +18 -18
- package/dist/{qmd-manager-JUjGk3hv.js → qmd-manager-DR95ckLZ.js} +25 -25
- package/dist/{qmd-scope-bewl8Eiz.js → qmd-scope-DGZXz9jW.js} +1 -1
- package/dist/{qr-cli-Bk-iHfQo.js → qr-cli-K0UQq59w.js} +9 -9
- package/dist/{query-expansion-BzoTldVy.js → query-expansion-DtX8mWw8.js} +10 -10
- package/dist/{reconcile-bundled-DM4QcNVH.js → reconcile-bundled-V0NDG76P.js} +3 -3
- package/dist/{recorder-CLU0QuFV.js → recorder-C5MQyLQu.js} +2 -2
- package/dist/{recovery-adapter-CjmLDOyV.js → recovery-adapter-BRrpxylo.js} +2 -2
- package/dist/{recovery-adapter-ye4l6Gn4.js → recovery-adapter-C1kHnt9q.js} +3 -3
- package/dist/{recovery-adapter-ipXNpK0H.js → recovery-adapter-D14MlfbA.js} +7 -7
- package/dist/{recovery-prompt-Bmmt8OXc.js → recovery-prompt-BEH6XjKs.js} +1 -1
- package/dist/{redact-snapshot-46g6fP3z.js → redact-snapshot-Dr2xSc0p.js} +2 -2
- package/dist/{register.agent-BAgBhHHu.js → register.agent-C5VjXiOa.js} +121 -121
- package/dist/register.configure-BrZHLfY5.js +169 -0
- package/dist/{register.maintenance-DZSlUCjt.js → register.maintenance-CRkCaoyK.js} +129 -129
- package/dist/{register.message-CmwWkv0S.js → register.message-T_8nxRk5.js} +100 -100
- package/dist/{register.onboard-D2FYzcez.js → register.onboard-V55Y2Ubu.js} +26 -26
- package/dist/{register.setup-Dviebdoo.js → register.setup-CADjhLHK.js} +29 -29
- package/dist/{register.status-health-sessions-ShjYv_Uh.js → register.status-health-sessions-DdVD0IOM.js} +119 -119
- package/dist/{register.subclis-DJxVoTQj.js → register.subclis-xNwfLrGG.js} +34 -34
- package/dist/{replies-DxPPKLeJ.js → replies-t1yaLy4q.js} +5 -5
- package/dist/{reply-directives-B_4oA3B0.js → reply-directives-De0PRN70.js} +2 -2
- package/dist/{reply-prefix-KAeJzNvt.js → reply-prefix-B0ufPLD2.js} +1 -1
- package/dist/{reset-CDG1YZWx.js → reset-DxYrusrF.js} +1 -1
- package/dist/{resolve-route-IeN1DK4w.js → resolve-route-CZXzecu6.js} +5 -5
- package/dist/{rpc-C7VnW-Aw.js → rpc-Bg0RuGsL.js} +3 -3
- package/dist/{run-main-CnNc7DLd.js → run-main-C-PQ_TDh.js} +119 -119
- package/dist/{runs-0PYx5aDJ.js → runs-DzlzC2_b.js} +7 -7
- package/dist/{runtime-B1z-tYeF.js → runtime-DxtfUxa-.js} +4 -4
- package/dist/{runtime-config-Dm2RpLJ7.js → runtime-config-DZ4anlFD.js} +1 -1
- package/dist/{runtime-config-collectors-Chqse-1v.js → runtime-config-collectors-rhm6uhD8.js} +1 -1
- package/dist/{runtime-guard-BGWl62dI.js → runtime-guard-7e_ZRPFH.js} +1 -1
- package/dist/{sandbox-DSs8pONL.js → sandbox-BcT2OU_g.js} +21 -21
- package/dist/{sandbox-cli-X1PaKHUO.js → sandbox-cli-Cghszshw.js} +33 -33
- package/dist/{secrets-cli-D1DpG6VH.js → secrets-cli-2cyObDEq.js} +16 -16
- package/dist/{security-cli-ZmvFe4nX.js → security-cli-y5Ln-Bce.js} +47 -47
- package/dist/{send-DizMtGn_.js → send-36dNynVs.js} +7 -7
- package/dist/{send-0JKFG0wR.js → send-CFvOM8pI.js} +6 -6
- package/dist/{send-BPuhxPvx.js → send-CVaGAWEm.js} +6 -6
- package/dist/{send-S06NYAWt.js → send-D1V_gt-x.js} +13 -13
- package/dist/{server-B_-KxUi3.js → server-DvHjKPLj.js} +24 -24
- package/dist/{server-context-D_ZTBjWX.js → server-context-DXaMid9A.js} +12 -12
- package/dist/{server-lifecycle-CAXoy64R.js → server-lifecycle-BHXiQH6m.js} +3 -3
- package/dist/{server-middleware-BxKu1j_s.js → server-middleware-CaVc3KiU.js} +1 -1
- package/dist/{server-node-events-3XEsy92y.js → server-node-events-D_Ue3RLX.js} +100 -100
- package/dist/{service-DMkBvr4B.js → service-DoOh34VG.js} +15 -15
- package/dist/{session-consumer-agents-CBqraSzI.js → session-consumer-agents-Zo97FAeD.js} +1 -1
- package/dist/{session-consumer-claim-sweep-AZ5o8Cu-.js → session-consumer-claim-sweep-xufX6DVl.js} +9 -9
- package/dist/{session-key-BRw3GFxY.js → session-key-Cr27HfX5.js} +1 -1
- package/dist/{session-meta-WRN3ZcJ5.js → session-meta-wyuckoIK.js} +1 -1
- package/dist/{session-storage-7cXTEQfZ.js → session-storage-CwLPwLoF.js} +22 -22
- package/dist/{session-storage-owner-BLPjnobT.js → session-storage-owner-D0BMYGR6.js} +53 -53
- package/dist/{session-store-targets-i0Ss9Rbv.js → session-store-targets-hup1YSx3.js} +3 -3
- package/dist/{session-utils-Btoq903T.js → session-utils-BsJs6MoS.js} +9 -9
- package/dist/{sessions-Dp4oQDh2.js → sessions-CXVIRQ7I.js} +6 -6
- package/dist/{sessions-DPV-OS7q.js → sessions-D5-WnU1c.js} +5 -5
- package/dist/{sessions-Bi3UGKUO.js → sessions-DQ3diYco.js} +17 -17
- package/dist/{sessions-claims-status-Dhd9Pthy.js → sessions-claims-status-BIYvHBRD.js} +11 -11
- package/dist/{sessions-maintenance-core-C2cCpUiU.js → sessions-maintenance-core-CmawGRLz.js} +8 -8
- package/dist/{setup-helpers-zG3DfqLd.js → setup-helpers-BQ-rg8A3.js} +1 -1
- package/dist/{shared-B32sbGiP.js → shared-CN5xidM6.js} +4 -4
- package/dist/{shared-COhRUP1S.js → shared-DCN12ugV.js} +2 -2
- package/dist/{skill-commands-BktltILY.js → skill-commands-DKmd3uhq.js} +7 -7
- package/dist/{skill-scanner-ubz0B8p_.js → skill-scanner-YQwX3yC-.js} +7 -7
- package/dist/{skills-cli-DE9fB_sx.js → skills-cli-mRBgNuUB.js} +9 -9
- package/dist/{skills-install-Cu_sfOVw.js → skills-install-B5X0Cyhn.js} +9 -9
- package/dist/{skills-CWQC3bQU.js → skills-rshN3U9G.js} +6 -6
- package/dist/{skills-status--U7Dyunf.js → skills-status-C40ecVhY.js} +3 -3
- package/dist/{status-CCetLhy5.js → status-D-NG9OFK.js} +49 -49
- package/dist/{status.update-CHNp32m-.js → status.update-BjR63JWs.js} +2 -2
- package/dist/{storage-config-CS0-6wW6.js → storage-config-BJj76p6F.js} +4 -4
- package/dist/{store-ccSeveJ0.js → store-BKtDaCRf.js} +7 -7
- package/dist/{subsystem-BNf8H-Zm.js → subsystem-xTuYkxuQ.js} +1 -1
- package/dist/{supervisor-RBm1KDN1.js → supervisor-CbcownOj.js} +2 -2
- package/dist/{system-cli-YRe6nHya.js → system-cli-CqiLRr8j.js} +13 -13
- package/dist/{system-run-command-CtzUrDfp.js → system-run-command-DmwSJZGF.js} +2 -2
- package/dist/{systemd-CyRDQg6V.js → systemd-DCrSOh9E.js} +11 -11
- package/dist/{systemd-hints-CPEnXHmj.js → systemd-hints-Dc0OitcD.js} +9 -9
- package/dist/{systemd-linger-AXTvmw5z.js → systemd-linger-j9L7X6dA.js} +2 -2
- package/dist/{table-BRTxbR4E.js → table-Buk61GwP.js} +2 -2
- package/dist/{tables-BhzelQWA.js → tables-B62PgWcr.js} +1 -1
- package/dist/{tailnet-CBZAvwAf.js → tailnet-B5JdDATD.js} +1 -1
- package/dist/{tailscale-IMHmOQwv.js → tailscale-BiCf3X3Y.js} +2 -2
- package/dist/{task-pipeline-boot-BqE_GrmQ.js → task-pipeline-boot-DgTg-CLO.js} +100 -100
- package/dist/{task-runlog-retention-v6UWCQjX.js → task-runlog-retention-Cq2OgFdi.js} +5 -5
- package/dist/{tasks-B4CFmiA3.js → tasks-B8WGpUhG.js} +11 -11
- package/dist/{tokens-B0SYKifB.js → tokens-D5eYPE3_.js} +1 -1
- package/dist/{tool-display-CjfVgl4p.js → tool-display-BuSkjyOX.js} +1 -1
- package/dist/{tool-loop-detection--ScllGh1.js → tool-loop-detection-DcldeAQA.js} +2 -2
- package/dist/{trash-DhfDhVld.js → trash-D8OVe313.js} +3 -3
- package/dist/{tui-BtDuMK-Q.js → tui-Bbgsj5cD.js} +9 -9
- package/dist/{tui-cli-AAdDdzBF.js → tui-cli-BB3hPnig.js} +35 -35
- package/dist/{update-MKP9QOUt.js → update-OC3VeAt9.js} +3 -3
- package/dist/{update-cli-BSA_q7RE.js → update-cli-DqM1XIf_.js} +139 -139
- package/dist/{update-runner-BMqGHvjP.js → update-runner-CtQqJO0C.js} +18 -18
- package/dist/{user-run-recording-Cw29-tG1.js → user-run-recording-DrY68KAf.js} +2 -2
- package/dist/{validation-cli-VaCU6by-.js → validation-cli-CdS1nA-4.js} +99 -99
- package/dist/{web-cli-Dp96CkEW.js → web-cli-DvWcPGwe.js} +3 -3
- package/dist/{webhooks-cli--2FyIwfR.js → webhooks-cli-VMJNe3gx.js} +10 -10
- package/dist/{widearea-dns-BhBfoR1S.js → widearea-dns-CvnQrk1m.js} +1 -1
- package/dist/{with-timeout-BbJQtRIl.js → with-timeout-DG_Ef3S1.js} +6 -6
- package/dist/{workspace-C4JU6kgP.js → workspace-C8NxbJFT.js} +2 -2
- package/dist/{workspace-dirs-DBNKIvKX.js → workspace-dirs-B1dGJTd4.js} +1 -1
- package/dist/{ws-BafnkIRl.js → ws-Dnz-ugxp.js} +2 -2
- package/dist/{wsl-CG9o9v6x.js → wsl-Bm8bcioC.js} +2 -2
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/clawbot-cli-D1k1DpEc.js +0 -31
- package/dist/cli-Dc-MpdqR.js +0 -165
- package/dist/plugin-sdk/agent-turn-execute-UxpRMk9j.js +0 -53
- package/dist/plugin-sdk/deliver-CM8QDSXe.js +0 -30
- package/dist/plugin-sdk/manager-DHw8x1pr.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-B7p6f3-i.js +0 -53
- package/dist/plugin-sdk/replies-Djswi7iH.js +0 -24
- package/dist/plugin-sdk/send-CTz3VFmd.js +0 -21
- package/dist/plugin-sdk/send-DsxMWGTy.js +0 -22
- package/dist/plugin-sdk/send-RHWHegWE.js +0 -20
- package/dist/plugin-sdk/subagent-registry-Ck6o6MPJ.js +0 -53
- package/dist/register.configure-zu159EnI.js +0 -169
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { W as sameFileIdentity, d as colorize, it as sanitizeSystemRunEnvOverrides, p as theme, rt as sanitizeHostExecEnv } from "./globals-
|
|
1
|
+
import { W as sameFileIdentity, d as colorize, it as sanitizeSystemRunEnvOverrides, p as theme, rt as sanitizeHostExecEnv } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { Ca as resolvePlannedSegmentArgv, Mi as GATEWAY_CLIENT_NAMES, Oa as resolveCommandResolutionFromArgv, Qc as resolveSecretInputRef, Zc as normalizeSecretInputString, c as loadConfig, ec as resolveSecretRefValues, ji as GATEWAY_CLIENT_MODES, ka as resolveExecutableFromPathEnv, uc as secretRefKey, ya as analyzeArgvCommand } from "./config-
|
|
5
|
+
import { Ca as resolvePlannedSegmentArgv, Mi as GATEWAY_CLIENT_NAMES, Oa as resolveCommandResolutionFromArgv, Qc as resolveSecretInputRef, Zc as normalizeSecretInputString, c as loadConfig, ec as resolveSecretRefValues, ji as GATEWAY_CLIENT_MODES, ka as resolveExecutableFromPathEnv, uc as secretRefKey, ya as analyzeArgvCommand } from "./config-D--rwfpd.js";
|
|
6
6
|
import { t as VERSION } from "./version-D_9__Xw6.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
8
|
-
import { o as logWarn } from "./exec-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-BZ0wFh-U.js";
|
|
8
|
+
import { o as logWarn } from "./exec-DWOKM6EC.js";
|
|
9
9
|
import "./github-copilot-token-CvN6iidT.js";
|
|
10
|
-
import "./pid-alive-
|
|
10
|
+
import "./pid-alive-DIe5jzmE.js";
|
|
11
11
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
12
12
|
import "./static-app-DG39qMau.js";
|
|
13
13
|
import "./retry-policy-BIRWkDiU.js";
|
|
14
|
-
import "./extension-relay-auth-
|
|
15
|
-
import "./tailscale-
|
|
16
|
-
import "./tailnet-
|
|
17
|
-
import "./ws-
|
|
18
|
-
import "./auth
|
|
19
|
-
import "./server-context-
|
|
20
|
-
import "./path-alias-guards-
|
|
14
|
+
import "./extension-relay-auth-CEkGLele.js";
|
|
15
|
+
import "./tailscale-BiCf3X3Y.js";
|
|
16
|
+
import "./tailnet-B5JdDATD.js";
|
|
17
|
+
import "./ws-Dnz-ugxp.js";
|
|
18
|
+
import "./auth--kj7eWiw.js";
|
|
19
|
+
import "./server-context-DXaMid9A.js";
|
|
20
|
+
import "./path-alias-guards-DhwCAYKX.js";
|
|
21
21
|
import "./redact-OtHqr7lm.js";
|
|
22
22
|
import "./errors-zRgI_PDI.js";
|
|
23
|
-
import "./fs-safe-
|
|
24
|
-
import "./proxy-env-
|
|
25
|
-
import { c as detectMime } from "./image-ops-
|
|
26
|
-
import "./store-
|
|
27
|
-
import "./chrome-
|
|
28
|
-
import { r as resolveBrowserConfig } from "./trash-
|
|
29
|
-
import "./ports-
|
|
30
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
23
|
+
import "./fs-safe-sWugzmbo.js";
|
|
24
|
+
import "./proxy-env-t-re7bCo.js";
|
|
25
|
+
import { c as detectMime } from "./image-ops-C0np5f9V.js";
|
|
26
|
+
import "./store-BKtDaCRf.js";
|
|
27
|
+
import "./chrome-CMvVElGc.js";
|
|
28
|
+
import { r as resolveBrowserConfig } from "./trash-D8OVe313.js";
|
|
29
|
+
import "./ports-R8I-Rd2p.js";
|
|
30
|
+
import { r as writeJsonAtomic } from "./json-files-DNNBEygD.js";
|
|
31
31
|
import "./task-run-types-CXp-wZyE.js";
|
|
32
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
33
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
34
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
35
|
-
import { fr as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
32
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-DG_Ef3S1.js";
|
|
33
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-CfzuCK0Q.js";
|
|
34
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-CY75nr5s.js";
|
|
35
|
+
import { fr as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-DsaKKPz1.js";
|
|
36
36
|
import "./pairing-token-D1vOP4TH.js";
|
|
37
|
-
import { _ as requestJsonlSocket, c as normalizeExecApprovals, d as requiresExecApproval, f as resolveExecApprovals, h as saveExecApprovals, l as readExecApprovalsSnapshot, n as addAllowlistEntry, o as mergeExecApprovalsSocketDefaults, r as ensureExecApprovals, u as recordAllowlistUse } from "./exec-approvals-
|
|
38
|
-
import { n as formatExecCommand, r as resolveSystemRunCommand } from "./system-run-command-
|
|
37
|
+
import { _ as requestJsonlSocket, c as normalizeExecApprovals, d as requiresExecApproval, f as resolveExecApprovals, h as saveExecApprovals, l as readExecApprovalsSnapshot, n as addAllowlistEntry, o as mergeExecApprovalsSocketDefaults, r as ensureExecApprovals, u as recordAllowlistUse } from "./exec-approvals-CavJfWPl.js";
|
|
38
|
+
import { n as formatExecCommand, r as resolveSystemRunCommand } from "./system-run-command-DmwSJZGF.js";
|
|
39
39
|
import { _ as resolveNodeSystemdServiceName, c as formatNodeServiceDescription, g as resolveNodeLaunchAgentLabel, v as resolveNodeWindowsTaskName } from "./constants-C6ozS4px.js";
|
|
40
|
-
import "./server-lifecycle-
|
|
41
|
-
import "./wsl-
|
|
42
|
-
import { t as formatDocsLink } from "./links-
|
|
43
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
40
|
+
import "./server-lifecycle-BHXiQH6m.js";
|
|
41
|
+
import "./wsl-Bm8bcioC.js";
|
|
42
|
+
import { t as formatDocsLink } from "./links-CPIBVJ0k.js";
|
|
43
|
+
import { t as formatHelpExamples } from "./help-format-BQ0UHPHt.js";
|
|
44
44
|
import { t as ensureOpenClawCliOnPath } from "./path-env-BrtYmyqz.js";
|
|
45
|
-
import "./issue-format-
|
|
46
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
47
|
-
import "./runtime-guard-
|
|
45
|
+
import "./issue-format-DhAa1_iS.js";
|
|
46
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-DN9p53IN.js";
|
|
47
|
+
import "./runtime-guard-7e_ZRPFH.js";
|
|
48
48
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-9oDBR7YW.js";
|
|
49
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
50
|
-
import "./systemd-
|
|
51
|
-
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-
|
|
52
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
49
|
+
import { s as resolveGatewayLogPaths } from "./service-DoOh34VG.js";
|
|
50
|
+
import "./systemd-DCrSOh9E.js";
|
|
51
|
+
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-BP96hEWA.js";
|
|
52
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-Dc0OitcD.js";
|
|
53
53
|
import { t as parsePort } from "./parse-port-DnJYkByg.js";
|
|
54
54
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-TqucdvJe.js";
|
|
55
|
-
import { t as resolveNodeService } from "./node-service-
|
|
55
|
+
import { t as resolveNodeService } from "./node-service-Drxz78wf.js";
|
|
56
56
|
import { spawn, spawnSync } from "node:child_process";
|
|
57
57
|
import path from "node:path";
|
|
58
58
|
import fs from "node:fs";
|
|
59
|
-
import
|
|
59
|
+
import fsPromises from "node:fs/promises";
|
|
60
60
|
import crypto from "node:crypto";
|
|
61
61
|
|
|
62
62
|
//#region src/node-host/config.ts
|
|
@@ -79,7 +79,7 @@ function normalizeConfig(config) {
|
|
|
79
79
|
async function loadNodeHostConfig() {
|
|
80
80
|
const filePath = resolveNodeHostConfigPath();
|
|
81
81
|
try {
|
|
82
|
-
const raw = await
|
|
82
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
83
83
|
return normalizeConfig(JSON.parse(raw));
|
|
84
84
|
} catch {
|
|
85
85
|
return null;
|
|
@@ -175,10 +175,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
175
175
|
return [...paths];
|
|
176
176
|
}
|
|
177
177
|
async function readBrowserProxyFile(filePath) {
|
|
178
|
-
const stat = await
|
|
178
|
+
const stat = await fsPromises.stat(filePath).catch(() => null);
|
|
179
179
|
if (!stat || !stat.isFile()) return null;
|
|
180
180
|
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`);
|
|
181
|
-
const buffer = await
|
|
181
|
+
const buffer = await fsPromises.readFile(filePath);
|
|
182
182
|
const mimeType = await detectMime({
|
|
183
183
|
buffer,
|
|
184
184
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Hn as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Hn as normalizeDeviceMetadataForPolicy } from "./client-DsaKKPz1.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-TqucdvJe.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeSystemdServiceName, a as NODE_SERVICE_KIND, g as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME, v as resolveNodeWindowsTaskName } from "./constants-C6ozS4px.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-DoOh34VG.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { Tt as shortenHomePath, f as isRich, p as theme, wt as shortenHomeInString } from "./globals-
|
|
1
|
+
import { Tt as shortenHomePath, f as isRich, p as theme, wt as shortenHomeInString } from "./globals-3lUHnZas.js";
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
|
-
import { m as defaultRuntime } from "./subsystem-
|
|
3
|
+
import { m as defaultRuntime } from "./subsystem-xTuYkxuQ.js";
|
|
4
4
|
import "./boolean-C71HJEcH.js";
|
|
5
|
-
import { ar as parseDurationMs, c as loadConfig } from "./config-
|
|
5
|
+
import { ar as parseDurationMs, c as loadConfig } from "./config-D--rwfpd.js";
|
|
6
6
|
import "./version-D_9__Xw6.js";
|
|
7
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
8
|
-
import "./exec-
|
|
7
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-BZ0wFh-U.js";
|
|
8
|
+
import "./exec-DWOKM6EC.js";
|
|
9
9
|
import "./github-copilot-token-CvN6iidT.js";
|
|
10
|
-
import "./pid-alive-
|
|
10
|
+
import "./pid-alive-DIe5jzmE.js";
|
|
11
11
|
import "./static-app-DG39qMau.js";
|
|
12
12
|
import "./retry-policy-BIRWkDiU.js";
|
|
13
|
-
import "./tailnet-
|
|
14
|
-
import "./ws-
|
|
13
|
+
import "./tailnet-B5JdDATD.js";
|
|
14
|
+
import "./ws-Dnz-ugxp.js";
|
|
15
15
|
import "./redact-OtHqr7lm.js";
|
|
16
16
|
import "./errors-zRgI_PDI.js";
|
|
17
|
-
import "./proxy-env-
|
|
17
|
+
import "./proxy-env-t-re7bCo.js";
|
|
18
18
|
import "./task-run-types-CXp-wZyE.js";
|
|
19
|
-
import "./exec-approvals-allowlist-
|
|
20
|
-
import "./fetch-guard-
|
|
21
|
-
import "./client-
|
|
22
|
-
import { s as randomIdempotencyKey } from "./call-
|
|
19
|
+
import "./exec-approvals-allowlist-CfzuCK0Q.js";
|
|
20
|
+
import "./fetch-guard-TJQinE0a.js";
|
|
21
|
+
import "./client-DsaKKPz1.js";
|
|
22
|
+
import { s as randomIdempotencyKey } from "./call-BY-wbSIJ.js";
|
|
23
23
|
import "./pairing-token-D1vOP4TH.js";
|
|
24
24
|
import { n as formatTimeAgo } from "./format-relative-BwbQjKKI.js";
|
|
25
|
-
import { a as maxAsk, p as resolveExecApprovalsFromFile, s as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-
|
|
26
|
-
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-
|
|
27
|
-
import "./system-run-command-
|
|
25
|
+
import { a as maxAsk, p as resolveExecApprovalsFromFile, s as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-CavJfWPl.js";
|
|
26
|
+
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-Brwiveoh.js";
|
|
27
|
+
import "./system-run-command-DmwSJZGF.js";
|
|
28
28
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-CMGNE46f.js";
|
|
29
29
|
import { t as parseTimeoutMs } from "./parse-timeout-zNJBr1fY.js";
|
|
30
|
-
import { t as formatDocsLink } from "./links-
|
|
30
|
+
import { t as formatDocsLink } from "./links-CPIBVJ0k.js";
|
|
31
31
|
import { n as runCommandWithRuntime } from "./cli-utils-fSG_7xFh.js";
|
|
32
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
33
|
-
import "./progress-
|
|
34
|
-
import { t as renderTable } from "./table-
|
|
35
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
36
|
-
import
|
|
32
|
+
import { t as formatHelpExamples } from "./help-format-BQ0UHPHt.js";
|
|
33
|
+
import "./progress-DGJz2cvq.js";
|
|
34
|
+
import { t as renderTable } from "./table-Buk61GwP.js";
|
|
35
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-Bg0RuGsL.js";
|
|
36
|
+
import fsPromises from "node:fs/promises";
|
|
37
37
|
|
|
38
38
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
39
39
|
function getNodesTheme() {
|
|
@@ -383,7 +383,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
383
383
|
const hasJsonl = Boolean(opts.jsonl);
|
|
384
384
|
const hasText = typeof opts.text === "string";
|
|
385
385
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
386
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
386
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fsPromises.readFile(String(opts.jsonl), "utf8");
|
|
387
387
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
388
388
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
389
389
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { kt as resolvePreferredOpenClawTmpDir, nt as normalizeEnvVarKey } from "./globals-
|
|
1
|
+
import { kt as resolvePreferredOpenClawTmpDir, nt as normalizeEnvVarKey } from "./globals-3lUHnZas.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-DWAk9aIH.js";
|
|
3
|
-
import { l as normalizeHostname } from "./proxy-env-
|
|
4
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
5
|
-
import { n as formatExecCommand, r as resolveSystemRunCommand } from "./system-run-command-
|
|
3
|
+
import { l as normalizeHostname } from "./proxy-env-t-re7bCo.js";
|
|
4
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-TJQinE0a.js";
|
|
5
|
+
import { n as formatExecCommand, r as resolveSystemRunCommand } from "./system-run-command-DmwSJZGF.js";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import * as fs$
|
|
9
|
+
import * as fs$1 from "node:fs/promises";
|
|
10
10
|
import crypto, { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/infra/path-prepend.ts
|
|
@@ -355,7 +355,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
355
355
|
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}`);
|
|
356
356
|
const body = res.body;
|
|
357
357
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
358
|
-
const fileHandle = await fs$
|
|
358
|
+
const fileHandle = await fs$1.open(filePath, "w");
|
|
359
359
|
let thrown;
|
|
360
360
|
try {
|
|
361
361
|
const reader = body.getReader();
|
|
@@ -373,7 +373,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
373
373
|
await fileHandle.close();
|
|
374
374
|
}
|
|
375
375
|
if (thrown) {
|
|
376
|
-
await fs$
|
|
376
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
377
377
|
throw thrown;
|
|
378
378
|
}
|
|
379
379
|
} finally {
|
|
@@ -386,7 +386,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
386
386
|
}
|
|
387
387
|
async function writeBase64ToFile(filePath, base64) {
|
|
388
388
|
const buf = Buffer.from(base64, "base64");
|
|
389
|
-
await fs$
|
|
389
|
+
await fs$1.writeFile(filePath, buf);
|
|
390
390
|
return {
|
|
391
391
|
path: filePath,
|
|
392
392
|
bytes: buf.length
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as visibleWidth } from "./subsystem-
|
|
2
|
-
import { r as stylePromptTitle } from "./prompt-style-
|
|
1
|
+
import { u as visibleWidth } from "./subsystem-xTuYkxuQ.js";
|
|
2
|
+
import { r as stylePromptTitle } from "./prompt-style-CevZQqqE.js";
|
|
3
3
|
import { note } from "@clack/prompts";
|
|
4
4
|
|
|
5
5
|
//#region src/terminal/note.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { St as resolveUserPath } from "./globals-
|
|
2
|
-
import { Ic as acquireFileLock } from "./config-
|
|
3
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { St as resolveUserPath } from "./globals-3lUHnZas.js";
|
|
2
|
+
import { Ic as acquireFileLock } from "./config-D--rwfpd.js";
|
|
3
|
+
import { t as runCommandWithTimeout } from "./exec-DWOKM6EC.js";
|
|
4
4
|
import { t as KeyedAsyncQueue } from "./keyed-async-queue-2pjO_HT0.js";
|
|
5
5
|
import { n as docsSiteUrl } from "./docs-site-B8KujBhr.js";
|
|
6
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
6
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-2eEPQsHT.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fsPromises from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/infra/install-source-utils.ts
|
|
12
12
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -20,11 +20,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
async function withTempDir(prefix, fn) {
|
|
23
|
-
const tmpDir = await
|
|
23
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
24
24
|
try {
|
|
25
25
|
return await fn(tmpDir);
|
|
26
26
|
} finally {
|
|
27
|
-
await
|
|
27
|
+
await fsPromises.rm(tmpDir, {
|
|
28
28
|
recursive: true,
|
|
29
29
|
force: true
|
|
30
30
|
}).catch(() => void 0);
|
|
@@ -143,12 +143,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
async function findPackedArchiveInDir(cwd) {
|
|
146
|
-
const archives = (await
|
|
146
|
+
const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
147
147
|
if (archives.length === 0) return;
|
|
148
148
|
if (archives.length === 1) return archives[0]?.name;
|
|
149
149
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
150
150
|
name: entry.name,
|
|
151
|
-
mtimeMs: (await
|
|
151
|
+
mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
|
|
152
152
|
})));
|
|
153
153
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
154
154
|
return sortedByMtime[0]?.name;
|
|
@@ -222,13 +222,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
222
222
|
return {
|
|
223
223
|
ok: true,
|
|
224
224
|
resolvedPath,
|
|
225
|
-
stat: await
|
|
225
|
+
stat: await fsPromises.stat(resolvedPath)
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
228
|
async function withExtractedArchiveRoot(params) {
|
|
229
229
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
230
230
|
const extractDir = path.join(tmpDir, "extract");
|
|
231
|
-
await
|
|
231
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
232
232
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
233
233
|
try {
|
|
234
234
|
await extractArchive({
|
|
@@ -294,7 +294,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
294
294
|
const manifestPath = path.join(targetDir, "package.json");
|
|
295
295
|
let manifestRaw = "";
|
|
296
296
|
try {
|
|
297
|
-
manifestRaw = await
|
|
297
|
+
manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
|
|
298
298
|
} catch {
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
@@ -314,7 +314,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
314
314
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
315
315
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
316
316
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
317
|
-
await
|
|
317
|
+
await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
318
318
|
}
|
|
319
319
|
async function assertInstallBoundaryPaths(params) {
|
|
320
320
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -375,7 +375,7 @@ async function installPackageDir(params) {
|
|
|
375
375
|
async function installPackageDirLocked(params) {
|
|
376
376
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
377
377
|
const installBaseDir = path.dirname(params.targetDir);
|
|
378
|
-
await
|
|
378
|
+
await fsPromises.mkdir(installBaseDir, { recursive: true });
|
|
379
379
|
await assertInstallBoundaryPaths({
|
|
380
380
|
installBaseDir,
|
|
381
381
|
candidatePaths: [params.targetDir]
|
|
@@ -384,23 +384,23 @@ async function installPackageDirLocked(params) {
|
|
|
384
384
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
385
385
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
386
386
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
387
|
-
await
|
|
387
|
+
await fsPromises.mkdir(backupRoot, { recursive: true });
|
|
388
388
|
await assertInstallBoundaryPaths({
|
|
389
389
|
installBaseDir,
|
|
390
390
|
candidatePaths: [backupDir]
|
|
391
391
|
});
|
|
392
|
-
await
|
|
392
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
393
393
|
}
|
|
394
394
|
try {
|
|
395
395
|
await assertInstallBoundaryPaths({
|
|
396
396
|
installBaseDir,
|
|
397
397
|
candidatePaths: [params.targetDir]
|
|
398
398
|
});
|
|
399
|
-
await
|
|
399
|
+
await fsPromises.mkdir(params.targetDir);
|
|
400
400
|
} catch (err) {
|
|
401
401
|
if (err?.code !== "EEXIST") {
|
|
402
402
|
let restoreError;
|
|
403
|
-
if (backupDir) restoreError = await
|
|
403
|
+
if (backupDir) restoreError = await fsPromises.rename(backupDir, params.targetDir).then(() => void 0).catch((restoreErr) => restoreErr instanceof Error ? restoreErr : new Error(String(restoreErr)));
|
|
404
404
|
if (restoreError) return {
|
|
405
405
|
ok: false,
|
|
406
406
|
error: `${params.copyErrorPrefix}: ${String(err)}; restoring the previous install failed (${restoreError.message}) and it is preserved at ${backupDir}`
|
|
@@ -431,7 +431,7 @@ async function installPackageDirLocked(params) {
|
|
|
431
431
|
}
|
|
432
432
|
const problems = [];
|
|
433
433
|
try {
|
|
434
|
-
await
|
|
434
|
+
await fsPromises.rm(params.targetDir, {
|
|
435
435
|
recursive: true,
|
|
436
436
|
force: true
|
|
437
437
|
});
|
|
@@ -439,7 +439,7 @@ async function installPackageDirLocked(params) {
|
|
|
439
439
|
problems.push(`failed to remove ${params.targetDir}: ${String(err)}`);
|
|
440
440
|
}
|
|
441
441
|
if (backupDir) try {
|
|
442
|
-
await
|
|
442
|
+
await fsPromises.rename(backupDir, params.targetDir);
|
|
443
443
|
} catch (err) {
|
|
444
444
|
problems.push(`failed to restore ${backupDir} to ${params.targetDir}: ${String(err)}`);
|
|
445
445
|
}
|
|
@@ -447,7 +447,7 @@ async function installPackageDirLocked(params) {
|
|
|
447
447
|
};
|
|
448
448
|
const withRollback = (error, rollbackError) => rollbackError ? `${error} (rollback also failed: ${rollbackError})` : error;
|
|
449
449
|
try {
|
|
450
|
-
await
|
|
450
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
451
451
|
} catch (err) {
|
|
452
452
|
const rollbackError = await rollback();
|
|
453
453
|
return {
|
|
@@ -486,7 +486,7 @@ async function installPackageDirLocked(params) {
|
|
|
486
486
|
error: withRollback(`npm install failed: ${String(err)}`, rollbackError)
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
if (backupDir) await
|
|
489
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
490
490
|
recursive: true,
|
|
491
491
|
force: true
|
|
492
492
|
}).catch(() => void 0);
|
|
@@ -502,7 +502,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region src/infra/install-target.ts
|
|
504
504
|
async function resolveCanonicalInstallTarget(params) {
|
|
505
|
-
await
|
|
505
|
+
await fsPromises.mkdir(params.baseDir, { recursive: true });
|
|
506
506
|
const targetDirResult = resolveSafeInstallDir({
|
|
507
507
|
baseDir: params.baseDir,
|
|
508
508
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { c as loadConfig } from "./config-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { gr as createPluginLoaderLogger, k as loadOpenClawPlugins } from "./agent-turn-execute-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
2
|
+
import { c as loadConfig } from "./config-D--rwfpd.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BZ0wFh-U.js";
|
|
4
|
+
import { gr as createPluginLoaderLogger, k as loadOpenClawPlugins } from "./agent-turn-execute-CGTvDxUE.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-BwupN_XV.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ct as CONFIG_DIR, vt as normalizeE164 } from "./globals-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { $r as listIMessageAccountIds, Ar as listChannelPlugins, Br as resolveDefaultSlackAccountId, Ft as formatChannelPrimerLine, It as formatChannelSelectionLine, Jc as hasConfiguredSecretInput, Jr as resolveSignalAccount, Kr as listSignalAccountIds, Rt as listChatChannels, Ut as getActiveGatewayPluginRegistry, Vr as resolveSlackAccount, ai as resolveDefaultDiscordAccountId, ei as resolveDefaultIMessageAccountId, kr as getChannelPlugin, oi as resolveDiscordAccount, qr as resolveDefaultSignalAccountId, qt as markActivePluginRegistryChanged, ri as listDiscordAccountIds, ti as resolveIMessageAccount, zr as listSlackAccountIds } from "./config-
|
|
5
|
-
import { O as DEFAULT_ACCOUNT_ID, k as normalizeAccountId } from "./session-key-
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
2
|
+
import { ct as CONFIG_DIR, vt as normalizeE164 } from "./globals-3lUHnZas.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-xTuYkxuQ.js";
|
|
4
|
+
import { $r as listIMessageAccountIds, Ar as listChannelPlugins, Br as resolveDefaultSlackAccountId, Ft as formatChannelPrimerLine, It as formatChannelSelectionLine, Jc as hasConfiguredSecretInput, Jr as resolveSignalAccount, Kr as listSignalAccountIds, Rt as listChatChannels, Ut as getActiveGatewayPluginRegistry, Vr as resolveSlackAccount, ai as resolveDefaultDiscordAccountId, ei as resolveDefaultIMessageAccountId, kr as getChannelPlugin, oi as resolveDiscordAccount, qr as resolveDefaultSignalAccountId, qt as markActivePluginRegistryChanged, ri as listDiscordAccountIds, ti as resolveIMessageAccount, zr as listSlackAccountIds } from "./config-D--rwfpd.js";
|
|
5
|
+
import { O as DEFAULT_ACCOUNT_ID, k as normalizeAccountId } from "./session-key-Cr27HfX5.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BZ0wFh-U.js";
|
|
7
|
+
import { t as runCommandWithTimeout } from "./exec-DWOKM6EC.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DWAk9aIH.js";
|
|
9
|
-
import { mt as normalizeDiscordSlug } from "./send-
|
|
10
|
-
import { B as resolveDiscordChannelAllowlist, I as resolveSlackChannelAllowlist, In as resolveSlackUserAllowlist, Ln as resolveDiscordUserAllowlist, gr as createPluginLoaderLogger, k as loadOpenClawPlugins } from "./agent-turn-execute-
|
|
11
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
12
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
13
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
14
|
-
import { t as formatDocsLink } from "./links-
|
|
9
|
+
import { mt as normalizeDiscordSlug } from "./send-D1V_gt-x.js";
|
|
10
|
+
import { B as resolveDiscordChannelAllowlist, I as resolveSlackChannelAllowlist, In as resolveSlackUserAllowlist, Ln as resolveDiscordUserAllowlist, gr as createPluginLoaderLogger, k as loadOpenClawPlugins } from "./agent-turn-execute-CGTvDxUE.js";
|
|
11
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BtVVoq7k.js";
|
|
12
|
+
import { s as normalizeIMessageHandle } from "./send-CVaGAWEm.js";
|
|
13
|
+
import { r as detectBinary } from "./onboard-helpers-Bz91Pf6D.js";
|
|
14
|
+
import { t as formatDocsLink } from "./links-CPIBVJ0k.js";
|
|
15
15
|
import { t as resolveBrewExecutable } from "./brew-CKGO8U5A.js";
|
|
16
|
-
import { t as moveSingleAccountChannelSectionToDefaultAccount } from "./setup-helpers-
|
|
17
|
-
import { t as resolveChannelDefaultAccountId } from "./helpers-
|
|
18
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
19
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
20
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
21
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
16
|
+
import { t as moveSingleAccountChannelSectionToDefaultAccount } from "./setup-helpers-BQ-rg8A3.js";
|
|
17
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-DpVn76ht.js";
|
|
18
|
+
import { t as enablePluginInConfig } from "./enable-B7CD1rL9.js";
|
|
19
|
+
import { s as extractArchive } from "./install-safe-path-2eEPQsHT.js";
|
|
20
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-DSwIaqJH.js";
|
|
21
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-NHz-APrm.js";
|
|
22
22
|
import os from "node:os";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs, { createWriteStream } from "node:fs";
|
|
25
|
-
import
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import { pipeline } from "node:stream/promises";
|
|
27
27
|
import { request } from "node:https";
|
|
28
28
|
|
|
@@ -1137,7 +1137,7 @@ async function findSignalCliBinary(root) {
|
|
|
1137
1137
|
const candidates = [];
|
|
1138
1138
|
const enqueue = async (dir, depth) => {
|
|
1139
1139
|
if (depth > 3) return;
|
|
1140
|
-
const entries = await
|
|
1140
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1141
1141
|
for (const entry of entries) {
|
|
1142
1142
|
const full = path.join(dir, entry.name);
|
|
1143
1143
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1158,7 +1158,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1158
1158
|
const prefix = result.stdout.trim();
|
|
1159
1159
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1160
1160
|
try {
|
|
1161
|
-
await
|
|
1161
|
+
await fsPromises.access(candidate);
|
|
1162
1162
|
return candidate;
|
|
1163
1163
|
} catch {
|
|
1164
1164
|
return findSignalCliBinary(prefix);
|
|
@@ -1214,12 +1214,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1214
1214
|
ok: false,
|
|
1215
1215
|
error: "No compatible release asset found for this platform."
|
|
1216
1216
|
};
|
|
1217
|
-
const tmpDir = await
|
|
1217
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1218
1218
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1219
1219
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1220
1220
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1221
1221
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1222
|
-
await
|
|
1222
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1223
1223
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1224
1224
|
ok: false,
|
|
1225
1225
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1238,7 +1238,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1238
1238
|
ok: false,
|
|
1239
1239
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1240
1240
|
};
|
|
1241
|
-
await
|
|
1241
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1242
1242
|
return {
|
|
1243
1243
|
ok: true,
|
|
1244
1244
|
cliPath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Eo as buildModelAliasIndex, Hc as normalizeOptionalSecretInput, Uc as normalizeSecretInput, Yc as isSecretRef, jo as modelKey, nl as DEFAULT_PROVIDER } from "./config-
|
|
2
|
+
import { Eo as buildModelAliasIndex, Hc as normalizeOptionalSecretInput, Uc as normalizeSecretInput, Yc as isSecretRef, jo as modelKey, nl as DEFAULT_PROVIDER } from "./config-D--rwfpd.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-1Rifi233.js";
|
|
4
4
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-D8Tjpp41.js";
|
|
5
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
6
|
-
import { c as normalizeAlias } from "./shared-
|
|
7
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
5
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-NHz-APrm.js";
|
|
6
|
+
import { c as normalizeAlias } from "./shared-CN5xidM6.js";
|
|
7
|
+
import { r as applyPrimaryModel } from "./model-picker-BYGP4JvH.js";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/onboard-custom.ts
|
|
10
10
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Et as sleep, St as resolveUserPath, Tt as shortenHomePath, ct as CONFIG_DIR, wt as shortenHomeInString } from "./globals-
|
|
2
|
+
import { Et as sleep, St as resolveUserPath, Tt as shortenHomePath, ct as CONFIG_DIR, wt as shortenHomeInString } from "./globals-3lUHnZas.js";
|
|
3
3
|
import { o as resolveConfigPath } from "./paths-BMo6kTge.js";
|
|
4
|
-
import { $ as isAvatarImageDataUrl, Mi as GATEWAY_CLIENT_NAMES, Q as isAvatarHttpUrl, _r as resolveSessionTranscriptsDirForAgent, ao as isSafeExecutableValue, ji as GATEWAY_CLIENT_MODES, rt as looksLikeAvatarPath } from "./config-
|
|
4
|
+
import { $ as isAvatarImageDataUrl, Mi as GATEWAY_CLIENT_NAMES, Q as isAvatarHttpUrl, _r as resolveSessionTranscriptsDirForAgent, ao as isSafeExecutableValue, ji as GATEWAY_CLIENT_MODES, rt as looksLikeAvatarPath } from "./config-D--rwfpd.js";
|
|
5
5
|
import { t as VERSION } from "./version-D_9__Xw6.js";
|
|
6
|
-
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
7
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
8
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
9
|
-
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-
|
|
6
|
+
import { E as ensureAgentWorkspace, F as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-BZ0wFh-U.js";
|
|
7
|
+
import { t as runCommandWithTimeout } from "./exec-DWOKM6EC.js";
|
|
8
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-B5JdDATD.js";
|
|
9
|
+
import { l as pickPrimaryLanIPv4, s as isValidIPv4 } from "./ws-Dnz-ugxp.js";
|
|
10
10
|
import { n as docsSiteUrl } from "./docs-site-B8KujBhr.js";
|
|
11
|
-
import { n as callGateway } from "./call-
|
|
12
|
-
import { t as isWSL } from "./wsl-
|
|
13
|
-
import { r as stylePromptTitle } from "./prompt-style-
|
|
11
|
+
import { n as callGateway } from "./call-BY-wbSIJ.js";
|
|
12
|
+
import { t as isWSL } from "./wsl-Bm8bcioC.js";
|
|
13
|
+
import { r as stylePromptTitle } from "./prompt-style-CevZQqqE.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fsPromises from "node:fs/promises";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
import { cancel, isCancel } from "@clack/prompts";
|
|
@@ -243,7 +243,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
243
243
|
});
|
|
244
244
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
245
245
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
246
|
-
await
|
|
246
|
+
await fsPromises.mkdir(sessionsDir, { recursive: true });
|
|
247
247
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
248
248
|
}
|
|
249
249
|
function resolveNodeManagerOptions() {
|
|
@@ -265,7 +265,7 @@ function resolveNodeManagerOptions() {
|
|
|
265
265
|
async function moveToTrash(pathname, runtime) {
|
|
266
266
|
if (!pathname) return;
|
|
267
267
|
try {
|
|
268
|
-
await
|
|
268
|
+
await fsPromises.access(pathname);
|
|
269
269
|
} catch {
|
|
270
270
|
return;
|
|
271
271
|
}
|
|
@@ -288,7 +288,7 @@ async function detectBinary(name) {
|
|
|
288
288
|
if (!isSafeExecutableValue(name)) return false;
|
|
289
289
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
290
290
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
291
|
-
await
|
|
291
|
+
await fsPromises.access(resolved);
|
|
292
292
|
return true;
|
|
293
293
|
} catch {
|
|
294
294
|
return false;
|