@bitseek/claw 1.2.7 → 1.2.9

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 (279) hide show
  1. package/dist/{accounts-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
  2. package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
  3. package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
  4. package/dist/{acp-cli-C24-lylb.js → acp-cli-CyPiQ0lt.js} +8 -8
  5. package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
  6. package/dist/{agents-BCJbDk2P.js → agents-BC3wwrO-.js} +15 -15
  7. package/dist/{agents.config-DoxV5m9v.js → agents.config-CeG5P331.js} +2 -2
  8. package/dist/{agents.config-DQBEXhzA.js → agents.config-rRQ8xZUr.js} +1 -1
  9. package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
  10. package/dist/{audio-preflight-Dd9DDvqB.js → audio-preflight-BWOdDA2n.js} +4 -4
  11. package/dist/{audio-preflight-Dl40LQzr.js → audio-preflight-iuCPDl1D.js} +36 -36
  12. package/dist/{audio-transcription-runner-jiDE7Pt8.js → audio-transcription-runner-CGADiTRL.js} +22 -22
  13. package/dist/{audio-transcription-runner-Bx53bUS2.js → audio-transcription-runner-DaoqvWoi.js} +1 -1
  14. package/dist/{audit-Bgu8Ommg.js → audit-Bjz6AFn-.js} +29 -29
  15. package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
  16. package/dist/{auth-choice-DYXCDlGW.js → auth-choice-Co_Dl_bs.js} +14 -14
  17. package/dist/{auth-choice-CP6K5htW.js → auth-choice-Dx1VT2I8.js} +12 -12
  18. package/dist/{auth-choice-CdsMUqKA.js → auth-choice-eimtfK0N.js} +1 -1
  19. package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
  20. package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
  21. package/dist/{auth-token-BDQ5b9Wx.js → auth-token-Cfvmvs2X.js} +1 -1
  22. package/dist/{banner-V_1v329B.js → banner-7O0OkDQ4.js} +2 -2
  23. package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
  24. package/dist/{bonjour-discovery-DiHs5j0y.js → bonjour-discovery-Dv9UQh6g.js} +1 -1
  25. package/dist/{browser-cli-BMupJSz_.js → browser-cli-C1OEYX9g.js} +12 -12
  26. package/dist/build-info.json +3 -3
  27. package/dist/bundled/boot-md/handler.js +6 -6
  28. package/dist/bundled/session-memory/handler.js +6 -6
  29. package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
  30. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  31. package/dist/{channel-account-context-BV3Q0XnD.js → channel-account-context-BrHQ7XHF.js} +5 -5
  32. package/dist/{channel-options-Dsjb-V1F.js → channel-options-BnZ1nSBu.js} +3 -3
  33. package/dist/{channel-options-Bnnem_wD.js → channel-options-uEYF4WRA.js} +1 -1
  34. package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
  35. package/dist/{channel-web-KY6EP9HT.js → channel-web-BJJUEEKO.js} +1 -1
  36. package/dist/{channel-web-wuxrfEJh.js → channel-web-lHPdbnjv.js} +18 -18
  37. package/dist/{channels-cli-OZeQkPMG.js → channels-cli-DEE_p7e9.js} +95 -95
  38. package/dist/{channels-cli-tJkvzsqO.js → channels-cli-GwM8DZvP.js} +6 -6
  39. package/dist/{channels-status-issues-CCNiQcg9.js → channels-status-issues-BWcKByy7.js} +1 -1
  40. package/dist/{chrome-C6zMSR36.js → chrome-CjTE-vWv.js} +8 -8
  41. package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
  42. package/dist/{clawbot-cli-COQB6-NK.js → clawbot-cli-C6oL4o77.js} +5 -5
  43. package/dist/cli/daemon-cli.js +1 -1
  44. package/dist/{cli-DOS1lPNs.js → cli-BLZW83kS.js} +1 -1
  45. package/dist/{cli-YeYpjq2c.js → cli-CD5xP9w9.js} +76 -76
  46. package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
  47. package/dist/{command-registry-Ce2f2xlT.js → command-registry-B41say0S.js} +13 -13
  48. package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
  49. package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
  50. package/dist/{completion-cli-9Y73fGUi.js → completion-cli-BuLkcc9o.js} +1 -1
  51. package/dist/{completion-cli-BmyLEw45.js → completion-cli-DSxTjQik.js} +13 -13
  52. package/dist/{config-cli-hwawfBlS.js → config-cli-BMtY1oFI.js} +7 -7
  53. package/dist/{config-cli-DZpbwWvz.js → config-cli-D4EnfBqh.js} +1 -1
  54. package/dist/{config-guard-CcE0LvHm.js → config-guard-Bztdn_pu.js} +3 -3
  55. package/dist/{config-validation-DO7QURfM.js → config-validation-CAkiRwLK.js} +3 -3
  56. package/dist/{configure-CLMtWGiL.js → configure-CBB1YbMN.js} +3 -3
  57. package/dist/{configure-l-lM74c1.js → configure-Dz9z2cyD.js} +17 -17
  58. package/dist/control-ui/assets/{index-CKSSOzJL.js → index-puDi2eTY.js} +2 -2
  59. package/dist/control-ui/assets/index-puDi2eTY.js.map +1 -0
  60. package/dist/control-ui/brand.png +0 -0
  61. package/dist/control-ui/index.html +4 -5
  62. package/dist/{control-ui-assets-Dx8wiZQ_.js → control-ui-assets-BGvtXBkm.js} +1 -1
  63. package/dist/{cron-cli-xl75rAFd.js → cron-cli-nslB2EKF.js} +12 -12
  64. package/dist/{daemon-cli-BSy0rtO2.js → daemon-cli-D8I8RTf0.js} +15 -15
  65. package/dist/{daemon-install-d2OYSlQz.js → daemon-install-CKree1OU.js} +4 -4
  66. package/dist/{daemon-install-helpers-D28keNLu.js → daemon-install-helpers-CBCbs7y1.js} +11 -11
  67. package/dist/{dashboard-DXvihe_P.js → dashboard-dc7KG5Fm.js} +2 -2
  68. package/dist/{deliver-Df8pSQk6.js → deliver-BRwFsEUd.js} +7 -7
  69. package/dist/{deliver-DXa06hfk.js → deliver-xY3h9X6N.js} +1 -1
  70. package/dist/{devices-cli-D6CoUTi_.js → devices-cli-jakb5Fk0.js} +8 -8
  71. package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
  72. package/dist/{diagnostics-ABz8E7c-.js → diagnostics-DR9Z0mN5.js} +5 -5
  73. package/dist/{directory-cli-Dkil59xj.js → directory-cli-3FgAtenS.js} +8 -8
  74. package/dist/{dns-cli-CJydclW8.js → dns-cli-DUsjD4em.js} +5 -5
  75. package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
  76. package/dist/{docs-cli-BkufgU5Y.js → docs-cli-CpIeooaU.js} +4 -4
  77. package/dist/{doctor-completion-CWm9ZwKY.js → doctor-completion-BIt5xBwC.js} +1 -1
  78. package/dist/{doctor-completion-_GRkzsCa.js → doctor-completion-BSR7Om4e.js} +2 -2
  79. package/dist/{doctor-config-flow-BrXA2e34.js → doctor-config-flow-DUdUJgfq.js} +15 -15
  80. package/dist/{enable-CinNZxRH.js → enable-BNycqpJc.js} +1 -1
  81. package/dist/entry.js +2 -2
  82. package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
  83. package/dist/{exec-approvals-cli-Cani2Hjk.js → exec-approvals-cli-D8lFWgJj.js} +16 -16
  84. package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
  85. package/dist/extensionAPI.js +1 -1
  86. package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
  87. package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
  88. package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
  89. package/dist/{gateway-cli-DRM2vzxA.js → gateway-cli-CanylfLh.js} +22 -12
  90. package/dist/{gateway-cli-CSL5V3uF.js → gateway-cli-VrzgkvsB.js} +175 -165
  91. package/dist/{gateway-rpc-C7KYwonl.js → gateway-rpc-B5Spvviy.js} +1 -1
  92. package/dist/{health-Du8dO3vn.js → health-BX20asqJ.js} +1 -1
  93. package/dist/{health-CDEXWvnu.js → health-D4cJIlo7.js} +14 -14
  94. package/dist/{hooks-cli-Deo01lF6.js → hooks-cli-BPg6BqOl.js} +84 -84
  95. package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-Cs2Ovk-O.js} +2 -2
  96. package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
  97. package/dist/{image-UpBiPNsk.js → image-CI4JYwnc.js} +5 -5
  98. package/dist/{image-Dd4lgi4H.js → image-DCyaYY2d.js} +1 -1
  99. package/dist/{image-ops-BGTBZMuE.js → image-ops-B2L37gT8.js} +10 -10
  100. package/dist/index.js +6 -6
  101. package/dist/{inspect-Bmurt9te.js → inspect-BzuEXYfa.js} +4 -4
  102. package/dist/{install-safe-path-BB9b_AvF.js → install-safe-path-C8QJ5yjB.js} +25 -25
  103. package/dist/{installs-BXcYytvn.js → installs-CWbEA1d1.js} +9 -9
  104. package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
  105. package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
  106. package/dist/{issue-format-DF2YB-kZ.js → issue-format-D8MobWNt.js} +1 -1
  107. package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
  108. package/dist/{lifecycle-core-CJd181-h.js → lifecycle-core-CiAE4s92.js} +5 -5
  109. package/dist/llm-slug-generator.js +6 -6
  110. package/dist/{login-C_YjM9eH.js → login-CdHg3Emc.js} +3 -3
  111. package/dist/{login-qr-DujJqOuy.js → login-qr-DXecO0Tb.js} +6 -6
  112. package/dist/{logs-cli-Bc1A5X-r.js → logs-cli-D8UCmwyR.js} +9 -9
  113. package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
  114. package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
  115. package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
  116. package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
  117. package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
  118. package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
  119. package/dist/{model-picker-C56N_rW7.js → model-picker-Dt7Rl38k.js} +4 -4
  120. package/dist/{models-CgguB_MH.js → models-CukrcW4u.js} +18 -18
  121. package/dist/{models-cli-CHUbcM_y.js → models-cli-C-FMLbe_.js} +2 -2
  122. package/dist/{models-cli-BEb0DHSP.js → models-cli-DTjBGjrI.js} +81 -81
  123. package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
  124. package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
  125. package/dist/{node-cli-DSoqxwqZ.js → node-cli-D4Tj8JOq.js} +33 -33
  126. package/dist/{node-command-policy-pJ6IPNBA.js → node-command-policy-BZq5AebG.js} +1 -1
  127. package/dist/{node-service-DUUObpwl.js → node-service-B0FIwOsW.js} +1 -1
  128. package/dist/{nodes-cli-BKGcOJ8A.js → nodes-cli-DL-855N8.js} +16 -16
  129. package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
  130. package/dist/{npm-pack-install-D5pJ8KzT.js → npm-pack-install-qErvgXGZ.js} +18 -18
  131. package/dist/{npm-resolution-T8SphiP5.js → npm-resolution-C_FZOBlT.js} +5 -5
  132. package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-oBSNTx2S.js} +1 -1
  133. package/dist/{onboard-ATkjPZXm.js → onboard-B-f5pmgG.js} +2 -2
  134. package/dist/{onboard-BuGv9f2N.js → onboard-DktYC_iu.js} +6 -6
  135. package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-Bbzz_NPd.js} +1 -1
  136. package/dist/{onboard-channels-BLZ8FdVP.js → onboard-channels-DGipWl1h.js} +20 -20
  137. package/dist/{onboard-custom-CZR1K96w.js → onboard-custom-B5F-69pM.js} +3 -3
  138. package/dist/{onboard-custom.shared-B9NXcXpv.js → onboard-custom.shared-CBgv6y4h.js} +2 -2
  139. package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
  140. package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
  141. package/dist/{onboard-remote-DtLQyBJB.js → onboard-remote-loJ1Jn9Q.js} +3 -3
  142. package/dist/{onboard-skills-Brzj5oDF.js → onboard-skills-JtcIUHsb.js} +4 -4
  143. package/dist/{onboarding-BAaREMfO.js → onboarding-D0IraL8k.js} +13 -13
  144. package/dist/{onboarding-BvdtFAPe.js → onboarding-Kp0zZunD.js} +3 -3
  145. package/dist/{onboarding.finalize-dkwktLJD.js → onboarding.finalize-CJ23anMx.js} +5 -5
  146. package/dist/{onboarding.finalize-CV7n10lP.js → onboarding.finalize-DHitw2tg.js} +89 -89
  147. package/dist/{onboarding.gateway-config-D-gZxjbU.js → onboarding.gateway-config-uLDVSdpl.js} +18 -18
  148. package/dist/{openai-model-default-BNYNbslY.js → openai-model-default-B1Dlue6a.js} +2 -2
  149. package/dist/{outbound-_RTZSBES.js → outbound-BZyqP8d-.js} +4 -4
  150. package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
  151. package/dist/{pairing-cli-DiKgOlKC.js → pairing-cli-DR836bYa.js} +9 -9
  152. package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
  153. package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
  154. package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
  155. package/dist/{path-safety-__ACzYqx.js → path-safety-Cr4WZsHE.js} +1 -1
  156. package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
  157. package/dist/{pi-embedded-DKX65Hec.js → pi-embedded-BgVoy_Nm.js} +62 -26
  158. package/dist/{pi-embedded-Claxav22.js → pi-embedded-DdMbqfLM.js} +42 -6
  159. package/dist/{pi-embedded-helpers-CrD8I6qf.js → pi-embedded-helpers-CEMPdfif.js} +6 -6
  160. package/dist/{pi-embedded-helpers-BErNo2oq.js → pi-embedded-helpers-CMTVhLjq.js} +3 -3
  161. package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
  162. package/dist/{pi-tools.policy-upaoJyu4.js → pi-tools.policy-dUeXHcQL.js} +5 -5
  163. package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
  164. package/dist/{plugin-registry-CxFikiLF.js → plugin-registry-CIUGSWLT.js} +3 -3
  165. package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-pa6LjTdT.js} +1 -1
  166. package/dist/plugin-sdk/agents/context.d.ts +2 -0
  167. package/dist/plugin-sdk/{channel-web-O79O_ah6.js → channel-web-BaFUnG0F.js} +1 -1
  168. package/dist/plugin-sdk/index.js +2 -2
  169. package/dist/plugin-sdk/{reply-YZQvouuF.js → reply-BCRC0yeW.js} +42 -6
  170. package/dist/plugin-sdk/{web-jmxdxo0H.js → web-BDHHRoXS.js} +2 -2
  171. package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
  172. package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-CqDquUh9.js} +2 -2
  173. package/dist/{plugins-cli-bHHZzKd-.js → plugins-cli-DnLeUBfn.js} +86 -86
  174. package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
  175. package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
  176. package/dist/{program-Br-upXE-.js → program-3T_oL3TY.js} +84 -84
  177. package/dist/{program-context-B7eOpdoF.js → program-context-D2U9PEv9.js} +17 -17
  178. package/dist/{prompt-select-styled-CPPwmToI.js → prompt-select-styled-Bir77erd.js} +4 -4
  179. package/dist/{prompt-select-styled-BpKwjfWa.js → prompt-select-styled-BylOR7bV.js} +39 -39
  180. package/dist/{provider-auth-helpers-BFsLtU8g.js → provider-auth-helpers-BEFKXIJE.js} +5 -5
  181. package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-fK9RpOiF.js} +1 -1
  182. package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
  183. package/dist/{push-apns-DvNRo3EQ.js → push-apns-C7oC1J4F.js} +1 -1
  184. package/dist/{push-apns-BSlKJa83.js → push-apns-sUecrS7L.js} +5 -5
  185. package/dist/{pw-ai-BeJ_96rV.js → pw-ai-CG7D8D2P.js} +15 -15
  186. package/dist/{pw-ai-pkfCxzhV.js → pw-ai-DGwA7iCM.js} +1 -1
  187. package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
  188. package/dist/{qr-cli-CCHyao8J.js → qr-cli-DiKa2ySu.js} +1 -1
  189. package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
  190. package/dist/{redact-snapshot-C1Yp9Q7B.js → redact-snapshot-Dioor4fY.js} +1 -1
  191. package/dist/{register.agent-DowGjvNc.js → register.agent-DVy4TdwU.js} +6 -6
  192. package/dist/{register.agent-C-OmdJMe.js → register.agent-FAGOpOS3.js} +97 -97
  193. package/dist/{register.configure-BZLa_c3k.js → register.configure-BzG1EPPb.js} +7 -7
  194. package/dist/register.configure-aZwsNSkf.js +175 -0
  195. package/dist/{register.init-B1pIa3ys.js → register.init-B-wUDJAX.js} +15 -15
  196. package/dist/{register.maintenance-D3hGsmW7.js → register.maintenance-B6f_YUQN.js} +99 -99
  197. package/dist/{register.maintenance-DlVX7oGZ.js → register.maintenance-ClYMbiJl.js} +7 -7
  198. package/dist/{register.message-DE-eKss6.js → register.message-BkAe3KaX.js} +2 -2
  199. package/dist/{register.message-5hKmcWaB.js → register.message-WkJ5viuk.js} +77 -77
  200. package/dist/{register.onboard-BSOSCu5a.js → register.onboard-BUBCEjZ_.js} +2 -2
  201. package/dist/{register.onboard-BLl4Er9V.js → register.onboard-DvpF9feG.js} +18 -18
  202. package/dist/{register.setup-NLg11E_9.js → register.setup-CA7jtsG8.js} +21 -21
  203. package/dist/{register.setup-CvAXGVEU.js → register.setup-Dlmt8cdD.js} +2 -2
  204. package/dist/{register.start-CyYd_xbF.js → register.start-3Hnjf8NZ.js} +17 -17
  205. package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-BfIwzFQw.js} +3 -3
  206. package/dist/{register.status-health-sessions-lOM_lb6H.js → register.status-health-sessions-CY2i61By.js} +91 -91
  207. package/dist/{register.subclis-Zhshg_9Y.js → register.subclis-D72jBDzj.js} +31 -31
  208. package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
  209. package/dist/{reply-D8Yu6-Ie.js → reply-BOAv4F33.js} +42 -6
  210. package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
  211. package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
  212. package/dist/{rpc-CnRUZWNJ.js → rpc-DQa5fiBV.js} +1 -1
  213. package/dist/{run-main-CiC7Az8U.js → run-main-DOntWJzb.js} +95 -95
  214. package/dist/{runtime-D4y0Gdfj.js → runtime-D-Knnx0g.js} +2 -2
  215. package/dist/{sandbox-Tai-w14a.js → sandbox-DI_zIUpo.js} +18 -18
  216. package/dist/{sandbox-cli-uwsF36Ea.js → sandbox-cli-Cn6OxK6L.js} +26 -26
  217. package/dist/{secrets-cli-DzeSuhpa.js → secrets-cli-Cf2fFK2m.js} +10 -10
  218. package/dist/{security-cli-Dzelqio0.js → security-cli-DS-dXNUv.js} +43 -43
  219. package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
  220. package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
  221. package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
  222. package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
  223. package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
  224. package/dist/{server-Cr92VI8t.js → server-C88L-6UW.js} +19 -19
  225. package/dist/{server-context-YLHmGfYV.js → server-context-CjPCwa4T.js} +12 -12
  226. package/dist/{server-lifecycle-B23lXM3Y.js → server-lifecycle-HLBzAVdX.js} +2 -2
  227. package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
  228. package/dist/{server-node-events-yFZiE04b.js → server-node-events-CyVS1c_n.js} +77 -77
  229. package/dist/{server-node-events-nakjzVDn.js → server-node-events-DAuQ0Pk2.js} +2 -2
  230. package/dist/{service-Bjqlh_fF.js → service-CFfCS51c.js} +15 -15
  231. package/dist/{session-DcnQHb9Q.js → session-ApCom0An.js} +1 -1
  232. package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
  233. package/dist/{session-utils-BncMg1bn.js → session-utils-DYJSA9qa.js} +46 -10
  234. package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
  235. package/dist/{sessions-C2Xfck_9.js → sessions-CeXgGBJ1.js} +4 -4
  236. package/dist/{shared-BojXguFB.js → shared-Cd4Yi_Q8.js} +3 -3
  237. package/dist/{shared-_j1K2VJ9.js → shared-Cl1av01k.js} +1 -1
  238. package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
  239. package/dist/{skill-scanner-CSJqt034.js → skill-scanner-3QHafkQH.js} +6 -6
  240. package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
  241. package/dist/{skills-cli-BM1iUpGc.js → skills-cli-CAhlFcYR.js} +5 -5
  242. package/dist/{skills-install-e4_jXT_J.js → skills-install-DyneupGw.js} +6 -6
  243. package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
  244. package/dist/{status-CQYA6EJN.js → status-C6WYtjMU.js} +2 -2
  245. package/dist/{status-mS4bWnIW.js → status-VYa-lFs6.js} +26 -26
  246. package/dist/{status.update-YC9VNJxl.js → status.update-BdgtGtkx.js} +2 -2
  247. package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
  248. package/dist/{subagent-registry-CXBreqUP.js → subagent-registry-DlmrBMrv.js} +156 -156
  249. package/dist/{system-cli-B_PUKo6-.js → system-cli-BYGGFlhn.js} +9 -9
  250. package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
  251. package/dist/{systemd-HiU4Gzoc.js → systemd-DRGkJYMb.js} +9 -9
  252. package/dist/{systemd-hints-BDIASQOF.js → systemd-hints-C5HK00QG.js} +6 -6
  253. package/dist/{systemd-linger-DfrE-63p.js → systemd-linger-DME-3IVk.js} +1 -1
  254. package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
  255. package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
  256. package/dist/{target-errors-C5LA-JI-.js → target-errors-DPJ9HFp9.js} +4 -4
  257. package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
  258. package/dist/{tui-CLK0s6TM.js → tui-C16rnfcv.js} +6 -6
  259. package/dist/{tui-cli-DTdNoN6U.js → tui-cli-Ct7mmQhr.js} +33 -33
  260. package/dist/{update-DLc3UsVC.js → update-DOvgIBRu.js} +3 -3
  261. package/dist/{update-cli-B9F4MIMw.js → update-cli-BnefEkIB.js} +107 -107
  262. package/dist/{update-cli-mCVWiI6K.js → update-cli-CWNpH8nb.js} +7 -7
  263. package/dist/{update-runner-C9noXbfV.js → update-runner-BSQpjT4r.js} +16 -16
  264. package/dist/{update-runner-DO6RodZW.js → update-runner-CE9BNhOu.js} +1 -1
  265. package/dist/{web-V1uGLepo.js → web-C1PpWeXj.js} +6 -6
  266. package/dist/web-C1Zm__bd.js +127 -0
  267. package/dist/{web-DbdjX4Hg.js → web-C_RqjNux.js} +2 -2
  268. package/dist/{web-DJKitOpu.js → web-DBuATjw6.js} +1 -1
  269. package/dist/{webhooks-cli-c5SaGz4J.js → webhooks-cli-DyIIpN1Q.js} +6 -6
  270. package/dist/{whatsapp-actions-CnjEOFOZ.js → whatsapp-actions-Dmv3vDs5.js} +19 -19
  271. package/dist/{with-timeout-DurSJobr.js → with-timeout-Cf-HNLSj.js} +3 -3
  272. package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
  273. package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
  274. package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
  275. package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
  276. package/package.json +1 -1
  277. package/dist/control-ui/assets/index-CKSSOzJL.js.map +0 -1
  278. package/dist/register.configure-CaSRlI6h.js +0 -175
  279. package/dist/web-BKrNiKsU.js +0 -127
