@bitseek/claw 1.3.8 → 1.3.9-beta.1
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/{accounts-DtaSiAum.js → accounts-CQrvvU8V.js} +1 -1
- package/dist/{accounts-CTKra7aS.js → accounts-CzfKkJDx.js} +7 -7
- package/dist/{accounts-B4wV9IFm.js → accounts-YtMo-RPC.js} +1 -1
- package/dist/{acp-cli-CSRDFixR.js → acp-cli-C0Oz6RFa.js} +8 -8
- package/dist/{agent-scope-BrbgAMci.js → agent-scope-qYbUVCHn.js} +1 -1
- package/dist/{agents-B3roVbYI.js → agents-BM-ZKSEg.js} +15 -15
- package/dist/{agents.config-DKv0epKg.js → agents.config-BEcfoo1-.js} +1 -1
- package/dist/{agents.config-BLKDc8io.js → agents.config-ClQFzaOQ.js} +2 -2
- package/dist/{api-key-rotation-BdoPDM3X.js → api-key-rotation-XTdz_cvI.js} +1 -1
- package/dist/{audio-preflight-Pdv9uiw6.js → audio-preflight-B6Jw9LUM.js} +36 -36
- package/dist/{audio-preflight-WTpRy-aJ.js → audio-preflight-NS22yhPn.js} +4 -4
- package/dist/{audio-transcription-runner-DBPatTZv.js → audio-transcription-runner-CF3DjqKy.js} +22 -22
- package/dist/{audio-transcription-runner-Dr-10P1O.js → audio-transcription-runner-CzMSMQMZ.js} +1 -1
- package/dist/{audit-p4lBCTPz.js → audit-pIY_GfjC.js} +29 -29
- package/dist/{auth-DuCrQ5K9.js → auth-DhaM6Od5.js} +1 -1
- package/dist/{auth-choice-BogBxPQ0.js → auth-choice-BrLJAJGb.js} +16 -16
- package/dist/{auth-choice-CWhbVAmr.js → auth-choice-C3dhoMS4.js} +13 -13
- package/dist/{auth-choice-BQK5dp_R.js → auth-choice-DGXGJoXu.js} +4 -4
- package/dist/{auth-choice-hbnbmdPS.js → auth-choice-_Wo8GXjs.js} +6 -6
- package/dist/{auth-choice.apply-helpers-CtAelPdF.js → auth-choice.apply-helpers-DI1qnxc_.js} +1 -1
- package/dist/{auth-profiles-k09E8RLJ.js → auth-profiles-CDN1QqUB.js} +16 -16
- package/dist/{auth-token-CWb4NQTJ.js → auth-token-CIvRoAe-.js} +2 -2
- package/dist/{auth-token-CI-GllDN.js → auth-token-CRAgPghb.js} +1 -1
- package/dist/{banner-DyZFjt3Q.js → banner-B9UvF4z4.js} +2 -2
- package/dist/{bindings-C9vpkXej.js → bindings-D9ZiGe2K.js} +1 -1
- package/dist/{bonjour-discovery-DyLRXLw1.js → bonjour-discovery-CBcz-0Ts.js} +1 -1
- package/dist/{browser-cli-CDsv9Dvw.js → browser-cli-CTcWXrJp.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-CBH5yDff.js → call-BSBuLNiX.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-C3TU0o4T.js → channel-account-context-Cc-TbAKt.js} +5 -5
- package/dist/{channel-options-CGVF-HMA.js → channel-options-BRRdrC9x.js} +1 -1
- package/dist/{channel-options-9r0jhaF7.js → channel-options-CZEJHqmF.js} +3 -3
- package/dist/{channel-selection-DZrPYytY.js → channel-selection-BKyzCX35.js} +1 -1
- package/dist/{channel-web-Df9c4iPg.js → channel-web-BYVOTPmg.js} +18 -18
- package/dist/{channel-web-BdhYBnK6.js → channel-web-ByefSgLT.js} +1 -1
- package/dist/{channels-cli-Bi5IcGws.js → channels-cli-1K3Yksx3.js} +97 -97
- package/dist/{channels-cli-Ddkqw9Mr.js → channels-cli-FTPLPjn_.js} +8 -8
- package/dist/{channels-status-issues-Bb3ugkRr.js → channels-status-issues-Cn340Vbe.js} +1 -1
- package/dist/{chrome-YNj1BDzJ.js → chrome-CXHFx_t_.js} +8 -8
- package/dist/{chrome-BVlYi4nu.js → chrome-zP7qr3zd.js} +4 -4
- package/dist/{clawbot-cli-CkZGXd20.js → clawbot-cli-Nk_oXaxe.js} +5 -5
- package/dist/{cli-SRX-F7x2.js → cli-B0LS_4ca.js} +3 -3
- package/dist/{cli-2CbkQG_y.js → cli-vh3rYuO3.js} +78 -78
- package/dist/{client-CIji7FpE.js → client-Swf30UOh.js} +2 -2
- package/dist/{command-registry-C96NPlx4.js → command-registry-DizyPDOx.js} +13 -13
- package/dist/{commands-B7V-vN3N.js → commands-B8w5Izi1.js} +1 -1
- package/dist/{commands-registry-B6LbRm3U.js → commands-registry-Ctux_Nq3.js} +3 -3
- package/dist/{completion-cli-DujZccrD.js → completion-cli-Bbv9l5N1.js} +13 -13
- package/dist/{completion-cli-Die9PKu8.js → completion-cli-D07jjhoZ.js} +1 -1
- package/dist/{config-cli-DgKjaGSi.js → config-cli-D2xpDDZk.js} +7 -7
- package/dist/{config-cli-HVxj89-L.js → config-cli-vYwGYJCs.js} +1 -1
- package/dist/{config-guard-D5XZLbXA.js → config-guard-CSxpqsBG.js} +3 -3
- package/dist/{config-validation-DT8qQYoa.js → config-validation-Tf6YL4jH.js} +3 -3
- package/dist/{configure-D51Hau9O.js → configure-CgVQBDSn.js} +17 -17
- package/dist/{configure-B5vrrqHX.js → configure-DRlSxG-S.js} +4 -4
- package/dist/{constants-BJMtcGm_.js → constants-BLoDkl98.js} +1 -1
- package/dist/{constants-D1Q8yQ1_.js → constants-By6nxsIT.js} +1 -1
- package/dist/{context-window-guard-DfLcl4Sl.js → context-window-guard-aKoSfdAy.js} +1 -1
- package/dist/{context-window-guard-BqrKjiIm.js → context-window-guard-cHOCxHiA.js} +1 -1
- package/dist/control-ui/assets/{index-CZbqZLPL.js → index-CRehj7ln.js} +2 -2
- package/dist/control-ui/assets/{index-CZbqZLPL.js.map → index-CRehj7ln.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/dist/{control-ui-assets-Bn4e_1By.js → control-ui-assets-BxJ3OmP_.js} +1 -1
- package/dist/{cron-cli-D6OHJFdO.js → cron-cli-BrpTLnwT.js} +12 -12
- package/dist/{daemon-cli-BxFuWNM-.js → daemon-cli-S2o4Kcwu.js} +15 -15
- package/dist/{daemon-install-BjgH7Ld5.js → daemon-install-C0YHpEQQ.js} +4 -4
- package/dist/{daemon-install-helpers-Crntu4pF.js → daemon-install-helpers-DLIsWH31.js} +11 -11
- package/dist/{dashboard-B0FYUw0G.js → dashboard-B_7Hjxc6.js} +2 -2
- package/dist/{deliver-Bm4UojU1.js → deliver-CQmmhMaR.js} +7 -7
- package/dist/{deliver-Bm--5hb3.js → deliver-D8BB6x5x.js} +1 -1
- package/dist/{devices-cli-D2qzgS6n.js → devices-cli-CXtMoEZv.js} +8 -8
- package/dist/{diagnostic-DOls91uN.js → diagnostic-C5Por-ID.js} +1 -1
- package/dist/{diagnostics-D4xhje-h.js → diagnostics-0PFoNolS.js} +5 -5
- package/dist/{directory-cli-BDxc1M2a.js → directory-cli-NpBfkxfT.js} +8 -8
- package/dist/{dns-cli-DImurxu6.js → dns-cli-CNYoy9mq.js} +5 -5
- package/dist/{dock-CcEfMX5D.js → dock-CHDx-TGb.js} +4 -4
- package/dist/{docs-cli-Cp25W8Hv.js → docs-cli-CLZqiB15.js} +4 -4
- package/dist/{doctor-completion-DvD6Gxce.js → doctor-completion-BNi7ptNw.js} +2 -2
- package/dist/{doctor-completion-lIcN0oMj.js → doctor-completion-UZdGnqnu.js} +1 -1
- package/dist/{doctor-config-flow-DtaIUiEk.js → doctor-config-flow-m-m_m5Ot.js} +15 -15
- package/dist/{enable-Dfmg2SV3.js → enable-yaF2vNOj.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-IOB4HV3z.js → exec-approvals-allowlist-Cw4xMxbI.js} +1 -1
- package/dist/{exec-approvals-cli-B6X8jOx7.js → exec-approvals-cli-BffaLELS.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CEdwujzY.js → exec-safe-bin-runtime-policy-Bu0TwxE1.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-guard-oYuVfv1t.js → fetch-guard-CQZ5FOwI.js} +1 -1
- package/dist/{fetch-BAv7yBBS.js → fetch-lTdl-0IY.js} +3 -3
- package/dist/{fs-safe--YXsniNZ.js → fs-safe-BQS_SZ0h.js} +24 -24
- package/dist/{gateway-cli-DY5myR89.js → gateway-cli-C6GyBLpi.js} +163 -163
- package/dist/{gateway-cli-DdxZ9xQz.js → gateway-cli-Dw1idMZc.js} +11 -11
- package/dist/{gateway-rpc-C6F7QPVq.js → gateway-rpc-qWYRLZ-Z.js} +1 -1
- package/dist/{health-DOIxOlnm.js → health-DNfTeO7M.js} +14 -14
- package/dist/{health-C_kdAhpo.js → health-ocUZcPl0.js} +1 -1
- package/dist/{hooks-cli-B3VUhq72.js → hooks-cli-BN1FA7w2.js} +86 -86
- package/dist/{hooks-cli-BA7lw_VT.js → hooks-cli-DPYujpRe.js} +4 -4
- package/dist/{hooks-status-qBCorl-z.js → hooks-status-BE0dSQIW.js} +1 -1
- package/dist/{image-Dq4M8xkz.js → image-9Zoi2bjp.js} +1 -1
- package/dist/{image-BOSsTjNj.js → image-BgCM5v5-.js} +5 -5
- package/dist/{plugin-sdk/image-ops-CfQjZch5.js → image-ops-HxQLrFqd.js} +11 -11
- package/dist/index.js +8 -8
- package/dist/{inspect-DkrsY9Gy.js → inspect-DY_qpyux.js} +4 -4
- package/dist/{install-safe-path-DXP_88Em.js → install-safe-path-K9dhxxcy.js} +25 -25
- package/dist/{installs-DgI58LlC.js → installs-BYz0q4kc.js} +9 -9
- package/dist/{ipv4-BuO7nxQZ.js → ipv4-Bj71-jpu.js} +1 -1
- package/dist/{ir-BCl0dA3G.js → ir-C_-vG6Lv.js} +6 -6
- package/dist/{issue-format-Cat2txpr.js → issue-format-1i6b6tFd.js} +1 -1
- package/dist/{json-files-DrZ4qfxw.js → json-files-1hhV5hS6.js} +8 -8
- package/dist/{lifecycle-core-CliTbXyj.js → lifecycle-core-BZVbJEGI.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-_s-srXtA.js → login-KG5TFHFb.js} +3 -3
- package/dist/{login-qr-BNBXsYor.js → login-qr-D4L1NDeu.js} +6 -6
- package/dist/{logs-cli-B4Nwp099.js → logs-cli-D2lMkM4P.js} +9 -9
- package/dist/{manager-rK3J4Po3.js → manager-C0nx9SKi.js} +14 -14
- package/dist/{manifest-registry-hRB5Jb3F.js → manifest-registry-Co__Fy6F.js} +1 -1
- package/dist/{markdown-tables-Mk_tnsfY.js → markdown-tables-D47ZANhY.js} +1 -1
- package/dist/{memory-cli-BbEwsmor.js → memory-cli-BwxTb296.js} +12 -12
- package/dist/{model-Cd4C4aY1.js → model-C30BtXEI.js} +2 -2
- package/dist/{model-catalog-Chb7lzRo.js → model-catalog-C0pv85X0.js} +3 -3
- package/dist/{model-picker-CdgwJ2MU.js → model-picker-Dediiqpo.js} +4 -4
- package/dist/{models-CL1jaXSC.js → models-Ce7-hWMS.js} +18 -18
- package/dist/{models-cli-BUx2kqz5.js → models-cli-DFbGnftf.js} +5 -5
- package/dist/{models-cli-BeARCGBj.js → models-cli-Dwoe-FI7.js} +83 -83
- package/dist/{models-config-CkOKPbk9.js → models-config-NbV2Gu7N.js} +6 -6
- package/dist/{net-Bxr80JTs.js → net-DrfP4uzJ.js} +2 -2
- package/dist/{node-cli-DelBH0Tb.js → node-cli-CnKN38mM.js} +33 -33
- package/dist/{node-command-policy-DKPye8Fx.js → node-command-policy-xyqdwsT9.js} +1 -1
- package/dist/{node-service-Cei5AkFg.js → node-service-DEfPXKwF.js} +1 -1
- package/dist/{nodes-cli-CLNRURvx.js → nodes-cli-CFaqvZCM.js} +16 -16
- package/dist/{nodes-screen-NjyoMja_.js → nodes-screen-DNzr75bx.js} +7 -7
- package/dist/{npm-pack-install-B5tn-EtA.js → npm-pack-install-U_Bbmdqc.js} +18 -18
- package/dist/{npm-resolution-Brdkv6mO.js → npm-resolution-NU87E585.js} +5 -5
- package/dist/{npm-resolution-BeSDvlKA.js → npm-resolution-UrxewxGl.js} +1 -1
- package/dist/{onboard-Bh-I_8wZ.js → onboard-DQJBMWJS.js} +6 -6
- package/dist/{onboard-HvQow36S.js → onboard-LZ6tipk6.js} +3 -3
- package/dist/{onboard-channels-BaxiM8OU.js → onboard-channels-DfwMG2Iz.js} +1 -1
- package/dist/{onboard-channels-gTeBkpnk.js → onboard-channels-QqxIfBtd.js} +20 -20
- package/dist/{onboard-custom-DhEI_A-m.js → onboard-custom-9NaQoCKF.js} +3 -3
- package/dist/{onboard-custom-CAZn5F-O.js → onboard-custom-DMbBGzSj.js} +1 -1
- package/dist/{onboard-custom.shared-iqEaG2E4.js → onboard-custom.shared-BQL_jJyK.js} +1 -1
- package/dist/{onboard-custom.shared-DoXUpHZV.js → onboard-custom.shared-tQHd1XwJ.js} +3 -3
- package/dist/{onboard-helpers-ngPRx_6_.js → onboard-helpers-DX8Hw_zc.js} +11 -11
- package/dist/{onboard-hooks-CJvqjkid.js → onboard-hooks-DCPdhrCK.js} +4 -4
- package/dist/{onboard-remote-DRt29Vs4.js → onboard-remote-aF3GW6mE.js} +3 -3
- package/dist/{onboard-skills-CoWAaHHg.js → onboard-skills-CzFxXcom.js} +4 -4
- package/dist/{onboarding-COYDqpHi.js → onboarding-B_rDL9Ys.js} +4 -4
- package/dist/{onboarding-DeqWu7mq.js → onboarding-DW6uIEzO.js} +13 -13
- package/dist/{onboarding.finalize-BAWi9byG.js → onboarding.finalize-CGr5_H5z.js} +7 -7
- package/dist/{onboarding.finalize-DsXoykZY.js → onboarding.finalize-s5gEMxIF.js} +91 -91
- package/dist/{onboarding.gateway-config-B1orRdI7.js → onboarding.gateway-config-B5jnM62F.js} +18 -18
- package/dist/{openai-model-default-DRYz3m4d.js → openai-model-default-B3H7klS8.js} +2 -2
- package/dist/{openai-model-default-bZOrINL4.js → openai-model-default-uDQ6_Ui_.js} +1 -1
- package/dist/{outbound-BGJh4s6Y.js → outbound-CF1Hd23W.js} +4 -4
- package/dist/{outbound-attachment-Baso-yal.js → outbound-attachment-BMlPpVOn.js} +2 -2
- package/dist/{pairing-cli-DgUIYETM.js → pairing-cli-DkVLCjGa.js} +9 -9
- package/dist/{pairing-labels-BPTURWrI.js → pairing-labels-CesrJlbr.js} +1 -1
- package/dist/{pairing-store-WGGwqFJB.js → pairing-store-BcJH8WDh.js} +3 -3
- package/dist/{path-alias-guards-DdR4BKPM.js → path-alias-guards-C_j0uB0Y.js} +3 -3
- package/dist/{path-safety-DiJhMaUA.js → path-safety-BHBxNYfO.js} +1 -1
- package/dist/{paths-BPXmr3Zn.js → paths-Bj8pNglF.js} +9 -9
- package/dist/{pi-embedded-Cdh8_a82.js → pi-embedded-Bj3xuwXx.js} +23 -23
- package/dist/{pi-embedded-BJ2D2U7f.js → pi-embedded-DTg-Ul9w.js} +3 -3
- package/dist/{pi-embedded-helpers-CILyFDv-.js → pi-embedded-helpers-CYWOTCLT.js} +3 -3
- package/dist/{pi-embedded-helpers-ET1kDdN1.js → pi-embedded-helpers-Cc4tC0fE.js} +6 -6
- package/dist/{pi-model-discovery-COnY_kTM.js → pi-model-discovery-ItDCP5Ab.js} +1 -1
- package/dist/{pi-tools.policy-Cp3wptYh.js → pi-tools.policy-BbLCMNCc.js} +5 -5
- package/dist/{plugin-auto-enable-Bm8hMcPA.js → plugin-auto-enable-BxiIEIvc.js} +3 -3
- package/dist/{plugin-registry-DWd-znRA.js → plugin-registry-CHsntQZd.js} +3 -3
- package/dist/{plugin-registry-BaDFrxdr.js → plugin-registry-DwuteAi0.js} +1 -1
- package/dist/plugin-sdk/{accounts-CqgyHS8h.js → accounts-BME088co.js} +1 -1
- package/dist/plugin-sdk/{accounts-kIersDAH.js → accounts-CxgIc7BC.js} +1 -1
- package/dist/plugin-sdk/{accounts-B_Sil4df.js → accounts-DFIfXHdI.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B1c6rQRy.js → active-listener-Dx4YdW0B.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DS0HILk_.js → agent-scope-BL5NPpGJ.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-C2Z5xB6w.js → api-key-rotation-DZ1mvKN0.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-Byc0yvPV.js → audio-preflight-B8r8qUhZ.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DHcTy4Wb.js → audio-transcription-runner-B8gQ16hV.js} +10 -10
- package/dist/plugin-sdk/{bindings-D8UvbNti.js → bindings-YKerL1Tc.js} +2 -2
- package/dist/plugin-sdk/bitseek/constants.d.ts +1 -1
- package/dist/plugin-sdk/{channel-activity-CMtaqeTg.js → channel-activity-Dzyx86FD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D3N-Ttls.js → channel-web-B74yPv7p.js} +23 -23
- package/dist/plugin-sdk/{chrome-DoDlUT7F.js → chrome-Hte84S6l.js} +7 -7
- package/dist/plugin-sdk/{chunk-BuHZrtLn.js → chunk-4pLJcTE-.js} +1 -1
- package/dist/plugin-sdk/{command-format-9ttCUvaP.js → command-format-TmcJI6nP.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-ydkoxruZ.js → commands-registry-D1UwEKAH.js} +5 -5
- package/dist/plugin-sdk/{config-BkeO1N4t.js → config-kqUrcUGI.js} +10 -10
- package/dist/plugin-sdk/{deliver-BcAT1l6Y.js → deliver-DymnzypV.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BefhWusS.js → diagnostic-1MgpiorV.js} +2 -2
- package/dist/plugin-sdk/{dock-yYEdNzbx.js → dock-Csf-65jq.js} +6 -6
- package/dist/plugin-sdk/{errors-D2KyTKs6.js → errors-BRahpZsP.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BC92RxgN.js → fetch-guard-cD2GBmNp.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CC4mG_Hc.js → fs-safe-DgdRzasF.js} +3 -3
- package/dist/plugin-sdk/{image-Cjm_y1ht.js → image-m9sEMr_K.js} +6 -6
- package/dist/{image-ops-B2K36FLD.js → plugin-sdk/image-ops-DhVTERkS.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-CLKvSg7X.js → ir-DyMWDxUp.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DYmtEf6P.js → local-roots-ChmGReXd.js} +4 -4
- package/dist/plugin-sdk/{logger-Dqmpx59X.js → logger-BwzMchOl.js} +1 -1
- package/dist/plugin-sdk/{login-DYEbRdfH.js → login-DIgrxuIQ.js} +6 -6
- package/dist/plugin-sdk/{login-qr-0YUEfC35.js → login-qr-DeAbaqfx.js} +9 -9
- package/dist/plugin-sdk/{manager-J_9hr0Yu.js → manager-Bic1h3Nu.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BA_MdGIq.js → markdown-tables-BEWLluuz.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CeYrurhu.js → message-channel-Be6xIObc.js} +1 -1
- package/dist/plugin-sdk/{outbound-B386FQiU.js → outbound-D7OdBk5M.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DgC7KgEZ.js → outbound-attachment-Y-wO2Csk.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-KB1li1UU.js → path-alias-guards-CsekuFRi.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CbevdnHV.js → pi-embedded-helpers-BWFPgWTA.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-Blr1NdM4.js → pi-model-discovery-DRomJojM.js} +1 -1
- package/dist/plugin-sdk/{plugins-Dupyelyu.js → plugins-DKZ5hSLA.js} +6 -6
- package/dist/plugin-sdk/{proxy-CnPaiSZ0.js → proxy-DIYzaAvh.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BY4mmpys.js → proxy-fetch-X6Ja_eZx.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-C1rLCgeF.js → pw-ai-MuLgIL01.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BtfjLkaZ.js → qmd-manager-D3p7PB5n.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-DgHoeKXG.js → query-expansion-C90Jc5uo.js} +2 -2
- package/dist/plugin-sdk/{redact-Civ2olvH.js → redact-DEfi9F2o.js} +1 -1
- package/dist/plugin-sdk/{registry-Cq-TQPU8.js → registry-BfD4IdFK.js} +2 -2
- package/dist/plugin-sdk/{replies-a2WeMkU6.js → replies-GRjUBMUL.js} +3 -3
- package/dist/plugin-sdk/{reply-C2XVty9G.js → reply-BLgFJt3A.js} +94 -94
- package/dist/plugin-sdk/{reply-prefix-BRomwQau.js → reply-prefix-CobEDhG_.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-B_xKgqWe.js → resolve-outbound-target-DkNri48r.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-yLtq9xkG.js → resolve-route-fu19EHnm.js} +4 -4
- package/dist/plugin-sdk/{retry-D9aKv766.js → retry-Agt7ZiSn.js} +1 -1
- package/dist/plugin-sdk/{send-Ct2mLh8U.js → send-BB06ROuk.js} +15 -15
- package/dist/plugin-sdk/{send-Bs-YbYdN.js → send-BUpepCol.js} +6 -6
- package/dist/plugin-sdk/{send-WwwzoTNW.js → send-C5ymrC3h.js} +7 -7
- package/dist/plugin-sdk/{send-kJXSgFcu.js → send-CvC0d45Z.js} +10 -10
- package/dist/plugin-sdk/{send-_MTxUi5p.js → send-DwXcBQYC.js} +8 -8
- package/dist/plugin-sdk/{session-Bfpm71Tg.js → session-D8BNggg2.js} +5 -5
- package/dist/plugin-sdk/{session-meta-CM4K7B00.js → session-meta-DYb6KCvG.js} +1 -1
- package/dist/plugin-sdk/{sessions-DFx8MKSO.js → sessions-BtJmhzev.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-CakvOluN.js → skill-commands-C3OZ4W61.js} +5 -5
- package/dist/plugin-sdk/{skills-CZFBOkwT.js → skills-CIvz2coj.js} +8 -8
- package/dist/plugin-sdk/{ssrf-BjVCUeM7.js → ssrf-EGzUkeVq.js} +1 -1
- package/dist/plugin-sdk/{store-DALs5PIC.js → store-Dij_2k2X.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DQdKZm8Z.js → subsystem-C84uWxqx.js} +2 -2
- package/dist/plugin-sdk/{tables-BQwHnOX0.js → tables-CTWsNiUf.js} +1 -1
- package/dist/{target-errors-CL097N6P.js → plugin-sdk/target-errors-Bgd_Uo0g.js} +2 -2
- package/dist/plugin-sdk/{tokens-C_Ieeb03.js → tokens-B9E-mnf_.js} +1 -1
- package/dist/plugin-sdk/{tool-images-RhD8geto.js → tool-images-0gnewwTL.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CKnmaEeR.js → tool-loop-detection-Bsh07kcw.js} +2 -2
- package/dist/plugin-sdk/{utils-hxOwZduA.js → utils-BA7Xm0uM.js} +1 -1
- package/dist/plugin-sdk/web-DqzB-SV4.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CudQXAzF.js → whatsapp-actions-BLoPRR5B.js} +25 -25
- package/dist/{plugins-CO6qDFdk.js → plugins--_65-dc5.js} +2 -2
- package/dist/{plugins-cli-B90nR_VK.js → plugins-cli-BJonAjTO.js} +88 -88
- package/dist/{plugins-cli-B_SrAza2.js → plugins-cli-C-8MoZzf.js} +4 -4
- package/dist/{ports-CUjMnvTs.js → ports-Cw4Nwv2D.js} +1 -1
- package/dist/{ports-Dczj_PV_.js → ports-DgCQT1oY.js} +2 -2
- package/dist/{program-CoUWrOuU.js → program-B1DDCI6U.js} +86 -86
- package/dist/{program-context-BW36TXnn.js → program-context-NPXfc1Sa.js} +18 -18
- package/dist/{prompt-select-styled-BY0UebAF.js → prompt-select-styled-BGSuv83k.js} +4 -4
- package/dist/{prompt-select-styled-CCeKGXxa.js → prompt-select-styled-C0DwQfQk.js} +39 -39
- package/dist/{provider-auth-helpers-BL5oDpRO.js → provider-auth-helpers-CkfN1Udt.js} +2 -2
- package/dist/{provider-auth-helpers-Btf9aI1h.js → provider-auth-helpers-DpMDtZGw.js} +5 -5
- package/dist/{proxy-env-DQGTNk9X.js → proxy-env-DHBs_DSq.js} +1 -1
- package/dist/{push-apns-D-Mikscg.js → push-apns-6vguSSaQ.js} +1 -1
- package/dist/{push-apns-CzIypSJf.js → push-apns-BM60Vdjq.js} +5 -5
- package/dist/{pw-ai-DRY3vRxC.js → pw-ai-CSOK1DjV.js} +1 -1
- package/dist/{pw-ai-D1Ry3gcn.js → pw-ai-DYEHR6w8.js} +15 -15
- package/dist/{qmd-manager-BNFUTVvk.js → qmd-manager-BHSD3_rI.js} +20 -20
- package/dist/{qr-cli-BTrl8Tw4.js → qr-cli-CKOGSVK_.js} +1 -1
- package/dist/{query-expansion-CP4BjmxS.js → query-expansion-BkWbp0bs.js} +12 -12
- package/dist/{redact-snapshot-QpVJSBBX.js → redact-snapshot-BzZpHz-O.js} +1 -1
- package/dist/{register.agent-BksD8xqL.js → register.agent-3NPWicXc.js} +99 -99
- package/dist/{register.agent-D32q9uR9.js → register.agent-BDgNG_vU.js} +10 -10
- package/dist/{register.configure-DMRRvVx7.js → register.configure-CqJE208_.js} +13 -13
- package/dist/register.configure-r8N_Ye2a.js +175 -0
- package/dist/{register.init-ChyHcEAX.js → register.init-DmtSU1SM.js} +17 -17
- package/dist/{register.init-EOlDrQTS.js → register.init-JoFq4yF_.js} +1 -1
- package/dist/{register.maintenance-C0zxZg0K.js → register.maintenance-CDec0C-U.js} +101 -101
- package/dist/{register.maintenance-BiWaNm96.js → register.maintenance-CwAvr3jO.js} +9 -9
- package/dist/{register.message-DizXp_pp.js → register.message-BYnoyuMR.js} +4 -4
- package/dist/{register.message-DW2G2t5n.js → register.message-DKvfL1J5.js} +79 -79
- package/dist/{register.onboard-DeZ6BYWf.js → register.onboard-B8pb4tM9.js} +18 -18
- package/dist/{register.onboard-CBbSomv2.js → register.onboard-Cgfw0grV.js} +2 -2
- package/dist/{register.setup-DWdi6O74.js → register.setup-BuEmY1JS.js} +21 -21
- package/dist/{register.setup-DFYvGlPy.js → register.setup-D5Fq2qX4.js} +2 -2
- package/dist/{register.start-CbfmMKWY.js → register.start-D0pe3Bgs.js} +17 -17
- package/dist/{register.status-health-sessions-DYoPE-bA.js → register.status-health-sessions-Cu317Sb6.js} +5 -5
- package/dist/{register.status-health-sessions-CMZuvcON.js → register.status-health-sessions-bff6FfP2.js} +93 -93
- package/dist/{register.subclis-CS79-xpm.js → register.subclis-BhOrZYL6.js} +31 -31
- package/dist/{replies-Dx5zA8IX.js → replies-uQ56Hw52.js} +1 -1
- package/dist/{reply-BuhQ-Yv_.js → reply-CnFMSknJ.js} +4 -4
- package/dist/{reply-prefix-CS57j6KU.js → reply-prefix-XmrGZdy_.js} +1 -1
- package/dist/{resolve-route-Bxji0kZW.js → resolve-route-Ukn_7wVk.js} +2 -2
- package/dist/{rpc-cRmU1tSk.js → rpc-3QEhCMY4.js} +1 -1
- package/dist/{run-main-BH5kmZli.js → run-main-XgrqfX2-.js} +97 -97
- package/dist/{runtime-COI_IE2j.js → runtime-B4lkRQQD.js} +2 -2
- package/dist/{sandbox-BNSLjYyu.js → sandbox-CEIoYXZN.js} +18 -18
- package/dist/{sandbox-cli-C1OPjNfD.js → sandbox-cli-BrTy3weD.js} +26 -26
- package/dist/{secrets-cli-7Md_QcpC.js → secrets-cli-DeFPoA0b.js} +10 -10
- package/dist/{security-cli-D68NIF3V.js → security-cli-CpDjK_Rg.js} +43 -43
- package/dist/{send-C8xKNHVm.js → send-6U8MorA7.js} +6 -6
- package/dist/{send-DX2I6KZU.js → send-BY8NE-y9.js} +8 -8
- package/dist/{send-DikEpk7w.js → send-BdKdRPi6.js} +6 -6
- package/dist/{send-CUvJIfFz.js → send-CVDGeH7A.js} +11 -11
- package/dist/{send-BpYBrb6S.js → send-CtAy9-2u.js} +5 -5
- package/dist/{server-D_wuOlkf.js → server-C9XFPL3c.js} +19 -19
- package/dist/{server-context-Dl8XC4vq.js → server-context-DtOlWY9P.js} +12 -12
- package/dist/{server-lifecycle-BIuR7Tj0.js → server-lifecycle-CXzU2NM3.js} +2 -2
- package/dist/{server-middleware-C_4mR9wU.js → server-middleware-Bp3DeSvQ.js} +1 -1
- package/dist/{server-node-events-CIKBnBfy.js → server-node-events-D9JMB4qc.js} +4 -4
- package/dist/{server-node-events-B-IAFJfU.js → server-node-events-DU4-v1FY.js} +79 -79
- package/dist/{service-BcyKtT1n.js → service-DPP3q6R4.js} +15 -15
- package/dist/{session-DyGs2JIG.js → session-6uNAHyWp.js} +1 -1
- package/dist/{session-meta-C7WybT5h.js → session-meta-DGKTOhxQ.js} +1 -1
- package/dist/{session-utils-CYaFN47T.js → session-utils-hbZzVDyj.js} +6 -6
- package/dist/{sessions-Cd7cVPC-.js → sessions-CbWqJtkx.js} +4 -4
- package/dist/{sessions-i5lEEEca.js → sessions-DB4MRK6L.js} +15 -15
- package/dist/{shared-CL0m0H8G.js → shared-D6mi8wP1.js} +1 -1
- package/dist/{shared-BKC5qsuY.js → shared-yo9kxQZW.js} +3 -3
- package/dist/{skill-commands-Cl6M7kpE.js → skill-commands-Duha9iIC.js} +5 -5
- package/dist/{skill-scanner-WUtERLdW.js → skill-scanner-Di-O2Hg-.js} +6 -6
- package/dist/{skills-cli-C0gXv9PH.js → skills-cli-Dkjzn2SU.js} +5 -5
- package/dist/{skills-B18XPCNc.js → skills-dNa7QxCF.js} +3 -3
- package/dist/{skills-install-DYR6yH15.js → skills-install-ARBA7lP0.js} +6 -6
- package/dist/{skills-status-D9Rnj4xI.js → skills-status-B4yuFDEj.js} +1 -1
- package/dist/{status-QAYDXJY7.js → status-Bc7enxs_.js} +2 -2
- package/dist/{status-Dwe_iuCP.js → status-CZzSBlnp.js} +26 -26
- package/dist/{status.update-C0psHodW.js → status.update-aARe-MF6.js} +2 -2
- package/dist/{store-D-c26kSk.js → store-BpvlJ70I.js} +5 -5
- package/dist/{subagent-registry-eE5PhOhY.js → subagent-registry-Vdjnck5t.js} +159 -159
- package/dist/{system-cli-kpN0Gb37.js → system-cli-CYspMbRb.js} +9 -9
- package/dist/{system-run-command-DFxer2oq.js → system-run-command-BJQ7Q63p.js} +1 -1
- package/dist/{systemd-ebIdQGFn.js → systemd-BtVy3Rbo.js} +9 -9
- package/dist/{systemd-hints-tCX_kug7.js → systemd-hints-BetNJuAX.js} +6 -6
- package/dist/{systemd-linger-IFrOwkb9.js → systemd-linger-CWPZsER4.js} +1 -1
- package/dist/{tables-FZbGazqi.js → tables-Bv2Hq-F0.js} +1 -1
- package/dist/{tailnet-BKoOcmOa.js → tailnet-Dynp_Pgs.js} +1 -1
- package/dist/{plugin-sdk/target-errors-DqlHqAmV.js → target-errors-Bwi1jTIf.js} +4 -4
- package/dist/{tool-images-CXfdtMwT.js → tool-images-D7dXfsZW.js} +1 -1
- package/dist/{tui-D3HyXPhF.js → tui-CYj3VX-Y.js} +6 -6
- package/dist/{tui-cli-BYXDIVRr.js → tui-cli-g7SERHtf.js} +33 -33
- package/dist/{update-D372fHKr.js → update-DbGfT3_u.js} +3 -3
- package/dist/{update-cli-DZeEWYpT.js → update-cli-5TQOseRu.js} +109 -109
- package/dist/{update-cli-D2hEVao1.js → update-cli-NdFHE4ys.js} +9 -9
- package/dist/{update-runner-BINb9QSq.js → update-runner-De50joeS.js} +1 -1
- package/dist/{update-runner-j5RoheCK.js → update-runner-FvLlPsze.js} +16 -16
- package/dist/{web-aYzDbOgP.js → web-B6scHWeE.js} +4 -4
- package/dist/{web-BpIOoTcJ.js → web-CENAFqOm.js} +6 -6
- package/dist/web-CsKCU-Xc.js +127 -0
- package/dist/{web-DcyT3FlY.js → web-DkzOj528.js} +1 -1
- package/dist/{webhooks-cli-DgLGWDer.js → webhooks-cli-CoxuOMZ6.js} +6 -6
- package/dist/{whatsapp-actions-BC00XF83.js → whatsapp-actions-0CZKI1og.js} +19 -19
- package/dist/{with-timeout-DvPUrPuK.js → with-timeout-cpgy0l-9.js} +3 -3
- package/dist/{workspace-Cuq5sS-4.js → workspace-DYiAh9n2.js} +1 -1
- package/dist/{workspace-DkRZH7vl.js → workspace-DtFDeYRa.js} +23 -23
- package/dist/{workspace-dirs-DBhaJ0y_.js → workspace-dirs-BAyX7JI2.js} +1 -1
- package/dist/{wsl-KDz114y6.js → wsl-CiVud8tt.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DLrSMEN4.js +0 -72
- package/dist/register.configure-CJVJLDtX.js +0 -175
- package/dist/web-Kse4dEsw.js +0 -127
|
@@ -2,11 +2,11 @@ import { d as colorize, p as theme } from "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir } from "./paths-nt7fRu1x.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-
|
|
5
|
+
import { Kt as analyzeArgvCommand, M as loadConfig, Xt as resolvePlannedSegmentArgv, nn as resolveExecutableFromPathEnv, tn as resolveCommandResolutionFromArgv } from "./auth-profiles-CDN1QqUB.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
7
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
7
|
+
import { i as resolveAgentConfig } from "./agent-scope-qYbUVCHn.js";
|
|
8
8
|
import "./utils-BHAtQ0dM.js";
|
|
9
|
-
import { T as sameFileIdentity } from "./workspace-
|
|
9
|
+
import { T as sameFileIdentity } from "./workspace-DtFDeYRa.js";
|
|
10
10
|
import { i as logWarn } from "./logger-rnlD7CTs.js";
|
|
11
11
|
import "./exec-lwQ7X6bf.js";
|
|
12
12
|
import "./github-copilot-token-b8zw2qi2.js";
|
|
@@ -14,52 +14,52 @@ import { a as sanitizeSystemRunEnvOverrides, i as sanitizeHostExecEnv } from "./
|
|
|
14
14
|
import { t as VERSION } from "./version-CGDNfh5C.js";
|
|
15
15
|
import "./env-vars-Dw0EwyGP.js";
|
|
16
16
|
import "./registry-eN0IzwTo.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./path-alias-guards-
|
|
17
|
+
import "./manifest-registry-Co__Fy6F.js";
|
|
18
|
+
import "./path-alias-guards-C_j0uB0Y.js";
|
|
19
19
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-bQJz_2wn.js";
|
|
20
20
|
import "./logging-CcxUDNcI.js";
|
|
21
|
-
import { r as writeJsonAtomic } from "./json-files-
|
|
22
|
-
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-
|
|
21
|
+
import { r as writeJsonAtomic } from "./json-files-1hhV5hS6.js";
|
|
22
|
+
import { nn as loadOrCreateDeviceIdentity, t as GatewayClient } from "./client-Swf30UOh.js";
|
|
23
23
|
import "./pairing-token-b8YwYBlW.js";
|
|
24
|
-
import "./net-
|
|
25
|
-
import "./tailnet-
|
|
26
|
-
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-
|
|
27
|
-
import { c as detectMime } from "./image-ops-
|
|
28
|
-
import "./chrome-
|
|
24
|
+
import "./net-DrfP4uzJ.js";
|
|
25
|
+
import "./tailnet-Dynp_Pgs.js";
|
|
26
|
+
import { a as getMachineDisplayName, i as startBrowserControlServiceFromConfig, n as createBrowserRouteDispatcher, r as createBrowserControlContext, t as withTimeout } from "./with-timeout-cpgy0l-9.js";
|
|
27
|
+
import { c as detectMime } from "./image-ops-HxQLrFqd.js";
|
|
28
|
+
import "./chrome-zP7qr3zd.js";
|
|
29
29
|
import "./tailscale-CFR4X5-p.js";
|
|
30
|
-
import "./auth-
|
|
31
|
-
import { i as resolveBrowserConfig } from "./server-context-
|
|
32
|
-
import "./paths-
|
|
30
|
+
import "./auth-DhaM6Od5.js";
|
|
31
|
+
import { i as resolveBrowserConfig } from "./server-context-DtOlWY9P.js";
|
|
32
|
+
import "./paths-Bj8pNglF.js";
|
|
33
33
|
import "./redact-BMVmEUXt.js";
|
|
34
34
|
import "./errors-BkARgYnD.js";
|
|
35
|
-
import "./fs-safe
|
|
36
|
-
import "./proxy-env-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./ports-
|
|
35
|
+
import "./fs-safe-BQS_SZ0h.js";
|
|
36
|
+
import "./proxy-env-DHBs_DSq.js";
|
|
37
|
+
import "./store-BpvlJ70I.js";
|
|
38
|
+
import "./ports-DgCQT1oY.js";
|
|
39
39
|
import "./trash-BgQvmW5g.js";
|
|
40
|
-
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-
|
|
41
|
-
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-
|
|
40
|
+
import { n as evaluateShellAllowlist, r as resolveAllowAlwaysPatterns, t as evaluateExecAllowlist } from "./exec-approvals-allowlist-Cw4xMxbI.js";
|
|
41
|
+
import { n as resolveExecSafeBinRuntimePolicy } from "./exec-safe-bin-runtime-policy-Bu0TwxE1.js";
|
|
42
42
|
import { a as mergeExecApprovalsSocketDefaults, c as readExecApprovalsSnapshot, d as resolveExecApprovals, l as recordAllowlistUse, m as requestJsonlSocket, n as addAllowlistEntry, p as saveExecApprovals, r as ensureExecApprovals, s as normalizeExecApprovals, u as requiresExecApproval } from "./exec-approvals-CUPLFghN.js";
|
|
43
|
-
import { n as resolveSystemRunCommand } from "./system-run-command-
|
|
43
|
+
import { n as resolveSystemRunCommand } from "./system-run-command-BJQ7Q63p.js";
|
|
44
44
|
import { _ as resolveNodeWindowsTaskName, c as formatNodeServiceDescription, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel } from "./constants-CVdMnAs9.js";
|
|
45
|
-
import "./server-lifecycle-
|
|
45
|
+
import "./server-lifecycle-CXzU2NM3.js";
|
|
46
46
|
import { t as formatDocsLink } from "./links-B3vCyexf.js";
|
|
47
47
|
import { t as formatHelpExamples } from "./help-format-DXdeaYOY.js";
|
|
48
48
|
import { t as ensureOpenClawCliOnPath } from "./path-env-S7Od8UBX.js";
|
|
49
|
-
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-
|
|
49
|
+
import { a as buildNodeServiceEnvironment, i as emitNodeRuntimeWarning, m as resolveNodeProgramArguments, r as resolveGatewayDevMode, u as resolvePreferredNodePath } from "./daemon-install-helpers-DLIsWH31.js";
|
|
50
50
|
import "./runtime-guard-Cpm1AIhT.js";
|
|
51
51
|
import { r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
52
|
-
import "./systemd-
|
|
53
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
54
|
-
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-
|
|
55
|
-
import { s as formatRuntimeStatus } from "./systemd-hints-
|
|
52
|
+
import "./systemd-BtVy3Rbo.js";
|
|
53
|
+
import { s as resolveGatewayLogPaths } from "./service-DPP3q6R4.js";
|
|
54
|
+
import { a as createCliStatusTextStyles, f as resolveRuntimeStatusColor, g as installDaemonServiceAndEmit, h as createDaemonActionContext, i as runServiceUninstall, m as buildDaemonServiceSnapshot, r as runServiceStop, t as runServiceRestart } from "./lifecycle-core-BZVbJEGI.js";
|
|
55
|
+
import { s as formatRuntimeStatus } from "./systemd-hints-BetNJuAX.js";
|
|
56
56
|
import { t as parsePort } from "./parse-port-Dq63ch6Y.js";
|
|
57
57
|
import { i as NODE_SYSTEM_RUN_COMMANDS, n as NODE_EXEC_APPROVALS_COMMANDS, t as NODE_BROWSER_PROXY_COMMAND } from "./node-commands-D1gL9g7M.js";
|
|
58
|
-
import { t as resolveNodeService } from "./node-service-
|
|
58
|
+
import { t as resolveNodeService } from "./node-service-DEfPXKwF.js";
|
|
59
59
|
import { spawn, spawnSync } from "node:child_process";
|
|
60
60
|
import path from "node:path";
|
|
61
61
|
import fs from "node:fs";
|
|
62
|
-
import
|
|
62
|
+
import fsPromises from "node:fs/promises";
|
|
63
63
|
import crypto from "node:crypto";
|
|
64
64
|
|
|
65
65
|
//#region src/node-host/config.ts
|
|
@@ -82,7 +82,7 @@ function normalizeConfig(config) {
|
|
|
82
82
|
async function loadNodeHostConfig() {
|
|
83
83
|
const filePath = resolveNodeHostConfigPath();
|
|
84
84
|
try {
|
|
85
|
-
const raw = await
|
|
85
|
+
const raw = await fsPromises.readFile(filePath, "utf8");
|
|
86
86
|
return normalizeConfig(JSON.parse(raw));
|
|
87
87
|
} catch {
|
|
88
88
|
return null;
|
|
@@ -178,10 +178,10 @@ function collectBrowserProxyPaths(payload) {
|
|
|
178
178
|
return [...paths];
|
|
179
179
|
}
|
|
180
180
|
async function readBrowserProxyFile(filePath) {
|
|
181
|
-
const stat = await
|
|
181
|
+
const stat = await fsPromises.stat(filePath).catch(() => null);
|
|
182
182
|
if (!stat || !stat.isFile()) return null;
|
|
183
183
|
if (stat.size > BROWSER_PROXY_MAX_FILE_BYTES) throw new Error(`browser proxy file exceeds ${Math.round(BROWSER_PROXY_MAX_FILE_BYTES / (1024 * 1024))}MB`);
|
|
184
|
-
const buffer = await
|
|
184
|
+
const buffer = await fsPromises.readFile(filePath);
|
|
185
185
|
const mimeType = await detectMime({
|
|
186
186
|
buffer,
|
|
187
187
|
filePath
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-
|
|
1
|
+
import { Bt as normalizeDeviceMetadataForPolicy } from "./client-Swf30UOh.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-D1gL9g7M.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/node-command-policy.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as resolveNodeWindowsTaskName, a as NODE_SERVICE_KIND, g as resolveNodeSystemdServiceName, h as resolveNodeLaunchAgentLabel, o as NODE_SERVICE_MARKER, s as NODE_WINDOWS_TASK_SCRIPT_NAME } from "./constants-CVdMnAs9.js";
|
|
2
|
-
import { t as resolveGatewayService } from "./service-
|
|
2
|
+
import { t as resolveGatewayService } from "./service-DPP3q6R4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/daemon/node-service.ts
|
|
5
5
|
function withNodeServiceEnv(env) {
|
|
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import "./paths-nt7fRu1x.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-
|
|
6
|
-
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { M as loadConfig, at as parseDurationMs } from "./auth-profiles-CDN1QqUB.js";
|
|
6
|
+
import { d as resolveDefaultAgentId, i as resolveAgentConfig } from "./agent-scope-qYbUVCHn.js";
|
|
7
7
|
import { b as shortenHomeInString, x as shortenHomePath } from "./utils-BHAtQ0dM.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-DtFDeYRa.js";
|
|
9
9
|
import "./logger-rnlD7CTs.js";
|
|
10
10
|
import "./exec-lwQ7X6bf.js";
|
|
11
11
|
import "./github-copilot-token-b8zw2qi2.js";
|
|
@@ -13,22 +13,22 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
13
13
|
import "./version-CGDNfh5C.js";
|
|
14
14
|
import "./env-vars-Dw0EwyGP.js";
|
|
15
15
|
import "./registry-eN0IzwTo.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-Co__Fy6F.js";
|
|
17
17
|
import "./message-channel-bQJz_2wn.js";
|
|
18
|
-
import "./client-
|
|
19
|
-
import { a as randomIdempotencyKey } from "./call-
|
|
18
|
+
import "./client-Swf30UOh.js";
|
|
19
|
+
import { a as randomIdempotencyKey } from "./call-BSBuLNiX.js";
|
|
20
20
|
import "./pairing-token-b8YwYBlW.js";
|
|
21
|
-
import "./net-
|
|
22
|
-
import "./tailnet-
|
|
21
|
+
import "./net-DrfP4uzJ.js";
|
|
22
|
+
import "./tailnet-Dynp_Pgs.js";
|
|
23
23
|
import "./redact-BMVmEUXt.js";
|
|
24
24
|
import "./errors-BkARgYnD.js";
|
|
25
|
-
import "./proxy-env-
|
|
26
|
-
import "./exec-approvals-allowlist-
|
|
27
|
-
import "./fetch-guard-
|
|
25
|
+
import "./proxy-env-DHBs_DSq.js";
|
|
26
|
+
import "./exec-approvals-allowlist-Cw4xMxbI.js";
|
|
27
|
+
import "./fetch-guard-CQZ5FOwI.js";
|
|
28
28
|
import { n as formatTimeAgo } from "./format-relative-DdvuDKIv.js";
|
|
29
29
|
import { f as resolveExecApprovalsFromFile, i as maxAsk, o as minSecurity, t as DEFAULT_EXEC_APPROVAL_TIMEOUT_MS } from "./exec-approvals-CUPLFghN.js";
|
|
30
|
-
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-
|
|
31
|
-
import "./system-run-command-
|
|
30
|
+
import { a as canvasSnapshotTempPath, b as buildNodeShellCommand, c as parseCameraClipPayload, d as writeCameraClipPayloadToFile, f as writeCameraPayloadToFile, i as parseEnvPairs, l as parseCameraSnapPayload, n as screenRecordTempPath, o as parseCanvasSnapshotPayload, p as parsePreparedSystemRunPayload, r as writeScreenRecordToFile, s as cameraTempPath, t as parseScreenRecordPayload, u as writeBase64ToFile, x as applyPathPrepend } from "./nodes-screen-DNzr75bx.js";
|
|
31
|
+
import "./system-run-command-BJQ7Q63p.js";
|
|
32
32
|
import { i as parsePairingList, r as parseNodeList } from "./node-resolve-kOyUD0le.js";
|
|
33
33
|
import { t as parseTimeoutMs } from "./parse-timeout-kGl8Fsas.js";
|
|
34
34
|
import { t as formatDocsLink } from "./links-B3vCyexf.js";
|
|
@@ -36,8 +36,8 @@ import { n as runCommandWithRuntime } from "./cli-utils-aSBNHQae.js";
|
|
|
36
36
|
import { t as formatHelpExamples } from "./help-format-DXdeaYOY.js";
|
|
37
37
|
import "./progress-B-CzNZ2g.js";
|
|
38
38
|
import { t as renderTable } from "./table-CFrE3ObJ.js";
|
|
39
|
-
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-
|
|
40
|
-
import
|
|
39
|
+
import { a as resolveNodeId, i as resolveNode, n as callGatewayCli, o as unauthorizedHintForMessage, r as nodesCallOpts, s as formatPermissions, t as buildNodeInvokeParams } from "./rpc-3QEhCMY4.js";
|
|
40
|
+
import fsPromises from "node:fs/promises";
|
|
41
41
|
|
|
42
42
|
//#region src/cli/nodes-cli/cli-utils.ts
|
|
43
43
|
function getNodesTheme() {
|
|
@@ -387,7 +387,7 @@ function registerNodesCanvasCommands(nodes) {
|
|
|
387
387
|
const hasJsonl = Boolean(opts.jsonl);
|
|
388
388
|
const hasText = typeof opts.text === "string";
|
|
389
389
|
if (hasJsonl === hasText) throw new Error("provide exactly one of --jsonl or --text");
|
|
390
|
-
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await
|
|
390
|
+
const jsonl = hasText ? buildA2UITextJsonl(String(opts.text ?? "")) : await fsPromises.readFile(String(opts.jsonl), "utf8");
|
|
391
391
|
const { version, messageCount } = validateA2UIJsonl(jsonl);
|
|
392
392
|
if (version === "v0.9") throw new Error("Detected A2UI v0.9 JSONL (createSurface). OpenClaw currently supports v0.8 only.");
|
|
393
393
|
await invokeCanvas(opts, "canvas.a2ui.pushJSONL", { jsonl });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { k as resolvePreferredOpenClawTmpDir } from "./globals-BSCHJiM2.js";
|
|
2
2
|
import { S as resolveCliName } from "./paths-nt7fRu1x.js";
|
|
3
3
|
import { r as normalizeEnvVarKey } from "./host-env-security-CJMD0__Z.js";
|
|
4
|
-
import { c as normalizeHostname } from "./proxy-env-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
4
|
+
import { c as normalizeHostname } from "./proxy-env-DHBs_DSq.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CQZ5FOwI.js";
|
|
6
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-BJQ7Q63p.js";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import * as fs$
|
|
10
|
+
import * as fs$1 from "node:fs/promises";
|
|
11
11
|
import crypto, { randomUUID } from "node:crypto";
|
|
12
12
|
|
|
13
13
|
//#region src/infra/path-prepend.ts
|
|
@@ -356,7 +356,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
356
356
|
if (typeof contentLength === "number" && Number.isFinite(contentLength) && contentLength > MAX_CAMERA_URL_DOWNLOAD_BYTES) throw new Error(`writeUrlToFile: content-length ${contentLength} exceeds max ${MAX_CAMERA_URL_DOWNLOAD_BYTES}`);
|
|
357
357
|
const body = res.body;
|
|
358
358
|
if (!body) throw new Error(`failed to download ${url}: empty response body`);
|
|
359
|
-
const fileHandle = await fs$
|
|
359
|
+
const fileHandle = await fs$1.open(filePath, "w");
|
|
360
360
|
let thrown;
|
|
361
361
|
try {
|
|
362
362
|
const reader = body.getReader();
|
|
@@ -374,7 +374,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
374
374
|
await fileHandle.close();
|
|
375
375
|
}
|
|
376
376
|
if (thrown) {
|
|
377
|
-
await fs$
|
|
377
|
+
await fs$1.unlink(filePath).catch(() => {});
|
|
378
378
|
throw thrown;
|
|
379
379
|
}
|
|
380
380
|
} finally {
|
|
@@ -387,7 +387,7 @@ async function writeUrlToFile(filePath, url, opts) {
|
|
|
387
387
|
}
|
|
388
388
|
async function writeBase64ToFile(filePath, base64) {
|
|
389
389
|
const buf = Buffer.from(base64, "base64");
|
|
390
|
-
await fs$
|
|
390
|
+
await fs$1.writeFile(filePath, buf);
|
|
391
391
|
return {
|
|
392
392
|
path: filePath,
|
|
393
393
|
bytes: buf.length
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-BHAtQ0dM.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-lwQ7X6bf.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-K9dhxxcy.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fsPromises.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fsPromises.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fsPromises.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fsPromises.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -338,7 +338,7 @@ async function installPackageDir(params) {
|
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
if (backupDir) await
|
|
341
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
342
342
|
recursive: true,
|
|
343
343
|
force: true
|
|
344
344
|
}).catch(() => void 0);
|
|
@@ -354,7 +354,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
354
354
|
//#endregion
|
|
355
355
|
//#region src/infra/install-target.ts
|
|
356
356
|
async function resolveCanonicalInstallTarget(params) {
|
|
357
|
-
await
|
|
357
|
+
await fsPromises.mkdir(params.baseDir, { recursive: true });
|
|
358
358
|
const targetDirResult = resolveSafeInstallDir({
|
|
359
359
|
baseDir: params.baseDir,
|
|
360
360
|
id: params.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
2
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { M as loadConfig } from "./auth-profiles-CDN1QqUB.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-qYbUVCHn.js";
|
|
4
|
+
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-DtFDeYRa.js";
|
|
5
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-Vdjnck5t.js";
|
|
6
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-U_Bbmdqc.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/status.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-
|
|
1
|
+
import { dt as loadOpenClawPlugins, ut as createPluginLoaderLogger } from "./reply-CnFMSknJ.js";
|
|
2
2
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CIg7PfKs.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-SCxIa_9g.js";
|
|
4
4
|
import { h as resolveDefaultAgentWorkspaceDir } from "./workspace-BZfvMhTj.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-nt7fRu1x.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-CD-_2ECk.js";
|
|
3
|
-
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { P as readConfigFileSnapshot, R as writeConfigFile } from "./auth-profiles-CDN1QqUB.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-BHAtQ0dM.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-DX8Hw_zc.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-BxlqIZ7M.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-Cpm1AIhT.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-DW6uIEzO.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-BsBFegtS.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-ijrpDurI.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D9KC4vvF.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-BrLJAJGb.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-C0YHpEQQ.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-DNfTeO7M.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-CdjBXad1.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-DLVFjelr.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-C6tQEIx4.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-J7zRr7jm.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-B_rDL9Ys.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-DOJ1auS1.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BagFJEug.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-C0UVcgCr.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-_Wo8GXjs.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-ocUZcPl0.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-vRbtTSlV.js";
|
|
3
|
-
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-
|
|
3
|
+
import { Lr as resolveSlackUserAllowlist, Rr as resolveDiscordUserAllowlist, St as resolveSlackChannelAllowlist, dt as loadOpenClawPlugins, kt as resolveDiscordChannelAllowlist, ut as createPluginLoaderLogger } from "./reply-CnFMSknJ.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CIg7PfKs.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-SCxIa_9g.js";
|
|
6
6
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-C9z4VQtw.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-qYbUVCHn.js";
|
|
5
5
|
import { g as normalizeAccountId, h as DEFAULT_ACCOUNT_ID } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-BHAtQ0dM.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-lwQ7X6bf.js";
|
|
8
8
|
import { i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-eN0IzwTo.js";
|
|
9
|
-
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { ut as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { s as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { C as resolveDiscordAccount, S as resolveDefaultDiscordAccountId, b as listDiscordAccountIds, c as resolveDefaultTelegramAccountId, d as listSlackAccountIds, f as resolveDefaultSlackAccountId, l as resolveTelegramAccount, n as listChannelPlugins, p as resolveSlackAccount, s as listTelegramAccountIds, t as getChannelPlugin } from "./plugins--_65-dc5.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-CzfKkJDx.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-YtMo-RPC.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-CQrvvU8V.js";
|
|
13
|
+
import { ut as normalizeDiscordSlug } from "./send-CVDGeH7A.js";
|
|
14
|
+
import { Hn as resolveDiscordUserAllowlist, O as resolveDiscordChannelAllowlist, Vn as resolveSlackUserAllowlist, _ as loadOpenClawPlugins, g as createPluginLoaderLogger, x as resolveSlackChannelAllowlist } from "./subagent-registry-Vdjnck5t.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BxiIEIvc.js";
|
|
16
|
+
import { s as normalizeIMessageHandle } from "./send-BdKdRPi6.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-DX8Hw_zc.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-B3vCyexf.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-KG5TFHFb.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-CPTu48DJ.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-gakS-kfC.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-yaF2vNOj.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-K9dhxxcy.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-BYz0q4kc.js";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import fs, { createWriteStream } from "node:fs";
|
|
29
|
-
import
|
|
29
|
+
import fsPromises from "node:fs/promises";
|
|
30
30
|
import { pipeline } from "node:stream/promises";
|
|
31
31
|
import { request } from "node:https";
|
|
32
32
|
|
|
@@ -1051,7 +1051,7 @@ async function findSignalCliBinary(root) {
|
|
|
1051
1051
|
const candidates = [];
|
|
1052
1052
|
const enqueue = async (dir, depth) => {
|
|
1053
1053
|
if (depth > 3) return;
|
|
1054
|
-
const entries = await
|
|
1054
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1055
1055
|
for (const entry of entries) {
|
|
1056
1056
|
const full = path.join(dir, entry.name);
|
|
1057
1057
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1072,7 +1072,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1072
1072
|
const prefix = result.stdout.trim();
|
|
1073
1073
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1074
1074
|
try {
|
|
1075
|
-
await
|
|
1075
|
+
await fsPromises.access(candidate);
|
|
1076
1076
|
return candidate;
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return findSignalCliBinary(prefix);
|
|
@@ -1128,12 +1128,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1128
1128
|
ok: false,
|
|
1129
1129
|
error: "No compatible release asset found for this platform."
|
|
1130
1130
|
};
|
|
1131
|
-
const tmpDir = await
|
|
1131
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1132
1132
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1133
1133
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1134
1134
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1135
1135
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1136
|
-
await
|
|
1136
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1137
1137
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1138
1138
|
ok: false,
|
|
1139
1139
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1152,7 +1152,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1152
1152
|
ok: false,
|
|
1153
1153
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1154
1154
|
};
|
|
1155
|
-
await
|
|
1155
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1156
1156
|
return {
|
|
1157
1157
|
ok: true,
|
|
1158
1158
|
cliPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
4
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { Si as normalizeSecretInput, fr as modelKey } from "./auth-profiles-CDN1QqUB.js";
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-tQHd1XwJ.js";
|
|
4
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-DI1qnxc_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
7
7
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ti as normalizeSecretInput, c as modelKey } from "./model-selection-DeNGu8_q.js";
|
|
3
|
-
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
3
|
+
import { a as normalizeEndpointId, c as requestOpenAiVerification, i as formatVerificationError, l as resolveCustomAliasError, n as applyCustomApiConfig, o as normalizeOptionalProviderApiKey, r as buildEndpointIdFromUrl, s as requestAnthropicVerification, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-BQL_jJyK.js";
|
|
4
4
|
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-DE_fGKjx.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ai as isSecretRef, Pi as DEFAULT_PROVIDER, c as modelKey, r as buildModelAliasIndex, wi as normalizeOptionalSecretInput } from "./model-selection-DeNGu8_q.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-DkT3EnRA.js";
|
|
3
|
-
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-
|
|
3
|
+
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-cHOCxHiA.js";
|
|
4
4
|
import { c as normalizeAlias } from "./shared-DhCHt7sS.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/onboard-custom.shared.ts
|