@bitseek/claw 1.3.8-beta.2 → 1.3.8-beta.3
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-YtMo-RPC.js → accounts-B4wV9IFm.js} +1 -1
- package/dist/{accounts-CzfKkJDx.js → accounts-CTKra7aS.js} +7 -7
- package/dist/{accounts-CQrvvU8V.js → accounts-DtaSiAum.js} +1 -1
- package/dist/{acp-cli-C0Oz6RFa.js → acp-cli-CSRDFixR.js} +8 -8
- package/dist/{agent-scope-qYbUVCHn.js → agent-scope-BrbgAMci.js} +1 -1
- package/dist/{agents-Co_-XzRP.js → agents-B3roVbYI.js} +15 -15
- package/dist/{agents.config-EnxTBynI.js → agents.config-BLKDc8io.js} +2 -2
- package/dist/{api-key-rotation-XTdz_cvI.js → api-key-rotation-BdoPDM3X.js} +1 -1
- package/dist/{audio-preflight-B6Jw9LUM.js → audio-preflight-Pdv9uiw6.js} +36 -36
- package/dist/{audio-transcription-runner-CF3DjqKy.js → audio-transcription-runner-DBPatTZv.js} +22 -22
- package/dist/{audit-pIY_GfjC.js → audit-p4lBCTPz.js} +29 -29
- package/dist/{auth-DhaM6Od5.js → auth-DuCrQ5K9.js} +1 -1
- package/dist/{auth-choice-CfoGAmJm.js → auth-choice-BogBxPQ0.js} +14 -14
- package/dist/{auth-choice-r5CXFvMV.js → auth-choice-CWhbVAmr.js} +12 -12
- package/dist/{auth-choice.apply-helpers-DI1qnxc_.js → auth-choice.apply-helpers-CtAelPdF.js} +1 -1
- package/dist/{auth-profiles-CDN1QqUB.js → auth-profiles-k09E8RLJ.js} +16 -16
- package/dist/{auth-token-BtyMfDQt.js → auth-token-CWb4NQTJ.js} +1 -1
- package/dist/{banner-CDZD_rv-.js → banner-DyZFjt3Q.js} +2 -2
- package/dist/{bindings-D9ZiGe2K.js → bindings-C9vpkXej.js} +1 -1
- package/dist/{bonjour-discovery-CBcz-0Ts.js → bonjour-discovery-DyLRXLw1.js} +1 -1
- package/dist/{browser-cli-CTcWXrJp.js → browser-cli-CDsv9Dvw.js} +12 -12
- package/dist/build-info.json +2 -2
- package/dist/{call-BSBuLNiX.js → call-CBH5yDff.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Cc-TbAKt.js → channel-account-context-C3TU0o4T.js} +5 -5
- package/dist/{channel-options-BfDmqXBz.js → channel-options-9r0jhaF7.js} +3 -3
- package/dist/{channel-selection-BKyzCX35.js → channel-selection-DZrPYytY.js} +1 -1
- package/dist/{channel-web-DJtTLglg.js → channel-web-Df9c4iPg.js} +18 -18
- package/dist/{channels-cli-BdbCWhq7.js → channels-cli-Bi5IcGws.js} +95 -95
- package/dist/{channels-status-issues-Cn340Vbe.js → channels-status-issues-Bb3ugkRr.js} +1 -1
- package/dist/{chrome-zP7qr3zd.js → chrome-BVlYi4nu.js} +4 -4
- package/dist/{clawbot-cli-Nk_oXaxe.js → clawbot-cli-CkZGXd20.js} +5 -5
- package/dist/{cli-BAFODF--.js → cli-2CbkQG_y.js} +76 -76
- package/dist/{client-Swf30UOh.js → client-CIji7FpE.js} +2 -2
- package/dist/{command-registry-B9MybN-E.js → command-registry-Ciq2wbUi.js} +13 -13
- package/dist/{commands-B8w5Izi1.js → commands-B7V-vN3N.js} +1 -1
- package/dist/{commands-registry-Ctux_Nq3.js → commands-registry-B6LbRm3U.js} +3 -3
- package/dist/{completion-cli-DDcNIc1r.js → completion-cli-BtWS51xD.js} +13 -13
- package/dist/{completion-cli-6l712NPl.js → completion-cli-JABAzgO6.js} +1 -1
- package/dist/{config-cli-BNaHtYNZ.js → config-cli-DgKjaGSi.js} +7 -7
- package/dist/{config-guard-CSxpqsBG.js → config-guard-D5XZLbXA.js} +3 -3
- package/dist/{config-validation-Tf6YL4jH.js → config-validation-DT8qQYoa.js} +3 -3
- package/dist/{configure-Dwelp0U_.js → configure-D51Hau9O.js} +17 -17
- package/dist/{control-ui-assets-BxJ3OmP_.js → control-ui-assets-Bn4e_1By.js} +1 -1
- package/dist/{cron-cli-BrpTLnwT.js → cron-cli-D6OHJFdO.js} +12 -12
- package/dist/{daemon-cli-S2o4Kcwu.js → daemon-cli-BxFuWNM-.js} +15 -15
- package/dist/{daemon-install-C0YHpEQQ.js → daemon-install-BjgH7Ld5.js} +4 -4
- package/dist/{daemon-install-helpers-DLIsWH31.js → daemon-install-helpers-Crntu4pF.js} +11 -11
- package/dist/{dashboard-B_7Hjxc6.js → dashboard-B0FYUw0G.js} +2 -2
- package/dist/{deliver-CQmmhMaR.js → deliver-Bm4UojU1.js} +7 -7
- package/dist/{devices-cli-CXtMoEZv.js → devices-cli-D2qzgS6n.js} +8 -8
- package/dist/{diagnostic-C5Por-ID.js → diagnostic-DOls91uN.js} +1 -1
- package/dist/{diagnostics-0PFoNolS.js → diagnostics-D4xhje-h.js} +5 -5
- package/dist/{directory-cli-NpBfkxfT.js → directory-cli-BDxc1M2a.js} +8 -8
- package/dist/{dns-cli-CNYoy9mq.js → dns-cli-DImurxu6.js} +5 -5
- package/dist/{dock-CHDx-TGb.js → dock-CcEfMX5D.js} +4 -4
- package/dist/{docs-cli-CLZqiB15.js → docs-cli-Cp25W8Hv.js} +4 -4
- package/dist/{doctor-completion-B19Hs3xo.js → doctor-completion-BEtcv-8P.js} +1 -1
- package/dist/{doctor-completion-B6jYyC1T.js → doctor-completion-YtQqTVcr.js} +2 -2
- package/dist/{doctor-config-flow-m-m_m5Ot.js → doctor-config-flow-DtaIUiEk.js} +15 -15
- package/dist/{enable-yaF2vNOj.js → enable-Dfmg2SV3.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-Cw4xMxbI.js → exec-approvals-allowlist-IOB4HV3z.js} +1 -1
- package/dist/{exec-approvals-cli-BffaLELS.js → exec-approvals-cli-B6X8jOx7.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-Bu0TwxE1.js → exec-safe-bin-runtime-policy-CEdwujzY.js} +2 -2
- package/dist/{fetch-lTdl-0IY.js → fetch-BAv7yBBS.js} +3 -3
- package/dist/{fetch-guard-CQZ5FOwI.js → fetch-guard-oYuVfv1t.js} +1 -1
- package/dist/{fs-safe-BQS_SZ0h.js → fs-safe--YXsniNZ.js} +24 -24
- package/dist/{gateway-cli-Cqe5_9XJ.js → gateway-cli-D1e4MuAA.js} +1 -1
- package/dist/{gateway-cli-D4xVKSbv.js → gateway-cli-hP7_aftQ.js} +161 -161
- package/dist/{gateway-rpc-qWYRLZ-Z.js → gateway-rpc-C6F7QPVq.js} +1 -1
- package/dist/{health-DIS2FlPd.js → health-DOIxOlnm.js} +14 -14
- package/dist/{hooks-cli-C4Wqknt2.js → hooks-cli-B3VUhq72.js} +84 -84
- package/dist/{hooks-status-BE0dSQIW.js → hooks-status-qBCorl-z.js} +1 -1
- package/dist/{image-BgCM5v5-.js → image-BOSsTjNj.js} +5 -5
- package/dist/{plugin-sdk/image-ops-CfQjZch5.js → image-ops-B2K36FLD.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{inspect-DY_qpyux.js → inspect-DkrsY9Gy.js} +4 -4
- package/dist/{install-safe-path-K9dhxxcy.js → install-safe-path-DXP_88Em.js} +25 -25
- package/dist/{installs-BYz0q4kc.js → installs-DgI58LlC.js} +9 -9
- package/dist/{ipv4-Bj71-jpu.js → ipv4-BuO7nxQZ.js} +1 -1
- package/dist/{ir-C_-vG6Lv.js → ir-BCl0dA3G.js} +6 -6
- package/dist/{issue-format-1i6b6tFd.js → issue-format-Cat2txpr.js} +1 -1
- package/dist/{json-files-1hhV5hS6.js → json-files-DrZ4qfxw.js} +8 -8
- package/dist/{lifecycle-core-BZVbJEGI.js → lifecycle-core-CliTbXyj.js} +5 -5
- package/dist/{login-KG5TFHFb.js → login-_s-srXtA.js} +3 -3
- package/dist/{login-qr-D4L1NDeu.js → login-qr-BNBXsYor.js} +6 -6
- package/dist/{logs-cli-D2lMkM4P.js → logs-cli-B4Nwp099.js} +9 -9
- package/dist/{manager-C0nx9SKi.js → manager-rK3J4Po3.js} +14 -14
- package/dist/{manifest-registry-Co__Fy6F.js → manifest-registry-hRB5Jb3F.js} +1 -1
- package/dist/{markdown-tables-D47ZANhY.js → markdown-tables-Mk_tnsfY.js} +1 -1
- package/dist/{memory-cli-BwxTb296.js → memory-cli-BbEwsmor.js} +12 -12
- package/dist/{model-C30BtXEI.js → model-Cd4C4aY1.js} +2 -2
- package/dist/{model-catalog-C0pv85X0.js → model-catalog-Chb7lzRo.js} +3 -3
- package/dist/{model-picker-Dediiqpo.js → model-picker-CdgwJ2MU.js} +4 -4
- package/dist/{models-Dy35lY8K.js → models-CL1jaXSC.js} +18 -18
- package/dist/{models-cli-DBsERrAX.js → models-cli-BeARCGBj.js} +81 -81
- package/dist/{models-config-NbV2Gu7N.js → models-config-CkOKPbk9.js} +6 -6
- package/dist/{net-DrfP4uzJ.js → net-Bxr80JTs.js} +2 -2
- package/dist/{node-cli-CnKN38mM.js → node-cli-DelBH0Tb.js} +33 -33
- package/dist/{node-command-policy-xyqdwsT9.js → node-command-policy-DKPye8Fx.js} +1 -1
- package/dist/{node-service-DEfPXKwF.js → node-service-Cei5AkFg.js} +1 -1
- package/dist/{nodes-cli-CFaqvZCM.js → nodes-cli-CLNRURvx.js} +16 -16
- package/dist/{nodes-screen-DNzr75bx.js → nodes-screen-NjyoMja_.js} +7 -7
- package/dist/{npm-pack-install-U_Bbmdqc.js → npm-pack-install-B5tn-EtA.js} +18 -18
- package/dist/{npm-resolution-BzCW7TCH.js → npm-resolution-Brdkv6mO.js} +5 -5
- package/dist/{onboard-BhUYz4pd.js → onboard-Ch8Y1L6r.js} +1 -1
- package/dist/{onboard-CHHfB91Q.js → onboard-CqSuI-jq.js} +6 -6
- package/dist/{onboard-channels-CXnqSbh7.js → onboard-channels-gTeBkpnk.js} +20 -20
- package/dist/{onboard-custom-xXrb_3q4.js → onboard-custom-DhEI_A-m.js} +3 -3
- package/dist/{onboard-custom.shared-fTdY9R_i.js → onboard-custom.shared-DoXUpHZV.js} +2 -2
- package/dist/{onboard-helpers-DX8Hw_zc.js → onboard-helpers-ngPRx_6_.js} +11 -11
- package/dist/{onboard-hooks-DCPdhrCK.js → onboard-hooks-CJvqjkid.js} +4 -4
- package/dist/{onboard-remote-aF3GW6mE.js → onboard-remote-DRt29Vs4.js} +3 -3
- package/dist/{onboard-skills-CzFxXcom.js → onboard-skills-CoWAaHHg.js} +4 -4
- package/dist/{onboarding-BFylLQTs.js → onboarding-BM2AMtOF.js} +1 -1
- package/dist/{onboarding-Byioq4gT.js → onboarding-Dp4X7ISI.js} +13 -13
- package/dist/{onboarding.finalize-CWPqHkqC.js → onboarding.finalize-8dcfbjPv.js} +3 -3
- package/dist/{onboarding.finalize-CnVCE1gR.js → onboarding.finalize-DyQnfLTz.js} +89 -89
- package/dist/{onboarding.gateway-config-B5jnM62F.js → onboarding.gateway-config-B1orRdI7.js} +18 -18
- package/dist/{openai-model-default-eaULYpD0.js → openai-model-default-DRYz3m4d.js} +2 -2
- package/dist/{outbound-CF1Hd23W.js → outbound-BGJh4s6Y.js} +4 -4
- package/dist/{outbound-attachment-BMlPpVOn.js → outbound-attachment-Baso-yal.js} +2 -2
- package/dist/{pairing-cli-DkVLCjGa.js → pairing-cli-DgUIYETM.js} +9 -9
- package/dist/{pairing-labels-CesrJlbr.js → pairing-labels-BPTURWrI.js} +1 -1
- package/dist/{pairing-store-BcJH8WDh.js → pairing-store-WGGwqFJB.js} +3 -3
- package/dist/{path-alias-guards-C_j0uB0Y.js → path-alias-guards-DdR4BKPM.js} +3 -3
- package/dist/{path-safety-BHBxNYfO.js → path-safety-DiJhMaUA.js} +1 -1
- package/dist/{paths-Bj8pNglF.js → paths-BPXmr3Zn.js} +9 -9
- package/dist/{pi-embedded-helpers-Cc4tC0fE.js → pi-embedded-helpers-ET1kDdN1.js} +6 -6
- package/dist/{pi-model-discovery-ItDCP5Ab.js → pi-model-discovery-COnY_kTM.js} +1 -1
- package/dist/{pi-tools.policy-BbLCMNCc.js → pi-tools.policy-Cp3wptYh.js} +5 -5
- package/dist/{plugin-auto-enable-BxiIEIvc.js → plugin-auto-enable-Bm8hMcPA.js} +3 -3
- package/dist/{plugin-registry-DT2OvA5Z.js → plugin-registry-DWd-znRA.js} +3 -3
- 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/{channel-activity-CMtaqeTg.js → channel-activity-Dzyx86FD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D3N-Ttls.js → channel-web-dQSyVWDp.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-HxQLrFqd.js → plugin-sdk/image-ops-DhVTERkS.js} +11 -11
- 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-BlPlf4OC.js} +93 -93
- 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/plugin-sdk/{target-errors-DqlHqAmV.js → 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-D48I7g5u.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CudQXAzF.js → whatsapp-actions-BLoPRR5B.js} +25 -25
- package/dist/{plugins--_65-dc5.js → plugins-CO6qDFdk.js} +2 -2
- package/dist/{plugins-cli-BmJ7h0-l.js → plugins-cli-B90nR_VK.js} +86 -86
- package/dist/{ports-Cw4Nwv2D.js → ports-CUjMnvTs.js} +1 -1
- package/dist/{ports-DgCQT1oY.js → ports-Dczj_PV_.js} +2 -2
- package/dist/{program-Be2ymElx.js → program-5vm1a5f-.js} +84 -84
- package/dist/{program-context-VmNKrCEz.js → program-context-uwFKpk8g.js} +7 -7
- package/dist/{prompt-select-styled-y3MS0Ion.js → prompt-select-styled-ByCoxIUa.js} +1 -1
- package/dist/{prompt-select-styled-VDz-k6PU.js → prompt-select-styled-D5N-DZSk.js} +39 -39
- package/dist/{provider-auth-helpers-BubJ5s-y.js → provider-auth-helpers-Btf9aI1h.js} +5 -5
- package/dist/{proxy-env-DHBs_DSq.js → proxy-env-DQGTNk9X.js} +1 -1
- package/dist/{push-apns-Ck9shhvZ.js → push-apns-CzIypSJf.js} +5 -5
- package/dist/{pw-ai-DYEHR6w8.js → pw-ai-D1Ry3gcn.js} +15 -15
- package/dist/{qmd-manager-BHSD3_rI.js → qmd-manager-BNFUTVvk.js} +20 -20
- package/dist/{qr-cli-CKOGSVK_.js → qr-cli-BTrl8Tw4.js} +1 -1
- package/dist/{query-expansion-BkWbp0bs.js → query-expansion-CP4BjmxS.js} +12 -12
- package/dist/{redact-snapshot-BzZpHz-O.js → redact-snapshot-QpVJSBBX.js} +1 -1
- package/dist/{register.agent-DT71MEX9.js → register.agent-BksD8xqL.js} +97 -97
- package/dist/register.configure-CJVJLDtX.js +175 -0
- package/dist/{register.init-BG8FagAY.js → register.init-B26Ry-q0.js} +29 -20
- package/dist/{register.init-kK0U4c1X.js → register.init-BzRts3RZ.js} +14 -5
- package/dist/{register.maintenance-DXzqBj6G.js → register.maintenance-BTwdTZnP.js} +4 -4
- package/dist/{register.maintenance-JgN7l-Nt.js → register.maintenance-DZZc7WGW.js} +99 -99
- package/dist/{register.message-6kMQG_ny.js → register.message-DW2G2t5n.js} +77 -77
- package/dist/{register.onboard-8ktAun-c.js → register.onboard-kzLJdF35.js} +18 -18
- package/dist/{register.onboard-Cx_a7wmX.js → register.onboard-ps-7r0Bx.js} +2 -2
- package/dist/{register.setup-ByRV6Cja.js → register.setup-C5qExQuD.js} +21 -21
- package/dist/{register.setup-DwSY2woO.js → register.setup-DFniVrQp.js} +2 -2
- package/dist/{register.start-D0pe3Bgs.js → register.start-CbfmMKWY.js} +17 -17
- package/dist/{register.status-health-sessions-tMSX9Z5o.js → register.status-health-sessions-CMZuvcON.js} +91 -91
- package/dist/{register.subclis-BL5uM8m-.js → register.subclis-o8k-y9CC.js} +31 -31
- package/dist/{replies-uQ56Hw52.js → replies-Dx5zA8IX.js} +1 -1
- package/dist/{reply-prefix-XmrGZdy_.js → reply-prefix-CS57j6KU.js} +1 -1
- package/dist/{resolve-route-Ukn_7wVk.js → resolve-route-Bxji0kZW.js} +2 -2
- package/dist/{rpc-3QEhCMY4.js → rpc-cRmU1tSk.js} +1 -1
- package/dist/{run-main-CTvTsMR8.js → run-main-CEEV_P4Y.js} +95 -95
- package/dist/{runtime-B4lkRQQD.js → runtime-COI_IE2j.js} +2 -2
- package/dist/{sandbox-CEIoYXZN.js → sandbox-BNSLjYyu.js} +18 -18
- package/dist/{sandbox-cli-BrTy3weD.js → sandbox-cli-C1OPjNfD.js} +26 -26
- package/dist/{secrets-cli-DeFPoA0b.js → secrets-cli-7Md_QcpC.js} +10 -10
- package/dist/{security-cli-CpDjK_Rg.js → security-cli-D68NIF3V.js} +43 -43
- package/dist/{send-CtAy9-2u.js → send-BpYBrb6S.js} +5 -5
- package/dist/{send-6U8MorA7.js → send-C8xKNHVm.js} +6 -6
- package/dist/{send-CVDGeH7A.js → send-CUvJIfFz.js} +11 -11
- package/dist/{send-BY8NE-y9.js → send-DX2I6KZU.js} +8 -8
- package/dist/{send-BdKdRPi6.js → send-DikEpk7w.js} +6 -6
- package/dist/{server-C9XFPL3c.js → server-D_wuOlkf.js} +19 -19
- package/dist/{server-context-DtOlWY9P.js → server-context-Dl8XC4vq.js} +12 -12
- package/dist/{server-lifecycle-CXzU2NM3.js → server-lifecycle-BIuR7Tj0.js} +2 -2
- package/dist/{server-middleware-Bp3DeSvQ.js → server-middleware-C_4mR9wU.js} +1 -1
- package/dist/{server-node-events-BcOJ7KmG.js → server-node-events-B-IAFJfU.js} +77 -77
- package/dist/{service-DPP3q6R4.js → service-BcyKtT1n.js} +15 -15
- package/dist/{session-6uNAHyWp.js → session-DyGs2JIG.js} +1 -1
- package/dist/{session-meta-DGKTOhxQ.js → session-meta-C7WybT5h.js} +1 -1
- package/dist/{session-utils-hbZzVDyj.js → session-utils-CYaFN47T.js} +6 -6
- package/dist/{sessions-CbWqJtkx.js → sessions-Cd7cVPC-.js} +4 -4
- package/dist/{sessions-DB4MRK6L.js → sessions-i5lEEEca.js} +15 -15
- package/dist/{shared-yo9kxQZW.js → shared-BKC5qsuY.js} +3 -3
- package/dist/{shared-D6mi8wP1.js → shared-CL0m0H8G.js} +1 -1
- package/dist/{skill-commands-Duha9iIC.js → skill-commands-Cl6M7kpE.js} +5 -5
- package/dist/{skill-scanner-Di-O2Hg-.js → skill-scanner-WUtERLdW.js} +6 -6
- package/dist/{skills-dNa7QxCF.js → skills-B18XPCNc.js} +3 -3
- package/dist/{skills-cli-Dkjzn2SU.js → skills-cli-C0gXv9PH.js} +5 -5
- package/dist/{skills-install-ARBA7lP0.js → skills-install-DYR6yH15.js} +6 -6
- package/dist/{skills-status-B4yuFDEj.js → skills-status-D9Rnj4xI.js} +1 -1
- package/dist/{status-CfL923KW.js → status-Dwe_iuCP.js} +26 -26
- package/dist/{status.update-aARe-MF6.js → status.update-C0psHodW.js} +2 -2
- package/dist/{store-BpvlJ70I.js → store-D-c26kSk.js} +5 -5
- package/dist/{subagent-registry-DEFti4F9.js → subagent-registry-eE5PhOhY.js} +157 -157
- package/dist/{system-cli-CYspMbRb.js → system-cli-kpN0Gb37.js} +9 -9
- package/dist/{system-run-command-BJQ7Q63p.js → system-run-command-DFxer2oq.js} +1 -1
- package/dist/{systemd-BtVy3Rbo.js → systemd-ebIdQGFn.js} +9 -9
- package/dist/{systemd-hints-BetNJuAX.js → systemd-hints-tCX_kug7.js} +6 -6
- package/dist/{systemd-linger-CWPZsER4.js → systemd-linger-IFrOwkb9.js} +1 -1
- package/dist/{tables-Bv2Hq-F0.js → tables-FZbGazqi.js} +1 -1
- package/dist/{tailnet-Dynp_Pgs.js → tailnet-BKoOcmOa.js} +1 -1
- package/dist/{target-errors-Bwi1jTIf.js → target-errors-CL097N6P.js} +4 -4
- package/dist/{tool-images-D7dXfsZW.js → tool-images-CXfdtMwT.js} +1 -1
- package/dist/{tui-CYj3VX-Y.js → tui-D3HyXPhF.js} +6 -6
- package/dist/{tui-cli-g7SERHtf.js → tui-cli-BYXDIVRr.js} +33 -33
- package/dist/{update-DbGfT3_u.js → update-D372fHKr.js} +3 -3
- package/dist/{update-cli-DzGTmqj1.js → update-cli-CO3mOkqg.js} +4 -4
- package/dist/{update-cli-D11Y1iYl.js → update-cli-D2pd7IJi.js} +107 -107
- package/dist/{update-runner-BjX-ARIw.js → update-runner-j5RoheCK.js} +16 -16
- package/dist/web-Kse4dEsw.js +127 -0
- package/dist/{webhooks-cli-CoxuOMZ6.js → webhooks-cli-DgLGWDer.js} +6 -6
- package/dist/{whatsapp-actions-0CZKI1og.js → whatsapp-actions-BC00XF83.js} +19 -19
- package/dist/{with-timeout-cpgy0l-9.js → with-timeout-DvPUrPuK.js} +3 -3
- package/dist/{workspace-DYiAh9n2.js → workspace-Cuq5sS-4.js} +1 -1
- package/dist/{workspace-DtFDeYRa.js → workspace-DkRZH7vl.js} +23 -23
- package/dist/{workspace-dirs-BAyX7JI2.js → workspace-dirs-DBhaJ0y_.js} +1 -1
- package/dist/{wsl-CiVud8tt.js → wsl-KDz114y6.js} +2 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DLrSMEN4.js +0 -72
- package/dist/register.configure-BWunAqlW.js +0 -175
- package/dist/web-CqfFsaTH.js +0 -127
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-CTKra7aS.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -7,7 +7,7 @@ import { f as jidToE164, v as resolveUserPath } from "./utils-BHAtQ0dM.js";
|
|
|
7
7
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
|
-
import
|
|
10
|
+
import fs$1 from "node:fs/promises";
|
|
11
11
|
|
|
12
12
|
//#region src/channels/plugins/account-helpers.ts
|
|
13
13
|
function createAccountListHelpers(channelKey) {
|
|
@@ -96,14 +96,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
96
96
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
97
97
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
98
98
|
try {
|
|
99
|
-
await
|
|
99
|
+
await fs$1.access(resolvedAuthDir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
103
103
|
try {
|
|
104
|
-
const stats = await
|
|
104
|
+
const stats = await fs$1.stat(credsPath);
|
|
105
105
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
106
|
-
const raw = await
|
|
106
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
107
107
|
JSON.parse(raw);
|
|
108
108
|
return true;
|
|
109
109
|
} catch {
|
|
@@ -111,7 +111,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
114
|
-
const entries = await
|
|
114
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
115
115
|
const shouldDelete = (name) => {
|
|
116
116
|
if (name === "oauth.json") return false;
|
|
117
117
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -121,7 +121,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
121
121
|
await Promise.all(entries.map(async (entry) => {
|
|
122
122
|
if (!entry.isFile()) return;
|
|
123
123
|
if (!shouldDelete(entry.name)) return;
|
|
124
|
-
await
|
|
124
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
125
125
|
}));
|
|
126
126
|
}
|
|
127
127
|
async function logoutWeb(params) {
|
|
@@ -132,7 +132,7 @@ async function logoutWeb(params) {
|
|
|
132
132
|
return false;
|
|
133
133
|
}
|
|
134
134
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
135
|
-
else await
|
|
135
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
136
136
|
recursive: true,
|
|
137
137
|
force: true
|
|
138
138
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
|
|
2
2
|
import { t as resolveAccountEntry } from "./account-lookup-9wuXWwa_.js";
|
|
3
|
-
import { v as createAccountListHelpers } from "./accounts-
|
|
3
|
+
import { v as createAccountListHelpers } from "./accounts-CTKra7aS.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
6
6
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -3,10 +3,10 @@ import "./paths-nt7fRu1x.js";
|
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { n as isMainModule } from "./entry.js";
|
|
6
|
-
import { M as loadConfig } from "./auth-profiles-
|
|
7
|
-
import "./agent-scope-
|
|
6
|
+
import { M as loadConfig } from "./auth-profiles-k09E8RLJ.js";
|
|
7
|
+
import "./agent-scope-BrbgAMci.js";
|
|
8
8
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-BHAtQ0dM.js";
|
|
9
|
-
import "./workspace-
|
|
9
|
+
import "./workspace-DkRZH7vl.js";
|
|
10
10
|
import "./logger-rnlD7CTs.js";
|
|
11
11
|
import "./exec-lwQ7X6bf.js";
|
|
12
12
|
import "./github-copilot-token-b8zw2qi2.js";
|
|
@@ -14,13 +14,13 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
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-
|
|
17
|
+
import "./manifest-registry-hRB5Jb3F.js";
|
|
18
18
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-bQJz_2wn.js";
|
|
19
|
-
import { t as GatewayClient } from "./client-
|
|
20
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
19
|
+
import { t as GatewayClient } from "./client-CIji7FpE.js";
|
|
20
|
+
import { t as buildGatewayConnectionDetails } from "./call-CBH5yDff.js";
|
|
21
21
|
import "./pairing-token-b8YwYBlW.js";
|
|
22
|
-
import "./net-
|
|
23
|
-
import "./tailnet-
|
|
22
|
+
import "./net-Bxr80JTs.js";
|
|
23
|
+
import "./tailnet-BKoOcmOa.js";
|
|
24
24
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DfK6Oke5.js";
|
|
25
25
|
import { r as isKnownCoreToolId } from "./tool-catalog-CDe8aNjS.js";
|
|
26
26
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-D0wwE7yg.js";
|
|
@@ -2,7 +2,7 @@ import { g as resolveStateDir } from "./paths-nt7fRu1x.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
3
3
|
import { T as parseAgentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey } from "./session-key-BLprDJYq.js";
|
|
4
4
|
import { v as resolveUserPath } from "./utils-BHAtQ0dM.js";
|
|
5
|
-
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { F as normalizeSkillFilter, h as resolveDefaultAgentWorkspaceDir } from "./workspace-DkRZH7vl.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
3
|
-
import { Kn as ensureAuthProfileStore, Qn as resolveAuthStorePath, R as writeConfigFile } from "./auth-profiles-
|
|
3
|
+
import { Kn as ensureAuthProfileStore, Qn as resolveAuthStorePath, R as writeConfigFile } from "./auth-profiles-k09E8RLJ.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
5
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-BrbgAMci.js";
|
|
6
6
|
import { c as normalizeAgentId, h as DEFAULT_ACCOUNT_ID, t as DEFAULT_AGENT_ID } from "./session-key-BLprDJYq.js";
|
|
7
7
|
import { v as resolveUserPath, x as shortenHomePath } from "./utils-BHAtQ0dM.js";
|
|
8
|
-
import { a as DEFAULT_IDENTITY_FILENAME } from "./workspace-
|
|
9
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins
|
|
10
|
-
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-
|
|
8
|
+
import { a as DEFAULT_IDENTITY_FILENAME } from "./workspace-DkRZH7vl.js";
|
|
9
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CO6qDFdk.js";
|
|
10
|
+
import { B as parseIdentityMarkdown, R as identityHasValues } from "./subagent-registry-eE5PhOhY.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-Be1MArvM.js";
|
|
12
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
12
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-ngPRx_6_.js";
|
|
13
13
|
import { t as WizardCancelledError } from "./prompts-QSI6gA3k.js";
|
|
14
14
|
import { t as createClackPrompter } from "./clack-prompter-BxlqIZ7M.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
16
|
-
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-
|
|
17
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
18
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-DT8qQYoa.js";
|
|
17
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BLKDc8io.js";
|
|
18
|
+
import { r as setupChannels } from "./onboard-channels-gTeBkpnk.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-BsBFegtS.js";
|
|
20
20
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DIbIQ3T7.js";
|
|
21
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
21
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-CWhbVAmr.js";
|
|
22
22
|
import path from "node:path";
|
|
23
|
-
import
|
|
23
|
+
import fs from "node:fs/promises";
|
|
24
24
|
|
|
25
25
|
//#region src/commands/agents.command-shared.ts
|
|
26
26
|
function createQuietRuntime(runtime) {
|
|
@@ -267,7 +267,7 @@ async function agentsUnbindCommand(opts, runtime = defaultRuntime) {
|
|
|
267
267
|
//#region src/commands/agents.commands.add.ts
|
|
268
268
|
async function fileExists(pathname) {
|
|
269
269
|
try {
|
|
270
|
-
await
|
|
270
|
+
await fs.stat(pathname);
|
|
271
271
|
return true;
|
|
272
272
|
} catch {
|
|
273
273
|
return false;
|
|
@@ -409,8 +409,8 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
409
409
|
message: `Copy auth profiles from "${defaultAgentId}"?`,
|
|
410
410
|
initialValue: false
|
|
411
411
|
})) {
|
|
412
|
-
await
|
|
413
|
-
await
|
|
412
|
+
await fs.mkdir(path.dirname(destAuthPath), { recursive: true });
|
|
413
|
+
await fs.copyFile(sourceAuthPath, destAuthPath);
|
|
414
414
|
await prompter.note(`Copied auth profiles from "${defaultAgentId}".`, "Auth profiles");
|
|
415
415
|
}
|
|
416
416
|
}
|
|
@@ -558,7 +558,7 @@ const coerceTrimmed = (value) => {
|
|
|
558
558
|
};
|
|
559
559
|
async function loadIdentityFromFile(filePath) {
|
|
560
560
|
try {
|
|
561
|
-
const parsed = parseIdentityMarkdown(await
|
|
561
|
+
const parsed = parseIdentityMarkdown(await fs.readFile(filePath, "utf-8"));
|
|
562
562
|
if (!identityHasValues(parsed)) return null;
|
|
563
563
|
return parsed;
|
|
564
564
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-BrbgAMci.js";
|
|
2
2
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
3
|
-
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { R as identityHasValues, z as loadAgentIdentityFromWorkspace } from "./subagent-registry-eE5PhOhY.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -2,10 +2,10 @@ import { a as logVerbose, c as shouldLogVerbose } from "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import "./paths-nt7fRu1x.js";
|
|
3
3
|
import "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./auth-profiles-k09E8RLJ.js";
|
|
6
|
+
import "./agent-scope-BrbgAMci.js";
|
|
7
7
|
import "./utils-BHAtQ0dM.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-DkRZH7vl.js";
|
|
9
9
|
import "./logger-rnlD7CTs.js";
|
|
10
10
|
import "./exec-lwQ7X6bf.js";
|
|
11
11
|
import "./github-copilot-token-b8zw2qi2.js";
|
|
@@ -13,51 +13,51 @@ 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-
|
|
17
|
-
import "./dock-
|
|
18
|
-
import "./pi-model-discovery-
|
|
16
|
+
import "./manifest-registry-hRB5Jb3F.js";
|
|
17
|
+
import "./dock-CcEfMX5D.js";
|
|
18
|
+
import "./pi-model-discovery-COnY_kTM.js";
|
|
19
19
|
import "./frontmatter-I4t5UjzX.js";
|
|
20
|
-
import "./skills-
|
|
21
|
-
import "./path-alias-guards-
|
|
20
|
+
import "./skills-B18XPCNc.js";
|
|
21
|
+
import "./path-alias-guards-DdR4BKPM.js";
|
|
22
22
|
import "./message-channel-bQJz_2wn.js";
|
|
23
|
-
import "./sessions-
|
|
24
|
-
import "./plugins
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./accounts-
|
|
23
|
+
import "./sessions-i5lEEEca.js";
|
|
24
|
+
import "./plugins-CO6qDFdk.js";
|
|
25
|
+
import "./accounts-CTKra7aS.js";
|
|
26
|
+
import "./accounts-B4wV9IFm.js";
|
|
27
27
|
import "./logging-CcxUDNcI.js";
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./bindings-
|
|
28
|
+
import "./accounts-DtaSiAum.js";
|
|
29
|
+
import "./bindings-C9vpkXej.js";
|
|
30
30
|
import "./paths-Be1MArvM.js";
|
|
31
31
|
import "./chat-envelope-AUuZAcrC.js";
|
|
32
|
-
import "./net-
|
|
33
|
-
import "./tailnet-
|
|
34
|
-
import "./image-ops-
|
|
35
|
-
import "./pi-embedded-helpers-
|
|
36
|
-
import "./sandbox-
|
|
32
|
+
import "./net-Bxr80JTs.js";
|
|
33
|
+
import "./tailnet-BKoOcmOa.js";
|
|
34
|
+
import "./image-ops-B2K36FLD.js";
|
|
35
|
+
import "./pi-embedded-helpers-ET1kDdN1.js";
|
|
36
|
+
import "./sandbox-BNSLjYyu.js";
|
|
37
37
|
import "./tool-catalog-CDe8aNjS.js";
|
|
38
|
-
import "./chrome-
|
|
38
|
+
import "./chrome-BVlYi4nu.js";
|
|
39
39
|
import "./tailscale-CFR4X5-p.js";
|
|
40
|
-
import "./auth-
|
|
41
|
-
import "./server-context-
|
|
42
|
-
import "./paths-
|
|
40
|
+
import "./auth-DuCrQ5K9.js";
|
|
41
|
+
import "./server-context-Dl8XC4vq.js";
|
|
42
|
+
import "./paths-BPXmr3Zn.js";
|
|
43
43
|
import "./redact-BMVmEUXt.js";
|
|
44
44
|
import "./errors-BkARgYnD.js";
|
|
45
|
-
import "./fs-safe
|
|
46
|
-
import "./proxy-env-
|
|
47
|
-
import "./store-
|
|
48
|
-
import "./ports-
|
|
45
|
+
import "./fs-safe--YXsniNZ.js";
|
|
46
|
+
import "./proxy-env-DQGTNk9X.js";
|
|
47
|
+
import "./store-D-c26kSk.js";
|
|
48
|
+
import "./ports-Dczj_PV_.js";
|
|
49
49
|
import "./trash-BgQvmW5g.js";
|
|
50
|
-
import "./server-middleware-
|
|
51
|
-
import "./tool-images-
|
|
50
|
+
import "./server-middleware-C_4mR9wU.js";
|
|
51
|
+
import "./tool-images-CXfdtMwT.js";
|
|
52
52
|
import "./thinking-BxCyPtl0.js";
|
|
53
|
-
import "./models-config-
|
|
54
|
-
import "./model-catalog-
|
|
55
|
-
import "./fetch-
|
|
56
|
-
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
57
|
-
import "./fetch-guard-
|
|
58
|
-
import "./image-
|
|
53
|
+
import "./models-config-CkOKPbk9.js";
|
|
54
|
+
import "./model-catalog-Chb7lzRo.js";
|
|
55
|
+
import "./fetch-BAv7yBBS.js";
|
|
56
|
+
import { _ as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-DBPatTZv.js";
|
|
57
|
+
import "./fetch-guard-oYuVfv1t.js";
|
|
58
|
+
import "./image-BOSsTjNj.js";
|
|
59
59
|
import "./tool-display-B8GyZt-E.js";
|
|
60
|
-
import "./api-key-rotation-
|
|
60
|
+
import "./api-key-rotation-BdoPDM3X.js";
|
|
61
61
|
import "./proxy-fetch-DNS2eEZm.js";
|
|
62
62
|
|
|
63
63
|
//#region src/media-understanding/audio-preflight.ts
|
package/dist/{audio-transcription-runner-CF3DjqKy.js → audio-transcription-runner-DBPatTZv.js}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose, k as resolvePreferredOpenClawTmpDir } from "./globals-BSCHJiM2.js";
|
|
2
|
-
import { G as isInboundPathAllowed, K as mergeInboundPathRoots, Pr as normalizeGoogleModelId, W as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ai as resolveApiKeyForProvider, hr as normalizeProviderId, ii as requireApiKey, q as resolveIMessageAttachmentRoots } from "./auth-profiles-
|
|
3
|
-
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
+
import { G as isInboundPathAllowed, K as mergeInboundPathRoots, Pr as normalizeGoogleModelId, W as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, ai as resolveApiKeyForProvider, hr as normalizeProviderId, ii as requireApiKey, q as resolveIMessageAttachmentRoots } from "./auth-profiles-k09E8RLJ.js";
|
|
3
|
+
import { _ as resolveAgentModelPrimaryValue, g as resolveAgentModelFallbackValues } from "./agent-scope-BrbgAMci.js";
|
|
4
4
|
import { n as runExec } from "./exec-lwQ7X6bf.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CfYBRycO.js";
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-B2K36FLD.js";
|
|
7
7
|
import { i as formatUncaughtError, n as extractErrorCode, s as readErrorName, t as collectErrorGraphCandidates } from "./errors-BkARgYnD.js";
|
|
8
|
-
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
8
|
+
import { n as loadModelCatalog, r as modelSupportsVision, t as findModelInCatalog } from "./model-catalog-Chb7lzRo.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-BAv7yBBS.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-COrrU_w2.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { t as describeImageWithModel } from "./image-
|
|
13
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-oYuVfv1t.js";
|
|
12
|
+
import { t as describeImageWithModel } from "./image-BOSsTjNj.js";
|
|
13
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BdoPDM3X.js";
|
|
14
14
|
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-DNS2eEZm.js";
|
|
15
15
|
import process$1 from "node:process";
|
|
16
16
|
import { fileURLToPath } from "node:url";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import { constants } from "node:fs";
|
|
20
|
-
import
|
|
20
|
+
import fs$1 from "node:fs/promises";
|
|
21
21
|
import crypto from "node:crypto";
|
|
22
22
|
|
|
23
23
|
//#region src/media-understanding/attachments.normalize.ts
|
|
@@ -426,7 +426,7 @@ var MediaAttachmentCache = class {
|
|
|
426
426
|
const size = await this.ensureLocalStat(entry);
|
|
427
427
|
if (entry.resolvedPath) {
|
|
428
428
|
if (size !== void 0 && size > params.maxBytes) throw new MediaUnderstandingSkipError("maxBytes", `Attachment ${params.attachmentIndex + 1} exceeds maxBytes ${params.maxBytes}`);
|
|
429
|
-
const buffer = await
|
|
429
|
+
const buffer = await fs$1.readFile(entry.resolvedPath);
|
|
430
430
|
entry.buffer = buffer;
|
|
431
431
|
entry.bufferMime = entry.bufferMime ?? entry.attachment.mime ?? await detectMime({
|
|
432
432
|
buffer,
|
|
@@ -496,10 +496,10 @@ var MediaAttachmentCache = class {
|
|
|
496
496
|
prefix: "openclaw-media",
|
|
497
497
|
extension: path.extname(bufferResult.fileName || "") || ""
|
|
498
498
|
});
|
|
499
|
-
await
|
|
499
|
+
await fs$1.writeFile(tmpPath, bufferResult.buffer);
|
|
500
500
|
entry.tempPath = tmpPath;
|
|
501
501
|
entry.tempCleanup = async () => {
|
|
502
|
-
await
|
|
502
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
503
503
|
};
|
|
504
504
|
return {
|
|
505
505
|
path: tmpPath,
|
|
@@ -546,12 +546,12 @@ var MediaAttachmentCache = class {
|
|
|
546
546
|
if (entry.statSize !== void 0) return entry.statSize;
|
|
547
547
|
try {
|
|
548
548
|
const currentPath = entry.resolvedPath;
|
|
549
|
-
const stat = await
|
|
549
|
+
const stat = await fs$1.stat(currentPath);
|
|
550
550
|
if (!stat.isFile()) {
|
|
551
551
|
entry.resolvedPath = void 0;
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
const canonicalPath = await
|
|
554
|
+
const canonicalPath = await fs$1.realpath(currentPath).catch(() => currentPath);
|
|
555
555
|
if (!isInboundPathAllowed({
|
|
556
556
|
filePath: canonicalPath,
|
|
557
557
|
roots: await this.getCanonicalLocalPathRoots()
|
|
@@ -573,7 +573,7 @@ var MediaAttachmentCache = class {
|
|
|
573
573
|
if (this.canonicalLocalPathRoots) return await this.canonicalLocalPathRoots;
|
|
574
574
|
this.canonicalLocalPathRoots = (async () => mergeInboundPathRoots(this.localPathRoots, await Promise.all(this.localPathRoots.map(async (root) => {
|
|
575
575
|
if (root.includes("*")) return root;
|
|
576
|
-
return await
|
|
576
|
+
return await fs$1.realpath(root).catch(() => root);
|
|
577
577
|
}))))();
|
|
578
578
|
return await this.canonicalLocalPathRoots;
|
|
579
579
|
}
|
|
@@ -646,7 +646,7 @@ const MIN_AUDIO_FILE_BYTES = 1024;
|
|
|
646
646
|
async function fileExists(filePath) {
|
|
647
647
|
if (!filePath) return false;
|
|
648
648
|
try {
|
|
649
|
-
await
|
|
649
|
+
await fs$1.stat(filePath);
|
|
650
650
|
return true;
|
|
651
651
|
} catch {
|
|
652
652
|
return false;
|
|
@@ -1237,7 +1237,7 @@ async function resolveCliOutput(params) {
|
|
|
1237
1237
|
const commandId = commandBase(params.command);
|
|
1238
1238
|
const fileOutput = commandId === "whisper-cli" ? resolveWhisperCppOutputPath(params.args) : commandId === "whisper" ? resolveWhisperOutputPath(params.args, params.mediaPath) : commandId === "parakeet-mlx" ? resolveParakeetOutputPath(params.args, params.mediaPath) : null;
|
|
1239
1239
|
if (fileOutput && await fileExists(fileOutput)) try {
|
|
1240
|
-
const content = await
|
|
1240
|
+
const content = await fs$1.readFile(fileOutput, "utf8");
|
|
1241
1241
|
if (content.trim()) return content.trim();
|
|
1242
1242
|
} catch {}
|
|
1243
1243
|
if (commandId === "gemini") {
|
|
@@ -1546,10 +1546,10 @@ async function runCliEntry(params) {
|
|
|
1546
1546
|
timeoutMs
|
|
1547
1547
|
});
|
|
1548
1548
|
if (capability === "audio") assertMinAudioSize({
|
|
1549
|
-
size: (await
|
|
1549
|
+
size: (await fs$1.stat(pathResult.path)).size,
|
|
1550
1550
|
attachmentIndex: params.attachmentIndex
|
|
1551
1551
|
});
|
|
1552
|
-
const outputDir = await
|
|
1552
|
+
const outputDir = await fs$1.mkdtemp(path.join(resolvePreferredOpenClawTmpDir(), "openclaw-media-cli-"));
|
|
1553
1553
|
const mediaPath = pathResult.path;
|
|
1554
1554
|
const outputBase = path.join(outputDir, path.parse(mediaPath).name);
|
|
1555
1555
|
const templCtx = {
|
|
@@ -1583,7 +1583,7 @@ async function runCliEntry(params) {
|
|
|
1583
1583
|
model: command
|
|
1584
1584
|
};
|
|
1585
1585
|
} finally {
|
|
1586
|
-
await
|
|
1586
|
+
await fs$1.rm(outputDir, {
|
|
1587
1587
|
recursive: true,
|
|
1588
1588
|
force: true
|
|
1589
1589
|
}).catch(() => {});
|
|
@@ -1627,9 +1627,9 @@ function candidateBinaryNames(name) {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
async function isExecutable(filePath) {
|
|
1629
1629
|
try {
|
|
1630
|
-
if (!(await
|
|
1630
|
+
if (!(await fs$1.stat(filePath)).isFile()) return false;
|
|
1631
1631
|
if (process.platform === "win32") return true;
|
|
1632
|
-
await
|
|
1632
|
+
await fs$1.access(filePath, constants.X_OK);
|
|
1633
1633
|
return true;
|
|
1634
1634
|
} catch {
|
|
1635
1635
|
return false;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, o as resolveConfigPath } from "./paths-nt7fRu1x.js";
|
|
2
|
-
import { An as INCLUDE_KEY, C as formatPermissionRemediation, S as formatPermissionDetail, T as safeStat, Wt as normalizeTrustedSafeBinDirs, it as normalizeNetworkMode, j as createConfigIO, jn as MAX_INCLUDE_DEPTH, rt as isDangerousNetworkMode, w as inspectPathPermissions } from "./auth-profiles-
|
|
2
|
+
import { An as INCLUDE_KEY, C as formatPermissionRemediation, S as formatPermissionDetail, T as safeStat, Wt as normalizeTrustedSafeBinDirs, it as normalizeNetworkMode, j as createConfigIO, jn as MAX_INCLUDE_DEPTH, rt as isDangerousNetworkMode, w as inspectPathPermissions } from "./auth-profiles-k09E8RLJ.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
4
|
-
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
4
|
+
import { _ as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId, g as resolveAgentModelFallbackValues } from "./agent-scope-BrbgAMci.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import { x as shortenHomePath } from "./utils-BHAtQ0dM.js";
|
|
7
7
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-D3aIn6ij.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
9
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
10
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-hRB5Jb3F.js";
|
|
9
|
+
import { l as normalizeStringEntries } from "./dock-CcEfMX5D.js";
|
|
10
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-B18XPCNc.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-bQJz_2wn.js";
|
|
12
|
-
import { n as listChannelPlugins } from "./plugins
|
|
13
|
-
import { t as GatewayClient } from "./client-
|
|
14
|
-
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-
|
|
12
|
+
import { n as listChannelPlugins } from "./plugins-CO6qDFdk.js";
|
|
13
|
+
import { t as GatewayClient } from "./client-CIji7FpE.js";
|
|
14
|
+
import { c as READ_SCOPE, t as buildGatewayConnectionDetails } from "./call-CBH5yDff.js";
|
|
15
15
|
import { t as resolveGatewayCredentialsFromConfig } from "./credentials-DfK6Oke5.js";
|
|
16
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
17
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
18
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
16
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-BNSLjYyu.js";
|
|
17
|
+
import { a as resolveGatewayAuth } from "./auth-DuCrQ5K9.js";
|
|
18
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-Dl8XC4vq.js";
|
|
19
19
|
import { r as formatErrorMessage } from "./errors-BkARgYnD.js";
|
|
20
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
21
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
22
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
23
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-
|
|
24
|
-
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
20
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-CEdwujzY.js";
|
|
21
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-B7V-vN3N.js";
|
|
22
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-WGGwqFJB.js";
|
|
23
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-DBhaJ0y_.js";
|
|
24
|
+
import { l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-Cp3wptYh.js";
|
|
25
25
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-CAHqhE34.js";
|
|
26
26
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-lwpZk6nY.js";
|
|
27
27
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D6BlzJnx.js";
|
|
28
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
29
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
28
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-WUtERLdW.js";
|
|
29
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DKPye8Fx.js";
|
|
30
30
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DiZDtmlZ.js";
|
|
31
31
|
import { t as inferParamBFromIdOrName } from "./model-param-b-NJsgH2EF.js";
|
|
32
32
|
import path from "node:path";
|
|
33
33
|
import JSON5 from "json5";
|
|
34
|
-
import * as fs from "node:fs/promises";
|
|
35
|
-
import
|
|
34
|
+
import * as fs$1 from "node:fs/promises";
|
|
35
|
+
import fs from "node:fs/promises";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
import { isIP } from "node:net";
|
|
38
38
|
|
|
@@ -1303,7 +1303,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1303
1303
|
if (visited.has(resolved)) continue;
|
|
1304
1304
|
visited.add(resolved);
|
|
1305
1305
|
result.push(resolved);
|
|
1306
|
-
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1306
|
+
const rawText = await fs$1.readFile(resolved, "utf-8").catch(() => null);
|
|
1307
1307
|
if (!rawText) continue;
|
|
1308
1308
|
const nestedParsed = (() => {
|
|
1309
1309
|
try {
|
|
@@ -1338,7 +1338,7 @@ function expandTilde(p, env) {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1340
1340
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1341
|
-
const raw = await
|
|
1341
|
+
const raw = await fs.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1342
1342
|
if (!raw.trim()) return [];
|
|
1343
1343
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1344
1344
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1360,7 +1360,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
return {
|
|
1362
1362
|
extensionsDir,
|
|
1363
|
-
pluginDirs: (await
|
|
1363
|
+
pluginDirs: (await fs.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1364
1364
|
params.onReadError?.(err);
|
|
1365
1365
|
return [];
|
|
1366
1366
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1423,7 +1423,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
async function readInstalledPackageVersion(dir) {
|
|
1425
1425
|
try {
|
|
1426
|
-
const raw = await
|
|
1426
|
+
const raw = await fs.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1427
1427
|
const parsed = JSON.parse(raw);
|
|
1428
1428
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1429
1429
|
} catch {
|
|
@@ -1459,10 +1459,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1459
1459
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1460
1460
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1461
1461
|
const dir = queue.shift();
|
|
1462
|
-
const dirRealPath = await
|
|
1462
|
+
const dirRealPath = await fs.realpath(dir).catch(() => path.resolve(dir));
|
|
1463
1463
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1464
1464
|
visitedDirs.add(dirRealPath);
|
|
1465
|
-
const entries = await
|
|
1465
|
+
const entries = await fs.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1466
1466
|
for (const entry of entries) {
|
|
1467
1467
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1468
1468
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1471,7 +1471,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1471
1471
|
continue;
|
|
1472
1472
|
}
|
|
1473
1473
|
if (entry.isSymbolicLink()) {
|
|
1474
|
-
const stat = await
|
|
1474
|
+
const stat = await fs.stat(fullPath).catch(() => null);
|
|
1475
1475
|
if (!stat) continue;
|
|
1476
1476
|
if (stat.isDirectory()) {
|
|
1477
1477
|
queue.push(fullPath);
|
|
@@ -1759,13 +1759,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1759
1759
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1760
1760
|
for (const workspaceDir of workspaceDirs) {
|
|
1761
1761
|
const workspacePath = path.resolve(workspaceDir);
|
|
1762
|
-
const workspaceRealPath = await
|
|
1762
|
+
const workspaceRealPath = await fs.realpath(workspacePath).catch(() => workspacePath);
|
|
1763
1763
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1764
1764
|
for (const skillFilePath of skillFilePaths) {
|
|
1765
1765
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1766
1766
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1767
1767
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1768
|
-
const skillRealPath = await
|
|
1768
|
+
const skillRealPath = await fs.realpath(canonicalSkillPath).catch(() => null);
|
|
1769
1769
|
if (!skillRealPath) continue;
|
|
1770
1770
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1771
1771
|
escapedSkillFiles.push({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as safeEqualSecret } from "./secret-equal-CzmdvIUc.js";
|
|
2
|
-
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-
|
|
2
|
+
import { a as isTrustedProxyAddress, l as resolveClientIp, n as isLoopbackAddress, t as isLocalishHost } from "./net-Bxr80JTs.js";
|
|
3
3
|
import { n as resolveGatewayCredentialsFromValues } from "./credentials-DfK6Oke5.js";
|
|
4
4
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-CFR4X5-p.js";
|
|
5
5
|
|
|
@@ -2,10 +2,10 @@ import "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import "./paths-nt7fRu1x.js";
|
|
3
3
|
import "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { Kn as ensureAuthProfileStore, Si as normalizeSecretInput, Un as upsertAuthProfile, at as parseDurationMs, et as resolveDefaultSecretProviderAlias, hr as normalizeProviderId, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { Kn as ensureAuthProfileStore, Si as normalizeSecretInput, Un as upsertAuthProfile, at as parseDurationMs, et as resolveDefaultSecretProviderAlias, hr as normalizeProviderId, l as resolveApiKeyForProfile, n as resolveAuthProfileOrder, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-k09E8RLJ.js";
|
|
6
|
+
import "./agent-scope-BrbgAMci.js";
|
|
7
7
|
import "./utils-BHAtQ0dM.js";
|
|
8
|
-
import "./workspace-
|
|
8
|
+
import "./workspace-DkRZH7vl.js";
|
|
9
9
|
import "./logger-rnlD7CTs.js";
|
|
10
10
|
import "./exec-lwQ7X6bf.js";
|
|
11
11
|
import "./github-copilot-token-b8zw2qi2.js";
|
|
@@ -13,19 +13,19 @@ 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-
|
|
17
|
-
import "./models-config-
|
|
18
|
-
import "./model-catalog-
|
|
16
|
+
import "./manifest-registry-hRB5Jb3F.js";
|
|
17
|
+
import "./models-config-CkOKPbk9.js";
|
|
18
|
+
import "./model-catalog-Chb7lzRo.js";
|
|
19
19
|
import "./constants-D1Q8yQ1_.js";
|
|
20
20
|
import "./context-window-guard-BqrKjiIm.js";
|
|
21
|
-
import "./issue-format-
|
|
22
|
-
import "./shared-
|
|
23
|
-
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-
|
|
24
|
-
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-
|
|
25
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
26
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
27
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
28
|
-
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-
|
|
21
|
+
import "./issue-format-Cat2txpr.js";
|
|
22
|
+
import "./shared-BKC5qsuY.js";
|
|
23
|
+
import { n as applyCustomApiConfig, t as CustomApiError, u as resolveCustomProviderId } from "./onboard-custom.shared-DoXUpHZV.js";
|
|
24
|
+
import { A as applySyntheticConfig, B as applyZaiConfig, C as applyMoonshotConfigCn, Ct as setXaiApiKey, E as applyOpenrouterConfig, H as applyLitellmConfig, I as applyXaiConfig, K as applyVercelAiGatewayConfig, M as applyTogetherConfig, O as applyQianfanConfig, P as applyVeniceConfig, R as applyXiaomiConfig, S as applyMoonshotConfig, St as setVolcengineApiKey, Tt as setZaiApiKey, W as applyCloudflareAiGatewayConfig, _t as setQianfanApiKey, a as applyMinimaxApiConfig, at as setCloudflareAiGatewayConfig, b as applyMistralConfig, bt as setVeniceApiKey, ct as setKilocodeApiKey, d as applyAuthProfileConfig, dt as setMinimaxApiKey, ft as setMistralApiKey, g as applyKilocodeConfig, gt as setOpenrouterApiKey, ht as setOpencodeZenApiKey, it as setByteplusApiKey, l as applyMinimaxConfig, lt as setKimiCodingApiKey, m as applyHuggingfaceConfig, mt as setOpenaiApiKey, n as validateAnthropicSetupToken, nt as setAnthropicApiKey, o as applyMinimaxApiConfigCn, ot as setGeminiApiKey, pt as setMoonshotApiKey, r as applyOpencodeZenConfig, st as setHuggingfaceApiKey, t as buildTokenProfileId, ut as setLitellmApiKey, v as applyKimiCodeConfig, vt as setSyntheticApiKey, wt as setXiaomiApiKey, xt as setVercelAiGatewayApiKey, yt as setTogetherApiKey } from "./auth-token-CWb4NQTJ.js";
|
|
25
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-CtAelPdF.js";
|
|
26
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-DRYz3m4d.js";
|
|
27
|
+
import { r as applyPrimaryModel } from "./model-picker-CdgwJ2MU.js";
|
|
28
|
+
import { n as parseNonInteractiveCustomApiFlags } from "./onboard-custom-DhEI_A-m.js";
|
|
29
29
|
|
|
30
30
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
31
31
|
function parseEnvVarNameFromSourceLabel(source) {
|