@@ -2,10 +2,10 @@ import { f as isRich, p as theme } from "./globals-B68W7uN8.js";
2
2
  import "./paths-BnKiOk2S.js";
3
3
  import { d as defaultRuntime } from "./subsystem-DjdBljTA.js";
4
4
  import "./boolean-DtWR5bt3.js";
5
- import "./auth-profiles-D_x1_5v_.js";
6
- import "./agent-scope-CJelRKYY.js";
5
+ import "./auth-profiles-CyG9VwU_.js";
6
+ import "./agent-scope-CY2-lUIY.js";
7
7
  import "./utils-DIzy5B5o.js";
8
- import "./workspace-BHfqkuYN.js";
8
+ import "./workspace-DzeL98px.js";
9
9
  import "./logger-BJMfryJd.js";
10
10
  import "./exec-CEAvKSx9.js";
11
11
  import "./github-copilot-token-CulJ9J5l.js";
@@ -13,26 +13,26 @@ import "./host-env-security-CJMD0__Z.js";
13
13
  import "./version-CGDNfh5C.js";
14
14
  import "./env-vars-Dw0EwyGP.js";
15
15
  import "./registry-7fg1BnMw.js";
16
- import "./manifest-registry-Kbw8YPsZ.js";
16
+ import "./manifest-registry-CBF8Vfz8.js";
17
17
  import "./message-channel-0J6eKf3g.js";
