@bitseek/claw 1.1.0-beta.2 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/dist/{accounts-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
  2. package/dist/{accounts-CX1yOBOk.js → accounts-BTexwKe8.js} +1 -1
  3. package/dist/{accounts-DZqwa5NK.js → accounts-CFz9Jc5d.js} +1 -1
  4. package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
  5. package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
  6. package/dist/{accounts-CaiECgq3.js → accounts-ubG6irXZ.js} +16 -16
  7. package/dist/{acp-cli-DYu2k7v9.js → acp-cli-B0u6no4K.js} +8 -8
  8. package/dist/{active-listener-neKWQsOO.js → active-listener-Hd9sOu9T.js} +1 -1
  9. package/dist/{agent-scope-CTbRzU1C.js → agent-scope-C6hps0r3.js} +4 -4
  10. package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
  11. package/dist/{agents-B1UgGs6R.js → agents-Cweyfj22.js} +15 -15
  12. package/dist/{agents.config-CmUkQxtt.js → agents.config-DA3Y8w1t.js} +2 -2
  13. package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
  14. package/dist/{api-key-rotation-BTSy5kZN.js → api-key-rotation-WzOC5dTW.js} +2 -2
  15. package/dist/{audio-preflight-DZWb0ozj.js → audio-preflight-BWOdDA2n.js} +39 -39
  16. package/dist/{audio-preflight-CHD1xVrt.js → audio-preflight-DdrORTn9.js} +4 -4
  17. package/dist/{audio-preflight-59K4nxSA.js → audio-preflight-SRgix4XS.js} +36 -36
  18. package/dist/{audio-transcription-runner-DwWOJBSn.js → audio-transcription-runner-CGsd7139.js} +1 -1
  19. package/dist/{audio-transcription-runner-2dp0SxL3.js → audio-transcription-runner-DaoqvWoi.js} +11 -11
  20. package/dist/{audio-transcription-runner-DGyS5H3K.js → audio-transcription-runner-DkibzFT2.js} +22 -22
  21. package/dist/{audit-DJfP7KjJ.js → audit-TSVXvoTa.js} +29 -29
  22. package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
  23. package/dist/{auth-choice-Ko0_UPIV.js → auth-choice-Bhzlukg0.js} +12 -12
  24. package/dist/{auth-choice-f6C6bI9v.js → auth-choice-CR6bBvDU.js} +14 -14
  25. package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
  26. package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
  27. package/dist/{auth-token-BqjY9MGq.js → auth-token-BIEjzQiE.js} +1 -1
  28. package/dist/{banner-DB1rGYKC.js → banner-D-ha13Xs.js} +2 -2
  29. package/dist/{bindings-Daa-Etag.js → bindings-CsIiIjqN.js} +2 -2
  30. package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
  31. package/dist/{bonjour-discovery-t-SAPCsb.js → bonjour-discovery-B68dCYTY.js} +1 -1
  32. package/dist/{browser-cli-CTlLlDFe.js → browser-cli-DREC4EVl.js} +12 -12
  33. package/dist/build-info.json +3 -3
  34. package/dist/bundled/boot-md/handler.js +65 -65
  35. package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
  36. package/dist/bundled/command-logger/handler.js +2 -2
  37. package/dist/bundled/session-memory/handler.js +65 -65
  38. package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
  39. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  40. package/dist/{channel-account-context-CiCkIxCu.js → channel-account-context-DNFdIaSr.js} +7 -6
  41. package/dist/{channel-account-context-D0zX-Gup.js → channel-account-context-etfgJrr_.js} +2 -1
  42. package/dist/{channel-activity-Btz1t5_1.js → channel-activity-D81g48kD.js} +3 -3
  43. package/dist/{channel-options-DLPoMi6B.js → channel-options-6JzQN9nt.js} +3 -3
  44. package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
  45. package/dist/{channel-web-BMZ_oZSK.js → channel-web-oQImOucb.js} +18 -18
  46. package/dist/{channels-cli-sNDA9BU2.js → channels-cli-CzLX8jUv.js} +95 -95
  47. package/dist/{channels-status-issues-5n9kobSz.js → channels-status-issues-BMNB2aMG.js} +1 -1
  48. package/dist/{chrome-DX1blHAJ.js → chrome-CjTE-vWv.js} +18 -18
  49. package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
  50. package/dist/{chrome-CuMCXCQN.js → chrome-xatreDUO.js} +8 -8
  51. package/dist/{chunk-DEkdXze6.js → chunk-DtYb6TYl.js} +1 -1
  52. package/dist/{clawbot-cli-SIY_fH-I.js → clawbot-cli-H1Uj0ifV.js} +5 -5
  53. package/dist/cli/daemon-cli.js +1 -1
  54. package/dist/{cli-Cjv-J_yg.js → cli-C2xvYknT.js} +76 -76
  55. package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
  56. package/dist/{command-registry-KfIoXPZE.js → command-registry-QcrBU_9X.js} +13 -13
  57. package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
  58. package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
  59. package/dist/{commands-registry-BQkQRhEo.js → commands-registry-NIsv9Z4R.js} +5 -5
  60. package/dist/{completion-cli-iCWrVHvc.js → completion-cli-BkWPjJyP.js} +13 -13
  61. package/dist/{completion-cli-SYxZGwWD.js → completion-cli-VWIJWtLM.js} +1 -1
  62. package/dist/{config-cli-5lP-lwj0.js → config-cli-B4WnAVfw.js} +7 -7
  63. package/dist/{config-guard-t_xLf16g.js → config-guard-RZw5NkPK.js} +3 -3
  64. package/dist/{config-validation-DkA3FBg8.js → config-validation-tb90Bzho.js} +3 -3
  65. package/dist/{configure-hI0hAw1W.js → configure-DuwIk56q.js} +17 -17
  66. package/dist/control-ui/assets/{index-DPyUb7lL.css → index-B5WC_0Be.css} +1 -1
  67. package/dist/control-ui/assets/{index-BlqD_sH7.js → index-DmJK8e2M.js} +2 -2
  68. package/dist/control-ui/assets/index-DmJK8e2M.js.map +1 -0
  69. package/dist/control-ui/index.html +2 -2
  70. package/dist/{control-ui-assets-M84PR-kz.js → control-ui-assets-Czpjuiah.js} +1 -1
  71. package/dist/{cron-cli-Bg88aQ8Y.js → cron-cli-D5MnhB5f.js} +12 -12
  72. package/dist/{daemon-cli-CFnqQB6M.js → daemon-cli-oCVkh3bg.js} +15 -15
  73. package/dist/{daemon-install-helpers-C1iBqd73.js → daemon-install-helpers-D5tste0V.js} +11 -11
  74. package/dist/{daemon-install-CdoMSH6S.js → daemon-install-vQ6KespE.js} +4 -4
  75. package/dist/{dashboard-CYa-ISxZ.js → dashboard-BstU6qkZ.js} +2 -2
  76. package/dist/{deliver-DTgCZWjU.js → deliver-H0xCFj4j.js} +7 -7
  77. package/dist/{deliver-Dyh8ZsLI.js → deliver-Z7543EnP.js} +1 -1
  78. package/dist/{deliver-C82Egs0W.js → deliver-xY3h9X6N.js} +22 -22
  79. package/dist/{devices-cli-9aOy3d7K.js → devices-cli-D6b6S-Iy.js} +8 -8
  80. package/dist/{diagnostic-DpOlXoSr.js → diagnostic-BO1GQJJf.js} +2 -2
  81. package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
  82. package/dist/{diagnostics-DooDWHeF.js → diagnostics-vLzdmcgg.js} +5 -5
  83. package/dist/{directory-cli-Rk2cBm0A.js → directory-cli-D3o7BGMd.js} +8 -8
  84. package/dist/{dns-cli-BXhJBWtC.js → dns-cli-B5kqVfFd.js} +5 -5
  85. package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
  86. package/dist/{dock-DWqb4ufG.js → dock-Cr9V9V1V.js} +6 -6
  87. package/dist/{docs-cli-D606Eb-M.js → docs-cli-CyjlhZAj.js} +4 -4
  88. package/dist/{doctor-completion-C7FCLVKC.js → doctor-completion-DGNL86eP.js} +1 -1
  89. package/dist/{doctor-completion-DNAwhmlY.js → doctor-completion-SBDS3edN.js} +2 -2
  90. package/dist/{doctor-config-flow-ePZ7ejQj.js → doctor-config-flow-DclZbGUP.js} +15 -15
  91. package/dist/{enable-CnvIWic7.js → enable-CKAw_GCd.js} +1 -1
  92. package/dist/entry.js +2 -2
  93. package/dist/{env-Bn6pmvjK.js → env-DNMZEG57.js} +2 -2
  94. package/dist/{errors-azBrKJmF.js → errors-DEkWxItM.js} +1 -1
  95. package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
  96. package/dist/{exec-approvals-cli-Czp8csm7.js → exec-approvals-cli-U46MdeMi.js} +16 -16
  97. package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
  98. package/dist/extensionAPI.js +6 -6
  99. package/dist/{fetch-B82CeaHJ.js → fetch--iXu7oa7.js} +5 -5
  100. package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
  101. package/dist/{fetch-guard-CCLWHwu7.js → fetch-guard-CNvY0vzQ.js} +2 -2
  102. package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
  103. package/dist/{frontmatter-5U1LYLH9.js → frontmatter-DIRc-IR1.js} +2 -2
  104. package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
  105. package/dist/{fs-safe-BDR6eQAw.js → fs-safe-D8x_nIIA.js} +4 -4
  106. package/dist/{gateway-cli-BKhQZ6rL.js → gateway-cli-ADJ8WFzB.js} +267 -93
  107. package/dist/{gateway-cli-Cb1IDsaH.js → gateway-cli-D5wMqxbT.js} +423 -249
  108. package/dist/{gateway-rpc-BgV_ZJ92.js → gateway-rpc-DFqEAyI_.js} +1 -1
  109. package/dist/{github-copilot-token-CPjAmbfr.js → github-copilot-token-DLGN-8YS.js} +7 -7
  110. package/dist/{health-DugDjq1f.js → health-Dzwp2cfK.js} +14 -14
  111. package/dist/{hooks-cli-VjmNvsLG.js → hooks-cli-DKAhHxZp.js} +84 -84
  112. package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
  113. package/dist/{image-BfqphdQM.js → image-BjuH1GKB.js} +5 -5
  114. package/dist/{image-BQ1JgwZu.js → image-DCyaYY2d.js} +6 -6
  115. package/dist/{image-DihIv8Eo.js → image-DQV2jl6F.js} +1 -1
  116. package/dist/{image-ops-jvmQoiyw.js → image-ops-B2L37gT8.js} +12 -12
  117. package/dist/{image-ops-BGTBZMuE.js → image-ops-DCpyia_K.js} +3 -3
  118. package/dist/index.js +1 -1
  119. package/dist/{inspect-DeP74OJO.js → inspect-DJUXn0vX.js} +4 -4
  120. package/dist/{install-safe-path-CWo3RPkH.js → install-safe-path-DVQh7rEs.js} +25 -25
  121. package/dist/{installs-BYqcA-ke.js → installs-jXfyPi74.js} +9 -9
  122. package/dist/{internal-hooks-oLQ2m8YT.js → internal-hooks-yQe6H47q.js} +1 -1
  123. package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
  124. package/dist/{ir-BODD8g-I.js → ir-BZUjdf-6.js} +6 -6
  125. package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
  126. package/dist/{issue-format-CqVkT3gT.js → issue-format-NBMJ5xAP.js} +1 -1
  127. package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
  128. package/dist/{lifecycle-core-DAWYYqJl.js → lifecycle-core-oTVOKNSW.js} +5 -5
  129. package/dist/llm-slug-generator.js +65 -65
  130. package/dist/{logger-DelEB7MK.js → logger-BlH5MJiV.js} +1 -1
  131. package/dist/{login-Cm2zDfEU.js → login-CgEHUE7h.js} +6 -6
  132. package/dist/{login-CYfV0FRr.js → login-I5RlwiJn.js} +3 -3
  133. package/dist/{login-qr-DUSyrCPW.js → login-qr-CRjZn3ix.js} +6 -6
  134. package/dist/{login-qr-iS1jPDpP.js → login-qr-DUJfhbUe.js} +13 -13
  135. package/dist/{logs-cli--IqfO6Fs.js → logs-cli-D2-73CiV.js} +9 -9
  136. package/dist/{manager-DdzkWOvc.js → manager-BNuB9clC.js} +15 -15
  137. package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
  138. package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
  139. package/dist/{markdown-tables-pfs_NCNh.js → markdown-tables-BHONoo6S.js} +1 -1
  140. package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
  141. package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
  142. package/dist/{message-channel-POuk6EOq.js → message-channel-Dl8dSs0T.js} +1 -1
  143. package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
  144. package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
  145. package/dist/{model-picker-CrYHvOZH.js → model-picker-DFyoaAce.js} +4 -4
  146. package/dist/{model-selection-DfZMxaX3.js → model-selection-D_Si2Ict.js} +44 -44
  147. package/dist/{models-BwUaRaeh.js → models-B-VHfTz-.js} +18 -18
  148. package/dist/{models-cli-DPvtAoJ-.js → models-cli-DQBbzn_p.js} +81 -81
  149. package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
  150. package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
  151. package/dist/{node-cli-Co4McDQy.js → node-cli-UnJ5obvj.js} +33 -33
  152. package/dist/{node-command-policy-D7hSN9B8.js → node-command-policy-DMwxqhrG.js} +1 -1
  153. package/dist/{node-service-CzRylWgI.js → node-service-83OYUi14.js} +1 -1
  154. package/dist/{nodes-cli-wABD1dZs.js → nodes-cli-U66EhW5E.js} +16 -16
  155. package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
  156. package/dist/{npm-pack-install-BGN-e1vW.js → npm-pack-install-1gsZywqI.js} +18 -18
  157. package/dist/{npm-resolution-Dp9ywE7U.js → npm-resolution-ZwcMp-e1.js} +5 -5
  158. package/dist/{onboard-tlfs9gUN.js → onboard-1RaJpuJ4.js} +1 -1
  159. package/dist/{onboard-DfDL2v89.js → onboard-Ce_QcPvd.js} +6 -6
  160. package/dist/{onboard-channels-CjyJiI4i.js → onboard-channels-BLL6tVVk.js} +20 -20
  161. package/dist/{onboard-custom-WfZ3J4O7.js → onboard-custom-CltkNK3c.js} +3 -3
  162. package/dist/{onboard-custom.shared-D52ggtQF.js → onboard-custom.shared-CXzE62ZH.js} +2 -2
  163. package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
  164. package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
  165. package/dist/{onboard-remote-DTz_Z9Xl.js → onboard-remote-DpEjARZa.js} +3 -3
  166. package/dist/{onboard-skills-D70PenD-.js → onboard-skills-CL0tHf_N.js} +4 -4
  167. package/dist/{onboarding-H5cLNUFG.js → onboarding-Rub9MXWB.js} +1 -1
  168. package/dist/{onboarding-DNV-TKzA.js → onboarding-WDRpEgra.js} +13 -13
  169. package/dist/{onboarding.finalize-C6UdLnH3.js → onboarding.finalize-CWYrjSVx.js} +89 -89
  170. package/dist/{onboarding.finalize-DfZFzt37.js → onboarding.finalize-MTyP_Dr4.js} +3 -3
  171. package/dist/{onboarding.gateway-config-CnQR4xLI.js → onboarding.gateway-config-Ce8ndMkF.js} +18 -18
  172. package/dist/{openai-model-default-DqKKq57j.js → openai-model-default-XM-ZB1MD.js} +2 -2
  173. package/dist/{outbound-Dv-MM4iv.js → outbound-CHyBoNxD.js} +4 -4
  174. package/dist/{outbound-4q4mbU-Z.js → outbound-DOVV_R6m.js} +7 -7
  175. package/dist/{outbound-attachment-CBCp1oVQ.js → outbound-attachment-C7sJLSnv.js} +2 -2
  176. package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
  177. package/dist/{pairing-cli-BUHAN0R5.js → pairing-cli-DUMMuvWC.js} +9 -9
  178. package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
  179. package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
  180. package/dist/{path-alias-guards-DfQIjfhB.js → path-alias-guards-CKjKIhQ3.js} +1 -1
  181. package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
  182. package/dist/{path-safety-tZSbJG67.js → path-safety-BxYB92SS.js} +1 -1
  183. package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
  184. package/dist/{paths-BZO1jkK2.js → paths-Cpu0XgUj.js} +3 -3
  185. package/dist/{paths-DKuX7-1L.js → paths-aGRLvQx9.js} +5 -5
  186. package/dist/{pi-embedded-xCcmCTnf.js → pi-embedded-CZAvX74y.js} +22 -22
  187. package/dist/{pi-embedded-DiUmkZyz.js → pi-embedded-DE3hb87F.js} +178 -178
  188. package/dist/{pi-embedded-helpers-C3sJPGXn.js → pi-embedded-helpers-BB2whkUz.js} +6 -6
  189. package/dist/{pi-embedded-helpers-CuwhW4u9.js → pi-embedded-helpers-CMTVhLjq.js} +29 -29
  190. package/dist/{pi-embedded-helpers-Bmj18lhA.js → pi-embedded-helpers-DK1ft2pf.js} +3 -3
  191. package/dist/{pi-model-discovery-COjkql-U.js → pi-model-discovery-DCIw1y1c.js} +7 -7
  192. package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
  193. package/dist/{pi-tools.policy-BH0D2kX0.js → pi-tools.policy-DRW8ya1z.js} +5 -5
  194. package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
  195. package/dist/{plugin-registry-CmucB2C0.js → plugin-registry-C2g1aLrK.js} +3 -3
  196. package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
  197. package/dist/{plugins-D63QYxW6.js → plugins-CJoaoIHc.js} +11 -11
  198. package/dist/{plugins-cli-DJFtia9f.js → plugins-cli-Cdug93Mi.js} +86 -86
  199. package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
  200. package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
  201. package/dist/{program-BkK1YIQS.js → program-L4hhvW67.js} +84 -84
  202. package/dist/{program-context-CFNQpYpG.js → program-context-BEPxCThZ.js} +7 -7
  203. package/dist/{prompt-select-styled-DlC5a1xd.js → prompt-select-styled-CYmsrkR3.js} +39 -39
  204. package/dist/{prompt-select-styled-DGdjezC8.js → prompt-select-styled-DTqU-r5T.js} +3 -3
  205. package/dist/{provider-auth-helpers-CJ2_W1oy.js → provider-auth-helpers-CNkIHUuF.js} +5 -5
  206. package/dist/{proxy-jINniQBi.js → proxy-DfJJLvch.js} +1 -1
  207. package/dist/{proxy-env-vYAjKL5q.js → proxy-env-BnDt8j9F.js} +1 -1
  208. package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
  209. package/dist/{proxy-fetch-AvkSvetA.js → proxy-fetch-xlbVQYN_.js} +1 -1
  210. package/dist/{push-apns-BKjyYFyk.js → push-apns-DRX0c6-y.js} +5 -5
  211. package/dist/{pw-ai-pqeoAqm_.js → pw-ai-CMUrm_kS.js} +1 -1
  212. package/dist/{pw-ai-BLNiRUPI.js → pw-ai-DGwA7iCM.js} +17 -17
  213. package/dist/{pw-ai-ITbRRqVN.js → pw-ai-DyGZ1pXu.js} +15 -15
  214. package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
  215. package/dist/{qmd-manager-BBKfRzj-.js → qmd-manager-CeN3N992.js} +11 -11
  216. package/dist/{qr-cli-D-LqDNlm.js → qr-cli-EHSe4TmR.js} +1 -1
  217. package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
  218. package/dist/{query-expansion-2BrixCA2.js → query-expansion-CGnW4Mk_.js} +5 -5
  219. package/dist/{redact-uUggP88O.js → redact-ScShueoF.js} +1 -1
  220. package/dist/{redact-snapshot-D3QFNQl8.js → redact-snapshot-kY3aFpcF.js} +1 -1
  221. package/dist/{register.agent-C3K3DXul.js → register.agent-CaCz2lnX.js} +97 -97
  222. package/dist/register.configure-BHL2CNOY.js +174 -0
  223. package/dist/{register.init-ClMzXUKm.js → register.init-D4hlhvsq.js} +15 -15
  224. package/dist/{register.maintenance-Bb8amfJh.js → register.maintenance-DsxNo00b.js} +6 -6
  225. package/dist/{register.maintenance-zsZrRIaB.js → register.maintenance-MJR5bDWC.js} +99 -99
  226. package/dist/{register.message-CfRd6EM2.js → register.message-ChJGE4xV.js} +77 -77
  227. package/dist/{register.onboard-qFRFDsPK.js → register.onboard-4aB9FmjK.js} +2 -2
  228. package/dist/{register.onboard-BFM29BaY.js → register.onboard-CRCrMN8O.js} +18 -18
  229. package/dist/{register.setup-D0E9z_QW.js → register.setup-CCPeU8WO.js} +2 -2
  230. package/dist/{register.setup-Caqvvqmm.js → register.setup-DqRNRiXi.js} +21 -21
  231. package/dist/{register.start-CrwDVujg.js → register.start-D3IRihbV.js} +17 -17
  232. package/dist/{register.status-health-sessions-CWb4-Kgs.js → register.status-health-sessions-EhCB2a7v.js} +3 -3
  233. package/dist/{register.status-health-sessions-BBEF4th9.js → register.status-health-sessions-zD3z2YuT.js} +91 -91
  234. package/dist/{register.subclis-rB1Roe3w.js → register.subclis-D12iC4nF.js} +31 -31
  235. package/dist/{registry-C2GEGa2t.js → registry-CJCkqTms.js} +3 -3
  236. package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
  237. package/dist/{replies-yAf6dFeT.js → replies-BFYGUEKu.js} +3 -3
  238. package/dist/{reply-prefix-9mzt89Cf.js → reply-prefix-DK1i6bCJ.js} +1 -1
  239. package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
  240. package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
  241. package/dist/{resolve-route-BNElrVxR.js → resolve-route-C5hVstLo.js} +4 -4
  242. package/dist/{retry-Ayb7e4XG.js → retry-DTeP7C3h.js} +1 -1
  243. package/dist/{rpc-9G93KhBv.js → rpc-Bzb0JMJ_.js} +1 -1
  244. package/dist/{run-main-C02l3ZhV.js → run-main-C_fGUv-Y.js} +95 -95
  245. package/dist/{runtime-BI0xjrHi.js → runtime-Cx-7xFzl.js} +2 -2
  246. package/dist/{sandbox-CLIUxOtc.js → sandbox-BLqUWbp2.js} +18 -18
  247. package/dist/{sandbox-cli-MjHZjW2w.js → sandbox-cli-CEriRvUh.js} +26 -26
  248. package/dist/{secrets-cli-BFU9jh2A.js → secrets-cli-DG-NG8PH.js} +10 -10
  249. package/dist/{security-cli-DIfmEZrw.js → security-cli-C_Bc1U-7.js} +43 -43
  250. package/dist/{send-Bclgg0Ur.js → send-B4pSMBHk.js} +8 -8
  251. package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
  252. package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
  253. package/dist/{send-Bjaa69Cy.js → send-BqKSZyIb.js} +27 -27
  254. package/dist/{send-DYY51FOR.js → send-CN0f1Yst.js} +6 -6
  255. package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
  256. package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
  257. package/dist/{send-Cp0yQi_p.js → send-V3fEVmLq.js} +10 -10
  258. package/dist/{send-DQ7hIAIK.js → send-XAO1mk64.js} +7 -7
  259. package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
  260. package/dist/{server-DbB5aXZq.js → server-CzDsmd9g.js} +19 -19
  261. package/dist/{server-context-DnPsW_Mg.js → server-context-DRq_OT33.js} +12 -12
  262. package/dist/{server-lifecycle-B2y6Fg7R.js → server-lifecycle-CcYnyYPQ.js} +2 -2
  263. package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
  264. package/dist/{server-node-events-BwnXBzS2.js → server-node-events-B5xSV7Kq.js} +77 -77
  265. package/dist/{service-Wk285d-R.js → service-CZORJG4z.js} +15 -15
  266. package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
  267. package/dist/{session-meta-CyQWVUk4.js → session-meta-Cqv55kSk.js} +2 -2
  268. package/dist/{session-DNbfXbBi.js → session-nilNSQEL.js} +1 -1
  269. package/dist/{session-utils-BncMg1bn.js → session-utils-DxaIoRMp.js} +6 -6
  270. package/dist/{session-TVb8hgJP.js → session-xKPVUYQP.js} +9 -9
  271. package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
  272. package/dist/{sessions-3jroJwu7.js → sessions-CA_BydGA.js} +31 -31
  273. package/dist/{sessions-C2Xfck_9.js → sessions-DhD3eJDE.js} +4 -4
  274. package/dist/{shared-CJN2BLdi.js → shared-BZscafy-.js} +1 -1
  275. package/dist/{shared-BAdi_Ot7.js → shared-DvHQekWm.js} +3 -3
  276. package/dist/{skill-commands-CSr9_48V.js → skill-commands-CZFmIM-s.js} +9 -9
  277. package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
  278. package/dist/{skill-scanner-BXOiOvI1.js → skill-scanner-0-AybMIe.js} +6 -6
  279. package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
  280. package/dist/{skills-B82IjVxn.js → skills-DMmr25nW.js} +22 -22
  281. package/dist/{skills-cli-CwbRKLum.js → skills-cli-B0jFsoo4.js} +5 -5
  282. package/dist/{skills-install-BQyeS7wB.js → skills-install-C6-Zzqoi.js} +6 -6
  283. package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
  284. package/dist/{status-B4v5QI5X.js → status-BfWqYNJf.js} +2 -2
  285. package/dist/{status-XGYDzhkW.js → status-Dw7ag8qn.js} +26 -26
  286. package/dist/{status.update-n2QPQr8w.js → status.update-B6whKviL.js} +2 -2
  287. package/dist/{status.update-DIamQqHr.js → status.update-C8qgou8r.js} +1 -1
  288. package/dist/{store-DhC72KqW.js → store-C8KgeMt2.js} +2 -2
  289. package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
  290. package/dist/{subagent-registry-WD5F6cBf.js → subagent-registry-D6OfBLNb.js} +156 -156
  291. package/dist/{subsystem-CAatx5oo.js → subsystem-BRjuJbbM.js} +14 -14
  292. package/dist/{system-cli-C_5YHHhF.js → system-cli-BoamUpxz.js} +9 -9
  293. package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
  294. package/dist/{systemd-Dbwmb4TX.js → systemd-C4JtDaKk.js} +9 -9
  295. package/dist/{systemd-hints-VM2JkQxw.js → systemd-hints-ZHrBbXDd.js} +6 -6
  296. package/dist/{systemd-linger-DoeP9Z3f.js → systemd-linger-CD4viBmg.js} +1 -1
  297. package/dist/{tables-Bfh_TnCf.js → tables-BKnPZssn.js} +1 -1
  298. package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
  299. package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
  300. package/dist/{target-errors-CGYXYvSZ.js → target-errors-B9Jzop3d.js} +2 -2
  301. package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
  302. package/dist/{tokens-BvzZdrVJ.js → tokens-B9EDT4jv.js} +1 -1
  303. package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
  304. package/dist/{tool-images-CqsWnc1k.js → tool-images-ffdfBx0b.js} +2 -2
  305. package/dist/{tool-loop-detection-C4V990MS.js → tool-loop-detection-CLoYKYIq.js} +3 -3
  306. package/dist/{tui-kOoc7WBf.js → tui-GWJMI53u.js} +6 -6
  307. package/dist/{tui-cli-DeTfdnEG.js → tui-cli-CMrxH2Q_.js} +33 -33
  308. package/dist/{update-DFr19tQ1.js → update-CDWJ50iD.js} +3 -3
  309. package/dist/{update-cli-CUSnVFt4.js → update-cli-Dw_JHcRy.js} +22 -14
  310. package/dist/{update-cli-BlswPThb.js → update-cli-r3eyhSgp.js} +122 -114
  311. package/dist/{update-runner-CX6jOI_r.js → update-runner-CHxTFtW8.js} +34 -22
  312. package/dist/{update-runner-BA9B0S60.js → update-runner-CJua_LZ3.js} +19 -7
  313. package/dist/{utils-Bo1RFF0l.js → utils-BFZnl-5N.js} +6 -6
  314. package/dist/{web-DsAoa63g.js → web-B2_c07KN.js} +69 -69
  315. package/dist/web-B4yuhy9a.js +125 -0
  316. package/dist/{web-CvYmNThc.js → web-De45Xhd1.js} +6 -6
  317. package/dist/{webhooks-cli-DLgCJq4n.js → webhooks-cli-B09BdLSk.js} +6 -6
  318. package/dist/{whatsapp-actions-DXjy9m41.js → whatsapp-actions-CHt12z-f.js} +28 -28
  319. package/dist/{whatsapp-actions-B81EJMQI.js → whatsapp-actions-DUoWY7mE.js} +19 -19
  320. package/dist/{with-timeout-l0X_rwcb.js → with-timeout-B9qgOUui.js} +3 -3
  321. package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
  322. package/dist/{workspace-CswOYN9T.js → workspace-D6mrCnXi.js} +21 -21
  323. package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
  324. package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
  325. package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
  326. package/docs/install/index.md +12 -12
  327. package/docs/install/updating.md +32 -33
  328. package/docs/plans/2026-03-11-bitseek-update-package-design.md +25 -0
  329. package/package.json +1 -1
  330. package/dist/control-ui/assets/index-BlqD_sH7.js.map +0 -1
  331. package/dist/register.configure-aJItV_ZP.js +0 -174
  332. package/dist/web-DNL22pwf.js +0 -125
@@ -1,21 +1,21 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-CTbRzU1C.js";
3
- import { c as resolveStateDir } from "./paths-DKuX7-1L.js";
4
- import { t as createSubsystemLogger } from "./subsystem-CAatx5oo.js";
5
- import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-Bo1RFF0l.js";
6
- import { A as resolveApiKeyForProvider, Fn as normalizeOptionalSecretInput, j as resolveEnvApiKey, k as requireApiKey } from "./model-selection-DfZMxaX3.js";
7
- import { t as isTruthyEnvValue } from "./env-Bn6pmvjK.js";
8
- import { r as formatErrorMessage } from "./errors-azBrKJmF.js";
9
- import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BZO1jkK2.js";
2
+ import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-C6hps0r3.js";
3
+ import { c as resolveStateDir } from "./paths-aGRLvQx9.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
5
+ import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-BFZnl-5N.js";
6
+ import { A as resolveApiKeyForProvider, Fn as normalizeOptionalSecretInput, j as resolveEnvApiKey, k as requireApiKey } from "./model-selection-D_Si2Ict.js";
7
+ import { t as isTruthyEnvValue } from "./env-DNMZEG57.js";
8
+ import { r as formatErrorMessage } from "./errors-DEkWxItM.js";
9
+ import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Cpu0XgUj.js";
10
10
  import { n as onSessionTranscriptUpdate } from "./transcript-events-Cso7-m1w.js";
11
- import { t as fetchWithSsrFGuard } from "./fetch-guard-CCLWHwu7.js";
12
- import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BTSy5kZN.js";
13
- import { n as retryAsync } from "./retry-Ayb7e4XG.js";
14
- import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-2BrixCA2.js";
11
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-CNvY0vzQ.js";
12
+ import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-WzOC5dTW.js";
13
+ import { n as retryAsync } from "./retry-DTeP7C3h.js";
14
+ import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-CGnW4Mk_.js";
15
15
  import fs from "node:fs/promises";
16
16
  import os from "node:os";
17
17
  import path from "node:path";
18
- import fs$1 from "node:fs";
18
+ import syncFs from "node:fs";
19
19
  import { randomUUID } from "node:crypto";
20
20
  import chokidar from "chokidar";
21
21
  import { createInterface } from "node:readline";
@@ -719,7 +719,7 @@ function canAutoSelectLocal(options) {
719
719
  if (/^(hf:|https?:)/i.test(modelPath)) return false;
720
720
  const resolved = resolveUserPath(modelPath);
721
721
  try {
722
- return fs$1.statSync(resolved).isFile();
722
+ return syncFs.statSync(resolved).isFile();
723
723
  } catch {
724
724
  return false;
725
725
  }
@@ -2241,7 +2241,7 @@ var MemoryManagerSyncOps = class {
2241
2241
  ]);
2242
2242
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
2243
2243
  for (const entry of additionalPaths) try {
2244
- const stat = fs$1.lstatSync(entry);
2244
+ const stat = syncFs.lstatSync(entry);
2245
2245
  if (stat.isSymbolicLink()) continue;
2246
2246
  if (stat.isDirectory()) {
2247
2247
  watchPaths.add(path.join(entry, "**", "*.md"));
@@ -2,20 +2,20 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
4
4
  import { r as isTruthyEnvValue } from "./entry.js";
5
- import { ai as resolveApiKeyForProvider, ii as requireApiKey, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-D_x1_5v_.js";
6
- import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
5
+ import { ai as resolveApiKeyForProvider, ii as requireApiKey, si as resolveEnvApiKey, xi as normalizeOptionalSecretInput } from "./auth-profiles-CyG9VwU_.js";
6
+ import { a as resolveAgentDir, i as resolveAgentConfig, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
7
7
  import { T as truncateUtf16Safe, i as clampNumber, r as clampInt, v as resolveUserPath } from "./utils-DIzy5B5o.js";
8
8
  import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
9
9
  import { n as onSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
10
10
  import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
11
- import { t as fetchWithSsrFGuard } from "./fetch-guard-B62rgaSw.js";
12
- import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-xfk-b2Sv.js";
11
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-Csbz9pui.js";
12
+ import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-Cf7QM5M_.js";
13
13
  import { n as retryAsync } from "./retry-DwXRBpwv.js";
14
- import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-BrM3X6-L.js";
14
+ import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-Ba9OpCm9.js";
15
15
  import path from "node:path";
16
16
  import os from "node:os";
17
17
  import fs from "node:fs";
18
- import fs$1 from "node:fs/promises";
18
+ import fsPromises from "node:fs/promises";
19
19
  import { randomUUID } from "node:crypto";
20
20
  import chokidar from "chokidar";
21
21
  import { createInterface } from "node:readline";
@@ -1047,7 +1047,7 @@ async function extractTimestamp(params) {
1047
1047
  if (!params.workspaceDir) return null;
1048
1048
  const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
1049
1049
  try {
1050
- const stat = await fs$1.stat(absolutePath);
1050
+ const stat = await fsPromises.stat(absolutePath);
1051
1051
  if (!Number.isFinite(stat.mtimeMs)) return null;
1052
1052
  return new Date(stat.mtimeMs);
1053
1053
  } catch {
@@ -2206,7 +2206,7 @@ var MemoryManagerSyncOps = class {
2206
2206
  const source = `${sourceBase}${suffix}`;
2207
2207
  const target = `${targetBase}${suffix}`;
2208
2208
  try {
2209
- await fs$1.rename(source, target);
2209
+ await fsPromises.rename(source, target);
2210
2210
  } catch (err) {
2211
2211
  if (err.code !== "ENOENT") throw err;
2212
2212
  }
@@ -2217,7 +2217,7 @@ var MemoryManagerSyncOps = class {
2217
2217
  "",
2218
2218
  "-wal",
2219
2219
  "-shm"
2220
- ].map((suffix) => fs$1.rm(`${basePath}${suffix}`, { force: true })));
2220
+ ].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
2221
2221
  }
2222
2222
  ensureSchema() {
2223
2223
  const result = ensureMemoryIndexSchema({
@@ -2312,7 +2312,7 @@ var MemoryManagerSyncOps = class {
2312
2312
  if (!thresholds) return null;
2313
2313
  let stat;
2314
2314
  try {
2315
- stat = await fs$1.stat(sessionFile);
2315
+ stat = await fsPromises.stat(sessionFile);
2316
2316
  } catch {
2317
2317
  return null;
2318
2318
  }
@@ -2354,7 +2354,7 @@ var MemoryManagerSyncOps = class {
2354
2354
  if (end <= start) return 0;
2355
2355
  let handle;
2356
2356
  try {
2357
- handle = await fs$1.open(absPath, "r");
2357
+ handle = await fsPromises.open(absPath, "r");
2358
2358
  } catch (err) {
2359
2359
  if (isFileMissingError(err)) return 0;
2360
2360
  throw err;
@@ -3297,7 +3297,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
3297
3297
  });
3298
3298
  return;
3299
3299
  }
3300
- const content = options.content ?? await fs$1.readFile(entry.absPath, "utf-8");
3300
+ const content = options.content ?? await fsPromises.readFile(entry.absPath, "utf-8");
3301
3301
  const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0), EMBEDDING_BATCH_MAX_TOKENS);
3302
3302
  if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
3303
3303
  const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
@@ -3716,7 +3716,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3716
3716
  if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
3717
3717
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
3718
3718
  for (const additionalPath of additionalPaths) try {
3719
- const stat = await fs$1.lstat(additionalPath);
3719
+ const stat = await fsPromises.lstat(additionalPath);
3720
3720
  if (stat.isSymbolicLink()) continue;
3721
3721
  if (stat.isDirectory()) {
3722
3722
  if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
@@ -3741,7 +3741,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
3741
3741
  };
3742
3742
  let content;
3743
3743
  try {
3744
- content = await fs$1.readFile(absPath, "utf-8");
3744
+ content = await fsPromises.readFile(absPath, "utf-8");
3745
3745
  } catch (err) {
3746
3746
  if (isFileMissingError(err)) return {
3747
3747
  text: "",
@@ -1,5 +1,5 @@
1
1
  import { h as resolveConfigDir, u as isRecord, v as resolveUserPath } from "./utils-DIzy5B5o.js";
2
- import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-BHfqkuYN.js";
2
+ import { C as openBoundaryFileSync, _ as resolveWorkspaceExtensionsDir, j as isPathInside$1 } from "./workspace-DzeL98px.js";
3
3
  import { n as MANIFEST_KEY } from "./legacy-names-D3aIn6ij.js";
4
4
  import { l as normalizeChatChannelId } from "./registry-7fg1BnMw.js";
5
5
  import { fileURLToPath } from "node:url";
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { m as normalizeAccountId } from "./session-key-a6av96Fj.js";
3
- import { r as normalizeChannelId } from "./plugins-D63QYxW6.js";
3
+ import { r as normalizeChannelId } from "./plugins-CJoaoIHc.js";
4
4
  import { t as resolveAccountEntry } from "./account-lookup-JrULBwdR.js";
5
5
 
6
6
  //#region src/config/markdown-tables.ts
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { g as normalizeAccountId } from "./session-key-BLprDJYq.js";
3
3
  import { t as resolveAccountEntry } from "./account-lookup-DndUerpe.js";
4
- import { r as normalizeChannelId } from "./plugins-vsjS_m58.js";
4
+ import { r as normalizeChannelId } from "./plugins-C4cYqW07.js";
5
5
 
6
6
  //#region src/config/markdown-tables.ts
7
7
  var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
@@ -2,12 +2,12 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { d as colorize, f as isRich, p as theme, s as setVerbose } from "./globals-B68W7uN8.js";
3
3
  import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
4
4
  import { d as defaultRuntime, t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
5
- import { M as loadConfig, at as parseDurationMs, hn as splitShellArgs } from "./auth-profiles-D_x1_5v_.js";
6
- import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
5
+ import { M as loadConfig, at as parseDurationMs, hn as splitShellArgs } from "./auth-profiles-CyG9VwU_.js";
6
+ import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
7
7
  import { b as shortenHomeInString, v as resolveUserPath, x as shortenHomePath } from "./utils-DIzy5B5o.js";
8
8
  import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CTtLmER4.js";
9
9
  import { r as formatErrorMessage } from "./errors-BJz45-qI.js";
10
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BrM3X6-L.js";
10
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-Ba9OpCm9.js";
11
11
  import { t as formatDocsLink } from "./links-BDNlbZvM.js";
12
12
  import { r as withManager } from "./cli-utils-k9A6CA1o.js";
13
13
  import { t as formatHelpExamples } from "./help-format-B3bKmDqF.js";
@@ -15,7 +15,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-CwQKn0ae.
15
15
  import path from "node:path";
16
16
  import os from "node:os";
17
17
  import fs from "node:fs";
18
- import fs$1 from "node:fs/promises";
18
+ import fsPromises from "node:fs/promises";
19
19
 
20
20
  //#region src/memory/backend-config.ts
21
21
  const DEFAULT_BACKEND = "builtin";
@@ -228,7 +228,7 @@ async function getMemorySearchManager(params) {
228
228
  if (cached) return { manager: cached };
229
229
  }
230
230
  try {
231
- const { QmdMemoryManager } = await import("./qmd-manager-BNohLpRA.js");
231
+ const { QmdMemoryManager } = await import("./qmd-manager-Bo22w5wm.js");
232
232
  const primary = await QmdMemoryManager.create({
233
233
  cfg: params.cfg,
234
234
  agentId: params.agentId,
@@ -240,7 +240,7 @@ async function getMemorySearchManager(params) {
240
240
  const wrapper = new FallbackMemoryManager({
241
241
  primary,
242
242
  fallbackFactory: async () => {
243
- const { MemoryIndexManager } = await import("./manager-7hZXEYTj.js").then((n) => n.t);
243
+ const { MemoryIndexManager } = await import("./manager-DWpiNvlg.js").then((n) => n.t);
244
244
  return await MemoryIndexManager.get(params);
245
245
  }
246
246
  }, () => {
@@ -255,7 +255,7 @@ async function getMemorySearchManager(params) {
255
255
  }
256
256
  }
257
257
  try {
258
- const { MemoryIndexManager } = await import("./manager-7hZXEYTj.js").then((n) => n.t);
258
+ const { MemoryIndexManager } = await import("./manager-DWpiNvlg.js").then((n) => n.t);
259
259
  return { manager: await MemoryIndexManager.get(params) };
260
260
  } catch (err) {
261
261
  return {
@@ -426,7 +426,7 @@ async function withMemoryManagerForAgent(params) {
426
426
  }
427
427
  async function checkReadableFile(pathname) {
428
428
  try {
429
- await fs$1.access(pathname, fs.constants.R_OK);
429
+ await fsPromises.access(pathname, fs.constants.R_OK);
430
430
  return { exists: true };
431
431
  } catch (err) {
432
432
  const code = err.code;
@@ -443,7 +443,7 @@ async function scanSessionFiles(agentId) {
443
443
  try {
444
444
  return {
445
445
  source: "sessions",
446
- totalFiles: (await fs$1.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
446
+ totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
447
447
  issues
448
448
  };
449
449
  } catch (err) {
@@ -475,7 +475,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
475
475
  if (alt.issue) issues.push(alt.issue);
476
476
  const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
477
477
  for (const extraPath of resolvedExtraPaths) try {
478
- if ((await fs$1.lstat(extraPath)).isSymbolicLink()) continue;
478
+ if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
479
479
  const extraCheck = await checkReadableFile(extraPath);
480
480
  if (extraCheck.issue) issues.push(extraCheck.issue);
481
481
  } catch (err) {
@@ -485,7 +485,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
485
485
  }
486
486
  let dirReadable = null;
487
487
  try {
488
- await fs$1.access(memoryDir, fs.constants.R_OK);
488
+ await fsPromises.access(memoryDir, fs.constants.R_OK);
489
489
  dirReadable = true;
490
490
  } catch (err) {
491
491
  const code = err.code;
@@ -533,7 +533,7 @@ async function summarizeQmdIndexArtifact(manager) {
533
533
  if (!dbPath) return null;
534
534
  let stat;
535
535
  try {
536
- stat = await fs$1.stat(dbPath);
536
+ stat = await fsPromises.stat(dbPath);
537
537
  } catch (err) {
538
538
  const code = err.code;
539
539
  if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
@@ -1,4 +1,4 @@
1
- import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-C2GEGa2t.js";
1
+ import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CJCkqTms.js";
2
2
 
3
3
  //#region src/gateway/protocol/client-info.ts
4
4
  const GATEWAY_CLIENT_IDS = {
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { er as resolveOpenClawAgentDir, hr as normalizeProviderId, ki as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-D_x1_5v_.js";
3
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BZ2RCD_u.js";
2
+ import { er as resolveOpenClawAgentDir, hr as normalizeProviderId, ki as DEFAULT_CONTEXT_TOKENS } from "./auth-profiles-CyG9VwU_.js";
3
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-RrejIg26.js";
4
4
 
5
5
  //#region src/agents/model-alias-lines.ts
6
6
  function buildModelAliasLines(cfg) {
@@ -1,12 +1,12 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-DjdBljTA.js";
2
- import { M as loadConfig, er as resolveOpenClawAgentDir } from "./auth-profiles-D_x1_5v_.js";
3
- import { t as ensureOpenClawModelsJson } from "./models-config-CmrBGsQs.js";
2
+ import { M as loadConfig, er as resolveOpenClawAgentDir } from "./auth-profiles-CyG9VwU_.js";
3
+ import { t as ensureOpenClawModelsJson } from "./models-config-AePb9RAo.js";
4
4
 
5
5
  //#region src/agents/model-catalog.ts
6
6
  const log = createSubsystemLogger("model-catalog");
7
7
  let modelCatalogPromise = null;
8
8
  let hasLoggedModelCatalogError = false;
9
- const defaultImportPiSdk = () => import("./pi-model-discovery-BZ2RCD_u.js").then((n) => n.r);
9
+ const defaultImportPiSdk = () => import("./pi-model-discovery-RrejIg26.js").then((n) => n.r);
10
10
  let importPiSdk = defaultImportPiSdk;
11
11
  const CODEX_PROVIDER = "openai-codex";
12
12
  const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Kn as ensureAuthProfileStore, Wn as upsertAuthProfileWithLock, ar as buildAllowedModelSet, fr as modelKey, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, ri as getCustomProviderApiKey, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-D_x1_5v_.js";
3
- import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-CJelRKYY.js";
4
- import { n as loadModelCatalog } from "./model-catalog-D1X8r3WJ.js";
5
- import { i as formatTokenK } from "./shared-BAdi_Ot7.js";
2
+ import { Ai as DEFAULT_MODEL, Bn as listProfilesForProvider, Kn as ensureAuthProfileStore, Wn as upsertAuthProfileWithLock, ar as buildAllowedModelSet, fr as modelKey, hr as normalizeProviderId, ji as DEFAULT_PROVIDER, ri as getCustomProviderApiKey, si as resolveEnvApiKey, sr as buildModelAliasIndex, yr as resolveConfiguredModelRef } from "./auth-profiles-CyG9VwU_.js";
3
+ import { _ as resolveAgentModelPrimaryValue } from "./agent-scope-CY2-lUIY.js";
4
+ import { n as loadModelCatalog } from "./model-catalog-DFi9HgWu.js";
5
+ import { i as formatTokenK } from "./shared-DvHQekWm.js";
6
6
 
7
7
  //#region src/commands/openai-codex-model-default.ts
8
8
  const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
@@ -1,20 +1,20 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-CTbRzU1C.js";
3
- import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-DKuX7-1L.js";
4
- import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-CAatx5oo.js";
2
+ import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-C6hps0r3.js";
3
+ import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-aGRLvQx9.js";
4
+ import { n as stripAnsi, t as createSubsystemLogger } from "./subsystem-BRjuJbbM.js";
5
5
  import { c as normalizeAgentId, g as isBlockedObjectKey, t as DEFAULT_AGENT_ID } from "./session-key-a6av96Fj.js";
6
- import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-Bo1RFF0l.js";
7
- import { A as isPathInside$2, C as openBoundaryFileSync, h as resolveWorkspaceExtensionsDir, x as canUseBoundaryFileOpen, y as runExec } from "./workspace-CswOYN9T.js";
8
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-CPjAmbfr.js";
9
- import { n as formatCliCommand, t as isTruthyEnvValue } from "./env-Bn6pmvjK.js";
10
- import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-C2GEGa2t.js";
6
+ import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-BFZnl-5N.js";
7
+ import { A as isPathInside$2, C as openBoundaryFileSync, h as resolveWorkspaceExtensionsDir, x as canUseBoundaryFileOpen, y as runExec } from "./workspace-D6mrCnXi.js";
8
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DLGN-8YS.js";
9
+ import { n as formatCliCommand, t as isTruthyEnvValue } from "./env-DNMZEG57.js";
10
+ import { s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CJCkqTms.js";
11
11
  import { n as MANIFEST_KEY } from "./legacy-names-CaxS8pq2.js";
12
12
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-NY-gTuzr.js";
13
13
  import { createRequire } from "node:module";
14
14
  import fs from "node:fs/promises";
15
15
  import os from "node:os";
16
16
  import path from "node:path";
17
- import fs$1 from "node:fs";
17
+ import syncFs from "node:fs";
18
18
  import JSON5 from "json5";
19
19
  import { isDeepStrictEqual } from "node:util";
20
20
  import { execFileSync, spawn } from "node:child_process";
@@ -241,7 +241,7 @@ function isValidPid(pid) {
241
241
  function isZombieProcess(pid) {
242
242
  if (process.platform !== "linux") return false;
243
243
  try {
244
- return fs$1.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
244
+ return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
245
245
  } catch {
246
246
  return false;
247
247
  }
@@ -268,7 +268,7 @@ function getProcessStartTime(pid) {
268
268
  if (process.platform !== "linux") return null;
269
269
  if (!isValidPid(pid)) return null;
270
270
  try {
271
- const stat = fs$1.readFileSync(`/proc/${pid}/stat`, "utf8");
271
+ const stat = syncFs.readFileSync(`/proc/${pid}/stat`, "utf8");
272
272
  const commEndIndex = stat.lastIndexOf(")");
273
273
  if (commEndIndex < 0) return null;
274
274
  const fields = stat.slice(commEndIndex + 1).trimStart().split(/\s+/);
@@ -537,7 +537,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
537
537
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
538
538
  }
539
539
  function ensureAuthStoreFile(pathname) {
540
- if (fs$1.existsSync(pathname)) return;
540
+ if (syncFs.existsSync(pathname)) return;
541
541
  saveJsonFile(pathname, {
542
542
  version: AUTH_STORE_VERSION,
543
543
  profiles: {}
@@ -799,7 +799,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
799
799
  if (shouldWrite && legacy !== null) {
800
800
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
801
801
  try {
802
- fs$1.unlinkSync(legacyPath);
802
+ syncFs.unlinkSync(legacyPath);
803
803
  } catch (err) {
804
804
  if (err?.code !== "ENOENT") log$7.warn("failed to delete legacy auth.json after migration", {
805
805
  err,
@@ -987,7 +987,7 @@ function loadDotEnv(opts) {
987
987
  const quiet = opts?.quiet ?? true;
988
988
  dotenv.config({ quiet });
989
989
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
990
- if (!fs$1.existsSync(globalEnvPath)) return;
990
+ if (!syncFs.existsSync(globalEnvPath)) return;
991
991
  dotenv.config({
992
992
  quiet,
993
993
  path: globalEnvPath,
@@ -1110,7 +1110,7 @@ function resolveTimeoutMs(timeoutMs) {
1110
1110
  function readEtcShells() {
1111
1111
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1112
1112
  try {
1113
- const entries = fs$1.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1113
+ const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1114
1114
  cachedEtcShells = new Set(entries);
1115
1115
  } catch {
1116
1116
  cachedEtcShells = null;
@@ -1579,7 +1579,7 @@ function resolveActiveTalkProviderConfig(talk) {
1579
1579
  };
1580
1580
  }
1581
1581
  function readTalkApiKeyFromProfile(deps = {}) {
1582
- const fsImpl = deps.fs ?? fs$1;
1582
+ const fsImpl = deps.fs ?? syncFs;
1583
1583
  const osImpl = deps.os ?? os;
1584
1584
  const pathImpl = deps.path ?? path;
1585
1585
  const home = osImpl.homedir();
@@ -2215,7 +2215,7 @@ function isPathInside$1(basePath, candidatePath) {
2215
2215
  }
2216
2216
  function safeRealpathSync$1(filePath) {
2217
2217
  try {
2218
- return fs$1.realpathSync(filePath);
2218
+ return syncFs.realpathSync(filePath);
2219
2219
  } catch {
2220
2220
  return null;
2221
2221
  }
@@ -2325,7 +2325,7 @@ var IncludeProcessor = class IncludeProcessor {
2325
2325
  const normalized = path.normalize(resolved);
2326
2326
  if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
2327
2327
  try {
2328
- const real = fs$1.realpathSync(normalized);
2328
+ const real = syncFs.realpathSync(normalized);
2329
2329
  if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
2330
2330
  } catch (err) {
2331
2331
  if (err instanceof ConfigIncludeError) throw err;
@@ -2367,13 +2367,13 @@ var IncludeProcessor = class IncludeProcessor {
2367
2367
  };
2368
2368
  function safeRealpath(target) {
2369
2369
  try {
2370
- return fs$1.realpathSync(target);
2370
+ return syncFs.realpathSync(target);
2371
2371
  } catch {
2372
2372
  return target;
2373
2373
  }
2374
2374
  }
2375
2375
  function readConfigIncludeFileWithGuards(params) {
2376
- const ioFs = params.ioFs ?? fs$1;
2376
+ const ioFs = params.ioFs ?? syncFs;
2377
2377
  const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
2378
2378
  if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
2379
2379
  const opened = openBoundaryFileSync({
@@ -2396,7 +2396,7 @@ function readConfigIncludeFileWithGuards(params) {
2396
2396
  }
2397
2397
  }
2398
2398
  const defaultResolver = {
2399
- readFile: (p) => fs$1.readFileSync(p, "utf-8"),
2399
+ readFile: (p) => syncFs.readFileSync(p, "utf-8"),
2400
2400
  readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
2401
2401
  includePath,
2402
2402
  resolvedPath,
@@ -3965,7 +3965,7 @@ function normalizeMatchTarget(value) {
3965
3965
  }
3966
3966
  function tryRealpath(value) {
3967
3967
  try {
3968
- return fs$1.realpathSync(value);
3968
+ return syncFs.realpathSync(value);
3969
3969
  } catch {
3970
3970
  return null;
3971
3971
  }
@@ -4518,8 +4518,8 @@ function resolveWindowsExecutableExtensions(executable, env) {
4518
4518
  }
4519
4519
  function isExecutableFile(filePath) {
4520
4520
  try {
4521
- if (!fs$1.statSync(filePath).isFile()) return false;
4522
- if (process.platform !== "win32") fs$1.accessSync(filePath, fs$1.constants.X_OK);
4521
+ if (!syncFs.statSync(filePath).isFile()) return false;
4522
+ if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
4523
4523
  return true;
4524
4524
  } catch {
4525
4525
  return false;
@@ -4558,7 +4558,7 @@ const DEFAULT_SAFE_BINS = [
4558
4558
  function tryResolveRealpath(filePath) {
4559
4559
  if (!filePath) return;
4560
4560
  try {
4561
- return fs$1.realpathSync(filePath);
4561
+ return syncFs.realpathSync(filePath);
4562
4562
  } catch {
4563
4563
  return;
4564
4564
  }
@@ -5433,7 +5433,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
5433
5433
  for (const dir of resolved) {
5434
5434
  let stat;
5435
5435
  try {
5436
- stat = fs$1.statSync(dir);
5436
+ stat = syncFs.statSync(dir);
5437
5437
  } catch {
5438
5438
  continue;
5439
5439
  }
@@ -5797,13 +5797,13 @@ function resolveBundledPluginsDir() {
5797
5797
  try {
5798
5798
  const execDir = path.dirname(process.execPath);
5799
5799
  const sibling = path.join(execDir, "extensions");
5800
- if (fs$1.existsSync(sibling)) return sibling;
5800
+ if (syncFs.existsSync(sibling)) return sibling;
5801
5801
  } catch {}
5802
5802
  try {
5803
5803
  let cursor = path.dirname(fileURLToPath(import.meta.url));
5804
5804
  for (let i = 0; i < 6; i += 1) {
5805
5805
  const candidate = path.join(cursor, "extensions");
5806
- if (fs$1.existsSync(candidate)) return candidate;
5806
+ if (syncFs.existsSync(candidate)) return candidate;
5807
5807
  const parent = path.dirname(cursor);
5808
5808
  if (parent === cursor) break;
5809
5809
  cursor = parent;
@@ -5822,7 +5822,7 @@ function normalizeStringList(value) {
5822
5822
  function resolvePluginManifestPath(rootDir) {
5823
5823
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
5824
5824
  const candidate = path.join(rootDir, filename);
5825
- if (fs$1.existsSync(candidate)) return candidate;
5825
+ if (syncFs.existsSync(candidate)) return candidate;
5826
5826
  }
5827
5827
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
5828
5828
  }
@@ -5848,7 +5848,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
5848
5848
  }
5849
5849
  let raw;
5850
5850
  try {
5851
- raw = JSON.parse(fs$1.readFileSync(opened.fd, "utf-8"));
5851
+ raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
5852
5852
  } catch (err) {
5853
5853
  return {
5854
5854
  ok: false,
@@ -5856,7 +5856,7 @@ function loadPluginManifest(rootDir, rejectHardlinks = true) {
5856
5856
  manifestPath
5857
5857
  };
5858
5858
  } finally {
5859
- fs$1.closeSync(opened.fd);
5859
+ syncFs.closeSync(opened.fd);
5860
5860
  }
5861
5861
  if (!isRecord$3(raw)) return {
5862
5862
  ok: false,
@@ -5937,7 +5937,7 @@ function safeRealpathSync(targetPath, cache) {
5937
5937
  const cached = cache?.get(targetPath);
5938
5938
  if (cached) return cached;
5939
5939
  try {
5940
- const resolved = fs$1.realpathSync(targetPath);
5940
+ const resolved = syncFs.realpathSync(targetPath);
5941
5941
  cache?.set(targetPath, resolved);
5942
5942
  return resolved;
5943
5943
  } catch {
@@ -5946,7 +5946,7 @@ function safeRealpathSync(targetPath, cache) {
5946
5946
  }
5947
5947
  function safeStatSync(targetPath) {
5948
5948
  try {
5949
- return fs$1.statSync(targetPath);
5949
+ return syncFs.statSync(targetPath);
5950
5950
  } catch {
5951
5951
  return null;
5952
5952
  }
@@ -6075,12 +6075,12 @@ function readPackageManifest(dir, rejectHardlinks = true) {
6075
6075
  });
6076
6076
  if (!opened.ok) return null;
6077
6077
  try {
6078
- const raw = fs$1.readFileSync(opened.fd, "utf-8");
6078
+ const raw = syncFs.readFileSync(opened.fd, "utf-8");
6079
6079
  return JSON.parse(raw);
6080
6080
  } catch {
6081
6081
  return null;
6082
6082
  } finally {
6083
- fs$1.closeSync(opened.fd);
6083
+ syncFs.closeSync(opened.fd);
6084
6084
  }
6085
6085
  }
6086
6086
  function deriveIdHint(params) {
@@ -6133,14 +6133,14 @@ function resolvePackageEntrySource(params) {
6133
6133
  return null;
6134
6134
  }
6135
6135
  const safeSource = opened.path;
6136
- fs$1.closeSync(opened.fd);
6136
+ syncFs.closeSync(opened.fd);
6137
6137
  return safeSource;
6138
6138
  }
6139
6139
  function discoverInDirectory(params) {
6140
- if (!fs$1.existsSync(params.dir)) return;
6140
+ if (!syncFs.existsSync(params.dir)) return;
6141
6141
  let entries = [];
6142
6142
  try {
6143
- entries = fs$1.readdirSync(params.dir, { withFileTypes: true });
6143
+ entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
6144
6144
  } catch (err) {
6145
6145
  params.diagnostics.push({
6146
6146
  level: "warn",
@@ -6201,7 +6201,7 @@ function discoverInDirectory(params) {
6201
6201
  }
6202
6202
  continue;
6203
6203
  }
6204
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs$1.existsSync(candidate));
6204
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
6205
6205
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
6206
6206
  candidates: params.candidates,
6207
6207
  diagnostics: params.diagnostics,
@@ -6219,7 +6219,7 @@ function discoverInDirectory(params) {
6219
6219
  }
6220
6220
  function discoverFromPath(params) {
6221
6221
  const resolved = resolveUserPath(params.rawPath);
6222
- if (!fs$1.existsSync(resolved)) {
6222
+ if (!syncFs.existsSync(resolved)) {
6223
6223
  params.diagnostics.push({
6224
6224
  level: "error",
6225
6225
  message: `plugin path not found: ${resolved}`,
@@ -6227,7 +6227,7 @@ function discoverFromPath(params) {
6227
6227
  });
6228
6228
  return;
6229
6229
  }
6230
- const stat = fs$1.statSync(resolved);
6230
+ const stat = syncFs.statSync(resolved);
6231
6231
  if (stat.isFile()) {
6232
6232
  if (!isExtensionFile(resolved)) {
6233
6233
  params.diagnostics.push({
@@ -6285,7 +6285,7 @@ function discoverFromPath(params) {
6285
6285
  }
6286
6286
  return;
6287
6287
  }
6288
- const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs$1.existsSync(candidate));
6288
+ const indexFile = [...DEFAULT_PLUGIN_ENTRY_CANDIDATES].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
6289
6289
  if (indexFile && isExtensionFile(indexFile)) {
6290
6290
  addCandidate({
6291
6291
  candidates: params.candidates,
@@ -6399,7 +6399,7 @@ function buildCacheKey$1(params) {
6399
6399
  }
6400
6400
  function safeStatMtimeMs(filePath) {
6401
6401
  try {
6402
- return fs$1.statSync(filePath).mtimeMs;
6402
+ return syncFs.statSync(filePath).mtimeMs;
6403
6403
  } catch {
6404
6404
  return null;
6405
6405
  }
@@ -11465,7 +11465,7 @@ function resolveConfigPathForDeps(deps) {
11465
11465
  }
11466
11466
  function normalizeDeps(overrides = {}) {
11467
11467
  return {
11468
- fs: overrides.fs ?? fs$1,
11468
+ fs: overrides.fs ?? syncFs,
11469
11469
  json5: overrides.json5 ?? JSON5,
11470
11470
  env: overrides.env ?? process.env,
11471
11471
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),