@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
|
@@ -2,56 +2,56 @@ import { g as getResolvedLoggerSettings } from "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-nt7fRu1x.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import { r as isTruthyEnvValue$1 } from "./entry.js";
|
|
5
|
-
import { Ai as DEFAULT_MODEL, Kn as ensureAuthProfileStore, Ni as CLAUDE_CLI_PROFILE_ID, P as readConfigFileSnapshot, Pi as CODEX_CLI_PROFILE_ID, R as writeConfigFile, Rn as repairOAuthProfileIdMismatch, Zn as updateAuthProfileStoreWithLock, ai as resolveApiKeyForProvider, ji as DEFAULT_PROVIDER, l as resolveApiKeyForProfile, lr as getModelRefStatus, s as resolveProfileUnusableUntilForDisplay, xr as resolveHooksGmailModel, yr as resolveConfiguredModelRef } from "./auth-profiles-
|
|
5
|
+
import { Ai as DEFAULT_MODEL, Kn as ensureAuthProfileStore, Ni as CLAUDE_CLI_PROFILE_ID, P as readConfigFileSnapshot, Pi as CODEX_CLI_PROFILE_ID, R as writeConfigFile, Rn as repairOAuthProfileIdMismatch, Zn as updateAuthProfileStoreWithLock, ai as resolveApiKeyForProvider, ji as DEFAULT_PROVIDER, l as resolveApiKeyForProfile, lr as getModelRefStatus, s as resolveProfileUnusableUntilForDisplay, xr as resolveHooksGmailModel, yr as resolveConfiguredModelRef } from "./auth-profiles-k09E8RLJ.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
7
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrbgAMci.js";
|
|
8
8
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
9
9
|
import { S as sleep, v as resolveUserPath, x as shortenHomePath } from "./utils-BHAtQ0dM.js";
|
|
10
|
-
import { t as DEFAULT_AGENTS_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-
|
|
10
|
+
import { t as DEFAULT_AGENTS_FILENAME, y as resolveOpenClawPackageRoot } from "./workspace-DkRZH7vl.js";
|
|
11
11
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-lwQ7X6bf.js";
|
|
12
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
13
|
-
import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins
|
|
15
|
-
import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-
|
|
12
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-D9Rnj4xI.js";
|
|
13
|
+
import { B as cleanStaleLockFiles, at as formatSessionArchiveTimestamp, o as loadSessionStore, ot as isPrimarySessionTranscriptFileName, tt as resolveMainSessionKey } from "./sessions-i5lEEEca.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-CO6qDFdk.js";
|
|
15
|
+
import { _ as loadOpenClawPlugins, an as formatRemainingShort, cr as resolveAgentSessionDirs, in as buildAuthHealthSummary, rn as DEFAULT_OAUTH_WARN_MS } from "./subagent-registry-eE5PhOhY.js";
|
|
16
16
|
import { c as resolveStorePath, n as resolveSessionFilePath, r as resolveSessionFilePathOptions, s as resolveSessionTranscriptsDirForAgent } from "./paths-Be1MArvM.js";
|
|
17
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
18
|
-
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-
|
|
19
|
-
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-
|
|
20
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
21
|
-
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-
|
|
22
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
17
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CBH5yDff.js";
|
|
18
|
+
import { r as isLoopbackHost, u as resolveGatewayBindHost } from "./net-Bxr80JTs.js";
|
|
19
|
+
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-BNSLjYyu.js";
|
|
20
|
+
import { a as resolveGatewayAuth } from "./auth-DuCrQ5K9.js";
|
|
21
|
+
import { n as inspectPortUsage, o as formatPortDiagnostics } from "./ports-Dczj_PV_.js";
|
|
22
|
+
import { n as loadModelCatalog } from "./model-catalog-Chb7lzRo.js";
|
|
23
23
|
import { f as resolveGatewaySystemdServiceName, h as resolveNodeLaunchAgentLabel, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-CVdMnAs9.js";
|
|
24
|
-
import { l as resolveDmAllowState } from "./pi-tools.policy-
|
|
25
|
-
import { r as isWSLEnv, t as isWSL } from "./wsl-
|
|
26
|
-
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-
|
|
24
|
+
import { l as resolveDmAllowState } from "./pi-tools.policy-Cp3wptYh.js";
|
|
25
|
+
import { r as isWSLEnv, t as isWSL } from "./wsl-KDz114y6.js";
|
|
26
|
+
import { h as randomToken, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel } from "./onboard-helpers-ngPRx_6_.js";
|
|
27
27
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-C1-jML6O.js";
|
|
28
|
-
import { i as resolveMemoryBackendConfig } from "./memory-cli-
|
|
29
|
-
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-
|
|
28
|
+
import { i as resolveMemoryBackendConfig } from "./memory-cli-BbEwsmor.js";
|
|
29
|
+
import { n as DEFAULT_LOCAL_MODEL, r as resolveMemorySearchConfig } from "./manager-rK3J4Po3.js";
|
|
30
30
|
import { t as note$1 } from "./note-sNSXqQi8.js";
|
|
31
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
32
|
-
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-
|
|
31
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-Bb3ugkRr.js";
|
|
32
|
+
import { d as resolveSystemNodeInfo, l as renderSystemNodeWarning, n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-Crntu4pF.js";
|
|
33
33
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-3ZmrkfCf.js";
|
|
34
|
-
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
35
|
-
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
36
|
-
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-
|
|
37
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
38
|
-
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-
|
|
39
|
-
import { r as healthCommand } from "./health-
|
|
40
|
-
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-
|
|
41
|
-
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
42
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
34
|
+
import { l as uninstallLegacySystemdUnits, r as isSystemdUserServiceAvailable } from "./systemd-ebIdQGFn.js";
|
|
35
|
+
import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunchAgentBootstrap, r as isLaunchAgentListed, s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-BcyKtT1n.js";
|
|
36
|
+
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-tCX_kug7.js";
|
|
37
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-D4xhje-h.js";
|
|
38
|
+
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-DkrsY9Gy.js";
|
|
39
|
+
import { r as healthCommand } from "./health-DOIxOlnm.js";
|
|
40
|
+
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Bn4e_1By.js";
|
|
41
|
+
import { t as resolveDefaultChannelAccountContext } from "./channel-account-context-C3TU0o4T.js";
|
|
42
|
+
import { t as runGatewayUpdate } from "./update-runner-j5RoheCK.js";
|
|
43
43
|
import { n as logConfigUpdated } from "./logging-BsBFegtS.js";
|
|
44
|
-
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-
|
|
44
|
+
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DtaIUiEk.js";
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-BKK4AmkR.js";
|
|
46
|
-
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-
|
|
46
|
+
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-IFrOwkb9.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-COrcOjm-.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-YtQqTVcr.js";
|
|
49
49
|
import { execFile } from "node:child_process";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import os from "node:os";
|
|
52
52
|
import fs from "node:fs";
|
|
53
53
|
import { promisify } from "node:util";
|
|
54
|
-
import
|
|
54
|
+
import fs$1 from "node:fs/promises";
|
|
55
55
|
import { confirm, intro, outro, select } from "@clack/prompts";
|
|
56
56
|
|
|
57
57
|
//#region src/commands/doctor-auth.ts
|
|
@@ -548,16 +548,16 @@ async function cleanupLegacyLaunchdService(params) {
|
|
|
548
548
|
await execFileAsync$1("launchctl", ["unload", params.plistPath]).catch(() => void 0);
|
|
549
549
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
550
550
|
try {
|
|
551
|
-
await
|
|
551
|
+
await fs$1.mkdir(trashDir, { recursive: true });
|
|
552
552
|
} catch {}
|
|
553
553
|
try {
|
|
554
|
-
await
|
|
554
|
+
await fs$1.access(params.plistPath);
|
|
555
555
|
} catch {
|
|
556
556
|
return null;
|
|
557
557
|
}
|
|
558
558
|
const dest = path.join(trashDir, `${params.label}-${Date.now()}.plist`);
|
|
559
559
|
try {
|
|
560
|
-
await
|
|
560
|
+
await fs$1.rename(params.plistPath, dest);
|
|
561
561
|
return dest;
|
|
562
562
|
} catch {
|
|
563
563
|
return null;
|
|
@@ -1901,11 +1901,11 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1901
1901
|
argv1: process.argv[1]
|
|
1902
1902
|
})).indexPath ?? resolveControlUiDistIndexPathForRoot(root);
|
|
1903
1903
|
try {
|
|
1904
|
-
const [schemaStats, uiStats] = await Promise.all([
|
|
1904
|
+
const [schemaStats, uiStats] = await Promise.all([fs$1.stat(schemaPath).catch(() => null), fs$1.stat(uiIndexPath).catch(() => null)]);
|
|
1905
1905
|
if (schemaStats && !uiStats) {
|
|
1906
1906
|
note$1(["- Control UI assets are missing.", "- Run: pnpm ui:build"].join("\n"), "UI");
|
|
1907
1907
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1908
|
-
if (!await
|
|
1908
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1909
1909
|
note$1("Skipping UI build: ui/ sources not present.", "UI");
|
|
1910
1910
|
return;
|
|
1911
1911
|
}
|
|
@@ -1950,7 +1950,7 @@ async function maybeRepairUiProtocolFreshness(_runtime, prompter) {
|
|
|
1950
1950
|
initialValue: true
|
|
1951
1951
|
})) {
|
|
1952
1952
|
const uiSourcesPath = path.join(root, "ui/package.json");
|
|
1953
|
-
if (!await
|
|
1953
|
+
if (!await fs$1.stat(uiSourcesPath).catch(() => null)) {
|
|
1954
1954
|
note$1("Skipping UI rebuild: ui/ sources not present.", "UI");
|
|
1955
1955
|
return;
|
|
1956
1956
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
2
|
-
import { Kn as ensureAuthProfileStore, Un as upsertAuthProfile, hr as normalizeProviderId } from "./auth-profiles-
|
|
3
|
-
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
-
import { r as isWSLEnv } from "./wsl-
|
|
2
|
+
import { Kn as ensureAuthProfileStore, Un as upsertAuthProfile, hr as normalizeProviderId } from "./auth-profiles-k09E8RLJ.js";
|
|
3
|
+
import { _ as loadOpenClawPlugins, g as createPluginLoaderLogger } from "./subagent-registry-eE5PhOhY.js";
|
|
4
|
+
import { r as isWSLEnv } from "./wsl-KDz114y6.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-C1-jML6O.js";
|
|
6
|
-
import { f as updateConfig } from "./shared-
|
|
7
|
-
import { d as applyAuthProfileConfig } from "./auth-token-
|
|
6
|
+
import { f as updateConfig } from "./shared-BKC5qsuY.js";
|
|
7
|
+
import { d as applyAuthProfileConfig } from "./auth-token-CWb4NQTJ.js";
|
|
8
8
|
import { n as logConfigUpdated } from "./logging-BsBFegtS.js";
|
|
9
9
|
import { intro, note, outro, spinner } from "@clack/prompts";
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bt as parseCanonicalIpAddress, ct as isBlockedSpecialUseIpv4Address, ht as isLegacyIpv4Literal, lt as isBlockedSpecialUseIpv6Address, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4, xt as parseLooseIpAddress } from "./auth-profiles-
|
|
1
|
+
import { bt as parseCanonicalIpAddress, ct as isBlockedSpecialUseIpv4Address, ht as isLegacyIpv4Literal, lt as isBlockedSpecialUseIpv6Address, pt as isIpv4Address, st as extractEmbeddedIpv4FromIpv6, ut as isCanonicalDottedDecimalIPv4, xt as parseLooseIpAddress } from "./auth-profiles-k09E8RLJ.js";
|
|
2
2
|
import { lookup } from "node:dns";
|
|
3
3
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
4
4
|
import { Agent } from "undici";
|
|
@@ -2,13 +2,13 @@ import { r as isVerbose } from "./globals-BSCHJiM2.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-nt7fRu1x.js";
|
|
3
3
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
4
4
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
5
|
-
import { p as sniffMimeFromBase64 } from "./subagent-registry-
|
|
6
|
-
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-
|
|
5
|
+
import { p as sniffMimeFromBase64 } from "./subagent-registry-eE5PhOhY.js";
|
|
6
|
+
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DrZ4qfxw.js";
|
|
7
7
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-BMVmEUXt.js";
|
|
8
|
-
import { o as estimateBase64DecodedBytes } from "./tool-images-
|
|
8
|
+
import { o as estimateBase64DecodedBytes } from "./tool-images-CXfdtMwT.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import
|
|
11
|
+
import fs from "node:fs/promises";
|
|
12
12
|
import { createHash, createPrivateKey, sign } from "node:crypto";
|
|
13
13
|
import http2 from "node:http2";
|
|
14
14
|
|
|
@@ -526,7 +526,7 @@ async function resolveApnsAuthConfigFromEnv(env = process.env) {
|
|
|
526
526
|
value: {
|
|
527
527
|
teamId,
|
|
528
528
|
keyId,
|
|
529
|
-
privateKey: normalizePrivateKey(await
|
|
529
|
+
privateKey: normalizePrivateKey(await fs.readFile(keyPath, "utf8"))
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
} catch (err) {
|
|
@@ -2,11 +2,11 @@ import { k as resolvePreferredOpenClawTmpDir } 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-
|
|
5
|
+
import "./auth-profiles-k09E8RLJ.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-DmULG-oQ.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-BrbgAMci.js";
|
|
8
8
|
import "./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,20 +14,20 @@ import "./host-env-security-CJMD0__Z.js";
|
|
|
14
14
|
import "./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-
|
|
19
|
-
import "./net-
|
|
20
|
-
import "./tailnet-
|
|
17
|
+
import "./manifest-registry-hRB5Jb3F.js";
|
|
18
|
+
import "./path-alias-guards-DdR4BKPM.js";
|
|
19
|
+
import "./net-Bxr80JTs.js";
|
|
20
|
+
import "./tailnet-BKoOcmOa.js";
|
|
21
21
|
import { n as markPwAiLoaded } from "./diagnostic-session-state-CDEk5vOn.js";
|
|
22
|
-
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-
|
|
23
|
-
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
22
|
+
import { O as withNoProxyForCdpUrl, _ as appendCdpPath, b as getHeadersWithAuth, d as normalizeCdpWsUrl, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, v as fetchJson, x as withCdpSocket } from "./chrome-BVlYi4nu.js";
|
|
23
|
+
import { a as resolveStrictExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, r as DEFAULT_UPLOAD_DIR, s as DEFAULT_FILL_FIELD_TYPE, t as DEFAULT_DOWNLOAD_DIR } from "./paths-BPXmr3Zn.js";
|
|
24
24
|
import "./redact-BMVmEUXt.js";
|
|
25
25
|
import { r as formatErrorMessage } from "./errors-BkARgYnD.js";
|
|
26
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe
|
|
27
|
-
import "./proxy-env-
|
|
28
|
-
import "./ports-
|
|
26
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe--YXsniNZ.js";
|
|
27
|
+
import "./proxy-env-DQGTNk9X.js";
|
|
28
|
+
import "./ports-Dczj_PV_.js";
|
|
29
29
|
import path from "node:path";
|
|
30
|
-
import
|
|
30
|
+
import fs from "node:fs/promises";
|
|
31
31
|
import crypto from "node:crypto";
|
|
32
32
|
import { chromium, devices } from "playwright-core";
|
|
33
33
|
|
|
@@ -563,7 +563,7 @@ async function writeViaSiblingTempPath(params) {
|
|
|
563
563
|
});
|
|
564
564
|
renameSucceeded = true;
|
|
565
565
|
} finally {
|
|
566
|
-
if (!renameSucceeded) await
|
|
566
|
+
if (!renameSucceeded) await fs.rm(tempPath, { force: true }).catch(() => {});
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
|
|
@@ -954,7 +954,7 @@ async function saveDownloadPayload(download, outPath) {
|
|
|
954
954
|
const suggested = download.suggestedFilename?.() || "download.bin";
|
|
955
955
|
const requestedPath = outPath?.trim();
|
|
956
956
|
const resolvedOutPath = path.resolve(requestedPath || buildTempDownloadPath(suggested));
|
|
957
|
-
await
|
|
957
|
+
await fs.mkdir(path.dirname(resolvedOutPath), { recursive: true });
|
|
958
958
|
if (!requestedPath) await download.saveAs?.(resolvedOutPath);
|
|
959
959
|
else await writeViaSiblingTempPath({
|
|
960
960
|
rootDir: DEFAULT_DOWNLOAD_DIR,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./globals-BSCHJiM2.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-nt7fRu1x.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-BrbgAMci.js";
|
|
5
5
|
import { T as parseAgentSessionKey } from "./session-key-BLprDJYq.js";
|
|
6
6
|
import "./utils-BHAtQ0dM.js";
|
|
7
|
-
import "./workspace-
|
|
7
|
+
import "./workspace-DkRZH7vl.js";
|
|
8
8
|
import "./logger-rnlD7CTs.js";
|
|
9
9
|
import "./exec-lwQ7X6bf.js";
|
|
10
|
-
import "./path-alias-guards-
|
|
10
|
+
import "./path-alias-guards-DdR4BKPM.js";
|
|
11
11
|
import "./paths-Be1MArvM.js";
|
|
12
12
|
import "./redact-BMVmEUXt.js";
|
|
13
|
-
import { l as writeFileWithinRoot } from "./fs-safe
|
|
13
|
+
import { l as writeFileWithinRoot } from "./fs-safe--YXsniNZ.js";
|
|
14
14
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-D0wwE7yg.js";
|
|
15
|
-
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-
|
|
15
|
+
import { _ as isFileMissingError, i as listSessionFilesForAgent, n as requireNodeSqlite, r as buildSessionEntry, t as extractKeywords, v as statRegularFile } from "./query-expansion-CP4BjmxS.js";
|
|
16
16
|
import { spawn } from "node:child_process";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import os from "node:os";
|
|
19
|
-
import
|
|
19
|
+
import fs from "node:fs/promises";
|
|
20
20
|
import readline from "node:readline";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/qmd-scope.ts
|
|
@@ -291,10 +291,10 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
291
291
|
async initialize(mode) {
|
|
292
292
|
this.bootstrapCollections();
|
|
293
293
|
if (mode === "status") return;
|
|
294
|
-
await
|
|
295
|
-
await
|
|
296
|
-
await
|
|
297
|
-
if (this.sessionExporter) await
|
|
294
|
+
await fs.mkdir(this.xdgConfigHome, { recursive: true });
|
|
295
|
+
await fs.mkdir(this.xdgCacheHome, { recursive: true });
|
|
296
|
+
await fs.mkdir(path.dirname(this.indexPath), { recursive: true });
|
|
297
|
+
if (this.sessionExporter) await fs.mkdir(this.sessionExporter.dir, { recursive: true });
|
|
298
298
|
await this.symlinkSharedModels();
|
|
299
299
|
await this.ensureCollections();
|
|
300
300
|
if (this.qmd.update.onBoot) {
|
|
@@ -387,7 +387,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
387
387
|
}
|
|
388
388
|
async ensureCollectionPath(collection) {
|
|
389
389
|
if (!this.isDirectoryGlobPattern(collection.pattern)) return;
|
|
390
|
-
await
|
|
390
|
+
await fs.mkdir(collection.path, { recursive: true });
|
|
391
391
|
}
|
|
392
392
|
isDirectoryGlobPattern(pattern) {
|
|
393
393
|
return pattern.includes("*") || pattern.includes("?") || pattern.includes("[");
|
|
@@ -831,19 +831,19 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
831
831
|
const defaultModelsDir = path.join(defaultCacheHome, "qmd", "models");
|
|
832
832
|
const targetModelsDir = path.join(this.xdgCacheHome, "qmd", "models");
|
|
833
833
|
try {
|
|
834
|
-
if (!(await
|
|
834
|
+
if (!(await fs.stat(defaultModelsDir).catch((err) => {
|
|
835
835
|
if (err.code === "ENOENT") return null;
|
|
836
836
|
throw err;
|
|
837
837
|
}))?.isDirectory()) return;
|
|
838
838
|
try {
|
|
839
|
-
await
|
|
839
|
+
await fs.lstat(targetModelsDir);
|
|
840
840
|
return;
|
|
841
841
|
} catch {}
|
|
842
842
|
try {
|
|
843
|
-
await
|
|
843
|
+
await fs.symlink(defaultModelsDir, targetModelsDir, "dir");
|
|
844
844
|
} catch (symlinkErr) {
|
|
845
845
|
const code = symlinkErr.code;
|
|
846
|
-
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await
|
|
846
|
+
if (process.platform === "win32" && (code === "EPERM" || code === "ENOTSUP")) await fs.symlink(defaultModelsDir, targetModelsDir, "junction");
|
|
847
847
|
else throw symlinkErr;
|
|
848
848
|
}
|
|
849
849
|
log.debug(`symlinked qmd models: ${defaultModelsDir} → ${targetModelsDir}`);
|
|
@@ -1019,7 +1019,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1019
1019
|
const count = Math.max(1, lines ?? Number.POSITIVE_INFINITY);
|
|
1020
1020
|
let handle;
|
|
1021
1021
|
try {
|
|
1022
|
-
handle = await
|
|
1022
|
+
handle = await fs.open(absPath);
|
|
1023
1023
|
} catch (err) {
|
|
1024
1024
|
if (isFileMissingError(err)) return { missing: true };
|
|
1025
1025
|
throw err;
|
|
@@ -1051,7 +1051,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1051
1051
|
try {
|
|
1052
1052
|
return {
|
|
1053
1053
|
missing: false,
|
|
1054
|
-
text: await
|
|
1054
|
+
text: await fs.readFile(absPath, "utf-8")
|
|
1055
1055
|
};
|
|
1056
1056
|
} catch (err) {
|
|
1057
1057
|
if (isFileMissingError(err)) return { missing: true };
|
|
@@ -1068,7 +1068,7 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1068
1068
|
async exportSessions() {
|
|
1069
1069
|
if (!this.sessionExporter) return;
|
|
1070
1070
|
const exportDir = this.sessionExporter.dir;
|
|
1071
|
-
await
|
|
1071
|
+
await fs.mkdir(exportDir, { recursive: true });
|
|
1072
1072
|
const files = await listSessionFilesForAgent(this.agentId);
|
|
1073
1073
|
const keep = /* @__PURE__ */ new Set();
|
|
1074
1074
|
const tracked = /* @__PURE__ */ new Set();
|
|
@@ -1094,11 +1094,11 @@ var QmdMemoryManager = class QmdMemoryManager {
|
|
|
1094
1094
|
});
|
|
1095
1095
|
keep.add(target);
|
|
1096
1096
|
}
|
|
1097
|
-
const exported = await
|
|
1097
|
+
const exported = await fs.readdir(exportDir).catch(() => []);
|
|
1098
1098
|
for (const name of exported) {
|
|
1099
1099
|
if (!name.endsWith(".md")) continue;
|
|
1100
1100
|
const full = path.join(exportDir, name);
|
|
1101
|
-
if (!keep.has(full)) await
|
|
1101
|
+
if (!keep.has(full)) await fs.rm(full, { force: true });
|
|
1102
1102
|
}
|
|
1103
1103
|
for (const [sessionFile, state] of this.exportedSessionState) if (!tracked.has(sessionFile) || !state.target.startsWith(exportDir + path.sep)) this.exportedSessionState.delete(sessionFile);
|
|
1104
1104
|
}
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { p as theme } from "./globals-BSCHJiM2.js";
|
|
3
3
|
import { u as resolveGatewayPort } from "./paths-nt7fRu1x.js";
|
|
4
4
|
import { d as defaultRuntime } from "./subsystem-CD-_2ECk.js";
|
|
5
|
-
import { M as loadConfig, dt as isCarrierGradeNatIpv4Address, vt as isRfc1918Ipv4Address } from "./auth-profiles-
|
|
5
|
+
import { M as loadConfig, dt as isCarrierGradeNatIpv4Address, vt as isRfc1918Ipv4Address } from "./auth-profiles-k09E8RLJ.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-lwQ7X6bf.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-B3vCyexf.js";
|
|
8
8
|
import os from "node:os";
|
|
@@ -6,7 +6,7 @@ import { n as redactSensitiveText } from "./redact-BMVmEUXt.js";
|
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs/promises";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/memory/fs-utils.ts
|
|
@@ -16,7 +16,7 @@ function isFileMissingError(err) {
|
|
|
16
16
|
async function statRegularFile(absPath) {
|
|
17
17
|
let stat;
|
|
18
18
|
try {
|
|
19
|
-
stat = await
|
|
19
|
+
stat = await fs$1.lstat(absPath);
|
|
20
20
|
} catch (err) {
|
|
21
21
|
if (isFileMissingError(err)) return { missing: true };
|
|
22
22
|
throw err;
|
|
@@ -51,7 +51,7 @@ function isMemoryPath(relPath) {
|
|
|
51
51
|
return normalized.startsWith("memory/");
|
|
52
52
|
}
|
|
53
53
|
async function walkDir(dir, files) {
|
|
54
|
-
const entries = await
|
|
54
|
+
const entries = await fs$1.readdir(dir, { withFileTypes: true });
|
|
55
55
|
for (const entry of entries) {
|
|
56
56
|
const full = path.join(dir, entry.name);
|
|
57
57
|
if (entry.isSymbolicLink()) continue;
|
|
@@ -71,7 +71,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
71
71
|
const memoryDir = path.join(workspaceDir, "memory");
|
|
72
72
|
const addMarkdownFile = async (absPath) => {
|
|
73
73
|
try {
|
|
74
|
-
const stat = await
|
|
74
|
+
const stat = await fs$1.lstat(absPath);
|
|
75
75
|
if (stat.isSymbolicLink() || !stat.isFile()) return;
|
|
76
76
|
if (!absPath.endsWith(".md")) return;
|
|
77
77
|
result.push(absPath);
|
|
@@ -80,12 +80,12 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
80
80
|
await addMarkdownFile(memoryFile);
|
|
81
81
|
await addMarkdownFile(altMemoryFile);
|
|
82
82
|
try {
|
|
83
|
-
const dirStat = await
|
|
83
|
+
const dirStat = await fs$1.lstat(memoryDir);
|
|
84
84
|
if (!dirStat.isSymbolicLink() && dirStat.isDirectory()) await walkDir(memoryDir, result);
|
|
85
85
|
} catch {}
|
|
86
86
|
const normalizedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
87
87
|
if (normalizedExtraPaths.length > 0) for (const inputPath of normalizedExtraPaths) try {
|
|
88
|
-
const stat = await
|
|
88
|
+
const stat = await fs$1.lstat(inputPath);
|
|
89
89
|
if (stat.isSymbolicLink()) continue;
|
|
90
90
|
if (stat.isDirectory()) {
|
|
91
91
|
await walkDir(inputPath, result);
|
|
@@ -99,7 +99,7 @@ async function listMemoryFiles(workspaceDir, extraPaths) {
|
|
|
99
99
|
for (const entry of result) {
|
|
100
100
|
let key = entry;
|
|
101
101
|
try {
|
|
102
|
-
key = await
|
|
102
|
+
key = await fs$1.realpath(entry);
|
|
103
103
|
} catch {}
|
|
104
104
|
if (seen.has(key)) continue;
|
|
105
105
|
seen.add(key);
|
|
@@ -113,14 +113,14 @@ function hashText(value) {
|
|
|
113
113
|
async function buildFileEntry(absPath, workspaceDir) {
|
|
114
114
|
let stat;
|
|
115
115
|
try {
|
|
116
|
-
stat = await
|
|
116
|
+
stat = await fs$1.stat(absPath);
|
|
117
117
|
} catch (err) {
|
|
118
118
|
if (isFileMissingError(err)) return null;
|
|
119
119
|
throw err;
|
|
120
120
|
}
|
|
121
121
|
let content;
|
|
122
122
|
try {
|
|
123
|
-
content = await
|
|
123
|
+
content = await fs$1.readFile(absPath, "utf-8");
|
|
124
124
|
} catch (err) {
|
|
125
125
|
if (isFileMissingError(err)) return null;
|
|
126
126
|
throw err;
|
|
@@ -254,7 +254,7 @@ const log = createSubsystemLogger("memory");
|
|
|
254
254
|
async function listSessionFilesForAgent(agentId) {
|
|
255
255
|
const dir = resolveSessionTranscriptsDirForAgent(agentId);
|
|
256
256
|
try {
|
|
257
|
-
return (await
|
|
257
|
+
return (await fs$1.readdir(dir, { withFileTypes: true })).filter((entry) => entry.isFile()).map((entry) => entry.name).filter((name) => name.endsWith(".jsonl")).map((name) => path.join(dir, name));
|
|
258
258
|
} catch {
|
|
259
259
|
return [];
|
|
260
260
|
}
|
|
@@ -284,8 +284,8 @@ function extractSessionText(content) {
|
|
|
284
284
|
}
|
|
285
285
|
async function buildSessionEntry(absPath) {
|
|
286
286
|
try {
|
|
287
|
-
const stat = await
|
|
288
|
-
const lines = (await
|
|
287
|
+
const stat = await fs$1.stat(absPath);
|
|
288
|
+
const lines = (await fs$1.readFile(absPath, "utf-8")).split("\n");
|
|
289
289
|
const collected = [];
|
|
290
290
|
const lineMap = [];
|
|
291
291
|
for (let jsonlIdx = 0; jsonlIdx < lines.length; jsonlIdx++) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CD-_2ECk.js";
|
|
2
|
-
import { Q as sensitive } from "./auth-profiles-
|
|
2
|
+
import { Q as sensitive } from "./auth-profiles-k09E8RLJ.js";
|
|
3
3
|
import JSON5 from "json5";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { z } from "zod";
|