18
- import "./client-BvL3EdiZ.js";
19
- import "./call-CzoM7hPS.js";
18
+ import "./client-vUKV2o6h.js";
19
+ import "./call-CmAGfSJE.js";
20
20
  import "./pairing-token-DoBZxQnC.js";
21
- import "./net-BXeYv7Iu.js";
22
- import "./tailnet-C1XBcWue.js";
23
- import "./exec-approvals-allowlist-B4DS6FIn.js";
21
+ import "./net-C75G4fup.js";
22
+ import "./tailnet-CfP3A6g2.js";
23
+ import "./exec-approvals-allowlist-CFjPSbxI.js";
24
24
  import { n as formatTimeAgo } from "./format-relative-DlCMhQXD.js";
25
25
  import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-HRn5F9dF.js";
26
26
  import { t as formatDocsLink } from "./links-BDNlbZvM.js";
27
27
  import "./progress-CwQKn0ae.js";
28
- import { n as callGatewayFromCli } from "./gateway-rpc-C7KYwonl.js";
29
- import "./systemd-HiU4Gzoc.js";
30
- import "./service-Bjqlh_fF.js";
28
+ import { n as callGatewayFromCli } from "./gateway-rpc-B5Spvviy.js";
29
+ import "./systemd-DRGkJYMb.js";
30
+ import "./service-CFfCS51c.js";
31
31
  import { t as renderTable } from "./table-CqULNDay.js";
32
- import { t as describeUnknownError } from "./shared-_j1K2VJ9.js";
33
- import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-CnRUZWNJ.js";
32
+ import { t as describeUnknownError } from "./shared-Cl1av01k.js";
33
+ import { a as resolveNodeId, r as nodesCallOpts } from "./rpc-DQa5fiBV.js";
34
34
  import JSON5 from "json5";
35
- import fs from "node:fs/promises";
35
+ import fsPromises from "node:fs/promises";
36
36
 
37
37
  //#region src/cli/exec-approvals-cli.ts
38
38
  async function readStdin() {
@@ -329,7 +329,7 @@ function registerExecApprovalsCli(program) {
329
329
  if (!opts.file && !opts.stdin) exitWithError("Provide --file or --stdin.");
330
330
  if (opts.file && opts.stdin) exitWithError("Use either --file or --stdin (not both).");
331
331
  const { source, nodeId, targetLabel, baseHash } = await loadWritableSnapshotTarget(opts);
332
- const raw = opts.stdin ? await readStdin() : await fs.readFile(String(opts.file), "utf8");
332
+ const raw = opts.stdin ? await readStdin() : await fsPromises.readFile(String(opts.file), "utf8");
333
333
  let file;
334
334
  try {
335
335
  file = JSON5.parse(raw);
@@ -1,5 +1,5 @@
1
- import { Ut as listWritableExplicitTrustedSafeBinDirs, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, _n as normalizeSafeBinProfileFixtures, vn as resolveSafeBinProfiles } from "./auth-profiles-D_x1_5v_.js";
2
- import { i as resolveSafeBins } from "./exec-approvals-allowlist-B4DS6FIn.js";
1
+ import { Ut as listWritableExplicitTrustedSafeBinDirs, Vt as getTrustedSafeBinDirs, Wt as normalizeTrustedSafeBinDirs, _n as normalizeSafeBinProfileFixtures, vn as resolveSafeBinProfiles } from "./auth-profiles-CyG9VwU_.js";
2
+ import { i as resolveSafeBins } from "./exec-approvals-allowlist-CFjPSbxI.js";
3
3
 
4
4
  //#region src/infra/exec-safe-bin-runtime-policy.ts
5
5
  const INTERPRETER_LIKE_SAFE_BINS = new Set([
@@ -10,7 +10,7 @@ import "./env-zky96nK6.js";
10
10
  import "./registry-BOq-EU8K.js";
11
11
  import "./dock-L5TLZmhV.js";
12
12
  import "./tokens-2c_yMaYC.js";
13
- import { P as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-Claxav22.js";
13
+ import { P as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-DdMbqfLM.js";
14
14
  import "./plugins-BuQyooWr.js";
15
15
  import "./accounts-DYfFud2l.js";
16
16
  import "./bindings-Cn3Pwuys.js";
@@ -1,8 +1,8 @@
1
1
  import { k as resolvePreferredOpenClawTmpDir } from "./globals-B68W7uN8.js";
2
2
  import { g as resolveStateDir } from "./paths-BnKiOk2S.js";
3
- import { u as resolveAgentWorkspaceDir } from "./agent-scope-CJelRKYY.js";
4
- import { c as detectMime, l as extensionForMime } from "./image-ops-BGTBZMuE.js";
5
- import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-B62rgaSw.js";
3
+ import { u as resolveAgentWorkspaceDir } from "./agent-scope-CY2-lUIY.js";
4
+ import { c as detectMime, l as extensionForMime } from "./image-ops-B2L37gT8.js";
5
+ import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Csbz9pui.js";
6
6
  import path from "node:path";
7
7
 
8
8
  //#region src/media/local-roots.ts
@@ -1,5 +1,5 @@
1
1
  import { i as logWarn } from "./logger-BJMfryJd.js";
2
- import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-BQIJPH4j.js";
2
+ import { i as createPinnedDispatcher, n as SsrFBlockedError, r as closeDispatcher, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-BoopXu2J.js";
3
3
  import { t as bindAbortRelay } from "./fetch-timeout-CZWuvzq4.js";
4
4
  import { EnvHttpProxyAgent } from "undici";
5
5
 
@@ -1,11 +1,11 @@
1
1
  import { _ as expandHomePrefix } from "./paths-BnKiOk2S.js";
2
- import { A as isNotFoundPathError, M as isSymlinkOpenError, T as sameFileIdentity, j as isPathInside, k as hasNodeErrorCode } from "./workspace-BHfqkuYN.js";
2
+ import { A as isNotFoundPathError, M as isSymlinkOpenError, T as sameFileIdentity, j as isPathInside, k as hasNodeErrorCode } from "./workspace-DzeL98px.js";
3
3
  import { i as logWarn } from "./logger-BJMfryJd.js";
4
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-Cg9ZP1NN.js";
4
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-laKq24fx.js";
5
5
  import path from "node:path";
6
6
  import os from "node:os";
7
7
  import { constants } from "node:fs";
8
- import fs$1 from "node:fs/promises";
8
+ import fsPromises from "node:fs/promises";
9
9
  import { randomUUID } from "node:crypto";
10
10
  import { pipeline } from "node:stream/promises";
11
11
 
@@ -25,19 +25,19 @@ const ensureTrailingSep = (value) => value.endsWith(path.sep) ? value : value +
25
25
  async function expandRelativePathWithHome(relativePath) {
26
26
  let home = process.env.HOME || process.env.USERPROFILE || os.homedir();
27
27
  try {
28
- home = await fs$1.realpath(home);
28
+ home = await fsPromises.realpath(home);
29
29
  } catch {}
30
30
  return expandHomePrefix(relativePath, { home });
31
31
  }
32
32
  async function openVerifiedLocalFile(filePath, options) {
33
33
  try {
34
- if ((await fs$1.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
34
+ if ((await fsPromises.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
35
35
  } catch (err) {
36
36
  if (err instanceof SafeOpenError) throw err;
37
37
  }
38
38
  let handle;
39
39
  try {
40
- handle = await fs$1.open(filePath, OPEN_READ_FLAGS);
40
+ handle = await fsPromises.open(filePath, OPEN_READ_FLAGS);
41
41
  } catch (err) {
42
42
  if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "file not found");
43
43
  if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
@@ -45,13 +45,13 @@ async function openVerifiedLocalFile(filePath, options) {
45
45
  throw err;
46
46
  }
47
47
  try {
48
- const [stat, lstat] = await Promise.all([handle.stat(), fs$1.lstat(filePath)]);
48
+ const [stat, lstat] = await Promise.all([handle.stat(), fsPromises.lstat(filePath)]);
49
49
  if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
50
50
  if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
51
51
  if (options?.rejectHardlinks && stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
52
52
  if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during read");
53
- const realPath = await fs$1.realpath(filePath);
54
- const realStat = await fs$1.stat(realPath);
53
+ const realPath = await fsPromises.realpath(filePath);
54
+ const realStat = await fsPromises.stat(realPath);
55
55
  if (options?.rejectHardlinks && realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
56
56
  if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
57
57
  return {
@@ -69,7 +69,7 @@ async function openVerifiedLocalFile(filePath, options) {
69
69
  async function resolvePathWithinRoot(params) {
70
70
  let rootReal;
71
71
  try {
72
- rootReal = await fs$1.realpath(params.rootDir);
72
+ rootReal = await fsPromises.realpath(params.rootDir);
73
73
  } catch (err) {
74
74
  if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "root dir not found");
75
75
  throw err;
@@ -170,7 +170,7 @@ function buildAtomicWriteTempPath(targetPath) {
170
170
  return path.join(dir, `.${base}.${process.pid}.${randomUUID()}.tmp`);
171
171
  }
172
172
  async function writeTempFileForAtomicReplace(params) {
173
- const tempHandle = await fs$1.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
173
+ const tempHandle = await fsPromises.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
174
174
  try {
175
175
  if (typeof params.data === "string") await tempHandle.writeFile(params.data, params.encoding ?? "utf8");
176
176
  else await tempHandle.writeFile(params.data);
@@ -180,7 +180,7 @@ async function writeTempFileForAtomicReplace(params) {
180
180
  }
181
181
  }
182
182
  async function verifyAtomicWriteResult(params) {
183
- const rootWithSep = ensureTrailingSep(await fs$1.realpath(params.rootDir));
183
+ const rootWithSep = ensureTrailingSep(await fsPromises.realpath(params.rootDir));
184
184
  const opened = await openVerifiedLocalFile(params.targetPath, { rejectHardlinks: true });
185
185
  try {
186
186
  if (!sameFileIdentity(opened.stat, params.expectedStat)) throw new SafeOpenError("path-mismatch", "path changed during write");
@@ -191,13 +191,13 @@ async function verifyAtomicWriteResult(params) {
191
191
  }
192
192
  async function resolveOpenedFileRealPathForHandle(handle, ioPath) {
193
193
  try {
194
- return await fs$1.realpath(ioPath);
194
+ return await fsPromises.realpath(ioPath);
195
195
  } catch (err) {
196
196
  if (!isNotFoundPathError(err)) throw err;
197
197
  }
198
198
  const fdCandidates = process.platform === "linux" ? [`/proc/self/fd/${handle.fd}`, `/dev/fd/${handle.fd}`] : process.platform === "win32" ? [] : [`/dev/fd/${handle.fd}`];
199
199
  for (const fdPath of fdCandidates) try {
200
- return await fs$1.realpath(fdPath);
200
+ return await fsPromises.realpath(fdPath);
201
201
  } catch {}
202
202
  throw new SafeOpenError("path-mismatch", "unable to resolve opened file path");
203
203
  }
@@ -212,10 +212,10 @@ async function openWritableFileWithinRoot(params) {
212
212
  } catch (err) {
213
213
  throw new SafeOpenError("invalid-path", "path alias escape blocked", { cause: err });
214
214
  }
215
- if (params.mkdir !== false) await fs$1.mkdir(path.dirname(resolved), { recursive: true });
215
+ if (params.mkdir !== false) await fsPromises.mkdir(path.dirname(resolved), { recursive: true });
216
216
  let ioPath = resolved;
217
217
  try {
218
- const resolvedRealPath = await fs$1.realpath(resolved);
218
+ const resolvedRealPath = await fsPromises.realpath(resolved);
219
219
  if (!isPathInside(rootWithSep, resolvedRealPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
220
220
  ioPath = resolvedRealPath;
221
221
  } catch (err) {
@@ -227,10 +227,10 @@ async function openWritableFileWithinRoot(params) {
227
227
  let createdForWrite = false;
228
228
  try {
229
229
  try {
230
- handle = await fs$1.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
230
+ handle = await fsPromises.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
231
231
  } catch (err) {
232
232
  if (!isNotFoundPathError(err)) throw err;
233
- handle = await fs$1.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
233
+ handle = await fsPromises.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
234
234
  createdForWrite = true;
235
235
  }
236
236
  } catch (err) {
@@ -244,7 +244,7 @@ async function openWritableFileWithinRoot(params) {
244
244
  if (!stat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
245
245
  if (stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
246
246
  try {
247
- const lstat = await fs$1.lstat(ioPath);
247
+ const lstat = await fsPromises.lstat(ioPath);
248
248
  if (lstat.isSymbolicLink() || !lstat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
249
249
  if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during write");
250
250
  } catch (err) {
@@ -252,7 +252,7 @@ async function openWritableFileWithinRoot(params) {
252
252
  }
253
253
  const realPath = await resolveOpenedFileRealPathForHandle(handle, ioPath);
254
254
  openedRealPath = realPath;
255
- const realStat = await fs$1.stat(realPath);
255
+ const realStat = await fsPromises.stat(realPath);
256
256
  if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
257
257
  if (realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
258
258
  if (!isPathInside(rootWithSep, realPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
@@ -267,7 +267,7 @@ async function openWritableFileWithinRoot(params) {
267
267
  const cleanupCreatedPath = createdForWrite && err instanceof SafeOpenError;
268
268
  const cleanupPath = openedRealPath ?? ioPath;
269
269
  await handle.close().catch(() => {});
270
- if (cleanupCreatedPath) await fs$1.rm(cleanupPath, { force: true }).catch(() => {});
270
+ if (cleanupCreatedPath) await fsPromises.rm(cleanupPath, { force: true }).catch(() => {});
271
271
  throw err;
272
272
  }
273
273
  }
@@ -290,7 +290,7 @@ async function writeFileWithinRoot(params) {
290
290
  encoding: params.encoding,
291
291
  mode: targetMode || 384
292
292
  });
293
- await fs$1.rename(tempPath, destinationPath);
293
+ await fsPromises.rename(tempPath, destinationPath);
294
294
  tempPath = null;
295
295
  try {
296
296
  await verifyAtomicWriteResult({
@@ -303,7 +303,7 @@ async function writeFileWithinRoot(params) {
303
303
  throw err;
304
304
  }
305
305
  } finally {
306
- if (tempPath) await fs$1.rm(tempPath, { force: true }).catch(() => {});
306
+ if (tempPath) await fsPromises.rm(tempPath, { force: true }).catch(() => {});
307
307
  }
308
308
  }
309
309
  async function copyFileWithinRoot(params) {
@@ -331,7 +331,7 @@ async function copyFileWithinRoot(params) {
331
331
  });
332
332
  await pipeline(sourceStream, targetStream);
333
333
  } catch (err) {
334
- if (target?.createdForWrite) await fs$1.rm(target.openedRealPath, { force: true }).catch(() => {});
334
+ if (target?.createdForWrite) await fsPromises.rm(target.openedRealPath, { force: true }).catch(() => {});
335
335
  throw err;
336
336
  } finally {
337
337
  if (!sourceClosedByStream) await source.handle.close().catch(() => {});
@@ -2,7 +2,7 @@ import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as
2
2
  import { a as logVerbose, d as colorize, f as isRich, g as getResolvedLoggerSettings, h as getLogger, m as getChildLogger, p as theme, s as setVerbose } from "./globals-uLeGcRW1.js";
3
3
  import { D as isPlainObject, E as truncateUtf16Safe, S as shortenHomePath, c as ensureDir, r as clamp, y as resolveUserPath } from "./utils-CP51tiAi.js";
4
4
  import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-44rmAw5o.js";
5
- import { $ as normalizeOptionalText, $n as registerAgentRunContext, An as resolveSessionDeliveryTarget, Ar as enqueueSystemEvent, B as consumeRestartSentinel, Bn as countActiveDescendantRuns, Br as getAcpSessionManager, Bt as runWithModelFallback, C as listAgentsForGateway, Cr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Ct as handleSlackHttpRequest, D as pruneLegacyStoreKeys, Dr as stripHeartbeatToken, Dt as computeBackoff, E as loadSessionEntry, En as resolveOutboundSessionRoute, F as markGatewaySigusr1RestartHandled, Ft as createOutboundSendDeps, Gn as resolveAnnounceTargetFromKey, Gr as DEFAULT_INPUT_IMAGE_MIMES, H as formatRestartSentinelMessage, Hn as listDescendantRunsForRequester, Hr as normalizeSendPolicy, Ht as setCliSessionId, I as scheduleGatewaySigusr1Restart, It as applyVerboseOverride, J as normalizeCronJobCreate, Jn as buildOutboundSessionContext, Jr as extractFileContentFromSource, K as writeRestartSentinel, Kn as readLatestAssistantReply, Kr as DEFAULT_INPUT_MAX_REDIRECTS, Kt as applyModelOverrideToSessionEntry, L as setGatewaySigusr1RestartPolicy, Lt as parseVerboseOverride, M as deferGatewayRestartUntilIdle, N as emitGatewayRestart, Nn as resetDirectoryCache, Nt as resolveAgentDeliveryPlan, O as resolveGatewaySessionStoreTarget, Ot as sleepWithAbort, P as isGatewaySigusr1RestartExternallyAllowed, Pr as requestHeartbeatNow, Pt as resolveAgentOutboundTarget, Q as normalizeOptionalSessionKey, Qn as onAgentEvent, Qr as resolveAgentTimeoutMs, R as setPreRestartDeferralCheck, Rn as isAbortRequestText, Rt as createDefaultDeps, Sn as getTotalPendingReplies, Sr as CommandLane, T as loadCombinedSessionStoreForGateway, Tn as ensureOutboundSessionEntry, Tt as requestBodyErrorToText, Ur as resolveSendPolicy, Ut as runCliAgent, V as formatDoctorNonInteractiveHint, Vn as initSubagentRegistry, Vr as resolveAgentSessionDirs, Vt as getCliSessionId, W as summarizeRestartSentinel, Wn as runSubagentAnnounceFlow, Wr as DEFAULT_INPUT_IMAGE_MAX_BYTES, X as inferLegacyName, Xn as emitAgentEvent, Xr as normalizeMimeList, Xt as resolveAgentAvatar, Y as normalizeCronJobPatch, Yn as clearAgentRunContext, Yr as extractImageContentFromSource, Yt as resolveSessionAuthProfileOverride, Z as normalizeOptionalAgentId, Zn as getAgentRunContext, Zr as resolveInputFileLimits, _ as applyToolPolicyPipeline, _r as getTotalQueueSize, ar as resolveTtsApiKey, at as stripLegacyDeliveryFields, b as createOpenClawTools, bn as dispatchInboundMessage, br as setCommandLaneConcurrency, cn as buildHistoryContextFromEntries, cr as resolveTtsPrefsPath, ct as getPluginToolMeta, dr as setTtsProvider, dt as loadOpenClawPlugins, en as buildSafeExternalPrompt, er as resolveUserTimezone, et as normalizePayloadToSystemText, fr as textToSpeech, ft as createPluginRuntime, g as waitForEmbeddedPiRunEnd, gt as loadProviderUsageSummary, h as getActiveEmbeddedRunCount, hr as getActiveTaskCount, i as resolveCronStyleNow, in as unbindThreadBindingsBySessionKey, ir as isTtsProviderConfigured, it as hasLegacyDeliveryHints, j as consumeGatewaySigusr1RestartAuthorization, jn as resolveOutboundChannelPlugin, jr as isSystemEventContextChanged, jt as agentCommandFromIngress, k as resolveSessionModelRef, kn as resolveOutboundTarget, lr as resolveTtsProviderOrder, lt as resolvePluginTools, m as abortEmbeddedPiRun, mr as OPENAI_TTS_VOICES, mt as normalizeGroupActivation, n as BARE_SESSION_RESET_PROMPT, nn as getHookType, nr as getTtsProvider, nt as migrateLegacyCronPayload, or as resolveTtsAutoMode, ot as applyBrowserProxyPaths, p as runEmbeddedPiAgent, pr as OPENAI_TTS_MODELS, q as normalizeHttpWebhookUrl, qn as clearSessionQueues, qr as DEFAULT_INPUT_TIMEOUT_MS, qt as lookupContextTokens, rn as isExternalHookSession, rr as isTtsEnabled, rt as buildDeliveryFromLegacyPayload, sr as resolveTtsConfig, st as persistBrowserProxyFiles, tn as detectSuspiciousPatterns, tr as clearBootstrapSnapshot, tt as normalizeRequiredName, ur as setTtsEnabled, v as buildDefaultToolPolicyPipelineSteps, vr as markGatewayDraining, w as listSessionsFromStore, wt as readJsonBodyWithLimit, x as canonicalizeSpawnedByForAgent, xn as createReplyDispatcher, xr as waitForActiveTasks, xt as resolveAgentOutboundIdentity, yn as formatZonedTimestamp, yr as resetAllLanes, z as triggerOpenClawRestart, zn as stopSubagentsForRequester, zr as ACP_SESSION_IDENTITY_RENDERER_VERSION, zt as createOutboundSendDeps$1 } from "./reply-D8Yu6-Ie.js";
5
+ import { $ as normalizeOptionalText, $n as registerAgentRunContext, An as resolveSessionDeliveryTarget, Ar as enqueueSystemEvent, B as consumeRestartSentinel, Bn as countActiveDescendantRuns, Br as getAcpSessionManager, Bt as runWithModelFallback, C as listAgentsForGateway, Cr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Ct as handleSlackHttpRequest, D as pruneLegacyStoreKeys, Dr as stripHeartbeatToken, Dt as computeBackoff, E as loadSessionEntry, En as resolveOutboundSessionRoute, F as markGatewaySigusr1RestartHandled, Ft as createOutboundSendDeps, Gn as resolveAnnounceTargetFromKey, Gr as DEFAULT_INPUT_IMAGE_MIMES, H as formatRestartSentinelMessage, Hn as listDescendantRunsForRequester, Hr as normalizeSendPolicy, Ht as setCliSessionId, I as scheduleGatewaySigusr1Restart, It as applyVerboseOverride, J as normalizeCronJobCreate, Jn as buildOutboundSessionContext, Jr as extractFileContentFromSource, K as writeRestartSentinel, Kn as readLatestAssistantReply, Kr as DEFAULT_INPUT_MAX_REDIRECTS, Kt as applyModelOverrideToSessionEntry, L as setGatewaySigusr1RestartPolicy, Lt as parseVerboseOverride, M as deferGatewayRestartUntilIdle, N as emitGatewayRestart, Nn as resetDirectoryCache, Nt as resolveAgentDeliveryPlan, O as resolveGatewaySessionStoreTarget, Ot as sleepWithAbort, P as isGatewaySigusr1RestartExternallyAllowed, Pr as requestHeartbeatNow, Pt as resolveAgentOutboundTarget, Q as normalizeOptionalSessionKey, Qn as onAgentEvent, Qr as resolveAgentTimeoutMs, R as setPreRestartDeferralCheck, Rn as isAbortRequestText, Rt as createDefaultDeps, Sn as getTotalPendingReplies, Sr as CommandLane, T as loadCombinedSessionStoreForGateway, Tn as ensureOutboundSessionEntry, Tt as requestBodyErrorToText, Ur as resolveSendPolicy, Ut as runCliAgent, V as formatDoctorNonInteractiveHint, Vn as initSubagentRegistry, Vr as resolveAgentSessionDirs, Vt as getCliSessionId, W as summarizeRestartSentinel, Wn as runSubagentAnnounceFlow, Wr as DEFAULT_INPUT_IMAGE_MAX_BYTES, X as inferLegacyName, Xn as emitAgentEvent, Xr as normalizeMimeList, Xt as resolveAgentAvatar, Y as normalizeCronJobPatch, Yn as clearAgentRunContext, Yr as extractImageContentFromSource, Yt as resolveSessionAuthProfileOverride, Z as normalizeOptionalAgentId, Zn as getAgentRunContext, Zr as resolveInputFileLimits, _ as applyToolPolicyPipeline, _r as getTotalQueueSize, ar as resolveTtsApiKey, at as stripLegacyDeliveryFields, b as createOpenClawTools, bn as dispatchInboundMessage, br as setCommandLaneConcurrency, cn as buildHistoryContextFromEntries, cr as resolveTtsPrefsPath, ct as getPluginToolMeta, dr as setTtsProvider, dt as loadOpenClawPlugins, en as buildSafeExternalPrompt, er as resolveUserTimezone, et as normalizePayloadToSystemText, fr as textToSpeech, ft as createPluginRuntime, g as waitForEmbeddedPiRunEnd, gt as loadProviderUsageSummary, h as getActiveEmbeddedRunCount, hr as getActiveTaskCount, i as resolveCronStyleNow, in as unbindThreadBindingsBySessionKey, ir as isTtsProviderConfigured, it as hasLegacyDeliveryHints, j as consumeGatewaySigusr1RestartAuthorization, jn as resolveOutboundChannelPlugin, jr as isSystemEventContextChanged, jt as agentCommandFromIngress, k as resolveSessionModelRef, kn as resolveOutboundTarget, lr as resolveTtsProviderOrder, lt as resolvePluginTools, m as abortEmbeddedPiRun, mr as OPENAI_TTS_VOICES, mt as normalizeGroupActivation, n as BARE_SESSION_RESET_PROMPT, nn as getHookType, nr as getTtsProvider, nt as migrateLegacyCronPayload, or as resolveTtsAutoMode, ot as applyBrowserProxyPaths, p as runEmbeddedPiAgent, pr as OPENAI_TTS_MODELS, q as normalizeHttpWebhookUrl, qn as clearSessionQueues, qr as DEFAULT_INPUT_TIMEOUT_MS, qt as lookupContextTokens, rn as isExternalHookSession, rr as isTtsEnabled, rt as buildDeliveryFromLegacyPayload, sr as resolveTtsConfig, st as persistBrowserProxyFiles, tn as detectSuspiciousPatterns, tr as clearBootstrapSnapshot, tt as normalizeRequiredName, ur as setTtsEnabled, v as buildDefaultToolPolicyPipelineSteps, vr as markGatewayDraining, w as listSessionsFromStore, wt as readJsonBodyWithLimit, x as canonicalizeSpawnedByForAgent, xn as createReplyDispatcher, xr as waitForActiveTasks, xt as resolveAgentOutboundIdentity, yn as formatZonedTimestamp, yr as resetAllLanes, z as triggerOpenClawRestart, zn as stopSubagentsForRequester, zr as ACP_SESSION_IDENTITY_RENDERER_VERSION, zt as createOutboundSendDeps$1 } from "./reply-BOAv4F33.js";
6
6
  import { a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, i as resolveAgentConfig, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir } from "./agent-scope-CiBV1K6b.js";
7
7
  import { a as setConsoleSubsystemFilter, d as defaultRuntime, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger } from "./subsystem-BT74-yyS.js";
8
8
  import { S as isCronRunSessionKey, T as parseAgentSessionKey, c as normalizeAgentId, g as normalizeAccountId$1, h as DEFAULT_ACCOUNT_ID, l as normalizeMainKey, m as toAgentStoreSessionKey, o as classifySessionKeyShape, p as toAgentRequestSessionKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isSubagentSessionKey } from "./session-key-C9z4VQtw.js";
@@ -134,7 +134,7 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-DHq9RLRQ.
134
134
  import { n as inheritOptionFromParent } from "./command-options-D4YE45pL.js";
135
135
  import { t as WizardCancelledError } from "./prompts-iXdBMk3j.js";
136
136
  import { t as resolveChannelDefaultAccountId } from "./helpers-D0Q6sarx.js";
137
- import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-DQBEXhzA.js";
137
+ import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-rRQ8xZUr.js";
138
138
  import { t as isWithinDir } from "./path-safety-COhgvniC.js";
139
139
  import { t as assertCanonicalPathWithinBase } from "./install-safe-path-CSqVUjL8.js";
140
140
  import "./skill-scanner-CsmM5F4F.js";
@@ -155,21 +155,21 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
155
155
  import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-BmSv3K8N.js";
156
156
  import { a as probeGateway, n as collectEnabledInsecureOrDangerousFlags } from "./audit-1YVlVmk7.js";
157
157
  import { t as discoverGatewayBeacons } from "./bonjour-discovery-CtUQb94i.js";
158
- import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-CQYA6EJN.js";
159
- import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-Du8dO3vn.js";
158
+ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-C6WYtjMU.js";
159
+ import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines, u as isCronSystemEvent } from "./health-BX20asqJ.js";
160
160
  import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B_3g_YF0.js";
161
161
  import { o as isBitseekBuild } from "./status.update-HwSPC5ZX.js";
162
162
  import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-C6rIxLzo.js";
163
163
  import { i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-Rd7ooKB0.js";
164
- import { t as runOnboardingWizard } from "./onboarding-BvdtFAPe.js";
165
- import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DvNRo3EQ.js";
164
+ import { t as runOnboardingWizard } from "./onboarding-Kp0zZunD.js";
165
+ import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-C7oC1J4F.js";
166
166
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-mNwdQcKy.js";
167
167
  import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-BKUs_pS2.js";
168
168
  import "./node-service-6W3vqgVv.js";
169
169
  import "./shared-CgFPGTLU.js";
170
170
  import { d as verifyOpenAiCompatibleModel } from "./onboard-custom.shared-CBRRhb95.js";
171
171
  import { n as formatInstallFailureMessage, t as installSkill } from "./skills-install-B_Vda3dM.js";
172
- import { t as runGatewayUpdate } from "./update-runner-DO6RodZW.js";
172
+ import { t as runGatewayUpdate } from "./update-runner-CE9BNhOu.js";
173
173
  import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-dKMB109Q.js";
174
174
  import { fileURLToPath, pathToFileURL } from "node:url";
175
175
  import * as fsSync from "node:fs";
@@ -13611,7 +13611,7 @@ const nodeHandlers = {
13611
13611
  const p = params;
13612
13612
  const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
13613
13613
  await respondUnavailableOnThrow(respond, async () => {
13614
- const { handleNodeEvent } = await import("./server-node-events-nakjzVDn.js");
13614
+ const { handleNodeEvent } = await import("./server-node-events-DAuQ0Pk2.js");
13615
13615
  const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
13616
13616
  await handleNodeEvent({
13617
13617
  deps: context.deps,
@@ -14471,6 +14471,16 @@ async function installClawhubMarketSkill(params, deps) {
14471
14471
 
14472
14472
  //#endregion
14473
14473
  //#region src/gateway/server-methods/skills.ts
14474
+ function matchesInstalledMarketSkill(entry, candidate) {
14475
+ const entrySkillKey = entry.skillKey.trim();
14476
+ const entrySlug = entry.slug?.trim() || "";
14477
+ const candidateSkillKey = candidate.skillKey?.trim() || "";
14478
+ const candidateName = candidate.name?.trim() || "";
14479
+ const candidateDirName = candidate.baseDir ? path.basename(candidate.baseDir) : "";
14480
+ if (candidateSkillKey === entrySkillKey || candidateName === entrySkillKey) return true;
14481
+ if (!entrySlug) return false;
14482
+ return candidateSkillKey === entrySlug || candidateName === entrySlug || candidateDirName === entrySlug;
14483
+ }
14474
14484
  function collectSkillBins(entries) {
14475
14485
  const bins = /* @__PURE__ */ new Set();
14476
14486
  for (const entry of entries) {
@@ -14496,7 +14506,7 @@ function collectSkillBins(entries) {
14496
14506
  return [...bins].toSorted();
14497
14507
  }
14498
14508
  function resolveMarketSkillState(entry, report) {
14499
- const skill = report.skills.find((candidate) => candidate.skillKey === entry.skillKey || candidate.name === entry.skillKey);
14509
+ const skill = report.skills.find((candidate) => matchesInstalledMarketSkill(entry, candidate));
14500
14510
  if (!skill) return {
14501
14511
  installed: false,
14502
14512
  enabled: false,
@@ -14659,7 +14669,7 @@ const skillsHandlers = {
14659
14669
  if (buildWorkspaceSkillStatus(workspaceDir, {
14660
14670
  config: cfg,
14661
14671
  eligibility: { remote: getRemoteSkillEligibility() }
14662
- }).skills.find((candidate) => candidate.skillKey === skillKey || candidate.name === skillKey)) {
14672
+ }).skills.find((candidate) => matchesInstalledMarketSkill(marketEntry, candidate))) {
14663
14673
  respond(true, {
14664
14674
  ok: true,
14665
14675
  skillKey,
@@ -14698,7 +14708,7 @@ const skillsHandlers = {
14698
14708
  if (!buildWorkspaceSkillStatus(workspaceDir, {
14699
14709
  config: cfg,
14700
14710
  eligibility: { remote: getRemoteSkillEligibility() }
14701
- }).skills.find((candidate) => candidate.skillKey === skillKey || candidate.name === skillKey)) {
14711
+ }).skills.find((candidate) => matchesInstalledMarketSkill(marketEntry, candidate))) {
14702
14712
  respond(false, void 0, errorShape(ErrorCodes.UNAVAILABLE, `Install completed but "${skillKey}" is still not discoverable in skills status.`));
14703
14713
  return;
14704
14714
  }
@@ -22357,7 +22367,7 @@ function attachGatewayWsMessageHandler(params) {
22357
22367
  type: "hello-ok",
22358
22368
  protocol: PROTOCOL_VERSION,
22359
22369
  server: {
22360
- version: resolveRuntimeServiceVersion(process.env, "dev"),
22370
+ version: VERSION,
22361
22371
  connId
22362
22372
  },
22363
22373
  features: {